Author: cjcollier
Date: 2006-01-09 14:43:45 -0500 (Mon, 09 Jan 2006)
New Revision: 55258

Added:
   trunk/gtkglarea-sharp/examples/resources/
   trunk/gtkglarea-sharp/examples/resources/colliertech.png
   trunk/gtkglarea-sharp/examples/resources/glwidget.glade
   trunk/gtkglarea-sharp/examples/rotate-buttons/Vector.cs
   trunk/gtkglarea-sharp/examples/trackball/Vector.cs
   trunk/gtkglarea-sharp/examples/trackball/trackballTest.mdp
Removed:
   trunk/gtkglarea-sharp/examples/util/glwidget.glade
Modified:
   trunk/gtkglarea-sharp/ChangeLog
   trunk/gtkglarea-sharp/configure.ac
   trunk/gtkglarea-sharp/examples/GtkGlAreaSharpExamples.mds
   trunk/gtkglarea-sharp/examples/Makefile.am
   trunk/gtkglarea-sharp/examples/glade/Makefile.am
   trunk/gtkglarea-sharp/examples/rotate-buttons/GLObjectBase.cs
   trunk/gtkglarea-sharp/examples/rotate-buttons/Makefile.am
   trunk/gtkglarea-sharp/examples/rotate-buttons/Quaternion.cs
   trunk/gtkglarea-sharp/examples/rotate-buttons/rotateButtonTest.mdp
   trunk/gtkglarea-sharp/examples/trackball/Makefile.am
   trunk/gtkglarea-sharp/examples/trackball/TrackballWidget.cs
   trunk/gtkglarea-sharp/examples/util/Makefile.am
Log:
- added a vector class
- moved "common" to "util" and "resources"



Modified: trunk/gtkglarea-sharp/ChangeLog
===================================================================
--- trunk/gtkglarea-sharp/ChangeLog     2006-01-09 19:42:54 UTC (rev 55257)
+++ trunk/gtkglarea-sharp/ChangeLog     2006-01-09 19:43:45 UTC (rev 55258)
@@ -1,3 +1,37 @@
+2006-01-09  C.J. Collier  <[EMAIL PROTECTED]>
+       * examples/trackball/Vector.cs
+       - New link to ../rotate-buttons/Vector.cs
+       * examples/trackball/TrackballWidget.cs
+       - removed debug print statements
+       * examples/trackball/Makefile.am
+       - Added Vector.cs
+       * examples/trackball/trackballTest.mdp
+       - re-structured for new code
+       * examples/GtkGlAreaSharpExamples.mds
+       - removed old project
+       - added new projects
+       ! moved common to util:
+       examples/common
+       examples/common/Teapot.cs
+       examples/common/glwidget.glade
+       examples/common/Trackball.cs
+       examples/common/Makefile.am
+       examples/common/GLWidget.cs
+       * examples/rotate-buttons/GLObjectBase.cs
+       - changed += to *=
+       * examples/rotate-buttons/Quaternion.cs
+       - shortened line
+       - changed operator+ to operator*
+       - re-wrote operator* based on Vector code
+       - removed Vector-specific code and placed in Vector.cs
+       * examples/rotate-buttons/Vector.cs
+       - Moved vector-specific code from Quaternion.cs to Vector.cs
+       * examples/resources
+       - created a directory to contain images and glade-ish things
+       * examples/util
+       - renamed common to util
+
+
 2006-01-06T15:17  C.J. Collier  <[EMAIL PROTECTED]>
 
        Overview: Applying new classes from rotate-buttons to this

Modified: trunk/gtkglarea-sharp/configure.ac
===================================================================
--- trunk/gtkglarea-sharp/configure.ac  2006-01-09 19:42:54 UTC (rev 55257)
+++ trunk/gtkglarea-sharp/configure.ac  2006-01-09 19:43:45 UTC (rev 55258)
@@ -2,7 +2,7 @@
 AC_CANONICAL_SYSTEM
 
 ## Bump this for every release
-AM_INIT_AUTOMAKE(gtkglarea-sharp, 0.0.9)
+AM_INIT_AUTOMAKE(gtkglarea-sharp, 0.0.10)
 
 AM_MAINTAINER_MODE
 
@@ -136,7 +136,8 @@
 examples/rotate-buttons/Makefile
 examples/glade/Makefile
 examples/trackball/Makefile
-examples/common/Makefile
+examples/util/Makefile
+examples/resources/Makefile
 examples/NeHe/Makefile
 examples/NeHe/Lessons/Makefile
 sources/Makefile

Modified: trunk/gtkglarea-sharp/examples/GtkGlAreaSharpExamples.mds
===================================================================
--- trunk/gtkglarea-sharp/examples/GtkGlAreaSharpExamples.mds   2006-01-09 
19:42:54 UTC (rev 55257)
+++ trunk/gtkglarea-sharp/examples/GtkGlAreaSharpExamples.mds   2006-01-09 
19:43:45 UTC (rev 55258)
@@ -1,16 +1,20 @@
 <Combine name="GtkGlAreaSharpExamples" fileversion="2.0">
   <Configurations active="Debug">
     <Configuration name="Debug" ctype="CombineConfiguration">
