1 /* 2 * Internal module API header file. 3 * 4 * Generated by SIP 4.19.16 5 * 6 * Copyright: (c) 2018 by Total Control Software 7 * License: wxWindows License 8 */ 9 10 #ifndef __glcanvasAPI_H 11 #define __glcanvasAPI_H 12 13 #include <sip.h> 14 15 /* 16 * Convenient names to refer to various strings defined in this module. 17 * Only the class names are part of the public API. 18 */ 19 #define sipNameNr_GetMainWindowOfCompositeControl 0 20 #define sipName_GetMainWindowOfCompositeControl &sipStrings__glcanvas[0] 21 #define sipNameNr_GetDefaultBorderForControl 32 22 #define sipName_GetDefaultBorderForControl &sipStrings__glcanvas[32] 23 #define sipNameNr_GetClassDefaultAttributes 59 24 #define sipName_GetClassDefaultAttributes &sipStrings__glcanvas[59] 25 #define sipNameNr_HasTransparentBackground 85 26 #define sipName_HasTransparentBackground &sipStrings__glcanvas[85] 27 #define sipNameNr_AcceptsFocusFromKeyboard 110 28 #define sipName_AcceptsFocusFromKeyboard &sipStrings__glcanvas[110] 29 #define sipNameNr_AcceptsFocusRecursively 135 30 #define sipName_AcceptsFocusRecursively &sipStrings__glcanvas[135] 31 #define sipNameNr_TransferDataFromWindow 159 32 #define sipName_TransferDataFromWindow &sipStrings__glcanvas[159] 33 #define sipNameNr_WX_GL_MIN_ACCUM_ALPHA 182 34 #define sipName_WX_GL_MIN_ACCUM_ALPHA &sipStrings__glcanvas[182] 35 #define sipNameNr_WX_GL_MIN_ACCUM_GREEN 204 36 #define sipName_WX_GL_MIN_ACCUM_GREEN &sipStrings__glcanvas[204] 37 #define sipNameNr_IsExtensionSupported 226 38 #define sipName_IsExtensionSupported &sipStrings__glcanvas[226] 39 #define sipNameNr_WX_GL_SAMPLE_BUFFERS 247 40 #define sipName_WX_GL_SAMPLE_BUFFERS &sipStrings__glcanvas[247] 41 #define sipNameNr_WX_GL_MIN_ACCUM_BLUE 268 42 #define sipName_WX_GL_MIN_ACCUM_BLUE &sipStrings__glcanvas[268] 43 #define sipNameNr_TransferDataToWindow 289 44 #define sipName_TransferDataToWindow &sipStrings__glcanvas[289] 45 #define sipNameNr_ShouldInheritColours 310 46 #define sipName_ShouldInheritColours &sipStrings__glcanvas[310] 47 #define sipNameNr_InformFirstDirection 331 48 #define sipName_InformFirstDirection &sipStrings__glcanvas[331] 49 #define sipNameNr_WX_GL_MINOR_VERSION 352 50 #define sipName_WX_GL_MINOR_VERSION &sipStrings__glcanvas[352] 51 #define sipNameNr_WX_GL_MAJOR_VERSION 372 52 #define sipName_WX_GL_MAJOR_VERSION &sipStrings__glcanvas[372] 53 #define sipNameNr_WX_GL_MIN_ACCUM_RED 392 54 #define sipName_WX_GL_MIN_ACCUM_RED &sipStrings__glcanvas[392] 55 #define sipNameNr_DoGetBestClientSize 412 56 #define sipName_DoGetBestClientSize &sipStrings__glcanvas[412] 57 #define sipNameNr_GetClientAreaOrigin 432 58 #define sipName_GetClientAreaOrigin &sipStrings__glcanvas[432] 59 #define sipNameNr_IsDisplaySupported 452 60 #define sipName_IsDisplaySupported &sipStrings__glcanvas[452] 61 #define sipNameNr_WX_GL_CORE_PROFILE 471 62 #define sipName_WX_GL_CORE_PROFILE &sipStrings__glcanvas[471] 63 #define sipNameNr_WX_GL_STENCIL_SIZE 490 64 #define sipName_WX_GL_STENCIL_SIZE &sipStrings__glcanvas[490] 65 #define sipNameNr_WX_GL_DOUBLEBUFFER 509 66 #define sipName_WX_GL_DOUBLEBUFFER &sipStrings__glcanvas[509] 67 #define sipNameNr_DoSetWindowVariant 528 68 #define sipName_DoSetWindowVariant &sipStrings__glcanvas[528] 69 #define sipNameNr_WX_GL_AUX_BUFFERS 547 70 #define sipName_WX_GL_AUX_BUFFERS &sipStrings__glcanvas[547] 71 #define sipNameNr_WX_GL_BUFFER_SIZE 565 72 #define sipName_WX_GL_BUFFER_SIZE &sipStrings__glcanvas[565] 73 #define sipNameNr_InheritAttributes 583 74 #define sipName_InheritAttributes &sipStrings__glcanvas[583] 75 #define sipNameNr_availableOtherDir 601 76 #define sipName_availableOtherDir &sipStrings__glcanvas[601] 77 #define sipNameNr_WX_GL_DEPTH_SIZE 619 78 #define sipName_WX_GL_DEPTH_SIZE &sipStrings__glcanvas[619] 79 #define sipNameNr_SendDestroyEvent 636 80 #define sipName_SendDestroyEvent &sipStrings__glcanvas[636] 81 #define sipNameNr_GetDefaultBorder 653 82 #define sipName_GetDefaultBorder &sipStrings__glcanvas[653] 83 #define sipNameNr_WX_GL_MIN_ALPHA 670 84 #define sipName_WX_GL_MIN_ALPHA &sipStrings__glcanvas[670] 85 #define sipNameNr_WX_GL_MIN_GREEN 686 86 #define sipName_WX_GL_MIN_GREEN &sipStrings__glcanvas[686] 87 #define sipNameNr_DoGetBorderSize 702 88 #define sipName_DoGetBorderSize &sipStrings__glcanvas[702] 89 #define sipNameNr_DoSetClientSize 718 90 #define sipName_DoSetClientSize &sipStrings__glcanvas[718] 91 #define sipNameNr_DoGetClientSize 734 92 #define sipName_DoGetClientSize &sipStrings__glcanvas[734] 93 #define sipNameNr_WX_GL_MIN_BLUE 750 94 #define sipName_WX_GL_MIN_BLUE &sipStrings__glcanvas[750] 95 #define sipNameNr_DoSetSizeHints 765 96 #define sipName_DoSetSizeHints &sipStrings__glcanvas[765] 97 #define sipNameNr_OnInternalIdle 780 98 #define sipName_OnInternalIdle &sipStrings__glcanvas[780] 99 #define sipNameNr_WX_GL_SAMPLES 795 100 #define sipName_WX_GL_SAMPLES &sipStrings__glcanvas[795] 101 #define sipNameNr_WX_GL_MIN_RED 809 102 #define sipName_WX_GL_MIN_RED &sipStrings__glcanvas[809] 103 #define sipNameNr_DoGetBestSize 823 104 #define sipName_DoGetBestSize &sipStrings__glcanvas[823] 105 #define sipNameNr_DoGetPosition 837 106 #define sipName_DoGetPosition &sipStrings__glcanvas[837] 107 #define sipNameNr_USE_GLCANVAS 851 108 #define sipName_USE_GLCANVAS &sipStrings__glcanvas[851] 109 #define sipNameNr_WX_GL_STEREO 864 110 #define sipName_WX_GL_STEREO &sipStrings__glcanvas[864] 111 #define sipNameNr_DoMoveWindow 877 112 #define sipName_DoMoveWindow &sipStrings__glcanvas[877] 113 #define sipNameNr_SetValidator 890 114 #define sipName_SetValidator &sipStrings__glcanvas[890] 115 #define sipNameNr_GetValidator 903 116 #define sipName_GetValidator &sipStrings__glcanvas[903] 117 #define sipNameNr_AcceptsFocus 916 118 #define sipName_AcceptsFocus &sipStrings__glcanvas[916] 119 #define sipNameNr_ProcessEvent 929 120 #define sipName_ProcessEvent &sipStrings__glcanvas[929] 121 #define sipNameNr_wx__glcanvas 942 122 #define sipName_wx__glcanvas &sipStrings__glcanvas[942] 123 #define sipNameNr_SwapBuffers 955 124 #define sipName_SwapBuffers &sipStrings__glcanvas[955] 125 #define sipNameNr_wxGLContext 967 126 #define sipName_wxGLContext &sipStrings__glcanvas[967] 127 #define sipNameNr_WX_GL_LEVEL 979 128 #define sipName_WX_GL_LEVEL &sipStrings__glcanvas[979] 129 #define sipNameNr_SetCanFocus 991 130 #define sipName_SetCanFocus &sipStrings__glcanvas[991] 131 #define sipNameNr_RemoveChild 1003 132 #define sipName_RemoveChild &sipStrings__glcanvas[1003] 133 #define sipNameNr_attribList 1015 134 #define sipName_attribList &sipStrings__glcanvas[1015] 135 #define sipNameNr_wxGLCanvas 1026 136 #define sipName_wxGLCanvas &sipStrings__glcanvas[1026] 137 #define sipNameNr_SetCurrent 1037 138 #define sipName_SetCurrent &sipStrings__glcanvas[1037] 139 #define sipNameNr_WX_GL_RGBA 1048 140 #define sipName_WX_GL_RGBA &sipStrings__glcanvas[1048] 141 #define sipNameNr_widthTitle 1059 142 #define sipName_widthTitle &sipStrings__glcanvas[1059] 143 #define sipNameNr_InitDialog 1070 144 #define sipName_InitDialog &sipStrings__glcanvas[1070] 145 #define sipNameNr_GLContext 969 146 #define sipName_GLContext &sipStrings__glcanvas[969] 147 #define sipNameNr_columnMax 1081 148 #define sipName_columnMax &sipStrings__glcanvas[1081] 149 #define sipNameNr_columnMin 1091 150 #define sipName_columnMin &sipStrings__glcanvas[1091] 151 #define sipNameNr_DoSetSize 1101 152 #define sipName_DoSetSize &sipStrings__glcanvas[1101] 153 #define sipNameNr_DoGetSize 1111 154 #define sipName_DoGetSize &sipStrings__glcanvas[1111] 155 #define sipNameNr_validator 1121 156 #define sipName_validator &sipStrings__glcanvas[1121] 157 #define sipNameNr_sizeFlags 1131 158 #define sipName_sizeFlags &sipStrings__glcanvas[1131] 159 #define sipNameNr_TryBefore 1141 160 #define sipName_TryBefore &sipStrings__glcanvas[1141] 161 #define sipNameNr_extension 1151 162 #define sipName_extension &sipStrings__glcanvas[1151] 163 #define sipNameNr_direction 1161 164 #define sipName_direction &sipStrings__glcanvas[1161] 165 #define sipNameNr_SetColour 1171 166 #define sipName_SetColour &sipStrings__glcanvas[1171] 167 #define sipNameNr_GLCanvas 1028 168 #define sipName_GLCanvas &sipStrings__glcanvas[1028] 169 #define sipNameNr_DoFreeze 1181 170 #define sipName_DoFreeze &sipStrings__glcanvas[1181] 171 #define sipNameNr_DoEnable 1190 172 #define sipName_DoEnable &sipStrings__glcanvas[1190] 173 #define sipNameNr_Validate 1199 174 #define sipName_Validate &sipStrings__glcanvas[1199] 175 #define sipNameNr_canFocus 1208 176 #define sipName_canFocus &sipStrings__glcanvas[1208] 177 #define sipNameNr_AddChild 1217 178 #define sipName_AddChild &sipStrings__glcanvas[1217] 179 #define sipNameNr_TryAfter 1226 180 #define sipName_TryAfter &sipStrings__glcanvas[1226] 181 #define sipNameNr_location 1235 182 #define sipName_location &sipStrings__glcanvas[1235] 183 #define sipNameNr_unitMax 1244 184 #define sipName_unitMax &sipStrings__glcanvas[1244] 185 #define sipNameNr_unitMin 1252 186 #define sipName_unitMin &sipStrings__glcanvas[1252] 187 #define sipNameNr_variant 1260 188 #define sipName_variant &sipStrings__glcanvas[1260] 189 #define sipNameNr_context 1268 190 #define sipName_context &sipStrings__glcanvas[1268] 191 #define sipNameNr_palette 1276 192 #define sipName_palette &sipStrings__glcanvas[1276] 193 #define sipNameNr_Destroy 1284 194 #define sipName_Destroy &sipStrings__glcanvas[1284] 195 #define sipNameNr_client 1292 196 #define sipName_client &sipStrings__glcanvas[1292] 197 #define sipNameNr_dialog 1299 198 #define sipName_dialog &sipStrings__glcanvas[1299] 199 #define sipNameNr_rowMax 1306 200 #define sipName_rowMax &sipStrings__glcanvas[1306] 201 #define sipNameNr_rowMin 1313 202 #define sipName_rowMin &sipStrings__glcanvas[1313] 203 #define sipNameNr_DoThaw 1320 204 #define sipName_DoThaw &sipStrings__glcanvas[1320] 205 #define sipNameNr_parent 1327 206 #define sipName_parent &sipStrings__glcanvas[1327] 207 #define sipNameNr_enable 1334 208 #define sipName_enable &sipStrings__glcanvas[1334] 209 #define sipNameNr_stream 1341 210 #define sipName_stream &sipStrings__glcanvas[1341] 211 #define sipNameNr_column 1348 212 #define sipName_column &sipStrings__glcanvas[1348] 213 #define sipNameNr_colour 1355 214 #define sipName_colour &sipStrings__glcanvas[1355] 215 #define sipNameNr_height 1362 216 #define sipName_height &sipStrings__glcanvas[1362] 217 #define sipNameNr_popup 1369 218 #define sipName_popup &sipStrings__glcanvas[1369] 219 #define sipNameNr_order 664 220 #define sipName_order &sipStrings__glcanvas[664] 221 #define sipNameNr_sizer 1375 222 #define sipName_sizer &sipStrings__glcanvas[1375] 223 #define sipNameNr_event 1381 224 #define sipName_event &sipStrings__glcanvas[1381] 225 #define sipNameNr_level 1387 226 #define sipName_level &sipStrings__glcanvas[1387] 227 #define sipNameNr_child 1393 228 #define sipName_child &sipStrings__glcanvas[1393] 229 #define sipNameNr_style 1399 230 #define sipName_style &sipStrings__glcanvas[1399] 231 #define sipNameNr_width 1405 232 #define sipName_width &sipStrings__glcanvas[1405] 233 #define sipNameNr_count 1411 234 #define sipName_count &sipStrings__glcanvas[1411] 235 #define sipNameNr_flags 1417 236 #define sipName_flags &sipStrings__glcanvas[1417] 237 #define sipNameNr_other 1423 238 #define sipName_other &sipStrings__glcanvas[1423] 239 #define sipNameNr_unit 1429 240 #define sipName_unit &sipStrings__glcanvas[1429] 241 #define sipNameNr_incH 1434 242 #define sipName_incH &sipStrings__glcanvas[1434] 243 #define sipNameNr_incW 1439 244 #define sipName_incW &sipStrings__glcanvas[1439] 245 #define sipNameNr_maxH 1444 246 #define sipName_maxH &sipStrings__glcanvas[1444] 247 #define sipNameNr_maxW 1449 248 #define sipName_maxW &sipStrings__glcanvas[1449] 249 #define sipNameNr_minH 1454 250 #define sipName_minH &sipStrings__glcanvas[1454] 251 #define sipNameNr_minW 1459 252 #define sipName_minW &sipStrings__glcanvas[1459] 253 #define sipNameNr_show 1464 254 #define sipName_show &sipStrings__glcanvas[1464] 255 #define sipNameNr_rect 1469 256 #define sipName_rect &sipStrings__glcanvas[1469] 257 #define sipNameNr_size 1474 258 #define sipName_size &sipStrings__glcanvas[1474] 259 #define sipNameNr_name 1479 260 #define sipName_name &sipStrings__glcanvas[1479] 261 #define sipNameNr_time 1484 262 #define sipName_time &sipStrings__glcanvas[1484] 263 #define sipNameNr_item 1489 264 #define sipName_item &sipStrings__glcanvas[1489] 265 #define sipNameNr_info 1494 266 #define sipName_info &sipStrings__glcanvas[1494] 267 #define sipNameNr_idx 1499 268 #define sipName_idx &sipStrings__glcanvas[1499] 269 #define sipNameNr_msg 1503 270 #define sipName_msg &sipStrings__glcanvas[1503] 271 #define sipNameNr_row 1507 272 #define sipName_row &sipStrings__glcanvas[1507] 273 #define sipNameNr_pos 1511 274 #define sipName_pos &sipStrings__glcanvas[1511] 275 #define sipNameNr_win 1515 276 #define sipName_win &sipStrings__glcanvas[1515] 277 #define sipNameNr_dc 1519 278 #define sipName_dc &sipStrings__glcanvas[1519] 279 #define sipNameNr_id 1522 280 #define sipName_id &sipStrings__glcanvas[1522] 281 #define sipNameNr_y 157 282 #define sipName_y &sipStrings__glcanvas[157] 283 #define sipNameNr_x 1089 284 #define sipName_x &sipStrings__glcanvas[1089] 285 #define sipNameNr_n 350 286 #define sipName_n &sipStrings__glcanvas[350] 287 288 #define sipMalloc sipAPI__glcanvas->api_malloc 289 #define sipFree sipAPI__glcanvas->api_free 290 #define sipBuildResult sipAPI__glcanvas->api_build_result 291 #define sipCallMethod sipAPI__glcanvas->api_call_method 292 #define sipCallProcedureMethod sipAPI__glcanvas->api_call_procedure_method 293 #define sipCallErrorHandler sipAPI__glcanvas->api_call_error_handler 294 #define sipParseResultEx sipAPI__glcanvas->api_parse_result_ex 295 #define sipParseResult sipAPI__glcanvas->api_parse_result 296 #define sipParseArgs sipAPI__glcanvas->api_parse_args 297 #define sipParseKwdArgs sipAPI__glcanvas->api_parse_kwd_args 298 #define sipParsePair sipAPI__glcanvas->api_parse_pair 299 #define sipInstanceDestroyed sipAPI__glcanvas->api_instance_destroyed 300 #define sipInstanceDestroyedEx sipAPI__glcanvas->api_instance_destroyed_ex 301 #define sipConvertFromSequenceIndex sipAPI__glcanvas->api_convert_from_sequence_index 302 #define sipConvertFromSliceObject sipAPI__glcanvas->api_convert_from_slice_object 303 #define sipConvertFromVoidPtr sipAPI__glcanvas->api_convert_from_void_ptr 304 #define sipConvertToVoidPtr sipAPI__glcanvas->api_convert_to_void_ptr 305 #define sipAddException sipAPI__glcanvas->api_add_exception 306 #define sipNoFunction sipAPI__glcanvas->api_no_function 307 #define sipNoMethod sipAPI__glcanvas->api_no_method 308 #define sipAbstractMethod sipAPI__glcanvas->api_abstract_method 309 #define sipBadClass sipAPI__glcanvas->api_bad_class 310 #define sipBadCatcherResult sipAPI__glcanvas->api_bad_catcher_result 311 #define sipBadCallableArg sipAPI__glcanvas->api_bad_callable_arg 312 #define sipBadOperatorArg sipAPI__glcanvas->api_bad_operator_arg 313 #define sipTrace sipAPI__glcanvas->api_trace 314 #define sipTransferBack sipAPI__glcanvas->api_transfer_back 315 #define sipTransferTo sipAPI__glcanvas->api_transfer_to 316 #define sipTransferBreak sipAPI__glcanvas->api_transfer_break 317 #define sipSimpleWrapper_Type sipAPI__glcanvas->api_simplewrapper_type 318 #define sipWrapper_Type sipAPI__glcanvas->api_wrapper_type 319 #define sipWrapperType_Type sipAPI__glcanvas->api_wrappertype_type 320 #define sipVoidPtr_Type sipAPI__glcanvas->api_voidptr_type 321 #define sipGetPyObject sipAPI__glcanvas->api_get_pyobject 322 #define sipGetAddress sipAPI__glcanvas->api_get_address 323 #define sipGetMixinAddress sipAPI__glcanvas->api_get_mixin_address 324 #define sipGetCppPtr sipAPI__glcanvas->api_get_cpp_ptr 325 #define sipGetComplexCppPtr sipAPI__glcanvas->api_get_complex_cpp_ptr 326 #define sipIsPyMethod sipAPI__glcanvas->api_is_py_method 327 #define sipCallHook sipAPI__glcanvas->api_call_hook 328 #define sipEndThread sipAPI__glcanvas->api_end_thread 329 #define sipConnectRx sipAPI__glcanvas->api_connect_rx 330 #define sipDisconnectRx sipAPI__glcanvas->api_disconnect_rx 331 #define sipRaiseUnknownException sipAPI__glcanvas->api_raise_unknown_exception 332 #define sipRaiseTypeException sipAPI__glcanvas->api_raise_type_exception 333 #define sipBadLengthForSlice sipAPI__glcanvas->api_bad_length_for_slice 334 #define sipAddTypeInstance sipAPI__glcanvas->api_add_type_instance 335 #define sipFreeSipslot sipAPI__glcanvas->api_free_sipslot 336 #define sipSameSlot sipAPI__glcanvas->api_same_slot 337 #define sipPySlotExtend sipAPI__glcanvas->api_pyslot_extend 338 #define sipConvertRx sipAPI__glcanvas->api_convert_rx 339 #define sipAddDelayedDtor sipAPI__glcanvas->api_add_delayed_dtor 340 #define sipCanConvertToType sipAPI__glcanvas->api_can_convert_to_type 341 #define sipConvertToType sipAPI__glcanvas->api_convert_to_type 342 #define sipForceConvertToType sipAPI__glcanvas->api_force_convert_to_type 343 #define sipCanConvertToEnum sipAPI__glcanvas->api_can_convert_to_enum 344 #define sipConvertToEnum sipAPI__glcanvas->api_convert_to_enum 345 #define sipConvertToBool sipAPI__glcanvas->api_convert_to_bool 346 #define sipReleaseType sipAPI__glcanvas->api_release_type 347 #define sipConvertFromType sipAPI__glcanvas->api_convert_from_type 348 #define sipConvertFromNewType sipAPI__glcanvas->api_convert_from_new_type 349 #define sipConvertFromNewPyType sipAPI__glcanvas->api_convert_from_new_pytype 350 #define sipConvertFromEnum sipAPI__glcanvas->api_convert_from_enum 351 #define sipGetState sipAPI__glcanvas->api_get_state 352 #define sipExportSymbol sipAPI__glcanvas->api_export_symbol 353 #define sipImportSymbol sipAPI__glcanvas->api_import_symbol 354 #define sipFindType sipAPI__glcanvas->api_find_type 355 #define sipFindNamedEnum sipAPI__glcanvas->api_find_named_enum 356 #define sipBytes_AsChar sipAPI__glcanvas->api_bytes_as_char 357 #define sipBytes_AsString sipAPI__glcanvas->api_bytes_as_string 358 #define sipString_AsASCIIChar sipAPI__glcanvas->api_string_as_ascii_char 359 #define sipString_AsASCIIString sipAPI__glcanvas->api_string_as_ascii_string 360 #define sipString_AsLatin1Char sipAPI__glcanvas->api_string_as_latin1_char 361 #define sipString_AsLatin1String sipAPI__glcanvas->api_string_as_latin1_string 362 #define sipString_AsUTF8Char sipAPI__glcanvas->api_string_as_utf8_char 363 #define sipString_AsUTF8String sipAPI__glcanvas->api_string_as_utf8_string 364 #define sipUnicode_AsWChar sipAPI__glcanvas->api_unicode_as_wchar 365 #define sipUnicode_AsWString sipAPI__glcanvas->api_unicode_as_wstring 366 #define sipConvertFromConstVoidPtr sipAPI__glcanvas->api_convert_from_const_void_ptr 367 #define sipConvertFromVoidPtrAndSize sipAPI__glcanvas->api_convert_from_void_ptr_and_size 368 #define sipConvertFromConstVoidPtrAndSize sipAPI__glcanvas->api_convert_from_const_void_ptr_and_size 369 #define sipInvokeSlot sipAPI__glcanvas->api_invoke_slot 370 #define sipInvokeSlotEx sipAPI__glcanvas->api_invoke_slot_ex 371 #define sipSaveSlot sipAPI__glcanvas->api_save_slot 372 #define sipClearAnySlotReference sipAPI__glcanvas->api_clear_any_slot_reference 373 #define sipVisitSlot sipAPI__glcanvas->api_visit_slot 374 #define sipWrappedTypeName(wt) ((wt)->wt_td->td_cname) 375 #define sipDeprecated sipAPI__glcanvas->api_deprecated 376 #define sipGetReference sipAPI__glcanvas->api_get_reference 377 #define sipKeepReference sipAPI__glcanvas->api_keep_reference 378 #define sipRegisterProxyResolver sipAPI__glcanvas->api_register_proxy_resolver 379 #define sipRegisterPyType sipAPI__glcanvas->api_register_py_type 380 #define sipTypeFromPyTypeObject sipAPI__glcanvas->api_type_from_py_type_object 381 #define sipTypeScope sipAPI__glcanvas->api_type_scope 382 #define sipResolveTypedef sipAPI__glcanvas->api_resolve_typedef 383 #define sipRegisterAttributeGetter sipAPI__glcanvas->api_register_attribute_getter 384 #define sipIsAPIEnabled sipAPI__glcanvas->api_is_api_enabled 385 #define sipSetDestroyOnExit sipAPI__glcanvas->api_set_destroy_on_exit 386 #define sipEnableAutoconversion sipAPI__glcanvas->api_enable_autoconversion 387 #define sipEnableOverflowChecking sipAPI__glcanvas->api_enable_overflow_checking 388 #define sipInitMixin sipAPI__glcanvas->api_init_mixin 389 #define sipExportModule sipAPI__glcanvas->api_export_module 390 #define sipInitModule sipAPI__glcanvas->api_init_module 391 #define sipGetInterpreter sipAPI__glcanvas->api_get_interpreter 392 #define sipSetNewUserTypeHandler sipAPI__glcanvas->api_set_new_user_type_handler 393 #define sipSetTypeUserData sipAPI__glcanvas->api_set_type_user_data 394 #define sipGetTypeUserData sipAPI__glcanvas->api_get_type_user_data 395 #define sipPyTypeDict sipAPI__glcanvas->api_py_type_dict 396 #define sipPyTypeName sipAPI__glcanvas->api_py_type_name 397 #define sipGetCFunction sipAPI__glcanvas->api_get_c_function 398 #define sipGetMethod sipAPI__glcanvas->api_get_method 399 #define sipFromMethod sipAPI__glcanvas->api_from_method 400 #define sipGetDate sipAPI__glcanvas->api_get_date 401 #define sipFromDate sipAPI__glcanvas->api_from_date 402 #define sipGetDateTime sipAPI__glcanvas->api_get_datetime 403 #define sipFromDateTime sipAPI__glcanvas->api_from_datetime 404 #define sipGetTime sipAPI__glcanvas->api_get_time 405 #define sipFromTime sipAPI__glcanvas->api_from_time 406 #define sipIsUserType sipAPI__glcanvas->api_is_user_type 407 #define sipGetFrame sipAPI__glcanvas->api_get_frame 408 #define sipCheckPluginForType sipAPI__glcanvas->api_check_plugin_for_type 409 #define sipUnicodeNew sipAPI__glcanvas->api_unicode_new 410 #define sipUnicodeWrite sipAPI__glcanvas->api_unicode_write 411 #define sipUnicodeData sipAPI__glcanvas->api_unicode_data 412 #define sipGetBufferInfo sipAPI__glcanvas->api_get_buffer_info 413 #define sipReleaseBufferInfo sipAPI__glcanvas->api_release_buffer_info 414 #define sipIsOwnedByPython sipAPI__glcanvas->api_is_owned_by_python 415 #define sipIsDerivedClass sipAPI__glcanvas->api_is_derived_class 416 #define sipGetUserObject sipAPI__glcanvas->api_get_user_object 417 #define sipSetUserObject sipAPI__glcanvas->api_set_user_object 418 #define sipRegisterEventHandler sipAPI__glcanvas->api_register_event_handler 419 #define sipLong_AsChar sipAPI__glcanvas->api_long_as_char 420 #define sipLong_AsSignedChar sipAPI__glcanvas->api_long_as_signed_char 421 #define sipLong_AsUnsignedChar sipAPI__glcanvas->api_long_as_unsigned_char 422 #define sipLong_AsShort sipAPI__glcanvas->api_long_as_short 423 #define sipLong_AsUnsignedShort sipAPI__glcanvas->api_long_as_unsigned_short 424 #define sipLong_AsInt sipAPI__glcanvas->api_long_as_int 425 #define sipLong_AsUnsignedInt sipAPI__glcanvas->api_long_as_unsigned_int 426 #define sipLong_AsLong sipAPI__glcanvas->api_long_as_long 427 #define sipLong_AsUnsignedLong sipAPI__glcanvas->api_long_as_unsigned_long 428 #define sipLong_AsLongLong sipAPI__glcanvas->api_long_as_long_long 429 #define sipLong_AsUnsignedLongLong sipAPI__glcanvas->api_long_as_unsigned_long_long 430 #define sipLong_AsSizeT sipAPI__glcanvas->api_long_as_size_t 431 432 /* These are deprecated. */ 433 #define sipMapStringToClass sipAPI__glcanvas->api_map_string_to_class 434 #define sipMapIntToClass sipAPI__glcanvas->api_map_int_to_class 435 #define sipFindClass sipAPI__glcanvas->api_find_class 436 #define sipFindMappedType sipAPI__glcanvas->api_find_mapped_type 437 #define sipConvertToArray sipAPI__glcanvas->api_convert_to_array 438 #define sipConvertToTypedArray sipAPI__glcanvas->api_convert_to_typed_array 439 #define sipEnableGC sipAPI__glcanvas->api_enable_gc 440 #define sipPrintObject sipAPI__glcanvas->api_print_object 441 #define sipWrapper_Check(w) PyObject_TypeCheck((w), sipAPI__glcanvas->api_wrapper_type) 442 #define sipGetWrapper(p, wt) sipGetPyObject((p), (wt)->wt_td) 443 #define sipReleaseInstance(p, wt, s) sipReleaseType((p), (wt)->wt_td, (s)) 444 #define sipReleaseMappedType sipReleaseType 445 #define sipCanConvertToInstance(o, wt, f) sipCanConvertToType((o), (wt)->wt_td, (f)) 446 #define sipCanConvertToMappedType sipCanConvertToType 447 #define sipConvertToInstance(o, wt, t, f, s, e) sipConvertToType((o), (wt)->wt_td, (t), (f), (s), (e)) 448 #define sipConvertToMappedType sipConvertToType 449 #define sipForceConvertToInstance(o, wt, t, f, s, e) sipForceConvertToType((o), (wt)->wt_td, (t), (f), (s), (e)) 450 #define sipForceConvertToMappedType sipForceConvertToType 451 #define sipConvertFromInstance(p, wt, t) sipConvertFromType((p), (wt)->wt_td, (t)) 452 #define sipConvertFromMappedType sipConvertFromType 453 #define sipConvertFromNamedEnum(v, pt) sipConvertFromEnum((v), ((sipEnumTypeObject *)(pt))->type) 454 #define sipConvertFromNewInstance(p, wt, t) sipConvertFromNewType((p), (wt)->wt_td, (t)) 455 456 /* The strings used by this module. */ 457 extern const char sipStrings__glcanvas[]; 458 459 #define sipType_wxGLContext sipExportedTypes__glcanvas[1] 460 #define sipClass_wxGLContext sipExportedTypes__glcanvas[1]->u.td_wrapper_type 461 462 extern sipClassTypeDef sipTypeDef__glcanvas_wxGLContext; 463 464 #define sipType_wxGLCanvas sipExportedTypes__glcanvas[0] 465 #define sipClass_wxGLCanvas sipExportedTypes__glcanvas[0]->u.td_wrapper_type 466 467 extern sipClassTypeDef sipTypeDef__glcanvas_wxGLCanvas; 468 469 #define sipType_wxWindowVariant sipImportedTypes__glcanvas__core[14].it_td 470 #define sipEnum_wxWindowVariant sipImportedTypes__glcanvas__core[14].it_td->u.td_py_type 471 472 #define sipType_wxBorder sipImportedTypes__glcanvas__core[1].it_td 473 #define sipEnum_wxBorder sipImportedTypes__glcanvas__core[1].it_td->u.td_py_type 474 475 /* The SIP API, this module's API and the APIs of any imported modules. */ 476 extern const sipAPIDef *sipAPI__glcanvas; 477 extern sipExportedModuleDef sipModuleAPI__glcanvas; 478 extern sipTypeDef *sipExportedTypes__glcanvas[]; 479 480 #define sipType_wxObject sipImportedTypes__glcanvas__core[4].it_td 481 #define sipClass_wxObject sipImportedTypes__glcanvas__core[4].it_td->u.td_wrapper_type 482 483 #define sipType_wxPoint sipImportedTypes__glcanvas__core[6].it_td 484 #define sipClass_wxPoint sipImportedTypes__glcanvas__core[6].it_td->u.td_wrapper_type 485 486 #define sipType_wxSize sipImportedTypes__glcanvas__core[7].it_td 487 #define sipClass_wxSize sipImportedTypes__glcanvas__core[7].it_td->u.td_wrapper_type 488 489 #define sipType_wxPalette sipImportedTypes__glcanvas__core[5].it_td 490 #define sipClass_wxPalette sipImportedTypes__glcanvas__core[5].it_td->u.td_wrapper_type 491 492 #define sipType_wxTrackable sipImportedTypes__glcanvas__core[9].it_td 493 #define sipClass_wxTrackable sipImportedTypes__glcanvas__core[9].it_td->u.td_wrapper_type 494 495 #define sipType_wxEvtHandler sipImportedTypes__glcanvas__core[3].it_td 496 #define sipClass_wxEvtHandler sipImportedTypes__glcanvas__core[3].it_td->u.td_wrapper_type 497 498 #define sipType_wxEvent sipImportedTypes__glcanvas__core[2].it_td 499 #define sipClass_wxEvent sipImportedTypes__glcanvas__core[2].it_td->u.td_wrapper_type 500 501 #define sipType_wxVisualAttributes sipImportedTypes__glcanvas__core[11].it_td 502 #define sipClass_wxVisualAttributes sipImportedTypes__glcanvas__core[11].it_td->u.td_wrapper_type 503 504 #define sipType_wxWindowBase sipImportedTypes__glcanvas__core[13].it_td 505 #define sipClass_wxWindowBase sipImportedTypes__glcanvas__core[13].it_td->u.td_wrapper_type 506 507 #define sipType_wxWindow sipImportedTypes__glcanvas__core[12].it_td 508 #define sipClass_wxWindow sipImportedTypes__glcanvas__core[12].it_td->u.td_wrapper_type 509 510 #define sipType_wxValidator sipImportedTypes__glcanvas__core[10].it_td 511 #define sipClass_wxValidator sipImportedTypes__glcanvas__core[10].it_td->u.td_wrapper_type 512 513 #define sipType_wxArrayInt sipImportedTypes__glcanvas__core[0].it_td 514 515 #define sipType_wxString sipImportedTypes__glcanvas__core[8].it_td 516 517 #define sipType_wxWindowVariant sipImportedTypes__glcanvas__core[14].it_td 518 #define sipEnum_wxWindowVariant sipImportedTypes__glcanvas__core[14].it_td->u.td_py_type 519 520 #define sipType_wxBorder sipImportedTypes__glcanvas__core[1].it_td 521 #define sipEnum_wxBorder sipImportedTypes__glcanvas__core[1].it_td->u.td_py_type 522 extern sipImportedTypeDef sipImportedTypes__glcanvas__core[]; 523 #include <wxPython/wxpy_api.h> 524 #include <wx/glcanvas.h> 525 #if !wxUSE_GLCANVAS 526 class wxGLContext; 527 class wxGLCanvas; 528 529 enum { 530 WX_GL_RGBA, 531 WX_GL_BUFFER_SIZE, 532 WX_GL_LEVEL, 533 WX_GL_DOUBLEBUFFER, 534 WX_GL_STEREO, 535 WX_GL_AUX_BUFFERS, 536 WX_GL_MIN_RED, 537 WX_GL_MIN_GREEN, 538 WX_GL_MIN_BLUE, 539 WX_GL_MIN_ALPHA, 540 WX_GL_DEPTH_SIZE, 541 WX_GL_STENCIL_SIZE, 542 WX_GL_MIN_ACCUM_RED, 543 WX_GL_MIN_ACCUM_GREEN, 544 WX_GL_MIN_ACCUM_BLUE, 545 WX_GL_MIN_ACCUM_ALPHA, 546 WX_GL_SAMPLE_BUFFERS, 547 WX_GL_SAMPLES, 548 WX_GL_CORE_PROFILE, 549 WX_GL_MAJOR_VERSION, 550 WX_GL_MINOR_VERSION, 551 }; 552 553 class wxGLContext : public wxObject { 554 public: 555 wxGLContext(wxGLCanvas *win, const wxGLContext *other=NULL) 556 { wxPyRaiseNotImplemented(); } 557 SetCurrent(const wxGLCanvas & win)558 virtual bool SetCurrent(const wxGLCanvas &win) const 559 { return false; } 560 561 }; 562 563 class wxGLCanvas : public wxWindow { 564 public: 565 wxGLCanvas(wxWindow *parent, wxWindowID id=wxID_ANY, const int *attribList=NULL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0, const wxString &name="GLCanvas", const wxPalette &palette=wxNullPalette) 566 { wxPyRaiseNotImplemented(); } 567 SetColour(const wxString & colour)568 bool SetColour(const wxString &colour) 569 { return false; } 570 SetCurrent(const wxGLContext & context)571 bool SetCurrent(const wxGLContext &context) const 572 { return false; } 573 SwapBuffers()574 virtual bool SwapBuffers() 575 { return false; } 576 IsDisplaySupported(const int * attribList)577 static bool IsDisplaySupported(const int *attribList) 578 { wxPyRaiseNotImplemented(); return false; } 579 IsExtensionSupported(const char * extension)580 static bool IsExtensionSupported(const char *extension) 581 { wxPyRaiseNotImplemented(); return false; } 582 583 }; 584 #endif //!wxUSE_GLCANVAS 585 586 587 #endif 588