1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: SWIG definitions for the wxWindows Object Graphics Library
7 // Created: 30-June-1999
9 // Copyright: (c) 1998 by Total Control Software
10 // Licence: wxWindows license
11 /////////////////////////////////////////////////////////////////////////////
18 #include "oglhelpers.h"
21 //---------------------------------------------------------------------------
24 %include my_typemaps.i
40 %pragma(python) code = "import wx"
42 //---------------------------------------------------------------------------
61 CONTROL_POINT_VERTICAL,
62 CONTROL_POINT_HORIZONTAL,
63 CONTROL_POINT_DIAGONAL,
64 CONTROL_POINT_ENDPOINT_TO,
65 CONTROL_POINT_ENDPOINT_FROM,
70 FORMAT_SIZE_TO_CONTENTS,
73 LINE_ALIGNMENT_TO_NEXT_HANDLE,
84 // SHAPE_DIVIDED_RECTANGLE,
86 // SHAPE_CONTROL_POINT,
89 // SHAPE_LABEL_OBJECT,
91 // SHAPE_DIVIDED_OBJECT_CONTROL_POINT,
100 ATTACHMENT_MODE_BRANCHING,
101 BRANCHING_ATTACHMENT_NORMAL,
102 BRANCHING_ATTACHMENT_BLOB,
104 gyCONSTRAINT_CENTRED_VERTICALLY,
105 gyCONSTRAINT_CENTRED_HORIZONTALLY,
106 gyCONSTRAINT_CENTRED_BOTH,
107 gyCONSTRAINT_LEFT_OF,
108 gyCONSTRAINT_RIGHT_OF,
111 gyCONSTRAINT_ALIGNED_TOP,
112 gyCONSTRAINT_ALIGNED_BOTTOM,
113 gyCONSTRAINT_ALIGNED_LEFT,
114 gyCONSTRAINT_ALIGNED_RIGHT,
115 gyCONSTRAINT_MIDALIGNED_TOP,
116 gyCONSTRAINT_MIDALIGNED_BOTTOM,
117 gyCONSTRAINT_MIDALIGNED_LEFT,
118 gyCONSTRAINT_MIDALIGNED_RIGHT,
124 DIVISION_SIDE_BOTTOM,
130 //---------------------------------------------------------------------------
132 void wxOGLInitialize();
136 //---------------------------------------------------------------------------
137 //---------------------------------------------------------------------------
138 //---------------------------------------------------------------------------
140 extern "C" SWIGEXPORT(void) initoglbasicc();
141 extern "C" SWIGEXPORT(void) initoglshapesc();
142 extern "C" SWIGEXPORT(void) initoglshapes2c();
143 extern "C" SWIGEXPORT(void) initoglcanvasc();
155 wxClassInfo::CleanUpClasses();
156 wxClassInfo::InitializeClasses();
160 //----------------------------------------------------------------------
161 // And this gets appended to the shadow class file.
162 //----------------------------------------------------------------------
164 %pragma(python) include="_oglextras.py";
166 //---------------------------------------------------------------------------
167 //---------------------------------------------------------------------------