diff options
Diffstat (limited to 'Mundus/gtk-gui/Mundus.Views.Windows.MainWindow.cs')
| -rw-r--r-- | Mundus/gtk-gui/Mundus.Views.Windows.MainWindow.cs | 48 |
1 files changed, 31 insertions, 17 deletions
diff --git a/Mundus/gtk-gui/Mundus.Views.Windows.MainWindow.cs b/Mundus/gtk-gui/Mundus.Views.Windows.MainWindow.cs index c7cf374..1e61604 100644 --- a/Mundus/gtk-gui/Mundus.Views.Windows.MainWindow.cs +++ b/Mundus/gtk-gui/Mundus.Views.Windows.MainWindow.cs @@ -8,6 +8,8 @@ namespace Mundus.Views.Windows private global::Gtk.Label lblTitle; + private global::Gtk.Label lblBuild; + private global::Gtk.HSeparator hSeparator; private global::Gtk.Button btnLoadGame; @@ -41,14 +43,26 @@ namespace Mundus.Views.Windows global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vboxUI[this.lblTitle])); w1.Position = 0; // Container child vboxUI.Gtk.Box+BoxChild + this.lblBuild = new global::Gtk.Label(); + this.lblBuild.WidthRequest = 300; + this.lblBuild.HeightRequest = 20; + this.lblBuild.Name = "lblBuild"; + this.lblBuild.LabelProp = "Build 16-04-2020 No1"; + this.lblBuild.Justify = ((global::Gtk.Justification)(2)); + this.vboxUI.Add(this.lblBuild); + global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vboxUI[this.lblBuild])); + w2.Position = 1; + w2.Expand = false; + w2.Fill = false; + // Container child vboxUI.Gtk.Box+BoxChild this.hSeparator = new global::Gtk.HSeparator(); this.hSeparator.HeightRequest = 5; this.hSeparator.Name = "hSeparator"; this.vboxUI.Add(this.hSeparator); - global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vboxUI[this.hSeparator])); - w2.Position = 1; - w2.Expand = false; - w2.Fill = false; + global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vboxUI[this.hSeparator])); + w3.Position = 2; + w3.Expand = false; + w3.Fill = false; // Container child vboxUI.Gtk.Box+BoxChild this.btnLoadGame = new global::Gtk.Button(); this.btnLoadGame.WidthRequest = 300; @@ -60,8 +74,8 @@ namespace Mundus.Views.Windows this.btnLoadGame.BorderWidth = ((uint)(7)); this.btnLoadGame.Label = "Load Game"; this.vboxUI.Add(this.btnLoadGame); - global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vboxUI[this.btnLoadGame])); - w3.Position = 2; + global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vboxUI[this.btnLoadGame])); + w4.Position = 3; // Container child vboxUI.Gtk.Box+BoxChild this.btnNewGame = new global::Gtk.Button(); this.btnNewGame.WidthRequest = 300; @@ -72,8 +86,8 @@ namespace Mundus.Views.Windows this.btnNewGame.BorderWidth = ((uint)(7)); this.btnNewGame.Label = "New Game"; this.vboxUI.Add(this.btnNewGame); - global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vboxUI[this.btnNewGame])); - w4.Position = 3; + global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vboxUI[this.btnNewGame])); + w5.Position = 4; // Container child vboxUI.Gtk.Box+BoxChild this.btnTutorial = new global::Gtk.Button(); this.btnTutorial.WidthRequest = 300; @@ -84,10 +98,10 @@ namespace Mundus.Views.Windows this.btnTutorial.BorderWidth = ((uint)(7)); this.btnTutorial.Label = "Tutorial"; this.vboxUI.Add(this.btnTutorial); - global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vboxUI[this.btnTutorial])); - w5.Position = 4; - w5.Expand = false; - w5.Fill = false; + global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vboxUI[this.btnTutorial])); + w6.Position = 5; + w6.Expand = false; + w6.Fill = false; // Container child vboxUI.Gtk.Box+BoxChild this.btnSettings = new global::Gtk.Button(); this.btnSettings.WidthRequest = 300; @@ -98,17 +112,17 @@ namespace Mundus.Views.Windows this.btnSettings.BorderWidth = ((uint)(7)); this.btnSettings.Label = "Settings"; this.vboxUI.Add(this.btnSettings); - global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vboxUI[this.btnSettings])); - w6.Position = 5; - w6.Expand = false; - w6.Fill = false; + global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vboxUI[this.btnSettings])); + w7.Position = 6; + w7.Expand = false; + w7.Fill = false; this.Add(this.vboxUI); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 300; - this.DefaultHeight = 465; + this.DefaultHeight = 485; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.btnNewGame.Clicked += new global::System.EventHandler(this.OnBtnNewGameClicked); |