-      <Entry configuration="Debug" build="True" name="teapot" />
+      <Entry configuration="Debug" build="True" name="rotateButtonTest" />
+      <Entry configuration="Debug" build="True" name="trackballTest" />
     </Configuration>
     <Configuration name="Release" ctype="CombineConfiguration">
-      <Entry configuration="Release" build="True" name="teapot" />
+      <Entry configuration="Debug" build="True" name="rotateButtonTest" />
+      <Entry configuration="Debug" build="True" name="trackballTest" />
     </Configuration>
   </Configurations>
   <StartMode startupentry="teapot" single="True">
-    <Execute type="None" entry="teapot" />
+    <Execute type="None" entry="rotateButtonTest" />
+    <Execute type="None" entry="trackballTest" />
   </StartMode>
   <Entries>
-    <Entry filename="./GtkGlAreaSharpExamples.mdp" />
+    <Entry filename="./rotate-buttons/rotateButtonTest.mdp" />
+    <Entry filename="./trackball/trackballTest.mdp" />
   </Entries>
 </Combine>
\ No newline at end of file

Modified: trunk/gtkglarea-sharp/examples/Makefile.am
===================================================================
--- trunk/gtkglarea-sharp/examples/Makefile.am  2006-01-09 19:42:54 UTC (rev 
55257)
+++ trunk/gtkglarea-sharp/examples/Makefile.am  2006-01-09 19:43:45 UTC (rev 
55258)
@@ -3,4 +3,5 @@
        trackball \
        rotate-buttons \
        glade \
-       common
+       resources \
+       util

Modified: trunk/gtkglarea-sharp/examples/glade/Makefile.am
===================================================================
--- trunk/gtkglarea-sharp/examples/glade/Makefile.am    2006-01-09 19:42:54 UTC 
(rev 55257)
+++ trunk/gtkglarea-sharp/examples/glade/Makefile.am    2006-01-09 19:43:45 UTC 
(rev 55258)
@@ -1,6 +1,6 @@
 all: gladeTest.exe
 
-gladeTest.exe: $(srcdir)/gladeTest.cs $(srcdir)/../common/Teapot.cs 
$(srcdir)/../common/GLWidget.cs
+gladeTest.exe: $(srcdir)/gladeTest.cs $(srcdir)/../util/Teapot.cs 
$(srcdir)/../util/GLWidget.cs
        $(MCS) \
        -lib:@top_builddir@/gtkglarea \
        -r:gtkglarea-sharp.dll \
@@ -9,10 +9,10 @@
        -pkg:gtk-sharp-2.0 \
        -pkg:glade-sharp-2.0 \
        -out:gladeTest.exe \
-       -resource:$(srcdir)/../common/glwidget.glade \
+       -resource:$(srcdir)/../resources/glwidget.glade \
                $(srcdir)/gladeTest.cs \
-               $(srcdir)/../common/Teapot.cs \
-               $(srcdir)/../common/GLWidget.cs
+               $(srcdir)/../util/Teapot.cs \
+               $(srcdir)/../util/GLWidget.cs
 
 
 EXTRA_DIST = \

Added: trunk/gtkglarea-sharp/examples/resources/colliertech.png
===================================================================
(Binary files differ)


Property changes on: trunk/gtkglarea-sharp/examples/resources/colliertech.png
___________________________________________________________________
Name: svn:mime-type
   + image/png

Copied: trunk/gtkglarea-sharp/examples/resources/glwidget.glade (from rev 
55256, trunk/gtkglarea-sharp/examples/util/glwidget.glade)

Modified: trunk/gtkglarea-sharp/examples/rotate-buttons/GLObjectBase.cs
===================================================================
--- trunk/gtkglarea-sharp/examples/rotate-buttons/GLObjectBase.cs       
2006-01-09 19:42:54 UTC (rev 55257)
+++ trunk/gtkglarea-sharp/examples/rotate-buttons/GLObjectBase.cs       
2006-01-09 19:43:45 UTC (rev 55258)
@@ -59,7 +59,7 @@
         
         public void Rotate(GtkGL.Quaternion q)
         {
-               Quat += q;
+               Quat *= q;
         }
         
         public void Rotate(GtkGL.EulerRotation er)

Modified: trunk/gtkglarea-sharp/examples/rotate-buttons/Makefile.am
===================================================================
--- trunk/gtkglarea-sharp/examples/rotate-buttons/Makefile.am   2006-01-09 
19:42:54 UTC (rev 55257)
+++ trunk/gtkglarea-sharp/examples/rotate-buttons/Makefile.am   2006-01-09 
19:43:45 UTC (rev 55258)
@@ -7,6 +7,7 @@
        Rotation.cs \
        EulerRotation.cs \
        Quaternion.cs \
+       Vector.cs \
        RotationMatrix.cs \
        RotationUtil.cs \
        ObjectRotationButton.cs \
@@ -26,8 +27,8 @@
 
 rotatebuttons.exe: \
        $(srcdir)/rotatebuttons.cs \
-       $(srcdir)/../common/Teapot.cs \
-       $(srcdir)/../common/Trackball.cs
+       $(srcdir)/../util/Teapot.cs \
+       $(srcdir)/../util/Trackball.cs
        $(MCS) -debug \
         -lib:@top_builddir@/gtkglarea \
         -r:gtkglarea-sharp.dll \
@@ -35,14 +36,15 @@
         -pkg:gtk-sharp-2.0 \
         -out:rotatebuttons.exe \
                 $(srcdir)/rotatebuttons.cs \
-                $(srcdir)/../common/Teapot.cs \
-                $(srcdir)/../common/Trackball.cs
+                $(srcdir)/../util/Teapot.cs \
+                $(srcdir)/../util/Trackball.cs
 
 rotateButtonTest.exe: \
        $(srcdir)/rotateButtonTest.cs \
        $(srcdir)/Rotation.cs \
        $(srcdir)/EulerRotation.cs \
        $(srcdir)/Quaternion.cs \
+       $(srcdir)/Vector.cs \
        $(srcdir)/RotationMatrix.cs \
        $(srcdir)/RotationUtil.cs \
        $(srcdir)/IGLObject.cs \
@@ -51,7 +53,7 @@
        $(srcdir)/ObjectRotationButton.cs \
        $(srcdir)/GLObjectRotationController.cs \
        $(srcdir)/Teapot.cs \
-       $(srcdir)/../common/glwidget.glade
+       $(srcdir)/../resources/glwidget.glade
        $(MCS) -debug \
        -lib:@top_builddir@/gtkglarea \
        -r:gtkglarea-sharp.dll \
@@ -60,13 +62,14 @@
        -pkg:glade-sharp-2.0 \
        -pkg:gtk-sharp-2.0 \
        -out:rotateButtonTest.exe \
-       -resource:$(srcdir)/../common/glwidget.glade \
+       -resource:$(srcdir)/../resources/glwidget.glade \
        -resource:$(srcdir)/rotation-controller.glade \
        -nowarn:0169 \
                $(srcdir)/rotateButtonTest.cs \
                $(srcdir)/Rotation.cs \
                $(srcdir)/EulerRotation.cs \
                $(srcdir)/Quaternion.cs \
+               $(srcdir)/Vector.cs \
                $(srcdir)/RotationMatrix.cs \
                $(srcdir)/RotationUtil.cs \
                $(srcdir)/ObjectRotationButton.cs \

Modified: trunk/gtkglarea-sharp/examples/rotate-buttons/Quaternion.cs
===================================================================
--- trunk/gtkglarea-sharp/examples/rotate-buttons/Quaternion.cs 2006-01-09 
19:42:54 UTC (rev 55257)
+++ trunk/gtkglarea-sharp/examples/rotate-buttons/Quaternion.cs 2006-01-09 
19:43:45 UTC (rev 55258)
@@ -30,97 +30,44 @@
         static Quaternion identity = null;
         
         public static Quaternion Identity {
-               get { if (identity == null) identity = new Quaternion(0,0,0,1); 
return identity; }
+                       get {
+                               if (identity == null)
+                                       identity =
+                                               new Quaternion(0,0,0,1);
+                                               
+                               return identity;
+                       }
         }
                
         const int RENORMCOUNT = 97;
         static int count = 0;
         
-        public static Quaternion operator +(Quaternion q1, Quaternion q2)
+        public static Quaternion operator *(Quaternion q1, Quaternion q2)
         {
-               Console.WriteLine("Attempting to add q1 to q2.");
-               if(q1 == null)
-                       return q2;
+               if(q1 == null) return null;
                        
-               if(q2 == null)
-                       return q1;
-                       
-               Console.WriteLine("Neither are null.");
-        
-               Console.WriteLine("q1 = [{0} {1} {2} {3}]",
-                                                 Math.Round(q1.W, 4),
-                                                 Math.Round(q1.X, 4),
-                                                 Math.Round(q1.Y, 4),
-                                                 Math.Round(q1.Z, 4) );
+               if(q2 == null) return null;
 
-               Console.WriteLine("q2 = [{0} {1} {2} {3}]",
-                                                 Math.Round(q2.W, 4),
-                                                 Math.Round(q2.X, 4),
-                                                 Math.Round(q2.Y, 4),
-                                                 Math.Round(q2.Z, 4) );
-
-        
-               Quaternion t1 = q1,
-                                  t2 = q2,
-                                  t3 = Quaternion.VCross(q1, q2),
-                                  tf;
+               Vector v1 = new Vector(q1.x, q1.y, q1.z);
+               Vector v2 = new Vector(q2.x, q2.y, q2.z);
                
+               double angle = ((q1.w * q2.w) - Vector.Dot(v1, v2));
                
+               Vector cross = Vector.Cross(v1, v2);
                
-               t1.VScale(q2.Z);
-               t2.VScale(q1.Z);
-               t3 = Quaternion.VCross(q2, q1);
+               v1 *= q2.w;
+               v2 *= q1.w;
                
-               tf = Quaternion.VAdd(t1,t2);
-               tf = Quaternion.VAdd(t3,tf);
-               tf.Z = (q1.Z * q2.Z) - Quaternion.VDot(q1, q2); 
-               
-               if (++count > RENORMCOUNT) {
-                       count = 0;
-                       tf.Normalize();
-               }
-               
-               Console.WriteLine("sum = [{0} {1} {2} {3}]",
-                                                 Math.Round(tf.W, 4),
-                                                 Math.Round(tf.X, 4),
-                                                 Math.Round(tf.Y, 4),
-                                                 Math.Round(tf.Z, 4) );
-               
-               return tf;
-               
+               Quaternion result = new Quaternion(angle,
+                                                                               
  (v1.x + v2.x + cross.x),
+                                                                               
  (v1.y + v2.y + cross.y),
+                                                                               
  (v1.z + v2.z + cross.z)
+                                                                               
          );
+ 
+                       return result;
         }
         
