Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Swaney <sswaney@centurytel.net>2004-09-26 00:30:40 +0400
committerStephen Swaney <sswaney@centurytel.net>2004-09-26 00:30:40 +0400
commita509b8adc9b8952cdb395c69406e821f57a9a6c7 (patch)
tree7c0e3c7b81007acc6b3e268e59a6af5fcb4bd93f /source/blender/python/api2_2x/Draw.h
parentbd371ddb9ff947d4e598ad04af9402d89fa80d5e (diff)
Another round in the Great BPy Cleanup:
Run everything thru indent to cleanup spaces vs tabs. Clean up some of the comments by hand. BGL.c was not touched due to all that macro wackyness. There are no functional changes to the code. Pre-indent versions of source are tagged with tag bpy-cleanup-20040925 , just in case.
Diffstat (limited to 'source/blender/python/api2_2x/Draw.h')
-rw-r--r--source/blender/python/api2_2x/Draw.h43
1 files changed, 20 insertions, 23 deletions
diff --git a/source/blender/python/api2_2x/Draw.h b/source/blender/python/api2_2x/Draw.h
index fbf2fb85c0e..7ec1c886849 100644
--- a/source/blender/python/api2_2x/Draw.h
+++ b/source/blender/python/api2_2x/Draw.h
@@ -1,4 +1,5 @@
/*
+ * $Id$
*
* ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
*
@@ -44,40 +45,36 @@
#include "modules.h"
/* From Window.h, used here by py_slider_update() */
-PyObject *M_Window_Redraw (PyObject * self, PyObject * args);
+PyObject *M_Window_Redraw( PyObject * self, PyObject * args );
-void initDraw (void);
+void initDraw( void );
/*
* Button Object stuct
*/
-typedef struct _Button
-{
- PyObject_VAR_HEAD /* required Py Macro */
- int type; /*@ 1 == int, 2 == float, 3 == string */
- unsigned int slen; /*@ length of string (if type == 3) */
- union
- {
- int asint;
- float asfloat;
- char *asstr;
- }
- val;
- char *tooltip;
-}
-Button;
+typedef struct _Button {
+ PyObject_VAR_HEAD /* required Py Macro */
+ int type; /*@ 1 == int, 2 == float, 3 == string */
+ unsigned int slen; /*@ length of string (if type == 3) */
+ union {
+ int asint;
+ float asfloat;
+ char *asstr;
+ } val;
+ char *tooltip;
+} Button;
/*
* these are declared in ../BPY_extern.h
*/
-void BPY_spacescript_do_pywin_draw (SpaceScript * sc);
-void BPY_spacescript_do_pywin_event (SpaceScript * sc,
- unsigned short event, short val);
-void BPY_free_compiled_text (Text * text);
+void BPY_spacescript_do_pywin_draw( SpaceScript * sc );
+void BPY_spacescript_do_pywin_event( SpaceScript * sc,
+ unsigned short event, short val );
+void BPY_free_compiled_text( Text * text );
-PyObject *M_Draw_Init (void);
+PyObject *M_Draw_Init( void );
-#endif /* EXPP_DRAW_H */
+#endif /* EXPP_DRAW_H */