diff --git a/yagui/yagui.sln b/yagui/yagui.sln new file mode 100644 index 00000000..85ef430d --- /dev/null +++ b/yagui/yagui.sln @@ -0,0 +1,17 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2012 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "yagui", "yagui\yagui.csproj", "{1410E8A4-761D-40D1-95FA-E2489AF56F24}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {1410E8A4-761D-40D1-95FA-E2489AF56F24}.Debug|x86.ActiveCfg = Debug|x86 + {1410E8A4-761D-40D1-95FA-E2489AF56F24}.Debug|x86.Build.0 = Debug|x86 + {1410E8A4-761D-40D1-95FA-E2489AF56F24}.Release|x86.ActiveCfg = Release|x86 + {1410E8A4-761D-40D1-95FA-E2489AF56F24}.Release|x86.Build.0 = Release|x86 + EndGlobalSection +EndGlobal diff --git a/yagui/yagui/Main.cs b/yagui/yagui/Main.cs new file mode 100644 index 00000000..93f53555 --- /dev/null +++ b/yagui/yagui/Main.cs @@ -0,0 +1,14 @@ +using System; + +namespace yagui +{ + public partial class Main : Gtk.Window + { + public Main () : + base (Gtk.WindowType.Toplevel) + { + this.Build (); + } + } +} + diff --git a/yagui/yagui/MainWindow.cs b/yagui/yagui/MainWindow.cs new file mode 100644 index 00000000..56cf56d4 --- /dev/null +++ b/yagui/yagui/MainWindow.cs @@ -0,0 +1,16 @@ +using System; +using Gtk; + +public partial class MainWindow: Gtk.Window +{ + public MainWindow () : base (Gtk.WindowType.Toplevel) + { + Build (); + } + + protected void OnDeleteEvent (object sender, DeleteEventArgs a) + { + Application.Quit (); + a.RetVal = true; + } +} diff --git a/yagui/yagui/Program.cs b/yagui/yagui/Program.cs new file mode 100644 index 00000000..83af1dbe --- /dev/null +++ b/yagui/yagui/Program.cs @@ -0,0 +1,16 @@ +using System; +using Gtk; + +namespace yagui +{ + class MainClass + { + public static void Main (string[] args) + { + Application.Init (); + MainWindow win = new MainWindow (); + win.Show (); + Application.Run (); + } + } +} diff --git a/yagui/yagui/Properties/AssemblyInfo.cs b/yagui/yagui/Properties/AssemblyInfo.cs new file mode 100644 index 00000000..ec34d2ba --- /dev/null +++ b/yagui/yagui/Properties/AssemblyInfo.cs @@ -0,0 +1,27 @@ +using System.Reflection; +using System.Runtime.CompilerServices; + +// Information about this assembly is defined by the following attributes. +// Change them to the values specific to your project. + +[assembly: AssemblyTitle ("yagui")] +[assembly: AssemblyDescription ("")] +[assembly: AssemblyConfiguration ("")] +[assembly: AssemblyCompany ("")] +[assembly: AssemblyProduct ("")] +[assembly: AssemblyCopyright ("Paul Schneider")] +[assembly: AssemblyTrademark ("")] +[assembly: AssemblyCulture ("")] + +// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}". +// The form "{Major}.{Minor}.*" will automatically update the build and revision, +// and "{Major}.{Minor}.{Build}.*" will update just the revision. + +[assembly: AssemblyVersion ("1.0.*")] + +// The following attributes are used to specify the signing key for the assembly, +// if desired. See the Mono documentation for more information about signing. + +//[assembly: AssemblyDelaySign(false)] +//[assembly: AssemblyKeyFile("")] + diff --git a/yagui/yagui/README.md b/yagui/yagui/README.md new file mode 100644 index 00000000..07a64866 --- /dev/null +++ b/yagui/yagui/README.md @@ -0,0 +1,3 @@ +# a Yavsc desktop gui # + +Will certainly become my prefered desktop app against Yavsc resources. diff --git a/yagui/yagui/gtk-gui/MainWindow.cs b/yagui/yagui/gtk-gui/MainWindow.cs new file mode 100644 index 00000000..8e9739cd --- /dev/null +++ b/yagui/yagui/gtk-gui/MainWindow.cs @@ -0,0 +1,21 @@ + +// This file has been generated by the GUI designer. Do not modify. + +public partial class MainWindow +{ + 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)); + if ((this.Child != null)) { + this.Child.ShowAll (); + } + this.DefaultWidth = 400; + this.DefaultHeight = 300; + this.Show (); + this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); + } +} diff --git a/yagui/yagui/gtk-gui/generated.cs b/yagui/yagui/gtk-gui/generated.cs new file mode 100644 index 00000000..4842e95d --- /dev/null +++ b/yagui/yagui/gtk-gui/generated.cs @@ -0,0 +1,30 @@ + +// 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; + } + } +} diff --git a/yagui/yagui/gtk-gui/gui.stetic b/yagui/yagui/gtk-gui/gui.stetic new file mode 100644 index 00000000..1dcd126b --- /dev/null +++ b/yagui/yagui/gtk-gui/gui.stetic @@ -0,0 +1,101 @@ + + + + .. + + + + + + + + MainWindow + CenterOnParent + + + + + + + + + Action + File + File + + + Action + reload + reload + + + + Main + CenterOnParent + + + + 6 + + + + True + + + + 0 + True + False + False + + + + + + In + + + + True + True + + + + + + 1 + True + + + + + + 6 + + + + + + + + + + + 1 + True + False + False + + + + + 2 + True + False + False + + + + + + \ No newline at end of file diff --git a/yagui/yagui/gtk-gui/yagui.Main.cs b/yagui/yagui/gtk-gui/yagui.Main.cs new file mode 100644 index 00000000..9da10b91 --- /dev/null +++ b/yagui/yagui/gtk-gui/yagui.Main.cs @@ -0,0 +1,94 @@ + +// This file has been generated by the GUI designer. Do not modify. +namespace yagui +{ + public partial class Main + { + private global::Gtk.UIManager UIManager; + + private global::Gtk.Action FileAction; + + private global::Gtk.Action reloadAction1; + + private global::Gtk.VBox vbox3; + + private global::Gtk.ComboBoxEntry comboboxentry1; + + private global::Gtk.ScrolledWindow GtkScrolledWindow; + + private global::Gtk.TextView textview2; + + private global::Gtk.Statusbar statusbar2; + + private global::Gtk.MenuBar menubar2; + + protected virtual void Build() + { + global::Stetic.Gui.Initialize(this); + // Widget yagui.Main + this.UIManager = new global::Gtk.UIManager(); + global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); + this.FileAction = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("File"), null, null); + this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("File"); + w1.Add(this.FileAction, null); + this.reloadAction1 = new global::Gtk.Action("reloadAction1", global::Mono.Unix.Catalog.GetString("reload"), null, null); + this.reloadAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("reload"); + w1.Add(this.reloadAction1, null); + this.UIManager.InsertActionGroup(w1, 0); + this.AddAccelGroup(this.UIManager.AccelGroup); + this.Name = "yagui.Main"; + this.Title = global::Mono.Unix.Catalog.GetString("Main"); + this.WindowPosition = ((global::Gtk.WindowPosition)(4)); + // Container child yagui.Main.Gtk.Container+ContainerChild + this.vbox3 = new global::Gtk.VBox(); + this.vbox3.Name = "vbox3"; + this.vbox3.Spacing = 6; + // Container child vbox3.Gtk.Box+BoxChild + this.comboboxentry1 = global::Gtk.ComboBoxEntry.NewText(); + this.comboboxentry1.Name = "comboboxentry1"; + this.vbox3.Add(this.comboboxentry1); + global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.comboboxentry1])); + w2.Position = 0; + w2.Expand = false; + w2.Fill = false; + // Container child vbox3.Gtk.Box+BoxChild + this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); + this.GtkScrolledWindow.Name = "GtkScrolledWindow"; + this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); + // Container child GtkScrolledWindow.Gtk.Container+ContainerChild + this.textview2 = new global::Gtk.TextView(); + this.textview2.CanFocus = true; + this.textview2.Name = "textview2"; + this.GtkScrolledWindow.Add(this.textview2); + this.vbox3.Add(this.GtkScrolledWindow); + global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.GtkScrolledWindow])); + w4.Position = 1; + // Container child vbox3.Gtk.Box+BoxChild + this.statusbar2 = new global::Gtk.Statusbar(); + this.statusbar2.Name = "statusbar2"; + this.statusbar2.Spacing = 6; + // Container child statusbar2.Gtk.Box+BoxChild + this.UIManager.AddUiFromString(""); + this.menubar2 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar2"))); + this.menubar2.Name = "menubar2"; + this.statusbar2.Add(this.menubar2); + global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.statusbar2[this.menubar2])); + w5.Position = 1; + w5.Expand = false; + w5.Fill = false; + this.vbox3.Add(this.statusbar2); + global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.statusbar2])); + w6.Position = 2; + w6.Expand = false; + w6.Fill = false; + this.Add(this.vbox3); + if ((this.Child != null)) + { + this.Child.ShowAll(); + } + this.DefaultWidth = 409; + this.DefaultHeight = 300; + this.Show(); + } + } +} diff --git a/yagui/yagui/yagui.csproj b/yagui/yagui/yagui.csproj new file mode 100644 index 00000000..1bf132fb --- /dev/null +++ b/yagui/yagui/yagui.csproj @@ -0,0 +1,81 @@ + + + + Debug + x86 + {1410E8A4-761D-40D1-95FA-E2489AF56F24} + WinExe + yagui + yagui + v4.5 + + + true + full + false + bin\Debug + DEBUG; + prompt + 4 + false + x86 + + + full + true + bin\Release + prompt + 4 + false + x86 + + + + + False + gtk-sharp-3.0 + + + False + gtk-sharp-2.0 + + + False + glib-sharp-3.0 + + + False + glade-sharp-2.0 + + + False + gtk-sharp-3.0 + + + False + gtk-sharp-3.0 + + + + gio-sharp-3.0 + + + + + gui.stetic + + + + + + + + + + + + + + + + \ No newline at end of file