Changeset - df2debf1b6fc
[Not reviewed]
default
0 10 2
Tess Snider (Malkyne) - 9 years ago 2015-09-09 11:49:11
this@malkyne.org
Update project for modern MonoDevelop (Xamarin Studio), added README file, and made some essential .hgignore changes.
12 files changed with 97 insertions and 65 deletions:
0 comments (0 inline, 0 general)
.hgignore
Show inline comments
 
new file 100644
 
syntax: glob
 
obj/
 
*.userprefs
 
*.orig
...
 
\ No newline at end of file
DesertPaintLab.csproj
Show inline comments
 
<?xml version="1.0" encoding="utf-8"?>
 
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
 
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
 
  <PropertyGroup>
 
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
 
    <Platform Condition=" '$(Platform)' == '' ">x86</Platform>
 
    <ProductVersion>8.0.50727</ProductVersion>
 
    <SchemaVersion>2.0</SchemaVersion>
 
    <ProjectGuid>{1A885212-5FD2-4EBF-A98F-3EB1491A1CBB}</ProjectGuid>
 
    <OutputType>WinExe</OutputType>
 
    <RootNamespace>DesertPaintLab</RootNamespace>
 
    <AssemblyName>DesertPaintLab</AssemblyName>
 
    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
 
  </PropertyGroup>
 
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
...
 
@@ -22,4 +21,5 @@
 
    <ConsolePause>false</ConsolePause>
 
    <additionalargs>/unsafe</additionalargs>
 
    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
 
  </PropertyGroup>
 
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
...
 
@@ -31,10 +31,10 @@
 
    <PlatformTarget>x86</PlatformTarget>
 
    <ConsolePause>false</ConsolePause>
 
    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
 
  </PropertyGroup>
 
  <ItemGroup>
 
    <Reference Include="System" />
 
    <Reference Include="Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" />
 
    <Reference Include="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
 
    <Reference Include="gdk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
 
    <Reference Include="System" />
 
    <Reference Include="glib-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
 
    <Reference Include="glade-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
...
 
@@ -73,5 +73,7 @@
 
  <ProjectExtensions>
 
    <MonoDevelop>
 
      <Properties InternalTargetFrameworkVersion="3.5" />
 
      <Properties>
 
        <GtkDesignInfo generateGettext="False" />
 
      </Properties>
 
    </MonoDevelop>
 
  </ProjectExtensions>
DesertPaintLab.sln
Show inline comments
 

 
Microsoft Visual Studio Solution File, Format Version 9.00
 
# Visual Studio 2005
 
Microsoft Visual Studio Solution File, Format Version 12.00
 
# Visual Studio 2012
 
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DesertPaintLab", "DesertPaintLab.csproj", "{1A885212-5FD2-4EBF-A98F-3EB1491A1CBB}"
 
EndProject
...
 
@@ -15,6 +15,3 @@ Global
 
		{1A885212-5FD2-4EBF-A98F-3EB1491A1CBB}.Release|x86.Build.0 = Release|x86
 
	EndGlobalSection
 
	GlobalSection(MonoDevelopProperties) = preSolution
 
		StartupItem = DesertPaintLab.csproj
 
	EndGlobalSection
 
EndGlobal
README.md
Show inline comments
 
new file 100644
 
