예제 #1
0
 internal static void Initialize(Gtk.Widget iconRenderer)
 {
     if ((Stetic.Gui.initialized == false)) {
         Stetic.Gui.initialized = true;
         global::Gtk.IconFactory w1 = new global::Gtk.IconFactory ();
         global::Gtk.IconSet w2 = new global::Gtk.IconSet ();
         global::Gtk.IconSource w3 = new global::Gtk.IconSource ();
         w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (iconRenderer, "stock_new-appointment", global::Gtk.IconSize.Menu);
         w2.AddSource (w3);
         global::Gtk.IconSource w4 = new global::Gtk.IconSource ();
         w4.Pixbuf = global::Stetic.IconLoader.LoadIcon (iconRenderer, "stock_appointment-reminder", global::Gtk.IconSize.Menu);
         w2.AddSource (w4);
         w1.Add ("Times", w2);
         global::Gtk.IconSet w5 = new global::Gtk.IconSet (global::Stetic.IconLoader.LoadIcon (iconRenderer, "stock_appointment-reminder", global::Gtk.IconSize.Menu));
         w1.Add ("Time", w5);
         w1.AddDefault ();
     }
 }
예제 #2
0
 internal static void Initialize(Gtk.Widget iconRenderer)
 {
     if ((Stetic.Gui.initialized == false))
     {
         Stetic.Gui.initialized = true;
         global::Gtk.IconFactory w1 = new global::Gtk.IconFactory();
         global::Gtk.IconSet     w2 = new global::Gtk.IconSet(global::Gdk.Pixbuf.LoadFromResource("forward.png"));
         w1.Add("chrono-forward", w2);
         global::Gtk.IconSet w3 = new global::Gtk.IconSet(global::Gdk.Pixbuf.LoadFromResource("backward.png"));
         w1.Add("chrono-backward", w3);
         global::Gtk.IconSet w4 = new global::Gtk.IconSet(global::Gdk.Pixbuf.LoadFromResource("pause.png"));
         w1.Add("chrono-pause", w4);
         global::Gtk.IconSet w5 = new global::Gtk.IconSet(global::Gdk.Pixbuf.LoadFromResource("undo.png"));
         w1.Add("chrono-undo", w5);
         global::Gtk.IconSet    w6 = new global::Gtk.IconSet();
         global::Gtk.IconSource w7 = new global::Gtk.IconSource();
         w7.Pixbuf         = global::Gdk.Pixbuf.LoadFromResource("chrono-marker-16.png");
         w7.SizeWildcarded = false;
         w7.Size           = global::Gtk.IconSize.Menu;
         w6.AddSource(w7);
         global::Gtk.IconSource w8 = new global::Gtk.IconSource();
         w8.Pixbuf         = global::Gdk.Pixbuf.LoadFromResource("chrono-marker-24.png");
         w8.SizeWildcarded = false;
         w8.Size           = global::Gtk.IconSize.SmallToolbar;
         w6.AddSource(w8);
         global::Gtk.IconSource w9 = new global::Gtk.IconSource();
         w9.Pixbuf         = global::Gdk.Pixbuf.LoadFromResource("chrono-marker-32.png");
         w9.SizeWildcarded = false;
         w9.Size           = global::Gtk.IconSize.Button;
         w6.AddSource(w9);
         global::Gtk.IconSource w10 = new global::Gtk.IconSource();
         w10.Pixbuf         = global::Gdk.Pixbuf.LoadFromResource("chrono-marker-48.png");
         w10.SizeWildcarded = false;
         w10.Size           = global::Gtk.IconSize.LargeToolbar;
         w6.AddSource(w10);
         global::Gtk.IconSource w11 = new global::Gtk.IconSource();
         w11.Pixbuf         = global::Gdk.Pixbuf.LoadFromResource("chrono-marker-64.png");
         w11.SizeWildcarded = false;
         w11.Size           = global::Gtk.IconSize.Dialog;
         w6.AddSource(w11);
         w1.Add("chrono-marker", w6);
         w1.AddDefault();
     }
 }
예제 #3
0
 static internal void Initialize(Gtk.Widget iconRenderer)
 {
     if ((Stetic.Gui.initialized == false))
     {
         Stetic.Gui.initialized = true;
         global::Gtk.IconFactory w1 = new global::Gtk.IconFactory();
         global::Gtk.IconSet     w2 = new global::Gtk.IconSet(new global::Gdk.Pixbuf(global::System.IO.Path.Combine(global::System.AppDomain.CurrentDomain.BaseDirectory, "./Resources/Icons/Interface/16/webservice.png")));
         w1.Add("tagswebservice", w2);
         global::Gtk.IconSet w3 = new global::Gtk.IconSet(new global::Gdk.Pixbuf(global::System.IO.Path.Combine(global::System.AppDomain.CurrentDomain.BaseDirectory, "./Resources/Icons/Interface/16/database.png")));
         w1.Add("tagsdatabase", w3);
         global::Gtk.IconSet w4 = new global::Gtk.IconSet(new global::Gdk.Pixbuf(global::System.IO.Path.Combine(global::System.AppDomain.CurrentDomain.BaseDirectory, "./Resources/Icons/Interface/16/screen.png")));
         w1.Add("screen", w4);
         global::Gtk.IconSet    w5 = new global::Gtk.IconSet();
         global::Gtk.IconSource w6 = new global::Gtk.IconSource();
         w6.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("Ideas.Scada.Server.Manager.Resources.Icons.Interface.16.ideas.png");
         w5.AddSource(w6);
         global::Gtk.IconSource w7 = new global::Gtk.IconSource();
         w7.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("Ideas.Scada.Server.Manager.Resources.Icons.Interface.24.ideas.png");
         w5.AddSource(w7);
         global::Gtk.IconSource w8 = new global::Gtk.IconSource();
         w8.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("Ideas.Scada.Server.Manager.Resources.Icons.Interface.32.ideas.png");
         w5.AddSource(w8);
         w1.Add("ideas", w5);
         global::Gtk.IconSet w9 = new global::Gtk.IconSet(new global::Gdk.Pixbuf(global::System.IO.Path.Combine(global::System.AppDomain.CurrentDomain.BaseDirectory, "./Resources/Icons/Interface/16/close.png")));
         w1.Add("close", w9);
         global::Gtk.IconSet w10 = new global::Gtk.IconSet(new global::Gdk.Pixbuf(global::System.IO.Path.Combine(global::System.AppDomain.CurrentDomain.BaseDirectory, "./Resources/Icons/Interface/16/start.png")));
         w1.Add("start", w10);
         global::Gtk.IconSet w11 = new global::Gtk.IconSet(global::Gdk.Pixbuf.LoadFromResource("Ideas.Scada.Server.Manager.Resources.Icons.Interface.16.settings.png"));
         w1.Add("settings", w11);
         global::Gtk.IconSet w12 = new global::Gtk.IconSet(new global::Gdk.Pixbuf(global::System.IO.Path.Combine(global::System.AppDomain.CurrentDomain.BaseDirectory, "./Resources/Icons/Interface/16/stop.png")));
         w1.Add("stop", w12);
         global::Gtk.IconSet w13 = new global::Gtk.IconSet(new global::Gdk.Pixbuf(global::System.IO.Path.Combine(global::System.AppDomain.CurrentDomain.BaseDirectory, "./Resources/Icons/Interface/16/folder.png")));
         w1.Add("folder", w13);
         global::Gtk.IconSet w14 = new global::Gtk.IconSet(global::Gdk.Pixbuf.LoadFromResource("Ideas.Scada.Server.Manager.Resources.Icons.Interface.16.open.png"));
         w1.Add("open", w14);
         w1.AddDefault();
     }
 }
예제 #4
0
파일: generated.cs 프로젝트: sunl158/ide-as
 internal static void Initialize(Gtk.Widget iconRenderer)
 {
     if ((Stetic.Gui.initialized == false)) {
         Stetic.Gui.initialized = true;
         global::Gtk.IconFactory w1 = new global::Gtk.IconFactory ();
         global::Gtk.IconSet w2 = new global::Gtk.IconSet (new global::Gdk.Pixbuf (global::System.IO.Path.Combine (global::System.AppDomain.CurrentDomain.BaseDirectory, "./Resources/Icons/Interface/16/webservice.png")));
         w1.Add ("tagswebservice", w2);
         global::Gtk.IconSet w3 = new global::Gtk.IconSet (new global::Gdk.Pixbuf (global::System.IO.Path.Combine (global::System.AppDomain.CurrentDomain.BaseDirectory, "./Resources/Icons/Interface/16/database.png")));
         w1.Add ("tagsdatabase", w3);
         global::Gtk.IconSet w4 = new global::Gtk.IconSet (new global::Gdk.Pixbuf (global::System.IO.Path.Combine (global::System.AppDomain.CurrentDomain.BaseDirectory, "./Resources/Icons/Interface/16/screen.png")));
         w1.Add ("screen", w4);
         global::Gtk.IconSet w5 = new global::Gtk.IconSet ();
         global::Gtk.IconSource w6 = new global::Gtk.IconSource ();
         w6.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("Ideas.Scada.Server.Manager.Resources.Icons.Interface.16.ideas.png");
         w5.AddSource (w6);
         global::Gtk.IconSource w7 = new global::Gtk.IconSource ();
         w7.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("Ideas.Scada.Server.Manager.Resources.Icons.Interface.24.ideas.png");
         w5.AddSource (w7);
         global::Gtk.IconSource w8 = new global::Gtk.IconSource ();
         w8.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("Ideas.Scada.Server.Manager.Resources.Icons.Interface.32.ideas.png");
         w5.AddSource (w8);
         w1.Add ("ideas", w5);
         global::Gtk.IconSet w9 = new global::Gtk.IconSet (new global::Gdk.Pixbuf (global::System.IO.Path.Combine (global::System.AppDomain.CurrentDomain.BaseDirectory, "./Resources/Icons/Interface/16/close.png")));
         w1.Add ("close", w9);
         global::Gtk.IconSet w10 = new global::Gtk.IconSet (new global::Gdk.Pixbuf (global::System.IO.Path.Combine (global::System.AppDomain.CurrentDomain.BaseDirectory, "./Resources/Icons/Interface/16/start.png")));
         w1.Add ("start", w10);
         global::Gtk.IconSet w11 = new global::Gtk.IconSet (global::Gdk.Pixbuf.LoadFromResource ("Ideas.Scada.Server.Manager.Resources.Icons.Interface.16.settings.png"));
         w1.Add ("settings", w11);
         global::Gtk.IconSet w12 = new global::Gtk.IconSet (new global::Gdk.Pixbuf (global::System.IO.Path.Combine (global::System.AppDomain.CurrentDomain.BaseDirectory, "./Resources/Icons/Interface/16/stop.png")));
         w1.Add ("stop", w12);
         global::Gtk.IconSet w13 = new global::Gtk.IconSet (new global::Gdk.Pixbuf (global::System.IO.Path.Combine (global::System.AppDomain.CurrentDomain.BaseDirectory, "./Resources/Icons/Interface/16/folder.png")));
         w1.Add ("folder", w13);
         global::Gtk.IconSet w14 = new global::Gtk.IconSet (global::Gdk.Pixbuf.LoadFromResource ("Ideas.Scada.Server.Manager.Resources.Icons.Interface.16.open.png"));
         w1.Add ("open", w14);
         w1.AddDefault ();
     }
 }