Merge branch 'ui_new1' into черешня
This commit is contained in:
commit
81ac0b854f
3 changed files with 2 additions and 1 deletions
Binary file not shown.
Before Width: | Height: | Size: 396 KiB After Width: | Height: | Size: 1.6 MiB |
|
@ -44,6 +44,7 @@ namespace DangerousD.GameCore.GUI
|
||||||
Button backButton = new Button(Manager)
|
Button backButton = new Button(Manager)
|
||||||
{
|
{
|
||||||
rectangle = new Rectangle(screenWidth / 20, screenHeight / 15, (int)(40 * 2.4), (int)(40 * 2.4)),
|
rectangle = new Rectangle(screenWidth / 20, screenHeight / 15, (int)(40 * 2.4), (int)(40 * 2.4)),
|
||||||
|
text = "<-",
|
||||||
fontColor = Color.Black,
|
fontColor = Color.Black,
|
||||||
fontName = "font2",
|
fontName = "font2",
|
||||||
textureName = "textboxbackground1-1"
|
textureName = "textboxbackground1-1"
|
||||||
|
|
|
@ -66,7 +66,7 @@ namespace DangerousD.GameCore.GUI
|
||||||
Elements.Add(lblSwitchMode);
|
Elements.Add(lblSwitchMode);
|
||||||
|
|
||||||
Button bTExit = new Button(Manager)
|
Button bTExit = new Button(Manager)
|
||||||
{ fontName = "Font2", scale = 0.72f, text = "<-", rectangle = new Rectangle(wigth / 30, height / 30, (int)(40 * 2.4), (int)(40 * 2.4)), textureName = "textboxbackground1-1" };
|
{ fontName = "Font2", text = "<-", rectangle = new Rectangle(wigth / 30, height / 30, (int)(40 * 2.4), (int)(40 * 2.4)), textureName = "textboxbackground1-1" };
|
||||||
Elements.Add(bTExit);
|
Elements.Add(bTExit);
|
||||||
bTExit.LeftButtonPressed += () =>
|
bTExit.LeftButtonPressed += () =>
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue