Adding in all the old code.
This commit is contained in:
parent
036309f582
commit
76f92171fe
29 changed files with 1581 additions and 0 deletions
38
PingPong/gtk-gui/MainWindow.cs
Normal file
38
PingPong/gtk-gui/MainWindow.cs
Normal file
|
@ -0,0 +1,38 @@
|
|||
|
||||
// This file has been generated by the GUI designer. Do not modify.
|
||||
|
||||
public partial class MainWindow
|
||||
{
|
||||
private global::Gtk.Fixed fixed1;
|
||||
private global::Gtk.Label lblScore;
|
||||
|
||||
protected virtual void Build ()
|
||||
{
|
||||
global::Stetic.Gui.Initialize (this);
|
||||
// Widget MainWindow
|
||||
this.Name = "MainWindow";
|
||||
this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow");
|
||||
this.WindowPosition = ((global::Gtk.WindowPosition)(4));
|
||||
// Container child MainWindow.Gtk.Container+ContainerChild
|
||||
this.fixed1 = new global::Gtk.Fixed ();
|
||||
this.fixed1.Name = "fixed1";
|
||||
this.fixed1.HasWindow = false;
|
||||
// Container child fixed1.Gtk.Fixed+FixedChild
|
||||
this.lblScore = new global::Gtk.Label ();
|
||||
this.lblScore.Name = "lblScore";
|
||||
this.lblScore.LabelProp = global::Mono.Unix.Catalog.GetString ("00:00");
|
||||
this.lblScore.UseMarkup = true;
|
||||
this.fixed1.Add (this.lblScore);
|
||||
global::Gtk.Fixed.FixedChild w1 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.lblScore]));
|
||||
w1.X = 128;
|
||||
w1.Y = 65;
|
||||
this.Add (this.fixed1);
|
||||
if ((this.Child != null)) {
|
||||
this.Child.ShowAll ();
|
||||
}
|
||||
this.DefaultWidth = 400;
|
||||
this.DefaultHeight = 300;
|
||||
this.Show ();
|
||||
this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
|
||||
}
|
||||
}
|
5
PingPong/gtk-gui/desktop.ini
Normal file
5
PingPong/gtk-gui/desktop.ini
Normal file
|
@ -0,0 +1,5 @@
|
|||
[.ShellClassInfo]
|
||||
InfoTip=This folder is shared online.
|
||||
IconFile=C:\Program Files\Google\Drive\googledrivesync.exe
|
||||
IconIndex=16
|
||||
|
29
PingPong/gtk-gui/generated.cs
Normal file
29
PingPong/gtk-gui/generated.cs
Normal file
|
@ -0,0 +1,29 @@
|
|||
|
||||
// This file has been generated by the GUI designer. Do not modify.
|
||||
namespace Stetic
|
||||
{
|
||||
internal class Gui
|
||||
{
|
||||
private static bool initialized;
|
||||
|
||||
internal static void Initialize (Gtk.Widget iconRenderer)
|
||||
{
|
||||
if ((Stetic.Gui.initialized == false)) {
|
||||
Stetic.Gui.initialized = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
internal class ActionGroups
|
||||
{
|
||||
public static Gtk.ActionGroup GetActionGroup (System.Type type)
|
||||
{
|
||||
return Stetic.ActionGroups.GetActionGroup (type.FullName);
|
||||
}
|
||||
|
||||
public static Gtk.ActionGroup GetActionGroup (string name)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
34
PingPong/gtk-gui/gui.stetic
Normal file
34
PingPong/gtk-gui/gui.stetic
Normal file
|
@ -0,0 +1,34 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<stetic-interface>
|
||||
<configuration>
|
||||
<images-root-path>../../PingPong</images-root-path>
|
||||
<target-gtk-version>2.12</target-gtk-version>
|
||||
</configuration>
|
||||
<import>
|
||||
<widget-library name="glade-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
|
||||
<widget-library name="../bin/Debug/PingPong.exe" internal="true" />
|
||||
</import>
|
||||
<widget class="Gtk.Window" id="MainWindow" design-size="400 300">
|
||||
<property name="MemberName" />
|
||||
<property name="Title" translatable="yes">MainWindow</property>
|
||||
<property name="WindowPosition">CenterOnParent</property>
|
||||
<signal name="DeleteEvent" handler="OnDeleteEvent" />
|
||||
<child>
|
||||
<widget class="Gtk.Fixed" id="fixed1">
|
||||
<property name="MemberName" />
|
||||
<property name="HasWindow">False</property>
|
||||
<child>
|
||||
<widget class="Gtk.Label" id="lblScore">
|
||||
<property name="MemberName" />
|
||||
<property name="LabelProp" translatable="yes">00:00</property>
|
||||
<property name="UseMarkup">True</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="X">128</property>
|
||||
<property name="Y">65</property>
|
||||
</packing>
|
||||
</child>
|
||||
</widget>
|
||||
</child>
|
||||
</widget>
|
||||
</stetic-interface>
|
Loading…
Add table
Add a link
Reference in a new issue