diff options
Diffstat (limited to 'lib/wx')
84 files changed, 21619 insertions, 15893 deletions
diff --git a/lib/wx/.gitignore b/lib/wx/.gitignore new file mode 100644 index 0000000000..fd76f078d7 --- /dev/null +++ b/lib/wx/.gitignore @@ -0,0 +1,2 @@ +test_log_* +wx_test_case_info diff --git a/lib/wx/Makefile b/lib/wx/Makefile index 83f545b662..0bc89e08ad 100644 --- a/lib/wx/Makefile +++ b/lib/wx/Makefile @@ -1,7 +1,7 @@ # # %CopyrightBegin% # -# Copyright Ericsson AB 2008-2009. All Rights Reserved. +# Copyright Ericsson AB 2008-2010. All Rights Reserved. # # The contents of this file are subject to the Erlang Public License, # Version 1.1, (the "License"); you may not use this file except in @@ -23,7 +23,7 @@ SUBDIRS = src ifeq ($(CAN_BUILD_DRIVER), true) SUBDIRS += c_src endif -SUBDIRS += examples demos doc/src +SUBDIRS += examples doc/src CLEANDIRS = $(SUBDIRS) api_gen ifeq ($(INSIDE_ERLSRC),true) diff --git a/lib/wx/api_gen/Makefile b/lib/wx/api_gen/Makefile index c6b65b60bc..756ec598ce 100644 --- a/lib/wx/api_gen/Makefile +++ b/lib/wx/api_gen/Makefile @@ -1,7 +1,7 @@ # # %CopyrightBegin% # -# Copyright Ericsson AB 2008-2009. All Rights Reserved. +# Copyright Ericsson AB 2008-2010. All Rights Reserved. # # The contents of this file are subject to the Erlang Public License, # Version 1.1, (the "License"); you may not use this file except in @@ -39,14 +39,14 @@ TARGET_CDIR = ../c_src/gen C_TARGETS = wxe_funcs.cpp GL_C_TARGETS = gl_funcs.cpp -WX = $(TARGET_CDIR)/$(C_TARGETS) +WX = wx_code_generated -GL = $(TARGET_CDIR)/$(GL_C_TARGETS) +GL = gl_code_generated opt: $(WX) $(GL) $(WX): wxxml_generated $(COMPILER_T) wxapi.conf $(wildcard wx_extra/wx*.c_src) $(wildcard wx_extra/wx*.erl) - erl -noshell -run wx_gen code + erl -noshell -run wx_gen code && touch wx_code_generated wxxml_generated: wx_doxygen.conf wx_extra/bugs.h wx_extra/wxe_evth.h sed -e 's|@WXGTK_DIR@|$(WXGTK_DIR)|g' wx_doxygen.conf > wx_doxygen @@ -56,9 +56,8 @@ glxml_generated: gl_doxygen.conf sed -e 's|@GL_DIR@|$(GL_DIR)|g' gl_doxygen.conf > gl_doxygen doxygen gl_doxygen && touch glxml_generated - $(GL): glxml_generated $(GL_COMP_T) glapi.conf - erl -noshell -run gl_gen code + erl -noshell -run gl_gen code && touch gl_code_generated %.beam: %.erl wx_gen.hrl gl_gen.hrl $(ERLC) -W $(ERL_FLAGS) $(ERL_COMPILE_FLAGS) $< -o$(EBIN) @@ -66,7 +65,7 @@ $(GL): glxml_generated $(GL_COMP_T) glapi.conf # TODO split cleans into separate targets? complete_clean: rm -f gl_doxygen wx_doxygen wx_xml/*.x* gl_xml/*.x* - rm -f glxml_generated wxxml_generated + rm -f *_generated $(MAKE) clean clean: rm -f *~ diff --git a/lib/wx/api_gen/README b/lib/wx/api_gen/README index 3c49f7b2a5..10b5209789 100644 --- a/lib/wx/api_gen/README +++ b/lib/wx/api_gen/README @@ -2,16 +2,20 @@ API GENERATION: Most of the code in wx is generated. Users of wxErlang should not normally need to regenerate the generated code, as it is checked in by wxErlang developers, when changes are made. - 2008-09-29 Code checked in is currently generated from wxwidgets 2.8.7. + + Code checked in is currently generated from wxwidgets 2.8.10. REQUIREMENTS: The code generation requires doxygen (1.4.6) which is used to parse wxWidgets c++ headers and generate xml files (in wx_xml/). - (2008-09-29 doxygen 1.4.6 is required. - Later versions of Doxygen - up to 1.5.6 at least - have a bug in the xml generation - which causes us problems. This has been logged and we are waiting for a fix.) + 2008-09-29 doxygen 1.4.6 is required. + Later versions of Doxygen - up to 1.5.6 at least - have a bug in the xml generation + which causes us problems. This has been logged and we are waiting for a fix. + + doxygen 1.6.1 and doxygen 1.6.3 might work but is not what I use, i.e. + review the diffs. CONFIGURATION: wxapi.conf contains the specification to the code generator. The code @@ -22,5 +26,11 @@ CONFIGURATION: and running make. Sometimes the code generator will require changes, I havn't thought of everything yet. +RUNNING: + I use the following alias wxgen='make WXGTK_DIR=/opt/local/include/wx-2.8/ GL_DIR=/home/dgud/opengl' + + I keep the opengl headers separate so I don't go backwards in version when generating the code + from another machine. + CONTRIBUTION: Send me patches or update the svn version. diff --git a/lib/wx/api_gen/gen_util.erl b/lib/wx/api_gen/gen_util.erl index 859317bdef..df5b4c3405 100644 --- a/lib/wx/api_gen/gen_util.erl +++ b/lib/wx/api_gen/gen_util.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2011. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -40,38 +40,46 @@ strip_name([H|R1],[H|R2]) -> strip_name(R1,R2); strip_name(String,[]) -> String. + +get_hook(_Type, undefined) -> ignore; +get_hook(Type, List) -> proplists:get_value(Type, List, ignore). + +get_taylor_made(Str, Name) -> + re:run(Str, "<<"++Name++"(.*)"++Name++">>", + [dotall, {capture, all_but_first, list}]). + open_write(File) -> %% io:format("Generating ~s~n",[File]), {ok, Fd} = file:open(File++".temp", [write]), put(current_file, {Fd,File}). - + close() -> case get(current_file) of - undefined -> + undefined -> ok; {closed, File} -> io:format("Closing twice ~s~n",[File]); {Fd,File} -> file:close(Fd), case os:cmd("diff " ++ File ++ " " ++ File ++ ".temp" ++ "| head -30") of - [] -> + [] -> ok = file:delete(File ++ ".temp"), %% So that make understands that we have made this - case os:getenv("CLEARCASE_ROOT") of - false -> os:cmd("touch " ++ File); - _ -> ignore - end, + %% case os:getenv("CLEARCASE_ROOT") of + %% false -> os:cmd("touch " ++ File); + %% _ -> ignore + %% end, ok; Diff -> case check_diff(Diff) of copyright -> %% We ignore copyright changes only ok = file:delete(File ++ ".temp"); - _ -> + _ -> io:format("Diff in ~s~n~s ~n", [File, Diff]), case file:rename(File ++ ".temp", File) of ok -> ok; - _ -> + _ -> io:format("***** Failed to save file ~p ~n",[File]) end end @@ -81,9 +89,9 @@ close() -> check_diff(Diff) -> - try + try [_,D1,_,D2|Tail] = re:split(Diff, "\n"), - case Tail of + case Tail of [] -> ok; [<<>>] -> ok; _ -> throw(diff) @@ -113,29 +121,29 @@ args(Fun, Limit, List, Max) -> args(Fun, Limit, List, Max, 0). args(_Fun, _Limit, [], _Max, _) -> ""; %% No args -args(Fun, _Limit, [Last], _Max, _Pos) -> - case Fun(Last) of +args(Fun, _Limit, [Last], _Max, _Pos) -> + case Fun(Last) of skip -> ""; %% FIXME bug if last skips Str -> Str end; args(Fun, Limit, [H|R], Max, Pos) -> - case Fun(H) of + case Fun(H) of skip -> args(Fun,Limit,R, Max, Pos); - Str -> - {NL, NewPos} = + Str -> + {NL, NewPos} = case length(Str) + Pos of Curr when Curr > Max -> {"\n ", 0}; - Curr -> + Curr -> {"", Curr} end, - case args(Fun,Limit,R, Max, NewPos) of + case args(Fun,Limit,R, Max, NewPos) of "" -> Str; End -> Str ++ Limit ++ NL ++ End end end. - + tokens(S) -> @@ -163,11 +171,11 @@ replace_and_remove([E|R], Acc) when is_list(E) -> %% Keep everything that is a w replace_and_remove(R, [E|Acc]); replace_and_remove([$\n | R], Acc) -> %% It is semi line oriented so keep eol replace_and_remove(R, [eol|Acc]); -replace_and_remove([$( | R], Acc) -> +replace_and_remove([$( | R], Acc) -> replace_and_remove(R, ["("|Acc]); replace_and_remove([$) | R], Acc) -> replace_and_remove(R, [")"|Acc]); -replace_and_remove([${ | R], Acc) -> +replace_and_remove([${ | R], Acc) -> replace_and_remove(R, ["{"|Acc]); replace_and_remove([$} | R], Acc) -> replace_and_remove(R, ["}"|Acc]); @@ -183,7 +191,7 @@ replace_and_remove([$, | R], Acc) -> replace_and_remove(R, [cont|Acc]); replace_and_remove([$; | R], Acc) -> replace_and_remove(R, [eoe|Acc]); -replace_and_remove([$@ | R], Acc) -> +replace_and_remove([$@ | R], Acc) -> replace_and_remove(R, [directive|Acc]); replace_and_remove([_E|R], Acc) -> %% Ignore everthing else @@ -209,7 +217,7 @@ erl_copyright() -> w("%%~n",[]), w("%% %CopyrightBegin%~n",[]), w("%%~n",[]), - w("%% Copyright Ericsson AB ~p-2010. All Rights Reserved.~n", + w("%% Copyright Ericsson AB ~p-2011. All Rights Reserved.~n", [StartYear]), w("%%~n",[]), w("%% The contents of this file are subject to the Erlang Public License,~n",[]), @@ -225,11 +233,11 @@ erl_copyright() -> w("%%~n",[]), w("%% %CopyrightEnd%~n",[]). -c_copyright() -> +c_copyright() -> w("/*~n",[]), w(" * %CopyrightBegin%~n",[]), w(" *~n",[]), - w(" * Copyright Ericsson AB 2008-2010. All Rights Reserved.~n",[]), + w(" * Copyright Ericsson AB 2008-2011. All Rights Reserved.~n",[]), w(" *~n",[]), w(" * The contents of this file are subject to the Erlang Public License,~n",[]), w(" * Version 1.1, (the \"License\"); you may not use this file except in~n",[]), diff --git a/lib/wx/api_gen/gl_doxygen.conf b/lib/wx/api_gen/gl_doxygen.conf index e29a3654b5..c9bdb6a408 100644 --- a/lib/wx/api_gen/gl_doxygen.conf +++ b/lib/wx/api_gen/gl_doxygen.conf @@ -8,7 +8,7 @@ PROJECT_NUMBER = 0.1 OUTPUT_DIRECTORY = ./ CREATE_SUBDIRS = NO OUTPUT_LANGUAGE = English -USE_WINDOWS_ENCODING = NO +#USE_WINDOWS_ENCODING = NO BRIEF_MEMBER_DESC = YES REPEAT_BRIEF = YES ABBREVIATE_BRIEF = @@ -20,7 +20,7 @@ STRIP_FROM_INC_PATH = SHORT_NAMES = NO JAVADOC_AUTOBRIEF = NO MULTILINE_CPP_IS_BRIEF = NO -DETAILS_AT_TOP = NO +# DETAILS_AT_TOP = NO INHERIT_DOCS = YES DISTRIBUTE_GROUP_DOC = NO SEPARATE_MEMBER_PAGES = NO @@ -175,17 +175,20 @@ PERLMOD_MAKEVAR_PREFIX = #--------------------------------------------------------------------------- ENABLE_PREPROCESSING = YES MACRO_EXPANSION = YES -EXPAND_ONLY_PREDEF = NO +EXPAND_ONLY_PREDEF = YES SEARCH_INCLUDES = YES INCLUDE_PATH = INCLUDE_FILE_PATTERNS = PREDEFINED = \ APIENTRY="" \ + APIENTRYP="*" \ + GLAPIENTRY="" \ + GLAPIENTRYP="*" \ WINGDIAPI="" \ GLAPI="" \ GL_GLEXT_PROTOTYPES="1" -EXPAND_AS_DEFINED = YES +EXPAND_AS_DEFINED = SKIP_FUNCTION_MACROS = YES #--------------------------------------------------------------------------- # Configuration::additions related to external references @@ -214,9 +217,9 @@ DIRECTORY_GRAPH = YES DOT_IMAGE_FORMAT = png DOT_PATH = DOTFILE_DIRS = -MAX_DOT_GRAPH_WIDTH = 1024 -MAX_DOT_GRAPH_HEIGHT = 1024 -MAX_DOT_GRAPH_DEPTH = 0 +#MAX_DOT_GRAPH_WIDTH = 1024 +#MAX_DOT_GRAPH_HEIGHT = 1024 +#MAX_DOT_GRAPH_DEPTH = 0 DOT_TRANSPARENT = NO DOT_MULTI_TARGETS = NO GENERATE_LEGEND = YES diff --git a/lib/wx/api_gen/gl_gen.erl b/lib/wx/api_gen/gl_gen.erl index 91a6a1adbf..8998d341e7 100644 --- a/lib/wx/api_gen/gl_gen.erl +++ b/lib/wx/api_gen/gl_gen.erl @@ -1,19 +1,19 @@ %% %% %CopyrightBegin% -%% -%% Copyright Ericsson AB 2008-2009. All Rights Reserved. -%% +%% +%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in %% compliance with the License. You should have received a copy of the %% Erlang Public License along with this software. If not, it can be %% retrieved online at http://www.erlang.org/. -%% +%% %% Software distributed under the License is distributed on an "AS IS" %% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See %% the License for the specific language governing rights and limitations %% under the License. -%% +%% %% %CopyrightEnd% %% %%%------------------------------------------------------------------- @@ -44,12 +44,12 @@ devcode() -> spawn(fun() -> safe(fun gen_code/0,false) end). safe(What, QuitOnErr) -> try What(), - io:format("Completed succesfully~n~n", []), + io:format("Completed successfully~n~n", []), QuitOnErr andalso gen_util:halt(0) catch Err:Reason -> - catch gen_util:close(), io:format("Error ~p: ~p:~p~n ~p~n", [get(current_func),Err,Reason,erlang:get_stacktrace()]), + (catch gen_util:close()), timer:sleep(1999), QuitOnErr andalso gen_util:halt(1) end. @@ -67,7 +67,7 @@ gen_code() -> gl_gen_erl:gl_defines(GLDefines), gl_gen_erl:gl_api(GLFuncs), - gl_gen_erl:gen_debug(GLFuncs,GLUFuncs), + %%gl_gen_erl:gen_debug(GLFuncs,GLUFuncs), gl_gen_c:gen(GLFuncs,GLUFuncs), ok. @@ -206,10 +206,10 @@ parse_define([], D, _Opts) -> parse_func(Xml, Opts) -> {Func,_} = foldl(fun(X,Acc) -> parse_func(X,Acc,Opts) end, {#func{},1}, Xml), + put(current_func, Func#func.name), #func{params=Args0,type=Type0} = Func, Args = filter(fun(#arg{type=void}) -> false; (_) -> true end, Args0), - #arg{type=Type} = - patch_param(Func#func.name,#arg{name="result",type=Type0},Opts), + #arg{type=Type} = patch_param(Func#func.name,#arg{name="result",type=Type0},Opts), Func#func{params=reverse(Args), type=Type}. parse_func(#xmlElement{name=type, content=C}, {F,AC}, Os) -> @@ -220,6 +220,7 @@ parse_func(#xmlElement{name=name, content=[#xmlText{value=C}]},{F,AC},Os) -> put(current_func, Func), {F#func{name=name(Func,Os)},AC}; parse_func(#xmlElement{name=param, content=C},{F,AC},Os) -> + put(current_func, F#func.name), Parse = fun(Con, Ac) -> parse_param(Con, Ac, Os) end, Param0 = foldl(Parse, #arg{}, drop_empty(C)), Param = fix_param_name(Param0, F, AC), @@ -314,11 +315,17 @@ handle_arg_opt(both, P) -> P#arg{in=both}; handle_arg_opt(binary, P=#arg{type=T}) -> P#arg{type=T#type{size=undefined,base=binary}}; handle_arg_opt({binary,Sz}, P=#arg{type=T}) -> - P#arg{type=T#type{size=Sz,base=binary}}; + P#arg{type=T#type{size={Sz, Sz},base=binary}}; +handle_arg_opt({binary,Max, Sz}, P=#arg{type=T}) -> + P#arg{type=T#type{size={Max, Sz},base=binary}}; handle_arg_opt({type,Type}, P=#arg{type=T}) -> P#arg{type=T#type{name=Type}}; handle_arg_opt({single,Opt},P=#arg{type=T}) -> P#arg{type=T#type{single=Opt}}; +handle_arg_opt({base,{Opt, Sz}}, P=#arg{type=T}) -> P#arg{type=T#type{base=Opt, size=Sz}}; handle_arg_opt({base,Opt}, P=#arg{type=T}) -> P#arg{type=T#type{base=Opt}}; -handle_arg_opt({c_only,Opt},P) -> P#arg{where=c, alt=Opt}. +handle_arg_opt({c_only,Opt},P) -> P#arg{where=c, alt=Opt}; +handle_arg_opt(string, P=#arg{type=T}) -> P#arg{type=T#type{base=string}}; +handle_arg_opt({string,Max,Sz}, P=#arg{type=T}) -> + P#arg{type=T#type{base=string, size={Max,Sz}}}. parse_type([], _Os) -> void; parse_type(C, Os) -> @@ -367,6 +374,8 @@ parse_type2([N="GLbitfield"|R],T,Opts) -> parse_type2(R,T#type{name=N, size=4, base=int},Opts); parse_type2([N="GLvoid"|R],T,Opts) -> parse_type2(R,T#type{name=N, base=idx_binary},Opts); +parse_type2([N="GLsync"|R],T,Opts) -> + parse_type2(R,T#type{name=N, base=int, size=8},Opts); parse_type2([N="GLbyte"|R],T,Opts) -> parse_type2(R,T#type{name=N, size=1, base=int},Opts); @@ -378,6 +387,11 @@ parse_type2([N="GLushort"|R],T,Opts) -> parse_type2(R,T#type{name=N, size=2, base=int},Opts); parse_type2([N="GLint"|R],T,Opts) -> parse_type2(R,T#type{name=N, size=4, base=int},Opts); +parse_type2([N="GLint64"|R],T,Opts) -> + parse_type2(R,T#type{name=N, size=8, base=int},Opts); +parse_type2([N="GLuint64"|R],T,Opts) -> + parse_type2(R,T#type{name=N, size=8, base=int},Opts); + parse_type2([N="GLuint"|R],T,Opts) -> parse_type2(R,T#type{name=N, size=4, base=int},Opts); parse_type2([N="GLsizei"|R],T,Opts) -> @@ -548,8 +562,10 @@ setup_idx_binary(Name,Ext,_Opts) -> %% Ok warn if single is undefined lists:foreach(fun(#arg{type=#type{base=memory}}) -> ok; + (#arg{type=#type{base=string}}) -> ok; (#arg{type=#type{base=idx_binary}}) -> ok; (#arg{type=#type{name="GLUquadric"}}) -> ok; + (#arg{type=#type{base=binary, size=Sz}}) when Sz =/= undefined -> ok; (A=#arg{type=#type{single=undefined}}) -> ?warning("~p Unknown size of~n ~p~n", [get(current_func),A]), @@ -605,7 +621,7 @@ is_equal(F1=#func{type=T1,params=A1},F2=#func{type=T2,params=A2}) -> true -> ok; false -> %% io:format("A1: ~p~nA2: ~p~n",[A1,A2]), - ?warning("Skipped Ext Not Equal ~p ~p~n", + ?warning("Keeping Ext Not Equal ~p ~p~n", [F1#func.name,F2#func.name]) end, Equal. diff --git a/lib/wx/api_gen/gl_gen_c.erl b/lib/wx/api_gen/gl_gen_c.erl index 864ce8b1ac..0f5cb0e1f4 100644 --- a/lib/wx/api_gen/gl_gen_c.erl +++ b/lib/wx/api_gen/gl_gen_c.erl @@ -47,34 +47,29 @@ gen(GLFuncs, GLUFuncs) -> w("/***** This file is generated do not edit ****/~n~n", []), w("#include <stdio.h>~n", []), w("#include <string.h>~n", []), - w("#include \"../wxe_impl.h\"~n", []), - w("#include \"../wxe_gl.h\"~n", []), - w("#include \"gl_fdefs.h\"~n", []), + w("#include \"../egl_impl.h\"~n", []), + w("#include \"gl_fdefs.h\"~n~n", []), + w("extern gl_fns_t gl_fns[];~n~n", []), - w("~nint gl_error_op;~n", []), - w("void gl_dispatch(int op, char *bp,ErlDrvTermData caller,WXEBinRef *bins[]){~n", + w("void egl_dispatch(int op, char *bp, ErlDrvPort port, " + "ErlDrvTermData caller, char *bins[], int bins_sz[]){~n", []), - w(" gl_error_op = op;~n", []), - w(" if(caller != gl_active) {~n", []), - w(" wxGLCanvas * current = glc[caller];~n", []), - w(" if(current) { gl_active = caller; current->SetCurrent();}~n", []), - w(" else {~n " - " ErlDrvTermData rt[] = // Error msg~n" - " {ERL_DRV_ATOM, driver_mk_atom((char *) \"_wxe_error_\"),~n" - " ERL_DRV_INT, op,~n" - " ERL_DRV_ATOM, driver_mk_atom((char *) \"no_gl_context\"),~n" - " ERL_DRV_TUPLE,3};~n" - " driver_send_term(WXE_DRV_PORT,caller,rt,8);~n" - " return ;~n }~n };~n~n", []), - + w(" try {~n",[]), w(" switch(op)~n{~n",[]), - w(" case 5000:~n wxe_tess_impl(bp, caller);~n break;~n", []), - w(" case WXE_BIN_INCR:~n driver_binary_inc_refc(bins[0]->bin);~n break;~n",[]), - w(" case WXE_BIN_DECR:~n driver_binary_dec_refc(bins[0]->bin);~n break;~n",[]), + w(" case 5000:~n erl_tess_impl(bp, port, caller);~n break;~n", []), [funcs(F) || F <- GLUFuncs], [funcs(F) || F <- GLFuncs], + w("}} catch (char *err_msg) {\n" + "int AP = 0; ErlDrvTermData rt[12];\n" + "rt[AP++] = ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) \"_egl_error_\");\n" + "rt[AP++] = ERL_DRV_INT; rt[AP++] = (int) op;\n" + "rt[AP++] = ERL_DRV_ATOM; rt[AP++] = driver_mk_atom((char *) err_msg);\n" + "// rt[AP++] = ERL_DRV_ATOM; rt[AP++] = driver_mk_atom((char *) gl_fns[op-GLE_GL_FUNC_START].name);\n" + "// rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;\n" + "rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 3;\n" + "driver_send_term(port,caller,rt,AP);\n", []), w("}} /* The End */~n~n",[]), close(). @@ -123,26 +118,53 @@ declare_var(A=#arg{name=N,in=false,type=#type{name=T,base=B,single={tuple,Sz}}}) true = is_number(Sz), %% Assert w(" ~s ~s[~p] = {~s};~n", [T,N,Sz,args(fun zero/1,",",lists:duplicate(Sz,B))]), A; -declare_var(A=#arg{name=N,in=false,type=#type{name=T,base=B,single={list,Sz}}}) when is_number(Sz) -> +declare_var(A=#arg{name=N,in=false,type=#type{name=T,base=B,single={list,Sz}}}) + when is_number(Sz) -> w(" ~s ~s[~p] = {~s};~n", [T,N,Sz,args(fun zero/1,",",lists:duplicate(Sz,B))]), A; +declare_var(A=#arg{name=N,in=false,type=#type{name=T,base=string,size={Max,_}, single=Single}}) -> + case is_integer(Max) of + true -> + w(" ~s ~s[~p];~n", [T,N,Max]); + false -> + %% w(" ~s ~s[*~s];~n", [T,N,Max]), + w(" ~s *~s;~n", [T,N]), + w(" ~s = (~s *) driver_alloc(sizeof(~s) * *~s);~n", [N,T,T,Max]), + store_free(N) + %% case Single of + %% {list, _, _} -> + %% w(" ~s *~s_p = ~s;~n", [T,N,N]); + %% _ -> ok + %% end + end, + A; +declare_var(A=#arg{name=N,in=false,type=#type{base=binary,size={MaxSz, _}}}) -> + MaxSz == undefined andalso error({assert, A}), + case is_integer(MaxSz) of + true -> + w(" ErlDrvBinary *~s = driver_alloc_binary(~p);~n", [N,MaxSz]); + false -> + w(" ErlDrvBinary *~s = driver_alloc_binary(*~s);~n", [N,MaxSz]) + end, + A; declare_var(A=#arg{name=N,in=false,type=#type{name=T,single={list,ASz,_USz},mod=[]}}) -> true = is_list(ASz), %% Assert w(" ~s *~s;~n", [T,N]), w(" ~s = (~s *) driver_alloc(sizeof(~s) * *~s);~n", [N,T,T,ASz]), store_free(N), + %% w(" ~s ~s[*~s];~n", [T,N,ASz]), A; -declare_var(A=#arg{name=N,in=false,type=#type{name=T,base=binary,size=Sz}}) -> - true = is_number(Sz), %% Assert - w(" ~s ~s[~p];~n", [T,N,Sz]), +declare_var(A=#arg{in=false, type=#type{name="GLUquadric",by_val=false,single=true}}) -> A; -declare_var(A=#arg{name=N,in=false, - type=#type{name=T="GLUquadric",base=B,by_val=false,single=true}}) -> +declare_var(A=#arg{in=false, type=#type{base=string,by_val=false,single=true}}) -> A; declare_var(A=#arg{name=N,in=false, type=#type{name=T,base=B,by_val=false,single=true}}) -> w(" ~s ~s[1] = {~s};~n", [T,N,zero(B)]), A; +declare_var(A=#arg{where=c, type=#type{name=T}, alt={size,Var}}) -> + w(" ~s ~s_size = bins_sz[~p];~n", [T, Var, get(bin_count)]), + A; declare_var(A=#arg{where=_}) -> A. @@ -172,10 +194,10 @@ decode_arg(P=#arg{where=c},A) -> {P,A}; decode_arg(P=#arg{in=false},A) -> {P,A}; decode_arg(P=#arg{name=Name,type=#type{name=Type,base=binary}},A0) -> - w(" ~s *~s = (~s *) bins[~p]->base;~n", [Type,Name,Type,next_id(bin_count)]), + w(" ~s *~s = (~s *) bins[~p];~n", [Type,Name,Type,next_id(bin_count)]), {P, A0}; decode_arg(P=#arg{name=Name,type=#type{name=Type,base=memory}},A0) -> - w(" ~s *~s = (~s *) bins[~p]->base;~n", [Type,Name,Type,next_id(bin_count)]), + w(" ~s *~s = (~s *) bins[~p];~n", [Type,Name,Type,next_id(bin_count)]), {P, A0}; decode_arg(P=#arg{name=Name,type=#type{name=T,base=string,single=list}},A0) -> A = align(4,A0), @@ -220,7 +242,7 @@ decode_arg(P=#arg{name=Name,type=#type{name=Type,base=guard_int}},A0) -> {P, A}; decode_arg(P=#arg{name=Name,type=#type{name=Type,base=string,single=true}},A0) -> w(" ~s *~s = (~s *) bp;~n", [Type,Name,Type]), - w(" int ~sLen = strlen((char *)~s); bp += ~sLen+1+((8-((1+~sLen+~p)%8))%8);~n", + w(" int ~sLen[1] = {strlen((char *)~s)}; bp += ~sLen[0]+1+((8-((1+~sLen[0]+~p)%8))%8);~n", [Name,Name,Name,Name,A0]), {P, 0}; decode_arg(P=#arg{name=Name, @@ -289,6 +311,8 @@ result_type(#type{name=T, ref=undefined}) -> T; result_type(#type{name=T, ref={pointer,1}, mod=Mods}) -> mod(Mods) ++ T ++ " * ". +call_arg(#arg{alt={size,Alt},type=#type{}}) -> + Alt ++ "_size"; call_arg(#arg{alt={length,Alt},type=#type{}}) -> "*" ++ Alt ++ "Len"; call_arg(#arg{alt={constant,Alt},type=#type{}}) -> @@ -299,6 +323,8 @@ call_arg(#arg{name=Name,type=#type{single={list, _}}}) -> Name; call_arg(#arg{name=Name,type=#type{size=8,base=int,ref=undefined}}) -> Name; +call_arg(#arg{name=Name,in=false,type=#type{name=T, base=binary}}) -> + "(" ++ T ++ "*) " ++ Name ++ "->orig_bytes"; call_arg(#arg{name=Name,type=#type{ref=undefined}}) -> "*" ++ Name; call_arg(#arg{name=Name,type=#type{base=guard_int}}) -> @@ -319,27 +345,27 @@ build_return_vals(Type,As) -> true -> w(" int AP = 0; ErlDrvTermData rt[6];~n",[]), w(" rt[AP++]=ERL_DRV_ATOM;" - " rt[AP++]=driver_mk_atom((char *) \"_wxe_result_\");~n",[]), + " rt[AP++]=driver_mk_atom((char *) \"_egl_result_\");~n",[]), w(" rt[AP++]=ERL_DRV_ATOM;" " rt[AP++]=driver_mk_atom((char *) \"ok\");~n",[]), w(" rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;~n",[]), - w(" driver_send_term(WXE_DRV_PORT,caller,rt,AP);~n",[]), + w(" driver_send_term(port,caller,rt,AP);~n",[]), ok end; {Val,Vars,Cnt} -> ExtraTuple = if Cnt > 1 -> 2; true -> 0 end, - CSize = if Vars =:= none -> - Sz = integer_to_list(Val+4+ExtraTuple), - w(" int AP = 0; ErlDrvTermData rt[~s];~n",[Sz]), - Sz; - true -> - Sz = integer_to_list(Val+4+ExtraTuple) ++ " + " ++ Vars, - w(" int AP = 0; ErlDrvTermData *rt;~n",[]), - w(" rt = (ErlDrvTermData *) " - "driver_alloc(sizeof(ErlDrvTermData)*(~s));~n", [Sz]), - Sz - end, - w(" rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) \"_wxe_result_\");~n",[]), + if Vars =:= none -> + Sz = integer_to_list(Val+4+ExtraTuple), + w(" int AP = 0; ErlDrvTermData rt[~s];~n",[Sz]), + Sz; + true -> + Sz = integer_to_list(Val+4+ExtraTuple) ++ " + " ++ Vars, + w(" int AP = 0; ErlDrvTermData *rt;~n",[]), + w(" rt = (ErlDrvTermData *) " + "driver_alloc(sizeof(ErlDrvTermData)*(~s));~n", [Sz]), + Sz + end, + w(" rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) \"_egl_result_\");~n",[]), FreeList = build_ret_types(Type,As), case Cnt of 1 -> ok; @@ -347,9 +373,9 @@ build_return_vals(Type,As) -> w(" rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = ~p;~n",[Cnt]) end, w(" rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;~n",[]), - w(" if (AP != ~s ) fprintf(stderr, \"%d: ERROR AP mismatch %d %d\\r\\n\",__LINE__,AP,~s);~n", - [CSize,CSize]), - w(" driver_send_term(WXE_DRV_PORT,caller,rt,AP);~n",[]), + %%w(" if (AP != ~s ) fprintf(stderr, \"%d: ERROR AP mismatch %d %d\\r\\n\",__LINE__,AP,~s);~n", + %% [CSize,CSize]), + w(" driver_send_term(port,caller,rt,AP);~n",[]), case Vars of none -> ignore; _ -> @@ -372,7 +398,7 @@ calc_sizes(Type,As) -> {Val, none} -> {Sz+Val, Vars, Cnt+1}; {Val, Var} when Vars =:= none -> {Sz+Val, Var,Cnt+1}; - {Val, Var} when Vars =:= none -> + {Val, Var} -> {Sz+Val, Var ++ " + " ++ Vars,Cnt+1} end; (_,Acc) -> Acc @@ -380,13 +406,16 @@ calc_sizes(Type,As) -> foldl(Calc, TSz, As). return_size(_N,void) -> {0, none}; -return_size(_N,#type{base=binary}) -> {4, none}; -return_size(_N,#type{single=true}) -> {2,none}; return_size(_N,#type{single={tuple,Sz}}) -> {Sz*2+2, none}; -return_size(_N,#type{name="GLubyte",single={list,null}}) ->{3, none}; return_size(_N,#type{single={list,Sz}}) -> {Sz*2+3, none}; -return_size(_N,#type{base=string,single={list,_,_}}) -> {3, none}; -return_size(_N,#type{single={list,_,Sz}}) -> {3, "(*" ++Sz++")*2"}. +return_size(_N,#type{base=string,single=true}) -> {3, none}; +return_size(_N,#type{base=string,single=undefined}) -> {3, none}; +return_size(_N,#type{base=string,single={list,_,"result"}}) -> {3, "result*3"}; +return_size(_N,#type{base=string,single={list,_,Sz}}) -> {3, "(*" ++Sz++")*3"}; +return_size(_N,#type{single={list,_,"result"}}) -> {3, "result*2"}; +return_size(_N,#type{single={list,_,Sz}}) -> {3, "(*" ++Sz++")*2"}; +return_size(_N,#type{base=binary}) -> {4, none}; +return_size(_N,#type{single=true}) -> {2, none}. build_ret_types(void,Ps) -> @@ -445,17 +474,27 @@ build_ret(Name,_Q,#type{name=T,base=_,single={tuple,Sz}}) -> [w(" rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *~s++;~n", [Temp]) || _ <- lists:seq(1,Sz)], w(" rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = ~p;~n",[Sz]); -build_ret(Name,_Q,#type{name="GLubyte",single={list,null}}) -> +build_ret(Name,_Q,#type{base=string,size=1,single=true}) -> w(" rt[AP++] = ERL_DRV_STRING; rt[AP++] = (ErlDrvTermData) ~s;" " rt[AP++] = strlen((char *) ~s);\n", [Name, Name]); -build_ret(Name,_Q,#type{base=string,single={list,_,Sz}}) -> +build_ret(Name,_Q,#type{base=string, size={_Max,Sz}, single=S}) + when S == true; S == undefined -> w(" rt[AP++] = ERL_DRV_STRING; rt[AP++] = (ErlDrvTermData) ~s;" " rt[AP++] = *~s;\n", [Name, Sz]); +build_ret(Name,_Q,#type{name=_T,base=string,size={_, SSz}, single={list,_,Sz}}) -> + P = if Sz == "result" -> ["(int) "]; true -> "*" end, + w(" for(int i=0; i < ~s~s; i++) {\n", [P,Sz]), + w(" rt[AP++] = ERL_DRV_STRING; rt[AP++] = (ErlDrvTermData) ~s;" + " rt[AP++] = ~s[i]-1;\n", [Name, SSz]), + w(" ~s += ~s[i]; }~n", [Name, SSz]), + w(" rt[AP++] = ERL_DRV_NIL;", []), + w(" rt[AP++] = ERL_DRV_LIST; rt[AP++] = (~s~s)+1;~n",[P,Sz]); build_ret(Name,_Q,#type{name=_T,base=B,single={list,_,Sz}}) when B =/= float -> - w(" for(int i=0; i < *~s; i++) {\n", [Sz]), + P = if Sz == "result" -> ["(int) "]; true -> "*" end, + w(" for(int i=0; i < ~s~s; i++) {\n", [P,Sz]), w(" rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) ~s[i];}~n", [Name]), w(" rt[AP++] = ERL_DRV_NIL;", []), - w(" rt[AP++] = ERL_DRV_LIST; rt[AP++] = (*~s)+1;~n",[Sz]); + w(" rt[AP++] = ERL_DRV_LIST; rt[AP++] = (~s~s)+1;~n",[P,Sz]); build_ret(Name,_Q,#type{name=_T,size=FSz,base=float,single={list,Sz}}) -> Temp = Name ++ "Tmp", case FSz of @@ -476,12 +515,14 @@ build_ret(Name,_Q,#type{name=T,base=_,single={list,Sz}}) -> || _ <- lists:seq(1,Sz)], w(" rt[AP++] = ERL_DRV_NIL;", []), w(" rt[AP++] = ERL_DRV_LIST; rt[AP++] = ~p+1;~n",[Sz]); -build_ret(Name,_Q,#type{name="GLubyte",base=binary,size=Sz}) -> - w(" ErlDrvBinary * BinCopy = driver_alloc_binary(~p);~n", [Sz]), - w(" memcpy(BinCopy->orig_bytes, ~s, ~p);~n", [Name,Sz]), - w(" rt[AP++] = ERL_DRV_BINARY; rt[AP++] = (ErlDrvTermData) BinCopy;", []), - w(" rt[AP++] = ~p; rt[AP++] = 0;~n", [Sz]), - "driver_free_binary(BinCopy);"; +build_ret(Name,_Q,#type{base=binary,size={_,Sz}}) -> + w(" rt[AP++] = ERL_DRV_BINARY; rt[AP++] = (ErlDrvTermData) ~s;", [Name]), + if is_integer(Sz) -> + w(" rt[AP++] = ~p; rt[AP++] = 0;~n", [Sz]); + is_list(Sz) -> + w(" rt[AP++] = *~s; rt[AP++] = 0;~n", [Sz]) + end, + "driver_free_binary(" ++ Name ++ ");"; build_ret(Name,_Q,T=#type{}) -> io:format("{~p, {~p, {single,{tuple,X}}}}.~n", [get(current_func),Name]), io:format(" ~p~n",[T]). @@ -497,6 +538,19 @@ gen_defines(GLFuncs,GLUFuncs) -> w("# define WXE_EXTERN~n", []), w("#else~n# define WXE_EXTERN extern~n", []), w("#endif~n~n", []), + + w("typedef struct {\n" + " const char * name;\n" + " const char * alt;\n" + " void * func;\n" + "} gl_fns_t;\n\n", []), + + GLFirst = case hd(GLFuncs) of + [First|_] when is_list(First) -> get(First); + First -> get(First) + end, + w("#define GLE_GL_FUNC_START ~p~n", [GLFirst#func.id]), + [fdefs(F) || F <- GLFuncs], [fdefs(F) || F <- GLUFuncs], close(). @@ -544,11 +598,7 @@ gl_gen_init(Funcs) -> open_write("../c_src/gen/gl_finit.h"), c_copyright(), w("/***** This file is generated do not edit ****/~n~n", []), - w("static struct {\n" - " const char * name;\n" - " const char * alt;\n" - " void * func;\n" - "} gl_fns[] = \n" + w("gl_fns_t gl_fns[] = \n" "{\n", []), [finits(F) || F <- Funcs], w(" { NULL, NULL, NULL}};\n",[]), diff --git a/lib/wx/api_gen/gl_gen_erl.erl b/lib/wx/api_gen/gl_gen_erl.erl index 07e4d6f783..f292c8723e 100644 --- a/lib/wx/api_gen/gl_gen_erl.erl +++ b/lib/wx/api_gen/gl_gen_erl.erl @@ -49,7 +49,7 @@ glu_defines(Defs) -> w("~n%% GLU DEFINITIONS~n~n", []), w("%% This file is generated DO NOT EDIT~n~n", []), [gen_define(Def) || Def=#def{} <- Defs], - close(), + close(), ok. gen_define(#def{name=N, val=Val, type=int}) -> @@ -78,7 +78,11 @@ types() -> {"GLsizeiptr","64/native-unsigned"}, % 64 bits int, convert on c-side {"GLintptr", "64/native-unsigned"}, % 64 bits int, convert on c-sidew {"GLUquadric", "64/native-unsigned"},% Handle 32bits aargh 64bits on mac64 - {"GLhandleARB","64/native-unsigned"} % Handle 32bits aargh 64bits on mac64 + {"GLhandleARB","64/native-unsigned"},% Handle 32bits aargh 64bits on mac64 + + {"GLsync", "64/native-unsigned"}, % Pointer to record + {"GLuint64", "64/native-unsigned"}, + {"GLint64", "64/native-signed"} ]. gl_api(Fs) -> @@ -90,22 +94,53 @@ gl_api(Fs) -> w("%% See <a href=\"http://www.opengl.org/sdk/docs/man/\">www.opengl.org</a>~n",[]), w("%%~n", []), w("%% Booleans are represented by integers 0 and 1.~n~n", []), - w("%% @type wx_mem(). see wx.erl on memory allocation functions~n", []), + w("%% @type mem(). memory block~n", []), w("%% @type enum(). An integer defined in gl.hrl~n", []), w("%% @type offset(). An integer which is an offset in an array~n", []), w("%% @type clamp(). A float clamped between 0.0 - 1.0~n", []), w("-module(gl).~n~n",[]), w("-compile(inline).~n", []), - %% w("-compile(export_all).~n~n", []), - %% w("-compile(binary_comprehension).~n~n", []), - w("-include(\"wxe.hrl\").~n", []), +%% w("-include(\"wxe.hrl\").~n", []), [w("-define(~s,~s).~n", [GL,Erl]) || {GL,Erl} <- types()], - + + gen_types(gl), + Exp = fun(F) -> gen_export(F) end, ExportList = lists:map(Exp,Fs), w("~n-export([~s]).~n~n", [args(fun(EF) -> EF end, ",", ExportList, 60)]), - + w("-export([call/2, cast/2, send_bin/1]).~n",[]), + w("%% @hidden~n", []), + w("call(Op, Args) ->~n", []), + w(" Port = get(opengl_port), ~n", []), + w(" _ = erlang:port_control(Port,Op,Args),~n", []), + w(" rec().~n", []), + w(" ~n", []), + w("%% @hidden~n", []), + w("cast(Op, Args) ->~n", []), + w(" Port = get(opengl_port), ~n", []), + w(" _ = erlang:port_control(Port,Op,Args),~n", []), + w(" ok.~n", []), + w(" ~n", []), + w("%% @hidden~n", []), + w("rec() ->~n", []), + w(" receive ~n", []), + w(" {'_egl_result_', Res} -> Res;~n", []), + w(" {'_egl_error_', Op, Res} -> error({error,Res,Op})~n", []), + w(" end. ~n", []), + w("~n", []), + w("%% @hidden~n", []), + w("send_bin(Bin) when is_binary(Bin) ->~n", []), + w(" Port = get(opengl_port), ~n", []), + w(" erlang:port_command(Port,Bin);~n", []), + w("send_bin(Tuple) when is_tuple(Tuple) ->~n", []), + w(" Port = get(opengl_port), ~n", []), + w(" case element(2, Tuple) of~n", []), + w(" Bin when is_binary(Bin) ->~n", []), + w(" erlang:port_command(Port,Bin)~n", []), + w(" end.~n", []), + w("~n", []), + w("~n%% API~n~n", []), [gen_funcs(F) || F <- Fs], close(), @@ -120,20 +155,22 @@ glu_api(Fs) -> w("%% See <a href=\"http://www.opengl.org/sdk/docs/man/\">www.opengl.org</a>~n",[]), w("%%~n", []), w("%% Booleans are represented by integers 0 and 1.~n~n", []), - w("%% @type wx_mem(). see wx.erl on memory allocation functions~n", []), + w("%% @type mem(). memory block~n", []), w("%% @type enum(). An integer defined in gl.hrl~n", []), w("%% @type offset(). An integer which is an offset in an array~n", []), w("%% @type clamp(). A float clamped between 0.0 - 1.0~n~n", []), w("-module(glu).~n",[]), w("-compile(inline).~n", []), - w("-include(\"wxe.hrl\").~n", []), + %%w("-include(\"wxe.hrl\").~n", []), [w("-define(~s,~s).~n", [GL,Erl]) || {GL,Erl} <- types()], + gen_types(glu), + Exp = fun(F) -> gen_export(F) end, ExportList = ["tesselate/2" | lists:map(Exp,Fs)], w("~n-export([~s]).~n~n", [args(fun(EF) -> EF end, ",", ExportList, 60)]), - + w("-import(gl, [call/2,cast/2,send_bin/1]).", []), w("~n%% API~n~n", []), w("%% @spec (Vec3, [Vec3]) -> {Triangles, VertexPos}~n",[]), @@ -148,13 +185,13 @@ glu_api(Fs) -> "%% may contain newly created vertices in the end.~n", []), w("tesselate({Nx,Ny,Nz}, Vs) ->~n",[]), - w(" wxe_util:call(5000, <<(length(Vs)):32/native,0:32,~n" + w(" call(5000, <<(length(Vs)):32/native,0:32,~n" " Nx:?GLdouble,Ny:?GLdouble,Nz:?GLdouble,~n" " (<< <<Vx:?GLdouble,Vy:?GLdouble,Vz:?GLdouble >>~n" " || {Vx,Vy,Vz} <- Vs>>)/binary >>).~n~n", []), [gen_funcs(F) || F <- Fs], - close(), + close(), ok. gen_funcs([F]) when is_list(F) -> @@ -178,9 +215,27 @@ gen_funcs(F) -> erase(current_func), w(".~n~n",[]). -gen_export([F|_]) when is_list(F) -> +gen_types(Where) -> + case Where of + glu -> ignore; + gl -> + w("-type clamp() :: float().~n", []), + w("-type offset() :: non_neg_integer().~n", []) + end, + w("-type enum() :: non_neg_integer().~n", []), + w("-type mem() :: binary() | tuple().~n", []), + ok. + +gen_export(F) -> + try gen_export_1(F) + catch E:R -> + io:format("Crash ~p:~p in ~p ~n",[E,R, erlang:get_stacktrace()]), + io:format("Func = ~p~n ~p", [F, get(F)]) + end. + +gen_export_1([F|_]) when is_list(F) -> gen_export2(get(F)); -gen_export(F) when is_list(F) -> +gen_export_1(F) when is_list(F) -> gen_export2(get(F)). gen_export2(#func{name=Name,alt={vector,VecPos,Vec}}) -> @@ -192,19 +247,27 @@ gen_export2(#func{name=Name,params=As0}) -> Args = lists:filter(fun(Arg) -> func_arg(Arg) =/= skip end, As0), erl_func_name(Name) ++ "/" ++ integer_to_list(length(Args)). - -gen_doc([#func{alt={vector,VecPos,Vec}}]) -> +gen_doc([#func{name=Name, alt={vector,VecPos,Vec}}]) -> #func{type=T,params=As} = get(Vec), {As1,As2} = lists:split(VecPos, As), Args1 = case args(fun func_arg/1, ",", As1) of [] -> []; Else -> Else++"," end, Args2 = args(fun func_arg/1, ",", As2), - w("%% @spec (~s{~s}) -> ~s~n",[Args1,Args2,doc_return_types(T,As)]), - w("%% @equiv ~s(~s)~n",[erl_func_name(Vec), Args1++Args2]); + w("%% @spec (~s{~s}) -> ~s~n",[Args1,Args2,doc_return_types(T,As, doc)]), + w("%% @equiv ~s(~s)~n",[erl_func_name(Vec), Args1++Args2]), + SA1 = case doc_arg_types(As1, spec) of [] -> []; E -> E++"," end, + SA2 = doc_arg_types(As2, spec), + w("-spec ~s(~s{~s}) -> ~s.~n", + [erl_func_name(Name), SA1, SA2, + doc_return_types(T,As, spec)]); + gen_doc([#func{name=Name,type=T,params=As,alt=Alt}|_]) -> - w("%% @spec (~s) -> ~s~n", [doc_arg_types(As),doc_return_types(T,As)]), + w("%% @spec (~s) -> ~s~n", [doc_arg_types(As, doc),doc_return_types(T,As, doc)]), GLDoc = "http://www.opengl.org/sdk/docs/man/xhtml/", w("%% @doc See <a href=\"~s~s.xml\">external</a> documentation.~n", - [GLDoc, doc_name(Name,Alt)]). + [GLDoc, doc_name(Name,Alt)]), + w("-spec ~s(~s) -> ~s.~n", + [erl_func_name(Name), doc_arg_types(As, spec), doc_return_types(T,As, spec)]). + gen_func(#func{name=Name,alt={vector,VecPos,Vec}}) -> #func{params=As} = get(Vec), @@ -222,9 +285,9 @@ gen_func(_F=#func{name=Name,type=T,params=As,id=MId}) -> {StrArgs,_} = marshal_args(PreAs), case have_return_vals(T,As) of true -> - w(" wxe_util:call(~p, <<~s>>)", [MId, StrArgs]); + w(" call(~p, <<~s>>)", [MId, StrArgs]); false -> - w(" wxe_util:cast(~p, <<~s>>)", [MId, StrArgs]) + w(" cast(~p, <<~s>>)", [MId, StrArgs]) end. func_arg(#arg{in=In,where=W,name=Name,type=Type}) @@ -242,60 +305,65 @@ func_arg(#arg{in=In,where=W,name=Name,type=Type}) end; func_arg(_) -> skip. -doc_arg_types(Ps0) -> +doc_arg_types(Ps0, Type) -> Ps = [P || P=#arg{in=In, where=Where} <- Ps0,In =/= false, Where =/= c], - args(fun doc_arg_type/1, ",", Ps). + args(fun(Arg) -> doc_arg_type(Arg, Type) end, ",", Ps). -doc_return_types(T, Ps0) -> +doc_return_types(T, Ps0, Type) -> Ps = [P || P=#arg{in=In, where=Where} <- Ps0,In =/= true, Where =/= c], - doc_return_types2(T, Ps). - -doc_return_types2(void, []) -> "ok"; -doc_return_types2(void, [#arg{type=T}]) -> doc_arg_type2(T); -doc_return_types2(T, []) -> doc_arg_type2(T); -doc_return_types2(void, Ps) -> - "{" ++ args(fun doc_arg_type/1,",",Ps) ++ "}"; -doc_return_types2(T, Ps) -> - "{" ++ doc_arg_type2(T) ++ "," ++ args(fun doc_arg_type/1,",",Ps) ++ "}". - -doc_arg_type(#arg{name=Name,type=T}) -> + doc_return_types2(T, Ps, Type). + +doc_return_types2(void, [], _) -> "ok"; +doc_return_types2(void, [#arg{type=T}], _) -> doc_arg_type2(T); +doc_return_types2(T, [], _) -> doc_arg_type2(T); +doc_return_types2(void, Ps, Type) -> + "{" ++ args(fun(Arg) -> doc_arg_type(Arg, Type) end,",",Ps) ++ "}"; +doc_return_types2(T, Ps, Type) -> + "{" ++ doc_arg_type2(T) ++ "," ++ + args(fun(Arg) -> doc_arg_type(Arg, Type) end,",",Ps) ++ "}". + +doc_arg_type(#arg{name=Name,type=T}, doc) -> try erl_arg_name(Name) ++ "::" ++ doc_arg_type2(T) catch _:Error -> io:format("Error: ~p ~p~n~p~n",[Name, Error, erlang:get_stacktrace()]), exit(error) + end; +doc_arg_type(#arg{name=Name,type=T}, spec) -> + try + doc_arg_type2(T) + catch _:Error -> + io:format("Error spec: ~p ~p~n~p~n",[Name, Error, erlang:get_stacktrace()]), + exit(error) end. + doc_arg_type2(T=#type{single=true}) -> doc_arg_type3(T); doc_arg_type2(T=#type{single=undefined}) -> doc_arg_type3(T); doc_arg_type2(T=#type{single={tuple,undefined}}) -> "{" ++ doc_arg_type3(T) ++ "}"; -doc_arg_type2(T=#type{single={tuple,_Sz}}) -> - "{" ++ doc_arg_type3(T) ++ "}"; +doc_arg_type2(T=#type{single={tuple,Sz}}) -> + "{" ++ args(fun doc_arg_type3/1, ",", lists:duplicate(Sz,T)) ++ "}"; doc_arg_type2(T=#type{single=list}) -> "[" ++ doc_arg_type3(T) ++ "]"; -doc_arg_type2(T=#type{single={list, Max}}) when is_integer(Max) -> +doc_arg_type2(T=#type{single={list, _Max}}) -> "[" ++ doc_arg_type3(T) ++ "]"; -doc_arg_type2(_T=#type{single={list,null}}) -> - "string()"; -doc_arg_type2(T=#type{base=string}) -> - doc_arg_type3(T); doc_arg_type2(T=#type{single={list,_,_}}) -> "[" ++ doc_arg_type3(T) ++ "]"; -doc_arg_type2(T=#type{single={tuple_list,_TSz}}) -> - "[{" ++ doc_arg_type3(T) ++ "}]". +doc_arg_type2(T=#type{single={tuple_list,Sz}}) -> + "[{" ++ args(fun doc_arg_type3/1, ",", lists:duplicate(Sz,T)) ++ "}]". doc_arg_type3(#type{name="GLenum"}) -> "enum()"; doc_arg_type3(#type{name="GLclamp"++_}) -> "clamp()"; doc_arg_type3(#type{base=int}) -> "integer()"; doc_arg_type3(#type{base=float}) -> "float()"; -doc_arg_type3(#type{base=guard_int}) -> "offset()|binary()"; +doc_arg_type3(#type{base=guard_int}) -> "offset()|mem()"; doc_arg_type3(#type{base=string}) -> "string()"; doc_arg_type3(#type{base=bool}) -> "0|1"; doc_arg_type3(#type{base=binary}) -> "binary()"; -doc_arg_type3(#type{base=memory}) -> "wx:wx_mem()". +doc_arg_type3(#type{base=memory}) -> "mem()". guard_test(As) -> Str = args(fun(#arg{name=N,type=#type{base=guard_int}}) -> @@ -309,10 +377,10 @@ guard_test(As) -> end. pre_marshal([#arg{name=N,in=true,type=#type{base=binary}}|R]) -> - w(" wxe_util:send_bin(~s),~n", [erl_arg_name(N)]), + w(" send_bin(~s),~n", [erl_arg_name(N)]), pre_marshal(R); pre_marshal([#arg{name=N,type=#type{base=memory}}|R]) -> - w(" wxe_util:send_bin(~s#wx_mem.bin),~n", [erl_arg_name(N)]), + w(" send_bin(~s),~n", [erl_arg_name(N)]), pre_marshal(R); pre_marshal([A=#arg{name=N,type=#type{base=string,single=list}}|R]) -> %% With null terminations @@ -588,6 +656,7 @@ gen_debug(GL, GLU) -> w("].~n~n", []), close(). + printd([F|R],Mod) when is_list(F) -> printd(F,Mod), printd(R,Mod); diff --git a/lib/wx/api_gen/glapi.conf b/lib/wx/api_gen/glapi.conf index f9ed7a1065..525ccf8b68 100644 --- a/lib/wx/api_gen/glapi.conf +++ b/lib/wx/api_gen/glapi.conf @@ -29,8 +29,35 @@ "glMatrixIndexPointerARB", "glPixelTransformParameter", %% OpengGL 3.0 - %"glGetTransformFeedbackVarying", %% Jobbiga - %"glTransformFeedbackVaryings", + + %% ARB + "glCreateSyncFromCLeventARB", % _cl_context _cl_event ?? + "glDebugMessageCallbackARB", + + "glGetn", %* + "glReadnPixels", %* + + "glVertexP2", %* + "glVertexP3", %* + "glVertexP4", %* + "glTexCoordP1", %* + "glTexCoordP2", %* + "glTexCoordP3", %* + "glTexCoordP4", %* + "glMultiTexCoordP1", %* + "glMultiTexCoordP2", %* + "glMultiTexCoordP3", %* + "glMultiTexCoordP4", %* + "glNormalP3", %* + "glColorP3", %* + "glColorP4", %* + "glSecondaryColorP3", %* + "glVertexAttribP1", %* + "glVertexAttribP2", %* + "glVertexAttribP3", %* + "glVertexAttribP4", %* + + "glGetActiveSubroutineUniformiv", %% Bad API don't know what to allocate needs to ask %% EXT %% By default skip these extensions @@ -136,11 +163,12 @@ {"glRect", [{"v1", {single,{tuple,2}}},{"v2", {single,{tuple,2}}}]}. -{"glGetString", {"result", {single,{list,null}}}}. +{"glGetString", {"result", string}}. {"glGetBooleanv", {"params", {single,{list,16}}}}. {"glGetDoublev", {"params", {single,{list,16}}}}. {"glGetFloatv", {"params", {single,{list,16}}}}. {"glGetIntegerv", {"params", {single,{list,16}}}}. +{"glGetInteger64v", {"params", {single,{list,16}}}}. {"glFeedbackBuffer", {"buffer", [{base,memory}, in]}}. {"glSelectBuffer", {"buffer", [{base,memory}, in]}}. @@ -174,24 +202,24 @@ {"glGetActiveAttribARB", [{"length",[skip,{single, true}]}, {"size", {single, true}}, {"type", {single, true}}, - {"name", {single, {list,"maxLength","length"}}} + {"name", {string,"maxLength","length"}} ]}. {"glGetActiveAttrib", [{"length",[skip,{single, true}]}, {"size", {single, true}}, {"type", {single, true}}, - {"name", {single, {list,"bufSize","length"}}} + {"name", {string,"bufSize","length"}} ]}. {"glGetActiveUniformARB", [{"length",[skip,{single, true}]}, {"size", {single, true}}, {"type", {single, true}}, - {"name", {single, {list,"maxLength","length"}}} + {"name", {string,"maxLength","length"}} ]}. {"glGetActiveUniform", [{"length",[skip,{single, true}]}, {"size", {single, true}}, {"type", {single, true}}, - {"name", {single, {list,"bufSize","length"}}} + {"name", {string,"bufSize","length"}} ]}. {"glGetAttachedShaders", [{"count", [skip,{single,true}]}, @@ -201,18 +229,18 @@ {"glGetProgramiv", {"params", {single,true}}}. {"glGetProgramInfoLog", [{"length", [skip,{single,true}]}, - {"infoLog", {single, {list,"bufSize","length"}}} + {"infoLog", {string,"bufSize","length"}} ]}. {"glGetShaderiv", {"params", {single,true}}}. {"glGetShaderInfoLog", [{"length", [skip,{single,true}]}, - {"infoLog", {single, {list,"bufSize","length"}}} + {"infoLog", {string,"bufSize","length"}} ]}. {"glGetShaderSourceARB", [{"length", [skip,{single,true}]}, - {"source", {single, {list,"maxLength","length"}}} + {"source", {string,"maxLength","length"}} ]}. {"glGetShaderSource", [{"length", [skip,{single,true}]}, - {"source", {single, {list,"bufSize","length"}}} + {"source", {string,"bufSize","length"}} ]}. @@ -239,7 +267,7 @@ {"glMatrixIndex", [{"size",{c_only,{length,"indices"}}}, {"indices", {single,list}}]}. -{"glProgramStringARB", [{"len",{c_only,{constant,"stringLen"}}}, +{"glProgramStringARB", [{"len",{c_only,{length,"string"}}}, {"string",[{base,string},{single,true}]}]}. {"glGetProgramStringARB", {"string", [in,{base,memory}]}}. {"glGenProgramsARB", {"programs", {single,{list,"n","n"}}}}. @@ -250,7 +278,7 @@ {"glGetProgramLocalParameter", {"params", {single,{tuple,4}}}}. {"glGetObjectParameter", {"params", {single,true}}}. {"glGetInfoLogARB", [{"length", [skip,{single,true}]}, - {"infoLog", {single, {list,"maxLength","length"}}} + {"infoLog", {string,"maxLength","length"}} ]}. {"glGetAttachedObjectsARB", [{"count", [skip,{single,true}]}, {"obj", {single, {list,"maxCount","count"}}} @@ -280,9 +308,10 @@ {"objW",[{single,true},out]}]}. {"gluBuild", {"data", [binary]}}. {"gluScaleImage", [{"dataIn", [in, binary]}, {"dataOut", [in, {base, memory}]}]}. -{"gluCheckExtension", [{"extName", {single, list}}, {"extString", {single, list}}]}. -{"gluErrorString", {"result", {single, {list,null}}}}. -{"gluGetString", {"result", {single, {list,null}}}}. +{"gluCheckExtension", [{"extName", string}, + {"extString", string}]}. +{"gluErrorString", {"result", string}}. +{"gluGetString", {"result", string}}. {"gluDeleteQuadric", {"quad", in}}. {"gluQuadric", {"quad", in}}. @@ -291,15 +320,21 @@ {"gluDisk", {"quad", in}}. {"gluCylinder", {"quad", in}}. -%% OpenGL 3.0 +%% OpenGL 3.0 and later {"glGetBooleani_v", {"data", {single,{list,16}}}}. {"glGetIntegeri_v", {"data", {single,{list,16}}}}. +{"glGetFloati_v", {"data", {single,{list,16}}}}. +{"glGetDoublei_v", {"data", {single,{list,16}}}}. +{"glGetInteger64i_v", {"data", {single,{list,16}}}}. + +{"glGetBufferParameteriv", {"params", {single,{list,16}}}}. +{"glGetBufferParameteri64v", {"params", {single,{list,16}}}}. {"glTransformFeedbackVaryings", [{"count", {c_only,{length,"varyings"}}}, {"varyings", [{base,string}, {single,list}]}]}. -{"glGetTransformFeedbackVarying", [{"size", {single, true}},{"type", {single, true}}, +{"glGetTransformFeedbackVarying", [{"size", {single, true}},{"type", {single, true}}, {"length", [skip, {single, true}]}, - {"name", {single, {list,"bufSize","length"}}}]}. + {"name", {string,"bufSize","length"}}]}. {"glGenRenderbuffers", {"renderbuffers", {single,{list,"n","n"}}}}. @@ -327,7 +362,133 @@ {"params", [out, {single, {list, "uniformIndicesLen", "uniformIndicesLen"}}]}]}. {"glGetActiveUniformName", [{"length",[skip,{single, true}]}, - {"uniformName", {single, {list,"bufSize","length"}}}]}. + {"uniformName", {string,"bufSize","length"}}]}. {"glGetActiveUniformBlockName", [{"length",[skip,{single, true}]}, - {"uniformBlockName", {single, {list,"bufSize","length"}}}]}. + {"uniformBlockName", {string,"bufSize","length"}}]}. {"glGetActiveUniformBlockiv", {"params", [in, {base,memory}]}}. + + +{"glGetSynciv", [{"values", {single, {list, "bufSize","length"}}}, + {"length", [skip,{single, true}]}]}. + +{"glGetMultisamplefv", {"val", [out, {single, {tuple,2}}]}}. + + +{"glNamedStringARB", [{"stringlen", {c_only, {length, "string"}}}, + {"namelen", {c_only, {length, "name"}}}]}. +{"glDeleteNamedStringARB", [{"namelen", {c_only, {length, "name"}}}]}. +{"glIsNamedStringARB", [{"namelen", {c_only, {length, "name"}}}]}. +{"glGetNamedStringARB",[{"namelen", {c_only, {length, "name"}}}, + {"stringlen",[skip,{single, true}]}, + {"string", {string,"bufSize","stringlen"}}]}. +{"glGetNamedStringivARB",[{"namelen", {c_only, {length, "name"}}}, + {"params", [out, {single, true}]}]}. +{"glCompileShaderIncludeARB", [{"length", {c_only,{constant,"NULL"}}}, + {"count", {c_only,{length,"path"}}}, + {"path", {single,list}}]}. + + +{"glGenSamplers", {"samplers", {single, {list,"count","count"}}}}. +{"glDeleteSamplers", [{"count", {c_only, {length, "samplers"}}}, + {"samplers", {single, list}}]}. +{"glGetSamplerParameter", {"params", {single, {list, 4}}}}. +{"glSamplerParameterI", {"param", {single, list}}}. +{"glSamplerParameterfv", {"param", {single, list}}}. +{"glSamplerParameteriv", {"param", {single, list}}}. + +%{"glGetActiveSubroutineUniformiv", {"values", }}. +{"glGetActiveSubroutineUniformName", [{"length",[skip,{single, true}]}, + {"name", {string,"bufsize","length"}}]}. +{"glGetActiveSubroutineName", [{"length",[skip,{single, true}]}, + {"name", {string,"bufsize","length"}}]}. +{"glGetProgramStageiv", {"values", {single, true}}}. +{"glUniformSubroutinesuiv", [{"count",{c_only,{length,"indices"}}},{"indices", {single, list}}]}. + +{"glGenTransformFeedbacks", {"ids", {single, {list,"n","n"}}}}. +{"glDeleteTransformFeedbacks", [{"n", {c_only, {length, "ids"}}}, + {"ids", {single, list}}]}. + +{"glPatchParameterfv", {"values", {single, list}}}. + + +{"glGetQueryIndexediv", {"params", {single, true} }}. +{"glShaderBinary", [{"count", {c_only, {length, "shaders"}}}, + {"length", {c_only, {size, "binary"}}}, + {"shaders", {single, list}}, + {"binary", binary} + ]}. +{"glGetShaderPrecisionFormat", [{"range", {single, {tuple, 2}}}, + {"precision", {single, true}}]}. + +{"glGetProgramBinary", [{"length",[skip,{single, true}]}, + {"binary", [out, {binary, "bufSize", "length"}]}, + {"binaryFormat", {single, true}}]}. +{"glProgramBinary", [{"binary", binary}, {"length", {c_only, {size, "binary"}}}]}. + +{"glGenProgramPipelines", {"pipelines", {single, {list,"n","n"}}}}. +{"glDeleteProgramPipelines", [{"n", {c_only, {length, "pipelines"}}}, + {"pipelines", {single, list}}]}. + +{"glCreateShaderProgramv", [{"count", {c_only, {length, "strings"}}}, + {"strings", {single, list}}]}. +{"glGetProgramPipelineInfoLog", [{"length", [skip,{single, true}]}, + {"infoLog", {string,"bufSize","length"}}]}. +{"glGetProgramPipelineiv", {"params", {single, true}}}. + + +%% {"glCreateSyncFromCLeventARB", {"context", }}. + +{"glDebugMessageControlARB", [{"count", {c_only, {length, "ids"}}}, + {"ids", {single, list}}]}. +{"glDebugMessageInsertARB", {"length", {c_only, {length, "buf"}}}}. +{"glGetDebugMessageLogARB", [{"sources", {single, {list, "count", "result"}}}, + {"types", {single, {list, "count", "result"}}}, + {"ids", {single, {list, "count", "result"}}}, + {"severities", {single, {list, "count", "result"}}}, + {"lengths", [{c_only, undefined}, {single, {list, "count", "result"}}]}, + {"messageLog", [{string, "bufsize", "lengths"}, + {single, {list, "bufsize", "result"}}]}]}. + + +{"glUniformMatrix2dv", [{"count",{c_only,{length,"value"}}},{"value", [{single,{tuple_list,4}}]}]}. +{"glUniformMatrix3dv", [{"count",{c_only,{length,"value"}}},{"value", [{single,{tuple_list,9}}]}]}. +{"glUniformMatrix4dv", [{"count",{c_only,{length,"value"}}},{"value", [{single,{tuple_list,16}}]}]}. +{"glUniformMatrix2x3dv", [{"count",{c_only,{length,"value"}}},{"value", [{single,{tuple_list,6}}]}]}. +{"glUniformMatrix3x2dv", [{"count",{c_only,{length,"value"}}},{"value", [{single,{tuple_list,6}}]}]}. +{"glUniformMatrix2x4dv", [{"count",{c_only,{length,"value"}}},{"value", [{single,{tuple_list,8}}]}]}. +{"glUniformMatrix4x2dv", [{"count",{c_only,{length,"value"}}},{"value", [{single,{tuple_list,8}}]}]}. +{"glUniformMatrix3x4dv", [{"count",{c_only,{length,"value"}}},{"value", [{single,{tuple_list,12}}]}]}. +{"glUniformMatrix4x3dv", [{"count",{c_only,{length,"value"}}},{"value", [{single,{tuple_list,12}}]}]}. + +{"glProgramUniform1", [{"count",{c_only,{length,"value"}}}, {"value", [{single,list}]}]}. +{"glProgramUniform2", [{"count",{c_only,{length,"value"}}}, {"value", [{single,{tuple_list,2}}]}]}. +{"glProgramUniform3", [{"count",{c_only,{length,"value"}}}, {"value", [{single,{tuple_list,3}}]}]}. +{"glProgramUniform4", [{"count",{c_only,{length,"value"}}}, {"value", [{single,{tuple_list,4}}]}]}. + +{"glProgramUniformMatrix2fv", [{"count",{c_only,{length,"value"}}},{"value", [{single,{tuple_list,4}}]}]}. +{"glProgramUniformMatrix2dv", [{"count",{c_only,{length,"value"}}},{"value", [{single,{tuple_list,4}}]}]}. +{"glProgramUniformMatrix3dv", [{"count",{c_only,{length,"value"}}},{"value", [{single,{tuple_list,9}}]}]}. +{"glProgramUniformMatrix3fv", [{"count",{c_only,{length,"value"}}},{"value", [{single,{tuple_list,9}}]}]}. +{"glProgramUniformMatrix4dv", [{"count",{c_only,{length,"value"}}},{"value", [{single,{tuple_list,16}}]}]}. +{"glProgramUniformMatrix4fv", [{"count",{c_only,{length,"value"}}},{"value", [{single,{tuple_list,16}}]}]}. +{"glProgramUniformMatrix2x3fv", [{"count",{c_only,{length,"value"}}},{"value", [{single,{tuple_list,6}}]}]}. +{"glProgramUniformMatrix3x2fv", [{"count",{c_only,{length,"value"}}},{"value", [{single,{tuple_list,6}}]}]}. +{"glProgramUniformMatrix2x4fv", [{"count",{c_only,{length,"value"}}},{"value", [{single,{tuple_list,8}}]}]}. +{"glProgramUniformMatrix4x2fv", [{"count",{c_only,{length,"value"}}},{"value", [{single,{tuple_list,8}}]}]}. +{"glProgramUniformMatrix3x4fv", [{"count",{c_only,{length,"value"}}},{"value", [{single,{tuple_list,12}}]}]}. +{"glProgramUniformMatrix4x3fv", [{"count",{c_only,{length,"value"}}},{"value", [{single,{tuple_list,12}}]}]}. + +{"glProgramUniformMatrix2x3dv", [{"count",{c_only,{length,"value"}}},{"value", [{single,{tuple_list,6}}]}]}. +{"glProgramUniformMatrix3x2dv", [{"count",{c_only,{length,"value"}}},{"value", [{single,{tuple_list,6}}]}]}. +{"glProgramUniformMatrix2x4dv", [{"count",{c_only,{length,"value"}}},{"value", [{single,{tuple_list,8}}]}]}. +{"glProgramUniformMatrix4x2dv", [{"count",{c_only,{length,"value"}}},{"value", [{single,{tuple_list,8}}]}]}. +{"glProgramUniformMatrix3x4dv", [{"count",{c_only,{length,"value"}}},{"value", [{single,{tuple_list,12}}]}]}. +{"glProgramUniformMatrix4x3dv", [{"count",{c_only,{length,"value"}}},{"value", [{single,{tuple_list,12}}]}]}. + +{"glViewportArrayv", [{"count",{c_only,{length,"v"}}}, {"v", [{single,{tuple_list,4}}]}]}. +{"glViewportIndexedfv", {"v", {single,{tuple,4}}}}. +{"glScissorArrayv", [{"count",{c_only,{length,"v"}}}, {"v", [{single,{tuple_list,4}}]}]}. +{"glScissorIndexedv", {"v", {single,{tuple,4}}}}. +{"glDepthRangeArrayv", [{"count",{c_only,{length,"v"}}}, {"v", [{single,{tuple_list,2}}]}]}. + + diff --git a/lib/wx/api_gen/wx_doxygen.conf b/lib/wx/api_gen/wx_doxygen.conf index 1fc57486e6..df150fd154 100644 --- a/lib/wx/api_gen/wx_doxygen.conf +++ b/lib/wx/api_gen/wx_doxygen.conf @@ -8,7 +8,7 @@ PROJECT_NUMBER = 0.1 OUTPUT_DIRECTORY = ./ CREATE_SUBDIRS = NO OUTPUT_LANGUAGE = English -USE_WINDOWS_ENCODING = NO +#USE_WINDOWS_ENCODING = NO BRIEF_MEMBER_DESC = YES REPEAT_BRIEF = YES ABBREVIATE_BRIEF = @@ -20,7 +20,7 @@ STRIP_FROM_INC_PATH = SHORT_NAMES = NO JAVADOC_AUTOBRIEF = NO MULTILINE_CPP_IS_BRIEF = NO -DETAILS_AT_TOP = NO +# DETAILS_AT_TOP = NO INHERIT_DOCS = YES DISTRIBUTE_GROUP_DOC = NO SEPARATE_MEMBER_PAGES = NO @@ -73,11 +73,11 @@ WARN_LOGFILE = # configuration options related to the input files #--------------------------------------------------------------------------- INPUT = @WXGTK_DIR@/wx/ wx_extra/ -#FILE_PATTERNS = *.h +# FILE_PATTERNS = *.h RECURSIVE = YES EXCLUDE = EXCLUDE_SYMLINKS = NO -EXCLUDE_PATTERNS = mac/* mgl/* msw/* os2/* x11/* gtk1/* cocoa/* motif/* msdos/* palmos/* private/* +EXCLUDE_PATTERNS = mac/* mgl/* msw/* os2/* x11/* gtk1/* cocoa/* motif/* msdos/* palmos/* private/* vms_x_fix.h EXAMPLE_PATH = EXAMPLE_PATTERNS = EXAMPLE_RECURSIVE = NO @@ -176,10 +176,11 @@ PERLMOD_MAKEVAR_PREFIX = #--------------------------------------------------------------------------- ENABLE_PREPROCESSING = YES MACRO_EXPANSION = YES -EXPAND_ONLY_PREDEF = NO +EXPAND_ONLY_PREDEF = YES SEARCH_INCLUDES = YES INCLUDE_PATH = INCLUDE_FILE_PATTERNS = + PREDEFINED = \ wxUSE_MENUS=1 \ wxUSE_TOOLBAR=1 \ @@ -215,6 +216,7 @@ PREDEFINED = \ wxUSE_LISTBOX=1 \ wxUSE_BMPBUTTON=1 \ wxUSE_CHECKBOX=1 \ + wxUSE_CHECKLISTBOX=1 \ wxUSE_TREECTRL=1 \ wxUSE_LISTCTRL=1 \ wxUSE_BOOKCTRL=1 \ @@ -251,15 +253,17 @@ PREDEFINED = \ wxUSE_CLIPBOARD=1 \ wxABI_VERSION=20809 \ __WXGTK24__=1 \ + __WXGTK20__=1 \ __WXGTK__=1 \ + wxCHECKLBOX_CHECKED="" \ WXDLLEXPORT="" # WXWIN_COMPATIBILITY_2_6=1 \ - -EXPAND_AS_DEFINED = YES + +EXPAND_AS_DEFINED = WX_FORWARD_TO_SCROLL_HELPER SKIP_FUNCTION_MACROS = YES #--------------------------------------------------------------------------- -# Configuration::additions related to external references +# Configuration::additions related to external references #--------------------------------------------------------------------------- TAGFILES = GENERATE_TAGFILE = @@ -285,9 +289,6 @@ DIRECTORY_GRAPH = YES DOT_IMAGE_FORMAT = png DOT_PATH = DOTFILE_DIRS = -MAX_DOT_GRAPH_WIDTH = 1024 -MAX_DOT_GRAPH_HEIGHT = 1024 -MAX_DOT_GRAPH_DEPTH = 0 DOT_TRANSPARENT = NO DOT_MULTI_TARGETS = NO GENERATE_LEGEND = YES diff --git a/lib/wx/api_gen/wx_extra/wxListCtrl.c_src b/lib/wx/api_gen/wx_extra/wxListCtrl.c_src index cd3074e481..54d6fafd01 100644 --- a/lib/wx/api_gen/wx_extra/wxListCtrl.c_src +++ b/lib/wx/api_gen/wx_extra/wxListCtrl.c_src @@ -1,3 +1,161 @@ +%% +%% %CopyrightBegin% +%% +%% Copyright Ericsson AB 2011. All Rights Reserved. +%% +%% The contents of this file are subject to the Erlang Public License, +%% Version 1.1, (the "License"); you may not use this file except in +%% compliance with the License. You should have received a copy of the +%% Erlang Public License along with this software. If not, it can be +%% retrieved online at http://www.erlang.org/. +%% +%% Software distributed under the License is distributed on an "AS IS" +%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See +%% the License for the specific language governing rights and limitations +%% under the License. +%% +%% %CopyrightEnd% +%% + + +<<wxListCtrl_class +class EwxListCtrl : public wxListCtrl { + public: ~EwxListCtrl(); + EwxListCtrl(wxWindow * parent,wxWindowID winid,const wxPoint& pos,const wxSize& size,long style,const wxValidator& validator) : wxListCtrl(parent,winid,pos,size,style,validator) {}; + EwxListCtrl() : wxListCtrl() {}; + + int onGetItemText; + int onGetItemAttr; + int onGetItemColumnImage; + ErlDrvPort port; + + private: + virtual wxString OnGetItemText(long item, long col) const; + virtual wxListItemAttr* OnGetItemAttr(long item) const; + virtual int OnGetItemImage(long item) const; + virtual int OnGetItemColumnImage(long item, long column) const; +}; +wxListCtrl_class>> + +<<wxListCtrl_new_0 +case ~s: { // wxListCtrl::wxListCtrl + wxListCtrl * Result = new EwxListCtrl(); + newPtr((void *) Result, 0, memenv); + rt.addRef(getRef((void *)Result,memenv), "wxListCtrl"); + break; +} +wxListCtrl_new_0>> + +<<wxListCtrl_new_2 +case ~s: { // wxListCtrl::wxListCtrl + wxWindowID winid=wxID_ANY; + wxPoint pos= wxDefaultPosition; + wxSize size= wxDefaultSize; + long style=wxLC_ICON; + const wxValidator * validator= &wxDefaultValidator; + wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; + int onGetItemText = 0, onGetItemAttr = 0, onGetItemColumnImage = 0; + + bp += 4; /* Align */ + while( * (int*) bp) { switch (* (int*) bp) { + case 1: {bp += 4; + winid = (wxWindowID)*(int *) bp; bp += 4; + } break; + case 2: {bp += 4; + int * posX = (int *) bp; bp += 4; + int * posY = (int *) bp; bp += 4; + pos = wxPoint(*posX,*posY); + bp += 4; /* Align */ + } break; + case 3: {bp += 4; + int * sizeW = (int *) bp; bp += 4; + int * sizeH = (int *) bp; bp += 4; + size = wxSize(*sizeW,*sizeH); + bp += 4; /* Align */ + } break; + case 4: {bp += 4; + style = (long)*(int *) bp; bp += 4; + } break; + case 5: {bp += 4; +validator = (wxValidator *) getPtr(bp,memenv); bp += 4; + } break; + case 6: {bp += 4; + onGetItemText = *(int *) bp; bp += 4; + } break; + case 7: {bp += 4; + onGetItemAttr = *(int *) bp; bp += 4; + } break; + case 8: {bp += 4; + onGetItemColumnImage = *(int *) bp; bp += 4; + } break; + }}; + EwxListCtrl * Result = new EwxListCtrl(parent,winid,pos,size,style,*validator); + Result->onGetItemText = onGetItemText; + Result->onGetItemAttr = onGetItemAttr; + Result->onGetItemColumnImage = onGetItemColumnImage; + Result->port = Ecmd.port; + newPtr((void *) Result, 0, memenv); + rt.addRef(getRef((void *)Result,memenv), "wxListCtrl"); + break; +} +wxListCtrl_new_2>> + +<<Create +case ~s: { // wxListCtrl::Create + wxWindowID winid=wxID_ANY; + wxPoint pos= wxDefaultPosition; + wxSize size= wxDefaultSize; + long style=wxLC_ICON; + const wxValidator * validator= &wxDefaultValidator; + EwxListCtrl *This = (EwxListCtrl *) getPtr(bp,memenv); bp += 4; + wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; + int onGetItemText = 0, onGetItemAttr = 0, onGetItemColumnImage = 0; + + bp += 4; /* Align */ + while( * (int*) bp) { switch (* (int*) bp) { + case 1: {bp += 4; + winid = (wxWindowID)*(int *) bp; bp += 4; + } break; + case 2: {bp += 4; + int * posX = (int *) bp; bp += 4; + int * posY = (int *) bp; bp += 4; + pos = wxPoint(*posX,*posY); + bp += 4; /* Align */ + } break; + case 3: {bp += 4; + int * sizeW = (int *) bp; bp += 4; + int * sizeH = (int *) bp; bp += 4; + size = wxSize(*sizeW,*sizeH); + bp += 4; /* Align */ + } break; + case 4: {bp += 4; + style = (long)*(int *) bp; bp += 4; + } break; + case 5: {bp += 4; +validator = (wxValidator *) getPtr(bp,memenv); bp += 4; + } break; + case 6: {bp += 4; + onGetItemText = *(int *) bp; bp += 4; + } break; + case 7: {bp += 4; + onGetItemAttr = *(int *) bp; bp += 4; + } break; + case 8: {bp += 4; + onGetItemColumnImage = *(int *) bp; bp += 4; + } break; + }}; + if(!This) throw wxe_badarg(0); + bool Result = This->Create(parent,winid,pos,size,style,*validator); + This->onGetItemText = onGetItemText; + This->onGetItemAttr = onGetItemAttr; + This->onGetItemColumnImage = onGetItemColumnImage; + This->port = Ecmd.port; + + rt.addBool(Result); + break; +} +Create>> + <<SortItems case ~s: { // wxListCtrl::SortItems taylormade wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; @@ -22,3 +180,6 @@ case ~s: { // wxListCtrl::SortItems taylormade break; } SortItems>> + + + diff --git a/lib/wx/api_gen/wx_extra/wxListCtrl.erl b/lib/wx/api_gen/wx_extra/wxListCtrl.erl index e6470182cb..99255bc53f 100644 --- a/lib/wx/api_gen/wx_extra/wxListCtrl.erl +++ b/lib/wx/api_gen/wx_extra/wxListCtrl.erl @@ -1,32 +1,33 @@ %% %% %CopyrightBegin% -%% -%% Copyright Ericsson AB 2009. All Rights Reserved. -%% +%% +%% Copyright Ericsson AB 2011. All Rights Reserved. +%% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in %% compliance with the License. You should have received a copy of the %% Erlang Public License along with this software. If not, it can be %% retrieved online at http://www.erlang.org/. -%% +%% %% Software distributed under the License is distributed on an "AS IS" %% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See %% the License for the specific language governing rights and limitations %% under the License. -%% +%% %% %CopyrightEnd% %% + <<EXPORT:SortItems sortItems/2 SortItems:EXPORT>> <<SortItems %% @spec (This::wxListCtrl(), SortCallBack::function()) -> boolean() %% @doc Sort the items in the list control<br /> -%% <pre>SortCalBack(Item1,Item2) -> integer()</pre> +%% <pre>SortCallBack(Item1,Item2) -> integer()</pre> %% <br /> SortCallBack receives the client data associated with two items %% to compare, and should return 0 if the items are equal, a negative %% value if the first item is less than the second one and a positive %% value if the first item is greater than the second one. -%% <br /> NOTE: The callback may not call other processes. +%% <br /> NOTE: The callback may not call other (wx) processes. sortItems(#wx_ref{type=ThisT,ref=ThisRef}, SortCallBack) when is_function(SortCallBack, 2) -> ?CLASS(ThisT,wxListCtrl), @@ -37,3 +38,100 @@ sortItems(#wx_ref{type=ThisT,ref=ThisRef}, SortCallBack) SortId = wxe_util:get_cbId(Sort), wxe_util:call(~s, <<ThisRef:32/?UI,SortId:32/?UI>>). SortItems>> + +<<EXPORT:wxListCtrl new/0, new/1, new/2 wxListCtrl:EXPORT>> + +<<wxListCtrl_new_0 +%% @spec () -> wxListCtrl() +%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlwxlistctrl">external documentation</a>. +new() -> + wxe_util:construct(~s, <<>>). +wxListCtrl_new_0>> + +<<wxListCtrl_new_2 +%% @spec (Parent::wxWindow:wxWindow()) -> wxListCtrl() +%% @equiv new(Parent, []) +new(Parent) + when is_record(Parent, wx_ref) -> + new(Parent, []). + +%% @spec (Parent::wxWindow:wxWindow(), [Option]) -> wxListCtrl() +%% Option = {winid, integer()} | +%% {pos, {X::integer(),Y::integer()}} | +%% {size, {W::integer(),H::integer()}} | +%% {style, integer()} | +%% {validator, wx:wx()} | +%% {onGetItemText, OnGetItemText} | +%% {onGetItemAttr, OnGetItemAttr} | +%% {onGetItemColumnImage, OnGetItemColumnImage} +%% +%% OnGetItemText = (This, Item, Column) -> wxString() +%% OnGetItemAttr = (This, Item) -> wxListItemAttr() +%% OnGetItemColumnImage = (This, Item, Column) -> integer() +%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlwxlistctrl">external documentation</a>. + +new(#wx_ref{type=ParentT,ref=ParentRef}, Options) + when is_list(Options)-> + ?CLASS(ParentT,wxWindow), + MOpts = fun({winid, Winid}, Acc) -> [<<1:32/?UI,Winid:32/?UI>>|Acc]; + ({pos, {PosX,PosY}}, Acc) -> [<<2:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc]; + ({size, {SizeW,SizeH}}, Acc) -> [<<3:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc]; + ({style, Style}, Acc) -> [<<4:32/?UI,Style:32/?UI>>|Acc]; + ({validator, #wx_ref{type=ValidatorT,ref=ValidatorRef}}, Acc) -> + ?CLASS(ValidatorT,wx),[<<5:32/?UI,ValidatorRef:32/?UI>>|Acc]; + ({onGetItemText, F}, Acc) when is_function(F) -> + Fun = fun([This,Item,Col]) -> unicode:characters_to_binary([F(This,Item,Col),0]) end, + [<<6:32/?UI,(wxe_util:get_cbId(Fun)):32/?UI>>|Acc]; + ({onGetItemAttr, F}, Acc) when is_function(F) -> + Fun = fun([This,Item]) -> + #wx_ref{type=wxListItemAttr,ref=ThisRef} = F(This,Item), + <<ThisRef:32/?UI>> + end, + [<<7:32/?UI,(wxe_util:get_cbId(Fun)):32/?UI>>|Acc]; + ({onGetItemColumnImage, F}, Acc) when is_function(F) -> + Fun = fun([This,Item, Col]) -> <<(F(This,Item,Col)):32/?I>> end, + [<<8:32/?UI,(wxe_util:get_cbId(Fun)):32/?UI>>|Acc]; + (BadOpt, _) -> erlang:error({badoption, BadOpt}) end, + BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)), + wxe_util:construct(~s, <<ParentRef:32/?UI, 0:32,BinOpt/binary>>). + +wxListCtrl_new_2>> + +<<EXPORT:Create create/2, create/3 Create:EXPORT>> + +<<Create +%% @spec (This::wxListCtrl(), Parent::wxWindow:wxWindow()) -> bool() +%% @equiv create(This,Parent, []) +create(This,Parent) + when is_record(This, wx_ref),is_record(Parent, wx_ref) -> + create(This,Parent, []). + +%% @spec (This::wxListCtrl(), Parent::wxWindow:wxWindow(), [Option]) -> bool() +%% Option = {winid, integer()} | +%% {pos, {X::integer(),Y::integer()}} | +%% {size, {W::integer(),H::integer()}} | +%% {style, integer()} | +%% {validator, wx:wx()} | +%% {onGetItemText, OnGetItemText} | +%% {onGetItemAttr, OnGetItemAttr} | +%% {onGetItemColumnImage, OnGetItemColumnImage} +%% +%% OnGetItemText = (This, Item, Column) -> wxString() +%% OnGetItemAttr = (This, Item) -> wxListItemAttr() +%% OnGetItemColumnImage = (This, Item, Column) -> integer() +%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlcreate">external documentation</a>. +create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}, Options) + when is_list(Options) -> + ?CLASS(ThisT,wxListCtrl), + ?CLASS(ParentT,wxWindow), + MOpts = fun({winid, Winid}, Acc) -> [<<1:32/?UI,Winid:32/?UI>>|Acc]; + ({pos, {PosX,PosY}}, Acc) -> [<<2:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc]; + ({size, {SizeW,SizeH}}, Acc) -> [<<3:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc]; + ({style, Style}, Acc) -> [<<4:32/?UI,Style:32/?UI>>|Acc]; + ({validator, #wx_ref{type=ValidatorT,ref=ValidatorRef}}, Acc) -> ?CLASS(ValidatorT,wx),[<<5:32/?UI,ValidatorRef:32/?UI>>|Acc]; + (BadOpt, _) -> erlang:error({badoption, BadOpt}) end, + BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)), + wxe_util:call(~s, + <<ThisRef:32/?UI,ParentRef:32/?UI, BinOpt/binary>>). + +Create>> diff --git a/lib/wx/api_gen/wx_gen.erl b/lib/wx/api_gen/wx_gen.erl index 2ed4476440..209de48496 100644 --- a/lib/wx/api_gen/wx_gen.erl +++ b/lib/wx/api_gen/wx_gen.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2011. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -30,6 +30,12 @@ -compile(export_all). +-define(DBGCF(Class, Func, Format, Args), + case {get(current_class), get(current_func)} of + {Class, Func} -> io:format("~p:~p: " ++ Format, [?MODULE,?LINE] ++ Args); + _ -> ok + end). + code() -> safe(fun gen_code/0,true). xml() -> safe(fun gen_xml/0,true). @@ -38,7 +44,7 @@ devcode() -> erase(),safe(fun gen_code/0,false). safe(What, QuitOnErr) -> try What(), - io:format("Completed succesfully~n~n", []), + io:format("Completed successfully~n~n", []), QuitOnErr andalso gen_util:halt(0) catch Err:Reason -> io:format("Error in ~p ~p~n", [get(current_class),get(current_func)]), @@ -255,19 +261,24 @@ parse_attr(Defs, Class, Ev, Info = #hs{acc=AccList0}) -> parse_attr1([{{attr,_}, #xmlElement{content=C, attributes=Attrs}}|R], AttrList0, Opts, Res) -> Parse = fun(Con, Ac) -> parse_param(Con, Opts, Ac) end, Param0 = foldl(Parse, #param{}, drop_empty(C)), - case keysearch(prot, #xmlAttribute.name, Attrs) of - {value, #xmlAttribute{value = "public"}} -> - {Acc,AttrList} = attr_acc(Param0, AttrList0), - parse_attr1(R,AttrList,Opts, - [Param0#param{in=false,prot=public,acc=Acc}|Res]); - {value, #xmlAttribute{value = "protected"}} -> - {Acc,AttrList} = attr_acc(Param0, AttrList0), - parse_attr1(R,AttrList,Opts, - [Param0#param{in=false,prot=protected,acc=Acc}|Res]); - {value, #xmlAttribute{value = "private"}} -> - {Acc,AttrList} = attr_acc(Param0, AttrList0), - parse_attr1(R,AttrList,Opts, - [Param0#param{in=false,prot=private,acc=Acc}|Res]) + case Param0 of + #param{where=nowhere} -> + parse_attr1(R,AttrList0,Opts,Res); + _ -> + case keysearch(prot, #xmlAttribute.name, Attrs) of + {value, #xmlAttribute{value = "public"}} -> + {Acc,AttrList} = attr_acc(Param0, AttrList0), + parse_attr1(R,AttrList,Opts, + [Param0#param{in=false,prot=public,acc=Acc}|Res]); + {value, #xmlAttribute{value = "protected"}} -> + {Acc,AttrList} = attr_acc(Param0, AttrList0), + parse_attr1(R,AttrList,Opts, + [Param0#param{in=false,prot=protected,acc=Acc}|Res]); + {value, #xmlAttribute{value = "private"}} -> + {Acc,AttrList} = attr_acc(Param0, AttrList0), + parse_attr1(R,AttrList,Opts, + [Param0#param{in=false,prot=private,acc=Acc}|Res]) + end end; parse_attr1([{_Id,_}|R],AttrList,Info, Res) -> parse_attr1(R,AttrList,Info, Res); @@ -591,17 +602,17 @@ parse_param(#xmlElement{name=array,content=C},_Opts, T = #param{type=Type0}) -> [#xmlText{value=RealVar}] = C, [Name] = string:tokens(RealVar, "() "), T#param{name=Name}; -%% #type{mod=[const]} -> -%% T#param{type=Type0#type{single=array, by_val=true}}; -%% _ -> -%% T#param{type=Type0#type{single=array, by_val=false}} _ -> T#param{type=Type0#type{single=array, by_val=true}} end; parse_param(#xmlElement{name=name,content=[C]}, _, T) -> %% Attributes have this - #xmlText{value=Name} = C, - T#param{name=Name}; + case C of + #xmlText{value=Name="ms_classInfo"} -> + T#param{name=Name, where=nowhere}; + #xmlText{value=Name} -> + T#param{name=Name} + end; %% Skipped: Attributes have this parse_param(#xmlElement{name=definition}, _, T) -> T; parse_param(#xmlElement{name=argsstring}, _, T) -> T; @@ -610,6 +621,7 @@ parse_param(#xmlElement{name=detaileddescription}, _, T) -> T; parse_param(#xmlElement{name=inbodydescription}, _, T) -> T; parse_param(#xmlElement{name=location}, _, T) -> T; parse_param(#xmlElement{name=referencedby}, _, T) -> T; +parse_param(#xmlElement{name=reimplements}, _, T) -> T; parse_param(Other=#xmlElement{name=Name}, _, T) -> io:format("Unhandled Param ~p ~p ~n in ~p~n", [Name,Other,T]), ?error(unhandled_param). @@ -881,7 +893,7 @@ add_method2(M0=#method{name=Name,params=Ps0,type=T0},#class{name=CName,parent=Pa id = next_id(func_id), pre_hook = get_opt(pre_hook, Name, length(Ps), Opts), post_hook = get_opt(post_hook, Name, length(Ps), Opts), - doc = get_opt(doc, Name, length(Ps), Opts) + doc = get_opt(doc, Name, length(Ps), Opts) }, M = case Name of CName -> @@ -951,17 +963,17 @@ erl_skip_opt(All=[Ms=[{_,{Len,_,_},_}|_]|R],Acc1=[{_,{N,_,_},_}|_], Acc2) -> end; erl_skip_opt([],Acc1,Acc2) -> [strip_ti(Acc1)|Acc2]. -erl_skip_opt2([F={_,{N,In,_},M=#method{where=Where}}|Ms],Acc1,Acc2,Check) -> +erl_skip_opt2([F={_,{N,In,_},M=#method{where=Where}}|Ms],Acc1,Acc2,Check) -> case N > 0 andalso lists:last(In) =:= opt_list of - true when Where =/= merged_c, Where =/= taylormade -> - case Check of - [] -> + true when Where =/= merged_c, Where =/= taylormade -> + case Check of + [] -> erl_skip_opt2(Ms,[F|Acc1],[M#method{where=erl_no_opt}|Acc2],[]); - _ -> + _ -> Skipped = reverse(tl(reverse(In))), T = fun({_,{_,Args,_},_}) -> true =:= types_differ(Skipped,Args) end, case lists:all(T, Check) of - true -> + true -> erl_skip_opt2(Ms,[F|Acc1], [M#method{where=erl_no_opt}|Acc2], Check); @@ -970,7 +982,7 @@ erl_skip_opt2([F={_,{N,In,_},M=#method{where=Where}}|Ms],Acc1,Acc2,Check) -> end end; _ -> - erl_skip_opt2(Ms,[F|Acc1],Acc2,[]) + erl_skip_opt2(Ms,[F|Acc1],Acc2,Check) end; erl_skip_opt2([],Acc1,Acc2,_) -> {Acc1,Acc2}. @@ -1019,7 +1031,6 @@ types_differ([{class,C1}|R1], [{class,C2}|R2]) -> true -> true; false -> -%% _ -> {class,C1,C2}; {class,C1,C2} -> {class,C1,C2}; @@ -1274,11 +1285,11 @@ extract_enum(#xmlElement{name=memberdef,content=C}, Class, File) -> undefined -> %% io:format("1Enum name ~p~n", [Name]), %% [io:format(" ~s ~p~n", [D,V]) || {D,V} <- Vals], - put({enum, Name}, #enum{vals=Vals}); + put({enum, Name}, #enum{vals=Vals, from={File,Class,Name0}}); E = #enum{vals=undefined} -> %% io:format("2Enum name ~p~n", [Name]), %% [io:format(" ~s ~p~n", [D,V]) || {D,V} <- Vals], - put({enum, Name}, E#enum{vals=Vals}); + put({enum, Name}, E#enum{vals=Vals, from={File,Class,Name0}}); #enum{vals=Vals} -> ok; %% io:format("Same? ~p ~n", [PVals == Vals]) #enum{vals=OldVals} -> @@ -1352,7 +1363,7 @@ extract_defs(Defs, File) -> {Vals,_Skip} -> %% io:format("Defs file ~p~n", [File]), %% [io:format(" ~s ~p~n", [D,V]) || {D,V} <- Vals, not is_integer(V)] - put({enum, {define,"From " ++ File ++ ".h"}}, #enum{vals=Vals}) + put({enum, {define,"From " ++ File ++ ".h"}}, #enum{vals=Vals, from={File, undefined, "@define"}}) end. extract_defs2(#xmlElement{name=memberdef,content=C},{Acc,Skip}) -> diff --git a/lib/wx/api_gen/wx_gen.hrl b/lib/wx/api_gen/wx_gen.hrl index b34d399358..426e3adfae 100644 --- a/lib/wx/api_gen/wx_gen.hrl +++ b/lib/wx/api_gen/wx_gen.hrl @@ -1,19 +1,19 @@ %% %% %CopyrightBegin% -%% -%% Copyright Ericsson AB 2008-2009. All Rights Reserved. -%% +%% +%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in %% compliance with the License. You should have received a copy of the %% Erlang Public License along with this software. If not, it can be %% retrieved online at http://www.erlang.org/. -%% +%% %% Software distributed under the License is distributed on an "AS IS" %% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See %% the License for the specific language governing rights and limitations %% under the License. -%% +%% %% %CopyrightEnd% -record(class, { @@ -43,9 +43,9 @@ id = undefined, % Id (integer) doc, % Extra documentation virtual, % Is virtual? - pre_hook, % Pre hook before call in c-code - post_hook % Post hook after call in c-code - } + pre_hook = [], % Pre hook before call in c-code + post_hook = [] % Post hook after call in c-code + } ). -record(param, @@ -72,7 +72,7 @@ } ). --record(enum, {skip="", as_atom=false, vals}). +-record(enum, {from, skip="", as_atom=false, vals}). -record(const,{name,val,enum,is_const}). -define(error(What), diff --git a/lib/wx/api_gen/wx_gen_cpp.erl b/lib/wx/api_gen/wx_gen_cpp.erl index 9e9f8799c7..4632fdbffe 100644 --- a/lib/wx/api_gen/wx_gen_cpp.erl +++ b/lib/wx/api_gen/wx_gen_cpp.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2011. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -19,7 +19,7 @@ %%%------------------------------------------------------------------- %%% File : wx_gen_cpp.erl %%% Author : Dan Gudmundsson <[email protected]> -%%% Description : +%%% Description : %%% %%% Created : 19 Feb 2007 by Dan Gudmundsson <[email protected]> %%%------------------------------------------------------------------- @@ -35,7 +35,7 @@ args/3, strip_name/2]). -import(wx_gen, [next_id/1]). -gen(Defs) -> +gen(Defs) -> open_write("../c_src/gen/wxe_derived_dest.h"), c_copyright(), w("~n/***** This file is generated do not edit ****/~n~n", []), @@ -49,48 +49,26 @@ gen(Defs) -> open_write("../c_src/gen/wxe_macros.h"), c_copyright(), - gen_macros(), + gen_macros(), close(), open_write("../c_src/gen/wxe_init.cpp"), c_copyright(), build_enums(), close(), - + build_events(), Res. - + gen_derived_dest(Defs) -> [gen_derived_dest_2(Class) || Class <- Defs], - - UglySkipList = ["wxCaret", "wxCalendarDateAttr", - "wxFileDataObject", "wxTextDataObject", "wxBitmapDataObject" - ], - - ?WTC("gen_derived_dest"), - w("void WxeApp::delete_object(void *ptr, wxeRefData *refd) {~n", []), - w(" switch(refd->type) {~n", []), - Case = fun(#class{name=Class, id=Id, abstract=IsAbs, parent=P}) when P /= "static" -> - UglyWorkaround = lists:member(Class, UglySkipList), - case hd(reverse(wx_gen_erl:parents(Class))) of - root when IsAbs == false, UglyWorkaround == false -> - w(" case ~p: delete (~s *) ptr; break;~n", [Id, Class]); - root when IsAbs == false, UglyWorkaround == true -> - w(" case ~p: /* delete (~s *) ptr;" - "These objects must be deleted by owner object */ " - "break;~n", [Id, Class]); - _ -> ok - end; - (_) -> ok - end, - [Case(Class) || Class <- Defs], - w(" default: delete (wxObject *) ptr;~n", []), - w("}}~n~n", []). + ok. gen_derived_dest_2(C=#class{name=Class}) -> - case is_derived(C) of - true -> - ?WTC("gen_derived_dest_2"), + ?WTC("gen_derived_dest_2"), + Derived = is_derived(C), + TaylorMade = taylormade_class(C), + if Derived andalso (TaylorMade =:= false) -> w("class E~s : public ~s {~n",[Class,Class]), case Class of "wxGLCanvas" -> %% Special for cleaning up gl context @@ -101,15 +79,32 @@ gen_derived_dest_2(C=#class{name=Class}) -> end, gen_constructors(C), w("};~n~n", []); - false -> + TaylorMade /= false -> + w("~s~n", [TaylorMade]); + true -> ignore end. +taylormade_class(#class{name=CName, methods=Ms}) -> + TaylorMade = lists:any(fun([#method{where=taylormade}|_]) -> true; + (_) -> false + end, Ms), + case TaylorMade of + false -> false; + true -> + {ok, Bin} = file:read_file(filename:join([wx_extra, CName ++".c_src"])), + Src = binary_to_list(Bin), + case gen_util:get_taylor_made(Src, CName ++ "_class") of + nomatch -> false; + {match, [Str0]} -> Str0 + end + end. + gen_constructors(#class{name=Class, methods=Ms0}) -> Ms = lists:append(Ms0), Cs = lists:filter(fun(#method{method_type=MT}) -> MT =:= constructor end, Ms), [gen_constructor(Class, Const) || Const <- Cs]. - + gen_constructor(_Class, #method{where=merged_c}) -> ok; gen_constructor(_Class, #method{where=erl_no_opt}) -> ok; gen_constructor(Class, _M=#method{params=Ps}) -> @@ -119,7 +114,7 @@ gen_constructor(Class, _M=#method{params=Ps}) -> HaveMergedType = fun(#param{type={merged,_,_,_,_,_,_}}) -> true; (_) -> false end, ?WTC("gen_constructor"), case lists:any(HaveMergedType, Ps) of - false -> + false -> w(" E~s(~s) : ~s(~s) {};~n", [Class,args(Gen1,",",Ps),Class,args(CallA,",",Ps)]); true -> @@ -141,9 +136,9 @@ gen_type(#type{name=Type, ref=undefined, single=array, mod=Mod},_) -> mods(Mod) ++ to_string(Type) ++ " * "; gen_type(#type{name=Type, ref=undefined, mod=Mod},_) -> mods(Mod) ++ to_string(Type) ++ " "; -gen_type({merged, _, T1, _,_, _T2,_}, 1) -> +gen_type({merged, _, T1, _,_, _T2,_}, 1) -> gen_type(T1,error); -gen_type({merged, _, _T1,_, _, T2,_}, 2) -> +gen_type({merged, _, _T1,_, _, T2,_}, 2) -> gen_type(T2,error). gen_funcs(Defs) -> @@ -152,6 +147,7 @@ gen_funcs(Defs) -> w("#include \"../wxe_impl.h\"~n"), w("#include \"../wxe_events.h\"~n"), w("#include \"../wxe_return.h\"~n"), + w("#include \"../wxe_gl.h\"~n"), w("#include \"wxe_macros.h\"~n"), w("#include \"wxe_derived_dest.h\"~n~n"), @@ -167,7 +163,7 @@ gen_funcs(Defs) -> %% w(" case WXE_REMOVE_PORT:~n", []), %% w(" { destroyMemEnv(Ecmd.port); } break;~n", []), w(" case DESTROY_OBJECT: {~n"), - w(" wxObject *This = (wxObject *) getPtr(bp,memenv); "), + w(" wxObject *This = (wxObject *) getPtr(bp,memenv); "), w(" if(This) {"), w(" ((WxeApp *) wxTheApp)->clearPtr((void *) This);~n"), w(" delete This; }~n } break;~n"), @@ -176,6 +172,9 @@ gen_funcs(Defs) -> " rt.addAtom(\"ok\");~n" " break;~n" " }~n"), + w(" case WXE_BIN_INCR:~n driver_binary_inc_refc(Ecmd.bin[0]->bin);~n break;~n",[]), + w(" case WXE_BIN_DECR:~n driver_binary_dec_refc(Ecmd.bin[0]->bin);~n break;~n",[]), + w(" case WXE_INIT_OPENGL:~n wxe_initOpenGL(rt, bp);~n break;~n",[]), Res = [gen_class(Class) || Class <- Defs], @@ -199,16 +198,39 @@ gen_funcs(Defs) -> w(" error.addTupleCount(2);~n"), w(" error.addTupleCount(3);~n"), w(" error.send();~n"), - w("}} /* The End */~n"), + w("}} /* The End */~n~n~n"), + + UglySkipList = ["wxCaret", "wxCalendarDateAttr", + "wxFileDataObject", "wxTextDataObject", "wxBitmapDataObject" + ], + + w("void WxeApp::delete_object(void *ptr, wxeRefData *refd) {~n", []), + w(" switch(refd->type) {~n", []), + Case = fun(#class{name=Class, id=Id, abstract=IsAbs, parent=P}) when P /= "static" -> + UglyWorkaround = lists:member(Class, UglySkipList), + case hd(reverse(wx_gen_erl:parents(Class))) of + root when IsAbs == false, UglyWorkaround == false -> + w(" case ~p: delete (~s *) ptr; break;~n", [Id, Class]); + root when IsAbs == false, UglyWorkaround == true -> + w(" case ~p: /* delete (~s *) ptr;" + "These objects must be deleted by owner object */ " + "break;~n", [Id, Class]); + _ -> ok + end; + (_) -> ok + end, + [Case(Class) || Class <- Defs], + w(" default: delete (wxObject *) ptr;~n", []), + w("}}~n~n", []), Res. - + gen_class(C=#class{name=Name,methods=Ms,options=Opts}) -> put(current_class, Name), - NewMs = + NewMs = case lists:member(taylormade, Opts) of true -> {ok, Bin} = file:read_file(filename:join([wx_extra,Name++".c_src"])), - ?WTC("gen_class"), + ?WTC("gen_class"), w("~s~n", [binary_to_list(Bin)]), Ms; false -> @@ -216,13 +238,13 @@ gen_class(C=#class{name=Name,methods=Ms,options=Opts}) -> {value, {ifdef, What}} -> w("#if ~p~n",[What]), Methods = lists:flatten(Ms), - MsR = [gen_method(Name,M) || + MsR = [gen_method(Name,M) || M <- lists:keysort(#method.id, Methods)], w("#endif // ~p~n",[What]), MsR; false -> Methods = lists:flatten(Ms), - [gen_method(Name,M) || + [gen_method(Name,M) || M <- lists:keysort(#method.id, Methods)] end end, @@ -230,15 +252,19 @@ gen_class(C=#class{name=Name,methods=Ms,options=Opts}) -> C#class{methods=NewMs}. gen_method(_CName, M=#method{where=erl_no_opt}) -> M; -gen_method(CName, M=#method{where=taylormade, name=Name, id=Id}) -> +gen_method(CName, M=#method{where=taylormade, name=Name, id=Id}) -> {ok, Bin} = file:read_file(filename:join([wx_extra, CName ++".c_src"])), - Str0 = binary_to_list(Bin), + Src = binary_to_list(Bin), %% io:format("C++ Class ~p ~p~n", [CName, Name]), - - {match, [Str1]} = re:run(Str0, "<<"++Name++"(.*)"++Name++">>", - [dotall, {capture, all_but_first, list}]), + Str = case gen_util:get_taylor_made(Src, Name) of + nomatch -> + {match, [Str0]} = gen_util:get_taylor_made(Src, wx_gen_erl:get_unique_name(Id)), + Str0; + {match, [Str0]} -> + Str0 + end, ?WTC("gen_method"), - w(Str1, [wx_gen_erl:get_unique_name(Id)]), + w(Str, [wx_gen_erl:get_unique_name(Id)]), M; gen_method(CName, M=#method{name=N,params=[Ps],method_type=destructor,id=MethodId}) -> case hd(reverse(wx_gen_erl:parents(CName))) of @@ -249,7 +275,7 @@ gen_method(CName, M=#method{name=N,params=[Ps],method_type=destructor,id=MethodI w(" if(This) {", []), w(" ((WxeApp *) wxTheApp)->clearPtr((void *) This);~n", []), w(" delete This;}~n", []), - free_args(), + free_args(), w(" break;~n}~n", []); object -> %% Use default ignore @@ -262,16 +288,16 @@ gen_method(CName, M=#method{name=N,params=Ps0,type=T,method_type=MT,id=MethodId w("case ~s: { // ~s::~s~n", [wx_gen_erl:get_unique_name(MethodId),CName,N]), Ps1 = declare_variables(void, Ps0), {Ps2,Align} = decode_arguments(Ps1), - Opts = [Opt || Opt = #param{def=Def,in=In,where=Where} <- Ps2, + Opts = [Opt || Opt = #param{def=Def,in=In,where=Where} <- Ps2, Def =/= none, In =/= false, Where =/= c], decode_options(Opts, Align), - case M#method.pre_hook of - undefined -> skip; + case gen_util:get_hook(c, M#method.pre_hook) of + ignore -> skip; Pre -> w(" ~s;~n", [Pre]) end, Ps3 = call_wx(N,{MT,CName},T,Ps2), - case M#method.post_hook of - undefined -> skip; + case gen_util:get_hook(c, M#method.post_hook) of + ignore -> skip; Post -> w(" ~s;~n", [Post]) end, free_args(), @@ -288,7 +314,7 @@ declare_variables(T, Ps) -> declare_var(P = #param{where=erl}) -> P; declare_var(P = #param{where=this}) -> P; -declare_var(P = #param{name=Name,def=Def,type=Type,in=true}) when Def =/= none -> +declare_var(P = #param{name=Name,def=Def,type=Type,in=true}) when Def =/= none -> declare_type(Name, true, Def, Type), P; declare_var(P = #param{in=In}) when In =/= false -> P; @@ -300,7 +326,7 @@ declare_type(N,false,_,#type{name="wxArrayInt"}) -> w(" wxArrayInt ~s;~n", [N]); declare_type(N,false,_,#type{name="wxArrayString"}) -> w(" wxArrayString ~s;~n", [N]); -declare_type(N,false,_,#type{base=Base,single=true,name=Type,by_val=false,mod=Mod}) +declare_type(N,false,_,#type{base=Base,single=true,name=Type,by_val=false,mod=Mod}) when Base =:= int; Base =:= long; Base =:= float; Base =:= double -> w(" ~s~s ~s;~n", [mods(Mod),Type,N]); declare_type(N,false,_,#type{base={enum,_},single=true,name=Type,by_val=false,mod=Mod}) -> @@ -311,7 +337,7 @@ declare_type(N,false,_,#type{name="wxDateTime"}) -> w(" wxDateTime ~s;~n", [N]); declare_type(N,false,_,#type{name=Type, base=int64, ref=reference}) -> w(" ~s ~s;~n", [Type,N]); -declare_type(N,true,Def,#type{base=Base,single=true,name=Type,by_val=true}) +declare_type(N,true,Def,#type{base=Base,single=true,name=Type,by_val=true}) when Base =:= int; Base =:= long; Base =:= float; Base =:= double; Base =:= bool -> w(" ~s ~s=~s;~n", [Type,N,Def]); declare_type(N,true,Def,#type{base={comp,_,_},single=true,name=Type,mod=Mod,ref={pointer,1}}) -> @@ -324,7 +350,7 @@ declare_type(N,true,Def,#type{base={class,_},single=true,name=Type,ref={pointer, w(" ~s~s * ~s=~s;~n", [mods(Mod),Type,N,Def]); declare_type(N,true,Def,#type{base={class,_},single=true,name=Type,ref=reference,mod=Mod}) -> w(" ~s~s * ~s= &~s;~n", [mods(Mod),Type,N,Def]); -declare_type(N,true,Def,#type{base=Base,single=true,name=Type,by_val=false,ref={pointer,1}}) +declare_type(N,true,Def,#type{base=Base,single=true,name=Type,by_val=false,ref={pointer,1}}) when Base =:= int; Base =:= long; Base =:= float; Base =:= double; Base =:= bool -> w(" ~s *~s=~s;~n", [Type,N,Def]); declare_type(N,true,Def,#type{single=true,name="wxArtClient"}) -> @@ -341,7 +367,7 @@ declare_type(N,true,Def,#type{name=Type, ref={pointer,2}}) -> %% xxxx w(" ~s ** ~s = ~s;~n", [Type,N,Def]); declare_type(N,true,Def,#type{name=Type, single=array, ref={pointer,1}}) -> - w(" int * ~sLen = 0;~n", [N]), + w(" int * ~sLen = 0;~n", [N]), w(" ~s * ~s = ~s;~n", [Type,N,Def]); declare_type(N,true,"",#type{name="wxArrayString", single=array, ref=reference}) -> w(" wxArrayString ~s;~n", [N]); @@ -359,12 +385,12 @@ decode_options(Opts, Align) -> decode_opt(#param{name=Name,type=Type}, N) -> w(" case ~p: {bp += 4;~n", [N]), - Align = decode_arg(Name,Type,opt,1), + Align = decode_arg(Name,Type,opt,1), align(Align, 64), w(" } break;~n", []), N+1. -decode_arguments(Ps0) -> +decode_arguments(Ps0) -> lists:mapfoldl(fun decode_arg/2,0,Ps0). store_free(N) -> @@ -376,7 +402,7 @@ store_free(N) -> free_args() -> case get(free_args) of undefined -> ignore; - List -> + List -> erase(free_args), [w(" driver_free(~s);~n", [Arg]) || Arg <- List] end. @@ -384,7 +410,7 @@ free_args() -> decode_arg(P = #param{where=erl},A) -> {P,A}; decode_arg(P = #param{where=c},A) -> {P,A}; decode_arg(P = #param{in=false},A) -> {P,A}; -decode_arg(P = #param{def=Def},A) when Def =/= none -> {P,A}; +decode_arg(P = #param{def=Def},A) when Def =/= none -> {P,A}; decode_arg(P = #param{name=Name,type=Type},A0) -> A = decode_arg(Name, Type, arg, A0), {P, A}. @@ -422,22 +448,22 @@ decode_arg(N,#type{base=float,single=true,name=Type},arg,A0) -> align(A0,32); decode_arg(N,#type{base=double,single=true,name=Type},Arg,A0) -> A = align(A0,64), - case Arg of + case Arg of arg -> w(" ~s * ~s = (~s *) bp; bp += 8;~n", [Type,N,Type]); opt -> w(" ~s = * (~s *) bp; bp += 8;~n", [N,Type]) end, A; decode_arg(N,#type{base=bool,single=true,name=Type},Arg,A0) -> - case Arg of + case Arg of arg -> w(" bool * ~s = (~s *) bp; bp += 4;~n", [N,Type]); opt -> w(" ~s = *(~s *) bp; bp += 4;~n", [N,Type]) end, align(A0,32); decode_arg(N,#type{base={enum,Type},single=true},Arg,A0) -> - wa(" ~s ", [enum_type(Type)], "~s = *(~s *) bp; bp += 4;;~n",[N, enum_type(Type)], Arg), + wa(" ~s ", [enum_type(Type)], "~s = *(~s *) bp; bp += 4;;~n",[N, enum_type(Type)], Arg), align(A0,32); decode_arg(N,#type{base={comp,"wxDateTime",List},single=true,name=Type,ref=Ref},Arg,A0) -> - Decl = fun({int,Spec}) -> + Decl = fun({int,Spec}) -> w(" int * ~s~s = (int *) bp; bp += 4;~n", [N,Spec]) end, align(A0,32), @@ -448,15 +474,15 @@ decode_arg(N,#type{base={comp,"wxDateTime",List},single=true,name=Type,ref=Ref}, end, case Arg of arg -> w(" ~s ~s = ~s(~s);~n", [Type,N,Type,args(Name, ",", List)]); - opt when Ref =:= {pointer,1} -> - w(" ~sTmp = ~s(~s); ~s = & ~sTmp;~n", + opt when Ref =:= {pointer,1} -> + w(" ~sTmp = ~s(~s); ~s = & ~sTmp;~n", [N,Type,args(Name, ",", List), N,N]); opt -> w(" ~s = ~s(~s);~n", [N,Type,args(Name, ",", List)]) end, (A0+length(List)) rem 2; decode_arg(N,#type{base={comp,_,List},single=true,name=Type,ref=Ref},Arg,A0) -> - Decl = fun({int,Spec}) -> + Decl = fun({int,Spec}) -> w(" int * ~s~s = (int *) bp; bp += 4;~n", [N,Spec]); ({double, Spec}) -> w(" wxDouble * ~s~s = (wxDouble *) bp; bp += 8;~n", [N,Spec]) @@ -469,8 +495,8 @@ decode_arg(N,#type{base={comp,_,List},single=true,name=Type,ref=Ref},Arg,A0) -> Name = fun({_,Spec}) -> "*"++N++Spec end, case Arg of arg -> w(" ~s ~s = ~s(~s);~n", [Type,N,Type,args(Name, ",", List)]); - opt when Ref =:= {pointer,1} -> - w(" ~sTmp = ~s(~s); ~s = & ~sTmp;~n", + opt when Ref =:= {pointer,1} -> + w(" ~sTmp = ~s(~s); ~s = & ~sTmp;~n", [N,Type,args(Name, ",", List), N,N]); opt -> w(" ~s = ~s(~s);~n", [N,Type,args(Name, ",", List)]) @@ -479,7 +505,7 @@ decode_arg(N,#type{base={comp,_,List},single=true,name=Type,ref=Ref},Arg,A0) -> {int, _} -> (A0+length(List)) rem 2; {double, _} -> 0 end; - + decode_arg(N,#type{name=Class="wxTreeItemId",single=true},Arg,A0) -> A = align(A0,64), wa(" ~s ",[Class],"~s = wxTreeItemId((void *) *(wxUint64 *) bp); bp += 8;~n",[N],Arg), @@ -488,7 +514,7 @@ decode_arg(N,#type{name=Class="wxTreeItemIdValue",single=true},Arg,A0) -> A = align(A0,64), wa(" ~s ",[Class],"~s = (~s) * (wxUint64 *) bp; bp += 8;~n",[N,Class],Arg), A; -decode_arg(N,#type{name="wxChar", single=S},Arg,A0) +decode_arg(N,#type{name="wxChar", single=S},Arg,A0) when S =/= true -> w(" int * ~sLen = (int *) bp; bp += 4;~n", [N]), wa(" wxString", []," ~s = wxString(bp, wxConvUTF8);~n", [N],Arg), @@ -497,7 +523,7 @@ decode_arg(N,#type{name="wxChar", single=S},Arg,A0) decode_arg(N,#type{base=string, name="wxFileName"},Arg,A0) -> w(" int * ~sLen = (int *) bp; bp += 4;~n", [N]), wa(" wxString", []," ~sStr = wxString(bp, wxConvUTF8);~n", [N],Arg), - w(" bp += *~sLen+((8-((~p+ *~sLen) & 7)) & 7);~n", [N,4*((A0+1) rem 2),N]), + w(" bp += *~sLen+((8-((~p+ *~sLen) & 7)) & 7);~n", [N,4*((A0+1) rem 2),N]), w(" wxFileName ~s = wxFileName(~sStr);~n",[N,N]), 0; decode_arg(N,#type{base=string},Arg,A0) -> @@ -537,7 +563,7 @@ decode_arg(N,#type{name="wxArrayDouble"},arg,A0) -> decode_arg(_N,#type{base=eventType},_Arg,A0) -> %% w(" int * ~sLen = (int *) bp; bp += 4;~n", [N]), %% case Arg of -%% arg -> +%% arg -> %% w(" int ~s = wxeEventTypeFromAtom(bp);bp += *~sLen;~n",[N,N]), %% w(" char *class_name = bp;~n", []), %% w(" wxeCallbackData * Evt_cb = new wxeCallbackData(Ecmd.caller,This,class_name);~n", @@ -547,7 +573,7 @@ decode_arg(_N,#type{base=eventType},_Arg,A0) -> decode_arg(N,#type{name=Type,base=binary,mod=Mod0},Arg,A0) -> Mod = mods([M || M <- Mod0]), case Arg of - arg -> + arg -> w(" ~s~s * ~s = (~s~s*) Ecmd.bin[~p]->base;~n", [Mod,Type,N,Mod,Type, next_id(bin_count)]); opt -> @@ -560,10 +586,10 @@ decode_arg(N,#type{base={term,"wxTreeItemData"},mod=Mod0},Arg,A0) -> Type = "wxETreeItemData", BinCnt = next_id(bin_count), case Arg of - arg -> + arg -> w(" ~s~s * ~s = new ~s(Ecmd.bin[~p]->size, Ecmd.bin[~p]->base);~n", [Mod,Type,N,Type,BinCnt,BinCnt]); - opt -> + opt -> w(" ~s = new ~s(Ecmd.bin[~p]->size, Ecmd.bin[~p]->base);~n", [N,Type,BinCnt,BinCnt]) end, @@ -572,10 +598,10 @@ decode_arg(N,#type{name=Type,base={term,_},mod=Mod0},Arg,A0) -> Mod = mods([M || M <- Mod0]), BinCnt = next_id(bin_count), case Arg of - arg -> + arg -> w(" ~s~s * ~s = new ~s(Ecmd.bin[~p]);~n", [Mod,Type,N,Type,BinCnt]); - opt -> + opt -> w(" ~s = new ~s(Ecmd.bin[~p]);~n", [N,Type,BinCnt]) end, @@ -584,17 +610,17 @@ decode_arg(N,#type{single=array,base=int},Arg,A0) -> case Arg of arg -> w(" int * ~sLen = (int *) bp; bp += 4;~n", [N]), - w(" int * ~s = (int *) bp; bp += *~sLen*4+((~p+ *~sLen)%2 )*4;~n", + w(" int * ~s = (int *) bp; bp += *~sLen*4+((~p+ *~sLen)%2 )*4;~n", [N,N,(A0+1) rem 2,N]); - opt -> + opt -> w(" ~sLen = (int *) bp; bp += 4;~n", [N]), - w(" ~s = (int *) bp; bp += *~sLen*4+((~p+ *~sLen)%2 )*4;~n", + w(" ~s = (int *) bp; bp += *~sLen*4+((~p+ *~sLen)%2 )*4;~n", [N,N,(A0+1) rem 2,N]) end, 0; decode_arg(N,#type{by_val=true,single=array,base={comp,Class="wxPoint",_}},arg,A0) -> - w(" int * ~sLen = (int *) bp; bp += 4;~n", [N]), - w(" ~s *~s;~n",[Class,N]), + w(" int * ~sLen = (int *) bp; bp += 4;~n", [N]), + w(" ~s *~s;~n",[Class,N]), w(" ~s = (~s *) driver_alloc(sizeof(~s) * *~sLen);~n",[N,Class,Class,N]), store_free(N), w(" for(int i=0; i < *~sLen; i++) {~n", [N]), @@ -625,13 +651,13 @@ decode_arg(Name,T, Arg,_A) -> align(0, 32) -> 1; align(1, 32) -> 0; align(0, 64) -> 0; -align(1, 64) -> +align(1, 64) -> w(" bp += 4; /* Align */~n"), 0; align(N,Sz) -> align(N rem 2, Sz). -call_wx(_N,{constructor,_},#type{base={class,RClass}},Ps) -> +call_wx(_N,{constructor,_},#type{base={class,RClass}},Ps) -> #class{id=Id} = ClassDef = get({class,RClass}), Class = case is_derived(ClassDef) of true -> "E" ++ RClass; @@ -644,8 +670,8 @@ call_wx(_N,{constructor,_},#type{base={class,RClass}},Ps) -> case is_dialog(RClass) of true -> 2; %% Dialogs must be closed first event before windows false -> 0 - end; - false -> + end; + false -> case hd(reverse(wx_gen_erl:parents(RClass))) of root -> Id; _ -> 1 @@ -678,10 +704,10 @@ call_wx(N,{static,Class},Type,Ps) -> return_res(void) -> {"", ""}; return_res(Type = #type{mod=Mod}) -> case lists:member(const, Mod) of - true -> - {Beg, End} = return_res1(Type), + true -> + {Beg, End} = return_res1(Type), {"const " ++ Beg, End}; - _ -> + _ -> return_res1(Type) end. @@ -691,8 +717,8 @@ return_res1(#type{name=Type,ref={pointer,_}}) -> {Type ++ " * Result = (" ++ Type ++ "*)", ""}; return_res1(#type{name=Type,single=true,ref=reference}) -> {Type ++ " * Result = &", ""}; -return_res1(#type{name=Type,single=true,by_val=true}) - when is_atom(Type) -> +return_res1(#type{name=Type,single=true,by_val=true}) + when is_atom(Type) -> {atom_to_list(Type) ++ " Result = ", ""}; return_res1(#type{name=Type="wxArrayInt"}) -> {Type ++ " Result = ", ""}; @@ -701,19 +727,19 @@ return_res1(#type{name=Type,base={class,_},single=list,ref=reference}) -> return_res1(#type{name=Type,base={comp,_,_},single=array,by_val=true}) -> {Type ++ " Result = ", ""}; return_res1(#type{name=Type,single=true,by_val=true, base={class, _}}) -> - %% Memory leak !!!!!! XXXX BUGBUG FIXME or doument!! - case Type of + %% Memory leak !!!!!! XXXX BUGBUG FIXME or doument!! + case Type of "wxImage" -> ok; "wxFont" -> ok; "wxBitmap" -> ok; "wxIcon" -> ok; "wxGraphics" ++ _ -> ok; _ -> - io:format("~s::~s Building return value of temp ~s~n", + io:format("~s::~s Building return value of temp ~s~n", [get(current_class),get(current_func),Type]) end, %% #class{id=Id} = get({class,Type}), - {Type ++ " * Result = new " ++ Type ++ "(", "); newPtr((void *) Result," + {Type ++ " * Result = new " ++ Type ++ "(", "); newPtr((void *) Result," ++ "3, memenv);"}; return_res1(#type{base={enum,_Type},single=true,by_val=true}) -> {"int Result = " , ""}; @@ -726,7 +752,7 @@ return_res1(#type{name=Type,single=true,by_val=true}) -> filter(Ps) -> lists:filter(fun filter_arg/1, Ps). -filter_arg(#param{where=erl}) -> false; +filter_arg(#param{where=erl}) -> false; filter_arg(#param{where=this}) -> false; filter_arg(#param{}) -> true. %%filter_arg(#param{def=Def, in=In}) -> Def =:= none orelse In =:= false. @@ -735,20 +761,20 @@ filter_arg(#param{}) -> true. call_arg(#param{where=c, alt={length,Alt}}) when is_list(Alt) -> "*" ++ Alt ++ "Len"; call_arg(#param{where=c, alt={size,Id}}) when is_integer(Id) -> - %% It's a binary + %% It's a binary "Ecmd.bin["++ integer_to_list(Id) ++ "]->size"; -call_arg(#param{name=N,def=Def,type=#type{name=Type,by_val=true,single=true,base=Base}}) - when Base =:= int; Base =:= long; Base =:= float; Base =:= double; Base =:= bool -> +call_arg(#param{name=N,def=Def,type=#type{name=Type,by_val=true,single=true,base=Base}}) + when Base =:= int; Base =:= long; Base =:= float; Base =:= double; Base =:= bool -> case Def of none -> "(" ++ to_string(Type) ++ ") *" ++ N; _ -> N end; -call_arg(#param{name=N,type=#type{base={enum,Type}, by_val=true,single=true}}) -> +call_arg(#param{name=N,type=#type{base={enum,Type}, by_val=true,single=true}}) -> "(" ++ enum_type(Type) ++") " ++ N; call_arg(#param{name=N,type=#type{base={class,_},by_val=true,single=true}}) -> "*" ++ N; call_arg(#param{name=N,type=#type{base={class,_},ref=reference,single=true}}) -> "*" ++ N; -call_arg(#param{name=N,type=#type{base=eventType}}) -> +call_arg(#param{name=N,type=#type{base=eventType}}) -> N ++ ", (wxObjectEventFunction)(wxEventFunction) &WxeApp::handle_evt, Evt_cb, this"; call_arg(#param{name=N,type=#type{by_val=true, single=_False}}) -> N; call_arg(#param{name=N,def=Def,type=#type{by_val=false, ref={pointer,2}}}) @@ -756,20 +782,20 @@ call_arg(#param{name=N,def=Def,type=#type{by_val=false, ref={pointer,2}}}) call_arg(#param{name=N,type=#type{by_val=false, ref={pointer,2}}}) -> "&" ++ N; call_arg(#param{name=N,in=false,type=#type{ref=reference, single=true}}) -> N; call_arg(#param{name=N,in=false,type=#type{by_val=false, single=true}}) -> "&" ++ N; -call_arg(#param{name=N,def=Def,type=#type{base={comp,_,_},ref={pointer,1},single=true}}) +call_arg(#param{name=N,def=Def,type=#type{base={comp,_,_},ref={pointer,1},single=true}}) when Def =:= none -> "&" ++N; call_arg(#param{name=N,type=#type{by_val=false}}) -> N; call_arg(#param{name=N,type={merged,_,#type{base={class,_},single=true, by_val=ByVal, - ref=Ref},_,_,_,_}}) - when ByVal =:= true; Ref =:= reference -> + ref=Ref},_,_,_,_}}) + when ByVal =:= true; Ref =:= reference -> "*" ++ N; -call_arg(#param{def=Def, type=void}) when Def =/= none -> Def; +call_arg(#param{def=Def, type=void}) when Def =/= none -> Def; call_arg(#param{name=N,type=#type{base={ref,_},by_val=true,single=true}}) -> N; call_arg(#param{name=N,type={merged,_,_,_,_,_,_}}) -> N. -%% call_arg(#param{name=N,type=#type{base=Tuple,ref=reference}}) +%% call_arg(#param{name=N,type=#type{base=Tuple,ref=reference}}) %% when is_tuple(Tuple) -> "&" ++ N; to_string(Type) when is_atom(Type) -> atom_to_list(Type); @@ -777,19 +803,19 @@ to_string(Type) when is_list(Type) -> Type. virtual_dest(#class{abstract=true, parent="root"}) -> false; virtual_dest(#class{abstract=true, parent="object"}) -> true; -virtual_dest(#class{abstract=true, parent=Parent}) -> +virtual_dest(#class{abstract=true, parent=Parent}) -> virtual_dest(get({class,Parent})); virtual_dest(#class{methods=Ms, parent=Parent}) -> case lists:keysearch(destructor,#method.method_type, lists:append(Ms)) of {value, #method{method_type=destructor, virtual=Virtual}} -> case Virtual of - undefined -> + undefined -> case get({class,Parent}) of - undefined -> + undefined -> case Parent of - "object" -> + "object" -> true; - "root" -> + "root" -> false; _ -> io:format("Error: ~p~n",[Parent]), @@ -798,10 +824,10 @@ virtual_dest(#class{methods=Ms, parent=Parent}) -> PClass -> virtual_dest(PClass) end; - _ -> + _ -> Virtual end; - false -> + false -> false end. @@ -815,24 +841,24 @@ is_derived(#class{abstract=true}) -> false; is_derived(C = #class{}) -> virtual_dest(C). is_window(Class) -> - lists:member("wxWindow", wx_gen_erl:parents(Class)). + lists:member("wxWindow", wx_gen_erl:parents(Class)). is_dialog(Class) -> lists:member("wxDialog", wx_gen_erl:parents(Class)). - + build_return_vals(Type,Ps) -> HaveType = case Type of void -> 0; _ -> 1 end, NoOut = lists:sum([1 || #param{in=In} <- Ps, In =/= true]) + HaveType, OutTupSz = if NoOut > 1 -> NoOut; true -> 0 end, - + build_ret_types(Type,Ps), - if + if OutTupSz > 1 -> w(" rt.addTupleCount(~p);~n",[OutTupSz]); true -> ignore - end, + end, Ps. -build_ret_types(void,Ps) -> +build_ret_types(void,Ps) -> Calc = fun(#param{name=N,in=False,type=T}, Free) when False =/= true -> case build_ret(N, False, T) of ok -> Free; @@ -841,7 +867,7 @@ build_ret_types(void,Ps) -> (_, Free) -> Free end, lists:foldl(Calc, [], Ps); -build_ret_types(Type,Ps) -> +build_ret_types(Type,Ps) -> Free = case build_ret("Result", out, Type) of ok -> []; FreeStr -> [FreeStr] @@ -850,8 +876,8 @@ build_ret_types(Type,Ps) -> case build_ret(N, False, T) of ok -> FreeAcc; FreeMe -> [FreeMe|FreeAcc] - end; - (_, FreeAcc) -> FreeAcc + end; + (_, FreeAcc) -> FreeAcc end, lists:foldl(Calc, Free, Ps). @@ -894,17 +920,17 @@ build_ret(Name,_,#type{name="wxArrayInt"}) -> build_ret(Name,_,#type{base={comp,_,_},single=array}) -> w(" for(unsigned int i=0; i < ~s.GetCount(); i++) {~n", [Name]), w(" rt.add(~s[i]);~n }~n",[Name]), - w(" rt.endList(~s.GetCount());~n",[Name]); + w(" rt.endList(~s.GetCount());~n",[Name]); build_ret(Name,_,#type{name=List,single=list,base={class,Class}}) -> w(" int i=0;~n"), w(" for(~s::const_iterator it = ~s.begin(); it != ~s.end(); ++it) {~n", [List, Name, Name]), w(" ~s * ~sTmp = *it;~n", [Class,Name]), w(" rt.addRef(getRef((void *)~sTmp,memenv), \"~s\"); i++;}~n",[Name,Class]), - w(" rt.endList(~s.GetCount());~n",[Name]); - + w(" rt.endList(~s.GetCount());~n",[Name]); + build_ret(Name,_,#type{name="wxArrayTreeItemIds"}) -> - w(" for(unsigned int i=0; i < ~s.GetCount(); i++) {~n", [Name]), + w(" for(unsigned int i=0; i < ~s.GetCount(); i++) {~n", [Name]), w(" rt.add((wxUIntPtr *)~s[i].m_pItem);}~n",[Name]), w(" rt.endList(~s.GetCount());~n",[Name]); @@ -919,10 +945,10 @@ build_ret(Name,_,#type{name="wxArrayString", single=array}) -> w(" rt.add(~s);~n", [Name]); build_ret(Name,In,T) -> ?error({nyi, Name,In, T}). - + mods([const|R]) -> "const " ++ mods(R); mods([unsigned|R]) -> "unsigned " ++ mods(R); -mods([]) -> "". +mods([]) -> "". build_enums() -> Tree = get(consts), @@ -931,13 +957,13 @@ build_enums() -> w("#include \"../wxe_impl.h\"~n"), w("#include \"wxe_macros.h\"~n"), w("#include \"../wxe_return.h\"~n"), - w("void WxeApp::init_nonconsts(wxeMemEnv *memenv, ErlDrvTermData caller) {~n"), + w("void WxeApp::init_nonconsts(wxeMemEnv *memenv, ErlDrvTermData caller) {~n"), NotConsts = [NC || NC = #const{is_const=false} <- gb_trees:values(Tree)], Size = length(NotConsts), GVars = get(gvars), GSize = length(GVars), w(" wxeReturn rt = wxeReturn(WXE_DRV_PORT, caller);~n"), - w(" rt.addAtom((char*)\"wx_consts\");~n"), + w(" rt.addAtom((char*)\"wx_consts\");~n"), [build_enum(NConst) || NConst <- lists:keysort(#const.val, NotConsts)], _Cnt = foldl(fun(Gvar, I) -> build_gvar(Gvar,I) end, 0, lists:sort(GVars)), w(" rt.endList(~p);~n", [Size+GSize]), @@ -964,9 +990,9 @@ build_gvar({Name, Class, _Id}, Cnt) -> Cnt+1. gen_macros() -> - w("#include <wx/caret.h>~n"), %% Arrg wxw forgot?? some files - w("#include <wx/tooltip.h>~n"), - w("#include <wx/gbsizer.h>~n"), + w("#include <wx/caret.h>~n"), %% Arrg wxw forgot?? some files + w("#include <wx/tooltip.h>~n"), + w("#include <wx/gbsizer.h>~n"), w("#include <wx/splash.h>~n"), w("#include <wx/grid.h>~n"), w("#include <wx/image.h>~n"), @@ -991,15 +1017,15 @@ gen_macros() -> w("#include <wx/stc/stc.h>~n"), w("#include <wx/minifram.h>~n"), w("#include <wx/sashwin.h>~n"), - w("#include <wx/laywin.h>~n"), - w("#include <wx/graphics.h>~n"), - w("#include <wx/aui/aui.h>~n"), - w("#include <wx/datectrl.h>~n"), - w("#include <wx/filepicker.h>~n"), - w("#include <wx/fontpicker.h>~n"), - w("#include <wx/clrpicker.h>~n"), - w("#include <wx/statline.h>~n"), - w("#include <wx/clipbrd.h>~n"), + w("#include <wx/laywin.h>~n"), + w("#include <wx/graphics.h>~n"), + w("#include <wx/aui/aui.h>~n"), + w("#include <wx/datectrl.h>~n"), + w("#include <wx/filepicker.h>~n"), + w("#include <wx/fontpicker.h>~n"), + w("#include <wx/clrpicker.h>~n"), + w("#include <wx/statline.h>~n"), + w("#include <wx/clipbrd.h>~n"), w("#include <wx/splitter.h>~n"), w("#include <wx/choicebk.h>~n"), w("#include <wx/toolbook.h>~n"), @@ -1008,9 +1034,14 @@ gen_macros() -> w("#include <wx/html/htmlwin.h>~n"), w("#include <wx/html/htmlcell.h>~n"), w("#include <wx/filename.h>~n"), - + + w("~n~n", []), + w("#ifndef wxICON_DEFAULT_BITMAP_TYPE~n",[]), + w(" #define wxICON_DEFAULT_BITMAP_TYPE wxBITMAP_TYPE_ICO_RESOURCE~n",[]), + w("#endif~n", []), w("~n~n", []), - [w("#define ~s_~s ~p~n", [Class,Name,Id]) || + + [w("#define ~s_~s ~p~n", [Class,Name,Id]) || {Class,Name,_,Id} <- wx_gen_erl:get_unique_names()], w("~n~n"). @@ -1023,29 +1054,29 @@ build_events() -> w("#include \"wxe_macros.h\"~n"), w("#include \"../wxe_events.h\"~n~n"), w("#include \"../wxe_return.h\"~n~n"), - + w("wxeEtype::wxeEtype(const char *name, int Id) {eName = name;cID = Id;}~n~n"), w("WX_DECLARE_HASH_MAP(int, wxeEtype*, wxIntegerHash, wxIntegerEqual, wxeETmap );~n~n"), - + w("wxeETmap etmap;~n~n"), - + w( "int wxeEventTypeFromAtom(char *etype_atom) { wxeETmap::iterator it; for(it = etmap.begin(); it != etmap.end(); ++it) { wxeEtype * value = it->second; - if(strcmp(value->eName, etype_atom) == 0) { - if(it->first > wxEVT_USER_FIRST) { + if(strcmp(value->eName, etype_atom) == 0) { + if(it->first > wxEVT_USER_FIRST) { return it->first - wxEVT_USER_FIRST; } else { return it->first; } } - } - return -1; + } + return -1; } -"), +"), Evs0 = [C || {_,C=#class{event=Evs}} <- get(), Evs =/= false], Evs = lists:keysort(#class.id, Evs0), @@ -1058,7 +1089,7 @@ initEventTable(Evs) -> w(" struct { ",[]), w("int ev_type; int class_id; const char * ev_name;} event_types[] =~n {~n",[]), - lists:foreach(fun(Ev) -> init_event_classes(Ev) end, + lists:foreach(fun(Ev) -> init_event_classes(Ev) end, [#class{id=0,event=[wxEVT_NULL]}|Evs]), w(" {-1, 0, ""}~n };~n",[]), w(" for(int i=0; event_types[i].ev_type != -1; i++) {~n",[]), @@ -1076,7 +1107,7 @@ initEventTable(Evs) -> " }~n" " }~n", []), w("}~n~n"). - + init_event_classes(#class{event=ETs, id=Id}) -> F = fun({Eev, Cev, OtherClass}) -> w(" {~w + wxEVT_USER_FIRST, ~w, ~p},~n", @@ -1096,7 +1127,7 @@ find_id(OtherClass) -> Class = get({class,atom_to_list(OtherClass)}), %%{value, Class} = lists:keysearch(atom_to_list(OtherClass), #class.name, All), Class#class.id. - + encode_events(Evs) -> ?WTC("encode_events"), w("void wxeEvtListener::forward(wxEvent& event)~n" @@ -1123,7 +1154,7 @@ encode_events(Evs) -> " wxeMemEnv *memenv = app->getMemEnv(port);~n" " if(!memenv) return 0;~n~n" " wxeReturn rt = wxeReturn(port, cb->listener);~n"), - + w("~n rt.addAtom((char*)\"wx\");~n" " rt.addInt((int) event->GetId());~n" " rt.addRef(getRef((void *)(cb->obj), memenv), cb->class_name);~n" @@ -1146,15 +1177,15 @@ encode_events(Evs) -> w(" app->clearPtr((void *) event);~n"), w(" } else {~n"), w(" send_res = rt.send();~n"), - w(" if(cb->skip) event->Skip();~n"), + w(" if(cb->skip) event->Skip();~n"), w(" };~n"), w(" return send_res;~n"), w(" }~n"). encode_event(C = #class{name=Class, id=Id, options=Opts}) -> ?WTC("encode_event"), - case proplists:get_value("mixed_event", Opts) of - undefined -> + case proplists:get_value("mixed_event", Opts) of + undefined -> w("case ~p: {// ~s~n", [Id,Class]), encode_event2(C), ok; @@ -1180,10 +1211,10 @@ encode_event2(Class = #class{name=Name}) -> build_event_attrs(ClassRec = #class{name=Class}) -> Attrs0 = wx_gen_erl:filter_attrs(ClassRec), - Rename = - fun(Att = #param{name=Name,prot=public,acc=undefined}, {All,Use}) -> + Rename = + fun(Att = #param{name=Name,prot=public,acc=undefined}, {All,Use}) -> {[Att#param{name= "ev->" ++ Name}|All],Use}; - (Att = #param{acc=Acc}, {All,_}) -> + (Att = #param{acc=Acc}, {All,_}) -> {[Att#param{name= "ev->" ++ Acc}|All], true} end, case foldr(Rename,{[],false},Attrs0) of @@ -1193,9 +1224,9 @@ build_event_attrs(ClassRec = #class{name=Class}) -> %% Attrs; {Attrs,_} -> w(" ~s * ev = (~s *) event;~n",[Class,Class]), - FixClass = + FixClass = fun(P=#param{name=N,acc=Acc,type=#type{single=Single,by_val=ByVal, - base={class,C}}}) + base={class,C}}}) when Acc =/= undefined -> Var = var_name(N), if Single, ByVal -> @@ -1206,17 +1237,17 @@ build_event_attrs(ClassRec = #class{name=Class}) -> end, P#param{name=Var}; (P) -> P - end, + end, lists:map(FixClass, Attrs) end. -var_name("ev->" ++ Name0) -> +var_name("ev->" ++ Name0) -> case reverse(Name0) of ")(" ++ Name -> reverse(Name); _ -> Name0 end; var_name(Name) -> Name. - + enum_name({Class,Type}) -> uppercase_all(Class ++ "_" ++ Type); enum_name(Type) -> diff --git a/lib/wx/api_gen/wx_gen_erl.erl b/lib/wx/api_gen/wx_gen_erl.erl index d75442d307..e882ae87ca 100644 --- a/lib/wx/api_gen/wx_gen_erl.erl +++ b/lib/wx/api_gen/wx_gen_erl.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2011. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -19,7 +19,7 @@ %%%------------------------------------------------------------------- %%% File : wx_gen_erl.erl %%% Author : Dan Gudmundsson <[email protected]> -%%% Description : +%%% Description : %%% %%% Created : 25 Jan 2007 by Dan Gudmundsson <[email protected]> %%%------------------------------------------------------------------- @@ -32,7 +32,7 @@ -import(lists, [foldl/3,foldr/3,reverse/1, keysearch/3, map/2, filter/2]). -import(gen_util, [lowercase/1, lowercase_all/1, uppercase/1, uppercase_all/1, - open_write/1, close/0, erl_copyright/0, w/2, + open_write/1, close/0, erl_copyright/0, w/2, args/3, args/4, strip_name/2]). gen(Defs) -> @@ -42,9 +42,9 @@ gen(Defs) -> gen_enums_ints(), [gen_class(Class) || Class <- Defs], gen_funcnames(). - + gen_class(Class) -> - try + try gen_class1(Class) catch throw:skipped -> Class @@ -52,10 +52,10 @@ gen_class(Class) -> gen_class1(C=#class{name=Name,parent="static",methods=Ms,options=_Opts}) -> open_write("../src/gen/wx_misc.erl"), - put(current_class, Name), + put(current_class, Name), erl_copyright(), w("", []), - w("%% This file is generated DO NOT EDIT~n~n", []), + w("%% This file is generated DO NOT EDIT~n~n", []), w("%% @doc See external documentation: " "<a href=\"http://www.wxwidgets.org/manuals/stable/wx_miscellany.html\">Misc</a>.\n\n",[]), @@ -67,8 +67,8 @@ gen_class1(C=#class{name=Name,parent="static",methods=Ms,options=_Opts}) -> Exp = fun(M) -> gen_export(C,M) end, ExportList = lists:usort(lists:append(lists:map(Exp,reverse(Ms)))), w("-export([~s]).~n~n", [args(fun(EF) -> EF end, ",", ExportList, 60)]), - - + + Gen = fun(M) -> gen_method(Name,M) end, NewMs = lists:map(Gen,reverse(Ms)), close(), @@ -79,13 +79,13 @@ gen_class1(C=#class{name=Name,parent=Parent,methods=Ms,options=Opts}) -> case Opts of ["ignore"] -> throw(skipped); _ -> ok - end, + end, open_write("../src/gen/"++Name++".erl"), - put(current_class, Name), + put(current_class, Name), erl_copyright(), w("", []), - w("%% This file is generated DO NOT EDIT~n~n", []), - + w("%% This file is generated DO NOT EDIT~n~n", []), + case lists:member(taylormade, Opts) of true -> {ok, Bin} = file:read_file(filename:join([wx_extra, Name++".erl"])), @@ -95,33 +95,33 @@ gen_class1(C=#class{name=Name,parent=Parent,methods=Ms,options=Opts}) -> w("%% @doc See external documentation: " "<a href=\"http://www.wxwidgets.org/manuals/stable/wx_~s.html\">~s</a>.\n", [lowercase_all(Name), Name]), - + case C#class.doc of undefined -> ignore; Str -> w("%%~n%% ~s~n~n%%~n", [Str]) end, - + case C#class.event of false -> ignore; Evs -> EvTypes = [event_type_name(Ev) || Ev <- Evs], EvStr = args(fun(Ev) -> "<em>"++Ev++"</em>" end, ", ", EvTypes), - + w("%% <dl><dt>Use {@link wxEvtHandler:connect/3.} with EventType:</dt>~n",[]), w("%% <dd>~s</dd></dl>~n", [EvStr]), - w("%% See also the message variant {@link wxEvtHandler:~s(). #~s{}} event record type.~n", + w("%% See also the message variant {@link wxEvtHandler:~s(). #~s{}} event record type.~n", [event_rec_name(Name),event_rec_name(Name)]), w("%%~n",[]), ok end, - + Parents = parents(Parent), case [P || P <- Parents, P =/= root, P =/= object] of [] -> ignore; - Ps -> + Ps -> w("%% <p>This class is derived (and can use functions) from:~n", []), [w("%% <br />{@link ~s}~n", [P]) || P <- Ps], - w("%% </p>~n",[]) + w("%% </p>~n",[]) end, w("%% @type ~s(). An object reference, The representation is internal~n",[Name]), w("%% and can be changed without notice. It can't be used for comparsion~n", []), @@ -137,17 +137,17 @@ gen_class1(C=#class{name=Name,parent=Parent,methods=Ms,options=Opts}) -> Done0 = ["Destroy", "New", "Create", "destroy", "new", "create"], Done = gb_sets:from_list(Done0 ++ [M|| #method{name=M} <- lists:append(Ms)]), {_, InExported} = gen_inherited(Parents, Done, []), - w("-export([~s]).~n~n", [args(fun(EF) -> EF end, ",", - lists:usort(["parent_class/1"|InExported]), + w("-export([~s]).~n~n", [args(fun(EF) -> EF end, ",", + lists:usort(["parent_class/1"|InExported]), 60)]), - + w("%% @hidden~n", []), parents_check(Parents), - + Gen = fun(M) -> gen_method(Name,M) end, NewMs = lists:map(Gen,reverse(Ms)), - gen_dest(C, Ms), - + gen_dest(C, Ms), + gen_inherited(Parents, Done, true) end, @@ -203,26 +203,26 @@ gen_export(#class{name=Class,abstract=Abs},Ms0) -> [] -> []; [M=#method{where=taylormade}|_] -> [taylormade_export(Class, M)]; - Ms -> + Ms -> GetF = fun(#method{method_type=constructor,where=W,params=Ps}) -> {Args,Opts} = split_optional(Ps), - OptLen = case Opts of - [] -> 0; + OptLen = case Opts of + [] -> 0; _ when W =:= erl_no_opt -> 0; - _ -> 1 + _ -> 1 end, "new/" ++ integer_to_list(length(Args)+OptLen); (#method{method_type=destructor}) -> - case Abs of - true -> []; + case Abs of + true -> []; _ -> "destroy/1" end; (#method{name=N,alias=A,where=W, params=Ps}) -> {Args,Opts} = split_optional(Ps), - OptLen = case Opts of - [] -> 0; + OptLen = case Opts of + [] -> 0; _ when W =:= erl_no_opt -> 0; - _ -> 1 + _ -> 1 end, erl_func_name(N,A) ++ "/" ++ integer_to_list(length(Args) + OptLen) end, @@ -235,10 +235,10 @@ gen_method(Class,Ms0) -> Res = filter(RemoveC, Ms0), case Res of [] -> Ms0; - [M=#method{where=taylormade}|_] -> - taylormade_func(Class, M), + [#method{where=taylormade}|_] -> + taylormade_func(Class, Res), Ms0; - Ms -> + Ms -> gen_doc(Class,Ms), gen_method1(Ms), Ms0 @@ -270,14 +270,31 @@ gen_method2(M=#method{name=N,alias=A,params=Ps,type=T,method_type=MT,id=MethodId MId = arg_type_tests(Args, "?" ++ get_unique_name(MethodId)), {MArgs,Align} = marshal_args(Args), MOpts = marshal_opts(Optional, Align, Args), + case gen_util:get_hook(erl, M#method.pre_hook) of + ignore -> skip; + Pre -> w(" ~s~n", [Pre]) + end, + + case gen_util:get_hook(erl, M#method.post_hook) of + ignore -> skip; + _ -> w(" _Result =", []) + end, + case have_return_vals(T, Ps) of _ when MT =:= constructor -> w(" wxe_util:construct(~s,~n <<~s~s>>)", [MId, MArgs,MOpts]); true -> w(" wxe_util:call(~s,~n <<~s~s>>)", [MId, MArgs,MOpts]); - false -> + false -> w(" wxe_util:cast(~s,~n <<~s~s>>)", [MId, MArgs,MOpts]) end, + case gen_util:get_hook(erl, M#method.post_hook) of + ignore -> skip; + Post -> + w(",~n ~s~n", [Post]), + w(" _Result", []) + end, + erase(current_func), M. @@ -289,9 +306,9 @@ gen_dest(#class{name=CName,abstract=Abs}, Ms) -> case lists:keysearch(destructor,#method.method_type, lists:append(Ms)) of {value, #method{method_type=destructor, id=Id}} -> case hd(reverse(parents(CName))) of - object -> + object -> gen_dest2(CName, object); - root -> + root -> gen_dest2(CName, Id) end; false -> @@ -303,7 +320,7 @@ gen_dest2(Class, Id) -> w("%% @spec (This::~s()) -> ok~n", [Class]), w("%% @doc Destroys this object, do not use object again~n", []), w("destroy(Obj=#wx_ref{type=Type}) ->~n", []), - w(" ?CLASS(Type,~s),~n",[Class]), + w(" ?CLASS(Type,~s),~n",[Class]), case Id of object -> w(" wxe_util:destroy(?DESTROY_OBJECT,Obj),~n ok.~n", []); @@ -324,14 +341,14 @@ gen_inherited([Parent|Ps], Done0, Exported0) -> gen_inherited(Ps, gb_sets:union(Done,Done0), Exported). gen_inherited_ms([[#method{name=Name,alias=A,params=Ps0,where=W,method_type=MT}|_]|R], - Class,Skip,Done, Exported) - when W =/= merged_c -> + Class,Skip,Done, Exported) + when W =/= merged_c -> case gb_sets:is_member(Name,Skip) of false when MT =:= member, Exported =:= true -> Ps = [patch_param(P,all) || P <- Ps0], Opts = if W =:= erl_no_opt -> []; - true -> - [Opt || Opt = #param{def=Def,in=In, where=Where} <- Ps, + true -> + [Opt || Opt = #param{def=Def,in=In, where=Where} <- Ps, Def =/= none, In =/= false, Where =/= c] end, w("%% @hidden~n", []), @@ -342,10 +359,10 @@ gen_inherited_ms([[#method{name=Name,alias=A,params=Ps0,where=W,method_type=MT}| gen_inherited_ms(R,Class, Skip, gb_sets:add(Name,Done), Exported); false when MT =:= member, is_list(Exported) -> {Args,Opts} = split_optional(Ps0), - OptLen = case Opts of - [] -> 0; + OptLen = case Opts of + [] -> 0; _ when W =:= erl_no_opt -> 0; - _ -> 1 + _ -> 1 end, Export = erl_func_name(Name,A) ++ "/" ++ integer_to_list(length(Args) + OptLen), gen_inherited_ms(R,Class,Skip, gb_sets:add(Name,Done), [Export|Exported]); @@ -357,17 +374,21 @@ gen_inherited_ms([[_|Check]|R],Class,Skip, Done0,Exp) -> gen_inherited_ms([[]|R],Class,Skip,Done0,Exp) -> gen_inherited_ms(R,Class,Skip,Done0,Exp); gen_inherited_ms([], _, _Skip, Done,Exp) -> {Done,Exp}. - + %%%%%%%%%%%%%%% -taylormade_func(Class, #method{name=Name, id=Id}) -> +taylormade_func(Class, [#method{name=Name, id=Id}|_]) -> {ok, Bin} = file:read_file(filename:join([wx_extra, Class ++".erl"])), - Str0 = binary_to_list(Bin), - {match, [Str1]} = re:run(Str0, "<<"++Name++"(.*)"++Name++">>", - [dotall, {capture, all_but_first, list}]), - - w(Str1, ["?" ++ get_unique_name(Id)]), + Src = binary_to_list(Bin), + Str = case gen_util:get_taylor_made(Src, Name) of + nomatch -> + {match, [Str0]} = gen_util:get_taylor_made(Src, get_unique_name(Id)), + Str0; + {match, [Str0]} -> + Str0 + end, + w(Str, ["?" ++ get_unique_name(Id)]), ok. taylormade_export(Class, #method{name=Name}) -> @@ -381,12 +402,12 @@ taylormade_export(Class, #method{name=Name}) -> arg_type_tests([P|Ps], Mid0) -> case arg_type_test(P,"\n",Mid0) of - Mid0 -> + Mid0 -> arg_type_tests(Ps, Mid0); Mid -> %% Already checked the other args Mid end; -arg_type_tests([],Mid) -> Mid. +arg_type_tests([],Mid) -> Mid. arg_type_test(#param{where=c}, _, Acc) -> Acc; @@ -395,7 +416,7 @@ arg_type_test(#param{name=Name0,in=In,type=#type{base={class,T},single=true},def Name = erl_arg_name(Name0), w(" ?CLASS(~sT,~s),~s", [Name,T,EOS]), Acc; -arg_type_test(#param{name=Name0,in=In,type=#type{base={class,T}}, def=none},EOS,Acc) +arg_type_test(#param{name=Name0,in=In,type=#type{base={class,T}}, def=none},EOS,Acc) when In =/= false -> Name = erl_arg_name(Name0), w(" [?CLASS(~sT,~s) || #wx_ref{type=~sT} <- ~s],~s", [Name,T,Name,Name,EOS]), @@ -403,35 +424,35 @@ arg_type_test(#param{name=Name0,in=In,type=#type{base={class,T}}, def=none},EOS, arg_type_test(#param{name=Name0,def=none,in=In, type={merged, M1, #type{base={class,T1},single=true},Ps1, - M2, #type{base={class,T2},single=true},Ps2}}, EOS, _Acc) + M2, #type{base={class,T2},single=true},Ps2}}, EOS, _Acc) when In =/= false -> Name = erl_arg_name(Name0), Opname = Name++"OP", w(" ~s = case ?CLASS_T(~sT,~s) of~n true ->\n ", [Opname,Name,T1]), - lists:foreach(fun(Param) -> arg_type_test(Param,"\n ", ignore) end, + lists:foreach(fun(Param) -> arg_type_test(Param,"\n ", ignore) end, element(1,split_optional(Ps1))), w("?~s;~n",[get_unique_name(M1)]), w(" _ -> ?CLASS(~sT,~s),\n ",[Name,T2]), {Ps21,_} = split_optional(patchArgName(Ps2,Ps1)), - lists:foreach(fun(Param) -> arg_type_test(Param,"\n ", ignore) end, + lists:foreach(fun(Param) -> arg_type_test(Param,"\n ", ignore) end, Ps21), w("?~s\n end,~s",[get_unique_name(M2),EOS]), Opname; -arg_type_test(#param{name=Name0, type=#type{base=eventType}}, EOS, Acc) -> +arg_type_test(#param{name=Name0, type=#type{base=eventType}}, EOS, Acc) -> Name = erl_arg_name(Name0), w(" ~sBin = list_to_binary([atom_to_list(~s)|[0]]),~s", [Name,Name,EOS]), w(" ThisTypeBin = list_to_binary([atom_to_list(ThisT)|[0]]),~s", [EOS]), Acc; -arg_type_test(#param{name=Name0,def=none,type=#type{base={term,_}}}, EOS, Acc) -> +arg_type_test(#param{name=Name0,def=none,type=#type{base={term,_}}}, EOS, Acc) -> Name = erl_arg_name(Name0), w(" wxe_util:send_bin(term_to_binary(~s)),~s", [Name,EOS]), Acc; -arg_type_test(#param{name=Name0,type=#type{base=binary}},EOS,Acc) -> +arg_type_test(#param{name=Name0,type=#type{base=binary}},EOS,Acc) -> Name = erl_arg_name(Name0), w(" wxe_util:send_bin(~s),~s", [Name,EOS]), Acc; -arg_type_test(#param{name=Name0,type=#type{name=Type,base=Base,single=Single}},EOS,Acc) -> - if +arg_type_test(#param{name=Name0,type=#type{name=Type,base=Base,single=Single}},EOS,Acc) -> + if Type =:= "wxArtClient", Single =:= true -> Name = erl_arg_name(Name0), w(" ~s_UC = unicode:characters_to_binary([~s, $_, $C,0]),~s", @@ -441,11 +462,11 @@ arg_type_test(#param{name=Name0,type=#type{name=Type,base=Base,single=Single}},E w(" ~s_UC = unicode:characters_to_binary([~s,0]),~s", [Name,Name,EOS]); Type =:= "wxArrayString" -> Name = erl_arg_name(Name0), - w(" ~s_UCA = [unicode:characters_to_binary([~sTemp,0]) || ~s", + w(" ~s_UCA = [unicode:characters_to_binary([~sTemp,0]) || ~s", [Name,Name, EOS]), w(" ~sTemp <- ~s],~s", [Name,Name,EOS]); true -> %% Not a string - ignore + ignore end, Acc; arg_type_test(_,_,Acc) -> Acc. @@ -459,10 +480,10 @@ have_return_vals(void, Ps) -> have_return_vals(#type{}, _) -> true. gen_function_clause(Name0,MT,Ps,Optional,Variant) -> - PArg = fun(Arg) -> + PArg = fun(Arg) -> case lists:member(name_only, Variant) of true -> func_arg_name(Arg); - false -> + false -> case lists:member(name_type, Variant) of true -> Name = func_arg_name(Arg), @@ -478,17 +499,17 @@ gen_function_clause(Name0,MT,Ps,Optional,Variant) -> Args = args(PArg, ",", Ps), Name = case MT of constructor -> "new"; _ -> Name0 end, w("~s(~s",[Name,Args]), - Opts = case Optional of + Opts = case Optional of [] -> ""; empty_list when Args =:= [] -> "[]"; empty_list -> ", []"; _ when Args =:= [] -> "Options"; - _ -> ", Options" + _ -> ", Options" end, w("~s)", [Opts]), case lists:member(no_guards, Variant) of true -> ok; - false -> + false -> Guards = args(fun guard_test/1, ",", Ps), if Guards =:= [], Opts =:= "" -> w(" ->~n", []); @@ -500,10 +521,10 @@ gen_function_clause(Name0,MT,Ps,Optional,Variant) -> split_optional(Ps) -> split_optional(Ps, [], []). -split_optional([P=#param{def=Def,in=In, where=Where}|Ps], Standard, Opts) +split_optional([P=#param{def=Def,in=In, where=Where}|Ps], Standard, Opts) when Def =/= none, In =/= false, Where =/= c -> split_optional(Ps, Standard, [P|Opts]); -split_optional([P=#param{def=Def,in=In, where=Where}|Ps], Standard, Opts) +split_optional([P=#param{def=Def,in=In, where=Where}|Ps], Standard, Opts) when Def =:= none, In =/= false, Where =/= c -> split_optional(Ps, [P|Standard], Opts); split_optional([_|Ps], Standard, Opts) -> @@ -515,24 +536,24 @@ patch_param(P=#param{type=#type{base=Tuple}}, all) when is_tuple(Tuple) -> P#param{type={class,ignore}}; patch_param(P=#param{type={merged,_,_,_,_,_,_}}, _) -> P#param{type={class,ignore}}; -patch_param(P=#param{type=#type{base={class,_}}},_) -> +patch_param(P=#param{type=#type{base={class,_}}},_) -> P#param{type={class,ignore}}; -patch_param(P=#param{type=#type{base={ref,_}}},_) -> +patch_param(P=#param{type=#type{base={ref,_}}},_) -> P#param{type={class,ignore}}; patch_param(P,_) -> P. func_arg_name(#param{def=Def}) when Def =/= none -> skip; func_arg_name(#param{in=false}) -> skip; func_arg_name(#param{where=c}) -> skip; -func_arg_name(#param{name=Name}) -> +func_arg_name(#param{name=Name}) -> erl_arg_name(Name). func_arg(#param{def=Def}) when Def =/= none -> skip; func_arg(#param{in=false}) -> skip; func_arg(#param{where=c}) -> skip; -func_arg(#param{name=Name,type=#type{base=string}}) -> +func_arg(#param{name=Name,type=#type{base=string}}) -> erl_arg_name(Name); -func_arg(#param{name=Name,type=#type{name="wxArrayString"}}) -> +func_arg(#param{name=Name,type=#type{name="wxArrayString"}}) -> erl_arg_name(Name); func_arg(#param{name=Name0,type=#type{base={class,_CN}, single=true}}) -> Name = erl_arg_name(Name0), @@ -553,7 +574,7 @@ func_arg(#param{name=Name,type=#type{base={comp,"wxDateTime",_Tup}, single=true} func_arg(#param{name=Name,type=#type{name="wxArtClient", single=true}}) -> erl_arg_name(Name); func_arg(#param{name=Name,type=#type{base={comp,_,Tup}, single=true}}) -> - N = erl_arg_name(Name), + N = erl_arg_name(Name), Doc = fun({_,V}) -> erl_arg_name(N)++V end, "{" ++ args(Doc, ",", Tup) ++ "}"; func_arg(#param{name=Name}) -> @@ -570,7 +591,7 @@ guard_test(#param{name=N, type=#type{name="wxArtClient"}}) -> "is_list(" ++ erl_arg_name(N) ++")"; guard_test(#param{name=N, type=#type{name="wxArrayString"}}) -> "is_list(" ++ erl_arg_name(N) ++")"; -guard_test(#param{name=Name,type=#type{single=Single}}) +guard_test(#param{name=Name,type=#type{single=Single}}) when Single =/= true-> "is_list(" ++ erl_arg_name(Name) ++ ")"; guard_test(#param{name=N,type=#type{base=int}}) -> @@ -620,42 +641,42 @@ gen_doc(_Class,[#method{name=N,alias=A,params=Ps,type=T,where=erl_no_opt,method_ gen_function_clause(erl_func_name(N,A),MT,Ps,empty_list,[no_guards,name_only]); gen_doc(Class,[#method{name=N,params=Ps,type=T}])-> {_, Optional} = split_optional(Ps), - NonDef = [Arg || Arg = #param{def=Def,in=In, where=Where} <- Ps, + NonDef = [Arg || Arg = #param{def=Def,in=In, where=Where} <- Ps, Def =:= none, In =/= false, Where =/= c], OptsType = case Optional of [] -> ""; _ when NonDef =:= [] -> "[Option]"; - _ -> ", [Option]" + _ -> ", [Option]" end, w("%% @spec (~s~s) -> ~s~n", [doc_arg_types(Ps),OptsType,doc_return_types(T,Ps)]), doc_optional(Optional, normal), - DocEnum = doc_enum(T,Ps, normal), + DocEnum = doc_enum(T,Ps, normal), case Class of "utils" -> w("%% @doc See <a href=\"http://www.wxwidgets.org/manuals/stable/wx_miscellany.html#~s\">" - "external documentation</a>.~n", + "external documentation</a>.~n", [lowercase_all(N)]); _ -> w("%% @doc See <a href=\"http://www.wxwidgets.org/manuals/stable/wx_~s.html#~s~s\">" - "external documentation</a>.~n", + "external documentation</a>.~n", [lowercase_all(Class),lowercase_all(Class),lowercase_all(N)]) end, doc_enum_desc(DocEnum); gen_doc(Class, Cs = [#method{name=N, alias=A,method_type=MT}|_]) -> - GetRet = fun(#method{params=Ps,type=T}) -> + GetRet = fun(#method{params=Ps,type=T}) -> doc_return_types(T,Ps) end, - GetArgs = fun(#method{params=Ps, where=Where}) -> + GetArgs = fun(#method{params=Ps, where=Where}) -> Opt = case Where of erl_no_opt -> []; - _ -> + _ -> case split_optional(Ps) of {_, []} -> []; _ -> ["[Option]"] end end, - [doc_arg_type(P) || + [doc_arg_type(P) || P=#param{in=In,def=none,where=W} <- Ps, In =/= false, W =/= c] ++ Opt end, @@ -665,16 +686,16 @@ gen_doc(Class, Cs = [#method{name=N, alias=A,method_type=MT}|_]) -> case Class of "utils" -> w("%% @doc See <a href=\"http://www.wxwidgets.org/manuals/stable/wx_miscellany.html#~s\">" - "external documentation</a>.~n", + "external documentation</a>.~n", [lowercase_all(N)]); _ -> w("%% @doc See <a href=\"http://www.wxwidgets.org/manuals/stable/wx_~s.html#~s~s\">" - "external documentation</a>.~n", + "external documentation</a>.~n", [lowercase_all(Class),lowercase_all(Class),lowercase_all(N)]) end, Name = case MT of constructor -> "new"; _ -> erl_func_name(N,A) end, w("%% <br /> Alternatives:~n",[]), - [gen_doc2(Name, Clause) || Clause <- Cs], + [gen_doc2(Name, Clause) || Clause <- Cs], ok. gen_doc2(Name,#method{params=Ps,where=erl_no_opt,method_type=MT}) -> @@ -687,11 +708,11 @@ gen_doc2(Name,#method{params=Ps,type=T}) -> OptsType = case Optional of [] -> ""; _ when NonDef =:= [] -> "[Option]"; - _ -> ", [Option]" + _ -> ", [Option]" end, w("%% <p><c>~n",[]), w("%% ~s(~s~s) -> ~s </c>~n", - [Name,doc_arg_types(Ps),OptsType,doc_return_types(T,Ps)]), + [Name,doc_arg_types(Ps),OptsType,doc_return_types(T,Ps)]), doc_optional(Optional, xhtml), DocEnum = doc_enum(T,Ps, xhtml), doc_enum_desc(DocEnum), @@ -700,7 +721,7 @@ gen_doc2(Name,#method{params=Ps,type=T}) -> doc_arg(ArgList) -> case all_eq(ArgList) of true -> hd(ArgList); - false -> + false -> Get = fun(Str) -> [_Name|Types] = string:tokens(Str, ":"), case Types of @@ -717,12 +738,12 @@ doc_arg(ArgList) -> doc_ret(ArgList) -> case all_eq(ArgList) of true -> hd(ArgList); - false -> + false -> args(fun(A) -> A end, "|", ArgList) end. unique([], U) -> reverse(U); -unique([H|R], U) -> +unique([H|R], U) -> case lists:member(H,U) of false -> unique(R,[H|U]); true -> unique(R,U) @@ -739,7 +760,7 @@ zip(List) -> zip([[F|L1]|List], Rest, AccL, Acc) -> zip(List, [L1|Rest], [F|AccL], Acc); -zip(Empty, Rest, AccL, Acc) -> +zip(Empty, Rest, AccL, Acc) -> true = empty(Empty), case empty(Rest) andalso empty(AccL) of true -> reverse(Acc); @@ -762,7 +783,7 @@ doc_arg_type(_) -> skip. doc_arg_type2(T=#type{single=Single}) when Single =:= array; Single =:= list -> "[" ++ doc_arg_type3(T) ++ "]"; -doc_arg_type2(T) -> +doc_arg_type2(T) -> doc_arg_type3(T). doc_arg_type3(#type{base=string}) -> "string()"; @@ -782,8 +803,8 @@ doc_arg_type3(#type{base={binary,_}}) -> "binary()"; doc_arg_type3(#type{base=eventType}) -> "atom()"; doc_arg_type3(#type{base={ref,N}}) -> N++"()"; doc_arg_type3(#type{base={term,_N}}) -> "term()"; -doc_arg_type3(T=#type{base={class,N}}) -> - check_class(T), +doc_arg_type3(T=#type{base={class,N}}) -> + check_class(T), case get(current_class) of N -> N ++ "()"; _ -> N++":" ++ N++"()" @@ -792,7 +813,7 @@ doc_arg_type3({merged,_,T1=#type{base={class,N1}},_,_,T2=#type{base={class,N2}}, check_class(T1), check_class(T2), Curr = get(current_class), - if + if N1 =:= Curr, N2 =:= Curr -> N1++"() | "++ N2++"()"; N1 =:= Curr -> N1++"() | "++ N2++":" ++ N2++"()"; N2 =:= Curr -> N1++":" ++ N1++"() | "++ N2++"()"; @@ -807,7 +828,7 @@ doc_arg_type3(#type{base={comp,_,{record,Name}}}) -> "wx:" ++ atom_to_list(Name) ++ "()"; doc_arg_type3(#type{base={comp,_,Tup}}) -> Doc = fun({int,V}) -> V ++ "::integer()"; - ({double,V}) -> V ++ "::float()" + ({double,V}) -> V ++ "::float()" end, "{" ++ args(Doc, ",", Tup) ++ "}"; doc_arg_type3(T) -> ?error({unknown_type,T}). @@ -817,7 +838,7 @@ doc_return_types(T, Ps) -> doc_return_types2(void, []) -> "ok"; doc_return_types2(void, [#param{type=T}]) -> doc_arg_type2(T); doc_return_types2(T, []) -> doc_arg_type2(T); -doc_return_types2(void, Ps) -> +doc_return_types2(void, Ps) -> "{" ++ args(fun doc_arg_type/1,",",Ps) ++ "}"; doc_return_types2(T, Ps) -> "{" ++ doc_arg_type2(T) ++ "," ++ args(fun doc_arg_type/1,",",Ps) ++ "}". @@ -870,7 +891,7 @@ check_name(Name) -> Name. marshal_opts([], _,_) -> ""; %% No opts skip this! marshal_opts(Opts, Align, Args) -> - w(" MOpts = fun", []), + w(" MOpts = fun", []), marshal_opts1(Opts,1), w(";~n (BadOpt, _) -> erlang:error({badoption, BadOpt}) end,~n", []), w(" BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)),~n", []), @@ -879,7 +900,7 @@ marshal_opts(Opts, Align, Args) -> [] -> Str; % All Args are optional _ -> ", " ++ Str end. - + marshal_opts1([P],N) -> marshal_opt(P,N); marshal_opts1([P|R],N) -> @@ -892,15 +913,15 @@ marshal_opt(P0=#param{name=Name,type=Type},N) -> {Arg,Align} = marshal_arg(Type,erl_arg_name(Name),1), AStr = if Align =:= 0 -> ""; Align =:= 1 -> ",0:32" - end, - w("({~s, ~s}, Acc) -> ", [erl_option_name(Name), func_arg(P)]), + end, + w("({~s, ~s}, Acc) -> ", [erl_option_name(Name), func_arg(P)]), arg_type_test(P,"",[]), case Arg of - skip -> + skip -> w("[<<~p:32/?UI~s>>|Acc]", [N, AStr]); - _ -> + _ -> w("[<<~p:32/?UI,~s~s>>|Acc]", [N, Arg,AStr]) - end. + end. marshal_args(Ps) -> marshal_args(Ps, [], 0). @@ -940,23 +961,23 @@ marshal_arg(#type{single=true,base={enum,_Enum}}, Name, Align) -> marshal_arg(#type{single=true,base=bool}, Name, Align) -> align(32, Align, "(wxe_util:from_bool(" ++ Name ++ ")):32/?UI"); -marshal_arg(#type{name="wxChar", single=Single}, Name, Align0) +marshal_arg(#type{name="wxChar", single=Single}, Name, Align0) when Single =/= true -> - {Str,Align} = + {Str,Align} = align(32,Align0, "(byte_size("++Name++"_UC)):32/?UI,(" ++ Name ++ "_UC)/binary"), MsgSize = "(" ++ integer_to_list(Align*4)++"+byte_size("++Name++"_UC))", {Str++", 0:(((8- (" ++ MsgSize ++" band 16#7)) band 16#7))/unit:8",0}; marshal_arg(#type{base=string}, Name, Align0) -> - {Str,Align} = + {Str,Align} = align(32,Align0, "(byte_size("++Name++"_UC)):32/?UI,(" ++ Name ++ "_UC)/binary"), MsgSize = "(" ++ integer_to_list(Align*4)++"+byte_size("++Name++"_UC))", {Str++", 0:(((8- (" ++ MsgSize ++" band 16#7)) band 16#7))/unit:8",0}; marshal_arg(#type{name="wxArrayString"}, Name, Align0) -> - InnerBin = "<<(byte_size(UC_Str)):32/?UI, UC_Str/binary>>", + InnerBin = "<<(byte_size(UC_Str)):32/?UI, UC_Str/binary>>", Outer = "(<< " ++ InnerBin ++ "|| UC_Str <- "++ Name ++"_UCA>>)/binary", Str0 = "(length("++Name++"_UCA)):32/?UI, " ++ Outer, {Str,Align} = align(32,Align0,Str0), - MsgSize = "("++integer_to_list(Align*4) ++ + MsgSize = "("++integer_to_list(Align*4) ++ " + lists:sum([byte_size(S)+4||S<-" ++ Name ++"_UCA]))", AStr = ", 0:(((8- (" ++ MsgSize ++" band 16#7)) band 16#7))/unit:8", {Str ++ AStr, 0}; @@ -980,15 +1001,15 @@ marshal_arg(#type{base={term,_}}, _Name, Align0) -> {skip,Align0}; marshal_arg(#type{base=binary}, _Name, Align0) -> {skip,Align0}; -marshal_arg(#type{base=Base, single=Single}, Name, Align0) +marshal_arg(#type{base=Base, single=Single}, Name, Align0) when Single =/= true -> - case Base of - int -> + case Base of + int -> Str0 = "(length("++Name++")):32/?UI,\n" " (<< <<C:32/?I>> || C <- "++Name++">>)/binary", {Str,Align} = align(32,Align0, Str0), {Str ++ ", 0:((("++integer_to_list(Align)++"+length("++Name++ ")) rem 2)*32)", 0}; - {ObjRef,_} when ObjRef =:= class; ObjRef =:= ref -> + {ObjRef,_} when ObjRef =:= class; ObjRef =:= ref -> Str0 = "(length("++Name++")):32/?UI,", Str1 = "\n (<< <<(C#wx_ref.ref):32/?UI>> || C <- "++Name++">>)/binary", {Str2,Align} = align(32, Align0, Str1), @@ -1016,7 +1037,7 @@ align(64, 0, Str) -> {Str, 0}; align(64, 1, Str) -> {"0:32," ++ Str,0}; align(Sz, W, Str) -> align(Sz, W rem 2, Str). -enum_name(Name) -> +enum_name(Name) -> case string:tokens(Name, ":") of [Name] -> Name; [C,N] -> C ++ "_" ++ N @@ -1035,29 +1056,34 @@ gen_enums_ints() -> " href, target %% string()~n" " }).~n", []), w("~n%% Hardcoded Defines~n", []), - Enums = [E || E = {{enum,_},#enum{as_atom=false}} <- get()], - w("-define(wxDefaultSize, {-1,-1}).~n", []), - w("-define(wxDefaultPosition, {-1,-1}).~n", []), + Enums = [E || {{enum,_},E = #enum{as_atom=false}} <- get()], + w("-define(wxDefaultSize, {-1,-1}).~n", []), + w("-define(wxDefaultPosition, {-1,-1}).~n", []), w("~n%% Global Variables~n", []), - [w("-define(~s, wxe_util:get_const(~s)).~n", [Gvar, Gvar]) || + [w("-define(~s, wxe_util:get_const(~s)).~n", [Gvar, Gvar]) || {Gvar,_,_Id} <- get(gvars)], w("~n%% Enum and defines~n", []), - foldl(fun({{enum,Type},Enum= #enum{as_atom=false}}, Done) -> - build_enum_ints(Type,Enum,Done); + foldl(fun(Enum= #enum{vals=Vals}, Done) when Vals =/= [] -> + build_enum_ints(Enum,Done); (_,Done) -> Done end, gb_sets:empty(), lists:sort(Enums)), close(). -build_enum_ints(Type,#enum{vals=Vals},Done) -> - case Type of - [$@|_] -> ok; % anonymous - {Class,[$@|_]} when Vals =/= [] -> w("% From class ~s~n", [Class]); - {Class,Enum} when Vals =/= [] -> w("% From ~s::~s~n", [Class,Enum]); - _ when Vals =/= [] -> w("% Type ~s~n", [Type]); - _ -> ok +build_enum_ints(#enum{from=From, vals=Vals},Done) -> + case From of + {File, undefined, [$@|_]} -> + w("% From \"~s.h\"~n",[File]); + {File, undefined, Name} -> + w("% From \"~s.h\": ~s~n",[File, Name]); + {_File, Class,[$@|_]} -> + w("% From class ~s~n",[Class]); + {_File, Class, Name} -> + w("% From class ~s::~s~n",[Class, Name]) end, - - Format = fun(#const{name=Name,val=Value,is_const=true}) when is_integer(Value) -> + + Format = fun(#const{name="wxEVT_" ++ _}) -> + ignore; %% Ignore event macros they are not valid in our event model + (#const{name=Name,val=Value,is_const=true}) when is_integer(Value) -> w("-define(~s, ~p).~n", [enum_name(Name),Value]); (#const{name=Name,val=Value,is_const=false}) when is_integer(Value) -> w("-define(~s, wxe_util:get_const(~s)).~n", [enum_name(Name),enum_name(Name)]); @@ -1078,12 +1104,12 @@ build_enum_ints(Type,#enum{vals=Vals},Done) -> Consts = get(consts), Write = fun({Name,_What}, Skip) -> case gb_sets:is_member(Name,Skip) of - true -> + true -> Skip; false -> case gb_trees:lookup(Name, Consts) of {value, Const} -> - Format(Const), + Format(Const), gb_sets:add(Name,Skip); none -> Skip end @@ -1097,8 +1123,8 @@ gen_event_recs() -> w("", []), w("%% This file is generated DO NOT EDIT~n~n", []), w("%% All event messages are encapsulated in a wx record~n" - "%% they contain the widget id and a specialized event record.~n" - "%% Each event record may be sent for one or more event types.~n" + "%% they contain the widget id and a specialized event record.~n" + "%% Each event record may be sent for one or more event types.~n" "%% The mapping to wxWidgets is one record per class.~n~n",[]), w("%% @type wx() = #wx{id=integer(), obj=wx:wxObject(), userData=term(), event=Rec}. Rec is a event record.~n",[]), w("-record(wx, {id, %% Integer Identity of object.~n" @@ -1108,7 +1134,7 @@ gen_event_recs() -> w("%% Here comes the definitions of all event records.~n" "%% they contain the event type and possible some extra information.~n~n",[]), Types = [build_event_rec(C) || {_,C=#class{event=Evs}} <- get(), Evs =/= false], - w("%% @type wxEventType() = ~s.~n", + w("%% @type wxEventType() = ~s.~n", [args(fun(Ev) -> Ev end, " | ", lists:sort(lists:append(Types)))]), %% close(), closed in gen_enums_ints ok. @@ -1123,22 +1149,22 @@ find_inherited_attr(Param = {PName,_}, Name) -> end. filter_attrs(#class{name=Name, parent=Parent,attributes=Attrs}) -> - Attr1 = lists:foldl(fun(#param{acc=skip},Acc) -> Acc; + Attr1 = lists:foldl(fun(#param{acc=skip},Acc) -> Acc; (P=#param{prot=public},Acc) -> [P|Acc]; - (#param{acc=undefined},Acc) -> Acc; + (#param{acc=undefined},Acc) -> Acc; ({inherited, PName},Acc) -> case find_inherited_attr(PName, Parent) of - undefined -> + undefined -> io:format("~p:~p: Missing Event Attr ~p in ~p~n", [?MODULE,?LINE, PName, Name]), Acc; - P -> + P -> [P|Acc] end; (P, Acc) -> [P|Acc] end, [], Attrs), lists:reverse(Attr1). - + build_event_rec(Class=#class{name=Name, event=Evs}) -> EvTypes = [event_type_name(Ev) || Ev <- Evs], Str = args(fun(Ev) -> "<em>"++Ev++"</em>" end, ", ", EvTypes), @@ -1146,26 +1172,26 @@ build_event_rec(Class=#class{name=Name, event=Evs}) -> Rec = event_rec_name(Name), GetName = fun(#param{name=N}) ->event_attr_name(N) end, GetType = fun(#param{name=N,type=T}) -> - event_attr_name(N) ++ "=" ++ doc_arg_type2(T) + event_attr_name(N) ++ "=" ++ doc_arg_type2(T) end, case Attr =:= [] of - true -> + true -> w("%% @type ~s() = #~s{type=wxEventType()}.~n", [Rec,Rec]), w("%% <dl><dt>EventType:</dt> <dd>~s</dd></dl>~n",[Str]), -%% case is_command_event(Name) of +%% case is_command_event(Name) of %% true -> w("%% This event skips other event handlers.~n",[]); %% false -> w("%% This event will be handled by other handlers~n",[]) %% end, w("%% Callback event: {@link ~s}~n", [Name]), w("-record(~s, {type}).~n~n", [Rec]); false -> - w("%% @type ~s() = #~s{type=wxEventType(),~s}.~n", + w("%% @type ~s() = #~s{type=wxEventType(),~s}.~n", [Rec,Rec,args(GetType,",",Attr)]), w("%% <dl><dt>EventType:</dt> <dd>~s</dd></dl>~n",[Str]), -%% case is_command_event(Name) of +%% case is_command_event(Name) of %% true -> w("%% This event skips other event handlers.~n",[]); %% false -> w("%% This event will be handled by other handlers~n",[]) -%% end, +%% end, w("%% Callback event: {@link ~s}~n", [Name]), w("-record(~s,{type, ~s}).~n~n", [Rec,args(GetName,",",Attr)]) end, @@ -1176,7 +1202,7 @@ is_command_event(Name) -> true -> true; false -> false end. - + event_rec_name(Name0 = "wx" ++ _) -> "tnevE" ++ Name1 = reverse(Name0), reverse(Name1). @@ -1193,7 +1219,7 @@ event_attr_name(Attr) -> lowercase(Attr). -gen_funcnames() -> +gen_funcnames() -> open_write("../src/gen/wxe_debug.hrl"), erl_copyright(), w("%% This file is generated DO NOT EDIT~n~n", []), @@ -1235,7 +1261,7 @@ unique_names(Ms0, Class) -> Ms = split_list(fun(#method{name=N}, M) -> {N =:= M, N} end, undefined, Ms2), unique_names2(Ms,Class). %% by Names -unique_names2([[#method{id=Id, name=Method,alias=Alias, max_arity=A}]|Ms], Class) -> +unique_names2([[#method{id=Id, name=Method,alias=Alias, max_arity=A}]|Ms], Class) -> [{Class,uname(alias(Method,Alias),Class),A,Id} | unique_names2(Ms,Class)]; unique_names2([Ms0|RMs], Class) -> Split = fun(#method{max_arity=A}, P) -> {A =:= P, A} end, @@ -1256,11 +1282,11 @@ unique_names4([], _, _Class) -> []. alias(Method, undefined) -> Method; alias(_, Alias) -> Alias. - + uname(Class,Class) -> "new"; uname([$~ | _], _ ) -> "destruct"; uname(Name, _) -> Name. - + split_list(F, Keep, List) -> split_list(F, Keep, List, []). @@ -1275,5 +1301,5 @@ split_list(F, Keep, [M|Ms], Acc) -> end; split_list(_, _, [], []) -> []; split_list(_, _, [], Acc) -> [lists:reverse(Acc)]. - + diff --git a/lib/wx/api_gen/wxapi.conf b/lib/wx/api_gen/wxapi.conf index 4f7bbfedef..8ee4451057 100644 --- a/lib/wx/api_gen/wxapi.conf +++ b/lib/wx/api_gen/wxapi.conf @@ -2,7 +2,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2011. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -27,7 +27,11 @@ wxFONTENCODING_UTF32,wxFONTENCODING_UTF16, wxDEFAULT_CONTROL_BORDER,wxMOD_CMD, wxMAJOR_VERSION, wxMINOR_VERSION, - wxRELEASE_NUMBER,wxSUBRELEASE_NUMBER,wxBETA_NUMBER + wxRELEASE_NUMBER,wxSUBRELEASE_NUMBER,wxBETA_NUMBER, + %% + wxALWAYS_NATIVE_DOUBLE_BUFFER, + wxGAUGE_EMULATE_INDETERMINATE_MODE, + wxTR_DEFAULT_STYLE ]}. {gvars, @@ -501,15 +505,15 @@ {"data",[in,{base,binary}]}, {"alpha",[in,{base,binary}]}, {{4,pre_hook}, - "if(!static_data) {" - "data = (unsigned char *) malloc(Ecmd.bin[0]->size);" - "memcpy(data,Ecmd.bin[0]->base,Ecmd.bin[0]->size);}"}, + [{c, "if(!static_data) {" + "data = (unsigned char *) malloc(Ecmd.bin[0]->size);" + "memcpy(data,Ecmd.bin[0]->base,Ecmd.bin[0]->size);}"}]}, {{5,pre_hook}, - "if(!static_data) {" - " data = (unsigned char *) malloc(Ecmd.bin[0]->size);" - " alpha = (unsigned char *) malloc(Ecmd.bin[1]->size);" - " memcpy(data,Ecmd.bin[0]->base,Ecmd.bin[0]->size);" - " memcpy(alpha,Ecmd.bin[1]->base,Ecmd.bin[1]->size);}"} + [{c, "if(!static_data) {" + " data = (unsigned char *) malloc(Ecmd.bin[0]->size);" + " alpha = (unsigned char *) malloc(Ecmd.bin[1]->size);" + " memcpy(data,Ecmd.bin[0]->base,Ecmd.bin[0]->size);" + " memcpy(alpha,Ecmd.bin[1]->base,Ecmd.bin[1]->size);}"}]} ]}, '~wxImage',%'AddHandler', 'Blur','BlurHorizontal','BlurVertical', @@ -520,15 +524,15 @@ {"data",[in,{base,binary}]}, {"alpha",[in,{base,binary}]}, {{4,pre_hook}, - "if(!static_data) {" - "data = (unsigned char *) malloc(Ecmd.bin[0]->size);" - "memcpy(data,Ecmd.bin[0]->base,Ecmd.bin[0]->size);}"}, + [{c, "if(!static_data) {" + "data = (unsigned char *) malloc(Ecmd.bin[0]->size);" + "memcpy(data,Ecmd.bin[0]->base,Ecmd.bin[0]->size);}"}]}, {{5,pre_hook}, - "if(!static_data) {" - " data = (unsigned char *) malloc(Ecmd.bin[0]->size);" - " alpha = (unsigned char *) malloc(Ecmd.bin[1]->size);" - " memcpy(data,Ecmd.bin[0]->base,Ecmd.bin[0]->size);" - " memcpy(alpha,Ecmd.bin[1]->base,Ecmd.bin[1]->size);}"} + [{c, "if(!static_data) {" + " data = (unsigned char *) malloc(Ecmd.bin[0]->size);" + " alpha = (unsigned char *) malloc(Ecmd.bin[1]->size);" + " memcpy(data,Ecmd.bin[0]->base,Ecmd.bin[0]->size);" + " memcpy(alpha,Ecmd.bin[1]->base,Ecmd.bin[1]->size);}"}]} ]}, 'Destroy','FindFirstUnusedColour', % 'FindHandler', 'GetImageExtWildcard', @@ -547,15 +551,15 @@ 'Rotate90','SaveFile','Scale','Size', {'SetAlpha', [{{2,"alpha"},[in,{base,binary}, {def, none}]}, {{2,pre_hook}, - "if(!static_data) {" - "alpha = (unsigned char *) malloc(Ecmd.bin[0]->size);" - "memcpy(alpha,Ecmd.bin[0]->base,Ecmd.bin[0]->size);}"} + [{c, "if(!static_data) {" + "alpha = (unsigned char *) malloc(Ecmd.bin[0]->size);" + "memcpy(alpha,Ecmd.bin[0]->base,Ecmd.bin[0]->size);}"}]} ]}, {'SetData', [{"data",[in,{base,binary}]}, {pre_hook, - "if(!static_data) {" - "data = (unsigned char *) malloc(Ecmd.bin[0]->size);" - "memcpy(data,Ecmd.bin[0]->base,Ecmd.bin[0]->size);}"} + [{c, "if(!static_data) {" + "data = (unsigned char *) malloc(Ecmd.bin[0]->size);" + "memcpy(data,Ecmd.bin[0]->base,Ecmd.bin[0]->size);}"}]} ]}, 'SetMask','SetMaskColour','SetMaskFromImage','SetOption', 'SetPalette', @@ -702,7 +706,7 @@ ['wxCheckBox','~wxCheckBox','Create','GetValue','Get3StateValue', 'Is3rdStateAllowedForUser','Is3State','IsChecked','SetValue', 'Set3StateValue']}. -{class, wxCheckListBox, wxListBox, [{skip,[{wxCheckListBox,8}]}], +{class, wxCheckListBox, wxListBox, [{skip,[{wxCheckListBox,8}]}], [{'wxCheckListBox',[{"pos",{def, "wxDefaultPosition"}}, {"size",{def, "wxDefaultSize"}}, {"choices",{def, ""}}]}, @@ -752,7 +756,9 @@ 'SetFirstItem']}. {class, wxListCtrl, wxControl, [], - ['wxListCtrl','~wxListCtrl','Arrange','AssignImageList','ClearAll','Create', + [{'wxListCtrl', [{where, taylormade}]}, + '~wxListCtrl','Arrange','AssignImageList','ClearAll', + {'Create',[{where, taylormade}]}, 'DeleteAllItems','DeleteColumn','DeleteItem', {'EditLabel',[{"textControlClass",nowhere}]}, 'EnsureVisible', @@ -784,6 +790,13 @@ 'SetFont','SetId','SetImage','SetMask','SetState', 'SetStateMask','SetText','SetTextColour','SetWidth']}. +{class, wxListItemAttr, root, [], + ['wxListItemAttr','~wxListItemAttr', + 'GetBackgroundColour', 'GetFont', + 'GetTextColour', 'HasBackgroundColour', 'HasFont', + 'HasTextColour', 'SetBackgroundColour', 'SetFont', 'SetTextColour' + ]}. + {class, wxImageList, object, [{skip, [{'Create',1}]}], %% No create/0 on windows ['wxImageList','~wxImageList','Add','Create','Draw','GetBitmap','GetIcon','GetImageCount', 'GetSize','Remove','RemoveAll','Replace']}. @@ -898,8 +911,8 @@ ['wxTreeCtrl','~wxTreeCtrl','AddRoot','AppendItem', %% Not on Windows 'AssignButtonsImageList','GetButtonsImageList','SetButtonsImageList' 'AssignImageList','AssignStateImageList','Collapse','CollapseAndReset', - 'Create','Delete','DeleteAllItems','DeleteChildren',{'EditLabel',1}, - %'EndEditLabel', + 'Create','Delete','DeleteAllItems','DeleteChildren', + {'EditLabel', [{"textCtrlClass", [nowhere]}]}, %'EndEditLabel', 'EnsureVisible','Expand','GetBoundingRect', 'GetChildrenCount','GetCount','GetEditControl', {'GetFirstChild',[{"cookie", out}]}, {'GetNextChild',[{"cookie", [both]}]}, @@ -1144,7 +1157,8 @@ [{skip, [{'SetCurrent', 2}]}], %% NA MAC [{'wxGLCanvas', [{"attribList", [in, {single,array}]}]}, 'GetContext', - {'SetCurrent', [{post_hook,"if(This->GetContext()) setActiveGL(Ecmd.caller,This)"}]}, + {'SetCurrent', [{post_hook,[{c, "if(This->GetContext()) setActiveGL(Ecmd.caller,This)"}, + {erl, "{ok, _} = wxe_master:init_opengl(),"}]}]}, %%{'SetColour', [{"colour", [in, {single,array}]}]}, 'SwapBuffers']}. @@ -1686,7 +1700,7 @@ {class, wxSplitterEvent, wxNotifyEvent, - [ + [{acc, [{x, skip}, {y, skip}, {pos, skip}, {win, skip}, {pt, skip}]}, %% arrgh doxygen bugs {event, [wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED, wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, @@ -1736,6 +1750,11 @@ %% 'GetItemRect', 'SetItemRect', 'GetToolId', 'SetToolId' %% ]}. +{class, wxSystemSettings, object, [], + [ + 'GetColour','GetFont','GetMetric','GetScreenType' + ]}. + {class, wxAuiNotebookEvent, wxNotifyEvent, [{acc, [{old_selection, "GetOldSelection()"}, {selection, "GetSelection()"}, diff --git a/lib/wx/c_src/Makefile.in b/lib/wx/c_src/Makefile.in index 5a0b4ce8ef..69418f62ef 100644 --- a/lib/wx/c_src/Makefile.in +++ b/lib/wx/c_src/Makefile.in @@ -32,14 +32,16 @@ endif SO_EXT = @SO_EXT@ -GENERAL = wxe_driver wxe_ps_init wxe_impl wxePrintout wxe_return +GENERAL = wxe_driver wxe_ps_init wxe_impl wxePrintout wxe_return wxe_gl GENERAL_H = wxe_driver.h wxe_impl.h wxe_return.h GENERATED_F = wxe_funcs wxe_events wxe_init -GENERATED_H = gen/wxe_macros.h gen/glu_finit.h gen/gl_finit.h gen/gl_fdefs.h +GENERATED_H = gen/wxe_macros.h + +GL_H = egl_impl.h gen/glu_finit.h gen/gl_finit.h gen/gl_fdefs.h HAVE_OPENGL = true -OPENGL_F = gl_funcs wxe_gl +OPENGL_F = gl_funcs egl_impl ifneq ($(INSIDE_ERLSRC),true) @@ -60,9 +62,9 @@ SYS_TYPE = @WXERL_SYS_TYPE@ GENERAL_O = $(GENERAL:%=$(SYS_TYPE)/%.o) GENERATED_O = $(GENERATED_F:%=$(SYS_TYPE)/%.o) ifeq ($(HAVE_OPENGL), true) - OPENGL_O = $(OPENGL_F:%=$(SYS_TYPE)/%.o) + GL_OBJECTS = $(OPENGL_F:%=$(SYS_TYPE)/%.o) else - OPENGL_O = + GL_OBJECTS = endif RC_FILE_EXT = @RC_FILE_TYPE@ @@ -72,10 +74,12 @@ else RC_FILE = endif -OBJECTS = $(GENERAL_O) $(GENERATED_O) $(OPENGL_O) $(RC_FILE) +WX_OBJECTS = $(GENERAL_O) $(GENERATED_O) $(RC_FILE) + +OBJECTS = $(WX_OBJECTS) $(GL_OBJECTS) -TARGET_API = wxe_driver -TARGET_DIR = ../priv/$(SYS_TYPE) +TARGET_APIS = wxe_driver erl_gl +TARGET_DIR = ../priv # -O2 -funroll-loops -ffast-math -fomit-frame-pointer @@ -87,31 +91,36 @@ LD = $(CPP) LDFLAGS = @LDFLAGS@ RESCOMP = @WX_RESCOMP@ - ifeq (@WX_HAVE_STATIC_LIBS@,true) -WX_LIBS = @WX_LIBS_STATIC@ +OPT_WX_LIBS = @WX_LIBS_STATIC@ DEBUG_WX_LIBS = @DEBUG_WX_LIBS_STATIC@ else -WX_LIBS = @WX_LIBS@ +OPT_WX_LIBS = @WX_LIBS@ DEBUG_WX_LIBS = @DEBUG_WX_LIBS@ endif ifeq ($(TYPE),debug) -CFLAGS = @DEBUG_WX_CFLAGS@ @DEBUG_CFLAGS@ -CPP_FLAGS = @DEBUG_WX_CXXFLAGS@ @DEBUG_CXXFLAGS@ -LIBS = $(DEBUG_WX_LIBS) +WX_CFLAGS = @DEBUG_WX_CFLAGS@ +CFLAGS = @DEBUG_CFLAGS@ +WX_CXX_FLAGS = @DEBUG_WX_CXXFLAGS@ +CXX_FLAGS = @DEBUG_CXXFLAGS@ +WX_LIBS = $(DEBUG_WX_LIBS) else -CFLAGS = @WX_CFLAGS@ @CFLAGS@ -CPP_FLAGS = @WX_CXXFLAGS@ @CXXFLAGS@ -LIBS = $(WX_LIBS) +WX_CFLAGS = @WX_CFLAGS@ +CFLAGS = @CFLAGS@ +WX_CXX_FLAGS = @WX_CXXFLAGS@ +CXX_FLAGS = @CXXFLAGS@ +WX_LIBS = $(OPT_WX_LIBS) endif -CC_O = $(CC) -c $(CFLAGS) $(COMMON_CFLAGS) -CPP_O = $(CPP) -c $(CPP_FLAGS) $(COMMON_CFLAGS) +GL_LIBS = @GL_LIBS@ + +CC_O = $(CC) -c $(CFLAGS) $(WX_CFLAGS) $(COMMON_CFLAGS) +CPP_O = $(CPP) -c $(CXX_FLAGS) $(WX_CXX_FLAGS) $(COMMON_CFLAGS) # Targets -opt: $(TARGET_DIR)/$(TARGET_API)$(SO_EXT) +opt: $(TARGET_DIR)/wxe_driver$(SO_EXT) $(TARGET_DIR)/erl_gl$(SO_EXT) debug: @${MAKE} TYPE=debug @@ -132,20 +141,22 @@ complete_clean: docs: +$(GL_OBJECTS): $(GL_H) +$(WX_OBJECTS): $(GENERATED_H) $(GENERAL_H) -$(SYS_TYPE)/%.o: %.cpp $(GENERATED_H) $(GENERAL_H) +$(SYS_TYPE)/%.o: %.cpp mkdir -p $(SYS_TYPE) $(CPP_O) $< -o $@ -$(SYS_TYPE)/%.o: %.c $(GENERATED_H) $(GENERAL_H) +$(SYS_TYPE)/%.o: %.c mkdir -p $(SYS_TYPE) $(CC_O) $< -o $@ -$(SYS_TYPE)/%.o: gen/%.cpp $(GENERATED_H) $(GENERAL_H) +$(SYS_TYPE)/%.o: gen/%.cpp mkdir -p $(SYS_TYPE) $(CPP_O) $< -o $@ -$(SYS_TYPE)/%.o: gen/%.c $(GENERATED_H) $(GENERAL_H) +$(SYS_TYPE)/%.o: gen/%.c mkdir -p $(SYS_TYPE) $(CC_O) $< -o $@ @@ -153,9 +164,13 @@ $(SYS_TYPE)/wxe_win32.$(RC_FILE_EXT): wxe_win32.rc mkdir -p $(SYS_TYPE) $(RESCOMP) -o $@ $< -$(TARGET_DIR)/$(TARGET_API)$(SO_EXT): $(OBJECTS) +$(TARGET_DIR)/wxe_driver$(SO_EXT): $(WX_OBJECTS) + mkdir -p $(TARGET_DIR) + $(LD) $(LDFLAGS) $(WX_OBJECTS) $(WX_LIBS) -o $@ + +$(TARGET_DIR)/erl_gl$(SO_EXT): $(GL_OBJECTS) mkdir -p $(TARGET_DIR) - $(LD) $(LDFLAGS) $(OBJECTS) $(LIBS) -o $@ + $(CC) $(LDFLAGS) $(GL_OBJECTS) $(GL_LIBS) -o $@ # ---------------------------------------------------- @@ -164,10 +179,11 @@ $(TARGET_DIR)/$(TARGET_API)$(SO_EXT): $(OBJECTS) ifeq ($(INSIDE_ERLSRC),true) include $(ERL_TOP)/make/otp_release_targets.mk release_spec: opt - $(INSTALL_DIR) $(RELSYSDIR)/priv/$(SYS_TYPE) + $(INSTALL_DIR) $(RELSYSDIR)/priv $(INSTALL_DATA) ../priv/erlang-logo32.png $(RELSYSDIR)/priv/ $(INSTALL_DATA) ../priv/erlang-logo64.png $(RELSYSDIR)/priv/ - $(INSTALL_DATA) $(TARGET_DIR)/$(TARGET_API)$(SO_EXT) $(RELSYSDIR)/priv/$(SYS_TYPE) + $(INSTALL_PROGRAM) $(TARGET_DIR)/wxe_driver$(SO_EXT) $(RELSYSDIR)/priv/ + $(INSTALL_PROGRAM) $(TARGET_DIR)/erl_gl$(SO_EXT) $(RELSYSDIR)/priv/ release_docs_spec: diff --git a/lib/wx/c_src/egl_impl.cpp b/lib/wx/c_src/egl_impl.cpp new file mode 100644 index 0000000000..6d873abc44 --- /dev/null +++ b/lib/wx/c_src/egl_impl.cpp @@ -0,0 +1,306 @@ +/* + * %CopyrightBegin% + * + * Copyright Ericsson AB 2011. All Rights Reserved. + * + * The contents of this file are subject to the Erlang Public License, + * Version 1.1, (the "License"); you may not use this file except in + * compliance with the License. You should have received a copy of the + * Erlang Public License along with this software. If not, it can be + * retrieved online at http://www.erlang.org/. + * + * Software distributed under the License is distributed on an "AS IS" + * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See + * the License for the specific language governing rights and limitations + * under the License. + * + * %CopyrightEnd% + */ + +#include <stdio.h> +#include <string.h> + +#ifdef _WIN32 +#include <windows.h> +#endif + +#include "egl_impl.h" + +#define WX_DEF_EXTS +#include "gen/gl_fdefs.h" +#include "gen/gl_finit.h" +#include "gen/glu_finit.h" + +void init_tess(); +void exit_tess(); +int load_gl_functions(); + +/* **************************************************************************** + * OPENGL INITIALIZATION + *****************************************************************************/ + +int egl_initiated = 0; + +#ifdef _WIN32 +#define RTLD_LAZY 0 +#define OPENGL_LIB L"opengl32.dll" +#define OPENGLU_LIB L"glu32.dll" +typedef HMODULE DL_LIB_P; +typedef WCHAR DL_CHAR; +void * dlsym(HMODULE Lib, const char *func) { + void * funcp; + if((funcp = (void *) GetProcAddress(Lib, func))) + return funcp; + else + return (void *) wglGetProcAddress(func); +} + +HMODULE dlopen(const WCHAR *DLL, int unused) { + return LoadLibrary(DLL); +} + +void dlclose(HMODULE Lib) { + FreeLibrary(Lib); +} + +#else +typedef void * DL_LIB_P; +typedef char DL_CHAR; +# ifdef _MACOSX +# define OPENGL_LIB "/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib" +# define OPENGLU_LIB "/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib" +# else +# define OPENGL_LIB "libGL.so" +# define OPENGLU_LIB "libGLU.so" +# endif +#endif +extern "C" { +DRIVER_INIT(EGL_DRIVER) { + return NULL; +} +} + +int egl_init_opengl(void *erlCallbacks) +{ +#ifdef _WIN32 + driver_init((TWinDynDriverCallbacks *) erlCallbacks); +#endif + if(egl_initiated == 0) { + if(load_gl_functions()) { + init_tess(); + egl_initiated = 1; + } + } + return 1; +} + +int load_gl_functions() { + DL_CHAR * DLName = (DL_CHAR *) OPENGL_LIB; + DL_LIB_P LIBhandle = dlopen(DLName, RTLD_LAZY); + //fprintf(stderr, "Loading GL: %s\r\n", (const char*)DLName); + void * func = NULL; + int i; + + if(LIBhandle) { + for(i=0; gl_fns[i].name != NULL; i++) { + if((func = dlsym(LIBhandle, gl_fns[i].name))) { + * (void **) (gl_fns[i].func) = func; + // fprintf(stderr, "GL LOADED %s \r\n", gl_fns[i].name); + } else { + if(gl_fns[i].alt != NULL) { + if((func = dlsym(LIBhandle, gl_fns[i].alt))) { + * (void **) (gl_fns[i].func) = func; + // fprintf(stderr, "GL LOADED %s \r\n", gl_fns[i].alt); + } else { + * (void **) (gl_fns[i].func) = (void *) &gl_error; + // fprintf(stderr, "GL Skipped %s and %s \r\n", gl_fns[i].name, gl_fns[i].alt); + }; + } else { + * (void **) (gl_fns[i].func) = (void *) &gl_error; + // fprintf(stderr, "GL Skipped %s \r\n", gl_fns[i].name); + } + } + } + dlclose(LIBhandle); + // fprintf(stderr, "OPENGL library is loaded\r\n"); + } else { + fprintf(stderr, "Could NOT load OpenGL library: %s\r\n", DLName); + }; + + DLName = (DL_CHAR *) OPENGLU_LIB; + LIBhandle = dlopen(DLName, RTLD_LAZY); + // fprintf(stderr, "Loading GLU: %s\r\n", (const char*)DLName); + func = NULL; + + if(LIBhandle) { + for(i=0; glu_fns[i].name != NULL; i++) { + if((func = dlsym(LIBhandle, glu_fns[i].name))) { + * (void **) (glu_fns[i].func) = func; + } else { + if(glu_fns[i].alt != NULL) { + if((func = dlsym(LIBhandle, glu_fns[i].alt))) { + * (void **) (glu_fns[i].func) = func; + } else { + * (void **) (glu_fns[i].func) = (void *) &gl_error; + // fprintf(stderr, "GLU Skipped %s\r\n", glu_fns[i].alt); + }; + } else { + * (void **) (glu_fns[i].func) = (void *) &gl_error; + // fprintf(stderr, "GLU Skipped %s\r\n", glu_fns[i].name); + } + } + } + dlclose(LIBhandle); + // fprintf(stderr, "GLU library is loaded\r\n"); + } else { + fprintf(stderr, "Could NOT load OpenGL GLU library: %s\r\n", DLName); + }; + + return 1; +} + +void gl_error() { + // fprintf(stderr, "OpenGL Extension not available \r\n"); + throw "undef_extension"; +} + +/* ******************************************************************************* + * GLU Tesselation special + * ******************************************************************************/ + +static GLUtesselator* tess; +static GLdouble* tess_coords; +static GLdouble* tess_alloc_vertex; +static int* tess_vertices; + +void CALLBACK +egl_ogla_vertex(GLdouble* coords) +{ + /* fprintf(stderr, "%d\r\n", (int) (coords - tess_coords) / 3); */ + + *tess_vertices++ = (int) (coords - tess_coords) / 3; +} + +void CALLBACK +egl_ogla_edge_flag(GLboolean flag) +{ +} + +void CALLBACK +egl_ogla_error(GLenum errorCode) +{ + const GLubyte *err; + err = gluErrorString(errorCode); + // wxString msg; + // msg.Printf(wxT("Tesselation error: %d: "), (int)errorCode); + // msg += wxString::FromAscii((char *) err); + // send_msg("error", &msg); + fprintf(stderr, "Tesselation error: %d\r\n", (int) errorCode); +} + +void CALLBACK +egl_ogla_combine(GLdouble coords[3], + void* vertex_data[4], + GLfloat w[4], + void **dataOut) +{ + GLdouble* vertex = tess_alloc_vertex; + + tess_alloc_vertex += 3; + +#if 0 + fprintf(stderr, "combine: "); + int i; + for (i = 0; i < 4; i++) { + if (w[i] > 0.0) { + fprintf(stderr, "%d(%g) ", (int) vertex_data[i], w[i]); + } + } + fprintf(stderr, "\r\n"); + fprintf(stderr, "%g %g %g\r\n", vertex[0], vertex[1], vertex[2]); +#endif + + vertex[0] = coords[0]; + vertex[1] = coords[1]; + vertex[2] = coords[2]; + *dataOut = vertex; +} + +void init_tess() +{ + tess = gluNewTess(); + + gluTessCallback(tess, GLU_TESS_VERTEX, (GLUfuncptr) egl_ogla_vertex); + gluTessCallback(tess, GLU_TESS_EDGE_FLAG, (GLUfuncptr) egl_ogla_edge_flag); + gluTessCallback(tess, GLU_TESS_COMBINE, (GLUfuncptr) egl_ogla_combine); + gluTessCallback(tess, GLU_TESS_ERROR, (GLUfuncptr) egl_ogla_error); + +} + +void exit_tess() +{ + gluDeleteTess(tess); +} + +int erl_tess_impl(char* buff, ErlDrvPort port, ErlDrvTermData caller) +{ + ErlDrvBinary* bin; + int i; + GLdouble* new_vertices; + int *vertices; + int num_vertices; + GLdouble *n; + int n_pos, AP, res; + + num_vertices = * (int *) buff; buff += 8; /* Align */ + n = (double *) buff; buff += 8*3; + + bin = driver_alloc_binary(num_vertices*6*sizeof(GLdouble)); + new_vertices = tess_coords = (double *) bin->orig_bytes; + memcpy(tess_coords,buff,num_vertices*3*sizeof(GLdouble)); + tess_alloc_vertex = tess_coords + num_vertices*3; + +#if 0 + fprintf(stderr, "n=%d\r\n", num_vertices); +#endif + vertices = (int *) driver_alloc(sizeof(int) * 16*num_vertices); + + tess_vertices = vertices; + + gluTessNormal(tess, n[0], n[1], n[2]); + gluTessBeginPolygon(tess, 0); + gluTessBeginContour(tess); + for (i = 0; i < num_vertices; i++) { + gluTessVertex(tess, tess_coords+3*i, tess_coords+3*i); + } + gluTessEndContour(tess); + gluTessEndPolygon(tess); + + n_pos = (tess_vertices - vertices); + + AP = 0; ErlDrvTermData *rt; + rt = (ErlDrvTermData *) driver_alloc(sizeof(ErlDrvTermData) * (13+n_pos*2)); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); + + for(i=0; i < n_pos; i++) { + rt[AP++] = ERL_DRV_INT; rt[AP++] = (int) vertices[i]; + }; + rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = n_pos+1; + + rt[AP++] = ERL_DRV_BINARY; rt[AP++] = (ErlDrvTermData) bin; + rt[AP++] = (tess_alloc_vertex-new_vertices)*sizeof(GLdouble); rt[AP++] = 0; + + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; // Return tuple {list, Bin} + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; // Result tuple + + res = driver_send_term(port,caller,rt,AP); + /* fprintf(stderr, "List %d: %d %d %d \r\n", */ + /* res, */ + /* n_pos, */ + /* (tess_alloc_vertex-new_vertices)*sizeof(GLdouble), */ + /* num_vertices*6*sizeof(GLdouble)); */ + driver_free_binary(bin); + driver_free(vertices); + driver_free(rt); + return 0; +} diff --git a/lib/wx/c_src/egl_impl.h b/lib/wx/c_src/egl_impl.h new file mode 100644 index 0000000000..e93e4caefd --- /dev/null +++ b/lib/wx/c_src/egl_impl.h @@ -0,0 +1,149 @@ +/* + * %CopyrightBegin% + * + * Copyright Ericsson AB 2010. All Rights Reserved. + * + * The contents of this file are subject to the Erlang Public License, + * Version 1.1, (the "License"); you may not use this file except in + * compliance with the License. You should have received a copy of the + * Erlang Public License along with this software. If not, it can be + * retrieved online at http://www.erlang.org/. + * + * Software distributed under the License is distributed on an "AS IS" + * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See + * the License for the specific language governing rights and limitations + * under the License. + * + * %CopyrightEnd% + */ + +#include "erl_driver.h" + +/* Wrap everything from glext.h so we are not dependent on the user version of it */ + +#ifndef _WIN32 +# include <dlfcn.h> +#endif + +#ifdef _WIN32 +#include <windows.h> +#include <gl/gl.h> +#include <gl/glu.h> +#elif defined(HAVE_GL_GL_H) +#include <GL/gl.h> +# include <GL/glu.h> +#elif defined(HAVE_OPENGL_GL_H) +#include <OpenGL/gl.h> +#include <OpenGL/glu.h> +#endif + +#ifndef APIENTRY +#define APIENTRY +#endif + +#ifndef CALLBACK +# define CALLBACK +#endif + +#ifdef _WIN32 +# ifndef _GLUfuncptr +// Visual studio CPP ++ compiler +# define _GLUfuncptr void (_stdcall *)() +# endif +#endif + +#ifdef _GLUfuncptr +# define GLUfuncptr _GLUfuncptr +#elif defined(TESS_CB_TIGER_STYLE) +# define GLUfuncptr GLvoid (*)(...) +#else +# define GLUfuncptr GLvoid (*)() +#endif + +/* Some new GL types (eliminates the need for glext.h) */ + +#ifndef HAVE_GLINTPTR +#ifndef HAVE_GLINTPTRARB +# include <stddef.h> +/* GL types for handling large vertex buffer objects */ +typedef ptrdiff_t GLintptrARB; +typedef ptrdiff_t GLsizeiptrARB; +#endif /* HAVE_GLINTPTRARB */ +typedef GLintptrARB GLintptr; +typedef GLsizeiptrARB GLsizeiptr; +#endif /* HAVE_GLINTPTR */ + +#ifndef HAVE_GLCHAR +# ifndef HAVE_GLCHARARB +/* GL types for handling shader object handles and characters */ +typedef char GLcharARB; /* native character */ +typedef unsigned int GLhandleARB; /* shader object handle */ +#endif /* HAVE_GLCHARARB */ +typedef GLcharARB GLchar; +#endif + +#ifndef HAVE_GLHALFARB +/* GL types for "half" precision (s10e5) float data in host memory */ +typedef unsigned short GLhalfARB; +#endif + +/* Define int32_t, int64_t, and uint64_t types for UST/MSC */ +/* (as used in the GLX_OML_sync_control extension). */ +#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L +#include <inttypes.h> +#elif defined(__sun__) +#include <inttypes.h> +#if defined(__STDC__) +#if defined(__arch64__) +typedef long int int64_t; +typedef unsigned long int uint64_t; +#else +typedef long long int int64_t; +typedef unsigned long long int uint64_t; +#endif /* __arch64__ */ +#endif /* __STDC__ */ +#elif defined( __VMS ) +#include <inttypes.h> +#elif defined(__SCO__) || defined(__USLC__) +#include <stdint.h> +#elif defined(__UNIXOS2__) || defined(__SOL64__) +typedef long int int32_t; +typedef long long int int64_t; +typedef unsigned long long int uint64_t; +#elif defined(WIN32) && defined(_MSC_VER) +typedef long int int32_t; +typedef __int64 int64_t; +typedef unsigned __int64 uint64_t; +#elif defined(WIN32) && defined(__GNUC__) +#include <stdint.h> +#else +#include <inttypes.h> /* Fallback option */ +#endif + +#ifndef HAVE_GLINT64EXT +typedef int64_t GLint64EXT; +typedef uint64_t GLuint64EXT; +#endif + +#ifndef GL_ARB_sync +typedef int64_t GLint64; +typedef uint64_t GLuint64; +typedef struct __GLsync *GLsync; +#endif + +/* External Api */ + +#ifdef _WIN32 +extern "C" __declspec(dllexport) int egl_init_opengl(void *); +extern "C" __declspec(dllexport) void egl_dispatch(int, char *, ErlDrvPort, ErlDrvTermData, char **, int *); +#else +extern "C" int egl_init_opengl(void *); +extern "C" void egl_dispatch(int, char *, ErlDrvPort, ErlDrvTermData, char **, int *); +#endif + +/* internal */ +int erl_tess_impl(char* buff, ErlDrvPort port, ErlDrvTermData caller); +void gl_error(); +extern int gl_error_op; +extern ErlDrvTermData gl_active; + diff --git a/lib/wx/c_src/gen/gl_fdefs.h b/lib/wx/c_src/gen/gl_fdefs.h index f8851ddb83..a45896d30d 100644 --- a/lib/wx/c_src/gen/gl_fdefs.h +++ b/lib/wx/c_src/gen/gl_fdefs.h @@ -16,7 +16,7 @@ * * %CopyrightEnd% */ -/***** This file is generated do not edit ****/ +/***** This file is generated do not edit ****/ #ifdef WX_DEF_EXTS # define WXE_EXTERN @@ -24,6 +24,13 @@ # define WXE_EXTERN extern #endif +typedef struct { + const char * name; + const char * alt; + void * func; +} gl_fns_t; + +#define GLE_GL_FUNC_START 5037 typedef void (APIENTRY * WXEGLACCUM)(GLenum,GLfloat); WXE_EXTERN WXEGLACCUM weglAccum; typedef void (APIENTRY * WXEGLALPHAFUNC)(GLenum,GLclampf); @@ -684,7 +691,7 @@ typedef void (APIENTRY * WXEGLMULTTRANSPOSEMATRIXD)(const GLdouble *); WXE_EXTERN WXEGLMULTTRANSPOSEMATRIXD weglMultTransposeMatrixd; typedef void (APIENTRY * WXEGLBLENDFUNCSEPARATE)(GLenum,GLenum,GLenum,GLenum); WXE_EXTERN WXEGLBLENDFUNCSEPARATE weglBlendFuncSeparate; -typedef void (APIENTRY * WXEGLMULTIDRAWARRAYS)(GLenum,GLint *,GLsizei *,GLsizei); +typedef void (APIENTRY * WXEGLMULTIDRAWARRAYS)(GLenum,const GLint *,const GLsizei *,GLsizei); WXE_EXTERN WXEGLMULTIDRAWARRAYS weglMultiDrawArrays; typedef void (APIENTRY * WXEGLPOINTPARAMETERF)(GLenum,GLfloat); WXE_EXTERN WXEGLPOINTPARAMETERF weglPointParameterf; @@ -972,6 +979,30 @@ typedef void (APIENTRY * WXEGLGETVERTEXATTRIBIIV)(GLuint,GLenum,GLint *); WXE_EXTERN WXEGLGETVERTEXATTRIBIIV weglGetVertexAttribIiv; typedef void (APIENTRY * WXEGLGETVERTEXATTRIBIUIV)(GLuint,GLenum,GLuint *); WXE_EXTERN WXEGLGETVERTEXATTRIBIUIV weglGetVertexAttribIuiv; +typedef void (APIENTRY * WXEGLVERTEXATTRIBI1IV)(GLuint,const GLint *); +WXE_EXTERN WXEGLVERTEXATTRIBI1IV weglVertexAttribI1iv; +typedef void (APIENTRY * WXEGLVERTEXATTRIBI2IV)(GLuint,const GLint *); +WXE_EXTERN WXEGLVERTEXATTRIBI2IV weglVertexAttribI2iv; +typedef void (APIENTRY * WXEGLVERTEXATTRIBI3IV)(GLuint,const GLint *); +WXE_EXTERN WXEGLVERTEXATTRIBI3IV weglVertexAttribI3iv; +typedef void (APIENTRY * WXEGLVERTEXATTRIBI4IV)(GLuint,const GLint *); +WXE_EXTERN WXEGLVERTEXATTRIBI4IV weglVertexAttribI4iv; +typedef void (APIENTRY * WXEGLVERTEXATTRIBI1UIV)(GLuint,const GLuint *); +WXE_EXTERN WXEGLVERTEXATTRIBI1UIV weglVertexAttribI1uiv; +typedef void (APIENTRY * WXEGLVERTEXATTRIBI2UIV)(GLuint,const GLuint *); +WXE_EXTERN WXEGLVERTEXATTRIBI2UIV weglVertexAttribI2uiv; +typedef void (APIENTRY * WXEGLVERTEXATTRIBI3UIV)(GLuint,const GLuint *); +WXE_EXTERN WXEGLVERTEXATTRIBI3UIV weglVertexAttribI3uiv; +typedef void (APIENTRY * WXEGLVERTEXATTRIBI4UIV)(GLuint,const GLuint *); +WXE_EXTERN WXEGLVERTEXATTRIBI4UIV weglVertexAttribI4uiv; +typedef void (APIENTRY * WXEGLVERTEXATTRIBI4BV)(GLuint,const GLbyte *); +WXE_EXTERN WXEGLVERTEXATTRIBI4BV weglVertexAttribI4bv; +typedef void (APIENTRY * WXEGLVERTEXATTRIBI4SV)(GLuint,const GLshort *); +WXE_EXTERN WXEGLVERTEXATTRIBI4SV weglVertexAttribI4sv; +typedef void (APIENTRY * WXEGLVERTEXATTRIBI4UBV)(GLuint,const GLubyte *); +WXE_EXTERN WXEGLVERTEXATTRIBI4UBV weglVertexAttribI4ubv; +typedef void (APIENTRY * WXEGLVERTEXATTRIBI4USV)(GLuint,const GLushort *); +WXE_EXTERN WXEGLVERTEXATTRIBI4USV weglVertexAttribI4usv; typedef void (APIENTRY * WXEGLGETUNIFORMUIV)(GLuint,GLint,GLuint *); WXE_EXTERN WXEGLGETUNIFORMUIV weglGetUniformuiv; typedef void (APIENTRY * WXEGLBINDFRAGDATALOCATION)(GLuint,GLuint,const GLchar *); @@ -1012,30 +1043,6 @@ typedef void (APIENTRY * WXEGLCLEARBUFFERFI)(GLenum,GLint,GLfloat,GLint); WXE_EXTERN WXEGLCLEARBUFFERFI weglClearBufferfi; typedef const GLubyte * (APIENTRY * WXEGLGETSTRINGI)(GLenum,GLuint); WXE_EXTERN WXEGLGETSTRINGI weglGetStringi; -typedef void (APIENTRY * WXEGLVERTEXATTRIBI1IV)(GLuint,const GLint *); -WXE_EXTERN WXEGLVERTEXATTRIBI1IV weglVertexAttribI1iv; -typedef void (APIENTRY * WXEGLVERTEXATTRIBI2IV)(GLuint,const GLint *); -WXE_EXTERN WXEGLVERTEXATTRIBI2IV weglVertexAttribI2iv; -typedef void (APIENTRY * WXEGLVERTEXATTRIBI3IV)(GLuint,const GLint *); -WXE_EXTERN WXEGLVERTEXATTRIBI3IV weglVertexAttribI3iv; -typedef void (APIENTRY * WXEGLVERTEXATTRIBI4IV)(GLuint,const GLint *); -WXE_EXTERN WXEGLVERTEXATTRIBI4IV weglVertexAttribI4iv; -typedef void (APIENTRY * WXEGLVERTEXATTRIBI1UIV)(GLuint,const GLuint *); -WXE_EXTERN WXEGLVERTEXATTRIBI1UIV weglVertexAttribI1uiv; -typedef void (APIENTRY * WXEGLVERTEXATTRIBI2UIV)(GLuint,const GLuint *); -WXE_EXTERN WXEGLVERTEXATTRIBI2UIV weglVertexAttribI2uiv; -typedef void (APIENTRY * WXEGLVERTEXATTRIBI3UIV)(GLuint,const GLuint *); -WXE_EXTERN WXEGLVERTEXATTRIBI3UIV weglVertexAttribI3uiv; -typedef void (APIENTRY * WXEGLVERTEXATTRIBI4UIV)(GLuint,const GLuint *); -WXE_EXTERN WXEGLVERTEXATTRIBI4UIV weglVertexAttribI4uiv; -typedef void (APIENTRY * WXEGLVERTEXATTRIBI4BV)(GLuint,const GLbyte *); -WXE_EXTERN WXEGLVERTEXATTRIBI4BV weglVertexAttribI4bv; -typedef void (APIENTRY * WXEGLVERTEXATTRIBI4SV)(GLuint,const GLshort *); -WXE_EXTERN WXEGLVERTEXATTRIBI4SV weglVertexAttribI4sv; -typedef void (APIENTRY * WXEGLVERTEXATTRIBI4UBV)(GLuint,const GLubyte *); -WXE_EXTERN WXEGLVERTEXATTRIBI4UBV weglVertexAttribI4ubv; -typedef void (APIENTRY * WXEGLVERTEXATTRIBI4USV)(GLuint,const GLushort *); -WXE_EXTERN WXEGLVERTEXATTRIBI4USV weglVertexAttribI4usv; typedef void (APIENTRY * WXEGLDRAWARRAYSINSTANCED)(GLenum,GLint,GLsizei,GLsizei); WXE_EXTERN WXEGLDRAWARRAYSINSTANCED weglDrawArraysInstanced; typedef void (APIENTRY * WXEGLDRAWELEMENTSINSTANCED)(GLenum,GLsizei,GLenum,const GLvoid *,GLsizei); @@ -1044,6 +1051,24 @@ typedef void (APIENTRY * WXEGLTEXBUFFER)(GLenum,GLenum,GLuint); WXE_EXTERN WXEGLTEXBUFFER weglTexBuffer; typedef void (APIENTRY * WXEGLPRIMITIVERESTARTINDEX)(GLuint); WXE_EXTERN WXEGLPRIMITIVERESTARTINDEX weglPrimitiveRestartIndex; +typedef void (APIENTRY * WXEGLGETINTEGER64I_V)(GLenum,GLuint,GLint64 *); +WXE_EXTERN WXEGLGETINTEGER64I_V weglGetInteger64i_v; +typedef void (APIENTRY * WXEGLGETBUFFERPARAMETERI64V)(GLenum,GLenum,GLint64 *); +WXE_EXTERN WXEGLGETBUFFERPARAMETERI64V weglGetBufferParameteri64v; +typedef void (APIENTRY * WXEGLFRAMEBUFFERTEXTURE)(GLenum,GLenum,GLuint,GLint); +WXE_EXTERN WXEGLFRAMEBUFFERTEXTURE weglFramebufferTexture; +typedef void (APIENTRY * WXEGLVERTEXATTRIBDIVISOR)(GLuint,GLuint); +WXE_EXTERN WXEGLVERTEXATTRIBDIVISOR weglVertexAttribDivisor; +typedef void (APIENTRY * WXEGLMINSAMPLESHADING)(GLclampf); +WXE_EXTERN WXEGLMINSAMPLESHADING weglMinSampleShading; +typedef void (APIENTRY * WXEGLBLENDEQUATIONI)(GLuint,GLenum); +WXE_EXTERN WXEGLBLENDEQUATIONI weglBlendEquationi; +typedef void (APIENTRY * WXEGLBLENDEQUATIONSEPARATEI)(GLuint,GLenum,GLenum); +WXE_EXTERN WXEGLBLENDEQUATIONSEPARATEI weglBlendEquationSeparatei; +typedef void (APIENTRY * WXEGLBLENDFUNCI)(GLuint,GLenum,GLenum); +WXE_EXTERN WXEGLBLENDFUNCI weglBlendFunci; +typedef void (APIENTRY * WXEGLBLENDFUNCSEPARATEI)(GLuint,GLenum,GLenum,GLenum,GLenum); +WXE_EXTERN WXEGLBLENDFUNCSEPARATEI weglBlendFuncSeparatei; typedef void (APIENTRY * WXEGLLOADTRANSPOSEMATRIXFARB)(const GLfloat *); WXE_EXTERN WXEGLLOADTRANSPOSEMATRIXFARB weglLoadTransposeMatrixfARB; typedef void (APIENTRY * WXEGLLOADTRANSPOSEMATRIXDARB)(const GLdouble *); @@ -1112,6 +1137,8 @@ typedef void (APIENTRY * WXEGLGETPROGRAMLOCALPARAMETERFVARB)(GLenum,GLuint,GLflo WXE_EXTERN WXEGLGETPROGRAMLOCALPARAMETERFVARB weglGetProgramLocalParameterfvARB; typedef void (APIENTRY * WXEGLGETPROGRAMSTRINGARB)(GLenum,GLenum,GLvoid *); WXE_EXTERN WXEGLGETPROGRAMSTRINGARB weglGetProgramStringARB; +typedef void (APIENTRY * WXEGLGETBUFFERPARAMETERIVARB)(GLenum,GLenum,GLint *); +WXE_EXTERN WXEGLGETBUFFERPARAMETERIVARB weglGetBufferParameterivARB; typedef void (APIENTRY * WXEGLDELETEOBJECTARB)(GLhandleARB); WXE_EXTERN WXEGLDELETEOBJECTARB weglDeleteObjectARB; typedef GLhandleARB (APIENTRY * WXEGLGETHANDLEARB)(GLenum); @@ -1198,14 +1225,8 @@ typedef void (APIENTRY * WXEGLRENDERBUFFERSTORAGEMULTISAMPLE)(GLenum,GLsizei,GLe WXE_EXTERN WXEGLRENDERBUFFERSTORAGEMULTISAMPLE weglRenderbufferStorageMultisample; typedef void (APIENTRY * WXEGLFRAMEBUFFERTEXTURELAYER)(GLenum,GLenum,GLuint,GLint,GLint); WXE_EXTERN WXEGLFRAMEBUFFERTEXTURELAYER weglFramebufferTextureLayer; -typedef void (APIENTRY * WXEGLPROGRAMPARAMETERIARB)(GLuint,GLenum,GLint); -WXE_EXTERN WXEGLPROGRAMPARAMETERIARB weglProgramParameteriARB; -typedef void (APIENTRY * WXEGLFRAMEBUFFERTEXTUREARB)(GLenum,GLenum,GLuint,GLint); -WXE_EXTERN WXEGLFRAMEBUFFERTEXTUREARB weglFramebufferTextureARB; typedef void (APIENTRY * WXEGLFRAMEBUFFERTEXTUREFACEARB)(GLenum,GLenum,GLuint,GLint,GLenum); WXE_EXTERN WXEGLFRAMEBUFFERTEXTUREFACEARB weglFramebufferTextureFaceARB; -typedef void (APIENTRY * WXEGLVERTEXATTRIBDIVISORARB)(GLuint,GLuint); -WXE_EXTERN WXEGLVERTEXATTRIBDIVISORARB weglVertexAttribDivisorARB; typedef void (APIENTRY * WXEGLFLUSHMAPPEDBUFFERRANGE)(GLenum,GLintptr,GLsizeiptr); WXE_EXTERN WXEGLFLUSHMAPPEDBUFFERRANGE weglFlushMappedBufferRange; typedef void (APIENTRY * WXEGLBINDVERTEXARRAY)(GLuint); @@ -1232,6 +1253,342 @@ typedef void (APIENTRY * WXEGLUNIFORMBLOCKBINDING)(GLuint,GLuint,GLuint); WXE_EXTERN WXEGLUNIFORMBLOCKBINDING weglUniformBlockBinding; typedef void (APIENTRY * WXEGLCOPYBUFFERSUBDATA)(GLenum,GLenum,GLintptr,GLintptr,GLsizeiptr); WXE_EXTERN WXEGLCOPYBUFFERSUBDATA weglCopyBufferSubData; +typedef void (APIENTRY * WXEGLDRAWELEMENTSBASEVERTEX)(GLenum,GLsizei,GLenum,const GLvoid *,GLint); +WXE_EXTERN WXEGLDRAWELEMENTSBASEVERTEX weglDrawElementsBaseVertex; +typedef void (APIENTRY * WXEGLDRAWRANGEELEMENTSBASEVERTEX)(GLenum,GLuint,GLuint,GLsizei,GLenum,const GLvoid *,GLint); +WXE_EXTERN WXEGLDRAWRANGEELEMENTSBASEVERTEX weglDrawRangeElementsBaseVertex; +typedef void (APIENTRY * WXEGLDRAWELEMENTSINSTANCEDBASEVERTEX)(GLenum,GLsizei,GLenum,const GLvoid *,GLsizei,GLint); +WXE_EXTERN WXEGLDRAWELEMENTSINSTANCEDBASEVERTEX weglDrawElementsInstancedBaseVertex; +typedef void (APIENTRY * WXEGLPROVOKINGVERTEX)(GLenum); +WXE_EXTERN WXEGLPROVOKINGVERTEX weglProvokingVertex; +typedef GLsync (APIENTRY * WXEGLFENCESYNC)(GLenum,GLbitfield); +WXE_EXTERN WXEGLFENCESYNC weglFenceSync; +typedef GLboolean (APIENTRY * WXEGLISSYNC)(GLsync); +WXE_EXTERN WXEGLISSYNC weglIsSync; +typedef void (APIENTRY * WXEGLDELETESYNC)(GLsync); +WXE_EXTERN WXEGLDELETESYNC weglDeleteSync; +typedef GLenum (APIENTRY * WXEGLCLIENTWAITSYNC)(GLsync,GLbitfield,GLuint64); +WXE_EXTERN WXEGLCLIENTWAITSYNC weglClientWaitSync; +typedef void (APIENTRY * WXEGLWAITSYNC)(GLsync,GLbitfield,GLuint64); +WXE_EXTERN WXEGLWAITSYNC weglWaitSync; +typedef void (APIENTRY * WXEGLGETINTEGER64V)(GLenum,GLint64 *); +WXE_EXTERN WXEGLGETINTEGER64V weglGetInteger64v; +typedef void (APIENTRY * WXEGLGETSYNCIV)(GLsync,GLenum,GLsizei,GLsizei *,GLint *); +WXE_EXTERN WXEGLGETSYNCIV weglGetSynciv; +typedef void (APIENTRY * WXEGLTEXIMAGE2DMULTISAMPLE)(GLenum,GLsizei,GLint,GLsizei,GLsizei,GLboolean); +WXE_EXTERN WXEGLTEXIMAGE2DMULTISAMPLE weglTexImage2DMultisample; +typedef void (APIENTRY * WXEGLTEXIMAGE3DMULTISAMPLE)(GLenum,GLsizei,GLint,GLsizei,GLsizei,GLsizei,GLboolean); +WXE_EXTERN WXEGLTEXIMAGE3DMULTISAMPLE weglTexImage3DMultisample; +typedef void (APIENTRY * WXEGLGETMULTISAMPLEFV)(GLenum,GLuint,GLfloat *); +WXE_EXTERN WXEGLGETMULTISAMPLEFV weglGetMultisamplefv; +typedef void (APIENTRY * WXEGLSAMPLEMASKI)(GLuint,GLbitfield); +WXE_EXTERN WXEGLSAMPLEMASKI weglSampleMaski; +typedef void (APIENTRY * WXEGLNAMEDSTRINGARB)(GLenum,GLint,const GLchar *,GLint,const GLchar *); +WXE_EXTERN WXEGLNAMEDSTRINGARB weglNamedStringARB; +typedef void (APIENTRY * WXEGLDELETENAMEDSTRINGARB)(GLint,const GLchar *); +WXE_EXTERN WXEGLDELETENAMEDSTRINGARB weglDeleteNamedStringARB; +typedef void (APIENTRY * WXEGLCOMPILESHADERINCLUDEARB)(GLuint,GLsizei,const GLchar **,const GLint *); +WXE_EXTERN WXEGLCOMPILESHADERINCLUDEARB weglCompileShaderIncludeARB; +typedef GLboolean (APIENTRY * WXEGLISNAMEDSTRINGARB)(GLint,const GLchar *); +WXE_EXTERN WXEGLISNAMEDSTRINGARB weglIsNamedStringARB; +typedef void (APIENTRY * WXEGLGETNAMEDSTRINGARB)(GLint,const GLchar *,GLsizei,GLint *,GLchar *); +WXE_EXTERN WXEGLGETNAMEDSTRINGARB weglGetNamedStringARB; +typedef void (APIENTRY * WXEGLGETNAMEDSTRINGIVARB)(GLint,const GLchar *,GLenum,GLint *); +WXE_EXTERN WXEGLGETNAMEDSTRINGIVARB weglGetNamedStringivARB; +typedef void (APIENTRY * WXEGLBINDFRAGDATALOCATIONINDEXED)(GLuint,GLuint,GLuint,const GLchar *); +WXE_EXTERN WXEGLBINDFRAGDATALOCATIONINDEXED weglBindFragDataLocationIndexed; +typedef GLint (APIENTRY * WXEGLGETFRAGDATAINDEX)(GLuint,const GLchar *); +WXE_EXTERN WXEGLGETFRAGDATAINDEX weglGetFragDataIndex; +typedef void (APIENTRY * WXEGLGENSAMPLERS)(GLsizei,GLuint *); +WXE_EXTERN WXEGLGENSAMPLERS weglGenSamplers; +typedef void (APIENTRY * WXEGLDELETESAMPLERS)(GLsizei,const GLuint *); +WXE_EXTERN WXEGLDELETESAMPLERS weglDeleteSamplers; +typedef GLboolean (APIENTRY * WXEGLISSAMPLER)(GLuint); +WXE_EXTERN WXEGLISSAMPLER weglIsSampler; +typedef void (APIENTRY * WXEGLBINDSAMPLER)(GLuint,GLuint); +WXE_EXTERN WXEGLBINDSAMPLER weglBindSampler; +typedef void (APIENTRY * WXEGLSAMPLERPARAMETERI)(GLuint,GLenum,GLint); +WXE_EXTERN WXEGLSAMPLERPARAMETERI weglSamplerParameteri; +typedef void (APIENTRY * WXEGLSAMPLERPARAMETERIV)(GLuint,GLenum,const GLint *); +WXE_EXTERN WXEGLSAMPLERPARAMETERIV weglSamplerParameteriv; +typedef void (APIENTRY * WXEGLSAMPLERPARAMETERF)(GLuint,GLenum,GLfloat); +WXE_EXTERN WXEGLSAMPLERPARAMETERF weglSamplerParameterf; +typedef void (APIENTRY * WXEGLSAMPLERPARAMETERFV)(GLuint,GLenum,const GLfloat *); +WXE_EXTERN WXEGLSAMPLERPARAMETERFV weglSamplerParameterfv; +typedef void (APIENTRY * WXEGLSAMPLERPARAMETERIIV)(GLuint,GLenum,const GLint *); +WXE_EXTERN WXEGLSAMPLERPARAMETERIIV weglSamplerParameterIiv; +typedef void (APIENTRY * WXEGLSAMPLERPARAMETERIUIV)(GLuint,GLenum,const GLuint *); +WXE_EXTERN WXEGLSAMPLERPARAMETERIUIV weglSamplerParameterIuiv; +typedef void (APIENTRY * WXEGLGETSAMPLERPARAMETERIV)(GLuint,GLenum,GLint *); +WXE_EXTERN WXEGLGETSAMPLERPARAMETERIV weglGetSamplerParameteriv; +typedef void (APIENTRY * WXEGLGETSAMPLERPARAMETERIIV)(GLuint,GLenum,GLint *); +WXE_EXTERN WXEGLGETSAMPLERPARAMETERIIV weglGetSamplerParameterIiv; +typedef void (APIENTRY * WXEGLGETSAMPLERPARAMETERFV)(GLuint,GLenum,GLfloat *); +WXE_EXTERN WXEGLGETSAMPLERPARAMETERFV weglGetSamplerParameterfv; +typedef void (APIENTRY * WXEGLGETSAMPLERPARAMETERIUIV)(GLuint,GLenum,GLuint *); +WXE_EXTERN WXEGLGETSAMPLERPARAMETERIUIV weglGetSamplerParameterIuiv; +typedef void (APIENTRY * WXEGLQUERYCOUNTER)(GLuint,GLenum); +WXE_EXTERN WXEGLQUERYCOUNTER weglQueryCounter; +typedef void (APIENTRY * WXEGLGETQUERYOBJECTI64V)(GLuint,GLenum,GLint64 *); +WXE_EXTERN WXEGLGETQUERYOBJECTI64V weglGetQueryObjecti64v; +typedef void (APIENTRY * WXEGLGETQUERYOBJECTUI64V)(GLuint,GLenum,GLuint64 *); +WXE_EXTERN WXEGLGETQUERYOBJECTUI64V weglGetQueryObjectui64v; +typedef void (APIENTRY * WXEGLDRAWARRAYSINDIRECT)(GLenum,const GLvoid *); +WXE_EXTERN WXEGLDRAWARRAYSINDIRECT weglDrawArraysIndirect; +typedef void (APIENTRY * WXEGLDRAWELEMENTSINDIRECT)(GLenum,GLenum,const GLvoid *); +WXE_EXTERN WXEGLDRAWELEMENTSINDIRECT weglDrawElementsIndirect; +typedef void (APIENTRY * WXEGLUNIFORM1D)(GLint,GLdouble); +WXE_EXTERN WXEGLUNIFORM1D weglUniform1d; +typedef void (APIENTRY * WXEGLUNIFORM2D)(GLint,GLdouble,GLdouble); +WXE_EXTERN WXEGLUNIFORM2D weglUniform2d; +typedef void (APIENTRY * WXEGLUNIFORM3D)(GLint,GLdouble,GLdouble,GLdouble); +WXE_EXTERN WXEGLUNIFORM3D weglUniform3d; +typedef void (APIENTRY * WXEGLUNIFORM4D)(GLint,GLdouble,GLdouble,GLdouble,GLdouble); +WXE_EXTERN WXEGLUNIFORM4D weglUniform4d; +typedef void (APIENTRY * WXEGLUNIFORM1DV)(GLint,GLsizei,const GLdouble *); +WXE_EXTERN WXEGLUNIFORM1DV weglUniform1dv; +typedef void (APIENTRY * WXEGLUNIFORM2DV)(GLint,GLsizei,const GLdouble *); +WXE_EXTERN WXEGLUNIFORM2DV weglUniform2dv; +typedef void (APIENTRY * WXEGLUNIFORM3DV)(GLint,GLsizei,const GLdouble *); +WXE_EXTERN WXEGLUNIFORM3DV weglUniform3dv; +typedef void (APIENTRY * WXEGLUNIFORM4DV)(GLint,GLsizei,const GLdouble *); +WXE_EXTERN WXEGLUNIFORM4DV weglUniform4dv; +typedef void (APIENTRY * WXEGLUNIFORMMATRIX2DV)(GLint,GLsizei,GLboolean,const GLdouble *); +WXE_EXTERN WXEGLUNIFORMMATRIX2DV weglUniformMatrix2dv; +typedef void (APIENTRY * WXEGLUNIFORMMATRIX3DV)(GLint,GLsizei,GLboolean,const GLdouble *); +WXE_EXTERN WXEGLUNIFORMMATRIX3DV weglUniformMatrix3dv; +typedef void (APIENTRY * WXEGLUNIFORMMATRIX4DV)(GLint,GLsizei,GLboolean,const GLdouble *); +WXE_EXTERN WXEGLUNIFORMMATRIX4DV weglUniformMatrix4dv; +typedef void (APIENTRY * WXEGLUNIFORMMATRIX2X3DV)(GLint,GLsizei,GLboolean,const GLdouble *); +WXE_EXTERN WXEGLUNIFORMMATRIX2X3DV weglUniformMatrix2x3dv; +typedef void (APIENTRY * WXEGLUNIFORMMATRIX2X4DV)(GLint,GLsizei,GLboolean,const GLdouble *); +WXE_EXTERN WXEGLUNIFORMMATRIX2X4DV weglUniformMatrix2x4dv; +typedef void (APIENTRY * WXEGLUNIFORMMATRIX3X2DV)(GLint,GLsizei,GLboolean,const GLdouble *); +WXE_EXTERN WXEGLUNIFORMMATRIX3X2DV weglUniformMatrix3x2dv; +typedef void (APIENTRY * WXEGLUNIFORMMATRIX3X4DV)(GLint,GLsizei,GLboolean,const GLdouble *); +WXE_EXTERN WXEGLUNIFORMMATRIX3X4DV weglUniformMatrix3x4dv; +typedef void (APIENTRY * WXEGLUNIFORMMATRIX4X2DV)(GLint,GLsizei,GLboolean,const GLdouble *); +WXE_EXTERN WXEGLUNIFORMMATRIX4X2DV weglUniformMatrix4x2dv; +typedef void (APIENTRY * WXEGLUNIFORMMATRIX4X3DV)(GLint,GLsizei,GLboolean,const GLdouble *); +WXE_EXTERN WXEGLUNIFORMMATRIX4X3DV weglUniformMatrix4x3dv; +typedef void (APIENTRY * WXEGLGETUNIFORMDV)(GLuint,GLint,GLdouble *); +WXE_EXTERN WXEGLGETUNIFORMDV weglGetUniformdv; +typedef GLint (APIENTRY * WXEGLGETSUBROUTINEUNIFORMLOCATION)(GLuint,GLenum,const GLchar *); +WXE_EXTERN WXEGLGETSUBROUTINEUNIFORMLOCATION weglGetSubroutineUniformLocation; +typedef GLuint (APIENTRY * WXEGLGETSUBROUTINEINDEX)(GLuint,GLenum,const GLchar *); +WXE_EXTERN WXEGLGETSUBROUTINEINDEX weglGetSubroutineIndex; +typedef void (APIENTRY * WXEGLGETACTIVESUBROUTINEUNIFORMNAME)(GLuint,GLenum,GLuint,GLsizei,GLsizei *,GLchar *); +WXE_EXTERN WXEGLGETACTIVESUBROUTINEUNIFORMNAME weglGetActiveSubroutineUniformName; +typedef void (APIENTRY * WXEGLGETACTIVESUBROUTINENAME)(GLuint,GLenum,GLuint,GLsizei,GLsizei *,GLchar *); +WXE_EXTERN WXEGLGETACTIVESUBROUTINENAME weglGetActiveSubroutineName; +typedef void (APIENTRY * WXEGLUNIFORMSUBROUTINESUIV)(GLenum,GLsizei,const GLuint *); +WXE_EXTERN WXEGLUNIFORMSUBROUTINESUIV weglUniformSubroutinesuiv; +typedef void (APIENTRY * WXEGLGETUNIFORMSUBROUTINEUIV)(GLenum,GLint,GLuint *); +WXE_EXTERN WXEGLGETUNIFORMSUBROUTINEUIV weglGetUniformSubroutineuiv; +typedef void (APIENTRY * WXEGLGETPROGRAMSTAGEIV)(GLuint,GLenum,GLenum,GLint *); +WXE_EXTERN WXEGLGETPROGRAMSTAGEIV weglGetProgramStageiv; +typedef void (APIENTRY * WXEGLPATCHPARAMETERI)(GLenum,GLint); +WXE_EXTERN WXEGLPATCHPARAMETERI weglPatchParameteri; +typedef void (APIENTRY * WXEGLPATCHPARAMETERFV)(GLenum,const GLfloat *); +WXE_EXTERN WXEGLPATCHPARAMETERFV weglPatchParameterfv; +typedef void (APIENTRY * WXEGLBINDTRANSFORMFEEDBACK)(GLenum,GLuint); +WXE_EXTERN WXEGLBINDTRANSFORMFEEDBACK weglBindTransformFeedback; +typedef void (APIENTRY * WXEGLDELETETRANSFORMFEEDBACKS)(GLsizei,const GLuint *); +WXE_EXTERN WXEGLDELETETRANSFORMFEEDBACKS weglDeleteTransformFeedbacks; +typedef void (APIENTRY * WXEGLGENTRANSFORMFEEDBACKS)(GLsizei,GLuint *); +WXE_EXTERN WXEGLGENTRANSFORMFEEDBACKS weglGenTransformFeedbacks; +typedef GLboolean (APIENTRY * WXEGLISTRANSFORMFEEDBACK)(GLuint); +WXE_EXTERN WXEGLISTRANSFORMFEEDBACK weglIsTransformFeedback; +typedef void (APIENTRY * WXEGLPAUSETRANSFORMFEEDBACK)(); +WXE_EXTERN WXEGLPAUSETRANSFORMFEEDBACK weglPauseTransformFeedback; +typedef void (APIENTRY * WXEGLRESUMETRANSFORMFEEDBACK)(); +WXE_EXTERN WXEGLRESUMETRANSFORMFEEDBACK weglResumeTransformFeedback; +typedef void (APIENTRY * WXEGLDRAWTRANSFORMFEEDBACK)(GLenum,GLuint); +WXE_EXTERN WXEGLDRAWTRANSFORMFEEDBACK weglDrawTransformFeedback; +typedef void (APIENTRY * WXEGLDRAWTRANSFORMFEEDBACKSTREAM)(GLenum,GLuint,GLuint); +WXE_EXTERN WXEGLDRAWTRANSFORMFEEDBACKSTREAM weglDrawTransformFeedbackStream; +typedef void (APIENTRY * WXEGLBEGINQUERYINDEXED)(GLenum,GLuint,GLuint); +WXE_EXTERN WXEGLBEGINQUERYINDEXED weglBeginQueryIndexed; +typedef void (APIENTRY * WXEGLENDQUERYINDEXED)(GLenum,GLuint); +WXE_EXTERN WXEGLENDQUERYINDEXED weglEndQueryIndexed; +typedef void (APIENTRY * WXEGLGETQUERYINDEXEDIV)(GLenum,GLuint,GLenum,GLint *); +WXE_EXTERN WXEGLGETQUERYINDEXEDIV weglGetQueryIndexediv; +typedef void (APIENTRY * WXEGLRELEASESHADERCOMPILER)(); +WXE_EXTERN WXEGLRELEASESHADERCOMPILER weglReleaseShaderCompiler; +typedef void (APIENTRY * WXEGLSHADERBINARY)(GLsizei,const GLuint *,GLenum,const GLvoid *,GLsizei); +WXE_EXTERN WXEGLSHADERBINARY weglShaderBinary; +typedef void (APIENTRY * WXEGLGETSHADERPRECISIONFORMAT)(GLenum,GLenum,GLint *,GLint *); +WXE_EXTERN WXEGLGETSHADERPRECISIONFORMAT weglGetShaderPrecisionFormat; +typedef void (APIENTRY * WXEGLDEPTHRANGEF)(GLclampf,GLclampf); +WXE_EXTERN WXEGLDEPTHRANGEF weglDepthRangef; +typedef void (APIENTRY * WXEGLCLEARDEPTHF)(GLclampf); +WXE_EXTERN WXEGLCLEARDEPTHF weglClearDepthf; +typedef void (APIENTRY * WXEGLGETPROGRAMBINARY)(GLuint,GLsizei,GLsizei *,GLenum *,GLvoid *); +WXE_EXTERN WXEGLGETPROGRAMBINARY weglGetProgramBinary; +typedef void (APIENTRY * WXEGLPROGRAMBINARY)(GLuint,GLenum,const GLvoid *,GLsizei); +WXE_EXTERN WXEGLPROGRAMBINARY weglProgramBinary; +typedef void (APIENTRY * WXEGLPROGRAMPARAMETERI)(GLuint,GLenum,GLint); +WXE_EXTERN WXEGLPROGRAMPARAMETERI weglProgramParameteri; +typedef void (APIENTRY * WXEGLUSEPROGRAMSTAGES)(GLuint,GLbitfield,GLuint); +WXE_EXTERN WXEGLUSEPROGRAMSTAGES weglUseProgramStages; +typedef void (APIENTRY * WXEGLACTIVESHADERPROGRAM)(GLuint,GLuint); +WXE_EXTERN WXEGLACTIVESHADERPROGRAM weglActiveShaderProgram; +typedef GLuint (APIENTRY * WXEGLCREATESHADERPROGRAMV)(GLenum,GLsizei,const GLchar **); +WXE_EXTERN WXEGLCREATESHADERPROGRAMV weglCreateShaderProgramv; +typedef void (APIENTRY * WXEGLBINDPROGRAMPIPELINE)(GLuint); +WXE_EXTERN WXEGLBINDPROGRAMPIPELINE weglBindProgramPipeline; +typedef void (APIENTRY * WXEGLDELETEPROGRAMPIPELINES)(GLsizei,const GLuint *); +WXE_EXTERN WXEGLDELETEPROGRAMPIPELINES weglDeleteProgramPipelines; +typedef void (APIENTRY * WXEGLGENPROGRAMPIPELINES)(GLsizei,GLuint *); +WXE_EXTERN WXEGLGENPROGRAMPIPELINES weglGenProgramPipelines; +typedef GLboolean (APIENTRY * WXEGLISPROGRAMPIPELINE)(GLuint); +WXE_EXTERN WXEGLISPROGRAMPIPELINE weglIsProgramPipeline; +typedef void (APIENTRY * WXEGLGETPROGRAMPIPELINEIV)(GLuint,GLenum,GLint *); +WXE_EXTERN WXEGLGETPROGRAMPIPELINEIV weglGetProgramPipelineiv; +typedef void (APIENTRY * WXEGLPROGRAMUNIFORM1I)(GLuint,GLint,GLint); +WXE_EXTERN WXEGLPROGRAMUNIFORM1I weglProgramUniform1i; +typedef void (APIENTRY * WXEGLPROGRAMUNIFORM1IV)(GLuint,GLint,GLsizei,const GLint *); +WXE_EXTERN WXEGLPROGRAMUNIFORM1IV weglProgramUniform1iv; +typedef void (APIENTRY * WXEGLPROGRAMUNIFORM1F)(GLuint,GLint,GLfloat); +WXE_EXTERN WXEGLPROGRAMUNIFORM1F weglProgramUniform1f; +typedef void (APIENTRY * WXEGLPROGRAMUNIFORM1FV)(GLuint,GLint,GLsizei,const GLfloat *); +WXE_EXTERN WXEGLPROGRAMUNIFORM1FV weglProgramUniform1fv; +typedef void (APIENTRY * WXEGLPROGRAMUNIFORM1D)(GLuint,GLint,GLdouble); +WXE_EXTERN WXEGLPROGRAMUNIFORM1D weglProgramUniform1d; +typedef void (APIENTRY * WXEGLPROGRAMUNIFORM1DV)(GLuint,GLint,GLsizei,const GLdouble *); +WXE_EXTERN WXEGLPROGRAMUNIFORM1DV weglProgramUniform1dv; +typedef void (APIENTRY * WXEGLPROGRAMUNIFORM1UI)(GLuint,GLint,GLuint); +WXE_EXTERN WXEGLPROGRAMUNIFORM1UI weglProgramUniform1ui; +typedef void (APIENTRY * WXEGLPROGRAMUNIFORM1UIV)(GLuint,GLint,GLsizei,const GLuint *); +WXE_EXTERN WXEGLPROGRAMUNIFORM1UIV weglProgramUniform1uiv; +typedef void (APIENTRY * WXEGLPROGRAMUNIFORM2I)(GLuint,GLint,GLint,GLint); +WXE_EXTERN WXEGLPROGRAMUNIFORM2I weglProgramUniform2i; +typedef void (APIENTRY * WXEGLPROGRAMUNIFORM2IV)(GLuint,GLint,GLsizei,const GLint *); +WXE_EXTERN WXEGLPROGRAMUNIFORM2IV weglProgramUniform2iv; +typedef void (APIENTRY * WXEGLPROGRAMUNIFORM2F)(GLuint,GLint,GLfloat,GLfloat); +WXE_EXTERN WXEGLPROGRAMUNIFORM2F weglProgramUniform2f; +typedef void (APIENTRY * WXEGLPROGRAMUNIFORM2FV)(GLuint,GLint,GLsizei,const GLfloat *); +WXE_EXTERN WXEGLPROGRAMUNIFORM2FV weglProgramUniform2fv; +typedef void (APIENTRY * WXEGLPROGRAMUNIFORM2D)(GLuint,GLint,GLdouble,GLdouble); +WXE_EXTERN WXEGLPROGRAMUNIFORM2D weglProgramUniform2d; +typedef void (APIENTRY * WXEGLPROGRAMUNIFORM2DV)(GLuint,GLint,GLsizei,const GLdouble *); +WXE_EXTERN WXEGLPROGRAMUNIFORM2DV weglProgramUniform2dv; +typedef void (APIENTRY * WXEGLPROGRAMUNIFORM2UI)(GLuint,GLint,GLuint,GLuint); +WXE_EXTERN WXEGLPROGRAMUNIFORM2UI weglProgramUniform2ui; +typedef void (APIENTRY * WXEGLPROGRAMUNIFORM2UIV)(GLuint,GLint,GLsizei,const GLuint *); +WXE_EXTERN WXEGLPROGRAMUNIFORM2UIV weglProgramUniform2uiv; +typedef void (APIENTRY * WXEGLPROGRAMUNIFORM3I)(GLuint,GLint,GLint,GLint,GLint); +WXE_EXTERN WXEGLPROGRAMUNIFORM3I weglProgramUniform3i; +typedef void (APIENTRY * WXEGLPROGRAMUNIFORM3IV)(GLuint,GLint,GLsizei,const GLint *); +WXE_EXTERN WXEGLPROGRAMUNIFORM3IV weglProgramUniform3iv; +typedef void (APIENTRY * WXEGLPROGRAMUNIFORM3F)(GLuint,GLint,GLfloat,GLfloat,GLfloat); +WXE_EXTERN WXEGLPROGRAMUNIFORM3F weglProgramUniform3f; +typedef void (APIENTRY * WXEGLPROGRAMUNIFORM3FV)(GLuint,GLint,GLsizei,const GLfloat *); +WXE_EXTERN WXEGLPROGRAMUNIFORM3FV weglProgramUniform3fv; +typedef void (APIENTRY * WXEGLPROGRAMUNIFORM3D)(GLuint,GLint,GLdouble,GLdouble,GLdouble); +WXE_EXTERN WXEGLPROGRAMUNIFORM3D weglProgramUniform3d; +typedef void (APIENTRY * WXEGLPROGRAMUNIFORM3DV)(GLuint,GLint,GLsizei,const GLdouble *); +WXE_EXTERN WXEGLPROGRAMUNIFORM3DV weglProgramUniform3dv; +typedef void (APIENTRY * WXEGLPROGRAMUNIFORM3UI)(GLuint,GLint,GLuint,GLuint,GLuint); +WXE_EXTERN WXEGLPROGRAMUNIFORM3UI weglProgramUniform3ui; +typedef void (APIENTRY * WXEGLPROGRAMUNIFORM3UIV)(GLuint,GLint,GLsizei,const GLuint *); +WXE_EXTERN WXEGLPROGRAMUNIFORM3UIV weglProgramUniform3uiv; +typedef void (APIENTRY * WXEGLPROGRAMUNIFORM4I)(GLuint,GLint,GLint,GLint,GLint,GLint); +WXE_EXTERN WXEGLPROGRAMUNIFORM4I weglProgramUniform4i; +typedef void (APIENTRY * WXEGLPROGRAMUNIFORM4IV)(GLuint,GLint,GLsizei,const GLint *); +WXE_EXTERN WXEGLPROGRAMUNIFORM4IV weglProgramUniform4iv; +typedef void (APIENTRY * WXEGLPROGRAMUNIFORM4F)(GLuint,GLint,GLfloat,GLfloat,GLfloat,GLfloat); +WXE_EXTERN WXEGLPROGRAMUNIFORM4F weglProgramUniform4f; +typedef void (APIENTRY * WXEGLPROGRAMUNIFORM4FV)(GLuint,GLint,GLsizei,const GLfloat *); +WXE_EXTERN WXEGLPROGRAMUNIFORM4FV weglProgramUniform4fv; +typedef void (APIENTRY * WXEGLPROGRAMUNIFORM4D)(GLuint,GLint,GLdouble,GLdouble,GLdouble,GLdouble); +WXE_EXTERN WXEGLPROGRAMUNIFORM4D weglProgramUniform4d; +typedef void (APIENTRY * WXEGLPROGRAMUNIFORM4DV)(GLuint,GLint,GLsizei,const GLdouble *); +WXE_EXTERN WXEGLPROGRAMUNIFORM4DV weglProgramUniform4dv; +typedef void (APIENTRY * WXEGLPROGRAMUNIFORM4UI)(GLuint,GLint,GLuint,GLuint,GLuint,GLuint); +WXE_EXTERN WXEGLPROGRAMUNIFORM4UI weglProgramUniform4ui; +typedef void (APIENTRY * WXEGLPROGRAMUNIFORM4UIV)(GLuint,GLint,GLsizei,const GLuint *); +WXE_EXTERN WXEGLPROGRAMUNIFORM4UIV weglProgramUniform4uiv; +typedef void (APIENTRY * WXEGLPROGRAMUNIFORMMATRIX2FV)(GLuint,GLint,GLsizei,GLboolean,const GLfloat *); +WXE_EXTERN WXEGLPROGRAMUNIFORMMATRIX2FV weglProgramUniformMatrix2fv; +typedef void (APIENTRY * WXEGLPROGRAMUNIFORMMATRIX3FV)(GLuint,GLint,GLsizei,GLboolean,const GLfloat *); +WXE_EXTERN WXEGLPROGRAMUNIFORMMATRIX3FV weglProgramUniformMatrix3fv; +typedef void (APIENTRY * WXEGLPROGRAMUNIFORMMATRIX4FV)(GLuint,GLint,GLsizei,GLboolean,const GLfloat *); +WXE_EXTERN WXEGLPROGRAMUNIFORMMATRIX4FV weglProgramUniformMatrix4fv; +typedef void (APIENTRY * WXEGLPROGRAMUNIFORMMATRIX2DV)(GLuint,GLint,GLsizei,GLboolean,const GLdouble *); +WXE_EXTERN WXEGLPROGRAMUNIFORMMATRIX2DV weglProgramUniformMatrix2dv; +typedef void (APIENTRY * WXEGLPROGRAMUNIFORMMATRIX3DV)(GLuint,GLint,GLsizei,GLboolean,const GLdouble *); +WXE_EXTERN WXEGLPROGRAMUNIFORMMATRIX3DV weglProgramUniformMatrix3dv; +typedef void (APIENTRY * WXEGLPROGRAMUNIFORMMATRIX4DV)(GLuint,GLint,GLsizei,GLboolean,const GLdouble *); +WXE_EXTERN WXEGLPROGRAMUNIFORMMATRIX4DV weglProgramUniformMatrix4dv; +typedef void (APIENTRY * WXEGLPROGRAMUNIFORMMATRIX2X3FV)(GLuint,GLint,GLsizei,GLboolean,const GLfloat *); +WXE_EXTERN WXEGLPROGRAMUNIFORMMATRIX2X3FV weglProgramUniformMatrix2x3fv; +typedef void (APIENTRY * WXEGLPROGRAMUNIFORMMATRIX3X2FV)(GLuint,GLint,GLsizei,GLboolean,const GLfloat *); +WXE_EXTERN WXEGLPROGRAMUNIFORMMATRIX3X2FV weglProgramUniformMatrix3x2fv; +typedef void (APIENTRY * WXEGLPROGRAMUNIFORMMATRIX2X4FV)(GLuint,GLint,GLsizei,GLboolean,const GLfloat *); +WXE_EXTERN WXEGLPROGRAMUNIFORMMATRIX2X4FV weglProgramUniformMatrix2x4fv; +typedef void (APIENTRY * WXEGLPROGRAMUNIFORMMATRIX4X2FV)(GLuint,GLint,GLsizei,GLboolean,const GLfloat *); +WXE_EXTERN WXEGLPROGRAMUNIFORMMATRIX4X2FV weglProgramUniformMatrix4x2fv; +typedef void (APIENTRY * WXEGLPROGRAMUNIFORMMATRIX3X4FV)(GLuint,GLint,GLsizei,GLboolean,const GLfloat *); +WXE_EXTERN WXEGLPROGRAMUNIFORMMATRIX3X4FV weglProgramUniformMatrix3x4fv; +typedef void (APIENTRY * WXEGLPROGRAMUNIFORMMATRIX4X3FV)(GLuint,GLint,GLsizei,GLboolean,const GLfloat *); +WXE_EXTERN WXEGLPROGRAMUNIFORMMATRIX4X3FV weglProgramUniformMatrix4x3fv; +typedef void (APIENTRY * WXEGLPROGRAMUNIFORMMATRIX2X3DV)(GLuint,GLint,GLsizei,GLboolean,const GLdouble *); +WXE_EXTERN WXEGLPROGRAMUNIFORMMATRIX2X3DV weglProgramUniformMatrix2x3dv; +typedef void (APIENTRY * WXEGLPROGRAMUNIFORMMATRIX3X2DV)(GLuint,GLint,GLsizei,GLboolean,const GLdouble *); +WXE_EXTERN WXEGLPROGRAMUNIFORMMATRIX3X2DV weglProgramUniformMatrix3x2dv; +typedef void (APIENTRY * WXEGLPROGRAMUNIFORMMATRIX2X4DV)(GLuint,GLint,GLsizei,GLboolean,const GLdouble *); +WXE_EXTERN WXEGLPROGRAMUNIFORMMATRIX2X4DV weglProgramUniformMatrix2x4dv; +typedef void (APIENTRY * WXEGLPROGRAMUNIFORMMATRIX4X2DV)(GLuint,GLint,GLsizei,GLboolean,const GLdouble *); +WXE_EXTERN WXEGLPROGRAMUNIFORMMATRIX4X2DV weglProgramUniformMatrix4x2dv; +typedef void (APIENTRY * WXEGLPROGRAMUNIFORMMATRIX3X4DV)(GLuint,GLint,GLsizei,GLboolean,const GLdouble *); +WXE_EXTERN WXEGLPROGRAMUNIFORMMATRIX3X4DV weglProgramUniformMatrix3x4dv; +typedef void (APIENTRY * WXEGLPROGRAMUNIFORMMATRIX4X3DV)(GLuint,GLint,GLsizei,GLboolean,const GLdouble *); +WXE_EXTERN WXEGLPROGRAMUNIFORMMATRIX4X3DV weglProgramUniformMatrix4x3dv; +typedef void (APIENTRY * WXEGLVALIDATEPROGRAMPIPELINE)(GLuint); +WXE_EXTERN WXEGLVALIDATEPROGRAMPIPELINE weglValidateProgramPipeline; +typedef void (APIENTRY * WXEGLGETPROGRAMPIPELINEINFOLOG)(GLuint,GLsizei,GLsizei *,GLchar *); +WXE_EXTERN WXEGLGETPROGRAMPIPELINEINFOLOG weglGetProgramPipelineInfoLog; +typedef void (APIENTRY * WXEGLVERTEXATTRIBL1DV)(GLuint,const GLdouble *); +WXE_EXTERN WXEGLVERTEXATTRIBL1DV weglVertexAttribL1dv; +typedef void (APIENTRY * WXEGLVERTEXATTRIBL2DV)(GLuint,const GLdouble *); +WXE_EXTERN WXEGLVERTEXATTRIBL2DV weglVertexAttribL2dv; +typedef void (APIENTRY * WXEGLVERTEXATTRIBL3DV)(GLuint,const GLdouble *); +WXE_EXTERN WXEGLVERTEXATTRIBL3DV weglVertexAttribL3dv; +typedef void (APIENTRY * WXEGLVERTEXATTRIBL4DV)(GLuint,const GLdouble *); +WXE_EXTERN WXEGLVERTEXATTRIBL4DV weglVertexAttribL4dv; +typedef void (APIENTRY * WXEGLVERTEXATTRIBLPOINTER)(GLuint,GLint,GLenum,GLsizei,const GLvoid *); +WXE_EXTERN WXEGLVERTEXATTRIBLPOINTER weglVertexAttribLPointer; +typedef void (APIENTRY * WXEGLGETVERTEXATTRIBLDV)(GLuint,GLenum,GLdouble *); +WXE_EXTERN WXEGLGETVERTEXATTRIBLDV weglGetVertexAttribLdv; +typedef void (APIENTRY * WXEGLVIEWPORTARRAYV)(GLuint,GLsizei,const GLfloat *); +WXE_EXTERN WXEGLVIEWPORTARRAYV weglViewportArrayv; +typedef void (APIENTRY * WXEGLVIEWPORTINDEXEDF)(GLuint,GLfloat,GLfloat,GLfloat,GLfloat); +WXE_EXTERN WXEGLVIEWPORTINDEXEDF weglViewportIndexedf; +typedef void (APIENTRY * WXEGLVIEWPORTINDEXEDFV)(GLuint,const GLfloat *); +WXE_EXTERN WXEGLVIEWPORTINDEXEDFV weglViewportIndexedfv; +typedef void (APIENTRY * WXEGLSCISSORARRAYV)(GLuint,GLsizei,const GLint *); +WXE_EXTERN WXEGLSCISSORARRAYV weglScissorArrayv; +typedef void (APIENTRY * WXEGLSCISSORINDEXED)(GLuint,GLint,GLint,GLsizei,GLsizei); +WXE_EXTERN WXEGLSCISSORINDEXED weglScissorIndexed; +typedef void (APIENTRY * WXEGLSCISSORINDEXEDV)(GLuint,const GLint *); +WXE_EXTERN WXEGLSCISSORINDEXEDV weglScissorIndexedv; +typedef void (APIENTRY * WXEGLDEPTHRANGEARRAYV)(GLuint,GLsizei,const GLclampd *); +WXE_EXTERN WXEGLDEPTHRANGEARRAYV weglDepthRangeArrayv; +typedef void (APIENTRY * WXEGLDEPTHRANGEINDEXED)(GLuint,GLclampd,GLclampd); +WXE_EXTERN WXEGLDEPTHRANGEINDEXED weglDepthRangeIndexed; +typedef void (APIENTRY * WXEGLGETFLOATI_V)(GLenum,GLuint,GLfloat *); +WXE_EXTERN WXEGLGETFLOATI_V weglGetFloati_v; +typedef void (APIENTRY * WXEGLGETDOUBLEI_V)(GLenum,GLuint,GLdouble *); +WXE_EXTERN WXEGLGETDOUBLEI_V weglGetDoublei_v; +typedef void (APIENTRY * WXEGLDEBUGMESSAGECONTROLARB)(GLenum,GLenum,GLenum,GLsizei,const GLuint *,GLboolean); +WXE_EXTERN WXEGLDEBUGMESSAGECONTROLARB weglDebugMessageControlARB; +typedef void (APIENTRY * WXEGLDEBUGMESSAGEINSERTARB)(GLenum,GLenum,GLuint,GLenum,GLsizei,const GLchar *); +WXE_EXTERN WXEGLDEBUGMESSAGEINSERTARB weglDebugMessageInsertARB; +typedef GLuint (APIENTRY * WXEGLGETDEBUGMESSAGELOGARB)(GLuint,GLsizei,GLenum *,GLenum *,GLuint *,GLenum *,GLsizei *,GLchar *); +WXE_EXTERN WXEGLGETDEBUGMESSAGELOGARB weglGetDebugMessageLogARB; +typedef GLenum (APIENTRY * WXEGLGETGRAPHICSRESETSTATUSARB)(); +WXE_EXTERN WXEGLGETGRAPHICSRESETSTATUSARB weglGetGraphicsResetStatusARB; typedef void (APIENTRY * WXEGLRESIZEBUFFERSMESA)(); WXE_EXTERN WXEGLRESIZEBUFFERSMESA weglResizeBuffersMESA; typedef void (APIENTRY * WXEGLWINDOWPOS4DVMESA)(const GLdouble *); diff --git a/lib/wx/c_src/gen/gl_finit.h b/lib/wx/c_src/gen/gl_finit.h index a22192d06a..583e36faf7 100644 --- a/lib/wx/c_src/gen/gl_finit.h +++ b/lib/wx/c_src/gen/gl_finit.h @@ -16,13 +16,9 @@ * * %CopyrightEnd% */ -/***** This file is generated do not edit ****/ +/***** This file is generated do not edit ****/ -static struct { - const char * name; - const char * alt; - void * func; -} gl_fns[] = +gl_fns_t gl_fns[] = { {"glAccum", NULL, &weglAccum}, {"glAlphaFunc", NULL, &weglAlphaFunc}, @@ -394,7 +390,7 @@ static struct { {"glBufferData", "glBufferDataARB", &weglBufferData}, {"glBufferSubData", "glBufferSubDataARB", &weglBufferSubData}, {"glGetBufferSubData", "glGetBufferSubDataARB", &weglGetBufferSubData}, - {"glGetBufferParameteriv", "glGetBufferParameterivARB", &weglGetBufferParameteriv}, + {"glGetBufferParameteriv", NULL, &weglGetBufferParameteriv}, {"glBlendEquationSeparate", "glBlendEquationSeparateEXT", &weglBlendEquationSeparate}, {"glDrawBuffers", "glDrawBuffersARB", &weglDrawBuffers}, {"glStencilOpSeparate", "glStencilOpSeparateATI", &weglStencilOpSeparate}, @@ -498,6 +494,18 @@ static struct { {"glVertexAttribIPointer", NULL, &weglVertexAttribIPointer}, {"glGetVertexAttribIiv", NULL, &weglGetVertexAttribIiv}, {"glGetVertexAttribIuiv", NULL, &weglGetVertexAttribIuiv}, + {"glVertexAttribI1iv", NULL, &weglVertexAttribI1iv}, + {"glVertexAttribI2iv", NULL, &weglVertexAttribI2iv}, + {"glVertexAttribI3iv", NULL, &weglVertexAttribI3iv}, + {"glVertexAttribI4iv", NULL, &weglVertexAttribI4iv}, + {"glVertexAttribI1uiv", NULL, &weglVertexAttribI1uiv}, + {"glVertexAttribI2uiv", NULL, &weglVertexAttribI2uiv}, + {"glVertexAttribI3uiv", NULL, &weglVertexAttribI3uiv}, + {"glVertexAttribI4uiv", NULL, &weglVertexAttribI4uiv}, + {"glVertexAttribI4bv", NULL, &weglVertexAttribI4bv}, + {"glVertexAttribI4sv", NULL, &weglVertexAttribI4sv}, + {"glVertexAttribI4ubv", NULL, &weglVertexAttribI4ubv}, + {"glVertexAttribI4usv", NULL, &weglVertexAttribI4usv}, {"glGetUniformuiv", NULL, &weglGetUniformuiv}, {"glBindFragDataLocation", NULL, &weglBindFragDataLocation}, {"glGetFragDataLocation", NULL, &weglGetFragDataLocation}, @@ -518,22 +526,19 @@ static struct { {"glClearBufferfv", NULL, &weglClearBufferfv}, {"glClearBufferfi", NULL, &weglClearBufferfi}, {"glGetStringi", NULL, &weglGetStringi}, - {"glVertexAttribI1iv", NULL, &weglVertexAttribI1iv}, - {"glVertexAttribI2iv", NULL, &weglVertexAttribI2iv}, - {"glVertexAttribI3iv", NULL, &weglVertexAttribI3iv}, - {"glVertexAttribI4iv", NULL, &weglVertexAttribI4iv}, - {"glVertexAttribI1uiv", NULL, &weglVertexAttribI1uiv}, - {"glVertexAttribI2uiv", NULL, &weglVertexAttribI2uiv}, - {"glVertexAttribI3uiv", NULL, &weglVertexAttribI3uiv}, - {"glVertexAttribI4uiv", NULL, &weglVertexAttribI4uiv}, - {"glVertexAttribI4bv", NULL, &weglVertexAttribI4bv}, - {"glVertexAttribI4sv", NULL, &weglVertexAttribI4sv}, - {"glVertexAttribI4ubv", NULL, &weglVertexAttribI4ubv}, - {"glVertexAttribI4usv", NULL, &weglVertexAttribI4usv}, {"glDrawArraysInstanced", "glDrawArraysInstancedARB", &weglDrawArraysInstanced}, {"glDrawElementsInstanced", "glDrawElementsInstancedARB", &weglDrawElementsInstanced}, {"glTexBuffer", "glTexBufferARB", &weglTexBuffer}, {"glPrimitiveRestartIndex", NULL, &weglPrimitiveRestartIndex}, + {"glGetInteger64i_v", NULL, &weglGetInteger64i_v}, + {"glGetBufferParameteri64v", NULL, &weglGetBufferParameteri64v}, + {"glFramebufferTexture", "glFramebufferTextureARB", &weglFramebufferTexture}, + {"glVertexAttribDivisor", "glVertexAttribDivisorARB", &weglVertexAttribDivisor}, + {"glMinSampleShading", "glMinSampleShadingARB", &weglMinSampleShading}, + {"glBlendEquationi", "glBlendEquationiARB", &weglBlendEquationi}, + {"glBlendEquationSeparatei", "glBlendEquationSeparateiARB", &weglBlendEquationSeparatei}, + {"glBlendFunci", "glBlendFunciARB", &weglBlendFunci}, + {"glBlendFuncSeparatei", "glBlendFuncSeparateiARB", &weglBlendFuncSeparatei}, {"glLoadTransposeMatrixfARB", NULL, &weglLoadTransposeMatrixfARB}, {"glLoadTransposeMatrixdARB", NULL, &weglLoadTransposeMatrixdARB}, {"glMultTransposeMatrixfARB", NULL, &weglMultTransposeMatrixfARB}, @@ -568,6 +573,7 @@ static struct { {"glGetProgramLocalParameterdvARB", NULL, &weglGetProgramLocalParameterdvARB}, {"glGetProgramLocalParameterfvARB", NULL, &weglGetProgramLocalParameterfvARB}, {"glGetProgramStringARB", NULL, &weglGetProgramStringARB}, + {"glGetBufferParameterivARB", NULL, &weglGetBufferParameterivARB}, {"glDeleteObjectARB", NULL, &weglDeleteObjectARB}, {"glGetHandleARB", NULL, &weglGetHandleARB}, {"glDetachObjectARB", NULL, &weglDetachObjectARB}, @@ -611,10 +617,7 @@ static struct { {"glBlitFramebuffer", "glBlitFramebufferEXT", &weglBlitFramebuffer}, {"glRenderbufferStorageMultisample", "glRenderbufferStorageMultisampleEXT", &weglRenderbufferStorageMultisample}, {"glFramebufferTextureLayer", "glFramebufferTextureLayerARB", &weglFramebufferTextureLayer}, - {"glProgramParameteriARB", NULL, &weglProgramParameteriARB}, - {"glFramebufferTextureARB", NULL, &weglFramebufferTextureARB}, {"glFramebufferTextureFaceARB", NULL, &weglFramebufferTextureFaceARB}, - {"glVertexAttribDivisorARB", NULL, &weglVertexAttribDivisorARB}, {"glFlushMappedBufferRange", NULL, &weglFlushMappedBufferRange}, {"glBindVertexArray", NULL, &weglBindVertexArray}, {"glDeleteVertexArrays", NULL, &weglDeleteVertexArrays}, @@ -628,6 +631,174 @@ static struct { {"glGetActiveUniformBlockName", NULL, &weglGetActiveUniformBlockName}, {"glUniformBlockBinding", NULL, &weglUniformBlockBinding}, {"glCopyBufferSubData", NULL, &weglCopyBufferSubData}, + {"glDrawElementsBaseVertex", NULL, &weglDrawElementsBaseVertex}, + {"glDrawRangeElementsBaseVertex", NULL, &weglDrawRangeElementsBaseVertex}, + {"glDrawElementsInstancedBaseVertex", NULL, &weglDrawElementsInstancedBaseVertex}, + {"glProvokingVertex", NULL, &weglProvokingVertex}, + {"glFenceSync", NULL, &weglFenceSync}, + {"glIsSync", NULL, &weglIsSync}, + {"glDeleteSync", NULL, &weglDeleteSync}, + {"glClientWaitSync", NULL, &weglClientWaitSync}, + {"glWaitSync", NULL, &weglWaitSync}, + {"glGetInteger64v", NULL, &weglGetInteger64v}, + {"glGetSynciv", NULL, &weglGetSynciv}, + {"glTexImage2DMultisample", NULL, &weglTexImage2DMultisample}, + {"glTexImage3DMultisample", NULL, &weglTexImage3DMultisample}, + {"glGetMultisamplefv", NULL, &weglGetMultisamplefv}, + {"glSampleMaski", NULL, &weglSampleMaski}, + {"glNamedStringARB", NULL, &weglNamedStringARB}, + {"glDeleteNamedStringARB", NULL, &weglDeleteNamedStringARB}, + {"glCompileShaderIncludeARB", NULL, &weglCompileShaderIncludeARB}, + {"glIsNamedStringARB", NULL, &weglIsNamedStringARB}, + {"glGetNamedStringARB", NULL, &weglGetNamedStringARB}, + {"glGetNamedStringivARB", NULL, &weglGetNamedStringivARB}, + {"glBindFragDataLocationIndexed", NULL, &weglBindFragDataLocationIndexed}, + {"glGetFragDataIndex", NULL, &weglGetFragDataIndex}, + {"glGenSamplers", NULL, &weglGenSamplers}, + {"glDeleteSamplers", NULL, &weglDeleteSamplers}, + {"glIsSampler", NULL, &weglIsSampler}, + {"glBindSampler", NULL, &weglBindSampler}, + {"glSamplerParameteri", NULL, &weglSamplerParameteri}, + {"glSamplerParameteriv", NULL, &weglSamplerParameteriv}, + {"glSamplerParameterf", NULL, &weglSamplerParameterf}, + {"glSamplerParameterfv", NULL, &weglSamplerParameterfv}, + {"glSamplerParameterIiv", NULL, &weglSamplerParameterIiv}, + {"glSamplerParameterIuiv", NULL, &weglSamplerParameterIuiv}, + {"glGetSamplerParameteriv", NULL, &weglGetSamplerParameteriv}, + {"glGetSamplerParameterIiv", NULL, &weglGetSamplerParameterIiv}, + {"glGetSamplerParameterfv", NULL, &weglGetSamplerParameterfv}, + {"glGetSamplerParameterIuiv", NULL, &weglGetSamplerParameterIuiv}, + {"glQueryCounter", NULL, &weglQueryCounter}, + {"glGetQueryObjecti64v", NULL, &weglGetQueryObjecti64v}, + {"glGetQueryObjectui64v", NULL, &weglGetQueryObjectui64v}, + {"glDrawArraysIndirect", NULL, &weglDrawArraysIndirect}, + {"glDrawElementsIndirect", NULL, &weglDrawElementsIndirect}, + {"glUniform1d", NULL, &weglUniform1d}, + {"glUniform2d", NULL, &weglUniform2d}, + {"glUniform3d", NULL, &weglUniform3d}, + {"glUniform4d", NULL, &weglUniform4d}, + {"glUniform1dv", NULL, &weglUniform1dv}, + {"glUniform2dv", NULL, &weglUniform2dv}, + {"glUniform3dv", NULL, &weglUniform3dv}, + {"glUniform4dv", NULL, &weglUniform4dv}, + {"glUniformMatrix2dv", NULL, &weglUniformMatrix2dv}, + {"glUniformMatrix3dv", NULL, &weglUniformMatrix3dv}, + {"glUniformMatrix4dv", NULL, &weglUniformMatrix4dv}, + {"glUniformMatrix2x3dv", NULL, &weglUniformMatrix2x3dv}, + {"glUniformMatrix2x4dv", NULL, &weglUniformMatrix2x4dv}, + {"glUniformMatrix3x2dv", NULL, &weglUniformMatrix3x2dv}, + {"glUniformMatrix3x4dv", NULL, &weglUniformMatrix3x4dv}, + {"glUniformMatrix4x2dv", NULL, &weglUniformMatrix4x2dv}, + {"glUniformMatrix4x3dv", NULL, &weglUniformMatrix4x3dv}, + {"glGetUniformdv", NULL, &weglGetUniformdv}, + {"glGetSubroutineUniformLocation", NULL, &weglGetSubroutineUniformLocation}, + {"glGetSubroutineIndex", NULL, &weglGetSubroutineIndex}, + {"glGetActiveSubroutineUniformName", NULL, &weglGetActiveSubroutineUniformName}, + {"glGetActiveSubroutineName", NULL, &weglGetActiveSubroutineName}, + {"glUniformSubroutinesuiv", NULL, &weglUniformSubroutinesuiv}, + {"glGetUniformSubroutineuiv", NULL, &weglGetUniformSubroutineuiv}, + {"glGetProgramStageiv", NULL, &weglGetProgramStageiv}, + {"glPatchParameteri", NULL, &weglPatchParameteri}, + {"glPatchParameterfv", NULL, &weglPatchParameterfv}, + {"glBindTransformFeedback", NULL, &weglBindTransformFeedback}, + {"glDeleteTransformFeedbacks", NULL, &weglDeleteTransformFeedbacks}, + {"glGenTransformFeedbacks", NULL, &weglGenTransformFeedbacks}, + {"glIsTransformFeedback", NULL, &weglIsTransformFeedback}, + {"glPauseTransformFeedback", NULL, &weglPauseTransformFeedback}, + {"glResumeTransformFeedback", NULL, &weglResumeTransformFeedback}, + {"glDrawTransformFeedback", NULL, &weglDrawTransformFeedback}, + {"glDrawTransformFeedbackStream", NULL, &weglDrawTransformFeedbackStream}, + {"glBeginQueryIndexed", NULL, &weglBeginQueryIndexed}, + {"glEndQueryIndexed", NULL, &weglEndQueryIndexed}, + {"glGetQueryIndexediv", NULL, &weglGetQueryIndexediv}, + {"glReleaseShaderCompiler", NULL, &weglReleaseShaderCompiler}, + {"glShaderBinary", NULL, &weglShaderBinary}, + {"glGetShaderPrecisionFormat", NULL, &weglGetShaderPrecisionFormat}, + {"glDepthRangef", NULL, &weglDepthRangef}, + {"glClearDepthf", NULL, &weglClearDepthf}, + {"glGetProgramBinary", NULL, &weglGetProgramBinary}, + {"glProgramBinary", NULL, &weglProgramBinary}, + {"glProgramParameteri", "glProgramParameteriARB", &weglProgramParameteri}, + {"glUseProgramStages", NULL, &weglUseProgramStages}, + {"glActiveShaderProgram", NULL, &weglActiveShaderProgram}, + {"glCreateShaderProgramv", NULL, &weglCreateShaderProgramv}, + {"glBindProgramPipeline", NULL, &weglBindProgramPipeline}, + {"glDeleteProgramPipelines", NULL, &weglDeleteProgramPipelines}, + {"glGenProgramPipelines", NULL, &weglGenProgramPipelines}, + {"glIsProgramPipeline", NULL, &weglIsProgramPipeline}, + {"glGetProgramPipelineiv", NULL, &weglGetProgramPipelineiv}, + {"glProgramUniform1i", NULL, &weglProgramUniform1i}, + {"glProgramUniform1iv", NULL, &weglProgramUniform1iv}, + {"glProgramUniform1f", NULL, &weglProgramUniform1f}, + {"glProgramUniform1fv", NULL, &weglProgramUniform1fv}, + {"glProgramUniform1d", NULL, &weglProgramUniform1d}, + {"glProgramUniform1dv", NULL, &weglProgramUniform1dv}, + {"glProgramUniform1ui", NULL, &weglProgramUniform1ui}, + {"glProgramUniform1uiv", NULL, &weglProgramUniform1uiv}, + {"glProgramUniform2i", NULL, &weglProgramUniform2i}, + {"glProgramUniform2iv", NULL, &weglProgramUniform2iv}, + {"glProgramUniform2f", NULL, &weglProgramUniform2f}, + {"glProgramUniform2fv", NULL, &weglProgramUniform2fv}, + {"glProgramUniform2d", NULL, &weglProgramUniform2d}, + {"glProgramUniform2dv", NULL, &weglProgramUniform2dv}, + {"glProgramUniform2ui", NULL, &weglProgramUniform2ui}, + {"glProgramUniform2uiv", NULL, &weglProgramUniform2uiv}, + {"glProgramUniform3i", NULL, &weglProgramUniform3i}, + {"glProgramUniform3iv", NULL, &weglProgramUniform3iv}, + {"glProgramUniform3f", NULL, &weglProgramUniform3f}, + {"glProgramUniform3fv", NULL, &weglProgramUniform3fv}, + {"glProgramUniform3d", NULL, &weglProgramUniform3d}, + {"glProgramUniform3dv", NULL, &weglProgramUniform3dv}, + {"glProgramUniform3ui", NULL, &weglProgramUniform3ui}, + {"glProgramUniform3uiv", NULL, &weglProgramUniform3uiv}, + {"glProgramUniform4i", NULL, &weglProgramUniform4i}, + {"glProgramUniform4iv", NULL, &weglProgramUniform4iv}, + {"glProgramUniform4f", NULL, &weglProgramUniform4f}, + {"glProgramUniform4fv", NULL, &weglProgramUniform4fv}, + {"glProgramUniform4d", NULL, &weglProgramUniform4d}, + {"glProgramUniform4dv", NULL, &weglProgramUniform4dv}, + {"glProgramUniform4ui", NULL, &weglProgramUniform4ui}, + {"glProgramUniform4uiv", NULL, &weglProgramUniform4uiv}, + {"glProgramUniformMatrix2fv", NULL, &weglProgramUniformMatrix2fv}, + {"glProgramUniformMatrix3fv", NULL, &weglProgramUniformMatrix3fv}, + {"glProgramUniformMatrix4fv", NULL, &weglProgramUniformMatrix4fv}, + {"glProgramUniformMatrix2dv", NULL, &weglProgramUniformMatrix2dv}, + {"glProgramUniformMatrix3dv", NULL, &weglProgramUniformMatrix3dv}, + {"glProgramUniformMatrix4dv", NULL, &weglProgramUniformMatrix4dv}, + {"glProgramUniformMatrix2x3fv", NULL, &weglProgramUniformMatrix2x3fv}, + {"glProgramUniformMatrix3x2fv", NULL, &weglProgramUniformMatrix3x2fv}, + {"glProgramUniformMatrix2x4fv", NULL, &weglProgramUniformMatrix2x4fv}, + {"glProgramUniformMatrix4x2fv", NULL, &weglProgramUniformMatrix4x2fv}, + {"glProgramUniformMatrix3x4fv", NULL, &weglProgramUniformMatrix3x4fv}, + {"glProgramUniformMatrix4x3fv", NULL, &weglProgramUniformMatrix4x3fv}, + {"glProgramUniformMatrix2x3dv", NULL, &weglProgramUniformMatrix2x3dv}, + {"glProgramUniformMatrix3x2dv", NULL, &weglProgramUniformMatrix3x2dv}, + {"glProgramUniformMatrix2x4dv", NULL, &weglProgramUniformMatrix2x4dv}, + {"glProgramUniformMatrix4x2dv", NULL, &weglProgramUniformMatrix4x2dv}, + {"glProgramUniformMatrix3x4dv", NULL, &weglProgramUniformMatrix3x4dv}, + {"glProgramUniformMatrix4x3dv", NULL, &weglProgramUniformMatrix4x3dv}, + {"glValidateProgramPipeline", NULL, &weglValidateProgramPipeline}, + {"glGetProgramPipelineInfoLog", NULL, &weglGetProgramPipelineInfoLog}, + {"glVertexAttribL1dv", NULL, &weglVertexAttribL1dv}, + {"glVertexAttribL2dv", NULL, &weglVertexAttribL2dv}, + {"glVertexAttribL3dv", NULL, &weglVertexAttribL3dv}, + {"glVertexAttribL4dv", NULL, &weglVertexAttribL4dv}, + {"glVertexAttribLPointer", NULL, &weglVertexAttribLPointer}, + {"glGetVertexAttribLdv", NULL, &weglGetVertexAttribLdv}, + {"glViewportArrayv", NULL, &weglViewportArrayv}, + {"glViewportIndexedf", NULL, &weglViewportIndexedf}, + {"glViewportIndexedfv", NULL, &weglViewportIndexedfv}, + {"glScissorArrayv", NULL, &weglScissorArrayv}, + {"glScissorIndexed", NULL, &weglScissorIndexed}, + {"glScissorIndexedv", NULL, &weglScissorIndexedv}, + {"glDepthRangeArrayv", NULL, &weglDepthRangeArrayv}, + {"glDepthRangeIndexed", NULL, &weglDepthRangeIndexed}, + {"glGetFloati_v", NULL, &weglGetFloati_v}, + {"glGetDoublei_v", NULL, &weglGetDoublei_v}, + {"glDebugMessageControlARB", NULL, &weglDebugMessageControlARB}, + {"glDebugMessageInsertARB", NULL, &weglDebugMessageInsertARB}, + {"glGetDebugMessageLogARB", NULL, &weglGetDebugMessageLogARB}, + {"glGetGraphicsResetStatusARB", NULL, &weglGetGraphicsResetStatusARB}, {"glResizeBuffersMESA", NULL, &weglResizeBuffersMESA}, {"glWindowPos4dvMESA", NULL, &weglWindowPos4dvMESA}, {"glWindowPos4fvMESA", NULL, &weglWindowPos4fvMESA}, diff --git a/lib/wx/c_src/gen/gl_funcs.cpp b/lib/wx/c_src/gen/gl_funcs.cpp index 41a5524891..30542a0f02 100644 --- a/lib/wx/c_src/gen/gl_funcs.cpp +++ b/lib/wx/c_src/gen/gl_funcs.cpp @@ -16,43 +16,23 @@ * * %CopyrightEnd% */ -/***** This file is generated do not edit ****/ +/***** This file is generated do not edit ****/ #include <stdio.h> #include <string.h> -#include "../wxe_impl.h" -#include "../wxe_gl.h" +#include "../egl_impl.h" #include "gl_fdefs.h" -int gl_error_op; -void gl_dispatch(int op, char *bp,ErlDrvTermData caller,WXEBinRef *bins[]){ - gl_error_op = op; - if(caller != gl_active) { - wxGLCanvas * current = glc[caller]; - if(current) { gl_active = caller; current->SetCurrent();} - else { - ErlDrvTermData rt[] = // Error msg - {ERL_DRV_ATOM, driver_mk_atom((char *) "_wxe_error_"), - ERL_DRV_INT, op, - ERL_DRV_ATOM, driver_mk_atom((char *) "no_gl_context"), - ERL_DRV_TUPLE,3}; - driver_send_term(WXE_DRV_PORT,caller,rt,8); - return ; - } - }; +extern gl_fns_t gl_fns[]; - switch(op) +void egl_dispatch(int op, char *bp, ErlDrvPort port, ErlDrvTermData caller, char *bins[], int bins_sz[]){ + try { + switch(op) { - case 5000: - wxe_tess_impl(bp, caller); + case 5000: + erl_tess_impl(bp, port, caller); break; - case WXE_BIN_INCR: - driver_binary_inc_refc(bins[0]->bin); - break; - case WXE_BIN_DECR: - driver_binary_dec_refc(bins[0]->bin); - break; -case 5010: { // gluBuild1DMipmapLevels +case 5010: { // gluBuild1DMipmapLevels GLenum *target = (GLenum *) bp; bp += 4; GLint *internalFormat = (GLint *) bp; bp += 4; GLsizei *width = (GLsizei *) bp; bp += 4; @@ -61,31 +41,29 @@ case 5010: { // gluBuild1DMipmapLevels GLint *level = (GLint *) bp; bp += 4; GLint *base = (GLint *) bp; bp += 4; GLint *max = (GLint *) bp; bp += 4; - void *data = (void *) bins[0]->base; + void *data = (void *) bins[0]; GLint result = wegluBuild1DMipmapLevels(*target,*internalFormat,*width,*format,*type,*level,*base,*max,data); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5011: { // gluBuild1DMipmaps + driver_send_term(port,caller,rt,AP); +}; break; +case 5011: { // gluBuild1DMipmaps GLenum *target = (GLenum *) bp; bp += 4; GLint *internalFormat = (GLint *) bp; bp += 4; GLsizei *width = (GLsizei *) bp; bp += 4; GLenum *format = (GLenum *) bp; bp += 4; GLenum *type = (GLenum *) bp; bp += 4; - void *data = (void *) bins[0]->base; + void *data = (void *) bins[0]; GLint result = wegluBuild1DMipmaps(*target,*internalFormat,*width,*format,*type,data); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5012: { // gluBuild2DMipmapLevels + driver_send_term(port,caller,rt,AP); +}; break; +case 5012: { // gluBuild2DMipmapLevels GLenum *target = (GLenum *) bp; bp += 4; GLint *internalFormat = (GLint *) bp; bp += 4; GLsizei *width = (GLsizei *) bp; bp += 4; @@ -95,32 +73,30 @@ case 5012: { // gluBuild2DMipmapLevels GLint *level = (GLint *) bp; bp += 4; GLint *base = (GLint *) bp; bp += 4; GLint *max = (GLint *) bp; bp += 4; - void *data = (void *) bins[0]->base; + void *data = (void *) bins[0]; GLint result = wegluBuild2DMipmapLevels(*target,*internalFormat,*width,*height,*format,*type,*level,*base,*max,data); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5013: { // gluBuild2DMipmaps + driver_send_term(port,caller,rt,AP); +}; break; +case 5013: { // gluBuild2DMipmaps GLenum *target = (GLenum *) bp; bp += 4; GLint *internalFormat = (GLint *) bp; bp += 4; GLsizei *width = (GLsizei *) bp; bp += 4; GLsizei *height = (GLsizei *) bp; bp += 4; GLenum *format = (GLenum *) bp; bp += 4; GLenum *type = (GLenum *) bp; bp += 4; - void *data = (void *) bins[0]->base; + void *data = (void *) bins[0]; GLint result = wegluBuild2DMipmaps(*target,*internalFormat,*width,*height,*format,*type,data); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5014: { // gluBuild3DMipmapLevels + driver_send_term(port,caller,rt,AP); +}; break; +case 5014: { // gluBuild3DMipmapLevels GLenum *target = (GLenum *) bp; bp += 4; GLint *internalFormat = (GLint *) bp; bp += 4; GLsizei *width = (GLsizei *) bp; bp += 4; @@ -131,16 +107,15 @@ case 5014: { // gluBuild3DMipmapLevels GLint *level = (GLint *) bp; bp += 4; GLint *base = (GLint *) bp; bp += 4; GLint *max = (GLint *) bp; bp += 4; - void *data = (void *) bins[0]->base; + void *data = (void *) bins[0]; GLint result = wegluBuild3DMipmapLevels(*target,*internalFormat,*width,*height,*depth,*format,*type,*level,*base,*max,data); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5015: { // gluBuild3DMipmaps + driver_send_term(port,caller,rt,AP); +}; break; +case 5015: { // gluBuild3DMipmaps GLenum *target = (GLenum *) bp; bp += 4; GLint *internalFormat = (GLint *) bp; bp += 4; GLsizei *width = (GLsizei *) bp; bp += 4; @@ -148,29 +123,27 @@ case 5015: { // gluBuild3DMipmaps GLsizei *depth = (GLsizei *) bp; bp += 4; GLenum *format = (GLenum *) bp; bp += 4; GLenum *type = (GLenum *) bp; bp += 4; - void *data = (void *) bins[0]->base; + void *data = (void *) bins[0]; GLint result = wegluBuild3DMipmaps(*target,*internalFormat,*width,*height,*depth,*format,*type,data); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5016: { // gluCheckExtension - int * extNameLen = (int *) bp; bp += 4; - GLubyte * extName = (GLubyte *) bp; bp += (8-((*extNameLen*1+4)%8))%8; - int * extStringLen = (int *) bp; bp += 4; - GLubyte * extString = (GLubyte *) bp; bp += (8-((*extStringLen*1+4)%8))%8; + driver_send_term(port,caller,rt,AP); +}; break; +case 5016: { // gluCheckExtension + GLubyte *extName = (GLubyte *) bp; + int extNameLen[1] = {strlen((char *)extName)}; bp += extNameLen[0]+1+((8-((1+extNameLen[0]+0)%8))%8); + GLubyte *extString = (GLubyte *) bp; + int extStringLen[1] = {strlen((char *)extString)}; bp += extStringLen[0]+1+((8-((1+extStringLen[0]+0)%8))%8); GLboolean result = wegluCheckExtension(extName,extString); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5017: { // gluCylinder + driver_send_term(port,caller,rt,AP); +}; break; +case 5017: { // gluCylinder GLUquadric * quad = (GLUquadric *) * (GLuint64EXT *) bp; bp += 8; GLdouble *base = (GLdouble *) bp; bp += 8; GLdouble *top = (GLdouble *) bp; bp += 8; @@ -178,40 +151,38 @@ case 5017: { // gluCylinder GLint *slices = (GLint *) bp; bp += 4; GLint *stacks = (GLint *) bp; bp += 4; wegluCylinder(quad,*base,*top,*height,*slices,*stacks); -}; break; -case 5018: { // gluDeleteQuadric +}; break; +case 5018: { // gluDeleteQuadric GLUquadric * quad = (GLUquadric *) * (GLuint64EXT *) bp; bp += 8; wegluDeleteQuadric(quad); -}; break; -case 5019: { // gluDisk +}; break; +case 5019: { // gluDisk GLUquadric * quad = (GLUquadric *) * (GLuint64EXT *) bp; bp += 8; GLdouble *inner = (GLdouble *) bp; bp += 8; GLdouble *outer = (GLdouble *) bp; bp += 8; GLint *slices = (GLint *) bp; bp += 4; GLint *loops = (GLint *) bp; bp += 4; wegluDisk(quad,*inner,*outer,*slices,*loops); -}; break; -case 5020: { // gluErrorString +}; break; +case 5020: { // gluErrorString GLenum *error = (GLenum *) bp; bp += 4; const GLubyte * result = wegluErrorString(*error); int AP = 0; ErlDrvTermData rt[7]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_STRING; rt[AP++] = (ErlDrvTermData) result; rt[AP++] = strlen((char *) result); rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 7 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,7); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5021: { // gluGetString + driver_send_term(port,caller,rt,AP); +}; break; +case 5021: { // gluGetString GLenum *name = (GLenum *) bp; bp += 4; const GLubyte * result = wegluGetString(*name); int AP = 0; ErlDrvTermData rt[7]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_STRING; rt[AP++] = (ErlDrvTermData) result; rt[AP++] = strlen((char *) result); rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 7 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,7); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5022: { // gluLookAt + driver_send_term(port,caller,rt,AP); +}; break; +case 5022: { // gluLookAt GLdouble *eyeX = (GLdouble *) bp; bp += 8; GLdouble *eyeY = (GLdouble *) bp; bp += 8; GLdouble *eyeZ = (GLdouble *) bp; bp += 8; @@ -222,24 +193,23 @@ case 5022: { // gluLookAt GLdouble *upY = (GLdouble *) bp; bp += 8; GLdouble *upZ = (GLdouble *) bp; bp += 8; wegluLookAt(*eyeX,*eyeY,*eyeZ,*centerX,*centerY,*centerZ,*upX,*upY,*upZ); -}; break; -case 5023: { // gluNewQuadric +}; break; +case 5023: { // gluNewQuadric GLUquadric * result = wegluNewQuadric(); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5024: { // gluOrtho2D + driver_send_term(port,caller,rt,AP); +}; break; +case 5024: { // gluOrtho2D GLdouble *left = (GLdouble *) bp; bp += 8; GLdouble *right = (GLdouble *) bp; bp += 8; GLdouble *bottom = (GLdouble *) bp; bp += 8; GLdouble *top = (GLdouble *) bp; bp += 8; wegluOrtho2D(*left,*right,*bottom,*top); -}; break; -case 5025: { // gluPartialDisk +}; break; +case 5025: { // gluPartialDisk GLUquadric * quad = (GLUquadric *) * (GLuint64EXT *) bp; bp += 8; GLdouble *inner = (GLdouble *) bp; bp += 8; GLdouble *outer = (GLdouble *) bp; bp += 8; @@ -248,23 +218,23 @@ case 5025: { // gluPartialDisk GLdouble *start = (GLdouble *) bp; bp += 8; GLdouble *sweep = (GLdouble *) bp; bp += 8; wegluPartialDisk(quad,*inner,*outer,*slices,*loops,*start,*sweep); -}; break; -case 5026: { // gluPerspective +}; break; +case 5026: { // gluPerspective GLdouble *fovy = (GLdouble *) bp; bp += 8; GLdouble *aspect = (GLdouble *) bp; bp += 8; GLdouble *zNear = (GLdouble *) bp; bp += 8; GLdouble *zFar = (GLdouble *) bp; bp += 8; wegluPerspective(*fovy,*aspect,*zNear,*zFar); -}; break; -case 5027: { // gluPickMatrix +}; break; +case 5027: { // gluPickMatrix GLdouble *x = (GLdouble *) bp; bp += 8; GLdouble *y = (GLdouble *) bp; bp += 8; GLdouble *delX = (GLdouble *) bp; bp += 8; GLdouble *delY = (GLdouble *) bp; bp += 8; GLint * viewport = (GLint *) bp; bp += 16; wegluPickMatrix(*x,*y,*delX,*delY,viewport); -}; break; -case 5028: { // gluProject +}; break; +case 5028: { // gluProject GLdouble *objX = (GLdouble *) bp; bp += 8; GLdouble *objY = (GLdouble *) bp; bp += 8; GLdouble *objZ = (GLdouble *) bp; bp += 8; @@ -276,62 +246,60 @@ case 5028: { // gluProject GLdouble winZ[1] = {0.0}; GLint result = wegluProject(*objX,*objY,*objZ,model,proj,view,winX,winY,winZ); int AP = 0; ErlDrvTermData rt[14]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result; rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) winX; rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) winY; rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) winZ; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5029: { // gluQuadricDrawStyle + driver_send_term(port,caller,rt,AP); +}; break; +case 5029: { // gluQuadricDrawStyle GLUquadric * quad = (GLUquadric *) * (GLuint64EXT *) bp; bp += 8; GLenum *draw = (GLenum *) bp; bp += 4; wegluQuadricDrawStyle(quad,*draw); -}; break; -case 5030: { // gluQuadricNormals +}; break; +case 5030: { // gluQuadricNormals GLUquadric * quad = (GLUquadric *) * (GLuint64EXT *) bp; bp += 8; GLenum *normal = (GLenum *) bp; bp += 4; wegluQuadricNormals(quad,*normal); -}; break; -case 5031: { // gluQuadricOrientation +}; break; +case 5031: { // gluQuadricOrientation GLUquadric * quad = (GLUquadric *) * (GLuint64EXT *) bp; bp += 8; GLenum *orientation = (GLenum *) bp; bp += 4; wegluQuadricOrientation(quad,*orientation); -}; break; -case 5032: { // gluQuadricTexture +}; break; +case 5032: { // gluQuadricTexture GLUquadric * quad = (GLUquadric *) * (GLuint64EXT *) bp; bp += 8; GLboolean *texture = (GLboolean *) bp; bp += 1; wegluQuadricTexture(quad,*texture); -}; break; -case 5033: { // gluScaleImage +}; break; +case 5033: { // gluScaleImage GLenum *format = (GLenum *) bp; bp += 4; GLsizei *wIn = (GLsizei *) bp; bp += 4; GLsizei *hIn = (GLsizei *) bp; bp += 4; GLenum *typeIn = (GLenum *) bp; bp += 4; - void *dataIn = (void *) bins[0]->base; + void *dataIn = (void *) bins[0]; GLsizei *wOut = (GLsizei *) bp; bp += 4; GLsizei *hOut = (GLsizei *) bp; bp += 4; GLenum *typeOut = (GLenum *) bp; bp += 4; - GLvoid *dataOut = (GLvoid *) bins[1]->base; + GLvoid *dataOut = (GLvoid *) bins[1]; GLint result = wegluScaleImage(*format,*wIn,*hIn,*typeIn,dataIn,*wOut,*hOut,*typeOut,dataOut); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5034: { // gluSphere + driver_send_term(port,caller,rt,AP); +}; break; +case 5034: { // gluSphere GLUquadric * quad = (GLUquadric *) * (GLuint64EXT *) bp; bp += 8; GLdouble *radius = (GLdouble *) bp; bp += 8; GLint *slices = (GLint *) bp; bp += 4; GLint *stacks = (GLint *) bp; bp += 4; wegluSphere(quad,*radius,*slices,*stacks); -}; break; -case 5035: { // gluUnProject +}; break; +case 5035: { // gluUnProject GLdouble *winX = (GLdouble *) bp; bp += 8; GLdouble *winY = (GLdouble *) bp; bp += 8; GLdouble *winZ = (GLdouble *) bp; bp += 8; @@ -343,17 +311,16 @@ case 5035: { // gluUnProject GLdouble objZ[1] = {0.0}; GLint result = wegluUnProject(*winX,*winY,*winZ,model,proj,view,objX,objY,objZ); int AP = 0; ErlDrvTermData rt[14]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result; rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) objX; rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) objY; rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) objZ; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5036: { // gluUnProject4 + driver_send_term(port,caller,rt,AP); +}; break; +case 5036: { // gluUnProject4 GLdouble *winX = (GLdouble *) bp; bp += 8; GLdouble *winY = (GLdouble *) bp; bp += 8; GLdouble *winZ = (GLdouble *) bp; bp += 8; @@ -369,7 +336,7 @@ case 5036: { // gluUnProject4 GLdouble objW[1] = {0.0}; GLint result = wegluUnProject4(*winX,*winY,*winZ,*clipW,model,proj,view,*nearVal,*farVal,objX,objY,objZ,objW); int AP = 0; ErlDrvTermData rt[16]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result; rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) objX; rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) objY; @@ -377,20 +344,19 @@ case 5036: { // gluUnProject4 rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) objW; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 5; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 16 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,16); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5037: { // glAccum + driver_send_term(port,caller,rt,AP); +}; break; +case 5037: { // glAccum GLenum *op = (GLenum *) bp; bp += 4; GLfloat *value = (GLfloat *) bp; bp += 4; weglAccum(*op,*value); -}; break; -case 5038: { // glAlphaFunc +}; break; +case 5038: { // glAlphaFunc GLenum *func = (GLenum *) bp; bp += 4; GLclampf *ref = (GLclampf *) bp; bp += 4; weglAlphaFunc(*func,*ref); -}; break; -case 5039: { // glAreTexturesResident +}; break; +case 5039: { // glAreTexturesResident int * texturesLen = (int *) bp; bp += 4; GLuint * textures = (GLuint *) bp; bp += (8-((*texturesLen*4+4)%8))%8; GLboolean *residences; @@ -398,32 +364,31 @@ case 5039: { // glAreTexturesResident GLboolean result = weglAreTexturesResident(*texturesLen,textures,residences); int AP = 0; ErlDrvTermData *rt; rt = (ErlDrvTermData *) driver_alloc(sizeof(ErlDrvTermData)*(11 + (*texturesLen)*2)); - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result; for(int i=0; i < *texturesLen; i++) { rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) residences[i];} rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = (*texturesLen)+1; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 11 + (*texturesLen)*2 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,11 + (*texturesLen)*2); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); - driver_free(rt); + driver_send_term(port,caller,rt,AP); + driver_free(rt); driver_free(residences); -}; break; -case 5040: { // glArrayElement +}; break; +case 5040: { // glArrayElement GLint *i = (GLint *) bp; bp += 4; weglArrayElement(*i); -}; break; -case 5041: { // glBegin +}; break; +case 5041: { // glBegin GLenum *mode = (GLenum *) bp; bp += 4; weglBegin(*mode); -}; break; -case 5042: { // glBindTexture +}; break; +case 5042: { // glBindTexture GLenum *target = (GLenum *) bp; bp += 4; GLuint *texture = (GLuint *) bp; bp += 4; weglBindTexture(*target,*texture); -}; break; -case 5043: { // glBitmap +}; break; +case 5043: { // glBitmap GLsizei *width = (GLsizei *) bp; bp += 4; GLsizei *height = (GLsizei *) bp; bp += 4; GLfloat *xorig = (GLfloat *) bp; bp += 4; @@ -432,166 +397,166 @@ case 5043: { // glBitmap GLfloat *ymove = (GLfloat *) bp; bp += 4; GLubyte *bitmap = (GLubyte *) * (int *) bp; bp += 4; weglBitmap(*width,*height,*xorig,*yorig,*xmove,*ymove,bitmap); -}; break; -case 5044: { // glBitmap +}; break; +case 5044: { // glBitmap GLsizei *width = (GLsizei *) bp; bp += 4; GLsizei *height = (GLsizei *) bp; bp += 4; GLfloat *xorig = (GLfloat *) bp; bp += 4; GLfloat *yorig = (GLfloat *) bp; bp += 4; GLfloat *xmove = (GLfloat *) bp; bp += 4; GLfloat *ymove = (GLfloat *) bp; bp += 4; - GLubyte *bitmap = (GLubyte *) bins[0]->base; + GLubyte *bitmap = (GLubyte *) bins[0]; weglBitmap(*width,*height,*xorig,*yorig,*xmove,*ymove,bitmap); -}; break; -case 5045: { // glBlendFunc +}; break; +case 5045: { // glBlendFunc GLenum *sfactor = (GLenum *) bp; bp += 4; GLenum *dfactor = (GLenum *) bp; bp += 4; weglBlendFunc(*sfactor,*dfactor); -}; break; -case 5046: { // glCallList +}; break; +case 5046: { // glCallList GLuint *list = (GLuint *) bp; bp += 4; weglCallList(*list); -}; break; -case 5047: { // glCallLists +}; break; +case 5047: { // glCallLists int * listsLen = (int *) bp; bp += 4; GLuint * lists = (GLuint *) bp; bp += (8-((*listsLen*4+4)%8))%8; weglCallLists(*listsLen,GL_UNSIGNED_INT,lists); -}; break; -case 5048: { // glClear +}; break; +case 5048: { // glClear GLbitfield *mask = (GLbitfield *) bp; bp += 4; weglClear(*mask); -}; break; -case 5049: { // glClearAccum +}; break; +case 5049: { // glClearAccum GLfloat *red = (GLfloat *) bp; bp += 4; GLfloat *green = (GLfloat *) bp; bp += 4; GLfloat *blue = (GLfloat *) bp; bp += 4; GLfloat *alpha = (GLfloat *) bp; bp += 4; weglClearAccum(*red,*green,*blue,*alpha); -}; break; -case 5050: { // glClearColor +}; break; +case 5050: { // glClearColor GLclampf *red = (GLclampf *) bp; bp += 4; GLclampf *green = (GLclampf *) bp; bp += 4; GLclampf *blue = (GLclampf *) bp; bp += 4; GLclampf *alpha = (GLclampf *) bp; bp += 4; weglClearColor(*red,*green,*blue,*alpha); -}; break; -case 5051: { // glClearDepth +}; break; +case 5051: { // glClearDepth GLclampd *depth = (GLclampd *) bp; bp += 8; weglClearDepth(*depth); -}; break; -case 5052: { // glClearIndex +}; break; +case 5052: { // glClearIndex GLfloat *c = (GLfloat *) bp; bp += 4; weglClearIndex(*c); -}; break; -case 5053: { // glClearStencil +}; break; +case 5053: { // glClearStencil GLint *s = (GLint *) bp; bp += 4; weglClearStencil(*s); -}; break; -case 5054: { // glClipPlane +}; break; +case 5054: { // glClipPlane GLenum *plane = (GLenum *) bp; bp += 4; bp += 4; GLdouble * equation = (GLdouble *) bp; bp += 32; weglClipPlane(*plane,equation); -}; break; -case 5055: { // glColor3bv +}; break; +case 5055: { // glColor3bv GLbyte *v = (GLbyte *) bp; bp += 1; weglColor3bv(v); -}; break; -case 5056: { // glColor3dv +}; break; +case 5056: { // glColor3dv GLdouble *v = (GLdouble *) bp; bp += 8; weglColor3dv(v); -}; break; -case 5057: { // glColor3fv +}; break; +case 5057: { // glColor3fv GLfloat *v = (GLfloat *) bp; bp += 4; weglColor3fv(v); -}; break; -case 5058: { // glColor3iv +}; break; +case 5058: { // glColor3iv GLint *v = (GLint *) bp; bp += 4; weglColor3iv(v); -}; break; -case 5059: { // glColor3sv +}; break; +case 5059: { // glColor3sv GLshort *v = (GLshort *) bp; bp += 2; weglColor3sv(v); -}; break; -case 5060: { // glColor3ubv +}; break; +case 5060: { // glColor3ubv GLubyte *v = (GLubyte *) bp; bp += 1; weglColor3ubv(v); -}; break; -case 5061: { // glColor3uiv +}; break; +case 5061: { // glColor3uiv GLuint *v = (GLuint *) bp; bp += 4; weglColor3uiv(v); -}; break; -case 5062: { // glColor3usv +}; break; +case 5062: { // glColor3usv GLushort *v = (GLushort *) bp; bp += 2; weglColor3usv(v); -}; break; -case 5063: { // glColor4bv +}; break; +case 5063: { // glColor4bv GLbyte *v = (GLbyte *) bp; bp += 1; weglColor4bv(v); -}; break; -case 5064: { // glColor4dv +}; break; +case 5064: { // glColor4dv GLdouble *v = (GLdouble *) bp; bp += 8; weglColor4dv(v); -}; break; -case 5065: { // glColor4fv +}; break; +case 5065: { // glColor4fv GLfloat *v = (GLfloat *) bp; bp += 4; weglColor4fv(v); -}; break; -case 5066: { // glColor4iv +}; break; +case 5066: { // glColor4iv GLint *v = (GLint *) bp; bp += 4; weglColor4iv(v); -}; break; -case 5067: { // glColor4sv +}; break; +case 5067: { // glColor4sv GLshort *v = (GLshort *) bp; bp += 2; weglColor4sv(v); -}; break; -case 5068: { // glColor4ubv +}; break; +case 5068: { // glColor4ubv GLubyte *v = (GLubyte *) bp; bp += 1; weglColor4ubv(v); -}; break; -case 5069: { // glColor4uiv +}; break; +case 5069: { // glColor4uiv GLuint *v = (GLuint *) bp; bp += 4; weglColor4uiv(v); -}; break; -case 5070: { // glColor4usv +}; break; +case 5070: { // glColor4usv GLushort *v = (GLushort *) bp; bp += 2; weglColor4usv(v); -}; break; -case 5071: { // glColorMask +}; break; +case 5071: { // glColorMask GLboolean *red = (GLboolean *) bp; bp += 1; GLboolean *green = (GLboolean *) bp; bp += 1; GLboolean *blue = (GLboolean *) bp; bp += 1; GLboolean *alpha = (GLboolean *) bp; bp += 1; weglColorMask(*red,*green,*blue,*alpha); -}; break; -case 5072: { // glColorMaterial +}; break; +case 5072: { // glColorMaterial GLenum *face = (GLenum *) bp; bp += 4; GLenum *mode = (GLenum *) bp; bp += 4; weglColorMaterial(*face,*mode); -}; break; -case 5073: { // glColorPointer +}; break; +case 5073: { // glColorPointer GLint *size = (GLint *) bp; bp += 4; GLenum *type = (GLenum *) bp; bp += 4; GLsizei *stride = (GLsizei *) bp; bp += 4; GLvoid *pointer = (GLvoid *) * (int *) bp; bp += 4; weglColorPointer(*size,*type,*stride,pointer); -}; break; -case 5074: { // glColorPointer +}; break; +case 5074: { // glColorPointer GLint *size = (GLint *) bp; bp += 4; GLenum *type = (GLenum *) bp; bp += 4; GLsizei *stride = (GLsizei *) bp; bp += 4; - GLvoid *pointer = (GLvoid *) bins[0]->base; + GLvoid *pointer = (GLvoid *) bins[0]; weglColorPointer(*size,*type,*stride,pointer); -}; break; -case 5075: { // glCopyPixels +}; break; +case 5075: { // glCopyPixels GLint *x = (GLint *) bp; bp += 4; GLint *y = (GLint *) bp; bp += 4; GLsizei *width = (GLsizei *) bp; bp += 4; GLsizei *height = (GLsizei *) bp; bp += 4; GLenum *type = (GLenum *) bp; bp += 4; weglCopyPixels(*x,*y,*width,*height,*type); -}; break; -case 5076: { // glCopyTexImage1D +}; break; +case 5076: { // glCopyTexImage1D GLenum *target = (GLenum *) bp; bp += 4; GLint *level = (GLint *) bp; bp += 4; GLenum *internalFormat = (GLenum *) bp; bp += 4; @@ -600,8 +565,8 @@ case 5076: { // glCopyTexImage1D GLsizei *width = (GLsizei *) bp; bp += 4; GLint *border = (GLint *) bp; bp += 4; weglCopyTexImage1D(*target,*level,*internalFormat,*x,*y,*width,*border); -}; break; -case 5077: { // glCopyTexImage2D +}; break; +case 5077: { // glCopyTexImage2D GLenum *target = (GLenum *) bp; bp += 4; GLint *level = (GLint *) bp; bp += 4; GLenum *internalFormat = (GLenum *) bp; bp += 4; @@ -611,8 +576,8 @@ case 5077: { // glCopyTexImage2D GLsizei *height = (GLsizei *) bp; bp += 4; GLint *border = (GLint *) bp; bp += 4; weglCopyTexImage2D(*target,*level,*internalFormat,*x,*y,*width,*height,*border); -}; break; -case 5078: { // glCopyTexSubImage1D +}; break; +case 5078: { // glCopyTexSubImage1D GLenum *target = (GLenum *) bp; bp += 4; GLint *level = (GLint *) bp; bp += 4; GLint *xoffset = (GLint *) bp; bp += 4; @@ -620,8 +585,8 @@ case 5078: { // glCopyTexSubImage1D GLint *y = (GLint *) bp; bp += 4; GLsizei *width = (GLsizei *) bp; bp += 4; weglCopyTexSubImage1D(*target,*level,*xoffset,*x,*y,*width); -}; break; -case 5079: { // glCopyTexSubImage2D +}; break; +case 5079: { // glCopyTexSubImage2D GLenum *target = (GLenum *) bp; bp += 4; GLint *level = (GLint *) bp; bp += 4; GLint *xoffset = (GLint *) bp; bp += 4; @@ -631,193 +596,193 @@ case 5079: { // glCopyTexSubImage2D GLsizei *width = (GLsizei *) bp; bp += 4; GLsizei *height = (GLsizei *) bp; bp += 4; weglCopyTexSubImage2D(*target,*level,*xoffset,*yoffset,*x,*y,*width,*height); -}; break; -case 5080: { // glCullFace +}; break; +case 5080: { // glCullFace GLenum *mode = (GLenum *) bp; bp += 4; weglCullFace(*mode); -}; break; -case 5081: { // glDeleteLists +}; break; +case 5081: { // glDeleteLists GLuint *list = (GLuint *) bp; bp += 4; GLsizei *range = (GLsizei *) bp; bp += 4; weglDeleteLists(*list,*range); -}; break; -case 5082: { // glDeleteTextures +}; break; +case 5082: { // glDeleteTextures int * texturesLen = (int *) bp; bp += 4; GLuint * textures = (GLuint *) bp; bp += (8-((*texturesLen*4+4)%8))%8; weglDeleteTextures(*texturesLen,textures); -}; break; -case 5083: { // glDepthFunc +}; break; +case 5083: { // glDepthFunc GLenum *func = (GLenum *) bp; bp += 4; weglDepthFunc(*func); -}; break; -case 5084: { // glDepthMask +}; break; +case 5084: { // glDepthMask GLboolean *flag = (GLboolean *) bp; bp += 1; weglDepthMask(*flag); -}; break; -case 5085: { // glDepthRange +}; break; +case 5085: { // glDepthRange GLclampd *zNear = (GLclampd *) bp; bp += 8; GLclampd *zFar = (GLclampd *) bp; bp += 8; weglDepthRange(*zNear,*zFar); -}; break; -case 5086: { // glDisable +}; break; +case 5086: { // glDisable GLenum *cap = (GLenum *) bp; bp += 4; weglDisable(*cap); -}; break; -case 5087: { // glDisableClientState +}; break; +case 5087: { // glDisableClientState GLenum *array = (GLenum *) bp; bp += 4; weglDisableClientState(*array); -}; break; -case 5088: { // glDrawArrays +}; break; +case 5088: { // glDrawArrays GLenum *mode = (GLenum *) bp; bp += 4; GLint *first = (GLint *) bp; bp += 4; GLsizei *count = (GLsizei *) bp; bp += 4; weglDrawArrays(*mode,*first,*count); -}; break; -case 5089: { // glDrawBuffer +}; break; +case 5089: { // glDrawBuffer GLenum *mode = (GLenum *) bp; bp += 4; weglDrawBuffer(*mode); -}; break; -case 5090: { // glDrawElements +}; break; +case 5090: { // glDrawElements GLenum *mode = (GLenum *) bp; bp += 4; GLsizei *count = (GLsizei *) bp; bp += 4; GLenum *type = (GLenum *) bp; bp += 4; GLvoid *indices = (GLvoid *) * (int *) bp; bp += 4; weglDrawElements(*mode,*count,*type,indices); -}; break; -case 5091: { // glDrawElements +}; break; +case 5091: { // glDrawElements GLenum *mode = (GLenum *) bp; bp += 4; GLsizei *count = (GLsizei *) bp; bp += 4; GLenum *type = (GLenum *) bp; bp += 4; - GLvoid *indices = (GLvoid *) bins[0]->base; + GLvoid *indices = (GLvoid *) bins[0]; weglDrawElements(*mode,*count,*type,indices); -}; break; -case 5092: { // glDrawPixels +}; break; +case 5092: { // glDrawPixels GLsizei *width = (GLsizei *) bp; bp += 4; GLsizei *height = (GLsizei *) bp; bp += 4; GLenum *format = (GLenum *) bp; bp += 4; GLenum *type = (GLenum *) bp; bp += 4; GLvoid *pixels = (GLvoid *) * (int *) bp; bp += 4; weglDrawPixels(*width,*height,*format,*type,pixels); -}; break; -case 5093: { // glDrawPixels +}; break; +case 5093: { // glDrawPixels GLsizei *width = (GLsizei *) bp; bp += 4; GLsizei *height = (GLsizei *) bp; bp += 4; GLenum *format = (GLenum *) bp; bp += 4; GLenum *type = (GLenum *) bp; bp += 4; - GLvoid *pixels = (GLvoid *) bins[0]->base; + GLvoid *pixels = (GLvoid *) bins[0]; weglDrawPixels(*width,*height,*format,*type,pixels); -}; break; -case 5094: { // glEdgeFlagv +}; break; +case 5094: { // glEdgeFlagv GLboolean *flag = (GLboolean *) bp; bp += 1; weglEdgeFlagv(flag); -}; break; -case 5095: { // glEdgeFlagPointer +}; break; +case 5095: { // glEdgeFlagPointer GLsizei *stride = (GLsizei *) bp; bp += 4; GLvoid *pointer = (GLvoid *) * (int *) bp; bp += 4; weglEdgeFlagPointer(*stride,pointer); -}; break; -case 5096: { // glEdgeFlagPointer +}; break; +case 5096: { // glEdgeFlagPointer GLsizei *stride = (GLsizei *) bp; bp += 4; - GLvoid *pointer = (GLvoid *) bins[0]->base; + GLvoid *pointer = (GLvoid *) bins[0]; weglEdgeFlagPointer(*stride,pointer); -}; break; -case 5097: { // glEnable +}; break; +case 5097: { // glEnable GLenum *cap = (GLenum *) bp; bp += 4; weglEnable(*cap); -}; break; -case 5098: { // glEnableClientState +}; break; +case 5098: { // glEnableClientState GLenum *array = (GLenum *) bp; bp += 4; weglEnableClientState(*array); -}; break; -case 5099: { // glEnd +}; break; +case 5099: { // glEnd weglEnd(); -}; break; -case 5100: { // glEndList +}; break; +case 5100: { // glEndList weglEndList(); -}; break; -case 5101: { // glEvalCoord1dv +}; break; +case 5101: { // glEvalCoord1dv GLdouble *u = (GLdouble *) bp; bp += 8; weglEvalCoord1dv(u); -}; break; -case 5102: { // glEvalCoord1fv +}; break; +case 5102: { // glEvalCoord1fv GLfloat *u = (GLfloat *) bp; bp += 4; weglEvalCoord1fv(u); -}; break; -case 5103: { // glEvalCoord2dv +}; break; +case 5103: { // glEvalCoord2dv GLdouble *u = (GLdouble *) bp; bp += 8; weglEvalCoord2dv(u); -}; break; -case 5104: { // glEvalCoord2fv +}; break; +case 5104: { // glEvalCoord2fv GLfloat *u = (GLfloat *) bp; bp += 4; weglEvalCoord2fv(u); -}; break; -case 5105: { // glEvalMesh1 +}; break; +case 5105: { // glEvalMesh1 GLenum *mode = (GLenum *) bp; bp += 4; GLint *i1 = (GLint *) bp; bp += 4; GLint *i2 = (GLint *) bp; bp += 4; weglEvalMesh1(*mode,*i1,*i2); -}; break; -case 5106: { // glEvalMesh2 +}; break; +case 5106: { // glEvalMesh2 GLenum *mode = (GLenum *) bp; bp += 4; GLint *i1 = (GLint *) bp; bp += 4; GLint *i2 = (GLint *) bp; bp += 4; GLint *j1 = (GLint *) bp; bp += 4; GLint *j2 = (GLint *) bp; bp += 4; weglEvalMesh2(*mode,*i1,*i2,*j1,*j2); -}; break; -case 5107: { // glEvalPoint1 +}; break; +case 5107: { // glEvalPoint1 GLint *i = (GLint *) bp; bp += 4; weglEvalPoint1(*i); -}; break; -case 5108: { // glEvalPoint2 +}; break; +case 5108: { // glEvalPoint2 GLint *i = (GLint *) bp; bp += 4; GLint *j = (GLint *) bp; bp += 4; weglEvalPoint2(*i,*j); -}; break; -case 5109: { // glFeedbackBuffer +}; break; +case 5109: { // glFeedbackBuffer GLsizei *size = (GLsizei *) bp; bp += 4; GLenum *type = (GLenum *) bp; bp += 4; - GLfloat *buffer = (GLfloat *) bins[0]->base; + GLfloat *buffer = (GLfloat *) bins[0]; weglFeedbackBuffer(*size,*type,buffer); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "ok"); rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5110: { // glFinish + driver_send_term(port,caller,rt,AP); +}; break; +case 5110: { // glFinish weglFinish(); -}; break; -case 5111: { // glFlush +}; break; +case 5111: { // glFlush weglFlush(); -}; break; -case 5112: { // glFogf +}; break; +case 5112: { // glFogf GLenum *pname = (GLenum *) bp; bp += 4; GLfloat *param = (GLfloat *) bp; bp += 4; weglFogf(*pname,*param); -}; break; -case 5113: { // glFogfv +}; break; +case 5113: { // glFogfv GLenum *pname = (GLenum *) bp; bp += 4; int *paramsLen = (int *) bp; bp += 4; GLfloat *params = (GLfloat *) bp; bp += *paramsLen*4+((*paramsLen)+0)%2*4; weglFogfv(*pname,params); -}; break; -case 5114: { // glFogi +}; break; +case 5114: { // glFogi GLenum *pname = (GLenum *) bp; bp += 4; GLint *param = (GLint *) bp; bp += 4; weglFogi(*pname,*param); -}; break; -case 5115: { // glFogiv +}; break; +case 5115: { // glFogiv GLenum *pname = (GLenum *) bp; bp += 4; int *paramsLen = (int *) bp; bp += 4; GLint *params = (GLint *) bp; bp += *paramsLen*4+((*paramsLen)+0)%2*4; weglFogiv(*pname,params); -}; break; -case 5116: { // glFrontFace +}; break; +case 5116: { // glFrontFace GLenum *mode = (GLenum *) bp; bp += 4; weglFrontFace(*mode); -}; break; -case 5117: { // glFrustum +}; break; +case 5117: { // glFrustum GLdouble *left = (GLdouble *) bp; bp += 8; GLdouble *right = (GLdouble *) bp; bp += 8; GLdouble *bottom = (GLdouble *) bp; bp += 8; @@ -825,40 +790,38 @@ case 5117: { // glFrustum GLdouble *zNear = (GLdouble *) bp; bp += 8; GLdouble *zFar = (GLdouble *) bp; bp += 8; weglFrustum(*left,*right,*bottom,*top,*zNear,*zFar); -}; break; -case 5118: { // glGenLists +}; break; +case 5118: { // glGenLists GLsizei *range = (GLsizei *) bp; bp += 4; GLuint result = weglGenLists(*range); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5119: { // glGenTextures + driver_send_term(port,caller,rt,AP); +}; break; +case 5119: { // glGenTextures GLsizei *n = (GLsizei *) bp; bp += 4; GLuint *textures; textures = (GLuint *) driver_alloc(sizeof(GLuint) * *n); weglGenTextures(*n,textures); int AP = 0; ErlDrvTermData *rt; rt = (ErlDrvTermData *) driver_alloc(sizeof(ErlDrvTermData)*(7 + (*n)*2)); - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); for(int i=0; i < *n; i++) { rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) textures[i];} rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = (*n)+1; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 7 + (*n)*2 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,7 + (*n)*2); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); - driver_free(rt); + driver_send_term(port,caller,rt,AP); + driver_free(rt); driver_free(textures); -}; break; -case 5120: { // glGetBooleanv +}; break; +case 5120: { // glGetBooleanv GLenum *pname = (GLenum *) bp; bp += 4; GLboolean params[16] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; weglGetBooleanv(*pname,params); int AP = 0; ErlDrvTermData rt[39]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); GLboolean *paramsTmp = params; rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; @@ -878,15 +841,14 @@ case 5120: { // glGetBooleanv rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = 16+1; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 39 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,39); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5121: { // glGetClipPlane + driver_send_term(port,caller,rt,AP); +}; break; +case 5121: { // glGetClipPlane GLenum *plane = (GLenum *) bp; bp += 4; GLdouble equation[4] = {0.0,0.0,0.0,0.0}; weglGetClipPlane(*plane,equation); int AP = 0; ErlDrvTermData rt[14]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); GLdouble *equationTmp = equation; rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) equationTmp++; rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) equationTmp++; @@ -894,15 +856,14 @@ case 5121: { // glGetClipPlane rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) equationTmp++; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5122: { // glGetDoublev + driver_send_term(port,caller,rt,AP); +}; break; +case 5122: { // glGetDoublev GLenum *pname = (GLenum *) bp; bp += 4; GLdouble params[16] = {0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0}; weglGetDoublev(*pname,params); int AP = 0; ErlDrvTermData rt[39]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); GLdouble *paramsTmp = params; rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; @@ -922,24 +883,22 @@ case 5122: { // glGetDoublev rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = 16+1; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 39 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,39); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5123: { // glGetError + driver_send_term(port,caller,rt,AP); +}; break; +case 5123: { // glGetError GLenum result = weglGetError(); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5124: { // glGetFloatv + driver_send_term(port,caller,rt,AP); +}; break; +case 5124: { // glGetFloatv GLenum *pname = (GLenum *) bp; bp += 4; GLfloat params[16] = {0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0}; weglGetFloatv(*pname,params); int AP = 0; ErlDrvTermData rt[39]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); GLdouble paramsConv[16], *paramsTmp = paramsConv; for(int i=0; i < 16; i++) paramsConv[i] = (GLdouble) params[i]; rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; @@ -960,15 +919,14 @@ case 5124: { // glGetFloatv rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = 16+1; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 39 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,39); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5125: { // glGetIntegerv + driver_send_term(port,caller,rt,AP); +}; break; +case 5125: { // glGetIntegerv GLenum *pname = (GLenum *) bp; bp += 4; GLint params[16] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; weglGetIntegerv(*pname,params); int AP = 0; ErlDrvTermData rt[39]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); GLint *paramsTmp = params; rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; @@ -988,16 +946,15 @@ case 5125: { // glGetIntegerv rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = 16+1; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 39 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,39); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5126: { // glGetLightfv + driver_send_term(port,caller,rt,AP); +}; break; +case 5126: { // glGetLightfv GLenum *light = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; GLfloat params[4] = {0.0,0.0,0.0,0.0}; weglGetLightfv(*light,*pname,params); int AP = 0; ErlDrvTermData rt[14]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); GLdouble paramsConv[4], *paramsTmp = paramsConv; for(int i=0; i < 4; i++) paramsConv[i] = (GLdouble) params[i]; rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; @@ -1006,16 +963,15 @@ case 5126: { // glGetLightfv rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5127: { // glGetLightiv + driver_send_term(port,caller,rt,AP); +}; break; +case 5127: { // glGetLightiv GLenum *light = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; GLint params[4] = {0,0,0,0}; weglGetLightiv(*light,*pname,params); int AP = 0; ErlDrvTermData rt[14]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); GLint *paramsTmp = params; rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; @@ -1023,49 +979,48 @@ case 5127: { // glGetLightiv rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5128: { // glGetMapdv + driver_send_term(port,caller,rt,AP); +}; break; +case 5128: { // glGetMapdv GLenum *target = (GLenum *) bp; bp += 4; GLenum *query = (GLenum *) bp; bp += 4; - GLdouble *v = (GLdouble *) bins[0]->base; + GLdouble *v = (GLdouble *) bins[0]; weglGetMapdv(*target,*query,v); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "ok"); rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5129: { // glGetMapfv + driver_send_term(port,caller,rt,AP); +}; break; +case 5129: { // glGetMapfv GLenum *target = (GLenum *) bp; bp += 4; GLenum *query = (GLenum *) bp; bp += 4; - GLfloat *v = (GLfloat *) bins[0]->base; + GLfloat *v = (GLfloat *) bins[0]; weglGetMapfv(*target,*query,v); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "ok"); rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5130: { // glGetMapiv + driver_send_term(port,caller,rt,AP); +}; break; +case 5130: { // glGetMapiv GLenum *target = (GLenum *) bp; bp += 4; GLenum *query = (GLenum *) bp; bp += 4; - GLint *v = (GLint *) bins[0]->base; + GLint *v = (GLint *) bins[0]; weglGetMapiv(*target,*query,v); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "ok"); rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5131: { // glGetMaterialfv + driver_send_term(port,caller,rt,AP); +}; break; +case 5131: { // glGetMaterialfv GLenum *face = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; GLfloat params[4] = {0.0,0.0,0.0,0.0}; weglGetMaterialfv(*face,*pname,params); int AP = 0; ErlDrvTermData rt[14]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); GLdouble paramsConv[4], *paramsTmp = paramsConv; for(int i=0; i < 4; i++) paramsConv[i] = (GLdouble) params[i]; rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; @@ -1074,16 +1029,15 @@ case 5131: { // glGetMaterialfv rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5132: { // glGetMaterialiv + driver_send_term(port,caller,rt,AP); +}; break; +case 5132: { // glGetMaterialiv GLenum *face = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; GLint params[4] = {0,0,0,0}; weglGetMaterialiv(*face,*pname,params); int AP = 0; ErlDrvTermData rt[14]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); GLint *paramsTmp = params; rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; @@ -1091,69 +1045,64 @@ case 5132: { // glGetMaterialiv rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5133: { // glGetPixelMapfv + driver_send_term(port,caller,rt,AP); +}; break; +case 5133: { // glGetPixelMapfv GLenum *map = (GLenum *) bp; bp += 4; - GLfloat *values = (GLfloat *) bins[0]->base; + GLfloat *values = (GLfloat *) bins[0]; weglGetPixelMapfv(*map,values); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "ok"); rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5134: { // glGetPixelMapuiv + driver_send_term(port,caller,rt,AP); +}; break; +case 5134: { // glGetPixelMapuiv GLenum *map = (GLenum *) bp; bp += 4; - GLuint *values = (GLuint *) bins[0]->base; + GLuint *values = (GLuint *) bins[0]; weglGetPixelMapuiv(*map,values); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "ok"); rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5135: { // glGetPixelMapusv + driver_send_term(port,caller,rt,AP); +}; break; +case 5135: { // glGetPixelMapusv GLenum *map = (GLenum *) bp; bp += 4; - GLushort *values = (GLushort *) bins[0]->base; + GLushort *values = (GLushort *) bins[0]; weglGetPixelMapusv(*map,values); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "ok"); rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5136: { // glGetPolygonStipple - GLubyte mask[128]; - weglGetPolygonStipple(mask); + driver_send_term(port,caller,rt,AP); +}; break; +case 5136: { // glGetPolygonStipple + ErlDrvBinary *mask = driver_alloc_binary(128); + weglGetPolygonStipple((GLubyte*) mask->orig_bytes); int AP = 0; ErlDrvTermData rt[8]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); - ErlDrvBinary * BinCopy = driver_alloc_binary(128); - memcpy(BinCopy->orig_bytes, mask, 128); - rt[AP++] = ERL_DRV_BINARY; rt[AP++] = (ErlDrvTermData) BinCopy; rt[AP++] = 128; rt[AP++] = 0; - rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 8 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,8); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); - driver_free_binary(BinCopy); -}; break; -case 5137: { // glGetString + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); + rt[AP++] = ERL_DRV_BINARY; rt[AP++] = (ErlDrvTermData) mask; rt[AP++] = 128; rt[AP++] = 0; + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; + driver_send_term(port,caller,rt,AP); + driver_free_binary(mask); +}; break; +case 5137: { // glGetString GLenum *name = (GLenum *) bp; bp += 4; const GLubyte * result = weglGetString(*name); int AP = 0; ErlDrvTermData rt[7]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_STRING; rt[AP++] = (ErlDrvTermData) result; rt[AP++] = strlen((char *) result); rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 7 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,7); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5138: { // glGetTexEnvfv + driver_send_term(port,caller,rt,AP); +}; break; +case 5138: { // glGetTexEnvfv GLenum *target = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; GLfloat params[4] = {0.0,0.0,0.0,0.0}; weglGetTexEnvfv(*target,*pname,params); int AP = 0; ErlDrvTermData rt[14]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); GLdouble paramsConv[4], *paramsTmp = paramsConv; for(int i=0; i < 4; i++) paramsConv[i] = (GLdouble) params[i]; rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; @@ -1162,16 +1111,15 @@ case 5138: { // glGetTexEnvfv rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5139: { // glGetTexEnviv + driver_send_term(port,caller,rt,AP); +}; break; +case 5139: { // glGetTexEnviv GLenum *target = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; GLint params[4] = {0,0,0,0}; weglGetTexEnviv(*target,*pname,params); int AP = 0; ErlDrvTermData rt[14]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); GLint *paramsTmp = params; rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; @@ -1179,16 +1127,15 @@ case 5139: { // glGetTexEnviv rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5140: { // glGetTexGendv + driver_send_term(port,caller,rt,AP); +}; break; +case 5140: { // glGetTexGendv GLenum *coord = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; GLdouble params[4] = {0.0,0.0,0.0,0.0}; weglGetTexGendv(*coord,*pname,params); int AP = 0; ErlDrvTermData rt[14]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); GLdouble *paramsTmp = params; rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; @@ -1196,16 +1143,15 @@ case 5140: { // glGetTexGendv rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5141: { // glGetTexGenfv + driver_send_term(port,caller,rt,AP); +}; break; +case 5141: { // glGetTexGenfv GLenum *coord = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; GLfloat params[4] = {0.0,0.0,0.0,0.0}; weglGetTexGenfv(*coord,*pname,params); int AP = 0; ErlDrvTermData rt[14]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); GLdouble paramsConv[4], *paramsTmp = paramsConv; for(int i=0; i < 4; i++) paramsConv[i] = (GLdouble) params[i]; rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; @@ -1214,16 +1160,15 @@ case 5141: { // glGetTexGenfv rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5142: { // glGetTexGeniv + driver_send_term(port,caller,rt,AP); +}; break; +case 5142: { // glGetTexGeniv GLenum *coord = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; GLint params[4] = {0,0,0,0}; weglGetTexGeniv(*coord,*pname,params); int AP = 0; ErlDrvTermData rt[14]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); GLint *paramsTmp = params; rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; @@ -1231,60 +1176,57 @@ case 5142: { // glGetTexGeniv rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5143: { // glGetTexImage + driver_send_term(port,caller,rt,AP); +}; break; +case 5143: { // glGetTexImage GLenum *target = (GLenum *) bp; bp += 4; GLint *level = (GLint *) bp; bp += 4; GLenum *format = (GLenum *) bp; bp += 4; GLenum *type = (GLenum *) bp; bp += 4; - GLvoid *pixels = (GLvoid *) bins[0]->base; + GLvoid *pixels = (GLvoid *) bins[0]; weglGetTexImage(*target,*level,*format,*type,pixels); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "ok"); rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5144: { // glGetTexLevelParameterfv + driver_send_term(port,caller,rt,AP); +}; break; +case 5144: { // glGetTexLevelParameterfv GLenum *target = (GLenum *) bp; bp += 4; GLint *level = (GLint *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; GLfloat params[1] = {0.0}; weglGetTexLevelParameterfv(*target,*level,*pname,params); int AP = 0; ErlDrvTermData rt[8]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); GLdouble paramsConv[1], *paramsTmp = paramsConv; for(int i=0; i < 1; i++) paramsConv[i] = (GLdouble) params[i]; rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 1; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 8 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,8); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5145: { // glGetTexLevelParameteriv + driver_send_term(port,caller,rt,AP); +}; break; +case 5145: { // glGetTexLevelParameteriv GLenum *target = (GLenum *) bp; bp += 4; GLint *level = (GLint *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; GLint params[1] = {0}; weglGetTexLevelParameteriv(*target,*level,*pname,params); int AP = 0; ErlDrvTermData rt[8]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); GLint *paramsTmp = params; rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 1; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 8 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,8); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5146: { // glGetTexParameterfv + driver_send_term(port,caller,rt,AP); +}; break; +case 5146: { // glGetTexParameterfv GLenum *target = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; GLfloat params[4] = {0.0,0.0,0.0,0.0}; weglGetTexParameterfv(*target,*pname,params); int AP = 0; ErlDrvTermData rt[14]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); GLdouble paramsConv[4], *paramsTmp = paramsConv; for(int i=0; i < 4; i++) paramsConv[i] = (GLdouble) params[i]; rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; @@ -1293,16 +1235,15 @@ case 5146: { // glGetTexParameterfv rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5147: { // glGetTexParameteriv + driver_send_term(port,caller,rt,AP); +}; break; +case 5147: { // glGetTexParameteriv GLenum *target = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; GLint params[4] = {0,0,0,0}; weglGetTexParameteriv(*target,*pname,params); int AP = 0; ErlDrvTermData rt[14]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); GLint *paramsTmp = params; rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; @@ -1310,195 +1251,191 @@ case 5147: { // glGetTexParameteriv rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5148: { // glHint + driver_send_term(port,caller,rt,AP); +}; break; +case 5148: { // glHint GLenum *target = (GLenum *) bp; bp += 4; GLenum *mode = (GLenum *) bp; bp += 4; weglHint(*target,*mode); -}; break; -case 5149: { // glIndexMask +}; break; +case 5149: { // glIndexMask GLuint *mask = (GLuint *) bp; bp += 4; weglIndexMask(*mask); -}; break; -case 5150: { // glIndexPointer +}; break; +case 5150: { // glIndexPointer GLenum *type = (GLenum *) bp; bp += 4; GLsizei *stride = (GLsizei *) bp; bp += 4; GLvoid *pointer = (GLvoid *) * (int *) bp; bp += 4; weglIndexPointer(*type,*stride,pointer); -}; break; -case 5151: { // glIndexPointer +}; break; +case 5151: { // glIndexPointer GLenum *type = (GLenum *) bp; bp += 4; GLsizei *stride = (GLsizei *) bp; bp += 4; - GLvoid *pointer = (GLvoid *) bins[0]->base; + GLvoid *pointer = (GLvoid *) bins[0]; weglIndexPointer(*type,*stride,pointer); -}; break; -case 5152: { // glIndexdv +}; break; +case 5152: { // glIndexdv GLdouble *c = (GLdouble *) bp; bp += 8; weglIndexdv(c); -}; break; -case 5153: { // glIndexfv +}; break; +case 5153: { // glIndexfv GLfloat *c = (GLfloat *) bp; bp += 4; weglIndexfv(c); -}; break; -case 5154: { // glIndexiv +}; break; +case 5154: { // glIndexiv GLint *c = (GLint *) bp; bp += 4; weglIndexiv(c); -}; break; -case 5155: { // glIndexsv +}; break; +case 5155: { // glIndexsv GLshort *c = (GLshort *) bp; bp += 2; weglIndexsv(c); -}; break; -case 5156: { // glIndexubv +}; break; +case 5156: { // glIndexubv GLubyte *c = (GLubyte *) bp; bp += 1; weglIndexubv(c); -}; break; -case 5157: { // glInitNames +}; break; +case 5157: { // glInitNames weglInitNames(); -}; break; -case 5158: { // glInterleavedArrays +}; break; +case 5158: { // glInterleavedArrays GLenum *format = (GLenum *) bp; bp += 4; GLsizei *stride = (GLsizei *) bp; bp += 4; GLvoid *pointer = (GLvoid *) * (int *) bp; bp += 4; weglInterleavedArrays(*format,*stride,pointer); -}; break; -case 5159: { // glInterleavedArrays +}; break; +case 5159: { // glInterleavedArrays GLenum *format = (GLenum *) bp; bp += 4; GLsizei *stride = (GLsizei *) bp; bp += 4; - GLvoid *pointer = (GLvoid *) bins[0]->base; + GLvoid *pointer = (GLvoid *) bins[0]; weglInterleavedArrays(*format,*stride,pointer); -}; break; -case 5160: { // glIsEnabled +}; break; +case 5160: { // glIsEnabled GLenum *cap = (GLenum *) bp; bp += 4; GLboolean result = weglIsEnabled(*cap); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5161: { // glIsList + driver_send_term(port,caller,rt,AP); +}; break; +case 5161: { // glIsList GLuint *list = (GLuint *) bp; bp += 4; GLboolean result = weglIsList(*list); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5162: { // glIsTexture + driver_send_term(port,caller,rt,AP); +}; break; +case 5162: { // glIsTexture GLuint *texture = (GLuint *) bp; bp += 4; GLboolean result = weglIsTexture(*texture); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5163: { // glLightModelf + driver_send_term(port,caller,rt,AP); +}; break; +case 5163: { // glLightModelf GLenum *pname = (GLenum *) bp; bp += 4; GLfloat *param = (GLfloat *) bp; bp += 4; weglLightModelf(*pname,*param); -}; break; -case 5164: { // glLightModelfv +}; break; +case 5164: { // glLightModelfv GLenum *pname = (GLenum *) bp; bp += 4; int *paramsLen = (int *) bp; bp += 4; GLfloat *params = (GLfloat *) bp; bp += *paramsLen*4+((*paramsLen)+0)%2*4; weglLightModelfv(*pname,params); -}; break; -case 5165: { // glLightModeli +}; break; +case 5165: { // glLightModeli GLenum *pname = (GLenum *) bp; bp += 4; GLint *param = (GLint *) bp; bp += 4; weglLightModeli(*pname,*param); -}; break; -case 5166: { // glLightModeliv +}; break; +case 5166: { // glLightModeliv GLenum *pname = (GLenum *) bp; bp += 4; int *paramsLen = (int *) bp; bp += 4; GLint *params = (GLint *) bp; bp += *paramsLen*4+((*paramsLen)+0)%2*4; weglLightModeliv(*pname,params); -}; break; -case 5167: { // glLightf +}; break; +case 5167: { // glLightf GLenum *light = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; GLfloat *param = (GLfloat *) bp; bp += 4; weglLightf(*light,*pname,*param); -}; break; -case 5168: { // glLightfv +}; break; +case 5168: { // glLightfv GLenum *light = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; int *paramsLen = (int *) bp; bp += 4; GLfloat *params = (GLfloat *) bp; bp += *paramsLen*4+((*paramsLen)+1)%2*4; weglLightfv(*light,*pname,params); -}; break; -case 5169: { // glLighti +}; break; +case 5169: { // glLighti GLenum *light = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; GLint *param = (GLint *) bp; bp += 4; weglLighti(*light,*pname,*param); -}; break; -case 5170: { // glLightiv +}; break; +case 5170: { // glLightiv GLenum *light = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; int *paramsLen = (int *) bp; bp += 4; GLint *params = (GLint *) bp; bp += *paramsLen*4+((*paramsLen)+1)%2*4; weglLightiv(*light,*pname,params); -}; break; -case 5171: { // glLineStipple +}; break; +case 5171: { // glLineStipple GLint *factor = (GLint *) bp; bp += 4; GLushort *pattern = (GLushort *) bp; bp += 2; weglLineStipple(*factor,*pattern); -}; break; -case 5172: { // glLineWidth +}; break; +case 5172: { // glLineWidth GLfloat *width = (GLfloat *) bp; bp += 4; weglLineWidth(*width); -}; break; -case 5173: { // glListBase +}; break; +case 5173: { // glListBase GLuint *base = (GLuint *) bp; bp += 4; weglListBase(*base); -}; break; -case 5174: { // glLoadIdentity +}; break; +case 5174: { // glLoadIdentity weglLoadIdentity(); -}; break; -case 5175: { // glLoadMatrixd +}; break; +case 5175: { // glLoadMatrixd GLdouble * m = (GLdouble *) bp; bp += 128; weglLoadMatrixd(m); -}; break; -case 5176: { // glLoadMatrixf +}; break; +case 5176: { // glLoadMatrixf GLfloat * m = (GLfloat *) bp; bp += 64; weglLoadMatrixf(m); -}; break; -case 5177: { // glLoadName +}; break; +case 5177: { // glLoadName GLuint *name = (GLuint *) bp; bp += 4; weglLoadName(*name); -}; break; -case 5178: { // glLogicOp +}; break; +case 5178: { // glLogicOp GLenum *opcode = (GLenum *) bp; bp += 4; weglLogicOp(*opcode); -}; break; -case 5179: { // glMap1d +}; break; +case 5179: { // glMap1d GLenum *target = (GLenum *) bp; bp += 4; bp += 4; GLdouble *u1 = (GLdouble *) bp; bp += 8; GLdouble *u2 = (GLdouble *) bp; bp += 8; GLint *stride = (GLint *) bp; bp += 4; GLint *order = (GLint *) bp; bp += 4; - GLdouble *points = (GLdouble *) bins[0]->base; + GLdouble *points = (GLdouble *) bins[0]; weglMap1d(*target,*u1,*u2,*stride,*order,points); -}; break; -case 5180: { // glMap1f +}; break; +case 5180: { // glMap1f GLenum *target = (GLenum *) bp; bp += 4; GLfloat *u1 = (GLfloat *) bp; bp += 4; GLfloat *u2 = (GLfloat *) bp; bp += 4; GLint *stride = (GLint *) bp; bp += 4; GLint *order = (GLint *) bp; bp += 4; - GLfloat *points = (GLfloat *) bins[0]->base; + GLfloat *points = (GLfloat *) bins[0]; weglMap1f(*target,*u1,*u2,*stride,*order,points); -}; break; -case 5181: { // glMap2d +}; break; +case 5181: { // glMap2d GLenum *target = (GLenum *) bp; bp += 4; bp += 4; GLdouble *u1 = (GLdouble *) bp; bp += 8; @@ -1509,10 +1446,10 @@ case 5181: { // glMap2d GLdouble *v2 = (GLdouble *) bp; bp += 8; GLint *vstride = (GLint *) bp; bp += 4; GLint *vorder = (GLint *) bp; bp += 4; - GLdouble *points = (GLdouble *) bins[0]->base; + GLdouble *points = (GLdouble *) bins[0]; weglMap2d(*target,*u1,*u2,*ustride,*uorder,*v1,*v2,*vstride,*vorder,points); -}; break; -case 5182: { // glMap2f +}; break; +case 5182: { // glMap2f GLenum *target = (GLenum *) bp; bp += 4; GLfloat *u1 = (GLfloat *) bp; bp += 4; GLfloat *u2 = (GLfloat *) bp; bp += 4; @@ -1522,23 +1459,23 @@ case 5182: { // glMap2f GLfloat *v2 = (GLfloat *) bp; bp += 4; GLint *vstride = (GLint *) bp; bp += 4; GLint *vorder = (GLint *) bp; bp += 4; - GLfloat *points = (GLfloat *) bins[0]->base; + GLfloat *points = (GLfloat *) bins[0]; weglMap2f(*target,*u1,*u2,*ustride,*uorder,*v1,*v2,*vstride,*vorder,points); -}; break; -case 5183: { // glMapGrid1d +}; break; +case 5183: { // glMapGrid1d GLint *un = (GLint *) bp; bp += 4; bp += 4; GLdouble *u1 = (GLdouble *) bp; bp += 8; GLdouble *u2 = (GLdouble *) bp; bp += 8; weglMapGrid1d(*un,*u1,*u2); -}; break; -case 5184: { // glMapGrid1f +}; break; +case 5184: { // glMapGrid1f GLint *un = (GLint *) bp; bp += 4; GLfloat *u1 = (GLfloat *) bp; bp += 4; GLfloat *u2 = (GLfloat *) bp; bp += 4; weglMapGrid1f(*un,*u1,*u2); -}; break; -case 5185: { // glMapGrid2d +}; break; +case 5185: { // glMapGrid2d GLint *un = (GLint *) bp; bp += 4; bp += 4; GLdouble *u1 = (GLdouble *) bp; bp += 8; @@ -1548,8 +1485,8 @@ case 5185: { // glMapGrid2d GLdouble *v1 = (GLdouble *) bp; bp += 8; GLdouble *v2 = (GLdouble *) bp; bp += 8; weglMapGrid2d(*un,*u1,*u2,*vn,*v1,*v2); -}; break; -case 5186: { // glMapGrid2f +}; break; +case 5186: { // glMapGrid2f GLint *un = (GLint *) bp; bp += 4; GLfloat *u1 = (GLfloat *) bp; bp += 4; GLfloat *u2 = (GLfloat *) bp; bp += 4; @@ -1557,83 +1494,83 @@ case 5186: { // glMapGrid2f GLfloat *v1 = (GLfloat *) bp; bp += 4; GLfloat *v2 = (GLfloat *) bp; bp += 4; weglMapGrid2f(*un,*u1,*u2,*vn,*v1,*v2); -}; break; -case 5187: { // glMaterialf +}; break; +case 5187: { // glMaterialf GLenum *face = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; GLfloat *param = (GLfloat *) bp; bp += 4; weglMaterialf(*face,*pname,*param); -}; break; -case 5188: { // glMaterialfv +}; break; +case 5188: { // glMaterialfv GLenum *face = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; int *paramsLen = (int *) bp; bp += 4; GLfloat *params = (GLfloat *) bp; bp += *paramsLen*4+((*paramsLen)+1)%2*4; weglMaterialfv(*face,*pname,params); -}; break; -case 5189: { // glMateriali +}; break; +case 5189: { // glMateriali GLenum *face = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; GLint *param = (GLint *) bp; bp += 4; weglMateriali(*face,*pname,*param); -}; break; -case 5190: { // glMaterialiv +}; break; +case 5190: { // glMaterialiv GLenum *face = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; int *paramsLen = (int *) bp; bp += 4; GLint *params = (GLint *) bp; bp += *paramsLen*4+((*paramsLen)+1)%2*4; weglMaterialiv(*face,*pname,params); -}; break; -case 5191: { // glMatrixMode +}; break; +case 5191: { // glMatrixMode GLenum *mode = (GLenum *) bp; bp += 4; weglMatrixMode(*mode); -}; break; -case 5192: { // glMultMatrixd +}; break; +case 5192: { // glMultMatrixd GLdouble * m = (GLdouble *) bp; bp += 128; weglMultMatrixd(m); -}; break; -case 5193: { // glMultMatrixf +}; break; +case 5193: { // glMultMatrixf GLfloat * m = (GLfloat *) bp; bp += 64; weglMultMatrixf(m); -}; break; -case 5194: { // glNewList +}; break; +case 5194: { // glNewList GLuint *list = (GLuint *) bp; bp += 4; GLenum *mode = (GLenum *) bp; bp += 4; weglNewList(*list,*mode); -}; break; -case 5195: { // glNormal3bv +}; break; +case 5195: { // glNormal3bv GLbyte *v = (GLbyte *) bp; bp += 1; weglNormal3bv(v); -}; break; -case 5196: { // glNormal3dv +}; break; +case 5196: { // glNormal3dv GLdouble *v = (GLdouble *) bp; bp += 8; weglNormal3dv(v); -}; break; -case 5197: { // glNormal3fv +}; break; +case 5197: { // glNormal3fv GLfloat *v = (GLfloat *) bp; bp += 4; weglNormal3fv(v); -}; break; -case 5198: { // glNormal3iv +}; break; +case 5198: { // glNormal3iv GLint *v = (GLint *) bp; bp += 4; weglNormal3iv(v); -}; break; -case 5199: { // glNormal3sv +}; break; +case 5199: { // glNormal3sv GLshort *v = (GLshort *) bp; bp += 2; weglNormal3sv(v); -}; break; -case 5200: { // glNormalPointer +}; break; +case 5200: { // glNormalPointer GLenum *type = (GLenum *) bp; bp += 4; GLsizei *stride = (GLsizei *) bp; bp += 4; GLvoid *pointer = (GLvoid *) * (int *) bp; bp += 4; weglNormalPointer(*type,*stride,pointer); -}; break; -case 5201: { // glNormalPointer +}; break; +case 5201: { // glNormalPointer GLenum *type = (GLenum *) bp; bp += 4; GLsizei *stride = (GLsizei *) bp; bp += 4; - GLvoid *pointer = (GLvoid *) bins[0]->base; + GLvoid *pointer = (GLvoid *) bins[0]; weglNormalPointer(*type,*stride,pointer); -}; break; -case 5202: { // glOrtho +}; break; +case 5202: { // glOrtho GLdouble *left = (GLdouble *) bp; bp += 8; GLdouble *right = (GLdouble *) bp; bp += 8; GLdouble *bottom = (GLdouble *) bp; bp += 8; @@ -1641,438 +1578,437 @@ case 5202: { // glOrtho GLdouble *zNear = (GLdouble *) bp; bp += 8; GLdouble *zFar = (GLdouble *) bp; bp += 8; weglOrtho(*left,*right,*bottom,*top,*zNear,*zFar); -}; break; -case 5203: { // glPassThrough +}; break; +case 5203: { // glPassThrough GLfloat *token = (GLfloat *) bp; bp += 4; weglPassThrough(*token); -}; break; -case 5204: { // glPixelMapfv +}; break; +case 5204: { // glPixelMapfv GLenum *map = (GLenum *) bp; bp += 4; GLsizei *mapsize = (GLsizei *) bp; bp += 4; - GLfloat *values = (GLfloat *) bins[0]->base; + GLfloat *values = (GLfloat *) bins[0]; weglPixelMapfv(*map,*mapsize,values); -}; break; -case 5205: { // glPixelMapuiv +}; break; +case 5205: { // glPixelMapuiv GLenum *map = (GLenum *) bp; bp += 4; GLsizei *mapsize = (GLsizei *) bp; bp += 4; - GLuint *values = (GLuint *) bins[0]->base; + GLuint *values = (GLuint *) bins[0]; weglPixelMapuiv(*map,*mapsize,values); -}; break; -case 5206: { // glPixelMapusv +}; break; +case 5206: { // glPixelMapusv GLenum *map = (GLenum *) bp; bp += 4; GLsizei *mapsize = (GLsizei *) bp; bp += 4; - GLushort *values = (GLushort *) bins[0]->base; + GLushort *values = (GLushort *) bins[0]; weglPixelMapusv(*map,*mapsize,values); -}; break; -case 5207: { // glPixelStoref +}; break; +case 5207: { // glPixelStoref GLenum *pname = (GLenum *) bp; bp += 4; GLfloat *param = (GLfloat *) bp; bp += 4; weglPixelStoref(*pname,*param); -}; break; -case 5208: { // glPixelStorei +}; break; +case 5208: { // glPixelStorei GLenum *pname = (GLenum *) bp; bp += 4; GLint *param = (GLint *) bp; bp += 4; weglPixelStorei(*pname,*param); -}; break; -case 5209: { // glPixelTransferf +}; break; +case 5209: { // glPixelTransferf GLenum *pname = (GLenum *) bp; bp += 4; GLfloat *param = (GLfloat *) bp; bp += 4; weglPixelTransferf(*pname,*param); -}; break; -case 5210: { // glPixelTransferi +}; break; +case 5210: { // glPixelTransferi GLenum *pname = (GLenum *) bp; bp += 4; GLint *param = (GLint *) bp; bp += 4; weglPixelTransferi(*pname,*param); -}; break; -case 5211: { // glPixelZoom +}; break; +case 5211: { // glPixelZoom GLfloat *xfactor = (GLfloat *) bp; bp += 4; GLfloat *yfactor = (GLfloat *) bp; bp += 4; weglPixelZoom(*xfactor,*yfactor); -}; break; -case 5212: { // glPointSize +}; break; +case 5212: { // glPointSize GLfloat *size = (GLfloat *) bp; bp += 4; weglPointSize(*size); -}; break; -case 5213: { // glPolygonMode +}; break; +case 5213: { // glPolygonMode GLenum *face = (GLenum *) bp; bp += 4; GLenum *mode = (GLenum *) bp; bp += 4; weglPolygonMode(*face,*mode); -}; break; -case 5214: { // glPolygonOffset +}; break; +case 5214: { // glPolygonOffset GLfloat *factor = (GLfloat *) bp; bp += 4; GLfloat *units = (GLfloat *) bp; bp += 4; weglPolygonOffset(*factor,*units); -}; break; -case 5215: { // glPolygonStipple - GLubyte *mask = (GLubyte *) bins[0]->base; +}; break; +case 5215: { // glPolygonStipple + GLubyte *mask = (GLubyte *) bins[0]; weglPolygonStipple(mask); -}; break; -case 5216: { // glPopAttrib +}; break; +case 5216: { // glPopAttrib weglPopAttrib(); -}; break; -case 5217: { // glPopClientAttrib +}; break; +case 5217: { // glPopClientAttrib weglPopClientAttrib(); -}; break; -case 5218: { // glPopMatrix +}; break; +case 5218: { // glPopMatrix weglPopMatrix(); -}; break; -case 5219: { // glPopName +}; break; +case 5219: { // glPopName weglPopName(); -}; break; -case 5220: { // glPrioritizeTextures +}; break; +case 5220: { // glPrioritizeTextures int * texturesLen = (int *) bp; bp += 4; GLuint * textures = (GLuint *) bp; bp += (8-((*texturesLen*4+4)%8))%8; int * prioritiesLen = (int *) bp; bp += 4; GLclampf * priorities = (GLclampf *) bp; bp += (8-((*prioritiesLen*4+4)%8))%8; weglPrioritizeTextures(*texturesLen,textures,priorities); -}; break; -case 5221: { // glPushAttrib +}; break; +case 5221: { // glPushAttrib GLbitfield *mask = (GLbitfield *) bp; bp += 4; weglPushAttrib(*mask); -}; break; -case 5222: { // glPushClientAttrib +}; break; +case 5222: { // glPushClientAttrib GLbitfield *mask = (GLbitfield *) bp; bp += 4; weglPushClientAttrib(*mask); -}; break; -case 5223: { // glPushMatrix +}; break; +case 5223: { // glPushMatrix weglPushMatrix(); -}; break; -case 5224: { // glPushName +}; break; +case 5224: { // glPushName GLuint *name = (GLuint *) bp; bp += 4; weglPushName(*name); -}; break; -case 5225: { // glRasterPos2dv +}; break; +case 5225: { // glRasterPos2dv GLdouble *v = (GLdouble *) bp; bp += 8; weglRasterPos2dv(v); -}; break; -case 5226: { // glRasterPos2fv +}; break; +case 5226: { // glRasterPos2fv GLfloat *v = (GLfloat *) bp; bp += 4; weglRasterPos2fv(v); -}; break; -case 5227: { // glRasterPos2iv +}; break; +case 5227: { // glRasterPos2iv GLint *v = (GLint *) bp; bp += 4; weglRasterPos2iv(v); -}; break; -case 5228: { // glRasterPos2sv +}; break; +case 5228: { // glRasterPos2sv GLshort *v = (GLshort *) bp; bp += 2; weglRasterPos2sv(v); -}; break; -case 5229: { // glRasterPos3dv +}; break; +case 5229: { // glRasterPos3dv GLdouble *v = (GLdouble *) bp; bp += 8; weglRasterPos3dv(v); -}; break; -case 5230: { // glRasterPos3fv +}; break; +case 5230: { // glRasterPos3fv GLfloat *v = (GLfloat *) bp; bp += 4; weglRasterPos3fv(v); -}; break; -case 5231: { // glRasterPos3iv +}; break; +case 5231: { // glRasterPos3iv GLint *v = (GLint *) bp; bp += 4; weglRasterPos3iv(v); -}; break; -case 5232: { // glRasterPos3sv +}; break; +case 5232: { // glRasterPos3sv GLshort *v = (GLshort *) bp; bp += 2; weglRasterPos3sv(v); -}; break; -case 5233: { // glRasterPos4dv +}; break; +case 5233: { // glRasterPos4dv GLdouble *v = (GLdouble *) bp; bp += 8; weglRasterPos4dv(v); -}; break; -case 5234: { // glRasterPos4fv +}; break; +case 5234: { // glRasterPos4fv GLfloat *v = (GLfloat *) bp; bp += 4; weglRasterPos4fv(v); -}; break; -case 5235: { // glRasterPos4iv +}; break; +case 5235: { // glRasterPos4iv GLint *v = (GLint *) bp; bp += 4; weglRasterPos4iv(v); -}; break; -case 5236: { // glRasterPos4sv +}; break; +case 5236: { // glRasterPos4sv GLshort *v = (GLshort *) bp; bp += 2; weglRasterPos4sv(v); -}; break; -case 5237: { // glReadBuffer +}; break; +case 5237: { // glReadBuffer GLenum *mode = (GLenum *) bp; bp += 4; weglReadBuffer(*mode); -}; break; -case 5238: { // glReadPixels +}; break; +case 5238: { // glReadPixels GLint *x = (GLint *) bp; bp += 4; GLint *y = (GLint *) bp; bp += 4; GLsizei *width = (GLsizei *) bp; bp += 4; GLsizei *height = (GLsizei *) bp; bp += 4; GLenum *format = (GLenum *) bp; bp += 4; GLenum *type = (GLenum *) bp; bp += 4; - GLvoid *pixels = (GLvoid *) bins[0]->base; + GLvoid *pixels = (GLvoid *) bins[0]; weglReadPixels(*x,*y,*width,*height,*format,*type,pixels); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "ok"); rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5239: { // glRectd + driver_send_term(port,caller,rt,AP); +}; break; +case 5239: { // glRectd GLdouble *x1 = (GLdouble *) bp; bp += 8; GLdouble *y1 = (GLdouble *) bp; bp += 8; GLdouble *x2 = (GLdouble *) bp; bp += 8; GLdouble *y2 = (GLdouble *) bp; bp += 8; weglRectd(*x1,*y1,*x2,*y2); -}; break; -case 5240: { // glRectdv +}; break; +case 5240: { // glRectdv GLdouble * v1 = (GLdouble *) bp; bp += 16; GLdouble * v2 = (GLdouble *) bp; bp += 16; weglRectdv(v1,v2); -}; break; -case 5241: { // glRectf +}; break; +case 5241: { // glRectf GLfloat *x1 = (GLfloat *) bp; bp += 4; GLfloat *y1 = (GLfloat *) bp; bp += 4; GLfloat *x2 = (GLfloat *) bp; bp += 4; GLfloat *y2 = (GLfloat *) bp; bp += 4; weglRectf(*x1,*y1,*x2,*y2); -}; break; -case 5242: { // glRectfv +}; break; +case 5242: { // glRectfv GLfloat * v1 = (GLfloat *) bp; bp += 8; GLfloat * v2 = (GLfloat *) bp; bp += 8; weglRectfv(v1,v2); -}; break; -case 5243: { // glRecti +}; break; +case 5243: { // glRecti GLint *x1 = (GLint *) bp; bp += 4; GLint *y1 = (GLint *) bp; bp += 4; GLint *x2 = (GLint *) bp; bp += 4; GLint *y2 = (GLint *) bp; bp += 4; weglRecti(*x1,*y1,*x2,*y2); -}; break; -case 5244: { // glRectiv +}; break; +case 5244: { // glRectiv GLint * v1 = (GLint *) bp; bp += 8; GLint * v2 = (GLint *) bp; bp += 8; weglRectiv(v1,v2); -}; break; -case 5245: { // glRects +}; break; +case 5245: { // glRects GLshort *x1 = (GLshort *) bp; bp += 2; GLshort *y1 = (GLshort *) bp; bp += 2; GLshort *x2 = (GLshort *) bp; bp += 2; GLshort *y2 = (GLshort *) bp; bp += 2; weglRects(*x1,*y1,*x2,*y2); -}; break; -case 5246: { // glRectsv +}; break; +case 5246: { // glRectsv GLshort * v1 = (GLshort *) bp; bp += 4; GLshort * v2 = (GLshort *) bp; bp += 4; weglRectsv(v1,v2); -}; break; -case 5247: { // glRenderMode +}; break; +case 5247: { // glRenderMode GLenum *mode = (GLenum *) bp; bp += 4; GLint result = weglRenderMode(*mode); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5248: { // glRotated + driver_send_term(port,caller,rt,AP); +}; break; +case 5248: { // glRotated GLdouble *angle = (GLdouble *) bp; bp += 8; GLdouble *x = (GLdouble *) bp; bp += 8; GLdouble *y = (GLdouble *) bp; bp += 8; GLdouble *z = (GLdouble *) bp; bp += 8; weglRotated(*angle,*x,*y,*z); -}; break; -case 5249: { // glRotatef +}; break; +case 5249: { // glRotatef GLfloat *angle = (GLfloat *) bp; bp += 4; GLfloat *x = (GLfloat *) bp; bp += 4; GLfloat *y = (GLfloat *) bp; bp += 4; GLfloat *z = (GLfloat *) bp; bp += 4; weglRotatef(*angle,*x,*y,*z); -}; break; -case 5250: { // glScaled +}; break; +case 5250: { // glScaled GLdouble *x = (GLdouble *) bp; bp += 8; GLdouble *y = (GLdouble *) bp; bp += 8; GLdouble *z = (GLdouble *) bp; bp += 8; weglScaled(*x,*y,*z); -}; break; -case 5251: { // glScalef +}; break; +case 5251: { // glScalef GLfloat *x = (GLfloat *) bp; bp += 4; GLfloat *y = (GLfloat *) bp; bp += 4; GLfloat *z = (GLfloat *) bp; bp += 4; weglScalef(*x,*y,*z); -}; break; -case 5252: { // glScissor +}; break; +case 5252: { // glScissor GLint *x = (GLint *) bp; bp += 4; GLint *y = (GLint *) bp; bp += 4; GLsizei *width = (GLsizei *) bp; bp += 4; GLsizei *height = (GLsizei *) bp; bp += 4; weglScissor(*x,*y,*width,*height); -}; break; -case 5253: { // glSelectBuffer +}; break; +case 5253: { // glSelectBuffer GLsizei *size = (GLsizei *) bp; bp += 4; - GLuint *buffer = (GLuint *) bins[0]->base; + GLuint *buffer = (GLuint *) bins[0]; weglSelectBuffer(*size,buffer); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "ok"); rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5254: { // glShadeModel + driver_send_term(port,caller,rt,AP); +}; break; +case 5254: { // glShadeModel GLenum *mode = (GLenum *) bp; bp += 4; weglShadeModel(*mode); -}; break; -case 5255: { // glStencilFunc +}; break; +case 5255: { // glStencilFunc GLenum *func = (GLenum *) bp; bp += 4; GLint *ref = (GLint *) bp; bp += 4; GLuint *mask = (GLuint *) bp; bp += 4; weglStencilFunc(*func,*ref,*mask); -}; break; -case 5256: { // glStencilMask +}; break; +case 5256: { // glStencilMask GLuint *mask = (GLuint *) bp; bp += 4; weglStencilMask(*mask); -}; break; -case 5257: { // glStencilOp +}; break; +case 5257: { // glStencilOp GLenum *fail = (GLenum *) bp; bp += 4; GLenum *zfail = (GLenum *) bp; bp += 4; GLenum *zpass = (GLenum *) bp; bp += 4; weglStencilOp(*fail,*zfail,*zpass); -}; break; -case 5258: { // glTexCoord1dv +}; break; +case 5258: { // glTexCoord1dv GLdouble *v = (GLdouble *) bp; bp += 8; weglTexCoord1dv(v); -}; break; -case 5259: { // glTexCoord1fv +}; break; +case 5259: { // glTexCoord1fv GLfloat *v = (GLfloat *) bp; bp += 4; weglTexCoord1fv(v); -}; break; -case 5260: { // glTexCoord1iv +}; break; +case 5260: { // glTexCoord1iv GLint *v = (GLint *) bp; bp += 4; weglTexCoord1iv(v); -}; break; -case 5261: { // glTexCoord1sv +}; break; +case 5261: { // glTexCoord1sv GLshort *v = (GLshort *) bp; bp += 2; weglTexCoord1sv(v); -}; break; -case 5262: { // glTexCoord2dv +}; break; +case 5262: { // glTexCoord2dv GLdouble *v = (GLdouble *) bp; bp += 8; weglTexCoord2dv(v); -}; break; -case 5263: { // glTexCoord2fv +}; break; +case 5263: { // glTexCoord2fv GLfloat *v = (GLfloat *) bp; bp += 4; weglTexCoord2fv(v); -}; break; -case 5264: { // glTexCoord2iv +}; break; +case 5264: { // glTexCoord2iv GLint *v = (GLint *) bp; bp += 4; weglTexCoord2iv(v); -}; break; -case 5265: { // glTexCoord2sv +}; break; +case 5265: { // glTexCoord2sv GLshort *v = (GLshort *) bp; bp += 2; weglTexCoord2sv(v); -}; break; -case 5266: { // glTexCoord3dv +}; break; +case 5266: { // glTexCoord3dv GLdouble *v = (GLdouble *) bp; bp += 8; weglTexCoord3dv(v); -}; break; -case 5267: { // glTexCoord3fv +}; break; +case 5267: { // glTexCoord3fv GLfloat *v = (GLfloat *) bp; bp += 4; weglTexCoord3fv(v); -}; break; -case 5268: { // glTexCoord3iv +}; break; +case 5268: { // glTexCoord3iv GLint *v = (GLint *) bp; bp += 4; weglTexCoord3iv(v); -}; break; -case 5269: { // glTexCoord3sv +}; break; +case 5269: { // glTexCoord3sv GLshort *v = (GLshort *) bp; bp += 2; weglTexCoord3sv(v); -}; break; -case 5270: { // glTexCoord4dv +}; break; +case 5270: { // glTexCoord4dv GLdouble *v = (GLdouble *) bp; bp += 8; weglTexCoord4dv(v); -}; break; -case 5271: { // glTexCoord4fv +}; break; +case 5271: { // glTexCoord4fv GLfloat *v = (GLfloat *) bp; bp += 4; weglTexCoord4fv(v); -}; break; -case 5272: { // glTexCoord4iv +}; break; +case 5272: { // glTexCoord4iv GLint *v = (GLint *) bp; bp += 4; weglTexCoord4iv(v); -}; break; -case 5273: { // glTexCoord4sv +}; break; +case 5273: { // glTexCoord4sv GLshort *v = (GLshort *) bp; bp += 2; weglTexCoord4sv(v); -}; break; -case 5274: { // glTexCoordPointer +}; break; +case 5274: { // glTexCoordPointer GLint *size = (GLint *) bp; bp += 4; GLenum *type = (GLenum *) bp; bp += 4; GLsizei *stride = (GLsizei *) bp; bp += 4; GLvoid *pointer = (GLvoid *) * (int *) bp; bp += 4; weglTexCoordPointer(*size,*type,*stride,pointer); -}; break; -case 5275: { // glTexCoordPointer +}; break; +case 5275: { // glTexCoordPointer GLint *size = (GLint *) bp; bp += 4; GLenum *type = (GLenum *) bp; bp += 4; GLsizei *stride = (GLsizei *) bp; bp += 4; - GLvoid *pointer = (GLvoid *) bins[0]->base; + GLvoid *pointer = (GLvoid *) bins[0]; weglTexCoordPointer(*size,*type,*stride,pointer); -}; break; -case 5276: { // glTexEnvf +}; break; +case 5276: { // glTexEnvf GLenum *target = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; GLfloat *param = (GLfloat *) bp; bp += 4; weglTexEnvf(*target,*pname,*param); -}; break; -case 5277: { // glTexEnvfv +}; break; +case 5277: { // glTexEnvfv GLenum *target = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; int *paramsLen = (int *) bp; bp += 4; GLfloat *params = (GLfloat *) bp; bp += *paramsLen*4+((*paramsLen)+1)%2*4; weglTexEnvfv(*target,*pname,params); -}; break; -case 5278: { // glTexEnvi +}; break; +case 5278: { // glTexEnvi GLenum *target = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; GLint *param = (GLint *) bp; bp += 4; weglTexEnvi(*target,*pname,*param); -}; break; -case 5279: { // glTexEnviv +}; break; +case 5279: { // glTexEnviv GLenum *target = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; int *paramsLen = (int *) bp; bp += 4; GLint *params = (GLint *) bp; bp += *paramsLen*4+((*paramsLen)+1)%2*4; weglTexEnviv(*target,*pname,params); -}; break; -case 5280: { // glTexGend +}; break; +case 5280: { // glTexGend GLenum *coord = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; GLdouble *param = (GLdouble *) bp; bp += 8; weglTexGend(*coord,*pname,*param); -}; break; -case 5281: { // glTexGendv +}; break; +case 5281: { // glTexGendv GLenum *coord = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; int *paramsLen = (int *) bp; bp += 8; GLdouble *params = (GLdouble *) bp; bp += *paramsLen*8; weglTexGendv(*coord,*pname,params); -}; break; -case 5282: { // glTexGenf +}; break; +case 5282: { // glTexGenf GLenum *coord = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; GLfloat *param = (GLfloat *) bp; bp += 4; weglTexGenf(*coord,*pname,*param); -}; break; -case 5283: { // glTexGenfv +}; break; +case 5283: { // glTexGenfv GLenum *coord = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; int *paramsLen = (int *) bp; bp += 4; GLfloat *params = (GLfloat *) bp; bp += *paramsLen*4+((*paramsLen)+1)%2*4; weglTexGenfv(*coord,*pname,params); -}; break; -case 5284: { // glTexGeni +}; break; +case 5284: { // glTexGeni GLenum *coord = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; GLint *param = (GLint *) bp; bp += 4; weglTexGeni(*coord,*pname,*param); -}; break; -case 5285: { // glTexGeniv +}; break; +case 5285: { // glTexGeniv GLenum *coord = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; int *paramsLen = (int *) bp; bp += 4; GLint *params = (GLint *) bp; bp += *paramsLen*4+((*paramsLen)+1)%2*4; weglTexGeniv(*coord,*pname,params); -}; break; -case 5286: { // glTexImage1D +}; break; +case 5286: { // glTexImage1D GLenum *target = (GLenum *) bp; bp += 4; GLint *level = (GLint *) bp; bp += 4; GLint *internalformat = (GLint *) bp; bp += 4; @@ -2082,8 +2018,8 @@ case 5286: { // glTexImage1D GLenum *type = (GLenum *) bp; bp += 4; GLvoid *pixels = (GLvoid *) * (int *) bp; bp += 4; weglTexImage1D(*target,*level,*internalformat,*width,*border,*format,*type,pixels); -}; break; -case 5287: { // glTexImage1D +}; break; +case 5287: { // glTexImage1D GLenum *target = (GLenum *) bp; bp += 4; GLint *level = (GLint *) bp; bp += 4; GLint *internalformat = (GLint *) bp; bp += 4; @@ -2091,10 +2027,10 @@ case 5287: { // glTexImage1D GLint *border = (GLint *) bp; bp += 4; GLenum *format = (GLenum *) bp; bp += 4; GLenum *type = (GLenum *) bp; bp += 4; - GLvoid *pixels = (GLvoid *) bins[0]->base; + GLvoid *pixels = (GLvoid *) bins[0]; weglTexImage1D(*target,*level,*internalformat,*width,*border,*format,*type,pixels); -}; break; -case 5288: { // glTexImage2D +}; break; +case 5288: { // glTexImage2D GLenum *target = (GLenum *) bp; bp += 4; GLint *level = (GLint *) bp; bp += 4; GLint *internalformat = (GLint *) bp; bp += 4; @@ -2105,8 +2041,8 @@ case 5288: { // glTexImage2D GLenum *type = (GLenum *) bp; bp += 4; GLvoid *pixels = (GLvoid *) * (int *) bp; bp += 4; weglTexImage2D(*target,*level,*internalformat,*width,*height,*border,*format,*type,pixels); -}; break; -case 5289: { // glTexImage2D +}; break; +case 5289: { // glTexImage2D GLenum *target = (GLenum *) bp; bp += 4; GLint *level = (GLint *) bp; bp += 4; GLint *internalformat = (GLint *) bp; bp += 4; @@ -2115,36 +2051,36 @@ case 5289: { // glTexImage2D GLint *border = (GLint *) bp; bp += 4; GLenum *format = (GLenum *) bp; bp += 4; GLenum *type = (GLenum *) bp; bp += 4; - GLvoid *pixels = (GLvoid *) bins[0]->base; + GLvoid *pixels = (GLvoid *) bins[0]; weglTexImage2D(*target,*level,*internalformat,*width,*height,*border,*format,*type,pixels); -}; break; -case 5290: { // glTexParameterf +}; break; +case 5290: { // glTexParameterf GLenum *target = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; GLfloat *param = (GLfloat *) bp; bp += 4; weglTexParameterf(*target,*pname,*param); -}; break; -case 5291: { // glTexParameterfv +}; break; +case 5291: { // glTexParameterfv GLenum *target = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; int *paramsLen = (int *) bp; bp += 4; GLfloat *params = (GLfloat *) bp; bp += *paramsLen*4+((*paramsLen)+1)%2*4; weglTexParameterfv(*target,*pname,params); -}; break; -case 5292: { // glTexParameteri +}; break; +case 5292: { // glTexParameteri GLenum *target = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; GLint *param = (GLint *) bp; bp += 4; weglTexParameteri(*target,*pname,*param); -}; break; -case 5293: { // glTexParameteriv +}; break; +case 5293: { // glTexParameteriv GLenum *target = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; int *paramsLen = (int *) bp; bp += 4; GLint *params = (GLint *) bp; bp += *paramsLen*4+((*paramsLen)+1)%2*4; weglTexParameteriv(*target,*pname,params); -}; break; -case 5294: { // glTexSubImage1D +}; break; +case 5294: { // glTexSubImage1D GLenum *target = (GLenum *) bp; bp += 4; GLint *level = (GLint *) bp; bp += 4; GLint *xoffset = (GLint *) bp; bp += 4; @@ -2153,18 +2089,18 @@ case 5294: { // glTexSubImage1D GLenum *type = (GLenum *) bp; bp += 4; GLvoid *pixels = (GLvoid *) * (int *) bp; bp += 4; weglTexSubImage1D(*target,*level,*xoffset,*width,*format,*type,pixels); -}; break; -case 5295: { // glTexSubImage1D +}; break; +case 5295: { // glTexSubImage1D GLenum *target = (GLenum *) bp; bp += 4; GLint *level = (GLint *) bp; bp += 4; GLint *xoffset = (GLint *) bp; bp += 4; GLsizei *width = (GLsizei *) bp; bp += 4; GLenum *format = (GLenum *) bp; bp += 4; GLenum *type = (GLenum *) bp; bp += 4; - GLvoid *pixels = (GLvoid *) bins[0]->base; + GLvoid *pixels = (GLvoid *) bins[0]; weglTexSubImage1D(*target,*level,*xoffset,*width,*format,*type,pixels); -}; break; -case 5296: { // glTexSubImage2D +}; break; +case 5296: { // glTexSubImage2D GLenum *target = (GLenum *) bp; bp += 4; GLint *level = (GLint *) bp; bp += 4; GLint *xoffset = (GLint *) bp; bp += 4; @@ -2175,8 +2111,8 @@ case 5296: { // glTexSubImage2D GLenum *type = (GLenum *) bp; bp += 4; GLvoid *pixels = (GLvoid *) * (int *) bp; bp += 4; weglTexSubImage2D(*target,*level,*xoffset,*yoffset,*width,*height,*format,*type,pixels); -}; break; -case 5297: { // glTexSubImage2D +}; break; +case 5297: { // glTexSubImage2D GLenum *target = (GLenum *) bp; bp += 4; GLint *level = (GLint *) bp; bp += 4; GLint *xoffset = (GLint *) bp; bp += 4; @@ -2185,102 +2121,102 @@ case 5297: { // glTexSubImage2D GLsizei *height = (GLsizei *) bp; bp += 4; GLenum *format = (GLenum *) bp; bp += 4; GLenum *type = (GLenum *) bp; bp += 4; - GLvoid *pixels = (GLvoid *) bins[0]->base; + GLvoid *pixels = (GLvoid *) bins[0]; weglTexSubImage2D(*target,*level,*xoffset,*yoffset,*width,*height,*format,*type,pixels); -}; break; -case 5298: { // glTranslated +}; break; +case 5298: { // glTranslated GLdouble *x = (GLdouble *) bp; bp += 8; GLdouble *y = (GLdouble *) bp; bp += 8; GLdouble *z = (GLdouble *) bp; bp += 8; weglTranslated(*x,*y,*z); -}; break; -case 5299: { // glTranslatef +}; break; +case 5299: { // glTranslatef GLfloat *x = (GLfloat *) bp; bp += 4; GLfloat *y = (GLfloat *) bp; bp += 4; GLfloat *z = (GLfloat *) bp; bp += 4; weglTranslatef(*x,*y,*z); -}; break; -case 5300: { // glVertex2dv +}; break; +case 5300: { // glVertex2dv GLdouble *v = (GLdouble *) bp; bp += 8; weglVertex2dv(v); -}; break; -case 5301: { // glVertex2fv +}; break; +case 5301: { // glVertex2fv GLfloat *v = (GLfloat *) bp; bp += 4; weglVertex2fv(v); -}; break; -case 5302: { // glVertex2iv +}; break; +case 5302: { // glVertex2iv GLint *v = (GLint *) bp; bp += 4; weglVertex2iv(v); -}; break; -case 5303: { // glVertex2sv +}; break; +case 5303: { // glVertex2sv GLshort *v = (GLshort *) bp; bp += 2; weglVertex2sv(v); -}; break; -case 5304: { // glVertex3dv +}; break; +case 5304: { // glVertex3dv GLdouble *v = (GLdouble *) bp; bp += 8; weglVertex3dv(v); -}; break; -case 5305: { // glVertex3fv +}; break; +case 5305: { // glVertex3fv GLfloat *v = (GLfloat *) bp; bp += 4; weglVertex3fv(v); -}; break; -case 5306: { // glVertex3iv +}; break; +case 5306: { // glVertex3iv GLint *v = (GLint *) bp; bp += 4; weglVertex3iv(v); -}; break; -case 5307: { // glVertex3sv +}; break; +case 5307: { // glVertex3sv GLshort *v = (GLshort *) bp; bp += 2; weglVertex3sv(v); -}; break; -case 5308: { // glVertex4dv +}; break; +case 5308: { // glVertex4dv GLdouble *v = (GLdouble *) bp; bp += 8; weglVertex4dv(v); -}; break; -case 5309: { // glVertex4fv +}; break; +case 5309: { // glVertex4fv GLfloat *v = (GLfloat *) bp; bp += 4; weglVertex4fv(v); -}; break; -case 5310: { // glVertex4iv +}; break; +case 5310: { // glVertex4iv GLint *v = (GLint *) bp; bp += 4; weglVertex4iv(v); -}; break; -case 5311: { // glVertex4sv +}; break; +case 5311: { // glVertex4sv GLshort *v = (GLshort *) bp; bp += 2; weglVertex4sv(v); -}; break; -case 5312: { // glVertexPointer +}; break; +case 5312: { // glVertexPointer GLint *size = (GLint *) bp; bp += 4; GLenum *type = (GLenum *) bp; bp += 4; GLsizei *stride = (GLsizei *) bp; bp += 4; GLvoid *pointer = (GLvoid *) * (int *) bp; bp += 4; weglVertexPointer(*size,*type,*stride,pointer); -}; break; -case 5313: { // glVertexPointer +}; break; +case 5313: { // glVertexPointer GLint *size = (GLint *) bp; bp += 4; GLenum *type = (GLenum *) bp; bp += 4; GLsizei *stride = (GLsizei *) bp; bp += 4; - GLvoid *pointer = (GLvoid *) bins[0]->base; + GLvoid *pointer = (GLvoid *) bins[0]; weglVertexPointer(*size,*type,*stride,pointer); -}; break; -case 5314: { // glViewport +}; break; +case 5314: { // glViewport GLint *x = (GLint *) bp; bp += 4; GLint *y = (GLint *) bp; bp += 4; GLsizei *width = (GLsizei *) bp; bp += 4; GLsizei *height = (GLsizei *) bp; bp += 4; weglViewport(*x,*y,*width,*height); -}; break; -case 5315: { // glBlendColor +}; break; +case 5315: { // glBlendColor GLclampf *red = (GLclampf *) bp; bp += 4; GLclampf *green = (GLclampf *) bp; bp += 4; GLclampf *blue = (GLclampf *) bp; bp += 4; GLclampf *alpha = (GLclampf *) bp; bp += 4; weglBlendColor(*red,*green,*blue,*alpha); -}; break; -case 5316: { // glBlendEquation +}; break; +case 5316: { // glBlendEquation GLenum *mode = (GLenum *) bp; bp += 4; weglBlendEquation(*mode); -}; break; -case 5317: { // glDrawRangeElements +}; break; +case 5317: { // glDrawRangeElements GLenum *mode = (GLenum *) bp; bp += 4; GLuint *start = (GLuint *) bp; bp += 4; GLuint *end = (GLuint *) bp; bp += 4; @@ -2288,17 +2224,17 @@ case 5317: { // glDrawRangeElements GLenum *type = (GLenum *) bp; bp += 4; GLvoid *indices = (GLvoid *) * (int *) bp; bp += 4; weglDrawRangeElements(*mode,*start,*end,*count,*type,indices); -}; break; -case 5318: { // glDrawRangeElements +}; break; +case 5318: { // glDrawRangeElements GLenum *mode = (GLenum *) bp; bp += 4; GLuint *start = (GLuint *) bp; bp += 4; GLuint *end = (GLuint *) bp; bp += 4; GLsizei *count = (GLsizei *) bp; bp += 4; GLenum *type = (GLenum *) bp; bp += 4; - GLvoid *indices = (GLvoid *) bins[0]->base; + GLvoid *indices = (GLvoid *) bins[0]; weglDrawRangeElements(*mode,*start,*end,*count,*type,indices); -}; break; -case 5319: { // glTexImage3D +}; break; +case 5319: { // glTexImage3D GLenum *target = (GLenum *) bp; bp += 4; GLint *level = (GLint *) bp; bp += 4; GLint *internalformat = (GLint *) bp; bp += 4; @@ -2310,8 +2246,8 @@ case 5319: { // glTexImage3D GLenum *type = (GLenum *) bp; bp += 4; GLvoid *pixels = (GLvoid *) * (int *) bp; bp += 4; weglTexImage3D(*target,*level,*internalformat,*width,*height,*depth,*border,*format,*type,pixels); -}; break; -case 5320: { // glTexImage3D +}; break; +case 5320: { // glTexImage3D GLenum *target = (GLenum *) bp; bp += 4; GLint *level = (GLint *) bp; bp += 4; GLint *internalformat = (GLint *) bp; bp += 4; @@ -2321,10 +2257,10 @@ case 5320: { // glTexImage3D GLint *border = (GLint *) bp; bp += 4; GLenum *format = (GLenum *) bp; bp += 4; GLenum *type = (GLenum *) bp; bp += 4; - GLvoid *pixels = (GLvoid *) bins[0]->base; + GLvoid *pixels = (GLvoid *) bins[0]; weglTexImage3D(*target,*level,*internalformat,*width,*height,*depth,*border,*format,*type,pixels); -}; break; -case 5321: { // glTexSubImage3D +}; break; +case 5321: { // glTexSubImage3D GLenum *target = (GLenum *) bp; bp += 4; GLint *level = (GLint *) bp; bp += 4; GLint *xoffset = (GLint *) bp; bp += 4; @@ -2337,8 +2273,8 @@ case 5321: { // glTexSubImage3D GLenum *type = (GLenum *) bp; bp += 4; GLvoid *pixels = (GLvoid *) * (int *) bp; bp += 4; weglTexSubImage3D(*target,*level,*xoffset,*yoffset,*zoffset,*width,*height,*depth,*format,*type,pixels); -}; break; -case 5322: { // glTexSubImage3D +}; break; +case 5322: { // glTexSubImage3D GLenum *target = (GLenum *) bp; bp += 4; GLint *level = (GLint *) bp; bp += 4; GLint *xoffset = (GLint *) bp; bp += 4; @@ -2349,10 +2285,10 @@ case 5322: { // glTexSubImage3D GLsizei *depth = (GLsizei *) bp; bp += 4; GLenum *format = (GLenum *) bp; bp += 4; GLenum *type = (GLenum *) bp; bp += 4; - GLvoid *pixels = (GLvoid *) bins[0]->base; + GLvoid *pixels = (GLvoid *) bins[0]; weglTexSubImage3D(*target,*level,*xoffset,*yoffset,*zoffset,*width,*height,*depth,*format,*type,pixels); -}; break; -case 5323: { // glCopyTexSubImage3D +}; break; +case 5323: { // glCopyTexSubImage3D GLenum *target = (GLenum *) bp; bp += 4; GLint *level = (GLint *) bp; bp += 4; GLint *xoffset = (GLint *) bp; bp += 4; @@ -2363,8 +2299,8 @@ case 5323: { // glCopyTexSubImage3D GLsizei *width = (GLsizei *) bp; bp += 4; GLsizei *height = (GLsizei *) bp; bp += 4; weglCopyTexSubImage3D(*target,*level,*xoffset,*yoffset,*zoffset,*x,*y,*width,*height); -}; break; -case 5324: { // glColorTable +}; break; +case 5324: { // glColorTable GLenum *target = (GLenum *) bp; bp += 4; GLenum *internalformat = (GLenum *) bp; bp += 4; GLsizei *width = (GLsizei *) bp; bp += 4; @@ -2372,55 +2308,55 @@ case 5324: { // glColorTable GLenum *type = (GLenum *) bp; bp += 4; GLvoid *table = (GLvoid *) * (int *) bp; bp += 4; weglColorTable(*target,*internalformat,*width,*format,*type,table); -}; break; -case 5325: { // glColorTable +}; break; +case 5325: { // glColorTable GLenum *target = (GLenum *) bp; bp += 4; GLenum *internalformat = (GLenum *) bp; bp += 4; GLsizei *width = (GLsizei *) bp; bp += 4; GLenum *format = (GLenum *) bp; bp += 4; GLenum *type = (GLenum *) bp; bp += 4; - GLvoid *table = (GLvoid *) bins[0]->base; + GLvoid *table = (GLvoid *) bins[0]; weglColorTable(*target,*internalformat,*width,*format,*type,table); -}; break; -case 5326: { // glColorTableParameterfv +}; break; +case 5326: { // glColorTableParameterfv GLenum *target = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; GLfloat * params = (GLfloat *) bp; bp += 16; weglColorTableParameterfv(*target,*pname,params); -}; break; -case 5327: { // glColorTableParameteriv +}; break; +case 5327: { // glColorTableParameteriv GLenum *target = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; GLint * params = (GLint *) bp; bp += 16; weglColorTableParameteriv(*target,*pname,params); -}; break; -case 5328: { // glCopyColorTable +}; break; +case 5328: { // glCopyColorTable GLenum *target = (GLenum *) bp; bp += 4; GLenum *internalformat = (GLenum *) bp; bp += 4; GLint *x = (GLint *) bp; bp += 4; GLint *y = (GLint *) bp; bp += 4; GLsizei *width = (GLsizei *) bp; bp += 4; weglCopyColorTable(*target,*internalformat,*x,*y,*width); -}; break; -case 5329: { // glGetColorTable +}; break; +case 5329: { // glGetColorTable GLenum *target = (GLenum *) bp; bp += 4; GLenum *format = (GLenum *) bp; bp += 4; GLenum *type = (GLenum *) bp; bp += 4; - GLvoid *table = (GLvoid *) bins[0]->base; + GLvoid *table = (GLvoid *) bins[0]; weglGetColorTable(*target,*format,*type,table); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "ok"); rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5330: { // glGetColorTableParameterfv + driver_send_term(port,caller,rt,AP); +}; break; +case 5330: { // glGetColorTableParameterfv GLenum *target = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; GLfloat params[4] = {0.0,0.0,0.0,0.0}; weglGetColorTableParameterfv(*target,*pname,params); int AP = 0; ErlDrvTermData rt[14]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); GLdouble paramsConv[4], *paramsTmp = paramsConv; for(int i=0; i < 4; i++) paramsConv[i] = (GLdouble) params[i]; rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; @@ -2429,16 +2365,15 @@ case 5330: { // glGetColorTableParameterfv rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5331: { // glGetColorTableParameteriv + driver_send_term(port,caller,rt,AP); +}; break; +case 5331: { // glGetColorTableParameteriv GLenum *target = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; GLint params[4] = {0,0,0,0}; weglGetColorTableParameteriv(*target,*pname,params); int AP = 0; ErlDrvTermData rt[14]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); GLint *paramsTmp = params; rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; @@ -2446,10 +2381,9 @@ case 5331: { // glGetColorTableParameteriv rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5332: { // glColorSubTable + driver_send_term(port,caller,rt,AP); +}; break; +case 5332: { // glColorSubTable GLenum *target = (GLenum *) bp; bp += 4; GLsizei *start = (GLsizei *) bp; bp += 4; GLsizei *count = (GLsizei *) bp; bp += 4; @@ -2457,25 +2391,25 @@ case 5332: { // glColorSubTable GLenum *type = (GLenum *) bp; bp += 4; GLvoid *data = (GLvoid *) * (int *) bp; bp += 4; weglColorSubTable(*target,*start,*count,*format,*type,data); -}; break; -case 5333: { // glColorSubTable +}; break; +case 5333: { // glColorSubTable GLenum *target = (GLenum *) bp; bp += 4; GLsizei *start = (GLsizei *) bp; bp += 4; GLsizei *count = (GLsizei *) bp; bp += 4; GLenum *format = (GLenum *) bp; bp += 4; GLenum *type = (GLenum *) bp; bp += 4; - GLvoid *data = (GLvoid *) bins[0]->base; + GLvoid *data = (GLvoid *) bins[0]; weglColorSubTable(*target,*start,*count,*format,*type,data); -}; break; -case 5334: { // glCopyColorSubTable +}; break; +case 5334: { // glCopyColorSubTable GLenum *target = (GLenum *) bp; bp += 4; GLsizei *start = (GLsizei *) bp; bp += 4; GLint *x = (GLint *) bp; bp += 4; GLint *y = (GLint *) bp; bp += 4; GLsizei *width = (GLsizei *) bp; bp += 4; weglCopyColorSubTable(*target,*start,*x,*y,*width); -}; break; -case 5335: { // glConvolutionFilter1D +}; break; +case 5335: { // glConvolutionFilter1D GLenum *target = (GLenum *) bp; bp += 4; GLenum *internalformat = (GLenum *) bp; bp += 4; GLsizei *width = (GLsizei *) bp; bp += 4; @@ -2483,17 +2417,17 @@ case 5335: { // glConvolutionFilter1D GLenum *type = (GLenum *) bp; bp += 4; GLvoid *image = (GLvoid *) * (int *) bp; bp += 4; weglConvolutionFilter1D(*target,*internalformat,*width,*format,*type,image); -}; break; -case 5336: { // glConvolutionFilter1D +}; break; +case 5336: { // glConvolutionFilter1D GLenum *target = (GLenum *) bp; bp += 4; GLenum *internalformat = (GLenum *) bp; bp += 4; GLsizei *width = (GLsizei *) bp; bp += 4; GLenum *format = (GLenum *) bp; bp += 4; GLenum *type = (GLenum *) bp; bp += 4; - GLvoid *image = (GLvoid *) bins[0]->base; + GLvoid *image = (GLvoid *) bins[0]; weglConvolutionFilter1D(*target,*internalformat,*width,*format,*type,image); -}; break; -case 5337: { // glConvolutionFilter2D +}; break; +case 5337: { // glConvolutionFilter2D GLenum *target = (GLenum *) bp; bp += 4; GLenum *internalformat = (GLenum *) bp; bp += 4; GLsizei *width = (GLsizei *) bp; bp += 4; @@ -2502,40 +2436,40 @@ case 5337: { // glConvolutionFilter2D GLenum *type = (GLenum *) bp; bp += 4; GLvoid *image = (GLvoid *) * (int *) bp; bp += 4; weglConvolutionFilter2D(*target,*internalformat,*width,*height,*format,*type,image); -}; break; -case 5338: { // glConvolutionFilter2D +}; break; +case 5338: { // glConvolutionFilter2D GLenum *target = (GLenum *) bp; bp += 4; GLenum *internalformat = (GLenum *) bp; bp += 4; GLsizei *width = (GLsizei *) bp; bp += 4; GLsizei *height = (GLsizei *) bp; bp += 4; GLenum *format = (GLenum *) bp; bp += 4; GLenum *type = (GLenum *) bp; bp += 4; - GLvoid *image = (GLvoid *) bins[0]->base; + GLvoid *image = (GLvoid *) bins[0]; weglConvolutionFilter2D(*target,*internalformat,*width,*height,*format,*type,image); -}; break; -case 5339: { // glConvolutionParameterfv +}; break; +case 5339: { // glConvolutionParameterfv GLenum *target = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; int *paramsLen = (int *) bp; bp += 4; GLfloat *params = (GLfloat *) bp; bp += *paramsLen*4+((*paramsLen)+1)%2*4; weglConvolutionParameterfv(*target,*pname,params); -}; break; -case 5340: { // glConvolutionParameteriv +}; break; +case 5340: { // glConvolutionParameteriv GLenum *target = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; int *paramsLen = (int *) bp; bp += 4; GLint *params = (GLint *) bp; bp += *paramsLen*4+((*paramsLen)+1)%2*4; weglConvolutionParameteriv(*target,*pname,params); -}; break; -case 5341: { // glCopyConvolutionFilter1D +}; break; +case 5341: { // glCopyConvolutionFilter1D GLenum *target = (GLenum *) bp; bp += 4; GLenum *internalformat = (GLenum *) bp; bp += 4; GLint *x = (GLint *) bp; bp += 4; GLint *y = (GLint *) bp; bp += 4; GLsizei *width = (GLsizei *) bp; bp += 4; weglCopyConvolutionFilter1D(*target,*internalformat,*x,*y,*width); -}; break; -case 5342: { // glCopyConvolutionFilter2D +}; break; +case 5342: { // glCopyConvolutionFilter2D GLenum *target = (GLenum *) bp; bp += 4; GLenum *internalformat = (GLenum *) bp; bp += 4; GLint *x = (GLint *) bp; bp += 4; @@ -2543,26 +2477,26 @@ case 5342: { // glCopyConvolutionFilter2D GLsizei *width = (GLsizei *) bp; bp += 4; GLsizei *height = (GLsizei *) bp; bp += 4; weglCopyConvolutionFilter2D(*target,*internalformat,*x,*y,*width,*height); -}; break; -case 5343: { // glGetConvolutionFilter +}; break; +case 5343: { // glGetConvolutionFilter GLenum *target = (GLenum *) bp; bp += 4; GLenum *format = (GLenum *) bp; bp += 4; GLenum *type = (GLenum *) bp; bp += 4; - GLvoid *image = (GLvoid *) bins[0]->base; + GLvoid *image = (GLvoid *) bins[0]; weglGetConvolutionFilter(*target,*format,*type,image); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "ok"); rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5344: { // glGetConvolutionParameterfv + driver_send_term(port,caller,rt,AP); +}; break; +case 5344: { // glGetConvolutionParameterfv GLenum *target = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; GLfloat params[4] = {0.0,0.0,0.0,0.0}; weglGetConvolutionParameterfv(*target,*pname,params); int AP = 0; ErlDrvTermData rt[14]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); GLdouble paramsConv[4], *paramsTmp = paramsConv; for(int i=0; i < 4; i++) paramsConv[i] = (GLdouble) params[i]; rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; @@ -2571,16 +2505,15 @@ case 5344: { // glGetConvolutionParameterfv rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5345: { // glGetConvolutionParameteriv + driver_send_term(port,caller,rt,AP); +}; break; +case 5345: { // glGetConvolutionParameteriv GLenum *target = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; GLint params[4] = {0,0,0,0}; weglGetConvolutionParameteriv(*target,*pname,params); int AP = 0; ErlDrvTermData rt[14]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); GLint *paramsTmp = params; rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; @@ -2588,10 +2521,9 @@ case 5345: { // glGetConvolutionParameteriv rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5346: { // glSeparableFilter2D + driver_send_term(port,caller,rt,AP); +}; break; +case 5346: { // glSeparableFilter2D GLenum *target = (GLenum *) bp; bp += 4; GLenum *internalformat = (GLenum *) bp; bp += 4; GLsizei *width = (GLsizei *) bp; bp += 4; @@ -2601,135 +2533,131 @@ case 5346: { // glSeparableFilter2D GLvoid *row = (GLvoid *) * (int *) bp; bp += 4; GLvoid *column = (GLvoid *) * (int *) bp; bp += 4; weglSeparableFilter2D(*target,*internalformat,*width,*height,*format,*type,row,column); -}; break; -case 5347: { // glSeparableFilter2D +}; break; +case 5347: { // glSeparableFilter2D GLenum *target = (GLenum *) bp; bp += 4; GLenum *internalformat = (GLenum *) bp; bp += 4; GLsizei *width = (GLsizei *) bp; bp += 4; GLsizei *height = (GLsizei *) bp; bp += 4; GLenum *format = (GLenum *) bp; bp += 4; GLenum *type = (GLenum *) bp; bp += 4; - GLvoid *row = (GLvoid *) bins[0]->base; - GLvoid *column = (GLvoid *) bins[1]->base; + GLvoid *row = (GLvoid *) bins[0]; + GLvoid *column = (GLvoid *) bins[1]; weglSeparableFilter2D(*target,*internalformat,*width,*height,*format,*type,row,column); -}; break; -case 5348: { // glGetHistogram +}; break; +case 5348: { // glGetHistogram GLenum *target = (GLenum *) bp; bp += 4; GLboolean *reset = (GLboolean *) bp; bp += 1; bp += 3; GLenum *format = (GLenum *) bp; bp += 4; GLenum *type = (GLenum *) bp; bp += 4; - GLvoid *values = (GLvoid *) bins[0]->base; + GLvoid *values = (GLvoid *) bins[0]; weglGetHistogram(*target,*reset,*format,*type,values); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "ok"); rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5349: { // glGetHistogramParameterfv + driver_send_term(port,caller,rt,AP); +}; break; +case 5349: { // glGetHistogramParameterfv GLenum *target = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; GLfloat params[1] = {0.0}; weglGetHistogramParameterfv(*target,*pname,params); int AP = 0; ErlDrvTermData rt[8]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); GLdouble paramsConv[1], *paramsTmp = paramsConv; for(int i=0; i < 1; i++) paramsConv[i] = (GLdouble) params[i]; rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 1; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 8 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,8); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5350: { // glGetHistogramParameteriv + driver_send_term(port,caller,rt,AP); +}; break; +case 5350: { // glGetHistogramParameteriv GLenum *target = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; GLint params[1] = {0}; weglGetHistogramParameteriv(*target,*pname,params); int AP = 0; ErlDrvTermData rt[8]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); GLint *paramsTmp = params; rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 1; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 8 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,8); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5351: { // glGetMinmax + driver_send_term(port,caller,rt,AP); +}; break; +case 5351: { // glGetMinmax GLenum *target = (GLenum *) bp; bp += 4; GLboolean *reset = (GLboolean *) bp; bp += 1; bp += 3; GLenum *format = (GLenum *) bp; bp += 4; GLenum *type = (GLenum *) bp; bp += 4; - GLvoid *values = (GLvoid *) bins[0]->base; + GLvoid *values = (GLvoid *) bins[0]; weglGetMinmax(*target,*reset,*format,*type,values); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "ok"); rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5352: { // glGetMinmaxParameterfv + driver_send_term(port,caller,rt,AP); +}; break; +case 5352: { // glGetMinmaxParameterfv GLenum *target = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; GLfloat params[1] = {0.0}; weglGetMinmaxParameterfv(*target,*pname,params); int AP = 0; ErlDrvTermData rt[8]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); GLdouble paramsConv[1], *paramsTmp = paramsConv; for(int i=0; i < 1; i++) paramsConv[i] = (GLdouble) params[i]; rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 1; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 8 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,8); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5353: { // glGetMinmaxParameteriv + driver_send_term(port,caller,rt,AP); +}; break; +case 5353: { // glGetMinmaxParameteriv GLenum *target = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; GLint params[1] = {0}; weglGetMinmaxParameteriv(*target,*pname,params); int AP = 0; ErlDrvTermData rt[8]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); GLint *paramsTmp = params; rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 1; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 8 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,8); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5354: { // glHistogram + driver_send_term(port,caller,rt,AP); +}; break; +case 5354: { // glHistogram GLenum *target = (GLenum *) bp; bp += 4; GLsizei *width = (GLsizei *) bp; bp += 4; GLenum *internalformat = (GLenum *) bp; bp += 4; GLboolean *sink = (GLboolean *) bp; bp += 1; weglHistogram(*target,*width,*internalformat,*sink); -}; break; -case 5355: { // glMinmax +}; break; +case 5355: { // glMinmax GLenum *target = (GLenum *) bp; bp += 4; GLenum *internalformat = (GLenum *) bp; bp += 4; GLboolean *sink = (GLboolean *) bp; bp += 1; weglMinmax(*target,*internalformat,*sink); -}; break; -case 5356: { // glResetHistogram +}; break; +case 5356: { // glResetHistogram GLenum *target = (GLenum *) bp; bp += 4; weglResetHistogram(*target); -}; break; -case 5357: { // glResetMinmax +}; break; +case 5357: { // glResetMinmax GLenum *target = (GLenum *) bp; bp += 4; weglResetMinmax(*target); -}; break; -case 5358: { // glActiveTexture +}; break; +case 5358: { // glActiveTexture GLenum *texture = (GLenum *) bp; bp += 4; weglActiveTexture(*texture); -}; break; -case 5359: { // glSampleCoverage +}; break; +case 5359: { // glSampleCoverage GLclampf *value = (GLclampf *) bp; bp += 4; GLboolean *invert = (GLboolean *) bp; bp += 1; weglSampleCoverage(*value,*invert); -}; break; -case 5360: { // glCompressedTexImage3D +}; break; +case 5360: { // glCompressedTexImage3D GLenum *target = (GLenum *) bp; bp += 4; GLint *level = (GLint *) bp; bp += 4; GLenum *internalformat = (GLenum *) bp; bp += 4; @@ -2740,8 +2668,8 @@ case 5360: { // glCompressedTexImage3D GLsizei *imageSize = (GLsizei *) bp; bp += 4; GLvoid *data = (GLvoid *) * (int *) bp; bp += 4; weglCompressedTexImage3D(*target,*level,*internalformat,*width,*height,*depth,*border,*imageSize,data); -}; break; -case 5361: { // glCompressedTexImage3D +}; break; +case 5361: { // glCompressedTexImage3D GLenum *target = (GLenum *) bp; bp += 4; GLint *level = (GLint *) bp; bp += 4; GLenum *internalformat = (GLenum *) bp; bp += 4; @@ -2750,10 +2678,10 @@ case 5361: { // glCompressedTexImage3D GLsizei *depth = (GLsizei *) bp; bp += 4; GLint *border = (GLint *) bp; bp += 4; GLsizei *imageSize = (GLsizei *) bp; bp += 4; - GLvoid *data = (GLvoid *) bins[0]->base; + GLvoid *data = (GLvoid *) bins[0]; weglCompressedTexImage3D(*target,*level,*internalformat,*width,*height,*depth,*border,*imageSize,data); -}; break; -case 5362: { // glCompressedTexImage2D +}; break; +case 5362: { // glCompressedTexImage2D GLenum *target = (GLenum *) bp; bp += 4; GLint *level = (GLint *) bp; bp += 4; GLenum *internalformat = (GLenum *) bp; bp += 4; @@ -2763,8 +2691,8 @@ case 5362: { // glCompressedTexImage2D GLsizei *imageSize = (GLsizei *) bp; bp += 4; GLvoid *data = (GLvoid *) * (int *) bp; bp += 4; weglCompressedTexImage2D(*target,*level,*internalformat,*width,*height,*border,*imageSize,data); -}; break; -case 5363: { // glCompressedTexImage2D +}; break; +case 5363: { // glCompressedTexImage2D GLenum *target = (GLenum *) bp; bp += 4; GLint *level = (GLint *) bp; bp += 4; GLenum *internalformat = (GLenum *) bp; bp += 4; @@ -2772,10 +2700,10 @@ case 5363: { // glCompressedTexImage2D GLsizei *height = (GLsizei *) bp; bp += 4; GLint *border = (GLint *) bp; bp += 4; GLsizei *imageSize = (GLsizei *) bp; bp += 4; - GLvoid *data = (GLvoid *) bins[0]->base; + GLvoid *data = (GLvoid *) bins[0]; weglCompressedTexImage2D(*target,*level,*internalformat,*width,*height,*border,*imageSize,data); -}; break; -case 5364: { // glCompressedTexImage1D +}; break; +case 5364: { // glCompressedTexImage1D GLenum *target = (GLenum *) bp; bp += 4; GLint *level = (GLint *) bp; bp += 4; GLenum *internalformat = (GLenum *) bp; bp += 4; @@ -2784,18 +2712,18 @@ case 5364: { // glCompressedTexImage1D GLsizei *imageSize = (GLsizei *) bp; bp += 4; GLvoid *data = (GLvoid *) * (int *) bp; bp += 4; weglCompressedTexImage1D(*target,*level,*internalformat,*width,*border,*imageSize,data); -}; break; -case 5365: { // glCompressedTexImage1D +}; break; +case 5365: { // glCompressedTexImage1D GLenum *target = (GLenum *) bp; bp += 4; GLint *level = (GLint *) bp; bp += 4; GLenum *internalformat = (GLenum *) bp; bp += 4; GLsizei *width = (GLsizei *) bp; bp += 4; GLint *border = (GLint *) bp; bp += 4; GLsizei *imageSize = (GLsizei *) bp; bp += 4; - GLvoid *data = (GLvoid *) bins[0]->base; + GLvoid *data = (GLvoid *) bins[0]; weglCompressedTexImage1D(*target,*level,*internalformat,*width,*border,*imageSize,data); -}; break; -case 5366: { // glCompressedTexSubImage3D +}; break; +case 5366: { // glCompressedTexSubImage3D GLenum *target = (GLenum *) bp; bp += 4; GLint *level = (GLint *) bp; bp += 4; GLint *xoffset = (GLint *) bp; bp += 4; @@ -2808,8 +2736,8 @@ case 5366: { // glCompressedTexSubImage3D GLsizei *imageSize = (GLsizei *) bp; bp += 4; GLvoid *data = (GLvoid *) * (int *) bp; bp += 4; weglCompressedTexSubImage3D(*target,*level,*xoffset,*yoffset,*zoffset,*width,*height,*depth,*format,*imageSize,data); -}; break; -case 5367: { // glCompressedTexSubImage3D +}; break; +case 5367: { // glCompressedTexSubImage3D GLenum *target = (GLenum *) bp; bp += 4; GLint *level = (GLint *) bp; bp += 4; GLint *xoffset = (GLint *) bp; bp += 4; @@ -2820,10 +2748,10 @@ case 5367: { // glCompressedTexSubImage3D GLsizei *depth = (GLsizei *) bp; bp += 4; GLenum *format = (GLenum *) bp; bp += 4; GLsizei *imageSize = (GLsizei *) bp; bp += 4; - GLvoid *data = (GLvoid *) bins[0]->base; + GLvoid *data = (GLvoid *) bins[0]; weglCompressedTexSubImage3D(*target,*level,*xoffset,*yoffset,*zoffset,*width,*height,*depth,*format,*imageSize,data); -}; break; -case 5368: { // glCompressedTexSubImage2D +}; break; +case 5368: { // glCompressedTexSubImage2D GLenum *target = (GLenum *) bp; bp += 4; GLint *level = (GLint *) bp; bp += 4; GLint *xoffset = (GLint *) bp; bp += 4; @@ -2834,8 +2762,8 @@ case 5368: { // glCompressedTexSubImage2D GLsizei *imageSize = (GLsizei *) bp; bp += 4; GLvoid *data = (GLvoid *) * (int *) bp; bp += 4; weglCompressedTexSubImage2D(*target,*level,*xoffset,*yoffset,*width,*height,*format,*imageSize,data); -}; break; -case 5369: { // glCompressedTexSubImage2D +}; break; +case 5369: { // glCompressedTexSubImage2D GLenum *target = (GLenum *) bp; bp += 4; GLint *level = (GLint *) bp; bp += 4; GLint *xoffset = (GLint *) bp; bp += 4; @@ -2844,10 +2772,10 @@ case 5369: { // glCompressedTexSubImage2D GLsizei *height = (GLsizei *) bp; bp += 4; GLenum *format = (GLenum *) bp; bp += 4; GLsizei *imageSize = (GLsizei *) bp; bp += 4; - GLvoid *data = (GLvoid *) bins[0]->base; + GLvoid *data = (GLvoid *) bins[0]; weglCompressedTexSubImage2D(*target,*level,*xoffset,*yoffset,*width,*height,*format,*imageSize,data); -}; break; -case 5370: { // glCompressedTexSubImage1D +}; break; +case 5370: { // glCompressedTexSubImage1D GLenum *target = (GLenum *) bp; bp += 4; GLint *level = (GLint *) bp; bp += 4; GLint *xoffset = (GLint *) bp; bp += 4; @@ -2856,524 +2784,514 @@ case 5370: { // glCompressedTexSubImage1D GLsizei *imageSize = (GLsizei *) bp; bp += 4; GLvoid *data = (GLvoid *) * (int *) bp; bp += 4; weglCompressedTexSubImage1D(*target,*level,*xoffset,*width,*format,*imageSize,data); -}; break; -case 5371: { // glCompressedTexSubImage1D +}; break; +case 5371: { // glCompressedTexSubImage1D GLenum *target = (GLenum *) bp; bp += 4; GLint *level = (GLint *) bp; bp += 4; GLint *xoffset = (GLint *) bp; bp += 4; GLsizei *width = (GLsizei *) bp; bp += 4; GLenum *format = (GLenum *) bp; bp += 4; GLsizei *imageSize = (GLsizei *) bp; bp += 4; - GLvoid *data = (GLvoid *) bins[0]->base; + GLvoid *data = (GLvoid *) bins[0]; weglCompressedTexSubImage1D(*target,*level,*xoffset,*width,*format,*imageSize,data); -}; break; -case 5372: { // glGetCompressedTexImage +}; break; +case 5372: { // glGetCompressedTexImage GLenum *target = (GLenum *) bp; bp += 4; GLint *level = (GLint *) bp; bp += 4; - GLvoid *img = (GLvoid *) bins[0]->base; + GLvoid *img = (GLvoid *) bins[0]; weglGetCompressedTexImage(*target,*level,img); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "ok"); rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5373: { // glClientActiveTexture + driver_send_term(port,caller,rt,AP); +}; break; +case 5373: { // glClientActiveTexture GLenum *texture = (GLenum *) bp; bp += 4; weglClientActiveTexture(*texture); -}; break; -case 5374: { // glMultiTexCoord1dv +}; break; +case 5374: { // glMultiTexCoord1dv GLenum *target = (GLenum *) bp; bp += 4; bp += 4; GLdouble *v = (GLdouble *) bp; bp += 8; weglMultiTexCoord1dv(*target,v); -}; break; -case 5375: { // glMultiTexCoord1fv +}; break; +case 5375: { // glMultiTexCoord1fv GLenum *target = (GLenum *) bp; bp += 4; GLfloat *v = (GLfloat *) bp; bp += 4; weglMultiTexCoord1fv(*target,v); -}; break; -case 5376: { // glMultiTexCoord1iv +}; break; +case 5376: { // glMultiTexCoord1iv GLenum *target = (GLenum *) bp; bp += 4; GLint *v = (GLint *) bp; bp += 4; weglMultiTexCoord1iv(*target,v); -}; break; -case 5377: { // glMultiTexCoord1sv +}; break; +case 5377: { // glMultiTexCoord1sv GLenum *target = (GLenum *) bp; bp += 4; GLshort *v = (GLshort *) bp; bp += 2; weglMultiTexCoord1sv(*target,v); -}; break; -case 5378: { // glMultiTexCoord2dv +}; break; +case 5378: { // glMultiTexCoord2dv GLenum *target = (GLenum *) bp; bp += 4; bp += 4; GLdouble *v = (GLdouble *) bp; bp += 8; weglMultiTexCoord2dv(*target,v); -}; break; -case 5379: { // glMultiTexCoord2fv +}; break; +case 5379: { // glMultiTexCoord2fv GLenum *target = (GLenum *) bp; bp += 4; GLfloat *v = (GLfloat *) bp; bp += 4; weglMultiTexCoord2fv(*target,v); -}; break; -case 5380: { // glMultiTexCoord2iv +}; break; +case 5380: { // glMultiTexCoord2iv GLenum *target = (GLenum *) bp; bp += 4; GLint *v = (GLint *) bp; bp += 4; weglMultiTexCoord2iv(*target,v); -}; break; -case 5381: { // glMultiTexCoord2sv +}; break; +case 5381: { // glMultiTexCoord2sv GLenum *target = (GLenum *) bp; bp += 4; GLshort *v = (GLshort *) bp; bp += 2; weglMultiTexCoord2sv(*target,v); -}; break; -case 5382: { // glMultiTexCoord3dv +}; break; +case 5382: { // glMultiTexCoord3dv GLenum *target = (GLenum *) bp; bp += 4; bp += 4; GLdouble *v = (GLdouble *) bp; bp += 8; weglMultiTexCoord3dv(*target,v); -}; break; -case 5383: { // glMultiTexCoord3fv +}; break; +case 5383: { // glMultiTexCoord3fv GLenum *target = (GLenum *) bp; bp += 4; GLfloat *v = (GLfloat *) bp; bp += 4; weglMultiTexCoord3fv(*target,v); -}; break; -case 5384: { // glMultiTexCoord3iv +}; break; +case 5384: { // glMultiTexCoord3iv GLenum *target = (GLenum *) bp; bp += 4; GLint *v = (GLint *) bp; bp += 4; weglMultiTexCoord3iv(*target,v); -}; break; -case 5385: { // glMultiTexCoord3sv +}; break; +case 5385: { // glMultiTexCoord3sv GLenum *target = (GLenum *) bp; bp += 4; GLshort *v = (GLshort *) bp; bp += 2; weglMultiTexCoord3sv(*target,v); -}; break; -case 5386: { // glMultiTexCoord4dv +}; break; +case 5386: { // glMultiTexCoord4dv GLenum *target = (GLenum *) bp; bp += 4; bp += 4; GLdouble *v = (GLdouble *) bp; bp += 8; weglMultiTexCoord4dv(*target,v); -}; break; -case 5387: { // glMultiTexCoord4fv +}; break; +case 5387: { // glMultiTexCoord4fv GLenum *target = (GLenum *) bp; bp += 4; GLfloat *v = (GLfloat *) bp; bp += 4; weglMultiTexCoord4fv(*target,v); -}; break; -case 5388: { // glMultiTexCoord4iv +}; break; +case 5388: { // glMultiTexCoord4iv GLenum *target = (GLenum *) bp; bp += 4; GLint *v = (GLint *) bp; bp += 4; weglMultiTexCoord4iv(*target,v); -}; break; -case 5389: { // glMultiTexCoord4sv +}; break; +case 5389: { // glMultiTexCoord4sv GLenum *target = (GLenum *) bp; bp += 4; GLshort *v = (GLshort *) bp; bp += 2; weglMultiTexCoord4sv(*target,v); -}; break; -case 5390: { // glLoadTransposeMatrixf +}; break; +case 5390: { // glLoadTransposeMatrixf GLfloat * m = (GLfloat *) bp; bp += 64; weglLoadTransposeMatrixf(m); -}; break; -case 5391: { // glLoadTransposeMatrixd +}; break; +case 5391: { // glLoadTransposeMatrixd GLdouble * m = (GLdouble *) bp; bp += 128; weglLoadTransposeMatrixd(m); -}; break; -case 5392: { // glMultTransposeMatrixf +}; break; +case 5392: { // glMultTransposeMatrixf GLfloat * m = (GLfloat *) bp; bp += 64; weglMultTransposeMatrixf(m); -}; break; -case 5393: { // glMultTransposeMatrixd +}; break; +case 5393: { // glMultTransposeMatrixd GLdouble * m = (GLdouble *) bp; bp += 128; weglMultTransposeMatrixd(m); -}; break; -case 5394: { // glBlendFuncSeparate +}; break; +case 5394: { // glBlendFuncSeparate GLenum *sfactorRGB = (GLenum *) bp; bp += 4; GLenum *dfactorRGB = (GLenum *) bp; bp += 4; GLenum *sfactorAlpha = (GLenum *) bp; bp += 4; GLenum *dfactorAlpha = (GLenum *) bp; bp += 4; weglBlendFuncSeparate(*sfactorRGB,*dfactorRGB,*sfactorAlpha,*dfactorAlpha); -}; break; -case 5395: { // glMultiDrawArrays +}; break; +case 5395: { // glMultiDrawArrays GLenum *mode = (GLenum *) bp; bp += 4; int * firstLen = (int *) bp; bp += 4; GLint * first = (GLint *) bp; bp += (8-((*firstLen*4+0)%8))%8; int * countLen = (int *) bp; bp += 4; GLsizei * count = (GLsizei *) bp; bp += (8-((*countLen*4+4)%8))%8; weglMultiDrawArrays(*mode,first,count,*firstLen); -}; break; -case 5396: { // glPointParameterf +}; break; +case 5396: { // glPointParameterf GLenum *pname = (GLenum *) bp; bp += 4; GLfloat *param = (GLfloat *) bp; bp += 4; weglPointParameterf(*pname,*param); -}; break; -case 5397: { // glPointParameterfv +}; break; +case 5397: { // glPointParameterfv GLenum *pname = (GLenum *) bp; bp += 4; int *paramsLen = (int *) bp; bp += 4; GLfloat *params = (GLfloat *) bp; bp += *paramsLen*4+((*paramsLen)+0)%2*4; weglPointParameterfv(*pname,params); -}; break; -case 5398: { // glPointParameteri +}; break; +case 5398: { // glPointParameteri GLenum *pname = (GLenum *) bp; bp += 4; GLint *param = (GLint *) bp; bp += 4; weglPointParameteri(*pname,*param); -}; break; -case 5399: { // glPointParameteriv +}; break; +case 5399: { // glPointParameteriv GLenum *pname = (GLenum *) bp; bp += 4; int *paramsLen = (int *) bp; bp += 4; GLint *params = (GLint *) bp; bp += *paramsLen*4+((*paramsLen)+0)%2*4; weglPointParameteriv(*pname,params); -}; break; -case 5400: { // glFogCoordfv +}; break; +case 5400: { // glFogCoordfv GLfloat *coord = (GLfloat *) bp; bp += 4; weglFogCoordfv(coord); -}; break; -case 5401: { // glFogCoorddv +}; break; +case 5401: { // glFogCoorddv GLdouble *coord = (GLdouble *) bp; bp += 8; weglFogCoorddv(coord); -}; break; -case 5402: { // glFogCoordPointer +}; break; +case 5402: { // glFogCoordPointer GLenum *type = (GLenum *) bp; bp += 4; GLsizei *stride = (GLsizei *) bp; bp += 4; GLvoid *pointer = (GLvoid *) * (int *) bp; bp += 4; weglFogCoordPointer(*type,*stride,pointer); -}; break; -case 5403: { // glFogCoordPointer +}; break; +case 5403: { // glFogCoordPointer GLenum *type = (GLenum *) bp; bp += 4; GLsizei *stride = (GLsizei *) bp; bp += 4; - GLvoid *pointer = (GLvoid *) bins[0]->base; + GLvoid *pointer = (GLvoid *) bins[0]; weglFogCoordPointer(*type,*stride,pointer); -}; break; -case 5404: { // glSecondaryColor3bv +}; break; +case 5404: { // glSecondaryColor3bv GLbyte *v = (GLbyte *) bp; bp += 1; weglSecondaryColor3bv(v); -}; break; -case 5405: { // glSecondaryColor3dv +}; break; +case 5405: { // glSecondaryColor3dv GLdouble *v = (GLdouble *) bp; bp += 8; weglSecondaryColor3dv(v); -}; break; -case 5406: { // glSecondaryColor3fv +}; break; +case 5406: { // glSecondaryColor3fv GLfloat *v = (GLfloat *) bp; bp += 4; weglSecondaryColor3fv(v); -}; break; -case 5407: { // glSecondaryColor3iv +}; break; +case 5407: { // glSecondaryColor3iv GLint *v = (GLint *) bp; bp += 4; weglSecondaryColor3iv(v); -}; break; -case 5408: { // glSecondaryColor3sv +}; break; +case 5408: { // glSecondaryColor3sv GLshort *v = (GLshort *) bp; bp += 2; weglSecondaryColor3sv(v); -}; break; -case 5409: { // glSecondaryColor3ubv +}; break; +case 5409: { // glSecondaryColor3ubv GLubyte *v = (GLubyte *) bp; bp += 1; weglSecondaryColor3ubv(v); -}; break; -case 5410: { // glSecondaryColor3uiv +}; break; +case 5410: { // glSecondaryColor3uiv GLuint *v = (GLuint *) bp; bp += 4; weglSecondaryColor3uiv(v); -}; break; -case 5411: { // glSecondaryColor3usv +}; break; +case 5411: { // glSecondaryColor3usv GLushort *v = (GLushort *) bp; bp += 2; weglSecondaryColor3usv(v); -}; break; -case 5412: { // glSecondaryColorPointer +}; break; +case 5412: { // glSecondaryColorPointer GLint *size = (GLint *) bp; bp += 4; GLenum *type = (GLenum *) bp; bp += 4; GLsizei *stride = (GLsizei *) bp; bp += 4; GLvoid *pointer = (GLvoid *) * (int *) bp; bp += 4; weglSecondaryColorPointer(*size,*type,*stride,pointer); -}; break; -case 5413: { // glSecondaryColorPointer +}; break; +case 5413: { // glSecondaryColorPointer GLint *size = (GLint *) bp; bp += 4; GLenum *type = (GLenum *) bp; bp += 4; GLsizei *stride = (GLsizei *) bp; bp += 4; - GLvoid *pointer = (GLvoid *) bins[0]->base; + GLvoid *pointer = (GLvoid *) bins[0]; weglSecondaryColorPointer(*size,*type,*stride,pointer); -}; break; -case 5414: { // glWindowPos2dv +}; break; +case 5414: { // glWindowPos2dv GLdouble *v = (GLdouble *) bp; bp += 8; weglWindowPos2dv(v); -}; break; -case 5415: { // glWindowPos2fv +}; break; +case 5415: { // glWindowPos2fv GLfloat *v = (GLfloat *) bp; bp += 4; weglWindowPos2fv(v); -}; break; -case 5416: { // glWindowPos2iv +}; break; +case 5416: { // glWindowPos2iv GLint *v = (GLint *) bp; bp += 4; weglWindowPos2iv(v); -}; break; -case 5417: { // glWindowPos2sv +}; break; +case 5417: { // glWindowPos2sv GLshort *v = (GLshort *) bp; bp += 2; weglWindowPos2sv(v); -}; break; -case 5418: { // glWindowPos3dv +}; break; +case 5418: { // glWindowPos3dv GLdouble *v = (GLdouble *) bp; bp += 8; weglWindowPos3dv(v); -}; break; -case 5419: { // glWindowPos3fv +}; break; +case 5419: { // glWindowPos3fv GLfloat *v = (GLfloat *) bp; bp += 4; weglWindowPos3fv(v); -}; break; -case 5420: { // glWindowPos3iv +}; break; +case 5420: { // glWindowPos3iv GLint *v = (GLint *) bp; bp += 4; weglWindowPos3iv(v); -}; break; -case 5421: { // glWindowPos3sv +}; break; +case 5421: { // glWindowPos3sv GLshort *v = (GLshort *) bp; bp += 2; weglWindowPos3sv(v); -}; break; -case 5422: { // glGenQueries +}; break; +case 5422: { // glGenQueries GLsizei *n = (GLsizei *) bp; bp += 4; GLuint *ids; ids = (GLuint *) driver_alloc(sizeof(GLuint) * *n); weglGenQueries(*n,ids); int AP = 0; ErlDrvTermData *rt; rt = (ErlDrvTermData *) driver_alloc(sizeof(ErlDrvTermData)*(7 + (*n)*2)); - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); for(int i=0; i < *n; i++) { rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) ids[i];} rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = (*n)+1; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 7 + (*n)*2 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,7 + (*n)*2); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); - driver_free(rt); + driver_send_term(port,caller,rt,AP); + driver_free(rt); driver_free(ids); -}; break; -case 5423: { // glDeleteQueries +}; break; +case 5423: { // glDeleteQueries int * idsLen = (int *) bp; bp += 4; GLuint * ids = (GLuint *) bp; bp += (8-((*idsLen*4+4)%8))%8; weglDeleteQueries(*idsLen,ids); -}; break; -case 5424: { // glIsQuery +}; break; +case 5424: { // glIsQuery GLuint *id = (GLuint *) bp; bp += 4; GLboolean result = weglIsQuery(*id); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5425: { // glBeginQuery + driver_send_term(port,caller,rt,AP); +}; break; +case 5425: { // glBeginQuery GLenum *target = (GLenum *) bp; bp += 4; GLuint *id = (GLuint *) bp; bp += 4; weglBeginQuery(*target,*id); -}; break; -case 5426: { // glEndQuery +}; break; +case 5426: { // glEndQuery GLenum *target = (GLenum *) bp; bp += 4; weglEndQuery(*target); -}; break; -case 5427: { // glGetQueryiv +}; break; +case 5427: { // glGetQueryiv GLenum *target = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; GLint params[1] = {0}; weglGetQueryiv(*target,*pname,params); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *params; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5428: { // glGetQueryObjectiv + driver_send_term(port,caller,rt,AP); +}; break; +case 5428: { // glGetQueryObjectiv GLuint *id = (GLuint *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; GLint params[1] = {0}; weglGetQueryObjectiv(*id,*pname,params); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *params; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5429: { // glGetQueryObjectuiv + driver_send_term(port,caller,rt,AP); +}; break; +case 5429: { // glGetQueryObjectuiv GLuint *id = (GLuint *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; GLuint params[1] = {0}; weglGetQueryObjectuiv(*id,*pname,params); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *params; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5430: { // glBindBuffer + driver_send_term(port,caller,rt,AP); +}; break; +case 5430: { // glBindBuffer GLenum *target = (GLenum *) bp; bp += 4; GLuint *buffer = (GLuint *) bp; bp += 4; weglBindBuffer(*target,*buffer); -}; break; -case 5431: { // glDeleteBuffers +}; break; +case 5431: { // glDeleteBuffers int * buffersLen = (int *) bp; bp += 4; GLuint * buffers = (GLuint *) bp; bp += (8-((*buffersLen*4+4)%8))%8; weglDeleteBuffers(*buffersLen,buffers); -}; break; -case 5432: { // glGenBuffers +}; break; +case 5432: { // glGenBuffers GLsizei *n = (GLsizei *) bp; bp += 4; GLuint *buffers; buffers = (GLuint *) driver_alloc(sizeof(GLuint) * *n); weglGenBuffers(*n,buffers); int AP = 0; ErlDrvTermData *rt; rt = (ErlDrvTermData *) driver_alloc(sizeof(ErlDrvTermData)*(7 + (*n)*2)); - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); for(int i=0; i < *n; i++) { rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) buffers[i];} rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = (*n)+1; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 7 + (*n)*2 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,7 + (*n)*2); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); - driver_free(rt); + driver_send_term(port,caller,rt,AP); + driver_free(rt); driver_free(buffers); -}; break; -case 5433: { // glIsBuffer +}; break; +case 5433: { // glIsBuffer GLuint *buffer = (GLuint *) bp; bp += 4; GLboolean result = weglIsBuffer(*buffer); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5434: { // glBufferData + driver_send_term(port,caller,rt,AP); +}; break; +case 5434: { // glBufferData GLenum *target = (GLenum *) bp; bp += 4; bp += 4; GLsizeiptr size = (GLsizeiptr) * (GLuint64EXT *) bp; bp += 8; GLvoid *data = (GLvoid *) * (int *) bp; bp += 4; GLenum *usage = (GLenum *) bp; bp += 4; weglBufferData(*target,size,data,*usage); -}; break; -case 5435: { // glBufferData +}; break; +case 5435: { // glBufferData GLenum *target = (GLenum *) bp; bp += 4; bp += 4; GLsizeiptr size = (GLsizeiptr) * (GLuint64EXT *) bp; bp += 8; - GLvoid *data = (GLvoid *) bins[0]->base; + GLvoid *data = (GLvoid *) bins[0]; GLenum *usage = (GLenum *) bp; bp += 4; weglBufferData(*target,size,data,*usage); -}; break; -case 5436: { // glBufferSubData +}; break; +case 5436: { // glBufferSubData GLenum *target = (GLenum *) bp; bp += 4; bp += 4; GLintptr offset = (GLintptr) * (GLuint64EXT *) bp; bp += 8; GLsizeiptr size = (GLsizeiptr) * (GLuint64EXT *) bp; bp += 8; GLvoid *data = (GLvoid *) * (int *) bp; bp += 4; weglBufferSubData(*target,offset,size,data); -}; break; -case 5437: { // glBufferSubData +}; break; +case 5437: { // glBufferSubData GLenum *target = (GLenum *) bp; bp += 4; bp += 4; GLintptr offset = (GLintptr) * (GLuint64EXT *) bp; bp += 8; GLsizeiptr size = (GLsizeiptr) * (GLuint64EXT *) bp; bp += 8; - GLvoid *data = (GLvoid *) bins[0]->base; + GLvoid *data = (GLvoid *) bins[0]; weglBufferSubData(*target,offset,size,data); -}; break; -case 5438: { // glGetBufferSubData +}; break; +case 5438: { // glGetBufferSubData GLenum *target = (GLenum *) bp; bp += 4; bp += 4; GLintptr offset = (GLintptr) * (GLuint64EXT *) bp; bp += 8; GLsizeiptr size = (GLsizeiptr) * (GLuint64EXT *) bp; bp += 8; - GLvoid *data = (GLvoid *) bins[0]->base; + GLvoid *data = (GLvoid *) bins[0]; weglGetBufferSubData(*target,offset,size,data); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "ok"); rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5439: { // glGetBufferParameteriv + driver_send_term(port,caller,rt,AP); +}; break; +case 5439: { // glGetBufferParameteriv GLenum *target = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; GLint params[1] = {0}; weglGetBufferParameteriv(*target,*pname,params); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *params; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5440: { // glBlendEquationSeparate + driver_send_term(port,caller,rt,AP); +}; break; +case 5440: { // glBlendEquationSeparate GLenum *modeRGB = (GLenum *) bp; bp += 4; GLenum *modeAlpha = (GLenum *) bp; bp += 4; weglBlendEquationSeparate(*modeRGB,*modeAlpha); -}; break; -case 5441: { // glDrawBuffers +}; break; +case 5441: { // glDrawBuffers int * bufsLen = (int *) bp; bp += 4; GLenum * bufs = (GLenum *) bp; bp += (8-((*bufsLen*4+4)%8))%8; weglDrawBuffers(*bufsLen,bufs); -}; break; -case 5442: { // glStencilOpSeparate +}; break; +case 5442: { // glStencilOpSeparate GLenum *face = (GLenum *) bp; bp += 4; GLenum *sfail = (GLenum *) bp; bp += 4; GLenum *dpfail = (GLenum *) bp; bp += 4; GLenum *dppass = (GLenum *) bp; bp += 4; weglStencilOpSeparate(*face,*sfail,*dpfail,*dppass); -}; break; -case 5443: { // glStencilFuncSeparate - GLenum *frontfunc = (GLenum *) bp; bp += 4; - GLenum *backfunc = (GLenum *) bp; bp += 4; +}; break; +case 5443: { // glStencilFuncSeparate + GLenum *face = (GLenum *) bp; bp += 4; + GLenum *func = (GLenum *) bp; bp += 4; GLint *ref = (GLint *) bp; bp += 4; GLuint *mask = (GLuint *) bp; bp += 4; - weglStencilFuncSeparate(*frontfunc,*backfunc,*ref,*mask); -}; break; -case 5444: { // glStencilMaskSeparate + weglStencilFuncSeparate(*face,*func,*ref,*mask); +}; break; +case 5444: { // glStencilMaskSeparate GLenum *face = (GLenum *) bp; bp += 4; GLuint *mask = (GLuint *) bp; bp += 4; weglStencilMaskSeparate(*face,*mask); -}; break; -case 5445: { // glAttachShader +}; break; +case 5445: { // glAttachShader GLuint *program = (GLuint *) bp; bp += 4; GLuint *shader = (GLuint *) bp; bp += 4; weglAttachShader(*program,*shader); -}; break; -case 5446: { // glBindAttribLocation +}; break; +case 5446: { // glBindAttribLocation GLuint *program = (GLuint *) bp; bp += 4; GLuint *index = (GLuint *) bp; bp += 4; GLchar *name = (GLchar *) bp; - int nameLen = strlen((char *)name); bp += nameLen+1+((8-((1+nameLen+0)%8))%8); + int nameLen[1] = {strlen((char *)name)}; bp += nameLen[0]+1+((8-((1+nameLen[0]+0)%8))%8); weglBindAttribLocation(*program,*index,name); -}; break; -case 5447: { // glCompileShader +}; break; +case 5447: { // glCompileShader GLuint *shader = (GLuint *) bp; bp += 4; weglCompileShader(*shader); -}; break; -case 5448: { // glCreateProgram +}; break; +case 5448: { // glCreateProgram GLuint result = weglCreateProgram(); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5449: { // glCreateShader + driver_send_term(port,caller,rt,AP); +}; break; +case 5449: { // glCreateShader GLenum *type = (GLenum *) bp; bp += 4; GLuint result = weglCreateShader(*type); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5450: { // glDeleteProgram + driver_send_term(port,caller,rt,AP); +}; break; +case 5450: { // glDeleteProgram GLuint *program = (GLuint *) bp; bp += 4; weglDeleteProgram(*program); -}; break; -case 5451: { // glDeleteShader +}; break; +case 5451: { // glDeleteShader GLuint *shader = (GLuint *) bp; bp += 4; weglDeleteShader(*shader); -}; break; -case 5452: { // glDetachShader +}; break; +case 5452: { // glDetachShader GLuint *program = (GLuint *) bp; bp += 4; GLuint *shader = (GLuint *) bp; bp += 4; weglDetachShader(*program,*shader); -}; break; -case 5453: { // glDisableVertexAttribArray +}; break; +case 5453: { // glDisableVertexAttribArray GLuint *index = (GLuint *) bp; bp += 4; weglDisableVertexAttribArray(*index); -}; break; -case 5454: { // glEnableVertexAttribArray +}; break; +case 5454: { // glEnableVertexAttribArray GLuint *index = (GLuint *) bp; bp += 4; weglEnableVertexAttribArray(*index); -}; break; -case 5455: { // glGetActiveAttrib +}; break; +case 5455: { // glGetActiveAttrib GLuint *program = (GLuint *) bp; bp += 4; GLuint *index = (GLuint *) bp; bp += 4; GLsizei *bufSize = (GLsizei *) bp; bp += 4; @@ -3384,17 +3302,16 @@ case 5455: { // glGetActiveAttrib name = (GLchar *) driver_alloc(sizeof(GLchar) * *bufSize); weglGetActiveAttrib(*program,*index,*bufSize,length,size,type,name); int AP = 0; ErlDrvTermData rt[13]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *size; rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *type; rt[AP++] = ERL_DRV_STRING; rt[AP++] = (ErlDrvTermData) name; rt[AP++] = *length; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 3; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 13 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,13); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); + driver_send_term(port,caller,rt,AP); driver_free(name); -}; break; -case 5456: { // glGetActiveUniform +}; break; +case 5456: { // glGetActiveUniform GLuint *program = (GLuint *) bp; bp += 4; GLuint *index = (GLuint *) bp; bp += 4; GLsizei *bufSize = (GLsizei *) bp; bp += 4; @@ -3405,17 +3322,16 @@ case 5456: { // glGetActiveUniform name = (GLchar *) driver_alloc(sizeof(GLchar) * *bufSize); weglGetActiveUniform(*program,*index,*bufSize,length,size,type,name); int AP = 0; ErlDrvTermData rt[13]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *size; rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *type; rt[AP++] = ERL_DRV_STRING; rt[AP++] = (ErlDrvTermData) name; rt[AP++] = *length; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 3; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 13 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,13); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); + driver_send_term(port,caller,rt,AP); driver_free(name); -}; break; -case 5457: { // glGetAttachedShaders +}; break; +case 5457: { // glGetAttachedShaders GLuint *program = (GLuint *) bp; bp += 4; GLsizei *maxCount = (GLsizei *) bp; bp += 4; GLsizei count[1] = {0}; @@ -3424,41 +3340,38 @@ case 5457: { // glGetAttachedShaders weglGetAttachedShaders(*program,*maxCount,count,obj); int AP = 0; ErlDrvTermData *rt; rt = (ErlDrvTermData *) driver_alloc(sizeof(ErlDrvTermData)*(7 + (*count)*2)); - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); for(int i=0; i < *count; i++) { rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) obj[i];} rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = (*count)+1; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 7 + (*count)*2 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,7 + (*count)*2); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); - driver_free(rt); + driver_send_term(port,caller,rt,AP); + driver_free(rt); driver_free(obj); -}; break; -case 5458: { // glGetAttribLocation +}; break; +case 5458: { // glGetAttribLocation GLuint *program = (GLuint *) bp; bp += 4; GLchar *name = (GLchar *) bp; - int nameLen = strlen((char *)name); bp += nameLen+1+((8-((1+nameLen+4)%8))%8); + int nameLen[1] = {strlen((char *)name)}; bp += nameLen[0]+1+((8-((1+nameLen[0]+4)%8))%8); GLint result = weglGetAttribLocation(*program,name); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5459: { // glGetProgramiv + driver_send_term(port,caller,rt,AP); +}; break; +case 5459: { // glGetProgramiv GLuint *program = (GLuint *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; GLint params[1] = {0}; weglGetProgramiv(*program,*pname,params); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *params; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5460: { // glGetProgramInfoLog + driver_send_term(port,caller,rt,AP); +}; break; +case 5460: { // glGetProgramInfoLog GLuint *program = (GLuint *) bp; bp += 4; GLsizei *bufSize = (GLsizei *) bp; bp += 4; GLsizei length[1] = {0}; @@ -3466,26 +3379,24 @@ case 5460: { // glGetProgramInfoLog infoLog = (GLchar *) driver_alloc(sizeof(GLchar) * *bufSize); weglGetProgramInfoLog(*program,*bufSize,length,infoLog); int AP = 0; ErlDrvTermData rt[7]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_STRING; rt[AP++] = (ErlDrvTermData) infoLog; rt[AP++] = *length; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 7 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,7); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); + driver_send_term(port,caller,rt,AP); driver_free(infoLog); -}; break; -case 5461: { // glGetShaderiv +}; break; +case 5461: { // glGetShaderiv GLuint *shader = (GLuint *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; GLint params[1] = {0}; weglGetShaderiv(*shader,*pname,params); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *params; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5462: { // glGetShaderInfoLog + driver_send_term(port,caller,rt,AP); +}; break; +case 5462: { // glGetShaderInfoLog GLuint *shader = (GLuint *) bp; bp += 4; GLsizei *bufSize = (GLsizei *) bp; bp += 4; GLsizei length[1] = {0}; @@ -3493,14 +3404,13 @@ case 5462: { // glGetShaderInfoLog infoLog = (GLchar *) driver_alloc(sizeof(GLchar) * *bufSize); weglGetShaderInfoLog(*shader,*bufSize,length,infoLog); int AP = 0; ErlDrvTermData rt[7]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_STRING; rt[AP++] = (ErlDrvTermData) infoLog; rt[AP++] = *length; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 7 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,7); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); + driver_send_term(port,caller,rt,AP); driver_free(infoLog); -}; break; -case 5463: { // glGetShaderSource +}; break; +case 5463: { // glGetShaderSource GLuint *shader = (GLuint *) bp; bp += 4; GLsizei *bufSize = (GLsizei *) bp; bp += 4; GLsizei length[1] = {0}; @@ -3508,32 +3418,30 @@ case 5463: { // glGetShaderSource source = (GLchar *) driver_alloc(sizeof(GLchar) * *bufSize); weglGetShaderSource(*shader,*bufSize,length,source); int AP = 0; ErlDrvTermData rt[7]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_STRING; rt[AP++] = (ErlDrvTermData) source; rt[AP++] = *length; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 7 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,7); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); + driver_send_term(port,caller,rt,AP); driver_free(source); -}; break; -case 5464: { // glGetUniformLocation +}; break; +case 5464: { // glGetUniformLocation GLuint *program = (GLuint *) bp; bp += 4; GLchar *name = (GLchar *) bp; - int nameLen = strlen((char *)name); bp += nameLen+1+((8-((1+nameLen+4)%8))%8); + int nameLen[1] = {strlen((char *)name)}; bp += nameLen[0]+1+((8-((1+nameLen[0]+4)%8))%8); GLint result = weglGetUniformLocation(*program,name); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5465: { // glGetUniformfv + driver_send_term(port,caller,rt,AP); +}; break; +case 5465: { // glGetUniformfv GLuint *program = (GLuint *) bp; bp += 4; GLint *location = (GLint *) bp; bp += 4; GLfloat params[16] = {0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0}; weglGetUniformfv(*program,*location,params); int AP = 0; ErlDrvTermData rt[38]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); GLdouble paramsConv[16], *paramsTmp = paramsConv; for(int i=0; i < 16; i++) paramsConv[i] = (GLdouble) params[i]; rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; @@ -3554,16 +3462,15 @@ case 5465: { // glGetUniformfv rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 16; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 38 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,38); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5466: { // glGetUniformiv + driver_send_term(port,caller,rt,AP); +}; break; +case 5466: { // glGetUniformiv GLuint *program = (GLuint *) bp; bp += 4; GLint *location = (GLint *) bp; bp += 4; GLint params[16] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; weglGetUniformiv(*program,*location,params); int AP = 0; ErlDrvTermData rt[38]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); GLint *paramsTmp = params; rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; @@ -3583,16 +3490,15 @@ case 5466: { // glGetUniformiv rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 16; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 38 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,38); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5467: { // glGetVertexAttribdv + driver_send_term(port,caller,rt,AP); +}; break; +case 5467: { // glGetVertexAttribdv GLuint *index = (GLuint *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; GLdouble params[4] = {0.0,0.0,0.0,0.0}; weglGetVertexAttribdv(*index,*pname,params); int AP = 0; ErlDrvTermData rt[14]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); GLdouble *paramsTmp = params; rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; @@ -3600,16 +3506,15 @@ case 5467: { // glGetVertexAttribdv rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5468: { // glGetVertexAttribfv + driver_send_term(port,caller,rt,AP); +}; break; +case 5468: { // glGetVertexAttribfv GLuint *index = (GLuint *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; GLfloat params[4] = {0.0,0.0,0.0,0.0}; weglGetVertexAttribfv(*index,*pname,params); int AP = 0; ErlDrvTermData rt[14]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); GLdouble paramsConv[4], *paramsTmp = paramsConv; for(int i=0; i < 4; i++) paramsConv[i] = (GLdouble) params[i]; rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; @@ -3618,16 +3523,15 @@ case 5468: { // glGetVertexAttribfv rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5469: { // glGetVertexAttribiv + driver_send_term(port,caller,rt,AP); +}; break; +case 5469: { // glGetVertexAttribiv GLuint *index = (GLuint *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; GLint params[4] = {0,0,0,0}; weglGetVertexAttribiv(*index,*pname,params); int AP = 0; ErlDrvTermData rt[14]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); GLint *paramsTmp = params; rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; @@ -3635,297 +3539,294 @@ case 5469: { // glGetVertexAttribiv rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5470: { // glIsProgram + driver_send_term(port,caller,rt,AP); +}; break; +case 5470: { // glIsProgram GLuint *program = (GLuint *) bp; bp += 4; GLboolean result = weglIsProgram(*program); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5471: { // glIsShader + driver_send_term(port,caller,rt,AP); +}; break; +case 5471: { // glIsShader GLuint *shader = (GLuint *) bp; bp += 4; GLboolean result = weglIsShader(*shader); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5472: { // glLinkProgram + driver_send_term(port,caller,rt,AP); +}; break; +case 5472: { // glLinkProgram GLuint *program = (GLuint *) bp; bp += 4; weglLinkProgram(*program); -}; break; -case 5473: { // glShaderSource +}; break; +case 5473: { // glShaderSource GLuint *shader = (GLuint *) bp; bp += 4; int * stringLen = (int *) bp; bp += 4; int * stringTotSize = (int *) bp; bp += 4; GLchar **string; - string = (GLchar **) driver_alloc(sizeof(GLchar *) * *stringLen); + string = (GLchar **) driver_alloc(sizeof(GLchar *) * *stringLen); for(int i=0;i<*stringLen;i++) { string[i] = (GLchar *) bp; bp += 1+strlen(bp);}; bp += (8 - ((0 + *stringTotSize) % 8)) % 8; weglShaderSource(*shader,*stringLen,(const GLchar **) string,NULL); driver_free(string); -}; break; -case 5474: { // glUseProgram +}; break; +case 5474: { // glUseProgram GLuint *program = (GLuint *) bp; bp += 4; weglUseProgram(*program); -}; break; -case 5475: { // glUniform1f +}; break; +case 5475: { // glUniform1f GLint *location = (GLint *) bp; bp += 4; GLfloat *v0 = (GLfloat *) bp; bp += 4; weglUniform1f(*location,*v0); -}; break; -case 5476: { // glUniform2f +}; break; +case 5476: { // glUniform2f GLint *location = (GLint *) bp; bp += 4; GLfloat *v0 = (GLfloat *) bp; bp += 4; GLfloat *v1 = (GLfloat *) bp; bp += 4; weglUniform2f(*location,*v0,*v1); -}; break; -case 5477: { // glUniform3f +}; break; +case 5477: { // glUniform3f GLint *location = (GLint *) bp; bp += 4; GLfloat *v0 = (GLfloat *) bp; bp += 4; GLfloat *v1 = (GLfloat *) bp; bp += 4; GLfloat *v2 = (GLfloat *) bp; bp += 4; weglUniform3f(*location,*v0,*v1,*v2); -}; break; -case 5478: { // glUniform4f +}; break; +case 5478: { // glUniform4f GLint *location = (GLint *) bp; bp += 4; GLfloat *v0 = (GLfloat *) bp; bp += 4; GLfloat *v1 = (GLfloat *) bp; bp += 4; GLfloat *v2 = (GLfloat *) bp; bp += 4; GLfloat *v3 = (GLfloat *) bp; bp += 4; weglUniform4f(*location,*v0,*v1,*v2,*v3); -}; break; -case 5479: { // glUniform1i +}; break; +case 5479: { // glUniform1i GLint *location = (GLint *) bp; bp += 4; GLint *v0 = (GLint *) bp; bp += 4; weglUniform1i(*location,*v0); -}; break; -case 5480: { // glUniform2i +}; break; +case 5480: { // glUniform2i GLint *location = (GLint *) bp; bp += 4; GLint *v0 = (GLint *) bp; bp += 4; GLint *v1 = (GLint *) bp; bp += 4; weglUniform2i(*location,*v0,*v1); -}; break; -case 5481: { // glUniform3i +}; break; +case 5481: { // glUniform3i GLint *location = (GLint *) bp; bp += 4; GLint *v0 = (GLint *) bp; bp += 4; GLint *v1 = (GLint *) bp; bp += 4; GLint *v2 = (GLint *) bp; bp += 4; weglUniform3i(*location,*v0,*v1,*v2); -}; break; -case 5482: { // glUniform4i +}; break; +case 5482: { // glUniform4i GLint *location = (GLint *) bp; bp += 4; GLint *v0 = (GLint *) bp; bp += 4; GLint *v1 = (GLint *) bp; bp += 4; GLint *v2 = (GLint *) bp; bp += 4; GLint *v3 = (GLint *) bp; bp += 4; weglUniform4i(*location,*v0,*v1,*v2,*v3); -}; break; -case 5483: { // glUniform1fv +}; break; +case 5483: { // glUniform1fv GLint *location = (GLint *) bp; bp += 4; int * valueLen = (int *) bp; bp += 4; GLfloat * value = (GLfloat *) bp; bp += (8-((*valueLen*4+0)%8))%8; weglUniform1fv(*location,*valueLen,value); -}; break; -case 5484: { // glUniform2fv +}; break; +case 5484: { // glUniform2fv GLint *location = (GLint *) bp; bp += 4; int *valueLen = (int *) bp; bp += 4; GLfloat * value = (GLfloat *) bp; bp += *valueLen*8; weglUniform2fv(*location,*valueLen,value); -}; break; -case 5485: { // glUniform3fv +}; break; +case 5485: { // glUniform3fv GLint *location = (GLint *) bp; bp += 4; int *valueLen = (int *) bp; bp += 4; GLfloat * value = (GLfloat *) bp; bp += *valueLen*12; weglUniform3fv(*location,*valueLen,value); -}; break; -case 5486: { // glUniform4fv +}; break; +case 5486: { // glUniform4fv GLint *location = (GLint *) bp; bp += 4; int *valueLen = (int *) bp; bp += 4; GLfloat * value = (GLfloat *) bp; bp += *valueLen*16; weglUniform4fv(*location,*valueLen,value); -}; break; -case 5487: { // glUniform1iv +}; break; +case 5487: { // glUniform1iv GLint *location = (GLint *) bp; bp += 4; int * valueLen = (int *) bp; bp += 4; GLint * value = (GLint *) bp; bp += (8-((*valueLen*4+0)%8))%8; weglUniform1iv(*location,*valueLen,value); -}; break; -case 5488: { // glUniform2iv +}; break; +case 5488: { // glUniform2iv GLint *location = (GLint *) bp; bp += 4; int *valueLen = (int *) bp; bp += 4; GLint * value = (GLint *) bp; bp += *valueLen*8; weglUniform2iv(*location,*valueLen,value); -}; break; -case 5489: { // glUniform3iv +}; break; +case 5489: { // glUniform3iv GLint *location = (GLint *) bp; bp += 4; int *valueLen = (int *) bp; bp += 4; GLint * value = (GLint *) bp; bp += *valueLen*12; weglUniform3iv(*location,*valueLen,value); -}; break; -case 5490: { // glUniform4iv +}; break; +case 5490: { // glUniform4iv GLint *location = (GLint *) bp; bp += 4; int *valueLen = (int *) bp; bp += 4; GLint * value = (GLint *) bp; bp += *valueLen*16; weglUniform4iv(*location,*valueLen,value); -}; break; -case 5491: { // glUniformMatrix2fv +}; break; +case 5491: { // glUniformMatrix2fv GLint *location = (GLint *) bp; bp += 4; GLboolean *transpose = (GLboolean *) bp; bp += 1; bp += 3; int *valueLen = (int *) bp; bp += 4; GLfloat * value = (GLfloat *) bp; bp += *valueLen*16; weglUniformMatrix2fv(*location,*valueLen,*transpose,value); -}; break; -case 5492: { // glUniformMatrix3fv +}; break; +case 5492: { // glUniformMatrix3fv GLint *location = (GLint *) bp; bp += 4; GLboolean *transpose = (GLboolean *) bp; bp += 1; bp += 3; int *valueLen = (int *) bp; bp += 4; GLfloat * value = (GLfloat *) bp; bp += *valueLen*36; weglUniformMatrix3fv(*location,*valueLen,*transpose,value); -}; break; -case 5493: { // glUniformMatrix4fv +}; break; +case 5493: { // glUniformMatrix4fv GLint *location = (GLint *) bp; bp += 4; GLboolean *transpose = (GLboolean *) bp; bp += 1; bp += 3; int *valueLen = (int *) bp; bp += 4; GLfloat * value = (GLfloat *) bp; bp += *valueLen*64; weglUniformMatrix4fv(*location,*valueLen,*transpose,value); -}; break; -case 5494: { // glValidateProgram +}; break; +case 5494: { // glValidateProgram GLuint *program = (GLuint *) bp; bp += 4; weglValidateProgram(*program); -}; break; -case 5495: { // glVertexAttrib1dv +}; break; +case 5495: { // glVertexAttrib1dv GLuint *index = (GLuint *) bp; bp += 4; bp += 4; GLdouble *v = (GLdouble *) bp; bp += 8; weglVertexAttrib1dv(*index,v); -}; break; -case 5496: { // glVertexAttrib1fv +}; break; +case 5496: { // glVertexAttrib1fv GLuint *index = (GLuint *) bp; bp += 4; GLfloat *v = (GLfloat *) bp; bp += 4; weglVertexAttrib1fv(*index,v); -}; break; -case 5497: { // glVertexAttrib1sv +}; break; +case 5497: { // glVertexAttrib1sv GLuint *index = (GLuint *) bp; bp += 4; GLshort *v = (GLshort *) bp; bp += 2; weglVertexAttrib1sv(*index,v); -}; break; -case 5498: { // glVertexAttrib2dv +}; break; +case 5498: { // glVertexAttrib2dv GLuint *index = (GLuint *) bp; bp += 4; bp += 4; GLdouble *v = (GLdouble *) bp; bp += 8; weglVertexAttrib2dv(*index,v); -}; break; -case 5499: { // glVertexAttrib2fv +}; break; +case 5499: { // glVertexAttrib2fv GLuint *index = (GLuint *) bp; bp += 4; GLfloat *v = (GLfloat *) bp; bp += 4; weglVertexAttrib2fv(*index,v); -}; break; -case 5500: { // glVertexAttrib2sv +}; break; +case 5500: { // glVertexAttrib2sv GLuint *index = (GLuint *) bp; bp += 4; GLshort *v = (GLshort *) bp; bp += 2; weglVertexAttrib2sv(*index,v); -}; break; -case 5501: { // glVertexAttrib3dv +}; break; +case 5501: { // glVertexAttrib3dv GLuint *index = (GLuint *) bp; bp += 4; bp += 4; GLdouble *v = (GLdouble *) bp; bp += 8; weglVertexAttrib3dv(*index,v); -}; break; -case 5502: { // glVertexAttrib3fv +}; break; +case 5502: { // glVertexAttrib3fv GLuint *index = (GLuint *) bp; bp += 4; GLfloat *v = (GLfloat *) bp; bp += 4; weglVertexAttrib3fv(*index,v); -}; break; -case 5503: { // glVertexAttrib3sv +}; break; +case 5503: { // glVertexAttrib3sv GLuint *index = (GLuint *) bp; bp += 4; GLshort *v = (GLshort *) bp; bp += 2; weglVertexAttrib3sv(*index,v); -}; break; -case 5504: { // glVertexAttrib4Nbv +}; break; +case 5504: { // glVertexAttrib4Nbv GLuint *index = (GLuint *) bp; bp += 4; GLbyte * v = (GLbyte *) bp; bp += 4; weglVertexAttrib4Nbv(*index,v); -}; break; -case 5505: { // glVertexAttrib4Niv +}; break; +case 5505: { // glVertexAttrib4Niv GLuint *index = (GLuint *) bp; bp += 4; GLint * v = (GLint *) bp; bp += 16; weglVertexAttrib4Niv(*index,v); -}; break; -case 5506: { // glVertexAttrib4Nsv +}; break; +case 5506: { // glVertexAttrib4Nsv GLuint *index = (GLuint *) bp; bp += 4; GLshort * v = (GLshort *) bp; bp += 8; weglVertexAttrib4Nsv(*index,v); -}; break; -case 5507: { // glVertexAttrib4Nubv +}; break; +case 5507: { // glVertexAttrib4Nubv GLuint *index = (GLuint *) bp; bp += 4; GLubyte * v = (GLubyte *) bp; bp += 4; weglVertexAttrib4Nubv(*index,v); -}; break; -case 5508: { // glVertexAttrib4Nuiv +}; break; +case 5508: { // glVertexAttrib4Nuiv GLuint *index = (GLuint *) bp; bp += 4; GLuint * v = (GLuint *) bp; bp += 16; weglVertexAttrib4Nuiv(*index,v); -}; break; -case 5509: { // glVertexAttrib4Nusv +}; break; +case 5509: { // glVertexAttrib4Nusv GLuint *index = (GLuint *) bp; bp += 4; GLushort * v = (GLushort *) bp; bp += 8; weglVertexAttrib4Nusv(*index,v); -}; break; -case 5510: { // glVertexAttrib4bv +}; break; +case 5510: { // glVertexAttrib4bv GLuint *index = (GLuint *) bp; bp += 4; GLbyte * v = (GLbyte *) bp; bp += 4; weglVertexAttrib4bv(*index,v); -}; break; -case 5511: { // glVertexAttrib4dv +}; break; +case 5511: { // glVertexAttrib4dv GLuint *index = (GLuint *) bp; bp += 4; bp += 4; GLdouble * v = (GLdouble *) bp; bp += 32; weglVertexAttrib4dv(*index,v); -}; break; -case 5512: { // glVertexAttrib4fv +}; break; +case 5512: { // glVertexAttrib4fv GLuint *index = (GLuint *) bp; bp += 4; GLfloat * v = (GLfloat *) bp; bp += 16; weglVertexAttrib4fv(*index,v); -}; break; -case 5513: { // glVertexAttrib4iv +}; break; +case 5513: { // glVertexAttrib4iv GLuint *index = (GLuint *) bp; bp += 4; GLint * v = (GLint *) bp; bp += 16; weglVertexAttrib4iv(*index,v); -}; break; -case 5514: { // glVertexAttrib4sv +}; break; +case 5514: { // glVertexAttrib4sv GLuint *index = (GLuint *) bp; bp += 4; GLshort * v = (GLshort *) bp; bp += 8; weglVertexAttrib4sv(*index,v); -}; break; -case 5515: { // glVertexAttrib4ubv +}; break; +case 5515: { // glVertexAttrib4ubv GLuint *index = (GLuint *) bp; bp += 4; GLubyte * v = (GLubyte *) bp; bp += 4; weglVertexAttrib4ubv(*index,v); -}; break; -case 5516: { // glVertexAttrib4uiv +}; break; +case 5516: { // glVertexAttrib4uiv GLuint *index = (GLuint *) bp; bp += 4; GLuint * v = (GLuint *) bp; bp += 16; weglVertexAttrib4uiv(*index,v); -}; break; -case 5517: { // glVertexAttrib4usv +}; break; +case 5517: { // glVertexAttrib4usv GLuint *index = (GLuint *) bp; bp += 4; GLushort * v = (GLushort *) bp; bp += 8; weglVertexAttrib4usv(*index,v); -}; break; -case 5518: { // glVertexAttribPointer +}; break; +case 5518: { // glVertexAttribPointer GLuint *index = (GLuint *) bp; bp += 4; GLint *size = (GLint *) bp; bp += 4; GLenum *type = (GLenum *) bp; bp += 4; @@ -3934,80 +3835,80 @@ case 5518: { // glVertexAttribPointer GLsizei *stride = (GLsizei *) bp; bp += 4; GLvoid *pointer = (GLvoid *) * (int *) bp; bp += 4; weglVertexAttribPointer(*index,*size,*type,*normalized,*stride,pointer); -}; break; -case 5519: { // glVertexAttribPointer +}; break; +case 5519: { // glVertexAttribPointer GLuint *index = (GLuint *) bp; bp += 4; GLint *size = (GLint *) bp; bp += 4; GLenum *type = (GLenum *) bp; bp += 4; GLboolean *normalized = (GLboolean *) bp; bp += 1; bp += 3; GLsizei *stride = (GLsizei *) bp; bp += 4; - GLvoid *pointer = (GLvoid *) bins[0]->base; + GLvoid *pointer = (GLvoid *) bins[0]; weglVertexAttribPointer(*index,*size,*type,*normalized,*stride,pointer); -}; break; -case 5520: { // glUniformMatrix2x3fv +}; break; +case 5520: { // glUniformMatrix2x3fv GLint *location = (GLint *) bp; bp += 4; GLboolean *transpose = (GLboolean *) bp; bp += 1; bp += 3; int *valueLen = (int *) bp; bp += 4; GLfloat * value = (GLfloat *) bp; bp += *valueLen*24; weglUniformMatrix2x3fv(*location,*valueLen,*transpose,value); -}; break; -case 5521: { // glUniformMatrix3x2fv +}; break; +case 5521: { // glUniformMatrix3x2fv GLint *location = (GLint *) bp; bp += 4; GLboolean *transpose = (GLboolean *) bp; bp += 1; bp += 3; int *valueLen = (int *) bp; bp += 4; GLfloat * value = (GLfloat *) bp; bp += *valueLen*24; weglUniformMatrix3x2fv(*location,*valueLen,*transpose,value); -}; break; -case 5522: { // glUniformMatrix2x4fv +}; break; +case 5522: { // glUniformMatrix2x4fv GLint *location = (GLint *) bp; bp += 4; GLboolean *transpose = (GLboolean *) bp; bp += 1; bp += 3; int *valueLen = (int *) bp; bp += 4; GLfloat * value = (GLfloat *) bp; bp += *valueLen*32; weglUniformMatrix2x4fv(*location,*valueLen,*transpose,value); -}; break; -case 5523: { // glUniformMatrix4x2fv +}; break; +case 5523: { // glUniformMatrix4x2fv GLint *location = (GLint *) bp; bp += 4; GLboolean *transpose = (GLboolean *) bp; bp += 1; bp += 3; int *valueLen = (int *) bp; bp += 4; GLfloat * value = (GLfloat *) bp; bp += *valueLen*32; weglUniformMatrix4x2fv(*location,*valueLen,*transpose,value); -}; break; -case 5524: { // glUniformMatrix3x4fv +}; break; +case 5524: { // glUniformMatrix3x4fv GLint *location = (GLint *) bp; bp += 4; GLboolean *transpose = (GLboolean *) bp; bp += 1; bp += 3; int *valueLen = (int *) bp; bp += 4; GLfloat * value = (GLfloat *) bp; bp += *valueLen*48; weglUniformMatrix3x4fv(*location,*valueLen,*transpose,value); -}; break; -case 5525: { // glUniformMatrix4x3fv +}; break; +case 5525: { // glUniformMatrix4x3fv GLint *location = (GLint *) bp; bp += 4; GLboolean *transpose = (GLboolean *) bp; bp += 1; bp += 3; int *valueLen = (int *) bp; bp += 4; GLfloat * value = (GLfloat *) bp; bp += *valueLen*48; weglUniformMatrix4x3fv(*location,*valueLen,*transpose,value); -}; break; -case 5526: { // glColorMaski +}; break; +case 5526: { // glColorMaski GLuint *index = (GLuint *) bp; bp += 4; GLboolean *r = (GLboolean *) bp; bp += 1; GLboolean *g = (GLboolean *) bp; bp += 1; GLboolean *b = (GLboolean *) bp; bp += 1; GLboolean *a = (GLboolean *) bp; bp += 1; weglColorMaski(*index,*r,*g,*b,*a); -}; break; -case 5527: { // glGetBooleani_v +}; break; +case 5527: { // glGetBooleani_v GLenum *target = (GLenum *) bp; bp += 4; GLuint *index = (GLuint *) bp; bp += 4; GLboolean data[16] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; weglGetBooleani_v(*target,*index,data); int AP = 0; ErlDrvTermData rt[39]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); GLboolean *dataTmp = data; rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++; rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++; @@ -4027,16 +3928,15 @@ case 5527: { // glGetBooleani_v rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++; rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = 16+1; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 39 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,39); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5528: { // glGetIntegeri_v + driver_send_term(port,caller,rt,AP); +}; break; +case 5528: { // glGetIntegeri_v GLenum *target = (GLenum *) bp; bp += 4; GLuint *index = (GLuint *) bp; bp += 4; GLint data[16] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; weglGetIntegeri_v(*target,*index,data); int AP = 0; ErlDrvTermData rt[39]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); GLint *dataTmp = data; rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++; rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++; @@ -4056,38 +3956,36 @@ case 5528: { // glGetIntegeri_v rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++; rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = 16+1; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 39 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,39); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5529: { // glEnablei + driver_send_term(port,caller,rt,AP); +}; break; +case 5529: { // glEnablei GLenum *target = (GLenum *) bp; bp += 4; GLuint *index = (GLuint *) bp; bp += 4; weglEnablei(*target,*index); -}; break; -case 5530: { // glDisablei +}; break; +case 5530: { // glDisablei GLenum *target = (GLenum *) bp; bp += 4; GLuint *index = (GLuint *) bp; bp += 4; weglDisablei(*target,*index); -}; break; -case 5531: { // glIsEnabledi +}; break; +case 5531: { // glIsEnabledi GLenum *target = (GLenum *) bp; bp += 4; GLuint *index = (GLuint *) bp; bp += 4; GLboolean result = weglIsEnabledi(*target,*index); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5532: { // glBeginTransformFeedback + driver_send_term(port,caller,rt,AP); +}; break; +case 5532: { // glBeginTransformFeedback GLenum *primitiveMode = (GLenum *) bp; bp += 4; weglBeginTransformFeedback(*primitiveMode); -}; break; -case 5533: { // glEndTransformFeedback +}; break; +case 5533: { // glEndTransformFeedback weglEndTransformFeedback(); -}; break; -case 5534: { // glBindBufferRange +}; break; +case 5534: { // glBindBufferRange GLenum *target = (GLenum *) bp; bp += 4; GLuint *index = (GLuint *) bp; bp += 4; GLuint *buffer = (GLuint *) bp; bp += 4; @@ -4095,27 +3993,27 @@ case 5534: { // glBindBufferRange GLintptr offset = (GLintptr) * (GLuint64EXT *) bp; bp += 8; GLsizeiptr size = (GLsizeiptr) * (GLuint64EXT *) bp; bp += 8; weglBindBufferRange(*target,*index,*buffer,offset,size); -}; break; -case 5535: { // glBindBufferBase +}; break; +case 5535: { // glBindBufferBase GLenum *target = (GLenum *) bp; bp += 4; GLuint *index = (GLuint *) bp; bp += 4; GLuint *buffer = (GLuint *) bp; bp += 4; weglBindBufferBase(*target,*index,*buffer); -}; break; -case 5536: { // glTransformFeedbackVaryings +}; break; +case 5536: { // glTransformFeedbackVaryings GLuint *program = (GLuint *) bp; bp += 4; int * varyingsLen = (int *) bp; bp += 4; int * varyingsTotSize = (int *) bp; bp += 4; GLchar **varyings; - varyings = (GLchar **) driver_alloc(sizeof(GLchar *) * *varyingsLen); + varyings = (GLchar **) driver_alloc(sizeof(GLchar *) * *varyingsLen); for(int i=0;i<*varyingsLen;i++) { varyings[i] = (GLchar *) bp; bp += 1+strlen(bp);}; bp += (8 - ((0 + *varyingsTotSize) % 8)) % 8; GLenum *bufferMode = (GLenum *) bp; bp += 4; weglTransformFeedbackVaryings(*program,*varyingsLen,(const GLchar **) varyings,*bufferMode); driver_free(varyings); -}; break; -case 5537: { // glGetTransformFeedbackVarying +}; break; +case 5537: { // glGetTransformFeedbackVarying GLuint *program = (GLuint *) bp; bp += 4; GLuint *index = (GLuint *) bp; bp += 4; GLsizei *bufSize = (GLsizei *) bp; bp += 4; @@ -4126,52 +4024,51 @@ case 5537: { // glGetTransformFeedbackVarying name = (GLchar *) driver_alloc(sizeof(GLchar) * *bufSize); weglGetTransformFeedbackVarying(*program,*index,*bufSize,length,size,type,name); int AP = 0; ErlDrvTermData rt[13]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *size; rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *type; rt[AP++] = ERL_DRV_STRING; rt[AP++] = (ErlDrvTermData) name; rt[AP++] = *length; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 3; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 13 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,13); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); + driver_send_term(port,caller,rt,AP); driver_free(name); -}; break; -case 5538: { // glClampColor +}; break; +case 5538: { // glClampColor GLenum *target = (GLenum *) bp; bp += 4; GLenum *clamp = (GLenum *) bp; bp += 4; weglClampColor(*target,*clamp); -}; break; -case 5539: { // glBeginConditionalRender +}; break; +case 5539: { // glBeginConditionalRender GLuint *id = (GLuint *) bp; bp += 4; GLenum *mode = (GLenum *) bp; bp += 4; weglBeginConditionalRender(*id,*mode); -}; break; -case 5540: { // glEndConditionalRender +}; break; +case 5540: { // glEndConditionalRender weglEndConditionalRender(); -}; break; -case 5541: { // glVertexAttribIPointer +}; break; +case 5541: { // glVertexAttribIPointer GLuint *index = (GLuint *) bp; bp += 4; GLint *size = (GLint *) bp; bp += 4; GLenum *type = (GLenum *) bp; bp += 4; GLsizei *stride = (GLsizei *) bp; bp += 4; GLvoid *pointer = (GLvoid *) * (int *) bp; bp += 4; weglVertexAttribIPointer(*index,*size,*type,*stride,pointer); -}; break; -case 5542: { // glVertexAttribIPointer +}; break; +case 5542: { // glVertexAttribIPointer GLuint *index = (GLuint *) bp; bp += 4; GLint *size = (GLint *) bp; bp += 4; GLenum *type = (GLenum *) bp; bp += 4; GLsizei *stride = (GLsizei *) bp; bp += 4; - GLvoid *pointer = (GLvoid *) bins[0]->base; + GLvoid *pointer = (GLvoid *) bins[0]; weglVertexAttribIPointer(*index,*size,*type,*stride,pointer); -}; break; -case 5543: { // glGetVertexAttribIiv +}; break; +case 5543: { // glGetVertexAttribIiv GLuint *index = (GLuint *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; GLint params[4] = {0,0,0,0}; weglGetVertexAttribIiv(*index,*pname,params); int AP = 0; ErlDrvTermData rt[14]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); GLint *paramsTmp = params; rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; @@ -4179,16 +4076,15 @@ case 5543: { // glGetVertexAttribIiv rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5544: { // glGetVertexAttribIuiv + driver_send_term(port,caller,rt,AP); +}; break; +case 5544: { // glGetVertexAttribIuiv GLuint *index = (GLuint *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; GLuint params[4] = {0,0,0,0}; weglGetVertexAttribIuiv(*index,*pname,params); int AP = 0; ErlDrvTermData rt[14]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); GLuint *paramsTmp = params; rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; @@ -4196,16 +4092,75 @@ case 5544: { // glGetVertexAttribIuiv rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5545: { // glGetUniformuiv + driver_send_term(port,caller,rt,AP); +}; break; +case 5545: { // glVertexAttribI1iv + GLuint *index = (GLuint *) bp; bp += 4; + GLint *v = (GLint *) bp; bp += 4; + weglVertexAttribI1iv(*index,v); +}; break; +case 5546: { // glVertexAttribI2iv + GLuint *index = (GLuint *) bp; bp += 4; + GLint *v = (GLint *) bp; bp += 4; + weglVertexAttribI2iv(*index,v); +}; break; +case 5547: { // glVertexAttribI3iv + GLuint *index = (GLuint *) bp; bp += 4; + GLint *v = (GLint *) bp; bp += 4; + weglVertexAttribI3iv(*index,v); +}; break; +case 5548: { // glVertexAttribI4iv + GLuint *index = (GLuint *) bp; bp += 4; + GLint * v = (GLint *) bp; bp += 16; + weglVertexAttribI4iv(*index,v); +}; break; +case 5549: { // glVertexAttribI1uiv + GLuint *index = (GLuint *) bp; bp += 4; + GLuint *v = (GLuint *) bp; bp += 4; + weglVertexAttribI1uiv(*index,v); +}; break; +case 5550: { // glVertexAttribI2uiv + GLuint *index = (GLuint *) bp; bp += 4; + GLuint *v = (GLuint *) bp; bp += 4; + weglVertexAttribI2uiv(*index,v); +}; break; +case 5551: { // glVertexAttribI3uiv + GLuint *index = (GLuint *) bp; bp += 4; + GLuint *v = (GLuint *) bp; bp += 4; + weglVertexAttribI3uiv(*index,v); +}; break; +case 5552: { // glVertexAttribI4uiv + GLuint *index = (GLuint *) bp; bp += 4; + GLuint * v = (GLuint *) bp; bp += 16; + weglVertexAttribI4uiv(*index,v); +}; break; +case 5553: { // glVertexAttribI4bv + GLuint *index = (GLuint *) bp; bp += 4; + GLbyte * v = (GLbyte *) bp; bp += 4; + weglVertexAttribI4bv(*index,v); +}; break; +case 5554: { // glVertexAttribI4sv + GLuint *index = (GLuint *) bp; bp += 4; + GLshort * v = (GLshort *) bp; bp += 8; + weglVertexAttribI4sv(*index,v); +}; break; +case 5555: { // glVertexAttribI4ubv + GLuint *index = (GLuint *) bp; bp += 4; + GLubyte * v = (GLubyte *) bp; bp += 4; + weglVertexAttribI4ubv(*index,v); +}; break; +case 5556: { // glVertexAttribI4usv + GLuint *index = (GLuint *) bp; bp += 4; + GLushort * v = (GLushort *) bp; bp += 8; + weglVertexAttribI4usv(*index,v); +}; break; +case 5557: { // glGetUniformuiv GLuint *program = (GLuint *) bp; bp += 4; GLint *location = (GLint *) bp; bp += 4; GLuint params[16] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; weglGetUniformuiv(*program,*location,params); int AP = 0; ErlDrvTermData rt[38]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); GLuint *paramsTmp = params; rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; @@ -4225,99 +4180,97 @@ case 5545: { // glGetUniformuiv rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 16; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 38 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,38); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5546: { // glBindFragDataLocation + driver_send_term(port,caller,rt,AP); +}; break; +case 5558: { // glBindFragDataLocation GLuint *program = (GLuint *) bp; bp += 4; GLuint *color = (GLuint *) bp; bp += 4; GLchar *name = (GLchar *) bp; - int nameLen = strlen((char *)name); bp += nameLen+1+((8-((1+nameLen+0)%8))%8); + int nameLen[1] = {strlen((char *)name)}; bp += nameLen[0]+1+((8-((1+nameLen[0]+0)%8))%8); weglBindFragDataLocation(*program,*color,name); -}; break; -case 5547: { // glGetFragDataLocation +}; break; +case 5559: { // glGetFragDataLocation GLuint *program = (GLuint *) bp; bp += 4; GLchar *name = (GLchar *) bp; - int nameLen = strlen((char *)name); bp += nameLen+1+((8-((1+nameLen+4)%8))%8); + int nameLen[1] = {strlen((char *)name)}; bp += nameLen[0]+1+((8-((1+nameLen[0]+4)%8))%8); GLint result = weglGetFragDataLocation(*program,name); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5548: { // glUniform1ui + driver_send_term(port,caller,rt,AP); +}; break; +case 5560: { // glUniform1ui GLint *location = (GLint *) bp; bp += 4; GLuint *v0 = (GLuint *) bp; bp += 4; weglUniform1ui(*location,*v0); -}; break; -case 5549: { // glUniform2ui +}; break; +case 5561: { // glUniform2ui GLint *location = (GLint *) bp; bp += 4; GLuint *v0 = (GLuint *) bp; bp += 4; GLuint *v1 = (GLuint *) bp; bp += 4; weglUniform2ui(*location,*v0,*v1); -}; break; -case 5550: { // glUniform3ui +}; break; +case 5562: { // glUniform3ui GLint *location = (GLint *) bp; bp += 4; GLuint *v0 = (GLuint *) bp; bp += 4; GLuint *v1 = (GLuint *) bp; bp += 4; GLuint *v2 = (GLuint *) bp; bp += 4; weglUniform3ui(*location,*v0,*v1,*v2); -}; break; -case 5551: { // glUniform4ui +}; break; +case 5563: { // glUniform4ui GLint *location = (GLint *) bp; bp += 4; GLuint *v0 = (GLuint *) bp; bp += 4; GLuint *v1 = (GLuint *) bp; bp += 4; GLuint *v2 = (GLuint *) bp; bp += 4; GLuint *v3 = (GLuint *) bp; bp += 4; weglUniform4ui(*location,*v0,*v1,*v2,*v3); -}; break; -case 5552: { // glUniform1uiv +}; break; +case 5564: { // glUniform1uiv GLint *location = (GLint *) bp; bp += 4; int * valueLen = (int *) bp; bp += 4; GLuint * value = (GLuint *) bp; bp += (8-((*valueLen*4+0)%8))%8; weglUniform1uiv(*location,*valueLen,value); -}; break; -case 5553: { // glUniform2uiv +}; break; +case 5565: { // glUniform2uiv GLint *location = (GLint *) bp; bp += 4; int *valueLen = (int *) bp; bp += 4; GLuint * value = (GLuint *) bp; bp += *valueLen*8; weglUniform2uiv(*location,*valueLen,value); -}; break; -case 5554: { // glUniform3uiv +}; break; +case 5566: { // glUniform3uiv GLint *location = (GLint *) bp; bp += 4; int *valueLen = (int *) bp; bp += 4; GLuint * value = (GLuint *) bp; bp += *valueLen*12; weglUniform3uiv(*location,*valueLen,value); -}; break; -case 5555: { // glUniform4uiv +}; break; +case 5567: { // glUniform4uiv GLint *location = (GLint *) bp; bp += 4; int *valueLen = (int *) bp; bp += 4; GLuint * value = (GLuint *) bp; bp += *valueLen*16; weglUniform4uiv(*location,*valueLen,value); -}; break; -case 5556: { // glTexParameterIiv +}; break; +case 5568: { // glTexParameterIiv GLenum *target = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; int *paramsLen = (int *) bp; bp += 4; GLint *params = (GLint *) bp; bp += *paramsLen*4+((*paramsLen)+1)%2*4; weglTexParameterIiv(*target,*pname,params); -}; break; -case 5557: { // glTexParameterIuiv +}; break; +case 5569: { // glTexParameterIuiv GLenum *target = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; int *paramsLen = (int *) bp; bp += 4; GLuint *params = (GLuint *) bp; bp += *paramsLen*4+((*paramsLen)+1)%2*4; weglTexParameterIuiv(*target,*pname,params); -}; break; -case 5558: { // glGetTexParameterIiv +}; break; +case 5570: { // glGetTexParameterIiv GLenum *target = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; GLint params[4] = {0,0,0,0}; weglGetTexParameterIiv(*target,*pname,params); int AP = 0; ErlDrvTermData rt[14]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); GLint *paramsTmp = params; rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; @@ -4325,16 +4278,15 @@ case 5558: { // glGetTexParameterIiv rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5559: { // glGetTexParameterIuiv + driver_send_term(port,caller,rt,AP); +}; break; +case 5571: { // glGetTexParameterIuiv GLenum *target = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; GLuint params[4] = {0,0,0,0}; weglGetTexParameterIuiv(*target,*pname,params); int AP = 0; ErlDrvTermData rt[14]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); GLuint *paramsTmp = params; rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; @@ -4342,255 +4294,289 @@ case 5559: { // glGetTexParameterIuiv rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5560: { // glClearBufferiv + driver_send_term(port,caller,rt,AP); +}; break; +case 5572: { // glClearBufferiv GLenum *buffer = (GLenum *) bp; bp += 4; GLint *drawbuffer = (GLint *) bp; bp += 4; int *valueLen = (int *) bp; bp += 4; GLint *value = (GLint *) bp; bp += *valueLen*4+((*valueLen)+1)%2*4; weglClearBufferiv(*buffer,*drawbuffer,value); -}; break; -case 5561: { // glClearBufferuiv +}; break; +case 5573: { // glClearBufferuiv GLenum *buffer = (GLenum *) bp; bp += 4; GLint *drawbuffer = (GLint *) bp; bp += 4; int *valueLen = (int *) bp; bp += 4; GLuint *value = (GLuint *) bp; bp += *valueLen*4+((*valueLen)+1)%2*4; weglClearBufferuiv(*buffer,*drawbuffer,value); -}; break; -case 5562: { // glClearBufferfv +}; break; +case 5574: { // glClearBufferfv GLenum *buffer = (GLenum *) bp; bp += 4; GLint *drawbuffer = (GLint *) bp; bp += 4; int *valueLen = (int *) bp; bp += 4; GLfloat *value = (GLfloat *) bp; bp += *valueLen*4+((*valueLen)+1)%2*4; weglClearBufferfv(*buffer,*drawbuffer,value); -}; break; -case 5563: { // glClearBufferfi +}; break; +case 5575: { // glClearBufferfi GLenum *buffer = (GLenum *) bp; bp += 4; GLint *drawbuffer = (GLint *) bp; bp += 4; GLfloat *depth = (GLfloat *) bp; bp += 4; GLint *stencil = (GLint *) bp; bp += 4; weglClearBufferfi(*buffer,*drawbuffer,*depth,*stencil); -}; break; -case 5564: { // glGetStringi +}; break; +case 5576: { // glGetStringi GLenum *name = (GLenum *) bp; bp += 4; GLuint *index = (GLuint *) bp; bp += 4; const GLubyte * result = weglGetStringi(*name,*index); int AP = 0; ErlDrvTermData rt[7]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_STRING; rt[AP++] = (ErlDrvTermData) result; rt[AP++] = strlen((char *) result); rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 7 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,7); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5565: { // glVertexAttribI1iv - GLuint *index = (GLuint *) bp; bp += 4; - GLint *v = (GLint *) bp; bp += 4; - weglVertexAttribI1iv(*index,v); -}; break; -case 5566: { // glVertexAttribI2iv - GLuint *index = (GLuint *) bp; bp += 4; - GLint *v = (GLint *) bp; bp += 4; - weglVertexAttribI2iv(*index,v); -}; break; -case 5567: { // glVertexAttribI3iv - GLuint *index = (GLuint *) bp; bp += 4; - GLint *v = (GLint *) bp; bp += 4; - weglVertexAttribI3iv(*index,v); -}; break; -case 5568: { // glVertexAttribI4iv - GLuint *index = (GLuint *) bp; bp += 4; - GLint * v = (GLint *) bp; bp += 16; - weglVertexAttribI4iv(*index,v); -}; break; -case 5569: { // glVertexAttribI1uiv - GLuint *index = (GLuint *) bp; bp += 4; - GLuint *v = (GLuint *) bp; bp += 4; - weglVertexAttribI1uiv(*index,v); -}; break; -case 5570: { // glVertexAttribI2uiv - GLuint *index = (GLuint *) bp; bp += 4; - GLuint *v = (GLuint *) bp; bp += 4; - weglVertexAttribI2uiv(*index,v); -}; break; -case 5571: { // glVertexAttribI3uiv - GLuint *index = (GLuint *) bp; bp += 4; - GLuint *v = (GLuint *) bp; bp += 4; - weglVertexAttribI3uiv(*index,v); -}; break; -case 5572: { // glVertexAttribI4uiv - GLuint *index = (GLuint *) bp; bp += 4; - GLuint * v = (GLuint *) bp; bp += 16; - weglVertexAttribI4uiv(*index,v); -}; break; -case 5573: { // glVertexAttribI4bv - GLuint *index = (GLuint *) bp; bp += 4; - GLbyte * v = (GLbyte *) bp; bp += 4; - weglVertexAttribI4bv(*index,v); -}; break; -case 5574: { // glVertexAttribI4sv - GLuint *index = (GLuint *) bp; bp += 4; - GLshort * v = (GLshort *) bp; bp += 8; - weglVertexAttribI4sv(*index,v); -}; break; -case 5575: { // glVertexAttribI4ubv - GLuint *index = (GLuint *) bp; bp += 4; - GLubyte * v = (GLubyte *) bp; bp += 4; - weglVertexAttribI4ubv(*index,v); -}; break; -case 5576: { // glVertexAttribI4usv - GLuint *index = (GLuint *) bp; bp += 4; - GLushort * v = (GLushort *) bp; bp += 8; - weglVertexAttribI4usv(*index,v); -}; break; -case 5577: { // glDrawArraysInstanced + driver_send_term(port,caller,rt,AP); +}; break; +case 5577: { // glDrawArraysInstanced GLenum *mode = (GLenum *) bp; bp += 4; GLint *first = (GLint *) bp; bp += 4; GLsizei *count = (GLsizei *) bp; bp += 4; GLsizei *primcount = (GLsizei *) bp; bp += 4; weglDrawArraysInstanced(*mode,*first,*count,*primcount); -}; break; -case 5578: { // glDrawElementsInstanced +}; break; +case 5578: { // glDrawElementsInstanced GLenum *mode = (GLenum *) bp; bp += 4; GLsizei *count = (GLsizei *) bp; bp += 4; GLenum *type = (GLenum *) bp; bp += 4; GLvoid *indices = (GLvoid *) * (int *) bp; bp += 4; GLsizei *primcount = (GLsizei *) bp; bp += 4; weglDrawElementsInstanced(*mode,*count,*type,indices,*primcount); -}; break; -case 5579: { // glDrawElementsInstanced +}; break; +case 5579: { // glDrawElementsInstanced GLenum *mode = (GLenum *) bp; bp += 4; GLsizei *count = (GLsizei *) bp; bp += 4; GLenum *type = (GLenum *) bp; bp += 4; - GLvoid *indices = (GLvoid *) bins[0]->base; + GLvoid *indices = (GLvoid *) bins[0]; GLsizei *primcount = (GLsizei *) bp; bp += 4; weglDrawElementsInstanced(*mode,*count,*type,indices,*primcount); -}; break; -case 5580: { // glTexBuffer +}; break; +case 5580: { // glTexBuffer GLenum *target = (GLenum *) bp; bp += 4; GLenum *internalformat = (GLenum *) bp; bp += 4; GLuint *buffer = (GLuint *) bp; bp += 4; weglTexBuffer(*target,*internalformat,*buffer); -}; break; -case 5581: { // glPrimitiveRestartIndex +}; break; +case 5581: { // glPrimitiveRestartIndex GLuint *index = (GLuint *) bp; bp += 4; weglPrimitiveRestartIndex(*index); -}; break; -case 5582: { // glLoadTransposeMatrixfARB +}; break; +case 5582: { // glGetInteger64i_v + GLenum *target = (GLenum *) bp; bp += 4; + GLuint *index = (GLuint *) bp; bp += 4; + GLint64 data[16] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; + weglGetInteger64i_v(*target,*index,data); + int AP = 0; ErlDrvTermData rt[39]; + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); + GLint64 *dataTmp = data; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++; + rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = 16+1; + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; + driver_send_term(port,caller,rt,AP); +}; break; +case 5583: { // glGetBufferParameteri64v + GLenum *target = (GLenum *) bp; bp += 4; + GLenum *pname = (GLenum *) bp; bp += 4; + GLint64 params[16] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; + weglGetBufferParameteri64v(*target,*pname,params); + int AP = 0; ErlDrvTermData rt[39]; + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); + GLint64 *paramsTmp = params; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = 16+1; + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; + driver_send_term(port,caller,rt,AP); +}; break; +case 5584: { // glFramebufferTexture + GLenum *target = (GLenum *) bp; bp += 4; + GLenum *attachment = (GLenum *) bp; bp += 4; + GLuint *texture = (GLuint *) bp; bp += 4; + GLint *level = (GLint *) bp; bp += 4; + weglFramebufferTexture(*target,*attachment,*texture,*level); +}; break; +case 5585: { // glVertexAttribDivisor + GLuint *index = (GLuint *) bp; bp += 4; + GLuint *divisor = (GLuint *) bp; bp += 4; + weglVertexAttribDivisor(*index,*divisor); +}; break; +case 5586: { // glMinSampleShading + GLclampf *value = (GLclampf *) bp; bp += 4; + weglMinSampleShading(*value); +}; break; +case 5587: { // glBlendEquationi + GLuint *buf = (GLuint *) bp; bp += 4; + GLenum *mode = (GLenum *) bp; bp += 4; + weglBlendEquationi(*buf,*mode); +}; break; +case 5588: { // glBlendEquationSeparatei + GLuint *buf = (GLuint *) bp; bp += 4; + GLenum *modeRGB = (GLenum *) bp; bp += 4; + GLenum *modeAlpha = (GLenum *) bp; bp += 4; + weglBlendEquationSeparatei(*buf,*modeRGB,*modeAlpha); +}; break; +case 5589: { // glBlendFunci + GLuint *buf = (GLuint *) bp; bp += 4; + GLenum *src = (GLenum *) bp; bp += 4; + GLenum *dst = (GLenum *) bp; bp += 4; + weglBlendFunci(*buf,*src,*dst); +}; break; +case 5590: { // glBlendFuncSeparatei + GLuint *buf = (GLuint *) bp; bp += 4; + GLenum *srcRGB = (GLenum *) bp; bp += 4; + GLenum *dstRGB = (GLenum *) bp; bp += 4; + GLenum *srcAlpha = (GLenum *) bp; bp += 4; + GLenum *dstAlpha = (GLenum *) bp; bp += 4; + weglBlendFuncSeparatei(*buf,*srcRGB,*dstRGB,*srcAlpha,*dstAlpha); +}; break; +case 5591: { // glLoadTransposeMatrixfARB GLfloat * m = (GLfloat *) bp; bp += 64; weglLoadTransposeMatrixfARB(m); -}; break; -case 5583: { // glLoadTransposeMatrixdARB +}; break; +case 5592: { // glLoadTransposeMatrixdARB GLdouble * m = (GLdouble *) bp; bp += 128; weglLoadTransposeMatrixdARB(m); -}; break; -case 5584: { // glMultTransposeMatrixfARB +}; break; +case 5593: { // glMultTransposeMatrixfARB GLfloat * m = (GLfloat *) bp; bp += 64; weglMultTransposeMatrixfARB(m); -}; break; -case 5585: { // glMultTransposeMatrixdARB +}; break; +case 5594: { // glMultTransposeMatrixdARB GLdouble * m = (GLdouble *) bp; bp += 128; weglMultTransposeMatrixdARB(m); -}; break; -case 5586: { // glWeightbvARB +}; break; +case 5595: { // glWeightbvARB int * weightsLen = (int *) bp; bp += 4; GLbyte * weights = (GLbyte *) bp; bp += (8-((*weightsLen*1+4)%8))%8; weglWeightbvARB(*weightsLen,weights); -}; break; -case 5587: { // glWeightsvARB +}; break; +case 5596: { // glWeightsvARB int * weightsLen = (int *) bp; bp += 4; GLshort * weights = (GLshort *) bp; bp += (8-((*weightsLen*2+4)%8))%8; weglWeightsvARB(*weightsLen,weights); -}; break; -case 5588: { // glWeightivARB +}; break; +case 5597: { // glWeightivARB int * weightsLen = (int *) bp; bp += 4; GLint * weights = (GLint *) bp; bp += (8-((*weightsLen*4+4)%8))%8; weglWeightivARB(*weightsLen,weights); -}; break; -case 5589: { // glWeightfvARB +}; break; +case 5598: { // glWeightfvARB int * weightsLen = (int *) bp; bp += 4; GLfloat * weights = (GLfloat *) bp; bp += (8-((*weightsLen*4+4)%8))%8; weglWeightfvARB(*weightsLen,weights); -}; break; -case 5590: { // glWeightdvARB +}; break; +case 5599: { // glWeightdvARB int * weightsLen = (int *) bp; bp += 8; GLdouble * weights = (GLdouble *) bp; bp += (8-((*weightsLen*8+0)%8))%8; weglWeightdvARB(*weightsLen,weights); -}; break; -case 5591: { // glWeightubvARB +}; break; +case 5600: { // glWeightubvARB int * weightsLen = (int *) bp; bp += 4; GLubyte * weights = (GLubyte *) bp; bp += (8-((*weightsLen*1+4)%8))%8; weglWeightubvARB(*weightsLen,weights); -}; break; -case 5592: { // glWeightusvARB +}; break; +case 5601: { // glWeightusvARB int * weightsLen = (int *) bp; bp += 4; GLushort * weights = (GLushort *) bp; bp += (8-((*weightsLen*2+4)%8))%8; weglWeightusvARB(*weightsLen,weights); -}; break; -case 5593: { // glWeightuivARB +}; break; +case 5602: { // glWeightuivARB int * weightsLen = (int *) bp; bp += 4; GLuint * weights = (GLuint *) bp; bp += (8-((*weightsLen*4+4)%8))%8; weglWeightuivARB(*weightsLen,weights); -}; break; -case 5594: { // glVertexBlendARB +}; break; +case 5603: { // glVertexBlendARB GLint *count = (GLint *) bp; bp += 4; weglVertexBlendARB(*count); -}; break; -case 5595: { // glCurrentPaletteMatrixARB +}; break; +case 5604: { // glCurrentPaletteMatrixARB GLint *index = (GLint *) bp; bp += 4; weglCurrentPaletteMatrixARB(*index); -}; break; -case 5596: { // glMatrixIndexubvARB +}; break; +case 5605: { // glMatrixIndexubvARB int * indicesLen = (int *) bp; bp += 4; GLubyte * indices = (GLubyte *) bp; bp += (8-((*indicesLen*1+4)%8))%8; weglMatrixIndexubvARB(*indicesLen,indices); -}; break; -case 5597: { // glMatrixIndexusvARB +}; break; +case 5606: { // glMatrixIndexusvARB int * indicesLen = (int *) bp; bp += 4; GLushort * indices = (GLushort *) bp; bp += (8-((*indicesLen*2+4)%8))%8; weglMatrixIndexusvARB(*indicesLen,indices); -}; break; -case 5598: { // glMatrixIndexuivARB +}; break; +case 5607: { // glMatrixIndexuivARB int * indicesLen = (int *) bp; bp += 4; GLuint * indices = (GLuint *) bp; bp += (8-((*indicesLen*4+4)%8))%8; weglMatrixIndexuivARB(*indicesLen,indices); -}; break; -case 5599: { // glProgramStringARB +}; break; +case 5608: { // glProgramStringARB GLenum *target = (GLenum *) bp; bp += 4; GLenum *format = (GLenum *) bp; bp += 4; GLvoid *string = (GLvoid *) bp; - int stringLen = strlen((char *)string); bp += stringLen+1+((8-((1+stringLen+0)%8))%8); - weglProgramStringARB(*target,*format,stringLen,string); -}; break; -case 5600: { // glBindProgramARB + int stringLen[1] = {strlen((char *)string)}; bp += stringLen[0]+1+((8-((1+stringLen[0]+0)%8))%8); + weglProgramStringARB(*target,*format,*stringLen,string); +}; break; +case 5609: { // glBindProgramARB GLenum *target = (GLenum *) bp; bp += 4; GLuint *program = (GLuint *) bp; bp += 4; weglBindProgramARB(*target,*program); -}; break; -case 5601: { // glDeleteProgramsARB +}; break; +case 5610: { // glDeleteProgramsARB int * programsLen = (int *) bp; bp += 4; GLuint * programs = (GLuint *) bp; bp += (8-((*programsLen*4+4)%8))%8; weglDeleteProgramsARB(*programsLen,programs); -}; break; -case 5602: { // glGenProgramsARB +}; break; +case 5611: { // glGenProgramsARB GLsizei *n = (GLsizei *) bp; bp += 4; GLuint *programs; programs = (GLuint *) driver_alloc(sizeof(GLuint) * *n); weglGenProgramsARB(*n,programs); int AP = 0; ErlDrvTermData *rt; rt = (ErlDrvTermData *) driver_alloc(sizeof(ErlDrvTermData)*(7 + (*n)*2)); - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); for(int i=0; i < *n; i++) { rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) programs[i];} rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = (*n)+1; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 7 + (*n)*2 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,7 + (*n)*2); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); - driver_free(rt); + driver_send_term(port,caller,rt,AP); + driver_free(rt); driver_free(programs); -}; break; -case 5603: { // glProgramEnvParameter4dARB +}; break; +case 5612: { // glProgramEnvParameter4dARB GLenum *target = (GLenum *) bp; bp += 4; GLuint *index = (GLuint *) bp; bp += 4; GLdouble *x = (GLdouble *) bp; bp += 8; @@ -4598,14 +4584,14 @@ case 5603: { // glProgramEnvParameter4dARB GLdouble *z = (GLdouble *) bp; bp += 8; GLdouble *w = (GLdouble *) bp; bp += 8; weglProgramEnvParameter4dARB(*target,*index,*x,*y,*z,*w); -}; break; -case 5604: { // glProgramEnvParameter4dvARB +}; break; +case 5613: { // glProgramEnvParameter4dvARB GLenum *target = (GLenum *) bp; bp += 4; GLuint *index = (GLuint *) bp; bp += 4; GLdouble * params = (GLdouble *) bp; bp += 32; weglProgramEnvParameter4dvARB(*target,*index,params); -}; break; -case 5605: { // glProgramEnvParameter4fARB +}; break; +case 5614: { // glProgramEnvParameter4fARB GLenum *target = (GLenum *) bp; bp += 4; GLuint *index = (GLuint *) bp; bp += 4; GLfloat *x = (GLfloat *) bp; bp += 4; @@ -4613,14 +4599,14 @@ case 5605: { // glProgramEnvParameter4fARB GLfloat *z = (GLfloat *) bp; bp += 4; GLfloat *w = (GLfloat *) bp; bp += 4; weglProgramEnvParameter4fARB(*target,*index,*x,*y,*z,*w); -}; break; -case 5606: { // glProgramEnvParameter4fvARB +}; break; +case 5615: { // glProgramEnvParameter4fvARB GLenum *target = (GLenum *) bp; bp += 4; GLuint *index = (GLuint *) bp; bp += 4; GLfloat * params = (GLfloat *) bp; bp += 16; weglProgramEnvParameter4fvARB(*target,*index,params); -}; break; -case 5607: { // glProgramLocalParameter4dARB +}; break; +case 5616: { // glProgramLocalParameter4dARB GLenum *target = (GLenum *) bp; bp += 4; GLuint *index = (GLuint *) bp; bp += 4; GLdouble *x = (GLdouble *) bp; bp += 8; @@ -4628,14 +4614,14 @@ case 5607: { // glProgramLocalParameter4dARB GLdouble *z = (GLdouble *) bp; bp += 8; GLdouble *w = (GLdouble *) bp; bp += 8; weglProgramLocalParameter4dARB(*target,*index,*x,*y,*z,*w); -}; break; -case 5608: { // glProgramLocalParameter4dvARB +}; break; +case 5617: { // glProgramLocalParameter4dvARB GLenum *target = (GLenum *) bp; bp += 4; GLuint *index = (GLuint *) bp; bp += 4; GLdouble * params = (GLdouble *) bp; bp += 32; weglProgramLocalParameter4dvARB(*target,*index,params); -}; break; -case 5609: { // glProgramLocalParameter4fARB +}; break; +case 5618: { // glProgramLocalParameter4fARB GLenum *target = (GLenum *) bp; bp += 4; GLuint *index = (GLuint *) bp; bp += 4; GLfloat *x = (GLfloat *) bp; bp += 4; @@ -4643,20 +4629,20 @@ case 5609: { // glProgramLocalParameter4fARB GLfloat *z = (GLfloat *) bp; bp += 4; GLfloat *w = (GLfloat *) bp; bp += 4; weglProgramLocalParameter4fARB(*target,*index,*x,*y,*z,*w); -}; break; -case 5610: { // glProgramLocalParameter4fvARB +}; break; +case 5619: { // glProgramLocalParameter4fvARB GLenum *target = (GLenum *) bp; bp += 4; GLuint *index = (GLuint *) bp; bp += 4; GLfloat * params = (GLfloat *) bp; bp += 16; weglProgramLocalParameter4fvARB(*target,*index,params); -}; break; -case 5611: { // glGetProgramEnvParameterdvARB +}; break; +case 5620: { // glGetProgramEnvParameterdvARB GLenum *target = (GLenum *) bp; bp += 4; GLuint *index = (GLuint *) bp; bp += 4; GLdouble params[4] = {0.0,0.0,0.0,0.0}; weglGetProgramEnvParameterdvARB(*target,*index,params); int AP = 0; ErlDrvTermData rt[14]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); GLdouble *paramsTmp = params; rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; @@ -4664,16 +4650,15 @@ case 5611: { // glGetProgramEnvParameterdvARB rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5612: { // glGetProgramEnvParameterfvARB + driver_send_term(port,caller,rt,AP); +}; break; +case 5621: { // glGetProgramEnvParameterfvARB GLenum *target = (GLenum *) bp; bp += 4; GLuint *index = (GLuint *) bp; bp += 4; GLfloat params[4] = {0.0,0.0,0.0,0.0}; weglGetProgramEnvParameterfvARB(*target,*index,params); int AP = 0; ErlDrvTermData rt[14]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); GLdouble paramsConv[4], *paramsTmp = paramsConv; for(int i=0; i < 4; i++) paramsConv[i] = (GLdouble) params[i]; rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; @@ -4682,16 +4667,15 @@ case 5612: { // glGetProgramEnvParameterfvARB rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5613: { // glGetProgramLocalParameterdvARB + driver_send_term(port,caller,rt,AP); +}; break; +case 5622: { // glGetProgramLocalParameterdvARB GLenum *target = (GLenum *) bp; bp += 4; GLuint *index = (GLuint *) bp; bp += 4; GLdouble params[4] = {0.0,0.0,0.0,0.0}; weglGetProgramLocalParameterdvARB(*target,*index,params); int AP = 0; ErlDrvTermData rt[14]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); GLdouble *paramsTmp = params; rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; @@ -4699,16 +4683,15 @@ case 5613: { // glGetProgramLocalParameterdvARB rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5614: { // glGetProgramLocalParameterfvARB + driver_send_term(port,caller,rt,AP); +}; break; +case 5623: { // glGetProgramLocalParameterfvARB GLenum *target = (GLenum *) bp; bp += 4; GLuint *index = (GLuint *) bp; bp += 4; GLfloat params[4] = {0.0,0.0,0.0,0.0}; weglGetProgramLocalParameterfvARB(*target,*index,params); int AP = 0; ErlDrvTermData rt[14]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); GLdouble paramsConv[4], *paramsTmp = paramsConv; for(int i=0; i < 4; i++) paramsConv[i] = (GLdouble) params[i]; rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; @@ -4717,117 +4700,139 @@ case 5614: { // glGetProgramLocalParameterfvARB rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5615: { // glGetProgramStringARB + driver_send_term(port,caller,rt,AP); +}; break; +case 5624: { // glGetProgramStringARB GLenum *target = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; - GLvoid *string = (GLvoid *) bins[0]->base; + GLvoid *string = (GLvoid *) bins[0]; weglGetProgramStringARB(*target,*pname,string); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "ok"); rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5616: { // glDeleteObjectARB + driver_send_term(port,caller,rt,AP); +}; break; +case 5625: { // glGetBufferParameterivARB + GLenum *target = (GLenum *) bp; bp += 4; + GLenum *pname = (GLenum *) bp; bp += 4; + GLint params[16] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; + weglGetBufferParameterivARB(*target,*pname,params); + int AP = 0; ErlDrvTermData rt[39]; + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); + GLint *paramsTmp = params; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = 16+1; + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; + driver_send_term(port,caller,rt,AP); +}; break; +case 5626: { // glDeleteObjectARB GLhandleARB obj = (GLhandleARB) * (GLuint64EXT *) bp; bp += 8; weglDeleteObjectARB(obj); -}; break; -case 5617: { // glGetHandleARB +}; break; +case 5627: { // glGetHandleARB GLenum *pname = (GLenum *) bp; bp += 4; GLhandleARB result = weglGetHandleARB(*pname); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5618: { // glDetachObjectARB + driver_send_term(port,caller,rt,AP); +}; break; +case 5628: { // glDetachObjectARB GLhandleARB containerObj = (GLhandleARB) * (GLuint64EXT *) bp; bp += 8; GLhandleARB attachedObj = (GLhandleARB) * (GLuint64EXT *) bp; bp += 8; weglDetachObjectARB(containerObj,attachedObj); -}; break; -case 5619: { // glCreateShaderObjectARB +}; break; +case 5629: { // glCreateShaderObjectARB GLenum *shaderType = (GLenum *) bp; bp += 4; GLhandleARB result = weglCreateShaderObjectARB(*shaderType); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5620: { // glShaderSourceARB + driver_send_term(port,caller,rt,AP); +}; break; +case 5630: { // glShaderSourceARB GLhandleARB shaderObj = (GLhandleARB) * (GLuint64EXT *) bp; bp += 8; int * stringLen = (int *) bp; bp += 4; int * stringTotSize = (int *) bp; bp += 4; GLchar **string; - string = (GLchar **) driver_alloc(sizeof(GLchar *) * *stringLen); + string = (GLchar **) driver_alloc(sizeof(GLchar *) * *stringLen); for(int i=0;i<*stringLen;i++) { string[i] = (GLchar *) bp; bp += 1+strlen(bp);}; bp += (8 - ((4 + *stringTotSize) % 8)) % 8; weglShaderSourceARB(shaderObj,*stringLen,(const GLchar **) string,NULL); driver_free(string); -}; break; -case 5621: { // glCompileShaderARB +}; break; +case 5631: { // glCompileShaderARB GLhandleARB shaderObj = (GLhandleARB) * (GLuint64EXT *) bp; bp += 8; weglCompileShaderARB(shaderObj); -}; break; -case 5622: { // glCreateProgramObjectARB +}; break; +case 5632: { // glCreateProgramObjectARB GLhandleARB result = weglCreateProgramObjectARB(); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5623: { // glAttachObjectARB + driver_send_term(port,caller,rt,AP); +}; break; +case 5633: { // glAttachObjectARB GLhandleARB containerObj = (GLhandleARB) * (GLuint64EXT *) bp; bp += 8; GLhandleARB obj = (GLhandleARB) * (GLuint64EXT *) bp; bp += 8; weglAttachObjectARB(containerObj,obj); -}; break; -case 5624: { // glLinkProgramARB +}; break; +case 5634: { // glLinkProgramARB GLhandleARB programObj = (GLhandleARB) * (GLuint64EXT *) bp; bp += 8; weglLinkProgramARB(programObj); -}; break; -case 5625: { // glUseProgramObjectARB +}; break; +case 5635: { // glUseProgramObjectARB GLhandleARB programObj = (GLhandleARB) * (GLuint64EXT *) bp; bp += 8; weglUseProgramObjectARB(programObj); -}; break; -case 5626: { // glValidateProgramARB +}; break; +case 5636: { // glValidateProgramARB GLhandleARB programObj = (GLhandleARB) * (GLuint64EXT *) bp; bp += 8; weglValidateProgramARB(programObj); -}; break; -case 5627: { // glGetObjectParameterfvARB +}; break; +case 5637: { // glGetObjectParameterfvARB GLhandleARB obj = (GLhandleARB) * (GLuint64EXT *) bp; bp += 8; GLenum *pname = (GLenum *) bp; bp += 4; GLfloat params[1] = {0.0}; weglGetObjectParameterfvARB(obj,*pname,params); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); GLdouble paramsConv = (double) *params; rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) ¶msConv; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5628: { // glGetObjectParameterivARB + driver_send_term(port,caller,rt,AP); +}; break; +case 5638: { // glGetObjectParameterivARB GLhandleARB obj = (GLhandleARB) * (GLuint64EXT *) bp; bp += 8; GLenum *pname = (GLenum *) bp; bp += 4; GLint params[1] = {0}; weglGetObjectParameterivARB(obj,*pname,params); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *params; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5629: { // glGetInfoLogARB + driver_send_term(port,caller,rt,AP); +}; break; +case 5639: { // glGetInfoLogARB GLhandleARB obj = (GLhandleARB) * (GLuint64EXT *) bp; bp += 8; GLsizei *maxLength = (GLsizei *) bp; bp += 4; GLsizei length[1] = {0}; @@ -4835,14 +4840,13 @@ case 5629: { // glGetInfoLogARB infoLog = (GLchar *) driver_alloc(sizeof(GLchar) * *maxLength); weglGetInfoLogARB(obj,*maxLength,length,infoLog); int AP = 0; ErlDrvTermData rt[7]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_STRING; rt[AP++] = (ErlDrvTermData) infoLog; rt[AP++] = *length; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 7 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,7); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); + driver_send_term(port,caller,rt,AP); driver_free(infoLog); -}; break; -case 5630: { // glGetAttachedObjectsARB +}; break; +case 5640: { // glGetAttachedObjectsARB GLhandleARB containerObj = (GLhandleARB) * (GLuint64EXT *) bp; bp += 8; GLsizei *maxCount = (GLsizei *) bp; bp += 4; GLsizei count[1] = {0}; @@ -4851,29 +4855,27 @@ case 5630: { // glGetAttachedObjectsARB weglGetAttachedObjectsARB(containerObj,*maxCount,count,obj); int AP = 0; ErlDrvTermData *rt; rt = (ErlDrvTermData *) driver_alloc(sizeof(ErlDrvTermData)*(7 + (*count)*2)); - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); for(int i=0; i < *count; i++) { rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) obj[i];} rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = (*count)+1; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 7 + (*count)*2 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,7 + (*count)*2); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); - driver_free(rt); + driver_send_term(port,caller,rt,AP); + driver_free(rt); driver_free(obj); -}; break; -case 5631: { // glGetUniformLocationARB +}; break; +case 5641: { // glGetUniformLocationARB GLhandleARB programObj = (GLhandleARB) * (GLuint64EXT *) bp; bp += 8; GLchar *name = (GLchar *) bp; - int nameLen = strlen((char *)name); bp += nameLen+1+((8-((1+nameLen+0)%8))%8); + int nameLen[1] = {strlen((char *)name)}; bp += nameLen[0]+1+((8-((1+nameLen[0]+0)%8))%8); GLint result = weglGetUniformLocationARB(programObj,name); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5632: { // glGetActiveUniformARB + driver_send_term(port,caller,rt,AP); +}; break; +case 5642: { // glGetActiveUniformARB GLhandleARB programObj = (GLhandleARB) * (GLuint64EXT *) bp; bp += 8; GLuint *index = (GLuint *) bp; bp += 4; GLsizei *maxLength = (GLsizei *) bp; bp += 4; @@ -4884,23 +4886,22 @@ case 5632: { // glGetActiveUniformARB name = (GLchar *) driver_alloc(sizeof(GLchar) * *maxLength); weglGetActiveUniformARB(programObj,*index,*maxLength,length,size,type,name); int AP = 0; ErlDrvTermData rt[13]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *size; rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *type; rt[AP++] = ERL_DRV_STRING; rt[AP++] = (ErlDrvTermData) name; rt[AP++] = *length; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 3; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 13 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,13); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); + driver_send_term(port,caller,rt,AP); driver_free(name); -}; break; -case 5633: { // glGetUniformfvARB +}; break; +case 5643: { // glGetUniformfvARB GLhandleARB programObj = (GLhandleARB) * (GLuint64EXT *) bp; bp += 8; GLint *location = (GLint *) bp; bp += 4; GLfloat params[16] = {0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0}; weglGetUniformfvARB(programObj,*location,params); int AP = 0; ErlDrvTermData rt[38]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); GLdouble paramsConv[16], *paramsTmp = paramsConv; for(int i=0; i < 16; i++) paramsConv[i] = (GLdouble) params[i]; rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; @@ -4921,16 +4922,15 @@ case 5633: { // glGetUniformfvARB rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 16; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 38 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,38); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5634: { // glGetUniformivARB + driver_send_term(port,caller,rt,AP); +}; break; +case 5644: { // glGetUniformivARB GLhandleARB programObj = (GLhandleARB) * (GLuint64EXT *) bp; bp += 8; GLint *location = (GLint *) bp; bp += 4; GLint params[16] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; weglGetUniformivARB(programObj,*location,params); int AP = 0; ErlDrvTermData rt[38]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); GLint *paramsTmp = params; rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; @@ -4950,10 +4950,9 @@ case 5634: { // glGetUniformivARB rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 16; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 38 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,38); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5635: { // glGetShaderSourceARB + driver_send_term(port,caller,rt,AP); +}; break; +case 5645: { // glGetShaderSourceARB GLhandleARB obj = (GLhandleARB) * (GLuint64EXT *) bp; bp += 8; GLsizei *maxLength = (GLsizei *) bp; bp += 4; GLsizei length[1] = {0}; @@ -4961,21 +4960,20 @@ case 5635: { // glGetShaderSourceARB source = (GLchar *) driver_alloc(sizeof(GLchar) * *maxLength); weglGetShaderSourceARB(obj,*maxLength,length,source); int AP = 0; ErlDrvTermData rt[7]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_STRING; rt[AP++] = (ErlDrvTermData) source; rt[AP++] = *length; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 7 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,7); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); + driver_send_term(port,caller,rt,AP); driver_free(source); -}; break; -case 5636: { // glBindAttribLocationARB +}; break; +case 5646: { // glBindAttribLocationARB GLhandleARB programObj = (GLhandleARB) * (GLuint64EXT *) bp; bp += 8; GLuint *index = (GLuint *) bp; bp += 4; GLchar *name = (GLchar *) bp; - int nameLen = strlen((char *)name); bp += nameLen+1+((8-((1+nameLen+4)%8))%8); + int nameLen[1] = {strlen((char *)name)}; bp += nameLen[0]+1+((8-((1+nameLen[0]+4)%8))%8); weglBindAttribLocationARB(programObj,*index,name); -}; break; -case 5637: { // glGetActiveAttribARB +}; break; +case 5647: { // glGetActiveAttribARB GLhandleARB programObj = (GLhandleARB) * (GLuint64EXT *) bp; bp += 8; GLuint *index = (GLuint *) bp; bp += 4; GLsizei *maxLength = (GLsizei *) bp; bp += 4; @@ -4986,148 +4984,140 @@ case 5637: { // glGetActiveAttribARB name = (GLchar *) driver_alloc(sizeof(GLchar) * *maxLength); weglGetActiveAttribARB(programObj,*index,*maxLength,length,size,type,name); int AP = 0; ErlDrvTermData rt[13]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *size; rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *type; rt[AP++] = ERL_DRV_STRING; rt[AP++] = (ErlDrvTermData) name; rt[AP++] = *length; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 3; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 13 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,13); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); + driver_send_term(port,caller,rt,AP); driver_free(name); -}; break; -case 5638: { // glGetAttribLocationARB +}; break; +case 5648: { // glGetAttribLocationARB GLhandleARB programObj = (GLhandleARB) * (GLuint64EXT *) bp; bp += 8; GLchar *name = (GLchar *) bp; - int nameLen = strlen((char *)name); bp += nameLen+1+((8-((1+nameLen+0)%8))%8); + int nameLen[1] = {strlen((char *)name)}; bp += nameLen[0]+1+((8-((1+nameLen[0]+0)%8))%8); GLint result = weglGetAttribLocationARB(programObj,name); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5639: { // glIsRenderbuffer + driver_send_term(port,caller,rt,AP); +}; break; +case 5649: { // glIsRenderbuffer GLuint *renderbuffer = (GLuint *) bp; bp += 4; GLboolean result = weglIsRenderbuffer(*renderbuffer); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5640: { // glBindRenderbuffer + driver_send_term(port,caller,rt,AP); +}; break; +case 5650: { // glBindRenderbuffer GLenum *target = (GLenum *) bp; bp += 4; GLuint *renderbuffer = (GLuint *) bp; bp += 4; weglBindRenderbuffer(*target,*renderbuffer); -}; break; -case 5641: { // glDeleteRenderbuffers +}; break; +case 5651: { // glDeleteRenderbuffers int * renderbuffersLen = (int *) bp; bp += 4; GLuint * renderbuffers = (GLuint *) bp; bp += (8-((*renderbuffersLen*4+4)%8))%8; weglDeleteRenderbuffers(*renderbuffersLen,renderbuffers); -}; break; -case 5642: { // glGenRenderbuffers +}; break; +case 5652: { // glGenRenderbuffers GLsizei *n = (GLsizei *) bp; bp += 4; GLuint *renderbuffers; renderbuffers = (GLuint *) driver_alloc(sizeof(GLuint) * *n); weglGenRenderbuffers(*n,renderbuffers); int AP = 0; ErlDrvTermData *rt; rt = (ErlDrvTermData *) driver_alloc(sizeof(ErlDrvTermData)*(7 + (*n)*2)); - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); for(int i=0; i < *n; i++) { rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) renderbuffers[i];} rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = (*n)+1; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 7 + (*n)*2 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,7 + (*n)*2); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); - driver_free(rt); + driver_send_term(port,caller,rt,AP); + driver_free(rt); driver_free(renderbuffers); -}; break; -case 5643: { // glRenderbufferStorage +}; break; +case 5653: { // glRenderbufferStorage GLenum *target = (GLenum *) bp; bp += 4; GLenum *internalformat = (GLenum *) bp; bp += 4; GLsizei *width = (GLsizei *) bp; bp += 4; GLsizei *height = (GLsizei *) bp; bp += 4; weglRenderbufferStorage(*target,*internalformat,*width,*height); -}; break; -case 5644: { // glGetRenderbufferParameteriv +}; break; +case 5654: { // glGetRenderbufferParameteriv GLenum *target = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; GLint params[1] = {0}; weglGetRenderbufferParameteriv(*target,*pname,params); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *params; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5645: { // glIsFramebuffer + driver_send_term(port,caller,rt,AP); +}; break; +case 5655: { // glIsFramebuffer GLuint *framebuffer = (GLuint *) bp; bp += 4; GLboolean result = weglIsFramebuffer(*framebuffer); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5646: { // glBindFramebuffer + driver_send_term(port,caller,rt,AP); +}; break; +case 5656: { // glBindFramebuffer GLenum *target = (GLenum *) bp; bp += 4; GLuint *framebuffer = (GLuint *) bp; bp += 4; weglBindFramebuffer(*target,*framebuffer); -}; break; -case 5647: { // glDeleteFramebuffers +}; break; +case 5657: { // glDeleteFramebuffers int * framebuffersLen = (int *) bp; bp += 4; GLuint * framebuffers = (GLuint *) bp; bp += (8-((*framebuffersLen*4+4)%8))%8; weglDeleteFramebuffers(*framebuffersLen,framebuffers); -}; break; -case 5648: { // glGenFramebuffers +}; break; +case 5658: { // glGenFramebuffers GLsizei *n = (GLsizei *) bp; bp += 4; GLuint *framebuffers; framebuffers = (GLuint *) driver_alloc(sizeof(GLuint) * *n); weglGenFramebuffers(*n,framebuffers); int AP = 0; ErlDrvTermData *rt; rt = (ErlDrvTermData *) driver_alloc(sizeof(ErlDrvTermData)*(7 + (*n)*2)); - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); for(int i=0; i < *n; i++) { rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) framebuffers[i];} rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = (*n)+1; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 7 + (*n)*2 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,7 + (*n)*2); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); - driver_free(rt); + driver_send_term(port,caller,rt,AP); + driver_free(rt); driver_free(framebuffers); -}; break; -case 5649: { // glCheckFramebufferStatus +}; break; +case 5659: { // glCheckFramebufferStatus GLenum *target = (GLenum *) bp; bp += 4; GLenum result = weglCheckFramebufferStatus(*target); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5650: { // glFramebufferTexture1D + driver_send_term(port,caller,rt,AP); +}; break; +case 5660: { // glFramebufferTexture1D GLenum *target = (GLenum *) bp; bp += 4; GLenum *attachment = (GLenum *) bp; bp += 4; GLenum *textarget = (GLenum *) bp; bp += 4; GLuint *texture = (GLuint *) bp; bp += 4; GLint *level = (GLint *) bp; bp += 4; weglFramebufferTexture1D(*target,*attachment,*textarget,*texture,*level); -}; break; -case 5651: { // glFramebufferTexture2D +}; break; +case 5661: { // glFramebufferTexture2D GLenum *target = (GLenum *) bp; bp += 4; GLenum *attachment = (GLenum *) bp; bp += 4; GLenum *textarget = (GLenum *) bp; bp += 4; GLuint *texture = (GLuint *) bp; bp += 4; GLint *level = (GLint *) bp; bp += 4; weglFramebufferTexture2D(*target,*attachment,*textarget,*texture,*level); -}; break; -case 5652: { // glFramebufferTexture3D +}; break; +case 5662: { // glFramebufferTexture3D GLenum *target = (GLenum *) bp; bp += 4; GLenum *attachment = (GLenum *) bp; bp += 4; GLenum *textarget = (GLenum *) bp; bp += 4; @@ -5135,32 +5125,31 @@ case 5652: { // glFramebufferTexture3D GLint *level = (GLint *) bp; bp += 4; GLint *zoffset = (GLint *) bp; bp += 4; weglFramebufferTexture3D(*target,*attachment,*textarget,*texture,*level,*zoffset); -}; break; -case 5653: { // glFramebufferRenderbuffer +}; break; +case 5663: { // glFramebufferRenderbuffer GLenum *target = (GLenum *) bp; bp += 4; GLenum *attachment = (GLenum *) bp; bp += 4; GLenum *renderbuffertarget = (GLenum *) bp; bp += 4; GLuint *renderbuffer = (GLuint *) bp; bp += 4; weglFramebufferRenderbuffer(*target,*attachment,*renderbuffertarget,*renderbuffer); -}; break; -case 5654: { // glGetFramebufferAttachmentParameteriv +}; break; +case 5664: { // glGetFramebufferAttachmentParameteriv GLenum *target = (GLenum *) bp; bp += 4; GLenum *attachment = (GLenum *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; GLint params[1] = {0}; weglGetFramebufferAttachmentParameteriv(*target,*attachment,*pname,params); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *params; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5655: { // glGenerateMipmap + driver_send_term(port,caller,rt,AP); +}; break; +case 5665: { // glGenerateMipmap GLenum *target = (GLenum *) bp; bp += 4; weglGenerateMipmap(*target); -}; break; -case 5656: { // glBlitFramebuffer +}; break; +case 5666: { // glBlitFramebuffer GLint *srcX0 = (GLint *) bp; bp += 4; GLint *srcY0 = (GLint *) bp; bp += 4; GLint *srcX1 = (GLint *) bp; bp += 4; @@ -5172,98 +5161,78 @@ case 5656: { // glBlitFramebuffer GLbitfield *mask = (GLbitfield *) bp; bp += 4; GLenum *filter = (GLenum *) bp; bp += 4; weglBlitFramebuffer(*srcX0,*srcY0,*srcX1,*srcY1,*dstX0,*dstY0,*dstX1,*dstY1,*mask,*filter); -}; break; -case 5657: { // glRenderbufferStorageMultisample +}; break; +case 5667: { // glRenderbufferStorageMultisample GLenum *target = (GLenum *) bp; bp += 4; GLsizei *samples = (GLsizei *) bp; bp += 4; GLenum *internalformat = (GLenum *) bp; bp += 4; GLsizei *width = (GLsizei *) bp; bp += 4; GLsizei *height = (GLsizei *) bp; bp += 4; weglRenderbufferStorageMultisample(*target,*samples,*internalformat,*width,*height); -}; break; -case 5658: { // glFramebufferTextureLayer +}; break; +case 5668: { // glFramebufferTextureLayer GLenum *target = (GLenum *) bp; bp += 4; GLenum *attachment = (GLenum *) bp; bp += 4; GLuint *texture = (GLuint *) bp; bp += 4; GLint *level = (GLint *) bp; bp += 4; GLint *layer = (GLint *) bp; bp += 4; weglFramebufferTextureLayer(*target,*attachment,*texture,*level,*layer); -}; break; -case 5659: { // glProgramParameteriARB - GLuint *program = (GLuint *) bp; bp += 4; - GLenum *pname = (GLenum *) bp; bp += 4; - GLint *value = (GLint *) bp; bp += 4; - weglProgramParameteriARB(*program,*pname,*value); -}; break; -case 5660: { // glFramebufferTextureARB - GLenum *target = (GLenum *) bp; bp += 4; - GLenum *attachment = (GLenum *) bp; bp += 4; - GLuint *texture = (GLuint *) bp; bp += 4; - GLint *level = (GLint *) bp; bp += 4; - weglFramebufferTextureARB(*target,*attachment,*texture,*level); -}; break; -case 5661: { // glFramebufferTextureFaceARB +}; break; +case 5669: { // glFramebufferTextureFaceARB GLenum *target = (GLenum *) bp; bp += 4; GLenum *attachment = (GLenum *) bp; bp += 4; GLuint *texture = (GLuint *) bp; bp += 4; GLint *level = (GLint *) bp; bp += 4; GLenum *face = (GLenum *) bp; bp += 4; weglFramebufferTextureFaceARB(*target,*attachment,*texture,*level,*face); -}; break; -case 5662: { // glVertexAttribDivisorARB - GLuint *index = (GLuint *) bp; bp += 4; - GLuint *divisor = (GLuint *) bp; bp += 4; - weglVertexAttribDivisorARB(*index,*divisor); -}; break; -case 5663: { // glFlushMappedBufferRange +}; break; +case 5670: { // glFlushMappedBufferRange GLenum *target = (GLenum *) bp; bp += 4; bp += 4; GLintptr offset = (GLintptr) * (GLuint64EXT *) bp; bp += 8; GLsizeiptr length = (GLsizeiptr) * (GLuint64EXT *) bp; bp += 8; weglFlushMappedBufferRange(*target,offset,length); -}; break; -case 5664: { // glBindVertexArray +}; break; +case 5671: { // glBindVertexArray GLuint *array = (GLuint *) bp; bp += 4; weglBindVertexArray(*array); -}; break; -case 5665: { // glDeleteVertexArrays +}; break; +case 5672: { // glDeleteVertexArrays int * arraysLen = (int *) bp; bp += 4; GLuint * arrays = (GLuint *) bp; bp += (8-((*arraysLen*4+4)%8))%8; weglDeleteVertexArrays(*arraysLen,arrays); -}; break; -case 5666: { // glGenVertexArrays +}; break; +case 5673: { // glGenVertexArrays GLsizei *n = (GLsizei *) bp; bp += 4; GLuint *arrays; arrays = (GLuint *) driver_alloc(sizeof(GLuint) * *n); weglGenVertexArrays(*n,arrays); int AP = 0; ErlDrvTermData *rt; rt = (ErlDrvTermData *) driver_alloc(sizeof(ErlDrvTermData)*(7 + (*n)*2)); - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); for(int i=0; i < *n; i++) { rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) arrays[i];} rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = (*n)+1; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 7 + (*n)*2 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,7 + (*n)*2); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); - driver_free(rt); + driver_send_term(port,caller,rt,AP); + driver_free(rt); driver_free(arrays); -}; break; -case 5667: { // glIsVertexArray +}; break; +case 5674: { // glIsVertexArray GLuint *array = (GLuint *) bp; bp += 4; GLboolean result = weglIsVertexArray(*array); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5668: { // glGetUniformIndices + driver_send_term(port,caller,rt,AP); +}; break; +case 5675: { // glGetUniformIndices GLuint *program = (GLuint *) bp; bp += 4; int * uniformNamesLen = (int *) bp; bp += 4; int * uniformNamesTotSize = (int *) bp; bp += 4; GLchar **uniformNames; - uniformNames = (GLchar **) driver_alloc(sizeof(GLchar *) * *uniformNamesLen); + uniformNames = (GLchar **) driver_alloc(sizeof(GLchar *) * *uniformNamesLen); for(int i=0;i<*uniformNamesLen;i++) { uniformNames[i] = (GLchar *) bp; bp += 1+strlen(bp);}; bp += (8 - ((0 + *uniformNamesTotSize) % 8)) % 8; @@ -5272,18 +5241,17 @@ case 5668: { // glGetUniformIndices weglGetUniformIndices(*program,*uniformNamesLen,(const GLchar **) uniformNames,uniformIndices); int AP = 0; ErlDrvTermData *rt; rt = (ErlDrvTermData *) driver_alloc(sizeof(ErlDrvTermData)*(7 + (*uniformNamesLen)*2)); - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); for(int i=0; i < *uniformNamesLen; i++) { rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) uniformIndices[i];} rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = (*uniformNamesLen)+1; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 7 + (*uniformNamesLen)*2 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,7 + (*uniformNamesLen)*2); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); - driver_free(rt); + driver_send_term(port,caller,rt,AP); + driver_free(rt); driver_free(uniformIndices); driver_free(uniformNames); -}; break; -case 5669: { // glGetActiveUniformsiv +}; break; +case 5676: { // glGetActiveUniformsiv GLuint *program = (GLuint *) bp; bp += 4; int * uniformIndicesLen = (int *) bp; bp += 4; GLuint * uniformIndices = (GLuint *) bp; bp += (8-((*uniformIndicesLen*4+0)%8))%8; @@ -5293,17 +5261,16 @@ case 5669: { // glGetActiveUniformsiv weglGetActiveUniformsiv(*program,*uniformIndicesLen,uniformIndices,*pname,params); int AP = 0; ErlDrvTermData *rt; rt = (ErlDrvTermData *) driver_alloc(sizeof(ErlDrvTermData)*(7 + (*uniformIndicesLen)*2)); - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); for(int i=0; i < *uniformIndicesLen; i++) { rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) params[i];} rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = (*uniformIndicesLen)+1; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 7 + (*uniformIndicesLen)*2 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,7 + (*uniformIndicesLen)*2); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); - driver_free(rt); + driver_send_term(port,caller,rt,AP); + driver_free(rt); driver_free(params); -}; break; -case 5670: { // glGetActiveUniformName +}; break; +case 5677: { // glGetActiveUniformName GLuint *program = (GLuint *) bp; bp += 4; GLuint *uniformIndex = (GLuint *) bp; bp += 4; GLsizei *bufSize = (GLsizei *) bp; bp += 4; @@ -5312,38 +5279,36 @@ case 5670: { // glGetActiveUniformName uniformName = (GLchar *) driver_alloc(sizeof(GLchar) * *bufSize); weglGetActiveUniformName(*program,*uniformIndex,*bufSize,length,uniformName); int AP = 0; ErlDrvTermData rt[7]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_STRING; rt[AP++] = (ErlDrvTermData) uniformName; rt[AP++] = *length; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 7 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,7); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); + driver_send_term(port,caller,rt,AP); driver_free(uniformName); -}; break; -case 5671: { // glGetUniformBlockIndex +}; break; +case 5678: { // glGetUniformBlockIndex GLuint *program = (GLuint *) bp; bp += 4; GLchar *uniformBlockName = (GLchar *) bp; - int uniformBlockNameLen = strlen((char *)uniformBlockName); bp += uniformBlockNameLen+1+((8-((1+uniformBlockNameLen+4)%8))%8); + int uniformBlockNameLen[1] = {strlen((char *)uniformBlockName)}; bp += uniformBlockNameLen[0]+1+((8-((1+uniformBlockNameLen[0]+4)%8))%8); GLuint result = weglGetUniformBlockIndex(*program,uniformBlockName); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5672: { // glGetActiveUniformBlockiv + driver_send_term(port,caller,rt,AP); +}; break; +case 5679: { // glGetActiveUniformBlockiv GLuint *program = (GLuint *) bp; bp += 4; GLuint *uniformBlockIndex = (GLuint *) bp; bp += 4; GLenum *pname = (GLenum *) bp; bp += 4; - GLint *params = (GLint *) bins[0]->base; + GLint *params = (GLint *) bins[0]; weglGetActiveUniformBlockiv(*program,*uniformBlockIndex,*pname,params); int AP = 0; ErlDrvTermData rt[6]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "ok"); rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -}; break; -case 5673: { // glGetActiveUniformBlockName + driver_send_term(port,caller,rt,AP); +}; break; +case 5680: { // glGetActiveUniformBlockName GLuint *program = (GLuint *) bp; bp += 4; GLuint *uniformBlockIndex = (GLuint *) bp; bp += 4; GLsizei *bufSize = (GLsizei *) bp; bp += 4; @@ -5352,55 +5317,1653 @@ case 5673: { // glGetActiveUniformBlockName uniformBlockName = (GLchar *) driver_alloc(sizeof(GLchar) * *bufSize); weglGetActiveUniformBlockName(*program,*uniformBlockIndex,*bufSize,length,uniformBlockName); int AP = 0; ErlDrvTermData rt[7]; - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); rt[AP++] = ERL_DRV_STRING; rt[AP++] = (ErlDrvTermData) uniformBlockName; rt[AP++] = *length; rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; - if (AP != 7 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,7); - driver_send_term(WXE_DRV_PORT,caller,rt,AP); + driver_send_term(port,caller,rt,AP); driver_free(uniformBlockName); -}; break; -case 5674: { // glUniformBlockBinding +}; break; +case 5681: { // glUniformBlockBinding GLuint *program = (GLuint *) bp; bp += 4; GLuint *uniformBlockIndex = (GLuint *) bp; bp += 4; GLuint *uniformBlockBinding = (GLuint *) bp; bp += 4; weglUniformBlockBinding(*program,*uniformBlockIndex,*uniformBlockBinding); -}; break; -case 5675: { // glCopyBufferSubData +}; break; +case 5682: { // glCopyBufferSubData GLenum *readTarget = (GLenum *) bp; bp += 4; GLenum *writeTarget = (GLenum *) bp; bp += 4; GLintptr readOffset = (GLintptr) * (GLuint64EXT *) bp; bp += 8; GLintptr writeOffset = (GLintptr) * (GLuint64EXT *) bp; bp += 8; GLsizeiptr size = (GLsizeiptr) * (GLuint64EXT *) bp; bp += 8; weglCopyBufferSubData(*readTarget,*writeTarget,readOffset,writeOffset,size); -}; break; -case 5676: { // glResizeBuffersMESA +}; break; +case 5683: { // glDrawElementsBaseVertex + GLenum *mode = (GLenum *) bp; bp += 4; + GLsizei *count = (GLsizei *) bp; bp += 4; + GLenum *type = (GLenum *) bp; bp += 4; + GLvoid *indices = (GLvoid *) * (int *) bp; bp += 4; + GLint *basevertex = (GLint *) bp; bp += 4; + weglDrawElementsBaseVertex(*mode,*count,*type,indices,*basevertex); +}; break; +case 5684: { // glDrawElementsBaseVertex + GLenum *mode = (GLenum *) bp; bp += 4; + GLsizei *count = (GLsizei *) bp; bp += 4; + GLenum *type = (GLenum *) bp; bp += 4; + GLvoid *indices = (GLvoid *) bins[0]; + GLint *basevertex = (GLint *) bp; bp += 4; + weglDrawElementsBaseVertex(*mode,*count,*type,indices,*basevertex); +}; break; +case 5685: { // glDrawRangeElementsBaseVertex + GLenum *mode = (GLenum *) bp; bp += 4; + GLuint *start = (GLuint *) bp; bp += 4; + GLuint *end = (GLuint *) bp; bp += 4; + GLsizei *count = (GLsizei *) bp; bp += 4; + GLenum *type = (GLenum *) bp; bp += 4; + GLvoid *indices = (GLvoid *) * (int *) bp; bp += 4; + GLint *basevertex = (GLint *) bp; bp += 4; + weglDrawRangeElementsBaseVertex(*mode,*start,*end,*count,*type,indices,*basevertex); +}; break; +case 5686: { // glDrawRangeElementsBaseVertex + GLenum *mode = (GLenum *) bp; bp += 4; + GLuint *start = (GLuint *) bp; bp += 4; + GLuint *end = (GLuint *) bp; bp += 4; + GLsizei *count = (GLsizei *) bp; bp += 4; + GLenum *type = (GLenum *) bp; bp += 4; + GLvoid *indices = (GLvoid *) bins[0]; + GLint *basevertex = (GLint *) bp; bp += 4; + weglDrawRangeElementsBaseVertex(*mode,*start,*end,*count,*type,indices,*basevertex); +}; break; +case 5687: { // glDrawElementsInstancedBaseVertex + GLenum *mode = (GLenum *) bp; bp += 4; + GLsizei *count = (GLsizei *) bp; bp += 4; + GLenum *type = (GLenum *) bp; bp += 4; + GLvoid *indices = (GLvoid *) * (int *) bp; bp += 4; + GLsizei *primcount = (GLsizei *) bp; bp += 4; + GLint *basevertex = (GLint *) bp; bp += 4; + weglDrawElementsInstancedBaseVertex(*mode,*count,*type,indices,*primcount,*basevertex); +}; break; +case 5688: { // glDrawElementsInstancedBaseVertex + GLenum *mode = (GLenum *) bp; bp += 4; + GLsizei *count = (GLsizei *) bp; bp += 4; + GLenum *type = (GLenum *) bp; bp += 4; + GLvoid *indices = (GLvoid *) bins[0]; + GLsizei *primcount = (GLsizei *) bp; bp += 4; + GLint *basevertex = (GLint *) bp; bp += 4; + weglDrawElementsInstancedBaseVertex(*mode,*count,*type,indices,*primcount,*basevertex); +}; break; +case 5689: { // glProvokingVertex + GLenum *mode = (GLenum *) bp; bp += 4; + weglProvokingVertex(*mode); +}; break; +case 5690: { // glFenceSync + GLenum *condition = (GLenum *) bp; bp += 4; + GLbitfield *flags = (GLbitfield *) bp; bp += 4; + GLsync result = weglFenceSync(*condition,*flags); + int AP = 0; ErlDrvTermData rt[6]; + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result; + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; + driver_send_term(port,caller,rt,AP); +}; break; +case 5691: { // glIsSync + GLsync sync = (GLsync) * (GLuint64EXT *) bp; bp += 8; + GLboolean result = weglIsSync(sync); + int AP = 0; ErlDrvTermData rt[6]; + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result; + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; + driver_send_term(port,caller,rt,AP); +}; break; +case 5692: { // glDeleteSync + GLsync sync = (GLsync) * (GLuint64EXT *) bp; bp += 8; + weglDeleteSync(sync); +}; break; +case 5693: { // glClientWaitSync + GLsync sync = (GLsync) * (GLuint64EXT *) bp; bp += 8; + GLbitfield *flags = (GLbitfield *) bp; bp += 4; + bp += 4; + GLuint64 timeout = (GLuint64) * (GLuint64EXT *) bp; bp += 8; + GLenum result = weglClientWaitSync(sync,*flags,timeout); + int AP = 0; ErlDrvTermData rt[6]; + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result; + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; + driver_send_term(port,caller,rt,AP); +}; break; +case 5694: { // glWaitSync + GLsync sync = (GLsync) * (GLuint64EXT *) bp; bp += 8; + GLbitfield *flags = (GLbitfield *) bp; bp += 4; + bp += 4; + GLuint64 timeout = (GLuint64) * (GLuint64EXT *) bp; bp += 8; + weglWaitSync(sync,*flags,timeout); +}; break; +case 5695: { // glGetInteger64v + GLenum *pname = (GLenum *) bp; bp += 4; + GLint64 params[16] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; + weglGetInteger64v(*pname,params); + int AP = 0; ErlDrvTermData rt[39]; + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); + GLint64 *paramsTmp = params; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = 16+1; + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; + driver_send_term(port,caller,rt,AP); +}; break; +case 5696: { // glGetSynciv + GLsync sync = (GLsync) * (GLuint64EXT *) bp; bp += 8; + GLenum *pname = (GLenum *) bp; bp += 4; + GLsizei *bufSize = (GLsizei *) bp; bp += 4; + GLsizei length[1] = {0}; + GLint *values; + values = (GLint *) driver_alloc(sizeof(GLint) * *bufSize); + weglGetSynciv(sync,*pname,*bufSize,length,values); + int AP = 0; ErlDrvTermData *rt; + rt = (ErlDrvTermData *) driver_alloc(sizeof(ErlDrvTermData)*(7 + (*length)*2)); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); + for(int i=0; i < *length; i++) { + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) values[i];} + rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = (*length)+1; + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; + driver_send_term(port,caller,rt,AP); + driver_free(rt); + driver_free(values); +}; break; +case 5697: { // glTexImage2DMultisample + GLenum *target = (GLenum *) bp; bp += 4; + GLsizei *samples = (GLsizei *) bp; bp += 4; + GLint *internalformat = (GLint *) bp; bp += 4; + GLsizei *width = (GLsizei *) bp; bp += 4; + GLsizei *height = (GLsizei *) bp; bp += 4; + GLboolean *fixedsamplelocations = (GLboolean *) bp; bp += 1; + weglTexImage2DMultisample(*target,*samples,*internalformat,*width,*height,*fixedsamplelocations); +}; break; +case 5698: { // glTexImage3DMultisample + GLenum *target = (GLenum *) bp; bp += 4; + GLsizei *samples = (GLsizei *) bp; bp += 4; + GLint *internalformat = (GLint *) bp; bp += 4; + GLsizei *width = (GLsizei *) bp; bp += 4; + GLsizei *height = (GLsizei *) bp; bp += 4; + GLsizei *depth = (GLsizei *) bp; bp += 4; + GLboolean *fixedsamplelocations = (GLboolean *) bp; bp += 1; + weglTexImage3DMultisample(*target,*samples,*internalformat,*width,*height,*depth,*fixedsamplelocations); +}; break; +case 5699: { // glGetMultisamplefv + GLenum *pname = (GLenum *) bp; bp += 4; + GLuint *index = (GLuint *) bp; bp += 4; + GLfloat val[2] = {0.0,0.0}; + weglGetMultisamplefv(*pname,*index,val); + int AP = 0; ErlDrvTermData rt[10]; + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); + GLdouble valConv[2], *valTmp = valConv; + for(int i=0; i < 2; i++) valConv[i] = (GLdouble) val[i]; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) valTmp++; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) valTmp++; + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; + driver_send_term(port,caller,rt,AP); +}; break; +case 5700: { // glSampleMaski + GLuint *index = (GLuint *) bp; bp += 4; + GLbitfield *mask = (GLbitfield *) bp; bp += 4; + weglSampleMaski(*index,*mask); +}; break; +case 5701: { // glNamedStringARB + GLenum *type = (GLenum *) bp; bp += 4; + GLchar *name = (GLchar *) bp; + int nameLen[1] = {strlen((char *)name)}; bp += nameLen[0]+1+((8-((1+nameLen[0]+4)%8))%8); + GLchar *string = (GLchar *) bp; + int stringLen[1] = {strlen((char *)string)}; bp += stringLen[0]+1+((8-((1+stringLen[0]+0)%8))%8); + weglNamedStringARB(*type,*nameLen,name,*stringLen,string); +}; break; +case 5702: { // glDeleteNamedStringARB + GLchar *name = (GLchar *) bp; + int nameLen[1] = {strlen((char *)name)}; bp += nameLen[0]+1+((8-((1+nameLen[0]+0)%8))%8); + weglDeleteNamedStringARB(*nameLen,name); +}; break; +case 5703: { // glCompileShaderIncludeARB + GLuint *shader = (GLuint *) bp; bp += 4; + int * pathLen = (int *) bp; bp += 4; + int * pathTotSize = (int *) bp; bp += 4; + GLchar **path; + path = (GLchar **) driver_alloc(sizeof(GLchar *) * *pathLen); + for(int i=0;i<*pathLen;i++) { + path[i] = (GLchar *) bp; bp += 1+strlen(bp);}; + bp += (8 - ((0 + *pathTotSize) % 8)) % 8; + weglCompileShaderIncludeARB(*shader,*pathLen,(const GLchar **) path,NULL); + driver_free(path); +}; break; +case 5704: { // glIsNamedStringARB + GLchar *name = (GLchar *) bp; + int nameLen[1] = {strlen((char *)name)}; bp += nameLen[0]+1+((8-((1+nameLen[0]+0)%8))%8); + GLboolean result = weglIsNamedStringARB(*nameLen,name); + int AP = 0; ErlDrvTermData rt[6]; + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result; + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; + driver_send_term(port,caller,rt,AP); +}; break; +case 5705: { // glGetNamedStringARB + GLchar *name = (GLchar *) bp; + int nameLen[1] = {strlen((char *)name)}; bp += nameLen[0]+1+((8-((1+nameLen[0]+0)%8))%8); + GLsizei *bufSize = (GLsizei *) bp; bp += 4; + GLint stringlen[1] = {0}; + GLchar *string; + string = (GLchar *) driver_alloc(sizeof(GLchar) * *bufSize); + weglGetNamedStringARB(*nameLen,name,*bufSize,stringlen,string); + int AP = 0; ErlDrvTermData rt[7]; + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); + rt[AP++] = ERL_DRV_STRING; rt[AP++] = (ErlDrvTermData) string; rt[AP++] = *stringlen; + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; + driver_send_term(port,caller,rt,AP); + driver_free(string); +}; break; +case 5706: { // glGetNamedStringivARB + GLchar *name = (GLchar *) bp; + int nameLen[1] = {strlen((char *)name)}; bp += nameLen[0]+1+((8-((1+nameLen[0]+0)%8))%8); + GLenum *pname = (GLenum *) bp; bp += 4; + GLint params[1] = {0}; + weglGetNamedStringivARB(*nameLen,name,*pname,params); + int AP = 0; ErlDrvTermData rt[6]; + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *params; + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; + driver_send_term(port,caller,rt,AP); +}; break; +case 5707: { // glBindFragDataLocationIndexed + GLuint *program = (GLuint *) bp; bp += 4; + GLuint *colorNumber = (GLuint *) bp; bp += 4; + GLuint *index = (GLuint *) bp; bp += 4; + GLchar *name = (GLchar *) bp; + int nameLen[1] = {strlen((char *)name)}; bp += nameLen[0]+1+((8-((1+nameLen[0]+4)%8))%8); + weglBindFragDataLocationIndexed(*program,*colorNumber,*index,name); +}; break; +case 5708: { // glGetFragDataIndex + GLuint *program = (GLuint *) bp; bp += 4; + GLchar *name = (GLchar *) bp; + int nameLen[1] = {strlen((char *)name)}; bp += nameLen[0]+1+((8-((1+nameLen[0]+4)%8))%8); + GLint result = weglGetFragDataIndex(*program,name); + int AP = 0; ErlDrvTermData rt[6]; + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result; + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; + driver_send_term(port,caller,rt,AP); +}; break; +case 5709: { // glGenSamplers + GLsizei *count = (GLsizei *) bp; bp += 4; + GLuint *samplers; + samplers = (GLuint *) driver_alloc(sizeof(GLuint) * *count); + weglGenSamplers(*count,samplers); + int AP = 0; ErlDrvTermData *rt; + rt = (ErlDrvTermData *) driver_alloc(sizeof(ErlDrvTermData)*(7 + (*count)*2)); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); + for(int i=0; i < *count; i++) { + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) samplers[i];} + rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = (*count)+1; + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; + driver_send_term(port,caller,rt,AP); + driver_free(rt); + driver_free(samplers); +}; break; +case 5710: { // glDeleteSamplers + int * samplersLen = (int *) bp; bp += 4; + GLuint * samplers = (GLuint *) bp; bp += (8-((*samplersLen*4+4)%8))%8; + weglDeleteSamplers(*samplersLen,samplers); +}; break; +case 5711: { // glIsSampler + GLuint *sampler = (GLuint *) bp; bp += 4; + GLboolean result = weglIsSampler(*sampler); + int AP = 0; ErlDrvTermData rt[6]; + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result; + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; + driver_send_term(port,caller,rt,AP); +}; break; +case 5712: { // glBindSampler + GLuint *unit = (GLuint *) bp; bp += 4; + GLuint *sampler = (GLuint *) bp; bp += 4; + weglBindSampler(*unit,*sampler); +}; break; +case 5713: { // glSamplerParameteri + GLuint *sampler = (GLuint *) bp; bp += 4; + GLenum *pname = (GLenum *) bp; bp += 4; + GLint *param = (GLint *) bp; bp += 4; + weglSamplerParameteri(*sampler,*pname,*param); +}; break; +case 5714: { // glSamplerParameteriv + GLuint *sampler = (GLuint *) bp; bp += 4; + GLenum *pname = (GLenum *) bp; bp += 4; + int * paramLen = (int *) bp; bp += 4; + GLint * param = (GLint *) bp; bp += (8-((*paramLen*4+4)%8))%8; + weglSamplerParameteriv(*sampler,*pname,param); +}; break; +case 5715: { // glSamplerParameterf + GLuint *sampler = (GLuint *) bp; bp += 4; + GLenum *pname = (GLenum *) bp; bp += 4; + GLfloat *param = (GLfloat *) bp; bp += 4; + weglSamplerParameterf(*sampler,*pname,*param); +}; break; +case 5716: { // glSamplerParameterfv + GLuint *sampler = (GLuint *) bp; bp += 4; + GLenum *pname = (GLenum *) bp; bp += 4; + int * paramLen = (int *) bp; bp += 4; + GLfloat * param = (GLfloat *) bp; bp += (8-((*paramLen*4+4)%8))%8; + weglSamplerParameterfv(*sampler,*pname,param); +}; break; +case 5717: { // glSamplerParameterIiv + GLuint *sampler = (GLuint *) bp; bp += 4; + GLenum *pname = (GLenum *) bp; bp += 4; + int * paramLen = (int *) bp; bp += 4; + GLint * param = (GLint *) bp; bp += (8-((*paramLen*4+4)%8))%8; + weglSamplerParameterIiv(*sampler,*pname,param); +}; break; +case 5718: { // glSamplerParameterIuiv + GLuint *sampler = (GLuint *) bp; bp += 4; + GLenum *pname = (GLenum *) bp; bp += 4; + int * paramLen = (int *) bp; bp += 4; + GLuint * param = (GLuint *) bp; bp += (8-((*paramLen*4+4)%8))%8; + weglSamplerParameterIuiv(*sampler,*pname,param); +}; break; +case 5719: { // glGetSamplerParameteriv + GLuint *sampler = (GLuint *) bp; bp += 4; + GLenum *pname = (GLenum *) bp; bp += 4; + GLint params[4] = {0,0,0,0}; + weglGetSamplerParameteriv(*sampler,*pname,params); + int AP = 0; ErlDrvTermData rt[15]; + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); + GLint *paramsTmp = params; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = 4+1; + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; + driver_send_term(port,caller,rt,AP); +}; break; +case 5720: { // glGetSamplerParameterIiv + GLuint *sampler = (GLuint *) bp; bp += 4; + GLenum *pname = (GLenum *) bp; bp += 4; + GLint params[4] = {0,0,0,0}; + weglGetSamplerParameterIiv(*sampler,*pname,params); + int AP = 0; ErlDrvTermData rt[15]; + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); + GLint *paramsTmp = params; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = 4+1; + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; + driver_send_term(port,caller,rt,AP); +}; break; +case 5721: { // glGetSamplerParameterfv + GLuint *sampler = (GLuint *) bp; bp += 4; + GLenum *pname = (GLenum *) bp; bp += 4; + GLfloat params[4] = {0.0,0.0,0.0,0.0}; + weglGetSamplerParameterfv(*sampler,*pname,params); + int AP = 0; ErlDrvTermData rt[15]; + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); + GLdouble paramsConv[4], *paramsTmp = paramsConv; + for(int i=0; i < 4; i++) paramsConv[i] = (GLdouble) params[i]; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; + rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = 4+1; + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; + driver_send_term(port,caller,rt,AP); +}; break; +case 5722: { // glGetSamplerParameterIuiv + GLuint *sampler = (GLuint *) bp; bp += 4; + GLenum *pname = (GLenum *) bp; bp += 4; + GLuint params[4] = {0,0,0,0}; + weglGetSamplerParameterIuiv(*sampler,*pname,params); + int AP = 0; ErlDrvTermData rt[15]; + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); + GLuint *paramsTmp = params; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = 4+1; + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; + driver_send_term(port,caller,rt,AP); +}; break; +case 5723: { // glQueryCounter + GLuint *id = (GLuint *) bp; bp += 4; + GLenum *target = (GLenum *) bp; bp += 4; + weglQueryCounter(*id,*target); +}; break; +case 5724: { // glGetQueryObjecti64v + GLuint *id = (GLuint *) bp; bp += 4; + GLenum *pname = (GLenum *) bp; bp += 4; + GLint64 params[1] = {0}; + weglGetQueryObjecti64v(*id,*pname,params); + int AP = 0; ErlDrvTermData rt[6]; + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *params; + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; + driver_send_term(port,caller,rt,AP); +}; break; +case 5725: { // glGetQueryObjectui64v + GLuint *id = (GLuint *) bp; bp += 4; + GLenum *pname = (GLenum *) bp; bp += 4; + GLuint64 params[1] = {0}; + weglGetQueryObjectui64v(*id,*pname,params); + int AP = 0; ErlDrvTermData rt[6]; + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *params; + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; + driver_send_term(port,caller,rt,AP); +}; break; +case 5726: { // glDrawArraysIndirect + GLenum *mode = (GLenum *) bp; bp += 4; + GLvoid *indirect = (GLvoid *) * (int *) bp; bp += 4; + weglDrawArraysIndirect(*mode,indirect); +}; break; +case 5727: { // glDrawArraysIndirect + GLenum *mode = (GLenum *) bp; bp += 4; + GLvoid *indirect = (GLvoid *) bins[0]; + weglDrawArraysIndirect(*mode,indirect); +}; break; +case 5728: { // glDrawElementsIndirect + GLenum *mode = (GLenum *) bp; bp += 4; + GLenum *type = (GLenum *) bp; bp += 4; + GLvoid *indirect = (GLvoid *) * (int *) bp; bp += 4; + weglDrawElementsIndirect(*mode,*type,indirect); +}; break; +case 5729: { // glDrawElementsIndirect + GLenum *mode = (GLenum *) bp; bp += 4; + GLenum *type = (GLenum *) bp; bp += 4; + GLvoid *indirect = (GLvoid *) bins[0]; + weglDrawElementsIndirect(*mode,*type,indirect); +}; break; +case 5730: { // glUniform1d + GLint *location = (GLint *) bp; bp += 4; + bp += 4; + GLdouble *x = (GLdouble *) bp; bp += 8; + weglUniform1d(*location,*x); +}; break; +case 5731: { // glUniform2d + GLint *location = (GLint *) bp; bp += 4; + bp += 4; + GLdouble *x = (GLdouble *) bp; bp += 8; + GLdouble *y = (GLdouble *) bp; bp += 8; + weglUniform2d(*location,*x,*y); +}; break; +case 5732: { // glUniform3d + GLint *location = (GLint *) bp; bp += 4; + bp += 4; + GLdouble *x = (GLdouble *) bp; bp += 8; + GLdouble *y = (GLdouble *) bp; bp += 8; + GLdouble *z = (GLdouble *) bp; bp += 8; + weglUniform3d(*location,*x,*y,*z); +}; break; +case 5733: { // glUniform4d + GLint *location = (GLint *) bp; bp += 4; + bp += 4; + GLdouble *x = (GLdouble *) bp; bp += 8; + GLdouble *y = (GLdouble *) bp; bp += 8; + GLdouble *z = (GLdouble *) bp; bp += 8; + GLdouble *w = (GLdouble *) bp; bp += 8; + weglUniform4d(*location,*x,*y,*z,*w); +}; break; +case 5734: { // glUniform1dv + GLint *location = (GLint *) bp; bp += 4; + bp += 4; + int * valueLen = (int *) bp; bp += 8; + GLdouble * value = (GLdouble *) bp; bp += (8-((*valueLen*8+0)%8))%8; + weglUniform1dv(*location,*valueLen,value); +}; break; +case 5735: { // glUniform2dv + GLint *location = (GLint *) bp; bp += 4; + bp += 4; + int *valueLen = (int *) bp; bp += 8; + GLdouble * value = (GLdouble *) bp; bp += *valueLen*16; + weglUniform2dv(*location,*valueLen,value); +}; break; +case 5736: { // glUniform3dv + GLint *location = (GLint *) bp; bp += 4; + bp += 4; + int *valueLen = (int *) bp; bp += 8; + GLdouble * value = (GLdouble *) bp; bp += *valueLen*24; + weglUniform3dv(*location,*valueLen,value); +}; break; +case 5737: { // glUniform4dv + GLint *location = (GLint *) bp; bp += 4; + bp += 4; + int *valueLen = (int *) bp; bp += 8; + GLdouble * value = (GLdouble *) bp; bp += *valueLen*32; + weglUniform4dv(*location,*valueLen,value); +}; break; +case 5738: { // glUniformMatrix2dv + GLint *location = (GLint *) bp; bp += 4; + GLboolean *transpose = (GLboolean *) bp; bp += 1; + bp += 3; + int *valueLen = (int *) bp; bp += 8; + GLdouble * value = (GLdouble *) bp; bp += *valueLen*32; + weglUniformMatrix2dv(*location,*valueLen,*transpose,value); +}; break; +case 5739: { // glUniformMatrix3dv + GLint *location = (GLint *) bp; bp += 4; + GLboolean *transpose = (GLboolean *) bp; bp += 1; + bp += 3; + int *valueLen = (int *) bp; bp += 8; + GLdouble * value = (GLdouble *) bp; bp += *valueLen*72; + weglUniformMatrix3dv(*location,*valueLen,*transpose,value); +}; break; +case 5740: { // glUniformMatrix4dv + GLint *location = (GLint *) bp; bp += 4; + GLboolean *transpose = (GLboolean *) bp; bp += 1; + bp += 3; + int *valueLen = (int *) bp; bp += 8; + GLdouble * value = (GLdouble *) bp; bp += *valueLen*128; + weglUniformMatrix4dv(*location,*valueLen,*transpose,value); +}; break; +case 5741: { // glUniformMatrix2x3dv + GLint *location = (GLint *) bp; bp += 4; + GLboolean *transpose = (GLboolean *) bp; bp += 1; + bp += 3; + int *valueLen = (int *) bp; bp += 8; + GLdouble * value = (GLdouble *) bp; bp += *valueLen*48; + weglUniformMatrix2x3dv(*location,*valueLen,*transpose,value); +}; break; +case 5742: { // glUniformMatrix2x4dv + GLint *location = (GLint *) bp; bp += 4; + GLboolean *transpose = (GLboolean *) bp; bp += 1; + bp += 3; + int *valueLen = (int *) bp; bp += 8; + GLdouble * value = (GLdouble *) bp; bp += *valueLen*64; + weglUniformMatrix2x4dv(*location,*valueLen,*transpose,value); +}; break; +case 5743: { // glUniformMatrix3x2dv + GLint *location = (GLint *) bp; bp += 4; + GLboolean *transpose = (GLboolean *) bp; bp += 1; + bp += 3; + int *valueLen = (int *) bp; bp += 8; + GLdouble * value = (GLdouble *) bp; bp += *valueLen*48; + weglUniformMatrix3x2dv(*location,*valueLen,*transpose,value); +}; break; +case 5744: { // glUniformMatrix3x4dv + GLint *location = (GLint *) bp; bp += 4; + GLboolean *transpose = (GLboolean *) bp; bp += 1; + bp += 3; + int *valueLen = (int *) bp; bp += 8; + GLdouble * value = (GLdouble *) bp; bp += *valueLen*96; + weglUniformMatrix3x4dv(*location,*valueLen,*transpose,value); +}; break; +case 5745: { // glUniformMatrix4x2dv + GLint *location = (GLint *) bp; bp += 4; + GLboolean *transpose = (GLboolean *) bp; bp += 1; + bp += 3; + int *valueLen = (int *) bp; bp += 8; + GLdouble * value = (GLdouble *) bp; bp += *valueLen*64; + weglUniformMatrix4x2dv(*location,*valueLen,*transpose,value); +}; break; +case 5746: { // glUniformMatrix4x3dv + GLint *location = (GLint *) bp; bp += 4; + GLboolean *transpose = (GLboolean *) bp; bp += 1; + bp += 3; + int *valueLen = (int *) bp; bp += 8; + GLdouble * value = (GLdouble *) bp; bp += *valueLen*96; + weglUniformMatrix4x3dv(*location,*valueLen,*transpose,value); +}; break; +case 5747: { // glGetUniformdv + GLuint *program = (GLuint *) bp; bp += 4; + GLint *location = (GLint *) bp; bp += 4; + GLdouble params[16] = {0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0}; + weglGetUniformdv(*program,*location,params); + int AP = 0; ErlDrvTermData rt[38]; + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); + GLdouble *paramsTmp = params; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 16; + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; + driver_send_term(port,caller,rt,AP); +}; break; +case 5748: { // glGetSubroutineUniformLocation + GLuint *program = (GLuint *) bp; bp += 4; + GLenum *shadertype = (GLenum *) bp; bp += 4; + GLchar *name = (GLchar *) bp; + int nameLen[1] = {strlen((char *)name)}; bp += nameLen[0]+1+((8-((1+nameLen[0]+0)%8))%8); + GLint result = weglGetSubroutineUniformLocation(*program,*shadertype,name); + int AP = 0; ErlDrvTermData rt[6]; + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result; + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; + driver_send_term(port,caller,rt,AP); +}; break; +case 5749: { // glGetSubroutineIndex + GLuint *program = (GLuint *) bp; bp += 4; + GLenum *shadertype = (GLenum *) bp; bp += 4; + GLchar *name = (GLchar *) bp; + int nameLen[1] = {strlen((char *)name)}; bp += nameLen[0]+1+((8-((1+nameLen[0]+0)%8))%8); + GLuint result = weglGetSubroutineIndex(*program,*shadertype,name); + int AP = 0; ErlDrvTermData rt[6]; + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result; + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; + driver_send_term(port,caller,rt,AP); +}; break; +case 5750: { // glGetActiveSubroutineUniformName + GLuint *program = (GLuint *) bp; bp += 4; + GLenum *shadertype = (GLenum *) bp; bp += 4; + GLuint *index = (GLuint *) bp; bp += 4; + GLsizei *bufsize = (GLsizei *) bp; bp += 4; + GLsizei length[1] = {0}; + GLchar *name; + name = (GLchar *) driver_alloc(sizeof(GLchar) * *bufsize); + weglGetActiveSubroutineUniformName(*program,*shadertype,*index,*bufsize,length,name); + int AP = 0; ErlDrvTermData rt[7]; + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); + rt[AP++] = ERL_DRV_STRING; rt[AP++] = (ErlDrvTermData) name; rt[AP++] = *length; + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; + driver_send_term(port,caller,rt,AP); + driver_free(name); +}; break; +case 5751: { // glGetActiveSubroutineName + GLuint *program = (GLuint *) bp; bp += 4; + GLenum *shadertype = (GLenum *) bp; bp += 4; + GLuint *index = (GLuint *) bp; bp += 4; + GLsizei *bufsize = (GLsizei *) bp; bp += 4; + GLsizei length[1] = {0}; + GLchar *name; + name = (GLchar *) driver_alloc(sizeof(GLchar) * *bufsize); + weglGetActiveSubroutineName(*program,*shadertype,*index,*bufsize,length,name); + int AP = 0; ErlDrvTermData rt[7]; + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); + rt[AP++] = ERL_DRV_STRING; rt[AP++] = (ErlDrvTermData) name; rt[AP++] = *length; + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; + driver_send_term(port,caller,rt,AP); + driver_free(name); +}; break; +case 5752: { // glUniformSubroutinesuiv + GLenum *shadertype = (GLenum *) bp; bp += 4; + int * indicesLen = (int *) bp; bp += 4; + GLuint * indices = (GLuint *) bp; bp += (8-((*indicesLen*4+0)%8))%8; + weglUniformSubroutinesuiv(*shadertype,*indicesLen,indices); +}; break; +case 5753: { // glGetUniformSubroutineuiv + GLenum *shadertype = (GLenum *) bp; bp += 4; + GLint *location = (GLint *) bp; bp += 4; + GLuint params[16] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; + weglGetUniformSubroutineuiv(*shadertype,*location,params); + int AP = 0; ErlDrvTermData rt[38]; + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); + GLuint *paramsTmp = params; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++; + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 16; + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; + driver_send_term(port,caller,rt,AP); +}; break; +case 5754: { // glGetProgramStageiv + GLuint *program = (GLuint *) bp; bp += 4; + GLenum *shadertype = (GLenum *) bp; bp += 4; + GLenum *pname = (GLenum *) bp; bp += 4; + GLint values[1] = {0}; + weglGetProgramStageiv(*program,*shadertype,*pname,values); + int AP = 0; ErlDrvTermData rt[6]; + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *values; + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; + driver_send_term(port,caller,rt,AP); +}; break; +case 5755: { // glPatchParameteri + GLenum *pname = (GLenum *) bp; bp += 4; + GLint *value = (GLint *) bp; bp += 4; + weglPatchParameteri(*pname,*value); +}; break; +case 5756: { // glPatchParameterfv + GLenum *pname = (GLenum *) bp; bp += 4; + int * valuesLen = (int *) bp; bp += 4; + GLfloat * values = (GLfloat *) bp; bp += (8-((*valuesLen*4+0)%8))%8; + weglPatchParameterfv(*pname,values); +}; break; +case 5757: { // glBindTransformFeedback + GLenum *target = (GLenum *) bp; bp += 4; + GLuint *id = (GLuint *) bp; bp += 4; + weglBindTransformFeedback(*target,*id); +}; break; +case 5758: { // glDeleteTransformFeedbacks + int * idsLen = (int *) bp; bp += 4; + GLuint * ids = (GLuint *) bp; bp += (8-((*idsLen*4+4)%8))%8; + weglDeleteTransformFeedbacks(*idsLen,ids); +}; break; +case 5759: { // glGenTransformFeedbacks + GLsizei *n = (GLsizei *) bp; bp += 4; + GLuint *ids; + ids = (GLuint *) driver_alloc(sizeof(GLuint) * *n); + weglGenTransformFeedbacks(*n,ids); + int AP = 0; ErlDrvTermData *rt; + rt = (ErlDrvTermData *) driver_alloc(sizeof(ErlDrvTermData)*(7 + (*n)*2)); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); + for(int i=0; i < *n; i++) { + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) ids[i];} + rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = (*n)+1; + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; + driver_send_term(port,caller,rt,AP); + driver_free(rt); + driver_free(ids); +}; break; +case 5760: { // glIsTransformFeedback + GLuint *id = (GLuint *) bp; bp += 4; + GLboolean result = weglIsTransformFeedback(*id); + int AP = 0; ErlDrvTermData rt[6]; + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result; + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; + driver_send_term(port,caller,rt,AP); +}; break; +case 5761: { // glPauseTransformFeedback + weglPauseTransformFeedback(); +}; break; +case 5762: { // glResumeTransformFeedback + weglResumeTransformFeedback(); +}; break; +case 5763: { // glDrawTransformFeedback + GLenum *mode = (GLenum *) bp; bp += 4; + GLuint *id = (GLuint *) bp; bp += 4; + weglDrawTransformFeedback(*mode,*id); +}; break; +case 5764: { // glDrawTransformFeedbackStream + GLenum *mode = (GLenum *) bp; bp += 4; + GLuint *id = (GLuint *) bp; bp += 4; + GLuint *stream = (GLuint *) bp; bp += 4; + weglDrawTransformFeedbackStream(*mode,*id,*stream); +}; break; +case 5765: { // glBeginQueryIndexed + GLenum *target = (GLenum *) bp; bp += 4; + GLuint *index = (GLuint *) bp; bp += 4; + GLuint *id = (GLuint *) bp; bp += 4; + weglBeginQueryIndexed(*target,*index,*id); +}; break; +case 5766: { // glEndQueryIndexed + GLenum *target = (GLenum *) bp; bp += 4; + GLuint *index = (GLuint *) bp; bp += 4; + weglEndQueryIndexed(*target,*index); +}; break; +case 5767: { // glGetQueryIndexediv + GLenum *target = (GLenum *) bp; bp += 4; + GLuint *index = (GLuint *) bp; bp += 4; + GLenum *pname = (GLenum *) bp; bp += 4; + GLint params[1] = {0}; + weglGetQueryIndexediv(*target,*index,*pname,params); + int AP = 0; ErlDrvTermData rt[6]; + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *params; + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; + driver_send_term(port,caller,rt,AP); +}; break; +case 5768: { // glReleaseShaderCompiler + weglReleaseShaderCompiler(); +}; break; +case 5769: { // glShaderBinary + int * shadersLen = (int *) bp; bp += 4; + GLuint * shaders = (GLuint *) bp; bp += (8-((*shadersLen*4+4)%8))%8; + GLenum *binaryformat = (GLenum *) bp; bp += 4; + GLvoid *binary = (GLvoid *) bins[0]; + GLsizei binary_size = bins_sz[0]; + weglShaderBinary(*shadersLen,shaders,*binaryformat,binary,binary_size); +}; break; +case 5770: { // glGetShaderPrecisionFormat + GLenum *shadertype = (GLenum *) bp; bp += 4; + GLenum *precisiontype = (GLenum *) bp; bp += 4; + GLint range[2] = {0,0}; + GLint precision[1] = {0}; + weglGetShaderPrecisionFormat(*shadertype,*precisiontype,range,precision); + int AP = 0; ErlDrvTermData rt[14]; + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); + GLint *rangeTmp = range; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *rangeTmp++; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *rangeTmp++; + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *precision; + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; + driver_send_term(port,caller,rt,AP); +}; break; +case 5771: { // glDepthRangef + GLclampf *n = (GLclampf *) bp; bp += 4; + GLclampf *f = (GLclampf *) bp; bp += 4; + weglDepthRangef(*n,*f); +}; break; +case 5772: { // glClearDepthf + GLclampf *d = (GLclampf *) bp; bp += 4; + weglClearDepthf(*d); +}; break; +case 5773: { // glGetProgramBinary + GLuint *program = (GLuint *) bp; bp += 4; + GLsizei *bufSize = (GLsizei *) bp; bp += 4; + GLsizei length[1] = {0}; + GLenum binaryFormat[1] = {0}; + ErlDrvBinary *binary = driver_alloc_binary(*bufSize); + weglGetProgramBinary(*program,*bufSize,length,binaryFormat,(GLvoid*) binary->orig_bytes); + int AP = 0; ErlDrvTermData rt[12]; + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *binaryFormat; + rt[AP++] = ERL_DRV_BINARY; rt[AP++] = (ErlDrvTermData) binary; rt[AP++] = *length; rt[AP++] = 0; + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; + driver_send_term(port,caller,rt,AP); + driver_free_binary(binary); +}; break; +case 5774: { // glProgramBinary + GLuint *program = (GLuint *) bp; bp += 4; + GLenum *binaryFormat = (GLenum *) bp; bp += 4; + GLvoid *binary = (GLvoid *) bins[0]; + GLsizei binary_size = bins_sz[0]; + weglProgramBinary(*program,*binaryFormat,binary,binary_size); +}; break; +case 5775: { // glProgramParameteri + GLuint *program = (GLuint *) bp; bp += 4; + GLenum *pname = (GLenum *) bp; bp += 4; + GLint *value = (GLint *) bp; bp += 4; + weglProgramParameteri(*program,*pname,*value); +}; break; +case 5776: { // glUseProgramStages + GLuint *pipeline = (GLuint *) bp; bp += 4; + GLbitfield *stages = (GLbitfield *) bp; bp += 4; + GLuint *program = (GLuint *) bp; bp += 4; + weglUseProgramStages(*pipeline,*stages,*program); +}; break; +case 5777: { // glActiveShaderProgram + GLuint *pipeline = (GLuint *) bp; bp += 4; + GLuint *program = (GLuint *) bp; bp += 4; + weglActiveShaderProgram(*pipeline,*program); +}; break; +case 5778: { // glCreateShaderProgramv + GLenum *type = (GLenum *) bp; bp += 4; + int * stringsLen = (int *) bp; bp += 4; + int * stringsTotSize = (int *) bp; bp += 4; + GLchar **strings; + strings = (GLchar **) driver_alloc(sizeof(GLchar *) * *stringsLen); + for(int i=0;i<*stringsLen;i++) { + strings[i] = (GLchar *) bp; bp += 1+strlen(bp);}; + bp += (8 - ((0 + *stringsTotSize) % 8)) % 8; + GLuint result = weglCreateShaderProgramv(*type,*stringsLen,(const GLchar **) strings); + int AP = 0; ErlDrvTermData rt[6]; + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result; + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; + driver_send_term(port,caller,rt,AP); + driver_free(strings); +}; break; +case 5779: { // glBindProgramPipeline + GLuint *pipeline = (GLuint *) bp; bp += 4; + weglBindProgramPipeline(*pipeline); +}; break; +case 5780: { // glDeleteProgramPipelines + int * pipelinesLen = (int *) bp; bp += 4; + GLuint * pipelines = (GLuint *) bp; bp += (8-((*pipelinesLen*4+4)%8))%8; + weglDeleteProgramPipelines(*pipelinesLen,pipelines); +}; break; +case 5781: { // glGenProgramPipelines + GLsizei *n = (GLsizei *) bp; bp += 4; + GLuint *pipelines; + pipelines = (GLuint *) driver_alloc(sizeof(GLuint) * *n); + weglGenProgramPipelines(*n,pipelines); + int AP = 0; ErlDrvTermData *rt; + rt = (ErlDrvTermData *) driver_alloc(sizeof(ErlDrvTermData)*(7 + (*n)*2)); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); + for(int i=0; i < *n; i++) { + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) pipelines[i];} + rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = (*n)+1; + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; + driver_send_term(port,caller,rt,AP); + driver_free(rt); + driver_free(pipelines); +}; break; +case 5782: { // glIsProgramPipeline + GLuint *pipeline = (GLuint *) bp; bp += 4; + GLboolean result = weglIsProgramPipeline(*pipeline); + int AP = 0; ErlDrvTermData rt[6]; + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result; + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; + driver_send_term(port,caller,rt,AP); +}; break; +case 5783: { // glGetProgramPipelineiv + GLuint *pipeline = (GLuint *) bp; bp += 4; + GLenum *pname = (GLenum *) bp; bp += 4; + GLint params[1] = {0}; + weglGetProgramPipelineiv(*pipeline,*pname,params); + int AP = 0; ErlDrvTermData rt[6]; + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *params; + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; + driver_send_term(port,caller,rt,AP); +}; break; +case 5784: { // glProgramUniform1i + GLuint *program = (GLuint *) bp; bp += 4; + GLint *location = (GLint *) bp; bp += 4; + GLint *v0 = (GLint *) bp; bp += 4; + weglProgramUniform1i(*program,*location,*v0); +}; break; +case 5785: { // glProgramUniform1iv + GLuint *program = (GLuint *) bp; bp += 4; + GLint *location = (GLint *) bp; bp += 4; + int * valueLen = (int *) bp; bp += 4; + GLint * value = (GLint *) bp; bp += (8-((*valueLen*4+4)%8))%8; + weglProgramUniform1iv(*program,*location,*valueLen,value); +}; break; +case 5786: { // glProgramUniform1f + GLuint *program = (GLuint *) bp; bp += 4; + GLint *location = (GLint *) bp; bp += 4; + GLfloat *v0 = (GLfloat *) bp; bp += 4; + weglProgramUniform1f(*program,*location,*v0); +}; break; +case 5787: { // glProgramUniform1fv + GLuint *program = (GLuint *) bp; bp += 4; + GLint *location = (GLint *) bp; bp += 4; + int * valueLen = (int *) bp; bp += 4; + GLfloat * value = (GLfloat *) bp; bp += (8-((*valueLen*4+4)%8))%8; + weglProgramUniform1fv(*program,*location,*valueLen,value); +}; break; +case 5788: { // glProgramUniform1d + GLuint *program = (GLuint *) bp; bp += 4; + GLint *location = (GLint *) bp; bp += 4; + GLdouble *v0 = (GLdouble *) bp; bp += 8; + weglProgramUniform1d(*program,*location,*v0); +}; break; +case 5789: { // glProgramUniform1dv + GLuint *program = (GLuint *) bp; bp += 4; + GLint *location = (GLint *) bp; bp += 4; + int * valueLen = (int *) bp; bp += 8; + GLdouble * value = (GLdouble *) bp; bp += (8-((*valueLen*8+0)%8))%8; + weglProgramUniform1dv(*program,*location,*valueLen,value); +}; break; +case 5790: { // glProgramUniform1ui + GLuint *program = (GLuint *) bp; bp += 4; + GLint *location = (GLint *) bp; bp += 4; + GLuint *v0 = (GLuint *) bp; bp += 4; + weglProgramUniform1ui(*program,*location,*v0); +}; break; +case 5791: { // glProgramUniform1uiv + GLuint *program = (GLuint *) bp; bp += 4; + GLint *location = (GLint *) bp; bp += 4; + int * valueLen = (int *) bp; bp += 4; + GLuint * value = (GLuint *) bp; bp += (8-((*valueLen*4+4)%8))%8; + weglProgramUniform1uiv(*program,*location,*valueLen,value); +}; break; +case 5792: { // glProgramUniform2i + GLuint *program = (GLuint *) bp; bp += 4; + GLint *location = (GLint *) bp; bp += 4; + GLint *v0 = (GLint *) bp; bp += 4; + GLint *v1 = (GLint *) bp; bp += 4; + weglProgramUniform2i(*program,*location,*v0,*v1); +}; break; +case 5793: { // glProgramUniform2iv + GLuint *program = (GLuint *) bp; bp += 4; + GLint *location = (GLint *) bp; bp += 4; + int *valueLen = (int *) bp; bp += 4; + GLint * value = (GLint *) bp; bp += *valueLen*8; + weglProgramUniform2iv(*program,*location,*valueLen,value); +}; break; +case 5794: { // glProgramUniform2f + GLuint *program = (GLuint *) bp; bp += 4; + GLint *location = (GLint *) bp; bp += 4; + GLfloat *v0 = (GLfloat *) bp; bp += 4; + GLfloat *v1 = (GLfloat *) bp; bp += 4; + weglProgramUniform2f(*program,*location,*v0,*v1); +}; break; +case 5795: { // glProgramUniform2fv + GLuint *program = (GLuint *) bp; bp += 4; + GLint *location = (GLint *) bp; bp += 4; + int *valueLen = (int *) bp; bp += 4; + GLfloat * value = (GLfloat *) bp; bp += *valueLen*8; + weglProgramUniform2fv(*program,*location,*valueLen,value); +}; break; +case 5796: { // glProgramUniform2d + GLuint *program = (GLuint *) bp; bp += 4; + GLint *location = (GLint *) bp; bp += 4; + GLdouble *v0 = (GLdouble *) bp; bp += 8; + GLdouble *v1 = (GLdouble *) bp; bp += 8; + weglProgramUniform2d(*program,*location,*v0,*v1); +}; break; +case 5797: { // glProgramUniform2dv + GLuint *program = (GLuint *) bp; bp += 4; + GLint *location = (GLint *) bp; bp += 4; + int *valueLen = (int *) bp; bp += 8; + GLdouble * value = (GLdouble *) bp; bp += *valueLen*16; + weglProgramUniform2dv(*program,*location,*valueLen,value); +}; break; +case 5798: { // glProgramUniform2ui + GLuint *program = (GLuint *) bp; bp += 4; + GLint *location = (GLint *) bp; bp += 4; + GLuint *v0 = (GLuint *) bp; bp += 4; + GLuint *v1 = (GLuint *) bp; bp += 4; + weglProgramUniform2ui(*program,*location,*v0,*v1); +}; break; +case 5799: { // glProgramUniform2uiv + GLuint *program = (GLuint *) bp; bp += 4; + GLint *location = (GLint *) bp; bp += 4; + int *valueLen = (int *) bp; bp += 4; + GLuint * value = (GLuint *) bp; bp += *valueLen*8; + weglProgramUniform2uiv(*program,*location,*valueLen,value); +}; break; +case 5800: { // glProgramUniform3i + GLuint *program = (GLuint *) bp; bp += 4; + GLint *location = (GLint *) bp; bp += 4; + GLint *v0 = (GLint *) bp; bp += 4; + GLint *v1 = (GLint *) bp; bp += 4; + GLint *v2 = (GLint *) bp; bp += 4; + weglProgramUniform3i(*program,*location,*v0,*v1,*v2); +}; break; +case 5801: { // glProgramUniform3iv + GLuint *program = (GLuint *) bp; bp += 4; + GLint *location = (GLint *) bp; bp += 4; + int *valueLen = (int *) bp; bp += 4; + GLint * value = (GLint *) bp; bp += *valueLen*12; + weglProgramUniform3iv(*program,*location,*valueLen,value); +}; break; +case 5802: { // glProgramUniform3f + GLuint *program = (GLuint *) bp; bp += 4; + GLint *location = (GLint *) bp; bp += 4; + GLfloat *v0 = (GLfloat *) bp; bp += 4; + GLfloat *v1 = (GLfloat *) bp; bp += 4; + GLfloat *v2 = (GLfloat *) bp; bp += 4; + weglProgramUniform3f(*program,*location,*v0,*v1,*v2); +}; break; +case 5803: { // glProgramUniform3fv + GLuint *program = (GLuint *) bp; bp += 4; + GLint *location = (GLint *) bp; bp += 4; + int *valueLen = (int *) bp; bp += 4; + GLfloat * value = (GLfloat *) bp; bp += *valueLen*12; + weglProgramUniform3fv(*program,*location,*valueLen,value); +}; break; +case 5804: { // glProgramUniform3d + GLuint *program = (GLuint *) bp; bp += 4; + GLint *location = (GLint *) bp; bp += 4; + GLdouble *v0 = (GLdouble *) bp; bp += 8; + GLdouble *v1 = (GLdouble *) bp; bp += 8; + GLdouble *v2 = (GLdouble *) bp; bp += 8; + weglProgramUniform3d(*program,*location,*v0,*v1,*v2); +}; break; +case 5805: { // glProgramUniform3dv + GLuint *program = (GLuint *) bp; bp += 4; + GLint *location = (GLint *) bp; bp += 4; + int *valueLen = (int *) bp; bp += 8; + GLdouble * value = (GLdouble *) bp; bp += *valueLen*24; + weglProgramUniform3dv(*program,*location,*valueLen,value); +}; break; +case 5806: { // glProgramUniform3ui + GLuint *program = (GLuint *) bp; bp += 4; + GLint *location = (GLint *) bp; bp += 4; + GLuint *v0 = (GLuint *) bp; bp += 4; + GLuint *v1 = (GLuint *) bp; bp += 4; + GLuint *v2 = (GLuint *) bp; bp += 4; + weglProgramUniform3ui(*program,*location,*v0,*v1,*v2); +}; break; +case 5807: { // glProgramUniform3uiv + GLuint *program = (GLuint *) bp; bp += 4; + GLint *location = (GLint *) bp; bp += 4; + int *valueLen = (int *) bp; bp += 4; + GLuint * value = (GLuint *) bp; bp += *valueLen*12; + weglProgramUniform3uiv(*program,*location,*valueLen,value); +}; break; +case 5808: { // glProgramUniform4i + GLuint *program = (GLuint *) bp; bp += 4; + GLint *location = (GLint *) bp; bp += 4; + GLint *v0 = (GLint *) bp; bp += 4; + GLint *v1 = (GLint *) bp; bp += 4; + GLint *v2 = (GLint *) bp; bp += 4; + GLint *v3 = (GLint *) bp; bp += 4; + weglProgramUniform4i(*program,*location,*v0,*v1,*v2,*v3); +}; break; +case 5809: { // glProgramUniform4iv + GLuint *program = (GLuint *) bp; bp += 4; + GLint *location = (GLint *) bp; bp += 4; + int *valueLen = (int *) bp; bp += 4; + GLint * value = (GLint *) bp; bp += *valueLen*16; + weglProgramUniform4iv(*program,*location,*valueLen,value); +}; break; +case 5810: { // glProgramUniform4f + GLuint *program = (GLuint *) bp; bp += 4; + GLint *location = (GLint *) bp; bp += 4; + GLfloat *v0 = (GLfloat *) bp; bp += 4; + GLfloat *v1 = (GLfloat *) bp; bp += 4; + GLfloat *v2 = (GLfloat *) bp; bp += 4; + GLfloat *v3 = (GLfloat *) bp; bp += 4; + weglProgramUniform4f(*program,*location,*v0,*v1,*v2,*v3); +}; break; +case 5811: { // glProgramUniform4fv + GLuint *program = (GLuint *) bp; bp += 4; + GLint *location = (GLint *) bp; bp += 4; + int *valueLen = (int *) bp; bp += 4; + GLfloat * value = (GLfloat *) bp; bp += *valueLen*16; + weglProgramUniform4fv(*program,*location,*valueLen,value); +}; break; +case 5812: { // glProgramUniform4d + GLuint *program = (GLuint *) bp; bp += 4; + GLint *location = (GLint *) bp; bp += 4; + GLdouble *v0 = (GLdouble *) bp; bp += 8; + GLdouble *v1 = (GLdouble *) bp; bp += 8; + GLdouble *v2 = (GLdouble *) bp; bp += 8; + GLdouble *v3 = (GLdouble *) bp; bp += 8; + weglProgramUniform4d(*program,*location,*v0,*v1,*v2,*v3); +}; break; +case 5813: { // glProgramUniform4dv + GLuint *program = (GLuint *) bp; bp += 4; + GLint *location = (GLint *) bp; bp += 4; + int *valueLen = (int *) bp; bp += 8; + GLdouble * value = (GLdouble *) bp; bp += *valueLen*32; + weglProgramUniform4dv(*program,*location,*valueLen,value); +}; break; +case 5814: { // glProgramUniform4ui + GLuint *program = (GLuint *) bp; bp += 4; + GLint *location = (GLint *) bp; bp += 4; + GLuint *v0 = (GLuint *) bp; bp += 4; + GLuint *v1 = (GLuint *) bp; bp += 4; + GLuint *v2 = (GLuint *) bp; bp += 4; + GLuint *v3 = (GLuint *) bp; bp += 4; + weglProgramUniform4ui(*program,*location,*v0,*v1,*v2,*v3); +}; break; +case 5815: { // glProgramUniform4uiv + GLuint *program = (GLuint *) bp; bp += 4; + GLint *location = (GLint *) bp; bp += 4; + int *valueLen = (int *) bp; bp += 4; + GLuint * value = (GLuint *) bp; bp += *valueLen*16; + weglProgramUniform4uiv(*program,*location,*valueLen,value); +}; break; +case 5816: { // glProgramUniformMatrix2fv + GLuint *program = (GLuint *) bp; bp += 4; + GLint *location = (GLint *) bp; bp += 4; + GLboolean *transpose = (GLboolean *) bp; bp += 1; + bp += 3; + int *valueLen = (int *) bp; bp += 4; + GLfloat * value = (GLfloat *) bp; bp += *valueLen*16; + weglProgramUniformMatrix2fv(*program,*location,*valueLen,*transpose,value); +}; break; +case 5817: { // glProgramUniformMatrix3fv + GLuint *program = (GLuint *) bp; bp += 4; + GLint *location = (GLint *) bp; bp += 4; + GLboolean *transpose = (GLboolean *) bp; bp += 1; + bp += 3; + int *valueLen = (int *) bp; bp += 4; + GLfloat * value = (GLfloat *) bp; bp += *valueLen*36; + weglProgramUniformMatrix3fv(*program,*location,*valueLen,*transpose,value); +}; break; +case 5818: { // glProgramUniformMatrix4fv + GLuint *program = (GLuint *) bp; bp += 4; + GLint *location = (GLint *) bp; bp += 4; + GLboolean *transpose = (GLboolean *) bp; bp += 1; + bp += 3; + int *valueLen = (int *) bp; bp += 4; + GLfloat * value = (GLfloat *) bp; bp += *valueLen*64; + weglProgramUniformMatrix4fv(*program,*location,*valueLen,*transpose,value); +}; break; +case 5819: { // glProgramUniformMatrix2dv + GLuint *program = (GLuint *) bp; bp += 4; + GLint *location = (GLint *) bp; bp += 4; + GLboolean *transpose = (GLboolean *) bp; bp += 1; + bp += 7; + int *valueLen = (int *) bp; bp += 8; + GLdouble * value = (GLdouble *) bp; bp += *valueLen*32; + weglProgramUniformMatrix2dv(*program,*location,*valueLen,*transpose,value); +}; break; +case 5820: { // glProgramUniformMatrix3dv + GLuint *program = (GLuint *) bp; bp += 4; + GLint *location = (GLint *) bp; bp += 4; + GLboolean *transpose = (GLboolean *) bp; bp += 1; + bp += 7; + int *valueLen = (int *) bp; bp += 8; + GLdouble * value = (GLdouble *) bp; bp += *valueLen*72; + weglProgramUniformMatrix3dv(*program,*location,*valueLen,*transpose,value); +}; break; +case 5821: { // glProgramUniformMatrix4dv + GLuint *program = (GLuint *) bp; bp += 4; + GLint *location = (GLint *) bp; bp += 4; + GLboolean *transpose = (GLboolean *) bp; bp += 1; + bp += 7; + int *valueLen = (int *) bp; bp += 8; + GLdouble * value = (GLdouble *) bp; bp += *valueLen*128; + weglProgramUniformMatrix4dv(*program,*location,*valueLen,*transpose,value); +}; break; +case 5822: { // glProgramUniformMatrix2x3fv + GLuint *program = (GLuint *) bp; bp += 4; + GLint *location = (GLint *) bp; bp += 4; + GLboolean *transpose = (GLboolean *) bp; bp += 1; + bp += 3; + int *valueLen = (int *) bp; bp += 4; + GLfloat * value = (GLfloat *) bp; bp += *valueLen*24; + weglProgramUniformMatrix2x3fv(*program,*location,*valueLen,*transpose,value); +}; break; +case 5823: { // glProgramUniformMatrix3x2fv + GLuint *program = (GLuint *) bp; bp += 4; + GLint *location = (GLint *) bp; bp += 4; + GLboolean *transpose = (GLboolean *) bp; bp += 1; + bp += 3; + int *valueLen = (int *) bp; bp += 4; + GLfloat * value = (GLfloat *) bp; bp += *valueLen*24; + weglProgramUniformMatrix3x2fv(*program,*location,*valueLen,*transpose,value); +}; break; +case 5824: { // glProgramUniformMatrix2x4fv + GLuint *program = (GLuint *) bp; bp += 4; + GLint *location = (GLint *) bp; bp += 4; + GLboolean *transpose = (GLboolean *) bp; bp += 1; + bp += 3; + int *valueLen = (int *) bp; bp += 4; + GLfloat * value = (GLfloat *) bp; bp += *valueLen*32; + weglProgramUniformMatrix2x4fv(*program,*location,*valueLen,*transpose,value); +}; break; +case 5825: { // glProgramUniformMatrix4x2fv + GLuint *program = (GLuint *) bp; bp += 4; + GLint *location = (GLint *) bp; bp += 4; + GLboolean *transpose = (GLboolean *) bp; bp += 1; + bp += 3; + int *valueLen = (int *) bp; bp += 4; + GLfloat * value = (GLfloat *) bp; bp += *valueLen*32; + weglProgramUniformMatrix4x2fv(*program,*location,*valueLen,*transpose,value); +}; break; +case 5826: { // glProgramUniformMatrix3x4fv + GLuint *program = (GLuint *) bp; bp += 4; + GLint *location = (GLint *) bp; bp += 4; + GLboolean *transpose = (GLboolean *) bp; bp += 1; + bp += 3; + int *valueLen = (int *) bp; bp += 4; + GLfloat * value = (GLfloat *) bp; bp += *valueLen*48; + weglProgramUniformMatrix3x4fv(*program,*location,*valueLen,*transpose,value); +}; break; +case 5827: { // glProgramUniformMatrix4x3fv + GLuint *program = (GLuint *) bp; bp += 4; + GLint *location = (GLint *) bp; bp += 4; + GLboolean *transpose = (GLboolean *) bp; bp += 1; + bp += 3; + int *valueLen = (int *) bp; bp += 4; + GLfloat * value = (GLfloat *) bp; bp += *valueLen*48; + weglProgramUniformMatrix4x3fv(*program,*location,*valueLen,*transpose,value); +}; break; +case 5828: { // glProgramUniformMatrix2x3dv + GLuint *program = (GLuint *) bp; bp += 4; + GLint *location = (GLint *) bp; bp += 4; + GLboolean *transpose = (GLboolean *) bp; bp += 1; + bp += 7; + int *valueLen = (int *) bp; bp += 8; + GLdouble * value = (GLdouble *) bp; bp += *valueLen*48; + weglProgramUniformMatrix2x3dv(*program,*location,*valueLen,*transpose,value); +}; break; +case 5829: { // glProgramUniformMatrix3x2dv + GLuint *program = (GLuint *) bp; bp += 4; + GLint *location = (GLint *) bp; bp += 4; + GLboolean *transpose = (GLboolean *) bp; bp += 1; + bp += 7; + int *valueLen = (int *) bp; bp += 8; + GLdouble * value = (GLdouble *) bp; bp += *valueLen*48; + weglProgramUniformMatrix3x2dv(*program,*location,*valueLen,*transpose,value); +}; break; +case 5830: { // glProgramUniformMatrix2x4dv + GLuint *program = (GLuint *) bp; bp += 4; + GLint *location = (GLint *) bp; bp += 4; + GLboolean *transpose = (GLboolean *) bp; bp += 1; + bp += 7; + int *valueLen = (int *) bp; bp += 8; + GLdouble * value = (GLdouble *) bp; bp += *valueLen*64; + weglProgramUniformMatrix2x4dv(*program,*location,*valueLen,*transpose,value); +}; break; +case 5831: { // glProgramUniformMatrix4x2dv + GLuint *program = (GLuint *) bp; bp += 4; + GLint *location = (GLint *) bp; bp += 4; + GLboolean *transpose = (GLboolean *) bp; bp += 1; + bp += 7; + int *valueLen = (int *) bp; bp += 8; + GLdouble * value = (GLdouble *) bp; bp += *valueLen*64; + weglProgramUniformMatrix4x2dv(*program,*location,*valueLen,*transpose,value); +}; break; +case 5832: { // glProgramUniformMatrix3x4dv + GLuint *program = (GLuint *) bp; bp += 4; + GLint *location = (GLint *) bp; bp += 4; + GLboolean *transpose = (GLboolean *) bp; bp += 1; + bp += 7; + int *valueLen = (int *) bp; bp += 8; + GLdouble * value = (GLdouble *) bp; bp += *valueLen*96; + weglProgramUniformMatrix3x4dv(*program,*location,*valueLen,*transpose,value); +}; break; +case 5833: { // glProgramUniformMatrix4x3dv + GLuint *program = (GLuint *) bp; bp += 4; + GLint *location = (GLint *) bp; bp += 4; + GLboolean *transpose = (GLboolean *) bp; bp += 1; + bp += 7; + int *valueLen = (int *) bp; bp += 8; + GLdouble * value = (GLdouble *) bp; bp += *valueLen*96; + weglProgramUniformMatrix4x3dv(*program,*location,*valueLen,*transpose,value); +}; break; +case 5834: { // glValidateProgramPipeline + GLuint *pipeline = (GLuint *) bp; bp += 4; + weglValidateProgramPipeline(*pipeline); +}; break; +case 5835: { // glGetProgramPipelineInfoLog + GLuint *pipeline = (GLuint *) bp; bp += 4; + GLsizei *bufSize = (GLsizei *) bp; bp += 4; + GLsizei length[1] = {0}; + GLchar *infoLog; + infoLog = (GLchar *) driver_alloc(sizeof(GLchar) * *bufSize); + weglGetProgramPipelineInfoLog(*pipeline,*bufSize,length,infoLog); + int AP = 0; ErlDrvTermData rt[7]; + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); + rt[AP++] = ERL_DRV_STRING; rt[AP++] = (ErlDrvTermData) infoLog; rt[AP++] = *length; + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; + driver_send_term(port,caller,rt,AP); + driver_free(infoLog); +}; break; +case 5836: { // glVertexAttribL1dv + GLuint *index = (GLuint *) bp; bp += 4; + bp += 4; + GLdouble *v = (GLdouble *) bp; bp += 8; + weglVertexAttribL1dv(*index,v); +}; break; +case 5837: { // glVertexAttribL2dv + GLuint *index = (GLuint *) bp; bp += 4; + bp += 4; + GLdouble *v = (GLdouble *) bp; bp += 8; + weglVertexAttribL2dv(*index,v); +}; break; +case 5838: { // glVertexAttribL3dv + GLuint *index = (GLuint *) bp; bp += 4; + bp += 4; + GLdouble *v = (GLdouble *) bp; bp += 8; + weglVertexAttribL3dv(*index,v); +}; break; +case 5839: { // glVertexAttribL4dv + GLuint *index = (GLuint *) bp; bp += 4; + bp += 4; + GLdouble *v = (GLdouble *) bp; bp += 8; + weglVertexAttribL4dv(*index,v); +}; break; +case 5840: { // glVertexAttribLPointer + GLuint *index = (GLuint *) bp; bp += 4; + GLint *size = (GLint *) bp; bp += 4; + GLenum *type = (GLenum *) bp; bp += 4; + GLsizei *stride = (GLsizei *) bp; bp += 4; + GLvoid *pointer = (GLvoid *) * (int *) bp; bp += 4; + weglVertexAttribLPointer(*index,*size,*type,*stride,pointer); +}; break; +case 5841: { // glVertexAttribLPointer + GLuint *index = (GLuint *) bp; bp += 4; + GLint *size = (GLint *) bp; bp += 4; + GLenum *type = (GLenum *) bp; bp += 4; + GLsizei *stride = (GLsizei *) bp; bp += 4; + GLvoid *pointer = (GLvoid *) bins[0]; + weglVertexAttribLPointer(*index,*size,*type,*stride,pointer); +}; break; +case 5842: { // glGetVertexAttribLdv + GLuint *index = (GLuint *) bp; bp += 4; + GLenum *pname = (GLenum *) bp; bp += 4; + GLdouble params[4] = {0.0,0.0,0.0,0.0}; + weglGetVertexAttribLdv(*index,*pname,params); + int AP = 0; ErlDrvTermData rt[14]; + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); + GLdouble *paramsTmp = params; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++; + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4; + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; + driver_send_term(port,caller,rt,AP); +}; break; +case 5843: { // glViewportArrayv + GLuint *first = (GLuint *) bp; bp += 4; + int *vLen = (int *) bp; bp += 4; + GLfloat * v = (GLfloat *) bp; bp += *vLen*16; + weglViewportArrayv(*first,*vLen,v); +}; break; +case 5844: { // glViewportIndexedf + GLuint *index = (GLuint *) bp; bp += 4; + GLfloat *x = (GLfloat *) bp; bp += 4; + GLfloat *y = (GLfloat *) bp; bp += 4; + GLfloat *w = (GLfloat *) bp; bp += 4; + GLfloat *h = (GLfloat *) bp; bp += 4; + weglViewportIndexedf(*index,*x,*y,*w,*h); +}; break; +case 5845: { // glViewportIndexedfv + GLuint *index = (GLuint *) bp; bp += 4; + GLfloat * v = (GLfloat *) bp; bp += 16; + weglViewportIndexedfv(*index,v); +}; break; +case 5846: { // glScissorArrayv + GLuint *first = (GLuint *) bp; bp += 4; + int *vLen = (int *) bp; bp += 4; + GLint * v = (GLint *) bp; bp += *vLen*16; + weglScissorArrayv(*first,*vLen,v); +}; break; +case 5847: { // glScissorIndexed + GLuint *index = (GLuint *) bp; bp += 4; + GLint *left = (GLint *) bp; bp += 4; + GLint *bottom = (GLint *) bp; bp += 4; + GLsizei *width = (GLsizei *) bp; bp += 4; + GLsizei *height = (GLsizei *) bp; bp += 4; + weglScissorIndexed(*index,*left,*bottom,*width,*height); +}; break; +case 5848: { // glScissorIndexedv + GLuint *index = (GLuint *) bp; bp += 4; + GLint * v = (GLint *) bp; bp += 16; + weglScissorIndexedv(*index,v); +}; break; +case 5849: { // glDepthRangeArrayv + GLuint *first = (GLuint *) bp; bp += 4; + bp += 4; + int *vLen = (int *) bp; bp += 8; + GLclampd * v = (GLclampd *) bp; bp += *vLen*16; + weglDepthRangeArrayv(*first,*vLen,v); +}; break; +case 5850: { // glDepthRangeIndexed + GLuint *index = (GLuint *) bp; bp += 4; + bp += 4; + GLclampd *n = (GLclampd *) bp; bp += 8; + GLclampd *f = (GLclampd *) bp; bp += 8; + weglDepthRangeIndexed(*index,*n,*f); +}; break; +case 5851: { // glGetFloati_v + GLenum *target = (GLenum *) bp; bp += 4; + GLuint *index = (GLuint *) bp; bp += 4; + GLfloat data[16] = {0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0}; + weglGetFloati_v(*target,*index,data); + int AP = 0; ErlDrvTermData rt[39]; + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); + GLdouble dataConv[16], *dataTmp = dataConv; + for(int i=0; i < 16; i++) dataConv[i] = (GLdouble) data[i]; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) dataTmp++; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) dataTmp++; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) dataTmp++; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) dataTmp++; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) dataTmp++; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) dataTmp++; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) dataTmp++; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) dataTmp++; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) dataTmp++; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) dataTmp++; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) dataTmp++; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) dataTmp++; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) dataTmp++; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) dataTmp++; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) dataTmp++; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) dataTmp++; + rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = 16+1; + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; + driver_send_term(port,caller,rt,AP); +}; break; +case 5852: { // glGetDoublei_v + GLenum *target = (GLenum *) bp; bp += 4; + GLuint *index = (GLuint *) bp; bp += 4; + GLdouble data[16] = {0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0}; + weglGetDoublei_v(*target,*index,data); + int AP = 0; ErlDrvTermData rt[39]; + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); + GLdouble *dataTmp = data; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) dataTmp++; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) dataTmp++; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) dataTmp++; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) dataTmp++; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) dataTmp++; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) dataTmp++; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) dataTmp++; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) dataTmp++; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) dataTmp++; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) dataTmp++; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) dataTmp++; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) dataTmp++; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) dataTmp++; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) dataTmp++; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) dataTmp++; + rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) dataTmp++; + rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = 16+1; + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; + driver_send_term(port,caller,rt,AP); +}; break; +case 5853: { // glDebugMessageControlARB + GLenum *source = (GLenum *) bp; bp += 4; + GLenum *type = (GLenum *) bp; bp += 4; + GLenum *severity = (GLenum *) bp; bp += 4; + int * idsLen = (int *) bp; bp += 4; + GLuint * ids = (GLuint *) bp; bp += (8-((*idsLen*4+0)%8))%8; + GLboolean *enabled = (GLboolean *) bp; bp += 1; + weglDebugMessageControlARB(*source,*type,*severity,*idsLen,ids,*enabled); +}; break; +case 5854: { // glDebugMessageInsertARB + GLenum *source = (GLenum *) bp; bp += 4; + GLenum *type = (GLenum *) bp; bp += 4; + GLuint *id = (GLuint *) bp; bp += 4; + GLenum *severity = (GLenum *) bp; bp += 4; + GLchar *buf = (GLchar *) bp; + int bufLen[1] = {strlen((char *)buf)}; bp += bufLen[0]+1+((8-((1+bufLen[0]+0)%8))%8); + weglDebugMessageInsertARB(*source,*type,*id,*severity,*bufLen,buf); +}; break; +case 5855: { // glGetDebugMessageLogARB + GLuint *count = (GLuint *) bp; bp += 4; + GLsizei *bufsize = (GLsizei *) bp; bp += 4; + GLenum *sources; + sources = (GLenum *) driver_alloc(sizeof(GLenum) * *count); + GLenum *types; + types = (GLenum *) driver_alloc(sizeof(GLenum) * *count); + GLuint *ids; + ids = (GLuint *) driver_alloc(sizeof(GLuint) * *count); + GLenum *severities; + severities = (GLenum *) driver_alloc(sizeof(GLenum) * *count); + GLsizei *lengths; + lengths = (GLsizei *) driver_alloc(sizeof(GLsizei) * *count); + GLchar *messageLog; + messageLog = (GLchar *) driver_alloc(sizeof(GLchar) * *bufsize); + GLuint result = weglGetDebugMessageLogARB(*count,*bufsize,sources,types,ids,severities,lengths,messageLog); + int AP = 0; ErlDrvTermData *rt; + rt = (ErlDrvTermData *) driver_alloc(sizeof(ErlDrvTermData)*(23 + result*3 + result*2 + result*2 + result*2 + result*2)); + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result; + for(int i=0; i < (int) result; i++) { + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) sources[i];} + rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = ((int) result)+1; + for(int i=0; i < (int) result; i++) { + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) types[i];} + rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = ((int) result)+1; + for(int i=0; i < (int) result; i++) { + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) ids[i];} + rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = ((int) result)+1; + for(int i=0; i < (int) result; i++) { + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) severities[i];} + rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = ((int) result)+1; + for(int i=0; i < (int) result; i++) { + rt[AP++] = ERL_DRV_STRING; rt[AP++] = (ErlDrvTermData) messageLog; rt[AP++] = lengths[i]-1; + messageLog += lengths[i]; } + rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = ((int) result)+1; + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 6; + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; + driver_send_term(port,caller,rt,AP); + driver_free(rt); + driver_free(messageLog); + driver_free(lengths); + driver_free(severities); + driver_free(ids); + driver_free(types); + driver_free(sources); +}; break; +case 5856: { // glGetGraphicsResetStatusARB + GLenum result = weglGetGraphicsResetStatusARB(); + int AP = 0; ErlDrvTermData rt[6]; + rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_result_"); + rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result; + rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; + driver_send_term(port,caller,rt,AP); +}; break; +case 5857: { // glResizeBuffersMESA weglResizeBuffersMESA(); -}; break; -case 5677: { // glWindowPos4dvMESA +}; break; +case 5858: { // glWindowPos4dvMESA GLdouble *v = (GLdouble *) bp; bp += 8; weglWindowPos4dvMESA(v); -}; break; -case 5678: { // glWindowPos4fvMESA +}; break; +case 5859: { // glWindowPos4fvMESA GLfloat *v = (GLfloat *) bp; bp += 4; weglWindowPos4fvMESA(v); -}; break; -case 5679: { // glWindowPos4ivMESA +}; break; +case 5860: { // glWindowPos4ivMESA GLint *v = (GLint *) bp; bp += 4; weglWindowPos4ivMESA(v); -}; break; -case 5680: { // glWindowPos4svMESA +}; break; +case 5861: { // glWindowPos4svMESA GLshort *v = (GLshort *) bp; bp += 2; weglWindowPos4svMESA(v); -}; break; -case 5681: { // glDepthBoundsEXT +}; break; +case 5862: { // glDepthBoundsEXT GLclampd *zmin = (GLclampd *) bp; bp += 8; GLclampd *zmax = (GLclampd *) bp; bp += 8; weglDepthBoundsEXT(*zmin,*zmax); -}; break; -case 5682: { // glStencilClearTagEXT +}; break; +case 5863: { // glStencilClearTagEXT GLsizei *stencilTagBits = (GLsizei *) bp; bp += 4; GLuint *stencilClearTag = (GLuint *) bp; bp += 4; weglStencilClearTagEXT(*stencilTagBits,*stencilClearTag); -}; break; +}; break; +}} catch (char *err_msg) { +int AP = 0; ErlDrvTermData rt[12]; +rt[AP++] = ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_egl_error_"); +rt[AP++] = ERL_DRV_INT; rt[AP++] = (int) op; +rt[AP++] = ERL_DRV_ATOM; rt[AP++] = driver_mk_atom((char *) err_msg); +// rt[AP++] = ERL_DRV_ATOM; rt[AP++] = driver_mk_atom((char *) gl_fns[op-GLE_GL_FUNC_START].name); +// rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; +rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 3; +driver_send_term(port,caller,rt,AP); }} /* The End */ diff --git a/lib/wx/c_src/gen/glu_finit.h b/lib/wx/c_src/gen/glu_finit.h index 2f0e2d15e4..63e9c2fc78 100644 --- a/lib/wx/c_src/gen/glu_finit.h +++ b/lib/wx/c_src/gen/glu_finit.h @@ -16,7 +16,7 @@ * * %CopyrightEnd% */ -/***** This file is generated do not edit ****/ +/***** This file is generated do not edit ****/ static struct { const char * name; diff --git a/lib/wx/c_src/gen/wxe_derived_dest.h b/lib/wx/c_src/gen/wxe_derived_dest.h index 57b0faa2cb..4e4aea098d 100644 --- a/lib/wx/c_src/gen/wxe_derived_dest.h +++ b/lib/wx/c_src/gen/wxe_derived_dest.h @@ -1,7 +1,7 @@ /* * %CopyrightBegin% * - * Copyright Ericsson AB 2008-2010. All Rights Reserved. + * Copyright Ericsson AB 2008-2011. All Rights Reserved. * * The contents of this file are subject to the Erlang Public License, * Version 1.1, (the "License"); you may not use this file except in @@ -362,10 +362,22 @@ class EwxListBox : public wxListBox { EwxListBox() : wxListBox() {}; }; + class EwxListCtrl : public wxListCtrl { - public: ~EwxListCtrl() {((WxeApp *)wxTheApp)->clearPtr(this);}; + public: ~EwxListCtrl(); EwxListCtrl(wxWindow * parent,wxWindowID winid,const wxPoint& pos,const wxSize& size,long style,const wxValidator& validator) : wxListCtrl(parent,winid,pos,size,style,validator) {}; EwxListCtrl() : wxListCtrl() {}; + + int onGetItemText; + int onGetItemAttr; + int onGetItemColumnImage; + ErlDrvPort port; + + private: + virtual wxString OnGetItemText(long item, long col) const; + virtual wxListItemAttr* OnGetItemAttr(long item) const; + virtual int OnGetItemImage(long item) const; + virtual int OnGetItemColumnImage(long item, long column) const; }; class EwxListItem : public wxListItem { @@ -715,28 +727,3 @@ class EwxHtmlWindow : public wxHtmlWindow { EwxHtmlWindow() : wxHtmlWindow() {}; }; -void WxeApp::delete_object(void *ptr, wxeRefData *refd) { - switch(refd->type) { - case 24: delete (wxGridCellBoolRenderer *) ptr; break; - case 25: delete (wxGridCellBoolEditor *) ptr; break; - case 26: delete (wxGridCellFloatRenderer *) ptr; break; - case 27: delete (wxGridCellFloatEditor *) ptr; break; - case 28: delete (wxGridCellStringRenderer *) ptr; break; - case 29: delete (wxGridCellTextEditor *) ptr; break; - case 30: delete (wxGridCellChoiceEditor *) ptr; break; - case 31: delete (wxGridCellNumberRenderer *) ptr; break; - case 32: delete (wxGridCellNumberEditor *) ptr; break; - case 61: delete (wxIconBundle *) ptr; break; - case 69: delete (wxAcceleratorEntry *) ptr; break; - case 70: /* delete (wxCaret *) ptr;These objects must be deleted by owner object */ break; - case 72: delete (wxSizerFlags *) ptr; break; - case 88: /* delete (wxCalendarDateAttr *) ptr;These objects must be deleted by owner object */ break; - case 102: delete (wxTextAttr *) ptr; break; - case 154: delete (wxAuiPaneInfo *) ptr; break; - case 211: /* delete (wxFileDataObject *) ptr;These objects must be deleted by owner object */ break; - case 212: /* delete (wxTextDataObject *) ptr;These objects must be deleted by owner object */ break; - case 213: /* delete (wxBitmapDataObject *) ptr;These objects must be deleted by owner object */ break; - case 222: delete (wxLogNull *) ptr; break; - default: delete (wxObject *) ptr; -}} - diff --git a/lib/wx/c_src/gen/wxe_events.cpp b/lib/wx/c_src/gen/wxe_events.cpp index a6857442c9..b9769318af 100644 --- a/lib/wx/c_src/gen/wxe_events.cpp +++ b/lib/wx/c_src/gen/wxe_events.cpp @@ -1,7 +1,7 @@ /* * %CopyrightBegin% * - * Copyright Ericsson AB 2008-2010. All Rights Reserved. + * Copyright Ericsson AB 2008-2011. All Rights Reserved. * * The contents of this file are subject to the Erlang Public License, * Version 1.1, (the "License"); you may not use this file except in @@ -37,15 +37,15 @@ int wxeEventTypeFromAtom(char *etype_atom) { wxeETmap::iterator it; for(it = etmap.begin(); it != etmap.end(); ++it) { wxeEtype * value = it->second; - if(strcmp(value->eName, etype_atom) == 0) { - if(it->first > wxEVT_USER_FIRST) { + if(strcmp(value->eName, etype_atom) == 0) { + if(it->first > wxEVT_USER_FIRST) { return it->first - wxEVT_USER_FIRST; } else { return it->first; } } - } - return -1; + } + return -1; } void initEventTable() @@ -53,254 +53,254 @@ void initEventTable() struct { int ev_type; int class_id; const char * ev_name;} event_types[] = { {wxEVT_NULL, 0, "null"}, - {wxEVT_COMMAND_BUTTON_CLICKED, 163, "command_button_clicked"}, - {wxEVT_COMMAND_CHECKBOX_CLICKED, 163, "command_checkbox_clicked"}, - {wxEVT_COMMAND_CHOICE_SELECTED, 163, "command_choice_selected"}, - {wxEVT_COMMAND_LISTBOX_SELECTED, 163, "command_listbox_selected"}, - {wxEVT_COMMAND_LISTBOX_DOUBLECLICKED, 163, "command_listbox_doubleclicked"}, - {wxEVT_COMMAND_TEXT_UPDATED, 163, "command_text_updated"}, - {wxEVT_COMMAND_TEXT_ENTER, 163, "command_text_enter"}, - {wxEVT_COMMAND_MENU_SELECTED, 163, "command_menu_selected"}, - {wxEVT_COMMAND_SLIDER_UPDATED, 163, "command_slider_updated"}, - {wxEVT_COMMAND_RADIOBOX_SELECTED, 163, "command_radiobox_selected"}, - {wxEVT_COMMAND_RADIOBUTTON_SELECTED, 163, "command_radiobutton_selected"}, - {wxEVT_COMMAND_SCROLLBAR_UPDATED, 163, "command_scrollbar_updated"}, - {wxEVT_COMMAND_VLBOX_SELECTED, 163, "command_vlbox_selected"}, - {wxEVT_COMMAND_COMBOBOX_SELECTED, 163, "command_combobox_selected"}, - {wxEVT_COMMAND_TOOL_RCLICKED, 163, "command_tool_rclicked"}, - {wxEVT_COMMAND_TOOL_ENTER, 163, "command_tool_enter"}, - {wxEVT_COMMAND_CHECKLISTBOX_TOGGLED, 163, "command_checklistbox_toggled"}, - {wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, 163, "command_togglebutton_clicked"}, - {wxEVT_COMMAND_LEFT_CLICK, 163, "command_left_click"}, - {wxEVT_COMMAND_LEFT_DCLICK, 163, "command_left_dclick"}, - {wxEVT_COMMAND_RIGHT_CLICK, 163, "command_right_click"}, - {wxEVT_COMMAND_SET_FOCUS, 163, "command_set_focus"}, - {wxEVT_COMMAND_KILL_FOCUS, 163, "command_kill_focus"}, - {wxEVT_COMMAND_ENTER, 163, "command_enter"}, - {wxEVT_SCROLL_TOP, 164, "scroll_top"}, - {wxEVT_SCROLL_BOTTOM, 164, "scroll_bottom"}, - {wxEVT_SCROLL_LINEUP, 164, "scroll_lineup"}, - {wxEVT_SCROLL_LINEDOWN, 164, "scroll_linedown"}, - {wxEVT_SCROLL_PAGEUP, 164, "scroll_pageup"}, - {wxEVT_SCROLL_PAGEDOWN, 164, "scroll_pagedown"}, - {wxEVT_SCROLL_THUMBTRACK, 164, "scroll_thumbtrack"}, - {wxEVT_SCROLL_THUMBRELEASE, 164, "scroll_thumbrelease"}, - {wxEVT_SCROLL_CHANGED, 164, "scroll_changed"}, - {wxEVT_SCROLLWIN_TOP, 165, "scrollwin_top"}, - {wxEVT_SCROLLWIN_BOTTOM, 165, "scrollwin_bottom"}, - {wxEVT_SCROLLWIN_LINEUP, 165, "scrollwin_lineup"}, - {wxEVT_SCROLLWIN_LINEDOWN, 165, "scrollwin_linedown"}, - {wxEVT_SCROLLWIN_PAGEUP, 165, "scrollwin_pageup"}, - {wxEVT_SCROLLWIN_PAGEDOWN, 165, "scrollwin_pagedown"}, - {wxEVT_SCROLLWIN_THUMBTRACK, 165, "scrollwin_thumbtrack"}, - {wxEVT_SCROLLWIN_THUMBRELEASE, 165, "scrollwin_thumbrelease"}, - {wxEVT_LEFT_DOWN, 166, "left_down"}, - {wxEVT_LEFT_UP, 166, "left_up"}, - {wxEVT_MIDDLE_DOWN, 166, "middle_down"}, - {wxEVT_MIDDLE_UP, 166, "middle_up"}, - {wxEVT_RIGHT_DOWN, 166, "right_down"}, - {wxEVT_RIGHT_UP, 166, "right_up"}, - {wxEVT_MOTION, 166, "motion"}, - {wxEVT_ENTER_WINDOW, 166, "enter_window"}, - {wxEVT_LEAVE_WINDOW, 166, "leave_window"}, - {wxEVT_LEFT_DCLICK, 166, "left_dclick"}, - {wxEVT_MIDDLE_DCLICK, 166, "middle_dclick"}, - {wxEVT_RIGHT_DCLICK, 166, "right_dclick"}, - {wxEVT_MOUSEWHEEL, 166, "mousewheel"}, - {wxEVT_NC_LEFT_DOWN, 166, "nc_left_down"}, - {wxEVT_NC_LEFT_UP, 166, "nc_left_up"}, - {wxEVT_NC_MIDDLE_DOWN, 166, "nc_middle_down"}, - {wxEVT_NC_MIDDLE_UP, 166, "nc_middle_up"}, - {wxEVT_NC_RIGHT_DOWN, 166, "nc_right_down"}, - {wxEVT_NC_RIGHT_UP, 166, "nc_right_up"}, - {wxEVT_NC_MOTION, 166, "nc_motion"}, - {wxEVT_NC_ENTER_WINDOW, 166, "nc_enter_window"}, - {wxEVT_NC_LEAVE_WINDOW, 166, "nc_leave_window"}, - {wxEVT_NC_LEFT_DCLICK, 166, "nc_left_dclick"}, - {wxEVT_NC_MIDDLE_DCLICK, 166, "nc_middle_dclick"}, - {wxEVT_NC_RIGHT_DCLICK, 166, "nc_right_dclick"}, - {wxEVT_SET_CURSOR, 167, "set_cursor"}, - {wxEVT_CHAR, 168, "char"}, - {wxEVT_CHAR_HOOK, 168, "char_hook"}, - {wxEVT_KEY_DOWN, 168, "key_down"}, - {wxEVT_KEY_UP, 168, "key_up"}, - {wxEVT_SIZE, 169, "size"}, - {wxEVT_MOVE, 170, "move"}, - {wxEVT_PAINT, 171, "paint"}, - {wxEVT_PAINT_ICON, 171, "paint_icon"}, - {wxEVT_NC_PAINT, 172, "nc_paint"}, - {wxEVT_ERASE_BACKGROUND, 173, "erase_background"}, - {wxEVT_SET_FOCUS, 174, "set_focus"}, - {wxEVT_KILL_FOCUS, 174, "kill_focus"}, - {wxEVT_CHILD_FOCUS, 175, "child_focus"}, - {wxEVT_MENU_OPEN, 176, "menu_open"}, - {wxEVT_MENU_CLOSE, 176, "menu_close"}, - {wxEVT_MENU_HIGHLIGHT, 176, "menu_highlight"}, - {wxEVT_CLOSE_WINDOW, 177, "close_window"}, - {wxEVT_END_SESSION, 177, "end_session"}, - {wxEVT_QUERY_END_SESSION, 177, "query_end_session"}, - {wxEVT_SHOW, 178, "show"}, - {wxEVT_ICONIZE, 179, "iconize"}, - {wxEVT_MAXIMIZE, 180, "maximize"}, - {wxEVT_JOY_BUTTON_DOWN, 181, "joy_button_down"}, - {wxEVT_JOY_BUTTON_UP, 181, "joy_button_up"}, - {wxEVT_JOY_MOVE, 181, "joy_move"}, - {wxEVT_JOY_ZMOVE, 181, "joy_zmove"}, - {wxEVT_UPDATE_UI, 182, "update_ui"}, - {wxEVT_SYS_COLOUR_CHANGED, 183, "sys_colour_changed"}, - {wxEVT_MOUSE_CAPTURE_CHANGED, 184, "mouse_capture_changed"}, - {wxEVT_DISPLAY_CHANGED, 185, "display_changed"}, - {wxEVT_PALETTE_CHANGED, 186, "palette_changed"}, - {wxEVT_QUERY_NEW_PALETTE, 187, "query_new_palette"}, - {wxEVT_NAVIGATION_KEY, 188, "navigation_key"}, - {wxEVT_CREATE, 189, "create"}, - {wxEVT_DESTROY, 190, "destroy"}, - {wxEVT_HELP, 191, "help"}, - {wxEVT_DETAILED_HELP, 191, "detailed_help"}, - {wxEVT_CONTEXT_MENU, 192, "context_menu"}, - {wxEVT_IDLE, 193, "idle"}, - {wxEVT_GRID_CELL_LEFT_CLICK, 194, "grid_cell_left_click"}, - {wxEVT_GRID_CELL_RIGHT_CLICK, 194, "grid_cell_right_click"}, - {wxEVT_GRID_CELL_LEFT_DCLICK, 194, "grid_cell_left_dclick"}, - {wxEVT_GRID_CELL_RIGHT_DCLICK, 194, "grid_cell_right_dclick"}, - {wxEVT_GRID_LABEL_LEFT_CLICK, 194, "grid_label_left_click"}, - {wxEVT_GRID_LABEL_RIGHT_CLICK, 194, "grid_label_right_click"}, - {wxEVT_GRID_LABEL_LEFT_DCLICK, 194, "grid_label_left_dclick"}, - {wxEVT_GRID_LABEL_RIGHT_DCLICK, 194, "grid_label_right_dclick"}, - {wxEVT_GRID_ROW_SIZE, 194, "grid_row_size"}, - {wxEVT_GRID_COL_SIZE, 194, "grid_col_size"}, - {wxEVT_GRID_RANGE_SELECT, 194, "grid_range_select"}, - {wxEVT_GRID_CELL_CHANGE, 194, "grid_cell_change"}, - {wxEVT_GRID_SELECT_CELL, 194, "grid_select_cell"}, - {wxEVT_GRID_EDITOR_SHOWN, 194, "grid_editor_shown"}, - {wxEVT_GRID_EDITOR_HIDDEN, 194, "grid_editor_hidden"}, - {wxEVT_GRID_EDITOR_CREATED, 194, "grid_editor_created"}, - {wxEVT_GRID_CELL_BEGIN_DRAG, 194, "grid_cell_begin_drag"}, - {wxEVT_SASH_DRAGGED, 196, "sash_dragged"}, - {wxEVT_COMMAND_LIST_BEGIN_DRAG, 197, "command_list_begin_drag"}, - {wxEVT_COMMAND_LIST_BEGIN_RDRAG, 197, "command_list_begin_rdrag"}, - {wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT, 197, "command_list_begin_label_edit"}, - {wxEVT_COMMAND_LIST_END_LABEL_EDIT, 197, "command_list_end_label_edit"}, - {wxEVT_COMMAND_LIST_DELETE_ITEM, 197, "command_list_delete_item"}, - {wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS, 197, "command_list_delete_all_items"}, - {wxEVT_COMMAND_LIST_KEY_DOWN, 197, "command_list_key_down"}, - {wxEVT_COMMAND_LIST_INSERT_ITEM, 197, "command_list_insert_item"}, - {wxEVT_COMMAND_LIST_COL_CLICK, 197, "command_list_col_click"}, - {wxEVT_COMMAND_LIST_COL_RIGHT_CLICK, 197, "command_list_col_right_click"}, - {wxEVT_COMMAND_LIST_COL_BEGIN_DRAG, 197, "command_list_col_begin_drag"}, - {wxEVT_COMMAND_LIST_COL_DRAGGING, 197, "command_list_col_dragging"}, - {wxEVT_COMMAND_LIST_COL_END_DRAG, 197, "command_list_col_end_drag"}, - {wxEVT_COMMAND_LIST_ITEM_SELECTED, 197, "command_list_item_selected"}, - {wxEVT_COMMAND_LIST_ITEM_DESELECTED, 197, "command_list_item_deselected"}, - {wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK, 197, "command_list_item_right_click"}, - {wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK, 197, "command_list_item_middle_click"}, - {wxEVT_COMMAND_LIST_ITEM_ACTIVATED, 197, "command_list_item_activated"}, - {wxEVT_COMMAND_LIST_ITEM_FOCUSED, 197, "command_list_item_focused"}, - {wxEVT_COMMAND_LIST_CACHE_HINT, 197, "command_list_cache_hint"}, - {wxEVT_DATE_CHANGED, 198, "date_changed"}, - {wxEVT_CALENDAR_SEL_CHANGED, 199, "calendar_sel_changed"}, - {wxEVT_CALENDAR_DAY_CHANGED, 199, "calendar_day_changed"}, - {wxEVT_CALENDAR_MONTH_CHANGED, 199, "calendar_month_changed"}, - {wxEVT_CALENDAR_YEAR_CHANGED, 199, "calendar_year_changed"}, - {wxEVT_CALENDAR_DOUBLECLICKED, 199, "calendar_doubleclicked"}, - {wxEVT_CALENDAR_WEEKDAY_CLICKED, 199, "calendar_weekday_clicked"}, - {wxEVT_COMMAND_FILEPICKER_CHANGED, 200, "command_filepicker_changed"}, - {wxEVT_COMMAND_DIRPICKER_CHANGED, 200, "command_dirpicker_changed"}, - {wxEVT_COMMAND_COLOURPICKER_CHANGED, 201, "command_colourpicker_changed"}, - {wxEVT_COMMAND_FONTPICKER_CHANGED, 202, "command_fontpicker_changed"}, - {wxEVT_STC_CHANGE, 203, "stc_change"}, - {wxEVT_STC_STYLENEEDED, 203, "stc_styleneeded"}, - {wxEVT_STC_CHARADDED, 203, "stc_charadded"}, - {wxEVT_STC_SAVEPOINTREACHED, 203, "stc_savepointreached"}, - {wxEVT_STC_SAVEPOINTLEFT, 203, "stc_savepointleft"}, - {wxEVT_STC_ROMODIFYATTEMPT, 203, "stc_romodifyattempt"}, - {wxEVT_STC_KEY, 203, "stc_key"}, - {wxEVT_STC_DOUBLECLICK, 203, "stc_doubleclick"}, - {wxEVT_STC_UPDATEUI, 203, "stc_updateui"}, - {wxEVT_STC_MODIFIED, 203, "stc_modified"}, - {wxEVT_STC_MACRORECORD, 203, "stc_macrorecord"}, - {wxEVT_STC_MARGINCLICK, 203, "stc_marginclick"}, - {wxEVT_STC_NEEDSHOWN, 203, "stc_needshown"}, - {wxEVT_STC_PAINTED, 203, "stc_painted"}, - {wxEVT_STC_USERLISTSELECTION, 203, "stc_userlistselection"}, - {wxEVT_STC_URIDROPPED, 203, "stc_uridropped"}, - {wxEVT_STC_DWELLSTART, 203, "stc_dwellstart"}, - {wxEVT_STC_DWELLEND, 203, "stc_dwellend"}, - {wxEVT_STC_START_DRAG, 203, "stc_start_drag"}, - {wxEVT_STC_DRAG_OVER, 203, "stc_drag_over"}, - {wxEVT_STC_DO_DROP, 203, "stc_do_drop"}, - {wxEVT_STC_ZOOM, 203, "stc_zoom"}, - {wxEVT_STC_HOTSPOT_CLICK, 203, "stc_hotspot_click"}, - {wxEVT_STC_HOTSPOT_DCLICK, 203, "stc_hotspot_dclick"}, - {wxEVT_STC_CALLTIP_CLICK, 203, "stc_calltip_click"}, - {wxEVT_STC_AUTOCOMP_SELECTION, 203, "stc_autocomp_selection"}, - {wxEVT_COMMAND_TREE_BEGIN_DRAG, 208, "command_tree_begin_drag"}, - {wxEVT_COMMAND_TREE_BEGIN_RDRAG, 208, "command_tree_begin_rdrag"}, - {wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT, 208, "command_tree_begin_label_edit"}, - {wxEVT_COMMAND_TREE_END_LABEL_EDIT, 208, "command_tree_end_label_edit"}, - {wxEVT_COMMAND_TREE_DELETE_ITEM, 208, "command_tree_delete_item"}, - {wxEVT_COMMAND_TREE_GET_INFO, 208, "command_tree_get_info"}, - {wxEVT_COMMAND_TREE_SET_INFO, 208, "command_tree_set_info"}, - {wxEVT_COMMAND_TREE_ITEM_EXPANDED, 208, "command_tree_item_expanded"}, - {wxEVT_COMMAND_TREE_ITEM_EXPANDING, 208, "command_tree_item_expanding"}, - {wxEVT_COMMAND_TREE_ITEM_COLLAPSED, 208, "command_tree_item_collapsed"}, - {wxEVT_COMMAND_TREE_ITEM_COLLAPSING, 208, "command_tree_item_collapsing"}, - {wxEVT_COMMAND_TREE_SEL_CHANGED, 208, "command_tree_sel_changed"}, - {wxEVT_COMMAND_TREE_SEL_CHANGING, 208, "command_tree_sel_changing"}, - {wxEVT_COMMAND_TREE_KEY_DOWN, 208, "command_tree_key_down"}, - {wxEVT_COMMAND_TREE_ITEM_ACTIVATED, 208, "command_tree_item_activated"}, - {wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK, 208, "command_tree_item_right_click"}, - {wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK, 208, "command_tree_item_middle_click"}, - {wxEVT_COMMAND_TREE_END_DRAG, 208, "command_tree_end_drag"}, - {wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK, 208, "command_tree_state_image_click"}, - {wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP, 208, "command_tree_item_gettooltip"}, - {wxEVT_COMMAND_TREE_ITEM_MENU, 208, "command_tree_item_menu"}, - {wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, 209, "command_notebook_page_changed"}, - {wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, 209, "command_notebook_page_changing"}, - {wxEVT_COMMAND_SPINCTRL_UPDATED, 215, "command_spinctrl_updated"}, - {wxEVT_SCROLL_LINEUP + wxEVT_USER_FIRST, 164, "spin_up"}, - {wxEVT_SCROLL_LINEDOWN + wxEVT_USER_FIRST, 164, "spin_down"}, - {wxEVT_SCROLL_THUMBTRACK + wxEVT_USER_FIRST, 164, "spin"}, - {wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED, 217, "command_splitter_sash_pos_changed"}, - {wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, 217, "command_splitter_sash_pos_changing"}, - {wxEVT_COMMAND_SPLITTER_DOUBLECLICKED, 217, "command_splitter_doubleclicked"}, - {wxEVT_COMMAND_SPLITTER_UNSPLIT, 217, "command_splitter_unsplit"}, - {wxEVT_COMMAND_HTML_LINK_CLICKED, 219, "command_html_link_clicked"}, - {wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSE, 220, "command_auinotebook_page_close"}, - {wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED, 220, "command_auinotebook_page_changed"}, - {wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING, 220, "command_auinotebook_page_changing"}, - {wxEVT_COMMAND_AUINOTEBOOK_BUTTON, 220, "command_auinotebook_button"}, - {wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG, 220, "command_auinotebook_begin_drag"}, - {wxEVT_COMMAND_AUINOTEBOOK_END_DRAG, 220, "command_auinotebook_end_drag"}, - {wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION, 220, "command_auinotebook_drag_motion"}, - {wxEVT_COMMAND_AUINOTEBOOK_ALLOW_DND, 220, "command_auinotebook_allow_dnd"}, + {wxEVT_COMMAND_BUTTON_CLICKED, 164, "command_button_clicked"}, + {wxEVT_COMMAND_CHECKBOX_CLICKED, 164, "command_checkbox_clicked"}, + {wxEVT_COMMAND_CHOICE_SELECTED, 164, "command_choice_selected"}, + {wxEVT_COMMAND_LISTBOX_SELECTED, 164, "command_listbox_selected"}, + {wxEVT_COMMAND_LISTBOX_DOUBLECLICKED, 164, "command_listbox_doubleclicked"}, + {wxEVT_COMMAND_TEXT_UPDATED, 164, "command_text_updated"}, + {wxEVT_COMMAND_TEXT_ENTER, 164, "command_text_enter"}, + {wxEVT_COMMAND_MENU_SELECTED, 164, "command_menu_selected"}, + {wxEVT_COMMAND_SLIDER_UPDATED, 164, "command_slider_updated"}, + {wxEVT_COMMAND_RADIOBOX_SELECTED, 164, "command_radiobox_selected"}, + {wxEVT_COMMAND_RADIOBUTTON_SELECTED, 164, "command_radiobutton_selected"}, + {wxEVT_COMMAND_SCROLLBAR_UPDATED, 164, "command_scrollbar_updated"}, + {wxEVT_COMMAND_VLBOX_SELECTED, 164, "command_vlbox_selected"}, + {wxEVT_COMMAND_COMBOBOX_SELECTED, 164, "command_combobox_selected"}, + {wxEVT_COMMAND_TOOL_RCLICKED, 164, "command_tool_rclicked"}, + {wxEVT_COMMAND_TOOL_ENTER, 164, "command_tool_enter"}, + {wxEVT_COMMAND_CHECKLISTBOX_TOGGLED, 164, "command_checklistbox_toggled"}, + {wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, 164, "command_togglebutton_clicked"}, + {wxEVT_COMMAND_LEFT_CLICK, 164, "command_left_click"}, + {wxEVT_COMMAND_LEFT_DCLICK, 164, "command_left_dclick"}, + {wxEVT_COMMAND_RIGHT_CLICK, 164, "command_right_click"}, + {wxEVT_COMMAND_SET_FOCUS, 164, "command_set_focus"}, + {wxEVT_COMMAND_KILL_FOCUS, 164, "command_kill_focus"}, + {wxEVT_COMMAND_ENTER, 164, "command_enter"}, + {wxEVT_SCROLL_TOP, 165, "scroll_top"}, + {wxEVT_SCROLL_BOTTOM, 165, "scroll_bottom"}, + {wxEVT_SCROLL_LINEUP, 165, "scroll_lineup"}, + {wxEVT_SCROLL_LINEDOWN, 165, "scroll_linedown"}, + {wxEVT_SCROLL_PAGEUP, 165, "scroll_pageup"}, + {wxEVT_SCROLL_PAGEDOWN, 165, "scroll_pagedown"}, + {wxEVT_SCROLL_THUMBTRACK, 165, "scroll_thumbtrack"}, + {wxEVT_SCROLL_THUMBRELEASE, 165, "scroll_thumbrelease"}, + {wxEVT_SCROLL_CHANGED, 165, "scroll_changed"}, + {wxEVT_SCROLLWIN_TOP, 166, "scrollwin_top"}, + {wxEVT_SCROLLWIN_BOTTOM, 166, "scrollwin_bottom"}, + {wxEVT_SCROLLWIN_LINEUP, 166, "scrollwin_lineup"}, + {wxEVT_SCROLLWIN_LINEDOWN, 166, "scrollwin_linedown"}, + {wxEVT_SCROLLWIN_PAGEUP, 166, "scrollwin_pageup"}, + {wxEVT_SCROLLWIN_PAGEDOWN, 166, "scrollwin_pagedown"}, + {wxEVT_SCROLLWIN_THUMBTRACK, 166, "scrollwin_thumbtrack"}, + {wxEVT_SCROLLWIN_THUMBRELEASE, 166, "scrollwin_thumbrelease"}, + {wxEVT_LEFT_DOWN, 167, "left_down"}, + {wxEVT_LEFT_UP, 167, "left_up"}, + {wxEVT_MIDDLE_DOWN, 167, "middle_down"}, + {wxEVT_MIDDLE_UP, 167, "middle_up"}, + {wxEVT_RIGHT_DOWN, 167, "right_down"}, + {wxEVT_RIGHT_UP, 167, "right_up"}, + {wxEVT_MOTION, 167, "motion"}, + {wxEVT_ENTER_WINDOW, 167, "enter_window"}, + {wxEVT_LEAVE_WINDOW, 167, "leave_window"}, + {wxEVT_LEFT_DCLICK, 167, "left_dclick"}, + {wxEVT_MIDDLE_DCLICK, 167, "middle_dclick"}, + {wxEVT_RIGHT_DCLICK, 167, "right_dclick"}, + {wxEVT_MOUSEWHEEL, 167, "mousewheel"}, + {wxEVT_NC_LEFT_DOWN, 167, "nc_left_down"}, + {wxEVT_NC_LEFT_UP, 167, "nc_left_up"}, + {wxEVT_NC_MIDDLE_DOWN, 167, "nc_middle_down"}, + {wxEVT_NC_MIDDLE_UP, 167, "nc_middle_up"}, + {wxEVT_NC_RIGHT_DOWN, 167, "nc_right_down"}, + {wxEVT_NC_RIGHT_UP, 167, "nc_right_up"}, + {wxEVT_NC_MOTION, 167, "nc_motion"}, + {wxEVT_NC_ENTER_WINDOW, 167, "nc_enter_window"}, + {wxEVT_NC_LEAVE_WINDOW, 167, "nc_leave_window"}, + {wxEVT_NC_LEFT_DCLICK, 167, "nc_left_dclick"}, + {wxEVT_NC_MIDDLE_DCLICK, 167, "nc_middle_dclick"}, + {wxEVT_NC_RIGHT_DCLICK, 167, "nc_right_dclick"}, + {wxEVT_SET_CURSOR, 168, "set_cursor"}, + {wxEVT_CHAR, 169, "char"}, + {wxEVT_CHAR_HOOK, 169, "char_hook"}, + {wxEVT_KEY_DOWN, 169, "key_down"}, + {wxEVT_KEY_UP, 169, "key_up"}, + {wxEVT_SIZE, 170, "size"}, + {wxEVT_MOVE, 171, "move"}, + {wxEVT_PAINT, 172, "paint"}, + {wxEVT_PAINT_ICON, 172, "paint_icon"}, + {wxEVT_NC_PAINT, 173, "nc_paint"}, + {wxEVT_ERASE_BACKGROUND, 174, "erase_background"}, + {wxEVT_SET_FOCUS, 175, "set_focus"}, + {wxEVT_KILL_FOCUS, 175, "kill_focus"}, + {wxEVT_CHILD_FOCUS, 176, "child_focus"}, + {wxEVT_MENU_OPEN, 177, "menu_open"}, + {wxEVT_MENU_CLOSE, 177, "menu_close"}, + {wxEVT_MENU_HIGHLIGHT, 177, "menu_highlight"}, + {wxEVT_CLOSE_WINDOW, 178, "close_window"}, + {wxEVT_END_SESSION, 178, "end_session"}, + {wxEVT_QUERY_END_SESSION, 178, "query_end_session"}, + {wxEVT_SHOW, 179, "show"}, + {wxEVT_ICONIZE, 180, "iconize"}, + {wxEVT_MAXIMIZE, 181, "maximize"}, + {wxEVT_JOY_BUTTON_DOWN, 182, "joy_button_down"}, + {wxEVT_JOY_BUTTON_UP, 182, "joy_button_up"}, + {wxEVT_JOY_MOVE, 182, "joy_move"}, + {wxEVT_JOY_ZMOVE, 182, "joy_zmove"}, + {wxEVT_UPDATE_UI, 183, "update_ui"}, + {wxEVT_SYS_COLOUR_CHANGED, 184, "sys_colour_changed"}, + {wxEVT_MOUSE_CAPTURE_CHANGED, 185, "mouse_capture_changed"}, + {wxEVT_DISPLAY_CHANGED, 186, "display_changed"}, + {wxEVT_PALETTE_CHANGED, 187, "palette_changed"}, + {wxEVT_QUERY_NEW_PALETTE, 188, "query_new_palette"}, + {wxEVT_NAVIGATION_KEY, 189, "navigation_key"}, + {wxEVT_CREATE, 190, "create"}, + {wxEVT_DESTROY, 191, "destroy"}, + {wxEVT_HELP, 192, "help"}, + {wxEVT_DETAILED_HELP, 192, "detailed_help"}, + {wxEVT_CONTEXT_MENU, 193, "context_menu"}, + {wxEVT_IDLE, 194, "idle"}, + {wxEVT_GRID_CELL_LEFT_CLICK, 195, "grid_cell_left_click"}, + {wxEVT_GRID_CELL_RIGHT_CLICK, 195, "grid_cell_right_click"}, + {wxEVT_GRID_CELL_LEFT_DCLICK, 195, "grid_cell_left_dclick"}, + {wxEVT_GRID_CELL_RIGHT_DCLICK, 195, "grid_cell_right_dclick"}, + {wxEVT_GRID_LABEL_LEFT_CLICK, 195, "grid_label_left_click"}, + {wxEVT_GRID_LABEL_RIGHT_CLICK, 195, "grid_label_right_click"}, + {wxEVT_GRID_LABEL_LEFT_DCLICK, 195, "grid_label_left_dclick"}, + {wxEVT_GRID_LABEL_RIGHT_DCLICK, 195, "grid_label_right_dclick"}, + {wxEVT_GRID_ROW_SIZE, 195, "grid_row_size"}, + {wxEVT_GRID_COL_SIZE, 195, "grid_col_size"}, + {wxEVT_GRID_RANGE_SELECT, 195, "grid_range_select"}, + {wxEVT_GRID_CELL_CHANGE, 195, "grid_cell_change"}, + {wxEVT_GRID_SELECT_CELL, 195, "grid_select_cell"}, + {wxEVT_GRID_EDITOR_SHOWN, 195, "grid_editor_shown"}, + {wxEVT_GRID_EDITOR_HIDDEN, 195, "grid_editor_hidden"}, + {wxEVT_GRID_EDITOR_CREATED, 195, "grid_editor_created"}, + {wxEVT_GRID_CELL_BEGIN_DRAG, 195, "grid_cell_begin_drag"}, + {wxEVT_SASH_DRAGGED, 197, "sash_dragged"}, + {wxEVT_COMMAND_LIST_BEGIN_DRAG, 198, "command_list_begin_drag"}, + {wxEVT_COMMAND_LIST_BEGIN_RDRAG, 198, "command_list_begin_rdrag"}, + {wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT, 198, "command_list_begin_label_edit"}, + {wxEVT_COMMAND_LIST_END_LABEL_EDIT, 198, "command_list_end_label_edit"}, + {wxEVT_COMMAND_LIST_DELETE_ITEM, 198, "command_list_delete_item"}, + {wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS, 198, "command_list_delete_all_items"}, + {wxEVT_COMMAND_LIST_KEY_DOWN, 198, "command_list_key_down"}, + {wxEVT_COMMAND_LIST_INSERT_ITEM, 198, "command_list_insert_item"}, + {wxEVT_COMMAND_LIST_COL_CLICK, 198, "command_list_col_click"}, + {wxEVT_COMMAND_LIST_COL_RIGHT_CLICK, 198, "command_list_col_right_click"}, + {wxEVT_COMMAND_LIST_COL_BEGIN_DRAG, 198, "command_list_col_begin_drag"}, + {wxEVT_COMMAND_LIST_COL_DRAGGING, 198, "command_list_col_dragging"}, + {wxEVT_COMMAND_LIST_COL_END_DRAG, 198, "command_list_col_end_drag"}, + {wxEVT_COMMAND_LIST_ITEM_SELECTED, 198, "command_list_item_selected"}, + {wxEVT_COMMAND_LIST_ITEM_DESELECTED, 198, "command_list_item_deselected"}, + {wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK, 198, "command_list_item_right_click"}, + {wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK, 198, "command_list_item_middle_click"}, + {wxEVT_COMMAND_LIST_ITEM_ACTIVATED, 198, "command_list_item_activated"}, + {wxEVT_COMMAND_LIST_ITEM_FOCUSED, 198, "command_list_item_focused"}, + {wxEVT_COMMAND_LIST_CACHE_HINT, 198, "command_list_cache_hint"}, + {wxEVT_DATE_CHANGED, 199, "date_changed"}, + {wxEVT_CALENDAR_SEL_CHANGED, 200, "calendar_sel_changed"}, + {wxEVT_CALENDAR_DAY_CHANGED, 200, "calendar_day_changed"}, + {wxEVT_CALENDAR_MONTH_CHANGED, 200, "calendar_month_changed"}, + {wxEVT_CALENDAR_YEAR_CHANGED, 200, "calendar_year_changed"}, + {wxEVT_CALENDAR_DOUBLECLICKED, 200, "calendar_doubleclicked"}, + {wxEVT_CALENDAR_WEEKDAY_CLICKED, 200, "calendar_weekday_clicked"}, + {wxEVT_COMMAND_FILEPICKER_CHANGED, 201, "command_filepicker_changed"}, + {wxEVT_COMMAND_DIRPICKER_CHANGED, 201, "command_dirpicker_changed"}, + {wxEVT_COMMAND_COLOURPICKER_CHANGED, 202, "command_colourpicker_changed"}, + {wxEVT_COMMAND_FONTPICKER_CHANGED, 203, "command_fontpicker_changed"}, + {wxEVT_STC_CHANGE, 204, "stc_change"}, + {wxEVT_STC_STYLENEEDED, 204, "stc_styleneeded"}, + {wxEVT_STC_CHARADDED, 204, "stc_charadded"}, + {wxEVT_STC_SAVEPOINTREACHED, 204, "stc_savepointreached"}, + {wxEVT_STC_SAVEPOINTLEFT, 204, "stc_savepointleft"}, + {wxEVT_STC_ROMODIFYATTEMPT, 204, "stc_romodifyattempt"}, + {wxEVT_STC_KEY, 204, "stc_key"}, + {wxEVT_STC_DOUBLECLICK, 204, "stc_doubleclick"}, + {wxEVT_STC_UPDATEUI, 204, "stc_updateui"}, + {wxEVT_STC_MODIFIED, 204, "stc_modified"}, + {wxEVT_STC_MACRORECORD, 204, "stc_macrorecord"}, + {wxEVT_STC_MARGINCLICK, 204, "stc_marginclick"}, + {wxEVT_STC_NEEDSHOWN, 204, "stc_needshown"}, + {wxEVT_STC_PAINTED, 204, "stc_painted"}, + {wxEVT_STC_USERLISTSELECTION, 204, "stc_userlistselection"}, + {wxEVT_STC_URIDROPPED, 204, "stc_uridropped"}, + {wxEVT_STC_DWELLSTART, 204, "stc_dwellstart"}, + {wxEVT_STC_DWELLEND, 204, "stc_dwellend"}, + {wxEVT_STC_START_DRAG, 204, "stc_start_drag"}, + {wxEVT_STC_DRAG_OVER, 204, "stc_drag_over"}, + {wxEVT_STC_DO_DROP, 204, "stc_do_drop"}, + {wxEVT_STC_ZOOM, 204, "stc_zoom"}, + {wxEVT_STC_HOTSPOT_CLICK, 204, "stc_hotspot_click"}, + {wxEVT_STC_HOTSPOT_DCLICK, 204, "stc_hotspot_dclick"}, + {wxEVT_STC_CALLTIP_CLICK, 204, "stc_calltip_click"}, + {wxEVT_STC_AUTOCOMP_SELECTION, 204, "stc_autocomp_selection"}, + {wxEVT_COMMAND_TREE_BEGIN_DRAG, 209, "command_tree_begin_drag"}, + {wxEVT_COMMAND_TREE_BEGIN_RDRAG, 209, "command_tree_begin_rdrag"}, + {wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT, 209, "command_tree_begin_label_edit"}, + {wxEVT_COMMAND_TREE_END_LABEL_EDIT, 209, "command_tree_end_label_edit"}, + {wxEVT_COMMAND_TREE_DELETE_ITEM, 209, "command_tree_delete_item"}, + {wxEVT_COMMAND_TREE_GET_INFO, 209, "command_tree_get_info"}, + {wxEVT_COMMAND_TREE_SET_INFO, 209, "command_tree_set_info"}, + {wxEVT_COMMAND_TREE_ITEM_EXPANDED, 209, "command_tree_item_expanded"}, + {wxEVT_COMMAND_TREE_ITEM_EXPANDING, 209, "command_tree_item_expanding"}, + {wxEVT_COMMAND_TREE_ITEM_COLLAPSED, 209, "command_tree_item_collapsed"}, + {wxEVT_COMMAND_TREE_ITEM_COLLAPSING, 209, "command_tree_item_collapsing"}, + {wxEVT_COMMAND_TREE_SEL_CHANGED, 209, "command_tree_sel_changed"}, + {wxEVT_COMMAND_TREE_SEL_CHANGING, 209, "command_tree_sel_changing"}, + {wxEVT_COMMAND_TREE_KEY_DOWN, 209, "command_tree_key_down"}, + {wxEVT_COMMAND_TREE_ITEM_ACTIVATED, 209, "command_tree_item_activated"}, + {wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK, 209, "command_tree_item_right_click"}, + {wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK, 209, "command_tree_item_middle_click"}, + {wxEVT_COMMAND_TREE_END_DRAG, 209, "command_tree_end_drag"}, + {wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK, 209, "command_tree_state_image_click"}, + {wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP, 209, "command_tree_item_gettooltip"}, + {wxEVT_COMMAND_TREE_ITEM_MENU, 209, "command_tree_item_menu"}, + {wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, 210, "command_notebook_page_changed"}, + {wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, 210, "command_notebook_page_changing"}, + {wxEVT_COMMAND_SPINCTRL_UPDATED, 216, "command_spinctrl_updated"}, + {wxEVT_SCROLL_LINEUP + wxEVT_USER_FIRST, 165, "spin_up"}, + {wxEVT_SCROLL_LINEDOWN + wxEVT_USER_FIRST, 165, "spin_down"}, + {wxEVT_SCROLL_THUMBTRACK + wxEVT_USER_FIRST, 165, "spin"}, + {wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED, 218, "command_splitter_sash_pos_changed"}, + {wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, 218, "command_splitter_sash_pos_changing"}, + {wxEVT_COMMAND_SPLITTER_DOUBLECLICKED, 218, "command_splitter_doubleclicked"}, + {wxEVT_COMMAND_SPLITTER_UNSPLIT, 218, "command_splitter_unsplit"}, + {wxEVT_COMMAND_HTML_LINK_CLICKED, 220, "command_html_link_clicked"}, + {wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSE, 222, "command_auinotebook_page_close"}, + {wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED, 222, "command_auinotebook_page_changed"}, + {wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING, 222, "command_auinotebook_page_changing"}, + {wxEVT_COMMAND_AUINOTEBOOK_BUTTON, 222, "command_auinotebook_button"}, + {wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG, 222, "command_auinotebook_begin_drag"}, + {wxEVT_COMMAND_AUINOTEBOOK_END_DRAG, 222, "command_auinotebook_end_drag"}, + {wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION, 222, "command_auinotebook_drag_motion"}, + {wxEVT_COMMAND_AUINOTEBOOK_ALLOW_DND, 222, "command_auinotebook_allow_dnd"}, #if wxCHECK_VERSION(2,8,5) - {wxEVT_COMMAND_AUINOTEBOOK_TAB_MIDDLE_DOWN, 220, "command_auinotebook_tab_middle_down"}, + {wxEVT_COMMAND_AUINOTEBOOK_TAB_MIDDLE_DOWN, 222, "command_auinotebook_tab_middle_down"}, #endif #if wxCHECK_VERSION(2,8,5) - {wxEVT_COMMAND_AUINOTEBOOK_TAB_MIDDLE_UP, 220, "command_auinotebook_tab_middle_up"}, + {wxEVT_COMMAND_AUINOTEBOOK_TAB_MIDDLE_UP, 222, "command_auinotebook_tab_middle_up"}, #endif #if wxCHECK_VERSION(2,8,5) - {wxEVT_COMMAND_AUINOTEBOOK_TAB_RIGHT_DOWN, 220, "command_auinotebook_tab_right_down"}, + {wxEVT_COMMAND_AUINOTEBOOK_TAB_RIGHT_DOWN, 222, "command_auinotebook_tab_right_down"}, #endif #if wxCHECK_VERSION(2,8,5) - {wxEVT_COMMAND_AUINOTEBOOK_TAB_RIGHT_UP, 220, "command_auinotebook_tab_right_up"}, + {wxEVT_COMMAND_AUINOTEBOOK_TAB_RIGHT_UP, 222, "command_auinotebook_tab_right_up"}, #endif #if wxCHECK_VERSION(2,8,5) - {wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSED, 220, "command_auinotebook_page_closed"}, + {wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSED, 222, "command_auinotebook_page_closed"}, #endif #if wxCHECK_VERSION(2,8,5) - {wxEVT_COMMAND_AUINOTEBOOK_DRAG_DONE, 220, "command_auinotebook_drag_done"}, + {wxEVT_COMMAND_AUINOTEBOOK_DRAG_DONE, 222, "command_auinotebook_drag_done"}, #endif #if wxCHECK_VERSION(2,8,5) - {wxEVT_COMMAND_AUINOTEBOOK_BG_DCLICK, 220, "command_auinotebook_bg_dclick"}, + {wxEVT_COMMAND_AUINOTEBOOK_BG_DCLICK, 222, "command_auinotebook_bg_dclick"}, #endif - {wxEVT_AUI_PANE_BUTTON, 221, "aui_pane_button"}, - {wxEVT_AUI_PANE_CLOSE, 221, "aui_pane_close"}, - {wxEVT_AUI_PANE_MAXIMIZE, 221, "aui_pane_maximize"}, - {wxEVT_AUI_PANE_RESTORE, 221, "aui_pane_restore"}, - {wxEVT_AUI_RENDER, 221, "aui_render"}, - {wxEVT_AUI_FIND_MANAGER, 221, "aui_find_manager"}, + {wxEVT_AUI_PANE_BUTTON, 223, "aui_pane_button"}, + {wxEVT_AUI_PANE_CLOSE, 223, "aui_pane_close"}, + {wxEVT_AUI_PANE_MAXIMIZE, 223, "aui_pane_maximize"}, + {wxEVT_AUI_PANE_RESTORE, 223, "aui_pane_restore"}, + {wxEVT_AUI_RENDER, 223, "aui_render"}, + {wxEVT_AUI_FIND_MANAGER, 223, "aui_find_manager"}, {-1, 0, } }; for(int i=0; event_types[i].ev_type != -1; i++) { @@ -353,7 +353,7 @@ bool sendevent(wxEvent *event, ErlDrvPort port) rt.addRef(getRef((void *)(cb->obj), memenv), cb->class_name); rt.addExt2Term(cb->user_data); switch(Etype->cID) { -case 163: {// wxCommandEvent +case 164: {// wxCommandEvent wxCommandEvent * ev = (wxCommandEvent *) event; evClass = (char*)"wxCommandEvent"; rt.addAtom((char*)"wxCommand"); @@ -364,7 +364,7 @@ case 163: {// wxCommandEvent rt.addTupleCount(5); break; } -case 164: {// wxScrollEvent or wxSpinEvent +case 165: {// wxScrollEvent or wxSpinEvent if(event->IsKindOf(CLASSINFO(wxScrollEvent))) { wxScrollEvent * ev = (wxScrollEvent *) event; evClass = (char*)"wxScrollEvent"; @@ -384,14 +384,14 @@ case 164: {// wxScrollEvent or wxSpinEvent } break; } -case 165: {// wxScrollWinEvent +case 166: {// wxScrollWinEvent evClass = (char*)"wxScrollWinEvent"; rt.addAtom((char*)"wxScrollWin"); rt.addAtom(Etype->eName); rt.addTupleCount(2); break; } -case 166: {// wxMouseEvent +case 167: {// wxMouseEvent wxMouseEvent * ev = (wxMouseEvent *) event; evClass = (char*)"wxMouseEvent"; rt.addAtom((char*)"wxMouse"); @@ -411,14 +411,14 @@ case 166: {// wxMouseEvent rt.addTupleCount(14); break; } -case 167: {// wxSetCursorEvent +case 168: {// wxSetCursorEvent evClass = (char*)"wxSetCursorEvent"; rt.addAtom((char*)"wxSetCursor"); rt.addAtom(Etype->eName); rt.addTupleCount(2); break; } -case 168: {// wxKeyEvent +case 169: {// wxKeyEvent wxKeyEvent * ev = (wxKeyEvent *) event; evClass = (char*)"wxKeyEvent"; rt.addAtom((char*)"wxKey"); @@ -437,7 +437,7 @@ case 168: {// wxKeyEvent rt.addTupleCount(13); break; } -case 169: {// wxSizeEvent +case 170: {// wxSizeEvent wxSizeEvent * ev = (wxSizeEvent *) event; evClass = (char*)"wxSizeEvent"; rt.addAtom((char*)"wxSize"); @@ -447,28 +447,28 @@ case 169: {// wxSizeEvent rt.addTupleCount(4); break; } -case 170: {// wxMoveEvent +case 171: {// wxMoveEvent evClass = (char*)"wxMoveEvent"; rt.addAtom((char*)"wxMove"); rt.addAtom(Etype->eName); rt.addTupleCount(2); break; } -case 171: {// wxPaintEvent +case 172: {// wxPaintEvent evClass = (char*)"wxPaintEvent"; rt.addAtom((char*)"wxPaint"); rt.addAtom(Etype->eName); rt.addTupleCount(2); break; } -case 172: {// wxNcPaintEvent +case 173: {// wxNcPaintEvent evClass = (char*)"wxNcPaintEvent"; rt.addAtom((char*)"wxNcPaint"); rt.addAtom(Etype->eName); rt.addTupleCount(2); break; } -case 173: {// wxEraseEvent +case 174: {// wxEraseEvent wxEraseEvent * ev = (wxEraseEvent *) event; wxDC * GetDC = ev->GetDC(); evClass = (char*)"wxEraseEvent"; @@ -478,105 +478,105 @@ case 173: {// wxEraseEvent rt.addTupleCount(3); break; } -case 174: {// wxFocusEvent +case 175: {// wxFocusEvent evClass = (char*)"wxFocusEvent"; rt.addAtom((char*)"wxFocus"); rt.addAtom(Etype->eName); rt.addTupleCount(2); break; } -case 175: {// wxChildFocusEvent +case 176: {// wxChildFocusEvent evClass = (char*)"wxChildFocusEvent"; rt.addAtom((char*)"wxChildFocus"); rt.addAtom(Etype->eName); rt.addTupleCount(2); break; } -case 176: {// wxMenuEvent +case 177: {// wxMenuEvent evClass = (char*)"wxMenuEvent"; rt.addAtom((char*)"wxMenu"); rt.addAtom(Etype->eName); rt.addTupleCount(2); break; } -case 177: {// wxCloseEvent +case 178: {// wxCloseEvent evClass = (char*)"wxCloseEvent"; rt.addAtom((char*)"wxClose"); rt.addAtom(Etype->eName); rt.addTupleCount(2); break; } -case 178: {// wxShowEvent +case 179: {// wxShowEvent evClass = (char*)"wxShowEvent"; rt.addAtom((char*)"wxShow"); rt.addAtom(Etype->eName); rt.addTupleCount(2); break; } -case 179: {// wxIconizeEvent +case 180: {// wxIconizeEvent evClass = (char*)"wxIconizeEvent"; rt.addAtom((char*)"wxIconize"); rt.addAtom(Etype->eName); rt.addTupleCount(2); break; } -case 180: {// wxMaximizeEvent +case 181: {// wxMaximizeEvent evClass = (char*)"wxMaximizeEvent"; rt.addAtom((char*)"wxMaximize"); rt.addAtom(Etype->eName); rt.addTupleCount(2); break; } -case 181: {// wxJoystickEvent +case 182: {// wxJoystickEvent evClass = (char*)"wxJoystickEvent"; rt.addAtom((char*)"wxJoystick"); rt.addAtom(Etype->eName); rt.addTupleCount(2); break; } -case 182: {// wxUpdateUIEvent +case 183: {// wxUpdateUIEvent evClass = (char*)"wxUpdateUIEvent"; rt.addAtom((char*)"wxUpdateUI"); rt.addAtom(Etype->eName); rt.addTupleCount(2); break; } -case 183: {// wxSysColourChangedEvent +case 184: {// wxSysColourChangedEvent evClass = (char*)"wxSysColourChangedEvent"; rt.addAtom((char*)"wxSysColourChanged"); rt.addAtom(Etype->eName); rt.addTupleCount(2); break; } -case 184: {// wxMouseCaptureChangedEvent +case 185: {// wxMouseCaptureChangedEvent evClass = (char*)"wxMouseCaptureChangedEvent"; rt.addAtom((char*)"wxMouseCaptureChanged"); rt.addAtom(Etype->eName); rt.addTupleCount(2); break; } -case 185: {// wxDisplayChangedEvent +case 186: {// wxDisplayChangedEvent evClass = (char*)"wxDisplayChangedEvent"; rt.addAtom((char*)"wxDisplayChanged"); rt.addAtom(Etype->eName); rt.addTupleCount(2); break; } -case 186: {// wxPaletteChangedEvent +case 187: {// wxPaletteChangedEvent evClass = (char*)"wxPaletteChangedEvent"; rt.addAtom((char*)"wxPaletteChanged"); rt.addAtom(Etype->eName); rt.addTupleCount(2); break; } -case 187: {// wxQueryNewPaletteEvent +case 188: {// wxQueryNewPaletteEvent evClass = (char*)"wxQueryNewPaletteEvent"; rt.addAtom((char*)"wxQueryNewPalette"); rt.addAtom(Etype->eName); rt.addTupleCount(2); break; } -case 188: {// wxNavigationKeyEvent +case 189: {// wxNavigationKeyEvent wxNavigationKeyEvent * ev = (wxNavigationKeyEvent *) event; evClass = (char*)"wxNavigationKeyEvent"; rt.addAtom((char*)"wxNavigationKey"); @@ -586,42 +586,42 @@ case 188: {// wxNavigationKeyEvent rt.addTupleCount(4); break; } -case 189: {// wxWindowCreateEvent +case 190: {// wxWindowCreateEvent evClass = (char*)"wxWindowCreateEvent"; rt.addAtom((char*)"wxWindowCreate"); rt.addAtom(Etype->eName); rt.addTupleCount(2); break; } -case 190: {// wxWindowDestroyEvent +case 191: {// wxWindowDestroyEvent evClass = (char*)"wxWindowDestroyEvent"; rt.addAtom((char*)"wxWindowDestroy"); rt.addAtom(Etype->eName); rt.addTupleCount(2); break; } -case 191: {// wxHelpEvent +case 192: {// wxHelpEvent evClass = (char*)"wxHelpEvent"; rt.addAtom((char*)"wxHelp"); rt.addAtom(Etype->eName); rt.addTupleCount(2); break; } -case 192: {// wxContextMenuEvent +case 193: {// wxContextMenuEvent evClass = (char*)"wxContextMenuEvent"; rt.addAtom((char*)"wxContextMenu"); rt.addAtom(Etype->eName); rt.addTupleCount(2); break; } -case 193: {// wxIdleEvent +case 194: {// wxIdleEvent evClass = (char*)"wxIdleEvent"; rt.addAtom((char*)"wxIdle"); rt.addAtom(Etype->eName); rt.addTupleCount(2); break; } -case 194: {// wxGridEvent +case 195: {// wxGridEvent wxGridEvent * ev = (wxGridEvent *) event; evClass = (char*)"wxGridEvent"; rt.addAtom((char*)"wxGrid"); @@ -638,7 +638,7 @@ case 194: {// wxGridEvent rt.addTupleCount(11); break; } -case 196: {// wxSashEvent +case 197: {// wxSashEvent wxSashEvent * ev = (wxSashEvent *) event; evClass = (char*)"wxSashEvent"; rt.addAtom((char*)"wxSash"); @@ -649,7 +649,7 @@ case 196: {// wxSashEvent rt.addTupleCount(5); break; } -case 197: {// wxListEvent +case 198: {// wxListEvent wxListEvent * ev = (wxListEvent *) event; evClass = (char*)"wxListEvent"; rt.addAtom((char*)"wxList"); @@ -662,7 +662,7 @@ case 197: {// wxListEvent rt.addTupleCount(7); break; } -case 198: {// wxDateEvent +case 199: {// wxDateEvent wxDateEvent * ev = (wxDateEvent *) event; evClass = (char*)"wxDateEvent"; rt.addAtom((char*)"wxDate"); @@ -671,14 +671,14 @@ case 198: {// wxDateEvent rt.addTupleCount(3); break; } -case 199: {// wxCalendarEvent +case 200: {// wxCalendarEvent evClass = (char*)"wxCalendarEvent"; rt.addAtom((char*)"wxCalendar"); rt.addAtom(Etype->eName); rt.addTupleCount(2); break; } -case 200: {// wxFileDirPickerEvent +case 201: {// wxFileDirPickerEvent wxFileDirPickerEvent * ev = (wxFileDirPickerEvent *) event; evClass = (char*)"wxFileDirPickerEvent"; rt.addAtom((char*)"wxFileDirPicker"); @@ -687,7 +687,7 @@ case 200: {// wxFileDirPickerEvent rt.addTupleCount(3); break; } -case 201: {// wxColourPickerEvent +case 202: {// wxColourPickerEvent wxColourPickerEvent * ev = (wxColourPickerEvent *) event; evClass = (char*)"wxColourPickerEvent"; rt.addAtom((char*)"wxColourPicker"); @@ -696,7 +696,7 @@ case 201: {// wxColourPickerEvent rt.addTupleCount(3); break; } -case 202: {// wxFontPickerEvent +case 203: {// wxFontPickerEvent wxFontPickerEvent * ev = (wxFontPickerEvent *) event; wxFont * GetFont = new wxFont(ev->GetFont()); app->newPtr((void *) GetFont,3, memenv); @@ -707,7 +707,7 @@ case 202: {// wxFontPickerEvent rt.addTupleCount(3); break; } -case 203: {// wxStyledTextEvent +case 204: {// wxStyledTextEvent wxStyledTextEvent * ev = (wxStyledTextEvent *) event; evClass = (char*)"wxStyledTextEvent"; rt.addAtom((char*)"wxStyledText"); @@ -735,7 +735,7 @@ case 203: {// wxStyledTextEvent rt.addTupleCount(22); break; } -case 208: {// wxTreeEvent +case 209: {// wxTreeEvent wxTreeEvent * ev = (wxTreeEvent *) event; evClass = (char*)"wxTreeEvent"; rt.addAtom((char*)"wxTree"); @@ -746,14 +746,14 @@ case 208: {// wxTreeEvent rt.addTupleCount(5); break; } -case 209: {// wxNotebookEvent +case 210: {// wxNotebookEvent evClass = (char*)"wxNotebookEvent"; rt.addAtom((char*)"wxNotebook"); rt.addAtom(Etype->eName); rt.addTupleCount(2); break; } -case 215: {// wxSpinEvent +case 216: {// wxSpinEvent wxSpinEvent * ev = (wxSpinEvent *) event; evClass = (char*)"wxSpinEvent"; rt.addAtom((char*)"wxSpin"); @@ -762,14 +762,14 @@ case 215: {// wxSpinEvent rt.addTupleCount(3); break; } -case 217: {// wxSplitterEvent +case 218: {// wxSplitterEvent evClass = (char*)"wxSplitterEvent"; rt.addAtom((char*)"wxSplitter"); rt.addAtom(Etype->eName); rt.addTupleCount(2); break; } -case 219: {// wxHtmlLinkEvent +case 220: {// wxHtmlLinkEvent wxHtmlLinkEvent * ev = (wxHtmlLinkEvent *) event; evClass = (char*)"wxHtmlLinkEvent"; rt.addAtom((char*)"wxHtmlLink"); @@ -778,7 +778,7 @@ case 219: {// wxHtmlLinkEvent rt.addTupleCount(3); break; } -case 220: {// wxAuiNotebookEvent +case 222: {// wxAuiNotebookEvent wxAuiNotebookEvent * ev = (wxAuiNotebookEvent *) event; wxAuiNotebook * GetDragSource = ev->GetDragSource(); evClass = (char*)"wxAuiNotebookEvent"; @@ -790,7 +790,7 @@ case 220: {// wxAuiNotebookEvent rt.addTupleCount(5); break; } -case 221: {// wxAuiManagerEvent +case 223: {// wxAuiManagerEvent wxAuiManagerEvent * ev = (wxAuiManagerEvent *) event; wxAuiManager * GetManager = ev->GetManager(); wxAuiPaneInfo * GetPane = ev->GetPane(); diff --git a/lib/wx/c_src/gen/wxe_funcs.cpp b/lib/wx/c_src/gen/wxe_funcs.cpp index c8549d0716..afef2990b4 100644 --- a/lib/wx/c_src/gen/wxe_funcs.cpp +++ b/lib/wx/c_src/gen/wxe_funcs.cpp @@ -1,7 +1,7 @@ /* * %CopyrightBegin% * - * Copyright Ericsson AB 2008-2010. All Rights Reserved. + * Copyright Ericsson AB 2008-2011. All Rights Reserved. * * The contents of this file are subject to the Erlang Public License, * Version 1.1, (the "License"); you may not use this file except in @@ -23,6 +23,7 @@ #include "../wxe_impl.h" #include "../wxe_events.h" #include "../wxe_return.h" +#include "../wxe_gl.h" #include "wxe_macros.h" #include "wxe_derived_dest.h" @@ -43,6 +44,15 @@ void WxeApp::wxe_dispatch(wxeCommand& Ecmd) rt.addAtom("ok"); break; } + case WXE_BIN_INCR: + driver_binary_inc_refc(Ecmd.bin[0]->bin); + break; + case WXE_BIN_DECR: + driver_binary_dec_refc(Ecmd.bin[0]->bin); + break; + case WXE_INIT_OPENGL: + wxe_initOpenGL(rt, bp); + break; case 98: { // wxeEvtListener::wxeEvtListener wxeEvtListener *Result = new wxeEvtListener(Ecmd.port); rt.addRef(getRef((void *)Result,memenv), "wxeEvtListener"); @@ -2209,7 +2219,7 @@ case wxScrolledWindow_new_2: { // wxScrolledWindow::wxScrolledWindow wxWindowID winid=wxID_ANY; wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; - long style=(wxHSCROLL|wxVSCROLL); + long style=wxScrolledWindowStyle; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ while( * (int*) bp) { switch (* (int*) bp) { @@ -2385,7 +2395,7 @@ case wxSashWindow_new_2: { // wxSashWindow::wxSashWindow wxWindowID id=wxID_ANY; wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; - long style=(0x0040|0x0080)|wxCLIP_CHILDREN; + long style=wxSW_3D|wxCLIP_CHILDREN; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ while( * (int*) bp) { switch (* (int*) bp) { @@ -4476,7 +4486,7 @@ case wxGridCellBoolEditor_IsTrueValue: { // wxGridCellBoolEditor::IsTrueValue break; } case wxGridCellBoolEditor_UseStringValues: { // wxGridCellBoolEditor::UseStringValues - wxString valueTrue= _T("1"); + wxString valueTrue= wxT("1"); wxString valueFalse= wxEmptyString; while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; @@ -5930,7 +5940,7 @@ case wxBufferedDC_new_0: { // wxBufferedDC::wxBufferedDC } case wxBufferedDC_new_2: { // wxBufferedDC::wxBufferedDC wxBitmap * buffer= &wxNullBitmap; - int style=0x02; + int style=wxBUFFER_CLIENT_AREA; wxDC *dc = (wxDC *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ while( * (int*) bp) { switch (* (int*) bp) { @@ -5947,7 +5957,7 @@ buffer = (wxBitmap *) getPtr(bp,memenv); bp += 4; break; } case wxBufferedDC_new_3: { // wxBufferedDC::wxBufferedDC - int style=0x02; + int style=wxBUFFER_CLIENT_AREA; wxDC *dc = (wxDC *) getPtr(bp,memenv); bp += 4; int * areaW = (int *) bp; bp += 4; int * areaH = (int *) bp; bp += 4; @@ -5965,7 +5975,7 @@ case wxBufferedDC_new_3: { // wxBufferedDC::wxBufferedDC } case wxBufferedDC_Init_2: { // wxBufferedDC::Init wxBitmap * buffer= &wxNullBitmap; - int style=0x02; + int style=wxBUFFER_CLIENT_AREA; wxBufferedDC *This = (wxBufferedDC *) getPtr(bp,memenv); bp += 4; wxDC *dc = (wxDC *) getPtr(bp,memenv); bp += 4; while( * (int*) bp) { switch (* (int*) bp) { @@ -5981,7 +5991,7 @@ buffer = (wxBitmap *) getPtr(bp,memenv); bp += 4; break; } case wxBufferedDC_Init_3: { // wxBufferedDC::Init - int style=0x02; + int style=wxBUFFER_CLIENT_AREA; wxBufferedDC *This = (wxBufferedDC *) getPtr(bp,memenv); bp += 4; wxDC *dc = (wxDC *) getPtr(bp,memenv); bp += 4; int * areaW = (int *) bp; bp += 4; @@ -5997,7 +6007,7 @@ case wxBufferedDC_Init_3: { // wxBufferedDC::Init break; } case wxBufferedPaintDC_new_3: { // wxBufferedPaintDC::wxBufferedPaintDC - int style=0x02; + int style=wxBUFFER_CLIENT_AREA; wxWindow *window = (wxWindow *) getPtr(bp,memenv); bp += 4; wxBitmap *buffer = (wxBitmap *) getPtr(bp,memenv); bp += 4; while( * (int*) bp) { switch (* (int*) bp) { @@ -6011,7 +6021,7 @@ case wxBufferedPaintDC_new_3: { // wxBufferedPaintDC::wxBufferedPaintDC break; } case wxBufferedPaintDC_new_2: { // wxBufferedPaintDC::wxBufferedPaintDC - int style=0x02; + int style=wxBUFFER_CLIENT_AREA; wxWindow *window = (wxWindow *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ while( * (int*) bp) { switch (* (int*) bp) { @@ -9163,7 +9173,7 @@ case wxIcon_new_0: { // wxIcon::wxIcon break; } case wxIcon_new_2: { // wxIcon::wxIcon - wxBitmapType type=wxBITMAP_TYPE_XPM; + wxBitmapType type=wxICON_DEFAULT_BITMAP_TYPE; int desiredWidth=-1; int desiredHeight=-1; int * filenameLen = (int *) bp; bp += 4; @@ -15133,12 +15143,14 @@ case wxListBox_SetFirstItem_1_1: { // wxListBox::SetFirstItem This->SetFirstItem(s); break; } + case wxListCtrl_new_0: { // wxListCtrl::wxListCtrl wxListCtrl * Result = new EwxListCtrl(); newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxListCtrl"); break; } + case wxListCtrl_new_2: { // wxListCtrl::wxListCtrl wxWindowID winid=wxID_ANY; wxPoint pos= wxDefaultPosition; @@ -15146,6 +15158,8 @@ case wxListCtrl_new_2: { // wxListCtrl::wxListCtrl long style=wxLC_ICON; const wxValidator * validator= &wxDefaultValidator; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; + int onGetItemText = 0, onGetItemAttr = 0, onGetItemColumnImage = 0; + bp += 4; /* Align */ while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; @@ -15169,8 +15183,21 @@ case wxListCtrl_new_2: { // wxListCtrl::wxListCtrl case 5: {bp += 4; validator = (wxValidator *) getPtr(bp,memenv); bp += 4; } break; + case 6: {bp += 4; + onGetItemText = *(int *) bp; bp += 4; + } break; + case 7: {bp += 4; + onGetItemAttr = *(int *) bp; bp += 4; + } break; + case 8: {bp += 4; + onGetItemColumnImage = *(int *) bp; bp += 4; + } break; }}; - wxListCtrl * Result = new EwxListCtrl(parent,winid,pos,size,style,*validator); + EwxListCtrl * Result = new EwxListCtrl(parent,winid,pos,size,style,*validator); + Result->onGetItemText = onGetItemText; + Result->onGetItemAttr = onGetItemAttr; + Result->onGetItemColumnImage = onGetItemColumnImage; + Result->port = Ecmd.port; newPtr((void *) Result, 0, memenv); rt.addRef(getRef((void *)Result,memenv), "wxListCtrl"); break; @@ -15203,14 +15230,18 @@ case wxListCtrl_ClearAll: { // wxListCtrl::ClearAll This->ClearAll(); break; } + case wxListCtrl_Create: { // wxListCtrl::Create wxWindowID winid=wxID_ANY; wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=wxLC_ICON; const wxValidator * validator= &wxDefaultValidator; - wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; + EwxListCtrl *This = (EwxListCtrl *) getPtr(bp,memenv); bp += 4; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; + int onGetItemText = 0, onGetItemAttr = 0, onGetItemColumnImage = 0; + + bp += 4; /* Align */ while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; winid = (wxWindowID)*(int *) bp; bp += 4; @@ -15233,9 +15264,23 @@ case wxListCtrl_Create: { // wxListCtrl::Create case 5: {bp += 4; validator = (wxValidator *) getPtr(bp,memenv); bp += 4; } break; + case 6: {bp += 4; + onGetItemText = *(int *) bp; bp += 4; + } break; + case 7: {bp += 4; + onGetItemAttr = *(int *) bp; bp += 4; + } break; + case 8: {bp += 4; + onGetItemColumnImage = *(int *) bp; bp += 4; + } break; }}; if(!This) throw wxe_badarg(0); bool Result = This->Create(parent,winid,pos,size,style,*validator); + This->onGetItemText = onGetItemText; + This->onGetItemAttr = onGetItemAttr; + This->onGetItemColumnImage = onGetItemColumnImage; + This->port = Ecmd.port; + rt.addBool(Result); break; } @@ -16085,6 +16130,106 @@ case wxListItem_SetWidth: { // wxListItem::SetWidth This->SetWidth((int) *width); break; } +case wxListItemAttr_new_0: { // wxListItemAttr::wxListItemAttr + wxListItemAttr * Result = new wxListItemAttr(); + newPtr((void *) Result, 101, memenv); + rt.addRef(getRef((void *)Result,memenv), "wxListItemAttr"); + break; +} +case wxListItemAttr_new_3: { // wxListItemAttr::wxListItemAttr + int * colTextR = (int *) bp; bp += 4; + int * colTextG = (int *) bp; bp += 4; + int * colTextB = (int *) bp; bp += 4; + int * colTextA = (int *) bp; bp += 4; + wxColour colText = wxColour(*colTextR,*colTextG,*colTextB,*colTextA); + int * colBackR = (int *) bp; bp += 4; + int * colBackG = (int *) bp; bp += 4; + int * colBackB = (int *) bp; bp += 4; + int * colBackA = (int *) bp; bp += 4; + wxColour colBack = wxColour(*colBackR,*colBackG,*colBackB,*colBackA); + wxFont *font = (wxFont *) getPtr(bp,memenv); bp += 4; + wxListItemAttr * Result = new wxListItemAttr(colText,colBack,*font); + newPtr((void *) Result, 101, memenv); + rt.addRef(getRef((void *)Result,memenv), "wxListItemAttr"); + break; +} +case wxListItemAttr_GetBackgroundColour: { // wxListItemAttr::GetBackgroundColour + wxListItemAttr *This = (wxListItemAttr *) getPtr(bp,memenv); bp += 4; + if(!This) throw wxe_badarg(0); + const wxColour * Result = &This->GetBackgroundColour(); + rt.add((*Result)); + break; +} +case wxListItemAttr_GetFont: { // wxListItemAttr::GetFont + wxListItemAttr *This = (wxListItemAttr *) getPtr(bp,memenv); bp += 4; + if(!This) throw wxe_badarg(0); + const wxFont * Result = &This->GetFont(); + rt.addRef(getRef((void *)Result,memenv), "wxFont"); + break; +} +case wxListItemAttr_GetTextColour: { // wxListItemAttr::GetTextColour + wxListItemAttr *This = (wxListItemAttr *) getPtr(bp,memenv); bp += 4; + if(!This) throw wxe_badarg(0); + const wxColour * Result = &This->GetTextColour(); + rt.add((*Result)); + break; +} +case wxListItemAttr_HasBackgroundColour: { // wxListItemAttr::HasBackgroundColour + wxListItemAttr *This = (wxListItemAttr *) getPtr(bp,memenv); bp += 4; + if(!This) throw wxe_badarg(0); + bool Result = This->HasBackgroundColour(); + rt.addBool(Result); + break; +} +case wxListItemAttr_HasFont: { // wxListItemAttr::HasFont + wxListItemAttr *This = (wxListItemAttr *) getPtr(bp,memenv); bp += 4; + if(!This) throw wxe_badarg(0); + bool Result = This->HasFont(); + rt.addBool(Result); + break; +} +case wxListItemAttr_HasTextColour: { // wxListItemAttr::HasTextColour + wxListItemAttr *This = (wxListItemAttr *) getPtr(bp,memenv); bp += 4; + if(!This) throw wxe_badarg(0); + bool Result = This->HasTextColour(); + rt.addBool(Result); + break; +} +case wxListItemAttr_SetBackgroundColour: { // wxListItemAttr::SetBackgroundColour + wxListItemAttr *This = (wxListItemAttr *) getPtr(bp,memenv); bp += 4; + int * colBackR = (int *) bp; bp += 4; + int * colBackG = (int *) bp; bp += 4; + int * colBackB = (int *) bp; bp += 4; + int * colBackA = (int *) bp; bp += 4; + wxColour colBack = wxColour(*colBackR,*colBackG,*colBackB,*colBackA); + if(!This) throw wxe_badarg(0); + This->SetBackgroundColour(colBack); + break; +} +case wxListItemAttr_SetFont: { // wxListItemAttr::SetFont + wxListItemAttr *This = (wxListItemAttr *) getPtr(bp,memenv); bp += 4; + wxFont *font = (wxFont *) getPtr(bp,memenv); bp += 4; + if(!This) throw wxe_badarg(0); + This->SetFont(*font); + break; +} +case wxListItemAttr_SetTextColour: { // wxListItemAttr::SetTextColour + wxListItemAttr *This = (wxListItemAttr *) getPtr(bp,memenv); bp += 4; + int * colTextR = (int *) bp; bp += 4; + int * colTextG = (int *) bp; bp += 4; + int * colTextB = (int *) bp; bp += 4; + int * colTextA = (int *) bp; bp += 4; + wxColour colText = wxColour(*colTextR,*colTextG,*colTextB,*colTextA); + if(!This) throw wxe_badarg(0); + This->SetTextColour(colText); + break; +} +case wxListItemAttr_destroy: { // wxListItemAttr::destroy + wxListItemAttr *This = (wxListItemAttr *) getPtr(bp,memenv); bp += 4; + if(This) { ((WxeApp *) wxTheApp)->clearPtr((void *) This); + delete This;} + break; +} case wxImageList_new_0: { // wxImageList::wxImageList wxImageList * Result = new EwxImageList(); newPtr((void *) Result, 1, memenv); @@ -16253,7 +16398,7 @@ case wxImageList_Replace_3: { // wxImageList::Replace } case wxTextAttr_new_0: { // wxTextAttr::wxTextAttr wxTextAttr * Result = new wxTextAttr(); - newPtr((void *) Result, 102, memenv); + newPtr((void *) Result, 103, memenv); rt.addRef(getRef((void *)Result,memenv), "wxTextAttr"); break; } @@ -16283,7 +16428,7 @@ alignment = *(wxTextAttrAlignment *) bp; bp += 4;; } break; }}; wxTextAttr * Result = new wxTextAttr(colText,colBack,*font,(wxTextAttrAlignment) alignment); - newPtr((void *) Result, 102, memenv); + newPtr((void *) Result, 103, memenv); rt.addRef(getRef((void *)Result,memenv), "wxTextAttr"); break; } @@ -16404,7 +16549,7 @@ case wxTextAttr_SetFlags: { // wxTextAttr::SetFlags break; } case wxTextAttr_SetFont: { // wxTextAttr::SetFont - long flags=(0x0004|0x0008|0x0010|0x0020|0x0040); + long flags=wxTEXT_ATTR_FONT; wxTextAttr *This = (wxTextAttr *) getPtr(bp,memenv); bp += 4; wxFont *font = (wxFont *) getPtr(bp,memenv); bp += 4; while( * (int*) bp) { switch (* (int*) bp) { @@ -16739,7 +16884,7 @@ case wxTextCtrl_IsSingleLine: { // wxTextCtrl::IsSingleLine break; } case wxTextCtrl_LoadFile: { // wxTextCtrl::LoadFile - int fileType=0; + int fileType=wxTEXT_TYPE_ANY; wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4; int * fileLen = (int *) bp; bp += 4; wxString file = wxString(bp, wxConvUTF8); @@ -16806,7 +16951,7 @@ case wxTextCtrl_Replace: { // wxTextCtrl::Replace } case wxTextCtrl_SaveFile: { // wxTextCtrl::SaveFile wxString file= wxEmptyString; - int fileType=0; + int fileType=wxTEXT_TYPE_ANY; wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ while( * (int*) bp) { switch (* (int*) bp) { @@ -18501,6 +18646,15 @@ case wxTreeCtrl_DeleteChildren: { // wxTreeCtrl::DeleteChildren This->DeleteChildren(item); break; } +case wxTreeCtrl_EditLabel: { // wxTreeCtrl::EditLabel + wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; + bp += 4; /* Align */ + wxTreeItemId item = wxTreeItemId((void *) *(wxUint64 *) bp); bp += 8; + if(!This) throw wxe_badarg(0); + wxTextCtrl * Result = (wxTextCtrl*)This->EditLabel(item); + rt.addRef(getRef((void *)Result,memenv), "wxTextCtrl"); + break; +} case wxTreeCtrl_EnsureVisible: { // wxTreeCtrl::EnsureVisible wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ @@ -20467,7 +20621,7 @@ case wxPalette_IsOk: { // wxPalette::IsOk case wxDirDialog_new: { // wxDirDialog::wxDirDialog wxString title= wxDirSelectorPromptStr; wxString defaultPath= wxEmptyString; - long style=(wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER); + long style=wxDD_DEFAULT_STYLE; wxPoint pos= wxDefaultPosition; wxSize sz= wxDefaultSize; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; @@ -20541,7 +20695,7 @@ case wxFileDialog_new: { // wxFileDialog::wxFileDialog wxString defaultDir= wxEmptyString; wxString defaultFile= wxEmptyString; wxString wildCard= wxFileSelectorDefaultWildcardStr; - long style=wxFD_OPEN; + long style=wxFD_DEFAULT_STYLE; wxPoint pos= wxDefaultPosition; wxSize sz= wxDefaultSize; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; @@ -20806,7 +20960,7 @@ case wxFilePickerCtrl_new_3: { // wxFilePickerCtrl::wxFilePickerCtrl wxString wildcard= wxFileSelectorDefaultWildcardStr; wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; - long style=(0x0400|0x2000); + long style=wxFLP_DEFAULT_STYLE; const wxValidator * validator= &wxDefaultValidator; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; int * id = (int *) bp; bp += 4; @@ -20856,7 +21010,7 @@ case wxFilePickerCtrl_Create: { // wxFilePickerCtrl::Create wxString wildcard= wxFileSelectorDefaultWildcardStr; wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; - long style=(0x0400|0x2000); + long style=wxFLP_DEFAULT_STYLE; const wxValidator * validator= &wxDefaultValidator; wxFilePickerCtrl *This = (wxFilePickerCtrl *) getPtr(bp,memenv); bp += 4; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; @@ -20929,7 +21083,7 @@ case wxDirPickerCtrl_new_3: { // wxDirPickerCtrl::wxDirPickerCtrl wxString message= wxDirSelectorPromptStr; wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; - long style=(0x0008); + long style=wxDIRP_DEFAULT_STYLE; const wxValidator * validator= &wxDefaultValidator; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; int * id = (int *) bp; bp += 4; @@ -20973,7 +21127,7 @@ case wxDirPickerCtrl_Create: { // wxDirPickerCtrl::Create wxString message= wxDirSelectorPromptStr; wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; - long style=(0x0008); + long style=wxDIRP_DEFAULT_STYLE; const wxValidator * validator= &wxDefaultValidator; wxDirPickerCtrl *This = (wxDirPickerCtrl *) getPtr(bp,memenv); bp += 4; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; @@ -21040,7 +21194,7 @@ case wxColourPickerCtrl_new_3: { // wxColourPickerCtrl::wxColourPickerCtrl wxColour col= *wxBLACK; wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; - long style=0; + long style=wxCLRP_DEFAULT_STYLE; const wxValidator * validator= &wxDefaultValidator; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; int * id = (int *) bp; bp += 4; @@ -21081,7 +21235,7 @@ case wxColourPickerCtrl_Create: { // wxColourPickerCtrl::Create wxColour col= *wxBLACK; wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; - long style=0; + long style=wxCLRP_DEFAULT_STYLE; const wxValidator * validator= &wxDefaultValidator; wxColourPickerCtrl *This = (wxColourPickerCtrl *) getPtr(bp,memenv); bp += 4; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; @@ -21268,7 +21422,7 @@ case wxFontPickerCtrl_new_3: { // wxFontPickerCtrl::wxFontPickerCtrl const wxFont * initial= &wxNullFont; wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; - long style=(0x0008|0x0010); + long style=wxFNTP_DEFAULT_STYLE; const wxValidator * validator= &wxDefaultValidator; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; int * id = (int *) bp; bp += 4; @@ -21304,7 +21458,7 @@ case wxFontPickerCtrl_Create: { // wxFontPickerCtrl::Create const wxFont * initial= &wxNullFont; wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; - long style=(0x0008|0x0010); + long style=wxFNTP_DEFAULT_STYLE; const wxValidator * validator= &wxDefaultValidator; wxFontPickerCtrl *This = (wxFontPickerCtrl *) getPtr(bp,memenv); bp += 4; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; @@ -21480,7 +21634,7 @@ case wxMultiChoiceDialog_new_0: { // wxMultiChoiceDialog::wxMultiChoiceDialog break; } case wxMultiChoiceDialog_new_5: { // wxMultiChoiceDialog::wxMultiChoiceDialog - long style=(wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER|wxOK|wxCANCEL|wxCENTRE); + long style=wxCHOICEDLG_STYLE; wxPoint pos= wxDefaultPosition; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; int * messageLen = (int *) bp; bp += 4; @@ -21540,7 +21694,7 @@ case wxSingleChoiceDialog_new_0: { // wxSingleChoiceDialog::wxSingleChoiceDialog } case wxSingleChoiceDialog_new_5: { // wxSingleChoiceDialog::wxSingleChoiceDialog char ** clientData = (char **) NULL; - long style=(wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER|wxOK|wxCANCEL|wxCENTRE); + long style=wxCHOICEDLG_STYLE; wxPoint pos= wxDefaultPosition; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; int * messageLen = (int *) bp; bp += 4; @@ -21599,7 +21753,7 @@ case wxSingleChoiceDialog_SetSelection: { // wxSingleChoiceDialog::SetSelection case wxTextEntryDialog_new: { // wxTextEntryDialog::wxTextEntryDialog wxString caption= wxGetTextFromUserPromptStr; wxString value= wxEmptyString; - long style=(wxOK|wxCANCEL|wxCENTRE|wxWS_EX_VALIDATE_RECURSIVELY); + long style=wxTextEntryDialogStyle; wxPoint pos= wxDefaultPosition; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; int * messageLen = (int *) bp; bp += 4; @@ -21650,7 +21804,7 @@ case wxTextEntryDialog_SetValue: { // wxTextEntryDialog::SetValue case wxPasswordEntryDialog_new: { // wxPasswordEntryDialog::wxPasswordEntryDialog wxString caption= wxGetPasswordFromUserPromptStr; wxString value= wxEmptyString; - long style=(wxOK|wxCANCEL|wxCENTRE|wxWS_EX_VALIDATE_RECURSIVELY); + long style=wxTextEntryDialogStyle; wxPoint pos= wxDefaultPosition; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; int * messageLen = (int *) bp; bp += 4; @@ -22692,7 +22846,7 @@ case wxPreviewFrame_new: { // wxPreviewFrame::wxPreviewFrame wxString title= wxT("Print Preview"); wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; - long style=wxDEFAULT_FRAME_STYLE; + long style=wxDEFAULT_FRAME_STYLE|wxFRAME_FLOAT_ON_PARENT; wxPrintPreview *preview = (wxPrintPreview *) getPtr(bp,memenv); bp += 4; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; while( * (int*) bp) { switch (* (int*) bp) { @@ -23723,14 +23877,14 @@ case wxAuiManager_Update: { // wxAuiManager::Update #if wxUSE_AUI case wxAuiPaneInfo_new_0: { // wxAuiPaneInfo::wxAuiPaneInfo wxAuiPaneInfo * Result = new wxAuiPaneInfo(); - newPtr((void *) Result, 154, memenv); + newPtr((void *) Result, 155, memenv); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); break; } case wxAuiPaneInfo_new_1: { // wxAuiPaneInfo::wxAuiPaneInfo wxAuiPaneInfo *c = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4; wxAuiPaneInfo * Result = new wxAuiPaneInfo(*c); - newPtr((void *) Result, 154, memenv); + newPtr((void *) Result, 155, memenv); rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo"); break; } @@ -30273,7 +30427,7 @@ case wxNotebookEvent_SetSelection: { // wxNotebookEvent::SetSelection } case wxFileDataObject_new: { // wxFileDataObject::wxFileDataObject wxFileDataObject * Result = new wxFileDataObject(); - newPtr((void *) Result, 211, memenv); + newPtr((void *) Result, 212, memenv); rt.addRef(getRef((void *)Result,memenv), "wxFileDataObject"); break; } @@ -30309,7 +30463,7 @@ case wxTextDataObject_new: { // wxTextDataObject::wxTextDataObject } break; }}; wxTextDataObject * Result = new wxTextDataObject(text); - newPtr((void *) Result, 212, memenv); + newPtr((void *) Result, 213, memenv); rt.addRef(getRef((void *)Result,memenv), "wxTextDataObject"); break; } @@ -30345,7 +30499,7 @@ case wxTextDataObject_destroy: { // wxTextDataObject::destroy case wxBitmapDataObject_new_1_1: { // wxBitmapDataObject::wxBitmapDataObject wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4; wxBitmapDataObject * Result = new wxBitmapDataObject(*bitmap); - newPtr((void *) Result, 213, memenv); + newPtr((void *) Result, 214, memenv); rt.addRef(getRef((void *)Result,memenv), "wxBitmapDataObject"); break; } @@ -30357,7 +30511,7 @@ bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4; } break; }}; wxBitmapDataObject * Result = new wxBitmapDataObject(*bitmap); - newPtr((void *) Result, 213, memenv); + newPtr((void *) Result, 214, memenv); rt.addRef(getRef((void *)Result,memenv), "wxBitmapDataObject"); break; } @@ -30758,7 +30912,7 @@ case wxHtmlWindow_new_2: { // wxHtmlWindow::wxHtmlWindow wxWindowID id=wxID_ANY; wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; - long style=0x0004; + long style=wxHW_DEFAULT_STYLE; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ while( * (int*) bp) { switch (* (int*) bp) { @@ -30976,6 +31130,36 @@ case wxHtmlLinkEvent_GetLinkInfo: { // wxHtmlLinkEvent::GetLinkInfo rt.add(Result); break; } +case wxSystemSettings_GetColour: { // wxSystemSettings::GetColour + wxSystemColour index = *(wxSystemColour *) bp; bp += 4;; + wxColour Result = wxSystemSettings::GetColour((wxSystemColour) index); + rt.add(Result); + break; +} +case wxSystemSettings_GetFont: { // wxSystemSettings::GetFont + wxSystemFont index = *(wxSystemFont *) bp; bp += 4;; + wxFont * Result = new wxFont(wxSystemSettings::GetFont((wxSystemFont) index)); newPtr((void *) Result,3, memenv);; + rt.addRef(getRef((void *)Result,memenv), "wxFont"); + break; +} +case wxSystemSettings_GetMetric: { // wxSystemSettings::GetMetric + wxWindow * win=NULL; + wxSystemMetric index = *(wxSystemMetric *) bp; bp += 4;; + bp += 4; /* Align */ + while( * (int*) bp) { switch (* (int*) bp) { + case 1: {bp += 4; +win = (wxWindow *) getPtr(bp,memenv); bp += 4; + } break; + }}; + int Result = wxSystemSettings::GetMetric((wxSystemMetric) index,win); + rt.addInt(Result); + break; +} +case wxSystemSettings_GetScreenType: { // wxSystemSettings::GetScreenType + int Result = wxSystemSettings::GetScreenType(); + rt.addInt(Result); + break; +} case wxAuiNotebookEvent_SetSelection: { // wxAuiNotebookEvent::SetSelection wxAuiNotebookEvent *This = (wxAuiNotebookEvent *) getPtr(bp,memenv); bp += 4; int * s = (int *) bp; bp += 4; @@ -31110,7 +31294,7 @@ case wxAuiManagerEvent_CanVeto: { // wxAuiManagerEvent::CanVeto } case wxLogNull_new: { // wxLogNull::wxLogNull wxLogNull * Result = new wxLogNull(); - newPtr((void *) Result, 222, memenv); + newPtr((void *) Result, 224, memenv); rt.addRef(getRef((void *)Result,memenv), "wxLogNull"); break; } @@ -31139,3 +31323,31 @@ case wxLogNull_destroy: { // wxLogNull::destroy error.addTupleCount(3); error.send(); }} /* The End */ + + +void WxeApp::delete_object(void *ptr, wxeRefData *refd) { + switch(refd->type) { + case 24: delete (wxGridCellBoolRenderer *) ptr; break; + case 25: delete (wxGridCellBoolEditor *) ptr; break; + case 26: delete (wxGridCellFloatRenderer *) ptr; break; + case 27: delete (wxGridCellFloatEditor *) ptr; break; + case 28: delete (wxGridCellStringRenderer *) ptr; break; + case 29: delete (wxGridCellTextEditor *) ptr; break; + case 30: delete (wxGridCellChoiceEditor *) ptr; break; + case 31: delete (wxGridCellNumberRenderer *) ptr; break; + case 32: delete (wxGridCellNumberEditor *) ptr; break; + case 61: delete (wxIconBundle *) ptr; break; + case 69: delete (wxAcceleratorEntry *) ptr; break; + case 70: /* delete (wxCaret *) ptr;These objects must be deleted by owner object */ break; + case 72: delete (wxSizerFlags *) ptr; break; + case 88: /* delete (wxCalendarDateAttr *) ptr;These objects must be deleted by owner object */ break; + case 101: delete (wxListItemAttr *) ptr; break; + case 103: delete (wxTextAttr *) ptr; break; + case 155: delete (wxAuiPaneInfo *) ptr; break; + case 212: /* delete (wxFileDataObject *) ptr;These objects must be deleted by owner object */ break; + case 213: /* delete (wxTextDataObject *) ptr;These objects must be deleted by owner object */ break; + case 214: /* delete (wxBitmapDataObject *) ptr;These objects must be deleted by owner object */ break; + case 224: delete (wxLogNull *) ptr; break; + default: delete (wxObject *) ptr; +}} + diff --git a/lib/wx/c_src/gen/wxe_init.cpp b/lib/wx/c_src/gen/wxe_init.cpp index 96c775c4c0..a75298392b 100644 --- a/lib/wx/c_src/gen/wxe_init.cpp +++ b/lib/wx/c_src/gen/wxe_init.cpp @@ -1,7 +1,7 @@ /* * %CopyrightBegin% * - * Copyright Ericsson AB 2008-2010. All Rights Reserved. + * Copyright Ericsson AB 2008-2011. All Rights Reserved. * * The contents of this file are subject to the Erlang Public License, * Version 1.1, (the "License"); you may not use this file except in @@ -24,6 +24,8 @@ void WxeApp::init_nonconsts(wxeMemEnv *memenv, ErlDrvTermData caller) { wxeReturn rt = wxeReturn(WXE_DRV_PORT, caller); rt.addAtom((char*)"wx_consts"); + rt.addAtom("wxALWAYS_NATIVE_DOUBLE_BUFFER"); rt.addInt(wxALWAYS_NATIVE_DOUBLE_BUFFER); + rt.addTupleCount(2); rt.addAtom("wxBYTE_ORDER"); rt.addInt(wxBYTE_ORDER); rt.addTupleCount(2); rt.addAtom("wxDEFAULT_CONTROL_BORDER"); rt.addInt(wxDEFAULT_CONTROL_BORDER); @@ -32,6 +34,10 @@ void WxeApp::init_nonconsts(wxeMemEnv *memenv, ErlDrvTermData caller) { rt.addTupleCount(2); rt.addAtom("wxRETAINED"); rt.addInt(wxRETAINED); rt.addTupleCount(2); + rt.addAtom("wxGAUGE_EMULATE_INDETERMINATE_MODE"); rt.addInt(wxGAUGE_EMULATE_INDETERMINATE_MODE); + rt.addTupleCount(2); + rt.addAtom("wxTR_DEFAULT_STYLE"); rt.addInt(wxTR_DEFAULT_STYLE); + rt.addTupleCount(2); rt.addAtom("wxBETA_NUMBER"); rt.addInt(wxBETA_NUMBER); rt.addTupleCount(2); rt.addAtom("wxMAJOR_VERSION"); rt.addInt(wxMAJOR_VERSION); @@ -130,7 +136,7 @@ void WxeApp::init_nonconsts(wxeMemEnv *memenv, ErlDrvTermData caller) { rt.addTupleCount(2); rt.addAtom("wxWHITE_PEN"); rt.addRef(getRef((void *)wxWHITE_PEN,memenv),"wxPen"); rt.addTupleCount(2); - rt.endList(53); + rt.endList(56); rt.addTupleCount(2); rt.send(); } diff --git a/lib/wx/c_src/gen/wxe_macros.h b/lib/wx/c_src/gen/wxe_macros.h index cb5a4f3c41..be0481564f 100644 --- a/lib/wx/c_src/gen/wxe_macros.h +++ b/lib/wx/c_src/gen/wxe_macros.h @@ -1,7 +1,7 @@ /* * %CopyrightBegin% * - * Copyright Ericsson AB 2008-2010. All Rights Reserved. + * Copyright Ericsson AB 2008-2011. All Rights Reserved. * * The contents of this file are subject to the Erlang Public License, * Version 1.1, (the "License"); you may not use this file except in @@ -62,6 +62,11 @@ #include <wx/filename.h> +#ifndef wxICON_DEFAULT_BITMAP_TYPE + #define wxICON_DEFAULT_BITMAP_TYPE wxBITMAP_TYPE_ICO_RESOURCE +#endif + + #define wxEvtHandler_Connect 100 #define wxEvtHandler_Disconnect_2 101 #define wxEvtHandler_Disconnect_1 102 @@ -810,2511 +815,2528 @@ #define wxControlWithItems_Clear 882 #define wxControlWithItems_Delete 883 #define wxControlWithItems_FindString 884 -#define wxControlWithItems_getClientData 886 -#define wxControlWithItems_setClientData 888 -#define wxControlWithItems_GetCount 889 -#define wxControlWithItems_GetSelection 890 -#define wxControlWithItems_GetString 891 -#define wxControlWithItems_GetStringSelection 892 -#define wxControlWithItems_Insert_2 893 -#define wxControlWithItems_Insert_3 894 -#define wxControlWithItems_IsEmpty 895 -#define wxControlWithItems_Select 896 -#define wxControlWithItems_SetSelection 897 -#define wxControlWithItems_SetString 898 -#define wxControlWithItems_SetStringSelection 899 -#define wxMenu_new_2 902 -#define wxMenu_new_1 903 -#define wxMenu_destruct 905 -#define wxMenu_Append_3 906 -#define wxMenu_Append_1 907 -#define wxMenu_Append_4_0 908 -#define wxMenu_Append_4_1 909 -#define wxMenu_AppendCheckItem 910 -#define wxMenu_AppendRadioItem 911 -#define wxMenu_AppendSeparator 912 -#define wxMenu_Break 913 -#define wxMenu_Check 914 -#define wxMenu_Delete_1_0 915 -#define wxMenu_Delete_1_1 916 -#define wxMenu_Destroy_1_0 917 -#define wxMenu_Destroy_1_1 918 -#define wxMenu_Enable 919 -#define wxMenu_FindItem_1 920 -#define wxMenu_FindItem_2 921 -#define wxMenu_FindItemByPosition 922 -#define wxMenu_GetHelpString 923 -#define wxMenu_GetLabel 924 -#define wxMenu_GetMenuItemCount 925 -#define wxMenu_GetMenuItems 926 -#define wxMenu_GetTitle 928 -#define wxMenu_Insert_2 929 -#define wxMenu_Insert_3 930 -#define wxMenu_Insert_5_1 931 -#define wxMenu_Insert_5_0 932 -#define wxMenu_InsertCheckItem 933 -#define wxMenu_InsertRadioItem 934 -#define wxMenu_InsertSeparator 935 -#define wxMenu_IsChecked 936 -#define wxMenu_IsEnabled 937 -#define wxMenu_Prepend_1 938 -#define wxMenu_Prepend_2 939 -#define wxMenu_Prepend_4_1 940 -#define wxMenu_Prepend_4_0 941 -#define wxMenu_PrependCheckItem 942 -#define wxMenu_PrependRadioItem 943 -#define wxMenu_PrependSeparator 944 -#define wxMenu_Remove_1_0 945 -#define wxMenu_Remove_1_1 946 -#define wxMenu_SetHelpString 947 -#define wxMenu_SetLabel 948 -#define wxMenu_SetTitle 949 -#define wxMenuItem_new 950 -#define wxMenuItem_destruct 952 -#define wxMenuItem_Check 953 -#define wxMenuItem_Enable 954 -#define wxMenuItem_GetBitmap 955 -#define wxMenuItem_GetHelp 956 -#define wxMenuItem_GetId 957 -#define wxMenuItem_GetKind 958 -#define wxMenuItem_GetLabel 959 -#define wxMenuItem_GetLabelFromText 960 -#define wxMenuItem_GetMenu 961 -#define wxMenuItem_GetText 962 -#define wxMenuItem_GetSubMenu 963 -#define wxMenuItem_IsCheckable 964 -#define wxMenuItem_IsChecked 965 -#define wxMenuItem_IsEnabled 966 -#define wxMenuItem_IsSeparator 967 -#define wxMenuItem_IsSubMenu 968 -#define wxMenuItem_SetBitmap 969 -#define wxMenuItem_SetHelp 970 -#define wxMenuItem_SetMenu 971 -#define wxMenuItem_SetSubMenu 972 -#define wxMenuItem_SetText 973 -#define wxToolBar_AddControl 974 -#define wxToolBar_AddSeparator 975 -#define wxToolBar_AddTool_5 976 -#define wxToolBar_AddTool_4_0 977 -#define wxToolBar_AddTool_1 978 -#define wxToolBar_AddTool_4_1 979 -#define wxToolBar_AddTool_3 980 -#define wxToolBar_AddTool_6 981 -#define wxToolBar_AddCheckTool 982 -#define wxToolBar_AddRadioTool 983 -#define wxToolBar_DeleteTool 984 -#define wxToolBar_DeleteToolByPos 985 -#define wxToolBar_EnableTool 986 -#define wxToolBar_FindById 987 -#define wxToolBar_FindControl 988 -#define wxToolBar_FindToolForPosition 989 -#define wxToolBar_GetToolSize 990 -#define wxToolBar_GetToolBitmapSize 991 -#define wxToolBar_GetMargins 992 -#define wxToolBar_GetToolEnabled 993 -#define wxToolBar_GetToolLongHelp 994 -#define wxToolBar_GetToolPacking 995 -#define wxToolBar_GetToolPos 996 -#define wxToolBar_GetToolSeparation 997 -#define wxToolBar_GetToolShortHelp 998 -#define wxToolBar_GetToolState 999 -#define wxToolBar_InsertControl 1000 -#define wxToolBar_InsertSeparator 1001 -#define wxToolBar_InsertTool_5 1002 -#define wxToolBar_InsertTool_2 1003 -#define wxToolBar_InsertTool_4 1004 -#define wxToolBar_Realize 1005 -#define wxToolBar_RemoveTool 1006 -#define wxToolBar_SetMargins 1007 -#define wxToolBar_SetToolBitmapSize 1008 -#define wxToolBar_SetToolLongHelp 1009 -#define wxToolBar_SetToolPacking 1010 -#define wxToolBar_SetToolShortHelp 1011 -#define wxToolBar_SetToolSeparation 1012 -#define wxToolBar_ToggleTool 1013 -#define wxStatusBar_new_0 1015 -#define wxStatusBar_new_2 1016 -#define wxStatusBar_destruct 1018 -#define wxStatusBar_Create 1019 -#define wxStatusBar_GetFieldRect 1020 -#define wxStatusBar_GetFieldsCount 1021 -#define wxStatusBar_GetStatusText 1022 -#define wxStatusBar_PopStatusText 1023 -#define wxStatusBar_PushStatusText 1024 -#define wxStatusBar_SetFieldsCount 1025 -#define wxStatusBar_SetMinHeight 1026 -#define wxStatusBar_SetStatusText 1027 -#define wxStatusBar_SetStatusWidths 1028 -#define wxStatusBar_SetStatusStyles 1029 -#define wxBitmap_new_0 1030 -#define wxBitmap_new_3 1031 -#define wxBitmap_new_4 1032 -#define wxBitmap_new_2_0 1033 -#define wxBitmap_new_2_1 1034 -#define wxBitmap_destruct 1035 -#define wxBitmap_ConvertToImage 1036 -#define wxBitmap_CopyFromIcon 1037 -#define wxBitmap_Create 1038 -#define wxBitmap_GetDepth 1039 -#define wxBitmap_GetHeight 1040 -#define wxBitmap_GetPalette 1041 -#define wxBitmap_GetMask 1042 -#define wxBitmap_GetWidth 1043 -#define wxBitmap_GetSubBitmap 1044 -#define wxBitmap_LoadFile 1045 -#define wxBitmap_Ok 1046 -#define wxBitmap_SaveFile 1047 -#define wxBitmap_SetDepth 1048 -#define wxBitmap_SetHeight 1049 -#define wxBitmap_SetMask 1050 -#define wxBitmap_SetPalette 1051 -#define wxBitmap_SetWidth 1052 -#define wxIcon_new_0 1053 -#define wxIcon_new_2 1054 -#define wxIcon_new_1 1055 -#define wxIcon_CopyFromBitmap 1056 -#define wxIcon_destroy 1057 -#define wxIconBundle_new_0 1058 -#define wxIconBundle_new_2 1059 -#define wxIconBundle_new_1_0 1060 -#define wxIconBundle_new_1_1 1061 -#define wxIconBundle_destruct 1062 -#define wxIconBundle_AddIcon_2 1063 -#define wxIconBundle_AddIcon_1 1064 -#define wxIconBundle_GetIcon_1_1 1065 -#define wxIconBundle_GetIcon_1_0 1066 -#define wxCursor_new_0 1067 -#define wxCursor_new_1_0 1068 -#define wxCursor_new_1_1 1069 -#define wxCursor_new_4 1070 -#define wxCursor_destruct 1071 -#define wxCursor_Ok 1072 -#define wxMask_new_0 1073 -#define wxMask_new_2_1 1074 -#define wxMask_new_2_0 1075 -#define wxMask_new_1 1076 -#define wxMask_destruct 1077 -#define wxMask_Create_2_1 1078 -#define wxMask_Create_2_0 1079 -#define wxMask_Create_1 1080 -#define wxImage_new_0 1081 -#define wxImage_new_3_0 1082 -#define wxImage_new_4 1083 -#define wxImage_new_5 1084 -#define wxImage_new_2 1085 -#define wxImage_new_3_1 1086 -#define wxImage_Blur 1087 -#define wxImage_BlurHorizontal 1088 -#define wxImage_BlurVertical 1089 -#define wxImage_ConvertAlphaToMask 1090 -#define wxImage_ConvertToGreyscale 1091 -#define wxImage_ConvertToMono 1092 -#define wxImage_Copy 1093 -#define wxImage_Create_3 1094 -#define wxImage_Create_4 1095 -#define wxImage_Create_5 1096 -#define wxImage_Destroy 1097 -#define wxImage_FindFirstUnusedColour 1098 -#define wxImage_GetImageExtWildcard 1099 -#define wxImage_GetAlpha_2 1100 -#define wxImage_GetAlpha_0 1101 -#define wxImage_GetBlue 1102 -#define wxImage_GetData 1103 -#define wxImage_GetGreen 1104 -#define wxImage_GetImageCount 1105 -#define wxImage_GetHeight 1106 -#define wxImage_GetMaskBlue 1107 -#define wxImage_GetMaskGreen 1108 -#define wxImage_GetMaskRed 1109 -#define wxImage_GetOrFindMaskColour 1110 -#define wxImage_GetPalette 1111 -#define wxImage_GetRed 1112 -#define wxImage_GetSubImage 1113 -#define wxImage_GetWidth 1114 -#define wxImage_HasAlpha 1115 -#define wxImage_HasMask 1116 -#define wxImage_GetOption 1117 -#define wxImage_GetOptionInt 1118 -#define wxImage_HasOption 1119 -#define wxImage_InitAlpha 1120 -#define wxImage_InitStandardHandlers 1121 -#define wxImage_IsTransparent 1122 -#define wxImage_LoadFile_2 1123 -#define wxImage_LoadFile_3 1124 -#define wxImage_Ok 1125 -#define wxImage_RemoveHandler 1126 -#define wxImage_Mirror 1127 -#define wxImage_Replace 1128 -#define wxImage_Rescale 1129 -#define wxImage_Resize 1130 -#define wxImage_Rotate 1131 -#define wxImage_RotateHue 1132 -#define wxImage_Rotate90 1133 -#define wxImage_SaveFile_1 1134 -#define wxImage_SaveFile_2_0 1135 -#define wxImage_SaveFile_2_1 1136 -#define wxImage_Scale 1137 -#define wxImage_Size 1138 -#define wxImage_SetAlpha_3 1139 -#define wxImage_SetAlpha_2 1140 -#define wxImage_SetData_2 1141 -#define wxImage_SetData_4 1142 -#define wxImage_SetMask 1143 -#define wxImage_SetMaskColour 1144 -#define wxImage_SetMaskFromImage 1145 -#define wxImage_SetOption_2_1 1146 -#define wxImage_SetOption_2_0 1147 -#define wxImage_SetPalette 1148 -#define wxImage_SetRGB_5 1149 -#define wxImage_SetRGB_4 1150 -#define wxImage_destroy 1151 -#define wxBrush_new_0 1152 -#define wxBrush_new_2 1153 -#define wxBrush_new_1 1154 -#define wxBrush_destruct 1156 -#define wxBrush_GetColour 1157 -#define wxBrush_GetStipple 1158 -#define wxBrush_GetStyle 1159 -#define wxBrush_IsHatch 1160 -#define wxBrush_IsOk 1161 -#define wxBrush_SetColour_1 1162 -#define wxBrush_SetColour_3 1163 -#define wxBrush_SetStipple 1164 -#define wxBrush_SetStyle 1165 -#define wxPen_new_0 1166 -#define wxPen_new_2 1167 -#define wxPen_destruct 1168 -#define wxPen_GetCap 1169 -#define wxPen_GetColour 1170 -#define wxPen_GetJoin 1171 -#define wxPen_GetStyle 1172 -#define wxPen_GetWidth 1173 -#define wxPen_IsOk 1174 -#define wxPen_SetCap 1175 -#define wxPen_SetColour_1 1176 -#define wxPen_SetColour_3 1177 -#define wxPen_SetJoin 1178 -#define wxPen_SetStyle 1179 -#define wxPen_SetWidth 1180 -#define wxRegion_new_0 1181 -#define wxRegion_new_4 1182 -#define wxRegion_new_2 1183 -#define wxRegion_new_1_1 1184 -#define wxRegion_new_1_0 1186 -#define wxRegion_destruct 1188 -#define wxRegion_Clear 1189 -#define wxRegion_Contains_2 1190 -#define wxRegion_Contains_1_0 1191 -#define wxRegion_Contains_4 1192 -#define wxRegion_Contains_1_1 1193 -#define wxRegion_ConvertToBitmap 1194 -#define wxRegion_GetBox 1195 -#define wxRegion_Intersect_4 1196 -#define wxRegion_Intersect_1_1 1197 -#define wxRegion_Intersect_1_0 1198 -#define wxRegion_IsEmpty 1199 -#define wxRegion_Subtract_4 1200 -#define wxRegion_Subtract_1_1 1201 -#define wxRegion_Subtract_1_0 1202 -#define wxRegion_Offset_2 1203 -#define wxRegion_Offset_1 1204 -#define wxRegion_Union_4 1205 -#define wxRegion_Union_1_2 1206 -#define wxRegion_Union_1_1 1207 -#define wxRegion_Union_1_0 1208 -#define wxRegion_Union_3 1209 -#define wxRegion_Xor_4 1210 -#define wxRegion_Xor_1_1 1211 -#define wxRegion_Xor_1_0 1212 -#define wxAcceleratorTable_new_0 1213 -#define wxAcceleratorTable_new_2 1214 -#define wxAcceleratorTable_destruct 1215 -#define wxAcceleratorTable_Ok 1216 -#define wxAcceleratorEntry_new_1_0 1217 -#define wxAcceleratorEntry_new_1_1 1218 -#define wxAcceleratorEntry_GetCommand 1219 -#define wxAcceleratorEntry_GetFlags 1220 -#define wxAcceleratorEntry_GetKeyCode 1221 -#define wxAcceleratorEntry_Set 1222 -#define wxAcceleratorEntry_destroy 1223 -#define wxCaret_new_3 1228 -#define wxCaret_new_2 1229 -#define wxCaret_destruct 1231 -#define wxCaret_Create_3 1232 -#define wxCaret_Create_2 1233 -#define wxCaret_GetBlinkTime 1234 -#define wxCaret_GetPosition 1236 -#define wxCaret_GetSize 1238 -#define wxCaret_GetWindow 1239 -#define wxCaret_Hide 1240 -#define wxCaret_IsOk 1241 -#define wxCaret_IsVisible 1242 -#define wxCaret_Move_2 1243 -#define wxCaret_Move_1 1244 -#define wxCaret_SetBlinkTime 1245 -#define wxCaret_SetSize_2 1246 -#define wxCaret_SetSize_1 1247 -#define wxCaret_Show 1248 -#define wxSizer_Add_2_1 1249 -#define wxSizer_Add_2_0 1250 -#define wxSizer_Add_3 1251 -#define wxSizer_Add_2_3 1252 -#define wxSizer_Add_2_2 1253 -#define wxSizer_AddSpacer 1254 -#define wxSizer_AddStretchSpacer 1255 -#define wxSizer_CalcMin 1256 -#define wxSizer_Clear 1257 -#define wxSizer_Detach_1_2 1258 -#define wxSizer_Detach_1_1 1259 -#define wxSizer_Detach_1_0 1260 -#define wxSizer_Fit 1261 -#define wxSizer_FitInside 1262 -#define wxSizer_GetChildren 1263 -#define wxSizer_GetItem_2_1 1264 -#define wxSizer_GetItem_2_0 1265 -#define wxSizer_GetItem_1 1266 -#define wxSizer_GetSize 1267 -#define wxSizer_GetPosition 1268 -#define wxSizer_GetMinSize 1269 -#define wxSizer_Hide_2_0 1270 -#define wxSizer_Hide_2_1 1271 -#define wxSizer_Hide_1 1272 -#define wxSizer_Insert_3_1 1273 -#define wxSizer_Insert_3_0 1274 -#define wxSizer_Insert_4 1275 -#define wxSizer_Insert_3_3 1276 -#define wxSizer_Insert_3_2 1277 -#define wxSizer_Insert_2 1278 -#define wxSizer_InsertSpacer 1279 -#define wxSizer_InsertStretchSpacer 1280 -#define wxSizer_IsShown_1_2 1281 -#define wxSizer_IsShown_1_1 1282 -#define wxSizer_IsShown_1_0 1283 -#define wxSizer_Layout 1284 -#define wxSizer_Prepend_2_1 1285 -#define wxSizer_Prepend_2_0 1286 -#define wxSizer_Prepend_3 1287 -#define wxSizer_Prepend_2_3 1288 -#define wxSizer_Prepend_2_2 1289 -#define wxSizer_Prepend_1 1290 -#define wxSizer_PrependSpacer 1291 -#define wxSizer_PrependStretchSpacer 1292 -#define wxSizer_RecalcSizes 1293 -#define wxSizer_Remove_1_1 1294 -#define wxSizer_Remove_1_0 1295 -#define wxSizer_Replace_3_1 1296 -#define wxSizer_Replace_3_0 1297 -#define wxSizer_Replace_2 1298 -#define wxSizer_SetDimension 1299 -#define wxSizer_SetMinSize_2 1300 -#define wxSizer_SetMinSize_1 1301 -#define wxSizer_SetItemMinSize_3_2 1302 -#define wxSizer_SetItemMinSize_2_2 1303 -#define wxSizer_SetItemMinSize_3_1 1304 -#define wxSizer_SetItemMinSize_2_1 1305 -#define wxSizer_SetItemMinSize_3_0 1306 -#define wxSizer_SetItemMinSize_2_0 1307 -#define wxSizer_SetSizeHints 1308 -#define wxSizer_SetVirtualSizeHints 1309 -#define wxSizer_Show_2_2 1310 -#define wxSizer_Show_2_1 1311 -#define wxSizer_Show_2_0 1312 -#define wxSizer_Show_1 1313 -#define wxSizerFlags_new 1314 -#define wxSizerFlags_Align 1315 -#define wxSizerFlags_Border_2 1316 -#define wxSizerFlags_Border_1 1317 -#define wxSizerFlags_Center 1318 -#define wxSizerFlags_Centre 1319 -#define wxSizerFlags_Expand 1320 -#define wxSizerFlags_Left 1321 -#define wxSizerFlags_Proportion 1322 -#define wxSizerFlags_Right 1323 -#define wxSizerFlags_destroy 1324 -#define wxSizerItem_new_5_1 1325 -#define wxSizerItem_new_2_1 1326 -#define wxSizerItem_new_5_0 1327 -#define wxSizerItem_new_2_0 1328 -#define wxSizerItem_new_6 1329 -#define wxSizerItem_new_3 1330 -#define wxSizerItem_new_0 1331 -#define wxSizerItem_destruct 1332 -#define wxSizerItem_CalcMin 1333 -#define wxSizerItem_DeleteWindows 1334 -#define wxSizerItem_DetachSizer 1335 -#define wxSizerItem_GetBorder 1336 -#define wxSizerItem_GetFlag 1337 -#define wxSizerItem_GetMinSize 1338 -#define wxSizerItem_GetPosition 1339 -#define wxSizerItem_GetProportion 1340 -#define wxSizerItem_GetRatio 1341 -#define wxSizerItem_GetRect 1342 -#define wxSizerItem_GetSize 1343 -#define wxSizerItem_GetSizer 1344 -#define wxSizerItem_GetSpacer 1345 -#define wxSizerItem_GetUserData 1346 -#define wxSizerItem_GetWindow 1347 -#define wxSizerItem_IsSizer 1348 -#define wxSizerItem_IsShown 1349 -#define wxSizerItem_IsSpacer 1350 -#define wxSizerItem_IsWindow 1351 -#define wxSizerItem_SetBorder 1352 -#define wxSizerItem_SetDimension 1353 -#define wxSizerItem_SetFlag 1354 -#define wxSizerItem_SetInitSize 1355 -#define wxSizerItem_SetMinSize_1 1356 -#define wxSizerItem_SetMinSize_2 1357 -#define wxSizerItem_SetProportion 1358 -#define wxSizerItem_SetRatio_2 1359 -#define wxSizerItem_SetRatio_1_1 1360 -#define wxSizerItem_SetRatio_1_0 1361 -#define wxSizerItem_SetSizer 1362 -#define wxSizerItem_SetSpacer_1 1363 -#define wxSizerItem_SetSpacer_2 1364 -#define wxSizerItem_SetWindow 1365 -#define wxSizerItem_Show 1366 -#define wxBoxSizer_new 1367 -#define wxBoxSizer_GetOrientation 1368 -#define wxBoxSizer_destroy 1369 -#define wxStaticBoxSizer_new_2 1370 -#define wxStaticBoxSizer_new_3 1371 -#define wxStaticBoxSizer_GetStaticBox 1372 -#define wxStaticBoxSizer_destroy 1373 -#define wxGridSizer_new_4 1374 -#define wxGridSizer_new_2 1375 -#define wxGridSizer_GetCols 1376 -#define wxGridSizer_GetHGap 1377 -#define wxGridSizer_GetRows 1378 -#define wxGridSizer_GetVGap 1379 -#define wxGridSizer_SetCols 1380 -#define wxGridSizer_SetHGap 1381 -#define wxGridSizer_SetRows 1382 -#define wxGridSizer_SetVGap 1383 -#define wxGridSizer_destroy 1384 -#define wxFlexGridSizer_new_4 1385 -#define wxFlexGridSizer_new_2 1386 -#define wxFlexGridSizer_AddGrowableCol 1387 -#define wxFlexGridSizer_AddGrowableRow 1388 -#define wxFlexGridSizer_GetFlexibleDirection 1389 -#define wxFlexGridSizer_GetNonFlexibleGrowMode 1390 -#define wxFlexGridSizer_RemoveGrowableCol 1391 -#define wxFlexGridSizer_RemoveGrowableRow 1392 -#define wxFlexGridSizer_SetFlexibleDirection 1393 -#define wxFlexGridSizer_SetNonFlexibleGrowMode 1394 -#define wxFlexGridSizer_destroy 1395 -#define wxGridBagSizer_new 1396 -#define wxGridBagSizer_Add_3_2 1397 -#define wxGridBagSizer_Add_3_1 1398 -#define wxGridBagSizer_Add_4 1399 -#define wxGridBagSizer_Add_1_0 1400 -#define wxGridBagSizer_Add_2_1 1401 -#define wxGridBagSizer_Add_2_0 1402 -#define wxGridBagSizer_Add_3_0 1403 -#define wxGridBagSizer_Add_1_1 1404 -#define wxGridBagSizer_CalcMin 1405 -#define wxGridBagSizer_CheckForIntersection_2 1406 -#define wxGridBagSizer_CheckForIntersection_3 1407 -#define wxGridBagSizer_FindItem_1_1 1408 -#define wxGridBagSizer_FindItem_1_0 1409 -#define wxGridBagSizer_FindItemAtPoint 1410 -#define wxGridBagSizer_FindItemAtPosition 1411 -#define wxGridBagSizer_FindItemWithData 1412 -#define wxGridBagSizer_GetCellSize 1413 -#define wxGridBagSizer_GetEmptyCellSize 1414 -#define wxGridBagSizer_GetItemPosition_1_2 1415 -#define wxGridBagSizer_GetItemPosition_1_1 1416 -#define wxGridBagSizer_GetItemPosition_1_0 1417 -#define wxGridBagSizer_GetItemSpan_1_2 1418 -#define wxGridBagSizer_GetItemSpan_1_1 1419 -#define wxGridBagSizer_GetItemSpan_1_0 1420 -#define wxGridBagSizer_SetEmptyCellSize 1421 -#define wxGridBagSizer_SetItemPosition_2_2 1422 -#define wxGridBagSizer_SetItemPosition_2_1 1423 -#define wxGridBagSizer_SetItemPosition_2_0 1424 -#define wxGridBagSizer_SetItemSpan_2_2 1425 -#define wxGridBagSizer_SetItemSpan_2_1 1426 -#define wxGridBagSizer_SetItemSpan_2_0 1427 -#define wxGridBagSizer_destroy 1428 -#define wxStdDialogButtonSizer_new 1429 -#define wxStdDialogButtonSizer_AddButton 1430 -#define wxStdDialogButtonSizer_Realize 1431 -#define wxStdDialogButtonSizer_SetAffirmativeButton 1432 -#define wxStdDialogButtonSizer_SetCancelButton 1433 -#define wxStdDialogButtonSizer_SetNegativeButton 1434 -#define wxStdDialogButtonSizer_destroy 1435 -#define wxFont_new_0 1436 -#define wxFont_new_1 1437 -#define wxFont_new_5 1438 -#define wxFont_destruct 1440 -#define wxFont_IsFixedWidth 1441 -#define wxFont_GetDefaultEncoding 1442 -#define wxFont_GetFaceName 1443 -#define wxFont_GetFamily 1444 -#define wxFont_GetNativeFontInfoDesc 1445 -#define wxFont_GetNativeFontInfoUserDesc 1446 -#define wxFont_GetPointSize 1447 -#define wxFont_GetStyle 1448 -#define wxFont_GetUnderlined 1449 -#define wxFont_GetWeight 1450 -#define wxFont_Ok 1451 -#define wxFont_SetDefaultEncoding 1452 -#define wxFont_SetFaceName 1453 -#define wxFont_SetFamily 1454 -#define wxFont_SetPointSize 1455 -#define wxFont_SetStyle 1456 -#define wxFont_SetUnderlined 1457 -#define wxFont_SetWeight 1458 -#define wxToolTip_Enable 1459 -#define wxToolTip_SetDelay 1460 -#define wxToolTip_new 1461 -#define wxToolTip_SetTip 1462 -#define wxToolTip_GetTip 1463 -#define wxToolTip_GetWindow 1464 -#define wxToolTip_destroy 1465 -#define wxButton_new_3 1467 -#define wxButton_new_0 1468 -#define wxButton_destruct 1469 -#define wxButton_Create 1470 -#define wxButton_GetDefaultSize 1471 -#define wxButton_SetDefault 1472 -#define wxButton_SetLabel 1473 -#define wxBitmapButton_new_4 1475 -#define wxBitmapButton_new_0 1476 -#define wxBitmapButton_Create 1477 -#define wxBitmapButton_GetBitmapDisabled 1478 -#define wxBitmapButton_GetBitmapFocus 1480 -#define wxBitmapButton_GetBitmapLabel 1482 -#define wxBitmapButton_GetBitmapSelected 1484 -#define wxBitmapButton_SetBitmapDisabled 1486 -#define wxBitmapButton_SetBitmapFocus 1487 -#define wxBitmapButton_SetBitmapLabel 1488 -#define wxBitmapButton_SetBitmapSelected 1489 -#define wxBitmapButton_destroy 1490 -#define wxToggleButton_new_0 1491 -#define wxToggleButton_new_4 1492 -#define wxToggleButton_Create 1493 -#define wxToggleButton_GetValue 1494 -#define wxToggleButton_SetValue 1495 -#define wxToggleButton_destroy 1496 -#define wxCalendarCtrl_new_0 1497 -#define wxCalendarCtrl_new_3 1498 -#define wxCalendarCtrl_Create 1499 -#define wxCalendarCtrl_destruct 1500 -#define wxCalendarCtrl_SetDate 1501 -#define wxCalendarCtrl_GetDate 1502 -#define wxCalendarCtrl_EnableYearChange 1503 -#define wxCalendarCtrl_EnableMonthChange 1504 -#define wxCalendarCtrl_EnableHolidayDisplay 1505 -#define wxCalendarCtrl_SetHeaderColours 1506 -#define wxCalendarCtrl_GetHeaderColourFg 1507 -#define wxCalendarCtrl_GetHeaderColourBg 1508 -#define wxCalendarCtrl_SetHighlightColours 1509 -#define wxCalendarCtrl_GetHighlightColourFg 1510 -#define wxCalendarCtrl_GetHighlightColourBg 1511 -#define wxCalendarCtrl_SetHolidayColours 1512 -#define wxCalendarCtrl_GetHolidayColourFg 1513 -#define wxCalendarCtrl_GetHolidayColourBg 1514 -#define wxCalendarCtrl_GetAttr 1515 -#define wxCalendarCtrl_SetAttr 1516 -#define wxCalendarCtrl_SetHoliday 1517 -#define wxCalendarCtrl_ResetAttr 1518 -#define wxCalendarCtrl_HitTest 1519 -#define wxCalendarDateAttr_new_0 1520 -#define wxCalendarDateAttr_new_2_1 1521 -#define wxCalendarDateAttr_new_2_0 1522 -#define wxCalendarDateAttr_SetTextColour 1523 -#define wxCalendarDateAttr_SetBackgroundColour 1524 -#define wxCalendarDateAttr_SetBorderColour 1525 -#define wxCalendarDateAttr_SetFont 1526 -#define wxCalendarDateAttr_SetBorder 1527 -#define wxCalendarDateAttr_SetHoliday 1528 -#define wxCalendarDateAttr_HasTextColour 1529 -#define wxCalendarDateAttr_HasBackgroundColour 1530 -#define wxCalendarDateAttr_HasBorderColour 1531 -#define wxCalendarDateAttr_HasFont 1532 -#define wxCalendarDateAttr_HasBorder 1533 -#define wxCalendarDateAttr_IsHoliday 1534 -#define wxCalendarDateAttr_GetTextColour 1535 -#define wxCalendarDateAttr_GetBackgroundColour 1536 -#define wxCalendarDateAttr_GetBorderColour 1537 -#define wxCalendarDateAttr_GetFont 1538 -#define wxCalendarDateAttr_GetBorder 1539 -#define wxCalendarDateAttr_destroy 1540 -#define wxCheckBox_new_4 1542 -#define wxCheckBox_new_0 1543 -#define wxCheckBox_Create 1544 -#define wxCheckBox_GetValue 1545 -#define wxCheckBox_Get3StateValue 1546 -#define wxCheckBox_Is3rdStateAllowedForUser 1547 -#define wxCheckBox_Is3State 1548 -#define wxCheckBox_IsChecked 1549 -#define wxCheckBox_SetValue 1550 -#define wxCheckBox_Set3StateValue 1551 -#define wxCheckBox_destroy 1552 -#define wxCheckListBox_new_0 1553 -#define wxCheckListBox_new_3 1555 -#define wxCheckListBox_Check 1556 -#define wxCheckListBox_IsChecked 1557 -#define wxCheckListBox_destroy 1558 -#define wxChoice_new_3 1561 -#define wxChoice_new_0 1562 -#define wxChoice_destruct 1564 -#define wxChoice_Create 1566 -#define wxChoice_Delete 1567 -#define wxChoice_GetColumns 1568 -#define wxChoice_SetColumns 1569 -#define wxComboBox_new_0 1570 -#define wxComboBox_new_3 1572 -#define wxComboBox_destruct 1573 -#define wxComboBox_Create 1575 -#define wxComboBox_CanCopy 1576 -#define wxComboBox_CanCut 1577 -#define wxComboBox_CanPaste 1578 -#define wxComboBox_CanRedo 1579 -#define wxComboBox_CanUndo 1580 -#define wxComboBox_Copy 1581 -#define wxComboBox_Cut 1582 -#define wxComboBox_GetInsertionPoint 1583 -#define wxComboBox_GetLastPosition 1584 -#define wxComboBox_GetValue 1585 -#define wxComboBox_Paste 1586 -#define wxComboBox_Redo 1587 -#define wxComboBox_Replace 1588 -#define wxComboBox_Remove 1589 -#define wxComboBox_SetInsertionPoint 1590 -#define wxComboBox_SetInsertionPointEnd 1591 -#define wxComboBox_SetSelection_1 1592 -#define wxComboBox_SetSelection_2 1593 -#define wxComboBox_SetValue 1594 -#define wxComboBox_Undo 1595 -#define wxGauge_new_0 1596 -#define wxGauge_new_4 1597 -#define wxGauge_Create 1598 -#define wxGauge_GetBezelFace 1599 -#define wxGauge_GetRange 1600 -#define wxGauge_GetShadowWidth 1601 -#define wxGauge_GetValue 1602 -#define wxGauge_IsVertical 1603 -#define wxGauge_SetBezelFace 1604 -#define wxGauge_SetRange 1605 -#define wxGauge_SetShadowWidth 1606 -#define wxGauge_SetValue 1607 -#define wxGauge_Pulse 1608 -#define wxGauge_destroy 1609 -#define wxGenericDirCtrl_new_0 1610 -#define wxGenericDirCtrl_new_2 1611 -#define wxGenericDirCtrl_destruct 1612 -#define wxGenericDirCtrl_Create 1613 -#define wxGenericDirCtrl_Init 1614 -#define wxGenericDirCtrl_CollapseTree 1615 -#define wxGenericDirCtrl_ExpandPath 1616 -#define wxGenericDirCtrl_GetDefaultPath 1617 -#define wxGenericDirCtrl_GetPath 1618 -#define wxGenericDirCtrl_GetFilePath 1619 -#define wxGenericDirCtrl_GetFilter 1620 -#define wxGenericDirCtrl_GetFilterIndex 1621 -#define wxGenericDirCtrl_GetRootId 1622 -#define wxGenericDirCtrl_GetTreeCtrl 1623 -#define wxGenericDirCtrl_ReCreateTree 1624 -#define wxGenericDirCtrl_SetDefaultPath 1625 -#define wxGenericDirCtrl_SetFilter 1626 -#define wxGenericDirCtrl_SetFilterIndex 1627 -#define wxGenericDirCtrl_SetPath 1628 -#define wxStaticBox_new_4 1630 -#define wxStaticBox_new_0 1631 -#define wxStaticBox_Create 1632 -#define wxStaticBox_destroy 1633 -#define wxStaticLine_new_2 1635 -#define wxStaticLine_new_0 1636 -#define wxStaticLine_Create 1637 -#define wxStaticLine_IsVertical 1638 -#define wxStaticLine_GetDefaultSize 1639 -#define wxStaticLine_destroy 1640 -#define wxListBox_new_3 1643 -#define wxListBox_new_0 1644 -#define wxListBox_destruct 1646 -#define wxListBox_Create 1648 -#define wxListBox_Deselect 1649 -#define wxListBox_GetSelections 1650 -#define wxListBox_InsertItems 1651 -#define wxListBox_IsSelected 1652 -#define wxListBox_Set 1654 -#define wxListBox_HitTest 1655 -#define wxListBox_SetFirstItem_1_0 1656 -#define wxListBox_SetFirstItem_1_1 1657 -#define wxListCtrl_new_0 1658 -#define wxListCtrl_new_2 1659 -#define wxListCtrl_Arrange 1660 -#define wxListCtrl_AssignImageList 1661 -#define wxListCtrl_ClearAll 1662 -#define wxListCtrl_Create 1663 -#define wxListCtrl_DeleteAllItems 1664 -#define wxListCtrl_DeleteColumn 1665 -#define wxListCtrl_DeleteItem 1666 -#define wxListCtrl_EditLabel 1667 -#define wxListCtrl_EnsureVisible 1668 -#define wxListCtrl_FindItem_3_0 1669 -#define wxListCtrl_FindItem_3_1 1670 -#define wxListCtrl_GetColumn 1671 -#define wxListCtrl_GetColumnCount 1672 -#define wxListCtrl_GetColumnWidth 1673 -#define wxListCtrl_GetCountPerPage 1674 -#define wxListCtrl_GetEditControl 1675 -#define wxListCtrl_GetImageList 1676 -#define wxListCtrl_GetItem 1677 -#define wxListCtrl_GetItemBackgroundColour 1678 -#define wxListCtrl_GetItemCount 1679 -#define wxListCtrl_GetItemData 1680 -#define wxListCtrl_GetItemFont 1681 -#define wxListCtrl_GetItemPosition 1682 -#define wxListCtrl_GetItemRect 1683 -#define wxListCtrl_GetItemSpacing 1684 -#define wxListCtrl_GetItemState 1685 -#define wxListCtrl_GetItemText 1686 -#define wxListCtrl_GetItemTextColour 1687 -#define wxListCtrl_GetNextItem 1688 -#define wxListCtrl_GetSelectedItemCount 1689 -#define wxListCtrl_GetTextColour 1690 -#define wxListCtrl_GetTopItem 1691 -#define wxListCtrl_GetViewRect 1692 -#define wxListCtrl_HitTest 1693 -#define wxListCtrl_InsertColumn_2 1694 -#define wxListCtrl_InsertColumn_3 1695 -#define wxListCtrl_InsertItem_1 1696 -#define wxListCtrl_InsertItem_2_1 1697 -#define wxListCtrl_InsertItem_2_0 1698 -#define wxListCtrl_InsertItem_3 1699 -#define wxListCtrl_RefreshItem 1700 -#define wxListCtrl_RefreshItems 1701 -#define wxListCtrl_ScrollList 1702 -#define wxListCtrl_SetBackgroundColour 1703 -#define wxListCtrl_SetColumn 1704 -#define wxListCtrl_SetColumnWidth 1705 -#define wxListCtrl_SetImageList 1706 -#define wxListCtrl_SetItem_1 1707 -#define wxListCtrl_SetItem_4 1708 -#define wxListCtrl_SetItemBackgroundColour 1709 -#define wxListCtrl_SetItemCount 1710 -#define wxListCtrl_SetItemData 1711 -#define wxListCtrl_SetItemFont 1712 -#define wxListCtrl_SetItemImage 1713 -#define wxListCtrl_SetItemColumnImage 1714 -#define wxListCtrl_SetItemPosition 1715 -#define wxListCtrl_SetItemState 1716 -#define wxListCtrl_SetItemText 1717 -#define wxListCtrl_SetItemTextColour 1718 -#define wxListCtrl_SetSingleStyle 1719 -#define wxListCtrl_SetTextColour 1720 -#define wxListCtrl_SetWindowStyleFlag 1721 -#define wxListCtrl_SortItems 1722 -#define wxListCtrl_destroy 1723 -#define wxListView_ClearColumnImage 1724 -#define wxListView_Focus 1725 -#define wxListView_GetFirstSelected 1726 -#define wxListView_GetFocusedItem 1727 -#define wxListView_GetNextSelected 1728 -#define wxListView_IsSelected 1729 -#define wxListView_Select 1730 -#define wxListView_SetColumnImage 1731 -#define wxListItem_new_0 1732 -#define wxListItem_new_1 1733 -#define wxListItem_destruct 1734 -#define wxListItem_Clear 1735 -#define wxListItem_GetAlign 1736 -#define wxListItem_GetBackgroundColour 1737 -#define wxListItem_GetColumn 1738 -#define wxListItem_GetFont 1739 -#define wxListItem_GetId 1740 -#define wxListItem_GetImage 1741 -#define wxListItem_GetMask 1742 -#define wxListItem_GetState 1743 -#define wxListItem_GetText 1744 -#define wxListItem_GetTextColour 1745 -#define wxListItem_GetWidth 1746 -#define wxListItem_SetAlign 1747 -#define wxListItem_SetBackgroundColour 1748 -#define wxListItem_SetColumn 1749 -#define wxListItem_SetFont 1750 -#define wxListItem_SetId 1751 -#define wxListItem_SetImage 1752 -#define wxListItem_SetMask 1753 -#define wxListItem_SetState 1754 -#define wxListItem_SetStateMask 1755 -#define wxListItem_SetText 1756 -#define wxListItem_SetTextColour 1757 -#define wxListItem_SetWidth 1758 -#define wxImageList_new_0 1759 -#define wxImageList_new_3 1760 -#define wxImageList_Add_1 1761 -#define wxImageList_Add_2_0 1762 -#define wxImageList_Add_2_1 1763 -#define wxImageList_Create 1764 -#define wxImageList_Draw 1766 -#define wxImageList_GetBitmap 1767 -#define wxImageList_GetIcon 1768 -#define wxImageList_GetImageCount 1769 -#define wxImageList_GetSize 1770 -#define wxImageList_Remove 1771 -#define wxImageList_RemoveAll 1772 -#define wxImageList_Replace_2 1773 -#define wxImageList_Replace_3 1774 -#define wxImageList_destroy 1775 -#define wxTextAttr_new_0 1776 -#define wxTextAttr_new_2 1777 -#define wxTextAttr_GetAlignment 1778 -#define wxTextAttr_GetBackgroundColour 1779 -#define wxTextAttr_GetFont 1780 -#define wxTextAttr_GetLeftIndent 1781 -#define wxTextAttr_GetLeftSubIndent 1782 -#define wxTextAttr_GetRightIndent 1783 -#define wxTextAttr_GetTabs 1784 -#define wxTextAttr_GetTextColour 1785 -#define wxTextAttr_HasBackgroundColour 1786 -#define wxTextAttr_HasFont 1787 -#define wxTextAttr_HasTextColour 1788 -#define wxTextAttr_GetFlags 1789 -#define wxTextAttr_IsDefault 1790 -#define wxTextAttr_SetAlignment 1791 -#define wxTextAttr_SetBackgroundColour 1792 -#define wxTextAttr_SetFlags 1793 -#define wxTextAttr_SetFont 1794 -#define wxTextAttr_SetLeftIndent 1795 -#define wxTextAttr_SetRightIndent 1796 -#define wxTextAttr_SetTabs 1797 -#define wxTextAttr_SetTextColour 1798 -#define wxTextAttr_destroy 1799 -#define wxTextCtrl_new_3 1801 -#define wxTextCtrl_new_0 1802 -#define wxTextCtrl_destruct 1804 -#define wxTextCtrl_AppendText 1805 -#define wxTextCtrl_CanCopy 1806 -#define wxTextCtrl_CanCut 1807 -#define wxTextCtrl_CanPaste 1808 -#define wxTextCtrl_CanRedo 1809 -#define wxTextCtrl_CanUndo 1810 -#define wxTextCtrl_Clear 1811 -#define wxTextCtrl_Copy 1812 -#define wxTextCtrl_Create 1813 -#define wxTextCtrl_Cut 1814 -#define wxTextCtrl_DiscardEdits 1815 -#define wxTextCtrl_EmulateKeyPress 1816 -#define wxTextCtrl_GetDefaultStyle 1817 -#define wxTextCtrl_GetInsertionPoint 1818 -#define wxTextCtrl_GetLastPosition 1819 -#define wxTextCtrl_GetLineLength 1820 -#define wxTextCtrl_GetLineText 1821 -#define wxTextCtrl_GetNumberOfLines 1822 -#define wxTextCtrl_GetRange 1823 -#define wxTextCtrl_GetSelection 1824 -#define wxTextCtrl_GetStringSelection 1825 -#define wxTextCtrl_GetStyle 1826 -#define wxTextCtrl_GetValue 1827 -#define wxTextCtrl_IsEditable 1828 -#define wxTextCtrl_IsModified 1829 -#define wxTextCtrl_IsMultiLine 1830 -#define wxTextCtrl_IsSingleLine 1831 -#define wxTextCtrl_LoadFile 1832 -#define wxTextCtrl_MarkDirty 1833 -#define wxTextCtrl_Paste 1834 -#define wxTextCtrl_PositionToXY 1835 -#define wxTextCtrl_Redo 1836 -#define wxTextCtrl_Remove 1837 -#define wxTextCtrl_Replace 1838 -#define wxTextCtrl_SaveFile 1839 -#define wxTextCtrl_SetDefaultStyle 1840 -#define wxTextCtrl_SetEditable 1841 -#define wxTextCtrl_SetInsertionPoint 1842 -#define wxTextCtrl_SetInsertionPointEnd 1843 -#define wxTextCtrl_SetMaxLength 1845 -#define wxTextCtrl_SetSelection 1846 -#define wxTextCtrl_SetStyle 1847 -#define wxTextCtrl_SetValue 1848 -#define wxTextCtrl_ShowPosition 1849 -#define wxTextCtrl_Undo 1850 -#define wxTextCtrl_WriteText 1851 -#define wxTextCtrl_XYToPosition 1852 -#define wxNotebook_new_0 1855 -#define wxNotebook_new_3 1856 -#define wxNotebook_destruct 1857 -#define wxNotebook_AddPage 1858 -#define wxNotebook_AdvanceSelection 1859 -#define wxNotebook_AssignImageList 1860 -#define wxNotebook_Create 1861 -#define wxNotebook_DeleteAllPages 1862 -#define wxNotebook_DeletePage 1863 -#define wxNotebook_RemovePage 1864 -#define wxNotebook_GetCurrentPage 1865 -#define wxNotebook_GetImageList 1866 -#define wxNotebook_GetPage 1868 -#define wxNotebook_GetPageCount 1869 -#define wxNotebook_GetPageImage 1870 -#define wxNotebook_GetPageText 1871 -#define wxNotebook_GetRowCount 1872 -#define wxNotebook_GetSelection 1873 -#define wxNotebook_GetThemeBackgroundColour 1874 -#define wxNotebook_HitTest 1876 -#define wxNotebook_InsertPage 1878 -#define wxNotebook_SetImageList 1879 -#define wxNotebook_SetPadding 1880 -#define wxNotebook_SetPageSize 1881 -#define wxNotebook_SetPageImage 1882 -#define wxNotebook_SetPageText 1883 -#define wxNotebook_SetSelection 1884 -#define wxNotebook_ChangeSelection 1885 -#define wxChoicebook_new_0 1886 -#define wxChoicebook_new_3 1887 -#define wxChoicebook_AddPage 1888 -#define wxChoicebook_AdvanceSelection 1889 -#define wxChoicebook_AssignImageList 1890 -#define wxChoicebook_Create 1891 -#define wxChoicebook_DeleteAllPages 1892 -#define wxChoicebook_DeletePage 1893 -#define wxChoicebook_RemovePage 1894 -#define wxChoicebook_GetCurrentPage 1895 -#define wxChoicebook_GetImageList 1896 -#define wxChoicebook_GetPage 1898 -#define wxChoicebook_GetPageCount 1899 -#define wxChoicebook_GetPageImage 1900 -#define wxChoicebook_GetPageText 1901 -#define wxChoicebook_GetSelection 1902 -#define wxChoicebook_HitTest 1903 -#define wxChoicebook_InsertPage 1904 -#define wxChoicebook_SetImageList 1905 -#define wxChoicebook_SetPageSize 1906 -#define wxChoicebook_SetPageImage 1907 -#define wxChoicebook_SetPageText 1908 -#define wxChoicebook_SetSelection 1909 -#define wxChoicebook_ChangeSelection 1910 -#define wxChoicebook_destroy 1911 -#define wxToolbook_new_0 1912 -#define wxToolbook_new_3 1913 -#define wxToolbook_AddPage 1914 -#define wxToolbook_AdvanceSelection 1915 -#define wxToolbook_AssignImageList 1916 -#define wxToolbook_Create 1917 -#define wxToolbook_DeleteAllPages 1918 -#define wxToolbook_DeletePage 1919 -#define wxToolbook_RemovePage 1920 -#define wxToolbook_GetCurrentPage 1921 -#define wxToolbook_GetImageList 1922 -#define wxToolbook_GetPage 1924 -#define wxToolbook_GetPageCount 1925 -#define wxToolbook_GetPageImage 1926 -#define wxToolbook_GetPageText 1927 -#define wxToolbook_GetSelection 1928 -#define wxToolbook_HitTest 1930 -#define wxToolbook_InsertPage 1931 -#define wxToolbook_SetImageList 1932 -#define wxToolbook_SetPageSize 1933 -#define wxToolbook_SetPageImage 1934 -#define wxToolbook_SetPageText 1935 -#define wxToolbook_SetSelection 1936 -#define wxToolbook_ChangeSelection 1937 -#define wxToolbook_destroy 1938 -#define wxListbook_new_0 1939 -#define wxListbook_new_3 1940 -#define wxListbook_AddPage 1941 -#define wxListbook_AdvanceSelection 1942 -#define wxListbook_AssignImageList 1943 -#define wxListbook_Create 1944 -#define wxListbook_DeleteAllPages 1945 -#define wxListbook_DeletePage 1946 -#define wxListbook_RemovePage 1947 -#define wxListbook_GetCurrentPage 1948 -#define wxListbook_GetImageList 1949 -#define wxListbook_GetPage 1951 -#define wxListbook_GetPageCount 1952 -#define wxListbook_GetPageImage 1953 -#define wxListbook_GetPageText 1954 -#define wxListbook_GetSelection 1955 -#define wxListbook_HitTest 1957 -#define wxListbook_InsertPage 1958 -#define wxListbook_SetImageList 1959 -#define wxListbook_SetPageSize 1960 -#define wxListbook_SetPageImage 1961 -#define wxListbook_SetPageText 1962 -#define wxListbook_SetSelection 1963 -#define wxListbook_ChangeSelection 1964 -#define wxListbook_destroy 1965 -#define wxTreebook_new_0 1966 -#define wxTreebook_new_3 1967 -#define wxTreebook_AddPage 1968 -#define wxTreebook_AdvanceSelection 1969 -#define wxTreebook_AssignImageList 1970 -#define wxTreebook_Create 1971 -#define wxTreebook_DeleteAllPages 1972 -#define wxTreebook_DeletePage 1973 -#define wxTreebook_RemovePage 1974 -#define wxTreebook_GetCurrentPage 1975 -#define wxTreebook_GetImageList 1976 -#define wxTreebook_GetPage 1978 -#define wxTreebook_GetPageCount 1979 -#define wxTreebook_GetPageImage 1980 -#define wxTreebook_GetPageText 1981 -#define wxTreebook_GetSelection 1982 -#define wxTreebook_ExpandNode 1983 -#define wxTreebook_IsNodeExpanded 1984 -#define wxTreebook_HitTest 1986 -#define wxTreebook_InsertPage 1987 -#define wxTreebook_InsertSubPage 1988 -#define wxTreebook_SetImageList 1989 -#define wxTreebook_SetPageSize 1990 -#define wxTreebook_SetPageImage 1991 -#define wxTreebook_SetPageText 1992 -#define wxTreebook_SetSelection 1993 -#define wxTreebook_ChangeSelection 1994 -#define wxTreebook_destroy 1995 -#define wxTreeCtrl_new_2 1998 -#define wxTreeCtrl_new_0 1999 -#define wxTreeCtrl_destruct 2001 -#define wxTreeCtrl_AddRoot 2002 -#define wxTreeCtrl_AppendItem 2003 -#define wxTreeCtrl_AssignImageList 2004 -#define wxTreeCtrl_AssignStateImageList 2005 -#define wxTreeCtrl_Collapse 2006 -#define wxTreeCtrl_CollapseAndReset 2007 -#define wxTreeCtrl_Create 2008 -#define wxTreeCtrl_Delete 2009 -#define wxTreeCtrl_DeleteAllItems 2010 -#define wxTreeCtrl_DeleteChildren 2011 -#define wxTreeCtrl_EnsureVisible 2012 -#define wxTreeCtrl_Expand 2013 -#define wxTreeCtrl_GetBoundingRect 2014 -#define wxTreeCtrl_GetChildrenCount 2016 -#define wxTreeCtrl_GetCount 2017 -#define wxTreeCtrl_GetEditControl 2018 -#define wxTreeCtrl_GetFirstChild 2019 -#define wxTreeCtrl_GetNextChild 2020 -#define wxTreeCtrl_GetFirstVisibleItem 2021 -#define wxTreeCtrl_GetImageList 2022 -#define wxTreeCtrl_GetIndent 2023 -#define wxTreeCtrl_GetItemBackgroundColour 2024 -#define wxTreeCtrl_GetItemData 2025 -#define wxTreeCtrl_GetItemFont 2026 -#define wxTreeCtrl_GetItemImage_1 2027 -#define wxTreeCtrl_GetItemImage_2 2028 -#define wxTreeCtrl_GetItemText 2029 -#define wxTreeCtrl_GetItemTextColour 2030 -#define wxTreeCtrl_GetLastChild 2031 -#define wxTreeCtrl_GetNextSibling 2032 -#define wxTreeCtrl_GetNextVisible 2033 -#define wxTreeCtrl_GetItemParent 2034 -#define wxTreeCtrl_GetPrevSibling 2035 -#define wxTreeCtrl_GetPrevVisible 2036 -#define wxTreeCtrl_GetRootItem 2037 -#define wxTreeCtrl_GetSelection 2038 -#define wxTreeCtrl_GetSelections 2039 -#define wxTreeCtrl_GetStateImageList 2040 -#define wxTreeCtrl_HitTest 2041 -#define wxTreeCtrl_InsertItem 2043 -#define wxTreeCtrl_IsBold 2044 -#define wxTreeCtrl_IsExpanded 2045 -#define wxTreeCtrl_IsSelected 2046 -#define wxTreeCtrl_IsVisible 2047 -#define wxTreeCtrl_ItemHasChildren 2048 -#define wxTreeCtrl_PrependItem 2049 -#define wxTreeCtrl_ScrollTo 2050 -#define wxTreeCtrl_SelectItem_1 2051 -#define wxTreeCtrl_SelectItem_2 2052 -#define wxTreeCtrl_SetIndent 2053 -#define wxTreeCtrl_SetImageList 2054 -#define wxTreeCtrl_SetItemBackgroundColour 2055 -#define wxTreeCtrl_SetItemBold 2056 -#define wxTreeCtrl_SetItemData 2057 -#define wxTreeCtrl_SetItemDropHighlight 2058 -#define wxTreeCtrl_SetItemFont 2059 -#define wxTreeCtrl_SetItemHasChildren 2060 -#define wxTreeCtrl_SetItemImage_2 2061 -#define wxTreeCtrl_SetItemImage_3 2062 -#define wxTreeCtrl_SetItemText 2063 -#define wxTreeCtrl_SetItemTextColour 2064 -#define wxTreeCtrl_SetStateImageList 2065 -#define wxTreeCtrl_SetWindowStyle 2066 -#define wxTreeCtrl_SortChildren 2067 -#define wxTreeCtrl_Toggle 2068 -#define wxTreeCtrl_ToggleItemSelection 2069 -#define wxTreeCtrl_Unselect 2070 -#define wxTreeCtrl_UnselectAll 2071 -#define wxTreeCtrl_UnselectItem 2072 -#define wxScrollBar_new_0 2073 -#define wxScrollBar_new_3 2074 -#define wxScrollBar_destruct 2075 -#define wxScrollBar_Create 2076 -#define wxScrollBar_GetRange 2077 -#define wxScrollBar_GetPageSize 2078 -#define wxScrollBar_GetThumbPosition 2079 -#define wxScrollBar_GetThumbSize 2080 -#define wxScrollBar_SetThumbPosition 2081 -#define wxScrollBar_SetScrollbar 2082 -#define wxSpinButton_new_2 2084 -#define wxSpinButton_new_0 2085 -#define wxSpinButton_Create 2086 -#define wxSpinButton_GetMax 2087 -#define wxSpinButton_GetMin 2088 -#define wxSpinButton_GetValue 2089 -#define wxSpinButton_SetRange 2090 -#define wxSpinButton_SetValue 2091 -#define wxSpinButton_destroy 2092 -#define wxSpinCtrl_new_0 2093 -#define wxSpinCtrl_new_2 2094 -#define wxSpinCtrl_Create 2096 -#define wxSpinCtrl_SetValue_1_1 2099 -#define wxSpinCtrl_SetValue_1_0 2100 -#define wxSpinCtrl_GetValue 2102 -#define wxSpinCtrl_SetRange 2104 -#define wxSpinCtrl_SetSelection 2105 -#define wxSpinCtrl_GetMin 2107 -#define wxSpinCtrl_GetMax 2109 -#define wxSpinCtrl_destroy 2110 -#define wxStaticText_new_0 2111 -#define wxStaticText_new_4 2112 -#define wxStaticText_Create 2113 -#define wxStaticText_GetLabel 2114 -#define wxStaticText_SetLabel 2115 -#define wxStaticText_Wrap 2116 -#define wxStaticText_destroy 2117 -#define wxStaticBitmap_new_0 2118 -#define wxStaticBitmap_new_4 2119 -#define wxStaticBitmap_Create 2120 -#define wxStaticBitmap_GetBitmap 2121 -#define wxStaticBitmap_SetBitmap 2122 -#define wxStaticBitmap_destroy 2123 -#define wxRadioBox_new 2124 -#define wxRadioBox_destruct 2126 -#define wxRadioBox_Create 2127 -#define wxRadioBox_Enable_2 2128 -#define wxRadioBox_Enable_1 2129 -#define wxRadioBox_GetSelection 2130 -#define wxRadioBox_GetString 2131 -#define wxRadioBox_SetSelection 2132 -#define wxRadioBox_Show_2 2133 -#define wxRadioBox_Show_1 2134 -#define wxRadioBox_GetColumnCount 2135 -#define wxRadioBox_GetItemHelpText 2136 -#define wxRadioBox_GetItemToolTip 2137 -#define wxRadioBox_GetItemFromPoint 2139 -#define wxRadioBox_GetRowCount 2140 -#define wxRadioBox_IsItemEnabled 2141 -#define wxRadioBox_IsItemShown 2142 -#define wxRadioBox_SetItemHelpText 2143 -#define wxRadioBox_SetItemToolTip 2144 -#define wxRadioButton_new_0 2145 -#define wxRadioButton_new_4 2146 -#define wxRadioButton_Create 2147 -#define wxRadioButton_GetValue 2148 -#define wxRadioButton_SetValue 2149 -#define wxRadioButton_destroy 2150 -#define wxSlider_new_6 2152 -#define wxSlider_new_0 2153 -#define wxSlider_Create 2154 -#define wxSlider_GetLineSize 2155 -#define wxSlider_GetMax 2156 -#define wxSlider_GetMin 2157 -#define wxSlider_GetPageSize 2158 -#define wxSlider_GetThumbLength 2159 -#define wxSlider_GetValue 2160 -#define wxSlider_SetLineSize 2161 -#define wxSlider_SetPageSize 2162 -#define wxSlider_SetRange 2163 -#define wxSlider_SetThumbLength 2164 -#define wxSlider_SetValue 2165 -#define wxSlider_destroy 2166 -#define wxDialog_new_4 2168 -#define wxDialog_new_0 2169 -#define wxDialog_destruct 2171 -#define wxDialog_Create 2172 -#define wxDialog_CreateButtonSizer 2173 -#define wxDialog_CreateStdDialogButtonSizer 2174 -#define wxDialog_EndModal 2175 -#define wxDialog_GetAffirmativeId 2176 -#define wxDialog_GetReturnCode 2177 -#define wxDialog_IsModal 2178 -#define wxDialog_SetAffirmativeId 2179 -#define wxDialog_SetReturnCode 2180 -#define wxDialog_Show 2181 -#define wxDialog_ShowModal 2182 -#define wxColourDialog_new_0 2183 -#define wxColourDialog_new_2 2184 -#define wxColourDialog_destruct 2185 -#define wxColourDialog_Create 2186 -#define wxColourDialog_GetColourData 2187 -#define wxColourData_new_0 2188 -#define wxColourData_new_1 2189 -#define wxColourData_destruct 2190 -#define wxColourData_GetChooseFull 2191 -#define wxColourData_GetColour 2192 -#define wxColourData_GetCustomColour 2194 -#define wxColourData_SetChooseFull 2195 -#define wxColourData_SetColour 2196 -#define wxColourData_SetCustomColour 2197 -#define wxPalette_new_0 2198 -#define wxPalette_new_4 2199 -#define wxPalette_destruct 2201 -#define wxPalette_Create 2202 -#define wxPalette_GetColoursCount 2203 -#define wxPalette_GetPixel 2204 -#define wxPalette_GetRGB 2205 -#define wxPalette_IsOk 2206 -#define wxDirDialog_new 2210 -#define wxDirDialog_destruct 2211 -#define wxDirDialog_GetPath 2212 -#define wxDirDialog_GetMessage 2213 -#define wxDirDialog_SetMessage 2214 -#define wxDirDialog_SetPath 2215 -#define wxFileDialog_new 2219 -#define wxFileDialog_destruct 2220 -#define wxFileDialog_GetDirectory 2221 -#define wxFileDialog_GetFilename 2222 -#define wxFileDialog_GetFilenames 2223 -#define wxFileDialog_GetFilterIndex 2224 -#define wxFileDialog_GetMessage 2225 -#define wxFileDialog_GetPath 2226 -#define wxFileDialog_GetPaths 2227 -#define wxFileDialog_GetWildcard 2228 -#define wxFileDialog_SetDirectory 2229 -#define wxFileDialog_SetFilename 2230 -#define wxFileDialog_SetFilterIndex 2231 -#define wxFileDialog_SetMessage 2232 -#define wxFileDialog_SetPath 2233 -#define wxFileDialog_SetWildcard 2234 -#define wxPickerBase_SetInternalMargin 2235 -#define wxPickerBase_GetInternalMargin 2236 -#define wxPickerBase_SetTextCtrlProportion 2237 -#define wxPickerBase_SetPickerCtrlProportion 2238 -#define wxPickerBase_GetTextCtrlProportion 2239 -#define wxPickerBase_GetPickerCtrlProportion 2240 -#define wxPickerBase_HasTextCtrl 2241 -#define wxPickerBase_GetTextCtrl 2242 -#define wxPickerBase_IsTextCtrlGrowable 2243 -#define wxPickerBase_SetPickerCtrlGrowable 2244 -#define wxPickerBase_SetTextCtrlGrowable 2245 -#define wxPickerBase_IsPickerCtrlGrowable 2246 -#define wxFilePickerCtrl_new_0 2247 -#define wxFilePickerCtrl_new_3 2248 -#define wxFilePickerCtrl_Create 2249 -#define wxFilePickerCtrl_GetPath 2250 -#define wxFilePickerCtrl_SetPath 2251 -#define wxFilePickerCtrl_destroy 2252 -#define wxDirPickerCtrl_new_0 2253 -#define wxDirPickerCtrl_new_3 2254 -#define wxDirPickerCtrl_Create 2255 -#define wxDirPickerCtrl_GetPath 2256 -#define wxDirPickerCtrl_SetPath 2257 -#define wxDirPickerCtrl_destroy 2258 -#define wxColourPickerCtrl_new_0 2259 -#define wxColourPickerCtrl_new_3 2260 -#define wxColourPickerCtrl_Create 2261 -#define wxColourPickerCtrl_GetColour 2262 -#define wxColourPickerCtrl_SetColour_1_1 2263 -#define wxColourPickerCtrl_SetColour_1_0 2264 -#define wxColourPickerCtrl_destroy 2265 -#define wxDatePickerCtrl_new_0 2266 -#define wxDatePickerCtrl_new_3 2267 -#define wxDatePickerCtrl_GetRange 2268 -#define wxDatePickerCtrl_GetValue 2269 -#define wxDatePickerCtrl_SetRange 2270 -#define wxDatePickerCtrl_SetValue 2271 -#define wxDatePickerCtrl_destroy 2272 -#define wxFontPickerCtrl_new_0 2273 -#define wxFontPickerCtrl_new_3 2274 -#define wxFontPickerCtrl_Create 2275 -#define wxFontPickerCtrl_GetSelectedFont 2276 -#define wxFontPickerCtrl_SetSelectedFont 2277 -#define wxFontPickerCtrl_GetMaxPointSize 2278 -#define wxFontPickerCtrl_SetMaxPointSize 2279 -#define wxFontPickerCtrl_destroy 2280 -#define wxFindReplaceDialog_new_0 2283 -#define wxFindReplaceDialog_new_4 2284 -#define wxFindReplaceDialog_destruct 2285 -#define wxFindReplaceDialog_Create 2286 -#define wxFindReplaceDialog_GetData 2287 -#define wxFindReplaceData_new_0 2288 -#define wxFindReplaceData_new_1 2289 -#define wxFindReplaceData_GetFindString 2290 -#define wxFindReplaceData_GetReplaceString 2291 -#define wxFindReplaceData_GetFlags 2292 -#define wxFindReplaceData_SetFlags 2293 -#define wxFindReplaceData_SetFindString 2294 -#define wxFindReplaceData_SetReplaceString 2295 -#define wxFindReplaceData_destroy 2296 -#define wxMultiChoiceDialog_new_0 2297 -#define wxMultiChoiceDialog_new_5 2299 -#define wxMultiChoiceDialog_GetSelections 2300 -#define wxMultiChoiceDialog_SetSelections 2301 -#define wxMultiChoiceDialog_destroy 2302 -#define wxSingleChoiceDialog_new_0 2303 -#define wxSingleChoiceDialog_new_5 2305 -#define wxSingleChoiceDialog_GetSelection 2306 -#define wxSingleChoiceDialog_GetStringSelection 2307 -#define wxSingleChoiceDialog_SetSelection 2308 -#define wxSingleChoiceDialog_destroy 2309 -#define wxTextEntryDialog_new 2310 -#define wxTextEntryDialog_GetValue 2311 -#define wxTextEntryDialog_SetValue 2312 -#define wxTextEntryDialog_destroy 2313 -#define wxPasswordEntryDialog_new 2314 -#define wxPasswordEntryDialog_destroy 2315 -#define wxFontData_new_0 2316 -#define wxFontData_new_1 2317 -#define wxFontData_destruct 2318 -#define wxFontData_EnableEffects 2319 -#define wxFontData_GetAllowSymbols 2320 -#define wxFontData_GetColour 2321 -#define wxFontData_GetChosenFont 2322 -#define wxFontData_GetEnableEffects 2323 -#define wxFontData_GetInitialFont 2324 -#define wxFontData_GetShowHelp 2325 -#define wxFontData_SetAllowSymbols 2326 -#define wxFontData_SetChosenFont 2327 -#define wxFontData_SetColour 2328 -#define wxFontData_SetInitialFont 2329 -#define wxFontData_SetRange 2330 -#define wxFontData_SetShowHelp 2331 -#define wxFontDialog_new_0 2335 -#define wxFontDialog_new_2 2337 -#define wxFontDialog_Create 2339 -#define wxFontDialog_GetFontData 2340 -#define wxFontDialog_destroy 2342 -#define wxProgressDialog_new 2343 -#define wxProgressDialog_destruct 2344 -#define wxProgressDialog_Resume 2345 -#define wxProgressDialog_Update_2 2346 -#define wxProgressDialog_Update_0 2347 -#define wxMessageDialog_new 2348 -#define wxMessageDialog_destruct 2349 -#define wxPageSetupDialog_new 2350 -#define wxPageSetupDialog_destruct 2351 -#define wxPageSetupDialog_GetPageSetupData 2352 -#define wxPageSetupDialog_ShowModal 2353 -#define wxPageSetupDialogData_new_0 2354 -#define wxPageSetupDialogData_new_1_0 2355 -#define wxPageSetupDialogData_new_1_1 2356 -#define wxPageSetupDialogData_destruct 2357 -#define wxPageSetupDialogData_EnableHelp 2358 -#define wxPageSetupDialogData_EnableMargins 2359 -#define wxPageSetupDialogData_EnableOrientation 2360 -#define wxPageSetupDialogData_EnablePaper 2361 -#define wxPageSetupDialogData_EnablePrinter 2362 -#define wxPageSetupDialogData_GetDefaultMinMargins 2363 -#define wxPageSetupDialogData_GetEnableMargins 2364 -#define wxPageSetupDialogData_GetEnableOrientation 2365 -#define wxPageSetupDialogData_GetEnablePaper 2366 -#define wxPageSetupDialogData_GetEnablePrinter 2367 -#define wxPageSetupDialogData_GetEnableHelp 2368 -#define wxPageSetupDialogData_GetDefaultInfo 2369 -#define wxPageSetupDialogData_GetMarginTopLeft 2370 -#define wxPageSetupDialogData_GetMarginBottomRight 2371 -#define wxPageSetupDialogData_GetMinMarginTopLeft 2372 -#define wxPageSetupDialogData_GetMinMarginBottomRight 2373 -#define wxPageSetupDialogData_GetPaperId 2374 -#define wxPageSetupDialogData_GetPaperSize 2375 -#define wxPageSetupDialogData_GetPrintData 2377 -#define wxPageSetupDialogData_IsOk 2378 -#define wxPageSetupDialogData_SetDefaultInfo 2379 -#define wxPageSetupDialogData_SetDefaultMinMargins 2380 -#define wxPageSetupDialogData_SetMarginTopLeft 2381 -#define wxPageSetupDialogData_SetMarginBottomRight 2382 -#define wxPageSetupDialogData_SetMinMarginTopLeft 2383 -#define wxPageSetupDialogData_SetMinMarginBottomRight 2384 -#define wxPageSetupDialogData_SetPaperId 2385 -#define wxPageSetupDialogData_SetPaperSize_1_1 2386 -#define wxPageSetupDialogData_SetPaperSize_1_0 2387 -#define wxPageSetupDialogData_SetPrintData 2388 -#define wxPrintDialog_new_2_0 2389 -#define wxPrintDialog_new_2_1 2390 -#define wxPrintDialog_destruct 2391 -#define wxPrintDialog_GetPrintDialogData 2392 -#define wxPrintDialog_GetPrintDC 2393 -#define wxPrintDialogData_new_0 2394 -#define wxPrintDialogData_new_1_1 2395 -#define wxPrintDialogData_new_1_0 2396 -#define wxPrintDialogData_destruct 2397 -#define wxPrintDialogData_EnableHelp 2398 -#define wxPrintDialogData_EnablePageNumbers 2399 -#define wxPrintDialogData_EnablePrintToFile 2400 -#define wxPrintDialogData_EnableSelection 2401 -#define wxPrintDialogData_GetAllPages 2402 -#define wxPrintDialogData_GetCollate 2403 -#define wxPrintDialogData_GetFromPage 2404 -#define wxPrintDialogData_GetMaxPage 2405 -#define wxPrintDialogData_GetMinPage 2406 -#define wxPrintDialogData_GetNoCopies 2407 -#define wxPrintDialogData_GetPrintData 2408 -#define wxPrintDialogData_GetPrintToFile 2409 -#define wxPrintDialogData_GetSelection 2410 -#define wxPrintDialogData_GetToPage 2411 -#define wxPrintDialogData_IsOk 2412 -#define wxPrintDialogData_SetCollate 2413 -#define wxPrintDialogData_SetFromPage 2414 -#define wxPrintDialogData_SetMaxPage 2415 -#define wxPrintDialogData_SetMinPage 2416 -#define wxPrintDialogData_SetNoCopies 2417 -#define wxPrintDialogData_SetPrintData 2418 -#define wxPrintDialogData_SetPrintToFile 2419 -#define wxPrintDialogData_SetSelection 2420 -#define wxPrintDialogData_SetToPage 2421 -#define wxPrintData_new_0 2422 -#define wxPrintData_new_1 2423 -#define wxPrintData_destruct 2424 -#define wxPrintData_GetCollate 2425 -#define wxPrintData_GetBin 2426 -#define wxPrintData_GetColour 2427 -#define wxPrintData_GetDuplex 2428 -#define wxPrintData_GetNoCopies 2429 -#define wxPrintData_GetOrientation 2430 -#define wxPrintData_GetPaperId 2431 -#define wxPrintData_GetPrinterName 2432 -#define wxPrintData_GetQuality 2433 -#define wxPrintData_IsOk 2434 -#define wxPrintData_SetBin 2435 -#define wxPrintData_SetCollate 2436 -#define wxPrintData_SetColour 2437 -#define wxPrintData_SetDuplex 2438 -#define wxPrintData_SetNoCopies 2439 -#define wxPrintData_SetOrientation 2440 -#define wxPrintData_SetPaperId 2441 -#define wxPrintData_SetPrinterName 2442 -#define wxPrintData_SetQuality 2443 -#define wxPrintPreview_new_2 2446 -#define wxPrintPreview_new_3 2447 -#define wxPrintPreview_destruct 2449 -#define wxPrintPreview_GetCanvas 2450 -#define wxPrintPreview_GetCurrentPage 2451 -#define wxPrintPreview_GetFrame 2452 -#define wxPrintPreview_GetMaxPage 2453 -#define wxPrintPreview_GetMinPage 2454 -#define wxPrintPreview_GetPrintout 2455 -#define wxPrintPreview_GetPrintoutForPrinting 2456 -#define wxPrintPreview_IsOk 2457 -#define wxPrintPreview_PaintPage 2458 -#define wxPrintPreview_Print 2459 -#define wxPrintPreview_RenderPage 2460 -#define wxPrintPreview_SetCanvas 2461 -#define wxPrintPreview_SetCurrentPage 2462 -#define wxPrintPreview_SetFrame 2463 -#define wxPrintPreview_SetPrintout 2464 -#define wxPrintPreview_SetZoom 2465 -#define wxPreviewFrame_new 2466 -#define wxPreviewFrame_destruct 2467 -#define wxPreviewFrame_CreateControlBar 2468 -#define wxPreviewFrame_CreateCanvas 2469 -#define wxPreviewFrame_Initialize 2470 -#define wxPreviewFrame_OnCloseWindow 2471 -#define wxPreviewControlBar_new 2472 -#define wxPreviewControlBar_destruct 2473 -#define wxPreviewControlBar_CreateButtons 2474 -#define wxPreviewControlBar_GetPrintPreview 2475 -#define wxPreviewControlBar_GetZoomControl 2476 -#define wxPreviewControlBar_SetZoomControl 2477 -#define wxPrinter_new 2479 -#define wxPrinter_CreateAbortWindow 2480 -#define wxPrinter_GetAbort 2481 -#define wxPrinter_GetLastError 2482 -#define wxPrinter_GetPrintDialogData 2483 -#define wxPrinter_Print 2484 -#define wxPrinter_PrintDialog 2485 -#define wxPrinter_ReportError 2486 -#define wxPrinter_Setup 2487 -#define wxPrinter_destroy 2488 -#define wxXmlResource_new_1 2489 -#define wxXmlResource_new_2 2490 -#define wxXmlResource_destruct 2491 -#define wxXmlResource_AttachUnknownControl 2492 -#define wxXmlResource_ClearHandlers 2493 -#define wxXmlResource_CompareVersion 2494 -#define wxXmlResource_Get 2495 -#define wxXmlResource_GetFlags 2496 -#define wxXmlResource_GetVersion 2497 -#define wxXmlResource_GetXRCID 2498 -#define wxXmlResource_InitAllHandlers 2499 -#define wxXmlResource_Load 2500 -#define wxXmlResource_LoadBitmap 2501 -#define wxXmlResource_LoadDialog_2 2502 -#define wxXmlResource_LoadDialog_3 2503 -#define wxXmlResource_LoadFrame_2 2504 -#define wxXmlResource_LoadFrame_3 2505 -#define wxXmlResource_LoadIcon 2506 -#define wxXmlResource_LoadMenu 2507 -#define wxXmlResource_LoadMenuBar_2 2508 -#define wxXmlResource_LoadMenuBar_1 2509 -#define wxXmlResource_LoadPanel_2 2510 -#define wxXmlResource_LoadPanel_3 2511 -#define wxXmlResource_LoadToolBar 2512 -#define wxXmlResource_Set 2513 -#define wxXmlResource_SetFlags 2514 -#define wxXmlResource_Unload 2515 -#define wxXmlResource_xrcctrl 2516 -#define wxHtmlEasyPrinting_new 2517 -#define wxHtmlEasyPrinting_destruct 2518 -#define wxHtmlEasyPrinting_GetPrintData 2519 -#define wxHtmlEasyPrinting_GetPageSetupData 2520 -#define wxHtmlEasyPrinting_PreviewFile 2521 -#define wxHtmlEasyPrinting_PreviewText 2522 -#define wxHtmlEasyPrinting_PrintFile 2523 -#define wxHtmlEasyPrinting_PrintText 2524 -#define wxHtmlEasyPrinting_PageSetup 2525 -#define wxHtmlEasyPrinting_SetFonts 2526 -#define wxHtmlEasyPrinting_SetHeader 2527 -#define wxHtmlEasyPrinting_SetFooter 2528 -#define wxGLCanvas_new_2 2530 -#define wxGLCanvas_new_3_1 2531 -#define wxGLCanvas_new_3_0 2532 -#define wxGLCanvas_GetContext 2533 -#define wxGLCanvas_SetCurrent 2535 -#define wxGLCanvas_SwapBuffers 2536 -#define wxGLCanvas_destroy 2537 -#define wxAuiManager_new 2538 -#define wxAuiManager_destruct 2539 -#define wxAuiManager_AddPane_2_1 2540 -#define wxAuiManager_AddPane_3 2541 -#define wxAuiManager_AddPane_2_0 2542 -#define wxAuiManager_DetachPane 2543 -#define wxAuiManager_GetAllPanes 2544 -#define wxAuiManager_GetArtProvider 2545 -#define wxAuiManager_GetDockSizeConstraint 2546 -#define wxAuiManager_GetFlags 2547 -#define wxAuiManager_GetManagedWindow 2548 -#define wxAuiManager_GetManager 2549 -#define wxAuiManager_GetPane_1_1 2550 -#define wxAuiManager_GetPane_1_0 2551 -#define wxAuiManager_HideHint 2552 -#define wxAuiManager_InsertPane 2553 -#define wxAuiManager_LoadPaneInfo 2554 -#define wxAuiManager_LoadPerspective 2555 -#define wxAuiManager_SavePaneInfo 2556 -#define wxAuiManager_SavePerspective 2557 -#define wxAuiManager_SetArtProvider 2558 -#define wxAuiManager_SetDockSizeConstraint 2559 -#define wxAuiManager_SetFlags 2560 -#define wxAuiManager_SetManagedWindow 2561 -#define wxAuiManager_ShowHint 2562 -#define wxAuiManager_UnInit 2563 -#define wxAuiManager_Update 2564 -#define wxAuiPaneInfo_new_0 2565 -#define wxAuiPaneInfo_new_1 2566 -#define wxAuiPaneInfo_destruct 2567 -#define wxAuiPaneInfo_BestSize_1 2568 -#define wxAuiPaneInfo_BestSize_2 2569 -#define wxAuiPaneInfo_Bottom 2570 -#define wxAuiPaneInfo_BottomDockable 2571 -#define wxAuiPaneInfo_Caption 2572 -#define wxAuiPaneInfo_CaptionVisible 2573 -#define wxAuiPaneInfo_Centre 2574 -#define wxAuiPaneInfo_CentrePane 2575 -#define wxAuiPaneInfo_CloseButton 2576 -#define wxAuiPaneInfo_DefaultPane 2577 -#define wxAuiPaneInfo_DestroyOnClose 2578 -#define wxAuiPaneInfo_Direction 2579 -#define wxAuiPaneInfo_Dock 2580 -#define wxAuiPaneInfo_Dockable 2581 -#define wxAuiPaneInfo_Fixed 2582 -#define wxAuiPaneInfo_Float 2583 -#define wxAuiPaneInfo_Floatable 2584 -#define wxAuiPaneInfo_FloatingPosition_1 2585 -#define wxAuiPaneInfo_FloatingPosition_2 2586 -#define wxAuiPaneInfo_FloatingSize_1 2587 -#define wxAuiPaneInfo_FloatingSize_2 2588 -#define wxAuiPaneInfo_Gripper 2589 -#define wxAuiPaneInfo_GripperTop 2590 -#define wxAuiPaneInfo_HasBorder 2591 -#define wxAuiPaneInfo_HasCaption 2592 -#define wxAuiPaneInfo_HasCloseButton 2593 -#define wxAuiPaneInfo_HasFlag 2594 -#define wxAuiPaneInfo_HasGripper 2595 -#define wxAuiPaneInfo_HasGripperTop 2596 -#define wxAuiPaneInfo_HasMaximizeButton 2597 -#define wxAuiPaneInfo_HasMinimizeButton 2598 -#define wxAuiPaneInfo_HasPinButton 2599 -#define wxAuiPaneInfo_Hide 2600 -#define wxAuiPaneInfo_IsBottomDockable 2601 -#define wxAuiPaneInfo_IsDocked 2602 -#define wxAuiPaneInfo_IsFixed 2603 -#define wxAuiPaneInfo_IsFloatable 2604 -#define wxAuiPaneInfo_IsFloating 2605 -#define wxAuiPaneInfo_IsLeftDockable 2606 -#define wxAuiPaneInfo_IsMovable 2607 -#define wxAuiPaneInfo_IsOk 2608 -#define wxAuiPaneInfo_IsResizable 2609 -#define wxAuiPaneInfo_IsRightDockable 2610 -#define wxAuiPaneInfo_IsShown 2611 -#define wxAuiPaneInfo_IsToolbar 2612 -#define wxAuiPaneInfo_IsTopDockable 2613 -#define wxAuiPaneInfo_Layer 2614 -#define wxAuiPaneInfo_Left 2615 -#define wxAuiPaneInfo_LeftDockable 2616 -#define wxAuiPaneInfo_MaxSize_1 2617 -#define wxAuiPaneInfo_MaxSize_2 2618 -#define wxAuiPaneInfo_MaximizeButton 2619 -#define wxAuiPaneInfo_MinSize_1 2620 -#define wxAuiPaneInfo_MinSize_2 2621 -#define wxAuiPaneInfo_MinimizeButton 2622 -#define wxAuiPaneInfo_Movable 2623 -#define wxAuiPaneInfo_Name 2624 -#define wxAuiPaneInfo_PaneBorder 2625 -#define wxAuiPaneInfo_PinButton 2626 -#define wxAuiPaneInfo_Position 2627 -#define wxAuiPaneInfo_Resizable 2628 -#define wxAuiPaneInfo_Right 2629 -#define wxAuiPaneInfo_RightDockable 2630 -#define wxAuiPaneInfo_Row 2631 -#define wxAuiPaneInfo_SafeSet 2632 -#define wxAuiPaneInfo_SetFlag 2633 -#define wxAuiPaneInfo_Show 2634 -#define wxAuiPaneInfo_ToolbarPane 2635 -#define wxAuiPaneInfo_Top 2636 -#define wxAuiPaneInfo_TopDockable 2637 -#define wxAuiPaneInfo_Window 2638 -#define wxAuiNotebook_new_0 2639 -#define wxAuiNotebook_new_2 2640 -#define wxAuiNotebook_AddPage 2641 -#define wxAuiNotebook_Create 2642 -#define wxAuiNotebook_DeletePage 2643 -#define wxAuiNotebook_GetArtProvider 2644 -#define wxAuiNotebook_GetPage 2645 -#define wxAuiNotebook_GetPageBitmap 2646 -#define wxAuiNotebook_GetPageCount 2647 -#define wxAuiNotebook_GetPageIndex 2648 -#define wxAuiNotebook_GetPageText 2649 -#define wxAuiNotebook_GetSelection 2650 -#define wxAuiNotebook_InsertPage 2651 -#define wxAuiNotebook_RemovePage 2652 -#define wxAuiNotebook_SetArtProvider 2653 -#define wxAuiNotebook_SetFont 2654 -#define wxAuiNotebook_SetPageBitmap 2655 -#define wxAuiNotebook_SetPageText 2656 -#define wxAuiNotebook_SetSelection 2657 -#define wxAuiNotebook_SetTabCtrlHeight 2658 -#define wxAuiNotebook_SetUniformBitmapSize 2659 -#define wxAuiNotebook_destroy 2660 -#define wxMDIParentFrame_new_0 2661 -#define wxMDIParentFrame_new_4 2662 -#define wxMDIParentFrame_destruct 2663 -#define wxMDIParentFrame_ActivateNext 2664 -#define wxMDIParentFrame_ActivatePrevious 2665 -#define wxMDIParentFrame_ArrangeIcons 2666 -#define wxMDIParentFrame_Cascade 2667 -#define wxMDIParentFrame_Create 2668 -#define wxMDIParentFrame_GetActiveChild 2669 -#define wxMDIParentFrame_GetClientWindow 2670 -#define wxMDIParentFrame_Tile 2671 -#define wxMDIChildFrame_new_0 2672 -#define wxMDIChildFrame_new_4 2673 -#define wxMDIChildFrame_destruct 2674 -#define wxMDIChildFrame_Activate 2675 -#define wxMDIChildFrame_Create 2676 -#define wxMDIChildFrame_Maximize 2677 -#define wxMDIChildFrame_Restore 2678 -#define wxMDIClientWindow_new_0 2679 -#define wxMDIClientWindow_new_2 2680 -#define wxMDIClientWindow_destruct 2681 -#define wxMDIClientWindow_CreateClient 2682 -#define wxLayoutAlgorithm_new 2683 -#define wxLayoutAlgorithm_LayoutFrame 2684 -#define wxLayoutAlgorithm_LayoutMDIFrame 2685 -#define wxLayoutAlgorithm_LayoutWindow 2686 -#define wxLayoutAlgorithm_destroy 2687 -#define wxEvent_GetId 2688 -#define wxEvent_GetSkipped 2689 -#define wxEvent_GetTimestamp 2690 -#define wxEvent_IsCommandEvent 2691 -#define wxEvent_ResumePropagation 2692 -#define wxEvent_ShouldPropagate 2693 -#define wxEvent_Skip 2694 -#define wxEvent_StopPropagation 2695 -#define wxCommandEvent_getClientData 2696 -#define wxCommandEvent_GetExtraLong 2697 -#define wxCommandEvent_GetInt 2698 -#define wxCommandEvent_GetSelection 2699 -#define wxCommandEvent_GetString 2700 -#define wxCommandEvent_IsChecked 2701 -#define wxCommandEvent_IsSelection 2702 -#define wxCommandEvent_SetInt 2703 -#define wxCommandEvent_SetString 2704 -#define wxScrollEvent_GetOrientation 2705 -#define wxScrollEvent_GetPosition 2706 -#define wxScrollWinEvent_GetOrientation 2707 -#define wxScrollWinEvent_GetPosition 2708 -#define wxMouseEvent_AltDown 2709 -#define wxMouseEvent_Button 2710 -#define wxMouseEvent_ButtonDClick 2711 -#define wxMouseEvent_ButtonDown 2712 -#define wxMouseEvent_ButtonUp 2713 -#define wxMouseEvent_CmdDown 2714 -#define wxMouseEvent_ControlDown 2715 -#define wxMouseEvent_Dragging 2716 -#define wxMouseEvent_Entering 2717 -#define wxMouseEvent_GetButton 2718 -#define wxMouseEvent_GetPosition 2721 -#define wxMouseEvent_GetLogicalPosition 2722 -#define wxMouseEvent_GetLinesPerAction 2723 -#define wxMouseEvent_GetWheelRotation 2724 -#define wxMouseEvent_GetWheelDelta 2725 -#define wxMouseEvent_GetX 2726 -#define wxMouseEvent_GetY 2727 -#define wxMouseEvent_IsButton 2728 -#define wxMouseEvent_IsPageScroll 2729 -#define wxMouseEvent_Leaving 2730 -#define wxMouseEvent_LeftDClick 2731 -#define wxMouseEvent_LeftDown 2732 -#define wxMouseEvent_LeftIsDown 2733 -#define wxMouseEvent_LeftUp 2734 -#define wxMouseEvent_MetaDown 2735 -#define wxMouseEvent_MiddleDClick 2736 -#define wxMouseEvent_MiddleDown 2737 -#define wxMouseEvent_MiddleIsDown 2738 -#define wxMouseEvent_MiddleUp 2739 -#define wxMouseEvent_Moving 2740 -#define wxMouseEvent_RightDClick 2741 -#define wxMouseEvent_RightDown 2742 -#define wxMouseEvent_RightIsDown 2743 -#define wxMouseEvent_RightUp 2744 -#define wxMouseEvent_ShiftDown 2745 -#define wxSetCursorEvent_GetCursor 2746 -#define wxSetCursorEvent_GetX 2747 -#define wxSetCursorEvent_GetY 2748 -#define wxSetCursorEvent_HasCursor 2749 -#define wxSetCursorEvent_SetCursor 2750 -#define wxKeyEvent_AltDown 2751 -#define wxKeyEvent_CmdDown 2752 -#define wxKeyEvent_ControlDown 2753 -#define wxKeyEvent_GetKeyCode 2754 -#define wxKeyEvent_GetModifiers 2755 -#define wxKeyEvent_GetPosition 2758 -#define wxKeyEvent_GetRawKeyCode 2759 -#define wxKeyEvent_GetRawKeyFlags 2760 -#define wxKeyEvent_GetUnicodeKey 2761 -#define wxKeyEvent_GetX 2762 -#define wxKeyEvent_GetY 2763 -#define wxKeyEvent_HasModifiers 2764 -#define wxKeyEvent_MetaDown 2765 -#define wxKeyEvent_ShiftDown 2766 -#define wxSizeEvent_GetSize 2767 -#define wxMoveEvent_GetPosition 2768 -#define wxEraseEvent_GetDC 2769 -#define wxFocusEvent_GetWindow 2770 -#define wxChildFocusEvent_GetWindow 2771 -#define wxMenuEvent_GetMenu 2772 -#define wxMenuEvent_GetMenuId 2773 -#define wxMenuEvent_IsPopup 2774 -#define wxCloseEvent_CanVeto 2775 -#define wxCloseEvent_GetLoggingOff 2776 -#define wxCloseEvent_SetCanVeto 2777 -#define wxCloseEvent_SetLoggingOff 2778 -#define wxCloseEvent_Veto 2779 -#define wxShowEvent_SetShow 2780 -#define wxShowEvent_GetShow 2781 -#define wxIconizeEvent_Iconized 2782 -#define wxJoystickEvent_ButtonDown 2783 -#define wxJoystickEvent_ButtonIsDown 2784 -#define wxJoystickEvent_ButtonUp 2785 -#define wxJoystickEvent_GetButtonChange 2786 -#define wxJoystickEvent_GetButtonState 2787 -#define wxJoystickEvent_GetJoystick 2788 -#define wxJoystickEvent_GetPosition 2789 -#define wxJoystickEvent_GetZPosition 2790 -#define wxJoystickEvent_IsButton 2791 -#define wxJoystickEvent_IsMove 2792 -#define wxJoystickEvent_IsZMove 2793 -#define wxUpdateUIEvent_CanUpdate 2794 -#define wxUpdateUIEvent_Check 2795 -#define wxUpdateUIEvent_Enable 2796 -#define wxUpdateUIEvent_Show 2797 -#define wxUpdateUIEvent_GetChecked 2798 -#define wxUpdateUIEvent_GetEnabled 2799 -#define wxUpdateUIEvent_GetShown 2800 -#define wxUpdateUIEvent_GetSetChecked 2801 -#define wxUpdateUIEvent_GetSetEnabled 2802 -#define wxUpdateUIEvent_GetSetShown 2803 -#define wxUpdateUIEvent_GetSetText 2804 -#define wxUpdateUIEvent_GetText 2805 -#define wxUpdateUIEvent_GetMode 2806 -#define wxUpdateUIEvent_GetUpdateInterval 2807 -#define wxUpdateUIEvent_ResetUpdateTime 2808 -#define wxUpdateUIEvent_SetMode 2809 -#define wxUpdateUIEvent_SetText 2810 -#define wxUpdateUIEvent_SetUpdateInterval 2811 -#define wxMouseCaptureChangedEvent_GetCapturedWindow 2812 -#define wxPaletteChangedEvent_SetChangedWindow 2813 -#define wxPaletteChangedEvent_GetChangedWindow 2814 -#define wxQueryNewPaletteEvent_SetPaletteRealized 2815 -#define wxQueryNewPaletteEvent_GetPaletteRealized 2816 -#define wxNavigationKeyEvent_GetDirection 2817 -#define wxNavigationKeyEvent_SetDirection 2818 -#define wxNavigationKeyEvent_IsWindowChange 2819 -#define wxNavigationKeyEvent_SetWindowChange 2820 -#define wxNavigationKeyEvent_IsFromTab 2821 -#define wxNavigationKeyEvent_SetFromTab 2822 -#define wxNavigationKeyEvent_GetCurrentFocus 2823 -#define wxNavigationKeyEvent_SetCurrentFocus 2824 -#define wxHelpEvent_GetOrigin 2825 -#define wxHelpEvent_GetPosition 2826 -#define wxHelpEvent_SetOrigin 2827 -#define wxHelpEvent_SetPosition 2828 -#define wxContextMenuEvent_GetPosition 2829 -#define wxContextMenuEvent_SetPosition 2830 -#define wxIdleEvent_CanSend 2831 -#define wxIdleEvent_GetMode 2832 -#define wxIdleEvent_RequestMore 2833 -#define wxIdleEvent_MoreRequested 2834 -#define wxIdleEvent_SetMode 2835 -#define wxGridEvent_AltDown 2836 -#define wxGridEvent_ControlDown 2837 -#define wxGridEvent_GetCol 2838 -#define wxGridEvent_GetPosition 2839 -#define wxGridEvent_GetRow 2840 -#define wxGridEvent_MetaDown 2841 -#define wxGridEvent_Selecting 2842 -#define wxGridEvent_ShiftDown 2843 -#define wxNotifyEvent_Allow 2844 -#define wxNotifyEvent_IsAllowed 2845 -#define wxNotifyEvent_Veto 2846 -#define wxSashEvent_GetEdge 2847 -#define wxSashEvent_GetDragRect 2848 -#define wxSashEvent_GetDragStatus 2849 -#define wxListEvent_GetCacheFrom 2850 -#define wxListEvent_GetCacheTo 2851 -#define wxListEvent_GetKeyCode 2852 -#define wxListEvent_GetIndex 2853 -#define wxListEvent_GetColumn 2854 -#define wxListEvent_GetPoint 2855 -#define wxListEvent_GetLabel 2856 -#define wxListEvent_GetText 2857 -#define wxListEvent_GetImage 2858 -#define wxListEvent_GetData 2859 -#define wxListEvent_GetMask 2860 -#define wxListEvent_GetItem 2861 -#define wxListEvent_IsEditCancelled 2862 -#define wxDateEvent_GetDate 2863 -#define wxCalendarEvent_GetWeekDay 2864 -#define wxFileDirPickerEvent_GetPath 2865 -#define wxColourPickerEvent_GetColour 2866 -#define wxFontPickerEvent_GetFont 2867 -#define wxStyledTextEvent_GetPosition 2868 -#define wxStyledTextEvent_GetKey 2869 -#define wxStyledTextEvent_GetModifiers 2870 -#define wxStyledTextEvent_GetModificationType 2871 -#define wxStyledTextEvent_GetText 2872 -#define wxStyledTextEvent_GetLength 2873 -#define wxStyledTextEvent_GetLinesAdded 2874 -#define wxStyledTextEvent_GetLine 2875 -#define wxStyledTextEvent_GetFoldLevelNow 2876 -#define wxStyledTextEvent_GetFoldLevelPrev 2877 -#define wxStyledTextEvent_GetMargin 2878 -#define wxStyledTextEvent_GetMessage 2879 -#define wxStyledTextEvent_GetWParam 2880 -#define wxStyledTextEvent_GetLParam 2881 -#define wxStyledTextEvent_GetListType 2882 -#define wxStyledTextEvent_GetX 2883 -#define wxStyledTextEvent_GetY 2884 -#define wxStyledTextEvent_GetDragText 2885 -#define wxStyledTextEvent_GetDragAllowMove 2886 -#define wxStyledTextEvent_GetDragResult 2887 -#define wxStyledTextEvent_GetShift 2888 -#define wxStyledTextEvent_GetControl 2889 -#define wxStyledTextEvent_GetAlt 2890 -#define utils_wxGetKeyState 2891 -#define utils_wxGetMousePosition 2892 -#define utils_wxGetMouseState 2893 -#define utils_wxSetDetectableAutoRepeat 2894 -#define utils_wxBell 2895 -#define utils_wxFindMenuItemId 2896 -#define utils_wxGenericFindWindowAtPoint 2897 -#define utils_wxFindWindowAtPoint 2898 -#define utils_wxBeginBusyCursor 2899 -#define utils_wxEndBusyCursor 2900 -#define utils_wxIsBusy 2901 -#define utils_wxShutdown 2902 -#define utils_wxShell 2903 -#define utils_wxLaunchDefaultBrowser 2904 -#define utils_wxGetEmailAddress 2905 -#define utils_wxGetUserId 2906 -#define utils_wxGetHomeDir 2907 -#define utils_wxNewId 2908 -#define utils_wxRegisterId 2909 -#define utils_wxGetCurrentId 2910 -#define utils_wxGetOsDescription 2911 -#define utils_wxIsPlatformLittleEndian 2912 -#define utils_wxIsPlatform64Bit 2913 -#define wxPrintout_new 2914 -#define wxPrintout_destruct 2915 -#define wxPrintout_GetDC 2916 -#define wxPrintout_GetPageSizeMM 2917 -#define wxPrintout_GetPageSizePixels 2918 -#define wxPrintout_GetPaperRectPixels 2919 -#define wxPrintout_GetPPIPrinter 2920 -#define wxPrintout_GetPPIScreen 2921 -#define wxPrintout_GetTitle 2922 -#define wxPrintout_IsPreview 2923 -#define wxPrintout_FitThisSizeToPaper 2924 -#define wxPrintout_FitThisSizeToPage 2925 -#define wxPrintout_FitThisSizeToPageMargins 2926 -#define wxPrintout_MapScreenSizeToPaper 2927 -#define wxPrintout_MapScreenSizeToPage 2928 -#define wxPrintout_MapScreenSizeToPageMargins 2929 -#define wxPrintout_MapScreenSizeToDevice 2930 -#define wxPrintout_GetLogicalPaperRect 2931 -#define wxPrintout_GetLogicalPageRect 2932 -#define wxPrintout_GetLogicalPageMarginsRect 2933 -#define wxPrintout_SetLogicalOrigin 2934 -#define wxPrintout_OffsetLogicalOrigin 2935 -#define wxStyledTextCtrl_new_2 2936 -#define wxStyledTextCtrl_new_0 2937 -#define wxStyledTextCtrl_destruct 2938 -#define wxStyledTextCtrl_Create 2939 -#define wxStyledTextCtrl_AddText 2940 -#define wxStyledTextCtrl_AddStyledText 2941 -#define wxStyledTextCtrl_InsertText 2942 -#define wxStyledTextCtrl_ClearAll 2943 -#define wxStyledTextCtrl_ClearDocumentStyle 2944 -#define wxStyledTextCtrl_GetLength 2945 -#define wxStyledTextCtrl_GetCharAt 2946 -#define wxStyledTextCtrl_GetCurrentPos 2947 -#define wxStyledTextCtrl_GetAnchor 2948 -#define wxStyledTextCtrl_GetStyleAt 2949 -#define wxStyledTextCtrl_Redo 2950 -#define wxStyledTextCtrl_SetUndoCollection 2951 -#define wxStyledTextCtrl_SelectAll 2952 -#define wxStyledTextCtrl_SetSavePoint 2953 -#define wxStyledTextCtrl_GetStyledText 2954 -#define wxStyledTextCtrl_CanRedo 2955 -#define wxStyledTextCtrl_MarkerLineFromHandle 2956 -#define wxStyledTextCtrl_MarkerDeleteHandle 2957 -#define wxStyledTextCtrl_GetUndoCollection 2958 -#define wxStyledTextCtrl_GetViewWhiteSpace 2959 -#define wxStyledTextCtrl_SetViewWhiteSpace 2960 -#define wxStyledTextCtrl_PositionFromPoint 2961 -#define wxStyledTextCtrl_PositionFromPointClose 2962 -#define wxStyledTextCtrl_GotoLine 2963 -#define wxStyledTextCtrl_GotoPos 2964 -#define wxStyledTextCtrl_SetAnchor 2965 -#define wxStyledTextCtrl_GetCurLine 2966 -#define wxStyledTextCtrl_GetEndStyled 2967 -#define wxStyledTextCtrl_ConvertEOLs 2968 -#define wxStyledTextCtrl_GetEOLMode 2969 -#define wxStyledTextCtrl_SetEOLMode 2970 -#define wxStyledTextCtrl_StartStyling 2971 -#define wxStyledTextCtrl_SetStyling 2972 -#define wxStyledTextCtrl_GetBufferedDraw 2973 -#define wxStyledTextCtrl_SetBufferedDraw 2974 -#define wxStyledTextCtrl_SetTabWidth 2975 -#define wxStyledTextCtrl_GetTabWidth 2976 -#define wxStyledTextCtrl_SetCodePage 2977 -#define wxStyledTextCtrl_MarkerDefine 2978 -#define wxStyledTextCtrl_MarkerSetForeground 2979 -#define wxStyledTextCtrl_MarkerSetBackground 2980 -#define wxStyledTextCtrl_MarkerAdd 2981 -#define wxStyledTextCtrl_MarkerDelete 2982 -#define wxStyledTextCtrl_MarkerDeleteAll 2983 -#define wxStyledTextCtrl_MarkerGet 2984 -#define wxStyledTextCtrl_MarkerNext 2985 -#define wxStyledTextCtrl_MarkerPrevious 2986 -#define wxStyledTextCtrl_MarkerDefineBitmap 2987 -#define wxStyledTextCtrl_MarkerAddSet 2988 -#define wxStyledTextCtrl_MarkerSetAlpha 2989 -#define wxStyledTextCtrl_SetMarginType 2990 -#define wxStyledTextCtrl_GetMarginType 2991 -#define wxStyledTextCtrl_SetMarginWidth 2992 -#define wxStyledTextCtrl_GetMarginWidth 2993 -#define wxStyledTextCtrl_SetMarginMask 2994 -#define wxStyledTextCtrl_GetMarginMask 2995 -#define wxStyledTextCtrl_SetMarginSensitive 2996 -#define wxStyledTextCtrl_GetMarginSensitive 2997 -#define wxStyledTextCtrl_StyleClearAll 2998 -#define wxStyledTextCtrl_StyleSetForeground 2999 -#define wxStyledTextCtrl_StyleSetBackground 3000 -#define wxStyledTextCtrl_StyleSetBold 3001 -#define wxStyledTextCtrl_StyleSetItalic 3002 -#define wxStyledTextCtrl_StyleSetSize 3003 -#define wxStyledTextCtrl_StyleSetFaceName 3004 -#define wxStyledTextCtrl_StyleSetEOLFilled 3005 -#define wxStyledTextCtrl_StyleResetDefault 3006 -#define wxStyledTextCtrl_StyleSetUnderline 3007 -#define wxStyledTextCtrl_StyleSetCase 3008 -#define wxStyledTextCtrl_StyleSetHotSpot 3009 -#define wxStyledTextCtrl_SetSelForeground 3010 -#define wxStyledTextCtrl_SetSelBackground 3011 -#define wxStyledTextCtrl_GetSelAlpha 3012 -#define wxStyledTextCtrl_SetSelAlpha 3013 -#define wxStyledTextCtrl_SetCaretForeground 3014 -#define wxStyledTextCtrl_CmdKeyAssign 3015 -#define wxStyledTextCtrl_CmdKeyClear 3016 -#define wxStyledTextCtrl_CmdKeyClearAll 3017 -#define wxStyledTextCtrl_SetStyleBytes 3018 -#define wxStyledTextCtrl_StyleSetVisible 3019 -#define wxStyledTextCtrl_GetCaretPeriod 3020 -#define wxStyledTextCtrl_SetCaretPeriod 3021 -#define wxStyledTextCtrl_SetWordChars 3022 -#define wxStyledTextCtrl_BeginUndoAction 3023 -#define wxStyledTextCtrl_EndUndoAction 3024 -#define wxStyledTextCtrl_IndicatorSetStyle 3025 -#define wxStyledTextCtrl_IndicatorGetStyle 3026 -#define wxStyledTextCtrl_IndicatorSetForeground 3027 -#define wxStyledTextCtrl_IndicatorGetForeground 3028 -#define wxStyledTextCtrl_SetWhitespaceForeground 3029 -#define wxStyledTextCtrl_SetWhitespaceBackground 3030 -#define wxStyledTextCtrl_GetStyleBits 3031 -#define wxStyledTextCtrl_SetLineState 3032 -#define wxStyledTextCtrl_GetLineState 3033 -#define wxStyledTextCtrl_GetMaxLineState 3034 -#define wxStyledTextCtrl_GetCaretLineVisible 3035 -#define wxStyledTextCtrl_SetCaretLineVisible 3036 -#define wxStyledTextCtrl_GetCaretLineBackground 3037 -#define wxStyledTextCtrl_SetCaretLineBackground 3038 -#define wxStyledTextCtrl_AutoCompShow 3039 -#define wxStyledTextCtrl_AutoCompCancel 3040 -#define wxStyledTextCtrl_AutoCompActive 3041 -#define wxStyledTextCtrl_AutoCompPosStart 3042 -#define wxStyledTextCtrl_AutoCompComplete 3043 -#define wxStyledTextCtrl_AutoCompStops 3044 -#define wxStyledTextCtrl_AutoCompSetSeparator 3045 -#define wxStyledTextCtrl_AutoCompGetSeparator 3046 -#define wxStyledTextCtrl_AutoCompSelect 3047 -#define wxStyledTextCtrl_AutoCompSetCancelAtStart 3048 -#define wxStyledTextCtrl_AutoCompGetCancelAtStart 3049 -#define wxStyledTextCtrl_AutoCompSetFillUps 3050 -#define wxStyledTextCtrl_AutoCompSetChooseSingle 3051 -#define wxStyledTextCtrl_AutoCompGetChooseSingle 3052 -#define wxStyledTextCtrl_AutoCompSetIgnoreCase 3053 -#define wxStyledTextCtrl_AutoCompGetIgnoreCase 3054 -#define wxStyledTextCtrl_UserListShow 3055 -#define wxStyledTextCtrl_AutoCompSetAutoHide 3056 -#define wxStyledTextCtrl_AutoCompGetAutoHide 3057 -#define wxStyledTextCtrl_AutoCompSetDropRestOfWord 3058 -#define wxStyledTextCtrl_AutoCompGetDropRestOfWord 3059 -#define wxStyledTextCtrl_RegisterImage 3060 -#define wxStyledTextCtrl_ClearRegisteredImages 3061 -#define wxStyledTextCtrl_AutoCompGetTypeSeparator 3062 -#define wxStyledTextCtrl_AutoCompSetTypeSeparator 3063 -#define wxStyledTextCtrl_AutoCompSetMaxWidth 3064 -#define wxStyledTextCtrl_AutoCompGetMaxWidth 3065 -#define wxStyledTextCtrl_AutoCompSetMaxHeight 3066 -#define wxStyledTextCtrl_AutoCompGetMaxHeight 3067 -#define wxStyledTextCtrl_SetIndent 3068 -#define wxStyledTextCtrl_GetIndent 3069 -#define wxStyledTextCtrl_SetUseTabs 3070 -#define wxStyledTextCtrl_GetUseTabs 3071 -#define wxStyledTextCtrl_SetLineIndentation 3072 -#define wxStyledTextCtrl_GetLineIndentation 3073 -#define wxStyledTextCtrl_GetLineIndentPosition 3074 -#define wxStyledTextCtrl_GetColumn 3075 -#define wxStyledTextCtrl_SetUseHorizontalScrollBar 3076 -#define wxStyledTextCtrl_GetUseHorizontalScrollBar 3077 -#define wxStyledTextCtrl_SetIndentationGuides 3078 -#define wxStyledTextCtrl_GetIndentationGuides 3079 -#define wxStyledTextCtrl_SetHighlightGuide 3080 -#define wxStyledTextCtrl_GetHighlightGuide 3081 -#define wxStyledTextCtrl_GetLineEndPosition 3082 -#define wxStyledTextCtrl_GetCodePage 3083 -#define wxStyledTextCtrl_GetCaretForeground 3084 -#define wxStyledTextCtrl_GetReadOnly 3085 -#define wxStyledTextCtrl_SetCurrentPos 3086 -#define wxStyledTextCtrl_SetSelectionStart 3087 -#define wxStyledTextCtrl_GetSelectionStart 3088 -#define wxStyledTextCtrl_SetSelectionEnd 3089 -#define wxStyledTextCtrl_GetSelectionEnd 3090 -#define wxStyledTextCtrl_SetPrintMagnification 3091 -#define wxStyledTextCtrl_GetPrintMagnification 3092 -#define wxStyledTextCtrl_SetPrintColourMode 3093 -#define wxStyledTextCtrl_GetPrintColourMode 3094 -#define wxStyledTextCtrl_FindText 3095 -#define wxStyledTextCtrl_FormatRange 3096 -#define wxStyledTextCtrl_GetFirstVisibleLine 3097 -#define wxStyledTextCtrl_GetLine 3098 -#define wxStyledTextCtrl_GetLineCount 3099 -#define wxStyledTextCtrl_SetMarginLeft 3100 -#define wxStyledTextCtrl_GetMarginLeft 3101 -#define wxStyledTextCtrl_SetMarginRight 3102 -#define wxStyledTextCtrl_GetMarginRight 3103 -#define wxStyledTextCtrl_GetModify 3104 -#define wxStyledTextCtrl_SetSelection 3105 -#define wxStyledTextCtrl_GetSelectedText 3106 -#define wxStyledTextCtrl_GetTextRange 3107 -#define wxStyledTextCtrl_HideSelection 3108 -#define wxStyledTextCtrl_LineFromPosition 3109 -#define wxStyledTextCtrl_PositionFromLine 3110 -#define wxStyledTextCtrl_LineScroll 3111 -#define wxStyledTextCtrl_EnsureCaretVisible 3112 -#define wxStyledTextCtrl_ReplaceSelection 3113 -#define wxStyledTextCtrl_SetReadOnly 3114 -#define wxStyledTextCtrl_CanPaste 3115 -#define wxStyledTextCtrl_CanUndo 3116 -#define wxStyledTextCtrl_EmptyUndoBuffer 3117 -#define wxStyledTextCtrl_Undo 3118 -#define wxStyledTextCtrl_Cut 3119 -#define wxStyledTextCtrl_Copy 3120 -#define wxStyledTextCtrl_Paste 3121 -#define wxStyledTextCtrl_Clear 3122 -#define wxStyledTextCtrl_SetText 3123 -#define wxStyledTextCtrl_GetText 3124 -#define wxStyledTextCtrl_GetTextLength 3125 -#define wxStyledTextCtrl_GetOvertype 3126 -#define wxStyledTextCtrl_SetCaretWidth 3127 -#define wxStyledTextCtrl_GetCaretWidth 3128 -#define wxStyledTextCtrl_SetTargetStart 3129 -#define wxStyledTextCtrl_GetTargetStart 3130 -#define wxStyledTextCtrl_SetTargetEnd 3131 -#define wxStyledTextCtrl_GetTargetEnd 3132 -#define wxStyledTextCtrl_ReplaceTarget 3133 -#define wxStyledTextCtrl_SearchInTarget 3134 -#define wxStyledTextCtrl_SetSearchFlags 3135 -#define wxStyledTextCtrl_GetSearchFlags 3136 -#define wxStyledTextCtrl_CallTipShow 3137 -#define wxStyledTextCtrl_CallTipCancel 3138 -#define wxStyledTextCtrl_CallTipActive 3139 -#define wxStyledTextCtrl_CallTipPosAtStart 3140 -#define wxStyledTextCtrl_CallTipSetHighlight 3141 -#define wxStyledTextCtrl_CallTipSetBackground 3142 -#define wxStyledTextCtrl_CallTipSetForeground 3143 -#define wxStyledTextCtrl_CallTipSetForegroundHighlight 3144 -#define wxStyledTextCtrl_CallTipUseStyle 3145 -#define wxStyledTextCtrl_VisibleFromDocLine 3146 -#define wxStyledTextCtrl_DocLineFromVisible 3147 -#define wxStyledTextCtrl_WrapCount 3148 -#define wxStyledTextCtrl_SetFoldLevel 3149 -#define wxStyledTextCtrl_GetFoldLevel 3150 -#define wxStyledTextCtrl_GetLastChild 3151 -#define wxStyledTextCtrl_GetFoldParent 3152 -#define wxStyledTextCtrl_ShowLines 3153 -#define wxStyledTextCtrl_HideLines 3154 -#define wxStyledTextCtrl_GetLineVisible 3155 -#define wxStyledTextCtrl_SetFoldExpanded 3156 -#define wxStyledTextCtrl_GetFoldExpanded 3157 -#define wxStyledTextCtrl_ToggleFold 3158 -#define wxStyledTextCtrl_EnsureVisible 3159 -#define wxStyledTextCtrl_SetFoldFlags 3160 -#define wxStyledTextCtrl_EnsureVisibleEnforcePolicy 3161 -#define wxStyledTextCtrl_SetTabIndents 3162 -#define wxStyledTextCtrl_GetTabIndents 3163 -#define wxStyledTextCtrl_SetBackSpaceUnIndents 3164 -#define wxStyledTextCtrl_GetBackSpaceUnIndents 3165 -#define wxStyledTextCtrl_SetMouseDwellTime 3166 -#define wxStyledTextCtrl_GetMouseDwellTime 3167 -#define wxStyledTextCtrl_WordStartPosition 3168 -#define wxStyledTextCtrl_WordEndPosition 3169 -#define wxStyledTextCtrl_SetWrapMode 3170 -#define wxStyledTextCtrl_GetWrapMode 3171 -#define wxStyledTextCtrl_SetWrapVisualFlags 3172 -#define wxStyledTextCtrl_GetWrapVisualFlags 3173 -#define wxStyledTextCtrl_SetWrapVisualFlagsLocation 3174 -#define wxStyledTextCtrl_GetWrapVisualFlagsLocation 3175 -#define wxStyledTextCtrl_SetWrapStartIndent 3176 -#define wxStyledTextCtrl_GetWrapStartIndent 3177 -#define wxStyledTextCtrl_SetLayoutCache 3178 -#define wxStyledTextCtrl_GetLayoutCache 3179 -#define wxStyledTextCtrl_SetScrollWidth 3180 -#define wxStyledTextCtrl_GetScrollWidth 3181 -#define wxStyledTextCtrl_TextWidth 3182 -#define wxStyledTextCtrl_GetEndAtLastLine 3183 -#define wxStyledTextCtrl_TextHeight 3184 -#define wxStyledTextCtrl_SetUseVerticalScrollBar 3185 -#define wxStyledTextCtrl_GetUseVerticalScrollBar 3186 -#define wxStyledTextCtrl_AppendText 3187 -#define wxStyledTextCtrl_GetTwoPhaseDraw 3188 -#define wxStyledTextCtrl_SetTwoPhaseDraw 3189 -#define wxStyledTextCtrl_TargetFromSelection 3190 -#define wxStyledTextCtrl_LinesJoin 3191 -#define wxStyledTextCtrl_LinesSplit 3192 -#define wxStyledTextCtrl_SetFoldMarginColour 3193 -#define wxStyledTextCtrl_SetFoldMarginHiColour 3194 -#define wxStyledTextCtrl_LineDown 3195 -#define wxStyledTextCtrl_LineDownExtend 3196 -#define wxStyledTextCtrl_LineUp 3197 -#define wxStyledTextCtrl_LineUpExtend 3198 -#define wxStyledTextCtrl_CharLeft 3199 -#define wxStyledTextCtrl_CharLeftExtend 3200 -#define wxStyledTextCtrl_CharRight 3201 -#define wxStyledTextCtrl_CharRightExtend 3202 -#define wxStyledTextCtrl_WordLeft 3203 -#define wxStyledTextCtrl_WordLeftExtend 3204 -#define wxStyledTextCtrl_WordRight 3205 -#define wxStyledTextCtrl_WordRightExtend 3206 -#define wxStyledTextCtrl_Home 3207 -#define wxStyledTextCtrl_HomeExtend 3208 -#define wxStyledTextCtrl_LineEnd 3209 -#define wxStyledTextCtrl_LineEndExtend 3210 -#define wxStyledTextCtrl_DocumentStart 3211 -#define wxStyledTextCtrl_DocumentStartExtend 3212 -#define wxStyledTextCtrl_DocumentEnd 3213 -#define wxStyledTextCtrl_DocumentEndExtend 3214 -#define wxStyledTextCtrl_PageUp 3215 -#define wxStyledTextCtrl_PageUpExtend 3216 -#define wxStyledTextCtrl_PageDown 3217 -#define wxStyledTextCtrl_PageDownExtend 3218 -#define wxStyledTextCtrl_EditToggleOvertype 3219 -#define wxStyledTextCtrl_Cancel 3220 -#define wxStyledTextCtrl_DeleteBack 3221 -#define wxStyledTextCtrl_Tab 3222 -#define wxStyledTextCtrl_BackTab 3223 -#define wxStyledTextCtrl_NewLine 3224 -#define wxStyledTextCtrl_FormFeed 3225 -#define wxStyledTextCtrl_VCHome 3226 -#define wxStyledTextCtrl_VCHomeExtend 3227 -#define wxStyledTextCtrl_ZoomIn 3228 -#define wxStyledTextCtrl_ZoomOut 3229 -#define wxStyledTextCtrl_DelWordLeft 3230 -#define wxStyledTextCtrl_DelWordRight 3231 -#define wxStyledTextCtrl_LineCut 3232 -#define wxStyledTextCtrl_LineDelete 3233 -#define wxStyledTextCtrl_LineTranspose 3234 -#define wxStyledTextCtrl_LineDuplicate 3235 -#define wxStyledTextCtrl_LowerCase 3236 -#define wxStyledTextCtrl_UpperCase 3237 -#define wxStyledTextCtrl_LineScrollDown 3238 -#define wxStyledTextCtrl_LineScrollUp 3239 -#define wxStyledTextCtrl_DeleteBackNotLine 3240 -#define wxStyledTextCtrl_HomeDisplay 3241 -#define wxStyledTextCtrl_HomeDisplayExtend 3242 -#define wxStyledTextCtrl_LineEndDisplay 3243 -#define wxStyledTextCtrl_LineEndDisplayExtend 3244 -#define wxStyledTextCtrl_HomeWrapExtend 3245 -#define wxStyledTextCtrl_LineEndWrap 3246 -#define wxStyledTextCtrl_LineEndWrapExtend 3247 -#define wxStyledTextCtrl_VCHomeWrap 3248 -#define wxStyledTextCtrl_VCHomeWrapExtend 3249 -#define wxStyledTextCtrl_LineCopy 3250 -#define wxStyledTextCtrl_MoveCaretInsideView 3251 -#define wxStyledTextCtrl_LineLength 3252 -#define wxStyledTextCtrl_BraceHighlight 3253 -#define wxStyledTextCtrl_BraceBadLight 3254 -#define wxStyledTextCtrl_BraceMatch 3255 -#define wxStyledTextCtrl_GetViewEOL 3256 -#define wxStyledTextCtrl_SetViewEOL 3257 -#define wxStyledTextCtrl_SetModEventMask 3258 -#define wxStyledTextCtrl_GetEdgeColumn 3259 -#define wxStyledTextCtrl_SetEdgeColumn 3260 -#define wxStyledTextCtrl_GetEdgeMode 3261 -#define wxStyledTextCtrl_GetEdgeColour 3262 -#define wxStyledTextCtrl_SetEdgeColour 3263 -#define wxStyledTextCtrl_SearchAnchor 3264 -#define wxStyledTextCtrl_SearchNext 3265 -#define wxStyledTextCtrl_SearchPrev 3266 -#define wxStyledTextCtrl_LinesOnScreen 3267 -#define wxStyledTextCtrl_UsePopUp 3268 -#define wxStyledTextCtrl_SelectionIsRectangle 3269 -#define wxStyledTextCtrl_SetZoom 3270 -#define wxStyledTextCtrl_GetZoom 3271 -#define wxStyledTextCtrl_GetModEventMask 3272 -#define wxStyledTextCtrl_SetSTCFocus 3273 -#define wxStyledTextCtrl_GetSTCFocus 3274 -#define wxStyledTextCtrl_SetStatus 3275 -#define wxStyledTextCtrl_GetStatus 3276 -#define wxStyledTextCtrl_SetMouseDownCaptures 3277 -#define wxStyledTextCtrl_GetMouseDownCaptures 3278 -#define wxStyledTextCtrl_SetSTCCursor 3279 -#define wxStyledTextCtrl_GetSTCCursor 3280 -#define wxStyledTextCtrl_SetControlCharSymbol 3281 -#define wxStyledTextCtrl_GetControlCharSymbol 3282 -#define wxStyledTextCtrl_WordPartLeft 3283 -#define wxStyledTextCtrl_WordPartLeftExtend 3284 -#define wxStyledTextCtrl_WordPartRight 3285 -#define wxStyledTextCtrl_WordPartRightExtend 3286 -#define wxStyledTextCtrl_SetVisiblePolicy 3287 -#define wxStyledTextCtrl_DelLineLeft 3288 -#define wxStyledTextCtrl_DelLineRight 3289 -#define wxStyledTextCtrl_GetXOffset 3290 -#define wxStyledTextCtrl_ChooseCaretX 3291 -#define wxStyledTextCtrl_SetXCaretPolicy 3292 -#define wxStyledTextCtrl_SetYCaretPolicy 3293 -#define wxStyledTextCtrl_GetPrintWrapMode 3294 -#define wxStyledTextCtrl_SetHotspotActiveForeground 3295 -#define wxStyledTextCtrl_SetHotspotActiveBackground 3296 -#define wxStyledTextCtrl_SetHotspotActiveUnderline 3297 -#define wxStyledTextCtrl_SetHotspotSingleLine 3298 -#define wxStyledTextCtrl_ParaDownExtend 3299 -#define wxStyledTextCtrl_ParaUp 3300 -#define wxStyledTextCtrl_ParaUpExtend 3301 -#define wxStyledTextCtrl_PositionBefore 3302 -#define wxStyledTextCtrl_PositionAfter 3303 -#define wxStyledTextCtrl_CopyRange 3304 -#define wxStyledTextCtrl_CopyText 3305 -#define wxStyledTextCtrl_SetSelectionMode 3306 -#define wxStyledTextCtrl_GetSelectionMode 3307 -#define wxStyledTextCtrl_LineDownRectExtend 3308 -#define wxStyledTextCtrl_LineUpRectExtend 3309 -#define wxStyledTextCtrl_CharLeftRectExtend 3310 -#define wxStyledTextCtrl_CharRightRectExtend 3311 -#define wxStyledTextCtrl_HomeRectExtend 3312 -#define wxStyledTextCtrl_VCHomeRectExtend 3313 -#define wxStyledTextCtrl_LineEndRectExtend 3314 -#define wxStyledTextCtrl_PageUpRectExtend 3315 -#define wxStyledTextCtrl_PageDownRectExtend 3316 -#define wxStyledTextCtrl_StutteredPageUp 3317 -#define wxStyledTextCtrl_StutteredPageUpExtend 3318 -#define wxStyledTextCtrl_StutteredPageDown 3319 -#define wxStyledTextCtrl_StutteredPageDownExtend 3320 -#define wxStyledTextCtrl_WordLeftEnd 3321 -#define wxStyledTextCtrl_WordLeftEndExtend 3322 -#define wxStyledTextCtrl_WordRightEnd 3323 -#define wxStyledTextCtrl_WordRightEndExtend 3324 -#define wxStyledTextCtrl_SetWhitespaceChars 3325 -#define wxStyledTextCtrl_SetCharsDefault 3326 -#define wxStyledTextCtrl_AutoCompGetCurrent 3327 -#define wxStyledTextCtrl_Allocate 3328 -#define wxStyledTextCtrl_FindColumn 3329 -#define wxStyledTextCtrl_GetCaretSticky 3330 -#define wxStyledTextCtrl_SetCaretSticky 3331 -#define wxStyledTextCtrl_ToggleCaretSticky 3332 -#define wxStyledTextCtrl_SetPasteConvertEndings 3333 -#define wxStyledTextCtrl_GetPasteConvertEndings 3334 -#define wxStyledTextCtrl_SelectionDuplicate 3335 -#define wxStyledTextCtrl_SetCaretLineBackAlpha 3336 -#define wxStyledTextCtrl_GetCaretLineBackAlpha 3337 -#define wxStyledTextCtrl_StartRecord 3338 -#define wxStyledTextCtrl_StopRecord 3339 -#define wxStyledTextCtrl_SetLexer 3340 -#define wxStyledTextCtrl_GetLexer 3341 -#define wxStyledTextCtrl_Colourise 3342 -#define wxStyledTextCtrl_SetProperty 3343 -#define wxStyledTextCtrl_SetKeyWords 3344 -#define wxStyledTextCtrl_SetLexerLanguage 3345 -#define wxStyledTextCtrl_GetProperty 3346 -#define wxStyledTextCtrl_GetStyleBitsNeeded 3347 -#define wxStyledTextCtrl_GetCurrentLine 3348 -#define wxStyledTextCtrl_StyleSetSpec 3349 -#define wxStyledTextCtrl_StyleSetFont 3350 -#define wxStyledTextCtrl_StyleSetFontAttr 3351 -#define wxStyledTextCtrl_StyleSetCharacterSet 3352 -#define wxStyledTextCtrl_StyleSetFontEncoding 3353 -#define wxStyledTextCtrl_CmdKeyExecute 3354 -#define wxStyledTextCtrl_SetMargins 3355 -#define wxStyledTextCtrl_GetSelection 3356 -#define wxStyledTextCtrl_PointFromPosition 3357 -#define wxStyledTextCtrl_ScrollToLine 3358 -#define wxStyledTextCtrl_ScrollToColumn 3359 -#define wxStyledTextCtrl_SendMsg 3360 -#define wxStyledTextCtrl_SetVScrollBar 3361 -#define wxStyledTextCtrl_SetHScrollBar 3362 -#define wxStyledTextCtrl_GetLastKeydownProcessed 3363 -#define wxStyledTextCtrl_SetLastKeydownProcessed 3364 -#define wxStyledTextCtrl_SaveFile 3365 -#define wxStyledTextCtrl_LoadFile 3366 -#define wxStyledTextCtrl_DoDragOver 3367 -#define wxStyledTextCtrl_DoDropText 3368 -#define wxStyledTextCtrl_GetUseAntiAliasing 3369 -#define wxStyledTextCtrl_AddTextRaw 3370 -#define wxStyledTextCtrl_InsertTextRaw 3371 -#define wxStyledTextCtrl_GetCurLineRaw 3372 -#define wxStyledTextCtrl_GetLineRaw 3373 -#define wxStyledTextCtrl_GetSelectedTextRaw 3374 -#define wxStyledTextCtrl_GetTextRangeRaw 3375 -#define wxStyledTextCtrl_SetTextRaw 3376 -#define wxStyledTextCtrl_GetTextRaw 3377 -#define wxStyledTextCtrl_AppendTextRaw 3378 -#define wxArtProvider_GetBitmap 3379 -#define wxArtProvider_GetIcon 3380 -#define wxTreeEvent_GetKeyCode 3381 -#define wxTreeEvent_GetItem 3382 -#define wxTreeEvent_GetKeyEvent 3383 -#define wxTreeEvent_GetLabel 3384 -#define wxTreeEvent_GetOldItem 3385 -#define wxTreeEvent_GetPoint 3386 -#define wxTreeEvent_IsEditCancelled 3387 -#define wxTreeEvent_SetToolTip 3388 -#define wxNotebookEvent_GetOldSelection 3389 -#define wxNotebookEvent_GetSelection 3390 -#define wxNotebookEvent_SetOldSelection 3391 -#define wxNotebookEvent_SetSelection 3392 -#define wxFileDataObject_new 3393 -#define wxFileDataObject_AddFile 3394 -#define wxFileDataObject_GetFilenames 3395 -#define wxFileDataObject_destroy 3396 -#define wxTextDataObject_new 3397 -#define wxTextDataObject_GetTextLength 3398 -#define wxTextDataObject_GetText 3399 -#define wxTextDataObject_SetText 3400 -#define wxTextDataObject_destroy 3401 -#define wxBitmapDataObject_new_1_1 3402 -#define wxBitmapDataObject_new_1_0 3403 -#define wxBitmapDataObject_GetBitmap 3404 -#define wxBitmapDataObject_SetBitmap 3405 -#define wxBitmapDataObject_destroy 3406 -#define wxClipboard_new 3408 -#define wxClipboard_destruct 3409 -#define wxClipboard_AddData 3410 -#define wxClipboard_Clear 3411 -#define wxClipboard_Close 3412 -#define wxClipboard_Flush 3413 -#define wxClipboard_GetData 3414 -#define wxClipboard_IsOpened 3415 -#define wxClipboard_Open 3416 -#define wxClipboard_SetData 3417 -#define wxClipboard_UsePrimarySelection 3419 -#define wxClipboard_IsSupported 3420 -#define wxClipboard_Get 3421 -#define wxSpinEvent_GetPosition 3422 -#define wxSpinEvent_SetPosition 3423 -#define wxSplitterWindow_new_0 3424 -#define wxSplitterWindow_new_2 3425 -#define wxSplitterWindow_destruct 3426 -#define wxSplitterWindow_Create 3427 -#define wxSplitterWindow_GetMinimumPaneSize 3428 -#define wxSplitterWindow_GetSashGravity 3429 -#define wxSplitterWindow_GetSashPosition 3430 -#define wxSplitterWindow_GetSplitMode 3431 -#define wxSplitterWindow_GetWindow1 3432 -#define wxSplitterWindow_GetWindow2 3433 -#define wxSplitterWindow_Initialize 3434 -#define wxSplitterWindow_IsSplit 3435 -#define wxSplitterWindow_ReplaceWindow 3436 -#define wxSplitterWindow_SetSashGravity 3437 -#define wxSplitterWindow_SetSashPosition 3438 -#define wxSplitterWindow_SetSashSize 3439 -#define wxSplitterWindow_SetMinimumPaneSize 3440 -#define wxSplitterWindow_SetSplitMode 3441 -#define wxSplitterWindow_SplitHorizontally 3442 -#define wxSplitterWindow_SplitVertically 3443 -#define wxSplitterWindow_Unsplit 3444 -#define wxSplitterWindow_UpdateSize 3445 -#define wxSplitterEvent_GetSashPosition 3446 -#define wxSplitterEvent_GetX 3447 -#define wxSplitterEvent_GetY 3448 -#define wxSplitterEvent_GetWindowBeingRemoved 3449 -#define wxSplitterEvent_SetSashPosition 3450 -#define wxHtmlWindow_new_0 3451 -#define wxHtmlWindow_new_2 3452 -#define wxHtmlWindow_AppendToPage 3453 -#define wxHtmlWindow_GetOpenedAnchor 3454 -#define wxHtmlWindow_GetOpenedPage 3455 -#define wxHtmlWindow_GetOpenedPageTitle 3456 -#define wxHtmlWindow_GetRelatedFrame 3457 -#define wxHtmlWindow_HistoryBack 3458 -#define wxHtmlWindow_HistoryCanBack 3459 -#define wxHtmlWindow_HistoryCanForward 3460 -#define wxHtmlWindow_HistoryClear 3461 -#define wxHtmlWindow_HistoryForward 3462 -#define wxHtmlWindow_LoadFile 3463 -#define wxHtmlWindow_LoadPage 3464 -#define wxHtmlWindow_SelectAll 3465 -#define wxHtmlWindow_SelectionToText 3466 -#define wxHtmlWindow_SelectLine 3467 -#define wxHtmlWindow_SelectWord 3468 -#define wxHtmlWindow_SetBorders 3469 -#define wxHtmlWindow_SetFonts 3470 -#define wxHtmlWindow_SetPage 3471 -#define wxHtmlWindow_SetRelatedFrame 3472 -#define wxHtmlWindow_SetRelatedStatusBar 3473 -#define wxHtmlWindow_ToText 3474 -#define wxHtmlWindow_destroy 3475 -#define wxHtmlLinkEvent_GetLinkInfo 3476 -#define wxAuiNotebookEvent_SetSelection 3477 -#define wxAuiNotebookEvent_GetSelection 3478 -#define wxAuiNotebookEvent_SetOldSelection 3479 -#define wxAuiNotebookEvent_GetOldSelection 3480 -#define wxAuiNotebookEvent_SetDragSource 3481 -#define wxAuiNotebookEvent_GetDragSource 3482 -#define wxAuiManagerEvent_SetManager 3483 -#define wxAuiManagerEvent_GetManager 3484 -#define wxAuiManagerEvent_SetPane 3485 -#define wxAuiManagerEvent_GetPane 3486 -#define wxAuiManagerEvent_SetButton 3487 -#define wxAuiManagerEvent_GetButton 3488 -#define wxAuiManagerEvent_SetDC 3489 -#define wxAuiManagerEvent_GetDC 3490 -#define wxAuiManagerEvent_Veto 3491 -#define wxAuiManagerEvent_GetVeto 3492 -#define wxAuiManagerEvent_SetCanVeto 3493 -#define wxAuiManagerEvent_CanVeto 3494 -#define wxLogNull_new 3495 -#define wxLogNull_destroy 3496 +#define wxControlWithItems_getClientData 885 +#define wxControlWithItems_setClientData 886 +#define wxControlWithItems_GetCount 887 +#define wxControlWithItems_GetSelection 888 +#define wxControlWithItems_GetString 889 +#define wxControlWithItems_GetStringSelection 890 +#define wxControlWithItems_Insert_2 891 +#define wxControlWithItems_Insert_3 892 +#define wxControlWithItems_IsEmpty 893 +#define wxControlWithItems_Select 894 +#define wxControlWithItems_SetSelection 895 +#define wxControlWithItems_SetString 896 +#define wxControlWithItems_SetStringSelection 897 +#define wxMenu_new_2 900 +#define wxMenu_new_1 901 +#define wxMenu_destruct 903 +#define wxMenu_Append_3 904 +#define wxMenu_Append_1 905 +#define wxMenu_Append_4_0 906 +#define wxMenu_Append_4_1 907 +#define wxMenu_AppendCheckItem 908 +#define wxMenu_AppendRadioItem 909 +#define wxMenu_AppendSeparator 910 +#define wxMenu_Break 911 +#define wxMenu_Check 912 +#define wxMenu_Delete_1_0 913 +#define wxMenu_Delete_1_1 914 +#define wxMenu_Destroy_1_0 915 +#define wxMenu_Destroy_1_1 916 +#define wxMenu_Enable 917 +#define wxMenu_FindItem_1 918 +#define wxMenu_FindItem_2 919 +#define wxMenu_FindItemByPosition 920 +#define wxMenu_GetHelpString 921 +#define wxMenu_GetLabel 922 +#define wxMenu_GetMenuItemCount 923 +#define wxMenu_GetMenuItems 924 +#define wxMenu_GetTitle 926 +#define wxMenu_Insert_2 927 +#define wxMenu_Insert_3 928 +#define wxMenu_Insert_5_1 929 +#define wxMenu_Insert_5_0 930 +#define wxMenu_InsertCheckItem 931 +#define wxMenu_InsertRadioItem 932 +#define wxMenu_InsertSeparator 933 +#define wxMenu_IsChecked 934 +#define wxMenu_IsEnabled 935 +#define wxMenu_Prepend_1 936 +#define wxMenu_Prepend_2 937 +#define wxMenu_Prepend_4_1 938 +#define wxMenu_Prepend_4_0 939 +#define wxMenu_PrependCheckItem 940 +#define wxMenu_PrependRadioItem 941 +#define wxMenu_PrependSeparator 942 +#define wxMenu_Remove_1_0 943 +#define wxMenu_Remove_1_1 944 +#define wxMenu_SetHelpString 945 +#define wxMenu_SetLabel 946 +#define wxMenu_SetTitle 947 +#define wxMenuItem_new 948 +#define wxMenuItem_destruct 950 +#define wxMenuItem_Check 951 +#define wxMenuItem_Enable 952 +#define wxMenuItem_GetBitmap 953 +#define wxMenuItem_GetHelp 954 +#define wxMenuItem_GetId 955 +#define wxMenuItem_GetKind 956 +#define wxMenuItem_GetLabel 957 +#define wxMenuItem_GetLabelFromText 958 +#define wxMenuItem_GetMenu 959 +#define wxMenuItem_GetText 960 +#define wxMenuItem_GetSubMenu 961 +#define wxMenuItem_IsCheckable 962 +#define wxMenuItem_IsChecked 963 +#define wxMenuItem_IsEnabled 964 +#define wxMenuItem_IsSeparator 965 +#define wxMenuItem_IsSubMenu 966 +#define wxMenuItem_SetBitmap 967 +#define wxMenuItem_SetHelp 968 +#define wxMenuItem_SetMenu 969 +#define wxMenuItem_SetSubMenu 970 +#define wxMenuItem_SetText 971 +#define wxToolBar_AddControl 972 +#define wxToolBar_AddSeparator 973 +#define wxToolBar_AddTool_5 974 +#define wxToolBar_AddTool_4_0 975 +#define wxToolBar_AddTool_1 976 +#define wxToolBar_AddTool_4_1 977 +#define wxToolBar_AddTool_3 978 +#define wxToolBar_AddTool_6 979 +#define wxToolBar_AddCheckTool 980 +#define wxToolBar_AddRadioTool 981 +#define wxToolBar_DeleteTool 982 +#define wxToolBar_DeleteToolByPos 983 +#define wxToolBar_EnableTool 984 +#define wxToolBar_FindById 985 +#define wxToolBar_FindControl 986 +#define wxToolBar_FindToolForPosition 987 +#define wxToolBar_GetToolSize 988 +#define wxToolBar_GetToolBitmapSize 989 +#define wxToolBar_GetMargins 990 +#define wxToolBar_GetToolEnabled 991 +#define wxToolBar_GetToolLongHelp 992 +#define wxToolBar_GetToolPacking 993 +#define wxToolBar_GetToolPos 994 +#define wxToolBar_GetToolSeparation 995 +#define wxToolBar_GetToolShortHelp 996 +#define wxToolBar_GetToolState 997 +#define wxToolBar_InsertControl 998 +#define wxToolBar_InsertSeparator 999 +#define wxToolBar_InsertTool_5 1000 +#define wxToolBar_InsertTool_2 1001 +#define wxToolBar_InsertTool_4 1002 +#define wxToolBar_Realize 1003 +#define wxToolBar_RemoveTool 1004 +#define wxToolBar_SetMargins 1005 +#define wxToolBar_SetToolBitmapSize 1006 +#define wxToolBar_SetToolLongHelp 1007 +#define wxToolBar_SetToolPacking 1008 +#define wxToolBar_SetToolShortHelp 1009 +#define wxToolBar_SetToolSeparation 1010 +#define wxToolBar_ToggleTool 1011 +#define wxStatusBar_new_0 1013 +#define wxStatusBar_new_2 1014 +#define wxStatusBar_destruct 1016 +#define wxStatusBar_Create 1017 +#define wxStatusBar_GetFieldRect 1018 +#define wxStatusBar_GetFieldsCount 1019 +#define wxStatusBar_GetStatusText 1020 +#define wxStatusBar_PopStatusText 1021 +#define wxStatusBar_PushStatusText 1022 +#define wxStatusBar_SetFieldsCount 1023 +#define wxStatusBar_SetMinHeight 1024 +#define wxStatusBar_SetStatusText 1025 +#define wxStatusBar_SetStatusWidths 1026 +#define wxStatusBar_SetStatusStyles 1027 +#define wxBitmap_new_0 1028 +#define wxBitmap_new_3 1029 +#define wxBitmap_new_4 1030 +#define wxBitmap_new_2_0 1031 +#define wxBitmap_new_2_1 1032 +#define wxBitmap_destruct 1033 +#define wxBitmap_ConvertToImage 1034 +#define wxBitmap_CopyFromIcon 1035 +#define wxBitmap_Create 1036 +#define wxBitmap_GetDepth 1037 +#define wxBitmap_GetHeight 1038 +#define wxBitmap_GetPalette 1039 +#define wxBitmap_GetMask 1040 +#define wxBitmap_GetWidth 1041 +#define wxBitmap_GetSubBitmap 1042 +#define wxBitmap_LoadFile 1043 +#define wxBitmap_Ok 1044 +#define wxBitmap_SaveFile 1045 +#define wxBitmap_SetDepth 1046 +#define wxBitmap_SetHeight 1047 +#define wxBitmap_SetMask 1048 +#define wxBitmap_SetPalette 1049 +#define wxBitmap_SetWidth 1050 +#define wxIcon_new_0 1051 +#define wxIcon_new_2 1052 +#define wxIcon_new_1 1053 +#define wxIcon_CopyFromBitmap 1054 +#define wxIcon_destroy 1055 +#define wxIconBundle_new_0 1056 +#define wxIconBundle_new_2 1057 +#define wxIconBundle_new_1_0 1058 +#define wxIconBundle_new_1_1 1059 +#define wxIconBundle_destruct 1060 +#define wxIconBundle_AddIcon_2 1061 +#define wxIconBundle_AddIcon_1 1062 +#define wxIconBundle_GetIcon_1_1 1063 +#define wxIconBundle_GetIcon_1_0 1064 +#define wxCursor_new_0 1065 +#define wxCursor_new_1_0 1066 +#define wxCursor_new_1_1 1067 +#define wxCursor_new_4 1068 +#define wxCursor_destruct 1069 +#define wxCursor_Ok 1070 +#define wxMask_new_0 1071 +#define wxMask_new_2_1 1072 +#define wxMask_new_2_0 1073 +#define wxMask_new_1 1074 +#define wxMask_destruct 1075 +#define wxMask_Create_2_1 1076 +#define wxMask_Create_2_0 1077 +#define wxMask_Create_1 1078 +#define wxImage_new_0 1079 +#define wxImage_new_3_0 1080 +#define wxImage_new_4 1081 +#define wxImage_new_5 1082 +#define wxImage_new_2 1083 +#define wxImage_new_3_1 1084 +#define wxImage_Blur 1085 +#define wxImage_BlurHorizontal 1086 +#define wxImage_BlurVertical 1087 +#define wxImage_ConvertAlphaToMask 1088 +#define wxImage_ConvertToGreyscale 1089 +#define wxImage_ConvertToMono 1090 +#define wxImage_Copy 1091 +#define wxImage_Create_3 1092 +#define wxImage_Create_4 1093 +#define wxImage_Create_5 1094 +#define wxImage_Destroy 1095 +#define wxImage_FindFirstUnusedColour 1096 +#define wxImage_GetImageExtWildcard 1097 +#define wxImage_GetAlpha_2 1098 +#define wxImage_GetAlpha_0 1099 +#define wxImage_GetBlue 1100 +#define wxImage_GetData 1101 +#define wxImage_GetGreen 1102 +#define wxImage_GetImageCount 1103 +#define wxImage_GetHeight 1104 +#define wxImage_GetMaskBlue 1105 +#define wxImage_GetMaskGreen 1106 +#define wxImage_GetMaskRed 1107 +#define wxImage_GetOrFindMaskColour 1108 +#define wxImage_GetPalette 1109 +#define wxImage_GetRed 1110 +#define wxImage_GetSubImage 1111 +#define wxImage_GetWidth 1112 +#define wxImage_HasAlpha 1113 +#define wxImage_HasMask 1114 +#define wxImage_GetOption 1115 +#define wxImage_GetOptionInt 1116 +#define wxImage_HasOption 1117 +#define wxImage_InitAlpha 1118 +#define wxImage_InitStandardHandlers 1119 +#define wxImage_IsTransparent 1120 +#define wxImage_LoadFile_2 1121 +#define wxImage_LoadFile_3 1122 +#define wxImage_Ok 1123 +#define wxImage_RemoveHandler 1124 +#define wxImage_Mirror 1125 +#define wxImage_Replace 1126 +#define wxImage_Rescale 1127 +#define wxImage_Resize 1128 +#define wxImage_Rotate 1129 +#define wxImage_RotateHue 1130 +#define wxImage_Rotate90 1131 +#define wxImage_SaveFile_1 1132 +#define wxImage_SaveFile_2_0 1133 +#define wxImage_SaveFile_2_1 1134 +#define wxImage_Scale 1135 +#define wxImage_Size 1136 +#define wxImage_SetAlpha_3 1137 +#define wxImage_SetAlpha_2 1138 +#define wxImage_SetData_2 1139 +#define wxImage_SetData_4 1140 +#define wxImage_SetMask 1141 +#define wxImage_SetMaskColour 1142 +#define wxImage_SetMaskFromImage 1143 +#define wxImage_SetOption_2_1 1144 +#define wxImage_SetOption_2_0 1145 +#define wxImage_SetPalette 1146 +#define wxImage_SetRGB_5 1147 +#define wxImage_SetRGB_4 1148 +#define wxImage_destroy 1149 +#define wxBrush_new_0 1150 +#define wxBrush_new_2 1151 +#define wxBrush_new_1 1152 +#define wxBrush_destruct 1154 +#define wxBrush_GetColour 1155 +#define wxBrush_GetStipple 1156 +#define wxBrush_GetStyle 1157 +#define wxBrush_IsHatch 1158 +#define wxBrush_IsOk 1159 +#define wxBrush_SetColour_1 1160 +#define wxBrush_SetColour_3 1161 +#define wxBrush_SetStipple 1162 +#define wxBrush_SetStyle 1163 +#define wxPen_new_0 1164 +#define wxPen_new_2 1165 +#define wxPen_destruct 1166 +#define wxPen_GetCap 1167 +#define wxPen_GetColour 1168 +#define wxPen_GetJoin 1169 +#define wxPen_GetStyle 1170 +#define wxPen_GetWidth 1171 +#define wxPen_IsOk 1172 +#define wxPen_SetCap 1173 +#define wxPen_SetColour_1 1174 +#define wxPen_SetColour_3 1175 +#define wxPen_SetJoin 1176 +#define wxPen_SetStyle 1177 +#define wxPen_SetWidth 1178 +#define wxRegion_new_0 1179 +#define wxRegion_new_4 1180 +#define wxRegion_new_2 1181 +#define wxRegion_new_1_1 1182 +#define wxRegion_new_1_0 1184 +#define wxRegion_destruct 1186 +#define wxRegion_Clear 1187 +#define wxRegion_Contains_2 1188 +#define wxRegion_Contains_1_0 1189 +#define wxRegion_Contains_4 1190 +#define wxRegion_Contains_1_1 1191 +#define wxRegion_ConvertToBitmap 1192 +#define wxRegion_GetBox 1193 +#define wxRegion_Intersect_4 1194 +#define wxRegion_Intersect_1_1 1195 +#define wxRegion_Intersect_1_0 1196 +#define wxRegion_IsEmpty 1197 +#define wxRegion_Subtract_4 1198 +#define wxRegion_Subtract_1_1 1199 +#define wxRegion_Subtract_1_0 1200 +#define wxRegion_Offset_2 1201 +#define wxRegion_Offset_1 1202 +#define wxRegion_Union_4 1203 +#define wxRegion_Union_1_2 1204 +#define wxRegion_Union_1_1 1205 +#define wxRegion_Union_1_0 1206 +#define wxRegion_Union_3 1207 +#define wxRegion_Xor_4 1208 +#define wxRegion_Xor_1_1 1209 +#define wxRegion_Xor_1_0 1210 +#define wxAcceleratorTable_new_0 1211 +#define wxAcceleratorTable_new_2 1212 +#define wxAcceleratorTable_destruct 1213 +#define wxAcceleratorTable_Ok 1214 +#define wxAcceleratorEntry_new_1_0 1215 +#define wxAcceleratorEntry_new_1_1 1216 +#define wxAcceleratorEntry_GetCommand 1217 +#define wxAcceleratorEntry_GetFlags 1218 +#define wxAcceleratorEntry_GetKeyCode 1219 +#define wxAcceleratorEntry_Set 1220 +#define wxAcceleratorEntry_destroy 1221 +#define wxCaret_new_3 1226 +#define wxCaret_new_2 1227 +#define wxCaret_destruct 1229 +#define wxCaret_Create_3 1230 +#define wxCaret_Create_2 1231 +#define wxCaret_GetBlinkTime 1232 +#define wxCaret_GetPosition 1234 +#define wxCaret_GetSize 1236 +#define wxCaret_GetWindow 1237 +#define wxCaret_Hide 1238 +#define wxCaret_IsOk 1239 +#define wxCaret_IsVisible 1240 +#define wxCaret_Move_2 1241 +#define wxCaret_Move_1 1242 +#define wxCaret_SetBlinkTime 1243 +#define wxCaret_SetSize_2 1244 +#define wxCaret_SetSize_1 1245 +#define wxCaret_Show 1246 +#define wxSizer_Add_2_1 1247 +#define wxSizer_Add_2_0 1248 +#define wxSizer_Add_3 1249 +#define wxSizer_Add_2_3 1250 +#define wxSizer_Add_2_2 1251 +#define wxSizer_AddSpacer 1252 +#define wxSizer_AddStretchSpacer 1253 +#define wxSizer_CalcMin 1254 +#define wxSizer_Clear 1255 +#define wxSizer_Detach_1_2 1256 +#define wxSizer_Detach_1_1 1257 +#define wxSizer_Detach_1_0 1258 +#define wxSizer_Fit 1259 +#define wxSizer_FitInside 1260 +#define wxSizer_GetChildren 1261 +#define wxSizer_GetItem_2_1 1262 +#define wxSizer_GetItem_2_0 1263 +#define wxSizer_GetItem_1 1264 +#define wxSizer_GetSize 1265 +#define wxSizer_GetPosition 1266 +#define wxSizer_GetMinSize 1267 +#define wxSizer_Hide_2_0 1268 +#define wxSizer_Hide_2_1 1269 +#define wxSizer_Hide_1 1270 +#define wxSizer_Insert_3_1 1271 +#define wxSizer_Insert_3_0 1272 +#define wxSizer_Insert_4 1273 +#define wxSizer_Insert_3_3 1274 +#define wxSizer_Insert_3_2 1275 +#define wxSizer_Insert_2 1276 +#define wxSizer_InsertSpacer 1277 +#define wxSizer_InsertStretchSpacer 1278 +#define wxSizer_IsShown_1_2 1279 +#define wxSizer_IsShown_1_1 1280 +#define wxSizer_IsShown_1_0 1281 +#define wxSizer_Layout 1282 +#define wxSizer_Prepend_2_1 1283 +#define wxSizer_Prepend_2_0 1284 +#define wxSizer_Prepend_3 1285 +#define wxSizer_Prepend_2_3 1286 +#define wxSizer_Prepend_2_2 1287 +#define wxSizer_Prepend_1 1288 +#define wxSizer_PrependSpacer 1289 +#define wxSizer_PrependStretchSpacer 1290 +#define wxSizer_RecalcSizes 1291 +#define wxSizer_Remove_1_1 1292 +#define wxSizer_Remove_1_0 1293 +#define wxSizer_Replace_3_1 1294 +#define wxSizer_Replace_3_0 1295 +#define wxSizer_Replace_2 1296 +#define wxSizer_SetDimension 1297 +#define wxSizer_SetMinSize_2 1298 +#define wxSizer_SetMinSize_1 1299 +#define wxSizer_SetItemMinSize_3_2 1300 +#define wxSizer_SetItemMinSize_2_2 1301 +#define wxSizer_SetItemMinSize_3_1 1302 +#define wxSizer_SetItemMinSize_2_1 1303 +#define wxSizer_SetItemMinSize_3_0 1304 +#define wxSizer_SetItemMinSize_2_0 1305 +#define wxSizer_SetSizeHints 1306 +#define wxSizer_SetVirtualSizeHints 1307 +#define wxSizer_Show_2_2 1308 +#define wxSizer_Show_2_1 1309 +#define wxSizer_Show_2_0 1310 +#define wxSizer_Show_1 1311 +#define wxSizerFlags_new 1312 +#define wxSizerFlags_Align 1313 +#define wxSizerFlags_Border_2 1314 +#define wxSizerFlags_Border_1 1315 +#define wxSizerFlags_Center 1316 +#define wxSizerFlags_Centre 1317 +#define wxSizerFlags_Expand 1318 +#define wxSizerFlags_Left 1319 +#define wxSizerFlags_Proportion 1320 +#define wxSizerFlags_Right 1321 +#define wxSizerFlags_destroy 1322 +#define wxSizerItem_new_5_1 1323 +#define wxSizerItem_new_2_1 1324 +#define wxSizerItem_new_5_0 1325 +#define wxSizerItem_new_2_0 1326 +#define wxSizerItem_new_6 1327 +#define wxSizerItem_new_3 1328 +#define wxSizerItem_new_0 1329 +#define wxSizerItem_destruct 1330 +#define wxSizerItem_CalcMin 1331 +#define wxSizerItem_DeleteWindows 1332 +#define wxSizerItem_DetachSizer 1333 +#define wxSizerItem_GetBorder 1334 +#define wxSizerItem_GetFlag 1335 +#define wxSizerItem_GetMinSize 1336 +#define wxSizerItem_GetPosition 1337 +#define wxSizerItem_GetProportion 1338 +#define wxSizerItem_GetRatio 1339 +#define wxSizerItem_GetRect 1340 +#define wxSizerItem_GetSize 1341 +#define wxSizerItem_GetSizer 1342 +#define wxSizerItem_GetSpacer 1343 +#define wxSizerItem_GetUserData 1344 +#define wxSizerItem_GetWindow 1345 +#define wxSizerItem_IsSizer 1346 +#define wxSizerItem_IsShown 1347 +#define wxSizerItem_IsSpacer 1348 +#define wxSizerItem_IsWindow 1349 +#define wxSizerItem_SetBorder 1350 +#define wxSizerItem_SetDimension 1351 +#define wxSizerItem_SetFlag 1352 +#define wxSizerItem_SetInitSize 1353 +#define wxSizerItem_SetMinSize_1 1354 +#define wxSizerItem_SetMinSize_2 1355 +#define wxSizerItem_SetProportion 1356 +#define wxSizerItem_SetRatio_2 1357 +#define wxSizerItem_SetRatio_1_1 1358 +#define wxSizerItem_SetRatio_1_0 1359 +#define wxSizerItem_SetSizer 1360 +#define wxSizerItem_SetSpacer_1 1361 +#define wxSizerItem_SetSpacer_2 1362 +#define wxSizerItem_SetWindow 1363 +#define wxSizerItem_Show 1364 +#define wxBoxSizer_new 1365 +#define wxBoxSizer_GetOrientation 1366 +#define wxBoxSizer_destroy 1367 +#define wxStaticBoxSizer_new_2 1368 +#define wxStaticBoxSizer_new_3 1369 +#define wxStaticBoxSizer_GetStaticBox 1370 +#define wxStaticBoxSizer_destroy 1371 +#define wxGridSizer_new_4 1372 +#define wxGridSizer_new_2 1373 +#define wxGridSizer_GetCols 1374 +#define wxGridSizer_GetHGap 1375 +#define wxGridSizer_GetRows 1376 +#define wxGridSizer_GetVGap 1377 +#define wxGridSizer_SetCols 1378 +#define wxGridSizer_SetHGap 1379 +#define wxGridSizer_SetRows 1380 +#define wxGridSizer_SetVGap 1381 +#define wxGridSizer_destroy 1382 +#define wxFlexGridSizer_new_4 1383 +#define wxFlexGridSizer_new_2 1384 +#define wxFlexGridSizer_AddGrowableCol 1385 +#define wxFlexGridSizer_AddGrowableRow 1386 +#define wxFlexGridSizer_GetFlexibleDirection 1387 +#define wxFlexGridSizer_GetNonFlexibleGrowMode 1388 +#define wxFlexGridSizer_RemoveGrowableCol 1389 +#define wxFlexGridSizer_RemoveGrowableRow 1390 +#define wxFlexGridSizer_SetFlexibleDirection 1391 +#define wxFlexGridSizer_SetNonFlexibleGrowMode 1392 +#define wxFlexGridSizer_destroy 1393 +#define wxGridBagSizer_new 1394 +#define wxGridBagSizer_Add_3_2 1395 +#define wxGridBagSizer_Add_3_1 1396 +#define wxGridBagSizer_Add_4 1397 +#define wxGridBagSizer_Add_1_0 1398 +#define wxGridBagSizer_Add_2_1 1399 +#define wxGridBagSizer_Add_2_0 1400 +#define wxGridBagSizer_Add_3_0 1401 +#define wxGridBagSizer_Add_1_1 1402 +#define wxGridBagSizer_CalcMin 1403 +#define wxGridBagSizer_CheckForIntersection_2 1404 +#define wxGridBagSizer_CheckForIntersection_3 1405 +#define wxGridBagSizer_FindItem_1_1 1406 +#define wxGridBagSizer_FindItem_1_0 1407 +#define wxGridBagSizer_FindItemAtPoint 1408 +#define wxGridBagSizer_FindItemAtPosition 1409 +#define wxGridBagSizer_FindItemWithData 1410 +#define wxGridBagSizer_GetCellSize 1411 +#define wxGridBagSizer_GetEmptyCellSize 1412 +#define wxGridBagSizer_GetItemPosition_1_2 1413 +#define wxGridBagSizer_GetItemPosition_1_1 1414 +#define wxGridBagSizer_GetItemPosition_1_0 1415 +#define wxGridBagSizer_GetItemSpan_1_2 1416 +#define wxGridBagSizer_GetItemSpan_1_1 1417 +#define wxGridBagSizer_GetItemSpan_1_0 1418 +#define wxGridBagSizer_SetEmptyCellSize 1419 +#define wxGridBagSizer_SetItemPosition_2_2 1420 +#define wxGridBagSizer_SetItemPosition_2_1 1421 +#define wxGridBagSizer_SetItemPosition_2_0 1422 +#define wxGridBagSizer_SetItemSpan_2_2 1423 +#define wxGridBagSizer_SetItemSpan_2_1 1424 +#define wxGridBagSizer_SetItemSpan_2_0 1425 +#define wxGridBagSizer_destroy 1426 +#define wxStdDialogButtonSizer_new 1427 +#define wxStdDialogButtonSizer_AddButton 1428 +#define wxStdDialogButtonSizer_Realize 1429 +#define wxStdDialogButtonSizer_SetAffirmativeButton 1430 +#define wxStdDialogButtonSizer_SetCancelButton 1431 +#define wxStdDialogButtonSizer_SetNegativeButton 1432 +#define wxStdDialogButtonSizer_destroy 1433 +#define wxFont_new_0 1434 +#define wxFont_new_1 1435 +#define wxFont_new_5 1436 +#define wxFont_destruct 1438 +#define wxFont_IsFixedWidth 1439 +#define wxFont_GetDefaultEncoding 1440 +#define wxFont_GetFaceName 1441 +#define wxFont_GetFamily 1442 +#define wxFont_GetNativeFontInfoDesc 1443 +#define wxFont_GetNativeFontInfoUserDesc 1444 +#define wxFont_GetPointSize 1445 +#define wxFont_GetStyle 1446 +#define wxFont_GetUnderlined 1447 +#define wxFont_GetWeight 1448 +#define wxFont_Ok 1449 +#define wxFont_SetDefaultEncoding 1450 +#define wxFont_SetFaceName 1451 +#define wxFont_SetFamily 1452 +#define wxFont_SetPointSize 1453 +#define wxFont_SetStyle 1454 +#define wxFont_SetUnderlined 1455 +#define wxFont_SetWeight 1456 +#define wxToolTip_Enable 1457 +#define wxToolTip_SetDelay 1458 +#define wxToolTip_new 1459 +#define wxToolTip_SetTip 1460 +#define wxToolTip_GetTip 1461 +#define wxToolTip_GetWindow 1462 +#define wxToolTip_destroy 1463 +#define wxButton_new_3 1465 +#define wxButton_new_0 1466 +#define wxButton_destruct 1467 +#define wxButton_Create 1468 +#define wxButton_GetDefaultSize 1469 +#define wxButton_SetDefault 1470 +#define wxButton_SetLabel 1471 +#define wxBitmapButton_new_4 1473 +#define wxBitmapButton_new_0 1474 +#define wxBitmapButton_Create 1475 +#define wxBitmapButton_GetBitmapDisabled 1476 +#define wxBitmapButton_GetBitmapFocus 1478 +#define wxBitmapButton_GetBitmapLabel 1480 +#define wxBitmapButton_GetBitmapSelected 1482 +#define wxBitmapButton_SetBitmapDisabled 1484 +#define wxBitmapButton_SetBitmapFocus 1485 +#define wxBitmapButton_SetBitmapLabel 1486 +#define wxBitmapButton_SetBitmapSelected 1487 +#define wxBitmapButton_destroy 1488 +#define wxToggleButton_new_0 1489 +#define wxToggleButton_new_4 1490 +#define wxToggleButton_Create 1491 +#define wxToggleButton_GetValue 1492 +#define wxToggleButton_SetValue 1493 +#define wxToggleButton_destroy 1494 +#define wxCalendarCtrl_new_0 1495 +#define wxCalendarCtrl_new_3 1496 +#define wxCalendarCtrl_Create 1497 +#define wxCalendarCtrl_destruct 1498 +#define wxCalendarCtrl_SetDate 1499 +#define wxCalendarCtrl_GetDate 1500 +#define wxCalendarCtrl_EnableYearChange 1501 +#define wxCalendarCtrl_EnableMonthChange 1502 +#define wxCalendarCtrl_EnableHolidayDisplay 1503 +#define wxCalendarCtrl_SetHeaderColours 1504 +#define wxCalendarCtrl_GetHeaderColourFg 1505 +#define wxCalendarCtrl_GetHeaderColourBg 1506 +#define wxCalendarCtrl_SetHighlightColours 1507 +#define wxCalendarCtrl_GetHighlightColourFg 1508 +#define wxCalendarCtrl_GetHighlightColourBg 1509 +#define wxCalendarCtrl_SetHolidayColours 1510 +#define wxCalendarCtrl_GetHolidayColourFg 1511 +#define wxCalendarCtrl_GetHolidayColourBg 1512 +#define wxCalendarCtrl_GetAttr 1513 +#define wxCalendarCtrl_SetAttr 1514 +#define wxCalendarCtrl_SetHoliday 1515 +#define wxCalendarCtrl_ResetAttr 1516 +#define wxCalendarCtrl_HitTest 1517 +#define wxCalendarDateAttr_new_0 1518 +#define wxCalendarDateAttr_new_2_1 1519 +#define wxCalendarDateAttr_new_2_0 1520 +#define wxCalendarDateAttr_SetTextColour 1521 +#define wxCalendarDateAttr_SetBackgroundColour 1522 +#define wxCalendarDateAttr_SetBorderColour 1523 +#define wxCalendarDateAttr_SetFont 1524 +#define wxCalendarDateAttr_SetBorder 1525 +#define wxCalendarDateAttr_SetHoliday 1526 +#define wxCalendarDateAttr_HasTextColour 1527 +#define wxCalendarDateAttr_HasBackgroundColour 1528 +#define wxCalendarDateAttr_HasBorderColour 1529 +#define wxCalendarDateAttr_HasFont 1530 +#define wxCalendarDateAttr_HasBorder 1531 +#define wxCalendarDateAttr_IsHoliday 1532 +#define wxCalendarDateAttr_GetTextColour 1533 +#define wxCalendarDateAttr_GetBackgroundColour 1534 +#define wxCalendarDateAttr_GetBorderColour 1535 +#define wxCalendarDateAttr_GetFont 1536 +#define wxCalendarDateAttr_GetBorder 1537 +#define wxCalendarDateAttr_destroy 1538 +#define wxCheckBox_new_4 1540 +#define wxCheckBox_new_0 1541 +#define wxCheckBox_Create 1542 +#define wxCheckBox_GetValue 1543 +#define wxCheckBox_Get3StateValue 1544 +#define wxCheckBox_Is3rdStateAllowedForUser 1545 +#define wxCheckBox_Is3State 1546 +#define wxCheckBox_IsChecked 1547 +#define wxCheckBox_SetValue 1548 +#define wxCheckBox_Set3StateValue 1549 +#define wxCheckBox_destroy 1550 +#define wxCheckListBox_new_0 1551 +#define wxCheckListBox_new_3 1553 +#define wxCheckListBox_Check 1554 +#define wxCheckListBox_IsChecked 1555 +#define wxCheckListBox_destroy 1556 +#define wxChoice_new_3 1559 +#define wxChoice_new_0 1560 +#define wxChoice_destruct 1562 +#define wxChoice_Create 1564 +#define wxChoice_Delete 1565 +#define wxChoice_GetColumns 1566 +#define wxChoice_SetColumns 1567 +#define wxComboBox_new_0 1568 +#define wxComboBox_new_3 1570 +#define wxComboBox_destruct 1571 +#define wxComboBox_Create 1573 +#define wxComboBox_CanCopy 1574 +#define wxComboBox_CanCut 1575 +#define wxComboBox_CanPaste 1576 +#define wxComboBox_CanRedo 1577 +#define wxComboBox_CanUndo 1578 +#define wxComboBox_Copy 1579 +#define wxComboBox_Cut 1580 +#define wxComboBox_GetInsertionPoint 1581 +#define wxComboBox_GetLastPosition 1582 +#define wxComboBox_GetValue 1583 +#define wxComboBox_Paste 1584 +#define wxComboBox_Redo 1585 +#define wxComboBox_Replace 1586 +#define wxComboBox_Remove 1587 +#define wxComboBox_SetInsertionPoint 1588 +#define wxComboBox_SetInsertionPointEnd 1589 +#define wxComboBox_SetSelection_1 1590 +#define wxComboBox_SetSelection_2 1591 +#define wxComboBox_SetValue 1592 +#define wxComboBox_Undo 1593 +#define wxGauge_new_0 1594 +#define wxGauge_new_4 1595 +#define wxGauge_Create 1596 +#define wxGauge_GetBezelFace 1597 +#define wxGauge_GetRange 1598 +#define wxGauge_GetShadowWidth 1599 +#define wxGauge_GetValue 1600 +#define wxGauge_IsVertical 1601 +#define wxGauge_SetBezelFace 1602 +#define wxGauge_SetRange 1603 +#define wxGauge_SetShadowWidth 1604 +#define wxGauge_SetValue 1605 +#define wxGauge_Pulse 1606 +#define wxGauge_destroy 1607 +#define wxGenericDirCtrl_new_0 1608 +#define wxGenericDirCtrl_new_2 1609 +#define wxGenericDirCtrl_destruct 1610 +#define wxGenericDirCtrl_Create 1611 +#define wxGenericDirCtrl_Init 1612 +#define wxGenericDirCtrl_CollapseTree 1613 +#define wxGenericDirCtrl_ExpandPath 1614 +#define wxGenericDirCtrl_GetDefaultPath 1615 +#define wxGenericDirCtrl_GetPath 1616 +#define wxGenericDirCtrl_GetFilePath 1617 +#define wxGenericDirCtrl_GetFilter 1618 +#define wxGenericDirCtrl_GetFilterIndex 1619 +#define wxGenericDirCtrl_GetRootId 1620 +#define wxGenericDirCtrl_GetTreeCtrl 1621 +#define wxGenericDirCtrl_ReCreateTree 1622 +#define wxGenericDirCtrl_SetDefaultPath 1623 +#define wxGenericDirCtrl_SetFilter 1624 +#define wxGenericDirCtrl_SetFilterIndex 1625 +#define wxGenericDirCtrl_SetPath 1626 +#define wxStaticBox_new_4 1628 +#define wxStaticBox_new_0 1629 +#define wxStaticBox_Create 1630 +#define wxStaticBox_destroy 1631 +#define wxStaticLine_new_2 1633 +#define wxStaticLine_new_0 1634 +#define wxStaticLine_Create 1635 +#define wxStaticLine_IsVertical 1636 +#define wxStaticLine_GetDefaultSize 1637 +#define wxStaticLine_destroy 1638 +#define wxListBox_new_3 1641 +#define wxListBox_new_0 1642 +#define wxListBox_destruct 1644 +#define wxListBox_Create 1646 +#define wxListBox_Deselect 1647 +#define wxListBox_GetSelections 1648 +#define wxListBox_InsertItems 1649 +#define wxListBox_IsSelected 1650 +#define wxListBox_Set 1652 +#define wxListBox_HitTest 1653 +#define wxListBox_SetFirstItem_1_0 1654 +#define wxListBox_SetFirstItem_1_1 1655 +#define wxListCtrl_new_0 1656 +#define wxListCtrl_new_2 1657 +#define wxListCtrl_Arrange 1658 +#define wxListCtrl_AssignImageList 1659 +#define wxListCtrl_ClearAll 1660 +#define wxListCtrl_Create 1661 +#define wxListCtrl_DeleteAllItems 1662 +#define wxListCtrl_DeleteColumn 1663 +#define wxListCtrl_DeleteItem 1664 +#define wxListCtrl_EditLabel 1665 +#define wxListCtrl_EnsureVisible 1666 +#define wxListCtrl_FindItem_3_0 1667 +#define wxListCtrl_FindItem_3_1 1668 +#define wxListCtrl_GetColumn 1669 +#define wxListCtrl_GetColumnCount 1670 +#define wxListCtrl_GetColumnWidth 1671 +#define wxListCtrl_GetCountPerPage 1672 +#define wxListCtrl_GetEditControl 1673 +#define wxListCtrl_GetImageList 1674 +#define wxListCtrl_GetItem 1675 +#define wxListCtrl_GetItemBackgroundColour 1676 +#define wxListCtrl_GetItemCount 1677 +#define wxListCtrl_GetItemData 1678 +#define wxListCtrl_GetItemFont 1679 +#define wxListCtrl_GetItemPosition 1680 +#define wxListCtrl_GetItemRect 1681 +#define wxListCtrl_GetItemSpacing 1682 +#define wxListCtrl_GetItemState 1683 +#define wxListCtrl_GetItemText 1684 +#define wxListCtrl_GetItemTextColour 1685 +#define wxListCtrl_GetNextItem 1686 +#define wxListCtrl_GetSelectedItemCount 1687 +#define wxListCtrl_GetTextColour 1688 +#define wxListCtrl_GetTopItem 1689 +#define wxListCtrl_GetViewRect 1690 +#define wxListCtrl_HitTest 1691 +#define wxListCtrl_InsertColumn_2 1692 +#define wxListCtrl_InsertColumn_3 1693 +#define wxListCtrl_InsertItem_1 1694 +#define wxListCtrl_InsertItem_2_1 1695 +#define wxListCtrl_InsertItem_2_0 1696 +#define wxListCtrl_InsertItem_3 1697 +#define wxListCtrl_RefreshItem 1698 +#define wxListCtrl_RefreshItems 1699 +#define wxListCtrl_ScrollList 1700 +#define wxListCtrl_SetBackgroundColour 1701 +#define wxListCtrl_SetColumn 1702 +#define wxListCtrl_SetColumnWidth 1703 +#define wxListCtrl_SetImageList 1704 +#define wxListCtrl_SetItem_1 1705 +#define wxListCtrl_SetItem_4 1706 +#define wxListCtrl_SetItemBackgroundColour 1707 +#define wxListCtrl_SetItemCount 1708 +#define wxListCtrl_SetItemData 1709 +#define wxListCtrl_SetItemFont 1710 +#define wxListCtrl_SetItemImage 1711 +#define wxListCtrl_SetItemColumnImage 1712 +#define wxListCtrl_SetItemPosition 1713 +#define wxListCtrl_SetItemState 1714 +#define wxListCtrl_SetItemText 1715 +#define wxListCtrl_SetItemTextColour 1716 +#define wxListCtrl_SetSingleStyle 1717 +#define wxListCtrl_SetTextColour 1718 +#define wxListCtrl_SetWindowStyleFlag 1719 +#define wxListCtrl_SortItems 1720 +#define wxListCtrl_destroy 1721 +#define wxListView_ClearColumnImage 1722 +#define wxListView_Focus 1723 +#define wxListView_GetFirstSelected 1724 +#define wxListView_GetFocusedItem 1725 +#define wxListView_GetNextSelected 1726 +#define wxListView_IsSelected 1727 +#define wxListView_Select 1728 +#define wxListView_SetColumnImage 1729 +#define wxListItem_new_0 1730 +#define wxListItem_new_1 1731 +#define wxListItem_destruct 1732 +#define wxListItem_Clear 1733 +#define wxListItem_GetAlign 1734 +#define wxListItem_GetBackgroundColour 1735 +#define wxListItem_GetColumn 1736 +#define wxListItem_GetFont 1737 +#define wxListItem_GetId 1738 +#define wxListItem_GetImage 1739 +#define wxListItem_GetMask 1740 +#define wxListItem_GetState 1741 +#define wxListItem_GetText 1742 +#define wxListItem_GetTextColour 1743 +#define wxListItem_GetWidth 1744 +#define wxListItem_SetAlign 1745 +#define wxListItem_SetBackgroundColour 1746 +#define wxListItem_SetColumn 1747 +#define wxListItem_SetFont 1748 +#define wxListItem_SetId 1749 +#define wxListItem_SetImage 1750 +#define wxListItem_SetMask 1751 +#define wxListItem_SetState 1752 +#define wxListItem_SetStateMask 1753 +#define wxListItem_SetText 1754 +#define wxListItem_SetTextColour 1755 +#define wxListItem_SetWidth 1756 +#define wxListItemAttr_new_0 1757 +#define wxListItemAttr_new_3 1758 +#define wxListItemAttr_GetBackgroundColour 1759 +#define wxListItemAttr_GetFont 1760 +#define wxListItemAttr_GetTextColour 1761 +#define wxListItemAttr_HasBackgroundColour 1762 +#define wxListItemAttr_HasFont 1763 +#define wxListItemAttr_HasTextColour 1764 +#define wxListItemAttr_SetBackgroundColour 1765 +#define wxListItemAttr_SetFont 1766 +#define wxListItemAttr_SetTextColour 1767 +#define wxListItemAttr_destroy 1768 +#define wxImageList_new_0 1769 +#define wxImageList_new_3 1770 +#define wxImageList_Add_1 1771 +#define wxImageList_Add_2_0 1772 +#define wxImageList_Add_2_1 1773 +#define wxImageList_Create 1774 +#define wxImageList_Draw 1776 +#define wxImageList_GetBitmap 1777 +#define wxImageList_GetIcon 1778 +#define wxImageList_GetImageCount 1779 +#define wxImageList_GetSize 1780 +#define wxImageList_Remove 1781 +#define wxImageList_RemoveAll 1782 +#define wxImageList_Replace_2 1783 +#define wxImageList_Replace_3 1784 +#define wxImageList_destroy 1785 +#define wxTextAttr_new_0 1786 +#define wxTextAttr_new_2 1787 +#define wxTextAttr_GetAlignment 1788 +#define wxTextAttr_GetBackgroundColour 1789 +#define wxTextAttr_GetFont 1790 +#define wxTextAttr_GetLeftIndent 1791 +#define wxTextAttr_GetLeftSubIndent 1792 +#define wxTextAttr_GetRightIndent 1793 +#define wxTextAttr_GetTabs 1794 +#define wxTextAttr_GetTextColour 1795 +#define wxTextAttr_HasBackgroundColour 1796 +#define wxTextAttr_HasFont 1797 +#define wxTextAttr_HasTextColour 1798 +#define wxTextAttr_GetFlags 1799 +#define wxTextAttr_IsDefault 1800 +#define wxTextAttr_SetAlignment 1801 +#define wxTextAttr_SetBackgroundColour 1802 +#define wxTextAttr_SetFlags 1803 +#define wxTextAttr_SetFont 1804 +#define wxTextAttr_SetLeftIndent 1805 +#define wxTextAttr_SetRightIndent 1806 +#define wxTextAttr_SetTabs 1807 +#define wxTextAttr_SetTextColour 1808 +#define wxTextAttr_destroy 1809 +#define wxTextCtrl_new_3 1811 +#define wxTextCtrl_new_0 1812 +#define wxTextCtrl_destruct 1814 +#define wxTextCtrl_AppendText 1815 +#define wxTextCtrl_CanCopy 1816 +#define wxTextCtrl_CanCut 1817 +#define wxTextCtrl_CanPaste 1818 +#define wxTextCtrl_CanRedo 1819 +#define wxTextCtrl_CanUndo 1820 +#define wxTextCtrl_Clear 1821 +#define wxTextCtrl_Copy 1822 +#define wxTextCtrl_Create 1823 +#define wxTextCtrl_Cut 1824 +#define wxTextCtrl_DiscardEdits 1825 +#define wxTextCtrl_EmulateKeyPress 1826 +#define wxTextCtrl_GetDefaultStyle 1827 +#define wxTextCtrl_GetInsertionPoint 1828 +#define wxTextCtrl_GetLastPosition 1829 +#define wxTextCtrl_GetLineLength 1830 +#define wxTextCtrl_GetLineText 1831 +#define wxTextCtrl_GetNumberOfLines 1832 +#define wxTextCtrl_GetRange 1833 +#define wxTextCtrl_GetSelection 1834 +#define wxTextCtrl_GetStringSelection 1835 +#define wxTextCtrl_GetStyle 1836 +#define wxTextCtrl_GetValue 1837 +#define wxTextCtrl_IsEditable 1838 +#define wxTextCtrl_IsModified 1839 +#define wxTextCtrl_IsMultiLine 1840 +#define wxTextCtrl_IsSingleLine 1841 +#define wxTextCtrl_LoadFile 1842 +#define wxTextCtrl_MarkDirty 1843 +#define wxTextCtrl_Paste 1844 +#define wxTextCtrl_PositionToXY 1845 +#define wxTextCtrl_Redo 1846 +#define wxTextCtrl_Remove 1847 +#define wxTextCtrl_Replace 1848 +#define wxTextCtrl_SaveFile 1849 +#define wxTextCtrl_SetDefaultStyle 1850 +#define wxTextCtrl_SetEditable 1851 +#define wxTextCtrl_SetInsertionPoint 1852 +#define wxTextCtrl_SetInsertionPointEnd 1853 +#define wxTextCtrl_SetMaxLength 1855 +#define wxTextCtrl_SetSelection 1856 +#define wxTextCtrl_SetStyle 1857 +#define wxTextCtrl_SetValue 1858 +#define wxTextCtrl_ShowPosition 1859 +#define wxTextCtrl_Undo 1860 +#define wxTextCtrl_WriteText 1861 +#define wxTextCtrl_XYToPosition 1862 +#define wxNotebook_new_0 1865 +#define wxNotebook_new_3 1866 +#define wxNotebook_destruct 1867 +#define wxNotebook_AddPage 1868 +#define wxNotebook_AdvanceSelection 1869 +#define wxNotebook_AssignImageList 1870 +#define wxNotebook_Create 1871 +#define wxNotebook_DeleteAllPages 1872 +#define wxNotebook_DeletePage 1873 +#define wxNotebook_RemovePage 1874 +#define wxNotebook_GetCurrentPage 1875 +#define wxNotebook_GetImageList 1876 +#define wxNotebook_GetPage 1878 +#define wxNotebook_GetPageCount 1879 +#define wxNotebook_GetPageImage 1880 +#define wxNotebook_GetPageText 1881 +#define wxNotebook_GetRowCount 1882 +#define wxNotebook_GetSelection 1883 +#define wxNotebook_GetThemeBackgroundColour 1884 +#define wxNotebook_HitTest 1886 +#define wxNotebook_InsertPage 1888 +#define wxNotebook_SetImageList 1889 +#define wxNotebook_SetPadding 1890 +#define wxNotebook_SetPageSize 1891 +#define wxNotebook_SetPageImage 1892 +#define wxNotebook_SetPageText 1893 +#define wxNotebook_SetSelection 1894 +#define wxNotebook_ChangeSelection 1895 +#define wxChoicebook_new_0 1896 +#define wxChoicebook_new_3 1897 +#define wxChoicebook_AddPage 1898 +#define wxChoicebook_AdvanceSelection 1899 +#define wxChoicebook_AssignImageList 1900 +#define wxChoicebook_Create 1901 +#define wxChoicebook_DeleteAllPages 1902 +#define wxChoicebook_DeletePage 1903 +#define wxChoicebook_RemovePage 1904 +#define wxChoicebook_GetCurrentPage 1905 +#define wxChoicebook_GetImageList 1906 +#define wxChoicebook_GetPage 1908 +#define wxChoicebook_GetPageCount 1909 +#define wxChoicebook_GetPageImage 1910 +#define wxChoicebook_GetPageText 1911 +#define wxChoicebook_GetSelection 1912 +#define wxChoicebook_HitTest 1913 +#define wxChoicebook_InsertPage 1914 +#define wxChoicebook_SetImageList 1915 +#define wxChoicebook_SetPageSize 1916 +#define wxChoicebook_SetPageImage 1917 +#define wxChoicebook_SetPageText 1918 +#define wxChoicebook_SetSelection 1919 +#define wxChoicebook_ChangeSelection 1920 +#define wxChoicebook_destroy 1921 +#define wxToolbook_new_0 1922 +#define wxToolbook_new_3 1923 +#define wxToolbook_AddPage 1924 +#define wxToolbook_AdvanceSelection 1925 +#define wxToolbook_AssignImageList 1926 +#define wxToolbook_Create 1927 +#define wxToolbook_DeleteAllPages 1928 +#define wxToolbook_DeletePage 1929 +#define wxToolbook_RemovePage 1930 +#define wxToolbook_GetCurrentPage 1931 +#define wxToolbook_GetImageList 1932 +#define wxToolbook_GetPage 1934 +#define wxToolbook_GetPageCount 1935 +#define wxToolbook_GetPageImage 1936 +#define wxToolbook_GetPageText 1937 +#define wxToolbook_GetSelection 1938 +#define wxToolbook_HitTest 1940 +#define wxToolbook_InsertPage 1941 +#define wxToolbook_SetImageList 1942 +#define wxToolbook_SetPageSize 1943 +#define wxToolbook_SetPageImage 1944 +#define wxToolbook_SetPageText 1945 +#define wxToolbook_SetSelection 1946 +#define wxToolbook_ChangeSelection 1947 +#define wxToolbook_destroy 1948 +#define wxListbook_new_0 1949 +#define wxListbook_new_3 1950 +#define wxListbook_AddPage 1951 +#define wxListbook_AdvanceSelection 1952 +#define wxListbook_AssignImageList 1953 +#define wxListbook_Create 1954 +#define wxListbook_DeleteAllPages 1955 +#define wxListbook_DeletePage 1956 +#define wxListbook_RemovePage 1957 +#define wxListbook_GetCurrentPage 1958 +#define wxListbook_GetImageList 1959 +#define wxListbook_GetPage 1961 +#define wxListbook_GetPageCount 1962 +#define wxListbook_GetPageImage 1963 +#define wxListbook_GetPageText 1964 +#define wxListbook_GetSelection 1965 +#define wxListbook_HitTest 1967 +#define wxListbook_InsertPage 1968 +#define wxListbook_SetImageList 1969 +#define wxListbook_SetPageSize 1970 +#define wxListbook_SetPageImage 1971 +#define wxListbook_SetPageText 1972 +#define wxListbook_SetSelection 1973 +#define wxListbook_ChangeSelection 1974 +#define wxListbook_destroy 1975 +#define wxTreebook_new_0 1976 +#define wxTreebook_new_3 1977 +#define wxTreebook_AddPage 1978 +#define wxTreebook_AdvanceSelection 1979 +#define wxTreebook_AssignImageList 1980 +#define wxTreebook_Create 1981 +#define wxTreebook_DeleteAllPages 1982 +#define wxTreebook_DeletePage 1983 +#define wxTreebook_RemovePage 1984 +#define wxTreebook_GetCurrentPage 1985 +#define wxTreebook_GetImageList 1986 +#define wxTreebook_GetPage 1988 +#define wxTreebook_GetPageCount 1989 +#define wxTreebook_GetPageImage 1990 +#define wxTreebook_GetPageText 1991 +#define wxTreebook_GetSelection 1992 +#define wxTreebook_ExpandNode 1993 +#define wxTreebook_IsNodeExpanded 1994 +#define wxTreebook_HitTest 1996 +#define wxTreebook_InsertPage 1997 +#define wxTreebook_InsertSubPage 1998 +#define wxTreebook_SetImageList 1999 +#define wxTreebook_SetPageSize 2000 +#define wxTreebook_SetPageImage 2001 +#define wxTreebook_SetPageText 2002 +#define wxTreebook_SetSelection 2003 +#define wxTreebook_ChangeSelection 2004 +#define wxTreebook_destroy 2005 +#define wxTreeCtrl_new_2 2008 +#define wxTreeCtrl_new_0 2009 +#define wxTreeCtrl_destruct 2011 +#define wxTreeCtrl_AddRoot 2012 +#define wxTreeCtrl_AppendItem 2013 +#define wxTreeCtrl_AssignImageList 2014 +#define wxTreeCtrl_AssignStateImageList 2015 +#define wxTreeCtrl_Collapse 2016 +#define wxTreeCtrl_CollapseAndReset 2017 +#define wxTreeCtrl_Create 2018 +#define wxTreeCtrl_Delete 2019 +#define wxTreeCtrl_DeleteAllItems 2020 +#define wxTreeCtrl_DeleteChildren 2021 +#define wxTreeCtrl_EditLabel 2022 +#define wxTreeCtrl_EnsureVisible 2023 +#define wxTreeCtrl_Expand 2024 +#define wxTreeCtrl_GetBoundingRect 2025 +#define wxTreeCtrl_GetChildrenCount 2027 +#define wxTreeCtrl_GetCount 2028 +#define wxTreeCtrl_GetEditControl 2029 +#define wxTreeCtrl_GetFirstChild 2030 +#define wxTreeCtrl_GetNextChild 2031 +#define wxTreeCtrl_GetFirstVisibleItem 2032 +#define wxTreeCtrl_GetImageList 2033 +#define wxTreeCtrl_GetIndent 2034 +#define wxTreeCtrl_GetItemBackgroundColour 2035 +#define wxTreeCtrl_GetItemData 2036 +#define wxTreeCtrl_GetItemFont 2037 +#define wxTreeCtrl_GetItemImage_1 2038 +#define wxTreeCtrl_GetItemImage_2 2039 +#define wxTreeCtrl_GetItemText 2040 +#define wxTreeCtrl_GetItemTextColour 2041 +#define wxTreeCtrl_GetLastChild 2042 +#define wxTreeCtrl_GetNextSibling 2043 +#define wxTreeCtrl_GetNextVisible 2044 +#define wxTreeCtrl_GetItemParent 2045 +#define wxTreeCtrl_GetPrevSibling 2046 +#define wxTreeCtrl_GetPrevVisible 2047 +#define wxTreeCtrl_GetRootItem 2048 +#define wxTreeCtrl_GetSelection 2049 +#define wxTreeCtrl_GetSelections 2050 +#define wxTreeCtrl_GetStateImageList 2051 +#define wxTreeCtrl_HitTest 2052 +#define wxTreeCtrl_InsertItem 2054 +#define wxTreeCtrl_IsBold 2055 +#define wxTreeCtrl_IsExpanded 2056 +#define wxTreeCtrl_IsSelected 2057 +#define wxTreeCtrl_IsVisible 2058 +#define wxTreeCtrl_ItemHasChildren 2059 +#define wxTreeCtrl_PrependItem 2060 +#define wxTreeCtrl_ScrollTo 2061 +#define wxTreeCtrl_SelectItem_1 2062 +#define wxTreeCtrl_SelectItem_2 2063 +#define wxTreeCtrl_SetIndent 2064 +#define wxTreeCtrl_SetImageList 2065 +#define wxTreeCtrl_SetItemBackgroundColour 2066 +#define wxTreeCtrl_SetItemBold 2067 +#define wxTreeCtrl_SetItemData 2068 +#define wxTreeCtrl_SetItemDropHighlight 2069 +#define wxTreeCtrl_SetItemFont 2070 +#define wxTreeCtrl_SetItemHasChildren 2071 +#define wxTreeCtrl_SetItemImage_2 2072 +#define wxTreeCtrl_SetItemImage_3 2073 +#define wxTreeCtrl_SetItemText 2074 +#define wxTreeCtrl_SetItemTextColour 2075 +#define wxTreeCtrl_SetStateImageList 2076 +#define wxTreeCtrl_SetWindowStyle 2077 +#define wxTreeCtrl_SortChildren 2078 +#define wxTreeCtrl_Toggle 2079 +#define wxTreeCtrl_ToggleItemSelection 2080 +#define wxTreeCtrl_Unselect 2081 +#define wxTreeCtrl_UnselectAll 2082 +#define wxTreeCtrl_UnselectItem 2083 +#define wxScrollBar_new_0 2084 +#define wxScrollBar_new_3 2085 +#define wxScrollBar_destruct 2086 +#define wxScrollBar_Create 2087 +#define wxScrollBar_GetRange 2088 +#define wxScrollBar_GetPageSize 2089 +#define wxScrollBar_GetThumbPosition 2090 +#define wxScrollBar_GetThumbSize 2091 +#define wxScrollBar_SetThumbPosition 2092 +#define wxScrollBar_SetScrollbar 2093 +#define wxSpinButton_new_2 2095 +#define wxSpinButton_new_0 2096 +#define wxSpinButton_Create 2097 +#define wxSpinButton_GetMax 2098 +#define wxSpinButton_GetMin 2099 +#define wxSpinButton_GetValue 2100 +#define wxSpinButton_SetRange 2101 +#define wxSpinButton_SetValue 2102 +#define wxSpinButton_destroy 2103 +#define wxSpinCtrl_new_0 2104 +#define wxSpinCtrl_new_2 2105 +#define wxSpinCtrl_Create 2107 +#define wxSpinCtrl_SetValue_1_1 2110 +#define wxSpinCtrl_SetValue_1_0 2111 +#define wxSpinCtrl_GetValue 2113 +#define wxSpinCtrl_SetRange 2115 +#define wxSpinCtrl_SetSelection 2116 +#define wxSpinCtrl_GetMin 2118 +#define wxSpinCtrl_GetMax 2120 +#define wxSpinCtrl_destroy 2121 +#define wxStaticText_new_0 2122 +#define wxStaticText_new_4 2123 +#define wxStaticText_Create 2124 +#define wxStaticText_GetLabel 2125 +#define wxStaticText_SetLabel 2126 +#define wxStaticText_Wrap 2127 +#define wxStaticText_destroy 2128 +#define wxStaticBitmap_new_0 2129 +#define wxStaticBitmap_new_4 2130 +#define wxStaticBitmap_Create 2131 +#define wxStaticBitmap_GetBitmap 2132 +#define wxStaticBitmap_SetBitmap 2133 +#define wxStaticBitmap_destroy 2134 +#define wxRadioBox_new 2135 +#define wxRadioBox_destruct 2137 +#define wxRadioBox_Create 2138 +#define wxRadioBox_Enable_2 2139 +#define wxRadioBox_Enable_1 2140 +#define wxRadioBox_GetSelection 2141 +#define wxRadioBox_GetString 2142 +#define wxRadioBox_SetSelection 2143 +#define wxRadioBox_Show_2 2144 +#define wxRadioBox_Show_1 2145 +#define wxRadioBox_GetColumnCount 2146 +#define wxRadioBox_GetItemHelpText 2147 +#define wxRadioBox_GetItemToolTip 2148 +#define wxRadioBox_GetItemFromPoint 2150 +#define wxRadioBox_GetRowCount 2151 +#define wxRadioBox_IsItemEnabled 2152 +#define wxRadioBox_IsItemShown 2153 +#define wxRadioBox_SetItemHelpText 2154 +#define wxRadioBox_SetItemToolTip 2155 +#define wxRadioButton_new_0 2156 +#define wxRadioButton_new_4 2157 +#define wxRadioButton_Create 2158 +#define wxRadioButton_GetValue 2159 +#define wxRadioButton_SetValue 2160 +#define wxRadioButton_destroy 2161 +#define wxSlider_new_6 2163 +#define wxSlider_new_0 2164 +#define wxSlider_Create 2165 +#define wxSlider_GetLineSize 2166 +#define wxSlider_GetMax 2167 +#define wxSlider_GetMin 2168 +#define wxSlider_GetPageSize 2169 +#define wxSlider_GetThumbLength 2170 +#define wxSlider_GetValue 2171 +#define wxSlider_SetLineSize 2172 +#define wxSlider_SetPageSize 2173 +#define wxSlider_SetRange 2174 +#define wxSlider_SetThumbLength 2175 +#define wxSlider_SetValue 2176 +#define wxSlider_destroy 2177 +#define wxDialog_new_4 2179 +#define wxDialog_new_0 2180 +#define wxDialog_destruct 2182 +#define wxDialog_Create 2183 +#define wxDialog_CreateButtonSizer 2184 +#define wxDialog_CreateStdDialogButtonSizer 2185 +#define wxDialog_EndModal 2186 +#define wxDialog_GetAffirmativeId 2187 +#define wxDialog_GetReturnCode 2188 +#define wxDialog_IsModal 2189 +#define wxDialog_SetAffirmativeId 2190 +#define wxDialog_SetReturnCode 2191 +#define wxDialog_Show 2192 +#define wxDialog_ShowModal 2193 +#define wxColourDialog_new_0 2194 +#define wxColourDialog_new_2 2195 +#define wxColourDialog_destruct 2196 +#define wxColourDialog_Create 2197 +#define wxColourDialog_GetColourData 2198 +#define wxColourData_new_0 2199 +#define wxColourData_new_1 2200 +#define wxColourData_destruct 2201 +#define wxColourData_GetChooseFull 2202 +#define wxColourData_GetColour 2203 +#define wxColourData_GetCustomColour 2205 +#define wxColourData_SetChooseFull 2206 +#define wxColourData_SetColour 2207 +#define wxColourData_SetCustomColour 2208 +#define wxPalette_new_0 2209 +#define wxPalette_new_4 2210 +#define wxPalette_destruct 2212 +#define wxPalette_Create 2213 +#define wxPalette_GetColoursCount 2214 +#define wxPalette_GetPixel 2215 +#define wxPalette_GetRGB 2216 +#define wxPalette_IsOk 2217 +#define wxDirDialog_new 2221 +#define wxDirDialog_destruct 2222 +#define wxDirDialog_GetPath 2223 +#define wxDirDialog_GetMessage 2224 +#define wxDirDialog_SetMessage 2225 +#define wxDirDialog_SetPath 2226 +#define wxFileDialog_new 2230 +#define wxFileDialog_destruct 2231 +#define wxFileDialog_GetDirectory 2232 +#define wxFileDialog_GetFilename 2233 +#define wxFileDialog_GetFilenames 2234 +#define wxFileDialog_GetFilterIndex 2235 +#define wxFileDialog_GetMessage 2236 +#define wxFileDialog_GetPath 2237 +#define wxFileDialog_GetPaths 2238 +#define wxFileDialog_GetWildcard 2239 +#define wxFileDialog_SetDirectory 2240 +#define wxFileDialog_SetFilename 2241 +#define wxFileDialog_SetFilterIndex 2242 +#define wxFileDialog_SetMessage 2243 +#define wxFileDialog_SetPath 2244 +#define wxFileDialog_SetWildcard 2245 +#define wxPickerBase_SetInternalMargin 2246 +#define wxPickerBase_GetInternalMargin 2247 +#define wxPickerBase_SetTextCtrlProportion 2248 +#define wxPickerBase_SetPickerCtrlProportion 2249 +#define wxPickerBase_GetTextCtrlProportion 2250 +#define wxPickerBase_GetPickerCtrlProportion 2251 +#define wxPickerBase_HasTextCtrl 2252 +#define wxPickerBase_GetTextCtrl 2253 +#define wxPickerBase_IsTextCtrlGrowable 2254 +#define wxPickerBase_SetPickerCtrlGrowable 2255 +#define wxPickerBase_SetTextCtrlGrowable 2256 +#define wxPickerBase_IsPickerCtrlGrowable 2257 +#define wxFilePickerCtrl_new_0 2258 +#define wxFilePickerCtrl_new_3 2259 +#define wxFilePickerCtrl_Create 2260 +#define wxFilePickerCtrl_GetPath 2261 +#define wxFilePickerCtrl_SetPath 2262 +#define wxFilePickerCtrl_destroy 2263 +#define wxDirPickerCtrl_new_0 2264 +#define wxDirPickerCtrl_new_3 2265 +#define wxDirPickerCtrl_Create 2266 +#define wxDirPickerCtrl_GetPath 2267 +#define wxDirPickerCtrl_SetPath 2268 +#define wxDirPickerCtrl_destroy 2269 +#define wxColourPickerCtrl_new_0 2270 +#define wxColourPickerCtrl_new_3 2271 +#define wxColourPickerCtrl_Create 2272 +#define wxColourPickerCtrl_GetColour 2273 +#define wxColourPickerCtrl_SetColour_1_1 2274 +#define wxColourPickerCtrl_SetColour_1_0 2275 +#define wxColourPickerCtrl_destroy 2276 +#define wxDatePickerCtrl_new_0 2277 +#define wxDatePickerCtrl_new_3 2278 +#define wxDatePickerCtrl_GetRange 2279 +#define wxDatePickerCtrl_GetValue 2280 +#define wxDatePickerCtrl_SetRange 2281 +#define wxDatePickerCtrl_SetValue 2282 +#define wxDatePickerCtrl_destroy 2283 +#define wxFontPickerCtrl_new_0 2284 +#define wxFontPickerCtrl_new_3 2285 +#define wxFontPickerCtrl_Create 2286 +#define wxFontPickerCtrl_GetSelectedFont 2287 +#define wxFontPickerCtrl_SetSelectedFont 2288 +#define wxFontPickerCtrl_GetMaxPointSize 2289 +#define wxFontPickerCtrl_SetMaxPointSize 2290 +#define wxFontPickerCtrl_destroy 2291 +#define wxFindReplaceDialog_new_0 2294 +#define wxFindReplaceDialog_new_4 2295 +#define wxFindReplaceDialog_destruct 2296 +#define wxFindReplaceDialog_Create 2297 +#define wxFindReplaceDialog_GetData 2298 +#define wxFindReplaceData_new_0 2299 +#define wxFindReplaceData_new_1 2300 +#define wxFindReplaceData_GetFindString 2301 +#define wxFindReplaceData_GetReplaceString 2302 +#define wxFindReplaceData_GetFlags 2303 +#define wxFindReplaceData_SetFlags 2304 +#define wxFindReplaceData_SetFindString 2305 +#define wxFindReplaceData_SetReplaceString 2306 +#define wxFindReplaceData_destroy 2307 +#define wxMultiChoiceDialog_new_0 2308 +#define wxMultiChoiceDialog_new_5 2310 +#define wxMultiChoiceDialog_GetSelections 2311 +#define wxMultiChoiceDialog_SetSelections 2312 +#define wxMultiChoiceDialog_destroy 2313 +#define wxSingleChoiceDialog_new_0 2314 +#define wxSingleChoiceDialog_new_5 2316 +#define wxSingleChoiceDialog_GetSelection 2317 +#define wxSingleChoiceDialog_GetStringSelection 2318 +#define wxSingleChoiceDialog_SetSelection 2319 +#define wxSingleChoiceDialog_destroy 2320 +#define wxTextEntryDialog_new 2321 +#define wxTextEntryDialog_GetValue 2322 +#define wxTextEntryDialog_SetValue 2323 +#define wxTextEntryDialog_destroy 2324 +#define wxPasswordEntryDialog_new 2325 +#define wxPasswordEntryDialog_destroy 2326 +#define wxFontData_new_0 2327 +#define wxFontData_new_1 2328 +#define wxFontData_destruct 2329 +#define wxFontData_EnableEffects 2330 +#define wxFontData_GetAllowSymbols 2331 +#define wxFontData_GetColour 2332 +#define wxFontData_GetChosenFont 2333 +#define wxFontData_GetEnableEffects 2334 +#define wxFontData_GetInitialFont 2335 +#define wxFontData_GetShowHelp 2336 +#define wxFontData_SetAllowSymbols 2337 +#define wxFontData_SetChosenFont 2338 +#define wxFontData_SetColour 2339 +#define wxFontData_SetInitialFont 2340 +#define wxFontData_SetRange 2341 +#define wxFontData_SetShowHelp 2342 +#define wxFontDialog_new_0 2346 +#define wxFontDialog_new_2 2348 +#define wxFontDialog_Create 2350 +#define wxFontDialog_GetFontData 2351 +#define wxFontDialog_destroy 2353 +#define wxProgressDialog_new 2354 +#define wxProgressDialog_destruct 2355 +#define wxProgressDialog_Resume 2356 +#define wxProgressDialog_Update_2 2357 +#define wxProgressDialog_Update_0 2358 +#define wxMessageDialog_new 2359 +#define wxMessageDialog_destruct 2360 +#define wxPageSetupDialog_new 2361 +#define wxPageSetupDialog_destruct 2362 +#define wxPageSetupDialog_GetPageSetupData 2363 +#define wxPageSetupDialog_ShowModal 2364 +#define wxPageSetupDialogData_new_0 2365 +#define wxPageSetupDialogData_new_1_0 2366 +#define wxPageSetupDialogData_new_1_1 2367 +#define wxPageSetupDialogData_destruct 2368 +#define wxPageSetupDialogData_EnableHelp 2369 +#define wxPageSetupDialogData_EnableMargins 2370 +#define wxPageSetupDialogData_EnableOrientation 2371 +#define wxPageSetupDialogData_EnablePaper 2372 +#define wxPageSetupDialogData_EnablePrinter 2373 +#define wxPageSetupDialogData_GetDefaultMinMargins 2374 +#define wxPageSetupDialogData_GetEnableMargins 2375 +#define wxPageSetupDialogData_GetEnableOrientation 2376 +#define wxPageSetupDialogData_GetEnablePaper 2377 +#define wxPageSetupDialogData_GetEnablePrinter 2378 +#define wxPageSetupDialogData_GetEnableHelp 2379 +#define wxPageSetupDialogData_GetDefaultInfo 2380 +#define wxPageSetupDialogData_GetMarginTopLeft 2381 +#define wxPageSetupDialogData_GetMarginBottomRight 2382 +#define wxPageSetupDialogData_GetMinMarginTopLeft 2383 +#define wxPageSetupDialogData_GetMinMarginBottomRight 2384 +#define wxPageSetupDialogData_GetPaperId 2385 +#define wxPageSetupDialogData_GetPaperSize 2386 +#define wxPageSetupDialogData_GetPrintData 2388 +#define wxPageSetupDialogData_IsOk 2389 +#define wxPageSetupDialogData_SetDefaultInfo 2390 +#define wxPageSetupDialogData_SetDefaultMinMargins 2391 +#define wxPageSetupDialogData_SetMarginTopLeft 2392 +#define wxPageSetupDialogData_SetMarginBottomRight 2393 +#define wxPageSetupDialogData_SetMinMarginTopLeft 2394 +#define wxPageSetupDialogData_SetMinMarginBottomRight 2395 +#define wxPageSetupDialogData_SetPaperId 2396 +#define wxPageSetupDialogData_SetPaperSize_1_1 2397 +#define wxPageSetupDialogData_SetPaperSize_1_0 2398 +#define wxPageSetupDialogData_SetPrintData 2399 +#define wxPrintDialog_new_2_0 2400 +#define wxPrintDialog_new_2_1 2401 +#define wxPrintDialog_destruct 2402 +#define wxPrintDialog_GetPrintDialogData 2403 +#define wxPrintDialog_GetPrintDC 2404 +#define wxPrintDialogData_new_0 2405 +#define wxPrintDialogData_new_1_1 2406 +#define wxPrintDialogData_new_1_0 2407 +#define wxPrintDialogData_destruct 2408 +#define wxPrintDialogData_EnableHelp 2409 +#define wxPrintDialogData_EnablePageNumbers 2410 +#define wxPrintDialogData_EnablePrintToFile 2411 +#define wxPrintDialogData_EnableSelection 2412 +#define wxPrintDialogData_GetAllPages 2413 +#define wxPrintDialogData_GetCollate 2414 +#define wxPrintDialogData_GetFromPage 2415 +#define wxPrintDialogData_GetMaxPage 2416 +#define wxPrintDialogData_GetMinPage 2417 +#define wxPrintDialogData_GetNoCopies 2418 +#define wxPrintDialogData_GetPrintData 2419 +#define wxPrintDialogData_GetPrintToFile 2420 +#define wxPrintDialogData_GetSelection 2421 +#define wxPrintDialogData_GetToPage 2422 +#define wxPrintDialogData_IsOk 2423 +#define wxPrintDialogData_SetCollate 2424 +#define wxPrintDialogData_SetFromPage 2425 +#define wxPrintDialogData_SetMaxPage 2426 +#define wxPrintDialogData_SetMinPage 2427 +#define wxPrintDialogData_SetNoCopies 2428 +#define wxPrintDialogData_SetPrintData 2429 +#define wxPrintDialogData_SetPrintToFile 2430 +#define wxPrintDialogData_SetSelection 2431 +#define wxPrintDialogData_SetToPage 2432 +#define wxPrintData_new_0 2433 +#define wxPrintData_new_1 2434 +#define wxPrintData_destruct 2435 +#define wxPrintData_GetCollate 2436 +#define wxPrintData_GetBin 2437 +#define wxPrintData_GetColour 2438 +#define wxPrintData_GetDuplex 2439 +#define wxPrintData_GetNoCopies 2440 +#define wxPrintData_GetOrientation 2441 +#define wxPrintData_GetPaperId 2442 +#define wxPrintData_GetPrinterName 2443 +#define wxPrintData_GetQuality 2444 +#define wxPrintData_IsOk 2445 +#define wxPrintData_SetBin 2446 +#define wxPrintData_SetCollate 2447 +#define wxPrintData_SetColour 2448 +#define wxPrintData_SetDuplex 2449 +#define wxPrintData_SetNoCopies 2450 +#define wxPrintData_SetOrientation 2451 +#define wxPrintData_SetPaperId 2452 +#define wxPrintData_SetPrinterName 2453 +#define wxPrintData_SetQuality 2454 +#define wxPrintPreview_new_2 2457 +#define wxPrintPreview_new_3 2458 +#define wxPrintPreview_destruct 2460 +#define wxPrintPreview_GetCanvas 2461 +#define wxPrintPreview_GetCurrentPage 2462 +#define wxPrintPreview_GetFrame 2463 +#define wxPrintPreview_GetMaxPage 2464 +#define wxPrintPreview_GetMinPage 2465 +#define wxPrintPreview_GetPrintout 2466 +#define wxPrintPreview_GetPrintoutForPrinting 2467 +#define wxPrintPreview_IsOk 2468 +#define wxPrintPreview_PaintPage 2469 +#define wxPrintPreview_Print 2470 +#define wxPrintPreview_RenderPage 2471 +#define wxPrintPreview_SetCanvas 2472 +#define wxPrintPreview_SetCurrentPage 2473 +#define wxPrintPreview_SetFrame 2474 +#define wxPrintPreview_SetPrintout 2475 +#define wxPrintPreview_SetZoom 2476 +#define wxPreviewFrame_new 2477 +#define wxPreviewFrame_destruct 2478 +#define wxPreviewFrame_CreateControlBar 2479 +#define wxPreviewFrame_CreateCanvas 2480 +#define wxPreviewFrame_Initialize 2481 +#define wxPreviewFrame_OnCloseWindow 2482 +#define wxPreviewControlBar_new 2483 +#define wxPreviewControlBar_destruct 2484 +#define wxPreviewControlBar_CreateButtons 2485 +#define wxPreviewControlBar_GetPrintPreview 2486 +#define wxPreviewControlBar_GetZoomControl 2487 +#define wxPreviewControlBar_SetZoomControl 2488 +#define wxPrinter_new 2490 +#define wxPrinter_CreateAbortWindow 2491 +#define wxPrinter_GetAbort 2492 +#define wxPrinter_GetLastError 2493 +#define wxPrinter_GetPrintDialogData 2494 +#define wxPrinter_Print 2495 +#define wxPrinter_PrintDialog 2496 +#define wxPrinter_ReportError 2497 +#define wxPrinter_Setup 2498 +#define wxPrinter_destroy 2499 +#define wxXmlResource_new_1 2500 +#define wxXmlResource_new_2 2501 +#define wxXmlResource_destruct 2502 +#define wxXmlResource_AttachUnknownControl 2503 +#define wxXmlResource_ClearHandlers 2504 +#define wxXmlResource_CompareVersion 2505 +#define wxXmlResource_Get 2506 +#define wxXmlResource_GetFlags 2507 +#define wxXmlResource_GetVersion 2508 +#define wxXmlResource_GetXRCID 2509 +#define wxXmlResource_InitAllHandlers 2510 +#define wxXmlResource_Load 2511 +#define wxXmlResource_LoadBitmap 2512 +#define wxXmlResource_LoadDialog_2 2513 +#define wxXmlResource_LoadDialog_3 2514 +#define wxXmlResource_LoadFrame_2 2515 +#define wxXmlResource_LoadFrame_3 2516 +#define wxXmlResource_LoadIcon 2517 +#define wxXmlResource_LoadMenu 2518 +#define wxXmlResource_LoadMenuBar_2 2519 +#define wxXmlResource_LoadMenuBar_1 2520 +#define wxXmlResource_LoadPanel_2 2521 +#define wxXmlResource_LoadPanel_3 2522 +#define wxXmlResource_LoadToolBar 2523 +#define wxXmlResource_Set 2524 +#define wxXmlResource_SetFlags 2525 +#define wxXmlResource_Unload 2526 +#define wxXmlResource_xrcctrl 2527 +#define wxHtmlEasyPrinting_new 2528 +#define wxHtmlEasyPrinting_destruct 2529 +#define wxHtmlEasyPrinting_GetPrintData 2530 +#define wxHtmlEasyPrinting_GetPageSetupData 2531 +#define wxHtmlEasyPrinting_PreviewFile 2532 +#define wxHtmlEasyPrinting_PreviewText 2533 +#define wxHtmlEasyPrinting_PrintFile 2534 +#define wxHtmlEasyPrinting_PrintText 2535 +#define wxHtmlEasyPrinting_PageSetup 2536 +#define wxHtmlEasyPrinting_SetFonts 2537 +#define wxHtmlEasyPrinting_SetHeader 2538 +#define wxHtmlEasyPrinting_SetFooter 2539 +#define wxGLCanvas_new_2 2541 +#define wxGLCanvas_new_3_1 2542 +#define wxGLCanvas_new_3_0 2543 +#define wxGLCanvas_GetContext 2544 +#define wxGLCanvas_SetCurrent 2546 +#define wxGLCanvas_SwapBuffers 2547 +#define wxGLCanvas_destroy 2548 +#define wxAuiManager_new 2549 +#define wxAuiManager_destruct 2550 +#define wxAuiManager_AddPane_2_1 2551 +#define wxAuiManager_AddPane_3 2552 +#define wxAuiManager_AddPane_2_0 2553 +#define wxAuiManager_DetachPane 2554 +#define wxAuiManager_GetAllPanes 2555 +#define wxAuiManager_GetArtProvider 2556 +#define wxAuiManager_GetDockSizeConstraint 2557 +#define wxAuiManager_GetFlags 2558 +#define wxAuiManager_GetManagedWindow 2559 +#define wxAuiManager_GetManager 2560 +#define wxAuiManager_GetPane_1_1 2561 +#define wxAuiManager_GetPane_1_0 2562 +#define wxAuiManager_HideHint 2563 +#define wxAuiManager_InsertPane 2564 +#define wxAuiManager_LoadPaneInfo 2565 +#define wxAuiManager_LoadPerspective 2566 +#define wxAuiManager_SavePaneInfo 2567 +#define wxAuiManager_SavePerspective 2568 +#define wxAuiManager_SetArtProvider 2569 +#define wxAuiManager_SetDockSizeConstraint 2570 +#define wxAuiManager_SetFlags 2571 +#define wxAuiManager_SetManagedWindow 2572 +#define wxAuiManager_ShowHint 2573 +#define wxAuiManager_UnInit 2574 +#define wxAuiManager_Update 2575 +#define wxAuiPaneInfo_new_0 2576 +#define wxAuiPaneInfo_new_1 2577 +#define wxAuiPaneInfo_destruct 2578 +#define wxAuiPaneInfo_BestSize_1 2579 +#define wxAuiPaneInfo_BestSize_2 2580 +#define wxAuiPaneInfo_Bottom 2581 +#define wxAuiPaneInfo_BottomDockable 2582 +#define wxAuiPaneInfo_Caption 2583 +#define wxAuiPaneInfo_CaptionVisible 2584 +#define wxAuiPaneInfo_Centre 2585 +#define wxAuiPaneInfo_CentrePane 2586 +#define wxAuiPaneInfo_CloseButton 2587 +#define wxAuiPaneInfo_DefaultPane 2588 +#define wxAuiPaneInfo_DestroyOnClose 2589 +#define wxAuiPaneInfo_Direction 2590 +#define wxAuiPaneInfo_Dock 2591 +#define wxAuiPaneInfo_Dockable 2592 +#define wxAuiPaneInfo_Fixed 2593 +#define wxAuiPaneInfo_Float 2594 +#define wxAuiPaneInfo_Floatable 2595 +#define wxAuiPaneInfo_FloatingPosition_1 2596 +#define wxAuiPaneInfo_FloatingPosition_2 2597 +#define wxAuiPaneInfo_FloatingSize_1 2598 +#define wxAuiPaneInfo_FloatingSize_2 2599 +#define wxAuiPaneInfo_Gripper 2600 +#define wxAuiPaneInfo_GripperTop 2601 +#define wxAuiPaneInfo_HasBorder 2602 +#define wxAuiPaneInfo_HasCaption 2603 +#define wxAuiPaneInfo_HasCloseButton 2604 +#define wxAuiPaneInfo_HasFlag 2605 +#define wxAuiPaneInfo_HasGripper 2606 +#define wxAuiPaneInfo_HasGripperTop 2607 +#define wxAuiPaneInfo_HasMaximizeButton 2608 +#define wxAuiPaneInfo_HasMinimizeButton 2609 +#define wxAuiPaneInfo_HasPinButton 2610 +#define wxAuiPaneInfo_Hide 2611 +#define wxAuiPaneInfo_IsBottomDockable 2612 +#define wxAuiPaneInfo_IsDocked 2613 +#define wxAuiPaneInfo_IsFixed 2614 +#define wxAuiPaneInfo_IsFloatable 2615 +#define wxAuiPaneInfo_IsFloating 2616 +#define wxAuiPaneInfo_IsLeftDockable 2617 +#define wxAuiPaneInfo_IsMovable 2618 +#define wxAuiPaneInfo_IsOk 2619 +#define wxAuiPaneInfo_IsResizable 2620 +#define wxAuiPaneInfo_IsRightDockable 2621 +#define wxAuiPaneInfo_IsShown 2622 +#define wxAuiPaneInfo_IsToolbar 2623 +#define wxAuiPaneInfo_IsTopDockable 2624 +#define wxAuiPaneInfo_Layer 2625 +#define wxAuiPaneInfo_Left 2626 +#define wxAuiPaneInfo_LeftDockable 2627 +#define wxAuiPaneInfo_MaxSize_1 2628 +#define wxAuiPaneInfo_MaxSize_2 2629 +#define wxAuiPaneInfo_MaximizeButton 2630 +#define wxAuiPaneInfo_MinSize_1 2631 +#define wxAuiPaneInfo_MinSize_2 2632 +#define wxAuiPaneInfo_MinimizeButton 2633 +#define wxAuiPaneInfo_Movable 2634 +#define wxAuiPaneInfo_Name 2635 +#define wxAuiPaneInfo_PaneBorder 2636 +#define wxAuiPaneInfo_PinButton 2637 +#define wxAuiPaneInfo_Position 2638 +#define wxAuiPaneInfo_Resizable 2639 +#define wxAuiPaneInfo_Right 2640 +#define wxAuiPaneInfo_RightDockable 2641 +#define wxAuiPaneInfo_Row 2642 +#define wxAuiPaneInfo_SafeSet 2643 +#define wxAuiPaneInfo_SetFlag 2644 +#define wxAuiPaneInfo_Show 2645 +#define wxAuiPaneInfo_ToolbarPane 2646 +#define wxAuiPaneInfo_Top 2647 +#define wxAuiPaneInfo_TopDockable 2648 +#define wxAuiPaneInfo_Window 2649 +#define wxAuiNotebook_new_0 2650 +#define wxAuiNotebook_new_2 2651 +#define wxAuiNotebook_AddPage 2652 +#define wxAuiNotebook_Create 2653 +#define wxAuiNotebook_DeletePage 2654 +#define wxAuiNotebook_GetArtProvider 2655 +#define wxAuiNotebook_GetPage 2656 +#define wxAuiNotebook_GetPageBitmap 2657 +#define wxAuiNotebook_GetPageCount 2658 +#define wxAuiNotebook_GetPageIndex 2659 +#define wxAuiNotebook_GetPageText 2660 +#define wxAuiNotebook_GetSelection 2661 +#define wxAuiNotebook_InsertPage 2662 +#define wxAuiNotebook_RemovePage 2663 +#define wxAuiNotebook_SetArtProvider 2664 +#define wxAuiNotebook_SetFont 2665 +#define wxAuiNotebook_SetPageBitmap 2666 +#define wxAuiNotebook_SetPageText 2667 +#define wxAuiNotebook_SetSelection 2668 +#define wxAuiNotebook_SetTabCtrlHeight 2669 +#define wxAuiNotebook_SetUniformBitmapSize 2670 +#define wxAuiNotebook_destroy 2671 +#define wxMDIParentFrame_new_0 2672 +#define wxMDIParentFrame_new_4 2673 +#define wxMDIParentFrame_destruct 2674 +#define wxMDIParentFrame_ActivateNext 2675 +#define wxMDIParentFrame_ActivatePrevious 2676 +#define wxMDIParentFrame_ArrangeIcons 2677 +#define wxMDIParentFrame_Cascade 2678 +#define wxMDIParentFrame_Create 2679 +#define wxMDIParentFrame_GetActiveChild 2680 +#define wxMDIParentFrame_GetClientWindow 2681 +#define wxMDIParentFrame_Tile 2682 +#define wxMDIChildFrame_new_0 2683 +#define wxMDIChildFrame_new_4 2684 +#define wxMDIChildFrame_destruct 2685 +#define wxMDIChildFrame_Activate 2686 +#define wxMDIChildFrame_Create 2687 +#define wxMDIChildFrame_Maximize 2688 +#define wxMDIChildFrame_Restore 2689 +#define wxMDIClientWindow_new_0 2690 +#define wxMDIClientWindow_new_2 2691 +#define wxMDIClientWindow_destruct 2692 +#define wxMDIClientWindow_CreateClient 2693 +#define wxLayoutAlgorithm_new 2694 +#define wxLayoutAlgorithm_LayoutFrame 2695 +#define wxLayoutAlgorithm_LayoutMDIFrame 2696 +#define wxLayoutAlgorithm_LayoutWindow 2697 +#define wxLayoutAlgorithm_destroy 2698 +#define wxEvent_GetId 2699 +#define wxEvent_GetSkipped 2700 +#define wxEvent_GetTimestamp 2701 +#define wxEvent_IsCommandEvent 2702 +#define wxEvent_ResumePropagation 2703 +#define wxEvent_ShouldPropagate 2704 +#define wxEvent_Skip 2705 +#define wxEvent_StopPropagation 2706 +#define wxCommandEvent_getClientData 2707 +#define wxCommandEvent_GetExtraLong 2708 +#define wxCommandEvent_GetInt 2709 +#define wxCommandEvent_GetSelection 2710 +#define wxCommandEvent_GetString 2711 +#define wxCommandEvent_IsChecked 2712 +#define wxCommandEvent_IsSelection 2713 +#define wxCommandEvent_SetInt 2714 +#define wxCommandEvent_SetString 2715 +#define wxScrollEvent_GetOrientation 2716 +#define wxScrollEvent_GetPosition 2717 +#define wxScrollWinEvent_GetOrientation 2718 +#define wxScrollWinEvent_GetPosition 2719 +#define wxMouseEvent_AltDown 2720 +#define wxMouseEvent_Button 2721 +#define wxMouseEvent_ButtonDClick 2722 +#define wxMouseEvent_ButtonDown 2723 +#define wxMouseEvent_ButtonUp 2724 +#define wxMouseEvent_CmdDown 2725 +#define wxMouseEvent_ControlDown 2726 +#define wxMouseEvent_Dragging 2727 +#define wxMouseEvent_Entering 2728 +#define wxMouseEvent_GetButton 2729 +#define wxMouseEvent_GetPosition 2732 +#define wxMouseEvent_GetLogicalPosition 2733 +#define wxMouseEvent_GetLinesPerAction 2734 +#define wxMouseEvent_GetWheelRotation 2735 +#define wxMouseEvent_GetWheelDelta 2736 +#define wxMouseEvent_GetX 2737 +#define wxMouseEvent_GetY 2738 +#define wxMouseEvent_IsButton 2739 +#define wxMouseEvent_IsPageScroll 2740 +#define wxMouseEvent_Leaving 2741 +#define wxMouseEvent_LeftDClick 2742 +#define wxMouseEvent_LeftDown 2743 +#define wxMouseEvent_LeftIsDown 2744 +#define wxMouseEvent_LeftUp 2745 +#define wxMouseEvent_MetaDown 2746 +#define wxMouseEvent_MiddleDClick 2747 +#define wxMouseEvent_MiddleDown 2748 +#define wxMouseEvent_MiddleIsDown 2749 +#define wxMouseEvent_MiddleUp 2750 +#define wxMouseEvent_Moving 2751 +#define wxMouseEvent_RightDClick 2752 +#define wxMouseEvent_RightDown 2753 +#define wxMouseEvent_RightIsDown 2754 +#define wxMouseEvent_RightUp 2755 +#define wxMouseEvent_ShiftDown 2756 +#define wxSetCursorEvent_GetCursor 2757 +#define wxSetCursorEvent_GetX 2758 +#define wxSetCursorEvent_GetY 2759 +#define wxSetCursorEvent_HasCursor 2760 +#define wxSetCursorEvent_SetCursor 2761 +#define wxKeyEvent_AltDown 2762 +#define wxKeyEvent_CmdDown 2763 +#define wxKeyEvent_ControlDown 2764 +#define wxKeyEvent_GetKeyCode 2765 +#define wxKeyEvent_GetModifiers 2766 +#define wxKeyEvent_GetPosition 2769 +#define wxKeyEvent_GetRawKeyCode 2770 +#define wxKeyEvent_GetRawKeyFlags 2771 +#define wxKeyEvent_GetUnicodeKey 2772 +#define wxKeyEvent_GetX 2773 +#define wxKeyEvent_GetY 2774 +#define wxKeyEvent_HasModifiers 2775 +#define wxKeyEvent_MetaDown 2776 +#define wxKeyEvent_ShiftDown 2777 +#define wxSizeEvent_GetSize 2778 +#define wxMoveEvent_GetPosition 2779 +#define wxEraseEvent_GetDC 2780 +#define wxFocusEvent_GetWindow 2781 +#define wxChildFocusEvent_GetWindow 2782 +#define wxMenuEvent_GetMenu 2783 +#define wxMenuEvent_GetMenuId 2784 +#define wxMenuEvent_IsPopup 2785 +#define wxCloseEvent_CanVeto 2786 +#define wxCloseEvent_GetLoggingOff 2787 +#define wxCloseEvent_SetCanVeto 2788 +#define wxCloseEvent_SetLoggingOff 2789 +#define wxCloseEvent_Veto 2790 +#define wxShowEvent_SetShow 2791 +#define wxShowEvent_GetShow 2792 +#define wxIconizeEvent_Iconized 2793 +#define wxJoystickEvent_ButtonDown 2794 +#define wxJoystickEvent_ButtonIsDown 2795 +#define wxJoystickEvent_ButtonUp 2796 +#define wxJoystickEvent_GetButtonChange 2797 +#define wxJoystickEvent_GetButtonState 2798 +#define wxJoystickEvent_GetJoystick 2799 +#define wxJoystickEvent_GetPosition 2800 +#define wxJoystickEvent_GetZPosition 2801 +#define wxJoystickEvent_IsButton 2802 +#define wxJoystickEvent_IsMove 2803 +#define wxJoystickEvent_IsZMove 2804 +#define wxUpdateUIEvent_CanUpdate 2805 +#define wxUpdateUIEvent_Check 2806 +#define wxUpdateUIEvent_Enable 2807 +#define wxUpdateUIEvent_Show 2808 +#define wxUpdateUIEvent_GetChecked 2809 +#define wxUpdateUIEvent_GetEnabled 2810 +#define wxUpdateUIEvent_GetShown 2811 +#define wxUpdateUIEvent_GetSetChecked 2812 +#define wxUpdateUIEvent_GetSetEnabled 2813 +#define wxUpdateUIEvent_GetSetShown 2814 +#define wxUpdateUIEvent_GetSetText 2815 +#define wxUpdateUIEvent_GetText 2816 +#define wxUpdateUIEvent_GetMode 2817 +#define wxUpdateUIEvent_GetUpdateInterval 2818 +#define wxUpdateUIEvent_ResetUpdateTime 2819 +#define wxUpdateUIEvent_SetMode 2820 +#define wxUpdateUIEvent_SetText 2821 +#define wxUpdateUIEvent_SetUpdateInterval 2822 +#define wxMouseCaptureChangedEvent_GetCapturedWindow 2823 +#define wxPaletteChangedEvent_SetChangedWindow 2824 +#define wxPaletteChangedEvent_GetChangedWindow 2825 +#define wxQueryNewPaletteEvent_SetPaletteRealized 2826 +#define wxQueryNewPaletteEvent_GetPaletteRealized 2827 +#define wxNavigationKeyEvent_GetDirection 2828 +#define wxNavigationKeyEvent_SetDirection 2829 +#define wxNavigationKeyEvent_IsWindowChange 2830 +#define wxNavigationKeyEvent_SetWindowChange 2831 +#define wxNavigationKeyEvent_IsFromTab 2832 +#define wxNavigationKeyEvent_SetFromTab 2833 +#define wxNavigationKeyEvent_GetCurrentFocus 2834 +#define wxNavigationKeyEvent_SetCurrentFocus 2835 +#define wxHelpEvent_GetOrigin 2836 +#define wxHelpEvent_GetPosition 2837 +#define wxHelpEvent_SetOrigin 2838 +#define wxHelpEvent_SetPosition 2839 +#define wxContextMenuEvent_GetPosition 2840 +#define wxContextMenuEvent_SetPosition 2841 +#define wxIdleEvent_CanSend 2842 +#define wxIdleEvent_GetMode 2843 +#define wxIdleEvent_RequestMore 2844 +#define wxIdleEvent_MoreRequested 2845 +#define wxIdleEvent_SetMode 2846 +#define wxGridEvent_AltDown 2847 +#define wxGridEvent_ControlDown 2848 +#define wxGridEvent_GetCol 2849 +#define wxGridEvent_GetPosition 2850 +#define wxGridEvent_GetRow 2851 +#define wxGridEvent_MetaDown 2852 +#define wxGridEvent_Selecting 2853 +#define wxGridEvent_ShiftDown 2854 +#define wxNotifyEvent_Allow 2855 +#define wxNotifyEvent_IsAllowed 2856 +#define wxNotifyEvent_Veto 2857 +#define wxSashEvent_GetEdge 2858 +#define wxSashEvent_GetDragRect 2859 +#define wxSashEvent_GetDragStatus 2860 +#define wxListEvent_GetCacheFrom 2861 +#define wxListEvent_GetCacheTo 2862 +#define wxListEvent_GetKeyCode 2863 +#define wxListEvent_GetIndex 2864 +#define wxListEvent_GetColumn 2865 +#define wxListEvent_GetPoint 2866 +#define wxListEvent_GetLabel 2867 +#define wxListEvent_GetText 2868 +#define wxListEvent_GetImage 2869 +#define wxListEvent_GetData 2870 +#define wxListEvent_GetMask 2871 +#define wxListEvent_GetItem 2872 +#define wxListEvent_IsEditCancelled 2873 +#define wxDateEvent_GetDate 2874 +#define wxCalendarEvent_GetWeekDay 2875 +#define wxFileDirPickerEvent_GetPath 2876 +#define wxColourPickerEvent_GetColour 2877 +#define wxFontPickerEvent_GetFont 2878 +#define wxStyledTextEvent_GetPosition 2879 +#define wxStyledTextEvent_GetKey 2880 +#define wxStyledTextEvent_GetModifiers 2881 +#define wxStyledTextEvent_GetModificationType 2882 +#define wxStyledTextEvent_GetText 2883 +#define wxStyledTextEvent_GetLength 2884 +#define wxStyledTextEvent_GetLinesAdded 2885 +#define wxStyledTextEvent_GetLine 2886 +#define wxStyledTextEvent_GetFoldLevelNow 2887 +#define wxStyledTextEvent_GetFoldLevelPrev 2888 +#define wxStyledTextEvent_GetMargin 2889 +#define wxStyledTextEvent_GetMessage 2890 +#define wxStyledTextEvent_GetWParam 2891 +#define wxStyledTextEvent_GetLParam 2892 +#define wxStyledTextEvent_GetListType 2893 +#define wxStyledTextEvent_GetX 2894 +#define wxStyledTextEvent_GetY 2895 +#define wxStyledTextEvent_GetDragText 2896 +#define wxStyledTextEvent_GetDragAllowMove 2897 +#define wxStyledTextEvent_GetDragResult 2898 +#define wxStyledTextEvent_GetShift 2899 +#define wxStyledTextEvent_GetControl 2900 +#define wxStyledTextEvent_GetAlt 2901 +#define utils_wxGetKeyState 2902 +#define utils_wxGetMousePosition 2903 +#define utils_wxGetMouseState 2904 +#define utils_wxSetDetectableAutoRepeat 2905 +#define utils_wxBell 2906 +#define utils_wxFindMenuItemId 2907 +#define utils_wxGenericFindWindowAtPoint 2908 +#define utils_wxFindWindowAtPoint 2909 +#define utils_wxBeginBusyCursor 2910 +#define utils_wxEndBusyCursor 2911 +#define utils_wxIsBusy 2912 +#define utils_wxShutdown 2913 +#define utils_wxShell 2914 +#define utils_wxLaunchDefaultBrowser 2915 +#define utils_wxGetEmailAddress 2916 +#define utils_wxGetUserId 2917 +#define utils_wxGetHomeDir 2918 +#define utils_wxNewId 2919 +#define utils_wxRegisterId 2920 +#define utils_wxGetCurrentId 2921 +#define utils_wxGetOsDescription 2922 +#define utils_wxIsPlatformLittleEndian 2923 +#define utils_wxIsPlatform64Bit 2924 +#define wxPrintout_new 2925 +#define wxPrintout_destruct 2926 +#define wxPrintout_GetDC 2927 +#define wxPrintout_GetPageSizeMM 2928 +#define wxPrintout_GetPageSizePixels 2929 +#define wxPrintout_GetPaperRectPixels 2930 +#define wxPrintout_GetPPIPrinter 2931 +#define wxPrintout_GetPPIScreen 2932 +#define wxPrintout_GetTitle 2933 +#define wxPrintout_IsPreview 2934 +#define wxPrintout_FitThisSizeToPaper 2935 +#define wxPrintout_FitThisSizeToPage 2936 +#define wxPrintout_FitThisSizeToPageMargins 2937 +#define wxPrintout_MapScreenSizeToPaper 2938 +#define wxPrintout_MapScreenSizeToPage 2939 +#define wxPrintout_MapScreenSizeToPageMargins 2940 +#define wxPrintout_MapScreenSizeToDevice 2941 +#define wxPrintout_GetLogicalPaperRect 2942 +#define wxPrintout_GetLogicalPageRect 2943 +#define wxPrintout_GetLogicalPageMarginsRect 2944 +#define wxPrintout_SetLogicalOrigin 2945 +#define wxPrintout_OffsetLogicalOrigin 2946 +#define wxStyledTextCtrl_new_2 2947 +#define wxStyledTextCtrl_new_0 2948 +#define wxStyledTextCtrl_destruct 2949 +#define wxStyledTextCtrl_Create 2950 +#define wxStyledTextCtrl_AddText 2951 +#define wxStyledTextCtrl_AddStyledText 2952 +#define wxStyledTextCtrl_InsertText 2953 +#define wxStyledTextCtrl_ClearAll 2954 +#define wxStyledTextCtrl_ClearDocumentStyle 2955 +#define wxStyledTextCtrl_GetLength 2956 +#define wxStyledTextCtrl_GetCharAt 2957 +#define wxStyledTextCtrl_GetCurrentPos 2958 +#define wxStyledTextCtrl_GetAnchor 2959 +#define wxStyledTextCtrl_GetStyleAt 2960 +#define wxStyledTextCtrl_Redo 2961 +#define wxStyledTextCtrl_SetUndoCollection 2962 +#define wxStyledTextCtrl_SelectAll 2963 +#define wxStyledTextCtrl_SetSavePoint 2964 +#define wxStyledTextCtrl_GetStyledText 2965 +#define wxStyledTextCtrl_CanRedo 2966 +#define wxStyledTextCtrl_MarkerLineFromHandle 2967 +#define wxStyledTextCtrl_MarkerDeleteHandle 2968 +#define wxStyledTextCtrl_GetUndoCollection 2969 +#define wxStyledTextCtrl_GetViewWhiteSpace 2970 +#define wxStyledTextCtrl_SetViewWhiteSpace 2971 +#define wxStyledTextCtrl_PositionFromPoint 2972 +#define wxStyledTextCtrl_PositionFromPointClose 2973 +#define wxStyledTextCtrl_GotoLine 2974 +#define wxStyledTextCtrl_GotoPos 2975 +#define wxStyledTextCtrl_SetAnchor 2976 +#define wxStyledTextCtrl_GetCurLine 2977 +#define wxStyledTextCtrl_GetEndStyled 2978 +#define wxStyledTextCtrl_ConvertEOLs 2979 +#define wxStyledTextCtrl_GetEOLMode 2980 +#define wxStyledTextCtrl_SetEOLMode 2981 +#define wxStyledTextCtrl_StartStyling 2982 +#define wxStyledTextCtrl_SetStyling 2983 +#define wxStyledTextCtrl_GetBufferedDraw 2984 +#define wxStyledTextCtrl_SetBufferedDraw 2985 +#define wxStyledTextCtrl_SetTabWidth 2986 +#define wxStyledTextCtrl_GetTabWidth 2987 +#define wxStyledTextCtrl_SetCodePage 2988 +#define wxStyledTextCtrl_MarkerDefine 2989 +#define wxStyledTextCtrl_MarkerSetForeground 2990 +#define wxStyledTextCtrl_MarkerSetBackground 2991 +#define wxStyledTextCtrl_MarkerAdd 2992 +#define wxStyledTextCtrl_MarkerDelete 2993 +#define wxStyledTextCtrl_MarkerDeleteAll 2994 +#define wxStyledTextCtrl_MarkerGet 2995 +#define wxStyledTextCtrl_MarkerNext 2996 +#define wxStyledTextCtrl_MarkerPrevious 2997 +#define wxStyledTextCtrl_MarkerDefineBitmap 2998 +#define wxStyledTextCtrl_MarkerAddSet 2999 +#define wxStyledTextCtrl_MarkerSetAlpha 3000 +#define wxStyledTextCtrl_SetMarginType 3001 +#define wxStyledTextCtrl_GetMarginType 3002 +#define wxStyledTextCtrl_SetMarginWidth 3003 +#define wxStyledTextCtrl_GetMarginWidth 3004 +#define wxStyledTextCtrl_SetMarginMask 3005 +#define wxStyledTextCtrl_GetMarginMask 3006 +#define wxStyledTextCtrl_SetMarginSensitive 3007 +#define wxStyledTextCtrl_GetMarginSensitive 3008 +#define wxStyledTextCtrl_StyleClearAll 3009 +#define wxStyledTextCtrl_StyleSetForeground 3010 +#define wxStyledTextCtrl_StyleSetBackground 3011 +#define wxStyledTextCtrl_StyleSetBold 3012 +#define wxStyledTextCtrl_StyleSetItalic 3013 +#define wxStyledTextCtrl_StyleSetSize 3014 +#define wxStyledTextCtrl_StyleSetFaceName 3015 +#define wxStyledTextCtrl_StyleSetEOLFilled 3016 +#define wxStyledTextCtrl_StyleResetDefault 3017 +#define wxStyledTextCtrl_StyleSetUnderline 3018 +#define wxStyledTextCtrl_StyleSetCase 3019 +#define wxStyledTextCtrl_StyleSetHotSpot 3020 +#define wxStyledTextCtrl_SetSelForeground 3021 +#define wxStyledTextCtrl_SetSelBackground 3022 +#define wxStyledTextCtrl_GetSelAlpha 3023 +#define wxStyledTextCtrl_SetSelAlpha 3024 +#define wxStyledTextCtrl_SetCaretForeground 3025 +#define wxStyledTextCtrl_CmdKeyAssign 3026 +#define wxStyledTextCtrl_CmdKeyClear 3027 +#define wxStyledTextCtrl_CmdKeyClearAll 3028 +#define wxStyledTextCtrl_SetStyleBytes 3029 +#define wxStyledTextCtrl_StyleSetVisible 3030 +#define wxStyledTextCtrl_GetCaretPeriod 3031 +#define wxStyledTextCtrl_SetCaretPeriod 3032 +#define wxStyledTextCtrl_SetWordChars 3033 +#define wxStyledTextCtrl_BeginUndoAction 3034 +#define wxStyledTextCtrl_EndUndoAction 3035 +#define wxStyledTextCtrl_IndicatorSetStyle 3036 +#define wxStyledTextCtrl_IndicatorGetStyle 3037 +#define wxStyledTextCtrl_IndicatorSetForeground 3038 +#define wxStyledTextCtrl_IndicatorGetForeground 3039 +#define wxStyledTextCtrl_SetWhitespaceForeground 3040 +#define wxStyledTextCtrl_SetWhitespaceBackground 3041 +#define wxStyledTextCtrl_GetStyleBits 3042 +#define wxStyledTextCtrl_SetLineState 3043 +#define wxStyledTextCtrl_GetLineState 3044 +#define wxStyledTextCtrl_GetMaxLineState 3045 +#define wxStyledTextCtrl_GetCaretLineVisible 3046 +#define wxStyledTextCtrl_SetCaretLineVisible 3047 +#define wxStyledTextCtrl_GetCaretLineBackground 3048 +#define wxStyledTextCtrl_SetCaretLineBackground 3049 +#define wxStyledTextCtrl_AutoCompShow 3050 +#define wxStyledTextCtrl_AutoCompCancel 3051 +#define wxStyledTextCtrl_AutoCompActive 3052 +#define wxStyledTextCtrl_AutoCompPosStart 3053 +#define wxStyledTextCtrl_AutoCompComplete 3054 +#define wxStyledTextCtrl_AutoCompStops 3055 +#define wxStyledTextCtrl_AutoCompSetSeparator 3056 +#define wxStyledTextCtrl_AutoCompGetSeparator 3057 +#define wxStyledTextCtrl_AutoCompSelect 3058 +#define wxStyledTextCtrl_AutoCompSetCancelAtStart 3059 +#define wxStyledTextCtrl_AutoCompGetCancelAtStart 3060 +#define wxStyledTextCtrl_AutoCompSetFillUps 3061 +#define wxStyledTextCtrl_AutoCompSetChooseSingle 3062 +#define wxStyledTextCtrl_AutoCompGetChooseSingle 3063 +#define wxStyledTextCtrl_AutoCompSetIgnoreCase 3064 +#define wxStyledTextCtrl_AutoCompGetIgnoreCase 3065 +#define wxStyledTextCtrl_UserListShow 3066 +#define wxStyledTextCtrl_AutoCompSetAutoHide 3067 +#define wxStyledTextCtrl_AutoCompGetAutoHide 3068 +#define wxStyledTextCtrl_AutoCompSetDropRestOfWord 3069 +#define wxStyledTextCtrl_AutoCompGetDropRestOfWord 3070 +#define wxStyledTextCtrl_RegisterImage 3071 +#define wxStyledTextCtrl_ClearRegisteredImages 3072 +#define wxStyledTextCtrl_AutoCompGetTypeSeparator 3073 +#define wxStyledTextCtrl_AutoCompSetTypeSeparator 3074 +#define wxStyledTextCtrl_AutoCompSetMaxWidth 3075 +#define wxStyledTextCtrl_AutoCompGetMaxWidth 3076 +#define wxStyledTextCtrl_AutoCompSetMaxHeight 3077 +#define wxStyledTextCtrl_AutoCompGetMaxHeight 3078 +#define wxStyledTextCtrl_SetIndent 3079 +#define wxStyledTextCtrl_GetIndent 3080 +#define wxStyledTextCtrl_SetUseTabs 3081 +#define wxStyledTextCtrl_GetUseTabs 3082 +#define wxStyledTextCtrl_SetLineIndentation 3083 +#define wxStyledTextCtrl_GetLineIndentation 3084 +#define wxStyledTextCtrl_GetLineIndentPosition 3085 +#define wxStyledTextCtrl_GetColumn 3086 +#define wxStyledTextCtrl_SetUseHorizontalScrollBar 3087 +#define wxStyledTextCtrl_GetUseHorizontalScrollBar 3088 +#define wxStyledTextCtrl_SetIndentationGuides 3089 +#define wxStyledTextCtrl_GetIndentationGuides 3090 +#define wxStyledTextCtrl_SetHighlightGuide 3091 +#define wxStyledTextCtrl_GetHighlightGuide 3092 +#define wxStyledTextCtrl_GetLineEndPosition 3093 +#define wxStyledTextCtrl_GetCodePage 3094 +#define wxStyledTextCtrl_GetCaretForeground 3095 +#define wxStyledTextCtrl_GetReadOnly 3096 +#define wxStyledTextCtrl_SetCurrentPos 3097 +#define wxStyledTextCtrl_SetSelectionStart 3098 +#define wxStyledTextCtrl_GetSelectionStart 3099 +#define wxStyledTextCtrl_SetSelectionEnd 3100 +#define wxStyledTextCtrl_GetSelectionEnd 3101 +#define wxStyledTextCtrl_SetPrintMagnification 3102 +#define wxStyledTextCtrl_GetPrintMagnification 3103 +#define wxStyledTextCtrl_SetPrintColourMode 3104 +#define wxStyledTextCtrl_GetPrintColourMode 3105 +#define wxStyledTextCtrl_FindText 3106 +#define wxStyledTextCtrl_FormatRange 3107 +#define wxStyledTextCtrl_GetFirstVisibleLine 3108 +#define wxStyledTextCtrl_GetLine 3109 +#define wxStyledTextCtrl_GetLineCount 3110 +#define wxStyledTextCtrl_SetMarginLeft 3111 +#define wxStyledTextCtrl_GetMarginLeft 3112 +#define wxStyledTextCtrl_SetMarginRight 3113 +#define wxStyledTextCtrl_GetMarginRight 3114 +#define wxStyledTextCtrl_GetModify 3115 +#define wxStyledTextCtrl_SetSelection 3116 +#define wxStyledTextCtrl_GetSelectedText 3117 +#define wxStyledTextCtrl_GetTextRange 3118 +#define wxStyledTextCtrl_HideSelection 3119 +#define wxStyledTextCtrl_LineFromPosition 3120 +#define wxStyledTextCtrl_PositionFromLine 3121 +#define wxStyledTextCtrl_LineScroll 3122 +#define wxStyledTextCtrl_EnsureCaretVisible 3123 +#define wxStyledTextCtrl_ReplaceSelection 3124 +#define wxStyledTextCtrl_SetReadOnly 3125 +#define wxStyledTextCtrl_CanPaste 3126 +#define wxStyledTextCtrl_CanUndo 3127 +#define wxStyledTextCtrl_EmptyUndoBuffer 3128 +#define wxStyledTextCtrl_Undo 3129 +#define wxStyledTextCtrl_Cut 3130 +#define wxStyledTextCtrl_Copy 3131 +#define wxStyledTextCtrl_Paste 3132 +#define wxStyledTextCtrl_Clear 3133 +#define wxStyledTextCtrl_SetText 3134 +#define wxStyledTextCtrl_GetText 3135 +#define wxStyledTextCtrl_GetTextLength 3136 +#define wxStyledTextCtrl_GetOvertype 3137 +#define wxStyledTextCtrl_SetCaretWidth 3138 +#define wxStyledTextCtrl_GetCaretWidth 3139 +#define wxStyledTextCtrl_SetTargetStart 3140 +#define wxStyledTextCtrl_GetTargetStart 3141 +#define wxStyledTextCtrl_SetTargetEnd 3142 +#define wxStyledTextCtrl_GetTargetEnd 3143 +#define wxStyledTextCtrl_ReplaceTarget 3144 +#define wxStyledTextCtrl_SearchInTarget 3145 +#define wxStyledTextCtrl_SetSearchFlags 3146 +#define wxStyledTextCtrl_GetSearchFlags 3147 +#define wxStyledTextCtrl_CallTipShow 3148 +#define wxStyledTextCtrl_CallTipCancel 3149 +#define wxStyledTextCtrl_CallTipActive 3150 +#define wxStyledTextCtrl_CallTipPosAtStart 3151 +#define wxStyledTextCtrl_CallTipSetHighlight 3152 +#define wxStyledTextCtrl_CallTipSetBackground 3153 +#define wxStyledTextCtrl_CallTipSetForeground 3154 +#define wxStyledTextCtrl_CallTipSetForegroundHighlight 3155 +#define wxStyledTextCtrl_CallTipUseStyle 3156 +#define wxStyledTextCtrl_VisibleFromDocLine 3157 +#define wxStyledTextCtrl_DocLineFromVisible 3158 +#define wxStyledTextCtrl_WrapCount 3159 +#define wxStyledTextCtrl_SetFoldLevel 3160 +#define wxStyledTextCtrl_GetFoldLevel 3161 +#define wxStyledTextCtrl_GetLastChild 3162 +#define wxStyledTextCtrl_GetFoldParent 3163 +#define wxStyledTextCtrl_ShowLines 3164 +#define wxStyledTextCtrl_HideLines 3165 +#define wxStyledTextCtrl_GetLineVisible 3166 +#define wxStyledTextCtrl_SetFoldExpanded 3167 +#define wxStyledTextCtrl_GetFoldExpanded 3168 +#define wxStyledTextCtrl_ToggleFold 3169 +#define wxStyledTextCtrl_EnsureVisible 3170 +#define wxStyledTextCtrl_SetFoldFlags 3171 +#define wxStyledTextCtrl_EnsureVisibleEnforcePolicy 3172 +#define wxStyledTextCtrl_SetTabIndents 3173 +#define wxStyledTextCtrl_GetTabIndents 3174 +#define wxStyledTextCtrl_SetBackSpaceUnIndents 3175 +#define wxStyledTextCtrl_GetBackSpaceUnIndents 3176 +#define wxStyledTextCtrl_SetMouseDwellTime 3177 +#define wxStyledTextCtrl_GetMouseDwellTime 3178 +#define wxStyledTextCtrl_WordStartPosition 3179 +#define wxStyledTextCtrl_WordEndPosition 3180 +#define wxStyledTextCtrl_SetWrapMode 3181 +#define wxStyledTextCtrl_GetWrapMode 3182 +#define wxStyledTextCtrl_SetWrapVisualFlags 3183 +#define wxStyledTextCtrl_GetWrapVisualFlags 3184 +#define wxStyledTextCtrl_SetWrapVisualFlagsLocation 3185 +#define wxStyledTextCtrl_GetWrapVisualFlagsLocation 3186 +#define wxStyledTextCtrl_SetWrapStartIndent 3187 +#define wxStyledTextCtrl_GetWrapStartIndent 3188 +#define wxStyledTextCtrl_SetLayoutCache 3189 +#define wxStyledTextCtrl_GetLayoutCache 3190 +#define wxStyledTextCtrl_SetScrollWidth 3191 +#define wxStyledTextCtrl_GetScrollWidth 3192 +#define wxStyledTextCtrl_TextWidth 3193 +#define wxStyledTextCtrl_GetEndAtLastLine 3194 +#define wxStyledTextCtrl_TextHeight 3195 +#define wxStyledTextCtrl_SetUseVerticalScrollBar 3196 +#define wxStyledTextCtrl_GetUseVerticalScrollBar 3197 +#define wxStyledTextCtrl_AppendText 3198 +#define wxStyledTextCtrl_GetTwoPhaseDraw 3199 +#define wxStyledTextCtrl_SetTwoPhaseDraw 3200 +#define wxStyledTextCtrl_TargetFromSelection 3201 +#define wxStyledTextCtrl_LinesJoin 3202 +#define wxStyledTextCtrl_LinesSplit 3203 +#define wxStyledTextCtrl_SetFoldMarginColour 3204 +#define wxStyledTextCtrl_SetFoldMarginHiColour 3205 +#define wxStyledTextCtrl_LineDown 3206 +#define wxStyledTextCtrl_LineDownExtend 3207 +#define wxStyledTextCtrl_LineUp 3208 +#define wxStyledTextCtrl_LineUpExtend 3209 +#define wxStyledTextCtrl_CharLeft 3210 +#define wxStyledTextCtrl_CharLeftExtend 3211 +#define wxStyledTextCtrl_CharRight 3212 +#define wxStyledTextCtrl_CharRightExtend 3213 +#define wxStyledTextCtrl_WordLeft 3214 +#define wxStyledTextCtrl_WordLeftExtend 3215 +#define wxStyledTextCtrl_WordRight 3216 +#define wxStyledTextCtrl_WordRightExtend 3217 +#define wxStyledTextCtrl_Home 3218 +#define wxStyledTextCtrl_HomeExtend 3219 +#define wxStyledTextCtrl_LineEnd 3220 +#define wxStyledTextCtrl_LineEndExtend 3221 +#define wxStyledTextCtrl_DocumentStart 3222 +#define wxStyledTextCtrl_DocumentStartExtend 3223 +#define wxStyledTextCtrl_DocumentEnd 3224 +#define wxStyledTextCtrl_DocumentEndExtend 3225 +#define wxStyledTextCtrl_PageUp 3226 +#define wxStyledTextCtrl_PageUpExtend 3227 +#define wxStyledTextCtrl_PageDown 3228 +#define wxStyledTextCtrl_PageDownExtend 3229 +#define wxStyledTextCtrl_EditToggleOvertype 3230 +#define wxStyledTextCtrl_Cancel 3231 +#define wxStyledTextCtrl_DeleteBack 3232 +#define wxStyledTextCtrl_Tab 3233 +#define wxStyledTextCtrl_BackTab 3234 +#define wxStyledTextCtrl_NewLine 3235 +#define wxStyledTextCtrl_FormFeed 3236 +#define wxStyledTextCtrl_VCHome 3237 +#define wxStyledTextCtrl_VCHomeExtend 3238 +#define wxStyledTextCtrl_ZoomIn 3239 +#define wxStyledTextCtrl_ZoomOut 3240 +#define wxStyledTextCtrl_DelWordLeft 3241 +#define wxStyledTextCtrl_DelWordRight 3242 +#define wxStyledTextCtrl_LineCut 3243 +#define wxStyledTextCtrl_LineDelete 3244 +#define wxStyledTextCtrl_LineTranspose 3245 +#define wxStyledTextCtrl_LineDuplicate 3246 +#define wxStyledTextCtrl_LowerCase 3247 +#define wxStyledTextCtrl_UpperCase 3248 +#define wxStyledTextCtrl_LineScrollDown 3249 +#define wxStyledTextCtrl_LineScrollUp 3250 +#define wxStyledTextCtrl_DeleteBackNotLine 3251 +#define wxStyledTextCtrl_HomeDisplay 3252 +#define wxStyledTextCtrl_HomeDisplayExtend 3253 +#define wxStyledTextCtrl_LineEndDisplay 3254 +#define wxStyledTextCtrl_LineEndDisplayExtend 3255 +#define wxStyledTextCtrl_HomeWrapExtend 3256 +#define wxStyledTextCtrl_LineEndWrap 3257 +#define wxStyledTextCtrl_LineEndWrapExtend 3258 +#define wxStyledTextCtrl_VCHomeWrap 3259 +#define wxStyledTextCtrl_VCHomeWrapExtend 3260 +#define wxStyledTextCtrl_LineCopy 3261 +#define wxStyledTextCtrl_MoveCaretInsideView 3262 +#define wxStyledTextCtrl_LineLength 3263 +#define wxStyledTextCtrl_BraceHighlight 3264 +#define wxStyledTextCtrl_BraceBadLight 3265 +#define wxStyledTextCtrl_BraceMatch 3266 +#define wxStyledTextCtrl_GetViewEOL 3267 +#define wxStyledTextCtrl_SetViewEOL 3268 +#define wxStyledTextCtrl_SetModEventMask 3269 +#define wxStyledTextCtrl_GetEdgeColumn 3270 +#define wxStyledTextCtrl_SetEdgeColumn 3271 +#define wxStyledTextCtrl_GetEdgeMode 3272 +#define wxStyledTextCtrl_GetEdgeColour 3273 +#define wxStyledTextCtrl_SetEdgeColour 3274 +#define wxStyledTextCtrl_SearchAnchor 3275 +#define wxStyledTextCtrl_SearchNext 3276 +#define wxStyledTextCtrl_SearchPrev 3277 +#define wxStyledTextCtrl_LinesOnScreen 3278 +#define wxStyledTextCtrl_UsePopUp 3279 +#define wxStyledTextCtrl_SelectionIsRectangle 3280 +#define wxStyledTextCtrl_SetZoom 3281 +#define wxStyledTextCtrl_GetZoom 3282 +#define wxStyledTextCtrl_GetModEventMask 3283 +#define wxStyledTextCtrl_SetSTCFocus 3284 +#define wxStyledTextCtrl_GetSTCFocus 3285 +#define wxStyledTextCtrl_SetStatus 3286 +#define wxStyledTextCtrl_GetStatus 3287 +#define wxStyledTextCtrl_SetMouseDownCaptures 3288 +#define wxStyledTextCtrl_GetMouseDownCaptures 3289 +#define wxStyledTextCtrl_SetSTCCursor 3290 +#define wxStyledTextCtrl_GetSTCCursor 3291 +#define wxStyledTextCtrl_SetControlCharSymbol 3292 +#define wxStyledTextCtrl_GetControlCharSymbol 3293 +#define wxStyledTextCtrl_WordPartLeft 3294 +#define wxStyledTextCtrl_WordPartLeftExtend 3295 +#define wxStyledTextCtrl_WordPartRight 3296 +#define wxStyledTextCtrl_WordPartRightExtend 3297 +#define wxStyledTextCtrl_SetVisiblePolicy 3298 +#define wxStyledTextCtrl_DelLineLeft 3299 +#define wxStyledTextCtrl_DelLineRight 3300 +#define wxStyledTextCtrl_GetXOffset 3301 +#define wxStyledTextCtrl_ChooseCaretX 3302 +#define wxStyledTextCtrl_SetXCaretPolicy 3303 +#define wxStyledTextCtrl_SetYCaretPolicy 3304 +#define wxStyledTextCtrl_GetPrintWrapMode 3305 +#define wxStyledTextCtrl_SetHotspotActiveForeground 3306 +#define wxStyledTextCtrl_SetHotspotActiveBackground 3307 +#define wxStyledTextCtrl_SetHotspotActiveUnderline 3308 +#define wxStyledTextCtrl_SetHotspotSingleLine 3309 +#define wxStyledTextCtrl_ParaDownExtend 3310 +#define wxStyledTextCtrl_ParaUp 3311 +#define wxStyledTextCtrl_ParaUpExtend 3312 +#define wxStyledTextCtrl_PositionBefore 3313 +#define wxStyledTextCtrl_PositionAfter 3314 +#define wxStyledTextCtrl_CopyRange 3315 +#define wxStyledTextCtrl_CopyText 3316 +#define wxStyledTextCtrl_SetSelectionMode 3317 +#define wxStyledTextCtrl_GetSelectionMode 3318 +#define wxStyledTextCtrl_LineDownRectExtend 3319 +#define wxStyledTextCtrl_LineUpRectExtend 3320 +#define wxStyledTextCtrl_CharLeftRectExtend 3321 +#define wxStyledTextCtrl_CharRightRectExtend 3322 +#define wxStyledTextCtrl_HomeRectExtend 3323 +#define wxStyledTextCtrl_VCHomeRectExtend 3324 +#define wxStyledTextCtrl_LineEndRectExtend 3325 +#define wxStyledTextCtrl_PageUpRectExtend 3326 +#define wxStyledTextCtrl_PageDownRectExtend 3327 +#define wxStyledTextCtrl_StutteredPageUp 3328 +#define wxStyledTextCtrl_StutteredPageUpExtend 3329 +#define wxStyledTextCtrl_StutteredPageDown 3330 +#define wxStyledTextCtrl_StutteredPageDownExtend 3331 +#define wxStyledTextCtrl_WordLeftEnd 3332 +#define wxStyledTextCtrl_WordLeftEndExtend 3333 +#define wxStyledTextCtrl_WordRightEnd 3334 +#define wxStyledTextCtrl_WordRightEndExtend 3335 +#define wxStyledTextCtrl_SetWhitespaceChars 3336 +#define wxStyledTextCtrl_SetCharsDefault 3337 +#define wxStyledTextCtrl_AutoCompGetCurrent 3338 +#define wxStyledTextCtrl_Allocate 3339 +#define wxStyledTextCtrl_FindColumn 3340 +#define wxStyledTextCtrl_GetCaretSticky 3341 +#define wxStyledTextCtrl_SetCaretSticky 3342 +#define wxStyledTextCtrl_ToggleCaretSticky 3343 +#define wxStyledTextCtrl_SetPasteConvertEndings 3344 +#define wxStyledTextCtrl_GetPasteConvertEndings 3345 +#define wxStyledTextCtrl_SelectionDuplicate 3346 +#define wxStyledTextCtrl_SetCaretLineBackAlpha 3347 +#define wxStyledTextCtrl_GetCaretLineBackAlpha 3348 +#define wxStyledTextCtrl_StartRecord 3349 +#define wxStyledTextCtrl_StopRecord 3350 +#define wxStyledTextCtrl_SetLexer 3351 +#define wxStyledTextCtrl_GetLexer 3352 +#define wxStyledTextCtrl_Colourise 3353 +#define wxStyledTextCtrl_SetProperty 3354 +#define wxStyledTextCtrl_SetKeyWords 3355 +#define wxStyledTextCtrl_SetLexerLanguage 3356 +#define wxStyledTextCtrl_GetProperty 3357 +#define wxStyledTextCtrl_GetStyleBitsNeeded 3358 +#define wxStyledTextCtrl_GetCurrentLine 3359 +#define wxStyledTextCtrl_StyleSetSpec 3360 +#define wxStyledTextCtrl_StyleSetFont 3361 +#define wxStyledTextCtrl_StyleSetFontAttr 3362 +#define wxStyledTextCtrl_StyleSetCharacterSet 3363 +#define wxStyledTextCtrl_StyleSetFontEncoding 3364 +#define wxStyledTextCtrl_CmdKeyExecute 3365 +#define wxStyledTextCtrl_SetMargins 3366 +#define wxStyledTextCtrl_GetSelection 3367 +#define wxStyledTextCtrl_PointFromPosition 3368 +#define wxStyledTextCtrl_ScrollToLine 3369 +#define wxStyledTextCtrl_ScrollToColumn 3370 +#define wxStyledTextCtrl_SendMsg 3371 +#define wxStyledTextCtrl_SetVScrollBar 3372 +#define wxStyledTextCtrl_SetHScrollBar 3373 +#define wxStyledTextCtrl_GetLastKeydownProcessed 3374 +#define wxStyledTextCtrl_SetLastKeydownProcessed 3375 +#define wxStyledTextCtrl_SaveFile 3376 +#define wxStyledTextCtrl_LoadFile 3377 +#define wxStyledTextCtrl_DoDragOver 3378 +#define wxStyledTextCtrl_DoDropText 3379 +#define wxStyledTextCtrl_GetUseAntiAliasing 3380 +#define wxStyledTextCtrl_AddTextRaw 3381 +#define wxStyledTextCtrl_InsertTextRaw 3382 +#define wxStyledTextCtrl_GetCurLineRaw 3383 +#define wxStyledTextCtrl_GetLineRaw 3384 +#define wxStyledTextCtrl_GetSelectedTextRaw 3385 +#define wxStyledTextCtrl_GetTextRangeRaw 3386 +#define wxStyledTextCtrl_SetTextRaw 3387 +#define wxStyledTextCtrl_GetTextRaw 3388 +#define wxStyledTextCtrl_AppendTextRaw 3389 +#define wxArtProvider_GetBitmap 3390 +#define wxArtProvider_GetIcon 3391 +#define wxTreeEvent_GetKeyCode 3392 +#define wxTreeEvent_GetItem 3393 +#define wxTreeEvent_GetKeyEvent 3394 +#define wxTreeEvent_GetLabel 3395 +#define wxTreeEvent_GetOldItem 3396 +#define wxTreeEvent_GetPoint 3397 +#define wxTreeEvent_IsEditCancelled 3398 +#define wxTreeEvent_SetToolTip 3399 +#define wxNotebookEvent_GetOldSelection 3400 +#define wxNotebookEvent_GetSelection 3401 +#define wxNotebookEvent_SetOldSelection 3402 +#define wxNotebookEvent_SetSelection 3403 +#define wxFileDataObject_new 3404 +#define wxFileDataObject_AddFile 3405 +#define wxFileDataObject_GetFilenames 3406 +#define wxFileDataObject_destroy 3407 +#define wxTextDataObject_new 3408 +#define wxTextDataObject_GetTextLength 3409 +#define wxTextDataObject_GetText 3410 +#define wxTextDataObject_SetText 3411 +#define wxTextDataObject_destroy 3412 +#define wxBitmapDataObject_new_1_1 3413 +#define wxBitmapDataObject_new_1_0 3414 +#define wxBitmapDataObject_GetBitmap 3415 +#define wxBitmapDataObject_SetBitmap 3416 +#define wxBitmapDataObject_destroy 3417 +#define wxClipboard_new 3419 +#define wxClipboard_destruct 3420 +#define wxClipboard_AddData 3421 +#define wxClipboard_Clear 3422 +#define wxClipboard_Close 3423 +#define wxClipboard_Flush 3424 +#define wxClipboard_GetData 3425 +#define wxClipboard_IsOpened 3426 +#define wxClipboard_Open 3427 +#define wxClipboard_SetData 3428 +#define wxClipboard_UsePrimarySelection 3430 +#define wxClipboard_IsSupported 3431 +#define wxClipboard_Get 3432 +#define wxSpinEvent_GetPosition 3433 +#define wxSpinEvent_SetPosition 3434 +#define wxSplitterWindow_new_0 3435 +#define wxSplitterWindow_new_2 3436 +#define wxSplitterWindow_destruct 3437 +#define wxSplitterWindow_Create 3438 +#define wxSplitterWindow_GetMinimumPaneSize 3439 +#define wxSplitterWindow_GetSashGravity 3440 +#define wxSplitterWindow_GetSashPosition 3441 +#define wxSplitterWindow_GetSplitMode 3442 +#define wxSplitterWindow_GetWindow1 3443 +#define wxSplitterWindow_GetWindow2 3444 +#define wxSplitterWindow_Initialize 3445 +#define wxSplitterWindow_IsSplit 3446 +#define wxSplitterWindow_ReplaceWindow 3447 +#define wxSplitterWindow_SetSashGravity 3448 +#define wxSplitterWindow_SetSashPosition 3449 +#define wxSplitterWindow_SetSashSize 3450 +#define wxSplitterWindow_SetMinimumPaneSize 3451 +#define wxSplitterWindow_SetSplitMode 3452 +#define wxSplitterWindow_SplitHorizontally 3453 +#define wxSplitterWindow_SplitVertically 3454 +#define wxSplitterWindow_Unsplit 3455 +#define wxSplitterWindow_UpdateSize 3456 +#define wxSplitterEvent_GetSashPosition 3457 +#define wxSplitterEvent_GetX 3458 +#define wxSplitterEvent_GetY 3459 +#define wxSplitterEvent_GetWindowBeingRemoved 3460 +#define wxSplitterEvent_SetSashPosition 3461 +#define wxHtmlWindow_new_0 3462 +#define wxHtmlWindow_new_2 3463 +#define wxHtmlWindow_AppendToPage 3464 +#define wxHtmlWindow_GetOpenedAnchor 3465 +#define wxHtmlWindow_GetOpenedPage 3466 +#define wxHtmlWindow_GetOpenedPageTitle 3467 +#define wxHtmlWindow_GetRelatedFrame 3468 +#define wxHtmlWindow_HistoryBack 3469 +#define wxHtmlWindow_HistoryCanBack 3470 +#define wxHtmlWindow_HistoryCanForward 3471 +#define wxHtmlWindow_HistoryClear 3472 +#define wxHtmlWindow_HistoryForward 3473 +#define wxHtmlWindow_LoadFile 3474 +#define wxHtmlWindow_LoadPage 3475 +#define wxHtmlWindow_SelectAll 3476 +#define wxHtmlWindow_SelectionToText 3477 +#define wxHtmlWindow_SelectLine 3478 +#define wxHtmlWindow_SelectWord 3479 +#define wxHtmlWindow_SetBorders 3480 +#define wxHtmlWindow_SetFonts 3481 +#define wxHtmlWindow_SetPage 3482 +#define wxHtmlWindow_SetRelatedFrame 3483 +#define wxHtmlWindow_SetRelatedStatusBar 3484 +#define wxHtmlWindow_ToText 3485 +#define wxHtmlWindow_destroy 3486 +#define wxHtmlLinkEvent_GetLinkInfo 3487 +#define wxSystemSettings_GetColour 3488 +#define wxSystemSettings_GetFont 3489 +#define wxSystemSettings_GetMetric 3490 +#define wxSystemSettings_GetScreenType 3491 +#define wxAuiNotebookEvent_SetSelection 3492 +#define wxAuiNotebookEvent_GetSelection 3493 +#define wxAuiNotebookEvent_SetOldSelection 3494 +#define wxAuiNotebookEvent_GetOldSelection 3495 +#define wxAuiNotebookEvent_SetDragSource 3496 +#define wxAuiNotebookEvent_GetDragSource 3497 +#define wxAuiManagerEvent_SetManager 3498 +#define wxAuiManagerEvent_GetManager 3499 +#define wxAuiManagerEvent_SetPane 3500 +#define wxAuiManagerEvent_GetPane 3501 +#define wxAuiManagerEvent_SetButton 3502 +#define wxAuiManagerEvent_GetButton 3503 +#define wxAuiManagerEvent_SetDC 3504 +#define wxAuiManagerEvent_GetDC 3505 +#define wxAuiManagerEvent_Veto 3506 +#define wxAuiManagerEvent_GetVeto 3507 +#define wxAuiManagerEvent_SetCanVeto 3508 +#define wxAuiManagerEvent_CanVeto 3509 +#define wxLogNull_new 3510 +#define wxLogNull_destroy 3511 diff --git a/lib/wx/c_src/wxePrintout.cpp b/lib/wx/c_src/wxePrintout.cpp index ea1c76edcc..90959df379 100644 --- a/lib/wx/c_src/wxePrintout.cpp +++ b/lib/wx/c_src/wxePrintout.cpp @@ -1,41 +1,62 @@ /* * %CopyrightBegin% - * - * Copyright Ericsson AB 2008-2009. All Rights Reserved. - * + * + * Copyright Ericsson AB 2008-2011. All Rights Reserved. + * * The contents of this file are subject to the Erlang Public License, * Version 1.1, (the "License"); you may not use this file except in * compliance with the License. You should have received a copy of the * Erlang Public License along with this software. If not, it can be * retrieved online at http://www.erlang.org/. - * + * * Software distributed under the License is distributed on an "AS IS" * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See * the License for the specific language governing rights and limitations * under the License. - * - * %CopyrightEnd% + * + * %CopyrightEnd% */ #include <wx/wx.h> #include "wxe_impl.h" #include "wxe_return.h" +#include "gen/wxe_macros.h" +#include "gen/wxe_derived_dest.h" /* *****************************************************************/ /* Special Class impls */ +#define INVOKE_CALLBACK_INIT(port, callback, class_str) \ + { \ + wxeMemEnv * memenv = ((WxeApp *) wxTheApp)->getMemEnv(port); \ + wxeReturn rt = wxeReturn(WXE_DRV_PORT, memenv->owner, false); \ + rt.addInt(callback); \ + rt.addRef(((WxeApp *) wxTheApp)->getRef((void *)this, memenv), class_str); + +#define INVOKE_CALLBACK_END(port, args) \ + rt.endList(1 + (args)); \ + rt.addAtom("_wx_invoke_cb_"); \ + rt.addTupleCount(3); \ + rt.send(); \ + handle_event_callback(port, memenv->owner); \ + } + +#define INVOKE_CALLBACK(port, callback, class_str) \ + INVOKE_CALLBACK_INIT(port, callback, class_str); \ + INVOKE_CALLBACK_END(port, 0) +/* *****************************************************************/ /* Printing special */ wxEPrintout::~wxEPrintout() { - clear_cb(onPrintPage); - clear_cb(onPreparePrinting); - clear_cb(onBeginPrinting); - clear_cb(onEndPrinting); - clear_cb(onBeginDocument); - clear_cb(onEndDocument); - clear_cb(hasPage); - clear_cb(getPageInfo); + clear_cb(port, onPrintPage); + clear_cb(port, onPreparePrinting); + clear_cb(port, onBeginPrinting); + clear_cb(port, onEndPrinting); + clear_cb(port, onBeginDocument); + clear_cb(port, onEndDocument); + clear_cb(port, hasPage); + clear_cb(port, getPageInfo); ((WxeApp *)wxTheApp)->clearPtr(this); } @@ -43,73 +64,44 @@ wxEPrintout::~wxEPrintout() { bool wxEPrintout::OnBeginDocument(int startPage, int endPage) { if(onBeginDocument) { - wxeMemEnv * memenv = ((WxeApp *) wxTheApp)->getMemEnv(port); - char * bp = ((WxeApp *) wxTheApp)->cb_buff; - - wxeReturn rt = wxeReturn(WXE_DRV_PORT, memenv->owner, false); - rt.addInt(onBeginDocument); - rt.addRef(((WxeApp *) wxTheApp)->getRef((void *)this, memenv), "wxPrintout"); + INVOKE_CALLBACK_INIT(port, onBeginDocument, "wxPrintout"); rt.addInt(startPage); rt.addInt(endPage); - rt.endList(3); - rt.addAtom("_wx_invoke_cb_"); - rt.addTupleCount(3); - rt.send(); - handle_callback_batch(port); - return *(int*) bp; - } else { - return wxPrintout::OnBeginDocument(startPage,endPage); - } + INVOKE_CALLBACK_END(port, 2); + if(((WxeApp *) wxTheApp)->cb_buff) { + int res = * (int*) ((WxeApp *) wxTheApp)->cb_buff; + driver_free(((WxeApp *) wxTheApp)->cb_buff); + ((WxeApp *) wxTheApp)->cb_buff = NULL; + return res; + } + } + return wxPrintout::OnBeginDocument(startPage,endPage); } -void wxEPrintout::OnEndDocument() +void wxEPrintout::OnEndDocument() { if(onEndDocument) { - wxeMemEnv * memenv = ((WxeApp *) wxTheApp)->getMemEnv(port); - wxeReturn rt = wxeReturn(WXE_DRV_PORT, memenv->owner, false); - rt.addInt(onEndDocument); - rt.addRef(((WxeApp *) wxTheApp)->getRef((void *)this, memenv), "wxPrintout"); - rt.endList(1); - rt.addAtom("_wx_invoke_cb_"); - rt.addTupleCount(3); - rt.send(); - handle_callback_batch(port); + INVOKE_CALLBACK(port, onEndDocument, "wxPrintout"); } else { wxPrintout::OnEndDocument(); - } + } } -void wxEPrintout::OnBeginPrinting() +void wxEPrintout::OnBeginPrinting() { if(onBeginPrinting) { - wxeMemEnv * memenv = ((WxeApp *) wxTheApp)->getMemEnv(port); - wxeReturn rt = wxeReturn(WXE_DRV_PORT, memenv->owner, false); - rt.addInt(onBeginPrinting); - rt.addRef(((WxeApp *) wxTheApp)->getRef((void *)this, memenv), "wxPrintout"); - rt.endList(1); - rt.addAtom("_wx_invoke_cb_"); - rt.addTupleCount(3); - rt.send(); - handle_callback_batch(port); + INVOKE_CALLBACK(port, onBeginPrinting, "wxPrintout"); } else { wxPrintout::OnBeginPrinting(); - } + } } -void wxEPrintout::OnEndPrinting() +void wxEPrintout::OnEndPrinting() { if(onEndPrinting) { - wxeMemEnv * memenv = ((WxeApp *) wxTheApp)->getMemEnv(port); - wxeReturn rt = wxeReturn(WXE_DRV_PORT, memenv->owner, false); - rt.addInt(onEndPrinting); - rt.addRef(((WxeApp *) wxTheApp)->getRef((void *)this, memenv), "wxPrintout"); - rt.endList(1); - rt.addAtom("_wx_invoke_cb_"); - rt.addTupleCount(3); - rt.send(); - handle_callback_batch(port); + INVOKE_CALLBACK(port, onEndPrinting, "wxPrintout"); } else { wxPrintout::OnEndPrinting(); } @@ -119,92 +111,133 @@ void wxEPrintout::OnPreparePrinting() { if(onPreparePrinting) { - wxeMemEnv * memenv = ((WxeApp *) wxTheApp)->getMemEnv(port); - wxeReturn rt = wxeReturn(WXE_DRV_PORT, memenv->owner, false); - rt.addInt(onPreparePrinting); - rt.addRef(((WxeApp *) wxTheApp)->getRef((void *)this, memenv), "wxPrintout"); - rt.endList(1); - rt.addAtom("_wx_invoke_cb_"); - rt.addTupleCount(3); - rt.send(); - handle_callback_batch(port); + INVOKE_CALLBACK(port, onPreparePrinting, "wxPrintout"); } else { wxPrintout::OnPreparePrinting(); - } + } } -bool wxEPrintout::HasPage(int page) +bool wxEPrintout::HasPage(int page) { if(hasPage) { - wxeMemEnv * memenv = ((WxeApp *) wxTheApp)->getMemEnv(port); - wxeReturn rt = wxeReturn(WXE_DRV_PORT, memenv->owner, false); - rt.addInt(hasPage); - rt.addRef(((WxeApp *) wxTheApp)->getRef((void *)this, memenv), "wxPrintout"); + INVOKE_CALLBACK_INIT(port, hasPage, "wxPrintout"); rt.addInt(page); - rt.endList(2); - rt.addAtom("_wx_invoke_cb_"); - rt.addTupleCount(3); - rt.send(); - char * bp = ((WxeApp *) wxTheApp)->cb_buff; - handle_callback_batch(port); - return *(int*) bp; - } else { - return wxPrintout::HasPage(page); - } + INVOKE_CALLBACK_END(port, 1); + if(((WxeApp *) wxTheApp)->cb_buff) { + int res = * (int*) ((WxeApp *) wxTheApp)->cb_buff; + driver_free(((WxeApp *) wxTheApp)->cb_buff); + ((WxeApp *) wxTheApp)->cb_buff = NULL; + return res; + } + } + return wxPrintout::HasPage(page); } bool wxEPrintout::OnPrintPage(int page) { - wxeMemEnv * memenv = ((WxeApp *) wxTheApp)->getMemEnv(port); - wxeReturn rt = wxeReturn(WXE_DRV_PORT, memenv->owner, false); - rt.addInt(onPrintPage); - rt.addRef(((WxeApp *) wxTheApp)->getRef((void *)this, memenv), "wxPrintout"); + INVOKE_CALLBACK_INIT(port, onPrintPage, "wxPrintout"); rt.addInt(page); - rt.endList(2); - rt.addAtom("_wx_invoke_cb_"); - rt.addTupleCount(3); - rt.send(); - handle_callback_batch(port); - //fprintf(stderr,"%d ", __LINE__);handle_callback_batch(port); fprintf(stderr,"%d\r\n", __LINE__); - char * bp = ((WxeApp *) wxTheApp)->cb_buff; - return *(int*) bp; + INVOKE_CALLBACK_END(port, 1); + if(((WxeApp *) wxTheApp)->cb_buff) { + int res = * (int*) ((WxeApp *) wxTheApp)->cb_buff; + driver_free(((WxeApp *) wxTheApp)->cb_buff); + ((WxeApp *) wxTheApp)->cb_buff = NULL; + return res; + } + return FALSE; } - + void wxEPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) { if(getPageInfo) { - wxeMemEnv * memenv = ((WxeApp *) wxTheApp)->getMemEnv(port); - wxeReturn rt = wxeReturn(WXE_DRV_PORT, memenv->owner, false); - rt.addInt(getPageInfo); - rt.addRef(((WxeApp *) wxTheApp)->getRef((void *)this, memenv), "wxPrintout"); - rt.endList(1); - rt.addAtom("_wx_invoke_cb_"); - rt.addTupleCount(3); - rt.send(); - handle_callback_batch(port); - //fprintf(stderr,"%d ", __LINE__);handle_callback_batch(port); fprintf(stderr,"%d\r\n", __LINE__); + INVOKE_CALLBACK(port, getPageInfo, "wxPrintout"); + if(((WxeApp *) wxTheApp)->cb_buff) { + char * bp = ((WxeApp *) wxTheApp)->cb_buff; + *minPage = *(int *) bp; bp += 4; + *maxPage = *(int *) bp; bp += 4; + *pageFrom = *(int *) bp; bp += 4; + *pageTo = *(int *) bp; bp += 4; + driver_free(((WxeApp *) wxTheApp)->cb_buff); + ((WxeApp *) wxTheApp)->cb_buff = NULL; + } + } + wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo); +} + +/* *****************************************************************/ +// ListCtrl with callbacks for VIRTUAL_TABLES + +wxString EwxListCtrl::OnGetItemText(long item, long col) const { + if(onGetItemText) { + INVOKE_CALLBACK_INIT(port, onGetItemText, "wxListCtrl"); + rt.addInt(item); + rt.addInt(col); + INVOKE_CALLBACK_END(port, 2); + if(((WxeApp *) wxTheApp)->cb_buff) { + char * bp = ((WxeApp *) wxTheApp)->cb_buff; + wxString str = wxString(bp, wxConvUTF8); + driver_free(((WxeApp *) wxTheApp)->cb_buff); + ((WxeApp *) wxTheApp)->cb_buff = NULL; + return str; + } + } + return wxT("OnGetItemText not correctly defined"); +} +wxListItemAttr* EwxListCtrl::OnGetItemAttr(long item) const { + if(onGetItemAttr) { + INVOKE_CALLBACK_INIT(port, onGetItemAttr, "wxListCtrl"); + rt.addInt(item); + INVOKE_CALLBACK_END(port, 1); char * bp = ((WxeApp *) wxTheApp)->cb_buff; - *minPage = *(int *) bp; bp += 4; - *maxPage = *(int *) bp; bp += 4; - *pageFrom = *(int *) bp; bp += 4; - *pageTo = *(int *) bp; bp += 4; - } else { - wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo); + wxeMemEnv * memenv = ((WxeApp *) wxTheApp)->getMemEnv(port); + if(bp) { + wxListItemAttr * result = (wxListItemAttr *)((WxeApp *) wxTheApp)->getPtr(bp, memenv); + driver_free(((WxeApp *) wxTheApp)->cb_buff); + ((WxeApp *) wxTheApp)->cb_buff = NULL; + return result; + } } + return NULL; +} + +int EwxListCtrl::OnGetItemImage(long item) const { + return OnGetItemColumnImage(item, 0); } -void wxEPrintout::clear_cb(int callback) +int EwxListCtrl::OnGetItemColumnImage(long item, long col) const { + if(onGetItemColumnImage) { + INVOKE_CALLBACK_INIT(port, onGetItemColumnImage, "wxListCtrl"); + rt.addInt(item); + rt.addInt(col); + INVOKE_CALLBACK_END(port, 2); + if(((WxeApp *) wxTheApp)->cb_buff) { + int res = * (int*) ((WxeApp *) wxTheApp)->cb_buff; + driver_free(((WxeApp *) wxTheApp)->cb_buff); + ((WxeApp *) wxTheApp)->cb_buff = NULL; + return res; + } + } + return -1; +} + +EwxListCtrl::~EwxListCtrl() { + clear_cb(port, onGetItemText); + clear_cb(port, onGetItemAttr); + clear_cb(port, onGetItemColumnImage); + ((WxeApp *)wxTheApp)->clearPtr(this); +} +// tools + +void clear_cb(ErlDrvPort port, int callback) { if(callback > 0) { wxeMemEnv * memenv = ((WxeApp *) wxTheApp)->getMemEnv(port); wxeReturn rt = wxeReturn(WXE_DRV_PORT, memenv->owner, false); - // NOTE: Remove this later when changing from funs to gen_server rt.addAtom("wx_delete_cb"); rt.addInt(callback); rt.addTupleCount(2); rt.send(); } } - diff --git a/lib/wx/c_src/wxe_driver.c b/lib/wx/c_src/wxe_driver.c index 3b951bec57..2404b13cc3 100644 --- a/lib/wx/c_src/wxe_driver.c +++ b/lib/wx/c_src/wxe_driver.c @@ -1,19 +1,19 @@ /* * %CopyrightBegin% - * - * Copyright Ericsson AB 2008-2009. All Rights Reserved. - * + * + * Copyright Ericsson AB 2008-2011. All Rights Reserved. + * * The contents of this file are subject to the Erlang Public License, * Version 1.1, (the "License"); you may not use this file except in * compliance with the License. You should have received a copy of the * Erlang Public License along with this software. If not, it can be * retrieved online at http://www.erlang.org/. - * + * * Software distributed under the License is distributed on an "AS IS" * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See * the License for the specific language governing rights and limitations * under the License. - * + * * %CopyrightEnd% */ @@ -113,18 +113,18 @@ wxe_driver_start(ErlDrvPort port, char *buff) data->driver_data = NULL; data->bin = NULL; data->port = port; + data->pdl = driver_pdl_create(port); if(WXE_DRV_PORT == 0) { for(; *buff != 32; buff++); buff++; - erl_wx_privdir = malloc(strlen(buff)); - strcpy(erl_wx_privdir, buff); + erl_wx_privdir = strdup(buff); WXE_DRV_PORT = port; wxe_master = data; if(!(start_native_gui(data) == 1)) return(ERL_DRV_ERROR_GENERAL); /* ENOMEM */ } else { - meta_command(CREATE_PORT,data); + meta_command(CREATE_PORT,data); } return (ErlDrvData) data; } @@ -145,7 +145,6 @@ static void wxe_driver_unload(void) { // fprintf(stderr, "%s:%d: UNLOAD \r\n", __FILE__,__LINE__); - meta_command(WXE_SHUTDOWN, wxe_master); stop_native_gui(wxe_master); unload_native_gui(); free(wxe_master); diff --git a/lib/wx/c_src/wxe_driver.h b/lib/wx/c_src/wxe_driver.h index 8437b4eb36..5c5b8614ed 100644 --- a/lib/wx/c_src/wxe_driver.h +++ b/lib/wx/c_src/wxe_driver.h @@ -1,19 +1,19 @@ /* * %CopyrightBegin% - * - * Copyright Ericsson AB 2008-2009. All Rights Reserved. - * + * + * Copyright Ericsson AB 2008-2010. All Rights Reserved. + * * The contents of this file are subject to the Erlang Public License, * Version 1.1, (the "License"); you may not use this file except in * compliance with the License. You should have received a copy of the * Erlang Public License along with this software. If not, it can be * retrieved online at http://www.erlang.org/. - * + * * Software distributed under the License is distributed on an "AS IS" * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See * the License for the specific language governing rights and limitations * under the License. - * + * * %CopyrightEnd% */ @@ -45,6 +45,7 @@ typedef struct wxe_data_def { WXEBinRef * bin; /* Argument binaries */ ErlDrvPort port; int is_cbport; + ErlDrvPDL pdl; } wxe_data; @@ -82,8 +83,9 @@ extern char * erl_wx_privdir; #define WXE_CB_START 8 #define WXE_DEBUG_DRIVER 9 #define WXE_DEBUG_PING 10 -#define WXE_BIN_INCR 5001 -#define WXE_BIN_DECR 5002 +#define WXE_BIN_INCR 11 +#define WXE_BIN_DECR 12 +#define WXE_INIT_OPENGL 13 #define OPENGL_START 5000 diff --git a/lib/wx/c_src/wxe_gl.cpp b/lib/wx/c_src/wxe_gl.cpp index 63dd68fa5e..e947a1bc6e 100644 --- a/lib/wx/c_src/wxe_gl.cpp +++ b/lib/wx/c_src/wxe_gl.cpp @@ -1,7 +1,7 @@ /* * %CopyrightBegin% * - * Copyright Ericsson AB 2008-2009. All Rights Reserved. + * Copyright Ericsson AB 2008-2010. All Rights Reserved. * * The contents of this file are subject to the Erlang Public License, * Version 1.1, (the "License"); you may not use this file except in @@ -19,303 +19,142 @@ #include <stdio.h> #include <string.h> +#ifndef _WIN32 +#include <dlfcn.h> +#else +#include <windows.h> +#endif #include "wxe_impl.h" - -#include "wxe_gl.h" - -#define WX_DEF_EXTS -#include "gen/gl_fdefs.h" -#include "gen/gl_finit.h" -#include "gen/glu_finit.h" +#include "wxe_return.h" /* **************************************************************************** * Opengl context management * * ****************************************************************************/ -int gl_initiated = FALSE; +int erl_gl_initiated = FALSE; ErlDrvTermData gl_active = 0; wxeGLC glc; -void setActiveGL(ErlDrvTermData caller, wxGLCanvas *canvas) -{ - if(gl_initiated == FALSE) { - initOpenGL(); - init_tess(); - gl_initiated = TRUE; - } - gl_active = caller; - glc[caller] = canvas; -} - -void deleteActiveGL(wxGLCanvas *canvas) -{ - gl_active = 0; - wxeGLC::iterator it; - for(it = glc.begin(); it != glc.end(); ++it) { - if(it->second == canvas) { - it->second = (wxGLCanvas *) 0; - } - } -} - -/* **************************************************************************** - * OPENGL INITIALIZATION - *****************************************************************************/ +typedef void (*WXE_GL_DISPATCH) (int, char *, ErlDrvPort, ErlDrvTermData, char **, int *); +WXE_GL_DISPATCH wxe_gl_dispatch; #ifdef _WIN32 +#define RTLD_LAZY 0 +typedef HMODULE DL_LIB_P; void * dlsym(HMODULE Lib, const char *func) { void * funcp; - if((funcp = (void *) GetProcAddress(Lib, func))) + if((funcp = (void *) GetProcAddress(Lib, func))) return funcp; - else + else return (void *) wglGetProcAddress(func); } -#endif -int initOpenGL() -{ -#ifdef _MACOSX - char * DLName = "/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib"; - void * LIBhandle = dlopen(DLName, RTLD_LAZY); -#elif defined(_WIN32) - WCHAR * DLName = wxT("opengl32.dll"); - HMODULE LIBhandle = LoadLibrary(DLName); -#else - char * DLName = (char *) "libGL.so"; - void * LIBhandle = dlopen(DLName, RTLD_LAZY); -#endif - // fprintf(stderr, "Loading GL: %s\r\n", (const char*)DLName); - void * func = NULL; - int i; +HMODULE dlopen(const char *path, int unused) { + WCHAR * DLL; + int len = MultiByteToWideChar(CP_ACP, 0, path, -1, NULL, 0); + DLL = (WCHAR *) malloc(len * sizeof(WCHAR)); + MultiByteToWideChar(CP_ACP, 0, path, -1, DLL, len); + HMODULE lib = LoadLibrary(DLL); + free(DLL); + return lib; +} - if(LIBhandle) { - for(i=0; gl_fns[i].name != NULL; i++) { - if((func = dlsym(LIBhandle, gl_fns[i].name))) { - * (void **) (gl_fns[i].func) = func; - // fprintf(stderr, "GL LOADED %s \r\n", gl_fns[i].name); - } else { - if(gl_fns[i].alt != NULL) { - if((func = dlsym(LIBhandle, gl_fns[i].alt))) { - * (void **) (gl_fns[i].func) = func; - // fprintf(stderr, "GL LOADED %s \r\n", gl_fns[i].alt); - } else { - * (void **) (gl_fns[i].func) = (void *) &gl_error; - // fprintf(stderr, "GL Skipped %s and %s \r\n", gl_fns[i].name, gl_fns[i].alt); - }; - } else { - * (void **) (gl_fns[i].func) = (void *) &gl_error; - // fprintf(stderr, "GL Skipped %s \r\n", gl_fns[i].name); - } - } - } -#ifdef _WIN32 - FreeLibrary(LIBhandle); -#else - dlclose(LIBhandle); -#endif - // fprintf(stderr, "OPENGL library is loaded\r\n"); - } else { - wxString msg; - msg.Printf(wxT("Could NOT load OpenGL library: ")); -#ifdef _WIN32 - msg += DLName; +void dlclose(HMODULE Lib) { + FreeLibrary(Lib); +} #else - msg += wxString::FromAscii((char *)DLName); +typedef void * DL_LIB_P; #endif - send_msg("error", &msg); - }; -#ifdef _MACOSX - DLName = "/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib"; - LIBhandle = dlopen(DLName, RTLD_LAZY); -#elif defined(_WIN32) - DLName = wxT("glu32.dll"); - LIBhandle = LoadLibrary(DLName); +void wxe_initOpenGL(wxeReturn rt, char *bp) { + DL_LIB_P LIBhandle; + int (*init_opengl)(void *); +#ifdef _WIN32 + void * erlCallbacks = &WinDynDriverCallbacks; #else - DLName = (char *) "libGLU.so"; - LIBhandle = dlopen(DLName, RTLD_LAZY); + void * erlCallbacks = NULL; #endif - // fprintf(stderr, "Loading GL: %s\r\n", (const char*)DLName); - func = NULL; - - if(LIBhandle) { - for(i=0; glu_fns[i].name != NULL; i++) { - if((func = dlsym(LIBhandle, glu_fns[i].name))) { - * (void **) (glu_fns[i].func) = func; + + if(erl_gl_initiated == FALSE) { + if((LIBhandle = dlopen(bp, RTLD_LAZY))) { + *(void **) (&init_opengl) = dlsym(LIBhandle, "egl_init_opengl"); + wxe_gl_dispatch = (WXE_GL_DISPATCH) dlsym(LIBhandle, "egl_dispatch"); + if(init_opengl && wxe_gl_dispatch) { + (*init_opengl)(erlCallbacks); + rt.addAtom((char *) "ok"); + rt.add(wxString::FromAscii("initiated")); + rt.addTupleCount(2); + erl_gl_initiated = TRUE; } else { - if(glu_fns[i].alt != NULL) { - if((func = dlsym(LIBhandle, glu_fns[i].alt))) { - * (void **) (glu_fns[i].func) = func; - } else { - * (void **) (glu_fns[i].func) = (void *) &gl_error; - // fprintf(stderr, "GLU Skipped %s\r\n", glu_fns[i].alt); - }; - } else { - * (void **) (glu_fns[i].func) = (void *) &gl_error; - // fprintf(stderr, "GLU Skipped %s\r\n", glu_fns[i].name); - } + wxString msg; + msg.Printf(wxT("In library: ")); + msg += wxString::FromAscii(bp); + msg += wxT(" functions: "); + if(!init_opengl) + msg += wxT("egl_init_opengl "); + if(!wxe_gl_dispatch) + msg += wxT("egl_dispatch "); + rt.addAtom((char *) "error"); + rt.add(msg); + rt.addTupleCount(2); } + } else { + wxString msg; + msg.Printf(wxT("Could not load dll: ")); + msg += wxString::FromAscii(bp); + rt.addAtom((char *) "error"); + rt.add(msg); + rt.addTupleCount(2); } -#ifdef _WIN32 - FreeLibrary(LIBhandle); -#else - dlclose(LIBhandle); -#endif - // fprintf(stderr, "GLU library is loaded\r\n"); } else { - wxString msg; - msg.Printf(wxT("Could NOT load OpenGL GLU library: ")); -#ifdef _WIN32 - msg += DLName; -#else - msg += wxString::FromAscii((char *)DLName); -#endif - send_msg("error", &msg); - }; - return 0; -} - -void gl_error() { - int AP = 0; ErlDrvTermData rt[8]; - rt[AP++] = ERL_DRV_ATOM; rt[AP++] = driver_mk_atom((char *)"_wxe_error_"); - rt[AP++] = ERL_DRV_INT; rt[AP++] = (int) gl_error_op; - rt[AP++] = ERL_DRV_ATOM; rt[AP++] = driver_mk_atom((char *)"undef"); - rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 3; - driver_send_term(WXE_DRV_PORT,gl_active,rt,AP); -} - -/* ******************************************************************************* - * GLU Tesselation special - * ******************************************************************************/ - -static GLUtesselator* tess; -static GLdouble* tess_coords; -static GLdouble* tess_alloc_vertex; -static int* tess_vertices; - -void CALLBACK -wxe_ogla_vertex(GLdouble* coords) -{ - /* fprintf(stderr, "%d\r\n", (int) (coords - tess_coords) / 3); */ - - *tess_vertices++ = (int) (coords - tess_coords) / 3; -} - -void CALLBACK -wxe_ogla_edge_flag(GLboolean flag) -{ + rt.addAtom((char *) "ok"); + rt.add(wxString::FromAscii("already initilized")); + rt.addTupleCount(2); + } + rt.send(); } -void CALLBACK -wxe_ogla_error(GLenum errorCode) +void setActiveGL(ErlDrvTermData caller, wxGLCanvas *canvas) { - const GLubyte *err; - err = gluErrorString(errorCode); - wxString msg; - msg.Printf(wxT("Tesselation error: %d: "), (int)errorCode); - msg += wxString::FromAscii((char *) err); - send_msg("error", &msg); + gl_active = caller; + glc[caller] = canvas; } -void CALLBACK -wxe_ogla_combine(GLdouble coords[3], - void* vertex_data[4], - GLfloat w[4], - void **dataOut) +void deleteActiveGL(wxGLCanvas *canvas) { - GLdouble* vertex = tess_alloc_vertex; - - tess_alloc_vertex += 3; - -#if 0 - fprintf(stderr, "combine: "); - int i; - for (i = 0; i < 4; i++) { - if (w[i] > 0.0) { - fprintf(stderr, "%d(%g) ", (int) vertex_data[i], w[i]); + gl_active = 0; + wxeGLC::iterator it; + for(it = glc.begin(); it != glc.end(); ++it) { + if(it->second == canvas) { + it->second = (wxGLCanvas *) 0; } } - fprintf(stderr, "\r\n"); - fprintf(stderr, "%g %g %g\r\n", vertex[0], vertex[1], vertex[2]); -#endif - - vertex[0] = coords[0]; - vertex[1] = coords[1]; - vertex[2] = coords[2]; - *dataOut = vertex; -} - -void init_tess() -{ - tess = gluNewTess(); - - gluTessCallback(tess, GLU_TESS_VERTEX, (GLUfuncptr) wxe_ogla_vertex); - gluTessCallback(tess, GLU_TESS_EDGE_FLAG, (GLUfuncptr) wxe_ogla_edge_flag); - gluTessCallback(tess, GLU_TESS_COMBINE, (GLUfuncptr) wxe_ogla_combine); - gluTessCallback(tess, GLU_TESS_ERROR, (GLUfuncptr) wxe_ogla_error); - } -void exit_tess() -{ - gluDeleteTess(tess); -} - -int wxe_tess_impl(char* buff, ErlDrvTermData caller) -{ - ErlDrvBinary* bin; - int i; - int num_vertices = * (int *) buff; buff += 8; // Align - GLdouble *n = (double *) buff; buff += 8*3; - - GLdouble* new_vertices; - bin = driver_alloc_binary(num_vertices*6*sizeof(GLdouble)); - new_vertices = tess_coords = (double *) bin->orig_bytes; - memcpy(tess_coords,buff,num_vertices*3*sizeof(GLdouble)); - tess_alloc_vertex = tess_coords + num_vertices*3; - -#if 0 - fprintf(stderr, "n=%d\r\n", num_vertices); -#endif - int *vertices; - vertices = (int *) driver_alloc(sizeof(int) * 16*num_vertices); - - tess_vertices = vertices; - - gluTessNormal(tess, n[0], n[1], n[2]); - gluTessBeginPolygon(tess, 0); - gluTessBeginContour(tess); - for (i = 0; i < num_vertices; i++) { - gluTessVertex(tess, tess_coords+3*i, tess_coords+3*i); - } - gluTessEndContour(tess); - gluTessEndPolygon(tess); - - int n_pos = (tess_vertices - vertices); - - int AP = 0; ErlDrvTermData *rt; - rt = (ErlDrvTermData *) driver_alloc(sizeof(ErlDrvTermData) * (13+n_pos*2)); - rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_"); - - for(i=0; i < n_pos; i++) { - rt[AP++] = ERL_DRV_INT; rt[AP++] = (int) vertices[i]; +void gl_dispatch(int op, char *bp,ErlDrvTermData caller,WXEBinRef *bins[]){ + if(caller != gl_active) { + wxGLCanvas * current = glc[caller]; + if(current) { gl_active = caller; current->SetCurrent();} + else { + ErlDrvTermData rt[] = // Error msg + {ERL_DRV_ATOM, driver_mk_atom((char *) "_egl_error_"), + ERL_DRV_INT, op, + ERL_DRV_ATOM, driver_mk_atom((char *) "no_gl_context"), + ERL_DRV_TUPLE,3}; + driver_send_term(WXE_DRV_PORT,caller,rt,8); + return ; + } }; - rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = n_pos+1; - - rt[AP++] = ERL_DRV_BINARY; rt[AP++] = (ErlDrvTermData) bin; - rt[AP++] = (tess_alloc_vertex-new_vertices)*sizeof(GLdouble); rt[AP++] = 0; - - rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; // Return tuple {list, Bin} - rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2; // Result tuple - - driver_send_term(WXE_DRV_PORT,caller,rt,AP); -// fprintf(stderr, "List %d %d %d \r\n", -// n_pos, -// (tess_alloc_vertex-new_vertices)*sizeof(GLdouble), -// num_vertices*6*sizeof(GLdouble)); - driver_free_binary(bin); - driver_free(vertices); - driver_free(rt); - return 0; + char * bs[3]; + int bs_sz[3]; + for(int i=0; i<3; i++) { + if(bins[i]) { + bs[i] = bins[i]->base; + bs_sz[i] = bins[i]->size; + } + else + bs[i] = NULL; + } + wxe_gl_dispatch(op, bp, WXE_DRV_PORT, caller, bs, bs_sz); } diff --git a/lib/wx/c_src/wxe_gl.h b/lib/wx/c_src/wxe_gl.h index 3a47b3c1bd..1b556ff4ec 100644 --- a/lib/wx/c_src/wxe_gl.h +++ b/lib/wx/c_src/wxe_gl.h @@ -1,7 +1,7 @@ /* * %CopyrightBegin% * - * Copyright Ericsson AB 2008-2009. All Rights Reserved. + * Copyright Ericsson AB 2008-2010. All Rights Reserved. * * The contents of this file are subject to the Erlang Public License, * Version 1.1, (the "License"); you may not use this file except in @@ -17,119 +17,6 @@ * %CopyrightEnd% */ +#include "egl_impl.h" -#ifndef _WIN32 -# include <dlfcn.h> -#endif - -#ifndef __WXMAC__ -# include <GL/gl.h> -# include <GL/glu.h> /* Header File For The OpenGL Library */ -#else -# include <OpenGL/glu.h> /* Header File For The OpenGL Library */ -#endif - -#ifndef CALLBACK -# define CALLBACK -#endif - -#ifdef _WIN32 -# ifndef _GLUfuncptr -// Visual studio CPP ++ compiler -# define _GLUfuncptr void (_stdcall *)() -# endif -#endif - -#ifdef _GLUfuncptr -# define GLUfuncptr _GLUfuncptr -#elif defined(TESS_CB_TIGER_STYLE) -# define GLUfuncptr GLvoid (*)(...) -#else -# define GLUfuncptr GLvoid (*)() -#endif - -#ifdef WIN32 -#include <windows.h> -#include <gl/gl.h> -#elif defined(HAVE_GL_GL_H) -#include <GL/gl.h> -#elif defined(HAVE_OPENGL_GL_H) -#endif - -#ifndef APIENTRY -#define APIENTRY -#endif - -int initOpenGL(); -void gl_error(); -extern int gl_error_op; -extern ErlDrvTermData gl_active; - -/* Some new GL types (eliminates the need for glext.h) */ - -#ifndef HAVE_GLINTPTR -#ifndef HAVE_GLINTPTRARB -# include <stddef.h> -/* GL types for handling large vertex buffer objects */ -typedef ptrdiff_t GLintptrARB; -typedef ptrdiff_t GLsizeiptrARB; -#endif /* HAVE_GLINTPTRARB */ -typedef GLintptrARB GLintptr; -typedef GLsizeiptrARB GLsizeiptr; -#endif /* HAVE_GLINTPTR */ - -#ifndef HAVE_GLCHAR -# ifndef HAVE_GLCHARARB -/* GL types for handling shader object handles and characters */ -typedef char GLcharARB; /* native character */ -typedef unsigned int GLhandleARB; /* shader object handle */ -#endif /* HAVE_GLCHARARB */ -typedef GLcharARB GLchar; -#endif - -#ifndef HAVE_GLHALFARB -/* GL types for "half" precision (s10e5) float data in host memory */ -typedef unsigned short GLhalfARB; -#endif - -/* Define int32_t, int64_t, and uint64_t types for UST/MSC */ -/* (as used in the GLX_OML_sync_control extension). */ -#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L -#include <inttypes.h> -#elif defined(__sun__) -#include <inttypes.h> -#if defined(__STDC__) -#if defined(__arch64__) -typedef long int int64_t; -typedef unsigned long int uint64_t; -#else -typedef long long int int64_t; -typedef unsigned long long int uint64_t; -#endif /* __arch64__ */ -#endif /* __STDC__ */ -#elif defined( __VMS ) -#include <inttypes.h> -#elif defined(__SCO__) || defined(__USLC__) -#include <stdint.h> -#elif defined(__UNIXOS2__) || defined(__SOL64__) -typedef long int int32_t; -typedef long long int int64_t; -typedef unsigned long long int uint64_t; -#elif defined(WIN32) && defined(_MSC_VER) -typedef long int int32_t; -typedef __int64 int64_t; -typedef unsigned __int64 uint64_t; -#elif defined(WIN32) && defined(__GNUC__) -#include <stdint.h> -#else -#include <inttypes.h> /* Fallback option */ -#endif - -#ifndef HAVE_GLINT64EXT -typedef int64_t GLint64EXT; -typedef uint64_t GLuint64EXT; -#endif - -void init_tess(); -void exit_tess(); -int wxe_tess_impl(char* buff, ErlDrvTermData caller); +void wxe_initOpenGL(wxeReturn, char*); diff --git a/lib/wx/c_src/wxe_impl.cpp b/lib/wx/c_src/wxe_impl.cpp index 4486dff63b..e430fbc7a2 100644 --- a/lib/wx/c_src/wxe_impl.cpp +++ b/lib/wx/c_src/wxe_impl.cpp @@ -1,7 +1,7 @@ /* * %CopyrightBegin% * - * Copyright Ericsson AB 2008-2010. All Rights Reserved. + * Copyright Ericsson AB 2008-2011. All Rights Reserved. * * The contents of this file are subject to the Erlang Public License, * Version 1.1, (the "License"); you may not use this file except in @@ -14,7 +14,7 @@ * the License for the specific language governing rights and limitations * under the License. * - * %CopyrightEnd% + * %CopyrightEnd% */ #include <stdio.h> @@ -49,7 +49,7 @@ DEFINE_EVENT_TYPE(wxeEVT_META_COMMAND) #define WXE_NORMAL 0 #define WXE_CALLBACK 1 -#define WXE_STORED 2 +#define WXE_STORED 2 ErlDrvTid wxe_thread; @@ -67,8 +67,7 @@ wxList * wxe_batch_cb_saved = NULL; ErlDrvTermData wxe_batch_caller = 0; ErlDrvTermData init_caller = 0; -// extern opengl -extern int gl_initiated; +// extern opengl void gl_dispatch(int op, char *bp, ErlDrvTermData caller, WXEBinRef *bins[]); @@ -79,13 +78,28 @@ extern void erts_thread_disable_fpe(void); } #endif +#if defined(__APPLE__) && defined(__MACH__) && !defined(__DARWIN__) +#define __DARWIN__ 1 +#endif + +#ifdef __DARWIN__ +extern "C" { + int erl_drv_stolen_main_thread_join(ErlDrvTid tid, void **respp); + int erl_drv_steal_main_thread(char *name, + ErlDrvTid *dtid, + void* (*func)(void*), + void* arg, + ErlDrvThreadOpts *opts); +} +#endif + void *wxe_main_loop(void * ); /* ************************************************************ * START AND STOP of driver thread * ************************************************************/ -int load_native_gui() +int load_native_gui() { return 1; } @@ -98,10 +112,16 @@ int start_native_gui(wxe_data *sd) wxe_batch_locker_m = erl_drv_mutex_create((char *)"wxe_batch_locker_m"); wxe_batch_locker_c = erl_drv_cond_create((char *)"wxe_batch_locker_c"); - init_caller = driver_connected(sd->port); - - if((res = erl_drv_thread_create((char *)"wxwidgets", - &wxe_thread,wxe_main_loop,NULL,NULL)) == 0) { + init_caller = driver_connected(sd->port); + +#ifdef __DARWIN__ + res = erl_drv_steal_main_thread((char *)"wxwidgets", + &wxe_thread,wxe_main_loop,(void *) sd->pdl,NULL); +#else + res = erl_drv_thread_create((char *)"wxwidgets", + &wxe_thread,wxe_main_loop,(void *) sd->pdl,NULL); +#endif + if(res == 0) { erl_drv_mutex_lock(wxe_status_m); for(;wxe_status == WXE_NOT_INITIATED;) { erl_drv_cond_wait(wxe_status_c, wxe_status_m); @@ -118,16 +138,23 @@ int start_native_gui(wxe_data *sd) void stop_native_gui(wxe_data *sd) { + if(wxe_status == WXE_INITIATED) { + meta_command(WXE_SHUTDOWN, sd); + } +#ifdef __DARWIN__ + erl_drv_stolen_main_thread_join(wxe_thread, NULL); +#else erl_drv_thread_join(wxe_thread, NULL); +#endif erl_drv_mutex_destroy(wxe_status_m); erl_drv_cond_destroy(wxe_status_c); erl_drv_mutex_destroy(wxe_batch_locker_m); erl_drv_cond_destroy(wxe_batch_locker_c); } -void unload_native_gui() +void unload_native_gui() { - + } /* ************************************************************ @@ -135,13 +162,13 @@ void unload_native_gui() * Called by emulator thread * ************************************************************/ -void push_command(int op,char * buf,int len, wxe_data *sd) -{ +void push_command(int op,char * buf,int len, wxe_data *sd) +{ // fprintf(stderr, "Op %d %d\r\n", op, (int) driver_caller(sd->port)),fflush(stderr); wxeCommand *Cmd = new wxeCommand(op, buf, len, sd); erl_drv_mutex_lock(wxe_batch_locker_m); wxe_batch->Append(Cmd); - + if(wxe_batch_caller > 0) { // wx-thread is waiting on batch end in cond_wait erl_drv_cond_signal(wxe_batch_locker_c); @@ -152,11 +179,11 @@ void push_command(int op,char * buf,int len, wxe_data *sd) } erl_drv_cond_signal(wxe_batch_locker_c); wxWakeUpIdle(); - } + } erl_drv_mutex_unlock(wxe_batch_locker_m); } -void meta_command(int what, wxe_data *sd) { +void meta_command(int what, wxe_data *sd) { if(what == PING_PORT) { erl_drv_mutex_lock(wxe_batch_locker_m); if(wxe_batch_caller > 0) { @@ -176,15 +203,18 @@ void meta_command(int what, wxe_data *sd) { } /* ************************************************************ - * wxWidgets Thread + * wxWidgets Thread * ************************************************************/ -void *wxe_main_loop(void * not_used) +void *wxe_main_loop(void *vpdl) { - int result; + int result; int argc = 1; - char * temp = (char *) "Erlang\0"; - char ** argv = &temp; + char * temp = (char *) "Erlang"; + char * argv[] = {temp,NULL}; + ErlDrvPDL pdl = (ErlDrvPDL) vpdl; + + driver_pdl_inc_refc(pdl); // ErlDrvSysInfo einfo; // driver_system_info(&einfo, sizeof(ErlDrvSysInfo)); @@ -193,30 +223,34 @@ void *wxe_main_loop(void * not_used) #ifndef _WIN32 erts_thread_disable_fpe(); #endif - + result = wxEntry(argc, argv); // fprintf(stderr, "WXWidgets quits main loop %d \r\n", result); if(result >= 0 && wxe_status == WXE_INITIATED) { /* We are done try to make a clean exit */ wxe_status = WXE_EXITED; + driver_pdl_dec_refc(pdl); +#ifndef __DARWIN__ erl_drv_thread_exit(NULL); +#endif return NULL; } else { erl_drv_mutex_lock(wxe_status_m); wxe_status = WXE_ERROR; erl_drv_cond_signal(wxe_status_c); erl_drv_mutex_unlock(wxe_status_m); - return NULL; + driver_pdl_dec_refc(pdl); + return NULL; } } wxFrame * dummy_window; void create_dummy_window() { - dummy_window = new wxFrame(NULL,-1, wxT("wx driver"), - wxDefaultPosition, wxSize(5,5), + dummy_window = new wxFrame(NULL,-1, wxT("wx driver"), + wxDefaultPosition, wxSize(5,5), wxFRAME_NO_TASKBAR); - dummy_window->Connect(wxID_ANY, wxEVT_CLOSE_WINDOW, + dummy_window->Connect(wxID_ANY, wxEVT_CLOSE_WINDOW, (wxObjectEventFunction) (wxEventFunction) &WxeApp::dummy_close); } @@ -228,7 +262,7 @@ void WxeApp::dummy_close(wxEvent& Ev) { create_dummy_window(); } -// Init wx-widgets thread +// Init wx-widgets thread bool WxeApp::OnInit() { wxe_ps_init(); @@ -236,16 +270,17 @@ bool WxeApp::OnInit() global_me = new wxeMemEnv(); wxe_batch = new wxList; wxe_batch_cb_saved = new wxList; + cb_buff = NULL; wxIdleEvent::SetMode(wxIDLE_PROCESS_SPECIFIED); - this->Connect(wxID_ANY, wxEVT_IDLE, + this->Connect(wxID_ANY, wxEVT_IDLE, (wxObjectEventFunction) (wxEventFunction) &WxeApp::idle); - this->Connect(CREATE_PORT, wxeEVT_META_COMMAND, + this->Connect(CREATE_PORT, wxeEVT_META_COMMAND, (wxObjectEventFunction) (wxEventFunction) &WxeApp::newMemEnv); - this->Connect(DELETE_PORT, wxeEVT_META_COMMAND, + this->Connect(DELETE_PORT, wxeEVT_META_COMMAND, (wxObjectEventFunction) (wxEventFunction) &WxeApp::destroyMemEnv); - this->Connect(WXE_SHUTDOWN, wxeEVT_META_COMMAND, + this->Connect(WXE_SHUTDOWN, wxeEVT_META_COMMAND, (wxObjectEventFunction) (wxEventFunction) &WxeApp::shutdown); // fprintf(stderr, "Size void* %d: long %d long long %d int64 %d \r\n", @@ -253,14 +288,13 @@ bool WxeApp::OnInit() initEventTable(); wxInitAllImageHandlers(); - /* Create a dummy window so wxWidgets don't automagicly quits the main loop + /* Create a dummy window so wxWidgets don't automagicly quits the main loop after the last window */ - create_dummy_window(); + create_dummy_window(); init_nonconsts(global_me, init_caller); erl_drv_mutex_lock(wxe_status_m); wxe_status = WXE_INITIATED; - gl_initiated = FALSE; erl_drv_cond_signal(wxe_status_c); erl_drv_mutex_unlock(wxe_status_m); return TRUE; @@ -275,19 +309,19 @@ void send_msg(const char * type, wxString * msg) { wxeReturn rt = wxeReturn(WXE_DRV_PORT, init_caller); rt.addAtom((char *) "wxe_driver"); rt.addAtom((char *) type); - rt.add(msg); + rt.add(msg); rt.addTupleCount(3); rt.send(); } /* ************************************************************ - * Erlang Command execution * + * Erlang Command execution * * ************************************************************/ -/* Callback from printer and event callbacks */ +/* Callback from printer and event callbacks */ void pre_callback() { - // no-op + // no-op } void handle_event_callback(ErlDrvPort port, ErlDrvTermData process) @@ -297,29 +331,19 @@ void handle_event_callback(ErlDrvPort port, ErlDrvTermData process) driver_monitor_process(port, process, &monitor); // Should we be able to handle commands when recursing? probably erl_drv_mutex_lock(wxe_batch_locker_m); - //fprintf(stderr, "\r\nCB Start ");fflush(stderr); + // fprintf(stderr, "\r\nCB EV Start ");fflush(stderr); app->dispatch_cb(wxe_batch, wxe_batch_cb_saved, process); - //fprintf(stderr, ".. done \r\n");fflush(stderr); + // fprintf(stderr, ".. done \r\n");fflush(stderr); wxe_batch_caller = 0; erl_drv_mutex_unlock(wxe_batch_locker_m); driver_demonitor_process(port, &monitor); } -void handle_callback_batch(ErlDrvPort port) -{ - WxeApp * app = (WxeApp *) wxTheApp; - // Should we be able to handle commands when recursing? probably - erl_drv_mutex_lock(wxe_batch_locker_m); - app->dispatch(wxe_batch, 0, WXE_CALLBACK); - wxe_batch_caller = 0; - erl_drv_mutex_unlock(wxe_batch_locker_m); -} - // Called by wx thread void WxeApp::idle(wxIdleEvent& event) { dispatch_cmds(); } - + void WxeApp::dispatch_cmds() { erl_drv_mutex_lock(wxe_batch_locker_m); int level = dispatch(wxe_batch_cb_saved, 0, WXE_STORED); @@ -328,14 +352,14 @@ void WxeApp::dispatch_cmds() { erl_drv_mutex_unlock(wxe_batch_locker_m); } -// Should have erl_drv_mutex_lock(wxe_batch_locker_m); -// when entering this function and it should be released +// Should have erl_drv_mutex_lock(wxe_batch_locker_m); +// when entering this function and it should be released // afterwards -int WxeApp::dispatch(wxList * batch, int blevel, int list_type) +int WxeApp::dispatch(wxList * batch, int blevel, int list_type) { int ping = 0; // erl_drv_mutex_lock(wxe_batch_locker_m); must be locked already - while(true) + while(true) { if (batch->size() > 0) { for( wxList::compatibility_iterator node = batch->GetFirst(); @@ -352,19 +376,22 @@ int WxeApp::dispatch(wxList * batch, int blevel, int list_type) {blevel++; } break; case WXE_DEBUG_PING: - // When in debugger we don't want to hang waiting for a BATCH_END + // When in debugger we don't want to hang waiting for a BATCH_END // that never comes, because a breakpoint have hit. ping++; - if(ping > 2) + if(ping > 2) blevel = 0; break; case WXE_CB_RETURN: // erl_drv_mutex_unlock(wxe_batch_locker_m); should be called after // whatever cleaning is necessary - memcpy(cb_buff, event->buffer, event->len); + if(event->len > 0) { + cb_buff = (char *) driver_alloc(event->len); + memcpy(cb_buff, event->buffer, event->len); + } return blevel; default: - erl_drv_mutex_unlock(wxe_batch_locker_m); + erl_drv_mutex_unlock(wxe_batch_locker_m); if(event->op < OPENGL_START) { // fprintf(stderr, " c %d (%d) \r\n", event->op, blevel); wxe_dispatch(*event); @@ -401,11 +428,12 @@ void WxeApp::dispatch_cb(wxList * batch, wxList * temp, ErlDrvTermData process) node = batch->GetFirst()) { wxeCommand *event = (wxeCommand *)node->GetData(); + wxeMemEnv *memenv = getMemEnv(event->port); batch->Erase(node); - if(event->caller == process || // Callbacks from CB process only + if(event->caller == process || // Callbacks from CB process only event->op == WXE_CB_START || // Recursive event callback allow // Allow connect_cb during CB i.e. msg from wxe_server. - event->caller == driver_connected(event->port)) + (memenv && event->caller == memenv->owner)) { switch(event->op) { case WXE_BATCH_END: @@ -413,7 +441,10 @@ void WxeApp::dispatch_cb(wxList * batch, wxList * temp, ErlDrvTermData process) case WXE_DEBUG_PING: break; case WXE_CB_RETURN: - memcpy(cb_buff, event->buffer, event->len); + if(event->len > 0) { + cb_buff = (char *) driver_alloc(event->len); + memcpy(cb_buff, event->buffer, event->len); + } callback_returned = 1; return; case WXE_CB_START: @@ -430,12 +461,12 @@ void WxeApp::dispatch_cb(wxList * batch, wxList * temp, ErlDrvTermData process) } erl_drv_mutex_lock(wxe_batch_locker_m); break; - if(callback_returned) + if(callback_returned) return; } delete event; } else { - // fprintf(stderr, " sav %d \r\n", event->op); + // fprintf(stderr, " save %d \r\n", event->op); temp->Append(event); } } @@ -456,14 +487,17 @@ void WxeApp::dispatch_cb(wxList * batch, wxList * temp, ErlDrvTermData process) void WxeApp::newMemEnv(wxeMetaCommand& Ecmd) { wxeMemEnv * memenv = new wxeMemEnv(); + + driver_pdl_inc_refc(Ecmd.pdl); + for(int i = 0; i < global_me->next; i++) { - memenv->ref2ptr[i] = global_me->ref2ptr[i]; + memenv->ref2ptr[i] = global_me->ref2ptr[i]; } memenv->next = global_me->next; refmap[(ErlDrvTermData) Ecmd.port] = memenv; memenv->owner = Ecmd.caller; - ErlDrvTermData rt[] = {ERL_DRV_ATOM, driver_mk_atom((char *)"wx_port_initiated")}; + ErlDrvTermData rt[] = {ERL_DRV_ATOM, driver_mk_atom((char *)"wx_port_initiated")}; driver_send_term(WXE_DRV_PORT,Ecmd.caller,rt,2); } @@ -482,13 +516,13 @@ void WxeApp::destroyMemEnv(wxeMetaCommand& Ecmd) { // pre-pass delete all dialogs first since they might crash erlang otherwise for(int i=1; i < memenv->next; i++) { wxObject * ptr = (wxObject *) memenv->ref2ptr[i]; - if(ptr) { + if(ptr) { ptrMap::iterator it = ptr2ref.find(ptr); if(it != ptr2ref.end()) { wxeRefData *refd = it->second; if(refd->alloc_in_erl) { if(refd->type == 2) { - wxDialog *win = (wxDialog *) ptr; + wxDialog *win = (wxDialog *) ptr; if(win->IsModal()) { win->EndModal(-1); } @@ -498,25 +532,25 @@ void WxeApp::destroyMemEnv(wxeMetaCommand& Ecmd) { if(parentRef == ptr2ref.end()) { // The parent is already dead delete the parent ref win->SetParent(NULL); - } + } } delete win; - } + } } } } } - // First pass, delete all top parents/windows of all linked objects + // First pass, delete all top parents/windows of all linked objects // fprintf(stderr, "close port %x\r\n", Ecmd.port);fflush(stderr); for(int i=1; i < memenv->next; i++) { void * ptr = memenv->ref2ptr[i]; - if(ptr) { + if(ptr) { ptrMap::iterator it = ptr2ref.find(ptr); if(it != ptr2ref.end()) { wxeRefData *refd = it->second; if(refd->alloc_in_erl && refd->type == 0) { - parent = (wxWindow *) ptr; + parent = (wxWindow *) ptr; // fprintf(stderr, "window %x %d\r\n", (int) parent, refd->ref); while(parent->GetParent()) { parent = parent->GetParent(); @@ -536,7 +570,7 @@ void WxeApp::destroyMemEnv(wxeMetaCommand& Ecmd) { // everything linked from windows should now be deleted for(int i=1; i < memenv->next; i++) { void * ptr = memenv->ref2ptr[i]; - if(ptr) { + if(ptr) { ptrMap::iterator it = ptr2ref.find(ptr); if(it != ptr2ref.end()) { wxeRefData *refd = it->second; @@ -548,34 +582,35 @@ void WxeApp::destroyMemEnv(wxeMetaCommand& Ecmd) { wxString msg; if((refd->type == 0)) { // Maybe also class 1 wxClassInfo *cinfo = ((wxObject *)ptr)->GetClassInfo(); - msg.Printf(wxT("Memory leak: {wx_ref, %d, %s}"), + msg.Printf(wxT("Memory leak: {wx_ref, %d, %s}"), refd->ref, cinfo->GetClassName()); send_msg("error", &msg); } else { delete_object(ptr, refd); } - if(type == 0 || type > 3) { - // Delete refs for leaks and non overridden allocs + if(type == 0 || type > 2) { + // Delete refs for leaks and non overridden allocs delete refd; ptr2ref.erase(it); } // overridden allocs deletes meta-data in clearPtr } else { // Not alloced in erl just delete references if(refd->ref >= global_me->next) { // if it is not part of global ptrs - delete refd; + delete refd; ptr2ref.erase(it); } } } } - } - // Assert ? -// for(ptrMap::iterator it = ptr2ref.begin(); it != ptr2ref.end(); it++) { -// wxeRefData *refd = it->second; -// if(refd->ref >= global_me->next) -// fprintf(stderr, "L %d %d\r\n", refd->ref, refd->alloc_in_erl); -// } -// fflush(stderr); + } +// // Assert ? +// for(ptrMap::iterator it = ptr2ref.begin(); it != ptr2ref.end(); it++) { +// wxeRefData *refd = it->second; +// if(refd->ref >= global_me->next) +// fprintf(stderr, "L %d %d %d\r\n", refd->ref, refd->type, refd->alloc_in_erl); +// } +// fflush(stderr); delete memenv; + driver_pdl_dec_refc(Ecmd.pdl); refmap.erase((ErlDrvTermData) Ecmd.port); } @@ -586,7 +621,7 @@ wxeMemEnv * WxeApp::getMemEnv(ErlDrvPort port) { int WxeApp::newPtr(void * ptr, int type, wxeMemEnv *memenv) { int ref; intList free = memenv->free; - + if(free.IsEmpty()) { ref = memenv->next++; } else { @@ -594,8 +629,8 @@ int WxeApp::newPtr(void * ptr, int type, wxeMemEnv *memenv) { }; if(ref >= memenv->max) { memenv->max *= 2; - memenv->ref2ptr = - (void **) driver_realloc(memenv->ref2ptr,memenv->max * sizeof(void*)); + memenv->ref2ptr = + (void **) driver_realloc(memenv->ref2ptr,memenv->max * sizeof(void*)); } memenv->ref2ptr[ref] = ptr; @@ -615,12 +650,12 @@ int WxeApp::getRef(void * ptr, wxeMemEnv *memenv) { ptrMap::iterator it = ptr2ref.find(ptr); if(it != ptr2ref.end()) { wxeRefData *refd = it->second; - if(refd->memenv == memenv) { + if(refd->memenv == memenv || refd->memenv == global_me) { // Found it return return refd->ref; } // else // Old reference to deleted object, release old and recreate in current memenv. - clearPtr(ptr); + ptr2ref.erase(it); } int ref; intList free = memenv->free; @@ -649,7 +684,7 @@ void WxeApp::clearPtr(void * ptr) { if(it != ptr2ref.end()) { wxeRefData *refd = it->second; intList free = refd->memenv->free; - int ref = refd->ref; + int ref = refd->ref; refd->memenv->ref2ptr[ref] = NULL; free.Append(ref); @@ -658,8 +693,8 @@ void WxeApp::clearPtr(void * ptr) { msg.Printf(wxT("Deleting {wx_ref, %d, unknown} at %p "), ref, ptr); send_msg("debug", &msg); } - - if(refd->pid != -1) { + + if(((int) refd->pid) != -1) { // Send terminate pid to owner wxeReturn rt = wxeReturn(WXE_DRV_PORT,refd->memenv->owner, false); rt.addAtom("_wxe_destroy_"); @@ -671,30 +706,30 @@ void WxeApp::clearPtr(void * ptr) { if(refd->type == 1 && ((wxObject*)ptr)->IsKindOf(CLASSINFO(wxSizer))) { wxSizerItemList list = ((wxSizer*)ptr)->GetChildren(); for(wxSizerItemList::compatibility_iterator node = list.GetFirst(); - node; node = node->GetNext()) { + node; node = node->GetNext()) { wxSizerItem *item = node->GetData(); wxObject *content=NULL; - if((content = item->GetWindow())) + if((content = item->GetWindow())) if(ptr2ref.end() == ptr2ref.find(content)) { wxString msg; wxClassInfo *cinfo = ((wxObject *)ptr)->GetClassInfo(); msg.Printf(wxT("Double usage detected of window at %p in sizer {wx_ref, %d, %s}"), content, ref, cinfo->GetClassName()); send_msg("error", &msg); - ((wxSizer*)ptr)->Detach((wxWindow*)content); + ((wxSizer*)ptr)->Detach((wxWindow*)content); } - if((content = item->GetSizer())) + if((content = item->GetSizer())) if(ptr2ref.end() == ptr2ref.find(content)) { wxString msg; wxClassInfo *cinfo = ((wxObject *)ptr)->GetClassInfo(); msg.Printf(wxT("Double usage detected of sizer at %p in sizer {wx_ref, %d, %s}"), content, ref, cinfo->GetClassName()); send_msg("error", &msg); - ((wxSizer*)ptr)->Detach((wxSizer*)content); + ((wxSizer*)ptr)->Detach((wxSizer*)content); } } } - + delete refd; ptr2ref.erase(it); } @@ -715,7 +750,7 @@ void * WxeApp::getPtr(char * bp, wxeMemEnv *memenv) { void WxeApp::registerPid(char * bp, ErlDrvTermData pid, wxeMemEnv * memenv) { int index = *(int *) bp; - if(!memenv) + if(!memenv) throw wxe_badarg(index); void * temp = memenv->ref2ptr[index]; if((index < memenv->next) && ((index == 0) || (temp > NULL))) { @@ -735,14 +770,14 @@ void WxeApp::registerPid(char * bp, ErlDrvTermData pid, wxeMemEnv * memenv) { * Misc utility classes * ************************************************************/ -/* **************************************************************************** - * Memory handling +/* **************************************************************************** + * Memory handling * ****************************************************************************/ wxeMemEnv::wxeMemEnv() { - ref2ptr = (void **) driver_alloc(128*sizeof(void *)); + ref2ptr = (void **) driver_alloc(128*sizeof(void *)); ref2ptr[0] = NULL; - next = 1; + next = 1; max = 128; } @@ -750,12 +785,12 @@ wxeMemEnv::~wxeMemEnv() { driver_free(ref2ptr); } -/* **************************************************************************** +/* **************************************************************************** * Erlang Commands (don't need to be derived of wxEvent anymore should * be re-written to own class struct) * ****************************************************************************/ -wxeCommand::wxeCommand(int fc,char * cbuf,int buflen, wxe_data *sd) +wxeCommand::wxeCommand(int fc,char * cbuf,int buflen, wxe_data *sd) : wxObject() { WXEBinRef *temp, *start, *prev; @@ -771,12 +806,12 @@ wxeCommand::wxeCommand(int fc,char * cbuf,int buflen, wxe_data *sd) if(cbuf) { buffer = (char *) driver_alloc(len); memcpy((void *) buffer, (void *) cbuf, len);; - + temp = sd->bin; - + prev = NULL; start = temp; - + while(temp) { if(caller == temp->from) { bin[n++] = temp; @@ -801,7 +836,7 @@ wxeCommand::~wxeCommand() { int n = 0; if(buffer) { while(bin[n]) { - if(bin[n]->bin) + if(bin[n]->bin) driver_free_binary(bin[n]->bin); driver_free(bin[n++]); } @@ -809,26 +844,26 @@ wxeCommand::~wxeCommand() { } } -/* **************************************************************************** - * TreeItemData +/* **************************************************************************** + * TreeItemData * ****************************************************************************/ -wxETreeItemData::wxETreeItemData(int sz, char * data) { +wxETreeItemData::wxETreeItemData(int sz, char * data) { size = sz; bin = (char *) driver_alloc(sz); memcpy(bin, data, sz); } -wxETreeItemData::~wxETreeItemData() +wxETreeItemData::~wxETreeItemData() { driver_free(bin); } -/* **************************************************************************** +/* **************************************************************************** * CallbackData * * ****************************************************************************/ -wxeCallbackData::wxeCallbackData(ErlDrvTermData caller,void * req, char *req_type, +wxeCallbackData::wxeCallbackData(ErlDrvTermData caller,void * req, char *req_type, int funcb, int skip_ev, wxeErlTerm * userData) : wxObject() { @@ -855,8 +890,6 @@ int wxCALLBACK wxEListCtrlCompare(long item1, long item2, long callbackInfoPtr) { callbackInfo * cb = (callbackInfo *)callbackInfoPtr; wxeMemEnv * memenv = ((WxeApp *) wxTheApp)->getMemEnv(cb->port); - char * bp = ((WxeApp *) wxTheApp)->cb_buff; - wxeReturn rt = wxeReturn(WXE_DRV_PORT, memenv->owner, false); rt.addInt(cb->callbackID); rt.addInt(item1); @@ -865,6 +898,13 @@ int wxCALLBACK wxEListCtrlCompare(long item1, long item2, long callbackInfoPtr) rt.addAtom("_wx_invoke_cb_"); rt.addTupleCount(3); rt.send(); - handle_callback_batch(cb->port); - return *(int*) bp; + handle_event_callback(cb->port, memenv->owner); + + if(((WxeApp *) wxTheApp)->cb_buff) { + int res = * (int*) ((WxeApp *) wxTheApp)->cb_buff; + driver_free(((WxeApp *) wxTheApp)->cb_buff); + ((WxeApp *) wxTheApp)->cb_buff = NULL; + return res; + } + return 0; } diff --git a/lib/wx/c_src/wxe_impl.h b/lib/wx/c_src/wxe_impl.h index 5e9d596633..ee31068d5d 100644 --- a/lib/wx/c_src/wxe_impl.h +++ b/lib/wx/c_src/wxe_impl.h @@ -1,19 +1,19 @@ /* * %CopyrightBegin% - * - * Copyright Ericsson AB 2008-2009. All Rights Reserved. - * + * + * Copyright Ericsson AB 2008-2011. All Rights Reserved. + * * The contents of this file are subject to the Erlang Public License, * Version 1.1, (the "License"); you may not use this file except in * compliance with the License. You should have received a copy of the * Erlang Public License along with this software. If not, it can be * retrieved online at http://www.erlang.org/. - * + * * Software distributed under the License is distributed on an "AS IS" * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See * the License for the specific language governing rights and limitations * under the License. - * + * * %CopyrightEnd% */ @@ -34,15 +34,16 @@ class wxeMetaCommand : public wxEvent public: wxeMetaCommand(wxe_data *sd, int EvId) : wxEvent(EvId, wxeEVT_META_COMMAND) - { caller = driver_caller(sd->port); port = sd->port; } ; + { caller = driver_caller(sd->port); port = sd->port; pdl = sd->pdl; } ; wxeMetaCommand(const wxeMetaCommand& event) : wxEvent(event) - { caller = event.caller; port = event.port; }; + { caller = event.caller; port = event.port; pdl = event.pdl; }; virtual ~wxeMetaCommand() {}; virtual wxEvent *Clone() const { return new wxeMetaCommand(*this); } ErlDrvTermData caller; ErlDrvPort port; + ErlDrvPDL pdl; }; class wxeCommand : public wxObject @@ -177,7 +178,8 @@ public: wxeMemEnv * global_me; // Temp container for callbacks - char cb_buff[256]; + char *cb_buff; + int cb_len; }; class wxETreeItemData : public wxTreeItemData @@ -193,7 +195,6 @@ class wxETreeItemData : public wxTreeItemData bool sendevent(wxEvent * event, ErlDrvPort port); void pre_callback(); -void handle_callback_batch(ErlDrvPort port); // For wxePrintout void handle_event_callback(ErlDrvPort port, ErlDrvTermData process); void activateGL(ErlDrvTermData caller); @@ -231,8 +232,6 @@ class wxEPrintout : public wxPrintout bool OnPrintPage(int page); void GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo); - void clear_cb(int callback); - int onPrintPage; int onPreparePrinting; int onBeginPrinting; @@ -245,6 +244,9 @@ class wxEPrintout : public wxPrintout ErlDrvPort port; }; +void clear_cb(ErlDrvPort port, int callback); + + // Implementation of wxListCtrlCompare struct callbackInfo { ErlDrvPort port; diff --git a/lib/wx/c_src/wxe_ps_init.c b/lib/wx/c_src/wxe_ps_init.c index e787c214bd..a85f751024 100644 --- a/lib/wx/c_src/wxe_ps_init.c +++ b/lib/wx/c_src/wxe_ps_init.c @@ -1,7 +1,7 @@ /* * %CopyrightBegin% * - * Copyright Ericsson AB 2008-2009. All Rights Reserved. + * Copyright Ericsson AB 2008-2011. All Rights Reserved. * * The contents of this file are subject to the Erlang Public License, * Version 1.1, (the "License"); you may not use this file except in diff --git a/lib/wx/c_src/wxe_return.cpp b/lib/wx/c_src/wxe_return.cpp index 2c4f7541e7..9fd627829e 100644 --- a/lib/wx/c_src/wxe_return.cpp +++ b/lib/wx/c_src/wxe_return.cpp @@ -64,11 +64,14 @@ int wxeReturn::send() { int res = driver_send_term(port, caller, rtData, rtLength); driver_free(rtData); +#ifdef DEBUG if(res == -1) { wxString msg; msg.Printf(wxT("Failed to send return or event msg")); send_msg("internal_error", &msg); } +#endif + reset(); return res; } diff --git a/lib/wx/configure.in b/lib/wx/configure.in index 855c0c975e..f7128db23a 100755 --- a/lib/wx/configure.in +++ b/lib/wx/configure.in @@ -162,16 +162,20 @@ esac case $host_os in darwin*) CFLAGS="-no-cpp-precomp $CFLAGS" - LDFLAGS="-bundle -flat_namespace -undefined warning -fPIC -framework OpenGL $LDFLAGS" + LDFLAGS="-bundle -flat_namespace -undefined warning -fPIC $LDFLAGS" + GL_LIBS="-framework OpenGL" ;; win32) LDFLAGS="-dll $LDFLAGS" + GL_LIBS="-lglu32 -lOpengl32" ;; mingw32) LDFLAGS="-shared -fPIC $LDFLAGS" + GL_LIBS="-lglu32 -lOpengl32" ;; *) LDFLAGS="-shared -fPIC $LDFLAGS" + GL_LIBS="-lGL -lGLU" ;; esac @@ -194,6 +198,42 @@ case $host_os in ;; esac +dnl +dnl Opengl tests +dnl + +if test X"$host_os" != X"win32" ; then + AC_CHECK_HEADERS([GL/gl.h], [], + [AC_CHECK_HEADERS([OpenGL/gl.h])]) + if test X"$ac_cv_header_GL_gl_h" != Xyes && + test X"$ac_cv_header_OpenGL_gl_h" != Xyes + then + saved_CPPFLAGS="$CPPFLAGS" + AC_MSG_NOTICE(Checking for OpenGL headers in /usr/X11R6) + CPPFLAGS="-isystem /usr/X11R6/include $CPPFLAGS" + $as_unset ac_cv_header_GL_gl_h + AC_CHECK_HEADERS([GL/gl.h]) + if test X"$ac_cv_header_GL_gl_h" != Xyes ; then + AC_MSG_NOTICE(Checking for OpenGL headers in /usr/local) + CPPFLAGS="-isystem /usr/local/include $saved_CPPFLAGS" + $as_unset ac_cv_header_GL_gl_h + AC_CHECK_HEADERS([GL/gl.h]) + if test X"$ac_cv_header_GL_gl_h" != Xyes ; then + AC_MSG_WARN([No OpenGL headers found, wx will NOT be usable]) + CPPFLAGS="$saved_CPPFLAGS" + else + GL_LIBS="-L/usr/local/lib $GL_LIBS" + fi + else + GL_LIBS="-L/usr/X11R6/lib $GL_LIBS" + fi + fi +else + AC_CHECK_HEADERS([gl/gl.h],[],[],[#include <windows.h>]) +fi + +AC_SUBST(GL_LIBS) + CXXFLAGS="$CFLAGS $CPPFLAGS" CFLAGS="$CFLAGS $CPPFLAGS $C_ONLY_FLAGS" @@ -386,17 +426,6 @@ if test "$WXERL_CAN_BUILD_DRIVER" != "false"; then AC_SUBST(WX_HAVE_STATIC_LIBS) AC_SUBST(RC_FILE_TYPE) -dnl -dnl Opengl tests -dnl - -if test X"$host_os" != X"win32" ; then - AC_CHECK_HEADERS([GL/gl.h]) - AC_CHECK_HEADERS([OpenGL/gl.h]) -else - AC_CHECK_HEADERS([gl/gl.h],[],[],[#include <windows.h>]) -fi - AC_MSG_CHECKING(if wxwidgets have opengl support) AC_LANG_PUSH(C++) saved_CXXFLAGS=$CXXFLAGS diff --git a/lib/wx/doc/src/notes.xml b/lib/wx/doc/src/notes.xml index 92933c348b..7bd8d18592 100644 --- a/lib/wx/doc/src/notes.xml +++ b/lib/wx/doc/src/notes.xml @@ -4,7 +4,7 @@ <chapter> <header> <copyright> - <year>2009</year><year>2010</year> + <year>2009</year><year>2011</year> <holder>Ericsson AB. All Rights Reserved.</holder> </copyright> <legalnotice> @@ -31,6 +31,145 @@ <p>This document describes the changes made to the wxErlang application.</p> +<section><title>Wx 0.99</title> + + <section><title>Fixed Bugs and Malfunctions</title> + <list> + <item> + <p> + wx: fix obsolete guard warning (list/1) (Thanks to Tuncer + Ayaz)</p> + <p> + Own Id: OTP-9513</p> + </item> + <item> + <p> XML files have been corrected. </p> + <p> + Own Id: OTP-9550 Aux Id: OTP-9541 </p> + </item> + </list> + </section> + + + <section><title>Improvements and New Features</title> + <list> + <item> + <p> + Support virtual tables in wxListCtrl.</p> + <p> + Own Id: OTP-9415</p> + </item> + </list> + </section> + +</section> + +<section><title>Wx 0.98.10</title> + + <section><title>Fixed Bugs and Malfunctions</title> + <list> + <item> + <p> + Fixed wx app files on mac and solaris. Thanks Jachym + Holecek and Joe Williams.</p> + <p> + Own Id: OTP-9324</p> + </item> + </list> + </section> + +</section> + +<section><title>Wx 0.98.9</title> + + <section><title>Fixed Bugs and Malfunctions</title> + <list> + <item> + <p>Wx crashed if graphics could not be initiated, for + instance if DISPLAY was not available.</p> <p>Wx could + crash during startup, thanks Boris Muhmer for extra + ordinary testing.</p> + <p> + Own Id: OTP-9080</p> + </item> + <item> + <p> + Wx on MacOS X generated complains on stderr about certain + cocoa functions not beeing called from the "Main thread". + This is now corrected.</p> + <p> + Own Id: OTP-9081</p> + </item> + </list> + </section> + +</section> + +<section><title>Wx 0.98.8</title> + + <section><title>Improvements and New Features</title> + <list> + <item> + <p>Add wxSystemSettings which was missing in the previous + release, despite previous comments.</p> <p>Fix an + external loop when stopping erlang nicely.</p> + <p>Separate OpenGL to it's own dynamic loaded library, so + other graphic libraries can reuse the gl module and it + will not waste memory if not used.</p> + <p> + Own Id: OTP-8951</p> + </item> + </list> + </section> + +</section> + +<section><title>Wx 0.98.7</title> + + <section><title>Fixed Bugs and Malfunctions</title> + <list> + <item> + <p> + Fix crash (segmentation fault) in callback handling.</p> + <p> + Own Id: OTP-8766</p> + </item> + </list> + </section> + + + <section><title>Improvements and New Features</title> + <list> + <item> + <p> + Add wxSystemSettings module.</p> + <p> + Add wxTreeCtrl:editLabel/2.</p> + <p> + Own Id: OTP-8767</p> + </item> + </list> + </section> + +</section> + +<section><title>Wx 0.98.6</title> + + <section><title>Improvements and New Features</title> + <list> + <item> + <p> + Calling <c>sys:get_status()</c> for processes that have + globally registered names that were not atoms would cause + a crash. Corrected. (Thanks to Steve Vinoski.)</p> + <p> + Own Id: OTP-8656</p> + </item> + </list> + </section> + +</section> + <section><title>Wx 0.98.5</title> <section><title>Fixed Bugs and Malfunctions</title> diff --git a/lib/wx/examples/demo/ex_listCtrl.erl b/lib/wx/examples/demo/ex_listCtrl.erl index c574c7247a..3faec4e229 100644 --- a/lib/wx/examples/demo/ex_listCtrl.erl +++ b/lib/wx/examples/demo/ex_listCtrl.erl @@ -1,19 +1,19 @@ %% %% %CopyrightBegin% -%% -%% Copyright Ericsson AB 2009. All Rights Reserved. -%% +%% +%% Copyright Ericsson AB 2009-2011. All Rights Reserved. +%% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in %% compliance with the License. You should have received a copy of the %% Erlang Public License along with this software. If not, it can be %% retrieved online at http://www.erlang.org/. -%% +%% %% Software distributed under the License is distributed on an "AS IS" %% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See %% the License for the specific language governing rights and limitations %% under the License. -%% +%% %% %CopyrightEnd% -module(ex_listCtrl). @@ -25,7 +25,7 @@ -export([start/1, init/1, terminate/2, code_change/3, handle_info/2, handle_call/3, handle_event/2]). --record(state, +-record(state, { parent, config, @@ -40,11 +40,11 @@ init(Config) -> wx:batch(fun() -> do_init(Config) end). do_init(Config) -> - Parent = proplists:get_value(parent, Config), + Parent = proplists:get_value(parent, Config), Panel = wxPanel:new(Parent, []), %% Setup sizers - MainSizer = wxStaticBoxSizer:new(?wxVERTICAL, Panel, + MainSizer = wxStaticBoxSizer:new(?wxVERTICAL, Panel, [{label, "wxListCtrl"}]), Notebook = wxNotebook:new(Panel, 1, [{style, ?wxBK_DEFAULT}]), @@ -81,14 +81,46 @@ do_init(Config) -> wxListCtrl:setItemBackgroundColour(ListCtrl3,3,?wxGREEN), wxListCtrl:setItemBackgroundColour(ListCtrl3,0,?wxCYAN), + IA = wxListItemAttr:new(), + wxListItemAttr:setTextColour(IA, {190, 25, 25}), + LC4Opts = [{style, ?wxLC_REPORT bor ?wxLC_VIRTUAL}, + {onGetItemText, fun(_This, Item, 0) -> + "Row " ++ integer_to_list(Item); + (_, Item, 1) when Item rem 5 == 0 -> + "Column 2"; + (_, _, _) -> "" + end}, + {onGetItemAttr, fun(_This, Item) when Item rem 3 == 0 -> + IA; + (_This, _Item) -> + wx:typeCast(wx:null(), wxListItemAttr) + end}, + {onGetItemColumnImage, fun(_This, Item, 1) -> + Item rem 4; + (_, _, _) -> + -1 + end} + ], + ListCtrl4 = wxListCtrl:new(Notebook, LC4Opts), + wxListCtrl:setImageList(ListCtrl4, IL, ?wxIMAGE_LIST_SMALL), + + wxListCtrl:insertColumn(ListCtrl4, 0, "Column 1"), + wxListCtrl:insertColumn(ListCtrl4, 1, "Column 2"), + wxListCtrl:setColumnWidth(ListCtrl4, 0, 200), + wxListCtrl:setColumnWidth(ListCtrl4, 1, 200), + wxListCtrl:setItemCount(ListCtrl4, 1000000), + + wxListCtrl:connect(ListCtrl1, command_list_item_selected, []), wxListCtrl:connect(ListCtrl2, command_list_item_selected, []), wxListCtrl:connect(ListCtrl3, command_list_item_selected, []), + wxListCtrl:connect(ListCtrl4, command_list_item_selected, []), %% Add to sizers wxNotebook:addPage(Notebook, ListCtrl1, "List", []), wxNotebook:addPage(Notebook, ListCtrl2, "Report", []), wxNotebook:addPage(Notebook, ListCtrl3, "Colored multiselect", []), + wxNotebook:addPage(Notebook, ListCtrl4, "Virtual Report", []), wxSizer:add(MainSizer, Notebook, [{proportion, 1}, {flag, ?wxEXPAND}]), @@ -145,4 +177,4 @@ create_list_ctrl(Win, Options) -> ListCtrl. - + diff --git a/lib/wx/include/gl.hrl b/lib/wx/include/gl.hrl index 2fa0d72a59..54eb551285 100644 --- a/lib/wx/include/gl.hrl +++ b/lib/wx/include/gl.hrl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2011. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -21,32 +21,22 @@ %% This file is generated DO NOT EDIT -define(GL_VERSION_1_1, 1). --define(GL_CURRENT_BIT, 16#1). --define(GL_POINT_BIT, 16#2). --define(GL_LINE_BIT, 16#4). --define(GL_POLYGON_BIT, 16#8). --define(GL_POLYGON_STIPPLE_BIT, 16#10). --define(GL_PIXEL_MODE_BIT, 16#20). --define(GL_LIGHTING_BIT, 16#40). --define(GL_FOG_BIT, 16#80). --define(GL_DEPTH_BUFFER_BIT, 16#100). --define(GL_ACCUM_BUFFER_BIT, 16#200). --define(GL_STENCIL_BUFFER_BIT, 16#400). --define(GL_VIEWPORT_BIT, 16#800). --define(GL_TRANSFORM_BIT, 16#1000). --define(GL_ENABLE_BIT, 16#2000). --define(GL_COLOR_BUFFER_BIT, 16#4000). --define(GL_HINT_BIT, 16#8000). --define(GL_EVAL_BIT, 16#10000). --define(GL_LIST_BIT, 16#20000). --define(GL_TEXTURE_BIT, 16#40000). --define(GL_SCISSOR_BIT, 16#80000). --define(GL_ALL_ATTRIB_BITS, 16#FFFFFFFF). --define(GL_CLIENT_PIXEL_STORE_BIT, 16#1). --define(GL_CLIENT_VERTEX_ARRAY_BIT, 16#2). --define(GL_CLIENT_ALL_ATTRIB_BITS, 16#FFFFFFFF). --define(GL_FALSE, 0). --define(GL_TRUE, 1). +-define(GL_VERSION_1_2, 1). +-define(GL_VERSION_1_3, 1). +-define(GL_ARB_imaging, 1). +-define(GL_FALSE, 16#0). +-define(GL_TRUE, 16#1). +-define(GL_BYTE, 16#1400). +-define(GL_UNSIGNED_BYTE, 16#1401). +-define(GL_SHORT, 16#1402). +-define(GL_UNSIGNED_SHORT, 16#1403). +-define(GL_INT, 16#1404). +-define(GL_UNSIGNED_INT, 16#1405). +-define(GL_FLOAT, 16#1406). +-define(GL_2_BYTES, 16#1407). +-define(GL_3_BYTES, 16#1408). +-define(GL_4_BYTES, 16#1409). +-define(GL_DOUBLE, 16#140A). -define(GL_POINTS, 16#0). -define(GL_LINES, 16#1). -define(GL_LINE_LOOP, 16#2). @@ -57,11 +47,85 @@ -define(GL_QUADS, 16#7). -define(GL_QUAD_STRIP, 16#8). -define(GL_POLYGON, 16#9). --define(GL_ACCUM, 16#100). --define(GL_LOAD, 16#101). --define(GL_RETURN, 16#102). --define(GL_MULT, 16#103). --define(GL_ADD, 16#104). +-define(GL_VERTEX_ARRAY, 16#8074). +-define(GL_NORMAL_ARRAY, 16#8075). +-define(GL_COLOR_ARRAY, 16#8076). +-define(GL_INDEX_ARRAY, 16#8077). +-define(GL_TEXTURE_COORD_ARRAY, 16#8078). +-define(GL_EDGE_FLAG_ARRAY, 16#8079). +-define(GL_VERTEX_ARRAY_SIZE, 16#807A). +-define(GL_VERTEX_ARRAY_TYPE, 16#807B). +-define(GL_VERTEX_ARRAY_STRIDE, 16#807C). +-define(GL_NORMAL_ARRAY_TYPE, 16#807E). +-define(GL_NORMAL_ARRAY_STRIDE, 16#807F). +-define(GL_COLOR_ARRAY_SIZE, 16#8081). +-define(GL_COLOR_ARRAY_TYPE, 16#8082). +-define(GL_COLOR_ARRAY_STRIDE, 16#8083). +-define(GL_INDEX_ARRAY_TYPE, 16#8085). +-define(GL_INDEX_ARRAY_STRIDE, 16#8086). +-define(GL_TEXTURE_COORD_ARRAY_SIZE, 16#8088). +-define(GL_TEXTURE_COORD_ARRAY_TYPE, 16#8089). +-define(GL_TEXTURE_COORD_ARRAY_STRIDE, 16#808A). +-define(GL_EDGE_FLAG_ARRAY_STRIDE, 16#808C). +-define(GL_VERTEX_ARRAY_POINTER, 16#808E). +-define(GL_NORMAL_ARRAY_POINTER, 16#808F). +-define(GL_COLOR_ARRAY_POINTER, 16#8090). +-define(GL_INDEX_ARRAY_POINTER, 16#8091). +-define(GL_TEXTURE_COORD_ARRAY_POINTER, 16#8092). +-define(GL_EDGE_FLAG_ARRAY_POINTER, 16#8093). +-define(GL_V2F, 16#2A20). +-define(GL_V3F, 16#2A21). +-define(GL_C4UB_V2F, 16#2A22). +-define(GL_C4UB_V3F, 16#2A23). +-define(GL_C3F_V3F, 16#2A24). +-define(GL_N3F_V3F, 16#2A25). +-define(GL_C4F_N3F_V3F, 16#2A26). +-define(GL_T2F_V3F, 16#2A27). +-define(GL_T4F_V4F, 16#2A28). +-define(GL_T2F_C4UB_V3F, 16#2A29). +-define(GL_T2F_C3F_V3F, 16#2A2A). +-define(GL_T2F_N3F_V3F, 16#2A2B). +-define(GL_T2F_C4F_N3F_V3F, 16#2A2C). +-define(GL_T4F_C4F_N3F_V4F, 16#2A2D). +-define(GL_MATRIX_MODE, 16#BA0). +-define(GL_MODELVIEW, 16#1700). +-define(GL_PROJECTION, 16#1701). +-define(GL_TEXTURE, 16#1702). +-define(GL_POINT_SMOOTH, 16#B10). +-define(GL_POINT_SIZE, 16#B11). +-define(GL_POINT_SIZE_GRANULARITY, 16#B13). +-define(GL_POINT_SIZE_RANGE, 16#B12). +-define(GL_LINE_SMOOTH, 16#B20). +-define(GL_LINE_STIPPLE, 16#B24). +-define(GL_LINE_STIPPLE_PATTERN, 16#B25). +-define(GL_LINE_STIPPLE_REPEAT, 16#B26). +-define(GL_LINE_WIDTH, 16#B21). +-define(GL_LINE_WIDTH_GRANULARITY, 16#B23). +-define(GL_LINE_WIDTH_RANGE, 16#B22). +-define(GL_POINT, 16#1B00). +-define(GL_LINE, 16#1B01). +-define(GL_FILL, 16#1B02). +-define(GL_CW, 16#900). +-define(GL_CCW, 16#901). +-define(GL_FRONT, 16#404). +-define(GL_BACK, 16#405). +-define(GL_POLYGON_MODE, 16#B40). +-define(GL_POLYGON_SMOOTH, 16#B41). +-define(GL_POLYGON_STIPPLE, 16#B42). +-define(GL_EDGE_FLAG, 16#B43). +-define(GL_CULL_FACE, 16#B44). +-define(GL_CULL_FACE_MODE, 16#B45). +-define(GL_FRONT_FACE, 16#B46). +-define(GL_POLYGON_OFFSET_FACTOR, 16#8038). +-define(GL_POLYGON_OFFSET_UNITS, 16#2A00). +-define(GL_POLYGON_OFFSET_POINT, 16#2A01). +-define(GL_POLYGON_OFFSET_LINE, 16#2A02). +-define(GL_POLYGON_OFFSET_FILL, 16#8037). +-define(GL_COMPILE, 16#1300). +-define(GL_COMPILE_AND_EXECUTE, 16#1301). +-define(GL_LIST_BASE, 16#B32). +-define(GL_LIST_INDEX, 16#B33). +-define(GL_LIST_MODE, 16#B30). -define(GL_NEVER, 16#200). -define(GL_LESS, 16#201). -define(GL_EQUAL, 16#202). @@ -70,8 +134,71 @@ -define(GL_NOTEQUAL, 16#205). -define(GL_GEQUAL, 16#206). -define(GL_ALWAYS, 16#207). --define(GL_ZERO, 0). --define(GL_ONE, 1). +-define(GL_DEPTH_TEST, 16#B71). +-define(GL_DEPTH_BITS, 16#D56). +-define(GL_DEPTH_CLEAR_VALUE, 16#B73). +-define(GL_DEPTH_FUNC, 16#B74). +-define(GL_DEPTH_RANGE, 16#B70). +-define(GL_DEPTH_WRITEMASK, 16#B72). +-define(GL_DEPTH_COMPONENT, 16#1902). +-define(GL_LIGHTING, 16#B50). +-define(GL_LIGHT0, 16#4000). +-define(GL_LIGHT1, 16#4001). +-define(GL_LIGHT2, 16#4002). +-define(GL_LIGHT3, 16#4003). +-define(GL_LIGHT4, 16#4004). +-define(GL_LIGHT5, 16#4005). +-define(GL_LIGHT6, 16#4006). +-define(GL_LIGHT7, 16#4007). +-define(GL_SPOT_EXPONENT, 16#1205). +-define(GL_SPOT_CUTOFF, 16#1206). +-define(GL_CONSTANT_ATTENUATION, 16#1207). +-define(GL_LINEAR_ATTENUATION, 16#1208). +-define(GL_QUADRATIC_ATTENUATION, 16#1209). +-define(GL_AMBIENT, 16#1200). +-define(GL_DIFFUSE, 16#1201). +-define(GL_SPECULAR, 16#1202). +-define(GL_SHININESS, 16#1601). +-define(GL_EMISSION, 16#1600). +-define(GL_POSITION, 16#1203). +-define(GL_SPOT_DIRECTION, 16#1204). +-define(GL_AMBIENT_AND_DIFFUSE, 16#1602). +-define(GL_COLOR_INDEXES, 16#1603). +-define(GL_LIGHT_MODEL_TWO_SIDE, 16#B52). +-define(GL_LIGHT_MODEL_LOCAL_VIEWER, 16#B51). +-define(GL_LIGHT_MODEL_AMBIENT, 16#B53). +-define(GL_FRONT_AND_BACK, 16#408). +-define(GL_SHADE_MODEL, 16#B54). +-define(GL_FLAT, 16#1D00). +-define(GL_SMOOTH, 16#1D01). +-define(GL_COLOR_MATERIAL, 16#B57). +-define(GL_COLOR_MATERIAL_FACE, 16#B55). +-define(GL_COLOR_MATERIAL_PARAMETER, 16#B56). +-define(GL_NORMALIZE, 16#BA1). +-define(GL_CLIP_PLANE0, 16#3000). +-define(GL_CLIP_PLANE1, 16#3001). +-define(GL_CLIP_PLANE2, 16#3002). +-define(GL_CLIP_PLANE3, 16#3003). +-define(GL_CLIP_PLANE4, 16#3004). +-define(GL_CLIP_PLANE5, 16#3005). +-define(GL_ACCUM_RED_BITS, 16#D58). +-define(GL_ACCUM_GREEN_BITS, 16#D59). +-define(GL_ACCUM_BLUE_BITS, 16#D5A). +-define(GL_ACCUM_ALPHA_BITS, 16#D5B). +-define(GL_ACCUM_CLEAR_VALUE, 16#B80). +-define(GL_ACCUM, 16#100). +-define(GL_ADD, 16#104). +-define(GL_LOAD, 16#101). +-define(GL_MULT, 16#103). +-define(GL_RETURN, 16#102). +-define(GL_ALPHA_TEST, 16#BC0). +-define(GL_ALPHA_TEST_REF, 16#BC2). +-define(GL_ALPHA_TEST_FUNC, 16#BC1). +-define(GL_BLEND, 16#BE2). +-define(GL_BLEND_SRC, 16#BE1). +-define(GL_BLEND_DST, 16#BE0). +-define(GL_ZERO, 16#0). +-define(GL_ONE, 16#1). -define(GL_SRC_COLOR, 16#300). -define(GL_ONE_MINUS_SRC_COLOR, 16#301). -define(GL_SRC_ALPHA, 16#302). @@ -81,121 +208,58 @@ -define(GL_DST_COLOR, 16#306). -define(GL_ONE_MINUS_DST_COLOR, 16#307). -define(GL_SRC_ALPHA_SATURATE, 16#308). --define(GL_NONE, 0). --define(GL_FRONT_LEFT, 16#400). --define(GL_FRONT_RIGHT, 16#401). --define(GL_BACK_LEFT, 16#402). --define(GL_BACK_RIGHT, 16#403). --define(GL_FRONT, 16#404). --define(GL_BACK, 16#405). --define(GL_LEFT, 16#406). --define(GL_RIGHT, 16#407). --define(GL_FRONT_AND_BACK, 16#408). --define(GL_AUX0, 16#409). --define(GL_AUX1, 16#40A). --define(GL_AUX2, 16#40B). --define(GL_AUX3, 16#40C). --define(GL_NO_ERROR, 0). --define(GL_INVALID_ENUM, 16#500). --define(GL_INVALID_VALUE, 16#501). --define(GL_INVALID_OPERATION, 16#502). --define(GL_STACK_OVERFLOW, 16#503). --define(GL_STACK_UNDERFLOW, 16#504). --define(GL_OUT_OF_MEMORY, 16#505). --define(GL_TABLE_TOO_LARGE, 16#8031). +-define(GL_FEEDBACK, 16#1C01). +-define(GL_RENDER, 16#1C00). +-define(GL_SELECT, 16#1C02). -define(GL_2D, 16#600). -define(GL_3D, 16#601). -define(GL_3D_COLOR, 16#602). -define(GL_3D_COLOR_TEXTURE, 16#603). -define(GL_4D_COLOR_TEXTURE, 16#604). --define(GL_PASS_THROUGH_TOKEN, 16#700). -define(GL_POINT_TOKEN, 16#701). -define(GL_LINE_TOKEN, 16#702). +-define(GL_LINE_RESET_TOKEN, 16#707). -define(GL_POLYGON_TOKEN, 16#703). -define(GL_BITMAP_TOKEN, 16#704). -define(GL_DRAW_PIXEL_TOKEN, 16#705). -define(GL_COPY_PIXEL_TOKEN, 16#706). --define(GL_LINE_RESET_TOKEN, 16#707). --define(GL_EXP, 16#800). --define(GL_EXP2, 16#801). --define(GL_CW, 16#900). --define(GL_CCW, 16#901). --define(GL_COEFF, 16#A00). --define(GL_ORDER, 16#A01). --define(GL_DOMAIN, 16#A02). --define(GL_PIXEL_MAP_I_TO_I, 16#C70). --define(GL_PIXEL_MAP_S_TO_S, 16#C71). --define(GL_PIXEL_MAP_I_TO_R, 16#C72). --define(GL_PIXEL_MAP_I_TO_G, 16#C73). --define(GL_PIXEL_MAP_I_TO_B, 16#C74). --define(GL_PIXEL_MAP_I_TO_A, 16#C75). --define(GL_PIXEL_MAP_R_TO_R, 16#C76). --define(GL_PIXEL_MAP_G_TO_G, 16#C77). --define(GL_PIXEL_MAP_B_TO_B, 16#C78). --define(GL_PIXEL_MAP_A_TO_A, 16#C79). --define(GL_VERTEX_ARRAY_POINTER, 16#808E). --define(GL_NORMAL_ARRAY_POINTER, 16#808F). --define(GL_COLOR_ARRAY_POINTER, 16#8090). --define(GL_INDEX_ARRAY_POINTER, 16#8091). --define(GL_TEXTURE_COORD_ARRAY_POINTER, 16#8092). --define(GL_EDGE_FLAG_ARRAY_POINTER, 16#8093). --define(GL_CURRENT_COLOR, 16#B00). --define(GL_CURRENT_INDEX, 16#B01). --define(GL_CURRENT_NORMAL, 16#B02). --define(GL_CURRENT_TEXTURE_COORDS, 16#B03). --define(GL_CURRENT_RASTER_COLOR, 16#B04). --define(GL_CURRENT_RASTER_INDEX, 16#B05). --define(GL_CURRENT_RASTER_TEXTURE_COORDS, 16#B06). --define(GL_CURRENT_RASTER_POSITION, 16#B07). --define(GL_CURRENT_RASTER_POSITION_VALID, 16#B08). --define(GL_CURRENT_RASTER_DISTANCE, 16#B09). --define(GL_POINT_SMOOTH, 16#B10). --define(GL_POINT_SIZE, 16#B11). --define(GL_SMOOTH_POINT_SIZE_RANGE, 16#B12). --define(GL_SMOOTH_POINT_SIZE_GRANULARITY, 16#B13). --define(GL_POINT_SIZE_RANGE, ?GL_SMOOTH_POINT_SIZE_RANGE). --define(GL_POINT_SIZE_GRANULARITY, ?GL_SMOOTH_POINT_SIZE_GRANULARITY). --define(GL_LINE_SMOOTH, 16#B20). --define(GL_LINE_WIDTH, 16#B21). --define(GL_SMOOTH_LINE_WIDTH_RANGE, 16#B22). --define(GL_SMOOTH_LINE_WIDTH_GRANULARITY, 16#B23). --define(GL_LINE_WIDTH_RANGE, ?GL_SMOOTH_LINE_WIDTH_RANGE). --define(GL_LINE_WIDTH_GRANULARITY, ?GL_SMOOTH_LINE_WIDTH_GRANULARITY). --define(GL_LINE_STIPPLE, 16#B24). --define(GL_LINE_STIPPLE_PATTERN, 16#B25). --define(GL_LINE_STIPPLE_REPEAT, 16#B26). --define(GL_LIST_MODE, 16#B30). --define(GL_MAX_LIST_NESTING, 16#B31). --define(GL_LIST_BASE, 16#B32). --define(GL_LIST_INDEX, 16#B33). --define(GL_POLYGON_MODE, 16#B40). --define(GL_POLYGON_SMOOTH, 16#B41). --define(GL_POLYGON_STIPPLE, 16#B42). --define(GL_EDGE_FLAG, 16#B43). --define(GL_CULL_FACE, 16#B44). --define(GL_CULL_FACE_MODE, 16#B45). --define(GL_FRONT_FACE, 16#B46). --define(GL_LIGHTING, 16#B50). --define(GL_LIGHT_MODEL_LOCAL_VIEWER, 16#B51). --define(GL_LIGHT_MODEL_TWO_SIDE, 16#B52). --define(GL_LIGHT_MODEL_AMBIENT, 16#B53). --define(GL_SHADE_MODEL, 16#B54). --define(GL_COLOR_MATERIAL_FACE, 16#B55). --define(GL_COLOR_MATERIAL_PARAMETER, 16#B56). --define(GL_COLOR_MATERIAL, 16#B57). +-define(GL_PASS_THROUGH_TOKEN, 16#700). +-define(GL_FEEDBACK_BUFFER_POINTER, 16#DF0). +-define(GL_FEEDBACK_BUFFER_SIZE, 16#DF1). +-define(GL_FEEDBACK_BUFFER_TYPE, 16#DF2). +-define(GL_SELECTION_BUFFER_POINTER, 16#DF3). +-define(GL_SELECTION_BUFFER_SIZE, 16#DF4). -define(GL_FOG, 16#B60). --define(GL_FOG_INDEX, 16#B61). +-define(GL_FOG_MODE, 16#B65). -define(GL_FOG_DENSITY, 16#B62). +-define(GL_FOG_COLOR, 16#B66). +-define(GL_FOG_INDEX, 16#B61). -define(GL_FOG_START, 16#B63). -define(GL_FOG_END, 16#B64). --define(GL_FOG_MODE, 16#B65). --define(GL_FOG_COLOR, 16#B66). --define(GL_DEPTH_RANGE, 16#B70). --define(GL_DEPTH_TEST, 16#B71). --define(GL_DEPTH_WRITEMASK, 16#B72). --define(GL_DEPTH_CLEAR_VALUE, 16#B73). --define(GL_DEPTH_FUNC, 16#B74). --define(GL_ACCUM_CLEAR_VALUE, 16#B80). +-define(GL_LINEAR, 16#2601). +-define(GL_EXP, 16#800). +-define(GL_EXP2, 16#801). +-define(GL_LOGIC_OP, 16#BF1). +-define(GL_INDEX_LOGIC_OP, 16#BF1). +-define(GL_COLOR_LOGIC_OP, 16#BF2). +-define(GL_LOGIC_OP_MODE, 16#BF0). +-define(GL_CLEAR, 16#1500). +-define(GL_SET, 16#150F). +-define(GL_COPY, 16#1503). +-define(GL_COPY_INVERTED, 16#150C). +-define(GL_NOOP, 16#1505). +-define(GL_INVERT, 16#150A). +-define(GL_AND, 16#1501). +-define(GL_NAND, 16#150E). +-define(GL_OR, 16#1507). +-define(GL_NOR, 16#1508). +-define(GL_XOR, 16#1506). +-define(GL_EQUIV, 16#1509). +-define(GL_AND_REVERSE, 16#1502). +-define(GL_AND_INVERTED, 16#1504). +-define(GL_OR_REVERSE, 16#150B). +-define(GL_OR_INVERTED, 16#150D). +-define(GL_STENCIL_BITS, 16#D57). -define(GL_STENCIL_TEST, 16#B90). -define(GL_STENCIL_CLEAR_VALUE, 16#B91). -define(GL_STENCIL_FUNC, 16#B92). @@ -205,89 +269,48 @@ -define(GL_STENCIL_PASS_DEPTH_PASS, 16#B96). -define(GL_STENCIL_REF, 16#B97). -define(GL_STENCIL_WRITEMASK, 16#B98). --define(GL_MATRIX_MODE, 16#BA0). --define(GL_NORMALIZE, 16#BA1). --define(GL_VIEWPORT, 16#BA2). --define(GL_MODELVIEW_STACK_DEPTH, 16#BA3). --define(GL_PROJECTION_STACK_DEPTH, 16#BA4). --define(GL_TEXTURE_STACK_DEPTH, 16#BA5). --define(GL_MODELVIEW_MATRIX, 16#BA6). --define(GL_PROJECTION_MATRIX, 16#BA7). --define(GL_TEXTURE_MATRIX, 16#BA8). --define(GL_ATTRIB_STACK_DEPTH, 16#BB0). --define(GL_CLIENT_ATTRIB_STACK_DEPTH, 16#BB1). --define(GL_ALPHA_TEST, 16#BC0). --define(GL_ALPHA_TEST_FUNC, 16#BC1). --define(GL_ALPHA_TEST_REF, 16#BC2). --define(GL_DITHER, 16#BD0). --define(GL_BLEND_DST, 16#BE0). --define(GL_BLEND_SRC, 16#BE1). --define(GL_BLEND, 16#BE2). --define(GL_LOGIC_OP_MODE, 16#BF0). --define(GL_INDEX_LOGIC_OP, 16#BF1). --define(GL_LOGIC_OP, ?GL_INDEX_LOGIC_OP). --define(GL_COLOR_LOGIC_OP, 16#BF2). +-define(GL_STENCIL_INDEX, 16#1901). +-define(GL_KEEP, 16#1E00). +-define(GL_REPLACE, 16#1E01). +-define(GL_INCR, 16#1E02). +-define(GL_DECR, 16#1E03). +-define(GL_NONE, 16#0). +-define(GL_LEFT, 16#406). +-define(GL_RIGHT, 16#407). +-define(GL_FRONT_LEFT, 16#400). +-define(GL_FRONT_RIGHT, 16#401). +-define(GL_BACK_LEFT, 16#402). +-define(GL_BACK_RIGHT, 16#403). +-define(GL_AUX0, 16#409). +-define(GL_AUX1, 16#40A). +-define(GL_AUX2, 16#40B). +-define(GL_AUX3, 16#40C). +-define(GL_COLOR_INDEX, 16#1900). +-define(GL_RED, 16#1903). +-define(GL_GREEN, 16#1904). +-define(GL_BLUE, 16#1905). +-define(GL_ALPHA, 16#1906). +-define(GL_LUMINANCE, 16#1909). +-define(GL_LUMINANCE_ALPHA, 16#190A). +-define(GL_ALPHA_BITS, 16#D55). +-define(GL_RED_BITS, 16#D52). +-define(GL_GREEN_BITS, 16#D53). +-define(GL_BLUE_BITS, 16#D54). +-define(GL_INDEX_BITS, 16#D51). +-define(GL_SUBPIXEL_BITS, 16#D50). -define(GL_AUX_BUFFERS, 16#C00). --define(GL_DRAW_BUFFER, 16#C01). -define(GL_READ_BUFFER, 16#C02). --define(GL_SCISSOR_BOX, 16#C10). --define(GL_SCISSOR_TEST, 16#C11). --define(GL_INDEX_CLEAR_VALUE, 16#C20). --define(GL_INDEX_WRITEMASK, 16#C21). --define(GL_COLOR_CLEAR_VALUE, 16#C22). --define(GL_COLOR_WRITEMASK, 16#C23). --define(GL_INDEX_MODE, 16#C30). --define(GL_RGBA_MODE, 16#C31). +-define(GL_DRAW_BUFFER, 16#C01). -define(GL_DOUBLEBUFFER, 16#C32). -define(GL_STEREO, 16#C33). --define(GL_RENDER_MODE, 16#C40). --define(GL_PERSPECTIVE_CORRECTION_HINT, 16#C50). --define(GL_POINT_SMOOTH_HINT, 16#C51). --define(GL_LINE_SMOOTH_HINT, 16#C52). --define(GL_POLYGON_SMOOTH_HINT, 16#C53). --define(GL_FOG_HINT, 16#C54). --define(GL_TEXTURE_GEN_S, 16#C60). --define(GL_TEXTURE_GEN_T, 16#C61). --define(GL_TEXTURE_GEN_R, 16#C62). --define(GL_TEXTURE_GEN_Q, 16#C63). --define(GL_PIXEL_MAP_I_TO_I_SIZE, 16#CB0). --define(GL_PIXEL_MAP_S_TO_S_SIZE, 16#CB1). --define(GL_PIXEL_MAP_I_TO_R_SIZE, 16#CB2). --define(GL_PIXEL_MAP_I_TO_G_SIZE, 16#CB3). --define(GL_PIXEL_MAP_I_TO_B_SIZE, 16#CB4). --define(GL_PIXEL_MAP_I_TO_A_SIZE, 16#CB5). --define(GL_PIXEL_MAP_R_TO_R_SIZE, 16#CB6). --define(GL_PIXEL_MAP_G_TO_G_SIZE, 16#CB7). --define(GL_PIXEL_MAP_B_TO_B_SIZE, 16#CB8). --define(GL_PIXEL_MAP_A_TO_A_SIZE, 16#CB9). --define(GL_UNPACK_SWAP_BYTES, 16#CF0). --define(GL_UNPACK_LSB_FIRST, 16#CF1). --define(GL_UNPACK_ROW_LENGTH, 16#CF2). --define(GL_UNPACK_SKIP_ROWS, 16#CF3). --define(GL_UNPACK_SKIP_PIXELS, 16#CF4). --define(GL_UNPACK_ALIGNMENT, 16#CF5). --define(GL_PACK_SWAP_BYTES, 16#D00). --define(GL_PACK_LSB_FIRST, 16#D01). --define(GL_PACK_ROW_LENGTH, 16#D02). --define(GL_PACK_SKIP_ROWS, 16#D03). --define(GL_PACK_SKIP_PIXELS, 16#D04). --define(GL_PACK_ALIGNMENT, 16#D05). --define(GL_MAP_COLOR, 16#D10). --define(GL_MAP_STENCIL, 16#D11). --define(GL_INDEX_SHIFT, 16#D12). --define(GL_INDEX_OFFSET, 16#D13). --define(GL_RED_SCALE, 16#D14). --define(GL_RED_BIAS, 16#D15). --define(GL_ZOOM_X, 16#D16). --define(GL_ZOOM_Y, 16#D17). --define(GL_GREEN_SCALE, 16#D18). --define(GL_GREEN_BIAS, 16#D19). --define(GL_BLUE_SCALE, 16#D1A). --define(GL_BLUE_BIAS, 16#D1B). --define(GL_ALPHA_SCALE, 16#D1C). --define(GL_ALPHA_BIAS, 16#D1D). --define(GL_DEPTH_SCALE, 16#D1E). --define(GL_DEPTH_BIAS, 16#D1F). +-define(GL_BITMAP, 16#1A00). +-define(GL_COLOR, 16#1800). +-define(GL_DEPTH, 16#1801). +-define(GL_STENCIL, 16#1802). +-define(GL_DITHER, 16#BD0). +-define(GL_RGB, 16#1907). +-define(GL_RGBA, 16#1908). +-define(GL_MAX_LIST_NESTING, 16#B31). -define(GL_MAX_EVAL_ORDER, 16#D30). -define(GL_MAX_LIGHTS, 16#D31). -define(GL_MAX_CLIP_PLANES, 16#D32). @@ -300,19 +323,33 @@ -define(GL_MAX_TEXTURE_STACK_DEPTH, 16#D39). -define(GL_MAX_VIEWPORT_DIMS, 16#D3A). -define(GL_MAX_CLIENT_ATTRIB_STACK_DEPTH, 16#D3B). --define(GL_SUBPIXEL_BITS, 16#D50). --define(GL_INDEX_BITS, 16#D51). --define(GL_RED_BITS, 16#D52). --define(GL_GREEN_BITS, 16#D53). --define(GL_BLUE_BITS, 16#D54). --define(GL_ALPHA_BITS, 16#D55). --define(GL_DEPTH_BITS, 16#D56). --define(GL_STENCIL_BITS, 16#D57). --define(GL_ACCUM_RED_BITS, 16#D58). --define(GL_ACCUM_GREEN_BITS, 16#D59). --define(GL_ACCUM_BLUE_BITS, 16#D5A). --define(GL_ACCUM_ALPHA_BITS, 16#D5B). +-define(GL_ATTRIB_STACK_DEPTH, 16#BB0). +-define(GL_CLIENT_ATTRIB_STACK_DEPTH, 16#BB1). +-define(GL_COLOR_CLEAR_VALUE, 16#C22). +-define(GL_COLOR_WRITEMASK, 16#C23). +-define(GL_CURRENT_INDEX, 16#B01). +-define(GL_CURRENT_COLOR, 16#B00). +-define(GL_CURRENT_NORMAL, 16#B02). +-define(GL_CURRENT_RASTER_COLOR, 16#B04). +-define(GL_CURRENT_RASTER_DISTANCE, 16#B09). +-define(GL_CURRENT_RASTER_INDEX, 16#B05). +-define(GL_CURRENT_RASTER_POSITION, 16#B07). +-define(GL_CURRENT_RASTER_TEXTURE_COORDS, 16#B06). +-define(GL_CURRENT_RASTER_POSITION_VALID, 16#B08). +-define(GL_CURRENT_TEXTURE_COORDS, 16#B03). +-define(GL_INDEX_CLEAR_VALUE, 16#C20). +-define(GL_INDEX_MODE, 16#C30). +-define(GL_INDEX_WRITEMASK, 16#C21). +-define(GL_MODELVIEW_MATRIX, 16#BA6). +-define(GL_MODELVIEW_STACK_DEPTH, 16#BA3). -define(GL_NAME_STACK_DEPTH, 16#D70). +-define(GL_PROJECTION_MATRIX, 16#BA7). +-define(GL_PROJECTION_STACK_DEPTH, 16#BA4). +-define(GL_RENDER_MODE, 16#C40). +-define(GL_RGBA_MODE, 16#C31). +-define(GL_TEXTURE_MATRIX, 16#BA8). +-define(GL_TEXTURE_STACK_DEPTH, 16#BA5). +-define(GL_VIEWPORT, 16#BA2). -define(GL_AUTO_NORMAL, 16#D80). -define(GL_MAP1_COLOR_4, 16#D90). -define(GL_MAP1_INDEX, 16#D91). @@ -336,166 +373,149 @@ -define(GL_MAP1_GRID_SEGMENTS, 16#DD1). -define(GL_MAP2_GRID_DOMAIN, 16#DD2). -define(GL_MAP2_GRID_SEGMENTS, 16#DD3). +-define(GL_COEFF, 16#A00). +-define(GL_ORDER, 16#A01). +-define(GL_DOMAIN, 16#A02). +-define(GL_PERSPECTIVE_CORRECTION_HINT, 16#C50). +-define(GL_POINT_SMOOTH_HINT, 16#C51). +-define(GL_LINE_SMOOTH_HINT, 16#C52). +-define(GL_POLYGON_SMOOTH_HINT, 16#C53). +-define(GL_FOG_HINT, 16#C54). +-define(GL_DONT_CARE, 16#1100). +-define(GL_FASTEST, 16#1101). +-define(GL_NICEST, 16#1102). +-define(GL_SCISSOR_BOX, 16#C10). +-define(GL_SCISSOR_TEST, 16#C11). +-define(GL_MAP_COLOR, 16#D10). +-define(GL_MAP_STENCIL, 16#D11). +-define(GL_INDEX_SHIFT, 16#D12). +-define(GL_INDEX_OFFSET, 16#D13). +-define(GL_RED_SCALE, 16#D14). +-define(GL_RED_BIAS, 16#D15). +-define(GL_GREEN_SCALE, 16#D18). +-define(GL_GREEN_BIAS, 16#D19). +-define(GL_BLUE_SCALE, 16#D1A). +-define(GL_BLUE_BIAS, 16#D1B). +-define(GL_ALPHA_SCALE, 16#D1C). +-define(GL_ALPHA_BIAS, 16#D1D). +-define(GL_DEPTH_SCALE, 16#D1E). +-define(GL_DEPTH_BIAS, 16#D1F). +-define(GL_PIXEL_MAP_S_TO_S_SIZE, 16#CB1). +-define(GL_PIXEL_MAP_I_TO_I_SIZE, 16#CB0). +-define(GL_PIXEL_MAP_I_TO_R_SIZE, 16#CB2). +-define(GL_PIXEL_MAP_I_TO_G_SIZE, 16#CB3). +-define(GL_PIXEL_MAP_I_TO_B_SIZE, 16#CB4). +-define(GL_PIXEL_MAP_I_TO_A_SIZE, 16#CB5). +-define(GL_PIXEL_MAP_R_TO_R_SIZE, 16#CB6). +-define(GL_PIXEL_MAP_G_TO_G_SIZE, 16#CB7). +-define(GL_PIXEL_MAP_B_TO_B_SIZE, 16#CB8). +-define(GL_PIXEL_MAP_A_TO_A_SIZE, 16#CB9). +-define(GL_PIXEL_MAP_S_TO_S, 16#C71). +-define(GL_PIXEL_MAP_I_TO_I, 16#C70). +-define(GL_PIXEL_MAP_I_TO_R, 16#C72). +-define(GL_PIXEL_MAP_I_TO_G, 16#C73). +-define(GL_PIXEL_MAP_I_TO_B, 16#C74). +-define(GL_PIXEL_MAP_I_TO_A, 16#C75). +-define(GL_PIXEL_MAP_R_TO_R, 16#C76). +-define(GL_PIXEL_MAP_G_TO_G, 16#C77). +-define(GL_PIXEL_MAP_B_TO_B, 16#C78). +-define(GL_PIXEL_MAP_A_TO_A, 16#C79). +-define(GL_PACK_ALIGNMENT, 16#D05). +-define(GL_PACK_LSB_FIRST, 16#D01). +-define(GL_PACK_ROW_LENGTH, 16#D02). +-define(GL_PACK_SKIP_PIXELS, 16#D04). +-define(GL_PACK_SKIP_ROWS, 16#D03). +-define(GL_PACK_SWAP_BYTES, 16#D00). +-define(GL_UNPACK_ALIGNMENT, 16#CF5). +-define(GL_UNPACK_LSB_FIRST, 16#CF1). +-define(GL_UNPACK_ROW_LENGTH, 16#CF2). +-define(GL_UNPACK_SKIP_PIXELS, 16#CF4). +-define(GL_UNPACK_SKIP_ROWS, 16#CF3). +-define(GL_UNPACK_SWAP_BYTES, 16#CF0). +-define(GL_ZOOM_X, 16#D16). +-define(GL_ZOOM_Y, 16#D17). +-define(GL_TEXTURE_ENV, 16#2300). +-define(GL_TEXTURE_ENV_MODE, 16#2200). -define(GL_TEXTURE_1D, 16#DE0). -define(GL_TEXTURE_2D, 16#DE1). --define(GL_FEEDBACK_BUFFER_POINTER, 16#DF0). --define(GL_FEEDBACK_BUFFER_SIZE, 16#DF1). --define(GL_FEEDBACK_BUFFER_TYPE, 16#DF2). --define(GL_SELECTION_BUFFER_POINTER, 16#DF3). --define(GL_SELECTION_BUFFER_SIZE, 16#DF4). --define(GL_POLYGON_OFFSET_UNITS, 16#2A00). --define(GL_POLYGON_OFFSET_POINT, 16#2A01). --define(GL_POLYGON_OFFSET_LINE, 16#2A02). --define(GL_POLYGON_OFFSET_FILL, 16#8037). --define(GL_POLYGON_OFFSET_FACTOR, 16#8038). --define(GL_TEXTURE_BINDING_1D, 16#8068). --define(GL_TEXTURE_BINDING_2D, 16#8069). --define(GL_TEXTURE_BINDING_3D, 16#806A). --define(GL_VERTEX_ARRAY, 16#8074). --define(GL_NORMAL_ARRAY, 16#8075). --define(GL_COLOR_ARRAY, 16#8076). --define(GL_INDEX_ARRAY, 16#8077). --define(GL_TEXTURE_COORD_ARRAY, 16#8078). --define(GL_EDGE_FLAG_ARRAY, 16#8079). --define(GL_VERTEX_ARRAY_SIZE, 16#807A). --define(GL_VERTEX_ARRAY_TYPE, 16#807B). --define(GL_VERTEX_ARRAY_STRIDE, 16#807C). --define(GL_NORMAL_ARRAY_TYPE, 16#807E). --define(GL_NORMAL_ARRAY_STRIDE, 16#807F). --define(GL_COLOR_ARRAY_SIZE, 16#8081). --define(GL_COLOR_ARRAY_TYPE, 16#8082). --define(GL_COLOR_ARRAY_STRIDE, 16#8083). --define(GL_INDEX_ARRAY_TYPE, 16#8085). --define(GL_INDEX_ARRAY_STRIDE, 16#8086). --define(GL_TEXTURE_COORD_ARRAY_SIZE, 16#8088). --define(GL_TEXTURE_COORD_ARRAY_TYPE, 16#8089). --define(GL_TEXTURE_COORD_ARRAY_STRIDE, 16#808A). --define(GL_EDGE_FLAG_ARRAY_STRIDE, 16#808C). +-define(GL_TEXTURE_WRAP_S, 16#2802). +-define(GL_TEXTURE_WRAP_T, 16#2803). +-define(GL_TEXTURE_MAG_FILTER, 16#2800). +-define(GL_TEXTURE_MIN_FILTER, 16#2801). +-define(GL_TEXTURE_ENV_COLOR, 16#2201). +-define(GL_TEXTURE_GEN_S, 16#C60). +-define(GL_TEXTURE_GEN_T, 16#C61). +-define(GL_TEXTURE_GEN_MODE, 16#2500). +-define(GL_TEXTURE_BORDER_COLOR, 16#1004). -define(GL_TEXTURE_WIDTH, 16#1000). -define(GL_TEXTURE_HEIGHT, 16#1001). --define(GL_TEXTURE_INTERNAL_FORMAT, 16#1003). --define(GL_TEXTURE_COMPONENTS, ?GL_TEXTURE_INTERNAL_FORMAT). --define(GL_TEXTURE_BORDER_COLOR, 16#1004). -define(GL_TEXTURE_BORDER, 16#1005). +-define(GL_TEXTURE_COMPONENTS, 16#1003). -define(GL_TEXTURE_RED_SIZE, 16#805C). -define(GL_TEXTURE_GREEN_SIZE, 16#805D). -define(GL_TEXTURE_BLUE_SIZE, 16#805E). -define(GL_TEXTURE_ALPHA_SIZE, 16#805F). -define(GL_TEXTURE_LUMINANCE_SIZE, 16#8060). -define(GL_TEXTURE_INTENSITY_SIZE, 16#8061). --define(GL_TEXTURE_PRIORITY, 16#8066). --define(GL_TEXTURE_RESIDENT, 16#8067). --define(GL_DONT_CARE, 16#1100). --define(GL_FASTEST, 16#1101). --define(GL_NICEST, 16#1102). --define(GL_AMBIENT, 16#1200). --define(GL_DIFFUSE, 16#1201). --define(GL_SPECULAR, 16#1202). --define(GL_POSITION, 16#1203). --define(GL_SPOT_DIRECTION, 16#1204). --define(GL_SPOT_EXPONENT, 16#1205). --define(GL_SPOT_CUTOFF, 16#1206). --define(GL_CONSTANT_ATTENUATION, 16#1207). --define(GL_LINEAR_ATTENUATION, 16#1208). --define(GL_QUADRATIC_ATTENUATION, 16#1209). --define(GL_COMPILE, 16#1300). --define(GL_COMPILE_AND_EXECUTE, 16#1301). --define(GL_BYTE, 16#1400). --define(GL_UNSIGNED_BYTE, 16#1401). --define(GL_SHORT, 16#1402). --define(GL_UNSIGNED_SHORT, 16#1403). --define(GL_INT, 16#1404). --define(GL_UNSIGNED_INT, 16#1405). --define(GL_FLOAT, 16#1406). --define(GL_2_BYTES, 16#1407). --define(GL_3_BYTES, 16#1408). --define(GL_4_BYTES, 16#1409). --define(GL_DOUBLE, 16#140A). --define(GL_DOUBLE_EXT, 16#140A). --define(GL_CLEAR, 16#1500). --define(GL_AND, 16#1501). --define(GL_AND_REVERSE, 16#1502). --define(GL_COPY, 16#1503). --define(GL_AND_INVERTED, 16#1504). --define(GL_NOOP, 16#1505). --define(GL_XOR, 16#1506). --define(GL_OR, 16#1507). --define(GL_NOR, 16#1508). --define(GL_EQUIV, 16#1509). --define(GL_INVERT, 16#150A). --define(GL_OR_REVERSE, 16#150B). --define(GL_COPY_INVERTED, 16#150C). --define(GL_OR_INVERTED, 16#150D). --define(GL_NAND, 16#150E). --define(GL_SET, 16#150F). --define(GL_EMISSION, 16#1600). --define(GL_SHININESS, 16#1601). --define(GL_AMBIENT_AND_DIFFUSE, 16#1602). --define(GL_COLOR_INDEXES, 16#1603). --define(GL_MODELVIEW, 16#1700). --define(GL_PROJECTION, 16#1701). --define(GL_TEXTURE, 16#1702). --define(GL_COLOR, 16#1800). --define(GL_DEPTH, 16#1801). --define(GL_STENCIL, 16#1802). --define(GL_COLOR_INDEX, 16#1900). --define(GL_STENCIL_INDEX, 16#1901). --define(GL_DEPTH_COMPONENT, 16#1902). --define(GL_RED, 16#1903). --define(GL_GREEN, 16#1904). --define(GL_BLUE, 16#1905). --define(GL_ALPHA, 16#1906). --define(GL_RGB, 16#1907). --define(GL_RGBA, 16#1908). --define(GL_LUMINANCE, 16#1909). --define(GL_LUMINANCE_ALPHA, 16#190A). --define(GL_BITMAP, 16#1A00). --define(GL_POINT, 16#1B00). --define(GL_LINE, 16#1B01). --define(GL_FILL, 16#1B02). --define(GL_RENDER, 16#1C00). --define(GL_FEEDBACK, 16#1C01). --define(GL_SELECT, 16#1C02). --define(GL_FLAT, 16#1D00). --define(GL_SMOOTH, 16#1D01). --define(GL_KEEP, 16#1E00). --define(GL_REPLACE, 16#1E01). --define(GL_INCR, 16#1E02). --define(GL_DECR, 16#1E03). --define(GL_VENDOR, 16#1F00). --define(GL_RENDERER, 16#1F01). --define(GL_VERSION, 16#1F02). --define(GL_EXTENSIONS, 16#1F03). --define(GL_S, 16#2000). --define(GL_T, 16#2001). --define(GL_R, 16#2002). --define(GL_Q, 16#2003). --define(GL_MODULATE, 16#2100). --define(GL_DECAL, 16#2101). --define(GL_TEXTURE_ENV_MODE, 16#2200). --define(GL_TEXTURE_ENV_COLOR, 16#2201). --define(GL_TEXTURE_ENV, 16#2300). --define(GL_EYE_LINEAR, 16#2400). +-define(GL_NEAREST_MIPMAP_NEAREST, 16#2700). +-define(GL_NEAREST_MIPMAP_LINEAR, 16#2702). +-define(GL_LINEAR_MIPMAP_NEAREST, 16#2701). +-define(GL_LINEAR_MIPMAP_LINEAR, 16#2703). -define(GL_OBJECT_LINEAR, 16#2401). --define(GL_SPHERE_MAP, 16#2402). --define(GL_TEXTURE_GEN_MODE, 16#2500). -define(GL_OBJECT_PLANE, 16#2501). +-define(GL_EYE_LINEAR, 16#2400). -define(GL_EYE_PLANE, 16#2502). +-define(GL_SPHERE_MAP, 16#2402). +-define(GL_DECAL, 16#2101). +-define(GL_MODULATE, 16#2100). -define(GL_NEAREST, 16#2600). --define(GL_LINEAR, 16#2601). --define(GL_NEAREST_MIPMAP_NEAREST, 16#2700). --define(GL_LINEAR_MIPMAP_NEAREST, 16#2701). --define(GL_NEAREST_MIPMAP_LINEAR, 16#2702). --define(GL_LINEAR_MIPMAP_LINEAR, 16#2703). --define(GL_TEXTURE_MAG_FILTER, 16#2800). --define(GL_TEXTURE_MIN_FILTER, 16#2801). --define(GL_TEXTURE_WRAP_S, 16#2802). --define(GL_TEXTURE_WRAP_T, 16#2803). +-define(GL_REPEAT, 16#2901). +-define(GL_CLAMP, 16#2900). +-define(GL_S, 16#2000). +-define(GL_T, 16#2001). +-define(GL_R, 16#2002). +-define(GL_Q, 16#2003). +-define(GL_TEXTURE_GEN_R, 16#C62). +-define(GL_TEXTURE_GEN_Q, 16#C63). +-define(GL_VENDOR, 16#1F00). +-define(GL_RENDERER, 16#1F01). +-define(GL_VERSION, 16#1F02). +-define(GL_EXTENSIONS, 16#1F03). +-define(GL_NO_ERROR, 16#0). +-define(GL_INVALID_ENUM, 16#500). +-define(GL_INVALID_VALUE, 16#501). +-define(GL_INVALID_OPERATION, 16#502). +-define(GL_STACK_OVERFLOW, 16#503). +-define(GL_STACK_UNDERFLOW, 16#504). +-define(GL_OUT_OF_MEMORY, 16#505). +-define(GL_CURRENT_BIT, 16#1). +-define(GL_POINT_BIT, 16#2). +-define(GL_LINE_BIT, 16#4). +-define(GL_POLYGON_BIT, 16#8). +-define(GL_POLYGON_STIPPLE_BIT, 16#10). +-define(GL_PIXEL_MODE_BIT, 16#20). +-define(GL_LIGHTING_BIT, 16#40). +-define(GL_FOG_BIT, 16#80). +-define(GL_DEPTH_BUFFER_BIT, 16#100). +-define(GL_ACCUM_BUFFER_BIT, 16#200). +-define(GL_STENCIL_BUFFER_BIT, 16#400). +-define(GL_VIEWPORT_BIT, 16#800). +-define(GL_TRANSFORM_BIT, 16#1000). +-define(GL_ENABLE_BIT, 16#2000). +-define(GL_COLOR_BUFFER_BIT, 16#4000). +-define(GL_HINT_BIT, 16#8000). +-define(GL_EVAL_BIT, 16#10000). +-define(GL_LIST_BIT, 16#20000). +-define(GL_TEXTURE_BIT, 16#40000). +-define(GL_SCISSOR_BIT, 16#80000). +-define(GL_ALL_ATTRIB_BITS, 16#FFFFF). -define(GL_PROXY_TEXTURE_1D, 16#8063). -define(GL_PROXY_TEXTURE_2D, 16#8064). --define(GL_CLAMP, 16#2900). --define(GL_REPEAT, 16#2901). --define(GL_R3_G3_B2, 16#2A10). +-define(GL_TEXTURE_PRIORITY, 16#8066). +-define(GL_TEXTURE_RESIDENT, 16#8067). +-define(GL_TEXTURE_BINDING_1D, 16#8068). +-define(GL_TEXTURE_BINDING_2D, 16#8069). +-define(GL_TEXTURE_INTERNAL_FORMAT, 16#1003). -define(GL_ALPHA4, 16#803B). -define(GL_ALPHA8, 16#803C). -define(GL_ALPHA12, 16#803D). @@ -515,6 +535,7 @@ -define(GL_INTENSITY8, 16#804B). -define(GL_INTENSITY12, 16#804C). -define(GL_INTENSITY16, 16#804D). +-define(GL_R3_G3_B2, 16#2A10). -define(GL_RGB4, 16#804F). -define(GL_RGB5, 16#8050). -define(GL_RGB8, 16#8051). @@ -528,51 +549,14 @@ -define(GL_RGB10_A2, 16#8059). -define(GL_RGBA12, 16#805A). -define(GL_RGBA16, 16#805B). --define(GL_V2F, 16#2A20). --define(GL_V3F, 16#2A21). --define(GL_C4UB_V2F, 16#2A22). --define(GL_C4UB_V3F, 16#2A23). --define(GL_C3F_V3F, 16#2A24). --define(GL_N3F_V3F, 16#2A25). --define(GL_C4F_N3F_V3F, 16#2A26). --define(GL_T2F_V3F, 16#2A27). --define(GL_T4F_V4F, 16#2A28). --define(GL_T2F_C4UB_V3F, 16#2A29). --define(GL_T2F_C3F_V3F, 16#2A2A). --define(GL_T2F_N3F_V3F, 16#2A2B). --define(GL_T2F_C4F_N3F_V3F, 16#2A2C). --define(GL_T4F_C4F_N3F_V4F, 16#2A2D). --define(GL_CLIP_PLANE0, 16#3000). --define(GL_CLIP_PLANE1, 16#3001). --define(GL_CLIP_PLANE2, 16#3002). --define(GL_CLIP_PLANE3, 16#3003). --define(GL_CLIP_PLANE4, 16#3004). --define(GL_CLIP_PLANE5, 16#3005). --define(GL_LIGHT0, 16#4000). --define(GL_LIGHT1, 16#4001). --define(GL_LIGHT2, 16#4002). --define(GL_LIGHT3, 16#4003). --define(GL_LIGHT4, 16#4004). --define(GL_LIGHT5, 16#4005). --define(GL_LIGHT6, 16#4006). --define(GL_LIGHT7, 16#4007). --define(GL_ABGR_EXT, 16#8000). --define(GL_FUNC_SUBTRACT_EXT, 16#800A). --define(GL_FUNC_REVERSE_SUBTRACT_EXT, 16#800B). --define(GL_UNSIGNED_BYTE_3_3_2_EXT, 16#8032). --define(GL_UNSIGNED_SHORT_4_4_4_4_EXT, 16#8033). --define(GL_UNSIGNED_SHORT_5_5_5_1_EXT, 16#8034). --define(GL_UNSIGNED_INT_8_8_8_8_EXT, 16#8035). --define(GL_UNSIGNED_INT_10_10_10_2_EXT, 16#8036). --define(GL_PACK_SKIP_IMAGES, 16#806B). --define(GL_PACK_IMAGE_HEIGHT, 16#806C). --define(GL_UNPACK_SKIP_IMAGES, 16#806D). --define(GL_UNPACK_IMAGE_HEIGHT, 16#806E). --define(GL_TEXTURE_3D, 16#806F). --define(GL_PROXY_TEXTURE_3D, 16#8070). --define(GL_TEXTURE_DEPTH, 16#8071). --define(GL_TEXTURE_WRAP_R, 16#8072). --define(GL_MAX_3D_TEXTURE_SIZE, 16#8073). +-define(GL_CLIENT_PIXEL_STORE_BIT, 16#1). +-define(GL_CLIENT_VERTEX_ARRAY_BIT, 16#2). +-define(GL_ALL_CLIENT_ATTRIB_BITS, 16#FFFFFFFF). +-define(GL_CLIENT_ALL_ATTRIB_BITS, 16#FFFFFFFF). +-define(GL_RESCALE_NORMAL, 16#803A). +-define(GL_CLAMP_TO_EDGE, 16#812F). +-define(GL_MAX_ELEMENTS_VERTICES, 16#80E8). +-define(GL_MAX_ELEMENTS_INDICES, 16#80E9). -define(GL_BGR, 16#80E0). -define(GL_BGRA, 16#80E1). -define(GL_UNSIGNED_BYTE_3_3_2, 16#8032). @@ -587,22 +571,104 @@ -define(GL_UNSIGNED_INT_8_8_8_8_REV, 16#8367). -define(GL_UNSIGNED_INT_10_10_10_2, 16#8036). -define(GL_UNSIGNED_INT_2_10_10_10_REV, 16#8368). --define(GL_RESCALE_NORMAL, 16#803A). -define(GL_LIGHT_MODEL_COLOR_CONTROL, 16#81F8). -define(GL_SINGLE_COLOR, 16#81F9). -define(GL_SEPARATE_SPECULAR_COLOR, 16#81FA). --define(GL_CLAMP_TO_EDGE, 16#812F). -define(GL_TEXTURE_MIN_LOD, 16#813A). -define(GL_TEXTURE_MAX_LOD, 16#813B). -define(GL_TEXTURE_BASE_LEVEL, 16#813C). -define(GL_TEXTURE_MAX_LEVEL, 16#813D). --define(GL_MAX_ELEMENTS_VERTICES, 16#80E8). --define(GL_MAX_ELEMENTS_INDICES, 16#80E9). +-define(GL_SMOOTH_POINT_SIZE_RANGE, 16#B12). +-define(GL_SMOOTH_POINT_SIZE_GRANULARITY, 16#B13). +-define(GL_SMOOTH_LINE_WIDTH_RANGE, 16#B22). +-define(GL_SMOOTH_LINE_WIDTH_GRANULARITY, 16#B23). -define(GL_ALIASED_POINT_SIZE_RANGE, 16#846D). -define(GL_ALIASED_LINE_WIDTH_RANGE, 16#846E). --define(GL_ACTIVE_TEXTURE, 16#84E0). --define(GL_CLIENT_ACTIVE_TEXTURE, 16#84E1). --define(GL_MAX_TEXTURE_UNITS, 16#84E2). +-define(GL_PACK_SKIP_IMAGES, 16#806B). +-define(GL_PACK_IMAGE_HEIGHT, 16#806C). +-define(GL_UNPACK_SKIP_IMAGES, 16#806D). +-define(GL_UNPACK_IMAGE_HEIGHT, 16#806E). +-define(GL_TEXTURE_3D, 16#806F). +-define(GL_PROXY_TEXTURE_3D, 16#8070). +-define(GL_TEXTURE_DEPTH, 16#8071). +-define(GL_TEXTURE_WRAP_R, 16#8072). +-define(GL_MAX_3D_TEXTURE_SIZE, 16#8073). +-define(GL_TEXTURE_BINDING_3D, 16#806A). +-define(GL_CONSTANT_COLOR, 16#8001). +-define(GL_ONE_MINUS_CONSTANT_COLOR, 16#8002). +-define(GL_CONSTANT_ALPHA, 16#8003). +-define(GL_ONE_MINUS_CONSTANT_ALPHA, 16#8004). +-define(GL_COLOR_TABLE, 16#80D0). +-define(GL_POST_CONVOLUTION_COLOR_TABLE, 16#80D1). +-define(GL_POST_COLOR_MATRIX_COLOR_TABLE, 16#80D2). +-define(GL_PROXY_COLOR_TABLE, 16#80D3). +-define(GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, 16#80D4). +-define(GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE, 16#80D5). +-define(GL_COLOR_TABLE_SCALE, 16#80D6). +-define(GL_COLOR_TABLE_BIAS, 16#80D7). +-define(GL_COLOR_TABLE_FORMAT, 16#80D8). +-define(GL_COLOR_TABLE_WIDTH, 16#80D9). +-define(GL_COLOR_TABLE_RED_SIZE, 16#80DA). +-define(GL_COLOR_TABLE_GREEN_SIZE, 16#80DB). +-define(GL_COLOR_TABLE_BLUE_SIZE, 16#80DC). +-define(GL_COLOR_TABLE_ALPHA_SIZE, 16#80DD). +-define(GL_COLOR_TABLE_LUMINANCE_SIZE, 16#80DE). +-define(GL_COLOR_TABLE_INTENSITY_SIZE, 16#80DF). +-define(GL_CONVOLUTION_1D, 16#8010). +-define(GL_CONVOLUTION_2D, 16#8011). +-define(GL_SEPARABLE_2D, 16#8012). +-define(GL_CONVOLUTION_BORDER_MODE, 16#8013). +-define(GL_CONVOLUTION_FILTER_SCALE, 16#8014). +-define(GL_CONVOLUTION_FILTER_BIAS, 16#8015). +-define(GL_REDUCE, 16#8016). +-define(GL_CONVOLUTION_FORMAT, 16#8017). +-define(GL_CONVOLUTION_WIDTH, 16#8018). +-define(GL_CONVOLUTION_HEIGHT, 16#8019). +-define(GL_MAX_CONVOLUTION_WIDTH, 16#801A). +-define(GL_MAX_CONVOLUTION_HEIGHT, 16#801B). +-define(GL_POST_CONVOLUTION_RED_SCALE, 16#801C). +-define(GL_POST_CONVOLUTION_GREEN_SCALE, 16#801D). +-define(GL_POST_CONVOLUTION_BLUE_SCALE, 16#801E). +-define(GL_POST_CONVOLUTION_ALPHA_SCALE, 16#801F). +-define(GL_POST_CONVOLUTION_RED_BIAS, 16#8020). +-define(GL_POST_CONVOLUTION_GREEN_BIAS, 16#8021). +-define(GL_POST_CONVOLUTION_BLUE_BIAS, 16#8022). +-define(GL_POST_CONVOLUTION_ALPHA_BIAS, 16#8023). +-define(GL_CONSTANT_BORDER, 16#8151). +-define(GL_REPLICATE_BORDER, 16#8153). +-define(GL_CONVOLUTION_BORDER_COLOR, 16#8154). +-define(GL_COLOR_MATRIX, 16#80B1). +-define(GL_COLOR_MATRIX_STACK_DEPTH, 16#80B2). +-define(GL_MAX_COLOR_MATRIX_STACK_DEPTH, 16#80B3). +-define(GL_POST_COLOR_MATRIX_RED_SCALE, 16#80B4). +-define(GL_POST_COLOR_MATRIX_GREEN_SCALE, 16#80B5). +-define(GL_POST_COLOR_MATRIX_BLUE_SCALE, 16#80B6). +-define(GL_POST_COLOR_MATRIX_ALPHA_SCALE, 16#80B7). +-define(GL_POST_COLOR_MATRIX_RED_BIAS, 16#80B8). +-define(GL_POST_COLOR_MATRIX_GREEN_BIAS, 16#80B9). +-define(GL_POST_COLOR_MATRIX_BLUE_BIAS, 16#80BA). +-define(GL_POST_COLOR_MATRIX_ALPHA_BIAS, 16#80BB). +-define(GL_HISTOGRAM, 16#8024). +-define(GL_PROXY_HISTOGRAM, 16#8025). +-define(GL_HISTOGRAM_WIDTH, 16#8026). +-define(GL_HISTOGRAM_FORMAT, 16#8027). +-define(GL_HISTOGRAM_RED_SIZE, 16#8028). +-define(GL_HISTOGRAM_GREEN_SIZE, 16#8029). +-define(GL_HISTOGRAM_BLUE_SIZE, 16#802A). +-define(GL_HISTOGRAM_ALPHA_SIZE, 16#802B). +-define(GL_HISTOGRAM_LUMINANCE_SIZE, 16#802C). +-define(GL_HISTOGRAM_SINK, 16#802D). +-define(GL_MINMAX, 16#802E). +-define(GL_MINMAX_FORMAT, 16#802F). +-define(GL_MINMAX_SINK, 16#8030). +-define(GL_TABLE_TOO_LARGE, 16#8031). +-define(GL_BLEND_EQUATION, 16#8009). +-define(GL_MIN, 16#8007). +-define(GL_MAX, 16#8008). +-define(GL_FUNC_ADD, 16#8006). +-define(GL_FUNC_SUBTRACT, 16#800A). +-define(GL_FUNC_REVERSE_SUBTRACT, 16#800B). +-define(GL_BLEND_COLOR, 16#8005). -define(GL_TEXTURE0, 16#84C0). -define(GL_TEXTURE1, 16#84C1). -define(GL_TEXTURE2, 16#84C2). @@ -635,6 +701,9 @@ -define(GL_TEXTURE29, 16#84DD). -define(GL_TEXTURE30, 16#84DE). -define(GL_TEXTURE31, 16#84DF). +-define(GL_ACTIVE_TEXTURE, 16#84E0). +-define(GL_CLIENT_ACTIVE_TEXTURE, 16#84E1). +-define(GL_MAX_TEXTURE_UNITS, 16#84E2). -define(GL_NORMAL_MAP, 16#8511). -define(GL_REFLECTION_MAP, 16#8512). -define(GL_TEXTURE_CUBE_MAP, 16#8513). @@ -647,32 +716,6 @@ -define(GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, 16#851A). -define(GL_PROXY_TEXTURE_CUBE_MAP, 16#851B). -define(GL_MAX_CUBE_MAP_TEXTURE_SIZE, 16#851C). --define(GL_COMBINE, 16#8570). --define(GL_COMBINE_RGB, 16#8571). --define(GL_COMBINE_ALPHA, 16#8572). --define(GL_RGB_SCALE, 16#8573). --define(GL_ADD_SIGNED, 16#8574). --define(GL_INTERPOLATE, 16#8575). --define(GL_CONSTANT, 16#8576). --define(GL_PRIMARY_COLOR, 16#8577). --define(GL_PREVIOUS, 16#8578). --define(GL_SOURCE0_RGB, 16#8580). --define(GL_SOURCE1_RGB, 16#8581). --define(GL_SOURCE2_RGB, 16#8582). --define(GL_SOURCE0_ALPHA, 16#8588). --define(GL_SOURCE1_ALPHA, 16#8589). --define(GL_SOURCE2_ALPHA, 16#858A). --define(GL_OPERAND0_RGB, 16#8590). --define(GL_OPERAND1_RGB, 16#8591). --define(GL_OPERAND2_RGB, 16#8592). --define(GL_OPERAND0_ALPHA, 16#8598). --define(GL_OPERAND1_ALPHA, 16#8599). --define(GL_OPERAND2_ALPHA, 16#859A). --define(GL_SUBTRACT, 16#84E7). --define(GL_TRANSPOSE_MODELVIEW_MATRIX, 16#84E3). --define(GL_TRANSPOSE_PROJECTION_MATRIX, 16#84E4). --define(GL_TRANSPOSE_TEXTURE_MATRIX, 16#84E5). --define(GL_TRANSPOSE_COLOR_MATRIX, 16#84E6). -define(GL_COMPRESSED_ALPHA, 16#84E9). -define(GL_COMPRESSED_LUMINANCE, 16#84EA). -define(GL_COMPRESSED_LUMINANCE_ALPHA, 16#84EB). @@ -684,9 +727,6 @@ -define(GL_TEXTURE_COMPRESSED, 16#86A1). -define(GL_NUM_COMPRESSED_TEXTURE_FORMATS, 16#86A2). -define(GL_COMPRESSED_TEXTURE_FORMATS, 16#86A3). --define(GL_DOT3_RGB, 16#86AE). --define(GL_DOT3_RGBA, 16#86AF). --define(GL_CLAMP_TO_BORDER, 16#812D). -define(GL_MULTISAMPLE, 16#809D). -define(GL_SAMPLE_ALPHA_TO_COVERAGE, 16#809E). -define(GL_SAMPLE_ALPHA_TO_ONE, 16#809F). @@ -696,57 +736,120 @@ -define(GL_SAMPLE_COVERAGE_VALUE, 16#80AA). -define(GL_SAMPLE_COVERAGE_INVERT, 16#80AB). -define(GL_MULTISAMPLE_BIT, 16#20000000). --define(GL_VERTEX_ARRAY_EXT, 16#8074). --define(GL_NORMAL_ARRAY_EXT, 16#8075). --define(GL_COLOR_ARRAY_EXT, 16#8076). --define(GL_INDEX_ARRAY_EXT, 16#8077). --define(GL_TEXTURE_COORD_ARRAY_EXT, 16#8078). --define(GL_EDGE_FLAG_ARRAY_EXT, 16#8079). --define(GL_VERTEX_ARRAY_SIZE_EXT, 16#807A). --define(GL_VERTEX_ARRAY_TYPE_EXT, 16#807B). --define(GL_VERTEX_ARRAY_STRIDE_EXT, 16#807C). --define(GL_VERTEX_ARRAY_COUNT_EXT, 16#807D). --define(GL_NORMAL_ARRAY_TYPE_EXT, 16#807E). --define(GL_NORMAL_ARRAY_STRIDE_EXT, 16#807F). --define(GL_NORMAL_ARRAY_COUNT_EXT, 16#8080). --define(GL_COLOR_ARRAY_SIZE_EXT, 16#8081). --define(GL_COLOR_ARRAY_TYPE_EXT, 16#8082). --define(GL_COLOR_ARRAY_STRIDE_EXT, 16#8083). --define(GL_COLOR_ARRAY_COUNT_EXT, 16#8084). --define(GL_INDEX_ARRAY_TYPE_EXT, 16#8085). --define(GL_INDEX_ARRAY_STRIDE_EXT, 16#8086). --define(GL_INDEX_ARRAY_COUNT_EXT, 16#8087). --define(GL_TEXTURE_COORD_ARRAY_SIZE_EXT, 16#8088). --define(GL_TEXTURE_COORD_ARRAY_TYPE_EXT, 16#8089). --define(GL_TEXTURE_COORD_ARRAY_STRIDE_EXT, 16#808A). --define(GL_TEXTURE_COORD_ARRAY_COUNT_EXT, 16#808B). --define(GL_EDGE_FLAG_ARRAY_STRIDE_EXT, 16#808C). --define(GL_EDGE_FLAG_ARRAY_COUNT_EXT, 16#808D). --define(GL_VERTEX_ARRAY_POINTER_EXT, 16#808E). --define(GL_NORMAL_ARRAY_POINTER_EXT, 16#808F). --define(GL_COLOR_ARRAY_POINTER_EXT, 16#8090). --define(GL_INDEX_ARRAY_POINTER_EXT, 16#8091). --define(GL_TEXTURE_COORD_ARRAY_POINTER_EXT, 16#8092). --define(GL_EDGE_FLAG_ARRAY_POINTER_EXT, 16#8093). --define(GL_TEXTURE_MIN_LOD_SGIS, 16#813A). --define(GL_TEXTURE_MAX_LOD_SGIS, 16#813B). --define(GL_TEXTURE_BASE_LEVEL_SGIS, 16#813C). --define(GL_TEXTURE_MAX_LEVEL_SGIS, 16#813D). --define(GL_SHARED_TEXTURE_PALETTE_EXT, 16#81FB). --define(GL_RESCALE_NORMAL_EXT, 16#803A). --define(GL_TEXTURE_COMPARE_SGIX, 16#819A). --define(GL_TEXTURE_COMPARE_OPERATOR_SGIX, 16#819B). --define(GL_TEXTURE_LEQUAL_R_SGIX, 16#819C). --define(GL_TEXTURE_GEQUAL_R_SGIX, 16#819D). --define(GL_DEPTH_COMPONENT16_SGIX, 16#81A5). --define(GL_DEPTH_COMPONENT24_SGIX, 16#81A6). --define(GL_DEPTH_COMPONENT32_SGIX, 16#81A7). --define(GL_GENERATE_MIPMAP_SGIS, 16#8191). --define(GL_GENERATE_MIPMAP_HINT_SGIS, 16#8192). +-define(GL_TRANSPOSE_MODELVIEW_MATRIX, 16#84E3). +-define(GL_TRANSPOSE_PROJECTION_MATRIX, 16#84E4). +-define(GL_TRANSPOSE_TEXTURE_MATRIX, 16#84E5). +-define(GL_TRANSPOSE_COLOR_MATRIX, 16#84E6). +-define(GL_COMBINE, 16#8570). +-define(GL_COMBINE_RGB, 16#8571). +-define(GL_COMBINE_ALPHA, 16#8572). +-define(GL_SOURCE0_RGB, 16#8580). +-define(GL_SOURCE1_RGB, 16#8581). +-define(GL_SOURCE2_RGB, 16#8582). +-define(GL_SOURCE0_ALPHA, 16#8588). +-define(GL_SOURCE1_ALPHA, 16#8589). +-define(GL_SOURCE2_ALPHA, 16#858A). +-define(GL_OPERAND0_RGB, 16#8590). +-define(GL_OPERAND1_RGB, 16#8591). +-define(GL_OPERAND2_RGB, 16#8592). +-define(GL_OPERAND0_ALPHA, 16#8598). +-define(GL_OPERAND1_ALPHA, 16#8599). +-define(GL_OPERAND2_ALPHA, 16#859A). +-define(GL_RGB_SCALE, 16#8573). +-define(GL_ADD_SIGNED, 16#8574). +-define(GL_INTERPOLATE, 16#8575). +-define(GL_SUBTRACT, 16#84E7). +-define(GL_CONSTANT, 16#8576). +-define(GL_PRIMARY_COLOR, 16#8577). +-define(GL_PREVIOUS, 16#8578). +-define(GL_DOT3_RGB, 16#86AE). +-define(GL_DOT3_RGBA, 16#86AF). +-define(GL_CLAMP_TO_BORDER, 16#812D). +-define(GL_ARB_multitexture, 1). +-define(GL_TEXTURE0_ARB, 16#84C0). +-define(GL_TEXTURE1_ARB, 16#84C1). +-define(GL_TEXTURE2_ARB, 16#84C2). +-define(GL_TEXTURE3_ARB, 16#84C3). +-define(GL_TEXTURE4_ARB, 16#84C4). +-define(GL_TEXTURE5_ARB, 16#84C5). +-define(GL_TEXTURE6_ARB, 16#84C6). +-define(GL_TEXTURE7_ARB, 16#84C7). +-define(GL_TEXTURE8_ARB, 16#84C8). +-define(GL_TEXTURE9_ARB, 16#84C9). +-define(GL_TEXTURE10_ARB, 16#84CA). +-define(GL_TEXTURE11_ARB, 16#84CB). +-define(GL_TEXTURE12_ARB, 16#84CC). +-define(GL_TEXTURE13_ARB, 16#84CD). +-define(GL_TEXTURE14_ARB, 16#84CE). +-define(GL_TEXTURE15_ARB, 16#84CF). +-define(GL_TEXTURE16_ARB, 16#84D0). +-define(GL_TEXTURE17_ARB, 16#84D1). +-define(GL_TEXTURE18_ARB, 16#84D2). +-define(GL_TEXTURE19_ARB, 16#84D3). +-define(GL_TEXTURE20_ARB, 16#84D4). +-define(GL_TEXTURE21_ARB, 16#84D5). +-define(GL_TEXTURE22_ARB, 16#84D6). +-define(GL_TEXTURE23_ARB, 16#84D7). +-define(GL_TEXTURE24_ARB, 16#84D8). +-define(GL_TEXTURE25_ARB, 16#84D9). +-define(GL_TEXTURE26_ARB, 16#84DA). +-define(GL_TEXTURE27_ARB, 16#84DB). +-define(GL_TEXTURE28_ARB, 16#84DC). +-define(GL_TEXTURE29_ARB, 16#84DD). +-define(GL_TEXTURE30_ARB, 16#84DE). +-define(GL_TEXTURE31_ARB, 16#84DF). +-define(GL_ACTIVE_TEXTURE_ARB, 16#84E0). +-define(GL_CLIENT_ACTIVE_TEXTURE_ARB, 16#84E1). +-define(GL_MAX_TEXTURE_UNITS_ARB, 16#84E2). +-define(GL_MESA_packed_depth_stencil, 1). +-define(GL_DEPTH_STENCIL_MESA, 16#8750). +-define(GL_UNSIGNED_INT_24_8_MESA, 16#8751). +-define(GL_UNSIGNED_INT_8_24_REV_MESA, 16#8752). +-define(GL_UNSIGNED_SHORT_15_1_MESA, 16#8753). +-define(GL_UNSIGNED_SHORT_1_15_REV_MESA, 16#8754). +-define(GL_MESA_program_debug, 1). +-define(GL_FRAGMENT_PROGRAM_POSITION_MESA, 16#8BB0). +-define(GL_FRAGMENT_PROGRAM_CALLBACK_MESA, 16#8BB1). +-define(GL_FRAGMENT_PROGRAM_CALLBACK_FUNC_MESA, 16#8BB2). +-define(GL_FRAGMENT_PROGRAM_CALLBACK_DATA_MESA, 16#8BB3). +-define(GL_VERTEX_PROGRAM_POSITION_MESA, 16#8BB4). +-define(GL_VERTEX_PROGRAM_CALLBACK_MESA, 16#8BB5). +-define(GL_VERTEX_PROGRAM_CALLBACK_FUNC_MESA, 16#8BB6). +-define(GL_VERTEX_PROGRAM_CALLBACK_DATA_MESA, 16#8BB7). +-define(GL_MESA_texture_array, 1). +-define(GL_TEXTURE_1D_ARRAY_EXT, 16#8C18). +-define(GL_PROXY_TEXTURE_1D_ARRAY_EXT, 16#8C19). +-define(GL_TEXTURE_2D_ARRAY_EXT, 16#8C1A). +-define(GL_PROXY_TEXTURE_2D_ARRAY_EXT, 16#8C1B). +-define(GL_TEXTURE_BINDING_1D_ARRAY_EXT, 16#8C1C). +-define(GL_TEXTURE_BINDING_2D_ARRAY_EXT, 16#8C1D). +-define(GL_MAX_ARRAY_TEXTURE_LAYERS_EXT, 16#88FF). +-define(GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT, 16#8CD4). +-define(GL_ATI_blend_equation_separate, 1). +-define(GL_ALPHA_BLEND_EQUATION_ATI, 16#883D). +-define(GL_OES_EGL_image, 1). +-define(GL_GLEXT_VERSION, 66). +-define(GL_BLEND_DST_RGB, 16#80C8). +-define(GL_BLEND_SRC_RGB, 16#80C9). +-define(GL_BLEND_DST_ALPHA, 16#80CA). +-define(GL_BLEND_SRC_ALPHA, 16#80CB). +-define(GL_POINT_FADE_THRESHOLD_SIZE, 16#8128). +-define(GL_DEPTH_COMPONENT16, 16#81A5). +-define(GL_DEPTH_COMPONENT24, 16#81A6). +-define(GL_DEPTH_COMPONENT32, 16#81A7). +-define(GL_MIRRORED_REPEAT, 16#8370). +-define(GL_MAX_TEXTURE_LOD_BIAS, 16#84FD). +-define(GL_TEXTURE_LOD_BIAS, 16#8501). +-define(GL_INCR_WRAP, 16#8507). +-define(GL_DECR_WRAP, 16#8508). +-define(GL_TEXTURE_DEPTH_SIZE, 16#884A). +-define(GL_TEXTURE_COMPARE_MODE, 16#884C). +-define(GL_TEXTURE_COMPARE_FUNC, 16#884D). -define(GL_POINT_SIZE_MIN, 16#8126). -define(GL_POINT_SIZE_MAX, 16#8127). --define(GL_POINT_FADE_THRESHOLD_SIZE, 16#8128). -define(GL_POINT_DISTANCE_ATTENUATION, 16#8129). +-define(GL_GENERATE_MIPMAP, 16#8191). +-define(GL_GENERATE_MIPMAP_HINT, 16#8192). -define(GL_FOG_COORDINATE_SOURCE, 16#8450). -define(GL_FOG_COORDINATE, 16#8451). -define(GL_FRAGMENT_DEPTH, 16#8452). @@ -762,101 +865,9 @@ -define(GL_SECONDARY_COLOR_ARRAY_STRIDE, 16#845C). -define(GL_SECONDARY_COLOR_ARRAY_POINTER, 16#845D). -define(GL_SECONDARY_COLOR_ARRAY, 16#845E). --define(GL_INCR_WRAP, 16#8507). --define(GL_DECR_WRAP, 16#8508). --define(GL_MAX_TEXTURE_LOD_BIAS, 16#84FD). -define(GL_TEXTURE_FILTER_CONTROL, 16#8500). --define(GL_TEXTURE_LOD_BIAS, 16#8501). --define(GL_GENERATE_MIPMAP, 16#8191). --define(GL_GENERATE_MIPMAP_HINT, 16#8192). --define(GL_BLEND_DST_RGB, 16#80C8). --define(GL_BLEND_SRC_RGB, 16#80C9). --define(GL_BLEND_DST_ALPHA, 16#80CA). --define(GL_BLEND_SRC_ALPHA, 16#80CB). --define(GL_MIRRORED_REPEAT, 16#8370). --define(GL_DEPTH_COMPONENT16, 16#81A5). --define(GL_DEPTH_COMPONENT24, 16#81A6). --define(GL_DEPTH_COMPONENT32, 16#81A7). --define(GL_TEXTURE_DEPTH_SIZE, 16#884A). -define(GL_DEPTH_TEXTURE_MODE, 16#884B). --define(GL_TEXTURE_COMPARE_MODE, 16#884C). --define(GL_TEXTURE_COMPARE_FUNC, 16#884D). -define(GL_COMPARE_R_TO_TEXTURE, 16#884E). --define(GL_GLEXT_VERSION, 52). --define(GL_CONSTANT_COLOR, 16#8001). --define(GL_ONE_MINUS_CONSTANT_COLOR, 16#8002). --define(GL_CONSTANT_ALPHA, 16#8003). --define(GL_ONE_MINUS_CONSTANT_ALPHA, 16#8004). --define(GL_BLEND_COLOR, 16#8005). --define(GL_FUNC_ADD, 16#8006). --define(GL_MIN, 16#8007). --define(GL_MAX, 16#8008). --define(GL_BLEND_EQUATION, 16#8009). --define(GL_FUNC_SUBTRACT, 16#800A). --define(GL_FUNC_REVERSE_SUBTRACT, 16#800B). --define(GL_CONVOLUTION_1D, 16#8010). --define(GL_CONVOLUTION_2D, 16#8011). --define(GL_SEPARABLE_2D, 16#8012). --define(GL_CONVOLUTION_BORDER_MODE, 16#8013). --define(GL_CONVOLUTION_FILTER_SCALE, 16#8014). --define(GL_CONVOLUTION_FILTER_BIAS, 16#8015). --define(GL_REDUCE, 16#8016). --define(GL_CONVOLUTION_FORMAT, 16#8017). --define(GL_CONVOLUTION_WIDTH, 16#8018). --define(GL_CONVOLUTION_HEIGHT, 16#8019). --define(GL_MAX_CONVOLUTION_WIDTH, 16#801A). --define(GL_MAX_CONVOLUTION_HEIGHT, 16#801B). --define(GL_POST_CONVOLUTION_RED_SCALE, 16#801C). --define(GL_POST_CONVOLUTION_GREEN_SCALE, 16#801D). --define(GL_POST_CONVOLUTION_BLUE_SCALE, 16#801E). --define(GL_POST_CONVOLUTION_ALPHA_SCALE, 16#801F). --define(GL_POST_CONVOLUTION_RED_BIAS, 16#8020). --define(GL_POST_CONVOLUTION_GREEN_BIAS, 16#8021). --define(GL_POST_CONVOLUTION_BLUE_BIAS, 16#8022). --define(GL_POST_CONVOLUTION_ALPHA_BIAS, 16#8023). --define(GL_HISTOGRAM, 16#8024). --define(GL_PROXY_HISTOGRAM, 16#8025). --define(GL_HISTOGRAM_WIDTH, 16#8026). --define(GL_HISTOGRAM_FORMAT, 16#8027). --define(GL_HISTOGRAM_RED_SIZE, 16#8028). --define(GL_HISTOGRAM_GREEN_SIZE, 16#8029). --define(GL_HISTOGRAM_BLUE_SIZE, 16#802A). --define(GL_HISTOGRAM_ALPHA_SIZE, 16#802B). --define(GL_HISTOGRAM_LUMINANCE_SIZE, 16#802C). --define(GL_HISTOGRAM_SINK, 16#802D). --define(GL_MINMAX, 16#802E). --define(GL_MINMAX_FORMAT, 16#802F). --define(GL_MINMAX_SINK, 16#8030). --define(GL_COLOR_MATRIX, 16#80B1). --define(GL_COLOR_MATRIX_STACK_DEPTH, 16#80B2). --define(GL_MAX_COLOR_MATRIX_STACK_DEPTH, 16#80B3). --define(GL_POST_COLOR_MATRIX_RED_SCALE, 16#80B4). --define(GL_POST_COLOR_MATRIX_GREEN_SCALE, 16#80B5). --define(GL_POST_COLOR_MATRIX_BLUE_SCALE, 16#80B6). --define(GL_POST_COLOR_MATRIX_ALPHA_SCALE, 16#80B7). --define(GL_POST_COLOR_MATRIX_RED_BIAS, 16#80B8). --define(GL_POST_COLOR_MATRIX_GREEN_BIAS, 16#80B9). --define(GL_POST_COLOR_MATRIX_BLUE_BIAS, 16#80BA). --define(GL_POST_COLOR_MATRIX_ALPHA_BIAS, 16#80BB). --define(GL_COLOR_TABLE, 16#80D0). --define(GL_POST_CONVOLUTION_COLOR_TABLE, 16#80D1). --define(GL_POST_COLOR_MATRIX_COLOR_TABLE, 16#80D2). --define(GL_PROXY_COLOR_TABLE, 16#80D3). --define(GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, 16#80D4). --define(GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE, 16#80D5). --define(GL_COLOR_TABLE_SCALE, 16#80D6). --define(GL_COLOR_TABLE_BIAS, 16#80D7). --define(GL_COLOR_TABLE_FORMAT, 16#80D8). --define(GL_COLOR_TABLE_WIDTH, 16#80D9). --define(GL_COLOR_TABLE_RED_SIZE, 16#80DA). --define(GL_COLOR_TABLE_GREEN_SIZE, 16#80DB). --define(GL_COLOR_TABLE_BLUE_SIZE, 16#80DC). --define(GL_COLOR_TABLE_ALPHA_SIZE, 16#80DD). --define(GL_COLOR_TABLE_LUMINANCE_SIZE, 16#80DE). --define(GL_COLOR_TABLE_INTENSITY_SIZE, 16#80DF). --define(GL_CONSTANT_BORDER, 16#8151). --define(GL_REPLICATE_BORDER, 16#8153). --define(GL_CONVOLUTION_BORDER_COLOR, 16#8154). -define(GL_BUFFER_SIZE, 16#8764). -define(GL_BUFFER_USAGE, 16#8765). -define(GL_QUERY_COUNTER_BITS, 16#8864). @@ -1021,6 +1032,8 @@ -define(GL_CLIP_DISTANCE3, 16#3003). -define(GL_CLIP_DISTANCE4, 16#3004). -define(GL_CLIP_DISTANCE5, 16#3005). +-define(GL_CLIP_DISTANCE6, 16#3006). +-define(GL_CLIP_DISTANCE7, 16#3007). -define(GL_MAX_CLIP_DISTANCES, 16#D32). -define(GL_MAJOR_VERSION, 16#821B). -define(GL_MINOR_VERSION, 16#821C). @@ -1111,6 +1124,9 @@ -define(GL_QUERY_NO_WAIT, 16#8E14). -define(GL_QUERY_BY_REGION_WAIT, 16#8E15). -define(GL_QUERY_BY_REGION_NO_WAIT, 16#8E16). +-define(GL_BUFFER_ACCESS_FLAGS, 16#911F). +-define(GL_BUFFER_MAP_LENGTH, 16#9120). +-define(GL_BUFFER_MAP_OFFSET, 16#9121). -define(GL_CLAMP_VERTEX_COLOR, 16#891A). -define(GL_CLAMP_FRAGMENT_COLOR, 16#891B). -define(GL_ALPHA_INTEGER, 16#8D97). @@ -1145,41 +1161,40 @@ -define(GL_SIGNED_NORMALIZED, 16#8F9C). -define(GL_PRIMITIVE_RESTART, 16#8F9D). -define(GL_PRIMITIVE_RESTART_INDEX, 16#8F9E). --define(GL_TEXTURE0_ARB, 16#84C0). --define(GL_TEXTURE1_ARB, 16#84C1). --define(GL_TEXTURE2_ARB, 16#84C2). --define(GL_TEXTURE3_ARB, 16#84C3). --define(GL_TEXTURE4_ARB, 16#84C4). --define(GL_TEXTURE5_ARB, 16#84C5). --define(GL_TEXTURE6_ARB, 16#84C6). --define(GL_TEXTURE7_ARB, 16#84C7). --define(GL_TEXTURE8_ARB, 16#84C8). --define(GL_TEXTURE9_ARB, 16#84C9). --define(GL_TEXTURE10_ARB, 16#84CA). --define(GL_TEXTURE11_ARB, 16#84CB). --define(GL_TEXTURE12_ARB, 16#84CC). --define(GL_TEXTURE13_ARB, 16#84CD). --define(GL_TEXTURE14_ARB, 16#84CE). --define(GL_TEXTURE15_ARB, 16#84CF). --define(GL_TEXTURE16_ARB, 16#84D0). --define(GL_TEXTURE17_ARB, 16#84D1). --define(GL_TEXTURE18_ARB, 16#84D2). --define(GL_TEXTURE19_ARB, 16#84D3). --define(GL_TEXTURE20_ARB, 16#84D4). --define(GL_TEXTURE21_ARB, 16#84D5). --define(GL_TEXTURE22_ARB, 16#84D6). --define(GL_TEXTURE23_ARB, 16#84D7). --define(GL_TEXTURE24_ARB, 16#84D8). --define(GL_TEXTURE25_ARB, 16#84D9). --define(GL_TEXTURE26_ARB, 16#84DA). --define(GL_TEXTURE27_ARB, 16#84DB). --define(GL_TEXTURE28_ARB, 16#84DC). --define(GL_TEXTURE29_ARB, 16#84DD). --define(GL_TEXTURE30_ARB, 16#84DE). --define(GL_TEXTURE31_ARB, 16#84DF). --define(GL_ACTIVE_TEXTURE_ARB, 16#84E0). --define(GL_CLIENT_ACTIVE_TEXTURE_ARB, 16#84E1). --define(GL_MAX_TEXTURE_UNITS_ARB, 16#84E2). +-define(GL_CONTEXT_CORE_PROFILE_BIT, 16#1). +-define(GL_CONTEXT_COMPATIBILITY_PROFILE_BIT, 16#2). +-define(GL_LINES_ADJACENCY, 16#A). +-define(GL_LINE_STRIP_ADJACENCY, 16#B). +-define(GL_TRIANGLES_ADJACENCY, 16#C). +-define(GL_TRIANGLE_STRIP_ADJACENCY, 16#D). +-define(GL_PROGRAM_POINT_SIZE, 16#8642). +-define(GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS, 16#8C29). +-define(GL_FRAMEBUFFER_ATTACHMENT_LAYERED, 16#8DA7). +-define(GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS, 16#8DA8). +-define(GL_GEOMETRY_SHADER, 16#8DD9). +-define(GL_GEOMETRY_VERTICES_OUT, 16#8916). +-define(GL_GEOMETRY_INPUT_TYPE, 16#8917). +-define(GL_GEOMETRY_OUTPUT_TYPE, 16#8918). +-define(GL_MAX_GEOMETRY_UNIFORM_COMPONENTS, 16#8DDF). +-define(GL_MAX_GEOMETRY_OUTPUT_VERTICES, 16#8DE0). +-define(GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS, 16#8DE1). +-define(GL_MAX_VERTEX_OUTPUT_COMPONENTS, 16#9122). +-define(GL_MAX_GEOMETRY_INPUT_COMPONENTS, 16#9123). +-define(GL_MAX_GEOMETRY_OUTPUT_COMPONENTS, 16#9124). +-define(GL_MAX_FRAGMENT_INPUT_COMPONENTS, 16#9125). +-define(GL_CONTEXT_PROFILE_MASK, 16#9126). +-define(GL_VERTEX_ATTRIB_ARRAY_DIVISOR, 16#88FE). +-define(GL_SAMPLE_SHADING, 16#8C36). +-define(GL_MIN_SAMPLE_SHADING_VALUE, 16#8C37). +-define(GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET, 16#8E5E). +-define(GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET, 16#8E5F). +-define(GL_TEXTURE_CUBE_MAP_ARRAY, 16#9009). +-define(GL_TEXTURE_BINDING_CUBE_MAP_ARRAY, 16#900A). +-define(GL_PROXY_TEXTURE_CUBE_MAP_ARRAY, 16#900B). +-define(GL_SAMPLER_CUBE_MAP_ARRAY, 16#900C). +-define(GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW, 16#900D). +-define(GL_INT_SAMPLER_CUBE_MAP_ARRAY, 16#900E). +-define(GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY, 16#900F). -define(GL_TRANSPOSE_MODELVIEW_MATRIX_ARB, 16#84E3). -define(GL_TRANSPOSE_PROJECTION_MATRIX_ARB, 16#84E4). -define(GL_TRANSPOSE_TEXTURE_MATRIX_ARB, 16#84E5). @@ -1712,6 +1727,212 @@ -define(GL_INVALID_INDEX, 16#FFFFFFFF). -define(GL_COPY_READ_BUFFER, 16#8F36). -define(GL_COPY_WRITE_BUFFER, 16#8F37). +-define(GL_DEPTH_CLAMP, 16#864F). +-define(GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION, 16#8E4C). +-define(GL_FIRST_VERTEX_CONVENTION, 16#8E4D). +-define(GL_LAST_VERTEX_CONVENTION, 16#8E4E). +-define(GL_PROVOKING_VERTEX, 16#8E4F). +-define(GL_TEXTURE_CUBE_MAP_SEAMLESS, 16#884F). +-define(GL_MAX_SERVER_WAIT_TIMEOUT, 16#9111). +-define(GL_OBJECT_TYPE, 16#9112). +-define(GL_SYNC_CONDITION, 16#9113). +-define(GL_SYNC_STATUS, 16#9114). +-define(GL_SYNC_FLAGS, 16#9115). +-define(GL_SYNC_FENCE, 16#9116). +-define(GL_SYNC_GPU_COMMANDS_COMPLETE, 16#9117). +-define(GL_UNSIGNALED, 16#9118). +-define(GL_SIGNALED, 16#9119). +-define(GL_ALREADY_SIGNALED, 16#911A). +-define(GL_TIMEOUT_EXPIRED, 16#911B). +-define(GL_CONDITION_SATISFIED, 16#911C). +-define(GL_WAIT_FAILED, 16#911D). +-define(GL_SYNC_FLUSH_COMMANDS_BIT, 16#1). +-define(GL_TIMEOUT_IGNORED, 16#FFFFFFFFFFFFFFFF). +-define(GL_SAMPLE_POSITION, 16#8E50). +-define(GL_SAMPLE_MASK, 16#8E51). +-define(GL_SAMPLE_MASK_VALUE, 16#8E52). +-define(GL_MAX_SAMPLE_MASK_WORDS, 16#8E59). +-define(GL_TEXTURE_2D_MULTISAMPLE, 16#9100). +-define(GL_PROXY_TEXTURE_2D_MULTISAMPLE, 16#9101). +-define(GL_TEXTURE_2D_MULTISAMPLE_ARRAY, 16#9102). +-define(GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY, 16#9103). +-define(GL_TEXTURE_BINDING_2D_MULTISAMPLE, 16#9104). +-define(GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY, 16#9105). +-define(GL_TEXTURE_SAMPLES, 16#9106). +-define(GL_TEXTURE_FIXED_SAMPLE_LOCATIONS, 16#9107). +-define(GL_SAMPLER_2D_MULTISAMPLE, 16#9108). +-define(GL_INT_SAMPLER_2D_MULTISAMPLE, 16#9109). +-define(GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE, 16#910A). +-define(GL_SAMPLER_2D_MULTISAMPLE_ARRAY, 16#910B). +-define(GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY, 16#910C). +-define(GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY, 16#910D). +-define(GL_MAX_COLOR_TEXTURE_SAMPLES, 16#910E). +-define(GL_MAX_DEPTH_TEXTURE_SAMPLES, 16#910F). +-define(GL_MAX_INTEGER_SAMPLES, 16#9110). +-define(GL_SAMPLE_SHADING_ARB, 16#8C36). +-define(GL_MIN_SAMPLE_SHADING_VALUE_ARB, 16#8C37). +-define(GL_TEXTURE_CUBE_MAP_ARRAY_ARB, 16#9009). +-define(GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_ARB, 16#900A). +-define(GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB, 16#900B). +-define(GL_SAMPLER_CUBE_MAP_ARRAY_ARB, 16#900C). +-define(GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_ARB, 16#900D). +-define(GL_INT_SAMPLER_CUBE_MAP_ARRAY_ARB, 16#900E). +-define(GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_ARB, 16#900F). +-define(GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB, 16#8E5E). +-define(GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_ARB, 16#8E5F). +-define(GL_SHADER_INCLUDE_ARB, 16#8DAE). +-define(GL_NAMED_STRING_LENGTH_ARB, 16#8DE9). +-define(GL_NAMED_STRING_TYPE_ARB, 16#8DEA). +-define(GL_COMPRESSED_RGBA_BPTC_UNORM_ARB, 16#8E8C). +-define(GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB, 16#8E8D). +-define(GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB, 16#8E8E). +-define(GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB, 16#8E8F). +-define(GL_SRC1_COLOR, 16#88F9). +-define(GL_ONE_MINUS_SRC1_COLOR, 16#88FA). +-define(GL_ONE_MINUS_SRC1_ALPHA, 16#88FB). +-define(GL_MAX_DUAL_SOURCE_DRAW_BUFFERS, 16#88FC). +-define(GL_ANY_SAMPLES_PASSED, 16#8C2F). +-define(GL_SAMPLER_BINDING, 16#8919). +-define(GL_RGB10_A2UI, 16#906F). +-define(GL_TEXTURE_SWIZZLE_R, 16#8E42). +-define(GL_TEXTURE_SWIZZLE_G, 16#8E43). +-define(GL_TEXTURE_SWIZZLE_B, 16#8E44). +-define(GL_TEXTURE_SWIZZLE_A, 16#8E45). +-define(GL_TEXTURE_SWIZZLE_RGBA, 16#8E46). +-define(GL_TIME_ELAPSED, 16#88BF). +-define(GL_TIMESTAMP, 16#8E28). +-define(GL_INT_2_10_10_10_REV, 16#8D9F). +-define(GL_DRAW_INDIRECT_BUFFER, 16#8F3F). +-define(GL_DRAW_INDIRECT_BUFFER_BINDING, 16#8F43). +-define(GL_GEOMETRY_SHADER_INVOCATIONS, 16#887F). +-define(GL_MAX_GEOMETRY_SHADER_INVOCATIONS, 16#8E5A). +-define(GL_MIN_FRAGMENT_INTERPOLATION_OFFSET, 16#8E5B). +-define(GL_MAX_FRAGMENT_INTERPOLATION_OFFSET, 16#8E5C). +-define(GL_FRAGMENT_INTERPOLATION_OFFSET_BITS, 16#8E5D). +-define(GL_DOUBLE_VEC2, 16#8FFC). +-define(GL_DOUBLE_VEC3, 16#8FFD). +-define(GL_DOUBLE_VEC4, 16#8FFE). +-define(GL_DOUBLE_MAT2, 16#8F46). +-define(GL_DOUBLE_MAT3, 16#8F47). +-define(GL_DOUBLE_MAT4, 16#8F48). +-define(GL_DOUBLE_MAT2x3, 16#8F49). +-define(GL_DOUBLE_MAT2x4, 16#8F4A). +-define(GL_DOUBLE_MAT3x2, 16#8F4B). +-define(GL_DOUBLE_MAT3x4, 16#8F4C). +-define(GL_DOUBLE_MAT4x2, 16#8F4D). +-define(GL_DOUBLE_MAT4x3, 16#8F4E). +-define(GL_ACTIVE_SUBROUTINES, 16#8DE5). +-define(GL_ACTIVE_SUBROUTINE_UNIFORMS, 16#8DE6). +-define(GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS, 16#8E47). +-define(GL_ACTIVE_SUBROUTINE_MAX_LENGTH, 16#8E48). +-define(GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH, 16#8E49). +-define(GL_MAX_SUBROUTINES, 16#8DE7). +-define(GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS, 16#8DE8). +-define(GL_NUM_COMPATIBLE_SUBROUTINES, 16#8E4A). +-define(GL_COMPATIBLE_SUBROUTINES, 16#8E4B). +-define(GL_PATCHES, 16#E). +-define(GL_PATCH_VERTICES, 16#8E72). +-define(GL_PATCH_DEFAULT_INNER_LEVEL, 16#8E73). +-define(GL_PATCH_DEFAULT_OUTER_LEVEL, 16#8E74). +-define(GL_TESS_CONTROL_OUTPUT_VERTICES, 16#8E75). +-define(GL_TESS_GEN_MODE, 16#8E76). +-define(GL_TESS_GEN_SPACING, 16#8E77). +-define(GL_TESS_GEN_VERTEX_ORDER, 16#8E78). +-define(GL_TESS_GEN_POINT_MODE, 16#8E79). +-define(GL_ISOLINES, 16#8E7A). +-define(GL_FRACTIONAL_ODD, 16#8E7B). +-define(GL_FRACTIONAL_EVEN, 16#8E7C). +-define(GL_MAX_PATCH_VERTICES, 16#8E7D). +-define(GL_MAX_TESS_GEN_LEVEL, 16#8E7E). +-define(GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS, 16#8E7F). +-define(GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS, 16#8E80). +-define(GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS, 16#8E81). +-define(GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS, 16#8E82). +-define(GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS, 16#8E83). +-define(GL_MAX_TESS_PATCH_COMPONENTS, 16#8E84). +-define(GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS, 16#8E85). +-define(GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS, 16#8E86). +-define(GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS, 16#8E89). +-define(GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS, 16#8E8A). +-define(GL_MAX_TESS_CONTROL_INPUT_COMPONENTS, 16#886C). +-define(GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS, 16#886D). +-define(GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS, 16#8E1E). +-define(GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS, 16#8E1F). +-define(GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER, 16#84F0). +-define(GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER, 16#84F1). +-define(GL_TESS_EVALUATION_SHADER, 16#8E87). +-define(GL_TESS_CONTROL_SHADER, 16#8E88). +-define(GL_TRANSFORM_FEEDBACK, 16#8E22). +-define(GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED, 16#8E23). +-define(GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE, 16#8E24). +-define(GL_TRANSFORM_FEEDBACK_BINDING, 16#8E25). +-define(GL_MAX_TRANSFORM_FEEDBACK_BUFFERS, 16#8E70). +-define(GL_MAX_VERTEX_STREAMS, 16#8E71). +-define(GL_FIXED, 16#140C). +-define(GL_IMPLEMENTATION_COLOR_READ_TYPE, 16#8B9A). +-define(GL_IMPLEMENTATION_COLOR_READ_FORMAT, 16#8B9B). +-define(GL_LOW_FLOAT, 16#8DF0). +-define(GL_MEDIUM_FLOAT, 16#8DF1). +-define(GL_HIGH_FLOAT, 16#8DF2). +-define(GL_LOW_INT, 16#8DF3). +-define(GL_MEDIUM_INT, 16#8DF4). +-define(GL_HIGH_INT, 16#8DF5). +-define(GL_SHADER_COMPILER, 16#8DFA). +-define(GL_NUM_SHADER_BINARY_FORMATS, 16#8DF9). +-define(GL_MAX_VERTEX_UNIFORM_VECTORS, 16#8DFB). +-define(GL_MAX_VARYING_VECTORS, 16#8DFC). +-define(GL_MAX_FRAGMENT_UNIFORM_VECTORS, 16#8DFD). +-define(GL_PROGRAM_BINARY_RETRIEVABLE_HINT, 16#8257). +-define(GL_PROGRAM_BINARY_LENGTH, 16#8741). +-define(GL_NUM_PROGRAM_BINARY_FORMATS, 16#87FE). +-define(GL_PROGRAM_BINARY_FORMATS, 16#87FF). +-define(GL_VERTEX_SHADER_BIT, 16#1). +-define(GL_FRAGMENT_SHADER_BIT, 16#2). +-define(GL_GEOMETRY_SHADER_BIT, 16#4). +-define(GL_TESS_CONTROL_SHADER_BIT, 16#8). +-define(GL_TESS_EVALUATION_SHADER_BIT, 16#10). +-define(GL_ALL_SHADER_BITS, 16#FFFFFFFF). +-define(GL_PROGRAM_SEPARABLE, 16#8258). +-define(GL_ACTIVE_PROGRAM, 16#8259). +-define(GL_PROGRAM_PIPELINE_BINDING, 16#825A). +-define(GL_MAX_VIEWPORTS, 16#825B). +-define(GL_VIEWPORT_SUBPIXEL_BITS, 16#825C). +-define(GL_VIEWPORT_BOUNDS_RANGE, 16#825D). +-define(GL_LAYER_PROVOKING_VERTEX, 16#825E). +-define(GL_VIEWPORT_INDEX_PROVOKING_VERTEX, 16#825F). +-define(GL_UNDEFINED_VERTEX, 16#8260). +-define(GL_SYNC_CL_EVENT_ARB, 16#8240). +-define(GL_SYNC_CL_EVENT_COMPLETE_ARB, 16#8241). +-define(GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB, 16#8242). +-define(GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB, 16#8243). +-define(GL_DEBUG_CALLBACK_FUNCTION_ARB, 16#8244). +-define(GL_DEBUG_CALLBACK_USER_PARAM_ARB, 16#8245). +-define(GL_DEBUG_SOURCE_API_ARB, 16#8246). +-define(GL_DEBUG_SOURCE_WINDOW_SYSTEM_ARB, 16#8247). +-define(GL_DEBUG_SOURCE_SHADER_COMPILER_ARB, 16#8248). +-define(GL_DEBUG_SOURCE_THIRD_PARTY_ARB, 16#8249). +-define(GL_DEBUG_SOURCE_APPLICATION_ARB, 16#824A). +-define(GL_DEBUG_SOURCE_OTHER_ARB, 16#824B). +-define(GL_DEBUG_TYPE_ERROR_ARB, 16#824C). +-define(GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_ARB, 16#824D). +-define(GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_ARB, 16#824E). +-define(GL_DEBUG_TYPE_PORTABILITY_ARB, 16#824F). +-define(GL_DEBUG_TYPE_PERFORMANCE_ARB, 16#8250). +-define(GL_DEBUG_TYPE_OTHER_ARB, 16#8251). +-define(GL_MAX_DEBUG_MESSAGE_LENGTH_ARB, 16#9143). +-define(GL_MAX_DEBUG_LOGGED_MESSAGES_ARB, 16#9144). +-define(GL_DEBUG_LOGGED_MESSAGES_ARB, 16#9145). +-define(GL_DEBUG_SEVERITY_HIGH_ARB, 16#9146). +-define(GL_DEBUG_SEVERITY_MEDIUM_ARB, 16#9147). +-define(GL_DEBUG_SEVERITY_LOW_ARB, 16#9148). +-define(GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB, 16#4). +-define(GL_LOSE_CONTEXT_ON_RESET_ARB, 16#8252). +-define(GL_GUILTY_CONTEXT_RESET_ARB, 16#8253). +-define(GL_INNOCENT_CONTEXT_RESET_ARB, 16#8254). +-define(GL_UNKNOWN_CONTEXT_RESET_ARB, 16#8255). +-define(GL_RESET_NOTIFICATION_STRATEGY_ARB, 16#8256). +-define(GL_NO_RESET_NOTIFICATION_ARB, 16#8261). +-define(GL_ABGR_EXT, 16#8000). -define(GL_CONSTANT_COLOR_EXT, 16#8001). -define(GL_ONE_MINUS_CONSTANT_COLOR_EXT, 16#8002). -define(GL_CONSTANT_ALPHA_EXT, 16#8003). @@ -1874,6 +2095,15 @@ -define(GL_LINEAR_SHARPEN_ALPHA_SGIS, 16#80AE). -define(GL_LINEAR_SHARPEN_COLOR_SGIS, 16#80AF). -define(GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS, 16#80B0). +-define(GL_UNSIGNED_BYTE_3_3_2_EXT, 16#8032). +-define(GL_UNSIGNED_SHORT_4_4_4_4_EXT, 16#8033). +-define(GL_UNSIGNED_SHORT_5_5_5_1_EXT, 16#8034). +-define(GL_UNSIGNED_INT_8_8_8_8_EXT, 16#8035). +-define(GL_UNSIGNED_INT_10_10_10_2_EXT, 16#8036). +-define(GL_TEXTURE_MIN_LOD_SGIS, 16#813A). +-define(GL_TEXTURE_MAX_LOD_SGIS, 16#813B). +-define(GL_TEXTURE_BASE_LEVEL_SGIS, 16#813C). +-define(GL_TEXTURE_MAX_LEVEL_SGIS, 16#813D). -define(GL_MULTISAMPLE_SGIS, 16#809D). -define(GL_SAMPLE_ALPHA_TO_MASK_SGIS, 16#809E). -define(GL_SAMPLE_ALPHA_TO_ONE_SGIS, 16#809F). @@ -1890,6 +2120,41 @@ -define(GL_SAMPLE_MASK_VALUE_SGIS, 16#80AA). -define(GL_SAMPLE_MASK_INVERT_SGIS, 16#80AB). -define(GL_SAMPLE_PATTERN_SGIS, 16#80AC). +-define(GL_RESCALE_NORMAL_EXT, 16#803A). +-define(GL_VERTEX_ARRAY_EXT, 16#8074). +-define(GL_NORMAL_ARRAY_EXT, 16#8075). +-define(GL_COLOR_ARRAY_EXT, 16#8076). +-define(GL_INDEX_ARRAY_EXT, 16#8077). +-define(GL_TEXTURE_COORD_ARRAY_EXT, 16#8078). +-define(GL_EDGE_FLAG_ARRAY_EXT, 16#8079). +-define(GL_VERTEX_ARRAY_SIZE_EXT, 16#807A). +-define(GL_VERTEX_ARRAY_TYPE_EXT, 16#807B). +-define(GL_VERTEX_ARRAY_STRIDE_EXT, 16#807C). +-define(GL_VERTEX_ARRAY_COUNT_EXT, 16#807D). +-define(GL_NORMAL_ARRAY_TYPE_EXT, 16#807E). +-define(GL_NORMAL_ARRAY_STRIDE_EXT, 16#807F). +-define(GL_NORMAL_ARRAY_COUNT_EXT, 16#8080). +-define(GL_COLOR_ARRAY_SIZE_EXT, 16#8081). +-define(GL_COLOR_ARRAY_TYPE_EXT, 16#8082). +-define(GL_COLOR_ARRAY_STRIDE_EXT, 16#8083). +-define(GL_COLOR_ARRAY_COUNT_EXT, 16#8084). +-define(GL_INDEX_ARRAY_TYPE_EXT, 16#8085). +-define(GL_INDEX_ARRAY_STRIDE_EXT, 16#8086). +-define(GL_INDEX_ARRAY_COUNT_EXT, 16#8087). +-define(GL_TEXTURE_COORD_ARRAY_SIZE_EXT, 16#8088). +-define(GL_TEXTURE_COORD_ARRAY_TYPE_EXT, 16#8089). +-define(GL_TEXTURE_COORD_ARRAY_STRIDE_EXT, 16#808A). +-define(GL_TEXTURE_COORD_ARRAY_COUNT_EXT, 16#808B). +-define(GL_EDGE_FLAG_ARRAY_STRIDE_EXT, 16#808C). +-define(GL_EDGE_FLAG_ARRAY_COUNT_EXT, 16#808D). +-define(GL_VERTEX_ARRAY_POINTER_EXT, 16#808E). +-define(GL_NORMAL_ARRAY_POINTER_EXT, 16#808F). +-define(GL_COLOR_ARRAY_POINTER_EXT, 16#8090). +-define(GL_INDEX_ARRAY_POINTER_EXT, 16#8091). +-define(GL_TEXTURE_COORD_ARRAY_POINTER_EXT, 16#8092). +-define(GL_EDGE_FLAG_ARRAY_POINTER_EXT, 16#8093). +-define(GL_GENERATE_MIPMAP_SGIS, 16#8191). +-define(GL_GENERATE_MIPMAP_HINT_SGIS, 16#8192). -define(GL_LINEAR_CLIPMAP_LINEAR_SGIX, 16#8170). -define(GL_TEXTURE_CLIPMAP_CENTER_SGIX, 16#8171). -define(GL_TEXTURE_CLIPMAP_FRAME_SGIX, 16#8172). @@ -1902,12 +2167,18 @@ -define(GL_NEAREST_CLIPMAP_NEAREST_SGIX, 16#844D). -define(GL_NEAREST_CLIPMAP_LINEAR_SGIX, 16#844E). -define(GL_LINEAR_CLIPMAP_NEAREST_SGIX, 16#844F). +-define(GL_TEXTURE_COMPARE_SGIX, 16#819A). +-define(GL_TEXTURE_COMPARE_OPERATOR_SGIX, 16#819B). +-define(GL_TEXTURE_LEQUAL_R_SGIX, 16#819C). +-define(GL_TEXTURE_GEQUAL_R_SGIX, 16#819D). -define(GL_CLAMP_TO_EDGE_SGIS, 16#812F). -define(GL_CLAMP_TO_BORDER_SGIS, 16#812D). -define(GL_FUNC_ADD_EXT, 16#8006). -define(GL_MIN_EXT, 16#8007). -define(GL_MAX_EXT, 16#8008). -define(GL_BLEND_EQUATION_EXT, 16#8009). +-define(GL_FUNC_SUBTRACT_EXT, 16#800A). +-define(GL_FUNC_REVERSE_SUBTRACT_EXT, 16#800B). -define(GL_INTERLACE_SGIX, 16#8094). -define(GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX, 16#813E). -define(GL_PIXEL_TILE_CACHE_INCREMENT_SGIX, 16#813F). @@ -1972,6 +2243,9 @@ -define(GL_MAX_DEFORMATION_ORDER_SGIX, 16#8197). -define(GL_REFERENCE_PLANE_SGIX, 16#817D). -define(GL_REFERENCE_PLANE_EQUATION_SGIX, 16#817E). +-define(GL_DEPTH_COMPONENT16_SGIX, 16#81A5). +-define(GL_DEPTH_COMPONENT24_SGIX, 16#81A6). +-define(GL_DEPTH_COMPONENT32_SGIX, 16#81A7). -define(GL_FOG_FUNC_SGIS, 16#812A). -define(GL_FOG_FUNC_POINTS_SGIS, 16#812B). -define(GL_MAX_FOG_FUNC_POINTS_SGIS, 16#812C). @@ -2149,6 +2423,7 @@ -define(GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT, 16#8336). -define(GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT, 16#8337). -define(GL_PIXEL_TRANSFORM_2D_MATRIX_EXT, 16#8338). +-define(GL_SHARED_TEXTURE_PALETTE_EXT, 16#81FB). -define(GL_LIGHT_MODEL_COLOR_CONTROL_EXT, 16#81F8). -define(GL_SINGLE_COLOR_EXT, 16#81F9). -define(GL_SEPARATE_SPECULAR_COLOR_EXT, 16#81FA). @@ -2921,9 +3196,9 @@ -define(GL_ACTIVE_STENCIL_FACE_EXT, 16#8911). -define(GL_TEXT_FRAGMENT_SHADER_ATI, 16#8200). -define(GL_UNPACK_CLIENT_STORAGE_APPLE, 16#85B2). --define(GL_ELEMENT_ARRAY_APPLE, 16#8768). --define(GL_ELEMENT_ARRAY_TYPE_APPLE, 16#8769). --define(GL_ELEMENT_ARRAY_POINTER_APPLE, 16#876A). +-define(GL_ELEMENT_ARRAY_APPLE, 16#8A0C). +-define(GL_ELEMENT_ARRAY_TYPE_APPLE, 16#8A0D). +-define(GL_ELEMENT_ARRAY_POINTER_APPLE, 16#8A0E). -define(GL_DRAW_PIXELS_APPLE, 16#8A0A). -define(GL_FENCE_APPLE, 16#8A0B). -define(GL_VERTEX_ARRAY_BINDING_APPLE, 16#85B5). @@ -2931,6 +3206,7 @@ -define(GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE, 16#851E). -define(GL_VERTEX_ARRAY_STORAGE_HINT_APPLE, 16#851F). -define(GL_VERTEX_ARRAY_RANGE_POINTER_APPLE, 16#8521). +-define(GL_STORAGE_CLIENT_APPLE, 16#85B4). -define(GL_STORAGE_CACHED_APPLE, 16#85BE). -define(GL_STORAGE_SHARED_APPLE, 16#85BF). -define(GL_YCBCR_422_APPLE, 16#85B9). @@ -3142,7 +3418,6 @@ -define(GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT, 16#8DA7). -define(GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT, 16#8DA8). -define(GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT, 16#8DA9). --define(GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT, 16#8CD4). -define(GL_PROGRAM_POINT_SIZE_EXT, 16#8642). -define(GL_GEOMETRY_SHADER_EXT, 16#8DD9). -define(GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT, 16#8DDD). @@ -3180,13 +3455,6 @@ -define(GL_R11F_G11F_B10F_EXT, 16#8C3A). -define(GL_UNSIGNED_INT_10F_11F_11F_REV_EXT, 16#8C3B). -define(GL_RGBA_SIGNED_COMPONENTS_EXT, 16#8C3C). --define(GL_TEXTURE_1D_ARRAY_EXT, 16#8C18). --define(GL_PROXY_TEXTURE_1D_ARRAY_EXT, 16#8C19). --define(GL_TEXTURE_2D_ARRAY_EXT, 16#8C1A). --define(GL_PROXY_TEXTURE_2D_ARRAY_EXT, 16#8C1B). --define(GL_TEXTURE_BINDING_1D_ARRAY_EXT, 16#8C1C). --define(GL_TEXTURE_BINDING_2D_ARRAY_EXT, 16#8C1D). --define(GL_MAX_ARRAY_TEXTURE_LAYERS_EXT, 16#88FF). -define(GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT, 16#884E). -define(GL_TEXTURE_BUFFER_EXT, 16#8C2A). -define(GL_MAX_TEXTURE_BUFFER_SIZE_EXT, 16#8C2B). @@ -3244,6 +3512,12 @@ -define(GL_SEPARATE_ATTRIBS_NV, 16#8C8D). -define(GL_TRANSFORM_FEEDBACK_BUFFER_NV, 16#8C8E). -define(GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_NV, 16#8C8F). +-define(GL_LAYER_NV, 16#8DAA). +-define(GL_NEXT_BUFFER_NV, -2). +-define(GL_SKIP_COMPONENTS4_NV, -3). +-define(GL_SKIP_COMPONENTS3_NV, -4). +-define(GL_SKIP_COMPONENTS2_NV, -5). +-define(GL_SKIP_COMPONENTS1_NV, -6). -define(GL_MAX_VERTEX_BINDABLE_UNIFORMS_EXT, 16#8DE2). -define(GL_MAX_FRAGMENT_BINDABLE_UNIFORMS_EXT, 16#8DE3). -define(GL_MAX_GEOMETRY_BINDABLE_UNIFORMS_EXT, 16#8DE4). @@ -3335,11 +3609,11 @@ -define(GL_SAMPLE_MASK_VALUE_NV, 16#8E52). -define(GL_TEXTURE_BINDING_RENDERBUFFER_NV, 16#8E53). -define(GL_TEXTURE_RENDERBUFFER_DATA_STORE_BINDING_NV, 16#8E54). --define(GL_MAX_SAMPLE_MASK_WORDS_NV, 16#8E59). -define(GL_TEXTURE_RENDERBUFFER_NV, 16#8E55). -define(GL_SAMPLER_RENDERBUFFER_NV, 16#8E56). -define(GL_INT_SAMPLER_RENDERBUFFER_NV, 16#8E57). -define(GL_UNSIGNED_INT_SAMPLER_RENDERBUFFER_NV, 16#8E58). +-define(GL_MAX_SAMPLE_MASK_WORDS_NV, 16#8E59). -define(GL_TRANSFORM_FEEDBACK_NV, 16#8E22). -define(GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED_NV, 16#8E23). -define(GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE_NV, 16#8E24). @@ -3365,322 +3639,246 @@ -define(GL_FIRST_VERTEX_CONVENTION_EXT, 16#8E4D). -define(GL_LAST_VERTEX_CONVENTION_EXT, 16#8E4E). -define(GL_PROVOKING_VERTEX_EXT, 16#8E4F). --define(GL_VERSION_1_2, 1). --define(GL_VERSION_1_2_DEPRECATED, 1). --define(GL_VERSION_1_3, 1). --define(GL_VERSION_1_3_DEPRECATED, 1). --define(GL_VERSION_1_4, 1). --define(GL_VERSION_1_4_DEPRECATED, 1). --define(GL_VERSION_1_5, 1). --define(GL_VERSION_2_0, 1). --define(GL_VERSION_2_1, 1). --define(GL_VERSION_3_0, 1). --define(GL_VERSION_3_0_DEPRECATED, 1). --define(GL_VERSION_3_1, 1). --define(GL_ARB_multitexture, 1). --define(GL_ARB_transpose_matrix, 1). --define(GL_ARB_multisample, 1). --define(GL_ARB_texture_env_add, 1). --define(GL_ARB_texture_cube_map, 1). --define(GL_ARB_texture_compression, 1). --define(GL_ARB_texture_border_clamp, 1). --define(GL_ARB_point_parameters, 1). --define(GL_ARB_vertex_blend, 1). --define(GL_ARB_matrix_palette, 1). --define(GL_ARB_texture_env_combine, 1). --define(GL_ARB_texture_env_crossbar, 1). --define(GL_ARB_texture_env_dot3, 1). --define(GL_ARB_texture_mirrored_repeat, 1). --define(GL_ARB_depth_texture, 1). --define(GL_ARB_shadow, 1). --define(GL_ARB_shadow_ambient, 1). --define(GL_ARB_window_pos, 1). --define(GL_ARB_vertex_program, 1). --define(GL_ARB_fragment_program, 1). --define(GL_ARB_vertex_buffer_object, 1). --define(GL_ARB_occlusion_query, 1). --define(GL_ARB_shader_objects, 1). --define(GL_ARB_vertex_shader, 1). --define(GL_ARB_fragment_shader, 1). --define(GL_ARB_shading_language_100, 1). --define(GL_ARB_texture_non_power_of_two, 1). --define(GL_ARB_point_sprite, 1). --define(GL_ARB_fragment_program_shadow, 1). --define(GL_ARB_draw_buffers, 1). --define(GL_ARB_texture_rectangle, 1). --define(GL_ARB_color_buffer_float, 1). --define(GL_ARB_half_float_pixel, 1). --define(GL_ARB_texture_float, 1). --define(GL_ARB_pixel_buffer_object, 1). --define(GL_ARB_depth_buffer_float, 1). --define(GL_ARB_draw_instanced, 1). --define(GL_ARB_framebuffer_object, 1). --define(GL_ARB_framebuffer_sRGB, 1). --define(GL_ARB_geometry_shader4, 1). --define(GL_ARB_half_float_vertex, 1). --define(GL_ARB_instanced_arrays, 1). --define(GL_ARB_map_buffer_range, 1). --define(GL_ARB_texture_buffer_object, 1). --define(GL_ARB_texture_compression_rgtc, 1). --define(GL_ARB_texture_rg, 1). --define(GL_ARB_vertex_array_object, 1). --define(GL_ARB_uniform_buffer_object, 1). --define(GL_ARB_compatibility, 1). --define(GL_ARB_copy_buffer, 1). --define(GL_ARB_shader_texture_lod, 1). --define(GL_EXT_abgr, 1). --define(GL_EXT_blend_color, 1). --define(GL_EXT_polygon_offset, 1). --define(GL_EXT_texture, 1). --define(GL_EXT_texture3D, 1). --define(GL_SGIS_texture_filter4, 1). --define(GL_EXT_subtexture, 1). --define(GL_EXT_copy_texture, 1). --define(GL_EXT_histogram, 1). --define(GL_EXT_convolution, 1). --define(GL_SGI_color_matrix, 1). --define(GL_SGI_color_table, 1). --define(GL_SGIX_pixel_texture, 1). --define(GL_SGIS_pixel_texture, 1). --define(GL_SGIS_texture4D, 1). --define(GL_SGI_texture_color_table, 1). --define(GL_EXT_cmyka, 1). --define(GL_EXT_texture_object, 1). --define(GL_SGIS_detail_texture, 1). --define(GL_SGIS_sharpen_texture, 1). --define(GL_EXT_packed_pixels, 1). --define(GL_SGIS_texture_lod, 1). --define(GL_SGIS_multisample, 1). --define(GL_EXT_rescale_normal, 1). --define(GL_EXT_vertex_array, 1). --define(GL_EXT_misc_attribute, 1). --define(GL_SGIS_generate_mipmap, 1). --define(GL_SGIX_clipmap, 1). --define(GL_SGIX_shadow, 1). --define(GL_SGIS_texture_edge_clamp, 1). --define(GL_SGIS_texture_border_clamp, 1). --define(GL_EXT_blend_minmax, 1). --define(GL_EXT_blend_subtract, 1). --define(GL_EXT_blend_logic_op, 1). --define(GL_SGIX_interlace, 1). --define(GL_SGIX_pixel_tiles, 1). --define(GL_SGIX_texture_select, 1). --define(GL_SGIX_sprite, 1). --define(GL_SGIX_texture_multi_buffer, 1). --define(GL_EXT_point_parameters, 1). --define(GL_SGIS_point_parameters, 1). --define(GL_SGIX_instruments, 1). --define(GL_SGIX_texture_scale_bias, 1). --define(GL_SGIX_framezoom, 1). --define(GL_SGIX_tag_sample_buffer, 1). --define(GL_SGIX_polynomial_ffd, 1). --define(GL_SGIX_reference_plane, 1). --define(GL_SGIX_flush_raster, 1). --define(GL_SGIX_depth_texture, 1). --define(GL_SGIS_fog_function, 1). --define(GL_SGIX_fog_offset, 1). --define(GL_HP_image_transform, 1). --define(GL_HP_convolution_border_modes, 1). --define(GL_SGIX_texture_add_env, 1). --define(GL_EXT_color_subtable, 1). --define(GL_PGI_vertex_hints, 1). --define(GL_PGI_misc_hints, 1). --define(GL_EXT_paletted_texture, 1). --define(GL_EXT_clip_volume_hint, 1). --define(GL_SGIX_list_priority, 1). --define(GL_SGIX_ir_instrument1, 1). --define(GL_SGIX_calligraphic_fragment, 1). --define(GL_SGIX_texture_lod_bias, 1). --define(GL_SGIX_shadow_ambient, 1). --define(GL_EXT_index_texture, 1). --define(GL_EXT_index_material, 1). --define(GL_EXT_index_func, 1). --define(GL_EXT_index_array_formats, 1). --define(GL_EXT_compiled_vertex_array, 1). --define(GL_EXT_cull_vertex, 1). --define(GL_SGIX_ycrcb, 1). --define(GL_SGIX_fragment_lighting, 1). --define(GL_IBM_rasterpos_clip, 1). --define(GL_HP_texture_lighting, 1). --define(GL_EXT_draw_range_elements, 1). --define(GL_WIN_phong_shading, 1). --define(GL_WIN_specular_fog, 1). --define(GL_EXT_light_texture, 1). --define(GL_SGIX_blend_alpha_minmax, 1). --define(GL_EXT_bgra, 1). --define(GL_SGIX_async, 1). --define(GL_SGIX_async_pixel, 1). --define(GL_SGIX_async_histogram, 1). --define(GL_INTEL_parallel_arrays, 1). --define(GL_HP_occlusion_test, 1). --define(GL_EXT_pixel_transform, 1). --define(GL_EXT_pixel_transform_color_table, 1). --define(GL_EXT_shared_texture_palette, 1). --define(GL_EXT_separate_specular_color, 1). --define(GL_EXT_secondary_color, 1). --define(GL_EXT_texture_perturb_normal, 1). --define(GL_EXT_multi_draw_arrays, 1). --define(GL_EXT_fog_coord, 1). --define(GL_REND_screen_coordinates, 1). --define(GL_EXT_coordinate_frame, 1). --define(GL_EXT_texture_env_combine, 1). --define(GL_APPLE_specular_vector, 1). --define(GL_APPLE_transform_hint, 1). --define(GL_SGIX_fog_scale, 1). --define(GL_SUNX_constant_data, 1). --define(GL_SUN_global_alpha, 1). --define(GL_SUN_triangle_list, 1). --define(GL_SUN_vertex, 1). --define(GL_EXT_blend_func_separate, 1). --define(GL_INGR_blend_func_separate, 1). --define(GL_INGR_color_clamp, 1). --define(GL_INGR_interlace_read, 1). --define(GL_EXT_stencil_wrap, 1). --define(GL_EXT_422_pixels, 1). --define(GL_NV_texgen_reflection, 1). --define(GL_SUN_convolution_border_modes, 1). --define(GL_EXT_texture_env_add, 1). --define(GL_EXT_texture_lod_bias, 1). --define(GL_EXT_texture_filter_anisotropic, 1). --define(GL_EXT_vertex_weighting, 1). --define(GL_NV_light_max_exponent, 1). --define(GL_NV_vertex_array_range, 1). --define(GL_NV_register_combiners, 1). --define(GL_NV_fog_distance, 1). --define(GL_NV_texgen_emboss, 1). --define(GL_NV_blend_square, 1). --define(GL_NV_texture_env_combine4, 1). --define(GL_MESA_resize_buffers, 1). --define(GL_MESA_window_pos, 1). --define(GL_IBM_cull_vertex, 1). --define(GL_IBM_multimode_draw_arrays, 1). --define(GL_IBM_vertex_array_lists, 1). --define(GL_SGIX_subsample, 1). --define(GL_SGIX_ycrcba, 1). --define(GL_SGIX_ycrcb_subsample, 1). --define(GL_SGIX_depth_pass_instrument, 1). --define(GL_3DFX_texture_compression_FXT1, 1). --define(GL_3DFX_multisample, 1). --define(GL_3DFX_tbuffer, 1). --define(GL_EXT_multisample, 1). --define(GL_SGIX_vertex_preclip, 1). --define(GL_SGIX_convolution_accuracy, 1). --define(GL_SGIX_resample, 1). --define(GL_SGIS_point_line_texgen, 1). --define(GL_SGIS_texture_color_mask, 1). --define(GL_SGIX_igloo_interface, 1). --define(GL_EXT_texture_env_dot3, 1). --define(GL_ATI_texture_mirror_once, 1). --define(GL_NV_fence, 1). --define(GL_NV_evaluators, 1). --define(GL_NV_packed_depth_stencil, 1). --define(GL_NV_register_combiners2, 1). --define(GL_NV_texture_compression_vtc, 1). --define(GL_NV_texture_rectangle, 1). --define(GL_NV_texture_shader, 1). --define(GL_NV_texture_shader2, 1). --define(GL_NV_vertex_array_range2, 1). --define(GL_NV_vertex_program, 1). --define(GL_SGIX_texture_coordinate_clamp, 1). --define(GL_SGIX_scalebias_hint, 1). --define(GL_OML_interlace, 1). --define(GL_OML_subsample, 1). --define(GL_OML_resample, 1). --define(GL_NV_copy_depth_to_color, 1). --define(GL_ATI_envmap_bumpmap, 1). --define(GL_ATI_fragment_shader, 1). --define(GL_ATI_pn_triangles, 1). --define(GL_ATI_vertex_array_object, 1). --define(GL_EXT_vertex_shader, 1). --define(GL_ATI_vertex_streams, 1). --define(GL_ATI_element_array, 1). --define(GL_SUN_mesh_array, 1). --define(GL_SUN_slice_accum, 1). --define(GL_NV_multisample_filter_hint, 1). --define(GL_NV_depth_clamp, 1). --define(GL_NV_occlusion_query, 1). --define(GL_NV_point_sprite, 1). --define(GL_NV_texture_shader3, 1). --define(GL_NV_vertex_program1_1, 1). --define(GL_EXT_shadow_funcs, 1). --define(GL_EXT_stencil_two_side, 1). --define(GL_ATI_text_fragment_shader, 1). --define(GL_APPLE_client_storage, 1). --define(GL_APPLE_element_array, 1). --define(GL_APPLE_fence, 1). --define(GL_APPLE_vertex_array_object, 1). --define(GL_APPLE_vertex_array_range, 1). --define(GL_APPLE_ycbcr_422, 1). --define(GL_S3_s3tc, 1). --define(GL_ATI_draw_buffers, 1). --define(GL_ATI_pixel_format_float, 1). --define(GL_ATI_texture_env_combine3, 1). --define(GL_ATI_texture_float, 1). --define(GL_NV_float_buffer, 1). --define(GL_NV_fragment_program, 1). --define(GL_NV_half_float, 1). --define(GL_NV_pixel_data_range, 1). --define(GL_NV_primitive_restart, 1). --define(GL_NV_texture_expand_normal, 1). --define(GL_NV_vertex_program2, 1). --define(GL_ATI_map_object_buffer, 1). --define(GL_ATI_separate_stencil, 1). --define(GL_ATI_vertex_attrib_array_object, 1). --define(GL_OES_read_format, 1). --define(GL_EXT_depth_bounds_test, 1). --define(GL_EXT_texture_mirror_clamp, 1). --define(GL_EXT_blend_equation_separate, 1). --define(GL_MESA_pack_invert, 1). --define(GL_MESA_ycbcr_texture, 1). --define(GL_EXT_pixel_buffer_object, 1). --define(GL_NV_fragment_program_option, 1). --define(GL_NV_fragment_program2, 1). --define(GL_NV_vertex_program2_option, 1). --define(GL_NV_vertex_program3, 1). --define(GL_EXT_framebuffer_object, 1). --define(GL_GREMEDY_string_marker, 1). --define(GL_EXT_packed_depth_stencil, 1). --define(GL_EXT_stencil_clear_tag, 1). --define(GL_EXT_texture_sRGB, 1). --define(GL_EXT_framebuffer_blit, 1). --define(GL_EXT_framebuffer_multisample, 1). --define(GL_MESAX_texture_stack, 1). --define(GL_EXT_timer_query, 1). --define(GL_EXT_gpu_program_parameters, 1). --define(GL_APPLE_flush_buffer_range, 1). --define(GL_NV_gpu_program4, 1). --define(GL_NV_geometry_program4, 1). --define(GL_EXT_geometry_shader4, 1). --define(GL_NV_vertex_program4, 1). --define(GL_EXT_gpu_shader4, 1). --define(GL_EXT_draw_instanced, 1). --define(GL_EXT_packed_float, 1). --define(GL_EXT_texture_array, 1). --define(GL_EXT_texture_buffer_object, 1). --define(GL_EXT_texture_compression_latc, 1). --define(GL_EXT_texture_compression_rgtc, 1). --define(GL_EXT_texture_shared_exponent, 1). --define(GL_NV_depth_buffer_float, 1). --define(GL_NV_fragment_program4, 1). --define(GL_NV_framebuffer_multisample_coverage, 1). --define(GL_EXT_framebuffer_sRGB, 1). --define(GL_NV_geometry_shader4, 1). --define(GL_NV_parameter_buffer_object, 1). --define(GL_EXT_draw_buffers2, 1). --define(GL_NV_transform_feedback, 1). --define(GL_EXT_bindable_uniform, 1). --define(GL_EXT_texture_integer, 1). --define(GL_GREMEDY_frame_terminator, 1). --define(GL_NV_conditional_render, 1). --define(GL_NV_present_video, 1). --define(GL_EXT_transform_feedback, 1). --define(GL_EXT_direct_state_access, 1). --define(GL_EXT_vertex_array_bgra, 1). --define(GL_EXT_texture_swizzle, 1). --define(GL_NV_explicit_multisample, 1). --define(GL_NV_transform_feedback2, 1). --define(GL_ATI_meminfo, 1). --define(GL_AMD_performance_monitor, 1). --define(GL_AMD_texture_texture4, 1). --define(GL_AMD_vertex_shader_tesselator, 1). --define(GL_EXT_provoking_vertex, 1). +-define(GL_ALPHA_SNORM, 16#9010). +-define(GL_LUMINANCE_SNORM, 16#9011). +-define(GL_LUMINANCE_ALPHA_SNORM, 16#9012). +-define(GL_INTENSITY_SNORM, 16#9013). +-define(GL_ALPHA8_SNORM, 16#9014). +-define(GL_LUMINANCE8_SNORM, 16#9015). +-define(GL_LUMINANCE8_ALPHA8_SNORM, 16#9016). +-define(GL_INTENSITY8_SNORM, 16#9017). +-define(GL_ALPHA16_SNORM, 16#9018). +-define(GL_LUMINANCE16_SNORM, 16#9019). +-define(GL_LUMINANCE16_ALPHA16_SNORM, 16#901A). +-define(GL_INTENSITY16_SNORM, 16#901B). +-define(GL_TEXTURE_RANGE_LENGTH_APPLE, 16#85B7). +-define(GL_TEXTURE_RANGE_POINTER_APPLE, 16#85B8). +-define(GL_TEXTURE_STORAGE_HINT_APPLE, 16#85BC). +-define(GL_STORAGE_PRIVATE_APPLE, 16#85BD). +-define(GL_HALF_APPLE, 16#140B). +-define(GL_RGBA_FLOAT32_APPLE, 16#8814). +-define(GL_RGB_FLOAT32_APPLE, 16#8815). +-define(GL_ALPHA_FLOAT32_APPLE, 16#8816). +-define(GL_INTENSITY_FLOAT32_APPLE, 16#8817). +-define(GL_LUMINANCE_FLOAT32_APPLE, 16#8818). +-define(GL_LUMINANCE_ALPHA_FLOAT32_APPLE, 16#8819). +-define(GL_RGBA_FLOAT16_APPLE, 16#881A). +-define(GL_RGB_FLOAT16_APPLE, 16#881B). +-define(GL_ALPHA_FLOAT16_APPLE, 16#881C). +-define(GL_INTENSITY_FLOAT16_APPLE, 16#881D). +-define(GL_LUMINANCE_FLOAT16_APPLE, 16#881E). +-define(GL_LUMINANCE_ALPHA_FLOAT16_APPLE, 16#881F). +-define(GL_COLOR_FLOAT_APPLE, 16#8A0F). +-define(GL_VERTEX_ATTRIB_MAP1_APPLE, 16#8A00). +-define(GL_VERTEX_ATTRIB_MAP2_APPLE, 16#8A01). +-define(GL_VERTEX_ATTRIB_MAP1_SIZE_APPLE, 16#8A02). +-define(GL_VERTEX_ATTRIB_MAP1_COEFF_APPLE, 16#8A03). +-define(GL_VERTEX_ATTRIB_MAP1_ORDER_APPLE, 16#8A04). +-define(GL_VERTEX_ATTRIB_MAP1_DOMAIN_APPLE, 16#8A05). +-define(GL_VERTEX_ATTRIB_MAP2_SIZE_APPLE, 16#8A06). +-define(GL_VERTEX_ATTRIB_MAP2_COEFF_APPLE, 16#8A07). +-define(GL_VERTEX_ATTRIB_MAP2_ORDER_APPLE, 16#8A08). +-define(GL_VERTEX_ATTRIB_MAP2_DOMAIN_APPLE, 16#8A09). +-define(GL_AUX_DEPTH_STENCIL_APPLE, 16#8A14). +-define(GL_BUFFER_OBJECT_APPLE, 16#85B3). +-define(GL_RELEASED_APPLE, 16#8A19). +-define(GL_VOLATILE_APPLE, 16#8A1A). +-define(GL_RETAINED_APPLE, 16#8A1B). +-define(GL_UNDEFINED_APPLE, 16#8A1C). +-define(GL_PURGEABLE_APPLE, 16#8A1D). +-define(GL_PACK_ROW_BYTES_APPLE, 16#8A15). +-define(GL_UNPACK_ROW_BYTES_APPLE, 16#8A16). +-define(GL_RGB_422_APPLE, 16#8A1F). +-define(GL_VIDEO_BUFFER_NV, 16#9020). +-define(GL_VIDEO_BUFFER_BINDING_NV, 16#9021). +-define(GL_FIELD_UPPER_NV, 16#9022). +-define(GL_FIELD_LOWER_NV, 16#9023). +-define(GL_NUM_VIDEO_CAPTURE_STREAMS_NV, 16#9024). +-define(GL_NEXT_VIDEO_CAPTURE_BUFFER_STATUS_NV, 16#9025). +-define(GL_VIDEO_CAPTURE_TO_422_SUPPORTED_NV, 16#9026). +-define(GL_LAST_VIDEO_CAPTURE_STATUS_NV, 16#9027). +-define(GL_VIDEO_BUFFER_PITCH_NV, 16#9028). +-define(GL_VIDEO_COLOR_CONVERSION_MATRIX_NV, 16#9029). +-define(GL_VIDEO_COLOR_CONVERSION_MAX_NV, 16#902A). +-define(GL_VIDEO_COLOR_CONVERSION_MIN_NV, 16#902B). +-define(GL_VIDEO_COLOR_CONVERSION_OFFSET_NV, 16#902C). +-define(GL_VIDEO_BUFFER_INTERNAL_FORMAT_NV, 16#902D). +-define(GL_PARTIAL_SUCCESS_NV, 16#902E). +-define(GL_SUCCESS_NV, 16#902F). +-define(GL_FAILURE_NV, 16#9030). +-define(GL_YCBYCR8_422_NV, 16#9031). +-define(GL_YCBAYCR8A_4224_NV, 16#9032). +-define(GL_Z6Y10Z6CB10Z6Y10Z6CR10_422_NV, 16#9033). +-define(GL_Z6Y10Z6CB10Z6A10Z6Y10Z6CR10Z6A10_4224_NV, 16#9034). +-define(GL_Z4Y12Z4CB12Z4Y12Z4CR12_422_NV, 16#9035). +-define(GL_Z4Y12Z4CB12Z4A12Z4Y12Z4CR12Z4A12_4224_NV, 16#9036). +-define(GL_Z4Y12Z4CB12Z4CR12_444_NV, 16#9037). +-define(GL_VIDEO_CAPTURE_FRAME_WIDTH_NV, 16#9038). +-define(GL_VIDEO_CAPTURE_FRAME_HEIGHT_NV, 16#9039). +-define(GL_VIDEO_CAPTURE_FIELD_UPPER_HEIGHT_NV, 16#903A). +-define(GL_VIDEO_CAPTURE_FIELD_LOWER_HEIGHT_NV, 16#903B). +-define(GL_VIDEO_CAPTURE_SURFACE_ORIGIN_NV, 16#903C). +-define(GL_ACTIVE_PROGRAM_EXT, 16#8B8D). +-define(GL_BUFFER_GPU_ADDRESS_NV, 16#8F1D). +-define(GL_GPU_ADDRESS_NV, 16#8F34). +-define(GL_MAX_SHADER_BUFFER_ADDRESS_NV, 16#8F35). +-define(GL_VERTEX_ATTRIB_ARRAY_UNIFIED_NV, 16#8F1E). +-define(GL_ELEMENT_ARRAY_UNIFIED_NV, 16#8F1F). +-define(GL_VERTEX_ATTRIB_ARRAY_ADDRESS_NV, 16#8F20). +-define(GL_VERTEX_ARRAY_ADDRESS_NV, 16#8F21). +-define(GL_NORMAL_ARRAY_ADDRESS_NV, 16#8F22). +-define(GL_COLOR_ARRAY_ADDRESS_NV, 16#8F23). +-define(GL_INDEX_ARRAY_ADDRESS_NV, 16#8F24). +-define(GL_TEXTURE_COORD_ARRAY_ADDRESS_NV, 16#8F25). +-define(GL_EDGE_FLAG_ARRAY_ADDRESS_NV, 16#8F26). +-define(GL_SECONDARY_COLOR_ARRAY_ADDRESS_NV, 16#8F27). +-define(GL_FOG_COORD_ARRAY_ADDRESS_NV, 16#8F28). +-define(GL_ELEMENT_ARRAY_ADDRESS_NV, 16#8F29). +-define(GL_VERTEX_ATTRIB_ARRAY_LENGTH_NV, 16#8F2A). +-define(GL_VERTEX_ARRAY_LENGTH_NV, 16#8F2B). +-define(GL_NORMAL_ARRAY_LENGTH_NV, 16#8F2C). +-define(GL_COLOR_ARRAY_LENGTH_NV, 16#8F2D). +-define(GL_INDEX_ARRAY_LENGTH_NV, 16#8F2E). +-define(GL_TEXTURE_COORD_ARRAY_LENGTH_NV, 16#8F2F). +-define(GL_EDGE_FLAG_ARRAY_LENGTH_NV, 16#8F30). +-define(GL_SECONDARY_COLOR_ARRAY_LENGTH_NV, 16#8F31). +-define(GL_FOG_COORD_ARRAY_LENGTH_NV, 16#8F32). +-define(GL_ELEMENT_ARRAY_LENGTH_NV, 16#8F33). +-define(GL_DRAW_INDIRECT_UNIFIED_NV, 16#8F40). +-define(GL_DRAW_INDIRECT_ADDRESS_NV, 16#8F41). +-define(GL_DRAW_INDIRECT_LENGTH_NV, 16#8F42). +-define(GL_MAX_IMAGE_UNITS_EXT, 16#8F38). +-define(GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS_EXT, 16#8F39). +-define(GL_IMAGE_BINDING_NAME_EXT, 16#8F3A). +-define(GL_IMAGE_BINDING_LEVEL_EXT, 16#8F3B). +-define(GL_IMAGE_BINDING_LAYERED_EXT, 16#8F3C). +-define(GL_IMAGE_BINDING_LAYER_EXT, 16#8F3D). +-define(GL_IMAGE_BINDING_ACCESS_EXT, 16#8F3E). +-define(GL_IMAGE_1D_EXT, 16#904C). +-define(GL_IMAGE_2D_EXT, 16#904D). +-define(GL_IMAGE_3D_EXT, 16#904E). +-define(GL_IMAGE_2D_RECT_EXT, 16#904F). +-define(GL_IMAGE_CUBE_EXT, 16#9050). +-define(GL_IMAGE_BUFFER_EXT, 16#9051). +-define(GL_IMAGE_1D_ARRAY_EXT, 16#9052). +-define(GL_IMAGE_2D_ARRAY_EXT, 16#9053). +-define(GL_IMAGE_CUBE_MAP_ARRAY_EXT, 16#9054). +-define(GL_IMAGE_2D_MULTISAMPLE_EXT, 16#9055). +-define(GL_IMAGE_2D_MULTISAMPLE_ARRAY_EXT, 16#9056). +-define(GL_INT_IMAGE_1D_EXT, 16#9057). +-define(GL_INT_IMAGE_2D_EXT, 16#9058). +-define(GL_INT_IMAGE_3D_EXT, 16#9059). +-define(GL_INT_IMAGE_2D_RECT_EXT, 16#905A). +-define(GL_INT_IMAGE_CUBE_EXT, 16#905B). +-define(GL_INT_IMAGE_BUFFER_EXT, 16#905C). +-define(GL_INT_IMAGE_1D_ARRAY_EXT, 16#905D). +-define(GL_INT_IMAGE_2D_ARRAY_EXT, 16#905E). +-define(GL_INT_IMAGE_CUBE_MAP_ARRAY_EXT, 16#905F). +-define(GL_INT_IMAGE_2D_MULTISAMPLE_EXT, 16#9060). +-define(GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT, 16#9061). +-define(GL_UNSIGNED_INT_IMAGE_1D_EXT, 16#9062). +-define(GL_UNSIGNED_INT_IMAGE_2D_EXT, 16#9063). +-define(GL_UNSIGNED_INT_IMAGE_3D_EXT, 16#9064). +-define(GL_UNSIGNED_INT_IMAGE_2D_RECT_EXT, 16#9065). +-define(GL_UNSIGNED_INT_IMAGE_CUBE_EXT, 16#9066). +-define(GL_UNSIGNED_INT_IMAGE_BUFFER_EXT, 16#9067). +-define(GL_UNSIGNED_INT_IMAGE_1D_ARRAY_EXT, 16#9068). +-define(GL_UNSIGNED_INT_IMAGE_2D_ARRAY_EXT, 16#9069). +-define(GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_EXT, 16#906A). +-define(GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_EXT, 16#906B). +-define(GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT, 16#906C). +-define(GL_MAX_IMAGE_SAMPLES_EXT, 16#906D). +-define(GL_IMAGE_BINDING_FORMAT_EXT, 16#906E). +-define(GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT_EXT, 16#1). +-define(GL_ELEMENT_ARRAY_BARRIER_BIT_EXT, 16#2). +-define(GL_UNIFORM_BARRIER_BIT_EXT, 16#4). +-define(GL_TEXTURE_FETCH_BARRIER_BIT_EXT, 16#8). +-define(GL_SHADER_IMAGE_ACCESS_BARRIER_BIT_EXT, 16#20). +-define(GL_COMMAND_BARRIER_BIT_EXT, 16#40). +-define(GL_PIXEL_BUFFER_BARRIER_BIT_EXT, 16#80). +-define(GL_TEXTURE_UPDATE_BARRIER_BIT_EXT, 16#100). +-define(GL_BUFFER_UPDATE_BARRIER_BIT_EXT, 16#200). +-define(GL_FRAMEBUFFER_BARRIER_BIT_EXT, 16#400). +-define(GL_TRANSFORM_FEEDBACK_BARRIER_BIT_EXT, 16#800). +-define(GL_ATOMIC_COUNTER_BARRIER_BIT_EXT, 16#1000). +-define(GL_ALL_BARRIER_BITS_EXT, 16#FFFFFFFF). +-define(GL_DOUBLE_VEC2_EXT, 16#8FFC). +-define(GL_DOUBLE_VEC3_EXT, 16#8FFD). +-define(GL_DOUBLE_VEC4_EXT, 16#8FFE). +-define(GL_DOUBLE_MAT2_EXT, 16#8F46). +-define(GL_DOUBLE_MAT3_EXT, 16#8F47). +-define(GL_DOUBLE_MAT4_EXT, 16#8F48). +-define(GL_DOUBLE_MAT2x3_EXT, 16#8F49). +-define(GL_DOUBLE_MAT2x4_EXT, 16#8F4A). +-define(GL_DOUBLE_MAT3x2_EXT, 16#8F4B). +-define(GL_DOUBLE_MAT3x4_EXT, 16#8F4C). +-define(GL_DOUBLE_MAT4x2_EXT, 16#8F4D). +-define(GL_DOUBLE_MAT4x3_EXT, 16#8F4E). +-define(GL_MAX_GEOMETRY_PROGRAM_INVOCATIONS_NV, 16#8E5A). +-define(GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_NV, 16#8E5B). +-define(GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_NV, 16#8E5C). +-define(GL_FRAGMENT_PROGRAM_INTERPOLATION_OFFSET_BITS_NV, 16#8E5D). +-define(GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_NV, 16#8E5E). +-define(GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_NV, 16#8E5F). +-define(GL_MAX_PROGRAM_SUBROUTINE_PARAMETERS_NV, 16#8F44). +-define(GL_MAX_PROGRAM_SUBROUTINE_NUM_NV, 16#8F45). +-define(GL_INT64_NV, 16#140E). +-define(GL_UNSIGNED_INT64_NV, 16#140F). +-define(GL_INT8_NV, 16#8FE0). +-define(GL_INT8_VEC2_NV, 16#8FE1). +-define(GL_INT8_VEC3_NV, 16#8FE2). +-define(GL_INT8_VEC4_NV, 16#8FE3). +-define(GL_INT16_NV, 16#8FE4). +-define(GL_INT16_VEC2_NV, 16#8FE5). +-define(GL_INT16_VEC3_NV, 16#8FE6). +-define(GL_INT16_VEC4_NV, 16#8FE7). +-define(GL_INT64_VEC2_NV, 16#8FE9). +-define(GL_INT64_VEC3_NV, 16#8FEA). +-define(GL_INT64_VEC4_NV, 16#8FEB). +-define(GL_UNSIGNED_INT8_NV, 16#8FEC). +-define(GL_UNSIGNED_INT8_VEC2_NV, 16#8FED). +-define(GL_UNSIGNED_INT8_VEC3_NV, 16#8FEE). +-define(GL_UNSIGNED_INT8_VEC4_NV, 16#8FEF). +-define(GL_UNSIGNED_INT16_NV, 16#8FF0). +-define(GL_UNSIGNED_INT16_VEC2_NV, 16#8FF1). +-define(GL_UNSIGNED_INT16_VEC3_NV, 16#8FF2). +-define(GL_UNSIGNED_INT16_VEC4_NV, 16#8FF3). +-define(GL_UNSIGNED_INT64_VEC2_NV, 16#8FF5). +-define(GL_UNSIGNED_INT64_VEC3_NV, 16#8FF6). +-define(GL_UNSIGNED_INT64_VEC4_NV, 16#8FF7). +-define(GL_FLOAT16_NV, 16#8FF8). +-define(GL_FLOAT16_VEC2_NV, 16#8FF9). +-define(GL_FLOAT16_VEC3_NV, 16#8FFA). +-define(GL_FLOAT16_VEC4_NV, 16#8FFB). +-define(GL_SHADER_GLOBAL_ACCESS_BARRIER_BIT_NV, 16#10). +-define(GL_MAX_PROGRAM_PATCH_ATTRIBS_NV, 16#86D8). +-define(GL_TESS_CONTROL_PROGRAM_NV, 16#891E). +-define(GL_TESS_EVALUATION_PROGRAM_NV, 16#891F). +-define(GL_TESS_CONTROL_PROGRAM_PARAMETER_BUFFER_NV, 16#8C74). +-define(GL_TESS_EVALUATION_PROGRAM_PARAMETER_BUFFER_NV, 16#8C75). +-define(GL_COVERAGE_SAMPLES_NV, 16#80A9). +-define(GL_COLOR_SAMPLES_NV, 16#8E20). +-define(GL_DATA_BUFFER_AMD, 16#9151). +-define(GL_PERFORMANCE_MONITOR_AMD, 16#9152). +-define(GL_QUERY_OBJECT_AMD, 16#9153). +-define(GL_VERTEX_ARRAY_OBJECT_AMD, 16#9154). +-define(GL_SAMPLER_OBJECT_AMD, 16#9155). +-define(GL_MAX_DEBUG_LOGGED_MESSAGES_AMD, 16#9144). +-define(GL_DEBUG_LOGGED_MESSAGES_AMD, 16#9145). +-define(GL_DEBUG_SEVERITY_HIGH_AMD, 16#9146). +-define(GL_DEBUG_SEVERITY_MEDIUM_AMD, 16#9147). +-define(GL_DEBUG_SEVERITY_LOW_AMD, 16#9148). +-define(GL_DEBUG_CATEGORY_API_ERROR_AMD, 16#9149). +-define(GL_DEBUG_CATEGORY_WINDOW_SYSTEM_AMD, 16#914A). +-define(GL_DEBUG_CATEGORY_DEPRECATION_AMD, 16#914B). +-define(GL_DEBUG_CATEGORY_UNDEFINED_BEHAVIOR_AMD, 16#914C). +-define(GL_DEBUG_CATEGORY_PERFORMANCE_AMD, 16#914D). +-define(GL_DEBUG_CATEGORY_SHADER_COMPILER_AMD, 16#914E). +-define(GL_DEBUG_CATEGORY_APPLICATION_AMD, 16#914F). +-define(GL_DEBUG_CATEGORY_OTHER_AMD, 16#9150). +-define(GL_SURFACE_STATE_NV, 16#86EB). +-define(GL_SURFACE_REGISTERED_NV, 16#86FD). +-define(GL_SURFACE_MAPPED_NV, 16#8700). +-define(GL_WRITE_DISCARD_NV, 16#88BE). +-define(GL_DEPTH_CLAMP_NEAR_AMD, 16#901E). +-define(GL_DEPTH_CLAMP_FAR_AMD, 16#901F). diff --git a/lib/wx/include/wx.hrl b/lib/wx/include/wx.hrl index 6fef625b14..8659b71985 100644 --- a/lib/wx/include/wx.hrl +++ b/lib/wx/include/wx.hrl @@ -325,16 +325,339 @@ -define(wxWHITE_PEN, wxe_util:get_const(wxWHITE_PEN)). %% Enum and defines -% From define::From bookctrl.h --define(wxEVT_COMMAND_BOOKCTRL_PAGE_CHANGING, ?wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING). --define(wxEVT_COMMAND_BOOKCTRL_PAGE_CHANGED, ?wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED). +% From class wxAuiManager +-define(wxAuiManager_actionNone, 0). +-define(wxAuiManager_actionResize, 1). +-define(wxAuiManager_actionClickButton, 2). +-define(wxAuiManager_actionClickCaption, 3). +-define(wxAuiManager_actionDragToolbarPane, 4). +-define(wxAuiManager_actionDragFloatingPane, 5). +% From class wxAuiPaneInfo::wxAuiPaneState +-define(wxAuiPaneInfo_optionFloating, 1). +-define(wxAuiPaneInfo_optionHidden, 2). +-define(wxAuiPaneInfo_optionLeftDockable, 4). +-define(wxAuiPaneInfo_optionRightDockable, 8). +-define(wxAuiPaneInfo_optionTopDockable, 16). +-define(wxAuiPaneInfo_optionBottomDockable, 32). +-define(wxAuiPaneInfo_optionFloatable, 64). +-define(wxAuiPaneInfo_optionMovable, 128). +-define(wxAuiPaneInfo_optionResizable, 256). +-define(wxAuiPaneInfo_optionPaneBorder, 512). +-define(wxAuiPaneInfo_optionCaption, 1024). +-define(wxAuiPaneInfo_optionGripper, 2048). +-define(wxAuiPaneInfo_optionDestroyOnClose, 4096). +-define(wxAuiPaneInfo_optionToolbar, 8192). +-define(wxAuiPaneInfo_optionActive, 16384). +-define(wxAuiPaneInfo_optionGripperTop, 32768). +-define(wxAuiPaneInfo_optionMaximized, 65536). +-define(wxAuiPaneInfo_optionDockFixed, 131072). +-define(wxAuiPaneInfo_buttonClose, 2097152). +-define(wxAuiPaneInfo_buttonMaximize, 4194304). +-define(wxAuiPaneInfo_buttonMinimize, 8388608). +-define(wxAuiPaneInfo_buttonPin, 16777216). +-define(wxAuiPaneInfo_buttonCustom1, 67108864). +-define(wxAuiPaneInfo_buttonCustom2, 134217728). +-define(wxAuiPaneInfo_buttonCustom3, 268435456). +-define(wxAuiPaneInfo_savedHiddenState, 1073741824). +-define(wxAuiPaneInfo_actionPane, 2147483648). +% From class wxBitmap::Representation +-define(wxBitmap_Pixmap, 0). +-define(wxBitmap_Pixbuf, 1). +% From class wxChoicebook +-define(wxChoicebook_SetSelection_SendEvent, 1). +% From class wxDateTime::Calendar +-define(wxDateTime_Gregorian, 0). +-define(wxDateTime_Julian, 1). +% From class wxDateTime::Country +-define(wxDateTime_Country_Unknown, 0). +-define(wxDateTime_Country_Default, 1). +-define(wxDateTime_Country_WesternEurope_Start, 2). +-define(wxDateTime_Country_EEC, ?Country_WesternEurope_Start). +-define(wxDateTime_France, (?Country_WesternEurope_Start+1)). +-define(wxDateTime_Germany, (?Country_WesternEurope_Start+2)). +-define(wxDateTime_UK, (?Country_WesternEurope_Start+3)). +-define(wxDateTime_Country_WesternEurope_End, ?UK). +-define(wxDateTime_Russia, (?UK+1)). +-define(wxDateTime_USA, (?UK+2)). +% From class wxDateTime::GregorianAdoption +-define(wxDateTime_Gr_Unknown, 0). +-define(wxDateTime_Gr_Standard, 1). +-define(wxDateTime_Gr_Alaska, 2). +-define(wxDateTime_Gr_Albania, 3). +-define(wxDateTime_Gr_Austria, ?Gr_Unknown). +-define(wxDateTime_Gr_Austria_Brixen, (?Gr_Unknown+1)). +-define(wxDateTime_Gr_Austria_Salzburg, ?Gr_Austria_Brixen). +-define(wxDateTime_Gr_Austria_Tyrol, ?Gr_Austria_Brixen). +-define(wxDateTime_Gr_Austria_Carinthia, (?Gr_Austria_Brixen+1)). +-define(wxDateTime_Gr_Austria_Styria, ?Gr_Austria_Carinthia). +-define(wxDateTime_Gr_Belgium, (?Gr_Austria_Carinthia+1)). +-define(wxDateTime_Gr_Bulgaria, ?Gr_Unknown). +-define(wxDateTime_Gr_Bulgaria_1, (?Gr_Unknown+1)). +-define(wxDateTime_Gr_Bulgaria_2, (?Gr_Unknown+2)). +-define(wxDateTime_Gr_Bulgaria_3, (?Gr_Unknown+3)). +-define(wxDateTime_Gr_Canada, ?Gr_Unknown). +-define(wxDateTime_Gr_China, ?Gr_Unknown). +-define(wxDateTime_Gr_China_1, (?Gr_Unknown+1)). +-define(wxDateTime_Gr_China_2, (?Gr_Unknown+2)). +-define(wxDateTime_Gr_Czechoslovakia, (?Gr_Unknown+3)). +-define(wxDateTime_Gr_Denmark, (?Gr_Unknown+4)). +-define(wxDateTime_Gr_Egypt, (?Gr_Unknown+5)). +-define(wxDateTime_Gr_Estonia, (?Gr_Unknown+6)). +-define(wxDateTime_Gr_Finland, (?Gr_Unknown+7)). +-define(wxDateTime_Gr_France, (?Gr_Unknown+8)). +-define(wxDateTime_Gr_France_Alsace, (?Gr_Unknown+9)). +-define(wxDateTime_Gr_France_Lorraine, (?Gr_Unknown+10)). +-define(wxDateTime_Gr_France_Strasbourg, (?Gr_Unknown+11)). +-define(wxDateTime_Gr_Germany, ?Gr_Unknown). +-define(wxDateTime_Gr_Germany_Catholic, (?Gr_Unknown+1)). +-define(wxDateTime_Gr_Germany_Prussia, (?Gr_Unknown+2)). +-define(wxDateTime_Gr_Germany_Protestant, (?Gr_Unknown+3)). +-define(wxDateTime_Gr_GreatBritain, (?Gr_Unknown+4)). +-define(wxDateTime_Gr_Greece, (?Gr_Unknown+5)). +-define(wxDateTime_Gr_Hungary, (?Gr_Unknown+6)). +-define(wxDateTime_Gr_Ireland, ?Gr_GreatBritain). +-define(wxDateTime_Gr_Italy, ?Gr_Standard). +-define(wxDateTime_Gr_Japan, ?Gr_Unknown). +-define(wxDateTime_Gr_Japan_1, (?Gr_Unknown+1)). +-define(wxDateTime_Gr_Japan_2, (?Gr_Unknown+2)). +-define(wxDateTime_Gr_Japan_3, (?Gr_Unknown+3)). +-define(wxDateTime_Gr_Latvia, (?Gr_Unknown+4)). +-define(wxDateTime_Gr_Lithuania, (?Gr_Unknown+5)). +-define(wxDateTime_Gr_Luxemburg, (?Gr_Unknown+6)). +-define(wxDateTime_Gr_Netherlands, ?Gr_Belgium). +-define(wxDateTime_Gr_Netherlands_Groningen, (?Gr_Belgium+1)). +-define(wxDateTime_Gr_Netherlands_Gelderland, (?Gr_Belgium+2)). +-define(wxDateTime_Gr_Netherlands_Utrecht, (?Gr_Belgium+3)). +-define(wxDateTime_Gr_Netherlands_Friesland, (?Gr_Belgium+4)). +-define(wxDateTime_Gr_Norway, ?Gr_Denmark). +-define(wxDateTime_Gr_Poland, ?Gr_Standard). +-define(wxDateTime_Gr_Portugal, ?Gr_Standard). +-define(wxDateTime_Gr_Romania, (?Gr_Standard+1)). +-define(wxDateTime_Gr_Russia, (?Gr_Standard+2)). +-define(wxDateTime_Gr_Scotland, ?Gr_GreatBritain). +-define(wxDateTime_Gr_Spain, ?Gr_Standard). +-define(wxDateTime_Gr_Sweden, ?Gr_Finland). +-define(wxDateTime_Gr_Switzerland, ?Gr_Unknown). +-define(wxDateTime_Gr_Switzerland_Catholic, (?Gr_Unknown+1)). +-define(wxDateTime_Gr_Switzerland_Protestant, (?Gr_Unknown+2)). +-define(wxDateTime_Gr_Turkey, (?Gr_Unknown+3)). +-define(wxDateTime_Gr_USA, ?Gr_GreatBritain). +-define(wxDateTime_Gr_Wales, ?Gr_GreatBritain). +-define(wxDateTime_Gr_Yugoslavia, (?Gr_GreatBritain+1)). +% From class wxDateTime::Month +-define(wxDateTime_Jan, 0). +-define(wxDateTime_Feb, 1). +-define(wxDateTime_Mar, 2). +-define(wxDateTime_Apr, 3). +-define(wxDateTime_May, 4). +-define(wxDateTime_Jun, 5). +-define(wxDateTime_Jul, 6). +-define(wxDateTime_Aug, 7). +-define(wxDateTime_Sep, 8). +-define(wxDateTime_Oct, 9). +-define(wxDateTime_Nov, 10). +-define(wxDateTime_Dec, 11). +-define(wxDateTime_Inv_Month, 12). +% From class wxDateTime::NameFlags +-define(wxDateTime_Name_Full, 1). +-define(wxDateTime_Name_Abbr, 2). +% From class wxDateTime::TZ +-define(wxDateTime_Local, 0). +-define(wxDateTime_GMT_12, 1). +-define(wxDateTime_GMT_11, 2). +-define(wxDateTime_GMT_10, 3). +-define(wxDateTime_GMT_9, 4). +-define(wxDateTime_GMT_8, 5). +-define(wxDateTime_GMT_7, 6). +-define(wxDateTime_GMT_6, 7). +-define(wxDateTime_GMT_5, 8). +-define(wxDateTime_GMT_4, 9). +-define(wxDateTime_GMT_3, 10). +-define(wxDateTime_GMT_2, 11). +-define(wxDateTime_GMT_1, 12). +-define(wxDateTime_GMT0, 13). +-define(wxDateTime_GMT1, 14). +-define(wxDateTime_GMT2, 15). +-define(wxDateTime_GMT3, 16). +-define(wxDateTime_GMT4, 17). +-define(wxDateTime_GMT5, 18). +-define(wxDateTime_GMT6, 19). +-define(wxDateTime_GMT7, 20). +-define(wxDateTime_GMT8, 21). +-define(wxDateTime_GMT9, 22). +-define(wxDateTime_GMT10, 23). +-define(wxDateTime_GMT11, 24). +-define(wxDateTime_GMT12, 25). +-define(wxDateTime_GMT13, 26). +-define(wxDateTime_WET, ?GMT0). +-define(wxDateTime_WEST, ?GMT1). +-define(wxDateTime_CET, ?GMT1). +-define(wxDateTime_CEST, ?GMT2). +-define(wxDateTime_EET, ?GMT2). +-define(wxDateTime_EEST, ?GMT3). +-define(wxDateTime_MSK, ?GMT3). +-define(wxDateTime_MSD, ?GMT4). +-define(wxDateTime_AST, ?GMT_4). +-define(wxDateTime_ADT, ?GMT_3). +-define(wxDateTime_EST, ?GMT_5). +-define(wxDateTime_EDT, ?GMT_4). +-define(wxDateTime_CST, ?GMT_6). +-define(wxDateTime_CDT, ?GMT_5). +-define(wxDateTime_MST, ?GMT_7). +-define(wxDateTime_MDT, ?GMT_6). +-define(wxDateTime_PST, ?GMT_8). +-define(wxDateTime_PDT, ?GMT_7). +-define(wxDateTime_HST, ?GMT_10). +-define(wxDateTime_AKST, ?GMT_9). +-define(wxDateTime_AKDT, ?GMT_8). +-define(wxDateTime_A_WST, ?GMT8). +-define(wxDateTime_A_CST, ?GMT13+1). +-define(wxDateTime_A_EST, ?GMT10). +-define(wxDateTime_A_ESST, ?GMT11). +-define(wxDateTime_NZST, ?GMT12). +-define(wxDateTime_NZDT, ?GMT13). +-define(wxDateTime_UTC, ?GMT0). +% From class wxDateTime::WeekDay +-define(wxDateTime_Sun, 0). +-define(wxDateTime_Mon, 1). +-define(wxDateTime_Tue, 2). +-define(wxDateTime_Wed, 3). +-define(wxDateTime_Thu, 4). +-define(wxDateTime_Fri, 5). +-define(wxDateTime_Sat, 6). +-define(wxDateTime_Inv_WeekDay, 7). +% From class wxDateTime::WeekFlags +-define(wxDateTime_Default_First, 0). +-define(wxDateTime_Monday_First, 1). +-define(wxDateTime_Sunday_First, 2). +% From class wxDateTime::Year +-define(wxDateTime_Inv_Year, ?SHRT_MIN). +% From class wxDialog +-define(wxDialog_ButtonSizerFlags, (?wxOK bor ?wxCANCEL bor ?wxYES bor ?wxNO bor ?wxHELP bor ?wxNO_DEFAULT)). +% From class wxGrid +-define(wxGrid_wxGRID_CELLCTRL, 2000). +-define(wxGrid_wxGRID_TOPCTRL, 2001). +% From class wxGrid +-define(wxGrid_wxGRID_TEXTCTRL, 2100). +-define(wxGrid_wxGRID_CHECKBOX, 2101). +-define(wxGrid_wxGRID_CHOICE, 2102). +-define(wxGrid_wxGRID_COMBOBOX, 2103). +% From class wxGrid::CursorMode +-define(wxGrid_WXGRID_CURSOR_SELECT_CELL, 0). +-define(wxGrid_WXGRID_CURSOR_RESIZE_ROW, 1). +-define(wxGrid_WXGRID_CURSOR_RESIZE_COL, 2). +-define(wxGrid_WXGRID_CURSOR_SELECT_ROW, 3). +-define(wxGrid_WXGRID_CURSOR_SELECT_COL, 4). +-define(wxGrid_WXGRID_CURSOR_MOVE_COL, 5). +% From class wxGrid::wxGridSelectionModes +-define(wxGrid_wxGridSelectCells, 0). +-define(wxGrid_wxGridSelectRows, 1). +-define(wxGrid_wxGridSelectColumns, 2). +% From class wxGridCellAttr::wxAttrKind +-define(wxGridCellAttr_Any, 0). +-define(wxGridCellAttr_Default, 1). +-define(wxGridCellAttr_Cell, 2). +-define(wxGridCellAttr_Row, 3). +-define(wxGridCellAttr_Col, 4). +-define(wxGridCellAttr_Merged, 5). +% From class wxGridCellAttr::wxAttrOverflowMode +-define(wxGridCellAttr_UnsetOverflow, -1). +-define(wxGridCellAttr_Overflow, 0). +-define(wxGridCellAttr_SingleCell, 1). +% From class wxGridCellAttr::wxAttrReadMode +-define(wxGridCellAttr_Unset, -1). +-define(wxGridCellAttr_ReadWrite, 0). +-define(wxGridCellAttr_ReadOnly, 1). +% From class wxHelpEvent::Origin +-define(wxHelpEvent_Origin_Unknown, 0). +-define(wxHelpEvent_Origin_Keyboard, 1). +-define(wxHelpEvent_Origin_HelpButton, 2). +% From class wxHtmlEasyPrinting::FontMode +-define(wxHtmlEasyPrinting_FontMode_Explicit, 0). +-define(wxHtmlEasyPrinting_FontMode_Standard, 1). +% From class wxHtmlWindow::ClipboardType +-define(wxHtmlWindow_Primary, 0). +-define(wxHtmlWindow_Secondary, 1). +% From class wxListbook +-define(wxListbook_SetSelection_SendEvent, 1). +% From class wxNavigationKeyEvent +-define(wxNavigationKeyEvent_IsBackward, 0). +-define(wxNavigationKeyEvent_IsForward, 1). +-define(wxNavigationKeyEvent_WinChange, 2). +-define(wxNavigationKeyEvent_FromTab, 4). +% From class wxNotebook +-define(wxNotebook_SetSelection_SendEvent, 1). +% From class wxProgressDialog +-define(wxProgressDialog_Uncancelable, -1). +-define(wxProgressDialog_Canceled, 0). +-define(wxProgressDialog_Continue, 1). +-define(wxProgressDialog_Finished, 2). +% From class wxSizerItem +-define(wxSizerItem_Item_None, 0). +-define(wxSizerItem_Item_Window, 1). +-define(wxSizerItem_Item_Sizer, 2). +-define(wxSizerItem_Item_Spacer, 3). +-define(wxSizerItem_Item_Max, 4). +% From class wxTextCtrl +-define(wxTextCtrl_SetValue_SendEvent, 1). +-define(wxTextCtrl_SetValue_SelectionOnly, 2). +% From class wxToolbook +-define(wxToolbook_SetSelection_SendEvent, 1). +% From class wxTreebook +-define(wxTreebook_SetSelection_SendEvent, 1). +% From class wxWindow::MoveKind +-define(wxWindow_MoveBefore, 0). +-define(wxWindow_MoveAfter, 1). +% From class wxWindowGTK::ScrollDir +-define(wxWindowGTK_ScrollDir_Horz, 0). +-define(wxWindowGTK_ScrollDir_Vert, 1). +-define(wxWindowGTK_ScrollDir_Max, 2). +% From class wxWindowGTK::ScrollUnit +-define(wxWindowGTK_ScrollUnit_Line, 0). +-define(wxWindowGTK_ScrollUnit_Page, 1). +-define(wxWindowGTK_ScrollUnit_Max, 2). +% From "accel.h" +-define(wxACCEL_NORMAL, 0). +-define(wxACCEL_ALT, 1). +-define(wxACCEL_CTRL, 2). +-define(wxACCEL_SHIFT, 4). +-define(wxACCEL_CMD, ?wxACCEL_CTRL). +% From "app.h" +-define(wxPRINT_WINDOWS, 1). +-define(wxPRINT_POSTSCRIPT, 2). +% From "auibook.h": wxAuiNotebookOption +-define(wxAUI_NB_TOP, 1). +-define(wxAUI_NB_LEFT, 2). +-define(wxAUI_NB_RIGHT, 4). +-define(wxAUI_NB_BOTTOM, 8). +-define(wxAUI_NB_TAB_SPLIT, 16). +-define(wxAUI_NB_TAB_MOVE, 32). +-define(wxAUI_NB_TAB_EXTERNAL_MOVE, 64). +-define(wxAUI_NB_TAB_FIXED_WIDTH, 128). +-define(wxAUI_NB_SCROLL_BUTTONS, 256). +-define(wxAUI_NB_WINDOWLIST_BUTTON, 512). +-define(wxAUI_NB_CLOSE_BUTTON, 1024). +-define(wxAUI_NB_CLOSE_ON_ACTIVE_TAB, 2048). +-define(wxAUI_NB_CLOSE_ON_ALL_TABS, 4096). +-define(wxAUI_NB_MIDDLE_CLICK_CLOSE, 8192). +-define(wxAUI_NB_DEFAULT_STYLE, (?wxAUI_NB_TOP bor ?wxAUI_NB_TAB_SPLIT bor ?wxAUI_NB_TAB_MOVE bor ?wxAUI_NB_SCROLL_BUTTONS bor ?wxAUI_NB_CLOSE_ON_ACTIVE_TAB bor ?wxAUI_NB_MIDDLE_CLICK_CLOSE)). +% From "bookctrl.h" +-define(wxBK_HITTEST_NOWHERE, 1). +-define(wxBK_HITTEST_ONICON, 2). +-define(wxBK_HITTEST_ONLABEL, 4). +-define(wxBK_HITTEST_ONITEM, (?wxBK_HITTEST_ONICON bor ?wxBK_HITTEST_ONLABEL)). +-define(wxBK_HITTEST_ONPAGE, 8). +% From "bookctrl.h" -define(wxBK_ALIGN_MASK, (?wxBK_TOP bor ?wxBK_BOTTOM bor ?wxBK_LEFT bor ?wxBK_RIGHT)). -define(wxBK_RIGHT, 128). -define(wxBK_LEFT, 64). -define(wxBK_BOTTOM, 32). -define(wxBK_TOP, 16). -define(wxBK_DEFAULT, 0). -% From define::From button.h +% From "bugs.h": wxSashDragStatus +-define(wxSASH_STATUS_OK, 0). +-define(wxSASH_STATUS_OUT_OF_RANGE, 1). +% From "button.h" -define(wxBU_EXACTFIT, 1). -define(wxBU_AUTODRAW, 4). -define(wxBU_NOAUTODRAW, 0). @@ -343,38 +666,258 @@ -define(wxBU_RIGHT, 256). -define(wxBU_TOP, 128). -define(wxBU_LEFT, 64). -% From define::From checkbox.h +% From "calctrl.h" +-define(wxCAL_SUNDAY_FIRST, 0). +-define(wxCAL_MONDAY_FIRST, 1). +-define(wxCAL_SHOW_HOLIDAYS, 2). +-define(wxCAL_NO_YEAR_CHANGE, 4). +-define(wxCAL_NO_MONTH_CHANGE, 12). +-define(wxCAL_SEQUENTIAL_MONTH_SELECTION, 16). +-define(wxCAL_SHOW_SURROUNDING_WEEKS, 32). +% From "calctrl.h": wxCalendarDateBorder +-define(wxCAL_BORDER_NONE, 0). +-define(wxCAL_BORDER_SQUARE, 1). +-define(wxCAL_BORDER_ROUND, 2). +% From "calctrl.h": wxCalendarHitTestResult +-define(wxCAL_HITTEST_NOWHERE, 0). +-define(wxCAL_HITTEST_HEADER, 1). +-define(wxCAL_HITTEST_DAY, 2). +-define(wxCAL_HITTEST_INCMONTH, 3). +-define(wxCAL_HITTEST_DECMONTH, 4). +-define(wxCAL_HITTEST_SURROUNDING_WEEK, 5). +% From "checkbox.h" -define(wxCHK_ALLOW_3RD_STATE_FOR_USER, 8192). -define(wxCHK_3STATE, 4096). -define(wxCHK_2STATE, 0). -% From define::From choicdgg.h +% From "checkbox.h": wxCheckBoxState +-define(wxCHK_UNCHECKED, 0). +-define(wxCHK_CHECKED, 1). +-define(wxCHK_UNDETERMINED, 2). +% From "choicdgg.h" -define(wxCHOICEDLG_STYLE, (?wxDEFAULT_DIALOG_STYLE bor ?wxRESIZE_BORDER bor ?wxOK bor ?wxCANCEL bor ?wxCENTRE)). -define(wxCHOICE_WIDTH, 200). -define(wxCHOICE_HEIGHT, 150). -% From define::From choicebk.h +% From "choicebk.h" -define(wxCHB_ALIGN_MASK, ?wxBK_ALIGN_MASK). -define(wxCHB_RIGHT, ?wxBK_RIGHT). -define(wxCHB_LEFT, ?wxBK_LEFT). -define(wxCHB_BOTTOM, ?wxBK_BOTTOM). -define(wxCHB_TOP, ?wxBK_TOP). -define(wxCHB_DEFAULT, ?wxBK_DEFAULT). -% From define::From clrpicker.h +% From "clntdata.h": wxClientDataType +-define(wxClientData_None, 0). +-define(wxClientData_Object, 1). +-define(wxClientData_Void, 2). +% From "clrpicker.h" -define(wxCLRP_DEFAULT_STYLE, 0). -define(wxCLRP_USE_TEXTCTRL, ?wxPB_USE_TEXTCTRL). -define(wxCLRP_SHOW_LABEL, 8). -% From define::From colour.h +% From "cmndata.h": wxPrintBin +-define(wxPRINTBIN_DEFAULT, 0). +-define(wxPRINTBIN_ONLYONE, 1). +-define(wxPRINTBIN_LOWER, 2). +-define(wxPRINTBIN_MIDDLE, 3). +-define(wxPRINTBIN_MANUAL, 4). +-define(wxPRINTBIN_ENVELOPE, 5). +-define(wxPRINTBIN_ENVMANUAL, 6). +-define(wxPRINTBIN_AUTO, 7). +-define(wxPRINTBIN_TRACTOR, 8). +-define(wxPRINTBIN_SMALLFMT, 9). +-define(wxPRINTBIN_LARGEFMT, 10). +-define(wxPRINTBIN_LARGECAPACITY, 11). +-define(wxPRINTBIN_CASSETTE, 12). +-define(wxPRINTBIN_FORMSOURCE, 13). +-define(wxPRINTBIN_USER, 14). +% From "colour.h" -define(wxC2S_HTML_SYNTAX, 4). -define(wxC2S_CSS_SYNTAX, 2). -define(wxC2S_NAME, 1). -% From define::From confbase.h +% From "confbase.h" -define(wxCONFIG_CASE_SENSITIVE, 0). -% From define::From datetime.h +% From "datectrl.h" +-define(wxDP_DEFAULT, 0). +-define(wxDP_SPIN, 1). +-define(wxDP_DROPDOWN, 2). +-define(wxDP_SHOWCENTURY, 4). +-define(wxDP_ALLOWNONE, 8). +% From "datetime.h" -define(wxInvalidDateTime, ?wxDefaultDateTime). -% From define::From dcbuffer.h +% From "dcbuffer.h" -define(wxBUFFER_CLIENT_AREA, 2). -define(wxBUFFER_VIRTUAL_AREA, 1). --define(wxALWAYS_NATIVE_DOUBLE_BUFFER, 0). -% From define::From defs.h +-define(wxALWAYS_NATIVE_DOUBLE_BUFFER, wxe_util:get_const(wxALWAYS_NATIVE_DOUBLE_BUFFER)). +% From "defs.h" +-define(wxDefaultCoord, -1). +% From "defs.h" +-define(wxID_NONE, -3). +-define(wxID_SEPARATOR, -2). +-define(wxID_ANY, -1). +-define(wxID_LOWEST, 4999). +-define(wxID_OPEN, 5000). +-define(wxID_CLOSE, 5001). +-define(wxID_NEW, 5002). +-define(wxID_SAVE, 5003). +-define(wxID_SAVEAS, 5004). +-define(wxID_REVERT, 5005). +-define(wxID_EXIT, 5006). +-define(wxID_UNDO, 5007). +-define(wxID_REDO, 5008). +-define(wxID_HELP, 5009). +-define(wxID_PRINT, 5010). +-define(wxID_PRINT_SETUP, 5011). +-define(wxID_PAGE_SETUP, 5012). +-define(wxID_PREVIEW, 5013). +-define(wxID_ABOUT, 5014). +-define(wxID_HELP_CONTENTS, 5015). +-define(wxID_HELP_INDEX, 5016). +-define(wxID_HELP_SEARCH, 5017). +-define(wxID_HELP_COMMANDS, 5018). +-define(wxID_HELP_PROCEDURES, 5019). +-define(wxID_HELP_CONTEXT, 5020). +-define(wxID_CLOSE_ALL, 5021). +-define(wxID_PREFERENCES, 5022). +-define(wxID_EDIT, 5030). +-define(wxID_CUT, 5031). +-define(wxID_COPY, 5032). +-define(wxID_PASTE, 5033). +-define(wxID_CLEAR, 5034). +-define(wxID_FIND, 5035). +-define(wxID_DUPLICATE, 5036). +-define(wxID_SELECTALL, 5037). +-define(wxID_DELETE, 5038). +-define(wxID_REPLACE, 5039). +-define(wxID_REPLACE_ALL, 5040). +-define(wxID_PROPERTIES, 5041). +-define(wxID_VIEW_DETAILS, 5042). +-define(wxID_VIEW_LARGEICONS, 5043). +-define(wxID_VIEW_SMALLICONS, 5044). +-define(wxID_VIEW_LIST, 5045). +-define(wxID_VIEW_SORTDATE, 5046). +-define(wxID_VIEW_SORTNAME, 5047). +-define(wxID_VIEW_SORTSIZE, 5048). +-define(wxID_VIEW_SORTTYPE, 5049). +-define(wxID_FILE, 5050). +-define(wxID_FILE1, 5051). +-define(wxID_FILE2, 5052). +-define(wxID_FILE3, 5053). +-define(wxID_FILE4, 5054). +-define(wxID_FILE5, 5055). +-define(wxID_FILE6, 5056). +-define(wxID_FILE7, 5057). +-define(wxID_FILE8, 5058). +-define(wxID_FILE9, 5059). +-define(wxID_OK, 5100). +-define(wxID_CANCEL, 5101). +-define(wxID_APPLY, 5102). +-define(wxID_YES, 5103). +-define(wxID_NO, 5104). +-define(wxID_STATIC, 5105). +-define(wxID_FORWARD, 5106). +-define(wxID_BACKWARD, 5107). +-define(wxID_DEFAULT, 5108). +-define(wxID_MORE, 5109). +-define(wxID_SETUP, 5110). +-define(wxID_RESET, 5111). +-define(wxID_CONTEXT_HELP, 5112). +-define(wxID_YESTOALL, 5113). +-define(wxID_NOTOALL, 5114). +-define(wxID_ABORT, 5115). +-define(wxID_RETRY, 5116). +-define(wxID_IGNORE, 5117). +-define(wxID_ADD, 5118). +-define(wxID_REMOVE, 5119). +-define(wxID_UP, 5120). +-define(wxID_DOWN, 5121). +-define(wxID_HOME, 5122). +-define(wxID_REFRESH, 5123). +-define(wxID_STOP, 5124). +-define(wxID_INDEX, 5125). +-define(wxID_BOLD, 5126). +-define(wxID_ITALIC, 5127). +-define(wxID_JUSTIFY_CENTER, 5128). +-define(wxID_JUSTIFY_FILL, 5129). +-define(wxID_JUSTIFY_RIGHT, 5130). +-define(wxID_JUSTIFY_LEFT, 5131). +-define(wxID_UNDERLINE, 5132). +-define(wxID_INDENT, 5133). +-define(wxID_UNINDENT, 5134). +-define(wxID_ZOOM_100, 5135). +-define(wxID_ZOOM_FIT, 5136). +-define(wxID_ZOOM_IN, 5137). +-define(wxID_ZOOM_OUT, 5138). +-define(wxID_UNDELETE, 5139). +-define(wxID_REVERT_TO_SAVED, 5140). +-define(wxID_SYSTEM_MENU, 5200). +-define(wxID_CLOSE_FRAME, 5201). +-define(wxID_MOVE_FRAME, 5202). +-define(wxID_RESIZE_FRAME, 5203). +-define(wxID_MAXIMIZE_FRAME, 5204). +-define(wxID_ICONIZE_FRAME, 5205). +-define(wxID_RESTORE_FRAME, 5206). +-define(wxID_FILEDLGG, 5900). +-define(wxID_HIGHEST, 5999). +% From "defs.h" +-define(wxDEFAULT, 70). +-define(wxDECORATIVE, 71). +-define(wxROMAN, 72). +-define(wxSCRIPT, 73). +-define(wxSWISS, 74). +-define(wxMODERN, 75). +-define(wxTELETYPE, 76). +-define(wxVARIABLE, 80). +-define(wxFIXED, 81). +-define(wxNORMAL, 90). +-define(wxLIGHT, 91). +-define(wxBOLD, 92). +-define(wxITALIC, 93). +-define(wxSLANT, 94). +-define(wxSOLID, 100). +-define(wxDOT, 101). +-define(wxLONG_DASH, 102). +-define(wxSHORT_DASH, 103). +-define(wxDOT_DASH, 104). +-define(wxUSER_DASH, 105). +-define(wxTRANSPARENT, 106). +-define(wxSTIPPLE_MASK_OPAQUE, 107). +-define(wxSTIPPLE_MASK, 108). +-define(wxSTIPPLE, 110). +-define(wxBDIAGONAL_HATCH, 111). +-define(wxCROSSDIAG_HATCH, 112). +-define(wxFDIAGONAL_HATCH, 113). +-define(wxCROSS_HATCH, 114). +-define(wxHORIZONTAL_HATCH, 115). +-define(wxVERTICAL_HATCH, 116). +-define(wxFIRST_HATCH, ?wxBDIAGONAL_HATCH). +-define(wxLAST_HATCH, ?wxVERTICAL_HATCH). +-define(wxJOIN_BEVEL, 120). +-define(wxJOIN_MITER, 121). +-define(wxJOIN_ROUND, 122). +-define(wxCAP_ROUND, 130). +-define(wxCAP_PROJECTING, 131). +-define(wxCAP_BUTT, 132). +% From "defs.h" +-define(wxFLOOD_SURFACE, 1). +-define(wxFLOOD_BORDER, 2). +% From "defs.h" +-define(wxODDEVEN_RULE, 1). +-define(wxWINDING_RULE, 2). +% From "defs.h" +-define(wxTOOL_TOP, 1). +-define(wxTOOL_BOTTOM, 2). +-define(wxTOOL_LEFT, 3). +-define(wxTOOL_RIGHT, 4). +% From "defs.h" +-define(wxMM_TEXT, 1). +-define(wxMM_LOMETRIC, 2). +-define(wxMM_HIMETRIC, 3). +-define(wxMM_LOENGLISH, 4). +-define(wxMM_HIENGLISH, 5). +-define(wxMM_TWIPS, 6). +-define(wxMM_ISOTROPIC, 7). +-define(wxMM_ANISOTROPIC, 8). +-define(wxMM_POINTS, 9). +-define(wxMM_METRIC, 10). +% From "defs.h" -define(wxPRINT_QUALITY_DRAFT, -4). -define(wxPRINT_QUALITY_LOW, -3). -define(wxPRINT_QUALITY_MEDIUM, -2). @@ -503,21 +1046,499 @@ -define(wxBIG_ENDIAN, 4321). -define(wxHAS_INT64, wxe_util:get_const(wxHAS_INT64)). -define(wxNOT_FOUND, -1). -% From define::From dialog.h +% From "defs.h": form_ops_t +-define(wxCLEAR, 0). +-define(wxROP_BLACK, ?wxCLEAR). +-define(wxBLIT_BLACKNESS, ?wxCLEAR). +-define(wxXOR, (?wxCLEAR+1)). +-define(wxROP_XORPEN, ?wxXOR). +-define(wxBLIT_SRCINVERT, ?wxXOR). +-define(wxINVERT, (?wxXOR+1)). +-define(wxROP_NOT, ?wxINVERT). +-define(wxBLIT_DSTINVERT, ?wxINVERT). +-define(wxOR_REVERSE, (?wxINVERT+1)). +-define(wxROP_MERGEPENNOT, ?wxOR_REVERSE). +-define(wxBLIT_00DD0228, ?wxOR_REVERSE). +-define(wxAND_REVERSE, (?wxOR_REVERSE+1)). +-define(wxROP_MASKPENNOT, ?wxAND_REVERSE). +-define(wxBLIT_SRCERASE, ?wxAND_REVERSE). +-define(wxCOPY, (?wxAND_REVERSE+1)). +-define(wxROP_COPYPEN, ?wxCOPY). +-define(wxBLIT_SRCCOPY, ?wxCOPY). +-define(wxAND, (?wxCOPY+1)). +-define(wxROP_MASKPEN, ?wxAND). +-define(wxBLIT_SRCAND, ?wxAND). +-define(wxAND_INVERT, (?wxAND+1)). +-define(wxROP_MASKNOTPEN, ?wxAND_INVERT). +-define(wxBLIT_00220326, ?wxAND_INVERT). +-define(wxNO_OP, (?wxAND_INVERT+1)). +-define(wxROP_NOP, ?wxNO_OP). +-define(wxBLIT_00AA0029, ?wxNO_OP). +-define(wxNOR, (?wxNO_OP+1)). +-define(wxROP_NOTMERGEPEN, ?wxNOR). +-define(wxBLIT_NOTSRCERASE, ?wxNOR). +-define(wxEQUIV, (?wxNOR+1)). +-define(wxROP_NOTXORPEN, ?wxEQUIV). +-define(wxBLIT_00990066, ?wxEQUIV). +-define(wxSRC_INVERT, (?wxEQUIV+1)). +-define(wxROP_NOTCOPYPEN, ?wxSRC_INVERT). +-define(wxBLIT_NOTSCRCOPY, ?wxSRC_INVERT). +-define(wxOR_INVERT, (?wxSRC_INVERT+1)). +-define(wxROP_MERGENOTPEN, ?wxOR_INVERT). +-define(wxBLIT_MERGEPAINT, ?wxOR_INVERT). +-define(wxNAND, (?wxOR_INVERT+1)). +-define(wxROP_NOTMASKPEN, ?wxNAND). +-define(wxBLIT_007700E6, ?wxNAND). +-define(wxOR, (?wxNAND+1)). +-define(wxROP_MERGEPEN, ?wxOR). +-define(wxBLIT_SRCPAINT, ?wxOR). +-define(wxSET, (?wxOR+1)). +-define(wxROP_WHITE, ?wxSET). +-define(wxBLIT_WHITENESS, ?wxSET). +% From "defs.h": wxAlignment +-define(wxALIGN_NOT, 0). +-define(wxALIGN_CENTER_HORIZONTAL, 256). +-define(wxALIGN_CENTRE_HORIZONTAL, ?wxALIGN_CENTER_HORIZONTAL). +-define(wxALIGN_LEFT, ?wxALIGN_NOT). +-define(wxALIGN_TOP, ?wxALIGN_NOT). +-define(wxALIGN_RIGHT, 512). +-define(wxALIGN_BOTTOM, 1024). +-define(wxALIGN_CENTER_VERTICAL, 2048). +-define(wxALIGN_CENTRE_VERTICAL, ?wxALIGN_CENTER_VERTICAL). +-define(wxALIGN_CENTER, (?wxALIGN_CENTER_HORIZONTAL bor ?wxALIGN_CENTER_VERTICAL)). +-define(wxALIGN_CENTRE, ?wxALIGN_CENTER). +-define(wxALIGN_MASK, 3840). +% From "defs.h": wxBackgroundStyle +-define(wxBG_STYLE_SYSTEM, 0). +-define(wxBG_STYLE_COLOUR, 1). +-define(wxBG_STYLE_CUSTOM, 2). +% From "defs.h": wxBorder +-define(wxBORDER_DEFAULT, 0). +-define(wxBORDER_NONE, 2097152). +-define(wxBORDER_STATIC, 16777216). +-define(wxBORDER_SIMPLE, 33554432). +-define(wxBORDER_RAISED, 67108864). +-define(wxBORDER_SUNKEN, 134217728). +-define(wxBORDER_DOUBLE, 268435456). +-define(wxBORDER_THEME, 268435456). +-define(wxBORDER_MASK, 522190848). +% From "defs.h": wxDataFormatId +-define(wxDF_INVALID, 0). +-define(wxDF_TEXT, 1). +-define(wxDF_BITMAP, 2). +-define(wxDF_METAFILE, 3). +-define(wxDF_SYLK, 4). +-define(wxDF_DIF, 5). +-define(wxDF_TIFF, 6). +-define(wxDF_OEMTEXT, 7). +-define(wxDF_DIB, 8). +-define(wxDF_PALETTE, 9). +-define(wxDF_PENDATA, 10). +-define(wxDF_RIFF, 11). +-define(wxDF_WAVE, 12). +-define(wxDF_UNICODETEXT, 13). +-define(wxDF_ENHMETAFILE, 14). +-define(wxDF_FILENAME, 15). +-define(wxDF_LOCALE, 16). +-define(wxDF_PRIVATE, 20). +-define(wxDF_HTML, 30). +-define(wxDF_MAX, 31). +% From "defs.h": wxDirection +-define(wxLEFT, 16). +-define(wxRIGHT, 32). +-define(wxUP, 64). +-define(wxDOWN, 128). +-define(wxTOP, ?wxUP). +-define(wxBOTTOM, ?wxDOWN). +-define(wxNORTH, ?wxUP). +-define(wxSOUTH, ?wxDOWN). +-define(wxWEST, ?wxLEFT). +-define(wxEAST, ?wxRIGHT). +-define(wxALL, (?wxUP bor ?wxDOWN bor ?wxRIGHT bor ?wxLEFT)). +% From "defs.h": wxDuplexMode +-define(wxDUPLEX_SIMPLEX, 0). +-define(wxDUPLEX_HORIZONTAL, 1). +-define(wxDUPLEX_VERTICAL, 2). +% From "defs.h": wxGeometryCentre +-define(wxCENTRE, 1). +-define(wxCENTER, ?wxCENTRE). +% From "defs.h": wxHitTest +-define(wxHT_NOWHERE, 0). +-define(wxHT_SCROLLBAR_FIRST, ?wxHT_NOWHERE). +-define(wxHT_SCROLLBAR_ARROW_LINE_1, (?wxHT_NOWHERE+1)). +-define(wxHT_SCROLLBAR_ARROW_LINE_2, (?wxHT_NOWHERE+2)). +-define(wxHT_SCROLLBAR_ARROW_PAGE_1, (?wxHT_NOWHERE+3)). +-define(wxHT_SCROLLBAR_ARROW_PAGE_2, (?wxHT_NOWHERE+4)). +-define(wxHT_SCROLLBAR_THUMB, (?wxHT_NOWHERE+5)). +-define(wxHT_SCROLLBAR_BAR_1, (?wxHT_NOWHERE+6)). +-define(wxHT_SCROLLBAR_BAR_2, (?wxHT_NOWHERE+7)). +-define(wxHT_SCROLLBAR_LAST, (?wxHT_NOWHERE+8)). +-define(wxHT_WINDOW_OUTSIDE, (?wxHT_NOWHERE+9)). +-define(wxHT_WINDOW_INSIDE, (?wxHT_NOWHERE+10)). +-define(wxHT_WINDOW_VERT_SCROLLBAR, (?wxHT_NOWHERE+11)). +-define(wxHT_WINDOW_HORZ_SCROLLBAR, (?wxHT_NOWHERE+12)). +-define(wxHT_WINDOW_CORNER, (?wxHT_NOWHERE+13)). +-define(wxHT_MAX, (?wxHT_NOWHERE+14)). +% From "defs.h": wxItemKind +-define(wxITEM_SEPARATOR, -1). +-define(wxITEM_NORMAL, 0). +-define(wxITEM_CHECK, 1). +-define(wxITEM_RADIO, 2). +-define(wxITEM_MAX, 3). +% From "defs.h": wxKeyCode +-define(WXK_BACK, 8). +-define(WXK_TAB, 9). +-define(WXK_RETURN, 13). +-define(WXK_ESCAPE, 27). +-define(WXK_SPACE, 32). +-define(WXK_DELETE, 127). +-define(WXK_START, 300). +-define(WXK_LBUTTON, 301). +-define(WXK_RBUTTON, 302). +-define(WXK_CANCEL, 303). +-define(WXK_MBUTTON, 304). +-define(WXK_CLEAR, 305). +-define(WXK_SHIFT, 306). +-define(WXK_ALT, 307). +-define(WXK_CONTROL, 308). +-define(WXK_MENU, 309). +-define(WXK_PAUSE, 310). +-define(WXK_CAPITAL, 311). +-define(WXK_END, 312). +-define(WXK_HOME, 313). +-define(WXK_LEFT, 314). +-define(WXK_UP, 315). +-define(WXK_RIGHT, 316). +-define(WXK_DOWN, 317). +-define(WXK_SELECT, 318). +-define(WXK_PRINT, 319). +-define(WXK_EXECUTE, 320). +-define(WXK_SNAPSHOT, 321). +-define(WXK_INSERT, 322). +-define(WXK_HELP, 323). +-define(WXK_NUMPAD0, 324). +-define(WXK_NUMPAD1, 325). +-define(WXK_NUMPAD2, 326). +-define(WXK_NUMPAD3, 327). +-define(WXK_NUMPAD4, 328). +-define(WXK_NUMPAD5, 329). +-define(WXK_NUMPAD6, 330). +-define(WXK_NUMPAD7, 331). +-define(WXK_NUMPAD8, 332). +-define(WXK_NUMPAD9, 333). +-define(WXK_MULTIPLY, 334). +-define(WXK_ADD, 335). +-define(WXK_SEPARATOR, 336). +-define(WXK_SUBTRACT, 337). +-define(WXK_DECIMAL, 338). +-define(WXK_DIVIDE, 339). +-define(WXK_F1, 340). +-define(WXK_F2, 341). +-define(WXK_F3, 342). +-define(WXK_F4, 343). +-define(WXK_F5, 344). +-define(WXK_F6, 345). +-define(WXK_F7, 346). +-define(WXK_F8, 347). +-define(WXK_F9, 348). +-define(WXK_F10, 349). +-define(WXK_F11, 350). +-define(WXK_F12, 351). +-define(WXK_F13, 352). +-define(WXK_F14, 353). +-define(WXK_F15, 354). +-define(WXK_F16, 355). +-define(WXK_F17, 356). +-define(WXK_F18, 357). +-define(WXK_F19, 358). +-define(WXK_F20, 359). +-define(WXK_F21, 360). +-define(WXK_F22, 361). +-define(WXK_F23, 362). +-define(WXK_F24, 363). +-define(WXK_NUMLOCK, 364). +-define(WXK_SCROLL, 365). +-define(WXK_PAGEUP, 366). +-define(WXK_PAGEDOWN, 367). +-define(WXK_NUMPAD_SPACE, 368). +-define(WXK_NUMPAD_TAB, 369). +-define(WXK_NUMPAD_ENTER, 370). +-define(WXK_NUMPAD_F1, 371). +-define(WXK_NUMPAD_F2, 372). +-define(WXK_NUMPAD_F3, 373). +-define(WXK_NUMPAD_F4, 374). +-define(WXK_NUMPAD_HOME, 375). +-define(WXK_NUMPAD_LEFT, 376). +-define(WXK_NUMPAD_UP, 377). +-define(WXK_NUMPAD_RIGHT, 378). +-define(WXK_NUMPAD_DOWN, 379). +-define(WXK_NUMPAD_PAGEUP, 380). +-define(WXK_NUMPAD_PAGEDOWN, 381). +-define(WXK_NUMPAD_END, 382). +-define(WXK_NUMPAD_BEGIN, 383). +-define(WXK_NUMPAD_INSERT, 384). +-define(WXK_NUMPAD_DELETE, 385). +-define(WXK_NUMPAD_EQUAL, 386). +-define(WXK_NUMPAD_MULTIPLY, 387). +-define(WXK_NUMPAD_ADD, 388). +-define(WXK_NUMPAD_SEPARATOR, 389). +-define(WXK_NUMPAD_SUBTRACT, 390). +-define(WXK_NUMPAD_DECIMAL, 391). +-define(WXK_NUMPAD_DIVIDE, 392). +-define(WXK_WINDOWS_LEFT, 393). +-define(WXK_WINDOWS_RIGHT, 394). +-define(WXK_WINDOWS_MENU, 395). +-define(WXK_COMMAND, 396). +-define(WXK_SPECIAL1, 193). +-define(WXK_SPECIAL2, 194). +-define(WXK_SPECIAL3, 195). +-define(WXK_SPECIAL4, 196). +-define(WXK_SPECIAL5, 197). +-define(WXK_SPECIAL6, 198). +-define(WXK_SPECIAL7, 199). +-define(WXK_SPECIAL8, 200). +-define(WXK_SPECIAL9, 201). +-define(WXK_SPECIAL10, 202). +-define(WXK_SPECIAL11, 203). +-define(WXK_SPECIAL12, 204). +-define(WXK_SPECIAL13, 205). +-define(WXK_SPECIAL14, 206). +-define(WXK_SPECIAL15, 207). +-define(WXK_SPECIAL16, 208). +-define(WXK_SPECIAL17, 209). +-define(WXK_SPECIAL18, 210). +-define(WXK_SPECIAL19, 211). +-define(WXK_SPECIAL20, 212). +% From "defs.h": wxKeyModifier +-define(wxMOD_NONE, 0). +-define(wxMOD_ALT, 1). +-define(wxMOD_CONTROL, 2). +-define(wxMOD_ALTGR, (?wxMOD_ALT bor ?wxMOD_CONTROL)). +-define(wxMOD_SHIFT, 4). +-define(wxMOD_META, 8). +-define(wxMOD_WIN, ?wxMOD_META). +-define(wxMOD_CMD, wxe_util:get_const(wxMOD_CMD)). +-define(wxMOD_ALL, 65535). +% From "defs.h": wxNotificationOptions +-define(wxNOTIFY_NONE, 0). +-define(wxNOTIFY_ONCE, 1). +-define(wxNOTIFY_REPEAT, 2). +% From "defs.h": wxOrientation +-define(wxHORIZONTAL, 4). +-define(wxVERTICAL, 8). +-define(wxBOTH, (?wxVERTICAL bor ?wxHORIZONTAL)). +% From "defs.h": wxPaperSize +-define(wxPAPER_NONE, 0). +-define(wxPAPER_LETTER, 1). +-define(wxPAPER_LEGAL, 2). +-define(wxPAPER_A4, 3). +-define(wxPAPER_CSHEET, 4). +-define(wxPAPER_DSHEET, 5). +-define(wxPAPER_ESHEET, 6). +-define(wxPAPER_LETTERSMALL, 7). +-define(wxPAPER_TABLOID, 8). +-define(wxPAPER_LEDGER, 9). +-define(wxPAPER_STATEMENT, 10). +-define(wxPAPER_EXECUTIVE, 11). +-define(wxPAPER_A3, 12). +-define(wxPAPER_A4SMALL, 13). +-define(wxPAPER_A5, 14). +-define(wxPAPER_B4, 15). +-define(wxPAPER_B5, 16). +-define(wxPAPER_FOLIO, 17). +-define(wxPAPER_QUARTO, 18). +-define(wxPAPER_10X14, 19). +-define(wxPAPER_11X17, 20). +-define(wxPAPER_NOTE, 21). +-define(wxPAPER_ENV_9, 22). +-define(wxPAPER_ENV_10, 23). +-define(wxPAPER_ENV_11, 24). +-define(wxPAPER_ENV_12, 25). +-define(wxPAPER_ENV_14, 26). +-define(wxPAPER_ENV_DL, 27). +-define(wxPAPER_ENV_C5, 28). +-define(wxPAPER_ENV_C3, 29). +-define(wxPAPER_ENV_C4, 30). +-define(wxPAPER_ENV_C6, 31). +-define(wxPAPER_ENV_C65, 32). +-define(wxPAPER_ENV_B4, 33). +-define(wxPAPER_ENV_B5, 34). +-define(wxPAPER_ENV_B6, 35). +-define(wxPAPER_ENV_ITALY, 36). +-define(wxPAPER_ENV_MONARCH, 37). +-define(wxPAPER_ENV_PERSONAL, 38). +-define(wxPAPER_FANFOLD_US, 39). +-define(wxPAPER_FANFOLD_STD_GERMAN, 40). +-define(wxPAPER_FANFOLD_LGL_GERMAN, 41). +-define(wxPAPER_ISO_B4, 42). +-define(wxPAPER_JAPANESE_POSTCARD, 43). +-define(wxPAPER_9X11, 44). +-define(wxPAPER_10X11, 45). +-define(wxPAPER_15X11, 46). +-define(wxPAPER_ENV_INVITE, 47). +-define(wxPAPER_LETTER_EXTRA, 48). +-define(wxPAPER_LEGAL_EXTRA, 49). +-define(wxPAPER_TABLOID_EXTRA, 50). +-define(wxPAPER_A4_EXTRA, 51). +-define(wxPAPER_LETTER_TRANSVERSE, 52). +-define(wxPAPER_A4_TRANSVERSE, 53). +-define(wxPAPER_LETTER_EXTRA_TRANSVERSE, 54). +-define(wxPAPER_A_PLUS, 55). +-define(wxPAPER_B_PLUS, 56). +-define(wxPAPER_LETTER_PLUS, 57). +-define(wxPAPER_A4_PLUS, 58). +-define(wxPAPER_A5_TRANSVERSE, 59). +-define(wxPAPER_B5_TRANSVERSE, 60). +-define(wxPAPER_A3_EXTRA, 61). +-define(wxPAPER_A5_EXTRA, 62). +-define(wxPAPER_B5_EXTRA, 63). +-define(wxPAPER_A2, 64). +-define(wxPAPER_A3_TRANSVERSE, 65). +-define(wxPAPER_A3_EXTRA_TRANSVERSE, 66). +-define(wxPAPER_DBL_JAPANESE_POSTCARD, 67). +-define(wxPAPER_A6, 68). +-define(wxPAPER_JENV_KAKU2, 69). +-define(wxPAPER_JENV_KAKU3, 70). +-define(wxPAPER_JENV_CHOU3, 71). +-define(wxPAPER_JENV_CHOU4, 72). +-define(wxPAPER_LETTER_ROTATED, 73). +-define(wxPAPER_A3_ROTATED, 74). +-define(wxPAPER_A4_ROTATED, 75). +-define(wxPAPER_A5_ROTATED, 76). +-define(wxPAPER_B4_JIS_ROTATED, 77). +-define(wxPAPER_B5_JIS_ROTATED, 78). +-define(wxPAPER_JAPANESE_POSTCARD_ROTATED, 79). +-define(wxPAPER_DBL_JAPANESE_POSTCARD_ROTATED, 80). +-define(wxPAPER_A6_ROTATED, 81). +-define(wxPAPER_JENV_KAKU2_ROTATED, 82). +-define(wxPAPER_JENV_KAKU3_ROTATED, 83). +-define(wxPAPER_JENV_CHOU3_ROTATED, 84). +-define(wxPAPER_JENV_CHOU4_ROTATED, 85). +-define(wxPAPER_B6_JIS, 86). +-define(wxPAPER_B6_JIS_ROTATED, 87). +-define(wxPAPER_12X11, 88). +-define(wxPAPER_JENV_YOU4, 89). +-define(wxPAPER_JENV_YOU4_ROTATED, 90). +-define(wxPAPER_P16K, 91). +-define(wxPAPER_P32K, 92). +-define(wxPAPER_P32KBIG, 93). +-define(wxPAPER_PENV_1, 94). +-define(wxPAPER_PENV_2, 95). +-define(wxPAPER_PENV_3, 96). +-define(wxPAPER_PENV_4, 97). +-define(wxPAPER_PENV_5, 98). +-define(wxPAPER_PENV_6, 99). +-define(wxPAPER_PENV_7, 100). +-define(wxPAPER_PENV_8, 101). +-define(wxPAPER_PENV_9, 102). +-define(wxPAPER_PENV_10, 103). +-define(wxPAPER_P16K_ROTATED, 104). +-define(wxPAPER_P32K_ROTATED, 105). +-define(wxPAPER_P32KBIG_ROTATED, 106). +-define(wxPAPER_PENV_1_ROTATED, 107). +-define(wxPAPER_PENV_2_ROTATED, 108). +-define(wxPAPER_PENV_3_ROTATED, 109). +-define(wxPAPER_PENV_4_ROTATED, 110). +-define(wxPAPER_PENV_5_ROTATED, 111). +-define(wxPAPER_PENV_6_ROTATED, 112). +-define(wxPAPER_PENV_7_ROTATED, 113). +-define(wxPAPER_PENV_8_ROTATED, 114). +-define(wxPAPER_PENV_9_ROTATED, 115). +-define(wxPAPER_PENV_10_ROTATED, 116). +% From "defs.h": wxPrintMode +-define(wxPRINT_MODE_NONE, 0). +-define(wxPRINT_MODE_PREVIEW, 1). +-define(wxPRINT_MODE_FILE, 2). +-define(wxPRINT_MODE_PRINTER, 3). +-define(wxPRINT_MODE_STREAM, 4). +% From "defs.h": wxStretch +-define(wxSTRETCH_NOT, 0). +-define(wxSHRINK, 4096). +-define(wxGROW, 8192). +-define(wxEXPAND, ?wxGROW). +-define(wxSHAPED, 16384). +-define(wxFIXED_MINSIZE, 32768). +-define(wxRESERVE_SPACE_EVEN_IF_HIDDEN, 2). +-define(wxTILE, 49152). +-define(wxADJUST_MINSIZE, 0). +% From "defs.h": wxUpdateUI +-define(wxUPDATE_UI_NONE, 0). +-define(wxUPDATE_UI_RECURSE, 1). +-define(wxUPDATE_UI_FROMIDLE, 2). +% From "dialog.h" -define(wxDEFAULT_DIALOG_STYLE, (?wxCAPTION bor ?wxSYSTEM_MENU bor ?wxCLOSE_BOX)). -define(wxDIALOG_NO_PARENT, 1). -% From define::From dirctrlg.h +% From "dirctrlg.h" +-define(wxDIRCTRL_DIR_ONLY, 16). +-define(wxDIRCTRL_SELECT_FIRST, 32). +-define(wxDIRCTRL_SHOW_FILTERS, 64). +-define(wxDIRCTRL_3D_INTERNAL, 128). +-define(wxDIRCTRL_EDIT_LABELS, 256). +% From "dirctrlg.h" -define(wxID_FILTERLISTCTRL, 7001). -define(wxID_TREECTRL, 7000). -% From define::From dirdlg.h +% From "dirdlg.h" -define(wxDD_DEFAULT_STYLE, (?wxDEFAULT_DIALOG_STYLE bor ?wxRESIZE_BORDER)). -define(wxDD_NEW_DIR_BUTTON, 0). -define(wxDD_DIR_MUST_EXIST, 512). -define(wxDD_CHANGE_DIR, 256). -% From define::From dirdlgg.h -% From define::From filedlg.h +% From "dirdlgg.h" +% From "dnd.h" +-define(wxDrag_CopyOnly, 0). +-define(wxDrag_AllowMove, 1). +-define(wxDrag_DefaultMove, 3). +% From "dnd.h": wxDragResult +-define(wxDragError, 0). +-define(wxDragNone, 1). +-define(wxDragCopy, 2). +-define(wxDragMove, 3). +-define(wxDragLink, 4). +-define(wxDragCancel, 5). +% From "event.h" +-define(wxMOUSE_BTN_ANY, -1). +-define(wxMOUSE_BTN_NONE, 0). +-define(wxMOUSE_BTN_LEFT, 1). +-define(wxMOUSE_BTN_MIDDLE, 2). +-define(wxMOUSE_BTN_RIGHT, 3). +% From "event.h" +-define(wxJOYSTICK1, 0). +-define(wxJOYSTICK2, 1). +% From "event.h" +-define(wxJOY_BUTTON_ANY, -1). +-define(wxJOY_BUTTON1, 1). +-define(wxJOY_BUTTON2, 2). +-define(wxJOY_BUTTON3, 4). +-define(wxJOY_BUTTON4, 8). +% From "event.h" +% From "event.h": Propagation_state +-define(wxEVENT_PROPAGATE_NONE, 0). +-define(wxEVENT_PROPAGATE_MAX, ?INT_MAX). +% From "event.h": wxIdleMode +-define(wxIDLE_PROCESS_ALL, 0). +-define(wxIDLE_PROCESS_SPECIFIED, 1). +% From "event.h": wxUpdateUIMode +-define(wxUPDATE_UI_PROCESS_ALL, 0). +-define(wxUPDATE_UI_PROCESS_SPECIFIED, 1). +% From "fdrepdlg.h": wxFindReplaceDialogStyles +-define(wxFR_REPLACEDIALOG, 1). +-define(wxFR_NOUPDOWN, 2). +-define(wxFR_NOMATCHCASE, 4). +-define(wxFR_NOWHOLEWORD, 8). +% From "fdrepdlg.h": wxFindReplaceFlags +-define(wxFR_DOWN, 1). +-define(wxFR_WHOLEWORD, 2). +-define(wxFR_MATCHCASE, 4). +% From "filedlg.h" +-define(wxFD_OPEN, 1). +-define(wxFD_SAVE, 2). +-define(wxFD_OVERWRITE_PROMPT, 4). +-define(wxFD_FILE_MUST_EXIST, 16). +-define(wxFD_MULTIPLE, 32). +-define(wxFD_CHANGE_DIR, 128). +-define(wxFD_PREVIEW, 256). +% From "filedlg.h" -define(wxFD_DEFAULT_STYLE, ?wxFD_OPEN). -% From define::From filepicker.h +% From "filepicker.h" -define(wxDIRP_DEFAULT_STYLE, ?wxDIRP_DIR_MUST_EXIST). -define(wxDIRP_USE_TEXTCTRL, ?wxPB_USE_TEXTCTRL). -define(wxFLP_DEFAULT_STYLE, (?wxFLP_OPEN bor ?wxFLP_FILE_MUST_EXIST)). @@ -529,30 +1550,300 @@ -define(wxFLP_OVERWRITE_PROMPT, 4096). -define(wxFLP_SAVE, 2048). -define(wxFLP_OPEN, 1024). -% From define::From fontpicker.h +% From "font.h" +-define(wxFONTFLAG_DEFAULT, 0). +-define(wxFONTFLAG_ITALIC, 1). +-define(wxFONTFLAG_SLANT, 2). +-define(wxFONTFLAG_LIGHT, 4). +-define(wxFONTFLAG_BOLD, 8). +-define(wxFONTFLAG_ANTIALIASED, 16). +-define(wxFONTFLAG_NOT_ANTIALIASED, 32). +-define(wxFONTFLAG_UNDERLINED, 64). +-define(wxFONTFLAG_STRIKETHROUGH, 128). +-define(wxFONTFLAG_MASK, (?wxFONTFLAG_ITALIC bor ?wxFONTFLAG_SLANT bor ?wxFONTFLAG_LIGHT bor ?wxFONTFLAG_BOLD bor ?wxFONTFLAG_ANTIALIASED bor ?wxFONTFLAG_NOT_ANTIALIASED bor ?wxFONTFLAG_UNDERLINED bor ?wxFONTFLAG_STRIKETHROUGH)). +% From "font.h": wxFontFamily +-define(wxFONTFAMILY_DEFAULT, ?wxDEFAULT). +-define(wxFONTFAMILY_DECORATIVE, ?wxDECORATIVE). +-define(wxFONTFAMILY_ROMAN, ?wxROMAN). +-define(wxFONTFAMILY_SCRIPT, ?wxSCRIPT). +-define(wxFONTFAMILY_SWISS, ?wxSWISS). +-define(wxFONTFAMILY_MODERN, ?wxMODERN). +-define(wxFONTFAMILY_TELETYPE, ?wxTELETYPE). +-define(wxFONTFAMILY_MAX, (?wxTELETYPE+1)). +-define(wxFONTFAMILY_UNKNOWN, ?wxFONTFAMILY_MAX). +% From "font.h": wxFontStyle +-define(wxFONTSTYLE_NORMAL, ?wxNORMAL). +-define(wxFONTSTYLE_ITALIC, ?wxITALIC). +-define(wxFONTSTYLE_SLANT, ?wxSLANT). +-define(wxFONTSTYLE_MAX, (?wxSLANT+1)). +% From "font.h": wxFontWeight +-define(wxFONTWEIGHT_NORMAL, ?wxNORMAL). +-define(wxFONTWEIGHT_LIGHT, ?wxLIGHT). +-define(wxFONTWEIGHT_BOLD, ?wxBOLD). +-define(wxFONTWEIGHT_MAX, (?wxBOLD+1)). +% From "fontenc.h": wxFontEncoding +-define(wxFONTENCODING_SYSTEM, -1). +-define(wxFONTENCODING_DEFAULT, 0). +-define(wxFONTENCODING_ISO8859_1, 1). +-define(wxFONTENCODING_ISO8859_2, 2). +-define(wxFONTENCODING_ISO8859_3, 3). +-define(wxFONTENCODING_ISO8859_4, 4). +-define(wxFONTENCODING_ISO8859_5, 5). +-define(wxFONTENCODING_ISO8859_6, 6). +-define(wxFONTENCODING_ISO8859_7, 7). +-define(wxFONTENCODING_ISO8859_8, 8). +-define(wxFONTENCODING_ISO8859_9, 9). +-define(wxFONTENCODING_ISO8859_10, 10). +-define(wxFONTENCODING_ISO8859_11, 11). +-define(wxFONTENCODING_ISO8859_12, 12). +-define(wxFONTENCODING_ISO8859_13, 13). +-define(wxFONTENCODING_ISO8859_14, 14). +-define(wxFONTENCODING_ISO8859_15, 15). +-define(wxFONTENCODING_ISO8859_MAX, 16). +-define(wxFONTENCODING_KOI8, 17). +-define(wxFONTENCODING_KOI8_U, 18). +-define(wxFONTENCODING_ALTERNATIVE, 19). +-define(wxFONTENCODING_BULGARIAN, 20). +-define(wxFONTENCODING_CP437, 21). +-define(wxFONTENCODING_CP850, 22). +-define(wxFONTENCODING_CP852, 23). +-define(wxFONTENCODING_CP855, 24). +-define(wxFONTENCODING_CP866, 25). +-define(wxFONTENCODING_CP874, 26). +-define(wxFONTENCODING_CP932, 27). +-define(wxFONTENCODING_CP936, 28). +-define(wxFONTENCODING_CP949, 29). +-define(wxFONTENCODING_CP950, 30). +-define(wxFONTENCODING_CP1250, 31). +-define(wxFONTENCODING_CP1251, 32). +-define(wxFONTENCODING_CP1252, 33). +-define(wxFONTENCODING_CP1253, 34). +-define(wxFONTENCODING_CP1254, 35). +-define(wxFONTENCODING_CP1255, 36). +-define(wxFONTENCODING_CP1256, 37). +-define(wxFONTENCODING_CP1257, 38). +-define(wxFONTENCODING_CP12_MAX, 39). +-define(wxFONTENCODING_UTF7, 40). +-define(wxFONTENCODING_UTF8, 41). +-define(wxFONTENCODING_EUC_JP, 42). +-define(wxFONTENCODING_UTF16BE, 43). +-define(wxFONTENCODING_UTF16LE, 44). +-define(wxFONTENCODING_UTF32BE, 45). +-define(wxFONTENCODING_UTF32LE, 46). +-define(wxFONTENCODING_MACROMAN, 47). +-define(wxFONTENCODING_MACJAPANESE, 48). +-define(wxFONTENCODING_MACCHINESETRAD, 49). +-define(wxFONTENCODING_MACKOREAN, 50). +-define(wxFONTENCODING_MACARABIC, 51). +-define(wxFONTENCODING_MACHEBREW, 52). +-define(wxFONTENCODING_MACGREEK, 53). +-define(wxFONTENCODING_MACCYRILLIC, 54). +-define(wxFONTENCODING_MACDEVANAGARI, 55). +-define(wxFONTENCODING_MACGURMUKHI, 56). +-define(wxFONTENCODING_MACGUJARATI, 57). +-define(wxFONTENCODING_MACORIYA, 58). +-define(wxFONTENCODING_MACBENGALI, 59). +-define(wxFONTENCODING_MACTAMIL, 60). +-define(wxFONTENCODING_MACTELUGU, 61). +-define(wxFONTENCODING_MACKANNADA, 62). +-define(wxFONTENCODING_MACMALAJALAM, 63). +-define(wxFONTENCODING_MACSINHALESE, 64). +-define(wxFONTENCODING_MACBURMESE, 65). +-define(wxFONTENCODING_MACKHMER, 66). +-define(wxFONTENCODING_MACTHAI, 67). +-define(wxFONTENCODING_MACLAOTIAN, 68). +-define(wxFONTENCODING_MACGEORGIAN, 69). +-define(wxFONTENCODING_MACARMENIAN, 70). +-define(wxFONTENCODING_MACCHINESESIMP, 71). +-define(wxFONTENCODING_MACTIBETAN, 72). +-define(wxFONTENCODING_MACMONGOLIAN, 73). +-define(wxFONTENCODING_MACETHIOPIC, 74). +-define(wxFONTENCODING_MACCENTRALEUR, 75). +-define(wxFONTENCODING_MACVIATNAMESE, 76). +-define(wxFONTENCODING_MACARABICEXT, 77). +-define(wxFONTENCODING_MACSYMBOL, 78). +-define(wxFONTENCODING_MACDINGBATS, 79). +-define(wxFONTENCODING_MACTURKISH, 80). +-define(wxFONTENCODING_MACCROATIAN, 81). +-define(wxFONTENCODING_MACICELANDIC, 82). +-define(wxFONTENCODING_MACROMANIAN, 83). +-define(wxFONTENCODING_MACCELTIC, 84). +-define(wxFONTENCODING_MACGAELIC, 85). +-define(wxFONTENCODING_MACKEYBOARD, 86). +-define(wxFONTENCODING_MAX, 87). +-define(wxFONTENCODING_MACMIN, ?wxFONTENCODING_MACROMAN). +-define(wxFONTENCODING_MACMAX, ?wxFONTENCODING_MACKEYBOARD). +-define(wxFONTENCODING_UTF16, wxe_util:get_const(wxFONTENCODING_UTF16)). +-define(wxFONTENCODING_UTF32, wxe_util:get_const(wxFONTENCODING_UTF32)). +-define(wxFONTENCODING_UNICODE, ?wxFONTENCODING_UTF32). +-define(wxFONTENCODING_GB2312, ?wxFONTENCODING_CP936). +-define(wxFONTENCODING_BIG5, ?wxFONTENCODING_CP950). +-define(wxFONTENCODING_SHIFT_JIS, ?wxFONTENCODING_CP932). +% From "fontpicker.h" -define(wxFNTP_MAXPOINT_SIZE, 100). -define(wxFNTP_DEFAULT_STYLE, (?wxFNTP_FONTDESC_AS_LABEL bor ?wxFNTP_USEFONT_FOR_LABEL)). -define(wxFNTP_USE_TEXTCTRL, ?wxPB_USE_TEXTCTRL). -define(wxFNTP_USEFONT_FOR_LABEL, 16). -define(wxFNTP_FONTDESC_AS_LABEL, 8). -% From define::From frame.h +% From "frame.h" -define(wxFRAME_SHAPED, 16). -define(wxFRAME_FLOAT_ON_PARENT, 8). -define(wxFRAME_TOOL_WINDOW, 4). -define(wxFRAME_NO_TASKBAR, 2). -% From define::From gauge.h --define(wxGAUGE_EMULATE_INDETERMINATE_MODE, 1). +% From "framemanager.h": wxAuiButtonId +-define(wxAUI_BUTTON_CLOSE, 101). +-define(wxAUI_BUTTON_MAXIMIZE_RESTORE, 102). +-define(wxAUI_BUTTON_MINIMIZE, 103). +-define(wxAUI_BUTTON_PIN, 104). +-define(wxAUI_BUTTON_OPTIONS, 105). +-define(wxAUI_BUTTON_WINDOWLIST, 106). +-define(wxAUI_BUTTON_LEFT, 107). +-define(wxAUI_BUTTON_RIGHT, 108). +-define(wxAUI_BUTTON_UP, 109). +-define(wxAUI_BUTTON_DOWN, 110). +-define(wxAUI_BUTTON_CUSTOM1, 201). +-define(wxAUI_BUTTON_CUSTOM2, 202). +-define(wxAUI_BUTTON_CUSTOM3, 203). +% From "framemanager.h": wxAuiManagerDock +-define(wxAUI_DOCK_NONE, 0). +-define(wxAUI_DOCK_TOP, 1). +-define(wxAUI_DOCK_RIGHT, 2). +-define(wxAUI_DOCK_BOTTOM, 3). +-define(wxAUI_DOCK_LEFT, 4). +-define(wxAUI_DOCK_CENTER, 5). +-define(wxAUI_DOCK_CENTRE, ?wxAUI_DOCK_CENTER). +% From "framemanager.h": wxAuiManagerOption +-define(wxAUI_MGR_ALLOW_FLOATING, 1). +-define(wxAUI_MGR_ALLOW_ACTIVE_PANE, 2). +-define(wxAUI_MGR_TRANSPARENT_DRAG, 4). +-define(wxAUI_MGR_TRANSPARENT_HINT, 8). +-define(wxAUI_MGR_VENETIAN_BLINDS_HINT, 16). +-define(wxAUI_MGR_RECTANGLE_HINT, 32). +-define(wxAUI_MGR_HINT_FADE, 64). +-define(wxAUI_MGR_NO_VENETIAN_BLINDS_FADE, 128). +-define(wxAUI_MGR_LIVE_RESIZE, 256). +-define(wxAUI_MGR_DEFAULT, (?wxAUI_MGR_ALLOW_FLOATING bor ?wxAUI_MGR_TRANSPARENT_HINT bor ?wxAUI_MGR_HINT_FADE bor ?wxAUI_MGR_NO_VENETIAN_BLINDS_FADE)). +% From "framemanager.h": wxAuiPaneButtonState +-define(wxAUI_BUTTON_STATE_NORMAL, 0). +-define(wxAUI_BUTTON_STATE_HOVER, 2). +-define(wxAUI_BUTTON_STATE_PRESSED, 4). +-define(wxAUI_BUTTON_STATE_DISABLED, 8). +-define(wxAUI_BUTTON_STATE_HIDDEN, 16). +-define(wxAUI_BUTTON_STATE_CHECKED, 32). +% From "framemanager.h": wxAuiPaneDockArtGradients +-define(wxAUI_GRADIENT_NONE, 0). +-define(wxAUI_GRADIENT_VERTICAL, 1). +-define(wxAUI_GRADIENT_HORIZONTAL, 2). +% From "framemanager.h": wxAuiPaneDockArtSetting +-define(wxAUI_DOCKART_SASH_SIZE, 0). +-define(wxAUI_DOCKART_CAPTION_SIZE, 1). +-define(wxAUI_DOCKART_GRIPPER_SIZE, 2). +-define(wxAUI_DOCKART_PANE_BORDER_SIZE, 3). +-define(wxAUI_DOCKART_PANE_BUTTON_SIZE, 4). +-define(wxAUI_DOCKART_BACKGROUND_COLOUR, 5). +-define(wxAUI_DOCKART_SASH_COLOUR, 6). +-define(wxAUI_DOCKART_ACTIVE_CAPTION_COLOUR, 7). +-define(wxAUI_DOCKART_ACTIVE_CAPTION_GRADIENT_COLOUR, 8). +-define(wxAUI_DOCKART_INACTIVE_CAPTION_COLOUR, 9). +-define(wxAUI_DOCKART_INACTIVE_CAPTION_GRADIENT_COLOUR, 10). +-define(wxAUI_DOCKART_ACTIVE_CAPTION_TEXT_COLOUR, 11). +-define(wxAUI_DOCKART_INACTIVE_CAPTION_TEXT_COLOUR, 12). +-define(wxAUI_DOCKART_BORDER_COLOUR, 13). +-define(wxAUI_DOCKART_GRIPPER_COLOUR, 14). +-define(wxAUI_DOCKART_CAPTION_FONT, 15). +-define(wxAUI_DOCKART_GRADIENT_TYPE, 16). +% From "framemanager.h": wxAuiPaneInsertLevel +-define(wxAUI_INSERT_PANE, 0). +-define(wxAUI_INSERT_ROW, 1). +-define(wxAUI_INSERT_DOCK, 2). +% From "gauge.h" +-define(wxGAUGE_EMULATE_INDETERMINATE_MODE, wxe_util:get_const(wxGAUGE_EMULATE_INDETERMINATE_MODE)). -define(wxGA_SMOOTH, 32). -define(wxGA_VERTICAL, ?wxVERTICAL). -define(wxGA_HORIZONTAL, ?wxHORIZONTAL). -% From define::From gdicmn.h +% From "gdicmn.h" -define(wxGetDisplayDepth, ?wxDisplayDepth). -% From define::From generic_2laywin.h +% From "gdicmn.h": wxBitmapType +-define(wxBITMAP_TYPE_INVALID, 0). +-define(wxBITMAP_TYPE_BMP, 1). +-define(wxBITMAP_TYPE_BMP_RESOURCE, 2). +-define(wxBITMAP_TYPE_RESOURCE, ?wxBITMAP_TYPE_BMP_RESOURCE). +-define(wxBITMAP_TYPE_ICO, (?wxBITMAP_TYPE_BMP_RESOURCE+1)). +-define(wxBITMAP_TYPE_ICO_RESOURCE, (?wxBITMAP_TYPE_BMP_RESOURCE+2)). +-define(wxBITMAP_TYPE_CUR, (?wxBITMAP_TYPE_BMP_RESOURCE+3)). +-define(wxBITMAP_TYPE_CUR_RESOURCE, (?wxBITMAP_TYPE_BMP_RESOURCE+4)). +-define(wxBITMAP_TYPE_XBM, (?wxBITMAP_TYPE_BMP_RESOURCE+5)). +-define(wxBITMAP_TYPE_XBM_DATA, (?wxBITMAP_TYPE_BMP_RESOURCE+6)). +-define(wxBITMAP_TYPE_XPM, (?wxBITMAP_TYPE_BMP_RESOURCE+7)). +-define(wxBITMAP_TYPE_XPM_DATA, (?wxBITMAP_TYPE_BMP_RESOURCE+8)). +-define(wxBITMAP_TYPE_TIF, (?wxBITMAP_TYPE_BMP_RESOURCE+9)). +-define(wxBITMAP_TYPE_TIF_RESOURCE, (?wxBITMAP_TYPE_BMP_RESOURCE+10)). +-define(wxBITMAP_TYPE_GIF, (?wxBITMAP_TYPE_BMP_RESOURCE+11)). +-define(wxBITMAP_TYPE_GIF_RESOURCE, (?wxBITMAP_TYPE_BMP_RESOURCE+12)). +-define(wxBITMAP_TYPE_PNG, (?wxBITMAP_TYPE_BMP_RESOURCE+13)). +-define(wxBITMAP_TYPE_PNG_RESOURCE, (?wxBITMAP_TYPE_BMP_RESOURCE+14)). +-define(wxBITMAP_TYPE_JPEG, (?wxBITMAP_TYPE_BMP_RESOURCE+15)). +-define(wxBITMAP_TYPE_JPEG_RESOURCE, (?wxBITMAP_TYPE_BMP_RESOURCE+16)). +-define(wxBITMAP_TYPE_PNM, (?wxBITMAP_TYPE_BMP_RESOURCE+17)). +-define(wxBITMAP_TYPE_PNM_RESOURCE, (?wxBITMAP_TYPE_BMP_RESOURCE+18)). +-define(wxBITMAP_TYPE_PCX, (?wxBITMAP_TYPE_BMP_RESOURCE+19)). +-define(wxBITMAP_TYPE_PCX_RESOURCE, (?wxBITMAP_TYPE_BMP_RESOURCE+20)). +-define(wxBITMAP_TYPE_PICT, (?wxBITMAP_TYPE_BMP_RESOURCE+21)). +-define(wxBITMAP_TYPE_PICT_RESOURCE, (?wxBITMAP_TYPE_BMP_RESOURCE+22)). +-define(wxBITMAP_TYPE_ICON, (?wxBITMAP_TYPE_BMP_RESOURCE+23)). +-define(wxBITMAP_TYPE_ICON_RESOURCE, (?wxBITMAP_TYPE_BMP_RESOURCE+24)). +-define(wxBITMAP_TYPE_ANI, (?wxBITMAP_TYPE_BMP_RESOURCE+25)). +-define(wxBITMAP_TYPE_IFF, (?wxBITMAP_TYPE_BMP_RESOURCE+26)). +-define(wxBITMAP_TYPE_TGA, (?wxBITMAP_TYPE_BMP_RESOURCE+27)). +-define(wxBITMAP_TYPE_MACCURSOR, (?wxBITMAP_TYPE_BMP_RESOURCE+28)). +-define(wxBITMAP_TYPE_MACCURSOR_RESOURCE, (?wxBITMAP_TYPE_BMP_RESOURCE+29)). +-define(wxBITMAP_TYPE_ANY, 50). +% From "gdicmn.h": wxStockCursor +-define(wxCURSOR_NONE, 0). +-define(wxCURSOR_ARROW, 1). +-define(wxCURSOR_RIGHT_ARROW, 2). +-define(wxCURSOR_BULLSEYE, 3). +-define(wxCURSOR_CHAR, 4). +-define(wxCURSOR_CROSS, 5). +-define(wxCURSOR_HAND, 6). +-define(wxCURSOR_IBEAM, 7). +-define(wxCURSOR_LEFT_BUTTON, 8). +-define(wxCURSOR_MAGNIFIER, 9). +-define(wxCURSOR_MIDDLE_BUTTON, 10). +-define(wxCURSOR_NO_ENTRY, 11). +-define(wxCURSOR_PAINT_BRUSH, 12). +-define(wxCURSOR_PENCIL, 13). +-define(wxCURSOR_POINT_LEFT, 14). +-define(wxCURSOR_POINT_RIGHT, 15). +-define(wxCURSOR_QUESTION_ARROW, 16). +-define(wxCURSOR_RIGHT_BUTTON, 17). +-define(wxCURSOR_SIZENESW, 18). +-define(wxCURSOR_SIZENS, 19). +-define(wxCURSOR_SIZENWSE, 20). +-define(wxCURSOR_SIZEWE, 21). +-define(wxCURSOR_SIZING, 22). +-define(wxCURSOR_SPRAYCAN, 23). +-define(wxCURSOR_WAIT, 24). +-define(wxCURSOR_WATCH, 25). +-define(wxCURSOR_BLANK, 26). +-define(wxCURSOR_DEFAULT, 27). +-define(wxCURSOR_ARROWWAIT, 28). +-define(wxCURSOR_MAX, 29). +% From "generic_2laywin.h" -define(wxLAYOUT_QUERY, 256). -define(wxLAYOUT_MRU_LENGTH, 16). -define(wxLAYOUT_LENGTH_X, 0). -define(wxLAYOUT_LENGTH_Y, 8). -% From define::From generic_2sashwin.h +% From "generic_2laywin.h": wxLayoutAlignment +-define(wxLAYOUT_NONE, 0). +-define(wxLAYOUT_TOP, 1). +-define(wxLAYOUT_LEFT, 2). +-define(wxLAYOUT_RIGHT, 3). +-define(wxLAYOUT_BOTTOM, 4). +% From "generic_2laywin.h": wxLayoutOrientation +-define(wxLAYOUT_HORIZONTAL, 0). +-define(wxLAYOUT_VERTICAL, 1). +% From "generic_2sashwin.h" -define(wxSW_3D, (?wxSW_3DSASH bor ?wxSW_3DBORDER)). -define(wxSW_3DBORDER, 128). -define(wxSW_3DSASH, 64). @@ -561,27 +1852,137 @@ -define(wxSASH_DRAG_LEFT_DOWN, 2). -define(wxSASH_DRAG_DRAGGING, 1). -define(wxSASH_DRAG_NONE, 0). -% From define::From generic_2splash.h +% From "generic_2sashwin.h": wxSashEdgePosition +-define(wxSASH_TOP, 0). +-define(wxSASH_RIGHT, 1). +-define(wxSASH_BOTTOM, 2). +-define(wxSASH_LEFT, 3). +-define(wxSASH_NONE, 100). +% From "generic_2splash.h" -define(wxSPLASH_NO_TIMEOUT, 0). -define(wxSPLASH_TIMEOUT, 4). -define(wxSPLASH_NO_CENTRE, 0). -define(wxSPLASH_CENTRE_ON_SCREEN, 2). -define(wxSPLASH_CENTRE_ON_PARENT, 1). -% From define::From hash.h +% From "generic_2splitter.h" +-define(wxSPLIT_DRAG_NONE, 0). +-define(wxSPLIT_DRAG_DRAGGING, 1). +-define(wxSPLIT_DRAG_LEFT_DOWN, 2). +% From "generic_2splitter.h": wxSplitMode +-define(wxSPLIT_HORIZONTAL, 1). +-define(wxSPLIT_VERTICAL, 2). +% From "glcanvas.h" +-define(WX_GL_RGBA, 1). +-define(WX_GL_BUFFER_SIZE, 2). +-define(WX_GL_LEVEL, 3). +-define(WX_GL_DOUBLEBUFFER, 4). +-define(WX_GL_STEREO, 5). +-define(WX_GL_AUX_BUFFERS, 6). +-define(WX_GL_MIN_RED, 7). +-define(WX_GL_MIN_GREEN, 8). +-define(WX_GL_MIN_BLUE, 9). +-define(WX_GL_MIN_ALPHA, 10). +-define(WX_GL_DEPTH_SIZE, 11). +-define(WX_GL_STENCIL_SIZE, 12). +-define(WX_GL_MIN_ACCUM_RED, 13). +-define(WX_GL_MIN_ACCUM_GREEN, 14). +-define(WX_GL_MIN_ACCUM_BLUE, 15). +-define(WX_GL_MIN_ACCUM_ALPHA, 16). +% From "hash.h" -define(wxHASH_SIZE_DEFAULT, 1000). -% From define::From htmlwin.h +% From "htmlwin.h" -define(wxHW_DEFAULT_STYLE, ?wxHW_SCROLLBAR_AUTO). -define(wxHW_NO_SELECTION, 8). -define(wxHW_SCROLLBAR_AUTO, 4). -define(wxHW_SCROLLBAR_NEVER, 2). -% From define::From imaglist.h +% From "htmlwin.h": wxHtmlOpeningStatus +-define(wxHTML_OPEN, 0). +-define(wxHTML_BLOCK, 1). +-define(wxHTML_REDIRECT, 2). +% From "htmprint.h" +-define(wxPAGE_ODD, 0). +-define(wxPAGE_EVEN, 1). +-define(wxPAGE_ALL, 2). +% From "imagbmp.h" +-define(wxBMP_24BPP, 24). +-define(wxBMP_8BPP, 8). +-define(wxBMP_8BPP_GREY, 9). +-define(wxBMP_8BPP_GRAY, ?wxBMP_8BPP_GREY). +-define(wxBMP_8BPP_RED, 10). +-define(wxBMP_8BPP_PALETTE, 11). +-define(wxBMP_4BPP, 4). +-define(wxBMP_1BPP, 1). +-define(wxBMP_1BPP_BW, 2). +% From "image.h" +-define(wxIMAGE_RESOLUTION_INCHES, 1). +-define(wxIMAGE_RESOLUTION_CM, 2). +% From "image.h" +-define(wxIMAGE_QUALITY_NORMAL, 0). +-define(wxIMAGE_QUALITY_HIGH, 1). +% From "imaglist.h" +-define(wxIMAGE_LIST_NORMAL, 0). +-define(wxIMAGE_LIST_SMALL, 1). +-define(wxIMAGE_LIST_STATE, 2). +% From "imaglist.h" -define(wxIMAGELIST_DRAW_FOCUSED, 8). -define(wxIMAGELIST_DRAW_SELECTED, 4). -define(wxIMAGELIST_DRAW_TRANSPARENT, 2). -define(wxIMAGELIST_DRAW_NORMAL, 1). -% From define::From layout.h +% From "intl.h": wxLayoutDirection +-define(wxLayout_Default, 0). +-define(wxLayout_LeftToRight, 1). +-define(wxLayout_RightToLeft, 2). +% From "layout.h" -define(wxLAYOUT_DEFAULT_MARGIN, 0). -% From define::From listbase.h +% From "layout.h": wxEdge +-define(wxLeft, 0). +-define(wxTop, 1). +-define(wxRight, 2). +-define(wxBottom, 3). +-define(wxWidth, 4). +-define(wxHeight, 5). +-define(wxCentre, 6). +-define(wxCenter, ?wxCentre). +-define(wxCentreX, (?wxCentre+1)). +-define(wxCentreY, (?wxCentre+2)). +% From "layout.h": wxRelationship +-define(wxUnconstrained, 0). +-define(wxAsIs, 1). +-define(wxPercentOf, 2). +-define(wxAbove, 3). +-define(wxBelow, 4). +-define(wxLeftOf, 5). +-define(wxRightOf, 6). +-define(wxSameAs, 7). +-define(wxAbsolute, 8). +% From "list.h": wxKeyType +-define(wxKEY_NONE, 0). +-define(wxKEY_INTEGER, 1). +-define(wxKEY_STRING, 2). +% From "listbase.h" +-define(wxLIST_NEXT_ABOVE, 0). +-define(wxLIST_NEXT_ALL, 1). +-define(wxLIST_NEXT_BELOW, 2). +-define(wxLIST_NEXT_LEFT, 3). +-define(wxLIST_NEXT_RIGHT, 4). +% From "listbase.h" +-define(wxLIST_ALIGN_DEFAULT, 0). +-define(wxLIST_ALIGN_LEFT, 1). +-define(wxLIST_ALIGN_TOP, 2). +-define(wxLIST_ALIGN_SNAP_TO_GRID, 3). +% From "listbase.h" +-define(wxLIST_AUTOSIZE, -1). +-define(wxLIST_AUTOSIZE_USEHEADER, -2). +% From "listbase.h" +-define(wxLIST_RECT_BOUNDS, 0). +-define(wxLIST_RECT_ICON, 1). +-define(wxLIST_RECT_LABEL, 2). +% From "listbase.h" +-define(wxLIST_FIND_UP, 0). +-define(wxLIST_FIND_DOWN, 1). +-define(wxLIST_FIND_LEFT, 2). +-define(wxLIST_FIND_RIGHT, 3). +% From "listbase.h" -define(wxLIST_HITTEST_ONITEM, (?wxLIST_HITTEST_ONITEMICON bor ?wxLIST_HITTEST_ONITEMLABEL bor ?wxLIST_HITTEST_ONITEMSTATEICON)). -define(wxLIST_HITTEST_TORIGHT, 2048). -define(wxLIST_HITTEST_TOLEFT, 1024). @@ -629,20 +2030,31 @@ -define(wxLC_ICON, 4). -define(wxLC_HRULES, 2). -define(wxLC_VRULES, 1). -% From define::From listbook.h +% From "listbase.h": wxListColumnFormat +-define(wxLIST_FORMAT_LEFT, 0). +-define(wxLIST_FORMAT_RIGHT, 1). +-define(wxLIST_FORMAT_CENTRE, 2). +-define(wxLIST_FORMAT_CENTER, ?wxLIST_FORMAT_CENTRE). +% From "listbook.h" -define(wxLB_ALIGN_MASK, ?wxBK_ALIGN_MASK). -define(wxLB_RIGHT, ?wxBK_RIGHT). -define(wxLB_LEFT, ?wxBK_LEFT). -define(wxLB_BOTTOM, ?wxBK_BOTTOM). -define(wxLB_TOP, ?wxBK_TOP). -define(wxLB_DEFAULT, ?wxBK_DEFAULT). -% From define::From log.h +% From "log.h" -define(wxTRACE_OleCalls, ?wxEmptyString). -define(wxTraceRefCount, 8). -define(wxTraceResAlloc, 4). -define(wxTraceMessages, 2). -define(wxTraceMemAlloc, 1). -% From define::From notebook.h +% From "notebook.h" +-define(wxNB_HITTEST_NOWHERE, ?wxBK_HITTEST_NOWHERE). +-define(wxNB_HITTEST_ONICON, ?wxBK_HITTEST_ONICON). +-define(wxNB_HITTEST_ONLABEL, ?wxBK_HITTEST_ONLABEL). +-define(wxNB_HITTEST_ONITEM, ?wxBK_HITTEST_ONITEM). +-define(wxNB_HITTEST_ONPAGE, ?wxBK_HITTEST_ONPAGE). +% From "notebook.h" -define(wxNB_FLAT, 2048). -define(wxNB_NOPAGETHEME, 1024). -define(wxNB_MULTILINE, 512). @@ -652,9 +2064,9 @@ -define(wxNB_BOTTOM, ?wxBK_BOTTOM). -define(wxNB_TOP, ?wxBK_TOP). -define(wxNB_DEFAULT, ?wxBK_DEFAULT). -% From define::From pickerbase.h +% From "pickerbase.h" -define(wxPB_USE_TEXTCTRL, 2). -% From define::From prntbase.h +% From "prntbase.h" -define(wxID_PREVIEW_GOTO, 8). -define(wxID_PREVIEW_LAST, 7). -define(wxID_PREVIEW_FIRST, 6). @@ -671,7 +2083,11 @@ -define(wxPREVIEW_NEXT, 4). -define(wxPREVIEW_PREVIOUS, 2). -define(wxPREVIEW_PRINT, 1). -% From define::From progdlg.h +% From "prntbase.h": wxPrinterError +-define(wxPRINTER_NO_ERROR, 0). +-define(wxPRINTER_CANCELLED, 1). +-define(wxPRINTER_ERROR, 2). +% From "progdlg.h" -define(wxPD_CAN_SKIP, 128). -define(wxPD_REMAINING_TIME, 64). -define(wxPD_SMOOTH, 32). @@ -680,9 +2096,121 @@ -define(wxPD_AUTO_HIDE, 4). -define(wxPD_APP_MODAL, 2). -define(wxPD_CAN_ABORT, 1). -% From define::From scrolwin.h +% From "region.h": wxRegionContain +-define(wxOutRegion, 0). +-define(wxPartRegion, 1). +-define(wxInRegion, 2). +% From "region.h": wxRegionOp +-define(wxRGN_AND, 0). +-define(wxRGN_COPY, 1). +-define(wxRGN_DIFF, 2). +-define(wxRGN_OR, 3). +-define(wxRGN_XOR, 4). +% From "scrolwin.h" -define(wxScrolledWindowStyle, (?wxHSCROLL bor ?wxVSCROLL)). -% From define::From slider.h +% From "settings.h": wxSystemColour +-define(wxSYS_COLOUR_SCROLLBAR, 0). +-define(wxSYS_COLOUR_BACKGROUND, 1). +-define(wxSYS_COLOUR_DESKTOP, ?wxSYS_COLOUR_BACKGROUND). +-define(wxSYS_COLOUR_ACTIVECAPTION, (?wxSYS_COLOUR_BACKGROUND+1)). +-define(wxSYS_COLOUR_INACTIVECAPTION, (?wxSYS_COLOUR_BACKGROUND+2)). +-define(wxSYS_COLOUR_MENU, (?wxSYS_COLOUR_BACKGROUND+3)). +-define(wxSYS_COLOUR_WINDOW, (?wxSYS_COLOUR_BACKGROUND+4)). +-define(wxSYS_COLOUR_WINDOWFRAME, (?wxSYS_COLOUR_BACKGROUND+5)). +-define(wxSYS_COLOUR_MENUTEXT, (?wxSYS_COLOUR_BACKGROUND+6)). +-define(wxSYS_COLOUR_WINDOWTEXT, (?wxSYS_COLOUR_BACKGROUND+7)). +-define(wxSYS_COLOUR_CAPTIONTEXT, (?wxSYS_COLOUR_BACKGROUND+8)). +-define(wxSYS_COLOUR_ACTIVEBORDER, (?wxSYS_COLOUR_BACKGROUND+9)). +-define(wxSYS_COLOUR_INACTIVEBORDER, (?wxSYS_COLOUR_BACKGROUND+10)). +-define(wxSYS_COLOUR_APPWORKSPACE, (?wxSYS_COLOUR_BACKGROUND+11)). +-define(wxSYS_COLOUR_HIGHLIGHT, (?wxSYS_COLOUR_BACKGROUND+12)). +-define(wxSYS_COLOUR_HIGHLIGHTTEXT, (?wxSYS_COLOUR_BACKGROUND+13)). +-define(wxSYS_COLOUR_BTNFACE, (?wxSYS_COLOUR_BACKGROUND+14)). +-define(wxSYS_COLOUR_3DFACE, ?wxSYS_COLOUR_BTNFACE). +-define(wxSYS_COLOUR_BTNSHADOW, (?wxSYS_COLOUR_BTNFACE+1)). +-define(wxSYS_COLOUR_3DSHADOW, ?wxSYS_COLOUR_BTNSHADOW). +-define(wxSYS_COLOUR_GRAYTEXT, (?wxSYS_COLOUR_BTNSHADOW+1)). +-define(wxSYS_COLOUR_BTNTEXT, (?wxSYS_COLOUR_BTNSHADOW+2)). +-define(wxSYS_COLOUR_INACTIVECAPTIONTEXT, (?wxSYS_COLOUR_BTNSHADOW+3)). +-define(wxSYS_COLOUR_BTNHIGHLIGHT, (?wxSYS_COLOUR_BTNSHADOW+4)). +-define(wxSYS_COLOUR_BTNHILIGHT, ?wxSYS_COLOUR_BTNHIGHLIGHT). +-define(wxSYS_COLOUR_3DHIGHLIGHT, ?wxSYS_COLOUR_BTNHIGHLIGHT). +-define(wxSYS_COLOUR_3DHILIGHT, ?wxSYS_COLOUR_BTNHIGHLIGHT). +-define(wxSYS_COLOUR_3DDKSHADOW, (?wxSYS_COLOUR_BTNHIGHLIGHT+1)). +-define(wxSYS_COLOUR_3DLIGHT, (?wxSYS_COLOUR_BTNHIGHLIGHT+2)). +-define(wxSYS_COLOUR_INFOTEXT, (?wxSYS_COLOUR_BTNHIGHLIGHT+3)). +-define(wxSYS_COLOUR_INFOBK, (?wxSYS_COLOUR_BTNHIGHLIGHT+4)). +-define(wxSYS_COLOUR_LISTBOX, (?wxSYS_COLOUR_BTNHIGHLIGHT+5)). +-define(wxSYS_COLOUR_HOTLIGHT, (?wxSYS_COLOUR_BTNHIGHLIGHT+6)). +-define(wxSYS_COLOUR_GRADIENTACTIVECAPTION, (?wxSYS_COLOUR_BTNHIGHLIGHT+7)). +-define(wxSYS_COLOUR_GRADIENTINACTIVECAPTION, (?wxSYS_COLOUR_BTNHIGHLIGHT+8)). +-define(wxSYS_COLOUR_MENUHILIGHT, (?wxSYS_COLOUR_BTNHIGHLIGHT+9)). +-define(wxSYS_COLOUR_MENUBAR, (?wxSYS_COLOUR_BTNHIGHLIGHT+10)). +-define(wxSYS_COLOUR_LISTBOXTEXT, (?wxSYS_COLOUR_BTNHIGHLIGHT+11)). +-define(wxSYS_COLOUR_MAX, (?wxSYS_COLOUR_BTNHIGHLIGHT+12)). +% From "settings.h": wxSystemFeature +-define(wxSYS_CAN_DRAW_FRAME_DECORATIONS, 1). +-define(wxSYS_CAN_ICONIZE_FRAME, 2). +-define(wxSYS_TABLET_PRESENT, 3). +% From "settings.h": wxSystemFont +-define(wxSYS_OEM_FIXED_FONT, 10). +-define(wxSYS_ANSI_FIXED_FONT, 11). +-define(wxSYS_ANSI_VAR_FONT, 12). +-define(wxSYS_SYSTEM_FONT, 13). +-define(wxSYS_DEVICE_DEFAULT_FONT, 14). +-define(wxSYS_DEFAULT_PALETTE, 15). +-define(wxSYS_SYSTEM_FIXED_FONT, 16). +-define(wxSYS_DEFAULT_GUI_FONT, 17). +-define(wxSYS_ICONTITLE_FONT, ?wxSYS_DEFAULT_GUI_FONT). +% From "settings.h": wxSystemMetric +-define(wxSYS_MOUSE_BUTTONS, 1). +-define(wxSYS_BORDER_X, 2). +-define(wxSYS_BORDER_Y, 3). +-define(wxSYS_CURSOR_X, 4). +-define(wxSYS_CURSOR_Y, 5). +-define(wxSYS_DCLICK_X, 6). +-define(wxSYS_DCLICK_Y, 7). +-define(wxSYS_DRAG_X, 8). +-define(wxSYS_DRAG_Y, 9). +-define(wxSYS_EDGE_X, 10). +-define(wxSYS_EDGE_Y, 11). +-define(wxSYS_HSCROLL_ARROW_X, 12). +-define(wxSYS_HSCROLL_ARROW_Y, 13). +-define(wxSYS_HTHUMB_X, 14). +-define(wxSYS_ICON_X, 15). +-define(wxSYS_ICON_Y, 16). +-define(wxSYS_ICONSPACING_X, 17). +-define(wxSYS_ICONSPACING_Y, 18). +-define(wxSYS_WINDOWMIN_X, 19). +-define(wxSYS_WINDOWMIN_Y, 20). +-define(wxSYS_SCREEN_X, 21). +-define(wxSYS_SCREEN_Y, 22). +-define(wxSYS_FRAMESIZE_X, 23). +-define(wxSYS_FRAMESIZE_Y, 24). +-define(wxSYS_SMALLICON_X, 25). +-define(wxSYS_SMALLICON_Y, 26). +-define(wxSYS_HSCROLL_Y, 27). +-define(wxSYS_VSCROLL_X, 28). +-define(wxSYS_VSCROLL_ARROW_X, 29). +-define(wxSYS_VSCROLL_ARROW_Y, 30). +-define(wxSYS_VTHUMB_Y, 31). +-define(wxSYS_CAPTION_Y, 32). +-define(wxSYS_MENU_Y, 33). +-define(wxSYS_NETWORK_PRESENT, 34). +-define(wxSYS_PENWINDOWS_PRESENT, 35). +-define(wxSYS_SHOW_SOUNDS, 36). +-define(wxSYS_SWAP_BUTTONS, 37). +% From "settings.h": wxSystemScreenType +-define(wxSYS_SCREEN_NONE, 0). +-define(wxSYS_SCREEN_TINY, 1). +-define(wxSYS_SCREEN_PDA, 2). +-define(wxSYS_SCREEN_SMALL, 3). +-define(wxSYS_SCREEN_DESKTOP, 4). +% From "sizer.h": wxFlexSizerGrowMode +-define(wxFLEX_GROWMODE_NONE, 0). +-define(wxFLEX_GROWMODE_SPECIFIED, 1). +-define(wxFLEX_GROWMODE_ALL, 2). +% From "slider.h" -define(wxSL_INVERSE, 4096). -define(wxSL_SELRANGE, 2048). -define(wxSL_BOTH, 1024). @@ -695,7 +2223,7 @@ -define(wxSL_TICKS, 16). -define(wxSL_VERTICAL, ?wxVERTICAL). -define(wxSL_HORIZONTAL, ?wxHORIZONTAL). -% From define::From splitter.h +% From "splitter.h" -define(wxSP_3D, (?wxSP_3DBORDER bor ?wxSP_3DSASH)). -define(wxSP_BORDER, ?wxSP_3DBORDER). -define(wxSP_NO_XP_THEME, 1024). @@ -705,11 +2233,11 @@ -define(wxSP_PERMIT_UNSPLIT, 64). -define(wxSP_NOSASH, 16). -define(wxSP_NOBORDER, 0). -% From define::From statusbr.h +% From "statusbr.h" -define(wxSB_RAISED, 2). -define(wxSB_FLAT, 1). -define(wxSB_NORMAL, 0). -% From define::From stc.h +% From "stc.h" -define(wxSTC_CMD_WORDRIGHTENDEXTEND, 2442). -define(wxSTC_CMD_WORDRIGHTEND, 2441). -define(wxSTC_CMD_WORDLEFTENDEXTEND, 2440). @@ -2045,7 +3573,11 @@ -define(wxSTC_START, 2000). -define(wxSTC_INVALID_POSITION, -1). -define(wxSTC_USE_POPUP, 1). -% From define::From textctrl.h +% From "tbarbase.h": wxToolBarToolStyle +-define(wxTOOL_STYLE_BUTTON, 1). +-define(wxTOOL_STYLE_SEPARATOR, 2). +-define(wxTOOL_STYLE_CONTROL, 3). +% From "textctrl.h" -define(wxTEXT_ATTR_TABS, 1024). -define(wxTEXT_ATTR_RIGHT_INDENT, 512). -define(wxTEXT_ATTR_LEFT_INDENT, 256). @@ -2080,11 +3612,51 @@ -define(wxTE_AUTO_SCROLL, 8). -define(wxTE_NO_VSCROLL, 2). -define(wxHAS_TEXT_WINDOW_STREAM, 0). -% From define::From textdlgg.h +% From "textctrl.h": wxTextAttrAlignment +-define(wxTEXT_ALIGNMENT_DEFAULT, 0). +-define(wxTEXT_ALIGNMENT_LEFT, 1). +-define(wxTEXT_ALIGNMENT_CENTRE, 2). +-define(wxTEXT_ALIGNMENT_CENTER, ?wxTEXT_ALIGNMENT_CENTRE). +-define(wxTEXT_ALIGNMENT_RIGHT, (?wxTEXT_ALIGNMENT_CENTRE+1)). +-define(wxTEXT_ALIGNMENT_JUSTIFIED, (?wxTEXT_ALIGNMENT_CENTRE+2)). +% From "textctrl.h": wxTextCtrlHitTestResult +-define(wxTE_HT_UNKNOWN, -2). +-define(wxTE_HT_BEFORE, -1). +-define(wxTE_HT_ON_TEXT, 0). +-define(wxTE_HT_BELOW, 1). +-define(wxTE_HT_BEYOND, 2). +% From "textdlgg.h" -define(wxTextEntryDialogStyle, (?wxOK bor ?wxCANCEL bor ?wxCENTRE bor ?wxWS_EX_VALIDATE_RECURSIVELY)). -% From define::From toolbook.h +% From "toolbar.h" +-define(wxTB_HORIZONTAL, ?wxHORIZONTAL). +-define(wxTB_TOP, ?wxTB_HORIZONTAL). +-define(wxTB_VERTICAL, ?wxVERTICAL). +-define(wxTB_LEFT, ?wxTB_VERTICAL). +-define(wxTB_3DBUTTONS, 16). +-define(wxTB_FLAT, 32). +-define(wxTB_DOCKABLE, 64). +-define(wxTB_NOICONS, 128). +-define(wxTB_TEXT, 256). +-define(wxTB_NODIVIDER, 512). +-define(wxTB_NOALIGN, 1024). +-define(wxTB_HORZ_LAYOUT, 2048). +-define(wxTB_HORZ_TEXT, (?wxTB_HORZ_LAYOUT bor ?wxTB_TEXT)). +-define(wxTB_NO_TOOLTIPS, 4096). +-define(wxTB_BOTTOM, 8192). +-define(wxTB_RIGHT, 16384). +% From "toolbook.h" -define(wxBK_BUTTONBAR, 256). -% From define::From toplevel.h +% From "toplevel.h" +-define(wxFULLSCREEN_NOMENUBAR, 1). +-define(wxFULLSCREEN_NOTOOLBAR, 2). +-define(wxFULLSCREEN_NOSTATUSBAR, 4). +-define(wxFULLSCREEN_NOBORDER, 8). +-define(wxFULLSCREEN_NOCAPTION, 16). +-define(wxFULLSCREEN_ALL, (?wxFULLSCREEN_NOMENUBAR bor ?wxFULLSCREEN_NOTOOLBAR bor ?wxFULLSCREEN_NOSTATUSBAR bor ?wxFULLSCREEN_NOBORDER bor ?wxFULLSCREEN_NOCAPTION)). +% From "toplevel.h" +-define(wxUSER_ATTENTION_INFO, 1). +-define(wxUSER_ATTENTION_ERROR, 2). +% From "toplevel.h" -define(wxTOPLEVEL_EX_DIALOG, 8). -define(wxDEFAULT_FRAME_STYLE, (?wxSYSTEM_MENU bor ?wxRESIZE_BORDER bor ?wxMINIMIZE_BOX bor ?wxMAXIMIZE_BOX bor ?wxCLOSE_BOX bor ?wxCAPTION bor ?wxCLIP_CHILDREN)). -define(wxRESIZE_BORDER, 64). @@ -2098,8 +3670,8 @@ -define(wxMINIMIZE, ?wxICONIZE). -define(wxICONIZE, 16384). -define(wxSTAY_ON_TOP, 32768). -% From define::From treebase.h --define(wxTR_DEFAULT_STYLE, (?wxTR_HAS_BUTTONS bor ?wxTR_LINES_AT_ROOT)). +% From "treebase.h" +-define(wxTR_DEFAULT_STYLE, wxe_util:get_const(wxTR_DEFAULT_STYLE)). -define(wxTR_FULL_ROW_HIGHLIGHT, 8192). -define(wxTR_HIDE_ROOT, 2048). -define(wxTR_ROW_LINES, 1024). @@ -2113,1416 +3685,37 @@ -define(wxTR_NO_LINES, 4). -define(wxTR_HAS_BUTTONS, 1). -define(wxTR_NO_BUTTONS, 0). -% From define::From valtext.h --define(wxFILTER_EXCLUDE_CHAR_LIST, 128). --define(wxFILTER_INCLUDE_CHAR_LIST, 64). --define(wxFILTER_EXCLUDE_LIST, 32). --define(wxFILTER_INCLUDE_LIST, 16). --define(wxFILTER_NUMERIC, 8). --define(wxFILTER_ALPHANUMERIC, 4). --define(wxFILTER_ALPHA, 2). --define(wxFILTER_ASCII, 1). --define(wxFILTER_NONE, 0). -% From define::From version.h --define(wxBETA_NUMBER, wxe_util:get_const(wxBETA_NUMBER)). --define(wxSUBRELEASE_NUMBER, wxe_util:get_const(wxSUBRELEASE_NUMBER)). --define(wxRELEASE_NUMBER, wxe_util:get_const(wxRELEASE_NUMBER)). --define(wxMINOR_VERSION, wxe_util:get_const(wxMINOR_VERSION)). --define(wxMAJOR_VERSION, wxe_util:get_const(wxMAJOR_VERSION)). -% From class wxAuiManager --define(wxAuiManager_actionNone, 0). --define(wxAuiManager_actionResize, 1). --define(wxAuiManager_actionClickButton, 2). --define(wxAuiManager_actionClickCaption, 3). --define(wxAuiManager_actionDragToolbarPane, 4). --define(wxAuiManager_actionDragFloatingPane, 5). -% From wxAuiPaneInfo::wxAuiPaneState --define(wxAuiPaneInfo_optionFloating, 1). --define(wxAuiPaneInfo_optionHidden, 2). --define(wxAuiPaneInfo_optionLeftDockable, 4). --define(wxAuiPaneInfo_optionRightDockable, 8). --define(wxAuiPaneInfo_optionTopDockable, 16). --define(wxAuiPaneInfo_optionBottomDockable, 32). --define(wxAuiPaneInfo_optionFloatable, 64). --define(wxAuiPaneInfo_optionMovable, 128). --define(wxAuiPaneInfo_optionResizable, 256). --define(wxAuiPaneInfo_optionPaneBorder, 512). --define(wxAuiPaneInfo_optionCaption, 1024). --define(wxAuiPaneInfo_optionGripper, 2048). --define(wxAuiPaneInfo_optionDestroyOnClose, 4096). --define(wxAuiPaneInfo_optionToolbar, 8192). --define(wxAuiPaneInfo_optionActive, 16384). --define(wxAuiPaneInfo_optionGripperTop, 32768). --define(wxAuiPaneInfo_optionMaximized, 65536). --define(wxAuiPaneInfo_optionDockFixed, 131072). --define(wxAuiPaneInfo_buttonClose, 2097152). --define(wxAuiPaneInfo_buttonMaximize, 4194304). --define(wxAuiPaneInfo_buttonMinimize, 8388608). --define(wxAuiPaneInfo_buttonPin, 16777216). --define(wxAuiPaneInfo_buttonCustom1, 67108864). --define(wxAuiPaneInfo_buttonCustom2, 134217728). --define(wxAuiPaneInfo_buttonCustom3, 268435456). --define(wxAuiPaneInfo_savedHiddenState, 1073741824). --define(wxAuiPaneInfo_actionPane, 2147483648). -% From wxBitmap::Representation --define(wxBitmap_Pixmap, 0). --define(wxBitmap_Pixbuf, 1). -% From class wxChoicebook --define(wxChoicebook_SetSelection_SendEvent, 1). -% From wxDateTime::Calendar --define(wxDateTime_Gregorian, 0). --define(wxDateTime_Julian, 1). -% From wxDateTime::Country --define(wxDateTime_Country_Unknown, 0). --define(wxDateTime_Country_Default, 1). --define(wxDateTime_Country_WesternEurope_Start, 2). --define(wxDateTime_Country_EEC, ?Country_WesternEurope_Start). --define(wxDateTime_France, (?Country_WesternEurope_Start+1)). --define(wxDateTime_Germany, (?Country_WesternEurope_Start+2)). --define(wxDateTime_UK, (?Country_WesternEurope_Start+3)). --define(wxDateTime_Country_WesternEurope_End, ?UK). --define(wxDateTime_Russia, (?UK+1)). --define(wxDateTime_USA, (?UK+2)). -% From wxDateTime::GregorianAdoption --define(wxDateTime_Gr_Unknown, 0). --define(wxDateTime_Gr_Standard, 1). --define(wxDateTime_Gr_Alaska, 2). --define(wxDateTime_Gr_Albania, 3). --define(wxDateTime_Gr_Austria, ?Gr_Unknown). --define(wxDateTime_Gr_Austria_Brixen, (?Gr_Unknown+1)). --define(wxDateTime_Gr_Austria_Salzburg, ?Gr_Austria_Brixen). --define(wxDateTime_Gr_Austria_Tyrol, ?Gr_Austria_Brixen). --define(wxDateTime_Gr_Austria_Carinthia, (?Gr_Austria_Brixen+1)). --define(wxDateTime_Gr_Austria_Styria, ?Gr_Austria_Carinthia). --define(wxDateTime_Gr_Belgium, (?Gr_Austria_Carinthia+1)). --define(wxDateTime_Gr_Bulgaria, ?Gr_Unknown). --define(wxDateTime_Gr_Bulgaria_1, (?Gr_Unknown+1)). --define(wxDateTime_Gr_Bulgaria_2, (?Gr_Unknown+2)). --define(wxDateTime_Gr_Bulgaria_3, (?Gr_Unknown+3)). --define(wxDateTime_Gr_Canada, ?Gr_Unknown). --define(wxDateTime_Gr_China, ?Gr_Unknown). --define(wxDateTime_Gr_China_1, (?Gr_Unknown+1)). --define(wxDateTime_Gr_China_2, (?Gr_Unknown+2)). --define(wxDateTime_Gr_Czechoslovakia, (?Gr_Unknown+3)). --define(wxDateTime_Gr_Denmark, (?Gr_Unknown+4)). --define(wxDateTime_Gr_Egypt, (?Gr_Unknown+5)). --define(wxDateTime_Gr_Estonia, (?Gr_Unknown+6)). --define(wxDateTime_Gr_Finland, (?Gr_Unknown+7)). --define(wxDateTime_Gr_France, (?Gr_Unknown+8)). --define(wxDateTime_Gr_France_Alsace, (?Gr_Unknown+9)). --define(wxDateTime_Gr_France_Lorraine, (?Gr_Unknown+10)). --define(wxDateTime_Gr_France_Strasbourg, (?Gr_Unknown+11)). --define(wxDateTime_Gr_Germany, ?Gr_Unknown). --define(wxDateTime_Gr_Germany_Catholic, (?Gr_Unknown+1)). --define(wxDateTime_Gr_Germany_Prussia, (?Gr_Unknown+2)). --define(wxDateTime_Gr_Germany_Protestant, (?Gr_Unknown+3)). --define(wxDateTime_Gr_GreatBritain, (?Gr_Unknown+4)). --define(wxDateTime_Gr_Greece, (?Gr_Unknown+5)). --define(wxDateTime_Gr_Hungary, (?Gr_Unknown+6)). --define(wxDateTime_Gr_Ireland, ?Gr_GreatBritain). --define(wxDateTime_Gr_Italy, ?Gr_Standard). --define(wxDateTime_Gr_Japan, ?Gr_Unknown). --define(wxDateTime_Gr_Japan_1, (?Gr_Unknown+1)). --define(wxDateTime_Gr_Japan_2, (?Gr_Unknown+2)). --define(wxDateTime_Gr_Japan_3, (?Gr_Unknown+3)). --define(wxDateTime_Gr_Latvia, (?Gr_Unknown+4)). --define(wxDateTime_Gr_Lithuania, (?Gr_Unknown+5)). --define(wxDateTime_Gr_Luxemburg, (?Gr_Unknown+6)). --define(wxDateTime_Gr_Netherlands, ?Gr_Belgium). --define(wxDateTime_Gr_Netherlands_Groningen, (?Gr_Belgium+1)). --define(wxDateTime_Gr_Netherlands_Gelderland, (?Gr_Belgium+2)). --define(wxDateTime_Gr_Netherlands_Utrecht, (?Gr_Belgium+3)). --define(wxDateTime_Gr_Netherlands_Friesland, (?Gr_Belgium+4)). --define(wxDateTime_Gr_Norway, ?Gr_Denmark). --define(wxDateTime_Gr_Poland, ?Gr_Standard). --define(wxDateTime_Gr_Portugal, ?Gr_Standard). --define(wxDateTime_Gr_Romania, (?Gr_Standard+1)). --define(wxDateTime_Gr_Russia, (?Gr_Standard+2)). --define(wxDateTime_Gr_Scotland, ?Gr_GreatBritain). --define(wxDateTime_Gr_Spain, ?Gr_Standard). --define(wxDateTime_Gr_Sweden, ?Gr_Finland). --define(wxDateTime_Gr_Switzerland, ?Gr_Unknown). --define(wxDateTime_Gr_Switzerland_Catholic, (?Gr_Unknown+1)). --define(wxDateTime_Gr_Switzerland_Protestant, (?Gr_Unknown+2)). --define(wxDateTime_Gr_Turkey, (?Gr_Unknown+3)). --define(wxDateTime_Gr_USA, ?Gr_GreatBritain). --define(wxDateTime_Gr_Wales, ?Gr_GreatBritain). --define(wxDateTime_Gr_Yugoslavia, (?Gr_GreatBritain+1)). -% From wxDateTime::Month --define(wxDateTime_Jan, 0). --define(wxDateTime_Feb, 1). --define(wxDateTime_Mar, 2). --define(wxDateTime_Apr, 3). --define(wxDateTime_May, 4). --define(wxDateTime_Jun, 5). --define(wxDateTime_Jul, 6). --define(wxDateTime_Aug, 7). --define(wxDateTime_Sep, 8). --define(wxDateTime_Oct, 9). --define(wxDateTime_Nov, 10). --define(wxDateTime_Dec, 11). --define(wxDateTime_Inv_Month, 12). -% From wxDateTime::NameFlags --define(wxDateTime_Name_Full, 1). --define(wxDateTime_Name_Abbr, 2). -% From wxDateTime::TZ --define(wxDateTime_Local, 0). --define(wxDateTime_GMT_12, 1). --define(wxDateTime_GMT_11, 2). --define(wxDateTime_GMT_10, 3). --define(wxDateTime_GMT_9, 4). --define(wxDateTime_GMT_8, 5). --define(wxDateTime_GMT_7, 6). --define(wxDateTime_GMT_6, 7). --define(wxDateTime_GMT_5, 8). --define(wxDateTime_GMT_4, 9). --define(wxDateTime_GMT_3, 10). --define(wxDateTime_GMT_2, 11). --define(wxDateTime_GMT_1, 12). --define(wxDateTime_GMT0, 13). --define(wxDateTime_GMT1, 14). --define(wxDateTime_GMT2, 15). --define(wxDateTime_GMT3, 16). --define(wxDateTime_GMT4, 17). --define(wxDateTime_GMT5, 18). --define(wxDateTime_GMT6, 19). --define(wxDateTime_GMT7, 20). --define(wxDateTime_GMT8, 21). --define(wxDateTime_GMT9, 22). --define(wxDateTime_GMT10, 23). --define(wxDateTime_GMT11, 24). --define(wxDateTime_GMT12, 25). --define(wxDateTime_GMT13, 26). --define(wxDateTime_WET, ?GMT0). --define(wxDateTime_WEST, ?GMT1). --define(wxDateTime_CET, ?GMT1). --define(wxDateTime_CEST, ?GMT2). --define(wxDateTime_EET, ?GMT2). --define(wxDateTime_EEST, ?GMT3). --define(wxDateTime_MSK, ?GMT3). --define(wxDateTime_MSD, ?GMT4). --define(wxDateTime_AST, ?GMT_4). --define(wxDateTime_ADT, ?GMT_3). --define(wxDateTime_EST, ?GMT_5). --define(wxDateTime_EDT, ?GMT_4). --define(wxDateTime_CST, ?GMT_6). --define(wxDateTime_CDT, ?GMT_5). --define(wxDateTime_MST, ?GMT_7). --define(wxDateTime_MDT, ?GMT_6). --define(wxDateTime_PST, ?GMT_8). --define(wxDateTime_PDT, ?GMT_7). --define(wxDateTime_HST, ?GMT_10). --define(wxDateTime_AKST, ?GMT_9). --define(wxDateTime_AKDT, ?GMT_8). --define(wxDateTime_A_WST, ?GMT8). --define(wxDateTime_A_CST, ?GMT13+1). --define(wxDateTime_A_EST, ?GMT10). --define(wxDateTime_A_ESST, ?GMT11). --define(wxDateTime_NZST, ?GMT12). --define(wxDateTime_NZDT, ?GMT13). --define(wxDateTime_UTC, ?GMT0). -% From wxDateTime::WeekDay --define(wxDateTime_Sun, 0). --define(wxDateTime_Mon, 1). --define(wxDateTime_Tue, 2). --define(wxDateTime_Wed, 3). --define(wxDateTime_Thu, 4). --define(wxDateTime_Fri, 5). --define(wxDateTime_Sat, 6). --define(wxDateTime_Inv_WeekDay, 7). -% From wxDateTime::WeekFlags --define(wxDateTime_Default_First, 0). --define(wxDateTime_Monday_First, 1). --define(wxDateTime_Sunday_First, 2). -% From wxDateTime::Year --define(wxDateTime_Inv_Year, ?SHRT_MIN). -% From class wxDialog --define(wxDialog_ButtonSizerFlags, (?wxOK bor ?wxCANCEL bor ?wxYES bor ?wxNO bor ?wxHELP bor ?wxNO_DEFAULT)). -% From class wxGrid --define(wxGrid_wxGRID_CELLCTRL, 2000). --define(wxGrid_wxGRID_TOPCTRL, 2001). -% From class wxGrid --define(wxGrid_wxGRID_TEXTCTRL, 2100). --define(wxGrid_wxGRID_CHECKBOX, 2101). --define(wxGrid_wxGRID_CHOICE, 2102). --define(wxGrid_wxGRID_COMBOBOX, 2103). -% From wxGrid::CursorMode --define(wxGrid_WXGRID_CURSOR_SELECT_CELL, 0). --define(wxGrid_WXGRID_CURSOR_RESIZE_ROW, 1). --define(wxGrid_WXGRID_CURSOR_RESIZE_COL, 2). --define(wxGrid_WXGRID_CURSOR_SELECT_ROW, 3). --define(wxGrid_WXGRID_CURSOR_SELECT_COL, 4). --define(wxGrid_WXGRID_CURSOR_MOVE_COL, 5). -% From wxGrid::wxGridSelectionModes --define(wxGrid_wxGridSelectCells, 0). --define(wxGrid_wxGridSelectRows, 1). --define(wxGrid_wxGridSelectColumns, 2). -% From wxGridCellAttr::wxAttrKind --define(wxGridCellAttr_Any, 0). --define(wxGridCellAttr_Default, 1). --define(wxGridCellAttr_Cell, 2). --define(wxGridCellAttr_Row, 3). --define(wxGridCellAttr_Col, 4). --define(wxGridCellAttr_Merged, 5). -% From wxGridCellAttr::wxAttrOverflowMode --define(wxGridCellAttr_UnsetOverflow, -1). --define(wxGridCellAttr_Overflow, 0). --define(wxGridCellAttr_SingleCell, 1). -% From wxGridCellAttr::wxAttrReadMode --define(wxGridCellAttr_Unset, -1). --define(wxGridCellAttr_ReadWrite, 0). --define(wxGridCellAttr_ReadOnly, 1). -% From wxHelpEvent::Origin --define(wxHelpEvent_Origin_Unknown, 0). --define(wxHelpEvent_Origin_Keyboard, 1). --define(wxHelpEvent_Origin_HelpButton, 2). -% From wxHtmlEasyPrinting::FontMode --define(wxHtmlEasyPrinting_FontMode_Explicit, 0). --define(wxHtmlEasyPrinting_FontMode_Standard, 1). -% From wxHtmlWindow::ClipboardType --define(wxHtmlWindow_Primary, 0). --define(wxHtmlWindow_Secondary, 1). -% From class wxListbook --define(wxListbook_SetSelection_SendEvent, 1). -% From class wxNavigationKeyEvent --define(wxNavigationKeyEvent_IsBackward, 0). --define(wxNavigationKeyEvent_IsForward, 1). --define(wxNavigationKeyEvent_WinChange, 2). --define(wxNavigationKeyEvent_FromTab, 4). -% From class wxNotebook --define(wxNotebook_SetSelection_SendEvent, 1). -% From class wxProgressDialog --define(wxProgressDialog_Uncancelable, -1). --define(wxProgressDialog_Canceled, 0). --define(wxProgressDialog_Continue, 1). --define(wxProgressDialog_Finished, 2). -% From class wxSizerItem --define(wxSizerItem_Item_None, 0). --define(wxSizerItem_Item_Window, 1). --define(wxSizerItem_Item_Sizer, 2). --define(wxSizerItem_Item_Spacer, 3). --define(wxSizerItem_Item_Max, 4). -% From class wxTextCtrl --define(wxTextCtrl_SetValue_SendEvent, 1). --define(wxTextCtrl_SetValue_SelectionOnly, 2). -% From class wxToolbook --define(wxToolbook_SetSelection_SendEvent, 1). -% From class wxTreebook --define(wxTreebook_SetSelection_SendEvent, 1). -% From wxWindow::MoveKind --define(wxWindow_MoveBefore, 0). --define(wxWindow_MoveAfter, 1). -% From wxWindowGTK::ScrollDir --define(wxWindowGTK_ScrollDir_Horz, 0). --define(wxWindowGTK_ScrollDir_Vert, 1). --define(wxWindowGTK_ScrollDir_Max, 2). -% From wxWindowGTK::ScrollUnit --define(wxWindowGTK_ScrollUnit_Line, 0). --define(wxWindowGTK_ScrollUnit_Page, 1). --define(wxWindowGTK_ScrollUnit_Max, 2). --define(wxACCEL_NORMAL, 0). --define(wxACCEL_ALT, 1). --define(wxACCEL_CTRL, 2). --define(wxACCEL_SHIFT, 4). --define(wxACCEL_CMD, ?wxACCEL_CTRL). --define(wxPRINT_WINDOWS, 1). --define(wxPRINT_POSTSCRIPT, 2). --define(wxBK_HITTEST_NOWHERE, 1). --define(wxBK_HITTEST_ONICON, 2). --define(wxBK_HITTEST_ONLABEL, 4). --define(wxBK_HITTEST_ONITEM, (?wxBK_HITTEST_ONICON bor ?wxBK_HITTEST_ONLABEL)). --define(wxBK_HITTEST_ONPAGE, 8). --define(wxCAL_SUNDAY_FIRST, 0). --define(wxCAL_MONDAY_FIRST, 1). --define(wxCAL_SHOW_HOLIDAYS, 2). --define(wxCAL_NO_YEAR_CHANGE, 4). --define(wxCAL_NO_MONTH_CHANGE, 12). --define(wxCAL_SEQUENTIAL_MONTH_SELECTION, 16). --define(wxCAL_SHOW_SURROUNDING_WEEKS, 32). --define(wxDP_DEFAULT, 0). --define(wxDP_SPIN, 1). --define(wxDP_DROPDOWN, 2). --define(wxDP_SHOWCENTURY, 4). --define(wxDP_ALLOWNONE, 8). --define(wxDefaultCoord, -1). --define(wxDIRCTRL_DIR_ONLY, 16). --define(wxDIRCTRL_SELECT_FIRST, 32). --define(wxDIRCTRL_SHOW_FILTERS, 64). --define(wxDIRCTRL_3D_INTERNAL, 128). --define(wxDIRCTRL_EDIT_LABELS, 256). --define(wxDrag_CopyOnly, 0). --define(wxDrag_AllowMove, 1). --define(wxDrag_DefaultMove, 3). --define(wxMOUSE_BTN_ANY, -1). --define(wxMOUSE_BTN_NONE, 0). --define(wxMOUSE_BTN_LEFT, 1). --define(wxMOUSE_BTN_MIDDLE, 2). --define(wxMOUSE_BTN_RIGHT, 3). --define(wxFD_OPEN, 1). --define(wxFD_SAVE, 2). --define(wxFD_OVERWRITE_PROMPT, 4). --define(wxFD_FILE_MUST_EXIST, 16). --define(wxFD_MULTIPLE, 32). --define(wxFD_CHANGE_DIR, 128). --define(wxFD_PREVIEW, 256). --define(wxFONTFLAG_DEFAULT, 0). --define(wxFONTFLAG_ITALIC, 1). --define(wxFONTFLAG_SLANT, 2). --define(wxFONTFLAG_LIGHT, 4). --define(wxFONTFLAG_BOLD, 8). --define(wxFONTFLAG_ANTIALIASED, 16). --define(wxFONTFLAG_NOT_ANTIALIASED, 32). --define(wxFONTFLAG_UNDERLINED, 64). --define(wxFONTFLAG_STRIKETHROUGH, 128). --define(wxFONTFLAG_MASK, (?wxFONTFLAG_ITALIC bor ?wxFONTFLAG_SLANT bor ?wxFONTFLAG_LIGHT bor ?wxFONTFLAG_BOLD bor ?wxFONTFLAG_ANTIALIASED bor ?wxFONTFLAG_NOT_ANTIALIASED bor ?wxFONTFLAG_UNDERLINED bor ?wxFONTFLAG_STRIKETHROUGH)). --define(wxSPLIT_DRAG_NONE, 0). --define(wxSPLIT_DRAG_DRAGGING, 1). --define(wxSPLIT_DRAG_LEFT_DOWN, 2). --define(WX_GL_RGBA, 1). --define(WX_GL_BUFFER_SIZE, 2). --define(WX_GL_LEVEL, 3). --define(WX_GL_DOUBLEBUFFER, 4). --define(WX_GL_STEREO, 5). --define(WX_GL_AUX_BUFFERS, 6). --define(WX_GL_MIN_RED, 7). --define(WX_GL_MIN_GREEN, 8). --define(WX_GL_MIN_BLUE, 9). --define(WX_GL_MIN_ALPHA, 10). --define(WX_GL_DEPTH_SIZE, 11). --define(WX_GL_STENCIL_SIZE, 12). --define(WX_GL_MIN_ACCUM_RED, 13). --define(WX_GL_MIN_ACCUM_GREEN, 14). --define(WX_GL_MIN_ACCUM_BLUE, 15). --define(WX_GL_MIN_ACCUM_ALPHA, 16). --define(wxPAGE_ODD, 0). --define(wxPAGE_EVEN, 1). --define(wxPAGE_ALL, 2). --define(wxBMP_24BPP, 24). --define(wxBMP_8BPP, 8). --define(wxBMP_8BPP_GREY, 9). --define(wxBMP_8BPP_GRAY, ?wxBMP_8BPP_GREY). --define(wxBMP_8BPP_RED, 10). --define(wxBMP_8BPP_PALETTE, 11). --define(wxBMP_4BPP, 4). --define(wxBMP_1BPP, 1). --define(wxBMP_1BPP_BW, 2). --define(wxIMAGE_RESOLUTION_INCHES, 1). --define(wxIMAGE_RESOLUTION_CM, 2). --define(wxIMAGE_LIST_NORMAL, 0). --define(wxIMAGE_LIST_SMALL, 1). --define(wxIMAGE_LIST_STATE, 2). --define(wxLIST_NEXT_ABOVE, 0). --define(wxLIST_NEXT_ALL, 1). --define(wxLIST_NEXT_BELOW, 2). --define(wxLIST_NEXT_LEFT, 3). --define(wxLIST_NEXT_RIGHT, 4). --define(wxNB_HITTEST_NOWHERE, ?wxBK_HITTEST_NOWHERE). --define(wxNB_HITTEST_ONICON, ?wxBK_HITTEST_ONICON). --define(wxNB_HITTEST_ONLABEL, ?wxBK_HITTEST_ONLABEL). --define(wxNB_HITTEST_ONITEM, ?wxBK_HITTEST_ONITEM). --define(wxNB_HITTEST_ONPAGE, ?wxBK_HITTEST_ONPAGE). --define(wxTB_HORIZONTAL, ?wxHORIZONTAL). --define(wxTB_TOP, ?wxTB_HORIZONTAL). --define(wxTB_VERTICAL, ?wxVERTICAL). --define(wxTB_LEFT, ?wxTB_VERTICAL). --define(wxTB_3DBUTTONS, 16). --define(wxTB_FLAT, 32). --define(wxTB_DOCKABLE, 64). --define(wxTB_NOICONS, 128). --define(wxTB_TEXT, 256). --define(wxTB_NODIVIDER, 512). --define(wxTB_NOALIGN, 1024). --define(wxTB_HORZ_LAYOUT, 2048). --define(wxTB_HORZ_TEXT, (?wxTB_HORZ_LAYOUT bor ?wxTB_TEXT)). --define(wxTB_NO_TOOLTIPS, 4096). --define(wxTB_BOTTOM, 8192). --define(wxTB_RIGHT, 16384). --define(wxFULLSCREEN_NOMENUBAR, 1). --define(wxFULLSCREEN_NOTOOLBAR, 2). --define(wxFULLSCREEN_NOSTATUSBAR, 4). --define(wxFULLSCREEN_NOBORDER, 8). --define(wxFULLSCREEN_NOCAPTION, 16). --define(wxFULLSCREEN_ALL, (?wxFULLSCREEN_NOMENUBAR bor ?wxFULLSCREEN_NOTOOLBAR bor ?wxFULLSCREEN_NOSTATUSBAR bor ?wxFULLSCREEN_NOBORDER bor ?wxFULLSCREEN_NOCAPTION)). +% From "treebase.h": wxTreeItemIcon +-define(wxTreeItemIcon_Normal, 0). +-define(wxTreeItemIcon_Selected, 1). +-define(wxTreeItemIcon_Expanded, 2). +-define(wxTreeItemIcon_SelectedExpanded, 3). +-define(wxTreeItemIcon_Max, 4). +% From "utils.h" -define(wxEXEC_ASYNC, 0). -define(wxEXEC_SYNC, 1). -define(wxEXEC_NOHIDE, 2). -define(wxEXEC_MAKE_GROUP_LEADER, 4). -define(wxEXEC_NODISABLE, 8). --define(wxID_NONE, -3). --define(wxID_SEPARATOR, -2). --define(wxID_ANY, -1). --define(wxID_LOWEST, 4999). --define(wxID_OPEN, 5000). --define(wxID_CLOSE, 5001). --define(wxID_NEW, 5002). --define(wxID_SAVE, 5003). --define(wxID_SAVEAS, 5004). --define(wxID_REVERT, 5005). --define(wxID_EXIT, 5006). --define(wxID_UNDO, 5007). --define(wxID_REDO, 5008). --define(wxID_HELP, 5009). --define(wxID_PRINT, 5010). --define(wxID_PRINT_SETUP, 5011). --define(wxID_PAGE_SETUP, 5012). --define(wxID_PREVIEW, 5013). --define(wxID_ABOUT, 5014). --define(wxID_HELP_CONTENTS, 5015). --define(wxID_HELP_INDEX, 5016). --define(wxID_HELP_SEARCH, 5017). --define(wxID_HELP_COMMANDS, 5018). --define(wxID_HELP_PROCEDURES, 5019). --define(wxID_HELP_CONTEXT, 5020). --define(wxID_CLOSE_ALL, 5021). --define(wxID_PREFERENCES, 5022). --define(wxID_EDIT, 5030). --define(wxID_CUT, 5031). --define(wxID_COPY, 5032). --define(wxID_PASTE, 5033). --define(wxID_CLEAR, 5034). --define(wxID_FIND, 5035). --define(wxID_DUPLICATE, 5036). --define(wxID_SELECTALL, 5037). --define(wxID_DELETE, 5038). --define(wxID_REPLACE, 5039). --define(wxID_REPLACE_ALL, 5040). --define(wxID_PROPERTIES, 5041). --define(wxID_VIEW_DETAILS, 5042). --define(wxID_VIEW_LARGEICONS, 5043). --define(wxID_VIEW_SMALLICONS, 5044). --define(wxID_VIEW_LIST, 5045). --define(wxID_VIEW_SORTDATE, 5046). --define(wxID_VIEW_SORTNAME, 5047). --define(wxID_VIEW_SORTSIZE, 5048). --define(wxID_VIEW_SORTTYPE, 5049). --define(wxID_FILE, 5050). --define(wxID_FILE1, 5051). --define(wxID_FILE2, 5052). --define(wxID_FILE3, 5053). --define(wxID_FILE4, 5054). --define(wxID_FILE5, 5055). --define(wxID_FILE6, 5056). --define(wxID_FILE7, 5057). --define(wxID_FILE8, 5058). --define(wxID_FILE9, 5059). --define(wxID_OK, 5100). --define(wxID_CANCEL, 5101). --define(wxID_APPLY, 5102). --define(wxID_YES, 5103). --define(wxID_NO, 5104). --define(wxID_STATIC, 5105). --define(wxID_FORWARD, 5106). --define(wxID_BACKWARD, 5107). --define(wxID_DEFAULT, 5108). --define(wxID_MORE, 5109). --define(wxID_SETUP, 5110). --define(wxID_RESET, 5111). --define(wxID_CONTEXT_HELP, 5112). --define(wxID_YESTOALL, 5113). --define(wxID_NOTOALL, 5114). --define(wxID_ABORT, 5115). --define(wxID_RETRY, 5116). --define(wxID_IGNORE, 5117). --define(wxID_ADD, 5118). --define(wxID_REMOVE, 5119). --define(wxID_UP, 5120). --define(wxID_DOWN, 5121). --define(wxID_HOME, 5122). --define(wxID_REFRESH, 5123). --define(wxID_STOP, 5124). --define(wxID_INDEX, 5125). --define(wxID_BOLD, 5126). --define(wxID_ITALIC, 5127). --define(wxID_JUSTIFY_CENTER, 5128). --define(wxID_JUSTIFY_FILL, 5129). --define(wxID_JUSTIFY_RIGHT, 5130). --define(wxID_JUSTIFY_LEFT, 5131). --define(wxID_UNDERLINE, 5132). --define(wxID_INDENT, 5133). --define(wxID_UNINDENT, 5134). --define(wxID_ZOOM_100, 5135). --define(wxID_ZOOM_FIT, 5136). --define(wxID_ZOOM_IN, 5137). --define(wxID_ZOOM_OUT, 5138). --define(wxID_UNDELETE, 5139). --define(wxID_REVERT_TO_SAVED, 5140). --define(wxID_SYSTEM_MENU, 5200). --define(wxID_CLOSE_FRAME, 5201). --define(wxID_MOVE_FRAME, 5202). --define(wxID_RESIZE_FRAME, 5203). --define(wxID_MAXIMIZE_FRAME, 5204). --define(wxID_ICONIZE_FRAME, 5205). --define(wxID_RESTORE_FRAME, 5206). --define(wxID_FILEDLGG, 5900). --define(wxID_HIGHEST, 5999). --define(wxJOYSTICK1, 0). --define(wxJOYSTICK2, 1). --define(wxIMAGE_QUALITY_NORMAL, 0). --define(wxIMAGE_QUALITY_HIGH, 1). --define(wxLIST_ALIGN_DEFAULT, 0). --define(wxLIST_ALIGN_LEFT, 1). --define(wxLIST_ALIGN_TOP, 2). --define(wxLIST_ALIGN_SNAP_TO_GRID, 3). --define(wxUSER_ATTENTION_INFO, 1). --define(wxUSER_ATTENTION_ERROR, 2). +% From "utils.h" -define(wxBROWSER_NEW_WINDOW, 1). --define(wxDEFAULT, 70). --define(wxDECORATIVE, 71). --define(wxROMAN, 72). --define(wxSCRIPT, 73). --define(wxSWISS, 74). --define(wxMODERN, 75). --define(wxTELETYPE, 76). --define(wxVARIABLE, 80). --define(wxFIXED, 81). --define(wxNORMAL, 90). --define(wxLIGHT, 91). --define(wxBOLD, 92). --define(wxITALIC, 93). --define(wxSLANT, 94). --define(wxSOLID, 100). --define(wxDOT, 101). --define(wxLONG_DASH, 102). --define(wxSHORT_DASH, 103). --define(wxDOT_DASH, 104). --define(wxUSER_DASH, 105). --define(wxTRANSPARENT, 106). --define(wxSTIPPLE_MASK_OPAQUE, 107). --define(wxSTIPPLE_MASK, 108). --define(wxSTIPPLE, 110). --define(wxBDIAGONAL_HATCH, 111). --define(wxCROSSDIAG_HATCH, 112). --define(wxFDIAGONAL_HATCH, 113). --define(wxCROSS_HATCH, 114). --define(wxHORIZONTAL_HATCH, 115). --define(wxVERTICAL_HATCH, 116). --define(wxFIRST_HATCH, ?wxBDIAGONAL_HATCH). --define(wxLAST_HATCH, ?wxVERTICAL_HATCH). --define(wxJOIN_BEVEL, 120). --define(wxJOIN_MITER, 121). --define(wxJOIN_ROUND, 122). --define(wxCAP_ROUND, 130). --define(wxCAP_PROJECTING, 131). --define(wxCAP_BUTT, 132). --define(wxJOY_BUTTON_ANY, -1). --define(wxJOY_BUTTON1, 1). --define(wxJOY_BUTTON2, 2). --define(wxJOY_BUTTON3, 4). --define(wxJOY_BUTTON4, 8). --define(wxLIST_AUTOSIZE, -1). --define(wxLIST_AUTOSIZE_USEHEADER, -2). +% From "utils.h" -define(wxStrip_Mnemonics, 1). -define(wxStrip_Accel, 2). -define(wxStrip_All, (?wxStrip_Mnemonics bor ?wxStrip_Accel)). --define(wxFLOOD_SURFACE, 1). --define(wxFLOOD_BORDER, 2). --define(wxLIST_RECT_BOUNDS, 0). --define(wxLIST_RECT_ICON, 1). --define(wxLIST_RECT_LABEL, 2). --define(wxODDEVEN_RULE, 1). --define(wxWINDING_RULE, 2). --define(wxLIST_FIND_UP, 0). --define(wxLIST_FIND_DOWN, 1). --define(wxLIST_FIND_LEFT, 2). --define(wxLIST_FIND_RIGHT, 3). --define(wxTOOL_TOP, 1). --define(wxTOOL_BOTTOM, 2). --define(wxTOOL_LEFT, 3). --define(wxTOOL_RIGHT, 4). --define(wxMM_TEXT, 1). --define(wxMM_LOMETRIC, 2). --define(wxMM_HIMETRIC, 3). --define(wxMM_LOENGLISH, 4). --define(wxMM_HIENGLISH, 5). --define(wxMM_TWIPS, 6). --define(wxMM_ISOTROPIC, 7). --define(wxMM_ANISOTROPIC, 8). --define(wxMM_POINTS, 9). --define(wxMM_METRIC, 10). -% Type Propagation_state --define(wxEVENT_PROPAGATE_NONE, 0). --define(wxEVENT_PROPAGATE_MAX, ?INT_MAX). -% Type form_ops_t --define(wxCLEAR, 0). --define(wxROP_BLACK, ?wxCLEAR). --define(wxBLIT_BLACKNESS, ?wxCLEAR). --define(wxXOR, (?wxCLEAR+1)). --define(wxROP_XORPEN, ?wxXOR). --define(wxBLIT_SRCINVERT, ?wxXOR). --define(wxINVERT, (?wxXOR+1)). --define(wxROP_NOT, ?wxINVERT). --define(wxBLIT_DSTINVERT, ?wxINVERT). --define(wxOR_REVERSE, (?wxINVERT+1)). --define(wxROP_MERGEPENNOT, ?wxOR_REVERSE). --define(wxBLIT_00DD0228, ?wxOR_REVERSE). --define(wxAND_REVERSE, (?wxOR_REVERSE+1)). --define(wxROP_MASKPENNOT, ?wxAND_REVERSE). --define(wxBLIT_SRCERASE, ?wxAND_REVERSE). --define(wxCOPY, (?wxAND_REVERSE+1)). --define(wxROP_COPYPEN, ?wxCOPY). --define(wxBLIT_SRCCOPY, ?wxCOPY). --define(wxAND, (?wxCOPY+1)). --define(wxROP_MASKPEN, ?wxAND). --define(wxBLIT_SRCAND, ?wxAND). --define(wxAND_INVERT, (?wxAND+1)). --define(wxROP_MASKNOTPEN, ?wxAND_INVERT). --define(wxBLIT_00220326, ?wxAND_INVERT). --define(wxNO_OP, (?wxAND_INVERT+1)). --define(wxROP_NOP, ?wxNO_OP). --define(wxBLIT_00AA0029, ?wxNO_OP). --define(wxNOR, (?wxNO_OP+1)). --define(wxROP_NOTMERGEPEN, ?wxNOR). --define(wxBLIT_NOTSRCERASE, ?wxNOR). --define(wxEQUIV, (?wxNOR+1)). --define(wxROP_NOTXORPEN, ?wxEQUIV). --define(wxBLIT_00990066, ?wxEQUIV). --define(wxSRC_INVERT, (?wxEQUIV+1)). --define(wxROP_NOTCOPYPEN, ?wxSRC_INVERT). --define(wxBLIT_NOTSCRCOPY, ?wxSRC_INVERT). --define(wxOR_INVERT, (?wxSRC_INVERT+1)). --define(wxROP_MERGENOTPEN, ?wxOR_INVERT). --define(wxBLIT_MERGEPAINT, ?wxOR_INVERT). --define(wxNAND, (?wxOR_INVERT+1)). --define(wxROP_NOTMASKPEN, ?wxNAND). --define(wxBLIT_007700E6, ?wxNAND). --define(wxOR, (?wxNAND+1)). --define(wxROP_MERGEPEN, ?wxOR). --define(wxBLIT_SRCPAINT, ?wxOR). --define(wxSET, (?wxOR+1)). --define(wxROP_WHITE, ?wxSET). --define(wxBLIT_WHITENESS, ?wxSET). -% Type wxAlignment --define(wxALIGN_NOT, 0). --define(wxALIGN_CENTER_HORIZONTAL, 256). --define(wxALIGN_CENTRE_HORIZONTAL, ?wxALIGN_CENTER_HORIZONTAL). --define(wxALIGN_LEFT, ?wxALIGN_NOT). --define(wxALIGN_TOP, ?wxALIGN_NOT). --define(wxALIGN_RIGHT, 512). --define(wxALIGN_BOTTOM, 1024). --define(wxALIGN_CENTER_VERTICAL, 2048). --define(wxALIGN_CENTRE_VERTICAL, ?wxALIGN_CENTER_VERTICAL). --define(wxALIGN_CENTER, (?wxALIGN_CENTER_HORIZONTAL bor ?wxALIGN_CENTER_VERTICAL)). --define(wxALIGN_CENTRE, ?wxALIGN_CENTER). --define(wxALIGN_MASK, 3840). -% Type wxAuiButtonId --define(wxAUI_BUTTON_CLOSE, 101). --define(wxAUI_BUTTON_MAXIMIZE_RESTORE, 102). --define(wxAUI_BUTTON_MINIMIZE, 103). --define(wxAUI_BUTTON_PIN, 104). --define(wxAUI_BUTTON_OPTIONS, 105). --define(wxAUI_BUTTON_WINDOWLIST, 106). --define(wxAUI_BUTTON_LEFT, 107). --define(wxAUI_BUTTON_RIGHT, 108). --define(wxAUI_BUTTON_UP, 109). --define(wxAUI_BUTTON_DOWN, 110). --define(wxAUI_BUTTON_CUSTOM1, 201). --define(wxAUI_BUTTON_CUSTOM2, 202). --define(wxAUI_BUTTON_CUSTOM3, 203). -% Type wxAuiManagerDock --define(wxAUI_DOCK_NONE, 0). --define(wxAUI_DOCK_TOP, 1). --define(wxAUI_DOCK_RIGHT, 2). --define(wxAUI_DOCK_BOTTOM, 3). --define(wxAUI_DOCK_LEFT, 4). --define(wxAUI_DOCK_CENTER, 5). --define(wxAUI_DOCK_CENTRE, ?wxAUI_DOCK_CENTER). -% Type wxAuiManagerOption --define(wxAUI_MGR_ALLOW_FLOATING, 1). --define(wxAUI_MGR_ALLOW_ACTIVE_PANE, 2). --define(wxAUI_MGR_TRANSPARENT_DRAG, 4). --define(wxAUI_MGR_TRANSPARENT_HINT, 8). --define(wxAUI_MGR_VENETIAN_BLINDS_HINT, 16). --define(wxAUI_MGR_RECTANGLE_HINT, 32). --define(wxAUI_MGR_HINT_FADE, 64). --define(wxAUI_MGR_NO_VENETIAN_BLINDS_FADE, 128). --define(wxAUI_MGR_LIVE_RESIZE, 256). --define(wxAUI_MGR_DEFAULT, (?wxAUI_MGR_ALLOW_FLOATING bor ?wxAUI_MGR_TRANSPARENT_HINT bor ?wxAUI_MGR_HINT_FADE bor ?wxAUI_MGR_NO_VENETIAN_BLINDS_FADE)). -% Type wxAuiNotebookOption --define(wxAUI_NB_TOP, 1). --define(wxAUI_NB_LEFT, 2). --define(wxAUI_NB_RIGHT, 4). --define(wxAUI_NB_BOTTOM, 8). --define(wxAUI_NB_TAB_SPLIT, 16). --define(wxAUI_NB_TAB_MOVE, 32). --define(wxAUI_NB_TAB_EXTERNAL_MOVE, 64). --define(wxAUI_NB_TAB_FIXED_WIDTH, 128). --define(wxAUI_NB_SCROLL_BUTTONS, 256). --define(wxAUI_NB_WINDOWLIST_BUTTON, 512). --define(wxAUI_NB_CLOSE_BUTTON, 1024). --define(wxAUI_NB_CLOSE_ON_ACTIVE_TAB, 2048). --define(wxAUI_NB_CLOSE_ON_ALL_TABS, 4096). --define(wxAUI_NB_MIDDLE_CLICK_CLOSE, 8192). --define(wxAUI_NB_DEFAULT_STYLE, (?wxAUI_NB_TOP bor ?wxAUI_NB_TAB_SPLIT bor ?wxAUI_NB_TAB_MOVE bor ?wxAUI_NB_SCROLL_BUTTONS bor ?wxAUI_NB_CLOSE_ON_ACTIVE_TAB bor ?wxAUI_NB_MIDDLE_CLICK_CLOSE)). -% Type wxAuiPaneButtonState --define(wxAUI_BUTTON_STATE_NORMAL, 0). --define(wxAUI_BUTTON_STATE_HOVER, 2). --define(wxAUI_BUTTON_STATE_PRESSED, 4). --define(wxAUI_BUTTON_STATE_DISABLED, 8). --define(wxAUI_BUTTON_STATE_HIDDEN, 16). --define(wxAUI_BUTTON_STATE_CHECKED, 32). -% Type wxAuiPaneDockArtGradients --define(wxAUI_GRADIENT_NONE, 0). --define(wxAUI_GRADIENT_VERTICAL, 1). --define(wxAUI_GRADIENT_HORIZONTAL, 2). -% Type wxAuiPaneDockArtSetting --define(wxAUI_DOCKART_SASH_SIZE, 0). --define(wxAUI_DOCKART_CAPTION_SIZE, 1). --define(wxAUI_DOCKART_GRIPPER_SIZE, 2). --define(wxAUI_DOCKART_PANE_BORDER_SIZE, 3). --define(wxAUI_DOCKART_PANE_BUTTON_SIZE, 4). --define(wxAUI_DOCKART_BACKGROUND_COLOUR, 5). --define(wxAUI_DOCKART_SASH_COLOUR, 6). --define(wxAUI_DOCKART_ACTIVE_CAPTION_COLOUR, 7). --define(wxAUI_DOCKART_ACTIVE_CAPTION_GRADIENT_COLOUR, 8). --define(wxAUI_DOCKART_INACTIVE_CAPTION_COLOUR, 9). --define(wxAUI_DOCKART_INACTIVE_CAPTION_GRADIENT_COLOUR, 10). --define(wxAUI_DOCKART_ACTIVE_CAPTION_TEXT_COLOUR, 11). --define(wxAUI_DOCKART_INACTIVE_CAPTION_TEXT_COLOUR, 12). --define(wxAUI_DOCKART_BORDER_COLOUR, 13). --define(wxAUI_DOCKART_GRIPPER_COLOUR, 14). --define(wxAUI_DOCKART_CAPTION_FONT, 15). --define(wxAUI_DOCKART_GRADIENT_TYPE, 16). -% Type wxAuiPaneInsertLevel --define(wxAUI_INSERT_PANE, 0). --define(wxAUI_INSERT_ROW, 1). --define(wxAUI_INSERT_DOCK, 2). -% Type wxBackgroundStyle --define(wxBG_STYLE_SYSTEM, 0). --define(wxBG_STYLE_COLOUR, 1). --define(wxBG_STYLE_CUSTOM, 2). -% Type wxBitmapType --define(wxBITMAP_TYPE_INVALID, 0). --define(wxBITMAP_TYPE_BMP, 1). --define(wxBITMAP_TYPE_BMP_RESOURCE, 2). --define(wxBITMAP_TYPE_RESOURCE, ?wxBITMAP_TYPE_BMP_RESOURCE). --define(wxBITMAP_TYPE_ICO, (?wxBITMAP_TYPE_BMP_RESOURCE+1)). --define(wxBITMAP_TYPE_ICO_RESOURCE, (?wxBITMAP_TYPE_BMP_RESOURCE+2)). --define(wxBITMAP_TYPE_CUR, (?wxBITMAP_TYPE_BMP_RESOURCE+3)). --define(wxBITMAP_TYPE_CUR_RESOURCE, (?wxBITMAP_TYPE_BMP_RESOURCE+4)). --define(wxBITMAP_TYPE_XBM, (?wxBITMAP_TYPE_BMP_RESOURCE+5)). --define(wxBITMAP_TYPE_XBM_DATA, (?wxBITMAP_TYPE_BMP_RESOURCE+6)). --define(wxBITMAP_TYPE_XPM, (?wxBITMAP_TYPE_BMP_RESOURCE+7)). --define(wxBITMAP_TYPE_XPM_DATA, (?wxBITMAP_TYPE_BMP_RESOURCE+8)). --define(wxBITMAP_TYPE_TIF, (?wxBITMAP_TYPE_BMP_RESOURCE+9)). --define(wxBITMAP_TYPE_TIF_RESOURCE, (?wxBITMAP_TYPE_BMP_RESOURCE+10)). --define(wxBITMAP_TYPE_GIF, (?wxBITMAP_TYPE_BMP_RESOURCE+11)). --define(wxBITMAP_TYPE_GIF_RESOURCE, (?wxBITMAP_TYPE_BMP_RESOURCE+12)). --define(wxBITMAP_TYPE_PNG, (?wxBITMAP_TYPE_BMP_RESOURCE+13)). --define(wxBITMAP_TYPE_PNG_RESOURCE, (?wxBITMAP_TYPE_BMP_RESOURCE+14)). --define(wxBITMAP_TYPE_JPEG, (?wxBITMAP_TYPE_BMP_RESOURCE+15)). --define(wxBITMAP_TYPE_JPEG_RESOURCE, (?wxBITMAP_TYPE_BMP_RESOURCE+16)). --define(wxBITMAP_TYPE_PNM, (?wxBITMAP_TYPE_BMP_RESOURCE+17)). --define(wxBITMAP_TYPE_PNM_RESOURCE, (?wxBITMAP_TYPE_BMP_RESOURCE+18)). --define(wxBITMAP_TYPE_PCX, (?wxBITMAP_TYPE_BMP_RESOURCE+19)). --define(wxBITMAP_TYPE_PCX_RESOURCE, (?wxBITMAP_TYPE_BMP_RESOURCE+20)). --define(wxBITMAP_TYPE_PICT, (?wxBITMAP_TYPE_BMP_RESOURCE+21)). --define(wxBITMAP_TYPE_PICT_RESOURCE, (?wxBITMAP_TYPE_BMP_RESOURCE+22)). --define(wxBITMAP_TYPE_ICON, (?wxBITMAP_TYPE_BMP_RESOURCE+23)). --define(wxBITMAP_TYPE_ICON_RESOURCE, (?wxBITMAP_TYPE_BMP_RESOURCE+24)). --define(wxBITMAP_TYPE_ANI, (?wxBITMAP_TYPE_BMP_RESOURCE+25)). --define(wxBITMAP_TYPE_IFF, (?wxBITMAP_TYPE_BMP_RESOURCE+26)). --define(wxBITMAP_TYPE_TGA, (?wxBITMAP_TYPE_BMP_RESOURCE+27)). --define(wxBITMAP_TYPE_MACCURSOR, (?wxBITMAP_TYPE_BMP_RESOURCE+28)). --define(wxBITMAP_TYPE_MACCURSOR_RESOURCE, (?wxBITMAP_TYPE_BMP_RESOURCE+29)). --define(wxBITMAP_TYPE_ANY, 50). -% Type wxBorder --define(wxBORDER_DEFAULT, 0). --define(wxBORDER_NONE, 2097152). --define(wxBORDER_STATIC, 16777216). --define(wxBORDER_SIMPLE, 33554432). --define(wxBORDER_RAISED, 67108864). --define(wxBORDER_SUNKEN, 134217728). --define(wxBORDER_DOUBLE, 268435456). --define(wxBORDER_THEME, 268435456). --define(wxBORDER_MASK, 522190848). -% Type wxCalendarDateBorder --define(wxCAL_BORDER_NONE, 0). --define(wxCAL_BORDER_SQUARE, 1). --define(wxCAL_BORDER_ROUND, 2). -% Type wxCalendarHitTestResult --define(wxCAL_HITTEST_NOWHERE, 0). --define(wxCAL_HITTEST_HEADER, 1). --define(wxCAL_HITTEST_DAY, 2). --define(wxCAL_HITTEST_INCMONTH, 3). --define(wxCAL_HITTEST_DECMONTH, 4). --define(wxCAL_HITTEST_SURROUNDING_WEEK, 5). -% Type wxCheckBoxState --define(wxCHK_UNCHECKED, 0). --define(wxCHK_CHECKED, 1). --define(wxCHK_UNDETERMINED, 2). -% Type wxClientDataType --define(wxClientData_None, 0). --define(wxClientData_Object, 1). --define(wxClientData_Void, 2). -% Type wxDataFormatId --define(wxDF_INVALID, 0). --define(wxDF_TEXT, 1). --define(wxDF_BITMAP, 2). --define(wxDF_METAFILE, 3). --define(wxDF_SYLK, 4). --define(wxDF_DIF, 5). --define(wxDF_TIFF, 6). --define(wxDF_OEMTEXT, 7). --define(wxDF_DIB, 8). --define(wxDF_PALETTE, 9). --define(wxDF_PENDATA, 10). --define(wxDF_RIFF, 11). --define(wxDF_WAVE, 12). --define(wxDF_UNICODETEXT, 13). --define(wxDF_ENHMETAFILE, 14). --define(wxDF_FILENAME, 15). --define(wxDF_LOCALE, 16). --define(wxDF_PRIVATE, 20). --define(wxDF_HTML, 30). --define(wxDF_MAX, 31). -% Type wxDirection --define(wxLEFT, 16). --define(wxRIGHT, 32). --define(wxUP, 64). --define(wxDOWN, 128). --define(wxTOP, ?wxUP). --define(wxBOTTOM, ?wxDOWN). --define(wxNORTH, ?wxUP). --define(wxSOUTH, ?wxDOWN). --define(wxWEST, ?wxLEFT). --define(wxEAST, ?wxRIGHT). --define(wxALL, (?wxUP bor ?wxDOWN bor ?wxRIGHT bor ?wxLEFT)). -% Type wxDragResult --define(wxDragError, 0). --define(wxDragNone, 1). --define(wxDragCopy, 2). --define(wxDragMove, 3). --define(wxDragLink, 4). --define(wxDragCancel, 5). -% Type wxDuplexMode --define(wxDUPLEX_SIMPLEX, 0). --define(wxDUPLEX_HORIZONTAL, 1). --define(wxDUPLEX_VERTICAL, 2). -% Type wxEdge --define(wxLeft, 0). --define(wxTop, 1). --define(wxRight, 2). --define(wxBottom, 3). --define(wxWidth, 4). --define(wxHeight, 5). --define(wxCentre, 6). --define(wxCenter, ?wxCentre). --define(wxCentreX, (?wxCentre+1)). --define(wxCentreY, (?wxCentre+2)). -% Type wxFindReplaceDialogStyles --define(wxFR_REPLACEDIALOG, 1). --define(wxFR_NOUPDOWN, 2). --define(wxFR_NOMATCHCASE, 4). --define(wxFR_NOWHOLEWORD, 8). -% Type wxFindReplaceFlags --define(wxFR_DOWN, 1). --define(wxFR_WHOLEWORD, 2). --define(wxFR_MATCHCASE, 4). -% Type wxFlexSizerGrowMode --define(wxFLEX_GROWMODE_NONE, 0). --define(wxFLEX_GROWMODE_SPECIFIED, 1). --define(wxFLEX_GROWMODE_ALL, 2). -% Type wxFontEncoding --define(wxFONTENCODING_SYSTEM, -1). --define(wxFONTENCODING_DEFAULT, 0). --define(wxFONTENCODING_ISO8859_1, 1). --define(wxFONTENCODING_ISO8859_2, 2). --define(wxFONTENCODING_ISO8859_3, 3). --define(wxFONTENCODING_ISO8859_4, 4). --define(wxFONTENCODING_ISO8859_5, 5). --define(wxFONTENCODING_ISO8859_6, 6). --define(wxFONTENCODING_ISO8859_7, 7). --define(wxFONTENCODING_ISO8859_8, 8). --define(wxFONTENCODING_ISO8859_9, 9). --define(wxFONTENCODING_ISO8859_10, 10). --define(wxFONTENCODING_ISO8859_11, 11). --define(wxFONTENCODING_ISO8859_12, 12). --define(wxFONTENCODING_ISO8859_13, 13). --define(wxFONTENCODING_ISO8859_14, 14). --define(wxFONTENCODING_ISO8859_15, 15). --define(wxFONTENCODING_ISO8859_MAX, 16). --define(wxFONTENCODING_KOI8, 17). --define(wxFONTENCODING_KOI8_U, 18). --define(wxFONTENCODING_ALTERNATIVE, 19). --define(wxFONTENCODING_BULGARIAN, 20). --define(wxFONTENCODING_CP437, 21). --define(wxFONTENCODING_CP850, 22). --define(wxFONTENCODING_CP852, 23). --define(wxFONTENCODING_CP855, 24). --define(wxFONTENCODING_CP866, 25). --define(wxFONTENCODING_CP874, 26). --define(wxFONTENCODING_CP932, 27). --define(wxFONTENCODING_CP936, 28). --define(wxFONTENCODING_CP949, 29). --define(wxFONTENCODING_CP950, 30). --define(wxFONTENCODING_CP1250, 31). --define(wxFONTENCODING_CP1251, 32). --define(wxFONTENCODING_CP1252, 33). --define(wxFONTENCODING_CP1253, 34). --define(wxFONTENCODING_CP1254, 35). --define(wxFONTENCODING_CP1255, 36). --define(wxFONTENCODING_CP1256, 37). --define(wxFONTENCODING_CP1257, 38). --define(wxFONTENCODING_CP12_MAX, 39). --define(wxFONTENCODING_UTF7, 40). --define(wxFONTENCODING_UTF8, 41). --define(wxFONTENCODING_EUC_JP, 42). --define(wxFONTENCODING_UTF16BE, 43). --define(wxFONTENCODING_UTF16LE, 44). --define(wxFONTENCODING_UTF32BE, 45). --define(wxFONTENCODING_UTF32LE, 46). --define(wxFONTENCODING_MACROMAN, 47). --define(wxFONTENCODING_MACJAPANESE, 48). --define(wxFONTENCODING_MACCHINESETRAD, 49). --define(wxFONTENCODING_MACKOREAN, 50). --define(wxFONTENCODING_MACARABIC, 51). --define(wxFONTENCODING_MACHEBREW, 52). --define(wxFONTENCODING_MACGREEK, 53). --define(wxFONTENCODING_MACCYRILLIC, 54). --define(wxFONTENCODING_MACDEVANAGARI, 55). --define(wxFONTENCODING_MACGURMUKHI, 56). --define(wxFONTENCODING_MACGUJARATI, 57). --define(wxFONTENCODING_MACORIYA, 58). --define(wxFONTENCODING_MACBENGALI, 59). --define(wxFONTENCODING_MACTAMIL, 60). --define(wxFONTENCODING_MACTELUGU, 61). --define(wxFONTENCODING_MACKANNADA, 62). --define(wxFONTENCODING_MACMALAJALAM, 63). --define(wxFONTENCODING_MACSINHALESE, 64). --define(wxFONTENCODING_MACBURMESE, 65). --define(wxFONTENCODING_MACKHMER, 66). --define(wxFONTENCODING_MACTHAI, 67). --define(wxFONTENCODING_MACLAOTIAN, 68). --define(wxFONTENCODING_MACGEORGIAN, 69). --define(wxFONTENCODING_MACARMENIAN, 70). --define(wxFONTENCODING_MACCHINESESIMP, 71). --define(wxFONTENCODING_MACTIBETAN, 72). --define(wxFONTENCODING_MACMONGOLIAN, 73). --define(wxFONTENCODING_MACETHIOPIC, 74). --define(wxFONTENCODING_MACCENTRALEUR, 75). --define(wxFONTENCODING_MACVIATNAMESE, 76). --define(wxFONTENCODING_MACARABICEXT, 77). --define(wxFONTENCODING_MACSYMBOL, 78). --define(wxFONTENCODING_MACDINGBATS, 79). --define(wxFONTENCODING_MACTURKISH, 80). --define(wxFONTENCODING_MACCROATIAN, 81). --define(wxFONTENCODING_MACICELANDIC, 82). --define(wxFONTENCODING_MACROMANIAN, 83). --define(wxFONTENCODING_MACCELTIC, 84). --define(wxFONTENCODING_MACGAELIC, 85). --define(wxFONTENCODING_MACKEYBOARD, 86). --define(wxFONTENCODING_MAX, 87). --define(wxFONTENCODING_MACMIN, ?wxFONTENCODING_MACROMAN). --define(wxFONTENCODING_MACMAX, ?wxFONTENCODING_MACKEYBOARD). --define(wxFONTENCODING_UTF16, wxe_util:get_const(wxFONTENCODING_UTF16)). --define(wxFONTENCODING_UTF32, wxe_util:get_const(wxFONTENCODING_UTF32)). --define(wxFONTENCODING_UNICODE, ?wxFONTENCODING_UTF32). --define(wxFONTENCODING_GB2312, ?wxFONTENCODING_CP936). --define(wxFONTENCODING_BIG5, ?wxFONTENCODING_CP950). --define(wxFONTENCODING_SHIFT_JIS, ?wxFONTENCODING_CP932). -% Type wxFontFamily --define(wxFONTFAMILY_DEFAULT, ?wxDEFAULT). --define(wxFONTFAMILY_DECORATIVE, ?wxDECORATIVE). --define(wxFONTFAMILY_ROMAN, ?wxROMAN). --define(wxFONTFAMILY_SCRIPT, ?wxSCRIPT). --define(wxFONTFAMILY_SWISS, ?wxSWISS). --define(wxFONTFAMILY_MODERN, ?wxMODERN). --define(wxFONTFAMILY_TELETYPE, ?wxTELETYPE). --define(wxFONTFAMILY_MAX, (?wxTELETYPE+1)). --define(wxFONTFAMILY_UNKNOWN, ?wxFONTFAMILY_MAX). -% Type wxFontStyle --define(wxFONTSTYLE_NORMAL, ?wxNORMAL). --define(wxFONTSTYLE_ITALIC, ?wxITALIC). --define(wxFONTSTYLE_SLANT, ?wxSLANT). --define(wxFONTSTYLE_MAX, (?wxSLANT+1)). -% Type wxFontWeight --define(wxFONTWEIGHT_NORMAL, ?wxNORMAL). --define(wxFONTWEIGHT_LIGHT, ?wxLIGHT). --define(wxFONTWEIGHT_BOLD, ?wxBOLD). --define(wxFONTWEIGHT_MAX, (?wxBOLD+1)). -% Type wxGeometryCentre --define(wxCENTRE, 1). --define(wxCENTER, ?wxCENTRE). -% Type wxHitTest --define(wxHT_NOWHERE, 0). --define(wxHT_SCROLLBAR_FIRST, ?wxHT_NOWHERE). --define(wxHT_SCROLLBAR_ARROW_LINE_1, (?wxHT_NOWHERE+1)). --define(wxHT_SCROLLBAR_ARROW_LINE_2, (?wxHT_NOWHERE+2)). --define(wxHT_SCROLLBAR_ARROW_PAGE_1, (?wxHT_NOWHERE+3)). --define(wxHT_SCROLLBAR_ARROW_PAGE_2, (?wxHT_NOWHERE+4)). --define(wxHT_SCROLLBAR_THUMB, (?wxHT_NOWHERE+5)). --define(wxHT_SCROLLBAR_BAR_1, (?wxHT_NOWHERE+6)). --define(wxHT_SCROLLBAR_BAR_2, (?wxHT_NOWHERE+7)). --define(wxHT_SCROLLBAR_LAST, (?wxHT_NOWHERE+8)). --define(wxHT_WINDOW_OUTSIDE, (?wxHT_NOWHERE+9)). --define(wxHT_WINDOW_INSIDE, (?wxHT_NOWHERE+10)). --define(wxHT_WINDOW_VERT_SCROLLBAR, (?wxHT_NOWHERE+11)). --define(wxHT_WINDOW_HORZ_SCROLLBAR, (?wxHT_NOWHERE+12)). --define(wxHT_WINDOW_CORNER, (?wxHT_NOWHERE+13)). --define(wxHT_MAX, (?wxHT_NOWHERE+14)). -% Type wxHtmlOpeningStatus --define(wxHTML_OPEN, 0). --define(wxHTML_BLOCK, 1). --define(wxHTML_REDIRECT, 2). -% Type wxIdleMode --define(wxIDLE_PROCESS_ALL, 0). --define(wxIDLE_PROCESS_SPECIFIED, 1). -% Type wxItemKind --define(wxITEM_SEPARATOR, -1). --define(wxITEM_NORMAL, 0). --define(wxITEM_CHECK, 1). --define(wxITEM_RADIO, 2). --define(wxITEM_MAX, 3). -% Type wxKeyCode --define(WXK_BACK, 8). --define(WXK_TAB, 9). --define(WXK_RETURN, 13). --define(WXK_ESCAPE, 27). --define(WXK_SPACE, 32). --define(WXK_DELETE, 127). --define(WXK_START, 300). --define(WXK_LBUTTON, 301). --define(WXK_RBUTTON, 302). --define(WXK_CANCEL, 303). --define(WXK_MBUTTON, 304). --define(WXK_CLEAR, 305). --define(WXK_SHIFT, 306). --define(WXK_ALT, 307). --define(WXK_CONTROL, 308). --define(WXK_MENU, 309). --define(WXK_PAUSE, 310). --define(WXK_CAPITAL, 311). --define(WXK_END, 312). --define(WXK_HOME, 313). --define(WXK_LEFT, 314). --define(WXK_UP, 315). --define(WXK_RIGHT, 316). --define(WXK_DOWN, 317). --define(WXK_SELECT, 318). --define(WXK_PRINT, 319). --define(WXK_EXECUTE, 320). --define(WXK_SNAPSHOT, 321). --define(WXK_INSERT, 322). --define(WXK_HELP, 323). --define(WXK_NUMPAD0, 324). --define(WXK_NUMPAD1, 325). --define(WXK_NUMPAD2, 326). --define(WXK_NUMPAD3, 327). --define(WXK_NUMPAD4, 328). --define(WXK_NUMPAD5, 329). --define(WXK_NUMPAD6, 330). --define(WXK_NUMPAD7, 331). --define(WXK_NUMPAD8, 332). --define(WXK_NUMPAD9, 333). --define(WXK_MULTIPLY, 334). --define(WXK_ADD, 335). --define(WXK_SEPARATOR, 336). --define(WXK_SUBTRACT, 337). --define(WXK_DECIMAL, 338). --define(WXK_DIVIDE, 339). --define(WXK_F1, 340). --define(WXK_F2, 341). --define(WXK_F3, 342). --define(WXK_F4, 343). --define(WXK_F5, 344). --define(WXK_F6, 345). --define(WXK_F7, 346). --define(WXK_F8, 347). --define(WXK_F9, 348). --define(WXK_F10, 349). --define(WXK_F11, 350). --define(WXK_F12, 351). --define(WXK_F13, 352). --define(WXK_F14, 353). --define(WXK_F15, 354). --define(WXK_F16, 355). --define(WXK_F17, 356). --define(WXK_F18, 357). --define(WXK_F19, 358). --define(WXK_F20, 359). --define(WXK_F21, 360). --define(WXK_F22, 361). --define(WXK_F23, 362). --define(WXK_F24, 363). --define(WXK_NUMLOCK, 364). --define(WXK_SCROLL, 365). --define(WXK_PAGEUP, 366). --define(WXK_PAGEDOWN, 367). --define(WXK_NUMPAD_SPACE, 368). --define(WXK_NUMPAD_TAB, 369). --define(WXK_NUMPAD_ENTER, 370). --define(WXK_NUMPAD_F1, 371). --define(WXK_NUMPAD_F2, 372). --define(WXK_NUMPAD_F3, 373). --define(WXK_NUMPAD_F4, 374). --define(WXK_NUMPAD_HOME, 375). --define(WXK_NUMPAD_LEFT, 376). --define(WXK_NUMPAD_UP, 377). --define(WXK_NUMPAD_RIGHT, 378). --define(WXK_NUMPAD_DOWN, 379). --define(WXK_NUMPAD_PAGEUP, 380). --define(WXK_NUMPAD_PAGEDOWN, 381). --define(WXK_NUMPAD_END, 382). --define(WXK_NUMPAD_BEGIN, 383). --define(WXK_NUMPAD_INSERT, 384). --define(WXK_NUMPAD_DELETE, 385). --define(WXK_NUMPAD_EQUAL, 386). --define(WXK_NUMPAD_MULTIPLY, 387). --define(WXK_NUMPAD_ADD, 388). --define(WXK_NUMPAD_SEPARATOR, 389). --define(WXK_NUMPAD_SUBTRACT, 390). --define(WXK_NUMPAD_DECIMAL, 391). --define(WXK_NUMPAD_DIVIDE, 392). --define(WXK_WINDOWS_LEFT, 393). --define(WXK_WINDOWS_RIGHT, 394). --define(WXK_WINDOWS_MENU, 395). --define(WXK_COMMAND, 396). --define(WXK_SPECIAL1, 193). --define(WXK_SPECIAL2, 194). --define(WXK_SPECIAL3, 195). --define(WXK_SPECIAL4, 196). --define(WXK_SPECIAL5, 197). --define(WXK_SPECIAL6, 198). --define(WXK_SPECIAL7, 199). --define(WXK_SPECIAL8, 200). --define(WXK_SPECIAL9, 201). --define(WXK_SPECIAL10, 202). --define(WXK_SPECIAL11, 203). --define(WXK_SPECIAL12, 204). --define(WXK_SPECIAL13, 205). --define(WXK_SPECIAL14, 206). --define(WXK_SPECIAL15, 207). --define(WXK_SPECIAL16, 208). --define(WXK_SPECIAL17, 209). --define(WXK_SPECIAL18, 210). --define(WXK_SPECIAL19, 211). --define(WXK_SPECIAL20, 212). -% Type wxKeyModifier --define(wxMOD_NONE, 0). --define(wxMOD_ALT, 1). --define(wxMOD_CONTROL, 2). --define(wxMOD_ALTGR, (?wxMOD_ALT bor ?wxMOD_CONTROL)). --define(wxMOD_SHIFT, 4). --define(wxMOD_META, 8). --define(wxMOD_WIN, ?wxMOD_META). --define(wxMOD_CMD, wxe_util:get_const(wxMOD_CMD)). --define(wxMOD_ALL, 65535). -% Type wxKeyType --define(wxKEY_NONE, 0). --define(wxKEY_INTEGER, 1). --define(wxKEY_STRING, 2). -% Type wxKillError +% From "utils.h": wxKillError -define(wxKILL_OK, 0). -define(wxKILL_BAD_SIGNAL, 1). -define(wxKILL_ACCESS_DENIED, 2). -define(wxKILL_NO_PROCESS, 3). -define(wxKILL_ERROR, 4). -% Type wxKillFlags +% From "utils.h": wxKillFlags -define(wxKILL_NOCHILDREN, 0). -define(wxKILL_CHILDREN, 1). -% Type wxLayoutAlignment --define(wxLAYOUT_NONE, 0). --define(wxLAYOUT_TOP, 1). --define(wxLAYOUT_LEFT, 2). --define(wxLAYOUT_RIGHT, 3). --define(wxLAYOUT_BOTTOM, 4). -% Type wxLayoutDirection --define(wxLayout_Default, 0). --define(wxLayout_LeftToRight, 1). --define(wxLayout_RightToLeft, 2). -% Type wxLayoutOrientation --define(wxLAYOUT_HORIZONTAL, 0). --define(wxLAYOUT_VERTICAL, 1). -% Type wxListColumnFormat --define(wxLIST_FORMAT_LEFT, 0). --define(wxLIST_FORMAT_RIGHT, 1). --define(wxLIST_FORMAT_CENTRE, 2). --define(wxLIST_FORMAT_CENTER, ?wxLIST_FORMAT_CENTRE). -% Type wxNotificationOptions --define(wxNOTIFY_NONE, 0). --define(wxNOTIFY_ONCE, 1). --define(wxNOTIFY_REPEAT, 2). -% Type wxOrientation --define(wxHORIZONTAL, 4). --define(wxVERTICAL, 8). --define(wxBOTH, (?wxVERTICAL bor ?wxHORIZONTAL)). -% Type wxPaperSize --define(wxPAPER_NONE, 0). --define(wxPAPER_LETTER, 1). --define(wxPAPER_LEGAL, 2). --define(wxPAPER_A4, 3). --define(wxPAPER_CSHEET, 4). --define(wxPAPER_DSHEET, 5). --define(wxPAPER_ESHEET, 6). --define(wxPAPER_LETTERSMALL, 7). --define(wxPAPER_TABLOID, 8). --define(wxPAPER_LEDGER, 9). --define(wxPAPER_STATEMENT, 10). --define(wxPAPER_EXECUTIVE, 11). --define(wxPAPER_A3, 12). --define(wxPAPER_A4SMALL, 13). --define(wxPAPER_A5, 14). --define(wxPAPER_B4, 15). --define(wxPAPER_B5, 16). --define(wxPAPER_FOLIO, 17). --define(wxPAPER_QUARTO, 18). --define(wxPAPER_10X14, 19). --define(wxPAPER_11X17, 20). --define(wxPAPER_NOTE, 21). --define(wxPAPER_ENV_9, 22). --define(wxPAPER_ENV_10, 23). --define(wxPAPER_ENV_11, 24). --define(wxPAPER_ENV_12, 25). --define(wxPAPER_ENV_14, 26). --define(wxPAPER_ENV_DL, 27). --define(wxPAPER_ENV_C5, 28). --define(wxPAPER_ENV_C3, 29). --define(wxPAPER_ENV_C4, 30). --define(wxPAPER_ENV_C6, 31). --define(wxPAPER_ENV_C65, 32). --define(wxPAPER_ENV_B4, 33). --define(wxPAPER_ENV_B5, 34). --define(wxPAPER_ENV_B6, 35). --define(wxPAPER_ENV_ITALY, 36). --define(wxPAPER_ENV_MONARCH, 37). --define(wxPAPER_ENV_PERSONAL, 38). --define(wxPAPER_FANFOLD_US, 39). --define(wxPAPER_FANFOLD_STD_GERMAN, 40). --define(wxPAPER_FANFOLD_LGL_GERMAN, 41). --define(wxPAPER_ISO_B4, 42). --define(wxPAPER_JAPANESE_POSTCARD, 43). --define(wxPAPER_9X11, 44). --define(wxPAPER_10X11, 45). --define(wxPAPER_15X11, 46). --define(wxPAPER_ENV_INVITE, 47). --define(wxPAPER_LETTER_EXTRA, 48). --define(wxPAPER_LEGAL_EXTRA, 49). --define(wxPAPER_TABLOID_EXTRA, 50). --define(wxPAPER_A4_EXTRA, 51). --define(wxPAPER_LETTER_TRANSVERSE, 52). --define(wxPAPER_A4_TRANSVERSE, 53). --define(wxPAPER_LETTER_EXTRA_TRANSVERSE, 54). --define(wxPAPER_A_PLUS, 55). --define(wxPAPER_B_PLUS, 56). --define(wxPAPER_LETTER_PLUS, 57). --define(wxPAPER_A4_PLUS, 58). --define(wxPAPER_A5_TRANSVERSE, 59). --define(wxPAPER_B5_TRANSVERSE, 60). --define(wxPAPER_A3_EXTRA, 61). --define(wxPAPER_A5_EXTRA, 62). --define(wxPAPER_B5_EXTRA, 63). --define(wxPAPER_A2, 64). --define(wxPAPER_A3_TRANSVERSE, 65). --define(wxPAPER_A3_EXTRA_TRANSVERSE, 66). --define(wxPAPER_DBL_JAPANESE_POSTCARD, 67). --define(wxPAPER_A6, 68). --define(wxPAPER_JENV_KAKU2, 69). --define(wxPAPER_JENV_KAKU3, 70). --define(wxPAPER_JENV_CHOU3, 71). --define(wxPAPER_JENV_CHOU4, 72). --define(wxPAPER_LETTER_ROTATED, 73). --define(wxPAPER_A3_ROTATED, 74). --define(wxPAPER_A4_ROTATED, 75). --define(wxPAPER_A5_ROTATED, 76). --define(wxPAPER_B4_JIS_ROTATED, 77). --define(wxPAPER_B5_JIS_ROTATED, 78). --define(wxPAPER_JAPANESE_POSTCARD_ROTATED, 79). --define(wxPAPER_DBL_JAPANESE_POSTCARD_ROTATED, 80). --define(wxPAPER_A6_ROTATED, 81). --define(wxPAPER_JENV_KAKU2_ROTATED, 82). --define(wxPAPER_JENV_KAKU3_ROTATED, 83). --define(wxPAPER_JENV_CHOU3_ROTATED, 84). --define(wxPAPER_JENV_CHOU4_ROTATED, 85). --define(wxPAPER_B6_JIS, 86). --define(wxPAPER_B6_JIS_ROTATED, 87). --define(wxPAPER_12X11, 88). --define(wxPAPER_JENV_YOU4, 89). --define(wxPAPER_JENV_YOU4_ROTATED, 90). --define(wxPAPER_P16K, 91). --define(wxPAPER_P32K, 92). --define(wxPAPER_P32KBIG, 93). --define(wxPAPER_PENV_1, 94). --define(wxPAPER_PENV_2, 95). --define(wxPAPER_PENV_3, 96). --define(wxPAPER_PENV_4, 97). --define(wxPAPER_PENV_5, 98). --define(wxPAPER_PENV_6, 99). --define(wxPAPER_PENV_7, 100). --define(wxPAPER_PENV_8, 101). --define(wxPAPER_PENV_9, 102). --define(wxPAPER_PENV_10, 103). --define(wxPAPER_P16K_ROTATED, 104). --define(wxPAPER_P32K_ROTATED, 105). --define(wxPAPER_P32KBIG_ROTATED, 106). --define(wxPAPER_PENV_1_ROTATED, 107). --define(wxPAPER_PENV_2_ROTATED, 108). --define(wxPAPER_PENV_3_ROTATED, 109). --define(wxPAPER_PENV_4_ROTATED, 110). --define(wxPAPER_PENV_5_ROTATED, 111). --define(wxPAPER_PENV_6_ROTATED, 112). --define(wxPAPER_PENV_7_ROTATED, 113). --define(wxPAPER_PENV_8_ROTATED, 114). --define(wxPAPER_PENV_9_ROTATED, 115). --define(wxPAPER_PENV_10_ROTATED, 116). -% Type wxPrintBin --define(wxPRINTBIN_DEFAULT, 0). --define(wxPRINTBIN_ONLYONE, 1). --define(wxPRINTBIN_LOWER, 2). --define(wxPRINTBIN_MIDDLE, 3). --define(wxPRINTBIN_MANUAL, 4). --define(wxPRINTBIN_ENVELOPE, 5). --define(wxPRINTBIN_ENVMANUAL, 6). --define(wxPRINTBIN_AUTO, 7). --define(wxPRINTBIN_TRACTOR, 8). --define(wxPRINTBIN_SMALLFMT, 9). --define(wxPRINTBIN_LARGEFMT, 10). --define(wxPRINTBIN_LARGECAPACITY, 11). --define(wxPRINTBIN_CASSETTE, 12). --define(wxPRINTBIN_FORMSOURCE, 13). --define(wxPRINTBIN_USER, 14). -% Type wxPrintMode --define(wxPRINT_MODE_NONE, 0). --define(wxPRINT_MODE_PREVIEW, 1). --define(wxPRINT_MODE_FILE, 2). --define(wxPRINT_MODE_PRINTER, 3). --define(wxPRINT_MODE_STREAM, 4). -% Type wxPrinterError --define(wxPRINTER_NO_ERROR, 0). --define(wxPRINTER_CANCELLED, 1). --define(wxPRINTER_ERROR, 2). -% Type wxRegionContain --define(wxOutRegion, 0). --define(wxPartRegion, 1). --define(wxInRegion, 2). -% Type wxRegionOp --define(wxRGN_AND, 0). --define(wxRGN_COPY, 1). --define(wxRGN_DIFF, 2). --define(wxRGN_OR, 3). --define(wxRGN_XOR, 4). -% Type wxRelationship --define(wxUnconstrained, 0). --define(wxAsIs, 1). --define(wxPercentOf, 2). --define(wxAbove, 3). --define(wxBelow, 4). --define(wxLeftOf, 5). --define(wxRightOf, 6). --define(wxSameAs, 7). --define(wxAbsolute, 8). -% Type wxSashDragStatus --define(wxSASH_STATUS_OK, 0). --define(wxSASH_STATUS_OUT_OF_RANGE, 1). -% Type wxSashEdgePosition --define(wxSASH_TOP, 0). --define(wxSASH_RIGHT, 1). --define(wxSASH_BOTTOM, 2). --define(wxSASH_LEFT, 3). --define(wxSASH_NONE, 100). -% Type wxShutdownFlags +% From "utils.h": wxShutdownFlags -define(wxSHUTDOWN_POWEROFF, 0). -define(wxSHUTDOWN_REBOOT, 1). -% Type wxSignal +% From "utils.h": wxSignal -define(wxSIGNONE, 0). -define(wxSIGHUP, 1). -define(wxSIGINT, 2). @@ -3540,185 +3733,29 @@ -define(wxSIGPIPE, (?wxSIGABRT+7)). -define(wxSIGALRM, (?wxSIGABRT+8)). -define(wxSIGTERM, (?wxSIGABRT+9)). -% Type wxSplitMode --define(wxSPLIT_HORIZONTAL, 1). --define(wxSPLIT_VERTICAL, 2). -% Type wxStockCursor --define(wxCURSOR_NONE, 0). --define(wxCURSOR_ARROW, 1). --define(wxCURSOR_RIGHT_ARROW, 2). --define(wxCURSOR_BULLSEYE, 3). --define(wxCURSOR_CHAR, 4). --define(wxCURSOR_CROSS, 5). --define(wxCURSOR_HAND, 6). --define(wxCURSOR_IBEAM, 7). --define(wxCURSOR_LEFT_BUTTON, 8). --define(wxCURSOR_MAGNIFIER, 9). --define(wxCURSOR_MIDDLE_BUTTON, 10). --define(wxCURSOR_NO_ENTRY, 11). --define(wxCURSOR_PAINT_BRUSH, 12). --define(wxCURSOR_PENCIL, 13). --define(wxCURSOR_POINT_LEFT, 14). --define(wxCURSOR_POINT_RIGHT, 15). --define(wxCURSOR_QUESTION_ARROW, 16). --define(wxCURSOR_RIGHT_BUTTON, 17). --define(wxCURSOR_SIZENESW, 18). --define(wxCURSOR_SIZENS, 19). --define(wxCURSOR_SIZENWSE, 20). --define(wxCURSOR_SIZEWE, 21). --define(wxCURSOR_SIZING, 22). --define(wxCURSOR_SPRAYCAN, 23). --define(wxCURSOR_WAIT, 24). --define(wxCURSOR_WATCH, 25). --define(wxCURSOR_BLANK, 26). --define(wxCURSOR_DEFAULT, 27). --define(wxCURSOR_ARROWWAIT, 28). --define(wxCURSOR_MAX, 29). -% Type wxStretch --define(wxSTRETCH_NOT, 0). --define(wxSHRINK, 4096). --define(wxGROW, 8192). --define(wxEXPAND, ?wxGROW). --define(wxSHAPED, 16384). --define(wxFIXED_MINSIZE, 32768). --define(wxRESERVE_SPACE_EVEN_IF_HIDDEN, 2). --define(wxTILE, 49152). --define(wxADJUST_MINSIZE, 0). -% Type wxSystemColour --define(wxSYS_COLOUR_SCROLLBAR, 0). --define(wxSYS_COLOUR_BACKGROUND, 1). --define(wxSYS_COLOUR_DESKTOP, ?wxSYS_COLOUR_BACKGROUND). --define(wxSYS_COLOUR_ACTIVECAPTION, (?wxSYS_COLOUR_BACKGROUND+1)). --define(wxSYS_COLOUR_INACTIVECAPTION, (?wxSYS_COLOUR_BACKGROUND+2)). --define(wxSYS_COLOUR_MENU, (?wxSYS_COLOUR_BACKGROUND+3)). --define(wxSYS_COLOUR_WINDOW, (?wxSYS_COLOUR_BACKGROUND+4)). --define(wxSYS_COLOUR_WINDOWFRAME, (?wxSYS_COLOUR_BACKGROUND+5)). --define(wxSYS_COLOUR_MENUTEXT, (?wxSYS_COLOUR_BACKGROUND+6)). --define(wxSYS_COLOUR_WINDOWTEXT, (?wxSYS_COLOUR_BACKGROUND+7)). --define(wxSYS_COLOUR_CAPTIONTEXT, (?wxSYS_COLOUR_BACKGROUND+8)). --define(wxSYS_COLOUR_ACTIVEBORDER, (?wxSYS_COLOUR_BACKGROUND+9)). --define(wxSYS_COLOUR_INACTIVEBORDER, (?wxSYS_COLOUR_BACKGROUND+10)). --define(wxSYS_COLOUR_APPWORKSPACE, (?wxSYS_COLOUR_BACKGROUND+11)). --define(wxSYS_COLOUR_HIGHLIGHT, (?wxSYS_COLOUR_BACKGROUND+12)). --define(wxSYS_COLOUR_HIGHLIGHTTEXT, (?wxSYS_COLOUR_BACKGROUND+13)). --define(wxSYS_COLOUR_BTNFACE, (?wxSYS_COLOUR_BACKGROUND+14)). --define(wxSYS_COLOUR_3DFACE, ?wxSYS_COLOUR_BTNFACE). --define(wxSYS_COLOUR_BTNSHADOW, (?wxSYS_COLOUR_BTNFACE+1)). --define(wxSYS_COLOUR_3DSHADOW, ?wxSYS_COLOUR_BTNSHADOW). --define(wxSYS_COLOUR_GRAYTEXT, (?wxSYS_COLOUR_BTNSHADOW+1)). --define(wxSYS_COLOUR_BTNTEXT, (?wxSYS_COLOUR_BTNSHADOW+2)). --define(wxSYS_COLOUR_INACTIVECAPTIONTEXT, (?wxSYS_COLOUR_BTNSHADOW+3)). --define(wxSYS_COLOUR_BTNHIGHLIGHT, (?wxSYS_COLOUR_BTNSHADOW+4)). --define(wxSYS_COLOUR_BTNHILIGHT, ?wxSYS_COLOUR_BTNHIGHLIGHT). --define(wxSYS_COLOUR_3DHIGHLIGHT, ?wxSYS_COLOUR_BTNHIGHLIGHT). --define(wxSYS_COLOUR_3DHILIGHT, ?wxSYS_COLOUR_BTNHIGHLIGHT). --define(wxSYS_COLOUR_3DDKSHADOW, (?wxSYS_COLOUR_BTNHIGHLIGHT+1)). --define(wxSYS_COLOUR_3DLIGHT, (?wxSYS_COLOUR_BTNHIGHLIGHT+2)). --define(wxSYS_COLOUR_INFOTEXT, (?wxSYS_COLOUR_BTNHIGHLIGHT+3)). --define(wxSYS_COLOUR_INFOBK, (?wxSYS_COLOUR_BTNHIGHLIGHT+4)). --define(wxSYS_COLOUR_LISTBOX, (?wxSYS_COLOUR_BTNHIGHLIGHT+5)). --define(wxSYS_COLOUR_HOTLIGHT, (?wxSYS_COLOUR_BTNHIGHLIGHT+6)). --define(wxSYS_COLOUR_GRADIENTACTIVECAPTION, (?wxSYS_COLOUR_BTNHIGHLIGHT+7)). --define(wxSYS_COLOUR_GRADIENTINACTIVECAPTION, (?wxSYS_COLOUR_BTNHIGHLIGHT+8)). --define(wxSYS_COLOUR_MENUHILIGHT, (?wxSYS_COLOUR_BTNHIGHLIGHT+9)). --define(wxSYS_COLOUR_MENUBAR, (?wxSYS_COLOUR_BTNHIGHLIGHT+10)). --define(wxSYS_COLOUR_LISTBOXTEXT, (?wxSYS_COLOUR_BTNHIGHLIGHT+11)). --define(wxSYS_COLOUR_MAX, (?wxSYS_COLOUR_BTNHIGHLIGHT+12)). -% Type wxSystemFeature --define(wxSYS_CAN_DRAW_FRAME_DECORATIONS, 1). --define(wxSYS_CAN_ICONIZE_FRAME, 2). --define(wxSYS_TABLET_PRESENT, 3). -% Type wxSystemFont --define(wxSYS_OEM_FIXED_FONT, 10). --define(wxSYS_ANSI_FIXED_FONT, 11). --define(wxSYS_ANSI_VAR_FONT, 12). --define(wxSYS_SYSTEM_FONT, 13). --define(wxSYS_DEVICE_DEFAULT_FONT, 14). --define(wxSYS_DEFAULT_PALETTE, 15). --define(wxSYS_SYSTEM_FIXED_FONT, 16). --define(wxSYS_DEFAULT_GUI_FONT, 17). --define(wxSYS_ICONTITLE_FONT, ?wxSYS_DEFAULT_GUI_FONT). -% Type wxSystemMetric --define(wxSYS_MOUSE_BUTTONS, 1). --define(wxSYS_BORDER_X, 2). --define(wxSYS_BORDER_Y, 3). --define(wxSYS_CURSOR_X, 4). --define(wxSYS_CURSOR_Y, 5). --define(wxSYS_DCLICK_X, 6). --define(wxSYS_DCLICK_Y, 7). --define(wxSYS_DRAG_X, 8). --define(wxSYS_DRAG_Y, 9). --define(wxSYS_EDGE_X, 10). --define(wxSYS_EDGE_Y, 11). --define(wxSYS_HSCROLL_ARROW_X, 12). --define(wxSYS_HSCROLL_ARROW_Y, 13). --define(wxSYS_HTHUMB_X, 14). --define(wxSYS_ICON_X, 15). --define(wxSYS_ICON_Y, 16). --define(wxSYS_ICONSPACING_X, 17). --define(wxSYS_ICONSPACING_Y, 18). --define(wxSYS_WINDOWMIN_X, 19). --define(wxSYS_WINDOWMIN_Y, 20). --define(wxSYS_SCREEN_X, 21). --define(wxSYS_SCREEN_Y, 22). --define(wxSYS_FRAMESIZE_X, 23). --define(wxSYS_FRAMESIZE_Y, 24). --define(wxSYS_SMALLICON_X, 25). --define(wxSYS_SMALLICON_Y, 26). --define(wxSYS_HSCROLL_Y, 27). --define(wxSYS_VSCROLL_X, 28). --define(wxSYS_VSCROLL_ARROW_X, 29). --define(wxSYS_VSCROLL_ARROW_Y, 30). --define(wxSYS_VTHUMB_Y, 31). --define(wxSYS_CAPTION_Y, 32). --define(wxSYS_MENU_Y, 33). --define(wxSYS_NETWORK_PRESENT, 34). --define(wxSYS_PENWINDOWS_PRESENT, 35). --define(wxSYS_SHOW_SOUNDS, 36). --define(wxSYS_SWAP_BUTTONS, 37). -% Type wxSystemScreenType --define(wxSYS_SCREEN_NONE, 0). --define(wxSYS_SCREEN_TINY, 1). --define(wxSYS_SCREEN_PDA, 2). --define(wxSYS_SCREEN_SMALL, 3). --define(wxSYS_SCREEN_DESKTOP, 4). -% Type wxTextAttrAlignment --define(wxTEXT_ALIGNMENT_DEFAULT, 0). --define(wxTEXT_ALIGNMENT_LEFT, 1). --define(wxTEXT_ALIGNMENT_CENTRE, 2). --define(wxTEXT_ALIGNMENT_CENTER, ?wxTEXT_ALIGNMENT_CENTRE). --define(wxTEXT_ALIGNMENT_RIGHT, (?wxTEXT_ALIGNMENT_CENTRE+1)). --define(wxTEXT_ALIGNMENT_JUSTIFIED, (?wxTEXT_ALIGNMENT_CENTRE+2)). -% Type wxTextCtrlHitTestResult --define(wxTE_HT_UNKNOWN, -2). --define(wxTE_HT_BEFORE, -1). --define(wxTE_HT_ON_TEXT, 0). --define(wxTE_HT_BELOW, 1). --define(wxTE_HT_BEYOND, 2). -% Type wxToolBarToolStyle --define(wxTOOL_STYLE_BUTTON, 1). --define(wxTOOL_STYLE_SEPARATOR, 2). --define(wxTOOL_STYLE_CONTROL, 3). -% Type wxTreeItemIcon --define(wxTreeItemIcon_Normal, 0). --define(wxTreeItemIcon_Selected, 1). --define(wxTreeItemIcon_Expanded, 2). --define(wxTreeItemIcon_SelectedExpanded, 3). --define(wxTreeItemIcon_Max, 4). -% Type wxUpdateUI --define(wxUPDATE_UI_NONE, 0). --define(wxUPDATE_UI_RECURSE, 1). --define(wxUPDATE_UI_FROMIDLE, 2). -% Type wxUpdateUIMode --define(wxUPDATE_UI_PROCESS_ALL, 0). --define(wxUPDATE_UI_PROCESS_SPECIFIED, 1). -% Type wxWindowVariant +% From "valtext.h" +-define(wxFILTER_EXCLUDE_CHAR_LIST, 128). +-define(wxFILTER_INCLUDE_CHAR_LIST, 64). +-define(wxFILTER_EXCLUDE_LIST, 32). +-define(wxFILTER_INCLUDE_LIST, 16). +-define(wxFILTER_NUMERIC, 8). +-define(wxFILTER_ALPHANUMERIC, 4). +-define(wxFILTER_ALPHA, 2). +-define(wxFILTER_ASCII, 1). +-define(wxFILTER_NONE, 0). +% From "version.h" +-define(wxBETA_NUMBER, wxe_util:get_const(wxBETA_NUMBER)). +-define(wxSUBRELEASE_NUMBER, wxe_util:get_const(wxSUBRELEASE_NUMBER)). +-define(wxRELEASE_NUMBER, wxe_util:get_const(wxRELEASE_NUMBER)). +-define(wxMINOR_VERSION, wxe_util:get_const(wxMINOR_VERSION)). +-define(wxMAJOR_VERSION, wxe_util:get_const(wxMAJOR_VERSION)). +% From "window.h": wxWindowVariant -define(wxWINDOW_VARIANT_NORMAL, 0). -define(wxWINDOW_VARIANT_SMALL, 1). -define(wxWINDOW_VARIANT_MINI, 2). -define(wxWINDOW_VARIANT_LARGE, 3). -define(wxWINDOW_VARIANT_MAX, 4). -% Type wxXmlResourceFlags +% From "xmlres.h": wxXmlResourceFlags -define(wxXRC_USE_LOCALE, 1). -define(wxXRC_NO_SUBCLASSING, 2). -define(wxXRC_NO_RELOADING, 4). diff --git a/lib/wx/src/Makefile b/lib/wx/src/Makefile index 6c636bb51f..46bc06271c 100644 --- a/lib/wx/src/Makefile +++ b/lib/wx/src/Makefile @@ -1,19 +1,19 @@ # # %CopyrightBegin% -# -# Copyright Ericsson AB 2008-2009. All Rights Reserved. -# +# +# Copyright Ericsson AB 2008-2011. All Rights Reserved. +# # The contents of this file are subject to the Erlang Public License, # Version 1.1, (the "License"); you may not use this file except in # compliance with the License. You should have received a copy of the # Erlang Public License along with this software. If not, it can be # retrieved online at http://www.erlang.org/. -# +# # Software distributed under the License is distributed on an "AS IS" # basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See # the License for the specific language governing rights and limitations # under the License. -# +# # %CopyrightEnd% # @@ -29,8 +29,7 @@ ERL_COMPILE_FLAGS += -I$(ERLINC) +warn_unused_vars ARCHIVE = wx-$(VSN).ez -ErlMods = \ - wx \ +ErlMods = wx \ wx_object \ wxe_master \ wxe_server \ @@ -44,8 +43,9 @@ GEN_FILES = $(wildcard gen/wx*.erl) \ gen/glu.erl \ gen/gl.erl +GEN_MODS = $(GEN_FILES:gen/%.erl=%,) + GEN_HRL = \ - $(EGEN)/gl_debug.hrl \ $(EGEN)/wxe_debug.hrl \ $(EGEN)/wxe_funcs.hrl @@ -56,15 +56,25 @@ EXT_HRL = $(ERLINC)/wx.hrl \ TARGET_FILES = $(ErlMods:%=$(EBIN)/%.beam) $(GEN_FILES:gen/%.erl=$(EBIN)/%.beam) HEADER_FILES = $(HRL_FILES) $(GEN_HRL) $(EXT_HRL) +APP_FILE = wx.app +APP_SRC = $(APP_FILE).src +APP_TARGET = $(EBIN)/$(APP_FILE) + +APPUP_FILE = wx.appup +APPUP_SRC = $(APPUP_FILE).src +APPUP_TARGET = $(EBIN)/$(APPUP_FILE) + # Targets -debug opt: $(TARGET_FILES) +debug opt: $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) clean: rm -f $(TARGET_FILES) + rm -f $(APP_TARGET) $(APPUP_TARGET) rm -f *~ complete_clean: rm -f $(TARGET_FILES) + rm -f $(APP_TARGET) $(APPUP_TARGET) rm -f $(GEN_FILES) rm -f $(GenHrl) rm -f *~ @@ -75,6 +85,17 @@ docs: archive: opt (cd ../..; zip -0 wx/$(ARCHIVE) wx wx/ebin wx/ebin/*) +# ---------------------------------------------------- +# Special Build Targets +# ---------------------------------------------------- + +$(APP_TARGET): $(APP_SRC) ../vsn.mk Makefile + sed -e 's;%GEN_MODS%;$(GEN_MODS);' $< > [email protected] + sed -e 's;%VSN%;$(VSN);' [email protected] > $@ + rm [email protected] + +$(APPUP_TARGET): $(APPUP_SRC) ../vsn.mk Makefile + sed -e 's;%VSN%;$(VSN);' $< > $@ # Rules $(EBIN)/%.beam: $(ESRC)/%.erl $(HEADER_FILES) @@ -97,6 +118,7 @@ release_spec: opt $(INSTALL_DATA) $(EXT_HRL) $(RELSYSDIR)/include $(INSTALL_DIR) $(RELSYSDIR)/ebin $(INSTALL_DATA) $(TARGET_FILES) $(RELSYSDIR)/ebin + $(INSTALL_DATA) $(APP_TARGET) $(APPUP_TARGET) $(RELSYSDIR)/ebin # $(INSTALL_DATA) ../$(ARCHIVE) $(RELEASE_PATH)/lib release_docs_spec: diff --git a/lib/wx/src/gen/gl.erl b/lib/wx/src/gen/gl.erl index d789f1b72f..0ebf51d28a 100644 --- a/lib/wx/src/gen/gl.erl +++ b/lib/wx/src/gen/gl.erl @@ -20,19 +20,18 @@ %% This file is generated DO NOT EDIT -%% @doc Standard OpenGL api. +%% @doc Standard OpenGL api. %% See <a href="http://www.opengl.org/sdk/docs/man/">www.opengl.org</a> %% -%% Booleans are represented by integers 0 and 1. +%% Booleans are represented by integers 0 and 1. -%% @type wx_mem(). see wx.erl on memory allocation functions +%% @type mem(). memory block %% @type enum(). An integer defined in gl.hrl %% @type offset(). An integer which is an offset in an array -%% @type clamp(). A float clamped between 0.0 - 1.0 +%% @type clamp(). A float clamped between 0.0 - 1.0 -module(gl). -compile(inline). --include("wxe.hrl"). -define(GLenum,32/native-unsigned). -define(GLboolean,8/native-unsigned). -define(GLbitfield,32/native-unsigned). @@ -51,6 +50,13 @@ -define(GLintptr,64/native-unsigned). -define(GLUquadric,64/native-unsigned). -define(GLhandleARB,64/native-unsigned). +-define(GLsync,64/native-unsigned). +-define(GLuint64,64/native-unsigned). +-define(GLint64,64/native-signed). +-type clamp() :: float(). +-type offset() :: non_neg_integer(). +-type enum() :: non_neg_integer(). +-type mem() :: binary() | tuple(). -export([accum/2,alphaFunc/2,areTexturesResident/1,arrayElement/1,'begin'/1, bindTexture/2,bitmap/7,blendFunc/2,callList/1,callLists/1,clear/1,clearAccum/4, @@ -173,3862 +179,5840 @@ enablei/2,disablei/2,isEnabledi/2,beginTransformFeedback/1,endTransformFeedback/0, bindBufferRange/5,bindBufferBase/3,transformFeedbackVaryings/3,getTransformFeedbackVarying/3, clampColor/2,beginConditionalRender/2,endConditionalRender/0,vertexAttribIPointer/5, - getVertexAttribIiv/2,getVertexAttribIuiv/2,getUniformuiv/2,bindFragDataLocation/3, + getVertexAttribIiv/2,getVertexAttribIuiv/2,vertexAttribI1i/2,vertexAttribI2i/3, + vertexAttribI3i/4,vertexAttribI4i/5,vertexAttribI1ui/2,vertexAttribI2ui/3, + vertexAttribI3ui/4,vertexAttribI4ui/5,vertexAttribI1iv/2,vertexAttribI2iv/2, + vertexAttribI3iv/2,vertexAttribI4iv/2,vertexAttribI1uiv/2,vertexAttribI2uiv/2, + vertexAttribI3uiv/2,vertexAttribI4uiv/2,vertexAttribI4bv/2,vertexAttribI4sv/2, + vertexAttribI4ubv/2,vertexAttribI4usv/2,getUniformuiv/2,bindFragDataLocation/3, getFragDataLocation/2,uniform1ui/2,uniform2ui/3,uniform3ui/4,uniform4ui/5, uniform1uiv/2,uniform2uiv/2,uniform3uiv/2,uniform4uiv/2,texParameterIiv/3, texParameterIuiv/3,getTexParameterIiv/2,getTexParameterIuiv/2,clearBufferiv/3, - clearBufferuiv/3,clearBufferfv/3,clearBufferfi/4,getStringi/2,vertexAttribI1i/2, - vertexAttribI2i/3,vertexAttribI3i/4,vertexAttribI4i/5,vertexAttribI1ui/2, - vertexAttribI2ui/3,vertexAttribI3ui/4,vertexAttribI4ui/5,vertexAttribI1iv/2, - vertexAttribI2iv/2,vertexAttribI3iv/2,vertexAttribI4iv/2,vertexAttribI1uiv/2, - vertexAttribI2uiv/2,vertexAttribI3uiv/2,vertexAttribI4uiv/2,vertexAttribI4bv/2, - vertexAttribI4sv/2,vertexAttribI4ubv/2,vertexAttribI4usv/2,drawArraysInstanced/4, - drawElementsInstanced/5,texBuffer/3,primitiveRestartIndex/1,loadTransposeMatrixfARB/1, - loadTransposeMatrixdARB/1,multTransposeMatrixfARB/1,multTransposeMatrixdARB/1, - weightbvARB/1,weightsvARB/1,weightivARB/1,weightfvARB/1,weightdvARB/1, - weightubvARB/1,weightusvARB/1,weightuivARB/1,vertexBlendARB/1,currentPaletteMatrixARB/1, + clearBufferuiv/3,clearBufferfv/3,clearBufferfi/4,getStringi/2,drawArraysInstanced/4, + drawElementsInstanced/5,texBuffer/3,primitiveRestartIndex/1,getInteger64i_v/2, + getBufferParameteri64v/2,framebufferTexture/4,vertexAttribDivisor/2, + minSampleShading/1,blendEquationi/2,blendEquationSeparatei/3,blendFunci/3, + blendFuncSeparatei/5,loadTransposeMatrixfARB/1,loadTransposeMatrixdARB/1, + multTransposeMatrixfARB/1,multTransposeMatrixdARB/1,weightbvARB/1, + weightsvARB/1,weightivARB/1,weightfvARB/1,weightdvARB/1,weightubvARB/1, + weightusvARB/1,weightuivARB/1,vertexBlendARB/1,currentPaletteMatrixARB/1, matrixIndexubvARB/1,matrixIndexusvARB/1,matrixIndexuivARB/1,programStringARB/3, bindProgramARB/2,deleteProgramsARB/1,genProgramsARB/1,programEnvParameter4dARB/6, programEnvParameter4dvARB/3,programEnvParameter4fARB/6,programEnvParameter4fvARB/3, programLocalParameter4dARB/6,programLocalParameter4dvARB/3,programLocalParameter4fARB/6, programLocalParameter4fvARB/3,getProgramEnvParameterdvARB/2,getProgramEnvParameterfvARB/2, getProgramLocalParameterdvARB/2,getProgramLocalParameterfvARB/2, - getProgramStringARB/3,deleteObjectARB/1,getHandleARB/1,detachObjectARB/2, - createShaderObjectARB/1,shaderSourceARB/2,compileShaderARB/1,createProgramObjectARB/0, - attachObjectARB/2,linkProgramARB/1,useProgramObjectARB/1,validateProgramARB/1, - getObjectParameterfvARB/2,getObjectParameterivARB/2,getInfoLogARB/2, - getAttachedObjectsARB/2,getUniformLocationARB/2,getActiveUniformARB/3, - getUniformfvARB/2,getUniformivARB/2,getShaderSourceARB/2,bindAttribLocationARB/3, - getActiveAttribARB/3,getAttribLocationARB/2,isRenderbuffer/1,bindRenderbuffer/2, - deleteRenderbuffers/1,genRenderbuffers/1,renderbufferStorage/4,getRenderbufferParameteriv/2, + getProgramStringARB/3,getBufferParameterivARB/2,deleteObjectARB/1, + getHandleARB/1,detachObjectARB/2,createShaderObjectARB/1,shaderSourceARB/2, + compileShaderARB/1,createProgramObjectARB/0,attachObjectARB/2,linkProgramARB/1, + useProgramObjectARB/1,validateProgramARB/1,getObjectParameterfvARB/2, + getObjectParameterivARB/2,getInfoLogARB/2,getAttachedObjectsARB/2, + getUniformLocationARB/2,getActiveUniformARB/3,getUniformfvARB/2, + getUniformivARB/2,getShaderSourceARB/2,bindAttribLocationARB/3,getActiveAttribARB/3, + getAttribLocationARB/2,isRenderbuffer/1,bindRenderbuffer/2,deleteRenderbuffers/1, + genRenderbuffers/1,renderbufferStorage/4,getRenderbufferParameteriv/2, isFramebuffer/1,bindFramebuffer/2,deleteFramebuffers/1,genFramebuffers/1, checkFramebufferStatus/1,framebufferTexture1D/5,framebufferTexture2D/5, framebufferTexture3D/6,framebufferRenderbuffer/4,getFramebufferAttachmentParameteriv/3, generateMipmap/1,blitFramebuffer/10,renderbufferStorageMultisample/5, - framebufferTextureLayer/5,programParameteriARB/3,framebufferTextureARB/4, - framebufferTextureFaceARB/5,vertexAttribDivisorARB/2,flushMappedBufferRange/3, + framebufferTextureLayer/5,framebufferTextureFaceARB/5,flushMappedBufferRange/3, bindVertexArray/1,deleteVertexArrays/1,genVertexArrays/1,isVertexArray/1, getUniformIndices/2,getActiveUniformsiv/3,getActiveUniformName/3, getUniformBlockIndex/2,getActiveUniformBlockiv/4,getActiveUniformBlockName/3, - uniformBlockBinding/3,copyBufferSubData/5,resizeBuffersMESA/0,windowPos4dMESA/4, + uniformBlockBinding/3,copyBufferSubData/5,drawElementsBaseVertex/5, + drawRangeElementsBaseVertex/7,drawElementsInstancedBaseVertex/6, + provokingVertex/1,fenceSync/2,isSync/1,deleteSync/1,clientWaitSync/3, + waitSync/3,getInteger64v/1,getSynciv/3,texImage2DMultisample/6,texImage3DMultisample/7, + getMultisamplefv/2,sampleMaski/2,namedStringARB/3,deleteNamedStringARB/1, + compileShaderIncludeARB/2,isNamedStringARB/1,getNamedStringARB/2, + getNamedStringivARB/2,bindFragDataLocationIndexed/4,getFragDataIndex/2, + genSamplers/1,deleteSamplers/1,isSampler/1,bindSampler/2,samplerParameteri/3, + samplerParameteriv/3,samplerParameterf/3,samplerParameterfv/3,samplerParameterIiv/3, + samplerParameterIuiv/3,getSamplerParameteriv/2,getSamplerParameterIiv/2, + getSamplerParameterfv/2,getSamplerParameterIuiv/2,queryCounter/2, + getQueryObjecti64v/2,getQueryObjectui64v/2,drawArraysIndirect/2, + drawElementsIndirect/3,uniform1d/2,uniform2d/3,uniform3d/4,uniform4d/5, + uniform1dv/2,uniform2dv/2,uniform3dv/2,uniform4dv/2,uniformMatrix2dv/3, + uniformMatrix3dv/3,uniformMatrix4dv/3,uniformMatrix2x3dv/3,uniformMatrix2x4dv/3, + uniformMatrix3x2dv/3,uniformMatrix3x4dv/3,uniformMatrix4x2dv/3,uniformMatrix4x3dv/3, + getUniformdv/2,getSubroutineUniformLocation/3,getSubroutineIndex/3, + getActiveSubroutineUniformName/4,getActiveSubroutineName/4,uniformSubroutinesuiv/2, + getUniformSubroutineuiv/2,getProgramStageiv/3,patchParameteri/2, + patchParameterfv/2,bindTransformFeedback/2,deleteTransformFeedbacks/1, + genTransformFeedbacks/1,isTransformFeedback/1,pauseTransformFeedback/0, + resumeTransformFeedback/0,drawTransformFeedback/2,drawTransformFeedbackStream/3, + beginQueryIndexed/3,endQueryIndexed/2,getQueryIndexediv/3,releaseShaderCompiler/0, + shaderBinary/3,getShaderPrecisionFormat/2,depthRangef/2,clearDepthf/1, + getProgramBinary/2,programBinary/3,programParameteri/3,useProgramStages/3, + activeShaderProgram/2,createShaderProgramv/2,bindProgramPipeline/1, + deleteProgramPipelines/1,genProgramPipelines/1,isProgramPipeline/1, + getProgramPipelineiv/2,programUniform1i/3,programUniform1iv/3,programUniform1f/3, + programUniform1fv/3,programUniform1d/3,programUniform1dv/3,programUniform1ui/3, + programUniform1uiv/3,programUniform2i/4,programUniform2iv/3,programUniform2f/4, + programUniform2fv/3,programUniform2d/4,programUniform2dv/3,programUniform2ui/4, + programUniform2uiv/3,programUniform3i/5,programUniform3iv/3,programUniform3f/5, + programUniform3fv/3,programUniform3d/5,programUniform3dv/3,programUniform3ui/5, + programUniform3uiv/3,programUniform4i/6,programUniform4iv/3,programUniform4f/6, + programUniform4fv/3,programUniform4d/6,programUniform4dv/3,programUniform4ui/6, + programUniform4uiv/3,programUniformMatrix2fv/4,programUniformMatrix3fv/4, + programUniformMatrix4fv/4,programUniformMatrix2dv/4,programUniformMatrix3dv/4, + programUniformMatrix4dv/4,programUniformMatrix2x3fv/4,programUniformMatrix3x2fv/4, + programUniformMatrix2x4fv/4,programUniformMatrix4x2fv/4,programUniformMatrix3x4fv/4, + programUniformMatrix4x3fv/4,programUniformMatrix2x3dv/4,programUniformMatrix3x2dv/4, + programUniformMatrix2x4dv/4,programUniformMatrix4x2dv/4,programUniformMatrix3x4dv/4, + programUniformMatrix4x3dv/4,validateProgramPipeline/1,getProgramPipelineInfoLog/2, + vertexAttribL1d/2,vertexAttribL2d/3,vertexAttribL3d/4,vertexAttribL4d/5, + vertexAttribL1dv/2,vertexAttribL2dv/2,vertexAttribL3dv/2,vertexAttribL4dv/2, + vertexAttribLPointer/5,getVertexAttribLdv/2,viewportArrayv/2,viewportIndexedf/5, + viewportIndexedfv/2,scissorArrayv/2,scissorIndexed/5,scissorIndexedv/2, + depthRangeArrayv/2,depthRangeIndexed/3,getFloati_v/2,getDoublei_v/2, + debugMessageControlARB/5,debugMessageInsertARB/5,getDebugMessageLogARB/2, + getGraphicsResetStatusARB/0,resizeBuffersMESA/0,windowPos4dMESA/4, windowPos4dvMESA/1,windowPos4fMESA/4,windowPos4fvMESA/1,windowPos4iMESA/4, windowPos4ivMESA/1,windowPos4sMESA/4,windowPos4svMESA/1,depthBoundsEXT/2, stencilClearTagEXT/2]). - -%% API +-export([call/2, cast/2, send_bin/1]). +%% @hidden +call(Op, Args) -> + Port = get(opengl_port), + _ = erlang:port_control(Port,Op,Args), + rec(). + +%% @hidden +cast(Op, Args) -> + Port = get(opengl_port), + _ = erlang:port_control(Port,Op,Args), + ok. + +%% @hidden +rec() -> + receive + {'_egl_result_', Res} -> Res; + {'_egl_error_', Op, Res} -> error({error,Res,Op}) + end. + +%% @hidden +send_bin(Bin) when is_binary(Bin) -> + Port = get(opengl_port), + erlang:port_command(Port,Bin); +send_bin(Tuple) when is_tuple(Tuple) -> + Port = get(opengl_port), + case element(2, Tuple) of + Bin when is_binary(Bin) -> + erlang:port_command(Port,Bin) + end. + + +%% API %% @spec (Op::enum(),Value::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glAccum.xml">external</a> documentation. +-spec accum(enum(),float()) -> ok. accum(Op,Value) -> - wxe_util:cast(5037, <<Op:?GLenum,Value:?GLfloat>>). + cast(5037, <<Op:?GLenum,Value:?GLfloat>>). %% @spec (Func::enum(),Ref::clamp()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glAlphaFunc.xml">external</a> documentation. +-spec alphaFunc(enum(),clamp()) -> ok. alphaFunc(Func,Ref) -> - wxe_util:cast(5038, <<Func:?GLenum,Ref:?GLclampf>>). + cast(5038, <<Func:?GLenum,Ref:?GLclampf>>). %% @spec (Textures::[integer()]) -> {0|1,Residences::[0|1]} %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glAreTexturesResident.xml">external</a> documentation. +-spec areTexturesResident([integer()]) -> {0|1,[0|1]}. areTexturesResident(Textures) -> - wxe_util:call(5039, <<(length(Textures)):?GLuint, + call(5039, <<(length(Textures)):?GLuint, (<< <<C:?GLuint>> || C <- Textures>>)/binary,0:(((1+length(Textures)) rem 2)*32)>>). %% @spec (I::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glArrayElement.xml">external</a> documentation. +-spec arrayElement(integer()) -> ok. arrayElement(I) -> - wxe_util:cast(5040, <<I:?GLint>>). + cast(5040, <<I:?GLint>>). %% @spec (Mode::enum()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBegin.xml">external</a> documentation. +-spec 'begin'(enum()) -> ok. 'begin'(Mode) -> - wxe_util:cast(5041, <<Mode:?GLenum>>). + cast(5041, <<Mode:?GLenum>>). %% @spec (Target::enum(),Texture::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBindTexture.xml">external</a> documentation. +-spec bindTexture(enum(),integer()) -> ok. bindTexture(Target,Texture) -> - wxe_util:cast(5042, <<Target:?GLenum,Texture:?GLuint>>). + cast(5042, <<Target:?GLenum,Texture:?GLuint>>). -%% @spec (Width::integer(),Height::integer(),Xorig::float(),Yorig::float(),Xmove::float(),Ymove::float(),Bitmap::offset()|binary()) -> ok +%% @spec (Width::integer(),Height::integer(),Xorig::float(),Yorig::float(),Xmove::float(),Ymove::float(),Bitmap::offset()|mem()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBitmap.xml">external</a> documentation. +-spec bitmap(integer(),integer(),float(),float(),float(),float(),offset()|mem()) -> ok. bitmap(Width,Height,Xorig,Yorig,Xmove,Ymove,Bitmap) when is_integer(Bitmap) -> - wxe_util:cast(5043, <<Width:?GLsizei,Height:?GLsizei,Xorig:?GLfloat,Yorig:?GLfloat,Xmove:?GLfloat,Ymove:?GLfloat,Bitmap:?GLuint>>); + cast(5043, <<Width:?GLsizei,Height:?GLsizei,Xorig:?GLfloat,Yorig:?GLfloat,Xmove:?GLfloat,Ymove:?GLfloat,Bitmap:?GLuint>>); bitmap(Width,Height,Xorig,Yorig,Xmove,Ymove,Bitmap) -> - wxe_util:send_bin(Bitmap), - wxe_util:cast(5044, <<Width:?GLsizei,Height:?GLsizei,Xorig:?GLfloat,Yorig:?GLfloat,Xmove:?GLfloat,Ymove:?GLfloat>>). + send_bin(Bitmap), + cast(5044, <<Width:?GLsizei,Height:?GLsizei,Xorig:?GLfloat,Yorig:?GLfloat,Xmove:?GLfloat,Ymove:?GLfloat>>). %% @spec (Sfactor::enum(),Dfactor::enum()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBlendFunc.xml">external</a> documentation. +-spec blendFunc(enum(),enum()) -> ok. blendFunc(Sfactor,Dfactor) -> - wxe_util:cast(5045, <<Sfactor:?GLenum,Dfactor:?GLenum>>). + cast(5045, <<Sfactor:?GLenum,Dfactor:?GLenum>>). %% @spec (List::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCallList.xml">external</a> documentation. +-spec callList(integer()) -> ok. callList(List) -> - wxe_util:cast(5046, <<List:?GLuint>>). + cast(5046, <<List:?GLuint>>). %% @spec (Lists::[integer()]) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCallLists.xml">external</a> documentation. +-spec callLists([integer()]) -> ok. callLists(Lists) -> - wxe_util:cast(5047, <<(length(Lists)):?GLuint, + cast(5047, <<(length(Lists)):?GLuint, (<< <<C:?GLuint>> || C <- Lists>>)/binary,0:(((1+length(Lists)) rem 2)*32)>>). %% @spec (Mask::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glClear.xml">external</a> documentation. +-spec clear(integer()) -> ok. clear(Mask) -> - wxe_util:cast(5048, <<Mask:?GLbitfield>>). + cast(5048, <<Mask:?GLbitfield>>). %% @spec (Red::float(),Green::float(),Blue::float(),Alpha::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glClearAccum.xml">external</a> documentation. +-spec clearAccum(float(),float(),float(),float()) -> ok. clearAccum(Red,Green,Blue,Alpha) -> - wxe_util:cast(5049, <<Red:?GLfloat,Green:?GLfloat,Blue:?GLfloat,Alpha:?GLfloat>>). + cast(5049, <<Red:?GLfloat,Green:?GLfloat,Blue:?GLfloat,Alpha:?GLfloat>>). %% @spec (Red::clamp(),Green::clamp(),Blue::clamp(),Alpha::clamp()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glClearColor.xml">external</a> documentation. +-spec clearColor(clamp(),clamp(),clamp(),clamp()) -> ok. clearColor(Red,Green,Blue,Alpha) -> - wxe_util:cast(5050, <<Red:?GLclampf,Green:?GLclampf,Blue:?GLclampf,Alpha:?GLclampf>>). + cast(5050, <<Red:?GLclampf,Green:?GLclampf,Blue:?GLclampf,Alpha:?GLclampf>>). %% @spec (Depth::clamp()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glClearDepth.xml">external</a> documentation. +-spec clearDepth(clamp()) -> ok. clearDepth(Depth) -> - wxe_util:cast(5051, <<Depth:?GLclampd>>). + cast(5051, <<Depth:?GLclampd>>). %% @spec (C::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glClearIndex.xml">external</a> documentation. +-spec clearIndex(float()) -> ok. clearIndex(C) -> - wxe_util:cast(5052, <<C:?GLfloat>>). + cast(5052, <<C:?GLfloat>>). %% @spec (S::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glClearStencil.xml">external</a> documentation. +-spec clearStencil(integer()) -> ok. clearStencil(S) -> - wxe_util:cast(5053, <<S:?GLint>>). + cast(5053, <<S:?GLint>>). -%% @spec (Plane::enum(),Equation::{float()}) -> ok +%% @spec (Plane::enum(),Equation::{float(),float(),float(),float()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glClipPlane.xml">external</a> documentation. +-spec clipPlane(enum(),{float(),float(),float(),float()}) -> ok. clipPlane(Plane,{E1,E2,E3,E4}) -> - wxe_util:cast(5054, <<Plane:?GLenum,0:32,E1:?GLdouble,E2:?GLdouble,E3:?GLdouble,E4:?GLdouble>>). + cast(5054, <<Plane:?GLenum,0:32,E1:?GLdouble,E2:?GLdouble,E3:?GLdouble,E4:?GLdouble>>). %% @spec (Red::integer(),Green::integer(),Blue::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glColor.xml">external</a> documentation. +-spec color3b(integer(),integer(),integer()) -> ok. color3b(Red,Green,Blue) -> - wxe_util:cast(5055, <<Red:?GLbyte,Green:?GLbyte,Blue:?GLbyte>>). + cast(5055, <<Red:?GLbyte,Green:?GLbyte,Blue:?GLbyte>>). %% @spec ({Red,Green,Blue}) -> ok %% @equiv color3b(Red,Green,Blue) +-spec color3bv({integer(),integer(),integer()}) -> ok. color3bv({Red,Green,Blue}) -> color3b(Red,Green,Blue). %% @spec (Red::float(),Green::float(),Blue::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glColor.xml">external</a> documentation. +-spec color3d(float(),float(),float()) -> ok. color3d(Red,Green,Blue) -> - wxe_util:cast(5056, <<Red:?GLdouble,Green:?GLdouble,Blue:?GLdouble>>). + cast(5056, <<Red:?GLdouble,Green:?GLdouble,Blue:?GLdouble>>). %% @spec ({Red,Green,Blue}) -> ok %% @equiv color3d(Red,Green,Blue) +-spec color3dv({float(),float(),float()}) -> ok. color3dv({Red,Green,Blue}) -> color3d(Red,Green,Blue). %% @spec (Red::float(),Green::float(),Blue::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glColor.xml">external</a> documentation. +-spec color3f(float(),float(),float()) -> ok. color3f(Red,Green,Blue) -> - wxe_util:cast(5057, <<Red:?GLfloat,Green:?GLfloat,Blue:?GLfloat>>). + cast(5057, <<Red:?GLfloat,Green:?GLfloat,Blue:?GLfloat>>). %% @spec ({Red,Green,Blue}) -> ok %% @equiv color3f(Red,Green,Blue) +-spec color3fv({float(),float(),float()}) -> ok. color3fv({Red,Green,Blue}) -> color3f(Red,Green,Blue). %% @spec (Red::integer(),Green::integer(),Blue::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glColor.xml">external</a> documentation. +-spec color3i(integer(),integer(),integer()) -> ok. color3i(Red,Green,Blue) -> - wxe_util:cast(5058, <<Red:?GLint,Green:?GLint,Blue:?GLint>>). + cast(5058, <<Red:?GLint,Green:?GLint,Blue:?GLint>>). %% @spec ({Red,Green,Blue}) -> ok %% @equiv color3i(Red,Green,Blue) +-spec color3iv({integer(),integer(),integer()}) -> ok. color3iv({Red,Green,Blue}) -> color3i(Red,Green,Blue). %% @spec (Red::integer(),Green::integer(),Blue::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glColor.xml">external</a> documentation. +-spec color3s(integer(),integer(),integer()) -> ok. color3s(Red,Green,Blue) -> - wxe_util:cast(5059, <<Red:?GLshort,Green:?GLshort,Blue:?GLshort>>). + cast(5059, <<Red:?GLshort,Green:?GLshort,Blue:?GLshort>>). %% @spec ({Red,Green,Blue}) -> ok %% @equiv color3s(Red,Green,Blue) +-spec color3sv({integer(),integer(),integer()}) -> ok. color3sv({Red,Green,Blue}) -> color3s(Red,Green,Blue). %% @spec (Red::integer(),Green::integer(),Blue::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glColor.xml">external</a> documentation. +-spec color3ub(integer(),integer(),integer()) -> ok. color3ub(Red,Green,Blue) -> - wxe_util:cast(5060, <<Red:?GLubyte,Green:?GLubyte,Blue:?GLubyte>>). + cast(5060, <<Red:?GLubyte,Green:?GLubyte,Blue:?GLubyte>>). %% @spec ({Red,Green,Blue}) -> ok %% @equiv color3ub(Red,Green,Blue) +-spec color3ubv({integer(),integer(),integer()}) -> ok. color3ubv({Red,Green,Blue}) -> color3ub(Red,Green,Blue). %% @spec (Red::integer(),Green::integer(),Blue::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glColor.xml">external</a> documentation. +-spec color3ui(integer(),integer(),integer()) -> ok. color3ui(Red,Green,Blue) -> - wxe_util:cast(5061, <<Red:?GLuint,Green:?GLuint,Blue:?GLuint>>). + cast(5061, <<Red:?GLuint,Green:?GLuint,Blue:?GLuint>>). %% @spec ({Red,Green,Blue}) -> ok %% @equiv color3ui(Red,Green,Blue) +-spec color3uiv({integer(),integer(),integer()}) -> ok. color3uiv({Red,Green,Blue}) -> color3ui(Red,Green,Blue). %% @spec (Red::integer(),Green::integer(),Blue::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glColor.xml">external</a> documentation. +-spec color3us(integer(),integer(),integer()) -> ok. color3us(Red,Green,Blue) -> - wxe_util:cast(5062, <<Red:?GLushort,Green:?GLushort,Blue:?GLushort>>). + cast(5062, <<Red:?GLushort,Green:?GLushort,Blue:?GLushort>>). %% @spec ({Red,Green,Blue}) -> ok %% @equiv color3us(Red,Green,Blue) +-spec color3usv({integer(),integer(),integer()}) -> ok. color3usv({Red,Green,Blue}) -> color3us(Red,Green,Blue). %% @spec (Red::integer(),Green::integer(),Blue::integer(),Alpha::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glColor.xml">external</a> documentation. +-spec color4b(integer(),integer(),integer(),integer()) -> ok. color4b(Red,Green,Blue,Alpha) -> - wxe_util:cast(5063, <<Red:?GLbyte,Green:?GLbyte,Blue:?GLbyte,Alpha:?GLbyte>>). + cast(5063, <<Red:?GLbyte,Green:?GLbyte,Blue:?GLbyte,Alpha:?GLbyte>>). %% @spec ({Red,Green,Blue,Alpha}) -> ok %% @equiv color4b(Red,Green,Blue,Alpha) +-spec color4bv({integer(),integer(),integer(),integer()}) -> ok. color4bv({Red,Green,Blue,Alpha}) -> color4b(Red,Green,Blue,Alpha). %% @spec (Red::float(),Green::float(),Blue::float(),Alpha::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glColor.xml">external</a> documentation. +-spec color4d(float(),float(),float(),float()) -> ok. color4d(Red,Green,Blue,Alpha) -> - wxe_util:cast(5064, <<Red:?GLdouble,Green:?GLdouble,Blue:?GLdouble,Alpha:?GLdouble>>). + cast(5064, <<Red:?GLdouble,Green:?GLdouble,Blue:?GLdouble,Alpha:?GLdouble>>). %% @spec ({Red,Green,Blue,Alpha}) -> ok %% @equiv color4d(Red,Green,Blue,Alpha) +-spec color4dv({float(),float(),float(),float()}) -> ok. color4dv({Red,Green,Blue,Alpha}) -> color4d(Red,Green,Blue,Alpha). %% @spec (Red::float(),Green::float(),Blue::float(),Alpha::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glColor.xml">external</a> documentation. +-spec color4f(float(),float(),float(),float()) -> ok. color4f(Red,Green,Blue,Alpha) -> - wxe_util:cast(5065, <<Red:?GLfloat,Green:?GLfloat,Blue:?GLfloat,Alpha:?GLfloat>>). + cast(5065, <<Red:?GLfloat,Green:?GLfloat,Blue:?GLfloat,Alpha:?GLfloat>>). %% @spec ({Red,Green,Blue,Alpha}) -> ok %% @equiv color4f(Red,Green,Blue,Alpha) +-spec color4fv({float(),float(),float(),float()}) -> ok. color4fv({Red,Green,Blue,Alpha}) -> color4f(Red,Green,Blue,Alpha). %% @spec (Red::integer(),Green::integer(),Blue::integer(),Alpha::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glColor.xml">external</a> documentation. +-spec color4i(integer(),integer(),integer(),integer()) -> ok. color4i(Red,Green,Blue,Alpha) -> - wxe_util:cast(5066, <<Red:?GLint,Green:?GLint,Blue:?GLint,Alpha:?GLint>>). + cast(5066, <<Red:?GLint,Green:?GLint,Blue:?GLint,Alpha:?GLint>>). %% @spec ({Red,Green,Blue,Alpha}) -> ok %% @equiv color4i(Red,Green,Blue,Alpha) +-spec color4iv({integer(),integer(),integer(),integer()}) -> ok. color4iv({Red,Green,Blue,Alpha}) -> color4i(Red,Green,Blue,Alpha). %% @spec (Red::integer(),Green::integer(),Blue::integer(),Alpha::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glColor.xml">external</a> documentation. +-spec color4s(integer(),integer(),integer(),integer()) -> ok. color4s(Red,Green,Blue,Alpha) -> - wxe_util:cast(5067, <<Red:?GLshort,Green:?GLshort,Blue:?GLshort,Alpha:?GLshort>>). + cast(5067, <<Red:?GLshort,Green:?GLshort,Blue:?GLshort,Alpha:?GLshort>>). %% @spec ({Red,Green,Blue,Alpha}) -> ok %% @equiv color4s(Red,Green,Blue,Alpha) +-spec color4sv({integer(),integer(),integer(),integer()}) -> ok. color4sv({Red,Green,Blue,Alpha}) -> color4s(Red,Green,Blue,Alpha). %% @spec (Red::integer(),Green::integer(),Blue::integer(),Alpha::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glColor.xml">external</a> documentation. +-spec color4ub(integer(),integer(),integer(),integer()) -> ok. color4ub(Red,Green,Blue,Alpha) -> - wxe_util:cast(5068, <<Red:?GLubyte,Green:?GLubyte,Blue:?GLubyte,Alpha:?GLubyte>>). + cast(5068, <<Red:?GLubyte,Green:?GLubyte,Blue:?GLubyte,Alpha:?GLubyte>>). %% @spec ({Red,Green,Blue,Alpha}) -> ok %% @equiv color4ub(Red,Green,Blue,Alpha) +-spec color4ubv({integer(),integer(),integer(),integer()}) -> ok. color4ubv({Red,Green,Blue,Alpha}) -> color4ub(Red,Green,Blue,Alpha). %% @spec (Red::integer(),Green::integer(),Blue::integer(),Alpha::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glColor.xml">external</a> documentation. +-spec color4ui(integer(),integer(),integer(),integer()) -> ok. color4ui(Red,Green,Blue,Alpha) -> - wxe_util:cast(5069, <<Red:?GLuint,Green:?GLuint,Blue:?GLuint,Alpha:?GLuint>>). + cast(5069, <<Red:?GLuint,Green:?GLuint,Blue:?GLuint,Alpha:?GLuint>>). %% @spec ({Red,Green,Blue,Alpha}) -> ok %% @equiv color4ui(Red,Green,Blue,Alpha) +-spec color4uiv({integer(),integer(),integer(),integer()}) -> ok. color4uiv({Red,Green,Blue,Alpha}) -> color4ui(Red,Green,Blue,Alpha). %% @spec (Red::integer(),Green::integer(),Blue::integer(),Alpha::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glColor.xml">external</a> documentation. +-spec color4us(integer(),integer(),integer(),integer()) -> ok. color4us(Red,Green,Blue,Alpha) -> - wxe_util:cast(5070, <<Red:?GLushort,Green:?GLushort,Blue:?GLushort,Alpha:?GLushort>>). + cast(5070, <<Red:?GLushort,Green:?GLushort,Blue:?GLushort,Alpha:?GLushort>>). %% @spec ({Red,Green,Blue,Alpha}) -> ok %% @equiv color4us(Red,Green,Blue,Alpha) +-spec color4usv({integer(),integer(),integer(),integer()}) -> ok. color4usv({Red,Green,Blue,Alpha}) -> color4us(Red,Green,Blue,Alpha). %% @spec (Red::0|1,Green::0|1,Blue::0|1,Alpha::0|1) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glColorMask.xml">external</a> documentation. +-spec colorMask(0|1,0|1,0|1,0|1) -> ok. colorMask(Red,Green,Blue,Alpha) -> - wxe_util:cast(5071, <<Red:?GLboolean,Green:?GLboolean,Blue:?GLboolean,Alpha:?GLboolean>>). + cast(5071, <<Red:?GLboolean,Green:?GLboolean,Blue:?GLboolean,Alpha:?GLboolean>>). %% @spec (Face::enum(),Mode::enum()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glColorMaterial.xml">external</a> documentation. +-spec colorMaterial(enum(),enum()) -> ok. colorMaterial(Face,Mode) -> - wxe_util:cast(5072, <<Face:?GLenum,Mode:?GLenum>>). + cast(5072, <<Face:?GLenum,Mode:?GLenum>>). -%% @spec (Size::integer(),Type::enum(),Stride::integer(),Pointer::offset()|binary()) -> ok +%% @spec (Size::integer(),Type::enum(),Stride::integer(),Pointer::offset()|mem()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glColorPointer.xml">external</a> documentation. +-spec colorPointer(integer(),enum(),integer(),offset()|mem()) -> ok. colorPointer(Size,Type,Stride,Pointer) when is_integer(Pointer) -> - wxe_util:cast(5073, <<Size:?GLint,Type:?GLenum,Stride:?GLsizei,Pointer:?GLuint>>); + cast(5073, <<Size:?GLint,Type:?GLenum,Stride:?GLsizei,Pointer:?GLuint>>); colorPointer(Size,Type,Stride,Pointer) -> - wxe_util:send_bin(Pointer), - wxe_util:cast(5074, <<Size:?GLint,Type:?GLenum,Stride:?GLsizei>>). + send_bin(Pointer), + cast(5074, <<Size:?GLint,Type:?GLenum,Stride:?GLsizei>>). %% @spec (X::integer(),Y::integer(),Width::integer(),Height::integer(),Type::enum()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCopyPixels.xml">external</a> documentation. +-spec copyPixels(integer(),integer(),integer(),integer(),enum()) -> ok. copyPixels(X,Y,Width,Height,Type) -> - wxe_util:cast(5075, <<X:?GLint,Y:?GLint,Width:?GLsizei,Height:?GLsizei,Type:?GLenum>>). + cast(5075, <<X:?GLint,Y:?GLint,Width:?GLsizei,Height:?GLsizei,Type:?GLenum>>). %% @spec (Target::enum(),Level::integer(),InternalFormat::enum(),X::integer(),Y::integer(),Width::integer(),Border::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCopyTexImage1D.xml">external</a> documentation. +-spec copyTexImage1D(enum(),integer(),enum(),integer(),integer(),integer(),integer()) -> ok. copyTexImage1D(Target,Level,InternalFormat,X,Y,Width,Border) -> - wxe_util:cast(5076, <<Target:?GLenum,Level:?GLint,InternalFormat:?GLenum,X:?GLint,Y:?GLint,Width:?GLsizei,Border:?GLint>>). + cast(5076, <<Target:?GLenum,Level:?GLint,InternalFormat:?GLenum,X:?GLint,Y:?GLint,Width:?GLsizei,Border:?GLint>>). %% @spec (Target::enum(),Level::integer(),InternalFormat::enum(),X::integer(),Y::integer(),Width::integer(),Height::integer(),Border::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCopyTexImage2D.xml">external</a> documentation. +-spec copyTexImage2D(enum(),integer(),enum(),integer(),integer(),integer(),integer(),integer()) -> ok. copyTexImage2D(Target,Level,InternalFormat,X,Y,Width,Height,Border) -> - wxe_util:cast(5077, <<Target:?GLenum,Level:?GLint,InternalFormat:?GLenum,X:?GLint,Y:?GLint,Width:?GLsizei,Height:?GLsizei,Border:?GLint>>). + cast(5077, <<Target:?GLenum,Level:?GLint,InternalFormat:?GLenum,X:?GLint,Y:?GLint,Width:?GLsizei,Height:?GLsizei,Border:?GLint>>). %% @spec (Target::enum(),Level::integer(),Xoffset::integer(),X::integer(),Y::integer(),Width::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCopyTexSubImage1D.xml">external</a> documentation. +-spec copyTexSubImage1D(enum(),integer(),integer(),integer(),integer(),integer()) -> ok. copyTexSubImage1D(Target,Level,Xoffset,X,Y,Width) -> - wxe_util:cast(5078, <<Target:?GLenum,Level:?GLint,Xoffset:?GLint,X:?GLint,Y:?GLint,Width:?GLsizei>>). + cast(5078, <<Target:?GLenum,Level:?GLint,Xoffset:?GLint,X:?GLint,Y:?GLint,Width:?GLsizei>>). %% @spec (Target::enum(),Level::integer(),Xoffset::integer(),Yoffset::integer(),X::integer(),Y::integer(),Width::integer(),Height::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCopyTexSubImage2D.xml">external</a> documentation. +-spec copyTexSubImage2D(enum(),integer(),integer(),integer(),integer(),integer(),integer(),integer()) -> ok. copyTexSubImage2D(Target,Level,Xoffset,Yoffset,X,Y,Width,Height) -> - wxe_util:cast(5079, <<Target:?GLenum,Level:?GLint,Xoffset:?GLint,Yoffset:?GLint,X:?GLint,Y:?GLint,Width:?GLsizei,Height:?GLsizei>>). + cast(5079, <<Target:?GLenum,Level:?GLint,Xoffset:?GLint,Yoffset:?GLint,X:?GLint,Y:?GLint,Width:?GLsizei,Height:?GLsizei>>). %% @spec (Mode::enum()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCullFace.xml">external</a> documentation. +-spec cullFace(enum()) -> ok. cullFace(Mode) -> - wxe_util:cast(5080, <<Mode:?GLenum>>). + cast(5080, <<Mode:?GLenum>>). %% @spec (List::integer(),Range::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDeleteLists.xml">external</a> documentation. +-spec deleteLists(integer(),integer()) -> ok. deleteLists(List,Range) -> - wxe_util:cast(5081, <<List:?GLuint,Range:?GLsizei>>). + cast(5081, <<List:?GLuint,Range:?GLsizei>>). %% @spec (Textures::[integer()]) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDeleteTextures.xml">external</a> documentation. +-spec deleteTextures([integer()]) -> ok. deleteTextures(Textures) -> - wxe_util:cast(5082, <<(length(Textures)):?GLuint, + cast(5082, <<(length(Textures)):?GLuint, (<< <<C:?GLuint>> || C <- Textures>>)/binary,0:(((1+length(Textures)) rem 2)*32)>>). %% @spec (Func::enum()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDepthFunc.xml">external</a> documentation. +-spec depthFunc(enum()) -> ok. depthFunc(Func) -> - wxe_util:cast(5083, <<Func:?GLenum>>). + cast(5083, <<Func:?GLenum>>). %% @spec (Flag::0|1) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDepthMask.xml">external</a> documentation. +-spec depthMask(0|1) -> ok. depthMask(Flag) -> - wxe_util:cast(5084, <<Flag:?GLboolean>>). + cast(5084, <<Flag:?GLboolean>>). %% @spec (ZNear::clamp(),ZFar::clamp()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDepthRange.xml">external</a> documentation. +-spec depthRange(clamp(),clamp()) -> ok. depthRange(ZNear,ZFar) -> - wxe_util:cast(5085, <<ZNear:?GLclampd,ZFar:?GLclampd>>). + cast(5085, <<ZNear:?GLclampd,ZFar:?GLclampd>>). %% @spec (Cap::enum()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDisable.xml">external</a> documentation. +-spec disable(enum()) -> ok. disable(Cap) -> - wxe_util:cast(5086, <<Cap:?GLenum>>). + cast(5086, <<Cap:?GLenum>>). %% @spec (Array::enum()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDisableClientState.xml">external</a> documentation. +-spec disableClientState(enum()) -> ok. disableClientState(Array) -> - wxe_util:cast(5087, <<Array:?GLenum>>). + cast(5087, <<Array:?GLenum>>). %% @spec (Mode::enum(),First::integer(),Count::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDrawArrays.xml">external</a> documentation. +-spec drawArrays(enum(),integer(),integer()) -> ok. drawArrays(Mode,First,Count) -> - wxe_util:cast(5088, <<Mode:?GLenum,First:?GLint,Count:?GLsizei>>). + cast(5088, <<Mode:?GLenum,First:?GLint,Count:?GLsizei>>). %% @spec (Mode::enum()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDrawBuffer.xml">external</a> documentation. +-spec drawBuffer(enum()) -> ok. drawBuffer(Mode) -> - wxe_util:cast(5089, <<Mode:?GLenum>>). + cast(5089, <<Mode:?GLenum>>). -%% @spec (Mode::enum(),Count::integer(),Type::enum(),Indices::offset()|binary()) -> ok +%% @spec (Mode::enum(),Count::integer(),Type::enum(),Indices::offset()|mem()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDrawElements.xml">external</a> documentation. +-spec drawElements(enum(),integer(),enum(),offset()|mem()) -> ok. drawElements(Mode,Count,Type,Indices) when is_integer(Indices) -> - wxe_util:cast(5090, <<Mode:?GLenum,Count:?GLsizei,Type:?GLenum,Indices:?GLuint>>); + cast(5090, <<Mode:?GLenum,Count:?GLsizei,Type:?GLenum,Indices:?GLuint>>); drawElements(Mode,Count,Type,Indices) -> - wxe_util:send_bin(Indices), - wxe_util:cast(5091, <<Mode:?GLenum,Count:?GLsizei,Type:?GLenum>>). + send_bin(Indices), + cast(5091, <<Mode:?GLenum,Count:?GLsizei,Type:?GLenum>>). -%% @spec (Width::integer(),Height::integer(),Format::enum(),Type::enum(),Pixels::offset()|binary()) -> ok +%% @spec (Width::integer(),Height::integer(),Format::enum(),Type::enum(),Pixels::offset()|mem()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDrawPixels.xml">external</a> documentation. +-spec drawPixels(integer(),integer(),enum(),enum(),offset()|mem()) -> ok. drawPixels(Width,Height,Format,Type,Pixels) when is_integer(Pixels) -> - wxe_util:cast(5092, <<Width:?GLsizei,Height:?GLsizei,Format:?GLenum,Type:?GLenum,Pixels:?GLuint>>); + cast(5092, <<Width:?GLsizei,Height:?GLsizei,Format:?GLenum,Type:?GLenum,Pixels:?GLuint>>); drawPixels(Width,Height,Format,Type,Pixels) -> - wxe_util:send_bin(Pixels), - wxe_util:cast(5093, <<Width:?GLsizei,Height:?GLsizei,Format:?GLenum,Type:?GLenum>>). + send_bin(Pixels), + cast(5093, <<Width:?GLsizei,Height:?GLsizei,Format:?GLenum,Type:?GLenum>>). %% @spec (Flag::0|1) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glEdgeFlag.xml">external</a> documentation. +-spec edgeFlag(0|1) -> ok. edgeFlag(Flag) -> - wxe_util:cast(5094, <<Flag:?GLboolean>>). + cast(5094, <<Flag:?GLboolean>>). -%% @spec (Stride::integer(),Pointer::offset()|binary()) -> ok +%% @spec (Stride::integer(),Pointer::offset()|mem()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glEdgeFlagPointer.xml">external</a> documentation. +-spec edgeFlagPointer(integer(),offset()|mem()) -> ok. edgeFlagPointer(Stride,Pointer) when is_integer(Pointer) -> - wxe_util:cast(5095, <<Stride:?GLsizei,Pointer:?GLuint>>); + cast(5095, <<Stride:?GLsizei,Pointer:?GLuint>>); edgeFlagPointer(Stride,Pointer) -> - wxe_util:send_bin(Pointer), - wxe_util:cast(5096, <<Stride:?GLsizei>>). + send_bin(Pointer), + cast(5096, <<Stride:?GLsizei>>). %% @spec ({Flag}) -> ok %% @equiv edgeFlag(Flag) +-spec edgeFlagv({0|1}) -> ok. edgeFlagv({Flag}) -> edgeFlag(Flag). %% @spec (Cap::enum()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glEnable.xml">external</a> documentation. +-spec enable(enum()) -> ok. enable(Cap) -> - wxe_util:cast(5097, <<Cap:?GLenum>>). + cast(5097, <<Cap:?GLenum>>). %% @spec (Array::enum()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glEnableClientState.xml">external</a> documentation. +-spec enableClientState(enum()) -> ok. enableClientState(Array) -> - wxe_util:cast(5098, <<Array:?GLenum>>). + cast(5098, <<Array:?GLenum>>). %% @spec () -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glEnd.xml">external</a> documentation. +-spec 'end'() -> ok. 'end'() -> - wxe_util:cast(5099, <<>>). + cast(5099, <<>>). %% @spec () -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glEndList.xml">external</a> documentation. +-spec endList() -> ok. endList() -> - wxe_util:cast(5100, <<>>). + cast(5100, <<>>). %% @spec (U::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glEvalCoord.xml">external</a> documentation. +-spec evalCoord1d(float()) -> ok. evalCoord1d(U) -> - wxe_util:cast(5101, <<U:?GLdouble>>). + cast(5101, <<U:?GLdouble>>). %% @spec ({U}) -> ok %% @equiv evalCoord1d(U) +-spec evalCoord1dv({float()}) -> ok. evalCoord1dv({U}) -> evalCoord1d(U). %% @spec (U::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glEvalCoord.xml">external</a> documentation. +-spec evalCoord1f(float()) -> ok. evalCoord1f(U) -> - wxe_util:cast(5102, <<U:?GLfloat>>). + cast(5102, <<U:?GLfloat>>). %% @spec ({U}) -> ok %% @equiv evalCoord1f(U) +-spec evalCoord1fv({float()}) -> ok. evalCoord1fv({U}) -> evalCoord1f(U). %% @spec (U::float(),V::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glEvalCoord.xml">external</a> documentation. +-spec evalCoord2d(float(),float()) -> ok. evalCoord2d(U,V) -> - wxe_util:cast(5103, <<U:?GLdouble,V:?GLdouble>>). + cast(5103, <<U:?GLdouble,V:?GLdouble>>). %% @spec ({U,V}) -> ok %% @equiv evalCoord2d(U,V) +-spec evalCoord2dv({float(),float()}) -> ok. evalCoord2dv({U,V}) -> evalCoord2d(U,V). %% @spec (U::float(),V::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glEvalCoord.xml">external</a> documentation. +-spec evalCoord2f(float(),float()) -> ok. evalCoord2f(U,V) -> - wxe_util:cast(5104, <<U:?GLfloat,V:?GLfloat>>). + cast(5104, <<U:?GLfloat,V:?GLfloat>>). %% @spec ({U,V}) -> ok %% @equiv evalCoord2f(U,V) +-spec evalCoord2fv({float(),float()}) -> ok. evalCoord2fv({U,V}) -> evalCoord2f(U,V). %% @spec (Mode::enum(),I1::integer(),I2::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glEvalMesh.xml">external</a> documentation. +-spec evalMesh1(enum(),integer(),integer()) -> ok. evalMesh1(Mode,I1,I2) -> - wxe_util:cast(5105, <<Mode:?GLenum,I1:?GLint,I2:?GLint>>). + cast(5105, <<Mode:?GLenum,I1:?GLint,I2:?GLint>>). %% @spec (Mode::enum(),I1::integer(),I2::integer(),J1::integer(),J2::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glEvalMesh.xml">external</a> documentation. +-spec evalMesh2(enum(),integer(),integer(),integer(),integer()) -> ok. evalMesh2(Mode,I1,I2,J1,J2) -> - wxe_util:cast(5106, <<Mode:?GLenum,I1:?GLint,I2:?GLint,J1:?GLint,J2:?GLint>>). + cast(5106, <<Mode:?GLenum,I1:?GLint,I2:?GLint,J1:?GLint,J2:?GLint>>). %% @spec (I::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glEvalPoint.xml">external</a> documentation. +-spec evalPoint1(integer()) -> ok. evalPoint1(I) -> - wxe_util:cast(5107, <<I:?GLint>>). + cast(5107, <<I:?GLint>>). %% @spec (I::integer(),J::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glEvalPoint.xml">external</a> documentation. +-spec evalPoint2(integer(),integer()) -> ok. evalPoint2(I,J) -> - wxe_util:cast(5108, <<I:?GLint,J:?GLint>>). + cast(5108, <<I:?GLint,J:?GLint>>). -%% @spec (Size::integer(),Type::enum(),Buffer::wx:wx_mem()) -> ok +%% @spec (Size::integer(),Type::enum(),Buffer::mem()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glFeedbackBuffer.xml">external</a> documentation. +-spec feedbackBuffer(integer(),enum(),mem()) -> ok. feedbackBuffer(Size,Type,Buffer) -> - wxe_util:send_bin(Buffer#wx_mem.bin), - wxe_util:call(5109, <<Size:?GLsizei,Type:?GLenum>>). + send_bin(Buffer), + call(5109, <<Size:?GLsizei,Type:?GLenum>>). %% @spec () -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glFinish.xml">external</a> documentation. +-spec finish() -> ok. finish() -> - wxe_util:cast(5110, <<>>). + cast(5110, <<>>). %% @spec () -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glFlush.xml">external</a> documentation. +-spec flush() -> ok. flush() -> - wxe_util:cast(5111, <<>>). + cast(5111, <<>>). %% @spec (Pname::enum(),Param::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glFog.xml">external</a> documentation. +-spec fogf(enum(),float()) -> ok. fogf(Pname,Param) -> - wxe_util:cast(5112, <<Pname:?GLenum,Param:?GLfloat>>). + cast(5112, <<Pname:?GLenum,Param:?GLfloat>>). %% @spec (Pname::enum(),Params::{float()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glFog.xml">external</a> documentation. +-spec fogfv(enum(),{float()}) -> ok. fogfv(Pname,Params) -> - wxe_util:cast(5113, <<Pname:?GLenum,(size(Params)):?GLuint, + cast(5113, <<Pname:?GLenum,(size(Params)):?GLuint, (<< <<C:?GLfloat>> ||C <- tuple_to_list(Params)>>)/binary,0:(((0+size(Params)) rem 2)*32)>>). %% @spec (Pname::enum(),Param::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glFog.xml">external</a> documentation. +-spec fogi(enum(),integer()) -> ok. fogi(Pname,Param) -> - wxe_util:cast(5114, <<Pname:?GLenum,Param:?GLint>>). + cast(5114, <<Pname:?GLenum,Param:?GLint>>). %% @spec (Pname::enum(),Params::{integer()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glFog.xml">external</a> documentation. +-spec fogiv(enum(),{integer()}) -> ok. fogiv(Pname,Params) -> - wxe_util:cast(5115, <<Pname:?GLenum,(size(Params)):?GLuint, + cast(5115, <<Pname:?GLenum,(size(Params)):?GLuint, (<< <<C:?GLint>> ||C <- tuple_to_list(Params)>>)/binary,0:(((0+size(Params)) rem 2)*32)>>). %% @spec (Mode::enum()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glFrontFace.xml">external</a> documentation. +-spec frontFace(enum()) -> ok. frontFace(Mode) -> - wxe_util:cast(5116, <<Mode:?GLenum>>). + cast(5116, <<Mode:?GLenum>>). %% @spec (Left::float(),Right::float(),Bottom::float(),Top::float(),ZNear::float(),ZFar::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glFrustum.xml">external</a> documentation. +-spec frustum(float(),float(),float(),float(),float(),float()) -> ok. frustum(Left,Right,Bottom,Top,ZNear,ZFar) -> - wxe_util:cast(5117, <<Left:?GLdouble,Right:?GLdouble,Bottom:?GLdouble,Top:?GLdouble,ZNear:?GLdouble,ZFar:?GLdouble>>). + cast(5117, <<Left:?GLdouble,Right:?GLdouble,Bottom:?GLdouble,Top:?GLdouble,ZNear:?GLdouble,ZFar:?GLdouble>>). %% @spec (Range::integer()) -> integer() %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGenLists.xml">external</a> documentation. +-spec genLists(integer()) -> integer(). genLists(Range) -> - wxe_util:call(5118, <<Range:?GLsizei>>). + call(5118, <<Range:?GLsizei>>). %% @spec (N::integer()) -> [integer()] %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGenTextures.xml">external</a> documentation. +-spec genTextures(integer()) -> [integer()]. genTextures(N) -> - wxe_util:call(5119, <<N:?GLsizei>>). + call(5119, <<N:?GLsizei>>). %% @spec (Pname::enum()) -> [0|1] %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetBooleanv.xml">external</a> documentation. +-spec getBooleanv(enum()) -> [0|1]. getBooleanv(Pname) -> - wxe_util:call(5120, <<Pname:?GLenum>>). + call(5120, <<Pname:?GLenum>>). -%% @spec (Plane::enum()) -> {float()} +%% @spec (Plane::enum()) -> {float(),float(),float(),float()} %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetClipPlane.xml">external</a> documentation. +-spec getClipPlane(enum()) -> {float(),float(),float(),float()}. getClipPlane(Plane) -> - wxe_util:call(5121, <<Plane:?GLenum>>). + call(5121, <<Plane:?GLenum>>). %% @spec (Pname::enum()) -> [float()] %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetDoublev.xml">external</a> documentation. +-spec getDoublev(enum()) -> [float()]. getDoublev(Pname) -> - wxe_util:call(5122, <<Pname:?GLenum>>). + call(5122, <<Pname:?GLenum>>). %% @spec () -> enum() %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetError.xml">external</a> documentation. +-spec getError() -> enum(). getError() -> - wxe_util:call(5123, <<>>). + call(5123, <<>>). %% @spec (Pname::enum()) -> [float()] %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetFloatv.xml">external</a> documentation. +-spec getFloatv(enum()) -> [float()]. getFloatv(Pname) -> - wxe_util:call(5124, <<Pname:?GLenum>>). + call(5124, <<Pname:?GLenum>>). %% @spec (Pname::enum()) -> [integer()] %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetIntegerv.xml">external</a> documentation. +-spec getIntegerv(enum()) -> [integer()]. getIntegerv(Pname) -> - wxe_util:call(5125, <<Pname:?GLenum>>). + call(5125, <<Pname:?GLenum>>). -%% @spec (Light::enum(),Pname::enum()) -> {float()} +%% @spec (Light::enum(),Pname::enum()) -> {float(),float(),float(),float()} %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetLight.xml">external</a> documentation. +-spec getLightfv(enum(),enum()) -> {float(),float(),float(),float()}. getLightfv(Light,Pname) -> - wxe_util:call(5126, <<Light:?GLenum,Pname:?GLenum>>). + call(5126, <<Light:?GLenum,Pname:?GLenum>>). -%% @spec (Light::enum(),Pname::enum()) -> {integer()} +%% @spec (Light::enum(),Pname::enum()) -> {integer(),integer(),integer(),integer()} %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetLight.xml">external</a> documentation. +-spec getLightiv(enum(),enum()) -> {integer(),integer(),integer(),integer()}. getLightiv(Light,Pname) -> - wxe_util:call(5127, <<Light:?GLenum,Pname:?GLenum>>). + call(5127, <<Light:?GLenum,Pname:?GLenum>>). -%% @spec (Target::enum(),Query::enum(),V::wx:wx_mem()) -> ok +%% @spec (Target::enum(),Query::enum(),V::mem()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetMap.xml">external</a> documentation. +-spec getMapdv(enum(),enum(),mem()) -> ok. getMapdv(Target,Query,V) -> - wxe_util:send_bin(V#wx_mem.bin), - wxe_util:call(5128, <<Target:?GLenum,Query:?GLenum>>). + send_bin(V), + call(5128, <<Target:?GLenum,Query:?GLenum>>). -%% @spec (Target::enum(),Query::enum(),V::wx:wx_mem()) -> ok +%% @spec (Target::enum(),Query::enum(),V::mem()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetMap.xml">external</a> documentation. +-spec getMapfv(enum(),enum(),mem()) -> ok. getMapfv(Target,Query,V) -> - wxe_util:send_bin(V#wx_mem.bin), - wxe_util:call(5129, <<Target:?GLenum,Query:?GLenum>>). + send_bin(V), + call(5129, <<Target:?GLenum,Query:?GLenum>>). -%% @spec (Target::enum(),Query::enum(),V::wx:wx_mem()) -> ok +%% @spec (Target::enum(),Query::enum(),V::mem()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetMap.xml">external</a> documentation. +-spec getMapiv(enum(),enum(),mem()) -> ok. getMapiv(Target,Query,V) -> - wxe_util:send_bin(V#wx_mem.bin), - wxe_util:call(5130, <<Target:?GLenum,Query:?GLenum>>). + send_bin(V), + call(5130, <<Target:?GLenum,Query:?GLenum>>). -%% @spec (Face::enum(),Pname::enum()) -> {float()} +%% @spec (Face::enum(),Pname::enum()) -> {float(),float(),float(),float()} %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetMaterial.xml">external</a> documentation. +-spec getMaterialfv(enum(),enum()) -> {float(),float(),float(),float()}. getMaterialfv(Face,Pname) -> - wxe_util:call(5131, <<Face:?GLenum,Pname:?GLenum>>). + call(5131, <<Face:?GLenum,Pname:?GLenum>>). -%% @spec (Face::enum(),Pname::enum()) -> {integer()} +%% @spec (Face::enum(),Pname::enum()) -> {integer(),integer(),integer(),integer()} %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetMaterial.xml">external</a> documentation. +-spec getMaterialiv(enum(),enum()) -> {integer(),integer(),integer(),integer()}. getMaterialiv(Face,Pname) -> - wxe_util:call(5132, <<Face:?GLenum,Pname:?GLenum>>). + call(5132, <<Face:?GLenum,Pname:?GLenum>>). -%% @spec (Map::enum(),Values::wx:wx_mem()) -> ok +%% @spec (Map::enum(),Values::mem()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetPixelMap.xml">external</a> documentation. +-spec getPixelMapfv(enum(),mem()) -> ok. getPixelMapfv(Map,Values) -> - wxe_util:send_bin(Values#wx_mem.bin), - wxe_util:call(5133, <<Map:?GLenum>>). + send_bin(Values), + call(5133, <<Map:?GLenum>>). -%% @spec (Map::enum(),Values::wx:wx_mem()) -> ok +%% @spec (Map::enum(),Values::mem()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetPixelMap.xml">external</a> documentation. +-spec getPixelMapuiv(enum(),mem()) -> ok. getPixelMapuiv(Map,Values) -> - wxe_util:send_bin(Values#wx_mem.bin), - wxe_util:call(5134, <<Map:?GLenum>>). + send_bin(Values), + call(5134, <<Map:?GLenum>>). -%% @spec (Map::enum(),Values::wx:wx_mem()) -> ok +%% @spec (Map::enum(),Values::mem()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetPixelMap.xml">external</a> documentation. +-spec getPixelMapusv(enum(),mem()) -> ok. getPixelMapusv(Map,Values) -> - wxe_util:send_bin(Values#wx_mem.bin), - wxe_util:call(5135, <<Map:?GLenum>>). + send_bin(Values), + call(5135, <<Map:?GLenum>>). %% @spec () -> binary() %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetPolygonStipple.xml">external</a> documentation. +-spec getPolygonStipple() -> binary(). getPolygonStipple() -> - wxe_util:call(5136, <<>>). + call(5136, <<>>). %% @spec (Name::enum()) -> string() %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetString.xml">external</a> documentation. +-spec getString(enum()) -> string(). getString(Name) -> - wxe_util:call(5137, <<Name:?GLenum>>). + call(5137, <<Name:?GLenum>>). -%% @spec (Target::enum(),Pname::enum()) -> {float()} +%% @spec (Target::enum(),Pname::enum()) -> {float(),float(),float(),float()} %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetTexEnv.xml">external</a> documentation. +-spec getTexEnvfv(enum(),enum()) -> {float(),float(),float(),float()}. getTexEnvfv(Target,Pname) -> - wxe_util:call(5138, <<Target:?GLenum,Pname:?GLenum>>). + call(5138, <<Target:?GLenum,Pname:?GLenum>>). -%% @spec (Target::enum(),Pname::enum()) -> {integer()} +%% @spec (Target::enum(),Pname::enum()) -> {integer(),integer(),integer(),integer()} %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetTexEnv.xml">external</a> documentation. +-spec getTexEnviv(enum(),enum()) -> {integer(),integer(),integer(),integer()}. getTexEnviv(Target,Pname) -> - wxe_util:call(5139, <<Target:?GLenum,Pname:?GLenum>>). + call(5139, <<Target:?GLenum,Pname:?GLenum>>). -%% @spec (Coord::enum(),Pname::enum()) -> {float()} +%% @spec (Coord::enum(),Pname::enum()) -> {float(),float(),float(),float()} %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetTexGen.xml">external</a> documentation. +-spec getTexGendv(enum(),enum()) -> {float(),float(),float(),float()}. getTexGendv(Coord,Pname) -> - wxe_util:call(5140, <<Coord:?GLenum,Pname:?GLenum>>). + call(5140, <<Coord:?GLenum,Pname:?GLenum>>). -%% @spec (Coord::enum(),Pname::enum()) -> {float()} +%% @spec (Coord::enum(),Pname::enum()) -> {float(),float(),float(),float()} %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetTexGen.xml">external</a> documentation. +-spec getTexGenfv(enum(),enum()) -> {float(),float(),float(),float()}. getTexGenfv(Coord,Pname) -> - wxe_util:call(5141, <<Coord:?GLenum,Pname:?GLenum>>). + call(5141, <<Coord:?GLenum,Pname:?GLenum>>). -%% @spec (Coord::enum(),Pname::enum()) -> {integer()} +%% @spec (Coord::enum(),Pname::enum()) -> {integer(),integer(),integer(),integer()} %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetTexGen.xml">external</a> documentation. +-spec getTexGeniv(enum(),enum()) -> {integer(),integer(),integer(),integer()}. getTexGeniv(Coord,Pname) -> - wxe_util:call(5142, <<Coord:?GLenum,Pname:?GLenum>>). + call(5142, <<Coord:?GLenum,Pname:?GLenum>>). -%% @spec (Target::enum(),Level::integer(),Format::enum(),Type::enum(),Pixels::wx:wx_mem()) -> ok +%% @spec (Target::enum(),Level::integer(),Format::enum(),Type::enum(),Pixels::mem()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetTexImage.xml">external</a> documentation. +-spec getTexImage(enum(),integer(),enum(),enum(),mem()) -> ok. getTexImage(Target,Level,Format,Type,Pixels) -> - wxe_util:send_bin(Pixels#wx_mem.bin), - wxe_util:call(5143, <<Target:?GLenum,Level:?GLint,Format:?GLenum,Type:?GLenum>>). + send_bin(Pixels), + call(5143, <<Target:?GLenum,Level:?GLint,Format:?GLenum,Type:?GLenum>>). %% @spec (Target::enum(),Level::integer(),Pname::enum()) -> {float()} %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetTexLevelParameter.xml">external</a> documentation. +-spec getTexLevelParameterfv(enum(),integer(),enum()) -> {float()}. getTexLevelParameterfv(Target,Level,Pname) -> - wxe_util:call(5144, <<Target:?GLenum,Level:?GLint,Pname:?GLenum>>). + call(5144, <<Target:?GLenum,Level:?GLint,Pname:?GLenum>>). %% @spec (Target::enum(),Level::integer(),Pname::enum()) -> {integer()} %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetTexLevelParameter.xml">external</a> documentation. +-spec getTexLevelParameteriv(enum(),integer(),enum()) -> {integer()}. getTexLevelParameteriv(Target,Level,Pname) -> - wxe_util:call(5145, <<Target:?GLenum,Level:?GLint,Pname:?GLenum>>). + call(5145, <<Target:?GLenum,Level:?GLint,Pname:?GLenum>>). -%% @spec (Target::enum(),Pname::enum()) -> {float()} +%% @spec (Target::enum(),Pname::enum()) -> {float(),float(),float(),float()} %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetTexParameter.xml">external</a> documentation. +-spec getTexParameterfv(enum(),enum()) -> {float(),float(),float(),float()}. getTexParameterfv(Target,Pname) -> - wxe_util:call(5146, <<Target:?GLenum,Pname:?GLenum>>). + call(5146, <<Target:?GLenum,Pname:?GLenum>>). -%% @spec (Target::enum(),Pname::enum()) -> {integer()} +%% @spec (Target::enum(),Pname::enum()) -> {integer(),integer(),integer(),integer()} %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetTexParameter.xml">external</a> documentation. +-spec getTexParameteriv(enum(),enum()) -> {integer(),integer(),integer(),integer()}. getTexParameteriv(Target,Pname) -> - wxe_util:call(5147, <<Target:?GLenum,Pname:?GLenum>>). + call(5147, <<Target:?GLenum,Pname:?GLenum>>). %% @spec (Target::enum(),Mode::enum()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glHint.xml">external</a> documentation. +-spec hint(enum(),enum()) -> ok. hint(Target,Mode) -> - wxe_util:cast(5148, <<Target:?GLenum,Mode:?GLenum>>). + cast(5148, <<Target:?GLenum,Mode:?GLenum>>). %% @spec (Mask::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glIndexMask.xml">external</a> documentation. +-spec indexMask(integer()) -> ok. indexMask(Mask) -> - wxe_util:cast(5149, <<Mask:?GLuint>>). + cast(5149, <<Mask:?GLuint>>). -%% @spec (Type::enum(),Stride::integer(),Pointer::offset()|binary()) -> ok +%% @spec (Type::enum(),Stride::integer(),Pointer::offset()|mem()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glIndexPointer.xml">external</a> documentation. +-spec indexPointer(enum(),integer(),offset()|mem()) -> ok. indexPointer(Type,Stride,Pointer) when is_integer(Pointer) -> - wxe_util:cast(5150, <<Type:?GLenum,Stride:?GLsizei,Pointer:?GLuint>>); + cast(5150, <<Type:?GLenum,Stride:?GLsizei,Pointer:?GLuint>>); indexPointer(Type,Stride,Pointer) -> - wxe_util:send_bin(Pointer), - wxe_util:cast(5151, <<Type:?GLenum,Stride:?GLsizei>>). + send_bin(Pointer), + cast(5151, <<Type:?GLenum,Stride:?GLsizei>>). %% @spec (C::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glIndex.xml">external</a> documentation. +-spec indexd(float()) -> ok. indexd(C) -> - wxe_util:cast(5152, <<C:?GLdouble>>). + cast(5152, <<C:?GLdouble>>). %% @spec ({C}) -> ok %% @equiv indexd(C) +-spec indexdv({float()}) -> ok. indexdv({C}) -> indexd(C). %% @spec (C::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glIndex.xml">external</a> documentation. +-spec indexf(float()) -> ok. indexf(C) -> - wxe_util:cast(5153, <<C:?GLfloat>>). + cast(5153, <<C:?GLfloat>>). %% @spec ({C}) -> ok %% @equiv indexf(C) +-spec indexfv({float()}) -> ok. indexfv({C}) -> indexf(C). %% @spec (C::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glIndex.xml">external</a> documentation. +-spec indexi(integer()) -> ok. indexi(C) -> - wxe_util:cast(5154, <<C:?GLint>>). + cast(5154, <<C:?GLint>>). %% @spec ({C}) -> ok %% @equiv indexi(C) +-spec indexiv({integer()}) -> ok. indexiv({C}) -> indexi(C). %% @spec (C::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glIndex.xml">external</a> documentation. +-spec indexs(integer()) -> ok. indexs(C) -> - wxe_util:cast(5155, <<C:?GLshort>>). + cast(5155, <<C:?GLshort>>). %% @spec ({C}) -> ok %% @equiv indexs(C) +-spec indexsv({integer()}) -> ok. indexsv({C}) -> indexs(C). %% @spec (C::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glIndex.xml">external</a> documentation. +-spec indexub(integer()) -> ok. indexub(C) -> - wxe_util:cast(5156, <<C:?GLubyte>>). + cast(5156, <<C:?GLubyte>>). %% @spec ({C}) -> ok %% @equiv indexub(C) +-spec indexubv({integer()}) -> ok. indexubv({C}) -> indexub(C). %% @spec () -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glInitNames.xml">external</a> documentation. +-spec initNames() -> ok. initNames() -> - wxe_util:cast(5157, <<>>). + cast(5157, <<>>). -%% @spec (Format::enum(),Stride::integer(),Pointer::offset()|binary()) -> ok +%% @spec (Format::enum(),Stride::integer(),Pointer::offset()|mem()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glInterleavedArrays.xml">external</a> documentation. +-spec interleavedArrays(enum(),integer(),offset()|mem()) -> ok. interleavedArrays(Format,Stride,Pointer) when is_integer(Pointer) -> - wxe_util:cast(5158, <<Format:?GLenum,Stride:?GLsizei,Pointer:?GLuint>>); + cast(5158, <<Format:?GLenum,Stride:?GLsizei,Pointer:?GLuint>>); interleavedArrays(Format,Stride,Pointer) -> - wxe_util:send_bin(Pointer), - wxe_util:cast(5159, <<Format:?GLenum,Stride:?GLsizei>>). + send_bin(Pointer), + cast(5159, <<Format:?GLenum,Stride:?GLsizei>>). %% @spec (Cap::enum()) -> 0|1 %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glIsEnabled.xml">external</a> documentation. +-spec isEnabled(enum()) -> 0|1. isEnabled(Cap) -> - wxe_util:call(5160, <<Cap:?GLenum>>). + call(5160, <<Cap:?GLenum>>). %% @spec (List::integer()) -> 0|1 %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glIsList.xml">external</a> documentation. +-spec isList(integer()) -> 0|1. isList(List) -> - wxe_util:call(5161, <<List:?GLuint>>). + call(5161, <<List:?GLuint>>). %% @spec (Texture::integer()) -> 0|1 %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glIsTexture.xml">external</a> documentation. +-spec isTexture(integer()) -> 0|1. isTexture(Texture) -> - wxe_util:call(5162, <<Texture:?GLuint>>). + call(5162, <<Texture:?GLuint>>). %% @spec (Pname::enum(),Param::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glLightModel.xml">external</a> documentation. +-spec lightModelf(enum(),float()) -> ok. lightModelf(Pname,Param) -> - wxe_util:cast(5163, <<Pname:?GLenum,Param:?GLfloat>>). + cast(5163, <<Pname:?GLenum,Param:?GLfloat>>). %% @spec (Pname::enum(),Params::{float()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glLightModel.xml">external</a> documentation. +-spec lightModelfv(enum(),{float()}) -> ok. lightModelfv(Pname,Params) -> - wxe_util:cast(5164, <<Pname:?GLenum,(size(Params)):?GLuint, + cast(5164, <<Pname:?GLenum,(size(Params)):?GLuint, (<< <<C:?GLfloat>> ||C <- tuple_to_list(Params)>>)/binary,0:(((0+size(Params)) rem 2)*32)>>). %% @spec (Pname::enum(),Param::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glLightModel.xml">external</a> documentation. +-spec lightModeli(enum(),integer()) -> ok. lightModeli(Pname,Param) -> - wxe_util:cast(5165, <<Pname:?GLenum,Param:?GLint>>). + cast(5165, <<Pname:?GLenum,Param:?GLint>>). %% @spec (Pname::enum(),Params::{integer()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glLightModel.xml">external</a> documentation. +-spec lightModeliv(enum(),{integer()}) -> ok. lightModeliv(Pname,Params) -> - wxe_util:cast(5166, <<Pname:?GLenum,(size(Params)):?GLuint, + cast(5166, <<Pname:?GLenum,(size(Params)):?GLuint, (<< <<C:?GLint>> ||C <- tuple_to_list(Params)>>)/binary,0:(((0+size(Params)) rem 2)*32)>>). %% @spec (Light::enum(),Pname::enum(),Param::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glLight.xml">external</a> documentation. +-spec lightf(enum(),enum(),float()) -> ok. lightf(Light,Pname,Param) -> - wxe_util:cast(5167, <<Light:?GLenum,Pname:?GLenum,Param:?GLfloat>>). + cast(5167, <<Light:?GLenum,Pname:?GLenum,Param:?GLfloat>>). %% @spec (Light::enum(),Pname::enum(),Params::{float()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glLight.xml">external</a> documentation. +-spec lightfv(enum(),enum(),{float()}) -> ok. lightfv(Light,Pname,Params) -> - wxe_util:cast(5168, <<Light:?GLenum,Pname:?GLenum,(size(Params)):?GLuint, + cast(5168, <<Light:?GLenum,Pname:?GLenum,(size(Params)):?GLuint, (<< <<C:?GLfloat>> ||C <- tuple_to_list(Params)>>)/binary,0:(((1+size(Params)) rem 2)*32)>>). %% @spec (Light::enum(),Pname::enum(),Param::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glLight.xml">external</a> documentation. +-spec lighti(enum(),enum(),integer()) -> ok. lighti(Light,Pname,Param) -> - wxe_util:cast(5169, <<Light:?GLenum,Pname:?GLenum,Param:?GLint>>). + cast(5169, <<Light:?GLenum,Pname:?GLenum,Param:?GLint>>). %% @spec (Light::enum(),Pname::enum(),Params::{integer()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glLight.xml">external</a> documentation. +-spec lightiv(enum(),enum(),{integer()}) -> ok. lightiv(Light,Pname,Params) -> - wxe_util:cast(5170, <<Light:?GLenum,Pname:?GLenum,(size(Params)):?GLuint, + cast(5170, <<Light:?GLenum,Pname:?GLenum,(size(Params)):?GLuint, (<< <<C:?GLint>> ||C <- tuple_to_list(Params)>>)/binary,0:(((1+size(Params)) rem 2)*32)>>). %% @spec (Factor::integer(),Pattern::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glLineStipple.xml">external</a> documentation. +-spec lineStipple(integer(),integer()) -> ok. lineStipple(Factor,Pattern) -> - wxe_util:cast(5171, <<Factor:?GLint,Pattern:?GLushort>>). + cast(5171, <<Factor:?GLint,Pattern:?GLushort>>). %% @spec (Width::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glLineWidth.xml">external</a> documentation. +-spec lineWidth(float()) -> ok. lineWidth(Width) -> - wxe_util:cast(5172, <<Width:?GLfloat>>). + cast(5172, <<Width:?GLfloat>>). %% @spec (Base::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glListBase.xml">external</a> documentation. +-spec listBase(integer()) -> ok. listBase(Base) -> - wxe_util:cast(5173, <<Base:?GLuint>>). + cast(5173, <<Base:?GLuint>>). %% @spec () -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glLoadIdentity.xml">external</a> documentation. +-spec loadIdentity() -> ok. loadIdentity() -> - wxe_util:cast(5174, <<>>). + cast(5174, <<>>). -%% @spec (M::{float()}) -> ok +%% @spec (M::{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glLoadMatrix.xml">external</a> documentation. +-spec loadMatrixd({float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}) -> ok. loadMatrixd({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12,M13,M14,M15,M16}) -> - wxe_util:cast(5175, <<M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,M13:?GLdouble,M14:?GLdouble,M15:?GLdouble,M16:?GLdouble>>); + cast(5175, <<M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,M13:?GLdouble,M14:?GLdouble,M15:?GLdouble,M16:?GLdouble>>); loadMatrixd({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12}) -> - wxe_util:cast(5175, <<M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,0:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,0:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,0:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,1:?GLdouble>>). + cast(5175, <<M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,0:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,0:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,0:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,1:?GLdouble>>). -%% @spec (M::{float()}) -> ok +%% @spec (M::{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glLoadMatrix.xml">external</a> documentation. +-spec loadMatrixf({float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}) -> ok. loadMatrixf({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12,M13,M14,M15,M16}) -> - wxe_util:cast(5176, <<M1:?GLfloat,M2:?GLfloat,M3:?GLfloat,M4:?GLfloat,M5:?GLfloat,M6:?GLfloat,M7:?GLfloat,M8:?GLfloat,M9:?GLfloat,M10:?GLfloat,M11:?GLfloat,M12:?GLfloat,M13:?GLfloat,M14:?GLfloat,M15:?GLfloat,M16:?GLfloat>>); + cast(5176, <<M1:?GLfloat,M2:?GLfloat,M3:?GLfloat,M4:?GLfloat,M5:?GLfloat,M6:?GLfloat,M7:?GLfloat,M8:?GLfloat,M9:?GLfloat,M10:?GLfloat,M11:?GLfloat,M12:?GLfloat,M13:?GLfloat,M14:?GLfloat,M15:?GLfloat,M16:?GLfloat>>); loadMatrixf({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12}) -> - wxe_util:cast(5176, <<M1:?GLfloat,M2:?GLfloat,M3:?GLfloat,0:?GLfloat,M4:?GLfloat,M5:?GLfloat,M6:?GLfloat,0:?GLfloat,M7:?GLfloat,M8:?GLfloat,M9:?GLfloat,0:?GLfloat,M10:?GLfloat,M11:?GLfloat,M12:?GLfloat,1:?GLfloat>>). + cast(5176, <<M1:?GLfloat,M2:?GLfloat,M3:?GLfloat,0:?GLfloat,M4:?GLfloat,M5:?GLfloat,M6:?GLfloat,0:?GLfloat,M7:?GLfloat,M8:?GLfloat,M9:?GLfloat,0:?GLfloat,M10:?GLfloat,M11:?GLfloat,M12:?GLfloat,1:?GLfloat>>). %% @spec (Name::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glLoadName.xml">external</a> documentation. +-spec loadName(integer()) -> ok. loadName(Name) -> - wxe_util:cast(5177, <<Name:?GLuint>>). + cast(5177, <<Name:?GLuint>>). %% @spec (Opcode::enum()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glLogicOp.xml">external</a> documentation. +-spec logicOp(enum()) -> ok. logicOp(Opcode) -> - wxe_util:cast(5178, <<Opcode:?GLenum>>). + cast(5178, <<Opcode:?GLenum>>). %% @spec (Target::enum(),U1::float(),U2::float(),Stride::integer(),Order::integer(),Points::binary()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMap.xml">external</a> documentation. +-spec map1d(enum(),float(),float(),integer(),integer(),binary()) -> ok. map1d(Target,U1,U2,Stride,Order,Points) -> - wxe_util:send_bin(Points), - wxe_util:cast(5179, <<Target:?GLenum,0:32,U1:?GLdouble,U2:?GLdouble,Stride:?GLint,Order:?GLint>>). + send_bin(Points), + cast(5179, <<Target:?GLenum,0:32,U1:?GLdouble,U2:?GLdouble,Stride:?GLint,Order:?GLint>>). %% @spec (Target::enum(),U1::float(),U2::float(),Stride::integer(),Order::integer(),Points::binary()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMap.xml">external</a> documentation. +-spec map1f(enum(),float(),float(),integer(),integer(),binary()) -> ok. map1f(Target,U1,U2,Stride,Order,Points) -> - wxe_util:send_bin(Points), - wxe_util:cast(5180, <<Target:?GLenum,U1:?GLfloat,U2:?GLfloat,Stride:?GLint,Order:?GLint>>). + send_bin(Points), + cast(5180, <<Target:?GLenum,U1:?GLfloat,U2:?GLfloat,Stride:?GLint,Order:?GLint>>). %% @spec (Target::enum(),U1::float(),U2::float(),Ustride::integer(),Uorder::integer(),V1::float(),V2::float(),Vstride::integer(),Vorder::integer(),Points::binary()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMap.xml">external</a> documentation. +-spec map2d(enum(),float(),float(),integer(),integer(),float(),float(),integer(),integer(),binary()) -> ok. map2d(Target,U1,U2,Ustride,Uorder,V1,V2,Vstride,Vorder,Points) -> - wxe_util:send_bin(Points), - wxe_util:cast(5181, <<Target:?GLenum,0:32,U1:?GLdouble,U2:?GLdouble,Ustride:?GLint,Uorder:?GLint,V1:?GLdouble,V2:?GLdouble,Vstride:?GLint,Vorder:?GLint>>). + send_bin(Points), + cast(5181, <<Target:?GLenum,0:32,U1:?GLdouble,U2:?GLdouble,Ustride:?GLint,Uorder:?GLint,V1:?GLdouble,V2:?GLdouble,Vstride:?GLint,Vorder:?GLint>>). %% @spec (Target::enum(),U1::float(),U2::float(),Ustride::integer(),Uorder::integer(),V1::float(),V2::float(),Vstride::integer(),Vorder::integer(),Points::binary()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMap.xml">external</a> documentation. +-spec map2f(enum(),float(),float(),integer(),integer(),float(),float(),integer(),integer(),binary()) -> ok. map2f(Target,U1,U2,Ustride,Uorder,V1,V2,Vstride,Vorder,Points) -> - wxe_util:send_bin(Points), - wxe_util:cast(5182, <<Target:?GLenum,U1:?GLfloat,U2:?GLfloat,Ustride:?GLint,Uorder:?GLint,V1:?GLfloat,V2:?GLfloat,Vstride:?GLint,Vorder:?GLint>>). + send_bin(Points), + cast(5182, <<Target:?GLenum,U1:?GLfloat,U2:?GLfloat,Ustride:?GLint,Uorder:?GLint,V1:?GLfloat,V2:?GLfloat,Vstride:?GLint,Vorder:?GLint>>). %% @spec (Un::integer(),U1::float(),U2::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMapGrid.xml">external</a> documentation. +-spec mapGrid1d(integer(),float(),float()) -> ok. mapGrid1d(Un,U1,U2) -> - wxe_util:cast(5183, <<Un:?GLint,0:32,U1:?GLdouble,U2:?GLdouble>>). + cast(5183, <<Un:?GLint,0:32,U1:?GLdouble,U2:?GLdouble>>). %% @spec (Un::integer(),U1::float(),U2::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMapGrid.xml">external</a> documentation. +-spec mapGrid1f(integer(),float(),float()) -> ok. mapGrid1f(Un,U1,U2) -> - wxe_util:cast(5184, <<Un:?GLint,U1:?GLfloat,U2:?GLfloat>>). + cast(5184, <<Un:?GLint,U1:?GLfloat,U2:?GLfloat>>). %% @spec (Un::integer(),U1::float(),U2::float(),Vn::integer(),V1::float(),V2::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMapGrid.xml">external</a> documentation. +-spec mapGrid2d(integer(),float(),float(),integer(),float(),float()) -> ok. mapGrid2d(Un,U1,U2,Vn,V1,V2) -> - wxe_util:cast(5185, <<Un:?GLint,0:32,U1:?GLdouble,U2:?GLdouble,Vn:?GLint,0:32,V1:?GLdouble,V2:?GLdouble>>). + cast(5185, <<Un:?GLint,0:32,U1:?GLdouble,U2:?GLdouble,Vn:?GLint,0:32,V1:?GLdouble,V2:?GLdouble>>). %% @spec (Un::integer(),U1::float(),U2::float(),Vn::integer(),V1::float(),V2::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMapGrid.xml">external</a> documentation. +-spec mapGrid2f(integer(),float(),float(),integer(),float(),float()) -> ok. mapGrid2f(Un,U1,U2,Vn,V1,V2) -> - wxe_util:cast(5186, <<Un:?GLint,U1:?GLfloat,U2:?GLfloat,Vn:?GLint,V1:?GLfloat,V2:?GLfloat>>). + cast(5186, <<Un:?GLint,U1:?GLfloat,U2:?GLfloat,Vn:?GLint,V1:?GLfloat,V2:?GLfloat>>). %% @spec (Face::enum(),Pname::enum(),Param::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMaterial.xml">external</a> documentation. +-spec materialf(enum(),enum(),float()) -> ok. materialf(Face,Pname,Param) -> - wxe_util:cast(5187, <<Face:?GLenum,Pname:?GLenum,Param:?GLfloat>>). + cast(5187, <<Face:?GLenum,Pname:?GLenum,Param:?GLfloat>>). %% @spec (Face::enum(),Pname::enum(),Params::{float()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMaterial.xml">external</a> documentation. +-spec materialfv(enum(),enum(),{float()}) -> ok. materialfv(Face,Pname,Params) -> - wxe_util:cast(5188, <<Face:?GLenum,Pname:?GLenum,(size(Params)):?GLuint, + cast(5188, <<Face:?GLenum,Pname:?GLenum,(size(Params)):?GLuint, (<< <<C:?GLfloat>> ||C <- tuple_to_list(Params)>>)/binary,0:(((1+size(Params)) rem 2)*32)>>). %% @spec (Face::enum(),Pname::enum(),Param::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMaterial.xml">external</a> documentation. +-spec materiali(enum(),enum(),integer()) -> ok. materiali(Face,Pname,Param) -> - wxe_util:cast(5189, <<Face:?GLenum,Pname:?GLenum,Param:?GLint>>). + cast(5189, <<Face:?GLenum,Pname:?GLenum,Param:?GLint>>). %% @spec (Face::enum(),Pname::enum(),Params::{integer()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMaterial.xml">external</a> documentation. +-spec materialiv(enum(),enum(),{integer()}) -> ok. materialiv(Face,Pname,Params) -> - wxe_util:cast(5190, <<Face:?GLenum,Pname:?GLenum,(size(Params)):?GLuint, + cast(5190, <<Face:?GLenum,Pname:?GLenum,(size(Params)):?GLuint, (<< <<C:?GLint>> ||C <- tuple_to_list(Params)>>)/binary,0:(((1+size(Params)) rem 2)*32)>>). %% @spec (Mode::enum()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMatrixMode.xml">external</a> documentation. +-spec matrixMode(enum()) -> ok. matrixMode(Mode) -> - wxe_util:cast(5191, <<Mode:?GLenum>>). + cast(5191, <<Mode:?GLenum>>). -%% @spec (M::{float()}) -> ok +%% @spec (M::{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMultMatrix.xml">external</a> documentation. +-spec multMatrixd({float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}) -> ok. multMatrixd({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12,M13,M14,M15,M16}) -> - wxe_util:cast(5192, <<M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,M13:?GLdouble,M14:?GLdouble,M15:?GLdouble,M16:?GLdouble>>); + cast(5192, <<M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,M13:?GLdouble,M14:?GLdouble,M15:?GLdouble,M16:?GLdouble>>); multMatrixd({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12}) -> - wxe_util:cast(5192, <<M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,0:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,0:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,0:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,1:?GLdouble>>). + cast(5192, <<M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,0:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,0:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,0:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,1:?GLdouble>>). -%% @spec (M::{float()}) -> ok +%% @spec (M::{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMultMatrix.xml">external</a> documentation. +-spec multMatrixf({float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}) -> ok. multMatrixf({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12,M13,M14,M15,M16}) -> - wxe_util:cast(5193, <<M1:?GLfloat,M2:?GLfloat,M3:?GLfloat,M4:?GLfloat,M5:?GLfloat,M6:?GLfloat,M7:?GLfloat,M8:?GLfloat,M9:?GLfloat,M10:?GLfloat,M11:?GLfloat,M12:?GLfloat,M13:?GLfloat,M14:?GLfloat,M15:?GLfloat,M16:?GLfloat>>); + cast(5193, <<M1:?GLfloat,M2:?GLfloat,M3:?GLfloat,M4:?GLfloat,M5:?GLfloat,M6:?GLfloat,M7:?GLfloat,M8:?GLfloat,M9:?GLfloat,M10:?GLfloat,M11:?GLfloat,M12:?GLfloat,M13:?GLfloat,M14:?GLfloat,M15:?GLfloat,M16:?GLfloat>>); multMatrixf({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12}) -> - wxe_util:cast(5193, <<M1:?GLfloat,M2:?GLfloat,M3:?GLfloat,0:?GLfloat,M4:?GLfloat,M5:?GLfloat,M6:?GLfloat,0:?GLfloat,M7:?GLfloat,M8:?GLfloat,M9:?GLfloat,0:?GLfloat,M10:?GLfloat,M11:?GLfloat,M12:?GLfloat,1:?GLfloat>>). + cast(5193, <<M1:?GLfloat,M2:?GLfloat,M3:?GLfloat,0:?GLfloat,M4:?GLfloat,M5:?GLfloat,M6:?GLfloat,0:?GLfloat,M7:?GLfloat,M8:?GLfloat,M9:?GLfloat,0:?GLfloat,M10:?GLfloat,M11:?GLfloat,M12:?GLfloat,1:?GLfloat>>). %% @spec (List::integer(),Mode::enum()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glNewList.xml">external</a> documentation. +-spec newList(integer(),enum()) -> ok. newList(List,Mode) -> - wxe_util:cast(5194, <<List:?GLuint,Mode:?GLenum>>). + cast(5194, <<List:?GLuint,Mode:?GLenum>>). %% @spec (Nx::integer(),Ny::integer(),Nz::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glNormal.xml">external</a> documentation. +-spec normal3b(integer(),integer(),integer()) -> ok. normal3b(Nx,Ny,Nz) -> - wxe_util:cast(5195, <<Nx:?GLbyte,Ny:?GLbyte,Nz:?GLbyte>>). + cast(5195, <<Nx:?GLbyte,Ny:?GLbyte,Nz:?GLbyte>>). %% @spec ({Nx,Ny,Nz}) -> ok %% @equiv normal3b(Nx,Ny,Nz) +-spec normal3bv({integer(),integer(),integer()}) -> ok. normal3bv({Nx,Ny,Nz}) -> normal3b(Nx,Ny,Nz). %% @spec (Nx::float(),Ny::float(),Nz::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glNormal.xml">external</a> documentation. +-spec normal3d(float(),float(),float()) -> ok. normal3d(Nx,Ny,Nz) -> - wxe_util:cast(5196, <<Nx:?GLdouble,Ny:?GLdouble,Nz:?GLdouble>>). + cast(5196, <<Nx:?GLdouble,Ny:?GLdouble,Nz:?GLdouble>>). %% @spec ({Nx,Ny,Nz}) -> ok %% @equiv normal3d(Nx,Ny,Nz) +-spec normal3dv({float(),float(),float()}) -> ok. normal3dv({Nx,Ny,Nz}) -> normal3d(Nx,Ny,Nz). %% @spec (Nx::float(),Ny::float(),Nz::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glNormal.xml">external</a> documentation. +-spec normal3f(float(),float(),float()) -> ok. normal3f(Nx,Ny,Nz) -> - wxe_util:cast(5197, <<Nx:?GLfloat,Ny:?GLfloat,Nz:?GLfloat>>). + cast(5197, <<Nx:?GLfloat,Ny:?GLfloat,Nz:?GLfloat>>). %% @spec ({Nx,Ny,Nz}) -> ok %% @equiv normal3f(Nx,Ny,Nz) +-spec normal3fv({float(),float(),float()}) -> ok. normal3fv({Nx,Ny,Nz}) -> normal3f(Nx,Ny,Nz). %% @spec (Nx::integer(),Ny::integer(),Nz::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glNormal.xml">external</a> documentation. +-spec normal3i(integer(),integer(),integer()) -> ok. normal3i(Nx,Ny,Nz) -> - wxe_util:cast(5198, <<Nx:?GLint,Ny:?GLint,Nz:?GLint>>). + cast(5198, <<Nx:?GLint,Ny:?GLint,Nz:?GLint>>). %% @spec ({Nx,Ny,Nz}) -> ok %% @equiv normal3i(Nx,Ny,Nz) +-spec normal3iv({integer(),integer(),integer()}) -> ok. normal3iv({Nx,Ny,Nz}) -> normal3i(Nx,Ny,Nz). %% @spec (Nx::integer(),Ny::integer(),Nz::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glNormal.xml">external</a> documentation. +-spec normal3s(integer(),integer(),integer()) -> ok. normal3s(Nx,Ny,Nz) -> - wxe_util:cast(5199, <<Nx:?GLshort,Ny:?GLshort,Nz:?GLshort>>). + cast(5199, <<Nx:?GLshort,Ny:?GLshort,Nz:?GLshort>>). %% @spec ({Nx,Ny,Nz}) -> ok %% @equiv normal3s(Nx,Ny,Nz) +-spec normal3sv({integer(),integer(),integer()}) -> ok. normal3sv({Nx,Ny,Nz}) -> normal3s(Nx,Ny,Nz). -%% @spec (Type::enum(),Stride::integer(),Pointer::offset()|binary()) -> ok +%% @spec (Type::enum(),Stride::integer(),Pointer::offset()|mem()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glNormalPointer.xml">external</a> documentation. +-spec normalPointer(enum(),integer(),offset()|mem()) -> ok. normalPointer(Type,Stride,Pointer) when is_integer(Pointer) -> - wxe_util:cast(5200, <<Type:?GLenum,Stride:?GLsizei,Pointer:?GLuint>>); + cast(5200, <<Type:?GLenum,Stride:?GLsizei,Pointer:?GLuint>>); normalPointer(Type,Stride,Pointer) -> - wxe_util:send_bin(Pointer), - wxe_util:cast(5201, <<Type:?GLenum,Stride:?GLsizei>>). + send_bin(Pointer), + cast(5201, <<Type:?GLenum,Stride:?GLsizei>>). %% @spec (Left::float(),Right::float(),Bottom::float(),Top::float(),ZNear::float(),ZFar::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glOrtho.xml">external</a> documentation. +-spec ortho(float(),float(),float(),float(),float(),float()) -> ok. ortho(Left,Right,Bottom,Top,ZNear,ZFar) -> - wxe_util:cast(5202, <<Left:?GLdouble,Right:?GLdouble,Bottom:?GLdouble,Top:?GLdouble,ZNear:?GLdouble,ZFar:?GLdouble>>). + cast(5202, <<Left:?GLdouble,Right:?GLdouble,Bottom:?GLdouble,Top:?GLdouble,ZNear:?GLdouble,ZFar:?GLdouble>>). %% @spec (Token::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPassThrough.xml">external</a> documentation. +-spec passThrough(float()) -> ok. passThrough(Token) -> - wxe_util:cast(5203, <<Token:?GLfloat>>). + cast(5203, <<Token:?GLfloat>>). %% @spec (Map::enum(),Mapsize::integer(),Values::binary()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPixelMap.xml">external</a> documentation. +-spec pixelMapfv(enum(),integer(),binary()) -> ok. pixelMapfv(Map,Mapsize,Values) -> - wxe_util:send_bin(Values), - wxe_util:cast(5204, <<Map:?GLenum,Mapsize:?GLsizei>>). + send_bin(Values), + cast(5204, <<Map:?GLenum,Mapsize:?GLsizei>>). %% @spec (Map::enum(),Mapsize::integer(),Values::binary()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPixelMap.xml">external</a> documentation. +-spec pixelMapuiv(enum(),integer(),binary()) -> ok. pixelMapuiv(Map,Mapsize,Values) -> - wxe_util:send_bin(Values), - wxe_util:cast(5205, <<Map:?GLenum,Mapsize:?GLsizei>>). + send_bin(Values), + cast(5205, <<Map:?GLenum,Mapsize:?GLsizei>>). %% @spec (Map::enum(),Mapsize::integer(),Values::binary()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPixelMap.xml">external</a> documentation. +-spec pixelMapusv(enum(),integer(),binary()) -> ok. pixelMapusv(Map,Mapsize,Values) -> - wxe_util:send_bin(Values), - wxe_util:cast(5206, <<Map:?GLenum,Mapsize:?GLsizei>>). + send_bin(Values), + cast(5206, <<Map:?GLenum,Mapsize:?GLsizei>>). %% @spec (Pname::enum(),Param::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPixelStore.xml">external</a> documentation. +-spec pixelStoref(enum(),float()) -> ok. pixelStoref(Pname,Param) -> - wxe_util:cast(5207, <<Pname:?GLenum,Param:?GLfloat>>). + cast(5207, <<Pname:?GLenum,Param:?GLfloat>>). %% @spec (Pname::enum(),Param::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPixelStore.xml">external</a> documentation. +-spec pixelStorei(enum(),integer()) -> ok. pixelStorei(Pname,Param) -> - wxe_util:cast(5208, <<Pname:?GLenum,Param:?GLint>>). + cast(5208, <<Pname:?GLenum,Param:?GLint>>). %% @spec (Pname::enum(),Param::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPixelTransfer.xml">external</a> documentation. +-spec pixelTransferf(enum(),float()) -> ok. pixelTransferf(Pname,Param) -> - wxe_util:cast(5209, <<Pname:?GLenum,Param:?GLfloat>>). + cast(5209, <<Pname:?GLenum,Param:?GLfloat>>). %% @spec (Pname::enum(),Param::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPixelTransfer.xml">external</a> documentation. +-spec pixelTransferi(enum(),integer()) -> ok. pixelTransferi(Pname,Param) -> - wxe_util:cast(5210, <<Pname:?GLenum,Param:?GLint>>). + cast(5210, <<Pname:?GLenum,Param:?GLint>>). %% @spec (Xfactor::float(),Yfactor::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPixelZoom.xml">external</a> documentation. +-spec pixelZoom(float(),float()) -> ok. pixelZoom(Xfactor,Yfactor) -> - wxe_util:cast(5211, <<Xfactor:?GLfloat,Yfactor:?GLfloat>>). + cast(5211, <<Xfactor:?GLfloat,Yfactor:?GLfloat>>). %% @spec (Size::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPointSize.xml">external</a> documentation. +-spec pointSize(float()) -> ok. pointSize(Size) -> - wxe_util:cast(5212, <<Size:?GLfloat>>). + cast(5212, <<Size:?GLfloat>>). %% @spec (Face::enum(),Mode::enum()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPolygonMode.xml">external</a> documentation. +-spec polygonMode(enum(),enum()) -> ok. polygonMode(Face,Mode) -> - wxe_util:cast(5213, <<Face:?GLenum,Mode:?GLenum>>). + cast(5213, <<Face:?GLenum,Mode:?GLenum>>). %% @spec (Factor::float(),Units::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPolygonOffset.xml">external</a> documentation. +-spec polygonOffset(float(),float()) -> ok. polygonOffset(Factor,Units) -> - wxe_util:cast(5214, <<Factor:?GLfloat,Units:?GLfloat>>). + cast(5214, <<Factor:?GLfloat,Units:?GLfloat>>). %% @spec (Mask::binary()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPolygonStipple.xml">external</a> documentation. +-spec polygonStipple(binary()) -> ok. polygonStipple(Mask) -> - wxe_util:send_bin(Mask), - wxe_util:cast(5215, <<>>). + send_bin(Mask), + cast(5215, <<>>). %% @spec () -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPopAttrib.xml">external</a> documentation. +-spec popAttrib() -> ok. popAttrib() -> - wxe_util:cast(5216, <<>>). + cast(5216, <<>>). %% @spec () -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPopClientAttrib.xml">external</a> documentation. +-spec popClientAttrib() -> ok. popClientAttrib() -> - wxe_util:cast(5217, <<>>). + cast(5217, <<>>). %% @spec () -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPopMatrix.xml">external</a> documentation. +-spec popMatrix() -> ok. popMatrix() -> - wxe_util:cast(5218, <<>>). + cast(5218, <<>>). %% @spec () -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPopName.xml">external</a> documentation. +-spec popName() -> ok. popName() -> - wxe_util:cast(5219, <<>>). + cast(5219, <<>>). %% @spec (Textures::[integer()],Priorities::[clamp()]) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPrioritizeTextures.xml">external</a> documentation. +-spec prioritizeTextures([integer()],[clamp()]) -> ok. prioritizeTextures(Textures,Priorities) -> - wxe_util:cast(5220, <<(length(Textures)):?GLuint, + cast(5220, <<(length(Textures)):?GLuint, (<< <<C:?GLuint>> || C <- Textures>>)/binary,0:(((1+length(Textures)) rem 2)*32),(length(Priorities)):?GLuint, (<< <<C:?GLclampf>> || C <- Priorities>>)/binary,0:(((1+length(Priorities)) rem 2)*32)>>). %% @spec (Mask::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPushAttrib.xml">external</a> documentation. +-spec pushAttrib(integer()) -> ok. pushAttrib(Mask) -> - wxe_util:cast(5221, <<Mask:?GLbitfield>>). + cast(5221, <<Mask:?GLbitfield>>). %% @spec (Mask::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPushClientAttrib.xml">external</a> documentation. +-spec pushClientAttrib(integer()) -> ok. pushClientAttrib(Mask) -> - wxe_util:cast(5222, <<Mask:?GLbitfield>>). + cast(5222, <<Mask:?GLbitfield>>). %% @spec () -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPushMatrix.xml">external</a> documentation. +-spec pushMatrix() -> ok. pushMatrix() -> - wxe_util:cast(5223, <<>>). + cast(5223, <<>>). %% @spec (Name::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPushName.xml">external</a> documentation. +-spec pushName(integer()) -> ok. pushName(Name) -> - wxe_util:cast(5224, <<Name:?GLuint>>). + cast(5224, <<Name:?GLuint>>). %% @spec (X::float(),Y::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glRasterPos.xml">external</a> documentation. +-spec rasterPos2d(float(),float()) -> ok. rasterPos2d(X,Y) -> - wxe_util:cast(5225, <<X:?GLdouble,Y:?GLdouble>>). + cast(5225, <<X:?GLdouble,Y:?GLdouble>>). %% @spec ({X,Y}) -> ok %% @equiv rasterPos2d(X,Y) +-spec rasterPos2dv({float(),float()}) -> ok. rasterPos2dv({X,Y}) -> rasterPos2d(X,Y). %% @spec (X::float(),Y::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glRasterPos.xml">external</a> documentation. +-spec rasterPos2f(float(),float()) -> ok. rasterPos2f(X,Y) -> - wxe_util:cast(5226, <<X:?GLfloat,Y:?GLfloat>>). + cast(5226, <<X:?GLfloat,Y:?GLfloat>>). %% @spec ({X,Y}) -> ok %% @equiv rasterPos2f(X,Y) +-spec rasterPos2fv({float(),float()}) -> ok. rasterPos2fv({X,Y}) -> rasterPos2f(X,Y). %% @spec (X::integer(),Y::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glRasterPos.xml">external</a> documentation. +-spec rasterPos2i(integer(),integer()) -> ok. rasterPos2i(X,Y) -> - wxe_util:cast(5227, <<X:?GLint,Y:?GLint>>). + cast(5227, <<X:?GLint,Y:?GLint>>). %% @spec ({X,Y}) -> ok %% @equiv rasterPos2i(X,Y) +-spec rasterPos2iv({integer(),integer()}) -> ok. rasterPos2iv({X,Y}) -> rasterPos2i(X,Y). %% @spec (X::integer(),Y::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glRasterPos.xml">external</a> documentation. +-spec rasterPos2s(integer(),integer()) -> ok. rasterPos2s(X,Y) -> - wxe_util:cast(5228, <<X:?GLshort,Y:?GLshort>>). + cast(5228, <<X:?GLshort,Y:?GLshort>>). %% @spec ({X,Y}) -> ok %% @equiv rasterPos2s(X,Y) +-spec rasterPos2sv({integer(),integer()}) -> ok. rasterPos2sv({X,Y}) -> rasterPos2s(X,Y). %% @spec (X::float(),Y::float(),Z::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glRasterPos.xml">external</a> documentation. +-spec rasterPos3d(float(),float(),float()) -> ok. rasterPos3d(X,Y,Z) -> - wxe_util:cast(5229, <<X:?GLdouble,Y:?GLdouble,Z:?GLdouble>>). + cast(5229, <<X:?GLdouble,Y:?GLdouble,Z:?GLdouble>>). %% @spec ({X,Y,Z}) -> ok %% @equiv rasterPos3d(X,Y,Z) +-spec rasterPos3dv({float(),float(),float()}) -> ok. rasterPos3dv({X,Y,Z}) -> rasterPos3d(X,Y,Z). %% @spec (X::float(),Y::float(),Z::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glRasterPos.xml">external</a> documentation. +-spec rasterPos3f(float(),float(),float()) -> ok. rasterPos3f(X,Y,Z) -> - wxe_util:cast(5230, <<X:?GLfloat,Y:?GLfloat,Z:?GLfloat>>). + cast(5230, <<X:?GLfloat,Y:?GLfloat,Z:?GLfloat>>). %% @spec ({X,Y,Z}) -> ok %% @equiv rasterPos3f(X,Y,Z) +-spec rasterPos3fv({float(),float(),float()}) -> ok. rasterPos3fv({X,Y,Z}) -> rasterPos3f(X,Y,Z). %% @spec (X::integer(),Y::integer(),Z::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glRasterPos.xml">external</a> documentation. +-spec rasterPos3i(integer(),integer(),integer()) -> ok. rasterPos3i(X,Y,Z) -> - wxe_util:cast(5231, <<X:?GLint,Y:?GLint,Z:?GLint>>). + cast(5231, <<X:?GLint,Y:?GLint,Z:?GLint>>). %% @spec ({X,Y,Z}) -> ok %% @equiv rasterPos3i(X,Y,Z) +-spec rasterPos3iv({integer(),integer(),integer()}) -> ok. rasterPos3iv({X,Y,Z}) -> rasterPos3i(X,Y,Z). %% @spec (X::integer(),Y::integer(),Z::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glRasterPos.xml">external</a> documentation. +-spec rasterPos3s(integer(),integer(),integer()) -> ok. rasterPos3s(X,Y,Z) -> - wxe_util:cast(5232, <<X:?GLshort,Y:?GLshort,Z:?GLshort>>). + cast(5232, <<X:?GLshort,Y:?GLshort,Z:?GLshort>>). %% @spec ({X,Y,Z}) -> ok %% @equiv rasterPos3s(X,Y,Z) +-spec rasterPos3sv({integer(),integer(),integer()}) -> ok. rasterPos3sv({X,Y,Z}) -> rasterPos3s(X,Y,Z). %% @spec (X::float(),Y::float(),Z::float(),W::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glRasterPos.xml">external</a> documentation. +-spec rasterPos4d(float(),float(),float(),float()) -> ok. rasterPos4d(X,Y,Z,W) -> - wxe_util:cast(5233, <<X:?GLdouble,Y:?GLdouble,Z:?GLdouble,W:?GLdouble>>). + cast(5233, <<X:?GLdouble,Y:?GLdouble,Z:?GLdouble,W:?GLdouble>>). %% @spec ({X,Y,Z,W}) -> ok %% @equiv rasterPos4d(X,Y,Z,W) +-spec rasterPos4dv({float(),float(),float(),float()}) -> ok. rasterPos4dv({X,Y,Z,W}) -> rasterPos4d(X,Y,Z,W). %% @spec (X::float(),Y::float(),Z::float(),W::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glRasterPos.xml">external</a> documentation. +-spec rasterPos4f(float(),float(),float(),float()) -> ok. rasterPos4f(X,Y,Z,W) -> - wxe_util:cast(5234, <<X:?GLfloat,Y:?GLfloat,Z:?GLfloat,W:?GLfloat>>). + cast(5234, <<X:?GLfloat,Y:?GLfloat,Z:?GLfloat,W:?GLfloat>>). %% @spec ({X,Y,Z,W}) -> ok %% @equiv rasterPos4f(X,Y,Z,W) +-spec rasterPos4fv({float(),float(),float(),float()}) -> ok. rasterPos4fv({X,Y,Z,W}) -> rasterPos4f(X,Y,Z,W). %% @spec (X::integer(),Y::integer(),Z::integer(),W::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glRasterPos.xml">external</a> documentation. +-spec rasterPos4i(integer(),integer(),integer(),integer()) -> ok. rasterPos4i(X,Y,Z,W) -> - wxe_util:cast(5235, <<X:?GLint,Y:?GLint,Z:?GLint,W:?GLint>>). + cast(5235, <<X:?GLint,Y:?GLint,Z:?GLint,W:?GLint>>). %% @spec ({X,Y,Z,W}) -> ok %% @equiv rasterPos4i(X,Y,Z,W) +-spec rasterPos4iv({integer(),integer(),integer(),integer()}) -> ok. rasterPos4iv({X,Y,Z,W}) -> rasterPos4i(X,Y,Z,W). %% @spec (X::integer(),Y::integer(),Z::integer(),W::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glRasterPos.xml">external</a> documentation. +-spec rasterPos4s(integer(),integer(),integer(),integer()) -> ok. rasterPos4s(X,Y,Z,W) -> - wxe_util:cast(5236, <<X:?GLshort,Y:?GLshort,Z:?GLshort,W:?GLshort>>). + cast(5236, <<X:?GLshort,Y:?GLshort,Z:?GLshort,W:?GLshort>>). %% @spec ({X,Y,Z,W}) -> ok %% @equiv rasterPos4s(X,Y,Z,W) +-spec rasterPos4sv({integer(),integer(),integer(),integer()}) -> ok. rasterPos4sv({X,Y,Z,W}) -> rasterPos4s(X,Y,Z,W). %% @spec (Mode::enum()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glReadBuffer.xml">external</a> documentation. +-spec readBuffer(enum()) -> ok. readBuffer(Mode) -> - wxe_util:cast(5237, <<Mode:?GLenum>>). + cast(5237, <<Mode:?GLenum>>). -%% @spec (X::integer(),Y::integer(),Width::integer(),Height::integer(),Format::enum(),Type::enum(),Pixels::wx:wx_mem()) -> ok +%% @spec (X::integer(),Y::integer(),Width::integer(),Height::integer(),Format::enum(),Type::enum(),Pixels::mem()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glReadPixels.xml">external</a> documentation. +-spec readPixels(integer(),integer(),integer(),integer(),enum(),enum(),mem()) -> ok. readPixels(X,Y,Width,Height,Format,Type,Pixels) -> - wxe_util:send_bin(Pixels#wx_mem.bin), - wxe_util:call(5238, <<X:?GLint,Y:?GLint,Width:?GLsizei,Height:?GLsizei,Format:?GLenum,Type:?GLenum>>). + send_bin(Pixels), + call(5238, <<X:?GLint,Y:?GLint,Width:?GLsizei,Height:?GLsizei,Format:?GLenum,Type:?GLenum>>). %% @spec (X1::float(),Y1::float(),X2::float(),Y2::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glRect.xml">external</a> documentation. +-spec rectd(float(),float(),float(),float()) -> ok. rectd(X1,Y1,X2,Y2) -> - wxe_util:cast(5239, <<X1:?GLdouble,Y1:?GLdouble,X2:?GLdouble,Y2:?GLdouble>>). + cast(5239, <<X1:?GLdouble,Y1:?GLdouble,X2:?GLdouble,Y2:?GLdouble>>). -%% @spec (V1::{float()},V2::{float()}) -> ok +%% @spec (V1::{float(),float()},V2::{float(),float()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glRect.xml">external</a> documentation. +-spec rectdv({float(),float()},{float(),float()}) -> ok. rectdv({V1,V2},{V1,V2}) -> - wxe_util:cast(5240, <<V1:?GLdouble,V2:?GLdouble,V1:?GLdouble,V2:?GLdouble>>). + cast(5240, <<V1:?GLdouble,V2:?GLdouble,V1:?GLdouble,V2:?GLdouble>>). %% @spec (X1::float(),Y1::float(),X2::float(),Y2::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glRect.xml">external</a> documentation. +-spec rectf(float(),float(),float(),float()) -> ok. rectf(X1,Y1,X2,Y2) -> - wxe_util:cast(5241, <<X1:?GLfloat,Y1:?GLfloat,X2:?GLfloat,Y2:?GLfloat>>). + cast(5241, <<X1:?GLfloat,Y1:?GLfloat,X2:?GLfloat,Y2:?GLfloat>>). -%% @spec (V1::{float()},V2::{float()}) -> ok +%% @spec (V1::{float(),float()},V2::{float(),float()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glRect.xml">external</a> documentation. +-spec rectfv({float(),float()},{float(),float()}) -> ok. rectfv({V1,V2},{V1,V2}) -> - wxe_util:cast(5242, <<V1:?GLfloat,V2:?GLfloat,V1:?GLfloat,V2:?GLfloat>>). + cast(5242, <<V1:?GLfloat,V2:?GLfloat,V1:?GLfloat,V2:?GLfloat>>). %% @spec (X1::integer(),Y1::integer(),X2::integer(),Y2::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glRect.xml">external</a> documentation. +-spec recti(integer(),integer(),integer(),integer()) -> ok. recti(X1,Y1,X2,Y2) -> - wxe_util:cast(5243, <<X1:?GLint,Y1:?GLint,X2:?GLint,Y2:?GLint>>). + cast(5243, <<X1:?GLint,Y1:?GLint,X2:?GLint,Y2:?GLint>>). -%% @spec (V1::{integer()},V2::{integer()}) -> ok +%% @spec (V1::{integer(),integer()},V2::{integer(),integer()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glRect.xml">external</a> documentation. +-spec rectiv({integer(),integer()},{integer(),integer()}) -> ok. rectiv({V1,V2},{V1,V2}) -> - wxe_util:cast(5244, <<V1:?GLint,V2:?GLint,V1:?GLint,V2:?GLint>>). + cast(5244, <<V1:?GLint,V2:?GLint,V1:?GLint,V2:?GLint>>). %% @spec (X1::integer(),Y1::integer(),X2::integer(),Y2::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glRect.xml">external</a> documentation. +-spec rects(integer(),integer(),integer(),integer()) -> ok. rects(X1,Y1,X2,Y2) -> - wxe_util:cast(5245, <<X1:?GLshort,Y1:?GLshort,X2:?GLshort,Y2:?GLshort>>). + cast(5245, <<X1:?GLshort,Y1:?GLshort,X2:?GLshort,Y2:?GLshort>>). -%% @spec (V1::{integer()},V2::{integer()}) -> ok +%% @spec (V1::{integer(),integer()},V2::{integer(),integer()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glRect.xml">external</a> documentation. +-spec rectsv({integer(),integer()},{integer(),integer()}) -> ok. rectsv({V1,V2},{V1,V2}) -> - wxe_util:cast(5246, <<V1:?GLshort,V2:?GLshort,V1:?GLshort,V2:?GLshort>>). + cast(5246, <<V1:?GLshort,V2:?GLshort,V1:?GLshort,V2:?GLshort>>). %% @spec (Mode::enum()) -> integer() %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glRenderMode.xml">external</a> documentation. +-spec renderMode(enum()) -> integer(). renderMode(Mode) -> - wxe_util:call(5247, <<Mode:?GLenum>>). + call(5247, <<Mode:?GLenum>>). %% @spec (Angle::float(),X::float(),Y::float(),Z::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glRotate.xml">external</a> documentation. +-spec rotated(float(),float(),float(),float()) -> ok. rotated(Angle,X,Y,Z) -> - wxe_util:cast(5248, <<Angle:?GLdouble,X:?GLdouble,Y:?GLdouble,Z:?GLdouble>>). + cast(5248, <<Angle:?GLdouble,X:?GLdouble,Y:?GLdouble,Z:?GLdouble>>). %% @spec (Angle::float(),X::float(),Y::float(),Z::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glRotate.xml">external</a> documentation. +-spec rotatef(float(),float(),float(),float()) -> ok. rotatef(Angle,X,Y,Z) -> - wxe_util:cast(5249, <<Angle:?GLfloat,X:?GLfloat,Y:?GLfloat,Z:?GLfloat>>). + cast(5249, <<Angle:?GLfloat,X:?GLfloat,Y:?GLfloat,Z:?GLfloat>>). %% @spec (X::float(),Y::float(),Z::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glScale.xml">external</a> documentation. +-spec scaled(float(),float(),float()) -> ok. scaled(X,Y,Z) -> - wxe_util:cast(5250, <<X:?GLdouble,Y:?GLdouble,Z:?GLdouble>>). + cast(5250, <<X:?GLdouble,Y:?GLdouble,Z:?GLdouble>>). %% @spec (X::float(),Y::float(),Z::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glScale.xml">external</a> documentation. +-spec scalef(float(),float(),float()) -> ok. scalef(X,Y,Z) -> - wxe_util:cast(5251, <<X:?GLfloat,Y:?GLfloat,Z:?GLfloat>>). + cast(5251, <<X:?GLfloat,Y:?GLfloat,Z:?GLfloat>>). %% @spec (X::integer(),Y::integer(),Width::integer(),Height::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glScissor.xml">external</a> documentation. +-spec scissor(integer(),integer(),integer(),integer()) -> ok. scissor(X,Y,Width,Height) -> - wxe_util:cast(5252, <<X:?GLint,Y:?GLint,Width:?GLsizei,Height:?GLsizei>>). + cast(5252, <<X:?GLint,Y:?GLint,Width:?GLsizei,Height:?GLsizei>>). -%% @spec (Size::integer(),Buffer::wx:wx_mem()) -> ok +%% @spec (Size::integer(),Buffer::mem()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glSelectBuffer.xml">external</a> documentation. +-spec selectBuffer(integer(),mem()) -> ok. selectBuffer(Size,Buffer) -> - wxe_util:send_bin(Buffer#wx_mem.bin), - wxe_util:call(5253, <<Size:?GLsizei>>). + send_bin(Buffer), + call(5253, <<Size:?GLsizei>>). %% @spec (Mode::enum()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glShadeModel.xml">external</a> documentation. +-spec shadeModel(enum()) -> ok. shadeModel(Mode) -> - wxe_util:cast(5254, <<Mode:?GLenum>>). + cast(5254, <<Mode:?GLenum>>). %% @spec (Func::enum(),Ref::integer(),Mask::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glStencilFunc.xml">external</a> documentation. +-spec stencilFunc(enum(),integer(),integer()) -> ok. stencilFunc(Func,Ref,Mask) -> - wxe_util:cast(5255, <<Func:?GLenum,Ref:?GLint,Mask:?GLuint>>). + cast(5255, <<Func:?GLenum,Ref:?GLint,Mask:?GLuint>>). %% @spec (Mask::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glStencilMask.xml">external</a> documentation. +-spec stencilMask(integer()) -> ok. stencilMask(Mask) -> - wxe_util:cast(5256, <<Mask:?GLuint>>). + cast(5256, <<Mask:?GLuint>>). %% @spec (Fail::enum(),Zfail::enum(),Zpass::enum()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glStencilOp.xml">external</a> documentation. +-spec stencilOp(enum(),enum(),enum()) -> ok. stencilOp(Fail,Zfail,Zpass) -> - wxe_util:cast(5257, <<Fail:?GLenum,Zfail:?GLenum,Zpass:?GLenum>>). + cast(5257, <<Fail:?GLenum,Zfail:?GLenum,Zpass:?GLenum>>). %% @spec (S::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexCoord.xml">external</a> documentation. +-spec texCoord1d(float()) -> ok. texCoord1d(S) -> - wxe_util:cast(5258, <<S:?GLdouble>>). + cast(5258, <<S:?GLdouble>>). %% @spec ({S}) -> ok %% @equiv texCoord1d(S) +-spec texCoord1dv({float()}) -> ok. texCoord1dv({S}) -> texCoord1d(S). %% @spec (S::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexCoord.xml">external</a> documentation. +-spec texCoord1f(float()) -> ok. texCoord1f(S) -> - wxe_util:cast(5259, <<S:?GLfloat>>). + cast(5259, <<S:?GLfloat>>). %% @spec ({S}) -> ok %% @equiv texCoord1f(S) +-spec texCoord1fv({float()}) -> ok. texCoord1fv({S}) -> texCoord1f(S). %% @spec (S::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexCoord.xml">external</a> documentation. +-spec texCoord1i(integer()) -> ok. texCoord1i(S) -> - wxe_util:cast(5260, <<S:?GLint>>). + cast(5260, <<S:?GLint>>). %% @spec ({S}) -> ok %% @equiv texCoord1i(S) +-spec texCoord1iv({integer()}) -> ok. texCoord1iv({S}) -> texCoord1i(S). %% @spec (S::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexCoord.xml">external</a> documentation. +-spec texCoord1s(integer()) -> ok. texCoord1s(S) -> - wxe_util:cast(5261, <<S:?GLshort>>). + cast(5261, <<S:?GLshort>>). %% @spec ({S}) -> ok %% @equiv texCoord1s(S) +-spec texCoord1sv({integer()}) -> ok. texCoord1sv({S}) -> texCoord1s(S). %% @spec (S::float(),T::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexCoord.xml">external</a> documentation. +-spec texCoord2d(float(),float()) -> ok. texCoord2d(S,T) -> - wxe_util:cast(5262, <<S:?GLdouble,T:?GLdouble>>). + cast(5262, <<S:?GLdouble,T:?GLdouble>>). %% @spec ({S,T}) -> ok %% @equiv texCoord2d(S,T) +-spec texCoord2dv({float(),float()}) -> ok. texCoord2dv({S,T}) -> texCoord2d(S,T). %% @spec (S::float(),T::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexCoord.xml">external</a> documentation. +-spec texCoord2f(float(),float()) -> ok. texCoord2f(S,T) -> - wxe_util:cast(5263, <<S:?GLfloat,T:?GLfloat>>). + cast(5263, <<S:?GLfloat,T:?GLfloat>>). %% @spec ({S,T}) -> ok %% @equiv texCoord2f(S,T) +-spec texCoord2fv({float(),float()}) -> ok. texCoord2fv({S,T}) -> texCoord2f(S,T). %% @spec (S::integer(),T::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexCoord.xml">external</a> documentation. +-spec texCoord2i(integer(),integer()) -> ok. texCoord2i(S,T) -> - wxe_util:cast(5264, <<S:?GLint,T:?GLint>>). + cast(5264, <<S:?GLint,T:?GLint>>). %% @spec ({S,T}) -> ok %% @equiv texCoord2i(S,T) +-spec texCoord2iv({integer(),integer()}) -> ok. texCoord2iv({S,T}) -> texCoord2i(S,T). %% @spec (S::integer(),T::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexCoord.xml">external</a> documentation. +-spec texCoord2s(integer(),integer()) -> ok. texCoord2s(S,T) -> - wxe_util:cast(5265, <<S:?GLshort,T:?GLshort>>). + cast(5265, <<S:?GLshort,T:?GLshort>>). %% @spec ({S,T}) -> ok %% @equiv texCoord2s(S,T) +-spec texCoord2sv({integer(),integer()}) -> ok. texCoord2sv({S,T}) -> texCoord2s(S,T). %% @spec (S::float(),T::float(),R::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexCoord.xml">external</a> documentation. +-spec texCoord3d(float(),float(),float()) -> ok. texCoord3d(S,T,R) -> - wxe_util:cast(5266, <<S:?GLdouble,T:?GLdouble,R:?GLdouble>>). + cast(5266, <<S:?GLdouble,T:?GLdouble,R:?GLdouble>>). %% @spec ({S,T,R}) -> ok %% @equiv texCoord3d(S,T,R) +-spec texCoord3dv({float(),float(),float()}) -> ok. texCoord3dv({S,T,R}) -> texCoord3d(S,T,R). %% @spec (S::float(),T::float(),R::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexCoord.xml">external</a> documentation. +-spec texCoord3f(float(),float(),float()) -> ok. texCoord3f(S,T,R) -> - wxe_util:cast(5267, <<S:?GLfloat,T:?GLfloat,R:?GLfloat>>). + cast(5267, <<S:?GLfloat,T:?GLfloat,R:?GLfloat>>). %% @spec ({S,T,R}) -> ok %% @equiv texCoord3f(S,T,R) +-spec texCoord3fv({float(),float(),float()}) -> ok. texCoord3fv({S,T,R}) -> texCoord3f(S,T,R). %% @spec (S::integer(),T::integer(),R::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexCoord.xml">external</a> documentation. +-spec texCoord3i(integer(),integer(),integer()) -> ok. texCoord3i(S,T,R) -> - wxe_util:cast(5268, <<S:?GLint,T:?GLint,R:?GLint>>). + cast(5268, <<S:?GLint,T:?GLint,R:?GLint>>). %% @spec ({S,T,R}) -> ok %% @equiv texCoord3i(S,T,R) +-spec texCoord3iv({integer(),integer(),integer()}) -> ok. texCoord3iv({S,T,R}) -> texCoord3i(S,T,R). %% @spec (S::integer(),T::integer(),R::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexCoord.xml">external</a> documentation. +-spec texCoord3s(integer(),integer(),integer()) -> ok. texCoord3s(S,T,R) -> - wxe_util:cast(5269, <<S:?GLshort,T:?GLshort,R:?GLshort>>). + cast(5269, <<S:?GLshort,T:?GLshort,R:?GLshort>>). %% @spec ({S,T,R}) -> ok %% @equiv texCoord3s(S,T,R) +-spec texCoord3sv({integer(),integer(),integer()}) -> ok. texCoord3sv({S,T,R}) -> texCoord3s(S,T,R). %% @spec (S::float(),T::float(),R::float(),Q::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexCoord.xml">external</a> documentation. +-spec texCoord4d(float(),float(),float(),float()) -> ok. texCoord4d(S,T,R,Q) -> - wxe_util:cast(5270, <<S:?GLdouble,T:?GLdouble,R:?GLdouble,Q:?GLdouble>>). + cast(5270, <<S:?GLdouble,T:?GLdouble,R:?GLdouble,Q:?GLdouble>>). %% @spec ({S,T,R,Q}) -> ok %% @equiv texCoord4d(S,T,R,Q) +-spec texCoord4dv({float(),float(),float(),float()}) -> ok. texCoord4dv({S,T,R,Q}) -> texCoord4d(S,T,R,Q). %% @spec (S::float(),T::float(),R::float(),Q::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexCoord.xml">external</a> documentation. +-spec texCoord4f(float(),float(),float(),float()) -> ok. texCoord4f(S,T,R,Q) -> - wxe_util:cast(5271, <<S:?GLfloat,T:?GLfloat,R:?GLfloat,Q:?GLfloat>>). + cast(5271, <<S:?GLfloat,T:?GLfloat,R:?GLfloat,Q:?GLfloat>>). %% @spec ({S,T,R,Q}) -> ok %% @equiv texCoord4f(S,T,R,Q) +-spec texCoord4fv({float(),float(),float(),float()}) -> ok. texCoord4fv({S,T,R,Q}) -> texCoord4f(S,T,R,Q). %% @spec (S::integer(),T::integer(),R::integer(),Q::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexCoord.xml">external</a> documentation. +-spec texCoord4i(integer(),integer(),integer(),integer()) -> ok. texCoord4i(S,T,R,Q) -> - wxe_util:cast(5272, <<S:?GLint,T:?GLint,R:?GLint,Q:?GLint>>). + cast(5272, <<S:?GLint,T:?GLint,R:?GLint,Q:?GLint>>). %% @spec ({S,T,R,Q}) -> ok %% @equiv texCoord4i(S,T,R,Q) +-spec texCoord4iv({integer(),integer(),integer(),integer()}) -> ok. texCoord4iv({S,T,R,Q}) -> texCoord4i(S,T,R,Q). %% @spec (S::integer(),T::integer(),R::integer(),Q::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexCoord.xml">external</a> documentation. +-spec texCoord4s(integer(),integer(),integer(),integer()) -> ok. texCoord4s(S,T,R,Q) -> - wxe_util:cast(5273, <<S:?GLshort,T:?GLshort,R:?GLshort,Q:?GLshort>>). + cast(5273, <<S:?GLshort,T:?GLshort,R:?GLshort,Q:?GLshort>>). %% @spec ({S,T,R,Q}) -> ok %% @equiv texCoord4s(S,T,R,Q) +-spec texCoord4sv({integer(),integer(),integer(),integer()}) -> ok. texCoord4sv({S,T,R,Q}) -> texCoord4s(S,T,R,Q). -%% @spec (Size::integer(),Type::enum(),Stride::integer(),Pointer::offset()|binary()) -> ok +%% @spec (Size::integer(),Type::enum(),Stride::integer(),Pointer::offset()|mem()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexCoordPointer.xml">external</a> documentation. +-spec texCoordPointer(integer(),enum(),integer(),offset()|mem()) -> ok. texCoordPointer(Size,Type,Stride,Pointer) when is_integer(Pointer) -> - wxe_util:cast(5274, <<Size:?GLint,Type:?GLenum,Stride:?GLsizei,Pointer:?GLuint>>); + cast(5274, <<Size:?GLint,Type:?GLenum,Stride:?GLsizei,Pointer:?GLuint>>); texCoordPointer(Size,Type,Stride,Pointer) -> - wxe_util:send_bin(Pointer), - wxe_util:cast(5275, <<Size:?GLint,Type:?GLenum,Stride:?GLsizei>>). + send_bin(Pointer), + cast(5275, <<Size:?GLint,Type:?GLenum,Stride:?GLsizei>>). %% @spec (Target::enum(),Pname::enum(),Param::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexEnvf.xml">external</a> documentation. +-spec texEnvf(enum(),enum(),float()) -> ok. texEnvf(Target,Pname,Param) -> - wxe_util:cast(5276, <<Target:?GLenum,Pname:?GLenum,Param:?GLfloat>>). + cast(5276, <<Target:?GLenum,Pname:?GLenum,Param:?GLfloat>>). %% @spec (Target::enum(),Pname::enum(),Params::{float()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexEnv.xml">external</a> documentation. +-spec texEnvfv(enum(),enum(),{float()}) -> ok. texEnvfv(Target,Pname,Params) -> - wxe_util:cast(5277, <<Target:?GLenum,Pname:?GLenum,(size(Params)):?GLuint, + cast(5277, <<Target:?GLenum,Pname:?GLenum,(size(Params)):?GLuint, (<< <<C:?GLfloat>> ||C <- tuple_to_list(Params)>>)/binary,0:(((1+size(Params)) rem 2)*32)>>). %% @spec (Target::enum(),Pname::enum(),Param::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexEnvi.xml">external</a> documentation. +-spec texEnvi(enum(),enum(),integer()) -> ok. texEnvi(Target,Pname,Param) -> - wxe_util:cast(5278, <<Target:?GLenum,Pname:?GLenum,Param:?GLint>>). + cast(5278, <<Target:?GLenum,Pname:?GLenum,Param:?GLint>>). %% @spec (Target::enum(),Pname::enum(),Params::{integer()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexEnv.xml">external</a> documentation. +-spec texEnviv(enum(),enum(),{integer()}) -> ok. texEnviv(Target,Pname,Params) -> - wxe_util:cast(5279, <<Target:?GLenum,Pname:?GLenum,(size(Params)):?GLuint, + cast(5279, <<Target:?GLenum,Pname:?GLenum,(size(Params)):?GLuint, (<< <<C:?GLint>> ||C <- tuple_to_list(Params)>>)/binary,0:(((1+size(Params)) rem 2)*32)>>). %% @spec (Coord::enum(),Pname::enum(),Param::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexGen.xml">external</a> documentation. +-spec texGend(enum(),enum(),float()) -> ok. texGend(Coord,Pname,Param) -> - wxe_util:cast(5280, <<Coord:?GLenum,Pname:?GLenum,Param:?GLdouble>>). + cast(5280, <<Coord:?GLenum,Pname:?GLenum,Param:?GLdouble>>). %% @spec (Coord::enum(),Pname::enum(),Params::{float()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexGen.xml">external</a> documentation. +-spec texGendv(enum(),enum(),{float()}) -> ok. texGendv(Coord,Pname,Params) -> - wxe_util:cast(5281, <<Coord:?GLenum,Pname:?GLenum,(size(Params)):?GLuint,0:32, + cast(5281, <<Coord:?GLenum,Pname:?GLenum,(size(Params)):?GLuint,0:32, (<< <<C:?GLdouble>> ||C <- tuple_to_list(Params)>>)/binary>>). %% @spec (Coord::enum(),Pname::enum(),Param::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexGen.xml">external</a> documentation. +-spec texGenf(enum(),enum(),float()) -> ok. texGenf(Coord,Pname,Param) -> - wxe_util:cast(5282, <<Coord:?GLenum,Pname:?GLenum,Param:?GLfloat>>). + cast(5282, <<Coord:?GLenum,Pname:?GLenum,Param:?GLfloat>>). %% @spec (Coord::enum(),Pname::enum(),Params::{float()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexGen.xml">external</a> documentation. +-spec texGenfv(enum(),enum(),{float()}) -> ok. texGenfv(Coord,Pname,Params) -> - wxe_util:cast(5283, <<Coord:?GLenum,Pname:?GLenum,(size(Params)):?GLuint, + cast(5283, <<Coord:?GLenum,Pname:?GLenum,(size(Params)):?GLuint, (<< <<C:?GLfloat>> ||C <- tuple_to_list(Params)>>)/binary,0:(((1+size(Params)) rem 2)*32)>>). %% @spec (Coord::enum(),Pname::enum(),Param::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexGen.xml">external</a> documentation. +-spec texGeni(enum(),enum(),integer()) -> ok. texGeni(Coord,Pname,Param) -> - wxe_util:cast(5284, <<Coord:?GLenum,Pname:?GLenum,Param:?GLint>>). + cast(5284, <<Coord:?GLenum,Pname:?GLenum,Param:?GLint>>). %% @spec (Coord::enum(),Pname::enum(),Params::{integer()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexGen.xml">external</a> documentation. +-spec texGeniv(enum(),enum(),{integer()}) -> ok. texGeniv(Coord,Pname,Params) -> - wxe_util:cast(5285, <<Coord:?GLenum,Pname:?GLenum,(size(Params)):?GLuint, + cast(5285, <<Coord:?GLenum,Pname:?GLenum,(size(Params)):?GLuint, (<< <<C:?GLint>> ||C <- tuple_to_list(Params)>>)/binary,0:(((1+size(Params)) rem 2)*32)>>). -%% @spec (Target::enum(),Level::integer(),Internalformat::integer(),Width::integer(),Border::integer(),Format::enum(),Type::enum(),Pixels::offset()|binary()) -> ok +%% @spec (Target::enum(),Level::integer(),Internalformat::integer(),Width::integer(),Border::integer(),Format::enum(),Type::enum(),Pixels::offset()|mem()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexImage1D.xml">external</a> documentation. +-spec texImage1D(enum(),integer(),integer(),integer(),integer(),enum(),enum(),offset()|mem()) -> ok. texImage1D(Target,Level,Internalformat,Width,Border,Format,Type,Pixels) when is_integer(Pixels) -> - wxe_util:cast(5286, <<Target:?GLenum,Level:?GLint,Internalformat:?GLint,Width:?GLsizei,Border:?GLint,Format:?GLenum,Type:?GLenum,Pixels:?GLuint>>); + cast(5286, <<Target:?GLenum,Level:?GLint,Internalformat:?GLint,Width:?GLsizei,Border:?GLint,Format:?GLenum,Type:?GLenum,Pixels:?GLuint>>); texImage1D(Target,Level,Internalformat,Width,Border,Format,Type,Pixels) -> - wxe_util:send_bin(Pixels), - wxe_util:cast(5287, <<Target:?GLenum,Level:?GLint,Internalformat:?GLint,Width:?GLsizei,Border:?GLint,Format:?GLenum,Type:?GLenum>>). + send_bin(Pixels), + cast(5287, <<Target:?GLenum,Level:?GLint,Internalformat:?GLint,Width:?GLsizei,Border:?GLint,Format:?GLenum,Type:?GLenum>>). -%% @spec (Target::enum(),Level::integer(),Internalformat::integer(),Width::integer(),Height::integer(),Border::integer(),Format::enum(),Type::enum(),Pixels::offset()|binary()) -> ok +%% @spec (Target::enum(),Level::integer(),Internalformat::integer(),Width::integer(),Height::integer(),Border::integer(),Format::enum(),Type::enum(),Pixels::offset()|mem()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexImage2D.xml">external</a> documentation. +-spec texImage2D(enum(),integer(),integer(),integer(),integer(),integer(),enum(),enum(),offset()|mem()) -> ok. texImage2D(Target,Level,Internalformat,Width,Height,Border,Format,Type,Pixels) when is_integer(Pixels) -> - wxe_util:cast(5288, <<Target:?GLenum,Level:?GLint,Internalformat:?GLint,Width:?GLsizei,Height:?GLsizei,Border:?GLint,Format:?GLenum,Type:?GLenum,Pixels:?GLuint>>); + cast(5288, <<Target:?GLenum,Level:?GLint,Internalformat:?GLint,Width:?GLsizei,Height:?GLsizei,Border:?GLint,Format:?GLenum,Type:?GLenum,Pixels:?GLuint>>); texImage2D(Target,Level,Internalformat,Width,Height,Border,Format,Type,Pixels) -> - wxe_util:send_bin(Pixels), - wxe_util:cast(5289, <<Target:?GLenum,Level:?GLint,Internalformat:?GLint,Width:?GLsizei,Height:?GLsizei,Border:?GLint,Format:?GLenum,Type:?GLenum>>). + send_bin(Pixels), + cast(5289, <<Target:?GLenum,Level:?GLint,Internalformat:?GLint,Width:?GLsizei,Height:?GLsizei,Border:?GLint,Format:?GLenum,Type:?GLenum>>). %% @spec (Target::enum(),Pname::enum(),Param::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexParameter.xml">external</a> documentation. +-spec texParameterf(enum(),enum(),float()) -> ok. texParameterf(Target,Pname,Param) -> - wxe_util:cast(5290, <<Target:?GLenum,Pname:?GLenum,Param:?GLfloat>>). + cast(5290, <<Target:?GLenum,Pname:?GLenum,Param:?GLfloat>>). %% @spec (Target::enum(),Pname::enum(),Params::{float()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexParameter.xml">external</a> documentation. +-spec texParameterfv(enum(),enum(),{float()}) -> ok. texParameterfv(Target,Pname,Params) -> - wxe_util:cast(5291, <<Target:?GLenum,Pname:?GLenum,(size(Params)):?GLuint, + cast(5291, <<Target:?GLenum,Pname:?GLenum,(size(Params)):?GLuint, (<< <<C:?GLfloat>> ||C <- tuple_to_list(Params)>>)/binary,0:(((1+size(Params)) rem 2)*32)>>). %% @spec (Target::enum(),Pname::enum(),Param::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexParameter.xml">external</a> documentation. +-spec texParameteri(enum(),enum(),integer()) -> ok. texParameteri(Target,Pname,Param) -> - wxe_util:cast(5292, <<Target:?GLenum,Pname:?GLenum,Param:?GLint>>). + cast(5292, <<Target:?GLenum,Pname:?GLenum,Param:?GLint>>). %% @spec (Target::enum(),Pname::enum(),Params::{integer()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexParameter.xml">external</a> documentation. +-spec texParameteriv(enum(),enum(),{integer()}) -> ok. texParameteriv(Target,Pname,Params) -> - wxe_util:cast(5293, <<Target:?GLenum,Pname:?GLenum,(size(Params)):?GLuint, + cast(5293, <<Target:?GLenum,Pname:?GLenum,(size(Params)):?GLuint, (<< <<C:?GLint>> ||C <- tuple_to_list(Params)>>)/binary,0:(((1+size(Params)) rem 2)*32)>>). -%% @spec (Target::enum(),Level::integer(),Xoffset::integer(),Width::integer(),Format::enum(),Type::enum(),Pixels::offset()|binary()) -> ok +%% @spec (Target::enum(),Level::integer(),Xoffset::integer(),Width::integer(),Format::enum(),Type::enum(),Pixels::offset()|mem()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexSubImage1D.xml">external</a> documentation. +-spec texSubImage1D(enum(),integer(),integer(),integer(),enum(),enum(),offset()|mem()) -> ok. texSubImage1D(Target,Level,Xoffset,Width,Format,Type,Pixels) when is_integer(Pixels) -> - wxe_util:cast(5294, <<Target:?GLenum,Level:?GLint,Xoffset:?GLint,Width:?GLsizei,Format:?GLenum,Type:?GLenum,Pixels:?GLuint>>); + cast(5294, <<Target:?GLenum,Level:?GLint,Xoffset:?GLint,Width:?GLsizei,Format:?GLenum,Type:?GLenum,Pixels:?GLuint>>); texSubImage1D(Target,Level,Xoffset,Width,Format,Type,Pixels) -> - wxe_util:send_bin(Pixels), - wxe_util:cast(5295, <<Target:?GLenum,Level:?GLint,Xoffset:?GLint,Width:?GLsizei,Format:?GLenum,Type:?GLenum>>). + send_bin(Pixels), + cast(5295, <<Target:?GLenum,Level:?GLint,Xoffset:?GLint,Width:?GLsizei,Format:?GLenum,Type:?GLenum>>). -%% @spec (Target::enum(),Level::integer(),Xoffset::integer(),Yoffset::integer(),Width::integer(),Height::integer(),Format::enum(),Type::enum(),Pixels::offset()|binary()) -> ok +%% @spec (Target::enum(),Level::integer(),Xoffset::integer(),Yoffset::integer(),Width::integer(),Height::integer(),Format::enum(),Type::enum(),Pixels::offset()|mem()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexSubImage2D.xml">external</a> documentation. +-spec texSubImage2D(enum(),integer(),integer(),integer(),integer(),integer(),enum(),enum(),offset()|mem()) -> ok. texSubImage2D(Target,Level,Xoffset,Yoffset,Width,Height,Format,Type,Pixels) when is_integer(Pixels) -> - wxe_util:cast(5296, <<Target:?GLenum,Level:?GLint,Xoffset:?GLint,Yoffset:?GLint,Width:?GLsizei,Height:?GLsizei,Format:?GLenum,Type:?GLenum,Pixels:?GLuint>>); + cast(5296, <<Target:?GLenum,Level:?GLint,Xoffset:?GLint,Yoffset:?GLint,Width:?GLsizei,Height:?GLsizei,Format:?GLenum,Type:?GLenum,Pixels:?GLuint>>); texSubImage2D(Target,Level,Xoffset,Yoffset,Width,Height,Format,Type,Pixels) -> - wxe_util:send_bin(Pixels), - wxe_util:cast(5297, <<Target:?GLenum,Level:?GLint,Xoffset:?GLint,Yoffset:?GLint,Width:?GLsizei,Height:?GLsizei,Format:?GLenum,Type:?GLenum>>). + send_bin(Pixels), + cast(5297, <<Target:?GLenum,Level:?GLint,Xoffset:?GLint,Yoffset:?GLint,Width:?GLsizei,Height:?GLsizei,Format:?GLenum,Type:?GLenum>>). %% @spec (X::float(),Y::float(),Z::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTranslate.xml">external</a> documentation. +-spec translated(float(),float(),float()) -> ok. translated(X,Y,Z) -> - wxe_util:cast(5298, <<X:?GLdouble,Y:?GLdouble,Z:?GLdouble>>). + cast(5298, <<X:?GLdouble,Y:?GLdouble,Z:?GLdouble>>). %% @spec (X::float(),Y::float(),Z::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTranslate.xml">external</a> documentation. +-spec translatef(float(),float(),float()) -> ok. translatef(X,Y,Z) -> - wxe_util:cast(5299, <<X:?GLfloat,Y:?GLfloat,Z:?GLfloat>>). + cast(5299, <<X:?GLfloat,Y:?GLfloat,Z:?GLfloat>>). %% @spec (X::float(),Y::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertex.xml">external</a> documentation. +-spec vertex2d(float(),float()) -> ok. vertex2d(X,Y) -> - wxe_util:cast(5300, <<X:?GLdouble,Y:?GLdouble>>). + cast(5300, <<X:?GLdouble,Y:?GLdouble>>). %% @spec ({X,Y}) -> ok %% @equiv vertex2d(X,Y) +-spec vertex2dv({float(),float()}) -> ok. vertex2dv({X,Y}) -> vertex2d(X,Y). %% @spec (X::float(),Y::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertex.xml">external</a> documentation. +-spec vertex2f(float(),float()) -> ok. vertex2f(X,Y) -> - wxe_util:cast(5301, <<X:?GLfloat,Y:?GLfloat>>). + cast(5301, <<X:?GLfloat,Y:?GLfloat>>). %% @spec ({X,Y}) -> ok %% @equiv vertex2f(X,Y) +-spec vertex2fv({float(),float()}) -> ok. vertex2fv({X,Y}) -> vertex2f(X,Y). %% @spec (X::integer(),Y::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertex.xml">external</a> documentation. +-spec vertex2i(integer(),integer()) -> ok. vertex2i(X,Y) -> - wxe_util:cast(5302, <<X:?GLint,Y:?GLint>>). + cast(5302, <<X:?GLint,Y:?GLint>>). %% @spec ({X,Y}) -> ok %% @equiv vertex2i(X,Y) +-spec vertex2iv({integer(),integer()}) -> ok. vertex2iv({X,Y}) -> vertex2i(X,Y). %% @spec (X::integer(),Y::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertex.xml">external</a> documentation. +-spec vertex2s(integer(),integer()) -> ok. vertex2s(X,Y) -> - wxe_util:cast(5303, <<X:?GLshort,Y:?GLshort>>). + cast(5303, <<X:?GLshort,Y:?GLshort>>). %% @spec ({X,Y}) -> ok %% @equiv vertex2s(X,Y) +-spec vertex2sv({integer(),integer()}) -> ok. vertex2sv({X,Y}) -> vertex2s(X,Y). %% @spec (X::float(),Y::float(),Z::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertex.xml">external</a> documentation. +-spec vertex3d(float(),float(),float()) -> ok. vertex3d(X,Y,Z) -> - wxe_util:cast(5304, <<X:?GLdouble,Y:?GLdouble,Z:?GLdouble>>). + cast(5304, <<X:?GLdouble,Y:?GLdouble,Z:?GLdouble>>). %% @spec ({X,Y,Z}) -> ok %% @equiv vertex3d(X,Y,Z) +-spec vertex3dv({float(),float(),float()}) -> ok. vertex3dv({X,Y,Z}) -> vertex3d(X,Y,Z). %% @spec (X::float(),Y::float(),Z::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertex.xml">external</a> documentation. +-spec vertex3f(float(),float(),float()) -> ok. vertex3f(X,Y,Z) -> - wxe_util:cast(5305, <<X:?GLfloat,Y:?GLfloat,Z:?GLfloat>>). + cast(5305, <<X:?GLfloat,Y:?GLfloat,Z:?GLfloat>>). %% @spec ({X,Y,Z}) -> ok %% @equiv vertex3f(X,Y,Z) +-spec vertex3fv({float(),float(),float()}) -> ok. vertex3fv({X,Y,Z}) -> vertex3f(X,Y,Z). %% @spec (X::integer(),Y::integer(),Z::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertex.xml">external</a> documentation. +-spec vertex3i(integer(),integer(),integer()) -> ok. vertex3i(X,Y,Z) -> - wxe_util:cast(5306, <<X:?GLint,Y:?GLint,Z:?GLint>>). + cast(5306, <<X:?GLint,Y:?GLint,Z:?GLint>>). %% @spec ({X,Y,Z}) -> ok %% @equiv vertex3i(X,Y,Z) +-spec vertex3iv({integer(),integer(),integer()}) -> ok. vertex3iv({X,Y,Z}) -> vertex3i(X,Y,Z). %% @spec (X::integer(),Y::integer(),Z::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertex.xml">external</a> documentation. +-spec vertex3s(integer(),integer(),integer()) -> ok. vertex3s(X,Y,Z) -> - wxe_util:cast(5307, <<X:?GLshort,Y:?GLshort,Z:?GLshort>>). + cast(5307, <<X:?GLshort,Y:?GLshort,Z:?GLshort>>). %% @spec ({X,Y,Z}) -> ok %% @equiv vertex3s(X,Y,Z) +-spec vertex3sv({integer(),integer(),integer()}) -> ok. vertex3sv({X,Y,Z}) -> vertex3s(X,Y,Z). %% @spec (X::float(),Y::float(),Z::float(),W::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertex.xml">external</a> documentation. +-spec vertex4d(float(),float(),float(),float()) -> ok. vertex4d(X,Y,Z,W) -> - wxe_util:cast(5308, <<X:?GLdouble,Y:?GLdouble,Z:?GLdouble,W:?GLdouble>>). + cast(5308, <<X:?GLdouble,Y:?GLdouble,Z:?GLdouble,W:?GLdouble>>). %% @spec ({X,Y,Z,W}) -> ok %% @equiv vertex4d(X,Y,Z,W) +-spec vertex4dv({float(),float(),float(),float()}) -> ok. vertex4dv({X,Y,Z,W}) -> vertex4d(X,Y,Z,W). %% @spec (X::float(),Y::float(),Z::float(),W::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertex.xml">external</a> documentation. +-spec vertex4f(float(),float(),float(),float()) -> ok. vertex4f(X,Y,Z,W) -> - wxe_util:cast(5309, <<X:?GLfloat,Y:?GLfloat,Z:?GLfloat,W:?GLfloat>>). + cast(5309, <<X:?GLfloat,Y:?GLfloat,Z:?GLfloat,W:?GLfloat>>). %% @spec ({X,Y,Z,W}) -> ok %% @equiv vertex4f(X,Y,Z,W) +-spec vertex4fv({float(),float(),float(),float()}) -> ok. vertex4fv({X,Y,Z,W}) -> vertex4f(X,Y,Z,W). %% @spec (X::integer(),Y::integer(),Z::integer(),W::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertex.xml">external</a> documentation. +-spec vertex4i(integer(),integer(),integer(),integer()) -> ok. vertex4i(X,Y,Z,W) -> - wxe_util:cast(5310, <<X:?GLint,Y:?GLint,Z:?GLint,W:?GLint>>). + cast(5310, <<X:?GLint,Y:?GLint,Z:?GLint,W:?GLint>>). %% @spec ({X,Y,Z,W}) -> ok %% @equiv vertex4i(X,Y,Z,W) +-spec vertex4iv({integer(),integer(),integer(),integer()}) -> ok. vertex4iv({X,Y,Z,W}) -> vertex4i(X,Y,Z,W). %% @spec (X::integer(),Y::integer(),Z::integer(),W::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertex.xml">external</a> documentation. +-spec vertex4s(integer(),integer(),integer(),integer()) -> ok. vertex4s(X,Y,Z,W) -> - wxe_util:cast(5311, <<X:?GLshort,Y:?GLshort,Z:?GLshort,W:?GLshort>>). + cast(5311, <<X:?GLshort,Y:?GLshort,Z:?GLshort,W:?GLshort>>). %% @spec ({X,Y,Z,W}) -> ok %% @equiv vertex4s(X,Y,Z,W) +-spec vertex4sv({integer(),integer(),integer(),integer()}) -> ok. vertex4sv({X,Y,Z,W}) -> vertex4s(X,Y,Z,W). -%% @spec (Size::integer(),Type::enum(),Stride::integer(),Pointer::offset()|binary()) -> ok +%% @spec (Size::integer(),Type::enum(),Stride::integer(),Pointer::offset()|mem()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexPointer.xml">external</a> documentation. +-spec vertexPointer(integer(),enum(),integer(),offset()|mem()) -> ok. vertexPointer(Size,Type,Stride,Pointer) when is_integer(Pointer) -> - wxe_util:cast(5312, <<Size:?GLint,Type:?GLenum,Stride:?GLsizei,Pointer:?GLuint>>); + cast(5312, <<Size:?GLint,Type:?GLenum,Stride:?GLsizei,Pointer:?GLuint>>); vertexPointer(Size,Type,Stride,Pointer) -> - wxe_util:send_bin(Pointer), - wxe_util:cast(5313, <<Size:?GLint,Type:?GLenum,Stride:?GLsizei>>). + send_bin(Pointer), + cast(5313, <<Size:?GLint,Type:?GLenum,Stride:?GLsizei>>). %% @spec (X::integer(),Y::integer(),Width::integer(),Height::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glViewport.xml">external</a> documentation. +-spec viewport(integer(),integer(),integer(),integer()) -> ok. viewport(X,Y,Width,Height) -> - wxe_util:cast(5314, <<X:?GLint,Y:?GLint,Width:?GLsizei,Height:?GLsizei>>). + cast(5314, <<X:?GLint,Y:?GLint,Width:?GLsizei,Height:?GLsizei>>). %% @spec (Red::clamp(),Green::clamp(),Blue::clamp(),Alpha::clamp()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBlendColor.xml">external</a> documentation. +-spec blendColor(clamp(),clamp(),clamp(),clamp()) -> ok. blendColor(Red,Green,Blue,Alpha) -> - wxe_util:cast(5315, <<Red:?GLclampf,Green:?GLclampf,Blue:?GLclampf,Alpha:?GLclampf>>). + cast(5315, <<Red:?GLclampf,Green:?GLclampf,Blue:?GLclampf,Alpha:?GLclampf>>). %% @spec (Mode::enum()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBlendEquation.xml">external</a> documentation. +-spec blendEquation(enum()) -> ok. blendEquation(Mode) -> - wxe_util:cast(5316, <<Mode:?GLenum>>). + cast(5316, <<Mode:?GLenum>>). -%% @spec (Mode::enum(),Start::integer(),End::integer(),Count::integer(),Type::enum(),Indices::offset()|binary()) -> ok +%% @spec (Mode::enum(),Start::integer(),End::integer(),Count::integer(),Type::enum(),Indices::offset()|mem()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDrawRangeElements.xml">external</a> documentation. +-spec drawRangeElements(enum(),integer(),integer(),integer(),enum(),offset()|mem()) -> ok. drawRangeElements(Mode,Start,End,Count,Type,Indices) when is_integer(Indices) -> - wxe_util:cast(5317, <<Mode:?GLenum,Start:?GLuint,End:?GLuint,Count:?GLsizei,Type:?GLenum,Indices:?GLuint>>); + cast(5317, <<Mode:?GLenum,Start:?GLuint,End:?GLuint,Count:?GLsizei,Type:?GLenum,Indices:?GLuint>>); drawRangeElements(Mode,Start,End,Count,Type,Indices) -> - wxe_util:send_bin(Indices), - wxe_util:cast(5318, <<Mode:?GLenum,Start:?GLuint,End:?GLuint,Count:?GLsizei,Type:?GLenum>>). + send_bin(Indices), + cast(5318, <<Mode:?GLenum,Start:?GLuint,End:?GLuint,Count:?GLsizei,Type:?GLenum>>). -%% @spec (Target::enum(),Level::integer(),Internalformat::integer(),Width::integer(),Height::integer(),Depth::integer(),Border::integer(),Format::enum(),Type::enum(),Pixels::offset()|binary()) -> ok +%% @spec (Target::enum(),Level::integer(),Internalformat::integer(),Width::integer(),Height::integer(),Depth::integer(),Border::integer(),Format::enum(),Type::enum(),Pixels::offset()|mem()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexImage3D.xml">external</a> documentation. +-spec texImage3D(enum(),integer(),integer(),integer(),integer(),integer(),integer(),enum(),enum(),offset()|mem()) -> ok. texImage3D(Target,Level,Internalformat,Width,Height,Depth,Border,Format,Type,Pixels) when is_integer(Pixels) -> - wxe_util:cast(5319, <<Target:?GLenum,Level:?GLint,Internalformat:?GLint,Width:?GLsizei,Height:?GLsizei,Depth:?GLsizei,Border:?GLint,Format:?GLenum,Type:?GLenum,Pixels:?GLuint>>); + cast(5319, <<Target:?GLenum,Level:?GLint,Internalformat:?GLint,Width:?GLsizei,Height:?GLsizei,Depth:?GLsizei,Border:?GLint,Format:?GLenum,Type:?GLenum,Pixels:?GLuint>>); texImage3D(Target,Level,Internalformat,Width,Height,Depth,Border,Format,Type,Pixels) -> - wxe_util:send_bin(Pixels), - wxe_util:cast(5320, <<Target:?GLenum,Level:?GLint,Internalformat:?GLint,Width:?GLsizei,Height:?GLsizei,Depth:?GLsizei,Border:?GLint,Format:?GLenum,Type:?GLenum>>). + send_bin(Pixels), + cast(5320, <<Target:?GLenum,Level:?GLint,Internalformat:?GLint,Width:?GLsizei,Height:?GLsizei,Depth:?GLsizei,Border:?GLint,Format:?GLenum,Type:?GLenum>>). -%% @spec (Target::enum(),Level::integer(),Xoffset::integer(),Yoffset::integer(),Zoffset::integer(),Width::integer(),Height::integer(),Depth::integer(),Format::enum(),Type::enum(),Pixels::offset()|binary()) -> ok +%% @spec (Target::enum(),Level::integer(),Xoffset::integer(),Yoffset::integer(),Zoffset::integer(),Width::integer(),Height::integer(),Depth::integer(),Format::enum(),Type::enum(),Pixels::offset()|mem()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexSubImage3D.xml">external</a> documentation. +-spec texSubImage3D(enum(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),enum(),enum(),offset()|mem()) -> ok. texSubImage3D(Target,Level,Xoffset,Yoffset,Zoffset,Width,Height,Depth,Format,Type,Pixels) when is_integer(Pixels) -> - wxe_util:cast(5321, <<Target:?GLenum,Level:?GLint,Xoffset:?GLint,Yoffset:?GLint,Zoffset:?GLint,Width:?GLsizei,Height:?GLsizei,Depth:?GLsizei,Format:?GLenum,Type:?GLenum,Pixels:?GLuint>>); + cast(5321, <<Target:?GLenum,Level:?GLint,Xoffset:?GLint,Yoffset:?GLint,Zoffset:?GLint,Width:?GLsizei,Height:?GLsizei,Depth:?GLsizei,Format:?GLenum,Type:?GLenum,Pixels:?GLuint>>); texSubImage3D(Target,Level,Xoffset,Yoffset,Zoffset,Width,Height,Depth,Format,Type,Pixels) -> - wxe_util:send_bin(Pixels), - wxe_util:cast(5322, <<Target:?GLenum,Level:?GLint,Xoffset:?GLint,Yoffset:?GLint,Zoffset:?GLint,Width:?GLsizei,Height:?GLsizei,Depth:?GLsizei,Format:?GLenum,Type:?GLenum>>). + send_bin(Pixels), + cast(5322, <<Target:?GLenum,Level:?GLint,Xoffset:?GLint,Yoffset:?GLint,Zoffset:?GLint,Width:?GLsizei,Height:?GLsizei,Depth:?GLsizei,Format:?GLenum,Type:?GLenum>>). %% @spec (Target::enum(),Level::integer(),Xoffset::integer(),Yoffset::integer(),Zoffset::integer(),X::integer(),Y::integer(),Width::integer(),Height::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCopyTexSubImage3D.xml">external</a> documentation. +-spec copyTexSubImage3D(enum(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer()) -> ok. copyTexSubImage3D(Target,Level,Xoffset,Yoffset,Zoffset,X,Y,Width,Height) -> - wxe_util:cast(5323, <<Target:?GLenum,Level:?GLint,Xoffset:?GLint,Yoffset:?GLint,Zoffset:?GLint,X:?GLint,Y:?GLint,Width:?GLsizei,Height:?GLsizei>>). + cast(5323, <<Target:?GLenum,Level:?GLint,Xoffset:?GLint,Yoffset:?GLint,Zoffset:?GLint,X:?GLint,Y:?GLint,Width:?GLsizei,Height:?GLsizei>>). -%% @spec (Target::enum(),Internalformat::enum(),Width::integer(),Format::enum(),Type::enum(),Table::offset()|binary()) -> ok +%% @spec (Target::enum(),Internalformat::enum(),Width::integer(),Format::enum(),Type::enum(),Table::offset()|mem()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glColorTable.xml">external</a> documentation. +-spec colorTable(enum(),enum(),integer(),enum(),enum(),offset()|mem()) -> ok. colorTable(Target,Internalformat,Width,Format,Type,Table) when is_integer(Table) -> - wxe_util:cast(5324, <<Target:?GLenum,Internalformat:?GLenum,Width:?GLsizei,Format:?GLenum,Type:?GLenum,Table:?GLuint>>); + cast(5324, <<Target:?GLenum,Internalformat:?GLenum,Width:?GLsizei,Format:?GLenum,Type:?GLenum,Table:?GLuint>>); colorTable(Target,Internalformat,Width,Format,Type,Table) -> - wxe_util:send_bin(Table), - wxe_util:cast(5325, <<Target:?GLenum,Internalformat:?GLenum,Width:?GLsizei,Format:?GLenum,Type:?GLenum>>). + send_bin(Table), + cast(5325, <<Target:?GLenum,Internalformat:?GLenum,Width:?GLsizei,Format:?GLenum,Type:?GLenum>>). -%% @spec (Target::enum(),Pname::enum(),Params::{float()}) -> ok +%% @spec (Target::enum(),Pname::enum(),Params::{float(),float(),float(),float()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glColorTableParameter.xml">external</a> documentation. +-spec colorTableParameterfv(enum(),enum(),{float(),float(),float(),float()}) -> ok. colorTableParameterfv(Target,Pname,{P1,P2,P3,P4}) -> - wxe_util:cast(5326, <<Target:?GLenum,Pname:?GLenum,P1:?GLfloat,P2:?GLfloat,P3:?GLfloat,P4:?GLfloat>>). + cast(5326, <<Target:?GLenum,Pname:?GLenum,P1:?GLfloat,P2:?GLfloat,P3:?GLfloat,P4:?GLfloat>>). -%% @spec (Target::enum(),Pname::enum(),Params::{integer()}) -> ok +%% @spec (Target::enum(),Pname::enum(),Params::{integer(),integer(),integer(),integer()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glColorTableParameter.xml">external</a> documentation. +-spec colorTableParameteriv(enum(),enum(),{integer(),integer(),integer(),integer()}) -> ok. colorTableParameteriv(Target,Pname,{P1,P2,P3,P4}) -> - wxe_util:cast(5327, <<Target:?GLenum,Pname:?GLenum,P1:?GLint,P2:?GLint,P3:?GLint,P4:?GLint>>). + cast(5327, <<Target:?GLenum,Pname:?GLenum,P1:?GLint,P2:?GLint,P3:?GLint,P4:?GLint>>). %% @spec (Target::enum(),Internalformat::enum(),X::integer(),Y::integer(),Width::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCopyColorTable.xml">external</a> documentation. +-spec copyColorTable(enum(),enum(),integer(),integer(),integer()) -> ok. copyColorTable(Target,Internalformat,X,Y,Width) -> - wxe_util:cast(5328, <<Target:?GLenum,Internalformat:?GLenum,X:?GLint,Y:?GLint,Width:?GLsizei>>). + cast(5328, <<Target:?GLenum,Internalformat:?GLenum,X:?GLint,Y:?GLint,Width:?GLsizei>>). -%% @spec (Target::enum(),Format::enum(),Type::enum(),Table::wx:wx_mem()) -> ok +%% @spec (Target::enum(),Format::enum(),Type::enum(),Table::mem()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetColorTable.xml">external</a> documentation. +-spec getColorTable(enum(),enum(),enum(),mem()) -> ok. getColorTable(Target,Format,Type,Table) -> - wxe_util:send_bin(Table#wx_mem.bin), - wxe_util:call(5329, <<Target:?GLenum,Format:?GLenum,Type:?GLenum>>). + send_bin(Table), + call(5329, <<Target:?GLenum,Format:?GLenum,Type:?GLenum>>). -%% @spec (Target::enum(),Pname::enum()) -> {float()} +%% @spec (Target::enum(),Pname::enum()) -> {float(),float(),float(),float()} %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetColorTableParameter.xml">external</a> documentation. +-spec getColorTableParameterfv(enum(),enum()) -> {float(),float(),float(),float()}. getColorTableParameterfv(Target,Pname) -> - wxe_util:call(5330, <<Target:?GLenum,Pname:?GLenum>>). + call(5330, <<Target:?GLenum,Pname:?GLenum>>). -%% @spec (Target::enum(),Pname::enum()) -> {integer()} +%% @spec (Target::enum(),Pname::enum()) -> {integer(),integer(),integer(),integer()} %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetColorTableParameter.xml">external</a> documentation. +-spec getColorTableParameteriv(enum(),enum()) -> {integer(),integer(),integer(),integer()}. getColorTableParameteriv(Target,Pname) -> - wxe_util:call(5331, <<Target:?GLenum,Pname:?GLenum>>). + call(5331, <<Target:?GLenum,Pname:?GLenum>>). -%% @spec (Target::enum(),Start::integer(),Count::integer(),Format::enum(),Type::enum(),Data::offset()|binary()) -> ok +%% @spec (Target::enum(),Start::integer(),Count::integer(),Format::enum(),Type::enum(),Data::offset()|mem()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glColorSubTable.xml">external</a> documentation. +-spec colorSubTable(enum(),integer(),integer(),enum(),enum(),offset()|mem()) -> ok. colorSubTable(Target,Start,Count,Format,Type,Data) when is_integer(Data) -> - wxe_util:cast(5332, <<Target:?GLenum,Start:?GLsizei,Count:?GLsizei,Format:?GLenum,Type:?GLenum,Data:?GLuint>>); + cast(5332, <<Target:?GLenum,Start:?GLsizei,Count:?GLsizei,Format:?GLenum,Type:?GLenum,Data:?GLuint>>); colorSubTable(Target,Start,Count,Format,Type,Data) -> - wxe_util:send_bin(Data), - wxe_util:cast(5333, <<Target:?GLenum,Start:?GLsizei,Count:?GLsizei,Format:?GLenum,Type:?GLenum>>). + send_bin(Data), + cast(5333, <<Target:?GLenum,Start:?GLsizei,Count:?GLsizei,Format:?GLenum,Type:?GLenum>>). %% @spec (Target::enum(),Start::integer(),X::integer(),Y::integer(),Width::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCopyColorSubTable.xml">external</a> documentation. +-spec copyColorSubTable(enum(),integer(),integer(),integer(),integer()) -> ok. copyColorSubTable(Target,Start,X,Y,Width) -> - wxe_util:cast(5334, <<Target:?GLenum,Start:?GLsizei,X:?GLint,Y:?GLint,Width:?GLsizei>>). + cast(5334, <<Target:?GLenum,Start:?GLsizei,X:?GLint,Y:?GLint,Width:?GLsizei>>). -%% @spec (Target::enum(),Internalformat::enum(),Width::integer(),Format::enum(),Type::enum(),Image::offset()|binary()) -> ok +%% @spec (Target::enum(),Internalformat::enum(),Width::integer(),Format::enum(),Type::enum(),Image::offset()|mem()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glConvolutionFilter1D.xml">external</a> documentation. +-spec convolutionFilter1D(enum(),enum(),integer(),enum(),enum(),offset()|mem()) -> ok. convolutionFilter1D(Target,Internalformat,Width,Format,Type,Image) when is_integer(Image) -> - wxe_util:cast(5335, <<Target:?GLenum,Internalformat:?GLenum,Width:?GLsizei,Format:?GLenum,Type:?GLenum,Image:?GLuint>>); + cast(5335, <<Target:?GLenum,Internalformat:?GLenum,Width:?GLsizei,Format:?GLenum,Type:?GLenum,Image:?GLuint>>); convolutionFilter1D(Target,Internalformat,Width,Format,Type,Image) -> - wxe_util:send_bin(Image), - wxe_util:cast(5336, <<Target:?GLenum,Internalformat:?GLenum,Width:?GLsizei,Format:?GLenum,Type:?GLenum>>). + send_bin(Image), + cast(5336, <<Target:?GLenum,Internalformat:?GLenum,Width:?GLsizei,Format:?GLenum,Type:?GLenum>>). -%% @spec (Target::enum(),Internalformat::enum(),Width::integer(),Height::integer(),Format::enum(),Type::enum(),Image::offset()|binary()) -> ok +%% @spec (Target::enum(),Internalformat::enum(),Width::integer(),Height::integer(),Format::enum(),Type::enum(),Image::offset()|mem()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glConvolutionFilter2D.xml">external</a> documentation. +-spec convolutionFilter2D(enum(),enum(),integer(),integer(),enum(),enum(),offset()|mem()) -> ok. convolutionFilter2D(Target,Internalformat,Width,Height,Format,Type,Image) when is_integer(Image) -> - wxe_util:cast(5337, <<Target:?GLenum,Internalformat:?GLenum,Width:?GLsizei,Height:?GLsizei,Format:?GLenum,Type:?GLenum,Image:?GLuint>>); + cast(5337, <<Target:?GLenum,Internalformat:?GLenum,Width:?GLsizei,Height:?GLsizei,Format:?GLenum,Type:?GLenum,Image:?GLuint>>); convolutionFilter2D(Target,Internalformat,Width,Height,Format,Type,Image) -> - wxe_util:send_bin(Image), - wxe_util:cast(5338, <<Target:?GLenum,Internalformat:?GLenum,Width:?GLsizei,Height:?GLsizei,Format:?GLenum,Type:?GLenum>>). + send_bin(Image), + cast(5338, <<Target:?GLenum,Internalformat:?GLenum,Width:?GLsizei,Height:?GLsizei,Format:?GLenum,Type:?GLenum>>). %% @spec (Target::enum(),Pname::enum(),Params::{float()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glConvolutionParameter.xml">external</a> documentation. +-spec convolutionParameterf(enum(),enum(),{float()}) -> ok. convolutionParameterf(Target,Pname,Params) -> - wxe_util:cast(5339, <<Target:?GLenum,Pname:?GLenum,(size(Params)):?GLuint, + cast(5339, <<Target:?GLenum,Pname:?GLenum,(size(Params)):?GLuint, (<< <<C:?GLfloat>> ||C <- tuple_to_list(Params)>>)/binary,0:(((1+size(Params)) rem 2)*32)>>). %% @spec (Target,Pname,{Params}) -> ok %% @equiv convolutionParameterf(Target,Pname,Params) +-spec convolutionParameterfv(enum(),enum(),{{float()}}) -> ok. convolutionParameterfv(Target,Pname,{Params}) -> convolutionParameterf(Target,Pname,Params). %% @spec (Target::enum(),Pname::enum(),Params::{integer()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glConvolutionParameter.xml">external</a> documentation. +-spec convolutionParameteri(enum(),enum(),{integer()}) -> ok. convolutionParameteri(Target,Pname,Params) -> - wxe_util:cast(5340, <<Target:?GLenum,Pname:?GLenum,(size(Params)):?GLuint, + cast(5340, <<Target:?GLenum,Pname:?GLenum,(size(Params)):?GLuint, (<< <<C:?GLint>> ||C <- tuple_to_list(Params)>>)/binary,0:(((1+size(Params)) rem 2)*32)>>). %% @spec (Target,Pname,{Params}) -> ok %% @equiv convolutionParameteri(Target,Pname,Params) +-spec convolutionParameteriv(enum(),enum(),{{integer()}}) -> ok. convolutionParameteriv(Target,Pname,{Params}) -> convolutionParameteri(Target,Pname,Params). %% @spec (Target::enum(),Internalformat::enum(),X::integer(),Y::integer(),Width::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCopyConvolutionFilter1D.xml">external</a> documentation. +-spec copyConvolutionFilter1D(enum(),enum(),integer(),integer(),integer()) -> ok. copyConvolutionFilter1D(Target,Internalformat,X,Y,Width) -> - wxe_util:cast(5341, <<Target:?GLenum,Internalformat:?GLenum,X:?GLint,Y:?GLint,Width:?GLsizei>>). + cast(5341, <<Target:?GLenum,Internalformat:?GLenum,X:?GLint,Y:?GLint,Width:?GLsizei>>). %% @spec (Target::enum(),Internalformat::enum(),X::integer(),Y::integer(),Width::integer(),Height::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCopyConvolutionFilter2D.xml">external</a> documentation. +-spec copyConvolutionFilter2D(enum(),enum(),integer(),integer(),integer(),integer()) -> ok. copyConvolutionFilter2D(Target,Internalformat,X,Y,Width,Height) -> - wxe_util:cast(5342, <<Target:?GLenum,Internalformat:?GLenum,X:?GLint,Y:?GLint,Width:?GLsizei,Height:?GLsizei>>). + cast(5342, <<Target:?GLenum,Internalformat:?GLenum,X:?GLint,Y:?GLint,Width:?GLsizei,Height:?GLsizei>>). -%% @spec (Target::enum(),Format::enum(),Type::enum(),Image::wx:wx_mem()) -> ok +%% @spec (Target::enum(),Format::enum(),Type::enum(),Image::mem()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetConvolutionFilter.xml">external</a> documentation. +-spec getConvolutionFilter(enum(),enum(),enum(),mem()) -> ok. getConvolutionFilter(Target,Format,Type,Image) -> - wxe_util:send_bin(Image#wx_mem.bin), - wxe_util:call(5343, <<Target:?GLenum,Format:?GLenum,Type:?GLenum>>). + send_bin(Image), + call(5343, <<Target:?GLenum,Format:?GLenum,Type:?GLenum>>). -%% @spec (Target::enum(),Pname::enum()) -> {float()} +%% @spec (Target::enum(),Pname::enum()) -> {float(),float(),float(),float()} %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetConvolutionParameter.xml">external</a> documentation. +-spec getConvolutionParameterfv(enum(),enum()) -> {float(),float(),float(),float()}. getConvolutionParameterfv(Target,Pname) -> - wxe_util:call(5344, <<Target:?GLenum,Pname:?GLenum>>). + call(5344, <<Target:?GLenum,Pname:?GLenum>>). -%% @spec (Target::enum(),Pname::enum()) -> {integer()} +%% @spec (Target::enum(),Pname::enum()) -> {integer(),integer(),integer(),integer()} %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetConvolutionParameter.xml">external</a> documentation. +-spec getConvolutionParameteriv(enum(),enum()) -> {integer(),integer(),integer(),integer()}. getConvolutionParameteriv(Target,Pname) -> - wxe_util:call(5345, <<Target:?GLenum,Pname:?GLenum>>). + call(5345, <<Target:?GLenum,Pname:?GLenum>>). -%% @spec (Target::enum(),Internalformat::enum(),Width::integer(),Height::integer(),Format::enum(),Type::enum(),Row::offset()|binary(),Column::offset()|binary()) -> ok +%% @spec (Target::enum(),Internalformat::enum(),Width::integer(),Height::integer(),Format::enum(),Type::enum(),Row::offset()|mem(),Column::offset()|mem()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glSeparableFilter2D.xml">external</a> documentation. +-spec separableFilter2D(enum(),enum(),integer(),integer(),enum(),enum(),offset()|mem(),offset()|mem()) -> ok. separableFilter2D(Target,Internalformat,Width,Height,Format,Type,Row,Column) when is_integer(Row), is_integer(Column) -> - wxe_util:cast(5346, <<Target:?GLenum,Internalformat:?GLenum,Width:?GLsizei,Height:?GLsizei,Format:?GLenum,Type:?GLenum,Row:?GLuint,Column:?GLuint>>); + cast(5346, <<Target:?GLenum,Internalformat:?GLenum,Width:?GLsizei,Height:?GLsizei,Format:?GLenum,Type:?GLenum,Row:?GLuint,Column:?GLuint>>); separableFilter2D(Target,Internalformat,Width,Height,Format,Type,Row,Column) -> - wxe_util:send_bin(Row), - wxe_util:send_bin(Column), - wxe_util:cast(5347, <<Target:?GLenum,Internalformat:?GLenum,Width:?GLsizei,Height:?GLsizei,Format:?GLenum,Type:?GLenum>>). + send_bin(Row), + send_bin(Column), + cast(5347, <<Target:?GLenum,Internalformat:?GLenum,Width:?GLsizei,Height:?GLsizei,Format:?GLenum,Type:?GLenum>>). -%% @spec (Target::enum(),Reset::0|1,Format::enum(),Type::enum(),Values::wx:wx_mem()) -> ok +%% @spec (Target::enum(),Reset::0|1,Format::enum(),Type::enum(),Values::mem()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetHistogram.xml">external</a> documentation. +-spec getHistogram(enum(),0|1,enum(),enum(),mem()) -> ok. getHistogram(Target,Reset,Format,Type,Values) -> - wxe_util:send_bin(Values#wx_mem.bin), - wxe_util:call(5348, <<Target:?GLenum,Reset:?GLboolean,0:24,Format:?GLenum,Type:?GLenum>>). + send_bin(Values), + call(5348, <<Target:?GLenum,Reset:?GLboolean,0:24,Format:?GLenum,Type:?GLenum>>). %% @spec (Target::enum(),Pname::enum()) -> {float()} %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetHistogramParameter.xml">external</a> documentation. +-spec getHistogramParameterfv(enum(),enum()) -> {float()}. getHistogramParameterfv(Target,Pname) -> - wxe_util:call(5349, <<Target:?GLenum,Pname:?GLenum>>). + call(5349, <<Target:?GLenum,Pname:?GLenum>>). %% @spec (Target::enum(),Pname::enum()) -> {integer()} %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetHistogramParameter.xml">external</a> documentation. +-spec getHistogramParameteriv(enum(),enum()) -> {integer()}. getHistogramParameteriv(Target,Pname) -> - wxe_util:call(5350, <<Target:?GLenum,Pname:?GLenum>>). + call(5350, <<Target:?GLenum,Pname:?GLenum>>). -%% @spec (Target::enum(),Reset::0|1,Format::enum(),Type::enum(),Values::wx:wx_mem()) -> ok +%% @spec (Target::enum(),Reset::0|1,Format::enum(),Type::enum(),Values::mem()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetMinmax.xml">external</a> documentation. +-spec getMinmax(enum(),0|1,enum(),enum(),mem()) -> ok. getMinmax(Target,Reset,Format,Type,Values) -> - wxe_util:send_bin(Values#wx_mem.bin), - wxe_util:call(5351, <<Target:?GLenum,Reset:?GLboolean,0:24,Format:?GLenum,Type:?GLenum>>). + send_bin(Values), + call(5351, <<Target:?GLenum,Reset:?GLboolean,0:24,Format:?GLenum,Type:?GLenum>>). %% @spec (Target::enum(),Pname::enum()) -> {float()} %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetMinmaxParameter.xml">external</a> documentation. +-spec getMinmaxParameterfv(enum(),enum()) -> {float()}. getMinmaxParameterfv(Target,Pname) -> - wxe_util:call(5352, <<Target:?GLenum,Pname:?GLenum>>). + call(5352, <<Target:?GLenum,Pname:?GLenum>>). %% @spec (Target::enum(),Pname::enum()) -> {integer()} %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetMinmaxParameter.xml">external</a> documentation. +-spec getMinmaxParameteriv(enum(),enum()) -> {integer()}. getMinmaxParameteriv(Target,Pname) -> - wxe_util:call(5353, <<Target:?GLenum,Pname:?GLenum>>). + call(5353, <<Target:?GLenum,Pname:?GLenum>>). %% @spec (Target::enum(),Width::integer(),Internalformat::enum(),Sink::0|1) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glHistogram.xml">external</a> documentation. +-spec histogram(enum(),integer(),enum(),0|1) -> ok. histogram(Target,Width,Internalformat,Sink) -> - wxe_util:cast(5354, <<Target:?GLenum,Width:?GLsizei,Internalformat:?GLenum,Sink:?GLboolean>>). + cast(5354, <<Target:?GLenum,Width:?GLsizei,Internalformat:?GLenum,Sink:?GLboolean>>). %% @spec (Target::enum(),Internalformat::enum(),Sink::0|1) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMinmax.xml">external</a> documentation. +-spec minmax(enum(),enum(),0|1) -> ok. minmax(Target,Internalformat,Sink) -> - wxe_util:cast(5355, <<Target:?GLenum,Internalformat:?GLenum,Sink:?GLboolean>>). + cast(5355, <<Target:?GLenum,Internalformat:?GLenum,Sink:?GLboolean>>). %% @spec (Target::enum()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glResetHistogram.xml">external</a> documentation. +-spec resetHistogram(enum()) -> ok. resetHistogram(Target) -> - wxe_util:cast(5356, <<Target:?GLenum>>). + cast(5356, <<Target:?GLenum>>). %% @spec (Target::enum()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glResetMinmax.xml">external</a> documentation. +-spec resetMinmax(enum()) -> ok. resetMinmax(Target) -> - wxe_util:cast(5357, <<Target:?GLenum>>). + cast(5357, <<Target:?GLenum>>). %% @spec (Texture::enum()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glActiveTexture.xml">external</a> documentation. +-spec activeTexture(enum()) -> ok. activeTexture(Texture) -> - wxe_util:cast(5358, <<Texture:?GLenum>>). + cast(5358, <<Texture:?GLenum>>). %% @spec (Value::clamp(),Invert::0|1) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glSampleCoverage.xml">external</a> documentation. +-spec sampleCoverage(clamp(),0|1) -> ok. sampleCoverage(Value,Invert) -> - wxe_util:cast(5359, <<Value:?GLclampf,Invert:?GLboolean>>). + cast(5359, <<Value:?GLclampf,Invert:?GLboolean>>). -%% @spec (Target::enum(),Level::integer(),Internalformat::enum(),Width::integer(),Height::integer(),Depth::integer(),Border::integer(),ImageSize::integer(),Data::offset()|binary()) -> ok +%% @spec (Target::enum(),Level::integer(),Internalformat::enum(),Width::integer(),Height::integer(),Depth::integer(),Border::integer(),ImageSize::integer(),Data::offset()|mem()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCompressedTexImage3D.xml">external</a> documentation. +-spec compressedTexImage3D(enum(),integer(),enum(),integer(),integer(),integer(),integer(),integer(),offset()|mem()) -> ok. compressedTexImage3D(Target,Level,Internalformat,Width,Height,Depth,Border,ImageSize,Data) when is_integer(Data) -> - wxe_util:cast(5360, <<Target:?GLenum,Level:?GLint,Internalformat:?GLenum,Width:?GLsizei,Height:?GLsizei,Depth:?GLsizei,Border:?GLint,ImageSize:?GLsizei,Data:?GLuint>>); + cast(5360, <<Target:?GLenum,Level:?GLint,Internalformat:?GLenum,Width:?GLsizei,Height:?GLsizei,Depth:?GLsizei,Border:?GLint,ImageSize:?GLsizei,Data:?GLuint>>); compressedTexImage3D(Target,Level,Internalformat,Width,Height,Depth,Border,ImageSize,Data) -> - wxe_util:send_bin(Data), - wxe_util:cast(5361, <<Target:?GLenum,Level:?GLint,Internalformat:?GLenum,Width:?GLsizei,Height:?GLsizei,Depth:?GLsizei,Border:?GLint,ImageSize:?GLsizei>>). + send_bin(Data), + cast(5361, <<Target:?GLenum,Level:?GLint,Internalformat:?GLenum,Width:?GLsizei,Height:?GLsizei,Depth:?GLsizei,Border:?GLint,ImageSize:?GLsizei>>). -%% @spec (Target::enum(),Level::integer(),Internalformat::enum(),Width::integer(),Height::integer(),Border::integer(),ImageSize::integer(),Data::offset()|binary()) -> ok +%% @spec (Target::enum(),Level::integer(),Internalformat::enum(),Width::integer(),Height::integer(),Border::integer(),ImageSize::integer(),Data::offset()|mem()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCompressedTexImage2D.xml">external</a> documentation. +-spec compressedTexImage2D(enum(),integer(),enum(),integer(),integer(),integer(),integer(),offset()|mem()) -> ok. compressedTexImage2D(Target,Level,Internalformat,Width,Height,Border,ImageSize,Data) when is_integer(Data) -> - wxe_util:cast(5362, <<Target:?GLenum,Level:?GLint,Internalformat:?GLenum,Width:?GLsizei,Height:?GLsizei,Border:?GLint,ImageSize:?GLsizei,Data:?GLuint>>); + cast(5362, <<Target:?GLenum,Level:?GLint,Internalformat:?GLenum,Width:?GLsizei,Height:?GLsizei,Border:?GLint,ImageSize:?GLsizei,Data:?GLuint>>); compressedTexImage2D(Target,Level,Internalformat,Width,Height,Border,ImageSize,Data) -> - wxe_util:send_bin(Data), - wxe_util:cast(5363, <<Target:?GLenum,Level:?GLint,Internalformat:?GLenum,Width:?GLsizei,Height:?GLsizei,Border:?GLint,ImageSize:?GLsizei>>). + send_bin(Data), + cast(5363, <<Target:?GLenum,Level:?GLint,Internalformat:?GLenum,Width:?GLsizei,Height:?GLsizei,Border:?GLint,ImageSize:?GLsizei>>). -%% @spec (Target::enum(),Level::integer(),Internalformat::enum(),Width::integer(),Border::integer(),ImageSize::integer(),Data::offset()|binary()) -> ok +%% @spec (Target::enum(),Level::integer(),Internalformat::enum(),Width::integer(),Border::integer(),ImageSize::integer(),Data::offset()|mem()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCompressedTexImage1D.xml">external</a> documentation. +-spec compressedTexImage1D(enum(),integer(),enum(),integer(),integer(),integer(),offset()|mem()) -> ok. compressedTexImage1D(Target,Level,Internalformat,Width,Border,ImageSize,Data) when is_integer(Data) -> - wxe_util:cast(5364, <<Target:?GLenum,Level:?GLint,Internalformat:?GLenum,Width:?GLsizei,Border:?GLint,ImageSize:?GLsizei,Data:?GLuint>>); + cast(5364, <<Target:?GLenum,Level:?GLint,Internalformat:?GLenum,Width:?GLsizei,Border:?GLint,ImageSize:?GLsizei,Data:?GLuint>>); compressedTexImage1D(Target,Level,Internalformat,Width,Border,ImageSize,Data) -> - wxe_util:send_bin(Data), - wxe_util:cast(5365, <<Target:?GLenum,Level:?GLint,Internalformat:?GLenum,Width:?GLsizei,Border:?GLint,ImageSize:?GLsizei>>). + send_bin(Data), + cast(5365, <<Target:?GLenum,Level:?GLint,Internalformat:?GLenum,Width:?GLsizei,Border:?GLint,ImageSize:?GLsizei>>). -%% @spec (Target::enum(),Level::integer(),Xoffset::integer(),Yoffset::integer(),Zoffset::integer(),Width::integer(),Height::integer(),Depth::integer(),Format::enum(),ImageSize::integer(),Data::offset()|binary()) -> ok +%% @spec (Target::enum(),Level::integer(),Xoffset::integer(),Yoffset::integer(),Zoffset::integer(),Width::integer(),Height::integer(),Depth::integer(),Format::enum(),ImageSize::integer(),Data::offset()|mem()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCompressedTexSubImage3D.xml">external</a> documentation. +-spec compressedTexSubImage3D(enum(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),enum(),integer(),offset()|mem()) -> ok. compressedTexSubImage3D(Target,Level,Xoffset,Yoffset,Zoffset,Width,Height,Depth,Format,ImageSize,Data) when is_integer(Data) -> - wxe_util:cast(5366, <<Target:?GLenum,Level:?GLint,Xoffset:?GLint,Yoffset:?GLint,Zoffset:?GLint,Width:?GLsizei,Height:?GLsizei,Depth:?GLsizei,Format:?GLenum,ImageSize:?GLsizei,Data:?GLuint>>); + cast(5366, <<Target:?GLenum,Level:?GLint,Xoffset:?GLint,Yoffset:?GLint,Zoffset:?GLint,Width:?GLsizei,Height:?GLsizei,Depth:?GLsizei,Format:?GLenum,ImageSize:?GLsizei,Data:?GLuint>>); compressedTexSubImage3D(Target,Level,Xoffset,Yoffset,Zoffset,Width,Height,Depth,Format,ImageSize,Data) -> - wxe_util:send_bin(Data), - wxe_util:cast(5367, <<Target:?GLenum,Level:?GLint,Xoffset:?GLint,Yoffset:?GLint,Zoffset:?GLint,Width:?GLsizei,Height:?GLsizei,Depth:?GLsizei,Format:?GLenum,ImageSize:?GLsizei>>). + send_bin(Data), + cast(5367, <<Target:?GLenum,Level:?GLint,Xoffset:?GLint,Yoffset:?GLint,Zoffset:?GLint,Width:?GLsizei,Height:?GLsizei,Depth:?GLsizei,Format:?GLenum,ImageSize:?GLsizei>>). -%% @spec (Target::enum(),Level::integer(),Xoffset::integer(),Yoffset::integer(),Width::integer(),Height::integer(),Format::enum(),ImageSize::integer(),Data::offset()|binary()) -> ok +%% @spec (Target::enum(),Level::integer(),Xoffset::integer(),Yoffset::integer(),Width::integer(),Height::integer(),Format::enum(),ImageSize::integer(),Data::offset()|mem()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCompressedTexSubImage2D.xml">external</a> documentation. +-spec compressedTexSubImage2D(enum(),integer(),integer(),integer(),integer(),integer(),enum(),integer(),offset()|mem()) -> ok. compressedTexSubImage2D(Target,Level,Xoffset,Yoffset,Width,Height,Format,ImageSize,Data) when is_integer(Data) -> - wxe_util:cast(5368, <<Target:?GLenum,Level:?GLint,Xoffset:?GLint,Yoffset:?GLint,Width:?GLsizei,Height:?GLsizei,Format:?GLenum,ImageSize:?GLsizei,Data:?GLuint>>); + cast(5368, <<Target:?GLenum,Level:?GLint,Xoffset:?GLint,Yoffset:?GLint,Width:?GLsizei,Height:?GLsizei,Format:?GLenum,ImageSize:?GLsizei,Data:?GLuint>>); compressedTexSubImage2D(Target,Level,Xoffset,Yoffset,Width,Height,Format,ImageSize,Data) -> - wxe_util:send_bin(Data), - wxe_util:cast(5369, <<Target:?GLenum,Level:?GLint,Xoffset:?GLint,Yoffset:?GLint,Width:?GLsizei,Height:?GLsizei,Format:?GLenum,ImageSize:?GLsizei>>). + send_bin(Data), + cast(5369, <<Target:?GLenum,Level:?GLint,Xoffset:?GLint,Yoffset:?GLint,Width:?GLsizei,Height:?GLsizei,Format:?GLenum,ImageSize:?GLsizei>>). -%% @spec (Target::enum(),Level::integer(),Xoffset::integer(),Width::integer(),Format::enum(),ImageSize::integer(),Data::offset()|binary()) -> ok +%% @spec (Target::enum(),Level::integer(),Xoffset::integer(),Width::integer(),Format::enum(),ImageSize::integer(),Data::offset()|mem()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCompressedTexSubImage1D.xml">external</a> documentation. +-spec compressedTexSubImage1D(enum(),integer(),integer(),integer(),enum(),integer(),offset()|mem()) -> ok. compressedTexSubImage1D(Target,Level,Xoffset,Width,Format,ImageSize,Data) when is_integer(Data) -> - wxe_util:cast(5370, <<Target:?GLenum,Level:?GLint,Xoffset:?GLint,Width:?GLsizei,Format:?GLenum,ImageSize:?GLsizei,Data:?GLuint>>); + cast(5370, <<Target:?GLenum,Level:?GLint,Xoffset:?GLint,Width:?GLsizei,Format:?GLenum,ImageSize:?GLsizei,Data:?GLuint>>); compressedTexSubImage1D(Target,Level,Xoffset,Width,Format,ImageSize,Data) -> - wxe_util:send_bin(Data), - wxe_util:cast(5371, <<Target:?GLenum,Level:?GLint,Xoffset:?GLint,Width:?GLsizei,Format:?GLenum,ImageSize:?GLsizei>>). + send_bin(Data), + cast(5371, <<Target:?GLenum,Level:?GLint,Xoffset:?GLint,Width:?GLsizei,Format:?GLenum,ImageSize:?GLsizei>>). -%% @spec (Target::enum(),Level::integer(),Img::wx:wx_mem()) -> ok +%% @spec (Target::enum(),Level::integer(),Img::mem()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetCompressedTexImage.xml">external</a> documentation. +-spec getCompressedTexImage(enum(),integer(),mem()) -> ok. getCompressedTexImage(Target,Level,Img) -> - wxe_util:send_bin(Img#wx_mem.bin), - wxe_util:call(5372, <<Target:?GLenum,Level:?GLint>>). + send_bin(Img), + call(5372, <<Target:?GLenum,Level:?GLint>>). %% @spec (Texture::enum()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glClientActiveTexture.xml">external</a> documentation. +-spec clientActiveTexture(enum()) -> ok. clientActiveTexture(Texture) -> - wxe_util:cast(5373, <<Texture:?GLenum>>). + cast(5373, <<Texture:?GLenum>>). %% @spec (Target::enum(),S::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMultiTexCoord.xml">external</a> documentation. +-spec multiTexCoord1d(enum(),float()) -> ok. multiTexCoord1d(Target,S) -> - wxe_util:cast(5374, <<Target:?GLenum,0:32,S:?GLdouble>>). + cast(5374, <<Target:?GLenum,0:32,S:?GLdouble>>). %% @spec (Target,{S}) -> ok %% @equiv multiTexCoord1d(Target,S) +-spec multiTexCoord1dv(enum(),{float()}) -> ok. multiTexCoord1dv(Target,{S}) -> multiTexCoord1d(Target,S). %% @spec (Target::enum(),S::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMultiTexCoord.xml">external</a> documentation. +-spec multiTexCoord1f(enum(),float()) -> ok. multiTexCoord1f(Target,S) -> - wxe_util:cast(5375, <<Target:?GLenum,S:?GLfloat>>). + cast(5375, <<Target:?GLenum,S:?GLfloat>>). %% @spec (Target,{S}) -> ok %% @equiv multiTexCoord1f(Target,S) +-spec multiTexCoord1fv(enum(),{float()}) -> ok. multiTexCoord1fv(Target,{S}) -> multiTexCoord1f(Target,S). %% @spec (Target::enum(),S::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMultiTexCoord.xml">external</a> documentation. +-spec multiTexCoord1i(enum(),integer()) -> ok. multiTexCoord1i(Target,S) -> - wxe_util:cast(5376, <<Target:?GLenum,S:?GLint>>). + cast(5376, <<Target:?GLenum,S:?GLint>>). %% @spec (Target,{S}) -> ok %% @equiv multiTexCoord1i(Target,S) +-spec multiTexCoord1iv(enum(),{integer()}) -> ok. multiTexCoord1iv(Target,{S}) -> multiTexCoord1i(Target,S). %% @spec (Target::enum(),S::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMultiTexCoord.xml">external</a> documentation. +-spec multiTexCoord1s(enum(),integer()) -> ok. multiTexCoord1s(Target,S) -> - wxe_util:cast(5377, <<Target:?GLenum,S:?GLshort>>). + cast(5377, <<Target:?GLenum,S:?GLshort>>). %% @spec (Target,{S}) -> ok %% @equiv multiTexCoord1s(Target,S) +-spec multiTexCoord1sv(enum(),{integer()}) -> ok. multiTexCoord1sv(Target,{S}) -> multiTexCoord1s(Target,S). %% @spec (Target::enum(),S::float(),T::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMultiTexCoord.xml">external</a> documentation. +-spec multiTexCoord2d(enum(),float(),float()) -> ok. multiTexCoord2d(Target,S,T) -> - wxe_util:cast(5378, <<Target:?GLenum,0:32,S:?GLdouble,T:?GLdouble>>). + cast(5378, <<Target:?GLenum,0:32,S:?GLdouble,T:?GLdouble>>). %% @spec (Target,{S,T}) -> ok %% @equiv multiTexCoord2d(Target,S,T) +-spec multiTexCoord2dv(enum(),{float(),float()}) -> ok. multiTexCoord2dv(Target,{S,T}) -> multiTexCoord2d(Target,S,T). %% @spec (Target::enum(),S::float(),T::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMultiTexCoord.xml">external</a> documentation. +-spec multiTexCoord2f(enum(),float(),float()) -> ok. multiTexCoord2f(Target,S,T) -> - wxe_util:cast(5379, <<Target:?GLenum,S:?GLfloat,T:?GLfloat>>). + cast(5379, <<Target:?GLenum,S:?GLfloat,T:?GLfloat>>). %% @spec (Target,{S,T}) -> ok %% @equiv multiTexCoord2f(Target,S,T) +-spec multiTexCoord2fv(enum(),{float(),float()}) -> ok. multiTexCoord2fv(Target,{S,T}) -> multiTexCoord2f(Target,S,T). %% @spec (Target::enum(),S::integer(),T::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMultiTexCoord.xml">external</a> documentation. +-spec multiTexCoord2i(enum(),integer(),integer()) -> ok. multiTexCoord2i(Target,S,T) -> - wxe_util:cast(5380, <<Target:?GLenum,S:?GLint,T:?GLint>>). + cast(5380, <<Target:?GLenum,S:?GLint,T:?GLint>>). %% @spec (Target,{S,T}) -> ok %% @equiv multiTexCoord2i(Target,S,T) +-spec multiTexCoord2iv(enum(),{integer(),integer()}) -> ok. multiTexCoord2iv(Target,{S,T}) -> multiTexCoord2i(Target,S,T). %% @spec (Target::enum(),S::integer(),T::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMultiTexCoord.xml">external</a> documentation. +-spec multiTexCoord2s(enum(),integer(),integer()) -> ok. multiTexCoord2s(Target,S,T) -> - wxe_util:cast(5381, <<Target:?GLenum,S:?GLshort,T:?GLshort>>). + cast(5381, <<Target:?GLenum,S:?GLshort,T:?GLshort>>). %% @spec (Target,{S,T}) -> ok %% @equiv multiTexCoord2s(Target,S,T) +-spec multiTexCoord2sv(enum(),{integer(),integer()}) -> ok. multiTexCoord2sv(Target,{S,T}) -> multiTexCoord2s(Target,S,T). %% @spec (Target::enum(),S::float(),T::float(),R::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMultiTexCoord.xml">external</a> documentation. +-spec multiTexCoord3d(enum(),float(),float(),float()) -> ok. multiTexCoord3d(Target,S,T,R) -> - wxe_util:cast(5382, <<Target:?GLenum,0:32,S:?GLdouble,T:?GLdouble,R:?GLdouble>>). + cast(5382, <<Target:?GLenum,0:32,S:?GLdouble,T:?GLdouble,R:?GLdouble>>). %% @spec (Target,{S,T,R}) -> ok %% @equiv multiTexCoord3d(Target,S,T,R) +-spec multiTexCoord3dv(enum(),{float(),float(),float()}) -> ok. multiTexCoord3dv(Target,{S,T,R}) -> multiTexCoord3d(Target,S,T,R). %% @spec (Target::enum(),S::float(),T::float(),R::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMultiTexCoord.xml">external</a> documentation. +-spec multiTexCoord3f(enum(),float(),float(),float()) -> ok. multiTexCoord3f(Target,S,T,R) -> - wxe_util:cast(5383, <<Target:?GLenum,S:?GLfloat,T:?GLfloat,R:?GLfloat>>). + cast(5383, <<Target:?GLenum,S:?GLfloat,T:?GLfloat,R:?GLfloat>>). %% @spec (Target,{S,T,R}) -> ok %% @equiv multiTexCoord3f(Target,S,T,R) +-spec multiTexCoord3fv(enum(),{float(),float(),float()}) -> ok. multiTexCoord3fv(Target,{S,T,R}) -> multiTexCoord3f(Target,S,T,R). %% @spec (Target::enum(),S::integer(),T::integer(),R::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMultiTexCoord.xml">external</a> documentation. +-spec multiTexCoord3i(enum(),integer(),integer(),integer()) -> ok. multiTexCoord3i(Target,S,T,R) -> - wxe_util:cast(5384, <<Target:?GLenum,S:?GLint,T:?GLint,R:?GLint>>). + cast(5384, <<Target:?GLenum,S:?GLint,T:?GLint,R:?GLint>>). %% @spec (Target,{S,T,R}) -> ok %% @equiv multiTexCoord3i(Target,S,T,R) +-spec multiTexCoord3iv(enum(),{integer(),integer(),integer()}) -> ok. multiTexCoord3iv(Target,{S,T,R}) -> multiTexCoord3i(Target,S,T,R). %% @spec (Target::enum(),S::integer(),T::integer(),R::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMultiTexCoord.xml">external</a> documentation. +-spec multiTexCoord3s(enum(),integer(),integer(),integer()) -> ok. multiTexCoord3s(Target,S,T,R) -> - wxe_util:cast(5385, <<Target:?GLenum,S:?GLshort,T:?GLshort,R:?GLshort>>). + cast(5385, <<Target:?GLenum,S:?GLshort,T:?GLshort,R:?GLshort>>). %% @spec (Target,{S,T,R}) -> ok %% @equiv multiTexCoord3s(Target,S,T,R) +-spec multiTexCoord3sv(enum(),{integer(),integer(),integer()}) -> ok. multiTexCoord3sv(Target,{S,T,R}) -> multiTexCoord3s(Target,S,T,R). %% @spec (Target::enum(),S::float(),T::float(),R::float(),Q::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMultiTexCoord.xml">external</a> documentation. +-spec multiTexCoord4d(enum(),float(),float(),float(),float()) -> ok. multiTexCoord4d(Target,S,T,R,Q) -> - wxe_util:cast(5386, <<Target:?GLenum,0:32,S:?GLdouble,T:?GLdouble,R:?GLdouble,Q:?GLdouble>>). + cast(5386, <<Target:?GLenum,0:32,S:?GLdouble,T:?GLdouble,R:?GLdouble,Q:?GLdouble>>). %% @spec (Target,{S,T,R,Q}) -> ok %% @equiv multiTexCoord4d(Target,S,T,R,Q) +-spec multiTexCoord4dv(enum(),{float(),float(),float(),float()}) -> ok. multiTexCoord4dv(Target,{S,T,R,Q}) -> multiTexCoord4d(Target,S,T,R,Q). %% @spec (Target::enum(),S::float(),T::float(),R::float(),Q::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMultiTexCoord.xml">external</a> documentation. +-spec multiTexCoord4f(enum(),float(),float(),float(),float()) -> ok. multiTexCoord4f(Target,S,T,R,Q) -> - wxe_util:cast(5387, <<Target:?GLenum,S:?GLfloat,T:?GLfloat,R:?GLfloat,Q:?GLfloat>>). + cast(5387, <<Target:?GLenum,S:?GLfloat,T:?GLfloat,R:?GLfloat,Q:?GLfloat>>). %% @spec (Target,{S,T,R,Q}) -> ok %% @equiv multiTexCoord4f(Target,S,T,R,Q) +-spec multiTexCoord4fv(enum(),{float(),float(),float(),float()}) -> ok. multiTexCoord4fv(Target,{S,T,R,Q}) -> multiTexCoord4f(Target,S,T,R,Q). %% @spec (Target::enum(),S::integer(),T::integer(),R::integer(),Q::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMultiTexCoord.xml">external</a> documentation. +-spec multiTexCoord4i(enum(),integer(),integer(),integer(),integer()) -> ok. multiTexCoord4i(Target,S,T,R,Q) -> - wxe_util:cast(5388, <<Target:?GLenum,S:?GLint,T:?GLint,R:?GLint,Q:?GLint>>). + cast(5388, <<Target:?GLenum,S:?GLint,T:?GLint,R:?GLint,Q:?GLint>>). %% @spec (Target,{S,T,R,Q}) -> ok %% @equiv multiTexCoord4i(Target,S,T,R,Q) +-spec multiTexCoord4iv(enum(),{integer(),integer(),integer(),integer()}) -> ok. multiTexCoord4iv(Target,{S,T,R,Q}) -> multiTexCoord4i(Target,S,T,R,Q). %% @spec (Target::enum(),S::integer(),T::integer(),R::integer(),Q::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMultiTexCoord.xml">external</a> documentation. +-spec multiTexCoord4s(enum(),integer(),integer(),integer(),integer()) -> ok. multiTexCoord4s(Target,S,T,R,Q) -> - wxe_util:cast(5389, <<Target:?GLenum,S:?GLshort,T:?GLshort,R:?GLshort,Q:?GLshort>>). + cast(5389, <<Target:?GLenum,S:?GLshort,T:?GLshort,R:?GLshort,Q:?GLshort>>). %% @spec (Target,{S,T,R,Q}) -> ok %% @equiv multiTexCoord4s(Target,S,T,R,Q) +-spec multiTexCoord4sv(enum(),{integer(),integer(),integer(),integer()}) -> ok. multiTexCoord4sv(Target,{S,T,R,Q}) -> multiTexCoord4s(Target,S,T,R,Q). -%% @spec (M::{float()}) -> ok +%% @spec (M::{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glLoadTransposeMatrix.xml">external</a> documentation. +-spec loadTransposeMatrixf({float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}) -> ok. loadTransposeMatrixf({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12,M13,M14,M15,M16}) -> - wxe_util:cast(5390, <<M1:?GLfloat,M2:?GLfloat,M3:?GLfloat,M4:?GLfloat,M5:?GLfloat,M6:?GLfloat,M7:?GLfloat,M8:?GLfloat,M9:?GLfloat,M10:?GLfloat,M11:?GLfloat,M12:?GLfloat,M13:?GLfloat,M14:?GLfloat,M15:?GLfloat,M16:?GLfloat>>); + cast(5390, <<M1:?GLfloat,M2:?GLfloat,M3:?GLfloat,M4:?GLfloat,M5:?GLfloat,M6:?GLfloat,M7:?GLfloat,M8:?GLfloat,M9:?GLfloat,M10:?GLfloat,M11:?GLfloat,M12:?GLfloat,M13:?GLfloat,M14:?GLfloat,M15:?GLfloat,M16:?GLfloat>>); loadTransposeMatrixf({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12}) -> - wxe_util:cast(5390, <<M1:?GLfloat,M2:?GLfloat,M3:?GLfloat,0:?GLfloat,M4:?GLfloat,M5:?GLfloat,M6:?GLfloat,0:?GLfloat,M7:?GLfloat,M8:?GLfloat,M9:?GLfloat,0:?GLfloat,M10:?GLfloat,M11:?GLfloat,M12:?GLfloat,1:?GLfloat>>). + cast(5390, <<M1:?GLfloat,M2:?GLfloat,M3:?GLfloat,0:?GLfloat,M4:?GLfloat,M5:?GLfloat,M6:?GLfloat,0:?GLfloat,M7:?GLfloat,M8:?GLfloat,M9:?GLfloat,0:?GLfloat,M10:?GLfloat,M11:?GLfloat,M12:?GLfloat,1:?GLfloat>>). -%% @spec (M::{float()}) -> ok +%% @spec (M::{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glLoadTransposeMatrix.xml">external</a> documentation. +-spec loadTransposeMatrixd({float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}) -> ok. loadTransposeMatrixd({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12,M13,M14,M15,M16}) -> - wxe_util:cast(5391, <<M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,M13:?GLdouble,M14:?GLdouble,M15:?GLdouble,M16:?GLdouble>>); + cast(5391, <<M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,M13:?GLdouble,M14:?GLdouble,M15:?GLdouble,M16:?GLdouble>>); loadTransposeMatrixd({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12}) -> - wxe_util:cast(5391, <<M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,0:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,0:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,0:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,1:?GLdouble>>). + cast(5391, <<M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,0:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,0:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,0:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,1:?GLdouble>>). -%% @spec (M::{float()}) -> ok +%% @spec (M::{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMultTransposeMatrix.xml">external</a> documentation. +-spec multTransposeMatrixf({float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}) -> ok. multTransposeMatrixf({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12,M13,M14,M15,M16}) -> - wxe_util:cast(5392, <<M1:?GLfloat,M2:?GLfloat,M3:?GLfloat,M4:?GLfloat,M5:?GLfloat,M6:?GLfloat,M7:?GLfloat,M8:?GLfloat,M9:?GLfloat,M10:?GLfloat,M11:?GLfloat,M12:?GLfloat,M13:?GLfloat,M14:?GLfloat,M15:?GLfloat,M16:?GLfloat>>); + cast(5392, <<M1:?GLfloat,M2:?GLfloat,M3:?GLfloat,M4:?GLfloat,M5:?GLfloat,M6:?GLfloat,M7:?GLfloat,M8:?GLfloat,M9:?GLfloat,M10:?GLfloat,M11:?GLfloat,M12:?GLfloat,M13:?GLfloat,M14:?GLfloat,M15:?GLfloat,M16:?GLfloat>>); multTransposeMatrixf({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12}) -> - wxe_util:cast(5392, <<M1:?GLfloat,M2:?GLfloat,M3:?GLfloat,0:?GLfloat,M4:?GLfloat,M5:?GLfloat,M6:?GLfloat,0:?GLfloat,M7:?GLfloat,M8:?GLfloat,M9:?GLfloat,0:?GLfloat,M10:?GLfloat,M11:?GLfloat,M12:?GLfloat,1:?GLfloat>>). + cast(5392, <<M1:?GLfloat,M2:?GLfloat,M3:?GLfloat,0:?GLfloat,M4:?GLfloat,M5:?GLfloat,M6:?GLfloat,0:?GLfloat,M7:?GLfloat,M8:?GLfloat,M9:?GLfloat,0:?GLfloat,M10:?GLfloat,M11:?GLfloat,M12:?GLfloat,1:?GLfloat>>). -%% @spec (M::{float()}) -> ok +%% @spec (M::{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMultTransposeMatrix.xml">external</a> documentation. +-spec multTransposeMatrixd({float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}) -> ok. multTransposeMatrixd({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12,M13,M14,M15,M16}) -> - wxe_util:cast(5393, <<M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,M13:?GLdouble,M14:?GLdouble,M15:?GLdouble,M16:?GLdouble>>); + cast(5393, <<M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,M13:?GLdouble,M14:?GLdouble,M15:?GLdouble,M16:?GLdouble>>); multTransposeMatrixd({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12}) -> - wxe_util:cast(5393, <<M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,0:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,0:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,0:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,1:?GLdouble>>). + cast(5393, <<M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,0:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,0:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,0:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,1:?GLdouble>>). %% @spec (SfactorRGB::enum(),DfactorRGB::enum(),SfactorAlpha::enum(),DfactorAlpha::enum()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBlendFuncSeparate.xml">external</a> documentation. +-spec blendFuncSeparate(enum(),enum(),enum(),enum()) -> ok. blendFuncSeparate(SfactorRGB,DfactorRGB,SfactorAlpha,DfactorAlpha) -> - wxe_util:cast(5394, <<SfactorRGB:?GLenum,DfactorRGB:?GLenum,SfactorAlpha:?GLenum,DfactorAlpha:?GLenum>>). + cast(5394, <<SfactorRGB:?GLenum,DfactorRGB:?GLenum,SfactorAlpha:?GLenum,DfactorAlpha:?GLenum>>). %% @spec (Mode::enum(),First::[integer()],Count::[integer()]) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMultiDrawArrays.xml">external</a> documentation. +-spec multiDrawArrays(enum(),[integer()],[integer()]) -> ok. multiDrawArrays(Mode,First,Count) -> - wxe_util:cast(5395, <<Mode:?GLenum,(length(First)):?GLuint, + cast(5395, <<Mode:?GLenum,(length(First)):?GLuint, (<< <<C:?GLint>> || C <- First>>)/binary,0:(((length(First)) rem 2)*32),(length(Count)):?GLuint, (<< <<C:?GLsizei>> || C <- Count>>)/binary,0:(((1+length(Count)) rem 2)*32)>>). %% @spec (Pname::enum(),Param::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPointParameter.xml">external</a> documentation. +-spec pointParameterf(enum(),float()) -> ok. pointParameterf(Pname,Param) -> - wxe_util:cast(5396, <<Pname:?GLenum,Param:?GLfloat>>). + cast(5396, <<Pname:?GLenum,Param:?GLfloat>>). %% @spec (Pname::enum(),Params::{float()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPointParameter.xml">external</a> documentation. +-spec pointParameterfv(enum(),{float()}) -> ok. pointParameterfv(Pname,Params) -> - wxe_util:cast(5397, <<Pname:?GLenum,(size(Params)):?GLuint, + cast(5397, <<Pname:?GLenum,(size(Params)):?GLuint, (<< <<C:?GLfloat>> ||C <- tuple_to_list(Params)>>)/binary,0:(((0+size(Params)) rem 2)*32)>>). %% @spec (Pname::enum(),Param::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPointParameter.xml">external</a> documentation. +-spec pointParameteri(enum(),integer()) -> ok. pointParameteri(Pname,Param) -> - wxe_util:cast(5398, <<Pname:?GLenum,Param:?GLint>>). + cast(5398, <<Pname:?GLenum,Param:?GLint>>). %% @spec (Pname::enum(),Params::{integer()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPointParameter.xml">external</a> documentation. +-spec pointParameteriv(enum(),{integer()}) -> ok. pointParameteriv(Pname,Params) -> - wxe_util:cast(5399, <<Pname:?GLenum,(size(Params)):?GLuint, + cast(5399, <<Pname:?GLenum,(size(Params)):?GLuint, (<< <<C:?GLint>> ||C <- tuple_to_list(Params)>>)/binary,0:(((0+size(Params)) rem 2)*32)>>). %% @spec (Coord::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glFogCoord.xml">external</a> documentation. +-spec fogCoordf(float()) -> ok. fogCoordf(Coord) -> - wxe_util:cast(5400, <<Coord:?GLfloat>>). + cast(5400, <<Coord:?GLfloat>>). %% @spec ({Coord}) -> ok %% @equiv fogCoordf(Coord) +-spec fogCoordfv({float()}) -> ok. fogCoordfv({Coord}) -> fogCoordf(Coord). %% @spec (Coord::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glFogCoord.xml">external</a> documentation. +-spec fogCoordd(float()) -> ok. fogCoordd(Coord) -> - wxe_util:cast(5401, <<Coord:?GLdouble>>). + cast(5401, <<Coord:?GLdouble>>). %% @spec ({Coord}) -> ok %% @equiv fogCoordd(Coord) +-spec fogCoorddv({float()}) -> ok. fogCoorddv({Coord}) -> fogCoordd(Coord). -%% @spec (Type::enum(),Stride::integer(),Pointer::offset()|binary()) -> ok +%% @spec (Type::enum(),Stride::integer(),Pointer::offset()|mem()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glFogCoordPointer.xml">external</a> documentation. +-spec fogCoordPointer(enum(),integer(),offset()|mem()) -> ok. fogCoordPointer(Type,Stride,Pointer) when is_integer(Pointer) -> - wxe_util:cast(5402, <<Type:?GLenum,Stride:?GLsizei,Pointer:?GLuint>>); + cast(5402, <<Type:?GLenum,Stride:?GLsizei,Pointer:?GLuint>>); fogCoordPointer(Type,Stride,Pointer) -> - wxe_util:send_bin(Pointer), - wxe_util:cast(5403, <<Type:?GLenum,Stride:?GLsizei>>). + send_bin(Pointer), + cast(5403, <<Type:?GLenum,Stride:?GLsizei>>). %% @spec (Red::integer(),Green::integer(),Blue::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glSecondaryColor.xml">external</a> documentation. +-spec secondaryColor3b(integer(),integer(),integer()) -> ok. secondaryColor3b(Red,Green,Blue) -> - wxe_util:cast(5404, <<Red:?GLbyte,Green:?GLbyte,Blue:?GLbyte>>). + cast(5404, <<Red:?GLbyte,Green:?GLbyte,Blue:?GLbyte>>). %% @spec ({Red,Green,Blue}) -> ok %% @equiv secondaryColor3b(Red,Green,Blue) +-spec secondaryColor3bv({integer(),integer(),integer()}) -> ok. secondaryColor3bv({Red,Green,Blue}) -> secondaryColor3b(Red,Green,Blue). %% @spec (Red::float(),Green::float(),Blue::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glSecondaryColor.xml">external</a> documentation. +-spec secondaryColor3d(float(),float(),float()) -> ok. secondaryColor3d(Red,Green,Blue) -> - wxe_util:cast(5405, <<Red:?GLdouble,Green:?GLdouble,Blue:?GLdouble>>). + cast(5405, <<Red:?GLdouble,Green:?GLdouble,Blue:?GLdouble>>). %% @spec ({Red,Green,Blue}) -> ok %% @equiv secondaryColor3d(Red,Green,Blue) +-spec secondaryColor3dv({float(),float(),float()}) -> ok. secondaryColor3dv({Red,Green,Blue}) -> secondaryColor3d(Red,Green,Blue). %% @spec (Red::float(),Green::float(),Blue::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glSecondaryColor.xml">external</a> documentation. +-spec secondaryColor3f(float(),float(),float()) -> ok. secondaryColor3f(Red,Green,Blue) -> - wxe_util:cast(5406, <<Red:?GLfloat,Green:?GLfloat,Blue:?GLfloat>>). + cast(5406, <<Red:?GLfloat,Green:?GLfloat,Blue:?GLfloat>>). %% @spec ({Red,Green,Blue}) -> ok %% @equiv secondaryColor3f(Red,Green,Blue) +-spec secondaryColor3fv({float(),float(),float()}) -> ok. secondaryColor3fv({Red,Green,Blue}) -> secondaryColor3f(Red,Green,Blue). %% @spec (Red::integer(),Green::integer(),Blue::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glSecondaryColor.xml">external</a> documentation. +-spec secondaryColor3i(integer(),integer(),integer()) -> ok. secondaryColor3i(Red,Green,Blue) -> - wxe_util:cast(5407, <<Red:?GLint,Green:?GLint,Blue:?GLint>>). + cast(5407, <<Red:?GLint,Green:?GLint,Blue:?GLint>>). %% @spec ({Red,Green,Blue}) -> ok %% @equiv secondaryColor3i(Red,Green,Blue) +-spec secondaryColor3iv({integer(),integer(),integer()}) -> ok. secondaryColor3iv({Red,Green,Blue}) -> secondaryColor3i(Red,Green,Blue). %% @spec (Red::integer(),Green::integer(),Blue::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glSecondaryColor.xml">external</a> documentation. +-spec secondaryColor3s(integer(),integer(),integer()) -> ok. secondaryColor3s(Red,Green,Blue) -> - wxe_util:cast(5408, <<Red:?GLshort,Green:?GLshort,Blue:?GLshort>>). + cast(5408, <<Red:?GLshort,Green:?GLshort,Blue:?GLshort>>). %% @spec ({Red,Green,Blue}) -> ok %% @equiv secondaryColor3s(Red,Green,Blue) +-spec secondaryColor3sv({integer(),integer(),integer()}) -> ok. secondaryColor3sv({Red,Green,Blue}) -> secondaryColor3s(Red,Green,Blue). %% @spec (Red::integer(),Green::integer(),Blue::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glSecondaryColor.xml">external</a> documentation. +-spec secondaryColor3ub(integer(),integer(),integer()) -> ok. secondaryColor3ub(Red,Green,Blue) -> - wxe_util:cast(5409, <<Red:?GLubyte,Green:?GLubyte,Blue:?GLubyte>>). + cast(5409, <<Red:?GLubyte,Green:?GLubyte,Blue:?GLubyte>>). %% @spec ({Red,Green,Blue}) -> ok %% @equiv secondaryColor3ub(Red,Green,Blue) +-spec secondaryColor3ubv({integer(),integer(),integer()}) -> ok. secondaryColor3ubv({Red,Green,Blue}) -> secondaryColor3ub(Red,Green,Blue). %% @spec (Red::integer(),Green::integer(),Blue::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glSecondaryColor.xml">external</a> documentation. +-spec secondaryColor3ui(integer(),integer(),integer()) -> ok. secondaryColor3ui(Red,Green,Blue) -> - wxe_util:cast(5410, <<Red:?GLuint,Green:?GLuint,Blue:?GLuint>>). + cast(5410, <<Red:?GLuint,Green:?GLuint,Blue:?GLuint>>). %% @spec ({Red,Green,Blue}) -> ok %% @equiv secondaryColor3ui(Red,Green,Blue) +-spec secondaryColor3uiv({integer(),integer(),integer()}) -> ok. secondaryColor3uiv({Red,Green,Blue}) -> secondaryColor3ui(Red,Green,Blue). %% @spec (Red::integer(),Green::integer(),Blue::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glSecondaryColor.xml">external</a> documentation. +-spec secondaryColor3us(integer(),integer(),integer()) -> ok. secondaryColor3us(Red,Green,Blue) -> - wxe_util:cast(5411, <<Red:?GLushort,Green:?GLushort,Blue:?GLushort>>). + cast(5411, <<Red:?GLushort,Green:?GLushort,Blue:?GLushort>>). %% @spec ({Red,Green,Blue}) -> ok %% @equiv secondaryColor3us(Red,Green,Blue) +-spec secondaryColor3usv({integer(),integer(),integer()}) -> ok. secondaryColor3usv({Red,Green,Blue}) -> secondaryColor3us(Red,Green,Blue). -%% @spec (Size::integer(),Type::enum(),Stride::integer(),Pointer::offset()|binary()) -> ok +%% @spec (Size::integer(),Type::enum(),Stride::integer(),Pointer::offset()|mem()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glSecondaryColorPointer.xml">external</a> documentation. +-spec secondaryColorPointer(integer(),enum(),integer(),offset()|mem()) -> ok. secondaryColorPointer(Size,Type,Stride,Pointer) when is_integer(Pointer) -> - wxe_util:cast(5412, <<Size:?GLint,Type:?GLenum,Stride:?GLsizei,Pointer:?GLuint>>); + cast(5412, <<Size:?GLint,Type:?GLenum,Stride:?GLsizei,Pointer:?GLuint>>); secondaryColorPointer(Size,Type,Stride,Pointer) -> - wxe_util:send_bin(Pointer), - wxe_util:cast(5413, <<Size:?GLint,Type:?GLenum,Stride:?GLsizei>>). + send_bin(Pointer), + cast(5413, <<Size:?GLint,Type:?GLenum,Stride:?GLsizei>>). %% @spec (X::float(),Y::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glWindowPos.xml">external</a> documentation. +-spec windowPos2d(float(),float()) -> ok. windowPos2d(X,Y) -> - wxe_util:cast(5414, <<X:?GLdouble,Y:?GLdouble>>). + cast(5414, <<X:?GLdouble,Y:?GLdouble>>). %% @spec ({X,Y}) -> ok %% @equiv windowPos2d(X,Y) +-spec windowPos2dv({float(),float()}) -> ok. windowPos2dv({X,Y}) -> windowPos2d(X,Y). %% @spec (X::float(),Y::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glWindowPos.xml">external</a> documentation. +-spec windowPos2f(float(),float()) -> ok. windowPos2f(X,Y) -> - wxe_util:cast(5415, <<X:?GLfloat,Y:?GLfloat>>). + cast(5415, <<X:?GLfloat,Y:?GLfloat>>). %% @spec ({X,Y}) -> ok %% @equiv windowPos2f(X,Y) +-spec windowPos2fv({float(),float()}) -> ok. windowPos2fv({X,Y}) -> windowPos2f(X,Y). %% @spec (X::integer(),Y::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glWindowPos.xml">external</a> documentation. +-spec windowPos2i(integer(),integer()) -> ok. windowPos2i(X,Y) -> - wxe_util:cast(5416, <<X:?GLint,Y:?GLint>>). + cast(5416, <<X:?GLint,Y:?GLint>>). %% @spec ({X,Y}) -> ok %% @equiv windowPos2i(X,Y) +-spec windowPos2iv({integer(),integer()}) -> ok. windowPos2iv({X,Y}) -> windowPos2i(X,Y). %% @spec (X::integer(),Y::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glWindowPos.xml">external</a> documentation. +-spec windowPos2s(integer(),integer()) -> ok. windowPos2s(X,Y) -> - wxe_util:cast(5417, <<X:?GLshort,Y:?GLshort>>). + cast(5417, <<X:?GLshort,Y:?GLshort>>). %% @spec ({X,Y}) -> ok %% @equiv windowPos2s(X,Y) +-spec windowPos2sv({integer(),integer()}) -> ok. windowPos2sv({X,Y}) -> windowPos2s(X,Y). %% @spec (X::float(),Y::float(),Z::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glWindowPos.xml">external</a> documentation. +-spec windowPos3d(float(),float(),float()) -> ok. windowPos3d(X,Y,Z) -> - wxe_util:cast(5418, <<X:?GLdouble,Y:?GLdouble,Z:?GLdouble>>). + cast(5418, <<X:?GLdouble,Y:?GLdouble,Z:?GLdouble>>). %% @spec ({X,Y,Z}) -> ok %% @equiv windowPos3d(X,Y,Z) +-spec windowPos3dv({float(),float(),float()}) -> ok. windowPos3dv({X,Y,Z}) -> windowPos3d(X,Y,Z). %% @spec (X::float(),Y::float(),Z::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glWindowPos.xml">external</a> documentation. +-spec windowPos3f(float(),float(),float()) -> ok. windowPos3f(X,Y,Z) -> - wxe_util:cast(5419, <<X:?GLfloat,Y:?GLfloat,Z:?GLfloat>>). + cast(5419, <<X:?GLfloat,Y:?GLfloat,Z:?GLfloat>>). %% @spec ({X,Y,Z}) -> ok %% @equiv windowPos3f(X,Y,Z) +-spec windowPos3fv({float(),float(),float()}) -> ok. windowPos3fv({X,Y,Z}) -> windowPos3f(X,Y,Z). %% @spec (X::integer(),Y::integer(),Z::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glWindowPos.xml">external</a> documentation. +-spec windowPos3i(integer(),integer(),integer()) -> ok. windowPos3i(X,Y,Z) -> - wxe_util:cast(5420, <<X:?GLint,Y:?GLint,Z:?GLint>>). + cast(5420, <<X:?GLint,Y:?GLint,Z:?GLint>>). %% @spec ({X,Y,Z}) -> ok %% @equiv windowPos3i(X,Y,Z) +-spec windowPos3iv({integer(),integer(),integer()}) -> ok. windowPos3iv({X,Y,Z}) -> windowPos3i(X,Y,Z). %% @spec (X::integer(),Y::integer(),Z::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glWindowPos.xml">external</a> documentation. +-spec windowPos3s(integer(),integer(),integer()) -> ok. windowPos3s(X,Y,Z) -> - wxe_util:cast(5421, <<X:?GLshort,Y:?GLshort,Z:?GLshort>>). + cast(5421, <<X:?GLshort,Y:?GLshort,Z:?GLshort>>). %% @spec ({X,Y,Z}) -> ok %% @equiv windowPos3s(X,Y,Z) +-spec windowPos3sv({integer(),integer(),integer()}) -> ok. windowPos3sv({X,Y,Z}) -> windowPos3s(X,Y,Z). %% @spec (N::integer()) -> [integer()] %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGenQueries.xml">external</a> documentation. +-spec genQueries(integer()) -> [integer()]. genQueries(N) -> - wxe_util:call(5422, <<N:?GLsizei>>). + call(5422, <<N:?GLsizei>>). %% @spec (Ids::[integer()]) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDeleteQueries.xml">external</a> documentation. +-spec deleteQueries([integer()]) -> ok. deleteQueries(Ids) -> - wxe_util:cast(5423, <<(length(Ids)):?GLuint, + cast(5423, <<(length(Ids)):?GLuint, (<< <<C:?GLuint>> || C <- Ids>>)/binary,0:(((1+length(Ids)) rem 2)*32)>>). %% @spec (Id::integer()) -> 0|1 %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glIsQuery.xml">external</a> documentation. +-spec isQuery(integer()) -> 0|1. isQuery(Id) -> - wxe_util:call(5424, <<Id:?GLuint>>). + call(5424, <<Id:?GLuint>>). %% @spec (Target::enum(),Id::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBeginQuery.xml">external</a> documentation. +-spec beginQuery(enum(),integer()) -> ok. beginQuery(Target,Id) -> - wxe_util:cast(5425, <<Target:?GLenum,Id:?GLuint>>). + cast(5425, <<Target:?GLenum,Id:?GLuint>>). %% @spec (Target::enum()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glEndQuery.xml">external</a> documentation. +-spec endQuery(enum()) -> ok. endQuery(Target) -> - wxe_util:cast(5426, <<Target:?GLenum>>). + cast(5426, <<Target:?GLenum>>). %% @spec (Target::enum(),Pname::enum()) -> integer() %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetQuery.xml">external</a> documentation. +-spec getQueryiv(enum(),enum()) -> integer(). getQueryiv(Target,Pname) -> - wxe_util:call(5427, <<Target:?GLenum,Pname:?GLenum>>). + call(5427, <<Target:?GLenum,Pname:?GLenum>>). %% @spec (Id::integer(),Pname::enum()) -> integer() %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetQueryObject.xml">external</a> documentation. +-spec getQueryObjectiv(integer(),enum()) -> integer(). getQueryObjectiv(Id,Pname) -> - wxe_util:call(5428, <<Id:?GLuint,Pname:?GLenum>>). + call(5428, <<Id:?GLuint,Pname:?GLenum>>). %% @spec (Id::integer(),Pname::enum()) -> integer() %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetQueryObject.xml">external</a> documentation. +-spec getQueryObjectuiv(integer(),enum()) -> integer(). getQueryObjectuiv(Id,Pname) -> - wxe_util:call(5429, <<Id:?GLuint,Pname:?GLenum>>). + call(5429, <<Id:?GLuint,Pname:?GLenum>>). %% @spec (Target::enum(),Buffer::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBindBuffer.xml">external</a> documentation. +-spec bindBuffer(enum(),integer()) -> ok. bindBuffer(Target,Buffer) -> - wxe_util:cast(5430, <<Target:?GLenum,Buffer:?GLuint>>). + cast(5430, <<Target:?GLenum,Buffer:?GLuint>>). %% @spec (Buffers::[integer()]) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDeleteBuffers.xml">external</a> documentation. +-spec deleteBuffers([integer()]) -> ok. deleteBuffers(Buffers) -> - wxe_util:cast(5431, <<(length(Buffers)):?GLuint, + cast(5431, <<(length(Buffers)):?GLuint, (<< <<C:?GLuint>> || C <- Buffers>>)/binary,0:(((1+length(Buffers)) rem 2)*32)>>). %% @spec (N::integer()) -> [integer()] %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGenBuffers.xml">external</a> documentation. +-spec genBuffers(integer()) -> [integer()]. genBuffers(N) -> - wxe_util:call(5432, <<N:?GLsizei>>). + call(5432, <<N:?GLsizei>>). %% @spec (Buffer::integer()) -> 0|1 %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glIsBuffer.xml">external</a> documentation. +-spec isBuffer(integer()) -> 0|1. isBuffer(Buffer) -> - wxe_util:call(5433, <<Buffer:?GLuint>>). + call(5433, <<Buffer:?GLuint>>). -%% @spec (Target::enum(),Size::integer(),Data::offset()|binary(),Usage::enum()) -> ok +%% @spec (Target::enum(),Size::integer(),Data::offset()|mem(),Usage::enum()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBufferData.xml">external</a> documentation. +-spec bufferData(enum(),integer(),offset()|mem(),enum()) -> ok. bufferData(Target,Size,Data,Usage) when is_integer(Data) -> - wxe_util:cast(5434, <<Target:?GLenum,0:32,Size:?GLsizeiptr,Data:?GLuint,Usage:?GLenum>>); + cast(5434, <<Target:?GLenum,0:32,Size:?GLsizeiptr,Data:?GLuint,Usage:?GLenum>>); bufferData(Target,Size,Data,Usage) -> - wxe_util:send_bin(Data), - wxe_util:cast(5435, <<Target:?GLenum,0:32,Size:?GLsizeiptr,Usage:?GLenum>>). + send_bin(Data), + cast(5435, <<Target:?GLenum,0:32,Size:?GLsizeiptr,Usage:?GLenum>>). -%% @spec (Target::enum(),Offset::integer(),Size::integer(),Data::offset()|binary()) -> ok +%% @spec (Target::enum(),Offset::integer(),Size::integer(),Data::offset()|mem()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBufferSubData.xml">external</a> documentation. +-spec bufferSubData(enum(),integer(),integer(),offset()|mem()) -> ok. bufferSubData(Target,Offset,Size,Data) when is_integer(Data) -> - wxe_util:cast(5436, <<Target:?GLenum,0:32,Offset:?GLintptr,Size:?GLsizeiptr,Data:?GLuint>>); + cast(5436, <<Target:?GLenum,0:32,Offset:?GLintptr,Size:?GLsizeiptr,Data:?GLuint>>); bufferSubData(Target,Offset,Size,Data) -> - wxe_util:send_bin(Data), - wxe_util:cast(5437, <<Target:?GLenum,0:32,Offset:?GLintptr,Size:?GLsizeiptr>>). + send_bin(Data), + cast(5437, <<Target:?GLenum,0:32,Offset:?GLintptr,Size:?GLsizeiptr>>). -%% @spec (Target::enum(),Offset::integer(),Size::integer(),Data::wx:wx_mem()) -> ok +%% @spec (Target::enum(),Offset::integer(),Size::integer(),Data::mem()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetBufferSubData.xml">external</a> documentation. +-spec getBufferSubData(enum(),integer(),integer(),mem()) -> ok. getBufferSubData(Target,Offset,Size,Data) -> - wxe_util:send_bin(Data#wx_mem.bin), - wxe_util:call(5438, <<Target:?GLenum,0:32,Offset:?GLintptr,Size:?GLsizeiptr>>). + send_bin(Data), + call(5438, <<Target:?GLenum,0:32,Offset:?GLintptr,Size:?GLsizeiptr>>). %% @spec (Target::enum(),Pname::enum()) -> integer() %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetBufferParameteriv.xml">external</a> documentation. +-spec getBufferParameteriv(enum(),enum()) -> integer(). getBufferParameteriv(Target,Pname) -> - wxe_util:call(5439, <<Target:?GLenum,Pname:?GLenum>>). + call(5439, <<Target:?GLenum,Pname:?GLenum>>). %% @spec (ModeRGB::enum(),ModeAlpha::enum()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBlendEquationSeparate.xml">external</a> documentation. +-spec blendEquationSeparate(enum(),enum()) -> ok. blendEquationSeparate(ModeRGB,ModeAlpha) -> - wxe_util:cast(5440, <<ModeRGB:?GLenum,ModeAlpha:?GLenum>>). + cast(5440, <<ModeRGB:?GLenum,ModeAlpha:?GLenum>>). %% @spec (Bufs::[enum()]) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDrawBuffers.xml">external</a> documentation. +-spec drawBuffers([enum()]) -> ok. drawBuffers(Bufs) -> - wxe_util:cast(5441, <<(length(Bufs)):?GLuint, + cast(5441, <<(length(Bufs)):?GLuint, (<< <<C:?GLenum>> || C <- Bufs>>)/binary,0:(((1+length(Bufs)) rem 2)*32)>>). %% @spec (Face::enum(),Sfail::enum(),Dpfail::enum(),Dppass::enum()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glStencilOpSeparate.xml">external</a> documentation. +-spec stencilOpSeparate(enum(),enum(),enum(),enum()) -> ok. stencilOpSeparate(Face,Sfail,Dpfail,Dppass) -> - wxe_util:cast(5442, <<Face:?GLenum,Sfail:?GLenum,Dpfail:?GLenum,Dppass:?GLenum>>). + cast(5442, <<Face:?GLenum,Sfail:?GLenum,Dpfail:?GLenum,Dppass:?GLenum>>). -%% @spec (Frontfunc::enum(),Backfunc::enum(),Ref::integer(),Mask::integer()) -> ok +%% @spec (Face::enum(),Func::enum(),Ref::integer(),Mask::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glStencilFuncSeparate.xml">external</a> documentation. -stencilFuncSeparate(Frontfunc,Backfunc,Ref,Mask) -> - wxe_util:cast(5443, <<Frontfunc:?GLenum,Backfunc:?GLenum,Ref:?GLint,Mask:?GLuint>>). +-spec stencilFuncSeparate(enum(),enum(),integer(),integer()) -> ok. +stencilFuncSeparate(Face,Func,Ref,Mask) -> + cast(5443, <<Face:?GLenum,Func:?GLenum,Ref:?GLint,Mask:?GLuint>>). %% @spec (Face::enum(),Mask::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glStencilMaskSeparate.xml">external</a> documentation. +-spec stencilMaskSeparate(enum(),integer()) -> ok. stencilMaskSeparate(Face,Mask) -> - wxe_util:cast(5444, <<Face:?GLenum,Mask:?GLuint>>). + cast(5444, <<Face:?GLenum,Mask:?GLuint>>). %% @spec (Program::integer(),Shader::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glAttachShader.xml">external</a> documentation. +-spec attachShader(integer(),integer()) -> ok. attachShader(Program,Shader) -> - wxe_util:cast(5445, <<Program:?GLuint,Shader:?GLuint>>). + cast(5445, <<Program:?GLuint,Shader:?GLuint>>). %% @spec (Program::integer(),Index::integer(),Name::string()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBindAttribLocation.xml">external</a> documentation. +-spec bindAttribLocation(integer(),integer(),string()) -> ok. bindAttribLocation(Program,Index,Name) -> - wxe_util:cast(5446, <<Program:?GLuint,Index:?GLuint,(list_to_binary([Name|[0]]))/binary,0:((8-((length(Name)+ 1) rem 8)) rem 8)>>). + cast(5446, <<Program:?GLuint,Index:?GLuint,(list_to_binary([Name|[0]]))/binary,0:((8-((length(Name)+ 1) rem 8)) rem 8)>>). %% @spec (Shader::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCompileShader.xml">external</a> documentation. +-spec compileShader(integer()) -> ok. compileShader(Shader) -> - wxe_util:cast(5447, <<Shader:?GLuint>>). + cast(5447, <<Shader:?GLuint>>). %% @spec () -> integer() %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCreateProgram.xml">external</a> documentation. +-spec createProgram() -> integer(). createProgram() -> - wxe_util:call(5448, <<>>). + call(5448, <<>>). %% @spec (Type::enum()) -> integer() %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCreateShader.xml">external</a> documentation. +-spec createShader(enum()) -> integer(). createShader(Type) -> - wxe_util:call(5449, <<Type:?GLenum>>). + call(5449, <<Type:?GLenum>>). %% @spec (Program::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDeleteProgram.xml">external</a> documentation. +-spec deleteProgram(integer()) -> ok. deleteProgram(Program) -> - wxe_util:cast(5450, <<Program:?GLuint>>). + cast(5450, <<Program:?GLuint>>). %% @spec (Shader::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDeleteShader.xml">external</a> documentation. +-spec deleteShader(integer()) -> ok. deleteShader(Shader) -> - wxe_util:cast(5451, <<Shader:?GLuint>>). + cast(5451, <<Shader:?GLuint>>). %% @spec (Program::integer(),Shader::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDetachShader.xml">external</a> documentation. +-spec detachShader(integer(),integer()) -> ok. detachShader(Program,Shader) -> - wxe_util:cast(5452, <<Program:?GLuint,Shader:?GLuint>>). + cast(5452, <<Program:?GLuint,Shader:?GLuint>>). %% @spec (Index::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDisableVertexAttribArray.xml">external</a> documentation. +-spec disableVertexAttribArray(integer()) -> ok. disableVertexAttribArray(Index) -> - wxe_util:cast(5453, <<Index:?GLuint>>). + cast(5453, <<Index:?GLuint>>). %% @spec (Index::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glEnableVertexAttribArray.xml">external</a> documentation. +-spec enableVertexAttribArray(integer()) -> ok. enableVertexAttribArray(Index) -> - wxe_util:cast(5454, <<Index:?GLuint>>). + cast(5454, <<Index:?GLuint>>). %% @spec (Program::integer(),Index::integer(),BufSize::integer()) -> {Size::integer(),Type::enum(),Name::string()} %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetActiveAttrib.xml">external</a> documentation. +-spec getActiveAttrib(integer(),integer(),integer()) -> {integer(),enum(),string()}. getActiveAttrib(Program,Index,BufSize) -> - wxe_util:call(5455, <<Program:?GLuint,Index:?GLuint,BufSize:?GLsizei>>). + call(5455, <<Program:?GLuint,Index:?GLuint,BufSize:?GLsizei>>). %% @spec (Program::integer(),Index::integer(),BufSize::integer()) -> {Size::integer(),Type::enum(),Name::string()} %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetActiveUniform.xml">external</a> documentation. +-spec getActiveUniform(integer(),integer(),integer()) -> {integer(),enum(),string()}. getActiveUniform(Program,Index,BufSize) -> - wxe_util:call(5456, <<Program:?GLuint,Index:?GLuint,BufSize:?GLsizei>>). + call(5456, <<Program:?GLuint,Index:?GLuint,BufSize:?GLsizei>>). %% @spec (Program::integer(),MaxCount::integer()) -> [integer()] %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetAttachedShaders.xml">external</a> documentation. +-spec getAttachedShaders(integer(),integer()) -> [integer()]. getAttachedShaders(Program,MaxCount) -> - wxe_util:call(5457, <<Program:?GLuint,MaxCount:?GLsizei>>). + call(5457, <<Program:?GLuint,MaxCount:?GLsizei>>). %% @spec (Program::integer(),Name::string()) -> integer() %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetAttribLocation.xml">external</a> documentation. +-spec getAttribLocation(integer(),string()) -> integer(). getAttribLocation(Program,Name) -> - wxe_util:call(5458, <<Program:?GLuint,(list_to_binary([Name|[0]]))/binary,0:((8-((length(Name)+ 5) rem 8)) rem 8)>>). + call(5458, <<Program:?GLuint,(list_to_binary([Name|[0]]))/binary,0:((8-((length(Name)+ 5) rem 8)) rem 8)>>). %% @spec (Program::integer(),Pname::enum()) -> integer() %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetProgram.xml">external</a> documentation. +-spec getProgramiv(integer(),enum()) -> integer(). getProgramiv(Program,Pname) -> - wxe_util:call(5459, <<Program:?GLuint,Pname:?GLenum>>). + call(5459, <<Program:?GLuint,Pname:?GLenum>>). %% @spec (Program::integer(),BufSize::integer()) -> string() %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetProgramInfoLog.xml">external</a> documentation. +-spec getProgramInfoLog(integer(),integer()) -> string(). getProgramInfoLog(Program,BufSize) -> - wxe_util:call(5460, <<Program:?GLuint,BufSize:?GLsizei>>). + call(5460, <<Program:?GLuint,BufSize:?GLsizei>>). %% @spec (Shader::integer(),Pname::enum()) -> integer() %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetShader.xml">external</a> documentation. +-spec getShaderiv(integer(),enum()) -> integer(). getShaderiv(Shader,Pname) -> - wxe_util:call(5461, <<Shader:?GLuint,Pname:?GLenum>>). + call(5461, <<Shader:?GLuint,Pname:?GLenum>>). %% @spec (Shader::integer(),BufSize::integer()) -> string() %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetShaderInfoLog.xml">external</a> documentation. +-spec getShaderInfoLog(integer(),integer()) -> string(). getShaderInfoLog(Shader,BufSize) -> - wxe_util:call(5462, <<Shader:?GLuint,BufSize:?GLsizei>>). + call(5462, <<Shader:?GLuint,BufSize:?GLsizei>>). %% @spec (Shader::integer(),BufSize::integer()) -> string() %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetShaderSource.xml">external</a> documentation. +-spec getShaderSource(integer(),integer()) -> string(). getShaderSource(Shader,BufSize) -> - wxe_util:call(5463, <<Shader:?GLuint,BufSize:?GLsizei>>). + call(5463, <<Shader:?GLuint,BufSize:?GLsizei>>). %% @spec (Program::integer(),Name::string()) -> integer() %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetUniformLocation.xml">external</a> documentation. +-spec getUniformLocation(integer(),string()) -> integer(). getUniformLocation(Program,Name) -> - wxe_util:call(5464, <<Program:?GLuint,(list_to_binary([Name|[0]]))/binary,0:((8-((length(Name)+ 5) rem 8)) rem 8)>>). + call(5464, <<Program:?GLuint,(list_to_binary([Name|[0]]))/binary,0:((8-((length(Name)+ 5) rem 8)) rem 8)>>). -%% @spec (Program::integer(),Location::integer()) -> {float()} +%% @spec (Program::integer(),Location::integer()) -> {float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()} %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetUniform.xml">external</a> documentation. +-spec getUniformfv(integer(),integer()) -> {float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}. getUniformfv(Program,Location) -> - wxe_util:call(5465, <<Program:?GLuint,Location:?GLint>>). + call(5465, <<Program:?GLuint,Location:?GLint>>). -%% @spec (Program::integer(),Location::integer()) -> {integer()} +%% @spec (Program::integer(),Location::integer()) -> {integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer()} %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetUniform.xml">external</a> documentation. +-spec getUniformiv(integer(),integer()) -> {integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer()}. getUniformiv(Program,Location) -> - wxe_util:call(5466, <<Program:?GLuint,Location:?GLint>>). + call(5466, <<Program:?GLuint,Location:?GLint>>). -%% @spec (Index::integer(),Pname::enum()) -> {float()} +%% @spec (Index::integer(),Pname::enum()) -> {float(),float(),float(),float()} %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetVertexAttrib.xml">external</a> documentation. +-spec getVertexAttribdv(integer(),enum()) -> {float(),float(),float(),float()}. getVertexAttribdv(Index,Pname) -> - wxe_util:call(5467, <<Index:?GLuint,Pname:?GLenum>>). + call(5467, <<Index:?GLuint,Pname:?GLenum>>). -%% @spec (Index::integer(),Pname::enum()) -> {float()} +%% @spec (Index::integer(),Pname::enum()) -> {float(),float(),float(),float()} %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetVertexAttrib.xml">external</a> documentation. +-spec getVertexAttribfv(integer(),enum()) -> {float(),float(),float(),float()}. getVertexAttribfv(Index,Pname) -> - wxe_util:call(5468, <<Index:?GLuint,Pname:?GLenum>>). + call(5468, <<Index:?GLuint,Pname:?GLenum>>). -%% @spec (Index::integer(),Pname::enum()) -> {integer()} +%% @spec (Index::integer(),Pname::enum()) -> {integer(),integer(),integer(),integer()} %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetVertexAttrib.xml">external</a> documentation. +-spec getVertexAttribiv(integer(),enum()) -> {integer(),integer(),integer(),integer()}. getVertexAttribiv(Index,Pname) -> - wxe_util:call(5469, <<Index:?GLuint,Pname:?GLenum>>). + call(5469, <<Index:?GLuint,Pname:?GLenum>>). %% @spec (Program::integer()) -> 0|1 %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glIsProgram.xml">external</a> documentation. +-spec isProgram(integer()) -> 0|1. isProgram(Program) -> - wxe_util:call(5470, <<Program:?GLuint>>). + call(5470, <<Program:?GLuint>>). %% @spec (Shader::integer()) -> 0|1 %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glIsShader.xml">external</a> documentation. +-spec isShader(integer()) -> 0|1. isShader(Shader) -> - wxe_util:call(5471, <<Shader:?GLuint>>). + call(5471, <<Shader:?GLuint>>). %% @spec (Program::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glLinkProgram.xml">external</a> documentation. +-spec linkProgram(integer()) -> ok. linkProgram(Program) -> - wxe_util:cast(5472, <<Program:?GLuint>>). + cast(5472, <<Program:?GLuint>>). %% @spec (Shader::integer(),String::[string()]) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glShaderSource.xml">external</a> documentation. +-spec shaderSource(integer(),[string()]) -> ok. shaderSource(Shader,String) -> StringTemp = list_to_binary([[Str|[0]] || Str <- String ]), - wxe_util:cast(5473, <<Shader:?GLuint,(length(String)):?GLuint,(size(StringTemp)):?GLuint,(StringTemp)/binary,0:((8-((size(StringTemp)+0) rem 8)) rem 8)>>). + cast(5473, <<Shader:?GLuint,(length(String)):?GLuint,(size(StringTemp)):?GLuint,(StringTemp)/binary,0:((8-((size(StringTemp)+0) rem 8)) rem 8)>>). %% @spec (Program::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUseProgram.xml">external</a> documentation. +-spec useProgram(integer()) -> ok. useProgram(Program) -> - wxe_util:cast(5474, <<Program:?GLuint>>). + cast(5474, <<Program:?GLuint>>). %% @spec (Location::integer(),V0::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation. +-spec uniform1f(integer(),float()) -> ok. uniform1f(Location,V0) -> - wxe_util:cast(5475, <<Location:?GLint,V0:?GLfloat>>). + cast(5475, <<Location:?GLint,V0:?GLfloat>>). %% @spec (Location::integer(),V0::float(),V1::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation. +-spec uniform2f(integer(),float(),float()) -> ok. uniform2f(Location,V0,V1) -> - wxe_util:cast(5476, <<Location:?GLint,V0:?GLfloat,V1:?GLfloat>>). + cast(5476, <<Location:?GLint,V0:?GLfloat,V1:?GLfloat>>). %% @spec (Location::integer(),V0::float(),V1::float(),V2::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation. +-spec uniform3f(integer(),float(),float(),float()) -> ok. uniform3f(Location,V0,V1,V2) -> - wxe_util:cast(5477, <<Location:?GLint,V0:?GLfloat,V1:?GLfloat,V2:?GLfloat>>). + cast(5477, <<Location:?GLint,V0:?GLfloat,V1:?GLfloat,V2:?GLfloat>>). %% @spec (Location::integer(),V0::float(),V1::float(),V2::float(),V3::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation. +-spec uniform4f(integer(),float(),float(),float(),float()) -> ok. uniform4f(Location,V0,V1,V2,V3) -> - wxe_util:cast(5478, <<Location:?GLint,V0:?GLfloat,V1:?GLfloat,V2:?GLfloat,V3:?GLfloat>>). + cast(5478, <<Location:?GLint,V0:?GLfloat,V1:?GLfloat,V2:?GLfloat,V3:?GLfloat>>). %% @spec (Location::integer(),V0::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation. +-spec uniform1i(integer(),integer()) -> ok. uniform1i(Location,V0) -> - wxe_util:cast(5479, <<Location:?GLint,V0:?GLint>>). + cast(5479, <<Location:?GLint,V0:?GLint>>). %% @spec (Location::integer(),V0::integer(),V1::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation. +-spec uniform2i(integer(),integer(),integer()) -> ok. uniform2i(Location,V0,V1) -> - wxe_util:cast(5480, <<Location:?GLint,V0:?GLint,V1:?GLint>>). + cast(5480, <<Location:?GLint,V0:?GLint,V1:?GLint>>). %% @spec (Location::integer(),V0::integer(),V1::integer(),V2::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation. +-spec uniform3i(integer(),integer(),integer(),integer()) -> ok. uniform3i(Location,V0,V1,V2) -> - wxe_util:cast(5481, <<Location:?GLint,V0:?GLint,V1:?GLint,V2:?GLint>>). + cast(5481, <<Location:?GLint,V0:?GLint,V1:?GLint,V2:?GLint>>). %% @spec (Location::integer(),V0::integer(),V1::integer(),V2::integer(),V3::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation. +-spec uniform4i(integer(),integer(),integer(),integer(),integer()) -> ok. uniform4i(Location,V0,V1,V2,V3) -> - wxe_util:cast(5482, <<Location:?GLint,V0:?GLint,V1:?GLint,V2:?GLint,V3:?GLint>>). + cast(5482, <<Location:?GLint,V0:?GLint,V1:?GLint,V2:?GLint,V3:?GLint>>). %% @spec (Location::integer(),Value::[float()]) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation. +-spec uniform1fv(integer(),[float()]) -> ok. uniform1fv(Location,Value) -> - wxe_util:cast(5483, <<Location:?GLint,(length(Value)):?GLuint, + cast(5483, <<Location:?GLint,(length(Value)):?GLuint, (<< <<C:?GLfloat>> || C <- Value>>)/binary,0:(((length(Value)) rem 2)*32)>>). -%% @spec (Location::integer(),Value::[{float()}]) -> ok +%% @spec (Location::integer(),Value::[{float(),float()}]) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation. +-spec uniform2fv(integer(),[{float(),float()}]) -> ok. uniform2fv(Location,Value) -> - wxe_util:cast(5484, <<Location:?GLint,(length(Value)):?GLuint, + cast(5484, <<Location:?GLint,(length(Value)):?GLuint, (<< <<V1:?GLfloat,V2:?GLfloat>> || {V1,V2} <- Value>>)/binary>>). -%% @spec (Location::integer(),Value::[{float()}]) -> ok +%% @spec (Location::integer(),Value::[{float(),float(),float()}]) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation. +-spec uniform3fv(integer(),[{float(),float(),float()}]) -> ok. uniform3fv(Location,Value) -> - wxe_util:cast(5485, <<Location:?GLint,(length(Value)):?GLuint, + cast(5485, <<Location:?GLint,(length(Value)):?GLuint, (<< <<V1:?GLfloat,V2:?GLfloat,V3:?GLfloat>> || {V1,V2,V3} <- Value>>)/binary>>). -%% @spec (Location::integer(),Value::[{float()}]) -> ok +%% @spec (Location::integer(),Value::[{float(),float(),float(),float()}]) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation. +-spec uniform4fv(integer(),[{float(),float(),float(),float()}]) -> ok. uniform4fv(Location,Value) -> - wxe_util:cast(5486, <<Location:?GLint,(length(Value)):?GLuint, + cast(5486, <<Location:?GLint,(length(Value)):?GLuint, (<< <<V1:?GLfloat,V2:?GLfloat,V3:?GLfloat,V4:?GLfloat>> || {V1,V2,V3,V4} <- Value>>)/binary>>). %% @spec (Location::integer(),Value::[integer()]) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation. +-spec uniform1iv(integer(),[integer()]) -> ok. uniform1iv(Location,Value) -> - wxe_util:cast(5487, <<Location:?GLint,(length(Value)):?GLuint, + cast(5487, <<Location:?GLint,(length(Value)):?GLuint, (<< <<C:?GLint>> || C <- Value>>)/binary,0:(((length(Value)) rem 2)*32)>>). -%% @spec (Location::integer(),Value::[{integer()}]) -> ok +%% @spec (Location::integer(),Value::[{integer(),integer()}]) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation. +-spec uniform2iv(integer(),[{integer(),integer()}]) -> ok. uniform2iv(Location,Value) -> - wxe_util:cast(5488, <<Location:?GLint,(length(Value)):?GLuint, + cast(5488, <<Location:?GLint,(length(Value)):?GLuint, (<< <<V1:?GLint,V2:?GLint>> || {V1,V2} <- Value>>)/binary>>). -%% @spec (Location::integer(),Value::[{integer()}]) -> ok +%% @spec (Location::integer(),Value::[{integer(),integer(),integer()}]) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation. +-spec uniform3iv(integer(),[{integer(),integer(),integer()}]) -> ok. uniform3iv(Location,Value) -> - wxe_util:cast(5489, <<Location:?GLint,(length(Value)):?GLuint, + cast(5489, <<Location:?GLint,(length(Value)):?GLuint, (<< <<V1:?GLint,V2:?GLint,V3:?GLint>> || {V1,V2,V3} <- Value>>)/binary>>). -%% @spec (Location::integer(),Value::[{integer()}]) -> ok +%% @spec (Location::integer(),Value::[{integer(),integer(),integer(),integer()}]) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation. +-spec uniform4iv(integer(),[{integer(),integer(),integer(),integer()}]) -> ok. uniform4iv(Location,Value) -> - wxe_util:cast(5490, <<Location:?GLint,(length(Value)):?GLuint, + cast(5490, <<Location:?GLint,(length(Value)):?GLuint, (<< <<V1:?GLint,V2:?GLint,V3:?GLint,V4:?GLint>> || {V1,V2,V3,V4} <- Value>>)/binary>>). -%% @spec (Location::integer(),Transpose::0|1,Value::[{float()}]) -> ok +%% @spec (Location::integer(),Transpose::0|1,Value::[{float(),float(),float(),float()}]) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniformMatrix.xml">external</a> documentation. +-spec uniformMatrix2fv(integer(),0|1,[{float(),float(),float(),float()}]) -> ok. uniformMatrix2fv(Location,Transpose,Value) -> - wxe_util:cast(5491, <<Location:?GLint,Transpose:?GLboolean,0:24,(length(Value)):?GLuint, + cast(5491, <<Location:?GLint,Transpose:?GLboolean,0:24,(length(Value)):?GLuint, (<< <<V1:?GLfloat,V2:?GLfloat,V3:?GLfloat,V4:?GLfloat>> || {V1,V2,V3,V4} <- Value>>)/binary>>). -%% @spec (Location::integer(),Transpose::0|1,Value::[{float()}]) -> ok +%% @spec (Location::integer(),Transpose::0|1,Value::[{float(),float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniformMatrix.xml">external</a> documentation. +-spec uniformMatrix3fv(integer(),0|1,[{float(),float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok. uniformMatrix3fv(Location,Transpose,Value) -> - wxe_util:cast(5492, <<Location:?GLint,Transpose:?GLboolean,0:24,(length(Value)):?GLuint, + cast(5492, <<Location:?GLint,Transpose:?GLboolean,0:24,(length(Value)):?GLuint, (<< <<V1:?GLfloat,V2:?GLfloat,V3:?GLfloat,V4:?GLfloat,V5:?GLfloat,V6:?GLfloat,V7:?GLfloat,V8:?GLfloat,V9:?GLfloat>> || {V1,V2,V3,V4,V5,V6,V7,V8,V9} <- Value>>)/binary>>). -%% @spec (Location::integer(),Transpose::0|1,Value::[{float()}]) -> ok +%% @spec (Location::integer(),Transpose::0|1,Value::[{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniformMatrix.xml">external</a> documentation. +-spec uniformMatrix4fv(integer(),0|1,[{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok. uniformMatrix4fv(Location,Transpose,Value) -> - wxe_util:cast(5493, <<Location:?GLint,Transpose:?GLboolean,0:24,(length(Value)):?GLuint, + cast(5493, <<Location:?GLint,Transpose:?GLboolean,0:24,(length(Value)):?GLuint, (<< <<V1:?GLfloat,V2:?GLfloat,V3:?GLfloat,V4:?GLfloat,V5:?GLfloat,V6:?GLfloat,V7:?GLfloat,V8:?GLfloat,V9:?GLfloat,V10:?GLfloat,V11:?GLfloat,V12:?GLfloat,V13:?GLfloat,V14:?GLfloat,V15:?GLfloat,V16:?GLfloat>> || {V1,V2,V3,V4,V5,V6,V7,V8,V9,V10,V11,V12,V13,V14,V15,V16} <- Value>>)/binary>>). %% @spec (Program::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glValidateProgram.xml">external</a> documentation. +-spec validateProgram(integer()) -> ok. validateProgram(Program) -> - wxe_util:cast(5494, <<Program:?GLuint>>). + cast(5494, <<Program:?GLuint>>). %% @spec (Index::integer(),X::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttrib.xml">external</a> documentation. +-spec vertexAttrib1d(integer(),float()) -> ok. vertexAttrib1d(Index,X) -> - wxe_util:cast(5495, <<Index:?GLuint,0:32,X:?GLdouble>>). + cast(5495, <<Index:?GLuint,0:32,X:?GLdouble>>). %% @spec (Index,{X}) -> ok %% @equiv vertexAttrib1d(Index,X) +-spec vertexAttrib1dv(integer(),{float()}) -> ok. vertexAttrib1dv(Index,{X}) -> vertexAttrib1d(Index,X). %% @spec (Index::integer(),X::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttrib.xml">external</a> documentation. +-spec vertexAttrib1f(integer(),float()) -> ok. vertexAttrib1f(Index,X) -> - wxe_util:cast(5496, <<Index:?GLuint,X:?GLfloat>>). + cast(5496, <<Index:?GLuint,X:?GLfloat>>). %% @spec (Index,{X}) -> ok %% @equiv vertexAttrib1f(Index,X) +-spec vertexAttrib1fv(integer(),{float()}) -> ok. vertexAttrib1fv(Index,{X}) -> vertexAttrib1f(Index,X). %% @spec (Index::integer(),X::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttrib.xml">external</a> documentation. +-spec vertexAttrib1s(integer(),integer()) -> ok. vertexAttrib1s(Index,X) -> - wxe_util:cast(5497, <<Index:?GLuint,X:?GLshort>>). + cast(5497, <<Index:?GLuint,X:?GLshort>>). %% @spec (Index,{X}) -> ok %% @equiv vertexAttrib1s(Index,X) +-spec vertexAttrib1sv(integer(),{integer()}) -> ok. vertexAttrib1sv(Index,{X}) -> vertexAttrib1s(Index,X). %% @spec (Index::integer(),X::float(),Y::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttrib.xml">external</a> documentation. +-spec vertexAttrib2d(integer(),float(),float()) -> ok. vertexAttrib2d(Index,X,Y) -> - wxe_util:cast(5498, <<Index:?GLuint,0:32,X:?GLdouble,Y:?GLdouble>>). + cast(5498, <<Index:?GLuint,0:32,X:?GLdouble,Y:?GLdouble>>). %% @spec (Index,{X,Y}) -> ok %% @equiv vertexAttrib2d(Index,X,Y) +-spec vertexAttrib2dv(integer(),{float(),float()}) -> ok. vertexAttrib2dv(Index,{X,Y}) -> vertexAttrib2d(Index,X,Y). %% @spec (Index::integer(),X::float(),Y::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttrib.xml">external</a> documentation. +-spec vertexAttrib2f(integer(),float(),float()) -> ok. vertexAttrib2f(Index,X,Y) -> - wxe_util:cast(5499, <<Index:?GLuint,X:?GLfloat,Y:?GLfloat>>). + cast(5499, <<Index:?GLuint,X:?GLfloat,Y:?GLfloat>>). %% @spec (Index,{X,Y}) -> ok %% @equiv vertexAttrib2f(Index,X,Y) +-spec vertexAttrib2fv(integer(),{float(),float()}) -> ok. vertexAttrib2fv(Index,{X,Y}) -> vertexAttrib2f(Index,X,Y). %% @spec (Index::integer(),X::integer(),Y::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttrib.xml">external</a> documentation. +-spec vertexAttrib2s(integer(),integer(),integer()) -> ok. vertexAttrib2s(Index,X,Y) -> - wxe_util:cast(5500, <<Index:?GLuint,X:?GLshort,Y:?GLshort>>). + cast(5500, <<Index:?GLuint,X:?GLshort,Y:?GLshort>>). %% @spec (Index,{X,Y}) -> ok %% @equiv vertexAttrib2s(Index,X,Y) +-spec vertexAttrib2sv(integer(),{integer(),integer()}) -> ok. vertexAttrib2sv(Index,{X,Y}) -> vertexAttrib2s(Index,X,Y). %% @spec (Index::integer(),X::float(),Y::float(),Z::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttrib.xml">external</a> documentation. +-spec vertexAttrib3d(integer(),float(),float(),float()) -> ok. vertexAttrib3d(Index,X,Y,Z) -> - wxe_util:cast(5501, <<Index:?GLuint,0:32,X:?GLdouble,Y:?GLdouble,Z:?GLdouble>>). + cast(5501, <<Index:?GLuint,0:32,X:?GLdouble,Y:?GLdouble,Z:?GLdouble>>). %% @spec (Index,{X,Y,Z}) -> ok %% @equiv vertexAttrib3d(Index,X,Y,Z) +-spec vertexAttrib3dv(integer(),{float(),float(),float()}) -> ok. vertexAttrib3dv(Index,{X,Y,Z}) -> vertexAttrib3d(Index,X,Y,Z). %% @spec (Index::integer(),X::float(),Y::float(),Z::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttrib.xml">external</a> documentation. +-spec vertexAttrib3f(integer(),float(),float(),float()) -> ok. vertexAttrib3f(Index,X,Y,Z) -> - wxe_util:cast(5502, <<Index:?GLuint,X:?GLfloat,Y:?GLfloat,Z:?GLfloat>>). + cast(5502, <<Index:?GLuint,X:?GLfloat,Y:?GLfloat,Z:?GLfloat>>). %% @spec (Index,{X,Y,Z}) -> ok %% @equiv vertexAttrib3f(Index,X,Y,Z) +-spec vertexAttrib3fv(integer(),{float(),float(),float()}) -> ok. vertexAttrib3fv(Index,{X,Y,Z}) -> vertexAttrib3f(Index,X,Y,Z). %% @spec (Index::integer(),X::integer(),Y::integer(),Z::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttrib.xml">external</a> documentation. +-spec vertexAttrib3s(integer(),integer(),integer(),integer()) -> ok. vertexAttrib3s(Index,X,Y,Z) -> - wxe_util:cast(5503, <<Index:?GLuint,X:?GLshort,Y:?GLshort,Z:?GLshort>>). + cast(5503, <<Index:?GLuint,X:?GLshort,Y:?GLshort,Z:?GLshort>>). %% @spec (Index,{X,Y,Z}) -> ok %% @equiv vertexAttrib3s(Index,X,Y,Z) +-spec vertexAttrib3sv(integer(),{integer(),integer(),integer()}) -> ok. vertexAttrib3sv(Index,{X,Y,Z}) -> vertexAttrib3s(Index,X,Y,Z). -%% @spec (Index::integer(),V::{integer()}) -> ok +%% @spec (Index::integer(),V::{integer(),integer(),integer(),integer()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttrib.xml">external</a> documentation. +-spec vertexAttrib4Nbv(integer(),{integer(),integer(),integer(),integer()}) -> ok. vertexAttrib4Nbv(Index,{V1,V2,V3,V4}) -> - wxe_util:cast(5504, <<Index:?GLuint,V1:?GLbyte,V2:?GLbyte,V3:?GLbyte,V4:?GLbyte>>). + cast(5504, <<Index:?GLuint,V1:?GLbyte,V2:?GLbyte,V3:?GLbyte,V4:?GLbyte>>). -%% @spec (Index::integer(),V::{integer()}) -> ok +%% @spec (Index::integer(),V::{integer(),integer(),integer(),integer()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttrib.xml">external</a> documentation. +-spec vertexAttrib4Niv(integer(),{integer(),integer(),integer(),integer()}) -> ok. vertexAttrib4Niv(Index,{V1,V2,V3,V4}) -> - wxe_util:cast(5505, <<Index:?GLuint,V1:?GLint,V2:?GLint,V3:?GLint,V4:?GLint>>). + cast(5505, <<Index:?GLuint,V1:?GLint,V2:?GLint,V3:?GLint,V4:?GLint>>). -%% @spec (Index::integer(),V::{integer()}) -> ok +%% @spec (Index::integer(),V::{integer(),integer(),integer(),integer()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttrib.xml">external</a> documentation. +-spec vertexAttrib4Nsv(integer(),{integer(),integer(),integer(),integer()}) -> ok. vertexAttrib4Nsv(Index,{V1,V2,V3,V4}) -> - wxe_util:cast(5506, <<Index:?GLuint,V1:?GLshort,V2:?GLshort,V3:?GLshort,V4:?GLshort>>). + cast(5506, <<Index:?GLuint,V1:?GLshort,V2:?GLshort,V3:?GLshort,V4:?GLshort>>). %% @spec (Index::integer(),X::integer(),Y::integer(),Z::integer(),W::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttrib.xml">external</a> documentation. +-spec vertexAttrib4Nub(integer(),integer(),integer(),integer(),integer()) -> ok. vertexAttrib4Nub(Index,X,Y,Z,W) -> - wxe_util:cast(5507, <<Index:?GLuint,X:?GLubyte,Y:?GLubyte,Z:?GLubyte,W:?GLubyte>>). + cast(5507, <<Index:?GLuint,X:?GLubyte,Y:?GLubyte,Z:?GLubyte,W:?GLubyte>>). %% @spec (Index,{X,Y,Z,W}) -> ok %% @equiv vertexAttrib4Nub(Index,X,Y,Z,W) +-spec vertexAttrib4Nubv(integer(),{integer(),integer(),integer(),integer()}) -> ok. vertexAttrib4Nubv(Index,{X,Y,Z,W}) -> vertexAttrib4Nub(Index,X,Y,Z,W). -%% @spec (Index::integer(),V::{integer()}) -> ok +%% @spec (Index::integer(),V::{integer(),integer(),integer(),integer()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttrib.xml">external</a> documentation. +-spec vertexAttrib4Nuiv(integer(),{integer(),integer(),integer(),integer()}) -> ok. vertexAttrib4Nuiv(Index,{V1,V2,V3,V4}) -> - wxe_util:cast(5508, <<Index:?GLuint,V1:?GLuint,V2:?GLuint,V3:?GLuint,V4:?GLuint>>). + cast(5508, <<Index:?GLuint,V1:?GLuint,V2:?GLuint,V3:?GLuint,V4:?GLuint>>). -%% @spec (Index::integer(),V::{integer()}) -> ok +%% @spec (Index::integer(),V::{integer(),integer(),integer(),integer()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttrib.xml">external</a> documentation. +-spec vertexAttrib4Nusv(integer(),{integer(),integer(),integer(),integer()}) -> ok. vertexAttrib4Nusv(Index,{V1,V2,V3,V4}) -> - wxe_util:cast(5509, <<Index:?GLuint,V1:?GLushort,V2:?GLushort,V3:?GLushort,V4:?GLushort>>). + cast(5509, <<Index:?GLuint,V1:?GLushort,V2:?GLushort,V3:?GLushort,V4:?GLushort>>). -%% @spec (Index::integer(),V::{integer()}) -> ok +%% @spec (Index::integer(),V::{integer(),integer(),integer(),integer()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttrib.xml">external</a> documentation. +-spec vertexAttrib4bv(integer(),{integer(),integer(),integer(),integer()}) -> ok. vertexAttrib4bv(Index,{V1,V2,V3,V4}) -> - wxe_util:cast(5510, <<Index:?GLuint,V1:?GLbyte,V2:?GLbyte,V3:?GLbyte,V4:?GLbyte>>). + cast(5510, <<Index:?GLuint,V1:?GLbyte,V2:?GLbyte,V3:?GLbyte,V4:?GLbyte>>). %% @spec (Index::integer(),X::float(),Y::float(),Z::float(),W::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttrib.xml">external</a> documentation. +-spec vertexAttrib4d(integer(),float(),float(),float(),float()) -> ok. vertexAttrib4d(Index,X,Y,Z,W) -> - wxe_util:cast(5511, <<Index:?GLuint,0:32,X:?GLdouble,Y:?GLdouble,Z:?GLdouble,W:?GLdouble>>). + cast(5511, <<Index:?GLuint,0:32,X:?GLdouble,Y:?GLdouble,Z:?GLdouble,W:?GLdouble>>). %% @spec (Index,{X,Y,Z,W}) -> ok %% @equiv vertexAttrib4d(Index,X,Y,Z,W) +-spec vertexAttrib4dv(integer(),{float(),float(),float(),float()}) -> ok. vertexAttrib4dv(Index,{X,Y,Z,W}) -> vertexAttrib4d(Index,X,Y,Z,W). %% @spec (Index::integer(),X::float(),Y::float(),Z::float(),W::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttrib.xml">external</a> documentation. +-spec vertexAttrib4f(integer(),float(),float(),float(),float()) -> ok. vertexAttrib4f(Index,X,Y,Z,W) -> - wxe_util:cast(5512, <<Index:?GLuint,X:?GLfloat,Y:?GLfloat,Z:?GLfloat,W:?GLfloat>>). + cast(5512, <<Index:?GLuint,X:?GLfloat,Y:?GLfloat,Z:?GLfloat,W:?GLfloat>>). %% @spec (Index,{X,Y,Z,W}) -> ok %% @equiv vertexAttrib4f(Index,X,Y,Z,W) +-spec vertexAttrib4fv(integer(),{float(),float(),float(),float()}) -> ok. vertexAttrib4fv(Index,{X,Y,Z,W}) -> vertexAttrib4f(Index,X,Y,Z,W). -%% @spec (Index::integer(),V::{integer()}) -> ok +%% @spec (Index::integer(),V::{integer(),integer(),integer(),integer()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttrib.xml">external</a> documentation. +-spec vertexAttrib4iv(integer(),{integer(),integer(),integer(),integer()}) -> ok. vertexAttrib4iv(Index,{V1,V2,V3,V4}) -> - wxe_util:cast(5513, <<Index:?GLuint,V1:?GLint,V2:?GLint,V3:?GLint,V4:?GLint>>). + cast(5513, <<Index:?GLuint,V1:?GLint,V2:?GLint,V3:?GLint,V4:?GLint>>). %% @spec (Index::integer(),X::integer(),Y::integer(),Z::integer(),W::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttrib.xml">external</a> documentation. +-spec vertexAttrib4s(integer(),integer(),integer(),integer(),integer()) -> ok. vertexAttrib4s(Index,X,Y,Z,W) -> - wxe_util:cast(5514, <<Index:?GLuint,X:?GLshort,Y:?GLshort,Z:?GLshort,W:?GLshort>>). + cast(5514, <<Index:?GLuint,X:?GLshort,Y:?GLshort,Z:?GLshort,W:?GLshort>>). %% @spec (Index,{X,Y,Z,W}) -> ok %% @equiv vertexAttrib4s(Index,X,Y,Z,W) +-spec vertexAttrib4sv(integer(),{integer(),integer(),integer(),integer()}) -> ok. vertexAttrib4sv(Index,{X,Y,Z,W}) -> vertexAttrib4s(Index,X,Y,Z,W). -%% @spec (Index::integer(),V::{integer()}) -> ok +%% @spec (Index::integer(),V::{integer(),integer(),integer(),integer()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttrib.xml">external</a> documentation. +-spec vertexAttrib4ubv(integer(),{integer(),integer(),integer(),integer()}) -> ok. vertexAttrib4ubv(Index,{V1,V2,V3,V4}) -> - wxe_util:cast(5515, <<Index:?GLuint,V1:?GLubyte,V2:?GLubyte,V3:?GLubyte,V4:?GLubyte>>). + cast(5515, <<Index:?GLuint,V1:?GLubyte,V2:?GLubyte,V3:?GLubyte,V4:?GLubyte>>). -%% @spec (Index::integer(),V::{integer()}) -> ok +%% @spec (Index::integer(),V::{integer(),integer(),integer(),integer()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttrib.xml">external</a> documentation. +-spec vertexAttrib4uiv(integer(),{integer(),integer(),integer(),integer()}) -> ok. vertexAttrib4uiv(Index,{V1,V2,V3,V4}) -> - wxe_util:cast(5516, <<Index:?GLuint,V1:?GLuint,V2:?GLuint,V3:?GLuint,V4:?GLuint>>). + cast(5516, <<Index:?GLuint,V1:?GLuint,V2:?GLuint,V3:?GLuint,V4:?GLuint>>). -%% @spec (Index::integer(),V::{integer()}) -> ok +%% @spec (Index::integer(),V::{integer(),integer(),integer(),integer()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttrib.xml">external</a> documentation. +-spec vertexAttrib4usv(integer(),{integer(),integer(),integer(),integer()}) -> ok. vertexAttrib4usv(Index,{V1,V2,V3,V4}) -> - wxe_util:cast(5517, <<Index:?GLuint,V1:?GLushort,V2:?GLushort,V3:?GLushort,V4:?GLushort>>). + cast(5517, <<Index:?GLuint,V1:?GLushort,V2:?GLushort,V3:?GLushort,V4:?GLushort>>). -%% @spec (Index::integer(),Size::integer(),Type::enum(),Normalized::0|1,Stride::integer(),Pointer::offset()|binary()) -> ok +%% @spec (Index::integer(),Size::integer(),Type::enum(),Normalized::0|1,Stride::integer(),Pointer::offset()|mem()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttribPointer.xml">external</a> documentation. +-spec vertexAttribPointer(integer(),integer(),enum(),0|1,integer(),offset()|mem()) -> ok. vertexAttribPointer(Index,Size,Type,Normalized,Stride,Pointer) when is_integer(Pointer) -> - wxe_util:cast(5518, <<Index:?GLuint,Size:?GLint,Type:?GLenum,Normalized:?GLboolean,0:24,Stride:?GLsizei,Pointer:?GLuint>>); + cast(5518, <<Index:?GLuint,Size:?GLint,Type:?GLenum,Normalized:?GLboolean,0:24,Stride:?GLsizei,Pointer:?GLuint>>); vertexAttribPointer(Index,Size,Type,Normalized,Stride,Pointer) -> - wxe_util:send_bin(Pointer), - wxe_util:cast(5519, <<Index:?GLuint,Size:?GLint,Type:?GLenum,Normalized:?GLboolean,0:24,Stride:?GLsizei>>). + send_bin(Pointer), + cast(5519, <<Index:?GLuint,Size:?GLint,Type:?GLenum,Normalized:?GLboolean,0:24,Stride:?GLsizei>>). -%% @spec (Location::integer(),Transpose::0|1,Value::[{float()}]) -> ok +%% @spec (Location::integer(),Transpose::0|1,Value::[{float(),float(),float(),float(),float(),float()}]) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniformMatrix2x.xml">external</a> documentation. +-spec uniformMatrix2x3fv(integer(),0|1,[{float(),float(),float(),float(),float(),float()}]) -> ok. uniformMatrix2x3fv(Location,Transpose,Value) -> - wxe_util:cast(5520, <<Location:?GLint,Transpose:?GLboolean,0:24,(length(Value)):?GLuint, + cast(5520, <<Location:?GLint,Transpose:?GLboolean,0:24,(length(Value)):?GLuint, (<< <<V1:?GLfloat,V2:?GLfloat,V3:?GLfloat,V4:?GLfloat,V5:?GLfloat,V6:?GLfloat>> || {V1,V2,V3,V4,V5,V6} <- Value>>)/binary>>). -%% @spec (Location::integer(),Transpose::0|1,Value::[{float()}]) -> ok +%% @spec (Location::integer(),Transpose::0|1,Value::[{float(),float(),float(),float(),float(),float()}]) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniformMatrix3x.xml">external</a> documentation. +-spec uniformMatrix3x2fv(integer(),0|1,[{float(),float(),float(),float(),float(),float()}]) -> ok. uniformMatrix3x2fv(Location,Transpose,Value) -> - wxe_util:cast(5521, <<Location:?GLint,Transpose:?GLboolean,0:24,(length(Value)):?GLuint, + cast(5521, <<Location:?GLint,Transpose:?GLboolean,0:24,(length(Value)):?GLuint, (<< <<V1:?GLfloat,V2:?GLfloat,V3:?GLfloat,V4:?GLfloat,V5:?GLfloat,V6:?GLfloat>> || {V1,V2,V3,V4,V5,V6} <- Value>>)/binary>>). -%% @spec (Location::integer(),Transpose::0|1,Value::[{float()}]) -> ok +%% @spec (Location::integer(),Transpose::0|1,Value::[{float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniformMatrix2x.xml">external</a> documentation. +-spec uniformMatrix2x4fv(integer(),0|1,[{float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok. uniformMatrix2x4fv(Location,Transpose,Value) -> - wxe_util:cast(5522, <<Location:?GLint,Transpose:?GLboolean,0:24,(length(Value)):?GLuint, + cast(5522, <<Location:?GLint,Transpose:?GLboolean,0:24,(length(Value)):?GLuint, (<< <<V1:?GLfloat,V2:?GLfloat,V3:?GLfloat,V4:?GLfloat,V5:?GLfloat,V6:?GLfloat,V7:?GLfloat,V8:?GLfloat>> || {V1,V2,V3,V4,V5,V6,V7,V8} <- Value>>)/binary>>). -%% @spec (Location::integer(),Transpose::0|1,Value::[{float()}]) -> ok +%% @spec (Location::integer(),Transpose::0|1,Value::[{float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniformMatrix4x.xml">external</a> documentation. +-spec uniformMatrix4x2fv(integer(),0|1,[{float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok. uniformMatrix4x2fv(Location,Transpose,Value) -> - wxe_util:cast(5523, <<Location:?GLint,Transpose:?GLboolean,0:24,(length(Value)):?GLuint, + cast(5523, <<Location:?GLint,Transpose:?GLboolean,0:24,(length(Value)):?GLuint, (<< <<V1:?GLfloat,V2:?GLfloat,V3:?GLfloat,V4:?GLfloat,V5:?GLfloat,V6:?GLfloat,V7:?GLfloat,V8:?GLfloat>> || {V1,V2,V3,V4,V5,V6,V7,V8} <- Value>>)/binary>>). -%% @spec (Location::integer(),Transpose::0|1,Value::[{float()}]) -> ok +%% @spec (Location::integer(),Transpose::0|1,Value::[{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniformMatrix3x.xml">external</a> documentation. +-spec uniformMatrix3x4fv(integer(),0|1,[{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok. uniformMatrix3x4fv(Location,Transpose,Value) -> - wxe_util:cast(5524, <<Location:?GLint,Transpose:?GLboolean,0:24,(length(Value)):?GLuint, + cast(5524, <<Location:?GLint,Transpose:?GLboolean,0:24,(length(Value)):?GLuint, (<< <<V1:?GLfloat,V2:?GLfloat,V3:?GLfloat,V4:?GLfloat,V5:?GLfloat,V6:?GLfloat,V7:?GLfloat,V8:?GLfloat,V9:?GLfloat,V10:?GLfloat,V11:?GLfloat,V12:?GLfloat>> || {V1,V2,V3,V4,V5,V6,V7,V8,V9,V10,V11,V12} <- Value>>)/binary>>). -%% @spec (Location::integer(),Transpose::0|1,Value::[{float()}]) -> ok +%% @spec (Location::integer(),Transpose::0|1,Value::[{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniformMatrix4x.xml">external</a> documentation. +-spec uniformMatrix4x3fv(integer(),0|1,[{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok. uniformMatrix4x3fv(Location,Transpose,Value) -> - wxe_util:cast(5525, <<Location:?GLint,Transpose:?GLboolean,0:24,(length(Value)):?GLuint, + cast(5525, <<Location:?GLint,Transpose:?GLboolean,0:24,(length(Value)):?GLuint, (<< <<V1:?GLfloat,V2:?GLfloat,V3:?GLfloat,V4:?GLfloat,V5:?GLfloat,V6:?GLfloat,V7:?GLfloat,V8:?GLfloat,V9:?GLfloat,V10:?GLfloat,V11:?GLfloat,V12:?GLfloat>> || {V1,V2,V3,V4,V5,V6,V7,V8,V9,V10,V11,V12} <- Value>>)/binary>>). %% @spec (Index::integer(),R::0|1,G::0|1,B::0|1,A::0|1) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glColorMaski.xml">external</a> documentation. +-spec colorMaski(integer(),0|1,0|1,0|1,0|1) -> ok. colorMaski(Index,R,G,B,A) -> - wxe_util:cast(5526, <<Index:?GLuint,R:?GLboolean,G:?GLboolean,B:?GLboolean,A:?GLboolean>>). + cast(5526, <<Index:?GLuint,R:?GLboolean,G:?GLboolean,B:?GLboolean,A:?GLboolean>>). %% @spec (Target::enum(),Index::integer()) -> [0|1] %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetBooleani_v.xml">external</a> documentation. +-spec getBooleani_v(enum(),integer()) -> [0|1]. getBooleani_v(Target,Index) -> - wxe_util:call(5527, <<Target:?GLenum,Index:?GLuint>>). + call(5527, <<Target:?GLenum,Index:?GLuint>>). %% @spec (Target::enum(),Index::integer()) -> [integer()] %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetIntegeri_v.xml">external</a> documentation. +-spec getIntegeri_v(enum(),integer()) -> [integer()]. getIntegeri_v(Target,Index) -> - wxe_util:call(5528, <<Target:?GLenum,Index:?GLuint>>). + call(5528, <<Target:?GLenum,Index:?GLuint>>). %% @spec (Target::enum(),Index::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glEnable.xml">external</a> documentation. +-spec enablei(enum(),integer()) -> ok. enablei(Target,Index) -> - wxe_util:cast(5529, <<Target:?GLenum,Index:?GLuint>>). + cast(5529, <<Target:?GLenum,Index:?GLuint>>). %% @spec (Target::enum(),Index::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDisable.xml">external</a> documentation. +-spec disablei(enum(),integer()) -> ok. disablei(Target,Index) -> - wxe_util:cast(5530, <<Target:?GLenum,Index:?GLuint>>). + cast(5530, <<Target:?GLenum,Index:?GLuint>>). %% @spec (Target::enum(),Index::integer()) -> 0|1 %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glIsEnabledi.xml">external</a> documentation. +-spec isEnabledi(enum(),integer()) -> 0|1. isEnabledi(Target,Index) -> - wxe_util:call(5531, <<Target:?GLenum,Index:?GLuint>>). + call(5531, <<Target:?GLenum,Index:?GLuint>>). %% @spec (PrimitiveMode::enum()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBeginTransformFeedback.xml">external</a> documentation. +-spec beginTransformFeedback(enum()) -> ok. beginTransformFeedback(PrimitiveMode) -> - wxe_util:cast(5532, <<PrimitiveMode:?GLenum>>). + cast(5532, <<PrimitiveMode:?GLenum>>). %% @spec () -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glEndTransformFeedback.xml">external</a> documentation. +-spec endTransformFeedback() -> ok. endTransformFeedback() -> - wxe_util:cast(5533, <<>>). + cast(5533, <<>>). %% @spec (Target::enum(),Index::integer(),Buffer::integer(),Offset::integer(),Size::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBindBufferRange.xml">external</a> documentation. +-spec bindBufferRange(enum(),integer(),integer(),integer(),integer()) -> ok. bindBufferRange(Target,Index,Buffer,Offset,Size) -> - wxe_util:cast(5534, <<Target:?GLenum,Index:?GLuint,Buffer:?GLuint,0:32,Offset:?GLintptr,Size:?GLsizeiptr>>). + cast(5534, <<Target:?GLenum,Index:?GLuint,Buffer:?GLuint,0:32,Offset:?GLintptr,Size:?GLsizeiptr>>). %% @spec (Target::enum(),Index::integer(),Buffer::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBindBufferBase.xml">external</a> documentation. +-spec bindBufferBase(enum(),integer(),integer()) -> ok. bindBufferBase(Target,Index,Buffer) -> - wxe_util:cast(5535, <<Target:?GLenum,Index:?GLuint,Buffer:?GLuint>>). + cast(5535, <<Target:?GLenum,Index:?GLuint,Buffer:?GLuint>>). %% @spec (Program::integer(),Varyings::[string()],BufferMode::enum()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTransformFeedbackVaryings.xml">external</a> documentation. +-spec transformFeedbackVaryings(integer(),[string()],enum()) -> ok. transformFeedbackVaryings(Program,Varyings,BufferMode) -> VaryingsTemp = list_to_binary([[Str|[0]] || Str <- Varyings ]), - wxe_util:cast(5536, <<Program:?GLuint,(length(Varyings)):?GLuint,(size(VaryingsTemp)):?GLuint,(VaryingsTemp)/binary,0:((8-((size(VaryingsTemp)+0) rem 8)) rem 8),BufferMode:?GLenum>>). + cast(5536, <<Program:?GLuint,(length(Varyings)):?GLuint,(size(VaryingsTemp)):?GLuint,(VaryingsTemp)/binary,0:((8-((size(VaryingsTemp)+0) rem 8)) rem 8),BufferMode:?GLenum>>). %% @spec (Program::integer(),Index::integer(),BufSize::integer()) -> {Size::integer(),Type::enum(),Name::string()} %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetTransformFeedbackVarying.xml">external</a> documentation. +-spec getTransformFeedbackVarying(integer(),integer(),integer()) -> {integer(),enum(),string()}. getTransformFeedbackVarying(Program,Index,BufSize) -> - wxe_util:call(5537, <<Program:?GLuint,Index:?GLuint,BufSize:?GLsizei>>). + call(5537, <<Program:?GLuint,Index:?GLuint,BufSize:?GLsizei>>). %% @spec (Target::enum(),Clamp::enum()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glClampColor.xml">external</a> documentation. +-spec clampColor(enum(),enum()) -> ok. clampColor(Target,Clamp) -> - wxe_util:cast(5538, <<Target:?GLenum,Clamp:?GLenum>>). + cast(5538, <<Target:?GLenum,Clamp:?GLenum>>). %% @spec (Id::integer(),Mode::enum()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBeginConditionalRender.xml">external</a> documentation. +-spec beginConditionalRender(integer(),enum()) -> ok. beginConditionalRender(Id,Mode) -> - wxe_util:cast(5539, <<Id:?GLuint,Mode:?GLenum>>). + cast(5539, <<Id:?GLuint,Mode:?GLenum>>). %% @spec () -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glEndConditionalRender.xml">external</a> documentation. +-spec endConditionalRender() -> ok. endConditionalRender() -> - wxe_util:cast(5540, <<>>). + cast(5540, <<>>). -%% @spec (Index::integer(),Size::integer(),Type::enum(),Stride::integer(),Pointer::offset()|binary()) -> ok +%% @spec (Index::integer(),Size::integer(),Type::enum(),Stride::integer(),Pointer::offset()|mem()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttribIPointer.xml">external</a> documentation. +-spec vertexAttribIPointer(integer(),integer(),enum(),integer(),offset()|mem()) -> ok. vertexAttribIPointer(Index,Size,Type,Stride,Pointer) when is_integer(Pointer) -> - wxe_util:cast(5541, <<Index:?GLuint,Size:?GLint,Type:?GLenum,Stride:?GLsizei,Pointer:?GLuint>>); + cast(5541, <<Index:?GLuint,Size:?GLint,Type:?GLenum,Stride:?GLsizei,Pointer:?GLuint>>); vertexAttribIPointer(Index,Size,Type,Stride,Pointer) -> - wxe_util:send_bin(Pointer), - wxe_util:cast(5542, <<Index:?GLuint,Size:?GLint,Type:?GLenum,Stride:?GLsizei>>). + send_bin(Pointer), + cast(5542, <<Index:?GLuint,Size:?GLint,Type:?GLenum,Stride:?GLsizei>>). -%% @spec (Index::integer(),Pname::enum()) -> {integer()} +%% @spec (Index::integer(),Pname::enum()) -> {integer(),integer(),integer(),integer()} %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetVertexAttribI.xml">external</a> documentation. +-spec getVertexAttribIiv(integer(),enum()) -> {integer(),integer(),integer(),integer()}. getVertexAttribIiv(Index,Pname) -> - wxe_util:call(5543, <<Index:?GLuint,Pname:?GLenum>>). + call(5543, <<Index:?GLuint,Pname:?GLenum>>). -%% @spec (Index::integer(),Pname::enum()) -> {integer()} +%% @spec (Index::integer(),Pname::enum()) -> {integer(),integer(),integer(),integer()} %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetVertexAttribI.xml">external</a> documentation. +-spec getVertexAttribIuiv(integer(),enum()) -> {integer(),integer(),integer(),integer()}. getVertexAttribIuiv(Index,Pname) -> - wxe_util:call(5544, <<Index:?GLuint,Pname:?GLenum>>). + call(5544, <<Index:?GLuint,Pname:?GLenum>>). + +%% @spec (Index::integer(),X::integer()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttribI.xml">external</a> documentation. +-spec vertexAttribI1i(integer(),integer()) -> ok. +vertexAttribI1i(Index,X) -> + cast(5545, <<Index:?GLuint,X:?GLint>>). + +%% @spec (Index::integer(),X::integer(),Y::integer()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttribI.xml">external</a> documentation. +-spec vertexAttribI2i(integer(),integer(),integer()) -> ok. +vertexAttribI2i(Index,X,Y) -> + cast(5546, <<Index:?GLuint,X:?GLint,Y:?GLint>>). + +%% @spec (Index::integer(),X::integer(),Y::integer(),Z::integer()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttribI.xml">external</a> documentation. +-spec vertexAttribI3i(integer(),integer(),integer(),integer()) -> ok. +vertexAttribI3i(Index,X,Y,Z) -> + cast(5547, <<Index:?GLuint,X:?GLint,Y:?GLint,Z:?GLint>>). + +%% @spec (Index::integer(),X::integer(),Y::integer(),Z::integer(),W::integer()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttribI.xml">external</a> documentation. +-spec vertexAttribI4i(integer(),integer(),integer(),integer(),integer()) -> ok. +vertexAttribI4i(Index,X,Y,Z,W) -> + cast(5548, <<Index:?GLuint,X:?GLint,Y:?GLint,Z:?GLint,W:?GLint>>). + +%% @spec (Index::integer(),X::integer()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttribI.xml">external</a> documentation. +-spec vertexAttribI1ui(integer(),integer()) -> ok. +vertexAttribI1ui(Index,X) -> + cast(5549, <<Index:?GLuint,X:?GLuint>>). + +%% @spec (Index::integer(),X::integer(),Y::integer()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttribI.xml">external</a> documentation. +-spec vertexAttribI2ui(integer(),integer(),integer()) -> ok. +vertexAttribI2ui(Index,X,Y) -> + cast(5550, <<Index:?GLuint,X:?GLuint,Y:?GLuint>>). + +%% @spec (Index::integer(),X::integer(),Y::integer(),Z::integer()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttribI.xml">external</a> documentation. +-spec vertexAttribI3ui(integer(),integer(),integer(),integer()) -> ok. +vertexAttribI3ui(Index,X,Y,Z) -> + cast(5551, <<Index:?GLuint,X:?GLuint,Y:?GLuint,Z:?GLuint>>). + +%% @spec (Index::integer(),X::integer(),Y::integer(),Z::integer(),W::integer()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttribI.xml">external</a> documentation. +-spec vertexAttribI4ui(integer(),integer(),integer(),integer(),integer()) -> ok. +vertexAttribI4ui(Index,X,Y,Z,W) -> + cast(5552, <<Index:?GLuint,X:?GLuint,Y:?GLuint,Z:?GLuint,W:?GLuint>>). + +%% @spec (Index,{X}) -> ok +%% @equiv vertexAttribI1i(Index,X) +-spec vertexAttribI1iv(integer(),{integer()}) -> ok. +vertexAttribI1iv(Index,{X}) -> vertexAttribI1i(Index,X). + +%% @spec (Index,{X,Y}) -> ok +%% @equiv vertexAttribI2i(Index,X,Y) +-spec vertexAttribI2iv(integer(),{integer(),integer()}) -> ok. +vertexAttribI2iv(Index,{X,Y}) -> vertexAttribI2i(Index,X,Y). + +%% @spec (Index,{X,Y,Z}) -> ok +%% @equiv vertexAttribI3i(Index,X,Y,Z) +-spec vertexAttribI3iv(integer(),{integer(),integer(),integer()}) -> ok. +vertexAttribI3iv(Index,{X,Y,Z}) -> vertexAttribI3i(Index,X,Y,Z). + +%% @spec (Index,{X,Y,Z,W}) -> ok +%% @equiv vertexAttribI4i(Index,X,Y,Z,W) +-spec vertexAttribI4iv(integer(),{integer(),integer(),integer(),integer()}) -> ok. +vertexAttribI4iv(Index,{X,Y,Z,W}) -> vertexAttribI4i(Index,X,Y,Z,W). + +%% @spec (Index,{X}) -> ok +%% @equiv vertexAttribI1ui(Index,X) +-spec vertexAttribI1uiv(integer(),{integer()}) -> ok. +vertexAttribI1uiv(Index,{X}) -> vertexAttribI1ui(Index,X). + +%% @spec (Index,{X,Y}) -> ok +%% @equiv vertexAttribI2ui(Index,X,Y) +-spec vertexAttribI2uiv(integer(),{integer(),integer()}) -> ok. +vertexAttribI2uiv(Index,{X,Y}) -> vertexAttribI2ui(Index,X,Y). + +%% @spec (Index,{X,Y,Z}) -> ok +%% @equiv vertexAttribI3ui(Index,X,Y,Z) +-spec vertexAttribI3uiv(integer(),{integer(),integer(),integer()}) -> ok. +vertexAttribI3uiv(Index,{X,Y,Z}) -> vertexAttribI3ui(Index,X,Y,Z). + +%% @spec (Index,{X,Y,Z,W}) -> ok +%% @equiv vertexAttribI4ui(Index,X,Y,Z,W) +-spec vertexAttribI4uiv(integer(),{integer(),integer(),integer(),integer()}) -> ok. +vertexAttribI4uiv(Index,{X,Y,Z,W}) -> vertexAttribI4ui(Index,X,Y,Z,W). + +%% @spec (Index::integer(),V::{integer(),integer(),integer(),integer()}) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttribI.xml">external</a> documentation. +-spec vertexAttribI4bv(integer(),{integer(),integer(),integer(),integer()}) -> ok. +vertexAttribI4bv(Index,{V1,V2,V3,V4}) -> + cast(5553, <<Index:?GLuint,V1:?GLbyte,V2:?GLbyte,V3:?GLbyte,V4:?GLbyte>>). + +%% @spec (Index::integer(),V::{integer(),integer(),integer(),integer()}) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttribI.xml">external</a> documentation. +-spec vertexAttribI4sv(integer(),{integer(),integer(),integer(),integer()}) -> ok. +vertexAttribI4sv(Index,{V1,V2,V3,V4}) -> + cast(5554, <<Index:?GLuint,V1:?GLshort,V2:?GLshort,V3:?GLshort,V4:?GLshort>>). + +%% @spec (Index::integer(),V::{integer(),integer(),integer(),integer()}) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttribI.xml">external</a> documentation. +-spec vertexAttribI4ubv(integer(),{integer(),integer(),integer(),integer()}) -> ok. +vertexAttribI4ubv(Index,{V1,V2,V3,V4}) -> + cast(5555, <<Index:?GLuint,V1:?GLubyte,V2:?GLubyte,V3:?GLubyte,V4:?GLubyte>>). + +%% @spec (Index::integer(),V::{integer(),integer(),integer(),integer()}) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttribI.xml">external</a> documentation. +-spec vertexAttribI4usv(integer(),{integer(),integer(),integer(),integer()}) -> ok. +vertexAttribI4usv(Index,{V1,V2,V3,V4}) -> + cast(5556, <<Index:?GLuint,V1:?GLushort,V2:?GLushort,V3:?GLushort,V4:?GLushort>>). -%% @spec (Program::integer(),Location::integer()) -> {integer()} +%% @spec (Program::integer(),Location::integer()) -> {integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer()} %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetUniform.xml">external</a> documentation. +-spec getUniformuiv(integer(),integer()) -> {integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer()}. getUniformuiv(Program,Location) -> - wxe_util:call(5545, <<Program:?GLuint,Location:?GLint>>). + call(5557, <<Program:?GLuint,Location:?GLint>>). %% @spec (Program::integer(),Color::integer(),Name::string()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBindFragDataLocation.xml">external</a> documentation. +-spec bindFragDataLocation(integer(),integer(),string()) -> ok. bindFragDataLocation(Program,Color,Name) -> - wxe_util:cast(5546, <<Program:?GLuint,Color:?GLuint,(list_to_binary([Name|[0]]))/binary,0:((8-((length(Name)+ 1) rem 8)) rem 8)>>). + cast(5558, <<Program:?GLuint,Color:?GLuint,(list_to_binary([Name|[0]]))/binary,0:((8-((length(Name)+ 1) rem 8)) rem 8)>>). %% @spec (Program::integer(),Name::string()) -> integer() %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetFragDataLocation.xml">external</a> documentation. +-spec getFragDataLocation(integer(),string()) -> integer(). getFragDataLocation(Program,Name) -> - wxe_util:call(5547, <<Program:?GLuint,(list_to_binary([Name|[0]]))/binary,0:((8-((length(Name)+ 5) rem 8)) rem 8)>>). + call(5559, <<Program:?GLuint,(list_to_binary([Name|[0]]))/binary,0:((8-((length(Name)+ 5) rem 8)) rem 8)>>). %% @spec (Location::integer(),V0::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation. +-spec uniform1ui(integer(),integer()) -> ok. uniform1ui(Location,V0) -> - wxe_util:cast(5548, <<Location:?GLint,V0:?GLuint>>). + cast(5560, <<Location:?GLint,V0:?GLuint>>). %% @spec (Location::integer(),V0::integer(),V1::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation. +-spec uniform2ui(integer(),integer(),integer()) -> ok. uniform2ui(Location,V0,V1) -> - wxe_util:cast(5549, <<Location:?GLint,V0:?GLuint,V1:?GLuint>>). + cast(5561, <<Location:?GLint,V0:?GLuint,V1:?GLuint>>). %% @spec (Location::integer(),V0::integer(),V1::integer(),V2::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation. +-spec uniform3ui(integer(),integer(),integer(),integer()) -> ok. uniform3ui(Location,V0,V1,V2) -> - wxe_util:cast(5550, <<Location:?GLint,V0:?GLuint,V1:?GLuint,V2:?GLuint>>). + cast(5562, <<Location:?GLint,V0:?GLuint,V1:?GLuint,V2:?GLuint>>). %% @spec (Location::integer(),V0::integer(),V1::integer(),V2::integer(),V3::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation. +-spec uniform4ui(integer(),integer(),integer(),integer(),integer()) -> ok. uniform4ui(Location,V0,V1,V2,V3) -> - wxe_util:cast(5551, <<Location:?GLint,V0:?GLuint,V1:?GLuint,V2:?GLuint,V3:?GLuint>>). + cast(5563, <<Location:?GLint,V0:?GLuint,V1:?GLuint,V2:?GLuint,V3:?GLuint>>). %% @spec (Location::integer(),Value::[integer()]) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation. +-spec uniform1uiv(integer(),[integer()]) -> ok. uniform1uiv(Location,Value) -> - wxe_util:cast(5552, <<Location:?GLint,(length(Value)):?GLuint, + cast(5564, <<Location:?GLint,(length(Value)):?GLuint, (<< <<C:?GLuint>> || C <- Value>>)/binary,0:(((length(Value)) rem 2)*32)>>). -%% @spec (Location::integer(),Value::[{integer()}]) -> ok +%% @spec (Location::integer(),Value::[{integer(),integer()}]) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation. +-spec uniform2uiv(integer(),[{integer(),integer()}]) -> ok. uniform2uiv(Location,Value) -> - wxe_util:cast(5553, <<Location:?GLint,(length(Value)):?GLuint, + cast(5565, <<Location:?GLint,(length(Value)):?GLuint, (<< <<V1:?GLuint,V2:?GLuint>> || {V1,V2} <- Value>>)/binary>>). -%% @spec (Location::integer(),Value::[{integer()}]) -> ok +%% @spec (Location::integer(),Value::[{integer(),integer(),integer()}]) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation. +-spec uniform3uiv(integer(),[{integer(),integer(),integer()}]) -> ok. uniform3uiv(Location,Value) -> - wxe_util:cast(5554, <<Location:?GLint,(length(Value)):?GLuint, + cast(5566, <<Location:?GLint,(length(Value)):?GLuint, (<< <<V1:?GLuint,V2:?GLuint,V3:?GLuint>> || {V1,V2,V3} <- Value>>)/binary>>). -%% @spec (Location::integer(),Value::[{integer()}]) -> ok +%% @spec (Location::integer(),Value::[{integer(),integer(),integer(),integer()}]) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation. +-spec uniform4uiv(integer(),[{integer(),integer(),integer(),integer()}]) -> ok. uniform4uiv(Location,Value) -> - wxe_util:cast(5555, <<Location:?GLint,(length(Value)):?GLuint, + cast(5567, <<Location:?GLint,(length(Value)):?GLuint, (<< <<V1:?GLuint,V2:?GLuint,V3:?GLuint,V4:?GLuint>> || {V1,V2,V3,V4} <- Value>>)/binary>>). %% @spec (Target::enum(),Pname::enum(),Params::{integer()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexParameterI.xml">external</a> documentation. +-spec texParameterIiv(enum(),enum(),{integer()}) -> ok. texParameterIiv(Target,Pname,Params) -> - wxe_util:cast(5556, <<Target:?GLenum,Pname:?GLenum,(size(Params)):?GLuint, + cast(5568, <<Target:?GLenum,Pname:?GLenum,(size(Params)):?GLuint, (<< <<C:?GLint>> ||C <- tuple_to_list(Params)>>)/binary,0:(((1+size(Params)) rem 2)*32)>>). %% @spec (Target::enum(),Pname::enum(),Params::{integer()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexParameterI.xml">external</a> documentation. +-spec texParameterIuiv(enum(),enum(),{integer()}) -> ok. texParameterIuiv(Target,Pname,Params) -> - wxe_util:cast(5557, <<Target:?GLenum,Pname:?GLenum,(size(Params)):?GLuint, + cast(5569, <<Target:?GLenum,Pname:?GLenum,(size(Params)):?GLuint, (<< <<C:?GLuint>> ||C <- tuple_to_list(Params)>>)/binary,0:(((1+size(Params)) rem 2)*32)>>). -%% @spec (Target::enum(),Pname::enum()) -> {integer()} +%% @spec (Target::enum(),Pname::enum()) -> {integer(),integer(),integer(),integer()} %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetTexParameterI.xml">external</a> documentation. +-spec getTexParameterIiv(enum(),enum()) -> {integer(),integer(),integer(),integer()}. getTexParameterIiv(Target,Pname) -> - wxe_util:call(5558, <<Target:?GLenum,Pname:?GLenum>>). + call(5570, <<Target:?GLenum,Pname:?GLenum>>). -%% @spec (Target::enum(),Pname::enum()) -> {integer()} +%% @spec (Target::enum(),Pname::enum()) -> {integer(),integer(),integer(),integer()} %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetTexParameterI.xml">external</a> documentation. +-spec getTexParameterIuiv(enum(),enum()) -> {integer(),integer(),integer(),integer()}. getTexParameterIuiv(Target,Pname) -> - wxe_util:call(5559, <<Target:?GLenum,Pname:?GLenum>>). + call(5571, <<Target:?GLenum,Pname:?GLenum>>). %% @spec (Buffer::enum(),Drawbuffer::integer(),Value::{integer()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glClearBuffer.xml">external</a> documentation. +-spec clearBufferiv(enum(),integer(),{integer()}) -> ok. clearBufferiv(Buffer,Drawbuffer,Value) -> - wxe_util:cast(5560, <<Buffer:?GLenum,Drawbuffer:?GLint,(size(Value)):?GLuint, + cast(5572, <<Buffer:?GLenum,Drawbuffer:?GLint,(size(Value)):?GLuint, (<< <<C:?GLint>> ||C <- tuple_to_list(Value)>>)/binary,0:(((1+size(Value)) rem 2)*32)>>). %% @spec (Buffer::enum(),Drawbuffer::integer(),Value::{integer()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glClearBuffer.xml">external</a> documentation. +-spec clearBufferuiv(enum(),integer(),{integer()}) -> ok. clearBufferuiv(Buffer,Drawbuffer,Value) -> - wxe_util:cast(5561, <<Buffer:?GLenum,Drawbuffer:?GLint,(size(Value)):?GLuint, + cast(5573, <<Buffer:?GLenum,Drawbuffer:?GLint,(size(Value)):?GLuint, (<< <<C:?GLuint>> ||C <- tuple_to_list(Value)>>)/binary,0:(((1+size(Value)) rem 2)*32)>>). %% @spec (Buffer::enum(),Drawbuffer::integer(),Value::{float()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glClearBuffer.xml">external</a> documentation. +-spec clearBufferfv(enum(),integer(),{float()}) -> ok. clearBufferfv(Buffer,Drawbuffer,Value) -> - wxe_util:cast(5562, <<Buffer:?GLenum,Drawbuffer:?GLint,(size(Value)):?GLuint, + cast(5574, <<Buffer:?GLenum,Drawbuffer:?GLint,(size(Value)):?GLuint, (<< <<C:?GLfloat>> ||C <- tuple_to_list(Value)>>)/binary,0:(((1+size(Value)) rem 2)*32)>>). %% @spec (Buffer::enum(),Drawbuffer::integer(),Depth::float(),Stencil::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glClearBufferfi.xml">external</a> documentation. +-spec clearBufferfi(enum(),integer(),float(),integer()) -> ok. clearBufferfi(Buffer,Drawbuffer,Depth,Stencil) -> - wxe_util:cast(5563, <<Buffer:?GLenum,Drawbuffer:?GLint,Depth:?GLfloat,Stencil:?GLint>>). + cast(5575, <<Buffer:?GLenum,Drawbuffer:?GLint,Depth:?GLfloat,Stencil:?GLint>>). %% @spec (Name::enum(),Index::integer()) -> string() %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetString.xml">external</a> documentation. +-spec getStringi(enum(),integer()) -> string(). getStringi(Name,Index) -> - wxe_util:call(5564, <<Name:?GLenum,Index:?GLuint>>). - -%% @spec (Index::integer(),X::integer()) -> ok -%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttribI.xml">external</a> documentation. -vertexAttribI1i(Index,X) -> - wxe_util:cast(5565, <<Index:?GLuint,X:?GLint>>). - -%% @spec (Index::integer(),X::integer(),Y::integer()) -> ok -%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttribI.xml">external</a> documentation. -vertexAttribI2i(Index,X,Y) -> - wxe_util:cast(5566, <<Index:?GLuint,X:?GLint,Y:?GLint>>). - -%% @spec (Index::integer(),X::integer(),Y::integer(),Z::integer()) -> ok -%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttribI.xml">external</a> documentation. -vertexAttribI3i(Index,X,Y,Z) -> - wxe_util:cast(5567, <<Index:?GLuint,X:?GLint,Y:?GLint,Z:?GLint>>). - -%% @spec (Index::integer(),X::integer(),Y::integer(),Z::integer(),W::integer()) -> ok -%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttribI.xml">external</a> documentation. -vertexAttribI4i(Index,X,Y,Z,W) -> - wxe_util:cast(5568, <<Index:?GLuint,X:?GLint,Y:?GLint,Z:?GLint,W:?GLint>>). - -%% @spec (Index::integer(),X::integer()) -> ok -%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttribI.xml">external</a> documentation. -vertexAttribI1ui(Index,X) -> - wxe_util:cast(5569, <<Index:?GLuint,X:?GLuint>>). - -%% @spec (Index::integer(),X::integer(),Y::integer()) -> ok -%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttribI.xml">external</a> documentation. -vertexAttribI2ui(Index,X,Y) -> - wxe_util:cast(5570, <<Index:?GLuint,X:?GLuint,Y:?GLuint>>). - -%% @spec (Index::integer(),X::integer(),Y::integer(),Z::integer()) -> ok -%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttribI.xml">external</a> documentation. -vertexAttribI3ui(Index,X,Y,Z) -> - wxe_util:cast(5571, <<Index:?GLuint,X:?GLuint,Y:?GLuint,Z:?GLuint>>). - -%% @spec (Index::integer(),X::integer(),Y::integer(),Z::integer(),W::integer()) -> ok -%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttribI.xml">external</a> documentation. -vertexAttribI4ui(Index,X,Y,Z,W) -> - wxe_util:cast(5572, <<Index:?GLuint,X:?GLuint,Y:?GLuint,Z:?GLuint,W:?GLuint>>). - -%% @spec (Index,{X}) -> ok -%% @equiv vertexAttribI1i(Index,X) -vertexAttribI1iv(Index,{X}) -> vertexAttribI1i(Index,X). - -%% @spec (Index,{X,Y}) -> ok -%% @equiv vertexAttribI2i(Index,X,Y) -vertexAttribI2iv(Index,{X,Y}) -> vertexAttribI2i(Index,X,Y). - -%% @spec (Index,{X,Y,Z}) -> ok -%% @equiv vertexAttribI3i(Index,X,Y,Z) -vertexAttribI3iv(Index,{X,Y,Z}) -> vertexAttribI3i(Index,X,Y,Z). - -%% @spec (Index,{X,Y,Z,W}) -> ok -%% @equiv vertexAttribI4i(Index,X,Y,Z,W) -vertexAttribI4iv(Index,{X,Y,Z,W}) -> vertexAttribI4i(Index,X,Y,Z,W). - -%% @spec (Index,{X}) -> ok -%% @equiv vertexAttribI1ui(Index,X) -vertexAttribI1uiv(Index,{X}) -> vertexAttribI1ui(Index,X). - -%% @spec (Index,{X,Y}) -> ok -%% @equiv vertexAttribI2ui(Index,X,Y) -vertexAttribI2uiv(Index,{X,Y}) -> vertexAttribI2ui(Index,X,Y). - -%% @spec (Index,{X,Y,Z}) -> ok -%% @equiv vertexAttribI3ui(Index,X,Y,Z) -vertexAttribI3uiv(Index,{X,Y,Z}) -> vertexAttribI3ui(Index,X,Y,Z). - -%% @spec (Index,{X,Y,Z,W}) -> ok -%% @equiv vertexAttribI4ui(Index,X,Y,Z,W) -vertexAttribI4uiv(Index,{X,Y,Z,W}) -> vertexAttribI4ui(Index,X,Y,Z,W). - -%% @spec (Index::integer(),V::{integer()}) -> ok -%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttribI.xml">external</a> documentation. -vertexAttribI4bv(Index,{V1,V2,V3,V4}) -> - wxe_util:cast(5573, <<Index:?GLuint,V1:?GLbyte,V2:?GLbyte,V3:?GLbyte,V4:?GLbyte>>). - -%% @spec (Index::integer(),V::{integer()}) -> ok -%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttribI.xml">external</a> documentation. -vertexAttribI4sv(Index,{V1,V2,V3,V4}) -> - wxe_util:cast(5574, <<Index:?GLuint,V1:?GLshort,V2:?GLshort,V3:?GLshort,V4:?GLshort>>). - -%% @spec (Index::integer(),V::{integer()}) -> ok -%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttribI.xml">external</a> documentation. -vertexAttribI4ubv(Index,{V1,V2,V3,V4}) -> - wxe_util:cast(5575, <<Index:?GLuint,V1:?GLubyte,V2:?GLubyte,V3:?GLubyte,V4:?GLubyte>>). - -%% @spec (Index::integer(),V::{integer()}) -> ok -%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttribI.xml">external</a> documentation. -vertexAttribI4usv(Index,{V1,V2,V3,V4}) -> - wxe_util:cast(5576, <<Index:?GLuint,V1:?GLushort,V2:?GLushort,V3:?GLushort,V4:?GLushort>>). + call(5576, <<Name:?GLenum,Index:?GLuint>>). %% @spec (Mode::enum(),First::integer(),Count::integer(),Primcount::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDrawArraysInstance.xml">external</a> documentation. +-spec drawArraysInstanced(enum(),integer(),integer(),integer()) -> ok. drawArraysInstanced(Mode,First,Count,Primcount) -> - wxe_util:cast(5577, <<Mode:?GLenum,First:?GLint,Count:?GLsizei,Primcount:?GLsizei>>). + cast(5577, <<Mode:?GLenum,First:?GLint,Count:?GLsizei,Primcount:?GLsizei>>). -%% @spec (Mode::enum(),Count::integer(),Type::enum(),Indices::offset()|binary(),Primcount::integer()) -> ok +%% @spec (Mode::enum(),Count::integer(),Type::enum(),Indices::offset()|mem(),Primcount::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDrawElementsInstance.xml">external</a> documentation. +-spec drawElementsInstanced(enum(),integer(),enum(),offset()|mem(),integer()) -> ok. drawElementsInstanced(Mode,Count,Type,Indices,Primcount) when is_integer(Indices) -> - wxe_util:cast(5578, <<Mode:?GLenum,Count:?GLsizei,Type:?GLenum,Indices:?GLuint,Primcount:?GLsizei>>); + cast(5578, <<Mode:?GLenum,Count:?GLsizei,Type:?GLenum,Indices:?GLuint,Primcount:?GLsizei>>); drawElementsInstanced(Mode,Count,Type,Indices,Primcount) -> - wxe_util:send_bin(Indices), - wxe_util:cast(5579, <<Mode:?GLenum,Count:?GLsizei,Type:?GLenum,Primcount:?GLsizei>>). + send_bin(Indices), + cast(5579, <<Mode:?GLenum,Count:?GLsizei,Type:?GLenum,Primcount:?GLsizei>>). %% @spec (Target::enum(),Internalformat::enum(),Buffer::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexBuffer.xml">external</a> documentation. +-spec texBuffer(enum(),enum(),integer()) -> ok. texBuffer(Target,Internalformat,Buffer) -> - wxe_util:cast(5580, <<Target:?GLenum,Internalformat:?GLenum,Buffer:?GLuint>>). + cast(5580, <<Target:?GLenum,Internalformat:?GLenum,Buffer:?GLuint>>). %% @spec (Index::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPrimitiveRestartIndex.xml">external</a> documentation. +-spec primitiveRestartIndex(integer()) -> ok. primitiveRestartIndex(Index) -> - wxe_util:cast(5581, <<Index:?GLuint>>). + cast(5581, <<Index:?GLuint>>). + +%% @spec (Target::enum(),Index::integer()) -> [integer()] +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetInteger64i_v.xml">external</a> documentation. +-spec getInteger64i_v(enum(),integer()) -> [integer()]. +getInteger64i_v(Target,Index) -> + call(5582, <<Target:?GLenum,Index:?GLuint>>). + +%% @spec (Target::enum(),Pname::enum()) -> [integer()] +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetBufferParameteri64v.xml">external</a> documentation. +-spec getBufferParameteri64v(enum(),enum()) -> [integer()]. +getBufferParameteri64v(Target,Pname) -> + call(5583, <<Target:?GLenum,Pname:?GLenum>>). + +%% @spec (Target::enum(),Attachment::enum(),Texture::integer(),Level::integer()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glFramebufferTexture.xml">external</a> documentation. +-spec framebufferTexture(enum(),enum(),integer(),integer()) -> ok. +framebufferTexture(Target,Attachment,Texture,Level) -> + cast(5584, <<Target:?GLenum,Attachment:?GLenum,Texture:?GLuint,Level:?GLint>>). -%% @spec (M::{float()}) -> ok +%% @spec (Index::integer(),Divisor::integer()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttribDivisor.xml">external</a> documentation. +-spec vertexAttribDivisor(integer(),integer()) -> ok. +vertexAttribDivisor(Index,Divisor) -> + cast(5585, <<Index:?GLuint,Divisor:?GLuint>>). + +%% @spec (Value::clamp()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMinSampleShading.xml">external</a> documentation. +-spec minSampleShading(clamp()) -> ok. +minSampleShading(Value) -> + cast(5586, <<Value:?GLclampf>>). + +%% @spec (Buf::integer(),Mode::enum()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBlendEquation.xml">external</a> documentation. +-spec blendEquationi(integer(),enum()) -> ok. +blendEquationi(Buf,Mode) -> + cast(5587, <<Buf:?GLuint,Mode:?GLenum>>). + +%% @spec (Buf::integer(),ModeRGB::enum(),ModeAlpha::enum()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBlendEquationSeparate.xml">external</a> documentation. +-spec blendEquationSeparatei(integer(),enum(),enum()) -> ok. +blendEquationSeparatei(Buf,ModeRGB,ModeAlpha) -> + cast(5588, <<Buf:?GLuint,ModeRGB:?GLenum,ModeAlpha:?GLenum>>). + +%% @spec (Buf::integer(),Src::enum(),Dst::enum()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBlendFunci.xml">external</a> documentation. +-spec blendFunci(integer(),enum(),enum()) -> ok. +blendFunci(Buf,Src,Dst) -> + cast(5589, <<Buf:?GLuint,Src:?GLenum,Dst:?GLenum>>). + +%% @spec (Buf::integer(),SrcRGB::enum(),DstRGB::enum(),SrcAlpha::enum(),DstAlpha::enum()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBlendFuncSeparate.xml">external</a> documentation. +-spec blendFuncSeparatei(integer(),enum(),enum(),enum(),enum()) -> ok. +blendFuncSeparatei(Buf,SrcRGB,DstRGB,SrcAlpha,DstAlpha) -> + cast(5590, <<Buf:?GLuint,SrcRGB:?GLenum,DstRGB:?GLenum,SrcAlpha:?GLenum,DstAlpha:?GLenum>>). + +%% @spec (M::{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glLoadTransposeMatrixARB.xml">external</a> documentation. +-spec loadTransposeMatrixfARB({float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}) -> ok. loadTransposeMatrixfARB({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12,M13,M14,M15,M16}) -> - wxe_util:cast(5582, <<M1:?GLfloat,M2:?GLfloat,M3:?GLfloat,M4:?GLfloat,M5:?GLfloat,M6:?GLfloat,M7:?GLfloat,M8:?GLfloat,M9:?GLfloat,M10:?GLfloat,M11:?GLfloat,M12:?GLfloat,M13:?GLfloat,M14:?GLfloat,M15:?GLfloat,M16:?GLfloat>>); + cast(5591, <<M1:?GLfloat,M2:?GLfloat,M3:?GLfloat,M4:?GLfloat,M5:?GLfloat,M6:?GLfloat,M7:?GLfloat,M8:?GLfloat,M9:?GLfloat,M10:?GLfloat,M11:?GLfloat,M12:?GLfloat,M13:?GLfloat,M14:?GLfloat,M15:?GLfloat,M16:?GLfloat>>); loadTransposeMatrixfARB({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12}) -> - wxe_util:cast(5582, <<M1:?GLfloat,M2:?GLfloat,M3:?GLfloat,0:?GLfloat,M4:?GLfloat,M5:?GLfloat,M6:?GLfloat,0:?GLfloat,M7:?GLfloat,M8:?GLfloat,M9:?GLfloat,0:?GLfloat,M10:?GLfloat,M11:?GLfloat,M12:?GLfloat,1:?GLfloat>>). + cast(5591, <<M1:?GLfloat,M2:?GLfloat,M3:?GLfloat,0:?GLfloat,M4:?GLfloat,M5:?GLfloat,M6:?GLfloat,0:?GLfloat,M7:?GLfloat,M8:?GLfloat,M9:?GLfloat,0:?GLfloat,M10:?GLfloat,M11:?GLfloat,M12:?GLfloat,1:?GLfloat>>). -%% @spec (M::{float()}) -> ok +%% @spec (M::{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glLoadTransposeMatrixARB.xml">external</a> documentation. +-spec loadTransposeMatrixdARB({float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}) -> ok. loadTransposeMatrixdARB({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12,M13,M14,M15,M16}) -> - wxe_util:cast(5583, <<M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,M13:?GLdouble,M14:?GLdouble,M15:?GLdouble,M16:?GLdouble>>); + cast(5592, <<M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,M13:?GLdouble,M14:?GLdouble,M15:?GLdouble,M16:?GLdouble>>); loadTransposeMatrixdARB({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12}) -> - wxe_util:cast(5583, <<M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,0:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,0:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,0:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,1:?GLdouble>>). + cast(5592, <<M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,0:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,0:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,0:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,1:?GLdouble>>). -%% @spec (M::{float()}) -> ok +%% @spec (M::{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMultTransposeMatrixARB.xml">external</a> documentation. +-spec multTransposeMatrixfARB({float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}) -> ok. multTransposeMatrixfARB({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12,M13,M14,M15,M16}) -> - wxe_util:cast(5584, <<M1:?GLfloat,M2:?GLfloat,M3:?GLfloat,M4:?GLfloat,M5:?GLfloat,M6:?GLfloat,M7:?GLfloat,M8:?GLfloat,M9:?GLfloat,M10:?GLfloat,M11:?GLfloat,M12:?GLfloat,M13:?GLfloat,M14:?GLfloat,M15:?GLfloat,M16:?GLfloat>>); + cast(5593, <<M1:?GLfloat,M2:?GLfloat,M3:?GLfloat,M4:?GLfloat,M5:?GLfloat,M6:?GLfloat,M7:?GLfloat,M8:?GLfloat,M9:?GLfloat,M10:?GLfloat,M11:?GLfloat,M12:?GLfloat,M13:?GLfloat,M14:?GLfloat,M15:?GLfloat,M16:?GLfloat>>); multTransposeMatrixfARB({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12}) -> - wxe_util:cast(5584, <<M1:?GLfloat,M2:?GLfloat,M3:?GLfloat,0:?GLfloat,M4:?GLfloat,M5:?GLfloat,M6:?GLfloat,0:?GLfloat,M7:?GLfloat,M8:?GLfloat,M9:?GLfloat,0:?GLfloat,M10:?GLfloat,M11:?GLfloat,M12:?GLfloat,1:?GLfloat>>). + cast(5593, <<M1:?GLfloat,M2:?GLfloat,M3:?GLfloat,0:?GLfloat,M4:?GLfloat,M5:?GLfloat,M6:?GLfloat,0:?GLfloat,M7:?GLfloat,M8:?GLfloat,M9:?GLfloat,0:?GLfloat,M10:?GLfloat,M11:?GLfloat,M12:?GLfloat,1:?GLfloat>>). -%% @spec (M::{float()}) -> ok +%% @spec (M::{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMultTransposeMatrixARB.xml">external</a> documentation. +-spec multTransposeMatrixdARB({float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}) -> ok. multTransposeMatrixdARB({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12,M13,M14,M15,M16}) -> - wxe_util:cast(5585, <<M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,M13:?GLdouble,M14:?GLdouble,M15:?GLdouble,M16:?GLdouble>>); + cast(5594, <<M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,M13:?GLdouble,M14:?GLdouble,M15:?GLdouble,M16:?GLdouble>>); multTransposeMatrixdARB({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12}) -> - wxe_util:cast(5585, <<M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,0:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,0:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,0:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,1:?GLdouble>>). + cast(5594, <<M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,0:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,0:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,0:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,1:?GLdouble>>). %% @spec (Weights::[integer()]) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glWeightARB.xml">external</a> documentation. +-spec weightbvARB([integer()]) -> ok. weightbvARB(Weights) -> - wxe_util:cast(5586, <<(length(Weights)):?GLuint, + cast(5595, <<(length(Weights)):?GLuint, (<< <<C:?GLbyte>> || C <- Weights>>)/binary,0:((8-((length(Weights)+ 4) rem 8)) rem 8)>>). %% @spec (Weights::[integer()]) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glWeightARB.xml">external</a> documentation. +-spec weightsvARB([integer()]) -> ok. weightsvARB(Weights) -> - wxe_util:cast(5587, <<(length(Weights)):?GLuint, + cast(5596, <<(length(Weights)):?GLuint, (<< <<C:?GLshort>> || C <- Weights>>)/binary,0:((8-((length(Weights)*2+ 4) rem 8)) rem 8)>>). %% @spec (Weights::[integer()]) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glWeightARB.xml">external</a> documentation. +-spec weightivARB([integer()]) -> ok. weightivARB(Weights) -> - wxe_util:cast(5588, <<(length(Weights)):?GLuint, + cast(5597, <<(length(Weights)):?GLuint, (<< <<C:?GLint>> || C <- Weights>>)/binary,0:(((1+length(Weights)) rem 2)*32)>>). %% @spec (Weights::[float()]) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glWeightARB.xml">external</a> documentation. +-spec weightfvARB([float()]) -> ok. weightfvARB(Weights) -> - wxe_util:cast(5589, <<(length(Weights)):?GLuint, + cast(5598, <<(length(Weights)):?GLuint, (<< <<C:?GLfloat>> || C <- Weights>>)/binary,0:(((1+length(Weights)) rem 2)*32)>>). %% @spec (Weights::[float()]) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glWeightARB.xml">external</a> documentation. +-spec weightdvARB([float()]) -> ok. weightdvARB(Weights) -> - wxe_util:cast(5590, <<(length(Weights)):?GLuint,0:32, + cast(5599, <<(length(Weights)):?GLuint,0:32, (<< <<C:?GLdouble>> || C <- Weights>>)/binary>>). %% @spec (Weights::[integer()]) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glWeightARB.xml">external</a> documentation. +-spec weightubvARB([integer()]) -> ok. weightubvARB(Weights) -> - wxe_util:cast(5591, <<(length(Weights)):?GLuint, + cast(5600, <<(length(Weights)):?GLuint, (<< <<C:?GLubyte>> || C <- Weights>>)/binary,0:((8-((length(Weights)+ 4) rem 8)) rem 8)>>). %% @spec (Weights::[integer()]) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glWeightARB.xml">external</a> documentation. +-spec weightusvARB([integer()]) -> ok. weightusvARB(Weights) -> - wxe_util:cast(5592, <<(length(Weights)):?GLuint, + cast(5601, <<(length(Weights)):?GLuint, (<< <<C:?GLushort>> || C <- Weights>>)/binary,0:((8-((length(Weights)*2+ 4) rem 8)) rem 8)>>). %% @spec (Weights::[integer()]) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glWeightARB.xml">external</a> documentation. +-spec weightuivARB([integer()]) -> ok. weightuivARB(Weights) -> - wxe_util:cast(5593, <<(length(Weights)):?GLuint, + cast(5602, <<(length(Weights)):?GLuint, (<< <<C:?GLuint>> || C <- Weights>>)/binary,0:(((1+length(Weights)) rem 2)*32)>>). %% @spec (Count::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexBlenARB.xml">external</a> documentation. +-spec vertexBlendARB(integer()) -> ok. vertexBlendARB(Count) -> - wxe_util:cast(5594, <<Count:?GLint>>). + cast(5603, <<Count:?GLint>>). %% @spec (Index::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCurrentPaletteMatrixARB.xml">external</a> documentation. +-spec currentPaletteMatrixARB(integer()) -> ok. currentPaletteMatrixARB(Index) -> - wxe_util:cast(5595, <<Index:?GLint>>). + cast(5604, <<Index:?GLint>>). %% @spec (Indices::[integer()]) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMatrixIndexARB.xml">external</a> documentation. +-spec matrixIndexubvARB([integer()]) -> ok. matrixIndexubvARB(Indices) -> - wxe_util:cast(5596, <<(length(Indices)):?GLuint, + cast(5605, <<(length(Indices)):?GLuint, (<< <<C:?GLubyte>> || C <- Indices>>)/binary,0:((8-((length(Indices)+ 4) rem 8)) rem 8)>>). %% @spec (Indices::[integer()]) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMatrixIndexARB.xml">external</a> documentation. +-spec matrixIndexusvARB([integer()]) -> ok. matrixIndexusvARB(Indices) -> - wxe_util:cast(5597, <<(length(Indices)):?GLuint, + cast(5606, <<(length(Indices)):?GLuint, (<< <<C:?GLushort>> || C <- Indices>>)/binary,0:((8-((length(Indices)*2+ 4) rem 8)) rem 8)>>). %% @spec (Indices::[integer()]) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glMatrixIndexARB.xml">external</a> documentation. +-spec matrixIndexuivARB([integer()]) -> ok. matrixIndexuivARB(Indices) -> - wxe_util:cast(5598, <<(length(Indices)):?GLuint, + cast(5607, <<(length(Indices)):?GLuint, (<< <<C:?GLuint>> || C <- Indices>>)/binary,0:(((1+length(Indices)) rem 2)*32)>>). %% @spec (Target::enum(),Format::enum(),String::string()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramStringARB.xml">external</a> documentation. +-spec programStringARB(enum(),enum(),string()) -> ok. programStringARB(Target,Format,String) -> - wxe_util:cast(5599, <<Target:?GLenum,Format:?GLenum,(list_to_binary([String|[0]]))/binary,0:((8-((length(String)+ 1) rem 8)) rem 8)>>). + cast(5608, <<Target:?GLenum,Format:?GLenum,(list_to_binary([String|[0]]))/binary,0:((8-((length(String)+ 1) rem 8)) rem 8)>>). %% @spec (Target::enum(),Program::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBindProgramARB.xml">external</a> documentation. +-spec bindProgramARB(enum(),integer()) -> ok. bindProgramARB(Target,Program) -> - wxe_util:cast(5600, <<Target:?GLenum,Program:?GLuint>>). + cast(5609, <<Target:?GLenum,Program:?GLuint>>). %% @spec (Programs::[integer()]) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDeleteProgramsARB.xml">external</a> documentation. +-spec deleteProgramsARB([integer()]) -> ok. deleteProgramsARB(Programs) -> - wxe_util:cast(5601, <<(length(Programs)):?GLuint, + cast(5610, <<(length(Programs)):?GLuint, (<< <<C:?GLuint>> || C <- Programs>>)/binary,0:(((1+length(Programs)) rem 2)*32)>>). %% @spec (N::integer()) -> [integer()] %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGenProgramsARB.xml">external</a> documentation. +-spec genProgramsARB(integer()) -> [integer()]. genProgramsARB(N) -> - wxe_util:call(5602, <<N:?GLsizei>>). + call(5611, <<N:?GLsizei>>). %% @spec (Target::enum(),Index::integer(),X::float(),Y::float(),Z::float(),W::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramEnvParameterARB.xml">external</a> documentation. +-spec programEnvParameter4dARB(enum(),integer(),float(),float(),float(),float()) -> ok. programEnvParameter4dARB(Target,Index,X,Y,Z,W) -> - wxe_util:cast(5603, <<Target:?GLenum,Index:?GLuint,X:?GLdouble,Y:?GLdouble,Z:?GLdouble,W:?GLdouble>>). + cast(5612, <<Target:?GLenum,Index:?GLuint,X:?GLdouble,Y:?GLdouble,Z:?GLdouble,W:?GLdouble>>). -%% @spec (Target::enum(),Index::integer(),Params::{float()}) -> ok +%% @spec (Target::enum(),Index::integer(),Params::{float(),float(),float(),float()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramEnvParameterARB.xml">external</a> documentation. +-spec programEnvParameter4dvARB(enum(),integer(),{float(),float(),float(),float()}) -> ok. programEnvParameter4dvARB(Target,Index,{P1,P2,P3,P4}) -> - wxe_util:cast(5604, <<Target:?GLenum,Index:?GLuint,P1:?GLdouble,P2:?GLdouble,P3:?GLdouble,P4:?GLdouble>>). + cast(5613, <<Target:?GLenum,Index:?GLuint,P1:?GLdouble,P2:?GLdouble,P3:?GLdouble,P4:?GLdouble>>). %% @spec (Target::enum(),Index::integer(),X::float(),Y::float(),Z::float(),W::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramEnvParameterARB.xml">external</a> documentation. +-spec programEnvParameter4fARB(enum(),integer(),float(),float(),float(),float()) -> ok. programEnvParameter4fARB(Target,Index,X,Y,Z,W) -> - wxe_util:cast(5605, <<Target:?GLenum,Index:?GLuint,X:?GLfloat,Y:?GLfloat,Z:?GLfloat,W:?GLfloat>>). + cast(5614, <<Target:?GLenum,Index:?GLuint,X:?GLfloat,Y:?GLfloat,Z:?GLfloat,W:?GLfloat>>). -%% @spec (Target::enum(),Index::integer(),Params::{float()}) -> ok +%% @spec (Target::enum(),Index::integer(),Params::{float(),float(),float(),float()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramEnvParameterARB.xml">external</a> documentation. +-spec programEnvParameter4fvARB(enum(),integer(),{float(),float(),float(),float()}) -> ok. programEnvParameter4fvARB(Target,Index,{P1,P2,P3,P4}) -> - wxe_util:cast(5606, <<Target:?GLenum,Index:?GLuint,P1:?GLfloat,P2:?GLfloat,P3:?GLfloat,P4:?GLfloat>>). + cast(5615, <<Target:?GLenum,Index:?GLuint,P1:?GLfloat,P2:?GLfloat,P3:?GLfloat,P4:?GLfloat>>). %% @spec (Target::enum(),Index::integer(),X::float(),Y::float(),Z::float(),W::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramLocalParameterARB.xml">external</a> documentation. +-spec programLocalParameter4dARB(enum(),integer(),float(),float(),float(),float()) -> ok. programLocalParameter4dARB(Target,Index,X,Y,Z,W) -> - wxe_util:cast(5607, <<Target:?GLenum,Index:?GLuint,X:?GLdouble,Y:?GLdouble,Z:?GLdouble,W:?GLdouble>>). + cast(5616, <<Target:?GLenum,Index:?GLuint,X:?GLdouble,Y:?GLdouble,Z:?GLdouble,W:?GLdouble>>). -%% @spec (Target::enum(),Index::integer(),Params::{float()}) -> ok +%% @spec (Target::enum(),Index::integer(),Params::{float(),float(),float(),float()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramLocalParameterARB.xml">external</a> documentation. +-spec programLocalParameter4dvARB(enum(),integer(),{float(),float(),float(),float()}) -> ok. programLocalParameter4dvARB(Target,Index,{P1,P2,P3,P4}) -> - wxe_util:cast(5608, <<Target:?GLenum,Index:?GLuint,P1:?GLdouble,P2:?GLdouble,P3:?GLdouble,P4:?GLdouble>>). + cast(5617, <<Target:?GLenum,Index:?GLuint,P1:?GLdouble,P2:?GLdouble,P3:?GLdouble,P4:?GLdouble>>). %% @spec (Target::enum(),Index::integer(),X::float(),Y::float(),Z::float(),W::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramLocalParameterARB.xml">external</a> documentation. +-spec programLocalParameter4fARB(enum(),integer(),float(),float(),float(),float()) -> ok. programLocalParameter4fARB(Target,Index,X,Y,Z,W) -> - wxe_util:cast(5609, <<Target:?GLenum,Index:?GLuint,X:?GLfloat,Y:?GLfloat,Z:?GLfloat,W:?GLfloat>>). + cast(5618, <<Target:?GLenum,Index:?GLuint,X:?GLfloat,Y:?GLfloat,Z:?GLfloat,W:?GLfloat>>). -%% @spec (Target::enum(),Index::integer(),Params::{float()}) -> ok +%% @spec (Target::enum(),Index::integer(),Params::{float(),float(),float(),float()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramLocalParameterARB.xml">external</a> documentation. +-spec programLocalParameter4fvARB(enum(),integer(),{float(),float(),float(),float()}) -> ok. programLocalParameter4fvARB(Target,Index,{P1,P2,P3,P4}) -> - wxe_util:cast(5610, <<Target:?GLenum,Index:?GLuint,P1:?GLfloat,P2:?GLfloat,P3:?GLfloat,P4:?GLfloat>>). + cast(5619, <<Target:?GLenum,Index:?GLuint,P1:?GLfloat,P2:?GLfloat,P3:?GLfloat,P4:?GLfloat>>). -%% @spec (Target::enum(),Index::integer()) -> {float()} +%% @spec (Target::enum(),Index::integer()) -> {float(),float(),float(),float()} %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetProgramEnvParameterARB.xml">external</a> documentation. +-spec getProgramEnvParameterdvARB(enum(),integer()) -> {float(),float(),float(),float()}. getProgramEnvParameterdvARB(Target,Index) -> - wxe_util:call(5611, <<Target:?GLenum,Index:?GLuint>>). + call(5620, <<Target:?GLenum,Index:?GLuint>>). -%% @spec (Target::enum(),Index::integer()) -> {float()} +%% @spec (Target::enum(),Index::integer()) -> {float(),float(),float(),float()} %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetProgramEnvParameterARB.xml">external</a> documentation. +-spec getProgramEnvParameterfvARB(enum(),integer()) -> {float(),float(),float(),float()}. getProgramEnvParameterfvARB(Target,Index) -> - wxe_util:call(5612, <<Target:?GLenum,Index:?GLuint>>). + call(5621, <<Target:?GLenum,Index:?GLuint>>). -%% @spec (Target::enum(),Index::integer()) -> {float()} +%% @spec (Target::enum(),Index::integer()) -> {float(),float(),float(),float()} %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetProgramLocalParameterARB.xml">external</a> documentation. +-spec getProgramLocalParameterdvARB(enum(),integer()) -> {float(),float(),float(),float()}. getProgramLocalParameterdvARB(Target,Index) -> - wxe_util:call(5613, <<Target:?GLenum,Index:?GLuint>>). + call(5622, <<Target:?GLenum,Index:?GLuint>>). -%% @spec (Target::enum(),Index::integer()) -> {float()} +%% @spec (Target::enum(),Index::integer()) -> {float(),float(),float(),float()} %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetProgramLocalParameterARB.xml">external</a> documentation. +-spec getProgramLocalParameterfvARB(enum(),integer()) -> {float(),float(),float(),float()}. getProgramLocalParameterfvARB(Target,Index) -> - wxe_util:call(5614, <<Target:?GLenum,Index:?GLuint>>). + call(5623, <<Target:?GLenum,Index:?GLuint>>). -%% @spec (Target::enum(),Pname::enum(),String::wx:wx_mem()) -> ok +%% @spec (Target::enum(),Pname::enum(),String::mem()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetProgramStringARB.xml">external</a> documentation. +-spec getProgramStringARB(enum(),enum(),mem()) -> ok. getProgramStringARB(Target,Pname,String) -> - wxe_util:send_bin(String#wx_mem.bin), - wxe_util:call(5615, <<Target:?GLenum,Pname:?GLenum>>). + send_bin(String), + call(5624, <<Target:?GLenum,Pname:?GLenum>>). + +%% @spec (Target::enum(),Pname::enum()) -> [integer()] +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetBufferParameterARB.xml">external</a> documentation. +-spec getBufferParameterivARB(enum(),enum()) -> [integer()]. +getBufferParameterivARB(Target,Pname) -> + call(5625, <<Target:?GLenum,Pname:?GLenum>>). %% @spec (Obj::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDeleteObjectARB.xml">external</a> documentation. +-spec deleteObjectARB(integer()) -> ok. deleteObjectARB(Obj) -> - wxe_util:cast(5616, <<Obj:?GLhandleARB>>). + cast(5626, <<Obj:?GLhandleARB>>). %% @spec (Pname::enum()) -> integer() %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetHandleARB.xml">external</a> documentation. +-spec getHandleARB(enum()) -> integer(). getHandleARB(Pname) -> - wxe_util:call(5617, <<Pname:?GLenum>>). + call(5627, <<Pname:?GLenum>>). %% @spec (ContainerObj::integer(),AttachedObj::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDetachObjectARB.xml">external</a> documentation. +-spec detachObjectARB(integer(),integer()) -> ok. detachObjectARB(ContainerObj,AttachedObj) -> - wxe_util:cast(5618, <<ContainerObj:?GLhandleARB,AttachedObj:?GLhandleARB>>). + cast(5628, <<ContainerObj:?GLhandleARB,AttachedObj:?GLhandleARB>>). %% @spec (ShaderType::enum()) -> integer() %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCreateShaderObjectARB.xml">external</a> documentation. +-spec createShaderObjectARB(enum()) -> integer(). createShaderObjectARB(ShaderType) -> - wxe_util:call(5619, <<ShaderType:?GLenum>>). + call(5629, <<ShaderType:?GLenum>>). %% @spec (ShaderObj::integer(),String::[string()]) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glShaderSourceARB.xml">external</a> documentation. +-spec shaderSourceARB(integer(),[string()]) -> ok. shaderSourceARB(ShaderObj,String) -> StringTemp = list_to_binary([[Str|[0]] || Str <- String ]), - wxe_util:cast(5620, <<ShaderObj:?GLhandleARB,(length(String)):?GLuint,(size(StringTemp)):?GLuint,(StringTemp)/binary,0:((8-((size(StringTemp)+4) rem 8)) rem 8)>>). + cast(5630, <<ShaderObj:?GLhandleARB,(length(String)):?GLuint,(size(StringTemp)):?GLuint,(StringTemp)/binary,0:((8-((size(StringTemp)+4) rem 8)) rem 8)>>). %% @spec (ShaderObj::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCompileShaderARB.xml">external</a> documentation. +-spec compileShaderARB(integer()) -> ok. compileShaderARB(ShaderObj) -> - wxe_util:cast(5621, <<ShaderObj:?GLhandleARB>>). + cast(5631, <<ShaderObj:?GLhandleARB>>). %% @spec () -> integer() %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCreateProgramObjectARB.xml">external</a> documentation. +-spec createProgramObjectARB() -> integer(). createProgramObjectARB() -> - wxe_util:call(5622, <<>>). + call(5632, <<>>). %% @spec (ContainerObj::integer(),Obj::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glAttachObjectARB.xml">external</a> documentation. +-spec attachObjectARB(integer(),integer()) -> ok. attachObjectARB(ContainerObj,Obj) -> - wxe_util:cast(5623, <<ContainerObj:?GLhandleARB,Obj:?GLhandleARB>>). + cast(5633, <<ContainerObj:?GLhandleARB,Obj:?GLhandleARB>>). %% @spec (ProgramObj::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glLinkProgramARB.xml">external</a> documentation. +-spec linkProgramARB(integer()) -> ok. linkProgramARB(ProgramObj) -> - wxe_util:cast(5624, <<ProgramObj:?GLhandleARB>>). + cast(5634, <<ProgramObj:?GLhandleARB>>). %% @spec (ProgramObj::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUseProgramObjectARB.xml">external</a> documentation. +-spec useProgramObjectARB(integer()) -> ok. useProgramObjectARB(ProgramObj) -> - wxe_util:cast(5625, <<ProgramObj:?GLhandleARB>>). + cast(5635, <<ProgramObj:?GLhandleARB>>). %% @spec (ProgramObj::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glValidateProgramARB.xml">external</a> documentation. +-spec validateProgramARB(integer()) -> ok. validateProgramARB(ProgramObj) -> - wxe_util:cast(5626, <<ProgramObj:?GLhandleARB>>). + cast(5636, <<ProgramObj:?GLhandleARB>>). %% @spec (Obj::integer(),Pname::enum()) -> float() %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetObjectParameterARB.xml">external</a> documentation. +-spec getObjectParameterfvARB(integer(),enum()) -> float(). getObjectParameterfvARB(Obj,Pname) -> - wxe_util:call(5627, <<Obj:?GLhandleARB,Pname:?GLenum>>). + call(5637, <<Obj:?GLhandleARB,Pname:?GLenum>>). %% @spec (Obj::integer(),Pname::enum()) -> integer() %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetObjectParameterARB.xml">external</a> documentation. +-spec getObjectParameterivARB(integer(),enum()) -> integer(). getObjectParameterivARB(Obj,Pname) -> - wxe_util:call(5628, <<Obj:?GLhandleARB,Pname:?GLenum>>). + call(5638, <<Obj:?GLhandleARB,Pname:?GLenum>>). %% @spec (Obj::integer(),MaxLength::integer()) -> string() %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetInfoLogARB.xml">external</a> documentation. +-spec getInfoLogARB(integer(),integer()) -> string(). getInfoLogARB(Obj,MaxLength) -> - wxe_util:call(5629, <<Obj:?GLhandleARB,MaxLength:?GLsizei>>). + call(5639, <<Obj:?GLhandleARB,MaxLength:?GLsizei>>). %% @spec (ContainerObj::integer(),MaxCount::integer()) -> [integer()] %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetAttachedObjectsARB.xml">external</a> documentation. +-spec getAttachedObjectsARB(integer(),integer()) -> [integer()]. getAttachedObjectsARB(ContainerObj,MaxCount) -> - wxe_util:call(5630, <<ContainerObj:?GLhandleARB,MaxCount:?GLsizei>>). + call(5640, <<ContainerObj:?GLhandleARB,MaxCount:?GLsizei>>). %% @spec (ProgramObj::integer(),Name::string()) -> integer() %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetUniformLocationARB.xml">external</a> documentation. +-spec getUniformLocationARB(integer(),string()) -> integer(). getUniformLocationARB(ProgramObj,Name) -> - wxe_util:call(5631, <<ProgramObj:?GLhandleARB,(list_to_binary([Name|[0]]))/binary,0:((8-((length(Name)+ 1) rem 8)) rem 8)>>). + call(5641, <<ProgramObj:?GLhandleARB,(list_to_binary([Name|[0]]))/binary,0:((8-((length(Name)+ 1) rem 8)) rem 8)>>). %% @spec (ProgramObj::integer(),Index::integer(),MaxLength::integer()) -> {Size::integer(),Type::enum(),Name::string()} %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetActiveUniformARB.xml">external</a> documentation. +-spec getActiveUniformARB(integer(),integer(),integer()) -> {integer(),enum(),string()}. getActiveUniformARB(ProgramObj,Index,MaxLength) -> - wxe_util:call(5632, <<ProgramObj:?GLhandleARB,Index:?GLuint,MaxLength:?GLsizei>>). + call(5642, <<ProgramObj:?GLhandleARB,Index:?GLuint,MaxLength:?GLsizei>>). -%% @spec (ProgramObj::integer(),Location::integer()) -> {float()} +%% @spec (ProgramObj::integer(),Location::integer()) -> {float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()} %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetUniformARB.xml">external</a> documentation. +-spec getUniformfvARB(integer(),integer()) -> {float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}. getUniformfvARB(ProgramObj,Location) -> - wxe_util:call(5633, <<ProgramObj:?GLhandleARB,Location:?GLint>>). + call(5643, <<ProgramObj:?GLhandleARB,Location:?GLint>>). -%% @spec (ProgramObj::integer(),Location::integer()) -> {integer()} +%% @spec (ProgramObj::integer(),Location::integer()) -> {integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer()} %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetUniformARB.xml">external</a> documentation. +-spec getUniformivARB(integer(),integer()) -> {integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer()}. getUniformivARB(ProgramObj,Location) -> - wxe_util:call(5634, <<ProgramObj:?GLhandleARB,Location:?GLint>>). + call(5644, <<ProgramObj:?GLhandleARB,Location:?GLint>>). %% @spec (Obj::integer(),MaxLength::integer()) -> string() %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetShaderSourceARB.xml">external</a> documentation. +-spec getShaderSourceARB(integer(),integer()) -> string(). getShaderSourceARB(Obj,MaxLength) -> - wxe_util:call(5635, <<Obj:?GLhandleARB,MaxLength:?GLsizei>>). + call(5645, <<Obj:?GLhandleARB,MaxLength:?GLsizei>>). %% @spec (ProgramObj::integer(),Index::integer(),Name::string()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBindAttribLocationARB.xml">external</a> documentation. +-spec bindAttribLocationARB(integer(),integer(),string()) -> ok. bindAttribLocationARB(ProgramObj,Index,Name) -> - wxe_util:cast(5636, <<ProgramObj:?GLhandleARB,Index:?GLuint,(list_to_binary([Name|[0]]))/binary,0:((8-((length(Name)+ 5) rem 8)) rem 8)>>). + cast(5646, <<ProgramObj:?GLhandleARB,Index:?GLuint,(list_to_binary([Name|[0]]))/binary,0:((8-((length(Name)+ 5) rem 8)) rem 8)>>). %% @spec (ProgramObj::integer(),Index::integer(),MaxLength::integer()) -> {Size::integer(),Type::enum(),Name::string()} %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetActiveAttribARB.xml">external</a> documentation. +-spec getActiveAttribARB(integer(),integer(),integer()) -> {integer(),enum(),string()}. getActiveAttribARB(ProgramObj,Index,MaxLength) -> - wxe_util:call(5637, <<ProgramObj:?GLhandleARB,Index:?GLuint,MaxLength:?GLsizei>>). + call(5647, <<ProgramObj:?GLhandleARB,Index:?GLuint,MaxLength:?GLsizei>>). %% @spec (ProgramObj::integer(),Name::string()) -> integer() %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetAttribLocationARB.xml">external</a> documentation. +-spec getAttribLocationARB(integer(),string()) -> integer(). getAttribLocationARB(ProgramObj,Name) -> - wxe_util:call(5638, <<ProgramObj:?GLhandleARB,(list_to_binary([Name|[0]]))/binary,0:((8-((length(Name)+ 1) rem 8)) rem 8)>>). + call(5648, <<ProgramObj:?GLhandleARB,(list_to_binary([Name|[0]]))/binary,0:((8-((length(Name)+ 1) rem 8)) rem 8)>>). %% @spec (Renderbuffer::integer()) -> 0|1 %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glIsRenderbuffer.xml">external</a> documentation. +-spec isRenderbuffer(integer()) -> 0|1. isRenderbuffer(Renderbuffer) -> - wxe_util:call(5639, <<Renderbuffer:?GLuint>>). + call(5649, <<Renderbuffer:?GLuint>>). %% @spec (Target::enum(),Renderbuffer::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBindRenderbuffer.xml">external</a> documentation. +-spec bindRenderbuffer(enum(),integer()) -> ok. bindRenderbuffer(Target,Renderbuffer) -> - wxe_util:cast(5640, <<Target:?GLenum,Renderbuffer:?GLuint>>). + cast(5650, <<Target:?GLenum,Renderbuffer:?GLuint>>). %% @spec (Renderbuffers::[integer()]) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDeleteRenderbuffers.xml">external</a> documentation. +-spec deleteRenderbuffers([integer()]) -> ok. deleteRenderbuffers(Renderbuffers) -> - wxe_util:cast(5641, <<(length(Renderbuffers)):?GLuint, + cast(5651, <<(length(Renderbuffers)):?GLuint, (<< <<C:?GLuint>> || C <- Renderbuffers>>)/binary,0:(((1+length(Renderbuffers)) rem 2)*32)>>). %% @spec (N::integer()) -> [integer()] %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGenRenderbuffers.xml">external</a> documentation. +-spec genRenderbuffers(integer()) -> [integer()]. genRenderbuffers(N) -> - wxe_util:call(5642, <<N:?GLsizei>>). + call(5652, <<N:?GLsizei>>). %% @spec (Target::enum(),Internalformat::enum(),Width::integer(),Height::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glRenderbufferStorage.xml">external</a> documentation. +-spec renderbufferStorage(enum(),enum(),integer(),integer()) -> ok. renderbufferStorage(Target,Internalformat,Width,Height) -> - wxe_util:cast(5643, <<Target:?GLenum,Internalformat:?GLenum,Width:?GLsizei,Height:?GLsizei>>). + cast(5653, <<Target:?GLenum,Internalformat:?GLenum,Width:?GLsizei,Height:?GLsizei>>). %% @spec (Target::enum(),Pname::enum()) -> integer() %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetRenderbufferParameter.xml">external</a> documentation. +-spec getRenderbufferParameteriv(enum(),enum()) -> integer(). getRenderbufferParameteriv(Target,Pname) -> - wxe_util:call(5644, <<Target:?GLenum,Pname:?GLenum>>). + call(5654, <<Target:?GLenum,Pname:?GLenum>>). %% @spec (Framebuffer::integer()) -> 0|1 %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glIsFramebuffer.xml">external</a> documentation. +-spec isFramebuffer(integer()) -> 0|1. isFramebuffer(Framebuffer) -> - wxe_util:call(5645, <<Framebuffer:?GLuint>>). + call(5655, <<Framebuffer:?GLuint>>). %% @spec (Target::enum(),Framebuffer::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBindFramebuffer.xml">external</a> documentation. +-spec bindFramebuffer(enum(),integer()) -> ok. bindFramebuffer(Target,Framebuffer) -> - wxe_util:cast(5646, <<Target:?GLenum,Framebuffer:?GLuint>>). + cast(5656, <<Target:?GLenum,Framebuffer:?GLuint>>). %% @spec (Framebuffers::[integer()]) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDeleteFramebuffers.xml">external</a> documentation. +-spec deleteFramebuffers([integer()]) -> ok. deleteFramebuffers(Framebuffers) -> - wxe_util:cast(5647, <<(length(Framebuffers)):?GLuint, + cast(5657, <<(length(Framebuffers)):?GLuint, (<< <<C:?GLuint>> || C <- Framebuffers>>)/binary,0:(((1+length(Framebuffers)) rem 2)*32)>>). %% @spec (N::integer()) -> [integer()] %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGenFramebuffers.xml">external</a> documentation. +-spec genFramebuffers(integer()) -> [integer()]. genFramebuffers(N) -> - wxe_util:call(5648, <<N:?GLsizei>>). + call(5658, <<N:?GLsizei>>). %% @spec (Target::enum()) -> enum() %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCheckFramebufferStatus.xml">external</a> documentation. +-spec checkFramebufferStatus(enum()) -> enum(). checkFramebufferStatus(Target) -> - wxe_util:call(5649, <<Target:?GLenum>>). + call(5659, <<Target:?GLenum>>). %% @spec (Target::enum(),Attachment::enum(),Textarget::enum(),Texture::integer(),Level::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glFramebufferTexture1D.xml">external</a> documentation. +-spec framebufferTexture1D(enum(),enum(),enum(),integer(),integer()) -> ok. framebufferTexture1D(Target,Attachment,Textarget,Texture,Level) -> - wxe_util:cast(5650, <<Target:?GLenum,Attachment:?GLenum,Textarget:?GLenum,Texture:?GLuint,Level:?GLint>>). + cast(5660, <<Target:?GLenum,Attachment:?GLenum,Textarget:?GLenum,Texture:?GLuint,Level:?GLint>>). %% @spec (Target::enum(),Attachment::enum(),Textarget::enum(),Texture::integer(),Level::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glFramebufferTexture2D.xml">external</a> documentation. +-spec framebufferTexture2D(enum(),enum(),enum(),integer(),integer()) -> ok. framebufferTexture2D(Target,Attachment,Textarget,Texture,Level) -> - wxe_util:cast(5651, <<Target:?GLenum,Attachment:?GLenum,Textarget:?GLenum,Texture:?GLuint,Level:?GLint>>). + cast(5661, <<Target:?GLenum,Attachment:?GLenum,Textarget:?GLenum,Texture:?GLuint,Level:?GLint>>). %% @spec (Target::enum(),Attachment::enum(),Textarget::enum(),Texture::integer(),Level::integer(),Zoffset::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glFramebufferTexture3D.xml">external</a> documentation. +-spec framebufferTexture3D(enum(),enum(),enum(),integer(),integer(),integer()) -> ok. framebufferTexture3D(Target,Attachment,Textarget,Texture,Level,Zoffset) -> - wxe_util:cast(5652, <<Target:?GLenum,Attachment:?GLenum,Textarget:?GLenum,Texture:?GLuint,Level:?GLint,Zoffset:?GLint>>). + cast(5662, <<Target:?GLenum,Attachment:?GLenum,Textarget:?GLenum,Texture:?GLuint,Level:?GLint,Zoffset:?GLint>>). %% @spec (Target::enum(),Attachment::enum(),Renderbuffertarget::enum(),Renderbuffer::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glFramebufferRenderbuffer.xml">external</a> documentation. +-spec framebufferRenderbuffer(enum(),enum(),enum(),integer()) -> ok. framebufferRenderbuffer(Target,Attachment,Renderbuffertarget,Renderbuffer) -> - wxe_util:cast(5653, <<Target:?GLenum,Attachment:?GLenum,Renderbuffertarget:?GLenum,Renderbuffer:?GLuint>>). + cast(5663, <<Target:?GLenum,Attachment:?GLenum,Renderbuffertarget:?GLenum,Renderbuffer:?GLuint>>). %% @spec (Target::enum(),Attachment::enum(),Pname::enum()) -> integer() %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetFramebufferAttachmentParameter.xml">external</a> documentation. +-spec getFramebufferAttachmentParameteriv(enum(),enum(),enum()) -> integer(). getFramebufferAttachmentParameteriv(Target,Attachment,Pname) -> - wxe_util:call(5654, <<Target:?GLenum,Attachment:?GLenum,Pname:?GLenum>>). + call(5664, <<Target:?GLenum,Attachment:?GLenum,Pname:?GLenum>>). %% @spec (Target::enum()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGenerateMipmap.xml">external</a> documentation. +-spec generateMipmap(enum()) -> ok. generateMipmap(Target) -> - wxe_util:cast(5655, <<Target:?GLenum>>). + cast(5665, <<Target:?GLenum>>). %% @spec (SrcX0::integer(),SrcY0::integer(),SrcX1::integer(),SrcY1::integer(),DstX0::integer(),DstY0::integer(),DstX1::integer(),DstY1::integer(),Mask::integer(),Filter::enum()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBlitFramebuffer.xml">external</a> documentation. +-spec blitFramebuffer(integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),enum()) -> ok. blitFramebuffer(SrcX0,SrcY0,SrcX1,SrcY1,DstX0,DstY0,DstX1,DstY1,Mask,Filter) -> - wxe_util:cast(5656, <<SrcX0:?GLint,SrcY0:?GLint,SrcX1:?GLint,SrcY1:?GLint,DstX0:?GLint,DstY0:?GLint,DstX1:?GLint,DstY1:?GLint,Mask:?GLbitfield,Filter:?GLenum>>). + cast(5666, <<SrcX0:?GLint,SrcY0:?GLint,SrcX1:?GLint,SrcY1:?GLint,DstX0:?GLint,DstY0:?GLint,DstX1:?GLint,DstY1:?GLint,Mask:?GLbitfield,Filter:?GLenum>>). %% @spec (Target::enum(),Samples::integer(),Internalformat::enum(),Width::integer(),Height::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glRenderbufferStorageMultisample.xml">external</a> documentation. +-spec renderbufferStorageMultisample(enum(),integer(),enum(),integer(),integer()) -> ok. renderbufferStorageMultisample(Target,Samples,Internalformat,Width,Height) -> - wxe_util:cast(5657, <<Target:?GLenum,Samples:?GLsizei,Internalformat:?GLenum,Width:?GLsizei,Height:?GLsizei>>). + cast(5667, <<Target:?GLenum,Samples:?GLsizei,Internalformat:?GLenum,Width:?GLsizei,Height:?GLsizei>>). %% @spec (Target::enum(),Attachment::enum(),Texture::integer(),Level::integer(),Layer::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glFramebufferTextureLayer.xml">external</a> documentation. +-spec framebufferTextureLayer(enum(),enum(),integer(),integer(),integer()) -> ok. framebufferTextureLayer(Target,Attachment,Texture,Level,Layer) -> - wxe_util:cast(5658, <<Target:?GLenum,Attachment:?GLenum,Texture:?GLuint,Level:?GLint,Layer:?GLint>>). - -%% @spec (Program::integer(),Pname::enum(),Value::integer()) -> ok -%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramParameterARB.xml">external</a> documentation. -programParameteriARB(Program,Pname,Value) -> - wxe_util:cast(5659, <<Program:?GLuint,Pname:?GLenum,Value:?GLint>>). - -%% @spec (Target::enum(),Attachment::enum(),Texture::integer(),Level::integer()) -> ok -%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glFramebufferTextureARB.xml">external</a> documentation. -framebufferTextureARB(Target,Attachment,Texture,Level) -> - wxe_util:cast(5660, <<Target:?GLenum,Attachment:?GLenum,Texture:?GLuint,Level:?GLint>>). + cast(5668, <<Target:?GLenum,Attachment:?GLenum,Texture:?GLuint,Level:?GLint,Layer:?GLint>>). %% @spec (Target::enum(),Attachment::enum(),Texture::integer(),Level::integer(),Face::enum()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glFramebufferTextureFaceARB.xml">external</a> documentation. +-spec framebufferTextureFaceARB(enum(),enum(),integer(),integer(),enum()) -> ok. framebufferTextureFaceARB(Target,Attachment,Texture,Level,Face) -> - wxe_util:cast(5661, <<Target:?GLenum,Attachment:?GLenum,Texture:?GLuint,Level:?GLint,Face:?GLenum>>). - -%% @spec (Index::integer(),Divisor::integer()) -> ok -%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttribDivisorARB.xml">external</a> documentation. -vertexAttribDivisorARB(Index,Divisor) -> - wxe_util:cast(5662, <<Index:?GLuint,Divisor:?GLuint>>). + cast(5669, <<Target:?GLenum,Attachment:?GLenum,Texture:?GLuint,Level:?GLint,Face:?GLenum>>). %% @spec (Target::enum(),Offset::integer(),Length::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glFlushMappedBufferRange.xml">external</a> documentation. +-spec flushMappedBufferRange(enum(),integer(),integer()) -> ok. flushMappedBufferRange(Target,Offset,Length) -> - wxe_util:cast(5663, <<Target:?GLenum,0:32,Offset:?GLintptr,Length:?GLsizeiptr>>). + cast(5670, <<Target:?GLenum,0:32,Offset:?GLintptr,Length:?GLsizeiptr>>). %% @spec (Array::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBindVertexArray.xml">external</a> documentation. +-spec bindVertexArray(integer()) -> ok. bindVertexArray(Array) -> - wxe_util:cast(5664, <<Array:?GLuint>>). + cast(5671, <<Array:?GLuint>>). %% @spec (Arrays::[integer()]) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDeleteVertexArrays.xml">external</a> documentation. +-spec deleteVertexArrays([integer()]) -> ok. deleteVertexArrays(Arrays) -> - wxe_util:cast(5665, <<(length(Arrays)):?GLuint, + cast(5672, <<(length(Arrays)):?GLuint, (<< <<C:?GLuint>> || C <- Arrays>>)/binary,0:(((1+length(Arrays)) rem 2)*32)>>). %% @spec (N::integer()) -> [integer()] %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGenVertexArrays.xml">external</a> documentation. +-spec genVertexArrays(integer()) -> [integer()]. genVertexArrays(N) -> - wxe_util:call(5666, <<N:?GLsizei>>). + call(5673, <<N:?GLsizei>>). %% @spec (Array::integer()) -> 0|1 %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glIsVertexArray.xml">external</a> documentation. +-spec isVertexArray(integer()) -> 0|1. isVertexArray(Array) -> - wxe_util:call(5667, <<Array:?GLuint>>). + call(5674, <<Array:?GLuint>>). %% @spec (Program::integer(),UniformNames::[string()]) -> [integer()] %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetUniformIndices.xml">external</a> documentation. +-spec getUniformIndices(integer(),[string()]) -> [integer()]. getUniformIndices(Program,UniformNames) -> UniformNamesTemp = list_to_binary([[Str|[0]] || Str <- UniformNames ]), - wxe_util:call(5668, <<Program:?GLuint,(length(UniformNames)):?GLuint,(size(UniformNamesTemp)):?GLuint,(UniformNamesTemp)/binary,0:((8-((size(UniformNamesTemp)+0) rem 8)) rem 8)>>). + call(5675, <<Program:?GLuint,(length(UniformNames)):?GLuint,(size(UniformNamesTemp)):?GLuint,(UniformNamesTemp)/binary,0:((8-((size(UniformNamesTemp)+0) rem 8)) rem 8)>>). %% @spec (Program::integer(),UniformIndices::[integer()],Pname::enum()) -> [integer()] %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetActiveUniforms.xml">external</a> documentation. +-spec getActiveUniformsiv(integer(),[integer()],enum()) -> [integer()]. getActiveUniformsiv(Program,UniformIndices,Pname) -> - wxe_util:call(5669, <<Program:?GLuint,(length(UniformIndices)):?GLuint, + call(5676, <<Program:?GLuint,(length(UniformIndices)):?GLuint, (<< <<C:?GLuint>> || C <- UniformIndices>>)/binary,0:(((length(UniformIndices)) rem 2)*32),Pname:?GLenum>>). %% @spec (Program::integer(),UniformIndex::integer(),BufSize::integer()) -> string() %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetActiveUniformName.xml">external</a> documentation. +-spec getActiveUniformName(integer(),integer(),integer()) -> string(). getActiveUniformName(Program,UniformIndex,BufSize) -> - wxe_util:call(5670, <<Program:?GLuint,UniformIndex:?GLuint,BufSize:?GLsizei>>). + call(5677, <<Program:?GLuint,UniformIndex:?GLuint,BufSize:?GLsizei>>). %% @spec (Program::integer(),UniformBlockName::string()) -> integer() %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetUniformBlockIndex.xml">external</a> documentation. +-spec getUniformBlockIndex(integer(),string()) -> integer(). getUniformBlockIndex(Program,UniformBlockName) -> - wxe_util:call(5671, <<Program:?GLuint,(list_to_binary([UniformBlockName|[0]]))/binary,0:((8-((length(UniformBlockName)+ 5) rem 8)) rem 8)>>). + call(5678, <<Program:?GLuint,(list_to_binary([UniformBlockName|[0]]))/binary,0:((8-((length(UniformBlockName)+ 5) rem 8)) rem 8)>>). -%% @spec (Program::integer(),UniformBlockIndex::integer(),Pname::enum(),Params::wx:wx_mem()) -> ok +%% @spec (Program::integer(),UniformBlockIndex::integer(),Pname::enum(),Params::mem()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetActiveUniformBlock.xml">external</a> documentation. +-spec getActiveUniformBlockiv(integer(),integer(),enum(),mem()) -> ok. getActiveUniformBlockiv(Program,UniformBlockIndex,Pname,Params) -> - wxe_util:send_bin(Params#wx_mem.bin), - wxe_util:call(5672, <<Program:?GLuint,UniformBlockIndex:?GLuint,Pname:?GLenum>>). + send_bin(Params), + call(5679, <<Program:?GLuint,UniformBlockIndex:?GLuint,Pname:?GLenum>>). %% @spec (Program::integer(),UniformBlockIndex::integer(),BufSize::integer()) -> string() %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetActiveUniformBlockName.xml">external</a> documentation. +-spec getActiveUniformBlockName(integer(),integer(),integer()) -> string(). getActiveUniformBlockName(Program,UniformBlockIndex,BufSize) -> - wxe_util:call(5673, <<Program:?GLuint,UniformBlockIndex:?GLuint,BufSize:?GLsizei>>). + call(5680, <<Program:?GLuint,UniformBlockIndex:?GLuint,BufSize:?GLsizei>>). %% @spec (Program::integer(),UniformBlockIndex::integer(),UniformBlockBinding::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniformBlockBinding.xml">external</a> documentation. +-spec uniformBlockBinding(integer(),integer(),integer()) -> ok. uniformBlockBinding(Program,UniformBlockIndex,UniformBlockBinding) -> - wxe_util:cast(5674, <<Program:?GLuint,UniformBlockIndex:?GLuint,UniformBlockBinding:?GLuint>>). + cast(5681, <<Program:?GLuint,UniformBlockIndex:?GLuint,UniformBlockBinding:?GLuint>>). %% @spec (ReadTarget::enum(),WriteTarget::enum(),ReadOffset::integer(),WriteOffset::integer(),Size::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCopyBufferSubData.xml">external</a> documentation. +-spec copyBufferSubData(enum(),enum(),integer(),integer(),integer()) -> ok. copyBufferSubData(ReadTarget,WriteTarget,ReadOffset,WriteOffset,Size) -> - wxe_util:cast(5675, <<ReadTarget:?GLenum,WriteTarget:?GLenum,ReadOffset:?GLintptr,WriteOffset:?GLintptr,Size:?GLsizeiptr>>). + cast(5682, <<ReadTarget:?GLenum,WriteTarget:?GLenum,ReadOffset:?GLintptr,WriteOffset:?GLintptr,Size:?GLsizeiptr>>). + +%% @spec (Mode::enum(),Count::integer(),Type::enum(),Indices::offset()|mem(),Basevertex::integer()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDrawElementsBaseVertex.xml">external</a> documentation. +-spec drawElementsBaseVertex(enum(),integer(),enum(),offset()|mem(),integer()) -> ok. +drawElementsBaseVertex(Mode,Count,Type,Indices,Basevertex) when is_integer(Indices) -> + cast(5683, <<Mode:?GLenum,Count:?GLsizei,Type:?GLenum,Indices:?GLuint,Basevertex:?GLint>>); +drawElementsBaseVertex(Mode,Count,Type,Indices,Basevertex) -> + send_bin(Indices), + cast(5684, <<Mode:?GLenum,Count:?GLsizei,Type:?GLenum,Basevertex:?GLint>>). + +%% @spec (Mode::enum(),Start::integer(),End::integer(),Count::integer(),Type::enum(),Indices::offset()|mem(),Basevertex::integer()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDrawRangeElementsBaseVertex.xml">external</a> documentation. +-spec drawRangeElementsBaseVertex(enum(),integer(),integer(),integer(),enum(),offset()|mem(),integer()) -> ok. +drawRangeElementsBaseVertex(Mode,Start,End,Count,Type,Indices,Basevertex) when is_integer(Indices) -> + cast(5685, <<Mode:?GLenum,Start:?GLuint,End:?GLuint,Count:?GLsizei,Type:?GLenum,Indices:?GLuint,Basevertex:?GLint>>); +drawRangeElementsBaseVertex(Mode,Start,End,Count,Type,Indices,Basevertex) -> + send_bin(Indices), + cast(5686, <<Mode:?GLenum,Start:?GLuint,End:?GLuint,Count:?GLsizei,Type:?GLenum,Basevertex:?GLint>>). + +%% @spec (Mode::enum(),Count::integer(),Type::enum(),Indices::offset()|mem(),Primcount::integer(),Basevertex::integer()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDrawElementsInstancedBaseVertex.xml">external</a> documentation. +-spec drawElementsInstancedBaseVertex(enum(),integer(),enum(),offset()|mem(),integer(),integer()) -> ok. +drawElementsInstancedBaseVertex(Mode,Count,Type,Indices,Primcount,Basevertex) when is_integer(Indices) -> + cast(5687, <<Mode:?GLenum,Count:?GLsizei,Type:?GLenum,Indices:?GLuint,Primcount:?GLsizei,Basevertex:?GLint>>); +drawElementsInstancedBaseVertex(Mode,Count,Type,Indices,Primcount,Basevertex) -> + send_bin(Indices), + cast(5688, <<Mode:?GLenum,Count:?GLsizei,Type:?GLenum,Primcount:?GLsizei,Basevertex:?GLint>>). + +%% @spec (Mode::enum()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProvokingVertex.xml">external</a> documentation. +-spec provokingVertex(enum()) -> ok. +provokingVertex(Mode) -> + cast(5689, <<Mode:?GLenum>>). + +%% @spec (Condition::enum(),Flags::integer()) -> integer() +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glFenceSync.xml">external</a> documentation. +-spec fenceSync(enum(),integer()) -> integer(). +fenceSync(Condition,Flags) -> + call(5690, <<Condition:?GLenum,Flags:?GLbitfield>>). + +%% @spec (Sync::integer()) -> 0|1 +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glIsSync.xml">external</a> documentation. +-spec isSync(integer()) -> 0|1. +isSync(Sync) -> + call(5691, <<Sync:?GLsync>>). + +%% @spec (Sync::integer()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDeleteSync.xml">external</a> documentation. +-spec deleteSync(integer()) -> ok. +deleteSync(Sync) -> + cast(5692, <<Sync:?GLsync>>). + +%% @spec (Sync::integer(),Flags::integer(),Timeout::integer()) -> enum() +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glClientWaitSync.xml">external</a> documentation. +-spec clientWaitSync(integer(),integer(),integer()) -> enum(). +clientWaitSync(Sync,Flags,Timeout) -> + call(5693, <<Sync:?GLsync,Flags:?GLbitfield,0:32,Timeout:?GLuint64>>). + +%% @spec (Sync::integer(),Flags::integer(),Timeout::integer()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glWaitSync.xml">external</a> documentation. +-spec waitSync(integer(),integer(),integer()) -> ok. +waitSync(Sync,Flags,Timeout) -> + cast(5694, <<Sync:?GLsync,Flags:?GLbitfield,0:32,Timeout:?GLuint64>>). + +%% @spec (Pname::enum()) -> [integer()] +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetInteger64v.xml">external</a> documentation. +-spec getInteger64v(enum()) -> [integer()]. +getInteger64v(Pname) -> + call(5695, <<Pname:?GLenum>>). + +%% @spec (Sync::integer(),Pname::enum(),BufSize::integer()) -> [integer()] +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetSync.xml">external</a> documentation. +-spec getSynciv(integer(),enum(),integer()) -> [integer()]. +getSynciv(Sync,Pname,BufSize) -> + call(5696, <<Sync:?GLsync,Pname:?GLenum,BufSize:?GLsizei>>). + +%% @spec (Target::enum(),Samples::integer(),Internalformat::integer(),Width::integer(),Height::integer(),Fixedsamplelocations::0|1) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexImage2DMultisample.xml">external</a> documentation. +-spec texImage2DMultisample(enum(),integer(),integer(),integer(),integer(),0|1) -> ok. +texImage2DMultisample(Target,Samples,Internalformat,Width,Height,Fixedsamplelocations) -> + cast(5697, <<Target:?GLenum,Samples:?GLsizei,Internalformat:?GLint,Width:?GLsizei,Height:?GLsizei,Fixedsamplelocations:?GLboolean>>). + +%% @spec (Target::enum(),Samples::integer(),Internalformat::integer(),Width::integer(),Height::integer(),Depth::integer(),Fixedsamplelocations::0|1) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glTexImage3DMultisample.xml">external</a> documentation. +-spec texImage3DMultisample(enum(),integer(),integer(),integer(),integer(),integer(),0|1) -> ok. +texImage3DMultisample(Target,Samples,Internalformat,Width,Height,Depth,Fixedsamplelocations) -> + cast(5698, <<Target:?GLenum,Samples:?GLsizei,Internalformat:?GLint,Width:?GLsizei,Height:?GLsizei,Depth:?GLsizei,Fixedsamplelocations:?GLboolean>>). + +%% @spec (Pname::enum(),Index::integer()) -> {float(),float()} +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetMultisample.xml">external</a> documentation. +-spec getMultisamplefv(enum(),integer()) -> {float(),float()}. +getMultisamplefv(Pname,Index) -> + call(5699, <<Pname:?GLenum,Index:?GLuint>>). + +%% @spec (Index::integer(),Mask::integer()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glSampleMaski.xml">external</a> documentation. +-spec sampleMaski(integer(),integer()) -> ok. +sampleMaski(Index,Mask) -> + cast(5700, <<Index:?GLuint,Mask:?GLbitfield>>). + +%% @spec (Type::enum(),Name::string(),String::string()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glNamedStringARB.xml">external</a> documentation. +-spec namedStringARB(enum(),string(),string()) -> ok. +namedStringARB(Type,Name,String) -> + cast(5701, <<Type:?GLenum,(list_to_binary([Name|[0]]))/binary,0:((8-((length(Name)+ 5) rem 8)) rem 8),(list_to_binary([String|[0]]))/binary,0:((8-((length(String)+ 1) rem 8)) rem 8)>>). + +%% @spec (Name::string()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDeleteNamedStringARB.xml">external</a> documentation. +-spec deleteNamedStringARB(string()) -> ok. +deleteNamedStringARB(Name) -> + cast(5702, <<(list_to_binary([Name|[0]]))/binary,0:((8-((length(Name)+ 1) rem 8)) rem 8)>>). + +%% @spec (Shader::integer(),Path::[string()]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCompileShaderIncludeARB.xml">external</a> documentation. +-spec compileShaderIncludeARB(integer(),[string()]) -> ok. +compileShaderIncludeARB(Shader,Path) -> + PathTemp = list_to_binary([[Str|[0]] || Str <- Path ]), + cast(5703, <<Shader:?GLuint,(length(Path)):?GLuint,(size(PathTemp)):?GLuint,(PathTemp)/binary,0:((8-((size(PathTemp)+0) rem 8)) rem 8)>>). + +%% @spec (Name::string()) -> 0|1 +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glIsNamedStringARB.xml">external</a> documentation. +-spec isNamedStringARB(string()) -> 0|1. +isNamedStringARB(Name) -> + call(5704, <<(list_to_binary([Name|[0]]))/binary,0:((8-((length(Name)+ 1) rem 8)) rem 8)>>). + +%% @spec (Name::string(),BufSize::integer()) -> string() +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetNamedStringARB.xml">external</a> documentation. +-spec getNamedStringARB(string(),integer()) -> string(). +getNamedStringARB(Name,BufSize) -> + call(5705, <<(list_to_binary([Name|[0]]))/binary,0:((8-((length(Name)+ 1) rem 8)) rem 8),BufSize:?GLsizei>>). + +%% @spec (Name::string(),Pname::enum()) -> integer() +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetNamedStringARB.xml">external</a> documentation. +-spec getNamedStringivARB(string(),enum()) -> integer(). +getNamedStringivARB(Name,Pname) -> + call(5706, <<(list_to_binary([Name|[0]]))/binary,0:((8-((length(Name)+ 1) rem 8)) rem 8),Pname:?GLenum>>). + +%% @spec (Program::integer(),ColorNumber::integer(),Index::integer(),Name::string()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBindFragDataLocationIndexe.xml">external</a> documentation. +-spec bindFragDataLocationIndexed(integer(),integer(),integer(),string()) -> ok. +bindFragDataLocationIndexed(Program,ColorNumber,Index,Name) -> + cast(5707, <<Program:?GLuint,ColorNumber:?GLuint,Index:?GLuint,(list_to_binary([Name|[0]]))/binary,0:((8-((length(Name)+ 5) rem 8)) rem 8)>>). + +%% @spec (Program::integer(),Name::string()) -> integer() +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetFragDataIndex.xml">external</a> documentation. +-spec getFragDataIndex(integer(),string()) -> integer(). +getFragDataIndex(Program,Name) -> + call(5708, <<Program:?GLuint,(list_to_binary([Name|[0]]))/binary,0:((8-((length(Name)+ 5) rem 8)) rem 8)>>). + +%% @spec (Count::integer()) -> [integer()] +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGenSamplers.xml">external</a> documentation. +-spec genSamplers(integer()) -> [integer()]. +genSamplers(Count) -> + call(5709, <<Count:?GLsizei>>). + +%% @spec (Samplers::[integer()]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDeleteSamplers.xml">external</a> documentation. +-spec deleteSamplers([integer()]) -> ok. +deleteSamplers(Samplers) -> + cast(5710, <<(length(Samplers)):?GLuint, + (<< <<C:?GLuint>> || C <- Samplers>>)/binary,0:(((1+length(Samplers)) rem 2)*32)>>). + +%% @spec (Sampler::integer()) -> 0|1 +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glIsSampler.xml">external</a> documentation. +-spec isSampler(integer()) -> 0|1. +isSampler(Sampler) -> + call(5711, <<Sampler:?GLuint>>). + +%% @spec (Unit::integer(),Sampler::integer()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBindSampler.xml">external</a> documentation. +-spec bindSampler(integer(),integer()) -> ok. +bindSampler(Unit,Sampler) -> + cast(5712, <<Unit:?GLuint,Sampler:?GLuint>>). + +%% @spec (Sampler::integer(),Pname::enum(),Param::integer()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glSamplerParameter.xml">external</a> documentation. +-spec samplerParameteri(integer(),enum(),integer()) -> ok. +samplerParameteri(Sampler,Pname,Param) -> + cast(5713, <<Sampler:?GLuint,Pname:?GLenum,Param:?GLint>>). + +%% @spec (Sampler::integer(),Pname::enum(),Param::[integer()]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glSamplerParameter.xml">external</a> documentation. +-spec samplerParameteriv(integer(),enum(),[integer()]) -> ok. +samplerParameteriv(Sampler,Pname,Param) -> + cast(5714, <<Sampler:?GLuint,Pname:?GLenum,(length(Param)):?GLuint, + (<< <<C:?GLint>> || C <- Param>>)/binary,0:(((1+length(Param)) rem 2)*32)>>). + +%% @spec (Sampler::integer(),Pname::enum(),Param::float()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glSamplerParameter.xml">external</a> documentation. +-spec samplerParameterf(integer(),enum(),float()) -> ok. +samplerParameterf(Sampler,Pname,Param) -> + cast(5715, <<Sampler:?GLuint,Pname:?GLenum,Param:?GLfloat>>). + +%% @spec (Sampler::integer(),Pname::enum(),Param::[float()]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glSamplerParameter.xml">external</a> documentation. +-spec samplerParameterfv(integer(),enum(),[float()]) -> ok. +samplerParameterfv(Sampler,Pname,Param) -> + cast(5716, <<Sampler:?GLuint,Pname:?GLenum,(length(Param)):?GLuint, + (<< <<C:?GLfloat>> || C <- Param>>)/binary,0:(((1+length(Param)) rem 2)*32)>>). + +%% @spec (Sampler::integer(),Pname::enum(),Param::[integer()]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glSamplerParameterI.xml">external</a> documentation. +-spec samplerParameterIiv(integer(),enum(),[integer()]) -> ok. +samplerParameterIiv(Sampler,Pname,Param) -> + cast(5717, <<Sampler:?GLuint,Pname:?GLenum,(length(Param)):?GLuint, + (<< <<C:?GLint>> || C <- Param>>)/binary,0:(((1+length(Param)) rem 2)*32)>>). + +%% @spec (Sampler::integer(),Pname::enum(),Param::[integer()]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glSamplerParameterI.xml">external</a> documentation. +-spec samplerParameterIuiv(integer(),enum(),[integer()]) -> ok. +samplerParameterIuiv(Sampler,Pname,Param) -> + cast(5718, <<Sampler:?GLuint,Pname:?GLenum,(length(Param)):?GLuint, + (<< <<C:?GLuint>> || C <- Param>>)/binary,0:(((1+length(Param)) rem 2)*32)>>). + +%% @spec (Sampler::integer(),Pname::enum()) -> [integer()] +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetSamplerParameter.xml">external</a> documentation. +-spec getSamplerParameteriv(integer(),enum()) -> [integer()]. +getSamplerParameteriv(Sampler,Pname) -> + call(5719, <<Sampler:?GLuint,Pname:?GLenum>>). + +%% @spec (Sampler::integer(),Pname::enum()) -> [integer()] +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetSamplerParameterI.xml">external</a> documentation. +-spec getSamplerParameterIiv(integer(),enum()) -> [integer()]. +getSamplerParameterIiv(Sampler,Pname) -> + call(5720, <<Sampler:?GLuint,Pname:?GLenum>>). + +%% @spec (Sampler::integer(),Pname::enum()) -> [float()] +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetSamplerParameter.xml">external</a> documentation. +-spec getSamplerParameterfv(integer(),enum()) -> [float()]. +getSamplerParameterfv(Sampler,Pname) -> + call(5721, <<Sampler:?GLuint,Pname:?GLenum>>). + +%% @spec (Sampler::integer(),Pname::enum()) -> [integer()] +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetSamplerParameterI.xml">external</a> documentation. +-spec getSamplerParameterIuiv(integer(),enum()) -> [integer()]. +getSamplerParameterIuiv(Sampler,Pname) -> + call(5722, <<Sampler:?GLuint,Pname:?GLenum>>). + +%% @spec (Id::integer(),Target::enum()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glQueryCounter.xml">external</a> documentation. +-spec queryCounter(integer(),enum()) -> ok. +queryCounter(Id,Target) -> + cast(5723, <<Id:?GLuint,Target:?GLenum>>). + +%% @spec (Id::integer(),Pname::enum()) -> integer() +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetQueryObjecti64v.xml">external</a> documentation. +-spec getQueryObjecti64v(integer(),enum()) -> integer(). +getQueryObjecti64v(Id,Pname) -> + call(5724, <<Id:?GLuint,Pname:?GLenum>>). + +%% @spec (Id::integer(),Pname::enum()) -> integer() +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetQueryObjectui64v.xml">external</a> documentation. +-spec getQueryObjectui64v(integer(),enum()) -> integer(). +getQueryObjectui64v(Id,Pname) -> + call(5725, <<Id:?GLuint,Pname:?GLenum>>). + +%% @spec (Mode::enum(),Indirect::offset()|mem()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDrawArraysIndirect.xml">external</a> documentation. +-spec drawArraysIndirect(enum(),offset()|mem()) -> ok. +drawArraysIndirect(Mode,Indirect) when is_integer(Indirect) -> + cast(5726, <<Mode:?GLenum,Indirect:?GLuint>>); +drawArraysIndirect(Mode,Indirect) -> + send_bin(Indirect), + cast(5727, <<Mode:?GLenum>>). + +%% @spec (Mode::enum(),Type::enum(),Indirect::offset()|mem()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDrawElementsIndirect.xml">external</a> documentation. +-spec drawElementsIndirect(enum(),enum(),offset()|mem()) -> ok. +drawElementsIndirect(Mode,Type,Indirect) when is_integer(Indirect) -> + cast(5728, <<Mode:?GLenum,Type:?GLenum,Indirect:?GLuint>>); +drawElementsIndirect(Mode,Type,Indirect) -> + send_bin(Indirect), + cast(5729, <<Mode:?GLenum,Type:?GLenum>>). + +%% @spec (Location::integer(),X::float()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation. +-spec uniform1d(integer(),float()) -> ok. +uniform1d(Location,X) -> + cast(5730, <<Location:?GLint,0:32,X:?GLdouble>>). + +%% @spec (Location::integer(),X::float(),Y::float()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation. +-spec uniform2d(integer(),float(),float()) -> ok. +uniform2d(Location,X,Y) -> + cast(5731, <<Location:?GLint,0:32,X:?GLdouble,Y:?GLdouble>>). + +%% @spec (Location::integer(),X::float(),Y::float(),Z::float()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation. +-spec uniform3d(integer(),float(),float(),float()) -> ok. +uniform3d(Location,X,Y,Z) -> + cast(5732, <<Location:?GLint,0:32,X:?GLdouble,Y:?GLdouble,Z:?GLdouble>>). + +%% @spec (Location::integer(),X::float(),Y::float(),Z::float(),W::float()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation. +-spec uniform4d(integer(),float(),float(),float(),float()) -> ok. +uniform4d(Location,X,Y,Z,W) -> + cast(5733, <<Location:?GLint,0:32,X:?GLdouble,Y:?GLdouble,Z:?GLdouble,W:?GLdouble>>). + +%% @spec (Location::integer(),Value::[float()]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation. +-spec uniform1dv(integer(),[float()]) -> ok. +uniform1dv(Location,Value) -> + cast(5734, <<Location:?GLint,0:32,(length(Value)):?GLuint,0:32, + (<< <<C:?GLdouble>> || C <- Value>>)/binary>>). + +%% @spec (Location::integer(),Value::[{float(),float()}]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation. +-spec uniform2dv(integer(),[{float(),float()}]) -> ok. +uniform2dv(Location,Value) -> + cast(5735, <<Location:?GLint,0:32,(length(Value)):?GLuint,0:32, + (<< <<V1:?GLdouble,V2:?GLdouble>> || {V1,V2} <- Value>>)/binary>>). + +%% @spec (Location::integer(),Value::[{float(),float(),float()}]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation. +-spec uniform3dv(integer(),[{float(),float(),float()}]) -> ok. +uniform3dv(Location,Value) -> + cast(5736, <<Location:?GLint,0:32,(length(Value)):?GLuint,0:32, + (<< <<V1:?GLdouble,V2:?GLdouble,V3:?GLdouble>> || {V1,V2,V3} <- Value>>)/binary>>). + +%% @spec (Location::integer(),Value::[{float(),float(),float(),float()}]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml">external</a> documentation. +-spec uniform4dv(integer(),[{float(),float(),float(),float()}]) -> ok. +uniform4dv(Location,Value) -> + cast(5737, <<Location:?GLint,0:32,(length(Value)):?GLuint,0:32, + (<< <<V1:?GLdouble,V2:?GLdouble,V3:?GLdouble,V4:?GLdouble>> || {V1,V2,V3,V4} <- Value>>)/binary>>). + +%% @spec (Location::integer(),Transpose::0|1,Value::[{float(),float(),float(),float()}]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniformMatrix.xml">external</a> documentation. +-spec uniformMatrix2dv(integer(),0|1,[{float(),float(),float(),float()}]) -> ok. +uniformMatrix2dv(Location,Transpose,Value) -> + cast(5738, <<Location:?GLint,Transpose:?GLboolean,0:24,(length(Value)):?GLuint,0:32, + (<< <<V1:?GLdouble,V2:?GLdouble,V3:?GLdouble,V4:?GLdouble>> || {V1,V2,V3,V4} <- Value>>)/binary>>). + +%% @spec (Location::integer(),Transpose::0|1,Value::[{float(),float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniformMatrix.xml">external</a> documentation. +-spec uniformMatrix3dv(integer(),0|1,[{float(),float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok. +uniformMatrix3dv(Location,Transpose,Value) -> + cast(5739, <<Location:?GLint,Transpose:?GLboolean,0:24,(length(Value)):?GLuint,0:32, + (<< <<V1:?GLdouble,V2:?GLdouble,V3:?GLdouble,V4:?GLdouble,V5:?GLdouble,V6:?GLdouble,V7:?GLdouble,V8:?GLdouble,V9:?GLdouble>> || {V1,V2,V3,V4,V5,V6,V7,V8,V9} <- Value>>)/binary>>). + +%% @spec (Location::integer(),Transpose::0|1,Value::[{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniformMatrix.xml">external</a> documentation. +-spec uniformMatrix4dv(integer(),0|1,[{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok. +uniformMatrix4dv(Location,Transpose,Value) -> + cast(5740, <<Location:?GLint,Transpose:?GLboolean,0:24,(length(Value)):?GLuint,0:32, + (<< <<V1:?GLdouble,V2:?GLdouble,V3:?GLdouble,V4:?GLdouble,V5:?GLdouble,V6:?GLdouble,V7:?GLdouble,V8:?GLdouble,V9:?GLdouble,V10:?GLdouble,V11:?GLdouble,V12:?GLdouble,V13:?GLdouble,V14:?GLdouble,V15:?GLdouble,V16:?GLdouble>> || {V1,V2,V3,V4,V5,V6,V7,V8,V9,V10,V11,V12,V13,V14,V15,V16} <- Value>>)/binary>>). + +%% @spec (Location::integer(),Transpose::0|1,Value::[{float(),float(),float(),float(),float(),float()}]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniformMatrix2x.xml">external</a> documentation. +-spec uniformMatrix2x3dv(integer(),0|1,[{float(),float(),float(),float(),float(),float()}]) -> ok. +uniformMatrix2x3dv(Location,Transpose,Value) -> + cast(5741, <<Location:?GLint,Transpose:?GLboolean,0:24,(length(Value)):?GLuint,0:32, + (<< <<V1:?GLdouble,V2:?GLdouble,V3:?GLdouble,V4:?GLdouble,V5:?GLdouble,V6:?GLdouble>> || {V1,V2,V3,V4,V5,V6} <- Value>>)/binary>>). + +%% @spec (Location::integer(),Transpose::0|1,Value::[{float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniformMatrix2x.xml">external</a> documentation. +-spec uniformMatrix2x4dv(integer(),0|1,[{float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok. +uniformMatrix2x4dv(Location,Transpose,Value) -> + cast(5742, <<Location:?GLint,Transpose:?GLboolean,0:24,(length(Value)):?GLuint,0:32, + (<< <<V1:?GLdouble,V2:?GLdouble,V3:?GLdouble,V4:?GLdouble,V5:?GLdouble,V6:?GLdouble,V7:?GLdouble,V8:?GLdouble>> || {V1,V2,V3,V4,V5,V6,V7,V8} <- Value>>)/binary>>). + +%% @spec (Location::integer(),Transpose::0|1,Value::[{float(),float(),float(),float(),float(),float()}]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniformMatrix3x.xml">external</a> documentation. +-spec uniformMatrix3x2dv(integer(),0|1,[{float(),float(),float(),float(),float(),float()}]) -> ok. +uniformMatrix3x2dv(Location,Transpose,Value) -> + cast(5743, <<Location:?GLint,Transpose:?GLboolean,0:24,(length(Value)):?GLuint,0:32, + (<< <<V1:?GLdouble,V2:?GLdouble,V3:?GLdouble,V4:?GLdouble,V5:?GLdouble,V6:?GLdouble>> || {V1,V2,V3,V4,V5,V6} <- Value>>)/binary>>). + +%% @spec (Location::integer(),Transpose::0|1,Value::[{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniformMatrix3x.xml">external</a> documentation. +-spec uniformMatrix3x4dv(integer(),0|1,[{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok. +uniformMatrix3x4dv(Location,Transpose,Value) -> + cast(5744, <<Location:?GLint,Transpose:?GLboolean,0:24,(length(Value)):?GLuint,0:32, + (<< <<V1:?GLdouble,V2:?GLdouble,V3:?GLdouble,V4:?GLdouble,V5:?GLdouble,V6:?GLdouble,V7:?GLdouble,V8:?GLdouble,V9:?GLdouble,V10:?GLdouble,V11:?GLdouble,V12:?GLdouble>> || {V1,V2,V3,V4,V5,V6,V7,V8,V9,V10,V11,V12} <- Value>>)/binary>>). + +%% @spec (Location::integer(),Transpose::0|1,Value::[{float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniformMatrix4x.xml">external</a> documentation. +-spec uniformMatrix4x2dv(integer(),0|1,[{float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok. +uniformMatrix4x2dv(Location,Transpose,Value) -> + cast(5745, <<Location:?GLint,Transpose:?GLboolean,0:24,(length(Value)):?GLuint,0:32, + (<< <<V1:?GLdouble,V2:?GLdouble,V3:?GLdouble,V4:?GLdouble,V5:?GLdouble,V6:?GLdouble,V7:?GLdouble,V8:?GLdouble>> || {V1,V2,V3,V4,V5,V6,V7,V8} <- Value>>)/binary>>). + +%% @spec (Location::integer(),Transpose::0|1,Value::[{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniformMatrix4x.xml">external</a> documentation. +-spec uniformMatrix4x3dv(integer(),0|1,[{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok. +uniformMatrix4x3dv(Location,Transpose,Value) -> + cast(5746, <<Location:?GLint,Transpose:?GLboolean,0:24,(length(Value)):?GLuint,0:32, + (<< <<V1:?GLdouble,V2:?GLdouble,V3:?GLdouble,V4:?GLdouble,V5:?GLdouble,V6:?GLdouble,V7:?GLdouble,V8:?GLdouble,V9:?GLdouble,V10:?GLdouble,V11:?GLdouble,V12:?GLdouble>> || {V1,V2,V3,V4,V5,V6,V7,V8,V9,V10,V11,V12} <- Value>>)/binary>>). + +%% @spec (Program::integer(),Location::integer()) -> {float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()} +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetUniform.xml">external</a> documentation. +-spec getUniformdv(integer(),integer()) -> {float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}. +getUniformdv(Program,Location) -> + call(5747, <<Program:?GLuint,Location:?GLint>>). + +%% @spec (Program::integer(),Shadertype::enum(),Name::string()) -> integer() +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetSubroutineUniformLocation.xml">external</a> documentation. +-spec getSubroutineUniformLocation(integer(),enum(),string()) -> integer(). +getSubroutineUniformLocation(Program,Shadertype,Name) -> + call(5748, <<Program:?GLuint,Shadertype:?GLenum,(list_to_binary([Name|[0]]))/binary,0:((8-((length(Name)+ 1) rem 8)) rem 8)>>). + +%% @spec (Program::integer(),Shadertype::enum(),Name::string()) -> integer() +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetSubroutineIndex.xml">external</a> documentation. +-spec getSubroutineIndex(integer(),enum(),string()) -> integer(). +getSubroutineIndex(Program,Shadertype,Name) -> + call(5749, <<Program:?GLuint,Shadertype:?GLenum,(list_to_binary([Name|[0]]))/binary,0:((8-((length(Name)+ 1) rem 8)) rem 8)>>). + +%% @spec (Program::integer(),Shadertype::enum(),Index::integer(),Bufsize::integer()) -> string() +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetActiveSubroutineUniformName.xml">external</a> documentation. +-spec getActiveSubroutineUniformName(integer(),enum(),integer(),integer()) -> string(). +getActiveSubroutineUniformName(Program,Shadertype,Index,Bufsize) -> + call(5750, <<Program:?GLuint,Shadertype:?GLenum,Index:?GLuint,Bufsize:?GLsizei>>). + +%% @spec (Program::integer(),Shadertype::enum(),Index::integer(),Bufsize::integer()) -> string() +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetActiveSubroutineName.xml">external</a> documentation. +-spec getActiveSubroutineName(integer(),enum(),integer(),integer()) -> string(). +getActiveSubroutineName(Program,Shadertype,Index,Bufsize) -> + call(5751, <<Program:?GLuint,Shadertype:?GLenum,Index:?GLuint,Bufsize:?GLsizei>>). + +%% @spec (Shadertype::enum(),Indices::[integer()]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUniformSubroutines.xml">external</a> documentation. +-spec uniformSubroutinesuiv(enum(),[integer()]) -> ok. +uniformSubroutinesuiv(Shadertype,Indices) -> + cast(5752, <<Shadertype:?GLenum,(length(Indices)):?GLuint, + (<< <<C:?GLuint>> || C <- Indices>>)/binary,0:(((length(Indices)) rem 2)*32)>>). + +%% @spec (Shadertype::enum(),Location::integer()) -> {integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer()} +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetUniformSubroutine.xml">external</a> documentation. +-spec getUniformSubroutineuiv(enum(),integer()) -> {integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer()}. +getUniformSubroutineuiv(Shadertype,Location) -> + call(5753, <<Shadertype:?GLenum,Location:?GLint>>). + +%% @spec (Program::integer(),Shadertype::enum(),Pname::enum()) -> integer() +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetProgramStage.xml">external</a> documentation. +-spec getProgramStageiv(integer(),enum(),enum()) -> integer(). +getProgramStageiv(Program,Shadertype,Pname) -> + call(5754, <<Program:?GLuint,Shadertype:?GLenum,Pname:?GLenum>>). + +%% @spec (Pname::enum(),Value::integer()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPatchParameter.xml">external</a> documentation. +-spec patchParameteri(enum(),integer()) -> ok. +patchParameteri(Pname,Value) -> + cast(5755, <<Pname:?GLenum,Value:?GLint>>). + +%% @spec (Pname::enum(),Values::[float()]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPatchParameter.xml">external</a> documentation. +-spec patchParameterfv(enum(),[float()]) -> ok. +patchParameterfv(Pname,Values) -> + cast(5756, <<Pname:?GLenum,(length(Values)):?GLuint, + (<< <<C:?GLfloat>> || C <- Values>>)/binary,0:(((length(Values)) rem 2)*32)>>). + +%% @spec (Target::enum(),Id::integer()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBindTransformFeedback.xml">external</a> documentation. +-spec bindTransformFeedback(enum(),integer()) -> ok. +bindTransformFeedback(Target,Id) -> + cast(5757, <<Target:?GLenum,Id:?GLuint>>). + +%% @spec (Ids::[integer()]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDeleteTransformFeedbacks.xml">external</a> documentation. +-spec deleteTransformFeedbacks([integer()]) -> ok. +deleteTransformFeedbacks(Ids) -> + cast(5758, <<(length(Ids)):?GLuint, + (<< <<C:?GLuint>> || C <- Ids>>)/binary,0:(((1+length(Ids)) rem 2)*32)>>). + +%% @spec (N::integer()) -> [integer()] +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGenTransformFeedbacks.xml">external</a> documentation. +-spec genTransformFeedbacks(integer()) -> [integer()]. +genTransformFeedbacks(N) -> + call(5759, <<N:?GLsizei>>). + +%% @spec (Id::integer()) -> 0|1 +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glIsTransformFeedback.xml">external</a> documentation. +-spec isTransformFeedback(integer()) -> 0|1. +isTransformFeedback(Id) -> + call(5760, <<Id:?GLuint>>). + +%% @spec () -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glPauseTransformFeedback.xml">external</a> documentation. +-spec pauseTransformFeedback() -> ok. +pauseTransformFeedback() -> + cast(5761, <<>>). + +%% @spec () -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glResumeTransformFeedback.xml">external</a> documentation. +-spec resumeTransformFeedback() -> ok. +resumeTransformFeedback() -> + cast(5762, <<>>). + +%% @spec (Mode::enum(),Id::integer()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDrawTransformFeedback.xml">external</a> documentation. +-spec drawTransformFeedback(enum(),integer()) -> ok. +drawTransformFeedback(Mode,Id) -> + cast(5763, <<Mode:?GLenum,Id:?GLuint>>). + +%% @spec (Mode::enum(),Id::integer(),Stream::integer()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDrawTransformFeedbackStream.xml">external</a> documentation. +-spec drawTransformFeedbackStream(enum(),integer(),integer()) -> ok. +drawTransformFeedbackStream(Mode,Id,Stream) -> + cast(5764, <<Mode:?GLenum,Id:?GLuint,Stream:?GLuint>>). + +%% @spec (Target::enum(),Index::integer(),Id::integer()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBeginQueryIndexe.xml">external</a> documentation. +-spec beginQueryIndexed(enum(),integer(),integer()) -> ok. +beginQueryIndexed(Target,Index,Id) -> + cast(5765, <<Target:?GLenum,Index:?GLuint,Id:?GLuint>>). + +%% @spec (Target::enum(),Index::integer()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glEndQueryIndexe.xml">external</a> documentation. +-spec endQueryIndexed(enum(),integer()) -> ok. +endQueryIndexed(Target,Index) -> + cast(5766, <<Target:?GLenum,Index:?GLuint>>). + +%% @spec (Target::enum(),Index::integer(),Pname::enum()) -> integer() +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetQueryIndexed.xml">external</a> documentation. +-spec getQueryIndexediv(enum(),integer(),enum()) -> integer(). +getQueryIndexediv(Target,Index,Pname) -> + call(5767, <<Target:?GLenum,Index:?GLuint,Pname:?GLenum>>). + +%% @spec () -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glReleaseShaderCompiler.xml">external</a> documentation. +-spec releaseShaderCompiler() -> ok. +releaseShaderCompiler() -> + cast(5768, <<>>). + +%% @spec (Shaders::[integer()],Binaryformat::enum(),Binary::binary()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glShaderBinary.xml">external</a> documentation. +-spec shaderBinary([integer()],enum(),binary()) -> ok. +shaderBinary(Shaders,Binaryformat,Binary) -> + send_bin(Binary), + cast(5769, <<(length(Shaders)):?GLuint, + (<< <<C:?GLuint>> || C <- Shaders>>)/binary,0:(((1+length(Shaders)) rem 2)*32),Binaryformat:?GLenum>>). + +%% @spec (Shadertype::enum(),Precisiontype::enum()) -> {Range::{integer(),integer()},Precision::integer()} +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetShaderPrecisionFormat.xml">external</a> documentation. +-spec getShaderPrecisionFormat(enum(),enum()) -> {{integer(),integer()},integer()}. +getShaderPrecisionFormat(Shadertype,Precisiontype) -> + call(5770, <<Shadertype:?GLenum,Precisiontype:?GLenum>>). + +%% @spec (N::clamp(),F::clamp()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDepthRange.xml">external</a> documentation. +-spec depthRangef(clamp(),clamp()) -> ok. +depthRangef(N,F) -> + cast(5771, <<N:?GLclampf,F:?GLclampf>>). + +%% @spec (D::clamp()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glClearDepthf.xml">external</a> documentation. +-spec clearDepthf(clamp()) -> ok. +clearDepthf(D) -> + cast(5772, <<D:?GLclampf>>). + +%% @spec (Program::integer(),BufSize::integer()) -> {BinaryFormat::enum(),Binary::binary()} +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetProgramBinary.xml">external</a> documentation. +-spec getProgramBinary(integer(),integer()) -> {enum(),binary()}. +getProgramBinary(Program,BufSize) -> + call(5773, <<Program:?GLuint,BufSize:?GLsizei>>). + +%% @spec (Program::integer(),BinaryFormat::enum(),Binary::binary()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramBinary.xml">external</a> documentation. +-spec programBinary(integer(),enum(),binary()) -> ok. +programBinary(Program,BinaryFormat,Binary) -> + send_bin(Binary), + cast(5774, <<Program:?GLuint,BinaryFormat:?GLenum>>). + +%% @spec (Program::integer(),Pname::enum(),Value::integer()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramParameter.xml">external</a> documentation. +-spec programParameteri(integer(),enum(),integer()) -> ok. +programParameteri(Program,Pname,Value) -> + cast(5775, <<Program:?GLuint,Pname:?GLenum,Value:?GLint>>). + +%% @spec (Pipeline::integer(),Stages::integer(),Program::integer()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glUseProgramStages.xml">external</a> documentation. +-spec useProgramStages(integer(),integer(),integer()) -> ok. +useProgramStages(Pipeline,Stages,Program) -> + cast(5776, <<Pipeline:?GLuint,Stages:?GLbitfield,Program:?GLuint>>). + +%% @spec (Pipeline::integer(),Program::integer()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glActiveShaderProgram.xml">external</a> documentation. +-spec activeShaderProgram(integer(),integer()) -> ok. +activeShaderProgram(Pipeline,Program) -> + cast(5777, <<Pipeline:?GLuint,Program:?GLuint>>). + +%% @spec (Type::enum(),Strings::[string()]) -> integer() +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glCreateShaderProgramv.xml">external</a> documentation. +-spec createShaderProgramv(enum(),[string()]) -> integer(). +createShaderProgramv(Type,Strings) -> + StringsTemp = list_to_binary([[Str|[0]] || Str <- Strings ]), + call(5778, <<Type:?GLenum,(length(Strings)):?GLuint,(size(StringsTemp)):?GLuint,(StringsTemp)/binary,0:((8-((size(StringsTemp)+0) rem 8)) rem 8)>>). + +%% @spec (Pipeline::integer()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glBindProgramPipeline.xml">external</a> documentation. +-spec bindProgramPipeline(integer()) -> ok. +bindProgramPipeline(Pipeline) -> + cast(5779, <<Pipeline:?GLuint>>). + +%% @spec (Pipelines::[integer()]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDeleteProgramPipelines.xml">external</a> documentation. +-spec deleteProgramPipelines([integer()]) -> ok. +deleteProgramPipelines(Pipelines) -> + cast(5780, <<(length(Pipelines)):?GLuint, + (<< <<C:?GLuint>> || C <- Pipelines>>)/binary,0:(((1+length(Pipelines)) rem 2)*32)>>). + +%% @spec (N::integer()) -> [integer()] +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGenProgramPipelines.xml">external</a> documentation. +-spec genProgramPipelines(integer()) -> [integer()]. +genProgramPipelines(N) -> + call(5781, <<N:?GLsizei>>). + +%% @spec (Pipeline::integer()) -> 0|1 +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glIsProgramPipeline.xml">external</a> documentation. +-spec isProgramPipeline(integer()) -> 0|1. +isProgramPipeline(Pipeline) -> + call(5782, <<Pipeline:?GLuint>>). + +%% @spec (Pipeline::integer(),Pname::enum()) -> integer() +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetProgramPipeline.xml">external</a> documentation. +-spec getProgramPipelineiv(integer(),enum()) -> integer(). +getProgramPipelineiv(Pipeline,Pname) -> + call(5783, <<Pipeline:?GLuint,Pname:?GLenum>>). + +%% @spec (Program::integer(),Location::integer(),V0::integer()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramUniform.xml">external</a> documentation. +-spec programUniform1i(integer(),integer(),integer()) -> ok. +programUniform1i(Program,Location,V0) -> + cast(5784, <<Program:?GLuint,Location:?GLint,V0:?GLint>>). + +%% @spec (Program::integer(),Location::integer(),Value::[integer()]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramUniform.xml">external</a> documentation. +-spec programUniform1iv(integer(),integer(),[integer()]) -> ok. +programUniform1iv(Program,Location,Value) -> + cast(5785, <<Program:?GLuint,Location:?GLint,(length(Value)):?GLuint, + (<< <<C:?GLint>> || C <- Value>>)/binary,0:(((1+length(Value)) rem 2)*32)>>). + +%% @spec (Program::integer(),Location::integer(),V0::float()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramUniform.xml">external</a> documentation. +-spec programUniform1f(integer(),integer(),float()) -> ok. +programUniform1f(Program,Location,V0) -> + cast(5786, <<Program:?GLuint,Location:?GLint,V0:?GLfloat>>). + +%% @spec (Program::integer(),Location::integer(),Value::[float()]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramUniform.xml">external</a> documentation. +-spec programUniform1fv(integer(),integer(),[float()]) -> ok. +programUniform1fv(Program,Location,Value) -> + cast(5787, <<Program:?GLuint,Location:?GLint,(length(Value)):?GLuint, + (<< <<C:?GLfloat>> || C <- Value>>)/binary,0:(((1+length(Value)) rem 2)*32)>>). + +%% @spec (Program::integer(),Location::integer(),V0::float()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramUniform.xml">external</a> documentation. +-spec programUniform1d(integer(),integer(),float()) -> ok. +programUniform1d(Program,Location,V0) -> + cast(5788, <<Program:?GLuint,Location:?GLint,V0:?GLdouble>>). + +%% @spec (Program::integer(),Location::integer(),Value::[float()]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramUniform.xml">external</a> documentation. +-spec programUniform1dv(integer(),integer(),[float()]) -> ok. +programUniform1dv(Program,Location,Value) -> + cast(5789, <<Program:?GLuint,Location:?GLint,(length(Value)):?GLuint,0:32, + (<< <<C:?GLdouble>> || C <- Value>>)/binary>>). + +%% @spec (Program::integer(),Location::integer(),V0::integer()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramUniform.xml">external</a> documentation. +-spec programUniform1ui(integer(),integer(),integer()) -> ok. +programUniform1ui(Program,Location,V0) -> + cast(5790, <<Program:?GLuint,Location:?GLint,V0:?GLuint>>). + +%% @spec (Program::integer(),Location::integer(),Value::[integer()]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramUniform.xml">external</a> documentation. +-spec programUniform1uiv(integer(),integer(),[integer()]) -> ok. +programUniform1uiv(Program,Location,Value) -> + cast(5791, <<Program:?GLuint,Location:?GLint,(length(Value)):?GLuint, + (<< <<C:?GLuint>> || C <- Value>>)/binary,0:(((1+length(Value)) rem 2)*32)>>). + +%% @spec (Program::integer(),Location::integer(),V0::integer(),V1::integer()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramUniform.xml">external</a> documentation. +-spec programUniform2i(integer(),integer(),integer(),integer()) -> ok. +programUniform2i(Program,Location,V0,V1) -> + cast(5792, <<Program:?GLuint,Location:?GLint,V0:?GLint,V1:?GLint>>). + +%% @spec (Program::integer(),Location::integer(),Value::[{integer(),integer()}]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramUniform.xml">external</a> documentation. +-spec programUniform2iv(integer(),integer(),[{integer(),integer()}]) -> ok. +programUniform2iv(Program,Location,Value) -> + cast(5793, <<Program:?GLuint,Location:?GLint,(length(Value)):?GLuint, + (<< <<V1:?GLint,V2:?GLint>> || {V1,V2} <- Value>>)/binary>>). + +%% @spec (Program::integer(),Location::integer(),V0::float(),V1::float()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramUniform.xml">external</a> documentation. +-spec programUniform2f(integer(),integer(),float(),float()) -> ok. +programUniform2f(Program,Location,V0,V1) -> + cast(5794, <<Program:?GLuint,Location:?GLint,V0:?GLfloat,V1:?GLfloat>>). + +%% @spec (Program::integer(),Location::integer(),Value::[{float(),float()}]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramUniform.xml">external</a> documentation. +-spec programUniform2fv(integer(),integer(),[{float(),float()}]) -> ok. +programUniform2fv(Program,Location,Value) -> + cast(5795, <<Program:?GLuint,Location:?GLint,(length(Value)):?GLuint, + (<< <<V1:?GLfloat,V2:?GLfloat>> || {V1,V2} <- Value>>)/binary>>). + +%% @spec (Program::integer(),Location::integer(),V0::float(),V1::float()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramUniform.xml">external</a> documentation. +-spec programUniform2d(integer(),integer(),float(),float()) -> ok. +programUniform2d(Program,Location,V0,V1) -> + cast(5796, <<Program:?GLuint,Location:?GLint,V0:?GLdouble,V1:?GLdouble>>). + +%% @spec (Program::integer(),Location::integer(),Value::[{float(),float()}]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramUniform.xml">external</a> documentation. +-spec programUniform2dv(integer(),integer(),[{float(),float()}]) -> ok. +programUniform2dv(Program,Location,Value) -> + cast(5797, <<Program:?GLuint,Location:?GLint,(length(Value)):?GLuint,0:32, + (<< <<V1:?GLdouble,V2:?GLdouble>> || {V1,V2} <- Value>>)/binary>>). + +%% @spec (Program::integer(),Location::integer(),V0::integer(),V1::integer()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramUniform.xml">external</a> documentation. +-spec programUniform2ui(integer(),integer(),integer(),integer()) -> ok. +programUniform2ui(Program,Location,V0,V1) -> + cast(5798, <<Program:?GLuint,Location:?GLint,V0:?GLuint,V1:?GLuint>>). + +%% @spec (Program::integer(),Location::integer(),Value::[{integer(),integer()}]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramUniform.xml">external</a> documentation. +-spec programUniform2uiv(integer(),integer(),[{integer(),integer()}]) -> ok. +programUniform2uiv(Program,Location,Value) -> + cast(5799, <<Program:?GLuint,Location:?GLint,(length(Value)):?GLuint, + (<< <<V1:?GLuint,V2:?GLuint>> || {V1,V2} <- Value>>)/binary>>). + +%% @spec (Program::integer(),Location::integer(),V0::integer(),V1::integer(),V2::integer()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramUniform.xml">external</a> documentation. +-spec programUniform3i(integer(),integer(),integer(),integer(),integer()) -> ok. +programUniform3i(Program,Location,V0,V1,V2) -> + cast(5800, <<Program:?GLuint,Location:?GLint,V0:?GLint,V1:?GLint,V2:?GLint>>). + +%% @spec (Program::integer(),Location::integer(),Value::[{integer(),integer(),integer()}]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramUniform.xml">external</a> documentation. +-spec programUniform3iv(integer(),integer(),[{integer(),integer(),integer()}]) -> ok. +programUniform3iv(Program,Location,Value) -> + cast(5801, <<Program:?GLuint,Location:?GLint,(length(Value)):?GLuint, + (<< <<V1:?GLint,V2:?GLint,V3:?GLint>> || {V1,V2,V3} <- Value>>)/binary>>). + +%% @spec (Program::integer(),Location::integer(),V0::float(),V1::float(),V2::float()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramUniform.xml">external</a> documentation. +-spec programUniform3f(integer(),integer(),float(),float(),float()) -> ok. +programUniform3f(Program,Location,V0,V1,V2) -> + cast(5802, <<Program:?GLuint,Location:?GLint,V0:?GLfloat,V1:?GLfloat,V2:?GLfloat>>). + +%% @spec (Program::integer(),Location::integer(),Value::[{float(),float(),float()}]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramUniform.xml">external</a> documentation. +-spec programUniform3fv(integer(),integer(),[{float(),float(),float()}]) -> ok. +programUniform3fv(Program,Location,Value) -> + cast(5803, <<Program:?GLuint,Location:?GLint,(length(Value)):?GLuint, + (<< <<V1:?GLfloat,V2:?GLfloat,V3:?GLfloat>> || {V1,V2,V3} <- Value>>)/binary>>). + +%% @spec (Program::integer(),Location::integer(),V0::float(),V1::float(),V2::float()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramUniform.xml">external</a> documentation. +-spec programUniform3d(integer(),integer(),float(),float(),float()) -> ok. +programUniform3d(Program,Location,V0,V1,V2) -> + cast(5804, <<Program:?GLuint,Location:?GLint,V0:?GLdouble,V1:?GLdouble,V2:?GLdouble>>). + +%% @spec (Program::integer(),Location::integer(),Value::[{float(),float(),float()}]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramUniform.xml">external</a> documentation. +-spec programUniform3dv(integer(),integer(),[{float(),float(),float()}]) -> ok. +programUniform3dv(Program,Location,Value) -> + cast(5805, <<Program:?GLuint,Location:?GLint,(length(Value)):?GLuint,0:32, + (<< <<V1:?GLdouble,V2:?GLdouble,V3:?GLdouble>> || {V1,V2,V3} <- Value>>)/binary>>). + +%% @spec (Program::integer(),Location::integer(),V0::integer(),V1::integer(),V2::integer()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramUniform.xml">external</a> documentation. +-spec programUniform3ui(integer(),integer(),integer(),integer(),integer()) -> ok. +programUniform3ui(Program,Location,V0,V1,V2) -> + cast(5806, <<Program:?GLuint,Location:?GLint,V0:?GLuint,V1:?GLuint,V2:?GLuint>>). + +%% @spec (Program::integer(),Location::integer(),Value::[{integer(),integer(),integer()}]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramUniform.xml">external</a> documentation. +-spec programUniform3uiv(integer(),integer(),[{integer(),integer(),integer()}]) -> ok. +programUniform3uiv(Program,Location,Value) -> + cast(5807, <<Program:?GLuint,Location:?GLint,(length(Value)):?GLuint, + (<< <<V1:?GLuint,V2:?GLuint,V3:?GLuint>> || {V1,V2,V3} <- Value>>)/binary>>). + +%% @spec (Program::integer(),Location::integer(),V0::integer(),V1::integer(),V2::integer(),V3::integer()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramUniform.xml">external</a> documentation. +-spec programUniform4i(integer(),integer(),integer(),integer(),integer(),integer()) -> ok. +programUniform4i(Program,Location,V0,V1,V2,V3) -> + cast(5808, <<Program:?GLuint,Location:?GLint,V0:?GLint,V1:?GLint,V2:?GLint,V3:?GLint>>). + +%% @spec (Program::integer(),Location::integer(),Value::[{integer(),integer(),integer(),integer()}]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramUniform.xml">external</a> documentation. +-spec programUniform4iv(integer(),integer(),[{integer(),integer(),integer(),integer()}]) -> ok. +programUniform4iv(Program,Location,Value) -> + cast(5809, <<Program:?GLuint,Location:?GLint,(length(Value)):?GLuint, + (<< <<V1:?GLint,V2:?GLint,V3:?GLint,V4:?GLint>> || {V1,V2,V3,V4} <- Value>>)/binary>>). + +%% @spec (Program::integer(),Location::integer(),V0::float(),V1::float(),V2::float(),V3::float()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramUniform.xml">external</a> documentation. +-spec programUniform4f(integer(),integer(),float(),float(),float(),float()) -> ok. +programUniform4f(Program,Location,V0,V1,V2,V3) -> + cast(5810, <<Program:?GLuint,Location:?GLint,V0:?GLfloat,V1:?GLfloat,V2:?GLfloat,V3:?GLfloat>>). + +%% @spec (Program::integer(),Location::integer(),Value::[{float(),float(),float(),float()}]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramUniform.xml">external</a> documentation. +-spec programUniform4fv(integer(),integer(),[{float(),float(),float(),float()}]) -> ok. +programUniform4fv(Program,Location,Value) -> + cast(5811, <<Program:?GLuint,Location:?GLint,(length(Value)):?GLuint, + (<< <<V1:?GLfloat,V2:?GLfloat,V3:?GLfloat,V4:?GLfloat>> || {V1,V2,V3,V4} <- Value>>)/binary>>). + +%% @spec (Program::integer(),Location::integer(),V0::float(),V1::float(),V2::float(),V3::float()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramUniform.xml">external</a> documentation. +-spec programUniform4d(integer(),integer(),float(),float(),float(),float()) -> ok. +programUniform4d(Program,Location,V0,V1,V2,V3) -> + cast(5812, <<Program:?GLuint,Location:?GLint,V0:?GLdouble,V1:?GLdouble,V2:?GLdouble,V3:?GLdouble>>). + +%% @spec (Program::integer(),Location::integer(),Value::[{float(),float(),float(),float()}]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramUniform.xml">external</a> documentation. +-spec programUniform4dv(integer(),integer(),[{float(),float(),float(),float()}]) -> ok. +programUniform4dv(Program,Location,Value) -> + cast(5813, <<Program:?GLuint,Location:?GLint,(length(Value)):?GLuint,0:32, + (<< <<V1:?GLdouble,V2:?GLdouble,V3:?GLdouble,V4:?GLdouble>> || {V1,V2,V3,V4} <- Value>>)/binary>>). + +%% @spec (Program::integer(),Location::integer(),V0::integer(),V1::integer(),V2::integer(),V3::integer()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramUniform.xml">external</a> documentation. +-spec programUniform4ui(integer(),integer(),integer(),integer(),integer(),integer()) -> ok. +programUniform4ui(Program,Location,V0,V1,V2,V3) -> + cast(5814, <<Program:?GLuint,Location:?GLint,V0:?GLuint,V1:?GLuint,V2:?GLuint,V3:?GLuint>>). + +%% @spec (Program::integer(),Location::integer(),Value::[{integer(),integer(),integer(),integer()}]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramUniform.xml">external</a> documentation. +-spec programUniform4uiv(integer(),integer(),[{integer(),integer(),integer(),integer()}]) -> ok. +programUniform4uiv(Program,Location,Value) -> + cast(5815, <<Program:?GLuint,Location:?GLint,(length(Value)):?GLuint, + (<< <<V1:?GLuint,V2:?GLuint,V3:?GLuint,V4:?GLuint>> || {V1,V2,V3,V4} <- Value>>)/binary>>). + +%% @spec (Program::integer(),Location::integer(),Transpose::0|1,Value::[{float(),float(),float(),float()}]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramUniformMatrix.xml">external</a> documentation. +-spec programUniformMatrix2fv(integer(),integer(),0|1,[{float(),float(),float(),float()}]) -> ok. +programUniformMatrix2fv(Program,Location,Transpose,Value) -> + cast(5816, <<Program:?GLuint,Location:?GLint,Transpose:?GLboolean,0:24,(length(Value)):?GLuint, + (<< <<V1:?GLfloat,V2:?GLfloat,V3:?GLfloat,V4:?GLfloat>> || {V1,V2,V3,V4} <- Value>>)/binary>>). + +%% @spec (Program::integer(),Location::integer(),Transpose::0|1,Value::[{float(),float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramUniformMatrix.xml">external</a> documentation. +-spec programUniformMatrix3fv(integer(),integer(),0|1,[{float(),float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok. +programUniformMatrix3fv(Program,Location,Transpose,Value) -> + cast(5817, <<Program:?GLuint,Location:?GLint,Transpose:?GLboolean,0:24,(length(Value)):?GLuint, + (<< <<V1:?GLfloat,V2:?GLfloat,V3:?GLfloat,V4:?GLfloat,V5:?GLfloat,V6:?GLfloat,V7:?GLfloat,V8:?GLfloat,V9:?GLfloat>> || {V1,V2,V3,V4,V5,V6,V7,V8,V9} <- Value>>)/binary>>). + +%% @spec (Program::integer(),Location::integer(),Transpose::0|1,Value::[{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramUniformMatrix.xml">external</a> documentation. +-spec programUniformMatrix4fv(integer(),integer(),0|1,[{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok. +programUniformMatrix4fv(Program,Location,Transpose,Value) -> + cast(5818, <<Program:?GLuint,Location:?GLint,Transpose:?GLboolean,0:24,(length(Value)):?GLuint, + (<< <<V1:?GLfloat,V2:?GLfloat,V3:?GLfloat,V4:?GLfloat,V5:?GLfloat,V6:?GLfloat,V7:?GLfloat,V8:?GLfloat,V9:?GLfloat,V10:?GLfloat,V11:?GLfloat,V12:?GLfloat,V13:?GLfloat,V14:?GLfloat,V15:?GLfloat,V16:?GLfloat>> || {V1,V2,V3,V4,V5,V6,V7,V8,V9,V10,V11,V12,V13,V14,V15,V16} <- Value>>)/binary>>). + +%% @spec (Program::integer(),Location::integer(),Transpose::0|1,Value::[{float(),float(),float(),float()}]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramUniformMatrix.xml">external</a> documentation. +-spec programUniformMatrix2dv(integer(),integer(),0|1,[{float(),float(),float(),float()}]) -> ok. +programUniformMatrix2dv(Program,Location,Transpose,Value) -> + cast(5819, <<Program:?GLuint,Location:?GLint,Transpose:?GLboolean,0:56,(length(Value)):?GLuint,0:32, + (<< <<V1:?GLdouble,V2:?GLdouble,V3:?GLdouble,V4:?GLdouble>> || {V1,V2,V3,V4} <- Value>>)/binary>>). + +%% @spec (Program::integer(),Location::integer(),Transpose::0|1,Value::[{float(),float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramUniformMatrix.xml">external</a> documentation. +-spec programUniformMatrix3dv(integer(),integer(),0|1,[{float(),float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok. +programUniformMatrix3dv(Program,Location,Transpose,Value) -> + cast(5820, <<Program:?GLuint,Location:?GLint,Transpose:?GLboolean,0:56,(length(Value)):?GLuint,0:32, + (<< <<V1:?GLdouble,V2:?GLdouble,V3:?GLdouble,V4:?GLdouble,V5:?GLdouble,V6:?GLdouble,V7:?GLdouble,V8:?GLdouble,V9:?GLdouble>> || {V1,V2,V3,V4,V5,V6,V7,V8,V9} <- Value>>)/binary>>). + +%% @spec (Program::integer(),Location::integer(),Transpose::0|1,Value::[{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramUniformMatrix.xml">external</a> documentation. +-spec programUniformMatrix4dv(integer(),integer(),0|1,[{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok. +programUniformMatrix4dv(Program,Location,Transpose,Value) -> + cast(5821, <<Program:?GLuint,Location:?GLint,Transpose:?GLboolean,0:56,(length(Value)):?GLuint,0:32, + (<< <<V1:?GLdouble,V2:?GLdouble,V3:?GLdouble,V4:?GLdouble,V5:?GLdouble,V6:?GLdouble,V7:?GLdouble,V8:?GLdouble,V9:?GLdouble,V10:?GLdouble,V11:?GLdouble,V12:?GLdouble,V13:?GLdouble,V14:?GLdouble,V15:?GLdouble,V16:?GLdouble>> || {V1,V2,V3,V4,V5,V6,V7,V8,V9,V10,V11,V12,V13,V14,V15,V16} <- Value>>)/binary>>). + +%% @spec (Program::integer(),Location::integer(),Transpose::0|1,Value::[{float(),float(),float(),float(),float(),float()}]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramUniformMatrix2x.xml">external</a> documentation. +-spec programUniformMatrix2x3fv(integer(),integer(),0|1,[{float(),float(),float(),float(),float(),float()}]) -> ok. +programUniformMatrix2x3fv(Program,Location,Transpose,Value) -> + cast(5822, <<Program:?GLuint,Location:?GLint,Transpose:?GLboolean,0:24,(length(Value)):?GLuint, + (<< <<V1:?GLfloat,V2:?GLfloat,V3:?GLfloat,V4:?GLfloat,V5:?GLfloat,V6:?GLfloat>> || {V1,V2,V3,V4,V5,V6} <- Value>>)/binary>>). + +%% @spec (Program::integer(),Location::integer(),Transpose::0|1,Value::[{float(),float(),float(),float(),float(),float()}]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramUniformMatrix3x.xml">external</a> documentation. +-spec programUniformMatrix3x2fv(integer(),integer(),0|1,[{float(),float(),float(),float(),float(),float()}]) -> ok. +programUniformMatrix3x2fv(Program,Location,Transpose,Value) -> + cast(5823, <<Program:?GLuint,Location:?GLint,Transpose:?GLboolean,0:24,(length(Value)):?GLuint, + (<< <<V1:?GLfloat,V2:?GLfloat,V3:?GLfloat,V4:?GLfloat,V5:?GLfloat,V6:?GLfloat>> || {V1,V2,V3,V4,V5,V6} <- Value>>)/binary>>). + +%% @spec (Program::integer(),Location::integer(),Transpose::0|1,Value::[{float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramUniformMatrix2x.xml">external</a> documentation. +-spec programUniformMatrix2x4fv(integer(),integer(),0|1,[{float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok. +programUniformMatrix2x4fv(Program,Location,Transpose,Value) -> + cast(5824, <<Program:?GLuint,Location:?GLint,Transpose:?GLboolean,0:24,(length(Value)):?GLuint, + (<< <<V1:?GLfloat,V2:?GLfloat,V3:?GLfloat,V4:?GLfloat,V5:?GLfloat,V6:?GLfloat,V7:?GLfloat,V8:?GLfloat>> || {V1,V2,V3,V4,V5,V6,V7,V8} <- Value>>)/binary>>). + +%% @spec (Program::integer(),Location::integer(),Transpose::0|1,Value::[{float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramUniformMatrix4x.xml">external</a> documentation. +-spec programUniformMatrix4x2fv(integer(),integer(),0|1,[{float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok. +programUniformMatrix4x2fv(Program,Location,Transpose,Value) -> + cast(5825, <<Program:?GLuint,Location:?GLint,Transpose:?GLboolean,0:24,(length(Value)):?GLuint, + (<< <<V1:?GLfloat,V2:?GLfloat,V3:?GLfloat,V4:?GLfloat,V5:?GLfloat,V6:?GLfloat,V7:?GLfloat,V8:?GLfloat>> || {V1,V2,V3,V4,V5,V6,V7,V8} <- Value>>)/binary>>). + +%% @spec (Program::integer(),Location::integer(),Transpose::0|1,Value::[{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramUniformMatrix3x.xml">external</a> documentation. +-spec programUniformMatrix3x4fv(integer(),integer(),0|1,[{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok. +programUniformMatrix3x4fv(Program,Location,Transpose,Value) -> + cast(5826, <<Program:?GLuint,Location:?GLint,Transpose:?GLboolean,0:24,(length(Value)):?GLuint, + (<< <<V1:?GLfloat,V2:?GLfloat,V3:?GLfloat,V4:?GLfloat,V5:?GLfloat,V6:?GLfloat,V7:?GLfloat,V8:?GLfloat,V9:?GLfloat,V10:?GLfloat,V11:?GLfloat,V12:?GLfloat>> || {V1,V2,V3,V4,V5,V6,V7,V8,V9,V10,V11,V12} <- Value>>)/binary>>). + +%% @spec (Program::integer(),Location::integer(),Transpose::0|1,Value::[{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramUniformMatrix4x.xml">external</a> documentation. +-spec programUniformMatrix4x3fv(integer(),integer(),0|1,[{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok. +programUniformMatrix4x3fv(Program,Location,Transpose,Value) -> + cast(5827, <<Program:?GLuint,Location:?GLint,Transpose:?GLboolean,0:24,(length(Value)):?GLuint, + (<< <<V1:?GLfloat,V2:?GLfloat,V3:?GLfloat,V4:?GLfloat,V5:?GLfloat,V6:?GLfloat,V7:?GLfloat,V8:?GLfloat,V9:?GLfloat,V10:?GLfloat,V11:?GLfloat,V12:?GLfloat>> || {V1,V2,V3,V4,V5,V6,V7,V8,V9,V10,V11,V12} <- Value>>)/binary>>). + +%% @spec (Program::integer(),Location::integer(),Transpose::0|1,Value::[{float(),float(),float(),float(),float(),float()}]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramUniformMatrix2x.xml">external</a> documentation. +-spec programUniformMatrix2x3dv(integer(),integer(),0|1,[{float(),float(),float(),float(),float(),float()}]) -> ok. +programUniformMatrix2x3dv(Program,Location,Transpose,Value) -> + cast(5828, <<Program:?GLuint,Location:?GLint,Transpose:?GLboolean,0:56,(length(Value)):?GLuint,0:32, + (<< <<V1:?GLdouble,V2:?GLdouble,V3:?GLdouble,V4:?GLdouble,V5:?GLdouble,V6:?GLdouble>> || {V1,V2,V3,V4,V5,V6} <- Value>>)/binary>>). + +%% @spec (Program::integer(),Location::integer(),Transpose::0|1,Value::[{float(),float(),float(),float(),float(),float()}]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramUniformMatrix3x.xml">external</a> documentation. +-spec programUniformMatrix3x2dv(integer(),integer(),0|1,[{float(),float(),float(),float(),float(),float()}]) -> ok. +programUniformMatrix3x2dv(Program,Location,Transpose,Value) -> + cast(5829, <<Program:?GLuint,Location:?GLint,Transpose:?GLboolean,0:56,(length(Value)):?GLuint,0:32, + (<< <<V1:?GLdouble,V2:?GLdouble,V3:?GLdouble,V4:?GLdouble,V5:?GLdouble,V6:?GLdouble>> || {V1,V2,V3,V4,V5,V6} <- Value>>)/binary>>). + +%% @spec (Program::integer(),Location::integer(),Transpose::0|1,Value::[{float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramUniformMatrix2x.xml">external</a> documentation. +-spec programUniformMatrix2x4dv(integer(),integer(),0|1,[{float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok. +programUniformMatrix2x4dv(Program,Location,Transpose,Value) -> + cast(5830, <<Program:?GLuint,Location:?GLint,Transpose:?GLboolean,0:56,(length(Value)):?GLuint,0:32, + (<< <<V1:?GLdouble,V2:?GLdouble,V3:?GLdouble,V4:?GLdouble,V5:?GLdouble,V6:?GLdouble,V7:?GLdouble,V8:?GLdouble>> || {V1,V2,V3,V4,V5,V6,V7,V8} <- Value>>)/binary>>). + +%% @spec (Program::integer(),Location::integer(),Transpose::0|1,Value::[{float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramUniformMatrix4x.xml">external</a> documentation. +-spec programUniformMatrix4x2dv(integer(),integer(),0|1,[{float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok. +programUniformMatrix4x2dv(Program,Location,Transpose,Value) -> + cast(5831, <<Program:?GLuint,Location:?GLint,Transpose:?GLboolean,0:56,(length(Value)):?GLuint,0:32, + (<< <<V1:?GLdouble,V2:?GLdouble,V3:?GLdouble,V4:?GLdouble,V5:?GLdouble,V6:?GLdouble,V7:?GLdouble,V8:?GLdouble>> || {V1,V2,V3,V4,V5,V6,V7,V8} <- Value>>)/binary>>). + +%% @spec (Program::integer(),Location::integer(),Transpose::0|1,Value::[{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramUniformMatrix3x.xml">external</a> documentation. +-spec programUniformMatrix3x4dv(integer(),integer(),0|1,[{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok. +programUniformMatrix3x4dv(Program,Location,Transpose,Value) -> + cast(5832, <<Program:?GLuint,Location:?GLint,Transpose:?GLboolean,0:56,(length(Value)):?GLuint,0:32, + (<< <<V1:?GLdouble,V2:?GLdouble,V3:?GLdouble,V4:?GLdouble,V5:?GLdouble,V6:?GLdouble,V7:?GLdouble,V8:?GLdouble,V9:?GLdouble,V10:?GLdouble,V11:?GLdouble,V12:?GLdouble>> || {V1,V2,V3,V4,V5,V6,V7,V8,V9,V10,V11,V12} <- Value>>)/binary>>). + +%% @spec (Program::integer(),Location::integer(),Transpose::0|1,Value::[{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glProgramUniformMatrix4x.xml">external</a> documentation. +-spec programUniformMatrix4x3dv(integer(),integer(),0|1,[{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok. +programUniformMatrix4x3dv(Program,Location,Transpose,Value) -> + cast(5833, <<Program:?GLuint,Location:?GLint,Transpose:?GLboolean,0:56,(length(Value)):?GLuint,0:32, + (<< <<V1:?GLdouble,V2:?GLdouble,V3:?GLdouble,V4:?GLdouble,V5:?GLdouble,V6:?GLdouble,V7:?GLdouble,V8:?GLdouble,V9:?GLdouble,V10:?GLdouble,V11:?GLdouble,V12:?GLdouble>> || {V1,V2,V3,V4,V5,V6,V7,V8,V9,V10,V11,V12} <- Value>>)/binary>>). + +%% @spec (Pipeline::integer()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glValidateProgramPipeline.xml">external</a> documentation. +-spec validateProgramPipeline(integer()) -> ok. +validateProgramPipeline(Pipeline) -> + cast(5834, <<Pipeline:?GLuint>>). + +%% @spec (Pipeline::integer(),BufSize::integer()) -> string() +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetProgramPipelineInfoLog.xml">external</a> documentation. +-spec getProgramPipelineInfoLog(integer(),integer()) -> string(). +getProgramPipelineInfoLog(Pipeline,BufSize) -> + call(5835, <<Pipeline:?GLuint,BufSize:?GLsizei>>). + +%% @spec (Index::integer(),X::float()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttribL.xml">external</a> documentation. +-spec vertexAttribL1d(integer(),float()) -> ok. +vertexAttribL1d(Index,X) -> + cast(5836, <<Index:?GLuint,0:32,X:?GLdouble>>). + +%% @spec (Index::integer(),X::float(),Y::float()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttribL.xml">external</a> documentation. +-spec vertexAttribL2d(integer(),float(),float()) -> ok. +vertexAttribL2d(Index,X,Y) -> + cast(5837, <<Index:?GLuint,0:32,X:?GLdouble,Y:?GLdouble>>). + +%% @spec (Index::integer(),X::float(),Y::float(),Z::float()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttribL.xml">external</a> documentation. +-spec vertexAttribL3d(integer(),float(),float(),float()) -> ok. +vertexAttribL3d(Index,X,Y,Z) -> + cast(5838, <<Index:?GLuint,0:32,X:?GLdouble,Y:?GLdouble,Z:?GLdouble>>). + +%% @spec (Index::integer(),X::float(),Y::float(),Z::float(),W::float()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttribL.xml">external</a> documentation. +-spec vertexAttribL4d(integer(),float(),float(),float(),float()) -> ok. +vertexAttribL4d(Index,X,Y,Z,W) -> + cast(5839, <<Index:?GLuint,0:32,X:?GLdouble,Y:?GLdouble,Z:?GLdouble,W:?GLdouble>>). + +%% @spec (Index,{X}) -> ok +%% @equiv vertexAttribL1d(Index,X) +-spec vertexAttribL1dv(integer(),{float()}) -> ok. +vertexAttribL1dv(Index,{X}) -> vertexAttribL1d(Index,X). + +%% @spec (Index,{X,Y}) -> ok +%% @equiv vertexAttribL2d(Index,X,Y) +-spec vertexAttribL2dv(integer(),{float(),float()}) -> ok. +vertexAttribL2dv(Index,{X,Y}) -> vertexAttribL2d(Index,X,Y). + +%% @spec (Index,{X,Y,Z}) -> ok +%% @equiv vertexAttribL3d(Index,X,Y,Z) +-spec vertexAttribL3dv(integer(),{float(),float(),float()}) -> ok. +vertexAttribL3dv(Index,{X,Y,Z}) -> vertexAttribL3d(Index,X,Y,Z). + +%% @spec (Index,{X,Y,Z,W}) -> ok +%% @equiv vertexAttribL4d(Index,X,Y,Z,W) +-spec vertexAttribL4dv(integer(),{float(),float(),float(),float()}) -> ok. +vertexAttribL4dv(Index,{X,Y,Z,W}) -> vertexAttribL4d(Index,X,Y,Z,W). + +%% @spec (Index::integer(),Size::integer(),Type::enum(),Stride::integer(),Pointer::offset()|mem()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttribLPointer.xml">external</a> documentation. +-spec vertexAttribLPointer(integer(),integer(),enum(),integer(),offset()|mem()) -> ok. +vertexAttribLPointer(Index,Size,Type,Stride,Pointer) when is_integer(Pointer) -> + cast(5840, <<Index:?GLuint,Size:?GLint,Type:?GLenum,Stride:?GLsizei,Pointer:?GLuint>>); +vertexAttribLPointer(Index,Size,Type,Stride,Pointer) -> + send_bin(Pointer), + cast(5841, <<Index:?GLuint,Size:?GLint,Type:?GLenum,Stride:?GLsizei>>). + +%% @spec (Index::integer(),Pname::enum()) -> {float(),float(),float(),float()} +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetVertexAttribL.xml">external</a> documentation. +-spec getVertexAttribLdv(integer(),enum()) -> {float(),float(),float(),float()}. +getVertexAttribLdv(Index,Pname) -> + call(5842, <<Index:?GLuint,Pname:?GLenum>>). + +%% @spec (First::integer(),V::[{float(),float(),float(),float()}]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glViewportArrayv.xml">external</a> documentation. +-spec viewportArrayv(integer(),[{float(),float(),float(),float()}]) -> ok. +viewportArrayv(First,V) -> + cast(5843, <<First:?GLuint,(length(V)):?GLuint, + (<< <<V1:?GLfloat,V2:?GLfloat,V3:?GLfloat,V4:?GLfloat>> || {V1,V2,V3,V4} <- V>>)/binary>>). + +%% @spec (Index::integer(),X::float(),Y::float(),W::float(),H::float()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glViewportIndexed.xml">external</a> documentation. +-spec viewportIndexedf(integer(),float(),float(),float(),float()) -> ok. +viewportIndexedf(Index,X,Y,W,H) -> + cast(5844, <<Index:?GLuint,X:?GLfloat,Y:?GLfloat,W:?GLfloat,H:?GLfloat>>). + +%% @spec (Index::integer(),V::{float(),float(),float(),float()}) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glViewportIndexed.xml">external</a> documentation. +-spec viewportIndexedfv(integer(),{float(),float(),float(),float()}) -> ok. +viewportIndexedfv(Index,{V1,V2,V3,V4}) -> + cast(5845, <<Index:?GLuint,V1:?GLfloat,V2:?GLfloat,V3:?GLfloat,V4:?GLfloat>>). + +%% @spec (First::integer(),V::[{integer(),integer(),integer(),integer()}]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glScissorArrayv.xml">external</a> documentation. +-spec scissorArrayv(integer(),[{integer(),integer(),integer(),integer()}]) -> ok. +scissorArrayv(First,V) -> + cast(5846, <<First:?GLuint,(length(V)):?GLuint, + (<< <<V1:?GLint,V2:?GLint,V3:?GLint,V4:?GLint>> || {V1,V2,V3,V4} <- V>>)/binary>>). + +%% @spec (Index::integer(),Left::integer(),Bottom::integer(),Width::integer(),Height::integer()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glScissorIndexe.xml">external</a> documentation. +-spec scissorIndexed(integer(),integer(),integer(),integer(),integer()) -> ok. +scissorIndexed(Index,Left,Bottom,Width,Height) -> + cast(5847, <<Index:?GLuint,Left:?GLint,Bottom:?GLint,Width:?GLsizei,Height:?GLsizei>>). + +%% @spec (Index::integer(),V::{integer(),integer(),integer(),integer()}) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glScissorIndexe.xml">external</a> documentation. +-spec scissorIndexedv(integer(),{integer(),integer(),integer(),integer()}) -> ok. +scissorIndexedv(Index,{V1,V2,V3,V4}) -> + cast(5848, <<Index:?GLuint,V1:?GLint,V2:?GLint,V3:?GLint,V4:?GLint>>). + +%% @spec (First::integer(),V::[{clamp(),clamp()}]) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDepthRangeArrayv.xml">external</a> documentation. +-spec depthRangeArrayv(integer(),[{clamp(),clamp()}]) -> ok. +depthRangeArrayv(First,V) -> + cast(5849, <<First:?GLuint,0:32,(length(V)):?GLuint,0:32, + (<< <<V1:?GLclampd,V2:?GLclampd>> || {V1,V2} <- V>>)/binary>>). + +%% @spec (Index::integer(),N::clamp(),F::clamp()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDepthRangeIndexe.xml">external</a> documentation. +-spec depthRangeIndexed(integer(),clamp(),clamp()) -> ok. +depthRangeIndexed(Index,N,F) -> + cast(5850, <<Index:?GLuint,0:32,N:?GLclampd,F:?GLclampd>>). + +%% @spec (Target::enum(),Index::integer()) -> [float()] +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetFloati_v.xml">external</a> documentation. +-spec getFloati_v(enum(),integer()) -> [float()]. +getFloati_v(Target,Index) -> + call(5851, <<Target:?GLenum,Index:?GLuint>>). + +%% @spec (Target::enum(),Index::integer()) -> [float()] +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetDoublei_v.xml">external</a> documentation. +-spec getDoublei_v(enum(),integer()) -> [float()]. +getDoublei_v(Target,Index) -> + call(5852, <<Target:?GLenum,Index:?GLuint>>). + +%% @spec (Source::enum(),Type::enum(),Severity::enum(),Ids::[integer()],Enabled::0|1) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDebugMessageControlARB.xml">external</a> documentation. +-spec debugMessageControlARB(enum(),enum(),enum(),[integer()],0|1) -> ok. +debugMessageControlARB(Source,Type,Severity,Ids,Enabled) -> + cast(5853, <<Source:?GLenum,Type:?GLenum,Severity:?GLenum,(length(Ids)):?GLuint, + (<< <<C:?GLuint>> || C <- Ids>>)/binary,0:(((length(Ids)) rem 2)*32),Enabled:?GLboolean>>). + +%% @spec (Source::enum(),Type::enum(),Id::integer(),Severity::enum(),Buf::string()) -> ok +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDebugMessageInsertARB.xml">external</a> documentation. +-spec debugMessageInsertARB(enum(),enum(),integer(),enum(),string()) -> ok. +debugMessageInsertARB(Source,Type,Id,Severity,Buf) -> + cast(5854, <<Source:?GLenum,Type:?GLenum,Id:?GLuint,Severity:?GLenum,(list_to_binary([Buf|[0]]))/binary,0:((8-((length(Buf)+ 1) rem 8)) rem 8)>>). + +%% @spec (Count::integer(),Bufsize::integer()) -> {integer(),Sources::[enum()],Types::[enum()],Ids::[integer()],Severities::[enum()],MessageLog::[string()]} +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetDebugMessageLogARB.xml">external</a> documentation. +-spec getDebugMessageLogARB(integer(),integer()) -> {integer(),[enum()],[enum()],[integer()],[enum()],[string()]}. +getDebugMessageLogARB(Count,Bufsize) -> + call(5855, <<Count:?GLuint,Bufsize:?GLsizei>>). + +%% @spec () -> enum() +%% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glGetGraphicsResetStatusARB.xml">external</a> documentation. +-spec getGraphicsResetStatusARB() -> enum(). +getGraphicsResetStatusARB() -> + call(5856, <<>>). %% @spec () -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glResizeBuffersMESA.xml">external</a> documentation. +-spec resizeBuffersMESA() -> ok. resizeBuffersMESA() -> - wxe_util:cast(5676, <<>>). + cast(5857, <<>>). %% @spec (X::float(),Y::float(),Z::float(),W::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glWindowPos4dMESA.xml">external</a> documentation. +-spec windowPos4dMESA(float(),float(),float(),float()) -> ok. windowPos4dMESA(X,Y,Z,W) -> - wxe_util:cast(5677, <<X:?GLdouble,Y:?GLdouble,Z:?GLdouble,W:?GLdouble>>). + cast(5858, <<X:?GLdouble,Y:?GLdouble,Z:?GLdouble,W:?GLdouble>>). %% @spec ({X,Y,Z,W}) -> ok %% @equiv windowPos4dMESA(X,Y,Z,W) +-spec windowPos4dvMESA({float(),float(),float(),float()}) -> ok. windowPos4dvMESA({X,Y,Z,W}) -> windowPos4dMESA(X,Y,Z,W). %% @spec (X::float(),Y::float(),Z::float(),W::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glWindowPos4fMESA.xml">external</a> documentation. +-spec windowPos4fMESA(float(),float(),float(),float()) -> ok. windowPos4fMESA(X,Y,Z,W) -> - wxe_util:cast(5678, <<X:?GLfloat,Y:?GLfloat,Z:?GLfloat,W:?GLfloat>>). + cast(5859, <<X:?GLfloat,Y:?GLfloat,Z:?GLfloat,W:?GLfloat>>). %% @spec ({X,Y,Z,W}) -> ok %% @equiv windowPos4fMESA(X,Y,Z,W) +-spec windowPos4fvMESA({float(),float(),float(),float()}) -> ok. windowPos4fvMESA({X,Y,Z,W}) -> windowPos4fMESA(X,Y,Z,W). %% @spec (X::integer(),Y::integer(),Z::integer(),W::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glWindowPos4iMESA.xml">external</a> documentation. +-spec windowPos4iMESA(integer(),integer(),integer(),integer()) -> ok. windowPos4iMESA(X,Y,Z,W) -> - wxe_util:cast(5679, <<X:?GLint,Y:?GLint,Z:?GLint,W:?GLint>>). + cast(5860, <<X:?GLint,Y:?GLint,Z:?GLint,W:?GLint>>). %% @spec ({X,Y,Z,W}) -> ok %% @equiv windowPos4iMESA(X,Y,Z,W) +-spec windowPos4ivMESA({integer(),integer(),integer(),integer()}) -> ok. windowPos4ivMESA({X,Y,Z,W}) -> windowPos4iMESA(X,Y,Z,W). %% @spec (X::integer(),Y::integer(),Z::integer(),W::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glWindowPos4sMESA.xml">external</a> documentation. +-spec windowPos4sMESA(integer(),integer(),integer(),integer()) -> ok. windowPos4sMESA(X,Y,Z,W) -> - wxe_util:cast(5680, <<X:?GLshort,Y:?GLshort,Z:?GLshort,W:?GLshort>>). + cast(5861, <<X:?GLshort,Y:?GLshort,Z:?GLshort,W:?GLshort>>). %% @spec ({X,Y,Z,W}) -> ok %% @equiv windowPos4sMESA(X,Y,Z,W) +-spec windowPos4svMESA({integer(),integer(),integer(),integer()}) -> ok. windowPos4svMESA({X,Y,Z,W}) -> windowPos4sMESA(X,Y,Z,W). %% @spec (Zmin::clamp(),Zmax::clamp()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glDepthBoundsEXT.xml">external</a> documentation. +-spec depthBoundsEXT(clamp(),clamp()) -> ok. depthBoundsEXT(Zmin,Zmax) -> - wxe_util:cast(5681, <<Zmin:?GLclampd,Zmax:?GLclampd>>). + cast(5862, <<Zmin:?GLclampd,Zmax:?GLclampd>>). %% @spec (StencilTagBits::integer(),StencilClearTag::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/glStencilClearTagEXT.xml">external</a> documentation. +-spec stencilClearTagEXT(integer(),integer()) -> ok. stencilClearTagEXT(StencilTagBits,StencilClearTag) -> - wxe_util:cast(5682, <<StencilTagBits:?GLsizei,StencilClearTag:?GLuint>>). + cast(5863, <<StencilTagBits:?GLsizei,StencilClearTag:?GLuint>>). diff --git a/lib/wx/src/gen/gl_debug.hrl b/lib/wx/src/gen/gl_debug.hrl deleted file mode 100644 index 68225197cf..0000000000 --- a/lib/wx/src/gen/gl_debug.hrl +++ /dev/null @@ -1,697 +0,0 @@ -%% -%% %CopyrightBegin% -%% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. -%% -%% The contents of this file are subject to the Erlang Public License, -%% Version 1.1, (the "License"); you may not use this file except in -%% compliance with the License. You should have received a copy of the -%% Erlang Public License along with this software. If not, it can be -%% retrieved online at http://www.erlang.org/. -%% -%% Software distributed under the License is distributed on an "AS IS" -%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See -%% the License for the specific language governing rights and limitations -%% under the License. -%% -%% %CopyrightEnd% -%% This file is generated DO NOT EDIT - -gldebug_table() -> -[ - {5037, {gl, accum, 0}}, - {5038, {gl, alphaFunc, 0}}, - {5039, {gl, areTexturesResident, 0}}, - {5040, {gl, arrayElement, 0}}, - {5041, {gl, 'begin', 0}}, - {5042, {gl, bindTexture, 0}}, - {5043, {gl, bitmap, 0}}, - {5044, {gl, bitmap, 0}}, - {5045, {gl, blendFunc, 0}}, - {5046, {gl, callList, 0}}, - {5047, {gl, callLists, 0}}, - {5048, {gl, clear, 0}}, - {5049, {gl, clearAccum, 0}}, - {5050, {gl, clearColor, 0}}, - {5051, {gl, clearDepth, 0}}, - {5052, {gl, clearIndex, 0}}, - {5053, {gl, clearStencil, 0}}, - {5054, {gl, clipPlane, 0}}, - {5055, {gl, color3b, 0}}, - {5056, {gl, color3d, 0}}, - {5057, {gl, color3f, 0}}, - {5058, {gl, color3i, 0}}, - {5059, {gl, color3s, 0}}, - {5060, {gl, color3ub, 0}}, - {5061, {gl, color3ui, 0}}, - {5062, {gl, color3us, 0}}, - {5063, {gl, color4b, 0}}, - {5064, {gl, color4d, 0}}, - {5065, {gl, color4f, 0}}, - {5066, {gl, color4i, 0}}, - {5067, {gl, color4s, 0}}, - {5068, {gl, color4ub, 0}}, - {5069, {gl, color4ui, 0}}, - {5070, {gl, color4us, 0}}, - {5071, {gl, colorMask, 0}}, - {5072, {gl, colorMaterial, 0}}, - {5073, {gl, colorPointer, 0}}, - {5074, {gl, colorPointer, 0}}, - {5075, {gl, copyPixels, 0}}, - {5076, {gl, copyTexImage1D, 0}}, - {5077, {gl, copyTexImage2D, 0}}, - {5078, {gl, copyTexSubImage1D, 0}}, - {5079, {gl, copyTexSubImage2D, 0}}, - {5080, {gl, cullFace, 0}}, - {5081, {gl, deleteLists, 0}}, - {5082, {gl, deleteTextures, 0}}, - {5083, {gl, depthFunc, 0}}, - {5084, {gl, depthMask, 0}}, - {5085, {gl, depthRange, 0}}, - {5086, {gl, disable, 0}}, - {5087, {gl, disableClientState, 0}}, - {5088, {gl, drawArrays, 0}}, - {5089, {gl, drawBuffer, 0}}, - {5090, {gl, drawElements, 0}}, - {5091, {gl, drawElements, 0}}, - {5092, {gl, drawPixels, 0}}, - {5093, {gl, drawPixels, 0}}, - {5094, {gl, edgeFlag, 0}}, - {5095, {gl, edgeFlagPointer, 0}}, - {5096, {gl, edgeFlagPointer, 0}}, - {5097, {gl, enable, 0}}, - {5098, {gl, enableClientState, 0}}, - {5099, {gl, 'end', 0}}, - {5100, {gl, endList, 0}}, - {5101, {gl, evalCoord1d, 0}}, - {5102, {gl, evalCoord1f, 0}}, - {5103, {gl, evalCoord2d, 0}}, - {5104, {gl, evalCoord2f, 0}}, - {5105, {gl, evalMesh1, 0}}, - {5106, {gl, evalMesh2, 0}}, - {5107, {gl, evalPoint1, 0}}, - {5108, {gl, evalPoint2, 0}}, - {5109, {gl, feedbackBuffer, 0}}, - {5110, {gl, finish, 0}}, - {5111, {gl, flush, 0}}, - {5112, {gl, fogf, 0}}, - {5113, {gl, fogfv, 0}}, - {5114, {gl, fogi, 0}}, - {5115, {gl, fogiv, 0}}, - {5116, {gl, frontFace, 0}}, - {5117, {gl, frustum, 0}}, - {5118, {gl, genLists, 0}}, - {5119, {gl, genTextures, 0}}, - {5120, {gl, getBooleanv, 0}}, - {5121, {gl, getClipPlane, 0}}, - {5122, {gl, getDoublev, 0}}, - {5123, {gl, getError, 0}}, - {5124, {gl, getFloatv, 0}}, - {5125, {gl, getIntegerv, 0}}, - {5126, {gl, getLightfv, 0}}, - {5127, {gl, getLightiv, 0}}, - {5128, {gl, getMapdv, 0}}, - {5129, {gl, getMapfv, 0}}, - {5130, {gl, getMapiv, 0}}, - {5131, {gl, getMaterialfv, 0}}, - {5132, {gl, getMaterialiv, 0}}, - {5133, {gl, getPixelMapfv, 0}}, - {5134, {gl, getPixelMapuiv, 0}}, - {5135, {gl, getPixelMapusv, 0}}, - {5136, {gl, getPolygonStipple, 0}}, - {5137, {gl, getString, 0}}, - {5138, {gl, getTexEnvfv, 0}}, - {5139, {gl, getTexEnviv, 0}}, - {5140, {gl, getTexGendv, 0}}, - {5141, {gl, getTexGenfv, 0}}, - {5142, {gl, getTexGeniv, 0}}, - {5143, {gl, getTexImage, 0}}, - {5144, {gl, getTexLevelParameterfv, 0}}, - {5145, {gl, getTexLevelParameteriv, 0}}, - {5146, {gl, getTexParameterfv, 0}}, - {5147, {gl, getTexParameteriv, 0}}, - {5148, {gl, hint, 0}}, - {5149, {gl, indexMask, 0}}, - {5150, {gl, indexPointer, 0}}, - {5151, {gl, indexPointer, 0}}, - {5152, {gl, indexd, 0}}, - {5153, {gl, indexf, 0}}, - {5154, {gl, indexi, 0}}, - {5155, {gl, indexs, 0}}, - {5156, {gl, indexub, 0}}, - {5157, {gl, initNames, 0}}, - {5158, {gl, interleavedArrays, 0}}, - {5159, {gl, interleavedArrays, 0}}, - {5160, {gl, isEnabled, 0}}, - {5161, {gl, isList, 0}}, - {5162, {gl, isTexture, 0}}, - {5163, {gl, lightModelf, 0}}, - {5164, {gl, lightModelfv, 0}}, - {5165, {gl, lightModeli, 0}}, - {5166, {gl, lightModeliv, 0}}, - {5167, {gl, lightf, 0}}, - {5168, {gl, lightfv, 0}}, - {5169, {gl, lighti, 0}}, - {5170, {gl, lightiv, 0}}, - {5171, {gl, lineStipple, 0}}, - {5172, {gl, lineWidth, 0}}, - {5173, {gl, listBase, 0}}, - {5174, {gl, loadIdentity, 0}}, - {5175, {gl, loadMatrixd, 0}}, - {5176, {gl, loadMatrixf, 0}}, - {5177, {gl, loadName, 0}}, - {5178, {gl, logicOp, 0}}, - {5179, {gl, map1d, 0}}, - {5180, {gl, map1f, 0}}, - {5181, {gl, map2d, 0}}, - {5182, {gl, map2f, 0}}, - {5183, {gl, mapGrid1d, 0}}, - {5184, {gl, mapGrid1f, 0}}, - {5185, {gl, mapGrid2d, 0}}, - {5186, {gl, mapGrid2f, 0}}, - {5187, {gl, materialf, 0}}, - {5188, {gl, materialfv, 0}}, - {5189, {gl, materiali, 0}}, - {5190, {gl, materialiv, 0}}, - {5191, {gl, matrixMode, 0}}, - {5192, {gl, multMatrixd, 0}}, - {5193, {gl, multMatrixf, 0}}, - {5194, {gl, newList, 0}}, - {5195, {gl, normal3b, 0}}, - {5196, {gl, normal3d, 0}}, - {5197, {gl, normal3f, 0}}, - {5198, {gl, normal3i, 0}}, - {5199, {gl, normal3s, 0}}, - {5200, {gl, normalPointer, 0}}, - {5201, {gl, normalPointer, 0}}, - {5202, {gl, ortho, 0}}, - {5203, {gl, passThrough, 0}}, - {5204, {gl, pixelMapfv, 0}}, - {5205, {gl, pixelMapuiv, 0}}, - {5206, {gl, pixelMapusv, 0}}, - {5207, {gl, pixelStoref, 0}}, - {5208, {gl, pixelStorei, 0}}, - {5209, {gl, pixelTransferf, 0}}, - {5210, {gl, pixelTransferi, 0}}, - {5211, {gl, pixelZoom, 0}}, - {5212, {gl, pointSize, 0}}, - {5213, {gl, polygonMode, 0}}, - {5214, {gl, polygonOffset, 0}}, - {5215, {gl, polygonStipple, 0}}, - {5216, {gl, popAttrib, 0}}, - {5217, {gl, popClientAttrib, 0}}, - {5218, {gl, popMatrix, 0}}, - {5219, {gl, popName, 0}}, - {5220, {gl, prioritizeTextures, 0}}, - {5221, {gl, pushAttrib, 0}}, - {5222, {gl, pushClientAttrib, 0}}, - {5223, {gl, pushMatrix, 0}}, - {5224, {gl, pushName, 0}}, - {5225, {gl, rasterPos2d, 0}}, - {5226, {gl, rasterPos2f, 0}}, - {5227, {gl, rasterPos2i, 0}}, - {5228, {gl, rasterPos2s, 0}}, - {5229, {gl, rasterPos3d, 0}}, - {5230, {gl, rasterPos3f, 0}}, - {5231, {gl, rasterPos3i, 0}}, - {5232, {gl, rasterPos3s, 0}}, - {5233, {gl, rasterPos4d, 0}}, - {5234, {gl, rasterPos4f, 0}}, - {5235, {gl, rasterPos4i, 0}}, - {5236, {gl, rasterPos4s, 0}}, - {5237, {gl, readBuffer, 0}}, - {5238, {gl, readPixels, 0}}, - {5239, {gl, rectd, 0}}, - {5240, {gl, rectdv, 0}}, - {5241, {gl, rectf, 0}}, - {5242, {gl, rectfv, 0}}, - {5243, {gl, recti, 0}}, - {5244, {gl, rectiv, 0}}, - {5245, {gl, rects, 0}}, - {5246, {gl, rectsv, 0}}, - {5247, {gl, renderMode, 0}}, - {5248, {gl, rotated, 0}}, - {5249, {gl, rotatef, 0}}, - {5250, {gl, scaled, 0}}, - {5251, {gl, scalef, 0}}, - {5252, {gl, scissor, 0}}, - {5253, {gl, selectBuffer, 0}}, - {5254, {gl, shadeModel, 0}}, - {5255, {gl, stencilFunc, 0}}, - {5256, {gl, stencilMask, 0}}, - {5257, {gl, stencilOp, 0}}, - {5258, {gl, texCoord1d, 0}}, - {5259, {gl, texCoord1f, 0}}, - {5260, {gl, texCoord1i, 0}}, - {5261, {gl, texCoord1s, 0}}, - {5262, {gl, texCoord2d, 0}}, - {5263, {gl, texCoord2f, 0}}, - {5264, {gl, texCoord2i, 0}}, - {5265, {gl, texCoord2s, 0}}, - {5266, {gl, texCoord3d, 0}}, - {5267, {gl, texCoord3f, 0}}, - {5268, {gl, texCoord3i, 0}}, - {5269, {gl, texCoord3s, 0}}, - {5270, {gl, texCoord4d, 0}}, - {5271, {gl, texCoord4f, 0}}, - {5272, {gl, texCoord4i, 0}}, - {5273, {gl, texCoord4s, 0}}, - {5274, {gl, texCoordPointer, 0}}, - {5275, {gl, texCoordPointer, 0}}, - {5276, {gl, texEnvf, 0}}, - {5277, {gl, texEnvfv, 0}}, - {5278, {gl, texEnvi, 0}}, - {5279, {gl, texEnviv, 0}}, - {5280, {gl, texGend, 0}}, - {5281, {gl, texGendv, 0}}, - {5282, {gl, texGenf, 0}}, - {5283, {gl, texGenfv, 0}}, - {5284, {gl, texGeni, 0}}, - {5285, {gl, texGeniv, 0}}, - {5286, {gl, texImage1D, 0}}, - {5287, {gl, texImage1D, 0}}, - {5288, {gl, texImage2D, 0}}, - {5289, {gl, texImage2D, 0}}, - {5290, {gl, texParameterf, 0}}, - {5291, {gl, texParameterfv, 0}}, - {5292, {gl, texParameteri, 0}}, - {5293, {gl, texParameteriv, 0}}, - {5294, {gl, texSubImage1D, 0}}, - {5295, {gl, texSubImage1D, 0}}, - {5296, {gl, texSubImage2D, 0}}, - {5297, {gl, texSubImage2D, 0}}, - {5298, {gl, translated, 0}}, - {5299, {gl, translatef, 0}}, - {5300, {gl, vertex2d, 0}}, - {5301, {gl, vertex2f, 0}}, - {5302, {gl, vertex2i, 0}}, - {5303, {gl, vertex2s, 0}}, - {5304, {gl, vertex3d, 0}}, - {5305, {gl, vertex3f, 0}}, - {5306, {gl, vertex3i, 0}}, - {5307, {gl, vertex3s, 0}}, - {5308, {gl, vertex4d, 0}}, - {5309, {gl, vertex4f, 0}}, - {5310, {gl, vertex4i, 0}}, - {5311, {gl, vertex4s, 0}}, - {5312, {gl, vertexPointer, 0}}, - {5313, {gl, vertexPointer, 0}}, - {5314, {gl, viewport, 0}}, - {5315, {gl, blendColor, 0}}, - {5316, {gl, blendEquation, 0}}, - {5317, {gl, drawRangeElements, 0}}, - {5318, {gl, drawRangeElements, 0}}, - {5319, {gl, texImage3D, 0}}, - {5320, {gl, texImage3D, 0}}, - {5321, {gl, texSubImage3D, 0}}, - {5322, {gl, texSubImage3D, 0}}, - {5323, {gl, copyTexSubImage3D, 0}}, - {5324, {gl, colorTable, 0}}, - {5325, {gl, colorTable, 0}}, - {5326, {gl, colorTableParameterfv, 0}}, - {5327, {gl, colorTableParameteriv, 0}}, - {5328, {gl, copyColorTable, 0}}, - {5329, {gl, getColorTable, 0}}, - {5330, {gl, getColorTableParameterfv, 0}}, - {5331, {gl, getColorTableParameteriv, 0}}, - {5332, {gl, colorSubTable, 0}}, - {5333, {gl, colorSubTable, 0}}, - {5334, {gl, copyColorSubTable, 0}}, - {5335, {gl, convolutionFilter1D, 0}}, - {5336, {gl, convolutionFilter1D, 0}}, - {5337, {gl, convolutionFilter2D, 0}}, - {5338, {gl, convolutionFilter2D, 0}}, - {5339, {gl, convolutionParameterf, 0}}, - {5340, {gl, convolutionParameteri, 0}}, - {5341, {gl, copyConvolutionFilter1D, 0}}, - {5342, {gl, copyConvolutionFilter2D, 0}}, - {5343, {gl, getConvolutionFilter, 0}}, - {5344, {gl, getConvolutionParameterfv, 0}}, - {5345, {gl, getConvolutionParameteriv, 0}}, - {5346, {gl, separableFilter2D, 0}}, - {5347, {gl, separableFilter2D, 0}}, - {5348, {gl, getHistogram, 0}}, - {5349, {gl, getHistogramParameterfv, 0}}, - {5350, {gl, getHistogramParameteriv, 0}}, - {5351, {gl, getMinmax, 0}}, - {5352, {gl, getMinmaxParameterfv, 0}}, - {5353, {gl, getMinmaxParameteriv, 0}}, - {5354, {gl, histogram, 0}}, - {5355, {gl, minmax, 0}}, - {5356, {gl, resetHistogram, 0}}, - {5357, {gl, resetMinmax, 0}}, - {5358, {gl, activeTexture, 0}}, - {5359, {gl, sampleCoverage, 0}}, - {5360, {gl, compressedTexImage3D, 0}}, - {5361, {gl, compressedTexImage3D, 0}}, - {5362, {gl, compressedTexImage2D, 0}}, - {5363, {gl, compressedTexImage2D, 0}}, - {5364, {gl, compressedTexImage1D, 0}}, - {5365, {gl, compressedTexImage1D, 0}}, - {5366, {gl, compressedTexSubImage3D, 0}}, - {5367, {gl, compressedTexSubImage3D, 0}}, - {5368, {gl, compressedTexSubImage2D, 0}}, - {5369, {gl, compressedTexSubImage2D, 0}}, - {5370, {gl, compressedTexSubImage1D, 0}}, - {5371, {gl, compressedTexSubImage1D, 0}}, - {5372, {gl, getCompressedTexImage, 0}}, - {5373, {gl, clientActiveTexture, 0}}, - {5374, {gl, multiTexCoord1d, 0}}, - {5375, {gl, multiTexCoord1f, 0}}, - {5376, {gl, multiTexCoord1i, 0}}, - {5377, {gl, multiTexCoord1s, 0}}, - {5378, {gl, multiTexCoord2d, 0}}, - {5379, {gl, multiTexCoord2f, 0}}, - {5380, {gl, multiTexCoord2i, 0}}, - {5381, {gl, multiTexCoord2s, 0}}, - {5382, {gl, multiTexCoord3d, 0}}, - {5383, {gl, multiTexCoord3f, 0}}, - {5384, {gl, multiTexCoord3i, 0}}, - {5385, {gl, multiTexCoord3s, 0}}, - {5386, {gl, multiTexCoord4d, 0}}, - {5387, {gl, multiTexCoord4f, 0}}, - {5388, {gl, multiTexCoord4i, 0}}, - {5389, {gl, multiTexCoord4s, 0}}, - {5390, {gl, loadTransposeMatrixf, 0}}, - {5391, {gl, loadTransposeMatrixd, 0}}, - {5392, {gl, multTransposeMatrixf, 0}}, - {5393, {gl, multTransposeMatrixd, 0}}, - {5394, {gl, blendFuncSeparate, 0}}, - {5395, {gl, multiDrawArrays, 0}}, - {5396, {gl, pointParameterf, 0}}, - {5397, {gl, pointParameterfv, 0}}, - {5398, {gl, pointParameteri, 0}}, - {5399, {gl, pointParameteriv, 0}}, - {5400, {gl, fogCoordf, 0}}, - {5401, {gl, fogCoordd, 0}}, - {5402, {gl, fogCoordPointer, 0}}, - {5403, {gl, fogCoordPointer, 0}}, - {5404, {gl, secondaryColor3b, 0}}, - {5405, {gl, secondaryColor3d, 0}}, - {5406, {gl, secondaryColor3f, 0}}, - {5407, {gl, secondaryColor3i, 0}}, - {5408, {gl, secondaryColor3s, 0}}, - {5409, {gl, secondaryColor3ub, 0}}, - {5410, {gl, secondaryColor3ui, 0}}, - {5411, {gl, secondaryColor3us, 0}}, - {5412, {gl, secondaryColorPointer, 0}}, - {5413, {gl, secondaryColorPointer, 0}}, - {5414, {gl, windowPos2d, 0}}, - {5415, {gl, windowPos2f, 0}}, - {5416, {gl, windowPos2i, 0}}, - {5417, {gl, windowPos2s, 0}}, - {5418, {gl, windowPos3d, 0}}, - {5419, {gl, windowPos3f, 0}}, - {5420, {gl, windowPos3i, 0}}, - {5421, {gl, windowPos3s, 0}}, - {5422, {gl, genQueries, 0}}, - {5423, {gl, deleteQueries, 0}}, - {5424, {gl, isQuery, 0}}, - {5425, {gl, beginQuery, 0}}, - {5426, {gl, endQuery, 0}}, - {5427, {gl, getQueryiv, 0}}, - {5428, {gl, getQueryObjectiv, 0}}, - {5429, {gl, getQueryObjectuiv, 0}}, - {5430, {gl, bindBuffer, 0}}, - {5431, {gl, deleteBuffers, 0}}, - {5432, {gl, genBuffers, 0}}, - {5433, {gl, isBuffer, 0}}, - {5434, {gl, bufferData, 0}}, - {5435, {gl, bufferData, 0}}, - {5436, {gl, bufferSubData, 0}}, - {5437, {gl, bufferSubData, 0}}, - {5438, {gl, getBufferSubData, 0}}, - {5439, {gl, getBufferParameteriv, 0}}, - {5440, {gl, blendEquationSeparate, 0}}, - {5441, {gl, drawBuffers, 0}}, - {5442, {gl, stencilOpSeparate, 0}}, - {5443, {gl, stencilFuncSeparate, 0}}, - {5444, {gl, stencilMaskSeparate, 0}}, - {5445, {gl, attachShader, 0}}, - {5446, {gl, bindAttribLocation, 0}}, - {5447, {gl, compileShader, 0}}, - {5448, {gl, createProgram, 0}}, - {5449, {gl, createShader, 0}}, - {5450, {gl, deleteProgram, 0}}, - {5451, {gl, deleteShader, 0}}, - {5452, {gl, detachShader, 0}}, - {5453, {gl, disableVertexAttribArray, 0}}, - {5454, {gl, enableVertexAttribArray, 0}}, - {5455, {gl, getActiveAttrib, 0}}, - {5456, {gl, getActiveUniform, 0}}, - {5457, {gl, getAttachedShaders, 0}}, - {5458, {gl, getAttribLocation, 0}}, - {5459, {gl, getProgramiv, 0}}, - {5460, {gl, getProgramInfoLog, 0}}, - {5461, {gl, getShaderiv, 0}}, - {5462, {gl, getShaderInfoLog, 0}}, - {5463, {gl, getShaderSource, 0}}, - {5464, {gl, getUniformLocation, 0}}, - {5465, {gl, getUniformfv, 0}}, - {5466, {gl, getUniformiv, 0}}, - {5467, {gl, getVertexAttribdv, 0}}, - {5468, {gl, getVertexAttribfv, 0}}, - {5469, {gl, getVertexAttribiv, 0}}, - {5470, {gl, isProgram, 0}}, - {5471, {gl, isShader, 0}}, - {5472, {gl, linkProgram, 0}}, - {5473, {gl, shaderSource, 0}}, - {5474, {gl, useProgram, 0}}, - {5475, {gl, uniform1f, 0}}, - {5476, {gl, uniform2f, 0}}, - {5477, {gl, uniform3f, 0}}, - {5478, {gl, uniform4f, 0}}, - {5479, {gl, uniform1i, 0}}, - {5480, {gl, uniform2i, 0}}, - {5481, {gl, uniform3i, 0}}, - {5482, {gl, uniform4i, 0}}, - {5483, {gl, uniform1fv, 0}}, - {5484, {gl, uniform2fv, 0}}, - {5485, {gl, uniform3fv, 0}}, - {5486, {gl, uniform4fv, 0}}, - {5487, {gl, uniform1iv, 0}}, - {5488, {gl, uniform2iv, 0}}, - {5489, {gl, uniform3iv, 0}}, - {5490, {gl, uniform4iv, 0}}, - {5491, {gl, uniformMatrix2fv, 0}}, - {5492, {gl, uniformMatrix3fv, 0}}, - {5493, {gl, uniformMatrix4fv, 0}}, - {5494, {gl, validateProgram, 0}}, - {5495, {gl, vertexAttrib1d, 0}}, - {5496, {gl, vertexAttrib1f, 0}}, - {5497, {gl, vertexAttrib1s, 0}}, - {5498, {gl, vertexAttrib2d, 0}}, - {5499, {gl, vertexAttrib2f, 0}}, - {5500, {gl, vertexAttrib2s, 0}}, - {5501, {gl, vertexAttrib3d, 0}}, - {5502, {gl, vertexAttrib3f, 0}}, - {5503, {gl, vertexAttrib3s, 0}}, - {5504, {gl, vertexAttrib4Nbv, 0}}, - {5505, {gl, vertexAttrib4Niv, 0}}, - {5506, {gl, vertexAttrib4Nsv, 0}}, - {5507, {gl, vertexAttrib4Nub, 0}}, - {5508, {gl, vertexAttrib4Nuiv, 0}}, - {5509, {gl, vertexAttrib4Nusv, 0}}, - {5510, {gl, vertexAttrib4bv, 0}}, - {5511, {gl, vertexAttrib4d, 0}}, - {5512, {gl, vertexAttrib4f, 0}}, - {5513, {gl, vertexAttrib4iv, 0}}, - {5514, {gl, vertexAttrib4s, 0}}, - {5515, {gl, vertexAttrib4ubv, 0}}, - {5516, {gl, vertexAttrib4uiv, 0}}, - {5517, {gl, vertexAttrib4usv, 0}}, - {5518, {gl, vertexAttribPointer, 0}}, - {5519, {gl, vertexAttribPointer, 0}}, - {5520, {gl, uniformMatrix2x3fv, 0}}, - {5521, {gl, uniformMatrix3x2fv, 0}}, - {5522, {gl, uniformMatrix2x4fv, 0}}, - {5523, {gl, uniformMatrix4x2fv, 0}}, - {5524, {gl, uniformMatrix3x4fv, 0}}, - {5525, {gl, uniformMatrix4x3fv, 0}}, - {5526, {gl, colorMaski, 0}}, - {5527, {gl, getBooleani_v, 0}}, - {5528, {gl, getIntegeri_v, 0}}, - {5529, {gl, enablei, 0}}, - {5530, {gl, disablei, 0}}, - {5531, {gl, isEnabledi, 0}}, - {5532, {gl, beginTransformFeedback, 0}}, - {5533, {gl, endTransformFeedback, 0}}, - {5534, {gl, bindBufferRange, 0}}, - {5535, {gl, bindBufferBase, 0}}, - {5536, {gl, transformFeedbackVaryings, 0}}, - {5537, {gl, getTransformFeedbackVarying, 0}}, - {5538, {gl, clampColor, 0}}, - {5539, {gl, beginConditionalRender, 0}}, - {5540, {gl, endConditionalRender, 0}}, - {5541, {gl, vertexAttribIPointer, 0}}, - {5542, {gl, vertexAttribIPointer, 0}}, - {5543, {gl, getVertexAttribIiv, 0}}, - {5544, {gl, getVertexAttribIuiv, 0}}, - {5545, {gl, getUniformuiv, 0}}, - {5546, {gl, bindFragDataLocation, 0}}, - {5547, {gl, getFragDataLocation, 0}}, - {5548, {gl, uniform1ui, 0}}, - {5549, {gl, uniform2ui, 0}}, - {5550, {gl, uniform3ui, 0}}, - {5551, {gl, uniform4ui, 0}}, - {5552, {gl, uniform1uiv, 0}}, - {5553, {gl, uniform2uiv, 0}}, - {5554, {gl, uniform3uiv, 0}}, - {5555, {gl, uniform4uiv, 0}}, - {5556, {gl, texParameterIiv, 0}}, - {5557, {gl, texParameterIuiv, 0}}, - {5558, {gl, getTexParameterIiv, 0}}, - {5559, {gl, getTexParameterIuiv, 0}}, - {5560, {gl, clearBufferiv, 0}}, - {5561, {gl, clearBufferuiv, 0}}, - {5562, {gl, clearBufferfv, 0}}, - {5563, {gl, clearBufferfi, 0}}, - {5564, {gl, getStringi, 0}}, - {5565, {gl, vertexAttribI1i, 0}}, - {5566, {gl, vertexAttribI2i, 0}}, - {5567, {gl, vertexAttribI3i, 0}}, - {5568, {gl, vertexAttribI4i, 0}}, - {5569, {gl, vertexAttribI1ui, 0}}, - {5570, {gl, vertexAttribI2ui, 0}}, - {5571, {gl, vertexAttribI3ui, 0}}, - {5572, {gl, vertexAttribI4ui, 0}}, - {5573, {gl, vertexAttribI4bv, 0}}, - {5574, {gl, vertexAttribI4sv, 0}}, - {5575, {gl, vertexAttribI4ubv, 0}}, - {5576, {gl, vertexAttribI4usv, 0}}, - {5577, {gl, drawArraysInstanced, 0}}, - {5578, {gl, drawElementsInstanced, 0}}, - {5579, {gl, drawElementsInstanced, 0}}, - {5580, {gl, texBuffer, 0}}, - {5581, {gl, primitiveRestartIndex, 0}}, - {5582, {gl, loadTransposeMatrixfARB, 0}}, - {5583, {gl, loadTransposeMatrixdARB, 0}}, - {5584, {gl, multTransposeMatrixfARB, 0}}, - {5585, {gl, multTransposeMatrixdARB, 0}}, - {5586, {gl, weightbvARB, 0}}, - {5587, {gl, weightsvARB, 0}}, - {5588, {gl, weightivARB, 0}}, - {5589, {gl, weightfvARB, 0}}, - {5590, {gl, weightdvARB, 0}}, - {5591, {gl, weightubvARB, 0}}, - {5592, {gl, weightusvARB, 0}}, - {5593, {gl, weightuivARB, 0}}, - {5594, {gl, vertexBlendARB, 0}}, - {5595, {gl, currentPaletteMatrixARB, 0}}, - {5596, {gl, matrixIndexubvARB, 0}}, - {5597, {gl, matrixIndexusvARB, 0}}, - {5598, {gl, matrixIndexuivARB, 0}}, - {5599, {gl, programStringARB, 0}}, - {5600, {gl, bindProgramARB, 0}}, - {5601, {gl, deleteProgramsARB, 0}}, - {5602, {gl, genProgramsARB, 0}}, - {5603, {gl, programEnvParameter4dARB, 0}}, - {5604, {gl, programEnvParameter4dvARB, 0}}, - {5605, {gl, programEnvParameter4fARB, 0}}, - {5606, {gl, programEnvParameter4fvARB, 0}}, - {5607, {gl, programLocalParameter4dARB, 0}}, - {5608, {gl, programLocalParameter4dvARB, 0}}, - {5609, {gl, programLocalParameter4fARB, 0}}, - {5610, {gl, programLocalParameter4fvARB, 0}}, - {5611, {gl, getProgramEnvParameterdvARB, 0}}, - {5612, {gl, getProgramEnvParameterfvARB, 0}}, - {5613, {gl, getProgramLocalParameterdvARB, 0}}, - {5614, {gl, getProgramLocalParameterfvARB, 0}}, - {5615, {gl, getProgramStringARB, 0}}, - {5616, {gl, deleteObjectARB, 0}}, - {5617, {gl, getHandleARB, 0}}, - {5618, {gl, detachObjectARB, 0}}, - {5619, {gl, createShaderObjectARB, 0}}, - {5620, {gl, shaderSourceARB, 0}}, - {5621, {gl, compileShaderARB, 0}}, - {5622, {gl, createProgramObjectARB, 0}}, - {5623, {gl, attachObjectARB, 0}}, - {5624, {gl, linkProgramARB, 0}}, - {5625, {gl, useProgramObjectARB, 0}}, - {5626, {gl, validateProgramARB, 0}}, - {5627, {gl, getObjectParameterfvARB, 0}}, - {5628, {gl, getObjectParameterivARB, 0}}, - {5629, {gl, getInfoLogARB, 0}}, - {5630, {gl, getAttachedObjectsARB, 0}}, - {5631, {gl, getUniformLocationARB, 0}}, - {5632, {gl, getActiveUniformARB, 0}}, - {5633, {gl, getUniformfvARB, 0}}, - {5634, {gl, getUniformivARB, 0}}, - {5635, {gl, getShaderSourceARB, 0}}, - {5636, {gl, bindAttribLocationARB, 0}}, - {5637, {gl, getActiveAttribARB, 0}}, - {5638, {gl, getAttribLocationARB, 0}}, - {5639, {gl, isRenderbuffer, 0}}, - {5640, {gl, bindRenderbuffer, 0}}, - {5641, {gl, deleteRenderbuffers, 0}}, - {5642, {gl, genRenderbuffers, 0}}, - {5643, {gl, renderbufferStorage, 0}}, - {5644, {gl, getRenderbufferParameteriv, 0}}, - {5645, {gl, isFramebuffer, 0}}, - {5646, {gl, bindFramebuffer, 0}}, - {5647, {gl, deleteFramebuffers, 0}}, - {5648, {gl, genFramebuffers, 0}}, - {5649, {gl, checkFramebufferStatus, 0}}, - {5650, {gl, framebufferTexture1D, 0}}, - {5651, {gl, framebufferTexture2D, 0}}, - {5652, {gl, framebufferTexture3D, 0}}, - {5653, {gl, framebufferRenderbuffer, 0}}, - {5654, {gl, getFramebufferAttachmentParameteriv, 0}}, - {5655, {gl, generateMipmap, 0}}, - {5656, {gl, blitFramebuffer, 0}}, - {5657, {gl, renderbufferStorageMultisample, 0}}, - {5658, {gl, framebufferTextureLayer, 0}}, - {5659, {gl, programParameteriARB, 0}}, - {5660, {gl, framebufferTextureARB, 0}}, - {5661, {gl, framebufferTextureFaceARB, 0}}, - {5662, {gl, vertexAttribDivisorARB, 0}}, - {5663, {gl, flushMappedBufferRange, 0}}, - {5664, {gl, bindVertexArray, 0}}, - {5665, {gl, deleteVertexArrays, 0}}, - {5666, {gl, genVertexArrays, 0}}, - {5667, {gl, isVertexArray, 0}}, - {5668, {gl, getUniformIndices, 0}}, - {5669, {gl, getActiveUniformsiv, 0}}, - {5670, {gl, getActiveUniformName, 0}}, - {5671, {gl, getUniformBlockIndex, 0}}, - {5672, {gl, getActiveUniformBlockiv, 0}}, - {5673, {gl, getActiveUniformBlockName, 0}}, - {5674, {gl, uniformBlockBinding, 0}}, - {5675, {gl, copyBufferSubData, 0}}, - {5676, {gl, resizeBuffersMESA, 0}}, - {5677, {gl, windowPos4dMESA, 0}}, - {5678, {gl, windowPos4fMESA, 0}}, - {5679, {gl, windowPos4iMESA, 0}}, - {5680, {gl, windowPos4sMESA, 0}}, - {5681, {gl, depthBoundsEXT, 0}}, - {5682, {gl, stencilClearTagEXT, 0}}, - {5010, {glu, build1DMipmapLevels, 0}}, - {5011, {glu, build1DMipmaps, 0}}, - {5012, {glu, build2DMipmapLevels, 0}}, - {5013, {glu, build2DMipmaps, 0}}, - {5014, {glu, build3DMipmapLevels, 0}}, - {5015, {glu, build3DMipmaps, 0}}, - {5016, {glu, checkExtension, 0}}, - {5017, {glu, cylinder, 0}}, - {5018, {glu, deleteQuadric, 0}}, - {5019, {glu, disk, 0}}, - {5020, {glu, errorString, 0}}, - {5021, {glu, getString, 0}}, - {5022, {glu, lookAt, 0}}, - {5023, {glu, newQuadric, 0}}, - {5024, {glu, ortho2D, 0}}, - {5025, {glu, partialDisk, 0}}, - {5026, {glu, perspective, 0}}, - {5027, {glu, pickMatrix, 0}}, - {5028, {glu, project, 0}}, - {5029, {glu, quadricDrawStyle, 0}}, - {5030, {glu, quadricNormals, 0}}, - {5031, {glu, quadricOrientation, 0}}, - {5032, {glu, quadricTexture, 0}}, - {5033, {glu, scaleImage, 0}}, - {5034, {glu, sphere, 0}}, - {5035, {glu, unProject, 0}}, - {5036, {glu, unProject4, 0}}, - {-1, {mod, func, -1}} -]. - diff --git a/lib/wx/src/gen/glu.erl b/lib/wx/src/gen/glu.erl index ae4bac4e06..c16f0cf125 100644 --- a/lib/wx/src/gen/glu.erl +++ b/lib/wx/src/gen/glu.erl @@ -20,19 +20,18 @@ %% This file is generated DO NOT EDIT -%% @doc A part of the standard OpenGL Utility api. +%% @doc A part of the standard OpenGL Utility api. %% See <a href="http://www.opengl.org/sdk/docs/man/">www.opengl.org</a> %% -%% Booleans are represented by integers 0 and 1. +%% Booleans are represented by integers 0 and 1. -%% @type wx_mem(). see wx.erl on memory allocation functions +%% @type mem(). memory block %% @type enum(). An integer defined in gl.hrl %% @type offset(). An integer which is an offset in an array -%% @type clamp(). A float clamped between 0.0 - 1.0 +%% @type clamp(). A float clamped between 0.0 - 1.0 -module(glu). -compile(inline). --include("wxe.hrl"). -define(GLenum,32/native-unsigned). -define(GLboolean,8/native-unsigned). -define(GLbitfield,32/native-unsigned). @@ -51,6 +50,11 @@ -define(GLintptr,64/native-unsigned). -define(GLUquadric,64/native-unsigned). -define(GLhandleARB,64/native-unsigned). +-define(GLsync,64/native-unsigned). +-define(GLuint64,64/native-unsigned). +-define(GLint64,64/native-signed). +-type enum() :: non_neg_integer(). +-type mem() :: binary() | tuple(). -export([tesselate/2,build1DMipmapLevels/9,build1DMipmaps/6,build2DMipmapLevels/10, build2DMipmaps/7,build3DMipmapLevels/11,build3DMipmaps/8,checkExtension/2, @@ -59,8 +63,8 @@ quadricDrawStyle/2,quadricNormals/2,quadricOrientation/2,quadricTexture/2, scaleImage/9,sphere/4,unProject/6,unProject4/9]). - -%% API +-import(gl, [call/2,cast/2,send_bin/1]). +%% API %% @spec (Vec3, [Vec3]) -> {Triangles, VertexPos} %% Vec3 = {float(),float(),float()} @@ -69,163 +73,188 @@ %% @doc General purpose polygon triangulation. %% The first argument is the normal and the second a list of %% vertex positions. Returned is a list of indecies of the vertices -%% and a binary (64bit native float) containing an array of -%% vertex positions, it starts with the vertices in Vs and +%% and a binary (64bit native float) containing an array of +%% vertex positions, it starts with the vertices in Vs and %% may contain newly created vertices in the end. tesselate({Nx,Ny,Nz}, Vs) -> - wxe_util:call(5000, <<(length(Vs)):32/native,0:32, + call(5000, <<(length(Vs)):32/native,0:32, Nx:?GLdouble,Ny:?GLdouble,Nz:?GLdouble, (<< <<Vx:?GLdouble,Vy:?GLdouble,Vz:?GLdouble >> || {Vx,Vy,Vz} <- Vs>>)/binary >>). %% @spec (Target::enum(),InternalFormat::integer(),Width::integer(),Format::enum(),Type::enum(),Level::integer(),Base::integer(),Max::integer(),Data::binary()) -> integer() %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluBuild1DMipmapLevels.xml">external</a> documentation. +-spec build1DMipmapLevels(enum(),integer(),integer(),enum(),enum(),integer(),integer(),integer(),binary()) -> integer(). build1DMipmapLevels(Target,InternalFormat,Width,Format,Type,Level,Base,Max,Data) -> - wxe_util:send_bin(Data), - wxe_util:call(5010, <<Target:?GLenum,InternalFormat:?GLint,Width:?GLsizei,Format:?GLenum,Type:?GLenum,Level:?GLint,Base:?GLint,Max:?GLint>>). + send_bin(Data), + call(5010, <<Target:?GLenum,InternalFormat:?GLint,Width:?GLsizei,Format:?GLenum,Type:?GLenum,Level:?GLint,Base:?GLint,Max:?GLint>>). %% @spec (Target::enum(),InternalFormat::integer(),Width::integer(),Format::enum(),Type::enum(),Data::binary()) -> integer() %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluBuild1DMipmaps.xml">external</a> documentation. +-spec build1DMipmaps(enum(),integer(),integer(),enum(),enum(),binary()) -> integer(). build1DMipmaps(Target,InternalFormat,Width,Format,Type,Data) -> - wxe_util:send_bin(Data), - wxe_util:call(5011, <<Target:?GLenum,InternalFormat:?GLint,Width:?GLsizei,Format:?GLenum,Type:?GLenum>>). + send_bin(Data), + call(5011, <<Target:?GLenum,InternalFormat:?GLint,Width:?GLsizei,Format:?GLenum,Type:?GLenum>>). %% @spec (Target::enum(),InternalFormat::integer(),Width::integer(),Height::integer(),Format::enum(),Type::enum(),Level::integer(),Base::integer(),Max::integer(),Data::binary()) -> integer() %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluBuild2DMipmapLevels.xml">external</a> documentation. +-spec build2DMipmapLevels(enum(),integer(),integer(),integer(),enum(),enum(),integer(),integer(),integer(),binary()) -> integer(). build2DMipmapLevels(Target,InternalFormat,Width,Height,Format,Type,Level,Base,Max,Data) -> - wxe_util:send_bin(Data), - wxe_util:call(5012, <<Target:?GLenum,InternalFormat:?GLint,Width:?GLsizei,Height:?GLsizei,Format:?GLenum,Type:?GLenum,Level:?GLint,Base:?GLint,Max:?GLint>>). + send_bin(Data), + call(5012, <<Target:?GLenum,InternalFormat:?GLint,Width:?GLsizei,Height:?GLsizei,Format:?GLenum,Type:?GLenum,Level:?GLint,Base:?GLint,Max:?GLint>>). %% @spec (Target::enum(),InternalFormat::integer(),Width::integer(),Height::integer(),Format::enum(),Type::enum(),Data::binary()) -> integer() %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluBuild2DMipmaps.xml">external</a> documentation. +-spec build2DMipmaps(enum(),integer(),integer(),integer(),enum(),enum(),binary()) -> integer(). build2DMipmaps(Target,InternalFormat,Width,Height,Format,Type,Data) -> - wxe_util:send_bin(Data), - wxe_util:call(5013, <<Target:?GLenum,InternalFormat:?GLint,Width:?GLsizei,Height:?GLsizei,Format:?GLenum,Type:?GLenum>>). + send_bin(Data), + call(5013, <<Target:?GLenum,InternalFormat:?GLint,Width:?GLsizei,Height:?GLsizei,Format:?GLenum,Type:?GLenum>>). %% @spec (Target::enum(),InternalFormat::integer(),Width::integer(),Height::integer(),Depth::integer(),Format::enum(),Type::enum(),Level::integer(),Base::integer(),Max::integer(),Data::binary()) -> integer() %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluBuild3DMipmapLevels.xml">external</a> documentation. +-spec build3DMipmapLevels(enum(),integer(),integer(),integer(),integer(),enum(),enum(),integer(),integer(),integer(),binary()) -> integer(). build3DMipmapLevels(Target,InternalFormat,Width,Height,Depth,Format,Type,Level,Base,Max,Data) -> - wxe_util:send_bin(Data), - wxe_util:call(5014, <<Target:?GLenum,InternalFormat:?GLint,Width:?GLsizei,Height:?GLsizei,Depth:?GLsizei,Format:?GLenum,Type:?GLenum,Level:?GLint,Base:?GLint,Max:?GLint>>). + send_bin(Data), + call(5014, <<Target:?GLenum,InternalFormat:?GLint,Width:?GLsizei,Height:?GLsizei,Depth:?GLsizei,Format:?GLenum,Type:?GLenum,Level:?GLint,Base:?GLint,Max:?GLint>>). %% @spec (Target::enum(),InternalFormat::integer(),Width::integer(),Height::integer(),Depth::integer(),Format::enum(),Type::enum(),Data::binary()) -> integer() %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluBuild3DMipmaps.xml">external</a> documentation. +-spec build3DMipmaps(enum(),integer(),integer(),integer(),integer(),enum(),enum(),binary()) -> integer(). build3DMipmaps(Target,InternalFormat,Width,Height,Depth,Format,Type,Data) -> - wxe_util:send_bin(Data), - wxe_util:call(5015, <<Target:?GLenum,InternalFormat:?GLint,Width:?GLsizei,Height:?GLsizei,Depth:?GLsizei,Format:?GLenum,Type:?GLenum>>). + send_bin(Data), + call(5015, <<Target:?GLenum,InternalFormat:?GLint,Width:?GLsizei,Height:?GLsizei,Depth:?GLsizei,Format:?GLenum,Type:?GLenum>>). -%% @spec (ExtName::[integer()],ExtString::[integer()]) -> 0|1 +%% @spec (ExtName::string(),ExtString::string()) -> 0|1 %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluCheckExtension.xml">external</a> documentation. +-spec checkExtension(string(),string()) -> 0|1. checkExtension(ExtName,ExtString) -> - wxe_util:call(5016, <<(length(ExtName)):?GLuint, - (<< <<C:?GLubyte>> || C <- ExtName>>)/binary,0:((8-((length(ExtName)+ 4) rem 8)) rem 8),(length(ExtString)):?GLuint, - (<< <<C:?GLubyte>> || C <- ExtString>>)/binary,0:((8-((length(ExtString)+ 4) rem 8)) rem 8)>>). + call(5016, <<(list_to_binary([ExtName|[0]]))/binary,0:((8-((length(ExtName)+ 1) rem 8)) rem 8),(list_to_binary([ExtString|[0]]))/binary,0:((8-((length(ExtString)+ 1) rem 8)) rem 8)>>). %% @spec (Quad::integer(),Base::float(),Top::float(),Height::float(),Slices::integer(),Stacks::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluCylinder.xml">external</a> documentation. +-spec cylinder(integer(),float(),float(),float(),integer(),integer()) -> ok. cylinder(Quad,Base,Top,Height,Slices,Stacks) -> - wxe_util:cast(5017, <<Quad:?GLUquadric,Base:?GLdouble,Top:?GLdouble,Height:?GLdouble,Slices:?GLint,Stacks:?GLint>>). + cast(5017, <<Quad:?GLUquadric,Base:?GLdouble,Top:?GLdouble,Height:?GLdouble,Slices:?GLint,Stacks:?GLint>>). %% @spec (Quad::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluDeleteQuadric.xml">external</a> documentation. +-spec deleteQuadric(integer()) -> ok. deleteQuadric(Quad) -> - wxe_util:cast(5018, <<Quad:?GLUquadric>>). + cast(5018, <<Quad:?GLUquadric>>). %% @spec (Quad::integer(),Inner::float(),Outer::float(),Slices::integer(),Loops::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluDisk.xml">external</a> documentation. +-spec disk(integer(),float(),float(),integer(),integer()) -> ok. disk(Quad,Inner,Outer,Slices,Loops) -> - wxe_util:cast(5019, <<Quad:?GLUquadric,Inner:?GLdouble,Outer:?GLdouble,Slices:?GLint,Loops:?GLint>>). + cast(5019, <<Quad:?GLUquadric,Inner:?GLdouble,Outer:?GLdouble,Slices:?GLint,Loops:?GLint>>). %% @spec (Error::enum()) -> string() %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluErrorString.xml">external</a> documentation. +-spec errorString(enum()) -> string(). errorString(Error) -> - wxe_util:call(5020, <<Error:?GLenum>>). + call(5020, <<Error:?GLenum>>). %% @spec (Name::enum()) -> string() %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluGetString.xml">external</a> documentation. +-spec getString(enum()) -> string(). getString(Name) -> - wxe_util:call(5021, <<Name:?GLenum>>). + call(5021, <<Name:?GLenum>>). %% @spec (EyeX::float(),EyeY::float(),EyeZ::float(),CenterX::float(),CenterY::float(),CenterZ::float(),UpX::float(),UpY::float(),UpZ::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluLookAt.xml">external</a> documentation. +-spec lookAt(float(),float(),float(),float(),float(),float(),float(),float(),float()) -> ok. lookAt(EyeX,EyeY,EyeZ,CenterX,CenterY,CenterZ,UpX,UpY,UpZ) -> - wxe_util:cast(5022, <<EyeX:?GLdouble,EyeY:?GLdouble,EyeZ:?GLdouble,CenterX:?GLdouble,CenterY:?GLdouble,CenterZ:?GLdouble,UpX:?GLdouble,UpY:?GLdouble,UpZ:?GLdouble>>). + cast(5022, <<EyeX:?GLdouble,EyeY:?GLdouble,EyeZ:?GLdouble,CenterX:?GLdouble,CenterY:?GLdouble,CenterZ:?GLdouble,UpX:?GLdouble,UpY:?GLdouble,UpZ:?GLdouble>>). %% @spec () -> integer() %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluNewQuadric.xml">external</a> documentation. +-spec newQuadric() -> integer(). newQuadric() -> - wxe_util:call(5023, <<>>). + call(5023, <<>>). %% @spec (Left::float(),Right::float(),Bottom::float(),Top::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluOrtho2D.xml">external</a> documentation. +-spec ortho2D(float(),float(),float(),float()) -> ok. ortho2D(Left,Right,Bottom,Top) -> - wxe_util:cast(5024, <<Left:?GLdouble,Right:?GLdouble,Bottom:?GLdouble,Top:?GLdouble>>). + cast(5024, <<Left:?GLdouble,Right:?GLdouble,Bottom:?GLdouble,Top:?GLdouble>>). %% @spec (Quad::integer(),Inner::float(),Outer::float(),Slices::integer(),Loops::integer(),Start::float(),Sweep::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluPartialDisk.xml">external</a> documentation. +-spec partialDisk(integer(),float(),float(),integer(),integer(),float(),float()) -> ok. partialDisk(Quad,Inner,Outer,Slices,Loops,Start,Sweep) -> - wxe_util:cast(5025, <<Quad:?GLUquadric,Inner:?GLdouble,Outer:?GLdouble,Slices:?GLint,Loops:?GLint,Start:?GLdouble,Sweep:?GLdouble>>). + cast(5025, <<Quad:?GLUquadric,Inner:?GLdouble,Outer:?GLdouble,Slices:?GLint,Loops:?GLint,Start:?GLdouble,Sweep:?GLdouble>>). %% @spec (Fovy::float(),Aspect::float(),ZNear::float(),ZFar::float()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluPerspective.xml">external</a> documentation. +-spec perspective(float(),float(),float(),float()) -> ok. perspective(Fovy,Aspect,ZNear,ZFar) -> - wxe_util:cast(5026, <<Fovy:?GLdouble,Aspect:?GLdouble,ZNear:?GLdouble,ZFar:?GLdouble>>). + cast(5026, <<Fovy:?GLdouble,Aspect:?GLdouble,ZNear:?GLdouble,ZFar:?GLdouble>>). -%% @spec (X::float(),Y::float(),DelX::float(),DelY::float(),Viewport::{integer()}) -> ok +%% @spec (X::float(),Y::float(),DelX::float(),DelY::float(),Viewport::{integer(),integer(),integer(),integer()}) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluPickMatrix.xml">external</a> documentation. +-spec pickMatrix(float(),float(),float(),float(),{integer(),integer(),integer(),integer()}) -> ok. pickMatrix(X,Y,DelX,DelY,{V1,V2,V3,V4}) -> - wxe_util:cast(5027, <<X:?GLdouble,Y:?GLdouble,DelX:?GLdouble,DelY:?GLdouble,V1:?GLint,V2:?GLint,V3:?GLint,V4:?GLint>>). + cast(5027, <<X:?GLdouble,Y:?GLdouble,DelX:?GLdouble,DelY:?GLdouble,V1:?GLint,V2:?GLint,V3:?GLint,V4:?GLint>>). -%% @spec (ObjX::float(),ObjY::float(),ObjZ::float(),Model::{float()},Proj::{float()},View::{integer()}) -> {integer(),WinX::float(),WinY::float(),WinZ::float()} +%% @spec (ObjX::float(),ObjY::float(),ObjZ::float(),Model::{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()},Proj::{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()},View::{integer(),integer(),integer(),integer()}) -> {integer(),WinX::float(),WinY::float(),WinZ::float()} %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluProject.xml">external</a> documentation. +-spec project(float(),float(),float(),{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()},{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()},{integer(),integer(),integer(),integer()}) -> {integer(),float(),float(),float()}. project(ObjX,ObjY,ObjZ,{M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12,M13,M14,M15,M16},{P1,P2,P3,P4,P5,P6,P7,P8,P9,P10,P11,P12,P13,P14,P15,P16},{V1,V2,V3,V4}) -> - wxe_util:call(5028, <<ObjX:?GLdouble,ObjY:?GLdouble,ObjZ:?GLdouble,M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,M13:?GLdouble,M14:?GLdouble,M15:?GLdouble,M16:?GLdouble,P1:?GLdouble,P2:?GLdouble,P3:?GLdouble,P4:?GLdouble,P5:?GLdouble,P6:?GLdouble,P7:?GLdouble,P8:?GLdouble,P9:?GLdouble,P10:?GLdouble,P11:?GLdouble,P12:?GLdouble,P13:?GLdouble,P14:?GLdouble,P15:?GLdouble,P16:?GLdouble,V1:?GLint,V2:?GLint,V3:?GLint,V4:?GLint>>); + call(5028, <<ObjX:?GLdouble,ObjY:?GLdouble,ObjZ:?GLdouble,M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,M13:?GLdouble,M14:?GLdouble,M15:?GLdouble,M16:?GLdouble,P1:?GLdouble,P2:?GLdouble,P3:?GLdouble,P4:?GLdouble,P5:?GLdouble,P6:?GLdouble,P7:?GLdouble,P8:?GLdouble,P9:?GLdouble,P10:?GLdouble,P11:?GLdouble,P12:?GLdouble,P13:?GLdouble,P14:?GLdouble,P15:?GLdouble,P16:?GLdouble,V1:?GLint,V2:?GLint,V3:?GLint,V4:?GLint>>); project(ObjX,ObjY,ObjZ,{M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12},{P1,P2,P3,P4,P5,P6,P7,P8,P9,P10,P11,P12},{V1,V2,V3,V4}) -> - wxe_util:call(5028, <<ObjX:?GLdouble,ObjY:?GLdouble,ObjZ:?GLdouble,M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,0:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,0:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,0:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,1:?GLdouble,P1:?GLdouble,P2:?GLdouble,P3:?GLdouble,0:?GLdouble,P4:?GLdouble,P5:?GLdouble,P6:?GLdouble,0:?GLdouble,P7:?GLdouble,P8:?GLdouble,P9:?GLdouble,0:?GLdouble,P10:?GLdouble,P11:?GLdouble,P12:?GLdouble,1:?GLdouble,V1:?GLint,V2:?GLint,V3:?GLint,V4:?GLint>>). + call(5028, <<ObjX:?GLdouble,ObjY:?GLdouble,ObjZ:?GLdouble,M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,0:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,0:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,0:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,1:?GLdouble,P1:?GLdouble,P2:?GLdouble,P3:?GLdouble,0:?GLdouble,P4:?GLdouble,P5:?GLdouble,P6:?GLdouble,0:?GLdouble,P7:?GLdouble,P8:?GLdouble,P9:?GLdouble,0:?GLdouble,P10:?GLdouble,P11:?GLdouble,P12:?GLdouble,1:?GLdouble,V1:?GLint,V2:?GLint,V3:?GLint,V4:?GLint>>). %% @spec (Quad::integer(),Draw::enum()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluQuadricDrawStyle.xml">external</a> documentation. +-spec quadricDrawStyle(integer(),enum()) -> ok. quadricDrawStyle(Quad,Draw) -> - wxe_util:cast(5029, <<Quad:?GLUquadric,Draw:?GLenum>>). + cast(5029, <<Quad:?GLUquadric,Draw:?GLenum>>). %% @spec (Quad::integer(),Normal::enum()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluQuadricNormals.xml">external</a> documentation. +-spec quadricNormals(integer(),enum()) -> ok. quadricNormals(Quad,Normal) -> - wxe_util:cast(5030, <<Quad:?GLUquadric,Normal:?GLenum>>). + cast(5030, <<Quad:?GLUquadric,Normal:?GLenum>>). %% @spec (Quad::integer(),Orientation::enum()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluQuadricOrientation.xml">external</a> documentation. +-spec quadricOrientation(integer(),enum()) -> ok. quadricOrientation(Quad,Orientation) -> - wxe_util:cast(5031, <<Quad:?GLUquadric,Orientation:?GLenum>>). + cast(5031, <<Quad:?GLUquadric,Orientation:?GLenum>>). %% @spec (Quad::integer(),Texture::0|1) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluQuadricTexture.xml">external</a> documentation. +-spec quadricTexture(integer(),0|1) -> ok. quadricTexture(Quad,Texture) -> - wxe_util:cast(5032, <<Quad:?GLUquadric,Texture:?GLboolean>>). + cast(5032, <<Quad:?GLUquadric,Texture:?GLboolean>>). -%% @spec (Format::enum(),WIn::integer(),HIn::integer(),TypeIn::enum(),DataIn::binary(),WOut::integer(),HOut::integer(),TypeOut::enum(),DataOut::wx:wx_mem()) -> integer() +%% @spec (Format::enum(),WIn::integer(),HIn::integer(),TypeIn::enum(),DataIn::binary(),WOut::integer(),HOut::integer(),TypeOut::enum(),DataOut::mem()) -> integer() %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluScaleImage.xml">external</a> documentation. +-spec scaleImage(enum(),integer(),integer(),enum(),binary(),integer(),integer(),enum(),mem()) -> integer(). scaleImage(Format,WIn,HIn,TypeIn,DataIn,WOut,HOut,TypeOut,DataOut) -> - wxe_util:send_bin(DataIn), - wxe_util:send_bin(DataOut#wx_mem.bin), - wxe_util:call(5033, <<Format:?GLenum,WIn:?GLsizei,HIn:?GLsizei,TypeIn:?GLenum,WOut:?GLsizei,HOut:?GLsizei,TypeOut:?GLenum>>). + send_bin(DataIn), + send_bin(DataOut), + call(5033, <<Format:?GLenum,WIn:?GLsizei,HIn:?GLsizei,TypeIn:?GLenum,WOut:?GLsizei,HOut:?GLsizei,TypeOut:?GLenum>>). %% @spec (Quad::integer(),Radius::float(),Slices::integer(),Stacks::integer()) -> ok %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluSphere.xml">external</a> documentation. +-spec sphere(integer(),float(),integer(),integer()) -> ok. sphere(Quad,Radius,Slices,Stacks) -> - wxe_util:cast(5034, <<Quad:?GLUquadric,Radius:?GLdouble,Slices:?GLint,Stacks:?GLint>>). + cast(5034, <<Quad:?GLUquadric,Radius:?GLdouble,Slices:?GLint,Stacks:?GLint>>). -%% @spec (WinX::float(),WinY::float(),WinZ::float(),Model::{float()},Proj::{float()},View::{integer()}) -> {integer(),ObjX::float(),ObjY::float(),ObjZ::float()} +%% @spec (WinX::float(),WinY::float(),WinZ::float(),Model::{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()},Proj::{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()},View::{integer(),integer(),integer(),integer()}) -> {integer(),ObjX::float(),ObjY::float(),ObjZ::float()} %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluUnProject.xml">external</a> documentation. +-spec unProject(float(),float(),float(),{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()},{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()},{integer(),integer(),integer(),integer()}) -> {integer(),float(),float(),float()}. unProject(WinX,WinY,WinZ,{M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12,M13,M14,M15,M16},{P1,P2,P3,P4,P5,P6,P7,P8,P9,P10,P11,P12,P13,P14,P15,P16},{V1,V2,V3,V4}) -> - wxe_util:call(5035, <<WinX:?GLdouble,WinY:?GLdouble,WinZ:?GLdouble,M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,M13:?GLdouble,M14:?GLdouble,M15:?GLdouble,M16:?GLdouble,P1:?GLdouble,P2:?GLdouble,P3:?GLdouble,P4:?GLdouble,P5:?GLdouble,P6:?GLdouble,P7:?GLdouble,P8:?GLdouble,P9:?GLdouble,P10:?GLdouble,P11:?GLdouble,P12:?GLdouble,P13:?GLdouble,P14:?GLdouble,P15:?GLdouble,P16:?GLdouble,V1:?GLint,V2:?GLint,V3:?GLint,V4:?GLint>>); + call(5035, <<WinX:?GLdouble,WinY:?GLdouble,WinZ:?GLdouble,M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,M13:?GLdouble,M14:?GLdouble,M15:?GLdouble,M16:?GLdouble,P1:?GLdouble,P2:?GLdouble,P3:?GLdouble,P4:?GLdouble,P5:?GLdouble,P6:?GLdouble,P7:?GLdouble,P8:?GLdouble,P9:?GLdouble,P10:?GLdouble,P11:?GLdouble,P12:?GLdouble,P13:?GLdouble,P14:?GLdouble,P15:?GLdouble,P16:?GLdouble,V1:?GLint,V2:?GLint,V3:?GLint,V4:?GLint>>); unProject(WinX,WinY,WinZ,{M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12},{P1,P2,P3,P4,P5,P6,P7,P8,P9,P10,P11,P12},{V1,V2,V3,V4}) -> - wxe_util:call(5035, <<WinX:?GLdouble,WinY:?GLdouble,WinZ:?GLdouble,M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,0:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,0:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,0:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,1:?GLdouble,P1:?GLdouble,P2:?GLdouble,P3:?GLdouble,0:?GLdouble,P4:?GLdouble,P5:?GLdouble,P6:?GLdouble,0:?GLdouble,P7:?GLdouble,P8:?GLdouble,P9:?GLdouble,0:?GLdouble,P10:?GLdouble,P11:?GLdouble,P12:?GLdouble,1:?GLdouble,V1:?GLint,V2:?GLint,V3:?GLint,V4:?GLint>>). + call(5035, <<WinX:?GLdouble,WinY:?GLdouble,WinZ:?GLdouble,M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,0:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,0:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,0:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,1:?GLdouble,P1:?GLdouble,P2:?GLdouble,P3:?GLdouble,0:?GLdouble,P4:?GLdouble,P5:?GLdouble,P6:?GLdouble,0:?GLdouble,P7:?GLdouble,P8:?GLdouble,P9:?GLdouble,0:?GLdouble,P10:?GLdouble,P11:?GLdouble,P12:?GLdouble,1:?GLdouble,V1:?GLint,V2:?GLint,V3:?GLint,V4:?GLint>>). -%% @spec (WinX::float(),WinY::float(),WinZ::float(),ClipW::float(),Model::{float()},Proj::{float()},View::{integer()},NearVal::float(),FarVal::float()) -> {integer(),ObjX::float(),ObjY::float(),ObjZ::float(),ObjW::float()} +%% @spec (WinX::float(),WinY::float(),WinZ::float(),ClipW::float(),Model::{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()},Proj::{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()},View::{integer(),integer(),integer(),integer()},NearVal::float(),FarVal::float()) -> {integer(),ObjX::float(),ObjY::float(),ObjZ::float(),ObjW::float()} %% @doc See <a href="http://www.opengl.org/sdk/docs/man/xhtml/gluUnProject.xml">external</a> documentation. +-spec unProject4(float(),float(),float(),float(),{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()},{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()},{integer(),integer(),integer(),integer()},float(),float()) -> {integer(),float(),float(),float(),float()}. unProject4(WinX,WinY,WinZ,ClipW,{M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12,M13,M14,M15,M16},{P1,P2,P3,P4,P5,P6,P7,P8,P9,P10,P11,P12,P13,P14,P15,P16},{V1,V2,V3,V4},NearVal,FarVal) -> - wxe_util:call(5036, <<WinX:?GLdouble,WinY:?GLdouble,WinZ:?GLdouble,ClipW:?GLdouble,M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,M13:?GLdouble,M14:?GLdouble,M15:?GLdouble,M16:?GLdouble,P1:?GLdouble,P2:?GLdouble,P3:?GLdouble,P4:?GLdouble,P5:?GLdouble,P6:?GLdouble,P7:?GLdouble,P8:?GLdouble,P9:?GLdouble,P10:?GLdouble,P11:?GLdouble,P12:?GLdouble,P13:?GLdouble,P14:?GLdouble,P15:?GLdouble,P16:?GLdouble,V1:?GLint,V2:?GLint,V3:?GLint,V4:?GLint,NearVal:?GLdouble,FarVal:?GLdouble>>); + call(5036, <<WinX:?GLdouble,WinY:?GLdouble,WinZ:?GLdouble,ClipW:?GLdouble,M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,M13:?GLdouble,M14:?GLdouble,M15:?GLdouble,M16:?GLdouble,P1:?GLdouble,P2:?GLdouble,P3:?GLdouble,P4:?GLdouble,P5:?GLdouble,P6:?GLdouble,P7:?GLdouble,P8:?GLdouble,P9:?GLdouble,P10:?GLdouble,P11:?GLdouble,P12:?GLdouble,P13:?GLdouble,P14:?GLdouble,P15:?GLdouble,P16:?GLdouble,V1:?GLint,V2:?GLint,V3:?GLint,V4:?GLint,NearVal:?GLdouble,FarVal:?GLdouble>>); unProject4(WinX,WinY,WinZ,ClipW,{M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12},{P1,P2,P3,P4,P5,P6,P7,P8,P9,P10,P11,P12},{V1,V2,V3,V4},NearVal,FarVal) -> - wxe_util:call(5036, <<WinX:?GLdouble,WinY:?GLdouble,WinZ:?GLdouble,ClipW:?GLdouble,M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,0:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,0:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,0:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,1:?GLdouble,P1:?GLdouble,P2:?GLdouble,P3:?GLdouble,0:?GLdouble,P4:?GLdouble,P5:?GLdouble,P6:?GLdouble,0:?GLdouble,P7:?GLdouble,P8:?GLdouble,P9:?GLdouble,0:?GLdouble,P10:?GLdouble,P11:?GLdouble,P12:?GLdouble,1:?GLdouble,V1:?GLint,V2:?GLint,V3:?GLint,V4:?GLint,NearVal:?GLdouble,FarVal:?GLdouble>>). + call(5036, <<WinX:?GLdouble,WinY:?GLdouble,WinZ:?GLdouble,ClipW:?GLdouble,M1:?GLdouble,M2:?GLdouble,M3:?GLdouble,0:?GLdouble,M4:?GLdouble,M5:?GLdouble,M6:?GLdouble,0:?GLdouble,M7:?GLdouble,M8:?GLdouble,M9:?GLdouble,0:?GLdouble,M10:?GLdouble,M11:?GLdouble,M12:?GLdouble,1:?GLdouble,P1:?GLdouble,P2:?GLdouble,P3:?GLdouble,0:?GLdouble,P4:?GLdouble,P5:?GLdouble,P6:?GLdouble,0:?GLdouble,P7:?GLdouble,P8:?GLdouble,P9:?GLdouble,0:?GLdouble,P10:?GLdouble,P11:?GLdouble,P12:?GLdouble,1:?GLdouble,V1:?GLint,V2:?GLint,V3:?GLint,V4:?GLint,NearVal:?GLdouble,FarVal:?GLdouble>>). diff --git a/lib/wx/src/gen/wxBoxSizer.erl b/lib/wx/src/gen/wxBoxSizer.erl index 1d5b1cf2fa..e6287945a9 100644 --- a/lib/wx/src/gen/wxBoxSizer.erl +++ b/lib/wx/src/gen/wxBoxSizer.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2011. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -102,7 +102,7 @@ prepend(This,Width,Height, Options) -> wxSizer:prepend(This,Width,Height, Option %% @hidden prepend(This,Width,Height) -> wxSizer:prepend(This,Width,Height). %% @hidden -prepend(This,Window) -> wxSizer:prepend(This,Window). +prepend(This,Item) -> wxSizer:prepend(This,Item). %% @hidden layout(This) -> wxSizer:layout(This). %% @hidden @@ -118,7 +118,7 @@ insert(This,Index,Width,Height, Options) -> wxSizer:insert(This,Index,Width,Heig %% @hidden insert(This,Index,Width,Height) -> wxSizer:insert(This,Index,Width,Height). %% @hidden -insert(This,Index,Window) -> wxSizer:insert(This,Index,Window). +insert(This,Index,Item) -> wxSizer:insert(This,Index,Item). %% @hidden hide(This,Window, Options) -> wxSizer:hide(This,Window, Options). %% @hidden diff --git a/lib/wx/src/gen/wxFlexGridSizer.erl b/lib/wx/src/gen/wxFlexGridSizer.erl index 9471cc8a01..910cc78894 100644 --- a/lib/wx/src/gen/wxFlexGridSizer.erl +++ b/lib/wx/src/gen/wxFlexGridSizer.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2011. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -222,7 +222,7 @@ prepend(This,Width,Height, Options) -> wxSizer:prepend(This,Width,Height, Option %% @hidden prepend(This,Width,Height) -> wxSizer:prepend(This,Width,Height). %% @hidden -prepend(This,Window) -> wxSizer:prepend(This,Window). +prepend(This,Item) -> wxSizer:prepend(This,Item). %% @hidden layout(This) -> wxSizer:layout(This). %% @hidden @@ -238,7 +238,7 @@ insert(This,Index,Width,Height, Options) -> wxSizer:insert(This,Index,Width,Heig %% @hidden insert(This,Index,Width,Height) -> wxSizer:insert(This,Index,Width,Height). %% @hidden -insert(This,Index,Window) -> wxSizer:insert(This,Index,Window). +insert(This,Index,Item) -> wxSizer:insert(This,Index,Item). %% @hidden hide(This,Window, Options) -> wxSizer:hide(This,Window, Options). %% @hidden diff --git a/lib/wx/src/gen/wxGLCanvas.erl b/lib/wx/src/gen/wxGLCanvas.erl index 3e0d1bd9ae..032d42535d 100644 --- a/lib/wx/src/gen/wxGLCanvas.erl +++ b/lib/wx/src/gen/wxGLCanvas.erl @@ -144,8 +144,10 @@ getContext(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxglcanvas.html#wxglcanvassetcurrent">external documentation</a>. setCurrent(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGLCanvas), - wxe_util:cast(?wxGLCanvas_SetCurrent, - <<ThisRef:32/?UI>>). + _Result = wxe_util:cast(?wxGLCanvas_SetCurrent, + <<ThisRef:32/?UI>>), + {ok, _} = wxe_master:init_opengl(), + _Result. %% @spec (This::wxGLCanvas()) -> ok %% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxglcanvas.html#wxglcanvasswapbuffers">external documentation</a>. diff --git a/lib/wx/src/gen/wxGridBagSizer.erl b/lib/wx/src/gen/wxGridBagSizer.erl index d8cc210d3b..cfc182cf89 100644 --- a/lib/wx/src/gen/wxGridBagSizer.erl +++ b/lib/wx/src/gen/wxGridBagSizer.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2011. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -474,7 +474,7 @@ prepend(This,Width,Height, Options) -> wxSizer:prepend(This,Width,Height, Option %% @hidden prepend(This,Width,Height) -> wxSizer:prepend(This,Width,Height). %% @hidden -prepend(This,Window) -> wxSizer:prepend(This,Window). +prepend(This,Item) -> wxSizer:prepend(This,Item). %% @hidden layout(This) -> wxSizer:layout(This). %% @hidden @@ -490,7 +490,7 @@ insert(This,Index,Width,Height, Options) -> wxSizer:insert(This,Index,Width,Heig %% @hidden insert(This,Index,Width,Height) -> wxSizer:insert(This,Index,Width,Height). %% @hidden -insert(This,Index,Window) -> wxSizer:insert(This,Index,Window). +insert(This,Index,Item) -> wxSizer:insert(This,Index,Item). %% @hidden hide(This,Window, Options) -> wxSizer:hide(This,Window, Options). %% @hidden diff --git a/lib/wx/src/gen/wxGridSizer.erl b/lib/wx/src/gen/wxGridSizer.erl index 7b62774347..fd8580c70d 100644 --- a/lib/wx/src/gen/wxGridSizer.erl +++ b/lib/wx/src/gen/wxGridSizer.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2011. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -174,7 +174,7 @@ prepend(This,Width,Height, Options) -> wxSizer:prepend(This,Width,Height, Option %% @hidden prepend(This,Width,Height) -> wxSizer:prepend(This,Width,Height). %% @hidden -prepend(This,Window) -> wxSizer:prepend(This,Window). +prepend(This,Item) -> wxSizer:prepend(This,Item). %% @hidden layout(This) -> wxSizer:layout(This). %% @hidden @@ -190,7 +190,7 @@ insert(This,Index,Width,Height, Options) -> wxSizer:insert(This,Index,Width,Heig %% @hidden insert(This,Index,Width,Height) -> wxSizer:insert(This,Index,Width,Height). %% @hidden -insert(This,Index,Window) -> wxSizer:insert(This,Index,Window). +insert(This,Index,Item) -> wxSizer:insert(This,Index,Item). %% @hidden hide(This,Window, Options) -> wxSizer:hide(This,Window, Options). %% @hidden diff --git a/lib/wx/src/gen/wxListCtrl.erl b/lib/wx/src/gen/wxListCtrl.erl index 9c4ba1e5a3..5799206b87 100644 --- a/lib/wx/src/gen/wxListCtrl.erl +++ b/lib/wx/src/gen/wxListCtrl.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2011. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -29,17 +29,17 @@ -module(wxListCtrl). -include("wxe.hrl"). --export([ sortItems/2 ,arrange/1,arrange/2,assignImageList/3,clearAll/1,create/2, - create/3,deleteAllItems/1,deleteColumn/2,deleteItem/2,destroy/1,editLabel/2, - ensureVisible/2,findItem/3,findItem/4,getColumn/3,getColumnCount/1, - getColumnWidth/2,getCountPerPage/1,getEditControl/1,getImageList/2, - getItem/2,getItemBackgroundColour/2,getItemCount/1,getItemData/2, - getItemFont/2,getItemPosition/3,getItemRect/3,getItemRect/4,getItemSpacing/1, - getItemState/3,getItemText/2,getItemTextColour/2,getNextItem/2,getNextItem/3, - getSelectedItemCount/1,getTextColour/1,getTopItem/1,getViewRect/1, - hitTest/2,insertColumn/3,insertColumn/4,insertItem/2,insertItem/3, - insertItem/4,new/0,new/1,new/2,refreshItem/2,refreshItems/3,scrollList/3, - setBackgroundColour/2,setColumn/3,setColumnWidth/3,setImageList/3, +-export([ create/2, create/3 , new/0, new/1, new/2 , sortItems/2 ,arrange/1, + arrange/2,assignImageList/3,clearAll/1,deleteAllItems/1,deleteColumn/2, + deleteItem/2,destroy/1,editLabel/2,ensureVisible/2,findItem/3,findItem/4, + getColumn/3,getColumnCount/1,getColumnWidth/2,getCountPerPage/1,getEditControl/1, + getImageList/2,getItem/2,getItemBackgroundColour/2,getItemCount/1, + getItemData/2,getItemFont/2,getItemPosition/3,getItemRect/3,getItemRect/4, + getItemSpacing/1,getItemState/3,getItemText/2,getItemTextColour/2, + getNextItem/2,getNextItem/3,getSelectedItemCount/1,getTextColour/1, + getTopItem/1,getViewRect/1,hitTest/2,insertColumn/3,insertColumn/4, + insertItem/2,insertItem/3,insertItem/4,refreshItem/2,refreshItems/3, + scrollList/3,setBackgroundColour/2,setColumn/3,setColumnWidth/3,setImageList/3, setItem/2,setItem/4,setItem/5,setItemBackgroundColour/3,setItemColumnImage/4, setItemCount/2,setItemData/3,setItemFont/3,setItemImage/3,setItemImage/4, setItemPosition/3,setItemState/4,setItemText/3,setItemTextColour/3, @@ -89,11 +89,11 @@ parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). + %% @spec () -> wxListCtrl() %% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlwxlistctrl">external documentation</a>. new() -> - wxe_util:construct(?wxListCtrl_new_0, - <<>>). + wxe_util:construct(?wxListCtrl_new_0, <<>>). %% @spec (Parent::wxWindow:wxWindow()) -> wxListCtrl() %% @equiv new(Parent, []) @@ -102,20 +102,44 @@ new(Parent) new(Parent, []). %% @spec (Parent::wxWindow:wxWindow(), [Option]) -> wxListCtrl() -%% Option = {winid, integer()} | {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()} | {validator, wx:wx()} +%% Option = {winid, integer()} | +%% {pos, {X::integer(),Y::integer()}} | +%% {size, {W::integer(),H::integer()}} | +%% {style, integer()} | +%% {validator, wx:wx()} | +%% {onGetItemText, OnGetItemText} | +%% {onGetItemAttr, OnGetItemAttr} | +%% {onGetItemColumnImage, OnGetItemColumnImage} +%% +%% OnGetItemText = (This, Item, Column) -> wxString() +%% OnGetItemAttr = (This, Item) -> wxListItemAttr() +%% OnGetItemColumnImage = (This, Item, Column) -> integer() %% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlwxlistctrl">external documentation</a>. + new(#wx_ref{type=ParentT,ref=ParentRef}, Options) - when is_list(Options) -> - ?CLASS(ParentT,wxWindow), - MOpts = fun({winid, Winid}, Acc) -> [<<1:32/?UI,Winid:32/?UI>>|Acc]; - ({pos, {PosX,PosY}}, Acc) -> [<<2:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc]; - ({size, {SizeW,SizeH}}, Acc) -> [<<3:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc]; - ({style, Style}, Acc) -> [<<4:32/?UI,Style:32/?UI>>|Acc]; - ({validator, #wx_ref{type=ValidatorT,ref=ValidatorRef}}, Acc) -> ?CLASS(ValidatorT,wx),[<<5:32/?UI,ValidatorRef:32/?UI>>|Acc]; - (BadOpt, _) -> erlang:error({badoption, BadOpt}) end, - BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)), - wxe_util:construct(?wxListCtrl_new_2, - <<ParentRef:32/?UI, 0:32,BinOpt/binary>>). + when is_list(Options)-> + ?CLASS(ParentT,wxWindow), + MOpts = fun({winid, Winid}, Acc) -> [<<1:32/?UI,Winid:32/?UI>>|Acc]; + ({pos, {PosX,PosY}}, Acc) -> [<<2:32/?UI,PosX:32/?UI,PosY:32/?UI,0:32>>|Acc]; + ({size, {SizeW,SizeH}}, Acc) -> [<<3:32/?UI,SizeW:32/?UI,SizeH:32/?UI,0:32>>|Acc]; + ({style, Style}, Acc) -> [<<4:32/?UI,Style:32/?UI>>|Acc]; + ({validator, #wx_ref{type=ValidatorT,ref=ValidatorRef}}, Acc) -> + ?CLASS(ValidatorT,wx),[<<5:32/?UI,ValidatorRef:32/?UI>>|Acc]; + ({onGetItemText, F}, Acc) when is_function(F) -> + Fun = fun([This,Item,Col]) -> unicode:characters_to_binary([F(This,Item,Col),0]) end, + [<<6:32/?UI,(wxe_util:get_cbId(Fun)):32/?UI>>|Acc]; + ({onGetItemAttr, F}, Acc) when is_function(F) -> + Fun = fun([This,Item]) -> + #wx_ref{type=wxListItemAttr,ref=ThisRef} = F(This,Item), + <<ThisRef:32/?UI>> + end, + [<<7:32/?UI,(wxe_util:get_cbId(Fun)):32/?UI>>|Acc]; + ({onGetItemColumnImage, F}, Acc) when is_function(F) -> + Fun = fun([This,Item, Col]) -> <<(F(This,Item,Col)):32/?I>> end, + [<<8:32/?UI,(wxe_util:get_cbId(Fun)):32/?UI>>|Acc]; + (BadOpt, _) -> erlang:error({badoption, BadOpt}) end, + BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)), + wxe_util:construct(?wxListCtrl_new_2, <<ParentRef:32/?UI, 0:32,BinOpt/binary>>). %% @spec (This::wxListCtrl()) -> bool() %% @equiv arrange(This, []) @@ -151,6 +175,7 @@ clearAll(#wx_ref{type=ThisT,ref=ThisRef}) -> wxe_util:cast(?wxListCtrl_ClearAll, <<ThisRef:32/?UI>>). + %% @spec (This::wxListCtrl(), Parent::wxWindow:wxWindow()) -> bool() %% @equiv create(This,Parent, []) create(This,Parent) @@ -158,7 +183,18 @@ create(This,Parent) create(This,Parent, []). %% @spec (This::wxListCtrl(), Parent::wxWindow:wxWindow(), [Option]) -> bool() -%% Option = {winid, integer()} | {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()} | {validator, wx:wx()} +%% Option = {winid, integer()} | +%% {pos, {X::integer(),Y::integer()}} | +%% {size, {W::integer(),H::integer()}} | +%% {style, integer()} | +%% {validator, wx:wx()} | +%% {onGetItemText, OnGetItemText} | +%% {onGetItemAttr, OnGetItemAttr} | +%% {onGetItemColumnImage, OnGetItemColumnImage} +%% +%% OnGetItemText = (This, Item, Column) -> wxString() +%% OnGetItemAttr = (This, Item) -> wxListItemAttr() +%% OnGetItemColumnImage = (This, Item, Column) -> integer() %% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistctrl.html#wxlistctrlcreate">external documentation</a>. create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}, Options) when is_list(Options) -> @@ -726,12 +762,12 @@ setWindowStyleFlag(#wx_ref{type=ThisT,ref=ThisRef},Style) %% @spec (This::wxListCtrl(), SortCallBack::function()) -> boolean() %% @doc Sort the items in the list control<br /> -%% <pre>SortCalBack(Item1,Item2) -> integer()</pre> +%% <pre>SortCallBack(Item1,Item2) -> integer()</pre> %% <br /> SortCallBack receives the client data associated with two items %% to compare, and should return 0 if the items are equal, a negative %% value if the first item is less than the second one and a positive %% value if the first item is greater than the second one. -%% <br /> NOTE: The callback may not call other processes. +%% <br /> NOTE: The callback may not call other (wx) processes. sortItems(#wx_ref{type=ThisT,ref=ThisRef}, SortCallBack) when is_function(SortCallBack, 2) -> ?CLASS(ThisT,wxListCtrl), diff --git a/lib/wx/src/gen/wxListItemAttr.erl b/lib/wx/src/gen/wxListItemAttr.erl new file mode 100644 index 0000000000..1a43c71854 --- /dev/null +++ b/lib/wx/src/gen/wxListItemAttr.erl @@ -0,0 +1,122 @@ +%% +%% %CopyrightBegin% +%% +%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% +%% The contents of this file are subject to the Erlang Public License, +%% Version 1.1, (the "License"); you may not use this file except in +%% compliance with the License. You should have received a copy of the +%% Erlang Public License along with this software. If not, it can be +%% retrieved online at http://www.erlang.org/. +%% +%% Software distributed under the License is distributed on an "AS IS" +%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See +%% the License for the specific language governing rights and limitations +%% under the License. +%% +%% %CopyrightEnd% +%% This file is generated DO NOT EDIT + +%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistitemattr.html">wxListItemAttr</a>. +%% @type wxListItemAttr(). An object reference, The representation is internal +%% and can be changed without notice. It can't be used for comparsion +%% stored on disc or distributed for use on other nodes. + +-module(wxListItemAttr). +-include("wxe.hrl"). +-export([destroy/1,getBackgroundColour/1,getFont/1,getTextColour/1,hasBackgroundColour/1, + hasFont/1,hasTextColour/1,new/0,new/3,setBackgroundColour/2,setFont/2, + setTextColour/2]). + +%% inherited exports +-export([parent_class/1]). + +%% @hidden +parent_class(_Class) -> erlang:error({badtype, ?MODULE}). + +%% @spec () -> wxListItemAttr() +%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistitemattr.html#wxlistitemattrwxlistitemattr">external documentation</a>. +new() -> + wxe_util:construct(?wxListItemAttr_new_0, + <<>>). + +%% @spec (ColText::wx:colour(), ColBack::wx:colour(), Font::wxFont:wxFont()) -> wxListItemAttr() +%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistitemattr.html#wxlistitemattrwxlistitemattr">external documentation</a>. +new(ColText,ColBack,#wx_ref{type=FontT,ref=FontRef}) + when tuple_size(ColText) =:= 3; tuple_size(ColText) =:= 4,tuple_size(ColBack) =:= 3; tuple_size(ColBack) =:= 4 -> + ?CLASS(FontT,wxFont), + wxe_util:construct(?wxListItemAttr_new_3, + <<(wxe_util:colour_bin(ColText)):16/binary,(wxe_util:colour_bin(ColBack)):16/binary,FontRef:32/?UI>>). + +%% @spec (This::wxListItemAttr()) -> wx:colour() +%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistitemattr.html#wxlistitemattrgetbackgroundcolour">external documentation</a>. +getBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef}) -> + ?CLASS(ThisT,wxListItemAttr), + wxe_util:call(?wxListItemAttr_GetBackgroundColour, + <<ThisRef:32/?UI>>). + +%% @spec (This::wxListItemAttr()) -> wxFont:wxFont() +%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistitemattr.html#wxlistitemattrgetfont">external documentation</a>. +getFont(#wx_ref{type=ThisT,ref=ThisRef}) -> + ?CLASS(ThisT,wxListItemAttr), + wxe_util:call(?wxListItemAttr_GetFont, + <<ThisRef:32/?UI>>). + +%% @spec (This::wxListItemAttr()) -> wx:colour() +%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistitemattr.html#wxlistitemattrgettextcolour">external documentation</a>. +getTextColour(#wx_ref{type=ThisT,ref=ThisRef}) -> + ?CLASS(ThisT,wxListItemAttr), + wxe_util:call(?wxListItemAttr_GetTextColour, + <<ThisRef:32/?UI>>). + +%% @spec (This::wxListItemAttr()) -> bool() +%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistitemattr.html#wxlistitemattrhasbackgroundcolour">external documentation</a>. +hasBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef}) -> + ?CLASS(ThisT,wxListItemAttr), + wxe_util:call(?wxListItemAttr_HasBackgroundColour, + <<ThisRef:32/?UI>>). + +%% @spec (This::wxListItemAttr()) -> bool() +%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistitemattr.html#wxlistitemattrhasfont">external documentation</a>. +hasFont(#wx_ref{type=ThisT,ref=ThisRef}) -> + ?CLASS(ThisT,wxListItemAttr), + wxe_util:call(?wxListItemAttr_HasFont, + <<ThisRef:32/?UI>>). + +%% @spec (This::wxListItemAttr()) -> bool() +%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistitemattr.html#wxlistitemattrhastextcolour">external documentation</a>. +hasTextColour(#wx_ref{type=ThisT,ref=ThisRef}) -> + ?CLASS(ThisT,wxListItemAttr), + wxe_util:call(?wxListItemAttr_HasTextColour, + <<ThisRef:32/?UI>>). + +%% @spec (This::wxListItemAttr(), ColBack::wx:colour()) -> ok +%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistitemattr.html#wxlistitemattrsetbackgroundcolour">external documentation</a>. +setBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef},ColBack) + when tuple_size(ColBack) =:= 3; tuple_size(ColBack) =:= 4 -> + ?CLASS(ThisT,wxListItemAttr), + wxe_util:cast(?wxListItemAttr_SetBackgroundColour, + <<ThisRef:32/?UI,(wxe_util:colour_bin(ColBack)):16/binary>>). + +%% @spec (This::wxListItemAttr(), Font::wxFont:wxFont()) -> ok +%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistitemattr.html#wxlistitemattrsetfont">external documentation</a>. +setFont(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FontT,ref=FontRef}) -> + ?CLASS(ThisT,wxListItemAttr), + ?CLASS(FontT,wxFont), + wxe_util:cast(?wxListItemAttr_SetFont, + <<ThisRef:32/?UI,FontRef:32/?UI>>). + +%% @spec (This::wxListItemAttr(), ColText::wx:colour()) -> ok +%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxlistitemattr.html#wxlistitemattrsettextcolour">external documentation</a>. +setTextColour(#wx_ref{type=ThisT,ref=ThisRef},ColText) + when tuple_size(ColText) =:= 3; tuple_size(ColText) =:= 4 -> + ?CLASS(ThisT,wxListItemAttr), + wxe_util:cast(?wxListItemAttr_SetTextColour, + <<ThisRef:32/?UI,(wxe_util:colour_bin(ColText)):16/binary>>). + +%% @spec (This::wxListItemAttr()) -> ok +%% @doc Destroys this object, do not use object again +destroy(Obj=#wx_ref{type=Type}) -> + ?CLASS(Type,wxListItemAttr), + wxe_util:destroy(?wxListItemAttr_destroy,Obj), + ok. diff --git a/lib/wx/src/gen/wxRegion.erl b/lib/wx/src/gen/wxRegion.erl index 0ceba1d203..4e8d98a54f 100644 --- a/lib/wx/src/gen/wxRegion.erl +++ b/lib/wx/src/gen/wxRegion.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2011. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -48,7 +48,7 @@ new() -> %% new(Bmp::wxBitmap:wxBitmap()) -> wxRegion() </c> %% </p> %% <p><c> -%% new(Rect::{X::integer(),Y::integer(),W::integer(),H::integer()}) -> wxRegion() </c> +%% new(Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}) -> wxRegion() </c> %% </p> new(#wx_ref{type=BmpT,ref=BmpRef}) -> ?CLASS(BmpT,wxBitmap), diff --git a/lib/wx/src/gen/wxSizer.erl b/lib/wx/src/gen/wxSizer.erl index 716b2224b5..e9b83a7333 100644 --- a/lib/wx/src/gen/wxSizer.erl +++ b/lib/wx/src/gen/wxSizer.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2011. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -298,18 +298,8 @@ hide(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef}, Option wxe_util:call(WindowOP, <<ThisRef:32/?UI,WindowRef:32/?UI, BinOpt/binary>>). -%% @spec (This::wxSizer(),Index::integer(),X::term()) -> wxSizerItem:wxSizerItem() +%% @spec (This::wxSizer(), Index::integer(), Item::wxSizerItem:wxSizerItem()) -> wxSizerItem:wxSizerItem() %% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizer.html#wxsizerinsert">external documentation</a>. -%% <br /> Alternatives: -%% <p><c> -%% insert(This::wxSizer(), Index::integer(), Window::wxWindow:wxWindow() | wxSizer()) -> insert(This,Index,Window, []) </c></p> -%% <p><c> -%% insert(This::wxSizer(), Index::integer(), Item::wxSizerItem:wxSizerItem()) -> wxSizerItem:wxSizerItem() </c> -%% </p> - -insert(This,Index,Window) - when is_record(This, wx_ref),is_integer(Index),is_record(Window, wx_ref) -> - insert(This,Index,Window, []); insert(#wx_ref{type=ThisT,ref=ThisRef},Index,#wx_ref{type=ItemT,ref=ItemRef}) when is_integer(Index) -> ?CLASS(ThisT,wxSizer), @@ -437,18 +427,8 @@ layout(#wx_ref{type=ThisT,ref=ThisRef}) -> wxe_util:cast(?wxSizer_Layout, <<ThisRef:32/?UI>>). -%% @spec (This::wxSizer(),X::term()) -> wxSizerItem:wxSizerItem() +%% @spec (This::wxSizer(), Item::wxSizerItem:wxSizerItem()) -> wxSizerItem:wxSizerItem() %% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsizer.html#wxsizerprepend">external documentation</a>. -%% <br /> Alternatives: -%% <p><c> -%% prepend(This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer()) -> prepend(This,Window, []) </c></p> -%% <p><c> -%% prepend(This::wxSizer(), Item::wxSizerItem:wxSizerItem()) -> wxSizerItem:wxSizerItem() </c> -%% </p> - -prepend(This,Window) - when is_record(This, wx_ref),is_record(Window, wx_ref) -> - prepend(This,Window, []); prepend(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ItemT,ref=ItemRef}) -> ?CLASS(ThisT,wxSizer), ?CLASS(ItemT,wxSizerItem), diff --git a/lib/wx/src/gen/wxStaticBoxSizer.erl b/lib/wx/src/gen/wxStaticBoxSizer.erl index 5f346b7a1e..2cf9f64325 100644 --- a/lib/wx/src/gen/wxStaticBoxSizer.erl +++ b/lib/wx/src/gen/wxStaticBoxSizer.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2011. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -130,7 +130,7 @@ prepend(This,Width,Height, Options) -> wxSizer:prepend(This,Width,Height, Option %% @hidden prepend(This,Width,Height) -> wxSizer:prepend(This,Width,Height). %% @hidden -prepend(This,Window) -> wxSizer:prepend(This,Window). +prepend(This,Item) -> wxSizer:prepend(This,Item). %% @hidden layout(This) -> wxSizer:layout(This). %% @hidden @@ -146,7 +146,7 @@ insert(This,Index,Width,Height, Options) -> wxSizer:insert(This,Index,Width,Heig %% @hidden insert(This,Index,Width,Height) -> wxSizer:insert(This,Index,Width,Height). %% @hidden -insert(This,Index,Window) -> wxSizer:insert(This,Index,Window). +insert(This,Index,Item) -> wxSizer:insert(This,Index,Item). %% @hidden hide(This,Window, Options) -> wxSizer:hide(This,Window, Options). %% @hidden diff --git a/lib/wx/src/gen/wxStdDialogButtonSizer.erl b/lib/wx/src/gen/wxStdDialogButtonSizer.erl index b0052ca2e1..3d31907275 100644 --- a/lib/wx/src/gen/wxStdDialogButtonSizer.erl +++ b/lib/wx/src/gen/wxStdDialogButtonSizer.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2011. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -139,7 +139,7 @@ prepend(This,Width,Height, Options) -> wxSizer:prepend(This,Width,Height, Option %% @hidden prepend(This,Width,Height) -> wxSizer:prepend(This,Width,Height). %% @hidden -prepend(This,Window) -> wxSizer:prepend(This,Window). +prepend(This,Item) -> wxSizer:prepend(This,Item). %% @hidden layout(This) -> wxSizer:layout(This). %% @hidden @@ -155,7 +155,7 @@ insert(This,Index,Width,Height, Options) -> wxSizer:insert(This,Index,Width,Heig %% @hidden insert(This,Index,Width,Height) -> wxSizer:insert(This,Index,Width,Height). %% @hidden -insert(This,Index,Window) -> wxSizer:insert(This,Index,Window). +insert(This,Index,Item) -> wxSizer:insert(This,Index,Item). %% @hidden hide(This,Window, Options) -> wxSizer:hide(This,Window, Options). %% @hidden diff --git a/lib/wx/src/gen/wxSystemSettings.erl b/lib/wx/src/gen/wxSystemSettings.erl new file mode 100644 index 0000000000..3f7e0a1ad6 --- /dev/null +++ b/lib/wx/src/gen/wxSystemSettings.erl @@ -0,0 +1,79 @@ +%% +%% %CopyrightBegin% +%% +%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% +%% The contents of this file are subject to the Erlang Public License, +%% Version 1.1, (the "License"); you may not use this file except in +%% compliance with the License. You should have received a copy of the +%% Erlang Public License along with this software. If not, it can be +%% retrieved online at http://www.erlang.org/. +%% +%% Software distributed under the License is distributed on an "AS IS" +%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See +%% the License for the specific language governing rights and limitations +%% under the License. +%% +%% %CopyrightEnd% +%% This file is generated DO NOT EDIT + +%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsystemsettings.html">wxSystemSettings</a>. +%% @type wxSystemSettings(). An object reference, The representation is internal +%% and can be changed without notice. It can't be used for comparsion +%% stored on disc or distributed for use on other nodes. + +-module(wxSystemSettings). +-include("wxe.hrl"). +-export([getColour/1,getFont/1,getMetric/1,getMetric/2,getScreenType/0]). + +%% inherited exports +-export([parent_class/1]). + +%% @hidden +parent_class(_Class) -> erlang:error({badtype, ?MODULE}). + +%% @spec (Index::WxSystemColour) -> wx:colour() +%% WxSystemColour = integer() +%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsystemsettings.html#wxsystemsettingsgetcolour">external documentation</a>. +%%<br /> WxSystemColour is one of ?wxSYS_COLOUR_SCROLLBAR | ?wxSYS_COLOUR_BACKGROUND | ?wxSYS_COLOUR_DESKTOP | ?wxSYS_COLOUR_ACTIVECAPTION | ?wxSYS_COLOUR_INACTIVECAPTION | ?wxSYS_COLOUR_MENU | ?wxSYS_COLOUR_WINDOW | ?wxSYS_COLOUR_WINDOWFRAME | ?wxSYS_COLOUR_MENUTEXT | ?wxSYS_COLOUR_WINDOWTEXT | ?wxSYS_COLOUR_CAPTIONTEXT | ?wxSYS_COLOUR_ACTIVEBORDER | ?wxSYS_COLOUR_INACTIVEBORDER | ?wxSYS_COLOUR_APPWORKSPACE | ?wxSYS_COLOUR_HIGHLIGHT | ?wxSYS_COLOUR_HIGHLIGHTTEXT | ?wxSYS_COLOUR_BTNFACE | ?wxSYS_COLOUR_3DFACE | ?wxSYS_COLOUR_BTNSHADOW | ?wxSYS_COLOUR_3DSHADOW | ?wxSYS_COLOUR_GRAYTEXT | ?wxSYS_COLOUR_BTNTEXT | ?wxSYS_COLOUR_INACTIVECAPTIONTEXT | ?wxSYS_COLOUR_BTNHIGHLIGHT | ?wxSYS_COLOUR_BTNHILIGHT | ?wxSYS_COLOUR_3DHIGHLIGHT | ?wxSYS_COLOUR_3DHILIGHT | ?wxSYS_COLOUR_3DDKSHADOW | ?wxSYS_COLOUR_3DLIGHT | ?wxSYS_COLOUR_INFOTEXT | ?wxSYS_COLOUR_INFOBK | ?wxSYS_COLOUR_LISTBOX | ?wxSYS_COLOUR_HOTLIGHT | ?wxSYS_COLOUR_GRADIENTACTIVECAPTION | ?wxSYS_COLOUR_GRADIENTINACTIVECAPTION | ?wxSYS_COLOUR_MENUHILIGHT | ?wxSYS_COLOUR_MENUBAR | ?wxSYS_COLOUR_LISTBOXTEXT | ?wxSYS_COLOUR_MAX +getColour(Index) + when is_integer(Index) -> + wxe_util:call(?wxSystemSettings_GetColour, + <<Index:32/?UI>>). + +%% @spec (Index::WxSystemFont) -> wxFont:wxFont() +%% WxSystemFont = integer() +%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsystemsettings.html#wxsystemsettingsgetfont">external documentation</a>. +%%<br /> WxSystemFont is one of ?wxSYS_OEM_FIXED_FONT | ?wxSYS_ANSI_FIXED_FONT | ?wxSYS_ANSI_VAR_FONT | ?wxSYS_SYSTEM_FONT | ?wxSYS_DEVICE_DEFAULT_FONT | ?wxSYS_DEFAULT_PALETTE | ?wxSYS_SYSTEM_FIXED_FONT | ?wxSYS_DEFAULT_GUI_FONT | ?wxSYS_ICONTITLE_FONT +getFont(Index) + when is_integer(Index) -> + wxe_util:call(?wxSystemSettings_GetFont, + <<Index:32/?UI>>). + +%% @spec (Index::WxSystemMetric) -> integer() +%% @equiv getMetric(Index, []) +getMetric(Index) + when is_integer(Index) -> + getMetric(Index, []). + +%% @spec (Index::WxSystemMetric, [Option]) -> integer() +%% Option = {win, wxWindow:wxWindow()} +%% WxSystemMetric = integer() +%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsystemsettings.html#wxsystemsettingsgetmetric">external documentation</a>. +%%<br /> WxSystemMetric is one of ?wxSYS_MOUSE_BUTTONS | ?wxSYS_BORDER_X | ?wxSYS_BORDER_Y | ?wxSYS_CURSOR_X | ?wxSYS_CURSOR_Y | ?wxSYS_DCLICK_X | ?wxSYS_DCLICK_Y | ?wxSYS_DRAG_X | ?wxSYS_DRAG_Y | ?wxSYS_EDGE_X | ?wxSYS_EDGE_Y | ?wxSYS_HSCROLL_ARROW_X | ?wxSYS_HSCROLL_ARROW_Y | ?wxSYS_HTHUMB_X | ?wxSYS_ICON_X | ?wxSYS_ICON_Y | ?wxSYS_ICONSPACING_X | ?wxSYS_ICONSPACING_Y | ?wxSYS_WINDOWMIN_X | ?wxSYS_WINDOWMIN_Y | ?wxSYS_SCREEN_X | ?wxSYS_SCREEN_Y | ?wxSYS_FRAMESIZE_X | ?wxSYS_FRAMESIZE_Y | ?wxSYS_SMALLICON_X | ?wxSYS_SMALLICON_Y | ?wxSYS_HSCROLL_Y | ?wxSYS_VSCROLL_X | ?wxSYS_VSCROLL_ARROW_X | ?wxSYS_VSCROLL_ARROW_Y | ?wxSYS_VTHUMB_Y | ?wxSYS_CAPTION_Y | ?wxSYS_MENU_Y | ?wxSYS_NETWORK_PRESENT | ?wxSYS_PENWINDOWS_PRESENT | ?wxSYS_SHOW_SOUNDS | ?wxSYS_SWAP_BUTTONS +getMetric(Index, Options) + when is_integer(Index),is_list(Options) -> + MOpts = fun({win, #wx_ref{type=WinT,ref=WinRef}}, Acc) -> ?CLASS(WinT,wxWindow),[<<1:32/?UI,WinRef:32/?UI>>|Acc]; + (BadOpt, _) -> erlang:error({badoption, BadOpt}) end, + BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)), + wxe_util:call(?wxSystemSettings_GetMetric, + <<Index:32/?UI, 0:32,BinOpt/binary>>). + +%% @spec () -> WxSystemScreenType +%% WxSystemScreenType = integer() +%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxsystemsettings.html#wxsystemsettingsgetscreentype">external documentation</a>. +%%<br /> WxSystemScreenType is one of ?wxSYS_SCREEN_NONE | ?wxSYS_SCREEN_TINY | ?wxSYS_SCREEN_PDA | ?wxSYS_SCREEN_SMALL | ?wxSYS_SCREEN_DESKTOP +getScreenType() -> + wxe_util:call(?wxSystemSettings_GetScreenType, + <<>>). + diff --git a/lib/wx/src/gen/wxTreeCtrl.erl b/lib/wx/src/gen/wxTreeCtrl.erl index 4fcbb9366e..e3fe4c9612 100644 --- a/lib/wx/src/gen/wxTreeCtrl.erl +++ b/lib/wx/src/gen/wxTreeCtrl.erl @@ -35,7 +35,7 @@ -include("wxe.hrl"). -export([addRoot/2,addRoot/3,appendItem/3,appendItem/4,assignImageList/2,assignStateImageList/2, collapse/2,collapseAndReset/2,create/2,create/3,delete/2,deleteAllItems/1, - deleteChildren/2,destroy/1,ensureVisible/2,expand/2,getBoundingRect/3, + deleteChildren/2,destroy/1,editLabel/2,ensureVisible/2,expand/2,getBoundingRect/3, getBoundingRect/4,getChildrenCount/2,getChildrenCount/3,getCount/1, getEditControl/1,getFirstChild/2,getFirstVisibleItem/1,getImageList/1, getIndent/1,getItemBackgroundColour/2,getItemData/2,getItemFont/2, @@ -243,6 +243,14 @@ deleteChildren(#wx_ref{type=ThisT,ref=ThisRef},Item) wxe_util:cast(?wxTreeCtrl_DeleteChildren, <<ThisRef:32/?UI,0:32,Item:64/?UI>>). +%% @spec (This::wxTreeCtrl(), Item::integer()) -> wxTextCtrl:wxTextCtrl() +%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrleditlabel">external documentation</a>. +editLabel(#wx_ref{type=ThisT,ref=ThisRef},Item) + when is_integer(Item) -> + ?CLASS(ThisT,wxTreeCtrl), + wxe_util:call(?wxTreeCtrl_EditLabel, + <<ThisRef:32/?UI,0:32,Item:64/?UI>>). + %% @spec (This::wxTreeCtrl(), Item::integer()) -> ok %% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxtreectrl.html#wxtreectrlensurevisible">external documentation</a>. ensureVisible(#wx_ref{type=ThisT,ref=ThisRef},Item) diff --git a/lib/wx/src/gen/wxWindow.erl b/lib/wx/src/gen/wxWindow.erl index 33665a0ad6..031314bfe2 100644 --- a/lib/wx/src/gen/wxWindow.erl +++ b/lib/wx/src/gen/wxWindow.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2011. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -1144,10 +1144,10 @@ setCaret(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=CaretT,ref=CaretRef}) -> %% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html#wxwindowsetclientsize">external documentation</a>. %% <br /> Alternatives: %% <p><c> -%% setClientSize(This::wxWindow(), Size::{W::integer(),H::integer()}) -> ok </c> +%% setClientSize(This::wxWindow(), Size::{W::integer(), H::integer()}) -> ok </c> %% </p> %% <p><c> -%% setClientSize(This::wxWindow(), Rect::{X::integer(),Y::integer(),W::integer(),H::integer()}) -> ok </c> +%% setClientSize(This::wxWindow(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}) -> ok </c> %% </p> setClientSize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH}) when is_integer(SizeW),is_integer(SizeH) -> diff --git a/lib/wx/src/gen/wxe_debug.hrl b/lib/wx/src/gen/wxe_debug.hrl index 68a3b4ccd8..960f67a1f6 100644 --- a/lib/wx/src/gen/wxe_debug.hrl +++ b/lib/wx/src/gen/wxe_debug.hrl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2011. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -770,2512 +770,2529 @@ wxdebug_table() -> {882, {wxControlWithItems, clear, 0}}, {883, {wxControlWithItems, delete, 1}}, {884, {wxControlWithItems, findString, 2}}, - {886, {wxControlWithItems, getClientData, 1}}, - {888, {wxControlWithItems, setClientData, 2}}, - {889, {wxControlWithItems, getCount, 0}}, - {890, {wxControlWithItems, getSelection, 0}}, - {891, {wxControlWithItems, getString, 1}}, - {892, {wxControlWithItems, getStringSelection, 0}}, - {893, {wxControlWithItems, insert_2, 2}}, - {894, {wxControlWithItems, insert_3, 3}}, - {895, {wxControlWithItems, isEmpty, 0}}, - {896, {wxControlWithItems, select, 1}}, - {897, {wxControlWithItems, setSelection, 1}}, - {898, {wxControlWithItems, setString, 2}}, - {899, {wxControlWithItems, setStringSelection, 1}}, - {902, {wxMenu, new_2, 2}}, - {903, {wxMenu, new_1, 1}}, - {905, {wxMenu, destruct, 0}}, - {906, {wxMenu, append_3, 3}}, - {907, {wxMenu, append_1, 1}}, - {908, {wxMenu, append_4_0, 4}}, - {909, {wxMenu, append_4_1, 4}}, - {910, {wxMenu, appendCheckItem, 3}}, - {911, {wxMenu, appendRadioItem, 3}}, - {912, {wxMenu, appendSeparator, 0}}, - {913, {wxMenu, break, 0}}, - {914, {wxMenu, check, 2}}, - {915, {wxMenu, delete_1_0, 1}}, - {916, {wxMenu, delete_1_1, 1}}, - {917, {wxMenu, destroy_1_0, 1}}, - {918, {wxMenu, destroy_1_1, 1}}, - {919, {wxMenu, enable, 2}}, - {920, {wxMenu, findItem_1, 1}}, - {921, {wxMenu, findItem_2, 2}}, - {922, {wxMenu, findItemByPosition, 1}}, - {923, {wxMenu, getHelpString, 1}}, - {924, {wxMenu, getLabel, 1}}, - {925, {wxMenu, getMenuItemCount, 0}}, - {926, {wxMenu, getMenuItems, 0}}, - {928, {wxMenu, getTitle, 0}}, - {929, {wxMenu, insert_2, 2}}, - {930, {wxMenu, insert_3, 3}}, - {931, {wxMenu, insert_5_1, 5}}, - {932, {wxMenu, insert_5_0, 5}}, - {933, {wxMenu, insertCheckItem, 4}}, - {934, {wxMenu, insertRadioItem, 4}}, - {935, {wxMenu, insertSeparator, 1}}, - {936, {wxMenu, isChecked, 1}}, - {937, {wxMenu, isEnabled, 1}}, - {938, {wxMenu, prepend_1, 1}}, - {939, {wxMenu, prepend_2, 2}}, - {940, {wxMenu, prepend_4_1, 4}}, - {941, {wxMenu, prepend_4_0, 4}}, - {942, {wxMenu, prependCheckItem, 3}}, - {943, {wxMenu, prependRadioItem, 3}}, - {944, {wxMenu, prependSeparator, 0}}, - {945, {wxMenu, remove_1_0, 1}}, - {946, {wxMenu, remove_1_1, 1}}, - {947, {wxMenu, setHelpString, 2}}, - {948, {wxMenu, setLabel, 2}}, - {949, {wxMenu, setTitle, 1}}, - {950, {wxMenuItem, new, 1}}, - {952, {wxMenuItem, destruct, 0}}, - {953, {wxMenuItem, check, 1}}, - {954, {wxMenuItem, enable, 1}}, - {955, {wxMenuItem, getBitmap, 0}}, - {956, {wxMenuItem, getHelp, 0}}, - {957, {wxMenuItem, getId, 0}}, - {958, {wxMenuItem, getKind, 0}}, - {959, {wxMenuItem, getLabel, 0}}, - {960, {wxMenuItem, getLabelFromText, 1}}, - {961, {wxMenuItem, getMenu, 0}}, - {962, {wxMenuItem, getText, 0}}, - {963, {wxMenuItem, getSubMenu, 0}}, - {964, {wxMenuItem, isCheckable, 0}}, - {965, {wxMenuItem, isChecked, 0}}, - {966, {wxMenuItem, isEnabled, 0}}, - {967, {wxMenuItem, isSeparator, 0}}, - {968, {wxMenuItem, isSubMenu, 0}}, - {969, {wxMenuItem, setBitmap, 1}}, - {970, {wxMenuItem, setHelp, 1}}, - {971, {wxMenuItem, setMenu, 1}}, - {972, {wxMenuItem, setSubMenu, 1}}, - {973, {wxMenuItem, setText, 1}}, - {974, {wxToolBar, addControl, 1}}, - {975, {wxToolBar, addSeparator, 0}}, - {976, {wxToolBar, addTool_5, 5}}, - {977, {wxToolBar, addTool_4_0, 4}}, - {978, {wxToolBar, addTool_1, 1}}, - {979, {wxToolBar, addTool_4_1, 4}}, - {980, {wxToolBar, addTool_3, 3}}, - {981, {wxToolBar, addTool_6, 6}}, - {982, {wxToolBar, addCheckTool, 4}}, - {983, {wxToolBar, addRadioTool, 4}}, - {984, {wxToolBar, deleteTool, 1}}, - {985, {wxToolBar, deleteToolByPos, 1}}, - {986, {wxToolBar, enableTool, 2}}, - {987, {wxToolBar, findById, 1}}, - {988, {wxToolBar, findControl, 1}}, - {989, {wxToolBar, findToolForPosition, 2}}, - {990, {wxToolBar, getToolSize, 0}}, - {991, {wxToolBar, getToolBitmapSize, 0}}, - {992, {wxToolBar, getMargins, 0}}, - {993, {wxToolBar, getToolEnabled, 1}}, - {994, {wxToolBar, getToolLongHelp, 1}}, - {995, {wxToolBar, getToolPacking, 0}}, - {996, {wxToolBar, getToolPos, 1}}, - {997, {wxToolBar, getToolSeparation, 0}}, - {998, {wxToolBar, getToolShortHelp, 1}}, - {999, {wxToolBar, getToolState, 1}}, - {1000, {wxToolBar, insertControl, 2}}, - {1001, {wxToolBar, insertSeparator, 1}}, - {1002, {wxToolBar, insertTool_5, 5}}, - {1003, {wxToolBar, insertTool_2, 2}}, - {1004, {wxToolBar, insertTool_4, 4}}, - {1005, {wxToolBar, realize, 0}}, - {1006, {wxToolBar, removeTool, 1}}, - {1007, {wxToolBar, setMargins, 2}}, - {1008, {wxToolBar, setToolBitmapSize, 1}}, - {1009, {wxToolBar, setToolLongHelp, 2}}, - {1010, {wxToolBar, setToolPacking, 1}}, - {1011, {wxToolBar, setToolShortHelp, 2}}, - {1012, {wxToolBar, setToolSeparation, 1}}, - {1013, {wxToolBar, toggleTool, 2}}, - {1015, {wxStatusBar, new_0, 0}}, - {1016, {wxStatusBar, new_2, 2}}, - {1018, {wxStatusBar, destruct, 0}}, - {1019, {wxStatusBar, create, 2}}, - {1020, {wxStatusBar, getFieldRect, 2}}, - {1021, {wxStatusBar, getFieldsCount, 0}}, - {1022, {wxStatusBar, getStatusText, 1}}, - {1023, {wxStatusBar, popStatusText, 1}}, - {1024, {wxStatusBar, pushStatusText, 2}}, - {1025, {wxStatusBar, setFieldsCount, 2}}, - {1026, {wxStatusBar, setMinHeight, 1}}, - {1027, {wxStatusBar, setStatusText, 2}}, - {1028, {wxStatusBar, setStatusWidths, 2}}, - {1029, {wxStatusBar, setStatusStyles, 2}}, - {1030, {wxBitmap, new_0, 0}}, - {1031, {wxBitmap, new_3, 3}}, - {1032, {wxBitmap, new_4, 4}}, - {1033, {wxBitmap, new_2_0, 2}}, - {1034, {wxBitmap, new_2_1, 2}}, - {1035, {wxBitmap, destruct, 0}}, - {1036, {wxBitmap, convertToImage, 0}}, - {1037, {wxBitmap, copyFromIcon, 1}}, - {1038, {wxBitmap, create, 3}}, - {1039, {wxBitmap, getDepth, 0}}, - {1040, {wxBitmap, getHeight, 0}}, - {1041, {wxBitmap, getPalette, 0}}, - {1042, {wxBitmap, getMask, 0}}, - {1043, {wxBitmap, getWidth, 0}}, - {1044, {wxBitmap, getSubBitmap, 1}}, - {1045, {wxBitmap, loadFile, 2}}, - {1046, {wxBitmap, ok, 0}}, - {1047, {wxBitmap, saveFile, 3}}, - {1048, {wxBitmap, setDepth, 1}}, - {1049, {wxBitmap, setHeight, 1}}, - {1050, {wxBitmap, setMask, 1}}, - {1051, {wxBitmap, setPalette, 1}}, - {1052, {wxBitmap, setWidth, 1}}, - {1053, {wxIcon, new_0, 0}}, - {1054, {wxIcon, new_2, 2}}, - {1055, {wxIcon, new_1, 1}}, - {1056, {wxIcon, copyFromBitmap, 1}}, - {1057, {wxIcon, 'Destroy', undefined}}, - {1058, {wxIconBundle, new_0, 0}}, - {1059, {wxIconBundle, new_2, 2}}, - {1060, {wxIconBundle, new_1_0, 1}}, - {1061, {wxIconBundle, new_1_1, 1}}, - {1062, {wxIconBundle, destruct, 0}}, - {1063, {wxIconBundle, addIcon_2, 2}}, - {1064, {wxIconBundle, addIcon_1, 1}}, - {1065, {wxIconBundle, getIcon_1_1, 1}}, - {1066, {wxIconBundle, getIcon_1_0, 1}}, - {1067, {wxCursor, new_0, 0}}, - {1068, {wxCursor, new_1_0, 1}}, - {1069, {wxCursor, new_1_1, 1}}, - {1070, {wxCursor, new_4, 4}}, - {1071, {wxCursor, destruct, 0}}, - {1072, {wxCursor, ok, 0}}, - {1073, {wxMask, new_0, 0}}, - {1074, {wxMask, new_2_1, 2}}, - {1075, {wxMask, new_2_0, 2}}, - {1076, {wxMask, new_1, 1}}, - {1077, {wxMask, destruct, 0}}, - {1078, {wxMask, create_2_1, 2}}, - {1079, {wxMask, create_2_0, 2}}, - {1080, {wxMask, create_1, 1}}, - {1081, {wxImage, new_0, 0}}, - {1082, {wxImage, new_3_0, 3}}, - {1083, {wxImage, new_4, 4}}, - {1084, {wxImage, new_5, 5}}, - {1085, {wxImage, new_2, 2}}, - {1086, {wxImage, new_3_1, 3}}, - {1087, {wxImage, blur, 1}}, - {1088, {wxImage, blurHorizontal, 1}}, - {1089, {wxImage, blurVertical, 1}}, - {1090, {wxImage, convertAlphaToMask, 1}}, - {1091, {wxImage, convertToGreyscale, 1}}, - {1092, {wxImage, convertToMono, 3}}, - {1093, {wxImage, copy, 0}}, - {1094, {wxImage, create_3, 3}}, - {1095, {wxImage, create_4, 4}}, - {1096, {wxImage, create_5, 5}}, - {1097, {wxImage, 'Destroy', 0}}, - {1098, {wxImage, findFirstUnusedColour, 4}}, - {1099, {wxImage, getImageExtWildcard, 0}}, - {1100, {wxImage, getAlpha_2, 2}}, - {1101, {wxImage, getAlpha_0, 0}}, - {1102, {wxImage, getBlue, 2}}, - {1103, {wxImage, getData, 0}}, - {1104, {wxImage, getGreen, 2}}, - {1105, {wxImage, getImageCount, 2}}, - {1106, {wxImage, getHeight, 0}}, - {1107, {wxImage, getMaskBlue, 0}}, - {1108, {wxImage, getMaskGreen, 0}}, - {1109, {wxImage, getMaskRed, 0}}, - {1110, {wxImage, getOrFindMaskColour, 3}}, - {1111, {wxImage, getPalette, 0}}, - {1112, {wxImage, getRed, 2}}, - {1113, {wxImage, getSubImage, 1}}, - {1114, {wxImage, getWidth, 0}}, - {1115, {wxImage, hasAlpha, 0}}, - {1116, {wxImage, hasMask, 0}}, - {1117, {wxImage, getOption, 1}}, - {1118, {wxImage, getOptionInt, 1}}, - {1119, {wxImage, hasOption, 1}}, - {1120, {wxImage, initAlpha, 0}}, - {1121, {wxImage, initStandardHandlers, 0}}, - {1122, {wxImage, isTransparent, 3}}, - {1123, {wxImage, loadFile_2, 2}}, - {1124, {wxImage, loadFile_3, 3}}, - {1125, {wxImage, ok, 0}}, - {1126, {wxImage, removeHandler, 1}}, - {1127, {wxImage, mirror, 1}}, - {1128, {wxImage, replace, 6}}, - {1129, {wxImage, rescale, 3}}, - {1130, {wxImage, resize, 3}}, - {1131, {wxImage, rotate, 3}}, - {1132, {wxImage, rotateHue, 1}}, - {1133, {wxImage, rotate90, 1}}, - {1134, {wxImage, saveFile_1, 1}}, - {1135, {wxImage, saveFile_2_0, 2}}, - {1136, {wxImage, saveFile_2_1, 2}}, - {1137, {wxImage, scale, 3}}, - {1138, {wxImage, size, 3}}, - {1139, {wxImage, setAlpha_3, 3}}, - {1140, {wxImage, setAlpha_2, 2}}, - {1141, {wxImage, setData_2, 2}}, - {1142, {wxImage, setData_4, 4}}, - {1143, {wxImage, setMask, 1}}, - {1144, {wxImage, setMaskColour, 3}}, - {1145, {wxImage, setMaskFromImage, 4}}, - {1146, {wxImage, setOption_2_1, 2}}, - {1147, {wxImage, setOption_2_0, 2}}, - {1148, {wxImage, setPalette, 1}}, - {1149, {wxImage, setRGB_5, 5}}, - {1150, {wxImage, setRGB_4, 4}}, - {1151, {wxImage, 'Destroy', undefined}}, - {1152, {wxBrush, new_0, 0}}, - {1153, {wxBrush, new_2, 2}}, - {1154, {wxBrush, new_1, 1}}, - {1156, {wxBrush, destruct, 0}}, - {1157, {wxBrush, getColour, 0}}, - {1158, {wxBrush, getStipple, 0}}, - {1159, {wxBrush, getStyle, 0}}, - {1160, {wxBrush, isHatch, 0}}, - {1161, {wxBrush, isOk, 0}}, - {1162, {wxBrush, setColour_1, 1}}, - {1163, {wxBrush, setColour_3, 3}}, - {1164, {wxBrush, setStipple, 1}}, - {1165, {wxBrush, setStyle, 1}}, - {1166, {wxPen, new_0, 0}}, - {1167, {wxPen, new_2, 2}}, - {1168, {wxPen, destruct, 0}}, - {1169, {wxPen, getCap, 0}}, - {1170, {wxPen, getColour, 0}}, - {1171, {wxPen, getJoin, 0}}, - {1172, {wxPen, getStyle, 0}}, - {1173, {wxPen, getWidth, 0}}, - {1174, {wxPen, isOk, 0}}, - {1175, {wxPen, setCap, 1}}, - {1176, {wxPen, setColour_1, 1}}, - {1177, {wxPen, setColour_3, 3}}, - {1178, {wxPen, setJoin, 1}}, - {1179, {wxPen, setStyle, 1}}, - {1180, {wxPen, setWidth, 1}}, - {1181, {wxRegion, new_0, 0}}, - {1182, {wxRegion, new_4, 4}}, - {1183, {wxRegion, new_2, 2}}, - {1184, {wxRegion, new_1_1, 1}}, - {1186, {wxRegion, new_1_0, 1}}, - {1188, {wxRegion, destruct, 0}}, - {1189, {wxRegion, clear, 0}}, - {1190, {wxRegion, contains_2, 2}}, - {1191, {wxRegion, contains_1_0, 1}}, - {1192, {wxRegion, contains_4, 4}}, - {1193, {wxRegion, contains_1_1, 1}}, - {1194, {wxRegion, convertToBitmap, 0}}, - {1195, {wxRegion, getBox, 0}}, - {1196, {wxRegion, intersect_4, 4}}, - {1197, {wxRegion, intersect_1_1, 1}}, - {1198, {wxRegion, intersect_1_0, 1}}, - {1199, {wxRegion, isEmpty, 0}}, - {1200, {wxRegion, subtract_4, 4}}, - {1201, {wxRegion, subtract_1_1, 1}}, - {1202, {wxRegion, subtract_1_0, 1}}, - {1203, {wxRegion, offset_2, 2}}, - {1204, {wxRegion, offset_1, 1}}, - {1205, {wxRegion, union_4, 4}}, - {1206, {wxRegion, union_1_2, 1}}, - {1207, {wxRegion, union_1_1, 1}}, - {1208, {wxRegion, union_1_0, 1}}, - {1209, {wxRegion, union_3, 3}}, - {1210, {wxRegion, xor_4, 4}}, - {1211, {wxRegion, xor_1_1, 1}}, - {1212, {wxRegion, xor_1_0, 1}}, - {1213, {wxAcceleratorTable, new_0, 0}}, - {1214, {wxAcceleratorTable, new_2, 2}}, - {1215, {wxAcceleratorTable, destruct, 0}}, - {1216, {wxAcceleratorTable, ok, 0}}, - {1217, {wxAcceleratorEntry, new_1_0, 1}}, - {1218, {wxAcceleratorEntry, new_1_1, 1}}, - {1219, {wxAcceleratorEntry, getCommand, 0}}, - {1220, {wxAcceleratorEntry, getFlags, 0}}, - {1221, {wxAcceleratorEntry, getKeyCode, 0}}, - {1222, {wxAcceleratorEntry, set, 4}}, - {1223, {wxAcceleratorEntry, 'Destroy', undefined}}, - {1228, {wxCaret, new_3, 3}}, - {1229, {wxCaret, new_2, 2}}, - {1231, {wxCaret, destruct, 0}}, - {1232, {wxCaret, create_3, 3}}, - {1233, {wxCaret, create_2, 2}}, - {1234, {wxCaret, getBlinkTime, 0}}, - {1236, {wxCaret, getPosition, 0}}, - {1238, {wxCaret, getSize, 0}}, - {1239, {wxCaret, getWindow, 0}}, - {1240, {wxCaret, hide, 0}}, - {1241, {wxCaret, isOk, 0}}, - {1242, {wxCaret, isVisible, 0}}, - {1243, {wxCaret, move_2, 2}}, - {1244, {wxCaret, move_1, 1}}, - {1245, {wxCaret, setBlinkTime, 1}}, - {1246, {wxCaret, setSize_2, 2}}, - {1247, {wxCaret, setSize_1, 1}}, - {1248, {wxCaret, show, 1}}, - {1249, {wxSizer, add_2_1, 2}}, - {1250, {wxSizer, add_2_0, 2}}, - {1251, {wxSizer, add_3, 3}}, - {1252, {wxSizer, add_2_3, 2}}, - {1253, {wxSizer, add_2_2, 2}}, - {1254, {wxSizer, addSpacer, 1}}, - {1255, {wxSizer, addStretchSpacer, 1}}, - {1256, {wxSizer, calcMin, 0}}, - {1257, {wxSizer, clear, 1}}, - {1258, {wxSizer, detach_1_2, 1}}, - {1259, {wxSizer, detach_1_1, 1}}, - {1260, {wxSizer, detach_1_0, 1}}, - {1261, {wxSizer, fit, 1}}, - {1262, {wxSizer, fitInside, 1}}, - {1263, {wxSizer, getChildren, 0}}, - {1264, {wxSizer, getItem_2_1, 2}}, - {1265, {wxSizer, getItem_2_0, 2}}, - {1266, {wxSizer, getItem_1, 1}}, - {1267, {wxSizer, getSize, 0}}, - {1268, {wxSizer, getPosition, 0}}, - {1269, {wxSizer, getMinSize, 0}}, - {1270, {wxSizer, hide_2_0, 2}}, - {1271, {wxSizer, hide_2_1, 2}}, - {1272, {wxSizer, hide_1, 1}}, - {1273, {wxSizer, insert_3_1, 3}}, - {1274, {wxSizer, insert_3_0, 3}}, - {1275, {wxSizer, insert_4, 4}}, - {1276, {wxSizer, insert_3_3, 3}}, - {1277, {wxSizer, insert_3_2, 3}}, - {1278, {wxSizer, insert_2, 2}}, - {1279, {wxSizer, insertSpacer, 2}}, - {1280, {wxSizer, insertStretchSpacer, 2}}, - {1281, {wxSizer, isShown_1_2, 1}}, - {1282, {wxSizer, isShown_1_1, 1}}, - {1283, {wxSizer, isShown_1_0, 1}}, - {1284, {wxSizer, layout, 0}}, - {1285, {wxSizer, prepend_2_1, 2}}, - {1286, {wxSizer, prepend_2_0, 2}}, - {1287, {wxSizer, prepend_3, 3}}, - {1288, {wxSizer, prepend_2_3, 2}}, - {1289, {wxSizer, prepend_2_2, 2}}, - {1290, {wxSizer, prepend_1, 1}}, - {1291, {wxSizer, prependSpacer, 1}}, - {1292, {wxSizer, prependStretchSpacer, 1}}, - {1293, {wxSizer, recalcSizes, 0}}, - {1294, {wxSizer, remove_1_1, 1}}, - {1295, {wxSizer, remove_1_0, 1}}, - {1296, {wxSizer, replace_3_1, 3}}, - {1297, {wxSizer, replace_3_0, 3}}, - {1298, {wxSizer, replace_2, 2}}, - {1299, {wxSizer, setDimension, 4}}, - {1300, {wxSizer, setMinSize_2, 2}}, - {1301, {wxSizer, setMinSize_1, 1}}, - {1302, {wxSizer, setItemMinSize_3_2, 3}}, - {1303, {wxSizer, setItemMinSize_2_2, 2}}, - {1304, {wxSizer, setItemMinSize_3_1, 3}}, - {1305, {wxSizer, setItemMinSize_2_1, 2}}, - {1306, {wxSizer, setItemMinSize_3_0, 3}}, - {1307, {wxSizer, setItemMinSize_2_0, 2}}, - {1308, {wxSizer, setSizeHints, 1}}, - {1309, {wxSizer, setVirtualSizeHints, 1}}, - {1310, {wxSizer, show_2_2, 2}}, - {1311, {wxSizer, show_2_1, 2}}, - {1312, {wxSizer, show_2_0, 2}}, - {1313, {wxSizer, show_1, 1}}, - {1314, {wxSizerFlags, new, 1}}, - {1315, {wxSizerFlags, align, 1}}, - {1316, {wxSizerFlags, border_2, 2}}, - {1317, {wxSizerFlags, border_1, 1}}, - {1318, {wxSizerFlags, center, 0}}, - {1319, {wxSizerFlags, centre, 0}}, - {1320, {wxSizerFlags, expand, 0}}, - {1321, {wxSizerFlags, left, 0}}, - {1322, {wxSizerFlags, proportion, 1}}, - {1323, {wxSizerFlags, right, 0}}, - {1324, {wxSizerFlags, 'Destroy', undefined}}, - {1325, {wxSizerItem, new_5_1, 5}}, - {1326, {wxSizerItem, new_2_1, 2}}, - {1327, {wxSizerItem, new_5_0, 5}}, - {1328, {wxSizerItem, new_2_0, 2}}, - {1329, {wxSizerItem, new_6, 6}}, - {1330, {wxSizerItem, new_3, 3}}, - {1331, {wxSizerItem, new_0, 0}}, - {1332, {wxSizerItem, destruct, 0}}, - {1333, {wxSizerItem, calcMin, 0}}, - {1334, {wxSizerItem, deleteWindows, 0}}, - {1335, {wxSizerItem, detachSizer, 0}}, - {1336, {wxSizerItem, getBorder, 0}}, - {1337, {wxSizerItem, getFlag, 0}}, - {1338, {wxSizerItem, getMinSize, 0}}, - {1339, {wxSizerItem, getPosition, 0}}, - {1340, {wxSizerItem, getProportion, 0}}, - {1341, {wxSizerItem, getRatio, 0}}, - {1342, {wxSizerItem, getRect, 0}}, - {1343, {wxSizerItem, getSize, 0}}, - {1344, {wxSizerItem, getSizer, 0}}, - {1345, {wxSizerItem, getSpacer, 0}}, - {1346, {wxSizerItem, getUserData, 0}}, - {1347, {wxSizerItem, getWindow, 0}}, - {1348, {wxSizerItem, isSizer, 0}}, - {1349, {wxSizerItem, isShown, 0}}, - {1350, {wxSizerItem, isSpacer, 0}}, - {1351, {wxSizerItem, isWindow, 0}}, - {1352, {wxSizerItem, setBorder, 1}}, - {1353, {wxSizerItem, setDimension, 2}}, - {1354, {wxSizerItem, setFlag, 1}}, - {1355, {wxSizerItem, setInitSize, 2}}, - {1356, {wxSizerItem, setMinSize_1, 1}}, - {1357, {wxSizerItem, setMinSize_2, 2}}, - {1358, {wxSizerItem, setProportion, 1}}, - {1359, {wxSizerItem, setRatio_2, 2}}, - {1360, {wxSizerItem, setRatio_1_1, 1}}, - {1361, {wxSizerItem, setRatio_1_0, 1}}, - {1362, {wxSizerItem, setSizer, 1}}, - {1363, {wxSizerItem, setSpacer_1, 1}}, - {1364, {wxSizerItem, setSpacer_2, 2}}, - {1365, {wxSizerItem, setWindow, 1}}, - {1366, {wxSizerItem, show, 1}}, - {1367, {wxBoxSizer, new, 1}}, - {1368, {wxBoxSizer, getOrientation, 0}}, - {1369, {wxBoxSizer, 'Destroy', undefined}}, - {1370, {wxStaticBoxSizer, new_2, 2}}, - {1371, {wxStaticBoxSizer, new_3, 3}}, - {1372, {wxStaticBoxSizer, getStaticBox, 0}}, - {1373, {wxStaticBoxSizer, 'Destroy', undefined}}, - {1374, {wxGridSizer, new_4, 4}}, - {1375, {wxGridSizer, new_2, 2}}, - {1376, {wxGridSizer, getCols, 0}}, - {1377, {wxGridSizer, getHGap, 0}}, - {1378, {wxGridSizer, getRows, 0}}, - {1379, {wxGridSizer, getVGap, 0}}, - {1380, {wxGridSizer, setCols, 1}}, - {1381, {wxGridSizer, setHGap, 1}}, - {1382, {wxGridSizer, setRows, 1}}, - {1383, {wxGridSizer, setVGap, 1}}, - {1384, {wxGridSizer, 'Destroy', undefined}}, - {1385, {wxFlexGridSizer, new_4, 4}}, - {1386, {wxFlexGridSizer, new_2, 2}}, - {1387, {wxFlexGridSizer, addGrowableCol, 2}}, - {1388, {wxFlexGridSizer, addGrowableRow, 2}}, - {1389, {wxFlexGridSizer, getFlexibleDirection, 0}}, - {1390, {wxFlexGridSizer, getNonFlexibleGrowMode, 0}}, - {1391, {wxFlexGridSizer, removeGrowableCol, 1}}, - {1392, {wxFlexGridSizer, removeGrowableRow, 1}}, - {1393, {wxFlexGridSizer, setFlexibleDirection, 1}}, - {1394, {wxFlexGridSizer, setNonFlexibleGrowMode, 1}}, - {1395, {wxFlexGridSizer, 'Destroy', undefined}}, - {1396, {wxGridBagSizer, new, 1}}, - {1397, {wxGridBagSizer, add_3_2, 3}}, - {1398, {wxGridBagSizer, add_3_1, 3}}, - {1399, {wxGridBagSizer, add_4, 4}}, - {1400, {wxGridBagSizer, add_1_0, 1}}, - {1401, {wxGridBagSizer, add_2_1, 2}}, - {1402, {wxGridBagSizer, add_2_0, 2}}, - {1403, {wxGridBagSizer, add_3_0, 3}}, - {1404, {wxGridBagSizer, add_1_1, 1}}, - {1405, {wxGridBagSizer, calcMin, 0}}, - {1406, {wxGridBagSizer, checkForIntersection_2, 2}}, - {1407, {wxGridBagSizer, checkForIntersection_3, 3}}, - {1408, {wxGridBagSizer, findItem_1_1, 1}}, - {1409, {wxGridBagSizer, findItem_1_0, 1}}, - {1410, {wxGridBagSizer, findItemAtPoint, 1}}, - {1411, {wxGridBagSizer, findItemAtPosition, 1}}, - {1412, {wxGridBagSizer, findItemWithData, 1}}, - {1413, {wxGridBagSizer, getCellSize, 2}}, - {1414, {wxGridBagSizer, getEmptyCellSize, 0}}, - {1415, {wxGridBagSizer, getItemPosition_1_2, 1}}, - {1416, {wxGridBagSizer, getItemPosition_1_1, 1}}, - {1417, {wxGridBagSizer, getItemPosition_1_0, 1}}, - {1418, {wxGridBagSizer, getItemSpan_1_2, 1}}, - {1419, {wxGridBagSizer, getItemSpan_1_1, 1}}, - {1420, {wxGridBagSizer, getItemSpan_1_0, 1}}, - {1421, {wxGridBagSizer, setEmptyCellSize, 1}}, - {1422, {wxGridBagSizer, setItemPosition_2_2, 2}}, - {1423, {wxGridBagSizer, setItemPosition_2_1, 2}}, - {1424, {wxGridBagSizer, setItemPosition_2_0, 2}}, - {1425, {wxGridBagSizer, setItemSpan_2_2, 2}}, - {1426, {wxGridBagSizer, setItemSpan_2_1, 2}}, - {1427, {wxGridBagSizer, setItemSpan_2_0, 2}}, - {1428, {wxGridBagSizer, 'Destroy', undefined}}, - {1429, {wxStdDialogButtonSizer, new, 0}}, - {1430, {wxStdDialogButtonSizer, addButton, 1}}, - {1431, {wxStdDialogButtonSizer, realize, 0}}, - {1432, {wxStdDialogButtonSizer, setAffirmativeButton, 1}}, - {1433, {wxStdDialogButtonSizer, setCancelButton, 1}}, - {1434, {wxStdDialogButtonSizer, setNegativeButton, 1}}, - {1435, {wxStdDialogButtonSizer, 'Destroy', undefined}}, - {1436, {wxFont, new_0, 0}}, - {1437, {wxFont, new_1, 1}}, - {1438, {wxFont, new_5, 5}}, - {1440, {wxFont, destruct, 0}}, - {1441, {wxFont, isFixedWidth, 0}}, - {1442, {wxFont, getDefaultEncoding, 0}}, - {1443, {wxFont, getFaceName, 0}}, - {1444, {wxFont, getFamily, 0}}, - {1445, {wxFont, getNativeFontInfoDesc, 0}}, - {1446, {wxFont, getNativeFontInfoUserDesc, 0}}, - {1447, {wxFont, getPointSize, 0}}, - {1448, {wxFont, getStyle, 0}}, - {1449, {wxFont, getUnderlined, 0}}, - {1450, {wxFont, getWeight, 0}}, - {1451, {wxFont, ok, 0}}, - {1452, {wxFont, setDefaultEncoding, 1}}, - {1453, {wxFont, setFaceName, 1}}, - {1454, {wxFont, setFamily, 1}}, - {1455, {wxFont, setPointSize, 1}}, - {1456, {wxFont, setStyle, 1}}, - {1457, {wxFont, setUnderlined, 1}}, - {1458, {wxFont, setWeight, 1}}, - {1459, {wxToolTip, enable, 1}}, - {1460, {wxToolTip, setDelay, 1}}, - {1461, {wxToolTip, new, 1}}, - {1462, {wxToolTip, setTip, 1}}, - {1463, {wxToolTip, getTip, 0}}, - {1464, {wxToolTip, getWindow, 0}}, - {1465, {wxToolTip, 'Destroy', undefined}}, - {1467, {wxButton, new_3, 3}}, - {1468, {wxButton, new_0, 0}}, - {1469, {wxButton, destruct, 0}}, - {1470, {wxButton, create, 3}}, - {1471, {wxButton, getDefaultSize, 0}}, - {1472, {wxButton, setDefault, 0}}, - {1473, {wxButton, setLabel, 1}}, - {1475, {wxBitmapButton, new_4, 4}}, - {1476, {wxBitmapButton, new_0, 0}}, - {1477, {wxBitmapButton, create, 4}}, - {1478, {wxBitmapButton, getBitmapDisabled, 0}}, - {1480, {wxBitmapButton, getBitmapFocus, 0}}, - {1482, {wxBitmapButton, getBitmapLabel, 0}}, - {1484, {wxBitmapButton, getBitmapSelected, 0}}, - {1486, {wxBitmapButton, setBitmapDisabled, 1}}, - {1487, {wxBitmapButton, setBitmapFocus, 1}}, - {1488, {wxBitmapButton, setBitmapLabel, 1}}, - {1489, {wxBitmapButton, setBitmapSelected, 1}}, - {1490, {wxBitmapButton, 'Destroy', undefined}}, - {1491, {wxToggleButton, new_0, 0}}, - {1492, {wxToggleButton, new_4, 4}}, - {1493, {wxToggleButton, create, 4}}, - {1494, {wxToggleButton, getValue, 0}}, - {1495, {wxToggleButton, setValue, 1}}, - {1496, {wxToggleButton, 'Destroy', undefined}}, - {1497, {wxCalendarCtrl, new_0, 0}}, - {1498, {wxCalendarCtrl, new_3, 3}}, - {1499, {wxCalendarCtrl, create, 3}}, - {1500, {wxCalendarCtrl, destruct, 0}}, - {1501, {wxCalendarCtrl, setDate, 1}}, - {1502, {wxCalendarCtrl, getDate, 0}}, - {1503, {wxCalendarCtrl, enableYearChange, 1}}, - {1504, {wxCalendarCtrl, enableMonthChange, 1}}, - {1505, {wxCalendarCtrl, enableHolidayDisplay, 1}}, - {1506, {wxCalendarCtrl, setHeaderColours, 2}}, - {1507, {wxCalendarCtrl, getHeaderColourFg, 0}}, - {1508, {wxCalendarCtrl, getHeaderColourBg, 0}}, - {1509, {wxCalendarCtrl, setHighlightColours, 2}}, - {1510, {wxCalendarCtrl, getHighlightColourFg, 0}}, - {1511, {wxCalendarCtrl, getHighlightColourBg, 0}}, - {1512, {wxCalendarCtrl, setHolidayColours, 2}}, - {1513, {wxCalendarCtrl, getHolidayColourFg, 0}}, - {1514, {wxCalendarCtrl, getHolidayColourBg, 0}}, - {1515, {wxCalendarCtrl, getAttr, 1}}, - {1516, {wxCalendarCtrl, setAttr, 2}}, - {1517, {wxCalendarCtrl, setHoliday, 1}}, - {1518, {wxCalendarCtrl, resetAttr, 1}}, - {1519, {wxCalendarCtrl, hitTest, 2}}, - {1520, {wxCalendarDateAttr, new_0, 0}}, - {1521, {wxCalendarDateAttr, new_2_1, 2}}, - {1522, {wxCalendarDateAttr, new_2_0, 2}}, - {1523, {wxCalendarDateAttr, setTextColour, 1}}, - {1524, {wxCalendarDateAttr, setBackgroundColour, 1}}, - {1525, {wxCalendarDateAttr, setBorderColour, 1}}, - {1526, {wxCalendarDateAttr, setFont, 1}}, - {1527, {wxCalendarDateAttr, setBorder, 1}}, - {1528, {wxCalendarDateAttr, setHoliday, 1}}, - {1529, {wxCalendarDateAttr, hasTextColour, 0}}, - {1530, {wxCalendarDateAttr, hasBackgroundColour, 0}}, - {1531, {wxCalendarDateAttr, hasBorderColour, 0}}, - {1532, {wxCalendarDateAttr, hasFont, 0}}, - {1533, {wxCalendarDateAttr, hasBorder, 0}}, - {1534, {wxCalendarDateAttr, isHoliday, 0}}, - {1535, {wxCalendarDateAttr, getTextColour, 0}}, - {1536, {wxCalendarDateAttr, getBackgroundColour, 0}}, - {1537, {wxCalendarDateAttr, getBorderColour, 0}}, - {1538, {wxCalendarDateAttr, getFont, 0}}, - {1539, {wxCalendarDateAttr, getBorder, 0}}, - {1540, {wxCalendarDateAttr, 'Destroy', undefined}}, - {1542, {wxCheckBox, new_4, 4}}, - {1543, {wxCheckBox, new_0, 0}}, - {1544, {wxCheckBox, create, 4}}, - {1545, {wxCheckBox, getValue, 0}}, - {1546, {wxCheckBox, get3StateValue, 0}}, - {1547, {wxCheckBox, is3rdStateAllowedForUser, 0}}, - {1548, {wxCheckBox, is3State, 0}}, - {1549, {wxCheckBox, isChecked, 0}}, - {1550, {wxCheckBox, setValue, 1}}, - {1551, {wxCheckBox, set3StateValue, 1}}, - {1552, {wxCheckBox, 'Destroy', undefined}}, - {1553, {wxCheckListBox, new_0, 0}}, - {1555, {wxCheckListBox, new_3, 3}}, - {1556, {wxCheckListBox, check, 2}}, - {1557, {wxCheckListBox, isChecked, 1}}, - {1558, {wxCheckListBox, 'Destroy', undefined}}, - {1561, {wxChoice, new_3, 3}}, - {1562, {wxChoice, new_0, 0}}, - {1564, {wxChoice, destruct, 0}}, - {1566, {wxChoice, create, 6}}, - {1567, {wxChoice, delete, 1}}, - {1568, {wxChoice, getColumns, 0}}, - {1569, {wxChoice, setColumns, 1}}, - {1570, {wxComboBox, new_0, 0}}, - {1572, {wxComboBox, new_3, 3}}, - {1573, {wxComboBox, destruct, 0}}, - {1575, {wxComboBox, create, 7}}, - {1576, {wxComboBox, canCopy, 0}}, - {1577, {wxComboBox, canCut, 0}}, - {1578, {wxComboBox, canPaste, 0}}, - {1579, {wxComboBox, canRedo, 0}}, - {1580, {wxComboBox, canUndo, 0}}, - {1581, {wxComboBox, copy, 0}}, - {1582, {wxComboBox, cut, 0}}, - {1583, {wxComboBox, getInsertionPoint, 0}}, - {1584, {wxComboBox, getLastPosition, 0}}, - {1585, {wxComboBox, getValue, 0}}, - {1586, {wxComboBox, paste, 0}}, - {1587, {wxComboBox, redo, 0}}, - {1588, {wxComboBox, replace, 3}}, - {1589, {wxComboBox, remove, 2}}, - {1590, {wxComboBox, setInsertionPoint, 1}}, - {1591, {wxComboBox, setInsertionPointEnd, 0}}, - {1592, {wxComboBox, setSelection_1, 1}}, - {1593, {wxComboBox, setSelection_2, 2}}, - {1594, {wxComboBox, setValue, 1}}, - {1595, {wxComboBox, undo, 0}}, - {1596, {wxGauge, new_0, 0}}, - {1597, {wxGauge, new_4, 4}}, - {1598, {wxGauge, create, 4}}, - {1599, {wxGauge, getBezelFace, 0}}, - {1600, {wxGauge, getRange, 0}}, - {1601, {wxGauge, getShadowWidth, 0}}, - {1602, {wxGauge, getValue, 0}}, - {1603, {wxGauge, isVertical, 0}}, - {1604, {wxGauge, setBezelFace, 1}}, - {1605, {wxGauge, setRange, 1}}, - {1606, {wxGauge, setShadowWidth, 1}}, - {1607, {wxGauge, setValue, 1}}, - {1608, {wxGauge, pulse, 0}}, - {1609, {wxGauge, 'Destroy', undefined}}, - {1610, {wxGenericDirCtrl, new_0, 0}}, - {1611, {wxGenericDirCtrl, new_2, 2}}, - {1612, {wxGenericDirCtrl, destruct, 0}}, - {1613, {wxGenericDirCtrl, create, 2}}, - {1614, {wxGenericDirCtrl, init, 0}}, - {1615, {wxGenericDirCtrl, collapseTree, 0}}, - {1616, {wxGenericDirCtrl, expandPath, 1}}, - {1617, {wxGenericDirCtrl, getDefaultPath, 0}}, - {1618, {wxGenericDirCtrl, getPath, 0}}, - {1619, {wxGenericDirCtrl, getFilePath, 0}}, - {1620, {wxGenericDirCtrl, getFilter, 0}}, - {1621, {wxGenericDirCtrl, getFilterIndex, 0}}, - {1622, {wxGenericDirCtrl, getRootId, 0}}, - {1623, {wxGenericDirCtrl, getTreeCtrl, 0}}, - {1624, {wxGenericDirCtrl, reCreateTree, 0}}, - {1625, {wxGenericDirCtrl, setDefaultPath, 1}}, - {1626, {wxGenericDirCtrl, setFilter, 1}}, - {1627, {wxGenericDirCtrl, setFilterIndex, 1}}, - {1628, {wxGenericDirCtrl, setPath, 1}}, - {1630, {wxStaticBox, new_4, 4}}, - {1631, {wxStaticBox, new_0, 0}}, - {1632, {wxStaticBox, create, 4}}, - {1633, {wxStaticBox, 'Destroy', undefined}}, - {1635, {wxStaticLine, new_2, 2}}, - {1636, {wxStaticLine, new_0, 0}}, - {1637, {wxStaticLine, create, 2}}, - {1638, {wxStaticLine, isVertical, 0}}, - {1639, {wxStaticLine, getDefaultSize, 0}}, - {1640, {wxStaticLine, 'Destroy', undefined}}, - {1643, {wxListBox, new_3, 3}}, - {1644, {wxListBox, new_0, 0}}, - {1646, {wxListBox, destruct, 0}}, - {1648, {wxListBox, create, 6}}, - {1649, {wxListBox, deselect, 1}}, - {1650, {wxListBox, getSelections, 1}}, - {1651, {wxListBox, insertItems, 2}}, - {1652, {wxListBox, isSelected, 1}}, - {1654, {wxListBox, set, 2}}, - {1655, {wxListBox, hitTest, 1}}, - {1656, {wxListBox, setFirstItem_1_0, 1}}, - {1657, {wxListBox, setFirstItem_1_1, 1}}, - {1658, {wxListCtrl, new_0, 0}}, - {1659, {wxListCtrl, new_2, 2}}, - {1660, {wxListCtrl, arrange, 1}}, - {1661, {wxListCtrl, assignImageList, 2}}, - {1662, {wxListCtrl, clearAll, 0}}, - {1663, {wxListCtrl, create, 2}}, - {1664, {wxListCtrl, deleteAllItems, 0}}, - {1665, {wxListCtrl, deleteColumn, 1}}, - {1666, {wxListCtrl, deleteItem, 1}}, - {1667, {wxListCtrl, editLabel, 1}}, - {1668, {wxListCtrl, ensureVisible, 1}}, - {1669, {wxListCtrl, findItem_3_0, 3}}, - {1670, {wxListCtrl, findItem_3_1, 3}}, - {1671, {wxListCtrl, getColumn, 2}}, - {1672, {wxListCtrl, getColumnCount, 0}}, - {1673, {wxListCtrl, getColumnWidth, 1}}, - {1674, {wxListCtrl, getCountPerPage, 0}}, - {1675, {wxListCtrl, getEditControl, 0}}, - {1676, {wxListCtrl, getImageList, 1}}, - {1677, {wxListCtrl, getItem, 1}}, - {1678, {wxListCtrl, getItemBackgroundColour, 1}}, - {1679, {wxListCtrl, getItemCount, 0}}, - {1680, {wxListCtrl, getItemData, 1}}, - {1681, {wxListCtrl, getItemFont, 1}}, - {1682, {wxListCtrl, getItemPosition, 2}}, - {1683, {wxListCtrl, getItemRect, 3}}, - {1684, {wxListCtrl, getItemSpacing, 0}}, - {1685, {wxListCtrl, getItemState, 2}}, - {1686, {wxListCtrl, getItemText, 1}}, - {1687, {wxListCtrl, getItemTextColour, 1}}, - {1688, {wxListCtrl, getNextItem, 2}}, - {1689, {wxListCtrl, getSelectedItemCount, 0}}, - {1690, {wxListCtrl, getTextColour, 0}}, - {1691, {wxListCtrl, getTopItem, 0}}, - {1692, {wxListCtrl, getViewRect, 0}}, - {1693, {wxListCtrl, hitTest, 2}}, - {1694, {wxListCtrl, insertColumn_2, 2}}, - {1695, {wxListCtrl, insertColumn_3, 3}}, - {1696, {wxListCtrl, insertItem_1, 1}}, - {1697, {wxListCtrl, insertItem_2_1, 2}}, - {1698, {wxListCtrl, insertItem_2_0, 2}}, - {1699, {wxListCtrl, insertItem_3, 3}}, - {1700, {wxListCtrl, refreshItem, 1}}, - {1701, {wxListCtrl, refreshItems, 2}}, - {1702, {wxListCtrl, scrollList, 2}}, - {1703, {wxListCtrl, setBackgroundColour, 1}}, - {1704, {wxListCtrl, setColumn, 2}}, - {1705, {wxListCtrl, setColumnWidth, 2}}, - {1706, {wxListCtrl, setImageList, 2}}, - {1707, {wxListCtrl, setItem_1, 1}}, - {1708, {wxListCtrl, setItem_4, 4}}, - {1709, {wxListCtrl, setItemBackgroundColour, 2}}, - {1710, {wxListCtrl, setItemCount, 1}}, - {1711, {wxListCtrl, setItemData, 2}}, - {1712, {wxListCtrl, setItemFont, 2}}, - {1713, {wxListCtrl, setItemImage, 3}}, - {1714, {wxListCtrl, setItemColumnImage, 3}}, - {1715, {wxListCtrl, setItemPosition, 2}}, - {1716, {wxListCtrl, setItemState, 3}}, - {1717, {wxListCtrl, setItemText, 2}}, - {1718, {wxListCtrl, setItemTextColour, 2}}, - {1719, {wxListCtrl, setSingleStyle, 2}}, - {1720, {wxListCtrl, setTextColour, 1}}, - {1721, {wxListCtrl, setWindowStyleFlag, 1}}, - {1722, {wxListCtrl, sortItems, 2}}, - {1723, {wxListCtrl, 'Destroy', undefined}}, - {1724, {wxListView, clearColumnImage, 1}}, - {1725, {wxListView, focus, 1}}, - {1726, {wxListView, getFirstSelected, 0}}, - {1727, {wxListView, getFocusedItem, 0}}, - {1728, {wxListView, getNextSelected, 1}}, - {1729, {wxListView, isSelected, 1}}, - {1730, {wxListView, select, 2}}, - {1731, {wxListView, setColumnImage, 2}}, - {1732, {wxListItem, new_0, 0}}, - {1733, {wxListItem, new_1, 1}}, - {1734, {wxListItem, destruct, 0}}, - {1735, {wxListItem, clear, 0}}, - {1736, {wxListItem, getAlign, 0}}, - {1737, {wxListItem, getBackgroundColour, 0}}, - {1738, {wxListItem, getColumn, 0}}, - {1739, {wxListItem, getFont, 0}}, - {1740, {wxListItem, getId, 0}}, - {1741, {wxListItem, getImage, 0}}, - {1742, {wxListItem, getMask, 0}}, - {1743, {wxListItem, getState, 0}}, - {1744, {wxListItem, getText, 0}}, - {1745, {wxListItem, getTextColour, 0}}, - {1746, {wxListItem, getWidth, 0}}, - {1747, {wxListItem, setAlign, 1}}, - {1748, {wxListItem, setBackgroundColour, 1}}, - {1749, {wxListItem, setColumn, 1}}, - {1750, {wxListItem, setFont, 1}}, - {1751, {wxListItem, setId, 1}}, - {1752, {wxListItem, setImage, 1}}, - {1753, {wxListItem, setMask, 1}}, - {1754, {wxListItem, setState, 1}}, - {1755, {wxListItem, setStateMask, 1}}, - {1756, {wxListItem, setText, 1}}, - {1757, {wxListItem, setTextColour, 1}}, - {1758, {wxListItem, setWidth, 1}}, - {1759, {wxImageList, new_0, 0}}, - {1760, {wxImageList, new_3, 3}}, - {1761, {wxImageList, add_1, 1}}, - {1762, {wxImageList, add_2_0, 2}}, - {1763, {wxImageList, add_2_1, 2}}, - {1764, {wxImageList, create, 3}}, - {1766, {wxImageList, draw, 5}}, - {1767, {wxImageList, getBitmap, 1}}, - {1768, {wxImageList, getIcon, 1}}, - {1769, {wxImageList, getImageCount, 0}}, - {1770, {wxImageList, getSize, 3}}, - {1771, {wxImageList, remove, 1}}, - {1772, {wxImageList, removeAll, 0}}, - {1773, {wxImageList, replace_2, 2}}, - {1774, {wxImageList, replace_3, 3}}, - {1775, {wxImageList, 'Destroy', undefined}}, - {1776, {wxTextAttr, new_0, 0}}, - {1777, {wxTextAttr, new_2, 2}}, - {1778, {wxTextAttr, getAlignment, 0}}, - {1779, {wxTextAttr, getBackgroundColour, 0}}, - {1780, {wxTextAttr, getFont, 0}}, - {1781, {wxTextAttr, getLeftIndent, 0}}, - {1782, {wxTextAttr, getLeftSubIndent, 0}}, - {1783, {wxTextAttr, getRightIndent, 0}}, - {1784, {wxTextAttr, getTabs, 0}}, - {1785, {wxTextAttr, getTextColour, 0}}, - {1786, {wxTextAttr, hasBackgroundColour, 0}}, - {1787, {wxTextAttr, hasFont, 0}}, - {1788, {wxTextAttr, hasTextColour, 0}}, - {1789, {wxTextAttr, getFlags, 0}}, - {1790, {wxTextAttr, isDefault, 0}}, - {1791, {wxTextAttr, setAlignment, 1}}, - {1792, {wxTextAttr, setBackgroundColour, 1}}, - {1793, {wxTextAttr, setFlags, 1}}, - {1794, {wxTextAttr, setFont, 2}}, - {1795, {wxTextAttr, setLeftIndent, 2}}, - {1796, {wxTextAttr, setRightIndent, 1}}, - {1797, {wxTextAttr, setTabs, 1}}, - {1798, {wxTextAttr, setTextColour, 1}}, - {1799, {wxTextAttr, 'Destroy', undefined}}, - {1801, {wxTextCtrl, new_3, 3}}, - {1802, {wxTextCtrl, new_0, 0}}, - {1804, {wxTextCtrl, destruct, 0}}, - {1805, {wxTextCtrl, appendText, 1}}, - {1806, {wxTextCtrl, canCopy, 0}}, - {1807, {wxTextCtrl, canCut, 0}}, - {1808, {wxTextCtrl, canPaste, 0}}, - {1809, {wxTextCtrl, canRedo, 0}}, - {1810, {wxTextCtrl, canUndo, 0}}, - {1811, {wxTextCtrl, clear, 0}}, - {1812, {wxTextCtrl, copy, 0}}, - {1813, {wxTextCtrl, create, 3}}, - {1814, {wxTextCtrl, cut, 0}}, - {1815, {wxTextCtrl, discardEdits, 0}}, - {1816, {wxTextCtrl, emulateKeyPress, 1}}, - {1817, {wxTextCtrl, getDefaultStyle, 0}}, - {1818, {wxTextCtrl, getInsertionPoint, 0}}, - {1819, {wxTextCtrl, getLastPosition, 0}}, - {1820, {wxTextCtrl, getLineLength, 1}}, - {1821, {wxTextCtrl, getLineText, 1}}, - {1822, {wxTextCtrl, getNumberOfLines, 0}}, - {1823, {wxTextCtrl, getRange, 2}}, - {1824, {wxTextCtrl, getSelection, 2}}, - {1825, {wxTextCtrl, getStringSelection, 0}}, - {1826, {wxTextCtrl, getStyle, 2}}, - {1827, {wxTextCtrl, getValue, 0}}, - {1828, {wxTextCtrl, isEditable, 0}}, - {1829, {wxTextCtrl, isModified, 0}}, - {1830, {wxTextCtrl, isMultiLine, 0}}, - {1831, {wxTextCtrl, isSingleLine, 0}}, - {1832, {wxTextCtrl, loadFile, 2}}, - {1833, {wxTextCtrl, markDirty, 0}}, - {1834, {wxTextCtrl, paste, 0}}, - {1835, {wxTextCtrl, positionToXY, 3}}, - {1836, {wxTextCtrl, redo, 0}}, - {1837, {wxTextCtrl, remove, 2}}, - {1838, {wxTextCtrl, replace, 3}}, - {1839, {wxTextCtrl, saveFile, 1}}, - {1840, {wxTextCtrl, setDefaultStyle, 1}}, - {1841, {wxTextCtrl, setEditable, 1}}, - {1842, {wxTextCtrl, setInsertionPoint, 1}}, - {1843, {wxTextCtrl, setInsertionPointEnd, 0}}, - {1845, {wxTextCtrl, setMaxLength, 1}}, - {1846, {wxTextCtrl, setSelection, 2}}, - {1847, {wxTextCtrl, setStyle, 3}}, - {1848, {wxTextCtrl, setValue, 1}}, - {1849, {wxTextCtrl, showPosition, 1}}, - {1850, {wxTextCtrl, undo, 0}}, - {1851, {wxTextCtrl, writeText, 1}}, - {1852, {wxTextCtrl, xYToPosition, 2}}, - {1855, {wxNotebook, new_0, 0}}, - {1856, {wxNotebook, new_3, 3}}, - {1857, {wxNotebook, destruct, 0}}, - {1858, {wxNotebook, addPage, 3}}, - {1859, {wxNotebook, advanceSelection, 1}}, - {1860, {wxNotebook, assignImageList, 1}}, - {1861, {wxNotebook, create, 3}}, - {1862, {wxNotebook, deleteAllPages, 0}}, - {1863, {wxNotebook, deletePage, 1}}, - {1864, {wxNotebook, removePage, 1}}, - {1865, {wxNotebook, getCurrentPage, 0}}, - {1866, {wxNotebook, getImageList, 0}}, - {1868, {wxNotebook, getPage, 1}}, - {1869, {wxNotebook, getPageCount, 0}}, - {1870, {wxNotebook, getPageImage, 1}}, - {1871, {wxNotebook, getPageText, 1}}, - {1872, {wxNotebook, getRowCount, 0}}, - {1873, {wxNotebook, getSelection, 0}}, - {1874, {wxNotebook, getThemeBackgroundColour, 0}}, - {1876, {wxNotebook, hitTest, 2}}, - {1878, {wxNotebook, insertPage, 4}}, - {1879, {wxNotebook, setImageList, 1}}, - {1880, {wxNotebook, setPadding, 1}}, - {1881, {wxNotebook, setPageSize, 1}}, - {1882, {wxNotebook, setPageImage, 2}}, - {1883, {wxNotebook, setPageText, 2}}, - {1884, {wxNotebook, setSelection, 1}}, - {1885, {wxNotebook, changeSelection, 1}}, - {1886, {wxChoicebook, new_0, 0}}, - {1887, {wxChoicebook, new_3, 3}}, - {1888, {wxChoicebook, addPage, 3}}, - {1889, {wxChoicebook, advanceSelection, 1}}, - {1890, {wxChoicebook, assignImageList, 1}}, - {1891, {wxChoicebook, create, 3}}, - {1892, {wxChoicebook, deleteAllPages, 0}}, - {1893, {wxChoicebook, deletePage, 1}}, - {1894, {wxChoicebook, removePage, 1}}, - {1895, {wxChoicebook, getCurrentPage, 0}}, - {1896, {wxChoicebook, getImageList, 0}}, - {1898, {wxChoicebook, getPage, 1}}, - {1899, {wxChoicebook, getPageCount, 0}}, - {1900, {wxChoicebook, getPageImage, 1}}, - {1901, {wxChoicebook, getPageText, 1}}, - {1902, {wxChoicebook, getSelection, 0}}, - {1903, {wxChoicebook, hitTest, 2}}, - {1904, {wxChoicebook, insertPage, 4}}, - {1905, {wxChoicebook, setImageList, 1}}, - {1906, {wxChoicebook, setPageSize, 1}}, - {1907, {wxChoicebook, setPageImage, 2}}, - {1908, {wxChoicebook, setPageText, 2}}, - {1909, {wxChoicebook, setSelection, 1}}, - {1910, {wxChoicebook, changeSelection, 1}}, - {1911, {wxChoicebook, 'Destroy', undefined}}, - {1912, {wxToolbook, new_0, 0}}, - {1913, {wxToolbook, new_3, 3}}, - {1914, {wxToolbook, addPage, 3}}, - {1915, {wxToolbook, advanceSelection, 1}}, - {1916, {wxToolbook, assignImageList, 1}}, - {1917, {wxToolbook, create, 3}}, - {1918, {wxToolbook, deleteAllPages, 0}}, - {1919, {wxToolbook, deletePage, 1}}, - {1920, {wxToolbook, removePage, 1}}, - {1921, {wxToolbook, getCurrentPage, 0}}, - {1922, {wxToolbook, getImageList, 0}}, - {1924, {wxToolbook, getPage, 1}}, - {1925, {wxToolbook, getPageCount, 0}}, - {1926, {wxToolbook, getPageImage, 1}}, - {1927, {wxToolbook, getPageText, 1}}, - {1928, {wxToolbook, getSelection, 0}}, - {1930, {wxToolbook, hitTest, 2}}, - {1931, {wxToolbook, insertPage, 4}}, - {1932, {wxToolbook, setImageList, 1}}, - {1933, {wxToolbook, setPageSize, 1}}, - {1934, {wxToolbook, setPageImage, 2}}, - {1935, {wxToolbook, setPageText, 2}}, - {1936, {wxToolbook, setSelection, 1}}, - {1937, {wxToolbook, changeSelection, 1}}, - {1938, {wxToolbook, 'Destroy', undefined}}, - {1939, {wxListbook, new_0, 0}}, - {1940, {wxListbook, new_3, 3}}, - {1941, {wxListbook, addPage, 3}}, - {1942, {wxListbook, advanceSelection, 1}}, - {1943, {wxListbook, assignImageList, 1}}, - {1944, {wxListbook, create, 3}}, - {1945, {wxListbook, deleteAllPages, 0}}, - {1946, {wxListbook, deletePage, 1}}, - {1947, {wxListbook, removePage, 1}}, - {1948, {wxListbook, getCurrentPage, 0}}, - {1949, {wxListbook, getImageList, 0}}, - {1951, {wxListbook, getPage, 1}}, - {1952, {wxListbook, getPageCount, 0}}, - {1953, {wxListbook, getPageImage, 1}}, - {1954, {wxListbook, getPageText, 1}}, - {1955, {wxListbook, getSelection, 0}}, - {1957, {wxListbook, hitTest, 2}}, - {1958, {wxListbook, insertPage, 4}}, - {1959, {wxListbook, setImageList, 1}}, - {1960, {wxListbook, setPageSize, 1}}, - {1961, {wxListbook, setPageImage, 2}}, - {1962, {wxListbook, setPageText, 2}}, - {1963, {wxListbook, setSelection, 1}}, - {1964, {wxListbook, changeSelection, 1}}, - {1965, {wxListbook, 'Destroy', undefined}}, - {1966, {wxTreebook, new_0, 0}}, - {1967, {wxTreebook, new_3, 3}}, - {1968, {wxTreebook, addPage, 3}}, - {1969, {wxTreebook, advanceSelection, 1}}, - {1970, {wxTreebook, assignImageList, 1}}, - {1971, {wxTreebook, create, 3}}, - {1972, {wxTreebook, deleteAllPages, 0}}, - {1973, {wxTreebook, deletePage, 1}}, - {1974, {wxTreebook, removePage, 1}}, - {1975, {wxTreebook, getCurrentPage, 0}}, - {1976, {wxTreebook, getImageList, 0}}, - {1978, {wxTreebook, getPage, 1}}, - {1979, {wxTreebook, getPageCount, 0}}, - {1980, {wxTreebook, getPageImage, 1}}, - {1981, {wxTreebook, getPageText, 1}}, - {1982, {wxTreebook, getSelection, 0}}, - {1983, {wxTreebook, expandNode, 2}}, - {1984, {wxTreebook, isNodeExpanded, 1}}, - {1986, {wxTreebook, hitTest, 2}}, - {1987, {wxTreebook, insertPage, 4}}, - {1988, {wxTreebook, insertSubPage, 4}}, - {1989, {wxTreebook, setImageList, 1}}, - {1990, {wxTreebook, setPageSize, 1}}, - {1991, {wxTreebook, setPageImage, 2}}, - {1992, {wxTreebook, setPageText, 2}}, - {1993, {wxTreebook, setSelection, 1}}, - {1994, {wxTreebook, changeSelection, 1}}, - {1995, {wxTreebook, 'Destroy', undefined}}, - {1998, {wxTreeCtrl, new_2, 2}}, - {1999, {wxTreeCtrl, new_0, 0}}, - {2001, {wxTreeCtrl, destruct, 0}}, - {2002, {wxTreeCtrl, addRoot, 2}}, - {2003, {wxTreeCtrl, appendItem, 3}}, - {2004, {wxTreeCtrl, assignImageList, 1}}, - {2005, {wxTreeCtrl, assignStateImageList, 1}}, - {2006, {wxTreeCtrl, collapse, 1}}, - {2007, {wxTreeCtrl, collapseAndReset, 1}}, - {2008, {wxTreeCtrl, create, 2}}, - {2009, {wxTreeCtrl, delete, 1}}, - {2010, {wxTreeCtrl, deleteAllItems, 0}}, - {2011, {wxTreeCtrl, deleteChildren, 1}}, - {2012, {wxTreeCtrl, ensureVisible, 1}}, - {2013, {wxTreeCtrl, expand, 1}}, - {2014, {wxTreeCtrl, getBoundingRect, 3}}, - {2016, {wxTreeCtrl, getChildrenCount, 2}}, - {2017, {wxTreeCtrl, getCount, 0}}, - {2018, {wxTreeCtrl, getEditControl, 0}}, - {2019, {wxTreeCtrl, getFirstChild, 2}}, - {2020, {wxTreeCtrl, getNextChild, 2}}, - {2021, {wxTreeCtrl, getFirstVisibleItem, 0}}, - {2022, {wxTreeCtrl, getImageList, 0}}, - {2023, {wxTreeCtrl, getIndent, 0}}, - {2024, {wxTreeCtrl, getItemBackgroundColour, 1}}, - {2025, {wxTreeCtrl, getItemData, 1}}, - {2026, {wxTreeCtrl, getItemFont, 1}}, - {2027, {wxTreeCtrl, getItemImage_1, 1}}, - {2028, {wxTreeCtrl, getItemImage_2, 2}}, - {2029, {wxTreeCtrl, getItemText, 1}}, - {2030, {wxTreeCtrl, getItemTextColour, 1}}, - {2031, {wxTreeCtrl, getLastChild, 1}}, - {2032, {wxTreeCtrl, getNextSibling, 1}}, - {2033, {wxTreeCtrl, getNextVisible, 1}}, - {2034, {wxTreeCtrl, getItemParent, 1}}, - {2035, {wxTreeCtrl, getPrevSibling, 1}}, - {2036, {wxTreeCtrl, getPrevVisible, 1}}, - {2037, {wxTreeCtrl, getRootItem, 0}}, - {2038, {wxTreeCtrl, getSelection, 0}}, - {2039, {wxTreeCtrl, getSelections, 1}}, - {2040, {wxTreeCtrl, getStateImageList, 0}}, - {2041, {wxTreeCtrl, hitTest, 1}}, - {2043, {wxTreeCtrl, insertItem, 4}}, - {2044, {wxTreeCtrl, isBold, 1}}, - {2045, {wxTreeCtrl, isExpanded, 1}}, - {2046, {wxTreeCtrl, isSelected, 1}}, - {2047, {wxTreeCtrl, isVisible, 1}}, - {2048, {wxTreeCtrl, itemHasChildren, 1}}, - {2049, {wxTreeCtrl, prependItem, 3}}, - {2050, {wxTreeCtrl, scrollTo, 1}}, - {2051, {wxTreeCtrl, selectItem_1, 1}}, - {2052, {wxTreeCtrl, selectItem_2, 2}}, - {2053, {wxTreeCtrl, setIndent, 1}}, - {2054, {wxTreeCtrl, setImageList, 1}}, - {2055, {wxTreeCtrl, setItemBackgroundColour, 2}}, - {2056, {wxTreeCtrl, setItemBold, 2}}, - {2057, {wxTreeCtrl, setItemData, 2}}, - {2058, {wxTreeCtrl, setItemDropHighlight, 2}}, - {2059, {wxTreeCtrl, setItemFont, 2}}, - {2060, {wxTreeCtrl, setItemHasChildren, 2}}, - {2061, {wxTreeCtrl, setItemImage_2, 2}}, - {2062, {wxTreeCtrl, setItemImage_3, 3}}, - {2063, {wxTreeCtrl, setItemText, 2}}, - {2064, {wxTreeCtrl, setItemTextColour, 2}}, - {2065, {wxTreeCtrl, setStateImageList, 1}}, - {2066, {wxTreeCtrl, setWindowStyle, 1}}, - {2067, {wxTreeCtrl, sortChildren, 1}}, - {2068, {wxTreeCtrl, toggle, 1}}, - {2069, {wxTreeCtrl, toggleItemSelection, 1}}, - {2070, {wxTreeCtrl, unselect, 0}}, - {2071, {wxTreeCtrl, unselectAll, 0}}, - {2072, {wxTreeCtrl, unselectItem, 1}}, - {2073, {wxScrollBar, new_0, 0}}, - {2074, {wxScrollBar, new_3, 3}}, - {2075, {wxScrollBar, destruct, 0}}, - {2076, {wxScrollBar, create, 3}}, - {2077, {wxScrollBar, getRange, 0}}, - {2078, {wxScrollBar, getPageSize, 0}}, - {2079, {wxScrollBar, getThumbPosition, 0}}, - {2080, {wxScrollBar, getThumbSize, 0}}, - {2081, {wxScrollBar, setThumbPosition, 1}}, - {2082, {wxScrollBar, setScrollbar, 5}}, - {2084, {wxSpinButton, new_2, 2}}, - {2085, {wxSpinButton, new_0, 0}}, - {2086, {wxSpinButton, create, 2}}, - {2087, {wxSpinButton, getMax, 0}}, - {2088, {wxSpinButton, getMin, 0}}, - {2089, {wxSpinButton, getValue, 0}}, - {2090, {wxSpinButton, setRange, 2}}, - {2091, {wxSpinButton, setValue, 1}}, - {2092, {wxSpinButton, 'Destroy', undefined}}, - {2093, {wxSpinCtrl, new_0, 0}}, - {2094, {wxSpinCtrl, new_2, 2}}, - {2096, {wxSpinCtrl, create, 2}}, - {2099, {wxSpinCtrl, setValue_1_1, 1}}, - {2100, {wxSpinCtrl, setValue_1_0, 1}}, - {2102, {wxSpinCtrl, getValue, 0}}, - {2104, {wxSpinCtrl, setRange, 2}}, - {2105, {wxSpinCtrl, setSelection, 2}}, - {2107, {wxSpinCtrl, getMin, 0}}, - {2109, {wxSpinCtrl, getMax, 0}}, - {2110, {wxSpinCtrl, 'Destroy', undefined}}, - {2111, {wxStaticText, new_0, 0}}, - {2112, {wxStaticText, new_4, 4}}, - {2113, {wxStaticText, create, 4}}, - {2114, {wxStaticText, getLabel, 0}}, - {2115, {wxStaticText, setLabel, 1}}, - {2116, {wxStaticText, wrap, 1}}, - {2117, {wxStaticText, 'Destroy', undefined}}, - {2118, {wxStaticBitmap, new_0, 0}}, - {2119, {wxStaticBitmap, new_4, 4}}, - {2120, {wxStaticBitmap, create, 4}}, - {2121, {wxStaticBitmap, getBitmap, 0}}, - {2122, {wxStaticBitmap, setBitmap, 1}}, - {2123, {wxStaticBitmap, 'Destroy', undefined}}, - {2124, {wxRadioBox, new, 7}}, - {2126, {wxRadioBox, destruct, 0}}, - {2127, {wxRadioBox, create, 7}}, - {2128, {wxRadioBox, enable_2, 2}}, - {2129, {wxRadioBox, enable_1, 1}}, - {2130, {wxRadioBox, getSelection, 0}}, - {2131, {wxRadioBox, getString, 1}}, - {2132, {wxRadioBox, setSelection, 1}}, - {2133, {wxRadioBox, show_2, 2}}, - {2134, {wxRadioBox, show_1, 1}}, - {2135, {wxRadioBox, getColumnCount, 0}}, - {2136, {wxRadioBox, getItemHelpText, 1}}, - {2137, {wxRadioBox, getItemToolTip, 1}}, - {2139, {wxRadioBox, getItemFromPoint, 1}}, - {2140, {wxRadioBox, getRowCount, 0}}, - {2141, {wxRadioBox, isItemEnabled, 1}}, - {2142, {wxRadioBox, isItemShown, 1}}, - {2143, {wxRadioBox, setItemHelpText, 2}}, - {2144, {wxRadioBox, setItemToolTip, 2}}, - {2145, {wxRadioButton, new_0, 0}}, - {2146, {wxRadioButton, new_4, 4}}, - {2147, {wxRadioButton, create, 4}}, - {2148, {wxRadioButton, getValue, 0}}, - {2149, {wxRadioButton, setValue, 1}}, - {2150, {wxRadioButton, 'Destroy', undefined}}, - {2152, {wxSlider, new_6, 6}}, - {2153, {wxSlider, new_0, 0}}, - {2154, {wxSlider, create, 6}}, - {2155, {wxSlider, getLineSize, 0}}, - {2156, {wxSlider, getMax, 0}}, - {2157, {wxSlider, getMin, 0}}, - {2158, {wxSlider, getPageSize, 0}}, - {2159, {wxSlider, getThumbLength, 0}}, - {2160, {wxSlider, getValue, 0}}, - {2161, {wxSlider, setLineSize, 1}}, - {2162, {wxSlider, setPageSize, 1}}, - {2163, {wxSlider, setRange, 2}}, - {2164, {wxSlider, setThumbLength, 1}}, - {2165, {wxSlider, setValue, 1}}, - {2166, {wxSlider, 'Destroy', undefined}}, - {2168, {wxDialog, new_4, 4}}, - {2169, {wxDialog, new_0, 0}}, - {2171, {wxDialog, destruct, 0}}, - {2172, {wxDialog, create, 4}}, - {2173, {wxDialog, createButtonSizer, 1}}, - {2174, {wxDialog, createStdDialogButtonSizer, 1}}, - {2175, {wxDialog, endModal, 1}}, - {2176, {wxDialog, getAffirmativeId, 0}}, - {2177, {wxDialog, getReturnCode, 0}}, - {2178, {wxDialog, isModal, 0}}, - {2179, {wxDialog, setAffirmativeId, 1}}, - {2180, {wxDialog, setReturnCode, 1}}, - {2181, {wxDialog, show, 1}}, - {2182, {wxDialog, showModal, 0}}, - {2183, {wxColourDialog, new_0, 0}}, - {2184, {wxColourDialog, new_2, 2}}, - {2185, {wxColourDialog, destruct, 0}}, - {2186, {wxColourDialog, create, 2}}, - {2187, {wxColourDialog, getColourData, 0}}, - {2188, {wxColourData, new_0, 0}}, - {2189, {wxColourData, new_1, 1}}, - {2190, {wxColourData, destruct, 0}}, - {2191, {wxColourData, getChooseFull, 0}}, - {2192, {wxColourData, getColour, 0}}, - {2194, {wxColourData, getCustomColour, 1}}, - {2195, {wxColourData, setChooseFull, 1}}, - {2196, {wxColourData, setColour, 1}}, - {2197, {wxColourData, setCustomColour, 2}}, - {2198, {wxPalette, new_0, 0}}, - {2199, {wxPalette, new_4, 4}}, - {2201, {wxPalette, destruct, 0}}, - {2202, {wxPalette, create, 4}}, - {2203, {wxPalette, getColoursCount, 0}}, - {2204, {wxPalette, getPixel, 3}}, - {2205, {wxPalette, getRGB, 4}}, - {2206, {wxPalette, isOk, 0}}, - {2210, {wxDirDialog, new, 2}}, - {2211, {wxDirDialog, destruct, 0}}, - {2212, {wxDirDialog, getPath, 0}}, - {2213, {wxDirDialog, getMessage, 0}}, - {2214, {wxDirDialog, setMessage, 1}}, - {2215, {wxDirDialog, setPath, 1}}, - {2219, {wxFileDialog, new, 2}}, - {2220, {wxFileDialog, destruct, 0}}, - {2221, {wxFileDialog, getDirectory, 0}}, - {2222, {wxFileDialog, getFilename, 0}}, - {2223, {wxFileDialog, getFilenames, 1}}, - {2224, {wxFileDialog, getFilterIndex, 0}}, - {2225, {wxFileDialog, getMessage, 0}}, - {2226, {wxFileDialog, getPath, 0}}, - {2227, {wxFileDialog, getPaths, 1}}, - {2228, {wxFileDialog, getWildcard, 0}}, - {2229, {wxFileDialog, setDirectory, 1}}, - {2230, {wxFileDialog, setFilename, 1}}, - {2231, {wxFileDialog, setFilterIndex, 1}}, - {2232, {wxFileDialog, setMessage, 1}}, - {2233, {wxFileDialog, setPath, 1}}, - {2234, {wxFileDialog, setWildcard, 1}}, - {2235, {wxPickerBase, setInternalMargin, 1}}, - {2236, {wxPickerBase, getInternalMargin, 0}}, - {2237, {wxPickerBase, setTextCtrlProportion, 1}}, - {2238, {wxPickerBase, setPickerCtrlProportion, 1}}, - {2239, {wxPickerBase, getTextCtrlProportion, 0}}, - {2240, {wxPickerBase, getPickerCtrlProportion, 0}}, - {2241, {wxPickerBase, hasTextCtrl, 0}}, - {2242, {wxPickerBase, getTextCtrl, 0}}, - {2243, {wxPickerBase, isTextCtrlGrowable, 0}}, - {2244, {wxPickerBase, setPickerCtrlGrowable, 1}}, - {2245, {wxPickerBase, setTextCtrlGrowable, 1}}, - {2246, {wxPickerBase, isPickerCtrlGrowable, 0}}, - {2247, {wxFilePickerCtrl, new_0, 0}}, - {2248, {wxFilePickerCtrl, new_3, 3}}, - {2249, {wxFilePickerCtrl, create, 3}}, - {2250, {wxFilePickerCtrl, getPath, 0}}, - {2251, {wxFilePickerCtrl, setPath, 1}}, - {2252, {wxFilePickerCtrl, 'Destroy', undefined}}, - {2253, {wxDirPickerCtrl, new_0, 0}}, - {2254, {wxDirPickerCtrl, new_3, 3}}, - {2255, {wxDirPickerCtrl, create, 3}}, - {2256, {wxDirPickerCtrl, getPath, 0}}, - {2257, {wxDirPickerCtrl, setPath, 1}}, - {2258, {wxDirPickerCtrl, 'Destroy', undefined}}, - {2259, {wxColourPickerCtrl, new_0, 0}}, - {2260, {wxColourPickerCtrl, new_3, 3}}, - {2261, {wxColourPickerCtrl, create, 3}}, - {2262, {wxColourPickerCtrl, getColour, 0}}, - {2263, {wxColourPickerCtrl, setColour_1_1, 1}}, - {2264, {wxColourPickerCtrl, setColour_1_0, 1}}, - {2265, {wxColourPickerCtrl, 'Destroy', undefined}}, - {2266, {wxDatePickerCtrl, new_0, 0}}, - {2267, {wxDatePickerCtrl, new_3, 3}}, - {2268, {wxDatePickerCtrl, getRange, 2}}, - {2269, {wxDatePickerCtrl, getValue, 0}}, - {2270, {wxDatePickerCtrl, setRange, 2}}, - {2271, {wxDatePickerCtrl, setValue, 1}}, - {2272, {wxDatePickerCtrl, 'Destroy', undefined}}, - {2273, {wxFontPickerCtrl, new_0, 0}}, - {2274, {wxFontPickerCtrl, new_3, 3}}, - {2275, {wxFontPickerCtrl, create, 3}}, - {2276, {wxFontPickerCtrl, getSelectedFont, 0}}, - {2277, {wxFontPickerCtrl, setSelectedFont, 1}}, - {2278, {wxFontPickerCtrl, getMaxPointSize, 0}}, - {2279, {wxFontPickerCtrl, setMaxPointSize, 1}}, - {2280, {wxFontPickerCtrl, 'Destroy', undefined}}, - {2283, {wxFindReplaceDialog, new_0, 0}}, - {2284, {wxFindReplaceDialog, new_4, 4}}, - {2285, {wxFindReplaceDialog, destruct, 0}}, - {2286, {wxFindReplaceDialog, create, 4}}, - {2287, {wxFindReplaceDialog, getData, 0}}, - {2288, {wxFindReplaceData, new_0, 0}}, - {2289, {wxFindReplaceData, new_1, 1}}, - {2290, {wxFindReplaceData, getFindString, 0}}, - {2291, {wxFindReplaceData, getReplaceString, 0}}, - {2292, {wxFindReplaceData, getFlags, 0}}, - {2293, {wxFindReplaceData, setFlags, 1}}, - {2294, {wxFindReplaceData, setFindString, 1}}, - {2295, {wxFindReplaceData, setReplaceString, 1}}, - {2296, {wxFindReplaceData, 'Destroy', undefined}}, - {2297, {wxMultiChoiceDialog, new_0, 0}}, - {2299, {wxMultiChoiceDialog, new_5, 5}}, - {2300, {wxMultiChoiceDialog, getSelections, 0}}, - {2301, {wxMultiChoiceDialog, setSelections, 1}}, - {2302, {wxMultiChoiceDialog, 'Destroy', undefined}}, - {2303, {wxSingleChoiceDialog, new_0, 0}}, - {2305, {wxSingleChoiceDialog, new_5, 5}}, - {2306, {wxSingleChoiceDialog, getSelection, 0}}, - {2307, {wxSingleChoiceDialog, getStringSelection, 0}}, - {2308, {wxSingleChoiceDialog, setSelection, 1}}, - {2309, {wxSingleChoiceDialog, 'Destroy', undefined}}, - {2310, {wxTextEntryDialog, new, 3}}, - {2311, {wxTextEntryDialog, getValue, 0}}, - {2312, {wxTextEntryDialog, setValue, 1}}, - {2313, {wxTextEntryDialog, 'Destroy', undefined}}, - {2314, {wxPasswordEntryDialog, new, 3}}, - {2315, {wxPasswordEntryDialog, 'Destroy', undefined}}, - {2316, {wxFontData, new_0, 0}}, - {2317, {wxFontData, new_1, 1}}, - {2318, {wxFontData, destruct, 0}}, - {2319, {wxFontData, enableEffects, 1}}, - {2320, {wxFontData, getAllowSymbols, 0}}, - {2321, {wxFontData, getColour, 0}}, - {2322, {wxFontData, getChosenFont, 0}}, - {2323, {wxFontData, getEnableEffects, 0}}, - {2324, {wxFontData, getInitialFont, 0}}, - {2325, {wxFontData, getShowHelp, 0}}, - {2326, {wxFontData, setAllowSymbols, 1}}, - {2327, {wxFontData, setChosenFont, 1}}, - {2328, {wxFontData, setColour, 1}}, - {2329, {wxFontData, setInitialFont, 1}}, - {2330, {wxFontData, setRange, 2}}, - {2331, {wxFontData, setShowHelp, 1}}, - {2335, {wxFontDialog, new_0, 0}}, - {2337, {wxFontDialog, new_2, 2}}, - {2339, {wxFontDialog, create, 2}}, - {2340, {wxFontDialog, getFontData, 0}}, - {2342, {wxFontDialog, 'Destroy', undefined}}, - {2343, {wxProgressDialog, new, 3}}, - {2344, {wxProgressDialog, destruct, 0}}, - {2345, {wxProgressDialog, resume, 0}}, - {2346, {wxProgressDialog, update_2, 2}}, - {2347, {wxProgressDialog, update_0, 0}}, - {2348, {wxMessageDialog, new, 3}}, - {2349, {wxMessageDialog, destruct, 0}}, - {2350, {wxPageSetupDialog, new, 2}}, - {2351, {wxPageSetupDialog, destruct, 0}}, - {2352, {wxPageSetupDialog, getPageSetupData, 0}}, - {2353, {wxPageSetupDialog, showModal, 0}}, - {2354, {wxPageSetupDialogData, new_0, 0}}, - {2355, {wxPageSetupDialogData, new_1_0, 1}}, - {2356, {wxPageSetupDialogData, new_1_1, 1}}, - {2357, {wxPageSetupDialogData, destruct, 0}}, - {2358, {wxPageSetupDialogData, enableHelp, 1}}, - {2359, {wxPageSetupDialogData, enableMargins, 1}}, - {2360, {wxPageSetupDialogData, enableOrientation, 1}}, - {2361, {wxPageSetupDialogData, enablePaper, 1}}, - {2362, {wxPageSetupDialogData, enablePrinter, 1}}, - {2363, {wxPageSetupDialogData, getDefaultMinMargins, 0}}, - {2364, {wxPageSetupDialogData, getEnableMargins, 0}}, - {2365, {wxPageSetupDialogData, getEnableOrientation, 0}}, - {2366, {wxPageSetupDialogData, getEnablePaper, 0}}, - {2367, {wxPageSetupDialogData, getEnablePrinter, 0}}, - {2368, {wxPageSetupDialogData, getEnableHelp, 0}}, - {2369, {wxPageSetupDialogData, getDefaultInfo, 0}}, - {2370, {wxPageSetupDialogData, getMarginTopLeft, 0}}, - {2371, {wxPageSetupDialogData, getMarginBottomRight, 0}}, - {2372, {wxPageSetupDialogData, getMinMarginTopLeft, 0}}, - {2373, {wxPageSetupDialogData, getMinMarginBottomRight, 0}}, - {2374, {wxPageSetupDialogData, getPaperId, 0}}, - {2375, {wxPageSetupDialogData, getPaperSize, 0}}, - {2377, {wxPageSetupDialogData, getPrintData, 0}}, - {2378, {wxPageSetupDialogData, isOk, 0}}, - {2379, {wxPageSetupDialogData, setDefaultInfo, 1}}, - {2380, {wxPageSetupDialogData, setDefaultMinMargins, 1}}, - {2381, {wxPageSetupDialogData, setMarginTopLeft, 1}}, - {2382, {wxPageSetupDialogData, setMarginBottomRight, 1}}, - {2383, {wxPageSetupDialogData, setMinMarginTopLeft, 1}}, - {2384, {wxPageSetupDialogData, setMinMarginBottomRight, 1}}, - {2385, {wxPageSetupDialogData, setPaperId, 1}}, - {2386, {wxPageSetupDialogData, setPaperSize_1_1, 1}}, - {2387, {wxPageSetupDialogData, setPaperSize_1_0, 1}}, - {2388, {wxPageSetupDialogData, setPrintData, 1}}, - {2389, {wxPrintDialog, new_2_0, 2}}, - {2390, {wxPrintDialog, new_2_1, 2}}, - {2391, {wxPrintDialog, destruct, 0}}, - {2392, {wxPrintDialog, getPrintDialogData, 0}}, - {2393, {wxPrintDialog, getPrintDC, 0}}, - {2394, {wxPrintDialogData, new_0, 0}}, - {2395, {wxPrintDialogData, new_1_1, 1}}, - {2396, {wxPrintDialogData, new_1_0, 1}}, - {2397, {wxPrintDialogData, destruct, 0}}, - {2398, {wxPrintDialogData, enableHelp, 1}}, - {2399, {wxPrintDialogData, enablePageNumbers, 1}}, - {2400, {wxPrintDialogData, enablePrintToFile, 1}}, - {2401, {wxPrintDialogData, enableSelection, 1}}, - {2402, {wxPrintDialogData, getAllPages, 0}}, - {2403, {wxPrintDialogData, getCollate, 0}}, - {2404, {wxPrintDialogData, getFromPage, 0}}, - {2405, {wxPrintDialogData, getMaxPage, 0}}, - {2406, {wxPrintDialogData, getMinPage, 0}}, - {2407, {wxPrintDialogData, getNoCopies, 0}}, - {2408, {wxPrintDialogData, getPrintData, 0}}, - {2409, {wxPrintDialogData, getPrintToFile, 0}}, - {2410, {wxPrintDialogData, getSelection, 0}}, - {2411, {wxPrintDialogData, getToPage, 0}}, - {2412, {wxPrintDialogData, isOk, 0}}, - {2413, {wxPrintDialogData, setCollate, 1}}, - {2414, {wxPrintDialogData, setFromPage, 1}}, - {2415, {wxPrintDialogData, setMaxPage, 1}}, - {2416, {wxPrintDialogData, setMinPage, 1}}, - {2417, {wxPrintDialogData, setNoCopies, 1}}, - {2418, {wxPrintDialogData, setPrintData, 1}}, - {2419, {wxPrintDialogData, setPrintToFile, 1}}, - {2420, {wxPrintDialogData, setSelection, 1}}, - {2421, {wxPrintDialogData, setToPage, 1}}, - {2422, {wxPrintData, new_0, 0}}, - {2423, {wxPrintData, new_1, 1}}, - {2424, {wxPrintData, destruct, 0}}, - {2425, {wxPrintData, getCollate, 0}}, - {2426, {wxPrintData, getBin, 0}}, - {2427, {wxPrintData, getColour, 0}}, - {2428, {wxPrintData, getDuplex, 0}}, - {2429, {wxPrintData, getNoCopies, 0}}, - {2430, {wxPrintData, getOrientation, 0}}, - {2431, {wxPrintData, getPaperId, 0}}, - {2432, {wxPrintData, getPrinterName, 0}}, - {2433, {wxPrintData, getQuality, 0}}, - {2434, {wxPrintData, isOk, 0}}, - {2435, {wxPrintData, setBin, 1}}, - {2436, {wxPrintData, setCollate, 1}}, - {2437, {wxPrintData, setColour, 1}}, - {2438, {wxPrintData, setDuplex, 1}}, - {2439, {wxPrintData, setNoCopies, 1}}, - {2440, {wxPrintData, setOrientation, 1}}, - {2441, {wxPrintData, setPaperId, 1}}, - {2442, {wxPrintData, setPrinterName, 1}}, - {2443, {wxPrintData, setQuality, 1}}, - {2446, {wxPrintPreview, new_2, 2}}, - {2447, {wxPrintPreview, new_3, 3}}, - {2449, {wxPrintPreview, destruct, 0}}, - {2450, {wxPrintPreview, getCanvas, 0}}, - {2451, {wxPrintPreview, getCurrentPage, 0}}, - {2452, {wxPrintPreview, getFrame, 0}}, - {2453, {wxPrintPreview, getMaxPage, 0}}, - {2454, {wxPrintPreview, getMinPage, 0}}, - {2455, {wxPrintPreview, getPrintout, 0}}, - {2456, {wxPrintPreview, getPrintoutForPrinting, 0}}, - {2457, {wxPrintPreview, isOk, 0}}, - {2458, {wxPrintPreview, paintPage, 2}}, - {2459, {wxPrintPreview, print, 1}}, - {2460, {wxPrintPreview, renderPage, 1}}, - {2461, {wxPrintPreview, setCanvas, 1}}, - {2462, {wxPrintPreview, setCurrentPage, 1}}, - {2463, {wxPrintPreview, setFrame, 1}}, - {2464, {wxPrintPreview, setPrintout, 1}}, - {2465, {wxPrintPreview, setZoom, 1}}, - {2466, {wxPreviewFrame, new, 3}}, - {2467, {wxPreviewFrame, destruct, 0}}, - {2468, {wxPreviewFrame, createControlBar, 0}}, - {2469, {wxPreviewFrame, createCanvas, 0}}, - {2470, {wxPreviewFrame, initialize, 0}}, - {2471, {wxPreviewFrame, onCloseWindow, 1}}, - {2472, {wxPreviewControlBar, new, 4}}, - {2473, {wxPreviewControlBar, destruct, 0}}, - {2474, {wxPreviewControlBar, createButtons, 0}}, - {2475, {wxPreviewControlBar, getPrintPreview, 0}}, - {2476, {wxPreviewControlBar, getZoomControl, 0}}, - {2477, {wxPreviewControlBar, setZoomControl, 1}}, - {2479, {wxPrinter, new, 1}}, - {2480, {wxPrinter, createAbortWindow, 2}}, - {2481, {wxPrinter, getAbort, 0}}, - {2482, {wxPrinter, getLastError, 0}}, - {2483, {wxPrinter, getPrintDialogData, 0}}, - {2484, {wxPrinter, print, 3}}, - {2485, {wxPrinter, printDialog, 1}}, - {2486, {wxPrinter, reportError, 3}}, - {2487, {wxPrinter, setup, 1}}, - {2488, {wxPrinter, 'Destroy', undefined}}, - {2489, {wxXmlResource, new_1, 1}}, - {2490, {wxXmlResource, new_2, 2}}, - {2491, {wxXmlResource, destruct, 0}}, - {2492, {wxXmlResource, attachUnknownControl, 3}}, - {2493, {wxXmlResource, clearHandlers, 0}}, - {2494, {wxXmlResource, compareVersion, 4}}, - {2495, {wxXmlResource, get, 0}}, - {2496, {wxXmlResource, getFlags, 0}}, - {2497, {wxXmlResource, getVersion, 0}}, - {2498, {wxXmlResource, getXRCID, 2}}, - {2499, {wxXmlResource, initAllHandlers, 0}}, - {2500, {wxXmlResource, load, 1}}, - {2501, {wxXmlResource, loadBitmap, 1}}, - {2502, {wxXmlResource, loadDialog_2, 2}}, - {2503, {wxXmlResource, loadDialog_3, 3}}, - {2504, {wxXmlResource, loadFrame_2, 2}}, - {2505, {wxXmlResource, loadFrame_3, 3}}, - {2506, {wxXmlResource, loadIcon, 1}}, - {2507, {wxXmlResource, loadMenu, 1}}, - {2508, {wxXmlResource, loadMenuBar_2, 2}}, - {2509, {wxXmlResource, loadMenuBar_1, 1}}, - {2510, {wxXmlResource, loadPanel_2, 2}}, - {2511, {wxXmlResource, loadPanel_3, 3}}, - {2512, {wxXmlResource, loadToolBar, 2}}, - {2513, {wxXmlResource, set, 1}}, - {2514, {wxXmlResource, setFlags, 1}}, - {2515, {wxXmlResource, unload, 1}}, - {2516, {wxXmlResource, xrcctrl, 3}}, - {2517, {wxHtmlEasyPrinting, new, 1}}, - {2518, {wxHtmlEasyPrinting, destruct, 0}}, - {2519, {wxHtmlEasyPrinting, getPrintData, 0}}, - {2520, {wxHtmlEasyPrinting, getPageSetupData, 0}}, - {2521, {wxHtmlEasyPrinting, previewFile, 1}}, - {2522, {wxHtmlEasyPrinting, previewText, 2}}, - {2523, {wxHtmlEasyPrinting, printFile, 1}}, - {2524, {wxHtmlEasyPrinting, printText, 2}}, - {2525, {wxHtmlEasyPrinting, pageSetup, 0}}, - {2526, {wxHtmlEasyPrinting, setFonts, 3}}, - {2527, {wxHtmlEasyPrinting, setHeader, 2}}, - {2528, {wxHtmlEasyPrinting, setFooter, 2}}, - {2530, {wxGLCanvas, new_2, 2}}, - {2531, {wxGLCanvas, new_3_1, 3}}, - {2532, {wxGLCanvas, new_3_0, 3}}, - {2533, {wxGLCanvas, getContext, 0}}, - {2535, {wxGLCanvas, setCurrent, 0}}, - {2536, {wxGLCanvas, swapBuffers, 0}}, - {2537, {wxGLCanvas, 'Destroy', undefined}}, - {2538, {wxAuiManager, new, 1}}, - {2539, {wxAuiManager, destruct, 0}}, - {2540, {wxAuiManager, addPane_2_1, 2}}, - {2541, {wxAuiManager, addPane_3, 3}}, - {2542, {wxAuiManager, addPane_2_0, 2}}, - {2543, {wxAuiManager, detachPane, 1}}, - {2544, {wxAuiManager, getAllPanes, 0}}, - {2545, {wxAuiManager, getArtProvider, 0}}, - {2546, {wxAuiManager, getDockSizeConstraint, 2}}, - {2547, {wxAuiManager, getFlags, 0}}, - {2548, {wxAuiManager, getManagedWindow, 0}}, - {2549, {wxAuiManager, getManager, 1}}, - {2550, {wxAuiManager, getPane_1_1, 1}}, - {2551, {wxAuiManager, getPane_1_0, 1}}, - {2552, {wxAuiManager, hideHint, 0}}, - {2553, {wxAuiManager, insertPane, 3}}, - {2554, {wxAuiManager, loadPaneInfo, 2}}, - {2555, {wxAuiManager, loadPerspective, 2}}, - {2556, {wxAuiManager, savePaneInfo, 1}}, - {2557, {wxAuiManager, savePerspective, 0}}, - {2558, {wxAuiManager, setArtProvider, 1}}, - {2559, {wxAuiManager, setDockSizeConstraint, 2}}, - {2560, {wxAuiManager, setFlags, 1}}, - {2561, {wxAuiManager, setManagedWindow, 1}}, - {2562, {wxAuiManager, showHint, 1}}, - {2563, {wxAuiManager, unInit, 0}}, - {2564, {wxAuiManager, update, 0}}, - {2565, {wxAuiPaneInfo, new_0, 0}}, - {2566, {wxAuiPaneInfo, new_1, 1}}, - {2567, {wxAuiPaneInfo, destruct, 0}}, - {2568, {wxAuiPaneInfo, bestSize_1, 1}}, - {2569, {wxAuiPaneInfo, bestSize_2, 2}}, - {2570, {wxAuiPaneInfo, bottom, 0}}, - {2571, {wxAuiPaneInfo, bottomDockable, 1}}, - {2572, {wxAuiPaneInfo, caption, 1}}, - {2573, {wxAuiPaneInfo, captionVisible, 1}}, - {2574, {wxAuiPaneInfo, centre, 0}}, - {2575, {wxAuiPaneInfo, centrePane, 0}}, - {2576, {wxAuiPaneInfo, closeButton, 1}}, - {2577, {wxAuiPaneInfo, defaultPane, 0}}, - {2578, {wxAuiPaneInfo, destroyOnClose, 1}}, - {2579, {wxAuiPaneInfo, direction, 1}}, - {2580, {wxAuiPaneInfo, dock, 0}}, - {2581, {wxAuiPaneInfo, dockable, 1}}, - {2582, {wxAuiPaneInfo, fixed, 0}}, - {2583, {wxAuiPaneInfo, float, 0}}, - {2584, {wxAuiPaneInfo, floatable, 1}}, - {2585, {wxAuiPaneInfo, floatingPosition_1, 1}}, - {2586, {wxAuiPaneInfo, floatingPosition_2, 2}}, - {2587, {wxAuiPaneInfo, floatingSize_1, 1}}, - {2588, {wxAuiPaneInfo, floatingSize_2, 2}}, - {2589, {wxAuiPaneInfo, gripper, 1}}, - {2590, {wxAuiPaneInfo, gripperTop, 1}}, - {2591, {wxAuiPaneInfo, hasBorder, 0}}, - {2592, {wxAuiPaneInfo, hasCaption, 0}}, - {2593, {wxAuiPaneInfo, hasCloseButton, 0}}, - {2594, {wxAuiPaneInfo, hasFlag, 1}}, - {2595, {wxAuiPaneInfo, hasGripper, 0}}, - {2596, {wxAuiPaneInfo, hasGripperTop, 0}}, - {2597, {wxAuiPaneInfo, hasMaximizeButton, 0}}, - {2598, {wxAuiPaneInfo, hasMinimizeButton, 0}}, - {2599, {wxAuiPaneInfo, hasPinButton, 0}}, - {2600, {wxAuiPaneInfo, hide, 0}}, - {2601, {wxAuiPaneInfo, isBottomDockable, 0}}, - {2602, {wxAuiPaneInfo, isDocked, 0}}, - {2603, {wxAuiPaneInfo, isFixed, 0}}, - {2604, {wxAuiPaneInfo, isFloatable, 0}}, - {2605, {wxAuiPaneInfo, isFloating, 0}}, - {2606, {wxAuiPaneInfo, isLeftDockable, 0}}, - {2607, {wxAuiPaneInfo, isMovable, 0}}, - {2608, {wxAuiPaneInfo, isOk, 0}}, - {2609, {wxAuiPaneInfo, isResizable, 0}}, - {2610, {wxAuiPaneInfo, isRightDockable, 0}}, - {2611, {wxAuiPaneInfo, isShown, 0}}, - {2612, {wxAuiPaneInfo, isToolbar, 0}}, - {2613, {wxAuiPaneInfo, isTopDockable, 0}}, - {2614, {wxAuiPaneInfo, layer, 1}}, - {2615, {wxAuiPaneInfo, left, 0}}, - {2616, {wxAuiPaneInfo, leftDockable, 1}}, - {2617, {wxAuiPaneInfo, maxSize_1, 1}}, - {2618, {wxAuiPaneInfo, maxSize_2, 2}}, - {2619, {wxAuiPaneInfo, maximizeButton, 1}}, - {2620, {wxAuiPaneInfo, minSize_1, 1}}, - {2621, {wxAuiPaneInfo, minSize_2, 2}}, - {2622, {wxAuiPaneInfo, minimizeButton, 1}}, - {2623, {wxAuiPaneInfo, movable, 1}}, - {2624, {wxAuiPaneInfo, name, 1}}, - {2625, {wxAuiPaneInfo, paneBorder, 1}}, - {2626, {wxAuiPaneInfo, pinButton, 1}}, - {2627, {wxAuiPaneInfo, position, 1}}, - {2628, {wxAuiPaneInfo, resizable, 1}}, - {2629, {wxAuiPaneInfo, right, 0}}, - {2630, {wxAuiPaneInfo, rightDockable, 1}}, - {2631, {wxAuiPaneInfo, row, 1}}, - {2632, {wxAuiPaneInfo, safeSet, 1}}, - {2633, {wxAuiPaneInfo, setFlag, 2}}, - {2634, {wxAuiPaneInfo, show, 1}}, - {2635, {wxAuiPaneInfo, toolbarPane, 0}}, - {2636, {wxAuiPaneInfo, top, 0}}, - {2637, {wxAuiPaneInfo, topDockable, 1}}, - {2638, {wxAuiPaneInfo, window, 1}}, - {2639, {wxAuiNotebook, new_0, 0}}, - {2640, {wxAuiNotebook, new_2, 2}}, - {2641, {wxAuiNotebook, addPage, 3}}, - {2642, {wxAuiNotebook, create, 2}}, - {2643, {wxAuiNotebook, deletePage, 1}}, - {2644, {wxAuiNotebook, getArtProvider, 0}}, - {2645, {wxAuiNotebook, getPage, 1}}, - {2646, {wxAuiNotebook, getPageBitmap, 1}}, - {2647, {wxAuiNotebook, getPageCount, 0}}, - {2648, {wxAuiNotebook, getPageIndex, 1}}, - {2649, {wxAuiNotebook, getPageText, 1}}, - {2650, {wxAuiNotebook, getSelection, 0}}, - {2651, {wxAuiNotebook, insertPage, 4}}, - {2652, {wxAuiNotebook, removePage, 1}}, - {2653, {wxAuiNotebook, setArtProvider, 1}}, - {2654, {wxAuiNotebook, setFont, 1}}, - {2655, {wxAuiNotebook, setPageBitmap, 2}}, - {2656, {wxAuiNotebook, setPageText, 2}}, - {2657, {wxAuiNotebook, setSelection, 1}}, - {2658, {wxAuiNotebook, setTabCtrlHeight, 1}}, - {2659, {wxAuiNotebook, setUniformBitmapSize, 1}}, - {2660, {wxAuiNotebook, 'Destroy', undefined}}, - {2661, {wxMDIParentFrame, new_0, 0}}, - {2662, {wxMDIParentFrame, new_4, 4}}, - {2663, {wxMDIParentFrame, destruct, 0}}, - {2664, {wxMDIParentFrame, activateNext, 0}}, - {2665, {wxMDIParentFrame, activatePrevious, 0}}, - {2666, {wxMDIParentFrame, arrangeIcons, 0}}, - {2667, {wxMDIParentFrame, cascade, 0}}, - {2668, {wxMDIParentFrame, create, 4}}, - {2669, {wxMDIParentFrame, getActiveChild, 0}}, - {2670, {wxMDIParentFrame, getClientWindow, 0}}, - {2671, {wxMDIParentFrame, tile, 1}}, - {2672, {wxMDIChildFrame, new_0, 0}}, - {2673, {wxMDIChildFrame, new_4, 4}}, - {2674, {wxMDIChildFrame, destruct, 0}}, - {2675, {wxMDIChildFrame, activate, 0}}, - {2676, {wxMDIChildFrame, create, 4}}, - {2677, {wxMDIChildFrame, maximize, 1}}, - {2678, {wxMDIChildFrame, restore, 0}}, - {2679, {wxMDIClientWindow, new_0, 0}}, - {2680, {wxMDIClientWindow, new_2, 2}}, - {2681, {wxMDIClientWindow, destruct, 0}}, - {2682, {wxMDIClientWindow, createClient, 2}}, - {2683, {wxLayoutAlgorithm, new, 0}}, - {2684, {wxLayoutAlgorithm, layoutFrame, 2}}, - {2685, {wxLayoutAlgorithm, layoutMDIFrame, 2}}, - {2686, {wxLayoutAlgorithm, layoutWindow, 2}}, - {2687, {wxLayoutAlgorithm, 'Destroy', undefined}}, - {2688, {wxEvent, getId, 0}}, - {2689, {wxEvent, getSkipped, 0}}, - {2690, {wxEvent, getTimestamp, 0}}, - {2691, {wxEvent, isCommandEvent, 0}}, - {2692, {wxEvent, resumePropagation, 1}}, - {2693, {wxEvent, shouldPropagate, 0}}, - {2694, {wxEvent, skip, 1}}, - {2695, {wxEvent, stopPropagation, 0}}, - {2696, {wxCommandEvent, getClientData, 0}}, - {2697, {wxCommandEvent, getExtraLong, 0}}, - {2698, {wxCommandEvent, getInt, 0}}, - {2699, {wxCommandEvent, getSelection, 0}}, - {2700, {wxCommandEvent, getString, 0}}, - {2701, {wxCommandEvent, isChecked, 0}}, - {2702, {wxCommandEvent, isSelection, 0}}, - {2703, {wxCommandEvent, setInt, 1}}, - {2704, {wxCommandEvent, setString, 1}}, - {2705, {wxScrollEvent, getOrientation, 0}}, - {2706, {wxScrollEvent, getPosition, 0}}, - {2707, {wxScrollWinEvent, getOrientation, 0}}, - {2708, {wxScrollWinEvent, getPosition, 0}}, - {2709, {wxMouseEvent, altDown, 0}}, - {2710, {wxMouseEvent, button, 1}}, - {2711, {wxMouseEvent, buttonDClick, 1}}, - {2712, {wxMouseEvent, buttonDown, 1}}, - {2713, {wxMouseEvent, buttonUp, 1}}, - {2714, {wxMouseEvent, cmdDown, 0}}, - {2715, {wxMouseEvent, controlDown, 0}}, - {2716, {wxMouseEvent, dragging, 0}}, - {2717, {wxMouseEvent, entering, 0}}, - {2718, {wxMouseEvent, getButton, 0}}, - {2721, {wxMouseEvent, getPosition, 0}}, - {2722, {wxMouseEvent, getLogicalPosition, 1}}, - {2723, {wxMouseEvent, getLinesPerAction, 0}}, - {2724, {wxMouseEvent, getWheelRotation, 0}}, - {2725, {wxMouseEvent, getWheelDelta, 0}}, - {2726, {wxMouseEvent, getX, 0}}, - {2727, {wxMouseEvent, getY, 0}}, - {2728, {wxMouseEvent, isButton, 0}}, - {2729, {wxMouseEvent, isPageScroll, 0}}, - {2730, {wxMouseEvent, leaving, 0}}, - {2731, {wxMouseEvent, leftDClick, 0}}, - {2732, {wxMouseEvent, leftDown, 0}}, - {2733, {wxMouseEvent, leftIsDown, 0}}, - {2734, {wxMouseEvent, leftUp, 0}}, - {2735, {wxMouseEvent, metaDown, 0}}, - {2736, {wxMouseEvent, middleDClick, 0}}, - {2737, {wxMouseEvent, middleDown, 0}}, - {2738, {wxMouseEvent, middleIsDown, 0}}, - {2739, {wxMouseEvent, middleUp, 0}}, - {2740, {wxMouseEvent, moving, 0}}, - {2741, {wxMouseEvent, rightDClick, 0}}, - {2742, {wxMouseEvent, rightDown, 0}}, - {2743, {wxMouseEvent, rightIsDown, 0}}, - {2744, {wxMouseEvent, rightUp, 0}}, - {2745, {wxMouseEvent, shiftDown, 0}}, - {2746, {wxSetCursorEvent, getCursor, 0}}, - {2747, {wxSetCursorEvent, getX, 0}}, - {2748, {wxSetCursorEvent, getY, 0}}, - {2749, {wxSetCursorEvent, hasCursor, 0}}, - {2750, {wxSetCursorEvent, setCursor, 1}}, - {2751, {wxKeyEvent, altDown, 0}}, - {2752, {wxKeyEvent, cmdDown, 0}}, - {2753, {wxKeyEvent, controlDown, 0}}, - {2754, {wxKeyEvent, getKeyCode, 0}}, - {2755, {wxKeyEvent, getModifiers, 0}}, - {2758, {wxKeyEvent, getPosition, 0}}, - {2759, {wxKeyEvent, getRawKeyCode, 0}}, - {2760, {wxKeyEvent, getRawKeyFlags, 0}}, - {2761, {wxKeyEvent, getUnicodeKey, 0}}, - {2762, {wxKeyEvent, getX, 0}}, - {2763, {wxKeyEvent, getY, 0}}, - {2764, {wxKeyEvent, hasModifiers, 0}}, - {2765, {wxKeyEvent, metaDown, 0}}, - {2766, {wxKeyEvent, shiftDown, 0}}, - {2767, {wxSizeEvent, getSize, 0}}, - {2768, {wxMoveEvent, getPosition, 0}}, - {2769, {wxEraseEvent, getDC, 0}}, - {2770, {wxFocusEvent, getWindow, 0}}, - {2771, {wxChildFocusEvent, getWindow, 0}}, - {2772, {wxMenuEvent, getMenu, 0}}, - {2773, {wxMenuEvent, getMenuId, 0}}, - {2774, {wxMenuEvent, isPopup, 0}}, - {2775, {wxCloseEvent, canVeto, 0}}, - {2776, {wxCloseEvent, getLoggingOff, 0}}, - {2777, {wxCloseEvent, setCanVeto, 1}}, - {2778, {wxCloseEvent, setLoggingOff, 1}}, - {2779, {wxCloseEvent, veto, 1}}, - {2780, {wxShowEvent, setShow, 1}}, - {2781, {wxShowEvent, getShow, 0}}, - {2782, {wxIconizeEvent, iconized, 0}}, - {2783, {wxJoystickEvent, buttonDown, 1}}, - {2784, {wxJoystickEvent, buttonIsDown, 1}}, - {2785, {wxJoystickEvent, buttonUp, 1}}, - {2786, {wxJoystickEvent, getButtonChange, 0}}, - {2787, {wxJoystickEvent, getButtonState, 0}}, - {2788, {wxJoystickEvent, getJoystick, 0}}, - {2789, {wxJoystickEvent, getPosition, 0}}, - {2790, {wxJoystickEvent, getZPosition, 0}}, - {2791, {wxJoystickEvent, isButton, 0}}, - {2792, {wxJoystickEvent, isMove, 0}}, - {2793, {wxJoystickEvent, isZMove, 0}}, - {2794, {wxUpdateUIEvent, canUpdate, 1}}, - {2795, {wxUpdateUIEvent, check, 1}}, - {2796, {wxUpdateUIEvent, enable, 1}}, - {2797, {wxUpdateUIEvent, show, 1}}, - {2798, {wxUpdateUIEvent, getChecked, 0}}, - {2799, {wxUpdateUIEvent, getEnabled, 0}}, - {2800, {wxUpdateUIEvent, getShown, 0}}, - {2801, {wxUpdateUIEvent, getSetChecked, 0}}, - {2802, {wxUpdateUIEvent, getSetEnabled, 0}}, - {2803, {wxUpdateUIEvent, getSetShown, 0}}, - {2804, {wxUpdateUIEvent, getSetText, 0}}, - {2805, {wxUpdateUIEvent, getText, 0}}, - {2806, {wxUpdateUIEvent, getMode, 0}}, - {2807, {wxUpdateUIEvent, getUpdateInterval, 0}}, - {2808, {wxUpdateUIEvent, resetUpdateTime, 0}}, - {2809, {wxUpdateUIEvent, setMode, 1}}, - {2810, {wxUpdateUIEvent, setText, 1}}, - {2811, {wxUpdateUIEvent, setUpdateInterval, 1}}, - {2812, {wxMouseCaptureChangedEvent, getCapturedWindow, 0}}, - {2813, {wxPaletteChangedEvent, setChangedWindow, 1}}, - {2814, {wxPaletteChangedEvent, getChangedWindow, 0}}, - {2815, {wxQueryNewPaletteEvent, setPaletteRealized, 1}}, - {2816, {wxQueryNewPaletteEvent, getPaletteRealized, 0}}, - {2817, {wxNavigationKeyEvent, getDirection, 0}}, - {2818, {wxNavigationKeyEvent, setDirection, 1}}, - {2819, {wxNavigationKeyEvent, isWindowChange, 0}}, - {2820, {wxNavigationKeyEvent, setWindowChange, 1}}, - {2821, {wxNavigationKeyEvent, isFromTab, 0}}, - {2822, {wxNavigationKeyEvent, setFromTab, 1}}, - {2823, {wxNavigationKeyEvent, getCurrentFocus, 0}}, - {2824, {wxNavigationKeyEvent, setCurrentFocus, 1}}, - {2825, {wxHelpEvent, getOrigin, 0}}, - {2826, {wxHelpEvent, getPosition, 0}}, - {2827, {wxHelpEvent, setOrigin, 1}}, - {2828, {wxHelpEvent, setPosition, 1}}, - {2829, {wxContextMenuEvent, getPosition, 0}}, - {2830, {wxContextMenuEvent, setPosition, 1}}, - {2831, {wxIdleEvent, canSend, 1}}, - {2832, {wxIdleEvent, getMode, 0}}, - {2833, {wxIdleEvent, requestMore, 1}}, - {2834, {wxIdleEvent, moreRequested, 0}}, - {2835, {wxIdleEvent, setMode, 1}}, - {2836, {wxGridEvent, altDown, 0}}, - {2837, {wxGridEvent, controlDown, 0}}, - {2838, {wxGridEvent, getCol, 0}}, - {2839, {wxGridEvent, getPosition, 0}}, - {2840, {wxGridEvent, getRow, 0}}, - {2841, {wxGridEvent, metaDown, 0}}, - {2842, {wxGridEvent, selecting, 0}}, - {2843, {wxGridEvent, shiftDown, 0}}, - {2844, {wxNotifyEvent, allow, 0}}, - {2845, {wxNotifyEvent, isAllowed, 0}}, - {2846, {wxNotifyEvent, veto, 0}}, - {2847, {wxSashEvent, getEdge, 0}}, - {2848, {wxSashEvent, getDragRect, 0}}, - {2849, {wxSashEvent, getDragStatus, 0}}, - {2850, {wxListEvent, getCacheFrom, 0}}, - {2851, {wxListEvent, getCacheTo, 0}}, - {2852, {wxListEvent, getKeyCode, 0}}, - {2853, {wxListEvent, getIndex, 0}}, - {2854, {wxListEvent, getColumn, 0}}, - {2855, {wxListEvent, getPoint, 0}}, - {2856, {wxListEvent, getLabel, 0}}, - {2857, {wxListEvent, getText, 0}}, - {2858, {wxListEvent, getImage, 0}}, - {2859, {wxListEvent, getData, 0}}, - {2860, {wxListEvent, getMask, 0}}, - {2861, {wxListEvent, getItem, 0}}, - {2862, {wxListEvent, isEditCancelled, 0}}, - {2863, {wxDateEvent, getDate, 0}}, - {2864, {wxCalendarEvent, getWeekDay, 0}}, - {2865, {wxFileDirPickerEvent, getPath, 0}}, - {2866, {wxColourPickerEvent, getColour, 0}}, - {2867, {wxFontPickerEvent, getFont, 0}}, - {2868, {wxStyledTextEvent, getPosition, 0}}, - {2869, {wxStyledTextEvent, getKey, 0}}, - {2870, {wxStyledTextEvent, getModifiers, 0}}, - {2871, {wxStyledTextEvent, getModificationType, 0}}, - {2872, {wxStyledTextEvent, getText, 0}}, - {2873, {wxStyledTextEvent, getLength, 0}}, - {2874, {wxStyledTextEvent, getLinesAdded, 0}}, - {2875, {wxStyledTextEvent, getLine, 0}}, - {2876, {wxStyledTextEvent, getFoldLevelNow, 0}}, - {2877, {wxStyledTextEvent, getFoldLevelPrev, 0}}, - {2878, {wxStyledTextEvent, getMargin, 0}}, - {2879, {wxStyledTextEvent, getMessage, 0}}, - {2880, {wxStyledTextEvent, getWParam, 0}}, - {2881, {wxStyledTextEvent, getLParam, 0}}, - {2882, {wxStyledTextEvent, getListType, 0}}, - {2883, {wxStyledTextEvent, getX, 0}}, - {2884, {wxStyledTextEvent, getY, 0}}, - {2885, {wxStyledTextEvent, getDragText, 0}}, - {2886, {wxStyledTextEvent, getDragAllowMove, 0}}, - {2887, {wxStyledTextEvent, getDragResult, 0}}, - {2888, {wxStyledTextEvent, getShift, 0}}, - {2889, {wxStyledTextEvent, getControl, 0}}, - {2890, {wxStyledTextEvent, getAlt, 0}}, - {2891, {utils, getKeyState, 1}}, - {2892, {utils, getMousePosition, 2}}, - {2893, {utils, getMouseState, 0}}, - {2894, {utils, setDetectableAutoRepeat, 1}}, - {2895, {utils, bell, 0}}, - {2896, {utils, findMenuItemId, 3}}, - {2897, {utils, genericFindWindowAtPoint, 1}}, - {2898, {utils, findWindowAtPoint, 1}}, - {2899, {utils, beginBusyCursor, 1}}, - {2900, {utils, endBusyCursor, 0}}, - {2901, {utils, isBusy, 0}}, - {2902, {utils, shutdown, 1}}, - {2903, {utils, shell, 1}}, - {2904, {utils, launchDefaultBrowser, 2}}, - {2905, {utils, getEmailAddress, 0}}, - {2906, {utils, getUserId, 0}}, - {2907, {utils, getHomeDir, 0}}, - {2908, {utils, newId, 0}}, - {2909, {utils, registerId, 1}}, - {2910, {utils, getCurrentId, 0}}, - {2911, {utils, getOsDescription, 0}}, - {2912, {utils, isPlatformLittleEndian, 0}}, - {2913, {utils, isPlatform64Bit, 0}}, - {2914, {wxPrintout, new, 1}}, - {2915, {wxPrintout, destruct, 0}}, - {2916, {wxPrintout, getDC, 0}}, - {2917, {wxPrintout, getPageSizeMM, 2}}, - {2918, {wxPrintout, getPageSizePixels, 2}}, - {2919, {wxPrintout, getPaperRectPixels, 0}}, - {2920, {wxPrintout, getPPIPrinter, 2}}, - {2921, {wxPrintout, getPPIScreen, 2}}, - {2922, {wxPrintout, getTitle, 0}}, - {2923, {wxPrintout, isPreview, 0}}, - {2924, {wxPrintout, fitThisSizeToPaper, 1}}, - {2925, {wxPrintout, fitThisSizeToPage, 1}}, - {2926, {wxPrintout, fitThisSizeToPageMargins, 2}}, - {2927, {wxPrintout, mapScreenSizeToPaper, 0}}, - {2928, {wxPrintout, mapScreenSizeToPage, 0}}, - {2929, {wxPrintout, mapScreenSizeToPageMargins, 1}}, - {2930, {wxPrintout, mapScreenSizeToDevice, 0}}, - {2931, {wxPrintout, getLogicalPaperRect, 0}}, - {2932, {wxPrintout, getLogicalPageRect, 0}}, - {2933, {wxPrintout, getLogicalPageMarginsRect, 1}}, - {2934, {wxPrintout, setLogicalOrigin, 2}}, - {2935, {wxPrintout, offsetLogicalOrigin, 2}}, - {2936, {wxStyledTextCtrl, new_2, 2}}, - {2937, {wxStyledTextCtrl, new_0, 0}}, - {2938, {wxStyledTextCtrl, destruct, 0}}, - {2939, {wxStyledTextCtrl, create, 2}}, - {2940, {wxStyledTextCtrl, addText, 1}}, - {2941, {wxStyledTextCtrl, addStyledText, 1}}, - {2942, {wxStyledTextCtrl, insertText, 2}}, - {2943, {wxStyledTextCtrl, clearAll, 0}}, - {2944, {wxStyledTextCtrl, clearDocumentStyle, 0}}, - {2945, {wxStyledTextCtrl, getLength, 0}}, - {2946, {wxStyledTextCtrl, getCharAt, 1}}, - {2947, {wxStyledTextCtrl, getCurrentPos, 0}}, - {2948, {wxStyledTextCtrl, getAnchor, 0}}, - {2949, {wxStyledTextCtrl, getStyleAt, 1}}, - {2950, {wxStyledTextCtrl, redo, 0}}, - {2951, {wxStyledTextCtrl, setUndoCollection, 1}}, - {2952, {wxStyledTextCtrl, selectAll, 0}}, - {2953, {wxStyledTextCtrl, setSavePoint, 0}}, - {2954, {wxStyledTextCtrl, getStyledText, 2}}, - {2955, {wxStyledTextCtrl, canRedo, 0}}, - {2956, {wxStyledTextCtrl, markerLineFromHandle, 1}}, - {2957, {wxStyledTextCtrl, markerDeleteHandle, 1}}, - {2958, {wxStyledTextCtrl, getUndoCollection, 0}}, - {2959, {wxStyledTextCtrl, getViewWhiteSpace, 0}}, - {2960, {wxStyledTextCtrl, setViewWhiteSpace, 1}}, - {2961, {wxStyledTextCtrl, positionFromPoint, 1}}, - {2962, {wxStyledTextCtrl, positionFromPointClose, 2}}, - {2963, {wxStyledTextCtrl, gotoLine, 1}}, - {2964, {wxStyledTextCtrl, gotoPos, 1}}, - {2965, {wxStyledTextCtrl, setAnchor, 1}}, - {2966, {wxStyledTextCtrl, getCurLine, 1}}, - {2967, {wxStyledTextCtrl, getEndStyled, 0}}, - {2968, {wxStyledTextCtrl, convertEOLs, 1}}, - {2969, {wxStyledTextCtrl, getEOLMode, 0}}, - {2970, {wxStyledTextCtrl, setEOLMode, 1}}, - {2971, {wxStyledTextCtrl, startStyling, 2}}, - {2972, {wxStyledTextCtrl, setStyling, 2}}, - {2973, {wxStyledTextCtrl, getBufferedDraw, 0}}, - {2974, {wxStyledTextCtrl, setBufferedDraw, 1}}, - {2975, {wxStyledTextCtrl, setTabWidth, 1}}, - {2976, {wxStyledTextCtrl, getTabWidth, 0}}, - {2977, {wxStyledTextCtrl, setCodePage, 1}}, - {2978, {wxStyledTextCtrl, markerDefine, 3}}, - {2979, {wxStyledTextCtrl, markerSetForeground, 2}}, - {2980, {wxStyledTextCtrl, markerSetBackground, 2}}, - {2981, {wxStyledTextCtrl, markerAdd, 2}}, - {2982, {wxStyledTextCtrl, markerDelete, 2}}, - {2983, {wxStyledTextCtrl, markerDeleteAll, 1}}, - {2984, {wxStyledTextCtrl, markerGet, 1}}, - {2985, {wxStyledTextCtrl, markerNext, 2}}, - {2986, {wxStyledTextCtrl, markerPrevious, 2}}, - {2987, {wxStyledTextCtrl, markerDefineBitmap, 2}}, - {2988, {wxStyledTextCtrl, markerAddSet, 2}}, - {2989, {wxStyledTextCtrl, markerSetAlpha, 2}}, - {2990, {wxStyledTextCtrl, setMarginType, 2}}, - {2991, {wxStyledTextCtrl, getMarginType, 1}}, - {2992, {wxStyledTextCtrl, setMarginWidth, 2}}, - {2993, {wxStyledTextCtrl, getMarginWidth, 1}}, - {2994, {wxStyledTextCtrl, setMarginMask, 2}}, - {2995, {wxStyledTextCtrl, getMarginMask, 1}}, - {2996, {wxStyledTextCtrl, setMarginSensitive, 2}}, - {2997, {wxStyledTextCtrl, getMarginSensitive, 1}}, - {2998, {wxStyledTextCtrl, styleClearAll, 0}}, - {2999, {wxStyledTextCtrl, styleSetForeground, 2}}, - {3000, {wxStyledTextCtrl, styleSetBackground, 2}}, - {3001, {wxStyledTextCtrl, styleSetBold, 2}}, - {3002, {wxStyledTextCtrl, styleSetItalic, 2}}, - {3003, {wxStyledTextCtrl, styleSetSize, 2}}, - {3004, {wxStyledTextCtrl, styleSetFaceName, 2}}, - {3005, {wxStyledTextCtrl, styleSetEOLFilled, 2}}, - {3006, {wxStyledTextCtrl, styleResetDefault, 0}}, - {3007, {wxStyledTextCtrl, styleSetUnderline, 2}}, - {3008, {wxStyledTextCtrl, styleSetCase, 2}}, - {3009, {wxStyledTextCtrl, styleSetHotSpot, 2}}, - {3010, {wxStyledTextCtrl, setSelForeground, 2}}, - {3011, {wxStyledTextCtrl, setSelBackground, 2}}, - {3012, {wxStyledTextCtrl, getSelAlpha, 0}}, - {3013, {wxStyledTextCtrl, setSelAlpha, 1}}, - {3014, {wxStyledTextCtrl, setCaretForeground, 1}}, - {3015, {wxStyledTextCtrl, cmdKeyAssign, 3}}, - {3016, {wxStyledTextCtrl, cmdKeyClear, 2}}, - {3017, {wxStyledTextCtrl, cmdKeyClearAll, 0}}, - {3018, {wxStyledTextCtrl, setStyleBytes, 2}}, - {3019, {wxStyledTextCtrl, styleSetVisible, 2}}, - {3020, {wxStyledTextCtrl, getCaretPeriod, 0}}, - {3021, {wxStyledTextCtrl, setCaretPeriod, 1}}, - {3022, {wxStyledTextCtrl, setWordChars, 1}}, - {3023, {wxStyledTextCtrl, beginUndoAction, 0}}, - {3024, {wxStyledTextCtrl, endUndoAction, 0}}, - {3025, {wxStyledTextCtrl, indicatorSetStyle, 2}}, - {3026, {wxStyledTextCtrl, indicatorGetStyle, 1}}, - {3027, {wxStyledTextCtrl, indicatorSetForeground, 2}}, - {3028, {wxStyledTextCtrl, indicatorGetForeground, 1}}, - {3029, {wxStyledTextCtrl, setWhitespaceForeground, 2}}, - {3030, {wxStyledTextCtrl, setWhitespaceBackground, 2}}, - {3031, {wxStyledTextCtrl, getStyleBits, 0}}, - {3032, {wxStyledTextCtrl, setLineState, 2}}, - {3033, {wxStyledTextCtrl, getLineState, 1}}, - {3034, {wxStyledTextCtrl, getMaxLineState, 0}}, - {3035, {wxStyledTextCtrl, getCaretLineVisible, 0}}, - {3036, {wxStyledTextCtrl, setCaretLineVisible, 1}}, - {3037, {wxStyledTextCtrl, getCaretLineBackground, 0}}, - {3038, {wxStyledTextCtrl, setCaretLineBackground, 1}}, - {3039, {wxStyledTextCtrl, autoCompShow, 2}}, - {3040, {wxStyledTextCtrl, autoCompCancel, 0}}, - {3041, {wxStyledTextCtrl, autoCompActive, 0}}, - {3042, {wxStyledTextCtrl, autoCompPosStart, 0}}, - {3043, {wxStyledTextCtrl, autoCompComplete, 0}}, - {3044, {wxStyledTextCtrl, autoCompStops, 1}}, - {3045, {wxStyledTextCtrl, autoCompSetSeparator, 1}}, - {3046, {wxStyledTextCtrl, autoCompGetSeparator, 0}}, - {3047, {wxStyledTextCtrl, autoCompSelect, 1}}, - {3048, {wxStyledTextCtrl, autoCompSetCancelAtStart, 1}}, - {3049, {wxStyledTextCtrl, autoCompGetCancelAtStart, 0}}, - {3050, {wxStyledTextCtrl, autoCompSetFillUps, 1}}, - {3051, {wxStyledTextCtrl, autoCompSetChooseSingle, 1}}, - {3052, {wxStyledTextCtrl, autoCompGetChooseSingle, 0}}, - {3053, {wxStyledTextCtrl, autoCompSetIgnoreCase, 1}}, - {3054, {wxStyledTextCtrl, autoCompGetIgnoreCase, 0}}, - {3055, {wxStyledTextCtrl, userListShow, 2}}, - {3056, {wxStyledTextCtrl, autoCompSetAutoHide, 1}}, - {3057, {wxStyledTextCtrl, autoCompGetAutoHide, 0}}, - {3058, {wxStyledTextCtrl, autoCompSetDropRestOfWord, 1}}, - {3059, {wxStyledTextCtrl, autoCompGetDropRestOfWord, 0}}, - {3060, {wxStyledTextCtrl, registerImage, 2}}, - {3061, {wxStyledTextCtrl, clearRegisteredImages, 0}}, - {3062, {wxStyledTextCtrl, autoCompGetTypeSeparator, 0}}, - {3063, {wxStyledTextCtrl, autoCompSetTypeSeparator, 1}}, - {3064, {wxStyledTextCtrl, autoCompSetMaxWidth, 1}}, - {3065, {wxStyledTextCtrl, autoCompGetMaxWidth, 0}}, - {3066, {wxStyledTextCtrl, autoCompSetMaxHeight, 1}}, - {3067, {wxStyledTextCtrl, autoCompGetMaxHeight, 0}}, - {3068, {wxStyledTextCtrl, setIndent, 1}}, - {3069, {wxStyledTextCtrl, getIndent, 0}}, - {3070, {wxStyledTextCtrl, setUseTabs, 1}}, - {3071, {wxStyledTextCtrl, getUseTabs, 0}}, - {3072, {wxStyledTextCtrl, setLineIndentation, 2}}, - {3073, {wxStyledTextCtrl, getLineIndentation, 1}}, - {3074, {wxStyledTextCtrl, getLineIndentPosition, 1}}, - {3075, {wxStyledTextCtrl, getColumn, 1}}, - {3076, {wxStyledTextCtrl, setUseHorizontalScrollBar, 1}}, - {3077, {wxStyledTextCtrl, getUseHorizontalScrollBar, 0}}, - {3078, {wxStyledTextCtrl, setIndentationGuides, 1}}, - {3079, {wxStyledTextCtrl, getIndentationGuides, 0}}, - {3080, {wxStyledTextCtrl, setHighlightGuide, 1}}, - {3081, {wxStyledTextCtrl, getHighlightGuide, 0}}, - {3082, {wxStyledTextCtrl, getLineEndPosition, 1}}, - {3083, {wxStyledTextCtrl, getCodePage, 0}}, - {3084, {wxStyledTextCtrl, getCaretForeground, 0}}, - {3085, {wxStyledTextCtrl, getReadOnly, 0}}, - {3086, {wxStyledTextCtrl, setCurrentPos, 1}}, - {3087, {wxStyledTextCtrl, setSelectionStart, 1}}, - {3088, {wxStyledTextCtrl, getSelectionStart, 0}}, - {3089, {wxStyledTextCtrl, setSelectionEnd, 1}}, - {3090, {wxStyledTextCtrl, getSelectionEnd, 0}}, - {3091, {wxStyledTextCtrl, setPrintMagnification, 1}}, - {3092, {wxStyledTextCtrl, getPrintMagnification, 0}}, - {3093, {wxStyledTextCtrl, setPrintColourMode, 1}}, - {3094, {wxStyledTextCtrl, getPrintColourMode, 0}}, - {3095, {wxStyledTextCtrl, findText, 4}}, - {3096, {wxStyledTextCtrl, formatRange, 7}}, - {3097, {wxStyledTextCtrl, getFirstVisibleLine, 0}}, - {3098, {wxStyledTextCtrl, getLine, 1}}, - {3099, {wxStyledTextCtrl, getLineCount, 0}}, - {3100, {wxStyledTextCtrl, setMarginLeft, 1}}, - {3101, {wxStyledTextCtrl, getMarginLeft, 0}}, - {3102, {wxStyledTextCtrl, setMarginRight, 1}}, - {3103, {wxStyledTextCtrl, getMarginRight, 0}}, - {3104, {wxStyledTextCtrl, getModify, 0}}, - {3105, {wxStyledTextCtrl, setSelection, 2}}, - {3106, {wxStyledTextCtrl, getSelectedText, 0}}, - {3107, {wxStyledTextCtrl, getTextRange, 2}}, - {3108, {wxStyledTextCtrl, hideSelection, 1}}, - {3109, {wxStyledTextCtrl, lineFromPosition, 1}}, - {3110, {wxStyledTextCtrl, positionFromLine, 1}}, - {3111, {wxStyledTextCtrl, lineScroll, 2}}, - {3112, {wxStyledTextCtrl, ensureCaretVisible, 0}}, - {3113, {wxStyledTextCtrl, replaceSelection, 1}}, - {3114, {wxStyledTextCtrl, setReadOnly, 1}}, - {3115, {wxStyledTextCtrl, canPaste, 0}}, - {3116, {wxStyledTextCtrl, canUndo, 0}}, - {3117, {wxStyledTextCtrl, emptyUndoBuffer, 0}}, - {3118, {wxStyledTextCtrl, undo, 0}}, - {3119, {wxStyledTextCtrl, cut, 0}}, - {3120, {wxStyledTextCtrl, copy, 0}}, - {3121, {wxStyledTextCtrl, paste, 0}}, - {3122, {wxStyledTextCtrl, clear, 0}}, - {3123, {wxStyledTextCtrl, setText, 1}}, - {3124, {wxStyledTextCtrl, getText, 0}}, - {3125, {wxStyledTextCtrl, getTextLength, 0}}, - {3126, {wxStyledTextCtrl, getOvertype, 0}}, - {3127, {wxStyledTextCtrl, setCaretWidth, 1}}, - {3128, {wxStyledTextCtrl, getCaretWidth, 0}}, - {3129, {wxStyledTextCtrl, setTargetStart, 1}}, - {3130, {wxStyledTextCtrl, getTargetStart, 0}}, - {3131, {wxStyledTextCtrl, setTargetEnd, 1}}, - {3132, {wxStyledTextCtrl, getTargetEnd, 0}}, - {3133, {wxStyledTextCtrl, replaceTarget, 1}}, - {3134, {wxStyledTextCtrl, searchInTarget, 1}}, - {3135, {wxStyledTextCtrl, setSearchFlags, 1}}, - {3136, {wxStyledTextCtrl, getSearchFlags, 0}}, - {3137, {wxStyledTextCtrl, callTipShow, 2}}, - {3138, {wxStyledTextCtrl, callTipCancel, 0}}, - {3139, {wxStyledTextCtrl, callTipActive, 0}}, - {3140, {wxStyledTextCtrl, callTipPosAtStart, 0}}, - {3141, {wxStyledTextCtrl, callTipSetHighlight, 2}}, - {3142, {wxStyledTextCtrl, callTipSetBackground, 1}}, - {3143, {wxStyledTextCtrl, callTipSetForeground, 1}}, - {3144, {wxStyledTextCtrl, callTipSetForegroundHighlight, 1}}, - {3145, {wxStyledTextCtrl, callTipUseStyle, 1}}, - {3146, {wxStyledTextCtrl, visibleFromDocLine, 1}}, - {3147, {wxStyledTextCtrl, docLineFromVisible, 1}}, - {3148, {wxStyledTextCtrl, wrapCount, 1}}, - {3149, {wxStyledTextCtrl, setFoldLevel, 2}}, - {3150, {wxStyledTextCtrl, getFoldLevel, 1}}, - {3151, {wxStyledTextCtrl, getLastChild, 2}}, - {3152, {wxStyledTextCtrl, getFoldParent, 1}}, - {3153, {wxStyledTextCtrl, showLines, 2}}, - {3154, {wxStyledTextCtrl, hideLines, 2}}, - {3155, {wxStyledTextCtrl, getLineVisible, 1}}, - {3156, {wxStyledTextCtrl, setFoldExpanded, 2}}, - {3157, {wxStyledTextCtrl, getFoldExpanded, 1}}, - {3158, {wxStyledTextCtrl, toggleFold, 1}}, - {3159, {wxStyledTextCtrl, ensureVisible, 1}}, - {3160, {wxStyledTextCtrl, setFoldFlags, 1}}, - {3161, {wxStyledTextCtrl, ensureVisibleEnforcePolicy, 1}}, - {3162, {wxStyledTextCtrl, setTabIndents, 1}}, - {3163, {wxStyledTextCtrl, getTabIndents, 0}}, - {3164, {wxStyledTextCtrl, setBackSpaceUnIndents, 1}}, - {3165, {wxStyledTextCtrl, getBackSpaceUnIndents, 0}}, - {3166, {wxStyledTextCtrl, setMouseDwellTime, 1}}, - {3167, {wxStyledTextCtrl, getMouseDwellTime, 0}}, - {3168, {wxStyledTextCtrl, wordStartPosition, 2}}, - {3169, {wxStyledTextCtrl, wordEndPosition, 2}}, - {3170, {wxStyledTextCtrl, setWrapMode, 1}}, - {3171, {wxStyledTextCtrl, getWrapMode, 0}}, - {3172, {wxStyledTextCtrl, setWrapVisualFlags, 1}}, - {3173, {wxStyledTextCtrl, getWrapVisualFlags, 0}}, - {3174, {wxStyledTextCtrl, setWrapVisualFlagsLocation, 1}}, - {3175, {wxStyledTextCtrl, getWrapVisualFlagsLocation, 0}}, - {3176, {wxStyledTextCtrl, setWrapStartIndent, 1}}, - {3177, {wxStyledTextCtrl, getWrapStartIndent, 0}}, - {3178, {wxStyledTextCtrl, setLayoutCache, 1}}, - {3179, {wxStyledTextCtrl, getLayoutCache, 0}}, - {3180, {wxStyledTextCtrl, setScrollWidth, 1}}, - {3181, {wxStyledTextCtrl, getScrollWidth, 0}}, - {3182, {wxStyledTextCtrl, textWidth, 2}}, - {3183, {wxStyledTextCtrl, getEndAtLastLine, 0}}, - {3184, {wxStyledTextCtrl, textHeight, 1}}, - {3185, {wxStyledTextCtrl, setUseVerticalScrollBar, 1}}, - {3186, {wxStyledTextCtrl, getUseVerticalScrollBar, 0}}, - {3187, {wxStyledTextCtrl, appendText, 1}}, - {3188, {wxStyledTextCtrl, getTwoPhaseDraw, 0}}, - {3189, {wxStyledTextCtrl, setTwoPhaseDraw, 1}}, - {3190, {wxStyledTextCtrl, targetFromSelection, 0}}, - {3191, {wxStyledTextCtrl, linesJoin, 0}}, - {3192, {wxStyledTextCtrl, linesSplit, 1}}, - {3193, {wxStyledTextCtrl, setFoldMarginColour, 2}}, - {3194, {wxStyledTextCtrl, setFoldMarginHiColour, 2}}, - {3195, {wxStyledTextCtrl, lineDown, 0}}, - {3196, {wxStyledTextCtrl, lineDownExtend, 0}}, - {3197, {wxStyledTextCtrl, lineUp, 0}}, - {3198, {wxStyledTextCtrl, lineUpExtend, 0}}, - {3199, {wxStyledTextCtrl, charLeft, 0}}, - {3200, {wxStyledTextCtrl, charLeftExtend, 0}}, - {3201, {wxStyledTextCtrl, charRight, 0}}, - {3202, {wxStyledTextCtrl, charRightExtend, 0}}, - {3203, {wxStyledTextCtrl, wordLeft, 0}}, - {3204, {wxStyledTextCtrl, wordLeftExtend, 0}}, - {3205, {wxStyledTextCtrl, wordRight, 0}}, - {3206, {wxStyledTextCtrl, wordRightExtend, 0}}, - {3207, {wxStyledTextCtrl, home, 0}}, - {3208, {wxStyledTextCtrl, homeExtend, 0}}, - {3209, {wxStyledTextCtrl, lineEnd, 0}}, - {3210, {wxStyledTextCtrl, lineEndExtend, 0}}, - {3211, {wxStyledTextCtrl, documentStart, 0}}, - {3212, {wxStyledTextCtrl, documentStartExtend, 0}}, - {3213, {wxStyledTextCtrl, documentEnd, 0}}, - {3214, {wxStyledTextCtrl, documentEndExtend, 0}}, - {3215, {wxStyledTextCtrl, pageUp, 0}}, - {3216, {wxStyledTextCtrl, pageUpExtend, 0}}, - {3217, {wxStyledTextCtrl, pageDown, 0}}, - {3218, {wxStyledTextCtrl, pageDownExtend, 0}}, - {3219, {wxStyledTextCtrl, editToggleOvertype, 0}}, - {3220, {wxStyledTextCtrl, cancel, 0}}, - {3221, {wxStyledTextCtrl, deleteBack, 0}}, - {3222, {wxStyledTextCtrl, tab, 0}}, - {3223, {wxStyledTextCtrl, backTab, 0}}, - {3224, {wxStyledTextCtrl, newLine, 0}}, - {3225, {wxStyledTextCtrl, formFeed, 0}}, - {3226, {wxStyledTextCtrl, vCHome, 0}}, - {3227, {wxStyledTextCtrl, vCHomeExtend, 0}}, - {3228, {wxStyledTextCtrl, zoomIn, 0}}, - {3229, {wxStyledTextCtrl, zoomOut, 0}}, - {3230, {wxStyledTextCtrl, delWordLeft, 0}}, - {3231, {wxStyledTextCtrl, delWordRight, 0}}, - {3232, {wxStyledTextCtrl, lineCut, 0}}, - {3233, {wxStyledTextCtrl, lineDelete, 0}}, - {3234, {wxStyledTextCtrl, lineTranspose, 0}}, - {3235, {wxStyledTextCtrl, lineDuplicate, 0}}, - {3236, {wxStyledTextCtrl, lowerCase, 0}}, - {3237, {wxStyledTextCtrl, upperCase, 0}}, - {3238, {wxStyledTextCtrl, lineScrollDown, 0}}, - {3239, {wxStyledTextCtrl, lineScrollUp, 0}}, - {3240, {wxStyledTextCtrl, deleteBackNotLine, 0}}, - {3241, {wxStyledTextCtrl, homeDisplay, 0}}, - {3242, {wxStyledTextCtrl, homeDisplayExtend, 0}}, - {3243, {wxStyledTextCtrl, lineEndDisplay, 0}}, - {3244, {wxStyledTextCtrl, lineEndDisplayExtend, 0}}, - {3245, {wxStyledTextCtrl, homeWrapExtend, 0}}, - {3246, {wxStyledTextCtrl, lineEndWrap, 0}}, - {3247, {wxStyledTextCtrl, lineEndWrapExtend, 0}}, - {3248, {wxStyledTextCtrl, vCHomeWrap, 0}}, - {3249, {wxStyledTextCtrl, vCHomeWrapExtend, 0}}, - {3250, {wxStyledTextCtrl, lineCopy, 0}}, - {3251, {wxStyledTextCtrl, moveCaretInsideView, 0}}, - {3252, {wxStyledTextCtrl, lineLength, 1}}, - {3253, {wxStyledTextCtrl, braceHighlight, 2}}, - {3254, {wxStyledTextCtrl, braceBadLight, 1}}, - {3255, {wxStyledTextCtrl, braceMatch, 1}}, - {3256, {wxStyledTextCtrl, getViewEOL, 0}}, - {3257, {wxStyledTextCtrl, setViewEOL, 1}}, - {3258, {wxStyledTextCtrl, setModEventMask, 1}}, - {3259, {wxStyledTextCtrl, getEdgeColumn, 0}}, - {3260, {wxStyledTextCtrl, setEdgeColumn, 1}}, - {3261, {wxStyledTextCtrl, getEdgeMode, 0}}, - {3262, {wxStyledTextCtrl, getEdgeColour, 0}}, - {3263, {wxStyledTextCtrl, setEdgeColour, 1}}, - {3264, {wxStyledTextCtrl, searchAnchor, 0}}, - {3265, {wxStyledTextCtrl, searchNext, 2}}, - {3266, {wxStyledTextCtrl, searchPrev, 2}}, - {3267, {wxStyledTextCtrl, linesOnScreen, 0}}, - {3268, {wxStyledTextCtrl, usePopUp, 1}}, - {3269, {wxStyledTextCtrl, selectionIsRectangle, 0}}, - {3270, {wxStyledTextCtrl, setZoom, 1}}, - {3271, {wxStyledTextCtrl, getZoom, 0}}, - {3272, {wxStyledTextCtrl, getModEventMask, 0}}, - {3273, {wxStyledTextCtrl, setSTCFocus, 1}}, - {3274, {wxStyledTextCtrl, getSTCFocus, 0}}, - {3275, {wxStyledTextCtrl, setStatus, 1}}, - {3276, {wxStyledTextCtrl, getStatus, 0}}, - {3277, {wxStyledTextCtrl, setMouseDownCaptures, 1}}, - {3278, {wxStyledTextCtrl, getMouseDownCaptures, 0}}, - {3279, {wxStyledTextCtrl, setSTCCursor, 1}}, - {3280, {wxStyledTextCtrl, getSTCCursor, 0}}, - {3281, {wxStyledTextCtrl, setControlCharSymbol, 1}}, - {3282, {wxStyledTextCtrl, getControlCharSymbol, 0}}, - {3283, {wxStyledTextCtrl, wordPartLeft, 0}}, - {3284, {wxStyledTextCtrl, wordPartLeftExtend, 0}}, - {3285, {wxStyledTextCtrl, wordPartRight, 0}}, - {3286, {wxStyledTextCtrl, wordPartRightExtend, 0}}, - {3287, {wxStyledTextCtrl, setVisiblePolicy, 2}}, - {3288, {wxStyledTextCtrl, delLineLeft, 0}}, - {3289, {wxStyledTextCtrl, delLineRight, 0}}, - {3290, {wxStyledTextCtrl, getXOffset, 0}}, - {3291, {wxStyledTextCtrl, chooseCaretX, 0}}, - {3292, {wxStyledTextCtrl, setXCaretPolicy, 2}}, - {3293, {wxStyledTextCtrl, setYCaretPolicy, 2}}, - {3294, {wxStyledTextCtrl, getPrintWrapMode, 0}}, - {3295, {wxStyledTextCtrl, setHotspotActiveForeground, 2}}, - {3296, {wxStyledTextCtrl, setHotspotActiveBackground, 2}}, - {3297, {wxStyledTextCtrl, setHotspotActiveUnderline, 1}}, - {3298, {wxStyledTextCtrl, setHotspotSingleLine, 1}}, - {3299, {wxStyledTextCtrl, paraDownExtend, 0}}, - {3300, {wxStyledTextCtrl, paraUp, 0}}, - {3301, {wxStyledTextCtrl, paraUpExtend, 0}}, - {3302, {wxStyledTextCtrl, positionBefore, 1}}, - {3303, {wxStyledTextCtrl, positionAfter, 1}}, - {3304, {wxStyledTextCtrl, copyRange, 2}}, - {3305, {wxStyledTextCtrl, copyText, 2}}, - {3306, {wxStyledTextCtrl, setSelectionMode, 1}}, - {3307, {wxStyledTextCtrl, getSelectionMode, 0}}, - {3308, {wxStyledTextCtrl, lineDownRectExtend, 0}}, - {3309, {wxStyledTextCtrl, lineUpRectExtend, 0}}, - {3310, {wxStyledTextCtrl, charLeftRectExtend, 0}}, - {3311, {wxStyledTextCtrl, charRightRectExtend, 0}}, - {3312, {wxStyledTextCtrl, homeRectExtend, 0}}, - {3313, {wxStyledTextCtrl, vCHomeRectExtend, 0}}, - {3314, {wxStyledTextCtrl, lineEndRectExtend, 0}}, - {3315, {wxStyledTextCtrl, pageUpRectExtend, 0}}, - {3316, {wxStyledTextCtrl, pageDownRectExtend, 0}}, - {3317, {wxStyledTextCtrl, stutteredPageUp, 0}}, - {3318, {wxStyledTextCtrl, stutteredPageUpExtend, 0}}, - {3319, {wxStyledTextCtrl, stutteredPageDown, 0}}, - {3320, {wxStyledTextCtrl, stutteredPageDownExtend, 0}}, - {3321, {wxStyledTextCtrl, wordLeftEnd, 0}}, - {3322, {wxStyledTextCtrl, wordLeftEndExtend, 0}}, - {3323, {wxStyledTextCtrl, wordRightEnd, 0}}, - {3324, {wxStyledTextCtrl, wordRightEndExtend, 0}}, - {3325, {wxStyledTextCtrl, setWhitespaceChars, 1}}, - {3326, {wxStyledTextCtrl, setCharsDefault, 0}}, - {3327, {wxStyledTextCtrl, autoCompGetCurrent, 0}}, - {3328, {wxStyledTextCtrl, allocate, 1}}, - {3329, {wxStyledTextCtrl, findColumn, 2}}, - {3330, {wxStyledTextCtrl, getCaretSticky, 0}}, - {3331, {wxStyledTextCtrl, setCaretSticky, 1}}, - {3332, {wxStyledTextCtrl, toggleCaretSticky, 0}}, - {3333, {wxStyledTextCtrl, setPasteConvertEndings, 1}}, - {3334, {wxStyledTextCtrl, getPasteConvertEndings, 0}}, - {3335, {wxStyledTextCtrl, selectionDuplicate, 0}}, - {3336, {wxStyledTextCtrl, setCaretLineBackAlpha, 1}}, - {3337, {wxStyledTextCtrl, getCaretLineBackAlpha, 0}}, - {3338, {wxStyledTextCtrl, startRecord, 0}}, - {3339, {wxStyledTextCtrl, stopRecord, 0}}, - {3340, {wxStyledTextCtrl, setLexer, 1}}, - {3341, {wxStyledTextCtrl, getLexer, 0}}, - {3342, {wxStyledTextCtrl, colourise, 2}}, - {3343, {wxStyledTextCtrl, setProperty, 2}}, - {3344, {wxStyledTextCtrl, setKeyWords, 2}}, - {3345, {wxStyledTextCtrl, setLexerLanguage, 1}}, - {3346, {wxStyledTextCtrl, getProperty, 1}}, - {3347, {wxStyledTextCtrl, getStyleBitsNeeded, 0}}, - {3348, {wxStyledTextCtrl, getCurrentLine, 0}}, - {3349, {wxStyledTextCtrl, styleSetSpec, 2}}, - {3350, {wxStyledTextCtrl, styleSetFont, 2}}, - {3351, {wxStyledTextCtrl, styleSetFontAttr, 7}}, - {3352, {wxStyledTextCtrl, styleSetCharacterSet, 2}}, - {3353, {wxStyledTextCtrl, styleSetFontEncoding, 2}}, - {3354, {wxStyledTextCtrl, cmdKeyExecute, 1}}, - {3355, {wxStyledTextCtrl, setMargins, 2}}, - {3356, {wxStyledTextCtrl, getSelection, 2}}, - {3357, {wxStyledTextCtrl, pointFromPosition, 1}}, - {3358, {wxStyledTextCtrl, scrollToLine, 1}}, - {3359, {wxStyledTextCtrl, scrollToColumn, 1}}, - {3360, {wxStyledTextCtrl, sendMsg, 2}}, - {3361, {wxStyledTextCtrl, setVScrollBar, 1}}, - {3362, {wxStyledTextCtrl, setHScrollBar, 1}}, - {3363, {wxStyledTextCtrl, getLastKeydownProcessed, 0}}, - {3364, {wxStyledTextCtrl, setLastKeydownProcessed, 1}}, - {3365, {wxStyledTextCtrl, saveFile, 1}}, - {3366, {wxStyledTextCtrl, loadFile, 1}}, - {3367, {wxStyledTextCtrl, doDragOver, 3}}, - {3368, {wxStyledTextCtrl, doDropText, 3}}, - {3369, {wxStyledTextCtrl, getUseAntiAliasing, 0}}, - {3370, {wxStyledTextCtrl, addTextRaw, 1}}, - {3371, {wxStyledTextCtrl, insertTextRaw, 2}}, - {3372, {wxStyledTextCtrl, getCurLineRaw, 1}}, - {3373, {wxStyledTextCtrl, getLineRaw, 1}}, - {3374, {wxStyledTextCtrl, getSelectedTextRaw, 0}}, - {3375, {wxStyledTextCtrl, getTextRangeRaw, 2}}, - {3376, {wxStyledTextCtrl, setTextRaw, 1}}, - {3377, {wxStyledTextCtrl, getTextRaw, 0}}, - {3378, {wxStyledTextCtrl, appendTextRaw, 1}}, - {3379, {wxArtProvider, getBitmap, 2}}, - {3380, {wxArtProvider, getIcon, 2}}, - {3381, {wxTreeEvent, getKeyCode, 0}}, - {3382, {wxTreeEvent, getItem, 0}}, - {3383, {wxTreeEvent, getKeyEvent, 0}}, - {3384, {wxTreeEvent, getLabel, 0}}, - {3385, {wxTreeEvent, getOldItem, 0}}, - {3386, {wxTreeEvent, getPoint, 0}}, - {3387, {wxTreeEvent, isEditCancelled, 0}}, - {3388, {wxTreeEvent, setToolTip, 1}}, - {3389, {wxNotebookEvent, getOldSelection, 0}}, - {3390, {wxNotebookEvent, getSelection, 0}}, - {3391, {wxNotebookEvent, setOldSelection, 1}}, - {3392, {wxNotebookEvent, setSelection, 1}}, - {3393, {wxFileDataObject, new, 0}}, - {3394, {wxFileDataObject, addFile, 1}}, - {3395, {wxFileDataObject, getFilenames, 0}}, - {3396, {wxFileDataObject, 'Destroy', undefined}}, - {3397, {wxTextDataObject, new, 1}}, - {3398, {wxTextDataObject, getTextLength, 0}}, - {3399, {wxTextDataObject, getText, 0}}, - {3400, {wxTextDataObject, setText, 1}}, - {3401, {wxTextDataObject, 'Destroy', undefined}}, - {3402, {wxBitmapDataObject, new_1_1, 1}}, - {3403, {wxBitmapDataObject, new_1_0, 1}}, - {3404, {wxBitmapDataObject, getBitmap, 0}}, - {3405, {wxBitmapDataObject, setBitmap, 1}}, - {3406, {wxBitmapDataObject, 'Destroy', undefined}}, - {3408, {wxClipboard, new, 0}}, - {3409, {wxClipboard, destruct, 0}}, - {3410, {wxClipboard, addData, 1}}, - {3411, {wxClipboard, clear, 0}}, - {3412, {wxClipboard, close, 0}}, - {3413, {wxClipboard, flush, 0}}, - {3414, {wxClipboard, getData, 1}}, - {3415, {wxClipboard, isOpened, 0}}, - {3416, {wxClipboard, open, 0}}, - {3417, {wxClipboard, setData, 1}}, - {3419, {wxClipboard, usePrimarySelection, 1}}, - {3420, {wxClipboard, isSupported, 1}}, - {3421, {wxClipboard, get, 0}}, - {3422, {wxSpinEvent, getPosition, 0}}, - {3423, {wxSpinEvent, setPosition, 1}}, - {3424, {wxSplitterWindow, new_0, 0}}, - {3425, {wxSplitterWindow, new_2, 2}}, - {3426, {wxSplitterWindow, destruct, 0}}, - {3427, {wxSplitterWindow, create, 2}}, - {3428, {wxSplitterWindow, getMinimumPaneSize, 0}}, - {3429, {wxSplitterWindow, getSashGravity, 0}}, - {3430, {wxSplitterWindow, getSashPosition, 0}}, - {3431, {wxSplitterWindow, getSplitMode, 0}}, - {3432, {wxSplitterWindow, getWindow1, 0}}, - {3433, {wxSplitterWindow, getWindow2, 0}}, - {3434, {wxSplitterWindow, initialize, 1}}, - {3435, {wxSplitterWindow, isSplit, 0}}, - {3436, {wxSplitterWindow, replaceWindow, 2}}, - {3437, {wxSplitterWindow, setSashGravity, 1}}, - {3438, {wxSplitterWindow, setSashPosition, 2}}, - {3439, {wxSplitterWindow, setSashSize, 1}}, - {3440, {wxSplitterWindow, setMinimumPaneSize, 1}}, - {3441, {wxSplitterWindow, setSplitMode, 1}}, - {3442, {wxSplitterWindow, splitHorizontally, 3}}, - {3443, {wxSplitterWindow, splitVertically, 3}}, - {3444, {wxSplitterWindow, unsplit, 1}}, - {3445, {wxSplitterWindow, updateSize, 0}}, - {3446, {wxSplitterEvent, getSashPosition, 0}}, - {3447, {wxSplitterEvent, getX, 0}}, - {3448, {wxSplitterEvent, getY, 0}}, - {3449, {wxSplitterEvent, getWindowBeingRemoved, 0}}, - {3450, {wxSplitterEvent, setSashPosition, 1}}, - {3451, {wxHtmlWindow, new_0, 0}}, - {3452, {wxHtmlWindow, new_2, 2}}, - {3453, {wxHtmlWindow, appendToPage, 1}}, - {3454, {wxHtmlWindow, getOpenedAnchor, 0}}, - {3455, {wxHtmlWindow, getOpenedPage, 0}}, - {3456, {wxHtmlWindow, getOpenedPageTitle, 0}}, - {3457, {wxHtmlWindow, getRelatedFrame, 0}}, - {3458, {wxHtmlWindow, historyBack, 0}}, - {3459, {wxHtmlWindow, historyCanBack, 0}}, - {3460, {wxHtmlWindow, historyCanForward, 0}}, - {3461, {wxHtmlWindow, historyClear, 0}}, - {3462, {wxHtmlWindow, historyForward, 0}}, - {3463, {wxHtmlWindow, loadFile, 1}}, - {3464, {wxHtmlWindow, loadPage, 1}}, - {3465, {wxHtmlWindow, selectAll, 0}}, - {3466, {wxHtmlWindow, selectionToText, 0}}, - {3467, {wxHtmlWindow, selectLine, 1}}, - {3468, {wxHtmlWindow, selectWord, 1}}, - {3469, {wxHtmlWindow, setBorders, 1}}, - {3470, {wxHtmlWindow, setFonts, 3}}, - {3471, {wxHtmlWindow, setPage, 1}}, - {3472, {wxHtmlWindow, setRelatedFrame, 2}}, - {3473, {wxHtmlWindow, setRelatedStatusBar, 1}}, - {3474, {wxHtmlWindow, toText, 0}}, - {3475, {wxHtmlWindow, 'Destroy', undefined}}, - {3476, {wxHtmlLinkEvent, getLinkInfo, 0}}, - {3477, {wxAuiNotebookEvent, setSelection, 1}}, - {3478, {wxAuiNotebookEvent, getSelection, 0}}, - {3479, {wxAuiNotebookEvent, setOldSelection, 1}}, - {3480, {wxAuiNotebookEvent, getOldSelection, 0}}, - {3481, {wxAuiNotebookEvent, setDragSource, 1}}, - {3482, {wxAuiNotebookEvent, getDragSource, 0}}, - {3483, {wxAuiManagerEvent, setManager, 1}}, - {3484, {wxAuiManagerEvent, getManager, 0}}, - {3485, {wxAuiManagerEvent, setPane, 1}}, - {3486, {wxAuiManagerEvent, getPane, 0}}, - {3487, {wxAuiManagerEvent, setButton, 1}}, - {3488, {wxAuiManagerEvent, getButton, 0}}, - {3489, {wxAuiManagerEvent, setDC, 1}}, - {3490, {wxAuiManagerEvent, getDC, 0}}, - {3491, {wxAuiManagerEvent, veto, 1}}, - {3492, {wxAuiManagerEvent, getVeto, 0}}, - {3493, {wxAuiManagerEvent, setCanVeto, 1}}, - {3494, {wxAuiManagerEvent, canVeto, 0}}, - {3495, {wxLogNull, new, 0}}, - {3496, {wxLogNull, 'Destroy', undefined}}, + {885, {wxControlWithItems, getClientData, 1}}, + {886, {wxControlWithItems, setClientData, 2}}, + {887, {wxControlWithItems, getCount, 0}}, + {888, {wxControlWithItems, getSelection, 0}}, + {889, {wxControlWithItems, getString, 1}}, + {890, {wxControlWithItems, getStringSelection, 0}}, + {891, {wxControlWithItems, insert_2, 2}}, + {892, {wxControlWithItems, insert_3, 3}}, + {893, {wxControlWithItems, isEmpty, 0}}, + {894, {wxControlWithItems, select, 1}}, + {895, {wxControlWithItems, setSelection, 1}}, + {896, {wxControlWithItems, setString, 2}}, + {897, {wxControlWithItems, setStringSelection, 1}}, + {900, {wxMenu, new_2, 2}}, + {901, {wxMenu, new_1, 1}}, + {903, {wxMenu, destruct, 0}}, + {904, {wxMenu, append_3, 3}}, + {905, {wxMenu, append_1, 1}}, + {906, {wxMenu, append_4_0, 4}}, + {907, {wxMenu, append_4_1, 4}}, + {908, {wxMenu, appendCheckItem, 3}}, + {909, {wxMenu, appendRadioItem, 3}}, + {910, {wxMenu, appendSeparator, 0}}, + {911, {wxMenu, break, 0}}, + {912, {wxMenu, check, 2}}, + {913, {wxMenu, delete_1_0, 1}}, + {914, {wxMenu, delete_1_1, 1}}, + {915, {wxMenu, destroy_1_0, 1}}, + {916, {wxMenu, destroy_1_1, 1}}, + {917, {wxMenu, enable, 2}}, + {918, {wxMenu, findItem_1, 1}}, + {919, {wxMenu, findItem_2, 2}}, + {920, {wxMenu, findItemByPosition, 1}}, + {921, {wxMenu, getHelpString, 1}}, + {922, {wxMenu, getLabel, 1}}, + {923, {wxMenu, getMenuItemCount, 0}}, + {924, {wxMenu, getMenuItems, 0}}, + {926, {wxMenu, getTitle, 0}}, + {927, {wxMenu, insert_2, 2}}, + {928, {wxMenu, insert_3, 3}}, + {929, {wxMenu, insert_5_1, 5}}, + {930, {wxMenu, insert_5_0, 5}}, + {931, {wxMenu, insertCheckItem, 4}}, + {932, {wxMenu, insertRadioItem, 4}}, + {933, {wxMenu, insertSeparator, 1}}, + {934, {wxMenu, isChecked, 1}}, + {935, {wxMenu, isEnabled, 1}}, + {936, {wxMenu, prepend_1, 1}}, + {937, {wxMenu, prepend_2, 2}}, + {938, {wxMenu, prepend_4_1, 4}}, + {939, {wxMenu, prepend_4_0, 4}}, + {940, {wxMenu, prependCheckItem, 3}}, + {941, {wxMenu, prependRadioItem, 3}}, + {942, {wxMenu, prependSeparator, 0}}, + {943, {wxMenu, remove_1_0, 1}}, + {944, {wxMenu, remove_1_1, 1}}, + {945, {wxMenu, setHelpString, 2}}, + {946, {wxMenu, setLabel, 2}}, + {947, {wxMenu, setTitle, 1}}, + {948, {wxMenuItem, new, 1}}, + {950, {wxMenuItem, destruct, 0}}, + {951, {wxMenuItem, check, 1}}, + {952, {wxMenuItem, enable, 1}}, + {953, {wxMenuItem, getBitmap, 0}}, + {954, {wxMenuItem, getHelp, 0}}, + {955, {wxMenuItem, getId, 0}}, + {956, {wxMenuItem, getKind, 0}}, + {957, {wxMenuItem, getLabel, 0}}, + {958, {wxMenuItem, getLabelFromText, 1}}, + {959, {wxMenuItem, getMenu, 0}}, + {960, {wxMenuItem, getText, 0}}, + {961, {wxMenuItem, getSubMenu, 0}}, + {962, {wxMenuItem, isCheckable, 0}}, + {963, {wxMenuItem, isChecked, 0}}, + {964, {wxMenuItem, isEnabled, 0}}, + {965, {wxMenuItem, isSeparator, 0}}, + {966, {wxMenuItem, isSubMenu, 0}}, + {967, {wxMenuItem, setBitmap, 1}}, + {968, {wxMenuItem, setHelp, 1}}, + {969, {wxMenuItem, setMenu, 1}}, + {970, {wxMenuItem, setSubMenu, 1}}, + {971, {wxMenuItem, setText, 1}}, + {972, {wxToolBar, addControl, 1}}, + {973, {wxToolBar, addSeparator, 0}}, + {974, {wxToolBar, addTool_5, 5}}, + {975, {wxToolBar, addTool_4_0, 4}}, + {976, {wxToolBar, addTool_1, 1}}, + {977, {wxToolBar, addTool_4_1, 4}}, + {978, {wxToolBar, addTool_3, 3}}, + {979, {wxToolBar, addTool_6, 6}}, + {980, {wxToolBar, addCheckTool, 4}}, + {981, {wxToolBar, addRadioTool, 4}}, + {982, {wxToolBar, deleteTool, 1}}, + {983, {wxToolBar, deleteToolByPos, 1}}, + {984, {wxToolBar, enableTool, 2}}, + {985, {wxToolBar, findById, 1}}, + {986, {wxToolBar, findControl, 1}}, + {987, {wxToolBar, findToolForPosition, 2}}, + {988, {wxToolBar, getToolSize, 0}}, + {989, {wxToolBar, getToolBitmapSize, 0}}, + {990, {wxToolBar, getMargins, 0}}, + {991, {wxToolBar, getToolEnabled, 1}}, + {992, {wxToolBar, getToolLongHelp, 1}}, + {993, {wxToolBar, getToolPacking, 0}}, + {994, {wxToolBar, getToolPos, 1}}, + {995, {wxToolBar, getToolSeparation, 0}}, + {996, {wxToolBar, getToolShortHelp, 1}}, + {997, {wxToolBar, getToolState, 1}}, + {998, {wxToolBar, insertControl, 2}}, + {999, {wxToolBar, insertSeparator, 1}}, + {1000, {wxToolBar, insertTool_5, 5}}, + {1001, {wxToolBar, insertTool_2, 2}}, + {1002, {wxToolBar, insertTool_4, 4}}, + {1003, {wxToolBar, realize, 0}}, + {1004, {wxToolBar, removeTool, 1}}, + {1005, {wxToolBar, setMargins, 2}}, + {1006, {wxToolBar, setToolBitmapSize, 1}}, + {1007, {wxToolBar, setToolLongHelp, 2}}, + {1008, {wxToolBar, setToolPacking, 1}}, + {1009, {wxToolBar, setToolShortHelp, 2}}, + {1010, {wxToolBar, setToolSeparation, 1}}, + {1011, {wxToolBar, toggleTool, 2}}, + {1013, {wxStatusBar, new_0, 0}}, + {1014, {wxStatusBar, new_2, 2}}, + {1016, {wxStatusBar, destruct, 0}}, + {1017, {wxStatusBar, create, 2}}, + {1018, {wxStatusBar, getFieldRect, 2}}, + {1019, {wxStatusBar, getFieldsCount, 0}}, + {1020, {wxStatusBar, getStatusText, 1}}, + {1021, {wxStatusBar, popStatusText, 1}}, + {1022, {wxStatusBar, pushStatusText, 2}}, + {1023, {wxStatusBar, setFieldsCount, 2}}, + {1024, {wxStatusBar, setMinHeight, 1}}, + {1025, {wxStatusBar, setStatusText, 2}}, + {1026, {wxStatusBar, setStatusWidths, 2}}, + {1027, {wxStatusBar, setStatusStyles, 2}}, + {1028, {wxBitmap, new_0, 0}}, + {1029, {wxBitmap, new_3, 3}}, + {1030, {wxBitmap, new_4, 4}}, + {1031, {wxBitmap, new_2_0, 2}}, + {1032, {wxBitmap, new_2_1, 2}}, + {1033, {wxBitmap, destruct, 0}}, + {1034, {wxBitmap, convertToImage, 0}}, + {1035, {wxBitmap, copyFromIcon, 1}}, + {1036, {wxBitmap, create, 3}}, + {1037, {wxBitmap, getDepth, 0}}, + {1038, {wxBitmap, getHeight, 0}}, + {1039, {wxBitmap, getPalette, 0}}, + {1040, {wxBitmap, getMask, 0}}, + {1041, {wxBitmap, getWidth, 0}}, + {1042, {wxBitmap, getSubBitmap, 1}}, + {1043, {wxBitmap, loadFile, 2}}, + {1044, {wxBitmap, ok, 0}}, + {1045, {wxBitmap, saveFile, 3}}, + {1046, {wxBitmap, setDepth, 1}}, + {1047, {wxBitmap, setHeight, 1}}, + {1048, {wxBitmap, setMask, 1}}, + {1049, {wxBitmap, setPalette, 1}}, + {1050, {wxBitmap, setWidth, 1}}, + {1051, {wxIcon, new_0, 0}}, + {1052, {wxIcon, new_2, 2}}, + {1053, {wxIcon, new_1, 1}}, + {1054, {wxIcon, copyFromBitmap, 1}}, + {1055, {wxIcon, 'Destroy', undefined}}, + {1056, {wxIconBundle, new_0, 0}}, + {1057, {wxIconBundle, new_2, 2}}, + {1058, {wxIconBundle, new_1_0, 1}}, + {1059, {wxIconBundle, new_1_1, 1}}, + {1060, {wxIconBundle, destruct, 0}}, + {1061, {wxIconBundle, addIcon_2, 2}}, + {1062, {wxIconBundle, addIcon_1, 1}}, + {1063, {wxIconBundle, getIcon_1_1, 1}}, + {1064, {wxIconBundle, getIcon_1_0, 1}}, + {1065, {wxCursor, new_0, 0}}, + {1066, {wxCursor, new_1_0, 1}}, + {1067, {wxCursor, new_1_1, 1}}, + {1068, {wxCursor, new_4, 4}}, + {1069, {wxCursor, destruct, 0}}, + {1070, {wxCursor, ok, 0}}, + {1071, {wxMask, new_0, 0}}, + {1072, {wxMask, new_2_1, 2}}, + {1073, {wxMask, new_2_0, 2}}, + {1074, {wxMask, new_1, 1}}, + {1075, {wxMask, destruct, 0}}, + {1076, {wxMask, create_2_1, 2}}, + {1077, {wxMask, create_2_0, 2}}, + {1078, {wxMask, create_1, 1}}, + {1079, {wxImage, new_0, 0}}, + {1080, {wxImage, new_3_0, 3}}, + {1081, {wxImage, new_4, 4}}, + {1082, {wxImage, new_5, 5}}, + {1083, {wxImage, new_2, 2}}, + {1084, {wxImage, new_3_1, 3}}, + {1085, {wxImage, blur, 1}}, + {1086, {wxImage, blurHorizontal, 1}}, + {1087, {wxImage, blurVertical, 1}}, + {1088, {wxImage, convertAlphaToMask, 1}}, + {1089, {wxImage, convertToGreyscale, 1}}, + {1090, {wxImage, convertToMono, 3}}, + {1091, {wxImage, copy, 0}}, + {1092, {wxImage, create_3, 3}}, + {1093, {wxImage, create_4, 4}}, + {1094, {wxImage, create_5, 5}}, + {1095, {wxImage, 'Destroy', 0}}, + {1096, {wxImage, findFirstUnusedColour, 4}}, + {1097, {wxImage, getImageExtWildcard, 0}}, + {1098, {wxImage, getAlpha_2, 2}}, + {1099, {wxImage, getAlpha_0, 0}}, + {1100, {wxImage, getBlue, 2}}, + {1101, {wxImage, getData, 0}}, + {1102, {wxImage, getGreen, 2}}, + {1103, {wxImage, getImageCount, 2}}, + {1104, {wxImage, getHeight, 0}}, + {1105, {wxImage, getMaskBlue, 0}}, + {1106, {wxImage, getMaskGreen, 0}}, + {1107, {wxImage, getMaskRed, 0}}, + {1108, {wxImage, getOrFindMaskColour, 3}}, + {1109, {wxImage, getPalette, 0}}, + {1110, {wxImage, getRed, 2}}, + {1111, {wxImage, getSubImage, 1}}, + {1112, {wxImage, getWidth, 0}}, + {1113, {wxImage, hasAlpha, 0}}, + {1114, {wxImage, hasMask, 0}}, + {1115, {wxImage, getOption, 1}}, + {1116, {wxImage, getOptionInt, 1}}, + {1117, {wxImage, hasOption, 1}}, + {1118, {wxImage, initAlpha, 0}}, + {1119, {wxImage, initStandardHandlers, 0}}, + {1120, {wxImage, isTransparent, 3}}, + {1121, {wxImage, loadFile_2, 2}}, + {1122, {wxImage, loadFile_3, 3}}, + {1123, {wxImage, ok, 0}}, + {1124, {wxImage, removeHandler, 1}}, + {1125, {wxImage, mirror, 1}}, + {1126, {wxImage, replace, 6}}, + {1127, {wxImage, rescale, 3}}, + {1128, {wxImage, resize, 3}}, + {1129, {wxImage, rotate, 3}}, + {1130, {wxImage, rotateHue, 1}}, + {1131, {wxImage, rotate90, 1}}, + {1132, {wxImage, saveFile_1, 1}}, + {1133, {wxImage, saveFile_2_0, 2}}, + {1134, {wxImage, saveFile_2_1, 2}}, + {1135, {wxImage, scale, 3}}, + {1136, {wxImage, size, 3}}, + {1137, {wxImage, setAlpha_3, 3}}, + {1138, {wxImage, setAlpha_2, 2}}, + {1139, {wxImage, setData_2, 2}}, + {1140, {wxImage, setData_4, 4}}, + {1141, {wxImage, setMask, 1}}, + {1142, {wxImage, setMaskColour, 3}}, + {1143, {wxImage, setMaskFromImage, 4}}, + {1144, {wxImage, setOption_2_1, 2}}, + {1145, {wxImage, setOption_2_0, 2}}, + {1146, {wxImage, setPalette, 1}}, + {1147, {wxImage, setRGB_5, 5}}, + {1148, {wxImage, setRGB_4, 4}}, + {1149, {wxImage, 'Destroy', undefined}}, + {1150, {wxBrush, new_0, 0}}, + {1151, {wxBrush, new_2, 2}}, + {1152, {wxBrush, new_1, 1}}, + {1154, {wxBrush, destruct, 0}}, + {1155, {wxBrush, getColour, 0}}, + {1156, {wxBrush, getStipple, 0}}, + {1157, {wxBrush, getStyle, 0}}, + {1158, {wxBrush, isHatch, 0}}, + {1159, {wxBrush, isOk, 0}}, + {1160, {wxBrush, setColour_1, 1}}, + {1161, {wxBrush, setColour_3, 3}}, + {1162, {wxBrush, setStipple, 1}}, + {1163, {wxBrush, setStyle, 1}}, + {1164, {wxPen, new_0, 0}}, + {1165, {wxPen, new_2, 2}}, + {1166, {wxPen, destruct, 0}}, + {1167, {wxPen, getCap, 0}}, + {1168, {wxPen, getColour, 0}}, + {1169, {wxPen, getJoin, 0}}, + {1170, {wxPen, getStyle, 0}}, + {1171, {wxPen, getWidth, 0}}, + {1172, {wxPen, isOk, 0}}, + {1173, {wxPen, setCap, 1}}, + {1174, {wxPen, setColour_1, 1}}, + {1175, {wxPen, setColour_3, 3}}, + {1176, {wxPen, setJoin, 1}}, + {1177, {wxPen, setStyle, 1}}, + {1178, {wxPen, setWidth, 1}}, + {1179, {wxRegion, new_0, 0}}, + {1180, {wxRegion, new_4, 4}}, + {1181, {wxRegion, new_2, 2}}, + {1182, {wxRegion, new_1_1, 1}}, + {1184, {wxRegion, new_1_0, 1}}, + {1186, {wxRegion, destruct, 0}}, + {1187, {wxRegion, clear, 0}}, + {1188, {wxRegion, contains_2, 2}}, + {1189, {wxRegion, contains_1_0, 1}}, + {1190, {wxRegion, contains_4, 4}}, + {1191, {wxRegion, contains_1_1, 1}}, + {1192, {wxRegion, convertToBitmap, 0}}, + {1193, {wxRegion, getBox, 0}}, + {1194, {wxRegion, intersect_4, 4}}, + {1195, {wxRegion, intersect_1_1, 1}}, + {1196, {wxRegion, intersect_1_0, 1}}, + {1197, {wxRegion, isEmpty, 0}}, + {1198, {wxRegion, subtract_4, 4}}, + {1199, {wxRegion, subtract_1_1, 1}}, + {1200, {wxRegion, subtract_1_0, 1}}, + {1201, {wxRegion, offset_2, 2}}, + {1202, {wxRegion, offset_1, 1}}, + {1203, {wxRegion, union_4, 4}}, + {1204, {wxRegion, union_1_2, 1}}, + {1205, {wxRegion, union_1_1, 1}}, + {1206, {wxRegion, union_1_0, 1}}, + {1207, {wxRegion, union_3, 3}}, + {1208, {wxRegion, xor_4, 4}}, + {1209, {wxRegion, xor_1_1, 1}}, + {1210, {wxRegion, xor_1_0, 1}}, + {1211, {wxAcceleratorTable, new_0, 0}}, + {1212, {wxAcceleratorTable, new_2, 2}}, + {1213, {wxAcceleratorTable, destruct, 0}}, + {1214, {wxAcceleratorTable, ok, 0}}, + {1215, {wxAcceleratorEntry, new_1_0, 1}}, + {1216, {wxAcceleratorEntry, new_1_1, 1}}, + {1217, {wxAcceleratorEntry, getCommand, 0}}, + {1218, {wxAcceleratorEntry, getFlags, 0}}, + {1219, {wxAcceleratorEntry, getKeyCode, 0}}, + {1220, {wxAcceleratorEntry, set, 4}}, + {1221, {wxAcceleratorEntry, 'Destroy', undefined}}, + {1226, {wxCaret, new_3, 3}}, + {1227, {wxCaret, new_2, 2}}, + {1229, {wxCaret, destruct, 0}}, + {1230, {wxCaret, create_3, 3}}, + {1231, {wxCaret, create_2, 2}}, + {1232, {wxCaret, getBlinkTime, 0}}, + {1234, {wxCaret, getPosition, 0}}, + {1236, {wxCaret, getSize, 0}}, + {1237, {wxCaret, getWindow, 0}}, + {1238, {wxCaret, hide, 0}}, + {1239, {wxCaret, isOk, 0}}, + {1240, {wxCaret, isVisible, 0}}, + {1241, {wxCaret, move_2, 2}}, + {1242, {wxCaret, move_1, 1}}, + {1243, {wxCaret, setBlinkTime, 1}}, + {1244, {wxCaret, setSize_2, 2}}, + {1245, {wxCaret, setSize_1, 1}}, + {1246, {wxCaret, show, 1}}, + {1247, {wxSizer, add_2_1, 2}}, + {1248, {wxSizer, add_2_0, 2}}, + {1249, {wxSizer, add_3, 3}}, + {1250, {wxSizer, add_2_3, 2}}, + {1251, {wxSizer, add_2_2, 2}}, + {1252, {wxSizer, addSpacer, 1}}, + {1253, {wxSizer, addStretchSpacer, 1}}, + {1254, {wxSizer, calcMin, 0}}, + {1255, {wxSizer, clear, 1}}, + {1256, {wxSizer, detach_1_2, 1}}, + {1257, {wxSizer, detach_1_1, 1}}, + {1258, {wxSizer, detach_1_0, 1}}, + {1259, {wxSizer, fit, 1}}, + {1260, {wxSizer, fitInside, 1}}, + {1261, {wxSizer, getChildren, 0}}, + {1262, {wxSizer, getItem_2_1, 2}}, + {1263, {wxSizer, getItem_2_0, 2}}, + {1264, {wxSizer, getItem_1, 1}}, + {1265, {wxSizer, getSize, 0}}, + {1266, {wxSizer, getPosition, 0}}, + {1267, {wxSizer, getMinSize, 0}}, + {1268, {wxSizer, hide_2_0, 2}}, + {1269, {wxSizer, hide_2_1, 2}}, + {1270, {wxSizer, hide_1, 1}}, + {1271, {wxSizer, insert_3_1, 3}}, + {1272, {wxSizer, insert_3_0, 3}}, + {1273, {wxSizer, insert_4, 4}}, + {1274, {wxSizer, insert_3_3, 3}}, + {1275, {wxSizer, insert_3_2, 3}}, + {1276, {wxSizer, insert_2, 2}}, + {1277, {wxSizer, insertSpacer, 2}}, + {1278, {wxSizer, insertStretchSpacer, 2}}, + {1279, {wxSizer, isShown_1_2, 1}}, + {1280, {wxSizer, isShown_1_1, 1}}, + {1281, {wxSizer, isShown_1_0, 1}}, + {1282, {wxSizer, layout, 0}}, + {1283, {wxSizer, prepend_2_1, 2}}, + {1284, {wxSizer, prepend_2_0, 2}}, + {1285, {wxSizer, prepend_3, 3}}, + {1286, {wxSizer, prepend_2_3, 2}}, + {1287, {wxSizer, prepend_2_2, 2}}, + {1288, {wxSizer, prepend_1, 1}}, + {1289, {wxSizer, prependSpacer, 1}}, + {1290, {wxSizer, prependStretchSpacer, 1}}, + {1291, {wxSizer, recalcSizes, 0}}, + {1292, {wxSizer, remove_1_1, 1}}, + {1293, {wxSizer, remove_1_0, 1}}, + {1294, {wxSizer, replace_3_1, 3}}, + {1295, {wxSizer, replace_3_0, 3}}, + {1296, {wxSizer, replace_2, 2}}, + {1297, {wxSizer, setDimension, 4}}, + {1298, {wxSizer, setMinSize_2, 2}}, + {1299, {wxSizer, setMinSize_1, 1}}, + {1300, {wxSizer, setItemMinSize_3_2, 3}}, + {1301, {wxSizer, setItemMinSize_2_2, 2}}, + {1302, {wxSizer, setItemMinSize_3_1, 3}}, + {1303, {wxSizer, setItemMinSize_2_1, 2}}, + {1304, {wxSizer, setItemMinSize_3_0, 3}}, + {1305, {wxSizer, setItemMinSize_2_0, 2}}, + {1306, {wxSizer, setSizeHints, 1}}, + {1307, {wxSizer, setVirtualSizeHints, 1}}, + {1308, {wxSizer, show_2_2, 2}}, + {1309, {wxSizer, show_2_1, 2}}, + {1310, {wxSizer, show_2_0, 2}}, + {1311, {wxSizer, show_1, 1}}, + {1312, {wxSizerFlags, new, 1}}, + {1313, {wxSizerFlags, align, 1}}, + {1314, {wxSizerFlags, border_2, 2}}, + {1315, {wxSizerFlags, border_1, 1}}, + {1316, {wxSizerFlags, center, 0}}, + {1317, {wxSizerFlags, centre, 0}}, + {1318, {wxSizerFlags, expand, 0}}, + {1319, {wxSizerFlags, left, 0}}, + {1320, {wxSizerFlags, proportion, 1}}, + {1321, {wxSizerFlags, right, 0}}, + {1322, {wxSizerFlags, 'Destroy', undefined}}, + {1323, {wxSizerItem, new_5_1, 5}}, + {1324, {wxSizerItem, new_2_1, 2}}, + {1325, {wxSizerItem, new_5_0, 5}}, + {1326, {wxSizerItem, new_2_0, 2}}, + {1327, {wxSizerItem, new_6, 6}}, + {1328, {wxSizerItem, new_3, 3}}, + {1329, {wxSizerItem, new_0, 0}}, + {1330, {wxSizerItem, destruct, 0}}, + {1331, {wxSizerItem, calcMin, 0}}, + {1332, {wxSizerItem, deleteWindows, 0}}, + {1333, {wxSizerItem, detachSizer, 0}}, + {1334, {wxSizerItem, getBorder, 0}}, + {1335, {wxSizerItem, getFlag, 0}}, + {1336, {wxSizerItem, getMinSize, 0}}, + {1337, {wxSizerItem, getPosition, 0}}, + {1338, {wxSizerItem, getProportion, 0}}, + {1339, {wxSizerItem, getRatio, 0}}, + {1340, {wxSizerItem, getRect, 0}}, + {1341, {wxSizerItem, getSize, 0}}, + {1342, {wxSizerItem, getSizer, 0}}, + {1343, {wxSizerItem, getSpacer, 0}}, + {1344, {wxSizerItem, getUserData, 0}}, + {1345, {wxSizerItem, getWindow, 0}}, + {1346, {wxSizerItem, isSizer, 0}}, + {1347, {wxSizerItem, isShown, 0}}, + {1348, {wxSizerItem, isSpacer, 0}}, + {1349, {wxSizerItem, isWindow, 0}}, + {1350, {wxSizerItem, setBorder, 1}}, + {1351, {wxSizerItem, setDimension, 2}}, + {1352, {wxSizerItem, setFlag, 1}}, + {1353, {wxSizerItem, setInitSize, 2}}, + {1354, {wxSizerItem, setMinSize_1, 1}}, + {1355, {wxSizerItem, setMinSize_2, 2}}, + {1356, {wxSizerItem, setProportion, 1}}, + {1357, {wxSizerItem, setRatio_2, 2}}, + {1358, {wxSizerItem, setRatio_1_1, 1}}, + {1359, {wxSizerItem, setRatio_1_0, 1}}, + {1360, {wxSizerItem, setSizer, 1}}, + {1361, {wxSizerItem, setSpacer_1, 1}}, + {1362, {wxSizerItem, setSpacer_2, 2}}, + {1363, {wxSizerItem, setWindow, 1}}, + {1364, {wxSizerItem, show, 1}}, + {1365, {wxBoxSizer, new, 1}}, + {1366, {wxBoxSizer, getOrientation, 0}}, + {1367, {wxBoxSizer, 'Destroy', undefined}}, + {1368, {wxStaticBoxSizer, new_2, 2}}, + {1369, {wxStaticBoxSizer, new_3, 3}}, + {1370, {wxStaticBoxSizer, getStaticBox, 0}}, + {1371, {wxStaticBoxSizer, 'Destroy', undefined}}, + {1372, {wxGridSizer, new_4, 4}}, + {1373, {wxGridSizer, new_2, 2}}, + {1374, {wxGridSizer, getCols, 0}}, + {1375, {wxGridSizer, getHGap, 0}}, + {1376, {wxGridSizer, getRows, 0}}, + {1377, {wxGridSizer, getVGap, 0}}, + {1378, {wxGridSizer, setCols, 1}}, + {1379, {wxGridSizer, setHGap, 1}}, + {1380, {wxGridSizer, setRows, 1}}, + {1381, {wxGridSizer, setVGap, 1}}, + {1382, {wxGridSizer, 'Destroy', undefined}}, + {1383, {wxFlexGridSizer, new_4, 4}}, + {1384, {wxFlexGridSizer, new_2, 2}}, + {1385, {wxFlexGridSizer, addGrowableCol, 2}}, + {1386, {wxFlexGridSizer, addGrowableRow, 2}}, + {1387, {wxFlexGridSizer, getFlexibleDirection, 0}}, + {1388, {wxFlexGridSizer, getNonFlexibleGrowMode, 0}}, + {1389, {wxFlexGridSizer, removeGrowableCol, 1}}, + {1390, {wxFlexGridSizer, removeGrowableRow, 1}}, + {1391, {wxFlexGridSizer, setFlexibleDirection, 1}}, + {1392, {wxFlexGridSizer, setNonFlexibleGrowMode, 1}}, + {1393, {wxFlexGridSizer, 'Destroy', undefined}}, + {1394, {wxGridBagSizer, new, 1}}, + {1395, {wxGridBagSizer, add_3_2, 3}}, + {1396, {wxGridBagSizer, add_3_1, 3}}, + {1397, {wxGridBagSizer, add_4, 4}}, + {1398, {wxGridBagSizer, add_1_0, 1}}, + {1399, {wxGridBagSizer, add_2_1, 2}}, + {1400, {wxGridBagSizer, add_2_0, 2}}, + {1401, {wxGridBagSizer, add_3_0, 3}}, + {1402, {wxGridBagSizer, add_1_1, 1}}, + {1403, {wxGridBagSizer, calcMin, 0}}, + {1404, {wxGridBagSizer, checkForIntersection_2, 2}}, + {1405, {wxGridBagSizer, checkForIntersection_3, 3}}, + {1406, {wxGridBagSizer, findItem_1_1, 1}}, + {1407, {wxGridBagSizer, findItem_1_0, 1}}, + {1408, {wxGridBagSizer, findItemAtPoint, 1}}, + {1409, {wxGridBagSizer, findItemAtPosition, 1}}, + {1410, {wxGridBagSizer, findItemWithData, 1}}, + {1411, {wxGridBagSizer, getCellSize, 2}}, + {1412, {wxGridBagSizer, getEmptyCellSize, 0}}, + {1413, {wxGridBagSizer, getItemPosition_1_2, 1}}, + {1414, {wxGridBagSizer, getItemPosition_1_1, 1}}, + {1415, {wxGridBagSizer, getItemPosition_1_0, 1}}, + {1416, {wxGridBagSizer, getItemSpan_1_2, 1}}, + {1417, {wxGridBagSizer, getItemSpan_1_1, 1}}, + {1418, {wxGridBagSizer, getItemSpan_1_0, 1}}, + {1419, {wxGridBagSizer, setEmptyCellSize, 1}}, + {1420, {wxGridBagSizer, setItemPosition_2_2, 2}}, + {1421, {wxGridBagSizer, setItemPosition_2_1, 2}}, + {1422, {wxGridBagSizer, setItemPosition_2_0, 2}}, + {1423, {wxGridBagSizer, setItemSpan_2_2, 2}}, + {1424, {wxGridBagSizer, setItemSpan_2_1, 2}}, + {1425, {wxGridBagSizer, setItemSpan_2_0, 2}}, + {1426, {wxGridBagSizer, 'Destroy', undefined}}, + {1427, {wxStdDialogButtonSizer, new, 0}}, + {1428, {wxStdDialogButtonSizer, addButton, 1}}, + {1429, {wxStdDialogButtonSizer, realize, 0}}, + {1430, {wxStdDialogButtonSizer, setAffirmativeButton, 1}}, + {1431, {wxStdDialogButtonSizer, setCancelButton, 1}}, + {1432, {wxStdDialogButtonSizer, setNegativeButton, 1}}, + {1433, {wxStdDialogButtonSizer, 'Destroy', undefined}}, + {1434, {wxFont, new_0, 0}}, + {1435, {wxFont, new_1, 1}}, + {1436, {wxFont, new_5, 5}}, + {1438, {wxFont, destruct, 0}}, + {1439, {wxFont, isFixedWidth, 0}}, + {1440, {wxFont, getDefaultEncoding, 0}}, + {1441, {wxFont, getFaceName, 0}}, + {1442, {wxFont, getFamily, 0}}, + {1443, {wxFont, getNativeFontInfoDesc, 0}}, + {1444, {wxFont, getNativeFontInfoUserDesc, 0}}, + {1445, {wxFont, getPointSize, 0}}, + {1446, {wxFont, getStyle, 0}}, + {1447, {wxFont, getUnderlined, 0}}, + {1448, {wxFont, getWeight, 0}}, + {1449, {wxFont, ok, 0}}, + {1450, {wxFont, setDefaultEncoding, 1}}, + {1451, {wxFont, setFaceName, 1}}, + {1452, {wxFont, setFamily, 1}}, + {1453, {wxFont, setPointSize, 1}}, + {1454, {wxFont, setStyle, 1}}, + {1455, {wxFont, setUnderlined, 1}}, + {1456, {wxFont, setWeight, 1}}, + {1457, {wxToolTip, enable, 1}}, + {1458, {wxToolTip, setDelay, 1}}, + {1459, {wxToolTip, new, 1}}, + {1460, {wxToolTip, setTip, 1}}, + {1461, {wxToolTip, getTip, 0}}, + {1462, {wxToolTip, getWindow, 0}}, + {1463, {wxToolTip, 'Destroy', undefined}}, + {1465, {wxButton, new_3, 3}}, + {1466, {wxButton, new_0, 0}}, + {1467, {wxButton, destruct, 0}}, + {1468, {wxButton, create, 3}}, + {1469, {wxButton, getDefaultSize, 0}}, + {1470, {wxButton, setDefault, 0}}, + {1471, {wxButton, setLabel, 1}}, + {1473, {wxBitmapButton, new_4, 4}}, + {1474, {wxBitmapButton, new_0, 0}}, + {1475, {wxBitmapButton, create, 4}}, + {1476, {wxBitmapButton, getBitmapDisabled, 0}}, + {1478, {wxBitmapButton, getBitmapFocus, 0}}, + {1480, {wxBitmapButton, getBitmapLabel, 0}}, + {1482, {wxBitmapButton, getBitmapSelected, 0}}, + {1484, {wxBitmapButton, setBitmapDisabled, 1}}, + {1485, {wxBitmapButton, setBitmapFocus, 1}}, + {1486, {wxBitmapButton, setBitmapLabel, 1}}, + {1487, {wxBitmapButton, setBitmapSelected, 1}}, + {1488, {wxBitmapButton, 'Destroy', undefined}}, + {1489, {wxToggleButton, new_0, 0}}, + {1490, {wxToggleButton, new_4, 4}}, + {1491, {wxToggleButton, create, 4}}, + {1492, {wxToggleButton, getValue, 0}}, + {1493, {wxToggleButton, setValue, 1}}, + {1494, {wxToggleButton, 'Destroy', undefined}}, + {1495, {wxCalendarCtrl, new_0, 0}}, + {1496, {wxCalendarCtrl, new_3, 3}}, + {1497, {wxCalendarCtrl, create, 3}}, + {1498, {wxCalendarCtrl, destruct, 0}}, + {1499, {wxCalendarCtrl, setDate, 1}}, + {1500, {wxCalendarCtrl, getDate, 0}}, + {1501, {wxCalendarCtrl, enableYearChange, 1}}, + {1502, {wxCalendarCtrl, enableMonthChange, 1}}, + {1503, {wxCalendarCtrl, enableHolidayDisplay, 1}}, + {1504, {wxCalendarCtrl, setHeaderColours, 2}}, + {1505, {wxCalendarCtrl, getHeaderColourFg, 0}}, + {1506, {wxCalendarCtrl, getHeaderColourBg, 0}}, + {1507, {wxCalendarCtrl, setHighlightColours, 2}}, + {1508, {wxCalendarCtrl, getHighlightColourFg, 0}}, + {1509, {wxCalendarCtrl, getHighlightColourBg, 0}}, + {1510, {wxCalendarCtrl, setHolidayColours, 2}}, + {1511, {wxCalendarCtrl, getHolidayColourFg, 0}}, + {1512, {wxCalendarCtrl, getHolidayColourBg, 0}}, + {1513, {wxCalendarCtrl, getAttr, 1}}, + {1514, {wxCalendarCtrl, setAttr, 2}}, + {1515, {wxCalendarCtrl, setHoliday, 1}}, + {1516, {wxCalendarCtrl, resetAttr, 1}}, + {1517, {wxCalendarCtrl, hitTest, 2}}, + {1518, {wxCalendarDateAttr, new_0, 0}}, + {1519, {wxCalendarDateAttr, new_2_1, 2}}, + {1520, {wxCalendarDateAttr, new_2_0, 2}}, + {1521, {wxCalendarDateAttr, setTextColour, 1}}, + {1522, {wxCalendarDateAttr, setBackgroundColour, 1}}, + {1523, {wxCalendarDateAttr, setBorderColour, 1}}, + {1524, {wxCalendarDateAttr, setFont, 1}}, + {1525, {wxCalendarDateAttr, setBorder, 1}}, + {1526, {wxCalendarDateAttr, setHoliday, 1}}, + {1527, {wxCalendarDateAttr, hasTextColour, 0}}, + {1528, {wxCalendarDateAttr, hasBackgroundColour, 0}}, + {1529, {wxCalendarDateAttr, hasBorderColour, 0}}, + {1530, {wxCalendarDateAttr, hasFont, 0}}, + {1531, {wxCalendarDateAttr, hasBorder, 0}}, + {1532, {wxCalendarDateAttr, isHoliday, 0}}, + {1533, {wxCalendarDateAttr, getTextColour, 0}}, + {1534, {wxCalendarDateAttr, getBackgroundColour, 0}}, + {1535, {wxCalendarDateAttr, getBorderColour, 0}}, + {1536, {wxCalendarDateAttr, getFont, 0}}, + {1537, {wxCalendarDateAttr, getBorder, 0}}, + {1538, {wxCalendarDateAttr, 'Destroy', undefined}}, + {1540, {wxCheckBox, new_4, 4}}, + {1541, {wxCheckBox, new_0, 0}}, + {1542, {wxCheckBox, create, 4}}, + {1543, {wxCheckBox, getValue, 0}}, + {1544, {wxCheckBox, get3StateValue, 0}}, + {1545, {wxCheckBox, is3rdStateAllowedForUser, 0}}, + {1546, {wxCheckBox, is3State, 0}}, + {1547, {wxCheckBox, isChecked, 0}}, + {1548, {wxCheckBox, setValue, 1}}, + {1549, {wxCheckBox, set3StateValue, 1}}, + {1550, {wxCheckBox, 'Destroy', undefined}}, + {1551, {wxCheckListBox, new_0, 0}}, + {1553, {wxCheckListBox, new_3, 3}}, + {1554, {wxCheckListBox, check, 2}}, + {1555, {wxCheckListBox, isChecked, 1}}, + {1556, {wxCheckListBox, 'Destroy', undefined}}, + {1559, {wxChoice, new_3, 3}}, + {1560, {wxChoice, new_0, 0}}, + {1562, {wxChoice, destruct, 0}}, + {1564, {wxChoice, create, 6}}, + {1565, {wxChoice, delete, 1}}, + {1566, {wxChoice, getColumns, 0}}, + {1567, {wxChoice, setColumns, 1}}, + {1568, {wxComboBox, new_0, 0}}, + {1570, {wxComboBox, new_3, 3}}, + {1571, {wxComboBox, destruct, 0}}, + {1573, {wxComboBox, create, 7}}, + {1574, {wxComboBox, canCopy, 0}}, + {1575, {wxComboBox, canCut, 0}}, + {1576, {wxComboBox, canPaste, 0}}, + {1577, {wxComboBox, canRedo, 0}}, + {1578, {wxComboBox, canUndo, 0}}, + {1579, {wxComboBox, copy, 0}}, + {1580, {wxComboBox, cut, 0}}, + {1581, {wxComboBox, getInsertionPoint, 0}}, + {1582, {wxComboBox, getLastPosition, 0}}, + {1583, {wxComboBox, getValue, 0}}, + {1584, {wxComboBox, paste, 0}}, + {1585, {wxComboBox, redo, 0}}, + {1586, {wxComboBox, replace, 3}}, + {1587, {wxComboBox, remove, 2}}, + {1588, {wxComboBox, setInsertionPoint, 1}}, + {1589, {wxComboBox, setInsertionPointEnd, 0}}, + {1590, {wxComboBox, setSelection_1, 1}}, + {1591, {wxComboBox, setSelection_2, 2}}, + {1592, {wxComboBox, setValue, 1}}, + {1593, {wxComboBox, undo, 0}}, + {1594, {wxGauge, new_0, 0}}, + {1595, {wxGauge, new_4, 4}}, + {1596, {wxGauge, create, 4}}, + {1597, {wxGauge, getBezelFace, 0}}, + {1598, {wxGauge, getRange, 0}}, + {1599, {wxGauge, getShadowWidth, 0}}, + {1600, {wxGauge, getValue, 0}}, + {1601, {wxGauge, isVertical, 0}}, + {1602, {wxGauge, setBezelFace, 1}}, + {1603, {wxGauge, setRange, 1}}, + {1604, {wxGauge, setShadowWidth, 1}}, + {1605, {wxGauge, setValue, 1}}, + {1606, {wxGauge, pulse, 0}}, + {1607, {wxGauge, 'Destroy', undefined}}, + {1608, {wxGenericDirCtrl, new_0, 0}}, + {1609, {wxGenericDirCtrl, new_2, 2}}, + {1610, {wxGenericDirCtrl, destruct, 0}}, + {1611, {wxGenericDirCtrl, create, 2}}, + {1612, {wxGenericDirCtrl, init, 0}}, + {1613, {wxGenericDirCtrl, collapseTree, 0}}, + {1614, {wxGenericDirCtrl, expandPath, 1}}, + {1615, {wxGenericDirCtrl, getDefaultPath, 0}}, + {1616, {wxGenericDirCtrl, getPath, 0}}, + {1617, {wxGenericDirCtrl, getFilePath, 0}}, + {1618, {wxGenericDirCtrl, getFilter, 0}}, + {1619, {wxGenericDirCtrl, getFilterIndex, 0}}, + {1620, {wxGenericDirCtrl, getRootId, 0}}, + {1621, {wxGenericDirCtrl, getTreeCtrl, 0}}, + {1622, {wxGenericDirCtrl, reCreateTree, 0}}, + {1623, {wxGenericDirCtrl, setDefaultPath, 1}}, + {1624, {wxGenericDirCtrl, setFilter, 1}}, + {1625, {wxGenericDirCtrl, setFilterIndex, 1}}, + {1626, {wxGenericDirCtrl, setPath, 1}}, + {1628, {wxStaticBox, new_4, 4}}, + {1629, {wxStaticBox, new_0, 0}}, + {1630, {wxStaticBox, create, 4}}, + {1631, {wxStaticBox, 'Destroy', undefined}}, + {1633, {wxStaticLine, new_2, 2}}, + {1634, {wxStaticLine, new_0, 0}}, + {1635, {wxStaticLine, create, 2}}, + {1636, {wxStaticLine, isVertical, 0}}, + {1637, {wxStaticLine, getDefaultSize, 0}}, + {1638, {wxStaticLine, 'Destroy', undefined}}, + {1641, {wxListBox, new_3, 3}}, + {1642, {wxListBox, new_0, 0}}, + {1644, {wxListBox, destruct, 0}}, + {1646, {wxListBox, create, 6}}, + {1647, {wxListBox, deselect, 1}}, + {1648, {wxListBox, getSelections, 1}}, + {1649, {wxListBox, insertItems, 2}}, + {1650, {wxListBox, isSelected, 1}}, + {1652, {wxListBox, set, 2}}, + {1653, {wxListBox, hitTest, 1}}, + {1654, {wxListBox, setFirstItem_1_0, 1}}, + {1655, {wxListBox, setFirstItem_1_1, 1}}, + {1656, {wxListCtrl, new_0, 0}}, + {1657, {wxListCtrl, new_2, 2}}, + {1658, {wxListCtrl, arrange, 1}}, + {1659, {wxListCtrl, assignImageList, 2}}, + {1660, {wxListCtrl, clearAll, 0}}, + {1661, {wxListCtrl, create, 2}}, + {1662, {wxListCtrl, deleteAllItems, 0}}, + {1663, {wxListCtrl, deleteColumn, 1}}, + {1664, {wxListCtrl, deleteItem, 1}}, + {1665, {wxListCtrl, editLabel, 1}}, + {1666, {wxListCtrl, ensureVisible, 1}}, + {1667, {wxListCtrl, findItem_3_0, 3}}, + {1668, {wxListCtrl, findItem_3_1, 3}}, + {1669, {wxListCtrl, getColumn, 2}}, + {1670, {wxListCtrl, getColumnCount, 0}}, + {1671, {wxListCtrl, getColumnWidth, 1}}, + {1672, {wxListCtrl, getCountPerPage, 0}}, + {1673, {wxListCtrl, getEditControl, 0}}, + {1674, {wxListCtrl, getImageList, 1}}, + {1675, {wxListCtrl, getItem, 1}}, + {1676, {wxListCtrl, getItemBackgroundColour, 1}}, + {1677, {wxListCtrl, getItemCount, 0}}, + {1678, {wxListCtrl, getItemData, 1}}, + {1679, {wxListCtrl, getItemFont, 1}}, + {1680, {wxListCtrl, getItemPosition, 2}}, + {1681, {wxListCtrl, getItemRect, 3}}, + {1682, {wxListCtrl, getItemSpacing, 0}}, + {1683, {wxListCtrl, getItemState, 2}}, + {1684, {wxListCtrl, getItemText, 1}}, + {1685, {wxListCtrl, getItemTextColour, 1}}, + {1686, {wxListCtrl, getNextItem, 2}}, + {1687, {wxListCtrl, getSelectedItemCount, 0}}, + {1688, {wxListCtrl, getTextColour, 0}}, + {1689, {wxListCtrl, getTopItem, 0}}, + {1690, {wxListCtrl, getViewRect, 0}}, + {1691, {wxListCtrl, hitTest, 2}}, + {1692, {wxListCtrl, insertColumn_2, 2}}, + {1693, {wxListCtrl, insertColumn_3, 3}}, + {1694, {wxListCtrl, insertItem_1, 1}}, + {1695, {wxListCtrl, insertItem_2_1, 2}}, + {1696, {wxListCtrl, insertItem_2_0, 2}}, + {1697, {wxListCtrl, insertItem_3, 3}}, + {1698, {wxListCtrl, refreshItem, 1}}, + {1699, {wxListCtrl, refreshItems, 2}}, + {1700, {wxListCtrl, scrollList, 2}}, + {1701, {wxListCtrl, setBackgroundColour, 1}}, + {1702, {wxListCtrl, setColumn, 2}}, + {1703, {wxListCtrl, setColumnWidth, 2}}, + {1704, {wxListCtrl, setImageList, 2}}, + {1705, {wxListCtrl, setItem_1, 1}}, + {1706, {wxListCtrl, setItem_4, 4}}, + {1707, {wxListCtrl, setItemBackgroundColour, 2}}, + {1708, {wxListCtrl, setItemCount, 1}}, + {1709, {wxListCtrl, setItemData, 2}}, + {1710, {wxListCtrl, setItemFont, 2}}, + {1711, {wxListCtrl, setItemImage, 3}}, + {1712, {wxListCtrl, setItemColumnImage, 3}}, + {1713, {wxListCtrl, setItemPosition, 2}}, + {1714, {wxListCtrl, setItemState, 3}}, + {1715, {wxListCtrl, setItemText, 2}}, + {1716, {wxListCtrl, setItemTextColour, 2}}, + {1717, {wxListCtrl, setSingleStyle, 2}}, + {1718, {wxListCtrl, setTextColour, 1}}, + {1719, {wxListCtrl, setWindowStyleFlag, 1}}, + {1720, {wxListCtrl, sortItems, 2}}, + {1721, {wxListCtrl, 'Destroy', undefined}}, + {1722, {wxListView, clearColumnImage, 1}}, + {1723, {wxListView, focus, 1}}, + {1724, {wxListView, getFirstSelected, 0}}, + {1725, {wxListView, getFocusedItem, 0}}, + {1726, {wxListView, getNextSelected, 1}}, + {1727, {wxListView, isSelected, 1}}, + {1728, {wxListView, select, 2}}, + {1729, {wxListView, setColumnImage, 2}}, + {1730, {wxListItem, new_0, 0}}, + {1731, {wxListItem, new_1, 1}}, + {1732, {wxListItem, destruct, 0}}, + {1733, {wxListItem, clear, 0}}, + {1734, {wxListItem, getAlign, 0}}, + {1735, {wxListItem, getBackgroundColour, 0}}, + {1736, {wxListItem, getColumn, 0}}, + {1737, {wxListItem, getFont, 0}}, + {1738, {wxListItem, getId, 0}}, + {1739, {wxListItem, getImage, 0}}, + {1740, {wxListItem, getMask, 0}}, + {1741, {wxListItem, getState, 0}}, + {1742, {wxListItem, getText, 0}}, + {1743, {wxListItem, getTextColour, 0}}, + {1744, {wxListItem, getWidth, 0}}, + {1745, {wxListItem, setAlign, 1}}, + {1746, {wxListItem, setBackgroundColour, 1}}, + {1747, {wxListItem, setColumn, 1}}, + {1748, {wxListItem, setFont, 1}}, + {1749, {wxListItem, setId, 1}}, + {1750, {wxListItem, setImage, 1}}, + {1751, {wxListItem, setMask, 1}}, + {1752, {wxListItem, setState, 1}}, + {1753, {wxListItem, setStateMask, 1}}, + {1754, {wxListItem, setText, 1}}, + {1755, {wxListItem, setTextColour, 1}}, + {1756, {wxListItem, setWidth, 1}}, + {1757, {wxListItemAttr, new_0, 0}}, + {1758, {wxListItemAttr, new_3, 3}}, + {1759, {wxListItemAttr, getBackgroundColour, 0}}, + {1760, {wxListItemAttr, getFont, 0}}, + {1761, {wxListItemAttr, getTextColour, 0}}, + {1762, {wxListItemAttr, hasBackgroundColour, 0}}, + {1763, {wxListItemAttr, hasFont, 0}}, + {1764, {wxListItemAttr, hasTextColour, 0}}, + {1765, {wxListItemAttr, setBackgroundColour, 1}}, + {1766, {wxListItemAttr, setFont, 1}}, + {1767, {wxListItemAttr, setTextColour, 1}}, + {1768, {wxListItemAttr, 'Destroy', undefined}}, + {1769, {wxImageList, new_0, 0}}, + {1770, {wxImageList, new_3, 3}}, + {1771, {wxImageList, add_1, 1}}, + {1772, {wxImageList, add_2_0, 2}}, + {1773, {wxImageList, add_2_1, 2}}, + {1774, {wxImageList, create, 3}}, + {1776, {wxImageList, draw, 5}}, + {1777, {wxImageList, getBitmap, 1}}, + {1778, {wxImageList, getIcon, 1}}, + {1779, {wxImageList, getImageCount, 0}}, + {1780, {wxImageList, getSize, 3}}, + {1781, {wxImageList, remove, 1}}, + {1782, {wxImageList, removeAll, 0}}, + {1783, {wxImageList, replace_2, 2}}, + {1784, {wxImageList, replace_3, 3}}, + {1785, {wxImageList, 'Destroy', undefined}}, + {1786, {wxTextAttr, new_0, 0}}, + {1787, {wxTextAttr, new_2, 2}}, + {1788, {wxTextAttr, getAlignment, 0}}, + {1789, {wxTextAttr, getBackgroundColour, 0}}, + {1790, {wxTextAttr, getFont, 0}}, + {1791, {wxTextAttr, getLeftIndent, 0}}, + {1792, {wxTextAttr, getLeftSubIndent, 0}}, + {1793, {wxTextAttr, getRightIndent, 0}}, + {1794, {wxTextAttr, getTabs, 0}}, + {1795, {wxTextAttr, getTextColour, 0}}, + {1796, {wxTextAttr, hasBackgroundColour, 0}}, + {1797, {wxTextAttr, hasFont, 0}}, + {1798, {wxTextAttr, hasTextColour, 0}}, + {1799, {wxTextAttr, getFlags, 0}}, + {1800, {wxTextAttr, isDefault, 0}}, + {1801, {wxTextAttr, setAlignment, 1}}, + {1802, {wxTextAttr, setBackgroundColour, 1}}, + {1803, {wxTextAttr, setFlags, 1}}, + {1804, {wxTextAttr, setFont, 2}}, + {1805, {wxTextAttr, setLeftIndent, 2}}, + {1806, {wxTextAttr, setRightIndent, 1}}, + {1807, {wxTextAttr, setTabs, 1}}, + {1808, {wxTextAttr, setTextColour, 1}}, + {1809, {wxTextAttr, 'Destroy', undefined}}, + {1811, {wxTextCtrl, new_3, 3}}, + {1812, {wxTextCtrl, new_0, 0}}, + {1814, {wxTextCtrl, destruct, 0}}, + {1815, {wxTextCtrl, appendText, 1}}, + {1816, {wxTextCtrl, canCopy, 0}}, + {1817, {wxTextCtrl, canCut, 0}}, + {1818, {wxTextCtrl, canPaste, 0}}, + {1819, {wxTextCtrl, canRedo, 0}}, + {1820, {wxTextCtrl, canUndo, 0}}, + {1821, {wxTextCtrl, clear, 0}}, + {1822, {wxTextCtrl, copy, 0}}, + {1823, {wxTextCtrl, create, 3}}, + {1824, {wxTextCtrl, cut, 0}}, + {1825, {wxTextCtrl, discardEdits, 0}}, + {1826, {wxTextCtrl, emulateKeyPress, 1}}, + {1827, {wxTextCtrl, getDefaultStyle, 0}}, + {1828, {wxTextCtrl, getInsertionPoint, 0}}, + {1829, {wxTextCtrl, getLastPosition, 0}}, + {1830, {wxTextCtrl, getLineLength, 1}}, + {1831, {wxTextCtrl, getLineText, 1}}, + {1832, {wxTextCtrl, getNumberOfLines, 0}}, + {1833, {wxTextCtrl, getRange, 2}}, + {1834, {wxTextCtrl, getSelection, 2}}, + {1835, {wxTextCtrl, getStringSelection, 0}}, + {1836, {wxTextCtrl, getStyle, 2}}, + {1837, {wxTextCtrl, getValue, 0}}, + {1838, {wxTextCtrl, isEditable, 0}}, + {1839, {wxTextCtrl, isModified, 0}}, + {1840, {wxTextCtrl, isMultiLine, 0}}, + {1841, {wxTextCtrl, isSingleLine, 0}}, + {1842, {wxTextCtrl, loadFile, 2}}, + {1843, {wxTextCtrl, markDirty, 0}}, + {1844, {wxTextCtrl, paste, 0}}, + {1845, {wxTextCtrl, positionToXY, 3}}, + {1846, {wxTextCtrl, redo, 0}}, + {1847, {wxTextCtrl, remove, 2}}, + {1848, {wxTextCtrl, replace, 3}}, + {1849, {wxTextCtrl, saveFile, 1}}, + {1850, {wxTextCtrl, setDefaultStyle, 1}}, + {1851, {wxTextCtrl, setEditable, 1}}, + {1852, {wxTextCtrl, setInsertionPoint, 1}}, + {1853, {wxTextCtrl, setInsertionPointEnd, 0}}, + {1855, {wxTextCtrl, setMaxLength, 1}}, + {1856, {wxTextCtrl, setSelection, 2}}, + {1857, {wxTextCtrl, setStyle, 3}}, + {1858, {wxTextCtrl, setValue, 1}}, + {1859, {wxTextCtrl, showPosition, 1}}, + {1860, {wxTextCtrl, undo, 0}}, + {1861, {wxTextCtrl, writeText, 1}}, + {1862, {wxTextCtrl, xYToPosition, 2}}, + {1865, {wxNotebook, new_0, 0}}, + {1866, {wxNotebook, new_3, 3}}, + {1867, {wxNotebook, destruct, 0}}, + {1868, {wxNotebook, addPage, 3}}, + {1869, {wxNotebook, advanceSelection, 1}}, + {1870, {wxNotebook, assignImageList, 1}}, + {1871, {wxNotebook, create, 3}}, + {1872, {wxNotebook, deleteAllPages, 0}}, + {1873, {wxNotebook, deletePage, 1}}, + {1874, {wxNotebook, removePage, 1}}, + {1875, {wxNotebook, getCurrentPage, 0}}, + {1876, {wxNotebook, getImageList, 0}}, + {1878, {wxNotebook, getPage, 1}}, + {1879, {wxNotebook, getPageCount, 0}}, + {1880, {wxNotebook, getPageImage, 1}}, + {1881, {wxNotebook, getPageText, 1}}, + {1882, {wxNotebook, getRowCount, 0}}, + {1883, {wxNotebook, getSelection, 0}}, + {1884, {wxNotebook, getThemeBackgroundColour, 0}}, + {1886, {wxNotebook, hitTest, 2}}, + {1888, {wxNotebook, insertPage, 4}}, + {1889, {wxNotebook, setImageList, 1}}, + {1890, {wxNotebook, setPadding, 1}}, + {1891, {wxNotebook, setPageSize, 1}}, + {1892, {wxNotebook, setPageImage, 2}}, + {1893, {wxNotebook, setPageText, 2}}, + {1894, {wxNotebook, setSelection, 1}}, + {1895, {wxNotebook, changeSelection, 1}}, + {1896, {wxChoicebook, new_0, 0}}, + {1897, {wxChoicebook, new_3, 3}}, + {1898, {wxChoicebook, addPage, 3}}, + {1899, {wxChoicebook, advanceSelection, 1}}, + {1900, {wxChoicebook, assignImageList, 1}}, + {1901, {wxChoicebook, create, 3}}, + {1902, {wxChoicebook, deleteAllPages, 0}}, + {1903, {wxChoicebook, deletePage, 1}}, + {1904, {wxChoicebook, removePage, 1}}, + {1905, {wxChoicebook, getCurrentPage, 0}}, + {1906, {wxChoicebook, getImageList, 0}}, + {1908, {wxChoicebook, getPage, 1}}, + {1909, {wxChoicebook, getPageCount, 0}}, + {1910, {wxChoicebook, getPageImage, 1}}, + {1911, {wxChoicebook, getPageText, 1}}, + {1912, {wxChoicebook, getSelection, 0}}, + {1913, {wxChoicebook, hitTest, 2}}, + {1914, {wxChoicebook, insertPage, 4}}, + {1915, {wxChoicebook, setImageList, 1}}, + {1916, {wxChoicebook, setPageSize, 1}}, + {1917, {wxChoicebook, setPageImage, 2}}, + {1918, {wxChoicebook, setPageText, 2}}, + {1919, {wxChoicebook, setSelection, 1}}, + {1920, {wxChoicebook, changeSelection, 1}}, + {1921, {wxChoicebook, 'Destroy', undefined}}, + {1922, {wxToolbook, new_0, 0}}, + {1923, {wxToolbook, new_3, 3}}, + {1924, {wxToolbook, addPage, 3}}, + {1925, {wxToolbook, advanceSelection, 1}}, + {1926, {wxToolbook, assignImageList, 1}}, + {1927, {wxToolbook, create, 3}}, + {1928, {wxToolbook, deleteAllPages, 0}}, + {1929, {wxToolbook, deletePage, 1}}, + {1930, {wxToolbook, removePage, 1}}, + {1931, {wxToolbook, getCurrentPage, 0}}, + {1932, {wxToolbook, getImageList, 0}}, + {1934, {wxToolbook, getPage, 1}}, + {1935, {wxToolbook, getPageCount, 0}}, + {1936, {wxToolbook, getPageImage, 1}}, + {1937, {wxToolbook, getPageText, 1}}, + {1938, {wxToolbook, getSelection, 0}}, + {1940, {wxToolbook, hitTest, 2}}, + {1941, {wxToolbook, insertPage, 4}}, + {1942, {wxToolbook, setImageList, 1}}, + {1943, {wxToolbook, setPageSize, 1}}, + {1944, {wxToolbook, setPageImage, 2}}, + {1945, {wxToolbook, setPageText, 2}}, + {1946, {wxToolbook, setSelection, 1}}, + {1947, {wxToolbook, changeSelection, 1}}, + {1948, {wxToolbook, 'Destroy', undefined}}, + {1949, {wxListbook, new_0, 0}}, + {1950, {wxListbook, new_3, 3}}, + {1951, {wxListbook, addPage, 3}}, + {1952, {wxListbook, advanceSelection, 1}}, + {1953, {wxListbook, assignImageList, 1}}, + {1954, {wxListbook, create, 3}}, + {1955, {wxListbook, deleteAllPages, 0}}, + {1956, {wxListbook, deletePage, 1}}, + {1957, {wxListbook, removePage, 1}}, + {1958, {wxListbook, getCurrentPage, 0}}, + {1959, {wxListbook, getImageList, 0}}, + {1961, {wxListbook, getPage, 1}}, + {1962, {wxListbook, getPageCount, 0}}, + {1963, {wxListbook, getPageImage, 1}}, + {1964, {wxListbook, getPageText, 1}}, + {1965, {wxListbook, getSelection, 0}}, + {1967, {wxListbook, hitTest, 2}}, + {1968, {wxListbook, insertPage, 4}}, + {1969, {wxListbook, setImageList, 1}}, + {1970, {wxListbook, setPageSize, 1}}, + {1971, {wxListbook, setPageImage, 2}}, + {1972, {wxListbook, setPageText, 2}}, + {1973, {wxListbook, setSelection, 1}}, + {1974, {wxListbook, changeSelection, 1}}, + {1975, {wxListbook, 'Destroy', undefined}}, + {1976, {wxTreebook, new_0, 0}}, + {1977, {wxTreebook, new_3, 3}}, + {1978, {wxTreebook, addPage, 3}}, + {1979, {wxTreebook, advanceSelection, 1}}, + {1980, {wxTreebook, assignImageList, 1}}, + {1981, {wxTreebook, create, 3}}, + {1982, {wxTreebook, deleteAllPages, 0}}, + {1983, {wxTreebook, deletePage, 1}}, + {1984, {wxTreebook, removePage, 1}}, + {1985, {wxTreebook, getCurrentPage, 0}}, + {1986, {wxTreebook, getImageList, 0}}, + {1988, {wxTreebook, getPage, 1}}, + {1989, {wxTreebook, getPageCount, 0}}, + {1990, {wxTreebook, getPageImage, 1}}, + {1991, {wxTreebook, getPageText, 1}}, + {1992, {wxTreebook, getSelection, 0}}, + {1993, {wxTreebook, expandNode, 2}}, + {1994, {wxTreebook, isNodeExpanded, 1}}, + {1996, {wxTreebook, hitTest, 2}}, + {1997, {wxTreebook, insertPage, 4}}, + {1998, {wxTreebook, insertSubPage, 4}}, + {1999, {wxTreebook, setImageList, 1}}, + {2000, {wxTreebook, setPageSize, 1}}, + {2001, {wxTreebook, setPageImage, 2}}, + {2002, {wxTreebook, setPageText, 2}}, + {2003, {wxTreebook, setSelection, 1}}, + {2004, {wxTreebook, changeSelection, 1}}, + {2005, {wxTreebook, 'Destroy', undefined}}, + {2008, {wxTreeCtrl, new_2, 2}}, + {2009, {wxTreeCtrl, new_0, 0}}, + {2011, {wxTreeCtrl, destruct, 0}}, + {2012, {wxTreeCtrl, addRoot, 2}}, + {2013, {wxTreeCtrl, appendItem, 3}}, + {2014, {wxTreeCtrl, assignImageList, 1}}, + {2015, {wxTreeCtrl, assignStateImageList, 1}}, + {2016, {wxTreeCtrl, collapse, 1}}, + {2017, {wxTreeCtrl, collapseAndReset, 1}}, + {2018, {wxTreeCtrl, create, 2}}, + {2019, {wxTreeCtrl, delete, 1}}, + {2020, {wxTreeCtrl, deleteAllItems, 0}}, + {2021, {wxTreeCtrl, deleteChildren, 1}}, + {2022, {wxTreeCtrl, editLabel, 1}}, + {2023, {wxTreeCtrl, ensureVisible, 1}}, + {2024, {wxTreeCtrl, expand, 1}}, + {2025, {wxTreeCtrl, getBoundingRect, 3}}, + {2027, {wxTreeCtrl, getChildrenCount, 2}}, + {2028, {wxTreeCtrl, getCount, 0}}, + {2029, {wxTreeCtrl, getEditControl, 0}}, + {2030, {wxTreeCtrl, getFirstChild, 2}}, + {2031, {wxTreeCtrl, getNextChild, 2}}, + {2032, {wxTreeCtrl, getFirstVisibleItem, 0}}, + {2033, {wxTreeCtrl, getImageList, 0}}, + {2034, {wxTreeCtrl, getIndent, 0}}, + {2035, {wxTreeCtrl, getItemBackgroundColour, 1}}, + {2036, {wxTreeCtrl, getItemData, 1}}, + {2037, {wxTreeCtrl, getItemFont, 1}}, + {2038, {wxTreeCtrl, getItemImage_1, 1}}, + {2039, {wxTreeCtrl, getItemImage_2, 2}}, + {2040, {wxTreeCtrl, getItemText, 1}}, + {2041, {wxTreeCtrl, getItemTextColour, 1}}, + {2042, {wxTreeCtrl, getLastChild, 1}}, + {2043, {wxTreeCtrl, getNextSibling, 1}}, + {2044, {wxTreeCtrl, getNextVisible, 1}}, + {2045, {wxTreeCtrl, getItemParent, 1}}, + {2046, {wxTreeCtrl, getPrevSibling, 1}}, + {2047, {wxTreeCtrl, getPrevVisible, 1}}, + {2048, {wxTreeCtrl, getRootItem, 0}}, + {2049, {wxTreeCtrl, getSelection, 0}}, + {2050, {wxTreeCtrl, getSelections, 1}}, + {2051, {wxTreeCtrl, getStateImageList, 0}}, + {2052, {wxTreeCtrl, hitTest, 1}}, + {2054, {wxTreeCtrl, insertItem, 4}}, + {2055, {wxTreeCtrl, isBold, 1}}, + {2056, {wxTreeCtrl, isExpanded, 1}}, + {2057, {wxTreeCtrl, isSelected, 1}}, + {2058, {wxTreeCtrl, isVisible, 1}}, + {2059, {wxTreeCtrl, itemHasChildren, 1}}, + {2060, {wxTreeCtrl, prependItem, 3}}, + {2061, {wxTreeCtrl, scrollTo, 1}}, + {2062, {wxTreeCtrl, selectItem_1, 1}}, + {2063, {wxTreeCtrl, selectItem_2, 2}}, + {2064, {wxTreeCtrl, setIndent, 1}}, + {2065, {wxTreeCtrl, setImageList, 1}}, + {2066, {wxTreeCtrl, setItemBackgroundColour, 2}}, + {2067, {wxTreeCtrl, setItemBold, 2}}, + {2068, {wxTreeCtrl, setItemData, 2}}, + {2069, {wxTreeCtrl, setItemDropHighlight, 2}}, + {2070, {wxTreeCtrl, setItemFont, 2}}, + {2071, {wxTreeCtrl, setItemHasChildren, 2}}, + {2072, {wxTreeCtrl, setItemImage_2, 2}}, + {2073, {wxTreeCtrl, setItemImage_3, 3}}, + {2074, {wxTreeCtrl, setItemText, 2}}, + {2075, {wxTreeCtrl, setItemTextColour, 2}}, + {2076, {wxTreeCtrl, setStateImageList, 1}}, + {2077, {wxTreeCtrl, setWindowStyle, 1}}, + {2078, {wxTreeCtrl, sortChildren, 1}}, + {2079, {wxTreeCtrl, toggle, 1}}, + {2080, {wxTreeCtrl, toggleItemSelection, 1}}, + {2081, {wxTreeCtrl, unselect, 0}}, + {2082, {wxTreeCtrl, unselectAll, 0}}, + {2083, {wxTreeCtrl, unselectItem, 1}}, + {2084, {wxScrollBar, new_0, 0}}, + {2085, {wxScrollBar, new_3, 3}}, + {2086, {wxScrollBar, destruct, 0}}, + {2087, {wxScrollBar, create, 3}}, + {2088, {wxScrollBar, getRange, 0}}, + {2089, {wxScrollBar, getPageSize, 0}}, + {2090, {wxScrollBar, getThumbPosition, 0}}, + {2091, {wxScrollBar, getThumbSize, 0}}, + {2092, {wxScrollBar, setThumbPosition, 1}}, + {2093, {wxScrollBar, setScrollbar, 5}}, + {2095, {wxSpinButton, new_2, 2}}, + {2096, {wxSpinButton, new_0, 0}}, + {2097, {wxSpinButton, create, 2}}, + {2098, {wxSpinButton, getMax, 0}}, + {2099, {wxSpinButton, getMin, 0}}, + {2100, {wxSpinButton, getValue, 0}}, + {2101, {wxSpinButton, setRange, 2}}, + {2102, {wxSpinButton, setValue, 1}}, + {2103, {wxSpinButton, 'Destroy', undefined}}, + {2104, {wxSpinCtrl, new_0, 0}}, + {2105, {wxSpinCtrl, new_2, 2}}, + {2107, {wxSpinCtrl, create, 2}}, + {2110, {wxSpinCtrl, setValue_1_1, 1}}, + {2111, {wxSpinCtrl, setValue_1_0, 1}}, + {2113, {wxSpinCtrl, getValue, 0}}, + {2115, {wxSpinCtrl, setRange, 2}}, + {2116, {wxSpinCtrl, setSelection, 2}}, + {2118, {wxSpinCtrl, getMin, 0}}, + {2120, {wxSpinCtrl, getMax, 0}}, + {2121, {wxSpinCtrl, 'Destroy', undefined}}, + {2122, {wxStaticText, new_0, 0}}, + {2123, {wxStaticText, new_4, 4}}, + {2124, {wxStaticText, create, 4}}, + {2125, {wxStaticText, getLabel, 0}}, + {2126, {wxStaticText, setLabel, 1}}, + {2127, {wxStaticText, wrap, 1}}, + {2128, {wxStaticText, 'Destroy', undefined}}, + {2129, {wxStaticBitmap, new_0, 0}}, + {2130, {wxStaticBitmap, new_4, 4}}, + {2131, {wxStaticBitmap, create, 4}}, + {2132, {wxStaticBitmap, getBitmap, 0}}, + {2133, {wxStaticBitmap, setBitmap, 1}}, + {2134, {wxStaticBitmap, 'Destroy', undefined}}, + {2135, {wxRadioBox, new, 7}}, + {2137, {wxRadioBox, destruct, 0}}, + {2138, {wxRadioBox, create, 7}}, + {2139, {wxRadioBox, enable_2, 2}}, + {2140, {wxRadioBox, enable_1, 1}}, + {2141, {wxRadioBox, getSelection, 0}}, + {2142, {wxRadioBox, getString, 1}}, + {2143, {wxRadioBox, setSelection, 1}}, + {2144, {wxRadioBox, show_2, 2}}, + {2145, {wxRadioBox, show_1, 1}}, + {2146, {wxRadioBox, getColumnCount, 0}}, + {2147, {wxRadioBox, getItemHelpText, 1}}, + {2148, {wxRadioBox, getItemToolTip, 1}}, + {2150, {wxRadioBox, getItemFromPoint, 1}}, + {2151, {wxRadioBox, getRowCount, 0}}, + {2152, {wxRadioBox, isItemEnabled, 1}}, + {2153, {wxRadioBox, isItemShown, 1}}, + {2154, {wxRadioBox, setItemHelpText, 2}}, + {2155, {wxRadioBox, setItemToolTip, 2}}, + {2156, {wxRadioButton, new_0, 0}}, + {2157, {wxRadioButton, new_4, 4}}, + {2158, {wxRadioButton, create, 4}}, + {2159, {wxRadioButton, getValue, 0}}, + {2160, {wxRadioButton, setValue, 1}}, + {2161, {wxRadioButton, 'Destroy', undefined}}, + {2163, {wxSlider, new_6, 6}}, + {2164, {wxSlider, new_0, 0}}, + {2165, {wxSlider, create, 6}}, + {2166, {wxSlider, getLineSize, 0}}, + {2167, {wxSlider, getMax, 0}}, + {2168, {wxSlider, getMin, 0}}, + {2169, {wxSlider, getPageSize, 0}}, + {2170, {wxSlider, getThumbLength, 0}}, + {2171, {wxSlider, getValue, 0}}, + {2172, {wxSlider, setLineSize, 1}}, + {2173, {wxSlider, setPageSize, 1}}, + {2174, {wxSlider, setRange, 2}}, + {2175, {wxSlider, setThumbLength, 1}}, + {2176, {wxSlider, setValue, 1}}, + {2177, {wxSlider, 'Destroy', undefined}}, + {2179, {wxDialog, new_4, 4}}, + {2180, {wxDialog, new_0, 0}}, + {2182, {wxDialog, destruct, 0}}, + {2183, {wxDialog, create, 4}}, + {2184, {wxDialog, createButtonSizer, 1}}, + {2185, {wxDialog, createStdDialogButtonSizer, 1}}, + {2186, {wxDialog, endModal, 1}}, + {2187, {wxDialog, getAffirmativeId, 0}}, + {2188, {wxDialog, getReturnCode, 0}}, + {2189, {wxDialog, isModal, 0}}, + {2190, {wxDialog, setAffirmativeId, 1}}, + {2191, {wxDialog, setReturnCode, 1}}, + {2192, {wxDialog, show, 1}}, + {2193, {wxDialog, showModal, 0}}, + {2194, {wxColourDialog, new_0, 0}}, + {2195, {wxColourDialog, new_2, 2}}, + {2196, {wxColourDialog, destruct, 0}}, + {2197, {wxColourDialog, create, 2}}, + {2198, {wxColourDialog, getColourData, 0}}, + {2199, {wxColourData, new_0, 0}}, + {2200, {wxColourData, new_1, 1}}, + {2201, {wxColourData, destruct, 0}}, + {2202, {wxColourData, getChooseFull, 0}}, + {2203, {wxColourData, getColour, 0}}, + {2205, {wxColourData, getCustomColour, 1}}, + {2206, {wxColourData, setChooseFull, 1}}, + {2207, {wxColourData, setColour, 1}}, + {2208, {wxColourData, setCustomColour, 2}}, + {2209, {wxPalette, new_0, 0}}, + {2210, {wxPalette, new_4, 4}}, + {2212, {wxPalette, destruct, 0}}, + {2213, {wxPalette, create, 4}}, + {2214, {wxPalette, getColoursCount, 0}}, + {2215, {wxPalette, getPixel, 3}}, + {2216, {wxPalette, getRGB, 4}}, + {2217, {wxPalette, isOk, 0}}, + {2221, {wxDirDialog, new, 2}}, + {2222, {wxDirDialog, destruct, 0}}, + {2223, {wxDirDialog, getPath, 0}}, + {2224, {wxDirDialog, getMessage, 0}}, + {2225, {wxDirDialog, setMessage, 1}}, + {2226, {wxDirDialog, setPath, 1}}, + {2230, {wxFileDialog, new, 2}}, + {2231, {wxFileDialog, destruct, 0}}, + {2232, {wxFileDialog, getDirectory, 0}}, + {2233, {wxFileDialog, getFilename, 0}}, + {2234, {wxFileDialog, getFilenames, 1}}, + {2235, {wxFileDialog, getFilterIndex, 0}}, + {2236, {wxFileDialog, getMessage, 0}}, + {2237, {wxFileDialog, getPath, 0}}, + {2238, {wxFileDialog, getPaths, 1}}, + {2239, {wxFileDialog, getWildcard, 0}}, + {2240, {wxFileDialog, setDirectory, 1}}, + {2241, {wxFileDialog, setFilename, 1}}, + {2242, {wxFileDialog, setFilterIndex, 1}}, + {2243, {wxFileDialog, setMessage, 1}}, + {2244, {wxFileDialog, setPath, 1}}, + {2245, {wxFileDialog, setWildcard, 1}}, + {2246, {wxPickerBase, setInternalMargin, 1}}, + {2247, {wxPickerBase, getInternalMargin, 0}}, + {2248, {wxPickerBase, setTextCtrlProportion, 1}}, + {2249, {wxPickerBase, setPickerCtrlProportion, 1}}, + {2250, {wxPickerBase, getTextCtrlProportion, 0}}, + {2251, {wxPickerBase, getPickerCtrlProportion, 0}}, + {2252, {wxPickerBase, hasTextCtrl, 0}}, + {2253, {wxPickerBase, getTextCtrl, 0}}, + {2254, {wxPickerBase, isTextCtrlGrowable, 0}}, + {2255, {wxPickerBase, setPickerCtrlGrowable, 1}}, + {2256, {wxPickerBase, setTextCtrlGrowable, 1}}, + {2257, {wxPickerBase, isPickerCtrlGrowable, 0}}, + {2258, {wxFilePickerCtrl, new_0, 0}}, + {2259, {wxFilePickerCtrl, new_3, 3}}, + {2260, {wxFilePickerCtrl, create, 3}}, + {2261, {wxFilePickerCtrl, getPath, 0}}, + {2262, {wxFilePickerCtrl, setPath, 1}}, + {2263, {wxFilePickerCtrl, 'Destroy', undefined}}, + {2264, {wxDirPickerCtrl, new_0, 0}}, + {2265, {wxDirPickerCtrl, new_3, 3}}, + {2266, {wxDirPickerCtrl, create, 3}}, + {2267, {wxDirPickerCtrl, getPath, 0}}, + {2268, {wxDirPickerCtrl, setPath, 1}}, + {2269, {wxDirPickerCtrl, 'Destroy', undefined}}, + {2270, {wxColourPickerCtrl, new_0, 0}}, + {2271, {wxColourPickerCtrl, new_3, 3}}, + {2272, {wxColourPickerCtrl, create, 3}}, + {2273, {wxColourPickerCtrl, getColour, 0}}, + {2274, {wxColourPickerCtrl, setColour_1_1, 1}}, + {2275, {wxColourPickerCtrl, setColour_1_0, 1}}, + {2276, {wxColourPickerCtrl, 'Destroy', undefined}}, + {2277, {wxDatePickerCtrl, new_0, 0}}, + {2278, {wxDatePickerCtrl, new_3, 3}}, + {2279, {wxDatePickerCtrl, getRange, 2}}, + {2280, {wxDatePickerCtrl, getValue, 0}}, + {2281, {wxDatePickerCtrl, setRange, 2}}, + {2282, {wxDatePickerCtrl, setValue, 1}}, + {2283, {wxDatePickerCtrl, 'Destroy', undefined}}, + {2284, {wxFontPickerCtrl, new_0, 0}}, + {2285, {wxFontPickerCtrl, new_3, 3}}, + {2286, {wxFontPickerCtrl, create, 3}}, + {2287, {wxFontPickerCtrl, getSelectedFont, 0}}, + {2288, {wxFontPickerCtrl, setSelectedFont, 1}}, + {2289, {wxFontPickerCtrl, getMaxPointSize, 0}}, + {2290, {wxFontPickerCtrl, setMaxPointSize, 1}}, + {2291, {wxFontPickerCtrl, 'Destroy', undefined}}, + {2294, {wxFindReplaceDialog, new_0, 0}}, + {2295, {wxFindReplaceDialog, new_4, 4}}, + {2296, {wxFindReplaceDialog, destruct, 0}}, + {2297, {wxFindReplaceDialog, create, 4}}, + {2298, {wxFindReplaceDialog, getData, 0}}, + {2299, {wxFindReplaceData, new_0, 0}}, + {2300, {wxFindReplaceData, new_1, 1}}, + {2301, {wxFindReplaceData, getFindString, 0}}, + {2302, {wxFindReplaceData, getReplaceString, 0}}, + {2303, {wxFindReplaceData, getFlags, 0}}, + {2304, {wxFindReplaceData, setFlags, 1}}, + {2305, {wxFindReplaceData, setFindString, 1}}, + {2306, {wxFindReplaceData, setReplaceString, 1}}, + {2307, {wxFindReplaceData, 'Destroy', undefined}}, + {2308, {wxMultiChoiceDialog, new_0, 0}}, + {2310, {wxMultiChoiceDialog, new_5, 5}}, + {2311, {wxMultiChoiceDialog, getSelections, 0}}, + {2312, {wxMultiChoiceDialog, setSelections, 1}}, + {2313, {wxMultiChoiceDialog, 'Destroy', undefined}}, + {2314, {wxSingleChoiceDialog, new_0, 0}}, + {2316, {wxSingleChoiceDialog, new_5, 5}}, + {2317, {wxSingleChoiceDialog, getSelection, 0}}, + {2318, {wxSingleChoiceDialog, getStringSelection, 0}}, + {2319, {wxSingleChoiceDialog, setSelection, 1}}, + {2320, {wxSingleChoiceDialog, 'Destroy', undefined}}, + {2321, {wxTextEntryDialog, new, 3}}, + {2322, {wxTextEntryDialog, getValue, 0}}, + {2323, {wxTextEntryDialog, setValue, 1}}, + {2324, {wxTextEntryDialog, 'Destroy', undefined}}, + {2325, {wxPasswordEntryDialog, new, 3}}, + {2326, {wxPasswordEntryDialog, 'Destroy', undefined}}, + {2327, {wxFontData, new_0, 0}}, + {2328, {wxFontData, new_1, 1}}, + {2329, {wxFontData, destruct, 0}}, + {2330, {wxFontData, enableEffects, 1}}, + {2331, {wxFontData, getAllowSymbols, 0}}, + {2332, {wxFontData, getColour, 0}}, + {2333, {wxFontData, getChosenFont, 0}}, + {2334, {wxFontData, getEnableEffects, 0}}, + {2335, {wxFontData, getInitialFont, 0}}, + {2336, {wxFontData, getShowHelp, 0}}, + {2337, {wxFontData, setAllowSymbols, 1}}, + {2338, {wxFontData, setChosenFont, 1}}, + {2339, {wxFontData, setColour, 1}}, + {2340, {wxFontData, setInitialFont, 1}}, + {2341, {wxFontData, setRange, 2}}, + {2342, {wxFontData, setShowHelp, 1}}, + {2346, {wxFontDialog, new_0, 0}}, + {2348, {wxFontDialog, new_2, 2}}, + {2350, {wxFontDialog, create, 2}}, + {2351, {wxFontDialog, getFontData, 0}}, + {2353, {wxFontDialog, 'Destroy', undefined}}, + {2354, {wxProgressDialog, new, 3}}, + {2355, {wxProgressDialog, destruct, 0}}, + {2356, {wxProgressDialog, resume, 0}}, + {2357, {wxProgressDialog, update_2, 2}}, + {2358, {wxProgressDialog, update_0, 0}}, + {2359, {wxMessageDialog, new, 3}}, + {2360, {wxMessageDialog, destruct, 0}}, + {2361, {wxPageSetupDialog, new, 2}}, + {2362, {wxPageSetupDialog, destruct, 0}}, + {2363, {wxPageSetupDialog, getPageSetupData, 0}}, + {2364, {wxPageSetupDialog, showModal, 0}}, + {2365, {wxPageSetupDialogData, new_0, 0}}, + {2366, {wxPageSetupDialogData, new_1_0, 1}}, + {2367, {wxPageSetupDialogData, new_1_1, 1}}, + {2368, {wxPageSetupDialogData, destruct, 0}}, + {2369, {wxPageSetupDialogData, enableHelp, 1}}, + {2370, {wxPageSetupDialogData, enableMargins, 1}}, + {2371, {wxPageSetupDialogData, enableOrientation, 1}}, + {2372, {wxPageSetupDialogData, enablePaper, 1}}, + {2373, {wxPageSetupDialogData, enablePrinter, 1}}, + {2374, {wxPageSetupDialogData, getDefaultMinMargins, 0}}, + {2375, {wxPageSetupDialogData, getEnableMargins, 0}}, + {2376, {wxPageSetupDialogData, getEnableOrientation, 0}}, + {2377, {wxPageSetupDialogData, getEnablePaper, 0}}, + {2378, {wxPageSetupDialogData, getEnablePrinter, 0}}, + {2379, {wxPageSetupDialogData, getEnableHelp, 0}}, + {2380, {wxPageSetupDialogData, getDefaultInfo, 0}}, + {2381, {wxPageSetupDialogData, getMarginTopLeft, 0}}, + {2382, {wxPageSetupDialogData, getMarginBottomRight, 0}}, + {2383, {wxPageSetupDialogData, getMinMarginTopLeft, 0}}, + {2384, {wxPageSetupDialogData, getMinMarginBottomRight, 0}}, + {2385, {wxPageSetupDialogData, getPaperId, 0}}, + {2386, {wxPageSetupDialogData, getPaperSize, 0}}, + {2388, {wxPageSetupDialogData, getPrintData, 0}}, + {2389, {wxPageSetupDialogData, isOk, 0}}, + {2390, {wxPageSetupDialogData, setDefaultInfo, 1}}, + {2391, {wxPageSetupDialogData, setDefaultMinMargins, 1}}, + {2392, {wxPageSetupDialogData, setMarginTopLeft, 1}}, + {2393, {wxPageSetupDialogData, setMarginBottomRight, 1}}, + {2394, {wxPageSetupDialogData, setMinMarginTopLeft, 1}}, + {2395, {wxPageSetupDialogData, setMinMarginBottomRight, 1}}, + {2396, {wxPageSetupDialogData, setPaperId, 1}}, + {2397, {wxPageSetupDialogData, setPaperSize_1_1, 1}}, + {2398, {wxPageSetupDialogData, setPaperSize_1_0, 1}}, + {2399, {wxPageSetupDialogData, setPrintData, 1}}, + {2400, {wxPrintDialog, new_2_0, 2}}, + {2401, {wxPrintDialog, new_2_1, 2}}, + {2402, {wxPrintDialog, destruct, 0}}, + {2403, {wxPrintDialog, getPrintDialogData, 0}}, + {2404, {wxPrintDialog, getPrintDC, 0}}, + {2405, {wxPrintDialogData, new_0, 0}}, + {2406, {wxPrintDialogData, new_1_1, 1}}, + {2407, {wxPrintDialogData, new_1_0, 1}}, + {2408, {wxPrintDialogData, destruct, 0}}, + {2409, {wxPrintDialogData, enableHelp, 1}}, + {2410, {wxPrintDialogData, enablePageNumbers, 1}}, + {2411, {wxPrintDialogData, enablePrintToFile, 1}}, + {2412, {wxPrintDialogData, enableSelection, 1}}, + {2413, {wxPrintDialogData, getAllPages, 0}}, + {2414, {wxPrintDialogData, getCollate, 0}}, + {2415, {wxPrintDialogData, getFromPage, 0}}, + {2416, {wxPrintDialogData, getMaxPage, 0}}, + {2417, {wxPrintDialogData, getMinPage, 0}}, + {2418, {wxPrintDialogData, getNoCopies, 0}}, + {2419, {wxPrintDialogData, getPrintData, 0}}, + {2420, {wxPrintDialogData, getPrintToFile, 0}}, + {2421, {wxPrintDialogData, getSelection, 0}}, + {2422, {wxPrintDialogData, getToPage, 0}}, + {2423, {wxPrintDialogData, isOk, 0}}, + {2424, {wxPrintDialogData, setCollate, 1}}, + {2425, {wxPrintDialogData, setFromPage, 1}}, + {2426, {wxPrintDialogData, setMaxPage, 1}}, + {2427, {wxPrintDialogData, setMinPage, 1}}, + {2428, {wxPrintDialogData, setNoCopies, 1}}, + {2429, {wxPrintDialogData, setPrintData, 1}}, + {2430, {wxPrintDialogData, setPrintToFile, 1}}, + {2431, {wxPrintDialogData, setSelection, 1}}, + {2432, {wxPrintDialogData, setToPage, 1}}, + {2433, {wxPrintData, new_0, 0}}, + {2434, {wxPrintData, new_1, 1}}, + {2435, {wxPrintData, destruct, 0}}, + {2436, {wxPrintData, getCollate, 0}}, + {2437, {wxPrintData, getBin, 0}}, + {2438, {wxPrintData, getColour, 0}}, + {2439, {wxPrintData, getDuplex, 0}}, + {2440, {wxPrintData, getNoCopies, 0}}, + {2441, {wxPrintData, getOrientation, 0}}, + {2442, {wxPrintData, getPaperId, 0}}, + {2443, {wxPrintData, getPrinterName, 0}}, + {2444, {wxPrintData, getQuality, 0}}, + {2445, {wxPrintData, isOk, 0}}, + {2446, {wxPrintData, setBin, 1}}, + {2447, {wxPrintData, setCollate, 1}}, + {2448, {wxPrintData, setColour, 1}}, + {2449, {wxPrintData, setDuplex, 1}}, + {2450, {wxPrintData, setNoCopies, 1}}, + {2451, {wxPrintData, setOrientation, 1}}, + {2452, {wxPrintData, setPaperId, 1}}, + {2453, {wxPrintData, setPrinterName, 1}}, + {2454, {wxPrintData, setQuality, 1}}, + {2457, {wxPrintPreview, new_2, 2}}, + {2458, {wxPrintPreview, new_3, 3}}, + {2460, {wxPrintPreview, destruct, 0}}, + {2461, {wxPrintPreview, getCanvas, 0}}, + {2462, {wxPrintPreview, getCurrentPage, 0}}, + {2463, {wxPrintPreview, getFrame, 0}}, + {2464, {wxPrintPreview, getMaxPage, 0}}, + {2465, {wxPrintPreview, getMinPage, 0}}, + {2466, {wxPrintPreview, getPrintout, 0}}, + {2467, {wxPrintPreview, getPrintoutForPrinting, 0}}, + {2468, {wxPrintPreview, isOk, 0}}, + {2469, {wxPrintPreview, paintPage, 2}}, + {2470, {wxPrintPreview, print, 1}}, + {2471, {wxPrintPreview, renderPage, 1}}, + {2472, {wxPrintPreview, setCanvas, 1}}, + {2473, {wxPrintPreview, setCurrentPage, 1}}, + {2474, {wxPrintPreview, setFrame, 1}}, + {2475, {wxPrintPreview, setPrintout, 1}}, + {2476, {wxPrintPreview, setZoom, 1}}, + {2477, {wxPreviewFrame, new, 3}}, + {2478, {wxPreviewFrame, destruct, 0}}, + {2479, {wxPreviewFrame, createControlBar, 0}}, + {2480, {wxPreviewFrame, createCanvas, 0}}, + {2481, {wxPreviewFrame, initialize, 0}}, + {2482, {wxPreviewFrame, onCloseWindow, 1}}, + {2483, {wxPreviewControlBar, new, 4}}, + {2484, {wxPreviewControlBar, destruct, 0}}, + {2485, {wxPreviewControlBar, createButtons, 0}}, + {2486, {wxPreviewControlBar, getPrintPreview, 0}}, + {2487, {wxPreviewControlBar, getZoomControl, 0}}, + {2488, {wxPreviewControlBar, setZoomControl, 1}}, + {2490, {wxPrinter, new, 1}}, + {2491, {wxPrinter, createAbortWindow, 2}}, + {2492, {wxPrinter, getAbort, 0}}, + {2493, {wxPrinter, getLastError, 0}}, + {2494, {wxPrinter, getPrintDialogData, 0}}, + {2495, {wxPrinter, print, 3}}, + {2496, {wxPrinter, printDialog, 1}}, + {2497, {wxPrinter, reportError, 3}}, + {2498, {wxPrinter, setup, 1}}, + {2499, {wxPrinter, 'Destroy', undefined}}, + {2500, {wxXmlResource, new_1, 1}}, + {2501, {wxXmlResource, new_2, 2}}, + {2502, {wxXmlResource, destruct, 0}}, + {2503, {wxXmlResource, attachUnknownControl, 3}}, + {2504, {wxXmlResource, clearHandlers, 0}}, + {2505, {wxXmlResource, compareVersion, 4}}, + {2506, {wxXmlResource, get, 0}}, + {2507, {wxXmlResource, getFlags, 0}}, + {2508, {wxXmlResource, getVersion, 0}}, + {2509, {wxXmlResource, getXRCID, 2}}, + {2510, {wxXmlResource, initAllHandlers, 0}}, + {2511, {wxXmlResource, load, 1}}, + {2512, {wxXmlResource, loadBitmap, 1}}, + {2513, {wxXmlResource, loadDialog_2, 2}}, + {2514, {wxXmlResource, loadDialog_3, 3}}, + {2515, {wxXmlResource, loadFrame_2, 2}}, + {2516, {wxXmlResource, loadFrame_3, 3}}, + {2517, {wxXmlResource, loadIcon, 1}}, + {2518, {wxXmlResource, loadMenu, 1}}, + {2519, {wxXmlResource, loadMenuBar_2, 2}}, + {2520, {wxXmlResource, loadMenuBar_1, 1}}, + {2521, {wxXmlResource, loadPanel_2, 2}}, + {2522, {wxXmlResource, loadPanel_3, 3}}, + {2523, {wxXmlResource, loadToolBar, 2}}, + {2524, {wxXmlResource, set, 1}}, + {2525, {wxXmlResource, setFlags, 1}}, + {2526, {wxXmlResource, unload, 1}}, + {2527, {wxXmlResource, xrcctrl, 3}}, + {2528, {wxHtmlEasyPrinting, new, 1}}, + {2529, {wxHtmlEasyPrinting, destruct, 0}}, + {2530, {wxHtmlEasyPrinting, getPrintData, 0}}, + {2531, {wxHtmlEasyPrinting, getPageSetupData, 0}}, + {2532, {wxHtmlEasyPrinting, previewFile, 1}}, + {2533, {wxHtmlEasyPrinting, previewText, 2}}, + {2534, {wxHtmlEasyPrinting, printFile, 1}}, + {2535, {wxHtmlEasyPrinting, printText, 2}}, + {2536, {wxHtmlEasyPrinting, pageSetup, 0}}, + {2537, {wxHtmlEasyPrinting, setFonts, 3}}, + {2538, {wxHtmlEasyPrinting, setHeader, 2}}, + {2539, {wxHtmlEasyPrinting, setFooter, 2}}, + {2541, {wxGLCanvas, new_2, 2}}, + {2542, {wxGLCanvas, new_3_1, 3}}, + {2543, {wxGLCanvas, new_3_0, 3}}, + {2544, {wxGLCanvas, getContext, 0}}, + {2546, {wxGLCanvas, setCurrent, 0}}, + {2547, {wxGLCanvas, swapBuffers, 0}}, + {2548, {wxGLCanvas, 'Destroy', undefined}}, + {2549, {wxAuiManager, new, 1}}, + {2550, {wxAuiManager, destruct, 0}}, + {2551, {wxAuiManager, addPane_2_1, 2}}, + {2552, {wxAuiManager, addPane_3, 3}}, + {2553, {wxAuiManager, addPane_2_0, 2}}, + {2554, {wxAuiManager, detachPane, 1}}, + {2555, {wxAuiManager, getAllPanes, 0}}, + {2556, {wxAuiManager, getArtProvider, 0}}, + {2557, {wxAuiManager, getDockSizeConstraint, 2}}, + {2558, {wxAuiManager, getFlags, 0}}, + {2559, {wxAuiManager, getManagedWindow, 0}}, + {2560, {wxAuiManager, getManager, 1}}, + {2561, {wxAuiManager, getPane_1_1, 1}}, + {2562, {wxAuiManager, getPane_1_0, 1}}, + {2563, {wxAuiManager, hideHint, 0}}, + {2564, {wxAuiManager, insertPane, 3}}, + {2565, {wxAuiManager, loadPaneInfo, 2}}, + {2566, {wxAuiManager, loadPerspective, 2}}, + {2567, {wxAuiManager, savePaneInfo, 1}}, + {2568, {wxAuiManager, savePerspective, 0}}, + {2569, {wxAuiManager, setArtProvider, 1}}, + {2570, {wxAuiManager, setDockSizeConstraint, 2}}, + {2571, {wxAuiManager, setFlags, 1}}, + {2572, {wxAuiManager, setManagedWindow, 1}}, + {2573, {wxAuiManager, showHint, 1}}, + {2574, {wxAuiManager, unInit, 0}}, + {2575, {wxAuiManager, update, 0}}, + {2576, {wxAuiPaneInfo, new_0, 0}}, + {2577, {wxAuiPaneInfo, new_1, 1}}, + {2578, {wxAuiPaneInfo, destruct, 0}}, + {2579, {wxAuiPaneInfo, bestSize_1, 1}}, + {2580, {wxAuiPaneInfo, bestSize_2, 2}}, + {2581, {wxAuiPaneInfo, bottom, 0}}, + {2582, {wxAuiPaneInfo, bottomDockable, 1}}, + {2583, {wxAuiPaneInfo, caption, 1}}, + {2584, {wxAuiPaneInfo, captionVisible, 1}}, + {2585, {wxAuiPaneInfo, centre, 0}}, + {2586, {wxAuiPaneInfo, centrePane, 0}}, + {2587, {wxAuiPaneInfo, closeButton, 1}}, + {2588, {wxAuiPaneInfo, defaultPane, 0}}, + {2589, {wxAuiPaneInfo, destroyOnClose, 1}}, + {2590, {wxAuiPaneInfo, direction, 1}}, + {2591, {wxAuiPaneInfo, dock, 0}}, + {2592, {wxAuiPaneInfo, dockable, 1}}, + {2593, {wxAuiPaneInfo, fixed, 0}}, + {2594, {wxAuiPaneInfo, float, 0}}, + {2595, {wxAuiPaneInfo, floatable, 1}}, + {2596, {wxAuiPaneInfo, floatingPosition_1, 1}}, + {2597, {wxAuiPaneInfo, floatingPosition_2, 2}}, + {2598, {wxAuiPaneInfo, floatingSize_1, 1}}, + {2599, {wxAuiPaneInfo, floatingSize_2, 2}}, + {2600, {wxAuiPaneInfo, gripper, 1}}, + {2601, {wxAuiPaneInfo, gripperTop, 1}}, + {2602, {wxAuiPaneInfo, hasBorder, 0}}, + {2603, {wxAuiPaneInfo, hasCaption, 0}}, + {2604, {wxAuiPaneInfo, hasCloseButton, 0}}, + {2605, {wxAuiPaneInfo, hasFlag, 1}}, + {2606, {wxAuiPaneInfo, hasGripper, 0}}, + {2607, {wxAuiPaneInfo, hasGripperTop, 0}}, + {2608, {wxAuiPaneInfo, hasMaximizeButton, 0}}, + {2609, {wxAuiPaneInfo, hasMinimizeButton, 0}}, + {2610, {wxAuiPaneInfo, hasPinButton, 0}}, + {2611, {wxAuiPaneInfo, hide, 0}}, + {2612, {wxAuiPaneInfo, isBottomDockable, 0}}, + {2613, {wxAuiPaneInfo, isDocked, 0}}, + {2614, {wxAuiPaneInfo, isFixed, 0}}, + {2615, {wxAuiPaneInfo, isFloatable, 0}}, + {2616, {wxAuiPaneInfo, isFloating, 0}}, + {2617, {wxAuiPaneInfo, isLeftDockable, 0}}, + {2618, {wxAuiPaneInfo, isMovable, 0}}, + {2619, {wxAuiPaneInfo, isOk, 0}}, + {2620, {wxAuiPaneInfo, isResizable, 0}}, + {2621, {wxAuiPaneInfo, isRightDockable, 0}}, + {2622, {wxAuiPaneInfo, isShown, 0}}, + {2623, {wxAuiPaneInfo, isToolbar, 0}}, + {2624, {wxAuiPaneInfo, isTopDockable, 0}}, + {2625, {wxAuiPaneInfo, layer, 1}}, + {2626, {wxAuiPaneInfo, left, 0}}, + {2627, {wxAuiPaneInfo, leftDockable, 1}}, + {2628, {wxAuiPaneInfo, maxSize_1, 1}}, + {2629, {wxAuiPaneInfo, maxSize_2, 2}}, + {2630, {wxAuiPaneInfo, maximizeButton, 1}}, + {2631, {wxAuiPaneInfo, minSize_1, 1}}, + {2632, {wxAuiPaneInfo, minSize_2, 2}}, + {2633, {wxAuiPaneInfo, minimizeButton, 1}}, + {2634, {wxAuiPaneInfo, movable, 1}}, + {2635, {wxAuiPaneInfo, name, 1}}, + {2636, {wxAuiPaneInfo, paneBorder, 1}}, + {2637, {wxAuiPaneInfo, pinButton, 1}}, + {2638, {wxAuiPaneInfo, position, 1}}, + {2639, {wxAuiPaneInfo, resizable, 1}}, + {2640, {wxAuiPaneInfo, right, 0}}, + {2641, {wxAuiPaneInfo, rightDockable, 1}}, + {2642, {wxAuiPaneInfo, row, 1}}, + {2643, {wxAuiPaneInfo, safeSet, 1}}, + {2644, {wxAuiPaneInfo, setFlag, 2}}, + {2645, {wxAuiPaneInfo, show, 1}}, + {2646, {wxAuiPaneInfo, toolbarPane, 0}}, + {2647, {wxAuiPaneInfo, top, 0}}, + {2648, {wxAuiPaneInfo, topDockable, 1}}, + {2649, {wxAuiPaneInfo, window, 1}}, + {2650, {wxAuiNotebook, new_0, 0}}, + {2651, {wxAuiNotebook, new_2, 2}}, + {2652, {wxAuiNotebook, addPage, 3}}, + {2653, {wxAuiNotebook, create, 2}}, + {2654, {wxAuiNotebook, deletePage, 1}}, + {2655, {wxAuiNotebook, getArtProvider, 0}}, + {2656, {wxAuiNotebook, getPage, 1}}, + {2657, {wxAuiNotebook, getPageBitmap, 1}}, + {2658, {wxAuiNotebook, getPageCount, 0}}, + {2659, {wxAuiNotebook, getPageIndex, 1}}, + {2660, {wxAuiNotebook, getPageText, 1}}, + {2661, {wxAuiNotebook, getSelection, 0}}, + {2662, {wxAuiNotebook, insertPage, 4}}, + {2663, {wxAuiNotebook, removePage, 1}}, + {2664, {wxAuiNotebook, setArtProvider, 1}}, + {2665, {wxAuiNotebook, setFont, 1}}, + {2666, {wxAuiNotebook, setPageBitmap, 2}}, + {2667, {wxAuiNotebook, setPageText, 2}}, + {2668, {wxAuiNotebook, setSelection, 1}}, + {2669, {wxAuiNotebook, setTabCtrlHeight, 1}}, + {2670, {wxAuiNotebook, setUniformBitmapSize, 1}}, + {2671, {wxAuiNotebook, 'Destroy', undefined}}, + {2672, {wxMDIParentFrame, new_0, 0}}, + {2673, {wxMDIParentFrame, new_4, 4}}, + {2674, {wxMDIParentFrame, destruct, 0}}, + {2675, {wxMDIParentFrame, activateNext, 0}}, + {2676, {wxMDIParentFrame, activatePrevious, 0}}, + {2677, {wxMDIParentFrame, arrangeIcons, 0}}, + {2678, {wxMDIParentFrame, cascade, 0}}, + {2679, {wxMDIParentFrame, create, 4}}, + {2680, {wxMDIParentFrame, getActiveChild, 0}}, + {2681, {wxMDIParentFrame, getClientWindow, 0}}, + {2682, {wxMDIParentFrame, tile, 1}}, + {2683, {wxMDIChildFrame, new_0, 0}}, + {2684, {wxMDIChildFrame, new_4, 4}}, + {2685, {wxMDIChildFrame, destruct, 0}}, + {2686, {wxMDIChildFrame, activate, 0}}, + {2687, {wxMDIChildFrame, create, 4}}, + {2688, {wxMDIChildFrame, maximize, 1}}, + {2689, {wxMDIChildFrame, restore, 0}}, + {2690, {wxMDIClientWindow, new_0, 0}}, + {2691, {wxMDIClientWindow, new_2, 2}}, + {2692, {wxMDIClientWindow, destruct, 0}}, + {2693, {wxMDIClientWindow, createClient, 2}}, + {2694, {wxLayoutAlgorithm, new, 0}}, + {2695, {wxLayoutAlgorithm, layoutFrame, 2}}, + {2696, {wxLayoutAlgorithm, layoutMDIFrame, 2}}, + {2697, {wxLayoutAlgorithm, layoutWindow, 2}}, + {2698, {wxLayoutAlgorithm, 'Destroy', undefined}}, + {2699, {wxEvent, getId, 0}}, + {2700, {wxEvent, getSkipped, 0}}, + {2701, {wxEvent, getTimestamp, 0}}, + {2702, {wxEvent, isCommandEvent, 0}}, + {2703, {wxEvent, resumePropagation, 1}}, + {2704, {wxEvent, shouldPropagate, 0}}, + {2705, {wxEvent, skip, 1}}, + {2706, {wxEvent, stopPropagation, 0}}, + {2707, {wxCommandEvent, getClientData, 0}}, + {2708, {wxCommandEvent, getExtraLong, 0}}, + {2709, {wxCommandEvent, getInt, 0}}, + {2710, {wxCommandEvent, getSelection, 0}}, + {2711, {wxCommandEvent, getString, 0}}, + {2712, {wxCommandEvent, isChecked, 0}}, + {2713, {wxCommandEvent, isSelection, 0}}, + {2714, {wxCommandEvent, setInt, 1}}, + {2715, {wxCommandEvent, setString, 1}}, + {2716, {wxScrollEvent, getOrientation, 0}}, + {2717, {wxScrollEvent, getPosition, 0}}, + {2718, {wxScrollWinEvent, getOrientation, 0}}, + {2719, {wxScrollWinEvent, getPosition, 0}}, + {2720, {wxMouseEvent, altDown, 0}}, + {2721, {wxMouseEvent, button, 1}}, + {2722, {wxMouseEvent, buttonDClick, 1}}, + {2723, {wxMouseEvent, buttonDown, 1}}, + {2724, {wxMouseEvent, buttonUp, 1}}, + {2725, {wxMouseEvent, cmdDown, 0}}, + {2726, {wxMouseEvent, controlDown, 0}}, + {2727, {wxMouseEvent, dragging, 0}}, + {2728, {wxMouseEvent, entering, 0}}, + {2729, {wxMouseEvent, getButton, 0}}, + {2732, {wxMouseEvent, getPosition, 0}}, + {2733, {wxMouseEvent, getLogicalPosition, 1}}, + {2734, {wxMouseEvent, getLinesPerAction, 0}}, + {2735, {wxMouseEvent, getWheelRotation, 0}}, + {2736, {wxMouseEvent, getWheelDelta, 0}}, + {2737, {wxMouseEvent, getX, 0}}, + {2738, {wxMouseEvent, getY, 0}}, + {2739, {wxMouseEvent, isButton, 0}}, + {2740, {wxMouseEvent, isPageScroll, 0}}, + {2741, {wxMouseEvent, leaving, 0}}, + {2742, {wxMouseEvent, leftDClick, 0}}, + {2743, {wxMouseEvent, leftDown, 0}}, + {2744, {wxMouseEvent, leftIsDown, 0}}, + {2745, {wxMouseEvent, leftUp, 0}}, + {2746, {wxMouseEvent, metaDown, 0}}, + {2747, {wxMouseEvent, middleDClick, 0}}, + {2748, {wxMouseEvent, middleDown, 0}}, + {2749, {wxMouseEvent, middleIsDown, 0}}, + {2750, {wxMouseEvent, middleUp, 0}}, + {2751, {wxMouseEvent, moving, 0}}, + {2752, {wxMouseEvent, rightDClick, 0}}, + {2753, {wxMouseEvent, rightDown, 0}}, + {2754, {wxMouseEvent, rightIsDown, 0}}, + {2755, {wxMouseEvent, rightUp, 0}}, + {2756, {wxMouseEvent, shiftDown, 0}}, + {2757, {wxSetCursorEvent, getCursor, 0}}, + {2758, {wxSetCursorEvent, getX, 0}}, + {2759, {wxSetCursorEvent, getY, 0}}, + {2760, {wxSetCursorEvent, hasCursor, 0}}, + {2761, {wxSetCursorEvent, setCursor, 1}}, + {2762, {wxKeyEvent, altDown, 0}}, + {2763, {wxKeyEvent, cmdDown, 0}}, + {2764, {wxKeyEvent, controlDown, 0}}, + {2765, {wxKeyEvent, getKeyCode, 0}}, + {2766, {wxKeyEvent, getModifiers, 0}}, + {2769, {wxKeyEvent, getPosition, 0}}, + {2770, {wxKeyEvent, getRawKeyCode, 0}}, + {2771, {wxKeyEvent, getRawKeyFlags, 0}}, + {2772, {wxKeyEvent, getUnicodeKey, 0}}, + {2773, {wxKeyEvent, getX, 0}}, + {2774, {wxKeyEvent, getY, 0}}, + {2775, {wxKeyEvent, hasModifiers, 0}}, + {2776, {wxKeyEvent, metaDown, 0}}, + {2777, {wxKeyEvent, shiftDown, 0}}, + {2778, {wxSizeEvent, getSize, 0}}, + {2779, {wxMoveEvent, getPosition, 0}}, + {2780, {wxEraseEvent, getDC, 0}}, + {2781, {wxFocusEvent, getWindow, 0}}, + {2782, {wxChildFocusEvent, getWindow, 0}}, + {2783, {wxMenuEvent, getMenu, 0}}, + {2784, {wxMenuEvent, getMenuId, 0}}, + {2785, {wxMenuEvent, isPopup, 0}}, + {2786, {wxCloseEvent, canVeto, 0}}, + {2787, {wxCloseEvent, getLoggingOff, 0}}, + {2788, {wxCloseEvent, setCanVeto, 1}}, + {2789, {wxCloseEvent, setLoggingOff, 1}}, + {2790, {wxCloseEvent, veto, 1}}, + {2791, {wxShowEvent, setShow, 1}}, + {2792, {wxShowEvent, getShow, 0}}, + {2793, {wxIconizeEvent, iconized, 0}}, + {2794, {wxJoystickEvent, buttonDown, 1}}, + {2795, {wxJoystickEvent, buttonIsDown, 1}}, + {2796, {wxJoystickEvent, buttonUp, 1}}, + {2797, {wxJoystickEvent, getButtonChange, 0}}, + {2798, {wxJoystickEvent, getButtonState, 0}}, + {2799, {wxJoystickEvent, getJoystick, 0}}, + {2800, {wxJoystickEvent, getPosition, 0}}, + {2801, {wxJoystickEvent, getZPosition, 0}}, + {2802, {wxJoystickEvent, isButton, 0}}, + {2803, {wxJoystickEvent, isMove, 0}}, + {2804, {wxJoystickEvent, isZMove, 0}}, + {2805, {wxUpdateUIEvent, canUpdate, 1}}, + {2806, {wxUpdateUIEvent, check, 1}}, + {2807, {wxUpdateUIEvent, enable, 1}}, + {2808, {wxUpdateUIEvent, show, 1}}, + {2809, {wxUpdateUIEvent, getChecked, 0}}, + {2810, {wxUpdateUIEvent, getEnabled, 0}}, + {2811, {wxUpdateUIEvent, getShown, 0}}, + {2812, {wxUpdateUIEvent, getSetChecked, 0}}, + {2813, {wxUpdateUIEvent, getSetEnabled, 0}}, + {2814, {wxUpdateUIEvent, getSetShown, 0}}, + {2815, {wxUpdateUIEvent, getSetText, 0}}, + {2816, {wxUpdateUIEvent, getText, 0}}, + {2817, {wxUpdateUIEvent, getMode, 0}}, + {2818, {wxUpdateUIEvent, getUpdateInterval, 0}}, + {2819, {wxUpdateUIEvent, resetUpdateTime, 0}}, + {2820, {wxUpdateUIEvent, setMode, 1}}, + {2821, {wxUpdateUIEvent, setText, 1}}, + {2822, {wxUpdateUIEvent, setUpdateInterval, 1}}, + {2823, {wxMouseCaptureChangedEvent, getCapturedWindow, 0}}, + {2824, {wxPaletteChangedEvent, setChangedWindow, 1}}, + {2825, {wxPaletteChangedEvent, getChangedWindow, 0}}, + {2826, {wxQueryNewPaletteEvent, setPaletteRealized, 1}}, + {2827, {wxQueryNewPaletteEvent, getPaletteRealized, 0}}, + {2828, {wxNavigationKeyEvent, getDirection, 0}}, + {2829, {wxNavigationKeyEvent, setDirection, 1}}, + {2830, {wxNavigationKeyEvent, isWindowChange, 0}}, + {2831, {wxNavigationKeyEvent, setWindowChange, 1}}, + {2832, {wxNavigationKeyEvent, isFromTab, 0}}, + {2833, {wxNavigationKeyEvent, setFromTab, 1}}, + {2834, {wxNavigationKeyEvent, getCurrentFocus, 0}}, + {2835, {wxNavigationKeyEvent, setCurrentFocus, 1}}, + {2836, {wxHelpEvent, getOrigin, 0}}, + {2837, {wxHelpEvent, getPosition, 0}}, + {2838, {wxHelpEvent, setOrigin, 1}}, + {2839, {wxHelpEvent, setPosition, 1}}, + {2840, {wxContextMenuEvent, getPosition, 0}}, + {2841, {wxContextMenuEvent, setPosition, 1}}, + {2842, {wxIdleEvent, canSend, 1}}, + {2843, {wxIdleEvent, getMode, 0}}, + {2844, {wxIdleEvent, requestMore, 1}}, + {2845, {wxIdleEvent, moreRequested, 0}}, + {2846, {wxIdleEvent, setMode, 1}}, + {2847, {wxGridEvent, altDown, 0}}, + {2848, {wxGridEvent, controlDown, 0}}, + {2849, {wxGridEvent, getCol, 0}}, + {2850, {wxGridEvent, getPosition, 0}}, + {2851, {wxGridEvent, getRow, 0}}, + {2852, {wxGridEvent, metaDown, 0}}, + {2853, {wxGridEvent, selecting, 0}}, + {2854, {wxGridEvent, shiftDown, 0}}, + {2855, {wxNotifyEvent, allow, 0}}, + {2856, {wxNotifyEvent, isAllowed, 0}}, + {2857, {wxNotifyEvent, veto, 0}}, + {2858, {wxSashEvent, getEdge, 0}}, + {2859, {wxSashEvent, getDragRect, 0}}, + {2860, {wxSashEvent, getDragStatus, 0}}, + {2861, {wxListEvent, getCacheFrom, 0}}, + {2862, {wxListEvent, getCacheTo, 0}}, + {2863, {wxListEvent, getKeyCode, 0}}, + {2864, {wxListEvent, getIndex, 0}}, + {2865, {wxListEvent, getColumn, 0}}, + {2866, {wxListEvent, getPoint, 0}}, + {2867, {wxListEvent, getLabel, 0}}, + {2868, {wxListEvent, getText, 0}}, + {2869, {wxListEvent, getImage, 0}}, + {2870, {wxListEvent, getData, 0}}, + {2871, {wxListEvent, getMask, 0}}, + {2872, {wxListEvent, getItem, 0}}, + {2873, {wxListEvent, isEditCancelled, 0}}, + {2874, {wxDateEvent, getDate, 0}}, + {2875, {wxCalendarEvent, getWeekDay, 0}}, + {2876, {wxFileDirPickerEvent, getPath, 0}}, + {2877, {wxColourPickerEvent, getColour, 0}}, + {2878, {wxFontPickerEvent, getFont, 0}}, + {2879, {wxStyledTextEvent, getPosition, 0}}, + {2880, {wxStyledTextEvent, getKey, 0}}, + {2881, {wxStyledTextEvent, getModifiers, 0}}, + {2882, {wxStyledTextEvent, getModificationType, 0}}, + {2883, {wxStyledTextEvent, getText, 0}}, + {2884, {wxStyledTextEvent, getLength, 0}}, + {2885, {wxStyledTextEvent, getLinesAdded, 0}}, + {2886, {wxStyledTextEvent, getLine, 0}}, + {2887, {wxStyledTextEvent, getFoldLevelNow, 0}}, + {2888, {wxStyledTextEvent, getFoldLevelPrev, 0}}, + {2889, {wxStyledTextEvent, getMargin, 0}}, + {2890, {wxStyledTextEvent, getMessage, 0}}, + {2891, {wxStyledTextEvent, getWParam, 0}}, + {2892, {wxStyledTextEvent, getLParam, 0}}, + {2893, {wxStyledTextEvent, getListType, 0}}, + {2894, {wxStyledTextEvent, getX, 0}}, + {2895, {wxStyledTextEvent, getY, 0}}, + {2896, {wxStyledTextEvent, getDragText, 0}}, + {2897, {wxStyledTextEvent, getDragAllowMove, 0}}, + {2898, {wxStyledTextEvent, getDragResult, 0}}, + {2899, {wxStyledTextEvent, getShift, 0}}, + {2900, {wxStyledTextEvent, getControl, 0}}, + {2901, {wxStyledTextEvent, getAlt, 0}}, + {2902, {utils, getKeyState, 1}}, + {2903, {utils, getMousePosition, 2}}, + {2904, {utils, getMouseState, 0}}, + {2905, {utils, setDetectableAutoRepeat, 1}}, + {2906, {utils, bell, 0}}, + {2907, {utils, findMenuItemId, 3}}, + {2908, {utils, genericFindWindowAtPoint, 1}}, + {2909, {utils, findWindowAtPoint, 1}}, + {2910, {utils, beginBusyCursor, 1}}, + {2911, {utils, endBusyCursor, 0}}, + {2912, {utils, isBusy, 0}}, + {2913, {utils, shutdown, 1}}, + {2914, {utils, shell, 1}}, + {2915, {utils, launchDefaultBrowser, 2}}, + {2916, {utils, getEmailAddress, 0}}, + {2917, {utils, getUserId, 0}}, + {2918, {utils, getHomeDir, 0}}, + {2919, {utils, newId, 0}}, + {2920, {utils, registerId, 1}}, + {2921, {utils, getCurrentId, 0}}, + {2922, {utils, getOsDescription, 0}}, + {2923, {utils, isPlatformLittleEndian, 0}}, + {2924, {utils, isPlatform64Bit, 0}}, + {2925, {wxPrintout, new, 1}}, + {2926, {wxPrintout, destruct, 0}}, + {2927, {wxPrintout, getDC, 0}}, + {2928, {wxPrintout, getPageSizeMM, 2}}, + {2929, {wxPrintout, getPageSizePixels, 2}}, + {2930, {wxPrintout, getPaperRectPixels, 0}}, + {2931, {wxPrintout, getPPIPrinter, 2}}, + {2932, {wxPrintout, getPPIScreen, 2}}, + {2933, {wxPrintout, getTitle, 0}}, + {2934, {wxPrintout, isPreview, 0}}, + {2935, {wxPrintout, fitThisSizeToPaper, 1}}, + {2936, {wxPrintout, fitThisSizeToPage, 1}}, + {2937, {wxPrintout, fitThisSizeToPageMargins, 2}}, + {2938, {wxPrintout, mapScreenSizeToPaper, 0}}, + {2939, {wxPrintout, mapScreenSizeToPage, 0}}, + {2940, {wxPrintout, mapScreenSizeToPageMargins, 1}}, + {2941, {wxPrintout, mapScreenSizeToDevice, 0}}, + {2942, {wxPrintout, getLogicalPaperRect, 0}}, + {2943, {wxPrintout, getLogicalPageRect, 0}}, + {2944, {wxPrintout, getLogicalPageMarginsRect, 1}}, + {2945, {wxPrintout, setLogicalOrigin, 2}}, + {2946, {wxPrintout, offsetLogicalOrigin, 2}}, + {2947, {wxStyledTextCtrl, new_2, 2}}, + {2948, {wxStyledTextCtrl, new_0, 0}}, + {2949, {wxStyledTextCtrl, destruct, 0}}, + {2950, {wxStyledTextCtrl, create, 2}}, + {2951, {wxStyledTextCtrl, addText, 1}}, + {2952, {wxStyledTextCtrl, addStyledText, 1}}, + {2953, {wxStyledTextCtrl, insertText, 2}}, + {2954, {wxStyledTextCtrl, clearAll, 0}}, + {2955, {wxStyledTextCtrl, clearDocumentStyle, 0}}, + {2956, {wxStyledTextCtrl, getLength, 0}}, + {2957, {wxStyledTextCtrl, getCharAt, 1}}, + {2958, {wxStyledTextCtrl, getCurrentPos, 0}}, + {2959, {wxStyledTextCtrl, getAnchor, 0}}, + {2960, {wxStyledTextCtrl, getStyleAt, 1}}, + {2961, {wxStyledTextCtrl, redo, 0}}, + {2962, {wxStyledTextCtrl, setUndoCollection, 1}}, + {2963, {wxStyledTextCtrl, selectAll, 0}}, + {2964, {wxStyledTextCtrl, setSavePoint, 0}}, + {2965, {wxStyledTextCtrl, getStyledText, 2}}, + {2966, {wxStyledTextCtrl, canRedo, 0}}, + {2967, {wxStyledTextCtrl, markerLineFromHandle, 1}}, + {2968, {wxStyledTextCtrl, markerDeleteHandle, 1}}, + {2969, {wxStyledTextCtrl, getUndoCollection, 0}}, + {2970, {wxStyledTextCtrl, getViewWhiteSpace, 0}}, + {2971, {wxStyledTextCtrl, setViewWhiteSpace, 1}}, + {2972, {wxStyledTextCtrl, positionFromPoint, 1}}, + {2973, {wxStyledTextCtrl, positionFromPointClose, 2}}, + {2974, {wxStyledTextCtrl, gotoLine, 1}}, + {2975, {wxStyledTextCtrl, gotoPos, 1}}, + {2976, {wxStyledTextCtrl, setAnchor, 1}}, + {2977, {wxStyledTextCtrl, getCurLine, 1}}, + {2978, {wxStyledTextCtrl, getEndStyled, 0}}, + {2979, {wxStyledTextCtrl, convertEOLs, 1}}, + {2980, {wxStyledTextCtrl, getEOLMode, 0}}, + {2981, {wxStyledTextCtrl, setEOLMode, 1}}, + {2982, {wxStyledTextCtrl, startStyling, 2}}, + {2983, {wxStyledTextCtrl, setStyling, 2}}, + {2984, {wxStyledTextCtrl, getBufferedDraw, 0}}, + {2985, {wxStyledTextCtrl, setBufferedDraw, 1}}, + {2986, {wxStyledTextCtrl, setTabWidth, 1}}, + {2987, {wxStyledTextCtrl, getTabWidth, 0}}, + {2988, {wxStyledTextCtrl, setCodePage, 1}}, + {2989, {wxStyledTextCtrl, markerDefine, 3}}, + {2990, {wxStyledTextCtrl, markerSetForeground, 2}}, + {2991, {wxStyledTextCtrl, markerSetBackground, 2}}, + {2992, {wxStyledTextCtrl, markerAdd, 2}}, + {2993, {wxStyledTextCtrl, markerDelete, 2}}, + {2994, {wxStyledTextCtrl, markerDeleteAll, 1}}, + {2995, {wxStyledTextCtrl, markerGet, 1}}, + {2996, {wxStyledTextCtrl, markerNext, 2}}, + {2997, {wxStyledTextCtrl, markerPrevious, 2}}, + {2998, {wxStyledTextCtrl, markerDefineBitmap, 2}}, + {2999, {wxStyledTextCtrl, markerAddSet, 2}}, + {3000, {wxStyledTextCtrl, markerSetAlpha, 2}}, + {3001, {wxStyledTextCtrl, setMarginType, 2}}, + {3002, {wxStyledTextCtrl, getMarginType, 1}}, + {3003, {wxStyledTextCtrl, setMarginWidth, 2}}, + {3004, {wxStyledTextCtrl, getMarginWidth, 1}}, + {3005, {wxStyledTextCtrl, setMarginMask, 2}}, + {3006, {wxStyledTextCtrl, getMarginMask, 1}}, + {3007, {wxStyledTextCtrl, setMarginSensitive, 2}}, + {3008, {wxStyledTextCtrl, getMarginSensitive, 1}}, + {3009, {wxStyledTextCtrl, styleClearAll, 0}}, + {3010, {wxStyledTextCtrl, styleSetForeground, 2}}, + {3011, {wxStyledTextCtrl, styleSetBackground, 2}}, + {3012, {wxStyledTextCtrl, styleSetBold, 2}}, + {3013, {wxStyledTextCtrl, styleSetItalic, 2}}, + {3014, {wxStyledTextCtrl, styleSetSize, 2}}, + {3015, {wxStyledTextCtrl, styleSetFaceName, 2}}, + {3016, {wxStyledTextCtrl, styleSetEOLFilled, 2}}, + {3017, {wxStyledTextCtrl, styleResetDefault, 0}}, + {3018, {wxStyledTextCtrl, styleSetUnderline, 2}}, + {3019, {wxStyledTextCtrl, styleSetCase, 2}}, + {3020, {wxStyledTextCtrl, styleSetHotSpot, 2}}, + {3021, {wxStyledTextCtrl, setSelForeground, 2}}, + {3022, {wxStyledTextCtrl, setSelBackground, 2}}, + {3023, {wxStyledTextCtrl, getSelAlpha, 0}}, + {3024, {wxStyledTextCtrl, setSelAlpha, 1}}, + {3025, {wxStyledTextCtrl, setCaretForeground, 1}}, + {3026, {wxStyledTextCtrl, cmdKeyAssign, 3}}, + {3027, {wxStyledTextCtrl, cmdKeyClear, 2}}, + {3028, {wxStyledTextCtrl, cmdKeyClearAll, 0}}, + {3029, {wxStyledTextCtrl, setStyleBytes, 2}}, + {3030, {wxStyledTextCtrl, styleSetVisible, 2}}, + {3031, {wxStyledTextCtrl, getCaretPeriod, 0}}, + {3032, {wxStyledTextCtrl, setCaretPeriod, 1}}, + {3033, {wxStyledTextCtrl, setWordChars, 1}}, + {3034, {wxStyledTextCtrl, beginUndoAction, 0}}, + {3035, {wxStyledTextCtrl, endUndoAction, 0}}, + {3036, {wxStyledTextCtrl, indicatorSetStyle, 2}}, + {3037, {wxStyledTextCtrl, indicatorGetStyle, 1}}, + {3038, {wxStyledTextCtrl, indicatorSetForeground, 2}}, + {3039, {wxStyledTextCtrl, indicatorGetForeground, 1}}, + {3040, {wxStyledTextCtrl, setWhitespaceForeground, 2}}, + {3041, {wxStyledTextCtrl, setWhitespaceBackground, 2}}, + {3042, {wxStyledTextCtrl, getStyleBits, 0}}, + {3043, {wxStyledTextCtrl, setLineState, 2}}, + {3044, {wxStyledTextCtrl, getLineState, 1}}, + {3045, {wxStyledTextCtrl, getMaxLineState, 0}}, + {3046, {wxStyledTextCtrl, getCaretLineVisible, 0}}, + {3047, {wxStyledTextCtrl, setCaretLineVisible, 1}}, + {3048, {wxStyledTextCtrl, getCaretLineBackground, 0}}, + {3049, {wxStyledTextCtrl, setCaretLineBackground, 1}}, + {3050, {wxStyledTextCtrl, autoCompShow, 2}}, + {3051, {wxStyledTextCtrl, autoCompCancel, 0}}, + {3052, {wxStyledTextCtrl, autoCompActive, 0}}, + {3053, {wxStyledTextCtrl, autoCompPosStart, 0}}, + {3054, {wxStyledTextCtrl, autoCompComplete, 0}}, + {3055, {wxStyledTextCtrl, autoCompStops, 1}}, + {3056, {wxStyledTextCtrl, autoCompSetSeparator, 1}}, + {3057, {wxStyledTextCtrl, autoCompGetSeparator, 0}}, + {3058, {wxStyledTextCtrl, autoCompSelect, 1}}, + {3059, {wxStyledTextCtrl, autoCompSetCancelAtStart, 1}}, + {3060, {wxStyledTextCtrl, autoCompGetCancelAtStart, 0}}, + {3061, {wxStyledTextCtrl, autoCompSetFillUps, 1}}, + {3062, {wxStyledTextCtrl, autoCompSetChooseSingle, 1}}, + {3063, {wxStyledTextCtrl, autoCompGetChooseSingle, 0}}, + {3064, {wxStyledTextCtrl, autoCompSetIgnoreCase, 1}}, + {3065, {wxStyledTextCtrl, autoCompGetIgnoreCase, 0}}, + {3066, {wxStyledTextCtrl, userListShow, 2}}, + {3067, {wxStyledTextCtrl, autoCompSetAutoHide, 1}}, + {3068, {wxStyledTextCtrl, autoCompGetAutoHide, 0}}, + {3069, {wxStyledTextCtrl, autoCompSetDropRestOfWord, 1}}, + {3070, {wxStyledTextCtrl, autoCompGetDropRestOfWord, 0}}, + {3071, {wxStyledTextCtrl, registerImage, 2}}, + {3072, {wxStyledTextCtrl, clearRegisteredImages, 0}}, + {3073, {wxStyledTextCtrl, autoCompGetTypeSeparator, 0}}, + {3074, {wxStyledTextCtrl, autoCompSetTypeSeparator, 1}}, + {3075, {wxStyledTextCtrl, autoCompSetMaxWidth, 1}}, + {3076, {wxStyledTextCtrl, autoCompGetMaxWidth, 0}}, + {3077, {wxStyledTextCtrl, autoCompSetMaxHeight, 1}}, + {3078, {wxStyledTextCtrl, autoCompGetMaxHeight, 0}}, + {3079, {wxStyledTextCtrl, setIndent, 1}}, + {3080, {wxStyledTextCtrl, getIndent, 0}}, + {3081, {wxStyledTextCtrl, setUseTabs, 1}}, + {3082, {wxStyledTextCtrl, getUseTabs, 0}}, + {3083, {wxStyledTextCtrl, setLineIndentation, 2}}, + {3084, {wxStyledTextCtrl, getLineIndentation, 1}}, + {3085, {wxStyledTextCtrl, getLineIndentPosition, 1}}, + {3086, {wxStyledTextCtrl, getColumn, 1}}, + {3087, {wxStyledTextCtrl, setUseHorizontalScrollBar, 1}}, + {3088, {wxStyledTextCtrl, getUseHorizontalScrollBar, 0}}, + {3089, {wxStyledTextCtrl, setIndentationGuides, 1}}, + {3090, {wxStyledTextCtrl, getIndentationGuides, 0}}, + {3091, {wxStyledTextCtrl, setHighlightGuide, 1}}, + {3092, {wxStyledTextCtrl, getHighlightGuide, 0}}, + {3093, {wxStyledTextCtrl, getLineEndPosition, 1}}, + {3094, {wxStyledTextCtrl, getCodePage, 0}}, + {3095, {wxStyledTextCtrl, getCaretForeground, 0}}, + {3096, {wxStyledTextCtrl, getReadOnly, 0}}, + {3097, {wxStyledTextCtrl, setCurrentPos, 1}}, + {3098, {wxStyledTextCtrl, setSelectionStart, 1}}, + {3099, {wxStyledTextCtrl, getSelectionStart, 0}}, + {3100, {wxStyledTextCtrl, setSelectionEnd, 1}}, + {3101, {wxStyledTextCtrl, getSelectionEnd, 0}}, + {3102, {wxStyledTextCtrl, setPrintMagnification, 1}}, + {3103, {wxStyledTextCtrl, getPrintMagnification, 0}}, + {3104, {wxStyledTextCtrl, setPrintColourMode, 1}}, + {3105, {wxStyledTextCtrl, getPrintColourMode, 0}}, + {3106, {wxStyledTextCtrl, findText, 4}}, + {3107, {wxStyledTextCtrl, formatRange, 7}}, + {3108, {wxStyledTextCtrl, getFirstVisibleLine, 0}}, + {3109, {wxStyledTextCtrl, getLine, 1}}, + {3110, {wxStyledTextCtrl, getLineCount, 0}}, + {3111, {wxStyledTextCtrl, setMarginLeft, 1}}, + {3112, {wxStyledTextCtrl, getMarginLeft, 0}}, + {3113, {wxStyledTextCtrl, setMarginRight, 1}}, + {3114, {wxStyledTextCtrl, getMarginRight, 0}}, + {3115, {wxStyledTextCtrl, getModify, 0}}, + {3116, {wxStyledTextCtrl, setSelection, 2}}, + {3117, {wxStyledTextCtrl, getSelectedText, 0}}, + {3118, {wxStyledTextCtrl, getTextRange, 2}}, + {3119, {wxStyledTextCtrl, hideSelection, 1}}, + {3120, {wxStyledTextCtrl, lineFromPosition, 1}}, + {3121, {wxStyledTextCtrl, positionFromLine, 1}}, + {3122, {wxStyledTextCtrl, lineScroll, 2}}, + {3123, {wxStyledTextCtrl, ensureCaretVisible, 0}}, + {3124, {wxStyledTextCtrl, replaceSelection, 1}}, + {3125, {wxStyledTextCtrl, setReadOnly, 1}}, + {3126, {wxStyledTextCtrl, canPaste, 0}}, + {3127, {wxStyledTextCtrl, canUndo, 0}}, + {3128, {wxStyledTextCtrl, emptyUndoBuffer, 0}}, + {3129, {wxStyledTextCtrl, undo, 0}}, + {3130, {wxStyledTextCtrl, cut, 0}}, + {3131, {wxStyledTextCtrl, copy, 0}}, + {3132, {wxStyledTextCtrl, paste, 0}}, + {3133, {wxStyledTextCtrl, clear, 0}}, + {3134, {wxStyledTextCtrl, setText, 1}}, + {3135, {wxStyledTextCtrl, getText, 0}}, + {3136, {wxStyledTextCtrl, getTextLength, 0}}, + {3137, {wxStyledTextCtrl, getOvertype, 0}}, + {3138, {wxStyledTextCtrl, setCaretWidth, 1}}, + {3139, {wxStyledTextCtrl, getCaretWidth, 0}}, + {3140, {wxStyledTextCtrl, setTargetStart, 1}}, + {3141, {wxStyledTextCtrl, getTargetStart, 0}}, + {3142, {wxStyledTextCtrl, setTargetEnd, 1}}, + {3143, {wxStyledTextCtrl, getTargetEnd, 0}}, + {3144, {wxStyledTextCtrl, replaceTarget, 1}}, + {3145, {wxStyledTextCtrl, searchInTarget, 1}}, + {3146, {wxStyledTextCtrl, setSearchFlags, 1}}, + {3147, {wxStyledTextCtrl, getSearchFlags, 0}}, + {3148, {wxStyledTextCtrl, callTipShow, 2}}, + {3149, {wxStyledTextCtrl, callTipCancel, 0}}, + {3150, {wxStyledTextCtrl, callTipActive, 0}}, + {3151, {wxStyledTextCtrl, callTipPosAtStart, 0}}, + {3152, {wxStyledTextCtrl, callTipSetHighlight, 2}}, + {3153, {wxStyledTextCtrl, callTipSetBackground, 1}}, + {3154, {wxStyledTextCtrl, callTipSetForeground, 1}}, + {3155, {wxStyledTextCtrl, callTipSetForegroundHighlight, 1}}, + {3156, {wxStyledTextCtrl, callTipUseStyle, 1}}, + {3157, {wxStyledTextCtrl, visibleFromDocLine, 1}}, + {3158, {wxStyledTextCtrl, docLineFromVisible, 1}}, + {3159, {wxStyledTextCtrl, wrapCount, 1}}, + {3160, {wxStyledTextCtrl, setFoldLevel, 2}}, + {3161, {wxStyledTextCtrl, getFoldLevel, 1}}, + {3162, {wxStyledTextCtrl, getLastChild, 2}}, + {3163, {wxStyledTextCtrl, getFoldParent, 1}}, + {3164, {wxStyledTextCtrl, showLines, 2}}, + {3165, {wxStyledTextCtrl, hideLines, 2}}, + {3166, {wxStyledTextCtrl, getLineVisible, 1}}, + {3167, {wxStyledTextCtrl, setFoldExpanded, 2}}, + {3168, {wxStyledTextCtrl, getFoldExpanded, 1}}, + {3169, {wxStyledTextCtrl, toggleFold, 1}}, + {3170, {wxStyledTextCtrl, ensureVisible, 1}}, + {3171, {wxStyledTextCtrl, setFoldFlags, 1}}, + {3172, {wxStyledTextCtrl, ensureVisibleEnforcePolicy, 1}}, + {3173, {wxStyledTextCtrl, setTabIndents, 1}}, + {3174, {wxStyledTextCtrl, getTabIndents, 0}}, + {3175, {wxStyledTextCtrl, setBackSpaceUnIndents, 1}}, + {3176, {wxStyledTextCtrl, getBackSpaceUnIndents, 0}}, + {3177, {wxStyledTextCtrl, setMouseDwellTime, 1}}, + {3178, {wxStyledTextCtrl, getMouseDwellTime, 0}}, + {3179, {wxStyledTextCtrl, wordStartPosition, 2}}, + {3180, {wxStyledTextCtrl, wordEndPosition, 2}}, + {3181, {wxStyledTextCtrl, setWrapMode, 1}}, + {3182, {wxStyledTextCtrl, getWrapMode, 0}}, + {3183, {wxStyledTextCtrl, setWrapVisualFlags, 1}}, + {3184, {wxStyledTextCtrl, getWrapVisualFlags, 0}}, + {3185, {wxStyledTextCtrl, setWrapVisualFlagsLocation, 1}}, + {3186, {wxStyledTextCtrl, getWrapVisualFlagsLocation, 0}}, + {3187, {wxStyledTextCtrl, setWrapStartIndent, 1}}, + {3188, {wxStyledTextCtrl, getWrapStartIndent, 0}}, + {3189, {wxStyledTextCtrl, setLayoutCache, 1}}, + {3190, {wxStyledTextCtrl, getLayoutCache, 0}}, + {3191, {wxStyledTextCtrl, setScrollWidth, 1}}, + {3192, {wxStyledTextCtrl, getScrollWidth, 0}}, + {3193, {wxStyledTextCtrl, textWidth, 2}}, + {3194, {wxStyledTextCtrl, getEndAtLastLine, 0}}, + {3195, {wxStyledTextCtrl, textHeight, 1}}, + {3196, {wxStyledTextCtrl, setUseVerticalScrollBar, 1}}, + {3197, {wxStyledTextCtrl, getUseVerticalScrollBar, 0}}, + {3198, {wxStyledTextCtrl, appendText, 1}}, + {3199, {wxStyledTextCtrl, getTwoPhaseDraw, 0}}, + {3200, {wxStyledTextCtrl, setTwoPhaseDraw, 1}}, + {3201, {wxStyledTextCtrl, targetFromSelection, 0}}, + {3202, {wxStyledTextCtrl, linesJoin, 0}}, + {3203, {wxStyledTextCtrl, linesSplit, 1}}, + {3204, {wxStyledTextCtrl, setFoldMarginColour, 2}}, + {3205, {wxStyledTextCtrl, setFoldMarginHiColour, 2}}, + {3206, {wxStyledTextCtrl, lineDown, 0}}, + {3207, {wxStyledTextCtrl, lineDownExtend, 0}}, + {3208, {wxStyledTextCtrl, lineUp, 0}}, + {3209, {wxStyledTextCtrl, lineUpExtend, 0}}, + {3210, {wxStyledTextCtrl, charLeft, 0}}, + {3211, {wxStyledTextCtrl, charLeftExtend, 0}}, + {3212, {wxStyledTextCtrl, charRight, 0}}, + {3213, {wxStyledTextCtrl, charRightExtend, 0}}, + {3214, {wxStyledTextCtrl, wordLeft, 0}}, + {3215, {wxStyledTextCtrl, wordLeftExtend, 0}}, + {3216, {wxStyledTextCtrl, wordRight, 0}}, + {3217, {wxStyledTextCtrl, wordRightExtend, 0}}, + {3218, {wxStyledTextCtrl, home, 0}}, + {3219, {wxStyledTextCtrl, homeExtend, 0}}, + {3220, {wxStyledTextCtrl, lineEnd, 0}}, + {3221, {wxStyledTextCtrl, lineEndExtend, 0}}, + {3222, {wxStyledTextCtrl, documentStart, 0}}, + {3223, {wxStyledTextCtrl, documentStartExtend, 0}}, + {3224, {wxStyledTextCtrl, documentEnd, 0}}, + {3225, {wxStyledTextCtrl, documentEndExtend, 0}}, + {3226, {wxStyledTextCtrl, pageUp, 0}}, + {3227, {wxStyledTextCtrl, pageUpExtend, 0}}, + {3228, {wxStyledTextCtrl, pageDown, 0}}, + {3229, {wxStyledTextCtrl, pageDownExtend, 0}}, + {3230, {wxStyledTextCtrl, editToggleOvertype, 0}}, + {3231, {wxStyledTextCtrl, cancel, 0}}, + {3232, {wxStyledTextCtrl, deleteBack, 0}}, + {3233, {wxStyledTextCtrl, tab, 0}}, + {3234, {wxStyledTextCtrl, backTab, 0}}, + {3235, {wxStyledTextCtrl, newLine, 0}}, + {3236, {wxStyledTextCtrl, formFeed, 0}}, + {3237, {wxStyledTextCtrl, vCHome, 0}}, + {3238, {wxStyledTextCtrl, vCHomeExtend, 0}}, + {3239, {wxStyledTextCtrl, zoomIn, 0}}, + {3240, {wxStyledTextCtrl, zoomOut, 0}}, + {3241, {wxStyledTextCtrl, delWordLeft, 0}}, + {3242, {wxStyledTextCtrl, delWordRight, 0}}, + {3243, {wxStyledTextCtrl, lineCut, 0}}, + {3244, {wxStyledTextCtrl, lineDelete, 0}}, + {3245, {wxStyledTextCtrl, lineTranspose, 0}}, + {3246, {wxStyledTextCtrl, lineDuplicate, 0}}, + {3247, {wxStyledTextCtrl, lowerCase, 0}}, + {3248, {wxStyledTextCtrl, upperCase, 0}}, + {3249, {wxStyledTextCtrl, lineScrollDown, 0}}, + {3250, {wxStyledTextCtrl, lineScrollUp, 0}}, + {3251, {wxStyledTextCtrl, deleteBackNotLine, 0}}, + {3252, {wxStyledTextCtrl, homeDisplay, 0}}, + {3253, {wxStyledTextCtrl, homeDisplayExtend, 0}}, + {3254, {wxStyledTextCtrl, lineEndDisplay, 0}}, + {3255, {wxStyledTextCtrl, lineEndDisplayExtend, 0}}, + {3256, {wxStyledTextCtrl, homeWrapExtend, 0}}, + {3257, {wxStyledTextCtrl, lineEndWrap, 0}}, + {3258, {wxStyledTextCtrl, lineEndWrapExtend, 0}}, + {3259, {wxStyledTextCtrl, vCHomeWrap, 0}}, + {3260, {wxStyledTextCtrl, vCHomeWrapExtend, 0}}, + {3261, {wxStyledTextCtrl, lineCopy, 0}}, + {3262, {wxStyledTextCtrl, moveCaretInsideView, 0}}, + {3263, {wxStyledTextCtrl, lineLength, 1}}, + {3264, {wxStyledTextCtrl, braceHighlight, 2}}, + {3265, {wxStyledTextCtrl, braceBadLight, 1}}, + {3266, {wxStyledTextCtrl, braceMatch, 1}}, + {3267, {wxStyledTextCtrl, getViewEOL, 0}}, + {3268, {wxStyledTextCtrl, setViewEOL, 1}}, + {3269, {wxStyledTextCtrl, setModEventMask, 1}}, + {3270, {wxStyledTextCtrl, getEdgeColumn, 0}}, + {3271, {wxStyledTextCtrl, setEdgeColumn, 1}}, + {3272, {wxStyledTextCtrl, getEdgeMode, 0}}, + {3273, {wxStyledTextCtrl, getEdgeColour, 0}}, + {3274, {wxStyledTextCtrl, setEdgeColour, 1}}, + {3275, {wxStyledTextCtrl, searchAnchor, 0}}, + {3276, {wxStyledTextCtrl, searchNext, 2}}, + {3277, {wxStyledTextCtrl, searchPrev, 2}}, + {3278, {wxStyledTextCtrl, linesOnScreen, 0}}, + {3279, {wxStyledTextCtrl, usePopUp, 1}}, + {3280, {wxStyledTextCtrl, selectionIsRectangle, 0}}, + {3281, {wxStyledTextCtrl, setZoom, 1}}, + {3282, {wxStyledTextCtrl, getZoom, 0}}, + {3283, {wxStyledTextCtrl, getModEventMask, 0}}, + {3284, {wxStyledTextCtrl, setSTCFocus, 1}}, + {3285, {wxStyledTextCtrl, getSTCFocus, 0}}, + {3286, {wxStyledTextCtrl, setStatus, 1}}, + {3287, {wxStyledTextCtrl, getStatus, 0}}, + {3288, {wxStyledTextCtrl, setMouseDownCaptures, 1}}, + {3289, {wxStyledTextCtrl, getMouseDownCaptures, 0}}, + {3290, {wxStyledTextCtrl, setSTCCursor, 1}}, + {3291, {wxStyledTextCtrl, getSTCCursor, 0}}, + {3292, {wxStyledTextCtrl, setControlCharSymbol, 1}}, + {3293, {wxStyledTextCtrl, getControlCharSymbol, 0}}, + {3294, {wxStyledTextCtrl, wordPartLeft, 0}}, + {3295, {wxStyledTextCtrl, wordPartLeftExtend, 0}}, + {3296, {wxStyledTextCtrl, wordPartRight, 0}}, + {3297, {wxStyledTextCtrl, wordPartRightExtend, 0}}, + {3298, {wxStyledTextCtrl, setVisiblePolicy, 2}}, + {3299, {wxStyledTextCtrl, delLineLeft, 0}}, + {3300, {wxStyledTextCtrl, delLineRight, 0}}, + {3301, {wxStyledTextCtrl, getXOffset, 0}}, + {3302, {wxStyledTextCtrl, chooseCaretX, 0}}, + {3303, {wxStyledTextCtrl, setXCaretPolicy, 2}}, + {3304, {wxStyledTextCtrl, setYCaretPolicy, 2}}, + {3305, {wxStyledTextCtrl, getPrintWrapMode, 0}}, + {3306, {wxStyledTextCtrl, setHotspotActiveForeground, 2}}, + {3307, {wxStyledTextCtrl, setHotspotActiveBackground, 2}}, + {3308, {wxStyledTextCtrl, setHotspotActiveUnderline, 1}}, + {3309, {wxStyledTextCtrl, setHotspotSingleLine, 1}}, + {3310, {wxStyledTextCtrl, paraDownExtend, 0}}, + {3311, {wxStyledTextCtrl, paraUp, 0}}, + {3312, {wxStyledTextCtrl, paraUpExtend, 0}}, + {3313, {wxStyledTextCtrl, positionBefore, 1}}, + {3314, {wxStyledTextCtrl, positionAfter, 1}}, + {3315, {wxStyledTextCtrl, copyRange, 2}}, + {3316, {wxStyledTextCtrl, copyText, 2}}, + {3317, {wxStyledTextCtrl, setSelectionMode, 1}}, + {3318, {wxStyledTextCtrl, getSelectionMode, 0}}, + {3319, {wxStyledTextCtrl, lineDownRectExtend, 0}}, + {3320, {wxStyledTextCtrl, lineUpRectExtend, 0}}, + {3321, {wxStyledTextCtrl, charLeftRectExtend, 0}}, + {3322, {wxStyledTextCtrl, charRightRectExtend, 0}}, + {3323, {wxStyledTextCtrl, homeRectExtend, 0}}, + {3324, {wxStyledTextCtrl, vCHomeRectExtend, 0}}, + {3325, {wxStyledTextCtrl, lineEndRectExtend, 0}}, + {3326, {wxStyledTextCtrl, pageUpRectExtend, 0}}, + {3327, {wxStyledTextCtrl, pageDownRectExtend, 0}}, + {3328, {wxStyledTextCtrl, stutteredPageUp, 0}}, + {3329, {wxStyledTextCtrl, stutteredPageUpExtend, 0}}, + {3330, {wxStyledTextCtrl, stutteredPageDown, 0}}, + {3331, {wxStyledTextCtrl, stutteredPageDownExtend, 0}}, + {3332, {wxStyledTextCtrl, wordLeftEnd, 0}}, + {3333, {wxStyledTextCtrl, wordLeftEndExtend, 0}}, + {3334, {wxStyledTextCtrl, wordRightEnd, 0}}, + {3335, {wxStyledTextCtrl, wordRightEndExtend, 0}}, + {3336, {wxStyledTextCtrl, setWhitespaceChars, 1}}, + {3337, {wxStyledTextCtrl, setCharsDefault, 0}}, + {3338, {wxStyledTextCtrl, autoCompGetCurrent, 0}}, + {3339, {wxStyledTextCtrl, allocate, 1}}, + {3340, {wxStyledTextCtrl, findColumn, 2}}, + {3341, {wxStyledTextCtrl, getCaretSticky, 0}}, + {3342, {wxStyledTextCtrl, setCaretSticky, 1}}, + {3343, {wxStyledTextCtrl, toggleCaretSticky, 0}}, + {3344, {wxStyledTextCtrl, setPasteConvertEndings, 1}}, + {3345, {wxStyledTextCtrl, getPasteConvertEndings, 0}}, + {3346, {wxStyledTextCtrl, selectionDuplicate, 0}}, + {3347, {wxStyledTextCtrl, setCaretLineBackAlpha, 1}}, + {3348, {wxStyledTextCtrl, getCaretLineBackAlpha, 0}}, + {3349, {wxStyledTextCtrl, startRecord, 0}}, + {3350, {wxStyledTextCtrl, stopRecord, 0}}, + {3351, {wxStyledTextCtrl, setLexer, 1}}, + {3352, {wxStyledTextCtrl, getLexer, 0}}, + {3353, {wxStyledTextCtrl, colourise, 2}}, + {3354, {wxStyledTextCtrl, setProperty, 2}}, + {3355, {wxStyledTextCtrl, setKeyWords, 2}}, + {3356, {wxStyledTextCtrl, setLexerLanguage, 1}}, + {3357, {wxStyledTextCtrl, getProperty, 1}}, + {3358, {wxStyledTextCtrl, getStyleBitsNeeded, 0}}, + {3359, {wxStyledTextCtrl, getCurrentLine, 0}}, + {3360, {wxStyledTextCtrl, styleSetSpec, 2}}, + {3361, {wxStyledTextCtrl, styleSetFont, 2}}, + {3362, {wxStyledTextCtrl, styleSetFontAttr, 7}}, + {3363, {wxStyledTextCtrl, styleSetCharacterSet, 2}}, + {3364, {wxStyledTextCtrl, styleSetFontEncoding, 2}}, + {3365, {wxStyledTextCtrl, cmdKeyExecute, 1}}, + {3366, {wxStyledTextCtrl, setMargins, 2}}, + {3367, {wxStyledTextCtrl, getSelection, 2}}, + {3368, {wxStyledTextCtrl, pointFromPosition, 1}}, + {3369, {wxStyledTextCtrl, scrollToLine, 1}}, + {3370, {wxStyledTextCtrl, scrollToColumn, 1}}, + {3371, {wxStyledTextCtrl, sendMsg, 2}}, + {3372, {wxStyledTextCtrl, setVScrollBar, 1}}, + {3373, {wxStyledTextCtrl, setHScrollBar, 1}}, + {3374, {wxStyledTextCtrl, getLastKeydownProcessed, 0}}, + {3375, {wxStyledTextCtrl, setLastKeydownProcessed, 1}}, + {3376, {wxStyledTextCtrl, saveFile, 1}}, + {3377, {wxStyledTextCtrl, loadFile, 1}}, + {3378, {wxStyledTextCtrl, doDragOver, 3}}, + {3379, {wxStyledTextCtrl, doDropText, 3}}, + {3380, {wxStyledTextCtrl, getUseAntiAliasing, 0}}, + {3381, {wxStyledTextCtrl, addTextRaw, 1}}, + {3382, {wxStyledTextCtrl, insertTextRaw, 2}}, + {3383, {wxStyledTextCtrl, getCurLineRaw, 1}}, + {3384, {wxStyledTextCtrl, getLineRaw, 1}}, + {3385, {wxStyledTextCtrl, getSelectedTextRaw, 0}}, + {3386, {wxStyledTextCtrl, getTextRangeRaw, 2}}, + {3387, {wxStyledTextCtrl, setTextRaw, 1}}, + {3388, {wxStyledTextCtrl, getTextRaw, 0}}, + {3389, {wxStyledTextCtrl, appendTextRaw, 1}}, + {3390, {wxArtProvider, getBitmap, 2}}, + {3391, {wxArtProvider, getIcon, 2}}, + {3392, {wxTreeEvent, getKeyCode, 0}}, + {3393, {wxTreeEvent, getItem, 0}}, + {3394, {wxTreeEvent, getKeyEvent, 0}}, + {3395, {wxTreeEvent, getLabel, 0}}, + {3396, {wxTreeEvent, getOldItem, 0}}, + {3397, {wxTreeEvent, getPoint, 0}}, + {3398, {wxTreeEvent, isEditCancelled, 0}}, + {3399, {wxTreeEvent, setToolTip, 1}}, + {3400, {wxNotebookEvent, getOldSelection, 0}}, + {3401, {wxNotebookEvent, getSelection, 0}}, + {3402, {wxNotebookEvent, setOldSelection, 1}}, + {3403, {wxNotebookEvent, setSelection, 1}}, + {3404, {wxFileDataObject, new, 0}}, + {3405, {wxFileDataObject, addFile, 1}}, + {3406, {wxFileDataObject, getFilenames, 0}}, + {3407, {wxFileDataObject, 'Destroy', undefined}}, + {3408, {wxTextDataObject, new, 1}}, + {3409, {wxTextDataObject, getTextLength, 0}}, + {3410, {wxTextDataObject, getText, 0}}, + {3411, {wxTextDataObject, setText, 1}}, + {3412, {wxTextDataObject, 'Destroy', undefined}}, + {3413, {wxBitmapDataObject, new_1_1, 1}}, + {3414, {wxBitmapDataObject, new_1_0, 1}}, + {3415, {wxBitmapDataObject, getBitmap, 0}}, + {3416, {wxBitmapDataObject, setBitmap, 1}}, + {3417, {wxBitmapDataObject, 'Destroy', undefined}}, + {3419, {wxClipboard, new, 0}}, + {3420, {wxClipboard, destruct, 0}}, + {3421, {wxClipboard, addData, 1}}, + {3422, {wxClipboard, clear, 0}}, + {3423, {wxClipboard, close, 0}}, + {3424, {wxClipboard, flush, 0}}, + {3425, {wxClipboard, getData, 1}}, + {3426, {wxClipboard, isOpened, 0}}, + {3427, {wxClipboard, open, 0}}, + {3428, {wxClipboard, setData, 1}}, + {3430, {wxClipboard, usePrimarySelection, 1}}, + {3431, {wxClipboard, isSupported, 1}}, + {3432, {wxClipboard, get, 0}}, + {3433, {wxSpinEvent, getPosition, 0}}, + {3434, {wxSpinEvent, setPosition, 1}}, + {3435, {wxSplitterWindow, new_0, 0}}, + {3436, {wxSplitterWindow, new_2, 2}}, + {3437, {wxSplitterWindow, destruct, 0}}, + {3438, {wxSplitterWindow, create, 2}}, + {3439, {wxSplitterWindow, getMinimumPaneSize, 0}}, + {3440, {wxSplitterWindow, getSashGravity, 0}}, + {3441, {wxSplitterWindow, getSashPosition, 0}}, + {3442, {wxSplitterWindow, getSplitMode, 0}}, + {3443, {wxSplitterWindow, getWindow1, 0}}, + {3444, {wxSplitterWindow, getWindow2, 0}}, + {3445, {wxSplitterWindow, initialize, 1}}, + {3446, {wxSplitterWindow, isSplit, 0}}, + {3447, {wxSplitterWindow, replaceWindow, 2}}, + {3448, {wxSplitterWindow, setSashGravity, 1}}, + {3449, {wxSplitterWindow, setSashPosition, 2}}, + {3450, {wxSplitterWindow, setSashSize, 1}}, + {3451, {wxSplitterWindow, setMinimumPaneSize, 1}}, + {3452, {wxSplitterWindow, setSplitMode, 1}}, + {3453, {wxSplitterWindow, splitHorizontally, 3}}, + {3454, {wxSplitterWindow, splitVertically, 3}}, + {3455, {wxSplitterWindow, unsplit, 1}}, + {3456, {wxSplitterWindow, updateSize, 0}}, + {3457, {wxSplitterEvent, getSashPosition, 0}}, + {3458, {wxSplitterEvent, getX, 0}}, + {3459, {wxSplitterEvent, getY, 0}}, + {3460, {wxSplitterEvent, getWindowBeingRemoved, 0}}, + {3461, {wxSplitterEvent, setSashPosition, 1}}, + {3462, {wxHtmlWindow, new_0, 0}}, + {3463, {wxHtmlWindow, new_2, 2}}, + {3464, {wxHtmlWindow, appendToPage, 1}}, + {3465, {wxHtmlWindow, getOpenedAnchor, 0}}, + {3466, {wxHtmlWindow, getOpenedPage, 0}}, + {3467, {wxHtmlWindow, getOpenedPageTitle, 0}}, + {3468, {wxHtmlWindow, getRelatedFrame, 0}}, + {3469, {wxHtmlWindow, historyBack, 0}}, + {3470, {wxHtmlWindow, historyCanBack, 0}}, + {3471, {wxHtmlWindow, historyCanForward, 0}}, + {3472, {wxHtmlWindow, historyClear, 0}}, + {3473, {wxHtmlWindow, historyForward, 0}}, + {3474, {wxHtmlWindow, loadFile, 1}}, + {3475, {wxHtmlWindow, loadPage, 1}}, + {3476, {wxHtmlWindow, selectAll, 0}}, + {3477, {wxHtmlWindow, selectionToText, 0}}, + {3478, {wxHtmlWindow, selectLine, 1}}, + {3479, {wxHtmlWindow, selectWord, 1}}, + {3480, {wxHtmlWindow, setBorders, 1}}, + {3481, {wxHtmlWindow, setFonts, 3}}, + {3482, {wxHtmlWindow, setPage, 1}}, + {3483, {wxHtmlWindow, setRelatedFrame, 2}}, + {3484, {wxHtmlWindow, setRelatedStatusBar, 1}}, + {3485, {wxHtmlWindow, toText, 0}}, + {3486, {wxHtmlWindow, 'Destroy', undefined}}, + {3487, {wxHtmlLinkEvent, getLinkInfo, 0}}, + {3488, {wxSystemSettings, getColour, 1}}, + {3489, {wxSystemSettings, getFont, 1}}, + {3490, {wxSystemSettings, getMetric, 2}}, + {3491, {wxSystemSettings, getScreenType, 0}}, + {3492, {wxAuiNotebookEvent, setSelection, 1}}, + {3493, {wxAuiNotebookEvent, getSelection, 0}}, + {3494, {wxAuiNotebookEvent, setOldSelection, 1}}, + {3495, {wxAuiNotebookEvent, getOldSelection, 0}}, + {3496, {wxAuiNotebookEvent, setDragSource, 1}}, + {3497, {wxAuiNotebookEvent, getDragSource, 0}}, + {3498, {wxAuiManagerEvent, setManager, 1}}, + {3499, {wxAuiManagerEvent, getManager, 0}}, + {3500, {wxAuiManagerEvent, setPane, 1}}, + {3501, {wxAuiManagerEvent, getPane, 0}}, + {3502, {wxAuiManagerEvent, setButton, 1}}, + {3503, {wxAuiManagerEvent, getButton, 0}}, + {3504, {wxAuiManagerEvent, setDC, 1}}, + {3505, {wxAuiManagerEvent, getDC, 0}}, + {3506, {wxAuiManagerEvent, veto, 1}}, + {3507, {wxAuiManagerEvent, getVeto, 0}}, + {3508, {wxAuiManagerEvent, setCanVeto, 1}}, + {3509, {wxAuiManagerEvent, canVeto, 0}}, + {3510, {wxLogNull, new, 0}}, + {3511, {wxLogNull, 'Destroy', undefined}}, {-1, {mod, func, -1}} ]. diff --git a/lib/wx/src/gen/wxe_funcs.hrl b/lib/wx/src/gen/wxe_funcs.hrl index b1d5e50647..af74caaa25 100644 --- a/lib/wx/src/gen/wxe_funcs.hrl +++ b/lib/wx/src/gen/wxe_funcs.hrl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2011. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -767,2509 +767,2526 @@ -define(wxControlWithItems_Clear, 882). -define(wxControlWithItems_Delete, 883). -define(wxControlWithItems_FindString, 884). --define(wxControlWithItems_getClientData, 886). --define(wxControlWithItems_setClientData, 888). --define(wxControlWithItems_GetCount, 889). --define(wxControlWithItems_GetSelection, 890). --define(wxControlWithItems_GetString, 891). --define(wxControlWithItems_GetStringSelection, 892). --define(wxControlWithItems_Insert_2, 893). --define(wxControlWithItems_Insert_3, 894). --define(wxControlWithItems_IsEmpty, 895). --define(wxControlWithItems_Select, 896). --define(wxControlWithItems_SetSelection, 897). --define(wxControlWithItems_SetString, 898). --define(wxControlWithItems_SetStringSelection, 899). --define(wxMenu_new_2, 902). --define(wxMenu_new_1, 903). --define(wxMenu_destruct, 905). --define(wxMenu_Append_3, 906). --define(wxMenu_Append_1, 907). --define(wxMenu_Append_4_0, 908). --define(wxMenu_Append_4_1, 909). --define(wxMenu_AppendCheckItem, 910). --define(wxMenu_AppendRadioItem, 911). --define(wxMenu_AppendSeparator, 912). --define(wxMenu_Break, 913). --define(wxMenu_Check, 914). --define(wxMenu_Delete_1_0, 915). --define(wxMenu_Delete_1_1, 916). --define(wxMenu_Destroy_1_0, 917). --define(wxMenu_Destroy_1_1, 918). --define(wxMenu_Enable, 919). --define(wxMenu_FindItem_1, 920). --define(wxMenu_FindItem_2, 921). --define(wxMenu_FindItemByPosition, 922). --define(wxMenu_GetHelpString, 923). --define(wxMenu_GetLabel, 924). --define(wxMenu_GetMenuItemCount, 925). --define(wxMenu_GetMenuItems, 926). --define(wxMenu_GetTitle, 928). --define(wxMenu_Insert_2, 929). --define(wxMenu_Insert_3, 930). --define(wxMenu_Insert_5_1, 931). --define(wxMenu_Insert_5_0, 932). --define(wxMenu_InsertCheckItem, 933). --define(wxMenu_InsertRadioItem, 934). --define(wxMenu_InsertSeparator, 935). --define(wxMenu_IsChecked, 936). --define(wxMenu_IsEnabled, 937). --define(wxMenu_Prepend_1, 938). --define(wxMenu_Prepend_2, 939). --define(wxMenu_Prepend_4_1, 940). --define(wxMenu_Prepend_4_0, 941). --define(wxMenu_PrependCheckItem, 942). --define(wxMenu_PrependRadioItem, 943). --define(wxMenu_PrependSeparator, 944). --define(wxMenu_Remove_1_0, 945). --define(wxMenu_Remove_1_1, 946). --define(wxMenu_SetHelpString, 947). --define(wxMenu_SetLabel, 948). --define(wxMenu_SetTitle, 949). --define(wxMenuItem_new, 950). --define(wxMenuItem_destruct, 952). --define(wxMenuItem_Check, 953). --define(wxMenuItem_Enable, 954). --define(wxMenuItem_GetBitmap, 955). --define(wxMenuItem_GetHelp, 956). --define(wxMenuItem_GetId, 957). --define(wxMenuItem_GetKind, 958). --define(wxMenuItem_GetLabel, 959). --define(wxMenuItem_GetLabelFromText, 960). --define(wxMenuItem_GetMenu, 961). --define(wxMenuItem_GetText, 962). --define(wxMenuItem_GetSubMenu, 963). --define(wxMenuItem_IsCheckable, 964). --define(wxMenuItem_IsChecked, 965). --define(wxMenuItem_IsEnabled, 966). --define(wxMenuItem_IsSeparator, 967). --define(wxMenuItem_IsSubMenu, 968). --define(wxMenuItem_SetBitmap, 969). --define(wxMenuItem_SetHelp, 970). --define(wxMenuItem_SetMenu, 971). --define(wxMenuItem_SetSubMenu, 972). --define(wxMenuItem_SetText, 973). --define(wxToolBar_AddControl, 974). --define(wxToolBar_AddSeparator, 975). --define(wxToolBar_AddTool_5, 976). --define(wxToolBar_AddTool_4_0, 977). --define(wxToolBar_AddTool_1, 978). --define(wxToolBar_AddTool_4_1, 979). --define(wxToolBar_AddTool_3, 980). --define(wxToolBar_AddTool_6, 981). --define(wxToolBar_AddCheckTool, 982). --define(wxToolBar_AddRadioTool, 983). --define(wxToolBar_DeleteTool, 984). --define(wxToolBar_DeleteToolByPos, 985). --define(wxToolBar_EnableTool, 986). --define(wxToolBar_FindById, 987). --define(wxToolBar_FindControl, 988). --define(wxToolBar_FindToolForPosition, 989). --define(wxToolBar_GetToolSize, 990). --define(wxToolBar_GetToolBitmapSize, 991). --define(wxToolBar_GetMargins, 992). --define(wxToolBar_GetToolEnabled, 993). --define(wxToolBar_GetToolLongHelp, 994). --define(wxToolBar_GetToolPacking, 995). --define(wxToolBar_GetToolPos, 996). --define(wxToolBar_GetToolSeparation, 997). --define(wxToolBar_GetToolShortHelp, 998). --define(wxToolBar_GetToolState, 999). --define(wxToolBar_InsertControl, 1000). --define(wxToolBar_InsertSeparator, 1001). --define(wxToolBar_InsertTool_5, 1002). --define(wxToolBar_InsertTool_2, 1003). --define(wxToolBar_InsertTool_4, 1004). --define(wxToolBar_Realize, 1005). --define(wxToolBar_RemoveTool, 1006). --define(wxToolBar_SetMargins, 1007). --define(wxToolBar_SetToolBitmapSize, 1008). --define(wxToolBar_SetToolLongHelp, 1009). --define(wxToolBar_SetToolPacking, 1010). --define(wxToolBar_SetToolShortHelp, 1011). --define(wxToolBar_SetToolSeparation, 1012). --define(wxToolBar_ToggleTool, 1013). --define(wxStatusBar_new_0, 1015). --define(wxStatusBar_new_2, 1016). --define(wxStatusBar_destruct, 1018). --define(wxStatusBar_Create, 1019). --define(wxStatusBar_GetFieldRect, 1020). --define(wxStatusBar_GetFieldsCount, 1021). --define(wxStatusBar_GetStatusText, 1022). --define(wxStatusBar_PopStatusText, 1023). --define(wxStatusBar_PushStatusText, 1024). --define(wxStatusBar_SetFieldsCount, 1025). --define(wxStatusBar_SetMinHeight, 1026). --define(wxStatusBar_SetStatusText, 1027). --define(wxStatusBar_SetStatusWidths, 1028). --define(wxStatusBar_SetStatusStyles, 1029). --define(wxBitmap_new_0, 1030). --define(wxBitmap_new_3, 1031). --define(wxBitmap_new_4, 1032). --define(wxBitmap_new_2_0, 1033). --define(wxBitmap_new_2_1, 1034). --define(wxBitmap_destruct, 1035). --define(wxBitmap_ConvertToImage, 1036). --define(wxBitmap_CopyFromIcon, 1037). --define(wxBitmap_Create, 1038). --define(wxBitmap_GetDepth, 1039). --define(wxBitmap_GetHeight, 1040). --define(wxBitmap_GetPalette, 1041). --define(wxBitmap_GetMask, 1042). --define(wxBitmap_GetWidth, 1043). --define(wxBitmap_GetSubBitmap, 1044). --define(wxBitmap_LoadFile, 1045). --define(wxBitmap_Ok, 1046). --define(wxBitmap_SaveFile, 1047). --define(wxBitmap_SetDepth, 1048). --define(wxBitmap_SetHeight, 1049). --define(wxBitmap_SetMask, 1050). --define(wxBitmap_SetPalette, 1051). --define(wxBitmap_SetWidth, 1052). --define(wxIcon_new_0, 1053). --define(wxIcon_new_2, 1054). --define(wxIcon_new_1, 1055). --define(wxIcon_CopyFromBitmap, 1056). --define(wxIcon_destroy, 1057). --define(wxIconBundle_new_0, 1058). --define(wxIconBundle_new_2, 1059). --define(wxIconBundle_new_1_0, 1060). --define(wxIconBundle_new_1_1, 1061). --define(wxIconBundle_destruct, 1062). --define(wxIconBundle_AddIcon_2, 1063). --define(wxIconBundle_AddIcon_1, 1064). --define(wxIconBundle_GetIcon_1_1, 1065). --define(wxIconBundle_GetIcon_1_0, 1066). --define(wxCursor_new_0, 1067). --define(wxCursor_new_1_0, 1068). --define(wxCursor_new_1_1, 1069). --define(wxCursor_new_4, 1070). --define(wxCursor_destruct, 1071). --define(wxCursor_Ok, 1072). --define(wxMask_new_0, 1073). --define(wxMask_new_2_1, 1074). --define(wxMask_new_2_0, 1075). --define(wxMask_new_1, 1076). --define(wxMask_destruct, 1077). --define(wxMask_Create_2_1, 1078). --define(wxMask_Create_2_0, 1079). --define(wxMask_Create_1, 1080). --define(wxImage_new_0, 1081). --define(wxImage_new_3_0, 1082). --define(wxImage_new_4, 1083). --define(wxImage_new_5, 1084). --define(wxImage_new_2, 1085). --define(wxImage_new_3_1, 1086). --define(wxImage_Blur, 1087). --define(wxImage_BlurHorizontal, 1088). --define(wxImage_BlurVertical, 1089). --define(wxImage_ConvertAlphaToMask, 1090). --define(wxImage_ConvertToGreyscale, 1091). --define(wxImage_ConvertToMono, 1092). --define(wxImage_Copy, 1093). --define(wxImage_Create_3, 1094). --define(wxImage_Create_4, 1095). --define(wxImage_Create_5, 1096). --define(wxImage_Destroy, 1097). --define(wxImage_FindFirstUnusedColour, 1098). --define(wxImage_GetImageExtWildcard, 1099). --define(wxImage_GetAlpha_2, 1100). --define(wxImage_GetAlpha_0, 1101). --define(wxImage_GetBlue, 1102). --define(wxImage_GetData, 1103). --define(wxImage_GetGreen, 1104). --define(wxImage_GetImageCount, 1105). --define(wxImage_GetHeight, 1106). --define(wxImage_GetMaskBlue, 1107). --define(wxImage_GetMaskGreen, 1108). --define(wxImage_GetMaskRed, 1109). --define(wxImage_GetOrFindMaskColour, 1110). --define(wxImage_GetPalette, 1111). --define(wxImage_GetRed, 1112). --define(wxImage_GetSubImage, 1113). --define(wxImage_GetWidth, 1114). --define(wxImage_HasAlpha, 1115). --define(wxImage_HasMask, 1116). --define(wxImage_GetOption, 1117). --define(wxImage_GetOptionInt, 1118). --define(wxImage_HasOption, 1119). --define(wxImage_InitAlpha, 1120). --define(wxImage_InitStandardHandlers, 1121). --define(wxImage_IsTransparent, 1122). --define(wxImage_LoadFile_2, 1123). --define(wxImage_LoadFile_3, 1124). --define(wxImage_Ok, 1125). --define(wxImage_RemoveHandler, 1126). --define(wxImage_Mirror, 1127). --define(wxImage_Replace, 1128). --define(wxImage_Rescale, 1129). --define(wxImage_Resize, 1130). --define(wxImage_Rotate, 1131). --define(wxImage_RotateHue, 1132). --define(wxImage_Rotate90, 1133). --define(wxImage_SaveFile_1, 1134). --define(wxImage_SaveFile_2_0, 1135). --define(wxImage_SaveFile_2_1, 1136). --define(wxImage_Scale, 1137). --define(wxImage_Size, 1138). --define(wxImage_SetAlpha_3, 1139). --define(wxImage_SetAlpha_2, 1140). --define(wxImage_SetData_2, 1141). --define(wxImage_SetData_4, 1142). --define(wxImage_SetMask, 1143). --define(wxImage_SetMaskColour, 1144). --define(wxImage_SetMaskFromImage, 1145). --define(wxImage_SetOption_2_1, 1146). --define(wxImage_SetOption_2_0, 1147). --define(wxImage_SetPalette, 1148). --define(wxImage_SetRGB_5, 1149). --define(wxImage_SetRGB_4, 1150). --define(wxImage_destroy, 1151). --define(wxBrush_new_0, 1152). --define(wxBrush_new_2, 1153). --define(wxBrush_new_1, 1154). --define(wxBrush_destruct, 1156). --define(wxBrush_GetColour, 1157). --define(wxBrush_GetStipple, 1158). --define(wxBrush_GetStyle, 1159). --define(wxBrush_IsHatch, 1160). --define(wxBrush_IsOk, 1161). --define(wxBrush_SetColour_1, 1162). --define(wxBrush_SetColour_3, 1163). --define(wxBrush_SetStipple, 1164). --define(wxBrush_SetStyle, 1165). --define(wxPen_new_0, 1166). --define(wxPen_new_2, 1167). --define(wxPen_destruct, 1168). --define(wxPen_GetCap, 1169). --define(wxPen_GetColour, 1170). --define(wxPen_GetJoin, 1171). --define(wxPen_GetStyle, 1172). --define(wxPen_GetWidth, 1173). --define(wxPen_IsOk, 1174). --define(wxPen_SetCap, 1175). --define(wxPen_SetColour_1, 1176). --define(wxPen_SetColour_3, 1177). --define(wxPen_SetJoin, 1178). --define(wxPen_SetStyle, 1179). --define(wxPen_SetWidth, 1180). --define(wxRegion_new_0, 1181). --define(wxRegion_new_4, 1182). --define(wxRegion_new_2, 1183). --define(wxRegion_new_1_1, 1184). --define(wxRegion_new_1_0, 1186). --define(wxRegion_destruct, 1188). --define(wxRegion_Clear, 1189). --define(wxRegion_Contains_2, 1190). --define(wxRegion_Contains_1_0, 1191). --define(wxRegion_Contains_4, 1192). --define(wxRegion_Contains_1_1, 1193). --define(wxRegion_ConvertToBitmap, 1194). --define(wxRegion_GetBox, 1195). --define(wxRegion_Intersect_4, 1196). --define(wxRegion_Intersect_1_1, 1197). --define(wxRegion_Intersect_1_0, 1198). --define(wxRegion_IsEmpty, 1199). --define(wxRegion_Subtract_4, 1200). --define(wxRegion_Subtract_1_1, 1201). --define(wxRegion_Subtract_1_0, 1202). --define(wxRegion_Offset_2, 1203). --define(wxRegion_Offset_1, 1204). --define(wxRegion_Union_4, 1205). --define(wxRegion_Union_1_2, 1206). --define(wxRegion_Union_1_1, 1207). --define(wxRegion_Union_1_0, 1208). --define(wxRegion_Union_3, 1209). --define(wxRegion_Xor_4, 1210). --define(wxRegion_Xor_1_1, 1211). --define(wxRegion_Xor_1_0, 1212). --define(wxAcceleratorTable_new_0, 1213). --define(wxAcceleratorTable_new_2, 1214). --define(wxAcceleratorTable_destruct, 1215). --define(wxAcceleratorTable_Ok, 1216). --define(wxAcceleratorEntry_new_1_0, 1217). --define(wxAcceleratorEntry_new_1_1, 1218). --define(wxAcceleratorEntry_GetCommand, 1219). --define(wxAcceleratorEntry_GetFlags, 1220). --define(wxAcceleratorEntry_GetKeyCode, 1221). --define(wxAcceleratorEntry_Set, 1222). --define(wxAcceleratorEntry_destroy, 1223). --define(wxCaret_new_3, 1228). --define(wxCaret_new_2, 1229). --define(wxCaret_destruct, 1231). --define(wxCaret_Create_3, 1232). --define(wxCaret_Create_2, 1233). --define(wxCaret_GetBlinkTime, 1234). --define(wxCaret_GetPosition, 1236). --define(wxCaret_GetSize, 1238). --define(wxCaret_GetWindow, 1239). --define(wxCaret_Hide, 1240). --define(wxCaret_IsOk, 1241). --define(wxCaret_IsVisible, 1242). --define(wxCaret_Move_2, 1243). --define(wxCaret_Move_1, 1244). --define(wxCaret_SetBlinkTime, 1245). --define(wxCaret_SetSize_2, 1246). --define(wxCaret_SetSize_1, 1247). --define(wxCaret_Show, 1248). --define(wxSizer_Add_2_1, 1249). --define(wxSizer_Add_2_0, 1250). --define(wxSizer_Add_3, 1251). --define(wxSizer_Add_2_3, 1252). --define(wxSizer_Add_2_2, 1253). --define(wxSizer_AddSpacer, 1254). --define(wxSizer_AddStretchSpacer, 1255). --define(wxSizer_CalcMin, 1256). --define(wxSizer_Clear, 1257). --define(wxSizer_Detach_1_2, 1258). --define(wxSizer_Detach_1_1, 1259). --define(wxSizer_Detach_1_0, 1260). --define(wxSizer_Fit, 1261). --define(wxSizer_FitInside, 1262). --define(wxSizer_GetChildren, 1263). --define(wxSizer_GetItem_2_1, 1264). --define(wxSizer_GetItem_2_0, 1265). --define(wxSizer_GetItem_1, 1266). --define(wxSizer_GetSize, 1267). --define(wxSizer_GetPosition, 1268). --define(wxSizer_GetMinSize, 1269). --define(wxSizer_Hide_2_0, 1270). --define(wxSizer_Hide_2_1, 1271). --define(wxSizer_Hide_1, 1272). --define(wxSizer_Insert_3_1, 1273). --define(wxSizer_Insert_3_0, 1274). --define(wxSizer_Insert_4, 1275). --define(wxSizer_Insert_3_3, 1276). --define(wxSizer_Insert_3_2, 1277). --define(wxSizer_Insert_2, 1278). --define(wxSizer_InsertSpacer, 1279). --define(wxSizer_InsertStretchSpacer, 1280). --define(wxSizer_IsShown_1_2, 1281). --define(wxSizer_IsShown_1_1, 1282). --define(wxSizer_IsShown_1_0, 1283). --define(wxSizer_Layout, 1284). --define(wxSizer_Prepend_2_1, 1285). --define(wxSizer_Prepend_2_0, 1286). --define(wxSizer_Prepend_3, 1287). --define(wxSizer_Prepend_2_3, 1288). --define(wxSizer_Prepend_2_2, 1289). --define(wxSizer_Prepend_1, 1290). --define(wxSizer_PrependSpacer, 1291). --define(wxSizer_PrependStretchSpacer, 1292). --define(wxSizer_RecalcSizes, 1293). --define(wxSizer_Remove_1_1, 1294). --define(wxSizer_Remove_1_0, 1295). --define(wxSizer_Replace_3_1, 1296). --define(wxSizer_Replace_3_0, 1297). --define(wxSizer_Replace_2, 1298). --define(wxSizer_SetDimension, 1299). --define(wxSizer_SetMinSize_2, 1300). --define(wxSizer_SetMinSize_1, 1301). --define(wxSizer_SetItemMinSize_3_2, 1302). --define(wxSizer_SetItemMinSize_2_2, 1303). --define(wxSizer_SetItemMinSize_3_1, 1304). --define(wxSizer_SetItemMinSize_2_1, 1305). --define(wxSizer_SetItemMinSize_3_0, 1306). --define(wxSizer_SetItemMinSize_2_0, 1307). --define(wxSizer_SetSizeHints, 1308). --define(wxSizer_SetVirtualSizeHints, 1309). --define(wxSizer_Show_2_2, 1310). --define(wxSizer_Show_2_1, 1311). --define(wxSizer_Show_2_0, 1312). --define(wxSizer_Show_1, 1313). --define(wxSizerFlags_new, 1314). --define(wxSizerFlags_Align, 1315). --define(wxSizerFlags_Border_2, 1316). --define(wxSizerFlags_Border_1, 1317). --define(wxSizerFlags_Center, 1318). --define(wxSizerFlags_Centre, 1319). --define(wxSizerFlags_Expand, 1320). --define(wxSizerFlags_Left, 1321). --define(wxSizerFlags_Proportion, 1322). --define(wxSizerFlags_Right, 1323). --define(wxSizerFlags_destroy, 1324). --define(wxSizerItem_new_5_1, 1325). --define(wxSizerItem_new_2_1, 1326). --define(wxSizerItem_new_5_0, 1327). --define(wxSizerItem_new_2_0, 1328). --define(wxSizerItem_new_6, 1329). --define(wxSizerItem_new_3, 1330). --define(wxSizerItem_new_0, 1331). --define(wxSizerItem_destruct, 1332). --define(wxSizerItem_CalcMin, 1333). --define(wxSizerItem_DeleteWindows, 1334). --define(wxSizerItem_DetachSizer, 1335). --define(wxSizerItem_GetBorder, 1336). --define(wxSizerItem_GetFlag, 1337). --define(wxSizerItem_GetMinSize, 1338). --define(wxSizerItem_GetPosition, 1339). --define(wxSizerItem_GetProportion, 1340). --define(wxSizerItem_GetRatio, 1341). --define(wxSizerItem_GetRect, 1342). --define(wxSizerItem_GetSize, 1343). --define(wxSizerItem_GetSizer, 1344). --define(wxSizerItem_GetSpacer, 1345). --define(wxSizerItem_GetUserData, 1346). --define(wxSizerItem_GetWindow, 1347). --define(wxSizerItem_IsSizer, 1348). --define(wxSizerItem_IsShown, 1349). --define(wxSizerItem_IsSpacer, 1350). --define(wxSizerItem_IsWindow, 1351). --define(wxSizerItem_SetBorder, 1352). --define(wxSizerItem_SetDimension, 1353). --define(wxSizerItem_SetFlag, 1354). --define(wxSizerItem_SetInitSize, 1355). --define(wxSizerItem_SetMinSize_1, 1356). --define(wxSizerItem_SetMinSize_2, 1357). --define(wxSizerItem_SetProportion, 1358). --define(wxSizerItem_SetRatio_2, 1359). --define(wxSizerItem_SetRatio_1_1, 1360). --define(wxSizerItem_SetRatio_1_0, 1361). --define(wxSizerItem_SetSizer, 1362). --define(wxSizerItem_SetSpacer_1, 1363). --define(wxSizerItem_SetSpacer_2, 1364). --define(wxSizerItem_SetWindow, 1365). --define(wxSizerItem_Show, 1366). --define(wxBoxSizer_new, 1367). --define(wxBoxSizer_GetOrientation, 1368). --define(wxBoxSizer_destroy, 1369). --define(wxStaticBoxSizer_new_2, 1370). --define(wxStaticBoxSizer_new_3, 1371). --define(wxStaticBoxSizer_GetStaticBox, 1372). --define(wxStaticBoxSizer_destroy, 1373). --define(wxGridSizer_new_4, 1374). --define(wxGridSizer_new_2, 1375). --define(wxGridSizer_GetCols, 1376). --define(wxGridSizer_GetHGap, 1377). --define(wxGridSizer_GetRows, 1378). --define(wxGridSizer_GetVGap, 1379). --define(wxGridSizer_SetCols, 1380). --define(wxGridSizer_SetHGap, 1381). --define(wxGridSizer_SetRows, 1382). --define(wxGridSizer_SetVGap, 1383). --define(wxGridSizer_destroy, 1384). --define(wxFlexGridSizer_new_4, 1385). --define(wxFlexGridSizer_new_2, 1386). --define(wxFlexGridSizer_AddGrowableCol, 1387). --define(wxFlexGridSizer_AddGrowableRow, 1388). --define(wxFlexGridSizer_GetFlexibleDirection, 1389). --define(wxFlexGridSizer_GetNonFlexibleGrowMode, 1390). --define(wxFlexGridSizer_RemoveGrowableCol, 1391). --define(wxFlexGridSizer_RemoveGrowableRow, 1392). --define(wxFlexGridSizer_SetFlexibleDirection, 1393). --define(wxFlexGridSizer_SetNonFlexibleGrowMode, 1394). --define(wxFlexGridSizer_destroy, 1395). --define(wxGridBagSizer_new, 1396). --define(wxGridBagSizer_Add_3_2, 1397). --define(wxGridBagSizer_Add_3_1, 1398). --define(wxGridBagSizer_Add_4, 1399). --define(wxGridBagSizer_Add_1_0, 1400). --define(wxGridBagSizer_Add_2_1, 1401). --define(wxGridBagSizer_Add_2_0, 1402). --define(wxGridBagSizer_Add_3_0, 1403). --define(wxGridBagSizer_Add_1_1, 1404). --define(wxGridBagSizer_CalcMin, 1405). --define(wxGridBagSizer_CheckForIntersection_2, 1406). --define(wxGridBagSizer_CheckForIntersection_3, 1407). --define(wxGridBagSizer_FindItem_1_1, 1408). --define(wxGridBagSizer_FindItem_1_0, 1409). --define(wxGridBagSizer_FindItemAtPoint, 1410). --define(wxGridBagSizer_FindItemAtPosition, 1411). --define(wxGridBagSizer_FindItemWithData, 1412). --define(wxGridBagSizer_GetCellSize, 1413). --define(wxGridBagSizer_GetEmptyCellSize, 1414). --define(wxGridBagSizer_GetItemPosition_1_2, 1415). --define(wxGridBagSizer_GetItemPosition_1_1, 1416). --define(wxGridBagSizer_GetItemPosition_1_0, 1417). --define(wxGridBagSizer_GetItemSpan_1_2, 1418). --define(wxGridBagSizer_GetItemSpan_1_1, 1419). --define(wxGridBagSizer_GetItemSpan_1_0, 1420). --define(wxGridBagSizer_SetEmptyCellSize, 1421). --define(wxGridBagSizer_SetItemPosition_2_2, 1422). --define(wxGridBagSizer_SetItemPosition_2_1, 1423). --define(wxGridBagSizer_SetItemPosition_2_0, 1424). --define(wxGridBagSizer_SetItemSpan_2_2, 1425). --define(wxGridBagSizer_SetItemSpan_2_1, 1426). --define(wxGridBagSizer_SetItemSpan_2_0, 1427). --define(wxGridBagSizer_destroy, 1428). --define(wxStdDialogButtonSizer_new, 1429). --define(wxStdDialogButtonSizer_AddButton, 1430). --define(wxStdDialogButtonSizer_Realize, 1431). --define(wxStdDialogButtonSizer_SetAffirmativeButton, 1432). --define(wxStdDialogButtonSizer_SetCancelButton, 1433). --define(wxStdDialogButtonSizer_SetNegativeButton, 1434). --define(wxStdDialogButtonSizer_destroy, 1435). --define(wxFont_new_0, 1436). --define(wxFont_new_1, 1437). --define(wxFont_new_5, 1438). --define(wxFont_destruct, 1440). --define(wxFont_IsFixedWidth, 1441). --define(wxFont_GetDefaultEncoding, 1442). --define(wxFont_GetFaceName, 1443). --define(wxFont_GetFamily, 1444). --define(wxFont_GetNativeFontInfoDesc, 1445). --define(wxFont_GetNativeFontInfoUserDesc, 1446). --define(wxFont_GetPointSize, 1447). --define(wxFont_GetStyle, 1448). --define(wxFont_GetUnderlined, 1449). --define(wxFont_GetWeight, 1450). --define(wxFont_Ok, 1451). --define(wxFont_SetDefaultEncoding, 1452). --define(wxFont_SetFaceName, 1453). --define(wxFont_SetFamily, 1454). --define(wxFont_SetPointSize, 1455). --define(wxFont_SetStyle, 1456). --define(wxFont_SetUnderlined, 1457). --define(wxFont_SetWeight, 1458). --define(wxToolTip_Enable, 1459). --define(wxToolTip_SetDelay, 1460). --define(wxToolTip_new, 1461). --define(wxToolTip_SetTip, 1462). --define(wxToolTip_GetTip, 1463). --define(wxToolTip_GetWindow, 1464). --define(wxToolTip_destroy, 1465). --define(wxButton_new_3, 1467). --define(wxButton_new_0, 1468). --define(wxButton_destruct, 1469). --define(wxButton_Create, 1470). --define(wxButton_GetDefaultSize, 1471). --define(wxButton_SetDefault, 1472). --define(wxButton_SetLabel, 1473). --define(wxBitmapButton_new_4, 1475). --define(wxBitmapButton_new_0, 1476). --define(wxBitmapButton_Create, 1477). --define(wxBitmapButton_GetBitmapDisabled, 1478). --define(wxBitmapButton_GetBitmapFocus, 1480). --define(wxBitmapButton_GetBitmapLabel, 1482). --define(wxBitmapButton_GetBitmapSelected, 1484). --define(wxBitmapButton_SetBitmapDisabled, 1486). --define(wxBitmapButton_SetBitmapFocus, 1487). --define(wxBitmapButton_SetBitmapLabel, 1488). --define(wxBitmapButton_SetBitmapSelected, 1489). --define(wxBitmapButton_destroy, 1490). --define(wxToggleButton_new_0, 1491). --define(wxToggleButton_new_4, 1492). --define(wxToggleButton_Create, 1493). --define(wxToggleButton_GetValue, 1494). --define(wxToggleButton_SetValue, 1495). --define(wxToggleButton_destroy, 1496). --define(wxCalendarCtrl_new_0, 1497). --define(wxCalendarCtrl_new_3, 1498). --define(wxCalendarCtrl_Create, 1499). --define(wxCalendarCtrl_destruct, 1500). --define(wxCalendarCtrl_SetDate, 1501). --define(wxCalendarCtrl_GetDate, 1502). --define(wxCalendarCtrl_EnableYearChange, 1503). --define(wxCalendarCtrl_EnableMonthChange, 1504). --define(wxCalendarCtrl_EnableHolidayDisplay, 1505). --define(wxCalendarCtrl_SetHeaderColours, 1506). --define(wxCalendarCtrl_GetHeaderColourFg, 1507). --define(wxCalendarCtrl_GetHeaderColourBg, 1508). --define(wxCalendarCtrl_SetHighlightColours, 1509). --define(wxCalendarCtrl_GetHighlightColourFg, 1510). --define(wxCalendarCtrl_GetHighlightColourBg, 1511). --define(wxCalendarCtrl_SetHolidayColours, 1512). --define(wxCalendarCtrl_GetHolidayColourFg, 1513). --define(wxCalendarCtrl_GetHolidayColourBg, 1514). --define(wxCalendarCtrl_GetAttr, 1515). --define(wxCalendarCtrl_SetAttr, 1516). --define(wxCalendarCtrl_SetHoliday, 1517). --define(wxCalendarCtrl_ResetAttr, 1518). --define(wxCalendarCtrl_HitTest, 1519). --define(wxCalendarDateAttr_new_0, 1520). --define(wxCalendarDateAttr_new_2_1, 1521). --define(wxCalendarDateAttr_new_2_0, 1522). --define(wxCalendarDateAttr_SetTextColour, 1523). --define(wxCalendarDateAttr_SetBackgroundColour, 1524). --define(wxCalendarDateAttr_SetBorderColour, 1525). --define(wxCalendarDateAttr_SetFont, 1526). --define(wxCalendarDateAttr_SetBorder, 1527). --define(wxCalendarDateAttr_SetHoliday, 1528). --define(wxCalendarDateAttr_HasTextColour, 1529). --define(wxCalendarDateAttr_HasBackgroundColour, 1530). --define(wxCalendarDateAttr_HasBorderColour, 1531). --define(wxCalendarDateAttr_HasFont, 1532). --define(wxCalendarDateAttr_HasBorder, 1533). --define(wxCalendarDateAttr_IsHoliday, 1534). --define(wxCalendarDateAttr_GetTextColour, 1535). --define(wxCalendarDateAttr_GetBackgroundColour, 1536). --define(wxCalendarDateAttr_GetBorderColour, 1537). --define(wxCalendarDateAttr_GetFont, 1538). --define(wxCalendarDateAttr_GetBorder, 1539). --define(wxCalendarDateAttr_destroy, 1540). --define(wxCheckBox_new_4, 1542). --define(wxCheckBox_new_0, 1543). --define(wxCheckBox_Create, 1544). --define(wxCheckBox_GetValue, 1545). --define(wxCheckBox_Get3StateValue, 1546). --define(wxCheckBox_Is3rdStateAllowedForUser, 1547). --define(wxCheckBox_Is3State, 1548). --define(wxCheckBox_IsChecked, 1549). --define(wxCheckBox_SetValue, 1550). --define(wxCheckBox_Set3StateValue, 1551). --define(wxCheckBox_destroy, 1552). --define(wxCheckListBox_new_0, 1553). --define(wxCheckListBox_new_3, 1555). --define(wxCheckListBox_Check, 1556). --define(wxCheckListBox_IsChecked, 1557). --define(wxCheckListBox_destroy, 1558). --define(wxChoice_new_3, 1561). --define(wxChoice_new_0, 1562). --define(wxChoice_destruct, 1564). --define(wxChoice_Create, 1566). --define(wxChoice_Delete, 1567). --define(wxChoice_GetColumns, 1568). --define(wxChoice_SetColumns, 1569). --define(wxComboBox_new_0, 1570). --define(wxComboBox_new_3, 1572). --define(wxComboBox_destruct, 1573). --define(wxComboBox_Create, 1575). --define(wxComboBox_CanCopy, 1576). --define(wxComboBox_CanCut, 1577). --define(wxComboBox_CanPaste, 1578). --define(wxComboBox_CanRedo, 1579). --define(wxComboBox_CanUndo, 1580). --define(wxComboBox_Copy, 1581). --define(wxComboBox_Cut, 1582). --define(wxComboBox_GetInsertionPoint, 1583). --define(wxComboBox_GetLastPosition, 1584). --define(wxComboBox_GetValue, 1585). --define(wxComboBox_Paste, 1586). --define(wxComboBox_Redo, 1587). --define(wxComboBox_Replace, 1588). --define(wxComboBox_Remove, 1589). --define(wxComboBox_SetInsertionPoint, 1590). --define(wxComboBox_SetInsertionPointEnd, 1591). --define(wxComboBox_SetSelection_1, 1592). --define(wxComboBox_SetSelection_2, 1593). --define(wxComboBox_SetValue, 1594). --define(wxComboBox_Undo, 1595). --define(wxGauge_new_0, 1596). --define(wxGauge_new_4, 1597). --define(wxGauge_Create, 1598). --define(wxGauge_GetBezelFace, 1599). --define(wxGauge_GetRange, 1600). --define(wxGauge_GetShadowWidth, 1601). --define(wxGauge_GetValue, 1602). --define(wxGauge_IsVertical, 1603). --define(wxGauge_SetBezelFace, 1604). --define(wxGauge_SetRange, 1605). --define(wxGauge_SetShadowWidth, 1606). --define(wxGauge_SetValue, 1607). --define(wxGauge_Pulse, 1608). --define(wxGauge_destroy, 1609). --define(wxGenericDirCtrl_new_0, 1610). --define(wxGenericDirCtrl_new_2, 1611). --define(wxGenericDirCtrl_destruct, 1612). --define(wxGenericDirCtrl_Create, 1613). --define(wxGenericDirCtrl_Init, 1614). --define(wxGenericDirCtrl_CollapseTree, 1615). --define(wxGenericDirCtrl_ExpandPath, 1616). --define(wxGenericDirCtrl_GetDefaultPath, 1617). --define(wxGenericDirCtrl_GetPath, 1618). --define(wxGenericDirCtrl_GetFilePath, 1619). --define(wxGenericDirCtrl_GetFilter, 1620). --define(wxGenericDirCtrl_GetFilterIndex, 1621). --define(wxGenericDirCtrl_GetRootId, 1622). --define(wxGenericDirCtrl_GetTreeCtrl, 1623). --define(wxGenericDirCtrl_ReCreateTree, 1624). --define(wxGenericDirCtrl_SetDefaultPath, 1625). --define(wxGenericDirCtrl_SetFilter, 1626). --define(wxGenericDirCtrl_SetFilterIndex, 1627). --define(wxGenericDirCtrl_SetPath, 1628). --define(wxStaticBox_new_4, 1630). --define(wxStaticBox_new_0, 1631). --define(wxStaticBox_Create, 1632). --define(wxStaticBox_destroy, 1633). --define(wxStaticLine_new_2, 1635). --define(wxStaticLine_new_0, 1636). --define(wxStaticLine_Create, 1637). --define(wxStaticLine_IsVertical, 1638). --define(wxStaticLine_GetDefaultSize, 1639). --define(wxStaticLine_destroy, 1640). --define(wxListBox_new_3, 1643). --define(wxListBox_new_0, 1644). --define(wxListBox_destruct, 1646). --define(wxListBox_Create, 1648). --define(wxListBox_Deselect, 1649). --define(wxListBox_GetSelections, 1650). --define(wxListBox_InsertItems, 1651). --define(wxListBox_IsSelected, 1652). --define(wxListBox_Set, 1654). --define(wxListBox_HitTest, 1655). --define(wxListBox_SetFirstItem_1_0, 1656). --define(wxListBox_SetFirstItem_1_1, 1657). --define(wxListCtrl_new_0, 1658). --define(wxListCtrl_new_2, 1659). --define(wxListCtrl_Arrange, 1660). --define(wxListCtrl_AssignImageList, 1661). --define(wxListCtrl_ClearAll, 1662). --define(wxListCtrl_Create, 1663). --define(wxListCtrl_DeleteAllItems, 1664). --define(wxListCtrl_DeleteColumn, 1665). --define(wxListCtrl_DeleteItem, 1666). --define(wxListCtrl_EditLabel, 1667). --define(wxListCtrl_EnsureVisible, 1668). --define(wxListCtrl_FindItem_3_0, 1669). --define(wxListCtrl_FindItem_3_1, 1670). --define(wxListCtrl_GetColumn, 1671). --define(wxListCtrl_GetColumnCount, 1672). --define(wxListCtrl_GetColumnWidth, 1673). --define(wxListCtrl_GetCountPerPage, 1674). --define(wxListCtrl_GetEditControl, 1675). --define(wxListCtrl_GetImageList, 1676). --define(wxListCtrl_GetItem, 1677). --define(wxListCtrl_GetItemBackgroundColour, 1678). --define(wxListCtrl_GetItemCount, 1679). --define(wxListCtrl_GetItemData, 1680). --define(wxListCtrl_GetItemFont, 1681). --define(wxListCtrl_GetItemPosition, 1682). --define(wxListCtrl_GetItemRect, 1683). --define(wxListCtrl_GetItemSpacing, 1684). --define(wxListCtrl_GetItemState, 1685). --define(wxListCtrl_GetItemText, 1686). --define(wxListCtrl_GetItemTextColour, 1687). --define(wxListCtrl_GetNextItem, 1688). --define(wxListCtrl_GetSelectedItemCount, 1689). --define(wxListCtrl_GetTextColour, 1690). --define(wxListCtrl_GetTopItem, 1691). --define(wxListCtrl_GetViewRect, 1692). --define(wxListCtrl_HitTest, 1693). --define(wxListCtrl_InsertColumn_2, 1694). --define(wxListCtrl_InsertColumn_3, 1695). --define(wxListCtrl_InsertItem_1, 1696). --define(wxListCtrl_InsertItem_2_1, 1697). --define(wxListCtrl_InsertItem_2_0, 1698). --define(wxListCtrl_InsertItem_3, 1699). --define(wxListCtrl_RefreshItem, 1700). --define(wxListCtrl_RefreshItems, 1701). --define(wxListCtrl_ScrollList, 1702). --define(wxListCtrl_SetBackgroundColour, 1703). --define(wxListCtrl_SetColumn, 1704). --define(wxListCtrl_SetColumnWidth, 1705). --define(wxListCtrl_SetImageList, 1706). --define(wxListCtrl_SetItem_1, 1707). --define(wxListCtrl_SetItem_4, 1708). --define(wxListCtrl_SetItemBackgroundColour, 1709). --define(wxListCtrl_SetItemCount, 1710). --define(wxListCtrl_SetItemData, 1711). --define(wxListCtrl_SetItemFont, 1712). --define(wxListCtrl_SetItemImage, 1713). --define(wxListCtrl_SetItemColumnImage, 1714). --define(wxListCtrl_SetItemPosition, 1715). --define(wxListCtrl_SetItemState, 1716). --define(wxListCtrl_SetItemText, 1717). --define(wxListCtrl_SetItemTextColour, 1718). --define(wxListCtrl_SetSingleStyle, 1719). --define(wxListCtrl_SetTextColour, 1720). --define(wxListCtrl_SetWindowStyleFlag, 1721). --define(wxListCtrl_SortItems, 1722). --define(wxListCtrl_destroy, 1723). --define(wxListView_ClearColumnImage, 1724). --define(wxListView_Focus, 1725). --define(wxListView_GetFirstSelected, 1726). --define(wxListView_GetFocusedItem, 1727). --define(wxListView_GetNextSelected, 1728). --define(wxListView_IsSelected, 1729). --define(wxListView_Select, 1730). --define(wxListView_SetColumnImage, 1731). --define(wxListItem_new_0, 1732). --define(wxListItem_new_1, 1733). --define(wxListItem_destruct, 1734). --define(wxListItem_Clear, 1735). --define(wxListItem_GetAlign, 1736). --define(wxListItem_GetBackgroundColour, 1737). --define(wxListItem_GetColumn, 1738). --define(wxListItem_GetFont, 1739). --define(wxListItem_GetId, 1740). --define(wxListItem_GetImage, 1741). --define(wxListItem_GetMask, 1742). --define(wxListItem_GetState, 1743). --define(wxListItem_GetText, 1744). --define(wxListItem_GetTextColour, 1745). --define(wxListItem_GetWidth, 1746). --define(wxListItem_SetAlign, 1747). --define(wxListItem_SetBackgroundColour, 1748). --define(wxListItem_SetColumn, 1749). --define(wxListItem_SetFont, 1750). --define(wxListItem_SetId, 1751). --define(wxListItem_SetImage, 1752). --define(wxListItem_SetMask, 1753). --define(wxListItem_SetState, 1754). --define(wxListItem_SetStateMask, 1755). --define(wxListItem_SetText, 1756). --define(wxListItem_SetTextColour, 1757). --define(wxListItem_SetWidth, 1758). --define(wxImageList_new_0, 1759). --define(wxImageList_new_3, 1760). --define(wxImageList_Add_1, 1761). --define(wxImageList_Add_2_0, 1762). --define(wxImageList_Add_2_1, 1763). --define(wxImageList_Create, 1764). --define(wxImageList_Draw, 1766). --define(wxImageList_GetBitmap, 1767). --define(wxImageList_GetIcon, 1768). --define(wxImageList_GetImageCount, 1769). --define(wxImageList_GetSize, 1770). --define(wxImageList_Remove, 1771). --define(wxImageList_RemoveAll, 1772). --define(wxImageList_Replace_2, 1773). --define(wxImageList_Replace_3, 1774). --define(wxImageList_destroy, 1775). --define(wxTextAttr_new_0, 1776). --define(wxTextAttr_new_2, 1777). --define(wxTextAttr_GetAlignment, 1778). --define(wxTextAttr_GetBackgroundColour, 1779). --define(wxTextAttr_GetFont, 1780). --define(wxTextAttr_GetLeftIndent, 1781). --define(wxTextAttr_GetLeftSubIndent, 1782). --define(wxTextAttr_GetRightIndent, 1783). --define(wxTextAttr_GetTabs, 1784). --define(wxTextAttr_GetTextColour, 1785). --define(wxTextAttr_HasBackgroundColour, 1786). --define(wxTextAttr_HasFont, 1787). --define(wxTextAttr_HasTextColour, 1788). --define(wxTextAttr_GetFlags, 1789). --define(wxTextAttr_IsDefault, 1790). --define(wxTextAttr_SetAlignment, 1791). --define(wxTextAttr_SetBackgroundColour, 1792). --define(wxTextAttr_SetFlags, 1793). --define(wxTextAttr_SetFont, 1794). --define(wxTextAttr_SetLeftIndent, 1795). --define(wxTextAttr_SetRightIndent, 1796). --define(wxTextAttr_SetTabs, 1797). --define(wxTextAttr_SetTextColour, 1798). --define(wxTextAttr_destroy, 1799). --define(wxTextCtrl_new_3, 1801). --define(wxTextCtrl_new_0, 1802). --define(wxTextCtrl_destruct, 1804). --define(wxTextCtrl_AppendText, 1805). --define(wxTextCtrl_CanCopy, 1806). --define(wxTextCtrl_CanCut, 1807). --define(wxTextCtrl_CanPaste, 1808). --define(wxTextCtrl_CanRedo, 1809). --define(wxTextCtrl_CanUndo, 1810). --define(wxTextCtrl_Clear, 1811). --define(wxTextCtrl_Copy, 1812). --define(wxTextCtrl_Create, 1813). --define(wxTextCtrl_Cut, 1814). --define(wxTextCtrl_DiscardEdits, 1815). --define(wxTextCtrl_EmulateKeyPress, 1816). --define(wxTextCtrl_GetDefaultStyle, 1817). --define(wxTextCtrl_GetInsertionPoint, 1818). --define(wxTextCtrl_GetLastPosition, 1819). --define(wxTextCtrl_GetLineLength, 1820). --define(wxTextCtrl_GetLineText, 1821). --define(wxTextCtrl_GetNumberOfLines, 1822). --define(wxTextCtrl_GetRange, 1823). --define(wxTextCtrl_GetSelection, 1824). --define(wxTextCtrl_GetStringSelection, 1825). --define(wxTextCtrl_GetStyle, 1826). --define(wxTextCtrl_GetValue, 1827). --define(wxTextCtrl_IsEditable, 1828). --define(wxTextCtrl_IsModified, 1829). --define(wxTextCtrl_IsMultiLine, 1830). --define(wxTextCtrl_IsSingleLine, 1831). --define(wxTextCtrl_LoadFile, 1832). --define(wxTextCtrl_MarkDirty, 1833). --define(wxTextCtrl_Paste, 1834). --define(wxTextCtrl_PositionToXY, 1835). --define(wxTextCtrl_Redo, 1836). --define(wxTextCtrl_Remove, 1837). --define(wxTextCtrl_Replace, 1838). --define(wxTextCtrl_SaveFile, 1839). --define(wxTextCtrl_SetDefaultStyle, 1840). --define(wxTextCtrl_SetEditable, 1841). --define(wxTextCtrl_SetInsertionPoint, 1842). --define(wxTextCtrl_SetInsertionPointEnd, 1843). --define(wxTextCtrl_SetMaxLength, 1845). --define(wxTextCtrl_SetSelection, 1846). --define(wxTextCtrl_SetStyle, 1847). --define(wxTextCtrl_SetValue, 1848). --define(wxTextCtrl_ShowPosition, 1849). --define(wxTextCtrl_Undo, 1850). --define(wxTextCtrl_WriteText, 1851). --define(wxTextCtrl_XYToPosition, 1852). --define(wxNotebook_new_0, 1855). --define(wxNotebook_new_3, 1856). --define(wxNotebook_destruct, 1857). --define(wxNotebook_AddPage, 1858). --define(wxNotebook_AdvanceSelection, 1859). --define(wxNotebook_AssignImageList, 1860). --define(wxNotebook_Create, 1861). --define(wxNotebook_DeleteAllPages, 1862). --define(wxNotebook_DeletePage, 1863). --define(wxNotebook_RemovePage, 1864). --define(wxNotebook_GetCurrentPage, 1865). --define(wxNotebook_GetImageList, 1866). --define(wxNotebook_GetPage, 1868). --define(wxNotebook_GetPageCount, 1869). --define(wxNotebook_GetPageImage, 1870). --define(wxNotebook_GetPageText, 1871). --define(wxNotebook_GetRowCount, 1872). --define(wxNotebook_GetSelection, 1873). --define(wxNotebook_GetThemeBackgroundColour, 1874). --define(wxNotebook_HitTest, 1876). --define(wxNotebook_InsertPage, 1878). --define(wxNotebook_SetImageList, 1879). --define(wxNotebook_SetPadding, 1880). --define(wxNotebook_SetPageSize, 1881). --define(wxNotebook_SetPageImage, 1882). --define(wxNotebook_SetPageText, 1883). --define(wxNotebook_SetSelection, 1884). --define(wxNotebook_ChangeSelection, 1885). --define(wxChoicebook_new_0, 1886). --define(wxChoicebook_new_3, 1887). --define(wxChoicebook_AddPage, 1888). --define(wxChoicebook_AdvanceSelection, 1889). --define(wxChoicebook_AssignImageList, 1890). --define(wxChoicebook_Create, 1891). --define(wxChoicebook_DeleteAllPages, 1892). --define(wxChoicebook_DeletePage, 1893). --define(wxChoicebook_RemovePage, 1894). --define(wxChoicebook_GetCurrentPage, 1895). --define(wxChoicebook_GetImageList, 1896). --define(wxChoicebook_GetPage, 1898). --define(wxChoicebook_GetPageCount, 1899). --define(wxChoicebook_GetPageImage, 1900). --define(wxChoicebook_GetPageText, 1901). --define(wxChoicebook_GetSelection, 1902). --define(wxChoicebook_HitTest, 1903). --define(wxChoicebook_InsertPage, 1904). --define(wxChoicebook_SetImageList, 1905). --define(wxChoicebook_SetPageSize, 1906). --define(wxChoicebook_SetPageImage, 1907). --define(wxChoicebook_SetPageText, 1908). --define(wxChoicebook_SetSelection, 1909). --define(wxChoicebook_ChangeSelection, 1910). --define(wxChoicebook_destroy, 1911). --define(wxToolbook_new_0, 1912). --define(wxToolbook_new_3, 1913). --define(wxToolbook_AddPage, 1914). --define(wxToolbook_AdvanceSelection, 1915). --define(wxToolbook_AssignImageList, 1916). --define(wxToolbook_Create, 1917). --define(wxToolbook_DeleteAllPages, 1918). --define(wxToolbook_DeletePage, 1919). --define(wxToolbook_RemovePage, 1920). --define(wxToolbook_GetCurrentPage, 1921). --define(wxToolbook_GetImageList, 1922). --define(wxToolbook_GetPage, 1924). --define(wxToolbook_GetPageCount, 1925). --define(wxToolbook_GetPageImage, 1926). --define(wxToolbook_GetPageText, 1927). --define(wxToolbook_GetSelection, 1928). --define(wxToolbook_HitTest, 1930). --define(wxToolbook_InsertPage, 1931). --define(wxToolbook_SetImageList, 1932). --define(wxToolbook_SetPageSize, 1933). --define(wxToolbook_SetPageImage, 1934). --define(wxToolbook_SetPageText, 1935). --define(wxToolbook_SetSelection, 1936). --define(wxToolbook_ChangeSelection, 1937). --define(wxToolbook_destroy, 1938). --define(wxListbook_new_0, 1939). --define(wxListbook_new_3, 1940). --define(wxListbook_AddPage, 1941). --define(wxListbook_AdvanceSelection, 1942). --define(wxListbook_AssignImageList, 1943). --define(wxListbook_Create, 1944). --define(wxListbook_DeleteAllPages, 1945). --define(wxListbook_DeletePage, 1946). --define(wxListbook_RemovePage, 1947). --define(wxListbook_GetCurrentPage, 1948). --define(wxListbook_GetImageList, 1949). --define(wxListbook_GetPage, 1951). --define(wxListbook_GetPageCount, 1952). --define(wxListbook_GetPageImage, 1953). --define(wxListbook_GetPageText, 1954). --define(wxListbook_GetSelection, 1955). --define(wxListbook_HitTest, 1957). --define(wxListbook_InsertPage, 1958). --define(wxListbook_SetImageList, 1959). --define(wxListbook_SetPageSize, 1960). --define(wxListbook_SetPageImage, 1961). --define(wxListbook_SetPageText, 1962). --define(wxListbook_SetSelection, 1963). --define(wxListbook_ChangeSelection, 1964). --define(wxListbook_destroy, 1965). --define(wxTreebook_new_0, 1966). --define(wxTreebook_new_3, 1967). --define(wxTreebook_AddPage, 1968). --define(wxTreebook_AdvanceSelection, 1969). --define(wxTreebook_AssignImageList, 1970). --define(wxTreebook_Create, 1971). --define(wxTreebook_DeleteAllPages, 1972). --define(wxTreebook_DeletePage, 1973). --define(wxTreebook_RemovePage, 1974). --define(wxTreebook_GetCurrentPage, 1975). --define(wxTreebook_GetImageList, 1976). --define(wxTreebook_GetPage, 1978). --define(wxTreebook_GetPageCount, 1979). --define(wxTreebook_GetPageImage, 1980). --define(wxTreebook_GetPageText, 1981). --define(wxTreebook_GetSelection, 1982). --define(wxTreebook_ExpandNode, 1983). --define(wxTreebook_IsNodeExpanded, 1984). --define(wxTreebook_HitTest, 1986). --define(wxTreebook_InsertPage, 1987). --define(wxTreebook_InsertSubPage, 1988). --define(wxTreebook_SetImageList, 1989). --define(wxTreebook_SetPageSize, 1990). --define(wxTreebook_SetPageImage, 1991). --define(wxTreebook_SetPageText, 1992). --define(wxTreebook_SetSelection, 1993). --define(wxTreebook_ChangeSelection, 1994). --define(wxTreebook_destroy, 1995). --define(wxTreeCtrl_new_2, 1998). --define(wxTreeCtrl_new_0, 1999). --define(wxTreeCtrl_destruct, 2001). --define(wxTreeCtrl_AddRoot, 2002). --define(wxTreeCtrl_AppendItem, 2003). --define(wxTreeCtrl_AssignImageList, 2004). --define(wxTreeCtrl_AssignStateImageList, 2005). --define(wxTreeCtrl_Collapse, 2006). --define(wxTreeCtrl_CollapseAndReset, 2007). --define(wxTreeCtrl_Create, 2008). --define(wxTreeCtrl_Delete, 2009). --define(wxTreeCtrl_DeleteAllItems, 2010). --define(wxTreeCtrl_DeleteChildren, 2011). --define(wxTreeCtrl_EnsureVisible, 2012). --define(wxTreeCtrl_Expand, 2013). --define(wxTreeCtrl_GetBoundingRect, 2014). --define(wxTreeCtrl_GetChildrenCount, 2016). --define(wxTreeCtrl_GetCount, 2017). --define(wxTreeCtrl_GetEditControl, 2018). --define(wxTreeCtrl_GetFirstChild, 2019). --define(wxTreeCtrl_GetNextChild, 2020). --define(wxTreeCtrl_GetFirstVisibleItem, 2021). --define(wxTreeCtrl_GetImageList, 2022). --define(wxTreeCtrl_GetIndent, 2023). --define(wxTreeCtrl_GetItemBackgroundColour, 2024). --define(wxTreeCtrl_GetItemData, 2025). --define(wxTreeCtrl_GetItemFont, 2026). --define(wxTreeCtrl_GetItemImage_1, 2027). --define(wxTreeCtrl_GetItemImage_2, 2028). --define(wxTreeCtrl_GetItemText, 2029). --define(wxTreeCtrl_GetItemTextColour, 2030). --define(wxTreeCtrl_GetLastChild, 2031). --define(wxTreeCtrl_GetNextSibling, 2032). --define(wxTreeCtrl_GetNextVisible, 2033). --define(wxTreeCtrl_GetItemParent, 2034). --define(wxTreeCtrl_GetPrevSibling, 2035). --define(wxTreeCtrl_GetPrevVisible, 2036). --define(wxTreeCtrl_GetRootItem, 2037). --define(wxTreeCtrl_GetSelection, 2038). --define(wxTreeCtrl_GetSelections, 2039). --define(wxTreeCtrl_GetStateImageList, 2040). --define(wxTreeCtrl_HitTest, 2041). --define(wxTreeCtrl_InsertItem, 2043). --define(wxTreeCtrl_IsBold, 2044). --define(wxTreeCtrl_IsExpanded, 2045). --define(wxTreeCtrl_IsSelected, 2046). --define(wxTreeCtrl_IsVisible, 2047). --define(wxTreeCtrl_ItemHasChildren, 2048). --define(wxTreeCtrl_PrependItem, 2049). --define(wxTreeCtrl_ScrollTo, 2050). --define(wxTreeCtrl_SelectItem_1, 2051). --define(wxTreeCtrl_SelectItem_2, 2052). --define(wxTreeCtrl_SetIndent, 2053). --define(wxTreeCtrl_SetImageList, 2054). --define(wxTreeCtrl_SetItemBackgroundColour, 2055). --define(wxTreeCtrl_SetItemBold, 2056). --define(wxTreeCtrl_SetItemData, 2057). --define(wxTreeCtrl_SetItemDropHighlight, 2058). --define(wxTreeCtrl_SetItemFont, 2059). --define(wxTreeCtrl_SetItemHasChildren, 2060). --define(wxTreeCtrl_SetItemImage_2, 2061). --define(wxTreeCtrl_SetItemImage_3, 2062). --define(wxTreeCtrl_SetItemText, 2063). --define(wxTreeCtrl_SetItemTextColour, 2064). --define(wxTreeCtrl_SetStateImageList, 2065). --define(wxTreeCtrl_SetWindowStyle, 2066). --define(wxTreeCtrl_SortChildren, 2067). --define(wxTreeCtrl_Toggle, 2068). --define(wxTreeCtrl_ToggleItemSelection, 2069). --define(wxTreeCtrl_Unselect, 2070). --define(wxTreeCtrl_UnselectAll, 2071). --define(wxTreeCtrl_UnselectItem, 2072). --define(wxScrollBar_new_0, 2073). --define(wxScrollBar_new_3, 2074). --define(wxScrollBar_destruct, 2075). --define(wxScrollBar_Create, 2076). --define(wxScrollBar_GetRange, 2077). --define(wxScrollBar_GetPageSize, 2078). --define(wxScrollBar_GetThumbPosition, 2079). --define(wxScrollBar_GetThumbSize, 2080). --define(wxScrollBar_SetThumbPosition, 2081). --define(wxScrollBar_SetScrollbar, 2082). --define(wxSpinButton_new_2, 2084). --define(wxSpinButton_new_0, 2085). --define(wxSpinButton_Create, 2086). --define(wxSpinButton_GetMax, 2087). --define(wxSpinButton_GetMin, 2088). --define(wxSpinButton_GetValue, 2089). --define(wxSpinButton_SetRange, 2090). --define(wxSpinButton_SetValue, 2091). --define(wxSpinButton_destroy, 2092). --define(wxSpinCtrl_new_0, 2093). --define(wxSpinCtrl_new_2, 2094). --define(wxSpinCtrl_Create, 2096). --define(wxSpinCtrl_SetValue_1_1, 2099). --define(wxSpinCtrl_SetValue_1_0, 2100). --define(wxSpinCtrl_GetValue, 2102). --define(wxSpinCtrl_SetRange, 2104). --define(wxSpinCtrl_SetSelection, 2105). --define(wxSpinCtrl_GetMin, 2107). --define(wxSpinCtrl_GetMax, 2109). --define(wxSpinCtrl_destroy, 2110). --define(wxStaticText_new_0, 2111). --define(wxStaticText_new_4, 2112). --define(wxStaticText_Create, 2113). --define(wxStaticText_GetLabel, 2114). --define(wxStaticText_SetLabel, 2115). --define(wxStaticText_Wrap, 2116). --define(wxStaticText_destroy, 2117). --define(wxStaticBitmap_new_0, 2118). --define(wxStaticBitmap_new_4, 2119). --define(wxStaticBitmap_Create, 2120). --define(wxStaticBitmap_GetBitmap, 2121). --define(wxStaticBitmap_SetBitmap, 2122). --define(wxStaticBitmap_destroy, 2123). --define(wxRadioBox_new, 2124). --define(wxRadioBox_destruct, 2126). --define(wxRadioBox_Create, 2127). --define(wxRadioBox_Enable_2, 2128). --define(wxRadioBox_Enable_1, 2129). --define(wxRadioBox_GetSelection, 2130). --define(wxRadioBox_GetString, 2131). --define(wxRadioBox_SetSelection, 2132). --define(wxRadioBox_Show_2, 2133). --define(wxRadioBox_Show_1, 2134). --define(wxRadioBox_GetColumnCount, 2135). --define(wxRadioBox_GetItemHelpText, 2136). --define(wxRadioBox_GetItemToolTip, 2137). --define(wxRadioBox_GetItemFromPoint, 2139). --define(wxRadioBox_GetRowCount, 2140). --define(wxRadioBox_IsItemEnabled, 2141). --define(wxRadioBox_IsItemShown, 2142). --define(wxRadioBox_SetItemHelpText, 2143). --define(wxRadioBox_SetItemToolTip, 2144). --define(wxRadioButton_new_0, 2145). --define(wxRadioButton_new_4, 2146). --define(wxRadioButton_Create, 2147). --define(wxRadioButton_GetValue, 2148). --define(wxRadioButton_SetValue, 2149). --define(wxRadioButton_destroy, 2150). --define(wxSlider_new_6, 2152). --define(wxSlider_new_0, 2153). --define(wxSlider_Create, 2154). --define(wxSlider_GetLineSize, 2155). --define(wxSlider_GetMax, 2156). --define(wxSlider_GetMin, 2157). --define(wxSlider_GetPageSize, 2158). --define(wxSlider_GetThumbLength, 2159). --define(wxSlider_GetValue, 2160). --define(wxSlider_SetLineSize, 2161). --define(wxSlider_SetPageSize, 2162). --define(wxSlider_SetRange, 2163). --define(wxSlider_SetThumbLength, 2164). --define(wxSlider_SetValue, 2165). --define(wxSlider_destroy, 2166). --define(wxDialog_new_4, 2168). --define(wxDialog_new_0, 2169). --define(wxDialog_destruct, 2171). --define(wxDialog_Create, 2172). --define(wxDialog_CreateButtonSizer, 2173). --define(wxDialog_CreateStdDialogButtonSizer, 2174). --define(wxDialog_EndModal, 2175). --define(wxDialog_GetAffirmativeId, 2176). --define(wxDialog_GetReturnCode, 2177). --define(wxDialog_IsModal, 2178). --define(wxDialog_SetAffirmativeId, 2179). --define(wxDialog_SetReturnCode, 2180). --define(wxDialog_Show, 2181). --define(wxDialog_ShowModal, 2182). --define(wxColourDialog_new_0, 2183). --define(wxColourDialog_new_2, 2184). --define(wxColourDialog_destruct, 2185). --define(wxColourDialog_Create, 2186). --define(wxColourDialog_GetColourData, 2187). --define(wxColourData_new_0, 2188). --define(wxColourData_new_1, 2189). --define(wxColourData_destruct, 2190). --define(wxColourData_GetChooseFull, 2191). --define(wxColourData_GetColour, 2192). --define(wxColourData_GetCustomColour, 2194). --define(wxColourData_SetChooseFull, 2195). --define(wxColourData_SetColour, 2196). --define(wxColourData_SetCustomColour, 2197). --define(wxPalette_new_0, 2198). --define(wxPalette_new_4, 2199). --define(wxPalette_destruct, 2201). --define(wxPalette_Create, 2202). --define(wxPalette_GetColoursCount, 2203). --define(wxPalette_GetPixel, 2204). --define(wxPalette_GetRGB, 2205). --define(wxPalette_IsOk, 2206). --define(wxDirDialog_new, 2210). --define(wxDirDialog_destruct, 2211). --define(wxDirDialog_GetPath, 2212). --define(wxDirDialog_GetMessage, 2213). --define(wxDirDialog_SetMessage, 2214). --define(wxDirDialog_SetPath, 2215). --define(wxFileDialog_new, 2219). --define(wxFileDialog_destruct, 2220). --define(wxFileDialog_GetDirectory, 2221). --define(wxFileDialog_GetFilename, 2222). --define(wxFileDialog_GetFilenames, 2223). --define(wxFileDialog_GetFilterIndex, 2224). --define(wxFileDialog_GetMessage, 2225). --define(wxFileDialog_GetPath, 2226). --define(wxFileDialog_GetPaths, 2227). --define(wxFileDialog_GetWildcard, 2228). --define(wxFileDialog_SetDirectory, 2229). --define(wxFileDialog_SetFilename, 2230). --define(wxFileDialog_SetFilterIndex, 2231). --define(wxFileDialog_SetMessage, 2232). --define(wxFileDialog_SetPath, 2233). --define(wxFileDialog_SetWildcard, 2234). --define(wxPickerBase_SetInternalMargin, 2235). --define(wxPickerBase_GetInternalMargin, 2236). --define(wxPickerBase_SetTextCtrlProportion, 2237). --define(wxPickerBase_SetPickerCtrlProportion, 2238). --define(wxPickerBase_GetTextCtrlProportion, 2239). --define(wxPickerBase_GetPickerCtrlProportion, 2240). --define(wxPickerBase_HasTextCtrl, 2241). --define(wxPickerBase_GetTextCtrl, 2242). --define(wxPickerBase_IsTextCtrlGrowable, 2243). --define(wxPickerBase_SetPickerCtrlGrowable, 2244). --define(wxPickerBase_SetTextCtrlGrowable, 2245). --define(wxPickerBase_IsPickerCtrlGrowable, 2246). --define(wxFilePickerCtrl_new_0, 2247). --define(wxFilePickerCtrl_new_3, 2248). --define(wxFilePickerCtrl_Create, 2249). --define(wxFilePickerCtrl_GetPath, 2250). --define(wxFilePickerCtrl_SetPath, 2251). --define(wxFilePickerCtrl_destroy, 2252). --define(wxDirPickerCtrl_new_0, 2253). --define(wxDirPickerCtrl_new_3, 2254). --define(wxDirPickerCtrl_Create, 2255). --define(wxDirPickerCtrl_GetPath, 2256). --define(wxDirPickerCtrl_SetPath, 2257). --define(wxDirPickerCtrl_destroy, 2258). --define(wxColourPickerCtrl_new_0, 2259). --define(wxColourPickerCtrl_new_3, 2260). --define(wxColourPickerCtrl_Create, 2261). --define(wxColourPickerCtrl_GetColour, 2262). --define(wxColourPickerCtrl_SetColour_1_1, 2263). --define(wxColourPickerCtrl_SetColour_1_0, 2264). --define(wxColourPickerCtrl_destroy, 2265). --define(wxDatePickerCtrl_new_0, 2266). --define(wxDatePickerCtrl_new_3, 2267). --define(wxDatePickerCtrl_GetRange, 2268). --define(wxDatePickerCtrl_GetValue, 2269). --define(wxDatePickerCtrl_SetRange, 2270). --define(wxDatePickerCtrl_SetValue, 2271). --define(wxDatePickerCtrl_destroy, 2272). --define(wxFontPickerCtrl_new_0, 2273). --define(wxFontPickerCtrl_new_3, 2274). --define(wxFontPickerCtrl_Create, 2275). --define(wxFontPickerCtrl_GetSelectedFont, 2276). --define(wxFontPickerCtrl_SetSelectedFont, 2277). --define(wxFontPickerCtrl_GetMaxPointSize, 2278). --define(wxFontPickerCtrl_SetMaxPointSize, 2279). --define(wxFontPickerCtrl_destroy, 2280). --define(wxFindReplaceDialog_new_0, 2283). --define(wxFindReplaceDialog_new_4, 2284). --define(wxFindReplaceDialog_destruct, 2285). --define(wxFindReplaceDialog_Create, 2286). --define(wxFindReplaceDialog_GetData, 2287). --define(wxFindReplaceData_new_0, 2288). --define(wxFindReplaceData_new_1, 2289). --define(wxFindReplaceData_GetFindString, 2290). --define(wxFindReplaceData_GetReplaceString, 2291). --define(wxFindReplaceData_GetFlags, 2292). --define(wxFindReplaceData_SetFlags, 2293). --define(wxFindReplaceData_SetFindString, 2294). --define(wxFindReplaceData_SetReplaceString, 2295). --define(wxFindReplaceData_destroy, 2296). --define(wxMultiChoiceDialog_new_0, 2297). --define(wxMultiChoiceDialog_new_5, 2299). --define(wxMultiChoiceDialog_GetSelections, 2300). --define(wxMultiChoiceDialog_SetSelections, 2301). --define(wxMultiChoiceDialog_destroy, 2302). --define(wxSingleChoiceDialog_new_0, 2303). --define(wxSingleChoiceDialog_new_5, 2305). --define(wxSingleChoiceDialog_GetSelection, 2306). --define(wxSingleChoiceDialog_GetStringSelection, 2307). --define(wxSingleChoiceDialog_SetSelection, 2308). --define(wxSingleChoiceDialog_destroy, 2309). --define(wxTextEntryDialog_new, 2310). --define(wxTextEntryDialog_GetValue, 2311). --define(wxTextEntryDialog_SetValue, 2312). --define(wxTextEntryDialog_destroy, 2313). --define(wxPasswordEntryDialog_new, 2314). --define(wxPasswordEntryDialog_destroy, 2315). --define(wxFontData_new_0, 2316). --define(wxFontData_new_1, 2317). --define(wxFontData_destruct, 2318). --define(wxFontData_EnableEffects, 2319). --define(wxFontData_GetAllowSymbols, 2320). --define(wxFontData_GetColour, 2321). --define(wxFontData_GetChosenFont, 2322). --define(wxFontData_GetEnableEffects, 2323). --define(wxFontData_GetInitialFont, 2324). --define(wxFontData_GetShowHelp, 2325). --define(wxFontData_SetAllowSymbols, 2326). --define(wxFontData_SetChosenFont, 2327). --define(wxFontData_SetColour, 2328). --define(wxFontData_SetInitialFont, 2329). --define(wxFontData_SetRange, 2330). --define(wxFontData_SetShowHelp, 2331). --define(wxFontDialog_new_0, 2335). --define(wxFontDialog_new_2, 2337). --define(wxFontDialog_Create, 2339). --define(wxFontDialog_GetFontData, 2340). --define(wxFontDialog_destroy, 2342). --define(wxProgressDialog_new, 2343). --define(wxProgressDialog_destruct, 2344). --define(wxProgressDialog_Resume, 2345). --define(wxProgressDialog_Update_2, 2346). --define(wxProgressDialog_Update_0, 2347). --define(wxMessageDialog_new, 2348). --define(wxMessageDialog_destruct, 2349). --define(wxPageSetupDialog_new, 2350). --define(wxPageSetupDialog_destruct, 2351). --define(wxPageSetupDialog_GetPageSetupData, 2352). --define(wxPageSetupDialog_ShowModal, 2353). --define(wxPageSetupDialogData_new_0, 2354). --define(wxPageSetupDialogData_new_1_0, 2355). --define(wxPageSetupDialogData_new_1_1, 2356). --define(wxPageSetupDialogData_destruct, 2357). --define(wxPageSetupDialogData_EnableHelp, 2358). --define(wxPageSetupDialogData_EnableMargins, 2359). --define(wxPageSetupDialogData_EnableOrientation, 2360). --define(wxPageSetupDialogData_EnablePaper, 2361). --define(wxPageSetupDialogData_EnablePrinter, 2362). --define(wxPageSetupDialogData_GetDefaultMinMargins, 2363). --define(wxPageSetupDialogData_GetEnableMargins, 2364). --define(wxPageSetupDialogData_GetEnableOrientation, 2365). --define(wxPageSetupDialogData_GetEnablePaper, 2366). --define(wxPageSetupDialogData_GetEnablePrinter, 2367). --define(wxPageSetupDialogData_GetEnableHelp, 2368). --define(wxPageSetupDialogData_GetDefaultInfo, 2369). --define(wxPageSetupDialogData_GetMarginTopLeft, 2370). --define(wxPageSetupDialogData_GetMarginBottomRight, 2371). --define(wxPageSetupDialogData_GetMinMarginTopLeft, 2372). --define(wxPageSetupDialogData_GetMinMarginBottomRight, 2373). --define(wxPageSetupDialogData_GetPaperId, 2374). --define(wxPageSetupDialogData_GetPaperSize, 2375). --define(wxPageSetupDialogData_GetPrintData, 2377). --define(wxPageSetupDialogData_IsOk, 2378). --define(wxPageSetupDialogData_SetDefaultInfo, 2379). --define(wxPageSetupDialogData_SetDefaultMinMargins, 2380). --define(wxPageSetupDialogData_SetMarginTopLeft, 2381). --define(wxPageSetupDialogData_SetMarginBottomRight, 2382). --define(wxPageSetupDialogData_SetMinMarginTopLeft, 2383). --define(wxPageSetupDialogData_SetMinMarginBottomRight, 2384). --define(wxPageSetupDialogData_SetPaperId, 2385). --define(wxPageSetupDialogData_SetPaperSize_1_1, 2386). --define(wxPageSetupDialogData_SetPaperSize_1_0, 2387). --define(wxPageSetupDialogData_SetPrintData, 2388). --define(wxPrintDialog_new_2_0, 2389). --define(wxPrintDialog_new_2_1, 2390). --define(wxPrintDialog_destruct, 2391). --define(wxPrintDialog_GetPrintDialogData, 2392). --define(wxPrintDialog_GetPrintDC, 2393). --define(wxPrintDialogData_new_0, 2394). --define(wxPrintDialogData_new_1_1, 2395). --define(wxPrintDialogData_new_1_0, 2396). --define(wxPrintDialogData_destruct, 2397). --define(wxPrintDialogData_EnableHelp, 2398). --define(wxPrintDialogData_EnablePageNumbers, 2399). --define(wxPrintDialogData_EnablePrintToFile, 2400). --define(wxPrintDialogData_EnableSelection, 2401). --define(wxPrintDialogData_GetAllPages, 2402). --define(wxPrintDialogData_GetCollate, 2403). --define(wxPrintDialogData_GetFromPage, 2404). --define(wxPrintDialogData_GetMaxPage, 2405). --define(wxPrintDialogData_GetMinPage, 2406). --define(wxPrintDialogData_GetNoCopies, 2407). --define(wxPrintDialogData_GetPrintData, 2408). --define(wxPrintDialogData_GetPrintToFile, 2409). --define(wxPrintDialogData_GetSelection, 2410). --define(wxPrintDialogData_GetToPage, 2411). --define(wxPrintDialogData_IsOk, 2412). --define(wxPrintDialogData_SetCollate, 2413). --define(wxPrintDialogData_SetFromPage, 2414). --define(wxPrintDialogData_SetMaxPage, 2415). --define(wxPrintDialogData_SetMinPage, 2416). --define(wxPrintDialogData_SetNoCopies, 2417). --define(wxPrintDialogData_SetPrintData, 2418). --define(wxPrintDialogData_SetPrintToFile, 2419). --define(wxPrintDialogData_SetSelection, 2420). --define(wxPrintDialogData_SetToPage, 2421). --define(wxPrintData_new_0, 2422). --define(wxPrintData_new_1, 2423). --define(wxPrintData_destruct, 2424). --define(wxPrintData_GetCollate, 2425). --define(wxPrintData_GetBin, 2426). --define(wxPrintData_GetColour, 2427). --define(wxPrintData_GetDuplex, 2428). --define(wxPrintData_GetNoCopies, 2429). --define(wxPrintData_GetOrientation, 2430). --define(wxPrintData_GetPaperId, 2431). --define(wxPrintData_GetPrinterName, 2432). --define(wxPrintData_GetQuality, 2433). --define(wxPrintData_IsOk, 2434). --define(wxPrintData_SetBin, 2435). --define(wxPrintData_SetCollate, 2436). --define(wxPrintData_SetColour, 2437). --define(wxPrintData_SetDuplex, 2438). --define(wxPrintData_SetNoCopies, 2439). --define(wxPrintData_SetOrientation, 2440). --define(wxPrintData_SetPaperId, 2441). --define(wxPrintData_SetPrinterName, 2442). --define(wxPrintData_SetQuality, 2443). --define(wxPrintPreview_new_2, 2446). --define(wxPrintPreview_new_3, 2447). --define(wxPrintPreview_destruct, 2449). --define(wxPrintPreview_GetCanvas, 2450). --define(wxPrintPreview_GetCurrentPage, 2451). --define(wxPrintPreview_GetFrame, 2452). --define(wxPrintPreview_GetMaxPage, 2453). --define(wxPrintPreview_GetMinPage, 2454). --define(wxPrintPreview_GetPrintout, 2455). --define(wxPrintPreview_GetPrintoutForPrinting, 2456). --define(wxPrintPreview_IsOk, 2457). --define(wxPrintPreview_PaintPage, 2458). --define(wxPrintPreview_Print, 2459). --define(wxPrintPreview_RenderPage, 2460). --define(wxPrintPreview_SetCanvas, 2461). --define(wxPrintPreview_SetCurrentPage, 2462). --define(wxPrintPreview_SetFrame, 2463). --define(wxPrintPreview_SetPrintout, 2464). --define(wxPrintPreview_SetZoom, 2465). --define(wxPreviewFrame_new, 2466). --define(wxPreviewFrame_destruct, 2467). --define(wxPreviewFrame_CreateControlBar, 2468). --define(wxPreviewFrame_CreateCanvas, 2469). --define(wxPreviewFrame_Initialize, 2470). --define(wxPreviewFrame_OnCloseWindow, 2471). --define(wxPreviewControlBar_new, 2472). --define(wxPreviewControlBar_destruct, 2473). --define(wxPreviewControlBar_CreateButtons, 2474). --define(wxPreviewControlBar_GetPrintPreview, 2475). --define(wxPreviewControlBar_GetZoomControl, 2476). --define(wxPreviewControlBar_SetZoomControl, 2477). --define(wxPrinter_new, 2479). --define(wxPrinter_CreateAbortWindow, 2480). --define(wxPrinter_GetAbort, 2481). --define(wxPrinter_GetLastError, 2482). --define(wxPrinter_GetPrintDialogData, 2483). --define(wxPrinter_Print, 2484). --define(wxPrinter_PrintDialog, 2485). --define(wxPrinter_ReportError, 2486). --define(wxPrinter_Setup, 2487). --define(wxPrinter_destroy, 2488). --define(wxXmlResource_new_1, 2489). --define(wxXmlResource_new_2, 2490). --define(wxXmlResource_destruct, 2491). --define(wxXmlResource_AttachUnknownControl, 2492). --define(wxXmlResource_ClearHandlers, 2493). --define(wxXmlResource_CompareVersion, 2494). --define(wxXmlResource_Get, 2495). --define(wxXmlResource_GetFlags, 2496). --define(wxXmlResource_GetVersion, 2497). --define(wxXmlResource_GetXRCID, 2498). --define(wxXmlResource_InitAllHandlers, 2499). --define(wxXmlResource_Load, 2500). --define(wxXmlResource_LoadBitmap, 2501). --define(wxXmlResource_LoadDialog_2, 2502). --define(wxXmlResource_LoadDialog_3, 2503). --define(wxXmlResource_LoadFrame_2, 2504). --define(wxXmlResource_LoadFrame_3, 2505). --define(wxXmlResource_LoadIcon, 2506). --define(wxXmlResource_LoadMenu, 2507). --define(wxXmlResource_LoadMenuBar_2, 2508). --define(wxXmlResource_LoadMenuBar_1, 2509). --define(wxXmlResource_LoadPanel_2, 2510). --define(wxXmlResource_LoadPanel_3, 2511). --define(wxXmlResource_LoadToolBar, 2512). --define(wxXmlResource_Set, 2513). --define(wxXmlResource_SetFlags, 2514). --define(wxXmlResource_Unload, 2515). --define(wxXmlResource_xrcctrl, 2516). --define(wxHtmlEasyPrinting_new, 2517). --define(wxHtmlEasyPrinting_destruct, 2518). --define(wxHtmlEasyPrinting_GetPrintData, 2519). --define(wxHtmlEasyPrinting_GetPageSetupData, 2520). --define(wxHtmlEasyPrinting_PreviewFile, 2521). --define(wxHtmlEasyPrinting_PreviewText, 2522). --define(wxHtmlEasyPrinting_PrintFile, 2523). --define(wxHtmlEasyPrinting_PrintText, 2524). --define(wxHtmlEasyPrinting_PageSetup, 2525). --define(wxHtmlEasyPrinting_SetFonts, 2526). --define(wxHtmlEasyPrinting_SetHeader, 2527). --define(wxHtmlEasyPrinting_SetFooter, 2528). --define(wxGLCanvas_new_2, 2530). --define(wxGLCanvas_new_3_1, 2531). --define(wxGLCanvas_new_3_0, 2532). --define(wxGLCanvas_GetContext, 2533). --define(wxGLCanvas_SetCurrent, 2535). --define(wxGLCanvas_SwapBuffers, 2536). --define(wxGLCanvas_destroy, 2537). --define(wxAuiManager_new, 2538). --define(wxAuiManager_destruct, 2539). --define(wxAuiManager_AddPane_2_1, 2540). --define(wxAuiManager_AddPane_3, 2541). --define(wxAuiManager_AddPane_2_0, 2542). --define(wxAuiManager_DetachPane, 2543). --define(wxAuiManager_GetAllPanes, 2544). --define(wxAuiManager_GetArtProvider, 2545). --define(wxAuiManager_GetDockSizeConstraint, 2546). --define(wxAuiManager_GetFlags, 2547). --define(wxAuiManager_GetManagedWindow, 2548). --define(wxAuiManager_GetManager, 2549). --define(wxAuiManager_GetPane_1_1, 2550). --define(wxAuiManager_GetPane_1_0, 2551). --define(wxAuiManager_HideHint, 2552). --define(wxAuiManager_InsertPane, 2553). --define(wxAuiManager_LoadPaneInfo, 2554). --define(wxAuiManager_LoadPerspective, 2555). --define(wxAuiManager_SavePaneInfo, 2556). --define(wxAuiManager_SavePerspective, 2557). --define(wxAuiManager_SetArtProvider, 2558). --define(wxAuiManager_SetDockSizeConstraint, 2559). --define(wxAuiManager_SetFlags, 2560). --define(wxAuiManager_SetManagedWindow, 2561). --define(wxAuiManager_ShowHint, 2562). --define(wxAuiManager_UnInit, 2563). --define(wxAuiManager_Update, 2564). --define(wxAuiPaneInfo_new_0, 2565). --define(wxAuiPaneInfo_new_1, 2566). --define(wxAuiPaneInfo_destruct, 2567). --define(wxAuiPaneInfo_BestSize_1, 2568). --define(wxAuiPaneInfo_BestSize_2, 2569). --define(wxAuiPaneInfo_Bottom, 2570). --define(wxAuiPaneInfo_BottomDockable, 2571). --define(wxAuiPaneInfo_Caption, 2572). --define(wxAuiPaneInfo_CaptionVisible, 2573). --define(wxAuiPaneInfo_Centre, 2574). --define(wxAuiPaneInfo_CentrePane, 2575). --define(wxAuiPaneInfo_CloseButton, 2576). --define(wxAuiPaneInfo_DefaultPane, 2577). --define(wxAuiPaneInfo_DestroyOnClose, 2578). --define(wxAuiPaneInfo_Direction, 2579). --define(wxAuiPaneInfo_Dock, 2580). --define(wxAuiPaneInfo_Dockable, 2581). --define(wxAuiPaneInfo_Fixed, 2582). --define(wxAuiPaneInfo_Float, 2583). --define(wxAuiPaneInfo_Floatable, 2584). --define(wxAuiPaneInfo_FloatingPosition_1, 2585). --define(wxAuiPaneInfo_FloatingPosition_2, 2586). --define(wxAuiPaneInfo_FloatingSize_1, 2587). --define(wxAuiPaneInfo_FloatingSize_2, 2588). --define(wxAuiPaneInfo_Gripper, 2589). --define(wxAuiPaneInfo_GripperTop, 2590). --define(wxAuiPaneInfo_HasBorder, 2591). --define(wxAuiPaneInfo_HasCaption, 2592). --define(wxAuiPaneInfo_HasCloseButton, 2593). --define(wxAuiPaneInfo_HasFlag, 2594). --define(wxAuiPaneInfo_HasGripper, 2595). --define(wxAuiPaneInfo_HasGripperTop, 2596). --define(wxAuiPaneInfo_HasMaximizeButton, 2597). --define(wxAuiPaneInfo_HasMinimizeButton, 2598). --define(wxAuiPaneInfo_HasPinButton, 2599). --define(wxAuiPaneInfo_Hide, 2600). --define(wxAuiPaneInfo_IsBottomDockable, 2601). --define(wxAuiPaneInfo_IsDocked, 2602). --define(wxAuiPaneInfo_IsFixed, 2603). --define(wxAuiPaneInfo_IsFloatable, 2604). --define(wxAuiPaneInfo_IsFloating, 2605). --define(wxAuiPaneInfo_IsLeftDockable, 2606). --define(wxAuiPaneInfo_IsMovable, 2607). --define(wxAuiPaneInfo_IsOk, 2608). --define(wxAuiPaneInfo_IsResizable, 2609). --define(wxAuiPaneInfo_IsRightDockable, 2610). --define(wxAuiPaneInfo_IsShown, 2611). --define(wxAuiPaneInfo_IsToolbar, 2612). --define(wxAuiPaneInfo_IsTopDockable, 2613). --define(wxAuiPaneInfo_Layer, 2614). --define(wxAuiPaneInfo_Left, 2615). --define(wxAuiPaneInfo_LeftDockable, 2616). --define(wxAuiPaneInfo_MaxSize_1, 2617). --define(wxAuiPaneInfo_MaxSize_2, 2618). --define(wxAuiPaneInfo_MaximizeButton, 2619). --define(wxAuiPaneInfo_MinSize_1, 2620). --define(wxAuiPaneInfo_MinSize_2, 2621). --define(wxAuiPaneInfo_MinimizeButton, 2622). --define(wxAuiPaneInfo_Movable, 2623). --define(wxAuiPaneInfo_Name, 2624). --define(wxAuiPaneInfo_PaneBorder, 2625). --define(wxAuiPaneInfo_PinButton, 2626). --define(wxAuiPaneInfo_Position, 2627). --define(wxAuiPaneInfo_Resizable, 2628). --define(wxAuiPaneInfo_Right, 2629). --define(wxAuiPaneInfo_RightDockable, 2630). --define(wxAuiPaneInfo_Row, 2631). --define(wxAuiPaneInfo_SafeSet, 2632). --define(wxAuiPaneInfo_SetFlag, 2633). --define(wxAuiPaneInfo_Show, 2634). --define(wxAuiPaneInfo_ToolbarPane, 2635). --define(wxAuiPaneInfo_Top, 2636). --define(wxAuiPaneInfo_TopDockable, 2637). --define(wxAuiPaneInfo_Window, 2638). --define(wxAuiNotebook_new_0, 2639). --define(wxAuiNotebook_new_2, 2640). --define(wxAuiNotebook_AddPage, 2641). --define(wxAuiNotebook_Create, 2642). --define(wxAuiNotebook_DeletePage, 2643). --define(wxAuiNotebook_GetArtProvider, 2644). --define(wxAuiNotebook_GetPage, 2645). --define(wxAuiNotebook_GetPageBitmap, 2646). --define(wxAuiNotebook_GetPageCount, 2647). --define(wxAuiNotebook_GetPageIndex, 2648). --define(wxAuiNotebook_GetPageText, 2649). --define(wxAuiNotebook_GetSelection, 2650). --define(wxAuiNotebook_InsertPage, 2651). --define(wxAuiNotebook_RemovePage, 2652). --define(wxAuiNotebook_SetArtProvider, 2653). --define(wxAuiNotebook_SetFont, 2654). --define(wxAuiNotebook_SetPageBitmap, 2655). --define(wxAuiNotebook_SetPageText, 2656). --define(wxAuiNotebook_SetSelection, 2657). --define(wxAuiNotebook_SetTabCtrlHeight, 2658). --define(wxAuiNotebook_SetUniformBitmapSize, 2659). --define(wxAuiNotebook_destroy, 2660). --define(wxMDIParentFrame_new_0, 2661). --define(wxMDIParentFrame_new_4, 2662). --define(wxMDIParentFrame_destruct, 2663). --define(wxMDIParentFrame_ActivateNext, 2664). --define(wxMDIParentFrame_ActivatePrevious, 2665). --define(wxMDIParentFrame_ArrangeIcons, 2666). --define(wxMDIParentFrame_Cascade, 2667). --define(wxMDIParentFrame_Create, 2668). --define(wxMDIParentFrame_GetActiveChild, 2669). --define(wxMDIParentFrame_GetClientWindow, 2670). --define(wxMDIParentFrame_Tile, 2671). --define(wxMDIChildFrame_new_0, 2672). --define(wxMDIChildFrame_new_4, 2673). --define(wxMDIChildFrame_destruct, 2674). --define(wxMDIChildFrame_Activate, 2675). --define(wxMDIChildFrame_Create, 2676). --define(wxMDIChildFrame_Maximize, 2677). --define(wxMDIChildFrame_Restore, 2678). --define(wxMDIClientWindow_new_0, 2679). --define(wxMDIClientWindow_new_2, 2680). --define(wxMDIClientWindow_destruct, 2681). --define(wxMDIClientWindow_CreateClient, 2682). --define(wxLayoutAlgorithm_new, 2683). --define(wxLayoutAlgorithm_LayoutFrame, 2684). --define(wxLayoutAlgorithm_LayoutMDIFrame, 2685). --define(wxLayoutAlgorithm_LayoutWindow, 2686). --define(wxLayoutAlgorithm_destroy, 2687). --define(wxEvent_GetId, 2688). --define(wxEvent_GetSkipped, 2689). --define(wxEvent_GetTimestamp, 2690). --define(wxEvent_IsCommandEvent, 2691). --define(wxEvent_ResumePropagation, 2692). --define(wxEvent_ShouldPropagate, 2693). --define(wxEvent_Skip, 2694). --define(wxEvent_StopPropagation, 2695). --define(wxCommandEvent_getClientData, 2696). --define(wxCommandEvent_GetExtraLong, 2697). --define(wxCommandEvent_GetInt, 2698). --define(wxCommandEvent_GetSelection, 2699). --define(wxCommandEvent_GetString, 2700). --define(wxCommandEvent_IsChecked, 2701). --define(wxCommandEvent_IsSelection, 2702). --define(wxCommandEvent_SetInt, 2703). --define(wxCommandEvent_SetString, 2704). --define(wxScrollEvent_GetOrientation, 2705). --define(wxScrollEvent_GetPosition, 2706). --define(wxScrollWinEvent_GetOrientation, 2707). --define(wxScrollWinEvent_GetPosition, 2708). --define(wxMouseEvent_AltDown, 2709). --define(wxMouseEvent_Button, 2710). --define(wxMouseEvent_ButtonDClick, 2711). --define(wxMouseEvent_ButtonDown, 2712). --define(wxMouseEvent_ButtonUp, 2713). --define(wxMouseEvent_CmdDown, 2714). --define(wxMouseEvent_ControlDown, 2715). --define(wxMouseEvent_Dragging, 2716). --define(wxMouseEvent_Entering, 2717). --define(wxMouseEvent_GetButton, 2718). --define(wxMouseEvent_GetPosition, 2721). --define(wxMouseEvent_GetLogicalPosition, 2722). --define(wxMouseEvent_GetLinesPerAction, 2723). --define(wxMouseEvent_GetWheelRotation, 2724). --define(wxMouseEvent_GetWheelDelta, 2725). --define(wxMouseEvent_GetX, 2726). --define(wxMouseEvent_GetY, 2727). --define(wxMouseEvent_IsButton, 2728). --define(wxMouseEvent_IsPageScroll, 2729). --define(wxMouseEvent_Leaving, 2730). --define(wxMouseEvent_LeftDClick, 2731). --define(wxMouseEvent_LeftDown, 2732). --define(wxMouseEvent_LeftIsDown, 2733). --define(wxMouseEvent_LeftUp, 2734). --define(wxMouseEvent_MetaDown, 2735). --define(wxMouseEvent_MiddleDClick, 2736). --define(wxMouseEvent_MiddleDown, 2737). --define(wxMouseEvent_MiddleIsDown, 2738). --define(wxMouseEvent_MiddleUp, 2739). --define(wxMouseEvent_Moving, 2740). --define(wxMouseEvent_RightDClick, 2741). --define(wxMouseEvent_RightDown, 2742). --define(wxMouseEvent_RightIsDown, 2743). --define(wxMouseEvent_RightUp, 2744). --define(wxMouseEvent_ShiftDown, 2745). --define(wxSetCursorEvent_GetCursor, 2746). --define(wxSetCursorEvent_GetX, 2747). --define(wxSetCursorEvent_GetY, 2748). --define(wxSetCursorEvent_HasCursor, 2749). --define(wxSetCursorEvent_SetCursor, 2750). --define(wxKeyEvent_AltDown, 2751). --define(wxKeyEvent_CmdDown, 2752). --define(wxKeyEvent_ControlDown, 2753). --define(wxKeyEvent_GetKeyCode, 2754). --define(wxKeyEvent_GetModifiers, 2755). --define(wxKeyEvent_GetPosition, 2758). --define(wxKeyEvent_GetRawKeyCode, 2759). --define(wxKeyEvent_GetRawKeyFlags, 2760). --define(wxKeyEvent_GetUnicodeKey, 2761). --define(wxKeyEvent_GetX, 2762). --define(wxKeyEvent_GetY, 2763). --define(wxKeyEvent_HasModifiers, 2764). --define(wxKeyEvent_MetaDown, 2765). --define(wxKeyEvent_ShiftDown, 2766). --define(wxSizeEvent_GetSize, 2767). --define(wxMoveEvent_GetPosition, 2768). --define(wxEraseEvent_GetDC, 2769). --define(wxFocusEvent_GetWindow, 2770). --define(wxChildFocusEvent_GetWindow, 2771). --define(wxMenuEvent_GetMenu, 2772). --define(wxMenuEvent_GetMenuId, 2773). --define(wxMenuEvent_IsPopup, 2774). --define(wxCloseEvent_CanVeto, 2775). --define(wxCloseEvent_GetLoggingOff, 2776). --define(wxCloseEvent_SetCanVeto, 2777). --define(wxCloseEvent_SetLoggingOff, 2778). --define(wxCloseEvent_Veto, 2779). --define(wxShowEvent_SetShow, 2780). --define(wxShowEvent_GetShow, 2781). --define(wxIconizeEvent_Iconized, 2782). --define(wxJoystickEvent_ButtonDown, 2783). --define(wxJoystickEvent_ButtonIsDown, 2784). --define(wxJoystickEvent_ButtonUp, 2785). --define(wxJoystickEvent_GetButtonChange, 2786). --define(wxJoystickEvent_GetButtonState, 2787). --define(wxJoystickEvent_GetJoystick, 2788). --define(wxJoystickEvent_GetPosition, 2789). --define(wxJoystickEvent_GetZPosition, 2790). --define(wxJoystickEvent_IsButton, 2791). --define(wxJoystickEvent_IsMove, 2792). --define(wxJoystickEvent_IsZMove, 2793). --define(wxUpdateUIEvent_CanUpdate, 2794). --define(wxUpdateUIEvent_Check, 2795). --define(wxUpdateUIEvent_Enable, 2796). --define(wxUpdateUIEvent_Show, 2797). --define(wxUpdateUIEvent_GetChecked, 2798). --define(wxUpdateUIEvent_GetEnabled, 2799). --define(wxUpdateUIEvent_GetShown, 2800). --define(wxUpdateUIEvent_GetSetChecked, 2801). --define(wxUpdateUIEvent_GetSetEnabled, 2802). --define(wxUpdateUIEvent_GetSetShown, 2803). --define(wxUpdateUIEvent_GetSetText, 2804). --define(wxUpdateUIEvent_GetText, 2805). --define(wxUpdateUIEvent_GetMode, 2806). --define(wxUpdateUIEvent_GetUpdateInterval, 2807). --define(wxUpdateUIEvent_ResetUpdateTime, 2808). --define(wxUpdateUIEvent_SetMode, 2809). --define(wxUpdateUIEvent_SetText, 2810). --define(wxUpdateUIEvent_SetUpdateInterval, 2811). --define(wxMouseCaptureChangedEvent_GetCapturedWindow, 2812). --define(wxPaletteChangedEvent_SetChangedWindow, 2813). --define(wxPaletteChangedEvent_GetChangedWindow, 2814). --define(wxQueryNewPaletteEvent_SetPaletteRealized, 2815). --define(wxQueryNewPaletteEvent_GetPaletteRealized, 2816). --define(wxNavigationKeyEvent_GetDirection, 2817). --define(wxNavigationKeyEvent_SetDirection, 2818). --define(wxNavigationKeyEvent_IsWindowChange, 2819). --define(wxNavigationKeyEvent_SetWindowChange, 2820). --define(wxNavigationKeyEvent_IsFromTab, 2821). --define(wxNavigationKeyEvent_SetFromTab, 2822). --define(wxNavigationKeyEvent_GetCurrentFocus, 2823). --define(wxNavigationKeyEvent_SetCurrentFocus, 2824). --define(wxHelpEvent_GetOrigin, 2825). --define(wxHelpEvent_GetPosition, 2826). --define(wxHelpEvent_SetOrigin, 2827). --define(wxHelpEvent_SetPosition, 2828). --define(wxContextMenuEvent_GetPosition, 2829). --define(wxContextMenuEvent_SetPosition, 2830). --define(wxIdleEvent_CanSend, 2831). --define(wxIdleEvent_GetMode, 2832). --define(wxIdleEvent_RequestMore, 2833). --define(wxIdleEvent_MoreRequested, 2834). --define(wxIdleEvent_SetMode, 2835). --define(wxGridEvent_AltDown, 2836). --define(wxGridEvent_ControlDown, 2837). --define(wxGridEvent_GetCol, 2838). --define(wxGridEvent_GetPosition, 2839). --define(wxGridEvent_GetRow, 2840). --define(wxGridEvent_MetaDown, 2841). --define(wxGridEvent_Selecting, 2842). --define(wxGridEvent_ShiftDown, 2843). --define(wxNotifyEvent_Allow, 2844). --define(wxNotifyEvent_IsAllowed, 2845). --define(wxNotifyEvent_Veto, 2846). --define(wxSashEvent_GetEdge, 2847). --define(wxSashEvent_GetDragRect, 2848). --define(wxSashEvent_GetDragStatus, 2849). --define(wxListEvent_GetCacheFrom, 2850). --define(wxListEvent_GetCacheTo, 2851). --define(wxListEvent_GetKeyCode, 2852). --define(wxListEvent_GetIndex, 2853). --define(wxListEvent_GetColumn, 2854). --define(wxListEvent_GetPoint, 2855). --define(wxListEvent_GetLabel, 2856). --define(wxListEvent_GetText, 2857). --define(wxListEvent_GetImage, 2858). --define(wxListEvent_GetData, 2859). --define(wxListEvent_GetMask, 2860). --define(wxListEvent_GetItem, 2861). --define(wxListEvent_IsEditCancelled, 2862). --define(wxDateEvent_GetDate, 2863). --define(wxCalendarEvent_GetWeekDay, 2864). --define(wxFileDirPickerEvent_GetPath, 2865). --define(wxColourPickerEvent_GetColour, 2866). --define(wxFontPickerEvent_GetFont, 2867). --define(wxStyledTextEvent_GetPosition, 2868). --define(wxStyledTextEvent_GetKey, 2869). --define(wxStyledTextEvent_GetModifiers, 2870). --define(wxStyledTextEvent_GetModificationType, 2871). --define(wxStyledTextEvent_GetText, 2872). --define(wxStyledTextEvent_GetLength, 2873). --define(wxStyledTextEvent_GetLinesAdded, 2874). --define(wxStyledTextEvent_GetLine, 2875). --define(wxStyledTextEvent_GetFoldLevelNow, 2876). --define(wxStyledTextEvent_GetFoldLevelPrev, 2877). --define(wxStyledTextEvent_GetMargin, 2878). --define(wxStyledTextEvent_GetMessage, 2879). --define(wxStyledTextEvent_GetWParam, 2880). --define(wxStyledTextEvent_GetLParam, 2881). --define(wxStyledTextEvent_GetListType, 2882). --define(wxStyledTextEvent_GetX, 2883). --define(wxStyledTextEvent_GetY, 2884). --define(wxStyledTextEvent_GetDragText, 2885). --define(wxStyledTextEvent_GetDragAllowMove, 2886). --define(wxStyledTextEvent_GetDragResult, 2887). --define(wxStyledTextEvent_GetShift, 2888). --define(wxStyledTextEvent_GetControl, 2889). --define(wxStyledTextEvent_GetAlt, 2890). --define(utils_wxGetKeyState, 2891). --define(utils_wxGetMousePosition, 2892). --define(utils_wxGetMouseState, 2893). --define(utils_wxSetDetectableAutoRepeat, 2894). --define(utils_wxBell, 2895). --define(utils_wxFindMenuItemId, 2896). --define(utils_wxGenericFindWindowAtPoint, 2897). --define(utils_wxFindWindowAtPoint, 2898). --define(utils_wxBeginBusyCursor, 2899). --define(utils_wxEndBusyCursor, 2900). --define(utils_wxIsBusy, 2901). --define(utils_wxShutdown, 2902). --define(utils_wxShell, 2903). --define(utils_wxLaunchDefaultBrowser, 2904). --define(utils_wxGetEmailAddress, 2905). --define(utils_wxGetUserId, 2906). --define(utils_wxGetHomeDir, 2907). --define(utils_wxNewId, 2908). --define(utils_wxRegisterId, 2909). --define(utils_wxGetCurrentId, 2910). --define(utils_wxGetOsDescription, 2911). --define(utils_wxIsPlatformLittleEndian, 2912). --define(utils_wxIsPlatform64Bit, 2913). --define(wxPrintout_new, 2914). --define(wxPrintout_destruct, 2915). --define(wxPrintout_GetDC, 2916). --define(wxPrintout_GetPageSizeMM, 2917). --define(wxPrintout_GetPageSizePixels, 2918). --define(wxPrintout_GetPaperRectPixels, 2919). --define(wxPrintout_GetPPIPrinter, 2920). --define(wxPrintout_GetPPIScreen, 2921). --define(wxPrintout_GetTitle, 2922). --define(wxPrintout_IsPreview, 2923). --define(wxPrintout_FitThisSizeToPaper, 2924). --define(wxPrintout_FitThisSizeToPage, 2925). --define(wxPrintout_FitThisSizeToPageMargins, 2926). --define(wxPrintout_MapScreenSizeToPaper, 2927). --define(wxPrintout_MapScreenSizeToPage, 2928). --define(wxPrintout_MapScreenSizeToPageMargins, 2929). --define(wxPrintout_MapScreenSizeToDevice, 2930). --define(wxPrintout_GetLogicalPaperRect, 2931). --define(wxPrintout_GetLogicalPageRect, 2932). --define(wxPrintout_GetLogicalPageMarginsRect, 2933). --define(wxPrintout_SetLogicalOrigin, 2934). --define(wxPrintout_OffsetLogicalOrigin, 2935). --define(wxStyledTextCtrl_new_2, 2936). --define(wxStyledTextCtrl_new_0, 2937). --define(wxStyledTextCtrl_destruct, 2938). --define(wxStyledTextCtrl_Create, 2939). --define(wxStyledTextCtrl_AddText, 2940). --define(wxStyledTextCtrl_AddStyledText, 2941). --define(wxStyledTextCtrl_InsertText, 2942). --define(wxStyledTextCtrl_ClearAll, 2943). --define(wxStyledTextCtrl_ClearDocumentStyle, 2944). --define(wxStyledTextCtrl_GetLength, 2945). --define(wxStyledTextCtrl_GetCharAt, 2946). --define(wxStyledTextCtrl_GetCurrentPos, 2947). --define(wxStyledTextCtrl_GetAnchor, 2948). --define(wxStyledTextCtrl_GetStyleAt, 2949). --define(wxStyledTextCtrl_Redo, 2950). --define(wxStyledTextCtrl_SetUndoCollection, 2951). --define(wxStyledTextCtrl_SelectAll, 2952). --define(wxStyledTextCtrl_SetSavePoint, 2953). --define(wxStyledTextCtrl_GetStyledText, 2954). --define(wxStyledTextCtrl_CanRedo, 2955). --define(wxStyledTextCtrl_MarkerLineFromHandle, 2956). --define(wxStyledTextCtrl_MarkerDeleteHandle, 2957). --define(wxStyledTextCtrl_GetUndoCollection, 2958). --define(wxStyledTextCtrl_GetViewWhiteSpace, 2959). --define(wxStyledTextCtrl_SetViewWhiteSpace, 2960). --define(wxStyledTextCtrl_PositionFromPoint, 2961). --define(wxStyledTextCtrl_PositionFromPointClose, 2962). --define(wxStyledTextCtrl_GotoLine, 2963). --define(wxStyledTextCtrl_GotoPos, 2964). --define(wxStyledTextCtrl_SetAnchor, 2965). --define(wxStyledTextCtrl_GetCurLine, 2966). --define(wxStyledTextCtrl_GetEndStyled, 2967). --define(wxStyledTextCtrl_ConvertEOLs, 2968). --define(wxStyledTextCtrl_GetEOLMode, 2969). --define(wxStyledTextCtrl_SetEOLMode, 2970). --define(wxStyledTextCtrl_StartStyling, 2971). --define(wxStyledTextCtrl_SetStyling, 2972). --define(wxStyledTextCtrl_GetBufferedDraw, 2973). --define(wxStyledTextCtrl_SetBufferedDraw, 2974). --define(wxStyledTextCtrl_SetTabWidth, 2975). --define(wxStyledTextCtrl_GetTabWidth, 2976). --define(wxStyledTextCtrl_SetCodePage, 2977). --define(wxStyledTextCtrl_MarkerDefine, 2978). --define(wxStyledTextCtrl_MarkerSetForeground, 2979). --define(wxStyledTextCtrl_MarkerSetBackground, 2980). --define(wxStyledTextCtrl_MarkerAdd, 2981). --define(wxStyledTextCtrl_MarkerDelete, 2982). --define(wxStyledTextCtrl_MarkerDeleteAll, 2983). --define(wxStyledTextCtrl_MarkerGet, 2984). --define(wxStyledTextCtrl_MarkerNext, 2985). --define(wxStyledTextCtrl_MarkerPrevious, 2986). --define(wxStyledTextCtrl_MarkerDefineBitmap, 2987). --define(wxStyledTextCtrl_MarkerAddSet, 2988). --define(wxStyledTextCtrl_MarkerSetAlpha, 2989). --define(wxStyledTextCtrl_SetMarginType, 2990). --define(wxStyledTextCtrl_GetMarginType, 2991). --define(wxStyledTextCtrl_SetMarginWidth, 2992). --define(wxStyledTextCtrl_GetMarginWidth, 2993). --define(wxStyledTextCtrl_SetMarginMask, 2994). --define(wxStyledTextCtrl_GetMarginMask, 2995). --define(wxStyledTextCtrl_SetMarginSensitive, 2996). --define(wxStyledTextCtrl_GetMarginSensitive, 2997). --define(wxStyledTextCtrl_StyleClearAll, 2998). --define(wxStyledTextCtrl_StyleSetForeground, 2999). --define(wxStyledTextCtrl_StyleSetBackground, 3000). --define(wxStyledTextCtrl_StyleSetBold, 3001). --define(wxStyledTextCtrl_StyleSetItalic, 3002). --define(wxStyledTextCtrl_StyleSetSize, 3003). --define(wxStyledTextCtrl_StyleSetFaceName, 3004). --define(wxStyledTextCtrl_StyleSetEOLFilled, 3005). --define(wxStyledTextCtrl_StyleResetDefault, 3006). --define(wxStyledTextCtrl_StyleSetUnderline, 3007). --define(wxStyledTextCtrl_StyleSetCase, 3008). --define(wxStyledTextCtrl_StyleSetHotSpot, 3009). --define(wxStyledTextCtrl_SetSelForeground, 3010). --define(wxStyledTextCtrl_SetSelBackground, 3011). --define(wxStyledTextCtrl_GetSelAlpha, 3012). --define(wxStyledTextCtrl_SetSelAlpha, 3013). --define(wxStyledTextCtrl_SetCaretForeground, 3014). --define(wxStyledTextCtrl_CmdKeyAssign, 3015). --define(wxStyledTextCtrl_CmdKeyClear, 3016). --define(wxStyledTextCtrl_CmdKeyClearAll, 3017). --define(wxStyledTextCtrl_SetStyleBytes, 3018). --define(wxStyledTextCtrl_StyleSetVisible, 3019). --define(wxStyledTextCtrl_GetCaretPeriod, 3020). --define(wxStyledTextCtrl_SetCaretPeriod, 3021). --define(wxStyledTextCtrl_SetWordChars, 3022). --define(wxStyledTextCtrl_BeginUndoAction, 3023). --define(wxStyledTextCtrl_EndUndoAction, 3024). --define(wxStyledTextCtrl_IndicatorSetStyle, 3025). --define(wxStyledTextCtrl_IndicatorGetStyle, 3026). --define(wxStyledTextCtrl_IndicatorSetForeground, 3027). --define(wxStyledTextCtrl_IndicatorGetForeground, 3028). --define(wxStyledTextCtrl_SetWhitespaceForeground, 3029). --define(wxStyledTextCtrl_SetWhitespaceBackground, 3030). --define(wxStyledTextCtrl_GetStyleBits, 3031). --define(wxStyledTextCtrl_SetLineState, 3032). --define(wxStyledTextCtrl_GetLineState, 3033). --define(wxStyledTextCtrl_GetMaxLineState, 3034). --define(wxStyledTextCtrl_GetCaretLineVisible, 3035). --define(wxStyledTextCtrl_SetCaretLineVisible, 3036). --define(wxStyledTextCtrl_GetCaretLineBackground, 3037). --define(wxStyledTextCtrl_SetCaretLineBackground, 3038). --define(wxStyledTextCtrl_AutoCompShow, 3039). --define(wxStyledTextCtrl_AutoCompCancel, 3040). --define(wxStyledTextCtrl_AutoCompActive, 3041). --define(wxStyledTextCtrl_AutoCompPosStart, 3042). --define(wxStyledTextCtrl_AutoCompComplete, 3043). --define(wxStyledTextCtrl_AutoCompStops, 3044). --define(wxStyledTextCtrl_AutoCompSetSeparator, 3045). --define(wxStyledTextCtrl_AutoCompGetSeparator, 3046). --define(wxStyledTextCtrl_AutoCompSelect, 3047). --define(wxStyledTextCtrl_AutoCompSetCancelAtStart, 3048). --define(wxStyledTextCtrl_AutoCompGetCancelAtStart, 3049). --define(wxStyledTextCtrl_AutoCompSetFillUps, 3050). --define(wxStyledTextCtrl_AutoCompSetChooseSingle, 3051). --define(wxStyledTextCtrl_AutoCompGetChooseSingle, 3052). --define(wxStyledTextCtrl_AutoCompSetIgnoreCase, 3053). --define(wxStyledTextCtrl_AutoCompGetIgnoreCase, 3054). --define(wxStyledTextCtrl_UserListShow, 3055). --define(wxStyledTextCtrl_AutoCompSetAutoHide, 3056). --define(wxStyledTextCtrl_AutoCompGetAutoHide, 3057). --define(wxStyledTextCtrl_AutoCompSetDropRestOfWord, 3058). --define(wxStyledTextCtrl_AutoCompGetDropRestOfWord, 3059). --define(wxStyledTextCtrl_RegisterImage, 3060). --define(wxStyledTextCtrl_ClearRegisteredImages, 3061). --define(wxStyledTextCtrl_AutoCompGetTypeSeparator, 3062). --define(wxStyledTextCtrl_AutoCompSetTypeSeparator, 3063). --define(wxStyledTextCtrl_AutoCompSetMaxWidth, 3064). --define(wxStyledTextCtrl_AutoCompGetMaxWidth, 3065). --define(wxStyledTextCtrl_AutoCompSetMaxHeight, 3066). --define(wxStyledTextCtrl_AutoCompGetMaxHeight, 3067). --define(wxStyledTextCtrl_SetIndent, 3068). --define(wxStyledTextCtrl_GetIndent, 3069). --define(wxStyledTextCtrl_SetUseTabs, 3070). --define(wxStyledTextCtrl_GetUseTabs, 3071). --define(wxStyledTextCtrl_SetLineIndentation, 3072). --define(wxStyledTextCtrl_GetLineIndentation, 3073). --define(wxStyledTextCtrl_GetLineIndentPosition, 3074). --define(wxStyledTextCtrl_GetColumn, 3075). --define(wxStyledTextCtrl_SetUseHorizontalScrollBar, 3076). --define(wxStyledTextCtrl_GetUseHorizontalScrollBar, 3077). --define(wxStyledTextCtrl_SetIndentationGuides, 3078). --define(wxStyledTextCtrl_GetIndentationGuides, 3079). --define(wxStyledTextCtrl_SetHighlightGuide, 3080). --define(wxStyledTextCtrl_GetHighlightGuide, 3081). --define(wxStyledTextCtrl_GetLineEndPosition, 3082). --define(wxStyledTextCtrl_GetCodePage, 3083). --define(wxStyledTextCtrl_GetCaretForeground, 3084). --define(wxStyledTextCtrl_GetReadOnly, 3085). --define(wxStyledTextCtrl_SetCurrentPos, 3086). --define(wxStyledTextCtrl_SetSelectionStart, 3087). --define(wxStyledTextCtrl_GetSelectionStart, 3088). --define(wxStyledTextCtrl_SetSelectionEnd, 3089). --define(wxStyledTextCtrl_GetSelectionEnd, 3090). --define(wxStyledTextCtrl_SetPrintMagnification, 3091). --define(wxStyledTextCtrl_GetPrintMagnification, 3092). --define(wxStyledTextCtrl_SetPrintColourMode, 3093). --define(wxStyledTextCtrl_GetPrintColourMode, 3094). --define(wxStyledTextCtrl_FindText, 3095). --define(wxStyledTextCtrl_FormatRange, 3096). --define(wxStyledTextCtrl_GetFirstVisibleLine, 3097). --define(wxStyledTextCtrl_GetLine, 3098). --define(wxStyledTextCtrl_GetLineCount, 3099). --define(wxStyledTextCtrl_SetMarginLeft, 3100). --define(wxStyledTextCtrl_GetMarginLeft, 3101). --define(wxStyledTextCtrl_SetMarginRight, 3102). --define(wxStyledTextCtrl_GetMarginRight, 3103). --define(wxStyledTextCtrl_GetModify, 3104). --define(wxStyledTextCtrl_SetSelection, 3105). --define(wxStyledTextCtrl_GetSelectedText, 3106). --define(wxStyledTextCtrl_GetTextRange, 3107). --define(wxStyledTextCtrl_HideSelection, 3108). --define(wxStyledTextCtrl_LineFromPosition, 3109). --define(wxStyledTextCtrl_PositionFromLine, 3110). --define(wxStyledTextCtrl_LineScroll, 3111). --define(wxStyledTextCtrl_EnsureCaretVisible, 3112). --define(wxStyledTextCtrl_ReplaceSelection, 3113). --define(wxStyledTextCtrl_SetReadOnly, 3114). --define(wxStyledTextCtrl_CanPaste, 3115). --define(wxStyledTextCtrl_CanUndo, 3116). --define(wxStyledTextCtrl_EmptyUndoBuffer, 3117). --define(wxStyledTextCtrl_Undo, 3118). --define(wxStyledTextCtrl_Cut, 3119). --define(wxStyledTextCtrl_Copy, 3120). --define(wxStyledTextCtrl_Paste, 3121). --define(wxStyledTextCtrl_Clear, 3122). --define(wxStyledTextCtrl_SetText, 3123). --define(wxStyledTextCtrl_GetText, 3124). --define(wxStyledTextCtrl_GetTextLength, 3125). --define(wxStyledTextCtrl_GetOvertype, 3126). --define(wxStyledTextCtrl_SetCaretWidth, 3127). --define(wxStyledTextCtrl_GetCaretWidth, 3128). --define(wxStyledTextCtrl_SetTargetStart, 3129). --define(wxStyledTextCtrl_GetTargetStart, 3130). --define(wxStyledTextCtrl_SetTargetEnd, 3131). --define(wxStyledTextCtrl_GetTargetEnd, 3132). --define(wxStyledTextCtrl_ReplaceTarget, 3133). --define(wxStyledTextCtrl_SearchInTarget, 3134). --define(wxStyledTextCtrl_SetSearchFlags, 3135). --define(wxStyledTextCtrl_GetSearchFlags, 3136). --define(wxStyledTextCtrl_CallTipShow, 3137). --define(wxStyledTextCtrl_CallTipCancel, 3138). --define(wxStyledTextCtrl_CallTipActive, 3139). --define(wxStyledTextCtrl_CallTipPosAtStart, 3140). --define(wxStyledTextCtrl_CallTipSetHighlight, 3141). --define(wxStyledTextCtrl_CallTipSetBackground, 3142). --define(wxStyledTextCtrl_CallTipSetForeground, 3143). --define(wxStyledTextCtrl_CallTipSetForegroundHighlight, 3144). --define(wxStyledTextCtrl_CallTipUseStyle, 3145). --define(wxStyledTextCtrl_VisibleFromDocLine, 3146). --define(wxStyledTextCtrl_DocLineFromVisible, 3147). --define(wxStyledTextCtrl_WrapCount, 3148). --define(wxStyledTextCtrl_SetFoldLevel, 3149). --define(wxStyledTextCtrl_GetFoldLevel, 3150). --define(wxStyledTextCtrl_GetLastChild, 3151). --define(wxStyledTextCtrl_GetFoldParent, 3152). --define(wxStyledTextCtrl_ShowLines, 3153). --define(wxStyledTextCtrl_HideLines, 3154). --define(wxStyledTextCtrl_GetLineVisible, 3155). --define(wxStyledTextCtrl_SetFoldExpanded, 3156). --define(wxStyledTextCtrl_GetFoldExpanded, 3157). --define(wxStyledTextCtrl_ToggleFold, 3158). --define(wxStyledTextCtrl_EnsureVisible, 3159). --define(wxStyledTextCtrl_SetFoldFlags, 3160). --define(wxStyledTextCtrl_EnsureVisibleEnforcePolicy, 3161). --define(wxStyledTextCtrl_SetTabIndents, 3162). --define(wxStyledTextCtrl_GetTabIndents, 3163). --define(wxStyledTextCtrl_SetBackSpaceUnIndents, 3164). --define(wxStyledTextCtrl_GetBackSpaceUnIndents, 3165). --define(wxStyledTextCtrl_SetMouseDwellTime, 3166). --define(wxStyledTextCtrl_GetMouseDwellTime, 3167). --define(wxStyledTextCtrl_WordStartPosition, 3168). --define(wxStyledTextCtrl_WordEndPosition, 3169). --define(wxStyledTextCtrl_SetWrapMode, 3170). --define(wxStyledTextCtrl_GetWrapMode, 3171). --define(wxStyledTextCtrl_SetWrapVisualFlags, 3172). --define(wxStyledTextCtrl_GetWrapVisualFlags, 3173). --define(wxStyledTextCtrl_SetWrapVisualFlagsLocation, 3174). --define(wxStyledTextCtrl_GetWrapVisualFlagsLocation, 3175). --define(wxStyledTextCtrl_SetWrapStartIndent, 3176). --define(wxStyledTextCtrl_GetWrapStartIndent, 3177). --define(wxStyledTextCtrl_SetLayoutCache, 3178). --define(wxStyledTextCtrl_GetLayoutCache, 3179). --define(wxStyledTextCtrl_SetScrollWidth, 3180). --define(wxStyledTextCtrl_GetScrollWidth, 3181). --define(wxStyledTextCtrl_TextWidth, 3182). --define(wxStyledTextCtrl_GetEndAtLastLine, 3183). --define(wxStyledTextCtrl_TextHeight, 3184). --define(wxStyledTextCtrl_SetUseVerticalScrollBar, 3185). --define(wxStyledTextCtrl_GetUseVerticalScrollBar, 3186). --define(wxStyledTextCtrl_AppendText, 3187). --define(wxStyledTextCtrl_GetTwoPhaseDraw, 3188). --define(wxStyledTextCtrl_SetTwoPhaseDraw, 3189). --define(wxStyledTextCtrl_TargetFromSelection, 3190). --define(wxStyledTextCtrl_LinesJoin, 3191). --define(wxStyledTextCtrl_LinesSplit, 3192). --define(wxStyledTextCtrl_SetFoldMarginColour, 3193). --define(wxStyledTextCtrl_SetFoldMarginHiColour, 3194). --define(wxStyledTextCtrl_LineDown, 3195). --define(wxStyledTextCtrl_LineDownExtend, 3196). --define(wxStyledTextCtrl_LineUp, 3197). --define(wxStyledTextCtrl_LineUpExtend, 3198). --define(wxStyledTextCtrl_CharLeft, 3199). --define(wxStyledTextCtrl_CharLeftExtend, 3200). --define(wxStyledTextCtrl_CharRight, 3201). --define(wxStyledTextCtrl_CharRightExtend, 3202). --define(wxStyledTextCtrl_WordLeft, 3203). --define(wxStyledTextCtrl_WordLeftExtend, 3204). --define(wxStyledTextCtrl_WordRight, 3205). --define(wxStyledTextCtrl_WordRightExtend, 3206). --define(wxStyledTextCtrl_Home, 3207). --define(wxStyledTextCtrl_HomeExtend, 3208). --define(wxStyledTextCtrl_LineEnd, 3209). --define(wxStyledTextCtrl_LineEndExtend, 3210). --define(wxStyledTextCtrl_DocumentStart, 3211). --define(wxStyledTextCtrl_DocumentStartExtend, 3212). --define(wxStyledTextCtrl_DocumentEnd, 3213). --define(wxStyledTextCtrl_DocumentEndExtend, 3214). --define(wxStyledTextCtrl_PageUp, 3215). --define(wxStyledTextCtrl_PageUpExtend, 3216). --define(wxStyledTextCtrl_PageDown, 3217). --define(wxStyledTextCtrl_PageDownExtend, 3218). --define(wxStyledTextCtrl_EditToggleOvertype, 3219). --define(wxStyledTextCtrl_Cancel, 3220). --define(wxStyledTextCtrl_DeleteBack, 3221). --define(wxStyledTextCtrl_Tab, 3222). --define(wxStyledTextCtrl_BackTab, 3223). --define(wxStyledTextCtrl_NewLine, 3224). --define(wxStyledTextCtrl_FormFeed, 3225). --define(wxStyledTextCtrl_VCHome, 3226). --define(wxStyledTextCtrl_VCHomeExtend, 3227). --define(wxStyledTextCtrl_ZoomIn, 3228). --define(wxStyledTextCtrl_ZoomOut, 3229). --define(wxStyledTextCtrl_DelWordLeft, 3230). --define(wxStyledTextCtrl_DelWordRight, 3231). --define(wxStyledTextCtrl_LineCut, 3232). --define(wxStyledTextCtrl_LineDelete, 3233). --define(wxStyledTextCtrl_LineTranspose, 3234). --define(wxStyledTextCtrl_LineDuplicate, 3235). --define(wxStyledTextCtrl_LowerCase, 3236). --define(wxStyledTextCtrl_UpperCase, 3237). --define(wxStyledTextCtrl_LineScrollDown, 3238). --define(wxStyledTextCtrl_LineScrollUp, 3239). --define(wxStyledTextCtrl_DeleteBackNotLine, 3240). --define(wxStyledTextCtrl_HomeDisplay, 3241). --define(wxStyledTextCtrl_HomeDisplayExtend, 3242). --define(wxStyledTextCtrl_LineEndDisplay, 3243). --define(wxStyledTextCtrl_LineEndDisplayExtend, 3244). --define(wxStyledTextCtrl_HomeWrapExtend, 3245). --define(wxStyledTextCtrl_LineEndWrap, 3246). --define(wxStyledTextCtrl_LineEndWrapExtend, 3247). --define(wxStyledTextCtrl_VCHomeWrap, 3248). --define(wxStyledTextCtrl_VCHomeWrapExtend, 3249). --define(wxStyledTextCtrl_LineCopy, 3250). --define(wxStyledTextCtrl_MoveCaretInsideView, 3251). --define(wxStyledTextCtrl_LineLength, 3252). --define(wxStyledTextCtrl_BraceHighlight, 3253). --define(wxStyledTextCtrl_BraceBadLight, 3254). --define(wxStyledTextCtrl_BraceMatch, 3255). --define(wxStyledTextCtrl_GetViewEOL, 3256). --define(wxStyledTextCtrl_SetViewEOL, 3257). --define(wxStyledTextCtrl_SetModEventMask, 3258). --define(wxStyledTextCtrl_GetEdgeColumn, 3259). --define(wxStyledTextCtrl_SetEdgeColumn, 3260). --define(wxStyledTextCtrl_GetEdgeMode, 3261). --define(wxStyledTextCtrl_GetEdgeColour, 3262). --define(wxStyledTextCtrl_SetEdgeColour, 3263). --define(wxStyledTextCtrl_SearchAnchor, 3264). --define(wxStyledTextCtrl_SearchNext, 3265). --define(wxStyledTextCtrl_SearchPrev, 3266). --define(wxStyledTextCtrl_LinesOnScreen, 3267). --define(wxStyledTextCtrl_UsePopUp, 3268). --define(wxStyledTextCtrl_SelectionIsRectangle, 3269). --define(wxStyledTextCtrl_SetZoom, 3270). --define(wxStyledTextCtrl_GetZoom, 3271). --define(wxStyledTextCtrl_GetModEventMask, 3272). --define(wxStyledTextCtrl_SetSTCFocus, 3273). --define(wxStyledTextCtrl_GetSTCFocus, 3274). --define(wxStyledTextCtrl_SetStatus, 3275). --define(wxStyledTextCtrl_GetStatus, 3276). --define(wxStyledTextCtrl_SetMouseDownCaptures, 3277). --define(wxStyledTextCtrl_GetMouseDownCaptures, 3278). --define(wxStyledTextCtrl_SetSTCCursor, 3279). --define(wxStyledTextCtrl_GetSTCCursor, 3280). --define(wxStyledTextCtrl_SetControlCharSymbol, 3281). --define(wxStyledTextCtrl_GetControlCharSymbol, 3282). --define(wxStyledTextCtrl_WordPartLeft, 3283). --define(wxStyledTextCtrl_WordPartLeftExtend, 3284). --define(wxStyledTextCtrl_WordPartRight, 3285). --define(wxStyledTextCtrl_WordPartRightExtend, 3286). --define(wxStyledTextCtrl_SetVisiblePolicy, 3287). --define(wxStyledTextCtrl_DelLineLeft, 3288). --define(wxStyledTextCtrl_DelLineRight, 3289). --define(wxStyledTextCtrl_GetXOffset, 3290). --define(wxStyledTextCtrl_ChooseCaretX, 3291). --define(wxStyledTextCtrl_SetXCaretPolicy, 3292). --define(wxStyledTextCtrl_SetYCaretPolicy, 3293). --define(wxStyledTextCtrl_GetPrintWrapMode, 3294). --define(wxStyledTextCtrl_SetHotspotActiveForeground, 3295). --define(wxStyledTextCtrl_SetHotspotActiveBackground, 3296). --define(wxStyledTextCtrl_SetHotspotActiveUnderline, 3297). --define(wxStyledTextCtrl_SetHotspotSingleLine, 3298). --define(wxStyledTextCtrl_ParaDownExtend, 3299). --define(wxStyledTextCtrl_ParaUp, 3300). --define(wxStyledTextCtrl_ParaUpExtend, 3301). --define(wxStyledTextCtrl_PositionBefore, 3302). --define(wxStyledTextCtrl_PositionAfter, 3303). --define(wxStyledTextCtrl_CopyRange, 3304). --define(wxStyledTextCtrl_CopyText, 3305). --define(wxStyledTextCtrl_SetSelectionMode, 3306). --define(wxStyledTextCtrl_GetSelectionMode, 3307). --define(wxStyledTextCtrl_LineDownRectExtend, 3308). --define(wxStyledTextCtrl_LineUpRectExtend, 3309). --define(wxStyledTextCtrl_CharLeftRectExtend, 3310). --define(wxStyledTextCtrl_CharRightRectExtend, 3311). --define(wxStyledTextCtrl_HomeRectExtend, 3312). --define(wxStyledTextCtrl_VCHomeRectExtend, 3313). --define(wxStyledTextCtrl_LineEndRectExtend, 3314). --define(wxStyledTextCtrl_PageUpRectExtend, 3315). --define(wxStyledTextCtrl_PageDownRectExtend, 3316). --define(wxStyledTextCtrl_StutteredPageUp, 3317). --define(wxStyledTextCtrl_StutteredPageUpExtend, 3318). --define(wxStyledTextCtrl_StutteredPageDown, 3319). --define(wxStyledTextCtrl_StutteredPageDownExtend, 3320). --define(wxStyledTextCtrl_WordLeftEnd, 3321). --define(wxStyledTextCtrl_WordLeftEndExtend, 3322). --define(wxStyledTextCtrl_WordRightEnd, 3323). --define(wxStyledTextCtrl_WordRightEndExtend, 3324). --define(wxStyledTextCtrl_SetWhitespaceChars, 3325). --define(wxStyledTextCtrl_SetCharsDefault, 3326). --define(wxStyledTextCtrl_AutoCompGetCurrent, 3327). --define(wxStyledTextCtrl_Allocate, 3328). --define(wxStyledTextCtrl_FindColumn, 3329). --define(wxStyledTextCtrl_GetCaretSticky, 3330). --define(wxStyledTextCtrl_SetCaretSticky, 3331). --define(wxStyledTextCtrl_ToggleCaretSticky, 3332). --define(wxStyledTextCtrl_SetPasteConvertEndings, 3333). --define(wxStyledTextCtrl_GetPasteConvertEndings, 3334). --define(wxStyledTextCtrl_SelectionDuplicate, 3335). --define(wxStyledTextCtrl_SetCaretLineBackAlpha, 3336). --define(wxStyledTextCtrl_GetCaretLineBackAlpha, 3337). --define(wxStyledTextCtrl_StartRecord, 3338). --define(wxStyledTextCtrl_StopRecord, 3339). --define(wxStyledTextCtrl_SetLexer, 3340). --define(wxStyledTextCtrl_GetLexer, 3341). --define(wxStyledTextCtrl_Colourise, 3342). --define(wxStyledTextCtrl_SetProperty, 3343). --define(wxStyledTextCtrl_SetKeyWords, 3344). --define(wxStyledTextCtrl_SetLexerLanguage, 3345). --define(wxStyledTextCtrl_GetProperty, 3346). --define(wxStyledTextCtrl_GetStyleBitsNeeded, 3347). --define(wxStyledTextCtrl_GetCurrentLine, 3348). --define(wxStyledTextCtrl_StyleSetSpec, 3349). --define(wxStyledTextCtrl_StyleSetFont, 3350). --define(wxStyledTextCtrl_StyleSetFontAttr, 3351). --define(wxStyledTextCtrl_StyleSetCharacterSet, 3352). --define(wxStyledTextCtrl_StyleSetFontEncoding, 3353). --define(wxStyledTextCtrl_CmdKeyExecute, 3354). --define(wxStyledTextCtrl_SetMargins, 3355). --define(wxStyledTextCtrl_GetSelection, 3356). --define(wxStyledTextCtrl_PointFromPosition, 3357). --define(wxStyledTextCtrl_ScrollToLine, 3358). --define(wxStyledTextCtrl_ScrollToColumn, 3359). --define(wxStyledTextCtrl_SendMsg, 3360). --define(wxStyledTextCtrl_SetVScrollBar, 3361). --define(wxStyledTextCtrl_SetHScrollBar, 3362). --define(wxStyledTextCtrl_GetLastKeydownProcessed, 3363). --define(wxStyledTextCtrl_SetLastKeydownProcessed, 3364). --define(wxStyledTextCtrl_SaveFile, 3365). --define(wxStyledTextCtrl_LoadFile, 3366). --define(wxStyledTextCtrl_DoDragOver, 3367). --define(wxStyledTextCtrl_DoDropText, 3368). --define(wxStyledTextCtrl_GetUseAntiAliasing, 3369). --define(wxStyledTextCtrl_AddTextRaw, 3370). --define(wxStyledTextCtrl_InsertTextRaw, 3371). --define(wxStyledTextCtrl_GetCurLineRaw, 3372). --define(wxStyledTextCtrl_GetLineRaw, 3373). --define(wxStyledTextCtrl_GetSelectedTextRaw, 3374). --define(wxStyledTextCtrl_GetTextRangeRaw, 3375). --define(wxStyledTextCtrl_SetTextRaw, 3376). --define(wxStyledTextCtrl_GetTextRaw, 3377). --define(wxStyledTextCtrl_AppendTextRaw, 3378). --define(wxArtProvider_GetBitmap, 3379). --define(wxArtProvider_GetIcon, 3380). --define(wxTreeEvent_GetKeyCode, 3381). --define(wxTreeEvent_GetItem, 3382). --define(wxTreeEvent_GetKeyEvent, 3383). --define(wxTreeEvent_GetLabel, 3384). --define(wxTreeEvent_GetOldItem, 3385). --define(wxTreeEvent_GetPoint, 3386). --define(wxTreeEvent_IsEditCancelled, 3387). --define(wxTreeEvent_SetToolTip, 3388). --define(wxNotebookEvent_GetOldSelection, 3389). --define(wxNotebookEvent_GetSelection, 3390). --define(wxNotebookEvent_SetOldSelection, 3391). --define(wxNotebookEvent_SetSelection, 3392). --define(wxFileDataObject_new, 3393). --define(wxFileDataObject_AddFile, 3394). --define(wxFileDataObject_GetFilenames, 3395). --define(wxFileDataObject_destroy, 3396). --define(wxTextDataObject_new, 3397). --define(wxTextDataObject_GetTextLength, 3398). --define(wxTextDataObject_GetText, 3399). --define(wxTextDataObject_SetText, 3400). --define(wxTextDataObject_destroy, 3401). --define(wxBitmapDataObject_new_1_1, 3402). --define(wxBitmapDataObject_new_1_0, 3403). --define(wxBitmapDataObject_GetBitmap, 3404). --define(wxBitmapDataObject_SetBitmap, 3405). --define(wxBitmapDataObject_destroy, 3406). --define(wxClipboard_new, 3408). --define(wxClipboard_destruct, 3409). --define(wxClipboard_AddData, 3410). --define(wxClipboard_Clear, 3411). --define(wxClipboard_Close, 3412). --define(wxClipboard_Flush, 3413). --define(wxClipboard_GetData, 3414). --define(wxClipboard_IsOpened, 3415). --define(wxClipboard_Open, 3416). --define(wxClipboard_SetData, 3417). --define(wxClipboard_UsePrimarySelection, 3419). --define(wxClipboard_IsSupported, 3420). --define(wxClipboard_Get, 3421). --define(wxSpinEvent_GetPosition, 3422). --define(wxSpinEvent_SetPosition, 3423). --define(wxSplitterWindow_new_0, 3424). --define(wxSplitterWindow_new_2, 3425). --define(wxSplitterWindow_destruct, 3426). --define(wxSplitterWindow_Create, 3427). --define(wxSplitterWindow_GetMinimumPaneSize, 3428). --define(wxSplitterWindow_GetSashGravity, 3429). --define(wxSplitterWindow_GetSashPosition, 3430). --define(wxSplitterWindow_GetSplitMode, 3431). --define(wxSplitterWindow_GetWindow1, 3432). --define(wxSplitterWindow_GetWindow2, 3433). --define(wxSplitterWindow_Initialize, 3434). --define(wxSplitterWindow_IsSplit, 3435). --define(wxSplitterWindow_ReplaceWindow, 3436). --define(wxSplitterWindow_SetSashGravity, 3437). --define(wxSplitterWindow_SetSashPosition, 3438). --define(wxSplitterWindow_SetSashSize, 3439). --define(wxSplitterWindow_SetMinimumPaneSize, 3440). --define(wxSplitterWindow_SetSplitMode, 3441). --define(wxSplitterWindow_SplitHorizontally, 3442). --define(wxSplitterWindow_SplitVertically, 3443). --define(wxSplitterWindow_Unsplit, 3444). --define(wxSplitterWindow_UpdateSize, 3445). --define(wxSplitterEvent_GetSashPosition, 3446). --define(wxSplitterEvent_GetX, 3447). --define(wxSplitterEvent_GetY, 3448). --define(wxSplitterEvent_GetWindowBeingRemoved, 3449). --define(wxSplitterEvent_SetSashPosition, 3450). --define(wxHtmlWindow_new_0, 3451). --define(wxHtmlWindow_new_2, 3452). --define(wxHtmlWindow_AppendToPage, 3453). --define(wxHtmlWindow_GetOpenedAnchor, 3454). --define(wxHtmlWindow_GetOpenedPage, 3455). --define(wxHtmlWindow_GetOpenedPageTitle, 3456). --define(wxHtmlWindow_GetRelatedFrame, 3457). --define(wxHtmlWindow_HistoryBack, 3458). --define(wxHtmlWindow_HistoryCanBack, 3459). --define(wxHtmlWindow_HistoryCanForward, 3460). --define(wxHtmlWindow_HistoryClear, 3461). --define(wxHtmlWindow_HistoryForward, 3462). --define(wxHtmlWindow_LoadFile, 3463). --define(wxHtmlWindow_LoadPage, 3464). --define(wxHtmlWindow_SelectAll, 3465). --define(wxHtmlWindow_SelectionToText, 3466). --define(wxHtmlWindow_SelectLine, 3467). --define(wxHtmlWindow_SelectWord, 3468). --define(wxHtmlWindow_SetBorders, 3469). --define(wxHtmlWindow_SetFonts, 3470). --define(wxHtmlWindow_SetPage, 3471). --define(wxHtmlWindow_SetRelatedFrame, 3472). --define(wxHtmlWindow_SetRelatedStatusBar, 3473). --define(wxHtmlWindow_ToText, 3474). --define(wxHtmlWindow_destroy, 3475). --define(wxHtmlLinkEvent_GetLinkInfo, 3476). --define(wxAuiNotebookEvent_SetSelection, 3477). --define(wxAuiNotebookEvent_GetSelection, 3478). --define(wxAuiNotebookEvent_SetOldSelection, 3479). --define(wxAuiNotebookEvent_GetOldSelection, 3480). --define(wxAuiNotebookEvent_SetDragSource, 3481). --define(wxAuiNotebookEvent_GetDragSource, 3482). --define(wxAuiManagerEvent_SetManager, 3483). --define(wxAuiManagerEvent_GetManager, 3484). --define(wxAuiManagerEvent_SetPane, 3485). --define(wxAuiManagerEvent_GetPane, 3486). --define(wxAuiManagerEvent_SetButton, 3487). --define(wxAuiManagerEvent_GetButton, 3488). --define(wxAuiManagerEvent_SetDC, 3489). --define(wxAuiManagerEvent_GetDC, 3490). --define(wxAuiManagerEvent_Veto, 3491). --define(wxAuiManagerEvent_GetVeto, 3492). --define(wxAuiManagerEvent_SetCanVeto, 3493). --define(wxAuiManagerEvent_CanVeto, 3494). --define(wxLogNull_new, 3495). --define(wxLogNull_destroy, 3496). +-define(wxControlWithItems_getClientData, 885). +-define(wxControlWithItems_setClientData, 886). +-define(wxControlWithItems_GetCount, 887). +-define(wxControlWithItems_GetSelection, 888). +-define(wxControlWithItems_GetString, 889). +-define(wxControlWithItems_GetStringSelection, 890). +-define(wxControlWithItems_Insert_2, 891). +-define(wxControlWithItems_Insert_3, 892). +-define(wxControlWithItems_IsEmpty, 893). +-define(wxControlWithItems_Select, 894). +-define(wxControlWithItems_SetSelection, 895). +-define(wxControlWithItems_SetString, 896). +-define(wxControlWithItems_SetStringSelection, 897). +-define(wxMenu_new_2, 900). +-define(wxMenu_new_1, 901). +-define(wxMenu_destruct, 903). +-define(wxMenu_Append_3, 904). +-define(wxMenu_Append_1, 905). +-define(wxMenu_Append_4_0, 906). +-define(wxMenu_Append_4_1, 907). +-define(wxMenu_AppendCheckItem, 908). +-define(wxMenu_AppendRadioItem, 909). +-define(wxMenu_AppendSeparator, 910). +-define(wxMenu_Break, 911). +-define(wxMenu_Check, 912). +-define(wxMenu_Delete_1_0, 913). +-define(wxMenu_Delete_1_1, 914). +-define(wxMenu_Destroy_1_0, 915). +-define(wxMenu_Destroy_1_1, 916). +-define(wxMenu_Enable, 917). +-define(wxMenu_FindItem_1, 918). +-define(wxMenu_FindItem_2, 919). +-define(wxMenu_FindItemByPosition, 920). +-define(wxMenu_GetHelpString, 921). +-define(wxMenu_GetLabel, 922). +-define(wxMenu_GetMenuItemCount, 923). +-define(wxMenu_GetMenuItems, 924). +-define(wxMenu_GetTitle, 926). +-define(wxMenu_Insert_2, 927). +-define(wxMenu_Insert_3, 928). +-define(wxMenu_Insert_5_1, 929). +-define(wxMenu_Insert_5_0, 930). +-define(wxMenu_InsertCheckItem, 931). +-define(wxMenu_InsertRadioItem, 932). +-define(wxMenu_InsertSeparator, 933). +-define(wxMenu_IsChecked, 934). +-define(wxMenu_IsEnabled, 935). +-define(wxMenu_Prepend_1, 936). +-define(wxMenu_Prepend_2, 937). +-define(wxMenu_Prepend_4_1, 938). +-define(wxMenu_Prepend_4_0, 939). +-define(wxMenu_PrependCheckItem, 940). +-define(wxMenu_PrependRadioItem, 941). +-define(wxMenu_PrependSeparator, 942). +-define(wxMenu_Remove_1_0, 943). +-define(wxMenu_Remove_1_1, 944). +-define(wxMenu_SetHelpString, 945). +-define(wxMenu_SetLabel, 946). +-define(wxMenu_SetTitle, 947). +-define(wxMenuItem_new, 948). +-define(wxMenuItem_destruct, 950). +-define(wxMenuItem_Check, 951). +-define(wxMenuItem_Enable, 952). +-define(wxMenuItem_GetBitmap, 953). +-define(wxMenuItem_GetHelp, 954). +-define(wxMenuItem_GetId, 955). +-define(wxMenuItem_GetKind, 956). +-define(wxMenuItem_GetLabel, 957). +-define(wxMenuItem_GetLabelFromText, 958). +-define(wxMenuItem_GetMenu, 959). +-define(wxMenuItem_GetText, 960). +-define(wxMenuItem_GetSubMenu, 961). +-define(wxMenuItem_IsCheckable, 962). +-define(wxMenuItem_IsChecked, 963). +-define(wxMenuItem_IsEnabled, 964). +-define(wxMenuItem_IsSeparator, 965). +-define(wxMenuItem_IsSubMenu, 966). +-define(wxMenuItem_SetBitmap, 967). +-define(wxMenuItem_SetHelp, 968). +-define(wxMenuItem_SetMenu, 969). +-define(wxMenuItem_SetSubMenu, 970). +-define(wxMenuItem_SetText, 971). +-define(wxToolBar_AddControl, 972). +-define(wxToolBar_AddSeparator, 973). +-define(wxToolBar_AddTool_5, 974). +-define(wxToolBar_AddTool_4_0, 975). +-define(wxToolBar_AddTool_1, 976). +-define(wxToolBar_AddTool_4_1, 977). +-define(wxToolBar_AddTool_3, 978). +-define(wxToolBar_AddTool_6, 979). +-define(wxToolBar_AddCheckTool, 980). +-define(wxToolBar_AddRadioTool, 981). +-define(wxToolBar_DeleteTool, 982). +-define(wxToolBar_DeleteToolByPos, 983). +-define(wxToolBar_EnableTool, 984). +-define(wxToolBar_FindById, 985). +-define(wxToolBar_FindControl, 986). +-define(wxToolBar_FindToolForPosition, 987). +-define(wxToolBar_GetToolSize, 988). +-define(wxToolBar_GetToolBitmapSize, 989). +-define(wxToolBar_GetMargins, 990). +-define(wxToolBar_GetToolEnabled, 991). +-define(wxToolBar_GetToolLongHelp, 992). +-define(wxToolBar_GetToolPacking, 993). +-define(wxToolBar_GetToolPos, 994). +-define(wxToolBar_GetToolSeparation, 995). +-define(wxToolBar_GetToolShortHelp, 996). +-define(wxToolBar_GetToolState, 997). +-define(wxToolBar_InsertControl, 998). +-define(wxToolBar_InsertSeparator, 999). +-define(wxToolBar_InsertTool_5, 1000). +-define(wxToolBar_InsertTool_2, 1001). +-define(wxToolBar_InsertTool_4, 1002). +-define(wxToolBar_Realize, 1003). +-define(wxToolBar_RemoveTool, 1004). +-define(wxToolBar_SetMargins, 1005). +-define(wxToolBar_SetToolBitmapSize, 1006). +-define(wxToolBar_SetToolLongHelp, 1007). +-define(wxToolBar_SetToolPacking, 1008). +-define(wxToolBar_SetToolShortHelp, 1009). +-define(wxToolBar_SetToolSeparation, 1010). +-define(wxToolBar_ToggleTool, 1011). +-define(wxStatusBar_new_0, 1013). +-define(wxStatusBar_new_2, 1014). +-define(wxStatusBar_destruct, 1016). +-define(wxStatusBar_Create, 1017). +-define(wxStatusBar_GetFieldRect, 1018). +-define(wxStatusBar_GetFieldsCount, 1019). +-define(wxStatusBar_GetStatusText, 1020). +-define(wxStatusBar_PopStatusText, 1021). +-define(wxStatusBar_PushStatusText, 1022). +-define(wxStatusBar_SetFieldsCount, 1023). +-define(wxStatusBar_SetMinHeight, 1024). +-define(wxStatusBar_SetStatusText, 1025). +-define(wxStatusBar_SetStatusWidths, 1026). +-define(wxStatusBar_SetStatusStyles, 1027). +-define(wxBitmap_new_0, 1028). +-define(wxBitmap_new_3, 1029). +-define(wxBitmap_new_4, 1030). +-define(wxBitmap_new_2_0, 1031). +-define(wxBitmap_new_2_1, 1032). +-define(wxBitmap_destruct, 1033). +-define(wxBitmap_ConvertToImage, 1034). +-define(wxBitmap_CopyFromIcon, 1035). +-define(wxBitmap_Create, 1036). +-define(wxBitmap_GetDepth, 1037). +-define(wxBitmap_GetHeight, 1038). +-define(wxBitmap_GetPalette, 1039). +-define(wxBitmap_GetMask, 1040). +-define(wxBitmap_GetWidth, 1041). +-define(wxBitmap_GetSubBitmap, 1042). +-define(wxBitmap_LoadFile, 1043). +-define(wxBitmap_Ok, 1044). +-define(wxBitmap_SaveFile, 1045). +-define(wxBitmap_SetDepth, 1046). +-define(wxBitmap_SetHeight, 1047). +-define(wxBitmap_SetMask, 1048). +-define(wxBitmap_SetPalette, 1049). +-define(wxBitmap_SetWidth, 1050). +-define(wxIcon_new_0, 1051). +-define(wxIcon_new_2, 1052). +-define(wxIcon_new_1, 1053). +-define(wxIcon_CopyFromBitmap, 1054). +-define(wxIcon_destroy, 1055). +-define(wxIconBundle_new_0, 1056). +-define(wxIconBundle_new_2, 1057). +-define(wxIconBundle_new_1_0, 1058). +-define(wxIconBundle_new_1_1, 1059). +-define(wxIconBundle_destruct, 1060). +-define(wxIconBundle_AddIcon_2, 1061). +-define(wxIconBundle_AddIcon_1, 1062). +-define(wxIconBundle_GetIcon_1_1, 1063). +-define(wxIconBundle_GetIcon_1_0, 1064). +-define(wxCursor_new_0, 1065). +-define(wxCursor_new_1_0, 1066). +-define(wxCursor_new_1_1, 1067). +-define(wxCursor_new_4, 1068). +-define(wxCursor_destruct, 1069). +-define(wxCursor_Ok, 1070). +-define(wxMask_new_0, 1071). +-define(wxMask_new_2_1, 1072). +-define(wxMask_new_2_0, 1073). +-define(wxMask_new_1, 1074). +-define(wxMask_destruct, 1075). +-define(wxMask_Create_2_1, 1076). +-define(wxMask_Create_2_0, 1077). +-define(wxMask_Create_1, 1078). +-define(wxImage_new_0, 1079). +-define(wxImage_new_3_0, 1080). +-define(wxImage_new_4, 1081). +-define(wxImage_new_5, 1082). +-define(wxImage_new_2, 1083). +-define(wxImage_new_3_1, 1084). +-define(wxImage_Blur, 1085). +-define(wxImage_BlurHorizontal, 1086). +-define(wxImage_BlurVertical, 1087). +-define(wxImage_ConvertAlphaToMask, 1088). +-define(wxImage_ConvertToGreyscale, 1089). +-define(wxImage_ConvertToMono, 1090). +-define(wxImage_Copy, 1091). +-define(wxImage_Create_3, 1092). +-define(wxImage_Create_4, 1093). +-define(wxImage_Create_5, 1094). +-define(wxImage_Destroy, 1095). +-define(wxImage_FindFirstUnusedColour, 1096). +-define(wxImage_GetImageExtWildcard, 1097). +-define(wxImage_GetAlpha_2, 1098). +-define(wxImage_GetAlpha_0, 1099). +-define(wxImage_GetBlue, 1100). +-define(wxImage_GetData, 1101). +-define(wxImage_GetGreen, 1102). +-define(wxImage_GetImageCount, 1103). +-define(wxImage_GetHeight, 1104). +-define(wxImage_GetMaskBlue, 1105). +-define(wxImage_GetMaskGreen, 1106). +-define(wxImage_GetMaskRed, 1107). +-define(wxImage_GetOrFindMaskColour, 1108). +-define(wxImage_GetPalette, 1109). +-define(wxImage_GetRed, 1110). +-define(wxImage_GetSubImage, 1111). +-define(wxImage_GetWidth, 1112). +-define(wxImage_HasAlpha, 1113). +-define(wxImage_HasMask, 1114). +-define(wxImage_GetOption, 1115). +-define(wxImage_GetOptionInt, 1116). +-define(wxImage_HasOption, 1117). +-define(wxImage_InitAlpha, 1118). +-define(wxImage_InitStandardHandlers, 1119). +-define(wxImage_IsTransparent, 1120). +-define(wxImage_LoadFile_2, 1121). +-define(wxImage_LoadFile_3, 1122). +-define(wxImage_Ok, 1123). +-define(wxImage_RemoveHandler, 1124). +-define(wxImage_Mirror, 1125). +-define(wxImage_Replace, 1126). +-define(wxImage_Rescale, 1127). +-define(wxImage_Resize, 1128). +-define(wxImage_Rotate, 1129). +-define(wxImage_RotateHue, 1130). +-define(wxImage_Rotate90, 1131). +-define(wxImage_SaveFile_1, 1132). +-define(wxImage_SaveFile_2_0, 1133). +-define(wxImage_SaveFile_2_1, 1134). +-define(wxImage_Scale, 1135). +-define(wxImage_Size, 1136). +-define(wxImage_SetAlpha_3, 1137). +-define(wxImage_SetAlpha_2, 1138). +-define(wxImage_SetData_2, 1139). +-define(wxImage_SetData_4, 1140). +-define(wxImage_SetMask, 1141). +-define(wxImage_SetMaskColour, 1142). +-define(wxImage_SetMaskFromImage, 1143). +-define(wxImage_SetOption_2_1, 1144). +-define(wxImage_SetOption_2_0, 1145). +-define(wxImage_SetPalette, 1146). +-define(wxImage_SetRGB_5, 1147). +-define(wxImage_SetRGB_4, 1148). +-define(wxImage_destroy, 1149). +-define(wxBrush_new_0, 1150). +-define(wxBrush_new_2, 1151). +-define(wxBrush_new_1, 1152). +-define(wxBrush_destruct, 1154). +-define(wxBrush_GetColour, 1155). +-define(wxBrush_GetStipple, 1156). +-define(wxBrush_GetStyle, 1157). +-define(wxBrush_IsHatch, 1158). +-define(wxBrush_IsOk, 1159). +-define(wxBrush_SetColour_1, 1160). +-define(wxBrush_SetColour_3, 1161). +-define(wxBrush_SetStipple, 1162). +-define(wxBrush_SetStyle, 1163). +-define(wxPen_new_0, 1164). +-define(wxPen_new_2, 1165). +-define(wxPen_destruct, 1166). +-define(wxPen_GetCap, 1167). +-define(wxPen_GetColour, 1168). +-define(wxPen_GetJoin, 1169). +-define(wxPen_GetStyle, 1170). +-define(wxPen_GetWidth, 1171). +-define(wxPen_IsOk, 1172). +-define(wxPen_SetCap, 1173). +-define(wxPen_SetColour_1, 1174). +-define(wxPen_SetColour_3, 1175). +-define(wxPen_SetJoin, 1176). +-define(wxPen_SetStyle, 1177). +-define(wxPen_SetWidth, 1178). +-define(wxRegion_new_0, 1179). +-define(wxRegion_new_4, 1180). +-define(wxRegion_new_2, 1181). +-define(wxRegion_new_1_1, 1182). +-define(wxRegion_new_1_0, 1184). +-define(wxRegion_destruct, 1186). +-define(wxRegion_Clear, 1187). +-define(wxRegion_Contains_2, 1188). +-define(wxRegion_Contains_1_0, 1189). +-define(wxRegion_Contains_4, 1190). +-define(wxRegion_Contains_1_1, 1191). +-define(wxRegion_ConvertToBitmap, 1192). +-define(wxRegion_GetBox, 1193). +-define(wxRegion_Intersect_4, 1194). +-define(wxRegion_Intersect_1_1, 1195). +-define(wxRegion_Intersect_1_0, 1196). +-define(wxRegion_IsEmpty, 1197). +-define(wxRegion_Subtract_4, 1198). +-define(wxRegion_Subtract_1_1, 1199). +-define(wxRegion_Subtract_1_0, 1200). +-define(wxRegion_Offset_2, 1201). +-define(wxRegion_Offset_1, 1202). +-define(wxRegion_Union_4, 1203). +-define(wxRegion_Union_1_2, 1204). +-define(wxRegion_Union_1_1, 1205). +-define(wxRegion_Union_1_0, 1206). +-define(wxRegion_Union_3, 1207). +-define(wxRegion_Xor_4, 1208). +-define(wxRegion_Xor_1_1, 1209). +-define(wxRegion_Xor_1_0, 1210). +-define(wxAcceleratorTable_new_0, 1211). +-define(wxAcceleratorTable_new_2, 1212). +-define(wxAcceleratorTable_destruct, 1213). +-define(wxAcceleratorTable_Ok, 1214). +-define(wxAcceleratorEntry_new_1_0, 1215). +-define(wxAcceleratorEntry_new_1_1, 1216). +-define(wxAcceleratorEntry_GetCommand, 1217). +-define(wxAcceleratorEntry_GetFlags, 1218). +-define(wxAcceleratorEntry_GetKeyCode, 1219). +-define(wxAcceleratorEntry_Set, 1220). +-define(wxAcceleratorEntry_destroy, 1221). +-define(wxCaret_new_3, 1226). +-define(wxCaret_new_2, 1227). +-define(wxCaret_destruct, 1229). +-define(wxCaret_Create_3, 1230). +-define(wxCaret_Create_2, 1231). +-define(wxCaret_GetBlinkTime, 1232). +-define(wxCaret_GetPosition, 1234). +-define(wxCaret_GetSize, 1236). +-define(wxCaret_GetWindow, 1237). +-define(wxCaret_Hide, 1238). +-define(wxCaret_IsOk, 1239). +-define(wxCaret_IsVisible, 1240). +-define(wxCaret_Move_2, 1241). +-define(wxCaret_Move_1, 1242). +-define(wxCaret_SetBlinkTime, 1243). +-define(wxCaret_SetSize_2, 1244). +-define(wxCaret_SetSize_1, 1245). +-define(wxCaret_Show, 1246). +-define(wxSizer_Add_2_1, 1247). +-define(wxSizer_Add_2_0, 1248). +-define(wxSizer_Add_3, 1249). +-define(wxSizer_Add_2_3, 1250). +-define(wxSizer_Add_2_2, 1251). +-define(wxSizer_AddSpacer, 1252). +-define(wxSizer_AddStretchSpacer, 1253). +-define(wxSizer_CalcMin, 1254). +-define(wxSizer_Clear, 1255). +-define(wxSizer_Detach_1_2, 1256). +-define(wxSizer_Detach_1_1, 1257). +-define(wxSizer_Detach_1_0, 1258). +-define(wxSizer_Fit, 1259). +-define(wxSizer_FitInside, 1260). +-define(wxSizer_GetChildren, 1261). +-define(wxSizer_GetItem_2_1, 1262). +-define(wxSizer_GetItem_2_0, 1263). +-define(wxSizer_GetItem_1, 1264). +-define(wxSizer_GetSize, 1265). +-define(wxSizer_GetPosition, 1266). +-define(wxSizer_GetMinSize, 1267). +-define(wxSizer_Hide_2_0, 1268). +-define(wxSizer_Hide_2_1, 1269). +-define(wxSizer_Hide_1, 1270). +-define(wxSizer_Insert_3_1, 1271). +-define(wxSizer_Insert_3_0, 1272). +-define(wxSizer_Insert_4, 1273). +-define(wxSizer_Insert_3_3, 1274). +-define(wxSizer_Insert_3_2, 1275). +-define(wxSizer_Insert_2, 1276). +-define(wxSizer_InsertSpacer, 1277). +-define(wxSizer_InsertStretchSpacer, 1278). +-define(wxSizer_IsShown_1_2, 1279). +-define(wxSizer_IsShown_1_1, 1280). +-define(wxSizer_IsShown_1_0, 1281). +-define(wxSizer_Layout, 1282). +-define(wxSizer_Prepend_2_1, 1283). +-define(wxSizer_Prepend_2_0, 1284). +-define(wxSizer_Prepend_3, 1285). +-define(wxSizer_Prepend_2_3, 1286). +-define(wxSizer_Prepend_2_2, 1287). +-define(wxSizer_Prepend_1, 1288). +-define(wxSizer_PrependSpacer, 1289). +-define(wxSizer_PrependStretchSpacer, 1290). +-define(wxSizer_RecalcSizes, 1291). +-define(wxSizer_Remove_1_1, 1292). +-define(wxSizer_Remove_1_0, 1293). +-define(wxSizer_Replace_3_1, 1294). +-define(wxSizer_Replace_3_0, 1295). +-define(wxSizer_Replace_2, 1296). +-define(wxSizer_SetDimension, 1297). +-define(wxSizer_SetMinSize_2, 1298). +-define(wxSizer_SetMinSize_1, 1299). +-define(wxSizer_SetItemMinSize_3_2, 1300). +-define(wxSizer_SetItemMinSize_2_2, 1301). +-define(wxSizer_SetItemMinSize_3_1, 1302). +-define(wxSizer_SetItemMinSize_2_1, 1303). +-define(wxSizer_SetItemMinSize_3_0, 1304). +-define(wxSizer_SetItemMinSize_2_0, 1305). +-define(wxSizer_SetSizeHints, 1306). +-define(wxSizer_SetVirtualSizeHints, 1307). +-define(wxSizer_Show_2_2, 1308). +-define(wxSizer_Show_2_1, 1309). +-define(wxSizer_Show_2_0, 1310). +-define(wxSizer_Show_1, 1311). +-define(wxSizerFlags_new, 1312). +-define(wxSizerFlags_Align, 1313). +-define(wxSizerFlags_Border_2, 1314). +-define(wxSizerFlags_Border_1, 1315). +-define(wxSizerFlags_Center, 1316). +-define(wxSizerFlags_Centre, 1317). +-define(wxSizerFlags_Expand, 1318). +-define(wxSizerFlags_Left, 1319). +-define(wxSizerFlags_Proportion, 1320). +-define(wxSizerFlags_Right, 1321). +-define(wxSizerFlags_destroy, 1322). +-define(wxSizerItem_new_5_1, 1323). +-define(wxSizerItem_new_2_1, 1324). +-define(wxSizerItem_new_5_0, 1325). +-define(wxSizerItem_new_2_0, 1326). +-define(wxSizerItem_new_6, 1327). +-define(wxSizerItem_new_3, 1328). +-define(wxSizerItem_new_0, 1329). +-define(wxSizerItem_destruct, 1330). +-define(wxSizerItem_CalcMin, 1331). +-define(wxSizerItem_DeleteWindows, 1332). +-define(wxSizerItem_DetachSizer, 1333). +-define(wxSizerItem_GetBorder, 1334). +-define(wxSizerItem_GetFlag, 1335). +-define(wxSizerItem_GetMinSize, 1336). +-define(wxSizerItem_GetPosition, 1337). +-define(wxSizerItem_GetProportion, 1338). +-define(wxSizerItem_GetRatio, 1339). +-define(wxSizerItem_GetRect, 1340). +-define(wxSizerItem_GetSize, 1341). +-define(wxSizerItem_GetSizer, 1342). +-define(wxSizerItem_GetSpacer, 1343). +-define(wxSizerItem_GetUserData, 1344). +-define(wxSizerItem_GetWindow, 1345). +-define(wxSizerItem_IsSizer, 1346). +-define(wxSizerItem_IsShown, 1347). +-define(wxSizerItem_IsSpacer, 1348). +-define(wxSizerItem_IsWindow, 1349). +-define(wxSizerItem_SetBorder, 1350). +-define(wxSizerItem_SetDimension, 1351). +-define(wxSizerItem_SetFlag, 1352). +-define(wxSizerItem_SetInitSize, 1353). +-define(wxSizerItem_SetMinSize_1, 1354). +-define(wxSizerItem_SetMinSize_2, 1355). +-define(wxSizerItem_SetProportion, 1356). +-define(wxSizerItem_SetRatio_2, 1357). +-define(wxSizerItem_SetRatio_1_1, 1358). +-define(wxSizerItem_SetRatio_1_0, 1359). +-define(wxSizerItem_SetSizer, 1360). +-define(wxSizerItem_SetSpacer_1, 1361). +-define(wxSizerItem_SetSpacer_2, 1362). +-define(wxSizerItem_SetWindow, 1363). +-define(wxSizerItem_Show, 1364). +-define(wxBoxSizer_new, 1365). +-define(wxBoxSizer_GetOrientation, 1366). +-define(wxBoxSizer_destroy, 1367). +-define(wxStaticBoxSizer_new_2, 1368). +-define(wxStaticBoxSizer_new_3, 1369). +-define(wxStaticBoxSizer_GetStaticBox, 1370). +-define(wxStaticBoxSizer_destroy, 1371). +-define(wxGridSizer_new_4, 1372). +-define(wxGridSizer_new_2, 1373). +-define(wxGridSizer_GetCols, 1374). +-define(wxGridSizer_GetHGap, 1375). +-define(wxGridSizer_GetRows, 1376). +-define(wxGridSizer_GetVGap, 1377). +-define(wxGridSizer_SetCols, 1378). +-define(wxGridSizer_SetHGap, 1379). +-define(wxGridSizer_SetRows, 1380). +-define(wxGridSizer_SetVGap, 1381). +-define(wxGridSizer_destroy, 1382). +-define(wxFlexGridSizer_new_4, 1383). +-define(wxFlexGridSizer_new_2, 1384). +-define(wxFlexGridSizer_AddGrowableCol, 1385). +-define(wxFlexGridSizer_AddGrowableRow, 1386). +-define(wxFlexGridSizer_GetFlexibleDirection, 1387). +-define(wxFlexGridSizer_GetNonFlexibleGrowMode, 1388). +-define(wxFlexGridSizer_RemoveGrowableCol, 1389). +-define(wxFlexGridSizer_RemoveGrowableRow, 1390). +-define(wxFlexGridSizer_SetFlexibleDirection, 1391). +-define(wxFlexGridSizer_SetNonFlexibleGrowMode, 1392). +-define(wxFlexGridSizer_destroy, 1393). +-define(wxGridBagSizer_new, 1394). +-define(wxGridBagSizer_Add_3_2, 1395). +-define(wxGridBagSizer_Add_3_1, 1396). +-define(wxGridBagSizer_Add_4, 1397). +-define(wxGridBagSizer_Add_1_0, 1398). +-define(wxGridBagSizer_Add_2_1, 1399). +-define(wxGridBagSizer_Add_2_0, 1400). +-define(wxGridBagSizer_Add_3_0, 1401). +-define(wxGridBagSizer_Add_1_1, 1402). +-define(wxGridBagSizer_CalcMin, 1403). +-define(wxGridBagSizer_CheckForIntersection_2, 1404). +-define(wxGridBagSizer_CheckForIntersection_3, 1405). +-define(wxGridBagSizer_FindItem_1_1, 1406). +-define(wxGridBagSizer_FindItem_1_0, 1407). +-define(wxGridBagSizer_FindItemAtPoint, 1408). +-define(wxGridBagSizer_FindItemAtPosition, 1409). +-define(wxGridBagSizer_FindItemWithData, 1410). +-define(wxGridBagSizer_GetCellSize, 1411). +-define(wxGridBagSizer_GetEmptyCellSize, 1412). +-define(wxGridBagSizer_GetItemPosition_1_2, 1413). +-define(wxGridBagSizer_GetItemPosition_1_1, 1414). +-define(wxGridBagSizer_GetItemPosition_1_0, 1415). +-define(wxGridBagSizer_GetItemSpan_1_2, 1416). +-define(wxGridBagSizer_GetItemSpan_1_1, 1417). +-define(wxGridBagSizer_GetItemSpan_1_0, 1418). +-define(wxGridBagSizer_SetEmptyCellSize, 1419). +-define(wxGridBagSizer_SetItemPosition_2_2, 1420). +-define(wxGridBagSizer_SetItemPosition_2_1, 1421). +-define(wxGridBagSizer_SetItemPosition_2_0, 1422). +-define(wxGridBagSizer_SetItemSpan_2_2, 1423). +-define(wxGridBagSizer_SetItemSpan_2_1, 1424). +-define(wxGridBagSizer_SetItemSpan_2_0, 1425). +-define(wxGridBagSizer_destroy, 1426). +-define(wxStdDialogButtonSizer_new, 1427). +-define(wxStdDialogButtonSizer_AddButton, 1428). +-define(wxStdDialogButtonSizer_Realize, 1429). +-define(wxStdDialogButtonSizer_SetAffirmativeButton, 1430). +-define(wxStdDialogButtonSizer_SetCancelButton, 1431). +-define(wxStdDialogButtonSizer_SetNegativeButton, 1432). +-define(wxStdDialogButtonSizer_destroy, 1433). +-define(wxFont_new_0, 1434). +-define(wxFont_new_1, 1435). +-define(wxFont_new_5, 1436). +-define(wxFont_destruct, 1438). +-define(wxFont_IsFixedWidth, 1439). +-define(wxFont_GetDefaultEncoding, 1440). +-define(wxFont_GetFaceName, 1441). +-define(wxFont_GetFamily, 1442). +-define(wxFont_GetNativeFontInfoDesc, 1443). +-define(wxFont_GetNativeFontInfoUserDesc, 1444). +-define(wxFont_GetPointSize, 1445). +-define(wxFont_GetStyle, 1446). +-define(wxFont_GetUnderlined, 1447). +-define(wxFont_GetWeight, 1448). +-define(wxFont_Ok, 1449). +-define(wxFont_SetDefaultEncoding, 1450). +-define(wxFont_SetFaceName, 1451). +-define(wxFont_SetFamily, 1452). +-define(wxFont_SetPointSize, 1453). +-define(wxFont_SetStyle, 1454). +-define(wxFont_SetUnderlined, 1455). +-define(wxFont_SetWeight, 1456). +-define(wxToolTip_Enable, 1457). +-define(wxToolTip_SetDelay, 1458). +-define(wxToolTip_new, 1459). +-define(wxToolTip_SetTip, 1460). +-define(wxToolTip_GetTip, 1461). +-define(wxToolTip_GetWindow, 1462). +-define(wxToolTip_destroy, 1463). +-define(wxButton_new_3, 1465). +-define(wxButton_new_0, 1466). +-define(wxButton_destruct, 1467). +-define(wxButton_Create, 1468). +-define(wxButton_GetDefaultSize, 1469). +-define(wxButton_SetDefault, 1470). +-define(wxButton_SetLabel, 1471). +-define(wxBitmapButton_new_4, 1473). +-define(wxBitmapButton_new_0, 1474). +-define(wxBitmapButton_Create, 1475). +-define(wxBitmapButton_GetBitmapDisabled, 1476). +-define(wxBitmapButton_GetBitmapFocus, 1478). +-define(wxBitmapButton_GetBitmapLabel, 1480). +-define(wxBitmapButton_GetBitmapSelected, 1482). +-define(wxBitmapButton_SetBitmapDisabled, 1484). +-define(wxBitmapButton_SetBitmapFocus, 1485). +-define(wxBitmapButton_SetBitmapLabel, 1486). +-define(wxBitmapButton_SetBitmapSelected, 1487). +-define(wxBitmapButton_destroy, 1488). +-define(wxToggleButton_new_0, 1489). +-define(wxToggleButton_new_4, 1490). +-define(wxToggleButton_Create, 1491). +-define(wxToggleButton_GetValue, 1492). +-define(wxToggleButton_SetValue, 1493). +-define(wxToggleButton_destroy, 1494). +-define(wxCalendarCtrl_new_0, 1495). +-define(wxCalendarCtrl_new_3, 1496). +-define(wxCalendarCtrl_Create, 1497). +-define(wxCalendarCtrl_destruct, 1498). +-define(wxCalendarCtrl_SetDate, 1499). +-define(wxCalendarCtrl_GetDate, 1500). +-define(wxCalendarCtrl_EnableYearChange, 1501). +-define(wxCalendarCtrl_EnableMonthChange, 1502). +-define(wxCalendarCtrl_EnableHolidayDisplay, 1503). +-define(wxCalendarCtrl_SetHeaderColours, 1504). +-define(wxCalendarCtrl_GetHeaderColourFg, 1505). +-define(wxCalendarCtrl_GetHeaderColourBg, 1506). +-define(wxCalendarCtrl_SetHighlightColours, 1507). +-define(wxCalendarCtrl_GetHighlightColourFg, 1508). +-define(wxCalendarCtrl_GetHighlightColourBg, 1509). +-define(wxCalendarCtrl_SetHolidayColours, 1510). +-define(wxCalendarCtrl_GetHolidayColourFg, 1511). +-define(wxCalendarCtrl_GetHolidayColourBg, 1512). +-define(wxCalendarCtrl_GetAttr, 1513). +-define(wxCalendarCtrl_SetAttr, 1514). +-define(wxCalendarCtrl_SetHoliday, 1515). +-define(wxCalendarCtrl_ResetAttr, 1516). +-define(wxCalendarCtrl_HitTest, 1517). +-define(wxCalendarDateAttr_new_0, 1518). +-define(wxCalendarDateAttr_new_2_1, 1519). +-define(wxCalendarDateAttr_new_2_0, 1520). +-define(wxCalendarDateAttr_SetTextColour, 1521). +-define(wxCalendarDateAttr_SetBackgroundColour, 1522). +-define(wxCalendarDateAttr_SetBorderColour, 1523). +-define(wxCalendarDateAttr_SetFont, 1524). +-define(wxCalendarDateAttr_SetBorder, 1525). +-define(wxCalendarDateAttr_SetHoliday, 1526). +-define(wxCalendarDateAttr_HasTextColour, 1527). +-define(wxCalendarDateAttr_HasBackgroundColour, 1528). +-define(wxCalendarDateAttr_HasBorderColour, 1529). +-define(wxCalendarDateAttr_HasFont, 1530). +-define(wxCalendarDateAttr_HasBorder, 1531). +-define(wxCalendarDateAttr_IsHoliday, 1532). +-define(wxCalendarDateAttr_GetTextColour, 1533). +-define(wxCalendarDateAttr_GetBackgroundColour, 1534). +-define(wxCalendarDateAttr_GetBorderColour, 1535). +-define(wxCalendarDateAttr_GetFont, 1536). +-define(wxCalendarDateAttr_GetBorder, 1537). +-define(wxCalendarDateAttr_destroy, 1538). +-define(wxCheckBox_new_4, 1540). +-define(wxCheckBox_new_0, 1541). +-define(wxCheckBox_Create, 1542). +-define(wxCheckBox_GetValue, 1543). +-define(wxCheckBox_Get3StateValue, 1544). +-define(wxCheckBox_Is3rdStateAllowedForUser, 1545). +-define(wxCheckBox_Is3State, 1546). +-define(wxCheckBox_IsChecked, 1547). +-define(wxCheckBox_SetValue, 1548). +-define(wxCheckBox_Set3StateValue, 1549). +-define(wxCheckBox_destroy, 1550). +-define(wxCheckListBox_new_0, 1551). +-define(wxCheckListBox_new_3, 1553). +-define(wxCheckListBox_Check, 1554). +-define(wxCheckListBox_IsChecked, 1555). +-define(wxCheckListBox_destroy, 1556). +-define(wxChoice_new_3, 1559). +-define(wxChoice_new_0, 1560). +-define(wxChoice_destruct, 1562). +-define(wxChoice_Create, 1564). +-define(wxChoice_Delete, 1565). +-define(wxChoice_GetColumns, 1566). +-define(wxChoice_SetColumns, 1567). +-define(wxComboBox_new_0, 1568). +-define(wxComboBox_new_3, 1570). +-define(wxComboBox_destruct, 1571). +-define(wxComboBox_Create, 1573). +-define(wxComboBox_CanCopy, 1574). +-define(wxComboBox_CanCut, 1575). +-define(wxComboBox_CanPaste, 1576). +-define(wxComboBox_CanRedo, 1577). +-define(wxComboBox_CanUndo, 1578). +-define(wxComboBox_Copy, 1579). +-define(wxComboBox_Cut, 1580). +-define(wxComboBox_GetInsertionPoint, 1581). +-define(wxComboBox_GetLastPosition, 1582). +-define(wxComboBox_GetValue, 1583). +-define(wxComboBox_Paste, 1584). +-define(wxComboBox_Redo, 1585). +-define(wxComboBox_Replace, 1586). +-define(wxComboBox_Remove, 1587). +-define(wxComboBox_SetInsertionPoint, 1588). +-define(wxComboBox_SetInsertionPointEnd, 1589). +-define(wxComboBox_SetSelection_1, 1590). +-define(wxComboBox_SetSelection_2, 1591). +-define(wxComboBox_SetValue, 1592). +-define(wxComboBox_Undo, 1593). +-define(wxGauge_new_0, 1594). +-define(wxGauge_new_4, 1595). +-define(wxGauge_Create, 1596). +-define(wxGauge_GetBezelFace, 1597). +-define(wxGauge_GetRange, 1598). +-define(wxGauge_GetShadowWidth, 1599). +-define(wxGauge_GetValue, 1600). +-define(wxGauge_IsVertical, 1601). +-define(wxGauge_SetBezelFace, 1602). +-define(wxGauge_SetRange, 1603). +-define(wxGauge_SetShadowWidth, 1604). +-define(wxGauge_SetValue, 1605). +-define(wxGauge_Pulse, 1606). +-define(wxGauge_destroy, 1607). +-define(wxGenericDirCtrl_new_0, 1608). +-define(wxGenericDirCtrl_new_2, 1609). +-define(wxGenericDirCtrl_destruct, 1610). +-define(wxGenericDirCtrl_Create, 1611). +-define(wxGenericDirCtrl_Init, 1612). +-define(wxGenericDirCtrl_CollapseTree, 1613). +-define(wxGenericDirCtrl_ExpandPath, 1614). +-define(wxGenericDirCtrl_GetDefaultPath, 1615). +-define(wxGenericDirCtrl_GetPath, 1616). +-define(wxGenericDirCtrl_GetFilePath, 1617). +-define(wxGenericDirCtrl_GetFilter, 1618). +-define(wxGenericDirCtrl_GetFilterIndex, 1619). +-define(wxGenericDirCtrl_GetRootId, 1620). +-define(wxGenericDirCtrl_GetTreeCtrl, 1621). +-define(wxGenericDirCtrl_ReCreateTree, 1622). +-define(wxGenericDirCtrl_SetDefaultPath, 1623). +-define(wxGenericDirCtrl_SetFilter, 1624). +-define(wxGenericDirCtrl_SetFilterIndex, 1625). +-define(wxGenericDirCtrl_SetPath, 1626). +-define(wxStaticBox_new_4, 1628). +-define(wxStaticBox_new_0, 1629). +-define(wxStaticBox_Create, 1630). +-define(wxStaticBox_destroy, 1631). +-define(wxStaticLine_new_2, 1633). +-define(wxStaticLine_new_0, 1634). +-define(wxStaticLine_Create, 1635). +-define(wxStaticLine_IsVertical, 1636). +-define(wxStaticLine_GetDefaultSize, 1637). +-define(wxStaticLine_destroy, 1638). +-define(wxListBox_new_3, 1641). +-define(wxListBox_new_0, 1642). +-define(wxListBox_destruct, 1644). +-define(wxListBox_Create, 1646). +-define(wxListBox_Deselect, 1647). +-define(wxListBox_GetSelections, 1648). +-define(wxListBox_InsertItems, 1649). +-define(wxListBox_IsSelected, 1650). +-define(wxListBox_Set, 1652). +-define(wxListBox_HitTest, 1653). +-define(wxListBox_SetFirstItem_1_0, 1654). +-define(wxListBox_SetFirstItem_1_1, 1655). +-define(wxListCtrl_new_0, 1656). +-define(wxListCtrl_new_2, 1657). +-define(wxListCtrl_Arrange, 1658). +-define(wxListCtrl_AssignImageList, 1659). +-define(wxListCtrl_ClearAll, 1660). +-define(wxListCtrl_Create, 1661). +-define(wxListCtrl_DeleteAllItems, 1662). +-define(wxListCtrl_DeleteColumn, 1663). +-define(wxListCtrl_DeleteItem, 1664). +-define(wxListCtrl_EditLabel, 1665). +-define(wxListCtrl_EnsureVisible, 1666). +-define(wxListCtrl_FindItem_3_0, 1667). +-define(wxListCtrl_FindItem_3_1, 1668). +-define(wxListCtrl_GetColumn, 1669). +-define(wxListCtrl_GetColumnCount, 1670). +-define(wxListCtrl_GetColumnWidth, 1671). +-define(wxListCtrl_GetCountPerPage, 1672). +-define(wxListCtrl_GetEditControl, 1673). +-define(wxListCtrl_GetImageList, 1674). +-define(wxListCtrl_GetItem, 1675). +-define(wxListCtrl_GetItemBackgroundColour, 1676). +-define(wxListCtrl_GetItemCount, 1677). +-define(wxListCtrl_GetItemData, 1678). +-define(wxListCtrl_GetItemFont, 1679). +-define(wxListCtrl_GetItemPosition, 1680). +-define(wxListCtrl_GetItemRect, 1681). +-define(wxListCtrl_GetItemSpacing, 1682). +-define(wxListCtrl_GetItemState, 1683). +-define(wxListCtrl_GetItemText, 1684). +-define(wxListCtrl_GetItemTextColour, 1685). +-define(wxListCtrl_GetNextItem, 1686). +-define(wxListCtrl_GetSelectedItemCount, 1687). +-define(wxListCtrl_GetTextColour, 1688). +-define(wxListCtrl_GetTopItem, 1689). +-define(wxListCtrl_GetViewRect, 1690). +-define(wxListCtrl_HitTest, 1691). +-define(wxListCtrl_InsertColumn_2, 1692). +-define(wxListCtrl_InsertColumn_3, 1693). +-define(wxListCtrl_InsertItem_1, 1694). +-define(wxListCtrl_InsertItem_2_1, 1695). +-define(wxListCtrl_InsertItem_2_0, 1696). +-define(wxListCtrl_InsertItem_3, 1697). +-define(wxListCtrl_RefreshItem, 1698). +-define(wxListCtrl_RefreshItems, 1699). +-define(wxListCtrl_ScrollList, 1700). +-define(wxListCtrl_SetBackgroundColour, 1701). +-define(wxListCtrl_SetColumn, 1702). +-define(wxListCtrl_SetColumnWidth, 1703). +-define(wxListCtrl_SetImageList, 1704). +-define(wxListCtrl_SetItem_1, 1705). +-define(wxListCtrl_SetItem_4, 1706). +-define(wxListCtrl_SetItemBackgroundColour, 1707). +-define(wxListCtrl_SetItemCount, 1708). +-define(wxListCtrl_SetItemData, 1709). +-define(wxListCtrl_SetItemFont, 1710). +-define(wxListCtrl_SetItemImage, 1711). +-define(wxListCtrl_SetItemColumnImage, 1712). +-define(wxListCtrl_SetItemPosition, 1713). +-define(wxListCtrl_SetItemState, 1714). +-define(wxListCtrl_SetItemText, 1715). +-define(wxListCtrl_SetItemTextColour, 1716). +-define(wxListCtrl_SetSingleStyle, 1717). +-define(wxListCtrl_SetTextColour, 1718). +-define(wxListCtrl_SetWindowStyleFlag, 1719). +-define(wxListCtrl_SortItems, 1720). +-define(wxListCtrl_destroy, 1721). +-define(wxListView_ClearColumnImage, 1722). +-define(wxListView_Focus, 1723). +-define(wxListView_GetFirstSelected, 1724). +-define(wxListView_GetFocusedItem, 1725). +-define(wxListView_GetNextSelected, 1726). +-define(wxListView_IsSelected, 1727). +-define(wxListView_Select, 1728). +-define(wxListView_SetColumnImage, 1729). +-define(wxListItem_new_0, 1730). +-define(wxListItem_new_1, 1731). +-define(wxListItem_destruct, 1732). +-define(wxListItem_Clear, 1733). +-define(wxListItem_GetAlign, 1734). +-define(wxListItem_GetBackgroundColour, 1735). +-define(wxListItem_GetColumn, 1736). +-define(wxListItem_GetFont, 1737). +-define(wxListItem_GetId, 1738). +-define(wxListItem_GetImage, 1739). +-define(wxListItem_GetMask, 1740). +-define(wxListItem_GetState, 1741). +-define(wxListItem_GetText, 1742). +-define(wxListItem_GetTextColour, 1743). +-define(wxListItem_GetWidth, 1744). +-define(wxListItem_SetAlign, 1745). +-define(wxListItem_SetBackgroundColour, 1746). +-define(wxListItem_SetColumn, 1747). +-define(wxListItem_SetFont, 1748). +-define(wxListItem_SetId, 1749). +-define(wxListItem_SetImage, 1750). +-define(wxListItem_SetMask, 1751). +-define(wxListItem_SetState, 1752). +-define(wxListItem_SetStateMask, 1753). +-define(wxListItem_SetText, 1754). +-define(wxListItem_SetTextColour, 1755). +-define(wxListItem_SetWidth, 1756). +-define(wxListItemAttr_new_0, 1757). +-define(wxListItemAttr_new_3, 1758). +-define(wxListItemAttr_GetBackgroundColour, 1759). +-define(wxListItemAttr_GetFont, 1760). +-define(wxListItemAttr_GetTextColour, 1761). +-define(wxListItemAttr_HasBackgroundColour, 1762). +-define(wxListItemAttr_HasFont, 1763). +-define(wxListItemAttr_HasTextColour, 1764). +-define(wxListItemAttr_SetBackgroundColour, 1765). +-define(wxListItemAttr_SetFont, 1766). +-define(wxListItemAttr_SetTextColour, 1767). +-define(wxListItemAttr_destroy, 1768). +-define(wxImageList_new_0, 1769). +-define(wxImageList_new_3, 1770). +-define(wxImageList_Add_1, 1771). +-define(wxImageList_Add_2_0, 1772). +-define(wxImageList_Add_2_1, 1773). +-define(wxImageList_Create, 1774). +-define(wxImageList_Draw, 1776). +-define(wxImageList_GetBitmap, 1777). +-define(wxImageList_GetIcon, 1778). +-define(wxImageList_GetImageCount, 1779). +-define(wxImageList_GetSize, 1780). +-define(wxImageList_Remove, 1781). +-define(wxImageList_RemoveAll, 1782). +-define(wxImageList_Replace_2, 1783). +-define(wxImageList_Replace_3, 1784). +-define(wxImageList_destroy, 1785). +-define(wxTextAttr_new_0, 1786). +-define(wxTextAttr_new_2, 1787). +-define(wxTextAttr_GetAlignment, 1788). +-define(wxTextAttr_GetBackgroundColour, 1789). +-define(wxTextAttr_GetFont, 1790). +-define(wxTextAttr_GetLeftIndent, 1791). +-define(wxTextAttr_GetLeftSubIndent, 1792). +-define(wxTextAttr_GetRightIndent, 1793). +-define(wxTextAttr_GetTabs, 1794). +-define(wxTextAttr_GetTextColour, 1795). +-define(wxTextAttr_HasBackgroundColour, 1796). +-define(wxTextAttr_HasFont, 1797). +-define(wxTextAttr_HasTextColour, 1798). +-define(wxTextAttr_GetFlags, 1799). +-define(wxTextAttr_IsDefault, 1800). +-define(wxTextAttr_SetAlignment, 1801). +-define(wxTextAttr_SetBackgroundColour, 1802). +-define(wxTextAttr_SetFlags, 1803). +-define(wxTextAttr_SetFont, 1804). +-define(wxTextAttr_SetLeftIndent, 1805). +-define(wxTextAttr_SetRightIndent, 1806). +-define(wxTextAttr_SetTabs, 1807). +-define(wxTextAttr_SetTextColour, 1808). +-define(wxTextAttr_destroy, 1809). +-define(wxTextCtrl_new_3, 1811). +-define(wxTextCtrl_new_0, 1812). +-define(wxTextCtrl_destruct, 1814). +-define(wxTextCtrl_AppendText, 1815). +-define(wxTextCtrl_CanCopy, 1816). +-define(wxTextCtrl_CanCut, 1817). +-define(wxTextCtrl_CanPaste, 1818). +-define(wxTextCtrl_CanRedo, 1819). +-define(wxTextCtrl_CanUndo, 1820). +-define(wxTextCtrl_Clear, 1821). +-define(wxTextCtrl_Copy, 1822). +-define(wxTextCtrl_Create, 1823). +-define(wxTextCtrl_Cut, 1824). +-define(wxTextCtrl_DiscardEdits, 1825). +-define(wxTextCtrl_EmulateKeyPress, 1826). +-define(wxTextCtrl_GetDefaultStyle, 1827). +-define(wxTextCtrl_GetInsertionPoint, 1828). +-define(wxTextCtrl_GetLastPosition, 1829). +-define(wxTextCtrl_GetLineLength, 1830). +-define(wxTextCtrl_GetLineText, 1831). +-define(wxTextCtrl_GetNumberOfLines, 1832). +-define(wxTextCtrl_GetRange, 1833). +-define(wxTextCtrl_GetSelection, 1834). +-define(wxTextCtrl_GetStringSelection, 1835). +-define(wxTextCtrl_GetStyle, 1836). +-define(wxTextCtrl_GetValue, 1837). +-define(wxTextCtrl_IsEditable, 1838). +-define(wxTextCtrl_IsModified, 1839). +-define(wxTextCtrl_IsMultiLine, 1840). +-define(wxTextCtrl_IsSingleLine, 1841). +-define(wxTextCtrl_LoadFile, 1842). +-define(wxTextCtrl_MarkDirty, 1843). +-define(wxTextCtrl_Paste, 1844). +-define(wxTextCtrl_PositionToXY, 1845). +-define(wxTextCtrl_Redo, 1846). +-define(wxTextCtrl_Remove, 1847). +-define(wxTextCtrl_Replace, 1848). +-define(wxTextCtrl_SaveFile, 1849). +-define(wxTextCtrl_SetDefaultStyle, 1850). +-define(wxTextCtrl_SetEditable, 1851). +-define(wxTextCtrl_SetInsertionPoint, 1852). +-define(wxTextCtrl_SetInsertionPointEnd, 1853). +-define(wxTextCtrl_SetMaxLength, 1855). +-define(wxTextCtrl_SetSelection, 1856). +-define(wxTextCtrl_SetStyle, 1857). +-define(wxTextCtrl_SetValue, 1858). +-define(wxTextCtrl_ShowPosition, 1859). +-define(wxTextCtrl_Undo, 1860). +-define(wxTextCtrl_WriteText, 1861). +-define(wxTextCtrl_XYToPosition, 1862). +-define(wxNotebook_new_0, 1865). +-define(wxNotebook_new_3, 1866). +-define(wxNotebook_destruct, 1867). +-define(wxNotebook_AddPage, 1868). +-define(wxNotebook_AdvanceSelection, 1869). +-define(wxNotebook_AssignImageList, 1870). +-define(wxNotebook_Create, 1871). +-define(wxNotebook_DeleteAllPages, 1872). +-define(wxNotebook_DeletePage, 1873). +-define(wxNotebook_RemovePage, 1874). +-define(wxNotebook_GetCurrentPage, 1875). +-define(wxNotebook_GetImageList, 1876). +-define(wxNotebook_GetPage, 1878). +-define(wxNotebook_GetPageCount, 1879). +-define(wxNotebook_GetPageImage, 1880). +-define(wxNotebook_GetPageText, 1881). +-define(wxNotebook_GetRowCount, 1882). +-define(wxNotebook_GetSelection, 1883). +-define(wxNotebook_GetThemeBackgroundColour, 1884). +-define(wxNotebook_HitTest, 1886). +-define(wxNotebook_InsertPage, 1888). +-define(wxNotebook_SetImageList, 1889). +-define(wxNotebook_SetPadding, 1890). +-define(wxNotebook_SetPageSize, 1891). +-define(wxNotebook_SetPageImage, 1892). +-define(wxNotebook_SetPageText, 1893). +-define(wxNotebook_SetSelection, 1894). +-define(wxNotebook_ChangeSelection, 1895). +-define(wxChoicebook_new_0, 1896). +-define(wxChoicebook_new_3, 1897). +-define(wxChoicebook_AddPage, 1898). +-define(wxChoicebook_AdvanceSelection, 1899). +-define(wxChoicebook_AssignImageList, 1900). +-define(wxChoicebook_Create, 1901). +-define(wxChoicebook_DeleteAllPages, 1902). +-define(wxChoicebook_DeletePage, 1903). +-define(wxChoicebook_RemovePage, 1904). +-define(wxChoicebook_GetCurrentPage, 1905). +-define(wxChoicebook_GetImageList, 1906). +-define(wxChoicebook_GetPage, 1908). +-define(wxChoicebook_GetPageCount, 1909). +-define(wxChoicebook_GetPageImage, 1910). +-define(wxChoicebook_GetPageText, 1911). +-define(wxChoicebook_GetSelection, 1912). +-define(wxChoicebook_HitTest, 1913). +-define(wxChoicebook_InsertPage, 1914). +-define(wxChoicebook_SetImageList, 1915). +-define(wxChoicebook_SetPageSize, 1916). +-define(wxChoicebook_SetPageImage, 1917). +-define(wxChoicebook_SetPageText, 1918). +-define(wxChoicebook_SetSelection, 1919). +-define(wxChoicebook_ChangeSelection, 1920). +-define(wxChoicebook_destroy, 1921). +-define(wxToolbook_new_0, 1922). +-define(wxToolbook_new_3, 1923). +-define(wxToolbook_AddPage, 1924). +-define(wxToolbook_AdvanceSelection, 1925). +-define(wxToolbook_AssignImageList, 1926). +-define(wxToolbook_Create, 1927). +-define(wxToolbook_DeleteAllPages, 1928). +-define(wxToolbook_DeletePage, 1929). +-define(wxToolbook_RemovePage, 1930). +-define(wxToolbook_GetCurrentPage, 1931). +-define(wxToolbook_GetImageList, 1932). +-define(wxToolbook_GetPage, 1934). +-define(wxToolbook_GetPageCount, 1935). +-define(wxToolbook_GetPageImage, 1936). +-define(wxToolbook_GetPageText, 1937). +-define(wxToolbook_GetSelection, 1938). +-define(wxToolbook_HitTest, 1940). +-define(wxToolbook_InsertPage, 1941). +-define(wxToolbook_SetImageList, 1942). +-define(wxToolbook_SetPageSize, 1943). +-define(wxToolbook_SetPageImage, 1944). +-define(wxToolbook_SetPageText, 1945). +-define(wxToolbook_SetSelection, 1946). +-define(wxToolbook_ChangeSelection, 1947). +-define(wxToolbook_destroy, 1948). +-define(wxListbook_new_0, 1949). +-define(wxListbook_new_3, 1950). +-define(wxListbook_AddPage, 1951). +-define(wxListbook_AdvanceSelection, 1952). +-define(wxListbook_AssignImageList, 1953). +-define(wxListbook_Create, 1954). +-define(wxListbook_DeleteAllPages, 1955). +-define(wxListbook_DeletePage, 1956). +-define(wxListbook_RemovePage, 1957). +-define(wxListbook_GetCurrentPage, 1958). +-define(wxListbook_GetImageList, 1959). +-define(wxListbook_GetPage, 1961). +-define(wxListbook_GetPageCount, 1962). +-define(wxListbook_GetPageImage, 1963). +-define(wxListbook_GetPageText, 1964). +-define(wxListbook_GetSelection, 1965). +-define(wxListbook_HitTest, 1967). +-define(wxListbook_InsertPage, 1968). +-define(wxListbook_SetImageList, 1969). +-define(wxListbook_SetPageSize, 1970). +-define(wxListbook_SetPageImage, 1971). +-define(wxListbook_SetPageText, 1972). +-define(wxListbook_SetSelection, 1973). +-define(wxListbook_ChangeSelection, 1974). +-define(wxListbook_destroy, 1975). +-define(wxTreebook_new_0, 1976). +-define(wxTreebook_new_3, 1977). +-define(wxTreebook_AddPage, 1978). +-define(wxTreebook_AdvanceSelection, 1979). +-define(wxTreebook_AssignImageList, 1980). +-define(wxTreebook_Create, 1981). +-define(wxTreebook_DeleteAllPages, 1982). +-define(wxTreebook_DeletePage, 1983). +-define(wxTreebook_RemovePage, 1984). +-define(wxTreebook_GetCurrentPage, 1985). +-define(wxTreebook_GetImageList, 1986). +-define(wxTreebook_GetPage, 1988). +-define(wxTreebook_GetPageCount, 1989). +-define(wxTreebook_GetPageImage, 1990). +-define(wxTreebook_GetPageText, 1991). +-define(wxTreebook_GetSelection, 1992). +-define(wxTreebook_ExpandNode, 1993). +-define(wxTreebook_IsNodeExpanded, 1994). +-define(wxTreebook_HitTest, 1996). +-define(wxTreebook_InsertPage, 1997). +-define(wxTreebook_InsertSubPage, 1998). +-define(wxTreebook_SetImageList, 1999). +-define(wxTreebook_SetPageSize, 2000). +-define(wxTreebook_SetPageImage, 2001). +-define(wxTreebook_SetPageText, 2002). +-define(wxTreebook_SetSelection, 2003). +-define(wxTreebook_ChangeSelection, 2004). +-define(wxTreebook_destroy, 2005). +-define(wxTreeCtrl_new_2, 2008). +-define(wxTreeCtrl_new_0, 2009). +-define(wxTreeCtrl_destruct, 2011). +-define(wxTreeCtrl_AddRoot, 2012). +-define(wxTreeCtrl_AppendItem, 2013). +-define(wxTreeCtrl_AssignImageList, 2014). +-define(wxTreeCtrl_AssignStateImageList, 2015). +-define(wxTreeCtrl_Collapse, 2016). +-define(wxTreeCtrl_CollapseAndReset, 2017). +-define(wxTreeCtrl_Create, 2018). +-define(wxTreeCtrl_Delete, 2019). +-define(wxTreeCtrl_DeleteAllItems, 2020). +-define(wxTreeCtrl_DeleteChildren, 2021). +-define(wxTreeCtrl_EditLabel, 2022). +-define(wxTreeCtrl_EnsureVisible, 2023). +-define(wxTreeCtrl_Expand, 2024). +-define(wxTreeCtrl_GetBoundingRect, 2025). +-define(wxTreeCtrl_GetChildrenCount, 2027). +-define(wxTreeCtrl_GetCount, 2028). +-define(wxTreeCtrl_GetEditControl, 2029). +-define(wxTreeCtrl_GetFirstChild, 2030). +-define(wxTreeCtrl_GetNextChild, 2031). +-define(wxTreeCtrl_GetFirstVisibleItem, 2032). +-define(wxTreeCtrl_GetImageList, 2033). +-define(wxTreeCtrl_GetIndent, 2034). +-define(wxTreeCtrl_GetItemBackgroundColour, 2035). +-define(wxTreeCtrl_GetItemData, 2036). +-define(wxTreeCtrl_GetItemFont, 2037). +-define(wxTreeCtrl_GetItemImage_1, 2038). +-define(wxTreeCtrl_GetItemImage_2, 2039). +-define(wxTreeCtrl_GetItemText, 2040). +-define(wxTreeCtrl_GetItemTextColour, 2041). +-define(wxTreeCtrl_GetLastChild, 2042). +-define(wxTreeCtrl_GetNextSibling, 2043). +-define(wxTreeCtrl_GetNextVisible, 2044). +-define(wxTreeCtrl_GetItemParent, 2045). +-define(wxTreeCtrl_GetPrevSibling, 2046). +-define(wxTreeCtrl_GetPrevVisible, 2047). +-define(wxTreeCtrl_GetRootItem, 2048). +-define(wxTreeCtrl_GetSelection, 2049). +-define(wxTreeCtrl_GetSelections, 2050). +-define(wxTreeCtrl_GetStateImageList, 2051). +-define(wxTreeCtrl_HitTest, 2052). +-define(wxTreeCtrl_InsertItem, 2054). +-define(wxTreeCtrl_IsBold, 2055). +-define(wxTreeCtrl_IsExpanded, 2056). +-define(wxTreeCtrl_IsSelected, 2057). +-define(wxTreeCtrl_IsVisible, 2058). +-define(wxTreeCtrl_ItemHasChildren, 2059). +-define(wxTreeCtrl_PrependItem, 2060). +-define(wxTreeCtrl_ScrollTo, 2061). +-define(wxTreeCtrl_SelectItem_1, 2062). +-define(wxTreeCtrl_SelectItem_2, 2063). +-define(wxTreeCtrl_SetIndent, 2064). +-define(wxTreeCtrl_SetImageList, 2065). +-define(wxTreeCtrl_SetItemBackgroundColour, 2066). +-define(wxTreeCtrl_SetItemBold, 2067). +-define(wxTreeCtrl_SetItemData, 2068). +-define(wxTreeCtrl_SetItemDropHighlight, 2069). +-define(wxTreeCtrl_SetItemFont, 2070). +-define(wxTreeCtrl_SetItemHasChildren, 2071). +-define(wxTreeCtrl_SetItemImage_2, 2072). +-define(wxTreeCtrl_SetItemImage_3, 2073). +-define(wxTreeCtrl_SetItemText, 2074). +-define(wxTreeCtrl_SetItemTextColour, 2075). +-define(wxTreeCtrl_SetStateImageList, 2076). +-define(wxTreeCtrl_SetWindowStyle, 2077). +-define(wxTreeCtrl_SortChildren, 2078). +-define(wxTreeCtrl_Toggle, 2079). +-define(wxTreeCtrl_ToggleItemSelection, 2080). +-define(wxTreeCtrl_Unselect, 2081). +-define(wxTreeCtrl_UnselectAll, 2082). +-define(wxTreeCtrl_UnselectItem, 2083). +-define(wxScrollBar_new_0, 2084). +-define(wxScrollBar_new_3, 2085). +-define(wxScrollBar_destruct, 2086). +-define(wxScrollBar_Create, 2087). +-define(wxScrollBar_GetRange, 2088). +-define(wxScrollBar_GetPageSize, 2089). +-define(wxScrollBar_GetThumbPosition, 2090). +-define(wxScrollBar_GetThumbSize, 2091). +-define(wxScrollBar_SetThumbPosition, 2092). +-define(wxScrollBar_SetScrollbar, 2093). +-define(wxSpinButton_new_2, 2095). +-define(wxSpinButton_new_0, 2096). +-define(wxSpinButton_Create, 2097). +-define(wxSpinButton_GetMax, 2098). +-define(wxSpinButton_GetMin, 2099). +-define(wxSpinButton_GetValue, 2100). +-define(wxSpinButton_SetRange, 2101). +-define(wxSpinButton_SetValue, 2102). +-define(wxSpinButton_destroy, 2103). +-define(wxSpinCtrl_new_0, 2104). +-define(wxSpinCtrl_new_2, 2105). +-define(wxSpinCtrl_Create, 2107). +-define(wxSpinCtrl_SetValue_1_1, 2110). +-define(wxSpinCtrl_SetValue_1_0, 2111). +-define(wxSpinCtrl_GetValue, 2113). +-define(wxSpinCtrl_SetRange, 2115). +-define(wxSpinCtrl_SetSelection, 2116). +-define(wxSpinCtrl_GetMin, 2118). +-define(wxSpinCtrl_GetMax, 2120). +-define(wxSpinCtrl_destroy, 2121). +-define(wxStaticText_new_0, 2122). +-define(wxStaticText_new_4, 2123). +-define(wxStaticText_Create, 2124). +-define(wxStaticText_GetLabel, 2125). +-define(wxStaticText_SetLabel, 2126). +-define(wxStaticText_Wrap, 2127). +-define(wxStaticText_destroy, 2128). +-define(wxStaticBitmap_new_0, 2129). +-define(wxStaticBitmap_new_4, 2130). +-define(wxStaticBitmap_Create, 2131). +-define(wxStaticBitmap_GetBitmap, 2132). +-define(wxStaticBitmap_SetBitmap, 2133). +-define(wxStaticBitmap_destroy, 2134). +-define(wxRadioBox_new, 2135). +-define(wxRadioBox_destruct, 2137). +-define(wxRadioBox_Create, 2138). +-define(wxRadioBox_Enable_2, 2139). +-define(wxRadioBox_Enable_1, 2140). +-define(wxRadioBox_GetSelection, 2141). +-define(wxRadioBox_GetString, 2142). +-define(wxRadioBox_SetSelection, 2143). +-define(wxRadioBox_Show_2, 2144). +-define(wxRadioBox_Show_1, 2145). +-define(wxRadioBox_GetColumnCount, 2146). +-define(wxRadioBox_GetItemHelpText, 2147). +-define(wxRadioBox_GetItemToolTip, 2148). +-define(wxRadioBox_GetItemFromPoint, 2150). +-define(wxRadioBox_GetRowCount, 2151). +-define(wxRadioBox_IsItemEnabled, 2152). +-define(wxRadioBox_IsItemShown, 2153). +-define(wxRadioBox_SetItemHelpText, 2154). +-define(wxRadioBox_SetItemToolTip, 2155). +-define(wxRadioButton_new_0, 2156). +-define(wxRadioButton_new_4, 2157). +-define(wxRadioButton_Create, 2158). +-define(wxRadioButton_GetValue, 2159). +-define(wxRadioButton_SetValue, 2160). +-define(wxRadioButton_destroy, 2161). +-define(wxSlider_new_6, 2163). +-define(wxSlider_new_0, 2164). +-define(wxSlider_Create, 2165). +-define(wxSlider_GetLineSize, 2166). +-define(wxSlider_GetMax, 2167). +-define(wxSlider_GetMin, 2168). +-define(wxSlider_GetPageSize, 2169). +-define(wxSlider_GetThumbLength, 2170). +-define(wxSlider_GetValue, 2171). +-define(wxSlider_SetLineSize, 2172). +-define(wxSlider_SetPageSize, 2173). +-define(wxSlider_SetRange, 2174). +-define(wxSlider_SetThumbLength, 2175). +-define(wxSlider_SetValue, 2176). +-define(wxSlider_destroy, 2177). +-define(wxDialog_new_4, 2179). +-define(wxDialog_new_0, 2180). +-define(wxDialog_destruct, 2182). +-define(wxDialog_Create, 2183). +-define(wxDialog_CreateButtonSizer, 2184). +-define(wxDialog_CreateStdDialogButtonSizer, 2185). +-define(wxDialog_EndModal, 2186). +-define(wxDialog_GetAffirmativeId, 2187). +-define(wxDialog_GetReturnCode, 2188). +-define(wxDialog_IsModal, 2189). +-define(wxDialog_SetAffirmativeId, 2190). +-define(wxDialog_SetReturnCode, 2191). +-define(wxDialog_Show, 2192). +-define(wxDialog_ShowModal, 2193). +-define(wxColourDialog_new_0, 2194). +-define(wxColourDialog_new_2, 2195). +-define(wxColourDialog_destruct, 2196). +-define(wxColourDialog_Create, 2197). +-define(wxColourDialog_GetColourData, 2198). +-define(wxColourData_new_0, 2199). +-define(wxColourData_new_1, 2200). +-define(wxColourData_destruct, 2201). +-define(wxColourData_GetChooseFull, 2202). +-define(wxColourData_GetColour, 2203). +-define(wxColourData_GetCustomColour, 2205). +-define(wxColourData_SetChooseFull, 2206). +-define(wxColourData_SetColour, 2207). +-define(wxColourData_SetCustomColour, 2208). +-define(wxPalette_new_0, 2209). +-define(wxPalette_new_4, 2210). +-define(wxPalette_destruct, 2212). +-define(wxPalette_Create, 2213). +-define(wxPalette_GetColoursCount, 2214). +-define(wxPalette_GetPixel, 2215). +-define(wxPalette_GetRGB, 2216). +-define(wxPalette_IsOk, 2217). +-define(wxDirDialog_new, 2221). +-define(wxDirDialog_destruct, 2222). +-define(wxDirDialog_GetPath, 2223). +-define(wxDirDialog_GetMessage, 2224). +-define(wxDirDialog_SetMessage, 2225). +-define(wxDirDialog_SetPath, 2226). +-define(wxFileDialog_new, 2230). +-define(wxFileDialog_destruct, 2231). +-define(wxFileDialog_GetDirectory, 2232). +-define(wxFileDialog_GetFilename, 2233). +-define(wxFileDialog_GetFilenames, 2234). +-define(wxFileDialog_GetFilterIndex, 2235). +-define(wxFileDialog_GetMessage, 2236). +-define(wxFileDialog_GetPath, 2237). +-define(wxFileDialog_GetPaths, 2238). +-define(wxFileDialog_GetWildcard, 2239). +-define(wxFileDialog_SetDirectory, 2240). +-define(wxFileDialog_SetFilename, 2241). +-define(wxFileDialog_SetFilterIndex, 2242). +-define(wxFileDialog_SetMessage, 2243). +-define(wxFileDialog_SetPath, 2244). +-define(wxFileDialog_SetWildcard, 2245). +-define(wxPickerBase_SetInternalMargin, 2246). +-define(wxPickerBase_GetInternalMargin, 2247). +-define(wxPickerBase_SetTextCtrlProportion, 2248). +-define(wxPickerBase_SetPickerCtrlProportion, 2249). +-define(wxPickerBase_GetTextCtrlProportion, 2250). +-define(wxPickerBase_GetPickerCtrlProportion, 2251). +-define(wxPickerBase_HasTextCtrl, 2252). +-define(wxPickerBase_GetTextCtrl, 2253). +-define(wxPickerBase_IsTextCtrlGrowable, 2254). +-define(wxPickerBase_SetPickerCtrlGrowable, 2255). +-define(wxPickerBase_SetTextCtrlGrowable, 2256). +-define(wxPickerBase_IsPickerCtrlGrowable, 2257). +-define(wxFilePickerCtrl_new_0, 2258). +-define(wxFilePickerCtrl_new_3, 2259). +-define(wxFilePickerCtrl_Create, 2260). +-define(wxFilePickerCtrl_GetPath, 2261). +-define(wxFilePickerCtrl_SetPath, 2262). +-define(wxFilePickerCtrl_destroy, 2263). +-define(wxDirPickerCtrl_new_0, 2264). +-define(wxDirPickerCtrl_new_3, 2265). +-define(wxDirPickerCtrl_Create, 2266). +-define(wxDirPickerCtrl_GetPath, 2267). +-define(wxDirPickerCtrl_SetPath, 2268). +-define(wxDirPickerCtrl_destroy, 2269). +-define(wxColourPickerCtrl_new_0, 2270). +-define(wxColourPickerCtrl_new_3, 2271). +-define(wxColourPickerCtrl_Create, 2272). +-define(wxColourPickerCtrl_GetColour, 2273). +-define(wxColourPickerCtrl_SetColour_1_1, 2274). +-define(wxColourPickerCtrl_SetColour_1_0, 2275). +-define(wxColourPickerCtrl_destroy, 2276). +-define(wxDatePickerCtrl_new_0, 2277). +-define(wxDatePickerCtrl_new_3, 2278). +-define(wxDatePickerCtrl_GetRange, 2279). +-define(wxDatePickerCtrl_GetValue, 2280). +-define(wxDatePickerCtrl_SetRange, 2281). +-define(wxDatePickerCtrl_SetValue, 2282). +-define(wxDatePickerCtrl_destroy, 2283). +-define(wxFontPickerCtrl_new_0, 2284). +-define(wxFontPickerCtrl_new_3, 2285). +-define(wxFontPickerCtrl_Create, 2286). +-define(wxFontPickerCtrl_GetSelectedFont, 2287). +-define(wxFontPickerCtrl_SetSelectedFont, 2288). +-define(wxFontPickerCtrl_GetMaxPointSize, 2289). +-define(wxFontPickerCtrl_SetMaxPointSize, 2290). +-define(wxFontPickerCtrl_destroy, 2291). +-define(wxFindReplaceDialog_new_0, 2294). +-define(wxFindReplaceDialog_new_4, 2295). +-define(wxFindReplaceDialog_destruct, 2296). +-define(wxFindReplaceDialog_Create, 2297). +-define(wxFindReplaceDialog_GetData, 2298). +-define(wxFindReplaceData_new_0, 2299). +-define(wxFindReplaceData_new_1, 2300). +-define(wxFindReplaceData_GetFindString, 2301). +-define(wxFindReplaceData_GetReplaceString, 2302). +-define(wxFindReplaceData_GetFlags, 2303). +-define(wxFindReplaceData_SetFlags, 2304). +-define(wxFindReplaceData_SetFindString, 2305). +-define(wxFindReplaceData_SetReplaceString, 2306). +-define(wxFindReplaceData_destroy, 2307). +-define(wxMultiChoiceDialog_new_0, 2308). +-define(wxMultiChoiceDialog_new_5, 2310). +-define(wxMultiChoiceDialog_GetSelections, 2311). +-define(wxMultiChoiceDialog_SetSelections, 2312). +-define(wxMultiChoiceDialog_destroy, 2313). +-define(wxSingleChoiceDialog_new_0, 2314). +-define(wxSingleChoiceDialog_new_5, 2316). +-define(wxSingleChoiceDialog_GetSelection, 2317). +-define(wxSingleChoiceDialog_GetStringSelection, 2318). +-define(wxSingleChoiceDialog_SetSelection, 2319). +-define(wxSingleChoiceDialog_destroy, 2320). +-define(wxTextEntryDialog_new, 2321). +-define(wxTextEntryDialog_GetValue, 2322). +-define(wxTextEntryDialog_SetValue, 2323). +-define(wxTextEntryDialog_destroy, 2324). +-define(wxPasswordEntryDialog_new, 2325). +-define(wxPasswordEntryDialog_destroy, 2326). +-define(wxFontData_new_0, 2327). +-define(wxFontData_new_1, 2328). +-define(wxFontData_destruct, 2329). +-define(wxFontData_EnableEffects, 2330). +-define(wxFontData_GetAllowSymbols, 2331). +-define(wxFontData_GetColour, 2332). +-define(wxFontData_GetChosenFont, 2333). +-define(wxFontData_GetEnableEffects, 2334). +-define(wxFontData_GetInitialFont, 2335). +-define(wxFontData_GetShowHelp, 2336). +-define(wxFontData_SetAllowSymbols, 2337). +-define(wxFontData_SetChosenFont, 2338). +-define(wxFontData_SetColour, 2339). +-define(wxFontData_SetInitialFont, 2340). +-define(wxFontData_SetRange, 2341). +-define(wxFontData_SetShowHelp, 2342). +-define(wxFontDialog_new_0, 2346). +-define(wxFontDialog_new_2, 2348). +-define(wxFontDialog_Create, 2350). +-define(wxFontDialog_GetFontData, 2351). +-define(wxFontDialog_destroy, 2353). +-define(wxProgressDialog_new, 2354). +-define(wxProgressDialog_destruct, 2355). +-define(wxProgressDialog_Resume, 2356). +-define(wxProgressDialog_Update_2, 2357). +-define(wxProgressDialog_Update_0, 2358). +-define(wxMessageDialog_new, 2359). +-define(wxMessageDialog_destruct, 2360). +-define(wxPageSetupDialog_new, 2361). +-define(wxPageSetupDialog_destruct, 2362). +-define(wxPageSetupDialog_GetPageSetupData, 2363). +-define(wxPageSetupDialog_ShowModal, 2364). +-define(wxPageSetupDialogData_new_0, 2365). +-define(wxPageSetupDialogData_new_1_0, 2366). +-define(wxPageSetupDialogData_new_1_1, 2367). +-define(wxPageSetupDialogData_destruct, 2368). +-define(wxPageSetupDialogData_EnableHelp, 2369). +-define(wxPageSetupDialogData_EnableMargins, 2370). +-define(wxPageSetupDialogData_EnableOrientation, 2371). +-define(wxPageSetupDialogData_EnablePaper, 2372). +-define(wxPageSetupDialogData_EnablePrinter, 2373). +-define(wxPageSetupDialogData_GetDefaultMinMargins, 2374). +-define(wxPageSetupDialogData_GetEnableMargins, 2375). +-define(wxPageSetupDialogData_GetEnableOrientation, 2376). +-define(wxPageSetupDialogData_GetEnablePaper, 2377). +-define(wxPageSetupDialogData_GetEnablePrinter, 2378). +-define(wxPageSetupDialogData_GetEnableHelp, 2379). +-define(wxPageSetupDialogData_GetDefaultInfo, 2380). +-define(wxPageSetupDialogData_GetMarginTopLeft, 2381). +-define(wxPageSetupDialogData_GetMarginBottomRight, 2382). +-define(wxPageSetupDialogData_GetMinMarginTopLeft, 2383). +-define(wxPageSetupDialogData_GetMinMarginBottomRight, 2384). +-define(wxPageSetupDialogData_GetPaperId, 2385). +-define(wxPageSetupDialogData_GetPaperSize, 2386). +-define(wxPageSetupDialogData_GetPrintData, 2388). +-define(wxPageSetupDialogData_IsOk, 2389). +-define(wxPageSetupDialogData_SetDefaultInfo, 2390). +-define(wxPageSetupDialogData_SetDefaultMinMargins, 2391). +-define(wxPageSetupDialogData_SetMarginTopLeft, 2392). +-define(wxPageSetupDialogData_SetMarginBottomRight, 2393). +-define(wxPageSetupDialogData_SetMinMarginTopLeft, 2394). +-define(wxPageSetupDialogData_SetMinMarginBottomRight, 2395). +-define(wxPageSetupDialogData_SetPaperId, 2396). +-define(wxPageSetupDialogData_SetPaperSize_1_1, 2397). +-define(wxPageSetupDialogData_SetPaperSize_1_0, 2398). +-define(wxPageSetupDialogData_SetPrintData, 2399). +-define(wxPrintDialog_new_2_0, 2400). +-define(wxPrintDialog_new_2_1, 2401). +-define(wxPrintDialog_destruct, 2402). +-define(wxPrintDialog_GetPrintDialogData, 2403). +-define(wxPrintDialog_GetPrintDC, 2404). +-define(wxPrintDialogData_new_0, 2405). +-define(wxPrintDialogData_new_1_1, 2406). +-define(wxPrintDialogData_new_1_0, 2407). +-define(wxPrintDialogData_destruct, 2408). +-define(wxPrintDialogData_EnableHelp, 2409). +-define(wxPrintDialogData_EnablePageNumbers, 2410). +-define(wxPrintDialogData_EnablePrintToFile, 2411). +-define(wxPrintDialogData_EnableSelection, 2412). +-define(wxPrintDialogData_GetAllPages, 2413). +-define(wxPrintDialogData_GetCollate, 2414). +-define(wxPrintDialogData_GetFromPage, 2415). +-define(wxPrintDialogData_GetMaxPage, 2416). +-define(wxPrintDialogData_GetMinPage, 2417). +-define(wxPrintDialogData_GetNoCopies, 2418). +-define(wxPrintDialogData_GetPrintData, 2419). +-define(wxPrintDialogData_GetPrintToFile, 2420). +-define(wxPrintDialogData_GetSelection, 2421). +-define(wxPrintDialogData_GetToPage, 2422). +-define(wxPrintDialogData_IsOk, 2423). +-define(wxPrintDialogData_SetCollate, 2424). +-define(wxPrintDialogData_SetFromPage, 2425). +-define(wxPrintDialogData_SetMaxPage, 2426). +-define(wxPrintDialogData_SetMinPage, 2427). +-define(wxPrintDialogData_SetNoCopies, 2428). +-define(wxPrintDialogData_SetPrintData, 2429). +-define(wxPrintDialogData_SetPrintToFile, 2430). +-define(wxPrintDialogData_SetSelection, 2431). +-define(wxPrintDialogData_SetToPage, 2432). +-define(wxPrintData_new_0, 2433). +-define(wxPrintData_new_1, 2434). +-define(wxPrintData_destruct, 2435). +-define(wxPrintData_GetCollate, 2436). +-define(wxPrintData_GetBin, 2437). +-define(wxPrintData_GetColour, 2438). +-define(wxPrintData_GetDuplex, 2439). +-define(wxPrintData_GetNoCopies, 2440). +-define(wxPrintData_GetOrientation, 2441). +-define(wxPrintData_GetPaperId, 2442). +-define(wxPrintData_GetPrinterName, 2443). +-define(wxPrintData_GetQuality, 2444). +-define(wxPrintData_IsOk, 2445). +-define(wxPrintData_SetBin, 2446). +-define(wxPrintData_SetCollate, 2447). +-define(wxPrintData_SetColour, 2448). +-define(wxPrintData_SetDuplex, 2449). +-define(wxPrintData_SetNoCopies, 2450). +-define(wxPrintData_SetOrientation, 2451). +-define(wxPrintData_SetPaperId, 2452). +-define(wxPrintData_SetPrinterName, 2453). +-define(wxPrintData_SetQuality, 2454). +-define(wxPrintPreview_new_2, 2457). +-define(wxPrintPreview_new_3, 2458). +-define(wxPrintPreview_destruct, 2460). +-define(wxPrintPreview_GetCanvas, 2461). +-define(wxPrintPreview_GetCurrentPage, 2462). +-define(wxPrintPreview_GetFrame, 2463). +-define(wxPrintPreview_GetMaxPage, 2464). +-define(wxPrintPreview_GetMinPage, 2465). +-define(wxPrintPreview_GetPrintout, 2466). +-define(wxPrintPreview_GetPrintoutForPrinting, 2467). +-define(wxPrintPreview_IsOk, 2468). +-define(wxPrintPreview_PaintPage, 2469). +-define(wxPrintPreview_Print, 2470). +-define(wxPrintPreview_RenderPage, 2471). +-define(wxPrintPreview_SetCanvas, 2472). +-define(wxPrintPreview_SetCurrentPage, 2473). +-define(wxPrintPreview_SetFrame, 2474). +-define(wxPrintPreview_SetPrintout, 2475). +-define(wxPrintPreview_SetZoom, 2476). +-define(wxPreviewFrame_new, 2477). +-define(wxPreviewFrame_destruct, 2478). +-define(wxPreviewFrame_CreateControlBar, 2479). +-define(wxPreviewFrame_CreateCanvas, 2480). +-define(wxPreviewFrame_Initialize, 2481). +-define(wxPreviewFrame_OnCloseWindow, 2482). +-define(wxPreviewControlBar_new, 2483). +-define(wxPreviewControlBar_destruct, 2484). +-define(wxPreviewControlBar_CreateButtons, 2485). +-define(wxPreviewControlBar_GetPrintPreview, 2486). +-define(wxPreviewControlBar_GetZoomControl, 2487). +-define(wxPreviewControlBar_SetZoomControl, 2488). +-define(wxPrinter_new, 2490). +-define(wxPrinter_CreateAbortWindow, 2491). +-define(wxPrinter_GetAbort, 2492). +-define(wxPrinter_GetLastError, 2493). +-define(wxPrinter_GetPrintDialogData, 2494). +-define(wxPrinter_Print, 2495). +-define(wxPrinter_PrintDialog, 2496). +-define(wxPrinter_ReportError, 2497). +-define(wxPrinter_Setup, 2498). +-define(wxPrinter_destroy, 2499). +-define(wxXmlResource_new_1, 2500). +-define(wxXmlResource_new_2, 2501). +-define(wxXmlResource_destruct, 2502). +-define(wxXmlResource_AttachUnknownControl, 2503). +-define(wxXmlResource_ClearHandlers, 2504). +-define(wxXmlResource_CompareVersion, 2505). +-define(wxXmlResource_Get, 2506). +-define(wxXmlResource_GetFlags, 2507). +-define(wxXmlResource_GetVersion, 2508). +-define(wxXmlResource_GetXRCID, 2509). +-define(wxXmlResource_InitAllHandlers, 2510). +-define(wxXmlResource_Load, 2511). +-define(wxXmlResource_LoadBitmap, 2512). +-define(wxXmlResource_LoadDialog_2, 2513). +-define(wxXmlResource_LoadDialog_3, 2514). +-define(wxXmlResource_LoadFrame_2, 2515). +-define(wxXmlResource_LoadFrame_3, 2516). +-define(wxXmlResource_LoadIcon, 2517). +-define(wxXmlResource_LoadMenu, 2518). +-define(wxXmlResource_LoadMenuBar_2, 2519). +-define(wxXmlResource_LoadMenuBar_1, 2520). +-define(wxXmlResource_LoadPanel_2, 2521). +-define(wxXmlResource_LoadPanel_3, 2522). +-define(wxXmlResource_LoadToolBar, 2523). +-define(wxXmlResource_Set, 2524). +-define(wxXmlResource_SetFlags, 2525). +-define(wxXmlResource_Unload, 2526). +-define(wxXmlResource_xrcctrl, 2527). +-define(wxHtmlEasyPrinting_new, 2528). +-define(wxHtmlEasyPrinting_destruct, 2529). +-define(wxHtmlEasyPrinting_GetPrintData, 2530). +-define(wxHtmlEasyPrinting_GetPageSetupData, 2531). +-define(wxHtmlEasyPrinting_PreviewFile, 2532). +-define(wxHtmlEasyPrinting_PreviewText, 2533). +-define(wxHtmlEasyPrinting_PrintFile, 2534). +-define(wxHtmlEasyPrinting_PrintText, 2535). +-define(wxHtmlEasyPrinting_PageSetup, 2536). +-define(wxHtmlEasyPrinting_SetFonts, 2537). +-define(wxHtmlEasyPrinting_SetHeader, 2538). +-define(wxHtmlEasyPrinting_SetFooter, 2539). +-define(wxGLCanvas_new_2, 2541). +-define(wxGLCanvas_new_3_1, 2542). +-define(wxGLCanvas_new_3_0, 2543). +-define(wxGLCanvas_GetContext, 2544). +-define(wxGLCanvas_SetCurrent, 2546). +-define(wxGLCanvas_SwapBuffers, 2547). +-define(wxGLCanvas_destroy, 2548). +-define(wxAuiManager_new, 2549). +-define(wxAuiManager_destruct, 2550). +-define(wxAuiManager_AddPane_2_1, 2551). +-define(wxAuiManager_AddPane_3, 2552). +-define(wxAuiManager_AddPane_2_0, 2553). +-define(wxAuiManager_DetachPane, 2554). +-define(wxAuiManager_GetAllPanes, 2555). +-define(wxAuiManager_GetArtProvider, 2556). +-define(wxAuiManager_GetDockSizeConstraint, 2557). +-define(wxAuiManager_GetFlags, 2558). +-define(wxAuiManager_GetManagedWindow, 2559). +-define(wxAuiManager_GetManager, 2560). +-define(wxAuiManager_GetPane_1_1, 2561). +-define(wxAuiManager_GetPane_1_0, 2562). +-define(wxAuiManager_HideHint, 2563). +-define(wxAuiManager_InsertPane, 2564). +-define(wxAuiManager_LoadPaneInfo, 2565). +-define(wxAuiManager_LoadPerspective, 2566). +-define(wxAuiManager_SavePaneInfo, 2567). +-define(wxAuiManager_SavePerspective, 2568). +-define(wxAuiManager_SetArtProvider, 2569). +-define(wxAuiManager_SetDockSizeConstraint, 2570). +-define(wxAuiManager_SetFlags, 2571). +-define(wxAuiManager_SetManagedWindow, 2572). +-define(wxAuiManager_ShowHint, 2573). +-define(wxAuiManager_UnInit, 2574). +-define(wxAuiManager_Update, 2575). +-define(wxAuiPaneInfo_new_0, 2576). +-define(wxAuiPaneInfo_new_1, 2577). +-define(wxAuiPaneInfo_destruct, 2578). +-define(wxAuiPaneInfo_BestSize_1, 2579). +-define(wxAuiPaneInfo_BestSize_2, 2580). +-define(wxAuiPaneInfo_Bottom, 2581). +-define(wxAuiPaneInfo_BottomDockable, 2582). +-define(wxAuiPaneInfo_Caption, 2583). +-define(wxAuiPaneInfo_CaptionVisible, 2584). +-define(wxAuiPaneInfo_Centre, 2585). +-define(wxAuiPaneInfo_CentrePane, 2586). +-define(wxAuiPaneInfo_CloseButton, 2587). +-define(wxAuiPaneInfo_DefaultPane, 2588). +-define(wxAuiPaneInfo_DestroyOnClose, 2589). +-define(wxAuiPaneInfo_Direction, 2590). +-define(wxAuiPaneInfo_Dock, 2591). +-define(wxAuiPaneInfo_Dockable, 2592). +-define(wxAuiPaneInfo_Fixed, 2593). +-define(wxAuiPaneInfo_Float, 2594). +-define(wxAuiPaneInfo_Floatable, 2595). +-define(wxAuiPaneInfo_FloatingPosition_1, 2596). +-define(wxAuiPaneInfo_FloatingPosition_2, 2597). +-define(wxAuiPaneInfo_FloatingSize_1, 2598). +-define(wxAuiPaneInfo_FloatingSize_2, 2599). +-define(wxAuiPaneInfo_Gripper, 2600). +-define(wxAuiPaneInfo_GripperTop, 2601). +-define(wxAuiPaneInfo_HasBorder, 2602). +-define(wxAuiPaneInfo_HasCaption, 2603). +-define(wxAuiPaneInfo_HasCloseButton, 2604). +-define(wxAuiPaneInfo_HasFlag, 2605). +-define(wxAuiPaneInfo_HasGripper, 2606). +-define(wxAuiPaneInfo_HasGripperTop, 2607). +-define(wxAuiPaneInfo_HasMaximizeButton, 2608). +-define(wxAuiPaneInfo_HasMinimizeButton, 2609). +-define(wxAuiPaneInfo_HasPinButton, 2610). +-define(wxAuiPaneInfo_Hide, 2611). +-define(wxAuiPaneInfo_IsBottomDockable, 2612). +-define(wxAuiPaneInfo_IsDocked, 2613). +-define(wxAuiPaneInfo_IsFixed, 2614). +-define(wxAuiPaneInfo_IsFloatable, 2615). +-define(wxAuiPaneInfo_IsFloating, 2616). +-define(wxAuiPaneInfo_IsLeftDockable, 2617). +-define(wxAuiPaneInfo_IsMovable, 2618). +-define(wxAuiPaneInfo_IsOk, 2619). +-define(wxAuiPaneInfo_IsResizable, 2620). +-define(wxAuiPaneInfo_IsRightDockable, 2621). +-define(wxAuiPaneInfo_IsShown, 2622). +-define(wxAuiPaneInfo_IsToolbar, 2623). +-define(wxAuiPaneInfo_IsTopDockable, 2624). +-define(wxAuiPaneInfo_Layer, 2625). +-define(wxAuiPaneInfo_Left, 2626). +-define(wxAuiPaneInfo_LeftDockable, 2627). +-define(wxAuiPaneInfo_MaxSize_1, 2628). +-define(wxAuiPaneInfo_MaxSize_2, 2629). +-define(wxAuiPaneInfo_MaximizeButton, 2630). +-define(wxAuiPaneInfo_MinSize_1, 2631). +-define(wxAuiPaneInfo_MinSize_2, 2632). +-define(wxAuiPaneInfo_MinimizeButton, 2633). +-define(wxAuiPaneInfo_Movable, 2634). +-define(wxAuiPaneInfo_Name, 2635). +-define(wxAuiPaneInfo_PaneBorder, 2636). +-define(wxAuiPaneInfo_PinButton, 2637). +-define(wxAuiPaneInfo_Position, 2638). +-define(wxAuiPaneInfo_Resizable, 2639). +-define(wxAuiPaneInfo_Right, 2640). +-define(wxAuiPaneInfo_RightDockable, 2641). +-define(wxAuiPaneInfo_Row, 2642). +-define(wxAuiPaneInfo_SafeSet, 2643). +-define(wxAuiPaneInfo_SetFlag, 2644). +-define(wxAuiPaneInfo_Show, 2645). +-define(wxAuiPaneInfo_ToolbarPane, 2646). +-define(wxAuiPaneInfo_Top, 2647). +-define(wxAuiPaneInfo_TopDockable, 2648). +-define(wxAuiPaneInfo_Window, 2649). +-define(wxAuiNotebook_new_0, 2650). +-define(wxAuiNotebook_new_2, 2651). +-define(wxAuiNotebook_AddPage, 2652). +-define(wxAuiNotebook_Create, 2653). +-define(wxAuiNotebook_DeletePage, 2654). +-define(wxAuiNotebook_GetArtProvider, 2655). +-define(wxAuiNotebook_GetPage, 2656). +-define(wxAuiNotebook_GetPageBitmap, 2657). +-define(wxAuiNotebook_GetPageCount, 2658). +-define(wxAuiNotebook_GetPageIndex, 2659). +-define(wxAuiNotebook_GetPageText, 2660). +-define(wxAuiNotebook_GetSelection, 2661). +-define(wxAuiNotebook_InsertPage, 2662). +-define(wxAuiNotebook_RemovePage, 2663). +-define(wxAuiNotebook_SetArtProvider, 2664). +-define(wxAuiNotebook_SetFont, 2665). +-define(wxAuiNotebook_SetPageBitmap, 2666). +-define(wxAuiNotebook_SetPageText, 2667). +-define(wxAuiNotebook_SetSelection, 2668). +-define(wxAuiNotebook_SetTabCtrlHeight, 2669). +-define(wxAuiNotebook_SetUniformBitmapSize, 2670). +-define(wxAuiNotebook_destroy, 2671). +-define(wxMDIParentFrame_new_0, 2672). +-define(wxMDIParentFrame_new_4, 2673). +-define(wxMDIParentFrame_destruct, 2674). +-define(wxMDIParentFrame_ActivateNext, 2675). +-define(wxMDIParentFrame_ActivatePrevious, 2676). +-define(wxMDIParentFrame_ArrangeIcons, 2677). +-define(wxMDIParentFrame_Cascade, 2678). +-define(wxMDIParentFrame_Create, 2679). +-define(wxMDIParentFrame_GetActiveChild, 2680). +-define(wxMDIParentFrame_GetClientWindow, 2681). +-define(wxMDIParentFrame_Tile, 2682). +-define(wxMDIChildFrame_new_0, 2683). +-define(wxMDIChildFrame_new_4, 2684). +-define(wxMDIChildFrame_destruct, 2685). +-define(wxMDIChildFrame_Activate, 2686). +-define(wxMDIChildFrame_Create, 2687). +-define(wxMDIChildFrame_Maximize, 2688). +-define(wxMDIChildFrame_Restore, 2689). +-define(wxMDIClientWindow_new_0, 2690). +-define(wxMDIClientWindow_new_2, 2691). +-define(wxMDIClientWindow_destruct, 2692). +-define(wxMDIClientWindow_CreateClient, 2693). +-define(wxLayoutAlgorithm_new, 2694). +-define(wxLayoutAlgorithm_LayoutFrame, 2695). +-define(wxLayoutAlgorithm_LayoutMDIFrame, 2696). +-define(wxLayoutAlgorithm_LayoutWindow, 2697). +-define(wxLayoutAlgorithm_destroy, 2698). +-define(wxEvent_GetId, 2699). +-define(wxEvent_GetSkipped, 2700). +-define(wxEvent_GetTimestamp, 2701). +-define(wxEvent_IsCommandEvent, 2702). +-define(wxEvent_ResumePropagation, 2703). +-define(wxEvent_ShouldPropagate, 2704). +-define(wxEvent_Skip, 2705). +-define(wxEvent_StopPropagation, 2706). +-define(wxCommandEvent_getClientData, 2707). +-define(wxCommandEvent_GetExtraLong, 2708). +-define(wxCommandEvent_GetInt, 2709). +-define(wxCommandEvent_GetSelection, 2710). +-define(wxCommandEvent_GetString, 2711). +-define(wxCommandEvent_IsChecked, 2712). +-define(wxCommandEvent_IsSelection, 2713). +-define(wxCommandEvent_SetInt, 2714). +-define(wxCommandEvent_SetString, 2715). +-define(wxScrollEvent_GetOrientation, 2716). +-define(wxScrollEvent_GetPosition, 2717). +-define(wxScrollWinEvent_GetOrientation, 2718). +-define(wxScrollWinEvent_GetPosition, 2719). +-define(wxMouseEvent_AltDown, 2720). +-define(wxMouseEvent_Button, 2721). +-define(wxMouseEvent_ButtonDClick, 2722). +-define(wxMouseEvent_ButtonDown, 2723). +-define(wxMouseEvent_ButtonUp, 2724). +-define(wxMouseEvent_CmdDown, 2725). +-define(wxMouseEvent_ControlDown, 2726). +-define(wxMouseEvent_Dragging, 2727). +-define(wxMouseEvent_Entering, 2728). +-define(wxMouseEvent_GetButton, 2729). +-define(wxMouseEvent_GetPosition, 2732). +-define(wxMouseEvent_GetLogicalPosition, 2733). +-define(wxMouseEvent_GetLinesPerAction, 2734). +-define(wxMouseEvent_GetWheelRotation, 2735). +-define(wxMouseEvent_GetWheelDelta, 2736). +-define(wxMouseEvent_GetX, 2737). +-define(wxMouseEvent_GetY, 2738). +-define(wxMouseEvent_IsButton, 2739). +-define(wxMouseEvent_IsPageScroll, 2740). +-define(wxMouseEvent_Leaving, 2741). +-define(wxMouseEvent_LeftDClick, 2742). +-define(wxMouseEvent_LeftDown, 2743). +-define(wxMouseEvent_LeftIsDown, 2744). +-define(wxMouseEvent_LeftUp, 2745). +-define(wxMouseEvent_MetaDown, 2746). +-define(wxMouseEvent_MiddleDClick, 2747). +-define(wxMouseEvent_MiddleDown, 2748). +-define(wxMouseEvent_MiddleIsDown, 2749). +-define(wxMouseEvent_MiddleUp, 2750). +-define(wxMouseEvent_Moving, 2751). +-define(wxMouseEvent_RightDClick, 2752). +-define(wxMouseEvent_RightDown, 2753). +-define(wxMouseEvent_RightIsDown, 2754). +-define(wxMouseEvent_RightUp, 2755). +-define(wxMouseEvent_ShiftDown, 2756). +-define(wxSetCursorEvent_GetCursor, 2757). +-define(wxSetCursorEvent_GetX, 2758). +-define(wxSetCursorEvent_GetY, 2759). +-define(wxSetCursorEvent_HasCursor, 2760). +-define(wxSetCursorEvent_SetCursor, 2761). +-define(wxKeyEvent_AltDown, 2762). +-define(wxKeyEvent_CmdDown, 2763). +-define(wxKeyEvent_ControlDown, 2764). +-define(wxKeyEvent_GetKeyCode, 2765). +-define(wxKeyEvent_GetModifiers, 2766). +-define(wxKeyEvent_GetPosition, 2769). +-define(wxKeyEvent_GetRawKeyCode, 2770). +-define(wxKeyEvent_GetRawKeyFlags, 2771). +-define(wxKeyEvent_GetUnicodeKey, 2772). +-define(wxKeyEvent_GetX, 2773). +-define(wxKeyEvent_GetY, 2774). +-define(wxKeyEvent_HasModifiers, 2775). +-define(wxKeyEvent_MetaDown, 2776). +-define(wxKeyEvent_ShiftDown, 2777). +-define(wxSizeEvent_GetSize, 2778). +-define(wxMoveEvent_GetPosition, 2779). +-define(wxEraseEvent_GetDC, 2780). +-define(wxFocusEvent_GetWindow, 2781). +-define(wxChildFocusEvent_GetWindow, 2782). +-define(wxMenuEvent_GetMenu, 2783). +-define(wxMenuEvent_GetMenuId, 2784). +-define(wxMenuEvent_IsPopup, 2785). +-define(wxCloseEvent_CanVeto, 2786). +-define(wxCloseEvent_GetLoggingOff, 2787). +-define(wxCloseEvent_SetCanVeto, 2788). +-define(wxCloseEvent_SetLoggingOff, 2789). +-define(wxCloseEvent_Veto, 2790). +-define(wxShowEvent_SetShow, 2791). +-define(wxShowEvent_GetShow, 2792). +-define(wxIconizeEvent_Iconized, 2793). +-define(wxJoystickEvent_ButtonDown, 2794). +-define(wxJoystickEvent_ButtonIsDown, 2795). +-define(wxJoystickEvent_ButtonUp, 2796). +-define(wxJoystickEvent_GetButtonChange, 2797). +-define(wxJoystickEvent_GetButtonState, 2798). +-define(wxJoystickEvent_GetJoystick, 2799). +-define(wxJoystickEvent_GetPosition, 2800). +-define(wxJoystickEvent_GetZPosition, 2801). +-define(wxJoystickEvent_IsButton, 2802). +-define(wxJoystickEvent_IsMove, 2803). +-define(wxJoystickEvent_IsZMove, 2804). +-define(wxUpdateUIEvent_CanUpdate, 2805). +-define(wxUpdateUIEvent_Check, 2806). +-define(wxUpdateUIEvent_Enable, 2807). +-define(wxUpdateUIEvent_Show, 2808). +-define(wxUpdateUIEvent_GetChecked, 2809). +-define(wxUpdateUIEvent_GetEnabled, 2810). +-define(wxUpdateUIEvent_GetShown, 2811). +-define(wxUpdateUIEvent_GetSetChecked, 2812). +-define(wxUpdateUIEvent_GetSetEnabled, 2813). +-define(wxUpdateUIEvent_GetSetShown, 2814). +-define(wxUpdateUIEvent_GetSetText, 2815). +-define(wxUpdateUIEvent_GetText, 2816). +-define(wxUpdateUIEvent_GetMode, 2817). +-define(wxUpdateUIEvent_GetUpdateInterval, 2818). +-define(wxUpdateUIEvent_ResetUpdateTime, 2819). +-define(wxUpdateUIEvent_SetMode, 2820). +-define(wxUpdateUIEvent_SetText, 2821). +-define(wxUpdateUIEvent_SetUpdateInterval, 2822). +-define(wxMouseCaptureChangedEvent_GetCapturedWindow, 2823). +-define(wxPaletteChangedEvent_SetChangedWindow, 2824). +-define(wxPaletteChangedEvent_GetChangedWindow, 2825). +-define(wxQueryNewPaletteEvent_SetPaletteRealized, 2826). +-define(wxQueryNewPaletteEvent_GetPaletteRealized, 2827). +-define(wxNavigationKeyEvent_GetDirection, 2828). +-define(wxNavigationKeyEvent_SetDirection, 2829). +-define(wxNavigationKeyEvent_IsWindowChange, 2830). +-define(wxNavigationKeyEvent_SetWindowChange, 2831). +-define(wxNavigationKeyEvent_IsFromTab, 2832). +-define(wxNavigationKeyEvent_SetFromTab, 2833). +-define(wxNavigationKeyEvent_GetCurrentFocus, 2834). +-define(wxNavigationKeyEvent_SetCurrentFocus, 2835). +-define(wxHelpEvent_GetOrigin, 2836). +-define(wxHelpEvent_GetPosition, 2837). +-define(wxHelpEvent_SetOrigin, 2838). +-define(wxHelpEvent_SetPosition, 2839). +-define(wxContextMenuEvent_GetPosition, 2840). +-define(wxContextMenuEvent_SetPosition, 2841). +-define(wxIdleEvent_CanSend, 2842). +-define(wxIdleEvent_GetMode, 2843). +-define(wxIdleEvent_RequestMore, 2844). +-define(wxIdleEvent_MoreRequested, 2845). +-define(wxIdleEvent_SetMode, 2846). +-define(wxGridEvent_AltDown, 2847). +-define(wxGridEvent_ControlDown, 2848). +-define(wxGridEvent_GetCol, 2849). +-define(wxGridEvent_GetPosition, 2850). +-define(wxGridEvent_GetRow, 2851). +-define(wxGridEvent_MetaDown, 2852). +-define(wxGridEvent_Selecting, 2853). +-define(wxGridEvent_ShiftDown, 2854). +-define(wxNotifyEvent_Allow, 2855). +-define(wxNotifyEvent_IsAllowed, 2856). +-define(wxNotifyEvent_Veto, 2857). +-define(wxSashEvent_GetEdge, 2858). +-define(wxSashEvent_GetDragRect, 2859). +-define(wxSashEvent_GetDragStatus, 2860). +-define(wxListEvent_GetCacheFrom, 2861). +-define(wxListEvent_GetCacheTo, 2862). +-define(wxListEvent_GetKeyCode, 2863). +-define(wxListEvent_GetIndex, 2864). +-define(wxListEvent_GetColumn, 2865). +-define(wxListEvent_GetPoint, 2866). +-define(wxListEvent_GetLabel, 2867). +-define(wxListEvent_GetText, 2868). +-define(wxListEvent_GetImage, 2869). +-define(wxListEvent_GetData, 2870). +-define(wxListEvent_GetMask, 2871). +-define(wxListEvent_GetItem, 2872). +-define(wxListEvent_IsEditCancelled, 2873). +-define(wxDateEvent_GetDate, 2874). +-define(wxCalendarEvent_GetWeekDay, 2875). +-define(wxFileDirPickerEvent_GetPath, 2876). +-define(wxColourPickerEvent_GetColour, 2877). +-define(wxFontPickerEvent_GetFont, 2878). +-define(wxStyledTextEvent_GetPosition, 2879). +-define(wxStyledTextEvent_GetKey, 2880). +-define(wxStyledTextEvent_GetModifiers, 2881). +-define(wxStyledTextEvent_GetModificationType, 2882). +-define(wxStyledTextEvent_GetText, 2883). +-define(wxStyledTextEvent_GetLength, 2884). +-define(wxStyledTextEvent_GetLinesAdded, 2885). +-define(wxStyledTextEvent_GetLine, 2886). +-define(wxStyledTextEvent_GetFoldLevelNow, 2887). +-define(wxStyledTextEvent_GetFoldLevelPrev, 2888). +-define(wxStyledTextEvent_GetMargin, 2889). +-define(wxStyledTextEvent_GetMessage, 2890). +-define(wxStyledTextEvent_GetWParam, 2891). +-define(wxStyledTextEvent_GetLParam, 2892). +-define(wxStyledTextEvent_GetListType, 2893). +-define(wxStyledTextEvent_GetX, 2894). +-define(wxStyledTextEvent_GetY, 2895). +-define(wxStyledTextEvent_GetDragText, 2896). +-define(wxStyledTextEvent_GetDragAllowMove, 2897). +-define(wxStyledTextEvent_GetDragResult, 2898). +-define(wxStyledTextEvent_GetShift, 2899). +-define(wxStyledTextEvent_GetControl, 2900). +-define(wxStyledTextEvent_GetAlt, 2901). +-define(utils_wxGetKeyState, 2902). +-define(utils_wxGetMousePosition, 2903). +-define(utils_wxGetMouseState, 2904). +-define(utils_wxSetDetectableAutoRepeat, 2905). +-define(utils_wxBell, 2906). +-define(utils_wxFindMenuItemId, 2907). +-define(utils_wxGenericFindWindowAtPoint, 2908). +-define(utils_wxFindWindowAtPoint, 2909). +-define(utils_wxBeginBusyCursor, 2910). +-define(utils_wxEndBusyCursor, 2911). +-define(utils_wxIsBusy, 2912). +-define(utils_wxShutdown, 2913). +-define(utils_wxShell, 2914). +-define(utils_wxLaunchDefaultBrowser, 2915). +-define(utils_wxGetEmailAddress, 2916). +-define(utils_wxGetUserId, 2917). +-define(utils_wxGetHomeDir, 2918). +-define(utils_wxNewId, 2919). +-define(utils_wxRegisterId, 2920). +-define(utils_wxGetCurrentId, 2921). +-define(utils_wxGetOsDescription, 2922). +-define(utils_wxIsPlatformLittleEndian, 2923). +-define(utils_wxIsPlatform64Bit, 2924). +-define(wxPrintout_new, 2925). +-define(wxPrintout_destruct, 2926). +-define(wxPrintout_GetDC, 2927). +-define(wxPrintout_GetPageSizeMM, 2928). +-define(wxPrintout_GetPageSizePixels, 2929). +-define(wxPrintout_GetPaperRectPixels, 2930). +-define(wxPrintout_GetPPIPrinter, 2931). +-define(wxPrintout_GetPPIScreen, 2932). +-define(wxPrintout_GetTitle, 2933). +-define(wxPrintout_IsPreview, 2934). +-define(wxPrintout_FitThisSizeToPaper, 2935). +-define(wxPrintout_FitThisSizeToPage, 2936). +-define(wxPrintout_FitThisSizeToPageMargins, 2937). +-define(wxPrintout_MapScreenSizeToPaper, 2938). +-define(wxPrintout_MapScreenSizeToPage, 2939). +-define(wxPrintout_MapScreenSizeToPageMargins, 2940). +-define(wxPrintout_MapScreenSizeToDevice, 2941). +-define(wxPrintout_GetLogicalPaperRect, 2942). +-define(wxPrintout_GetLogicalPageRect, 2943). +-define(wxPrintout_GetLogicalPageMarginsRect, 2944). +-define(wxPrintout_SetLogicalOrigin, 2945). +-define(wxPrintout_OffsetLogicalOrigin, 2946). +-define(wxStyledTextCtrl_new_2, 2947). +-define(wxStyledTextCtrl_new_0, 2948). +-define(wxStyledTextCtrl_destruct, 2949). +-define(wxStyledTextCtrl_Create, 2950). +-define(wxStyledTextCtrl_AddText, 2951). +-define(wxStyledTextCtrl_AddStyledText, 2952). +-define(wxStyledTextCtrl_InsertText, 2953). +-define(wxStyledTextCtrl_ClearAll, 2954). +-define(wxStyledTextCtrl_ClearDocumentStyle, 2955). +-define(wxStyledTextCtrl_GetLength, 2956). +-define(wxStyledTextCtrl_GetCharAt, 2957). +-define(wxStyledTextCtrl_GetCurrentPos, 2958). +-define(wxStyledTextCtrl_GetAnchor, 2959). +-define(wxStyledTextCtrl_GetStyleAt, 2960). +-define(wxStyledTextCtrl_Redo, 2961). +-define(wxStyledTextCtrl_SetUndoCollection, 2962). +-define(wxStyledTextCtrl_SelectAll, 2963). +-define(wxStyledTextCtrl_SetSavePoint, 2964). +-define(wxStyledTextCtrl_GetStyledText, 2965). +-define(wxStyledTextCtrl_CanRedo, 2966). +-define(wxStyledTextCtrl_MarkerLineFromHandle, 2967). +-define(wxStyledTextCtrl_MarkerDeleteHandle, 2968). +-define(wxStyledTextCtrl_GetUndoCollection, 2969). +-define(wxStyledTextCtrl_GetViewWhiteSpace, 2970). +-define(wxStyledTextCtrl_SetViewWhiteSpace, 2971). +-define(wxStyledTextCtrl_PositionFromPoint, 2972). +-define(wxStyledTextCtrl_PositionFromPointClose, 2973). +-define(wxStyledTextCtrl_GotoLine, 2974). +-define(wxStyledTextCtrl_GotoPos, 2975). +-define(wxStyledTextCtrl_SetAnchor, 2976). +-define(wxStyledTextCtrl_GetCurLine, 2977). +-define(wxStyledTextCtrl_GetEndStyled, 2978). +-define(wxStyledTextCtrl_ConvertEOLs, 2979). +-define(wxStyledTextCtrl_GetEOLMode, 2980). +-define(wxStyledTextCtrl_SetEOLMode, 2981). +-define(wxStyledTextCtrl_StartStyling, 2982). +-define(wxStyledTextCtrl_SetStyling, 2983). +-define(wxStyledTextCtrl_GetBufferedDraw, 2984). +-define(wxStyledTextCtrl_SetBufferedDraw, 2985). +-define(wxStyledTextCtrl_SetTabWidth, 2986). +-define(wxStyledTextCtrl_GetTabWidth, 2987). +-define(wxStyledTextCtrl_SetCodePage, 2988). +-define(wxStyledTextCtrl_MarkerDefine, 2989). +-define(wxStyledTextCtrl_MarkerSetForeground, 2990). +-define(wxStyledTextCtrl_MarkerSetBackground, 2991). +-define(wxStyledTextCtrl_MarkerAdd, 2992). +-define(wxStyledTextCtrl_MarkerDelete, 2993). +-define(wxStyledTextCtrl_MarkerDeleteAll, 2994). +-define(wxStyledTextCtrl_MarkerGet, 2995). +-define(wxStyledTextCtrl_MarkerNext, 2996). +-define(wxStyledTextCtrl_MarkerPrevious, 2997). +-define(wxStyledTextCtrl_MarkerDefineBitmap, 2998). +-define(wxStyledTextCtrl_MarkerAddSet, 2999). +-define(wxStyledTextCtrl_MarkerSetAlpha, 3000). +-define(wxStyledTextCtrl_SetMarginType, 3001). +-define(wxStyledTextCtrl_GetMarginType, 3002). +-define(wxStyledTextCtrl_SetMarginWidth, 3003). +-define(wxStyledTextCtrl_GetMarginWidth, 3004). +-define(wxStyledTextCtrl_SetMarginMask, 3005). +-define(wxStyledTextCtrl_GetMarginMask, 3006). +-define(wxStyledTextCtrl_SetMarginSensitive, 3007). +-define(wxStyledTextCtrl_GetMarginSensitive, 3008). +-define(wxStyledTextCtrl_StyleClearAll, 3009). +-define(wxStyledTextCtrl_StyleSetForeground, 3010). +-define(wxStyledTextCtrl_StyleSetBackground, 3011). +-define(wxStyledTextCtrl_StyleSetBold, 3012). +-define(wxStyledTextCtrl_StyleSetItalic, 3013). +-define(wxStyledTextCtrl_StyleSetSize, 3014). +-define(wxStyledTextCtrl_StyleSetFaceName, 3015). +-define(wxStyledTextCtrl_StyleSetEOLFilled, 3016). +-define(wxStyledTextCtrl_StyleResetDefault, 3017). +-define(wxStyledTextCtrl_StyleSetUnderline, 3018). +-define(wxStyledTextCtrl_StyleSetCase, 3019). +-define(wxStyledTextCtrl_StyleSetHotSpot, 3020). +-define(wxStyledTextCtrl_SetSelForeground, 3021). +-define(wxStyledTextCtrl_SetSelBackground, 3022). +-define(wxStyledTextCtrl_GetSelAlpha, 3023). +-define(wxStyledTextCtrl_SetSelAlpha, 3024). +-define(wxStyledTextCtrl_SetCaretForeground, 3025). +-define(wxStyledTextCtrl_CmdKeyAssign, 3026). +-define(wxStyledTextCtrl_CmdKeyClear, 3027). +-define(wxStyledTextCtrl_CmdKeyClearAll, 3028). +-define(wxStyledTextCtrl_SetStyleBytes, 3029). +-define(wxStyledTextCtrl_StyleSetVisible, 3030). +-define(wxStyledTextCtrl_GetCaretPeriod, 3031). +-define(wxStyledTextCtrl_SetCaretPeriod, 3032). +-define(wxStyledTextCtrl_SetWordChars, 3033). +-define(wxStyledTextCtrl_BeginUndoAction, 3034). +-define(wxStyledTextCtrl_EndUndoAction, 3035). +-define(wxStyledTextCtrl_IndicatorSetStyle, 3036). +-define(wxStyledTextCtrl_IndicatorGetStyle, 3037). +-define(wxStyledTextCtrl_IndicatorSetForeground, 3038). +-define(wxStyledTextCtrl_IndicatorGetForeground, 3039). +-define(wxStyledTextCtrl_SetWhitespaceForeground, 3040). +-define(wxStyledTextCtrl_SetWhitespaceBackground, 3041). +-define(wxStyledTextCtrl_GetStyleBits, 3042). +-define(wxStyledTextCtrl_SetLineState, 3043). +-define(wxStyledTextCtrl_GetLineState, 3044). +-define(wxStyledTextCtrl_GetMaxLineState, 3045). +-define(wxStyledTextCtrl_GetCaretLineVisible, 3046). +-define(wxStyledTextCtrl_SetCaretLineVisible, 3047). +-define(wxStyledTextCtrl_GetCaretLineBackground, 3048). +-define(wxStyledTextCtrl_SetCaretLineBackground, 3049). +-define(wxStyledTextCtrl_AutoCompShow, 3050). +-define(wxStyledTextCtrl_AutoCompCancel, 3051). +-define(wxStyledTextCtrl_AutoCompActive, 3052). +-define(wxStyledTextCtrl_AutoCompPosStart, 3053). +-define(wxStyledTextCtrl_AutoCompComplete, 3054). +-define(wxStyledTextCtrl_AutoCompStops, 3055). +-define(wxStyledTextCtrl_AutoCompSetSeparator, 3056). +-define(wxStyledTextCtrl_AutoCompGetSeparator, 3057). +-define(wxStyledTextCtrl_AutoCompSelect, 3058). +-define(wxStyledTextCtrl_AutoCompSetCancelAtStart, 3059). +-define(wxStyledTextCtrl_AutoCompGetCancelAtStart, 3060). +-define(wxStyledTextCtrl_AutoCompSetFillUps, 3061). +-define(wxStyledTextCtrl_AutoCompSetChooseSingle, 3062). +-define(wxStyledTextCtrl_AutoCompGetChooseSingle, 3063). +-define(wxStyledTextCtrl_AutoCompSetIgnoreCase, 3064). +-define(wxStyledTextCtrl_AutoCompGetIgnoreCase, 3065). +-define(wxStyledTextCtrl_UserListShow, 3066). +-define(wxStyledTextCtrl_AutoCompSetAutoHide, 3067). +-define(wxStyledTextCtrl_AutoCompGetAutoHide, 3068). +-define(wxStyledTextCtrl_AutoCompSetDropRestOfWord, 3069). +-define(wxStyledTextCtrl_AutoCompGetDropRestOfWord, 3070). +-define(wxStyledTextCtrl_RegisterImage, 3071). +-define(wxStyledTextCtrl_ClearRegisteredImages, 3072). +-define(wxStyledTextCtrl_AutoCompGetTypeSeparator, 3073). +-define(wxStyledTextCtrl_AutoCompSetTypeSeparator, 3074). +-define(wxStyledTextCtrl_AutoCompSetMaxWidth, 3075). +-define(wxStyledTextCtrl_AutoCompGetMaxWidth, 3076). +-define(wxStyledTextCtrl_AutoCompSetMaxHeight, 3077). +-define(wxStyledTextCtrl_AutoCompGetMaxHeight, 3078). +-define(wxStyledTextCtrl_SetIndent, 3079). +-define(wxStyledTextCtrl_GetIndent, 3080). +-define(wxStyledTextCtrl_SetUseTabs, 3081). +-define(wxStyledTextCtrl_GetUseTabs, 3082). +-define(wxStyledTextCtrl_SetLineIndentation, 3083). +-define(wxStyledTextCtrl_GetLineIndentation, 3084). +-define(wxStyledTextCtrl_GetLineIndentPosition, 3085). +-define(wxStyledTextCtrl_GetColumn, 3086). +-define(wxStyledTextCtrl_SetUseHorizontalScrollBar, 3087). +-define(wxStyledTextCtrl_GetUseHorizontalScrollBar, 3088). +-define(wxStyledTextCtrl_SetIndentationGuides, 3089). +-define(wxStyledTextCtrl_GetIndentationGuides, 3090). +-define(wxStyledTextCtrl_SetHighlightGuide, 3091). +-define(wxStyledTextCtrl_GetHighlightGuide, 3092). +-define(wxStyledTextCtrl_GetLineEndPosition, 3093). +-define(wxStyledTextCtrl_GetCodePage, 3094). +-define(wxStyledTextCtrl_GetCaretForeground, 3095). +-define(wxStyledTextCtrl_GetReadOnly, 3096). +-define(wxStyledTextCtrl_SetCurrentPos, 3097). +-define(wxStyledTextCtrl_SetSelectionStart, 3098). +-define(wxStyledTextCtrl_GetSelectionStart, 3099). +-define(wxStyledTextCtrl_SetSelectionEnd, 3100). +-define(wxStyledTextCtrl_GetSelectionEnd, 3101). +-define(wxStyledTextCtrl_SetPrintMagnification, 3102). +-define(wxStyledTextCtrl_GetPrintMagnification, 3103). +-define(wxStyledTextCtrl_SetPrintColourMode, 3104). +-define(wxStyledTextCtrl_GetPrintColourMode, 3105). +-define(wxStyledTextCtrl_FindText, 3106). +-define(wxStyledTextCtrl_FormatRange, 3107). +-define(wxStyledTextCtrl_GetFirstVisibleLine, 3108). +-define(wxStyledTextCtrl_GetLine, 3109). +-define(wxStyledTextCtrl_GetLineCount, 3110). +-define(wxStyledTextCtrl_SetMarginLeft, 3111). +-define(wxStyledTextCtrl_GetMarginLeft, 3112). +-define(wxStyledTextCtrl_SetMarginRight, 3113). +-define(wxStyledTextCtrl_GetMarginRight, 3114). +-define(wxStyledTextCtrl_GetModify, 3115). +-define(wxStyledTextCtrl_SetSelection, 3116). +-define(wxStyledTextCtrl_GetSelectedText, 3117). +-define(wxStyledTextCtrl_GetTextRange, 3118). +-define(wxStyledTextCtrl_HideSelection, 3119). +-define(wxStyledTextCtrl_LineFromPosition, 3120). +-define(wxStyledTextCtrl_PositionFromLine, 3121). +-define(wxStyledTextCtrl_LineScroll, 3122). +-define(wxStyledTextCtrl_EnsureCaretVisible, 3123). +-define(wxStyledTextCtrl_ReplaceSelection, 3124). +-define(wxStyledTextCtrl_SetReadOnly, 3125). +-define(wxStyledTextCtrl_CanPaste, 3126). +-define(wxStyledTextCtrl_CanUndo, 3127). +-define(wxStyledTextCtrl_EmptyUndoBuffer, 3128). +-define(wxStyledTextCtrl_Undo, 3129). +-define(wxStyledTextCtrl_Cut, 3130). +-define(wxStyledTextCtrl_Copy, 3131). +-define(wxStyledTextCtrl_Paste, 3132). +-define(wxStyledTextCtrl_Clear, 3133). +-define(wxStyledTextCtrl_SetText, 3134). +-define(wxStyledTextCtrl_GetText, 3135). +-define(wxStyledTextCtrl_GetTextLength, 3136). +-define(wxStyledTextCtrl_GetOvertype, 3137). +-define(wxStyledTextCtrl_SetCaretWidth, 3138). +-define(wxStyledTextCtrl_GetCaretWidth, 3139). +-define(wxStyledTextCtrl_SetTargetStart, 3140). +-define(wxStyledTextCtrl_GetTargetStart, 3141). +-define(wxStyledTextCtrl_SetTargetEnd, 3142). +-define(wxStyledTextCtrl_GetTargetEnd, 3143). +-define(wxStyledTextCtrl_ReplaceTarget, 3144). +-define(wxStyledTextCtrl_SearchInTarget, 3145). +-define(wxStyledTextCtrl_SetSearchFlags, 3146). +-define(wxStyledTextCtrl_GetSearchFlags, 3147). +-define(wxStyledTextCtrl_CallTipShow, 3148). +-define(wxStyledTextCtrl_CallTipCancel, 3149). +-define(wxStyledTextCtrl_CallTipActive, 3150). +-define(wxStyledTextCtrl_CallTipPosAtStart, 3151). +-define(wxStyledTextCtrl_CallTipSetHighlight, 3152). +-define(wxStyledTextCtrl_CallTipSetBackground, 3153). +-define(wxStyledTextCtrl_CallTipSetForeground, 3154). +-define(wxStyledTextCtrl_CallTipSetForegroundHighlight, 3155). +-define(wxStyledTextCtrl_CallTipUseStyle, 3156). +-define(wxStyledTextCtrl_VisibleFromDocLine, 3157). +-define(wxStyledTextCtrl_DocLineFromVisible, 3158). +-define(wxStyledTextCtrl_WrapCount, 3159). +-define(wxStyledTextCtrl_SetFoldLevel, 3160). +-define(wxStyledTextCtrl_GetFoldLevel, 3161). +-define(wxStyledTextCtrl_GetLastChild, 3162). +-define(wxStyledTextCtrl_GetFoldParent, 3163). +-define(wxStyledTextCtrl_ShowLines, 3164). +-define(wxStyledTextCtrl_HideLines, 3165). +-define(wxStyledTextCtrl_GetLineVisible, 3166). +-define(wxStyledTextCtrl_SetFoldExpanded, 3167). +-define(wxStyledTextCtrl_GetFoldExpanded, 3168). +-define(wxStyledTextCtrl_ToggleFold, 3169). +-define(wxStyledTextCtrl_EnsureVisible, 3170). +-define(wxStyledTextCtrl_SetFoldFlags, 3171). +-define(wxStyledTextCtrl_EnsureVisibleEnforcePolicy, 3172). +-define(wxStyledTextCtrl_SetTabIndents, 3173). +-define(wxStyledTextCtrl_GetTabIndents, 3174). +-define(wxStyledTextCtrl_SetBackSpaceUnIndents, 3175). +-define(wxStyledTextCtrl_GetBackSpaceUnIndents, 3176). +-define(wxStyledTextCtrl_SetMouseDwellTime, 3177). +-define(wxStyledTextCtrl_GetMouseDwellTime, 3178). +-define(wxStyledTextCtrl_WordStartPosition, 3179). +-define(wxStyledTextCtrl_WordEndPosition, 3180). +-define(wxStyledTextCtrl_SetWrapMode, 3181). +-define(wxStyledTextCtrl_GetWrapMode, 3182). +-define(wxStyledTextCtrl_SetWrapVisualFlags, 3183). +-define(wxStyledTextCtrl_GetWrapVisualFlags, 3184). +-define(wxStyledTextCtrl_SetWrapVisualFlagsLocation, 3185). +-define(wxStyledTextCtrl_GetWrapVisualFlagsLocation, 3186). +-define(wxStyledTextCtrl_SetWrapStartIndent, 3187). +-define(wxStyledTextCtrl_GetWrapStartIndent, 3188). +-define(wxStyledTextCtrl_SetLayoutCache, 3189). +-define(wxStyledTextCtrl_GetLayoutCache, 3190). +-define(wxStyledTextCtrl_SetScrollWidth, 3191). +-define(wxStyledTextCtrl_GetScrollWidth, 3192). +-define(wxStyledTextCtrl_TextWidth, 3193). +-define(wxStyledTextCtrl_GetEndAtLastLine, 3194). +-define(wxStyledTextCtrl_TextHeight, 3195). +-define(wxStyledTextCtrl_SetUseVerticalScrollBar, 3196). +-define(wxStyledTextCtrl_GetUseVerticalScrollBar, 3197). +-define(wxStyledTextCtrl_AppendText, 3198). +-define(wxStyledTextCtrl_GetTwoPhaseDraw, 3199). +-define(wxStyledTextCtrl_SetTwoPhaseDraw, 3200). +-define(wxStyledTextCtrl_TargetFromSelection, 3201). +-define(wxStyledTextCtrl_LinesJoin, 3202). +-define(wxStyledTextCtrl_LinesSplit, 3203). +-define(wxStyledTextCtrl_SetFoldMarginColour, 3204). +-define(wxStyledTextCtrl_SetFoldMarginHiColour, 3205). +-define(wxStyledTextCtrl_LineDown, 3206). +-define(wxStyledTextCtrl_LineDownExtend, 3207). +-define(wxStyledTextCtrl_LineUp, 3208). +-define(wxStyledTextCtrl_LineUpExtend, 3209). +-define(wxStyledTextCtrl_CharLeft, 3210). +-define(wxStyledTextCtrl_CharLeftExtend, 3211). +-define(wxStyledTextCtrl_CharRight, 3212). +-define(wxStyledTextCtrl_CharRightExtend, 3213). +-define(wxStyledTextCtrl_WordLeft, 3214). +-define(wxStyledTextCtrl_WordLeftExtend, 3215). +-define(wxStyledTextCtrl_WordRight, 3216). +-define(wxStyledTextCtrl_WordRightExtend, 3217). +-define(wxStyledTextCtrl_Home, 3218). +-define(wxStyledTextCtrl_HomeExtend, 3219). +-define(wxStyledTextCtrl_LineEnd, 3220). +-define(wxStyledTextCtrl_LineEndExtend, 3221). +-define(wxStyledTextCtrl_DocumentStart, 3222). +-define(wxStyledTextCtrl_DocumentStartExtend, 3223). +-define(wxStyledTextCtrl_DocumentEnd, 3224). +-define(wxStyledTextCtrl_DocumentEndExtend, 3225). +-define(wxStyledTextCtrl_PageUp, 3226). +-define(wxStyledTextCtrl_PageUpExtend, 3227). +-define(wxStyledTextCtrl_PageDown, 3228). +-define(wxStyledTextCtrl_PageDownExtend, 3229). +-define(wxStyledTextCtrl_EditToggleOvertype, 3230). +-define(wxStyledTextCtrl_Cancel, 3231). +-define(wxStyledTextCtrl_DeleteBack, 3232). +-define(wxStyledTextCtrl_Tab, 3233). +-define(wxStyledTextCtrl_BackTab, 3234). +-define(wxStyledTextCtrl_NewLine, 3235). +-define(wxStyledTextCtrl_FormFeed, 3236). +-define(wxStyledTextCtrl_VCHome, 3237). +-define(wxStyledTextCtrl_VCHomeExtend, 3238). +-define(wxStyledTextCtrl_ZoomIn, 3239). +-define(wxStyledTextCtrl_ZoomOut, 3240). +-define(wxStyledTextCtrl_DelWordLeft, 3241). +-define(wxStyledTextCtrl_DelWordRight, 3242). +-define(wxStyledTextCtrl_LineCut, 3243). +-define(wxStyledTextCtrl_LineDelete, 3244). +-define(wxStyledTextCtrl_LineTranspose, 3245). +-define(wxStyledTextCtrl_LineDuplicate, 3246). +-define(wxStyledTextCtrl_LowerCase, 3247). +-define(wxStyledTextCtrl_UpperCase, 3248). +-define(wxStyledTextCtrl_LineScrollDown, 3249). +-define(wxStyledTextCtrl_LineScrollUp, 3250). +-define(wxStyledTextCtrl_DeleteBackNotLine, 3251). +-define(wxStyledTextCtrl_HomeDisplay, 3252). +-define(wxStyledTextCtrl_HomeDisplayExtend, 3253). +-define(wxStyledTextCtrl_LineEndDisplay, 3254). +-define(wxStyledTextCtrl_LineEndDisplayExtend, 3255). +-define(wxStyledTextCtrl_HomeWrapExtend, 3256). +-define(wxStyledTextCtrl_LineEndWrap, 3257). +-define(wxStyledTextCtrl_LineEndWrapExtend, 3258). +-define(wxStyledTextCtrl_VCHomeWrap, 3259). +-define(wxStyledTextCtrl_VCHomeWrapExtend, 3260). +-define(wxStyledTextCtrl_LineCopy, 3261). +-define(wxStyledTextCtrl_MoveCaretInsideView, 3262). +-define(wxStyledTextCtrl_LineLength, 3263). +-define(wxStyledTextCtrl_BraceHighlight, 3264). +-define(wxStyledTextCtrl_BraceBadLight, 3265). +-define(wxStyledTextCtrl_BraceMatch, 3266). +-define(wxStyledTextCtrl_GetViewEOL, 3267). +-define(wxStyledTextCtrl_SetViewEOL, 3268). +-define(wxStyledTextCtrl_SetModEventMask, 3269). +-define(wxStyledTextCtrl_GetEdgeColumn, 3270). +-define(wxStyledTextCtrl_SetEdgeColumn, 3271). +-define(wxStyledTextCtrl_GetEdgeMode, 3272). +-define(wxStyledTextCtrl_GetEdgeColour, 3273). +-define(wxStyledTextCtrl_SetEdgeColour, 3274). +-define(wxStyledTextCtrl_SearchAnchor, 3275). +-define(wxStyledTextCtrl_SearchNext, 3276). +-define(wxStyledTextCtrl_SearchPrev, 3277). +-define(wxStyledTextCtrl_LinesOnScreen, 3278). +-define(wxStyledTextCtrl_UsePopUp, 3279). +-define(wxStyledTextCtrl_SelectionIsRectangle, 3280). +-define(wxStyledTextCtrl_SetZoom, 3281). +-define(wxStyledTextCtrl_GetZoom, 3282). +-define(wxStyledTextCtrl_GetModEventMask, 3283). +-define(wxStyledTextCtrl_SetSTCFocus, 3284). +-define(wxStyledTextCtrl_GetSTCFocus, 3285). +-define(wxStyledTextCtrl_SetStatus, 3286). +-define(wxStyledTextCtrl_GetStatus, 3287). +-define(wxStyledTextCtrl_SetMouseDownCaptures, 3288). +-define(wxStyledTextCtrl_GetMouseDownCaptures, 3289). +-define(wxStyledTextCtrl_SetSTCCursor, 3290). +-define(wxStyledTextCtrl_GetSTCCursor, 3291). +-define(wxStyledTextCtrl_SetControlCharSymbol, 3292). +-define(wxStyledTextCtrl_GetControlCharSymbol, 3293). +-define(wxStyledTextCtrl_WordPartLeft, 3294). +-define(wxStyledTextCtrl_WordPartLeftExtend, 3295). +-define(wxStyledTextCtrl_WordPartRight, 3296). +-define(wxStyledTextCtrl_WordPartRightExtend, 3297). +-define(wxStyledTextCtrl_SetVisiblePolicy, 3298). +-define(wxStyledTextCtrl_DelLineLeft, 3299). +-define(wxStyledTextCtrl_DelLineRight, 3300). +-define(wxStyledTextCtrl_GetXOffset, 3301). +-define(wxStyledTextCtrl_ChooseCaretX, 3302). +-define(wxStyledTextCtrl_SetXCaretPolicy, 3303). +-define(wxStyledTextCtrl_SetYCaretPolicy, 3304). +-define(wxStyledTextCtrl_GetPrintWrapMode, 3305). +-define(wxStyledTextCtrl_SetHotspotActiveForeground, 3306). +-define(wxStyledTextCtrl_SetHotspotActiveBackground, 3307). +-define(wxStyledTextCtrl_SetHotspotActiveUnderline, 3308). +-define(wxStyledTextCtrl_SetHotspotSingleLine, 3309). +-define(wxStyledTextCtrl_ParaDownExtend, 3310). +-define(wxStyledTextCtrl_ParaUp, 3311). +-define(wxStyledTextCtrl_ParaUpExtend, 3312). +-define(wxStyledTextCtrl_PositionBefore, 3313). +-define(wxStyledTextCtrl_PositionAfter, 3314). +-define(wxStyledTextCtrl_CopyRange, 3315). +-define(wxStyledTextCtrl_CopyText, 3316). +-define(wxStyledTextCtrl_SetSelectionMode, 3317). +-define(wxStyledTextCtrl_GetSelectionMode, 3318). +-define(wxStyledTextCtrl_LineDownRectExtend, 3319). +-define(wxStyledTextCtrl_LineUpRectExtend, 3320). +-define(wxStyledTextCtrl_CharLeftRectExtend, 3321). +-define(wxStyledTextCtrl_CharRightRectExtend, 3322). +-define(wxStyledTextCtrl_HomeRectExtend, 3323). +-define(wxStyledTextCtrl_VCHomeRectExtend, 3324). +-define(wxStyledTextCtrl_LineEndRectExtend, 3325). +-define(wxStyledTextCtrl_PageUpRectExtend, 3326). +-define(wxStyledTextCtrl_PageDownRectExtend, 3327). +-define(wxStyledTextCtrl_StutteredPageUp, 3328). +-define(wxStyledTextCtrl_StutteredPageUpExtend, 3329). +-define(wxStyledTextCtrl_StutteredPageDown, 3330). +-define(wxStyledTextCtrl_StutteredPageDownExtend, 3331). +-define(wxStyledTextCtrl_WordLeftEnd, 3332). +-define(wxStyledTextCtrl_WordLeftEndExtend, 3333). +-define(wxStyledTextCtrl_WordRightEnd, 3334). +-define(wxStyledTextCtrl_WordRightEndExtend, 3335). +-define(wxStyledTextCtrl_SetWhitespaceChars, 3336). +-define(wxStyledTextCtrl_SetCharsDefault, 3337). +-define(wxStyledTextCtrl_AutoCompGetCurrent, 3338). +-define(wxStyledTextCtrl_Allocate, 3339). +-define(wxStyledTextCtrl_FindColumn, 3340). +-define(wxStyledTextCtrl_GetCaretSticky, 3341). +-define(wxStyledTextCtrl_SetCaretSticky, 3342). +-define(wxStyledTextCtrl_ToggleCaretSticky, 3343). +-define(wxStyledTextCtrl_SetPasteConvertEndings, 3344). +-define(wxStyledTextCtrl_GetPasteConvertEndings, 3345). +-define(wxStyledTextCtrl_SelectionDuplicate, 3346). +-define(wxStyledTextCtrl_SetCaretLineBackAlpha, 3347). +-define(wxStyledTextCtrl_GetCaretLineBackAlpha, 3348). +-define(wxStyledTextCtrl_StartRecord, 3349). +-define(wxStyledTextCtrl_StopRecord, 3350). +-define(wxStyledTextCtrl_SetLexer, 3351). +-define(wxStyledTextCtrl_GetLexer, 3352). +-define(wxStyledTextCtrl_Colourise, 3353). +-define(wxStyledTextCtrl_SetProperty, 3354). +-define(wxStyledTextCtrl_SetKeyWords, 3355). +-define(wxStyledTextCtrl_SetLexerLanguage, 3356). +-define(wxStyledTextCtrl_GetProperty, 3357). +-define(wxStyledTextCtrl_GetStyleBitsNeeded, 3358). +-define(wxStyledTextCtrl_GetCurrentLine, 3359). +-define(wxStyledTextCtrl_StyleSetSpec, 3360). +-define(wxStyledTextCtrl_StyleSetFont, 3361). +-define(wxStyledTextCtrl_StyleSetFontAttr, 3362). +-define(wxStyledTextCtrl_StyleSetCharacterSet, 3363). +-define(wxStyledTextCtrl_StyleSetFontEncoding, 3364). +-define(wxStyledTextCtrl_CmdKeyExecute, 3365). +-define(wxStyledTextCtrl_SetMargins, 3366). +-define(wxStyledTextCtrl_GetSelection, 3367). +-define(wxStyledTextCtrl_PointFromPosition, 3368). +-define(wxStyledTextCtrl_ScrollToLine, 3369). +-define(wxStyledTextCtrl_ScrollToColumn, 3370). +-define(wxStyledTextCtrl_SendMsg, 3371). +-define(wxStyledTextCtrl_SetVScrollBar, 3372). +-define(wxStyledTextCtrl_SetHScrollBar, 3373). +-define(wxStyledTextCtrl_GetLastKeydownProcessed, 3374). +-define(wxStyledTextCtrl_SetLastKeydownProcessed, 3375). +-define(wxStyledTextCtrl_SaveFile, 3376). +-define(wxStyledTextCtrl_LoadFile, 3377). +-define(wxStyledTextCtrl_DoDragOver, 3378). +-define(wxStyledTextCtrl_DoDropText, 3379). +-define(wxStyledTextCtrl_GetUseAntiAliasing, 3380). +-define(wxStyledTextCtrl_AddTextRaw, 3381). +-define(wxStyledTextCtrl_InsertTextRaw, 3382). +-define(wxStyledTextCtrl_GetCurLineRaw, 3383). +-define(wxStyledTextCtrl_GetLineRaw, 3384). +-define(wxStyledTextCtrl_GetSelectedTextRaw, 3385). +-define(wxStyledTextCtrl_GetTextRangeRaw, 3386). +-define(wxStyledTextCtrl_SetTextRaw, 3387). +-define(wxStyledTextCtrl_GetTextRaw, 3388). +-define(wxStyledTextCtrl_AppendTextRaw, 3389). +-define(wxArtProvider_GetBitmap, 3390). +-define(wxArtProvider_GetIcon, 3391). +-define(wxTreeEvent_GetKeyCode, 3392). +-define(wxTreeEvent_GetItem, 3393). +-define(wxTreeEvent_GetKeyEvent, 3394). +-define(wxTreeEvent_GetLabel, 3395). +-define(wxTreeEvent_GetOldItem, 3396). +-define(wxTreeEvent_GetPoint, 3397). +-define(wxTreeEvent_IsEditCancelled, 3398). +-define(wxTreeEvent_SetToolTip, 3399). +-define(wxNotebookEvent_GetOldSelection, 3400). +-define(wxNotebookEvent_GetSelection, 3401). +-define(wxNotebookEvent_SetOldSelection, 3402). +-define(wxNotebookEvent_SetSelection, 3403). +-define(wxFileDataObject_new, 3404). +-define(wxFileDataObject_AddFile, 3405). +-define(wxFileDataObject_GetFilenames, 3406). +-define(wxFileDataObject_destroy, 3407). +-define(wxTextDataObject_new, 3408). +-define(wxTextDataObject_GetTextLength, 3409). +-define(wxTextDataObject_GetText, 3410). +-define(wxTextDataObject_SetText, 3411). +-define(wxTextDataObject_destroy, 3412). +-define(wxBitmapDataObject_new_1_1, 3413). +-define(wxBitmapDataObject_new_1_0, 3414). +-define(wxBitmapDataObject_GetBitmap, 3415). +-define(wxBitmapDataObject_SetBitmap, 3416). +-define(wxBitmapDataObject_destroy, 3417). +-define(wxClipboard_new, 3419). +-define(wxClipboard_destruct, 3420). +-define(wxClipboard_AddData, 3421). +-define(wxClipboard_Clear, 3422). +-define(wxClipboard_Close, 3423). +-define(wxClipboard_Flush, 3424). +-define(wxClipboard_GetData, 3425). +-define(wxClipboard_IsOpened, 3426). +-define(wxClipboard_Open, 3427). +-define(wxClipboard_SetData, 3428). +-define(wxClipboard_UsePrimarySelection, 3430). +-define(wxClipboard_IsSupported, 3431). +-define(wxClipboard_Get, 3432). +-define(wxSpinEvent_GetPosition, 3433). +-define(wxSpinEvent_SetPosition, 3434). +-define(wxSplitterWindow_new_0, 3435). +-define(wxSplitterWindow_new_2, 3436). +-define(wxSplitterWindow_destruct, 3437). +-define(wxSplitterWindow_Create, 3438). +-define(wxSplitterWindow_GetMinimumPaneSize, 3439). +-define(wxSplitterWindow_GetSashGravity, 3440). +-define(wxSplitterWindow_GetSashPosition, 3441). +-define(wxSplitterWindow_GetSplitMode, 3442). +-define(wxSplitterWindow_GetWindow1, 3443). +-define(wxSplitterWindow_GetWindow2, 3444). +-define(wxSplitterWindow_Initialize, 3445). +-define(wxSplitterWindow_IsSplit, 3446). +-define(wxSplitterWindow_ReplaceWindow, 3447). +-define(wxSplitterWindow_SetSashGravity, 3448). +-define(wxSplitterWindow_SetSashPosition, 3449). +-define(wxSplitterWindow_SetSashSize, 3450). +-define(wxSplitterWindow_SetMinimumPaneSize, 3451). +-define(wxSplitterWindow_SetSplitMode, 3452). +-define(wxSplitterWindow_SplitHorizontally, 3453). +-define(wxSplitterWindow_SplitVertically, 3454). +-define(wxSplitterWindow_Unsplit, 3455). +-define(wxSplitterWindow_UpdateSize, 3456). +-define(wxSplitterEvent_GetSashPosition, 3457). +-define(wxSplitterEvent_GetX, 3458). +-define(wxSplitterEvent_GetY, 3459). +-define(wxSplitterEvent_GetWindowBeingRemoved, 3460). +-define(wxSplitterEvent_SetSashPosition, 3461). +-define(wxHtmlWindow_new_0, 3462). +-define(wxHtmlWindow_new_2, 3463). +-define(wxHtmlWindow_AppendToPage, 3464). +-define(wxHtmlWindow_GetOpenedAnchor, 3465). +-define(wxHtmlWindow_GetOpenedPage, 3466). +-define(wxHtmlWindow_GetOpenedPageTitle, 3467). +-define(wxHtmlWindow_GetRelatedFrame, 3468). +-define(wxHtmlWindow_HistoryBack, 3469). +-define(wxHtmlWindow_HistoryCanBack, 3470). +-define(wxHtmlWindow_HistoryCanForward, 3471). +-define(wxHtmlWindow_HistoryClear, 3472). +-define(wxHtmlWindow_HistoryForward, 3473). +-define(wxHtmlWindow_LoadFile, 3474). +-define(wxHtmlWindow_LoadPage, 3475). +-define(wxHtmlWindow_SelectAll, 3476). +-define(wxHtmlWindow_SelectionToText, 3477). +-define(wxHtmlWindow_SelectLine, 3478). +-define(wxHtmlWindow_SelectWord, 3479). +-define(wxHtmlWindow_SetBorders, 3480). +-define(wxHtmlWindow_SetFonts, 3481). +-define(wxHtmlWindow_SetPage, 3482). +-define(wxHtmlWindow_SetRelatedFrame, 3483). +-define(wxHtmlWindow_SetRelatedStatusBar, 3484). +-define(wxHtmlWindow_ToText, 3485). +-define(wxHtmlWindow_destroy, 3486). +-define(wxHtmlLinkEvent_GetLinkInfo, 3487). +-define(wxSystemSettings_GetColour, 3488). +-define(wxSystemSettings_GetFont, 3489). +-define(wxSystemSettings_GetMetric, 3490). +-define(wxSystemSettings_GetScreenType, 3491). +-define(wxAuiNotebookEvent_SetSelection, 3492). +-define(wxAuiNotebookEvent_GetSelection, 3493). +-define(wxAuiNotebookEvent_SetOldSelection, 3494). +-define(wxAuiNotebookEvent_GetOldSelection, 3495). +-define(wxAuiNotebookEvent_SetDragSource, 3496). +-define(wxAuiNotebookEvent_GetDragSource, 3497). +-define(wxAuiManagerEvent_SetManager, 3498). +-define(wxAuiManagerEvent_GetManager, 3499). +-define(wxAuiManagerEvent_SetPane, 3500). +-define(wxAuiManagerEvent_GetPane, 3501). +-define(wxAuiManagerEvent_SetButton, 3502). +-define(wxAuiManagerEvent_GetButton, 3503). +-define(wxAuiManagerEvent_SetDC, 3504). +-define(wxAuiManagerEvent_GetDC, 3505). +-define(wxAuiManagerEvent_Veto, 3506). +-define(wxAuiManagerEvent_GetVeto, 3507). +-define(wxAuiManagerEvent_SetCanVeto, 3508). +-define(wxAuiManagerEvent_CanVeto, 3509). +-define(wxLogNull_new, 3510). +-define(wxLogNull_destroy, 3511). diff --git a/lib/wx/src/wx.app.src b/lib/wx/src/wx.app.src new file mode 100644 index 0000000000..e13982b0c1 --- /dev/null +++ b/lib/wx/src/wx.app.src @@ -0,0 +1,37 @@ +%% This is an -*- erlang -*- file. +%% +%% %CopyrightBegin% +%% +%% Copyright Ericsson AB 2010. All Rights Reserved. +%% +%% The contents of this file are subject to the Erlang Public License, +%% Version 1.1, (the "License"); you may not use this file except in +%% compliance with the License. You should have received a copy of the +%% Erlang Public License along with this software. If not, it can be +%% retrieved online at http://www.erlang.org/. +%% +%% Software distributed under the License is distributed on an "AS IS" +%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See +%% the License for the specific language governing rights and limitations +%% under the License. +%% +%% %CopyrightEnd% + +{application, wx, + [{description, "Yet another graphics system"}, + {vsn, "%VSN%"}, + {modules, + [ + %% Generated modules + %GEN_MODS% + %% Handcrafted modules + wx, + wx_object, + wxe_master, + wxe_server, + wxe_util + ]}, + {registered, []}, + {applications, [stdlib, kernel]}, + {env, []} + ]}. diff --git a/lib/wx/src/wx.appup.src b/lib/wx/src/wx.appup.src new file mode 100644 index 0000000000..1102af612e --- /dev/null +++ b/lib/wx/src/wx.appup.src @@ -0,0 +1,23 @@ +%% This is an -*- erlang -*- file. +%% +%% %CopyrightBegin% +%% +%% Copyright Ericsson AB 2010-2011. All Rights Reserved. +%% +%% The contents of this file are subject to the Erlang Public License, +%% Version 1.1, (the "License"); you may not use this file except in +%% compliance with the License. You should have received a copy of the +%% Erlang Public License along with this software. If not, it can be +%% retrieved online at http://www.erlang.org/. +%% +%% Software distributed under the License is distributed on an "AS IS" +%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See +%% the License for the specific language governing rights and limitations +%% under the License. +%% +%% %CopyrightEnd% + +{"%VSN%", + [ ], + [ ] +}. diff --git a/lib/wx/src/wx.erl b/lib/wx/src/wx.erl index 14abd0d817..9d76f3bc42 100644 --- a/lib/wx/src/wx.erl +++ b/lib/wx/src/wx.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2009. All Rights Reserved. +%% Copyright Ericsson AB 2008-2010. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -96,7 +96,8 @@ new() -> %% @doc Starts a wx server. %% Option may be {debug, Level}, see debug/1. new(Options) when is_list(Options) -> - #wx_env{} = wxe_server:start(), + #wx_env{port=Port} = wxe_server:start(), + put(opengl_port, Port), Debug = proplists:get_value(debug, Options, 0), debug(Debug), null(). @@ -121,8 +122,9 @@ get_env() -> %% @spec (wx_env()) -> ok %% @doc Sets the process wx environment, allows this process to use %% another process wx environment. -set_env(#wx_env{sv=Pid} = Env) -> - put(?WXE_IDENTIFIER, Env), +set_env(#wx_env{sv=Pid, port=Port} = Env) -> + put(?WXE_IDENTIFIER, Env), + put(opengl_port, Port), %% wxe_util:cast(?REGISTER_PID, <<>>), wxe_server:register_me(Pid), ok. diff --git a/lib/wx/src/wx_object.erl b/lib/wx/src/wx_object.erl index 1f0b7922a0..bfd38960dd 100644 --- a/lib/wx/src/wx_object.erl +++ b/lib/wx/src/wx_object.erl @@ -1,19 +1,19 @@ %% %% %CopyrightBegin% -%% -%% Copyright Ericsson AB 2008-2009. All Rights Reserved. -%% +%% +%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in %% compliance with the License. You should have received a copy of the %% Erlang Public License along with this software. If not, it can be %% retrieved online at http://www.erlang.org/. -%% +%% %% Software distributed under the License is distributed on an "AS IS" %% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See %% the License for the specific language governing rights and limitations %% under the License. -%% +%% %% %CopyrightEnd% %%%------------------------------------------------------------------- %%% File : wx_object.erl @@ -321,7 +321,8 @@ loop(Parent, Name, State, Mod, Time, Debug) -> _Msg when Debug =:= [] -> handle_msg(Msg, Parent, Name, State, Mod); _Msg -> - Debug1 = sys:handle_debug(Debug, {gen_server, print_event}, Name, {in, Msg}), + Debug1 = sys:handle_debug(Debug, fun print_event/3, + Name, {in, Msg}), handle_msg(Msg, Parent, Name, State, Mod, Debug1) end. @@ -410,12 +411,12 @@ handle_msg({'$gen_call', From, Msg}, Parent, Name, State, Mod, Debug) -> Debug1 = reply(Name, From, Reply, NState, Debug), loop(Parent, Name, NState, Mod, Time1, Debug1); {noreply, NState} -> - Debug1 = sys:handle_debug(Debug, {gen_server, print_event}, Name, - {noreply, NState}), + Debug1 = sys:handle_debug(Debug, fun print_event/3, + Name, {noreply, NState}), loop(Parent, Name, NState, Mod, infinity, Debug1); {noreply, NState, Time1} -> - Debug1 = sys:handle_debug(Debug, {gen_server, print_event}, Name, - {noreply, NState}), + Debug1 = sys:handle_debug(Debug, fun print_event/3, + Name, {noreply, NState}), loop(Parent, Name, NState, Mod, Time1, Debug1); {stop, Reason, Reply, NState} -> {'EXIT', R} = @@ -437,12 +438,12 @@ handle_no_reply({noreply, NState}, Parent, Name, _Msg, Mod, _State, []) -> handle_no_reply({noreply, NState, Time1}, Parent, Name, _Msg, Mod, _State, []) -> loop(Parent, Name, NState, Mod, Time1, []); handle_no_reply({noreply, NState}, Parent, Name, _Msg, Mod, _State, Debug) -> - Debug1 = sys:handle_debug(Debug, {gen_server, print_event}, Name, - {noreply, NState}), + Debug1 = sys:handle_debug(Debug, fun print_event/3, + Name, {noreply, NState}), loop(Parent, Name, NState, Mod, infinity, Debug1); handle_no_reply({noreply, NState, Time1}, Parent, Name, _Msg, Mod, _State, Debug) -> - Debug1 = sys:handle_debug(Debug, {gen_server, print_event}, Name, - {noreply, NState}), + Debug1 = sys:handle_debug(Debug, fun print_event/3, + Name, {noreply, NState}), loop(Parent, Name, NState, Mod, Time1, Debug1); handle_no_reply(Reply, _Parent, Name, Msg, Mod, State, Debug) -> handle_common_reply(Reply, Name, Msg, Mod, State,Debug). @@ -462,8 +463,8 @@ handle_common_reply(Reply, Name, Msg, Mod, State, Debug) -> %% @hidden reply(Name, {To, Tag}, Reply, State, Debug) -> reply({To, Tag}, Reply), - sys:handle_debug(Debug, {gen_server, print_event}, Name, - {out, Reply, To, State} ). + sys:handle_debug(Debug, fun print_event/3, + Name, {out, Reply, To, State}). %%----------------------------------------------------------------- @@ -485,6 +486,29 @@ system_code_change([Name, State, Mod, Time], _Module, OldVsn, Extra) -> Else -> Else end. +%%----------------------------------------------------------------- +%% Format debug messages. Print them as the call-back module sees +%% them, not as the real erlang messages. Use trace for that. +%%----------------------------------------------------------------- +print_event(Dev, {in, Msg}, Name) -> + case Msg of + {'$gen_call', {From, _Tag}, Call} -> + io:format(Dev, "*DBG* ~p got call ~p from ~w~n", + [Name, Call, From]); + {'$gen_cast', Cast} -> + io:format(Dev, "*DBG* ~p got cast ~p~n", + [Name, Cast]); + _ -> + io:format(Dev, "*DBG* ~p got ~p~n", [Name, Msg]) + end; +print_event(Dev, {out, Msg, To, State}, Name) -> + io:format(Dev, "*DBG* ~p sent ~p to ~w, new state ~w~n", + [Name, Msg, To, State]); +print_event(Dev, {noreply, State}, Name) -> + io:format(Dev, "*DBG* ~p new state ~w~n", [Name, State]); +print_event(Dev, Event, Name) -> + io:format(Dev, "*DBG* ~p dbg ~p~n", [Name, Event]). + %%% --------------------------------------------------- %%% Terminate the server. %%% --------------------------------------------------- @@ -581,12 +605,15 @@ dbg_opts(Name, Opts) -> %%----------------------------------------------------------------- format_status(Opt, StatusData) -> [PDict, SysState, Parent, Debug, [Name, State, Mod, _Time]] = StatusData, - NameTag = if is_pid(Name) -> - pid_to_list(Name); - is_atom(Name) -> - Name - end, - Header = lists:concat(["Status for generic server ", NameTag]), + StatusHdr = "Status for wx object ", + Header = if + is_pid(Name) -> + lists:concat([StatusHdr, pid_to_list(Name)]); + is_atom(Name); is_list(Name) -> + lists:concat([StatusHdr, Name]); + true -> + {StatusHdr, Name} + end, Log = sys:get_debug(log, Debug, []), Specfic = case erlang:function_exported(Mod, format_status, 2) of diff --git a/lib/wx/src/wxe.hrl b/lib/wx/src/wxe.hrl index bb70a03bfe..bd34b13385 100644 --- a/lib/wx/src/wxe.hrl +++ b/lib/wx/src/wxe.hrl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2009. All Rights Reserved. +%% Copyright Ericsson AB 2008-2010. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -50,6 +50,8 @@ -define(WXE_CB_START, 8). %% Used for event-callback start -define(WXE_DEBUG_DRIVER, 9). %% Set debug %%-define(WXE_DEBUG_PING, 10). %% debug ping (when using debugger it's needed) --define(WXE_BIN_INCR, 5001). %% Binary refc incr --define(WXE_BIN_DECR, 5002). %% Binary refc decr +-define(WXE_BIN_INCR, 11). %% Binary refc incr +-define(WXE_BIN_DECR, 12). %% Binary refc decr +-define(WXE_INIT_OPENGL, 13). %% Binary refc decr + -include("gen/wxe_funcs.hrl"). diff --git a/lib/wx/src/wxe_master.erl b/lib/wx/src/wxe_master.erl index 70872775fb..9efe59054c 100644 --- a/lib/wx/src/wxe_master.erl +++ b/lib/wx/src/wxe_master.erl @@ -1,19 +1,19 @@ %% %% %CopyrightBegin% -%% -%% Copyright Ericsson AB 2008-2009. All Rights Reserved. -%% +%% +%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in %% compliance with the License. You should have received a copy of the %% Erlang Public License along with this software. If not, it can be %% retrieved online at http://www.erlang.org/. -%% +%% %% Software distributed under the License is distributed on an "AS IS" %% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See %% the License for the specific language governing rights and limitations %% under the License. -%% +%% %% %CopyrightEnd% %%%------------------------------------------------------------------- %%% File : wxe_server.erl @@ -28,19 +28,18 @@ -behaviour(gen_server). %% API --export([start/0, init_port/0]). +-export([start/0, init_port/0, init_opengl/0]). %% gen_server callbacks -export([init/1, handle_call/3, handle_cast/2, handle_info/2, terminate/2, code_change/3]). --compile(export_all). -record(state, {cb_port, %% Callback port and to erlang messages goes via it. users, %% List of wx servers, needed ?? driver}). %% Driver name so wx_server can create it's own port +-include("wxe.hrl"). -include("gen/wxe_debug.hrl"). --include("gen/gl_debug.hrl"). -define(DRIVER, "wxe_driver"). @@ -75,6 +74,14 @@ init_port() -> receive wx_port_initiated -> ok end, {Port, CBport}. + +%%-------------------------------------------------------------------- +%% Initlizes the opengl library +%%-------------------------------------------------------------------- +init_opengl() -> + GLLib = wxe_util:wxgl_dl(), + wxe_util:call(?WXE_INIT_OPENGL, <<(list_to_binary(GLLib))/binary, 0:8>>). + %%==================================================================== %% gen_server callbacks %%==================================================================== @@ -88,7 +95,7 @@ init_port() -> %%-------------------------------------------------------------------- init([]) -> DriverName = ?DRIVER, - PrivDir = priv_dir(), + PrivDir = wxe_util:priv_dir(?DRIVER), erlang:group_leader(whereis(init), self()), case catch erlang:system_info(smp_support) of true -> ok; @@ -121,20 +128,19 @@ init([]) -> process_flag(trap_exit, true), DriverWithArgs = DriverName ++ " " ++ code:priv_dir(wx) ++ [0], - case catch open_port({spawn, DriverWithArgs},[binary]) of - {'EXIT', Err} -> - erlang:error({open_port,Err}); - Port -> - wx_debug_info = ets:new(wx_debug_info, [named_table]), - wx_non_consts = ets:new(wx_non_consts, [named_table]), - true = ets:insert(wx_debug_info, wxdebug_table()), - true = ets:insert(wx_debug_info, gldebug_table()), - spawn_link(fun() -> debug_ping(Port) end), - receive - {wx_consts, List} -> - true = ets:insert(wx_non_consts, List) - end, - {ok, #state{cb_port=Port, driver=DriverName, users=gb_sets:empty()}} + try + Port = open_port({spawn, DriverWithArgs},[binary]), + wx_debug_info = ets:new(wx_debug_info, [named_table]), + wx_non_consts = ets:new(wx_non_consts, [named_table]), + true = ets:insert(wx_debug_info, wxdebug_table()), + spawn_link(fun() -> debug_ping(Port) end), + receive + {wx_consts, List} -> + true = ets:insert(wx_non_consts, List) + end, + {ok, #state{cb_port=Port, driver=DriverName, users=gb_sets:empty()}} + catch _:Err -> + error({Err, "Could not initiate graphics"}) end. %%-------------------------------------------------------------------- @@ -206,108 +212,9 @@ code_change(_OldVsn, State, _Extra) -> %%%%%%%%%%%% INTERNAL %%%%%%%%%%%%%%%%%%%%%%%% -%% If you want anything done, do it yourself. - -priv_dir() -> - Type = erlang:system_info(system_architecture), - {file, Path} = code:is_loaded(?MODULE), - Priv = case filelib:is_regular(Path) of - true -> - Beam = filename:join(["ebin/",atom_to_list(?MODULE) ++ ".beam"]), - filename:join(strip(Path, Beam), "priv"); - false -> - code:priv_dir(wx) - end, - try - {ok, Dirs0} = file:list_dir(Priv), - Dirs1 = split_dirs(Dirs0), - Dirs = lists:reverse(lists:sort(Dirs1)), - - Best = best_dir(hd(split_dirs([Type])),Dirs, Priv), - filename:join(Priv, Best) - catch _:_ -> - error_logger:format("WX ERROR: Could not find suitable \'~s\' for ~s in: ~s~n", - [?DRIVER, Type, Priv]), - erlang:error({load_driver, "No driver found"}) - end. - -best_dir(Dir, Dirs0, Priv) -> - Dirs = [{D,D} || D <- Dirs0], - best_dir(Dir, Dirs, [], Priv). - -best_dir(Pre, [{[],_}|R], Acc, Priv) -> %% Empty skip'em - best_dir(Pre, R, Acc, Priv); -best_dir(Pre, [{Pre,Dir}|R], Acc, Priv) -> - Real = dir_app(lists:reverse(Dir)), - case file:list_dir(filename:join(Priv,Real)) of - {ok, Fs} -> - case lists:any(fun(File) -> filename:rootname(File) =:= ?DRIVER end, Fs) of - true -> Real; %% Found dir and it contains a driver - false -> best_dir(Pre, R, Acc, Priv) - end; - _ -> - best_dir(Pre, R, Acc, Priv) - end; -best_dir(Pre, [{[_|F],Dir}|R], Acc, Priv) -> - best_dir(Pre, R, [{F,Dir}|Acc], Priv); -best_dir(_Pre, [], [],_) -> throw(no_dir); %% Nothing found -best_dir([_|Pre], [], Acc, Priv) -> - best_dir(Pre, lists:reverse(Acc), [], Priv); -best_dir([], _, _,_) -> throw(no_dir). %% Nothing found - -split_dirs(Dirs0) -> - ToInt = fun(Str) -> - try - list_to_integer(Str) - catch _:_ -> Str - end - end, - Split = fun(Dir) -> - Toks = tokens(Dir,".-"), - lists:reverse([ToInt(Str) || Str <- Toks]) - end, - lists:map(Split,Dirs0). - -dir_app([]) -> []; -dir_app([Dir]) -> Dir; -dir_app(Dir) -> - dir_app2(Dir). -dir_app2([Int]) when is_integer(Int) -> - integer_to_list(Int); -dir_app2([Str]) when is_list(Str) -> - Str; -dir_app2([Head|Rest]) when is_integer(Head) -> - integer_to_list(Head) ++ dir_app2(Rest); -dir_app2([Head|Rest]) when is_list(Head) -> - Head ++ dir_app2(Rest). - -strip(Src, Src) -> - []; -strip([H|R], Src) -> - [H| strip(R, Src)]. - - debug_ping(Port) -> timer:sleep(1*333), _R = (catch erlang:port_call(Port, 0, [])), %% io:format("Erlang ping ~p ~n", [_R]), debug_ping(Port). -tokens(S,Seps) -> - tokens1(S, Seps, []). - -tokens1([C|S], Seps, Toks) -> - case lists:member(C, Seps) of - true -> tokens1(S, Seps, [[C]|Toks]); - false -> tokens2(S, Seps, Toks, [C]) - end; -tokens1([], _Seps, Toks) -> - lists:reverse(Toks). - -tokens2([C|S], Seps, Toks, Cs) -> - case lists:member(C, Seps) of - true -> tokens1(S, Seps, [[C], lists:reverse(Cs) |Toks]); - false -> tokens2(S, Seps, Toks, [C|Cs]) - end; -tokens2([], _Seps, Toks, Cs) -> - lists:reverse([lists:reverse(Cs)|Toks]). diff --git a/lib/wx/src/wxe_server.erl b/lib/wx/src/wxe_server.erl index 40412987a5..69e2189fac 100644 --- a/lib/wx/src/wxe_server.erl +++ b/lib/wx/src/wxe_server.erl @@ -1,19 +1,19 @@ %% %% %CopyrightBegin% -%% -%% Copyright Ericsson AB 2008-2009. All Rights Reserved. -%% +%% +%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in %% compliance with the License. You should have received a copy of the %% Erlang Public License along with this software. If not, it can be %% retrieved online at http://www.erlang.org/. -%% +%% %% Software distributed under the License is distributed on an "AS IS" %% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See %% the License for the specific language governing rights and limitations %% under the License. -%% +%% %% %CopyrightEnd% %%%------------------------------------------------------------------- %%% File : wxe_server.erl @@ -24,7 +24,7 @@ %%% Created : 17 Jan 2007 by Dan Gudmundsson <[email protected]> %%%------------------------------------------------------------------- -%% @hidden +%% @hidden -module(wxe_server). -behaviour(gen_server). @@ -65,7 +65,7 @@ start() -> end; Env = #wx_env{sv=Pid} -> case erlang:is_process_alive(Pid) of - true -> + true -> Env; false -> %% Ok we got an old wx env, someone forgot erase(?WXE_IDENTIFIER), %% to call wx:destroy() @@ -94,7 +94,7 @@ init([]) -> {ok,#state{port=Port, cb_port=CBPort, users=gb_trees:empty(), cb=gb_trees:empty(), cb_cnt=1}}. -%% Register process +%% Register process handle_call(register_me, {From,_}, State=#state{users=Users}) -> erlang:monitor(process, From), case gb_trees:is_defined(From, Users) of @@ -147,7 +147,7 @@ handle_cast({debug, Level}, State) -> put(?WXE_IDENTIFIER, Env#wx_env{debug=Level}), {noreply, State}; -handle_cast(_Msg, State) -> +handle_cast(_Msg, State) -> ?log("Unknown message ~p sent to ~p~n",[_Msg, ?MODULE]), {noreply, State}. @@ -156,7 +156,7 @@ handle_cast(_Msg, State) -> %% Callback request from driver handle_info(Cb = {_, _, '_wx_invoke_cb_'}, State) -> invoke_cb(Cb, State), - {noreply, State}; + {noreply, State}; handle_info({wx_delete_cb, FunId}, State0 = #state{cb=CB}) when is_integer(FunId) -> case get(FunId) of undefined -> @@ -166,7 +166,7 @@ handle_info({wx_delete_cb, FunId}, State0 = #state{cb=CB}) when is_integer(FunId {noreply, State0#state{cb=gb_trees:delete(Fun, CB)}} end; handle_info({'DOWN',_,process,Pid,_}, State=#state{users=Users0,cleaners=Cs}) -> - try + try User = gb_trees:get(Pid,Users0), Users = gb_trees:delete(Pid,Users0), Env = wx:get_env(), @@ -210,7 +210,7 @@ handle_connect(Object, EvData, From, State0 = #state{users=Users}) -> case Handler0 of #wx_ref{} when Callback =:= 0 -> CBHandler = Handler0, - Handler = Handler0; + Handler = Handler0; undefined when Callback =:= 0 -> Handler = new_evt_listener(State0), CBHandler = Handler; @@ -225,7 +225,7 @@ handle_connect(Object, EvData, From, State0 = #state{users=Users}) -> {FunId, State} = attach_fun(Callback,State1), Res = wxEvtHandler:connect_impl(CBHandler,Object, wxEvtHandler:replace_fun_with_id(EvData,FunId)), - case Res of + case Res of ok -> {reply,Res,State}; _Error -> {reply,Res,State0} end; @@ -238,11 +238,7 @@ invoke_cb({{Ev=#wx{}, Ref=#wx_ref{}}, FunId,_}, _S) -> %% Event callbacks case get(FunId) of Fun when is_function(Fun) -> - invoke_callback(fun() -> - wxe_util:cast(?WXE_CB_START, <<>>), - Fun(Ev, Ref), - <<>> - end); + invoke_callback(fun() -> Fun(Ev, Ref), <<>> end); Err -> ?log("Internal Error ~p~n",[Err]) end; @@ -254,12 +250,14 @@ invoke_cb({FunId, Args, _}, _S) when is_list(Args), is_integer(FunId) -> Err -> ?log("Internal Error ~p ~p ~p~n",[Err, FunId, Args]) end. - + invoke_callback(Fun) -> Env = get(?WXE_IDENTIFIER), CB = fun() -> wx:set_env(Env), - Res = try Return = Fun(), + wxe_util:cast(?WXE_CB_START, <<>>), + Res = try + Return = Fun(), true = is_binary(Return), Return catch _:Reason -> @@ -278,9 +276,9 @@ new_evt_listener(State) -> get_result(State). get_result(_State) -> - receive + receive {'_wxe_result_', Res} -> Res; - {'_wxe_error_', Op, Error} -> + {'_wxe_error_', Op, Error} -> erlang:error({Error, {wxEvtHandler, {internal_installer, Op}}}) end. @@ -289,7 +287,7 @@ attach_fun(Fun, S = #state{cb=CB,cb_cnt=Next}) -> {value, ID} -> {ID,S}; none -> - put(Next,Fun), + put(Next,Fun), {Next,S#state{cb=gb_trees:insert(Fun,Next,CB),cb_cnt=Next+1}} end. @@ -297,7 +295,7 @@ handle_disconnect(Object, Evh, From, State0 = #state{users=Users0}) -> User0 = #user{events=Evs0, evt_handler=PidH} = gb_trees:get(From, Users0), Fun = wxEvtHandler:get_callback(Evh), case find_handler(Evs0, Object, Fun) of - [] -> + [] -> {reply, false, State0}; Handlers -> case disconnect(Object,Evh, Handlers) of @@ -310,7 +308,7 @@ handle_disconnect(Object, Evh, From, State0 = #state{users=Users0}) -> [] when PidH =/= undefined -> wxEvtHandler:destroy_evt_listener(PidH), User0#user{events=[], evt_handler=undefined}; - Evs -> + Evs -> User0#user{events=Evs} end, {reply, true, State0#state{users=gb_trees:update(From,User,Users0)}}; @@ -345,7 +343,7 @@ find_handler([],_Object,_Fun,Res) -> %% Cleanup -%% The server handles callbacks from driver so every other wx call must +%% The server handles callbacks from driver so every other wx call must %% be called from another process, therefore the cleaning must be spawned. %% cleanup(Env, _Pid, Data) -> @@ -358,7 +356,7 @@ cleanup(#user{objects=_Os,events=Evs, evt_handler=Handler}) -> lists:foreach(fun(#event{object=_O, callback=CB, cb_handler=CbH}) -> %%catch wxEvtHandler:disconnect_impl(CbH,O), case is_function(CB) of - true -> + true -> wxEvtHandler:destroy_evt_listener(CbH); false -> ignore diff --git a/lib/wx/src/wxe_util.erl b/lib/wx/src/wxe_util.erl index a2fb4641c9..02bca62486 100644 --- a/lib/wx/src/wxe_util.erl +++ b/lib/wx/src/wxe_util.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2009. All Rights Reserved. +%% Copyright Ericsson AB 2008-2010. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -32,8 +32,9 @@ get_const/1,colour_bin/1,datetime_bin/1, to_bool/1,from_bool/1]). --include("wxe.hrl"). +-export([wxgl_dl/0, priv_dir/1]). +-include("wxe.hrl"). to_bool(0) -> false; to_bool(_) -> true. @@ -199,3 +200,47 @@ check_previous() -> erlang:error({Error, MF}) after 0 -> ok end. + +%% Get gl dynamic library + +wxgl_dl() -> + DynLib0 = "erl_gl", + PrivDir = priv_dir(DynLib0), + DynLib = case os:type() of + {win32,_} -> + DynLib0 ++ ".dll"; + _ -> + DynLib0 ++ ".so" + end, + filename:join(PrivDir, DynLib). + +priv_dir(Driver0) -> + {file, Path} = code:is_loaded(?MODULE), + Priv = case filelib:is_regular(Path) of + true -> + Beam = filename:join(["ebin/",atom_to_list(?MODULE) ++ ".beam"]), + filename:join(strip(Path, Beam), "priv"); + false -> + code:priv_dir(wx) + end, + Driver = case os:type() of + {win32,_} -> + Driver0 ++ ".dll"; + _ -> + Driver0 ++ ".so" + end, + + case file:read_file_info(filename:join(Priv, Driver)) of + {ok, _} -> + Priv; + {error, _} -> + error_logger:format("ERROR: Could not find \'~s\' in: ~s~n", + [Driver, Priv]), + erlang:error({load_driver, "No driver found"}) + end. + +strip(Src, Src) -> + []; +strip([H|R], Src) -> + [H| strip(R, Src)]. + diff --git a/lib/wx/test/Makefile b/lib/wx/test/Makefile index 65d7d56650..cf51d7918f 100644 --- a/lib/wx/test/Makefile +++ b/lib/wx/test/Makefile @@ -1,19 +1,19 @@ # # %CopyrightBegin% -# -# Copyright Ericsson AB 2008-2009. All Rights Reserved. -# +# +# Copyright Ericsson AB 2008-2011. All Rights Reserved. +# # The contents of this file are subject to the Erlang Public License, # Version 1.1, (the "License"); you may not use this file except in # compliance with the License. You should have received a copy of the # Erlang Public License along with this software. If not, it can be # retrieved online at http://www.erlang.org/. -# +# # Software distributed under the License is distributed on an "AS IS" # basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See # the License for the specific language governing rights and limitations # under the License. -# +# # %CopyrightEnd% # @@ -28,7 +28,9 @@ APPDIR = $(shell dirname $(PWD)) ERL_COMPILE_FLAGS = -pa $(APPDIR)/ebin Mods = wxt wx_test_lib \ - wx_basic_SUITE wx_event_SUITE \ + wx_app_SUITE \ + wx_basic_SUITE \ + wx_event_SUITE \ wx_class_SUITE \ wx_xtra_SUITE \ wx_opengl_SUITE @@ -60,8 +62,8 @@ release_spec: release_tests_spec: opt $(INSTALL_DIR) $(RELSYSDIR) - $(INSTALL_DATA) wx.spec wx_test_lib.hrl $(ErlSrc) $(ErlTargets) $(RELSYSDIR) - $(INSTALL_PROGRAM) wxt $(RELSYSDIR) + $(INSTALL_DATA) wx.spec wx.cover wx_test_lib.hrl $(ErlSrc) $(ErlTargets) $(RELSYSDIR) + $(INSTALL_SCRIPT) wxt $(RELSYSDIR) release_docs_spec: diff --git a/lib/wx/test/wx.cover b/lib/wx/test/wx.cover new file mode 100644 index 0000000000..47e162ba7d --- /dev/null +++ b/lib/wx/test/wx.cover @@ -0,0 +1,2 @@ +{incl_app,wx,details}. + diff --git a/lib/wx/test/wx.spec b/lib/wx/test/wx.spec index a9201e5737..21e4a8c064 100644 --- a/lib/wx/test/wx.spec +++ b/lib/wx/test/wx.spec @@ -1,2 +1 @@ -{topcase, {dir, "../wx_test"}}. - +{suites,"../wx_test",all}. diff --git a/lib/wx/test/wx_app_SUITE.erl b/lib/wx/test/wx_app_SUITE.erl new file mode 100644 index 0000000000..162923eaa3 --- /dev/null +++ b/lib/wx/test/wx_app_SUITE.erl @@ -0,0 +1,283 @@ +%% +%% %CopyrightBegin% +%% +%% Copyright Ericsson AB 2010-2011. All Rights Reserved. +%% +%% The contents of this file are subject to the Erlang Public License, +%% Version 1.1, (the "License"); you may not use this file except in +%% compliance with the License. You should have received a copy of the +%% Erlang Public License along with this software. If not, it can be +%% retrieved online at http://www.erlang.org/. +%% +%% Software distributed under the License is distributed on an "AS IS" +%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See +%% the License for the specific language governing rights and limitations +%% under the License. +%% +%% %CopyrightEnd% +%% + +%% +%%---------------------------------------------------------------------- +%% Purpose: Verify the application specifics of the Wx application +%%---------------------------------------------------------------------- +-module(wx_app_SUITE). + +-compile(export_all). + +-include("wx_test_lib.hrl"). + + +t() -> wx_test_lib:t(?MODULE). +t(Case) -> wx_test_lib:t({?MODULE, Case}). + +%% Test server callbacks +init_per_testcase(Case, Config0) -> + Config1 = wx_test_lib:init_per_testcase(Case, Config0), + case is_app(wx) of + {ok, AppFile} -> + %% io:format("AppFile: ~n~p~n", [AppFile]), + [{app_file, AppFile} | Config1]; + {error, Reason} -> + fail(Reason) + end. + +end_per_testcase(Func,Config) -> + wx_test_lib:end_per_testcase(Func, Config). + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +suite() -> [{ct_hooks,[ts_install_cth]}]. + +all() -> + [fields, modules, exportall, app_depend, undef_funcs]. + +groups() -> + []. + +init_per_suite(Config) -> + Config. + +end_per_suite(_Config) -> + ok. + +init_per_group(_GroupName, Config) -> + Config. + +end_per_group(_GroupName, Config) -> + Config. + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +is_app(App) -> + LibDir = code:lib_dir(App), + File = filename:join([LibDir, "ebin", atom_to_list(App) ++ ".app"]), + case file:consult(File) of + {ok, [{application, App, AppFile}]} -> + {ok, AppFile}; + Error -> + {error, {invalid_format, Error}} + end. + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +fields(suite) -> + []; +fields(doc) -> + []; +fields(Config) when is_list(Config) -> + AppFile = key1search(app_file, Config), + Fields = [vsn, description, modules, registered, applications], + case check_fields(Fields, AppFile, []) of + [] -> + ok; + Missing -> + fail({missing_fields, Missing}) + end. + +check_fields([], _AppFile, Missing) -> + Missing; +check_fields([Field|Fields], AppFile, Missing) -> + check_fields(Fields, AppFile, check_field(Field, AppFile, Missing)). + +check_field(Name, AppFile, Missing) -> + io:format("checking field: ~p~n", [Name]), + case lists:keymember(Name, 1, AppFile) of + true -> + Missing; + false -> + [Name|Missing] + end. + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +modules(suite) -> + []; +modules(doc) -> + []; +modules(Config) when is_list(Config) -> + AppFile = key1search(app_file, Config), + Mods = key1search(modules, AppFile), + EbinList = get_ebin_mods(wx), + case missing_modules(Mods, EbinList, []) of + [] -> + ok; + Missing -> + throw({error, {missing_modules, Missing}}) + end, + case extra_modules(Mods, EbinList, []) of + [] -> + ok; + Extra -> + throw({error, {extra_modules, Extra}}) + end, + {ok, Mods}. + +get_ebin_mods(App) -> + LibDir = code:lib_dir(App), + EbinDir = filename:join([LibDir,"ebin"]), + {ok, Files0} = file:list_dir(EbinDir), + Files1 = [lists:reverse(File) || File <- Files0], + [list_to_atom(lists:reverse(Name)) || [$m,$a,$e,$b,$.|Name] <- Files1]. + +missing_modules([], _Ebins, Missing) -> + Missing; +missing_modules([Mod|Mods], Ebins, Missing) -> + case lists:member(Mod, Ebins) of + true -> + missing_modules(Mods, Ebins, Missing); + false -> + io:format("missing module: ~p~n", [Mod]), + missing_modules(Mods, Ebins, [Mod|Missing]) + end. + + +extra_modules(_Mods, [], Extra) -> + Extra; +extra_modules(Mods, [Mod|Ebins], Extra) -> + case lists:member(Mod, Mods) of + true -> + extra_modules(Mods, Ebins, Extra); + false -> + io:format("supefluous module: ~p~n", [Mod]), + extra_modules(Mods, Ebins, [Mod|Extra]) + end. + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +exportall(suite) -> + []; +exportall(doc) -> + []; +exportall(Config) when is_list(Config) -> + AppFile = key1search(app_file, Config), + Mods = key1search(modules, AppFile), + check_export_all(Mods). + + +check_export_all([]) -> + ok; +check_export_all([Mod|Mods]) -> + case (catch apply(Mod, module_info, [compile])) of + {'EXIT', {undef, _}} -> + check_export_all(Mods); + O -> + case lists:keysearch(options, 1, O) of + false -> + check_export_all(Mods); + {value, {options, List}} -> + case lists:member(export_all, List) of + true -> + throw({error, {export_all, Mod}}); + false -> + check_export_all(Mods) + end + end + end. + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +app_depend(suite) -> + []; +app_depend(doc) -> + []; +app_depend(Config) when is_list(Config) -> + AppFile = key1search(app_file, Config), + Apps = key1search(applications, AppFile), + check_apps(Apps). + +check_apps([]) -> + ok; +check_apps([App|Apps]) -> + case is_app(App) of + {ok, _} -> + check_apps(Apps); + Error -> + throw({error, {missing_app, {App, Error}}}) + end. + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +undef_funcs(suite) -> + []; +undef_funcs(doc) -> + []; +undef_funcs(Config) when is_list(Config) -> + catch test_server:timetrap(timer:minutes(10)), + App = wx, + AppFile = key1search(app_file, Config), + Mods = key1search(modules, AppFile), + Root = code:root_dir(), + LibDir = code:lib_dir(App), + EbinDir = filename:join([LibDir,"ebin"]), + XRefTestName = undef_funcs_make_name(App, xref_test_name), + {ok, XRef} = xref:start(XRefTestName), + ok = xref:set_default(XRef, + [{verbose,false},{warnings,false}]), + XRefName = undef_funcs_make_name(App, xref_name), + {ok, XRefName} = xref:add_release(XRef, Root, {name,XRefName}), + {ok, App} = xref:replace_application(XRef, App, EbinDir), + {ok, Undefs} = xref:analyze(XRef, undefined_function_calls), + xref:stop(XRef), + analyze_undefined_function_calls(Undefs, Mods, []). + +analyze_undefined_function_calls([], _, []) -> + ok; +analyze_undefined_function_calls([], _, AppUndefs) -> + exit({suite_failed, {undefined_function_calls, AppUndefs}}); +analyze_undefined_function_calls([{{Mod, _F, _A}, _C} = AppUndef|Undefs], + AppModules, AppUndefs) -> + %% Check that this module is ours + case lists:member(Mod,AppModules) of + true -> + {Calling,Called} = AppUndef, + {Mod1,Func1,Ar1} = Calling, + {Mod2,Func2,Ar2} = Called, + io:format("undefined function call: " + "~n ~w:~w/~w calls ~w:~w/~w~n", + [Mod1,Func1,Ar1,Mod2,Func2,Ar2]), + analyze_undefined_function_calls(Undefs, AppModules, + [AppUndef|AppUndefs]); + false -> + io:format("dropping ~p~n", [Mod]), + analyze_undefined_function_calls(Undefs, AppModules, AppUndefs) + end. + +%% This function is used simply to avoid cut-and-paste errors later... +undef_funcs_make_name(App, PostFix) -> + list_to_atom(atom_to_list(App) ++ "_" ++ atom_to_list(PostFix)). + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +fail(Reason) -> + exit({suite_failed, Reason}). + +key1search(Key, L) -> + case lists:keysearch(Key, 1, L) of + false -> + fail({not_found, Key, L}); + {value, {Key, Value}} -> + Value + end. diff --git a/lib/wx/test/wx_basic_SUITE.erl b/lib/wx/test/wx_basic_SUITE.erl index 599aa371ba..9ad34248a9 100644 --- a/lib/wx/test/wx_basic_SUITE.erl +++ b/lib/wx/test/wx_basic_SUITE.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2009. All Rights Reserved. +%% Copyright Ericsson AB 2008-2011. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -23,8 +23,9 @@ %%% Created : 3 Nov 2008 by Dan Gudmundsson <[email protected]> %%%------------------------------------------------------------------- -module(wx_basic_SUITE). --export([all/0, init_per_suite/1, end_per_suite/1, - init_per_testcase/2, fin_per_testcase/2, end_per_testcase/2]). +-export([all/0, suite/0,groups/0,init_per_group/2,end_per_group/2, + init_per_suite/1, end_per_suite/1, + init_per_testcase/2, end_per_testcase/2]). -compile(export_all). @@ -41,20 +42,23 @@ init_per_testcase(Func,Config) -> wx_test_lib:init_per_testcase(Func,Config). end_per_testcase(Func,Config) -> wx_test_lib:end_per_testcase(Func,Config). -fin_per_testcase(Func,Config) -> %% For test_server - wx_test_lib:end_per_testcase(Func,Config). %% SUITE specification -all() -> - all(suite). -all(suite) -> - [ - create_window, - several_apps, - wx_api, - wx_misc, - data_types - ]. +suite() -> [{ct_hooks,[ts_install_cth]}]. + +all() -> + [create_window, several_apps, wx_api, wx_misc, + data_types]. + +groups() -> + []. + +init_per_group(_GroupName, Config) -> + Config. + +end_per_group(_GroupName, Config) -> + Config. + %% The test cases diff --git a/lib/wx/test/wx_class_SUITE.erl b/lib/wx/test/wx_class_SUITE.erl index 76df6e4a23..b75b0cc74e 100644 --- a/lib/wx/test/wx_class_SUITE.erl +++ b/lib/wx/test/wx_class_SUITE.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2011. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -18,14 +18,15 @@ %%%------------------------------------------------------------------- %%% File : wx_class_SUITE.erl %%% Author : Dan Gudmundsson <[email protected]> -%%% Description : +%%% Description : %%% %%% Created : 13 Nov 2008 by Dan Gudmundsson <[email protected]> %%%------------------------------------------------------------------- -module(wx_class_SUITE). --export([all/0, init_per_suite/1, end_per_suite/1, - init_per_testcase/2, fin_per_testcase/2, end_per_testcase/2]). +-export([all/0, suite/0,groups/0,init_per_group/2,end_per_group/2, + init_per_suite/1, end_per_suite/1, + init_per_testcase/2, end_per_testcase/2]). -compile(export_all). @@ -40,26 +41,25 @@ end_per_suite(Config) -> init_per_testcase(Func,Config) -> wx_test_lib:init_per_testcase(Func,Config). -end_per_testcase(Func,Config) -> - wx_test_lib:end_per_testcase(Func,Config). -fin_per_testcase(Func,Config) -> %% For test_server +end_per_testcase(Func,Config) -> wx_test_lib:end_per_testcase(Func,Config). %% SUITE specification +suite() -> [{ct_hooks,[ts_install_cth]}]. + all() -> - all(suite). -all(suite) -> - [ - calendarCtrl, - treeCtrl, - notebook, - staticBoxSizer, - clipboard, - helpFrame, - htmlWindow, - listCtrlSort, - radioBox - ]. + [calendarCtrl, treeCtrl, notebook, staticBoxSizer, + clipboard, helpFrame, htmlWindow, listCtrlSort, listCtrlVirtual, + radioBox, systemSettings]. + +groups() -> + []. + +init_per_group(_GroupName, Config) -> + Config. + +end_per_group(_GroupName, Config) -> + Config. %% The test cases @@ -70,9 +70,9 @@ calendarCtrl(Config) -> Frame = ?mt(wxFrame, wxFrame:new(Wx, 1, "Calendar", [])), Panel = wxPanel:new(Frame), Sz = wxBoxSizer:new(?wxVERTICAL), - + {YMD={_,_,Day},_} = DateTime = calendar:now_to_datetime(erlang:now()), - Cal = ?mt(wxCalendarCtrl, wxCalendarCtrl:new(Panel, ?wxID_ANY, + Cal = ?mt(wxCalendarCtrl, wxCalendarCtrl:new(Panel, ?wxID_ANY, [{date,DateTime} ])), wxSizer:add(Sz,Cal), @@ -91,25 +91,25 @@ calendarCtrl(Config) -> ?m({0,243,0,255}, wxCalendarDateAttr:getBackgroundColour(DateAttr1)), ?m({YMD, _},wxCalendarCtrl:getDate(Cal)), - - wxCalendarCtrl:connect(Cal, calendar_weekday_clicked), - wxCalendarCtrl:connect(Cal, calendar_day_changed), - wxCalendarCtrl:connect(Cal, calendar_month_changed), + + wxCalendarCtrl:connect(Cal, calendar_weekday_clicked), + wxCalendarCtrl:connect(Cal, calendar_day_changed), + wxCalendarCtrl:connect(Cal, calendar_month_changed), wxCalendarCtrl:connect(Cal, calendar_year_changed), - wxCalendarCtrl:connect(Cal, calendar_doubleclicked), + wxCalendarCtrl:connect(Cal, calendar_doubleclicked), wxCalendarCtrl:connect(Cal, calendar_sel_changed), - + wxWindow:setSizer(Panel,Sz), wxSizer:setSizeHints(Sz,Frame), - wxWindow:show(Frame), - + wxWindow:show(Frame), + wx_test_lib:wx_destroy(Frame,Config). treeCtrl(TestInfo) when is_atom(TestInfo) -> wx_test_lib:tc_info(TestInfo); treeCtrl(Config) -> Wx = wx:new(), - + Frame = wxFrame:new(Wx, ?wxID_ANY, "Frame"), Panel = wxPanel:new(Frame, []), Tree = ?mt(wxTreeCtrl,wxTreeCtrl:new(Panel, [{style , ?wxTR_HAS_BUTTONS}])), @@ -122,22 +122,25 @@ treeCtrl(Config) -> ?m(ok, wxTreeCtrl:setItemData(Tree, Item2, {data, item2})), Item3 = wxTreeCtrl:appendItem(Tree, Root, "Item3", []), ?m(ok, wxTreeCtrl:setItemData(Tree, Item3, {data, item3})), - + Sizer = wxBoxSizer:new(?wxVERTICAL), wxSizer:add(Sizer, Tree, [{flag, ?wxEXPAND}, {proportion, 1}]), wxWindow:setSizerAndFit(Panel, Sizer), wxFrame:show(Frame), - + ?m([], wxTreeCtrl:getItemData(Tree, Root)), ?m({data,item1}, wxTreeCtrl:getItemData(Tree, Item1)), ?m({data,item2}, wxTreeCtrl:getItemData(Tree, Item2)), ?m({data,item3}, wxTreeCtrl:getItemData(Tree, Item3)), - + wxFrame:connect(Tree, command_tree_item_expanded), wxFrame:connect(Tree, command_tree_item_collapsed), wxFrame:connect(Frame, close_window), - + + wxTreeCtrl:editLabel(Tree, Root), + + wx_test_lib:wx_destroy(Frame,Config). notebook(TestInfo) when is_atom(TestInfo) -> wx_test_lib:tc_info(TestInfo); @@ -207,13 +210,13 @@ staticBoxSizer(Config) -> Frame = wxFrame:new(Wx, ?wxID_ANY, "Frame"), Panel = wxPanel:new(Frame, []), InclSizer = ?mt(wxStaticBoxSizer, - wxStaticBoxSizer:new(?wxVERTICAL, Panel, + wxStaticBoxSizer:new(?wxVERTICAL, Panel, [{label, "Module inclusion policy"}])), Sizer = wxBoxSizer:new(?wxVERTICAL), wxSizer:add(Sizer, InclSizer, [{border, 2}, {flag, ?wxALL bor ?wxEXPAND}, {proportion, 1}]), - wxWindow:setSizerAndFit(Panel, Sizer), - + wxWindow:setSizerAndFit(Panel, Sizer), + wxWindow:show(Frame), wx_test_lib:wx_destroy(Frame,Config). @@ -260,13 +263,13 @@ clipboard(_Config) -> wxClipboard:flush(CB), ?log("Stopping ~n",[]), ok. - + helpFrame(TestInfo) when is_atom(TestInfo) -> wx_test_lib:tc_info(TestInfo); helpFrame(Config) -> Wx = wx:new(), MFrame = wx:batch(fun() -> MFrame = wxFrame:new(Wx, ?wxID_ANY, "Main Frame"), - wxPanel:new(MFrame, [{size, {600,400}}]), + wxPanel:new(MFrame, [{size, {600,400}}]), wxWindow:show(MFrame), MFrame end), @@ -276,11 +279,11 @@ helpFrame(Config) -> {X, Y, W,H} = wxWindow:getScreenRect(MFrame), io:format("Pos0: ~p ~p ~p Pos: ~p:~p Size: ~p:~p ~n", [X0,Y0, wxWindow:clientToScreen(MFrame, {0,0}), X,Y,W,H]), - + Pos = {X+5, Y+(H div 2)}, Size = {W-10, (H div 2) - 5}, - Comp = wxFrame:new(MFrame, ?wxID_ANY, "Completion Window", + Comp = wxFrame:new(MFrame, ?wxID_ANY, "Completion Window", [{pos, Pos}, {size, Size}, {style, ?wxFRAME_FLOAT_ON_PARENT}]), LB = wxListBox:new(Comp, 42, [{style, ?wxLB_SINGLE}, @@ -298,7 +301,7 @@ htmlWindow(Config) -> {MFrame,HPanel} = wx:batch(fun() -> MFrame = wxFrame:new(Wx, ?wxID_ANY, "Main Frame"), - HPanel = wxHtmlWindow:new(MFrame, [{size, {600,400}}]), + HPanel = wxHtmlWindow:new(MFrame, [{size, {600,400}}]), wxWindow:show(MFrame), {MFrame, HPanel} end), @@ -307,7 +310,7 @@ htmlWindow(Config) -> WxMod = code:which(wx), WxDir = filename:split(filename:dirname(WxMod)) -- ["ebin"], Html = filename:join(filename:join(WxDir),filename:join("doc", "html")), - + Index = filename:join(Html, "wx.html"), ?m(ok, wxHtmlWindow:connect(HPanel, command_html_link_clicked, @@ -315,7 +318,7 @@ htmlWindow(Config) -> fun(Ev,_) -> io:format("Link clicked: ~p~n",[Ev]) end}])), - + case filelib:is_file(Index) of true -> ?m(true, wxHtmlWindow:loadFile(HPanel, Index)), @@ -323,7 +326,7 @@ htmlWindow(Config) -> false -> ok end, - + wx_test_lib:wx_destroy(MFrame,Config). @@ -331,18 +334,18 @@ listCtrlSort(TestInfo) when is_atom(TestInfo) -> wx_test_lib:tc_info(TestInfo); listCtrlSort(Config) -> Wx = wx:new(), Frame = wxFrame:new(Wx, ?wxID_ANY, "Frame"), - + LC = wxListCtrl:new(Frame, [{style, ?wxLC_REPORT bor ?wxLC_SORT_ASCENDING}]), %% must be done crashes in wxwidgets otherwise. wxListCtrl:insertColumn(LC, 0, "Column"), - - Add = fun(Int) -> + + Add = fun(Int) -> wxListCtrl:insertItem(LC, Int, integer_to_list(Int)), %% ItemData Can only be integers currently wxListCtrl:setItemData(LC, Int, abs(2500-Int)) end, - + wx:foreach(Add, lists:seq(0,5000)), wxWindow:show(Frame), @@ -357,10 +360,10 @@ listCtrlSort(Config) -> end end) end, - + Time = timer:tc(erlang, apply, [Sort,[]]), io:format("Sorted ~p ~n",[Time]), - + Item = wxListItem:new(), _List = wx:map(fun(Int) -> wxListItem:setId(Item, Int), @@ -371,6 +374,48 @@ listCtrlSort(Config) -> wx_test_lib:wx_destroy(Frame,Config). +listCtrlVirtual(TestInfo) when is_atom(TestInfo) -> wx_test_lib:tc_info(TestInfo); +listCtrlVirtual(Config) -> + Wx = wx:new(), + Frame = wxFrame:new(Wx, ?wxID_ANY, "Frame"), + IA = wxListItemAttr:new(), + wxListItemAttr:setTextColour(IA, {190, 25, 25}), + LC = wxListCtrl:new(Frame, + [{style, ?wxLC_REPORT bor ?wxLC_VIRTUAL}, + {onGetItemText, fun(_This, Item, 0) -> + "Row " ++ integer_to_list(Item); + (_, Item, 1) when Item rem 5 == 0 -> + "Column 2"; + (_, _, _) -> "" + end}, + {onGetItemAttr, fun(_This, Item) when Item rem 3 == 0 -> + IA; + (_This, _Item) -> + wx:typeCast(wx:null(), wxListItemAttr) + end}, + {onGetItemColumnImage, fun(_This, Item, 1) -> + Item rem 4; + (_, _, _) -> + -1 + end} + ]), + + IL = wxImageList:new(16,16), + wxImageList:add(IL, wxArtProvider:getBitmap("wxART_COPY", [{size, {16,16}}])), + wxImageList:add(IL, wxArtProvider:getBitmap("wxART_MISSING_IMAGE", [{size, {16,16}}])), + wxImageList:add(IL, wxArtProvider:getBitmap("wxART_TICK_MARK", [{size, {16,16}}])), + wxImageList:add(IL, wxArtProvider:getBitmap("wxART_CROSS_MARK", [{size, {16,16}}])), + wxListCtrl:assignImageList(LC, IL, ?wxIMAGE_LIST_SMALL), + + wxListCtrl:insertColumn(LC, 0, "Column 1"), + wxListCtrl:insertColumn(LC, 1, "Column 2"), + wxListCtrl:setColumnWidth(LC, 0, 200), + wxListCtrl:setColumnWidth(LC, 1, 200), + wxListCtrl:setItemCount(LC, 1000000), + + wxWindow:show(Frame), + wx_test_lib:wx_destroy(Frame,Config). + radioBox(TestInfo) when is_atom(TestInfo) -> wx_test_lib:tc_info(TestInfo); radioBox(Config) -> @@ -379,7 +424,7 @@ radioBox(Config) -> TrSortRadioBox = wxRadioBox:new(Frame, ?wxID_ANY, "Sort by:", {100, 100},{100, 100}, ["Timestamp"]), - + io:format("TrSortRadioBox ~p ~n", [TrSortRadioBox]), %% If I uncomment any of these lines, it will crash @@ -389,3 +434,39 @@ radioBox(Config) -> wxWindow:show(Frame), wx_test_lib:wx_destroy(Frame,Config). + + +systemSettings(TestInfo) when is_atom(TestInfo) -> wx_test_lib:tc_info(TestInfo); +systemSettings(Config) -> + Wx = wx:new(), + Frame = wxFrame:new(Wx, ?wxID_ANY, "Frame"), + + ?m({_,_,_,_}, wxSystemSettings:getColour(?wxSYS_COLOUR_DESKTOP)), + ?mt(wxFont, wxSystemSettings:getFont(?wxSYS_SYSTEM_FONT)), + ?m(true, is_integer(wxSystemSettings:getMetric(?wxSYS_MOUSE_BUTTONS))), + ?m(true, is_integer(wxSystemSettings:getScreenType())), + + wxWindow:show(Frame), + wx_test_lib:wx_destroy(Frame,Config). + + +textCtrl(TestInfo) when is_atom(TestInfo) -> wx_test_lib:tc_info(TestInfo); +textCtrl(Config) -> + Wx = wx:new(), + Frame = wxFrame:new(Wx, ?wxID_ANY, "Frame"), + + TC = ?mt(wxTextCtrl, wxTextCtrl:new(Frame, ?wxID_ANY, [{style, ?wxTE_MULTILINE bor ?wxTE_RICH2}])), + wxTextCtrl:appendText(TC, "This line is in default color\n"), + Attr = ?mt(wxTextAttr, wxTextAttr:new(?wxRED)), + wxTextCtrl:setDefaultStyle(TC, Attr), + wxTextCtrl:appendText(TC, "This line is in ?wxRED color\n"), + wxTextAttr:setTextColour(Attr, ?wxBLACK), + wxTextCtrl:setDefaultStyle(TC, Attr), + wxTextCtrl:appendText(TC, "This line is in ?wxBLACK color\n"), + Default = wxSystemSettings:getColour(?wxSYS_COLOUR_WINDOWTEXT), + wxTextAttr:setTextColour(Attr, Default), + wxTextCtrl:setDefaultStyle(TC, Attr), + wxTextCtrl:appendText(TC, "This line is in default color\n"), + wxTextAttr:destroy(Attr), + wxWindow:show(Frame), + wx_test_lib:wx_destroy(Frame,Config). diff --git a/lib/wx/test/wx_event_SUITE.erl b/lib/wx/test/wx_event_SUITE.erl index dea10d892e..0d8dd4852e 100644 --- a/lib/wx/test/wx_event_SUITE.erl +++ b/lib/wx/test/wx_event_SUITE.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2009. All Rights Reserved. +%% Copyright Ericsson AB 2008-2011. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -22,8 +22,9 @@ %%% Created : 3 Nov 2008 by Dan Gudmundsson <[email protected]> %%%------------------------------------------------------------------- -module(wx_event_SUITE). --export([all/0, init_per_suite/1, end_per_suite/1, - init_per_testcase/2, fin_per_testcase/2, end_per_testcase/2]). +-export([all/0, suite/0,groups/0,init_per_group/2,end_per_group/2, + init_per_suite/1, end_per_suite/1, + init_per_testcase/2, end_per_testcase/2]). -compile(export_all). @@ -40,22 +41,23 @@ init_per_testcase(Func,Config) -> wx_test_lib:init_per_testcase(Func,Config). end_per_testcase(Func,Config) -> wx_test_lib:end_per_testcase(Func,Config). -fin_per_testcase(Func,Config) -> %% For test_server - wx_test_lib:end_per_testcase(Func,Config). %% SUITE specification -all() -> - all(suite). -all(suite) -> - [ - connect, - disconnect, - connect_msg_20, - connect_cb_20, - mouse_on_grid, - spin_event, - connect_in_callback - ]. +suite() -> [{ct_hooks,[ts_install_cth]}]. + +all() -> + [connect, disconnect, connect_msg_20, connect_cb_20, + mouse_on_grid, spin_event, connect_in_callback]. + +groups() -> + []. + +init_per_group(_GroupName, Config) -> + Config. + +end_per_group(_GroupName, Config) -> + Config. + %% The test cases diff --git a/lib/wx/test/wx_opengl_SUITE.erl b/lib/wx/test/wx_opengl_SUITE.erl index ce4651bcb1..e8fdf603d6 100644 --- a/lib/wx/test/wx_opengl_SUITE.erl +++ b/lib/wx/test/wx_opengl_SUITE.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2009. All Rights Reserved. +%% Copyright Ericsson AB 2008-2011. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -22,8 +22,9 @@ %%% Created : 3 Nov 2008 by Dan Gudmundsson <[email protected]> %%%------------------------------------------------------------------- -module(wx_opengl_SUITE). --export([all/0, init_per_suite/1, end_per_suite/1, - init_per_testcase/2, fin_per_testcase/2, end_per_testcase/2]). +-export([all/0, suite/0,groups/0,init_per_group/2,end_per_group/2, + init_per_suite/1, end_per_suite/1, + init_per_testcase/2, end_per_testcase/2]). -compile(export_all). @@ -48,18 +49,23 @@ init_per_testcase(Func,Config) -> wx_test_lib:init_per_testcase(Func,Config). end_per_testcase(Func,Config) -> wx_test_lib:end_per_testcase(Func,Config). -fin_per_testcase(Func,Config) -> %% For test_server - wx_test_lib:end_per_testcase(Func,Config). %% SUITE specification -all() -> - all(suite). -all(suite) -> - [ - canvas, - glu_tesselation - ]. - +suite() -> [{ct_hooks,[ts_install_cth]}]. + +all() -> + [canvas, glu_tesselation]. + +groups() -> + []. + +init_per_group(_GroupName, Config) -> + Config. + +end_per_group(_GroupName, Config) -> + Config. + + %% The test cases -define(VS, {{ 0.5, 0.5, -0.5}, %1 @@ -91,7 +97,7 @@ canvas(Config) -> ?m(true, wxWindow:show(Frame)), ?m(false, wx:is_null(wxGLCanvas:getContext(Canvas))), - ?m({'EXIT', {{no_gl_context,_},_}}, gl:getString(?GL_VENDOR)), + ?m({'EXIT', {{error, no_gl_context,_},_}}, gl:getString(?GL_VENDOR)), ?m(ok, wxGLCanvas:setCurrent(Canvas)), io:format("Vendor: ~s~n", [gl:getString(?GL_VENDOR)]), @@ -113,7 +119,7 @@ canvas(Config) -> Data = {?FACES,?VS}, drawBox(0, Data), ?m(ok, wxGLCanvas:swapBuffers(Canvas)), - + ?m([], flush()), Env = wx:get_env(), Tester = self(), spawn_link(fun() -> @@ -125,10 +131,23 @@ canvas(Config) -> %% This may fail when window is deleted catch draw_loop(2,Data,Canvas) end), - ?m_receive(works), + ?m([], flush()), + io:format("Undef func ~p ~n", [catch gl:uniform1d(2, 0.75)]), + timer:sleep(500), + ?m([], flush()), wx_test_lib:wx_destroy(Frame, Config). - + +flush() -> + flush([]). + +flush(Collected) -> + receive Msg -> + flush([Msg|Collected]) + after 1 -> + lists:reverse(Collected) + end. + draw_loop(Deg,Data,Canvas) -> timer:sleep(15), drawBox(Deg,Data), @@ -136,6 +155,7 @@ draw_loop(Deg,Data,Canvas) -> draw_loop(Deg+1, Data,Canvas). + drawBox(Deg,{Fs,Vs}) -> gl:matrixMode(?GL_MODELVIEW), gl:loadIdentity(), diff --git a/lib/wx/test/wx_test_lib.erl b/lib/wx/test/wx_test_lib.erl index 9368aa4bdc..8509d6be6f 100644 --- a/lib/wx/test/wx_test_lib.erl +++ b/lib/wx/test/wx_test_lib.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2009. All Rights Reserved. +%% Copyright Ericsson AB 2008-2010. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -35,7 +35,7 @@ init_per_suite(Config) -> exit("Can not test on MacOSX"); {unix, _} -> io:format("DISPLAY ~s~n", [os:getenv("DISPLAY")]), - case proplists:get_value(xserver, Config, none) of + case ct:get_config(xserver, none) of none -> ignore; Server -> os:putenv("DISPLAY", Server) @@ -200,7 +200,7 @@ eval_test_case(Mod, Fun, Config) -> test_case_evaluator(Mod, Fun, [Config]) -> NewConfig = Mod:init_per_testcase(Fun, Config), R = apply(Mod, Fun, [NewConfig]), - Mod:fin_per_testcase(Fun, NewConfig), + Mod:end_per_testcase(Fun, NewConfig), exit({test_case_ok, R}). wait_for_evaluator(Pid, Mod, Fun, Config) -> @@ -216,12 +216,12 @@ wait_for_evaluator(Pid, Mod, Fun, Config) -> {'EXIT', Pid, {skipped, Reason}} -> log("<WARNING> Test case ~w skipped, because ~p~n", [{Mod, Fun}, Reason]), - Mod:fin_per_testcase(Fun, Config), + Mod:end_per_testcase(Fun, Config), {skip, {Mod, Fun}, Reason}; {'EXIT', Pid, Reason} -> log("<ERROR> Eval process ~w exited, because ~p~n", [{Mod, Fun}, Reason]), - Mod:fin_per_testcase(Fun, Config), + Mod:end_per_testcase(Fun, Config), {crash, {Mod, Fun}, Reason} end. diff --git a/lib/wx/test/wx_xtra_SUITE.erl b/lib/wx/test/wx_xtra_SUITE.erl index d5888bbf94..02a0672594 100644 --- a/lib/wx/test/wx_xtra_SUITE.erl +++ b/lib/wx/test/wx_xtra_SUITE.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2009-2010. All Rights Reserved. +%% Copyright Ericsson AB 2009-2011. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -23,8 +23,9 @@ %%% Created : 3 Nov 2008 by Dan Gudmundsson <[email protected]> %%%------------------------------------------------------------------- -module(wx_xtra_SUITE). --export([all/0, init_per_suite/1, end_per_suite/1, - init_per_testcase/2, fin_per_testcase/2, end_per_testcase/2]). +-export([all/0, suite/0,groups/0,init_per_group/2,end_per_group/2, + init_per_suite/1, end_per_suite/1, + init_per_testcase/2, end_per_testcase/2]). -compile(export_all). @@ -41,19 +42,23 @@ init_per_testcase(Func,Config) -> wx_test_lib:init_per_testcase(Func,Config). end_per_testcase(Func,Config) -> wx_test_lib:end_per_testcase(Func,Config). -fin_per_testcase(Func,Config) -> %% For test_server - wx_test_lib:end_per_testcase(Func,Config). %% SUITE specification -all() -> - all(suite). -all(suite) -> - [ - destroy_app, - multiple_add_in_sizer, - app_dies, - menu_item_debug - ]. +suite() -> [{ct_hooks,[ts_install_cth]}]. + +all() -> + [destroy_app, multiple_add_in_sizer, app_dies, + menu_item_debug]. + +groups() -> + []. + +init_per_group(_GroupName, Config) -> + Config. + +end_per_group(_GroupName, Config) -> + Config. + %% The test cases diff --git a/lib/wx/test/wxt.erl b/lib/wx/test/wxt.erl index 1f5b1cc3b1..c14d3f8647 100644 --- a/lib/wx/test/wxt.erl +++ b/lib/wx/test/wxt.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2011. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -72,7 +72,7 @@ resolve({Suite0, Case}) when is_atom(Suite0), is_atom(Case) -> {Suite, Case2} -> {Suite, Case2} end; -resolve(List) when list(List) -> +resolve(List) when is_list(List) -> [resolve(Case) || Case <- List]. alias(Suite) when is_atom(Suite) -> @@ -104,7 +104,7 @@ read_config() -> end. %% Write new default config file -write_config(Config) when list(Config) -> +write_config(Config) when is_list(Config) -> Fname = config_fname(), {ok, Fd} = file:open(Fname, write), write_list(Fd, Config), diff --git a/lib/wx/vsn.mk b/lib/wx/vsn.mk index 54ab92cad2..8685c633d4 100644 --- a/lib/wx/vsn.mk +++ b/lib/wx/vsn.mk @@ -1,7 +1 @@ -WX_VSN = 0.98.5 - -TICKETS = OTP-8330 OTP-8461 OTP-8408 OTP-8455 OTP-8462 -TICKETS_0.98.4 = OTP-8243 OTP-8250 OTP-8292 -TICKETS_0.98.3 = OTP-8138 OTP-8126 OTP-8083 -TICKETS_0.98.2 = OTP-7943 -TICKETS_0.98.1 = OTP-7875
\ No newline at end of file +WX_VSN = 0.99 |