From: Tim R. <ti...@us...> - 2004-08-01 13:42:09
|
Update of /cvsroot/csdopenglnet/csdOpenGL/generator In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31733 Modified Files: gtkArea.cs typedef.cs Removed Files: Gears.cs TimsGLGtk.cs gear.cs test.cs Log Message: cleanup --- Gears.cs DELETED --- Index: gtkArea.cs =================================================================== RCS file: /cvsroot/csdopenglnet/csdOpenGL/generator/gtkArea.cs,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** gtkArea.cs 27 Jul 2004 13:38:46 -0000 1.3 --- gtkArea.cs 1 Aug 2004 13:42:01 -0000 1.4 *************** *** 7,16 **** --- 7,26 ---- using System.Diagnostics; + /** \brief OpenGL-widget + * + * This class is an OpenGL-widget for Gtk#. + */ public class GtkGLArea : DrawingArea { + /** \brief each widget must have a type */ static GLib.GType type = RegisterGType (typeof (GtkGLArea)); + /** \brief OpenGL context*/ protected GdkGLContext context; + /** \brief default constructor + * + * This constructor uses default settings for createn a GLX context + */ public GtkGLArea() : base(type) { Debug.Indent(); *************** *** 25,28 **** --- 35,42 ---- } + /** + * This constructor creates the GLX context with the specified parameters + * @param attr GLX parameter list + */ public GtkGLArea( uint[] attr) : base(type) { Debug.Indent(); *************** *** 36,40 **** Debug.Unindent(); } ! public bool MakeCurrent() { Debug.Indent(); --- 50,59 ---- Debug.Unindent(); } ! ! /** \brief activate OpenGL context ! * ! * This method marks the associated GL context as active, so that ! * all following OpenGL statements will alter it. ! */ public bool MakeCurrent() { Debug.Indent(); *************** *** 49,52 **** --- 68,75 ---- } + /** \brief OpenGL swapBuffers() + * + * This method causes OpenGL to swap buffers if possible, + */s public void SwapBuffers() { Debug.Indent(); --- test.cs DELETED --- --- TimsGLGtk.cs DELETED --- --- gear.cs DELETED --- Index: typedef.cs =================================================================== RCS file: /cvsroot/csdopenglnet/csdOpenGL/generator/typedef.cs,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** typedef.cs 12 Jul 2004 17:17:55 -0000 1.1.1.1 --- typedef.cs 1 Aug 2004 13:42:01 -0000 1.2 *************** *** 101,104 **** --- 101,111 ---- } + /** \brief this method adds a callback + * + * This method creates a callback representing delegate with unique name. + * @param param the callback parameters + * @param name the name of the function, which uses this callback as parameter + * @param c the position inside the parameterlist + */ public void addCallBack( string param, string name, int c ) { string ret = ""; *************** *** 146,149 **** --- 153,157 ---- } + protected string buildPar( string s ) { int i = s.LastIndexOf( ' ' ); // find crossover between type and name *************** *** 181,184 **** --- 189,196 ---- } + /** \brief write delegates + * + * This method writes the created delegates + */ public void write() { Debug.Indent(); |