# Desert Paint Lab
 

 
This is a tool for players to record their [Pigment Laboratory](http://www.atitd.org/wiki/tale6/Pigment_Laboratory)
 
ingredient reactions in [A Tale in the Desert](http://www.atitd.com/).  You can maintain multiple persistent player
 
profiles, each with their own reaction history.
 

 
Once you are done gathering all of your reactions, you can use the built-in simulator to figure out what your paint combinations
 
will do (`Window > Run Simulator`), or you can export a file to use with the
 
[PracticalPaint](http://www.atitd.org/wiki/tale6/File:PracticalPaint.zip) recipe finder.
 

 
This application should run under Mono on Mac, Linux, and Windows.  If you are on Windows,
 
and do not have Mono installed, you can install [GTK# for .NET](http://www.mono-project.com/download/#download-win),
 
without the need for installing Mono.
 

 
# Tale 7
 

 
This application _has not yet been tested_ for Tale 7.  However, I intend to give it a thorough testing,
 
once I get a Pigment Lab up.  If you find any problems with it, before I get a chance to verify it, please [open an issue](https://bitbucket.org/Malkyne/desert-paint-lab/issues).  Once I can verify that it is working properly, I will post
 
executables and an illustrated guide, for public consumption.
 

 
# For Developers
 

 
This application was developed using [MonoDevelop](http://www.monodevelop.com/), using the [Stetic GTK UI designer](http://www.monodevelop.com/documentation/stetic-gui-designer/).
...
 
\ No newline at end of file
gtk-gui/DesertPaintLab.FirstRunDialog.cs
Show inline comments
...
 
@@ -18,5 +18,5 @@ namespace DesertPaintLab
 
			// Widget DesertPaintLab.FirstRunDialog
 
			this.Name = "DesertPaintLab.FirstRunDialog";
 
			this.Title = global::Mono.Unix.Catalog.GetString ("Set Up Profile");
 
			this.Title = "Set Up Profile";
 
			this.WindowPosition = ((global::Gtk.WindowPosition)(4));
 
			this.Modal = true;
...
 
@@ -29,5 +29,7 @@ namespace DesertPaintLab
 
			this.label2 = new global::Gtk.Label ();
 
			this.label2.Name = "label2";
 
			this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Since this is your first time using this program, you need a new profile.\n\nYou ca" + "n either import an existing PracticalPaint reactions.txt file, or you can start " + "a new profile from scratch.");
 
			this.label2.LabelProp = "Since this is your first time using this program, you need a new profile.\n\nYou ca" +
 
			"n either import an existing PracticalPaint reactions.txt file, or you can start " +
 
			"a new profile from scratch.";
 
			this.label2.Wrap = true;
 
			w1.Add (this.label2);
...
 
@@ -59,5 +61,5 @@ namespace DesertPaintLab
 
			this.buttonImport.Name = "buttonImport";
 
			this.buttonImport.UseUnderline = true;
 
			this.buttonImport.Label = global::Mono.Unix.Catalog.GetString ("Import reactions.txt");
 
			this.buttonImport.Label = "Import reactions.txt";
 
			this.AddActionWidget (this.buttonImport, -3);
 
			global::Gtk.ButtonBox.ButtonBoxChild w5 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w3[this.buttonImport]));
...
 
@@ -70,5 +72,5 @@ namespace DesertPaintLab
 
			this.buttonNew.Name = "buttonNew";
 
			this.buttonNew.UseUnderline = true;
 
			this.buttonNew.Label = global::Mono.Unix.Catalog.GetString ("New Profile");
 
			this.buttonNew.Label = "New Profile";
 
			this.AddActionWidget (this.buttonNew, -5);
 
			global::Gtk.ButtonBox.ButtonBoxChild w6 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w3[this.buttonNew]));
gtk-gui/DesertPaintLab.NewProfileDialog.cs
Show inline comments
...
 
@@ -18,5 +18,5 @@ namespace DesertPaintLab
 
			// Widget DesertPaintLab.NewProfileDialog
 
			this.Name = "DesertPaintLab.NewProfileDialog";
 
			this.Title = global::Mono.Unix.Catalog.GetString ("New Profile");
 
			this.Title = "New Profile";
 
			this.WindowPosition = ((global::Gtk.WindowPosition)(4));
 
			this.BorderWidth = ((uint)(5));
...
 
@@ -29,5 +29,5 @@ namespace DesertPaintLab
 
			this.label1 = new global::Gtk.Label ();
 
			this.label1.Name = "label1";
 
			this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Name your new profile:");
 
			this.label1.LabelProp = "Name your new profile:";
 
			w1.Add (this.label1);
 
			global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1[this.label1]));
...
 
@@ -40,4 +40,5 @@ namespace DesertPaintLab
 
			this.profileNameEntry.Name = "profileNameEntry";
 
			this.profileNameEntry.IsEditable = true;
 
			this.profileNameEntry.InvisibleChar = '●';
 
			w1.Add (this.profileNameEntry);
 
			global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(w1[this.profileNameEntry]));
gtk-gui/DesertPaintLab.PaintSwatch.cs
Show inline comments
...
 
@@ -26,5 +26,5 @@ namespace DesertPaintLab
 
			this.colorNameLabel = new global::Gtk.Label ();
 
			this.colorNameLabel.Name = "colorNameLabel";
 
			this.colorNameLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Unknown");
 
			this.colorNameLabel.LabelProp = "Unknown";
 
			this.vbox1.Add (this.colorNameLabel);
 
			global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.colorNameLabel]));
...
 
@@ -41,5 +41,5 @@ namespace DesertPaintLab
 
			this.rgbLabel = new global::Gtk.Label ();
 
			this.rgbLabel.Name = "rgbLabel";
 
			this.rgbLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("???, ???, ???");
 
			this.rgbLabel.LabelProp = "???, ???, ???";
 
			this.vbox1.Add (this.rgbLabel);
 
			global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.rgbLabel]));
gtk-gui/DesertPaintLab.SelectProfileDialog.cs
Show inline comments
...
 
@@ -20,5 +20,5 @@ namespace DesertPaintLab
 
			// Widget DesertPaintLab.SelectProfileDialog
 
			this.Name = "DesertPaintLab.SelectProfileDialog";
 
			this.Title = global::Mono.Unix.Catalog.GetString ("Open Profile");
 
			this.Title = "Open Profile";
 
			this.WindowPosition = ((global::Gtk.WindowPosition)(4));
 
			this.Modal = true;
...
 
@@ -32,5 +32,5 @@ namespace DesertPaintLab
 
			this.label3 = new global::Gtk.Label ();
 
			this.label3.Name = "label3";
 
			this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Select the profile you would like to open:");
 
			this.label3.LabelProp = "Select the profile you would like to open:";
 
			w1.Add (this.label3);
 
			global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1[this.label3]));
...
 
@@ -69,5 +69,5 @@ namespace DesertPaintLab
 
			this.button56.Name = "button56";
 
			this.button56.UseUnderline = true;
 
			this.button56.Label = global::Mono.Unix.Catalog.GetString ("New Profile");
 
			this.button56.Label = "New Profile";
 
			this.AddActionWidget (this.button56, -3);
 
			global::Gtk.ButtonBox.ButtonBoxChild w6 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w4[this.button56]));
gtk-gui/DesertPaintLab.SimulatorWindow.cs
Show inline comments
...
 
@@ -46,5 +46,5 @@ namespace DesertPaintLab
 
			// Widget DesertPaintLab.SimulatorWindow
 
			this.Name = "DesertPaintLab.SimulatorWindow";
 
			this.Title = global::Mono.Unix.Catalog.GetString ("Simulator");
 
			this.Title = "Simulator";
 
			this.WindowPosition = ((global::Gtk.WindowPosition)(4));
 
			// Container child DesertPaintLab.SimulatorWindow.Gtk.Container+ContainerChild
...
 
@@ -70,5 +70,5 @@ namespace DesertPaintLab
 
			this.vbox162.Spacing = 6;
 
			// Container child vbox162.Gtk.Box+BoxChild
 
			this.alignment1 = new global::Gtk.Alignment (0.5f, 0.5f, 1f, 1f);
 
			this.alignment1 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F);
 
			this.alignment1.Name = "alignment1";
 
			this.vbox162.Add (this.alignment1);
...
 
@@ -84,5 +84,4 @@ namespace DesertPaintLab
 
			this.addReagentButtonImage.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-go-forward", global::Gtk.IconSize.Menu);
 
			this.addReagentButton.Add (this.addReagentButtonImage);
 
			this.addReagentButton.Label = null;
 
			this.vbox162.Add (this.addReagentButton);
 
			global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox162[this.addReagentButton]));
...
 
@@ -91,5 +90,5 @@ namespace DesertPaintLab
 
			w5.Fill = false;
 
			// Container child vbox162.Gtk.Box+BoxChild
 
			this.alignment3 = new global::Gtk.Alignment (0.5f, 0.5f, 1f, 1f);
 
			this.alignment3 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F);
 
			this.alignment3.Name = "alignment3";
 
			this.vbox162.Add (this.alignment3);
...
 
@@ -121,5 +120,5 @@ namespace DesertPaintLab
 
			this.vbox3.Spacing = 6;
 
			// Container child vbox3.Gtk.Box+BoxChild
 
			this.alignment2 = new global::Gtk.Alignment (0.5f, 0.5f, 1f, 1f);
 
			this.alignment2 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F);
 
			this.alignment2.Name = "alignment2";
 
			this.vbox3.Add (this.alignment2);
...
 
@@ -135,5 +134,4 @@ namespace DesertPaintLab
 
			this.image1.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-add", global::Gtk.IconSize.Menu);
 
			this.button65.Add (this.image1);
 
			this.button65.Label = null;
 
			this.vbox3.Add (this.button65);
 
			global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.button65]));
...
 
@@ -150,5 +148,4 @@ namespace DesertPaintLab
 
			this.image2.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-remove", global::Gtk.IconSize.Menu);
 
			this.button66.Add (this.image2);
 
			this.button66.Label = null;
 
			this.vbox3.Add (this.button66);
 
			global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.button66]));
...
 
@@ -157,5 +154,5 @@ namespace DesertPaintLab
 
			w14.Fill = false;
 
			// Container child vbox3.Gtk.Box+BoxChild
 
			this.alignment4 = new global::Gtk.Alignment (0.5f, 0.5f, 1f, 1f);
 
			this.alignment4 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F);
 
			this.alignment4.Name = "alignment4";
 
			this.vbox3.Add (this.alignment4);
gtk-gui/MainWindow.cs
Show inline comments
...
 
@@ -88,35 +88,35 @@ public partial class MainWindow
 
		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");
 
		this.FileAction = new global::Gtk.Action ("FileAction", "_File", null, null);
 
		this.FileAction.ShortLabel = "_File";
 
		w1.Add (this.FileAction, "<Alt>f");
 
		this.HelpAction = new global::Gtk.Action ("HelpAction", global::Mono.Unix.Catalog.GetString ("_Help"), null, null);
 
		this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Help");
 
		this.HelpAction = new global::Gtk.Action ("HelpAction", "_Help", null, null);
 
		this.HelpAction.ShortLabel = "_Help";
 
		w1.Add (this.HelpAction, "<Alt>a");
 
		this.AboutAction = new global::Gtk.Action ("AboutAction", global::Mono.Unix.Catalog.GetString ("_About..."), null, null);
 
		this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_About...");
 
		this.AboutAction = new global::Gtk.Action ("AboutAction", "_About...", null, null);
 
		this.AboutAction.ShortLabel = "_About...";
 
		w1.Add (this.AboutAction, "<Alt>a");
 
		this.NewProfileAction = new global::Gtk.Action ("NewProfileAction", global::Mono.Unix.Catalog.GetString ("_New Profile..."), null, null);
 
		this.NewProfileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_New Profile...");
 
		this.NewProfileAction = new global::Gtk.Action ("NewProfileAction", "_New Profile...", null, null);
 
		this.NewProfileAction.ShortLabel = "_New Profile...";
 
		w1.Add (this.NewProfileAction, "<Alt>n");
 
		this.OpenProfileAction = new global::Gtk.Action ("OpenProfileAction", global::Mono.Unix.Catalog.GetString ("_Open Profile..."), null, null);
 
		this.OpenProfileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Open Profile...");
 
		this.OpenProfileAction = new global::Gtk.Action ("OpenProfileAction", "_Open Profile...", null, null);
 
		this.OpenProfileAction.ShortLabel = "_Open Profile...";
 
		w1.Add (this.OpenProfileAction, "<Alt>o");
 
		this.ExitAction = new global::Gtk.Action ("ExitAction", global::Mono.Unix.Catalog.GetString ("E_xit"), null, null);
 
		this.ExitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("E_xit");
 
		this.ExitAction = new global::Gtk.Action ("ExitAction", "E_xit", null, null);
 
		this.ExitAction.ShortLabel = "E_xit";
 
		w1.Add (this.ExitAction, "<Alt>x");
 
		this.ExportForPracticalPaintAction = new global::Gtk.Action ("ExportForPracticalPaintAction", global::Mono.Unix.Catalog.GetString ("Export for _PracticalPaint..."), null, null);
 
		this.ExportForPracticalPaintAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Export for _PracticalPaint...");
 
		this.ExportForPracticalPaintAction = new global::Gtk.Action ("ExportForPracticalPaintAction", "Export for _PracticalPaint...", null, null);
 
		this.ExportForPracticalPaintAction.ShortLabel = "Export for _PracticalPaint...";
 
		w1.Add (this.ExportForPracticalPaintAction, null);
 
		this.WindowAction = new global::Gtk.Action ("WindowAction", global::Mono.Unix.Catalog.GetString ("_Window"), null, null);
 
		this.WindowAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Window");
 
		this.WindowAction = new global::Gtk.Action ("WindowAction", "_Window", null, null);
 
		this.WindowAction.ShortLabel = "_Window";
 
		w1.Add (this.WindowAction, null);
 
		this.RunSimulatorAction = new global::Gtk.Action ("RunSimulatorAction", global::Mono.Unix.Catalog.GetString ("_Run Simulator"), null, null);
 
		this.RunSimulatorAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Run Simulator");
 
		this.RunSimulatorAction = new global::Gtk.Action ("RunSimulatorAction", "_Run Simulator", null, null);
 
		this.RunSimulatorAction.ShortLabel = "_Run Simulator";
 
		w1.Add (this.RunSimulatorAction, null);
 
		this.UIManager.InsertActionGroup (w1, 0);
 
		this.AddAccelGroup (this.UIManager.AccelGroup);
 
		this.Name = "MainWindow";
 
		this.Title = global::Mono.Unix.Catalog.GetString ("Desert Paint Lab");
 
		this.Title = "Desert Paint Lab";
 
		this.WindowPosition = ((global::Gtk.WindowPosition)(4));
 
		// Container child MainWindow.Gtk.Container+ContainerChild
...
 
@@ -142,5 +142,5 @@ public partial class MainWindow
 
		this.frame2.BorderWidth = ((uint)(4));
 
		// Container child frame2.Gtk.Container+ContainerChild
 
		this.GtkAlignment = new global::Gtk.Alignment (0f, 0f, 1f, 1f);
 
		this.GtkAlignment = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
 
		this.GtkAlignment.Name = "GtkAlignment";
 
		this.GtkAlignment.LeftPadding = ((uint)(6));
...
 
@@ -158,5 +158,5 @@ public partial class MainWindow
 
		this.label4 = new global::Gtk.Label ();
 
		this.label4.Name = "label4";
 
		this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Ingredient 1:");
 
		this.label4.LabelProp = "Ingredient 1:";
 
		this.hbox6.Add (this.label4);
 
		global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.label4]));
...
 
@@ -182,5 +182,5 @@ public partial class MainWindow
 
		this.label5 = new global::Gtk.Label ();
 
		this.label5.Name = "label5";
 
		this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Ingredient 2:");
 
		this.label5.LabelProp = "Ingredient 2:";
 
		this.hbox7.Add (this.label5);
 
		global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.label5]));
...
 
@@ -206,5 +206,5 @@ public partial class MainWindow
 
		this.label6 = new global::Gtk.Label ();
 
		this.label6.Name = "label6";
 
		this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("Ingredient 3:");
 
		this.label6.LabelProp = "Ingredient 3:";
 
		this.hbox8.Add (this.label6);
 
		global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.label6]));
...
 
@@ -227,5 +227,5 @@ public partial class MainWindow
 
		this.GtkLabel2 = new global::Gtk.Label ();
 
		this.GtkLabel2.Name = "GtkLabel2";
 
		this.GtkLabel2.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Select Ingredients</b>");
 
		this.GtkLabel2.LabelProp = "<b>Select Ingredients</b>";
 
		this.GtkLabel2.UseMarkup = true;
 
		this.frame2.LabelWidget = this.GtkLabel2;
...
 
@@ -238,5 +238,5 @@ public partial class MainWindow
 
		this.frame3.BorderWidth = ((uint)(4));
 
		// Container child frame3.Gtk.Container+ContainerChild
 
		this.GtkAlignment1 = new global::Gtk.Alignment (0f, 0f, 1f, 1f);
 
		this.GtkAlignment1 = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
 
		this.GtkAlignment1.Name = "GtkAlignment1";
 
		this.GtkAlignment1.LeftPadding = ((uint)(5));
...
 
@@ -262,5 +262,5 @@ public partial class MainWindow
 
		this.captureButton.Name = "captureButton";
 
		this.captureButton.UseUnderline = true;
 
		this.captureButton.Label = global::Mono.Unix.Catalog.GetString ("Capture");
 
		this.captureButton.Label = "Capture";
 
		this.vbox4.Add (this.captureButton);
 
		global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.captureButton]));
...
 
@@ -272,5 +272,5 @@ public partial class MainWindow
 
		this.GtkLabel25 = new global::Gtk.Label ();
 
		this.GtkLabel25.Name = "GtkLabel25";
 
		this.GtkLabel25.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Unmodified</b>");
 
		this.GtkLabel25.LabelProp = "<b>Unmodified</b>";
 
		this.GtkLabel25.UseMarkup = true;
 
		this.frame3.LabelWidget = this.GtkLabel25;