-        private static Quaternion VCross(Quaternion q1, Quaternion q2)
-        {
-               return new Quaternion( (q1.X * q2.Y) - (q1.Y * q2.X),
-                                                          (q1.Y * q2.W) - 
(q1.W * q2.Y),
-                                                          (q1.W * q2.X) - 
(q1.X * q2.W),
-                                                          0
-                                                          );
-                                                                               
 
-        }
         
-        private static Quaternion VAdd(Quaternion q1, Quaternion q2)
-        {
-               return new Quaternion( q1.W + q2.W,
-                                                          q1.X + q2.X,
-                                                          q1.Y + q2.Y,
-                                                          0
-                                                          );
-        }
-        
-        private static double VDot(Quaternion q1, Quaternion q2)
-        {
-               return (q1.W * q2.W) + (q1.X * q2.X) + (q1.Y * q2.Y);
-        }
-        
-        private void VScale(double factor)
-        {
-               x *= factor;
-               y *= factor;
-               z *= factor;
-        }
-        
         public Quaternion(float[] q)
         {
                this.w = (double) q[0];

Added: trunk/gtkglarea-sharp/examples/rotate-buttons/Vector.cs
===================================================================
--- trunk/gtkglarea-sharp/examples/rotate-buttons/Vector.cs     2006-01-09 
19:42:54 UTC (rev 55257)
+++ trunk/gtkglarea-sharp/examples/rotate-buttons/Vector.cs     2006-01-09 
19:43:45 UTC (rev 55258)
@@ -0,0 +1,59 @@
+
+namespace GtkGL {
+    using System;
+    
+    public class Vector {
+    
+       public double x, y, z;
+        
+        public Vector(double x, double y, double z) {
+               this.x = x;
+               this.y = y;
+               this.z = z;
+        }
+        
+        public Vector(double[] v) {
+               if(v == null || v.Length < 3)
+                       this.x = this.y = this.z = 0.0;
+               else{
+                       this.x = v[0];
+                       this.y = v[1];
+                       this.z = v[2];
+               }
+        }
+        
+        
+        public static Vector Cross(Vector v1, Vector v2)
+        {
+               return new Vector( (v1.y * v2.z) - (v1.z * v2.y),
+                                                  (v1.z * v2.x) - (v1.x * 
v2.z),
+                                                  (v1.x * v2.y) - (v1.y * v2.x)
+                                                );                             
                                         
+        }
+        
+        public static Vector operator +(Vector v1, Vector v2)
+        {
+               return new Vector(v1.x + v2.x,
+                                                 v1.y + v2.y,
+                                                 v1.z + v2.z
+                                                );
+        }
+        
+        public static Vector operator *(Vector v1, double factor)
+        {
+               Vector result = new Vector( v1.x * factor,
+                                                                       v1.y * 
factor,
+                                                                       v1.z * 
factor
+                                                                  );
+               return result;
+        }
+        
+        public static double Dot(Vector v1, Vector v2)
+        {
+               return (v1.x * v2.x) + (v1.y * v2.y) + (v1.z * v2.z);
+        }
+        
+       
+    }
+    
+}

Modified: trunk/gtkglarea-sharp/examples/rotate-buttons/rotateButtonTest.mdp
===================================================================
--- trunk/gtkglarea-sharp/examples/rotate-buttons/rotateButtonTest.mdp  
2006-01-09 19:42:54 UTC (rev 55257)
+++ trunk/gtkglarea-sharp/examples/rotate-buttons/rotateButtonTest.mdp  
2006-01-09 19:43:45 UTC (rev 55258)
@@ -17,7 +17,7 @@
     <excludeFiles />
   </DeploymentInformation>
   <Contents>
-    <File name="../common/glwidget.glade" subtype="Code" 
buildaction="EmbedAsResource" />
+    <File name="../resources/glwidget.glade" subtype="Code" 
buildaction="EmbedAsResource" />
     <File name="./GLObjectBase.cs" subtype="Code" buildaction="Compile" />
     <File name="./ObjectRotationButton.cs" subtype="Code" 
buildaction="Compile" />
     <File name="./rotateButtonTest.cs" subtype="Code" buildaction="Compile" />

Modified: trunk/gtkglarea-sharp/examples/trackball/Makefile.am
===================================================================
--- trunk/gtkglarea-sharp/examples/trackball/Makefile.am        2006-01-09 
19:42:54 UTC (rev 55257)
+++ trunk/gtkglarea-sharp/examples/trackball/Makefile.am        2006-01-09 
19:43:45 UTC (rev 55258)
@@ -10,6 +10,7 @@
        TrackballWidget.cs \
        EulerRotation.cs \
        Quaternion.cs \
+       Vector.cs \
        RotationMatrix.cs \
        glwidget.glade \
        Teapot.cs
@@ -29,30 +30,43 @@
                TrackballWidget.cs \
                EulerRotation.cs \
                Quaternion.cs \
+               Vector.cs \
                RotationMatrix.cs \
                Trackball.cs \
                Teapot.cs
 
 EXTRA_DIST = \
-       trackballTest.cs \
+       rotatebuttons.cs \
+       rotateButtonTest.cs \
        IGLObject.cs \
        GLObjectBase.cs \
        GLWidget.cs \
-       TrackballWidget.cs \
+       Rotation.cs \
        EulerRotation.cs \
        Quaternion.cs \
        RotationMatrix.cs \
-       glwidget.glade \
-       Trackball.cs \
+       RotationUtil.cs \
+       ObjectRotationButton.cs \
+       GLObjectRotationController.cs \
+       rotation-controller.glade \
        Teapot.cs
 
 CLEANFILES = \
        trackballTest.exe \
-       rotateButtonTest.exe.mdb
+       trackballTest.exe.mdb
 
 
 EXTRA_DIST = \
        trackballTest.cs \
-       TrackballWidget.cs
+       IGLObject.cs \
+       GLObjectBase.cs \
+       GLWidget.cs \
+       TrackballWidget.cs \
+       EulerRotation.cs \
+       Quaternion.cs \
+       Vector.cs \
+       RotationMatrix.cs \
+       glwidget.glade \
+       Trackball.cs \
+       Teapot.cs
 
-CLEANFILES = trackballTest.exe

Modified: trunk/gtkglarea-sharp/examples/trackball/TrackballWidget.cs
===================================================================
--- trunk/gtkglarea-sharp/examples/trackball/TrackballWidget.cs 2006-01-09 
19:42:54 UTC (rev 55257)
+++ trunk/gtkglarea-sharp/examples/trackball/TrackballWidget.cs 2006-01-09 
19:43:45 UTC (rev 55258)
@@ -61,8 +61,6 @@
                        }
                                
                        if(button1Pressed == true){
-                               Console.WriteLine("Dragging...");
-                               
                                // Create a quaternion based on the mouse 
movement
                                float[] spinQuat = new float[4];
                                tb.trackball(ref spinQuat,
@@ -99,7 +97,6 @@
                
                void OnButtonPress (object o, Gtk.ButtonPressEventArgs e)
                {
-                       Console.WriteLine("Button Pressed!");
                        if(e.Event.Button == 1){
                                button1Pressed = true;
                                
@@ -112,7 +109,6 @@
                
                void OnButtonRelease (object o, Gtk.ButtonReleaseEventArgs e)
                {
-                       Console.WriteLine("Button Released!");
                        if(e.Event.Button == 1){
                                button1Pressed = false;
                        }

Added: trunk/gtkglarea-sharp/examples/trackball/Vector.cs
===================================================================
--- trunk/gtkglarea-sharp/examples/trackball/Vector.cs  2006-01-09 19:42:54 UTC 
(rev 55257)
+++ trunk/gtkglarea-sharp/examples/trackball/Vector.cs  2006-01-09 19:43:45 UTC 
(rev 55258)
@@ -0,0 +1 @@
+link ../rotate-buttons/Vector.cs
\ No newline at end of file


Property changes on: trunk/gtkglarea-sharp/examples/trackball/Vector.cs
___________________________________________________________________
Name: svn:special
   + *

Added: trunk/gtkglarea-sharp/examples/trackball/trackballTest.mdp
===================================================================
--- trunk/gtkglarea-sharp/examples/trackball/trackballTest.mdp  2006-01-09 
19:42:54 UTC (rev 55257)
+++ trunk/gtkglarea-sharp/examples/trackball/trackballTest.mdp  2006-01-09 
19:43:45 UTC (rev 55258)
@@ -0,0 +1,33 @@
+<Project name="trackballTest" fileversion="2.0" language="C#" 
ctype="DotNetProject">
+  <Configurations active="Debug">
+    <Configuration name="Debug" ctype="DotNetProjectConfiguration">
+      <Output directory="./bin/Debug" assembly="trackballTest" />
+      <Build debugmode="True" target="Exe" />
+      <Execution runwithwarnings="True" consolepause="True" runtime="MsNet" />
+      <CodeGeneration compiler="Csc" warninglevel="4" optimize="True" 
unsafecodeallowed="False" generateoverflowchecks="True" 
generatexmldocumentation="False" ctype="CSharpCompilerParameters" />
+    </Configuration>
+    <Configuration name="Release" ctype="DotNetProjectConfiguration">
+      <Output directory="./bin/Release" assembly="trackballTest" />
+      <Build debugmode="False" target="Exe" />
+      <Execution runwithwarnings="True" consolepause="True" runtime="MsNet" />
+      <CodeGeneration compiler="Csc" warninglevel="4" optimize="True" 
unsafecodeallowed="False" generateoverflowchecks="True" 
generatexmldocumentation="False" ctype="CSharpCompilerParameters" />
+    </Configuration>
+  </Configurations>
+  <DeploymentInformation strategy="File">
+    <excludeFiles />
+  </DeploymentInformation>
+  <Contents>
+    <File name="./trackballTest.cs" subtype="Code" buildaction="Compile" />
+    <File name="./TrackballWidget.cs" subtype="Code" buildaction="Compile" />
+    <File name="./glwidget.glade" subtype="Code" buildaction="EmbedAsResource" 
/>
+    <File name="./IGLObject.cs" subtype="Code" buildaction="Compile" />
+    <File name="./GLObjectBase.cs" subtype="Code" buildaction="Compile" />
+    <File name="./Teapot.cs" subtype="Code" buildaction="Compile" />
+    <File name="./GLWidget.cs" subtype="Code" buildaction="Compile" />
+    <File name="./RotationMatrix.cs" subtype="Code" buildaction="Compile" />
+    <File name="./EulerRotation.cs" subtype="Code" buildaction="Compile" />
+    <File name="./Quaternion.cs" subtype="Code" buildaction="Compile" />
+    <File name="./Vector.cs" subtype="Code" buildaction="Compile" />
+  </Contents>
+  <References />
+</Project>
\ No newline at end of file

Modified: trunk/gtkglarea-sharp/examples/util/Makefile.am
===================================================================
--- trunk/gtkglarea-sharp/examples/util/Makefile.am     2006-01-09 19:42:54 UTC 
(rev 55257)
+++ trunk/gtkglarea-sharp/examples/util/Makefile.am     2006-01-09 19:43:45 UTC 
(rev 55258)
@@ -1,5 +1,4 @@
 EXTRA_DIST = \
        GLWidget.cs \
        Teapot.cs \
-       Trackball.cs \
-       glwidget.glade
\ No newline at end of file
+       Trackball.cs
\ No newline at end of file

Deleted: trunk/gtkglarea-sharp/examples/util/glwidget.glade
===================================================================
--- trunk/gtkglarea-sharp/examples/util/glwidget.glade  2006-01-09 19:42:54 UTC 
(rev 55257)
+++ trunk/gtkglarea-sharp/examples/util/glwidget.glade  2006-01-09 19:43:45 UTC 
(rev 55258)
@@ -1,399 +0,0 @@
-<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
-<!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd";>
-
-<glade-interface>
-
-<widget class="GtkWindow" id="glwidget">
-  <property name="visible">True</property>
-  <property name="title" translatable="yes">glwidgets</property>
-  <property name="type">GTK_WINDOW_TOPLEVEL</property>
-  <property name="window_position">GTK_WIN_POS_NONE</property>
-  <property name="modal">False</property>
-  <property name="resizable">True</property>
-  <property name="destroy_with_parent">False</property>
-  <property name="decorated">True</property>
-  <property name="skip_taskbar_hint">False</property>
-  <property name="skip_pager_hint">False</property>
-  <property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
-  <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
-  <property name="focus_on_map">True</property>
-  <property name="urgency_hint">False</property>
-  <accessibility>
-    <atkproperty name="AtkObject::accessible_name" 
translatable="yes">glwidgets</atkproperty>
-  </accessibility>
-  <signal name="delete_event" handler="OnWindowDeleteEvent" 
last_modification_time="Sat, 26 Nov 2005 09:14:46 GMT"/>
-
-  <child>
-    <widget class="GtkVBox" id="vbox1">
-      <property name="visible">True</property>
-      <property name="homogeneous">False</property>
-      <property name="spacing">0</property>
-
-      <child>
-       <widget class="GtkMenuBar" id="menubar1">
-         <property name="visible">True</property>
-         <property name="pack_direction">GTK_PACK_DIRECTION_LTR</property>
-         <property 
name="child_pack_direction">GTK_PACK_DIRECTION_LTR</property>
-
-         <child>
-           <widget class="GtkMenuItem" id="menuitem1">
-             <property name="visible">True</property>
-             <property name="label" translatable="yes">_File</property>
-             <property name="use_underline">True</property>
-
-             <child>
-               <widget class="GtkMenu" id="menuitem1_menu">
-
-                 <child>
-                   <widget class="GtkImageMenuItem" id="new1">
-                     <property name="visible">True</property>
-                     <property name="label">gtk-new</property>
-                     <property name="use_stock">True</property>
-                   </widget>
-                 </child>
-
-                 <child>
-                   <widget class="GtkImageMenuItem" id="open1">
-                     <property name="visible">True</property>
-                     <property name="label">gtk-open</property>
-                     <property name="use_stock">True</property>
-                   </widget>
-                 </child>
-
-                 <child>
-                   <widget class="GtkImageMenuItem" id="save1">
-                     <property name="visible">True</property>
-                     <property name="label">gtk-save</property>
-                     <property name="use_stock">True</property>
-                   </widget>
-                 </child>
-
-                 <child>
-                   <widget class="GtkImageMenuItem" id="save_as1">
-                     <property name="visible">True</property>
-                     <property name="label">gtk-save-as</property>
-                     <property name="use_stock">True</property>
-                   </widget>
-                 </child>
-
-                 <child>
-                   <widget class="GtkSeparatorMenuItem" 
id="separatormenuitem1">
-                     <property name="visible">True</property>
-                   </widget>
-                 </child>
-
-                 <child>
-                   <widget class="GtkImageMenuItem" id="quit1">
-                     <property name="visible">True</property>
-                     <property name="label">gtk-quit</property>
-                     <property name="use_stock">True</property>
-                     <signal name="activate" handler="OnQuit" 
last_modification_time="Sat, 26 Nov 2005 09:02:30 GMT"/>
-                   </widget>
-                 </child>
-               </widget>
-             </child>
-           </widget>
-         </child>
-
-         <child>
-           <widget class="GtkMenuItem" id="menuitem2">
-             <property name="visible">True</property>
-             <property name="label" translatable="yes">_Edit</property>
-             <property name="use_underline">True</property>
-
-             <child>
-               <widget class="GtkMenu" id="menuitem2_menu">
-
-                 <child>
-                   <widget class="GtkImageMenuItem" id="cut1">
-                     <property name="visible">True</property>
-                     <property name="label">gtk-cut</property>
-                     <property name="use_stock">True</property>
-                   </widget>
-                 </child>
-
-                 <child>
-                   <widget class="GtkImageMenuItem" id="copy1">
-                     <property name="visible">True</property>
-                     <property name="label">gtk-copy</property>
-                     <property name="use_stock">True</property>
-                   </widget>
-                 </child>
-
-                 <child>
-                   <widget class="GtkImageMenuItem" id="paste1">
-                     <property name="visible">True</property>
-                     <property name="label">gtk-paste</property>
-                     <property name="use_stock">True</property>
-                   </widget>
-                 </child>
-
-                 <child>
-                   <widget class="GtkImageMenuItem" id="delete1">
-                     <property name="visible">True</property>
-                     <property name="label">gtk-delete</property>
-                     <property name="use_stock">True</property>
-                   </widget>
-                 </child>
-               </widget>
-             </child>
-           </widget>
-         </child>
-
-         <child>
-           <widget class="GtkMenuItem" id="menuitem3">
-             <property name="visible">True</property>
-             <property name="label" translatable="yes">_View</property>
-             <property name="use_underline">True</property>
-
-             <child>
-               <widget class="GtkMenu" id="menuitem3_menu">
-
-                 <child>
-                   <widget class="GtkMenuItem" id="control_window1">
-                     <property name="visible">True</property>
-                     <property name="label" translatable="yes">_Control 
Window</property>
-                     <property name="use_underline">True</property>
-                   </widget>
-                 </child>
-               </widget>
-             </child>
-           </widget>
-         </child>
-
-         <child>
-           <widget class="GtkMenuItem" id="menuitem4">
-             <property name="visible">True</property>
-             <property name="label" translatable="yes">_Help</property>
-             <property name="use_underline">True</property>
-
-             <child>
-               <widget class="GtkMenu" id="menuitem4_menu">
-
-                 <child>
-                   <widget class="GtkMenuItem" id="about1">
-                     <property name="visible">True</property>
-                     <property name="label" 
translatable="yes">_About</property>
-                     <property name="use_underline">True</property>
-                   </widget>
-                 </child>
-               </widget>
-             </child>
-           </widget>
-         </child>
-       </widget>
-       <packing>
-         <property name="padding">0</property>
-         <property name="expand">False</property>
-         <property name="fill">False</property>
-       </packing>
-      </child>
-
-      <child>
-       <placeholder/>
-      </child>
-    </widget>
-  </child>
-</widget>
-
-<widget class="GtkWindow" id="controlWindow">
-  <property name="visible">True</property>
-  <property name="title" translatable="yes">Control Window</property>
-  <property name="type">GTK_WINDOW_TOPLEVEL</property>
-  <property name="window_position">GTK_WIN_POS_NONE</property>
-  <property name="modal">False</property>
-  <property name="resizable">True</property>
-  <property name="destroy_with_parent">False</property>
-  <property name="decorated">True</property>
-  <property name="skip_taskbar_hint">False</property>
-  <property name="skip_pager_hint">False</property>
-  <property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
-  <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
-  <property name="focus_on_map">True</property>
-  <property name="urgency_hint">False</property>
-  <accessibility>
-    <atkproperty name="AtkObject::accessible_name" 
translatable="yes">controlWindow</atkproperty>
-  </accessibility>
-
-  <child>
-    <widget class="GtkTable" id="table1">
-      <property name="visible">True</property>
-      <property name="n_rows">4</property>
-      <property name="n_columns">4</property>
-      <property name="homogeneous">False</property>
-      <property name="row_spacing">0</property>
-      <property name="column_spacing">0</property>
-
-      <child>
-       <widget class="GtkLabel" id="label1">
-         <property name="visible">True</property>
-         <property name="label" translatable="yes">X Rotation:</property>
-         <property name="use_underline">False</property>
-         <property name="use_markup">False</property>
-         <property name="justify">GTK_JUSTIFY_LEFT</property>
-         <property name="wrap">False</property>
-         <property name="selectable">False</property>
-         <property name="xalign">0</property>
-         <property name="yalign">0.5</property>
-         <property name="xpad">0</property>
-         <property name="ypad">0</property>
-         <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
-         <property name="width_chars">-1</property>
-         <property name="single_line_mode">False</property>
-         <property name="angle">0</property>
-       </widget>
-       <packing>
-         <property name="left_attach">0</property>
-         <property name="right_attach">1</property>
-         <property name="top_attach">0</property>
-         <property name="bottom_attach">1</property>
-         <property name="x_options">fill</property>
-         <property name="y_options"></property>
-       </packing>
-      </child>
-
-      <child>
-       <widget class="GtkLabel" id="label2">
-         <property name="visible">True</property>
-         <property name="label" translatable="yes">Y Rotation:</property>
-         <property name="use_underline">False</property>
-         <property name="use_markup">False</property>
-         <property name="justify">GTK_JUSTIFY_LEFT</property>
-         <property name="wrap">False</property>
-         <property name="selectable">False</property>
-         <property name="xalign">0</property>
-         <property name="yalign">0.5</property>
-         <property name="xpad">0</property>
-         <property name="ypad">0</property>
-         <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
-         <property name="width_chars">-1</property>
-         <property name="single_line_mode">False</property>
-         <property name="angle">0</property>
-       </widget>
-       <packing>
-         <property name="left_attach">0</property>
-         <property name="right_attach">1</property>
-         <property name="top_attach">1</property>
-         <property name="bottom_attach">2</property>
-         <property name="x_options">fill</property>
-         <property name="y_options"></property>
-       </packing>
-      </child>
-
-      <child>
-       <widget class="GtkLabel" id="label3">
-         <property name="visible">True</property>
-         <property name="label" translatable="yes">Z Rotation:</property>
-         <property name="use_underline">False</property>
-         <property name="use_markup">False</property>
-         <property name="justify">GTK_JUSTIFY_LEFT</property>
-         <property name="wrap">False</property>
-         <property name="selectable">False</property>
-         <property name="xalign">0</property>
-         <property name="yalign">0.5</property>
-         <property name="xpad">0</property>
-         <property name="ypad">0</property>
-         <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
-         <property name="width_chars">-1</property>
-         <property name="single_line_mode">False</property>
-         <property name="angle">0</property>
-       </widget>
-       <packing>
-         <property name="left_attach">0</property>
-         <property name="right_attach">1</property>
-         <property name="top_attach">2</property>
-         <property name="bottom_attach">3</property>
-         <property name="x_options">fill</property>
-         <property name="y_options"></property>
-       </packing>
-      </child>
-
-      <child>
-       <widget class="GtkButton" id="rotationResetButton">
-         <property name="visible">True</property>
-         <property name="can_focus">True</property>
-         <property name="label" translatable="yes">Reset</property>
-         <property name="use_underline">True</property>
-         <property name="relief">GTK_RELIEF_NORMAL</property>
-         <property name="focus_on_click">True</property>
-       </widget>
-       <packing>
-         <property name="left_attach">0</property>
-         <property name="right_attach">4</property>
-         <property name="top_attach">3</property>
-         <property name="bottom_attach">4</property>
-         <property name="x_options">fill</property>
-         <property name="y_options"></property>
-       </packing>
-      </child>
-
-      <child>
-       <widget class="GtkEntry" id="xRotEntry">
-         <property name="width_request">30</property>
-         <property name="visible">True</property>
-         <property name="can_focus">True</property>
-         <property name="editable">True</property>
-         <property name="visibility">True</property>
-         <property name="max_length">0</property>
-         <property name="text" translatable="yes">0</property>
-         <property name="has_frame">True</property>
-         <property name="invisible_char">*</property>
-         <property name="activates_default">False</property>
-       </widget>
-       <packing>
-         <property name="left_attach">1</property>
-         <property name="right_attach">2</property>
-         <property name="top_attach">0</property>
-         <property name="bottom_attach">1</property>
-         <property name="y_options"></property>
-       </packing>
-      </child>
-
-      <child>
-       <widget class="GtkEntry" id="yRotEntry">
-         <property name="width_request">30</property>
-         <property name="visible">True</property>
-         <property name="can_focus">True</property>
-         <property name="editable">True</property>
-         <property name="visibility">True</property>
-         <property name="max_length">0</property>
-         <property name="text" translatable="yes">0</property>
-         <property name="has_frame">True</property>
-         <property name="invisible_char">*</property>
-         <property name="activates_default">False</property>
-       </widget>
-       <packing>
-         <property name="left_attach">1</property>
-         <property name="right_attach">2</property>
-         <property name="top_attach">1</property>
-         <property name="bottom_attach">2</property>
-         <property name="y_options"></property>
-       </packing>
-      </child>
-
-      <child>
-       <widget class="GtkEntry" id="zRotEntry">
-         <property name="width_request">30</property>
-         <property name="visible">True</property>
-         <property name="can_focus">True</property>
-         <property name="editable">True</property>
-         <property name="visibility">True</property>
-         <property name="max_length">0</property>
-         <property name="text" translatable="yes">0</property>
-         <property name="has_frame">True</property>
-         <property name="invisible_char">*</property>
-         <property name="activates_default">False</property>
-       </widget>
-       <packing>
-         <property name="left_attach">1</property>
-         <property name="right_attach">2</property>
-         <property name="top_attach">2</property>
-         <property name="bottom_attach">3</property>
-         <property name="y_options"></property>
-       </packing>
-      </child>
-    </widget>
-  </child>
-</widget>
-
-</glade-interface>

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to