...
 
@@ -285,5 +285,5 @@ public partial class MainWindow
 
		this.frame4.BorderWidth = ((uint)(4));
 
		// Container child frame4.Gtk.Container+ContainerChild
 
		this.GtkAlignment2 = new global::Gtk.Alignment (0f, 0f, 1f, 1f);
 
		this.GtkAlignment2 = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
 
		this.GtkAlignment2.WidthRequest = 130;
 
		this.GtkAlignment2.Name = "GtkAlignment2";
...
 
@@ -310,5 +310,5 @@ public partial class MainWindow
 
		this.saveButton.Name = "saveButton";
 
		this.saveButton.UseUnderline = true;
 
		this.saveButton.Label = global::Mono.Unix.Catalog.GetString ("Record");
 
		this.saveButton.Label = "Record";
 
		this.vbox5.Add (this.saveButton);
 
		global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.saveButton]));
...
 
@@ -320,5 +320,5 @@ public partial class MainWindow
 
		this.GtkLabel26 = new global::Gtk.Label ();
 
		this.GtkLabel26.Name = "GtkLabel26";
 
		this.GtkLabel26.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Reaction</b>");
 
		this.GtkLabel26.LabelProp = "<b>Reaction</b>";
 
		this.GtkLabel26.UseMarkup = true;
 
		this.frame4.LabelWidget = this.GtkLabel26;
gtk-gui/generated.cs
Show inline comments
...
 
@@ -7,5 +7,5 @@ namespace Stetic
 
		private static bool initialized;
 

 
		static internal void Initialize (Gtk.Widget iconRenderer)
 
		internal static void Initialize (Gtk.Widget iconRenderer)
 
		{
 
			if ((Stetic.Gui.initialized == false)) {
...
 
@@ -60,5 +60,6 @@ namespace Stetic
 
				Gtk.Widget w;
 
				w = this.child.Toplevel;
 
				if (((w != null) && typeof(Gtk.Window).IsInstanceOfType (w))) {
 
				if (((w != null)
 
				    && typeof(Gtk.Window).IsInstanceOfType (w))) {
 
					((Gtk.Window)(w)).AddAccelGroup (this.uimanager.AccelGroup);
 
					this.uimanager = null;
...
 
@@ -93,6 +94,10 @@ namespace Stetic
 
						gc.SetLineAttributes (3, Gdk.LineStyle.Solid, Gdk.CapStyle.Round, Gdk.JoinStyle.Round);
 
						gc.RgbFgColor = new Gdk.Color (255, 0, 0);
 
						pmap.DrawLine (gc, (sz / 4), (sz / 4), ((sz - 1) - (sz / 4)), ((sz - 1) - (sz / 4)));
 
						pmap.DrawLine (gc, ((sz - 1) - (sz / 4)), (sz / 4), (sz / 4), ((sz - 1) - (sz / 4)));
 
						pmap.DrawLine (gc, (sz / 4), (sz / 4), ((sz - 1)
 
						- (sz / 4)), ((sz - 1)
 
						- (sz / 4)));
 
						pmap.DrawLine (gc, ((sz - 1)
 
						- (sz / 4)), (sz / 4), (sz / 4), ((sz - 1)
 
						- (sz / 4)));
 
						return Gdk.Pixbuf.FromDrawable (pmap, pmap.Colormap, 0, 0, 0, 0, sz, sz);
 
					}
gtk-gui/gui.stetic
Show inline comments
...
 
@@ -7,5 +7,5 @@
 
  <import>
 
    <widget-library name="glade-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
 
    <widget-library name="..\bin\Debug\DesertPaintLab.exe" internal="true" />
 
    <widget-library name="../bin/Debug/DesertPaintLab.exe" internal="true" />
 
  </import>
 
  <widget class="Gtk.Window" id="MainWindow" design-size="629 265">
...
 
@@ -618,4 +618,5 @@ You can either import an existing Practi
 
            <property name="CanFocus">True</property>
 
            <property name="IsEditable">True</property>
 
            <property name="InvisibleChar">●</property>
 
          </widget>
 
          <packing>
0 comments (0 inline, 0 general)