From f4060823a4141740608ab1efbdf1072fec436076 Mon Sep 17 00:00:00 2001 From: Dan Gudmundsson Date: Thu, 9 Feb 2012 12:18:34 +0100 Subject: [wx] Generate GL api from latest version - Remove edoc types in gl - Add OpenGL documentation --- lib/wx/src/gen/gl.erl | 17769 +++++++++++++++++++++++++++++++++++++---------- lib/wx/src/gen/glu.erl | 667 +- 2 files changed, 14834 insertions(+), 3602 deletions(-) (limited to 'lib/wx/src/gen') diff --git a/lib/wx/src/gen/gl.erl b/lib/wx/src/gen/gl.erl index 0ebf51d28a..ff381683ee 100644 --- a/lib/wx/src/gen/gl.erl +++ b/lib/wx/src/gen/gl.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -25,10 +25,6 @@ %% %% Booleans are represented by integers 0 and 1. -%% @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 -module(gl). -compile(inline). @@ -53,71 +49,75 @@ -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, - clearColor/4,clearDepth/1,clearIndex/1,clearStencil/1,clipPlane/2, - color3b/3,color3bv/1,color3d/3,color3dv/1,color3f/3,color3fv/1,color3i/3, - color3iv/1,color3s/3,color3sv/1,color3ub/3,color3ubv/1,color3ui/3,color3uiv/1, - color3us/3,color3usv/1,color4b/4,color4bv/1,color4d/4,color4dv/1,color4f/4, - color4fv/1,color4i/4,color4iv/1,color4s/4,color4sv/1,color4ub/4,color4ubv/1, - color4ui/4,color4uiv/1,color4us/4,color4usv/1,colorMask/4,colorMaterial/2, - colorPointer/4,copyPixels/5,copyTexImage1D/7,copyTexImage2D/8,copyTexSubImage1D/6, - copyTexSubImage2D/8,cullFace/1,deleteLists/2,deleteTextures/1,depthFunc/1, - depthMask/1,depthRange/2,disable/1,disableClientState/1,drawArrays/3, - drawBuffer/1,drawElements/4,drawPixels/5,edgeFlag/1,edgeFlagPointer/2, - edgeFlagv/1,enable/1,enableClientState/1,'end'/0,endList/0,evalCoord1d/1, - evalCoord1dv/1,evalCoord1f/1,evalCoord1fv/1,evalCoord2d/2,evalCoord2dv/1, - evalCoord2f/2,evalCoord2fv/1,evalMesh1/3,evalMesh2/5,evalPoint1/1, - evalPoint2/2,feedbackBuffer/3,finish/0,flush/0,fogf/2,fogfv/2,fogi/2, - fogiv/2,frontFace/1,frustum/6,genLists/1,genTextures/1,getBooleanv/1, - getClipPlane/1,getDoublev/1,getError/0,getFloatv/1,getIntegerv/1,getLightfv/2, - getLightiv/2,getMapdv/3,getMapfv/3,getMapiv/3,getMaterialfv/2,getMaterialiv/2, - getPixelMapfv/2,getPixelMapuiv/2,getPixelMapusv/2,getPolygonStipple/0, - getString/1,getTexEnvfv/2,getTexEnviv/2,getTexGendv/2,getTexGenfv/2, - getTexGeniv/2,getTexImage/5,getTexLevelParameterfv/3,getTexLevelParameteriv/3, - getTexParameterfv/2,getTexParameteriv/2,hint/2,indexMask/1,indexPointer/3, - indexd/1,indexdv/1,indexf/1,indexfv/1,indexi/1,indexiv/1,indexs/1,indexsv/1, - indexub/1,indexubv/1,initNames/0,interleavedArrays/3,isEnabled/1,isList/1, - isTexture/1,lightModelf/2,lightModelfv/2,lightModeli/2,lightModeliv/2, - lightf/3,lightfv/3,lighti/3,lightiv/3,lineStipple/2,lineWidth/1,listBase/1, - loadIdentity/0,loadMatrixd/1,loadMatrixf/1,loadName/1,logicOp/1,map1d/6, - map1f/6,map2d/10,map2f/10,mapGrid1d/3,mapGrid1f/3,mapGrid2d/6,mapGrid2f/6, - materialf/3,materialfv/3,materiali/3,materialiv/3,matrixMode/1,multMatrixd/1, - multMatrixf/1,newList/2,normal3b/3,normal3bv/1,normal3d/3,normal3dv/1, - normal3f/3,normal3fv/1,normal3i/3,normal3iv/1,normal3s/3,normal3sv/1, - normalPointer/3,ortho/6,passThrough/1,pixelMapfv/3,pixelMapuiv/3,pixelMapusv/3, - pixelStoref/2,pixelStorei/2,pixelTransferf/2,pixelTransferi/2,pixelZoom/2, - pointSize/1,polygonMode/2,polygonOffset/2,polygonStipple/1,popAttrib/0, - popClientAttrib/0,popMatrix/0,popName/0,prioritizeTextures/2,pushAttrib/1, - pushClientAttrib/1,pushMatrix/0,pushName/1,rasterPos2d/2,rasterPos2dv/1, - rasterPos2f/2,rasterPos2fv/1,rasterPos2i/2,rasterPos2iv/1,rasterPos2s/2, - rasterPos2sv/1,rasterPos3d/3,rasterPos3dv/1,rasterPos3f/3,rasterPos3fv/1, - rasterPos3i/3,rasterPos3iv/1,rasterPos3s/3,rasterPos3sv/1,rasterPos4d/4, - rasterPos4dv/1,rasterPos4f/4,rasterPos4fv/1,rasterPos4i/4,rasterPos4iv/1, - rasterPos4s/4,rasterPos4sv/1,readBuffer/1,readPixels/7,rectd/4,rectdv/2, - rectf/4,rectfv/2,recti/4,rectiv/2,rects/4,rectsv/2,renderMode/1,rotated/4, - rotatef/4,scaled/3,scalef/3,scissor/4,selectBuffer/2,shadeModel/1,stencilFunc/3, - stencilMask/1,stencilOp/3,texCoord1d/1,texCoord1dv/1,texCoord1f/1, - texCoord1fv/1,texCoord1i/1,texCoord1iv/1,texCoord1s/1,texCoord1sv/1, - texCoord2d/2,texCoord2dv/1,texCoord2f/2,texCoord2fv/1,texCoord2i/2, - texCoord2iv/1,texCoord2s/2,texCoord2sv/1,texCoord3d/3,texCoord3dv/1, - texCoord3f/3,texCoord3fv/1,texCoord3i/3,texCoord3iv/1,texCoord3s/3, - texCoord3sv/1,texCoord4d/4,texCoord4dv/1,texCoord4f/4,texCoord4fv/1, - texCoord4i/4,texCoord4iv/1,texCoord4s/4,texCoord4sv/1,texCoordPointer/4, - texEnvf/3,texEnvfv/3,texEnvi/3,texEnviv/3,texGend/3,texGendv/3,texGenf/3, - texGenfv/3,texGeni/3,texGeniv/3,texImage1D/8,texImage2D/9,texParameterf/3, - texParameterfv/3,texParameteri/3,texParameteriv/3,texSubImage1D/7, - texSubImage2D/9,translated/3,translatef/3,vertex2d/2,vertex2dv/1,vertex2f/2, - vertex2fv/1,vertex2i/2,vertex2iv/1,vertex2s/2,vertex2sv/1,vertex3d/3, - vertex3dv/1,vertex3f/3,vertex3fv/1,vertex3i/3,vertex3iv/1,vertex3s/3, - vertex3sv/1,vertex4d/4,vertex4dv/1,vertex4f/4,vertex4fv/1,vertex4i/4, - vertex4iv/1,vertex4s/4,vertex4sv/1,vertexPointer/4,viewport/4,blendColor/4, - blendEquation/1,drawRangeElements/6,texImage3D/10,texSubImage3D/11, +-type enum() :: non_neg_integer(). %% See wx/include/gl.hrl +-type clamp() :: float(). %% 0.0..1.0 +-type offset() :: non_neg_integer(). %% Offset in memory block +-type matrix() :: {float(),float(),float(),float(), + float(),float(),float(),float(), + float(),float(),float(),float(), + float(),float(),float(),float()}. +-type mem() :: binary() | tuple(). %% Memory block + +-export([clearIndex/1,clearColor/4,clear/1,indexMask/1,colorMask/4,alphaFunc/2, + blendFunc/2,logicOp/1,cullFace/1,frontFace/1,pointSize/1,lineWidth/1, + lineStipple/2,polygonMode/2,polygonOffset/2,polygonStipple/1,getPolygonStipple/0, + edgeFlag/1,edgeFlagv/1,scissor/4,clipPlane/2,getClipPlane/1,drawBuffer/1, + readBuffer/1,enable/1,disable/1,isEnabled/1,enableClientState/1,disableClientState/1, + getBooleanv/1,getDoublev/1,getFloatv/1,getIntegerv/1,pushAttrib/1, + popAttrib/0,pushClientAttrib/1,popClientAttrib/0,renderMode/1,getError/0, + getString/1,finish/0,flush/0,hint/2,clearDepth/1,depthFunc/1,depthMask/1, + depthRange/2,clearAccum/4,accum/2,matrixMode/1,ortho/6,frustum/6,viewport/4, + pushMatrix/0,popMatrix/0,loadIdentity/0,loadMatrixd/1,loadMatrixf/1, + multMatrixd/1,multMatrixf/1,rotated/4,rotatef/4,scaled/3,scalef/3,translated/3, + translatef/3,isList/1,deleteLists/2,genLists/1,newList/2,endList/0, + callList/1,callLists/1,listBase/1,'begin'/1,'end'/0,vertex2d/2,vertex2f/2, + vertex2i/2,vertex2s/2,vertex3d/3,vertex3f/3,vertex3i/3,vertex3s/3,vertex4d/4, + vertex4f/4,vertex4i/4,vertex4s/4,vertex2dv/1,vertex2fv/1,vertex2iv/1, + vertex2sv/1,vertex3dv/1,vertex3fv/1,vertex3iv/1,vertex3sv/1,vertex4dv/1, + vertex4fv/1,vertex4iv/1,vertex4sv/1,normal3b/3,normal3d/3,normal3f/3, + normal3i/3,normal3s/3,normal3bv/1,normal3dv/1,normal3fv/1,normal3iv/1, + normal3sv/1,indexd/1,indexf/1,indexi/1,indexs/1,indexub/1,indexdv/1, + indexfv/1,indexiv/1,indexsv/1,indexubv/1,color3b/3,color3d/3,color3f/3, + color3i/3,color3s/3,color3ub/3,color3ui/3,color3us/3,color4b/4,color4d/4, + color4f/4,color4i/4,color4s/4,color4ub/4,color4ui/4,color4us/4,color3bv/1, + color3dv/1,color3fv/1,color3iv/1,color3sv/1,color3ubv/1,color3uiv/1, + color3usv/1,color4bv/1,color4dv/1,color4fv/1,color4iv/1,color4sv/1, + color4ubv/1,color4uiv/1,color4usv/1,texCoord1d/1,texCoord1f/1,texCoord1i/1, + texCoord1s/1,texCoord2d/2,texCoord2f/2,texCoord2i/2,texCoord2s/2,texCoord3d/3, + texCoord3f/3,texCoord3i/3,texCoord3s/3,texCoord4d/4,texCoord4f/4,texCoord4i/4, + texCoord4s/4,texCoord1dv/1,texCoord1fv/1,texCoord1iv/1,texCoord1sv/1, + texCoord2dv/1,texCoord2fv/1,texCoord2iv/1,texCoord2sv/1,texCoord3dv/1, + texCoord3fv/1,texCoord3iv/1,texCoord3sv/1,texCoord4dv/1,texCoord4fv/1, + texCoord4iv/1,texCoord4sv/1,rasterPos2d/2,rasterPos2f/2,rasterPos2i/2, + rasterPos2s/2,rasterPos3d/3,rasterPos3f/3,rasterPos3i/3,rasterPos3s/3, + rasterPos4d/4,rasterPos4f/4,rasterPos4i/4,rasterPos4s/4,rasterPos2dv/1, + rasterPos2fv/1,rasterPos2iv/1,rasterPos2sv/1,rasterPos3dv/1,rasterPos3fv/1, + rasterPos3iv/1,rasterPos3sv/1,rasterPos4dv/1,rasterPos4fv/1,rasterPos4iv/1, + rasterPos4sv/1,rectd/4,rectf/4,recti/4,rects/4,rectdv/2,rectfv/2,rectiv/2, + rectsv/2,vertexPointer/4,normalPointer/3,colorPointer/4,indexPointer/3, + texCoordPointer/4,edgeFlagPointer/2,arrayElement/1,drawArrays/3,drawElements/4, + interleavedArrays/3,shadeModel/1,lightf/3,lighti/3,lightfv/3,lightiv/3, + getLightfv/2,getLightiv/2,lightModelf/2,lightModeli/2,lightModelfv/2, + lightModeliv/2,materialf/3,materiali/3,materialfv/3,materialiv/3,getMaterialfv/2, + getMaterialiv/2,colorMaterial/2,pixelZoom/2,pixelStoref/2,pixelStorei/2, + pixelTransferf/2,pixelTransferi/2,pixelMapfv/3,pixelMapuiv/3,pixelMapusv/3, + getPixelMapfv/2,getPixelMapuiv/2,getPixelMapusv/2,bitmap/7,readPixels/7, + drawPixels/5,copyPixels/5,stencilFunc/3,stencilMask/1,stencilOp/3, + clearStencil/1,texGend/3,texGenf/3,texGeni/3,texGendv/3,texGenfv/3, + texGeniv/3,getTexGendv/2,getTexGenfv/2,getTexGeniv/2,texEnvf/3,texEnvi/3, + texEnvfv/3,texEnviv/3,getTexEnvfv/2,getTexEnviv/2,texParameterf/3, + texParameteri/3,texParameterfv/3,texParameteriv/3,getTexParameterfv/2, + getTexParameteriv/2,getTexLevelParameterfv/3,getTexLevelParameteriv/3, + texImage1D/8,texImage2D/9,getTexImage/5,genTextures/1,deleteTextures/1, + bindTexture/2,prioritizeTextures/2,areTexturesResident/1,isTexture/1, + texSubImage1D/7,texSubImage2D/9,copyTexImage1D/7,copyTexImage2D/8, + copyTexSubImage1D/6,copyTexSubImage2D/8,map1d/6,map1f/6,map2d/10,map2f/10, + getMapdv/3,getMapfv/3,getMapiv/3,evalCoord1d/1,evalCoord1f/1,evalCoord1dv/1, + evalCoord1fv/1,evalCoord2d/2,evalCoord2f/2,evalCoord2dv/1,evalCoord2fv/1, + mapGrid1d/3,mapGrid1f/3,mapGrid2d/6,mapGrid2f/6,evalPoint1/1,evalPoint2/2, + evalMesh1/3,evalMesh2/5,fogf/2,fogi/2,fogfv/2,fogiv/2,feedbackBuffer/3, + passThrough/1,selectBuffer/2,initNames/0,loadName/1,pushName/1,popName/0, + blendColor/4,blendEquation/1,drawRangeElements/6,texImage3D/10,texSubImage3D/11, copyTexSubImage3D/9,colorTable/6,colorTableParameterfv/3,colorTableParameteriv/3, copyColorTable/5,getColorTable/4,getColorTableParameterfv/2,getColorTableParameteriv/2, colorSubTable/6,copyColorSubTable/5,convolutionFilter1D/6,convolutionFilter2D/7, @@ -267,9 +267,10 @@ 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, + getGraphicsResetStatusARB/0,drawArraysInstancedBaseInstance/5,drawElementsInstancedBaseInstance/6, + drawElementsInstancedBaseVertexBaseInstance/7,drawTransformFeedbackInstanced/3, + drawTransformFeedbackStreamInstanced/4,getInternalformativ/4,bindImageTexture/7, + memoryBarrier/1,texStorage1D/4,texStorage2D/5,texStorage3D/6,depthBoundsEXT/2, stencilClearTagEXT/2]). -export([call/2, cast/2, send_bin/1]). @@ -306,2215 +307,8470 @@ send_bin(Tuple) when is_tuple(Tuple) -> %% API -%% @spec (Op::enum(),Value::float()) -> ok -%% @doc See external documentation. --spec accum(enum(),float()) -> ok. -accum(Op,Value) -> - cast(5037, <>). - -%% @spec (Func::enum(),Ref::clamp()) -> ok -%% @doc See external documentation. --spec alphaFunc(enum(),clamp()) -> ok. -alphaFunc(Func,Ref) -> - cast(5038, <>). - -%% @spec (Textures::[integer()]) -> {0|1,Residences::[0|1]} -%% @doc See external documentation. --spec areTexturesResident([integer()]) -> {0|1,[0|1]}. -areTexturesResident(Textures) -> - call(5039, <<(length(Textures)):?GLuint, - (<< <> || C <- Textures>>)/binary,0:(((1+length(Textures)) rem 2)*32)>>). - -%% @spec (I::integer()) -> ok -%% @doc See external documentation. --spec arrayElement(integer()) -> ok. -arrayElement(I) -> - cast(5040, <>). - -%% @spec (Mode::enum()) -> ok -%% @doc See external documentation. --spec 'begin'(enum()) -> ok. -'begin'(Mode) -> - cast(5041, <>). - -%% @spec (Target::enum(),Texture::integer()) -> ok -%% @doc See external documentation. --spec bindTexture(enum(),integer()) -> ok. -bindTexture(Target,Texture) -> - cast(5042, <>). - -%% @spec (Width::integer(),Height::integer(),Xorig::float(),Yorig::float(),Xmove::float(),Ymove::float(),Bitmap::offset()|mem()) -> ok -%% @doc See external documentation. --spec bitmap(integer(),integer(),float(),float(),float(),float(),offset()|mem()) -> ok. -bitmap(Width,Height,Xorig,Yorig,Xmove,Ymove,Bitmap) when is_integer(Bitmap) -> - cast(5043, <>); -bitmap(Width,Height,Xorig,Yorig,Xmove,Ymove,Bitmap) -> - send_bin(Bitmap), - cast(5044, <>). - -%% @spec (Sfactor::enum(),Dfactor::enum()) -> ok -%% @doc See external documentation. --spec blendFunc(enum(),enum()) -> ok. -blendFunc(Sfactor,Dfactor) -> - cast(5045, <>). - -%% @spec (List::integer()) -> ok -%% @doc See external documentation. --spec callList(integer()) -> ok. -callList(List) -> - cast(5046, <>). - -%% @spec (Lists::[integer()]) -> ok -%% @doc See external documentation. --spec callLists([integer()]) -> ok. -callLists(Lists) -> - cast(5047, <<(length(Lists)):?GLuint, - (<< <> || C <- Lists>>)/binary,0:(((1+length(Lists)) rem 2)*32)>>). - -%% @spec (Mask::integer()) -> ok -%% @doc See external documentation. --spec clear(integer()) -> ok. -clear(Mask) -> - cast(5048, <>). - -%% @spec (Red::float(),Green::float(),Blue::float(),Alpha::float()) -> ok -%% @doc See external documentation. --spec clearAccum(float(),float(),float(),float()) -> ok. -clearAccum(Red,Green,Blue,Alpha) -> - cast(5049, <>). - -%% @spec (Red::clamp(),Green::clamp(),Blue::clamp(),Alpha::clamp()) -> ok -%% @doc See external documentation. --spec clearColor(clamp(),clamp(),clamp(),clamp()) -> ok. -clearColor(Red,Green,Blue,Alpha) -> - cast(5050, <>). - -%% @spec (Depth::clamp()) -> ok -%% @doc See external documentation. --spec clearDepth(clamp()) -> ok. -clearDepth(Depth) -> - cast(5051, <>). - -%% @spec (C::float()) -> ok -%% @doc See external documentation. --spec clearIndex(float()) -> ok. +%% @doc Specify the clear value for the color index buffers +%% +%% ``gl:clearIndex'' specifies the index used by {@link gl:clear/1} to clear the color index +%% buffers. `C' is not clamped. Rather, `C' is converted to a fixed-point value +%% with unspecified precision to the right of the binary point. The integer part of this +%% value is then masked with 2 m-1, where m is the number of bits in a color index stored +%% in the frame buffer. +%% +%% See external documentation. +-spec clearIndex(C) -> ok when C :: float(). clearIndex(C) -> - cast(5052, <>). - -%% @spec (S::integer()) -> ok -%% @doc See external documentation. --spec clearStencil(integer()) -> ok. -clearStencil(S) -> - cast(5053, <>). + cast(5037, <>). -%% @spec (Plane::enum(),Equation::{float(),float(),float(),float()}) -> ok -%% @doc See external documentation. --spec clipPlane(enum(),{float(),float(),float(),float()}) -> ok. -clipPlane(Plane,{E1,E2,E3,E4}) -> - cast(5054, <>). - -%% @spec (Red::integer(),Green::integer(),Blue::integer()) -> ok -%% @doc See external documentation. --spec color3b(integer(),integer(),integer()) -> ok. -color3b(Red,Green,Blue) -> - cast(5055, <>). +%% @doc Specify clear values for the color buffers +%% +%% ``gl:clearColor'' specifies the red, green, blue, and alpha values used by {@link gl:clear/1} +%% to clear the color buffers. Values specified by ``gl:clearColor'' are clamped to the +%% range [0 1]. +%% +%% See external documentation. +-spec clearColor(Red, Green, Blue, Alpha) -> ok when Red :: clamp(),Green :: clamp(),Blue :: clamp(),Alpha :: clamp(). +clearColor(Red,Green,Blue,Alpha) -> + cast(5038, <>). -%% @spec ({Red,Green,Blue}) -> ok -%% @equiv color3b(Red,Green,Blue) --spec color3bv({integer(),integer(),integer()}) -> ok. -color3bv({Red,Green,Blue}) -> color3b(Red,Green,Blue). +%% @doc Clear buffers to preset values +%% +%% ``gl:clear'' sets the bitplane area of the window to values previously selected by ``gl:clearColor'' +%% , ``gl:clearDepth'', and ``gl:clearStencil''. Multiple color buffers can be cleared +%% simultaneously by selecting more than one buffer at a time using {@link gl:drawBuffer/1} . +%% +%% The pixel ownership test, the scissor test, dithering, and the buffer writemasks affect +%% the operation of ``gl:clear''. The scissor box bounds the cleared region. Alpha function, +%% blend function, logical operation, stenciling, texture mapping, and depth-buffering are +%% ignored by ``gl:clear''. +%% +%% ``gl:clear'' takes a single argument that is the bitwise OR of several values indicating +%% which buffer is to be cleared. +%% +%% The values are as follows: +%% +%% `?GL_COLOR_BUFFER_BIT': Indicates the buffers currently enabled for color writing. +%% +%% `?GL_DEPTH_BUFFER_BIT': Indicates the depth buffer. +%% +%% `?GL_STENCIL_BUFFER_BIT': Indicates the stencil buffer. +%% +%% The value to which each buffer is cleared depends on the setting of the clear value for +%% that buffer. +%% +%% See external documentation. +-spec clear(Mask) -> ok when Mask :: integer(). +clear(Mask) -> + cast(5039, <>). -%% @spec (Red::float(),Green::float(),Blue::float()) -> ok -%% @doc See external documentation. --spec color3d(float(),float(),float()) -> ok. -color3d(Red,Green,Blue) -> - cast(5056, <>). +%% @doc Control the writing of individual bits in the color index buffers +%% +%% ``gl:indexMask'' controls the writing of individual bits in the color index buffers. +%% The least significant n bits of `Mask' , where n is the number of bits in a color +%% index buffer, specify a mask. Where a 1 (one) appears in the mask, it's possible to write +%% to the corresponding bit in the color index buffer (or buffers). Where a 0 (zero) appears, +%% the corresponding bit is write-protected. +%% +%% This mask is used only in color index mode, and it affects only the buffers currently +%% selected for writing (see {@link gl:drawBuffer/1} ). Initially, all bits are enabled for +%% writing. +%% +%% See external documentation. +-spec indexMask(Mask) -> ok when Mask :: integer(). +indexMask(Mask) -> + cast(5040, <>). -%% @spec ({Red,Green,Blue}) -> ok -%% @equiv color3d(Red,Green,Blue) --spec color3dv({float(),float(),float()}) -> ok. -color3dv({Red,Green,Blue}) -> color3d(Red,Green,Blue). +%% @doc Enable and disable writing of frame buffer color components +%% +%% ``gl:colorMask'' and ``gl:colorMaski'' specify whether the individual color components +%% in the frame buffer can or cannot be written. ``gl:colorMaski'' sets the mask for a +%% specific draw buffer, whereas ``gl:colorMask'' sets the mask for all draw buffers. If `Red' +%% is `?GL_FALSE', for example, no change is made to the red component of any pixel +%% in any of the color buffers, regardless of the drawing operation attempted. +%% +%% Changes to individual bits of components cannot be controlled. Rather, changes are either +%% enabled or disabled for entire color components. +%% +%% See external documentation. +-spec colorMask(Red, Green, Blue, Alpha) -> ok when Red :: 0|1,Green :: 0|1,Blue :: 0|1,Alpha :: 0|1. +colorMask(Red,Green,Blue,Alpha) -> + cast(5041, <>). -%% @spec (Red::float(),Green::float(),Blue::float()) -> ok -%% @doc See external documentation. --spec color3f(float(),float(),float()) -> ok. -color3f(Red,Green,Blue) -> - cast(5057, <>). +%% @doc Specify the alpha test function +%% +%% The alpha test discards fragments depending on the outcome of a comparison between an +%% incoming fragment's alpha value and a constant reference value. ``gl:alphaFunc'' specifies +%% the reference value and the comparison function. The comparison is performed only if alpha +%% testing is enabled. By default, it is not enabled. (See {@link gl:enable/1} and {@link gl:enable/1} +%% of `?GL_ALPHA_TEST'.) +%% +%% `Func' and `Ref' specify the conditions under which the pixel is drawn. The +%% incoming alpha value is compared to `Ref' using the function specified by `Func' . +%% If the value passes the comparison, the incoming fragment is drawn if it also passes subsequent +%% stencil and depth buffer tests. If the value fails the comparison, no change is made to +%% the frame buffer at that pixel location. The comparison functions are as follows: +%% +%% `?GL_NEVER': Never passes. +%% +%% `?GL_LESS': Passes if the incoming alpha value is less than the reference value. +%% +%% `?GL_EQUAL': Passes if the incoming alpha value is equal to the reference value. +%% +%% `?GL_LEQUAL': Passes if the incoming alpha value is less than or equal to the reference +%% value. +%% +%% `?GL_GREATER': Passes if the incoming alpha value is greater than the reference +%% value. +%% +%% `?GL_NOTEQUAL': Passes if the incoming alpha value is not equal to the reference +%% value. +%% +%% `?GL_GEQUAL': Passes if the incoming alpha value is greater than or equal to the +%% reference value. +%% +%% `?GL_ALWAYS': Always passes (initial value). +%% +%% ``gl:alphaFunc'' operates on all pixel write operations, including those resulting from +%% the scan conversion of points, lines, polygons, and bitmaps, and from pixel draw and copy +%% operations. ``gl:alphaFunc'' does not affect screen clear operations. +%% +%% See external documentation. +-spec alphaFunc(Func, Ref) -> ok when Func :: enum(),Ref :: clamp(). +alphaFunc(Func,Ref) -> + cast(5042, <>). -%% @spec ({Red,Green,Blue}) -> ok -%% @equiv color3f(Red,Green,Blue) --spec color3fv({float(),float(),float()}) -> ok. -color3fv({Red,Green,Blue}) -> color3f(Red,Green,Blue). +%% @doc Specify pixel arithmetic +%% +%% Pixels can be drawn using a function that blends the incoming (source) RGBA values with +%% the RGBA values that are already in the frame buffer (the destination values). Blending +%% is initially disabled. Use {@link gl:enable/1} and {@link gl:enable/1} with argument `?GL_BLEND' +%% to enable and disable blending. +%% +%% ``gl:blendFunc'' defines the operation of blending for all draw buffers when it is enabled. +%% ``gl:blendFunci'' defines the operation of blending for a single draw buffer specified +%% by `Buf' when enabled for that draw buffer. `Sfactor' specifies which method +%% is used to scale the source color components. `Dfactor' specifies which method is +%% used to scale the destination color components. Both parameters must be one of the following +%% symbolic constants: `?GL_ZERO', `?GL_ONE', `?GL_SRC_COLOR', `?GL_ONE_MINUS_SRC_COLOR' +%% , `?GL_DST_COLOR', `?GL_ONE_MINUS_DST_COLOR', `?GL_SRC_ALPHA', `?GL_ONE_MINUS_SRC_ALPHA' +%% , `?GL_DST_ALPHA', `?GL_ONE_MINUS_DST_ALPHA', `?GL_CONSTANT_COLOR', `?GL_ONE_MINUS_CONSTANT_COLOR' +%% , `?GL_CONSTANT_ALPHA', `?GL_ONE_MINUS_CONSTANT_ALPHA', `?GL_SRC_ALPHA_SATURATE' +%% , `?GL_SRC1_COLOR', `?GL_ONE_MINUS_SRC1_COLOR', `?GL_SRC1_ALPHA', and `?GL_ONE_MINUS_SRC1_ALPHA' +%% . The possible methods are described in the following table. Each method defines four +%% scale factors, one each for red, green, blue, and alpha. In the table and in subsequent +%% equations, first source, second source and destination color components are referred to +%% as (R s0 G s0 B s0 A s0), (R s1 G s1 B s1 A s1) and (R d G d B d A d), respectively. The color specified by {@link gl:blendColor/4} is referred to +%% as (R c G c B c A c). They are understood to have integer values between 0 and (k R k G k B k A), where +%% +%% k c= 2(m c)-1 +%% +%% and (m R m G m B m A) is the number of red, green, blue, and alpha bitplanes. +%% +%% Source and destination scale factors are referred to as (s R s G s B s A) and (d R d G d B d A). The scale factors described +%% in the table, denoted (f R f G f B f A), represent either source or destination factors. All scale factors +%% have range [0 1]. +%% +%% +%% +%%
` Parameter '(f R f G f B f A)
`?GL_ZERO' +%% (0 0 0 0)
`?GL_ONE'(1 1 1 1)
`?GL_SRC_COLOR'(R s0 k/R G s0 k/G B s0 k/B A s0 k/A)
`?GL_ONE_MINUS_SRC_COLOR'(1 1 1 1)-(R s0 k/R G s0 k/G B s0 k/B +%% A s0 k/A)
`?GL_DST_COLOR' +%% (R d k/R G d k/G B d k/B A d k/A)
`?GL_ONE_MINUS_DST_COLOR'(1 1 1 1)-(R d k/R G d k/G B d k/B +%% A d k/A)
`?GL_SRC_ALPHA' +%% (A s0 k/A A s0 k/A A s0 k/A A s0 k/A)
`?GL_ONE_MINUS_SRC_ALPHA'(1 1 1 1)-(A s0 k/A A s0 k/A A s0 +%% k/A A s0 k/A)
`?GL_DST_ALPHA' +%% (A d k/A A d k/A A d k/A A d k/A)
`?GL_ONE_MINUS_DST_ALPHA'(1 1 1 1)-(A d k/A A d k/A A d k/A +%% A d k/A)
`?GL_CONSTANT_COLOR' +%% (R c G c B c A c)
`?GL_ONE_MINUS_CONSTANT_COLOR'(1 1 1 1)-(R c G c B c A c)
+%% `?GL_CONSTANT_ALPHA'(A c A c A c A c)
`?GL_ONE_MINUS_CONSTANT_ALPHA'(1 1 1 1)-(A c A c A c A c)
`?GL_SRC_ALPHA_SATURATE'(i i i 1)
`?GL_SRC1_COLOR' +%% (R s1 k/R G s1 k/G B s1 k/B A s1 k/A)
`?GL_ONE_MINUS_SRC1_COLOR'(1 1 1 1)-(R s1 k/R G s1 k/G B +%% s1 k/B A s1 k/A)
`?GL_SRC1_ALPHA' +%% (A s1 k/A A s1 k/A A s1 k/A A s1 k/A)
`?GL_ONE_MINUS_SRC1_ALPHA'(1 1 1 1)-(A s1 k/A A s1 k/A A +%% s1 k/A A s1 k/A)
+%% +%% +%% In the table, +%% +%% i= min(A s k A-A d) k/A +%% +%% To determine the blended RGBA values of a pixel, the system uses the following equations: +%% +%% +%% R d= min(k R R s s R+R d d R) G d= min(k G G s s G+G d d G) B d= min(k B B s s B+B d d B) A d= min(k A A s s A+A d d A) +%% +%% Despite the apparent precision of the above equations, blending arithmetic is not exactly +%% specified, because blending operates with imprecise integer color values. However, a blend +%% factor that should be equal to 1 is guaranteed not to modify its multiplicand, and a blend +%% factor equal to 0 reduces its multiplicand to 0. For example, when `Sfactor' is `?GL_SRC_ALPHA' +%% , `Dfactor' is `?GL_ONE_MINUS_SRC_ALPHA', and A s is equal to k A, the equations +%% reduce to simple replacement: +%% +%% R d= R s G d= G s B d= B s A d= A s +%% +%% +%% +%% See external documentation. +-spec blendFunc(Sfactor, Dfactor) -> ok when Sfactor :: enum(),Dfactor :: enum(). +blendFunc(Sfactor,Dfactor) -> + cast(5043, <>). -%% @spec (Red::integer(),Green::integer(),Blue::integer()) -> ok -%% @doc See external documentation. --spec color3i(integer(),integer(),integer()) -> ok. -color3i(Red,Green,Blue) -> - cast(5058, <>). +%% @doc Specify a logical pixel operation for rendering +%% +%% ``gl:logicOp'' specifies a logical operation that, when enabled, is applied between +%% the incoming RGBA color and the RGBA color at the corresponding location in the frame +%% buffer. To enable or disable the logical operation, call {@link gl:enable/1} and {@link gl:enable/1} +%% using the symbolic constant `?GL_COLOR_LOGIC_OP'. The initial value is disabled. +%% +%% +%% +%% +%% +%% +%%
` Opcode '` Resulting Operation '
`?GL_CLEAR' 0
`?GL_SET' 1
`?GL_COPY' s
`?GL_COPY_INVERTED' +%% ~s
`?GL_NOOP' d
`?GL_INVERT' +%% ~d
`?GL_AND' s & d
`?GL_NAND' ~(s & d)
`?GL_OR' s | d
`?GL_NOR' +%% ~(s | d)
`?GL_XOR' s ^ d
`?GL_EQUIV' +%% ~(s ^ d)
`?GL_AND_REVERSE' s & ~d
`?GL_AND_INVERTED' ~s & d
`?GL_OR_REVERSE' +%% s | ~d
`?GL_OR_INVERTED' ~s | d
+%% +%% `Opcode' is a symbolic constant chosen from the list above. In the explanation of +%% the logical operations, `s' represents the incoming color and `d' represents +%% the color in the frame buffer. Standard C-language operators are used. As these bitwise +%% operators suggest, the logical operation is applied independently to each bit pair of +%% the source and destination colors. +%% +%% See external documentation. +-spec logicOp(Opcode) -> ok when Opcode :: enum(). +logicOp(Opcode) -> + cast(5044, <>). -%% @spec ({Red,Green,Blue}) -> ok -%% @equiv color3i(Red,Green,Blue) --spec color3iv({integer(),integer(),integer()}) -> ok. -color3iv({Red,Green,Blue}) -> color3i(Red,Green,Blue). +%% @doc Specify whether front- or back-facing facets can be culled +%% +%% ``gl:cullFace'' specifies whether front- or back-facing facets are culled (as specified +%% by `mode') when facet culling is enabled. Facet culling is initially disabled. To +%% enable and disable facet culling, call the {@link gl:enable/1} and {@link gl:enable/1} +%% commands with the argument `?GL_CULL_FACE'. Facets include triangles, quadrilaterals, +%% polygons, and rectangles. +%% +%% {@link gl:frontFace/1} specifies which of the clockwise and counterclockwise facets are +%% front-facing and back-facing. See {@link gl:frontFace/1} . +%% +%% See external documentation. +-spec cullFace(Mode) -> ok when Mode :: enum(). +cullFace(Mode) -> + cast(5045, <>). -%% @spec (Red::integer(),Green::integer(),Blue::integer()) -> ok -%% @doc See external documentation. --spec color3s(integer(),integer(),integer()) -> ok. -color3s(Red,Green,Blue) -> - cast(5059, <>). +%% @doc Define front- and back-facing polygons +%% +%% In a scene composed entirely of opaque closed surfaces, back-facing polygons are never +%% visible. Eliminating these invisible polygons has the obvious benefit of speeding up the +%% rendering of the image. To enable and disable elimination of back-facing polygons, call {@link gl:enable/1} +%% and {@link gl:enable/1} with argument `?GL_CULL_FACE'. +%% +%% The projection of a polygon to window coordinates is said to have clockwise winding if +%% an imaginary object following the path from its first vertex, its second vertex, and so +%% on, to its last vertex, and finally back to its first vertex, moves in a clockwise direction +%% about the interior of the polygon. The polygon's winding is said to be counterclockwise +%% if the imaginary object following the same path moves in a counterclockwise direction +%% about the interior of the polygon. ``gl:frontFace'' specifies whether polygons with +%% clockwise winding in window coordinates, or counterclockwise winding in window coordinates, +%% are taken to be front-facing. Passing `?GL_CCW' to `Mode' selects counterclockwise +%% polygons as front-facing; `?GL_CW' selects clockwise polygons as front-facing. By +%% default, counterclockwise polygons are taken to be front-facing. +%% +%% See external documentation. +-spec frontFace(Mode) -> ok when Mode :: enum(). +frontFace(Mode) -> + cast(5046, <>). -%% @spec ({Red,Green,Blue}) -> ok -%% @equiv color3s(Red,Green,Blue) --spec color3sv({integer(),integer(),integer()}) -> ok. -color3sv({Red,Green,Blue}) -> color3s(Red,Green,Blue). +%% @doc Specify the diameter of rasterized points +%% +%% ``gl:pointSize'' specifies the rasterized diameter of points. If point size mode is +%% disabled (see {@link gl:enable/1} with parameter `?GL_PROGRAM_POINT_SIZE'), this value +%% will be used to rasterize points. Otherwise, the value written to the shading language +%% built-in variable gl_PointSize will be used. +%% +%% See external documentation. +-spec pointSize(Size) -> ok when Size :: float(). +pointSize(Size) -> + cast(5047, <>). -%% @spec (Red::integer(),Green::integer(),Blue::integer()) -> ok -%% @doc See external documentation. --spec color3ub(integer(),integer(),integer()) -> ok. -color3ub(Red,Green,Blue) -> - cast(5060, <>). +%% @doc Specify the width of rasterized lines +%% +%% ``gl:lineWidth'' specifies the rasterized width of both aliased and antialiased lines. +%% Using a line width other than 1 has different effects, depending on whether line antialiasing +%% is enabled. To enable and disable line antialiasing, call {@link gl:enable/1} and {@link gl:enable/1} +%% with argument `?GL_LINE_SMOOTH'. Line antialiasing is initially disabled. +%% +%% If line antialiasing is disabled, the actual width is determined by rounding the supplied +%% width to the nearest integer. (If the rounding results in the value 0, it is as if the +%% line width were 1.) If |&Delta; x|>=|&Delta; y|, `i' pixels are filled in each column that is rasterized, +%% where `i' is the rounded value of `Width' . Otherwise, `i' pixels are filled +%% in each row that is rasterized. +%% +%% If antialiasing is enabled, line rasterization produces a fragment for each pixel square +%% that intersects the region lying within the rectangle having width equal to the current +%% line width, length equal to the actual length of the line, and centered on the mathematical +%% line segment. The coverage value for each fragment is the window coordinate area of the +%% intersection of the rectangular region with the corresponding pixel square. This value +%% is saved and used in the final rasterization step. +%% +%% Not all widths can be supported when line antialiasing is enabled. If an unsupported +%% width is requested, the nearest supported width is used. Only width 1 is guaranteed to +%% be supported; others depend on the implementation. Likewise, there is a range for aliased +%% line widths as well. To query the range of supported widths and the size difference between +%% supported widths within the range, call {@link gl:getBooleanv/1} with arguments `?GL_ALIASED_LINE_WIDTH_RANGE' +%% , `?GL_SMOOTH_LINE_WIDTH_RANGE', and `?GL_SMOOTH_LINE_WIDTH_GRANULARITY'. +%% +%% See external documentation. +-spec lineWidth(Width) -> ok when Width :: float(). +lineWidth(Width) -> + cast(5048, <>). -%% @spec ({Red,Green,Blue}) -> ok -%% @equiv color3ub(Red,Green,Blue) --spec color3ubv({integer(),integer(),integer()}) -> ok. -color3ubv({Red,Green,Blue}) -> color3ub(Red,Green,Blue). +%% @doc Specify the line stipple pattern +%% +%% Line stippling masks out certain fragments produced by rasterization; those fragments +%% will not be drawn. The masking is achieved by using three parameters: the 16-bit line +%% stipple pattern `Pattern' , the repeat count `Factor' , and an integer stipple +%% counter s. +%% +%% Counter s is reset to 0 whenever {@link gl:'begin'/1} is called and before each line segment +%% of a {@link gl:'begin'/1} (`?GL_LINES')/ {@link gl:'begin'/1} sequence is generated. It is +%% incremented after each fragment of a unit width aliased line segment is generated or after +%% each i fragments of an i width line segment are generated. The i fragments associated +%% with count s are masked out if +%% +%% `Pattern' bit (s/factor)% 16 +%% +%% is 0, otherwise these fragments are sent to the frame buffer. Bit zero of `Pattern' +%% is the least significant bit. +%% +%% Antialiased lines are treated as a sequence of 1*width rectangles for purposes of stippling. +%% Whether rectangle s is rasterized or not depends on the fragment rule described for +%% aliased lines, counting rectangles rather than groups of fragments. +%% +%% To enable and disable line stippling, call {@link gl:enable/1} and {@link gl:enable/1} +%% with argument `?GL_LINE_STIPPLE'. When enabled, the line stipple pattern is applied +%% as described above. When disabled, it is as if the pattern were all 1's. Initially, line +%% stippling is disabled. +%% +%% See external documentation. +-spec lineStipple(Factor, Pattern) -> ok when Factor :: integer(),Pattern :: integer(). +lineStipple(Factor,Pattern) -> + cast(5049, <>). -%% @spec (Red::integer(),Green::integer(),Blue::integer()) -> ok -%% @doc See external documentation. --spec color3ui(integer(),integer(),integer()) -> ok. -color3ui(Red,Green,Blue) -> - cast(5061, <>). +%% @doc Select a polygon rasterization mode +%% +%% ``gl:polygonMode'' controls the interpretation of polygons for rasterization. `Face' +%% describes which polygons `Mode' applies to: both front and back-facing polygons (`?GL_FRONT_AND_BACK' +%% ). The polygon mode affects only the final rasterization of polygons. In particular, a +%% polygon's vertices are lit and the polygon is clipped and possibly culled before these +%% modes are applied. +%% +%% Three modes are defined and can be specified in `Mode' : +%% +%% `?GL_POINT': Polygon vertices that are marked as the start of a boundary edge are +%% drawn as points. Point attributes such as `?GL_POINT_SIZE' and `?GL_POINT_SMOOTH' +%% control the rasterization of the points. Polygon rasterization attributes other than `?GL_POLYGON_MODE' +%% have no effect. +%% +%% `?GL_LINE': Boundary edges of the polygon are drawn as line segments. Line attributes +%% such as `?GL_LINE_WIDTH' and `?GL_LINE_SMOOTH' control the rasterization of +%% the lines. Polygon rasterization attributes other than `?GL_POLYGON_MODE' have no +%% effect. +%% +%% `?GL_FILL': The interior of the polygon is filled. Polygon attributes such as `?GL_POLYGON_SMOOTH' +%% control the rasterization of the polygon. +%% +%% See external documentation. +-spec polygonMode(Face, Mode) -> ok when Face :: enum(),Mode :: enum(). +polygonMode(Face,Mode) -> + cast(5050, <>). -%% @spec ({Red,Green,Blue}) -> ok -%% @equiv color3ui(Red,Green,Blue) --spec color3uiv({integer(),integer(),integer()}) -> ok. -color3uiv({Red,Green,Blue}) -> color3ui(Red,Green,Blue). +%% @doc Set the scale and units used to calculate depth values +%% +%% When `?GL_POLYGON_OFFSET_FILL', `?GL_POLYGON_OFFSET_LINE', or `?GL_POLYGON_OFFSET_POINT' +%% is enabled, each fragment's `depth' value will be offset after it is interpolated +%% from the `depth' values of the appropriate vertices. The value of the offset is +%% factor*DZ+r*units, where DZ is a measurement of the change in depth relative to the +%% screen area of the polygon, and r is the smallest value that is guaranteed to produce +%% a resolvable offset for a given implementation. The offset is added before the depth test +%% is performed and before the value is written into the depth buffer. +%% +%% ``gl:polygonOffset'' is useful for rendering hidden-line images, for applying decals +%% to surfaces, and for rendering solids with highlighted edges. +%% +%% See external documentation. +-spec polygonOffset(Factor, Units) -> ok when Factor :: float(),Units :: float(). +polygonOffset(Factor,Units) -> + cast(5051, <>). -%% @spec (Red::integer(),Green::integer(),Blue::integer()) -> ok -%% @doc See external documentation. --spec color3us(integer(),integer(),integer()) -> ok. -color3us(Red,Green,Blue) -> - cast(5062, <>). +%% @doc Set the polygon stippling pattern +%% +%% Polygon stippling, like line stippling (see {@link gl:lineStipple/2} ), masks out certain +%% fragments produced by rasterization, creating a pattern. Stippling is independent of polygon +%% antialiasing. +%% +%% `Pattern' is a pointer to a 32*32 stipple pattern that is stored in memory just +%% like the pixel data supplied to a {@link gl:drawPixels/5} call with height and `width' +%% both equal to 32, a pixel format of `?GL_COLOR_INDEX', and data type of `?GL_BITMAP' +%% . That is, the stipple pattern is represented as a 32*32 array of 1-bit color indices +%% packed in unsigned bytes. {@link gl:pixelStoref/2} parameters like `?GL_UNPACK_SWAP_BYTES' +%% and `?GL_UNPACK_LSB_FIRST' affect the assembling of the bits into a stipple pattern. +%% Pixel transfer operations (shift, offset, pixel map) are not applied to the stipple image, +%% however. +%% +%% If a non-zero named buffer object is bound to the `?GL_PIXEL_UNPACK_BUFFER' target +%% (see {@link gl:bindBuffer/2} ) while a stipple pattern is specified, `Pattern' is +%% treated as a byte offset into the buffer object's data store. +%% +%% To enable and disable polygon stippling, call {@link gl:enable/1} and {@link gl:enable/1} +%% with argument `?GL_POLYGON_STIPPLE'. Polygon stippling is initially disabled. If +%% it's enabled, a rasterized polygon fragment with window coordinates x w and y w is +%% sent to the next stage of the GL if and only if the ( x w% 32)th bit in the ( y w% 32)th +%% row of the stipple pattern is 1 (one). When polygon stippling is disabled, it is as if +%% the stipple pattern consists of all 1's. +%% +%% See external documentation. +-spec polygonStipple(Mask) -> ok when Mask :: binary(). +polygonStipple(Mask) -> + send_bin(Mask), + cast(5052, <<>>). -%% @spec ({Red,Green,Blue}) -> ok -%% @equiv color3us(Red,Green,Blue) --spec color3usv({integer(),integer(),integer()}) -> ok. -color3usv({Red,Green,Blue}) -> color3us(Red,Green,Blue). +%% @doc Return the polygon stipple pattern +%% +%% ``gl:getPolygonStipple'' returns to `Pattern' a 32*32 polygon stipple pattern. +%% The pattern is packed into memory as if {@link gl:readPixels/7} with both `height' +%% and `width' of 32, `type' of `?GL_BITMAP', and `format' of `?GL_COLOR_INDEX' +%% were called, and the stipple pattern were stored in an internal 32*32 color index buffer. +%% Unlike {@link gl:readPixels/7} , however, pixel transfer operations (shift, offset, pixel +%% map) are not applied to the returned stipple image. +%% +%% If a non-zero named buffer object is bound to the `?GL_PIXEL_PACK_BUFFER' target +%% (see {@link gl:bindBuffer/2} ) while a polygon stipple pattern is requested, `Pattern' +%% is treated as a byte offset into the buffer object's data store. +%% +%% See external documentation. +-spec getPolygonStipple() -> binary(). +getPolygonStipple() -> + call(5053, <<>>). -%% @spec (Red::integer(),Green::integer(),Blue::integer(),Alpha::integer()) -> ok -%% @doc See external documentation. --spec color4b(integer(),integer(),integer(),integer()) -> ok. -color4b(Red,Green,Blue,Alpha) -> - cast(5063, <>). +%% @doc Flag edges as either boundary or nonboundary +%% +%% Each vertex of a polygon, separate triangle, or separate quadrilateral specified between +%% a {@link gl:'begin'/1} / {@link gl:'begin'/1} pair is marked as the start of either a boundary or +%% nonboundary edge. If the current edge flag is true when the vertex is specified, the vertex +%% is marked as the start of a boundary edge. Otherwise, the vertex is marked as the start +%% of a nonboundary edge. ``gl:edgeFlag'' sets the edge flag bit to `?GL_TRUE' if `Flag' +%% is `?GL_TRUE' and to `?GL_FALSE' otherwise. +%% +%% The vertices of connected triangles and connected quadrilaterals are always marked as +%% boundary, regardless of the value of the edge flag. +%% +%% Boundary and nonboundary edge flags on vertices are significant only if `?GL_POLYGON_MODE' +%% is set to `?GL_POINT' or `?GL_LINE'. See {@link gl:polygonMode/2} . +%% +%% See external documentation. +-spec edgeFlag(Flag) -> ok when Flag :: 0|1. +edgeFlag(Flag) -> + cast(5054, <>). -%% @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). +%% @equiv edgeFlag(Flag) +-spec edgeFlagv(Flag) -> ok when Flag :: {Flag :: 0|1}. +edgeFlagv({Flag}) -> edgeFlag(Flag). -%% @spec (Red::float(),Green::float(),Blue::float(),Alpha::float()) -> ok -%% @doc See external documentation. --spec color4d(float(),float(),float(),float()) -> ok. -color4d(Red,Green,Blue,Alpha) -> - cast(5064, <>). +%% @doc Define the scissor box +%% +%% ``gl:scissor'' defines a rectangle, called the scissor box, in window coordinates. The +%% first two arguments, `X' and `Y' , specify the lower left corner of the box. `Width' +%% and `Height' specify the width and height of the box. +%% +%% To enable and disable the scissor test, call {@link gl:enable/1} and {@link gl:enable/1} +%% with argument `?GL_SCISSOR_TEST'. The test is initially disabled. While the test +%% is enabled, only pixels that lie within the scissor box can be modified by drawing commands. +%% Window coordinates have integer values at the shared corners of frame buffer pixels. glScissor(0,0,1,1) +%% allows modification of only the lower left pixel in the window, and glScissor(0,0,0,0) +%% doesn't allow modification of any pixels in the window. +%% +%% When the scissor test is disabled, it is as though the scissor box includes the entire +%% window. +%% +%% See external documentation. +-spec scissor(X, Y, Width, Height) -> ok when X :: integer(),Y :: integer(),Width :: integer(),Height :: integer(). +scissor(X,Y,Width,Height) -> + cast(5055, <>). -%% @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). +%% @doc Specify a plane against which all geometry is clipped +%% +%% Geometry is always clipped against the boundaries of a six-plane frustum in `x', `y' +%% , and `z'. ``gl:clipPlane'' allows the specification of additional planes, not +%% necessarily perpendicular to the `x', `y', or `z' axis, against which all +%% geometry is clipped. To determine the maximum number of additional clipping planes, call {@link gl:getBooleanv/1} +%% with argument `?GL_MAX_CLIP_PLANES'. All implementations support at least six such +%% clipping planes. Because the resulting clipping region is the intersection of the defined +%% half-spaces, it is always convex. +%% +%% ``gl:clipPlane'' specifies a half-space using a four-component plane equation. When ``gl:clipPlane'' +%% is called, `Equation' is transformed by the inverse of the modelview matrix and +%% stored in the resulting eye coordinates. Subsequent changes to the modelview matrix have +%% no effect on the stored plane-equation components. If the dot product of the eye coordinates +%% of a vertex with the stored plane equation components is positive or zero, the vertex is `in' +%% with respect to that clipping plane. Otherwise, it is `out'. +%% +%% To enable and disable clipping planes, call {@link gl:enable/1} and {@link gl:enable/1} +%% with the argument `?GL_CLIP_PLANE'`i', where `i' is the plane number. +%% +%% All clipping planes are initially defined as (0, 0, 0, 0) in eye coordinates and are +%% disabled. +%% +%% See external documentation. +-spec clipPlane(Plane, Equation) -> ok when Plane :: enum(),Equation :: {float(),float(),float(),float()}. +clipPlane(Plane,{E1,E2,E3,E4}) -> + cast(5056, <>). -%% @spec (Red::float(),Green::float(),Blue::float(),Alpha::float()) -> ok -%% @doc See external documentation. --spec color4f(float(),float(),float(),float()) -> ok. -color4f(Red,Green,Blue,Alpha) -> - cast(5065, <>). +%% @doc Return the coefficients of the specified clipping plane +%% +%% ``gl:getClipPlane'' returns in `Equation' the four coefficients of the plane equation +%% for `Plane' . +%% +%% See external documentation. +-spec getClipPlane(Plane) -> {float(),float(),float(),float()} when Plane :: enum(). +getClipPlane(Plane) -> + call(5057, <>). -%% @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). +%% @doc Specify which color buffers are to be drawn into +%% +%% When colors are written to the frame buffer, they are written into the color buffers +%% specified by ``gl:drawBuffer''. The specifications are as follows: +%% +%% `?GL_NONE': No color buffers are written. +%% +%% `?GL_FRONT_LEFT': Only the front left color buffer is written. +%% +%% `?GL_FRONT_RIGHT': Only the front right color buffer is written. +%% +%% `?GL_BACK_LEFT': Only the back left color buffer is written. +%% +%% `?GL_BACK_RIGHT': Only the back right color buffer is written. +%% +%% `?GL_FRONT': Only the front left and front right color buffers are written. If there +%% is no front right color buffer, only the front left color buffer is written. +%% +%% `?GL_BACK': Only the back left and back right color buffers are written. If there +%% is no back right color buffer, only the back left color buffer is written. +%% +%% `?GL_LEFT': Only the front left and back left color buffers are written. If there +%% is no back left color buffer, only the front left color buffer is written. +%% +%% `?GL_RIGHT': Only the front right and back right color buffers are written. If there +%% is no back right color buffer, only the front right color buffer is written. +%% +%% `?GL_FRONT_AND_BACK': All the front and back color buffers (front left, front right, +%% back left, back right) are written. If there are no back color buffers, only the front +%% left and front right color buffers are written. If there are no right color buffers, only +%% the front left and back left color buffers are written. If there are no right or back +%% color buffers, only the front left color buffer is written. +%% +%% If more than one color buffer is selected for drawing, then blending or logical operations +%% are computed and applied independently for each color buffer and can produce different +%% results in each buffer. +%% +%% Monoscopic contexts include only `left' buffers, and stereoscopic contexts include +%% both `left' and `right' buffers. Likewise, single-buffered contexts include +%% only `front' buffers, and double-buffered contexts include both `front' and `back' +%% buffers. The context is selected at GL initialization. +%% +%% See external documentation. +-spec drawBuffer(Mode) -> ok when Mode :: enum(). +drawBuffer(Mode) -> + cast(5058, <>). -%% @spec (Red::integer(),Green::integer(),Blue::integer(),Alpha::integer()) -> ok -%% @doc See external documentation. --spec color4i(integer(),integer(),integer(),integer()) -> ok. -color4i(Red,Green,Blue,Alpha) -> - cast(5066, <>). +%% @doc Select a color buffer source for pixels +%% +%% ``gl:readBuffer'' specifies a color buffer as the source for subsequent {@link gl:readPixels/7} +%% , {@link gl:copyTexImage1D/7} , {@link gl:copyTexImage2D/8} , {@link gl:copyTexSubImage1D/6} , {@link gl:copyTexSubImage2D/8} +%% , and {@link gl:copyTexSubImage3D/9} commands. `Mode' accepts one of twelve or more +%% predefined values. In a fully configured system, `?GL_FRONT', `?GL_LEFT', and `?GL_FRONT_LEFT' +%% all name the front left buffer, `?GL_FRONT_RIGHT' and `?GL_RIGHT' name the +%% front right buffer, and `?GL_BACK_LEFT' and `?GL_BACK' name the back left buffer. +%% Further more, the constants `?GL_COLOR_ATTACHMENT'`i' may be used to indicate +%% the `i'th color attachment where `i' ranges from zero to the value of `?GL_MAX_COLOR_ATTACHMENTS' +%% minus one. +%% +%% Nonstereo double-buffered configurations have only a front left and a back left buffer. +%% Single-buffered configurations have a front left and a front right buffer if stereo, and +%% only a front left buffer if nonstereo. It is an error to specify a nonexistent buffer to ``gl:readBuffer'' +%% . +%% +%% `Mode' is initially `?GL_FRONT' in single-buffered configurations and `?GL_BACK' +%% in double-buffered configurations. +%% +%% See external documentation. +-spec readBuffer(Mode) -> ok when Mode :: enum(). +readBuffer(Mode) -> + cast(5059, <>). -%% @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). +%% @doc Enable or disable server-side GL capabilities +%% +%% ``gl:enable'' and {@link gl:enable/1} enable and disable various capabilities. Use {@link gl:isEnabled/1} +%% or {@link gl:getBooleanv/1} to determine the current setting of any capability. The initial value +%% for each capability with the exception of `?GL_DITHER' and `?GL_MULTISAMPLE' +%% is `?GL_FALSE'. The initial value for `?GL_DITHER' and `?GL_MULTISAMPLE' +%% is `?GL_TRUE'. +%% +%% Both ``gl:enable'' and {@link gl:enable/1} take a single argument, `Cap' , which +%% can assume one of the following values: +%% +%% Some of the GL's capabilities are indexed. ``gl:enablei'' and ``gl:disablei'' enable +%% and disable indexed capabilities. +%% +%% `?GL_BLEND': If enabled, blend the computed fragment color values with the values +%% in the color buffers. See {@link gl:blendFunc/2} . +%% +%% `?GL_CLIP_DISTANCE'`i': If enabled, clip geometry against user-defined half +%% space `i'. +%% +%% `?GL_COLOR_LOGIC_OP': If enabled, apply the currently selected logical operation +%% to the computed fragment color and color buffer values. See {@link gl:logicOp/1} . +%% +%% `?GL_CULL_FACE': If enabled, cull polygons based on their winding in window coordinates. +%% See {@link gl:cullFace/1} . +%% +%% `?GL_DEPTH_CLAMP': If enabled, the -w c&le; z c&le; w c plane equation is +%% ignored by view volume clipping (effectively, there is no near or far plane clipping). +%% See {@link gl:depthRange/2} . +%% +%% `?GL_DEPTH_TEST': If enabled, do depth comparisons and update the depth buffer. +%% Note that even if the depth buffer exists and the depth mask is non-zero, the depth buffer +%% is not updated if the depth test is disabled. See {@link gl:depthFunc/1} and {@link gl:depthRange/2} +%% . +%% +%% `?GL_DITHER': If enabled, dither color components or indices before they are written +%% to the color buffer. +%% +%% `?GL_FRAMEBUFFER_SRGB': If enabled and the value of `?GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING' +%% for the framebuffer attachment corresponding to the destination buffer is `?GL_SRGB', +%% the R, G, and B destination color values (after conversion from fixed-point to floating-point) +%% are considered to be encoded for the sRGB color space and hence are linearized prior to +%% their use in blending. +%% +%% `?GL_LINE_SMOOTH': If enabled, draw lines with correct filtering. Otherwise, draw +%% aliased lines. See {@link gl:lineWidth/1} . +%% +%% `?GL_MULTISAMPLE': If enabled, use multiple fragment samples in computing the final +%% color of a pixel. See {@link gl:sampleCoverage/2} . +%% +%% `?GL_POLYGON_OFFSET_FILL': If enabled, and if the polygon is rendered in `?GL_FILL' +%% mode, an offset is added to depth values of a polygon's fragments before the depth comparison +%% is performed. See {@link gl:polygonOffset/2} . +%% +%% `?GL_POLYGON_OFFSET_LINE': If enabled, and if the polygon is rendered in `?GL_LINE' +%% mode, an offset is added to depth values of a polygon's fragments before the depth comparison +%% is performed. See {@link gl:polygonOffset/2} . +%% +%% `?GL_POLYGON_OFFSET_POINT': If enabled, an offset is added to depth values of a +%% polygon's fragments before the depth comparison is performed, if the polygon is rendered +%% in `?GL_POINT' mode. See {@link gl:polygonOffset/2} . +%% +%% `?GL_POLYGON_SMOOTH': If enabled, draw polygons with proper filtering. Otherwise, +%% draw aliased polygons. For correct antialiased polygons, an alpha buffer is needed and +%% the polygons must be sorted front to back. +%% +%% `?GL_PRIMITIVE_RESTART': Enables primitive restarting. If enabled, any one of the +%% draw commands which transfers a set of generic attribute array elements to the GL will +%% restart the primitive when the index of the vertex is equal to the primitive restart +%% index. See {@link gl:primitiveRestartIndex/1} . +%% +%% `?GL_SAMPLE_ALPHA_TO_COVERAGE': If enabled, compute a temporary coverage value where +%% each bit is determined by the alpha value at the corresponding sample location. The temporary +%% coverage value is then ANDed with the fragment coverage value. +%% +%% `?GL_SAMPLE_ALPHA_TO_ONE': If enabled, each sample alpha value is replaced by the +%% maximum representable alpha value. +%% +%% `?GL_SAMPLE_COVERAGE': If enabled, the fragment's coverage is ANDed with the temporary +%% coverage value. If `?GL_SAMPLE_COVERAGE_INVERT' is set to `?GL_TRUE', invert +%% the coverage value. See {@link gl:sampleCoverage/2} . +%% +%% `?GL_SAMPLE_SHADING': If enabled, the active fragment shader is run once for each +%% covered sample, or at fraction of this rate as determined by the current value of `?GL_MIN_SAMPLE_SHADING_VALUE' +%% . See {@link gl:minSampleShading/1} . +%% +%% `?GL_SAMPLE_MASK': If enabled, the sample coverage mask generated for a fragment +%% during rasterization will be ANDed with the value of `?GL_SAMPLE_MASK_VALUE' before +%% shading occurs. See {@link gl:sampleMaski/2} . +%% +%% `?GL_SCISSOR_TEST': If enabled, discard fragments that are outside the scissor rectangle. +%% See {@link gl:scissor/4} . +%% +%% `?GL_STENCIL_TEST': If enabled, do stencil testing and update the stencil buffer. +%% See {@link gl:stencilFunc/3} and {@link gl:stencilOp/3} . +%% +%% `?GL_TEXTURE_CUBE_MAP_SEAMLESS': If enabled, cubemap textures are sampled such that +%% when linearly sampling from the border between two adjacent faces, texels from both faces +%% are used to generate the final sample value. When disabled, texels from only a single +%% face are used to construct the final sample value. +%% +%% `?GL_PROGRAM_POINT_SIZE': If enabled and a vertex or geometry shader is active, +%% then the derived point size is taken from the (potentially clipped) shader builtin `?gl_PointSize' +%% and clamped to the implementation-dependent point size range. +%% +%% See external documentation. +-spec enable(Cap) -> ok when Cap :: enum(). +enable(Cap) -> + cast(5060, <>). -%% @spec (Red::integer(),Green::integer(),Blue::integer(),Alpha::integer()) -> ok -%% @doc See external documentation. --spec color4s(integer(),integer(),integer(),integer()) -> ok. -color4s(Red,Green,Blue,Alpha) -> - cast(5067, <>). +%% @doc +%% See {@link enable/1} +-spec disable(Cap) -> ok when Cap :: enum(). +disable(Cap) -> + cast(5061, <>). -%% @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). +%% @doc Test whether a capability is enabled +%% +%% ``gl:isEnabled'' returns `?GL_TRUE' if `Cap' is an enabled capability and +%% returns `?GL_FALSE' otherwise. Boolean states that are indexed may be tested with ``gl:isEnabledi'' +%% . For ``gl:isEnabledi'', `Index' specifies the index of the capability to test. `Index' +%% must be between zero and the count of indexed capabilities for `Cap' . Initially +%% all capabilities except `?GL_DITHER' are disabled; `?GL_DITHER' is initially +%% enabled. +%% +%% The following capabilities are accepted for `Cap' : +%% +%% +%%
` Constant ' +%% ` See '
`?GL_BLEND' {@link gl:blendFunc/2} +%% , {@link gl:logicOp/1}
`?GL_CLIP_DISTANCE'`i' {@link gl:enable/1} +%%
`?GL_COLOR_LOGIC_OP' {@link gl:logicOp/1}
`?GL_CULL_FACE' +%% {@link gl:cullFace/1}
`?GL_DEPTH_CLAMP' {@link gl:enable/1} +%%
`?GL_DEPTH_TEST' {@link gl:depthFunc/1} , {@link gl:depthRange/2} +%%
`?GL_DITHER' {@link gl:enable/1}
`?GL_FRAMEBUFFER_SRGB' +%% {@link gl:enable/1}
`?GL_LINE_SMOOTH' {@link gl:lineWidth/1} +%%
`?GL_MULTISAMPLE' {@link gl:sampleCoverage/2}
+%% `?GL_POLYGON_SMOOTH' {@link gl:polygonMode/2}
`?GL_POLYGON_OFFSET_FILL' +%% {@link gl:polygonOffset/2}
`?GL_POLYGON_OFFSET_LINE' +%% {@link gl:polygonOffset/2}
`?GL_POLYGON_OFFSET_POINT' {@link gl:polygonOffset/2} +%%
`?GL_PROGRAM_POINT_SIZE' {@link gl:enable/1}
+%% `?GL_PRIMITIVE_RESTART' {@link gl:enable/1} , {@link gl:primitiveRestartIndex/1}
`?GL_SAMPLE_ALPHA_TO_COVERAGE' {@link gl:sampleCoverage/2}
`?GL_SAMPLE_ALPHA_TO_ONE' {@link gl:sampleCoverage/2}
+%% `?GL_SAMPLE_COVERAGE' {@link gl:sampleCoverage/2}
`?GL_SAMPLE_MASK' +%% {@link gl:enable/1}
`?GL_SCISSOR_TEST' {@link gl:scissor/4} +%%
`?GL_STENCIL_TEST' {@link gl:stencilFunc/3} , {@link gl:stencilOp/3} +%%
`?GL_TEXTURE_CUBEMAP_SEAMLESS' {@link gl:enable/1}
+%% +%% +%% +%% See external documentation. +-spec isEnabled(Cap) -> 0|1 when Cap :: enum(). +isEnabled(Cap) -> + call(5062, <>). -%% @spec (Red::integer(),Green::integer(),Blue::integer(),Alpha::integer()) -> ok -%% @doc See external documentation. --spec color4ub(integer(),integer(),integer(),integer()) -> ok. -color4ub(Red,Green,Blue,Alpha) -> - cast(5068, <>). +%% @doc Enable or disable client-side capability +%% +%% ``gl:enableClientState'' and {@link gl:enableClientState/1} enable or disable individual +%% client-side capabilities. By default, all client-side capabilities are disabled. Both ``gl:enableClientState'' +%% and {@link gl:enableClientState/1} take a single argument, `Cap' , which can assume +%% one of the following values: +%% +%% `?GL_COLOR_ARRAY': If enabled, the color array is enabled for writing and used during +%% rendering when {@link gl:arrayElement/1} , {@link gl:drawArrays/3} , {@link gl:drawElements/4} , +%% {@link gl:drawRangeElements/6} {@link gl:multiDrawArrays/3} , or see `glMultiDrawElements' +%% is called. See {@link gl:colorPointer/4} . +%% +%% `?GL_EDGE_FLAG_ARRAY': If enabled, the edge flag array is enabled for writing and +%% used during rendering when {@link gl:arrayElement/1} , {@link gl:drawArrays/3} , {@link gl:drawElements/4} +%% , {@link gl:drawRangeElements/6} {@link gl:multiDrawArrays/3} , or see `glMultiDrawElements' +%% is called. See {@link gl:edgeFlagPointer/2} . +%% +%% `?GL_FOG_COORD_ARRAY': If enabled, the fog coordinate array is enabled for writing +%% and used during rendering when {@link gl:arrayElement/1} , {@link gl:drawArrays/3} , {@link gl:drawElements/4} +%% , {@link gl:drawRangeElements/6} {@link gl:multiDrawArrays/3} , or see `glMultiDrawElements' +%% is called. See {@link gl:fogCoordPointer/3} . +%% +%% `?GL_INDEX_ARRAY': If enabled, the index array is enabled for writing and used during +%% rendering when {@link gl:arrayElement/1} , {@link gl:drawArrays/3} , {@link gl:drawElements/4} , +%% {@link gl:drawRangeElements/6} {@link gl:multiDrawArrays/3} , or see `glMultiDrawElements' +%% is called. See {@link gl:indexPointer/3} . +%% +%% `?GL_NORMAL_ARRAY': If enabled, the normal array is enabled for writing and used +%% during rendering when {@link gl:arrayElement/1} , {@link gl:drawArrays/3} , {@link gl:drawElements/4} +%% , {@link gl:drawRangeElements/6} {@link gl:multiDrawArrays/3} , or see `glMultiDrawElements' +%% is called. See {@link gl:normalPointer/3} . +%% +%% `?GL_SECONDARY_COLOR_ARRAY': If enabled, the secondary color array is enabled for +%% writing and used during rendering when {@link gl:arrayElement/1} , {@link gl:drawArrays/3} , {@link gl:drawElements/4} +%% , {@link gl:drawRangeElements/6} {@link gl:multiDrawArrays/3} , or see `glMultiDrawElements' +%% is called. See {@link gl:colorPointer/4} . +%% +%% `?GL_TEXTURE_COORD_ARRAY': If enabled, the texture coordinate array is enabled for +%% writing and used during rendering when {@link gl:arrayElement/1} , {@link gl:drawArrays/3} , {@link gl:drawElements/4} +%% , {@link gl:drawRangeElements/6} {@link gl:multiDrawArrays/3} , or see `glMultiDrawElements' +%% is called. See {@link gl:texCoordPointer/4} . +%% +%% `?GL_VERTEX_ARRAY': If enabled, the vertex array is enabled for writing and used +%% during rendering when {@link gl:arrayElement/1} , {@link gl:drawArrays/3} , {@link gl:drawElements/4} +%% , {@link gl:drawRangeElements/6} {@link gl:multiDrawArrays/3} , or see `glMultiDrawElements' +%% is called. See {@link gl:vertexPointer/4} . +%% +%% See external documentation. +-spec enableClientState(Cap) -> ok when Cap :: enum(). +enableClientState(Cap) -> + cast(5063, <>). + +%% @doc +%% See {@link enableClientState/1} +-spec disableClientState(Cap) -> ok when Cap :: enum(). +disableClientState(Cap) -> + cast(5064, <>). + +%% @doc Return the value or values of a selected parameter +%% +%% These four commands return values for simple state variables in GL. `Pname' is a +%% symbolic constant indicating the state variable to be returned, and `Params' is a +%% pointer to an array of the indicated type in which to place the returned data. +%% +%% Type conversion is performed if `Params' has a different type than the state variable +%% value being requested. If ``gl:getBooleanv'' is called, a floating-point (or integer) +%% value is converted to `?GL_FALSE' if and only if it is 0.0 (or 0). Otherwise, it +%% is converted to `?GL_TRUE'. If ``gl:getIntegerv'' is called, boolean values are +%% returned as `?GL_TRUE' or `?GL_FALSE', and most floating-point values are rounded +%% to the nearest integer value. Floating-point colors and normals, however, are returned +%% with a linear mapping that maps 1.0 to the most positive representable integer value and +%% -1.0 to the most negative representable integer value. If ``gl:getFloatv'' or ``gl:getDoublev'' +%% is called, boolean values are returned as `?GL_TRUE' or `?GL_FALSE', and integer +%% values are converted to floating-point values. +%% +%% The following symbolic constants are accepted by `Pname' : +%% +%% `?GL_ACTIVE_TEXTURE': `Params' returns a single value indicating the active +%% multitexture unit. The initial value is `?GL_TEXTURE0'. See {@link gl:activeTexture/1} . +%% +%% +%% `?GL_ALIASED_LINE_WIDTH_RANGE': `Params' returns a pair of values indicating +%% the range of widths supported for aliased lines. See {@link gl:lineWidth/1} . +%% +%% `?GL_ARRAY_BUFFER_BINDING': `Params' returns a single value, the name of the +%% buffer object currently bound to the target `?GL_ARRAY_BUFFER'. If no buffer object +%% is bound to this target, 0 is returned. The initial value is 0. See {@link gl:bindBuffer/2} . +%% +%% +%% `?GL_BLEND': `Params' returns a single boolean value indicating whether blending +%% is enabled. The initial value is `?GL_FALSE'. See {@link gl:blendFunc/2} . +%% +%% `?GL_BLEND_COLOR': `Params' returns four values, the red, green, blue, and alpha +%% values which are the components of the blend color. See {@link gl:blendColor/4} . +%% +%% `?GL_BLEND_DST_ALPHA': `Params' returns one value, the symbolic constant identifying +%% the alpha destination blend function. The initial value is `?GL_ZERO'. See {@link gl:blendFunc/2} +%% and {@link gl:blendFuncSeparate/4} . +%% +%% `?GL_BLEND_DST_RGB': `Params' returns one value, the symbolic constant identifying +%% the RGB destination blend function. The initial value is `?GL_ZERO'. See {@link gl:blendFunc/2} +%% and {@link gl:blendFuncSeparate/4} . +%% +%% `?GL_BLEND_EQUATION_RGB': `Params' returns one value, a symbolic constant indicating +%% whether the RGB blend equation is `?GL_FUNC_ADD', `?GL_FUNC_SUBTRACT', `?GL_FUNC_REVERSE_SUBTRACT' +%% , `?GL_MIN' or `?GL_MAX'. See {@link gl:blendEquationSeparate/2} . +%% +%% `?GL_BLEND_EQUATION_ALPHA': `Params' returns one value, a symbolic constant +%% indicating whether the Alpha blend equation is `?GL_FUNC_ADD', `?GL_FUNC_SUBTRACT' +%% , `?GL_FUNC_REVERSE_SUBTRACT', `?GL_MIN' or `?GL_MAX'. See {@link gl:blendEquationSeparate/2} +%% . +%% +%% `?GL_BLEND_SRC_ALPHA': `Params' returns one value, the symbolic constant identifying +%% the alpha source blend function. The initial value is `?GL_ONE'. See {@link gl:blendFunc/2} +%% and {@link gl:blendFuncSeparate/4} . +%% +%% `?GL_BLEND_SRC_RGB': `Params' returns one value, the symbolic constant identifying +%% the RGB source blend function. The initial value is `?GL_ONE'. See {@link gl:blendFunc/2} +%% and {@link gl:blendFuncSeparate/4} . +%% +%% `?GL_COLOR_CLEAR_VALUE': `Params' returns four values: the red, green, blue, +%% and alpha values used to clear the color buffers. Integer values, if requested, are linearly +%% mapped from the internal floating-point representation such that 1.0 returns the most +%% positive representable integer value, and -1.0 returns the most negative representable +%% integer value. The initial value is (0, 0, 0, 0). See {@link gl:clearColor/4} . +%% +%% `?GL_COLOR_LOGIC_OP': `Params' returns a single boolean value indicating whether +%% a fragment's RGBA color values are merged into the framebuffer using a logical operation. +%% The initial value is `?GL_FALSE'. See {@link gl:logicOp/1} . +%% +%% `?GL_COLOR_WRITEMASK': `Params' returns four boolean values: the red, green, +%% blue, and alpha write enables for the color buffers. The initial value is (`?GL_TRUE', +%% `?GL_TRUE', `?GL_TRUE', `?GL_TRUE'). See {@link gl:colorMask/4} . +%% +%% `?GL_COMPRESSED_TEXTURE_FORMATS': `Params' returns a list of symbolic constants +%% of length `?GL_NUM_COMPRESSED_TEXTURE_FORMATS' indicating which compressed texture +%% formats are available. See {@link gl:compressedTexImage2D/8} . +%% +%% `?GL_CONTEXT_FLAGS': `Params' returns one value, the flags with which the context +%% was created (such as debugging functionality). +%% +%% `?GL_CULL_FACE': `Params' returns a single boolean value indicating whether +%% polygon culling is enabled. The initial value is `?GL_FALSE'. See {@link gl:cullFace/1} +%% . +%% +%% `?GL_CURRENT_PROGRAM': `Params' returns one value, the name of the program object +%% that is currently active, or 0 if no program object is active. See {@link gl:useProgram/1} . +%% +%% +%% `?GL_DEPTH_CLEAR_VALUE': `Params' returns one value, the value that is used +%% to clear the depth buffer. Integer values, if requested, are linearly mapped from the +%% internal floating-point representation such that 1.0 returns the most positive representable +%% integer value, and -1.0 returns the most negative representable integer value. The initial +%% value is 1. See {@link gl:clearDepth/1} . +%% +%% `?GL_DEPTH_FUNC': `Params' returns one value, the symbolic constant that indicates +%% the depth comparison function. The initial value is `?GL_LESS'. See {@link gl:depthFunc/1} +%% . +%% +%% `?GL_DEPTH_RANGE': `Params' returns two values: the near and far mapping limits +%% for the depth buffer. Integer values, if requested, are linearly mapped from the internal +%% floating-point representation such that 1.0 returns the most positive representable integer +%% value, and -1.0 returns the most negative representable integer value. The initial value +%% is (0, 1). See {@link gl:depthRange/2} . +%% +%% `?GL_DEPTH_TEST': `Params' returns a single boolean value indicating whether +%% depth testing of fragments is enabled. The initial value is `?GL_FALSE'. See {@link gl:depthFunc/1} +%% and {@link gl:depthRange/2} . +%% +%% `?GL_DEPTH_WRITEMASK': `Params' returns a single boolean value indicating if +%% the depth buffer is enabled for writing. The initial value is `?GL_TRUE'. See {@link gl:depthMask/1} +%% . +%% +%% `?GL_DITHER': `Params' returns a single boolean value indicating whether dithering +%% of fragment colors and indices is enabled. The initial value is `?GL_TRUE'. +%% +%% `?GL_DOUBLEBUFFER': `Params' returns a single boolean value indicating whether +%% double buffering is supported. +%% +%% `?GL_DRAW_BUFFER': `Params' returns one value, a symbolic constant indicating +%% which buffers are being drawn to. See {@link gl:drawBuffer/1} . The initial value is `?GL_BACK' +%% if there are back buffers, otherwise it is `?GL_FRONT'. +%% +%% `?GL_DRAW_BUFFER'`i': `Params' returns one value, a symbolic constant indicating +%% which buffers are being drawn to by the corresponding output color. See {@link gl:drawBuffers/1} +%% . The initial value of `?GL_DRAW_BUFFER0' is `?GL_BACK' if there are back buffers, +%% otherwise it is `?GL_FRONT'. The initial values of draw buffers for all other output +%% colors is `?GL_NONE'. +%% +%% `?GL_DRAW_FRAMEBUFFER_BINDING': `Params' returns one value, the name of the +%% framebuffer object currently bound to the `?GL_DRAW_FRAMEBUFFER' target. If the default +%% framebuffer is bound, this value will be zero. The initial value is zero. See {@link gl:bindFramebuffer/2} +%% . +%% +%% `?GL_READ_FRAMEBUFFER_BINDING': `Params' returns one value, the name of the +%% framebuffer object currently bound to the `?GL_READ_FRAMEBUFFER' target. If the default +%% framebuffer is bound, this value will be zero. The initial value is zero. See {@link gl:bindFramebuffer/2} +%% . +%% +%% `?GL_ELEMENT_ARRAY_BUFFER_BINDING': `Params' returns a single value, the name +%% of the buffer object currently bound to the target `?GL_ELEMENT_ARRAY_BUFFER'. If +%% no buffer object is bound to this target, 0 is returned. The initial value is 0. See {@link gl:bindBuffer/2} +%% . +%% +%% `?GL_FRAGMENT_SHADER_DERIVATIVE_HINT': `Params' returns one value, a symbolic +%% constant indicating the mode of the derivative accuracy hint for fragment shaders. The +%% initial value is `?GL_DONT_CARE'. See {@link gl:hint/2} . +%% +%% `?GL_IMPLEMENTATION_COLOR_READ_FORMAT': `Params' returns a single GLenum value +%% indicating the implementation's preferred pixel data format. See {@link gl:readPixels/7} . +%% +%% `?GL_IMPLEMENTATION_COLOR_READ_TYPE': `Params' returns a single GLenum value +%% indicating the implementation's preferred pixel data type. See {@link gl:readPixels/7} . +%% +%% `?GL_LINE_SMOOTH': `Params' returns a single boolean value indicating whether +%% antialiasing of lines is enabled. The initial value is `?GL_FALSE'. See {@link gl:lineWidth/1} +%% . +%% +%% `?GL_LINE_SMOOTH_HINT': `Params' returns one value, a symbolic constant indicating +%% the mode of the line antialiasing hint. The initial value is `?GL_DONT_CARE'. See {@link gl:hint/2} +%% . +%% +%% `?GL_LINE_WIDTH': `Params' returns one value, the line width as specified with {@link gl:lineWidth/1} +%% . The initial value is 1. +%% +%% `?GL_LAYER_PROVOKING_VERTEX': `Params' returns one value, the implementation +%% dependent specifc vertex of a primitive that is used to select the rendering layer. If +%% the value returned is equivalent to `?GL_PROVOKING_VERTEX', then the vertex selection +%% follows the convention specified by {@link gl:provokingVertex/1} . If the value returned +%% is equivalent to `?GL_FIRST_VERTEX_CONVENTION', then the selection is always taken +%% from the first vertex in the primitive. If the value returned is equivalent to `?GL_LAST_VERTEX_CONVENTION' +%% , then the selection is always taken from the last vertex in the primitive. If the value +%% returned is equivalent to `?GL_UNDEFINED_VERTEX', then the selection is not guaranteed +%% to be taken from any specific vertex in the primitive. +%% +%% `?GL_LINE_WIDTH_GRANULARITY': `Params' returns one value, the width difference +%% between adjacent supported widths for antialiased lines. See {@link gl:lineWidth/1} . +%% +%% `?GL_LINE_WIDTH_RANGE': `Params' returns two values: the smallest and largest +%% supported widths for antialiased lines. See {@link gl:lineWidth/1} . +%% +%% `?GL_LOGIC_OP_MODE': `Params' returns one value, a symbolic constant indicating +%% the selected logic operation mode. The initial value is `?GL_COPY'. See {@link gl:logicOp/1} +%% . +%% +%% `?GL_MAJOR_VERSION': `Params' returns one value, the major version number of +%% the OpenGL API supported by the current context. +%% +%% `?GL_MAX_3D_TEXTURE_SIZE': `Params' returns one value, a rough estimate of the +%% largest 3D texture that the GL can handle. The value must be at least 64. Use `?GL_PROXY_TEXTURE_3D' +%% to determine if a texture is too large. See {@link gl:texImage3D/10} . +%% +%% `?GL_MAX_ARRAY_TEXTURE_LAYERS': `Params' returns one value. The value indicates +%% the maximum number of layers allowed in an array texture, and must be at least 256. See {@link gl:texImage2D/9} +%% . +%% +%% `?GL_MAX_CLIP_DISTANCES': `Params' returns one value, the maximum number of +%% application-defined clipping distances. The value must be at least 8. +%% +%% `?GL_MAX_COLOR_TEXTURE_SAMPLES': `Params' returns one value, the maximum number +%% of samples in a color multisample texture. +%% +%% `?GL_MAX_COMBINED_ATOMIC_COUNTERS': `Params' returns a single value, the maximum +%% number of atomic counters available to all active shaders. +%% +%% `?GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS': `Params' returns one value, +%% the number of words for fragment shader uniform variables in all uniform blocks (including +%% default). The value must be at least 1. See {@link gl:uniform1f/2} . +%% +%% `?GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS': `Params' returns one value, +%% the number of words for geometry shader uniform variables in all uniform blocks (including +%% default). The value must be at least 1. See {@link gl:uniform1f/2} . +%% +%% `?GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS': `Params' returns one value, the maximum +%% supported texture image units that can be used to access texture maps from the vertex +%% shader and the fragment processor combined. If both the vertex shader and the fragment +%% processing stage access the same texture image unit, then that counts as using two texture +%% image units against this limit. The value must be at least 48. See {@link gl:activeTexture/1} +%% . +%% +%% `?GL_MAX_COMBINED_UNIFORM_BLOCKS': `Params' returns one value, the maximum number +%% of uniform blocks per program. The value must be at least 36. See {@link gl:uniformBlockBinding/3} +%% . +%% +%% `?GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS': `Params' returns one value, the +%% number of words for vertex shader uniform variables in all uniform blocks (including default). +%% The value must be at least 1. See {@link gl:uniform1f/2} . +%% +%% `?GL_MAX_CUBE_MAP_TEXTURE_SIZE': `Params' returns one value. The value gives +%% a rough estimate of the largest cube-map texture that the GL can handle. The value must +%% be at least 1024. Use `?GL_PROXY_TEXTURE_CUBE_MAP' to determine if a texture is too +%% large. See {@link gl:texImage2D/9} . +%% +%% `?GL_MAX_DEPTH_TEXTURE_SAMPLES': `Params' returns one value, the maximum number +%% of samples in a multisample depth or depth-stencil texture. +%% +%% `?GL_MAX_DRAW_BUFFERS': `Params' returns one value, the maximum number of simultaneous +%% outputs that may be written in a fragment shader. The value must be at least 8. See {@link gl:drawBuffers/1} +%% . +%% +%% `?GL_MAX_DUALSOURCE_DRAW_BUFFERS': `Params' returns one value, the maximum number +%% of active draw buffers when using dual-source blending. The value must be at least 1. +%% See {@link gl:blendFunc/2} and {@link gl:blendFuncSeparate/4} . +%% +%% `?GL_MAX_ELEMENTS_INDICES': `Params' returns one value, the recommended maximum +%% number of vertex array indices. See {@link gl:drawRangeElements/6} . +%% +%% `?GL_MAX_ELEMENTS_VERTICES': `Params' returns one value, the recommended maximum +%% number of vertex array vertices. See {@link gl:drawRangeElements/6} . +%% +%% `?GL_MAX_FRAGMENT_ATOMIC_COUNTERS': `Params' returns a single value, the maximum +%% number of atomic counters available to fragment shaders. +%% +%% `?GL_MAX_FRAGMENT_INPUT_COMPONENTS': `Params' returns one value, the maximum +%% number of components of the inputs read by the fragment shader, which must be at least +%% 128. +%% +%% `?GL_MAX_FRAGMENT_UNIFORM_COMPONENTS': `Params' returns one value, the maximum +%% number of individual floating-point, integer, or boolean values that can be held in uniform +%% variable storage for a fragment shader. The value must be at least 1024. See {@link gl:uniform1f/2} +%% . +%% +%% `?GL_MAX_FRAGMENT_UNIFORM_VECTORS': `Params' returns one value, the maximum +%% number of individual 4-vectors of floating-point, integer, or boolean values that can +%% be held in uniform variable storage for a fragment shader. The value is equal to the value +%% of `?GL_MAX_FRAGMENT_UNIFORM_COMPONENTS' divided by 4 and must be at least 256. See {@link gl:uniform1f/2} +%% . +%% +%% `?GL_MAX_FRAGMENT_UNIFORM_BLOCKS': `Params' returns one value, the maximum number +%% of uniform blocks per fragment shader. The value must be at least 12. See {@link gl:uniformBlockBinding/3} +%% . +%% +%% `?GL_MAX_GEOMETRY_ATOMIC_COUNTERS': `Params' returns a single value, the maximum +%% number of atomic counters available to geometry shaders. +%% +%% `?GL_MAX_GEOMETRY_INPUT_COMPONENTS': `Params' returns one value, the maximum +%% number of components of inputs read by a geometry shader, which must be at least 64. +%% +%% `?GL_MAX_GEOMETRY_OUTPUT_COMPONENTS': `Params' returns one value, the maximum +%% number of components of outputs written by a geometry shader, which must be at least 128. +%% +%% +%% `?GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS': `Params' returns one value, the maximum +%% supported texture image units that can be used to access texture maps from the geometry +%% shader. The value must be at least 16. See {@link gl:activeTexture/1} . +%% +%% `?GL_MAX_GEOMETRY_UNIFORM_BLOCKS': `Params' returns one value, the maximum number +%% of uniform blocks per geometry shader. The value must be at least 12. See {@link gl:uniformBlockBinding/3} +%% . +%% +%% `?GL_MAX_GEOMETRY_UNIFORM_COMPONENTS': `Params' returns one value, the maximum +%% number of individual floating-point, integer, or boolean values that can be held in uniform +%% variable storage for a geometry shader. The value must be at least 1024. See {@link gl:uniform1f/2} +%% . +%% +%% `?GL_MAX_INTEGER_SAMPLES': `Params' returns one value, the maximum number of +%% samples supported in integer format multisample buffers. +%% +%% `?GL_MIN_MAP_BUFFER_ALIGNMENT': `Params' returns one value, the minimum alignment +%% in basic machine units of pointers returned fromsee `glMapBuffer' and see `glMapBufferRange' +%% . This value must be a power of two and must be at least 64. +%% +%% `?GL_MAX_PROGRAM_TEXEL_OFFSET': `Params' returns one value, the maximum texel +%% offset allowed in a texture lookup, which must be at least 7. +%% +%% `?GL_MIN_PROGRAM_TEXEL_OFFSET': `Params' returns one value, the minimum texel +%% offset allowed in a texture lookup, which must be at most -8. +%% +%% `?GL_MAX_RECTANGLE_TEXTURE_SIZE': `Params' returns one value. The value gives +%% a rough estimate of the largest rectangular texture that the GL can handle. The value +%% must be at least 1024. Use `?GL_PROXY_RECTANGLE_TEXTURE' to determine if a texture +%% is too large. See {@link gl:texImage2D/9} . +%% +%% `?GL_MAX_RENDERBUFFER_SIZE': `Params' returns one value. The value indicates +%% the maximum supported size for renderbuffers. See {@link gl:framebufferRenderbuffer/4} . +%% +%% `?GL_MAX_SAMPLE_MASK_WORDS': `Params' returns one value, the maximum number +%% of sample mask words. +%% +%% `?GL_MAX_SERVER_WAIT_TIMEOUT': `Params' returns one value, the maximum {@link gl:waitSync/3} +%% timeout interval. +%% +%% `?GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS': `Params' returns a single value, the +%% maximum number of atomic counters available to tessellation control shaders. +%% +%% `?GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS': `Params' returns a single value, +%% the maximum number of atomic counters available to tessellation evaluation shaders. +%% +%% `?GL_MAX_TEXTURE_BUFFER_SIZE': `Params' returns one value. The value gives the +%% maximum number of texels allowed in the texel array of a texture buffer object. Value +%% must be at least 65536. +%% +%% `?GL_MAX_TEXTURE_IMAGE_UNITS': `Params' returns one value, the maximum supported +%% texture image units that can be used to access texture maps from the fragment shader. +%% The value must be at least 16. See {@link gl:activeTexture/1} . +%% +%% `?GL_MAX_TEXTURE_LOD_BIAS': `Params' returns one value, the maximum, absolute +%% value of the texture level-of-detail bias. The value must be at least 2.0. +%% +%% `?GL_MAX_TEXTURE_SIZE': `Params' returns one value. The value gives a rough +%% estimate of the largest texture that the GL can handle. The value must be at least 1024. +%% Use a proxy texture target such as `?GL_PROXY_TEXTURE_1D' or `?GL_PROXY_TEXTURE_2D' +%% to determine if a texture is too large. See {@link gl:texImage1D/8} and {@link gl:texImage2D/9} +%% . +%% +%% `?GL_MAX_UNIFORM_BUFFER_BINDINGS': `Params' returns one value, the maximum number +%% of uniform buffer binding points on the context, which must be at least 36. +%% +%% `?GL_MAX_UNIFORM_BLOCK_SIZE': `Params' returns one value, the maximum size in +%% basic machine units of a uniform block, which must be at least 16384. +%% +%% `?GL_MAX_VARYING_COMPONENTS': `Params' returns one value, the number components +%% for varying variables, which must be at least 60. +%% +%% `?GL_MAX_VARYING_VECTORS': `Params' returns one value, the number 4-vectors +%% for varying variables, which is equal to the value of `?GL_MAX_VARYING_COMPONENTS' +%% and must be at least 15. +%% +%% `?GL_MAX_VARYING_FLOATS': `Params' returns one value, the maximum number of +%% interpolators available for processing varying variables used by vertex and fragment shaders. +%% This value represents the number of individual floating-point values that can be interpolated; +%% varying variables declared as vectors, matrices, and arrays will all consume multiple +%% interpolators. The value must be at least 32. +%% +%% `?GL_MAX_VERTEX_ATOMIC_COUNTERS': `Params' returns a single value, the maximum +%% number of atomic counters available to vertex shaders. +%% +%% `?GL_MAX_VERTEX_ATTRIBS': `Params' returns one value, the maximum number of +%% 4-component generic vertex attributes accessible to a vertex shader. The value must be +%% at least 16. See {@link gl:vertexAttrib1d/2} . +%% +%% `?GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS': `Params' returns one value, the maximum +%% supported texture image units that can be used to access texture maps from the vertex +%% shader. The value may be at least 16. See {@link gl:activeTexture/1} . +%% +%% `?GL_MAX_VERTEX_UNIFORM_COMPONENTS': `Params' returns one value, the maximum +%% number of individual floating-point, integer, or boolean values that can be held in uniform +%% variable storage for a vertex shader. The value must be at least 1024. See {@link gl:uniform1f/2} +%% . +%% +%% `?GL_MAX_VERTEX_UNIFORM_VECTORS': `Params' returns one value, the maximum number +%% of 4-vectors that may be held in uniform variable storage for the vertex shader. The value +%% of `?GL_MAX_VERTEX_UNIFORM_VECTORS' is equal to the value of `?GL_MAX_VERTEX_UNIFORM_COMPONENTS' +%% and must be at least 256. +%% +%% `?GL_MAX_VERTEX_OUTPUT_COMPONENTS': `Params' returns one value, the maximum +%% number of components of output written by a vertex shader, which must be at least 64. +%% +%% `?GL_MAX_VERTEX_UNIFORM_BLOCKS': `Params' returns one value, the maximum number +%% of uniform blocks per vertex shader. The value must be at least 12. See {@link gl:uniformBlockBinding/3} +%% . +%% +%% `?GL_MAX_VIEWPORT_DIMS': `Params' returns two values: the maximum supported +%% width and height of the viewport. These must be at least as large as the visible dimensions +%% of the display being rendered to. See {@link gl:viewport/4} . +%% +%% `?GL_MAX_VIEWPORTS': `Params' returns one value, the maximum number of simultaneous +%% viewports that are supported. The value must be at least 16. See {@link gl:viewportIndexedf/5} +%% . +%% +%% `?GL_MINOR_VERSION': `Params' returns one value, the minor version number of +%% the OpenGL API supported by the current context. +%% +%% `?GL_NUM_COMPRESSED_TEXTURE_FORMATS': `Params' returns a single integer value +%% indicating the number of available compressed texture formats. The minimum value is 4. +%% See {@link gl:compressedTexImage2D/8} . +%% +%% `?GL_NUM_EXTENSIONS': `Params' returns one value, the number of extensions supported +%% by the GL implementation for the current context. See {@link gl:getString/1} . +%% +%% `?GL_NUM_PROGRAM_BINARY_FORMATS': `Params' returns one value, the number of +%% program binary formats supported by the implementation. +%% +%% `?GL_NUM_SHADER_BINARY_FORMATS': `Params' returns one value, the number of binary +%% shader formats supported by the implementation. If this value is greater than zero, then +%% the implementation supports loading binary shaders. If it is zero, then the loading of +%% binary shaders by the implementation is not supported. +%% +%% `?GL_PACK_ALIGNMENT': `Params' returns one value, the byte alignment used for +%% writing pixel data to memory. The initial value is 4. See {@link gl:pixelStoref/2} . +%% +%% `?GL_PACK_IMAGE_HEIGHT': `Params' returns one value, the image height used for +%% writing pixel data to memory. The initial value is 0. See {@link gl:pixelStoref/2} . +%% +%% `?GL_PACK_LSB_FIRST': `Params' returns a single boolean value indicating whether +%% single-bit pixels being written to memory are written first to the least significant bit +%% of each unsigned byte. The initial value is `?GL_FALSE'. See {@link gl:pixelStoref/2} . +%% +%% +%% `?GL_PACK_ROW_LENGTH': `Params' returns one value, the row length used for writing +%% pixel data to memory. The initial value is 0. See {@link gl:pixelStoref/2} . +%% +%% `?GL_PACK_SKIP_IMAGES': `Params' returns one value, the number of pixel images +%% skipped before the first pixel is written into memory. The initial value is 0. See {@link gl:pixelStoref/2} +%% . +%% +%% `?GL_PACK_SKIP_PIXELS': `Params' returns one value, the number of pixel locations +%% skipped before the first pixel is written into memory. The initial value is 0. See {@link gl:pixelStoref/2} +%% . +%% +%% `?GL_PACK_SKIP_ROWS': `Params' returns one value, the number of rows of pixel +%% locations skipped before the first pixel is written into memory. The initial value is +%% 0. See {@link gl:pixelStoref/2} . +%% +%% `?GL_PACK_SWAP_BYTES': `Params' returns a single boolean value indicating whether +%% the bytes of two-byte and four-byte pixel indices and components are swapped before being +%% written to memory. The initial value is `?GL_FALSE'. See {@link gl:pixelStoref/2} . +%% +%% `?GL_PIXEL_PACK_BUFFER_BINDING': `Params' returns a single value, the name of +%% the buffer object currently bound to the target `?GL_PIXEL_PACK_BUFFER'. If no buffer +%% object is bound to this target, 0 is returned. The initial value is 0. See {@link gl:bindBuffer/2} +%% . +%% +%% `?GL_PIXEL_UNPACK_BUFFER_BINDING': `Params' returns a single value, the name +%% of the buffer object currently bound to the target `?GL_PIXEL_UNPACK_BUFFER'. If +%% no buffer object is bound to this target, 0 is returned. The initial value is 0. See {@link gl:bindBuffer/2} +%% . +%% +%% `?GL_POINT_FADE_THRESHOLD_SIZE': `Params' returns one value, the point size +%% threshold for determining the point size. See {@link gl:pointParameterf/2} . +%% +%% `?GL_PRIMITIVE_RESTART_INDEX': `Params' returns one value, the current primitive +%% restart index. The initial value is 0. See {@link gl:primitiveRestartIndex/1} . +%% +%% `?GL_PROGRAM_BINARY_FORMATS': `Params' an array of `?GL_NUM_PROGRAM_BINARY_FORMATS' +%% values, indicating the proram binary formats supported by the implementation. +%% +%% `?GL_PROGRAM_PIPELINE_BINDING': `Params' a single value, the name of the currently +%% bound program pipeline object, or zero if no program pipeline object is bound. See {@link gl:bindProgramPipeline/1} +%% . +%% +%% `?GL_PROVOKING_VERTEX': `Params' returns one value, the currently selected provoking +%% vertex convention. The initial value is `?GL_LAST_VERTEX_CONVENTION'. See {@link gl:provokingVertex/1} +%% . +%% +%% `?GL_POINT_SIZE': `Params' returns one value, the point size as specified by {@link gl:pointSize/1} +%% . The initial value is 1. +%% +%% `?GL_POINT_SIZE_GRANULARITY': `Params' returns one value, the size difference +%% between adjacent supported sizes for antialiased points. See {@link gl:pointSize/1} . +%% +%% `?GL_POINT_SIZE_RANGE': `Params' returns two values: the smallest and largest +%% supported sizes for antialiased points. The smallest size must be at most 1, and the largest +%% size must be at least 1. See {@link gl:pointSize/1} . +%% +%% `?GL_POLYGON_OFFSET_FACTOR': `Params' returns one value, the scaling factor +%% used to determine the variable offset that is added to the depth value of each fragment +%% generated when a polygon is rasterized. The initial value is 0. See {@link gl:polygonOffset/2} +%% . +%% +%% `?GL_POLYGON_OFFSET_UNITS': `Params' returns one value. This value is multiplied +%% by an implementation-specific value and then added to the depth value of each fragment +%% generated when a polygon is rasterized. The initial value is 0. See {@link gl:polygonOffset/2} +%% . +%% +%% `?GL_POLYGON_OFFSET_FILL': `Params' returns a single boolean value indicating +%% whether polygon offset is enabled for polygons in fill mode. The initial value is `?GL_FALSE' +%% . See {@link gl:polygonOffset/2} . +%% +%% `?GL_POLYGON_OFFSET_LINE': `Params' returns a single boolean value indicating +%% whether polygon offset is enabled for polygons in line mode. The initial value is `?GL_FALSE' +%% . See {@link gl:polygonOffset/2} . +%% +%% `?GL_POLYGON_OFFSET_POINT': `Params' returns a single boolean value indicating +%% whether polygon offset is enabled for polygons in point mode. The initial value is `?GL_FALSE' +%% . See {@link gl:polygonOffset/2} . +%% +%% `?GL_POLYGON_SMOOTH': `Params' returns a single boolean value indicating whether +%% antialiasing of polygons is enabled. The initial value is `?GL_FALSE'. See {@link gl:polygonMode/2} +%% . +%% +%% `?GL_POLYGON_SMOOTH_HINT': `Params' returns one value, a symbolic constant indicating +%% the mode of the polygon antialiasing hint. The initial value is `?GL_DONT_CARE'. +%% See {@link gl:hint/2} . +%% +%% `?GL_READ_BUFFER': `Params' returns one value, a symbolic constant indicating +%% which color buffer is selected for reading. The initial value is `?GL_BACK' if there +%% is a back buffer, otherwise it is `?GL_FRONT'. See {@link gl:readPixels/7} . +%% +%% `?GL_RENDERBUFFER_BINDING': `Params' returns a single value, the name of the +%% renderbuffer object currently bound to the target `?GL_RENDERBUFFER'. If no renderbuffer +%% object is bound to this target, 0 is returned. The initial value is 0. See {@link gl:bindRenderbuffer/2} +%% . +%% +%% `?GL_SAMPLE_BUFFERS': `Params' returns a single integer value indicating the +%% number of sample buffers associated with the framebuffer. See {@link gl:sampleCoverage/2} . +%% +%% +%% `?GL_SAMPLE_COVERAGE_VALUE': `Params' returns a single positive floating-point +%% value indicating the current sample coverage value. See {@link gl:sampleCoverage/2} . +%% +%% `?GL_SAMPLE_COVERAGE_INVERT': `Params' returns a single boolean value indicating +%% if the temporary coverage value should be inverted. See {@link gl:sampleCoverage/2} . +%% +%% `?GL_SAMPLER_BINDING': `Params' returns a single value, the name of the sampler +%% object currently bound to the active texture unit. The initial value is 0. See {@link gl:bindSampler/2} +%% . +%% +%% `?GL_SAMPLES': `Params' returns a single integer value indicating the coverage +%% mask size. See {@link gl:sampleCoverage/2} . +%% +%% `?GL_SCISSOR_BOX': `Params' returns four values: the x and y window coordinates +%% of the scissor box, followed by its width and height. Initially the x and y window +%% coordinates are both 0 and the width and height are set to the size of the window. See {@link gl:scissor/4} +%% . +%% +%% `?GL_SCISSOR_TEST': `Params' returns a single boolean value indicating whether +%% scissoring is enabled. The initial value is `?GL_FALSE'. See {@link gl:scissor/4} . +%% +%% `?GL_SHADER_COMPILER': `Params' returns a single boolean value indicating whether +%% an online shader compiler is present in the implementation. All desktop OpenGL implementations +%% must support online shader compilations, and therefore the value of `?GL_SHADER_COMPILER' +%% will always be `?GL_TRUE'. +%% +%% `?GL_SMOOTH_LINE_WIDTH_RANGE': `Params' returns a pair of values indicating +%% the range of widths supported for smooth (antialiased) lines. See {@link gl:lineWidth/1} . +%% +%% `?GL_SMOOTH_LINE_WIDTH_GRANULARITY': `Params' returns a single value indicating +%% the level of quantization applied to smooth line width parameters. +%% +%% `?GL_STENCIL_BACK_FAIL': `Params' returns one value, a symbolic constant indicating +%% what action is taken for back-facing polygons when the stencil test fails. The initial +%% value is `?GL_KEEP'. See {@link gl:stencilOpSeparate/4} . +%% +%% `?GL_STENCIL_BACK_FUNC': `Params' returns one value, a symbolic constant indicating +%% what function is used for back-facing polygons to compare the stencil reference value +%% with the stencil buffer value. The initial value is `?GL_ALWAYS'. See {@link gl:stencilFuncSeparate/4} +%% . +%% +%% `?GL_STENCIL_BACK_PASS_DEPTH_FAIL': `Params' returns one value, a symbolic constant +%% indicating what action is taken for back-facing polygons when the stencil test passes, +%% but the depth test fails. The initial value is `?GL_KEEP'. See {@link gl:stencilOpSeparate/4} +%% . +%% +%% `?GL_STENCIL_BACK_PASS_DEPTH_PASS': `Params' returns one value, a symbolic constant +%% indicating what action is taken for back-facing polygons when the stencil test passes +%% and the depth test passes. The initial value is `?GL_KEEP'. See {@link gl:stencilOpSeparate/4} +%% . +%% +%% `?GL_STENCIL_BACK_REF': `Params' returns one value, the reference value that +%% is compared with the contents of the stencil buffer for back-facing polygons. The initial +%% value is 0. See {@link gl:stencilFuncSeparate/4} . +%% +%% `?GL_STENCIL_BACK_VALUE_MASK': `Params' returns one value, the mask that is +%% used for back-facing polygons to mask both the stencil reference value and the stencil +%% buffer value before they are compared. The initial value is all 1's. See {@link gl:stencilFuncSeparate/4} +%% . +%% +%% `?GL_STENCIL_BACK_WRITEMASK': `Params' returns one value, the mask that controls +%% writing of the stencil bitplanes for back-facing polygons. The initial value is all 1's. +%% See {@link gl:stencilMaskSeparate/2} . +%% +%% `?GL_STENCIL_CLEAR_VALUE': `Params' returns one value, the index to which the +%% stencil bitplanes are cleared. The initial value is 0. See {@link gl:clearStencil/1} . +%% +%% `?GL_STENCIL_FAIL': `Params' returns one value, a symbolic constant indicating +%% what action is taken when the stencil test fails. The initial value is `?GL_KEEP'. +%% See {@link gl:stencilOp/3} . This stencil state only affects non-polygons and front-facing +%% polygons. Back-facing polygons use separate stencil state. See {@link gl:stencilOpSeparate/4} +%% . +%% +%% `?GL_STENCIL_FUNC': `Params' returns one value, a symbolic constant indicating +%% what function is used to compare the stencil reference value with the stencil buffer value. +%% The initial value is `?GL_ALWAYS'. See {@link gl:stencilFunc/3} . This stencil state +%% only affects non-polygons and front-facing polygons. Back-facing polygons use separate +%% stencil state. See {@link gl:stencilFuncSeparate/4} . +%% +%% `?GL_STENCIL_PASS_DEPTH_FAIL': `Params' returns one value, a symbolic constant +%% indicating what action is taken when the stencil test passes, but the depth test fails. +%% The initial value is `?GL_KEEP'. See {@link gl:stencilOp/3} . This stencil state only +%% affects non-polygons and front-facing polygons. Back-facing polygons use separate stencil +%% state. See {@link gl:stencilOpSeparate/4} . +%% +%% `?GL_STENCIL_PASS_DEPTH_PASS': `Params' returns one value, a symbolic constant +%% indicating what action is taken when the stencil test passes and the depth test passes. +%% The initial value is `?GL_KEEP'. See {@link gl:stencilOp/3} . This stencil state only +%% affects non-polygons and front-facing polygons. Back-facing polygons use separate stencil +%% state. See {@link gl:stencilOpSeparate/4} . +%% +%% `?GL_STENCIL_REF': `Params' returns one value, the reference value that is compared +%% with the contents of the stencil buffer. The initial value is 0. See {@link gl:stencilFunc/3} +%% . This stencil state only affects non-polygons and front-facing polygons. Back-facing +%% polygons use separate stencil state. See {@link gl:stencilFuncSeparate/4} . +%% +%% `?GL_STENCIL_TEST': `Params' returns a single boolean value indicating whether +%% stencil testing of fragments is enabled. The initial value is `?GL_FALSE'. See {@link gl:stencilFunc/3} +%% and {@link gl:stencilOp/3} . +%% +%% `?GL_STENCIL_VALUE_MASK': `Params' returns one value, the mask that is used +%% to mask both the stencil reference value and the stencil buffer value before they are +%% compared. The initial value is all 1's. See {@link gl:stencilFunc/3} . This stencil state +%% only affects non-polygons and front-facing polygons. Back-facing polygons use separate +%% stencil state. See {@link gl:stencilFuncSeparate/4} . +%% +%% `?GL_STENCIL_WRITEMASK': `Params' returns one value, the mask that controls +%% writing of the stencil bitplanes. The initial value is all 1's. See {@link gl:stencilMask/1} +%% . This stencil state only affects non-polygons and front-facing polygons. Back-facing +%% polygons use separate stencil state. See {@link gl:stencilMaskSeparate/2} . +%% +%% `?GL_STEREO': `Params' returns a single boolean value indicating whether stereo +%% buffers (left and right) are supported. +%% +%% `?GL_SUBPIXEL_BITS': `Params' returns one value, an estimate of the number of +%% bits of subpixel resolution that are used to position rasterized geometry in window coordinates. +%% The value must be at least 4. +%% +%% `?GL_TEXTURE_BINDING_1D': `Params' returns a single value, the name of the texture +%% currently bound to the target `?GL_TEXTURE_1D'. The initial value is 0. See {@link gl:bindTexture/2} +%% . +%% +%% `?GL_TEXTURE_BINDING_1D_ARRAY': `Params' returns a single value, the name of +%% the texture currently bound to the target `?GL_TEXTURE_1D_ARRAY'. The initial value +%% is 0. See {@link gl:bindTexture/2} . +%% +%% `?GL_TEXTURE_BINDING_2D': `Params' returns a single value, the name of the texture +%% currently bound to the target `?GL_TEXTURE_2D'. The initial value is 0. See {@link gl:bindTexture/2} +%% . +%% +%% `?GL_TEXTURE_BINDING_2D_ARRAY': `Params' returns a single value, the name of +%% the texture currently bound to the target `?GL_TEXTURE_2D_ARRAY'. The initial value +%% is 0. See {@link gl:bindTexture/2} . +%% +%% `?GL_TEXTURE_BINDING_2D_MULTISAMPLE': `Params' returns a single value, the name +%% of the texture currently bound to the target `?GL_TEXTURE_2D_MULTISAMPLE'. The initial +%% value is 0. See {@link gl:bindTexture/2} . +%% +%% `?GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY': `Params' returns a single value, +%% the name of the texture currently bound to the target `?GL_TEXTURE_2D_MULTISAMPLE_ARRAY' +%% . The initial value is 0. See {@link gl:bindTexture/2} . +%% +%% `?GL_TEXTURE_BINDING_3D': `Params' returns a single value, the name of the texture +%% currently bound to the target `?GL_TEXTURE_3D'. The initial value is 0. See {@link gl:bindTexture/2} +%% . +%% +%% `?GL_TEXTURE_BINDING_BUFFER': `Params' returns a single value, the name of the +%% texture currently bound to the target `?GL_TEXTURE_BUFFER'. The initial value is +%% 0. See {@link gl:bindTexture/2} . +%% +%% `?GL_TEXTURE_BINDING_CUBE_MAP': `Params' returns a single value, the name of +%% the texture currently bound to the target `?GL_TEXTURE_CUBE_MAP'. The initial value +%% is 0. See {@link gl:bindTexture/2} . +%% +%% `?GL_TEXTURE_BINDING_RECTANGLE': `Params' returns a single value, the name of +%% the texture currently bound to the target `?GL_TEXTURE_RECTANGLE'. The initial value +%% is 0. See {@link gl:bindTexture/2} . +%% +%% `?GL_TEXTURE_COMPRESSION_HINT': `Params' returns a single value indicating the +%% mode of the texture compression hint. The initial value is `?GL_DONT_CARE'. +%% +%% `?GL_TEXTURE_BUFFER_BINDING': `Params' returns a single value, the name of the +%% texture buffer object currently bound. The initial value is 0. See {@link gl:bindBuffer/2} . +%% +%% +%% `?GL_TIMESTAMP': `Params' returns a single value, the 64-bit value of the current +%% GL time. See {@link gl:queryCounter/2} . +%% +%% `?GL_TRANSFORM_FEEDBACK_BUFFER_BINDING': When used with non-indexed variants of ``gl:get'' +%% (such as ``gl:getIntegerv''), `Params' returns a single value, the name of the +%% buffer object currently bound to the target `?GL_TRANSFORM_FEEDBACK_BUFFER'. If no +%% buffer object is bound to this target, 0 is returned. When used with indexed variants of ``gl:get'' +%% (such as ``gl:getIntegeri_v''), `Params' returns a single value, the name of the +%% buffer object bound to the indexed transform feedback attribute stream. The initial value +%% is 0 for all targets. See {@link gl:bindBuffer/2} , {@link gl:bindBufferBase/3} , and {@link gl:bindBufferRange/5} +%% . +%% +%% `?GL_TRANSFORM_FEEDBACK_BUFFER_START': When used with indexed variants of ``gl:get'' +%% (such as ``gl:getInteger64i_v''), `Params' returns a single value, the start offset +%% of the binding range for each transform feedback attribute stream. The initial value is +%% 0 for all streams. See {@link gl:bindBufferRange/5} . +%% +%% `?GL_TRANSFORM_FEEDBACK_BUFFER_SIZE': When used with indexed variants of ``gl:get'' +%% (such as ``gl:getInteger64i_v''), `Params' returns a single value, the size of +%% the binding range for each transform feedback attribute stream. The initial value is 0 +%% for all streams. See {@link gl:bindBufferRange/5} . +%% +%% `?GL_UNIFORM_BUFFER_BINDING': When used with non-indexed variants of ``gl:get'' +%% (such as ``gl:getIntegerv''), `Params' returns a single value, the name of the +%% buffer object currently bound to the target `?GL_UNIFORM_BUFFER'. If no buffer object +%% is bound to this target, 0 is returned. When used with indexed variants of ``gl:get'' +%% (such as ``gl:getIntegeri_v''), `Params' returns a single value, the name of the +%% buffer object bound to the indexed uniform buffer binding point. The initial value is +%% 0 for all targets. See {@link gl:bindBuffer/2} , {@link gl:bindBufferBase/3} , and {@link gl:bindBufferRange/5} +%% . +%% +%% `?GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT': `Params' returns a single value, the +%% minimum required alignment for uniform buffer sizes and offset. The initial value is 1. +%% See {@link gl:uniformBlockBinding/3} . +%% +%% `?GL_UNIFORM_BUFFER_SIZE': When used with indexed variants of ``gl:get'' (such +%% as ``gl:getInteger64i_v''), `Params' returns a single value, the size of the binding +%% range for each indexed uniform buffer binding. The initial value is 0 for all bindings. +%% See {@link gl:bindBufferRange/5} . +%% +%% `?GL_UNIFORM_BUFFER_START': When used with indexed variants of ``gl:get'' (such +%% as ``gl:getInteger64i_v''), `Params' returns a single value, the start offset of +%% the binding range for each indexed uniform buffer binding. The initial value is 0 for +%% all bindings. See {@link gl:bindBufferRange/5} . +%% +%% `?GL_UNPACK_ALIGNMENT': `Params' returns one value, the byte alignment used +%% for reading pixel data from memory. The initial value is 4. See {@link gl:pixelStoref/2} . +%% +%% `?GL_UNPACK_IMAGE_HEIGHT': `Params' returns one value, the image height used +%% for reading pixel data from memory. The initial is 0. See {@link gl:pixelStoref/2} . +%% +%% `?GL_UNPACK_LSB_FIRST': `Params' returns a single boolean value indicating whether +%% single-bit pixels being read from memory are read first from the least significant bit +%% of each unsigned byte. The initial value is `?GL_FALSE'. See {@link gl:pixelStoref/2} . +%% +%% +%% `?GL_UNPACK_ROW_LENGTH': `Params' returns one value, the row length used for +%% reading pixel data from memory. The initial value is 0. See {@link gl:pixelStoref/2} . +%% +%% `?GL_UNPACK_SKIP_IMAGES': `Params' returns one value, the number of pixel images +%% skipped before the first pixel is read from memory. The initial value is 0. See {@link gl:pixelStoref/2} +%% . +%% +%% `?GL_UNPACK_SKIP_PIXELS': `Params' returns one value, the number of pixel locations +%% skipped before the first pixel is read from memory. The initial value is 0. See {@link gl:pixelStoref/2} +%% . +%% +%% `?GL_UNPACK_SKIP_ROWS': `Params' returns one value, the number of rows of pixel +%% locations skipped before the first pixel is read from memory. The initial value is 0. +%% See {@link gl:pixelStoref/2} . +%% +%% `?GL_UNPACK_SWAP_BYTES': `Params' returns a single boolean value indicating +%% whether the bytes of two-byte and four-byte pixel indices and components are swapped after +%% being read from memory. The initial value is `?GL_FALSE'. See {@link gl:pixelStoref/2} . +%% +%% +%% `?GL_VERTEX_PROGRAM_POINT_SIZE': `Params' returns a single boolean value indicating +%% whether vertex program point size mode is enabled. If enabled, and a vertex shader is +%% active, then the point size is taken from the shader built-in gl_PointSize. If disabled, +%% and a vertex shader is active, then the point size is taken from the point state as specified +%% by {@link gl:pointSize/1} . The initial value is `?GL_FALSE'. +%% +%% `?GL_VIEWPORT': When used with non-indexed variants of ``gl:get'' (such as ``gl:getIntegerv'' +%% ), `Params' returns four values: the x and y window coordinates of the viewport, +%% followed by its width and height. Initially the x and y window coordinates are both +%% set to 0, and the width and height are set to the width and height of the window into +%% which the GL will do its rendering. See {@link gl:viewport/4} . When used with indexed +%% variants of ``gl:get'' (such as ``gl:getIntegeri_v''), `Params' returns four +%% values: the x and y window coordinates of the indexed viewport, followed by its width +%% and height. Initially the x and y window coordinates are both set to 0, and the width +%% and height are set to the width and height of the window into which the GL will do its +%% rendering. See {@link gl:viewportIndexedf/5} . +%% +%% `?GL_VIEWPORT_BOUNDS_RANGE': `Params' returns two values, the minimum and maximum +%% viewport bounds range. The minimum range should be at least [-32768, 32767]. +%% +%% `?GL_VIEWPORT_INDEX_PROVOKING_VERTEX': `Params' returns one value, the implementation +%% dependent specifc vertex of a primitive that is used to select the viewport index. If +%% the value returned is equivalent to `?GL_PROVOKING_VERTEX', then the vertex selection +%% follows the convention specified by {@link gl:provokingVertex/1} . If the value returned +%% is equivalent to `?GL_FIRST_VERTEX_CONVENTION', then the selection is always taken +%% from the first vertex in the primitive. If the value returned is equivalent to `?GL_LAST_VERTEX_CONVENTION' +%% , then the selection is always taken from the last vertex in the primitive. If the value +%% returned is equivalent to `?GL_UNDEFINED_VERTEX', then the selection is not guaranteed +%% to be taken from any specific vertex in the primitive. +%% +%% `?GL_VIEWPORT_SUBPIXEL_BITS': `Params' returns a single value, the number of +%% bits of sub-pixel precision which the GL uses to interpret the floating point viewport +%% bounds. The minimum value is 0. +%% +%% Many of the boolean parameters can also be queried more easily using {@link gl:isEnabled/1} +%% . +%% +%% See external documentation. +-spec getBooleanv(Pname) -> [0|1] when Pname :: enum(). +getBooleanv(Pname) -> + call(5065, <>). -%% @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). +%% @doc +%% See {@link getBooleanv/1} +-spec getDoublev(Pname) -> [float()] when Pname :: enum(). +getDoublev(Pname) -> + call(5066, <>). -%% @spec (Red::integer(),Green::integer(),Blue::integer(),Alpha::integer()) -> ok -%% @doc See external documentation. --spec color4ui(integer(),integer(),integer(),integer()) -> ok. -color4ui(Red,Green,Blue,Alpha) -> - cast(5069, <>). +%% @doc +%% See {@link getBooleanv/1} +-spec getFloatv(Pname) -> [float()] when Pname :: enum(). +getFloatv(Pname) -> + call(5067, <>). -%% @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). +%% @doc +%% See {@link getBooleanv/1} +-spec getIntegerv(Pname) -> [integer()] when Pname :: enum(). +getIntegerv(Pname) -> + call(5068, <>). -%% @spec (Red::integer(),Green::integer(),Blue::integer(),Alpha::integer()) -> ok -%% @doc See external documentation. --spec color4us(integer(),integer(),integer(),integer()) -> ok. -color4us(Red,Green,Blue,Alpha) -> - cast(5070, <>). +%% @doc Push and pop the server attribute stack +%% +%% ``gl:pushAttrib'' takes one argument, a mask that indicates which groups of state variables +%% to save on the attribute stack. Symbolic constants are used to set bits in the mask. `Mask' +%% is typically constructed by specifying the bitwise-or of several of these constants +%% together. The special mask `?GL_ALL_ATTRIB_BITS' can be used to save all stackable +%% states. +%% +%% The symbolic mask constants and their associated GL state are as follows (the second +%% column lists which attributes are saved): +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%%
`?GL_ACCUM_BUFFER_BIT' Accumulation buffer clear value +%%
`?GL_COLOR_BUFFER_BIT'`?GL_ALPHA_TEST' enable bit
Alpha test function and reference value
+%% `?GL_BLEND' enable bit
Blending source and destination +%% functions
Constant blend color
+%% Blending equation
`?GL_DITHER' enable bit
+%% `?GL_DRAW_BUFFER' setting
`?GL_COLOR_LOGIC_OP' +%% enable bit
`?GL_INDEX_LOGIC_OP' enable bit
Logic op function
Color mode and index mode +%% clear values
Color mode and index mode writemasks
`?GL_CURRENT_BIT' Current RGBA color
Current +%% color index
Current normal vector
+%% Current texture coordinates
Current raster position
`?GL_CURRENT_RASTER_POSITION_VALID' flag
+%% RGBA color associated with current raster position
Color +%% index associated with current raster position
Texture coordinates +%% associated with current raster position
`?GL_EDGE_FLAG' +%% flag
`?GL_DEPTH_BUFFER_BIT'`?GL_DEPTH_TEST' enable +%% bit
Depth buffer test function
+%% Depth buffer clear value
`?GL_DEPTH_WRITEMASK' enable +%% bit
`?GL_ENABLE_BIT'`?GL_ALPHA_TEST' flag
`?GL_AUTO_NORMAL' flag
`?GL_BLEND' flag +%%
Enable bits for the user-definable clipping planes
`?GL_COLOR_MATERIAL'
`?GL_CULL_FACE' +%% flag
`?GL_DEPTH_TEST' flag
`?GL_DITHER' +%% flag
`?GL_FOG' flag
`?GL_LIGHT' +%% `i' where `?0' <= `i' < `?GL_MAX_LIGHTS'
`?GL_LIGHTING' flag
`?GL_LINE_SMOOTH' +%% flag
`?GL_LINE_STIPPLE' flag
`?GL_COLOR_LOGIC_OP' +%% flag
`?GL_INDEX_LOGIC_OP' flag
+%% `?GL_MAP1_'`x' where `x' is a map type
`?GL_MAP2_' +%% `x' where `x' is a map type
`?GL_MULTISAMPLE' +%% flag
`?GL_NORMALIZE' flag
`?GL_POINT_SMOOTH' +%% flag
`?GL_POLYGON_OFFSET_LINE' flag
`?GL_POLYGON_OFFSET_FILL' flag
`?GL_POLYGON_OFFSET_POINT' +%% flag
`?GL_POLYGON_SMOOTH' flag
+%% `?GL_POLYGON_STIPPLE' flag
`?GL_SAMPLE_ALPHA_TO_COVERAGE' +%% flag
`?GL_SAMPLE_ALPHA_TO_ONE' flag
`?GL_SAMPLE_COVERAGE' flag
`?GL_SCISSOR_TEST' +%% flag
`?GL_STENCIL_TEST' flag
`?GL_TEXTURE_1D' +%% flag
`?GL_TEXTURE_2D' flag
`?GL_TEXTURE_3D' +%% flag
Flags `?GL_TEXTURE_GEN_'`x' where `x' +%% is S, T, R, or Q
`?GL_EVAL_BIT'`?GL_MAP1_'`x' +%% enable bits, where `x' is a map type
`?GL_MAP2_'`x' +%% enable bits, where `x' is a map type
1D grid endpoints +%% and divisions
2D grid endpoints and divisions
+%% `?GL_AUTO_NORMAL' enable bit
`?GL_FOG_BIT'`?GL_FOG' +%% enable bit
Fog color
Fog density +%%
Linear fog start
Linear fog end
Fog index
`?GL_FOG_MODE' value
`?GL_HINT_BIT'`?GL_PERSPECTIVE_CORRECTION_HINT' setting
`?GL_POINT_SMOOTH_HINT' setting
`?GL_LINE_SMOOTH_HINT' +%% setting
`?GL_POLYGON_SMOOTH_HINT' setting
+%% `?GL_FOG_HINT' setting
`?GL_GENERATE_MIPMAP_HINT' +%% setting
`?GL_TEXTURE_COMPRESSION_HINT' setting
`?GL_LIGHTING_BIT'`?GL_COLOR_MATERIAL' enable bit
`?GL_COLOR_MATERIAL_FACE' value
Color material +%% parameters that are tracking the current color
Ambient scene +%% color
`?GL_LIGHT_MODEL_LOCAL_VIEWER' value
+%% `?GL_LIGHT_MODEL_TWO_SIDE' setting
`?GL_LIGHTING' +%% enable bit
Enable bit for each light
+%% Ambient, diffuse, and specular intensity for each light
Direction, +%% position, exponent, and cutoff angle for each light
Constant, +%% linear, and quadratic attenuation factors for each light
Ambient, +%% diffuse, specular, and emissive color for each material
Ambient, +%% diffuse, and specular color indices for each material
Specular +%% exponent for each material
`?GL_SHADE_MODEL' setting
`?GL_LINE_BIT'`?GL_LINE_SMOOTH' flag
`?GL_LINE_STIPPLE' enable bit
Line stipple pattern +%% and repeat counter
Line width
`?GL_LIST_BIT' +%% `?GL_LIST_BASE' setting
`?GL_MULTISAMPLE_BIT' +%% `?GL_MULTISAMPLE' flag
`?GL_SAMPLE_ALPHA_TO_COVERAGE' +%% flag
`?GL_SAMPLE_ALPHA_TO_ONE' flag
`?GL_SAMPLE_COVERAGE' flag
`?GL_SAMPLE_COVERAGE_VALUE' +%% value
`?GL_SAMPLE_COVERAGE_INVERT' value
+%% `?GL_PIXEL_MODE_BIT'`?GL_RED_BIAS' and `?GL_RED_SCALE' settings
`?GL_GREEN_BIAS' and `?GL_GREEN_SCALE' values
`?GL_BLUE_BIAS' and `?GL_BLUE_SCALE'
`?GL_ALPHA_BIAS' +%% and `?GL_ALPHA_SCALE'
`?GL_DEPTH_BIAS' and `?GL_DEPTH_SCALE' +%%
`?GL_INDEX_OFFSET' and `?GL_INDEX_SHIFT' values
`?GL_MAP_COLOR' and `?GL_MAP_STENCIL' flags
`?GL_ZOOM_X' and `?GL_ZOOM_Y' factors
`?GL_READ_BUFFER' +%% setting
`?GL_POINT_BIT'`?GL_POINT_SMOOTH' flag
Point size
`?GL_POLYGON_BIT'`?GL_CULL_FACE' +%% enable bit
`?GL_CULL_FACE_MODE' value
`?GL_FRONT_FACE' indicator
`?GL_POLYGON_MODE' +%% setting
`?GL_POLYGON_SMOOTH' flag
+%% `?GL_POLYGON_STIPPLE' enable bit
`?GL_POLYGON_OFFSET_FILL' +%% flag
`?GL_POLYGON_OFFSET_LINE' flag
`?GL_POLYGON_OFFSET_POINT' flag
`?GL_POLYGON_OFFSET_FACTOR' +%%
`?GL_POLYGON_OFFSET_UNITS'
`?GL_POLYGON_STIPPLE_BIT' +%% Polygon stipple image
`?GL_SCISSOR_BIT'`?GL_SCISSOR_TEST' +%% flag
Scissor box
`?GL_STENCIL_BUFFER_BIT' +%% `?GL_STENCIL_TEST' enable bit
Stencil function +%% and reference value
Stencil value mask
Stencil fail, pass, and depth buffer pass actions
Stencil +%% buffer clear value
Stencil buffer writemask
+%% `?GL_TEXTURE_BIT' Enable bits for the four texture coordinates
Border color for each texture image
Minification +%% function for each texture image
Magnification function for +%% each texture image
Texture coordinates and wrap mode for each +%% texture image
Color and mode for each texture environment
Enable bits `?GL_TEXTURE_GEN_'`x', `x' is S, T, +%% R, and Q
`?GL_TEXTURE_GEN_MODE' setting for S, T, R, and +%% Q
{@link gl:texGend/3} plane equations for S, T, R, and Q
Current texture bindings (for example, `?GL_TEXTURE_BINDING_2D')
`?GL_TRANSFORM_BIT' Coefficients of the six clipping planes
Enable bits for the user-definable clipping planes
+%% `?GL_MATRIX_MODE' value
`?GL_NORMALIZE' +%% flag
`?GL_RESCALE_NORMAL' flag
`?GL_VIEWPORT_BIT' +%% Depth range (near and far)
Viewport origin and extent +%%
+%% +%% {@link gl:pushAttrib/1} restores the values of the state variables saved with the last ``gl:pushAttrib'' +%% command. Those not saved are left unchanged. +%% +%% It is an error to push attributes onto a full stack or to pop attributes off an empty +%% stack. In either case, the error flag is set and no other change is made to GL state. +%% +%% Initially, the attribute stack is empty. +%% +%% See external documentation. +-spec pushAttrib(Mask) -> ok when Mask :: integer(). +pushAttrib(Mask) -> + cast(5069, <>). -%% @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). +%% @doc +%% See {@link pushAttrib/1} +-spec popAttrib() -> ok. +popAttrib() -> + cast(5070, <<>>). -%% @spec (Red::0|1,Green::0|1,Blue::0|1,Alpha::0|1) -> ok -%% @doc See external documentation. --spec colorMask(0|1,0|1,0|1,0|1) -> ok. -colorMask(Red,Green,Blue,Alpha) -> - cast(5071, <>). +%% @doc Push and pop the client attribute stack +%% +%% ``gl:pushClientAttrib'' takes one argument, a mask that indicates which groups of client-state +%% variables to save on the client attribute stack. Symbolic constants are used to set bits +%% in the mask. `Mask' is typically constructed by specifying the bitwise-or of several +%% of these constants together. The special mask `?GL_CLIENT_ALL_ATTRIB_BITS' can +%% be used to save all stackable client state. +%% +%% The symbolic mask constants and their associated GL client state are as follows (the +%% second column lists which attributes are saved): +%% +%% `?GL_CLIENT_PIXEL_STORE_BIT' Pixel storage modes `?GL_CLIENT_VERTEX_ARRAY_BIT' +%% Vertex arrays (and enables) +%% +%% {@link gl:pushClientAttrib/1} restores the values of the client-state variables saved with +%% the last ``gl:pushClientAttrib''. Those not saved are left unchanged. +%% +%% It is an error to push attributes onto a full client attribute stack or to pop attributes +%% off an empty stack. In either case, the error flag is set, and no other change is made +%% to GL state. +%% +%% Initially, the client attribute stack is empty. +%% +%% See external documentation. +-spec pushClientAttrib(Mask) -> ok when Mask :: integer(). +pushClientAttrib(Mask) -> + cast(5071, <>). -%% @spec (Face::enum(),Mode::enum()) -> ok -%% @doc See external documentation. --spec colorMaterial(enum(),enum()) -> ok. -colorMaterial(Face,Mode) -> - cast(5072, <>). - -%% @spec (Size::integer(),Type::enum(),Stride::integer(),Pointer::offset()|mem()) -> ok -%% @doc See external documentation. --spec colorPointer(integer(),enum(),integer(),offset()|mem()) -> ok. -colorPointer(Size,Type,Stride,Pointer) when is_integer(Pointer) -> - cast(5073, <>); -colorPointer(Size,Type,Stride,Pointer) -> - send_bin(Pointer), - cast(5074, <>). +%% @doc +%% See {@link pushClientAttrib/1} +-spec popClientAttrib() -> ok. +popClientAttrib() -> + cast(5072, <<>>). -%% @spec (X::integer(),Y::integer(),Width::integer(),Height::integer(),Type::enum()) -> ok -%% @doc See external documentation. --spec copyPixels(integer(),integer(),integer(),integer(),enum()) -> ok. -copyPixels(X,Y,Width,Height,Type) -> - cast(5075, <>). - -%% @spec (Target::enum(),Level::integer(),InternalFormat::enum(),X::integer(),Y::integer(),Width::integer(),Border::integer()) -> ok -%% @doc See external documentation. --spec copyTexImage1D(enum(),integer(),enum(),integer(),integer(),integer(),integer()) -> ok. -copyTexImage1D(Target,Level,InternalFormat,X,Y,Width,Border) -> - cast(5076, <>). - -%% @spec (Target::enum(),Level::integer(),InternalFormat::enum(),X::integer(),Y::integer(),Width::integer(),Height::integer(),Border::integer()) -> ok -%% @doc See external documentation. --spec copyTexImage2D(enum(),integer(),enum(),integer(),integer(),integer(),integer(),integer()) -> ok. -copyTexImage2D(Target,Level,InternalFormat,X,Y,Width,Height,Border) -> - cast(5077, <>). - -%% @spec (Target::enum(),Level::integer(),Xoffset::integer(),X::integer(),Y::integer(),Width::integer()) -> ok -%% @doc See external documentation. --spec copyTexSubImage1D(enum(),integer(),integer(),integer(),integer(),integer()) -> ok. -copyTexSubImage1D(Target,Level,Xoffset,X,Y,Width) -> - cast(5078, <>). +%% @doc Set rasterization mode +%% +%% ``gl:renderMode'' sets the rasterization mode. It takes one argument, `Mode' , which +%% can assume one of three predefined values: +%% +%% `?GL_RENDER': Render mode. Primitives are rasterized, producing pixel fragments, +%% which are written into the frame buffer. This is the normal mode and also the default +%% mode. +%% +%% `?GL_SELECT': Selection mode. No pixel fragments are produced, and no change to +%% the frame buffer contents is made. Instead, a record of the names of primitives that would +%% have been drawn if the render mode had been `?GL_RENDER' is returned in a select +%% buffer, which must be created (see {@link gl:selectBuffer/2} ) before selection mode is +%% entered. +%% +%% `?GL_FEEDBACK': Feedback mode. No pixel fragments are produced, and no change to +%% the frame buffer contents is made. Instead, the coordinates and attributes of vertices +%% that would have been drawn if the render mode had been `?GL_RENDER' is returned in +%% a feedback buffer, which must be created (see {@link gl:feedbackBuffer/3} ) before feedback +%% mode is entered. +%% +%% The return value of ``gl:renderMode'' is determined by the render mode at the time ``gl:renderMode'' +%% is called, rather than by `Mode' . The values returned for the three render modes +%% are as follows: +%% +%% `?GL_RENDER': 0. +%% +%% `?GL_SELECT': The number of hit records transferred to the select buffer. +%% +%% `?GL_FEEDBACK': The number of values (not vertices) transferred to the feedback +%% buffer. +%% +%% See the {@link gl:selectBuffer/2} and {@link gl:feedbackBuffer/3} reference pages for more +%% details concerning selection and feedback operation. +%% +%% See external documentation. +-spec renderMode(Mode) -> integer() when Mode :: enum(). +renderMode(Mode) -> + call(5073, <>). -%% @spec (Target::enum(),Level::integer(),Xoffset::integer(),Yoffset::integer(),X::integer(),Y::integer(),Width::integer(),Height::integer()) -> ok -%% @doc See external documentation. --spec copyTexSubImage2D(enum(),integer(),integer(),integer(),integer(),integer(),integer(),integer()) -> ok. -copyTexSubImage2D(Target,Level,Xoffset,Yoffset,X,Y,Width,Height) -> - cast(5079, <>). +%% @doc Return error information +%% +%% ``gl:getError'' returns the value of the error flag. Each detectable error is assigned +%% a numeric code and symbolic name. When an error occurs, the error flag is set to the appropriate +%% error code value. No other errors are recorded until ``gl:getError'' is called, the +%% error code is returned, and the flag is reset to `?GL_NO_ERROR'. If a call to ``gl:getError'' +%% returns `?GL_NO_ERROR', there has been no detectable error since the last call to ``gl:getError'' +%% , or since the GL was initialized. +%% +%% To allow for distributed implementations, there may be several error flags. If any single +%% error flag has recorded an error, the value of that flag is returned and that flag is +%% reset to `?GL_NO_ERROR' when ``gl:getError'' is called. If more than one flag has +%% recorded an error, ``gl:getError'' returns and clears an arbitrary error flag value. +%% Thus, ``gl:getError'' should always be called in a loop, until it returns `?GL_NO_ERROR' +%% , if all error flags are to be reset. +%% +%% Initially, all error flags are set to `?GL_NO_ERROR'. +%% +%% The following errors are currently defined: +%% +%% `?GL_NO_ERROR': No error has been recorded. The value of this symbolic constant +%% is guaranteed to be 0. +%% +%% `?GL_INVALID_ENUM': An unacceptable value is specified for an enumerated argument. +%% The offending command is ignored and has no other side effect than to set the error flag. +%% +%% +%% `?GL_INVALID_VALUE': A numeric argument is out of range. The offending command is +%% ignored and has no other side effect than to set the error flag. +%% +%% `?GL_INVALID_OPERATION': The specified operation is not allowed in the current state. +%% The offending command is ignored and has no other side effect than to set the error flag. +%% +%% +%% `?GL_INVALID_FRAMEBUFFER_OPERATION': The framebuffer object is not complete. The +%% offending command is ignored and has no other side effect than to set the error flag. +%% +%% `?GL_OUT_OF_MEMORY': There is not enough memory left to execute the command. The +%% state of the GL is undefined, except for the state of the error flags, after this error +%% is recorded. +%% +%% When an error flag is set, results of a GL operation are undefined only if `?GL_OUT_OF_MEMORY' +%% has occurred. In all other cases, the command generating the error is ignored and has +%% no effect on the GL state or frame buffer contents. If the generating command returns +%% a value, it returns 0. If ``gl:getError'' itself generates an error, it returns 0. +%% +%% See external documentation. +-spec getError() -> enum(). +getError() -> + call(5074, <<>>). -%% @spec (Mode::enum()) -> ok -%% @doc See external documentation. --spec cullFace(enum()) -> ok. -cullFace(Mode) -> - cast(5080, <>). +%% @doc Return a string describing the current GL connection +%% +%% ``gl:getString'' returns a pointer to a static string describing some aspect of the +%% current GL connection. `Name' can be one of the following: +%% +%% `?GL_VENDOR': Returns the company responsible for this GL implementation. This name +%% does not change from release to release. +%% +%% `?GL_RENDERER': Returns the name of the renderer. This name is typically specific +%% to a particular configuration of a hardware platform. It does not change from release +%% to release. +%% +%% `?GL_VERSION': Returns a version or release number. +%% +%% `?GL_SHADING_LANGUAGE_VERSION': Returns a version or release number for the shading +%% language. +%% +%% ``gl:getStringi'' returns a pointer to a static string indexed by `Index' . `Name' +%% can be one of the following: +%% +%% `?GL_EXTENSIONS': For ``gl:getStringi'' only, returns the extension string supported +%% by the implementation at `Index' . +%% +%% Strings `?GL_VENDOR' and `?GL_RENDERER' together uniquely specify a platform. +%% They do not change from release to release and should be used by platform-recognition +%% algorithms. +%% +%% The `?GL_VERSION' and `?GL_SHADING_LANGUAGE_VERSION' strings begin with a version +%% number. The version number uses one of these forms: +%% +%% `major_number.minor_number'`major_number.minor_number.release_number' +%% +%% Vendor-specific information may follow the version number. Its format depends on the +%% implementation, but a space always separates the version number and the vendor-specific +%% information. +%% +%% All strings are null-terminated. +%% +%% See external documentation. +-spec getString(Name) -> string() when Name :: enum(). +getString(Name) -> + call(5075, <>). -%% @spec (List::integer(),Range::integer()) -> ok -%% @doc See external documentation. --spec deleteLists(integer(),integer()) -> ok. -deleteLists(List,Range) -> - cast(5081, <>). +%% @doc Block until all GL execution is complete +%% +%% ``gl:finish'' does not return until the effects of all previously called GL commands +%% are complete. Such effects include all changes to GL state, all changes to connection +%% state, and all changes to the frame buffer contents. +%% +%% See external documentation. +-spec finish() -> ok. +finish() -> + cast(5076, <<>>). -%% @spec (Textures::[integer()]) -> ok -%% @doc See external documentation. --spec deleteTextures([integer()]) -> ok. -deleteTextures(Textures) -> - cast(5082, <<(length(Textures)):?GLuint, - (<< <> || C <- Textures>>)/binary,0:(((1+length(Textures)) rem 2)*32)>>). +%% @doc Force execution of GL commands in finite time +%% +%% Different GL implementations buffer commands in several different locations, including +%% network buffers and the graphics accelerator itself. ``gl:flush'' empties all of these +%% buffers, causing all issued commands to be executed as quickly as they are accepted by +%% the actual rendering engine. Though this execution may not be completed in any particular +%% time period, it does complete in finite time. +%% +%% Because any GL program might be executed over a network, or on an accelerator that buffers +%% commands, all programs should call ``gl:flush'' whenever they count on having all of +%% their previously issued commands completed. For example, call ``gl:flush'' before waiting +%% for user input that depends on the generated image. +%% +%% See external documentation. +-spec flush() -> ok. +flush() -> + cast(5077, <<>>). -%% @spec (Func::enum()) -> ok -%% @doc See external documentation. --spec depthFunc(enum()) -> ok. +%% @doc Specify implementation-specific hints +%% +%% Certain aspects of GL behavior, when there is room for interpretation, can be controlled +%% with hints. A hint is specified with two arguments. `Target' is a symbolic constant +%% indicating the behavior to be controlled, and `Mode' is another symbolic constant +%% indicating the desired behavior. The initial value for each `Target' is `?GL_DONT_CARE' +%% . `Mode' can be one of the following: +%% +%% `?GL_FASTEST': The most efficient option should be chosen. +%% +%% `?GL_NICEST': The most correct, or highest quality, option should be chosen. +%% +%% `?GL_DONT_CARE': No preference. +%% +%% Though the implementation aspects that can be hinted are well defined, the interpretation +%% of the hints depends on the implementation. The hint aspects that can be specified with `Target' +%% , along with suggested semantics, are as follows: +%% +%% `?GL_FRAGMENT_SHADER_DERIVATIVE_HINT': Indicates the accuracy of the derivative +%% calculation for the GL shading language fragment processing built-in functions: `?dFdx' +%% , `?dFdy', and `?fwidth'. +%% +%% `?GL_LINE_SMOOTH_HINT': Indicates the sampling quality of antialiased lines. If +%% a larger filter function is applied, hinting `?GL_NICEST' can result in more pixel +%% fragments being generated during rasterization. +%% +%% `?GL_POLYGON_SMOOTH_HINT': Indicates the sampling quality of antialiased polygons. +%% Hinting `?GL_NICEST' can result in more pixel fragments being generated during rasterization, +%% if a larger filter function is applied. +%% +%% `?GL_TEXTURE_COMPRESSION_HINT': Indicates the quality and performance of the compressing +%% texture images. Hinting `?GL_FASTEST' indicates that texture images should be compressed +%% as quickly as possible, while `?GL_NICEST' indicates that texture images should be +%% compressed with as little image quality loss as possible. `?GL_NICEST' should be +%% selected if the texture is to be retrieved by {@link gl:getCompressedTexImage/3} for reuse. +%% +%% +%% See external documentation. +-spec hint(Target, Mode) -> ok when Target :: enum(),Mode :: enum(). +hint(Target,Mode) -> + cast(5078, <>). + +%% @doc Specify the clear value for the depth buffer +%% +%% ``gl:clearDepth'' specifies the depth value used by {@link gl:clear/1} to clear the depth +%% buffer. Values specified by ``gl:clearDepth'' are clamped to the range [0 1]. +%% +%% See external documentation. +-spec clearDepth(Depth) -> ok when Depth :: clamp(). +clearDepth(Depth) -> + cast(5079, <>). + +%% @doc Specify the value used for depth buffer comparisons +%% +%% ``gl:depthFunc'' specifies the function used to compare each incoming pixel depth value +%% with the depth value present in the depth buffer. The comparison is performed only if +%% depth testing is enabled. (See {@link gl:enable/1} and {@link gl:enable/1} of `?GL_DEPTH_TEST' +%% .) +%% +%% `Func' specifies the conditions under which the pixel will be drawn. The comparison +%% functions are as follows: +%% +%% `?GL_NEVER': Never passes. +%% +%% `?GL_LESS': Passes if the incoming depth value is less than the stored depth value. +%% +%% +%% `?GL_EQUAL': Passes if the incoming depth value is equal to the stored depth value. +%% +%% +%% `?GL_LEQUAL': Passes if the incoming depth value is less than or equal to the stored +%% depth value. +%% +%% `?GL_GREATER': Passes if the incoming depth value is greater than the stored depth +%% value. +%% +%% `?GL_NOTEQUAL': Passes if the incoming depth value is not equal to the stored depth +%% value. +%% +%% `?GL_GEQUAL': Passes if the incoming depth value is greater than or equal to the +%% stored depth value. +%% +%% `?GL_ALWAYS': Always passes. +%% +%% The initial value of `Func' is `?GL_LESS'. Initially, depth testing is disabled. +%% If depth testing is disabled or if no depth buffer exists, it is as if the depth test +%% always passes. +%% +%% See external documentation. +-spec depthFunc(Func) -> ok when Func :: enum(). depthFunc(Func) -> - cast(5083, <>). + cast(5080, <>). -%% @spec (Flag::0|1) -> ok -%% @doc See external documentation. --spec depthMask(0|1) -> ok. +%% @doc Enable or disable writing into the depth buffer +%% +%% ``gl:depthMask'' specifies whether the depth buffer is enabled for writing. If `Flag' +%% is `?GL_FALSE', depth buffer writing is disabled. Otherwise, it is enabled. Initially, +%% depth buffer writing is enabled. +%% +%% See external documentation. +-spec depthMask(Flag) -> ok when Flag :: 0|1. depthMask(Flag) -> - cast(5084, <>). + cast(5081, <>). -%% @spec (ZNear::clamp(),ZFar::clamp()) -> ok -%% @doc See external documentation. --spec depthRange(clamp(),clamp()) -> ok. -depthRange(ZNear,ZFar) -> - cast(5085, <>). +%% @doc Specify mapping of depth values from normalized device coordinates to window coordinates +%% +%% After clipping and division by `w', depth coordinates range from -1 to 1, corresponding +%% to the near and far clipping planes. ``gl:depthRange'' specifies a linear mapping of +%% the normalized depth coordinates in this range to window depth coordinates. Regardless +%% of the actual depth buffer implementation, window coordinate depth values are treated +%% as though they range from 0 through 1 (like color components). Thus, the values accepted +%% by ``gl:depthRange'' are both clamped to this range before they are accepted. +%% +%% The setting of (0,1) maps the near plane to 0 and the far plane to 1. With this mapping, +%% the depth buffer range is fully utilized. +%% +%% See external documentation. +-spec depthRange(Near_val, Far_val) -> ok when Near_val :: clamp(),Far_val :: clamp(). +depthRange(Near_val,Far_val) -> + cast(5082, <>). -%% @spec (Cap::enum()) -> ok -%% @doc See external documentation. --spec disable(enum()) -> ok. -disable(Cap) -> - cast(5086, <>). +%% @doc Specify clear values for the accumulation buffer +%% +%% ``gl:clearAccum'' specifies the red, green, blue, and alpha values used by {@link gl:clear/1} +%% to clear the accumulation buffer. +%% +%% Values specified by ``gl:clearAccum'' are clamped to the range [-1 1]. +%% +%% See external documentation. +-spec clearAccum(Red, Green, Blue, Alpha) -> ok when Red :: float(),Green :: float(),Blue :: float(),Alpha :: float(). +clearAccum(Red,Green,Blue,Alpha) -> + cast(5083, <>). -%% @spec (Array::enum()) -> ok -%% @doc See external documentation. --spec disableClientState(enum()) -> ok. -disableClientState(Array) -> - cast(5087, <>). +%% @doc Operate on the accumulation buffer +%% +%% The accumulation buffer is an extended-range color buffer. Images are not rendered into +%% it. Rather, images rendered into one of the color buffers are added to the contents of +%% the accumulation buffer after rendering. Effects such as antialiasing (of points, lines, +%% and polygons), motion blur, and depth of field can be created by accumulating images generated +%% with different transformation matrices. +%% +%% Each pixel in the accumulation buffer consists of red, green, blue, and alpha values. +%% The number of bits per component in the accumulation buffer depends on the implementation. +%% You can examine this number by calling {@link gl:getBooleanv/1} four times, with arguments +%% `?GL_ACCUM_RED_BITS', `?GL_ACCUM_GREEN_BITS', `?GL_ACCUM_BLUE_BITS', and `?GL_ACCUM_ALPHA_BITS' +%% . Regardless of the number of bits per component, the range of values stored by each component +%% is [-1 1]. The accumulation buffer pixels are mapped one-to-one with frame buffer pixels. +%% +%% ``gl:accum'' operates on the accumulation buffer. The first argument, `Op' , is +%% a symbolic constant that selects an accumulation buffer operation. The second argument, `Value' +%% , is a floating-point value to be used in that operation. Five operations are specified: `?GL_ACCUM' +%% , `?GL_LOAD', `?GL_ADD', `?GL_MULT', and `?GL_RETURN'. +%% +%% All accumulation buffer operations are limited to the area of the current scissor box +%% and applied identically to the red, green, blue, and alpha components of each pixel. If +%% a ``gl:accum'' operation results in a value outside the range [-1 1], the contents of an +%% accumulation buffer pixel component are undefined. +%% +%% The operations are as follows: +%% +%% `?GL_ACCUM': Obtains R, G, B, and A values from the buffer currently selected for +%% reading (see {@link gl:readBuffer/1} ). Each component value is divided by 2 n-1, where +%% n is the number of bits allocated to each color component in the currently selected buffer. +%% The result is a floating-point value in the range [0 1], which is multiplied by `Value' +%% and added to the corresponding pixel component in the accumulation buffer, thereby updating +%% the accumulation buffer. +%% +%% `?GL_LOAD': Similar to `?GL_ACCUM', except that the current value in the accumulation +%% buffer is not used in the calculation of the new value. That is, the R, G, B, and A values +%% from the currently selected buffer are divided by 2 n-1, multiplied by `Value' , +%% and then stored in the corresponding accumulation buffer cell, overwriting the current +%% value. +%% +%% `?GL_ADD': Adds `Value' to each R, G, B, and A in the accumulation buffer. +%% +%% `?GL_MULT': Multiplies each R, G, B, and A in the accumulation buffer by `Value' +%% and returns the scaled component to its corresponding accumulation buffer location. +%% +%% `?GL_RETURN': Transfers accumulation buffer values to the color buffer or buffers +%% currently selected for writing. Each R, G, B, and A component is multiplied by `Value' +%% , then multiplied by 2 n-1, clamped to the range [0 2 n-1], and stored in the corresponding +%% display buffer cell. The only fragment operations that are applied to this transfer are +%% pixel ownership, scissor, dithering, and color writemasks. +%% +%% To clear the accumulation buffer, call {@link gl:clearAccum/4} with R, G, B, and A values +%% to set it to, then call {@link gl:clear/1} with the accumulation buffer enabled. +%% +%% See external documentation. +-spec accum(Op, Value) -> ok when Op :: enum(),Value :: float(). +accum(Op,Value) -> + cast(5084, <>). -%% @spec (Mode::enum(),First::integer(),Count::integer()) -> ok -%% @doc See external documentation. --spec drawArrays(enum(),integer(),integer()) -> ok. -drawArrays(Mode,First,Count) -> - cast(5088, <>). +%% @doc Specify which matrix is the current matrix +%% +%% ``gl:matrixMode'' sets the current matrix mode. `Mode' can assume one of four values: +%% +%% +%% `?GL_MODELVIEW': Applies subsequent matrix operations to the modelview matrix stack. +%% +%% +%% `?GL_PROJECTION': Applies subsequent matrix operations to the projection matrix +%% stack. +%% +%% `?GL_TEXTURE': Applies subsequent matrix operations to the texture matrix stack. +%% +%% `?GL_COLOR': Applies subsequent matrix operations to the color matrix stack. +%% +%% To find out which matrix stack is currently the target of all matrix operations, call {@link gl:getBooleanv/1} +%% with argument `?GL_MATRIX_MODE'. The initial value is `?GL_MODELVIEW'. +%% +%% See external documentation. +-spec matrixMode(Mode) -> ok when Mode :: enum(). +matrixMode(Mode) -> + cast(5085, <>). -%% @spec (Mode::enum()) -> ok -%% @doc See external documentation. --spec drawBuffer(enum()) -> ok. -drawBuffer(Mode) -> - cast(5089, <>). +%% @doc Multiply the current matrix with an orthographic matrix +%% +%% ``gl:ortho'' describes a transformation that produces a parallel projection. The current +%% matrix (see {@link gl:matrixMode/1} ) is multiplied by this matrix and the result replaces +%% the current matrix, as if {@link gl:multMatrixd/1} were called with the following matrix +%% as its argument: +%% +%% ((2/(right-left)) 0 0(t x) 0(2/(top-bottom)) 0(t y) 0 0(-2/(farVal-nearVal))(t z) 0 0 0 1) +%% +%% where t x=-((right+left)/(right-left)) t y=-((top+bottom)/(top-bottom)) t z=-((farVal+nearVal)/(farVal-nearVal)) +%% +%% Typically, the matrix mode is `?GL_PROJECTION', and (left bottom-nearVal) and (right top-nearVal) specify the points on +%% the near clipping plane that are mapped to the lower left and upper right corners of the +%% window, respectively, assuming that the eye is located at (0, 0, 0). -farVal specifies +%% the location of the far clipping plane. Both `NearVal' and `FarVal' can be either +%% positive or negative. +%% +%% Use {@link gl:pushMatrix/0} and {@link gl:pushMatrix/0} to save and restore the current +%% matrix stack. +%% +%% See external documentation. +-spec ortho(Left, Right, Bottom, Top, Near_val, Far_val) -> ok when Left :: float(),Right :: float(),Bottom :: float(),Top :: float(),Near_val :: float(),Far_val :: float(). +ortho(Left,Right,Bottom,Top,Near_val,Far_val) -> + cast(5086, <>). -%% @spec (Mode::enum(),Count::integer(),Type::enum(),Indices::offset()|mem()) -> ok -%% @doc See external documentation. --spec drawElements(enum(),integer(),enum(),offset()|mem()) -> ok. -drawElements(Mode,Count,Type,Indices) when is_integer(Indices) -> - cast(5090, <>); -drawElements(Mode,Count,Type,Indices) -> - send_bin(Indices), - cast(5091, <>). +%% @doc Multiply the current matrix by a perspective matrix +%% +%% ``gl:frustum'' describes a perspective matrix that produces a perspective projection. +%% The current matrix (see {@link gl:matrixMode/1} ) is multiplied by this matrix and the result +%% replaces the current matrix, as if {@link gl:multMatrixd/1} were called with the following +%% matrix as its argument: +%% +%% [((2 nearVal)/(right-left)) 0 A 0 0((2 nearVal)/(top-bottom)) B 0 0 0 C D 0 0 -1 0] +%% +%% A=(right+left)/(right-left) +%% +%% B=(top+bottom)/(top-bottom) +%% +%% C=-((farVal+nearVal)/(farVal-nearVal)) +%% +%% D=-((2 farVal nearVal)/(farVal-nearVal)) +%% +%% Typically, the matrix mode is `?GL_PROJECTION', and (left bottom-nearVal) and (right top-nearVal) specify the points on +%% the near clipping plane that are mapped to the lower left and upper right corners of the +%% window, assuming that the eye is located at (0, 0, 0). -farVal specifies the location +%% of the far clipping plane. Both `NearVal' and `FarVal' must be positive. +%% +%% Use {@link gl:pushMatrix/0} and {@link gl:pushMatrix/0} to save and restore the current +%% matrix stack. +%% +%% See external documentation. +-spec frustum(Left, Right, Bottom, Top, Near_val, Far_val) -> ok when Left :: float(),Right :: float(),Bottom :: float(),Top :: float(),Near_val :: float(),Far_val :: float(). +frustum(Left,Right,Bottom,Top,Near_val,Far_val) -> + cast(5087, <>). -%% @spec (Width::integer(),Height::integer(),Format::enum(),Type::enum(),Pixels::offset()|mem()) -> ok -%% @doc See external documentation. --spec drawPixels(integer(),integer(),enum(),enum(),offset()|mem()) -> ok. -drawPixels(Width,Height,Format,Type,Pixels) when is_integer(Pixels) -> - cast(5092, <>); -drawPixels(Width,Height,Format,Type,Pixels) -> - send_bin(Pixels), - cast(5093, <>). +%% @doc Set the viewport +%% +%% ``gl:viewport'' specifies the affine transformation of x and y from normalized device +%% coordinates to window coordinates. Let (x nd y nd) be normalized device coordinates. Then the window +%% coordinates (x w y w) are computed as follows: +%% +%% x w=(x nd+1) (width/2)+x +%% +%% y w=(y nd+1) (height/2)+y +%% +%% Viewport width and height are silently clamped to a range that depends on the implementation. +%% To query this range, call {@link gl:getBooleanv/1} with argument `?GL_MAX_VIEWPORT_DIMS'. +%% +%% See external documentation. +-spec viewport(X, Y, Width, Height) -> ok when X :: integer(),Y :: integer(),Width :: integer(),Height :: integer(). +viewport(X,Y,Width,Height) -> + cast(5088, <>). -%% @spec (Flag::0|1) -> ok -%% @doc See external documentation. --spec edgeFlag(0|1) -> ok. -edgeFlag(Flag) -> - cast(5094, <>). - -%% @spec (Stride::integer(),Pointer::offset()|mem()) -> ok -%% @doc See external documentation. --spec edgeFlagPointer(integer(),offset()|mem()) -> ok. -edgeFlagPointer(Stride,Pointer) when is_integer(Pointer) -> - cast(5095, <>); -edgeFlagPointer(Stride,Pointer) -> - send_bin(Pointer), - cast(5096, <>). +%% @doc Push and pop the current matrix stack +%% +%% There is a stack of matrices for each of the matrix modes. In `?GL_MODELVIEW' mode, +%% the stack depth is at least 32. In the other modes, `?GL_COLOR', `?GL_PROJECTION' +%% , and `?GL_TEXTURE', the depth is at least 2. The current matrix in any mode is the +%% matrix on the top of the stack for that mode. +%% +%% ``gl:pushMatrix'' pushes the current matrix stack down by one, duplicating the current +%% matrix. That is, after a ``gl:pushMatrix'' call, the matrix on top of the stack is identical +%% to the one below it. +%% +%% {@link gl:pushMatrix/0} pops the current matrix stack, replacing the current matrix with +%% the one below it on the stack. +%% +%% Initially, each of the stacks contains one matrix, an identity matrix. +%% +%% It is an error to push a full matrix stack or to pop a matrix stack that contains only +%% a single matrix. In either case, the error flag is set and no other change is made to +%% GL state. +%% +%% See external documentation. +-spec pushMatrix() -> ok. +pushMatrix() -> + cast(5089, <<>>). + +%% @doc +%% See {@link pushMatrix/0} +-spec popMatrix() -> ok. +popMatrix() -> + cast(5090, <<>>). + +%% @doc Replace the current matrix with the identity matrix +%% +%% ``gl:loadIdentity'' replaces the current matrix with the identity matrix. It is semantically +%% equivalent to calling {@link gl:loadMatrixd/1} with the identity matrix +%% +%% ((1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1)) +%% +%% but in some cases it is more efficient. +%% +%% See external documentation. +-spec loadIdentity() -> ok. +loadIdentity() -> + cast(5091, <<>>). + +%% @doc Replace the current matrix with the specified matrix +%% +%% ``gl:loadMatrix'' replaces the current matrix with the one whose elements are specified +%% by `M' . The current matrix is the projection matrix, modelview matrix, or texture +%% matrix, depending on the current matrix mode (see {@link gl:matrixMode/1} ). +%% +%% The current matrix, M, defines a transformation of coordinates. For instance, assume +%% M refers to the modelview matrix. If v=(v[0] v[1] v[2] v[3]) is the set of object coordinates of a vertex, +%% and `M' points to an array of 16 single- or double-precision floating-point values +%% m={m[0] m[1] ... m[15]}, then the modelview transformation M(v) does the following: +%% +%% M(v)=(m[0] m[4] m[8] m[12] m[1] m[5] m[9] m[13] m[2] m[6] m[10] m[14] m[3] m[7] m[11] m[15])*(v[0] v[1] v[2] v[3]) +%% +%% Projection and texture transformations are similarly defined. +%% +%% See external documentation. +-spec loadMatrixd(M) -> ok when M :: matrix(). +loadMatrixd({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12,M13,M14,M15,M16}) -> + cast(5092, <>); +loadMatrixd({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12}) -> + cast(5092, <>). + +%% @doc +%% See {@link loadMatrixd/1} +-spec loadMatrixf(M) -> ok when M :: matrix(). +loadMatrixf({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12,M13,M14,M15,M16}) -> + cast(5093, <>); +loadMatrixf({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12}) -> + cast(5093, <>). + +%% @doc Multiply the current matrix with the specified matrix +%% +%% ``gl:multMatrix'' multiplies the current matrix with the one specified using `M' , +%% and replaces the current matrix with the product. +%% +%% The current matrix is determined by the current matrix mode (see {@link gl:matrixMode/1} ). +%% It is either the projection matrix, modelview matrix, or the texture matrix. +%% +%% See external documentation. +-spec multMatrixd(M) -> ok when M :: matrix(). +multMatrixd({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12,M13,M14,M15,M16}) -> + cast(5094, <>); +multMatrixd({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12}) -> + cast(5094, <>). + +%% @doc +%% See {@link multMatrixd/1} +-spec multMatrixf(M) -> ok when M :: matrix(). +multMatrixf({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12,M13,M14,M15,M16}) -> + cast(5095, <>); +multMatrixf({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12}) -> + cast(5095, <>). + +%% @doc Multiply the current matrix by a rotation matrix +%% +%% ``gl:rotate'' produces a rotation of `Angle' degrees around the vector (x y z). The current +%% matrix (see {@link gl:matrixMode/1} ) is multiplied by a rotation matrix with the product +%% replacing the current matrix, as if {@link gl:multMatrixd/1} were called with the following +%% matrix as its argument: +%% +%% (x 2(1-c)+c x y(1-c)-z s x z(1-c)+y s 0 y x(1-c)+z s y 2(1-c)+c y z(1-c)-x s 0 x z(1-c)-y s y z(1-c)+x s z 2(1-c)+c 0 0 0 0 +%% 1) +%% +%% Where c= cos(angle), s= sin(angle), and ||(x y z)||= 1 (if not, the GL will normalize this vector). +%% +%% If the matrix mode is either `?GL_MODELVIEW' or `?GL_PROJECTION', all objects +%% drawn after ``gl:rotate'' is called are rotated. Use {@link gl:pushMatrix/0} and {@link gl:pushMatrix/0} +%% to save and restore the unrotated coordinate system. +%% +%% See external documentation. +-spec rotated(Angle, X, Y, Z) -> ok when Angle :: float(),X :: float(),Y :: float(),Z :: float(). +rotated(Angle,X,Y,Z) -> + cast(5096, <>). + +%% @doc +%% See {@link rotated/4} +-spec rotatef(Angle, X, Y, Z) -> ok when Angle :: float(),X :: float(),Y :: float(),Z :: float(). +rotatef(Angle,X,Y,Z) -> + cast(5097, <>). + +%% @doc Multiply the current matrix by a general scaling matrix +%% +%% ``gl:scale'' produces a nonuniform scaling along the `x', `y', and `z' +%% axes. The three parameters indicate the desired scale factor along each of the three axes. +%% +%% +%% The current matrix (see {@link gl:matrixMode/1} ) is multiplied by this scale matrix, and +%% the product replaces the current matrix as if {@link gl:multMatrixd/1} were called with +%% the following matrix as its argument: +%% +%% (x 0 0 0 0 y 0 0 0 0 z 0 0 0 0 1) +%% +%% If the matrix mode is either `?GL_MODELVIEW' or `?GL_PROJECTION', all objects +%% drawn after ``gl:scale'' is called are scaled. +%% +%% Use {@link gl:pushMatrix/0} and {@link gl:pushMatrix/0} to save and restore the unscaled +%% coordinate system. +%% +%% See external documentation. +-spec scaled(X, Y, Z) -> ok when X :: float(),Y :: float(),Z :: float(). +scaled(X,Y,Z) -> + cast(5098, <>). + +%% @doc +%% See {@link scaled/3} +-spec scalef(X, Y, Z) -> ok when X :: float(),Y :: float(),Z :: float(). +scalef(X,Y,Z) -> + cast(5099, <>). + +%% @doc Multiply the current matrix by a translation matrix +%% +%% ``gl:translate'' produces a translation by (x y z). The current matrix (see {@link gl:matrixMode/1} +%% ) is multiplied by this translation matrix, with the product replacing the current matrix, +%% as if {@link gl:multMatrixd/1} were called with the following matrix for its argument: +%% +%% (1 0 0 x 0 1 0 y 0 0 1 z 0 0 0 1) +%% +%% If the matrix mode is either `?GL_MODELVIEW' or `?GL_PROJECTION', all objects +%% drawn after a call to ``gl:translate'' are translated. +%% +%% Use {@link gl:pushMatrix/0} and {@link gl:pushMatrix/0} to save and restore the untranslated +%% coordinate system. +%% +%% See external documentation. +-spec translated(X, Y, Z) -> ok when X :: float(),Y :: float(),Z :: float(). +translated(X,Y,Z) -> + cast(5100, <>). + +%% @doc +%% See {@link translated/3} +-spec translatef(X, Y, Z) -> ok when X :: float(),Y :: float(),Z :: float(). +translatef(X,Y,Z) -> + cast(5101, <>). + +%% @doc Determine if a name corresponds to a display list +%% +%% ``gl:isList'' returns `?GL_TRUE' if `List' is the name of a display list and +%% returns `?GL_FALSE' if it is not, or if an error occurs. +%% +%% A name returned by {@link gl:genLists/1} , but not yet associated with a display list by +%% calling {@link gl:newList/2} , is not the name of a display list. +%% +%% See external documentation. +-spec isList(List) -> 0|1 when List :: integer(). +isList(List) -> + call(5102, <>). + +%% @doc Delete a contiguous group of display lists +%% +%% ``gl:deleteLists'' causes a contiguous group of display lists to be deleted. `List' +%% is the name of the first display list to be deleted, and `Range' is the number of +%% display lists to delete. All display lists d with list<= d<= list+range-1 are +%% deleted. +%% +%% All storage locations allocated to the specified display lists are freed, and the names +%% are available for reuse at a later time. Names within the range that do not have an associated +%% display list are ignored. If `Range' is 0, nothing happens. +%% +%% See external documentation. +-spec deleteLists(List, Range) -> ok when List :: integer(),Range :: integer(). +deleteLists(List,Range) -> + cast(5103, <>). + +%% @doc Generate a contiguous set of empty display lists +%% +%% ``gl:genLists'' has one argument, `Range' . It returns an integer `n' such +%% that `Range' contiguous empty display lists, named n, n+1, ..., n+range-1, +%% are created. If `Range' is 0, if there is no group of `Range' contiguous names +%% available, or if any error is generated, no display lists are generated, and 0 is returned. +%% +%% +%% See external documentation. +-spec genLists(Range) -> integer() when Range :: integer(). +genLists(Range) -> + call(5104, <>). + +%% @doc Create or replace a display list +%% +%% Display lists are groups of GL commands that have been stored for subsequent execution. +%% Display lists are created with ``gl:newList''. All subsequent commands are placed in +%% the display list, in the order issued, until {@link gl:endList/0} is called. +%% +%% ``gl:newList'' has two arguments. The first argument, `List' , is a positive integer +%% that becomes the unique name for the display list. Names can be created and reserved with +%% {@link gl:genLists/1} and tested for uniqueness with {@link gl:isList/1} . The second argument, +%% `Mode' , is a symbolic constant that can assume one of two values: +%% +%% `?GL_COMPILE': Commands are merely compiled. +%% +%% `?GL_COMPILE_AND_EXECUTE': Commands are executed as they are compiled into the display +%% list. +%% +%% Certain commands are not compiled into the display list but are executed immediately, +%% regardless of the display-list mode. These commands are {@link gl:areTexturesResident/1} , {@link gl:colorPointer/4} +%% , {@link gl:deleteLists/2} , {@link gl:deleteTextures/1} , {@link gl:enableClientState/1} , {@link gl:edgeFlagPointer/2} +%% , {@link gl:enableClientState/1} , {@link gl:feedbackBuffer/3} , {@link gl:finish/0} , {@link gl:flush/0} +%% , {@link gl:genLists/1} , {@link gl:genTextures/1} , {@link gl:indexPointer/3} , {@link gl:interleavedArrays/3} +%% , {@link gl:isEnabled/1} , {@link gl:isList/1} , {@link gl:isTexture/1} , {@link gl:normalPointer/3} +%% , {@link gl:pushClientAttrib/1} , {@link gl:pixelStoref/2} , {@link gl:pushClientAttrib/1} , {@link gl:readPixels/7} +%% , {@link gl:renderMode/1} , {@link gl:selectBuffer/2} , {@link gl:texCoordPointer/4} , {@link gl:vertexPointer/4} +%% , and all of the {@link gl:getBooleanv/1} commands. +%% +%% Similarly, {@link gl:texImage1D/8} , {@link gl:texImage2D/9} , and {@link gl:texImage3D/10} +%% are executed immediately and not compiled into the display list when their first argument +%% is `?GL_PROXY_TEXTURE_1D', `?GL_PROXY_TEXTURE_1D', or `?GL_PROXY_TEXTURE_3D' +%% , respectively. +%% +%% When the ARB_imaging extension is supported, {@link gl:histogram/4} executes immediately +%% when its argument is `?GL_PROXY_HISTOGRAM'. Similarly, {@link gl:colorTable/6} executes +%% immediately when its first argument is `?GL_PROXY_COLOR_TABLE', `?GL_PROXY_POST_CONVOLUTION_COLOR_TABLE' +%% , or `?GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE'. +%% +%% For OpenGL versions 1.3 and greater, or when the ARB_multitexture extension is supported, +%% {@link gl:clientActiveTexture/1} is not compiled into display lists, but executed immediately. +%% +%% +%% When {@link gl:endList/0} is encountered, the display-list definition is completed by +%% associating the list with the unique name `List' (specified in the ``gl:newList'' +%% command). If a display list with name `List' already exists, it is replaced only +%% when {@link gl:endList/0} is called. +%% +%% See external documentation. +-spec newList(List, Mode) -> ok when List :: integer(),Mode :: enum(). +newList(List,Mode) -> + cast(5105, <>). + +%% @doc glBeginList +%% +%% See external documentation. +-spec endList() -> ok. +endList() -> + cast(5106, <<>>). + +%% @doc Execute a display list +%% +%% ``gl:callList'' causes the named display list to be executed. The commands saved in +%% the display list are executed in order, just as if they were called without using a display +%% list. If `List' has not been defined as a display list, ``gl:callList'' is ignored. +%% +%% +%% ``gl:callList'' can appear inside a display list. To avoid the possibility of infinite +%% recursion resulting from display lists calling one another, a limit is placed on the nesting +%% level of display lists during display-list execution. This limit is at least 64, and it +%% depends on the implementation. +%% +%% GL state is not saved and restored across a call to ``gl:callList''. Thus, changes +%% made to GL state during the execution of a display list remain after execution of the +%% display list is completed. Use {@link gl:pushAttrib/1} , {@link gl:pushAttrib/1} , {@link gl:pushMatrix/0} +%% , and {@link gl:pushMatrix/0} to preserve GL state across ``gl:callList'' calls. +%% +%% See external documentation. +-spec callList(List) -> ok when List :: integer(). +callList(List) -> + cast(5107, <>). -%% @spec ({Flag}) -> ok -%% @equiv edgeFlag(Flag) --spec edgeFlagv({0|1}) -> ok. -edgeFlagv({Flag}) -> edgeFlag(Flag). +%% @doc Execute a list of display lists +%% +%% ``gl:callLists'' causes each display list in the list of names passed as `Lists' +%% to be executed. As a result, the commands saved in each display list are executed in order, +%% just as if they were called without using a display list. Names of display lists that +%% have not been defined are ignored. +%% +%% ``gl:callLists'' provides an efficient means for executing more than one display list. `Type' +%% allows lists with various name formats to be accepted. The formats are as follows: +%% +%% `?GL_BYTE': `Lists' is treated as an array of signed bytes, each in the range +%% -128 through 127. +%% +%% `?GL_UNSIGNED_BYTE': `Lists' is treated as an array of unsigned bytes, each +%% in the range 0 through 255. +%% +%% `?GL_SHORT': `Lists' is treated as an array of signed two-byte integers, each +%% in the range -32768 through 32767. +%% +%% `?GL_UNSIGNED_SHORT': `Lists' is treated as an array of unsigned two-byte integers, +%% each in the range 0 through 65535. +%% +%% `?GL_INT': `Lists' is treated as an array of signed four-byte integers. +%% +%% `?GL_UNSIGNED_INT': `Lists' is treated as an array of unsigned four-byte integers. +%% +%% +%% `?GL_FLOAT': `Lists' is treated as an array of four-byte floating-point values. +%% +%% +%% `?GL_2_BYTES': `Lists' is treated as an array of unsigned bytes. Each pair of +%% bytes specifies a single display-list name. The value of the pair is computed as 256 times +%% the unsigned value of the first byte plus the unsigned value of the second byte. +%% +%% `?GL_3_BYTES': `Lists' is treated as an array of unsigned bytes. Each triplet +%% of bytes specifies a single display-list name. The value of the triplet is computed as +%% 65536 times the unsigned value of the first byte, plus 256 times the unsigned value of +%% the second byte, plus the unsigned value of the third byte. +%% +%% `?GL_4_BYTES': `Lists' is treated as an array of unsigned bytes. Each quadruplet +%% of bytes specifies a single display-list name. The value of the quadruplet is computed +%% as 16777216 times the unsigned value of the first byte, plus 65536 times the unsigned +%% value of the second byte, plus 256 times the unsigned value of the third byte, plus the +%% unsigned value of the fourth byte. +%% +%% The list of display-list names is not null-terminated. Rather, `N' specifies how +%% many names are to be taken from `Lists' . +%% +%% An additional level of indirection is made available with the {@link gl:listBase/1} command, +%% which specifies an unsigned offset that is added to each display-list name specified in `Lists' +%% before that display list is executed. +%% +%% ``gl:callLists'' can appear inside a display list. To avoid the possibility of infinite +%% recursion resulting from display lists calling one another, a limit is placed on the nesting +%% level of display lists during display-list execution. This limit must be at least 64, +%% and it depends on the implementation. +%% +%% GL state is not saved and restored across a call to ``gl:callLists''. Thus, changes +%% made to GL state during the execution of the display lists remain after execution is completed. +%% Use {@link gl:pushAttrib/1} , {@link gl:pushAttrib/1} , {@link gl:pushMatrix/0} , and {@link gl:pushMatrix/0} +%% to preserve GL state across ``gl:callLists'' calls. +%% +%% See external documentation. +-spec callLists(Lists) -> ok when Lists :: [integer()]. +callLists(Lists) -> + cast(5108, <<(length(Lists)):?GLuint, + (<< <> || C <- Lists>>)/binary,0:(((1+length(Lists)) rem 2)*32)>>). -%% @spec (Cap::enum()) -> ok -%% @doc See external documentation. --spec enable(enum()) -> ok. -enable(Cap) -> - cast(5097, <>). +%% @doc set the display-list base for +%% +%% {@link gl:callLists/1} +%% +%% {@link gl:callLists/1} specifies an array of offsets. Display-list names are generated +%% by adding `Base' to each offset. Names that reference valid display lists are executed; +%% the others are ignored. +%% +%% See external documentation. +-spec listBase(Base) -> ok when Base :: integer(). +listBase(Base) -> + cast(5109, <>). -%% @spec (Array::enum()) -> ok -%% @doc See external documentation. --spec enableClientState(enum()) -> ok. -enableClientState(Array) -> - cast(5098, <>). +%% @doc Delimit the vertices of a primitive or a group of like primitives +%% +%% ``gl:'begin''' and {@link gl:'begin'/1} delimit the vertices that define a primitive or a group +%% of like primitives. ``gl:'begin''' accepts a single argument that specifies in which of +%% ten ways the vertices are interpreted. Taking n as an integer count starting at one, +%% and N as the total number of vertices specified, the interpretations are as follows: +%% +%% `?GL_POINTS': Treats each vertex as a single point. Vertex n defines point n. +%% N points are drawn. +%% +%% `?GL_LINES': Treats each pair of vertices as an independent line segment. Vertices +%% 2 n-1 and 2 n define line n. N/2 lines are drawn. +%% +%% `?GL_LINE_STRIP': Draws a connected group of line segments from the first vertex +%% to the last. Vertices n and n+1 define line n. N-1 lines are drawn. +%% +%% `?GL_LINE_LOOP': Draws a connected group of line segments from the first vertex +%% to the last, then back to the first. Vertices n and n+1 define line n. The last +%% line, however, is defined by vertices N and 1. N lines are drawn. +%% +%% `?GL_TRIANGLES': Treats each triplet of vertices as an independent triangle. Vertices +%% 3 n-2, 3 n-1, and 3 n define triangle n. N/3 triangles are drawn. +%% +%% `?GL_TRIANGLE_STRIP': Draws a connected group of triangles. One triangle is defined +%% for each vertex presented after the first two vertices. For odd n, vertices n, n+1, +%% and n+2 define triangle n. For even n, vertices n+1, n, and n+2 define triangle +%% n. N-2 triangles are drawn. +%% +%% `?GL_TRIANGLE_FAN': Draws a connected group of triangles. One triangle is defined +%% for each vertex presented after the first two vertices. Vertices 1, n+1, and n+2 +%% define triangle n. N-2 triangles are drawn. +%% +%% `?GL_QUADS': Treats each group of four vertices as an independent quadrilateral. +%% Vertices 4 n-3, 4 n-2, 4 n-1, and 4 n define quadrilateral n. N/4 quadrilaterals +%% are drawn. +%% +%% `?GL_QUAD_STRIP': Draws a connected group of quadrilaterals. One quadrilateral is +%% defined for each pair of vertices presented after the first pair. Vertices 2 n-1, 2 +%% n, 2 n+2, and 2 n+1 define quadrilateral n. N/2-1 quadrilaterals are drawn. Note +%% that the order in which vertices are used to construct a quadrilateral from strip data +%% is different from that used with independent data. +%% +%% `?GL_POLYGON': Draws a single, convex polygon. Vertices 1 through N define this +%% polygon. +%% +%% Only a subset of GL commands can be used between ``gl:'begin''' and {@link gl:'begin'/1} . +%% The commands are {@link gl:vertex2d/2} , {@link gl:color3b/3} , {@link gl:secondaryColor3b/3} , {@link gl:indexd/1} +%% , {@link gl:normal3b/3} , {@link gl:fogCoordf/1} , {@link gl:texCoord1d/1} , {@link gl:multiTexCoord1d/2} +%% , {@link gl:vertexAttrib1d/2} , {@link gl:evalCoord1d/1} , {@link gl:evalPoint1/1} , {@link gl:arrayElement/1} +%% , {@link gl:materialf/3} , and {@link gl:edgeFlag/1} . Also, it is acceptable to use {@link gl:callList/1} +%% or {@link gl:callLists/1} to execute display lists that include only the preceding commands. +%% If any other GL command is executed between ``gl:'begin''' and {@link gl:'begin'/1} , the error +%% flag is set and the command is ignored. +%% +%% Regardless of the value chosen for `Mode' , there is no limit to the number of vertices +%% that can be defined between ``gl:'begin''' and {@link gl:'begin'/1} . Lines, triangles, quadrilaterals, +%% and polygons that are incompletely specified are not drawn. Incomplete specification results +%% when either too few vertices are provided to specify even a single primitive or when an +%% incorrect multiple of vertices is specified. The incomplete primitive is ignored; the +%% rest are drawn. +%% +%% The minimum specification of vertices for each primitive is as follows: 1 for a point, +%% 2 for a line, 3 for a triangle, 4 for a quadrilateral, and 3 for a polygon. Modes that +%% require a certain multiple of vertices are `?GL_LINES' (2), `?GL_TRIANGLES' +%% (3), `?GL_QUADS' (4), and `?GL_QUAD_STRIP' (2). +%% +%% See external documentation. +-spec 'begin'(Mode) -> ok when Mode :: enum(). +'begin'(Mode) -> + cast(5110, <>). -%% @spec () -> ok -%% @doc See external documentation. +%% @doc +%% See {@link 'begin'/1} -spec 'end'() -> ok. 'end'() -> - cast(5099, <<>>). + cast(5111, <<>>). -%% @spec () -> ok -%% @doc See external documentation. --spec endList() -> ok. -endList() -> - cast(5100, <<>>). +%% @doc Specify a vertex +%% +%% ``gl:vertex'' commands are used within {@link gl:'begin'/1} / {@link gl:'begin'/1} pairs to specify +%% point, line, and polygon vertices. The current color, normal, texture coordinates, and +%% fog coordinate are associated with the vertex when ``gl:vertex'' is called. +%% +%% When only x and y are specified, z defaults to 0 and w defaults to 1. When x, +%% y, and z are specified, w defaults to 1. +%% +%% See external documentation. +-spec vertex2d(X, Y) -> ok when X :: float(),Y :: float(). +vertex2d(X,Y) -> + cast(5112, <>). -%% @spec (U::float()) -> ok -%% @doc See external documentation. --spec evalCoord1d(float()) -> ok. -evalCoord1d(U) -> - cast(5101, <>). +%% @doc +%% See {@link vertex2d/2} +-spec vertex2f(X, Y) -> ok when X :: float(),Y :: float(). +vertex2f(X,Y) -> + cast(5113, <>). -%% @spec ({U}) -> ok -%% @equiv evalCoord1d(U) --spec evalCoord1dv({float()}) -> ok. -evalCoord1dv({U}) -> evalCoord1d(U). +%% @doc +%% See {@link vertex2d/2} +-spec vertex2i(X, Y) -> ok when X :: integer(),Y :: integer(). +vertex2i(X,Y) -> + cast(5114, <>). -%% @spec (U::float()) -> ok -%% @doc See external documentation. --spec evalCoord1f(float()) -> ok. -evalCoord1f(U) -> - cast(5102, <>). +%% @doc +%% See {@link vertex2d/2} +-spec vertex2s(X, Y) -> ok when X :: integer(),Y :: integer(). +vertex2s(X,Y) -> + cast(5115, <>). -%% @spec ({U}) -> ok -%% @equiv evalCoord1f(U) --spec evalCoord1fv({float()}) -> ok. -evalCoord1fv({U}) -> evalCoord1f(U). +%% @doc +%% See {@link vertex2d/2} +-spec vertex3d(X, Y, Z) -> ok when X :: float(),Y :: float(),Z :: float(). +vertex3d(X,Y,Z) -> + cast(5116, <>). -%% @spec (U::float(),V::float()) -> ok -%% @doc See external documentation. --spec evalCoord2d(float(),float()) -> ok. -evalCoord2d(U,V) -> - cast(5103, <>). +%% @doc +%% See {@link vertex2d/2} +-spec vertex3f(X, Y, Z) -> ok when X :: float(),Y :: float(),Z :: float(). +vertex3f(X,Y,Z) -> + cast(5117, <>). -%% @spec ({U,V}) -> ok -%% @equiv evalCoord2d(U,V) --spec evalCoord2dv({float(),float()}) -> ok. -evalCoord2dv({U,V}) -> evalCoord2d(U,V). +%% @doc +%% See {@link vertex2d/2} +-spec vertex3i(X, Y, Z) -> ok when X :: integer(),Y :: integer(),Z :: integer(). +vertex3i(X,Y,Z) -> + cast(5118, <>). -%% @spec (U::float(),V::float()) -> ok -%% @doc See external documentation. --spec evalCoord2f(float(),float()) -> ok. -evalCoord2f(U,V) -> - cast(5104, <>). +%% @doc +%% See {@link vertex2d/2} +-spec vertex3s(X, Y, Z) -> ok when X :: integer(),Y :: integer(),Z :: integer(). +vertex3s(X,Y,Z) -> + cast(5119, <>). -%% @spec ({U,V}) -> ok -%% @equiv evalCoord2f(U,V) --spec evalCoord2fv({float(),float()}) -> ok. -evalCoord2fv({U,V}) -> evalCoord2f(U,V). +%% @doc +%% See {@link vertex2d/2} +-spec vertex4d(X, Y, Z, W) -> ok when X :: float(),Y :: float(),Z :: float(),W :: float(). +vertex4d(X,Y,Z,W) -> + cast(5120, <>). -%% @spec (Mode::enum(),I1::integer(),I2::integer()) -> ok -%% @doc See external documentation. --spec evalMesh1(enum(),integer(),integer()) -> ok. -evalMesh1(Mode,I1,I2) -> - cast(5105, <>). +%% @doc +%% See {@link vertex2d/2} +-spec vertex4f(X, Y, Z, W) -> ok when X :: float(),Y :: float(),Z :: float(),W :: float(). +vertex4f(X,Y,Z,W) -> + cast(5121, <>). -%% @spec (Mode::enum(),I1::integer(),I2::integer(),J1::integer(),J2::integer()) -> ok -%% @doc See external documentation. --spec evalMesh2(enum(),integer(),integer(),integer(),integer()) -> ok. -evalMesh2(Mode,I1,I2,J1,J2) -> - cast(5106, <>). +%% @doc +%% See {@link vertex2d/2} +-spec vertex4i(X, Y, Z, W) -> ok when X :: integer(),Y :: integer(),Z :: integer(),W :: integer(). +vertex4i(X,Y,Z,W) -> + cast(5122, <>). -%% @spec (I::integer()) -> ok -%% @doc See external documentation. --spec evalPoint1(integer()) -> ok. -evalPoint1(I) -> - cast(5107, <>). +%% @doc +%% See {@link vertex2d/2} +-spec vertex4s(X, Y, Z, W) -> ok when X :: integer(),Y :: integer(),Z :: integer(),W :: integer(). +vertex4s(X,Y,Z,W) -> + cast(5123, <>). -%% @spec (I::integer(),J::integer()) -> ok -%% @doc See external documentation. --spec evalPoint2(integer(),integer()) -> ok. -evalPoint2(I,J) -> - cast(5108, <>). +%% @equiv vertex2d(X,Y) +-spec vertex2dv(V) -> ok when V :: {X :: float(),Y :: float()}. +vertex2dv({X,Y}) -> vertex2d(X,Y). -%% @spec (Size::integer(),Type::enum(),Buffer::mem()) -> ok -%% @doc See external documentation. --spec feedbackBuffer(integer(),enum(),mem()) -> ok. -feedbackBuffer(Size,Type,Buffer) -> - send_bin(Buffer), - call(5109, <>). +%% @equiv vertex2f(X,Y) +-spec vertex2fv(V) -> ok when V :: {X :: float(),Y :: float()}. +vertex2fv({X,Y}) -> vertex2f(X,Y). -%% @spec () -> ok -%% @doc See external documentation. --spec finish() -> ok. -finish() -> - cast(5110, <<>>). +%% @equiv vertex2i(X,Y) +-spec vertex2iv(V) -> ok when V :: {X :: integer(),Y :: integer()}. +vertex2iv({X,Y}) -> vertex2i(X,Y). -%% @spec () -> ok -%% @doc See external documentation. --spec flush() -> ok. -flush() -> - cast(5111, <<>>). +%% @equiv vertex2s(X,Y) +-spec vertex2sv(V) -> ok when V :: {X :: integer(),Y :: integer()}. +vertex2sv({X,Y}) -> vertex2s(X,Y). -%% @spec (Pname::enum(),Param::float()) -> ok -%% @doc See external documentation. --spec fogf(enum(),float()) -> ok. -fogf(Pname,Param) -> - cast(5112, <>). +%% @equiv vertex3d(X,Y,Z) +-spec vertex3dv(V) -> ok when V :: {X :: float(),Y :: float(),Z :: float()}. +vertex3dv({X,Y,Z}) -> vertex3d(X,Y,Z). -%% @spec (Pname::enum(),Params::{float()}) -> ok -%% @doc See external documentation. --spec fogfv(enum(),{float()}) -> ok. -fogfv(Pname,Params) -> - cast(5113, <> ||C <- tuple_to_list(Params)>>)/binary,0:(((0+size(Params)) rem 2)*32)>>). +%% @equiv vertex3f(X,Y,Z) +-spec vertex3fv(V) -> ok when V :: {X :: float(),Y :: float(),Z :: float()}. +vertex3fv({X,Y,Z}) -> vertex3f(X,Y,Z). -%% @spec (Pname::enum(),Param::integer()) -> ok -%% @doc See external documentation. --spec fogi(enum(),integer()) -> ok. -fogi(Pname,Param) -> - cast(5114, <>). +%% @equiv vertex3i(X,Y,Z) +-spec vertex3iv(V) -> ok when V :: {X :: integer(),Y :: integer(),Z :: integer()}. +vertex3iv({X,Y,Z}) -> vertex3i(X,Y,Z). -%% @spec (Pname::enum(),Params::{integer()}) -> ok -%% @doc See external documentation. --spec fogiv(enum(),{integer()}) -> ok. -fogiv(Pname,Params) -> - cast(5115, <> ||C <- tuple_to_list(Params)>>)/binary,0:(((0+size(Params)) rem 2)*32)>>). +%% @equiv vertex3s(X,Y,Z) +-spec vertex3sv(V) -> ok when V :: {X :: integer(),Y :: integer(),Z :: integer()}. +vertex3sv({X,Y,Z}) -> vertex3s(X,Y,Z). -%% @spec (Mode::enum()) -> ok -%% @doc See external documentation. --spec frontFace(enum()) -> ok. -frontFace(Mode) -> - cast(5116, <>). +%% @equiv vertex4d(X,Y,Z,W) +-spec vertex4dv(V) -> ok when V :: {X :: float(),Y :: float(),Z :: float(),W :: float()}. +vertex4dv({X,Y,Z,W}) -> vertex4d(X,Y,Z,W). -%% @spec (Left::float(),Right::float(),Bottom::float(),Top::float(),ZNear::float(),ZFar::float()) -> ok -%% @doc See external documentation. --spec frustum(float(),float(),float(),float(),float(),float()) -> ok. -frustum(Left,Right,Bottom,Top,ZNear,ZFar) -> - cast(5117, <>). +%% @equiv vertex4f(X,Y,Z,W) +-spec vertex4fv(V) -> ok when V :: {X :: float(),Y :: float(),Z :: float(),W :: float()}. +vertex4fv({X,Y,Z,W}) -> vertex4f(X,Y,Z,W). -%% @spec (Range::integer()) -> integer() -%% @doc See external documentation. --spec genLists(integer()) -> integer(). -genLists(Range) -> - call(5118, <>). +%% @equiv vertex4i(X,Y,Z,W) +-spec vertex4iv(V) -> ok when V :: {X :: integer(),Y :: integer(),Z :: integer(),W :: integer()}. +vertex4iv({X,Y,Z,W}) -> vertex4i(X,Y,Z,W). -%% @spec (N::integer()) -> [integer()] -%% @doc See external documentation. --spec genTextures(integer()) -> [integer()]. -genTextures(N) -> - call(5119, <>). +%% @equiv vertex4s(X,Y,Z,W) +-spec vertex4sv(V) -> ok when V :: {X :: integer(),Y :: integer(),Z :: integer(),W :: integer()}. +vertex4sv({X,Y,Z,W}) -> vertex4s(X,Y,Z,W). -%% @spec (Pname::enum()) -> [0|1] -%% @doc See external documentation. --spec getBooleanv(enum()) -> [0|1]. -getBooleanv(Pname) -> - call(5120, <>). +%% @doc Set the current normal vector +%% +%% The current normal is set to the given coordinates whenever ``gl:normal'' is issued. +%% Byte, short, or integer arguments are converted to floating-point format with a linear +%% mapping that maps the most positive representable integer value to 1.0 and the most negative +%% representable integer value to -1.0. +%% +%% Normals specified with ``gl:normal'' need not have unit length. If `?GL_NORMALIZE' +%% is enabled, then normals of any length specified with ``gl:normal'' are normalized after +%% transformation. If `?GL_RESCALE_NORMAL' is enabled, normals are scaled by a scaling +%% factor derived from the modelview matrix. `?GL_RESCALE_NORMAL' requires that the +%% originally specified normals were of unit length, and that the modelview matrix contain +%% only uniform scales for proper results. To enable and disable normalization, call {@link gl:enable/1} +%% and {@link gl:enable/1} with either `?GL_NORMALIZE' or `?GL_RESCALE_NORMAL'. +%% Normalization is initially disabled. +%% +%% See external documentation. +-spec normal3b(Nx, Ny, Nz) -> ok when Nx :: integer(),Ny :: integer(),Nz :: integer(). +normal3b(Nx,Ny,Nz) -> + cast(5124, <>). -%% @spec (Plane::enum()) -> {float(),float(),float(),float()} -%% @doc See external documentation. --spec getClipPlane(enum()) -> {float(),float(),float(),float()}. -getClipPlane(Plane) -> - call(5121, <>). +%% @doc +%% See {@link normal3b/3} +-spec normal3d(Nx, Ny, Nz) -> ok when Nx :: float(),Ny :: float(),Nz :: float(). +normal3d(Nx,Ny,Nz) -> + cast(5125, <>). -%% @spec (Pname::enum()) -> [float()] -%% @doc See external documentation. --spec getDoublev(enum()) -> [float()]. -getDoublev(Pname) -> - call(5122, <>). +%% @doc +%% See {@link normal3b/3} +-spec normal3f(Nx, Ny, Nz) -> ok when Nx :: float(),Ny :: float(),Nz :: float(). +normal3f(Nx,Ny,Nz) -> + cast(5126, <>). -%% @spec () -> enum() -%% @doc See external documentation. --spec getError() -> enum(). -getError() -> - call(5123, <<>>). +%% @doc +%% See {@link normal3b/3} +-spec normal3i(Nx, Ny, Nz) -> ok when Nx :: integer(),Ny :: integer(),Nz :: integer(). +normal3i(Nx,Ny,Nz) -> + cast(5127, <>). -%% @spec (Pname::enum()) -> [float()] -%% @doc See external documentation. --spec getFloatv(enum()) -> [float()]. -getFloatv(Pname) -> - call(5124, <>). +%% @doc +%% See {@link normal3b/3} +-spec normal3s(Nx, Ny, Nz) -> ok when Nx :: integer(),Ny :: integer(),Nz :: integer(). +normal3s(Nx,Ny,Nz) -> + cast(5128, <>). -%% @spec (Pname::enum()) -> [integer()] -%% @doc See external documentation. --spec getIntegerv(enum()) -> [integer()]. -getIntegerv(Pname) -> - call(5125, <>). +%% @equiv normal3b(Nx,Ny,Nz) +-spec normal3bv(V) -> ok when V :: {Nx :: integer(),Ny :: integer(),Nz :: integer()}. +normal3bv({Nx,Ny,Nz}) -> normal3b(Nx,Ny,Nz). -%% @spec (Light::enum(),Pname::enum()) -> {float(),float(),float(),float()} -%% @doc See external documentation. --spec getLightfv(enum(),enum()) -> {float(),float(),float(),float()}. -getLightfv(Light,Pname) -> - call(5126, <>). +%% @equiv normal3d(Nx,Ny,Nz) +-spec normal3dv(V) -> ok when V :: {Nx :: float(),Ny :: float(),Nz :: float()}. +normal3dv({Nx,Ny,Nz}) -> normal3d(Nx,Ny,Nz). -%% @spec (Light::enum(),Pname::enum()) -> {integer(),integer(),integer(),integer()} -%% @doc See external documentation. --spec getLightiv(enum(),enum()) -> {integer(),integer(),integer(),integer()}. -getLightiv(Light,Pname) -> - call(5127, <>). +%% @equiv normal3f(Nx,Ny,Nz) +-spec normal3fv(V) -> ok when V :: {Nx :: float(),Ny :: float(),Nz :: float()}. +normal3fv({Nx,Ny,Nz}) -> normal3f(Nx,Ny,Nz). -%% @spec (Target::enum(),Query::enum(),V::mem()) -> ok -%% @doc See external documentation. --spec getMapdv(enum(),enum(),mem()) -> ok. -getMapdv(Target,Query,V) -> - send_bin(V), - call(5128, <>). +%% @equiv normal3i(Nx,Ny,Nz) +-spec normal3iv(V) -> ok when V :: {Nx :: integer(),Ny :: integer(),Nz :: integer()}. +normal3iv({Nx,Ny,Nz}) -> normal3i(Nx,Ny,Nz). -%% @spec (Target::enum(),Query::enum(),V::mem()) -> ok -%% @doc See external documentation. --spec getMapfv(enum(),enum(),mem()) -> ok. -getMapfv(Target,Query,V) -> - send_bin(V), - call(5129, <>). +%% @equiv normal3s(Nx,Ny,Nz) +-spec normal3sv(V) -> ok when V :: {Nx :: integer(),Ny :: integer(),Nz :: integer()}. +normal3sv({Nx,Ny,Nz}) -> normal3s(Nx,Ny,Nz). -%% @spec (Target::enum(),Query::enum(),V::mem()) -> ok -%% @doc See external documentation. --spec getMapiv(enum(),enum(),mem()) -> ok. -getMapiv(Target,Query,V) -> - send_bin(V), - call(5130, <>). +%% @doc Set the current color index +%% +%% ``gl:index'' updates the current (single-valued) color index. It takes one argument, +%% the new value for the current color index. +%% +%% The current index is stored as a floating-point value. Integer values are converted directly +%% to floating-point values, with no special mapping. The initial value is 1. +%% +%% Index values outside the representable range of the color index buffer are not clamped. +%% However, before an index is dithered (if enabled) and written to the frame buffer, it +%% is converted to fixed-point format. Any bits in the integer portion of the resulting fixed-point +%% value that do not correspond to bits in the frame buffer are masked out. +%% +%% See external documentation. +-spec indexd(C) -> ok when C :: float(). +indexd(C) -> + cast(5129, <>). -%% @spec (Face::enum(),Pname::enum()) -> {float(),float(),float(),float()} -%% @doc See external documentation. --spec getMaterialfv(enum(),enum()) -> {float(),float(),float(),float()}. -getMaterialfv(Face,Pname) -> - call(5131, <>). +%% @doc +%% See {@link indexd/1} +-spec indexf(C) -> ok when C :: float(). +indexf(C) -> + cast(5130, <>). -%% @spec (Face::enum(),Pname::enum()) -> {integer(),integer(),integer(),integer()} -%% @doc See external documentation. --spec getMaterialiv(enum(),enum()) -> {integer(),integer(),integer(),integer()}. -getMaterialiv(Face,Pname) -> - call(5132, <>). +%% @doc +%% See {@link indexd/1} +-spec indexi(C) -> ok when C :: integer(). +indexi(C) -> + cast(5131, <>). -%% @spec (Map::enum(),Values::mem()) -> ok -%% @doc See external documentation. --spec getPixelMapfv(enum(),mem()) -> ok. -getPixelMapfv(Map,Values) -> - send_bin(Values), - call(5133, <>). +%% @doc +%% See {@link indexd/1} +-spec indexs(C) -> ok when C :: integer(). +indexs(C) -> + cast(5132, <>). -%% @spec (Map::enum(),Values::mem()) -> ok -%% @doc See external documentation. --spec getPixelMapuiv(enum(),mem()) -> ok. -getPixelMapuiv(Map,Values) -> - send_bin(Values), - call(5134, <>). +%% @doc +%% See {@link indexd/1} +-spec indexub(C) -> ok when C :: integer(). +indexub(C) -> + cast(5133, <>). -%% @spec (Map::enum(),Values::mem()) -> ok -%% @doc See external documentation. --spec getPixelMapusv(enum(),mem()) -> ok. -getPixelMapusv(Map,Values) -> - send_bin(Values), - call(5135, <>). +%% @equiv indexd(C) +-spec indexdv(C) -> ok when C :: {C :: float()}. +indexdv({C}) -> indexd(C). -%% @spec () -> binary() -%% @doc See external documentation. --spec getPolygonStipple() -> binary(). -getPolygonStipple() -> - call(5136, <<>>). +%% @equiv indexf(C) +-spec indexfv(C) -> ok when C :: {C :: float()}. +indexfv({C}) -> indexf(C). -%% @spec (Name::enum()) -> string() -%% @doc See external documentation. --spec getString(enum()) -> string(). -getString(Name) -> - call(5137, <>). +%% @equiv indexi(C) +-spec indexiv(C) -> ok when C :: {C :: integer()}. +indexiv({C}) -> indexi(C). -%% @spec (Target::enum(),Pname::enum()) -> {float(),float(),float(),float()} -%% @doc See external documentation. --spec getTexEnvfv(enum(),enum()) -> {float(),float(),float(),float()}. -getTexEnvfv(Target,Pname) -> - call(5138, <>). +%% @equiv indexs(C) +-spec indexsv(C) -> ok when C :: {C :: integer()}. +indexsv({C}) -> indexs(C). -%% @spec (Target::enum(),Pname::enum()) -> {integer(),integer(),integer(),integer()} -%% @doc See external documentation. --spec getTexEnviv(enum(),enum()) -> {integer(),integer(),integer(),integer()}. -getTexEnviv(Target,Pname) -> - call(5139, <>). +%% @equiv indexub(C) +-spec indexubv(C) -> ok when C :: {C :: integer()}. +indexubv({C}) -> indexub(C). -%% @spec (Coord::enum(),Pname::enum()) -> {float(),float(),float(),float()} -%% @doc See external documentation. --spec getTexGendv(enum(),enum()) -> {float(),float(),float(),float()}. -getTexGendv(Coord,Pname) -> - call(5140, <>). +%% @doc Set the current color +%% +%% The GL stores both a current single-valued color index and a current four-valued RGBA +%% color. ``gl:color'' sets a new four-valued RGBA color. ``gl:color'' has two major +%% variants: ``gl:color3'' and ``gl:color4''. ``gl:color3'' variants specify new red, +%% green, and blue values explicitly and set the current alpha value to 1.0 (full intensity) +%% implicitly. ``gl:color4'' variants specify all four color components explicitly. +%% +%% ``gl:color3b'', ``gl:color4b'', ``gl:color3s'', ``gl:color4s'', ``gl:color3i'', +%% and ``gl:color4i'' take three or four signed byte, short, or long integers as arguments. +%% When `v' is appended to the name, the color commands can take a pointer to an array +%% of such values. +%% +%% Current color values are stored in floating-point format, with unspecified mantissa and +%% exponent sizes. Unsigned integer color components, when specified, are linearly mapped +%% to floating-point values such that the largest representable value maps to 1.0 (full intensity), +%% and 0 maps to 0.0 (zero intensity). Signed integer color components, when specified, are +%% linearly mapped to floating-point values such that the most positive representable value +%% maps to 1.0, and the most negative representable value maps to -1.0. (Note that this +%% mapping does not convert 0 precisely to 0.0.) Floating-point values are mapped directly. +%% +%% Neither floating-point nor signed integer values are clamped to the range [0 1] before the +%% current color is updated. However, color components are clamped to this range before they +%% are interpolated or written into a color buffer. +%% +%% See external documentation. +-spec color3b(Red, Green, Blue) -> ok when Red :: integer(),Green :: integer(),Blue :: integer(). +color3b(Red,Green,Blue) -> + cast(5134, <>). -%% @spec (Coord::enum(),Pname::enum()) -> {float(),float(),float(),float()} -%% @doc See external documentation. --spec getTexGenfv(enum(),enum()) -> {float(),float(),float(),float()}. -getTexGenfv(Coord,Pname) -> - call(5141, <>). +%% @doc +%% See {@link color3b/3} +-spec color3d(Red, Green, Blue) -> ok when Red :: float(),Green :: float(),Blue :: float(). +color3d(Red,Green,Blue) -> + cast(5135, <>). -%% @spec (Coord::enum(),Pname::enum()) -> {integer(),integer(),integer(),integer()} -%% @doc See external documentation. --spec getTexGeniv(enum(),enum()) -> {integer(),integer(),integer(),integer()}. -getTexGeniv(Coord,Pname) -> - call(5142, <>). +%% @doc +%% See {@link color3b/3} +-spec color3f(Red, Green, Blue) -> ok when Red :: float(),Green :: float(),Blue :: float(). +color3f(Red,Green,Blue) -> + cast(5136, <>). -%% @spec (Target::enum(),Level::integer(),Format::enum(),Type::enum(),Pixels::mem()) -> ok -%% @doc See external documentation. --spec getTexImage(enum(),integer(),enum(),enum(),mem()) -> ok. -getTexImage(Target,Level,Format,Type,Pixels) -> - send_bin(Pixels), - call(5143, <>). +%% @doc +%% See {@link color3b/3} +-spec color3i(Red, Green, Blue) -> ok when Red :: integer(),Green :: integer(),Blue :: integer(). +color3i(Red,Green,Blue) -> + cast(5137, <>). -%% @spec (Target::enum(),Level::integer(),Pname::enum()) -> {float()} -%% @doc See external documentation. --spec getTexLevelParameterfv(enum(),integer(),enum()) -> {float()}. -getTexLevelParameterfv(Target,Level,Pname) -> - call(5144, <>). +%% @doc +%% See {@link color3b/3} +-spec color3s(Red, Green, Blue) -> ok when Red :: integer(),Green :: integer(),Blue :: integer(). +color3s(Red,Green,Blue) -> + cast(5138, <>). -%% @spec (Target::enum(),Level::integer(),Pname::enum()) -> {integer()} -%% @doc See external documentation. --spec getTexLevelParameteriv(enum(),integer(),enum()) -> {integer()}. -getTexLevelParameteriv(Target,Level,Pname) -> - call(5145, <>). +%% @doc +%% See {@link color3b/3} +-spec color3ub(Red, Green, Blue) -> ok when Red :: integer(),Green :: integer(),Blue :: integer(). +color3ub(Red,Green,Blue) -> + cast(5139, <>). -%% @spec (Target::enum(),Pname::enum()) -> {float(),float(),float(),float()} -%% @doc See external documentation. --spec getTexParameterfv(enum(),enum()) -> {float(),float(),float(),float()}. -getTexParameterfv(Target,Pname) -> - call(5146, <>). +%% @doc +%% See {@link color3b/3} +-spec color3ui(Red, Green, Blue) -> ok when Red :: integer(),Green :: integer(),Blue :: integer(). +color3ui(Red,Green,Blue) -> + cast(5140, <>). -%% @spec (Target::enum(),Pname::enum()) -> {integer(),integer(),integer(),integer()} -%% @doc See external documentation. --spec getTexParameteriv(enum(),enum()) -> {integer(),integer(),integer(),integer()}. -getTexParameteriv(Target,Pname) -> - call(5147, <>). +%% @doc +%% See {@link color3b/3} +-spec color3us(Red, Green, Blue) -> ok when Red :: integer(),Green :: integer(),Blue :: integer(). +color3us(Red,Green,Blue) -> + cast(5141, <>). -%% @spec (Target::enum(),Mode::enum()) -> ok -%% @doc See external documentation. --spec hint(enum(),enum()) -> ok. -hint(Target,Mode) -> - cast(5148, <>). +%% @doc +%% See {@link color3b/3} +-spec color4b(Red, Green, Blue, Alpha) -> ok when Red :: integer(),Green :: integer(),Blue :: integer(),Alpha :: integer(). +color4b(Red,Green,Blue,Alpha) -> + cast(5142, <>). -%% @spec (Mask::integer()) -> ok -%% @doc See external documentation. --spec indexMask(integer()) -> ok. -indexMask(Mask) -> - cast(5149, <>). - -%% @spec (Type::enum(),Stride::integer(),Pointer::offset()|mem()) -> ok -%% @doc See external documentation. --spec indexPointer(enum(),integer(),offset()|mem()) -> ok. -indexPointer(Type,Stride,Pointer) when is_integer(Pointer) -> - cast(5150, <>); -indexPointer(Type,Stride,Pointer) -> - send_bin(Pointer), - cast(5151, <>). +%% @doc +%% See {@link color3b/3} +-spec color4d(Red, Green, Blue, Alpha) -> ok when Red :: float(),Green :: float(),Blue :: float(),Alpha :: float(). +color4d(Red,Green,Blue,Alpha) -> + cast(5143, <>). -%% @spec (C::float()) -> ok -%% @doc See external documentation. --spec indexd(float()) -> ok. -indexd(C) -> - cast(5152, <>). +%% @doc +%% See {@link color3b/3} +-spec color4f(Red, Green, Blue, Alpha) -> ok when Red :: float(),Green :: float(),Blue :: float(),Alpha :: float(). +color4f(Red,Green,Blue,Alpha) -> + cast(5144, <>). -%% @spec ({C}) -> ok -%% @equiv indexd(C) --spec indexdv({float()}) -> ok. -indexdv({C}) -> indexd(C). +%% @doc +%% See {@link color3b/3} +-spec color4i(Red, Green, Blue, Alpha) -> ok when Red :: integer(),Green :: integer(),Blue :: integer(),Alpha :: integer(). +color4i(Red,Green,Blue,Alpha) -> + cast(5145, <>). -%% @spec (C::float()) -> ok -%% @doc See external documentation. --spec indexf(float()) -> ok. -indexf(C) -> - cast(5153, <>). +%% @doc +%% See {@link color3b/3} +-spec color4s(Red, Green, Blue, Alpha) -> ok when Red :: integer(),Green :: integer(),Blue :: integer(),Alpha :: integer(). +color4s(Red,Green,Blue,Alpha) -> + cast(5146, <>). -%% @spec ({C}) -> ok -%% @equiv indexf(C) --spec indexfv({float()}) -> ok. -indexfv({C}) -> indexf(C). +%% @doc +%% See {@link color3b/3} +-spec color4ub(Red, Green, Blue, Alpha) -> ok when Red :: integer(),Green :: integer(),Blue :: integer(),Alpha :: integer(). +color4ub(Red,Green,Blue,Alpha) -> + cast(5147, <>). -%% @spec (C::integer()) -> ok -%% @doc See external documentation. --spec indexi(integer()) -> ok. -indexi(C) -> - cast(5154, <>). +%% @doc +%% See {@link color3b/3} +-spec color4ui(Red, Green, Blue, Alpha) -> ok when Red :: integer(),Green :: integer(),Blue :: integer(),Alpha :: integer(). +color4ui(Red,Green,Blue,Alpha) -> + cast(5148, <>). -%% @spec ({C}) -> ok -%% @equiv indexi(C) --spec indexiv({integer()}) -> ok. -indexiv({C}) -> indexi(C). +%% @doc +%% See {@link color3b/3} +-spec color4us(Red, Green, Blue, Alpha) -> ok when Red :: integer(),Green :: integer(),Blue :: integer(),Alpha :: integer(). +color4us(Red,Green,Blue,Alpha) -> + cast(5149, <>). -%% @spec (C::integer()) -> ok -%% @doc See external documentation. --spec indexs(integer()) -> ok. -indexs(C) -> - cast(5155, <>). +%% @equiv color3b(Red,Green,Blue) +-spec color3bv(V) -> ok when V :: {Red :: integer(),Green :: integer(),Blue :: integer()}. +color3bv({Red,Green,Blue}) -> color3b(Red,Green,Blue). -%% @spec ({C}) -> ok -%% @equiv indexs(C) --spec indexsv({integer()}) -> ok. -indexsv({C}) -> indexs(C). +%% @equiv color3d(Red,Green,Blue) +-spec color3dv(V) -> ok when V :: {Red :: float(),Green :: float(),Blue :: float()}. +color3dv({Red,Green,Blue}) -> color3d(Red,Green,Blue). -%% @spec (C::integer()) -> ok -%% @doc See external documentation. --spec indexub(integer()) -> ok. -indexub(C) -> - cast(5156, <>). +%% @equiv color3f(Red,Green,Blue) +-spec color3fv(V) -> ok when V :: {Red :: float(),Green :: float(),Blue :: float()}. +color3fv({Red,Green,Blue}) -> color3f(Red,Green,Blue). -%% @spec ({C}) -> ok -%% @equiv indexub(C) --spec indexubv({integer()}) -> ok. -indexubv({C}) -> indexub(C). +%% @equiv color3i(Red,Green,Blue) +-spec color3iv(V) -> ok when V :: {Red :: integer(),Green :: integer(),Blue :: integer()}. +color3iv({Red,Green,Blue}) -> color3i(Red,Green,Blue). -%% @spec () -> ok -%% @doc See external documentation. --spec initNames() -> ok. -initNames() -> - cast(5157, <<>>). +%% @equiv color3s(Red,Green,Blue) +-spec color3sv(V) -> ok when V :: {Red :: integer(),Green :: integer(),Blue :: integer()}. +color3sv({Red,Green,Blue}) -> color3s(Red,Green,Blue). -%% @spec (Format::enum(),Stride::integer(),Pointer::offset()|mem()) -> ok -%% @doc See external documentation. --spec interleavedArrays(enum(),integer(),offset()|mem()) -> ok. -interleavedArrays(Format,Stride,Pointer) when is_integer(Pointer) -> - cast(5158, <>); -interleavedArrays(Format,Stride,Pointer) -> - send_bin(Pointer), - cast(5159, <>). +%% @equiv color3ub(Red,Green,Blue) +-spec color3ubv(V) -> ok when V :: {Red :: integer(),Green :: integer(),Blue :: integer()}. +color3ubv({Red,Green,Blue}) -> color3ub(Red,Green,Blue). -%% @spec (Cap::enum()) -> 0|1 -%% @doc See external documentation. --spec isEnabled(enum()) -> 0|1. -isEnabled(Cap) -> - call(5160, <>). +%% @equiv color3ui(Red,Green,Blue) +-spec color3uiv(V) -> ok when V :: {Red :: integer(),Green :: integer(),Blue :: integer()}. +color3uiv({Red,Green,Blue}) -> color3ui(Red,Green,Blue). -%% @spec (List::integer()) -> 0|1 -%% @doc See external documentation. --spec isList(integer()) -> 0|1. -isList(List) -> - call(5161, <>). +%% @equiv color3us(Red,Green,Blue) +-spec color3usv(V) -> ok when V :: {Red :: integer(),Green :: integer(),Blue :: integer()}. +color3usv({Red,Green,Blue}) -> color3us(Red,Green,Blue). -%% @spec (Texture::integer()) -> 0|1 -%% @doc See external documentation. --spec isTexture(integer()) -> 0|1. -isTexture(Texture) -> - call(5162, <>). +%% @equiv color4b(Red,Green,Blue,Alpha) +-spec color4bv(V) -> ok when V :: {Red :: integer(),Green :: integer(),Blue :: integer(),Alpha :: integer()}. +color4bv({Red,Green,Blue,Alpha}) -> color4b(Red,Green,Blue,Alpha). -%% @spec (Pname::enum(),Param::float()) -> ok -%% @doc See external documentation. --spec lightModelf(enum(),float()) -> ok. -lightModelf(Pname,Param) -> - cast(5163, <>). +%% @equiv color4d(Red,Green,Blue,Alpha) +-spec color4dv(V) -> ok when V :: {Red :: float(),Green :: float(),Blue :: float(),Alpha :: float()}. +color4dv({Red,Green,Blue,Alpha}) -> color4d(Red,Green,Blue,Alpha). -%% @spec (Pname::enum(),Params::{float()}) -> ok -%% @doc See external documentation. --spec lightModelfv(enum(),{float()}) -> ok. -lightModelfv(Pname,Params) -> - cast(5164, <> ||C <- tuple_to_list(Params)>>)/binary,0:(((0+size(Params)) rem 2)*32)>>). +%% @equiv color4f(Red,Green,Blue,Alpha) +-spec color4fv(V) -> ok when V :: {Red :: float(),Green :: float(),Blue :: float(),Alpha :: float()}. +color4fv({Red,Green,Blue,Alpha}) -> color4f(Red,Green,Blue,Alpha). -%% @spec (Pname::enum(),Param::integer()) -> ok -%% @doc See external documentation. --spec lightModeli(enum(),integer()) -> ok. -lightModeli(Pname,Param) -> - cast(5165, <>). +%% @equiv color4i(Red,Green,Blue,Alpha) +-spec color4iv(V) -> ok when V :: {Red :: integer(),Green :: integer(),Blue :: integer(),Alpha :: integer()}. +color4iv({Red,Green,Blue,Alpha}) -> color4i(Red,Green,Blue,Alpha). -%% @spec (Pname::enum(),Params::{integer()}) -> ok -%% @doc See external documentation. --spec lightModeliv(enum(),{integer()}) -> ok. -lightModeliv(Pname,Params) -> - cast(5166, <> ||C <- tuple_to_list(Params)>>)/binary,0:(((0+size(Params)) rem 2)*32)>>). +%% @equiv color4s(Red,Green,Blue,Alpha) +-spec color4sv(V) -> ok when V :: {Red :: integer(),Green :: integer(),Blue :: integer(),Alpha :: integer()}. +color4sv({Red,Green,Blue,Alpha}) -> color4s(Red,Green,Blue,Alpha). -%% @spec (Light::enum(),Pname::enum(),Param::float()) -> ok -%% @doc See external documentation. --spec lightf(enum(),enum(),float()) -> ok. -lightf(Light,Pname,Param) -> - cast(5167, <>). +%% @equiv color4ub(Red,Green,Blue,Alpha) +-spec color4ubv(V) -> ok when V :: {Red :: integer(),Green :: integer(),Blue :: integer(),Alpha :: integer()}. +color4ubv({Red,Green,Blue,Alpha}) -> color4ub(Red,Green,Blue,Alpha). -%% @spec (Light::enum(),Pname::enum(),Params::{float()}) -> ok -%% @doc See external documentation. --spec lightfv(enum(),enum(),{float()}) -> ok. -lightfv(Light,Pname,Params) -> - cast(5168, <> ||C <- tuple_to_list(Params)>>)/binary,0:(((1+size(Params)) rem 2)*32)>>). +%% @equiv color4ui(Red,Green,Blue,Alpha) +-spec color4uiv(V) -> ok when V :: {Red :: integer(),Green :: integer(),Blue :: integer(),Alpha :: integer()}. +color4uiv({Red,Green,Blue,Alpha}) -> color4ui(Red,Green,Blue,Alpha). -%% @spec (Light::enum(),Pname::enum(),Param::integer()) -> ok -%% @doc See external documentation. --spec lighti(enum(),enum(),integer()) -> ok. -lighti(Light,Pname,Param) -> - cast(5169, <>). +%% @equiv color4us(Red,Green,Blue,Alpha) +-spec color4usv(V) -> ok when V :: {Red :: integer(),Green :: integer(),Blue :: integer(),Alpha :: integer()}. +color4usv({Red,Green,Blue,Alpha}) -> color4us(Red,Green,Blue,Alpha). -%% @spec (Light::enum(),Pname::enum(),Params::{integer()}) -> ok -%% @doc See external documentation. --spec lightiv(enum(),enum(),{integer()}) -> ok. -lightiv(Light,Pname,Params) -> - cast(5170, <> ||C <- tuple_to_list(Params)>>)/binary,0:(((1+size(Params)) rem 2)*32)>>). +%% @doc Set the current texture coordinates +%% +%% ``gl:texCoord'' specifies texture coordinates in one, two, three, or four dimensions. ``gl:texCoord1'' +%% sets the current texture coordinates to (s 0 0 1); a call to ``gl:texCoord2'' sets them to (s t +%% 0 1). +%% Similarly, ``gl:texCoord3'' specifies the texture coordinates as (s t r 1), and ``gl:texCoord4'' +%% defines all four components explicitly as (s t r q). +%% +%% The current texture coordinates are part of the data that is associated with each vertex +%% and with the current raster position. Initially, the values for `s', `t', `r' +%% , and `q' are (0, 0, 0, 1). +%% +%% +%% +%% See external documentation. +-spec texCoord1d(S) -> ok when S :: float(). +texCoord1d(S) -> + cast(5150, <>). -%% @spec (Factor::integer(),Pattern::integer()) -> ok -%% @doc See external documentation. --spec lineStipple(integer(),integer()) -> ok. -lineStipple(Factor,Pattern) -> - cast(5171, <>). +%% @doc +%% See {@link texCoord1d/1} +-spec texCoord1f(S) -> ok when S :: float(). +texCoord1f(S) -> + cast(5151, <>). -%% @spec (Width::float()) -> ok -%% @doc See external documentation. --spec lineWidth(float()) -> ok. -lineWidth(Width) -> - cast(5172, <>). +%% @doc +%% See {@link texCoord1d/1} +-spec texCoord1i(S) -> ok when S :: integer(). +texCoord1i(S) -> + cast(5152, <>). -%% @spec (Base::integer()) -> ok -%% @doc See external documentation. --spec listBase(integer()) -> ok. -listBase(Base) -> - cast(5173, <>). +%% @doc +%% See {@link texCoord1d/1} +-spec texCoord1s(S) -> ok when S :: integer(). +texCoord1s(S) -> + cast(5153, <>). -%% @spec () -> ok -%% @doc See external documentation. --spec loadIdentity() -> ok. -loadIdentity() -> - cast(5174, <<>>). +%% @doc +%% See {@link texCoord1d/1} +-spec texCoord2d(S, T) -> ok when S :: float(),T :: float(). +texCoord2d(S,T) -> + cast(5154, <>). -%% @spec (M::{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}) -> ok -%% @doc See external 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}) -> - cast(5175, <>); -loadMatrixd({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12}) -> - cast(5175, <>). +%% @doc +%% See {@link texCoord1d/1} +-spec texCoord2f(S, T) -> ok when S :: float(),T :: float(). +texCoord2f(S,T) -> + cast(5155, <>). -%% @spec (M::{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}) -> ok -%% @doc See external 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}) -> - cast(5176, <>); -loadMatrixf({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12}) -> - cast(5176, <>). +%% @doc +%% See {@link texCoord1d/1} +-spec texCoord2i(S, T) -> ok when S :: integer(),T :: integer(). +texCoord2i(S,T) -> + cast(5156, <>). -%% @spec (Name::integer()) -> ok -%% @doc See external documentation. --spec loadName(integer()) -> ok. -loadName(Name) -> - cast(5177, <>). +%% @doc +%% See {@link texCoord1d/1} +-spec texCoord2s(S, T) -> ok when S :: integer(),T :: integer(). +texCoord2s(S,T) -> + cast(5157, <>). -%% @spec (Opcode::enum()) -> ok -%% @doc See external documentation. --spec logicOp(enum()) -> ok. -logicOp(Opcode) -> - cast(5178, <>). +%% @doc +%% See {@link texCoord1d/1} +-spec texCoord3d(S, T, R) -> ok when S :: float(),T :: float(),R :: float(). +texCoord3d(S,T,R) -> + cast(5158, <>). -%% @spec (Target::enum(),U1::float(),U2::float(),Stride::integer(),Order::integer(),Points::binary()) -> ok -%% @doc See external documentation. --spec map1d(enum(),float(),float(),integer(),integer(),binary()) -> ok. -map1d(Target,U1,U2,Stride,Order,Points) -> - send_bin(Points), - cast(5179, <>). +%% @doc +%% See {@link texCoord1d/1} +-spec texCoord3f(S, T, R) -> ok when S :: float(),T :: float(),R :: float(). +texCoord3f(S,T,R) -> + cast(5159, <>). -%% @spec (Target::enum(),U1::float(),U2::float(),Stride::integer(),Order::integer(),Points::binary()) -> ok -%% @doc See external documentation. --spec map1f(enum(),float(),float(),integer(),integer(),binary()) -> ok. -map1f(Target,U1,U2,Stride,Order,Points) -> - send_bin(Points), - cast(5180, <>). +%% @doc +%% See {@link texCoord1d/1} +-spec texCoord3i(S, T, R) -> ok when S :: integer(),T :: integer(),R :: integer(). +texCoord3i(S,T,R) -> + cast(5160, <>). -%% @spec (Target::enum(),U1::float(),U2::float(),Ustride::integer(),Uorder::integer(),V1::float(),V2::float(),Vstride::integer(),Vorder::integer(),Points::binary()) -> ok -%% @doc See external 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) -> - send_bin(Points), - cast(5181, <>). +%% @doc +%% See {@link texCoord1d/1} +-spec texCoord3s(S, T, R) -> ok when S :: integer(),T :: integer(),R :: integer(). +texCoord3s(S,T,R) -> + cast(5161, <>). -%% @spec (Target::enum(),U1::float(),U2::float(),Ustride::integer(),Uorder::integer(),V1::float(),V2::float(),Vstride::integer(),Vorder::integer(),Points::binary()) -> ok -%% @doc See external 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) -> - send_bin(Points), - cast(5182, <>). +%% @doc +%% See {@link texCoord1d/1} +-spec texCoord4d(S, T, R, Q) -> ok when S :: float(),T :: float(),R :: float(),Q :: float(). +texCoord4d(S,T,R,Q) -> + cast(5162, <>). -%% @spec (Un::integer(),U1::float(),U2::float()) -> ok -%% @doc See external documentation. --spec mapGrid1d(integer(),float(),float()) -> ok. -mapGrid1d(Un,U1,U2) -> - cast(5183, <>). +%% @doc +%% See {@link texCoord1d/1} +-spec texCoord4f(S, T, R, Q) -> ok when S :: float(),T :: float(),R :: float(),Q :: float(). +texCoord4f(S,T,R,Q) -> + cast(5163, <>). -%% @spec (Un::integer(),U1::float(),U2::float()) -> ok -%% @doc See external documentation. --spec mapGrid1f(integer(),float(),float()) -> ok. -mapGrid1f(Un,U1,U2) -> - cast(5184, <>). +%% @doc +%% See {@link texCoord1d/1} +-spec texCoord4i(S, T, R, Q) -> ok when S :: integer(),T :: integer(),R :: integer(),Q :: integer(). +texCoord4i(S,T,R,Q) -> + cast(5164, <>). -%% @spec (Un::integer(),U1::float(),U2::float(),Vn::integer(),V1::float(),V2::float()) -> ok -%% @doc See external documentation. --spec mapGrid2d(integer(),float(),float(),integer(),float(),float()) -> ok. -mapGrid2d(Un,U1,U2,Vn,V1,V2) -> - cast(5185, <>). +%% @doc +%% See {@link texCoord1d/1} +-spec texCoord4s(S, T, R, Q) -> ok when S :: integer(),T :: integer(),R :: integer(),Q :: integer(). +texCoord4s(S,T,R,Q) -> + cast(5165, <>). -%% @spec (Un::integer(),U1::float(),U2::float(),Vn::integer(),V1::float(),V2::float()) -> ok -%% @doc See external documentation. --spec mapGrid2f(integer(),float(),float(),integer(),float(),float()) -> ok. -mapGrid2f(Un,U1,U2,Vn,V1,V2) -> - cast(5186, <>). +%% @equiv texCoord1d(S) +-spec texCoord1dv(V) -> ok when V :: {S :: float()}. +texCoord1dv({S}) -> texCoord1d(S). -%% @spec (Face::enum(),Pname::enum(),Param::float()) -> ok -%% @doc See external documentation. --spec materialf(enum(),enum(),float()) -> ok. -materialf(Face,Pname,Param) -> - cast(5187, <>). +%% @equiv texCoord1f(S) +-spec texCoord1fv(V) -> ok when V :: {S :: float()}. +texCoord1fv({S}) -> texCoord1f(S). -%% @spec (Face::enum(),Pname::enum(),Params::{float()}) -> ok -%% @doc See external documentation. --spec materialfv(enum(),enum(),{float()}) -> ok. -materialfv(Face,Pname,Params) -> - cast(5188, <> ||C <- tuple_to_list(Params)>>)/binary,0:(((1+size(Params)) rem 2)*32)>>). +%% @equiv texCoord1i(S) +-spec texCoord1iv(V) -> ok when V :: {S :: integer()}. +texCoord1iv({S}) -> texCoord1i(S). -%% @spec (Face::enum(),Pname::enum(),Param::integer()) -> ok -%% @doc See external documentation. --spec materiali(enum(),enum(),integer()) -> ok. -materiali(Face,Pname,Param) -> - cast(5189, <>). +%% @equiv texCoord1s(S) +-spec texCoord1sv(V) -> ok when V :: {S :: integer()}. +texCoord1sv({S}) -> texCoord1s(S). -%% @spec (Face::enum(),Pname::enum(),Params::{integer()}) -> ok -%% @doc See external documentation. --spec materialiv(enum(),enum(),{integer()}) -> ok. -materialiv(Face,Pname,Params) -> - cast(5190, <> ||C <- tuple_to_list(Params)>>)/binary,0:(((1+size(Params)) rem 2)*32)>>). +%% @equiv texCoord2d(S,T) +-spec texCoord2dv(V) -> ok when V :: {S :: float(),T :: float()}. +texCoord2dv({S,T}) -> texCoord2d(S,T). -%% @spec (Mode::enum()) -> ok -%% @doc See external documentation. --spec matrixMode(enum()) -> ok. -matrixMode(Mode) -> - cast(5191, <>). +%% @equiv texCoord2f(S,T) +-spec texCoord2fv(V) -> ok when V :: {S :: float(),T :: float()}. +texCoord2fv({S,T}) -> texCoord2f(S,T). -%% @spec (M::{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}) -> ok -%% @doc See external 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}) -> - cast(5192, <>); -multMatrixd({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12}) -> - cast(5192, <>). +%% @equiv texCoord2i(S,T) +-spec texCoord2iv(V) -> ok when V :: {S :: integer(),T :: integer()}. +texCoord2iv({S,T}) -> texCoord2i(S,T). -%% @spec (M::{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}) -> ok -%% @doc See external 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}) -> - cast(5193, <>); -multMatrixf({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12}) -> - cast(5193, <>). +%% @equiv texCoord2s(S,T) +-spec texCoord2sv(V) -> ok when V :: {S :: integer(),T :: integer()}. +texCoord2sv({S,T}) -> texCoord2s(S,T). -%% @spec (List::integer(),Mode::enum()) -> ok -%% @doc See external documentation. --spec newList(integer(),enum()) -> ok. -newList(List,Mode) -> - cast(5194, <>). +%% @equiv texCoord3d(S,T,R) +-spec texCoord3dv(V) -> ok when V :: {S :: float(),T :: float(),R :: float()}. +texCoord3dv({S,T,R}) -> texCoord3d(S,T,R). -%% @spec (Nx::integer(),Ny::integer(),Nz::integer()) -> ok -%% @doc See external documentation. --spec normal3b(integer(),integer(),integer()) -> ok. -normal3b(Nx,Ny,Nz) -> - cast(5195, <>). +%% @equiv texCoord3f(S,T,R) +-spec texCoord3fv(V) -> ok when V :: {S :: float(),T :: float(),R :: float()}. +texCoord3fv({S,T,R}) -> texCoord3f(S,T,R). -%% @spec ({Nx,Ny,Nz}) -> ok -%% @equiv normal3b(Nx,Ny,Nz) --spec normal3bv({integer(),integer(),integer()}) -> ok. -normal3bv({Nx,Ny,Nz}) -> normal3b(Nx,Ny,Nz). +%% @equiv texCoord3i(S,T,R) +-spec texCoord3iv(V) -> ok when V :: {S :: integer(),T :: integer(),R :: integer()}. +texCoord3iv({S,T,R}) -> texCoord3i(S,T,R). -%% @spec (Nx::float(),Ny::float(),Nz::float()) -> ok -%% @doc See external documentation. --spec normal3d(float(),float(),float()) -> ok. -normal3d(Nx,Ny,Nz) -> - cast(5196, <>). +%% @equiv texCoord3s(S,T,R) +-spec texCoord3sv(V) -> ok when V :: {S :: integer(),T :: integer(),R :: integer()}. +texCoord3sv({S,T,R}) -> texCoord3s(S,T,R). -%% @spec ({Nx,Ny,Nz}) -> ok -%% @equiv normal3d(Nx,Ny,Nz) --spec normal3dv({float(),float(),float()}) -> ok. -normal3dv({Nx,Ny,Nz}) -> normal3d(Nx,Ny,Nz). +%% @equiv texCoord4d(S,T,R,Q) +-spec texCoord4dv(V) -> ok when V :: {S :: float(),T :: float(),R :: float(),Q :: float()}. +texCoord4dv({S,T,R,Q}) -> texCoord4d(S,T,R,Q). -%% @spec (Nx::float(),Ny::float(),Nz::float()) -> ok -%% @doc See external documentation. --spec normal3f(float(),float(),float()) -> ok. -normal3f(Nx,Ny,Nz) -> - cast(5197, <>). +%% @equiv texCoord4f(S,T,R,Q) +-spec texCoord4fv(V) -> ok when V :: {S :: float(),T :: float(),R :: float(),Q :: float()}. +texCoord4fv({S,T,R,Q}) -> texCoord4f(S,T,R,Q). -%% @spec ({Nx,Ny,Nz}) -> ok -%% @equiv normal3f(Nx,Ny,Nz) --spec normal3fv({float(),float(),float()}) -> ok. -normal3fv({Nx,Ny,Nz}) -> normal3f(Nx,Ny,Nz). +%% @equiv texCoord4i(S,T,R,Q) +-spec texCoord4iv(V) -> ok when V :: {S :: integer(),T :: integer(),R :: integer(),Q :: integer()}. +texCoord4iv({S,T,R,Q}) -> texCoord4i(S,T,R,Q). -%% @spec (Nx::integer(),Ny::integer(),Nz::integer()) -> ok -%% @doc See external documentation. --spec normal3i(integer(),integer(),integer()) -> ok. -normal3i(Nx,Ny,Nz) -> - cast(5198, <>). +%% @equiv texCoord4s(S,T,R,Q) +-spec texCoord4sv(V) -> ok when V :: {S :: integer(),T :: integer(),R :: integer(),Q :: integer()}. +texCoord4sv({S,T,R,Q}) -> texCoord4s(S,T,R,Q). -%% @spec ({Nx,Ny,Nz}) -> ok -%% @equiv normal3i(Nx,Ny,Nz) --spec normal3iv({integer(),integer(),integer()}) -> ok. -normal3iv({Nx,Ny,Nz}) -> normal3i(Nx,Ny,Nz). +%% @doc Specify the raster position for pixel operations +%% +%% The GL maintains a 3D position in window coordinates. This position, called the raster +%% position, is used to position pixel and bitmap write operations. It is maintained with +%% subpixel accuracy. See {@link gl:bitmap/7} , {@link gl:drawPixels/5} , and {@link gl:copyPixels/5} +%% . +%% +%% The current raster position consists of three window coordinates ( x, y, z), a clip +%% coordinate value ( w), an eye coordinate distance, a valid bit, and associated color +%% data and texture coordinates. The w coordinate is a clip coordinate, because w is +%% not projected to window coordinates. ``gl:rasterPos4'' specifies object coordinates x, +%% y, z, and w explicitly. ``gl:rasterPos3'' specifies object coordinate x, y, and +%% z explicitly, while w is implicitly set to 1. ``gl:rasterPos2'' uses the argument +%% values for x and y while implicitly setting z and w to 0 and 1. +%% +%% The object coordinates presented by ``gl:rasterPos'' are treated just like those of a {@link gl:vertex2d/2} +%% command: They are transformed by the current modelview and projection matrices and passed +%% to the clipping stage. If the vertex is not culled, then it is projected and scaled to +%% window coordinates, which become the new current raster position, and the `?GL_CURRENT_RASTER_POSITION_VALID' +%% flag is set. If the vertex `is' culled, then the valid bit is cleared and the current +%% raster position and associated color and texture coordinates are undefined. +%% +%% The current raster position also includes some associated color data and texture coordinates. +%% If lighting is enabled, then `?GL_CURRENT_RASTER_COLOR' (in RGBA mode) or `?GL_CURRENT_RASTER_INDEX' +%% (in color index mode) is set to the color produced by the lighting calculation (see {@link gl:lightf/3} +%% , {@link gl:lightModelf/2} , and {@link gl:shadeModel/1} ). If lighting is disabled, current +%% color (in RGBA mode, state variable `?GL_CURRENT_COLOR') or color index (in color +%% index mode, state variable `?GL_CURRENT_INDEX') is used to update the current raster +%% color. `?GL_CURRENT_RASTER_SECONDARY_COLOR' (in RGBA mode) is likewise updated. +%% +%% Likewise, `?GL_CURRENT_RASTER_TEXTURE_COORDS' is updated as a function of `?GL_CURRENT_TEXTURE_COORDS' +%% , based on the texture matrix and the texture generation functions (see {@link gl:texGend/3} ). +%% Finally, the distance from the origin of the eye coordinate system to the vertex as transformed +%% by only the modelview matrix replaces `?GL_CURRENT_RASTER_DISTANCE'. +%% +%% Initially, the current raster position is (0, 0, 0, 1), the current raster distance is +%% 0, the valid bit is set, the associated RGBA color is (1, 1, 1, 1), the associated color +%% index is 1, and the associated texture coordinates are (0, 0, 0, 1). In RGBA mode, `?GL_CURRENT_RASTER_INDEX' +%% is always 1; in color index mode, the current raster RGBA color always maintains its +%% initial value. +%% +%% See external documentation. +-spec rasterPos2d(X, Y) -> ok when X :: float(),Y :: float(). +rasterPos2d(X,Y) -> + cast(5166, <>). -%% @spec (Nx::integer(),Ny::integer(),Nz::integer()) -> ok -%% @doc See external documentation. --spec normal3s(integer(),integer(),integer()) -> ok. -normal3s(Nx,Ny,Nz) -> - cast(5199, <>). +%% @doc +%% See {@link rasterPos2d/2} +-spec rasterPos2f(X, Y) -> ok when X :: float(),Y :: float(). +rasterPos2f(X,Y) -> + cast(5167, <>). -%% @spec ({Nx,Ny,Nz}) -> ok -%% @equiv normal3s(Nx,Ny,Nz) --spec normal3sv({integer(),integer(),integer()}) -> ok. -normal3sv({Nx,Ny,Nz}) -> normal3s(Nx,Ny,Nz). +%% @doc +%% See {@link rasterPos2d/2} +-spec rasterPos2i(X, Y) -> ok when X :: integer(),Y :: integer(). +rasterPos2i(X,Y) -> + cast(5168, <>). -%% @spec (Type::enum(),Stride::integer(),Pointer::offset()|mem()) -> ok -%% @doc See external documentation. --spec normalPointer(enum(),integer(),offset()|mem()) -> ok. -normalPointer(Type,Stride,Pointer) when is_integer(Pointer) -> - cast(5200, <>); -normalPointer(Type,Stride,Pointer) -> - send_bin(Pointer), - cast(5201, <>). +%% @doc +%% See {@link rasterPos2d/2} +-spec rasterPos2s(X, Y) -> ok when X :: integer(),Y :: integer(). +rasterPos2s(X,Y) -> + cast(5169, <>). -%% @spec (Left::float(),Right::float(),Bottom::float(),Top::float(),ZNear::float(),ZFar::float()) -> ok -%% @doc See external documentation. --spec ortho(float(),float(),float(),float(),float(),float()) -> ok. -ortho(Left,Right,Bottom,Top,ZNear,ZFar) -> - cast(5202, <>). +%% @doc +%% See {@link rasterPos2d/2} +-spec rasterPos3d(X, Y, Z) -> ok when X :: float(),Y :: float(),Z :: float(). +rasterPos3d(X,Y,Z) -> + cast(5170, <>). -%% @spec (Token::float()) -> ok -%% @doc See external documentation. --spec passThrough(float()) -> ok. -passThrough(Token) -> - cast(5203, <>). +%% @doc +%% See {@link rasterPos2d/2} +-spec rasterPos3f(X, Y, Z) -> ok when X :: float(),Y :: float(),Z :: float(). +rasterPos3f(X,Y,Z) -> + cast(5171, <>). -%% @spec (Map::enum(),Mapsize::integer(),Values::binary()) -> ok -%% @doc See external documentation. --spec pixelMapfv(enum(),integer(),binary()) -> ok. -pixelMapfv(Map,Mapsize,Values) -> - send_bin(Values), - cast(5204, <>). +%% @doc +%% See {@link rasterPos2d/2} +-spec rasterPos3i(X, Y, Z) -> ok when X :: integer(),Y :: integer(),Z :: integer(). +rasterPos3i(X,Y,Z) -> + cast(5172, <>). -%% @spec (Map::enum(),Mapsize::integer(),Values::binary()) -> ok -%% @doc See external documentation. --spec pixelMapuiv(enum(),integer(),binary()) -> ok. -pixelMapuiv(Map,Mapsize,Values) -> - send_bin(Values), - cast(5205, <>). +%% @doc +%% See {@link rasterPos2d/2} +-spec rasterPos3s(X, Y, Z) -> ok when X :: integer(),Y :: integer(),Z :: integer(). +rasterPos3s(X,Y,Z) -> + cast(5173, <>). -%% @spec (Map::enum(),Mapsize::integer(),Values::binary()) -> ok -%% @doc See external documentation. --spec pixelMapusv(enum(),integer(),binary()) -> ok. -pixelMapusv(Map,Mapsize,Values) -> - send_bin(Values), - cast(5206, <>). +%% @doc +%% See {@link rasterPos2d/2} +-spec rasterPos4d(X, Y, Z, W) -> ok when X :: float(),Y :: float(),Z :: float(),W :: float(). +rasterPos4d(X,Y,Z,W) -> + cast(5174, <>). -%% @spec (Pname::enum(),Param::float()) -> ok -%% @doc See external documentation. --spec pixelStoref(enum(),float()) -> ok. -pixelStoref(Pname,Param) -> - cast(5207, <>). +%% @doc +%% See {@link rasterPos2d/2} +-spec rasterPos4f(X, Y, Z, W) -> ok when X :: float(),Y :: float(),Z :: float(),W :: float(). +rasterPos4f(X,Y,Z,W) -> + cast(5175, <>). -%% @spec (Pname::enum(),Param::integer()) -> ok -%% @doc See external documentation. --spec pixelStorei(enum(),integer()) -> ok. -pixelStorei(Pname,Param) -> - cast(5208, <>). +%% @doc +%% See {@link rasterPos2d/2} +-spec rasterPos4i(X, Y, Z, W) -> ok when X :: integer(),Y :: integer(),Z :: integer(),W :: integer(). +rasterPos4i(X,Y,Z,W) -> + cast(5176, <>). -%% @spec (Pname::enum(),Param::float()) -> ok -%% @doc See external documentation. --spec pixelTransferf(enum(),float()) -> ok. -pixelTransferf(Pname,Param) -> - cast(5209, <>). +%% @doc +%% See {@link rasterPos2d/2} +-spec rasterPos4s(X, Y, Z, W) -> ok when X :: integer(),Y :: integer(),Z :: integer(),W :: integer(). +rasterPos4s(X,Y,Z,W) -> + cast(5177, <>). -%% @spec (Pname::enum(),Param::integer()) -> ok -%% @doc See external documentation. --spec pixelTransferi(enum(),integer()) -> ok. -pixelTransferi(Pname,Param) -> - cast(5210, <>). +%% @equiv rasterPos2d(X,Y) +-spec rasterPos2dv(V) -> ok when V :: {X :: float(),Y :: float()}. +rasterPos2dv({X,Y}) -> rasterPos2d(X,Y). -%% @spec (Xfactor::float(),Yfactor::float()) -> ok -%% @doc See external documentation. --spec pixelZoom(float(),float()) -> ok. -pixelZoom(Xfactor,Yfactor) -> - cast(5211, <>). +%% @equiv rasterPos2f(X,Y) +-spec rasterPos2fv(V) -> ok when V :: {X :: float(),Y :: float()}. +rasterPos2fv({X,Y}) -> rasterPos2f(X,Y). -%% @spec (Size::float()) -> ok -%% @doc See external documentation. --spec pointSize(float()) -> ok. -pointSize(Size) -> - cast(5212, <>). +%% @equiv rasterPos2i(X,Y) +-spec rasterPos2iv(V) -> ok when V :: {X :: integer(),Y :: integer()}. +rasterPos2iv({X,Y}) -> rasterPos2i(X,Y). -%% @spec (Face::enum(),Mode::enum()) -> ok -%% @doc See external documentation. --spec polygonMode(enum(),enum()) -> ok. -polygonMode(Face,Mode) -> - cast(5213, <>). +%% @equiv rasterPos2s(X,Y) +-spec rasterPos2sv(V) -> ok when V :: {X :: integer(),Y :: integer()}. +rasterPos2sv({X,Y}) -> rasterPos2s(X,Y). -%% @spec (Factor::float(),Units::float()) -> ok -%% @doc See external documentation. --spec polygonOffset(float(),float()) -> ok. -polygonOffset(Factor,Units) -> - cast(5214, <>). +%% @equiv rasterPos3d(X,Y,Z) +-spec rasterPos3dv(V) -> ok when V :: {X :: float(),Y :: float(),Z :: float()}. +rasterPos3dv({X,Y,Z}) -> rasterPos3d(X,Y,Z). -%% @spec (Mask::binary()) -> ok -%% @doc See external documentation. --spec polygonStipple(binary()) -> ok. -polygonStipple(Mask) -> - send_bin(Mask), - cast(5215, <<>>). +%% @equiv rasterPos3f(X,Y,Z) +-spec rasterPos3fv(V) -> ok when V :: {X :: float(),Y :: float(),Z :: float()}. +rasterPos3fv({X,Y,Z}) -> rasterPos3f(X,Y,Z). -%% @spec () -> ok -%% @doc See external documentation. --spec popAttrib() -> ok. -popAttrib() -> - cast(5216, <<>>). +%% @equiv rasterPos3i(X,Y,Z) +-spec rasterPos3iv(V) -> ok when V :: {X :: integer(),Y :: integer(),Z :: integer()}. +rasterPos3iv({X,Y,Z}) -> rasterPos3i(X,Y,Z). -%% @spec () -> ok -%% @doc See external documentation. --spec popClientAttrib() -> ok. -popClientAttrib() -> - cast(5217, <<>>). +%% @equiv rasterPos3s(X,Y,Z) +-spec rasterPos3sv(V) -> ok when V :: {X :: integer(),Y :: integer(),Z :: integer()}. +rasterPos3sv({X,Y,Z}) -> rasterPos3s(X,Y,Z). -%% @spec () -> ok -%% @doc See external documentation. --spec popMatrix() -> ok. -popMatrix() -> - cast(5218, <<>>). +%% @equiv rasterPos4d(X,Y,Z,W) +-spec rasterPos4dv(V) -> ok when V :: {X :: float(),Y :: float(),Z :: float(),W :: float()}. +rasterPos4dv({X,Y,Z,W}) -> rasterPos4d(X,Y,Z,W). -%% @spec () -> ok -%% @doc See external documentation. --spec popName() -> ok. -popName() -> - cast(5219, <<>>). +%% @equiv rasterPos4f(X,Y,Z,W) +-spec rasterPos4fv(V) -> ok when V :: {X :: float(),Y :: float(),Z :: float(),W :: float()}. +rasterPos4fv({X,Y,Z,W}) -> rasterPos4f(X,Y,Z,W). -%% @spec (Textures::[integer()],Priorities::[clamp()]) -> ok -%% @doc See external documentation. --spec prioritizeTextures([integer()],[clamp()]) -> ok. -prioritizeTextures(Textures,Priorities) -> - cast(5220, <<(length(Textures)):?GLuint, - (<< <> || C <- Textures>>)/binary,0:(((1+length(Textures)) rem 2)*32),(length(Priorities)):?GLuint, - (<< <> || C <- Priorities>>)/binary,0:(((1+length(Priorities)) rem 2)*32)>>). +%% @equiv rasterPos4i(X,Y,Z,W) +-spec rasterPos4iv(V) -> ok when V :: {X :: integer(),Y :: integer(),Z :: integer(),W :: integer()}. +rasterPos4iv({X,Y,Z,W}) -> rasterPos4i(X,Y,Z,W). -%% @spec (Mask::integer()) -> ok -%% @doc See external documentation. --spec pushAttrib(integer()) -> ok. -pushAttrib(Mask) -> - cast(5221, <>). +%% @equiv rasterPos4s(X,Y,Z,W) +-spec rasterPos4sv(V) -> ok when V :: {X :: integer(),Y :: integer(),Z :: integer(),W :: integer()}. +rasterPos4sv({X,Y,Z,W}) -> rasterPos4s(X,Y,Z,W). -%% @spec (Mask::integer()) -> ok -%% @doc See external documentation. --spec pushClientAttrib(integer()) -> ok. -pushClientAttrib(Mask) -> - cast(5222, <>). +%% @doc Draw a rectangle +%% +%% ``gl:rect'' supports efficient specification of rectangles as two corner points. Each +%% rectangle command takes four arguments, organized either as two consecutive pairs of (x y) +%% coordinates or as two pointers to arrays, each containing an (x y) pair. The resulting rectangle +%% is defined in the z= 0 plane. +%% +%% ``gl:rect''( `X1' , `Y1' , `X2' , `Y2' ) is exactly equivalent to the +%% following sequence: glBegin(`?GL_POLYGON'); glVertex2( `X1' , `Y1' ); glVertex2( +%% `X2' , `Y1' ); glVertex2( `X2' , `Y2' ); glVertex2( `X1' , `Y2' ); +%% glEnd(); Note that if the second vertex is above and to the right of the first vertex, +%% the rectangle is constructed with a counterclockwise winding. +%% +%% See external documentation. +-spec rectd(X1, Y1, X2, Y2) -> ok when X1 :: float(),Y1 :: float(),X2 :: float(),Y2 :: float(). +rectd(X1,Y1,X2,Y2) -> + cast(5178, <>). -%% @spec () -> ok -%% @doc See external documentation. --spec pushMatrix() -> ok. -pushMatrix() -> - cast(5223, <<>>). +%% @doc +%% See {@link rectd/4} +-spec rectf(X1, Y1, X2, Y2) -> ok when X1 :: float(),Y1 :: float(),X2 :: float(),Y2 :: float(). +rectf(X1,Y1,X2,Y2) -> + cast(5179, <>). -%% @spec (Name::integer()) -> ok -%% @doc See external documentation. --spec pushName(integer()) -> ok. -pushName(Name) -> - cast(5224, <>). +%% @doc +%% See {@link rectd/4} +-spec recti(X1, Y1, X2, Y2) -> ok when X1 :: integer(),Y1 :: integer(),X2 :: integer(),Y2 :: integer(). +recti(X1,Y1,X2,Y2) -> + cast(5180, <>). -%% @spec (X::float(),Y::float()) -> ok -%% @doc See external documentation. --spec rasterPos2d(float(),float()) -> ok. -rasterPos2d(X,Y) -> - cast(5225, <>). +%% @doc +%% See {@link rectd/4} +-spec rects(X1, Y1, X2, Y2) -> ok when X1 :: integer(),Y1 :: integer(),X2 :: integer(),Y2 :: integer(). +rects(X1,Y1,X2,Y2) -> + cast(5181, <>). -%% @spec ({X,Y}) -> ok -%% @equiv rasterPos2d(X,Y) --spec rasterPos2dv({float(),float()}) -> ok. -rasterPos2dv({X,Y}) -> rasterPos2d(X,Y). +%% @doc +%% See {@link rectd/4} +-spec rectdv(V1, V2) -> ok when V1 :: {float(),float()},V2 :: {float(),float()}. +rectdv({V1,V2},{V1,V2}) -> + cast(5182, <>). -%% @spec (X::float(),Y::float()) -> ok -%% @doc See external documentation. --spec rasterPos2f(float(),float()) -> ok. -rasterPos2f(X,Y) -> - cast(5226, <>). +%% @doc +%% See {@link rectd/4} +-spec rectfv(V1, V2) -> ok when V1 :: {float(),float()},V2 :: {float(),float()}. +rectfv({V1,V2},{V1,V2}) -> + cast(5183, <>). -%% @spec ({X,Y}) -> ok -%% @equiv rasterPos2f(X,Y) --spec rasterPos2fv({float(),float()}) -> ok. -rasterPos2fv({X,Y}) -> rasterPos2f(X,Y). +%% @doc +%% See {@link rectd/4} +-spec rectiv(V1, V2) -> ok when V1 :: {integer(),integer()},V2 :: {integer(),integer()}. +rectiv({V1,V2},{V1,V2}) -> + cast(5184, <>). -%% @spec (X::integer(),Y::integer()) -> ok -%% @doc See external documentation. --spec rasterPos2i(integer(),integer()) -> ok. -rasterPos2i(X,Y) -> - cast(5227, <>). +%% @doc +%% See {@link rectd/4} +-spec rectsv(V1, V2) -> ok when V1 :: {integer(),integer()},V2 :: {integer(),integer()}. +rectsv({V1,V2},{V1,V2}) -> + cast(5185, <>). -%% @spec ({X,Y}) -> ok -%% @equiv rasterPos2i(X,Y) --spec rasterPos2iv({integer(),integer()}) -> ok. -rasterPos2iv({X,Y}) -> rasterPos2i(X,Y). +%% @doc Define an array of vertex data +%% +%% ``gl:vertexPointer'' specifies the location and data format of an array of vertex coordinates +%% to use when rendering. `Size' specifies the number of coordinates per vertex, and +%% must be 2, 3, or 4. `Type' specifies the data type of each coordinate, and `Stride' +%% specifies the byte stride from one vertex to the next, allowing vertices and attributes +%% to be packed into a single array or stored in separate arrays. (Single-array storage may +%% be more efficient on some implementations; see {@link gl:interleavedArrays/3} .) +%% +%% If a non-zero named buffer object is bound to the `?GL_ARRAY_BUFFER' target (see {@link gl:bindBuffer/2} +%% ) while a vertex array is specified, `Pointer' is treated as a byte offset into the +%% buffer object's data store. Also, the buffer object binding (`?GL_ARRAY_BUFFER_BINDING' +%% ) is saved as vertex array client-side state (`?GL_VERTEX_ARRAY_BUFFER_BINDING'). +%% +%% When a vertex array is specified, `Size' , `Type' , `Stride' , and `Pointer' +%% are saved as client-side state, in addition to the current vertex array buffer object +%% binding. +%% +%% To enable and disable the vertex array, call {@link gl:enableClientState/1} and {@link gl:enableClientState/1} +%% with the argument `?GL_VERTEX_ARRAY'. If enabled, the vertex array is used when {@link gl:arrayElement/1} +%% , {@link gl:drawArrays/3} , {@link gl:multiDrawArrays/3} , {@link gl:drawElements/4} , see `glMultiDrawElements' +%% , or {@link gl:drawRangeElements/6} is called. +%% +%% See external documentation. +-spec vertexPointer(Size, Type, Stride, Ptr) -> ok when Size :: integer(),Type :: enum(),Stride :: integer(),Ptr :: offset()|mem(). +vertexPointer(Size,Type,Stride,Ptr) when is_integer(Ptr) -> + cast(5186, <>); +vertexPointer(Size,Type,Stride,Ptr) -> + send_bin(Ptr), + cast(5187, <>). + +%% @doc Define an array of normals +%% +%% ``gl:normalPointer'' specifies the location and data format of an array of normals to +%% use when rendering. `Type' specifies the data type of each normal coordinate, and `Stride' +%% specifies the byte stride from one normal to the next, allowing vertices and attributes +%% to be packed into a single array or stored in separate arrays. (Single-array storage may +%% be more efficient on some implementations; see {@link gl:interleavedArrays/3} .) +%% +%% If a non-zero named buffer object is bound to the `?GL_ARRAY_BUFFER' target (see {@link gl:bindBuffer/2} +%% ) while a normal array is specified, `Pointer' is treated as a byte offset into the +%% buffer object's data store. Also, the buffer object binding (`?GL_ARRAY_BUFFER_BINDING' +%% ) is saved as normal vertex array client-side state (`?GL_NORMAL_ARRAY_BUFFER_BINDING' +%% ). +%% +%% When a normal array is specified, `Type' , `Stride' , and `Pointer' are +%% saved as client-side state, in addition to the current vertex array buffer object binding. +%% +%% +%% To enable and disable the normal array, call {@link gl:enableClientState/1} and {@link gl:enableClientState/1} +%% with the argument `?GL_NORMAL_ARRAY'. If enabled, the normal array is used when {@link gl:drawArrays/3} +%% , {@link gl:multiDrawArrays/3} , {@link gl:drawElements/4} , see `glMultiDrawElements', {@link gl:drawRangeElements/6} +%% , or {@link gl:arrayElement/1} is called. +%% +%% See external documentation. +-spec normalPointer(Type, Stride, Ptr) -> ok when Type :: enum(),Stride :: integer(),Ptr :: offset()|mem(). +normalPointer(Type,Stride,Ptr) when is_integer(Ptr) -> + cast(5188, <>); +normalPointer(Type,Stride,Ptr) -> + send_bin(Ptr), + cast(5189, <>). + +%% @doc Define an array of colors +%% +%% ``gl:colorPointer'' specifies the location and data format of an array of color components +%% to use when rendering. `Size' specifies the number of components per color, and must +%% be 3 or 4. `Type' specifies the data type of each color component, and `Stride' +%% specifies the byte stride from one color to the next, allowing vertices and attributes +%% to be packed into a single array or stored in separate arrays. (Single-array storage may +%% be more efficient on some implementations; see {@link gl:interleavedArrays/3} .) +%% +%% If a non-zero named buffer object is bound to the `?GL_ARRAY_BUFFER' target (see {@link gl:bindBuffer/2} +%% ) while a color array is specified, `Pointer' is treated as a byte offset into the +%% buffer object's data store. Also, the buffer object binding (`?GL_ARRAY_BUFFER_BINDING' +%% ) is saved as color vertex array client-side state (`?GL_COLOR_ARRAY_BUFFER_BINDING'). +%% +%% +%% When a color array is specified, `Size' , `Type' , `Stride' , and `Pointer' +%% are saved as client-side state, in addition to the current vertex array buffer object +%% binding. +%% +%% To enable and disable the color array, call {@link gl:enableClientState/1} and {@link gl:enableClientState/1} +%% with the argument `?GL_COLOR_ARRAY'. If enabled, the color array is used when {@link gl:drawArrays/3} +%% , {@link gl:multiDrawArrays/3} , {@link gl:drawElements/4} , see `glMultiDrawElements', {@link gl:drawRangeElements/6} +%% , or {@link gl:arrayElement/1} is called. +%% +%% See external documentation. +-spec colorPointer(Size, Type, Stride, Ptr) -> ok when Size :: integer(),Type :: enum(),Stride :: integer(),Ptr :: offset()|mem(). +colorPointer(Size,Type,Stride,Ptr) when is_integer(Ptr) -> + cast(5190, <>); +colorPointer(Size,Type,Stride,Ptr) -> + send_bin(Ptr), + cast(5191, <>). + +%% @doc Define an array of color indexes +%% +%% ``gl:indexPointer'' specifies the location and data format of an array of color indexes +%% to use when rendering. `Type' specifies the data type of each color index and `Stride' +%% specifies the byte stride from one color index to the next, allowing vertices and attributes +%% to be packed into a single array or stored in separate arrays. +%% +%% If a non-zero named buffer object is bound to the `?GL_ARRAY_BUFFER' target (see {@link gl:bindBuffer/2} +%% ) while a color index array is specified, `Pointer' is treated as a byte offset into +%% the buffer object's data store. Also, the buffer object binding (`?GL_ARRAY_BUFFER_BINDING' +%% ) is saved as color index vertex array client-side state (`?GL_INDEX_ARRAY_BUFFER_BINDING' +%% ). +%% +%% When a color index array is specified, `Type' , `Stride' , and `Pointer' +%% are saved as client-side state, in addition to the current vertex array buffer object +%% binding. +%% +%% To enable and disable the color index array, call {@link gl:enableClientState/1} and {@link gl:enableClientState/1} +%% with the argument `?GL_INDEX_ARRAY'. If enabled, the color index array is used when +%% {@link gl:drawArrays/3} , {@link gl:multiDrawArrays/3} , {@link gl:drawElements/4} , see `glMultiDrawElements' +%% , {@link gl:drawRangeElements/6} , or {@link gl:arrayElement/1} is called. +%% +%% See external documentation. +-spec indexPointer(Type, Stride, Ptr) -> ok when Type :: enum(),Stride :: integer(),Ptr :: offset()|mem(). +indexPointer(Type,Stride,Ptr) when is_integer(Ptr) -> + cast(5192, <>); +indexPointer(Type,Stride,Ptr) -> + send_bin(Ptr), + cast(5193, <>). + +%% @doc Define an array of texture coordinates +%% +%% ``gl:texCoordPointer'' specifies the location and data format of an array of texture +%% coordinates to use when rendering. `Size' specifies the number of coordinates per +%% texture coordinate set, and must be 1, 2, 3, or 4. `Type' specifies the data type +%% of each texture coordinate, and `Stride' specifies the byte stride from one texture +%% coordinate set to the next, allowing vertices and attributes to be packed into a single +%% array or stored in separate arrays. (Single-array storage may be more efficient on some +%% implementations; see {@link gl:interleavedArrays/3} .) +%% +%% If a non-zero named buffer object is bound to the `?GL_ARRAY_BUFFER' target (see {@link gl:bindBuffer/2} +%% ) while a texture coordinate array is specified, `Pointer' is treated as a byte offset +%% into the buffer object's data store. Also, the buffer object binding (`?GL_ARRAY_BUFFER_BINDING' +%% ) is saved as texture coordinate vertex array client-side state (`?GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING' +%% ). +%% +%% When a texture coordinate array is specified, `Size' , `Type' , `Stride' , +%% and `Pointer' are saved as client-side state, in addition to the current vertex array +%% buffer object binding. +%% +%% To enable and disable a texture coordinate array, call {@link gl:enableClientState/1} +%% and {@link gl:enableClientState/1} with the argument `?GL_TEXTURE_COORD_ARRAY'. If +%% enabled, the texture coordinate array is used when {@link gl:arrayElement/1} , {@link gl:drawArrays/3} +%% , {@link gl:multiDrawArrays/3} , {@link gl:drawElements/4} , see `glMultiDrawElements', +%% or {@link gl:drawRangeElements/6} is called. +%% +%% See external documentation. +-spec texCoordPointer(Size, Type, Stride, Ptr) -> ok when Size :: integer(),Type :: enum(),Stride :: integer(),Ptr :: offset()|mem(). +texCoordPointer(Size,Type,Stride,Ptr) when is_integer(Ptr) -> + cast(5194, <>); +texCoordPointer(Size,Type,Stride,Ptr) -> + send_bin(Ptr), + cast(5195, <>). + +%% @doc Define an array of edge flags +%% +%% ``gl:edgeFlagPointer'' specifies the location and data format of an array of boolean +%% edge flags to use when rendering. `Stride' specifies the byte stride from one edge +%% flag to the next, allowing vertices and attributes to be packed into a single array or +%% stored in separate arrays. +%% +%% If a non-zero named buffer object is bound to the `?GL_ARRAY_BUFFER' target (see {@link gl:bindBuffer/2} +%% ) while an edge flag array is specified, `Pointer' is treated as a byte offset into +%% the buffer object's data store. Also, the buffer object binding (`?GL_ARRAY_BUFFER_BINDING' +%% ) is saved as edge flag vertex array client-side state (`?GL_EDGE_FLAG_ARRAY_BUFFER_BINDING' +%% ). +%% +%% When an edge flag array is specified, `Stride' and `Pointer' are saved as client-side +%% state, in addition to the current vertex array buffer object binding. +%% +%% To enable and disable the edge flag array, call {@link gl:enableClientState/1} and {@link gl:enableClientState/1} +%% with the argument `?GL_EDGE_FLAG_ARRAY'. If enabled, the edge flag array is used +%% when {@link gl:drawArrays/3} , {@link gl:multiDrawArrays/3} , {@link gl:drawElements/4} , see `glMultiDrawElements' +%% , {@link gl:drawRangeElements/6} , or {@link gl:arrayElement/1} is called. +%% +%% See external documentation. +-spec edgeFlagPointer(Stride, Ptr) -> ok when Stride :: integer(),Ptr :: offset()|mem(). +edgeFlagPointer(Stride,Ptr) when is_integer(Ptr) -> + cast(5196, <>); +edgeFlagPointer(Stride,Ptr) -> + send_bin(Ptr), + cast(5197, <>). + +%% @doc Render a vertex using the specified vertex array element +%% +%% ``gl:arrayElement'' commands are used within {@link gl:'begin'/1} / {@link gl:'begin'/1} pairs +%% to specify vertex and attribute data for point, line, and polygon primitives. If `?GL_VERTEX_ARRAY' +%% is enabled when ``gl:arrayElement'' is called, a single vertex is drawn, using vertex +%% and attribute data taken from location `I' of the enabled arrays. If `?GL_VERTEX_ARRAY' +%% is not enabled, no drawing occurs but the attributes corresponding to the enabled arrays +%% are modified. +%% +%% Use ``gl:arrayElement'' to construct primitives by indexing vertex data, rather than +%% by streaming through arrays of data in first-to-last order. Because each call specifies +%% only a single vertex, it is possible to explicitly specify per-primitive attributes such +%% as a single normal for each triangle. +%% +%% Changes made to array data between the execution of {@link gl:'begin'/1} and the corresponding +%% execution of {@link gl:'begin'/1} may affect calls to ``gl:arrayElement'' that are made within +%% the same {@link gl:'begin'/1} / {@link gl:'begin'/1} period in nonsequential ways. That is, a call +%% to ``gl:arrayElement'' that precedes a change to array data may access the changed data, +%% and a call that follows a change to array data may access original data. +%% +%% See external documentation. +-spec arrayElement(I) -> ok when I :: integer(). +arrayElement(I) -> + cast(5198, <>). -%% @spec (X::integer(),Y::integer()) -> ok -%% @doc See external documentation. --spec rasterPos2s(integer(),integer()) -> ok. -rasterPos2s(X,Y) -> - cast(5228, <>). +%% @doc Render primitives from array data +%% +%% ``gl:drawArrays'' specifies multiple geometric primitives with very few subroutine calls. +%% Instead of calling a GL procedure to pass each individual vertex, normal, texture coordinate, +%% edge flag, or color, you can prespecify separate arrays of vertices, normals, and colors +%% and use them to construct a sequence of primitives with a single call to ``gl:drawArrays'' +%% . +%% +%% When ``gl:drawArrays'' is called, it uses `Count' sequential elements from each +%% enabled array to construct a sequence of geometric primitives, beginning with element `First' +%% . `Mode' specifies what kind of primitives are constructed and how the array elements +%% construct those primitives. +%% +%% Vertex attributes that are modified by ``gl:drawArrays'' have an unspecified value +%% after ``gl:drawArrays'' returns. Attributes that aren't modified remain well defined. +%% +%% See external documentation. +-spec drawArrays(Mode, First, Count) -> ok when Mode :: enum(),First :: integer(),Count :: integer(). +drawArrays(Mode,First,Count) -> + cast(5199, <>). -%% @spec ({X,Y}) -> ok -%% @equiv rasterPos2s(X,Y) --spec rasterPos2sv({integer(),integer()}) -> ok. -rasterPos2sv({X,Y}) -> rasterPos2s(X,Y). +%% @doc Render primitives from array data +%% +%% ``gl:drawElements'' specifies multiple geometric primitives with very few subroutine +%% calls. Instead of calling a GL function to pass each individual vertex, normal, texture +%% coordinate, edge flag, or color, you can prespecify separate arrays of vertices, normals, +%% and so on, and use them to construct a sequence of primitives with a single call to ``gl:drawElements'' +%% . +%% +%% When ``gl:drawElements'' is called, it uses `Count' sequential elements from an +%% enabled array, starting at `Indices' to construct a sequence of geometric primitives. +%% `Mode' specifies what kind of primitives are constructed and how the array elements +%% construct these primitives. If more than one array is enabled, each is used. +%% +%% Vertex attributes that are modified by ``gl:drawElements'' have an unspecified value +%% after ``gl:drawElements'' returns. Attributes that aren't modified maintain their previous +%% values. +%% +%% See external documentation. +-spec drawElements(Mode, Count, Type, Indices) -> ok when Mode :: enum(),Count :: integer(),Type :: enum(),Indices :: offset()|mem(). +drawElements(Mode,Count,Type,Indices) when is_integer(Indices) -> + cast(5200, <>); +drawElements(Mode,Count,Type,Indices) -> + send_bin(Indices), + cast(5201, <>). -%% @spec (X::float(),Y::float(),Z::float()) -> ok -%% @doc See external documentation. --spec rasterPos3d(float(),float(),float()) -> ok. -rasterPos3d(X,Y,Z) -> - cast(5229, <>). +%% @doc Simultaneously specify and enable several interleaved arrays +%% +%% ``gl:interleavedArrays'' lets you specify and enable individual color, normal, texture +%% and vertex arrays whose elements are part of a larger aggregate array element. For some +%% implementations, this is more efficient than specifying the arrays separately. +%% +%% If `Stride' is 0, the aggregate elements are stored consecutively. Otherwise, `Stride' +%% bytes occur between the beginning of one aggregate array element and the beginning of +%% the next aggregate array element. +%% +%% `Format' serves as a ``key'' describing the extraction of individual arrays from +%% the aggregate array. If `Format' contains a T, then texture coordinates are extracted +%% from the interleaved array. If C is present, color values are extracted. If N is present, +%% normal coordinates are extracted. Vertex coordinates are always extracted. +%% +%% The digits 2, 3, and 4 denote how many values are extracted. F indicates that values +%% are extracted as floating-point values. Colors may also be extracted as 4 unsigned bytes +%% if 4UB follows the C. If a color is extracted as 4 unsigned bytes, the vertex array element +%% which follows is located at the first possible floating-point aligned address. +%% +%% See external documentation. +-spec interleavedArrays(Format, Stride, Pointer) -> ok when Format :: enum(),Stride :: integer(),Pointer :: offset()|mem(). +interleavedArrays(Format,Stride,Pointer) when is_integer(Pointer) -> + cast(5202, <>); +interleavedArrays(Format,Stride,Pointer) -> + send_bin(Pointer), + cast(5203, <>). -%% @spec ({X,Y,Z}) -> ok -%% @equiv rasterPos3d(X,Y,Z) --spec rasterPos3dv({float(),float(),float()}) -> ok. -rasterPos3dv({X,Y,Z}) -> rasterPos3d(X,Y,Z). +%% @doc Select flat or smooth shading +%% +%% GL primitives can have either flat or smooth shading. Smooth shading, the default, causes +%% the computed colors of vertices to be interpolated as the primitive is rasterized, typically +%% assigning different colors to each resulting pixel fragment. Flat shading selects the +%% computed color of just one vertex and assigns it to all the pixel fragments generated +%% by rasterizing a single primitive. In either case, the computed color of a vertex is the +%% result of lighting if lighting is enabled, or it is the current color at the time the +%% vertex was specified if lighting is disabled. +%% +%% Flat and smooth shading are indistinguishable for points. Starting when {@link gl:'begin'/1} +%% is issued and counting vertices and primitives from 1, the GL gives each flat-shaded line +%% segment i the computed color of vertex i+1, its second vertex. Counting similarly +%% from 1, the GL gives each flat-shaded polygon the computed color of the vertex listed +%% in the following table. This is the last vertex to specify the polygon in all cases except +%% single polygons, where the first vertex specifies the flat-shaded color. +%% +%% +%%
` Primitive Type of Polygon ' i` Vertex '
Single polygon ( i== 1) 1
Triangle +%% strip i+2
Triangle fan i+2
Independent +%% triangle 3 i
Quad strip 2 i+2
+%% Independent quad 4 i
+%% +%% Flat and smooth shading are specified by ``gl:shadeModel'' with `Mode' set to `?GL_FLAT' +%% and `?GL_SMOOTH', respectively. +%% +%% See external documentation. +-spec shadeModel(Mode) -> ok when Mode :: enum(). +shadeModel(Mode) -> + cast(5204, <>). -%% @spec (X::float(),Y::float(),Z::float()) -> ok -%% @doc See external documentation. --spec rasterPos3f(float(),float(),float()) -> ok. -rasterPos3f(X,Y,Z) -> - cast(5230, <>). +%% @doc Set light source parameters +%% +%% ``gl:light'' sets the values of individual light source parameters. `Light' names +%% the light and is a symbolic name of the form `?GL_LIGHT' i, where i ranges from 0 +%% to the value of `?GL_MAX_LIGHTS' - 1. `Pname' specifies one of ten light source +%% parameters, again by symbolic name. `Params' is either a single value or a pointer +%% to an array that contains the new values. +%% +%% To enable and disable lighting calculation, call {@link gl:enable/1} and {@link gl:enable/1} +%% with argument `?GL_LIGHTING'. Lighting is initially disabled. When it is enabled, +%% light sources that are enabled contribute to the lighting calculation. Light source i +%% is enabled and disabled using {@link gl:enable/1} and {@link gl:enable/1} with argument `?GL_LIGHT' +%% i. +%% +%% The ten light parameters are as follows: +%% +%% `?GL_AMBIENT': `Params' contains four integer or floating-point values that +%% specify the ambient RGBA intensity of the light. Integer values are mapped linearly such +%% that the most positive representable value maps to 1.0, and the most negative representable +%% value maps to -1.0. Floating-point values are mapped directly. Neither integer nor floating-point +%% values are clamped. The initial ambient light intensity is (0, 0, 0, 1). +%% +%% `?GL_DIFFUSE': `Params' contains four integer or floating-point values that +%% specify the diffuse RGBA intensity of the light. Integer values are mapped linearly such +%% that the most positive representable value maps to 1.0, and the most negative representable +%% value maps to -1.0. Floating-point values are mapped directly. Neither integer nor floating-point +%% values are clamped. The initial value for `?GL_LIGHT0' is (1, 1, 1, 1); for other +%% lights, the initial value is (0, 0, 0, 1). +%% +%% `?GL_SPECULAR': `Params' contains four integer or floating-point values that +%% specify the specular RGBA intensity of the light. Integer values are mapped linearly such +%% that the most positive representable value maps to 1.0, and the most negative representable +%% value maps to -1.0. Floating-point values are mapped directly. Neither integer nor floating-point +%% values are clamped. The initial value for `?GL_LIGHT0' is (1, 1, 1, 1); for other +%% lights, the initial value is (0, 0, 0, 1). +%% +%% `?GL_POSITION': `Params' contains four integer or floating-point values that +%% specify the position of the light in homogeneous object coordinates. Both integer and +%% floating-point values are mapped directly. Neither integer nor floating-point values are +%% clamped. +%% +%% The position is transformed by the modelview matrix when ``gl:light'' is called (just +%% as if it were a point), and it is stored in eye coordinates. If the w component of the +%% position is 0, the light is treated as a directional source. Diffuse and specular lighting +%% calculations take the light's direction, but not its actual position, into account, and +%% attenuation is disabled. Otherwise, diffuse and specular lighting calculations are based +%% on the actual location of the light in eye coordinates, and attenuation is enabled. The +%% initial position is (0, 0, 1, 0); thus, the initial light source is directional, parallel +%% to, and in the direction of the -z axis. +%% +%% `?GL_SPOT_DIRECTION': `Params' contains three integer or floating-point values +%% that specify the direction of the light in homogeneous object coordinates. Both integer +%% and floating-point values are mapped directly. Neither integer nor floating-point values +%% are clamped. +%% +%% The spot direction is transformed by the upper 3x3 of the modelview matrix when ``gl:light'' +%% is called, and it is stored in eye coordinates. It is significant only when `?GL_SPOT_CUTOFF' +%% is not 180, which it is initially. The initial direction is (0 0 -1). +%% +%% `?GL_SPOT_EXPONENT': `Params' is a single integer or floating-point value that +%% specifies the intensity distribution of the light. Integer and floating-point values are +%% mapped directly. Only values in the range [0 128] are accepted. +%% +%% Effective light intensity is attenuated by the cosine of the angle between the direction +%% of the light and the direction from the light to the vertex being lighted, raised to the +%% power of the spot exponent. Thus, higher spot exponents result in a more focused light +%% source, regardless of the spot cutoff angle (see `?GL_SPOT_CUTOFF', next paragraph). +%% The initial spot exponent is 0, resulting in uniform light distribution. +%% +%% `?GL_SPOT_CUTOFF': `Params' is a single integer or floating-point value that +%% specifies the maximum spread angle of a light source. Integer and floating-point values +%% are mapped directly. Only values in the range [0 90] and the special value 180 are accepted. +%% If the angle between the direction of the light and the direction from the light to the +%% vertex being lighted is greater than the spot cutoff angle, the light is completely masked. +%% Otherwise, its intensity is controlled by the spot exponent and the attenuation factors. +%% The initial spot cutoff is 180, resulting in uniform light distribution. +%% +%% `?GL_CONSTANT_ATTENUATION' +%% +%% `?GL_LINEAR_ATTENUATION' +%% +%% `?GL_QUADRATIC_ATTENUATION': `Params' is a single integer or floating-point +%% value that specifies one of the three light attenuation factors. Integer and floating-point +%% values are mapped directly. Only nonnegative values are accepted. If the light is positional, +%% rather than directional, its intensity is attenuated by the reciprocal of the sum of the +%% constant factor, the linear factor times the distance between the light and the vertex +%% being lighted, and the quadratic factor times the square of the same distance. The initial +%% attenuation factors are (1, 0, 0), resulting in no attenuation. +%% +%% See external documentation. +-spec lightf(Light, Pname, Param) -> ok when Light :: enum(),Pname :: enum(),Param :: float(). +lightf(Light,Pname,Param) -> + cast(5205, <>). -%% @spec ({X,Y,Z}) -> ok -%% @equiv rasterPos3f(X,Y,Z) --spec rasterPos3fv({float(),float(),float()}) -> ok. -rasterPos3fv({X,Y,Z}) -> rasterPos3f(X,Y,Z). +%% @doc +%% See {@link lightf/3} +-spec lighti(Light, Pname, Param) -> ok when Light :: enum(),Pname :: enum(),Param :: integer(). +lighti(Light,Pname,Param) -> + cast(5206, <>). -%% @spec (X::integer(),Y::integer(),Z::integer()) -> ok -%% @doc See external documentation. --spec rasterPos3i(integer(),integer(),integer()) -> ok. -rasterPos3i(X,Y,Z) -> - cast(5231, <>). +%% @doc +%% See {@link lightf/3} +-spec lightfv(Light, Pname, Params) -> ok when Light :: enum(),Pname :: enum(),Params :: {float()}. +lightfv(Light,Pname,Params) -> + cast(5207, <> ||C <- tuple_to_list(Params)>>)/binary,0:(((1+size(Params)) rem 2)*32)>>). -%% @spec ({X,Y,Z}) -> ok -%% @equiv rasterPos3i(X,Y,Z) --spec rasterPos3iv({integer(),integer(),integer()}) -> ok. -rasterPos3iv({X,Y,Z}) -> rasterPos3i(X,Y,Z). +%% @doc +%% See {@link lightf/3} +-spec lightiv(Light, Pname, Params) -> ok when Light :: enum(),Pname :: enum(),Params :: {integer()}. +lightiv(Light,Pname,Params) -> + cast(5208, <> ||C <- tuple_to_list(Params)>>)/binary,0:(((1+size(Params)) rem 2)*32)>>). -%% @spec (X::integer(),Y::integer(),Z::integer()) -> ok -%% @doc See external documentation. --spec rasterPos3s(integer(),integer(),integer()) -> ok. -rasterPos3s(X,Y,Z) -> - cast(5232, <>). +%% @doc Return light source parameter values +%% +%% ``gl:getLight'' returns in `Params' the value or values of a light source parameter. +%% `Light' names the light and is a symbolic name of the form `?GL_LIGHT' i where +%% i ranges from 0 to the value of `?GL_MAX_LIGHTS' - 1. `?GL_MAX_LIGHTS' is an +%% implementation dependent constant that is greater than or equal to eight. `Pname' +%% specifies one of ten light source parameters, again by symbolic name. +%% +%% The following parameters are defined: +%% +%% `?GL_AMBIENT': `Params' returns four integer or floating-point values representing +%% the ambient intensity of the light source. Integer values, when requested, are linearly +%% mapped from the internal floating-point representation such that 1.0 maps to the most +%% positive representable integer value, and -1.0 maps to the most negative representable +%% integer value. If the internal value is outside the range [-1 1], the corresponding integer +%% return value is undefined. The initial value is (0, 0, 0, 1). +%% +%% `?GL_DIFFUSE': `Params' returns four integer or floating-point values representing +%% the diffuse intensity of the light source. Integer values, when requested, are linearly +%% mapped from the internal floating-point representation such that 1.0 maps to the most +%% positive representable integer value, and -1.0 maps to the most negative representable +%% integer value. If the internal value is outside the range [-1 1], the corresponding integer +%% return value is undefined. The initial value for `?GL_LIGHT0' is (1, 1, 1, 1); for +%% other lights, the initial value is (0, 0, 0, 0). +%% +%% `?GL_SPECULAR': `Params' returns four integer or floating-point values representing +%% the specular intensity of the light source. Integer values, when requested, are linearly +%% mapped from the internal floating-point representation such that 1.0 maps to the most +%% positive representable integer value, and -1.0 maps to the most negative representable +%% integer value. If the internal value is outside the range [-1 1], the corresponding integer +%% return value is undefined. The initial value for `?GL_LIGHT0' is (1, 1, 1, 1); for +%% other lights, the initial value is (0, 0, 0, 0). +%% +%% `?GL_POSITION': `Params' returns four integer or floating-point values representing +%% the position of the light source. Integer values, when requested, are computed by rounding +%% the internal floating-point values to the nearest integer value. The returned values are +%% those maintained in eye coordinates. They will not be equal to the values specified using +%% {@link gl:lightf/3} , unless the modelview matrix was identity at the time {@link gl:lightf/3} +%% was called. The initial value is (0, 0, 1, 0). +%% +%% `?GL_SPOT_DIRECTION': `Params' returns three integer or floating-point values +%% representing the direction of the light source. Integer values, when requested, are computed +%% by rounding the internal floating-point values to the nearest integer value. The returned +%% values are those maintained in eye coordinates. They will not be equal to the values specified +%% using {@link gl:lightf/3} , unless the modelview matrix was identity at the time {@link gl:lightf/3} +%% was called. Although spot direction is normalized before being used in the lighting equation, +%% the returned values are the transformed versions of the specified values prior to normalization. +%% The initial value is (0 0 -1). +%% +%% `?GL_SPOT_EXPONENT': `Params' returns a single integer or floating-point value +%% representing the spot exponent of the light. An integer value, when requested, is computed +%% by rounding the internal floating-point representation to the nearest integer. The initial +%% value is 0. +%% +%% `?GL_SPOT_CUTOFF': `Params' returns a single integer or floating-point value +%% representing the spot cutoff angle of the light. An integer value, when requested, is +%% computed by rounding the internal floating-point representation to the nearest integer. +%% The initial value is 180. +%% +%% `?GL_CONSTANT_ATTENUATION': `Params' returns a single integer or floating-point +%% value representing the constant (not distance-related) attenuation of the light. An integer +%% value, when requested, is computed by rounding the internal floating-point representation +%% to the nearest integer. The initial value is 1. +%% +%% `?GL_LINEAR_ATTENUATION': `Params' returns a single integer or floating-point +%% value representing the linear attenuation of the light. An integer value, when requested, +%% is computed by rounding the internal floating-point representation to the nearest integer. +%% The initial value is 0. +%% +%% `?GL_QUADRATIC_ATTENUATION': `Params' returns a single integer or floating-point +%% value representing the quadratic attenuation of the light. An integer value, when requested, +%% is computed by rounding the internal floating-point representation to the nearest integer. +%% The initial value is 0. +%% +%% See external documentation. +-spec getLightfv(Light, Pname) -> {float(),float(),float(),float()} when Light :: enum(),Pname :: enum(). +getLightfv(Light,Pname) -> + call(5209, <>). -%% @spec ({X,Y,Z}) -> ok -%% @equiv rasterPos3s(X,Y,Z) --spec rasterPos3sv({integer(),integer(),integer()}) -> ok. -rasterPos3sv({X,Y,Z}) -> rasterPos3s(X,Y,Z). +%% @doc +%% See {@link getLightfv/2} +-spec getLightiv(Light, Pname) -> {integer(),integer(),integer(),integer()} when Light :: enum(),Pname :: enum(). +getLightiv(Light,Pname) -> + call(5210, <>). -%% @spec (X::float(),Y::float(),Z::float(),W::float()) -> ok -%% @doc See external documentation. --spec rasterPos4d(float(),float(),float(),float()) -> ok. -rasterPos4d(X,Y,Z,W) -> - cast(5233, <>). +%% @doc Set the lighting model parameters +%% +%% ``gl:lightModel'' sets the lighting model parameter. `Pname' names a parameter +%% and `Params' gives the new value. There are three lighting model parameters: +%% +%% `?GL_LIGHT_MODEL_AMBIENT': `Params' contains four integer or floating-point +%% values that specify the ambient RGBA intensity of the entire scene. Integer values are +%% mapped linearly such that the most positive representable value maps to 1.0, and the most +%% negative representable value maps to -1.0. Floating-point values are mapped directly. +%% Neither integer nor floating-point values are clamped. The initial ambient scene intensity +%% is (0.2, 0.2, 0.2, 1.0). +%% +%% `?GL_LIGHT_MODEL_COLOR_CONTROL': `Params' must be either `?GL_SEPARATE_SPECULAR_COLOR' +%% or `?GL_SINGLE_COLOR'. `?GL_SINGLE_COLOR' specifies that a single color is +%% generated from the lighting computation for a vertex. `?GL_SEPARATE_SPECULAR_COLOR' +%% specifies that the specular color computation of lighting be stored separately from the +%% remainder of the lighting computation. The specular color is summed into the generated +%% fragment's color after the application of texture mapping (if enabled). The initial value +%% is `?GL_SINGLE_COLOR'. +%% +%% `?GL_LIGHT_MODEL_LOCAL_VIEWER': `Params' is a single integer or floating-point +%% value that specifies how specular reflection angles are computed. If `Params' is +%% 0 (or 0.0), specular reflection angles take the view direction to be parallel to and in +%% the direction of the -`z' axis, regardless of the location of the vertex in eye coordinates. +%% Otherwise, specular reflections are computed from the origin of the eye coordinate system. +%% The initial value is 0. +%% +%% `?GL_LIGHT_MODEL_TWO_SIDE': `Params' is a single integer or floating-point value +%% that specifies whether one- or two-sided lighting calculations are done for polygons. +%% It has no effect on the lighting calculations for points, lines, or bitmaps. If `Params' +%% is 0 (or 0.0), one-sided lighting is specified, and only the `front' material parameters +%% are used in the lighting equation. Otherwise, two-sided lighting is specified. In this +%% case, vertices of back-facing polygons are lighted using the `back' material parameters +%% and have their normals reversed before the lighting equation is evaluated. Vertices of +%% front-facing polygons are always lighted using the `front' material parameters, with +%% no change to their normals. The initial value is 0. +%% +%% In RGBA mode, the lighted color of a vertex is the sum of the material emission intensity, +%% the product of the material ambient reflectance and the lighting model full-scene ambient +%% intensity, and the contribution of each enabled light source. Each light source contributes +%% the sum of three terms: ambient, diffuse, and specular. The ambient light source contribution +%% is the product of the material ambient reflectance and the light's ambient intensity. +%% The diffuse light source contribution is the product of the material diffuse reflectance, +%% the light's diffuse intensity, and the dot product of the vertex's normal with the normalized +%% vector from the vertex to the light source. The specular light source contribution is +%% the product of the material specular reflectance, the light's specular intensity, and +%% the dot product of the normalized vertex-to-eye and vertex-to-light vectors, raised to +%% the power of the shininess of the material. All three light source contributions are attenuated +%% equally based on the distance from the vertex to the light source and on light source +%% direction, spread exponent, and spread cutoff angle. All dot products are replaced with +%% 0 if they evaluate to a negative value. +%% +%% The alpha component of the resulting lighted color is set to the alpha value of the material +%% diffuse reflectance. +%% +%% In color index mode, the value of the lighted index of a vertex ranges from the ambient +%% to the specular values passed to {@link gl:materialf/3} using `?GL_COLOR_INDEXES'. +%% Diffuse and specular coefficients, computed with a (.30, .59, .11) weighting of the lights' +%% colors, the shininess of the material, and the same reflection and attenuation equations +%% as in the RGBA case, determine how much above ambient the resulting index is. +%% +%% See external documentation. +-spec lightModelf(Pname, Param) -> ok when Pname :: enum(),Param :: float(). +lightModelf(Pname,Param) -> + cast(5211, <>). -%% @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). +%% @doc +%% See {@link lightModelf/2} +-spec lightModeli(Pname, Param) -> ok when Pname :: enum(),Param :: integer(). +lightModeli(Pname,Param) -> + cast(5212, <>). -%% @spec (X::float(),Y::float(),Z::float(),W::float()) -> ok -%% @doc See external documentation. --spec rasterPos4f(float(),float(),float(),float()) -> ok. -rasterPos4f(X,Y,Z,W) -> - cast(5234, <>). +%% @doc +%% See {@link lightModelf/2} +-spec lightModelfv(Pname, Params) -> ok when Pname :: enum(),Params :: {float()}. +lightModelfv(Pname,Params) -> + cast(5213, <> ||C <- tuple_to_list(Params)>>)/binary,0:(((0+size(Params)) rem 2)*32)>>). -%% @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). +%% @doc +%% See {@link lightModelf/2} +-spec lightModeliv(Pname, Params) -> ok when Pname :: enum(),Params :: {integer()}. +lightModeliv(Pname,Params) -> + cast(5214, <> ||C <- tuple_to_list(Params)>>)/binary,0:(((0+size(Params)) rem 2)*32)>>). -%% @spec (X::integer(),Y::integer(),Z::integer(),W::integer()) -> ok -%% @doc See external documentation. --spec rasterPos4i(integer(),integer(),integer(),integer()) -> ok. -rasterPos4i(X,Y,Z,W) -> - cast(5235, <>). +%% @doc Specify material parameters for the lighting model +%% +%% ``gl:material'' assigns values to material parameters. There are two matched sets of +%% material parameters. One, the `front-facing' set, is used to shade points, lines, +%% bitmaps, and all polygons (when two-sided lighting is disabled), or just front-facing +%% polygons (when two-sided lighting is enabled). The other set, `back-facing', is used +%% to shade back-facing polygons only when two-sided lighting is enabled. Refer to the {@link gl:lightModelf/2} +%% reference page for details concerning one- and two-sided lighting calculations. +%% +%% ``gl:material'' takes three arguments. The first, `Face' , specifies whether the `?GL_FRONT' +%% materials, the `?GL_BACK' materials, or both `?GL_FRONT_AND_BACK' materials +%% will be modified. The second, `Pname' , specifies which of several parameters in one +%% or both sets will be modified. The third, `Params' , specifies what value or values +%% will be assigned to the specified parameter. +%% +%% Material parameters are used in the lighting equation that is optionally applied to each +%% vertex. The equation is discussed in the {@link gl:lightModelf/2} reference page. The parameters +%% that can be specified using ``gl:material'', and their interpretations by the lighting +%% equation, are as follows: +%% +%% `?GL_AMBIENT': `Params' contains four integer or floating-point values that +%% specify the ambient RGBA reflectance of the material. Integer values are mapped linearly +%% such that the most positive representable value maps to 1.0, and the most negative representable +%% value maps to -1.0. Floating-point values are mapped directly. Neither integer nor floating-point +%% values are clamped. The initial ambient reflectance for both front- and back-facing materials +%% is (0.2, 0.2, 0.2, 1.0). +%% +%% `?GL_DIFFUSE': `Params' contains four integer or floating-point values that +%% specify the diffuse RGBA reflectance of the material. Integer values are mapped linearly +%% such that the most positive representable value maps to 1.0, and the most negative representable +%% value maps to -1.0. Floating-point values are mapped directly. Neither integer nor floating-point +%% values are clamped. The initial diffuse reflectance for both front- and back-facing materials +%% is (0.8, 0.8, 0.8, 1.0). +%% +%% `?GL_SPECULAR': `Params' contains four integer or floating-point values that +%% specify the specular RGBA reflectance of the material. Integer values are mapped linearly +%% such that the most positive representable value maps to 1.0, and the most negative representable +%% value maps to -1.0. Floating-point values are mapped directly. Neither integer nor floating-point +%% values are clamped. The initial specular reflectance for both front- and back-facing materials +%% is (0, 0, 0, 1). +%% +%% `?GL_EMISSION': `Params' contains four integer or floating-point values that +%% specify the RGBA emitted light intensity of the material. Integer values are mapped linearly +%% such that the most positive representable value maps to 1.0, and the most negative representable +%% value maps to -1.0. Floating-point values are mapped directly. Neither integer nor floating-point +%% values are clamped. The initial emission intensity for both front- and back-facing materials +%% is (0, 0, 0, 1). +%% +%% `?GL_SHININESS': `Params' is a single integer or floating-point value that specifies +%% the RGBA specular exponent of the material. Integer and floating-point values are mapped +%% directly. Only values in the range [0 128] are accepted. The initial specular exponent for both +%% front- and back-facing materials is 0. +%% +%% `?GL_AMBIENT_AND_DIFFUSE': Equivalent to calling ``gl:material'' twice with the +%% same parameter values, once with `?GL_AMBIENT' and once with `?GL_DIFFUSE'. +%% +%% `?GL_COLOR_INDEXES': `Params' contains three integer or floating-point values +%% specifying the color indices for ambient, diffuse, and specular lighting. These three +%% values, and `?GL_SHININESS', are the only material values used by the color index +%% mode lighting equation. Refer to the {@link gl:lightModelf/2} reference page for a discussion +%% of color index lighting. +%% +%% See external documentation. +-spec materialf(Face, Pname, Param) -> ok when Face :: enum(),Pname :: enum(),Param :: float(). +materialf(Face,Pname,Param) -> + cast(5215, <>). -%% @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). +%% @doc +%% See {@link materialf/3} +-spec materiali(Face, Pname, Param) -> ok when Face :: enum(),Pname :: enum(),Param :: integer(). +materiali(Face,Pname,Param) -> + cast(5216, <>). -%% @spec (X::integer(),Y::integer(),Z::integer(),W::integer()) -> ok -%% @doc See external documentation. --spec rasterPos4s(integer(),integer(),integer(),integer()) -> ok. -rasterPos4s(X,Y,Z,W) -> - cast(5236, <>). +%% @doc +%% See {@link materialf/3} +-spec materialfv(Face, Pname, Params) -> ok when Face :: enum(),Pname :: enum(),Params :: {float()}. +materialfv(Face,Pname,Params) -> + cast(5217, <> ||C <- tuple_to_list(Params)>>)/binary,0:(((1+size(Params)) rem 2)*32)>>). -%% @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). +%% @doc +%% See {@link materialf/3} +-spec materialiv(Face, Pname, Params) -> ok when Face :: enum(),Pname :: enum(),Params :: {integer()}. +materialiv(Face,Pname,Params) -> + cast(5218, <> ||C <- tuple_to_list(Params)>>)/binary,0:(((1+size(Params)) rem 2)*32)>>). -%% @spec (Mode::enum()) -> ok -%% @doc See external documentation. --spec readBuffer(enum()) -> ok. -readBuffer(Mode) -> - cast(5237, <>). +%% @doc Return material parameters +%% +%% ``gl:getMaterial'' returns in `Params' the value or values of parameter `Pname' +%% of material `Face' . Six parameters are defined: +%% +%% `?GL_AMBIENT': `Params' returns four integer or floating-point values representing +%% the ambient reflectance of the material. Integer values, when requested, are linearly +%% mapped from the internal floating-point representation such that 1.0 maps to the most +%% positive representable integer value, and -1.0 maps to the most negative representable +%% integer value. If the internal value is outside the range [-1 1], the corresponding integer +%% return value is undefined. The initial value is (0.2, 0.2, 0.2, 1.0) +%% +%% `?GL_DIFFUSE': `Params' returns four integer or floating-point values representing +%% the diffuse reflectance of the material. Integer values, when requested, are linearly +%% mapped from the internal floating-point representation such that 1.0 maps to the most +%% positive representable integer value, and -1.0 maps to the most negative representable +%% integer value. If the internal value is outside the range [-1 1], the corresponding integer +%% return value is undefined. The initial value is (0.8, 0.8, 0.8, 1.0). +%% +%% `?GL_SPECULAR': `Params' returns four integer or floating-point values representing +%% the specular reflectance of the material. Integer values, when requested, are linearly +%% mapped from the internal floating-point representation such that 1.0 maps to the most +%% positive representable integer value, and -1.0 maps to the most negative representable +%% integer value. If the internal value is outside the range [-1 1], the corresponding integer +%% return value is undefined. The initial value is (0, 0, 0, 1). +%% +%% `?GL_EMISSION': `Params' returns four integer or floating-point values representing +%% the emitted light intensity of the material. Integer values, when requested, are linearly +%% mapped from the internal floating-point representation such that 1.0 maps to the most +%% positive representable integer value, and -1.0 maps to the most negative representable +%% integer value. If the internal value is outside the range [-1 1], the corresponding integer +%% return value is undefined. The initial value is (0, 0, 0, 1). +%% +%% `?GL_SHININESS': `Params' returns one integer or floating-point value representing +%% the specular exponent of the material. Integer values, when requested, are computed by +%% rounding the internal floating-point value to the nearest integer value. The initial value +%% is 0. +%% +%% `?GL_COLOR_INDEXES': `Params' returns three integer or floating-point values +%% representing the ambient, diffuse, and specular indices of the material. These indices +%% are used only for color index lighting. (All the other parameters are used only for RGBA +%% lighting.) Integer values, when requested, are computed by rounding the internal floating-point +%% values to the nearest integer values. +%% +%% See external documentation. +-spec getMaterialfv(Face, Pname) -> {float(),float(),float(),float()} when Face :: enum(),Pname :: enum(). +getMaterialfv(Face,Pname) -> + call(5219, <>). -%% @spec (X::integer(),Y::integer(),Width::integer(),Height::integer(),Format::enum(),Type::enum(),Pixels::mem()) -> ok -%% @doc See external documentation. --spec readPixels(integer(),integer(),integer(),integer(),enum(),enum(),mem()) -> ok. -readPixels(X,Y,Width,Height,Format,Type,Pixels) -> - send_bin(Pixels), - call(5238, <>). +%% @doc +%% See {@link getMaterialfv/2} +-spec getMaterialiv(Face, Pname) -> {integer(),integer(),integer(),integer()} when Face :: enum(),Pname :: enum(). +getMaterialiv(Face,Pname) -> + call(5220, <>). -%% @spec (X1::float(),Y1::float(),X2::float(),Y2::float()) -> ok -%% @doc See external documentation. --spec rectd(float(),float(),float(),float()) -> ok. -rectd(X1,Y1,X2,Y2) -> - cast(5239, <>). +%% @doc Cause a material color to track the current color +%% +%% ``gl:colorMaterial'' specifies which material parameters track the current color. When `?GL_COLOR_MATERIAL' +%% is enabled, the material parameter or parameters specified by `Mode' , of the material +%% or materials specified by `Face' , track the current color at all times. +%% +%% To enable and disable `?GL_COLOR_MATERIAL', call {@link gl:enable/1} and {@link gl:enable/1} +%% with argument `?GL_COLOR_MATERIAL'. `?GL_COLOR_MATERIAL' is initially disabled. +%% +%% +%% See external documentation. +-spec colorMaterial(Face, Mode) -> ok when Face :: enum(),Mode :: enum(). +colorMaterial(Face,Mode) -> + cast(5221, <>). -%% @spec (V1::{float(),float()},V2::{float(),float()}) -> ok -%% @doc See external documentation. --spec rectdv({float(),float()},{float(),float()}) -> ok. -rectdv({V1,V2},{V1,V2}) -> - cast(5240, <>). +%% @doc Specify the pixel zoom factors +%% +%% ``gl:pixelZoom'' specifies values for the x and y zoom factors. During the execution +%% of {@link gl:drawPixels/5} or {@link gl:copyPixels/5} , if ( xr, yr) is the current raster +%% position, and a given element is in the mth row and nth column of the pixel rectangle, +%% then pixels whose centers are in the rectangle with corners at +%% +%% ( xr+n. xfactor, yr+m. yfactor) +%% +%% ( xr+(n+1). xfactor, yr+(m+1). yfactor) +%% +%% are candidates for replacement. Any pixel whose center lies on the bottom or left edge +%% of this rectangular region is also modified. +%% +%% Pixel zoom factors are not limited to positive values. Negative zoom factors reflect +%% the resulting image about the current raster position. +%% +%% See external documentation. +-spec pixelZoom(Xfactor, Yfactor) -> ok when Xfactor :: float(),Yfactor :: float(). +pixelZoom(Xfactor,Yfactor) -> + cast(5222, <>). -%% @spec (X1::float(),Y1::float(),X2::float(),Y2::float()) -> ok -%% @doc See external documentation. --spec rectf(float(),float(),float(),float()) -> ok. -rectf(X1,Y1,X2,Y2) -> - cast(5241, <>). +%% @doc Set pixel storage modes +%% +%% ``gl:pixelStore'' sets pixel storage modes that affect the operation of subsequent {@link gl:readPixels/7} +%% as well as the unpacking of texture patterns (see {@link gl:texImage1D/8} , {@link gl:texImage2D/9} +%% , {@link gl:texImage3D/10} , {@link gl:texSubImage1D/7} , {@link gl:texSubImage1D/7} , {@link gl:texSubImage1D/7} +%% ), {@link gl:compressedTexImage1D/7} , {@link gl:compressedTexImage2D/8} , {@link gl:compressedTexImage3D/9} +%% , {@link gl:compressedTexSubImage1D/7} , {@link gl:compressedTexSubImage2D/9} or {@link gl:compressedTexSubImage1D/7} +%% . +%% +%% `Pname' is a symbolic constant indicating the parameter to be set, and `Param' +%% is the new value. Six of the twelve storage parameters affect how pixel data is returned +%% to client memory. They are as follows: +%% +%% `?GL_PACK_SWAP_BYTES': If true, byte ordering for multibyte color components, depth +%% components, or stencil indices is reversed. That is, if a four-byte component consists +%% of bytes b 0, b 1, b 2, b 3, it is stored in memory as b 3, b 2, b 1, b 0 if `?GL_PACK_SWAP_BYTES' +%% is true. `?GL_PACK_SWAP_BYTES' has no effect on the memory order of components within +%% a pixel, only on the order of bytes within components or indices. For example, the three +%% components of a `?GL_RGB' format pixel are always stored with red first, green second, +%% and blue third, regardless of the value of `?GL_PACK_SWAP_BYTES'. +%% +%% `?GL_PACK_LSB_FIRST': If true, bits are ordered within a byte from least significant +%% to most significant; otherwise, the first bit in each byte is the most significant one. +%% +%% `?GL_PACK_ROW_LENGTH': If greater than 0, `?GL_PACK_ROW_LENGTH' defines the +%% number of pixels in a row. If the first pixel of a row is placed at location p in memory, +%% then the location of the first pixel of the next row is obtained by skipping +%% +%% k={n l(a/s) |(s n l)/a| s>= a s< a) +%% +%% components or indices, where n is the number of components or indices in a pixel, l +%% is the number of pixels in a row (`?GL_PACK_ROW_LENGTH' if it is greater than 0, +%% the width argument to the pixel routine otherwise), a is the value of `?GL_PACK_ALIGNMENT' +%% , and s is the size, in bytes, of a single component (if a< s, then it is as if a= +%% s). In the case of 1-bit values, the location of the next row is obtained by skipping +%% +%% k= 8 a |(n l)/(8 a)| +%% +%% components or indices. +%% +%% The word `component' in this description refers to the nonindex values red, green, +%% blue, alpha, and depth. Storage format `?GL_RGB', for example, has three components +%% per pixel: first red, then green, and finally blue. +%% +%% `?GL_PACK_IMAGE_HEIGHT': If greater than 0, `?GL_PACK_IMAGE_HEIGHT' defines +%% the number of pixels in an image three-dimensional texture volume, where ``image'' is +%% defined by all pixels sharing the same third dimension index. If the first pixel of a +%% row is placed at location p in memory, then the location of the first pixel of the next +%% row is obtained by skipping +%% +%% k={n l h(a/s) |(s n l h)/a| s>= a s< a) +%% +%% components or indices, where n is the number of components or indices in a pixel, l +%% is the number of pixels in a row (`?GL_PACK_ROW_LENGTH' if it is greater than 0, +%% the width argument to {@link gl:texImage3D/10} otherwise), h is the number of rows in +%% a pixel image (`?GL_PACK_IMAGE_HEIGHT' if it is greater than 0, the height argument +%% to the {@link gl:texImage3D/10} routine otherwise), a is the value of `?GL_PACK_ALIGNMENT' +%% , and s is the size, in bytes, of a single component (if a< s, then it is as if +%% a= s). +%% +%% The word `component' in this description refers to the nonindex values red, green, +%% blue, alpha, and depth. Storage format `?GL_RGB', for example, has three components +%% per pixel: first red, then green, and finally blue. +%% +%% `?GL_PACK_SKIP_PIXELS', `?GL_PACK_SKIP_ROWS', and `?GL_PACK_SKIP_IMAGES' +%% +%% These values are provided as a convenience to the programmer; they provide no functionality +%% that cannot be duplicated simply by incrementing the pointer passed to {@link gl:readPixels/7} +%% . Setting `?GL_PACK_SKIP_PIXELS' to i is equivalent to incrementing the pointer +%% by i n components or indices, where n is the number of components or indices in each +%% pixel. Setting `?GL_PACK_SKIP_ROWS' to j is equivalent to incrementing the pointer +%% by j m components or indices, where m is the number of components or indices per +%% row, as just computed in the `?GL_PACK_ROW_LENGTH' section. Setting `?GL_PACK_SKIP_IMAGES' +%% to k is equivalent to incrementing the pointer by k p, where p is the number of +%% components or indices per image, as computed in the `?GL_PACK_IMAGE_HEIGHT' section. +%% +%% +%% `?GL_PACK_ALIGNMENT': Specifies the alignment requirements for the start of each +%% pixel row in memory. The allowable values are 1 (byte-alignment), 2 (rows aligned to even-numbered +%% bytes), 4 (word-alignment), and 8 (rows start on double-word boundaries). +%% +%% The other six of the twelve storage parameters affect how pixel data is read from client +%% memory. These values are significant for {@link gl:texImage1D/8} , {@link gl:texImage2D/9} , {@link gl:texImage3D/10} +%% , {@link gl:texSubImage1D/7} , {@link gl:texSubImage1D/7} , and {@link gl:texSubImage1D/7} +%% +%% They are as follows: +%% +%% `?GL_UNPACK_SWAP_BYTES': If true, byte ordering for multibyte color components, +%% depth components, or stencil indices is reversed. That is, if a four-byte component consists +%% of bytes b 0, b 1, b 2, b 3, it is taken from memory as b 3, b 2, b 1, b 0 if `?GL_UNPACK_SWAP_BYTES' +%% is true. `?GL_UNPACK_SWAP_BYTES' has no effect on the memory order of components +%% within a pixel, only on the order of bytes within components or indices. For example, +%% the three components of a `?GL_RGB' format pixel are always stored with red first, +%% green second, and blue third, regardless of the value of `?GL_UNPACK_SWAP_BYTES'. +%% +%% `?GL_UNPACK_LSB_FIRST': If true, bits are ordered within a byte from least significant +%% to most significant; otherwise, the first bit in each byte is the most significant one. +%% +%% `?GL_UNPACK_ROW_LENGTH': If greater than 0, `?GL_UNPACK_ROW_LENGTH' defines +%% the number of pixels in a row. If the first pixel of a row is placed at location p in +%% memory, then the location of the first pixel of the next row is obtained by skipping +%% +%% k={n l(a/s) |(s n l)/a| s>= a s< a) +%% +%% components or indices, where n is the number of components or indices in a pixel, l +%% is the number of pixels in a row (`?GL_UNPACK_ROW_LENGTH' if it is greater than 0, +%% the width argument to the pixel routine otherwise), a is the value of `?GL_UNPACK_ALIGNMENT' +%% , and s is the size, in bytes, of a single component (if a< s, then it is as if a= +%% s). In the case of 1-bit values, the location of the next row is obtained by skipping +%% +%% k= 8 a |(n l)/(8 a)| +%% +%% components or indices. +%% +%% The word `component' in this description refers to the nonindex values red, green, +%% blue, alpha, and depth. Storage format `?GL_RGB', for example, has three components +%% per pixel: first red, then green, and finally blue. +%% +%% `?GL_UNPACK_IMAGE_HEIGHT': If greater than 0, `?GL_UNPACK_IMAGE_HEIGHT' defines +%% the number of pixels in an image of a three-dimensional texture volume. Where ``image'' +%% is defined by all pixel sharing the same third dimension index. If the first pixel of +%% a row is placed at location p in memory, then the location of the first pixel of the +%% next row is obtained by skipping +%% +%% k={n l h(a/s) |(s n l h)/a| s>= a s< a) +%% +%% components or indices, where n is the number of components or indices in a pixel, l +%% is the number of pixels in a row (`?GL_UNPACK_ROW_LENGTH' if it is greater than 0, +%% the width argument to {@link gl:texImage3D/10} otherwise), h is the number of rows in +%% an image (`?GL_UNPACK_IMAGE_HEIGHT' if it is greater than 0, the height argument +%% to {@link gl:texImage3D/10} otherwise), a is the value of `?GL_UNPACK_ALIGNMENT', +%% and s is the size, in bytes, of a single component (if a< s, then it is as if a= +%% s). +%% +%% The word `component' in this description refers to the nonindex values red, green, +%% blue, alpha, and depth. Storage format `?GL_RGB', for example, has three components +%% per pixel: first red, then green, and finally blue. +%% +%% `?GL_UNPACK_SKIP_PIXELS' and `?GL_UNPACK_SKIP_ROWS' +%% +%% These values are provided as a convenience to the programmer; they provide no functionality +%% that cannot be duplicated by incrementing the pointer passed to {@link gl:texImage1D/8} , {@link gl:texImage2D/9} +%% , {@link gl:texSubImage1D/7} or {@link gl:texSubImage1D/7} . Setting `?GL_UNPACK_SKIP_PIXELS' +%% to i is equivalent to incrementing the pointer by i n components or indices, where +%% n is the number of components or indices in each pixel. Setting `?GL_UNPACK_SKIP_ROWS' +%% to j is equivalent to incrementing the pointer by j k components or indices, where +%% k is the number of components or indices per row, as just computed in the `?GL_UNPACK_ROW_LENGTH' +%% section. +%% +%% `?GL_UNPACK_ALIGNMENT': Specifies the alignment requirements for the start of each +%% pixel row in memory. The allowable values are 1 (byte-alignment), 2 (rows aligned to even-numbered +%% bytes), 4 (word-alignment), and 8 (rows start on double-word boundaries). +%% +%% The following table gives the type, initial value, and range of valid values for each +%% storage parameter that can be set with ``gl:pixelStore''. +%% +%% +%% +%% +%% +%%
`Pname' ` Type '` Initial Value '` Valid Range '
`?GL_PACK_SWAP_BYTES' +%% boolean false true or false
`?GL_PACK_LSB_FIRST' +%% boolean false true or false
`?GL_PACK_ROW_LENGTH' +%% integer 0 [0)
`?GL_PACK_IMAGE_HEIGHT' integer 0 [0)
`?GL_PACK_SKIP_ROWS' +%% integer 0 [0)
`?GL_PACK_SKIP_PIXELS' integer +%% 0 [0)
`?GL_PACK_SKIP_IMAGES' integer +%% 0 [0)
`?GL_PACK_ALIGNMENT' integer 4 1, 2, 4, or 8
`?GL_UNPACK_SWAP_BYTES' boolean +%% false true or false
`?GL_UNPACK_LSB_FIRST' +%% boolean false true or false
`?GL_UNPACK_ROW_LENGTH' +%% integer 0 [0)
`?GL_UNPACK_IMAGE_HEIGHT' integer 0 [0)
`?GL_UNPACK_SKIP_ROWS' +%% integer 0 [0)
`?GL_UNPACK_SKIP_PIXELS' +%% integer 0 [0)
`?GL_UNPACK_SKIP_IMAGES' +%% integer 0 [0)
`?GL_UNPACK_ALIGNMENT' integer +%% 4 1, 2, 4, or 8
+%% +%% ``gl:pixelStoref'' can be used to set any pixel store parameter. If the parameter type +%% is boolean, then if `Param' is 0, the parameter is false; otherwise it is set to +%% true. If `Pname' is a integer type parameter, `Param' is rounded to the nearest +%% integer. +%% +%% Likewise, ``gl:pixelStorei'' can also be used to set any of the pixel store parameters. +%% Boolean parameters are set to false if `Param' is 0 and true otherwise. +%% +%% See external documentation. +-spec pixelStoref(Pname, Param) -> ok when Pname :: enum(),Param :: float(). +pixelStoref(Pname,Param) -> + cast(5223, <>). -%% @spec (V1::{float(),float()},V2::{float(),float()}) -> ok -%% @doc See external documentation. --spec rectfv({float(),float()},{float(),float()}) -> ok. -rectfv({V1,V2},{V1,V2}) -> - cast(5242, <>). +%% @doc +%% See {@link pixelStoref/2} +-spec pixelStorei(Pname, Param) -> ok when Pname :: enum(),Param :: integer(). +pixelStorei(Pname,Param) -> + cast(5224, <>). -%% @spec (X1::integer(),Y1::integer(),X2::integer(),Y2::integer()) -> ok -%% @doc See external documentation. --spec recti(integer(),integer(),integer(),integer()) -> ok. -recti(X1,Y1,X2,Y2) -> - cast(5243, <>). +%% @doc Set pixel transfer modes +%% +%% ``gl:pixelTransfer'' sets pixel transfer modes that affect the operation of subsequent {@link gl:copyPixels/5} +%% , {@link gl:copyTexImage1D/7} , {@link gl:copyTexImage2D/8} , {@link gl:copyTexSubImage1D/6} , {@link gl:copyTexSubImage2D/8} +%% , {@link gl:copyTexSubImage3D/9} , {@link gl:drawPixels/5} , {@link gl:readPixels/7} , {@link gl:texImage1D/8} +%% , {@link gl:texImage2D/9} , {@link gl:texImage3D/10} , {@link gl:texSubImage1D/7} , {@link gl:texSubImage1D/7} +%% , and {@link gl:texSubImage1D/7} commands. Additionally, if the ARB_imaging subset is supported, +%% the routines {@link gl:colorTable/6} , {@link gl:colorSubTable/6} , {@link gl:convolutionFilter1D/6} +%% , {@link gl:convolutionFilter2D/7} , {@link gl:histogram/4} , {@link gl:minmax/3} , and {@link gl:separableFilter2D/8} +%% are also affected. The algorithms that are specified by pixel transfer modes operate +%% on pixels after they are read from the frame buffer ( {@link gl:copyPixels/5} {@link gl:copyTexImage1D/7} +%% , {@link gl:copyTexImage2D/8} , {@link gl:copyTexSubImage1D/6} , {@link gl:copyTexSubImage2D/8} , +%% {@link gl:copyTexSubImage3D/9} , and {@link gl:readPixels/7} ), or unpacked from client memory +%% ( {@link gl:drawPixels/5} , {@link gl:texImage1D/8} , {@link gl:texImage2D/9} , {@link gl:texImage3D/10} +%% , {@link gl:texSubImage1D/7} , {@link gl:texSubImage1D/7} , and {@link gl:texSubImage1D/7} ). +%% Pixel transfer operations happen in the same order, and in the same manner, regardless +%% of the command that resulted in the pixel operation. Pixel storage modes (see {@link gl:pixelStoref/2} +%% ) control the unpacking of pixels being read from client memory and the packing of pixels +%% being written back into client memory. +%% +%% Pixel transfer operations handle four fundamental pixel types: `color', `color index' +%% , `depth', and `stencil'. `Color' pixels consist of four floating-point +%% values with unspecified mantissa and exponent sizes, scaled such that 0 represents zero +%% intensity and 1 represents full intensity. `Color indices' comprise a single fixed-point +%% value, with unspecified precision to the right of the binary point. `Depth' pixels +%% comprise a single floating-point value, with unspecified mantissa and exponent sizes, +%% scaled such that 0.0 represents the minimum depth buffer value, and 1.0 represents the +%% maximum depth buffer value. Finally, `stencil' pixels comprise a single fixed-point +%% value, with unspecified precision to the right of the binary point. +%% +%% The pixel transfer operations performed on the four basic pixel types are as follows: +%% +%% `Color': Each of the four color components is multiplied by a scale factor, then +%% added to a bias factor. That is, the red component is multiplied by `?GL_RED_SCALE', +%% then added to `?GL_RED_BIAS'; the green component is multiplied by `?GL_GREEN_SCALE' +%% , then added to `?GL_GREEN_BIAS'; the blue component is multiplied by `?GL_BLUE_SCALE' +%% , then added to `?GL_BLUE_BIAS'; and the alpha component is multiplied by `?GL_ALPHA_SCALE' +%% , then added to `?GL_ALPHA_BIAS'. After all four color components are scaled and +%% biased, each is clamped to the range [0 1]. All color, scale, and bias values are specified +%% with ``gl:pixelTransfer''. +%% +%% If `?GL_MAP_COLOR' is true, each color component is scaled by the size of the corresponding +%% color-to-color map, then replaced by the contents of that map indexed by the scaled component. +%% That is, the red component is scaled by `?GL_PIXEL_MAP_R_TO_R_SIZE', then replaced +%% by the contents of `?GL_PIXEL_MAP_R_TO_R' indexed by itself. The green component +%% is scaled by `?GL_PIXEL_MAP_G_TO_G_SIZE', then replaced by the contents of `?GL_PIXEL_MAP_G_TO_G' +%% indexed by itself. The blue component is scaled by `?GL_PIXEL_MAP_B_TO_B_SIZE', +%% then replaced by the contents of `?GL_PIXEL_MAP_B_TO_B' indexed by itself. And the +%% alpha component is scaled by `?GL_PIXEL_MAP_A_TO_A_SIZE', then replaced by the contents +%% of `?GL_PIXEL_MAP_A_TO_A' indexed by itself. All components taken from the maps are +%% then clamped to the range [0 1]. `?GL_MAP_COLOR' is specified with ``gl:pixelTransfer''. +%% The contents of the various maps are specified with {@link gl:pixelMapfv/3} . +%% +%% If the ARB_imaging extension is supported, each of the four color components may be scaled +%% and biased after transformation by the color matrix. That is, the red component is multiplied +%% by `?GL_POST_COLOR_MATRIX_RED_SCALE', then added to `?GL_POST_COLOR_MATRIX_RED_BIAS' +%% ; the green component is multiplied by `?GL_POST_COLOR_MATRIX_GREEN_SCALE', then +%% added to `?GL_POST_COLOR_MATRIX_GREEN_BIAS'; the blue component is multiplied by `?GL_POST_COLOR_MATRIX_BLUE_SCALE' +%% , then added to `?GL_POST_COLOR_MATRIX_BLUE_BIAS'; and the alpha component is multiplied +%% by `?GL_POST_COLOR_MATRIX_ALPHA_SCALE', then added to `?GL_POST_COLOR_MATRIX_ALPHA_BIAS' +%% . After all four color components are scaled and biased, each is clamped to the range [0 +%% 1]. +%% +%% Similarly, if the ARB_imaging extension is supported, each of the four color components +%% may be scaled and biased after processing by the enabled convolution filter. That is, +%% the red component is multiplied by `?GL_POST_CONVOLUTION_RED_SCALE', then added to `?GL_POST_CONVOLUTION_RED_BIAS' +%% ; the green component is multiplied by `?GL_POST_CONVOLUTION_GREEN_SCALE', then added +%% to `?GL_POST_CONVOLUTION_GREEN_BIAS'; the blue component is multiplied by `?GL_POST_CONVOLUTION_BLUE_SCALE' +%% , then added to `?GL_POST_CONVOLUTION_BLUE_BIAS'; and the alpha component is multiplied +%% by `?GL_POST_CONVOLUTION_ALPHA_SCALE', then added to `?GL_POST_CONVOLUTION_ALPHA_BIAS' +%% . After all four color components are scaled and biased, each is clamped to the range [0 +%% 1]. +%% +%% `Color index': Each color index is shifted left by `?GL_INDEX_SHIFT' bits; +%% any bits beyond the number of fraction bits carried by the fixed-point index are filled +%% with zeros. If `?GL_INDEX_SHIFT' is negative, the shift is to the right, again zero +%% filled. Then `?GL_INDEX_OFFSET' is added to the index. `?GL_INDEX_SHIFT' and `?GL_INDEX_OFFSET' +%% are specified with ``gl:pixelTransfer''. +%% +%% From this point, operation diverges depending on the required format of the resulting +%% pixels. If the resulting pixels are to be written to a color index buffer, or if they +%% are being read back to client memory in `?GL_COLOR_INDEX' format, the pixels continue +%% to be treated as indices. If `?GL_MAP_COLOR' is true, each index is masked by 2 n-1 +%% , where n is `?GL_PIXEL_MAP_I_TO_I_SIZE', then replaced by the contents of `?GL_PIXEL_MAP_I_TO_I' +%% indexed by the masked value. `?GL_MAP_COLOR' is specified with ``gl:pixelTransfer'' +%% . The contents of the index map is specified with {@link gl:pixelMapfv/3} . +%% +%% If the resulting pixels are to be written to an RGBA color buffer, or if they are read +%% back to client memory in a format other than `?GL_COLOR_INDEX', the pixels are converted +%% from indices to colors by referencing the four maps `?GL_PIXEL_MAP_I_TO_R', `?GL_PIXEL_MAP_I_TO_G' +%% , `?GL_PIXEL_MAP_I_TO_B', and `?GL_PIXEL_MAP_I_TO_A'. Before being dereferenced, +%% the index is masked by 2 n-1, where n is `?GL_PIXEL_MAP_I_TO_R_SIZE' for the +%% red map, `?GL_PIXEL_MAP_I_TO_G_SIZE' for the green map, `?GL_PIXEL_MAP_I_TO_B_SIZE' +%% for the blue map, and `?GL_PIXEL_MAP_I_TO_A_SIZE' for the alpha map. All components +%% taken from the maps are then clamped to the range [0 1]. The contents of the four maps is +%% specified with {@link gl:pixelMapfv/3} . +%% +%% `Depth': Each depth value is multiplied by `?GL_DEPTH_SCALE', added to `?GL_DEPTH_BIAS' +%% , then clamped to the range [0 1]. +%% +%% `Stencil': Each index is shifted `?GL_INDEX_SHIFT' bits just as a color index +%% is, then added to `?GL_INDEX_OFFSET'. If `?GL_MAP_STENCIL' is true, each index +%% is masked by 2 n-1, where n is `?GL_PIXEL_MAP_S_TO_S_SIZE', then replaced by +%% the contents of `?GL_PIXEL_MAP_S_TO_S' indexed by the masked value. +%% +%% The following table gives the type, initial value, and range of valid values for each +%% of the pixel transfer parameters that are set with ``gl:pixelTransfer''. +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%%
`Pname' ` Type '` Initial Value '` Valid Range '
`?GL_MAP_COLOR' +%% boolean false true/false
`?GL_MAP_STENCIL' boolean false true/false
`?GL_INDEX_SHIFT' integer 0 (-)
`?GL_INDEX_OFFSET' integer +%% 0 (-)
`?GL_RED_SCALE' float 1 (-)
`?GL_GREEN_SCALE' float 1 (-)
`?GL_BLUE_SCALE' float 1 (-)
`?GL_ALPHA_SCALE' +%% float 1 (-)
`?GL_DEPTH_SCALE' +%% float 1 (-)
`?GL_RED_BIAS' float +%% 0 (-)
`?GL_GREEN_BIAS' float 0 (-)
`?GL_BLUE_BIAS' float 0 (-)
`?GL_ALPHA_BIAS' +%% float 0 (-)
`?GL_DEPTH_BIAS' +%% float 0 (-)
`?GL_POST_COLOR_MATRIX_RED_SCALE' +%% float 1 (-)
`?GL_POST_COLOR_MATRIX_GREEN_SCALE' float 1 (-)
`?GL_POST_COLOR_MATRIX_BLUE_SCALE' float 1 (-)
`?GL_POST_COLOR_MATRIX_ALPHA_SCALE' float 1 (-)
`?GL_POST_COLOR_MATRIX_RED_BIAS' float 0 (-)
`?GL_POST_COLOR_MATRIX_GREEN_BIAS' float 0 (-)
`?GL_POST_COLOR_MATRIX_BLUE_BIAS' float 0 (-)
`?GL_POST_COLOR_MATRIX_ALPHA_BIAS' float 0 (-)
`?GL_POST_CONVOLUTION_RED_SCALE' float 1 (-)
`?GL_POST_CONVOLUTION_GREEN_SCALE' float 1 (-)
`?GL_POST_CONVOLUTION_BLUE_SCALE' float 1 (-)
`?GL_POST_CONVOLUTION_ALPHA_SCALE' float 1 (-)
`?GL_POST_CONVOLUTION_RED_BIAS' float 0 (-)
`?GL_POST_CONVOLUTION_GREEN_BIAS' float 0 (-)
`?GL_POST_CONVOLUTION_BLUE_BIAS' float 0 (-)
`?GL_POST_CONVOLUTION_ALPHA_BIAS' float 0 (-)
+%% +%% ``gl:pixelTransferf'' can be used to set any pixel transfer parameter. If the parameter +%% type is boolean, 0 implies false and any other value implies true. If `Pname' is +%% an integer parameter, `Param' is rounded to the nearest integer. +%% +%% Likewise, ``gl:pixelTransferi'' can be used to set any of the pixel transfer parameters. +%% Boolean parameters are set to false if `Param' is 0 and to true otherwise. `Param' +%% is converted to floating point before being assigned to real-valued parameters. +%% +%% See external documentation. +-spec pixelTransferf(Pname, Param) -> ok when Pname :: enum(),Param :: float(). +pixelTransferf(Pname,Param) -> + cast(5225, <>). -%% @spec (V1::{integer(),integer()},V2::{integer(),integer()}) -> ok -%% @doc See external documentation. --spec rectiv({integer(),integer()},{integer(),integer()}) -> ok. -rectiv({V1,V2},{V1,V2}) -> - cast(5244, <>). +%% @doc +%% See {@link pixelTransferf/2} +-spec pixelTransferi(Pname, Param) -> ok when Pname :: enum(),Param :: integer(). +pixelTransferi(Pname,Param) -> + cast(5226, <>). -%% @spec (X1::integer(),Y1::integer(),X2::integer(),Y2::integer()) -> ok -%% @doc See external documentation. --spec rects(integer(),integer(),integer(),integer()) -> ok. -rects(X1,Y1,X2,Y2) -> - cast(5245, <>). +%% @doc Set up pixel transfer maps +%% +%% ``gl:pixelMap'' sets up translation tables, or `maps', used by {@link gl:copyPixels/5} +%% , {@link gl:copyTexImage1D/7} , {@link gl:copyTexImage2D/8} , {@link gl:copyTexSubImage1D/6} , {@link gl:copyTexSubImage2D/8} +%% , {@link gl:copyTexSubImage3D/9} , {@link gl:drawPixels/5} , {@link gl:readPixels/7} , {@link gl:texImage1D/8} +%% , {@link gl:texImage2D/9} , {@link gl:texImage3D/10} , {@link gl:texSubImage1D/7} , {@link gl:texSubImage1D/7} +%% , and {@link gl:texSubImage1D/7} . Additionally, if the ARB_imaging subset is supported, +%% the routines {@link gl:colorTable/6} , {@link gl:colorSubTable/6} , {@link gl:convolutionFilter1D/6} +%% , {@link gl:convolutionFilter2D/7} , {@link gl:histogram/4} , {@link gl:minmax/3} , and {@link gl:separableFilter2D/8} +%% . Use of these maps is described completely in the {@link gl:pixelTransferf/2} reference +%% page, and partly in the reference pages for the pixel and texture image commands. Only +%% the specification of the maps is described in this reference page. +%% +%% `Map' is a symbolic map name, indicating one of ten maps to set. `Mapsize' specifies +%% the number of entries in the map, and `Values' is a pointer to an array of `Mapsize' +%% map values. +%% +%% If a non-zero named buffer object is bound to the `?GL_PIXEL_UNPACK_BUFFER' target +%% (see {@link gl:bindBuffer/2} ) while a pixel transfer map is specified, `Values' is +%% treated as a byte offset into the buffer object's data store. +%% +%% The ten maps are as follows: +%% +%% `?GL_PIXEL_MAP_I_TO_I': Maps color indices to color indices. +%% +%% `?GL_PIXEL_MAP_S_TO_S': Maps stencil indices to stencil indices. +%% +%% `?GL_PIXEL_MAP_I_TO_R': Maps color indices to red components. +%% +%% `?GL_PIXEL_MAP_I_TO_G': Maps color indices to green components. +%% +%% `?GL_PIXEL_MAP_I_TO_B': Maps color indices to blue components. +%% +%% `?GL_PIXEL_MAP_I_TO_A': Maps color indices to alpha components. +%% +%% `?GL_PIXEL_MAP_R_TO_R': Maps red components to red components. +%% +%% `?GL_PIXEL_MAP_G_TO_G': Maps green components to green components. +%% +%% `?GL_PIXEL_MAP_B_TO_B': Maps blue components to blue components. +%% +%% `?GL_PIXEL_MAP_A_TO_A': Maps alpha components to alpha components. +%% +%% The entries in a map can be specified as single-precision floating-point numbers, unsigned +%% short integers, or unsigned int integers. Maps that store color component values (all +%% but `?GL_PIXEL_MAP_I_TO_I' and `?GL_PIXEL_MAP_S_TO_S') retain their values in +%% floating-point format, with unspecified mantissa and exponent sizes. Floating-point values +%% specified by ``gl:pixelMapfv'' are converted directly to the internal floating-point +%% format of these maps, then clamped to the range [0,1]. Unsigned integer values specified +%% by ``gl:pixelMapusv'' and ``gl:pixelMapuiv'' are converted linearly such that the +%% largest representable integer maps to 1.0, and 0 maps to 0.0. +%% +%% Maps that store indices, `?GL_PIXEL_MAP_I_TO_I' and `?GL_PIXEL_MAP_S_TO_S', +%% retain their values in fixed-point format, with an unspecified number of bits to the right +%% of the binary point. Floating-point values specified by ``gl:pixelMapfv'' are converted +%% directly to the internal fixed-point format of these maps. Unsigned integer values specified +%% by ``gl:pixelMapusv'' and ``gl:pixelMapuiv'' specify integer values, with all 0's +%% to the right of the binary point. +%% +%% The following table shows the initial sizes and values for each of the maps. Maps that +%% are indexed by either color or stencil indices must have `Mapsize' = 2 n for some +%% n or the results are undefined. The maximum allowable size for each map depends on the +%% implementation and can be determined by calling {@link gl:getBooleanv/1} with argument `?GL_MAX_PIXEL_MAP_TABLE' +%% . The single maximum applies to all maps; it is at least 32. +%% +%% +%% +%% +%% +%% +%% +%% +%% +%%
`Map' +%% ` Lookup Index '` Lookup Value '` Initial Size '` Initial Value '
`?GL_PIXEL_MAP_I_TO_I' color index color index 1 0
`?GL_PIXEL_MAP_S_TO_S' +%% stencil index stencil index 1 0
+%% `?GL_PIXEL_MAP_I_TO_R' color index R 1 0
`?GL_PIXEL_MAP_I_TO_G' color index G 1 0
`?GL_PIXEL_MAP_I_TO_B' color index B 1 0
`?GL_PIXEL_MAP_I_TO_A' color index A 1 0
`?GL_PIXEL_MAP_R_TO_R' R R 1 0
`?GL_PIXEL_MAP_G_TO_G' G G 1 0
`?GL_PIXEL_MAP_B_TO_B' B B 1 0
`?GL_PIXEL_MAP_A_TO_A' A A 1 0
+%% +%% See external documentation. +-spec pixelMapfv(Map, Mapsize, Values) -> ok when Map :: enum(),Mapsize :: integer(),Values :: binary(). +pixelMapfv(Map,Mapsize,Values) -> + send_bin(Values), + cast(5227, <>). -%% @spec (V1::{integer(),integer()},V2::{integer(),integer()}) -> ok -%% @doc See external documentation. --spec rectsv({integer(),integer()},{integer(),integer()}) -> ok. -rectsv({V1,V2},{V1,V2}) -> - cast(5246, <>). +%% @doc +%% See {@link pixelMapfv/3} +-spec pixelMapuiv(Map, Mapsize, Values) -> ok when Map :: enum(),Mapsize :: integer(),Values :: binary(). +pixelMapuiv(Map,Mapsize,Values) -> + send_bin(Values), + cast(5228, <>). -%% @spec (Mode::enum()) -> integer() -%% @doc See external documentation. --spec renderMode(enum()) -> integer(). -renderMode(Mode) -> - call(5247, <>). +%% @doc +%% See {@link pixelMapfv/3} +-spec pixelMapusv(Map, Mapsize, Values) -> ok when Map :: enum(),Mapsize :: integer(),Values :: binary(). +pixelMapusv(Map,Mapsize,Values) -> + send_bin(Values), + cast(5229, <>). -%% @spec (Angle::float(),X::float(),Y::float(),Z::float()) -> ok -%% @doc See external documentation. --spec rotated(float(),float(),float(),float()) -> ok. -rotated(Angle,X,Y,Z) -> - cast(5248, <>). +%% @doc Return the specified pixel map +%% +%% See the {@link gl:pixelMapfv/3} reference page for a description of the acceptable values +%% for the `Map' parameter. ``gl:getPixelMap'' returns in `Data' the contents +%% of the pixel map specified in `Map' . Pixel maps are used during the execution of {@link gl:readPixels/7} +%% , {@link gl:drawPixels/5} , {@link gl:copyPixels/5} , {@link gl:texImage1D/8} , {@link gl:texImage2D/9} +%% , {@link gl:texImage3D/10} , {@link gl:texSubImage1D/7} , {@link gl:texSubImage1D/7} , {@link gl:texSubImage1D/7} +%% , {@link gl:copyTexImage1D/7} , {@link gl:copyTexImage2D/8} , {@link gl:copyTexSubImage1D/6} , {@link gl:copyTexSubImage2D/8} +%% , and {@link gl:copyTexSubImage3D/9} . to map color indices, stencil indices, color components, +%% and depth components to other values. +%% +%% If a non-zero named buffer object is bound to the `?GL_PIXEL_PACK_BUFFER' target +%% (see {@link gl:bindBuffer/2} ) while a pixel map is requested, `Data' is treated as +%% a byte offset into the buffer object's data store. +%% +%% Unsigned integer values, if requested, are linearly mapped from the internal fixed or +%% floating-point representation such that 1.0 maps to the largest representable integer +%% value, and 0.0 maps to 0. Return unsigned integer values are undefined if the map value +%% was not in the range [0,1]. +%% +%% To determine the required size of `Map' , call {@link gl:getBooleanv/1} with the appropriate +%% symbolic constant. +%% +%% See external documentation. +-spec getPixelMapfv(Map, Values) -> ok when Map :: enum(),Values :: mem(). +getPixelMapfv(Map,Values) -> + send_bin(Values), + call(5230, <>). -%% @spec (Angle::float(),X::float(),Y::float(),Z::float()) -> ok -%% @doc See external documentation. --spec rotatef(float(),float(),float(),float()) -> ok. -rotatef(Angle,X,Y,Z) -> - cast(5249, <>). +%% @doc +%% See {@link getPixelMapfv/2} +-spec getPixelMapuiv(Map, Values) -> ok when Map :: enum(),Values :: mem(). +getPixelMapuiv(Map,Values) -> + send_bin(Values), + call(5231, <>). -%% @spec (X::float(),Y::float(),Z::float()) -> ok -%% @doc See external documentation. --spec scaled(float(),float(),float()) -> ok. -scaled(X,Y,Z) -> - cast(5250, <>). +%% @doc +%% See {@link getPixelMapfv/2} +-spec getPixelMapusv(Map, Values) -> ok when Map :: enum(),Values :: mem(). +getPixelMapusv(Map,Values) -> + send_bin(Values), + call(5232, <>). -%% @spec (X::float(),Y::float(),Z::float()) -> ok -%% @doc See external documentation. --spec scalef(float(),float(),float()) -> ok. -scalef(X,Y,Z) -> - cast(5251, <>). +%% @doc Draw a bitmap +%% +%% A bitmap is a binary image. When drawn, the bitmap is positioned relative to the current +%% raster position, and frame buffer pixels corresponding to 1's in the bitmap are written +%% using the current raster color or index. Frame buffer pixels corresponding to 0's in the +%% bitmap are not modified. +%% +%% ``gl:bitmap'' takes seven arguments. The first pair specifies the width and height of +%% the bitmap image. The second pair specifies the location of the bitmap origin relative +%% to the lower left corner of the bitmap image. The third pair of arguments specifies `x' +%% and `y' offsets to be added to the current raster position after the bitmap has +%% been drawn. The final argument is a pointer to the bitmap image itself. +%% +%% If a non-zero named buffer object is bound to the `?GL_PIXEL_UNPACK_BUFFER' target +%% (see {@link gl:bindBuffer/2} ) while a bitmap image is specified, `Bitmap' is treated +%% as a byte offset into the buffer object's data store. +%% +%% The bitmap image is interpreted like image data for the {@link gl:drawPixels/5} command, +%% with `Width' and `Height' corresponding to the width and height arguments of +%% that command, and with `type' set to `?GL_BITMAP' and `format' set to `?GL_COLOR_INDEX' +%% . Modes specified using {@link gl:pixelStoref/2} affect the interpretation of bitmap image +%% data; modes specified using {@link gl:pixelTransferf/2} do not. +%% +%% If the current raster position is invalid, ``gl:bitmap'' is ignored. Otherwise, the +%% lower left corner of the bitmap image is positioned at the window coordinates +%% +%% x w=|x r-x o| +%% +%% y w=|y r-y o| +%% +%% where (x r y r) is the raster position and (x o y o) is the bitmap origin. Fragments are then generated +%% for each pixel corresponding to a 1 (one) in the bitmap image. These fragments are generated +%% using the current raster `z' coordinate, color or color index, and current raster +%% texture coordinates. They are then treated just as if they had been generated by a point, +%% line, or polygon, including texture mapping, fogging, and all per-fragment operations +%% such as alpha and depth testing. +%% +%% After the bitmap has been drawn, the `x' and `y' coordinates of the current +%% raster position are offset by `Xmove' and `Ymove' . No change is made to the `z' +%% coordinate of the current raster position, or to the current raster color, texture coordinates, +%% or index. +%% +%% See external documentation. +-spec bitmap(Width, Height, Xorig, Yorig, Xmove, Ymove, Bitmap) -> ok when Width :: integer(),Height :: integer(),Xorig :: float(),Yorig :: float(),Xmove :: float(),Ymove :: float(),Bitmap :: offset()|mem(). +bitmap(Width,Height,Xorig,Yorig,Xmove,Ymove,Bitmap) when is_integer(Bitmap) -> + cast(5233, <>); +bitmap(Width,Height,Xorig,Yorig,Xmove,Ymove,Bitmap) -> + send_bin(Bitmap), + cast(5234, <>). -%% @spec (X::integer(),Y::integer(),Width::integer(),Height::integer()) -> ok -%% @doc See external documentation. --spec scissor(integer(),integer(),integer(),integer()) -> ok. -scissor(X,Y,Width,Height) -> - cast(5252, <>). +%% @doc Read a block of pixels from the frame buffer +%% +%% ``gl:readPixels'' returns pixel data from the frame buffer, starting with the pixel +%% whose lower left corner is at location ( `X' , `Y' ), into client memory starting +%% at location `Data' . Several parameters control the processing of the pixel data before +%% it is placed into client memory. These parameters are set with {@link gl:pixelStoref/2} . +%% This reference page describes the effects on ``gl:readPixels'' of most, but not all +%% of the parameters specified by these three commands. +%% +%% If a non-zero named buffer object is bound to the `?GL_PIXEL_PACK_BUFFER' target +%% (see {@link gl:bindBuffer/2} ) while a block of pixels is requested, `Data' is treated +%% as a byte offset into the buffer object's data store rather than a pointer to client memory. +%% +%% +%% ``gl:readPixels'' returns values from each pixel with lower left corner at (x+i y+j) for 0<= +%% i< width and 0<= j< height. This pixel is said to be the ith pixel in the +%% jth row. Pixels are returned in row order from the lowest to the highest row, left to +%% right in each row. +%% +%% `Format' specifies the format for the returned pixel values; accepted values are: +%% +%% `?GL_STENCIL_INDEX': Stencil values are read from the stencil buffer. Each index +%% is converted to fixed point, shifted left or right depending on the value and sign of `?GL_INDEX_SHIFT' +%% , and added to `?GL_INDEX_OFFSET'. If `?GL_MAP_STENCIL' is `?GL_TRUE', +%% indices are replaced by their mappings in the table `?GL_PIXEL_MAP_S_TO_S'. +%% +%% `?GL_DEPTH_COMPONENT': Depth values are read from the depth buffer. Each component +%% is converted to floating point such that the minimum depth value maps to 0 and the maximum +%% value maps to 1. Each component is then multiplied by `?GL_DEPTH_SCALE', added to `?GL_DEPTH_BIAS' +%% , and finally clamped to the range [0 1]. +%% +%% `?GL_DEPTH_STENCIL': Values are taken from both the depth and stencil buffers. The `Type' +%% parameter must be `?GL_UNSIGNED_INT_24_8' or `?GL_FLOAT_32_UNSIGNED_INT_24_8_REV' +%% . +%% +%% `?GL_RED' +%% +%% `?GL_GREEN' +%% +%% `?GL_BLUE' +%% +%% `?GL_RGB' +%% +%% `?GL_BGR' +%% +%% `?GL_RGBA' +%% +%% `?GL_BGRA': Finally, the indices or components are converted to the proper format, +%% as specified by `Type' . If `Format' is `?GL_STENCIL_INDEX' and `Type' +%% is not `?GL_FLOAT', each index is masked with the mask value given in the following +%% table. If `Type' is `?GL_FLOAT', then each integer index is converted to single-precision +%% floating-point format. +%% +%% If `Format' is `?GL_RED', `?GL_GREEN', `?GL_BLUE', `?GL_RGB', `?GL_BGR' +%% , `?GL_RGBA', or `?GL_BGRA' and `Type' is not `?GL_FLOAT', each component +%% is multiplied by the multiplier shown in the following table. If type is `?GL_FLOAT', +%% then each component is passed as is (or converted to the client's single-precision floating-point +%% format if it is different from the one used by the GL). +%% +%% +%% +%% +%% +%% +%% +%% +%% +%%
`Type' ` Index Mask '` Component Conversion ' +%%
`?GL_UNSIGNED_BYTE' 2 8-1(2 8-1) c
`?GL_BYTE' 2 7-1((2 8-1) c-1)/2
`?GL_UNSIGNED_SHORT' +%% 2 16-1(2 16-1) c
`?GL_SHORT' 2 15-1((2 +%% 16-1) +%% c-1)/2
`?GL_UNSIGNED_INT' 2 32-1(2 32-1) c
`?GL_INT' +%% 2 31-1((2 32-1) c-1)/2
`?GL_HALF_FLOAT' none +%% c
`?GL_FLOAT' none c
`?GL_UNSIGNED_BYTE_3_3_2' +%% 2 N-1(2 N-1) c
`?GL_UNSIGNED_BYTE_2_3_3_REV' +%% 2 N-1(2 N-1) c
`?GL_UNSIGNED_SHORT_5_6_5' 2 N-1 +%% (2 N-1) c
`?GL_UNSIGNED_SHORT_5_6_5_REV' 2 N-1(2 N-1) c
`?GL_UNSIGNED_SHORT_4_4_4_4' 2 N-1(2 N-1) c
`?GL_UNSIGNED_SHORT_4_4_4_4_REV' +%% 2 N-1(2 N-1) c
`?GL_UNSIGNED_SHORT_5_5_5_1' 2 +%% N-1(2 N-1) c
`?GL_UNSIGNED_SHORT_1_5_5_5_REV' 2 N-1(2 N-1) c
`?GL_UNSIGNED_INT_8_8_8_8' 2 N-1(2 N-1) c
`?GL_UNSIGNED_INT_8_8_8_8_REV' 2 N-1(2 N-1) c
`?GL_UNSIGNED_INT_10_10_10_2' +%% 2 N-1(2 N-1) c
`?GL_UNSIGNED_INT_2_10_10_10_REV' +%% 2 N-1(2 N-1) c
`?GL_UNSIGNED_INT_24_8' 2 N-1(2 +%% N-1) +%% c
`?GL_UNSIGNED_INT_10F_11F_11F_REV' -- Special
`?GL_UNSIGNED_INT_5_9_9_9_REV' -- Special
`?GL_FLOAT_32_UNSIGNED_INT_24_8_REV' none c (Depth Only)
+%% +%% Return values are placed in memory as follows. If `Format' is `?GL_STENCIL_INDEX' +%% , `?GL_DEPTH_COMPONENT', `?GL_RED', `?GL_GREEN', or `?GL_BLUE', a +%% single value is returned and the data for the ith pixel in the jth row is placed in +%% location (j) width+i. `?GL_RGB' and `?GL_BGR' return three values, `?GL_RGBA' +%% and `?GL_BGRA' return four values for each pixel, with all values corresponding +%% to a single pixel occupying contiguous space in `Data' . Storage parameters set by {@link gl:pixelStoref/2} +%% , such as `?GL_PACK_LSB_FIRST' and `?GL_PACK_SWAP_BYTES', affect the way that +%% data is written into memory. See {@link gl:pixelStoref/2} for a description. +%% +%% See external documentation. +-spec readPixels(X, Y, Width, Height, Format, Type, Pixels) -> ok when X :: integer(),Y :: integer(),Width :: integer(),Height :: integer(),Format :: enum(),Type :: enum(),Pixels :: mem(). +readPixels(X,Y,Width,Height,Format,Type,Pixels) -> + send_bin(Pixels), + call(5235, <>). -%% @spec (Size::integer(),Buffer::mem()) -> ok -%% @doc See external documentation. --spec selectBuffer(integer(),mem()) -> ok. -selectBuffer(Size,Buffer) -> - send_bin(Buffer), - call(5253, <>). +%% @doc Write a block of pixels to the frame buffer +%% +%% ``gl:drawPixels'' reads pixel data from memory and writes it into the frame buffer relative +%% to the current raster position, provided that the raster position is valid. Use {@link gl:rasterPos2d/2} +%% or {@link gl:windowPos2d/2} to set the current raster position; use {@link gl:getBooleanv/1} with +%% argument `?GL_CURRENT_RASTER_POSITION_VALID' to determine if the specified raster +%% position is valid, and {@link gl:getBooleanv/1} with argument `?GL_CURRENT_RASTER_POSITION' +%% to query the raster position. +%% +%% Several parameters define the encoding of pixel data in memory and control the processing +%% of the pixel data before it is placed in the frame buffer. These parameters are set with +%% four commands: {@link gl:pixelStoref/2} , {@link gl:pixelTransferf/2} , {@link gl:pixelMapfv/3} , +%% and {@link gl:pixelZoom/2} . This reference page describes the effects on ``gl:drawPixels'' +%% of many, but not all, of the parameters specified by these four commands. +%% +%% Data is read from `Data' as a sequence of signed or unsigned bytes, signed or unsigned +%% shorts, signed or unsigned integers, or single-precision floating-point values, depending +%% on `Type' . When `Type' is one of `?GL_UNSIGNED_BYTE', `?GL_BYTE', `?GL_UNSIGNED_SHORT' +%% , `?GL_SHORT', `?GL_UNSIGNED_INT', `?GL_INT', or `?GL_FLOAT' each +%% of these bytes, shorts, integers, or floating-point values is interpreted as one color +%% or depth component, or one index, depending on `Format' . When `Type' is one of `?GL_UNSIGNED_BYTE_3_3_2' +%% , `?GL_UNSIGNED_SHORT_5_6_5', `?GL_UNSIGNED_SHORT_4_4_4_4', `?GL_UNSIGNED_SHORT_5_5_5_1' +%% , `?GL_UNSIGNED_INT_8_8_8_8', or `?GL_UNSIGNED_INT_10_10_10_2', each unsigned +%% value is interpreted as containing all the components for a single pixel, with the color +%% components arranged according to `Format' . When `Type' is one of `?GL_UNSIGNED_BYTE_2_3_3_REV' +%% , `?GL_UNSIGNED_SHORT_5_6_5_REV', `?GL_UNSIGNED_SHORT_4_4_4_4_REV', `?GL_UNSIGNED_SHORT_1_5_5_5_REV' +%% , `?GL_UNSIGNED_INT_8_8_8_8_REV', or `?GL_UNSIGNED_INT_2_10_10_10_REV', each +%% unsigned value is interpreted as containing all color components, specified by `Format' +%% , for a single pixel in a reversed order. Indices are always treated individually. Color +%% components are treated as groups of one, two, three, or four values, again based on `Format' +%% . Both individual indices and groups of components are referred to as pixels. If `Type' +%% is `?GL_BITMAP', the data must be unsigned bytes, and `Format' must be either `?GL_COLOR_INDEX' +%% or `?GL_STENCIL_INDEX'. Each unsigned byte is treated as eight 1-bit pixels, with +%% bit ordering determined by `?GL_UNPACK_LSB_FIRST' (see {@link gl:pixelStoref/2} ). +%% +%% width*height pixels are read from memory, starting at location `Data' . By default, +%% these pixels are taken from adjacent memory locations, except that after all `Width' +%% pixels are read, the read pointer is advanced to the next four-byte boundary. The four-byte +%% row alignment is specified by {@link gl:pixelStoref/2} with argument `?GL_UNPACK_ALIGNMENT' +%% , and it can be set to one, two, four, or eight bytes. Other pixel store parameters specify +%% different read pointer advancements, both before the first pixel is read and after all `Width' +%% pixels are read. See the {@link gl:pixelStoref/2} reference page for details on these options. +%% +%% +%% If a non-zero named buffer object is bound to the `?GL_PIXEL_UNPACK_BUFFER' target +%% (see {@link gl:bindBuffer/2} ) while a block of pixels is specified, `Data' is treated +%% as a byte offset into the buffer object's data store. +%% +%% The width*height pixels that are read from memory are each operated on in the same +%% way, based on the values of several parameters specified by {@link gl:pixelTransferf/2} +%% and {@link gl:pixelMapfv/3} . The details of these operations, as well as the target buffer +%% into which the pixels are drawn, are specific to the format of the pixels, as specified +%% by `Format' . `Format' can assume one of 13 symbolic values: +%% +%% `?GL_COLOR_INDEX': Each pixel is a single value, a color index. It is converted +%% to fixed-point format, with an unspecified number of bits to the right of the binary point, +%% regardless of the memory data type. Floating-point values convert to true fixed-point +%% values. Signed and unsigned integer data is converted with all fraction bits set to 0. +%% Bitmap data convert to either 0 or 1. +%% +%% Each fixed-point index is then shifted left by `?GL_INDEX_SHIFT' bits and added to `?GL_INDEX_OFFSET' +%% . If `?GL_INDEX_SHIFT' is negative, the shift is to the right. In either case, zero +%% bits fill otherwise unspecified bit locations in the result. +%% +%% If the GL is in RGBA mode, the resulting index is converted to an RGBA pixel with the +%% help of the `?GL_PIXEL_MAP_I_TO_R', `?GL_PIXEL_MAP_I_TO_G', `?GL_PIXEL_MAP_I_TO_B' +%% , and `?GL_PIXEL_MAP_I_TO_A' tables. If the GL is in color index mode, and if `?GL_MAP_COLOR' +%% is true, the index is replaced with the value that it references in lookup table `?GL_PIXEL_MAP_I_TO_I' +%% . Whether the lookup replacement of the index is done or not, the integer part of the +%% index is then ANDed with 2 b-1, where b is the number of bits in a color index buffer. +%% +%% +%% The GL then converts the resulting indices or RGBA colors to fragments by attaching the +%% current raster position `z' coordinate and texture coordinates to each pixel, then +%% assigning x and y window coordinates to the nth fragment such that x n= x r+n% +%% width +%% +%% y n= y r+|n/width| +%% +%% where (x r y r) is the current raster position. These pixel fragments are then treated just like +%% the fragments generated by rasterizing points, lines, or polygons. Texture mapping, fog, +%% and all the fragment operations are applied before the fragments are written to the frame +%% buffer. +%% +%% `?GL_STENCIL_INDEX': Each pixel is a single value, a stencil index. It is converted +%% to fixed-point format, with an unspecified number of bits to the right of the binary point, +%% regardless of the memory data type. Floating-point values convert to true fixed-point +%% values. Signed and unsigned integer data is converted with all fraction bits set to 0. +%% Bitmap data convert to either 0 or 1. +%% +%% Each fixed-point index is then shifted left by `?GL_INDEX_SHIFT' bits, and added +%% to `?GL_INDEX_OFFSET'. If `?GL_INDEX_SHIFT' is negative, the shift is to the +%% right. In either case, zero bits fill otherwise unspecified bit locations in the result. +%% If `?GL_MAP_STENCIL' is true, the index is replaced with the value that it references +%% in lookup table `?GL_PIXEL_MAP_S_TO_S'. Whether the lookup replacement of the index +%% is done or not, the integer part of the index is then ANDed with 2 b-1, where b is +%% the number of bits in the stencil buffer. The resulting stencil indices are then written +%% to the stencil buffer such that the nth index is written to location +%% +%% x n= x r+n% width +%% +%% y n= y r+|n/width| +%% +%% where (x r y r) is the current raster position. Only the pixel ownership test, the scissor test, +%% and the stencil writemask affect these write operations. +%% +%% `?GL_DEPTH_COMPONENT': Each pixel is a single-depth component. Floating-point data +%% is converted directly to an internal floating-point format with unspecified precision. +%% Signed integer data is mapped linearly to the internal floating-point format such that +%% the most positive representable integer value maps to 1.0, and the most negative representable +%% value maps to -1.0. Unsigned integer data is mapped similarly: the largest integer value +%% maps to 1.0, and 0 maps to 0.0. The resulting floating-point depth value is then multiplied +%% by `?GL_DEPTH_SCALE' and added to `?GL_DEPTH_BIAS'. The result is clamped to +%% the range [0 1]. +%% +%% The GL then converts the resulting depth components to fragments by attaching the current +%% raster position color or color index and texture coordinates to each pixel, then assigning +%% x and y window coordinates to the nth fragment such that +%% +%% x n= x r+n% width +%% +%% y n= y r+|n/width| +%% +%% where (x r y r) is the current raster position. These pixel fragments are then treated just like +%% the fragments generated by rasterizing points, lines, or polygons. Texture mapping, fog, +%% and all the fragment operations are applied before the fragments are written to the frame +%% buffer. +%% +%% `?GL_RGBA' +%% +%% `?GL_BGRA': Each pixel is a four-component group: For `?GL_RGBA', the red component +%% is first, followed by green, followed by blue, followed by alpha; for `?GL_BGRA' +%% the order is blue, green, red and then alpha. Floating-point values are converted directly +%% to an internal floating-point format with unspecified precision. Signed integer values +%% are mapped linearly to the internal floating-point format such that the most positive +%% representable integer value maps to 1.0, and the most negative representable value maps +%% to -1.0. (Note that this mapping does not convert 0 precisely to 0.0.) Unsigned integer +%% data is mapped similarly: The largest integer value maps to 1.0, and 0 maps to 0.0. The +%% resulting floating-point color values are then multiplied by `?GL_c_SCALE' and added +%% to `?GL_c_BIAS', where `c' is RED, GREEN, BLUE, and ALPHA for the respective +%% color components. The results are clamped to the range [0 1]. +%% +%% If `?GL_MAP_COLOR' is true, each color component is scaled by the size of lookup +%% table `?GL_PIXEL_MAP_c_TO_c', then replaced by the value that it references in that +%% table. `c' is R, G, B, or A respectively. +%% +%% The GL then converts the resulting RGBA colors to fragments by attaching the current +%% raster position `z' coordinate and texture coordinates to each pixel, then assigning +%% x and y window coordinates to the nth fragment such that +%% +%% x n= x r+n% width +%% +%% y n= y r+|n/width| +%% +%% where (x r y r) is the current raster position. These pixel fragments are then treated just like +%% the fragments generated by rasterizing points, lines, or polygons. Texture mapping, fog, +%% and all the fragment operations are applied before the fragments are written to the frame +%% buffer. +%% +%% `?GL_RED': Each pixel is a single red component. This component is converted to +%% the internal floating-point format in the same way the red component of an RGBA pixel +%% is. It is then converted to an RGBA pixel with green and blue set to 0, and alpha set +%% to 1. After this conversion, the pixel is treated as if it had been read as an RGBA pixel. +%% +%% +%% `?GL_GREEN': Each pixel is a single green component. This component is converted +%% to the internal floating-point format in the same way the green component of an RGBA pixel +%% is. It is then converted to an RGBA pixel with red and blue set to 0, and alpha set to +%% 1. After this conversion, the pixel is treated as if it had been read as an RGBA pixel. +%% +%% `?GL_BLUE': Each pixel is a single blue component. This component is converted to +%% the internal floating-point format in the same way the blue component of an RGBA pixel +%% is. It is then converted to an RGBA pixel with red and green set to 0, and alpha set to +%% 1. After this conversion, the pixel is treated as if it had been read as an RGBA pixel. +%% +%% `?GL_ALPHA': Each pixel is a single alpha component. This component is converted +%% to the internal floating-point format in the same way the alpha component of an RGBA pixel +%% is. It is then converted to an RGBA pixel with red, green, and blue set to 0. After this +%% conversion, the pixel is treated as if it had been read as an RGBA pixel. +%% +%% `?GL_RGB' +%% +%% `?GL_BGR': Each pixel is a three-component group: red first, followed by green, +%% followed by blue; for `?GL_BGR', the first component is blue, followed by green and +%% then red. Each component is converted to the internal floating-point format in the same +%% way the red, green, and blue components of an RGBA pixel are. The color triple is converted +%% to an RGBA pixel with alpha set to 1. After this conversion, the pixel is treated as if +%% it had been read as an RGBA pixel. +%% +%% `?GL_LUMINANCE': Each pixel is a single luminance component. This component is converted +%% to the internal floating-point format in the same way the red component of an RGBA pixel +%% is. It is then converted to an RGBA pixel with red, green, and blue set to the converted +%% luminance value, and alpha set to 1. After this conversion, the pixel is treated as if +%% it had been read as an RGBA pixel. +%% +%% `?GL_LUMINANCE_ALPHA': Each pixel is a two-component group: luminance first, followed +%% by alpha. The two components are converted to the internal floating-point format in the +%% same way the red component of an RGBA pixel is. They are then converted to an RGBA pixel +%% with red, green, and blue set to the converted luminance value, and alpha set to the converted +%% alpha value. After this conversion, the pixel is treated as if it had been read as an +%% RGBA pixel. +%% +%% The following table summarizes the meaning of the valid constants for the `type' +%% parameter: +%% +%% +%% +%% +%% +%% +%% +%% +%%
` Type '` Corresponding Type '
`?GL_UNSIGNED_BYTE' unsigned 8-bit integer
`?GL_BYTE' +%% signed 8-bit integer
`?GL_BITMAP' single bits +%% in unsigned 8-bit integers
`?GL_UNSIGNED_SHORT' unsigned +%% 16-bit integer
`?GL_SHORT' signed 16-bit integer
`?GL_UNSIGNED_INT' unsigned 32-bit integer
`?GL_INT' +%% 32-bit integer
`?GL_FLOAT' single-precision +%% floating-point
`?GL_UNSIGNED_BYTE_3_3_2' unsigned 8-bit +%% integer
`?GL_UNSIGNED_BYTE_2_3_3_REV' unsigned 8-bit +%% integer with reversed component ordering
`?GL_UNSIGNED_SHORT_5_6_5' unsigned 16-bit integer
`?GL_UNSIGNED_SHORT_5_6_5_REV' +%% unsigned 16-bit integer with reversed component ordering
`?GL_UNSIGNED_SHORT_4_4_4_4' +%% unsigned 16-bit integer
`?GL_UNSIGNED_SHORT_4_4_4_4_REV' unsigned 16-bit integer with reversed component ordering
`?GL_UNSIGNED_SHORT_5_5_5_1' +%% unsigned 16-bit integer
`?GL_UNSIGNED_SHORT_1_5_5_5_REV' unsigned 16-bit integer with reversed component ordering
`?GL_UNSIGNED_INT_8_8_8_8' +%% unsigned 32-bit integer
`?GL_UNSIGNED_INT_8_8_8_8_REV' unsigned 32-bit integer with reversed component ordering
`?GL_UNSIGNED_INT_10_10_10_2' +%% unsigned 32-bit integer
`?GL_UNSIGNED_INT_2_10_10_10_REV' unsigned 32-bit integer with reversed component ordering
+%% +%% The rasterization described so far assumes pixel zoom factors of 1. If {@link gl:pixelZoom/2} +%% is used to change the x and y pixel zoom factors, pixels are converted to fragments +%% as follows. If (x r y r) is the current raster position, and a given pixel is in the nth column +%% and mth row of the pixel rectangle, then fragments are generated for pixels whose centers +%% are in the rectangle with corners at +%% +%% (x r+(zoom x) n y r+(zoom y) m) +%% +%% (x r+(zoom x)(n+1) y r+(zoom y)(m+1)) +%% +%% where zoom x is the value of `?GL_ZOOM_X' and zoom y is the value of `?GL_ZOOM_Y' +%% . +%% +%% See external documentation. +-spec drawPixels(Width, Height, Format, Type, Pixels) -> ok when Width :: integer(),Height :: integer(),Format :: enum(),Type :: enum(),Pixels :: offset()|mem(). +drawPixels(Width,Height,Format,Type,Pixels) when is_integer(Pixels) -> + cast(5236, <>); +drawPixels(Width,Height,Format,Type,Pixels) -> + send_bin(Pixels), + cast(5237, <>). -%% @spec (Mode::enum()) -> ok -%% @doc See external documentation. --spec shadeModel(enum()) -> ok. -shadeModel(Mode) -> - cast(5254, <>). +%% @doc Copy pixels in the frame buffer +%% +%% ``gl:copyPixels'' copies a screen-aligned rectangle of pixels from the specified frame +%% buffer location to a region relative to the current raster position. Its operation is +%% well defined only if the entire pixel source region is within the exposed portion of the +%% window. Results of copies from outside the window, or from regions of the window that +%% are not exposed, are hardware dependent and undefined. +%% +%% `X' and `Y' specify the window coordinates of the lower left corner of the rectangular +%% region to be copied. `Width' and `Height' specify the dimensions of the rectangular +%% region to be copied. Both `Width' and `Height' must not be negative. +%% +%% Several parameters control the processing of the pixel data while it is being copied. +%% These parameters are set with three commands: {@link gl:pixelTransferf/2} , {@link gl:pixelMapfv/3} +%% , and {@link gl:pixelZoom/2} . This reference page describes the effects on ``gl:copyPixels'' +%% of most, but not all, of the parameters specified by these three commands. +%% +%% ``gl:copyPixels'' copies values from each pixel with the lower left-hand corner at (x+i +%% y+j) +%% for 0<= i< width and 0<= j< height. This pixel is said to be the ith +%% pixel in the jth row. Pixels are copied in row order from the lowest to the highest +%% row, left to right in each row. +%% +%% `Type' specifies whether color, depth, or stencil data is to be copied. The details +%% of the transfer for each data type are as follows: +%% +%% `?GL_COLOR': Indices or RGBA colors are read from the buffer currently specified +%% as the read source buffer (see {@link gl:readBuffer/1} ). If the GL is in color index mode, +%% each index that is read from this buffer is converted to a fixed-point format with an +%% unspecified number of bits to the right of the binary point. Each index is then shifted +%% left by `?GL_INDEX_SHIFT' bits, and added to `?GL_INDEX_OFFSET'. If `?GL_INDEX_SHIFT' +%% is negative, the shift is to the right. In either case, zero bits fill otherwise unspecified +%% bit locations in the result. If `?GL_MAP_COLOR' is true, the index is replaced with +%% the value that it references in lookup table `?GL_PIXEL_MAP_I_TO_I'. Whether the +%% lookup replacement of the index is done or not, the integer part of the index is then +%% ANDed with 2 b-1, where b is the number of bits in a color index buffer. +%% +%% If the GL is in RGBA mode, the red, green, blue, and alpha components of each pixel that +%% is read are converted to an internal floating-point format with unspecified precision. +%% The conversion maps the largest representable component value to 1.0, and component value +%% 0 to 0.0. The resulting floating-point color values are then multiplied by `?GL_c_SCALE' +%% and added to `?GL_c_BIAS', where `c' is RED, GREEN, BLUE, and ALPHA for the +%% respective color components. The results are clamped to the range [0,1]. If `?GL_MAP_COLOR' +%% is true, each color component is scaled by the size of lookup table `?GL_PIXEL_MAP_c_TO_c' +%% , then replaced by the value that it references in that table. `c' is R, G, B, or +%% A. +%% +%% If the ARB_imaging extension is supported, the color values may be additionally processed +%% by color-table lookups, color-matrix transformations, and convolution filters. +%% +%% The GL then converts the resulting indices or RGBA colors to fragments by attaching the +%% current raster position `z' coordinate and texture coordinates to each pixel, then +%% assigning window coordinates (x r+i y r+j), where (x r y r) is the current raster position, and the pixel was +%% the ith pixel in the jth row. These pixel fragments are then treated just like the +%% fragments generated by rasterizing points, lines, or polygons. Texture mapping, fog, and +%% all the fragment operations are applied before the fragments are written to the frame +%% buffer. +%% +%% `?GL_DEPTH': Depth values are read from the depth buffer and converted directly +%% to an internal floating-point format with unspecified precision. The resulting floating-point +%% depth value is then multiplied by `?GL_DEPTH_SCALE' and added to `?GL_DEPTH_BIAS' +%% . The result is clamped to the range [0,1]. +%% +%% The GL then converts the resulting depth components to fragments by attaching the current +%% raster position color or color index and texture coordinates to each pixel, then assigning +%% window coordinates (x r+i y r+j), where (x r y r) is the current raster position, and the pixel was the ith +%% pixel in the jth row. These pixel fragments are then treated just like the fragments +%% generated by rasterizing points, lines, or polygons. Texture mapping, fog, and all the +%% fragment operations are applied before the fragments are written to the frame buffer. +%% +%% `?GL_STENCIL': Stencil indices are read from the stencil buffer and converted to +%% an internal fixed-point format with an unspecified number of bits to the right of the +%% binary point. Each fixed-point index is then shifted left by `?GL_INDEX_SHIFT' bits, +%% and added to `?GL_INDEX_OFFSET'. If `?GL_INDEX_SHIFT' is negative, the shift +%% is to the right. In either case, zero bits fill otherwise unspecified bit locations in +%% the result. If `?GL_MAP_STENCIL' is true, the index is replaced with the value that +%% it references in lookup table `?GL_PIXEL_MAP_S_TO_S'. Whether the lookup replacement +%% of the index is done or not, the integer part of the index is then ANDed with 2 b-1, +%% where b is the number of bits in the stencil buffer. The resulting stencil indices are +%% then written to the stencil buffer such that the index read from the ith location of +%% the jth row is written to location (x r+i y r+j), where (x r y r) is the current raster position. Only the +%% pixel ownership test, the scissor test, and the stencil writemask affect these write operations. +%% +%% +%% The rasterization described thus far assumes pixel zoom factors of 1.0. If {@link gl:pixelZoom/2} +%% is used to change the x and y pixel zoom factors, pixels are converted to fragments +%% as follows. If (x r y r) is the current raster position, and a given pixel is in the ith location +%% in the jth row of the source pixel rectangle, then fragments are generated for pixels +%% whose centers are in the rectangle with corners at +%% +%% (x r+(zoom x) i y r+(zoom y) j) +%% +%% and +%% +%% (x r+(zoom x)(i+1) y r+(zoom y)(j+1)) +%% +%% where zoom x is the value of `?GL_ZOOM_X' and zoom y is the value of `?GL_ZOOM_Y' +%% . +%% +%% See external documentation. +-spec copyPixels(X, Y, Width, Height, Type) -> ok when X :: integer(),Y :: integer(),Width :: integer(),Height :: integer(),Type :: enum(). +copyPixels(X,Y,Width,Height,Type) -> + cast(5238, <>). -%% @spec (Func::enum(),Ref::integer(),Mask::integer()) -> ok -%% @doc See external documentation. --spec stencilFunc(enum(),integer(),integer()) -> ok. +%% @doc Set front and back function and reference value for stencil testing +%% +%% Stenciling, like depth-buffering, enables and disables drawing on a per-pixel basis. +%% Stencil planes are first drawn into using GL drawing primitives, then geometry and images +%% are rendered using the stencil planes to mask out portions of the screen. Stenciling is +%% typically used in multipass rendering algorithms to achieve special effects, such as decals, +%% outlining, and constructive solid geometry rendering. +%% +%% The stencil test conditionally eliminates a pixel based on the outcome of a comparison +%% between the reference value and the value in the stencil buffer. To enable and disable +%% the test, call {@link gl:enable/1} and {@link gl:enable/1} with argument `?GL_STENCIL_TEST' +%% . To specify actions based on the outcome of the stencil test, call {@link gl:stencilOp/3} +%% or {@link gl:stencilOpSeparate/4} . +%% +%% There can be two separate sets of `Func' , `Ref' , and `Mask' parameters; +%% one affects back-facing polygons, and the other affects front-facing polygons as well +%% as other non-polygon primitives. {@link gl:stencilFunc/3} sets both front and back stencil +%% state to the same values. Use {@link gl:stencilFuncSeparate/4} to set front and back stencil +%% state to different values. +%% +%% `Func' is a symbolic constant that determines the stencil comparison function. It +%% accepts one of eight values, shown in the following list. `Ref' is an integer reference +%% value that is used in the stencil comparison. It is clamped to the range [0 2 n-1], where n +%% is the number of bitplanes in the stencil buffer. `Mask' is bitwise ANDed with both +%% the reference value and the stored stencil value, with the ANDed values participating +%% in the comparison. +%% +%% If `stencil' represents the value stored in the corresponding stencil buffer location, +%% the following list shows the effect of each comparison function that can be specified by `Func' +%% . Only if the comparison succeeds is the pixel passed through to the next stage in the +%% rasterization process (see {@link gl:stencilOp/3} ). All tests treat `stencil' values +%% as unsigned integers in the range [0 2 n-1], where n is the number of bitplanes in the stencil +%% buffer. +%% +%% The following values are accepted by `Func' : +%% +%% `?GL_NEVER': Always fails. +%% +%% `?GL_LESS': Passes if ( `Ref' & `Mask' ) < ( `stencil' & `Mask' +%% ). +%% +%% `?GL_LEQUAL': Passes if ( `Ref' & `Mask' ) <= ( `stencil' +%% & `Mask' ). +%% +%% `?GL_GREATER': Passes if ( `Ref' & `Mask' ) > ( `stencil' +%% & `Mask' ). +%% +%% `?GL_GEQUAL': Passes if ( `Ref' & `Mask' ) >= ( `stencil' +%% & `Mask' ). +%% +%% `?GL_EQUAL': Passes if ( `Ref' & `Mask' ) = ( `stencil' & `Mask' +%% ). +%% +%% `?GL_NOTEQUAL': Passes if ( `Ref' & `Mask' ) != ( `stencil' & +%% `Mask' ). +%% +%% `?GL_ALWAYS': Always passes. +%% +%% See external documentation. +-spec stencilFunc(Func, Ref, Mask) -> ok when Func :: enum(),Ref :: integer(),Mask :: integer(). stencilFunc(Func,Ref,Mask) -> - cast(5255, <>). + cast(5239, <>). -%% @spec (Mask::integer()) -> ok -%% @doc See external documentation. --spec stencilMask(integer()) -> ok. +%% @doc Control the front and back writing of individual bits in the stencil planes +%% +%% ``gl:stencilMask'' controls the writing of individual bits in the stencil planes. The +%% least significant n bits of `Mask' , where n is the number of bits in the stencil +%% buffer, specify a mask. Where a 1 appears in the mask, it's possible to write to the corresponding +%% bit in the stencil buffer. Where a 0 appears, the corresponding bit is write-protected. +%% Initially, all bits are enabled for writing. +%% +%% There can be two separate `Mask' writemasks; one affects back-facing polygons, and +%% the other affects front-facing polygons as well as other non-polygon primitives. {@link gl:stencilMask/1} +%% sets both front and back stencil writemasks to the same values. Use {@link gl:stencilMaskSeparate/2} +%% to set front and back stencil writemasks to different values. +%% +%% See external documentation. +-spec stencilMask(Mask) -> ok when Mask :: integer(). stencilMask(Mask) -> - cast(5256, <>). + cast(5240, <>). -%% @spec (Fail::enum(),Zfail::enum(),Zpass::enum()) -> ok -%% @doc See external documentation. --spec stencilOp(enum(),enum(),enum()) -> ok. +%% @doc Set front and back stencil test actions +%% +%% Stenciling, like depth-buffering, enables and disables drawing on a per-pixel basis. +%% You draw into the stencil planes using GL drawing primitives, then render geometry and +%% images, using the stencil planes to mask out portions of the screen. Stenciling is typically +%% used in multipass rendering algorithms to achieve special effects, such as decals, outlining, +%% and constructive solid geometry rendering. +%% +%% The stencil test conditionally eliminates a pixel based on the outcome of a comparison +%% between the value in the stencil buffer and a reference value. To enable and disable the +%% test, call {@link gl:enable/1} and {@link gl:enable/1} with argument `?GL_STENCIL_TEST' +%% ; to control it, call {@link gl:stencilFunc/3} or {@link gl:stencilFuncSeparate/4} . +%% +%% There can be two separate sets of `Sfail' , `Dpfail' , and `Dppass' parameters; +%% one affects back-facing polygons, and the other affects front-facing polygons as well +%% as other non-polygon primitives. {@link gl:stencilOp/3} sets both front and back stencil +%% state to the same values. Use {@link gl:stencilOpSeparate/4} to set front and back stencil +%% state to different values. +%% +%% ``gl:stencilOp'' takes three arguments that indicate what happens to the stored stencil +%% value while stenciling is enabled. If the stencil test fails, no change is made to the +%% pixel's color or depth buffers, and `Sfail' specifies what happens to the stencil +%% buffer contents. The following eight actions are possible. +%% +%% `?GL_KEEP': Keeps the current value. +%% +%% `?GL_ZERO': Sets the stencil buffer value to 0. +%% +%% `?GL_REPLACE': Sets the stencil buffer value to `ref', as specified by {@link gl:stencilFunc/3} +%% . +%% +%% `?GL_INCR': Increments the current stencil buffer value. Clamps to the maximum representable +%% unsigned value. +%% +%% `?GL_INCR_WRAP': Increments the current stencil buffer value. Wraps stencil buffer +%% value to zero when incrementing the maximum representable unsigned value. +%% +%% `?GL_DECR': Decrements the current stencil buffer value. Clamps to 0. +%% +%% `?GL_DECR_WRAP': Decrements the current stencil buffer value. Wraps stencil buffer +%% value to the maximum representable unsigned value when decrementing a stencil buffer value +%% of zero. +%% +%% `?GL_INVERT': Bitwise inverts the current stencil buffer value. +%% +%% Stencil buffer values are treated as unsigned integers. When incremented and decremented, +%% values are clamped to 0 and 2 n-1, where n is the value returned by querying `?GL_STENCIL_BITS' +%% . +%% +%% The other two arguments to ``gl:stencilOp'' specify stencil buffer actions that depend +%% on whether subsequent depth buffer tests succeed ( `Dppass' ) or fail ( `Dpfail' ) +%% (see {@link gl:depthFunc/1} ). The actions are specified using the same eight symbolic constants +%% as `Sfail' . Note that `Dpfail' is ignored when there is no depth buffer, or +%% when the depth buffer is not enabled. In these cases, `Sfail' and `Dppass' specify +%% stencil action when the stencil test fails and passes, respectively. +%% +%% See external documentation. +-spec stencilOp(Fail, Zfail, Zpass) -> ok when Fail :: enum(),Zfail :: enum(),Zpass :: enum(). stencilOp(Fail,Zfail,Zpass) -> - cast(5257, <>). - -%% @spec (S::float()) -> ok -%% @doc See external documentation. --spec texCoord1d(float()) -> ok. -texCoord1d(S) -> - cast(5258, <>). - -%% @spec ({S}) -> ok -%% @equiv texCoord1d(S) --spec texCoord1dv({float()}) -> ok. -texCoord1dv({S}) -> texCoord1d(S). - -%% @spec (S::float()) -> ok -%% @doc See external documentation. --spec texCoord1f(float()) -> ok. -texCoord1f(S) -> - cast(5259, <>). - -%% @spec ({S}) -> ok -%% @equiv texCoord1f(S) --spec texCoord1fv({float()}) -> ok. -texCoord1fv({S}) -> texCoord1f(S). - -%% @spec (S::integer()) -> ok -%% @doc See external documentation. --spec texCoord1i(integer()) -> ok. -texCoord1i(S) -> - cast(5260, <>). + cast(5241, <>). -%% @spec ({S}) -> ok -%% @equiv texCoord1i(S) --spec texCoord1iv({integer()}) -> ok. -texCoord1iv({S}) -> texCoord1i(S). +%% @doc Specify the clear value for the stencil buffer +%% +%% ``gl:clearStencil'' specifies the index used by {@link gl:clear/1} to clear the stencil +%% buffer. `S' is masked with 2 m-1, where m is the number of bits in the stencil +%% buffer. +%% +%% See external documentation. +-spec clearStencil(S) -> ok when S :: integer(). +clearStencil(S) -> + cast(5242, <>). -%% @spec (S::integer()) -> ok -%% @doc See external documentation. --spec texCoord1s(integer()) -> ok. -texCoord1s(S) -> - cast(5261, <>). +%% @doc Control the generation of texture coordinates +%% +%% ``gl:texGen'' selects a texture-coordinate generation function or supplies coefficients +%% for one of the functions. `Coord' names one of the (`s', `t', `r', `q' +%% ) texture coordinates; it must be one of the symbols `?GL_S', `?GL_T', `?GL_R' +%% , or `?GL_Q'. `Pname' must be one of three symbolic constants: `?GL_TEXTURE_GEN_MODE' +%% , `?GL_OBJECT_PLANE', or `?GL_EYE_PLANE'. If `Pname' is `?GL_TEXTURE_GEN_MODE' +%% , then `Params' chooses a mode, one of `?GL_OBJECT_LINEAR', `?GL_EYE_LINEAR' +%% , `?GL_SPHERE_MAP', `?GL_NORMAL_MAP', or `?GL_REFLECTION_MAP'. If `Pname' +%% is either `?GL_OBJECT_PLANE' or `?GL_EYE_PLANE', `Params' contains coefficients +%% for the corresponding texture generation function. +%% +%% If the texture generation function is `?GL_OBJECT_LINEAR', the function +%% +%% g= p 1*x o+p 2*y o+p 3*z o+p 4*w o +%% +%% is used, where g is the value computed for the coordinate named in `Coord' , p 1, +%% p 2, p 3, and p 4 are the four values supplied in `Params' , and x o, y o, z o, +%% and w o are the object coordinates of the vertex. This function can be used, for example, +%% to texture-map terrain using sea level as a reference plane (defined by p 1, p 2, p +%% 3, and p 4). The altitude of a terrain vertex is computed by the `?GL_OBJECT_LINEAR' +%% coordinate generation function as its distance from sea level; that altitude can then +%% be used to index the texture image to map white snow onto peaks and green grass onto foothills. +%% +%% +%% If the texture generation function is `?GL_EYE_LINEAR', the function +%% +%% g=(p 1)"*x e+(p 2)"*y e+(p 3)"*z e+(p 4)"*w e +%% +%% is used, where +%% +%% ((p 1)" (p 2)" (p 3)" (p 4)")=(p 1 p 2 p 3 p 4) M -1 +%% +%% and x e, y e, z e, and w e are the eye coordinates of the vertex, p 1, p 2, p 3, +%% and p 4 are the values supplied in `Params' , and M is the modelview matrix when ``gl:texGen'' +%% is invoked. If M is poorly conditioned or singular, texture coordinates generated by +%% the resulting function may be inaccurate or undefined. +%% +%% Note that the values in `Params' define a reference plane in eye coordinates. The +%% modelview matrix that is applied to them may not be the same one in effect when the polygon +%% vertices are transformed. This function establishes a field of texture coordinates that +%% can produce dynamic contour lines on moving objects. +%% +%% If the texture generation function is `?GL_SPHERE_MAP' and `Coord' is either `?GL_S' +%% or `?GL_T', s and t texture coordinates are generated as follows. Let `u' +%% be the unit vector pointing from the origin to the polygon vertex (in eye coordinates). +%% Let `n' sup prime be the current normal, after transformation to eye coordinates. +%% Let +%% +%% f=(f x f y f z) T be the reflection vector such that +%% +%% f= u-2 n" (n") T u +%% +%% Finally, let m= 2 ((f x) 2+(f y) 2+(f z+1) 2). Then the values assigned to the s and t texture coordinates +%% are +%% +%% s= f x/m+1/2 +%% +%% t= f y/m+1/2 +%% +%% To enable or disable a texture-coordinate generation function, call {@link gl:enable/1} +%% or {@link gl:enable/1} with one of the symbolic texture-coordinate names (`?GL_TEXTURE_GEN_S' +%% , `?GL_TEXTURE_GEN_T', `?GL_TEXTURE_GEN_R', or `?GL_TEXTURE_GEN_Q') as +%% the argument. When enabled, the specified texture coordinate is computed according to +%% the generating function associated with that coordinate. When disabled, subsequent vertices +%% take the specified texture coordinate from the current set of texture coordinates. Initially, +%% all texture generation functions are set to `?GL_EYE_LINEAR' and are disabled. Both +%% s plane equations are (1, 0, 0, 0), both t plane equations are (0, 1, 0, 0), and all +%% r and q plane equations are (0, 0, 0, 0). +%% +%% When the ARB_multitexture extension is supported, ``gl:texGen'' sets the texture generation +%% parameters for the currently active texture unit, selected with {@link gl:activeTexture/1} . +%% +%% +%% See external documentation. +-spec texGend(Coord, Pname, Param) -> ok when Coord :: enum(),Pname :: enum(),Param :: float(). +texGend(Coord,Pname,Param) -> + cast(5243, <>). -%% @spec ({S}) -> ok -%% @equiv texCoord1s(S) --spec texCoord1sv({integer()}) -> ok. -texCoord1sv({S}) -> texCoord1s(S). +%% @doc +%% See {@link texGend/3} +-spec texGenf(Coord, Pname, Param) -> ok when Coord :: enum(),Pname :: enum(),Param :: float(). +texGenf(Coord,Pname,Param) -> + cast(5244, <>). -%% @spec (S::float(),T::float()) -> ok -%% @doc See external documentation. --spec texCoord2d(float(),float()) -> ok. -texCoord2d(S,T) -> - cast(5262, <>). +%% @doc +%% See {@link texGend/3} +-spec texGeni(Coord, Pname, Param) -> ok when Coord :: enum(),Pname :: enum(),Param :: integer(). +texGeni(Coord,Pname,Param) -> + cast(5245, <>). -%% @spec ({S,T}) -> ok -%% @equiv texCoord2d(S,T) --spec texCoord2dv({float(),float()}) -> ok. -texCoord2dv({S,T}) -> texCoord2d(S,T). +%% @doc +%% See {@link texGend/3} +-spec texGendv(Coord, Pname, Params) -> ok when Coord :: enum(),Pname :: enum(),Params :: {float()}. +texGendv(Coord,Pname,Params) -> + cast(5246, <> ||C <- tuple_to_list(Params)>>)/binary>>). -%% @spec (S::float(),T::float()) -> ok -%% @doc See external documentation. --spec texCoord2f(float(),float()) -> ok. -texCoord2f(S,T) -> - cast(5263, <>). +%% @doc +%% See {@link texGend/3} +-spec texGenfv(Coord, Pname, Params) -> ok when Coord :: enum(),Pname :: enum(),Params :: {float()}. +texGenfv(Coord,Pname,Params) -> + cast(5247, <> ||C <- tuple_to_list(Params)>>)/binary,0:(((1+size(Params)) rem 2)*32)>>). -%% @spec ({S,T}) -> ok -%% @equiv texCoord2f(S,T) --spec texCoord2fv({float(),float()}) -> ok. -texCoord2fv({S,T}) -> texCoord2f(S,T). +%% @doc +%% See {@link texGend/3} +-spec texGeniv(Coord, Pname, Params) -> ok when Coord :: enum(),Pname :: enum(),Params :: {integer()}. +texGeniv(Coord,Pname,Params) -> + cast(5248, <> ||C <- tuple_to_list(Params)>>)/binary,0:(((1+size(Params)) rem 2)*32)>>). -%% @spec (S::integer(),T::integer()) -> ok -%% @doc See external documentation. --spec texCoord2i(integer(),integer()) -> ok. -texCoord2i(S,T) -> - cast(5264, <>). +%% @doc Return texture coordinate generation parameters +%% +%% ``gl:getTexGen'' returns in `Params' selected parameters of a texture coordinate +%% generation function that was specified using {@link gl:texGend/3} . `Coord' names one +%% of the (`s', `t', `r', `q') texture coordinates, using the symbolic +%% constant `?GL_S', `?GL_T', `?GL_R', or `?GL_Q'. +%% +%% `Pname' specifies one of three symbolic names: +%% +%% `?GL_TEXTURE_GEN_MODE': `Params' returns the single-valued texture generation +%% function, a symbolic constant. The initial value is `?GL_EYE_LINEAR'. +%% +%% `?GL_OBJECT_PLANE': `Params' returns the four plane equation coefficients that +%% specify object linear-coordinate generation. Integer values, when requested, are mapped +%% directly from the internal floating-point representation. +%% +%% `?GL_EYE_PLANE': `Params' returns the four plane equation coefficients that +%% specify eye linear-coordinate generation. Integer values, when requested, are mapped directly +%% from the internal floating-point representation. The returned values are those maintained +%% in eye coordinates. They are not equal to the values specified using {@link gl:texGend/3} , +%% unless the modelview matrix was identity when {@link gl:texGend/3} was called. +%% +%% See external documentation. +-spec getTexGendv(Coord, Pname) -> {float(),float(),float(),float()} when Coord :: enum(),Pname :: enum(). +getTexGendv(Coord,Pname) -> + call(5249, <>). -%% @spec ({S,T}) -> ok -%% @equiv texCoord2i(S,T) --spec texCoord2iv({integer(),integer()}) -> ok. -texCoord2iv({S,T}) -> texCoord2i(S,T). +%% @doc +%% See {@link getTexGendv/2} +-spec getTexGenfv(Coord, Pname) -> {float(),float(),float(),float()} when Coord :: enum(),Pname :: enum(). +getTexGenfv(Coord,Pname) -> + call(5250, <>). -%% @spec (S::integer(),T::integer()) -> ok -%% @doc See external documentation. --spec texCoord2s(integer(),integer()) -> ok. -texCoord2s(S,T) -> - cast(5265, <>). +%% @doc +%% See {@link getTexGendv/2} +-spec getTexGeniv(Coord, Pname) -> {integer(),integer(),integer(),integer()} when Coord :: enum(),Pname :: enum(). +getTexGeniv(Coord,Pname) -> + call(5251, <>). -%% @spec ({S,T}) -> ok -%% @equiv texCoord2s(S,T) --spec texCoord2sv({integer(),integer()}) -> ok. -texCoord2sv({S,T}) -> texCoord2s(S,T). +%% @doc glTexEnvf +%% +%% See external documentation. +-spec texEnvf(Target, Pname, Param) -> ok when Target :: enum(),Pname :: enum(),Param :: float(). +texEnvf(Target,Pname,Param) -> + cast(5252, <>). -%% @spec (S::float(),T::float(),R::float()) -> ok -%% @doc See external documentation. --spec texCoord3d(float(),float(),float()) -> ok. -texCoord3d(S,T,R) -> - cast(5266, <>). +%% @doc glTexEnvi +%% +%% See external documentation. +-spec texEnvi(Target, Pname, Param) -> ok when Target :: enum(),Pname :: enum(),Param :: integer(). +texEnvi(Target,Pname,Param) -> + cast(5253, <>). -%% @spec ({S,T,R}) -> ok -%% @equiv texCoord3d(S,T,R) --spec texCoord3dv({float(),float(),float()}) -> ok. -texCoord3dv({S,T,R}) -> texCoord3d(S,T,R). +%% @doc Set texture environment parameters +%% +%% A texture environment specifies how texture values are interpreted when a fragment is +%% textured. When `Target' is `?GL_TEXTURE_FILTER_CONTROL', `Pname' must be `?GL_TEXTURE_LOD_BIAS' +%% . When `Target' is `?GL_TEXTURE_ENV', `Pname' can be `?GL_TEXTURE_ENV_MODE' +%% , `?GL_TEXTURE_ENV_COLOR', `?GL_COMBINE_RGB', `?GL_COMBINE_ALPHA', `?GL_RGB_SCALE' +%% , `?GL_ALPHA_SCALE', `?GL_SRC0_RGB', `?GL_SRC1_RGB', `?GL_SRC2_RGB', `?GL_SRC0_ALPHA' +%% , `?GL_SRC1_ALPHA', or `?GL_SRC2_ALPHA'. +%% +%% If `Pname' is `?GL_TEXTURE_ENV_MODE', then `Params' is (or points to) +%% the symbolic name of a texture function. Six texture functions may be specified: `?GL_ADD' +%% , `?GL_MODULATE', `?GL_DECAL', `?GL_BLEND', `?GL_REPLACE', or `?GL_COMBINE' +%% . +%% +%% The following table shows the correspondence of filtered texture values R t, G t, B t, +%% A t, L t, I t to texture source components. C s and A s are used by the texture functions +%% described below. +%% +%% +%% +%%
Texture Base Internal Format C s A s
`?GL_ALPHA' (0, 0, 0) A t
`?GL_LUMINANCE' +%% ( L t, L t, L t ) 1
`?GL_LUMINANCE_ALPHA' ( L t, L t, L t ) A t
`?GL_INTENSITY' ( +%% I t, I t, I t ) I t
`?GL_RGB' ( R t, G t, B +%% t ) 1
`?GL_RGBA' ( R t, G t, B t ) +%% A t
+%% +%% A texture function acts on the fragment to be textured using the texture image value +%% that applies to the fragment (see {@link gl:texParameterf/3} ) and produces an RGBA color +%% for that fragment. The following table shows how the RGBA color is produced for each of +%% the first five texture functions that can be chosen. C is a triple of color values (RGB) +%% and A is the associated alpha value. RGBA values extracted from a texture image are in +%% the range [0,1]. The subscript p refers to the color computed from the previous texture +%% stage (or the incoming fragment if processing texture stage 0), the subscript s to the +%% texture source color, the subscript c to the texture environment color, and the subscript +%% v indicates a value produced by the texture function. +%% +%% +%% +%% +%% +%% +%%
Texture Base Internal Format `?Value'`?GL_REPLACE' +%% Function `?GL_MODULATE' Function `?GL_DECAL' Function +%% `?GL_BLEND' Function `?GL_ADD' Function
+%% `?GL_ALPHA' C v= C p C p undefined C p C p
A v= A s A p A s +%% A v= A p A s A p A s
`?GL_LUMINANCE' C v= +%% C s C p C s undefined C p (1-C s)+C c C s C p+C s
(or 1) A v= A p A p A p A +%% p
`?GL_LUMINANCE_ALPHA' C v= C s C p C +%% s undefined C p (1-C s)+C c C s C p+C s
(or 2) A v= A s A p A s A p A s A p A s
`?GL_INTENSITY' C v= C s C p C s +%% undefined C p (1-C s)+C c C s C p+C s
A v= +%% A s A p A s A p (1-A s)+A c A s A p+A s
`?GL_RGB' +%% C v= C s C p C s C s C p (1-C s)+C c C s +%% C p+C s
(or 3) A v= A p A p A p A p A p
`?GL_RGBA' C v= C s +%% C p C s C p (1-A s)+C s A s C p (1-C s)+C c C s C p+C s
+%% (or 4) A v= A s A p A s A p A p A s +%% A p A s
+%% +%% If `Pname' is `?GL_TEXTURE_ENV_MODE', and `Params' is `?GL_COMBINE', +%% the form of the texture function depends on the values of `?GL_COMBINE_RGB' and `?GL_COMBINE_ALPHA' +%% . +%% +%% The following describes how the texture sources, as specified by `?GL_SRC0_RGB', `?GL_SRC1_RGB' +%% , `?GL_SRC2_RGB', `?GL_SRC0_ALPHA', `?GL_SRC1_ALPHA', and `?GL_SRC2_ALPHA' +%% , are combined to produce a final texture color. In the following tables, `?GL_SRC0_c' +%% is represented by Arg0, `?GL_SRC1_c' is represented by Arg1, and `?GL_SRC2_c' +%% is represented by Arg2. +%% +%% `?GL_COMBINE_RGB' accepts any of `?GL_REPLACE', `?GL_MODULATE', `?GL_ADD' +%% , `?GL_ADD_SIGNED', `?GL_INTERPOLATE', `?GL_SUBTRACT', `?GL_DOT3_RGB', +%% or `?GL_DOT3_RGBA'. +%% +%% +%% +%%
`?GL_COMBINE_RGB'` Texture Function '
`?GL_REPLACE' Arg0
`?GL_MODULATE' +%% Arg0*Arg1
`?GL_ADD' Arg0+Arg1
`?GL_ADD_SIGNED' +%% Arg0+Arg1-0.5
`?GL_INTERPOLATE' Arg0*Arg2+Arg1*(1- +%% Arg2)
`?GL_SUBTRACT' Arg0-Arg1
`?GL_DOT3_RGB' +%% or `?GL_DOT3_RGBA' 4*((((Arg0 r)-0.5)*((Arg1 r)-0.5))+(((Arg0 g)-0.5)*((Arg1 g)-0.5))+(((Arg0 b)-0.5)*((Arg1 b)-0.5)))
+%% +%% The scalar results for `?GL_DOT3_RGB' and `?GL_DOT3_RGBA' are placed into each +%% of the 3 (RGB) or 4 (RGBA) components on output. +%% +%% Likewise, `?GL_COMBINE_ALPHA' accepts any of `?GL_REPLACE', `?GL_MODULATE', +%% `?GL_ADD', `?GL_ADD_SIGNED', `?GL_INTERPOLATE', or `?GL_SUBTRACT'. +%% The following table describes how alpha values are combined: +%% +%% +%% +%%
`?GL_COMBINE_ALPHA'` Texture Function '
`?GL_REPLACE' Arg0
`?GL_MODULATE' +%% Arg0*Arg1
`?GL_ADD' Arg0+Arg1
`?GL_ADD_SIGNED' +%% Arg0+Arg1-0.5
`?GL_INTERPOLATE' Arg0*Arg2+Arg1*(1- +%% Arg2)
`?GL_SUBTRACT' Arg0-Arg1
+%% +%% In the following tables, the value C s represents the color sampled from the currently +%% bound texture, C c represents the constant texture-environment color, C f represents +%% the primary color of the incoming fragment, and C p represents the color computed from +%% the previous texture stage or C f if processing texture stage 0. Likewise, A s, A c, +%% A f, and A p represent the respective alpha values. +%% +%% The following table describes the values assigned to Arg0, Arg1, and Arg2 based upon +%% the RGB sources and operands: +%% +%% +%% +%% +%% +%% +%% +%% +%% +%%
`?GL_SRCn_RGB'`?GL_OPERANDn_RGB'` Argument Value ' +%%
`?GL_TEXTURE'`?GL_SRC_COLOR'(C +%% s)
`?GL_ONE_MINUS_SRC_COLOR' 1-(C s)
+%% `?GL_SRC_ALPHA'(A s)
`?GL_ONE_MINUS_SRC_ALPHA' 1-(A s)
`?GL_TEXTUREn'`?GL_SRC_COLOR'(C s)
`?GL_ONE_MINUS_SRC_COLOR' 1-(C s)
`?GL_SRC_ALPHA' +%% (A s)
`?GL_ONE_MINUS_SRC_ALPHA' 1-(A s)
`?GL_CONSTANT'`?GL_SRC_COLOR'(C c)
`?GL_ONE_MINUS_SRC_COLOR' +%% 1-(C c)
`?GL_SRC_ALPHA'(A c)
`?GL_ONE_MINUS_SRC_ALPHA' 1-(A c)
`?GL_PRIMARY_COLOR'`?GL_SRC_COLOR'(C f)
`?GL_ONE_MINUS_SRC_COLOR' 1-(C f)
`?GL_SRC_ALPHA'(A f)
+%% `?GL_ONE_MINUS_SRC_ALPHA' 1-(A f)
`?GL_PREVIOUS'`?GL_SRC_COLOR' +%% (C p)
`?GL_ONE_MINUS_SRC_COLOR' 1-(C p)
`?GL_SRC_ALPHA'(A p)
`?GL_ONE_MINUS_SRC_ALPHA' +%% 1-(A p)
+%% +%% For `?GL_TEXTUREn' sources, C s and A s represent the color and alpha, respectively, +%% produced from texture stage n. +%% +%% The follow table describes the values assigned to Arg0, Arg1, and Arg2 based upon +%% the alpha sources and operands: +%% +%% +%% +%% +%%
`?GL_SRCn_ALPHA'`?GL_OPERANDn_ALPHA'` Argument Value ' +%%
`?GL_TEXTURE'`?GL_SRC_ALPHA'(A +%% s)
`?GL_ONE_MINUS_SRC_ALPHA' 1-(A s)
`?GL_TEXTUREn' +%% `?GL_SRC_ALPHA'(A s)
`?GL_ONE_MINUS_SRC_ALPHA' +%% 1-(A s)
`?GL_CONSTANT'`?GL_SRC_ALPHA'(A +%% c)
`?GL_ONE_MINUS_SRC_ALPHA' 1-(A c)
`?GL_PRIMARY_COLOR' +%% `?GL_SRC_ALPHA'(A f)
`?GL_ONE_MINUS_SRC_ALPHA' +%% 1-(A f)
`?GL_PREVIOUS'`?GL_SRC_ALPHA'(A +%% p)
`?GL_ONE_MINUS_SRC_ALPHA' 1-(A p)
+%% +%% +%% The RGB and alpha results of the texture function are multipled by the values of `?GL_RGB_SCALE' +%% and `?GL_ALPHA_SCALE', respectively, and clamped to the range [0 1]. +%% +%% If `Pname' is `?GL_TEXTURE_ENV_COLOR', `Params' is a pointer to an array +%% that holds an RGBA color consisting of four values. Integer color components are interpreted +%% linearly such that the most positive integer maps to 1.0, and the most negative integer +%% maps to -1.0. The values are clamped to the range [0,1] when they are specified. C c +%% takes these four values. +%% +%% If `Pname' is `?GL_TEXTURE_LOD_BIAS', the value specified is added to the texture +%% level-of-detail parameter, that selects which mipmap, or mipmaps depending upon the selected +%% `?GL_TEXTURE_MIN_FILTER', will be sampled. +%% +%% `?GL_TEXTURE_ENV_MODE' defaults to `?GL_MODULATE' and `?GL_TEXTURE_ENV_COLOR' +%% defaults to (0, 0, 0, 0). +%% +%% If `Target' is `?GL_POINT_SPRITE' and `Pname' is `?GL_COORD_REPLACE', +%% the boolean value specified is used to either enable or disable point sprite texture coordinate +%% replacement. The default value is `?GL_FALSE'. +%% +%% See external documentation. +-spec texEnvfv(Target, Pname, Params) -> ok when Target :: enum(),Pname :: enum(),Params :: {float()}. +texEnvfv(Target,Pname,Params) -> + cast(5254, <> ||C <- tuple_to_list(Params)>>)/binary,0:(((1+size(Params)) rem 2)*32)>>). -%% @spec (S::float(),T::float(),R::float()) -> ok -%% @doc See external documentation. --spec texCoord3f(float(),float(),float()) -> ok. -texCoord3f(S,T,R) -> - cast(5267, <>). +%% @doc +%% See {@link texEnvfv/3} +-spec texEnviv(Target, Pname, Params) -> ok when Target :: enum(),Pname :: enum(),Params :: {integer()}. +texEnviv(Target,Pname,Params) -> + cast(5255, <> ||C <- tuple_to_list(Params)>>)/binary,0:(((1+size(Params)) rem 2)*32)>>). -%% @spec ({S,T,R}) -> ok -%% @equiv texCoord3f(S,T,R) --spec texCoord3fv({float(),float(),float()}) -> ok. -texCoord3fv({S,T,R}) -> texCoord3f(S,T,R). +%% @doc Return texture environment parameters +%% +%% ``gl:getTexEnv'' returns in `Params' selected values of a texture environment that +%% was specified with {@link gl:texEnvfv/3} . `Target' specifies a texture environment. +%% +%% When `Target' is `?GL_TEXTURE_FILTER_CONTROL', `Pname' must be `?GL_TEXTURE_LOD_BIAS' +%% . When `Target' is `?GL_POINT_SPRITE', `Pname' must be `?GL_COORD_REPLACE' +%% . When `Target' is `?GL_TEXTURE_ENV', `Pname' can be `?GL_TEXTURE_ENV_MODE' +%% , `?GL_TEXTURE_ENV_COLOR', `?GL_COMBINE_RGB', `?GL_COMBINE_ALPHA', `?GL_RGB_SCALE' +%% , `?GL_ALPHA_SCALE', `?GL_SRC0_RGB', `?GL_SRC1_RGB', `?GL_SRC2_RGB', +%% `?GL_SRC0_ALPHA', `?GL_SRC1_ALPHA', or `?GL_SRC2_ALPHA'. +%% +%% `Pname' names a specific texture environment parameter, as follows: +%% +%% `?GL_TEXTURE_ENV_MODE': `Params' returns the single-valued texture environment +%% mode, a symbolic constant. The initial value is `?GL_MODULATE'. +%% +%% `?GL_TEXTURE_ENV_COLOR': `Params' returns four integer or floating-point values +%% that are the texture environment color. Integer values, when requested, are linearly mapped +%% from the internal floating-point representation such that 1.0 maps to the most positive +%% representable integer, and -1.0 maps to the most negative representable integer. The +%% initial value is (0, 0, 0, 0). +%% +%% `?GL_TEXTURE_LOD_BIAS': `Params' returns a single floating-point value that +%% is the texture level-of-detail bias. The initial value is 0. +%% +%% `?GL_COMBINE_RGB': `Params' returns a single symbolic constant value representing +%% the current RGB combine mode. The initial value is `?GL_MODULATE'. +%% +%% `?GL_COMBINE_ALPHA': `Params' returns a single symbolic constant value representing +%% the current alpha combine mode. The initial value is `?GL_MODULATE'. +%% +%% `?GL_SRC0_RGB': `Params' returns a single symbolic constant value representing +%% the texture combiner zero's RGB source. The initial value is `?GL_TEXTURE'. +%% +%% `?GL_SRC1_RGB': `Params' returns a single symbolic constant value representing +%% the texture combiner one's RGB source. The initial value is `?GL_PREVIOUS'. +%% +%% `?GL_SRC2_RGB': `Params' returns a single symbolic constant value representing +%% the texture combiner two's RGB source. The initial value is `?GL_CONSTANT'. +%% +%% `?GL_SRC0_ALPHA': `Params' returns a single symbolic constant value representing +%% the texture combiner zero's alpha source. The initial value is `?GL_TEXTURE'. +%% +%% `?GL_SRC1_ALPHA': `Params' returns a single symbolic constant value representing +%% the texture combiner one's alpha source. The initial value is `?GL_PREVIOUS'. +%% +%% `?GL_SRC2_ALPHA': `Params' returns a single symbolic constant value representing +%% the texture combiner two's alpha source. The initial value is `?GL_CONSTANT'. +%% +%% `?GL_OPERAND0_RGB': `Params' returns a single symbolic constant value representing +%% the texture combiner zero's RGB operand. The initial value is `?GL_SRC_COLOR'. +%% +%% `?GL_OPERAND1_RGB': `Params' returns a single symbolic constant value representing +%% the texture combiner one's RGB operand. The initial value is `?GL_SRC_COLOR'. +%% +%% `?GL_OPERAND2_RGB': `Params' returns a single symbolic constant value representing +%% the texture combiner two's RGB operand. The initial value is `?GL_SRC_ALPHA'. +%% +%% `?GL_OPERAND0_ALPHA': `Params' returns a single symbolic constant value representing +%% the texture combiner zero's alpha operand. The initial value is `?GL_SRC_ALPHA'. +%% +%% `?GL_OPERAND1_ALPHA': `Params' returns a single symbolic constant value representing +%% the texture combiner one's alpha operand. The initial value is `?GL_SRC_ALPHA'. +%% +%% `?GL_OPERAND2_ALPHA': `Params' returns a single symbolic constant value representing +%% the texture combiner two's alpha operand. The initial value is `?GL_SRC_ALPHA'. +%% +%% `?GL_RGB_SCALE': `Params' returns a single floating-point value representing +%% the current RGB texture combiner scaling factor. The initial value is 1.0. +%% +%% `?GL_ALPHA_SCALE': `Params' returns a single floating-point value representing +%% the current alpha texture combiner scaling factor. The initial value is 1.0. +%% +%% `?GL_COORD_REPLACE': `Params' returns a single boolean value representing the +%% current point sprite texture coordinate replacement enable state. The initial value is `?GL_FALSE' +%% . +%% +%% See external documentation. +-spec getTexEnvfv(Target, Pname) -> {float(),float(),float(),float()} when Target :: enum(),Pname :: enum(). +getTexEnvfv(Target,Pname) -> + call(5256, <>). -%% @spec (S::integer(),T::integer(),R::integer()) -> ok -%% @doc See external documentation. --spec texCoord3i(integer(),integer(),integer()) -> ok. -texCoord3i(S,T,R) -> - cast(5268, <>). +%% @doc +%% See {@link getTexEnvfv/2} +-spec getTexEnviv(Target, Pname) -> {integer(),integer(),integer(),integer()} when Target :: enum(),Pname :: enum(). +getTexEnviv(Target,Pname) -> + call(5257, <>). -%% @spec ({S,T,R}) -> ok -%% @equiv texCoord3i(S,T,R) --spec texCoord3iv({integer(),integer(),integer()}) -> ok. -texCoord3iv({S,T,R}) -> texCoord3i(S,T,R). +%% @doc Set texture parameters +%% +%% ``gl:texParameter'' assigns the value or values in `Params' to the texture parameter +%% specified as `Pname' . `Target' defines the target texture, either `?GL_TEXTURE_1D' +%% , `?GL_TEXTURE_2D', `?GL_TEXTURE_1D_ARRAY', `?GL_TEXTURE_2D_ARRAY', `?GL_TEXTURE_RECTANGLE' +%% , or `?GL_TEXTURE_3D'. The following symbols are accepted in `Pname' : +%% +%% `?GL_TEXTURE_BASE_LEVEL': Specifies the index of the lowest defined mipmap level. +%% This is an integer value. The initial value is 0. +%% +%% +%% +%% `?GL_TEXTURE_BORDER_COLOR': The data in `Params' specifies four values that +%% define the border values that should be used for border texels. If a texel is sampled +%% from the border of the texture, the values of `?GL_TEXTURE_BORDER_COLOR' are interpreted +%% as an RGBA color to match the texture's internal format and substituted for the non-existent +%% texel data. If the texture contains depth components, the first component of `?GL_TEXTURE_BORDER_COLOR' +%% is interpreted as a depth value. The initial value is ( 0.0, 0.0, 0.0, 0.0 ). +%% +%% If the values for `?GL_TEXTURE_BORDER_COLOR' are specified with ``gl:texParameterIiv'' +%% or ``gl:texParameterIuiv'', the values are stored unmodified with an internal data +%% type of integer. If specified with ``gl:texParameteriv'', they are converted to floating +%% point with the following equation: f= 2 c+1 2 b-/1. If specified with ``gl:texParameterfv'' +%% , they are stored unmodified as floating-point values. +%% +%% `?GL_TEXTURE_COMPARE_FUNC': Specifies the comparison operator used when `?GL_TEXTURE_COMPARE_MODE' +%% is set to `?GL_COMPARE_REF_TO_TEXTURE'. Permissible values are: +%%
+%% ` Texture Comparison Function '` Computed result '
`?GL_LEQUAL' result={1.0 0.0 &nbsp;&nbsp; r<=(D t) r>(D t))
`?GL_GEQUAL' +%% result={1.0 0.0 &nbsp;&nbsp; r>=(D t) r<(D t))
`?GL_LESS' result={1.0 0.0 &nbsp;&nbsp; r< +%% (D t) r>=(D t))
`?GL_GREATER' +%% result={1.0 0.0 &nbsp;&nbsp; r>(D t) r<=(D t))
`?GL_EQUAL' result={1.0 0.0 &nbsp;&nbsp; +%% r=(D t) r&ne;(D t))
`?GL_NOTEQUAL' +%% result={1.0 0.0 &nbsp;&nbsp; r&ne;(D t) r=(D t))
`?GL_ALWAYS' result= 1.0
+%% `?GL_NEVER' result= 0.0
where r is the current +%% interpolated texture coordinate, and D t is the depth texture value sampled from the +%% currently bound depth texture. result is assigned to the the red channel. +%% +%% `?GL_TEXTURE_COMPARE_MODE': Specifies the texture comparison mode for currently +%% bound depth textures. That is, a texture whose internal format is `?GL_DEPTH_COMPONENT_*' +%% ; see {@link gl:texImage2D/9} ) Permissible values are: +%% +%% `?GL_COMPARE_REF_TO_TEXTURE': Specifies that the interpolated and clamped r texture +%% coordinate should be compared to the value in the currently bound depth texture. See the +%% discussion of `?GL_TEXTURE_COMPARE_FUNC' for details of how the comparison is evaluated. +%% The result of the comparison is assigned to the red channel. +%% +%% `?GL_NONE': Specifies that the red channel should be assigned the appropriate value +%% from the currently bound depth texture. +%% +%% `?GL_TEXTURE_LOD_BIAS': `Params' specifies a fixed bias value that is to be +%% added to the level-of-detail parameter for the texture before texture sampling. The specified +%% value is added to the shader-supplied bias value (if any) and subsequently clamped into +%% the implementation-defined range [( - bias max)(bias max)], where bias max is the value of the implementation +%% defined constant `?GL_MAX_TEXTURE_LOD_BIAS'. The initial value is 0.0. +%% +%% `?GL_TEXTURE_MIN_FILTER': The texture minifying function is used whenever the level-of-detail +%% function used when sampling from the texture determines that the texture should be minified. +%% There are six defined minifying functions. Two of them use either the nearest texture +%% elements or a weighted average of multiple texture elements to compute the texture value. +%% The other four use mipmaps. +%% +%% A mipmap is an ordered set of arrays representing the same image at progressively lower +%% resolutions. If the texture has dimensions 2 n*2 m, there are max(n m)+1 mipmaps. The first +%% mipmap is the original texture, with dimensions 2 n*2 m. Each subsequent mipmap has +%% dimensions 2(k-1)*2(l-1), where 2 k*2 l are the dimensions of the previous mipmap, until either +%% k= 0 or l= 0. At that point, subsequent mipmaps have dimension 1*2(l-1) or 2(k-1)*1 until +%% the final mipmap, which has dimension 1*1. To define the mipmaps, call {@link gl:texImage1D/8} +%% , {@link gl:texImage2D/9} , {@link gl:texImage3D/10} , {@link gl:copyTexImage1D/7} , or {@link gl:copyTexImage2D/8} +%% with the `level' argument indicating the order of the mipmaps. Level 0 is the original +%% texture; level max(n m) is the final 1*1 mipmap. +%% +%% `Params' supplies a function for minifying the texture as one of the following: +%% +%% `?GL_NEAREST': Returns the value of the texture element that is nearest (in Manhattan +%% distance) to the specified texture coordinates. +%% +%% `?GL_LINEAR': Returns the weighted average of the four texture elements that are +%% closest to the specified texture coordinates. These can include items wrapped or repeated +%% from other parts of a texture, depending on the values of `?GL_TEXTURE_WRAP_S' and `?GL_TEXTURE_WRAP_T' +%% , and on the exact mapping. +%% +%% `?GL_NEAREST_MIPMAP_NEAREST': Chooses the mipmap that most closely matches the size +%% of the pixel being textured and uses the `?GL_NEAREST' criterion (the texture element +%% closest to the specified texture coordinates) to produce a texture value. +%% +%% `?GL_LINEAR_MIPMAP_NEAREST': Chooses the mipmap that most closely matches the size +%% of the pixel being textured and uses the `?GL_LINEAR' criterion (a weighted average +%% of the four texture elements that are closest to the specified texture coordinates) to +%% produce a texture value. +%% +%% `?GL_NEAREST_MIPMAP_LINEAR': Chooses the two mipmaps that most closely match the +%% size of the pixel being textured and uses the `?GL_NEAREST' criterion (the texture +%% element closest to the specified texture coordinates ) to produce a texture value from +%% each mipmap. The final texture value is a weighted average of those two values. +%% +%% `?GL_LINEAR_MIPMAP_LINEAR': Chooses the two mipmaps that most closely match the +%% size of the pixel being textured and uses the `?GL_LINEAR' criterion (a weighted +%% average of the texture elements that are closest to the specified texture coordinates) +%% to produce a texture value from each mipmap. The final texture value is a weighted average +%% of those two values. +%% +%% As more texture elements are sampled in the minification process, fewer aliasing artifacts +%% will be apparent. While the `?GL_NEAREST' and `?GL_LINEAR' minification functions +%% can be faster than the other four, they sample only one or multiple texture elements to +%% determine the texture value of the pixel being rendered and can produce moire patterns +%% or ragged transitions. The initial value of `?GL_TEXTURE_MIN_FILTER' is `?GL_NEAREST_MIPMAP_LINEAR' +%% . +%% +%% +%% +%% `?GL_TEXTURE_MAG_FILTER': The texture magnification function is used whenever the +%% level-of-detail function used when sampling from the texture determines that the texture +%% should be magified. It sets the texture magnification function to either `?GL_NEAREST' +%% or `?GL_LINEAR' (see below). `?GL_NEAREST' is generally faster than `?GL_LINEAR' +%% , but it can produce textured images with sharper edges because the transition between +%% texture elements is not as smooth. The initial value of `?GL_TEXTURE_MAG_FILTER' is `?GL_LINEAR' +%% . +%% +%% `?GL_NEAREST': Returns the value of the texture element that is nearest (in Manhattan +%% distance) to the specified texture coordinates. +%% +%% `?GL_LINEAR': Returns the weighted average of the texture elements that are closest +%% to the specified texture coordinates. These can include items wrapped or repeated from +%% other parts of a texture, depending on the values of `?GL_TEXTURE_WRAP_S' and `?GL_TEXTURE_WRAP_T' +%% , and on the exact mapping. +%% +%% +%% +%% `?GL_TEXTURE_MIN_LOD': Sets the minimum level-of-detail parameter. This floating-point +%% value limits the selection of highest resolution mipmap (lowest mipmap level). The initial +%% value is -1000. +%% +%% +%% +%% `?GL_TEXTURE_MAX_LOD': Sets the maximum level-of-detail parameter. This floating-point +%% value limits the selection of the lowest resolution mipmap (highest mipmap level). The +%% initial value is 1000. +%% +%% +%% +%% `?GL_TEXTURE_MAX_LEVEL': Sets the index of the highest defined mipmap level. This +%% is an integer value. The initial value is 1000. +%% +%% +%% +%% `?GL_TEXTURE_SWIZZLE_R': Sets the swizzle that will be applied to the r component +%% of a texel before it is returned to the shader. Valid values for `Param' are `?GL_RED' +%% , `?GL_GREEN', `?GL_BLUE', `?GL_ALPHA', `?GL_ZERO' and `?GL_ONE'. +%% If `?GL_TEXTURE_SWIZZLE_R' is `?GL_RED', the value for r will be taken from +%% the first channel of the fetched texel. If `?GL_TEXTURE_SWIZZLE_R' is `?GL_GREEN' +%% , the value for r will be taken from the second channel of the fetched texel. If `?GL_TEXTURE_SWIZZLE_R' +%% is `?GL_BLUE', the value for r will be taken from the third channel of the fetched +%% texel. If `?GL_TEXTURE_SWIZZLE_R' is `?GL_ALPHA', the value for r will be taken +%% from the fourth channel of the fetched texel. If `?GL_TEXTURE_SWIZZLE_R' is `?GL_ZERO' +%% , the value for r will be subtituted with 0.0. If `?GL_TEXTURE_SWIZZLE_R' is `?GL_ONE' +%% , the value for r will be subtituted with 1.0. The initial value is `?GL_RED'. +%% +%% +%% +%% `?GL_TEXTURE_SWIZZLE_G': Sets the swizzle that will be applied to the g component +%% of a texel before it is returned to the shader. Valid values for `Param' and their +%% effects are similar to those of `?GL_TEXTURE_SWIZZLE_R'. The initial value is `?GL_GREEN' +%% . +%% +%% +%% +%% `?GL_TEXTURE_SWIZZLE_B': Sets the swizzle that will be applied to the b component +%% of a texel before it is returned to the shader. Valid values for `Param' and their +%% effects are similar to those of `?GL_TEXTURE_SWIZZLE_R'. The initial value is `?GL_BLUE' +%% . +%% +%% +%% +%% `?GL_TEXTURE_SWIZZLE_A': Sets the swizzle that will be applied to the a component +%% of a texel before it is returned to the shader. Valid values for `Param' and their +%% effects are similar to those of `?GL_TEXTURE_SWIZZLE_R'. The initial value is `?GL_ALPHA' +%% . +%% +%% +%% +%% `?GL_TEXTURE_SWIZZLE_RGBA': Sets the swizzles that will be applied to the r, g, +%% b, and a components of a texel before they are returned to the shader. Valid values for `Params' +%% and their effects are similar to those of `?GL_TEXTURE_SWIZZLE_R', except that all +%% channels are specified simultaneously. Setting the value of `?GL_TEXTURE_SWIZZLE_RGBA' +%% is equivalent (assuming no errors are generated) to setting the parameters of each of `?GL_TEXTURE_SWIZZLE_R' +%% , `?GL_TEXTURE_SWIZZLE_G', `?GL_TEXTURE_SWIZZLE_B', and `?GL_TEXTURE_SWIZZLE_A' +%% successively. +%% +%% +%% +%% `?GL_TEXTURE_WRAP_S': Sets the wrap parameter for texture coordinate s to either `?GL_CLAMP_TO_EDGE' +%% , `?GL_CLAMP_TO_BORDER', `?GL_MIRRORED_REPEAT', or `?GL_REPEAT'. `?GL_CLAMP_TO_EDGE' +%% causes s coordinates to be clamped to the range [(1 2/N) 1-(1 2/N)], where N is the size of the texture +%% in the direction of clamping. `?GL_CLAMP_TO_BORDER' evaluates s coordinates in a +%% similar manner to `?GL_CLAMP_TO_EDGE'. However, in cases where clamping would have +%% occurred in `?GL_CLAMP_TO_EDGE' mode, the fetched texel data is substituted with +%% the values specified by `?GL_TEXTURE_BORDER_COLOR'. `?GL_REPEAT' causes the +%% integer part of the s coordinate to be ignored; the GL uses only the fractional part, +%% thereby creating a repeating pattern. `?GL_MIRRORED_REPEAT' causes the s coordinate +%% to be set to the fractional part of the texture coordinate if the integer part of s +%% is even; if the integer part of s is odd, then the s texture coordinate is set to 1- +%% frac(s), where frac(s) represents the fractional part of s. Initially, `?GL_TEXTURE_WRAP_S' +%% is set to `?GL_REPEAT'. +%% +%% +%% +%% `?GL_TEXTURE_WRAP_T': Sets the wrap parameter for texture coordinate t to either `?GL_CLAMP_TO_EDGE' +%% , `?GL_CLAMP_TO_BORDER', `?GL_MIRRORED_REPEAT', or `?GL_REPEAT'. See the +%% discussion under `?GL_TEXTURE_WRAP_S'. Initially, `?GL_TEXTURE_WRAP_T' is set +%% to `?GL_REPEAT'. +%% +%% +%% +%% `?GL_TEXTURE_WRAP_R': Sets the wrap parameter for texture coordinate r to either `?GL_CLAMP_TO_EDGE' +%% , `?GL_CLAMP_TO_BORDER', `?GL_MIRRORED_REPEAT', or `?GL_REPEAT'. See the +%% discussion under `?GL_TEXTURE_WRAP_S'. Initially, `?GL_TEXTURE_WRAP_R' is set +%% to `?GL_REPEAT'. +%% +%% See external documentation. +-spec texParameterf(Target, Pname, Param) -> ok when Target :: enum(),Pname :: enum(),Param :: float(). +texParameterf(Target,Pname,Param) -> + cast(5258, <>). -%% @spec (S::integer(),T::integer(),R::integer()) -> ok -%% @doc See external documentation. --spec texCoord3s(integer(),integer(),integer()) -> ok. -texCoord3s(S,T,R) -> - cast(5269, <>). +%% @doc +%% See {@link texParameterf/3} +-spec texParameteri(Target, Pname, Param) -> ok when Target :: enum(),Pname :: enum(),Param :: integer(). +texParameteri(Target,Pname,Param) -> + cast(5259, <>). -%% @spec ({S,T,R}) -> ok -%% @equiv texCoord3s(S,T,R) --spec texCoord3sv({integer(),integer(),integer()}) -> ok. -texCoord3sv({S,T,R}) -> texCoord3s(S,T,R). +%% @doc +%% See {@link texParameterf/3} +-spec texParameterfv(Target, Pname, Params) -> ok when Target :: enum(),Pname :: enum(),Params :: {float()}. +texParameterfv(Target,Pname,Params) -> + cast(5260, <> ||C <- tuple_to_list(Params)>>)/binary,0:(((1+size(Params)) rem 2)*32)>>). -%% @spec (S::float(),T::float(),R::float(),Q::float()) -> ok -%% @doc See external documentation. --spec texCoord4d(float(),float(),float(),float()) -> ok. -texCoord4d(S,T,R,Q) -> - cast(5270, <>). +%% @doc +%% See {@link texParameterf/3} +-spec texParameteriv(Target, Pname, Params) -> ok when Target :: enum(),Pname :: enum(),Params :: {integer()}. +texParameteriv(Target,Pname,Params) -> + cast(5261, <> ||C <- tuple_to_list(Params)>>)/binary,0:(((1+size(Params)) rem 2)*32)>>). -%% @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). +%% @doc Return texture parameter values +%% +%% ``gl:getTexParameter'' returns in `Params' the value or values of the texture parameter +%% specified as `Pname' . `Target' defines the target texture. `?GL_TEXTURE_1D', +%% `?GL_TEXTURE_2D', `?GL_TEXTURE_3D', `?GL_TEXTURE_1D_ARRAY', `?GL_TEXTURE_2D_ARRAY' +%% , `?GL_TEXTURE_RECTANGLE', `?GL_TEXTURE_CUBE_MAP', `?GL_TEXTURE_CUBE_MAP_ARRAY' +%% specify one-, two-, or three-dimensional, one-dimensional array, two-dimensional array, +%% rectangle, cube-mapped or cube-mapped array texturing, respectively. `Pname' accepts +%% the same symbols as {@link gl:texParameterf/3} , with the same interpretations: +%% +%% `?GL_TEXTURE_MAG_FILTER': Returns the single-valued texture magnification filter, +%% a symbolic constant. The initial value is `?GL_LINEAR'. +%% +%% `?GL_TEXTURE_MIN_FILTER': Returns the single-valued texture minification filter, +%% a symbolic constant. The initial value is `?GL_NEAREST_MIPMAP_LINEAR'. +%% +%% `?GL_TEXTURE_MIN_LOD': Returns the single-valued texture minimum level-of-detail +%% value. The initial value is -1000. +%% +%% `?GL_TEXTURE_MAX_LOD': Returns the single-valued texture maximum level-of-detail +%% value. The initial value is 1000. +%% +%% `?GL_TEXTURE_BASE_LEVEL': Returns the single-valued base texture mipmap level. The +%% initial value is 0. +%% +%% `?GL_TEXTURE_MAX_LEVEL': Returns the single-valued maximum texture mipmap array +%% level. The initial value is 1000. +%% +%% `?GL_TEXTURE_SWIZZLE_R': Returns the red component swizzle. The initial value is `?GL_RED' +%% . +%% +%% `?GL_TEXTURE_SWIZZLE_G': Returns the green component swizzle. The initial value is `?GL_GREEN' +%% . +%% +%% `?GL_TEXTURE_SWIZZLE_B': Returns the blue component swizzle. The initial value is `?GL_BLUE' +%% . +%% +%% `?GL_TEXTURE_SWIZZLE_A': Returns the alpha component swizzle. The initial value is `?GL_ALPHA' +%% . +%% +%% `?GL_TEXTURE_SWIZZLE_RGBA': Returns the component swizzle for all channels in a +%% single query. +%% +%% `?GL_TEXTURE_WRAP_S': Returns the single-valued wrapping function for texture coordinate +%% s, a symbolic constant. The initial value is `?GL_REPEAT'. +%% +%% `?GL_TEXTURE_WRAP_T': Returns the single-valued wrapping function for texture coordinate +%% t, a symbolic constant. The initial value is `?GL_REPEAT'. +%% +%% `?GL_TEXTURE_WRAP_R': Returns the single-valued wrapping function for texture coordinate +%% r, a symbolic constant. The initial value is `?GL_REPEAT'. +%% +%% `?GL_TEXTURE_BORDER_COLOR': Returns four integer or floating-point numbers that +%% comprise the RGBA color of the texture border. Floating-point values are returned in the +%% range [0 1]. Integer values are returned as a linear mapping of the internal floating-point +%% representation such that 1.0 maps to the most positive representable integer and -1.0 +%% maps to the most negative representable integer. The initial value is (0, 0, 0, 0). +%% +%% `?GL_TEXTURE_COMPARE_MODE': Returns a single-valued texture comparison mode, a symbolic +%% constant. The initial value is `?GL_NONE'. See {@link gl:texParameterf/3} . +%% +%% `?GL_TEXTURE_COMPARE_FUNC': Returns a single-valued texture comparison function, +%% a symbolic constant. The initial value is `?GL_LEQUAL'. See {@link gl:texParameterf/3} . +%% +%% +%% In addition to the parameters that may be set with {@link gl:texParameterf/3} , ``gl:getTexParameter'' +%% accepts the following read-only parameters: +%% +%% `?GL_TEXTURE_IMMUTABLE_FORMAT': Returns non-zero if the texture has an immutable +%% format. Textures become immutable if their storage is specified with {@link gl:texStorage1D/4} +%% , {@link gl:texStorage2D/5} or {@link gl:texStorage3D/6} . The initial value is `?GL_FALSE' +%% . +%% +%% See external documentation. +-spec getTexParameterfv(Target, Pname) -> {float(),float(),float(),float()} when Target :: enum(),Pname :: enum(). +getTexParameterfv(Target,Pname) -> + call(5262, <>). -%% @spec (S::float(),T::float(),R::float(),Q::float()) -> ok -%% @doc See external documentation. --spec texCoord4f(float(),float(),float(),float()) -> ok. -texCoord4f(S,T,R,Q) -> - cast(5271, <>). +%% @doc +%% See {@link getTexParameterfv/2} +-spec getTexParameteriv(Target, Pname) -> {integer(),integer(),integer(),integer()} when Target :: enum(),Pname :: enum(). +getTexParameteriv(Target,Pname) -> + call(5263, <>). -%% @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). +%% @doc Return texture parameter values for a specific level of detail +%% +%% ``gl:getTexLevelParameter'' returns in `Params' texture parameter values for a +%% specific level-of-detail value, specified as `Level' . `Target' defines the target +%% texture, either `?GL_TEXTURE_1D', `?GL_TEXTURE_2D', `?GL_TEXTURE_3D', `?GL_PROXY_TEXTURE_1D' +%% , `?GL_PROXY_TEXTURE_2D', `?GL_PROXY_TEXTURE_3D', `?GL_TEXTURE_CUBE_MAP_POSITIVE_X' +%% , `?GL_TEXTURE_CUBE_MAP_NEGATIVE_X', `?GL_TEXTURE_CUBE_MAP_POSITIVE_Y', `?GL_TEXTURE_CUBE_MAP_NEGATIVE_Y' +%% , `?GL_TEXTURE_CUBE_MAP_POSITIVE_Z', `?GL_TEXTURE_CUBE_MAP_NEGATIVE_Z', or `?GL_PROXY_TEXTURE_CUBE_MAP' +%% . +%% +%% `?GL_MAX_TEXTURE_SIZE', and `?GL_MAX_3D_TEXTURE_SIZE' are not really descriptive +%% enough. It has to report the largest square texture image that can be accommodated with +%% mipmaps and borders, but a long skinny texture, or a texture without mipmaps and borders, +%% may easily fit in texture memory. The proxy targets allow the user to more accurately +%% query whether the GL can accommodate a texture of a given configuration. If the texture +%% cannot be accommodated, the texture state variables, which may be queried with ``gl:getTexLevelParameter'' +%% , are set to 0. If the texture can be accommodated, the texture state values will be set +%% as they would be set for a non-proxy target. +%% +%% `Pname' specifies the texture parameter whose value or values will be returned. +%% +%% The accepted parameter names are as follows: +%% +%% `?GL_TEXTURE_WIDTH': `Params' returns a single value, the width of the texture +%% image. This value includes the border of the texture image. The initial value is 0. +%% +%% `?GL_TEXTURE_HEIGHT': `Params' returns a single value, the height of the texture +%% image. This value includes the border of the texture image. The initial value is 0. +%% +%% `?GL_TEXTURE_DEPTH': `Params' returns a single value, the depth of the texture +%% image. This value includes the border of the texture image. The initial value is 0. +%% +%% `?GL_TEXTURE_INTERNAL_FORMAT': `Params' returns a single value, the internal +%% format of the texture image. +%% +%% `?GL_TEXTURE_RED_TYPE', +%% +%% `?GL_TEXTURE_GREEN_TYPE', +%% +%% `?GL_TEXTURE_BLUE_TYPE', +%% +%% `?GL_TEXTURE_ALPHA_TYPE', +%% +%% `?GL_TEXTURE_DEPTH_TYPE': The data type used to store the component. The types `?GL_NONE' +%% , `?GL_SIGNED_NORMALIZED', `?GL_UNSIGNED_NORMALIZED', `?GL_FLOAT', `?GL_INT' +%% , and `?GL_UNSIGNED_INT' may be returned to indicate signed normalized fixed-point, +%% unsigned normalized fixed-point, floating-point, integer unnormalized, and unsigned integer +%% unnormalized components, respectively. +%% +%% `?GL_TEXTURE_RED_SIZE', +%% +%% `?GL_TEXTURE_GREEN_SIZE', +%% +%% `?GL_TEXTURE_BLUE_SIZE', +%% +%% `?GL_TEXTURE_ALPHA_SIZE', +%% +%% `?GL_TEXTURE_DEPTH_SIZE': The internal storage resolution of an individual component. +%% The resolution chosen by the GL will be a close match for the resolution requested by +%% the user with the component argument of {@link gl:texImage1D/8} , {@link gl:texImage2D/9} , {@link gl:texImage3D/10} +%% , {@link gl:copyTexImage1D/7} , and {@link gl:copyTexImage2D/8} . The initial value is 0. +%% +%% `?GL_TEXTURE_COMPRESSED': `Params' returns a single boolean value indicating +%% if the texture image is stored in a compressed internal format. The initiali value is `?GL_FALSE' +%% . +%% +%% `?GL_TEXTURE_COMPRESSED_IMAGE_SIZE': `Params' returns a single integer value, +%% the number of unsigned bytes of the compressed texture image that would be returned from {@link gl:getCompressedTexImage/3} +%% . +%% +%% See external documentation. +-spec getTexLevelParameterfv(Target, Level, Pname) -> {float()} when Target :: enum(),Level :: integer(),Pname :: enum(). +getTexLevelParameterfv(Target,Level,Pname) -> + call(5264, <>). -%% @spec (S::integer(),T::integer(),R::integer(),Q::integer()) -> ok -%% @doc See external documentation. --spec texCoord4i(integer(),integer(),integer(),integer()) -> ok. -texCoord4i(S,T,R,Q) -> - cast(5272, <>). +%% @doc +%% See {@link getTexLevelParameterfv/3} +-spec getTexLevelParameteriv(Target, Level, Pname) -> {integer()} when Target :: enum(),Level :: integer(),Pname :: enum(). +getTexLevelParameteriv(Target,Level,Pname) -> + call(5265, <>). -%% @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). +%% @doc Specify a one-dimensional texture image +%% +%% Texturing maps a portion of a specified texture image onto each graphical primitive for +%% which texturing is enabled. To enable and disable one-dimensional texturing, call {@link gl:enable/1} +%% and {@link gl:enable/1} with argument `?GL_TEXTURE_1D'. +%% +%% Texture images are defined with ``gl:texImage1D''. The arguments describe the parameters +%% of the texture image, such as width, width of the border, level-of-detail number (see {@link gl:texParameterf/3} +%% ), and the internal resolution and format used to store the image. The last three arguments +%% describe how the image is represented in memory. +%% +%% If `Target' is `?GL_PROXY_TEXTURE_1D', no data is read from `Data' , but +%% all of the texture image state is recalculated, checked for consistency, and checked against +%% the implementation's capabilities. If the implementation cannot handle a texture of the +%% requested texture size, it sets all of the image state to 0, but does not generate an +%% error (see {@link gl:getError/0} ). To query for an entire mipmap array, use an image array +%% level greater than or equal to 1. +%% +%% If `Target' is `?GL_TEXTURE_1D', data is read from `Data' as a sequence +%% of signed or unsigned bytes, shorts, or longs, or single-precision floating-point values, +%% depending on `Type' . These values are grouped into sets of one, two, three, or four +%% values, depending on `Format' , to form elements. Each data byte is treated as eight +%% 1-bit elements, with bit ordering determined by `?GL_UNPACK_LSB_FIRST' (see {@link gl:pixelStoref/2} +%% ). +%% +%% If a non-zero named buffer object is bound to the `?GL_PIXEL_UNPACK_BUFFER' target +%% (see {@link gl:bindBuffer/2} ) while a texture image is specified, `Data' is treated +%% as a byte offset into the buffer object's data store. +%% +%% The first element corresponds to the left end of the texture array. Subsequent elements +%% progress left-to-right through the remaining texels in the texture array. The final element +%% corresponds to the right end of the texture array. +%% +%% `Format' determines the composition of each element in `Data' . It can assume +%% one of these symbolic values: +%% +%% `?GL_RED': Each element is a single red component. The GL converts it to floating +%% point and assembles it into an RGBA element by attaching 0 for green and blue, and 1 for +%% alpha. Each component is then multiplied by the signed scale factor `?GL_c_SCALE', +%% added to the signed bias `?GL_c_BIAS', and clamped to the range [0,1]. +%% +%% `?GL_RG': Each element is a single red/green double The GL converts it to floating +%% point and assembles it into an RGBA element by attaching 0 for blue, and 1 for alpha. +%% Each component is then multiplied by the signed scale factor `?GL_c_SCALE', added +%% to the signed bias `?GL_c_BIAS', and clamped to the range [0,1]. +%% +%% `?GL_RGB' +%% +%% `?GL_BGR': Each element is an RGB triple. The GL converts it to floating point and +%% assembles it into an RGBA element by attaching 1 for alpha. Each component is then multiplied +%% by the signed scale factor `?GL_c_SCALE', added to the signed bias `?GL_c_BIAS', +%% and clamped to the range [0,1]. +%% +%% `?GL_RGBA' +%% +%% `?GL_BGRA': Each element contains all four components. Each component is multiplied +%% by the signed scale factor `?GL_c_SCALE', added to the signed bias `?GL_c_BIAS', +%% and clamped to the range [0,1]. +%% +%% `?GL_DEPTH_COMPONENT': Each element is a single depth value. The GL converts it +%% to floating point, multiplies by the signed scale factor `?GL_DEPTH_SCALE', adds +%% the signed bias `?GL_DEPTH_BIAS', and clamps to the range [0,1]. +%% +%% If an application wants to store the texture at a certain resolution or in a certain +%% format, it can request the resolution and format with `InternalFormat' . The GL will +%% choose an internal representation that closely approximates that requested by `InternalFormat' +%% , but it may not match exactly. (The representations specified by `?GL_RED', `?GL_RG' +%% , `?GL_RGB' and `?GL_RGBA' must match exactly.) +%% +%% `InternalFormat' may be one of the base internal formats shown in Table 1, below +%% +%% `InternalFormat' may also be one of the sized internal formats shown in Table 2, +%% below +%% +%% Finally, `InternalFormat' may also be one of the generic or compressed compressed +%% texture formats shown in Table 3 below +%% +%% If the `InternalFormat' parameter is one of the generic compressed formats, `?GL_COMPRESSED_RED' +%% , `?GL_COMPRESSED_RG', `?GL_COMPRESSED_RGB', or `?GL_COMPRESSED_RGBA', +%% the GL will replace the internal format with the symbolic constant for a specific internal +%% format and compress the texture before storage. If no corresponding internal format is +%% available, or the GL can not compress that image for any reason, the internal format is +%% instead replaced with a corresponding base internal format. +%% +%% If the `InternalFormat' parameter is `?GL_SRGB', `?GL_SRGB8', `?GL_SRGB_ALPHA' +%% or `?GL_SRGB8_ALPHA8', the texture is treated as if the red, green, or blue components +%% are encoded in the sRGB color space. Any alpha component is left unchanged. The conversion +%% from the sRGB encoded component c s to a linear component c l is: +%% +%% c l={ c s/12.92if c s&le; 0.04045( c s+0.055/1.055) 2.4if c s> 0.04045 +%% +%% Assume c s is the sRGB component in the range [0,1]. +%% +%% Use the `?GL_PROXY_TEXTURE_1D' target to try out a resolution and format. The implementation +%% will update and recompute its best match for the requested storage resolution and format. +%% To then query this state, call {@link gl:getTexLevelParameterfv/3} . If the texture cannot +%% be accommodated, texture state is set to 0. +%% +%% A one-component texture image uses only the red component of the RGBA color from `Data' +%% . A two-component image uses the R and A values. A three-component image uses the R, G, +%% and B values. A four-component image uses all of the RGBA components. +%% +%% Image-based shadowing can be enabled by comparing texture r coordinates to depth texture +%% values to generate a boolean result. See {@link gl:texParameterf/3} for details on texture +%% comparison. +%% +%% See external documentation. +-spec texImage1D(Target, Level, InternalFormat, Width, Border, Format, Type, Pixels) -> ok when Target :: enum(),Level :: integer(),InternalFormat :: integer(),Width :: integer(),Border :: integer(),Format :: enum(),Type :: enum(),Pixels :: offset()|mem(). +texImage1D(Target,Level,InternalFormat,Width,Border,Format,Type,Pixels) when is_integer(Pixels) -> + cast(5266, <>); +texImage1D(Target,Level,InternalFormat,Width,Border,Format,Type,Pixels) -> + send_bin(Pixels), + cast(5267, <>). -%% @spec (S::integer(),T::integer(),R::integer(),Q::integer()) -> ok -%% @doc See external documentation. --spec texCoord4s(integer(),integer(),integer(),integer()) -> ok. -texCoord4s(S,T,R,Q) -> - cast(5273, <>). +%% @doc Specify a two-dimensional texture image +%% +%% Texturing allows elements of an image array to be read by shaders. +%% +%% To define texture images, call ``gl:texImage2D''. The arguments describe the parameters +%% of the texture image, such as height, width, width of the border, level-of-detail number +%% (see {@link gl:texParameterf/3} ), and number of color components provided. The last three +%% arguments describe how the image is represented in memory. +%% +%% If `Target' is `?GL_PROXY_TEXTURE_2D', `?GL_PROXY_TEXTURE_1D_ARRAY', `?GL_PROXY_TEXTURE_CUBE_MAP' +%% , or `?GL_PROXY_TEXTURE_RECTANGLE', no data is read from `Data' , but all of +%% the texture image state is recalculated, checked for consistency, and checked against +%% the implementation's capabilities. If the implementation cannot handle a texture of the +%% requested texture size, it sets all of the image state to 0, but does not generate an +%% error (see {@link gl:getError/0} ). To query for an entire mipmap array, use an image array +%% level greater than or equal to 1. +%% +%% If `Target' is `?GL_TEXTURE_2D', `?GL_TEXTURE_RECTANGLE' or one of the `?GL_TEXTURE_CUBE_MAP' +%% targets, data is read from `Data' as a sequence of signed or unsigned bytes, shorts, +%% or longs, or single-precision floating-point values, depending on `Type' . These values +%% are grouped into sets of one, two, three, or four values, depending on `Format' , +%% to form elements. Each data byte is treated as eight 1-bit elements, with bit ordering +%% determined by `?GL_UNPACK_LSB_FIRST' (see {@link gl:pixelStoref/2} ). +%% +%% If `Target' is `?GL_TEXTURE_1D_ARRAY', data is interpreted as an array of one-dimensional +%% images. +%% +%% If a non-zero named buffer object is bound to the `?GL_PIXEL_UNPACK_BUFFER' target +%% (see {@link gl:bindBuffer/2} ) while a texture image is specified, `Data' is treated +%% as a byte offset into the buffer object's data store. +%% +%% The first element corresponds to the lower left corner of the texture image. Subsequent +%% elements progress left-to-right through the remaining texels in the lowest row of the +%% texture image, and then in successively higher rows of the texture image. The final element +%% corresponds to the upper right corner of the texture image. +%% +%% `Format' determines the composition of each element in `Data' . It can assume +%% one of these symbolic values: +%% +%% `?GL_RED': Each element is a single red component. The GL converts it to floating +%% point and assembles it into an RGBA element by attaching 0 for green and blue, and 1 for +%% alpha. Each component is then multiplied by the signed scale factor `?GL_c_SCALE', +%% added to the signed bias `?GL_c_BIAS', and clamped to the range [0,1]. +%% +%% `?GL_RG': Each element is a red/green double. The GL converts it to floating point +%% and assembles it into an RGBA element by attaching 0 for blue, and 1 for alpha. Each component +%% is then multiplied by the signed scale factor `?GL_c_SCALE', added to the signed +%% bias `?GL_c_BIAS', and clamped to the range [0,1]. +%% +%% `?GL_RGB' +%% +%% `?GL_BGR': Each element is an RGB triple. The GL converts it to floating point and +%% assembles it into an RGBA element by attaching 1 for alpha. Each component is then multiplied +%% by the signed scale factor `?GL_c_SCALE', added to the signed bias `?GL_c_BIAS', +%% and clamped to the range [0,1]. +%% +%% `?GL_RGBA' +%% +%% `?GL_BGRA': Each element contains all four components. Each component is multiplied +%% by the signed scale factor `?GL_c_SCALE', added to the signed bias `?GL_c_BIAS', +%% and clamped to the range [0,1]. +%% +%% `?GL_DEPTH_COMPONENT': Each element is a single depth value. The GL converts it +%% to floating point, multiplies by the signed scale factor `?GL_DEPTH_SCALE', adds +%% the signed bias `?GL_DEPTH_BIAS', and clamps to the range [0,1]. +%% +%% `?GL_DEPTH_STENCIL': Each element is a pair of depth and stencil values. The depth +%% component of the pair is interpreted as in `?GL_DEPTH_COMPONENT'. The stencil component +%% is interpreted based on specified the depth + stencil internal format. +%% +%% If an application wants to store the texture at a certain resolution or in a certain +%% format, it can request the resolution and format with `InternalFormat' . The GL will +%% choose an internal representation that closely approximates that requested by `InternalFormat' +%% , but it may not match exactly. (The representations specified by `?GL_RED', `?GL_RG' +%% , `?GL_RGB', and `?GL_RGBA' must match exactly.) +%% +%% `InternalFormat' may be one of the base internal formats shown in Table 1, below +%% +%% `InternalFormat' may also be one of the sized internal formats shown in Table 2, +%% below +%% +%% Finally, `InternalFormat' may also be one of the generic or compressed compressed +%% texture formats shown in Table 3 below +%% +%% If the `InternalFormat' parameter is one of the generic compressed formats, `?GL_COMPRESSED_RED' +%% , `?GL_COMPRESSED_RG', `?GL_COMPRESSED_RGB', or `?GL_COMPRESSED_RGBA', +%% the GL will replace the internal format with the symbolic constant for a specific internal +%% format and compress the texture before storage. If no corresponding internal format is +%% available, or the GL can not compress that image for any reason, the internal format is +%% instead replaced with a corresponding base internal format. +%% +%% If the `InternalFormat' parameter is `?GL_SRGB', `?GL_SRGB8', `?GL_SRGB_ALPHA' +%% , or `?GL_SRGB8_ALPHA8', the texture is treated as if the red, green, or blue components +%% are encoded in the sRGB color space. Any alpha component is left unchanged. The conversion +%% from the sRGB encoded component c s to a linear component c l is: +%% +%% c l={ c s/12.92if c s&le; 0.04045( c s+0.055/1.055) 2.4if c s> 0.04045 +%% +%% Assume c s is the sRGB component in the range [0,1]. +%% +%% Use the `?GL_PROXY_TEXTURE_2D', `?GL_PROXY_TEXTURE_1D_ARRAY', `?GL_PROXY_TEXTURE_RECTANGLE' +%% , or `?GL_PROXY_TEXTURE_CUBE_MAP' target to try out a resolution and format. The +%% implementation will update and recompute its best match for the requested storage resolution +%% and format. To then query this state, call {@link gl:getTexLevelParameterfv/3} . If the texture +%% cannot be accommodated, texture state is set to 0. +%% +%% A one-component texture image uses only the red component of the RGBA color extracted +%% from `Data' . A two-component image uses the R and G values. A three-component image +%% uses the R, G, and B values. A four-component image uses all of the RGBA components. +%% +%% Image-based shadowing can be enabled by comparing texture r coordinates to depth texture +%% values to generate a boolean result. See {@link gl:texParameterf/3} for details on texture +%% comparison. +%% +%% See external documentation. +-spec texImage2D(Target, Level, InternalFormat, Width, Height, Border, Format, Type, Pixels) -> ok when Target :: enum(),Level :: integer(),InternalFormat :: integer(),Width :: integer(),Height :: integer(),Border :: integer(),Format :: enum(),Type :: enum(),Pixels :: offset()|mem(). +texImage2D(Target,Level,InternalFormat,Width,Height,Border,Format,Type,Pixels) when is_integer(Pixels) -> + cast(5268, <>); +texImage2D(Target,Level,InternalFormat,Width,Height,Border,Format,Type,Pixels) -> + send_bin(Pixels), + cast(5269, <>). -%% @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). +%% @doc Return a texture image +%% +%% ``gl:getTexImage'' returns a texture image into `Img' . `Target' specifies +%% whether the desired texture image is one specified by {@link gl:texImage1D/8} (`?GL_TEXTURE_1D' +%% ), {@link gl:texImage2D/9} (`?GL_TEXTURE_1D_ARRAY', `?GL_TEXTURE_RECTANGLE', `?GL_TEXTURE_2D' +%% or any of `?GL_TEXTURE_CUBE_MAP_*'), or {@link gl:texImage3D/10} (`?GL_TEXTURE_2D_ARRAY' +%% , `?GL_TEXTURE_3D'). `Level' specifies the level-of-detail number of the desired +%% image. `Format' and `Type' specify the format and type of the desired image +%% array. See the reference page for {@link gl:texImage1D/8} for a description of the acceptable +%% values for the `Format' and `Type' parameters, respectively. +%% +%% If a non-zero named buffer object is bound to the `?GL_PIXEL_PACK_BUFFER' target +%% (see {@link gl:bindBuffer/2} ) while a texture image is requested, `Img' is treated +%% as a byte offset into the buffer object's data store. +%% +%% To understand the operation of ``gl:getTexImage'', consider the selected internal four-component +%% texture image to be an RGBA color buffer the size of the image. The semantics of ``gl:getTexImage'' +%% are then identical to those of {@link gl:readPixels/7} , with the exception that no pixel +%% transfer operations are performed, when called with the same `Format' and `Type' , +%% with `x' and `y' set to 0, `width' set to the width of the texture image +%% and `height' set to 1 for 1D images, or to the height of the texture image for 2D +%% images. +%% +%% If the selected texture image does not contain four components, the following mappings +%% are applied. Single-component textures are treated as RGBA buffers with red set to the +%% single-component value, green set to 0, blue set to 0, and alpha set to 1. Two-component +%% textures are treated as RGBA buffers with red set to the value of component zero, alpha +%% set to the value of component one, and green and blue set to 0. Finally, three-component +%% textures are treated as RGBA buffers with red set to component zero, green set to component +%% one, blue set to component two, and alpha set to 1. +%% +%% To determine the required size of `Img' , use {@link gl:getTexLevelParameterfv/3} to +%% determine the dimensions of the internal texture image, then scale the required number +%% of pixels by the storage required for each pixel, based on `Format' and `Type' . +%% Be sure to take the pixel storage parameters into account, especially `?GL_PACK_ALIGNMENT' +%% . +%% +%% See external documentation. +-spec getTexImage(Target, Level, Format, Type, Pixels) -> ok when Target :: enum(),Level :: integer(),Format :: enum(),Type :: enum(),Pixels :: mem(). +getTexImage(Target,Level,Format,Type,Pixels) -> + send_bin(Pixels), + call(5270, <>). -%% @spec (Size::integer(),Type::enum(),Stride::integer(),Pointer::offset()|mem()) -> ok -%% @doc See external documentation. --spec texCoordPointer(integer(),enum(),integer(),offset()|mem()) -> ok. -texCoordPointer(Size,Type,Stride,Pointer) when is_integer(Pointer) -> - cast(5274, <>); -texCoordPointer(Size,Type,Stride,Pointer) -> - send_bin(Pointer), - cast(5275, <>). +%% @doc Generate texture names +%% +%% ``gl:genTextures'' returns `N' texture names in `Textures' . There is no guarantee +%% that the names form a contiguous set of integers; however, it is guaranteed that none +%% of the returned names was in use immediately before the call to ``gl:genTextures''. +%% +%% The generated textures have no dimensionality; they assume the dimensionality of the +%% texture target to which they are first bound (see {@link gl:bindTexture/2} ). +%% +%% Texture names returned by a call to ``gl:genTextures'' are not returned by subsequent +%% calls, unless they are first deleted with {@link gl:deleteTextures/1} . +%% +%% See external documentation. +-spec genTextures(N) -> [integer()] when N :: integer(). +genTextures(N) -> + call(5271, <>). -%% @spec (Target::enum(),Pname::enum(),Param::float()) -> ok -%% @doc See external documentation. --spec texEnvf(enum(),enum(),float()) -> ok. -texEnvf(Target,Pname,Param) -> - cast(5276, <>). +%% @doc Delete named textures +%% +%% ``gl:deleteTextures'' deletes `N' textures named by the elements of the array `Textures' +%% . After a texture is deleted, it has no contents or dimensionality, and its name is free +%% for reuse (for example by {@link gl:genTextures/1} ). If a texture that is currently bound +%% is deleted, the binding reverts to 0 (the default texture). +%% +%% ``gl:deleteTextures'' silently ignores 0's and names that do not correspond to existing +%% textures. +%% +%% See external documentation. +-spec deleteTextures(Textures) -> ok when Textures :: [integer()]. +deleteTextures(Textures) -> + cast(5272, <<(length(Textures)):?GLuint, + (<< <> || C <- Textures>>)/binary,0:(((1+length(Textures)) rem 2)*32)>>). -%% @spec (Target::enum(),Pname::enum(),Params::{float()}) -> ok -%% @doc See external documentation. --spec texEnvfv(enum(),enum(),{float()}) -> ok. -texEnvfv(Target,Pname,Params) -> - cast(5277, <> ||C <- tuple_to_list(Params)>>)/binary,0:(((1+size(Params)) rem 2)*32)>>). +%% @doc Bind a named texture to a texturing target +%% +%% ``gl:bindTexture'' lets you create or use a named texture. Calling ``gl:bindTexture'' +%% with `Target' set to `?GL_TEXTURE_1D', `?GL_TEXTURE_2D', `?GL_TEXTURE_3D' +%% , or `?GL_TEXTURE_1D_ARRAY', `?GL_TEXTURE_2D_ARRAY', `?GL_TEXTURE_RECTANGLE' +%% , `?GL_TEXTURE_CUBE_MAP', `?GL_TEXTURE_2D_MULTISAMPLE' or `?GL_TEXTURE_2D_MULTISAMPLE_ARRAY' +%% and `Texture' set to the name of the new texture binds the texture name to the target. +%% When a texture is bound to a target, the previous binding for that target is automatically +%% broken. +%% +%% Texture names are unsigned integers. The value zero is reserved to represent the default +%% texture for each texture target. Texture names and the corresponding texture contents +%% are local to the shared object space of the current GL rendering context; two rendering +%% contexts share texture names only if they explicitly enable sharing between contexts through +%% the appropriate GL windows interfaces functions. +%% +%% You must use {@link gl:genTextures/1} to generate a set of new texture names. +%% +%% When a texture is first bound, it assumes the specified target: A texture first bound +%% to `?GL_TEXTURE_1D' becomes one-dimensional texture, a texture first bound to `?GL_TEXTURE_2D' +%% becomes two-dimensional texture, a texture first bound to `?GL_TEXTURE_3D' becomes +%% three-dimensional texture, a texture first bound to `?GL_TEXTURE_1D_ARRAY' becomes +%% one-dimensional array texture, a texture first bound to `?GL_TEXTURE_2D_ARRAY' becomes +%% two-dimensional arary texture, a texture first bound to `?GL_TEXTURE_RECTANGLE' becomes +%% rectangle texture, a, texture first bound to `?GL_TEXTURE_CUBE_MAP' becomes a cube-mapped +%% texture, a texture first bound to `?GL_TEXTURE_2D_MULTISAMPLE' becomes a two-dimensional +%% multisampled texture, and a texture first bound to `?GL_TEXTURE_2D_MULTISAMPLE_ARRAY' +%% becomes a two-dimensional multisampled array texture. The state of a one-dimensional texture +%% immediately after it is first bound is equivalent to the state of the default `?GL_TEXTURE_1D' +%% at GL initialization, and similarly for the other texture types. +%% +%% While a texture is bound, GL operations on the target to which it is bound affect the +%% bound texture, and queries of the target to which it is bound return state from the bound +%% texture. In effect, the texture targets become aliases for the textures currently bound +%% to them, and the texture name zero refers to the default textures that were bound to them +%% at initialization. +%% +%% A texture binding created with ``gl:bindTexture'' remains active until a different +%% texture is bound to the same target, or until the bound texture is deleted with {@link gl:deleteTextures/1} +%% . +%% +%% Once created, a named texture may be re-bound to its same original target as often as +%% needed. It is usually much faster to use ``gl:bindTexture'' to bind an existing named +%% texture to one of the texture targets than it is to reload the texture image using {@link gl:texImage1D/8} +%% , {@link gl:texImage2D/9} , {@link gl:texImage3D/10} or another similar function. +%% +%% See external documentation. +-spec bindTexture(Target, Texture) -> ok when Target :: enum(),Texture :: integer(). +bindTexture(Target,Texture) -> + cast(5273, <>). -%% @spec (Target::enum(),Pname::enum(),Param::integer()) -> ok -%% @doc See external documentation. --spec texEnvi(enum(),enum(),integer()) -> ok. -texEnvi(Target,Pname,Param) -> - cast(5278, <>). +%% @doc Set texture residence priority +%% +%% ``gl:prioritizeTextures'' assigns the `N' texture priorities given in `Priorities' +%% to the `N' textures named in `Textures' . +%% +%% The GL establishes a ``working set'' of textures that are resident in texture memory. +%% These textures may be bound to a texture target much more efficiently than textures that +%% are not resident. By specifying a priority for each texture, ``gl:prioritizeTextures'' +%% allows applications to guide the GL implementation in determining which textures should +%% be resident. +%% +%% The priorities given in `Priorities' are clamped to the range [0 1] before they are +%% assigned. 0 indicates the lowest priority; textures with priority 0 are least likely to +%% be resident. 1 indicates the highest priority; textures with priority 1 are most likely +%% to be resident. However, textures are not guaranteed to be resident until they are used. +%% +%% ``gl:prioritizeTextures'' silently ignores attempts to prioritize texture 0 or any texture +%% name that does not correspond to an existing texture. +%% +%% ``gl:prioritizeTextures'' does not require that any of the textures named by `Textures' +%% be bound to a texture target. {@link gl:texParameterf/3} may also be used to set a texture's +%% priority, but only if the texture is currently bound. This is the only way to set the +%% priority of a default texture. +%% +%% See external documentation. +-spec prioritizeTextures(Textures, Priorities) -> ok when Textures :: [integer()],Priorities :: [clamp()]. +prioritizeTextures(Textures,Priorities) -> + cast(5274, <<(length(Textures)):?GLuint, + (<< <> || C <- Textures>>)/binary,0:(((1+length(Textures)) rem 2)*32),(length(Priorities)):?GLuint, + (<< <> || C <- Priorities>>)/binary,0:(((1+length(Priorities)) rem 2)*32)>>). -%% @spec (Target::enum(),Pname::enum(),Params::{integer()}) -> ok -%% @doc See external documentation. --spec texEnviv(enum(),enum(),{integer()}) -> ok. -texEnviv(Target,Pname,Params) -> - cast(5279, <> ||C <- tuple_to_list(Params)>>)/binary,0:(((1+size(Params)) rem 2)*32)>>). +%% @doc Determine if textures are loaded in texture memory +%% +%% GL establishes a ``working set'' of textures that are resident in texture memory. These +%% textures can be bound to a texture target much more efficiently than textures that are +%% not resident. +%% +%% ``gl:areTexturesResident'' queries the texture residence status of the `N' textures +%% named by the elements of `Textures' . If all the named textures are resident, ``gl:areTexturesResident'' +%% returns `?GL_TRUE', and the contents of `Residences' are undisturbed. If not +%% all the named textures are resident, ``gl:areTexturesResident'' returns `?GL_FALSE', +%% and detailed status is returned in the `N' elements of `Residences' . If an element +%% of `Residences' is `?GL_TRUE', then the texture named by the corresponding element +%% of `Textures' is resident. +%% +%% The residence status of a single bound texture may also be queried by calling {@link gl:getTexParameterfv/2} +%% with the `target' argument set to the target to which the texture is bound, and +%% the `pname' argument set to `?GL_TEXTURE_RESIDENT'. This is the only way that +%% the residence status of a default texture can be queried. +%% +%% See external documentation. +-spec areTexturesResident(Textures) -> {0|1,Residences :: [0|1]} when Textures :: [integer()]. +areTexturesResident(Textures) -> + call(5275, <<(length(Textures)):?GLuint, + (<< <> || C <- Textures>>)/binary,0:(((1+length(Textures)) rem 2)*32)>>). -%% @spec (Coord::enum(),Pname::enum(),Param::float()) -> ok -%% @doc See external documentation. --spec texGend(enum(),enum(),float()) -> ok. -texGend(Coord,Pname,Param) -> - cast(5280, <>). +%% @doc Determine if a name corresponds to a texture +%% +%% ``gl:isTexture'' returns `?GL_TRUE' if `Texture' is currently the name of +%% a texture. If `Texture' is zero, or is a non-zero value that is not currently the +%% name of a texture, or if an error occurs, ``gl:isTexture'' returns `?GL_FALSE'. +%% +%% A name returned by {@link gl:genTextures/1} , but not yet associated with a texture by +%% calling {@link gl:bindTexture/2} , is not the name of a texture. +%% +%% See external documentation. +-spec isTexture(Texture) -> 0|1 when Texture :: integer(). +isTexture(Texture) -> + call(5276, <>). -%% @spec (Coord::enum(),Pname::enum(),Params::{float()}) -> ok -%% @doc See external documentation. --spec texGendv(enum(),enum(),{float()}) -> ok. -texGendv(Coord,Pname,Params) -> - cast(5281, <> ||C <- tuple_to_list(Params)>>)/binary>>). +%% @doc glTexSubImage +%% +%% See external documentation. +-spec texSubImage1D(Target, Level, Xoffset, Width, Format, Type, Pixels) -> ok when Target :: enum(),Level :: integer(),Xoffset :: integer(),Width :: integer(),Format :: enum(),Type :: enum(),Pixels :: offset()|mem(). +texSubImage1D(Target,Level,Xoffset,Width,Format,Type,Pixels) when is_integer(Pixels) -> + cast(5277, <>); +texSubImage1D(Target,Level,Xoffset,Width,Format,Type,Pixels) -> + send_bin(Pixels), + cast(5278, <>). -%% @spec (Coord::enum(),Pname::enum(),Param::float()) -> ok -%% @doc See external documentation. --spec texGenf(enum(),enum(),float()) -> ok. -texGenf(Coord,Pname,Param) -> - cast(5282, <>). +%% @doc glTexSubImage +%% +%% See external documentation. +-spec texSubImage2D(Target, Level, Xoffset, Yoffset, Width, Height, Format, Type, Pixels) -> ok when Target :: enum(),Level :: integer(),Xoffset :: integer(),Yoffset :: integer(),Width :: integer(),Height :: integer(),Format :: enum(),Type :: enum(),Pixels :: offset()|mem(). +texSubImage2D(Target,Level,Xoffset,Yoffset,Width,Height,Format,Type,Pixels) when is_integer(Pixels) -> + cast(5279, <>); +texSubImage2D(Target,Level,Xoffset,Yoffset,Width,Height,Format,Type,Pixels) -> + send_bin(Pixels), + cast(5280, <>). -%% @spec (Coord::enum(),Pname::enum(),Params::{float()}) -> ok -%% @doc See external documentation. --spec texGenfv(enum(),enum(),{float()}) -> ok. -texGenfv(Coord,Pname,Params) -> - cast(5283, <> ||C <- tuple_to_list(Params)>>)/binary,0:(((1+size(Params)) rem 2)*32)>>). +%% @doc Copy pixels into a 1D texture image +%% +%% ``gl:copyTexImage1D'' defines a one-dimensional texture image with pixels from the current +%% `?GL_READ_BUFFER'. +%% +%% The screen-aligned pixel row with left corner at (x y) and with a length of width+2(border) defines +%% the texture array at the mipmap level specified by `Level' . `Internalformat' +%% specifies the internal format of the texture array. +%% +%% The pixels in the row are processed exactly as if {@link gl:readPixels/7} had been called, +%% but the process stops just before final conversion. At this point all pixel component +%% values are clamped to the range [0 1] and then converted to the texture's internal format +%% for storage in the texel array. +%% +%% Pixel ordering is such that lower x screen coordinates correspond to lower texture +%% coordinates. +%% +%% If any of the pixels within the specified row of the current `?GL_READ_BUFFER' are +%% outside the window associated with the current rendering context, then the values obtained +%% for those pixels are undefined. +%% +%% ``gl:copyTexImage1D'' defines a one-dimensional texture image with pixels from the current +%% `?GL_READ_BUFFER'. +%% +%% When `Internalformat' is one of the sRGB types, the GL does not automatically convert +%% the source pixels to the sRGB color space. In this case, the ``gl:pixelMap'' function +%% can be used to accomplish the conversion. +%% +%% See external documentation. +-spec copyTexImage1D(Target, Level, Internalformat, X, Y, Width, Border) -> ok when Target :: enum(),Level :: integer(),Internalformat :: enum(),X :: integer(),Y :: integer(),Width :: integer(),Border :: integer(). +copyTexImage1D(Target,Level,Internalformat,X,Y,Width,Border) -> + cast(5281, <>). -%% @spec (Coord::enum(),Pname::enum(),Param::integer()) -> ok -%% @doc See external documentation. --spec texGeni(enum(),enum(),integer()) -> ok. -texGeni(Coord,Pname,Param) -> - cast(5284, <>). +%% @doc Copy pixels into a 2D texture image +%% +%% ``gl:copyTexImage2D'' defines a two-dimensional texture image, or cube-map texture image +%% with pixels from the current `?GL_READ_BUFFER'. +%% +%% The screen-aligned pixel rectangle with lower left corner at ( `X' , `Y' ) and +%% with a width of width+2(border) and a height of height+2(border) defines the texture array at the mipmap +%% level specified by `Level' . `Internalformat' specifies the internal format of +%% the texture array. +%% +%% The pixels in the rectangle are processed exactly as if {@link gl:readPixels/7} had been +%% called, but the process stops just before final conversion. At this point all pixel component +%% values are clamped to the range [0 1] and then converted to the texture's internal format +%% for storage in the texel array. +%% +%% Pixel ordering is such that lower x and y screen coordinates correspond to lower s +%% and t texture coordinates. +%% +%% If any of the pixels within the specified rectangle of the current `?GL_READ_BUFFER' +%% are outside the window associated with the current rendering context, then the values +%% obtained for those pixels are undefined. +%% +%% When `Internalformat' is one of the sRGB types, the GL does not automatically convert +%% the source pixels to the sRGB color space. In this case, the ``gl:pixelMap'' function +%% can be used to accomplish the conversion. +%% +%% See external documentation. +-spec copyTexImage2D(Target, Level, Internalformat, X, Y, Width, Height, Border) -> ok when Target :: enum(),Level :: integer(),Internalformat :: enum(),X :: integer(),Y :: integer(),Width :: integer(),Height :: integer(),Border :: integer(). +copyTexImage2D(Target,Level,Internalformat,X,Y,Width,Height,Border) -> + cast(5282, <>). -%% @spec (Coord::enum(),Pname::enum(),Params::{integer()}) -> ok -%% @doc See external documentation. --spec texGeniv(enum(),enum(),{integer()}) -> ok. -texGeniv(Coord,Pname,Params) -> - cast(5285, <> ||C <- tuple_to_list(Params)>>)/binary,0:(((1+size(Params)) rem 2)*32)>>). +%% @doc Copy a one-dimensional texture subimage +%% +%% ``gl:copyTexSubImage1D'' replaces a portion of a one-dimensional texture image with +%% pixels from the current `?GL_READ_BUFFER' (rather than from main memory, as is the +%% case for {@link gl:texSubImage1D/7} ). +%% +%% The screen-aligned pixel row with left corner at ( `X' , `Y' ), and with length `Width' +%% replaces the portion of the texture array with x indices `Xoffset' through xoffset +%% +width-1, inclusive. The destination in the texture array may not include any texels outside +%% the texture array as it was originally specified. +%% +%% The pixels in the row are processed exactly as if {@link gl:readPixels/7} had been called, +%% but the process stops just before final conversion. At this point, all pixel component +%% values are clamped to the range [0 1] and then converted to the texture's internal format +%% for storage in the texel array. +%% +%% It is not an error to specify a subtexture with zero width, but such a specification +%% has no effect. If any of the pixels within the specified row of the current `?GL_READ_BUFFER' +%% are outside the read window associated with the current rendering context, then the values +%% obtained for those pixels are undefined. +%% +%% No change is made to the `internalformat', `width', or `border' parameters +%% of the specified texture array or to texel values outside the specified subregion. +%% +%% See external documentation. +-spec copyTexSubImage1D(Target, Level, Xoffset, X, Y, Width) -> ok when Target :: enum(),Level :: integer(),Xoffset :: integer(),X :: integer(),Y :: integer(),Width :: integer(). +copyTexSubImage1D(Target,Level,Xoffset,X,Y,Width) -> + cast(5283, <>). -%% @spec (Target::enum(),Level::integer(),Internalformat::integer(),Width::integer(),Border::integer(),Format::enum(),Type::enum(),Pixels::offset()|mem()) -> ok -%% @doc See external 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) -> - cast(5286, <>); -texImage1D(Target,Level,Internalformat,Width,Border,Format,Type,Pixels) -> - send_bin(Pixels), - cast(5287, <>). - -%% @spec (Target::enum(),Level::integer(),Internalformat::integer(),Width::integer(),Height::integer(),Border::integer(),Format::enum(),Type::enum(),Pixels::offset()|mem()) -> ok -%% @doc See external 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) -> - cast(5288, <>); -texImage2D(Target,Level,Internalformat,Width,Height,Border,Format,Type,Pixels) -> - send_bin(Pixels), - cast(5289, <>). +%% @doc Copy a two-dimensional texture subimage +%% +%% ``gl:copyTexSubImage2D'' replaces a rectangular portion of a two-dimensional texture +%% image or cube-map texture image with pixels from the current `?GL_READ_BUFFER' (rather +%% than from main memory, as is the case for {@link gl:texSubImage1D/7} ). +%% +%% The screen-aligned pixel rectangle with lower left corner at (x y) and with width `Width' +%% and height `Height' replaces the portion of the texture array with x indices `Xoffset' +%% through xoffset+width-1, inclusive, and y indices `Yoffset' through yoffset+height +%% -1, inclusive, at the mipmap level specified by `Level' . +%% +%% The pixels in the rectangle are processed exactly as if {@link gl:readPixels/7} had been +%% called, but the process stops just before final conversion. At this point, all pixel component +%% values are clamped to the range [0 1] and then converted to the texture's internal format +%% for storage in the texel array. +%% +%% The destination rectangle in the texture array may not include any texels outside the +%% texture array as it was originally specified. It is not an error to specify a subtexture +%% with zero width or height, but such a specification has no effect. +%% +%% If any of the pixels within the specified rectangle of the current `?GL_READ_BUFFER' +%% are outside the read window associated with the current rendering context, then the values +%% obtained for those pixels are undefined. +%% +%% No change is made to the `internalformat', `width', `height', or `border' +%% parameters of the specified texture array or to texel values outside the specified subregion. +%% +%% +%% See external documentation. +-spec copyTexSubImage2D(Target, Level, Xoffset, Yoffset, X, Y, Width, Height) -> ok when Target :: enum(),Level :: integer(),Xoffset :: integer(),Yoffset :: integer(),X :: integer(),Y :: integer(),Width :: integer(),Height :: integer(). +copyTexSubImage2D(Target,Level,Xoffset,Yoffset,X,Y,Width,Height) -> + cast(5284, <>). -%% @spec (Target::enum(),Pname::enum(),Param::float()) -> ok -%% @doc See external documentation. --spec texParameterf(enum(),enum(),float()) -> ok. -texParameterf(Target,Pname,Param) -> - cast(5290, <>). +%% @doc glMap +%% +%% See external documentation. +-spec map1d(Target, U1, U2, Stride, Order, Points) -> ok when Target :: enum(),U1 :: float(),U2 :: float(),Stride :: integer(),Order :: integer(),Points :: binary(). +map1d(Target,U1,U2,Stride,Order,Points) -> + send_bin(Points), + cast(5285, <>). -%% @spec (Target::enum(),Pname::enum(),Params::{float()}) -> ok -%% @doc See external documentation. --spec texParameterfv(enum(),enum(),{float()}) -> ok. -texParameterfv(Target,Pname,Params) -> - cast(5291, <> ||C <- tuple_to_list(Params)>>)/binary,0:(((1+size(Params)) rem 2)*32)>>). +%% @doc glMap +%% +%% See external documentation. +-spec map1f(Target, U1, U2, Stride, Order, Points) -> ok when Target :: enum(),U1 :: float(),U2 :: float(),Stride :: integer(),Order :: integer(),Points :: binary(). +map1f(Target,U1,U2,Stride,Order,Points) -> + send_bin(Points), + cast(5286, <>). -%% @spec (Target::enum(),Pname::enum(),Param::integer()) -> ok -%% @doc See external documentation. --spec texParameteri(enum(),enum(),integer()) -> ok. -texParameteri(Target,Pname,Param) -> - cast(5292, <>). +%% @doc glMap +%% +%% See external documentation. +-spec map2d(Target, U1, U2, Ustride, Uorder, V1, V2, Vstride, Vorder, Points) -> ok when Target :: enum(),U1 :: float(),U2 :: float(),Ustride :: integer(),Uorder :: integer(),V1 :: float(),V2 :: float(),Vstride :: integer(),Vorder :: integer(),Points :: binary(). +map2d(Target,U1,U2,Ustride,Uorder,V1,V2,Vstride,Vorder,Points) -> + send_bin(Points), + cast(5287, <>). -%% @spec (Target::enum(),Pname::enum(),Params::{integer()}) -> ok -%% @doc See external documentation. --spec texParameteriv(enum(),enum(),{integer()}) -> ok. -texParameteriv(Target,Pname,Params) -> - cast(5293, <> ||C <- tuple_to_list(Params)>>)/binary,0:(((1+size(Params)) rem 2)*32)>>). +%% @doc glMap +%% +%% See external documentation. +-spec map2f(Target, U1, U2, Ustride, Uorder, V1, V2, Vstride, Vorder, Points) -> ok when Target :: enum(),U1 :: float(),U2 :: float(),Ustride :: integer(),Uorder :: integer(),V1 :: float(),V2 :: float(),Vstride :: integer(),Vorder :: integer(),Points :: binary(). +map2f(Target,U1,U2,Ustride,Uorder,V1,V2,Vstride,Vorder,Points) -> + send_bin(Points), + cast(5288, <>). -%% @spec (Target::enum(),Level::integer(),Xoffset::integer(),Width::integer(),Format::enum(),Type::enum(),Pixels::offset()|mem()) -> ok -%% @doc See external documentation. --spec texSubImage1D(enum(),integer(),integer(),integer(),enum(),enum(),offset()|mem()) -> ok. -texSubImage1D(Target,Level,Xoffset,Width,Format,Type,Pixels) when is_integer(Pixels) -> - cast(5294, <>); -texSubImage1D(Target,Level,Xoffset,Width,Format,Type,Pixels) -> - send_bin(Pixels), - cast(5295, <>). +%% @doc Return evaluator parameters +%% +%% {@link gl:map1d/6} and {@link gl:map1d/6} define evaluators. ``gl:getMap'' returns evaluator +%% parameters. `Target' chooses a map, `Query' selects a specific parameter, and `V' +%% points to storage where the values will be returned. +%% +%% The acceptable values for the `Target' parameter are described in the {@link gl:map1d/6} +%% and {@link gl:map1d/6} reference pages. +%% +%% `Query' can assume the following values: +%% +%% `?GL_COEFF': `V' returns the control points for the evaluator function. One-dimensional +%% evaluators return order control points, and two-dimensional evaluators return uorder*vorder +%% control points. Each control point consists of one, two, three, or four integer, single-precision +%% floating-point, or double-precision floating-point values, depending on the type of the +%% evaluator. The GL returns two-dimensional control points in row-major order, incrementing +%% the uorder index quickly and the vorder index after each row. Integer values, when +%% requested, are computed by rounding the internal floating-point values to the nearest +%% integer values. +%% +%% `?GL_ORDER': `V' returns the order of the evaluator function. One-dimensional +%% evaluators return a single value, order. The initial value is 1. Two-dimensional evaluators +%% return two values, uorder and vorder. The initial value is 1,1. +%% +%% `?GL_DOMAIN': `V' returns the linear u and v mapping parameters. One-dimensional +%% evaluators return two values, u1 and u2, as specified by {@link gl:map1d/6} . Two-dimensional +%% evaluators return four values ( u1, u2, v1, and v2) as specified by {@link gl:map1d/6} . +%% Integer values, when requested, are computed by rounding the internal floating-point values +%% to the nearest integer values. +%% +%% See external documentation. +-spec getMapdv(Target, Query, V) -> ok when Target :: enum(),Query :: enum(),V :: mem(). +getMapdv(Target,Query,V) -> + send_bin(V), + call(5289, <>). -%% @spec (Target::enum(),Level::integer(),Xoffset::integer(),Yoffset::integer(),Width::integer(),Height::integer(),Format::enum(),Type::enum(),Pixels::offset()|mem()) -> ok -%% @doc See external 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) -> - cast(5296, <>); -texSubImage2D(Target,Level,Xoffset,Yoffset,Width,Height,Format,Type,Pixels) -> - send_bin(Pixels), - cast(5297, <>). +%% @doc +%% See {@link getMapdv/3} +-spec getMapfv(Target, Query, V) -> ok when Target :: enum(),Query :: enum(),V :: mem(). +getMapfv(Target,Query,V) -> + send_bin(V), + call(5290, <>). -%% @spec (X::float(),Y::float(),Z::float()) -> ok -%% @doc See external documentation. --spec translated(float(),float(),float()) -> ok. -translated(X,Y,Z) -> - cast(5298, <>). +%% @doc +%% See {@link getMapdv/3} +-spec getMapiv(Target, Query, V) -> ok when Target :: enum(),Query :: enum(),V :: mem(). +getMapiv(Target,Query,V) -> + send_bin(V), + call(5291, <>). -%% @spec (X::float(),Y::float(),Z::float()) -> ok -%% @doc See external documentation. --spec translatef(float(),float(),float()) -> ok. -translatef(X,Y,Z) -> - cast(5299, <>). +%% @doc Evaluate enabled one- and two-dimensional maps +%% +%% ``gl:evalCoord1'' evaluates enabled one-dimensional maps at argument `U' . ``gl:evalCoord2'' +%% does the same for two-dimensional maps using two domain values, `U' and `V' . +%% To define a map, call {@link gl:map1d/6} and {@link gl:map1d/6} ; to enable and disable it, +%% call {@link gl:enable/1} and {@link gl:enable/1} . +%% +%% When one of the ``gl:evalCoord'' commands is issued, all currently enabled maps of +%% the indicated dimension are evaluated. Then, for each enabled map, it is as if the corresponding +%% GL command had been issued with the computed value. That is, if `?GL_MAP1_INDEX' or `?GL_MAP2_INDEX' +%% is enabled, a {@link gl:indexd/1} command is simulated. If `?GL_MAP1_COLOR_4' or `?GL_MAP2_COLOR_4' +%% is enabled, a {@link gl:color3b/3} command is simulated. If `?GL_MAP1_NORMAL' or `?GL_MAP2_NORMAL' +%% is enabled, a normal vector is produced, and if any of `?GL_MAP1_TEXTURE_COORD_1', `?GL_MAP1_TEXTURE_COORD_2' +%% , `?GL_MAP1_TEXTURE_COORD_3', `?GL_MAP1_TEXTURE_COORD_4', `?GL_MAP2_TEXTURE_COORD_1' +%% , `?GL_MAP2_TEXTURE_COORD_2', `?GL_MAP2_TEXTURE_COORD_3', or `?GL_MAP2_TEXTURE_COORD_4' +%% is enabled, then an appropriate {@link gl:texCoord1d/1} command is simulated. +%% +%% For color, color index, normal, and texture coordinates the GL uses evaluated values +%% instead of current values for those evaluations that are enabled, and current values otherwise, +%% However, the evaluated values do not update the current values. Thus, if {@link gl:vertex2d/2} +%% commands are interspersed with ``gl:evalCoord'' commands, the color, normal, and texture +%% coordinates associated with the {@link gl:vertex2d/2} commands are not affected by the values +%% generated by the ``gl:evalCoord'' commands, but only by the most recent {@link gl:color3b/3} +%% , {@link gl:indexd/1} , {@link gl:normal3b/3} , and {@link gl:texCoord1d/1} commands. +%% +%% No commands are issued for maps that are not enabled. If more than one texture evaluation +%% is enabled for a particular dimension (for example, `?GL_MAP2_TEXTURE_COORD_1' and `?GL_MAP2_TEXTURE_COORD_2' +%% ), then only the evaluation of the map that produces the larger number of coordinates +%% (in this case, `?GL_MAP2_TEXTURE_COORD_2') is carried out. `?GL_MAP1_VERTEX_4' +%% overrides `?GL_MAP1_VERTEX_3', and `?GL_MAP2_VERTEX_4' overrides `?GL_MAP2_VERTEX_3' +%% , in the same manner. If neither a three- nor a four-component vertex map is enabled for +%% the specified dimension, the ``gl:evalCoord'' command is ignored. +%% +%% If you have enabled automatic normal generation, by calling {@link gl:enable/1} with argument +%% `?GL_AUTO_NORMAL', ``gl:evalCoord2'' generates surface normals analytically, regardless +%% of the contents or enabling of the `?GL_MAP2_NORMAL' map. Let +%% +%% m=((&PartialD; p)/(&PartialD; u))*((&PartialD; p)/(&PartialD; v)) +%% +%% Then the generated normal n is n= m/(||m||) +%% +%% If automatic normal generation is disabled, the corresponding normal map `?GL_MAP2_NORMAL' +%% , if enabled, is used to produce a normal. If neither automatic normal generation nor +%% a normal map is enabled, no normal is generated for ``gl:evalCoord2'' commands. +%% +%% See external documentation. +-spec evalCoord1d(U) -> ok when U :: float(). +evalCoord1d(U) -> + cast(5292, <>). -%% @spec (X::float(),Y::float()) -> ok -%% @doc See external documentation. --spec vertex2d(float(),float()) -> ok. -vertex2d(X,Y) -> - cast(5300, <>). +%% @doc +%% See {@link evalCoord1d/1} +-spec evalCoord1f(U) -> ok when U :: float(). +evalCoord1f(U) -> + cast(5293, <>). -%% @spec ({X,Y}) -> ok -%% @equiv vertex2d(X,Y) --spec vertex2dv({float(),float()}) -> ok. -vertex2dv({X,Y}) -> vertex2d(X,Y). +%% @equiv evalCoord1d(U) +-spec evalCoord1dv(U) -> ok when U :: {U :: float()}. +evalCoord1dv({U}) -> evalCoord1d(U). -%% @spec (X::float(),Y::float()) -> ok -%% @doc See external documentation. --spec vertex2f(float(),float()) -> ok. -vertex2f(X,Y) -> - cast(5301, <>). +%% @equiv evalCoord1f(U) +-spec evalCoord1fv(U) -> ok when U :: {U :: float()}. +evalCoord1fv({U}) -> evalCoord1f(U). -%% @spec ({X,Y}) -> ok -%% @equiv vertex2f(X,Y) --spec vertex2fv({float(),float()}) -> ok. -vertex2fv({X,Y}) -> vertex2f(X,Y). +%% @doc +%% See {@link evalCoord1d/1} +-spec evalCoord2d(U, V) -> ok when U :: float(),V :: float(). +evalCoord2d(U,V) -> + cast(5294, <>). -%% @spec (X::integer(),Y::integer()) -> ok -%% @doc See external documentation. --spec vertex2i(integer(),integer()) -> ok. -vertex2i(X,Y) -> - cast(5302, <>). +%% @doc +%% See {@link evalCoord1d/1} +-spec evalCoord2f(U, V) -> ok when U :: float(),V :: float(). +evalCoord2f(U,V) -> + cast(5295, <>). -%% @spec ({X,Y}) -> ok -%% @equiv vertex2i(X,Y) --spec vertex2iv({integer(),integer()}) -> ok. -vertex2iv({X,Y}) -> vertex2i(X,Y). +%% @equiv evalCoord2d(U,V) +-spec evalCoord2dv(U) -> ok when U :: {U :: float(),V :: float()}. +evalCoord2dv({U,V}) -> evalCoord2d(U,V). -%% @spec (X::integer(),Y::integer()) -> ok -%% @doc See external documentation. --spec vertex2s(integer(),integer()) -> ok. -vertex2s(X,Y) -> - cast(5303, <>). +%% @equiv evalCoord2f(U,V) +-spec evalCoord2fv(U) -> ok when U :: {U :: float(),V :: float()}. +evalCoord2fv({U,V}) -> evalCoord2f(U,V). -%% @spec ({X,Y}) -> ok -%% @equiv vertex2s(X,Y) --spec vertex2sv({integer(),integer()}) -> ok. -vertex2sv({X,Y}) -> vertex2s(X,Y). +%% @doc Define a one- or two-dimensional mesh +%% +%% ``gl:mapGrid'' and {@link gl:evalMesh1/3} are used together to efficiently generate and +%% evaluate a series of evenly-spaced map domain values. {@link gl:evalMesh1/3} steps through +%% the integer domain of a one- or two-dimensional grid, whose range is the domain of the +%% evaluation maps specified by {@link gl:map1d/6} and {@link gl:map1d/6} . +%% +%% ``gl:mapGrid1'' and ``gl:mapGrid2'' specify the linear grid mappings between the i +%% (or i and j) integer grid coordinates, to the u (or u and v) floating-point +%% evaluation map coordinates. See {@link gl:map1d/6} and {@link gl:map1d/6} for details of how +%% u and v coordinates are evaluated. +%% +%% ``gl:mapGrid1'' specifies a single linear mapping such that integer grid coordinate +%% 0 maps exactly to `U1' , and integer grid coordinate `Un' maps exactly to `U2' +%% . All other integer grid coordinates i are mapped so that +%% +%% u= i(u2-u1)/un+u1 +%% +%% ``gl:mapGrid2'' specifies two such linear mappings. One maps integer grid coordinate +%% i= 0 exactly to `U1' , and integer grid coordinate i= un exactly to `U2' . The +%% other maps integer grid coordinate j= 0 exactly to `V1' , and integer grid coordinate +%% j= vn exactly to `V2' . Other integer grid coordinates i and j are mapped such +%% that +%% +%% u= i(u2-u1)/un+u1 +%% +%% v= j(v2-v1)/vn+v1 +%% +%% The mappings specified by ``gl:mapGrid'' are used identically by {@link gl:evalMesh1/3} +%% and {@link gl:evalPoint1/1} . +%% +%% See external documentation. +-spec mapGrid1d(Un, U1, U2) -> ok when Un :: integer(),U1 :: float(),U2 :: float(). +mapGrid1d(Un,U1,U2) -> + cast(5296, <>). -%% @spec (X::float(),Y::float(),Z::float()) -> ok -%% @doc See external documentation. --spec vertex3d(float(),float(),float()) -> ok. -vertex3d(X,Y,Z) -> - cast(5304, <>). +%% @doc +%% See {@link mapGrid1d/3} +-spec mapGrid1f(Un, U1, U2) -> ok when Un :: integer(),U1 :: float(),U2 :: float(). +mapGrid1f(Un,U1,U2) -> + cast(5297, <>). -%% @spec ({X,Y,Z}) -> ok -%% @equiv vertex3d(X,Y,Z) --spec vertex3dv({float(),float(),float()}) -> ok. -vertex3dv({X,Y,Z}) -> vertex3d(X,Y,Z). +%% @doc +%% See {@link mapGrid1d/3} +-spec mapGrid2d(Un, U1, U2, Vn, V1, V2) -> ok when Un :: integer(),U1 :: float(),U2 :: float(),Vn :: integer(),V1 :: float(),V2 :: float(). +mapGrid2d(Un,U1,U2,Vn,V1,V2) -> + cast(5298, <>). -%% @spec (X::float(),Y::float(),Z::float()) -> ok -%% @doc See external documentation. --spec vertex3f(float(),float(),float()) -> ok. -vertex3f(X,Y,Z) -> - cast(5305, <>). +%% @doc +%% See {@link mapGrid1d/3} +-spec mapGrid2f(Un, U1, U2, Vn, V1, V2) -> ok when Un :: integer(),U1 :: float(),U2 :: float(),Vn :: integer(),V1 :: float(),V2 :: float(). +mapGrid2f(Un,U1,U2,Vn,V1,V2) -> + cast(5299, <>). -%% @spec ({X,Y,Z}) -> ok -%% @equiv vertex3f(X,Y,Z) --spec vertex3fv({float(),float(),float()}) -> ok. -vertex3fv({X,Y,Z}) -> vertex3f(X,Y,Z). +%% @doc Generate and evaluate a single point in a mesh +%% +%% {@link gl:mapGrid1d/3} and {@link gl:evalMesh1/3} are used in tandem to efficiently generate +%% and evaluate a series of evenly spaced map domain values. ``gl:evalPoint'' can be used +%% to evaluate a single grid point in the same gridspace that is traversed by {@link gl:evalMesh1/3} +%% . Calling ``gl:evalPoint1'' is equivalent to calling glEvalCoord1( i.&Delta; u+u +%% 1 ); where &Delta; u=(u 2-u 1)/n +%% +%% and n, u 1, and u 2 are the arguments to the most recent {@link gl:mapGrid1d/3} command. +%% The one absolute numeric requirement is that if i= n, then the value computed from i.&Delta; +%% u+u 1 is exactly u 2. +%% +%% In the two-dimensional case, ``gl:evalPoint2'', let +%% +%% &Delta; u=(u 2-u 1)/n +%% +%% &Delta; v=(v 2-v 1)/m +%% +%% where n, u 1, u 2, m, v 1, and v 2 are the arguments to the most recent {@link gl:mapGrid1d/3} +%% command. Then the ``gl:evalPoint2'' command is equivalent to calling glEvalCoord2( i. +%% &Delta; u+u 1, j.&Delta; v+v 1 ); The only absolute numeric requirements are +%% that if i= n, then the value computed from i.&Delta; u+u 1 is exactly u 2, and +%% if j= m, then the value computed from j.&Delta; v+v 1 is exactly v 2. +%% +%% See external documentation. +-spec evalPoint1(I) -> ok when I :: integer(). +evalPoint1(I) -> + cast(5300, <>). -%% @spec (X::integer(),Y::integer(),Z::integer()) -> ok -%% @doc See external documentation. --spec vertex3i(integer(),integer(),integer()) -> ok. -vertex3i(X,Y,Z) -> - cast(5306, <>). +%% @doc +%% See {@link evalPoint1/1} +-spec evalPoint2(I, J) -> ok when I :: integer(),J :: integer(). +evalPoint2(I,J) -> + cast(5301, <>). -%% @spec ({X,Y,Z}) -> ok -%% @equiv vertex3i(X,Y,Z) --spec vertex3iv({integer(),integer(),integer()}) -> ok. -vertex3iv({X,Y,Z}) -> vertex3i(X,Y,Z). +%% @doc Compute a one- or two-dimensional grid of points or lines +%% +%% {@link gl:mapGrid1d/3} and ``gl:evalMesh'' are used in tandem to efficiently generate and +%% evaluate a series of evenly-spaced map domain values. ``gl:evalMesh'' steps through +%% the integer domain of a one- or two-dimensional grid, whose range is the domain of the +%% evaluation maps specified by {@link gl:map1d/6} and {@link gl:map1d/6} . `Mode' determines +%% whether the resulting vertices are connected as points, lines, or filled polygons. +%% +%% In the one-dimensional case, ``gl:evalMesh1'', the mesh is generated as if the following +%% code fragment were executed: +%% +%% glBegin( `Type' ); for ( i = `I1' ; i <= `I2' ; i += 1 ) glEvalCoord1( +%% i.&Delta; u+u 1 ); glEnd(); where +%% +%% &Delta; u=(u 2-u 1)/n +%% +%% and n, u 1, and u 2 are the arguments to the most recent {@link gl:mapGrid1d/3} command. +%% `type' is `?GL_POINTS' if `Mode' is `?GL_POINT', or `?GL_LINES' +%% if `Mode' is `?GL_LINE'. +%% +%% The one absolute numeric requirement is that if i= n, then the value computed from i. +%% &Delta; u+u 1 is exactly u 2. +%% +%% In the two-dimensional case, ``gl:evalMesh2'', let .cp &Delta; u=(u 2-u 1)/n +%% +%% &Delta; v=(v 2-v 1)/m +%% +%% where n, u 1, u 2, m, v 1, and v 2 are the arguments to the most recent {@link gl:mapGrid1d/3} +%% command. Then, if `Mode' is `?GL_FILL', the ``gl:evalMesh2'' command is equivalent +%% to: +%% +%% for ( j = `J1' ; j < `J2' ; j += 1 ) { glBegin( GL_QUAD_STRIP ); for ( i = `I1' +%% ; i <= `I2' ; i += 1 ) { glEvalCoord2( i.&Delta; u+u 1, j.&Delta; v+v 1 +%% ); glEvalCoord2( i.&Delta; u+u 1,(j+1).&Delta; v+v 1 ); } glEnd(); } +%% +%% If `Mode' is `?GL_LINE', then a call to ``gl:evalMesh2'' is equivalent to: +%% +%% for ( j = `J1' ; j <= `J2' ; j += 1 ) { glBegin( GL_LINE_STRIP ); for ( i = `I1' +%% ; i <= `I2' ; i += 1 ) glEvalCoord2( i.&Delta; u+u 1, j.&Delta; v+v 1 +%% ); glEnd(); } for ( i = `I1' ; i <= `I2' ; i += 1 ) { glBegin( GL_LINE_STRIP +%% ); for ( j = `J1' ; j <= `J1' ; j += 1 ) glEvalCoord2( i.&Delta; u+u 1, j. +%% &Delta; v+v 1 ); glEnd(); } +%% +%% And finally, if `Mode' is `?GL_POINT', then a call to ``gl:evalMesh2'' is +%% equivalent to: +%% +%% glBegin( GL_POINTS ); for ( j = `J1' ; j <= `J2' ; j += 1 ) for ( i = `I1' +%% ; i <= `I2' ; i += 1 ) glEvalCoord2( i.&Delta; u+u 1, j.&Delta; v+v 1 +%% ); glEnd(); +%% +%% In all three cases, the only absolute numeric requirements are that if i= n, then the +%% value computed from i.&Delta; u+u 1 is exactly u 2, and if j= m, then the value +%% computed from j.&Delta; v+v 1 is exactly v 2. +%% +%% See external documentation. +-spec evalMesh1(Mode, I1, I2) -> ok when Mode :: enum(),I1 :: integer(),I2 :: integer(). +evalMesh1(Mode,I1,I2) -> + cast(5302, <>). -%% @spec (X::integer(),Y::integer(),Z::integer()) -> ok -%% @doc See external documentation. --spec vertex3s(integer(),integer(),integer()) -> ok. -vertex3s(X,Y,Z) -> - cast(5307, <>). +%% @doc +%% See {@link evalMesh1/3} +-spec evalMesh2(Mode, I1, I2, J1, J2) -> ok when Mode :: enum(),I1 :: integer(),I2 :: integer(),J1 :: integer(),J2 :: integer(). +evalMesh2(Mode,I1,I2,J1,J2) -> + cast(5303, <>). -%% @spec ({X,Y,Z}) -> ok -%% @equiv vertex3s(X,Y,Z) --spec vertex3sv({integer(),integer(),integer()}) -> ok. -vertex3sv({X,Y,Z}) -> vertex3s(X,Y,Z). +%% @doc Specify fog parameters +%% +%% Fog is initially disabled. While enabled, fog affects rasterized geometry, bitmaps, and +%% pixel blocks, but not buffer clear operations. To enable and disable fog, call {@link gl:enable/1} +%% and {@link gl:enable/1} with argument `?GL_FOG'. +%% +%% ``gl:fog'' assigns the value or values in `Params' to the fog parameter specified +%% by `Pname' . The following values are accepted for `Pname' : +%% +%% `?GL_FOG_MODE': `Params' is a single integer or floating-point value that specifies +%% the equation to be used to compute the fog blend factor, f. Three symbolic constants +%% are accepted: `?GL_LINEAR', `?GL_EXP', and `?GL_EXP2'. The equations corresponding +%% to these symbolic constants are defined below. The initial fog mode is `?GL_EXP'. +%% +%% `?GL_FOG_DENSITY': `Params' is a single integer or floating-point value that +%% specifies density, the fog density used in both exponential fog equations. Only nonnegative +%% densities are accepted. The initial fog density is 1. +%% +%% `?GL_FOG_START': `Params' is a single integer or floating-point value that specifies +%% start, the near distance used in the linear fog equation. The initial near distance +%% is 0. +%% +%% `?GL_FOG_END': `Params' is a single integer or floating-point value that specifies +%% end, the far distance used in the linear fog equation. The initial far distance is 1. +%% +%% `?GL_FOG_INDEX': `Params' is a single integer or floating-point value that specifies +%% i f, the fog color index. The initial fog index is 0. +%% +%% `?GL_FOG_COLOR': `Params' contains four integer or floating-point values that +%% specify C f, the fog color. Integer values are mapped linearly such that the most positive +%% representable value maps to 1.0, and the most negative representable value maps to -1.0. +%% Floating-point values are mapped directly. After conversion, all color components are +%% clamped to the range [0 1]. The initial fog color is (0, 0, 0, 0). +%% +%% `?GL_FOG_COORD_SRC': `Params' contains either of the following symbolic constants: +%% `?GL_FOG_COORD' or `?GL_FRAGMENT_DEPTH'. `?GL_FOG_COORD' specifies that +%% the current fog coordinate should be used as distance value in the fog color computation. +%% `?GL_FRAGMENT_DEPTH' specifies that the current fragment depth should be used as +%% distance value in the fog computation. +%% +%% Fog blends a fog color with each rasterized pixel fragment's post-texturing color using +%% a blending factor f. Factor f is computed in one of three ways, depending on the fog +%% mode. Let c be either the distance in eye coordinate from the origin (in the case that +%% the `?GL_FOG_COORD_SRC' is `?GL_FRAGMENT_DEPTH') or the current fog coordinate +%% (in the case that `?GL_FOG_COORD_SRC' is `?GL_FOG_COORD'). The equation for `?GL_LINEAR' +%% fog is f=(end-c)/(end-start) +%% +%% The equation for `?GL_EXP' fog is f= e(-(density. c)) +%% +%% The equation for `?GL_EXP2' fog is f= e(-(density. c)) 2 +%% +%% Regardless of the fog mode, f is clamped to the range [0 1] after it is computed. Then, +%% if the GL is in RGBA color mode, the fragment's red, green, and blue colors, represented +%% by C r, are replaced by +%% +%% (C r)"= f*C r+(1-f)*C f +%% +%% Fog does not affect a fragment's alpha component. +%% +%% In color index mode, the fragment's color index i r is replaced by +%% +%% (i r)"= i r+(1-f)*i f +%% +%% +%% +%% See external documentation. +-spec fogf(Pname, Param) -> ok when Pname :: enum(),Param :: float(). +fogf(Pname,Param) -> + cast(5304, <>). -%% @spec (X::float(),Y::float(),Z::float(),W::float()) -> ok -%% @doc See external documentation. --spec vertex4d(float(),float(),float(),float()) -> ok. -vertex4d(X,Y,Z,W) -> - cast(5308, <>). +%% @doc +%% See {@link fogf/2} +-spec fogi(Pname, Param) -> ok when Pname :: enum(),Param :: integer(). +fogi(Pname,Param) -> + cast(5305, <>). -%% @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). +%% @doc +%% See {@link fogf/2} +-spec fogfv(Pname, Params) -> ok when Pname :: enum(),Params :: {float()}. +fogfv(Pname,Params) -> + cast(5306, <> ||C <- tuple_to_list(Params)>>)/binary,0:(((0+size(Params)) rem 2)*32)>>). -%% @spec (X::float(),Y::float(),Z::float(),W::float()) -> ok -%% @doc See external documentation. --spec vertex4f(float(),float(),float(),float()) -> ok. -vertex4f(X,Y,Z,W) -> - cast(5309, <>). +%% @doc +%% See {@link fogf/2} +-spec fogiv(Pname, Params) -> ok when Pname :: enum(),Params :: {integer()}. +fogiv(Pname,Params) -> + cast(5307, <> ||C <- tuple_to_list(Params)>>)/binary,0:(((0+size(Params)) rem 2)*32)>>). -%% @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). +%% @doc Controls feedback mode +%% +%% The ``gl:feedbackBuffer'' function controls feedback. Feedback, like selection, is +%% a GL mode. The mode is selected by calling {@link gl:renderMode/1} with `?GL_FEEDBACK'. +%% When the GL is in feedback mode, no pixels are produced by rasterization. Instead, information +%% about primitives that would have been rasterized is fed back to the application using +%% the GL. +%% +%% ``gl:feedbackBuffer'' has three arguments: `Buffer' is a pointer to an array of +%% floating-point values into which feedback information is placed. `Size' indicates +%% the size of the array. `Type' is a symbolic constant describing the information that +%% is fed back for each vertex. ``gl:feedbackBuffer'' must be issued before feedback mode +%% is enabled (by calling {@link gl:renderMode/1} with argument `?GL_FEEDBACK'). Setting +%% `?GL_FEEDBACK' without establishing the feedback buffer, or calling ``gl:feedbackBuffer'' +%% while the GL is in feedback mode, is an error. +%% +%% When {@link gl:renderMode/1} is called while in feedback mode, it returns the number of +%% entries placed in the feedback array and resets the feedback array pointer to the base +%% of the feedback buffer. The returned value never exceeds `Size' . If the feedback +%% data required more room than was available in `Buffer' , {@link gl:renderMode/1} returns +%% a negative value. To take the GL out of feedback mode, call {@link gl:renderMode/1} with +%% a parameter value other than `?GL_FEEDBACK'. +%% +%% While in feedback mode, each primitive, bitmap, or pixel rectangle that would be rasterized +%% generates a block of values that are copied into the feedback array. If doing so would +%% cause the number of entries to exceed the maximum, the block is partially written so as +%% to fill the array (if there is any room left at all), and an overflow flag is set. Each +%% block begins with a code indicating the primitive type, followed by values that describe +%% the primitive's vertices and associated data. Entries are also written for bitmaps and +%% pixel rectangles. Feedback occurs after polygon culling and {@link gl:polygonMode/2} interpretation +%% of polygons has taken place, so polygons that are culled are not returned in the feedback +%% buffer. It can also occur after polygons with more than three edges are broken up into +%% triangles, if the GL implementation renders polygons by performing this decomposition. +%% +%% The {@link gl:passThrough/1} command can be used to insert a marker into the feedback +%% buffer. See {@link gl:passThrough/1} . +%% +%% Following is the grammar for the blocks of values written into the feedback buffer. Each +%% primitive is indicated with a unique identifying value followed by some number of vertices. +%% Polygon entries include an integer value indicating how many vertices follow. A vertex +%% is fed back as some number of floating-point values, as determined by `Type' . Colors +%% are fed back as four values in RGBA mode and one value in color index mode. +%% +%% feedbackList feedbackItem feedbackList | feedbackItem +%% +%% feedbackItem point | lineSegment | polygon | bitmap | pixelRectangle | passThru +%% +%% point `?GL_POINT_TOKEN' vertex +%% +%% lineSegment `?GL_LINE_TOKEN' vertex vertex | `?GL_LINE_RESET_TOKEN' vertex +%% vertex +%% +%% polygon `?GL_POLYGON_TOKEN' n polySpec +%% +%% polySpec polySpec vertex | vertex vertex vertex +%% +%% bitmap `?GL_BITMAP_TOKEN' vertex +%% +%% pixelRectangle `?GL_DRAW_PIXEL_TOKEN' vertex | `?GL_COPY_PIXEL_TOKEN' vertex +%% +%% passThru `?GL_PASS_THROUGH_TOKEN' value +%% +%% vertex 2d | 3d | 3dColor | 3dColorTexture | 4dColorTexture +%% +%% 2d value value +%% +%% 3d value value value +%% +%% 3dColor value value value color +%% +%% 3dColorTexture value value value color tex +%% +%% 4dColorTexture value value value value color tex +%% +%% color rgba | index +%% +%% rgba value value value value +%% +%% index value +%% +%% tex value value value value +%% +%% `value' is a floating-point number, and `n' is a floating-point integer giving +%% the number of vertices in the polygon. `?GL_POINT_TOKEN', `?GL_LINE_TOKEN', `?GL_LINE_RESET_TOKEN' +%% , `?GL_POLYGON_TOKEN', `?GL_BITMAP_TOKEN', `?GL_DRAW_PIXEL_TOKEN', `?GL_COPY_PIXEL_TOKEN' +%% and `?GL_PASS_THROUGH_TOKEN' are symbolic floating-point constants. `?GL_LINE_RESET_TOKEN' +%% is returned whenever the line stipple pattern is reset. The data returned as a vertex +%% depends on the feedback `Type' . +%% +%% The following table gives the correspondence between `Type' and the number of values +%% per vertex. `k' is 1 in color index mode and 4 in RGBA mode. +%% +%% +%% +%%
` Type '` Coordinates '` Color '` Texture '` Total Number of Values '
+%% `?GL_2D'`x', `y' 2
`?GL_3D' +%% `x', `y', `z' 3
`?GL_3D_COLOR' +%% `x', `y', `z' k 3+k
`?GL_3D_COLOR_TEXTURE' +%% `x', `y', `z' k 4 7+k
+%% `?GL_4D_COLOR_TEXTURE'`x', `y', `z', `w' k 4 8+k
+%% +%% Feedback vertex coordinates are in window coordinates, except `w', which is in clip +%% coordinates. Feedback colors are lighted, if lighting is enabled. Feedback texture coordinates +%% are generated, if texture coordinate generation is enabled. They are always transformed +%% by the texture matrix. +%% +%% See external documentation. +-spec feedbackBuffer(Size, Type, Buffer) -> ok when Size :: integer(),Type :: enum(),Buffer :: mem(). +feedbackBuffer(Size,Type,Buffer) -> + send_bin(Buffer), + call(5308, <>). -%% @spec (X::integer(),Y::integer(),Z::integer(),W::integer()) -> ok -%% @doc See external documentation. --spec vertex4i(integer(),integer(),integer(),integer()) -> ok. -vertex4i(X,Y,Z,W) -> - cast(5310, <>). +%% @doc Place a marker in the feedback buffer +%% +%% Feedback is a GL render mode. The mode is selected by calling {@link gl:renderMode/1} +%% with `?GL_FEEDBACK'. When the GL is in feedback mode, no pixels are produced by rasterization. +%% Instead, information about primitives that would have been rasterized is fed back to the +%% application using the GL. See the {@link gl:feedbackBuffer/3} reference page for a description +%% of the feedback buffer and the values in it. +%% +%% ``gl:passThrough'' inserts a user-defined marker in the feedback buffer when it is executed +%% in feedback mode. `Token' is returned as if it were a primitive; it is indicated +%% with its own unique identifying value: `?GL_PASS_THROUGH_TOKEN'. The order of ``gl:passThrough'' +%% commands with respect to the specification of graphics primitives is maintained. +%% +%% See external documentation. +-spec passThrough(Token) -> ok when Token :: float(). +passThrough(Token) -> + cast(5309, <>). -%% @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). +%% @doc Establish a buffer for selection mode values +%% +%% ``gl:selectBuffer'' has two arguments: `Buffer' is a pointer to an array of unsigned +%% integers, and `Size' indicates the size of the array. `Buffer' returns values +%% from the name stack (see {@link gl:initNames/0} , {@link gl:loadName/1} , {@link gl:pushName/1} ) +%% when the rendering mode is `?GL_SELECT' (see {@link gl:renderMode/1} ). ``gl:selectBuffer'' +%% must be issued before selection mode is enabled, and it must not be issued while the +%% rendering mode is `?GL_SELECT'. +%% +%% A programmer can use selection to determine which primitives are drawn into some region +%% of a window. The region is defined by the current modelview and perspective matrices. +%% +%% In selection mode, no pixel fragments are produced from rasterization. Instead, if a +%% primitive or a raster position intersects the clipping volume defined by the viewing frustum +%% and the user-defined clipping planes, this primitive causes a selection hit. (With polygons, +%% no hit occurs if the polygon is culled.) When a change is made to the name stack, or when +%% {@link gl:renderMode/1} is called, a hit record is copied to `Buffer' if any hits +%% have occurred since the last such event (name stack change or {@link gl:renderMode/1} call). +%% The hit record consists of the number of names in the name stack at the time of the event, +%% followed by the minimum and maximum depth values of all vertices that hit since the previous +%% event, followed by the name stack contents, bottom name first. +%% +%% Depth values (which are in the range [0,1]) are multiplied by 2 32-1, before being +%% placed in the hit record. +%% +%% An internal index into `Buffer' is reset to 0 whenever selection mode is entered. +%% Each time a hit record is copied into `Buffer' , the index is incremented to point +%% to the cell just past the end of the block of names(emthat is, to the next available cell +%% If the hit record is larger than the number of remaining locations in `Buffer' , as +%% much data as can fit is copied, and the overflow flag is set. If the name stack is empty +%% when a hit record is copied, that record consists of 0 followed by the minimum and maximum +%% depth values. +%% +%% To exit selection mode, call {@link gl:renderMode/1} with an argument other than `?GL_SELECT' +%% . Whenever {@link gl:renderMode/1} is called while the render mode is `?GL_SELECT', +%% it returns the number of hit records copied to `Buffer' , resets the overflow flag +%% and the selection buffer pointer, and initializes the name stack to be empty. If the overflow +%% bit was set when {@link gl:renderMode/1} was called, a negative hit record count is returned. +%% +%% +%% See external documentation. +-spec selectBuffer(Size, Buffer) -> ok when Size :: integer(),Buffer :: mem(). +selectBuffer(Size,Buffer) -> + send_bin(Buffer), + call(5310, <>). -%% @spec (X::integer(),Y::integer(),Z::integer(),W::integer()) -> ok -%% @doc See external documentation. --spec vertex4s(integer(),integer(),integer(),integer()) -> ok. -vertex4s(X,Y,Z,W) -> - cast(5311, <>). +%% @doc Initialize the name stack +%% +%% The name stack is used during selection mode to allow sets of rendering commands to be +%% uniquely identified. It consists of an ordered set of unsigned integers. ``gl:initNames'' +%% causes the name stack to be initialized to its default empty state. +%% +%% The name stack is always empty while the render mode is not `?GL_SELECT'. Calls to ``gl:initNames'' +%% while the render mode is not `?GL_SELECT' are ignored. +%% +%% See external documentation. +-spec initNames() -> ok. +initNames() -> + cast(5311, <<>>). -%% @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). +%% @doc Load a name onto the name stack +%% +%% The name stack is used during selection mode to allow sets of rendering commands to be +%% uniquely identified. It consists of an ordered set of unsigned integers and is initially +%% empty. +%% +%% ``gl:loadName'' causes `Name' to replace the value on the top of the name stack. +%% +%% The name stack is always empty while the render mode is not `?GL_SELECT'. Calls to ``gl:loadName'' +%% while the render mode is not `?GL_SELECT' are ignored. +%% +%% See external documentation. +-spec loadName(Name) -> ok when Name :: integer(). +loadName(Name) -> + cast(5312, <>). -%% @spec (Size::integer(),Type::enum(),Stride::integer(),Pointer::offset()|mem()) -> ok -%% @doc See external documentation. --spec vertexPointer(integer(),enum(),integer(),offset()|mem()) -> ok. -vertexPointer(Size,Type,Stride,Pointer) when is_integer(Pointer) -> - cast(5312, <>); -vertexPointer(Size,Type,Stride,Pointer) -> - send_bin(Pointer), - cast(5313, <>). +%% @doc Push and pop the name stack +%% +%% The name stack is used during selection mode to allow sets of rendering commands to be +%% uniquely identified. It consists of an ordered set of unsigned integers and is initially +%% empty. +%% +%% ``gl:pushName'' causes `Name' to be pushed onto the name stack. {@link gl:pushName/1} +%% pops one name off the top of the stack. +%% +%% The maximum name stack depth is implementation-dependent; call `?GL_MAX_NAME_STACK_DEPTH' +%% to find out the value for a particular implementation. It is an error to push a name +%% onto a full stack or to pop a name off an empty stack. It is also an error to manipulate +%% the name stack between the execution of {@link gl:'begin'/1} and the corresponding execution +%% of {@link gl:'begin'/1} . In any of these cases, the error flag is set and no other change is +%% made to GL state. +%% +%% The name stack is always empty while the render mode is not `?GL_SELECT'. Calls to ``gl:pushName'' +%% or {@link gl:pushName/1} while the render mode is not `?GL_SELECT' are ignored. +%% +%% See external documentation. +-spec pushName(Name) -> ok when Name :: integer(). +pushName(Name) -> + cast(5313, <>). -%% @spec (X::integer(),Y::integer(),Width::integer(),Height::integer()) -> ok -%% @doc See external documentation. --spec viewport(integer(),integer(),integer(),integer()) -> ok. -viewport(X,Y,Width,Height) -> - cast(5314, <>). +%% @doc +%% See {@link pushName/1} +-spec popName() -> ok. +popName() -> + cast(5314, <<>>). -%% @spec (Red::clamp(),Green::clamp(),Blue::clamp(),Alpha::clamp()) -> ok -%% @doc See external documentation. --spec blendColor(clamp(),clamp(),clamp(),clamp()) -> ok. +%% @doc Set the blend color +%% +%% The `?GL_BLEND_COLOR' may be used to calculate the source and destination blending +%% factors. The color components are clamped to the range [0 1] before being stored. See {@link gl:blendFunc/2} +%% for a complete description of the blending operations. Initially the `?GL_BLEND_COLOR' +%% is set to (0, 0, 0, 0). +%% +%% See external documentation. +-spec blendColor(Red, Green, Blue, Alpha) -> ok when Red :: clamp(),Green :: clamp(),Blue :: clamp(),Alpha :: clamp(). blendColor(Red,Green,Blue,Alpha) -> cast(5315, <>). -%% @spec (Mode::enum()) -> ok -%% @doc See external documentation. --spec blendEquation(enum()) -> ok. +%% @doc Specify the equation used for both the RGB blend equation and the Alpha blend equation +%% +%% The blend equations determine how a new pixel (the ''source'' color) is combined with +%% a pixel already in the framebuffer (the ''destination'' color). This function sets both +%% the RGB blend equation and the alpha blend equation to a single equation. ``gl:blendEquationi'' +%% specifies the blend equation for a single draw buffer whereas ``gl:blendEquation'' +%% sets the blend equation for all draw buffers. +%% +%% These equations use the source and destination blend factors specified by either {@link gl:blendFunc/2} +%% or {@link gl:blendFuncSeparate/4} . See {@link gl:blendFunc/2} or {@link gl:blendFuncSeparate/4} +%% for a description of the various blend factors. +%% +%% In the equations that follow, source and destination color components are referred to +%% as (R s G s B s A s) and (R d G d B d A d), respectively. The result color is referred to as (R r G r B r A r). The source and destination +%% blend factors are denoted (s R s G s B s A) and (d R d G d B d A), respectively. For these equations all color components +%% are understood to have values in the range [0 1]. +%%
` Mode ' +%% ` RGB Components '` Alpha Component '
`?GL_FUNC_ADD' +%% Rr= R s s R+R d d R Gr= G s s G+G d d G Br= B s s B+B d d B Ar= +%% A s s A+A d d A
`?GL_FUNC_SUBTRACT' Rr= R s s R-R d d +%% R Gr= G s s G-G d d G Br= B s s B-B d d B Ar= A s s A-A d d A
`?GL_FUNC_REVERSE_SUBTRACT' Rr= R d d R-R s s R Gr= G d d G-G s s G +%% Br= B d d B-B s s B Ar= A d d A-A s s A
`?GL_MIN' +%% Rr= min(R s R d) Gr= min(G s G d) Br= min(B s B d) Ar= min(A s A d)
`?GL_MAX' Rr= +%% max(R s R d) Gr= max(G s G d) Br= max(B s B d) Ar= max(A s A d)
+%% +%% The results of these equations are clamped to the range [0 1]. +%% +%% The `?GL_MIN' and `?GL_MAX' equations are useful for applications that analyze +%% image data (image thresholding against a constant color, for example). The `?GL_FUNC_ADD' +%% equation is useful for antialiasing and transparency, among other things. +%% +%% Initially, both the RGB blend equation and the alpha blend equation are set to `?GL_FUNC_ADD' +%% . +%% +%% +%% +%% See external documentation. +-spec blendEquation(Mode) -> ok when Mode :: enum(). blendEquation(Mode) -> cast(5316, <>). -%% @spec (Mode::enum(),Start::integer(),End::integer(),Count::integer(),Type::enum(),Indices::offset()|mem()) -> ok -%% @doc See external documentation. --spec drawRangeElements(enum(),integer(),integer(),integer(),enum(),offset()|mem()) -> ok. +%% @doc Render primitives from array data +%% +%% ``gl:drawRangeElements'' is a restricted form of {@link gl:drawElements/4} . `Mode' , +%% `Start' , `End' , and `Count' match the corresponding arguments to {@link gl:drawElements/4} +%% , with the additional constraint that all values in the arrays `Count' must lie between +%% `Start' and `End' , inclusive. +%% +%% Implementations denote recommended maximum amounts of vertex and index data, which may +%% be queried by calling {@link gl:getBooleanv/1} with argument `?GL_MAX_ELEMENTS_VERTICES' and `?GL_MAX_ELEMENTS_INDICES' +%% . If end-start+1 is greater than the value of `?GL_MAX_ELEMENTS_VERTICES', or if `Count' +%% is greater than the value of `?GL_MAX_ELEMENTS_INDICES', then the call may operate +%% at reduced performance. There is no requirement that all vertices in the range [start end] be referenced. +%% However, the implementation may partially process unused vertices, reducing performance +%% from what could be achieved with an optimal index set. +%% +%% When ``gl:drawRangeElements'' is called, it uses `Count' sequential elements from +%% an enabled array, starting at `Start' to construct a sequence of geometric primitives. +%% `Mode' specifies what kind of primitives are constructed, and how the array elements +%% construct these primitives. If more than one array is enabled, each is used. +%% +%% Vertex attributes that are modified by ``gl:drawRangeElements'' have an unspecified +%% value after ``gl:drawRangeElements'' returns. Attributes that aren't modified maintain +%% their previous values. +%% +%% See external documentation. +-spec drawRangeElements(Mode, Start, End, Count, Type, Indices) -> ok when Mode :: enum(),Start :: integer(),End :: integer(),Count :: integer(),Type :: enum(),Indices :: offset()|mem(). drawRangeElements(Mode,Start,End,Count,Type,Indices) when is_integer(Indices) -> cast(5317, <>); drawRangeElements(Mode,Start,End,Count,Type,Indices) -> send_bin(Indices), cast(5318, <>). -%% @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 external 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) -> - cast(5319, <>); -texImage3D(Target,Level,Internalformat,Width,Height,Depth,Border,Format,Type,Pixels) -> +%% @doc Specify a three-dimensional texture image +%% +%% Texturing maps a portion of a specified texture image onto each graphical primitive for +%% which texturing is enabled. To enable and disable three-dimensional texturing, call {@link gl:enable/1} +%% and {@link gl:enable/1} with argument `?GL_TEXTURE_3D'. +%% +%% To define texture images, call ``gl:texImage3D''. The arguments describe the parameters +%% of the texture image, such as height, width, depth, width of the border, level-of-detail +%% number (see {@link gl:texParameterf/3} ), and number of color components provided. The last +%% three arguments describe how the image is represented in memory. +%% +%% If `Target' is `?GL_PROXY_TEXTURE_3D', no data is read from `Data' , but +%% all of the texture image state is recalculated, checked for consistency, and checked against +%% the implementation's capabilities. If the implementation cannot handle a texture of the +%% requested texture size, it sets all of the image state to 0, but does not generate an +%% error (see {@link gl:getError/0} ). To query for an entire mipmap array, use an image array +%% level greater than or equal to 1. +%% +%% If `Target' is `?GL_TEXTURE_3D', data is read from `Data' as a sequence +%% of signed or unsigned bytes, shorts, or longs, or single-precision floating-point values, +%% depending on `Type' . These values are grouped into sets of one, two, three, or four +%% values, depending on `Format' , to form elements. Each data byte is treated as eight +%% 1-bit elements, with bit ordering determined by `?GL_UNPACK_LSB_FIRST' (see {@link gl:pixelStoref/2} +%% ). +%% +%% If a non-zero named buffer object is bound to the `?GL_PIXEL_UNPACK_BUFFER' target +%% (see {@link gl:bindBuffer/2} ) while a texture image is specified, `Data' is treated +%% as a byte offset into the buffer object's data store. +%% +%% The first element corresponds to the lower left corner of the texture image. Subsequent +%% elements progress left-to-right through the remaining texels in the lowest row of the +%% texture image, and then in successively higher rows of the texture image. The final element +%% corresponds to the upper right corner of the texture image. +%% +%% `Format' determines the composition of each element in `Data' . It can assume +%% one of these symbolic values: +%% +%% `?GL_RED': Each element is a single red component. The GL converts it to floating +%% point and assembles it into an RGBA element by attaching 0 for green and blue, and 1 for +%% alpha. Each component is then multiplied by the signed scale factor `?GL_c_SCALE', +%% added to the signed bias `?GL_c_BIAS', and clamped to the range [0,1]. +%% +%% `?GL_RG': Each element is a red and green pair. The GL converts each to floating +%% point and assembles it into an RGBA element by attaching 0 for blue, and 1 for alpha. +%% Each component is then multiplied by the signed scale factor `?GL_c_SCALE', added +%% to the signed bias `?GL_c_BIAS', and clamped to the range [0,1]. +%% +%% `?GL_RGB' +%% +%% `?GL_BGR': Each element is an RGB triple. The GL converts it to floating point and +%% assembles it into an RGBA element by attaching 1 for alpha. Each component is then multiplied +%% by the signed scale factor `?GL_c_SCALE', added to the signed bias `?GL_c_BIAS', +%% and clamped to the range [0,1]. +%% +%% `?GL_RGBA' +%% +%% `?GL_BGRA': Each element contains all four components. Each component is multiplied +%% by the signed scale factor `?GL_c_SCALE', added to the signed bias `?GL_c_BIAS', +%% and clamped to the range [0,1]. +%% +%% If an application wants to store the texture at a certain resolution or in a certain +%% format, it can request the resolution and format with `InternalFormat' . The GL will +%% choose an internal representation that closely approximates that requested by `InternalFormat' +%% , but it may not match exactly. (The representations specified by `?GL_RED', `?GL_RG' +%% , `?GL_RGB', and `?GL_RGBA' must match exactly.) +%% +%% `InternalFormat' may be one of the base internal formats shown in Table 1, below +%% +%% `InternalFormat' may also be one of the sized internal formats shown in Table 2, +%% below +%% +%% Finally, `InternalFormat' may also be one of the generic or compressed compressed +%% texture formats shown in Table 3 below +%% +%% If the `InternalFormat' parameter is one of the generic compressed formats, `?GL_COMPRESSED_RED' +%% , `?GL_COMPRESSED_RG', `?GL_COMPRESSED_RGB', or `?GL_COMPRESSED_RGBA', +%% the GL will replace the internal format with the symbolic constant for a specific internal +%% format and compress the texture before storage. If no corresponding internal format is +%% available, or the GL can not compress that image for any reason, the internal format is +%% instead replaced with a corresponding base internal format. +%% +%% If the `InternalFormat' parameter is `?GL_SRGB', `?GL_SRGB8', `?GL_SRGB_ALPHA' +%% , or `?GL_SRGB8_ALPHA8', the texture is treated as if the red, green, blue, or +%% luminance components are encoded in the sRGB color space. Any alpha component is left +%% unchanged. The conversion from the sRGB encoded component c s to a linear component +%% c l is: +%% +%% c l={ c s/12.92if c s&le; 0.04045( c s+0.055/1.055) 2.4if c s> 0.04045 +%% +%% Assume c s is the sRGB component in the range [0,1]. +%% +%% Use the `?GL_PROXY_TEXTURE_3D' target to try out a resolution and format. The implementation +%% will update and recompute its best match for the requested storage resolution and format. +%% To then query this state, call {@link gl:getTexLevelParameterfv/3} . If the texture cannot +%% be accommodated, texture state is set to 0. +%% +%% A one-component texture image uses only the red component of the RGBA color extracted +%% from `Data' . A two-component image uses the R and A values. A three-component image +%% uses the R, G, and B values. A four-component image uses all of the RGBA components. +%% +%% See external documentation. +-spec texImage3D(Target, Level, InternalFormat, Width, Height, Depth, Border, Format, Type, Pixels) -> ok when Target :: enum(),Level :: integer(),InternalFormat :: integer(),Width :: integer(),Height :: integer(),Depth :: integer(),Border :: integer(),Format :: enum(),Type :: enum(),Pixels :: offset()|mem(). +texImage3D(Target,Level,InternalFormat,Width,Height,Depth,Border,Format,Type,Pixels) when is_integer(Pixels) -> + cast(5319, <>); +texImage3D(Target,Level,InternalFormat,Width,Height,Depth,Border,Format,Type,Pixels) -> send_bin(Pixels), - cast(5320, <>). + cast(5320, <>). -%% @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 external documentation. --spec texSubImage3D(enum(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),enum(),enum(),offset()|mem()) -> ok. +%% @doc glTexSubImage +%% +%% See external documentation. +-spec texSubImage3D(Target, Level, Xoffset, Yoffset, Zoffset, Width, Height, Depth, Format, Type, Pixels) -> ok when Target :: enum(),Level :: integer(),Xoffset :: integer(),Yoffset :: integer(),Zoffset :: integer(),Width :: integer(),Height :: integer(),Depth :: integer(),Format :: enum(),Type :: enum(),Pixels :: offset()|mem(). texSubImage3D(Target,Level,Xoffset,Yoffset,Zoffset,Width,Height,Depth,Format,Type,Pixels) when is_integer(Pixels) -> cast(5321, <>); texSubImage3D(Target,Level,Xoffset,Yoffset,Zoffset,Width,Height,Depth,Format,Type,Pixels) -> send_bin(Pixels), cast(5322, <>). -%% @spec (Target::enum(),Level::integer(),Xoffset::integer(),Yoffset::integer(),Zoffset::integer(),X::integer(),Y::integer(),Width::integer(),Height::integer()) -> ok -%% @doc See external documentation. --spec copyTexSubImage3D(enum(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer()) -> ok. +%% @doc Copy a three-dimensional texture subimage +%% +%% ``gl:copyTexSubImage3D'' replaces a rectangular portion of a three-dimensional texture +%% image with pixels from the current `?GL_READ_BUFFER' (rather than from main memory, +%% as is the case for {@link gl:texSubImage1D/7} ). +%% +%% The screen-aligned pixel rectangle with lower left corner at ( `X' , `Y' ) and +%% with width `Width' and height `Height' replaces the portion of the texture array +%% with x indices `Xoffset' through xoffset+width-1, inclusive, and y indices `Yoffset' +%% through yoffset+height-1, inclusive, at z index `Zoffset' and at the mipmap level +%% specified by `Level' . +%% +%% The pixels in the rectangle are processed exactly as if {@link gl:readPixels/7} had been +%% called, but the process stops just before final conversion. At this point, all pixel component +%% values are clamped to the range [0 1] and then converted to the texture's internal format +%% for storage in the texel array. +%% +%% The destination rectangle in the texture array may not include any texels outside the +%% texture array as it was originally specified. It is not an error to specify a subtexture +%% with zero width or height, but such a specification has no effect. +%% +%% If any of the pixels within the specified rectangle of the current `?GL_READ_BUFFER' +%% are outside the read window associated with the current rendering context, then the values +%% obtained for those pixels are undefined. +%% +%% No change is made to the `internalformat', `width', `height', `depth', +%% or `border' parameters of the specified texture array or to texel values outside +%% the specified subregion. +%% +%% See external documentation. +-spec copyTexSubImage3D(Target, Level, Xoffset, Yoffset, Zoffset, X, Y, Width, Height) -> ok when Target :: enum(),Level :: integer(),Xoffset :: integer(),Yoffset :: integer(),Zoffset :: integer(),X :: integer(),Y :: integer(),Width :: integer(),Height :: integer(). copyTexSubImage3D(Target,Level,Xoffset,Yoffset,Zoffset,X,Y,Width,Height) -> cast(5323, <>). -%% @spec (Target::enum(),Internalformat::enum(),Width::integer(),Format::enum(),Type::enum(),Table::offset()|mem()) -> ok -%% @doc See external documentation. --spec colorTable(enum(),enum(),integer(),enum(),enum(),offset()|mem()) -> ok. +%% @doc Define a color lookup table +%% +%% ``gl:colorTable'' may be used in two ways: to test the actual size and color resolution +%% of a lookup table given a particular set of parameters, or to load the contents of a color +%% lookup table. Use the targets `?GL_PROXY_*' for the first case and the other targets +%% for the second case. +%% +%% If a non-zero named buffer object is bound to the `?GL_PIXEL_UNPACK_BUFFER' target +%% (see {@link gl:bindBuffer/2} ) while a color table is specified, `Data' is treated +%% as a byte offset into the buffer object's data store. +%% +%% If `Target' is `?GL_COLOR_TABLE', `?GL_POST_CONVOLUTION_COLOR_TABLE', or `?GL_POST_COLOR_MATRIX_COLOR_TABLE' +%% , ``gl:colorTable'' builds a color lookup table from an array of pixels. The pixel array +%% specified by `Width' , `Format' , `Type' , and `Data' is extracted from +%% memory and processed just as if {@link gl:drawPixels/5} were called, but processing stops +%% after the final expansion to RGBA is completed. +%% +%% The four scale parameters and the four bias parameters that are defined for the table +%% are then used to scale and bias the R, G, B, and A components of each pixel. (Use ``gl:colorTableParameter'' +%% to set these scale and bias parameters.) +%% +%% Next, the R, G, B, and A values are clamped to the range [0 1]. Each pixel is then converted +%% to the internal format specified by `Internalformat' . This conversion simply maps +%% the component values of the pixel (R, G, B, and A) to the values included in the internal +%% format (red, green, blue, alpha, luminance, and intensity). The mapping is as follows: +%% +%% +%% +%% +%% +%% +%%
` Internal Format '` Red '` Green '` Blue '` Alpha '` Luminance '` Intensity ' +%%
`?GL_ALPHA' A
`?GL_LUMINANCE' R
`?GL_LUMINANCE_ALPHA' A R
`?GL_INTENSITY' +%% R
`?GL_RGB' R G B
`?GL_RGBA' R +%% G B A
+%% +%% Finally, the red, green, blue, alpha, luminance, and/or intensity components of the resulting +%% pixels are stored in the color table. They form a one-dimensional table with indices in +%% the range [0 width-1]. +%% +%% If `Target' is `?GL_PROXY_*', ``gl:colorTable'' recomputes and stores the +%% values of the proxy color table's state variables `?GL_COLOR_TABLE_FORMAT', `?GL_COLOR_TABLE_WIDTH' +%% , `?GL_COLOR_TABLE_RED_SIZE', `?GL_COLOR_TABLE_GREEN_SIZE', `?GL_COLOR_TABLE_BLUE_SIZE' +%% , `?GL_COLOR_TABLE_ALPHA_SIZE', `?GL_COLOR_TABLE_LUMINANCE_SIZE', and `?GL_COLOR_TABLE_INTENSITY_SIZE' +%% . There is no effect on the image or state of any actual color table. If the specified +%% color table is too large to be supported, then all the proxy state variables listed above +%% are set to zero. Otherwise, the color table could be supported by ``gl:colorTable'' +%% using the corresponding non-proxy target, and the proxy state variables are set as if +%% that target were being defined. +%% +%% The proxy state variables can be retrieved by calling {@link gl:getColorTableParameterfv/2} +%% with a target of `?GL_PROXY_*'. This allows the application to decide if a particular +%% ``gl:colorTable'' command would succeed, and to determine what the resulting color table +%% attributes would be. +%% +%% If a color table is enabled, and its width is non-zero, then its contents are used to +%% replace a subset of the components of each RGBA pixel group, based on the internal format +%% of the table. +%% +%% Each pixel group has color components (R, G, B, A) that are in the range [0.0 1.0]. The color +%% components are rescaled to the size of the color lookup table to form an index. Then a +%% subset of the components based on the internal format of the table are replaced by the +%% table entry selected by that index. If the color components and contents of the table +%% are represented as follows: +%% +%% +%% +%%
` Representation '` Meaning '
r Table index computed from R
g Table index +%% computed from G
b Table index computed from B
a +%% Table index computed from A
L[i] Luminance value at +%% table index i
I[i] Intensity value at table index i
R[i] Red value at table index i
G[i] Green value +%% at table index i
B[i] Blue value at table index i
+%% A[i] Alpha value at table index i
+%% +%% then the result of color table lookup is as follows: +%% +%% +%% +%%
` Resulting Texture Components '
` Table Internal Format ' +%% ` R '` G '` B '` A '
`?GL_ALPHA'RGBA[a]
+%% `?GL_LUMINANCE'L[r]L[g]L[b]At
`?GL_LUMINANCE_ALPHA' +%% L[r]L[g]L[b]A[a]
`?GL_INTENSITY'I[r]I[g]I[b]I[a]
`?GL_RGB'R[r] +%% G[g]B[b]A
`?GL_RGBA'R[r] +%% G[g]B[b]A[a]
+%% +%% When `?GL_COLOR_TABLE' is enabled, the colors resulting from the pixel map operation +%% (if it is enabled) are mapped by the color lookup table before being passed to the convolution +%% operation. The colors resulting from the convolution operation are modified by the post +%% convolution color lookup table when `?GL_POST_CONVOLUTION_COLOR_TABLE' is enabled. +%% These modified colors are then sent to the color matrix operation. Finally, if `?GL_POST_COLOR_MATRIX_COLOR_TABLE' +%% is enabled, the colors resulting from the color matrix operation are mapped by the post +%% color matrix color lookup table before being used by the histogram operation. +%% +%% +%% +%% See external documentation. +-spec colorTable(Target, Internalformat, Width, Format, Type, Table) -> ok when Target :: enum(),Internalformat :: enum(),Width :: integer(),Format :: enum(),Type :: enum(),Table :: offset()|mem(). colorTable(Target,Internalformat,Width,Format,Type,Table) when is_integer(Table) -> cast(5324, <>); colorTable(Target,Internalformat,Width,Format,Type,Table) -> send_bin(Table), cast(5325, <>). -%% @spec (Target::enum(),Pname::enum(),Params::{float(),float(),float(),float()}) -> ok -%% @doc See external documentation. --spec colorTableParameterfv(enum(),enum(),{float(),float(),float(),float()}) -> ok. +%% @doc Set color lookup table parameters +%% +%% ``gl:colorTableParameter'' is used to specify the scale factors and bias terms applied +%% to color components when they are loaded into a color table. `Target' indicates which +%% color table the scale and bias terms apply to; it must be set to `?GL_COLOR_TABLE', `?GL_POST_CONVOLUTION_COLOR_TABLE' +%% , or `?GL_POST_COLOR_MATRIX_COLOR_TABLE'. +%% +%% `Pname' must be `?GL_COLOR_TABLE_SCALE' to set the scale factors. In this case, +%% `Params' points to an array of four values, which are the scale factors for red, +%% green, blue, and alpha, in that order. +%% +%% `Pname' must be `?GL_COLOR_TABLE_BIAS' to set the bias terms. In this case, `Params' +%% points to an array of four values, which are the bias terms for red, green, blue, and +%% alpha, in that order. +%% +%% The color tables themselves are specified by calling {@link gl:colorTable/6} . +%% +%% See external documentation. +-spec colorTableParameterfv(Target, Pname, Params) -> ok when Target :: enum(),Pname :: enum(),Params :: {float(),float(),float(),float()}. colorTableParameterfv(Target,Pname,{P1,P2,P3,P4}) -> cast(5326, <>). -%% @spec (Target::enum(),Pname::enum(),Params::{integer(),integer(),integer(),integer()}) -> ok -%% @doc See external documentation. --spec colorTableParameteriv(enum(),enum(),{integer(),integer(),integer(),integer()}) -> ok. +%% @doc +%% See {@link colorTableParameterfv/3} +-spec colorTableParameteriv(Target, Pname, Params) -> ok when Target :: enum(),Pname :: enum(),Params :: {integer(),integer(),integer(),integer()}. colorTableParameteriv(Target,Pname,{P1,P2,P3,P4}) -> cast(5327, <>). -%% @spec (Target::enum(),Internalformat::enum(),X::integer(),Y::integer(),Width::integer()) -> ok -%% @doc See external documentation. --spec copyColorTable(enum(),enum(),integer(),integer(),integer()) -> ok. +%% @doc Copy pixels into a color table +%% +%% ``gl:copyColorTable'' loads a color table with pixels from the current `?GL_READ_BUFFER' +%% (rather than from main memory, as is the case for {@link gl:colorTable/6} ). +%% +%% The screen-aligned pixel rectangle with lower-left corner at ( `X' , `Y' ) having +%% width `Width' and height 1 is loaded into the color table. If any pixels within this +%% region are outside the window that is associated with the GL context, the values obtained +%% for those pixels are undefined. +%% +%% The pixels in the rectangle are processed just as if {@link gl:readPixels/7} were called, +%% with `Internalformat' set to RGBA, but processing stops after the final conversion +%% to RGBA. +%% +%% The four scale parameters and the four bias parameters that are defined for the table +%% are then used to scale and bias the R, G, B, and A components of each pixel. The scale +%% and bias parameters are set by calling {@link gl:colorTableParameterfv/3} . +%% +%% Next, the R, G, B, and A values are clamped to the range [0 1]. Each pixel is then converted +%% to the internal format specified by `Internalformat' . This conversion simply maps +%% the component values of the pixel (R, G, B, and A) to the values included in the internal +%% format (red, green, blue, alpha, luminance, and intensity). The mapping is as follows: +%% +%% +%% +%% +%% +%% +%%
` Internal Format '` Red '` Green '` Blue '` Alpha '` Luminance '` Intensity ' +%%
`?GL_ALPHA' A
`?GL_LUMINANCE' R
`?GL_LUMINANCE_ALPHA' A R
`?GL_INTENSITY' +%% R
`?GL_RGB' R G B
`?GL_RGBA' R +%% G B A
+%% +%% Finally, the red, green, blue, alpha, luminance, and/or intensity components of the resulting +%% pixels are stored in the color table. They form a one-dimensional table with indices in +%% the range [0 width-1]. +%% +%% +%% +%% See external documentation. +-spec copyColorTable(Target, Internalformat, X, Y, Width) -> ok when Target :: enum(),Internalformat :: enum(),X :: integer(),Y :: integer(),Width :: integer(). copyColorTable(Target,Internalformat,X,Y,Width) -> cast(5328, <>). -%% @spec (Target::enum(),Format::enum(),Type::enum(),Table::mem()) -> ok -%% @doc See external documentation. --spec getColorTable(enum(),enum(),enum(),mem()) -> ok. +%% @doc Retrieve contents of a color lookup table +%% +%% ``gl:getColorTable'' returns in `Table' the contents of the color table specified +%% by `Target' . No pixel transfer operations are performed, but pixel storage modes +%% that are applicable to {@link gl:readPixels/7} are performed. +%% +%% If a non-zero named buffer object is bound to the `?GL_PIXEL_PACK_BUFFER' target +%% (see {@link gl:bindBuffer/2} ) while a histogram table is requested, `Table' is treated +%% as a byte offset into the buffer object's data store. +%% +%% Color components that are requested in the specified `Format' , but which are not +%% included in the internal format of the color lookup table, are returned as zero. The assignments +%% of internal color components to the components requested by `Format' are +%% +%%
` Internal Component '` Resulting Component '
Red Red
Green Green
+%% Blue Blue
Alpha Alpha
Luminance +%% Red
Intensity Red
+%% +%% +%% +%% See external documentation. +-spec getColorTable(Target, Format, Type, Table) -> ok when Target :: enum(),Format :: enum(),Type :: enum(),Table :: mem(). getColorTable(Target,Format,Type,Table) -> send_bin(Table), call(5329, <>). -%% @spec (Target::enum(),Pname::enum()) -> {float(),float(),float(),float()} -%% @doc See external documentation. --spec getColorTableParameterfv(enum(),enum()) -> {float(),float(),float(),float()}. +%% @doc Get color lookup table parameters +%% +%% Returns parameters specific to color table `Target' . +%% +%% When `Pname' is set to `?GL_COLOR_TABLE_SCALE' or `?GL_COLOR_TABLE_BIAS', +%% ``gl:getColorTableParameter'' returns the color table scale or bias parameters for the +%% table specified by `Target' . For these queries, `Target' must be set to `?GL_COLOR_TABLE' +%% , `?GL_POST_CONVOLUTION_COLOR_TABLE', or `?GL_POST_COLOR_MATRIX_COLOR_TABLE' +%% and `Params' points to an array of four elements, which receive the scale or bias +%% factors for red, green, blue, and alpha, in that order. +%% +%% ``gl:getColorTableParameter'' can also be used to retrieve the format and size parameters +%% for a color table. For these queries, set `Target' to either the color table target +%% or the proxy color table target. The format and size parameters are set by {@link gl:colorTable/6} +%% . +%% +%% The following table lists the format and size parameters that may be queried. For each +%% symbolic constant listed below for `Pname' , `Params' must point to an array +%% of the given length and receive the values indicated. +%% +%% +%%
` Parameter '` N '` Meaning '
`?GL_COLOR_TABLE_FORMAT' 1 Internal format +%% (e.g., `?GL_RGBA')
`?GL_COLOR_TABLE_WIDTH' 1 +%% Number of elements in table
`?GL_COLOR_TABLE_RED_SIZE' +%% 1 Size of red component, in bits
`?GL_COLOR_TABLE_GREEN_SIZE' +%% 1 Size of green component
`?GL_COLOR_TABLE_BLUE_SIZE' +%% 1 Size of blue component
`?GL_COLOR_TABLE_ALPHA_SIZE' +%% 1 Size of alpha component
`?GL_COLOR_TABLE_LUMINANCE_SIZE' +%% 1 Size of luminance component
`?GL_COLOR_TABLE_INTENSITY_SIZE' +%% 1 Size of intensity component
+%% +%% +%% +%% See external documentation. +-spec getColorTableParameterfv(Target, Pname) -> {float(),float(),float(),float()} when Target :: enum(),Pname :: enum(). getColorTableParameterfv(Target,Pname) -> call(5330, <>). -%% @spec (Target::enum(),Pname::enum()) -> {integer(),integer(),integer(),integer()} -%% @doc See external documentation. --spec getColorTableParameteriv(enum(),enum()) -> {integer(),integer(),integer(),integer()}. +%% @doc +%% See {@link getColorTableParameterfv/2} +-spec getColorTableParameteriv(Target, Pname) -> {integer(),integer(),integer(),integer()} when Target :: enum(),Pname :: enum(). getColorTableParameteriv(Target,Pname) -> call(5331, <>). -%% @spec (Target::enum(),Start::integer(),Count::integer(),Format::enum(),Type::enum(),Data::offset()|mem()) -> ok -%% @doc See external documentation. --spec colorSubTable(enum(),integer(),integer(),enum(),enum(),offset()|mem()) -> ok. +%% @doc Respecify a portion of a color table +%% +%% ``gl:colorSubTable'' is used to respecify a contiguous portion of a color table previously +%% defined using {@link gl:colorTable/6} . The pixels referenced by `Data' replace the +%% portion of the existing table from indices `Start' to start+count-1, inclusive. +%% This region may not include any entries outside the range of the color table as it was +%% originally specified. It is not an error to specify a subtexture with width of 0, but +%% such a specification has no effect. +%% +%% If a non-zero named buffer object is bound to the `?GL_PIXEL_UNPACK_BUFFER' target +%% (see {@link gl:bindBuffer/2} ) while a portion of a color table is respecified, `Data' +%% is treated as a byte offset into the buffer object's data store. +%% +%% See external documentation. +-spec colorSubTable(Target, Start, Count, Format, Type, Data) -> ok when Target :: enum(),Start :: integer(),Count :: integer(),Format :: enum(),Type :: enum(),Data :: offset()|mem(). colorSubTable(Target,Start,Count,Format,Type,Data) when is_integer(Data) -> cast(5332, <>); colorSubTable(Target,Start,Count,Format,Type,Data) -> send_bin(Data), cast(5333, <>). -%% @spec (Target::enum(),Start::integer(),X::integer(),Y::integer(),Width::integer()) -> ok -%% @doc See external documentation. --spec copyColorSubTable(enum(),integer(),integer(),integer(),integer()) -> ok. +%% @doc Respecify a portion of a color table +%% +%% ``gl:copyColorSubTable'' is used to respecify a contiguous portion of a color table +%% previously defined using {@link gl:colorTable/6} . The pixels copied from the framebuffer +%% replace the portion of the existing table from indices `Start' to start+x-1, inclusive. +%% This region may not include any entries outside the range of the color table, as was originally +%% specified. It is not an error to specify a subtexture with width of 0, but such a specification +%% has no effect. +%% +%% See external documentation. +-spec copyColorSubTable(Target, Start, X, Y, Width) -> ok when Target :: enum(),Start :: integer(),X :: integer(),Y :: integer(),Width :: integer(). copyColorSubTable(Target,Start,X,Y,Width) -> cast(5334, <>). -%% @spec (Target::enum(),Internalformat::enum(),Width::integer(),Format::enum(),Type::enum(),Image::offset()|mem()) -> ok -%% @doc See external documentation. --spec convolutionFilter1D(enum(),enum(),integer(),enum(),enum(),offset()|mem()) -> ok. +%% @doc Define a one-dimensional convolution filter +%% +%% ``gl:convolutionFilter1D'' builds a one-dimensional convolution filter kernel from an +%% array of pixels. +%% +%% The pixel array specified by `Width' , `Format' , `Type' , and `Data' +%% is extracted from memory and processed just as if {@link gl:drawPixels/5} were called, +%% but processing stops after the final expansion to RGBA is completed. +%% +%% If a non-zero named buffer object is bound to the `?GL_PIXEL_UNPACK_BUFFER' target +%% (see {@link gl:bindBuffer/2} ) while a convolution filter is specified, `Data' is +%% treated as a byte offset into the buffer object's data store. +%% +%% The R, G, B, and A components of each pixel are next scaled by the four 1D `?GL_CONVOLUTION_FILTER_SCALE' +%% parameters and biased by the four 1D `?GL_CONVOLUTION_FILTER_BIAS' parameters. (The +%% scale and bias parameters are set by {@link gl:convolutionParameterf/3} using the `?GL_CONVOLUTION_1D' +%% target and the names `?GL_CONVOLUTION_FILTER_SCALE' and `?GL_CONVOLUTION_FILTER_BIAS' +%% . The parameters themselves are vectors of four values that are applied to red, green, +%% blue, and alpha, in that order.) The R, G, B, and A values are not clamped to [0,1] at +%% any time during this process. +%% +%% Each pixel is then converted to the internal format specified by `Internalformat' . +%% This conversion simply maps the component values of the pixel (R, G, B, and A) to the +%% values included in the internal format (red, green, blue, alpha, luminance, and intensity). +%% The mapping is as follows: +%% +%% +%% +%% +%% +%% +%%
` Internal Format '` Red '` Green '` Blue '` Alpha '` Luminance '` Intensity ' +%%
`?GL_ALPHA' A
`?GL_LUMINANCE' R
`?GL_LUMINANCE_ALPHA' A R
`?GL_INTENSITY' +%% R
`?GL_RGB' R G B
`?GL_RGBA' R +%% G B A
+%% +%% The red, green, blue, alpha, luminance, and/or intensity components of the resulting +%% pixels are stored in floating-point rather than integer format. They form a one-dimensional +%% filter kernel image indexed with coordinate `i' such that `i' starts at 0 and +%% increases from left to right. Kernel location `i' is derived from the `i'th +%% pixel, counting from 0. +%% +%% Note that after a convolution is performed, the resulting color components are also scaled +%% by their corresponding `?GL_POST_CONVOLUTION_c_SCALE' parameters and biased by their +%% corresponding `?GL_POST_CONVOLUTION_c_BIAS' parameters (where `c' takes on the +%% values `RED', `GREEN', `BLUE', and `ALPHA'). These parameters are +%% set by {@link gl:pixelTransferf/2} . +%% +%% See external documentation. +-spec convolutionFilter1D(Target, Internalformat, Width, Format, Type, Image) -> ok when Target :: enum(),Internalformat :: enum(),Width :: integer(),Format :: enum(),Type :: enum(),Image :: offset()|mem(). convolutionFilter1D(Target,Internalformat,Width,Format,Type,Image) when is_integer(Image) -> cast(5335, <>); convolutionFilter1D(Target,Internalformat,Width,Format,Type,Image) -> send_bin(Image), cast(5336, <>). -%% @spec (Target::enum(),Internalformat::enum(),Width::integer(),Height::integer(),Format::enum(),Type::enum(),Image::offset()|mem()) -> ok -%% @doc See external documentation. --spec convolutionFilter2D(enum(),enum(),integer(),integer(),enum(),enum(),offset()|mem()) -> ok. +%% @doc Define a two-dimensional convolution filter +%% +%% ``gl:convolutionFilter2D'' builds a two-dimensional convolution filter kernel from an +%% array of pixels. +%% +%% The pixel array specified by `Width' , `Height' , `Format' , `Type' , +%% and `Data' is extracted from memory and processed just as if {@link gl:drawPixels/5} +%% were called, but processing stops after the final expansion to RGBA is completed. +%% +%% If a non-zero named buffer object is bound to the `?GL_PIXEL_UNPACK_BUFFER' target +%% (see {@link gl:bindBuffer/2} ) while a convolution filter is specified, `Data' is +%% treated as a byte offset into the buffer object's data store. +%% +%% The R, G, B, and A components of each pixel are next scaled by the four 2D `?GL_CONVOLUTION_FILTER_SCALE' +%% parameters and biased by the four 2D `?GL_CONVOLUTION_FILTER_BIAS' parameters. (The +%% scale and bias parameters are set by {@link gl:convolutionParameterf/3} using the `?GL_CONVOLUTION_2D' +%% target and the names `?GL_CONVOLUTION_FILTER_SCALE' and `?GL_CONVOLUTION_FILTER_BIAS' +%% . The parameters themselves are vectors of four values that are applied to red, green, +%% blue, and alpha, in that order.) The R, G, B, and A values are not clamped to [0,1] at +%% any time during this process. +%% +%% Each pixel is then converted to the internal format specified by `Internalformat' . +%% This conversion simply maps the component values of the pixel (R, G, B, and A) to the +%% values included in the internal format (red, green, blue, alpha, luminance, and intensity). +%% The mapping is as follows: +%% +%% +%% +%% +%% +%% +%%
` Internal Format '` Red '` Green '` Blue '` Alpha '` Luminance '` Intensity ' +%%
`?GL_ALPHA' A
`?GL_LUMINANCE' R
`?GL_LUMINANCE_ALPHA' A R
`?GL_INTENSITY' +%% R
`?GL_RGB' R G B
`?GL_RGBA' R +%% G B A
+%% +%% The red, green, blue, alpha, luminance, and/or intensity components of the resulting +%% pixels are stored in floating-point rather than integer format. They form a two-dimensional +%% filter kernel image indexed with coordinates `i' and `j' such that `i' +%% starts at zero and increases from left to right, and `j' starts at zero and increases +%% from bottom to top. Kernel location `i,j' is derived from the `N'th pixel, where +%% `N' is `i'+`j'* `Width' . +%% +%% Note that after a convolution is performed, the resulting color components are also scaled +%% by their corresponding `?GL_POST_CONVOLUTION_c_SCALE' parameters and biased by their +%% corresponding `?GL_POST_CONVOLUTION_c_BIAS' parameters (where `c' takes on the +%% values `RED', `GREEN', `BLUE', and `ALPHA'). These parameters are +%% set by {@link gl:pixelTransferf/2} . +%% +%% See external documentation. +-spec convolutionFilter2D(Target, Internalformat, Width, Height, Format, Type, Image) -> ok when Target :: enum(),Internalformat :: enum(),Width :: integer(),Height :: integer(),Format :: enum(),Type :: enum(),Image :: offset()|mem(). convolutionFilter2D(Target,Internalformat,Width,Height,Format,Type,Image) when is_integer(Image) -> cast(5337, <>); convolutionFilter2D(Target,Internalformat,Width,Height,Format,Type,Image) -> send_bin(Image), cast(5338, <>). -%% @spec (Target::enum(),Pname::enum(),Params::{float()}) -> ok -%% @doc See external documentation. --spec convolutionParameterf(enum(),enum(),{float()}) -> ok. +%% @doc Set convolution parameters +%% +%% ``gl:convolutionParameter'' sets the value of a convolution parameter. +%% +%% `Target' selects the convolution filter to be affected: `?GL_CONVOLUTION_1D', `?GL_CONVOLUTION_2D' +%% , or `?GL_SEPARABLE_2D' for the 1D, 2D, or separable 2D filter, respectively. +%% +%% `Pname' selects the parameter to be changed. `?GL_CONVOLUTION_FILTER_SCALE' +%% and `?GL_CONVOLUTION_FILTER_BIAS' affect the definition of the convolution filter +%% kernel; see {@link gl:convolutionFilter1D/6} , {@link gl:convolutionFilter2D/7} , and {@link gl:separableFilter2D/8} +%% for details. In these cases, `Params' v is an array of four values to be applied +%% to red, green, blue, and alpha values, respectively. The initial value for `?GL_CONVOLUTION_FILTER_SCALE' +%% is (1, 1, 1, 1), and the initial value for `?GL_CONVOLUTION_FILTER_BIAS' is (0, +%% 0, 0, 0). +%% +%% A `Pname' value of `?GL_CONVOLUTION_BORDER_MODE' controls the convolution border +%% mode. The accepted modes are: +%% +%% `?GL_REDUCE': The image resulting from convolution is smaller than the source image. +%% If the filter width is Wf and height is Hf, and the source image width is Ws and +%% height is Hs, then the convolved image width will be Ws-Wf+1 and height will be Hs-Hf +%% +1. (If this reduction would generate an image with zero or negative width and/or height, +%% the output is simply null, with no error generated.) The coordinates of the image resulting +%% from convolution are zero through Ws-Wf in width and zero through Hs-Hf in height. +%% +%% `?GL_CONSTANT_BORDER': The image resulting from convolution is the same size as +%% the source image, and processed as if the source image were surrounded by pixels with +%% their color specified by the `?GL_CONVOLUTION_BORDER_COLOR'. +%% +%% `?GL_REPLICATE_BORDER': The image resulting from convolution is the same size as +%% the source image, and processed as if the outermost pixel on the border of the source +%% image were replicated. +%% +%% See external documentation. +-spec convolutionParameterf(Target, Pname, Params) -> ok when Target :: enum(),Pname :: enum(),Params :: {float()}. convolutionParameterf(Target,Pname,Params) -> cast(5339, <> ||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. +-spec convolutionParameterfv(Target :: enum(),Pname :: enum(),Params) -> ok when Params :: {Params :: {float()}}. convolutionParameterfv(Target,Pname,{Params}) -> convolutionParameterf(Target,Pname,Params). -%% @spec (Target::enum(),Pname::enum(),Params::{integer()}) -> ok -%% @doc See external documentation. --spec convolutionParameteri(enum(),enum(),{integer()}) -> ok. +%% @doc +%% See {@link convolutionParameterf/3} +-spec convolutionParameteri(Target, Pname, Params) -> ok when Target :: enum(),Pname :: enum(),Params :: {integer()}. convolutionParameteri(Target,Pname,Params) -> cast(5340, <> ||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. +-spec convolutionParameteriv(Target :: enum(),Pname :: enum(),Params) -> ok when Params :: {Params :: {integer()}}. convolutionParameteriv(Target,Pname,{Params}) -> convolutionParameteri(Target,Pname,Params). -%% @spec (Target::enum(),Internalformat::enum(),X::integer(),Y::integer(),Width::integer()) -> ok -%% @doc See external documentation. --spec copyConvolutionFilter1D(enum(),enum(),integer(),integer(),integer()) -> ok. +%% @doc Copy pixels into a one-dimensional convolution filter +%% +%% ``gl:copyConvolutionFilter1D'' defines a one-dimensional convolution filter kernel with +%% pixels from the current `?GL_READ_BUFFER' (rather than from main memory, as is the +%% case for {@link gl:convolutionFilter1D/6} ). +%% +%% The screen-aligned pixel rectangle with lower-left corner at ( `X' , `Y' ), width +%% `Width' and height 1 is used to define the convolution filter. If any pixels within +%% this region are outside the window that is associated with the GL context, the values +%% obtained for those pixels are undefined. +%% +%% The pixels in the rectangle are processed exactly as if {@link gl:readPixels/7} had been +%% called with `format' set to RGBA, but the process stops just before final conversion. +%% The R, G, B, and A components of each pixel are next scaled by the four 1D `?GL_CONVOLUTION_FILTER_SCALE' +%% parameters and biased by the four 1D `?GL_CONVOLUTION_FILTER_BIAS' parameters. (The +%% scale and bias parameters are set by {@link gl:convolutionParameterf/3} using the `?GL_CONVOLUTION_1D' +%% target and the names `?GL_CONVOLUTION_FILTER_SCALE' and `?GL_CONVOLUTION_FILTER_BIAS' +%% . The parameters themselves are vectors of four values that are applied to red, green, +%% blue, and alpha, in that order.) The R, G, B, and A values are not clamped to [0,1] at +%% any time during this process. +%% +%% Each pixel is then converted to the internal format specified by `Internalformat' . +%% This conversion simply maps the component values of the pixel (R, G, B, and A) to the +%% values included in the internal format (red, green, blue, alpha, luminance, and intensity). +%% The mapping is as follows: +%% +%% +%% +%% +%% +%% +%%
` Internal Format '` Red '` Green '` Blue '` Alpha '` Luminance '` Intensity ' +%%
`?GL_ALPHA' A
`?GL_LUMINANCE' R
`?GL_LUMINANCE_ALPHA' A R
`?GL_INTENSITY' +%% R
`?GL_RGB' R G B
`?GL_RGBA' R +%% G B A
+%% +%% The red, green, blue, alpha, luminance, and/or intensity components of the resulting +%% pixels are stored in floating-point rather than integer format. +%% +%% Pixel ordering is such that lower x screen coordinates correspond to lower `i' filter +%% image coordinates. +%% +%% Note that after a convolution is performed, the resulting color components are also scaled +%% by their corresponding `?GL_POST_CONVOLUTION_c_SCALE' parameters and biased by their +%% corresponding `?GL_POST_CONVOLUTION_c_BIAS' parameters (where `c' takes on the +%% values `RED', `GREEN', `BLUE', and `ALPHA'). These parameters are +%% set by {@link gl:pixelTransferf/2} . +%% +%% See external documentation. +-spec copyConvolutionFilter1D(Target, Internalformat, X, Y, Width) -> ok when Target :: enum(),Internalformat :: enum(),X :: integer(),Y :: integer(),Width :: integer(). copyConvolutionFilter1D(Target,Internalformat,X,Y,Width) -> cast(5341, <>). -%% @spec (Target::enum(),Internalformat::enum(),X::integer(),Y::integer(),Width::integer(),Height::integer()) -> ok -%% @doc See external documentation. --spec copyConvolutionFilter2D(enum(),enum(),integer(),integer(),integer(),integer()) -> ok. +%% @doc Copy pixels into a two-dimensional convolution filter +%% +%% ``gl:copyConvolutionFilter2D'' defines a two-dimensional convolution filter kernel with +%% pixels from the current `?GL_READ_BUFFER' (rather than from main memory, as is the +%% case for {@link gl:convolutionFilter2D/7} ). +%% +%% The screen-aligned pixel rectangle with lower-left corner at ( `X' , `Y' ), width +%% `Width' and height `Height' is used to define the convolution filter. If any +%% pixels within this region are outside the window that is associated with the GL context, +%% the values obtained for those pixels are undefined. +%% +%% The pixels in the rectangle are processed exactly as if {@link gl:readPixels/7} had been +%% called with `format' set to RGBA, but the process stops just before final conversion. +%% The R, G, B, and A components of each pixel are next scaled by the four 2D `?GL_CONVOLUTION_FILTER_SCALE' +%% parameters and biased by the four 2D `?GL_CONVOLUTION_FILTER_BIAS' parameters. (The +%% scale and bias parameters are set by {@link gl:convolutionParameterf/3} using the `?GL_CONVOLUTION_2D' +%% target and the names `?GL_CONVOLUTION_FILTER_SCALE' and `?GL_CONVOLUTION_FILTER_BIAS' +%% . The parameters themselves are vectors of four values that are applied to red, green, +%% blue, and alpha, in that order.) The R, G, B, and A values are not clamped to [0,1] at +%% any time during this process. +%% +%% Each pixel is then converted to the internal format specified by `Internalformat' . +%% This conversion simply maps the component values of the pixel (R, G, B, and A) to the +%% values included in the internal format (red, green, blue, alpha, luminance, and intensity). +%% The mapping is as follows: +%% +%% +%% +%% +%% +%% +%%
` Internal Format '` Red '` Green '` Blue '` Alpha '` Luminance '` Intensity ' +%%
`?GL_ALPHA' A
`?GL_LUMINANCE' R
`?GL_LUMINANCE_ALPHA' A R
`?GL_INTENSITY' +%% R
`?GL_RGB' R G B
`?GL_RGBA' R +%% G B A
+%% +%% The red, green, blue, alpha, luminance, and/or intensity components of the resulting +%% pixels are stored in floating-point rather than integer format. +%% +%% Pixel ordering is such that lower x screen coordinates correspond to lower `i' filter +%% image coordinates, and lower y screen coordinates correspond to lower `j' filter +%% image coordinates. +%% +%% Note that after a convolution is performed, the resulting color components are also scaled +%% by their corresponding `?GL_POST_CONVOLUTION_c_SCALE' parameters and biased by their +%% corresponding `?GL_POST_CONVOLUTION_c_BIAS' parameters (where `c' takes on the +%% values `RED', `GREEN', `BLUE', and `ALPHA'). These parameters are +%% set by {@link gl:pixelTransferf/2} . +%% +%% See external documentation. +-spec copyConvolutionFilter2D(Target, Internalformat, X, Y, Width, Height) -> ok when Target :: enum(),Internalformat :: enum(),X :: integer(),Y :: integer(),Width :: integer(),Height :: integer(). copyConvolutionFilter2D(Target,Internalformat,X,Y,Width,Height) -> cast(5342, <>). -%% @spec (Target::enum(),Format::enum(),Type::enum(),Image::mem()) -> ok -%% @doc See external documentation. --spec getConvolutionFilter(enum(),enum(),enum(),mem()) -> ok. +%% @doc Get current 1D or 2D convolution filter kernel +%% +%% ``gl:getConvolutionFilter'' returns the current 1D or 2D convolution filter kernel as +%% an image. The one- or two-dimensional image is placed in `Image' according to the +%% specifications in `Format' and `Type' . No pixel transfer operations are performed +%% on this image, but the relevant pixel storage modes are applied. +%% +%% If a non-zero named buffer object is bound to the `?GL_PIXEL_PACK_BUFFER' target +%% (see {@link gl:bindBuffer/2} ) while a convolution filter is requested, `Image' is +%% treated as a byte offset into the buffer object's data store. +%% +%% Color components that are present in `Format' but not included in the internal format +%% of the filter are returned as zero. The assignments of internal color components to the +%% components of `Format' are as follows. +%%
` Internal Component ' +%% ` Resulting Component '
Red Red
Green Green
Blue Blue
+%% Alpha Alpha
Luminance Red
Intensity +%% Red
+%% +%% +%% +%% See external documentation. +-spec getConvolutionFilter(Target, Format, Type, Image) -> ok when Target :: enum(),Format :: enum(),Type :: enum(),Image :: mem(). getConvolutionFilter(Target,Format,Type,Image) -> send_bin(Image), call(5343, <>). -%% @spec (Target::enum(),Pname::enum()) -> {float(),float(),float(),float()} -%% @doc See external documentation. --spec getConvolutionParameterfv(enum(),enum()) -> {float(),float(),float(),float()}. +%% @doc Get convolution parameters +%% +%% ``gl:getConvolutionParameter'' retrieves convolution parameters. `Target' determines +%% which convolution filter is queried. `Pname' determines which parameter is returned: +%% +%% +%% `?GL_CONVOLUTION_BORDER_MODE': The convolution border mode. See {@link gl:convolutionParameterf/3} +%% for a list of border modes. +%% +%% `?GL_CONVOLUTION_BORDER_COLOR': The current convolution border color. `Params' +%% must be a pointer to an array of four elements, which will receive the red, green, blue, +%% and alpha border colors. +%% +%% `?GL_CONVOLUTION_FILTER_SCALE': The current filter scale factors. `Params' +%% must be a pointer to an array of four elements, which will receive the red, green, blue, +%% and alpha filter scale factors in that order. +%% +%% `?GL_CONVOLUTION_FILTER_BIAS': The current filter bias factors. `Params' must +%% be a pointer to an array of four elements, which will receive the red, green, blue, and +%% alpha filter bias terms in that order. +%% +%% `?GL_CONVOLUTION_FORMAT': The current internal format. See {@link gl:convolutionFilter1D/6} +%% , {@link gl:convolutionFilter2D/7} , and {@link gl:separableFilter2D/8} for lists of allowable +%% formats. +%% +%% `?GL_CONVOLUTION_WIDTH': The current filter image width. +%% +%% `?GL_CONVOLUTION_HEIGHT': The current filter image height. +%% +%% `?GL_MAX_CONVOLUTION_WIDTH': The maximum acceptable filter image width. +%% +%% `?GL_MAX_CONVOLUTION_HEIGHT': The maximum acceptable filter image height. +%% +%% See external documentation. +-spec getConvolutionParameterfv(Target, Pname) -> {float(),float(),float(),float()} when Target :: enum(),Pname :: enum(). getConvolutionParameterfv(Target,Pname) -> call(5344, <>). -%% @spec (Target::enum(),Pname::enum()) -> {integer(),integer(),integer(),integer()} -%% @doc See external documentation. --spec getConvolutionParameteriv(enum(),enum()) -> {integer(),integer(),integer(),integer()}. +%% @doc +%% See {@link getConvolutionParameterfv/2} +-spec getConvolutionParameteriv(Target, Pname) -> {integer(),integer(),integer(),integer()} when Target :: enum(),Pname :: enum(). getConvolutionParameteriv(Target,Pname) -> call(5345, <>). -%% @spec (Target::enum(),Internalformat::enum(),Width::integer(),Height::integer(),Format::enum(),Type::enum(),Row::offset()|mem(),Column::offset()|mem()) -> ok -%% @doc See external documentation. --spec separableFilter2D(enum(),enum(),integer(),integer(),enum(),enum(),offset()|mem(),offset()|mem()) -> ok. +%% @doc Define a separable two-dimensional convolution filter +%% +%% ``gl:separableFilter2D'' builds a two-dimensional separable convolution filter kernel +%% from two arrays of pixels. +%% +%% The pixel arrays specified by ( `Width' , `Format' , `Type' , `Row' ) +%% and ( `Height' , `Format' , `Type' , `Column' ) are processed just as if +%% they had been passed to {@link gl:drawPixels/5} , but processing stops after the final expansion +%% to RGBA is completed. +%% +%% If a non-zero named buffer object is bound to the `?GL_PIXEL_UNPACK_BUFFER' target +%% (see {@link gl:bindBuffer/2} ) while a convolution filter is specified, `Row' and `Column' +%% are treated as byte offsets into the buffer object's data store. +%% +%% Next, the R, G, B, and A components of all pixels in both arrays are scaled by the four +%% separable 2D `?GL_CONVOLUTION_FILTER_SCALE' parameters and biased by the four separable +%% 2D `?GL_CONVOLUTION_FILTER_BIAS' parameters. (The scale and bias parameters are set +%% by {@link gl:convolutionParameterf/3} using the `?GL_SEPARABLE_2D' target and the names +%% `?GL_CONVOLUTION_FILTER_SCALE' and `?GL_CONVOLUTION_FILTER_BIAS'. The parameters +%% themselves are vectors of four values that are applied to red, green, blue, and alpha, +%% in that order.) The R, G, B, and A values are not clamped to [0,1] at any time during +%% this process. +%% +%% Each pixel is then converted to the internal format specified by `Internalformat' . +%% This conversion simply maps the component values of the pixel (R, G, B, and A) to the +%% values included in the internal format (red, green, blue, alpha, luminance, and intensity). +%% The mapping is as follows: +%% +%% +%%
` Internal Format '` Red ' +%% ` Green '` Blue '` Alpha '` Luminance ' +%% ` Intensity '
`?GL_LUMINANCE' R
`?GL_LUMINANCE_ALPHA' A R
`?GL_INTENSITY' +%% R
`?GL_RGB' R G B
`?GL_RGBA' +%% R G B A
+%% +%% +%% The red, green, blue, alpha, luminance, and/or intensity components of the resulting +%% pixels are stored in floating-point rather than integer format. They form two one-dimensional +%% filter kernel images. The row image is indexed by coordinate `i' starting at zero +%% and increasing from left to right. Each location in the row image is derived from element +%% `i' of `Row' . The column image is indexed by coordinate `j' starting at +%% zero and increasing from bottom to top. Each location in the column image is derived from +%% element `j' of `Column' . +%% +%% Note that after a convolution is performed, the resulting color components are also scaled +%% by their corresponding `?GL_POST_CONVOLUTION_c_SCALE' parameters and biased by their +%% corresponding `?GL_POST_CONVOLUTION_c_BIAS' parameters (where `c' takes on the +%% values `RED', `GREEN', `BLUE', and `ALPHA'). These parameters are +%% set by {@link gl:pixelTransferf/2} . +%% +%% See external documentation. +-spec separableFilter2D(Target, Internalformat, Width, Height, Format, Type, Row, Column) -> ok when Target :: enum(),Internalformat :: enum(),Width :: integer(),Height :: integer(),Format :: enum(),Type :: enum(),Row :: offset()|mem(),Column :: offset()|mem(). separableFilter2D(Target,Internalformat,Width,Height,Format,Type,Row,Column) when is_integer(Row), is_integer(Column) -> cast(5346, <>); separableFilter2D(Target,Internalformat,Width,Height,Format,Type,Row,Column) -> @@ -2522,3497 +8778,7990 @@ separableFilter2D(Target,Internalformat,Width,Height,Format,Type,Row,Column) -> send_bin(Column), cast(5347, <>). -%% @spec (Target::enum(),Reset::0|1,Format::enum(),Type::enum(),Values::mem()) -> ok -%% @doc See external documentation. --spec getHistogram(enum(),0|1,enum(),enum(),mem()) -> ok. +%% @doc Get histogram table +%% +%% ``gl:getHistogram'' returns the current histogram table as a one-dimensional image with +%% the same width as the histogram. No pixel transfer operations are performed on this image, +%% but pixel storage modes that are applicable to 1D images are honored. +%% +%% If a non-zero named buffer object is bound to the `?GL_PIXEL_PACK_BUFFER' target +%% (see {@link gl:bindBuffer/2} ) while a histogram table is requested, `Values' is treated +%% as a byte offset into the buffer object's data store. +%% +%% Color components that are requested in the specified `Format' , but which are not +%% included in the internal format of the histogram, are returned as zero. The assignments +%% of internal color components to the components requested by `Format' are: +%% +%%
` Internal Component '` Resulting Component '
Red Red
Green Green
+%% Blue Blue
Alpha Alpha
Luminance +%% Red
+%% +%% +%% +%% See external documentation. +-spec getHistogram(Target, Reset, Format, Type, Values) -> ok when Target :: enum(),Reset :: 0|1,Format :: enum(),Type :: enum(),Values :: mem(). getHistogram(Target,Reset,Format,Type,Values) -> send_bin(Values), call(5348, <>). -%% @spec (Target::enum(),Pname::enum()) -> {float()} -%% @doc See external documentation. --spec getHistogramParameterfv(enum(),enum()) -> {float()}. +%% @doc Get histogram parameters +%% +%% ``gl:getHistogramParameter'' is used to query parameter values for the current histogram +%% or for a proxy. The histogram state information may be queried by calling ``gl:getHistogramParameter'' +%% with a `Target' of `?GL_HISTOGRAM' (to obtain information for the current histogram +%% table) or `?GL_PROXY_HISTOGRAM' (to obtain information from the most recent proxy +%% request) and one of the following values for the `Pname' argument: +%% +%% +%% +%%
` Parameter '` Description '
`?GL_HISTOGRAM_WIDTH' Histogram table width
`?GL_HISTOGRAM_FORMAT' +%% Internal format
`?GL_HISTOGRAM_RED_SIZE' Red +%% component counter size, in bits
`?GL_HISTOGRAM_GREEN_SIZE' +%% Green component counter size, in bits
`?GL_HISTOGRAM_BLUE_SIZE' Blue component counter size, in bits
`?GL_HISTOGRAM_ALPHA_SIZE' +%% Alpha component counter size, in bits
`?GL_HISTOGRAM_LUMINANCE_SIZE' +%% Luminance component counter size, in bits
`?GL_HISTOGRAM_SINK' +%% Value of the `sink' parameter
+%% +%% +%% +%% See external documentation. +-spec getHistogramParameterfv(Target, Pname) -> {float()} when Target :: enum(),Pname :: enum(). getHistogramParameterfv(Target,Pname) -> call(5349, <>). -%% @spec (Target::enum(),Pname::enum()) -> {integer()} -%% @doc See external documentation. --spec getHistogramParameteriv(enum(),enum()) -> {integer()}. +%% @doc +%% See {@link getHistogramParameterfv/2} +-spec getHistogramParameteriv(Target, Pname) -> {integer()} when Target :: enum(),Pname :: enum(). getHistogramParameteriv(Target,Pname) -> call(5350, <>). -%% @spec (Target::enum(),Reset::0|1,Format::enum(),Type::enum(),Values::mem()) -> ok -%% @doc See external documentation. --spec getMinmax(enum(),0|1,enum(),enum(),mem()) -> ok. -getMinmax(Target,Reset,Format,Type,Values) -> +%% @doc Get minimum and maximum pixel values +%% +%% ``gl:getMinmax'' returns the accumulated minimum and maximum pixel values (computed +%% on a per-component basis) in a one-dimensional image of width 2. The first set of return +%% values are the minima, and the second set of return values are the maxima. The format +%% of the return values is determined by `Format' , and their type is determined by `Types' +%% . +%% +%% If a non-zero named buffer object is bound to the `?GL_PIXEL_PACK_BUFFER' target +%% (see {@link gl:bindBuffer/2} ) while minimum and maximum pixel values are requested, `Values' +%% is treated as a byte offset into the buffer object's data store. +%% +%% No pixel transfer operations are performed on the return values, but pixel storage modes +%% that are applicable to one-dimensional images are performed. Color components that are +%% requested in the specified `Format' , but that are not included in the internal format +%% of the minmax table, are returned as zero. The assignment of internal color components +%% to the components requested by `Format' are as follows: +%% +%% +%% +%%
` Internal Component '` Resulting Component '
Red Red
Green Green
Blue Blue
Alpha Alpha
+%% Luminance Red
+%% +%% If `Reset' is `?GL_TRUE', the minmax table entries corresponding to the return +%% values are reset to their initial values. Minimum and maximum values that are not returned +%% are not modified, even if `Reset' is `?GL_TRUE'. +%% +%% See external documentation. +-spec getMinmax(Target, Reset, Format, Types, Values) -> ok when Target :: enum(),Reset :: 0|1,Format :: enum(),Types :: enum(),Values :: mem(). +getMinmax(Target,Reset,Format,Types,Values) -> send_bin(Values), - call(5351, <>). + call(5351, <>). -%% @spec (Target::enum(),Pname::enum()) -> {float()} -%% @doc See external documentation. --spec getMinmaxParameterfv(enum(),enum()) -> {float()}. +%% @doc Get minmax parameters +%% +%% ``gl:getMinmaxParameter'' retrieves parameters for the current minmax table by setting `Pname' +%% to one of the following values: +%% +%% +%%
` Parameter '` Description '
`?GL_MINMAX_FORMAT' Internal format of minmax table
+%% `?GL_MINMAX_SINK' Value of the `sink' parameter
+%% +%% +%% +%% +%% See external documentation. +-spec getMinmaxParameterfv(Target, Pname) -> {float()} when Target :: enum(),Pname :: enum(). getMinmaxParameterfv(Target,Pname) -> call(5352, <>). -%% @spec (Target::enum(),Pname::enum()) -> {integer()} -%% @doc See external documentation. --spec getMinmaxParameteriv(enum(),enum()) -> {integer()}. +%% @doc +%% See {@link getMinmaxParameterfv/2} +-spec getMinmaxParameteriv(Target, Pname) -> {integer()} when Target :: enum(),Pname :: enum(). getMinmaxParameteriv(Target,Pname) -> call(5353, <>). -%% @spec (Target::enum(),Width::integer(),Internalformat::enum(),Sink::0|1) -> ok -%% @doc See external documentation. --spec histogram(enum(),integer(),enum(),0|1) -> ok. +%% @doc Define histogram table +%% +%% When `?GL_HISTOGRAM' is enabled, RGBA color components are converted to histogram +%% table indices by clamping to the range [0,1], multiplying by the width of the histogram +%% table, and rounding to the nearest integer. The table entries selected by the RGBA indices +%% are then incremented. (If the internal format of the histogram table includes luminance, +%% then the index derived from the R color component determines the luminance table entry +%% to be incremented.) If a histogram table entry is incremented beyond its maximum value, +%% then its value becomes undefined. (This is not an error.) +%% +%% Histogramming is performed only for RGBA pixels (though these may be specified originally +%% as color indices and converted to RGBA by index table lookup). Histogramming is enabled +%% with {@link gl:enable/1} and disabled with {@link gl:enable/1} . +%% +%% When `Target' is `?GL_HISTOGRAM', ``gl:histogram'' redefines the current +%% histogram table to have `Width' entries of the format specified by `Internalformat' +%% . The entries are indexed 0 through width-1, and all entries are initialized to zero. +%% The values in the previous histogram table, if any, are lost. If `Sink' is `?GL_TRUE' +%% , then pixels are discarded after histogramming; no further processing of the pixels takes +%% place, and no drawing, texture loading, or pixel readback will result. +%% +%% When `Target' is `?GL_PROXY_HISTOGRAM', ``gl:histogram'' computes all state +%% information as if the histogram table were to be redefined, but does not actually define +%% the new table. If the requested histogram table is too large to be supported, then the +%% state information will be set to zero. This provides a way to determine if a histogram +%% table with the given parameters can be supported. +%% +%% +%% +%% See external documentation. +-spec histogram(Target, Width, Internalformat, Sink) -> ok when Target :: enum(),Width :: integer(),Internalformat :: enum(),Sink :: 0|1. histogram(Target,Width,Internalformat,Sink) -> cast(5354, <>). -%% @spec (Target::enum(),Internalformat::enum(),Sink::0|1) -> ok -%% @doc See external documentation. --spec minmax(enum(),enum(),0|1) -> ok. +%% @doc Define minmax table +%% +%% When `?GL_MINMAX' is enabled, the RGBA components of incoming pixels are compared +%% to the minimum and maximum values for each component, which are stored in the two-element +%% minmax table. (The first element stores the minima, and the second element stores the +%% maxima.) If a pixel component is greater than the corresponding component in the maximum +%% element, then the maximum element is updated with the pixel component value. If a pixel +%% component is less than the corresponding component in the minimum element, then the minimum +%% element is updated with the pixel component value. (In both cases, if the internal format +%% of the minmax table includes luminance, then the R color component of incoming pixels +%% is used for comparison.) The contents of the minmax table may be retrieved at a later +%% time by calling {@link gl:getMinmax/5} . The minmax operation is enabled or disabled by +%% calling {@link gl:enable/1} or {@link gl:enable/1} , respectively, with an argument of `?GL_MINMAX' +%% . +%% +%% ``gl:minmax'' redefines the current minmax table to have entries of the format specified +%% by `Internalformat' . The maximum element is initialized with the smallest possible +%% component values, and the minimum element is initialized with the largest possible component +%% values. The values in the previous minmax table, if any, are lost. If `Sink' is `?GL_TRUE' +%% , then pixels are discarded after minmax; no further processing of the pixels takes place, +%% and no drawing, texture loading, or pixel readback will result. +%% +%% +%% +%% See external documentation. +-spec minmax(Target, Internalformat, Sink) -> ok when Target :: enum(),Internalformat :: enum(),Sink :: 0|1. minmax(Target,Internalformat,Sink) -> cast(5355, <>). -%% @spec (Target::enum()) -> ok -%% @doc See external documentation. --spec resetHistogram(enum()) -> ok. +%% @doc Reset histogram table entries to zero +%% +%% ``gl:resetHistogram'' resets all the elements of the current histogram table to zero. +%% +%% See external documentation. +-spec resetHistogram(Target) -> ok when Target :: enum(). resetHistogram(Target) -> cast(5356, <>). -%% @spec (Target::enum()) -> ok -%% @doc See external documentation. --spec resetMinmax(enum()) -> ok. +%% @doc Reset minmax table entries to initial values +%% +%% ``gl:resetMinmax'' resets the elements of the current minmax table to their initial +%% values: the ``maximum'' element receives the minimum possible component values, and the +%% ``minimum'' element receives the maximum possible component values. +%% +%% See external documentation. +-spec resetMinmax(Target) -> ok when Target :: enum(). resetMinmax(Target) -> cast(5357, <>). -%% @spec (Texture::enum()) -> ok -%% @doc See external documentation. --spec activeTexture(enum()) -> ok. +%% @doc Select active texture unit +%% +%% ``gl:activeTexture'' selects which texture unit subsequent texture state calls will +%% affect. The number of texture units an implementation supports is implementation dependent, +%% but must be at least 80. +%% +%% See external documentation. +-spec activeTexture(Texture) -> ok when Texture :: enum(). activeTexture(Texture) -> cast(5358, <>). -%% @spec (Value::clamp(),Invert::0|1) -> ok -%% @doc See external documentation. --spec sampleCoverage(clamp(),0|1) -> ok. +%% @doc Specify multisample coverage parameters +%% +%% Multisampling samples a pixel multiple times at various implementation-dependent subpixel +%% locations to generate antialiasing effects. Multisampling transparently antialiases points, +%% lines, polygons, and images if it is enabled. +%% +%% `Value' is used in constructing a temporary mask used in determining which samples +%% will be used in resolving the final fragment color. This mask is bitwise-anded with the +%% coverage mask generated from the multisampling computation. If the `Invert' flag +%% is set, the temporary mask is inverted (all bits flipped) and then the bitwise-and is +%% computed. +%% +%% If an implementation does not have any multisample buffers available, or multisampling +%% is disabled, rasterization occurs with only a single sample computing a pixel's final +%% RGB color. +%% +%% Provided an implementation supports multisample buffers, and multisampling is enabled, +%% then a pixel's final color is generated by combining several samples per pixel. Each sample +%% contains color, depth, and stencil information, allowing those operations to be performed +%% on each sample. +%% +%% See external documentation. +-spec sampleCoverage(Value, Invert) -> ok when Value :: clamp(),Invert :: 0|1. sampleCoverage(Value,Invert) -> cast(5359, <>). -%% @spec (Target::enum(),Level::integer(),Internalformat::enum(),Width::integer(),Height::integer(),Depth::integer(),Border::integer(),ImageSize::integer(),Data::offset()|mem()) -> ok -%% @doc See external documentation. --spec compressedTexImage3D(enum(),integer(),enum(),integer(),integer(),integer(),integer(),integer(),offset()|mem()) -> ok. +%% @doc Specify a three-dimensional texture image in a compressed format +%% +%% Texturing allows elements of an image array to be read by shaders. +%% +%% ``gl:compressedTexImage3D'' loads a previously defined, and retrieved, compressed three-dimensional +%% texture image if `Target' is `?GL_TEXTURE_3D' (see {@link gl:texImage3D/10} ). +%% +%% If `Target' is `?GL_TEXTURE_2D_ARRAY', `Data' is treated as an array of +%% compressed 2D textures. +%% +%% If `Target' is `?GL_PROXY_TEXTURE_3D' or `?GL_PROXY_TEXTURE_2D_ARRAY', +%% no data is read from `Data' , but all of the texture image state is recalculated, +%% checked for consistency, and checked against the implementation's capabilities. If the +%% implementation cannot handle a texture of the requested texture size, it sets all of the +%% image state to 0, but does not generate an error (see {@link gl:getError/0} ). To query +%% for an entire mipmap array, use an image array level greater than or equal to 1. +%% +%% `Internalformat' must be a known compressed image format (such as `?GL_RGTC') +%% or an extension-specified compressed-texture format. When a texture is loaded with {@link gl:texImage2D/9} +%% using a generic compressed texture format (e.g., `?GL_COMPRESSED_RGB'), the GL selects +%% from one of its extensions supporting compressed textures. In order to load the compressed +%% texture image using ``gl:compressedTexImage3D'', query the compressed texture image's +%% size and format using {@link gl:getTexLevelParameterfv/3} . +%% +%% If a non-zero named buffer object is bound to the `?GL_PIXEL_UNPACK_BUFFER' target +%% (see {@link gl:bindBuffer/2} ) while a texture image is specified, `Data' is treated +%% as a byte offset into the buffer object's data store. +%% +%% If the compressed data are arranged into fixed-size blocks of texels, the pixel storage +%% modes can be used to select a sub-rectangle from a larger containing rectangle. These +%% pixel storage modes operate in the same way as they do for {@link gl:texImage1D/8} . In +%% the following description, denote by b s, b w, b h, and b d, the values of pixel storage +%% modes `?GL_UNPACK_COMPRESSED_BLOCK_SIZE', `?GL_UNPACK_COMPRESSED_BLOCK_WIDTH', `?GL_UNPACK_COMPRESSED_BLOCK_HEIGHT' +%% , and `?GL_UNPACK_COMPRESSED_BLOCK_DEPTH', respectively. b s is the compressed block +%% size in bytes; b w, b h, and b d are the compressed block width, height, and depth +%% in pixels. +%% +%% By default the pixel storage modes `?GL_UNPACK_ROW_LENGTH', `?GL_UNPACK_SKIP_ROWS' +%% , `?GL_UNPACK_SKIP_PIXELS', `?GL_UNPACK_IMAGE_HEIGHT' and `?GL_UNPACK_SKIP_IMAGES' +%% are ignored for compressed images. To enable `?GL_UNPACK_SKIP_PIXELS' and `?GL_UNPACK_ROW_LENGTH' +%% , b s and b w must both be non-zero. To also enable `?GL_UNPACK_SKIP_ROWS' and `?GL_UNPACK_IMAGE_HEIGHT' +%% , b h must be non-zero. To also enable `?GL_UNPACK_SKIP_IMAGES', b d must be non-zero. +%% All parameters must be consistent with the compressed format to produce the desired results. +%% +%% +%% When selecting a sub-rectangle from a compressed image: the value of `?GL_UNPACK_SKIP_PIXELS' +%% must be a multiple of b w;the value of `?GL_UNPACK_SKIP_ROWS' must be a multiple +%% of b w;the value of `?GL_UNPACK_SKIP_IMAGES' must be a multiple of b w. +%% +%% `ImageSize' must be equal to: +%% +%% b s*|width b/w|*|height b/h|*|depth b/d| +%% +%% See external documentation. +-spec compressedTexImage3D(Target, Level, Internalformat, Width, Height, Depth, Border, ImageSize, Data) -> ok when Target :: enum(),Level :: integer(),Internalformat :: enum(),Width :: integer(),Height :: integer(),Depth :: integer(),Border :: integer(),ImageSize :: integer(),Data :: offset()|mem(). compressedTexImage3D(Target,Level,Internalformat,Width,Height,Depth,Border,ImageSize,Data) when is_integer(Data) -> cast(5360, <>); compressedTexImage3D(Target,Level,Internalformat,Width,Height,Depth,Border,ImageSize,Data) -> send_bin(Data), cast(5361, <>). -%% @spec (Target::enum(),Level::integer(),Internalformat::enum(),Width::integer(),Height::integer(),Border::integer(),ImageSize::integer(),Data::offset()|mem()) -> ok -%% @doc See external documentation. --spec compressedTexImage2D(enum(),integer(),enum(),integer(),integer(),integer(),integer(),offset()|mem()) -> ok. +%% @doc Specify a two-dimensional texture image in a compressed format +%% +%% Texturing allows elements of an image array to be read by shaders. +%% +%% ``gl:compressedTexImage2D'' loads a previously defined, and retrieved, compressed two-dimensional +%% texture image if `Target' is `?GL_TEXTURE_2D', or one of the cube map faces +%% such as `?GL_TEXTURE_CUBE_MAP_POSITIVE_X'. (see {@link gl:texImage2D/9} ). +%% +%% If `Target' is `?GL_TEXTURE_1D_ARRAY', `Data' is treated as an array of +%% compressed 1D textures. +%% +%% If `Target' is `?GL_PROXY_TEXTURE_2D', `?GL_PROXY_TEXTURE_1D_ARRAY' or `?GL_PROXY_CUBE_MAP' +%% , no data is read from `Data' , but all of the texture image state is recalculated, +%% checked for consistency, and checked against the implementation's capabilities. If the +%% implementation cannot handle a texture of the requested texture size, it sets all of the +%% image state to 0, but does not generate an error (see {@link gl:getError/0} ). To query +%% for an entire mipmap array, use an image array level greater than or equal to 1. +%% +%% `Internalformat' must be a known compressed image format (such as `?GL_RGTC') +%% or an extension-specified compressed-texture format. When a texture is loaded with {@link gl:texImage2D/9} +%% using a generic compressed texture format (e.g., `?GL_COMPRESSED_RGB'), the GL selects +%% from one of its extensions supporting compressed textures. In order to load the compressed +%% texture image using ``gl:compressedTexImage2D'', query the compressed texture image's +%% size and format using {@link gl:getTexLevelParameterfv/3} . +%% +%% If a non-zero named buffer object is bound to the `?GL_PIXEL_UNPACK_BUFFER' target +%% (see {@link gl:bindBuffer/2} ) while a texture image is specified, `Data' is treated +%% as a byte offset into the buffer object's data store. +%% +%% If the compressed data are arranged into fixed-size blocks of texels, the pixel storage +%% modes can be used to select a sub-rectangle from a larger containing rectangle. These +%% pixel storage modes operate in the same way as they do for {@link gl:texImage2D/9} . In +%% the following description, denote by b s, b w, b h, and b d, the values of pixel storage +%% modes `?GL_UNPACK_COMPRESSED_BLOCK_SIZE', `?GL_UNPACK_COMPRESSED_BLOCK_WIDTH', `?GL_UNPACK_COMPRESSED_BLOCK_HEIGHT' +%% , and `?GL_UNPACK_COMPRESSED_BLOCK_DEPTH', respectively. b s is the compressed block +%% size in bytes; b w, b h, and b d are the compressed block width, height, and depth +%% in pixels. +%% +%% By default the pixel storage modes `?GL_UNPACK_ROW_LENGTH', `?GL_UNPACK_SKIP_ROWS' +%% , `?GL_UNPACK_SKIP_PIXELS', `?GL_UNPACK_IMAGE_HEIGHT' and `?GL_UNPACK_SKIP_IMAGES' +%% are ignored for compressed images. To enable `?GL_UNPACK_SKIP_PIXELS' and `?GL_UNPACK_ROW_LENGTH' +%% , b s and b w must both be non-zero. To also enable `?GL_UNPACK_SKIP_ROWS' and `?GL_UNPACK_IMAGE_HEIGHT' +%% , b h must be non-zero. To also enable `?GL_UNPACK_SKIP_IMAGES', b d must be non-zero. +%% All parameters must be consistent with the compressed format to produce the desired results. +%% +%% +%% When selecting a sub-rectangle from a compressed image: the value of `?GL_UNPACK_SKIP_PIXELS' +%% must be a multiple of b w;the value of `?GL_UNPACK_SKIP_ROWS' must be a multiple +%% of b w. +%% +%% `ImageSize' must be equal to: +%% +%% b s*|width b/w|*|height b/h| +%% +%% See external documentation. +-spec compressedTexImage2D(Target, Level, Internalformat, Width, Height, Border, ImageSize, Data) -> ok when Target :: enum(),Level :: integer(),Internalformat :: enum(),Width :: integer(),Height :: integer(),Border :: integer(),ImageSize :: integer(),Data :: offset()|mem(). compressedTexImage2D(Target,Level,Internalformat,Width,Height,Border,ImageSize,Data) when is_integer(Data) -> cast(5362, <>); compressedTexImage2D(Target,Level,Internalformat,Width,Height,Border,ImageSize,Data) -> send_bin(Data), cast(5363, <>). -%% @spec (Target::enum(),Level::integer(),Internalformat::enum(),Width::integer(),Border::integer(),ImageSize::integer(),Data::offset()|mem()) -> ok -%% @doc See external documentation. --spec compressedTexImage1D(enum(),integer(),enum(),integer(),integer(),integer(),offset()|mem()) -> ok. +%% @doc Specify a one-dimensional texture image in a compressed format +%% +%% Texturing allows elements of an image array to be read by shaders. +%% +%% ``gl:compressedTexImage1D'' loads a previously defined, and retrieved, compressed one-dimensional +%% texture image if `Target' is `?GL_TEXTURE_1D' (see {@link gl:texImage1D/8} ). +%% +%% If `Target' is `?GL_PROXY_TEXTURE_1D', no data is read from `Data' , but +%% all of the texture image state is recalculated, checked for consistency, and checked against +%% the implementation's capabilities. If the implementation cannot handle a texture of the +%% requested texture size, it sets all of the image state to 0, but does not generate an +%% error (see {@link gl:getError/0} ). To query for an entire mipmap array, use an image array +%% level greater than or equal to 1. +%% +%% `Internalformat' must be an extension-specified compressed-texture format. When a +%% texture is loaded with {@link gl:texImage1D/8} using a generic compressed texture format +%% (e.g., `?GL_COMPRESSED_RGB') the GL selects from one of its extensions supporting +%% compressed textures. In order to load the compressed texture image using ``gl:compressedTexImage1D'' +%% , query the compressed texture image's size and format using {@link gl:getTexLevelParameterfv/3} +%% . +%% +%% If a non-zero named buffer object is bound to the `?GL_PIXEL_UNPACK_BUFFER' target +%% (see {@link gl:bindBuffer/2} ) while a texture image is specified, `Data' is treated +%% as a byte offset into the buffer object's data store. +%% +%% If the compressed data are arranged into fixed-size blocks of texels, the pixel storage +%% modes can be used to select a sub-rectangle from a larger containing rectangle. These +%% pixel storage modes operate in the same way as they do for {@link gl:texImage1D/8} . In +%% the following description, denote by b s, b w, b h, and b d, the values of pixel storage +%% modes `?GL_UNPACK_COMPRESSED_BLOCK_SIZE', `?GL_UNPACK_COMPRESSED_BLOCK_WIDTH', `?GL_UNPACK_COMPRESSED_BLOCK_HEIGHT' +%% , and `?GL_UNPACK_COMPRESSED_BLOCK_DEPTH', respectively. b s is the compressed block +%% size in bytes; b w, b h, and b d are the compressed block width, height, and depth +%% in pixels. +%% +%% By default the pixel storage modes `?GL_UNPACK_ROW_LENGTH', `?GL_UNPACK_SKIP_ROWS' +%% , `?GL_UNPACK_SKIP_PIXELS', `?GL_UNPACK_IMAGE_HEIGHT' and `?GL_UNPACK_SKIP_IMAGES' +%% are ignored for compressed images. To enable `?GL_UNPACK_SKIP_PIXELS' and `?GL_UNPACK_ROW_LENGTH' +%% , b s and b w must both be non-zero. To also enable `?GL_UNPACK_SKIP_ROWS' and `?GL_UNPACK_IMAGE_HEIGHT' +%% , b h must be non-zero. To also enable `?GL_UNPACK_SKIP_IMAGES', b d must be non-zero. +%% All parameters must be consistent with the compressed format to produce the desired results. +%% +%% +%% When selecting a sub-rectangle from a compressed image: the value of `?GL_UNPACK_SKIP_PIXELS' +%% must be a multiple of b w; +%% +%% `ImageSize' must be equal to: +%% +%% b s*|width b/w| +%% +%% See external documentation. +-spec compressedTexImage1D(Target, Level, Internalformat, Width, Border, ImageSize, Data) -> ok when Target :: enum(),Level :: integer(),Internalformat :: enum(),Width :: integer(),Border :: integer(),ImageSize :: integer(),Data :: offset()|mem(). compressedTexImage1D(Target,Level,Internalformat,Width,Border,ImageSize,Data) when is_integer(Data) -> cast(5364, <>); compressedTexImage1D(Target,Level,Internalformat,Width,Border,ImageSize,Data) -> send_bin(Data), cast(5365, <>). -%% @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 external documentation. --spec compressedTexSubImage3D(enum(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),enum(),integer(),offset()|mem()) -> ok. +%% @doc Specify a three-dimensional texture subimage in a compressed format +%% +%% Texturing allows elements of an image array to be read by shaders. +%% +%% ``gl:compressedTexSubImage3D'' redefines a contiguous subregion of an existing three-dimensional +%% texture image. The texels referenced by `Data' replace the portion of the existing +%% texture array with x indices `Xoffset' and xoffset+width-1, and the y indices `Yoffset' +%% and yoffset+height-1, and the z indices `Zoffset' and zoffset+depth-1, inclusive. +%% This region may not include any texels outside the range of the texture array as it was +%% originally specified. It is not an error to specify a subtexture with width of 0, but +%% such a specification has no effect. +%% +%% `Internalformat' must be a known compressed image format (such as `?GL_RGTC') +%% or an extension-specified compressed-texture format. The `Format' of the compressed +%% texture image is selected by the GL implementation that compressed it (see {@link gl:texImage3D/10} +%% ) and should be queried at the time the texture was compressed with {@link gl:getTexLevelParameterfv/3} +%% . +%% +%% If a non-zero named buffer object is bound to the `?GL_PIXEL_UNPACK_BUFFER' target +%% (see {@link gl:bindBuffer/2} ) while a texture image is specified, `Data' is treated +%% as a byte offset into the buffer object's data store. +%% +%% See external documentation. +-spec compressedTexSubImage3D(Target, Level, Xoffset, Yoffset, Zoffset, Width, Height, Depth, Format, ImageSize, Data) -> ok when Target :: enum(),Level :: integer(),Xoffset :: integer(),Yoffset :: integer(),Zoffset :: integer(),Width :: integer(),Height :: integer(),Depth :: integer(),Format :: enum(),ImageSize :: integer(),Data :: offset()|mem(). compressedTexSubImage3D(Target,Level,Xoffset,Yoffset,Zoffset,Width,Height,Depth,Format,ImageSize,Data) when is_integer(Data) -> cast(5366, <>); compressedTexSubImage3D(Target,Level,Xoffset,Yoffset,Zoffset,Width,Height,Depth,Format,ImageSize,Data) -> send_bin(Data), cast(5367, <>). -%% @spec (Target::enum(),Level::integer(),Xoffset::integer(),Yoffset::integer(),Width::integer(),Height::integer(),Format::enum(),ImageSize::integer(),Data::offset()|mem()) -> ok -%% @doc See external documentation. --spec compressedTexSubImage2D(enum(),integer(),integer(),integer(),integer(),integer(),enum(),integer(),offset()|mem()) -> ok. +%% @doc Specify a two-dimensional texture subimage in a compressed format +%% +%% Texturing allows elements of an image array to be read by shaders. +%% +%% ``gl:compressedTexSubImage2D'' redefines a contiguous subregion of an existing two-dimensional +%% texture image. The texels referenced by `Data' replace the portion of the existing +%% texture array with x indices `Xoffset' and xoffset+width-1, and the y indices `Yoffset' +%% and yoffset+height-1, inclusive. This region may not include any texels outside the +%% range of the texture array as it was originally specified. It is not an error to specify +%% a subtexture with width of 0, but such a specification has no effect. +%% +%% `Internalformat' must be a known compressed image format (such as `?GL_RGTC') +%% or an extension-specified compressed-texture format. The `Format' of the compressed +%% texture image is selected by the GL implementation that compressed it (see {@link gl:texImage2D/9} +%% ) and should be queried at the time the texture was compressed with {@link gl:getTexLevelParameterfv/3} +%% . +%% +%% If a non-zero named buffer object is bound to the `?GL_PIXEL_UNPACK_BUFFER' target +%% (see {@link gl:bindBuffer/2} ) while a texture image is specified, `Data' is treated +%% as a byte offset into the buffer object's data store. +%% +%% See external documentation. +-spec compressedTexSubImage2D(Target, Level, Xoffset, Yoffset, Width, Height, Format, ImageSize, Data) -> ok when Target :: enum(),Level :: integer(),Xoffset :: integer(),Yoffset :: integer(),Width :: integer(),Height :: integer(),Format :: enum(),ImageSize :: integer(),Data :: offset()|mem(). compressedTexSubImage2D(Target,Level,Xoffset,Yoffset,Width,Height,Format,ImageSize,Data) when is_integer(Data) -> cast(5368, <>); compressedTexSubImage2D(Target,Level,Xoffset,Yoffset,Width,Height,Format,ImageSize,Data) -> send_bin(Data), cast(5369, <>). -%% @spec (Target::enum(),Level::integer(),Xoffset::integer(),Width::integer(),Format::enum(),ImageSize::integer(),Data::offset()|mem()) -> ok -%% @doc See external documentation. --spec compressedTexSubImage1D(enum(),integer(),integer(),integer(),enum(),integer(),offset()|mem()) -> ok. +%% @doc Specify a one-dimensional texture subimage in a compressed format +%% +%% Texturing allows elements of an image array to be read by shaders. +%% +%% ``gl:compressedTexSubImage1D'' redefines a contiguous subregion of an existing one-dimensional +%% texture image. The texels referenced by `Data' replace the portion of the existing +%% texture array with x indices `Xoffset' and xoffset+width-1, inclusive. This region +%% may not include any texels outside the range of the texture array as it was originally +%% specified. It is not an error to specify a subtexture with width of 0, but such a specification +%% has no effect. +%% +%% `Internalformat' must be a known compressed image format (such as `?GL_RGTC') +%% or an extension-specified compressed-texture format. The `Format' of the compressed +%% texture image is selected by the GL implementation that compressed it (see {@link gl:texImage1D/8} +%% ), and should be queried at the time the texture was compressed with {@link gl:getTexLevelParameterfv/3} +%% . +%% +%% If a non-zero named buffer object is bound to the `?GL_PIXEL_UNPACK_BUFFER' target +%% (see {@link gl:bindBuffer/2} ) while a texture image is specified, `Data' is treated +%% as a byte offset into the buffer object's data store. +%% +%% See external documentation. +-spec compressedTexSubImage1D(Target, Level, Xoffset, Width, Format, ImageSize, Data) -> ok when Target :: enum(),Level :: integer(),Xoffset :: integer(),Width :: integer(),Format :: enum(),ImageSize :: integer(),Data :: offset()|mem(). compressedTexSubImage1D(Target,Level,Xoffset,Width,Format,ImageSize,Data) when is_integer(Data) -> cast(5370, <>); compressedTexSubImage1D(Target,Level,Xoffset,Width,Format,ImageSize,Data) -> send_bin(Data), cast(5371, <>). -%% @spec (Target::enum(),Level::integer(),Img::mem()) -> ok -%% @doc See external documentation. --spec getCompressedTexImage(enum(),integer(),mem()) -> ok. -getCompressedTexImage(Target,Level,Img) -> +%% @doc Return a compressed texture image +%% +%% ``gl:getCompressedTexImage'' returns the compressed texture image associated with `Target' +%% and `Lod' into `Img' . `Img' should be an array of `?GL_TEXTURE_COMPRESSED_IMAGE_SIZE' +%% bytes. `Target' specifies whether the desired texture image was one specified by {@link gl:texImage1D/8} +%% (`?GL_TEXTURE_1D'), {@link gl:texImage2D/9} (`?GL_TEXTURE_2D' or any of `?GL_TEXTURE_CUBE_MAP_*' +%% ), or {@link gl:texImage3D/10} (`?GL_TEXTURE_3D'). `Lod' specifies the level-of-detail +%% number of the desired image. +%% +%% If a non-zero named buffer object is bound to the `?GL_PIXEL_PACK_BUFFER' target +%% (see {@link gl:bindBuffer/2} ) while a texture image is requested, `Img' is treated +%% as a byte offset into the buffer object's data store. +%% +%% To minimize errors, first verify that the texture is compressed by calling {@link gl:getTexLevelParameterfv/3} +%% with argument `?GL_TEXTURE_COMPRESSED'. If the texture is compressed, then determine +%% the amount of memory required to store the compressed texture by calling {@link gl:getTexLevelParameterfv/3} +%% with argument `?GL_TEXTURE_COMPRESSED_IMAGE_SIZE'. Finally, retrieve the internal +%% format of the texture by calling {@link gl:getTexLevelParameterfv/3} with argument `?GL_TEXTURE_INTERNAL_FORMAT' +%% . To store the texture for later use, associate the internal format and size with the +%% retrieved texture image. These data can be used by the respective texture or subtexture +%% loading routine used for loading `Target' textures. +%% +%% See external documentation. +-spec getCompressedTexImage(Target, Lod, Img) -> ok when Target :: enum(),Lod :: integer(),Img :: mem(). +getCompressedTexImage(Target,Lod,Img) -> send_bin(Img), - call(5372, <>). + call(5372, <>). -%% @spec (Texture::enum()) -> ok -%% @doc See external documentation. --spec clientActiveTexture(enum()) -> ok. +%% @doc Select active texture unit +%% +%% ``gl:clientActiveTexture'' selects the vertex array client state parameters to be modified +%% by {@link gl:texCoordPointer/4} , and enabled or disabled with {@link gl:enableClientState/1} +%% or {@link gl:enableClientState/1} , respectively, when called with a parameter of `?GL_TEXTURE_COORD_ARRAY' +%% . +%% +%% See external documentation. +-spec clientActiveTexture(Texture) -> ok when Texture :: enum(). clientActiveTexture(Texture) -> cast(5373, <>). -%% @spec (Target::enum(),S::float()) -> ok -%% @doc See external documentation. --spec multiTexCoord1d(enum(),float()) -> ok. +%% @doc Set the current texture coordinates +%% +%% ``gl:multiTexCoord'' specifies texture coordinates in one, two, three, or four dimensions. +%% ``gl:multiTexCoord1'' sets the current texture coordinates to (s 0 0 1); a call to ``gl:multiTexCoord2'' +%% sets them to (s t 0 1). Similarly, ``gl:multiTexCoord3'' specifies the texture coordinates as (s +%% t r 1), +%% and ``gl:multiTexCoord4'' defines all four components explicitly as (s t r q). +%% +%% The current texture coordinates are part of the data that is associated with each vertex +%% and with the current raster position. Initially, the values for (s t r q) are (0 0 0 1). +%% +%% +%% +%% See external documentation. +-spec multiTexCoord1d(Target, S) -> ok when Target :: enum(),S :: float(). multiTexCoord1d(Target,S) -> cast(5374, <>). -%% @spec (Target,{S}) -> ok %% @equiv multiTexCoord1d(Target,S) --spec multiTexCoord1dv(enum(),{float()}) -> ok. +-spec multiTexCoord1dv(Target :: enum(),V) -> ok when V :: {S :: float()}. multiTexCoord1dv(Target,{S}) -> multiTexCoord1d(Target,S). -%% @spec (Target::enum(),S::float()) -> ok -%% @doc See external documentation. --spec multiTexCoord1f(enum(),float()) -> ok. +%% @doc +%% See {@link multiTexCoord1d/2} +-spec multiTexCoord1f(Target, S) -> ok when Target :: enum(),S :: float(). multiTexCoord1f(Target,S) -> cast(5375, <>). -%% @spec (Target,{S}) -> ok %% @equiv multiTexCoord1f(Target,S) --spec multiTexCoord1fv(enum(),{float()}) -> ok. +-spec multiTexCoord1fv(Target :: enum(),V) -> ok when V :: {S :: float()}. multiTexCoord1fv(Target,{S}) -> multiTexCoord1f(Target,S). -%% @spec (Target::enum(),S::integer()) -> ok -%% @doc See external documentation. --spec multiTexCoord1i(enum(),integer()) -> ok. +%% @doc +%% See {@link multiTexCoord1d/2} +-spec multiTexCoord1i(Target, S) -> ok when Target :: enum(),S :: integer(). multiTexCoord1i(Target,S) -> cast(5376, <>). -%% @spec (Target,{S}) -> ok %% @equiv multiTexCoord1i(Target,S) --spec multiTexCoord1iv(enum(),{integer()}) -> ok. +-spec multiTexCoord1iv(Target :: enum(),V) -> ok when V :: {S :: integer()}. multiTexCoord1iv(Target,{S}) -> multiTexCoord1i(Target,S). -%% @spec (Target::enum(),S::integer()) -> ok -%% @doc See external documentation. --spec multiTexCoord1s(enum(),integer()) -> ok. +%% @doc +%% See {@link multiTexCoord1d/2} +-spec multiTexCoord1s(Target, S) -> ok when Target :: enum(),S :: integer(). multiTexCoord1s(Target,S) -> cast(5377, <>). -%% @spec (Target,{S}) -> ok %% @equiv multiTexCoord1s(Target,S) --spec multiTexCoord1sv(enum(),{integer()}) -> ok. +-spec multiTexCoord1sv(Target :: enum(),V) -> ok when V :: {S :: integer()}. multiTexCoord1sv(Target,{S}) -> multiTexCoord1s(Target,S). -%% @spec (Target::enum(),S::float(),T::float()) -> ok -%% @doc See external documentation. --spec multiTexCoord2d(enum(),float(),float()) -> ok. +%% @doc +%% See {@link multiTexCoord1d/2} +-spec multiTexCoord2d(Target, S, T) -> ok when Target :: enum(),S :: float(),T :: float(). multiTexCoord2d(Target,S,T) -> cast(5378, <>). -%% @spec (Target,{S,T}) -> ok %% @equiv multiTexCoord2d(Target,S,T) --spec multiTexCoord2dv(enum(),{float(),float()}) -> ok. +-spec multiTexCoord2dv(Target :: enum(),V) -> ok when V :: {S :: float(),T :: float()}. multiTexCoord2dv(Target,{S,T}) -> multiTexCoord2d(Target,S,T). -%% @spec (Target::enum(),S::float(),T::float()) -> ok -%% @doc See external documentation. --spec multiTexCoord2f(enum(),float(),float()) -> ok. +%% @doc +%% See {@link multiTexCoord1d/2} +-spec multiTexCoord2f(Target, S, T) -> ok when Target :: enum(),S :: float(),T :: float(). multiTexCoord2f(Target,S,T) -> cast(5379, <>). -%% @spec (Target,{S,T}) -> ok %% @equiv multiTexCoord2f(Target,S,T) --spec multiTexCoord2fv(enum(),{float(),float()}) -> ok. +-spec multiTexCoord2fv(Target :: enum(),V) -> ok when V :: {S :: float(),T :: float()}. multiTexCoord2fv(Target,{S,T}) -> multiTexCoord2f(Target,S,T). -%% @spec (Target::enum(),S::integer(),T::integer()) -> ok -%% @doc See external documentation. --spec multiTexCoord2i(enum(),integer(),integer()) -> ok. +%% @doc +%% See {@link multiTexCoord1d/2} +-spec multiTexCoord2i(Target, S, T) -> ok when Target :: enum(),S :: integer(),T :: integer(). multiTexCoord2i(Target,S,T) -> cast(5380, <>). -%% @spec (Target,{S,T}) -> ok %% @equiv multiTexCoord2i(Target,S,T) --spec multiTexCoord2iv(enum(),{integer(),integer()}) -> ok. +-spec multiTexCoord2iv(Target :: enum(),V) -> ok when V :: {S :: integer(),T :: integer()}. multiTexCoord2iv(Target,{S,T}) -> multiTexCoord2i(Target,S,T). -%% @spec (Target::enum(),S::integer(),T::integer()) -> ok -%% @doc See external documentation. --spec multiTexCoord2s(enum(),integer(),integer()) -> ok. +%% @doc +%% See {@link multiTexCoord1d/2} +-spec multiTexCoord2s(Target, S, T) -> ok when Target :: enum(),S :: integer(),T :: integer(). multiTexCoord2s(Target,S,T) -> cast(5381, <>). -%% @spec (Target,{S,T}) -> ok %% @equiv multiTexCoord2s(Target,S,T) --spec multiTexCoord2sv(enum(),{integer(),integer()}) -> ok. +-spec multiTexCoord2sv(Target :: enum(),V) -> ok when V :: {S :: integer(),T :: integer()}. multiTexCoord2sv(Target,{S,T}) -> multiTexCoord2s(Target,S,T). -%% @spec (Target::enum(),S::float(),T::float(),R::float()) -> ok -%% @doc See external documentation. --spec multiTexCoord3d(enum(),float(),float(),float()) -> ok. +%% @doc +%% See {@link multiTexCoord1d/2} +-spec multiTexCoord3d(Target, S, T, R) -> ok when Target :: enum(),S :: float(),T :: float(),R :: float(). multiTexCoord3d(Target,S,T,R) -> cast(5382, <>). -%% @spec (Target,{S,T,R}) -> ok %% @equiv multiTexCoord3d(Target,S,T,R) --spec multiTexCoord3dv(enum(),{float(),float(),float()}) -> ok. +-spec multiTexCoord3dv(Target :: enum(),V) -> ok when V :: {S :: float(),T :: float(),R :: float()}. multiTexCoord3dv(Target,{S,T,R}) -> multiTexCoord3d(Target,S,T,R). -%% @spec (Target::enum(),S::float(),T::float(),R::float()) -> ok -%% @doc See external documentation. --spec multiTexCoord3f(enum(),float(),float(),float()) -> ok. +%% @doc +%% See {@link multiTexCoord1d/2} +-spec multiTexCoord3f(Target, S, T, R) -> ok when Target :: enum(),S :: float(),T :: float(),R :: float(). multiTexCoord3f(Target,S,T,R) -> cast(5383, <>). -%% @spec (Target,{S,T,R}) -> ok %% @equiv multiTexCoord3f(Target,S,T,R) --spec multiTexCoord3fv(enum(),{float(),float(),float()}) -> ok. +-spec multiTexCoord3fv(Target :: enum(),V) -> ok when V :: {S :: float(),T :: float(),R :: float()}. multiTexCoord3fv(Target,{S,T,R}) -> multiTexCoord3f(Target,S,T,R). -%% @spec (Target::enum(),S::integer(),T::integer(),R::integer()) -> ok -%% @doc See external documentation. --spec multiTexCoord3i(enum(),integer(),integer(),integer()) -> ok. +%% @doc +%% See {@link multiTexCoord1d/2} +-spec multiTexCoord3i(Target, S, T, R) -> ok when Target :: enum(),S :: integer(),T :: integer(),R :: integer(). multiTexCoord3i(Target,S,T,R) -> cast(5384, <>). -%% @spec (Target,{S,T,R}) -> ok %% @equiv multiTexCoord3i(Target,S,T,R) --spec multiTexCoord3iv(enum(),{integer(),integer(),integer()}) -> ok. +-spec multiTexCoord3iv(Target :: enum(),V) -> ok when V :: {S :: integer(),T :: integer(),R :: integer()}. multiTexCoord3iv(Target,{S,T,R}) -> multiTexCoord3i(Target,S,T,R). -%% @spec (Target::enum(),S::integer(),T::integer(),R::integer()) -> ok -%% @doc See external documentation. --spec multiTexCoord3s(enum(),integer(),integer(),integer()) -> ok. +%% @doc +%% See {@link multiTexCoord1d/2} +-spec multiTexCoord3s(Target, S, T, R) -> ok when Target :: enum(),S :: integer(),T :: integer(),R :: integer(). multiTexCoord3s(Target,S,T,R) -> cast(5385, <>). -%% @spec (Target,{S,T,R}) -> ok %% @equiv multiTexCoord3s(Target,S,T,R) --spec multiTexCoord3sv(enum(),{integer(),integer(),integer()}) -> ok. +-spec multiTexCoord3sv(Target :: enum(),V) -> ok when V :: {S :: integer(),T :: integer(),R :: integer()}. multiTexCoord3sv(Target,{S,T,R}) -> multiTexCoord3s(Target,S,T,R). -%% @spec (Target::enum(),S::float(),T::float(),R::float(),Q::float()) -> ok -%% @doc See external documentation. --spec multiTexCoord4d(enum(),float(),float(),float(),float()) -> ok. +%% @doc +%% See {@link multiTexCoord1d/2} +-spec multiTexCoord4d(Target, S, T, R, Q) -> ok when Target :: enum(),S :: float(),T :: float(),R :: float(),Q :: float(). multiTexCoord4d(Target,S,T,R,Q) -> cast(5386, <>). -%% @spec (Target,{S,T,R,Q}) -> ok %% @equiv multiTexCoord4d(Target,S,T,R,Q) --spec multiTexCoord4dv(enum(),{float(),float(),float(),float()}) -> ok. +-spec multiTexCoord4dv(Target :: enum(),V) -> ok when V :: {S :: float(),T :: float(),R :: float(),Q :: float()}. 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 external documentation. --spec multiTexCoord4f(enum(),float(),float(),float(),float()) -> ok. +%% @doc +%% See {@link multiTexCoord1d/2} +-spec multiTexCoord4f(Target, S, T, R, Q) -> ok when Target :: enum(),S :: float(),T :: float(),R :: float(),Q :: float(). multiTexCoord4f(Target,S,T,R,Q) -> cast(5387, <>). -%% @spec (Target,{S,T,R,Q}) -> ok %% @equiv multiTexCoord4f(Target,S,T,R,Q) --spec multiTexCoord4fv(enum(),{float(),float(),float(),float()}) -> ok. +-spec multiTexCoord4fv(Target :: enum(),V) -> ok when V :: {S :: float(),T :: float(),R :: float(),Q :: float()}. 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 external documentation. --spec multiTexCoord4i(enum(),integer(),integer(),integer(),integer()) -> ok. +%% @doc +%% See {@link multiTexCoord1d/2} +-spec multiTexCoord4i(Target, S, T, R, Q) -> ok when Target :: enum(),S :: integer(),T :: integer(),R :: integer(),Q :: integer(). multiTexCoord4i(Target,S,T,R,Q) -> cast(5388, <>). -%% @spec (Target,{S,T,R,Q}) -> ok %% @equiv multiTexCoord4i(Target,S,T,R,Q) --spec multiTexCoord4iv(enum(),{integer(),integer(),integer(),integer()}) -> ok. +-spec multiTexCoord4iv(Target :: enum(),V) -> ok when V :: {S :: integer(),T :: integer(),R :: integer(),Q :: integer()}. 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 external documentation. --spec multiTexCoord4s(enum(),integer(),integer(),integer(),integer()) -> ok. +%% @doc +%% See {@link multiTexCoord1d/2} +-spec multiTexCoord4s(Target, S, T, R, Q) -> ok when Target :: enum(),S :: integer(),T :: integer(),R :: integer(),Q :: integer(). multiTexCoord4s(Target,S,T,R,Q) -> cast(5389, <>). -%% @spec (Target,{S,T,R,Q}) -> ok %% @equiv multiTexCoord4s(Target,S,T,R,Q) --spec multiTexCoord4sv(enum(),{integer(),integer(),integer(),integer()}) -> ok. +-spec multiTexCoord4sv(Target :: enum(),V) -> ok when V :: {S :: integer(),T :: integer(),R :: integer(),Q :: integer()}. multiTexCoord4sv(Target,{S,T,R,Q}) -> multiTexCoord4s(Target,S,T,R,Q). -%% @spec (M::{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}) -> ok -%% @doc See external documentation. --spec loadTransposeMatrixf({float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}) -> ok. +%% @doc Replace the current matrix with the specified row-major ordered matrix +%% +%% ``gl:loadTransposeMatrix'' replaces the current matrix with the one whose elements are +%% specified by `M' . The current matrix is the projection matrix, modelview matrix, +%% or texture matrix, depending on the current matrix mode (see {@link gl:matrixMode/1} ). +%% +%% The current matrix, M, defines a transformation of coordinates. For instance, assume +%% M refers to the modelview matrix. If v=(v[0] v[1] v[2] v[3]) is the set of object coordinates of a vertex, +%% and `M' points to an array of 16 single- or double-precision floating-point values +%% m={m[0] m[1] ... m[15]}, then the modelview transformation M(v) does the following: +%% +%% M(v)=(m[0] m[1] m[2] m[3] m[4] m[5] m[6] m[7] m[8] m[9] m[10] m[11] m[12] m[13] m[14] m[15])*(v[0] v[1] v[2] v[3]) +%% +%% Projection and texture transformations are similarly defined. +%% +%% Calling ``gl:loadTransposeMatrix'' with matrix M is identical in operation to {@link gl:loadMatrixd/1} +%% with M T, where T represents the transpose. +%% +%% See external documentation. +-spec loadTransposeMatrixf(M) -> ok when M :: matrix(). loadTransposeMatrixf({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12,M13,M14,M15,M16}) -> cast(5390, <>); loadTransposeMatrixf({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12}) -> cast(5390, <>). -%% @spec (M::{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}) -> ok -%% @doc See external documentation. --spec loadTransposeMatrixd({float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}) -> ok. +%% @doc +%% See {@link loadTransposeMatrixf/1} +-spec loadTransposeMatrixd(M) -> ok when M :: matrix(). loadTransposeMatrixd({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12,M13,M14,M15,M16}) -> cast(5391, <>); loadTransposeMatrixd({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12}) -> cast(5391, <>). -%% @spec (M::{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}) -> ok -%% @doc See external documentation. --spec multTransposeMatrixf({float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}) -> ok. +%% @doc Multiply the current matrix with the specified row-major ordered matrix +%% +%% ``gl:multTransposeMatrix'' multiplies the current matrix with the one specified using `M' +%% , and replaces the current matrix with the product. +%% +%% The current matrix is determined by the current matrix mode (see {@link gl:matrixMode/1} ). +%% It is either the projection matrix, modelview matrix, or the texture matrix. +%% +%% See external documentation. +-spec multTransposeMatrixf(M) -> ok when M :: matrix(). multTransposeMatrixf({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12,M13,M14,M15,M16}) -> cast(5392, <>); multTransposeMatrixf({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12}) -> cast(5392, <>). -%% @spec (M::{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}) -> ok -%% @doc See external documentation. --spec multTransposeMatrixd({float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}) -> ok. +%% @doc +%% See {@link multTransposeMatrixf/1} +-spec multTransposeMatrixd(M) -> ok when M :: matrix(). multTransposeMatrixd({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12,M13,M14,M15,M16}) -> cast(5393, <>); multTransposeMatrixd({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12}) -> cast(5393, <>). -%% @spec (SfactorRGB::enum(),DfactorRGB::enum(),SfactorAlpha::enum(),DfactorAlpha::enum()) -> ok -%% @doc See external documentation. --spec blendFuncSeparate(enum(),enum(),enum(),enum()) -> ok. +%% @doc Specify pixel arithmetic for RGB and alpha components separately +%% +%% Pixels can be drawn using a function that blends the incoming (source) RGBA values with +%% the RGBA values that are already in the frame buffer (the destination values). Blending +%% is initially disabled. Use {@link gl:enable/1} and {@link gl:enable/1} with argument `?GL_BLEND' +%% to enable and disable blending. +%% +%% ``gl:blendFuncSeparate'' defines the operation of blending for all draw buffers when +%% it is enabled. ``gl:blendFuncSeparatei'' defines the operation of blending for a single +%% draw buffer specified by `Buf' when enabled for that draw buffer. `SrcRGB' specifies +%% which method is used to scale the source RGB-color components. `DstRGB' specifies +%% which method is used to scale the destination RGB-color components. Likewise, `SrcAlpha' +%% specifies which method is used to scale the source alpha color component, and `DstAlpha' +%% specifies which method is used to scale the destination alpha component. The possible +%% methods are described in the following table. Each method defines four scale factors, +%% one each for red, green, blue, and alpha. +%% +%% In the table and in subsequent equations, first source, second source and destination +%% color components are referred to as (R s0 G s0 B s0 A s0), (R s1 G s1 B s1 A s1), and (R d G d B d A d), respectively. The color specified by {@link gl:blendColor/4} +%% is referred to as (R c G c B c A c). They are understood to have integer values between 0 and (k R k G k B +%% k A), where +%% +%% k c= 2(m c)-1 +%% +%% and (m R m G m B m A) is the number of red, green, blue, and alpha bitplanes. +%% +%% Source and destination scale factors are referred to as (s R s G s B s A) and (d R d G d B d A). All scale factors have +%% range [0 1]. +%% +%% +%% +%% +%% +%%
` Parameter '` RGB Factor '` Alpha Factor ' +%%
`?GL_ZERO'(0 0 0) 0
`?GL_ONE' +%% (1 1 1) 1
`?GL_SRC_COLOR'(R s0 k/R G s0 k/G B s0 +%% k/B) A s0 k/A
`?GL_ONE_MINUS_SRC_COLOR'(1 1 1 1)-(R s0 k/R G s0 k/G B s0 k/B) 1-A s0 k/A
+%% `?GL_DST_COLOR'(R d k/R G d k/G B d k/B) A d k/A
`?GL_ONE_MINUS_DST_COLOR' +%% (1 1 1)-(R d k/R G d k/G B d k/B) 1-A d k/A
`?GL_SRC_ALPHA'(A s0 k/A A s0 +%% k/A A s0 k/A) A +%% s0 k/A
`?GL_ONE_MINUS_SRC_ALPHA'(1 1 1)-(A s0 k/A A s0 k/A A s0 k/A +%% ) 1-A s0 k/A
`?GL_DST_ALPHA'(A d k/A A d k/A A d k/A) A d k/A
`?GL_ONE_MINUS_DST_ALPHA' +%% (1 1 1)-(A d k/A A d k/A A d k/A) 1-A d k/A
`?GL_CONSTANT_COLOR'(R c G c +%% B c) +%% A c
`?GL_ONE_MINUS_CONSTANT_COLOR'(1 1 1)-(R c G c B c) 1-A c
`?GL_CONSTANT_ALPHA'(A c A c A c) A c
`?GL_ONE_MINUS_CONSTANT_ALPHA' +%% (1 1 1)-(A c A c A c) 1-A c
`?GL_SRC_ALPHA_SATURATE'(i i i) +%% 1
`?GL_SRC1_COLOR'(R s1 k/R G s1 k/G B s1 k/B) A s1 k/A
`?GL_ONE_MINUS_SRC_COLOR' +%% (1 1 1 1)-(R s1 k/R G s1 k/G B s1 k/B) 1-A s1 k/A
`?GL_SRC1_ALPHA'(A s1 k/A A +%% s1 k/A A s1 k/A) A +%% s1 k/A
`?GL_ONE_MINUS_SRC_ALPHA'(1 1 1)-(A s1 k/A A s1 k/A A s1 k/A +%% ) 1-A s1 k/A
+%% +%% In the table, +%% +%% i= min(A s 1-(A d)) +%% +%% To determine the blended RGBA values of a pixel, the system uses the following equations: +%% +%% +%% R d= min(k R R s s R+R d d R) G d= min(k G G s s G+G d d G) B d= min(k B B s s B+B d d B) A d= min(k A A s s A+A d d A) +%% +%% Despite the apparent precision of the above equations, blending arithmetic is not exactly +%% specified, because blending operates with imprecise integer color values. However, a blend +%% factor that should be equal to 1 is guaranteed not to modify its multiplicand, and a blend +%% factor equal to 0 reduces its multiplicand to 0. For example, when `SrcRGB' is `?GL_SRC_ALPHA' +%% , `DstRGB' is `?GL_ONE_MINUS_SRC_ALPHA', and A s is equal to k A, the equations +%% reduce to simple replacement: +%% +%% R d= R s G d= G s B d= B s A d= A s +%% +%% +%% +%% See external documentation. +-spec blendFuncSeparate(SfactorRGB, DfactorRGB, SfactorAlpha, DfactorAlpha) -> ok when SfactorRGB :: enum(),DfactorRGB :: enum(),SfactorAlpha :: enum(),DfactorAlpha :: enum(). blendFuncSeparate(SfactorRGB,DfactorRGB,SfactorAlpha,DfactorAlpha) -> cast(5394, <>). -%% @spec (Mode::enum(),First::[integer()],Count::[integer()]) -> ok -%% @doc See external documentation. --spec multiDrawArrays(enum(),[integer()],[integer()]) -> ok. +%% @doc Render multiple sets of primitives from array data +%% +%% ``gl:multiDrawArrays'' specifies multiple sets of geometric primitives with very few +%% subroutine calls. Instead of calling a GL procedure to pass each individual vertex, normal, +%% texture coordinate, edge flag, or color, you can prespecify separate arrays of vertices, +%% normals, and colors and use them to construct a sequence of primitives with a single call +%% to ``gl:multiDrawArrays''. +%% +%% ``gl:multiDrawArrays'' behaves identically to {@link gl:drawArrays/3} except that `Primcount' +%% separate ranges of elements are specified instead. +%% +%% When ``gl:multiDrawArrays'' is called, it uses `Count' sequential elements from +%% each enabled array to construct a sequence of geometric primitives, beginning with element +%% `First' . `Mode' specifies what kind of primitives are constructed, and how the +%% array elements construct those primitives. +%% +%% Vertex attributes that are modified by ``gl:multiDrawArrays'' have an unspecified value +%% after ``gl:multiDrawArrays'' returns. Attributes that aren't modified remain well defined. +%% +%% +%% See external documentation. +-spec multiDrawArrays(Mode, First, Count) -> ok when Mode :: enum(),First :: [integer()],Count :: [integer()]. multiDrawArrays(Mode,First,Count) -> cast(5395, <> || C <- First>>)/binary,0:(((length(First)) rem 2)*32),(length(Count)):?GLuint, (<< <> || C <- Count>>)/binary,0:(((1+length(Count)) rem 2)*32)>>). -%% @spec (Pname::enum(),Param::float()) -> ok -%% @doc See external documentation. --spec pointParameterf(enum(),float()) -> ok. +%% @doc Specify point parameters +%% +%% The following values are accepted for `Pname' : +%% +%% `?GL_POINT_FADE_THRESHOLD_SIZE': `Params' is a single floating-point value that +%% specifies the threshold value to which point sizes are clamped if they exceed the specified +%% value. The default value is 1.0. +%% +%% `?GL_POINT_SPRITE_COORD_ORIGIN': `Params' is a single enum specifying the point +%% sprite texture coordinate origin, either `?GL_LOWER_LEFT' or `?GL_UPPER_LEFT'. +%% The default value is `?GL_UPPER_LEFT'. +%% +%% See external documentation. +-spec pointParameterf(Pname, Param) -> ok when Pname :: enum(),Param :: float(). pointParameterf(Pname,Param) -> cast(5396, <>). -%% @spec (Pname::enum(),Params::{float()}) -> ok -%% @doc See external documentation. --spec pointParameterfv(enum(),{float()}) -> ok. +%% @doc +%% See {@link pointParameterf/2} +-spec pointParameterfv(Pname, Params) -> ok when Pname :: enum(),Params :: {float()}. pointParameterfv(Pname,Params) -> cast(5397, <> ||C <- tuple_to_list(Params)>>)/binary,0:(((0+size(Params)) rem 2)*32)>>). -%% @spec (Pname::enum(),Param::integer()) -> ok -%% @doc See external documentation. --spec pointParameteri(enum(),integer()) -> ok. +%% @doc +%% See {@link pointParameterf/2} +-spec pointParameteri(Pname, Param) -> ok when Pname :: enum(),Param :: integer(). pointParameteri(Pname,Param) -> cast(5398, <>). -%% @spec (Pname::enum(),Params::{integer()}) -> ok -%% @doc See external documentation. --spec pointParameteriv(enum(),{integer()}) -> ok. +%% @doc +%% See {@link pointParameterf/2} +-spec pointParameteriv(Pname, Params) -> ok when Pname :: enum(),Params :: {integer()}. pointParameteriv(Pname,Params) -> cast(5399, <> ||C <- tuple_to_list(Params)>>)/binary,0:(((0+size(Params)) rem 2)*32)>>). -%% @spec (Coord::float()) -> ok -%% @doc See external documentation. --spec fogCoordf(float()) -> ok. +%% @doc Set the current fog coordinates +%% +%% ``gl:fogCoord'' specifies the fog coordinate that is associated with each vertex and +%% the current raster position. The value specified is interpolated and used in computing +%% the fog color (see {@link gl:fogf/2} ). +%% +%% See external documentation. +-spec fogCoordf(Coord) -> ok when Coord :: float(). fogCoordf(Coord) -> cast(5400, <>). -%% @spec ({Coord}) -> ok %% @equiv fogCoordf(Coord) --spec fogCoordfv({float()}) -> ok. +-spec fogCoordfv(Coord) -> ok when Coord :: {Coord :: float()}. fogCoordfv({Coord}) -> fogCoordf(Coord). -%% @spec (Coord::float()) -> ok -%% @doc See external documentation. --spec fogCoordd(float()) -> ok. +%% @doc +%% See {@link fogCoordf/1} +-spec fogCoordd(Coord) -> ok when Coord :: float(). fogCoordd(Coord) -> cast(5401, <>). -%% @spec ({Coord}) -> ok %% @equiv fogCoordd(Coord) --spec fogCoorddv({float()}) -> ok. +-spec fogCoorddv(Coord) -> ok when Coord :: {Coord :: float()}. fogCoorddv({Coord}) -> fogCoordd(Coord). -%% @spec (Type::enum(),Stride::integer(),Pointer::offset()|mem()) -> ok -%% @doc See external documentation. --spec fogCoordPointer(enum(),integer(),offset()|mem()) -> ok. +%% @doc Define an array of fog coordinates +%% +%% ``gl:fogCoordPointer'' specifies the location and data format of an array of fog coordinates +%% to use when rendering. `Type' specifies the data type of each fog coordinate, and `Stride' +%% specifies the byte stride from one fog coordinate to the next, allowing vertices and +%% attributes to be packed into a single array or stored in separate arrays. +%% +%% If a non-zero named buffer object is bound to the `?GL_ARRAY_BUFFER' target (see {@link gl:bindBuffer/2} +%% ) while a fog coordinate array is specified, `Pointer' is treated as a byte offset +%% into the buffer object's data store. Also, the buffer object binding (`?GL_ARRAY_BUFFER_BINDING' +%% ) is saved as fog coordinate vertex array client-side state (`?GL_FOG_COORD_ARRAY_BUFFER_BINDING' +%% ). +%% +%% When a fog coordinate array is specified, `Type' , `Stride' , and `Pointer' +%% are saved as client-side state, in addition to the current vertex array buffer object +%% binding. +%% +%% To enable and disable the fog coordinate array, call {@link gl:enableClientState/1} and {@link gl:enableClientState/1} +%% with the argument `?GL_FOG_COORD_ARRAY'. If enabled, the fog coordinate array is +%% used when {@link gl:drawArrays/3} , {@link gl:multiDrawArrays/3} , {@link gl:drawElements/4} , see `glMultiDrawElements' +%% , {@link gl:drawRangeElements/6} , or {@link gl:arrayElement/1} is called. +%% +%% See external documentation. +-spec fogCoordPointer(Type, Stride, Pointer) -> ok when Type :: enum(),Stride :: integer(),Pointer :: offset()|mem(). fogCoordPointer(Type,Stride,Pointer) when is_integer(Pointer) -> cast(5402, <>); fogCoordPointer(Type,Stride,Pointer) -> send_bin(Pointer), cast(5403, <>). -%% @spec (Red::integer(),Green::integer(),Blue::integer()) -> ok -%% @doc See external documentation. --spec secondaryColor3b(integer(),integer(),integer()) -> ok. +%% @doc Set the current secondary color +%% +%% The GL stores both a primary four-valued RGBA color and a secondary four-valued RGBA +%% color (where alpha is always set to 0.0) that is associated with every vertex. +%% +%% The secondary color is interpolated and applied to each fragment during rasterization +%% when `?GL_COLOR_SUM' is enabled. When lighting is enabled, and `?GL_SEPARATE_SPECULAR_COLOR' +%% is specified, the value of the secondary color is assigned the value computed from the +%% specular term of the lighting computation. Both the primary and secondary current colors +%% are applied to each fragment, regardless of the state of `?GL_COLOR_SUM', under such +%% conditions. When `?GL_SEPARATE_SPECULAR_COLOR' is specified, the value returned from +%% querying the current secondary color is undefined. +%% +%% ``gl:secondaryColor3b'', ``gl:secondaryColor3s'', and ``gl:secondaryColor3i'' take +%% three signed byte, short, or long integers as arguments. When `v' is appended to +%% the name, the color commands can take a pointer to an array of such values. +%% +%% Color values are stored in floating-point format, with unspecified mantissa and exponent +%% sizes. Unsigned integer color components, when specified, are linearly mapped to floating-point +%% values such that the largest representable value maps to 1.0 (full intensity), and 0 maps +%% to 0.0 (zero intensity). Signed integer color components, when specified, are linearly +%% mapped to floating-point values such that the most positive representable value maps to +%% 1.0, and the most negative representable value maps to -1.0. (Note that this mapping +%% does not convert 0 precisely to 0.0). Floating-point values are mapped directly. +%% +%% Neither floating-point nor signed integer values are clamped to the range [0 1] before the +%% current color is updated. However, color components are clamped to this range before they +%% are interpolated or written into a color buffer. +%% +%% See external documentation. +-spec secondaryColor3b(Red, Green, Blue) -> ok when Red :: integer(),Green :: integer(),Blue :: integer(). secondaryColor3b(Red,Green,Blue) -> cast(5404, <>). -%% @spec ({Red,Green,Blue}) -> ok %% @equiv secondaryColor3b(Red,Green,Blue) --spec secondaryColor3bv({integer(),integer(),integer()}) -> ok. +-spec secondaryColor3bv(V) -> ok when V :: {Red :: integer(),Green :: integer(),Blue :: integer()}. secondaryColor3bv({Red,Green,Blue}) -> secondaryColor3b(Red,Green,Blue). -%% @spec (Red::float(),Green::float(),Blue::float()) -> ok -%% @doc See external documentation. --spec secondaryColor3d(float(),float(),float()) -> ok. +%% @doc +%% See {@link secondaryColor3b/3} +-spec secondaryColor3d(Red, Green, Blue) -> ok when Red :: float(),Green :: float(),Blue :: float(). secondaryColor3d(Red,Green,Blue) -> cast(5405, <>). -%% @spec ({Red,Green,Blue}) -> ok %% @equiv secondaryColor3d(Red,Green,Blue) --spec secondaryColor3dv({float(),float(),float()}) -> ok. +-spec secondaryColor3dv(V) -> ok when V :: {Red :: float(),Green :: float(),Blue :: float()}. secondaryColor3dv({Red,Green,Blue}) -> secondaryColor3d(Red,Green,Blue). -%% @spec (Red::float(),Green::float(),Blue::float()) -> ok -%% @doc See external documentation. --spec secondaryColor3f(float(),float(),float()) -> ok. +%% @doc +%% See {@link secondaryColor3b/3} +-spec secondaryColor3f(Red, Green, Blue) -> ok when Red :: float(),Green :: float(),Blue :: float(). secondaryColor3f(Red,Green,Blue) -> cast(5406, <>). -%% @spec ({Red,Green,Blue}) -> ok %% @equiv secondaryColor3f(Red,Green,Blue) --spec secondaryColor3fv({float(),float(),float()}) -> ok. +-spec secondaryColor3fv(V) -> ok when V :: {Red :: float(),Green :: float(),Blue :: float()}. secondaryColor3fv({Red,Green,Blue}) -> secondaryColor3f(Red,Green,Blue). -%% @spec (Red::integer(),Green::integer(),Blue::integer()) -> ok -%% @doc See external documentation. --spec secondaryColor3i(integer(),integer(),integer()) -> ok. +%% @doc +%% See {@link secondaryColor3b/3} +-spec secondaryColor3i(Red, Green, Blue) -> ok when Red :: integer(),Green :: integer(),Blue :: integer(). secondaryColor3i(Red,Green,Blue) -> cast(5407, <>). -%% @spec ({Red,Green,Blue}) -> ok %% @equiv secondaryColor3i(Red,Green,Blue) --spec secondaryColor3iv({integer(),integer(),integer()}) -> ok. +-spec secondaryColor3iv(V) -> ok when V :: {Red :: integer(),Green :: integer(),Blue :: integer()}. secondaryColor3iv({Red,Green,Blue}) -> secondaryColor3i(Red,Green,Blue). -%% @spec (Red::integer(),Green::integer(),Blue::integer()) -> ok -%% @doc See external documentation. --spec secondaryColor3s(integer(),integer(),integer()) -> ok. +%% @doc +%% See {@link secondaryColor3b/3} +-spec secondaryColor3s(Red, Green, Blue) -> ok when Red :: integer(),Green :: integer(),Blue :: integer(). secondaryColor3s(Red,Green,Blue) -> cast(5408, <>). -%% @spec ({Red,Green,Blue}) -> ok %% @equiv secondaryColor3s(Red,Green,Blue) --spec secondaryColor3sv({integer(),integer(),integer()}) -> ok. +-spec secondaryColor3sv(V) -> ok when V :: {Red :: integer(),Green :: integer(),Blue :: integer()}. secondaryColor3sv({Red,Green,Blue}) -> secondaryColor3s(Red,Green,Blue). -%% @spec (Red::integer(),Green::integer(),Blue::integer()) -> ok -%% @doc See external documentation. --spec secondaryColor3ub(integer(),integer(),integer()) -> ok. +%% @doc +%% See {@link secondaryColor3b/3} +-spec secondaryColor3ub(Red, Green, Blue) -> ok when Red :: integer(),Green :: integer(),Blue :: integer(). secondaryColor3ub(Red,Green,Blue) -> cast(5409, <>). -%% @spec ({Red,Green,Blue}) -> ok %% @equiv secondaryColor3ub(Red,Green,Blue) --spec secondaryColor3ubv({integer(),integer(),integer()}) -> ok. +-spec secondaryColor3ubv(V) -> ok when V :: {Red :: integer(),Green :: integer(),Blue :: integer()}. secondaryColor3ubv({Red,Green,Blue}) -> secondaryColor3ub(Red,Green,Blue). -%% @spec (Red::integer(),Green::integer(),Blue::integer()) -> ok -%% @doc See external documentation. --spec secondaryColor3ui(integer(),integer(),integer()) -> ok. +%% @doc +%% See {@link secondaryColor3b/3} +-spec secondaryColor3ui(Red, Green, Blue) -> ok when Red :: integer(),Green :: integer(),Blue :: integer(). secondaryColor3ui(Red,Green,Blue) -> cast(5410, <>). -%% @spec ({Red,Green,Blue}) -> ok %% @equiv secondaryColor3ui(Red,Green,Blue) --spec secondaryColor3uiv({integer(),integer(),integer()}) -> ok. +-spec secondaryColor3uiv(V) -> ok when V :: {Red :: integer(),Green :: integer(),Blue :: integer()}. secondaryColor3uiv({Red,Green,Blue}) -> secondaryColor3ui(Red,Green,Blue). -%% @spec (Red::integer(),Green::integer(),Blue::integer()) -> ok -%% @doc See external documentation. --spec secondaryColor3us(integer(),integer(),integer()) -> ok. +%% @doc +%% See {@link secondaryColor3b/3} +-spec secondaryColor3us(Red, Green, Blue) -> ok when Red :: integer(),Green :: integer(),Blue :: integer(). secondaryColor3us(Red,Green,Blue) -> cast(5411, <>). -%% @spec ({Red,Green,Blue}) -> ok %% @equiv secondaryColor3us(Red,Green,Blue) --spec secondaryColor3usv({integer(),integer(),integer()}) -> ok. +-spec secondaryColor3usv(V) -> ok when V :: {Red :: integer(),Green :: integer(),Blue :: integer()}. secondaryColor3usv({Red,Green,Blue}) -> secondaryColor3us(Red,Green,Blue). -%% @spec (Size::integer(),Type::enum(),Stride::integer(),Pointer::offset()|mem()) -> ok -%% @doc See external documentation. --spec secondaryColorPointer(integer(),enum(),integer(),offset()|mem()) -> ok. +%% @doc Define an array of secondary colors +%% +%% ``gl:secondaryColorPointer'' specifies the location and data format of an array of color +%% components to use when rendering. `Size' specifies the number of components per color, +%% and must be 3. `Type' specifies the data type of each color component, and `Stride' +%% specifies the byte stride from one color to the next, allowing vertices and attributes +%% to be packed into a single array or stored in separate arrays. +%% +%% If a non-zero named buffer object is bound to the `?GL_ARRAY_BUFFER' target (see {@link gl:bindBuffer/2} +%% ) while a secondary color array is specified, `Pointer' is treated as a byte offset +%% into the buffer object's data store. Also, the buffer object binding (`?GL_ARRAY_BUFFER_BINDING' +%% ) is saved as secondary color vertex array client-side state (`?GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING' +%% ). +%% +%% When a secondary color array is specified, `Size' , `Type' , `Stride' , and `Pointer' +%% are saved as client-side state, in addition to the current vertex array buffer object +%% binding. +%% +%% To enable and disable the secondary color array, call {@link gl:enableClientState/1} and {@link gl:enableClientState/1} +%% with the argument `?GL_SECONDARY_COLOR_ARRAY'. If enabled, the secondary color array +%% is used when {@link gl:arrayElement/1} , {@link gl:drawArrays/3} , {@link gl:multiDrawArrays/3} , +%% {@link gl:drawElements/4} , see `glMultiDrawElements', or {@link gl:drawRangeElements/6} +%% is called. +%% +%% See external documentation. +-spec secondaryColorPointer(Size, Type, Stride, Pointer) -> ok when Size :: integer(),Type :: enum(),Stride :: integer(),Pointer :: offset()|mem(). secondaryColorPointer(Size,Type,Stride,Pointer) when is_integer(Pointer) -> cast(5412, <>); secondaryColorPointer(Size,Type,Stride,Pointer) -> send_bin(Pointer), cast(5413, <>). -%% @spec (X::float(),Y::float()) -> ok -%% @doc See external documentation. --spec windowPos2d(float(),float()) -> ok. +%% @doc Specify the raster position in window coordinates for pixel operations +%% +%% The GL maintains a 3D position in window coordinates. This position, called the raster +%% position, is used to position pixel and bitmap write operations. It is maintained with +%% subpixel accuracy. See {@link gl:bitmap/7} , {@link gl:drawPixels/5} , and {@link gl:copyPixels/5} +%% . +%% +%% ``gl:windowPos2'' specifies the x and y coordinates, while z is implicitly set +%% to 0. ``gl:windowPos3'' specifies all three coordinates. The w coordinate of the current +%% raster position is always set to 1.0. +%% +%% ``gl:windowPos'' directly updates the x and y coordinates of the current raster +%% position with the values specified. That is, the values are neither transformed by the +%% current modelview and projection matrices, nor by the viewport-to-window transform. The +%% z coordinate of the current raster position is updated in the following manner: +%% +%% z={n f(n+z*(f-n)) if z<= 0 if z>= 1(otherwise)) +%% +%% where n is `?GL_DEPTH_RANGE''s near value, and f is `?GL_DEPTH_RANGE''s +%% far value. See {@link gl:depthRange/2} . +%% +%% The specified coordinates are not clip-tested, causing the raster position to always +%% be valid. +%% +%% The current raster position also includes some associated color data and texture coordinates. +%% If lighting is enabled, then `?GL_CURRENT_RASTER_COLOR' (in RGBA mode) or `?GL_CURRENT_RASTER_INDEX' +%% (in color index mode) is set to the color produced by the lighting calculation (see {@link gl:lightf/3} +%% , {@link gl:lightModelf/2} , and {@link gl:shadeModel/1} ). If lighting is disabled, current +%% color (in RGBA mode, state variable `?GL_CURRENT_COLOR') or color index (in color +%% index mode, state variable `?GL_CURRENT_INDEX') is used to update the current raster +%% color. `?GL_CURRENT_RASTER_SECONDARY_COLOR' (in RGBA mode) is likewise updated. +%% +%% Likewise, `?GL_CURRENT_RASTER_TEXTURE_COORDS' is updated as a function of `?GL_CURRENT_TEXTURE_COORDS' +%% , based on the texture matrix and the texture generation functions (see {@link gl:texGend/3} ). +%% The `?GL_CURRENT_RASTER_DISTANCE' is set to the `?GL_CURRENT_FOG_COORD'. +%% +%% +%% +%% See external documentation. +-spec windowPos2d(X, Y) -> ok when X :: float(),Y :: float(). windowPos2d(X,Y) -> cast(5414, <>). -%% @spec ({X,Y}) -> ok %% @equiv windowPos2d(X,Y) --spec windowPos2dv({float(),float()}) -> ok. +-spec windowPos2dv(V) -> ok when V :: {X :: float(),Y :: float()}. windowPos2dv({X,Y}) -> windowPos2d(X,Y). -%% @spec (X::float(),Y::float()) -> ok -%% @doc See external documentation. --spec windowPos2f(float(),float()) -> ok. +%% @doc +%% See {@link windowPos2d/2} +-spec windowPos2f(X, Y) -> ok when X :: float(),Y :: float(). windowPos2f(X,Y) -> cast(5415, <>). -%% @spec ({X,Y}) -> ok %% @equiv windowPos2f(X,Y) --spec windowPos2fv({float(),float()}) -> ok. +-spec windowPos2fv(V) -> ok when V :: {X :: float(),Y :: float()}. windowPos2fv({X,Y}) -> windowPos2f(X,Y). -%% @spec (X::integer(),Y::integer()) -> ok -%% @doc See external documentation. --spec windowPos2i(integer(),integer()) -> ok. +%% @doc +%% See {@link windowPos2d/2} +-spec windowPos2i(X, Y) -> ok when X :: integer(),Y :: integer(). windowPos2i(X,Y) -> cast(5416, <>). -%% @spec ({X,Y}) -> ok %% @equiv windowPos2i(X,Y) --spec windowPos2iv({integer(),integer()}) -> ok. +-spec windowPos2iv(V) -> ok when V :: {X :: integer(),Y :: integer()}. windowPos2iv({X,Y}) -> windowPos2i(X,Y). -%% @spec (X::integer(),Y::integer()) -> ok -%% @doc See external documentation. --spec windowPos2s(integer(),integer()) -> ok. +%% @doc +%% See {@link windowPos2d/2} +-spec windowPos2s(X, Y) -> ok when X :: integer(),Y :: integer(). windowPos2s(X,Y) -> cast(5417, <>). -%% @spec ({X,Y}) -> ok %% @equiv windowPos2s(X,Y) --spec windowPos2sv({integer(),integer()}) -> ok. +-spec windowPos2sv(V) -> ok when V :: {X :: integer(),Y :: integer()}. windowPos2sv({X,Y}) -> windowPos2s(X,Y). -%% @spec (X::float(),Y::float(),Z::float()) -> ok -%% @doc See external documentation. --spec windowPos3d(float(),float(),float()) -> ok. +%% @doc +%% See {@link windowPos2d/2} +-spec windowPos3d(X, Y, Z) -> ok when X :: float(),Y :: float(),Z :: float(). windowPos3d(X,Y,Z) -> cast(5418, <>). -%% @spec ({X,Y,Z}) -> ok %% @equiv windowPos3d(X,Y,Z) --spec windowPos3dv({float(),float(),float()}) -> ok. +-spec windowPos3dv(V) -> ok when V :: {X :: float(),Y :: float(),Z :: float()}. windowPos3dv({X,Y,Z}) -> windowPos3d(X,Y,Z). -%% @spec (X::float(),Y::float(),Z::float()) -> ok -%% @doc See external documentation. --spec windowPos3f(float(),float(),float()) -> ok. +%% @doc +%% See {@link windowPos2d/2} +-spec windowPos3f(X, Y, Z) -> ok when X :: float(),Y :: float(),Z :: float(). windowPos3f(X,Y,Z) -> cast(5419, <>). -%% @spec ({X,Y,Z}) -> ok %% @equiv windowPos3f(X,Y,Z) --spec windowPos3fv({float(),float(),float()}) -> ok. +-spec windowPos3fv(V) -> ok when V :: {X :: float(),Y :: float(),Z :: float()}. windowPos3fv({X,Y,Z}) -> windowPos3f(X,Y,Z). -%% @spec (X::integer(),Y::integer(),Z::integer()) -> ok -%% @doc See external documentation. --spec windowPos3i(integer(),integer(),integer()) -> ok. +%% @doc +%% See {@link windowPos2d/2} +-spec windowPos3i(X, Y, Z) -> ok when X :: integer(),Y :: integer(),Z :: integer(). windowPos3i(X,Y,Z) -> cast(5420, <>). -%% @spec ({X,Y,Z}) -> ok %% @equiv windowPos3i(X,Y,Z) --spec windowPos3iv({integer(),integer(),integer()}) -> ok. +-spec windowPos3iv(V) -> ok when V :: {X :: integer(),Y :: integer(),Z :: integer()}. windowPos3iv({X,Y,Z}) -> windowPos3i(X,Y,Z). -%% @spec (X::integer(),Y::integer(),Z::integer()) -> ok -%% @doc See external documentation. --spec windowPos3s(integer(),integer(),integer()) -> ok. +%% @doc +%% See {@link windowPos2d/2} +-spec windowPos3s(X, Y, Z) -> ok when X :: integer(),Y :: integer(),Z :: integer(). windowPos3s(X,Y,Z) -> cast(5421, <>). -%% @spec ({X,Y,Z}) -> ok %% @equiv windowPos3s(X,Y,Z) --spec windowPos3sv({integer(),integer(),integer()}) -> ok. +-spec windowPos3sv(V) -> ok when V :: {X :: integer(),Y :: integer(),Z :: integer()}. windowPos3sv({X,Y,Z}) -> windowPos3s(X,Y,Z). -%% @spec (N::integer()) -> [integer()] -%% @doc See external documentation. --spec genQueries(integer()) -> [integer()]. +%% @doc Generate query object names +%% +%% ``gl:genQueries'' returns `N' query object names in `Ids' . There is no guarantee +%% that the names form a contiguous set of integers; however, it is guaranteed that none +%% of the returned names was in use immediately before the call to ``gl:genQueries''. +%% +%% Query object names returned by a call to ``gl:genQueries'' are not returned by subsequent +%% calls, unless they are first deleted with {@link gl:deleteQueries/1} . +%% +%% No query objects are associated with the returned query object names until they are first +%% used by calling {@link gl:beginQuery/2} . +%% +%% See external documentation. +-spec genQueries(N) -> [integer()] when N :: integer(). genQueries(N) -> call(5422, <>). -%% @spec (Ids::[integer()]) -> ok -%% @doc See external documentation. --spec deleteQueries([integer()]) -> ok. +%% @doc Delete named query objects +%% +%% ``gl:deleteQueries'' deletes `N' query objects named by the elements of the array `Ids' +%% . After a query object is deleted, it has no contents, and its name is free for reuse +%% (for example by {@link gl:genQueries/1} ). +%% +%% ``gl:deleteQueries'' silently ignores 0's and names that do not correspond to existing +%% query objects. +%% +%% See external documentation. +-spec deleteQueries(Ids) -> ok when Ids :: [integer()]. deleteQueries(Ids) -> cast(5423, <<(length(Ids)):?GLuint, (<< <> || C <- Ids>>)/binary,0:(((1+length(Ids)) rem 2)*32)>>). -%% @spec (Id::integer()) -> 0|1 -%% @doc See external documentation. --spec isQuery(integer()) -> 0|1. +%% @doc Determine if a name corresponds to a query object +%% +%% ``gl:isQuery'' returns `?GL_TRUE' if `Id' is currently the name of a query +%% object. If `Id' is zero, or is a non-zero value that is not currently the name of +%% a query object, or if an error occurs, ``gl:isQuery'' returns `?GL_FALSE'. +%% +%% A name returned by {@link gl:genQueries/1} , but not yet associated with a query object +%% by calling {@link gl:beginQuery/2} , is not the name of a query object. +%% +%% See external documentation. +-spec isQuery(Id) -> 0|1 when Id :: integer(). isQuery(Id) -> call(5424, <>). -%% @spec (Target::enum(),Id::integer()) -> ok -%% @doc See external documentation. --spec beginQuery(enum(),integer()) -> ok. +%% @doc Delimit the boundaries of a query object +%% +%% ``gl:beginQuery'' and {@link gl:beginQuery/2} delimit the boundaries of a query object. `Query' +%% must be a name previously returned from a call to {@link gl:genQueries/1} . If a query +%% object with name `Id' does not yet exist it is created with the type determined by `Target' +%% . `Target' must be one of `?GL_SAMPLES_PASSED', `?GL_ANY_SAMPLES_PASSED', `?GL_PRIMITIVES_GENERATED' +%% , `?GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN', or `?GL_TIME_ELAPSED'. The behavior +%% of the query object depends on its type and is as follows. +%% +%% If `Target' is `?GL_SAMPLES_PASSED', `Id' must be an unused name, or the +%% name of an existing occlusion query object. When ``gl:beginQuery'' is executed, the +%% query object's samples-passed counter is reset to 0. Subsequent rendering will increment +%% the counter for every sample that passes the depth test. If the value of `?GL_SAMPLE_BUFFERS' +%% is 0, then the samples-passed count is incremented by 1 for each fragment. If the value +%% of `?GL_SAMPLE_BUFFERS' is 1, then the samples-passed count is incremented by the +%% number of samples whose coverage bit is set. However, implementations, at their discression +%% may instead increase the samples-passed count by the value of `?GL_SAMPLES' if any +%% sample in the fragment is covered. When ``gl:endQuery'' is executed, the samples-passed +%% counter is assigned to the query object's result value. This value can be queried by calling +%% {@link gl:getQueryObjectiv/2} with `Pname' `?GL_QUERY_RESULT'. +%% +%% If `Target' is `?GL_ANY_SAMPLES_PASSED', `Id' must be an unused name, +%% or the name of an existing boolean occlusion query object. When ``gl:beginQuery'' is +%% executed, the query object's samples-passed flag is reset to `?GL_FALSE'. Subsequent +%% rendering causes the flag to be set to `?GL_TRUE' if any sample passes the depth +%% test. When ``gl:endQuery'' is executed, the samples-passed flag is assigned to the query +%% object's result value. This value can be queried by calling {@link gl:getQueryObjectiv/2} +%% with `Pname' `?GL_QUERY_RESULT'. +%% +%% If `Target' is `?GL_PRIMITIVES_GENERATED', `Id' must be an unused name, +%% or the name of an existing primitive query object previously bound to the `?GL_PRIMITIVES_GENERATED' +%% query binding. When ``gl:beginQuery'' is executed, the query object's primitives-generated +%% counter is reset to 0. Subsequent rendering will increment the counter once for every +%% vertex that is emitted from the geometry shader, or from the vertex shader if no geometry +%% shader is present. When ``gl:endQuery'' is executed, the primitives-generated counter +%% is assigned to the query object's result value. This value can be queried by calling {@link gl:getQueryObjectiv/2} +%% with `Pname' `?GL_QUERY_RESULT'. +%% +%% If `Target' is `?GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN', `Id' must +%% be an unused name, or the name of an existing primitive query object previously bound +%% to the `?GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN' query binding. When ``gl:beginQuery'' +%% is executed, the query object's primitives-written counter is reset to 0. Subsequent +%% rendering will increment the counter once for every vertex that is written into the bound +%% transform feedback buffer(s). If transform feedback mode is not activated between the +%% call to ``gl:beginQuery'' and ``gl:endQuery'', the counter will not be incremented. +%% When ``gl:endQuery'' is executed, the primitives-written counter is assigned to the +%% query object's result value. This value can be queried by calling {@link gl:getQueryObjectiv/2} +%% with `Pname' `?GL_QUERY_RESULT'. +%% +%% If `Target' is `?GL_TIME_ELAPSED', `Id' must be an unused name, or the +%% name of an existing timer query object previously bound to the `?GL_TIME_ELAPSED' +%% query binding. When ``gl:beginQuery'' is executed, the query object's time counter is +%% reset to 0. When ``gl:endQuery'' is executed, the elapsed server time that has passed +%% since the call to ``gl:beginQuery'' is written into the query object's time counter. +%% This value can be queried by calling {@link gl:getQueryObjectiv/2} with `Pname' `?GL_QUERY_RESULT' +%% . +%% +%% Querying the `?GL_QUERY_RESULT' implicitly flushes the GL pipeline until the rendering +%% delimited by the query object has completed and the result is available. `?GL_QUERY_RESULT_AVAILABLE' +%% can be queried to determine if the result is immediately available or if the rendering +%% is not yet complete. +%% +%% See external documentation. +-spec beginQuery(Target, Id) -> ok when Target :: enum(),Id :: integer(). beginQuery(Target,Id) -> cast(5425, <>). -%% @spec (Target::enum()) -> ok -%% @doc See external documentation. --spec endQuery(enum()) -> ok. +%% @doc +%% See {@link beginQuery/2} +-spec endQuery(Target) -> ok when Target :: enum(). endQuery(Target) -> cast(5426, <>). -%% @spec (Target::enum(),Pname::enum()) -> integer() -%% @doc See external documentation. --spec getQueryiv(enum(),enum()) -> integer(). +%% @doc glGetQuery +%% +%% See external documentation. +-spec getQueryiv(Target, Pname) -> integer() when Target :: enum(),Pname :: enum(). getQueryiv(Target,Pname) -> call(5427, <>). -%% @spec (Id::integer(),Pname::enum()) -> integer() -%% @doc See external documentation. --spec getQueryObjectiv(integer(),enum()) -> integer(). +%% @doc Return parameters of a query object +%% +%% ``gl:getQueryObject'' returns in `Params' a selected parameter of the query object +%% specified by `Id' . +%% +%% `Pname' names a specific query object parameter. `Pname' can be as follows: +%% +%% `?GL_QUERY_RESULT': `Params' returns the value of the query object's passed +%% samples counter. The initial value is 0. +%% +%% `?GL_QUERY_RESULT_AVAILABLE': `Params' returns whether the passed samples counter +%% is immediately available. If a delay would occur waiting for the query result, `?GL_FALSE' +%% is returned. Otherwise, `?GL_TRUE' is returned, which also indicates that the results +%% of all previous queries are available as well. +%% +%% See external documentation. +-spec getQueryObjectiv(Id, Pname) -> integer() when Id :: integer(),Pname :: enum(). getQueryObjectiv(Id,Pname) -> call(5428, <>). -%% @spec (Id::integer(),Pname::enum()) -> integer() -%% @doc See external documentation. --spec getQueryObjectuiv(integer(),enum()) -> integer(). +%% @doc +%% See {@link getQueryObjectiv/2} +-spec getQueryObjectuiv(Id, Pname) -> integer() when Id :: integer(),Pname :: enum(). getQueryObjectuiv(Id,Pname) -> call(5429, <>). -%% @spec (Target::enum(),Buffer::integer()) -> ok -%% @doc See external documentation. --spec bindBuffer(enum(),integer()) -> ok. +%% @doc Bind a named buffer object +%% +%% ``gl:bindBuffer'' binds a buffer object to the specified buffer binding point. Calling ``gl:bindBuffer'' +%% with `Target' set to one of the accepted symbolic constants and `Buffer' set +%% to the name of a buffer object binds that buffer object name to the target. If no buffer +%% object with name `Buffer' exists, one is created with that name. When a buffer object +%% is bound to a target, the previous binding for that target is automatically broken. +%% +%% Buffer object names are unsigned integers. The value zero is reserved, but there is no +%% default buffer object for each buffer object target. Instead, `Buffer' set to zero +%% effectively unbinds any buffer object previously bound, and restores client memory usage +%% for that buffer object target (if supported for that target). Buffer object names and +%% the corresponding buffer object contents are local to the shared object space of the current +%% GL rendering context; two rendering contexts share buffer object names only if they explicitly +%% enable sharing between contexts through the appropriate GL windows interfaces functions. +%% +%% {@link gl:genBuffers/1} must be used to generate a set of unused buffer object names. +%% +%% The state of a buffer object immediately after it is first bound is an unmapped zero-sized +%% memory buffer with `?GL_READ_WRITE' access and `?GL_STATIC_DRAW' usage. +%% +%% While a non-zero buffer object name is bound, GL operations on the target to which it +%% is bound affect the bound buffer object, and queries of the target to which it is bound +%% return state from the bound buffer object. While buffer object name zero is bound, as +%% in the initial state, attempts to modify or query state on the target to which it is bound +%% generates an `?GL_INVALID_OPERATION' error. +%% +%% When a non-zero buffer object is bound to the `?GL_ARRAY_BUFFER' target, the vertex +%% array pointer parameter is interpreted as an offset within the buffer object measured +%% in basic machine units. +%% +%% When a non-zero buffer object is bound to the `?GL_DRAW_INDIRECT_BUFFER' target, +%% parameters for draws issued through {@link gl:drawArraysIndirect/2} and {@link gl:drawElementsIndirect/3} +%% are sourced from that buffer object. +%% +%% While a non-zero buffer object is bound to the `?GL_ELEMENT_ARRAY_BUFFER' target, +%% the indices parameter of {@link gl:drawElements/4} , {@link gl:drawElementsInstanced/5} , {@link gl:drawElementsBaseVertex/5} +%% , {@link gl:drawRangeElements/6} , {@link gl:drawRangeElementsBaseVertex/7} , see `glMultiDrawElements' +%% , or see `glMultiDrawElementsBaseVertex' is interpreted as an offset within the +%% buffer object measured in basic machine units. +%% +%% While a non-zero buffer object is bound to the `?GL_PIXEL_PACK_BUFFER' target, +%% the following commands are affected: {@link gl:getCompressedTexImage/3} , {@link gl:getTexImage/5} +%% , and {@link gl:readPixels/7} . The pointer parameter is interpreted as an offset within +%% the buffer object measured in basic machine units. +%% +%% While a non-zero buffer object is bound to the `?GL_PIXEL_UNPACK_BUFFER' target, +%% the following commands are affected: {@link gl:compressedTexImage1D/7} , {@link gl:compressedTexImage2D/8} +%% , {@link gl:compressedTexImage3D/9} , {@link gl:compressedTexSubImage1D/7} , {@link gl:compressedTexSubImage2D/9} +%% , {@link gl:compressedTexSubImage3D/11} , {@link gl:texImage1D/8} , {@link gl:texImage2D/9} , {@link gl:texImage3D/10} +%% , {@link gl:texSubImage1D/7} , {@link gl:texSubImage1D/7} , and {@link gl:texSubImage1D/7} . +%% The pointer parameter is interpreted as an offset within the buffer object measured in +%% basic machine units. +%% +%% The buffer targets `?GL_COPY_READ_BUFFER' and `?GL_COPY_WRITE_BUFFER' are provided +%% to allow {@link gl:copyBufferSubData/5} to be used without disturbing the state of other +%% bindings. However, {@link gl:copyBufferSubData/5} may be used with any pair of buffer binding +%% points. +%% +%% The `?GL_TRANSFORM_FEEDBACK_BUFFER' buffer binding point may be passed to ``gl:bindBuffer'' +%% , but will not directly affect transform feedback state. Instead, the indexed `?GL_TRANSFORM_FEEDBACK_BUFFER' +%% bindings must be used through a call to {@link gl:bindBufferBase/3} or {@link gl:bindBufferRange/5} +%% . This will affect the generic `?GL_TRANSFORM_FEEDABCK_BUFFER' binding. +%% +%% Likewise, the `?GL_UNIFORM_BUFFER' and `?GL_ATOMIC_COUNTER_BUFFER' buffer binding +%% points may be used, but do not directly affect uniform buffer or atomic counter buffer +%% state, respectively. {@link gl:bindBufferBase/3} or {@link gl:bindBufferRange/5} must be +%% used to bind a buffer to an indexed uniform buffer or atomic counter buffer binding point. +%% +%% +%% A buffer object binding created with ``gl:bindBuffer'' remains active until a different +%% buffer object name is bound to the same target, or until the bound buffer object is deleted +%% with {@link gl:deleteBuffers/1} . +%% +%% Once created, a named buffer object may be re-bound to any target as often as needed. +%% However, the GL implementation may make choices about how to optimize the storage of a +%% buffer object based on its initial binding target. +%% +%% See external documentation. +-spec bindBuffer(Target, Buffer) -> ok when Target :: enum(),Buffer :: integer(). bindBuffer(Target,Buffer) -> cast(5430, <>). -%% @spec (Buffers::[integer()]) -> ok -%% @doc See external documentation. --spec deleteBuffers([integer()]) -> ok. +%% @doc Delete named buffer objects +%% +%% ``gl:deleteBuffers'' deletes `N' buffer objects named by the elements of the array +%% `Buffers' . After a buffer object is deleted, it has no contents, and its name is +%% free for reuse (for example by {@link gl:genBuffers/1} ). If a buffer object that is currently +%% bound is deleted, the binding reverts to 0 (the absence of any buffer object). +%% +%% ``gl:deleteBuffers'' silently ignores 0's and names that do not correspond to existing +%% buffer objects. +%% +%% See external documentation. +-spec deleteBuffers(Buffers) -> ok when Buffers :: [integer()]. deleteBuffers(Buffers) -> cast(5431, <<(length(Buffers)):?GLuint, (<< <> || C <- Buffers>>)/binary,0:(((1+length(Buffers)) rem 2)*32)>>). -%% @spec (N::integer()) -> [integer()] -%% @doc See external documentation. --spec genBuffers(integer()) -> [integer()]. +%% @doc Generate buffer object names +%% +%% ``gl:genBuffers'' returns `N' buffer object names in `Buffers' . There is no +%% guarantee that the names form a contiguous set of integers; however, it is guaranteed +%% that none of the returned names was in use immediately before the call to ``gl:genBuffers'' +%% . +%% +%% Buffer object names returned by a call to ``gl:genBuffers'' are not returned by subsequent +%% calls, unless they are first deleted with {@link gl:deleteBuffers/1} . +%% +%% No buffer objects are associated with the returned buffer object names until they are +%% first bound by calling {@link gl:bindBuffer/2} . +%% +%% See external documentation. +-spec genBuffers(N) -> [integer()] when N :: integer(). genBuffers(N) -> call(5432, <>). -%% @spec (Buffer::integer()) -> 0|1 -%% @doc See external documentation. --spec isBuffer(integer()) -> 0|1. +%% @doc Determine if a name corresponds to a buffer object +%% +%% ``gl:isBuffer'' returns `?GL_TRUE' if `Buffer' is currently the name of a +%% buffer object. If `Buffer' is zero, or is a non-zero value that is not currently +%% the name of a buffer object, or if an error occurs, ``gl:isBuffer'' returns `?GL_FALSE' +%% . +%% +%% A name returned by {@link gl:genBuffers/1} , but not yet associated with a buffer object +%% by calling {@link gl:bindBuffer/2} , is not the name of a buffer object. +%% +%% See external documentation. +-spec isBuffer(Buffer) -> 0|1 when Buffer :: integer(). isBuffer(Buffer) -> call(5433, <>). -%% @spec (Target::enum(),Size::integer(),Data::offset()|mem(),Usage::enum()) -> ok -%% @doc See external documentation. --spec bufferData(enum(),integer(),offset()|mem(),enum()) -> ok. +%% @doc Creates and initializes a buffer object's data store +%% +%% ``gl:bufferData'' creates a new data store for the buffer object currently bound to `Target' +%% . Any pre-existing data store is deleted. The new data store is created with the specified +%% `Size' in bytes and `Usage' . If `Data' is not `?NULL', the data store +%% is initialized with data from this pointer. In its initial state, the new data store +%% is not mapped, it has a `?NULL' mapped pointer, and its mapped access is `?GL_READ_WRITE' +%% . +%% +%% `Usage' is a hint to the GL implementation as to how a buffer object's data store +%% will be accessed. This enables the GL implementation to make more intelligent decisions +%% that may significantly impact buffer object performance. It does not, however, constrain +%% the actual usage of the data store. `Usage' can be broken down into two parts: first, +%% the frequency of access (modification and usage), and second, the nature of that access. +%% The frequency of access may be one of these: +%% +%% STREAM: The data store contents will be modified once and used at most a few times. +%% +%% STATIC: The data store contents will be modified once and used many times. +%% +%% DYNAMIC: The data store contents will be modified repeatedly and used many times. +%% +%% The nature of access may be one of these: +%% +%% DRAW: The data store contents are modified by the application, and used as the source +%% for GL drawing and image specification commands. +%% +%% READ: The data store contents are modified by reading data from the GL, and used to return +%% that data when queried by the application. +%% +%% COPY: The data store contents are modified by reading data from the GL, and used as the +%% source for GL drawing and image specification commands. +%% +%% See external documentation. +-spec bufferData(Target, Size, Data, Usage) -> ok when Target :: enum(),Size :: integer(),Data :: offset()|mem(),Usage :: enum(). bufferData(Target,Size,Data,Usage) when is_integer(Data) -> cast(5434, <>); bufferData(Target,Size,Data,Usage) -> send_bin(Data), cast(5435, <>). -%% @spec (Target::enum(),Offset::integer(),Size::integer(),Data::offset()|mem()) -> ok -%% @doc See external documentation. --spec bufferSubData(enum(),integer(),integer(),offset()|mem()) -> ok. +%% @doc Updates a subset of a buffer object's data store +%% +%% ``gl:bufferSubData'' redefines some or all of the data store for the buffer object currently +%% bound to `Target' . Data starting at byte offset `Offset' and extending for `Size' +%% bytes is copied to the data store from the memory pointed to by `Data' . An error +%% is thrown if `Offset' and `Size' together define a range beyond the bounds of +%% the buffer object's data store. +%% +%% See external documentation. +-spec bufferSubData(Target, Offset, Size, Data) -> ok when Target :: enum(),Offset :: integer(),Size :: integer(),Data :: offset()|mem(). bufferSubData(Target,Offset,Size,Data) when is_integer(Data) -> cast(5436, <>); bufferSubData(Target,Offset,Size,Data) -> send_bin(Data), cast(5437, <>). -%% @spec (Target::enum(),Offset::integer(),Size::integer(),Data::mem()) -> ok -%% @doc See external documentation. --spec getBufferSubData(enum(),integer(),integer(),mem()) -> ok. +%% @doc Returns a subset of a buffer object's data store +%% +%% ``gl:getBufferSubData'' returns some or all of the data from the buffer object currently +%% bound to `Target' . Data starting at byte offset `Offset' and extending for `Size' +%% bytes is copied from the data store to the memory pointed to by `Data' . An error +%% is thrown if the buffer object is currently mapped, or if `Offset' and `Size' +%% together define a range beyond the bounds of the buffer object's data store. +%% +%% See external documentation. +-spec getBufferSubData(Target, Offset, Size, Data) -> ok when Target :: enum(),Offset :: integer(),Size :: integer(),Data :: mem(). getBufferSubData(Target,Offset,Size,Data) -> send_bin(Data), call(5438, <>). -%% @spec (Target::enum(),Pname::enum()) -> integer() -%% @doc See external documentation. --spec getBufferParameteriv(enum(),enum()) -> integer(). +%% @doc Return parameters of a buffer object +%% +%% ``gl:getBufferParameteriv'' returns in `Data' a selected parameter of the buffer +%% object specified by `Target' . +%% +%% `Value' names a specific buffer object parameter, as follows: +%% +%% `?GL_BUFFER_ACCESS': `Params' returns the access policy set while mapping the +%% buffer object. The initial value is `?GL_READ_WRITE'. +%% +%% `?GL_BUFFER_MAPPED': `Params' returns a flag indicating whether the buffer object +%% is currently mapped. The initial value is `?GL_FALSE'. +%% +%% `?GL_BUFFER_SIZE': `Params' returns the size of the buffer object, measured +%% in bytes. The initial value is 0. +%% +%% `?GL_BUFFER_USAGE': `Params' returns the buffer object's usage pattern. The +%% initial value is `?GL_STATIC_DRAW'. +%% +%% See external documentation. +-spec getBufferParameteriv(Target, Pname) -> integer() when Target :: enum(),Pname :: enum(). getBufferParameteriv(Target,Pname) -> call(5439, <>). -%% @spec (ModeRGB::enum(),ModeAlpha::enum()) -> ok -%% @doc See external documentation. --spec blendEquationSeparate(enum(),enum()) -> ok. +%% @doc Set the RGB blend equation and the alpha blend equation separately +%% +%% The blend equations determines how a new pixel (the ''source'' color) is combined with +%% a pixel already in the framebuffer (the ''destination'' color). These functions specifie +%% one blend equation for the RGB-color components and one blend equation for the alpha +%% component. ``gl:blendEquationSeparatei'' specifies the blend equations for a single +%% draw buffer whereas ``gl:blendEquationSeparate'' sets the blend equations for all draw +%% buffers. +%% +%% The blend equations use the source and destination blend factors specified by either {@link gl:blendFunc/2} +%% or {@link gl:blendFuncSeparate/4} . See {@link gl:blendFunc/2} or {@link gl:blendFuncSeparate/4} +%% for a description of the various blend factors. +%% +%% In the equations that follow, source and destination color components are referred to +%% as (R s G s B s A s) and (R d G d B d A d), respectively. The result color is referred to as (R r G r B r A r). The source and destination +%% blend factors are denoted (s R s G s B s A) and (d R d G d B d A), respectively. For these equations all color components +%% are understood to have values in the range [0 1]. +%%
` Mode ' +%% ` RGB Components '` Alpha Component '
`?GL_FUNC_ADD' +%% Rr= R s s R+R d d R Gr= G s s G+G d d G Br= B s s B+B d d B Ar= +%% A s s A+A d d A
`?GL_FUNC_SUBTRACT' Rr= R s s R-R d d +%% R Gr= G s s G-G d d G Br= B s s B-B d d B Ar= A s s A-A d d A
`?GL_FUNC_REVERSE_SUBTRACT' Rr= R d d R-R s s R Gr= G d d G-G s s G +%% Br= B d d B-B s s B Ar= A d d A-A s s A
`?GL_MIN' +%% Rr= min(R s R d) Gr= min(G s G d) Br= min(B s B d) Ar= min(A s A d)
`?GL_MAX' Rr= +%% max(R s R d) Gr= max(G s G d) Br= max(B s B d) Ar= max(A s A d)
+%% +%% The results of these equations are clamped to the range [0 1]. +%% +%% The `?GL_MIN' and `?GL_MAX' equations are useful for applications that analyze +%% image data (image thresholding against a constant color, for example). The `?GL_FUNC_ADD' +%% equation is useful for antialiasing and transparency, among other things. +%% +%% Initially, both the RGB blend equation and the alpha blend equation are set to `?GL_FUNC_ADD' +%% . +%% +%% +%% +%% See external documentation. +-spec blendEquationSeparate(ModeRGB, ModeAlpha) -> ok when ModeRGB :: enum(),ModeAlpha :: enum(). blendEquationSeparate(ModeRGB,ModeAlpha) -> cast(5440, <>). -%% @spec (Bufs::[enum()]) -> ok -%% @doc See external documentation. --spec drawBuffers([enum()]) -> ok. +%% @doc Specifies a list of color buffers to be drawn into +%% +%% ``gl:drawBuffers'' defines an array of buffers into which outputs from the fragment +%% shader data will be written. If a fragment shader writes a value to one or more user defined +%% output variables, then the value of each variable will be written into the buffer specified +%% at a location within `Bufs' corresponding to the location assigned to that user defined +%% output. The draw buffer used for user defined outputs assigned to locations greater than +%% or equal to `N' is implicitly set to `?GL_NONE' and any data written to such +%% an output is discarded. +%% +%% The symbolic constants contained in `Bufs' may be any of the following: +%% +%% `?GL_NONE': The fragment shader output value is not written into any color buffer. +%% +%% `?GL_FRONT_LEFT': The fragment shader output value is written into the front left +%% color buffer. +%% +%% `?GL_FRONT_RIGHT': The fragment shader output value is written into the front right +%% color buffer. +%% +%% `?GL_BACK_LEFT': The fragment shader output value is written into the back left color +%% buffer. +%% +%% `?GL_BACK_RIGHT': The fragment shader output value is written into the back right +%% color buffer. +%% +%% `?GL_COLOR_ATTACHMENT'`n': The fragment shader output value is written into +%% the `n'th color attachment of the current framebuffer. `n' may range from 0 +%% to the value of `?GL_MAX_COLOR_ATTACHMENTS'. +%% +%% Except for `?GL_NONE', the preceding symbolic constants may not appear more than +%% once in `Bufs' . The maximum number of draw buffers supported is implementation dependent +%% and can be queried by calling {@link gl:getBooleanv/1} with the argument `?GL_MAX_DRAW_BUFFERS' +%% . +%% +%% See external documentation. +-spec drawBuffers(Bufs) -> ok when Bufs :: [enum()]. drawBuffers(Bufs) -> cast(5441, <<(length(Bufs)):?GLuint, (<< <> || C <- Bufs>>)/binary,0:(((1+length(Bufs)) rem 2)*32)>>). -%% @spec (Face::enum(),Sfail::enum(),Dpfail::enum(),Dppass::enum()) -> ok -%% @doc See external documentation. --spec stencilOpSeparate(enum(),enum(),enum(),enum()) -> ok. +%% @doc Set front and/or back stencil test actions +%% +%% Stenciling, like depth-buffering, enables and disables drawing on a per-pixel basis. +%% You draw into the stencil planes using GL drawing primitives, then render geometry and +%% images, using the stencil planes to mask out portions of the screen. Stenciling is typically +%% used in multipass rendering algorithms to achieve special effects, such as decals, outlining, +%% and constructive solid geometry rendering. +%% +%% The stencil test conditionally eliminates a pixel based on the outcome of a comparison +%% between the value in the stencil buffer and a reference value. To enable and disable the +%% test, call {@link gl:enable/1} and {@link gl:enable/1} with argument `?GL_STENCIL_TEST' +%% ; to control it, call {@link gl:stencilFunc/3} or {@link gl:stencilFuncSeparate/4} . +%% +%% There can be two separate sets of `Sfail' , `Dpfail' , and `Dppass' parameters; +%% one affects back-facing polygons, and the other affects front-facing polygons as well +%% as other non-polygon primitives. {@link gl:stencilOp/3} sets both front and back stencil +%% state to the same values, as if {@link gl:stencilOpSeparate/4} were called with `Face' +%% set to `?GL_FRONT_AND_BACK'. +%% +%% ``gl:stencilOpSeparate'' takes three arguments that indicate what happens to the stored +%% stencil value while stenciling is enabled. If the stencil test fails, no change is made +%% to the pixel's color or depth buffers, and `Sfail' specifies what happens to the +%% stencil buffer contents. The following eight actions are possible. +%% +%% `?GL_KEEP': Keeps the current value. +%% +%% `?GL_ZERO': Sets the stencil buffer value to 0. +%% +%% `?GL_REPLACE': Sets the stencil buffer value to `ref', as specified by {@link gl:stencilFunc/3} +%% . +%% +%% `?GL_INCR': Increments the current stencil buffer value. Clamps to the maximum representable +%% unsigned value. +%% +%% `?GL_INCR_WRAP': Increments the current stencil buffer value. Wraps stencil buffer +%% value to zero when incrementing the maximum representable unsigned value. +%% +%% `?GL_DECR': Decrements the current stencil buffer value. Clamps to 0. +%% +%% `?GL_DECR_WRAP': Decrements the current stencil buffer value. Wraps stencil buffer +%% value to the maximum representable unsigned value when decrementing a stencil buffer value +%% of zero. +%% +%% `?GL_INVERT': Bitwise inverts the current stencil buffer value. +%% +%% Stencil buffer values are treated as unsigned integers. When incremented and decremented, +%% values are clamped to 0 and 2 n-1, where n is the value returned by querying `?GL_STENCIL_BITS' +%% . +%% +%% The other two arguments to ``gl:stencilOpSeparate'' specify stencil buffer actions +%% that depend on whether subsequent depth buffer tests succeed ( `Dppass' ) or fail ( `Dpfail' +%% ) (see {@link gl:depthFunc/1} ). The actions are specified using the same eight symbolic +%% constants as `Sfail' . Note that `Dpfail' is ignored when there is no depth buffer, +%% or when the depth buffer is not enabled. In these cases, `Sfail' and `Dppass' +%% specify stencil action when the stencil test fails and passes, respectively. +%% +%% See external documentation. +-spec stencilOpSeparate(Face, Sfail, Dpfail, Dppass) -> ok when Face :: enum(),Sfail :: enum(),Dpfail :: enum(),Dppass :: enum(). stencilOpSeparate(Face,Sfail,Dpfail,Dppass) -> cast(5442, <>). -%% @spec (Face::enum(),Func::enum(),Ref::integer(),Mask::integer()) -> ok -%% @doc See external documentation. --spec stencilFuncSeparate(enum(),enum(),integer(),integer()) -> ok. +%% @doc Set front and/or back function and reference value for stencil testing +%% +%% Stenciling, like depth-buffering, enables and disables drawing on a per-pixel basis. +%% You draw into the stencil planes using GL drawing primitives, then render geometry and +%% images, using the stencil planes to mask out portions of the screen. Stenciling is typically +%% used in multipass rendering algorithms to achieve special effects, such as decals, outlining, +%% and constructive solid geometry rendering. +%% +%% The stencil test conditionally eliminates a pixel based on the outcome of a comparison +%% between the reference value and the value in the stencil buffer. To enable and disable +%% the test, call {@link gl:enable/1} and {@link gl:enable/1} with argument `?GL_STENCIL_TEST' +%% . To specify actions based on the outcome of the stencil test, call {@link gl:stencilOp/3} +%% or {@link gl:stencilOpSeparate/4} . +%% +%% There can be two separate sets of `Func' , `Ref' , and `Mask' parameters; +%% one affects back-facing polygons, and the other affects front-facing polygons as well +%% as other non-polygon primitives. {@link gl:stencilFunc/3} sets both front and back stencil +%% state to the same values, as if {@link gl:stencilFuncSeparate/4} were called with `Face' +%% set to `?GL_FRONT_AND_BACK'. +%% +%% `Func' is a symbolic constant that determines the stencil comparison function. It +%% accepts one of eight values, shown in the following list. `Ref' is an integer reference +%% value that is used in the stencil comparison. It is clamped to the range [0 2 n-1], where n +%% is the number of bitplanes in the stencil buffer. `Mask' is bitwise ANDed with both +%% the reference value and the stored stencil value, with the ANDed values participating +%% in the comparison. +%% +%% If `stencil' represents the value stored in the corresponding stencil buffer location, +%% the following list shows the effect of each comparison function that can be specified by `Func' +%% . Only if the comparison succeeds is the pixel passed through to the next stage in the +%% rasterization process (see {@link gl:stencilOp/3} ). All tests treat `stencil' values +%% as unsigned integers in the range [0 2 n-1], where n is the number of bitplanes in the stencil +%% buffer. +%% +%% The following values are accepted by `Func' : +%% +%% `?GL_NEVER': Always fails. +%% +%% `?GL_LESS': Passes if ( `Ref' & `Mask' ) < ( `stencil' & `Mask' +%% ). +%% +%% `?GL_LEQUAL': Passes if ( `Ref' & `Mask' ) <= ( `stencil' +%% & `Mask' ). +%% +%% `?GL_GREATER': Passes if ( `Ref' & `Mask' ) > ( `stencil' +%% & `Mask' ). +%% +%% `?GL_GEQUAL': Passes if ( `Ref' & `Mask' ) >= ( `stencil' +%% & `Mask' ). +%% +%% `?GL_EQUAL': Passes if ( `Ref' & `Mask' ) = ( `stencil' & `Mask' +%% ). +%% +%% `?GL_NOTEQUAL': Passes if ( `Ref' & `Mask' ) != ( `stencil' & +%% `Mask' ). +%% +%% `?GL_ALWAYS': Always passes. +%% +%% See external documentation. +-spec stencilFuncSeparate(Face, Func, Ref, Mask) -> ok when Face :: enum(),Func :: enum(),Ref :: integer(),Mask :: integer(). stencilFuncSeparate(Face,Func,Ref,Mask) -> cast(5443, <>). -%% @spec (Face::enum(),Mask::integer()) -> ok -%% @doc See external documentation. --spec stencilMaskSeparate(enum(),integer()) -> ok. +%% @doc Control the front and/or back writing of individual bits in the stencil planes +%% +%% ``gl:stencilMaskSeparate'' controls the writing of individual bits in the stencil planes. +%% The least significant n bits of `Mask' , where n is the number of bits in the +%% stencil buffer, specify a mask. Where a 1 appears in the mask, it's possible to write +%% to the corresponding bit in the stencil buffer. Where a 0 appears, the corresponding bit +%% is write-protected. Initially, all bits are enabled for writing. +%% +%% There can be two separate `Mask' writemasks; one affects back-facing polygons, and +%% the other affects front-facing polygons as well as other non-polygon primitives. {@link gl:stencilMask/1} +%% sets both front and back stencil writemasks to the same values, as if {@link gl:stencilMaskSeparate/2} +%% were called with `Face' set to `?GL_FRONT_AND_BACK'. +%% +%% See external documentation. +-spec stencilMaskSeparate(Face, Mask) -> ok when Face :: enum(),Mask :: integer(). stencilMaskSeparate(Face,Mask) -> cast(5444, <>). -%% @spec (Program::integer(),Shader::integer()) -> ok -%% @doc See external documentation. --spec attachShader(integer(),integer()) -> ok. +%% @doc Attaches a shader object to a program object +%% +%% In order to create a complete shader program, there must be a way to specify the list +%% of things that will be linked together. Program objects provide this mechanism. Shaders +%% that are to be linked together in a program object must first be attached to that program +%% object. ``gl:attachShader'' attaches the shader object specified by `Shader' to +%% the program object specified by `Program' . This indicates that `Shader' will +%% be included in link operations that will be performed on `Program' . +%% +%% All operations that can be performed on a shader object are valid whether or not the +%% shader object is attached to a program object. It is permissible to attach a shader object +%% to a program object before source code has been loaded into the shader object or before +%% the shader object has been compiled. It is permissible to attach multiple shader objects +%% of the same type because each may contain a portion of the complete shader. It is also +%% permissible to attach a shader object to more than one program object. If a shader object +%% is deleted while it is attached to a program object, it will be flagged for deletion, +%% and deletion will not occur until {@link gl:detachShader/2} is called to detach it from +%% all program objects to which it is attached. +%% +%% See external documentation. +-spec attachShader(Program, Shader) -> ok when Program :: integer(),Shader :: integer(). attachShader(Program,Shader) -> cast(5445, <>). -%% @spec (Program::integer(),Index::integer(),Name::string()) -> ok -%% @doc See external documentation. --spec bindAttribLocation(integer(),integer(),string()) -> ok. +%% @doc Associates a generic vertex attribute index with a named attribute variable +%% +%% ``gl:bindAttribLocation'' is used to associate a user-defined attribute variable in +%% the program object specified by `Program' with a generic vertex attribute index. +%% The name of the user-defined attribute variable is passed as a null terminated string in `Name' +%% . The generic vertex attribute index to be bound to this variable is specified by `Index' +%% . When `Program' is made part of current state, values provided via the generic vertex +%% attribute `Index' will modify the value of the user-defined attribute variable specified +%% by `Name' . +%% +%% If `Name' refers to a matrix attribute variable, `Index' refers to the first +%% column of the matrix. Other matrix columns are then automatically bound to locations `Index+1' +%% for a matrix of type `mat2'; `Index+1' and `Index+2' for a matrix of type +%% `mat3'; and `Index+1' , `Index+2' , and `Index+3' for a matrix of type `mat4' +%% . +%% +%% This command makes it possible for vertex shaders to use descriptive names for attribute +%% variables rather than generic variables that are numbered from 0 to `?GL_MAX_VERTEX_ATTRIBS' +%% -1. The values sent to each generic attribute index are part of current state. If a different +%% program object is made current by calling {@link gl:useProgram/1} , the generic vertex attributes +%% are tracked in such a way that the same values will be observed by attributes in the new +%% program object that are also bound to `Index' . +%% +%% Attribute variable name-to-generic attribute index bindings for a program object can be +%% explicitly assigned at any time by calling ``gl:bindAttribLocation''. Attribute bindings +%% do not go into effect until {@link gl:linkProgram/1} is called. After a program object +%% has been linked successfully, the index values for generic attributes remain fixed (and +%% their values can be queried) until the next link command occurs. +%% +%% Any attribute binding that occurs after the program object has been linked will not take +%% effect until the next time the program object is linked. +%% +%% See external documentation. +-spec bindAttribLocation(Program, Index, Name) -> ok when Program :: integer(),Index :: integer(),Name :: string(). bindAttribLocation(Program,Index,Name) -> cast(5446, <>). -%% @spec (Shader::integer()) -> ok -%% @doc See external documentation. --spec compileShader(integer()) -> ok. +%% @doc Compiles a shader object +%% +%% ``gl:compileShader'' compiles the source code strings that have been stored in the shader +%% object specified by `Shader' . +%% +%% The compilation status will be stored as part of the shader object's state. This value +%% will be set to `?GL_TRUE' if the shader was compiled without errors and is ready +%% for use, and `?GL_FALSE' otherwise. It can be queried by calling {@link gl:getShaderiv/2} +%% with arguments `Shader' and `?GL_COMPILE_STATUS'. +%% +%% Compilation of a shader can fail for a number of reasons as specified by the OpenGL Shading +%% Language Specification. Whether or not the compilation was successful, information about +%% the compilation can be obtained from the shader object's information log by calling {@link gl:getShaderInfoLog/2} +%% . +%% +%% See external documentation. +-spec compileShader(Shader) -> ok when Shader :: integer(). compileShader(Shader) -> cast(5447, <>). -%% @spec () -> integer() -%% @doc See external documentation. +%% @doc Creates a program object +%% +%% ``gl:createProgram'' creates an empty program object and returns a non-zero value by +%% which it can be referenced. A program object is an object to which shader objects can +%% be attached. This provides a mechanism to specify the shader objects that will be linked +%% to create a program. It also provides a means for checking the compatibility of the +%% shaders that will be used to create a program (for instance, checking the compatibility +%% between a vertex shader and a fragment shader). When no longer needed as part of a program +%% object, shader objects can be detached. +%% +%% One or more executables are created in a program object by successfully attaching shader +%% objects to it with {@link gl:attachShader/2} , successfully compiling the shader objects +%% with {@link gl:compileShader/1} , and successfully linking the program object with {@link gl:linkProgram/1} +%% . These executables are made part of current state when {@link gl:useProgram/1} is called. +%% Program objects can be deleted by calling {@link gl:deleteProgram/1} . The memory associated +%% with the program object will be deleted when it is no longer part of current rendering +%% state for any context. +%% +%% See external documentation. -spec createProgram() -> integer(). createProgram() -> call(5448, <<>>). -%% @spec (Type::enum()) -> integer() -%% @doc See external documentation. --spec createShader(enum()) -> integer(). +%% @doc Creates a shader object +%% +%% ``gl:createShader'' creates an empty shader object and returns a non-zero value by +%% which it can be referenced. A shader object is used to maintain the source code strings +%% that define a shader. `ShaderType' indicates the type of shader to be created. Five +%% types of shader are supported. A shader of type `?GL_VERTEX_SHADER' is a shader +%% that is intended to run on the programmable vertex processor. A shader of type `?GL_TESS_CONTROL_SHADER' +%% is a shader that is intended to run on the programmable tessellation processor in the +%% control stage. A shader of type `?GL_TESS_EVALUATION_SHADER' is a shader that is +%% intended to run on the programmable tessellation processor in the evaluation stage. A +%% shader of type `?GL_GEOMETRY_SHADER' is a shader that is intended to run on the +%% programmable geometry processor. A shader of type `?GL_FRAGMENT_SHADER' is a shader +%% that is intended to run on the programmable fragment processor. +%% +%% When created, a shader object's `?GL_SHADER_TYPE' parameter is set to either `?GL_VERTEX_SHADER' +%% , `?GL_TESS_CONTROL_SHADER', `?GL_TESS_EVALUATION_SHADER', `?GL_GEOMETRY_SHADER' +%% or `?GL_FRAGMENT_SHADER', depending on the value of `ShaderType' . +%% +%% See external documentation. +-spec createShader(Type) -> integer() when Type :: enum(). createShader(Type) -> call(5449, <>). -%% @spec (Program::integer()) -> ok -%% @doc See external documentation. --spec deleteProgram(integer()) -> ok. +%% @doc Deletes a program object +%% +%% ``gl:deleteProgram'' frees the memory and invalidates the name associated with the program +%% object specified by `Program.' This command effectively undoes the effects of a call +%% to {@link gl:createProgram/0} . +%% +%% If a program object is in use as part of current rendering state, it will be flagged for +%% deletion, but it will not be deleted until it is no longer part of current state for any +%% rendering context. If a program object to be deleted has shader objects attached to it, +%% those shader objects will be automatically detached but not deleted unless they have already +%% been flagged for deletion by a previous call to {@link gl:deleteShader/1} . A value of 0 +%% for `Program' will be silently ignored. +%% +%% To determine whether a program object has been flagged for deletion, call {@link gl:getProgramiv/2} +%% with arguments `Program' and `?GL_DELETE_STATUS'. +%% +%% See external documentation. +-spec deleteProgram(Program) -> ok when Program :: integer(). deleteProgram(Program) -> cast(5450, <>). -%% @spec (Shader::integer()) -> ok -%% @doc See external documentation. --spec deleteShader(integer()) -> ok. +%% @doc Deletes a shader object +%% +%% ``gl:deleteShader'' frees the memory and invalidates the name associated with the shader +%% object specified by `Shader' . This command effectively undoes the effects of a call +%% to {@link gl:createShader/1} . +%% +%% If a shader object to be deleted is attached to a program object, it will be flagged for +%% deletion, but it will not be deleted until it is no longer attached to any program object, +%% for any rendering context (i.e., it must be detached from wherever it was attached before +%% it will be deleted). A value of 0 for `Shader' will be silently ignored. +%% +%% To determine whether an object has been flagged for deletion, call {@link gl:getShaderiv/2} +%% with arguments `Shader' and `?GL_DELETE_STATUS'. +%% +%% See external documentation. +-spec deleteShader(Shader) -> ok when Shader :: integer(). deleteShader(Shader) -> cast(5451, <>). -%% @spec (Program::integer(),Shader::integer()) -> ok -%% @doc See external documentation. --spec detachShader(integer(),integer()) -> ok. +%% @doc Detaches a shader object from a program object to which it is attached +%% +%% ``gl:detachShader'' detaches the shader object specified by `Shader' from the program +%% object specified by `Program' . This command can be used to undo the effect of the +%% command {@link gl:attachShader/2} . +%% +%% If `Shader' has already been flagged for deletion by a call to {@link gl:deleteShader/1} +%% and it is not attached to any other program object, it will be deleted after it has been +%% detached. +%% +%% See external documentation. +-spec detachShader(Program, Shader) -> ok when Program :: integer(),Shader :: integer(). detachShader(Program,Shader) -> cast(5452, <>). -%% @spec (Index::integer()) -> ok -%% @doc See external documentation. --spec disableVertexAttribArray(integer()) -> ok. +%% @doc Enable or disable a generic vertex attribute array +%% +%% ``gl:enableVertexAttribArray'' enables the generic vertex attribute array specified by `Index' +%% . ``gl:disableVertexAttribArray'' disables the generic vertex attribute array specified +%% by `Index' . By default, all client-side capabilities are disabled, including all +%% generic vertex attribute arrays. If enabled, the values in the generic vertex attribute +%% array will be accessed and used for rendering when calls are made to vertex array commands +%% such as {@link gl:drawArrays/3} , {@link gl:drawElements/4} , {@link gl:drawRangeElements/6} , see `glMultiDrawElements' +%% , or {@link gl:multiDrawArrays/3} . +%% +%% See external documentation. +-spec disableVertexAttribArray(Index) -> ok when Index :: integer(). disableVertexAttribArray(Index) -> cast(5453, <>). -%% @spec (Index::integer()) -> ok -%% @doc See external documentation. --spec enableVertexAttribArray(integer()) -> ok. +%% @doc +%% See {@link disableVertexAttribArray/1} +-spec enableVertexAttribArray(Index) -> ok when Index :: integer(). enableVertexAttribArray(Index) -> cast(5454, <>). -%% @spec (Program::integer(),Index::integer(),BufSize::integer()) -> {Size::integer(),Type::enum(),Name::string()} -%% @doc See external documentation. --spec getActiveAttrib(integer(),integer(),integer()) -> {integer(),enum(),string()}. +%% @doc Returns information about an active attribute variable for the specified program object +%% +%% ``gl:getActiveAttrib'' returns information about an active attribute variable in the +%% program object specified by `Program' . The number of active attributes can be obtained +%% by calling {@link gl:getProgramiv/2} with the value `?GL_ACTIVE_ATTRIBUTES'. A value +%% of 0 for `Index' selects the first active attribute variable. Permissible values +%% for `Index' range from 0 to the number of active attribute variables minus 1. +%% +%% A vertex shader may use either built-in attribute variables, user-defined attribute variables, +%% or both. Built-in attribute variables have a prefix of "gl_" and reference conventional +%% OpenGL vertex attribtes (e.g., `Gl_Vertex' , `Gl_Normal' , etc., see the OpenGL +%% Shading Language specification for a complete list.) User-defined attribute variables +%% have arbitrary names and obtain their values through numbered generic vertex attributes. +%% An attribute variable (either built-in or user-defined) is considered active if it is +%% determined during the link operation that it may be accessed during program execution. +%% Therefore, `Program' should have previously been the target of a call to {@link gl:linkProgram/1} +%% , but it is not necessary for it to have been linked successfully. +%% +%% The size of the character buffer required to store the longest attribute variable name +%% in `Program' can be obtained by calling {@link gl:getProgramiv/2} with the value `?GL_ACTIVE_ATTRIBUTE_MAX_LENGTH' +%% . This value should be used to allocate a buffer of sufficient size to store the returned +%% attribute name. The size of this character buffer is passed in `BufSize' , and a pointer +%% to this character buffer is passed in `Name' . +%% +%% ``gl:getActiveAttrib'' returns the name of the attribute variable indicated by `Index' +%% , storing it in the character buffer specified by `Name' . The string returned will +%% be null terminated. The actual number of characters written into this buffer is returned +%% in `Length' , and this count does not include the null termination character. If the +%% length of the returned string is not required, a value of `?NULL' can be passed in +%% the `Length' argument. +%% +%% The `Type' argument specifies a pointer to a variable into which the attribute variable's +%% data type will be written. The symbolic constants `?GL_FLOAT', `?GL_FLOAT_VEC2', +%% `?GL_FLOAT_VEC3', `?GL_FLOAT_VEC4', `?GL_FLOAT_MAT2', `?GL_FLOAT_MAT3', +%% `?GL_FLOAT_MAT4', `?GL_FLOAT_MAT2x3', `?GL_FLOAT_MAT2x4', `?GL_FLOAT_MAT3x2' +%% , `?GL_FLOAT_MAT3x4', `?GL_FLOAT_MAT4x2', `?GL_FLOAT_MAT4x3', `?GL_INT' +%% , `?GL_INT_VEC2', `?GL_INT_VEC3', `?GL_INT_VEC4', `?GL_UNSIGNED_INT_VEC' +%% , `?GL_UNSIGNED_INT_VEC2', `?GL_UNSIGNED_INT_VEC3', `?GL_UNSIGNED_INT_VEC4', +%% `?DOUBLE', `?DOUBLE_VEC2', `?DOUBLE_VEC3', `?DOUBLE_VEC4', `?DOUBLE_MAT2' +%% , `?DOUBLE_MAT3', `?DOUBLE_MAT4', `?DOUBLE_MAT2x3', `?DOUBLE_MAT2x4', +%% `?DOUBLE_MAT3x2', `?DOUBLE_MAT3x4', `?DOUBLE_MAT4x2', or `?DOUBLE_MAT4x3' +%% may be returned. The `Size' argument will return the size of the attribute, in units +%% of the type returned in `Type' . +%% +%% The list of active attribute variables may include both built-in attribute variables (which +%% begin with the prefix "gl_") as well as user-defined attribute variable names. +%% +%% This function will return as much information as it can about the specified active attribute +%% variable. If no information is available, `Length' will be 0, and `Name' will +%% be an empty string. This situation could occur if this function is called after a link +%% operation that failed. If an error occurs, the return values `Length' , `Size' , `Type' +%% , and `Name' will be unmodified. +%% +%% See external documentation. +-spec getActiveAttrib(Program, Index, BufSize) -> {Size :: integer(),Type :: enum(),Name :: string()} when Program :: integer(),Index :: integer(),BufSize :: integer(). getActiveAttrib(Program,Index,BufSize) -> call(5455, <>). -%% @spec (Program::integer(),Index::integer(),BufSize::integer()) -> {Size::integer(),Type::enum(),Name::string()} -%% @doc See external documentation. --spec getActiveUniform(integer(),integer(),integer()) -> {integer(),enum(),string()}. +%% @doc Returns information about an active uniform variable for the specified program object +%% +%% ``gl:getActiveUniform'' returns information about an active uniform variable in the +%% program object specified by `Program' . The number of active uniform variables can +%% be obtained by calling {@link gl:getProgramiv/2} with the value `?GL_ACTIVE_UNIFORMS'. +%% A value of 0 for `Index' selects the first active uniform variable. Permissible values +%% for `Index' range from 0 to the number of active uniform variables minus 1. +%% +%% Shaders may use either built-in uniform variables, user-defined uniform variables, or +%% both. Built-in uniform variables have a prefix of "gl_" and reference existing OpenGL +%% state or values derived from such state (e.g., `Gl_DepthRangeParameters' , see the +%% OpenGL Shading Language specification for a complete list.) User-defined uniform variables +%% have arbitrary names and obtain their values from the application through calls to {@link gl:uniform1f/2} +%% . A uniform variable (either built-in or user-defined) is considered active if it is determined +%% during the link operation that it may be accessed during program execution. Therefore, `Program' +%% should have previously been the target of a call to {@link gl:linkProgram/1} , but it is +%% not necessary for it to have been linked successfully. +%% +%% The size of the character buffer required to store the longest uniform variable name in `Program' +%% can be obtained by calling {@link gl:getProgramiv/2} with the value `?GL_ACTIVE_UNIFORM_MAX_LENGTH' +%% . This value should be used to allocate a buffer of sufficient size to store the returned +%% uniform variable name. The size of this character buffer is passed in `BufSize' , +%% and a pointer to this character buffer is passed in `Name.' +%% +%% ``gl:getActiveUniform'' returns the name of the uniform variable indicated by `Index' +%% , storing it in the character buffer specified by `Name' . The string returned will +%% be null terminated. The actual number of characters written into this buffer is returned +%% in `Length' , and this count does not include the null termination character. If the +%% length of the returned string is not required, a value of `?NULL' can be passed in +%% the `Length' argument. +%% +%% The `Type' argument will return a pointer to the uniform variable's data type. The +%% symbolic constants returned for uniform types are shown in the table below. +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%%
` Returned Symbolic Contant '` Shader Uniform Type '
`?GL_FLOAT'`?float'
`?GL_FLOAT_VEC2' +%% `?vec2'
`?GL_FLOAT_VEC3'`?vec3'
`?GL_FLOAT_VEC4'`?vec4'
`?GL_DOUBLE'`?double'
`?GL_DOUBLE_VEC2'`?dvec2'
`?GL_DOUBLE_VEC3'`?dvec3'
`?GL_DOUBLE_VEC4' +%% `?dvec4'
`?GL_INT'`?int'
+%% `?GL_INT_VEC2'`?ivec2'
`?GL_INT_VEC3'`?ivec3' +%%
`?GL_INT_VEC4'`?ivec4'
`?GL_UNSIGNED_INT' +%% `?unsigned int'
`?GL_UNSIGNED_INT_VEC2'`?uvec2' +%%
`?GL_UNSIGNED_INT_VEC3'`?uvec3'
`?GL_UNSIGNED_INT_VEC4' +%% `?uvec4'
`?GL_BOOL'`?bool'
`?GL_BOOL_VEC2'`?bvec2'
`?GL_BOOL_VEC3' +%% `?bvec3'
`?GL_BOOL_VEC4'`?bvec4'
+%% `?GL_FLOAT_MAT2'`?mat2'
`?GL_FLOAT_MAT3' +%% `?mat3'
`?GL_FLOAT_MAT4'`?mat4'
+%% `?GL_FLOAT_MAT2x3'`?mat2x3'
`?GL_FLOAT_MAT2x4'`?mat2x4'
`?GL_FLOAT_MAT3x2'`?mat3x2'
`?GL_FLOAT_MAT3x4'`?mat3x4'
`?GL_FLOAT_MAT4x2' +%% `?mat4x2'
`?GL_FLOAT_MAT4x3'`?mat4x3'
`?GL_DOUBLE_MAT2'`?dmat2'
`?GL_DOUBLE_MAT3' +%% `?dmat3'
`?GL_DOUBLE_MAT4'`?dmat4'
`?GL_DOUBLE_MAT2x3'`?dmat2x3'
`?GL_DOUBLE_MAT2x4' +%% `?dmat2x4'
`?GL_DOUBLE_MAT3x2'`?dmat3x2'
`?GL_DOUBLE_MAT3x4'`?dmat3x4'
`?GL_DOUBLE_MAT4x2' +%% `?dmat4x2'
`?GL_DOUBLE_MAT4x3'`?dmat4x3'
`?GL_SAMPLER_1D'`?sampler1D'
`?GL_SAMPLER_2D' +%% `?sampler2D'
`?GL_SAMPLER_3D'`?sampler3D' +%%
`?GL_SAMPLER_CUBE'`?samplerCube'
`?GL_SAMPLER_1D_SHADOW' +%% `?sampler1DShadow'
`?GL_SAMPLER_2D_SHADOW'`?sampler2DShadow' +%%
`?GL_SAMPLER_1D_ARRAY'`?sampler1DArray'
`?GL_SAMPLER_2D_ARRAY'`?sampler2DArray'
`?GL_SAMPLER_1D_ARRAY_SHADOW' +%% `?sampler1DArrayShadow'
`?GL_SAMPLER_2D_ARRAY_SHADOW'`?sampler2DArrayShadow'
`?GL_SAMPLER_2D_MULTISAMPLE' +%% `?sampler2DMS'
`?GL_SAMPLER_2D_MULTISAMPLE_ARRAY'`?sampler2DMSArray' +%%
`?GL_SAMPLER_CUBE_SHADOW'`?samplerCubeShadow'
`?GL_SAMPLER_BUFFER'`?samplerBuffer'
`?GL_SAMPLER_2D_RECT' +%% `?sampler2DRect'
`?GL_SAMPLER_2D_RECT_SHADOW' +%% `?sampler2DRectShadow'
`?GL_INT_SAMPLER_1D'`?isampler1D' +%%
`?GL_INT_SAMPLER_2D'`?isampler2D'
`?GL_INT_SAMPLER_3D' +%% `?isampler3D'
`?GL_INT_SAMPLER_CUBE'`?isamplerCube' +%%
`?GL_INT_SAMPLER_1D_ARRAY'`?isampler1DArray'
`?GL_INT_SAMPLER_2D_ARRAY'`?isampler2DArray'
`?GL_INT_SAMPLER_2D_MULTISAMPLE' +%% `?isampler2DMS'
`?GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY'`?isampler2DMSArray'
`?GL_INT_SAMPLER_BUFFER'`?isamplerBuffer' +%%
`?GL_INT_SAMPLER_2D_RECT'`?isampler2DRect'
`?GL_UNSIGNED_INT_SAMPLER_1D'`?usampler1D'
`?GL_UNSIGNED_INT_SAMPLER_2D' +%% `?usampler2D'
`?GL_UNSIGNED_INT_SAMPLER_3D'`?usampler3D' +%%
`?GL_UNSIGNED_INT_SAMPLER_CUBE'`?usamplerCube'
`?GL_UNSIGNED_INT_SAMPLER_1D_ARRAY'`?usampler2DArray'
`?GL_UNSIGNED_INT_SAMPLER_2D_ARRAY'`?usampler2DArray'
`?GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE'`?usampler2DMS'
`?GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY'`?usampler2DMSArray' +%%
`?GL_UNSIGNED_INT_SAMPLER_BUFFER'`?usamplerBuffer'
`?GL_UNSIGNED_INT_SAMPLER_2D_RECT'`?usampler2DRect'
`?GL_IMAGE_1D'`?image1D'
`?GL_IMAGE_2D'`?image2D'
`?GL_IMAGE_3D'`?image3D'
`?GL_IMAGE_2D_RECT'`?image2DRect'
`?GL_IMAGE_CUBE' +%% `?imageCube'
`?GL_IMAGE_BUFFER'`?imageBuffer' +%%
`?GL_IMAGE_1D_ARRAY'`?image1DArray'
+%% `?GL_IMAGE_2D_ARRAY'`?image2DArray'
`?GL_IMAGE_2D_MULTISAMPLE' +%% `?image2DMS'
`?GL_IMAGE_2D_MULTISAMPLE_ARRAY' +%% `?image2DMSArray'
`?GL_INT_IMAGE_1D'`?iimage1D'
`?GL_INT_IMAGE_2D'`?iimage2D'
`?GL_INT_IMAGE_3D' +%% `?iimage3D'
`?GL_INT_IMAGE_2D_RECT'`?iimage2DRect' +%%
`?GL_INT_IMAGE_CUBE'`?iimageCube'
`?GL_INT_IMAGE_BUFFER' +%% `?iimageBuffer'
`?GL_INT_IMAGE_1D_ARRAY'`?iimage1DArray' +%%
`?GL_INT_IMAGE_2D_ARRAY'`?iimage2DArray'
`?GL_INT_IMAGE_2D_MULTISAMPLE'`?iimage2DMS'
`?GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY' +%% `?iimage2DMSArray'
`?GL_UNSIGNED_INT_IMAGE_1D' +%% `?uimage1D'
`?GL_UNSIGNED_INT_IMAGE_2D'`?uimage2D' +%%
`?GL_UNSIGNED_INT_IMAGE_3D'`?uimage3D'
+%% `?GL_UNSIGNED_INT_IMAGE_2D_RECT'`?uimage2DRect'
`?GL_UNSIGNED_INT_IMAGE_CUBE' +%% `?uimageCube'
`?GL_UNSIGNED_INT_IMAGE_BUFFER' +%% `?uimageBuffer'
`?GL_UNSIGNED_INT_IMAGE_1D_ARRAY'`?uimage1DArray' +%%
`?GL_UNSIGNED_INT_IMAGE_2D_ARRAY'`?uimage2DArray'
`?GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE'`?uimage2DMS'
`?GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY'`?uimage2DMSArray'
`?GL_UNSIGNED_INT_ATOMIC_COUNTER'`?atomic_uint'
+%% +%% If one or more elements of an array are active, the name of the array is returned in `Name' +%% , the type is returned in `Type' , and the `Size' parameter returns the highest +%% array element index used, plus one, as determined by the compiler and/or linker. Only +%% one active uniform variable will be reported for a uniform array. +%% +%% Uniform variables that are declared as structures or arrays of structures will not be +%% returned directly by this function. Instead, each of these uniform variables will be reduced +%% to its fundamental components containing the "." and "[]" operators such that each of +%% the names is valid as an argument to {@link gl:getUniformLocation/2} . Each of these reduced +%% uniform variables is counted as one active uniform variable and is assigned an index. +%% A valid name cannot be a structure, an array of structures, or a subcomponent of a vector +%% or matrix. +%% +%% The size of the uniform variable will be returned in `Size' . Uniform variables other +%% than arrays will have a size of 1. Structures and arrays of structures will be reduced +%% as described earlier, such that each of the names returned will be a data type in the +%% earlier list. If this reduction results in an array, the size returned will be as described +%% for uniform arrays; otherwise, the size returned will be 1. +%% +%% The list of active uniform variables may include both built-in uniform variables (which +%% begin with the prefix "gl_") as well as user-defined uniform variable names. +%% +%% This function will return as much information as it can about the specified active uniform +%% variable. If no information is available, `Length' will be 0, and `Name' will +%% be an empty string. This situation could occur if this function is called after a link +%% operation that failed. If an error occurs, the return values `Length' , `Size' , `Type' +%% , and `Name' will be unmodified. +%% +%% See external documentation. +-spec getActiveUniform(Program, Index, BufSize) -> {Size :: integer(),Type :: enum(),Name :: string()} when Program :: integer(),Index :: integer(),BufSize :: integer(). getActiveUniform(Program,Index,BufSize) -> call(5456, <>). -%% @spec (Program::integer(),MaxCount::integer()) -> [integer()] -%% @doc See external documentation. --spec getAttachedShaders(integer(),integer()) -> [integer()]. +%% @doc Returns the handles of the shader objects attached to a program object +%% +%% ``gl:getAttachedShaders'' returns the names of the shader objects attached to `Program' +%% . The names of shader objects that are attached to `Program' will be returned in `Shaders.' +%% The actual number of shader names written into `Shaders' is returned in `Count.' +%% If no shader objects are attached to `Program' , `Count' is set to 0. The maximum +%% number of shader names that may be returned in `Shaders' is specified by `MaxCount' +%% . +%% +%% If the number of names actually returned is not required (for instance, if it has just +%% been obtained by calling {@link gl:getProgramiv/2} ), a value of `?NULL' may be passed +%% for count. If no shader objects are attached to `Program' , a value of 0 will be returned +%% in `Count' . The actual number of attached shaders can be obtained by calling {@link gl:getProgramiv/2} +%% with the value `?GL_ATTACHED_SHADERS'. +%% +%% See external documentation. +-spec getAttachedShaders(Program, MaxCount) -> [integer()] when Program :: integer(),MaxCount :: integer(). getAttachedShaders(Program,MaxCount) -> call(5457, <>). -%% @spec (Program::integer(),Name::string()) -> integer() -%% @doc See external documentation. --spec getAttribLocation(integer(),string()) -> integer(). +%% @doc Returns the location of an attribute variable +%% +%% ``gl:getAttribLocation'' queries the previously linked program object specified by `Program' +%% for the attribute variable specified by `Name' and returns the index of the generic +%% vertex attribute that is bound to that attribute variable. If `Name' is a matrix +%% attribute variable, the index of the first column of the matrix is returned. If the named +%% attribute variable is not an active attribute in the specified program object or if `Name' +%% starts with the reserved prefix "gl_", a value of -1 is returned. +%% +%% The association between an attribute variable name and a generic attribute index can be +%% specified at any time by calling {@link gl:bindAttribLocation/3} . Attribute bindings do +%% not go into effect until {@link gl:linkProgram/1} is called. After a program object has +%% been linked successfully, the index values for attribute variables remain fixed until +%% the next link command occurs. The attribute values can only be queried after a link if +%% the link was successful. ``gl:getAttribLocation'' returns the binding that actually +%% went into effect the last time {@link gl:linkProgram/1} was called for the specified program +%% object. Attribute bindings that have been specified since the last link operation are +%% not returned by ``gl:getAttribLocation''. +%% +%% See external documentation. +-spec getAttribLocation(Program, Name) -> integer() when Program :: integer(),Name :: string(). getAttribLocation(Program,Name) -> call(5458, <>). -%% @spec (Program::integer(),Pname::enum()) -> integer() -%% @doc See external documentation. --spec getProgramiv(integer(),enum()) -> integer(). +%% @doc Returns a parameter from a program object +%% +%% ``gl:getProgram'' returns in `Params' the value of a parameter for a specific program +%% object. The following parameters are defined: +%% +%% `?GL_DELETE_STATUS': `Params' returns `?GL_TRUE' if `Program' is currently +%% flagged for deletion, and `?GL_FALSE' otherwise. +%% +%% `?GL_LINK_STATUS': `Params' returns `?GL_TRUE' if the last link operation +%% on `Program' was successful, and `?GL_FALSE' otherwise. +%% +%% `?GL_VALIDATE_STATUS': `Params' returns `?GL_TRUE' or if the last validation +%% operation on `Program' was successful, and `?GL_FALSE' otherwise. +%% +%% `?GL_INFO_LOG_LENGTH': `Params' returns the number of characters in the information +%% log for `Program' including the null termination character (i.e., the size of the +%% character buffer required to store the information log). If `Program' has no information +%% log, a value of 0 is returned. +%% +%% `?GL_ATTACHED_SHADERS': `Params' returns the number of shader objects attached +%% to `Program' . +%% +%% `?GL_ACTIVE_ATOMIC_COUNTER_BUFFERS': `Params' returns the number of active attribute +%% atomic counter buffers used by `Program' . +%% +%% `?GL_ACTIVE_ATTRIBUTES': `Params' returns the number of active attribute variables +%% for `Program' . +%% +%% `?GL_ACTIVE_ATTRIBUTE_MAX_LENGTH': `Params' returns the length of the longest +%% active attribute name for `Program' , including the null termination character (i.e., +%% the size of the character buffer required to store the longest attribute name). If no +%% active attributes exist, 0 is returned. +%% +%% `?GL_ACTIVE_UNIFORMS': `Params' returns the number of active uniform variables +%% for `Program' . +%% +%% `?GL_ACTIVE_UNIFORM_MAX_LENGTH': `Params' returns the length of the longest +%% active uniform variable name for `Program' , including the null termination character +%% (i.e., the size of the character buffer required to store the longest uniform variable +%% name). If no active uniform variables exist, 0 is returned. +%% +%% `?GL_PROGRAM_BINARY_LENGTH': `Params' returns the length of the program binary, +%% in bytes that will be returned by a call to {@link gl:getProgramBinary/2} . When a progam's +%% `?GL_LINK_STATUS' is `?GL_FALSE', its program binary length is zero. +%% +%% `?GL_TRANSFORM_FEEDBACK_BUFFER_MODE': `Params' returns a symbolic constant indicating +%% the buffer mode used when transform feedback is active. This may be `?GL_SEPARATE_ATTRIBS' +%% or `?GL_INTERLEAVED_ATTRIBS'. +%% +%% `?GL_TRANSFORM_FEEDBACK_VARYINGS': `Params' returns the number of varying variables +%% to capture in transform feedback mode for the program. +%% +%% `?GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH': `Params' returns the length of +%% the longest variable name to be used for transform feedback, including the null-terminator. +%% +%% +%% `?GL_GEOMETRY_VERTICES_OUT': `Params' returns the maximum number of vertices +%% that the geometry shader in `Program' will output. +%% +%% `?GL_GEOMETRY_INPUT_TYPE': `Params' returns a symbolic constant indicating the +%% primitive type accepted as input to the geometry shader contained in `Program' . +%% +%% `?GL_GEOMETRY_OUTPUT_TYPE': `Params' returns a symbolic constant indicating +%% the primitive type that will be output by the geometry shader contained in `Program' . +%% +%% +%% See external documentation. +-spec getProgramiv(Program, Pname) -> integer() when Program :: integer(),Pname :: enum(). getProgramiv(Program,Pname) -> call(5459, <>). -%% @spec (Program::integer(),BufSize::integer()) -> string() -%% @doc See external documentation. --spec getProgramInfoLog(integer(),integer()) -> string(). +%% @doc Returns the information log for a program object +%% +%% ``gl:getProgramInfoLog'' returns the information log for the specified program object. +%% The information log for a program object is modified when the program object is linked +%% or validated. The string that is returned will be null terminated. +%% +%% ``gl:getProgramInfoLog'' returns in `InfoLog' as much of the information log as +%% it can, up to a maximum of `MaxLength' characters. The number of characters actually +%% returned, excluding the null termination character, is specified by `Length' . If +%% the length of the returned string is not required, a value of `?NULL' can be passed +%% in the `Length' argument. The size of the buffer required to store the returned +%% information log can be obtained by calling {@link gl:getProgramiv/2} with the value `?GL_INFO_LOG_LENGTH' +%% . +%% +%% The information log for a program object is either an empty string, or a string containing +%% information about the last link operation, or a string containing information about the +%% last validation operation. It may contain diagnostic messages, warning messages, and +%% other information. When a program object is created, its information log will be a string +%% of length 0. +%% +%% See external documentation. +-spec getProgramInfoLog(Program, BufSize) -> string() when Program :: integer(),BufSize :: integer(). getProgramInfoLog(Program,BufSize) -> call(5460, <>). -%% @spec (Shader::integer(),Pname::enum()) -> integer() -%% @doc See external documentation. --spec getShaderiv(integer(),enum()) -> integer(). +%% @doc Returns a parameter from a shader object +%% +%% ``gl:getShader'' returns in `Params' the value of a parameter for a specific +%% shader object. The following parameters are defined: +%% +%% `?GL_SHADER_TYPE': `Params' returns `?GL_VERTEX_SHADER' if `Shader' +%% is a vertex shader object, `?GL_GEOMETRY_SHADER' if `Shader' is a geometry +%% shader object, and `?GL_FRAGMENT_SHADER' if `Shader' is a fragment shader +%% object. +%% +%% `?GL_DELETE_STATUS': `Params' returns `?GL_TRUE' if `Shader' is +%% currently flagged for deletion, and `?GL_FALSE' otherwise. +%% +%% `?GL_COMPILE_STATUS': `Params' returns `?GL_TRUE' if the last compile +%% operation on `Shader' was successful, and `?GL_FALSE' otherwise. +%% +%% `?GL_INFO_LOG_LENGTH': `Params' returns the number of characters in the information +%% log for `Shader' including the null termination character (i.e., the size of +%% the character buffer required to store the information log). If `Shader' has +%% no information log, a value of 0 is returned. +%% +%% `?GL_SHADER_SOURCE_LENGTH': `Params' returns the length of the concatenation +%% of the source strings that make up the shader source for the `Shader' , including +%% the null termination character. (i.e., the size of the character buffer required to +%% store the shader source). If no source code exists, 0 is returned. +%% +%% See external documentation. +-spec getShaderiv(Shader, Pname) -> integer() when Shader :: integer(),Pname :: enum(). getShaderiv(Shader,Pname) -> call(5461, <>). -%% @spec (Shader::integer(),BufSize::integer()) -> string() -%% @doc See external documentation. --spec getShaderInfoLog(integer(),integer()) -> string(). +%% @doc Returns the information log for a shader object +%% +%% ``gl:getShaderInfoLog'' returns the information log for the specified shader object. +%% The information log for a shader object is modified when the shader is compiled. The +%% string that is returned will be null terminated. +%% +%% ``gl:getShaderInfoLog'' returns in `InfoLog' as much of the information log as +%% it can, up to a maximum of `MaxLength' characters. The number of characters actually +%% returned, excluding the null termination character, is specified by `Length' . If +%% the length of the returned string is not required, a value of `?NULL' can be passed +%% in the `Length' argument. The size of the buffer required to store the returned +%% information log can be obtained by calling {@link gl:getShaderiv/2} with the value `?GL_INFO_LOG_LENGTH' +%% . +%% +%% The information log for a shader object is a string that may contain diagnostic messages, +%% warning messages, and other information about the last compile operation. When a shader +%% object is created, its information log will be a string of length 0. +%% +%% See external documentation. +-spec getShaderInfoLog(Shader, BufSize) -> string() when Shader :: integer(),BufSize :: integer(). getShaderInfoLog(Shader,BufSize) -> call(5462, <>). -%% @spec (Shader::integer(),BufSize::integer()) -> string() -%% @doc See external documentation. --spec getShaderSource(integer(),integer()) -> string(). +%% @doc Returns the source code string from a shader object +%% +%% ``gl:getShaderSource'' returns the concatenation of the source code strings from the +%% shader object specified by `Shader' . The source code strings for a shader object +%% are the result of a previous call to {@link gl:shaderSource/2} . The string returned by +%% the function will be null terminated. +%% +%% ``gl:getShaderSource'' returns in `Source' as much of the source code string as +%% it can, up to a maximum of `BufSize' characters. The number of characters actually +%% returned, excluding the null termination character, is specified by `Length' . If +%% the length of the returned string is not required, a value of `?NULL' can be passed +%% in the `Length' argument. The size of the buffer required to store the returned source +%% code string can be obtained by calling {@link gl:getShaderiv/2} with the value `?GL_SHADER_SOURCE_LENGTH' +%% . +%% +%% See external documentation. +-spec getShaderSource(Shader, BufSize) -> string() when Shader :: integer(),BufSize :: integer(). getShaderSource(Shader,BufSize) -> call(5463, <>). -%% @spec (Program::integer(),Name::string()) -> integer() -%% @doc See external documentation. --spec getUniformLocation(integer(),string()) -> integer(). +%% @doc Returns the location of a uniform variable +%% +%% ``gl:getUniformLocation '' returns an integer that represents the location of a specific +%% uniform variable within a program object. `Name' must be a null terminated string +%% that contains no white space. `Name' must be an active uniform variable name in `Program' +%% that is not a structure, an array of structures, or a subcomponent of a vector or a matrix. +%% This function returns -1 if `Name' does not correspond to an active uniform variable +%% in `Program' , if `Name' starts with the reserved prefix "gl_", or if `Name' +%% is associated with an atomic counter or a named uniform block. +%% +%% Uniform variables that are structures or arrays of structures may be queried by calling ``gl:getUniformLocation'' +%% for each field within the structure. The array element operator "[]" and the structure +%% field operator "." may be used in `Name' in order to select elements within an array +%% or fields within a structure. The result of using these operators is not allowed to be +%% another structure, an array of structures, or a subcomponent of a vector or a matrix. +%% Except if the last part of `Name' indicates a uniform variable array, the location +%% of the first element of an array can be retrieved by using the name of the array, or by +%% using the name appended by "[0]". +%% +%% The actual locations assigned to uniform variables are not known until the program object +%% is linked successfully. After linking has occurred, the command ``gl:getUniformLocation'' +%% can be used to obtain the location of a uniform variable. This location value can then +%% be passed to {@link gl:uniform1f/2} to set the value of the uniform variable or to {@link gl:getUniformfv/2} +%% in order to query the current value of the uniform variable. After a program object has +%% been linked successfully, the index values for uniform variables remain fixed until the +%% next link command occurs. Uniform variable locations and values can only be queried after +%% a link if the link was successful. +%% +%% See external documentation. +-spec getUniformLocation(Program, Name) -> integer() when Program :: integer(),Name :: string(). getUniformLocation(Program,Name) -> call(5464, <>). -%% @spec (Program::integer(),Location::integer()) -> {float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()} -%% @doc See external documentation. --spec getUniformfv(integer(),integer()) -> {float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}. +%% @doc Returns the value of a uniform variable +%% +%% ``gl:getUniform'' returns in `Params' the value(s) of the specified uniform variable. +%% The type of the uniform variable specified by `Location' determines the number of +%% values returned. If the uniform variable is defined in the shader as a boolean, int, or +%% float, a single value will be returned. If it is defined as a vec2, ivec2, or bvec2, two +%% values will be returned. If it is defined as a vec3, ivec3, or bvec3, three values will +%% be returned, and so on. To query values stored in uniform variables declared as arrays, +%% call ``gl:getUniform'' for each element of the array. To query values stored in uniform +%% variables declared as structures, call ``gl:getUniform'' for each field in the structure. +%% The values for uniform variables declared as a matrix will be returned in column major +%% order. +%% +%% The locations assigned to uniform variables are not known until the program object is +%% linked. After linking has occurred, the command {@link gl:getUniformLocation/2} can be +%% used to obtain the location of a uniform variable. This location value can then be passed +%% to ``gl:getUniform'' in order to query the current value of the uniform variable. After +%% a program object has been linked successfully, the index values for uniform variables +%% remain fixed until the next link command occurs. The uniform variable values can only +%% be queried after a link if the link was successful. +%% +%% See external documentation. +-spec getUniformfv(Program, Location) -> matrix() when Program :: integer(),Location :: integer(). getUniformfv(Program,Location) -> call(5465, <>). -%% @spec (Program::integer(),Location::integer()) -> {integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer()} -%% @doc See external documentation. --spec getUniformiv(integer(),integer()) -> {integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer()}. +%% @doc +%% See {@link getUniformfv/2} +-spec getUniformiv(Program, Location) -> {integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer()} when Program :: integer(),Location :: integer(). getUniformiv(Program,Location) -> call(5466, <>). -%% @spec (Index::integer(),Pname::enum()) -> {float(),float(),float(),float()} -%% @doc See external documentation. --spec getVertexAttribdv(integer(),enum()) -> {float(),float(),float(),float()}. +%% @doc Return a generic vertex attribute parameter +%% +%% ``gl:getVertexAttrib'' returns in `Params' the value of a generic vertex attribute +%% parameter. The generic vertex attribute to be queried is specified by `Index' , and +%% the parameter to be queried is specified by `Pname' . +%% +%% The accepted parameter names are as follows: +%% +%% `?GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING': `Params' returns a single value, the +%% name of the buffer object currently bound to the binding point corresponding to generic +%% vertex attribute array `Index' . If no buffer object is bound, 0 is returned. The +%% initial value is 0. +%% +%% `?GL_VERTEX_ATTRIB_ARRAY_ENABLED': `Params' returns a single value that is non-zero +%% (true) if the vertex attribute array for `Index' is enabled and 0 (false) if it is +%% disabled. The initial value is `?GL_FALSE'. +%% +%% `?GL_VERTEX_ATTRIB_ARRAY_SIZE': `Params' returns a single value, the size of +%% the vertex attribute array for `Index' . The size is the number of values for each +%% element of the vertex attribute array, and it will be 1, 2, 3, or 4. The initial value +%% is 4. +%% +%% `?GL_VERTEX_ATTRIB_ARRAY_STRIDE': `Params' returns a single value, the array +%% stride for (number of bytes between successive elements in) the vertex attribute array +%% for `Index' . A value of 0 indicates that the array elements are stored sequentially +%% in memory. The initial value is 0. +%% +%% `?GL_VERTEX_ATTRIB_ARRAY_TYPE': `Params' returns a single value, a symbolic +%% constant indicating the array type for the vertex attribute array for `Index' . Possible +%% values are `?GL_BYTE', `?GL_UNSIGNED_BYTE', `?GL_SHORT', `?GL_UNSIGNED_SHORT' +%% , `?GL_INT', `?GL_UNSIGNED_INT', `?GL_FLOAT', and `?GL_DOUBLE'. The +%% initial value is `?GL_FLOAT'. +%% +%% `?GL_VERTEX_ATTRIB_ARRAY_NORMALIZED': `Params' returns a single value that is +%% non-zero (true) if fixed-point data types for the vertex attribute array indicated by `Index' +%% are normalized when they are converted to floating point, and 0 (false) otherwise. The +%% initial value is `?GL_FALSE'. +%% +%% `?GL_VERTEX_ATTRIB_ARRAY_INTEGER': `Params' returns a single value that is non-zero +%% (true) if fixed-point data types for the vertex attribute array indicated by `Index' +%% have integer data types, and 0 (false) otherwise. The initial value is 0 (`?GL_FALSE'). +%% +%% +%% `?GL_VERTEX_ATTRIB_ARRAY_DIVISOR': `Params' returns a single value that is the +%% frequency divisor used for instanced rendering. See {@link gl:vertexAttribDivisor/2} . The +%% initial value is 0. +%% +%% `?GL_CURRENT_VERTEX_ATTRIB': `Params' returns four values that represent the +%% current value for the generic vertex attribute specified by index. Generic vertex attribute +%% 0 is unique in that it has no current state, so an error will be generated if `Index' +%% is 0. The initial value for all other generic vertex attributes is (0,0,0,1). +%% +%% ``gl:getVertexAttribdv'' and ``gl:getVertexAttribfv'' return the current attribute +%% values as four single-precision floating-point values; ``gl:getVertexAttribiv'' reads +%% them as floating-point values and converts them to four integer values; ``gl:getVertexAttribIiv'' +%% and ``gl:getVertexAttribIuiv'' read and return them as signed or unsigned integer values, +%% respectively; ``gl:getVertexAttribLdv'' reads and returns them as four double-precision +%% floating-point values. +%% +%% All of the parameters except `?GL_CURRENT_VERTEX_ATTRIB' represent state stored in +%% the currently bound vertex array object. +%% +%% See external documentation. +-spec getVertexAttribdv(Index, Pname) -> {float(),float(),float(),float()} when Index :: integer(),Pname :: enum(). getVertexAttribdv(Index,Pname) -> call(5467, <>). -%% @spec (Index::integer(),Pname::enum()) -> {float(),float(),float(),float()} -%% @doc See external documentation. --spec getVertexAttribfv(integer(),enum()) -> {float(),float(),float(),float()}. +%% @doc +%% See {@link getVertexAttribdv/2} +-spec getVertexAttribfv(Index, Pname) -> {float(),float(),float(),float()} when Index :: integer(),Pname :: enum(). getVertexAttribfv(Index,Pname) -> call(5468, <>). -%% @spec (Index::integer(),Pname::enum()) -> {integer(),integer(),integer(),integer()} -%% @doc See external documentation. --spec getVertexAttribiv(integer(),enum()) -> {integer(),integer(),integer(),integer()}. +%% @doc +%% See {@link getVertexAttribdv/2} +-spec getVertexAttribiv(Index, Pname) -> {integer(),integer(),integer(),integer()} when Index :: integer(),Pname :: enum(). getVertexAttribiv(Index,Pname) -> call(5469, <>). -%% @spec (Program::integer()) -> 0|1 -%% @doc See external documentation. --spec isProgram(integer()) -> 0|1. +%% @doc Determines if a name corresponds to a program object +%% +%% ``gl:isProgram'' returns `?GL_TRUE' if `Program' is the name of a program +%% object previously created with {@link gl:createProgram/0} and not yet deleted with {@link gl:deleteProgram/1} +%% . If `Program' is zero or a non-zero value that is not the name of a program object, +%% or if an error occurs, ``gl:isProgram'' returns `?GL_FALSE'. +%% +%% See external documentation. +-spec isProgram(Program) -> 0|1 when Program :: integer(). isProgram(Program) -> call(5470, <>). -%% @spec (Shader::integer()) -> 0|1 -%% @doc See external documentation. --spec isShader(integer()) -> 0|1. +%% @doc Determines if a name corresponds to a shader object +%% +%% ``gl:isShader'' returns `?GL_TRUE' if `Shader' is the name of a shader object +%% previously created with {@link gl:createShader/1} and not yet deleted with {@link gl:deleteShader/1} +%% . If `Shader' is zero or a non-zero value that is not the name of a shader object, +%% or if an error occurs, ``gl:isShader '' returns `?GL_FALSE'. +%% +%% See external documentation. +-spec isShader(Shader) -> 0|1 when Shader :: integer(). isShader(Shader) -> call(5471, <>). -%% @spec (Program::integer()) -> ok -%% @doc See external documentation. --spec linkProgram(integer()) -> ok. +%% @doc Links a program object +%% +%% ``gl:linkProgram'' links the program object specified by `Program' . If any shader +%% objects of type `?GL_VERTEX_SHADER' are attached to `Program' , they will be +%% used to create an executable that will run on the programmable vertex processor. If any +%% shader objects of type `?GL_GEOMETRY_SHADER' are attached to `Program' , they +%% will be used to create an executable that will run on the programmable geometry processor. +%% If any shader objects of type `?GL_FRAGMENT_SHADER' are attached to `Program' , +%% they will be used to create an executable that will run on the programmable fragment processor. +%% +%% +%% The status of the link operation will be stored as part of the program object's state. +%% This value will be set to `?GL_TRUE' if the program object was linked without errors +%% and is ready for use, and `?GL_FALSE' otherwise. It can be queried by calling {@link gl:getProgramiv/2} +%% with arguments `Program' and `?GL_LINK_STATUS'. +%% +%% As a result of a successful link operation, all active user-defined uniform variables +%% belonging to `Program' will be initialized to 0, and each of the program object's +%% active uniform variables will be assigned a location that can be queried by calling {@link gl:getUniformLocation/2} +%% . Also, any active user-defined attribute variables that have not been bound to a generic +%% vertex attribute index will be bound to one at this time. +%% +%% Linking of a program object can fail for a number of reasons as specified in the `OpenGL Shading Language Specification' +%% . The following lists some of the conditions that will cause a link error. +%% +%% The number of active attribute variables supported by the implementation has been exceeded. +%% +%% +%% The storage limit for uniform variables has been exceeded. +%% +%% The number of active uniform variables supported by the implementation has been exceeded. +%% +%% The `main' function is missing for the vertex, geometry or fragment shader. +%% +%% A varying variable actually used in the fragment shader is not declared in the same way +%% (or is not declared at all) in the vertex shader, or geometry shader shader if present. +%% +%% A reference to a function or variable name is unresolved. +%% +%% A shared global is declared with two different types or two different initial values. +%% +%% One or more of the attached shader objects has not been successfully compiled. +%% +%% Binding a generic attribute matrix caused some rows of the matrix to fall outside the +%% allowed maximum of `?GL_MAX_VERTEX_ATTRIBS'. +%% +%% Not enough contiguous vertex attribute slots could be found to bind attribute matrices. +%% +%% The program object contains objects to form a fragment shader but does not contain objects +%% to form a vertex shader. +%% +%% The program object contains objects to form a geometry shader but does not contain objects +%% to form a vertex shader. +%% +%% The program object contains objects to form a geometry shader and the input primitive +%% type, output primitive type, or maximum output vertex count is not specified in any compiled +%% geometry shader object. +%% +%% The program object contains objects to form a geometry shader and the input primitive +%% type, output primitive type, or maximum output vertex count is specified differently in +%% multiple geometry shader objects. +%% +%% The number of active outputs in the fragment shader is greater than the value of `?GL_MAX_DRAW_BUFFERS' +%% . +%% +%% The program has an active output assigned to a location greater than or equal to the value +%% of `?GL_MAX_DUAL_SOURCE_DRAW_BUFFERS' and has an active output assigned an index +%% greater than or equal to one. +%% +%% More than one varying out variable is bound to the same number and index. +%% +%% The explicit binding assigments do not leave enough space for the linker to automatically +%% assign a location for a varying out array, which requires multiple contiguous locations. +%% +%% The `Count' specified by {@link gl:transformFeedbackVaryings/3} is non-zero, but the +%% program object has no vertex or geometry shader. +%% +%% Any variable name specified to {@link gl:transformFeedbackVaryings/3} in the `Varyings' +%% array is not declared as an output in the vertex shader (or the geometry shader, if active). +%% +%% +%% Any two entries in the `Varyings' array given {@link gl:transformFeedbackVaryings/3} +%% specify the same varying variable. +%% +%% The total number of components to capture in any transform feedback varying variable is +%% greater than the constant `?GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS' and the +%% buffer mode is `?SEPARATE_ATTRIBS'. +%% +%% When a program object has been successfully linked, the program object can be made part +%% of current state by calling {@link gl:useProgram/1} . Whether or not the link operation +%% was successful, the program object's information log will be overwritten. The information +%% log can be retrieved by calling {@link gl:getProgramInfoLog/2} . +%% +%% ``gl:linkProgram'' will also install the generated executables as part of the current +%% rendering state if the link operation was successful and the specified program object +%% is already currently in use as a result of a previous call to {@link gl:useProgram/1} . +%% If the program object currently in use is relinked unsuccessfully, its link status will +%% be set to `?GL_FALSE' , but the executables and associated state will remain part +%% of the current state until a subsequent call to ``gl:useProgram'' removes it from use. +%% After it is removed from use, it cannot be made part of current state until it has been +%% successfully relinked. +%% +%% If `Program' contains shader objects of type `?GL_VERTEX_SHADER', and optionally +%% of type `?GL_GEOMETRY_SHADER', but does not contain shader objects of type `?GL_FRAGMENT_SHADER' +%% , the vertex shader executable will be installed on the programmable vertex processor, +%% the geometry shader executable, if present, will be installed on the programmable geometry +%% processor, but no executable will be installed on the fragment processor. The results +%% of rasterizing primitives with such a program will be undefined. +%% +%% The program object's information log is updated and the program is generated at the time +%% of the link operation. After the link operation, applications are free to modify attached +%% shader objects, compile attached shader objects, detach shader objects, delete shader +%% objects, and attach additional shader objects. None of these operations affects the information +%% log or the program that is part of the program object. +%% +%% See external documentation. +-spec linkProgram(Program) -> ok when Program :: integer(). linkProgram(Program) -> cast(5472, <>). -%% @spec (Shader::integer(),String::[string()]) -> ok -%% @doc See external documentation. --spec shaderSource(integer(),[string()]) -> ok. +%% @doc Replaces the source code in a shader object +%% +%% ``gl:shaderSource'' sets the source code in `Shader' to the source code in the +%% array of strings specified by `String' . Any source code previously stored in the +%% shader object is completely replaced. The number of strings in the array is specified +%% by `Count' . If `Length' is `?NULL', each string is assumed to be null +%% terminated. If `Length' is a value other than `?NULL', it points to an array +%% containing a string length for each of the corresponding elements of `String' . +%% Each element in the `Length' array may contain the length of the corresponding +%% string (the null character is not counted as part of the string length) or a value less +%% than 0 to indicate that the string is null terminated. The source code strings are not +%% scanned or parsed at this time; they are simply copied into the specified shader object. +%% +%% See external documentation. +-spec shaderSource(Shader, String) -> ok when Shader :: integer(),String :: [string()]. shaderSource(Shader,String) -> StringTemp = list_to_binary([[Str|[0]] || Str <- String ]), cast(5473, <>). -%% @spec (Program::integer()) -> ok -%% @doc See external documentation. --spec useProgram(integer()) -> ok. +%% @doc Installs a program object as part of current rendering state +%% +%% ``gl:useProgram'' installs the program object specified by `Program' as part of +%% current rendering state. One or more executables are created in a program object by +%% successfully attaching shader objects to it with {@link gl:attachShader/2} , successfully +%% compiling the shader objects with {@link gl:compileShader/1} , and successfully linking +%% the program object with {@link gl:linkProgram/1} . +%% +%% A program object will contain an executable that will run on the vertex processor if +%% it contains one or more shader objects of type `?GL_VERTEX_SHADER' that have been +%% successfully compiled and linked. A program object will contain an executable that will +%% run on the geometry processor if it contains one or more shader objects of type `?GL_GEOMETRY_SHADER' +%% that have been successfully compiled and linked. Similarly, a program object will contain +%% an executable that will run on the fragment processor if it contains one or more shader +%% objects of type `?GL_FRAGMENT_SHADER' that have been successfully compiled and +%% linked. +%% +%% While a program object is in use, applications are free to modify attached shader objects, +%% compile attached shader objects, attach additional shader objects, and detach or delete +%% shader objects. None of these operations will affect the executables that are part of +%% the current state. However, relinking the program object that is currently in use will +%% install the program object as part of the current rendering state if the link operation +%% was successful (see {@link gl:linkProgram/1} ). If the program object currently in use +%% is relinked unsuccessfully, its link status will be set to `?GL_FALSE', but the +%% executables and associated state will remain part of the current state until a subsequent +%% call to ``gl:useProgram'' removes it from use. After it is removed from use, it cannot +%% be made part of current state until it has been successfully relinked. +%% +%% If `Program' is zero, then the current rendering state refers to an `invalid' +%% program object and the results of shader execution are undefined. However, this is not +%% an error. +%% +%% If `Program' does not contain shader objects of type `?GL_FRAGMENT_SHADER', +%% an executable will be installed on the vertex, and possibly geometry processors, but +%% the results of fragment shader execution will be undefined. +%% +%% See external documentation. +-spec useProgram(Program) -> ok when Program :: integer(). useProgram(Program) -> cast(5474, <>). -%% @spec (Location::integer(),V0::float()) -> ok -%% @doc See external documentation. --spec uniform1f(integer(),float()) -> ok. +%% @doc Specify the value of a uniform variable for the current program object +%% +%% ``gl:uniform'' modifies the value of a uniform variable or a uniform variable array. +%% The location of the uniform variable to be modified is specified by `Location' , which +%% should be a value returned by {@link gl:getUniformLocation/2} . ``gl:uniform'' operates +%% on the program object that was made part of current state by calling {@link gl:useProgram/1} +%% . +%% +%% The commands ``gl:uniform{1|2|3|4}{f|i|ui}'' are used to change the value of the uniform +%% variable specified by `Location' using the values passed as arguments. The number +%% specified in the command should match the number of components in the data type of the +%% specified uniform variable (e.g., `1' for float, int, unsigned int, bool; `2' +%% for vec2, ivec2, uvec2, bvec2, etc.). The suffix `f' indicates that floating-point +%% values are being passed; the suffix `i' indicates that integer values are being passed; +%% the suffix `ui' indicates that unsigned integer values are being passed, and this +%% type should also match the data type of the specified uniform variable. The `i' variants +%% of this function should be used to provide values for uniform variables defined as int, ivec2 +%% , ivec3, ivec4, or arrays of these. The `ui' variants of this function should be +%% used to provide values for uniform variables defined as unsigned int, uvec2, uvec3, uvec4, +%% or arrays of these. The `f' variants should be used to provide values for uniform +%% variables of type float, vec2, vec3, vec4, or arrays of these. Either the `i', `ui' +%% or `f' variants may be used to provide values for uniform variables of type bool, bvec2 +%% , bvec3, bvec4, or arrays of these. The uniform variable will be set to false if the input +%% value is 0 or 0.0f, and it will be set to true otherwise. +%% +%% All active uniform variables defined in a program object are initialized to 0 when the +%% program object is linked successfully. They retain the values assigned to them by a call +%% to ``gl:uniform '' until the next successful link operation occurs on the program object, +%% when they are once again initialized to 0. +%% +%% The commands ``gl:uniform{1|2|3|4}{f|i|ui}v'' can be used to modify a single uniform +%% variable or a uniform variable array. These commands pass a count and a pointer to the +%% values to be loaded into a uniform variable or a uniform variable array. A count of 1 +%% should be used if modifying the value of a single uniform variable, and a count of 1 or +%% greater can be used to modify an entire array or part of an array. When loading `n' +%% elements starting at an arbitrary position `m' in a uniform variable array, elements +%% `m' + `n' - 1 in the array will be replaced with the new values. If `M' + `N' +%% - 1 is larger than the size of the uniform variable array, values for all array elements +%% beyond the end of the array will be ignored. The number specified in the name of the command +%% indicates the number of components for each element in `Value' , and it should match +%% the number of components in the data type of the specified uniform variable (e.g., `1' +%% for float, int, bool; `2' for vec2, ivec2, bvec2, etc.). The data type specified +%% in the name of the command must match the data type for the specified uniform variable +%% as described previously for ``gl:uniform{1|2|3|4}{f|i|ui}''. +%% +%% For uniform variable arrays, each element of the array is considered to be of the type +%% indicated in the name of the command (e.g., ``gl:uniform3f'' or ``gl:uniform3fv'' +%% can be used to load a uniform variable array of type vec3). The number of elements of +%% the uniform variable array to be modified is specified by `Count' +%% +%% The commands ``gl:uniformMatrix{2|3|4|2x3|3x2|2x4|4x2|3x4|4x3}fv'' are used to modify +%% a matrix or an array of matrices. The numbers in the command name are interpreted as the +%% dimensionality of the matrix. The number `2' indicates a 2 × 2 matrix (i.e., 4 values), +%% the number `3' indicates a 3 × 3 matrix (i.e., 9 values), and the number `4' +%% indicates a 4 × 4 matrix (i.e., 16 values). Non-square matrix dimensionality is explicit, +%% with the first number representing the number of columns and the second number representing +%% the number of rows. For example, `2x4' indicates a 2 × 4 matrix with 2 columns and +%% 4 rows (i.e., 8 values). If `Transpose' is `?GL_FALSE', each matrix is assumed +%% to be supplied in column major order. If `Transpose' is `?GL_TRUE', each matrix +%% is assumed to be supplied in row major order. The `Count' argument indicates the +%% number of matrices to be passed. A count of 1 should be used if modifying the value of +%% a single matrix, and a count greater than 1 can be used to modify an array of matrices. +%% +%% See external documentation. +-spec uniform1f(Location, V0) -> ok when Location :: integer(),V0 :: float(). uniform1f(Location,V0) -> cast(5475, <>). -%% @spec (Location::integer(),V0::float(),V1::float()) -> ok -%% @doc See external documentation. --spec uniform2f(integer(),float(),float()) -> ok. +%% @doc +%% See {@link uniform1f/2} +-spec uniform2f(Location, V0, V1) -> ok when Location :: integer(),V0 :: float(),V1 :: float(). uniform2f(Location,V0,V1) -> cast(5476, <>). -%% @spec (Location::integer(),V0::float(),V1::float(),V2::float()) -> ok -%% @doc See external documentation. --spec uniform3f(integer(),float(),float(),float()) -> ok. +%% @doc +%% See {@link uniform1f/2} +-spec uniform3f(Location, V0, V1, V2) -> ok when Location :: integer(),V0 :: float(),V1 :: float(),V2 :: float(). uniform3f(Location,V0,V1,V2) -> cast(5477, <>). -%% @spec (Location::integer(),V0::float(),V1::float(),V2::float(),V3::float()) -> ok -%% @doc See external documentation. --spec uniform4f(integer(),float(),float(),float(),float()) -> ok. +%% @doc +%% See {@link uniform1f/2} +-spec uniform4f(Location, V0, V1, V2, V3) -> ok when Location :: integer(),V0 :: float(),V1 :: float(),V2 :: float(),V3 :: float(). uniform4f(Location,V0,V1,V2,V3) -> cast(5478, <>). -%% @spec (Location::integer(),V0::integer()) -> ok -%% @doc See external documentation. --spec uniform1i(integer(),integer()) -> ok. +%% @doc +%% See {@link uniform1f/2} +-spec uniform1i(Location, V0) -> ok when Location :: integer(),V0 :: integer(). uniform1i(Location,V0) -> cast(5479, <>). -%% @spec (Location::integer(),V0::integer(),V1::integer()) -> ok -%% @doc See external documentation. --spec uniform2i(integer(),integer(),integer()) -> ok. +%% @doc +%% See {@link uniform1f/2} +-spec uniform2i(Location, V0, V1) -> ok when Location :: integer(),V0 :: integer(),V1 :: integer(). uniform2i(Location,V0,V1) -> cast(5480, <>). -%% @spec (Location::integer(),V0::integer(),V1::integer(),V2::integer()) -> ok -%% @doc See external documentation. --spec uniform3i(integer(),integer(),integer(),integer()) -> ok. +%% @doc +%% See {@link uniform1f/2} +-spec uniform3i(Location, V0, V1, V2) -> ok when Location :: integer(),V0 :: integer(),V1 :: integer(),V2 :: integer(). uniform3i(Location,V0,V1,V2) -> cast(5481, <>). -%% @spec (Location::integer(),V0::integer(),V1::integer(),V2::integer(),V3::integer()) -> ok -%% @doc See external documentation. --spec uniform4i(integer(),integer(),integer(),integer(),integer()) -> ok. +%% @doc +%% See {@link uniform1f/2} +-spec uniform4i(Location, V0, V1, V2, V3) -> ok when Location :: integer(),V0 :: integer(),V1 :: integer(),V2 :: integer(),V3 :: integer(). uniform4i(Location,V0,V1,V2,V3) -> cast(5482, <>). -%% @spec (Location::integer(),Value::[float()]) -> ok -%% @doc See external documentation. --spec uniform1fv(integer(),[float()]) -> ok. +%% @doc +%% See {@link uniform1f/2} +-spec uniform1fv(Location, Value) -> ok when Location :: integer(),Value :: [float()]. uniform1fv(Location,Value) -> cast(5483, <> || C <- Value>>)/binary,0:(((length(Value)) rem 2)*32)>>). -%% @spec (Location::integer(),Value::[{float(),float()}]) -> ok -%% @doc See external documentation. --spec uniform2fv(integer(),[{float(),float()}]) -> ok. +%% @doc +%% See {@link uniform1f/2} +-spec uniform2fv(Location, Value) -> ok when Location :: integer(),Value :: [{float(),float()}]. uniform2fv(Location,Value) -> cast(5484, <> || {V1,V2} <- Value>>)/binary>>). -%% @spec (Location::integer(),Value::[{float(),float(),float()}]) -> ok -%% @doc See external documentation. --spec uniform3fv(integer(),[{float(),float(),float()}]) -> ok. +%% @doc +%% See {@link uniform1f/2} +-spec uniform3fv(Location, Value) -> ok when Location :: integer(),Value :: [{float(),float(),float()}]. uniform3fv(Location,Value) -> cast(5485, <> || {V1,V2,V3} <- Value>>)/binary>>). -%% @spec (Location::integer(),Value::[{float(),float(),float(),float()}]) -> ok -%% @doc See external documentation. --spec uniform4fv(integer(),[{float(),float(),float(),float()}]) -> ok. +%% @doc +%% See {@link uniform1f/2} +-spec uniform4fv(Location, Value) -> ok when Location :: integer(),Value :: [{float(),float(),float(),float()}]. uniform4fv(Location,Value) -> cast(5486, <> || {V1,V2,V3,V4} <- Value>>)/binary>>). -%% @spec (Location::integer(),Value::[integer()]) -> ok -%% @doc See external documentation. --spec uniform1iv(integer(),[integer()]) -> ok. +%% @doc +%% See {@link uniform1f/2} +-spec uniform1iv(Location, Value) -> ok when Location :: integer(),Value :: [integer()]. uniform1iv(Location,Value) -> cast(5487, <> || C <- Value>>)/binary,0:(((length(Value)) rem 2)*32)>>). -%% @spec (Location::integer(),Value::[{integer(),integer()}]) -> ok -%% @doc See external documentation. --spec uniform2iv(integer(),[{integer(),integer()}]) -> ok. +%% @doc +%% See {@link uniform1f/2} +-spec uniform2iv(Location, Value) -> ok when Location :: integer(),Value :: [{integer(),integer()}]. uniform2iv(Location,Value) -> cast(5488, <> || {V1,V2} <- Value>>)/binary>>). -%% @spec (Location::integer(),Value::[{integer(),integer(),integer()}]) -> ok -%% @doc See external documentation. --spec uniform3iv(integer(),[{integer(),integer(),integer()}]) -> ok. +%% @doc +%% See {@link uniform1f/2} +-spec uniform3iv(Location, Value) -> ok when Location :: integer(),Value :: [{integer(),integer(),integer()}]. uniform3iv(Location,Value) -> cast(5489, <> || {V1,V2,V3} <- Value>>)/binary>>). -%% @spec (Location::integer(),Value::[{integer(),integer(),integer(),integer()}]) -> ok -%% @doc See external documentation. --spec uniform4iv(integer(),[{integer(),integer(),integer(),integer()}]) -> ok. +%% @doc +%% See {@link uniform1f/2} +-spec uniform4iv(Location, Value) -> ok when Location :: integer(),Value :: [{integer(),integer(),integer(),integer()}]. uniform4iv(Location,Value) -> cast(5490, <> || {V1,V2,V3,V4} <- Value>>)/binary>>). -%% @spec (Location::integer(),Transpose::0|1,Value::[{float(),float(),float(),float()}]) -> ok -%% @doc See external documentation. --spec uniformMatrix2fv(integer(),0|1,[{float(),float(),float(),float()}]) -> ok. +%% @doc +%% See {@link uniform1f/2} +-spec uniformMatrix2fv(Location, Transpose, Value) -> ok when Location :: integer(),Transpose :: 0|1,Value :: [{float(),float(),float(),float()}]. uniformMatrix2fv(Location,Transpose,Value) -> cast(5491, <> || {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 external documentation. --spec uniformMatrix3fv(integer(),0|1,[{float(),float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok. +%% @doc +%% See {@link uniform1f/2} +-spec uniformMatrix3fv(Location, Transpose, Value) -> ok when Location :: integer(),Transpose :: 0|1,Value :: [{float(),float(),float(),float(),float(),float(),float(),float(),float()}]. uniformMatrix3fv(Location,Transpose,Value) -> cast(5492, <> || {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 external documentation. --spec uniformMatrix4fv(integer(),0|1,[{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok. +%% @doc +%% See {@link uniform1f/2} +-spec uniformMatrix4fv(Location, Transpose, Value) -> ok when Location :: integer(),Transpose :: 0|1,Value :: [{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}]. uniformMatrix4fv(Location,Transpose,Value) -> cast(5493, <> || {V1,V2,V3,V4,V5,V6,V7,V8,V9,V10,V11,V12,V13,V14,V15,V16} <- Value>>)/binary>>). -%% @spec (Program::integer()) -> ok -%% @doc See external documentation. --spec validateProgram(integer()) -> ok. +%% @doc Validates a program object +%% +%% ``gl:validateProgram'' checks to see whether the executables contained in `Program' +%% can execute given the current OpenGL state. The information generated by the validation +%% process will be stored in `Program' 's information log. The validation information +%% may consist of an empty string, or it may be a string containing information about how +%% the current program object interacts with the rest of current OpenGL state. This provides +%% a way for OpenGL implementers to convey more information about why the current program +%% is inefficient, suboptimal, failing to execute, and so on. +%% +%% The status of the validation operation will be stored as part of the program object's +%% state. This value will be set to `?GL_TRUE' if the validation succeeded, and `?GL_FALSE' +%% otherwise. It can be queried by calling {@link gl:getProgramiv/2} with arguments `Program' +%% and `?GL_VALIDATE_STATUS'. If validation is successful, `Program' is guaranteed +%% to execute given the current state. Otherwise, `Program' is guaranteed to not execute. +%% +%% +%% This function is typically useful only during application development. The informational +%% string stored in the information log is completely implementation dependent; therefore, +%% an application should not expect different OpenGL implementations to produce identical +%% information strings. +%% +%% See external documentation. +-spec validateProgram(Program) -> ok when Program :: integer(). validateProgram(Program) -> cast(5494, <>). -%% @spec (Index::integer(),X::float()) -> ok -%% @doc See external documentation. --spec vertexAttrib1d(integer(),float()) -> ok. +%% @doc Specifies the value of a generic vertex attribute +%% +%% The ``gl:vertexAttrib'' family of entry points allows an application to pass generic +%% vertex attributes in numbered locations. +%% +%% Generic attributes are defined as four-component values that are organized into an array. +%% The first entry of this array is numbered 0, and the size of the array is specified by +%% the implementation-dependent constant `?GL_MAX_VERTEX_ATTRIBS'. Individual elements +%% of this array can be modified with a ``gl:vertexAttrib'' call that specifies the index +%% of the element to be modified and a value for that element. +%% +%% These commands can be used to specify one, two, three, or all four components of the generic +%% vertex attribute specified by `Index' . A `1' in the name of the command indicates +%% that only one value is passed, and it will be used to modify the first component of the +%% generic vertex attribute. The second and third components will be set to 0, and the fourth +%% component will be set to 1. Similarly, a `2' in the name of the command indicates +%% that values are provided for the first two components, the third component will be set +%% to 0, and the fourth component will be set to 1. A `3' in the name of the command +%% indicates that values are provided for the first three components and the fourth component +%% will be set to 1, whereas a `4' in the name indicates that values are provided for +%% all four components. +%% +%% The letters `s', `f', `i', `d', `ub', `us', and `ui' +%% indicate whether the arguments are of type short, float, int, double, unsigned byte, unsigned +%% short, or unsigned int. When `v' is appended to the name, the commands can take a +%% pointer to an array of such values. +%% +%% Additional capitalized letters can indicate further alterations to the default behavior +%% of the glVertexAttrib function: +%% +%% The commands containing `N' indicate that the arguments will be passed as fixed-point +%% values that are scaled to a normalized range according to the component conversion rules +%% defined by the OpenGL specification. Signed values are understood to represent fixed-point +%% values in the range [-1,1], and unsigned values are understood to represent fixed-point +%% values in the range [0,1]. +%% +%% The commands containing `I' indicate that the arguments are extended to full signed +%% or unsigned integers. +%% +%% The commands containing `P' indicate that the arguments are stored as packed components +%% within a larger natural type. +%% +%% The commands containing `L' indicate that the arguments are full 64-bit quantities +%% and should be passed directly to shader inputs declared as 64-bit double precision types. +%% +%% +%% OpenGL Shading Language attribute variables are allowed to be of type mat2, mat3, or mat4. +%% Attributes of these types may be loaded using the ``gl:vertexAttrib'' entry points. +%% Matrices must be loaded into successive generic attribute slots in column major order, +%% with one column of the matrix in each generic attribute slot. +%% +%% A user-defined attribute variable declared in a vertex shader can be bound to a generic +%% attribute index by calling {@link gl:bindAttribLocation/3} . This allows an application +%% to use more descriptive variable names in a vertex shader. A subsequent change to the +%% specified generic vertex attribute will be immediately reflected as a change to the corresponding +%% attribute variable in the vertex shader. +%% +%% The binding between a generic vertex attribute index and a user-defined attribute variable +%% in a vertex shader is part of the state of a program object, but the current value of +%% the generic vertex attribute is not. The value of each generic vertex attribute is part +%% of current state, just like standard vertex attributes, and it is maintained even if a +%% different program object is used. +%% +%% An application may freely modify generic vertex attributes that are not bound to a named +%% vertex shader attribute variable. These values are simply maintained as part of current +%% state and will not be accessed by the vertex shader. If a generic vertex attribute bound +%% to an attribute variable in a vertex shader is not updated while the vertex shader is +%% executing, the vertex shader will repeatedly use the current value for the generic vertex +%% attribute. +%% +%% See external documentation. +-spec vertexAttrib1d(Index, X) -> ok when Index :: integer(),X :: float(). vertexAttrib1d(Index,X) -> cast(5495, <>). -%% @spec (Index,{X}) -> ok %% @equiv vertexAttrib1d(Index,X) --spec vertexAttrib1dv(integer(),{float()}) -> ok. +-spec vertexAttrib1dv(Index :: integer(),V) -> ok when V :: {X :: float()}. vertexAttrib1dv(Index,{X}) -> vertexAttrib1d(Index,X). -%% @spec (Index::integer(),X::float()) -> ok -%% @doc See external documentation. --spec vertexAttrib1f(integer(),float()) -> ok. +%% @doc +%% See {@link vertexAttrib1d/2} +-spec vertexAttrib1f(Index, X) -> ok when Index :: integer(),X :: float(). vertexAttrib1f(Index,X) -> cast(5496, <>). -%% @spec (Index,{X}) -> ok %% @equiv vertexAttrib1f(Index,X) --spec vertexAttrib1fv(integer(),{float()}) -> ok. +-spec vertexAttrib1fv(Index :: integer(),V) -> ok when V :: {X :: float()}. vertexAttrib1fv(Index,{X}) -> vertexAttrib1f(Index,X). -%% @spec (Index::integer(),X::integer()) -> ok -%% @doc See external documentation. --spec vertexAttrib1s(integer(),integer()) -> ok. +%% @doc +%% See {@link vertexAttrib1d/2} +-spec vertexAttrib1s(Index, X) -> ok when Index :: integer(),X :: integer(). vertexAttrib1s(Index,X) -> cast(5497, <>). -%% @spec (Index,{X}) -> ok %% @equiv vertexAttrib1s(Index,X) --spec vertexAttrib1sv(integer(),{integer()}) -> ok. +-spec vertexAttrib1sv(Index :: integer(),V) -> ok when V :: {X :: integer()}. vertexAttrib1sv(Index,{X}) -> vertexAttrib1s(Index,X). -%% @spec (Index::integer(),X::float(),Y::float()) -> ok -%% @doc See external documentation. --spec vertexAttrib2d(integer(),float(),float()) -> ok. +%% @doc +%% See {@link vertexAttrib1d/2} +-spec vertexAttrib2d(Index, X, Y) -> ok when Index :: integer(),X :: float(),Y :: float(). vertexAttrib2d(Index,X,Y) -> cast(5498, <>). -%% @spec (Index,{X,Y}) -> ok %% @equiv vertexAttrib2d(Index,X,Y) --spec vertexAttrib2dv(integer(),{float(),float()}) -> ok. +-spec vertexAttrib2dv(Index :: integer(),V) -> ok when V :: {X :: float(),Y :: float()}. vertexAttrib2dv(Index,{X,Y}) -> vertexAttrib2d(Index,X,Y). -%% @spec (Index::integer(),X::float(),Y::float()) -> ok -%% @doc See external documentation. --spec vertexAttrib2f(integer(),float(),float()) -> ok. +%% @doc +%% See {@link vertexAttrib1d/2} +-spec vertexAttrib2f(Index, X, Y) -> ok when Index :: integer(),X :: float(),Y :: float(). vertexAttrib2f(Index,X,Y) -> cast(5499, <>). -%% @spec (Index,{X,Y}) -> ok %% @equiv vertexAttrib2f(Index,X,Y) --spec vertexAttrib2fv(integer(),{float(),float()}) -> ok. +-spec vertexAttrib2fv(Index :: integer(),V) -> ok when V :: {X :: float(),Y :: float()}. vertexAttrib2fv(Index,{X,Y}) -> vertexAttrib2f(Index,X,Y). -%% @spec (Index::integer(),X::integer(),Y::integer()) -> ok -%% @doc See external documentation. --spec vertexAttrib2s(integer(),integer(),integer()) -> ok. +%% @doc +%% See {@link vertexAttrib1d/2} +-spec vertexAttrib2s(Index, X, Y) -> ok when Index :: integer(),X :: integer(),Y :: integer(). vertexAttrib2s(Index,X,Y) -> cast(5500, <>). -%% @spec (Index,{X,Y}) -> ok %% @equiv vertexAttrib2s(Index,X,Y) --spec vertexAttrib2sv(integer(),{integer(),integer()}) -> ok. +-spec vertexAttrib2sv(Index :: integer(),V) -> ok when V :: {X :: integer(),Y :: integer()}. vertexAttrib2sv(Index,{X,Y}) -> vertexAttrib2s(Index,X,Y). -%% @spec (Index::integer(),X::float(),Y::float(),Z::float()) -> ok -%% @doc See external documentation. --spec vertexAttrib3d(integer(),float(),float(),float()) -> ok. +%% @doc +%% See {@link vertexAttrib1d/2} +-spec vertexAttrib3d(Index, X, Y, Z) -> ok when Index :: integer(),X :: float(),Y :: float(),Z :: float(). vertexAttrib3d(Index,X,Y,Z) -> cast(5501, <>). -%% @spec (Index,{X,Y,Z}) -> ok %% @equiv vertexAttrib3d(Index,X,Y,Z) --spec vertexAttrib3dv(integer(),{float(),float(),float()}) -> ok. +-spec vertexAttrib3dv(Index :: integer(),V) -> ok when V :: {X :: float(),Y :: float(),Z :: float()}. vertexAttrib3dv(Index,{X,Y,Z}) -> vertexAttrib3d(Index,X,Y,Z). -%% @spec (Index::integer(),X::float(),Y::float(),Z::float()) -> ok -%% @doc See external documentation. --spec vertexAttrib3f(integer(),float(),float(),float()) -> ok. +%% @doc +%% See {@link vertexAttrib1d/2} +-spec vertexAttrib3f(Index, X, Y, Z) -> ok when Index :: integer(),X :: float(),Y :: float(),Z :: float(). vertexAttrib3f(Index,X,Y,Z) -> cast(5502, <>). -%% @spec (Index,{X,Y,Z}) -> ok %% @equiv vertexAttrib3f(Index,X,Y,Z) --spec vertexAttrib3fv(integer(),{float(),float(),float()}) -> ok. +-spec vertexAttrib3fv(Index :: integer(),V) -> ok when V :: {X :: float(),Y :: float(),Z :: float()}. vertexAttrib3fv(Index,{X,Y,Z}) -> vertexAttrib3f(Index,X,Y,Z). -%% @spec (Index::integer(),X::integer(),Y::integer(),Z::integer()) -> ok -%% @doc See external documentation. --spec vertexAttrib3s(integer(),integer(),integer(),integer()) -> ok. +%% @doc +%% See {@link vertexAttrib1d/2} +-spec vertexAttrib3s(Index, X, Y, Z) -> ok when Index :: integer(),X :: integer(),Y :: integer(),Z :: integer(). vertexAttrib3s(Index,X,Y,Z) -> cast(5503, <>). -%% @spec (Index,{X,Y,Z}) -> ok %% @equiv vertexAttrib3s(Index,X,Y,Z) --spec vertexAttrib3sv(integer(),{integer(),integer(),integer()}) -> ok. +-spec vertexAttrib3sv(Index :: integer(),V) -> ok when V :: {X :: integer(),Y :: integer(),Z :: integer()}. vertexAttrib3sv(Index,{X,Y,Z}) -> vertexAttrib3s(Index,X,Y,Z). -%% @spec (Index::integer(),V::{integer(),integer(),integer(),integer()}) -> ok -%% @doc See external documentation. --spec vertexAttrib4Nbv(integer(),{integer(),integer(),integer(),integer()}) -> ok. +%% @doc +%% See {@link vertexAttrib1d/2} +-spec vertexAttrib4Nbv(Index, V) -> ok when Index :: integer(),V :: {integer(),integer(),integer(),integer()}. vertexAttrib4Nbv(Index,{V1,V2,V3,V4}) -> cast(5504, <>). -%% @spec (Index::integer(),V::{integer(),integer(),integer(),integer()}) -> ok -%% @doc See external documentation. --spec vertexAttrib4Niv(integer(),{integer(),integer(),integer(),integer()}) -> ok. +%% @doc +%% See {@link vertexAttrib1d/2} +-spec vertexAttrib4Niv(Index, V) -> ok when Index :: integer(),V :: {integer(),integer(),integer(),integer()}. vertexAttrib4Niv(Index,{V1,V2,V3,V4}) -> cast(5505, <>). -%% @spec (Index::integer(),V::{integer(),integer(),integer(),integer()}) -> ok -%% @doc See external documentation. --spec vertexAttrib4Nsv(integer(),{integer(),integer(),integer(),integer()}) -> ok. +%% @doc +%% See {@link vertexAttrib1d/2} +-spec vertexAttrib4Nsv(Index, V) -> ok when Index :: integer(),V :: {integer(),integer(),integer(),integer()}. vertexAttrib4Nsv(Index,{V1,V2,V3,V4}) -> cast(5506, <>). -%% @spec (Index::integer(),X::integer(),Y::integer(),Z::integer(),W::integer()) -> ok -%% @doc See external documentation. --spec vertexAttrib4Nub(integer(),integer(),integer(),integer(),integer()) -> ok. +%% @doc +%% See {@link vertexAttrib1d/2} +-spec vertexAttrib4Nub(Index, X, Y, Z, W) -> ok when Index :: integer(),X :: integer(),Y :: integer(),Z :: integer(),W :: integer(). vertexAttrib4Nub(Index,X,Y,Z,W) -> cast(5507, <>). -%% @spec (Index,{X,Y,Z,W}) -> ok %% @equiv vertexAttrib4Nub(Index,X,Y,Z,W) --spec vertexAttrib4Nubv(integer(),{integer(),integer(),integer(),integer()}) -> ok. +-spec vertexAttrib4Nubv(Index :: integer(),V) -> ok when V :: {X :: integer(),Y :: integer(),Z :: integer(),W :: integer()}. vertexAttrib4Nubv(Index,{X,Y,Z,W}) -> vertexAttrib4Nub(Index,X,Y,Z,W). -%% @spec (Index::integer(),V::{integer(),integer(),integer(),integer()}) -> ok -%% @doc See external documentation. --spec vertexAttrib4Nuiv(integer(),{integer(),integer(),integer(),integer()}) -> ok. +%% @doc +%% See {@link vertexAttrib1d/2} +-spec vertexAttrib4Nuiv(Index, V) -> ok when Index :: integer(),V :: {integer(),integer(),integer(),integer()}. vertexAttrib4Nuiv(Index,{V1,V2,V3,V4}) -> cast(5508, <>). -%% @spec (Index::integer(),V::{integer(),integer(),integer(),integer()}) -> ok -%% @doc See external documentation. --spec vertexAttrib4Nusv(integer(),{integer(),integer(),integer(),integer()}) -> ok. +%% @doc +%% See {@link vertexAttrib1d/2} +-spec vertexAttrib4Nusv(Index, V) -> ok when Index :: integer(),V :: {integer(),integer(),integer(),integer()}. vertexAttrib4Nusv(Index,{V1,V2,V3,V4}) -> cast(5509, <>). -%% @spec (Index::integer(),V::{integer(),integer(),integer(),integer()}) -> ok -%% @doc See external documentation. --spec vertexAttrib4bv(integer(),{integer(),integer(),integer(),integer()}) -> ok. +%% @doc +%% See {@link vertexAttrib1d/2} +-spec vertexAttrib4bv(Index, V) -> ok when Index :: integer(),V :: {integer(),integer(),integer(),integer()}. vertexAttrib4bv(Index,{V1,V2,V3,V4}) -> cast(5510, <>). -%% @spec (Index::integer(),X::float(),Y::float(),Z::float(),W::float()) -> ok -%% @doc See external documentation. --spec vertexAttrib4d(integer(),float(),float(),float(),float()) -> ok. +%% @doc +%% See {@link vertexAttrib1d/2} +-spec vertexAttrib4d(Index, X, Y, Z, W) -> ok when Index :: integer(),X :: float(),Y :: float(),Z :: float(),W :: float(). vertexAttrib4d(Index,X,Y,Z,W) -> cast(5511, <>). -%% @spec (Index,{X,Y,Z,W}) -> ok %% @equiv vertexAttrib4d(Index,X,Y,Z,W) --spec vertexAttrib4dv(integer(),{float(),float(),float(),float()}) -> ok. +-spec vertexAttrib4dv(Index :: integer(),V) -> ok when V :: {X :: float(),Y :: float(),Z :: float(),W :: float()}. 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 external documentation. --spec vertexAttrib4f(integer(),float(),float(),float(),float()) -> ok. +%% @doc +%% See {@link vertexAttrib1d/2} +-spec vertexAttrib4f(Index, X, Y, Z, W) -> ok when Index :: integer(),X :: float(),Y :: float(),Z :: float(),W :: float(). vertexAttrib4f(Index,X,Y,Z,W) -> cast(5512, <>). -%% @spec (Index,{X,Y,Z,W}) -> ok %% @equiv vertexAttrib4f(Index,X,Y,Z,W) --spec vertexAttrib4fv(integer(),{float(),float(),float(),float()}) -> ok. +-spec vertexAttrib4fv(Index :: integer(),V) -> ok when V :: {X :: float(),Y :: float(),Z :: float(),W :: float()}. vertexAttrib4fv(Index,{X,Y,Z,W}) -> vertexAttrib4f(Index,X,Y,Z,W). -%% @spec (Index::integer(),V::{integer(),integer(),integer(),integer()}) -> ok -%% @doc See external documentation. --spec vertexAttrib4iv(integer(),{integer(),integer(),integer(),integer()}) -> ok. +%% @doc +%% See {@link vertexAttrib1d/2} +-spec vertexAttrib4iv(Index, V) -> ok when Index :: integer(),V :: {integer(),integer(),integer(),integer()}. vertexAttrib4iv(Index,{V1,V2,V3,V4}) -> cast(5513, <>). -%% @spec (Index::integer(),X::integer(),Y::integer(),Z::integer(),W::integer()) -> ok -%% @doc See external documentation. --spec vertexAttrib4s(integer(),integer(),integer(),integer(),integer()) -> ok. +%% @doc +%% See {@link vertexAttrib1d/2} +-spec vertexAttrib4s(Index, X, Y, Z, W) -> ok when Index :: integer(),X :: integer(),Y :: integer(),Z :: integer(),W :: integer(). vertexAttrib4s(Index,X,Y,Z,W) -> cast(5514, <>). -%% @spec (Index,{X,Y,Z,W}) -> ok %% @equiv vertexAttrib4s(Index,X,Y,Z,W) --spec vertexAttrib4sv(integer(),{integer(),integer(),integer(),integer()}) -> ok. +-spec vertexAttrib4sv(Index :: integer(),V) -> ok when V :: {X :: integer(),Y :: integer(),Z :: integer(),W :: integer()}. vertexAttrib4sv(Index,{X,Y,Z,W}) -> vertexAttrib4s(Index,X,Y,Z,W). -%% @spec (Index::integer(),V::{integer(),integer(),integer(),integer()}) -> ok -%% @doc See external documentation. --spec vertexAttrib4ubv(integer(),{integer(),integer(),integer(),integer()}) -> ok. +%% @doc +%% See {@link vertexAttrib1d/2} +-spec vertexAttrib4ubv(Index, V) -> ok when Index :: integer(),V :: {integer(),integer(),integer(),integer()}. vertexAttrib4ubv(Index,{V1,V2,V3,V4}) -> cast(5515, <>). -%% @spec (Index::integer(),V::{integer(),integer(),integer(),integer()}) -> ok -%% @doc See external documentation. --spec vertexAttrib4uiv(integer(),{integer(),integer(),integer(),integer()}) -> ok. +%% @doc +%% See {@link vertexAttrib1d/2} +-spec vertexAttrib4uiv(Index, V) -> ok when Index :: integer(),V :: {integer(),integer(),integer(),integer()}. vertexAttrib4uiv(Index,{V1,V2,V3,V4}) -> cast(5516, <>). -%% @spec (Index::integer(),V::{integer(),integer(),integer(),integer()}) -> ok -%% @doc See external documentation. --spec vertexAttrib4usv(integer(),{integer(),integer(),integer(),integer()}) -> ok. +%% @doc +%% See {@link vertexAttrib1d/2} +-spec vertexAttrib4usv(Index, V) -> ok when Index :: integer(),V :: {integer(),integer(),integer(),integer()}. vertexAttrib4usv(Index,{V1,V2,V3,V4}) -> cast(5517, <>). -%% @spec (Index::integer(),Size::integer(),Type::enum(),Normalized::0|1,Stride::integer(),Pointer::offset()|mem()) -> ok -%% @doc See external documentation. --spec vertexAttribPointer(integer(),integer(),enum(),0|1,integer(),offset()|mem()) -> ok. +%% @doc Define an array of generic vertex attribute data +%% +%% ``gl:vertexAttribPointer'', ``gl:vertexAttribIPointer'' and ``gl:vertexAttribLPointer'' +%% specify the location and data format of the array of generic vertex attributes at index `Index' +%% to use when rendering. `Size' specifies the number of components per attribute and +%% must be 1, 2, 3, 4, or `?GL_BGRA'. `Type' specifies the data type of each component, +%% and `Stride' specifies the byte stride from one attribute to the next, allowing vertices +%% and attributes to be packed into a single array or stored in separate arrays. +%% +%% For ``gl:vertexAttribPointer'', if `Normalized' is set to `?GL_TRUE', it +%% indicates that values stored in an integer format are to be mapped to the range [-1,1] +%% (for signed values) or [0,1] (for unsigned values) when they are accessed and converted +%% to floating point. Otherwise, values will be converted to floats directly without normalization. +%% +%% +%% For ``gl:vertexAttribIPointer'', only the integer types `?GL_BYTE', `?GL_UNSIGNED_BYTE' +%% , `?GL_SHORT', `?GL_UNSIGNED_SHORT', `?GL_INT', `?GL_UNSIGNED_INT' +%% are accepted. Values are always left as integer values. +%% +%% ``gl:vertexAttribLPointer'' specifies state for a generic vertex attribute array associated +%% with a shader attribute variable declared with 64-bit double precision components. `Type' +%% must be `?GL_DOUBLE'. `Index' , `Size' , and `Stride' behave as described +%% for ``gl:vertexAttribPointer'' and ``gl:vertexAttribIPointer''. +%% +%% If `Pointer' is not NULL, a non-zero named buffer object must be bound to the `?GL_ARRAY_BUFFER' +%% target (see {@link gl:bindBuffer/2} ), otherwise an error is generated. `Pointer' +%% is treated as a byte offset into the buffer object's data store. The buffer object binding +%% (`?GL_ARRAY_BUFFER_BINDING') is saved as generic vertex attribute array state (`?GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING' +%% ) for index `Index' . +%% +%% When a generic vertex attribute array is specified, `Size' , `Type' , `Normalized' +%% , `Stride' , and `Pointer' are saved as vertex array state, in addition to the +%% current vertex array buffer object binding. +%% +%% To enable and disable a generic vertex attribute array, call {@link gl:disableVertexAttribArray/1} +%% and {@link gl:disableVertexAttribArray/1} with `Index' . If enabled, the generic vertex +%% attribute array is used when {@link gl:drawArrays/3} , {@link gl:multiDrawArrays/3} , {@link gl:drawElements/4} +%% , see `glMultiDrawElements', or {@link gl:drawRangeElements/6} is called. +%% +%% See external documentation. +-spec vertexAttribPointer(Index, Size, Type, Normalized, Stride, Pointer) -> ok when Index :: integer(),Size :: integer(),Type :: enum(),Normalized :: 0|1,Stride :: integer(),Pointer :: offset()|mem(). vertexAttribPointer(Index,Size,Type,Normalized,Stride,Pointer) when is_integer(Pointer) -> cast(5518, <>); vertexAttribPointer(Index,Size,Type,Normalized,Stride,Pointer) -> send_bin(Pointer), cast(5519, <>). -%% @spec (Location::integer(),Transpose::0|1,Value::[{float(),float(),float(),float(),float(),float()}]) -> ok -%% @doc See external documentation. --spec uniformMatrix2x3fv(integer(),0|1,[{float(),float(),float(),float(),float(),float()}]) -> ok. +%% @doc +%% See {@link uniform1f/2} +-spec uniformMatrix2x3fv(Location, Transpose, Value) -> ok when Location :: integer(),Transpose :: 0|1,Value :: [{float(),float(),float(),float(),float(),float()}]. uniformMatrix2x3fv(Location,Transpose,Value) -> cast(5520, <> || {V1,V2,V3,V4,V5,V6} <- Value>>)/binary>>). -%% @spec (Location::integer(),Transpose::0|1,Value::[{float(),float(),float(),float(),float(),float()}]) -> ok -%% @doc See external documentation. --spec uniformMatrix3x2fv(integer(),0|1,[{float(),float(),float(),float(),float(),float()}]) -> ok. +%% @doc +%% See {@link uniform1f/2} +-spec uniformMatrix3x2fv(Location, Transpose, Value) -> ok when Location :: integer(),Transpose :: 0|1,Value :: [{float(),float(),float(),float(),float(),float()}]. uniformMatrix3x2fv(Location,Transpose,Value) -> cast(5521, <> || {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 external documentation. --spec uniformMatrix2x4fv(integer(),0|1,[{float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok. +%% @doc +%% See {@link uniform1f/2} +-spec uniformMatrix2x4fv(Location, Transpose, Value) -> ok when Location :: integer(),Transpose :: 0|1,Value :: [{float(),float(),float(),float(),float(),float(),float(),float()}]. uniformMatrix2x4fv(Location,Transpose,Value) -> cast(5522, <> || {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()}]) -> ok -%% @doc See external documentation. --spec uniformMatrix4x2fv(integer(),0|1,[{float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok. +%% @doc +%% See {@link uniform1f/2} +-spec uniformMatrix4x2fv(Location, Transpose, Value) -> ok when Location :: integer(),Transpose :: 0|1,Value :: [{float(),float(),float(),float(),float(),float(),float(),float()}]. uniformMatrix4x2fv(Location,Transpose,Value) -> cast(5523, <> || {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 external documentation. --spec uniformMatrix3x4fv(integer(),0|1,[{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok. +%% @doc +%% See {@link uniform1f/2} +-spec uniformMatrix3x4fv(Location, Transpose, Value) -> ok when Location :: integer(),Transpose :: 0|1,Value :: [{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}]. uniformMatrix3x4fv(Location,Transpose,Value) -> cast(5524, <> || {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(),float(),float(),float(),float()}]) -> ok -%% @doc See external documentation. --spec uniformMatrix4x3fv(integer(),0|1,[{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok. +%% @doc +%% See {@link uniform1f/2} +-spec uniformMatrix4x3fv(Location, Transpose, Value) -> ok when Location :: integer(),Transpose :: 0|1,Value :: [{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}]. uniformMatrix4x3fv(Location,Transpose,Value) -> cast(5525, <> || {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 external documentation. --spec colorMaski(integer(),0|1,0|1,0|1,0|1) -> ok. +%% @doc glColorMaski +%% +%% See external documentation. +-spec colorMaski(Index, R, G, B, A) -> ok when Index :: integer(),R :: 0|1,G :: 0|1,B :: 0|1,A :: 0|1. colorMaski(Index,R,G,B,A) -> cast(5526, <>). -%% @spec (Target::enum(),Index::integer()) -> [0|1] -%% @doc See external documentation. --spec getBooleani_v(enum(),integer()) -> [0|1]. +%% @doc +%% See {@link getBooleanv/1} +-spec getBooleani_v(Target, Index) -> [0|1] when Target :: enum(),Index :: integer(). getBooleani_v(Target,Index) -> call(5527, <>). -%% @spec (Target::enum(),Index::integer()) -> [integer()] -%% @doc See external documentation. --spec getIntegeri_v(enum(),integer()) -> [integer()]. +%% @doc +%% See {@link getBooleanv/1} +-spec getIntegeri_v(Target, Index) -> [integer()] when Target :: enum(),Index :: integer(). getIntegeri_v(Target,Index) -> call(5528, <>). -%% @spec (Target::enum(),Index::integer()) -> ok -%% @doc See external documentation. --spec enablei(enum(),integer()) -> ok. +%% @doc +%% See {@link enable/1} +-spec enablei(Target, Index) -> ok when Target :: enum(),Index :: integer(). enablei(Target,Index) -> cast(5529, <>). -%% @spec (Target::enum(),Index::integer()) -> ok -%% @doc See external documentation. --spec disablei(enum(),integer()) -> ok. +%% @doc glEnablei +%% +%% See external documentation. +-spec disablei(Target, Index) -> ok when Target :: enum(),Index :: integer(). disablei(Target,Index) -> cast(5530, <>). -%% @spec (Target::enum(),Index::integer()) -> 0|1 -%% @doc See external documentation. --spec isEnabledi(enum(),integer()) -> 0|1. +%% @doc glIsEnabledi +%% +%% See external documentation. +-spec isEnabledi(Target, Index) -> 0|1 when Target :: enum(),Index :: integer(). isEnabledi(Target,Index) -> call(5531, <>). -%% @spec (PrimitiveMode::enum()) -> ok -%% @doc See external documentation. --spec beginTransformFeedback(enum()) -> ok. +%% @doc Start transform feedback operation +%% +%% Transform feedback mode captures the values of varying variables written by the vertex +%% shader (or, if active, the geometry shader). Transform feedback is said to be active after +%% a call to ``gl:beginTransformFeedback'' until a subsequent call to {@link gl:beginTransformFeedback/1} +%% . Transform feedback commands must be paired. +%% +%% If no geometry shader is present, while transform feedback is active the `Mode' +%% parameter to {@link gl:drawArrays/3} must match those specified in the following table: +%% +%%
` Transform Feedback ' `PrimitiveMode' ` Allowed Render Primitive ' +%% `Modes'
`?GL_POINTS'`?GL_POINTS'
`?GL_LINES'`?GL_LINES', `?GL_LINE_LOOP', `?GL_LINE_STRIP' +%% , `?GL_LINES_ADJACENCY', `?GL_LINE_STRIP_ADJACENCY'
`?GL_TRIANGLES' +%% `?GL_TRIANGLES', `?GL_TRIANGLE_STRIP', `?GL_TRIANGLE_FAN', `?GL_TRIANGLES_ADJACENCY' +%% , `?GL_TRIANGLE_STRIP_ADJACENCY'
+%% +%% If a geometry shader is present, the output primitive type from the geometry shader must +%% match those provided in the following table: +%%
` Transform Feedback ' +%% `PrimitiveMode' ` Allowed Geometry Shader Output Primitive Type '
`?GL_POINTS'`?points'
`?GL_LINES' +%% `?line_strip'
`?GL_TRIANGLES'`?triangle_strip' +%%
+%% +%% See external documentation. +-spec beginTransformFeedback(PrimitiveMode) -> ok when PrimitiveMode :: enum(). beginTransformFeedback(PrimitiveMode) -> cast(5532, <>). -%% @spec () -> ok -%% @doc See external documentation. +%% @doc +%% See {@link beginTransformFeedback/1} -spec endTransformFeedback() -> ok. endTransformFeedback() -> cast(5533, <<>>). -%% @spec (Target::enum(),Index::integer(),Buffer::integer(),Offset::integer(),Size::integer()) -> ok -%% @doc See external documentation. --spec bindBufferRange(enum(),integer(),integer(),integer(),integer()) -> ok. +%% @doc Bind a range within a buffer object to an indexed buffer target +%% +%% ``gl:bindBufferRange'' binds a range the buffer object `Buffer' represented by `Offset' +%% and `Size' to the binding point at index `Index' of the array of targets specified +%% by `Target' . Each `Target' represents an indexed array of buffer binding points, +%% as well as a single general binding point that can be used by other buffer manipulation +%% functions such as {@link gl:bindBuffer/2} or see `glMapBuffer'. In addition to binding +%% a range of `Buffer' to the indexed buffer binding target, ``gl:bindBufferBase'' +%% also binds the range to the generic buffer binding point specified by `Target' . +%% +%% `Offset' specifies the offset in basic machine units into the buffer object `Buffer' +%% and `Size' specifies the amount of data that can be read from the buffer object +%% while used as an indexed target. +%% +%% See external documentation. +-spec bindBufferRange(Target, Index, Buffer, Offset, Size) -> ok when Target :: enum(),Index :: integer(),Buffer :: integer(),Offset :: integer(),Size :: integer(). bindBufferRange(Target,Index,Buffer,Offset,Size) -> cast(5534, <>). -%% @spec (Target::enum(),Index::integer(),Buffer::integer()) -> ok -%% @doc See external documentation. --spec bindBufferBase(enum(),integer(),integer()) -> ok. +%% @doc Bind a buffer object to an indexed buffer target +%% +%% ``gl:bindBufferBase'' binds the buffer object `Buffer' to the binding point at +%% index `Index' of the array of targets specified by `Target' . Each `Target' +%% represents an indexed array of buffer binding points, as well as a single general binding +%% point that can be used by other buffer manipulation functions such as {@link gl:bindBuffer/2} +%% or see `glMapBuffer'. In addition to binding `Buffer' to the indexed buffer +%% binding target, ``gl:bindBufferBase'' also binds `Buffer' to the generic buffer +%% binding point specified by `Target' . +%% +%% See external documentation. +-spec bindBufferBase(Target, Index, Buffer) -> ok when Target :: enum(),Index :: integer(),Buffer :: integer(). bindBufferBase(Target,Index,Buffer) -> cast(5535, <>). -%% @spec (Program::integer(),Varyings::[string()],BufferMode::enum()) -> ok -%% @doc See external documentation. --spec transformFeedbackVaryings(integer(),[string()],enum()) -> ok. +%% @doc Specify values to record in transform feedback buffers +%% +%% The names of the vertex or geometry shader outputs to be recorded in transform feedback +%% mode are specified using ``gl:transformFeedbackVaryings''. When a geometry shader is +%% active, transform feedback records the values of selected geometry shader output variables +%% from the emitted vertices. Otherwise, the values of the selected vertex shader outputs +%% are recorded. +%% +%% The state set by ``gl:tranformFeedbackVaryings'' is stored and takes effect next time {@link gl:linkProgram/1} +%% is called on `Program' . When {@link gl:linkProgram/1} is called, `Program' is +%% linked so that the values of the specified varying variables for the vertices of each +%% primitive generated by the GL are written to a single buffer object if `BufferMode' +%% is `?GL_INTERLEAVED_ATTRIBS' or multiple buffer objects if `BufferMode' is `?GL_SEPARATE_ATTRIBS' +%% . +%% +%% In addition to the errors generated by ``gl:transformFeedbackVaryings'', the program `Program' +%% will fail to link if: +%% +%% The count specified by ``gl:transformFeedbackVaryings'' is non-zero, but the program +%% object has no vertex or geometry shader. +%% +%% Any variable name specified in the `Varyings' array is not declared as an output +%% in the vertex shader (or the geometry shader, if active). +%% +%% Any two entries in the `Varyings' array specify the same varying variable. +%% +%% The total number of components to capture in any varying variable in `Varyings' +%% is greater than the constant `?GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS' and +%% the buffer mode is `?GL_SEPARATE_ATTRIBS'. +%% +%% The total number of components to capture is greater than the constant `?GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS' +%% and the buffer mode is `?GL_INTERLEAVED_ATTRIBS'. +%% +%% See external documentation. +-spec transformFeedbackVaryings(Program, Varyings, BufferMode) -> ok when Program :: integer(),Varyings :: [string()],BufferMode :: enum(). transformFeedbackVaryings(Program,Varyings,BufferMode) -> VaryingsTemp = list_to_binary([[Str|[0]] || Str <- Varyings ]), cast(5536, <>). -%% @spec (Program::integer(),Index::integer(),BufSize::integer()) -> {Size::integer(),Type::enum(),Name::string()} -%% @doc See external documentation. --spec getTransformFeedbackVarying(integer(),integer(),integer()) -> {integer(),enum(),string()}. +%% @doc Retrieve information about varying variables selected for transform feedback +%% +%% Information about the set of varying variables in a linked program that will be captured +%% during transform feedback may be retrieved by calling ``gl:getTransformFeedbackVarying''. +%% ``gl:getTransformFeedbackVarying'' provides information about the varying variable selected +%% by `Index' . An `Index' of 0 selects the first varying variable specified in +%% the `Varyings' array passed to {@link gl:transformFeedbackVaryings/3} , and an `Index' +%% of `?GL_TRANSFORM_FEEDBACK_VARYINGS-1' selects the last such variable. +%% +%% The name of the selected varying is returned as a null-terminated string in `Name' . +%% The actual number of characters written into `Name' , excluding the null terminator, +%% is returned in `Length' . If `Length' is NULL, no length is returned. The maximum +%% number of characters that may be written into `Name' , including the null terminator, +%% is specified by `BufSize' . +%% +%% The length of the longest varying name in program is given by `?GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH' +%% , which can be queried with {@link gl:getProgramiv/2} . +%% +%% For the selected varying variable, its type is returned into `Type' . The size of +%% the varying is returned into `Size' . The value in `Size' is in units of the +%% type returned in `Type' . The type returned can be any of the scalar, vector, or matrix +%% attribute types returned by {@link gl:getActiveAttrib/3} . If an error occurred, the return +%% parameters `Length' , `Size' , `Type' and `Name' will be unmodified. +%% This command will return as much information about the varying variables as possible. +%% If no information is available, `Length' will be set to zero and `Name' will +%% be an empty string. This situation could arise if ``gl:getTransformFeedbackVarying'' +%% is called after a failed link. +%% +%% See external documentation. +-spec getTransformFeedbackVarying(Program, Index, BufSize) -> {Size :: integer(),Type :: enum(),Name :: string()} when Program :: integer(),Index :: integer(),BufSize :: integer(). getTransformFeedbackVarying(Program,Index,BufSize) -> call(5537, <>). -%% @spec (Target::enum(),Clamp::enum()) -> ok -%% @doc See external documentation. --spec clampColor(enum(),enum()) -> ok. +%% @doc specify whether data read via +%% +%% {@link gl:readPixels/7} should be clamped +%% +%% ``gl:clampColor'' controls color clamping that is performed during {@link gl:readPixels/7} +%% . `Target' must be `?GL_CLAMP_READ_COLOR'. If `Clamp' is `?GL_TRUE', +%% read color clamping is enabled; if `Clamp' is `?GL_FALSE', read color clamping +%% is disabled. If `Clamp' is `?GL_FIXED_ONLY', read color clamping is enabled +%% only if the selected read buffer has fixed point components and disabled otherwise. +%% +%% See external documentation. +-spec clampColor(Target, Clamp) -> ok when Target :: enum(),Clamp :: enum(). clampColor(Target,Clamp) -> cast(5538, <>). -%% @spec (Id::integer(),Mode::enum()) -> ok -%% @doc See external documentation. --spec beginConditionalRender(integer(),enum()) -> ok. +%% @doc Start conditional rendering +%% +%% Conditional rendering is started using ``gl:beginConditionalRender'' and ended using ``gl:endConditionalRender'' +%% . During conditional rendering, all vertex array commands, as well as {@link gl:clear/1} +%% and {@link gl:clearBufferiv/3} have no effect if the (`?GL_SAMPLES_PASSED') result of +%% the query object `Id' is zero, or if the (`?GL_ANY_SAMPLES_PASSED') result is `?GL_FALSE' +%% . The results of commands setting the current vertex state, such as {@link gl:vertexAttrib1d/2} +%% are undefined. If the (`?GL_SAMPLES_PASSED') result is non-zero or if the (`?GL_ANY_SAMPLES_PASSED' +%% ) result is `?GL_TRUE', such commands are not discarded. The `Id' parameter to ``gl:beginConditionalRender'' +%% must be the name of a query object previously returned from a call to {@link gl:genQueries/1} +%% . `Mode' specifies how the results of the query object are to be interpreted. If `Mode' +%% is `?GL_QUERY_WAIT', the GL waits for the results of the query to be available and +%% then uses the results to determine if subsequent rendering commands are discarded. If `Mode' +%% is `?GL_QUERY_NO_WAIT', the GL may choose to unconditionally execute the subsequent +%% rendering commands without waiting for the query to complete. +%% +%% If `Mode' is `?GL_QUERY_BY_REGION_WAIT', the GL will also wait for occlusion +%% query results and discard rendering commands if the result of the occlusion query is zero. +%% If the query result is non-zero, subsequent rendering commands are executed, but the GL +%% may discard the results of the commands for any region of the framebuffer that did not +%% contribute to the sample count in the specified occlusion query. Any such discarding is +%% done in an implementation-dependent manner, but the rendering command results may not +%% be discarded for any samples that contributed to the occlusion query sample count. If `Mode' +%% is `?GL_QUERY_BY_REGION_NO_WAIT', the GL operates as in `?GL_QUERY_BY_REGION_WAIT' +%% , but may choose to unconditionally execute the subsequent rendering commands without +%% waiting for the query to complete. +%% +%% See external documentation. +-spec beginConditionalRender(Id, Mode) -> ok when Id :: integer(),Mode :: enum(). beginConditionalRender(Id,Mode) -> cast(5539, <>). -%% @spec () -> ok -%% @doc See external documentation. +%% @doc +%% See {@link beginConditionalRender/2} -spec endConditionalRender() -> ok. endConditionalRender() -> cast(5540, <<>>). -%% @spec (Index::integer(),Size::integer(),Type::enum(),Stride::integer(),Pointer::offset()|mem()) -> ok -%% @doc See external documentation. --spec vertexAttribIPointer(integer(),integer(),enum(),integer(),offset()|mem()) -> ok. +%% @doc glVertexAttribIPointer +%% +%% See external documentation. +-spec vertexAttribIPointer(Index, Size, Type, Stride, Pointer) -> ok when Index :: integer(),Size :: integer(),Type :: enum(),Stride :: integer(),Pointer :: offset()|mem(). vertexAttribIPointer(Index,Size,Type,Stride,Pointer) when is_integer(Pointer) -> cast(5541, <>); vertexAttribIPointer(Index,Size,Type,Stride,Pointer) -> send_bin(Pointer), cast(5542, <>). -%% @spec (Index::integer(),Pname::enum()) -> {integer(),integer(),integer(),integer()} -%% @doc See external documentation. --spec getVertexAttribIiv(integer(),enum()) -> {integer(),integer(),integer(),integer()}. +%% @doc +%% See {@link getVertexAttribdv/2} +-spec getVertexAttribIiv(Index, Pname) -> {integer(),integer(),integer(),integer()} when Index :: integer(),Pname :: enum(). getVertexAttribIiv(Index,Pname) -> call(5543, <>). -%% @spec (Index::integer(),Pname::enum()) -> {integer(),integer(),integer(),integer()} -%% @doc See external documentation. --spec getVertexAttribIuiv(integer(),enum()) -> {integer(),integer(),integer(),integer()}. +%% @doc glGetVertexAttribI +%% +%% See external documentation. +-spec getVertexAttribIuiv(Index, Pname) -> {integer(),integer(),integer(),integer()} when Index :: integer(),Pname :: enum(). getVertexAttribIuiv(Index,Pname) -> call(5544, <>). -%% @spec (Index::integer(),X::integer()) -> ok -%% @doc See external documentation. --spec vertexAttribI1i(integer(),integer()) -> ok. +%% @doc +%% See {@link vertexAttrib1d/2} +-spec vertexAttribI1i(Index, X) -> ok when Index :: integer(),X :: integer(). vertexAttribI1i(Index,X) -> cast(5545, <>). -%% @spec (Index::integer(),X::integer(),Y::integer()) -> ok -%% @doc See external documentation. --spec vertexAttribI2i(integer(),integer(),integer()) -> ok. +%% @doc +%% See {@link vertexAttrib1d/2} +-spec vertexAttribI2i(Index, X, Y) -> ok when Index :: integer(),X :: integer(),Y :: integer(). vertexAttribI2i(Index,X,Y) -> cast(5546, <>). -%% @spec (Index::integer(),X::integer(),Y::integer(),Z::integer()) -> ok -%% @doc See external documentation. --spec vertexAttribI3i(integer(),integer(),integer(),integer()) -> ok. +%% @doc +%% See {@link vertexAttrib1d/2} +-spec vertexAttribI3i(Index, X, Y, Z) -> ok when Index :: integer(),X :: integer(),Y :: integer(),Z :: integer(). vertexAttribI3i(Index,X,Y,Z) -> cast(5547, <>). -%% @spec (Index::integer(),X::integer(),Y::integer(),Z::integer(),W::integer()) -> ok -%% @doc See external documentation. --spec vertexAttribI4i(integer(),integer(),integer(),integer(),integer()) -> ok. +%% @doc +%% See {@link vertexAttrib1d/2} +-spec vertexAttribI4i(Index, X, Y, Z, W) -> ok when Index :: integer(),X :: integer(),Y :: integer(),Z :: integer(),W :: integer(). vertexAttribI4i(Index,X,Y,Z,W) -> cast(5548, <>). -%% @spec (Index::integer(),X::integer()) -> ok -%% @doc See external documentation. --spec vertexAttribI1ui(integer(),integer()) -> ok. +%% @doc +%% See {@link vertexAttrib1d/2} +-spec vertexAttribI1ui(Index, X) -> ok when Index :: integer(),X :: integer(). vertexAttribI1ui(Index,X) -> cast(5549, <>). -%% @spec (Index::integer(),X::integer(),Y::integer()) -> ok -%% @doc See external documentation. --spec vertexAttribI2ui(integer(),integer(),integer()) -> ok. +%% @doc +%% See {@link vertexAttrib1d/2} +-spec vertexAttribI2ui(Index, X, Y) -> ok when Index :: integer(),X :: integer(),Y :: integer(). vertexAttribI2ui(Index,X,Y) -> cast(5550, <>). -%% @spec (Index::integer(),X::integer(),Y::integer(),Z::integer()) -> ok -%% @doc See external documentation. --spec vertexAttribI3ui(integer(),integer(),integer(),integer()) -> ok. +%% @doc +%% See {@link vertexAttrib1d/2} +-spec vertexAttribI3ui(Index, X, Y, Z) -> ok when Index :: integer(),X :: integer(),Y :: integer(),Z :: integer(). vertexAttribI3ui(Index,X,Y,Z) -> cast(5551, <>). -%% @spec (Index::integer(),X::integer(),Y::integer(),Z::integer(),W::integer()) -> ok -%% @doc See external documentation. --spec vertexAttribI4ui(integer(),integer(),integer(),integer(),integer()) -> ok. +%% @doc +%% See {@link vertexAttrib1d/2} +-spec vertexAttribI4ui(Index, X, Y, Z, W) -> ok when Index :: integer(),X :: integer(),Y :: integer(),Z :: integer(),W :: integer(). vertexAttribI4ui(Index,X,Y,Z,W) -> cast(5552, <>). -%% @spec (Index,{X}) -> ok %% @equiv vertexAttribI1i(Index,X) --spec vertexAttribI1iv(integer(),{integer()}) -> ok. +-spec vertexAttribI1iv(Index :: integer(),V) -> ok when V :: {X :: integer()}. vertexAttribI1iv(Index,{X}) -> vertexAttribI1i(Index,X). -%% @spec (Index,{X,Y}) -> ok %% @equiv vertexAttribI2i(Index,X,Y) --spec vertexAttribI2iv(integer(),{integer(),integer()}) -> ok. +-spec vertexAttribI2iv(Index :: integer(),V) -> ok when V :: {X :: integer(),Y :: integer()}. 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. +-spec vertexAttribI3iv(Index :: integer(),V) -> ok when V :: {X :: integer(),Y :: integer(),Z :: integer()}. 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. +-spec vertexAttribI4iv(Index :: integer(),V) -> ok when V :: {X :: integer(),Y :: integer(),Z :: integer(),W :: integer()}. 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. +-spec vertexAttribI1uiv(Index :: integer(),V) -> ok when V :: {X :: integer()}. vertexAttribI1uiv(Index,{X}) -> vertexAttribI1ui(Index,X). -%% @spec (Index,{X,Y}) -> ok %% @equiv vertexAttribI2ui(Index,X,Y) --spec vertexAttribI2uiv(integer(),{integer(),integer()}) -> ok. +-spec vertexAttribI2uiv(Index :: integer(),V) -> ok when V :: {X :: integer(),Y :: integer()}. 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. +-spec vertexAttribI3uiv(Index :: integer(),V) -> ok when V :: {X :: integer(),Y :: integer(),Z :: integer()}. 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. +-spec vertexAttribI4uiv(Index :: integer(),V) -> ok when V :: {X :: integer(),Y :: integer(),Z :: integer(),W :: integer()}. vertexAttribI4uiv(Index,{X,Y,Z,W}) -> vertexAttribI4ui(Index,X,Y,Z,W). -%% @spec (Index::integer(),V::{integer(),integer(),integer(),integer()}) -> ok -%% @doc See external documentation. --spec vertexAttribI4bv(integer(),{integer(),integer(),integer(),integer()}) -> ok. +%% @doc +%% See {@link vertexAttrib1d/2} +-spec vertexAttribI4bv(Index, V) -> ok when Index :: integer(),V :: {integer(),integer(),integer(),integer()}. vertexAttribI4bv(Index,{V1,V2,V3,V4}) -> cast(5553, <>). -%% @spec (Index::integer(),V::{integer(),integer(),integer(),integer()}) -> ok -%% @doc See external documentation. --spec vertexAttribI4sv(integer(),{integer(),integer(),integer(),integer()}) -> ok. +%% @doc +%% See {@link vertexAttrib1d/2} +-spec vertexAttribI4sv(Index, V) -> ok when Index :: integer(),V :: {integer(),integer(),integer(),integer()}. vertexAttribI4sv(Index,{V1,V2,V3,V4}) -> cast(5554, <>). -%% @spec (Index::integer(),V::{integer(),integer(),integer(),integer()}) -> ok -%% @doc See external documentation. --spec vertexAttribI4ubv(integer(),{integer(),integer(),integer(),integer()}) -> ok. +%% @doc +%% See {@link vertexAttrib1d/2} +-spec vertexAttribI4ubv(Index, V) -> ok when Index :: integer(),V :: {integer(),integer(),integer(),integer()}. vertexAttribI4ubv(Index,{V1,V2,V3,V4}) -> cast(5555, <>). -%% @spec (Index::integer(),V::{integer(),integer(),integer(),integer()}) -> ok -%% @doc See external documentation. --spec vertexAttribI4usv(integer(),{integer(),integer(),integer(),integer()}) -> ok. +%% @doc +%% See {@link vertexAttrib1d/2} +-spec vertexAttribI4usv(Index, V) -> ok when Index :: integer(),V :: {integer(),integer(),integer(),integer()}. vertexAttribI4usv(Index,{V1,V2,V3,V4}) -> cast(5556, <>). -%% @spec (Program::integer(),Location::integer()) -> {integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer()} -%% @doc See external documentation. --spec getUniformuiv(integer(),integer()) -> {integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer()}. +%% @doc +%% See {@link getUniformfv/2} +-spec getUniformuiv(Program, Location) -> {integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer()} when Program :: integer(),Location :: integer(). getUniformuiv(Program,Location) -> call(5557, <>). -%% @spec (Program::integer(),Color::integer(),Name::string()) -> ok -%% @doc See external documentation. --spec bindFragDataLocation(integer(),integer(),string()) -> ok. +%% @doc Bind a user-defined varying out variable to a fragment shader color number +%% +%% ``gl:bindFragDataLocation'' explicitly specifies the binding of the user-defined varying +%% out variable `Name' to fragment shader color number `ColorNumber' for program `Program' +%% . If `Name' was bound previously, its assigned binding is replaced with `ColorNumber' +%% . `Name' must be a null-terminated string. `ColorNumber' must be less than `?GL_MAX_DRAW_BUFFERS' +%% . +%% +%% The bindings specified by ``gl:bindFragDataLocation'' have no effect until `Program' +%% is next linked. Bindings may be specified at any time after `Program' has been created. +%% Specifically, they may be specified before shader objects are attached to the program. +%% Therefore, any name may be specified in `Name' , including a name that is never used +%% as a varying out variable in any fragment shader object. Names beginning with `?gl_' +%% are reserved by the GL. +%% +%% In addition to the errors generated by ``gl:bindFragDataLocation'', the program `Program' +%% will fail to link if: +%% +%% The number of active outputs is greater than the value `?GL_MAX_DRAW_BUFFERS'. +%% +%% More than one varying out variable is bound to the same color number. +%% +%% See external documentation. +-spec bindFragDataLocation(Program, Color, Name) -> ok when Program :: integer(),Color :: integer(),Name :: string(). bindFragDataLocation(Program,Color,Name) -> cast(5558, <>). -%% @spec (Program::integer(),Name::string()) -> integer() -%% @doc See external documentation. --spec getFragDataLocation(integer(),string()) -> integer(). +%% @doc Query the bindings of color numbers to user-defined varying out variables +%% +%% ``gl:getFragDataLocation'' retrieves the assigned color number binding for the user-defined +%% varying out variable `Name' for program `Program' . `Program' must have +%% previously been linked. `Name' must be a null-terminated string. If `Name' is +%% not the name of an active user-defined varying out fragment shader variable within `Program' +%% , -1 will be returned. +%% +%% See external documentation. +-spec getFragDataLocation(Program, Name) -> integer() when Program :: integer(),Name :: string(). getFragDataLocation(Program,Name) -> call(5559, <>). -%% @spec (Location::integer(),V0::integer()) -> ok -%% @doc See external documentation. --spec uniform1ui(integer(),integer()) -> ok. +%% @doc +%% See {@link uniform1f/2} +-spec uniform1ui(Location, V0) -> ok when Location :: integer(),V0 :: integer(). uniform1ui(Location,V0) -> cast(5560, <>). -%% @spec (Location::integer(),V0::integer(),V1::integer()) -> ok -%% @doc See external documentation. --spec uniform2ui(integer(),integer(),integer()) -> ok. +%% @doc +%% See {@link uniform1f/2} +-spec uniform2ui(Location, V0, V1) -> ok when Location :: integer(),V0 :: integer(),V1 :: integer(). uniform2ui(Location,V0,V1) -> cast(5561, <>). -%% @spec (Location::integer(),V0::integer(),V1::integer(),V2::integer()) -> ok -%% @doc See external documentation. --spec uniform3ui(integer(),integer(),integer(),integer()) -> ok. +%% @doc +%% See {@link uniform1f/2} +-spec uniform3ui(Location, V0, V1, V2) -> ok when Location :: integer(),V0 :: integer(),V1 :: integer(),V2 :: integer(). uniform3ui(Location,V0,V1,V2) -> cast(5562, <>). -%% @spec (Location::integer(),V0::integer(),V1::integer(),V2::integer(),V3::integer()) -> ok -%% @doc See external documentation. --spec uniform4ui(integer(),integer(),integer(),integer(),integer()) -> ok. +%% @doc +%% See {@link uniform1f/2} +-spec uniform4ui(Location, V0, V1, V2, V3) -> ok when Location :: integer(),V0 :: integer(),V1 :: integer(),V2 :: integer(),V3 :: integer(). uniform4ui(Location,V0,V1,V2,V3) -> cast(5563, <>). -%% @spec (Location::integer(),Value::[integer()]) -> ok -%% @doc See external documentation. --spec uniform1uiv(integer(),[integer()]) -> ok. +%% @doc +%% See {@link uniform1f/2} +-spec uniform1uiv(Location, Value) -> ok when Location :: integer(),Value :: [integer()]. uniform1uiv(Location,Value) -> cast(5564, <> || C <- Value>>)/binary,0:(((length(Value)) rem 2)*32)>>). -%% @spec (Location::integer(),Value::[{integer(),integer()}]) -> ok -%% @doc See external documentation. --spec uniform2uiv(integer(),[{integer(),integer()}]) -> ok. +%% @doc +%% See {@link uniform1f/2} +-spec uniform2uiv(Location, Value) -> ok when Location :: integer(),Value :: [{integer(),integer()}]. uniform2uiv(Location,Value) -> cast(5565, <> || {V1,V2} <- Value>>)/binary>>). -%% @spec (Location::integer(),Value::[{integer(),integer(),integer()}]) -> ok -%% @doc See external documentation. --spec uniform3uiv(integer(),[{integer(),integer(),integer()}]) -> ok. +%% @doc +%% See {@link uniform1f/2} +-spec uniform3uiv(Location, Value) -> ok when Location :: integer(),Value :: [{integer(),integer(),integer()}]. uniform3uiv(Location,Value) -> cast(5566, <> || {V1,V2,V3} <- Value>>)/binary>>). -%% @spec (Location::integer(),Value::[{integer(),integer(),integer(),integer()}]) -> ok -%% @doc See external documentation. --spec uniform4uiv(integer(),[{integer(),integer(),integer(),integer()}]) -> ok. +%% @doc +%% See {@link uniform1f/2} +-spec uniform4uiv(Location, Value) -> ok when Location :: integer(),Value :: [{integer(),integer(),integer(),integer()}]. uniform4uiv(Location,Value) -> cast(5567, <> || {V1,V2,V3,V4} <- Value>>)/binary>>). -%% @spec (Target::enum(),Pname::enum(),Params::{integer()}) -> ok -%% @doc See external documentation. --spec texParameterIiv(enum(),enum(),{integer()}) -> ok. +%% @doc +%% See {@link texParameterf/3} +-spec texParameterIiv(Target, Pname, Params) -> ok when Target :: enum(),Pname :: enum(),Params :: {integer()}. texParameterIiv(Target,Pname,Params) -> cast(5568, <> ||C <- tuple_to_list(Params)>>)/binary,0:(((1+size(Params)) rem 2)*32)>>). -%% @spec (Target::enum(),Pname::enum(),Params::{integer()}) -> ok -%% @doc See external documentation. --spec texParameterIuiv(enum(),enum(),{integer()}) -> ok. +%% @doc glTexParameterI +%% +%% See external documentation. +-spec texParameterIuiv(Target, Pname, Params) -> ok when Target :: enum(),Pname :: enum(),Params :: {integer()}. texParameterIuiv(Target,Pname,Params) -> cast(5569, <> ||C <- tuple_to_list(Params)>>)/binary,0:(((1+size(Params)) rem 2)*32)>>). -%% @spec (Target::enum(),Pname::enum()) -> {integer(),integer(),integer(),integer()} -%% @doc See external documentation. --spec getTexParameterIiv(enum(),enum()) -> {integer(),integer(),integer(),integer()}. +%% @doc +%% See {@link getTexParameterfv/2} +-spec getTexParameterIiv(Target, Pname) -> {integer(),integer(),integer(),integer()} when Target :: enum(),Pname :: enum(). getTexParameterIiv(Target,Pname) -> call(5570, <>). -%% @spec (Target::enum(),Pname::enum()) -> {integer(),integer(),integer(),integer()} -%% @doc See external documentation. --spec getTexParameterIuiv(enum(),enum()) -> {integer(),integer(),integer(),integer()}. +%% @doc glGetTexParameterI +%% +%% See external documentation. +-spec getTexParameterIuiv(Target, Pname) -> {integer(),integer(),integer(),integer()} when Target :: enum(),Pname :: enum(). getTexParameterIuiv(Target,Pname) -> call(5571, <>). -%% @spec (Buffer::enum(),Drawbuffer::integer(),Value::{integer()}) -> ok -%% @doc See external documentation. --spec clearBufferiv(enum(),integer(),{integer()}) -> ok. +%% @doc Clear individual buffers of the currently bound draw framebuffer +%% +%% ``gl:clearBuffer*'' clears the specified buffer to the specified value(s). If `Buffer' +%% is `?GL_COLOR', a particular draw buffer `?GL_DRAWBUFFER' `I' is specified +%% by passing `I' as `DrawBuffer' . In this case, `Value' points to a four-element +%% vector specifying the R, G, B and A color to clear that draw buffer to. If `Buffer' +%% is one of `?GL_FRONT', `?GL_BACK', `?GL_LEFT', `?GL_RIGHT', or `?GL_FRONT_AND_BACK' +%% , identifying multiple buffers, each selected buffer is cleared to the same value. Clamping +%% and conversion for fixed-point color buffers are performed in the same fashion as {@link gl:clearColor/4} +%% . +%% +%% If `Buffer' is `?GL_DEPTH', `DrawBuffer' must be zero, and `Value' +%% points to a single value to clear the depth buffer to. Only ``gl:clearBufferfv'' should +%% be used to clear depth buffers. Clamping and conversion for fixed-point depth buffers +%% are performed in the same fashion as {@link gl:clearDepth/1} . +%% +%% If `Buffer' is `?GL_STENCIL', `DrawBuffer' must be zero, and `Value' +%% points to a single value to clear the stencil buffer to. Only ``gl:clearBufferiv'' should +%% be used to clear stencil buffers. Masing and type conversion are performed in the same +%% fashion as {@link gl:clearStencil/1} . +%% +%% ``gl:clearBufferfi'' may be used to clear the depth and stencil buffers. `Buffer' +%% must be `?GL_DEPTH_STENCIL' and `DrawBuffer' must be zero. `Depth' and `Stencil' +%% are the depth and stencil values, respectively. +%% +%% The result of ``gl:clearBuffer'' is undefined if no conversion between the type of `Value' +%% and the buffer being cleared is defined. However, this is not an error. +%% +%% See external documentation. +-spec clearBufferiv(Buffer, Drawbuffer, Value) -> ok when Buffer :: enum(),Drawbuffer :: integer(),Value :: {integer()}. clearBufferiv(Buffer,Drawbuffer,Value) -> cast(5572, <> ||C <- tuple_to_list(Value)>>)/binary,0:(((1+size(Value)) rem 2)*32)>>). -%% @spec (Buffer::enum(),Drawbuffer::integer(),Value::{integer()}) -> ok -%% @doc See external documentation. --spec clearBufferuiv(enum(),integer(),{integer()}) -> ok. +%% @doc +%% See {@link clearBufferiv/3} +-spec clearBufferuiv(Buffer, Drawbuffer, Value) -> ok when Buffer :: enum(),Drawbuffer :: integer(),Value :: {integer()}. clearBufferuiv(Buffer,Drawbuffer,Value) -> cast(5573, <> ||C <- tuple_to_list(Value)>>)/binary,0:(((1+size(Value)) rem 2)*32)>>). -%% @spec (Buffer::enum(),Drawbuffer::integer(),Value::{float()}) -> ok -%% @doc See external documentation. --spec clearBufferfv(enum(),integer(),{float()}) -> ok. +%% @doc +%% See {@link clearBufferiv/3} +-spec clearBufferfv(Buffer, Drawbuffer, Value) -> ok when Buffer :: enum(),Drawbuffer :: integer(),Value :: {float()}. clearBufferfv(Buffer,Drawbuffer,Value) -> cast(5574, <> ||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 external documentation. --spec clearBufferfi(enum(),integer(),float(),integer()) -> ok. +%% @doc glClearBufferfi +%% +%% See external documentation. +-spec clearBufferfi(Buffer, Drawbuffer, Depth, Stencil) -> ok when Buffer :: enum(),Drawbuffer :: integer(),Depth :: float(),Stencil :: integer(). clearBufferfi(Buffer,Drawbuffer,Depth,Stencil) -> cast(5575, <>). -%% @spec (Name::enum(),Index::integer()) -> string() -%% @doc See external documentation. --spec getStringi(enum(),integer()) -> string(). +%% @doc +%% See {@link getString/1} +-spec getStringi(Name, Index) -> string() when Name :: enum(),Index :: integer(). getStringi(Name,Index) -> call(5576, <>). -%% @spec (Mode::enum(),First::integer(),Count::integer(),Primcount::integer()) -> ok -%% @doc See external documentation. --spec drawArraysInstanced(enum(),integer(),integer(),integer()) -> ok. +%% @doc glDrawArraysInstance +%% +%% See external documentation. +-spec drawArraysInstanced(Mode, First, Count, Primcount) -> ok when Mode :: enum(),First :: integer(),Count :: integer(),Primcount :: integer(). drawArraysInstanced(Mode,First,Count,Primcount) -> cast(5577, <>). -%% @spec (Mode::enum(),Count::integer(),Type::enum(),Indices::offset()|mem(),Primcount::integer()) -> ok -%% @doc See external documentation. --spec drawElementsInstanced(enum(),integer(),enum(),offset()|mem(),integer()) -> ok. +%% @doc glDrawElementsInstance +%% +%% See external documentation. +-spec drawElementsInstanced(Mode, Count, Type, Indices, Primcount) -> ok when Mode :: enum(),Count :: integer(),Type :: enum(),Indices :: offset()|mem(),Primcount :: integer(). drawElementsInstanced(Mode,Count,Type,Indices,Primcount) when is_integer(Indices) -> cast(5578, <>); drawElementsInstanced(Mode,Count,Type,Indices,Primcount) -> send_bin(Indices), cast(5579, <>). -%% @spec (Target::enum(),Internalformat::enum(),Buffer::integer()) -> ok -%% @doc See external documentation. --spec texBuffer(enum(),enum(),integer()) -> ok. +%% @doc Attach the storage for a buffer object to the active buffer texture +%% +%% ``gl:texBuffer'' attaches the storage for the buffer object named `Buffer' to the +%% active buffer texture, and specifies the internal format for the texel array found in +%% the attached buffer object. If `Buffer' is zero, any buffer object attached to the +%% buffer texture is detached and no new buffer object is attached. If `Buffer' is non-zero, +%% it must be the name of an existing buffer object. `Target' must be `?GL_TEXTURE_BUFFER' +%% . `Internalformat' specifies the storage format, and must be one of the following +%% sized internal formats: +%% +%% +%% +%% +%% +%% +%% +%% +%% +%% +%%
` Component ' +%%
`Sized Internal Format'`Base Type'`Components'`Norm'0123
`?GL_R8'ubyte1YESR001
`?GL_R16'ushort1YESR +%% 001
`?GL_R16F'half1NOR001
`?GL_R32F'float +%% 1NOR001
`?GL_R8I' +%% byte1NOR001
`?GL_R16I' +%% short1NOR001
+%% `?GL_R32I'int1NOR001
`?GL_R8UI'ubyte1NOR0 +%% 01
`?GL_R16UI'ushort1NO +%% R001
`?GL_R32UI'uint1NOR001
`?GL_RG8'ubyte +%% 2YESRG01
`?GL_RG16' +%% ushort2YESRG01
`?GL_RG16F'half2NORG0 +%% 1
`?GL_RG32F'float2NORG +%% 01
`?GL_RG8I'byte2NORG01
`?GL_RG16I'short +%% 2NORG01
`?GL_RG32I'int2NORG01
`?GL_RG8UI' +%% ubyte2NORG01
+%% `?GL_RG16UI'ushort2NORG0 +%% 1
`?GL_RG32UI'uint2NORG +%% 01
`?GL_RGB32F'float3NO +%% RGB1
`?GL_RGB32I'int3NORGB1
`?GL_RGB32UI' +%% uint3NORGB1
+%% `?GL_RGBA8'uint4YESRGB +%% A
`?GL_RGBA16'short4YESR +%% GBA
`?GL_RGBA16F'half4NO +%% RGBA
`?GL_RGBA32F'float +%% 4NORGBA
`?GL_RGBA8I' +%% byte4NORGBA
+%% `?GL_RGBA16I'short4NORGB +%% A
`?GL_RGBA32I'int4NORG +%% BA
`?GL_RGBA8UI'ubyte4NO +%% RGBA
`?GL_RGBA16UI'ushort +%% 4NORGBA
`?GL_RGBA32UI' +%% uint4NORGBA
+%% +%% When a buffer object is attached to a buffer texture, the buffer object's data store +%% is taken as the texture's texel array. The number of texels in the buffer texture's texel +%% array is given by buffer_size components× sizeof( base_type/) +%% +%% where `buffer_size' is the size of the buffer object, in basic machine units and +%% components and base type are the element count and base data type for elements, as specified +%% in the table above. The number of texels in the texel array is then clamped to the implementation-dependent +%% limit `?GL_MAX_TEXTURE_BUFFER_SIZE'. When a buffer texture is accessed in a shader, +%% the results of a texel fetch are undefined if the specified texel coordinate is negative, +%% or greater than or equal to the clamped number of texels in the texel array. +%% +%% See external documentation. +-spec texBuffer(Target, Internalformat, Buffer) -> ok when Target :: enum(),Internalformat :: enum(),Buffer :: integer(). texBuffer(Target,Internalformat,Buffer) -> cast(5580, <>). -%% @spec (Index::integer()) -> ok -%% @doc See external documentation. --spec primitiveRestartIndex(integer()) -> ok. +%% @doc Specify the primitive restart index +%% +%% ``gl:primitiveRestartIndex'' specifies a vertex array element that is treated specially +%% when primitive restarting is enabled. This is known as the primitive restart index. +%% +%% When one of the `Draw*' commands transfers a set of generic attribute array elements +%% to the GL, if the index within the vertex arrays corresponding to that set is equal to +%% the primitive restart index, then the GL does not process those elements as a vertex. +%% Instead, it is as if the drawing command ended with the immediately preceding transfer, +%% and another drawing command is immediately started with the same parameters, but only +%% transferring the immediately following element through the end of the originally specified +%% elements. +%% +%% When either {@link gl:drawElementsBaseVertex/5} , {@link gl:drawElementsInstancedBaseVertex/6} +%% or see `glMultiDrawElementsBaseVertex' is used, the primitive restart comparison +%% occurs before the basevertex offset is added to the array index. +%% +%% See external documentation. +-spec primitiveRestartIndex(Index) -> ok when Index :: integer(). primitiveRestartIndex(Index) -> cast(5581, <>). -%% @spec (Target::enum(),Index::integer()) -> [integer()] -%% @doc See external documentation. --spec getInteger64i_v(enum(),integer()) -> [integer()]. +%% @doc +%% See {@link getBooleanv/1} +-spec getInteger64i_v(Target, Index) -> [integer()] when Target :: enum(),Index :: integer(). getInteger64i_v(Target,Index) -> call(5582, <>). -%% @spec (Target::enum(),Pname::enum()) -> [integer()] -%% @doc See external documentation. --spec getBufferParameteri64v(enum(),enum()) -> [integer()]. +%% @doc glGetBufferParameteri64v +%% +%% See external documentation. +-spec getBufferParameteri64v(Target, Pname) -> [integer()] when Target :: enum(),Pname :: enum(). getBufferParameteri64v(Target,Pname) -> call(5583, <>). -%% @spec (Target::enum(),Attachment::enum(),Texture::integer(),Level::integer()) -> ok -%% @doc See external documentation. --spec framebufferTexture(enum(),enum(),integer(),integer()) -> ok. +%% @doc Attach a level of a texture object as a logical buffer to the currently bound framebuffer object +%% +%% ``gl:framebufferTexture'', ``gl:framebufferTexture1D'', ``gl:framebufferTexture2D'', +%% and ``gl:framebufferTexture'' attach a selected mipmap level or image of a texture object +%% as one of the logical buffers of the framebuffer object currently bound to `Target' . +%% `Target' must be `?GL_DRAW_FRAMEBUFFER', `?GL_READ_FRAMEBUFFER', or `?GL_FRAMEBUFFER' +%% . `?GL_FRAMEBUFFER' is equivalent to `?GL_DRAW_FRAMEBUFFER'. +%% +%% `Attachment' specifies the logical attachment of the framebuffer and must be `?GL_COLOR_ATTACHMENT' +%% `i', `?GL_DEPTH_ATTACHMENT', `?GL_STENCIL_ATTACHMENT' or `?GL_DEPTH_STENCIL_ATTACHMMENT' +%% . `i' in `?GL_COLOR_ATTACHMENT'`i' may range from zero to the value of `?GL_MAX_COLOR_ATTACHMENTS' +%% - 1. Attaching a level of a texture to `?GL_DEPTH_STENCIL_ATTACHMENT' is equivalent +%% to attaching that level to both the `?GL_DEPTH_ATTACHMENT'`and' the `?GL_STENCIL_ATTACHMENT' +%% attachment points simultaneously. +%% +%% `Textarget' specifies what type of texture is named by `Texture' , and for cube +%% map textures, specifies the face that is to be attached. If `Texture' is not zero, +%% it must be the name of an existing texture with type `Textarget' , unless it is a +%% cube map texture, in which case `Textarget' must be `?GL_TEXTURE_CUBE_MAP_POSITIVE_X' +%% `?GL_TEXTURE_CUBE_MAP_NEGATIVE_X', `?GL_TEXTURE_CUBE_MAP_POSITIVE_Y', `?GL_TEXTURE_CUBE_MAP_NEGATIVE_Y' +%% , `?GL_TEXTURE_CUBE_MAP_POSITIVE_Z', or `?GL_TEXTURE_CUBE_MAP_NEGATIVE_Z'. +%% +%% If `Texture' is non-zero, the specified `Level' of the texture object named `Texture' +%% is attached to the framebfufer attachment point named by `Attachment' . For ``gl:framebufferTexture1D'' +%% , ``gl:framebufferTexture2D'', and ``gl:framebufferTexture3D'', `Texture' must +%% be zero or the name of an existing texture with a target of `Textarget' , or `Texture' +%% must be the name of an existing cube-map texture and `Textarget' must be one of `?GL_TEXTURE_CUBE_MAP_POSITIVE_X' +%% , `?GL_TEXTURE_CUBE_MAP_POSITIVE_Y', `?GL_TEXTURE_CUBE_MAP_POSITIVE_Z', `?GL_TEXTURE_CUBE_MAP_NEGATIVE_X' +%% , `?GL_TEXTURE_CUBE_MAP_NEGATIVE_Y', or `?GL_TEXTURE_CUBE_MAP_NEGATIVE_Z'. +%% +%% If `Textarget' is `?GL_TEXTURE_RECTANGLE', `?GL_TEXTURE_2D_MULTISAMPLE', +%% or `?GL_TEXTURE_2D_MULTISAMPLE_ARRAY', then `Level' must be zero. If `Textarget' +%% is `?GL_TEXTURE_3D', then level must be greater than or equal to zero and less than +%% or equal to log2 of the value of `?GL_MAX_3D_TEXTURE_SIZE'. If `Textarget' is +%% one of `?GL_TEXTURE_CUBE_MAP_POSITIVE_X', `?GL_TEXTURE_CUBE_MAP_POSITIVE_Y', `?GL_TEXTURE_CUBE_MAP_POSITIVE_Z' +%% , `?GL_TEXTURE_CUBE_MAP_NEGATIVE_X', `?GL_TEXTURE_CUBE_MAP_NEGATIVE_Y', or `?GL_TEXTURE_CUBE_MAP_NEGATIVE_Z' +%% , then `Level' must be greater than or equal to zero and less than or equal to log2 +%% of the value of `?GL_MAX_CUBE_MAP_TEXTURE_SIZE'. For all other values of `Textarget' +%% , `Level' must be greater than or equal to zero and no larger than log2 of the value +%% of `?GL_MAX_TEXTURE_SIZE'. +%% +%% `Layer' specifies the layer of a 2-dimensional image within a 3-dimensional texture. +%% +%% +%% For ``gl:framebufferTexture1D'', if `Texture' is not zero, then `Textarget' +%% must be `?GL_TEXTURE_1D'. For ``gl:framebufferTexture2D'', if `Texture' is +%% not zero, `Textarget' must be one of `?GL_TEXTURE_2D', `?GL_TEXTURE_RECTANGLE' +%% , `?GL_TEXTURE_CUBE_MAP_POSITIVE_X', `?GL_TEXTURE_CUBE_MAP_POSITIVE_Y', `?GL_TEXTURE_CUBE_MAP_POSITIVE_Z' +%% , `?GL_TEXTURE_CUBE_MAP_NEGATIVE_X', `?GL_TEXTURE_CUBE_MAP_NEGATIVE_Y', `?GL_TEXTURE_CUBE_MAP_NEGATIVE_Z' +%% , or `?GL_TEXTURE_2D_MULTISAMPLE'. For ``gl:framebufferTexture3D'', if `Texture' +%% is not zero, then `Textarget' must be `?GL_TEXTURE_3D'. +%% +%% See external documentation. +-spec framebufferTexture(Target, Attachment, Texture, Level) -> ok when Target :: enum(),Attachment :: enum(),Texture :: integer(),Level :: integer(). framebufferTexture(Target,Attachment,Texture,Level) -> cast(5584, <>). -%% @spec (Index::integer(),Divisor::integer()) -> ok -%% @doc See external documentation. --spec vertexAttribDivisor(integer(),integer()) -> ok. +%% @doc Modify the rate at which generic vertex attributes advance during instanced rendering +%% +%% ``gl:vertexAttribDivisor'' modifies the rate at which generic vertex attributes advance +%% when rendering multiple instances of primitives in a single draw call. If `Divisor' +%% is zero, the attribute at slot `Index' advances once per vertex. If `Divisor' +%% is non-zero, the attribute advances once per `Divisor' instances of the set(s) of +%% vertices being rendered. An attribute is referred to as instanced if its `?GL_VERTEX_ATTRIB_ARRAY_DIVISOR' +%% value is non-zero. +%% +%% `Index' must be less than the value of `?GL_MAX_VERTEX_ATTRIBUTES'. +%% +%% See external documentation. +-spec vertexAttribDivisor(Index, Divisor) -> ok when Index :: integer(),Divisor :: integer(). vertexAttribDivisor(Index,Divisor) -> cast(5585, <>). -%% @spec (Value::clamp()) -> ok -%% @doc See external documentation. --spec minSampleShading(clamp()) -> ok. +%% @doc Specifies minimum rate at which sample shaing takes place +%% +%% ``gl:minSampleShading'' specifies the rate at which samples are shaded within a covered +%% pixel. Sample-rate shading is enabled by calling {@link gl:enable/1} with the parameter `?GL_SAMPLE_SHADING' +%% . If `?GL_MULTISAMPLE' or `?GL_SAMPLE_SHADING' is disabled, sample shading has +%% no effect. Otherwise, an implementation must provide at least as many unique color values +%% for each covered fragment as specified by `Value' times `Samples' where `Samples' +%% is the value of `?GL_SAMPLES' for the current framebuffer. At least 1 sample for +%% each covered fragment is generated. +%% +%% A `Value' of 1.0 indicates that each sample in the framebuffer should be indpendently +%% shaded. A `Value' of 0.0 effectively allows the GL to ignore sample rate shading. +%% Any value between 0.0 and 1.0 allows the GL to shade only a subset of the total samples +%% within each covered fragment. Which samples are shaded and the algorithm used to select +%% that subset of the fragment's samples is implementation dependent. +%% +%% See external documentation. +-spec minSampleShading(Value) -> ok when Value :: clamp(). minSampleShading(Value) -> cast(5586, <>). -%% @spec (Buf::integer(),Mode::enum()) -> ok -%% @doc See external documentation. --spec blendEquationi(integer(),enum()) -> ok. +%% @doc +%% See {@link blendEquation/1} +-spec blendEquationi(Buf, Mode) -> ok when Buf :: integer(),Mode :: enum(). blendEquationi(Buf,Mode) -> cast(5587, <>). -%% @spec (Buf::integer(),ModeRGB::enum(),ModeAlpha::enum()) -> ok -%% @doc See external documentation. --spec blendEquationSeparatei(integer(),enum(),enum()) -> ok. +%% @doc +%% See {@link blendEquationSeparate/2} +-spec blendEquationSeparatei(Buf, ModeRGB, ModeAlpha) -> ok when Buf :: integer(),ModeRGB :: enum(),ModeAlpha :: enum(). blendEquationSeparatei(Buf,ModeRGB,ModeAlpha) -> cast(5588, <>). -%% @spec (Buf::integer(),Src::enum(),Dst::enum()) -> ok -%% @doc See external documentation. --spec blendFunci(integer(),enum(),enum()) -> ok. +%% @doc glBlendFunci +%% +%% See external documentation. +-spec blendFunci(Buf, Src, Dst) -> ok when Buf :: integer(),Src :: enum(),Dst :: enum(). blendFunci(Buf,Src,Dst) -> cast(5589, <>). -%% @spec (Buf::integer(),SrcRGB::enum(),DstRGB::enum(),SrcAlpha::enum(),DstAlpha::enum()) -> ok -%% @doc See external documentation. --spec blendFuncSeparatei(integer(),enum(),enum(),enum(),enum()) -> ok. +%% @doc +%% See {@link blendFuncSeparate/4} +-spec blendFuncSeparatei(Buf, SrcRGB, DstRGB, SrcAlpha, DstAlpha) -> ok when Buf :: integer(),SrcRGB :: enum(),DstRGB :: enum(),SrcAlpha :: enum(),DstAlpha :: enum(). blendFuncSeparatei(Buf,SrcRGB,DstRGB,SrcAlpha,DstAlpha) -> cast(5590, <>). -%% @spec (M::{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}) -> ok -%% @doc See external documentation. --spec loadTransposeMatrixfARB({float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}) -> ok. +%% @doc glLoadTransposeMatrixARB +%% +%% See external documentation. +-spec loadTransposeMatrixfARB(M) -> ok when M :: matrix(). loadTransposeMatrixfARB({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12,M13,M14,M15,M16}) -> cast(5591, <>); loadTransposeMatrixfARB({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12}) -> cast(5591, <>). -%% @spec (M::{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}) -> ok -%% @doc See external documentation. --spec loadTransposeMatrixdARB({float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}) -> ok. +%% @doc glLoadTransposeMatrixARB +%% +%% See external documentation. +-spec loadTransposeMatrixdARB(M) -> ok when M :: matrix(). loadTransposeMatrixdARB({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12,M13,M14,M15,M16}) -> cast(5592, <>); loadTransposeMatrixdARB({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12}) -> cast(5592, <>). -%% @spec (M::{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}) -> ok -%% @doc See external documentation. --spec multTransposeMatrixfARB({float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}) -> ok. +%% @doc glMultTransposeMatrixARB +%% +%% See external documentation. +-spec multTransposeMatrixfARB(M) -> ok when M :: matrix(). multTransposeMatrixfARB({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12,M13,M14,M15,M16}) -> cast(5593, <>); multTransposeMatrixfARB({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12}) -> cast(5593, <>). -%% @spec (M::{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}) -> ok -%% @doc See external documentation. --spec multTransposeMatrixdARB({float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}) -> ok. +%% @doc glMultTransposeMatrixARB +%% +%% See external documentation. +-spec multTransposeMatrixdARB(M) -> ok when M :: matrix(). multTransposeMatrixdARB({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12,M13,M14,M15,M16}) -> cast(5594, <>); multTransposeMatrixdARB({M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12}) -> cast(5594, <>). -%% @spec (Weights::[integer()]) -> ok -%% @doc See external documentation. --spec weightbvARB([integer()]) -> ok. +%% @doc glWeightARB +%% +%% See external documentation. +-spec weightbvARB(Weights) -> ok when Weights :: [integer()]. weightbvARB(Weights) -> cast(5595, <<(length(Weights)):?GLuint, (<< <> || C <- Weights>>)/binary,0:((8-((length(Weights)+ 4) rem 8)) rem 8)>>). -%% @spec (Weights::[integer()]) -> ok -%% @doc See external documentation. --spec weightsvARB([integer()]) -> ok. +%% @doc glWeightARB +%% +%% See external documentation. +-spec weightsvARB(Weights) -> ok when Weights :: [integer()]. weightsvARB(Weights) -> cast(5596, <<(length(Weights)):?GLuint, (<< <> || C <- Weights>>)/binary,0:((8-((length(Weights)*2+ 4) rem 8)) rem 8)>>). -%% @spec (Weights::[integer()]) -> ok -%% @doc See external documentation. --spec weightivARB([integer()]) -> ok. +%% @doc glWeightARB +%% +%% See external documentation. +-spec weightivARB(Weights) -> ok when Weights :: [integer()]. weightivARB(Weights) -> cast(5597, <<(length(Weights)):?GLuint, (<< <> || C <- Weights>>)/binary,0:(((1+length(Weights)) rem 2)*32)>>). -%% @spec (Weights::[float()]) -> ok -%% @doc See external documentation. --spec weightfvARB([float()]) -> ok. +%% @doc glWeightARB +%% +%% See external documentation. +-spec weightfvARB(Weights) -> ok when Weights :: [float()]. weightfvARB(Weights) -> cast(5598, <<(length(Weights)):?GLuint, (<< <> || C <- Weights>>)/binary,0:(((1+length(Weights)) rem 2)*32)>>). -%% @spec (Weights::[float()]) -> ok -%% @doc See external documentation. --spec weightdvARB([float()]) -> ok. +%% @doc glWeightARB +%% +%% See external documentation. +-spec weightdvARB(Weights) -> ok when Weights :: [float()]. weightdvARB(Weights) -> cast(5599, <<(length(Weights)):?GLuint,0:32, (<< <> || C <- Weights>>)/binary>>). -%% @spec (Weights::[integer()]) -> ok -%% @doc See external documentation. --spec weightubvARB([integer()]) -> ok. +%% @doc glWeightARB +%% +%% See external documentation. +-spec weightubvARB(Weights) -> ok when Weights :: [integer()]. weightubvARB(Weights) -> cast(5600, <<(length(Weights)):?GLuint, (<< <> || C <- Weights>>)/binary,0:((8-((length(Weights)+ 4) rem 8)) rem 8)>>). -%% @spec (Weights::[integer()]) -> ok -%% @doc See external documentation. --spec weightusvARB([integer()]) -> ok. +%% @doc glWeightARB +%% +%% See external documentation. +-spec weightusvARB(Weights) -> ok when Weights :: [integer()]. weightusvARB(Weights) -> cast(5601, <<(length(Weights)):?GLuint, (<< <> || C <- Weights>>)/binary,0:((8-((length(Weights)*2+ 4) rem 8)) rem 8)>>). -%% @spec (Weights::[integer()]) -> ok -%% @doc See external documentation. --spec weightuivARB([integer()]) -> ok. +%% @doc glWeightARB +%% +%% See external documentation. +-spec weightuivARB(Weights) -> ok when Weights :: [integer()]. weightuivARB(Weights) -> cast(5602, <<(length(Weights)):?GLuint, (<< <> || C <- Weights>>)/binary,0:(((1+length(Weights)) rem 2)*32)>>). -%% @spec (Count::integer()) -> ok -%% @doc See external documentation. --spec vertexBlendARB(integer()) -> ok. +%% @doc glVertexBlenARB +%% +%% See external documentation. +-spec vertexBlendARB(Count) -> ok when Count :: integer(). vertexBlendARB(Count) -> cast(5603, <>). -%% @spec (Index::integer()) -> ok -%% @doc See external documentation. --spec currentPaletteMatrixARB(integer()) -> ok. +%% @doc glCurrentPaletteMatrixARB +%% +%% See external documentation. +-spec currentPaletteMatrixARB(Index) -> ok when Index :: integer(). currentPaletteMatrixARB(Index) -> cast(5604, <>). -%% @spec (Indices::[integer()]) -> ok -%% @doc See external documentation. --spec matrixIndexubvARB([integer()]) -> ok. +%% @doc glMatrixIndexARB +%% +%% See external documentation. +-spec matrixIndexubvARB(Indices) -> ok when Indices :: [integer()]. matrixIndexubvARB(Indices) -> cast(5605, <<(length(Indices)):?GLuint, (<< <> || C <- Indices>>)/binary,0:((8-((length(Indices)+ 4) rem 8)) rem 8)>>). -%% @spec (Indices::[integer()]) -> ok -%% @doc See external documentation. --spec matrixIndexusvARB([integer()]) -> ok. +%% @doc glMatrixIndexARB +%% +%% See external documentation. +-spec matrixIndexusvARB(Indices) -> ok when Indices :: [integer()]. matrixIndexusvARB(Indices) -> cast(5606, <<(length(Indices)):?GLuint, (<< <> || C <- Indices>>)/binary,0:((8-((length(Indices)*2+ 4) rem 8)) rem 8)>>). -%% @spec (Indices::[integer()]) -> ok -%% @doc See external documentation. --spec matrixIndexuivARB([integer()]) -> ok. +%% @doc glMatrixIndexARB +%% +%% See external documentation. +-spec matrixIndexuivARB(Indices) -> ok when Indices :: [integer()]. matrixIndexuivARB(Indices) -> cast(5607, <<(length(Indices)):?GLuint, (<< <> || C <- Indices>>)/binary,0:(((1+length(Indices)) rem 2)*32)>>). -%% @spec (Target::enum(),Format::enum(),String::string()) -> ok -%% @doc See external documentation. --spec programStringARB(enum(),enum(),string()) -> ok. +%% @doc glProgramStringARB +%% +%% See external documentation. +-spec programStringARB(Target, Format, String) -> ok when Target :: enum(),Format :: enum(),String :: string(). programStringARB(Target,Format,String) -> cast(5608, <>). -%% @spec (Target::enum(),Program::integer()) -> ok -%% @doc See external documentation. --spec bindProgramARB(enum(),integer()) -> ok. +%% @doc glBindProgramARB +%% +%% See external documentation. +-spec bindProgramARB(Target, Program) -> ok when Target :: enum(),Program :: integer(). bindProgramARB(Target,Program) -> cast(5609, <>). -%% @spec (Programs::[integer()]) -> ok -%% @doc See external documentation. --spec deleteProgramsARB([integer()]) -> ok. +%% @doc glDeleteProgramsARB +%% +%% See external documentation. +-spec deleteProgramsARB(Programs) -> ok when Programs :: [integer()]. deleteProgramsARB(Programs) -> cast(5610, <<(length(Programs)):?GLuint, (<< <> || C <- Programs>>)/binary,0:(((1+length(Programs)) rem 2)*32)>>). -%% @spec (N::integer()) -> [integer()] -%% @doc See external documentation. --spec genProgramsARB(integer()) -> [integer()]. +%% @doc glGenProgramsARB +%% +%% See external documentation. +-spec genProgramsARB(N) -> [integer()] when N :: integer(). genProgramsARB(N) -> call(5611, <>). -%% @spec (Target::enum(),Index::integer(),X::float(),Y::float(),Z::float(),W::float()) -> ok -%% @doc See external documentation. --spec programEnvParameter4dARB(enum(),integer(),float(),float(),float(),float()) -> ok. +%% @doc glProgramEnvParameterARB +%% +%% See external documentation. +-spec programEnvParameter4dARB(Target, Index, X, Y, Z, W) -> ok when Target :: enum(),Index :: integer(),X :: float(),Y :: float(),Z :: float(),W :: float(). programEnvParameter4dARB(Target,Index,X,Y,Z,W) -> cast(5612, <>). -%% @spec (Target::enum(),Index::integer(),Params::{float(),float(),float(),float()}) -> ok -%% @doc See external documentation. --spec programEnvParameter4dvARB(enum(),integer(),{float(),float(),float(),float()}) -> ok. +%% @doc glProgramEnvParameterARB +%% +%% See external documentation. +-spec programEnvParameter4dvARB(Target, Index, Params) -> ok when Target :: enum(),Index :: integer(),Params :: {float(),float(),float(),float()}. programEnvParameter4dvARB(Target,Index,{P1,P2,P3,P4}) -> cast(5613, <>). -%% @spec (Target::enum(),Index::integer(),X::float(),Y::float(),Z::float(),W::float()) -> ok -%% @doc See external documentation. --spec programEnvParameter4fARB(enum(),integer(),float(),float(),float(),float()) -> ok. +%% @doc glProgramEnvParameterARB +%% +%% See external documentation. +-spec programEnvParameter4fARB(Target, Index, X, Y, Z, W) -> ok when Target :: enum(),Index :: integer(),X :: float(),Y :: float(),Z :: float(),W :: float(). programEnvParameter4fARB(Target,Index,X,Y,Z,W) -> cast(5614, <>). -%% @spec (Target::enum(),Index::integer(),Params::{float(),float(),float(),float()}) -> ok -%% @doc See external documentation. --spec programEnvParameter4fvARB(enum(),integer(),{float(),float(),float(),float()}) -> ok. +%% @doc glProgramEnvParameterARB +%% +%% See external documentation. +-spec programEnvParameter4fvARB(Target, Index, Params) -> ok when Target :: enum(),Index :: integer(),Params :: {float(),float(),float(),float()}. programEnvParameter4fvARB(Target,Index,{P1,P2,P3,P4}) -> cast(5615, <>). -%% @spec (Target::enum(),Index::integer(),X::float(),Y::float(),Z::float(),W::float()) -> ok -%% @doc See external documentation. --spec programLocalParameter4dARB(enum(),integer(),float(),float(),float(),float()) -> ok. +%% @doc glProgramLocalParameterARB +%% +%% See external documentation. +-spec programLocalParameter4dARB(Target, Index, X, Y, Z, W) -> ok when Target :: enum(),Index :: integer(),X :: float(),Y :: float(),Z :: float(),W :: float(). programLocalParameter4dARB(Target,Index,X,Y,Z,W) -> cast(5616, <>). -%% @spec (Target::enum(),Index::integer(),Params::{float(),float(),float(),float()}) -> ok -%% @doc See external documentation. --spec programLocalParameter4dvARB(enum(),integer(),{float(),float(),float(),float()}) -> ok. +%% @doc glProgramLocalParameterARB +%% +%% See external documentation. +-spec programLocalParameter4dvARB(Target, Index, Params) -> ok when Target :: enum(),Index :: integer(),Params :: {float(),float(),float(),float()}. programLocalParameter4dvARB(Target,Index,{P1,P2,P3,P4}) -> cast(5617, <>). -%% @spec (Target::enum(),Index::integer(),X::float(),Y::float(),Z::float(),W::float()) -> ok -%% @doc See external documentation. --spec programLocalParameter4fARB(enum(),integer(),float(),float(),float(),float()) -> ok. +%% @doc glProgramLocalParameterARB +%% +%% See external documentation. +-spec programLocalParameter4fARB(Target, Index, X, Y, Z, W) -> ok when Target :: enum(),Index :: integer(),X :: float(),Y :: float(),Z :: float(),W :: float(). programLocalParameter4fARB(Target,Index,X,Y,Z,W) -> cast(5618, <>). -%% @spec (Target::enum(),Index::integer(),Params::{float(),float(),float(),float()}) -> ok -%% @doc See external documentation. --spec programLocalParameter4fvARB(enum(),integer(),{float(),float(),float(),float()}) -> ok. +%% @doc glProgramLocalParameterARB +%% +%% See external documentation. +-spec programLocalParameter4fvARB(Target, Index, Params) -> ok when Target :: enum(),Index :: integer(),Params :: {float(),float(),float(),float()}. programLocalParameter4fvARB(Target,Index,{P1,P2,P3,P4}) -> cast(5619, <>). -%% @spec (Target::enum(),Index::integer()) -> {float(),float(),float(),float()} -%% @doc See external documentation. --spec getProgramEnvParameterdvARB(enum(),integer()) -> {float(),float(),float(),float()}. +%% @doc glGetProgramEnvParameterARB +%% +%% See external documentation. +-spec getProgramEnvParameterdvARB(Target, Index) -> {float(),float(),float(),float()} when Target :: enum(),Index :: integer(). getProgramEnvParameterdvARB(Target,Index) -> call(5620, <>). -%% @spec (Target::enum(),Index::integer()) -> {float(),float(),float(),float()} -%% @doc See external documentation. --spec getProgramEnvParameterfvARB(enum(),integer()) -> {float(),float(),float(),float()}. +%% @doc glGetProgramEnvParameterARB +%% +%% See external documentation. +-spec getProgramEnvParameterfvARB(Target, Index) -> {float(),float(),float(),float()} when Target :: enum(),Index :: integer(). getProgramEnvParameterfvARB(Target,Index) -> call(5621, <>). -%% @spec (Target::enum(),Index::integer()) -> {float(),float(),float(),float()} -%% @doc See external documentation. --spec getProgramLocalParameterdvARB(enum(),integer()) -> {float(),float(),float(),float()}. +%% @doc glGetProgramLocalParameterARB +%% +%% See external documentation. +-spec getProgramLocalParameterdvARB(Target, Index) -> {float(),float(),float(),float()} when Target :: enum(),Index :: integer(). getProgramLocalParameterdvARB(Target,Index) -> call(5622, <>). -%% @spec (Target::enum(),Index::integer()) -> {float(),float(),float(),float()} -%% @doc See external documentation. --spec getProgramLocalParameterfvARB(enum(),integer()) -> {float(),float(),float(),float()}. +%% @doc glGetProgramLocalParameterARB +%% +%% See external documentation. +-spec getProgramLocalParameterfvARB(Target, Index) -> {float(),float(),float(),float()} when Target :: enum(),Index :: integer(). getProgramLocalParameterfvARB(Target,Index) -> call(5623, <>). -%% @spec (Target::enum(),Pname::enum(),String::mem()) -> ok -%% @doc See external documentation. --spec getProgramStringARB(enum(),enum(),mem()) -> ok. +%% @doc glGetProgramStringARB +%% +%% See external documentation. +-spec getProgramStringARB(Target, Pname, String) -> ok when Target :: enum(),Pname :: enum(),String :: mem(). getProgramStringARB(Target,Pname,String) -> send_bin(String), call(5624, <>). -%% @spec (Target::enum(),Pname::enum()) -> [integer()] -%% @doc See external documentation. --spec getBufferParameterivARB(enum(),enum()) -> [integer()]. +%% @doc glGetBufferParameterARB +%% +%% See external documentation. +-spec getBufferParameterivARB(Target, Pname) -> [integer()] when Target :: enum(),Pname :: enum(). getBufferParameterivARB(Target,Pname) -> call(5625, <>). -%% @spec (Obj::integer()) -> ok -%% @doc See external documentation. --spec deleteObjectARB(integer()) -> ok. +%% @doc glDeleteObjectARB +%% +%% See external documentation. +-spec deleteObjectARB(Obj) -> ok when Obj :: integer(). deleteObjectARB(Obj) -> cast(5626, <>). -%% @spec (Pname::enum()) -> integer() -%% @doc See external documentation. --spec getHandleARB(enum()) -> integer(). +%% @doc glGetHandleARB +%% +%% See external documentation. +-spec getHandleARB(Pname) -> integer() when Pname :: enum(). getHandleARB(Pname) -> call(5627, <>). -%% @spec (ContainerObj::integer(),AttachedObj::integer()) -> ok -%% @doc See external documentation. --spec detachObjectARB(integer(),integer()) -> ok. +%% @doc glDetachObjectARB +%% +%% See external documentation. +-spec detachObjectARB(ContainerObj, AttachedObj) -> ok when ContainerObj :: integer(),AttachedObj :: integer(). detachObjectARB(ContainerObj,AttachedObj) -> cast(5628, <>). -%% @spec (ShaderType::enum()) -> integer() -%% @doc See external documentation. --spec createShaderObjectARB(enum()) -> integer(). +%% @doc glCreateShaderObjectARB +%% +%% See external documentation. +-spec createShaderObjectARB(ShaderType) -> integer() when ShaderType :: enum(). createShaderObjectARB(ShaderType) -> call(5629, <>). -%% @spec (ShaderObj::integer(),String::[string()]) -> ok -%% @doc See external documentation. --spec shaderSourceARB(integer(),[string()]) -> ok. +%% @doc glShaderSourceARB +%% +%% See external documentation. +-spec shaderSourceARB(ShaderObj, String) -> ok when ShaderObj :: integer(),String :: [string()]. shaderSourceARB(ShaderObj,String) -> StringTemp = list_to_binary([[Str|[0]] || Str <- String ]), cast(5630, <>). -%% @spec (ShaderObj::integer()) -> ok -%% @doc See external documentation. --spec compileShaderARB(integer()) -> ok. +%% @doc glCompileShaderARB +%% +%% See external documentation. +-spec compileShaderARB(ShaderObj) -> ok when ShaderObj :: integer(). compileShaderARB(ShaderObj) -> cast(5631, <>). -%% @spec () -> integer() -%% @doc See external documentation. +%% @doc glCreateProgramObjectARB +%% +%% See external documentation. -spec createProgramObjectARB() -> integer(). createProgramObjectARB() -> call(5632, <<>>). -%% @spec (ContainerObj::integer(),Obj::integer()) -> ok -%% @doc See external documentation. --spec attachObjectARB(integer(),integer()) -> ok. +%% @doc glAttachObjectARB +%% +%% See external documentation. +-spec attachObjectARB(ContainerObj, Obj) -> ok when ContainerObj :: integer(),Obj :: integer(). attachObjectARB(ContainerObj,Obj) -> cast(5633, <>). -%% @spec (ProgramObj::integer()) -> ok -%% @doc See external documentation. --spec linkProgramARB(integer()) -> ok. +%% @doc glLinkProgramARB +%% +%% See external documentation. +-spec linkProgramARB(ProgramObj) -> ok when ProgramObj :: integer(). linkProgramARB(ProgramObj) -> cast(5634, <>). -%% @spec (ProgramObj::integer()) -> ok -%% @doc See external documentation. --spec useProgramObjectARB(integer()) -> ok. +%% @doc glUseProgramObjectARB +%% +%% See external documentation. +-spec useProgramObjectARB(ProgramObj) -> ok when ProgramObj :: integer(). useProgramObjectARB(ProgramObj) -> cast(5635, <>). -%% @spec (ProgramObj::integer()) -> ok -%% @doc See external documentation. --spec validateProgramARB(integer()) -> ok. +%% @doc glValidateProgramARB +%% +%% See external documentation. +-spec validateProgramARB(ProgramObj) -> ok when ProgramObj :: integer(). validateProgramARB(ProgramObj) -> cast(5636, <>). -%% @spec (Obj::integer(),Pname::enum()) -> float() -%% @doc See external documentation. --spec getObjectParameterfvARB(integer(),enum()) -> float(). +%% @doc glGetObjectParameterARB +%% +%% See external documentation. +-spec getObjectParameterfvARB(Obj, Pname) -> float() when Obj :: integer(),Pname :: enum(). getObjectParameterfvARB(Obj,Pname) -> call(5637, <>). -%% @spec (Obj::integer(),Pname::enum()) -> integer() -%% @doc See external documentation. --spec getObjectParameterivARB(integer(),enum()) -> integer(). +%% @doc glGetObjectParameterARB +%% +%% See external documentation. +-spec getObjectParameterivARB(Obj, Pname) -> integer() when Obj :: integer(),Pname :: enum(). getObjectParameterivARB(Obj,Pname) -> call(5638, <>). -%% @spec (Obj::integer(),MaxLength::integer()) -> string() -%% @doc See external documentation. --spec getInfoLogARB(integer(),integer()) -> string(). +%% @doc glGetInfoLogARB +%% +%% See external documentation. +-spec getInfoLogARB(Obj, MaxLength) -> string() when Obj :: integer(),MaxLength :: integer(). getInfoLogARB(Obj,MaxLength) -> call(5639, <>). -%% @spec (ContainerObj::integer(),MaxCount::integer()) -> [integer()] -%% @doc See external documentation. --spec getAttachedObjectsARB(integer(),integer()) -> [integer()]. +%% @doc glGetAttachedObjectsARB +%% +%% See external documentation. +-spec getAttachedObjectsARB(ContainerObj, MaxCount) -> [integer()] when ContainerObj :: integer(),MaxCount :: integer(). getAttachedObjectsARB(ContainerObj,MaxCount) -> call(5640, <>). -%% @spec (ProgramObj::integer(),Name::string()) -> integer() -%% @doc See external documentation. --spec getUniformLocationARB(integer(),string()) -> integer(). +%% @doc glGetUniformLocationARB +%% +%% See external documentation. +-spec getUniformLocationARB(ProgramObj, Name) -> integer() when ProgramObj :: integer(),Name :: string(). getUniformLocationARB(ProgramObj,Name) -> call(5641, <>). -%% @spec (ProgramObj::integer(),Index::integer(),MaxLength::integer()) -> {Size::integer(),Type::enum(),Name::string()} -%% @doc See external documentation. --spec getActiveUniformARB(integer(),integer(),integer()) -> {integer(),enum(),string()}. +%% @doc glGetActiveUniformARB +%% +%% See external documentation. +-spec getActiveUniformARB(ProgramObj, Index, MaxLength) -> {Size :: integer(),Type :: enum(),Name :: string()} when ProgramObj :: integer(),Index :: integer(),MaxLength :: integer(). getActiveUniformARB(ProgramObj,Index,MaxLength) -> call(5642, <>). -%% @spec (ProgramObj::integer(),Location::integer()) -> {float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()} -%% @doc See external documentation. --spec getUniformfvARB(integer(),integer()) -> {float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}. +%% @doc glGetUniformARB +%% +%% See external documentation. +-spec getUniformfvARB(ProgramObj, Location) -> matrix() when ProgramObj :: integer(),Location :: integer(). getUniformfvARB(ProgramObj,Location) -> call(5643, <>). -%% @spec (ProgramObj::integer(),Location::integer()) -> {integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer()} -%% @doc See external documentation. --spec getUniformivARB(integer(),integer()) -> {integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer()}. +%% @doc glGetUniformARB +%% +%% See external documentation. +-spec getUniformivARB(ProgramObj, Location) -> {integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer()} when ProgramObj :: integer(),Location :: integer(). getUniformivARB(ProgramObj,Location) -> call(5644, <>). -%% @spec (Obj::integer(),MaxLength::integer()) -> string() -%% @doc See external documentation. --spec getShaderSourceARB(integer(),integer()) -> string(). +%% @doc glGetShaderSourceARB +%% +%% See external documentation. +-spec getShaderSourceARB(Obj, MaxLength) -> string() when Obj :: integer(),MaxLength :: integer(). getShaderSourceARB(Obj,MaxLength) -> call(5645, <>). -%% @spec (ProgramObj::integer(),Index::integer(),Name::string()) -> ok -%% @doc See external documentation. --spec bindAttribLocationARB(integer(),integer(),string()) -> ok. +%% @doc glBindAttribLocationARB +%% +%% See external documentation. +-spec bindAttribLocationARB(ProgramObj, Index, Name) -> ok when ProgramObj :: integer(),Index :: integer(),Name :: string(). bindAttribLocationARB(ProgramObj,Index,Name) -> cast(5646, <>). -%% @spec (ProgramObj::integer(),Index::integer(),MaxLength::integer()) -> {Size::integer(),Type::enum(),Name::string()} -%% @doc See external documentation. --spec getActiveAttribARB(integer(),integer(),integer()) -> {integer(),enum(),string()}. +%% @doc glGetActiveAttribARB +%% +%% See external documentation. +-spec getActiveAttribARB(ProgramObj, Index, MaxLength) -> {Size :: integer(),Type :: enum(),Name :: string()} when ProgramObj :: integer(),Index :: integer(),MaxLength :: integer(). getActiveAttribARB(ProgramObj,Index,MaxLength) -> call(5647, <>). -%% @spec (ProgramObj::integer(),Name::string()) -> integer() -%% @doc See external documentation. --spec getAttribLocationARB(integer(),string()) -> integer(). +%% @doc glGetAttribLocationARB +%% +%% See external documentation. +-spec getAttribLocationARB(ProgramObj, Name) -> integer() when ProgramObj :: integer(),Name :: string(). getAttribLocationARB(ProgramObj,Name) -> call(5648, <>). -%% @spec (Renderbuffer::integer()) -> 0|1 -%% @doc See external documentation. --spec isRenderbuffer(integer()) -> 0|1. +%% @doc Determine if a name corresponds to a renderbuffer object +%% +%% ``gl:isRenderbuffer'' returns `?GL_TRUE' if `Renderbuffer' is currently the +%% name of a renderbuffer object. If `Renderbuffer' is zero, or if `Renderbuffer' +%% is not the name of a renderbuffer object, or if an error occurs, ``gl:isRenderbuffer'' +%% returns `?GL_FALSE'. If `Renderbuffer' is a name returned by {@link gl:genRenderbuffers/1} +%% , by that has not yet been bound through a call to {@link gl:bindRenderbuffer/2} or {@link gl:framebufferRenderbuffer/4} +%% , then the name is not a renderbuffer object and ``gl:isRenderbuffer'' returns `?GL_FALSE' +%% . +%% +%% See external documentation. +-spec isRenderbuffer(Renderbuffer) -> 0|1 when Renderbuffer :: integer(). isRenderbuffer(Renderbuffer) -> call(5649, <>). -%% @spec (Target::enum(),Renderbuffer::integer()) -> ok -%% @doc See external documentation. --spec bindRenderbuffer(enum(),integer()) -> ok. +%% @doc Bind a renderbuffer to a renderbuffer target +%% +%% ``gl:bindRenderbuffer'' binds the renderbuffer object with name `Renderbuffer' +%% to the renderbuffer target specified by `Target' . `Target' must be `?GL_RENDERBUFFER' +%% . `Renderbuffer' is the name of a renderbuffer object previously returned from a +%% call to {@link gl:genRenderbuffers/1} , or zero to break the existing binding of a renderbuffer +%% object to `Target' . +%% +%% See external documentation. +-spec bindRenderbuffer(Target, Renderbuffer) -> ok when Target :: enum(),Renderbuffer :: integer(). bindRenderbuffer(Target,Renderbuffer) -> cast(5650, <>). -%% @spec (Renderbuffers::[integer()]) -> ok -%% @doc See external documentation. --spec deleteRenderbuffers([integer()]) -> ok. +%% @doc Delete renderbuffer objects +%% +%% ``gl:deleteRenderbuffers'' deletes the `N' renderbuffer objects whose names are +%% stored in the array addressed by `Renderbuffers' . The name zero is reserved by the +%% GL and is silently ignored, should it occur in `Renderbuffers' , as are other unused +%% names. Once a renderbuffer object is deleted, its name is again unused and it has no contents. +%% If a renderbuffer that is currently bound to the target `?GL_RENDERBUFFER' is deleted, +%% it is as though {@link gl:bindRenderbuffer/2} had been executed with a `Target' of `?GL_RENDERBUFFER' +%% and a `Name' of zero. +%% +%% If a renderbuffer object is attached to one or more attachment points in the currently +%% bound framebuffer, then it as if {@link gl:framebufferRenderbuffer/4} had been called, +%% with a `Renderbuffer' of zero for each attachment point to which this image was attached +%% in the currently bound framebuffer. In other words, this renderbuffer object is first +%% detached from all attachment ponits in the currently bound framebuffer. Note that the +%% renderbuffer image is specifically `not' detached from any non-bound framebuffers. +%% +%% See external documentation. +-spec deleteRenderbuffers(Renderbuffers) -> ok when Renderbuffers :: [integer()]. deleteRenderbuffers(Renderbuffers) -> cast(5651, <<(length(Renderbuffers)):?GLuint, (<< <> || C <- Renderbuffers>>)/binary,0:(((1+length(Renderbuffers)) rem 2)*32)>>). -%% @spec (N::integer()) -> [integer()] -%% @doc See external documentation. --spec genRenderbuffers(integer()) -> [integer()]. +%% @doc Generate renderbuffer object names +%% +%% ``gl:genRenderbuffers'' returns `N' renderbuffer object names in `Renderbuffers' +%% . There is no guarantee that the names form a contiguous set of integers; however, it +%% is guaranteed that none of the returned names was in use immediately before the call to ``gl:genRenderbuffers'' +%% . +%% +%% Renderbuffer object names returned by a call to ``gl:genRenderbuffers'' are not returned +%% by subsequent calls, unless they are first deleted with {@link gl:deleteRenderbuffers/1} . +%% +%% The names returned in `Renderbuffers' are marked as used, for the purposes of ``gl:genRenderbuffers'' +%% only, but they acquire state and type only when they are first bound. +%% +%% See external documentation. +-spec genRenderbuffers(N) -> [integer()] when N :: integer(). genRenderbuffers(N) -> call(5652, <>). -%% @spec (Target::enum(),Internalformat::enum(),Width::integer(),Height::integer()) -> ok -%% @doc See external documentation. --spec renderbufferStorage(enum(),enum(),integer(),integer()) -> ok. +%% @doc Establish data storage, format and dimensions of a renderbuffer object's image +%% +%% ``gl:renderbufferStorage'' is equivalent to calling {@link gl:renderbufferStorageMultisample/5} +%% with the `Samples' set to zero. +%% +%% The target of the operation, specified by `Target' must be `?GL_RENDERBUFFER'. +%% `Internalformat' specifies the internal format to be used for the renderbuffer object's +%% storage and must be a color-renderable, depth-renderable, or stencil-renderable format. `Width' +%% and `Height' are the dimensions, in pixels, of the renderbuffer. Both `Width' +%% and `Height' must be less than or equal to the value of `?GL_MAX_RENDERBUFFER_SIZE' +%% . +%% +%% Upon success, ``gl:renderbufferStorage'' deletes any existing data store for the renderbuffer +%% image and the contents of the data store after calling ``gl:renderbufferStorage'' are +%% undefined. +%% +%% See external documentation. +-spec renderbufferStorage(Target, Internalformat, Width, Height) -> ok when Target :: enum(),Internalformat :: enum(),Width :: integer(),Height :: integer(). renderbufferStorage(Target,Internalformat,Width,Height) -> cast(5653, <>). -%% @spec (Target::enum(),Pname::enum()) -> integer() -%% @doc See external documentation. --spec getRenderbufferParameteriv(enum(),enum()) -> integer(). +%% @doc Retrieve information about a bound renderbuffer object +%% +%% ``gl:getRenderbufferParameteriv'' retrieves information about a bound renderbuffer object. +%% `Target' specifies the target of the query operation and must be `?GL_RENDERBUFFER' +%% . `Pname' specifies the parameter whose value to query and must be one of `?GL_RENDERBUFFER_WIDTH' +%% , `?GL_RENDERBUFFER_HEIGHT', `?GL_RENDERBUFFER_INTERNAL_FORMAT', `?GL_RENDERBUFFER_RED_SIZE' +%% , `?GL_RENDERBUFFER_GREEN_SIZE', `?GL_RENDERBUFFER_BLUE_SIZE', `?GL_RENDERBUFFER_ALPHA_SIZE' +%% , `?GL_RENDERBUFFER_DEPTH_SIZE', `?GL_RENDERBUFFER_DEPTH_SIZE', `?GL_RENDERBUFFER_STENCIL_SIZE' +%% , or `?GL_RENDERBUFFER_SAMPLES'. +%% +%% Upon a successful return from ``gl:getRenderbufferParameteriv'', if `Pname' is `?GL_RENDERBUFFER_WIDTH' +%% , `?GL_RENDERBUFFER_HEIGHT', `?GL_RENDERBUFFER_INTERNAL_FORMAT', or `?GL_RENDERBUFFER_SAMPLES' +%% , then `Params' will contain the width in pixels, the height in pixels, the internal +%% format, or the number of samples, respectively, of the image of the renderbuffer currently +%% bound to `Target' . +%% +%% If `Pname' is `?GL_RENDERBUFFER_RED_SIZE', `?GL_RENDERBUFFER_GREEN_SIZE', +%% `?GL_RENDERBUFFER_BLUE_SIZE', `?GL_RENDERBUFFER_ALPHA_SIZE', `?GL_RENDERBUFFER_DEPTH_SIZE' +%% , or `?GL_RENDERBUFFER_STENCIL_SIZE', then `Params' will contain the actual +%% resolutions (not the resolutions specified when the image array was defined) for the red, +%% green, blue, alpha depth, or stencil components, respectively, of the image of the renderbuffer +%% currently bound to `Target' . +%% +%% See external documentation. +-spec getRenderbufferParameteriv(Target, Pname) -> integer() when Target :: enum(),Pname :: enum(). getRenderbufferParameteriv(Target,Pname) -> call(5654, <>). -%% @spec (Framebuffer::integer()) -> 0|1 -%% @doc See external documentation. --spec isFramebuffer(integer()) -> 0|1. +%% @doc Determine if a name corresponds to a framebuffer object +%% +%% ``gl:isFramebuffer'' returns `?GL_TRUE' if `Framebuffer' is currently the +%% name of a framebuffer object. If `Framebuffer' is zero, or if `?framebuffer' +%% is not the name of a framebuffer object, or if an error occurs, ``gl:isFramebuffer'' +%% returns `?GL_FALSE'. If `Framebuffer' is a name returned by {@link gl:genFramebuffers/1} +%% , by that has not yet been bound through a call to {@link gl:bindFramebuffer/2} , then the +%% name is not a framebuffer object and ``gl:isFramebuffer'' returns `?GL_FALSE'. +%% +%% See external documentation. +-spec isFramebuffer(Framebuffer) -> 0|1 when Framebuffer :: integer(). isFramebuffer(Framebuffer) -> call(5655, <>). -%% @spec (Target::enum(),Framebuffer::integer()) -> ok -%% @doc See external documentation. --spec bindFramebuffer(enum(),integer()) -> ok. +%% @doc Bind a framebuffer to a framebuffer target +%% +%% ``gl:bindFramebuffer'' binds the framebuffer object with name `Framebuffer' to +%% the framebuffer target specified by `Target' . `Target' must be either `?GL_DRAW_FRAMEBUFFER' +%% , `?GL_READ_FRAMEBUFFER' or `?GL_FRAMEBUFFER'. If a framebuffer object is bound +%% to `?GL_DRAW_FRAMEBUFFER' or `?GL_READ_FRAMEBUFFER', it becomes the target for +%% rendering or readback operations, respectively, until it is deleted or another framebuffer +%% is bound to the corresponding bind point. Calling ``gl:bindFramebuffer'' with `Target' +%% set to `?GL_FRAMEBUFFER' binds `Framebuffer' to both the read and draw framebuffer +%% targets. `Framebuffer' is the name of a framebuffer object previously returned from +%% a call to {@link gl:genFramebuffers/1} , or zero to break the existing binding of a framebuffer +%% object to `Target' . +%% +%% See external documentation. +-spec bindFramebuffer(Target, Framebuffer) -> ok when Target :: enum(),Framebuffer :: integer(). bindFramebuffer(Target,Framebuffer) -> cast(5656, <>). -%% @spec (Framebuffers::[integer()]) -> ok -%% @doc See external documentation. --spec deleteFramebuffers([integer()]) -> ok. +%% @doc Delete framebuffer objects +%% +%% ``gl:deleteFramebuffers'' deletes the `N' framebuffer objects whose names are stored +%% in the array addressed by `Framebuffers' . The name zero is reserved by the GL and +%% is silently ignored, should it occur in `Framebuffers' , as are other unused names. +%% Once a framebuffer object is deleted, its name is again unused and it has no attachments. +%% If a framebuffer that is currently bound to one or more of the targets `?GL_DRAW_FRAMEBUFFER' +%% or `?GL_READ_FRAMEBUFFER' is deleted, it is as though {@link gl:bindFramebuffer/2} +%% had been executed with the corresponding `Target' and `Framebuffer' zero. +%% +%% See external documentation. +-spec deleteFramebuffers(Framebuffers) -> ok when Framebuffers :: [integer()]. deleteFramebuffers(Framebuffers) -> cast(5657, <<(length(Framebuffers)):?GLuint, (<< <> || C <- Framebuffers>>)/binary,0:(((1+length(Framebuffers)) rem 2)*32)>>). -%% @spec (N::integer()) -> [integer()] -%% @doc See external documentation. --spec genFramebuffers(integer()) -> [integer()]. +%% @doc Generate framebuffer object names +%% +%% ``gl:genFramebuffers'' returns `N' framebuffer object names in `Ids' . There +%% is no guarantee that the names form a contiguous set of integers; however, it is guaranteed +%% that none of the returned names was in use immediately before the call to ``gl:genFramebuffers'' +%% . +%% +%% Framebuffer object names returned by a call to ``gl:genFramebuffers'' are not returned +%% by subsequent calls, unless they are first deleted with {@link gl:deleteFramebuffers/1} . +%% +%% The names returned in `Ids' are marked as used, for the purposes of ``gl:genFramebuffers'' +%% only, but they acquire state and type only when they are first bound. +%% +%% See external documentation. +-spec genFramebuffers(N) -> [integer()] when N :: integer(). genFramebuffers(N) -> call(5658, <>). -%% @spec (Target::enum()) -> enum() -%% @doc See external documentation. --spec checkFramebufferStatus(enum()) -> enum(). +%% @doc Check the completeness status of a framebuffer +%% +%% ``gl:checkFramebufferStatus'' queries the completeness status of the framebuffer object +%% currently bound to `Target' . `Target' must be `?GL_DRAW_FRAMEBUFFER', `?GL_READ_FRAMEBUFFER' +%% or `?GL_FRAMEBUFFER'. `?GL_FRAMEBUFFER' is equivalent to `?GL_DRAW_FRAMEBUFFER' +%% . +%% +%% The return value is `?GL_FRAMEBUFFER_COMPLETE' if the framebuffer bound to `Target' +%% is complete. Otherwise, the return value is determined as follows: +%% +%% `?GL_FRAMEBUFFER_UNDEFINED' is returned if `Target' is the default framebuffer, +%% but the default framebuffer does not exist. +%% +%% `?GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT' is returned if any of the framebuffer attachment +%% points are framebuffer incomplete. +%% +%% `?GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT' is returned if the framebuffer does +%% not have at least one image attached to it. +%% +%% `?GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER' is returned if the value of `?GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE' +%% is `?GL_NONE' for any color attachment point(s) named by `?GL_DRAWBUFFERi'. +%% +%% `?GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER' is returned if `?GL_READ_BUFFER' is +%% not `?GL_NONE' and the value of `?GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE' is `?GL_NONE' +%% for the color attachment point named by `?GL_READ_BUFFER'. +%% +%% `?GL_FRAMEBUFFER_UNSUPPORTED' is returned if the combination of internal formats +%% of the attached images violates an implementation-dependent set of restrictions. +%% +%% `?GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE' is returned if the value of `?GL_RENDERBUFFER_SAMPLES' +%% is not the same for all attached renderbuffers; if the value of `?GL_TEXTURE_SAMPLES' +%% is the not same for all attached textures; or, if the attached images are a mix of renderbuffers +%% and textures, the value of `?GL_RENDERBUFFER_SAMPLES' does not match the value of `?GL_TEXTURE_SAMPLES' +%% . +%% +%% `?GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE' is also returned if the value of `?GL_TEXTURE_FIXED_SAMPLE_LOCATIONS' +%% is not the same for all attached textures; or, if the attached images are a mix of renderbuffers +%% and textures, the value of `?GL_TEXTURE_FIXED_SAMPLE_LOCATIONS' is not `?GL_TRUE' +%% for all attached textures. +%% +%% `?GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS' is returned if any framebuffer attachment +%% is layered, and any populated attachment is not layered, or if all populated color attachments +%% are not from textures of the same target. +%% +%% Additionally, if an error occurs, zero is returned. +%% +%% See external documentation. +-spec checkFramebufferStatus(Target) -> enum() when Target :: enum(). checkFramebufferStatus(Target) -> call(5659, <>). -%% @spec (Target::enum(),Attachment::enum(),Textarget::enum(),Texture::integer(),Level::integer()) -> ok -%% @doc See external documentation. --spec framebufferTexture1D(enum(),enum(),enum(),integer(),integer()) -> ok. +%% @doc +%% See {@link framebufferTexture/4} +-spec framebufferTexture1D(Target, Attachment, Textarget, Texture, Level) -> ok when Target :: enum(),Attachment :: enum(),Textarget :: enum(),Texture :: integer(),Level :: integer(). framebufferTexture1D(Target,Attachment,Textarget,Texture,Level) -> cast(5660, <>). -%% @spec (Target::enum(),Attachment::enum(),Textarget::enum(),Texture::integer(),Level::integer()) -> ok -%% @doc See external documentation. --spec framebufferTexture2D(enum(),enum(),enum(),integer(),integer()) -> ok. +%% @doc +%% See {@link framebufferTexture/4} +-spec framebufferTexture2D(Target, Attachment, Textarget, Texture, Level) -> ok when Target :: enum(),Attachment :: enum(),Textarget :: enum(),Texture :: integer(),Level :: integer(). framebufferTexture2D(Target,Attachment,Textarget,Texture,Level) -> cast(5661, <>). -%% @spec (Target::enum(),Attachment::enum(),Textarget::enum(),Texture::integer(),Level::integer(),Zoffset::integer()) -> ok -%% @doc See external documentation. --spec framebufferTexture3D(enum(),enum(),enum(),integer(),integer(),integer()) -> ok. +%% @doc +%% See {@link framebufferTexture/4} +-spec framebufferTexture3D(Target, Attachment, Textarget, Texture, Level, Zoffset) -> ok when Target :: enum(),Attachment :: enum(),Textarget :: enum(),Texture :: integer(),Level :: integer(),Zoffset :: integer(). framebufferTexture3D(Target,Attachment,Textarget,Texture,Level,Zoffset) -> cast(5662, <>). -%% @spec (Target::enum(),Attachment::enum(),Renderbuffertarget::enum(),Renderbuffer::integer()) -> ok -%% @doc See external documentation. --spec framebufferRenderbuffer(enum(),enum(),enum(),integer()) -> ok. +%% @doc Attach a renderbuffer as a logical buffer to the currently bound framebuffer object +%% +%% ``gl:framebufferRenderbuffer'' attaches a renderbuffer as one of the logical buffers +%% of the currently bound framebuffer object. `Renderbuffer' is the name of the renderbuffer +%% object to attach and must be either zero, or the name of an existing renderbuffer object +%% of type `Renderbuffertarget' . If `Renderbuffer' is not zero and if ``gl:framebufferRenderbuffer'' +%% is successful, then the renderbuffer name `Renderbuffer' will be used as the logical +%% buffer identified by `Attachment' of the framebuffer currently bound to `Target' . +%% +%% +%% The value of `?GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE' for the specified attachment +%% point is set to `?GL_RENDERBUFFER' and the value of `?GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME' +%% is set to `Renderbuffer' . All other state values of the attachment point specified +%% by `Attachment' are set to their default values. No change is made to the state of +%% the renderbuuffer object and any previous attachment to the `Attachment' logical +%% buffer of the framebuffer `Target' is broken. +%% +%% Calling ``gl:framebufferRenderbuffer'' with the renderbuffer name zero will detach +%% the image, if any, identified by `Attachment' , in the framebuffer currently bound +%% to `Target' . All state values of the attachment point specified by attachment in +%% the object bound to target are set to their default values. +%% +%% Setting `Attachment' to the value `?GL_DEPTH_STENCIL_ATTACHMENT' is a special +%% case causing both the depth and stencil attachments of the framebuffer object to be set +%% to `Renderbuffer' , which should have the base internal format `?GL_DEPTH_STENCIL' +%% . +%% +%% See external documentation. +-spec framebufferRenderbuffer(Target, Attachment, Renderbuffertarget, Renderbuffer) -> ok when Target :: enum(),Attachment :: enum(),Renderbuffertarget :: enum(),Renderbuffer :: integer(). framebufferRenderbuffer(Target,Attachment,Renderbuffertarget,Renderbuffer) -> cast(5663, <>). -%% @spec (Target::enum(),Attachment::enum(),Pname::enum()) -> integer() -%% @doc See external documentation. --spec getFramebufferAttachmentParameteriv(enum(),enum(),enum()) -> integer(). +%% @doc Retrieve information about attachments of a bound framebuffer object +%% +%% ``gl:getFramebufferAttachmentParameter'' returns information about attachments of a +%% bound framebuffer object. `Target' specifies the framebuffer binding point and must +%% be `?GL_DRAW_FRAMEBUFFER', `?GL_READ_FRAMEBUFFER' or `?GL_FRAMEBUFFER'. `?GL_FRAMEBUFFER' +%% is equivalent to `?GL_DRAW_FRAMEBUFFER'. +%% +%% If the default framebuffer is bound to `Target' then `Attachment' must be one +%% of `?GL_FRONT_LEFT', `?GL_FRONT_RIGHT', `?GL_BACK_LEFT', or `?GL_BACK_RIGHT' +%% , identifying a color buffer, `?GL_DEPTH', identifying the depth buffer, or `?GL_STENCIL' +%% , identifying the stencil buffer. +%% +%% If a framebuffer object is bound, then `Attachment' must be one of `?GL_COLOR_ATTACHMENT' +%% `i', `?GL_DEPTH_ATTACHMENT', `?GL_STENCIL_ATTACHMENT', or `?GL_DEPTH_STENCIL_ATTACHMENT' +%% . `i' in `?GL_COLOR_ATTACHMENT'`i' must be in the range zero to the value +%% of `?GL_MAX_COLOR_ATTACHMENTS' - 1. +%% +%% If `Attachment' is `?GL_DEPTH_STENCIL_ATTACHMENT' and different objects are +%% bound to the depth and stencil attachment points of `Target' the query will fail. +%% If the same object is bound to both attachment points, information about that object will +%% be returned. +%% +%% Upon successful return from ``gl:getFramebufferAttachmentParameteriv'', if `Pname' +%% is `?GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE', then `Params' will contain one of `?GL_NONE' +%% , `?GL_FRAMEBUFFER_DEFAULT', `?GL_TEXTURE', or `?GL_RENDERBUFFER', identifying +%% the type of object which contains the attached image. Other values accepted for `Pname' +%% depend on the type of object, as described below. +%% +%% If the value of `?GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE' is `?GL_NONE', no +%% framebuffer is bound to `Target' . In this case querying `Pname' `?GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME' +%% will return zero, and all other queries will generate an error. +%% +%% If the value of `?GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE' is not `?GL_NONE', +%% these queries apply to all other framebuffer types: +%% +%% If `Pname' is `?GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE', `?GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE' +%% , `?GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE', `?GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE' +%% , `?GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE', or `?GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE' +%% , then `Params' will contain the number of bits in the corresponding red, green, +%% blue, alpha, depth, or stencil component of the specified attachment. Zero is returned +%% if the requested component is not present in `Attachment' . +%% +%% If `Pname' is `?GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE', `Params' will +%% contain the format of components of the specified attachment, one of `?GL_FLOAT', `GL_INT' +%% , `GL_UNSIGNED_INT' , `GL_SIGNED_NORMALIZED' , or `GL_UNSIGNED_NORMALIZED' +%% for floating-point, signed integer, unsigned integer, signed normalized fixed-point, or +%% unsigned normalized fixed-point components respectively. Only color buffers may have integer +%% components. +%% +%% If `Pname' is `?GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING', `Param' will +%% contain the encoding of components of the specified attachment, one of `?GL_LINEAR' +%% or `?GL_SRGB' for linear or sRGB-encoded components, respectively. Only color buffer +%% components may be sRGB-encoded; such components are treated as described in sections 4.1.7 +%% and 4.1.8. For the default framebuffer, color encoding is determined by the implementation. +%% For framebuffer objects, components are sRGB-encoded if the internal format of a color +%% attachment is one of the color-renderable SRGB formats. +%% +%% If the value of `?GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE' is `?GL_RENDERBUFFER', +%% then: +%% +%% If `Pname' is `?GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME', `Params' will +%% contain the name of the renderbuffer object which contains the attached image. +%% +%% If the value of `?GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE' is `?GL_TEXTURE', +%% then: +%% +%% If `Pname' is `?GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME', then `Params' +%% will contain the name of the texture object which contains the attached image. +%% +%% If `Pname' is `?GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL', then `Params' +%% will contain the mipmap level of the texture object which contains the attached image. +%% +%% If `Pname' is `?GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE' and the texture +%% object named `?GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME' is a cube map texture, then `Params' +%% will contain the cube map face of the cubemap texture object which contains the attached +%% image. Otherwise `Params' will contain the value zero. +%% +%% If `Pname' is `?GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER' and the texture object +%% named `?GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME' is a layer of a three-dimensional +%% texture or a one-or two-dimensional array texture, then `Params' will contain the +%% number of the texture layer which contains the attached image. Otherwise `Params' +%% will contain the value zero. +%% +%% If `Pname' is `?GL_FRAMEBUFFER_ATTACHMENT_LAYERED', then `Params' will +%% contain `?GL_TRUE' if an entire level of a three-dimesional texture, cube map texture, +%% or one-or two-dimensional array texture is attached. Otherwise, `Params' will contain +%% `?GL_FALSE'. +%% +%% Any combinations of framebuffer type and `Pname' not described above will generate +%% an error. +%% +%% See external documentation. +-spec getFramebufferAttachmentParameteriv(Target, Attachment, Pname) -> integer() when Target :: enum(),Attachment :: enum(),Pname :: enum(). getFramebufferAttachmentParameteriv(Target,Attachment,Pname) -> call(5664, <>). -%% @spec (Target::enum()) -> ok -%% @doc See external documentation. --spec generateMipmap(enum()) -> ok. +%% @doc Generate mipmaps for a specified texture target +%% +%% ``gl:generateMipmap'' generates mipmaps for the texture attached to `Target' of +%% the active texture unit. For cube map textures, a `?GL_INVALID_OPERATION' error is +%% generated if the texture attached to `Target' is not cube complete. +%% +%% Mipmap generation replaces texel array levels level base+1 through q with arrays derived +%% from the level base array, regardless of their previous contents. All other mimap arrays, +%% including the level base array, are left unchanged by this computation. +%% +%% The internal formats of the derived mipmap arrays all match those of the level base +%% array. The contents of the derived arrays are computed by repeated, filtered reduction +%% of the level base array. For one- and two-dimensional texture arrays, each layer is filtered +%% independently. +%% +%% See external documentation. +-spec generateMipmap(Target) -> ok when Target :: enum(). generateMipmap(Target) -> cast(5665, <>). -%% @spec (SrcX0::integer(),SrcY0::integer(),SrcX1::integer(),SrcY1::integer(),DstX0::integer(),DstY0::integer(),DstX1::integer(),DstY1::integer(),Mask::integer(),Filter::enum()) -> ok -%% @doc See external documentation. --spec blitFramebuffer(integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),enum()) -> ok. +%% @doc Copy a block of pixels from the read framebuffer to the draw framebuffer +%% +%% ``gl:blitFramebuffer'' transfers a rectangle of pixel values from one region of the +%% read framebuffer to another region in the draw framebuffer. `Mask' is the bitwise +%% OR of a number of values indicating which buffers are to be copied. The values are `?GL_COLOR_BUFFER_BIT' +%% , `?GL_DEPTH_BUFFER_BIT', and `?GL_STENCIL_BUFFER_BIT'. The pixels corresponding +%% to these buffers are copied from the source rectangle bounded by the locations ( `SrcX0' +%% ; `SrcY0' ) and ( `SrcX1' ; `SrcY1' ) to the destination rectangle bounded +%% by the locations ( `DstX0' ; `DstY0' ) and ( `DstX1' ; `DstY1' ). The lower +%% bounds of the rectangle are inclusive, while the upper bounds are exclusive. +%% +%% The actual region taken from the read framebuffer is limited to the intersection of the +%% source buffers being transferred, which may include the color buffer selected by the read +%% buffer, the depth buffer, and/or the stencil buffer depending on mask. The actual region +%% written to the draw framebuffer is limited to the intersection of the destination buffers +%% being written, which may include multiple draw buffers, the depth buffer, and/or the stencil +%% buffer depending on mask. Whether or not the source or destination regions are altered +%% due to these limits, the scaling and offset applied to pixels being transferred is performed +%% as though no such limits were present. +%% +%% If the sizes of the source and destination rectangles are not equal, `Filter' specifies +%% the interpolation method that will be applied to resize the source image , and must be `?GL_NEAREST' +%% or `?GL_LINEAR'. `?GL_LINEAR' is only a valid interpolation method for the +%% color buffer. If `Filter' is not `?GL_NEAREST' and `Mask' includes `?GL_DEPTH_BUFFER_BIT' +%% or `?GL_STENCIL_BUFFER_BIT', no data is transferred and a `?GL_INVALID_OPERATION' +%% error is generated. +%% +%% If `Filter' is `?GL_LINEAR' and the source rectangle would require sampling +%% outside the bounds of the source framebuffer, values are read as if the `?GL_CLAMP_TO_EDGE' +%% texture wrapping mode were applied. +%% +%% When the color buffer is transferred, values are taken from the read buffer of the read +%% framebuffer and written to each of the draw buffers of the draw framebuffer. +%% +%% If the source and destination rectangles overlap or are the same, and the read and draw +%% buffers are the same, the result of the operation is undefined. +%% +%% See external documentation. +-spec blitFramebuffer(SrcX0, SrcY0, SrcX1, SrcY1, DstX0, DstY0, DstX1, DstY1, Mask, Filter) -> ok when SrcX0 :: integer(),SrcY0 :: integer(),SrcX1 :: integer(),SrcY1 :: integer(),DstX0 :: integer(),DstY0 :: integer(),DstX1 :: integer(),DstY1 :: integer(),Mask :: integer(),Filter :: enum(). blitFramebuffer(SrcX0,SrcY0,SrcX1,SrcY1,DstX0,DstY0,DstX1,DstY1,Mask,Filter) -> cast(5666, <>). -%% @spec (Target::enum(),Samples::integer(),Internalformat::enum(),Width::integer(),Height::integer()) -> ok -%% @doc See external documentation. --spec renderbufferStorageMultisample(enum(),integer(),enum(),integer(),integer()) -> ok. +%% @doc Establish data storage, format, dimensions and sample count of a renderbuffer object's image +%% +%% ``gl:renderbufferStorageMultisample'' establishes the data storage, format, dimensions +%% and number of samples of a renderbuffer object's image. +%% +%% The target of the operation, specified by `Target' must be `?GL_RENDERBUFFER'. +%% `Internalformat' specifies the internal format to be used for the renderbuffer object's +%% storage and must be a color-renderable, depth-renderable, or stencil-renderable format. `Width' +%% and `Height' are the dimensions, in pixels, of the renderbuffer. Both `Width' +%% and `Height' must be less than or equal to the value of `?GL_MAX_RENDERBUFFER_SIZE' +%% . `Samples' specifies the number of samples to be used for the renderbuffer object's +%% image, and must be less than or equal to the value of `?GL_MAX_SAMPLES'. If `Internalformat' +%% is a signed or unsigned integer format then `Samples' must be less than or equal +%% to the value of `?GL_MAX_INTEGER_SAMPLES'. +%% +%% Upon success, ``gl:renderbufferStorageMultisample'' deletes any existing data store +%% for the renderbuffer image and the contents of the data store after calling ``gl:renderbufferStorageMultisample'' +%% are undefined. +%% +%% See external documentation. +-spec renderbufferStorageMultisample(Target, Samples, Internalformat, Width, Height) -> ok when Target :: enum(),Samples :: integer(),Internalformat :: enum(),Width :: integer(),Height :: integer(). renderbufferStorageMultisample(Target,Samples,Internalformat,Width,Height) -> cast(5667, <>). -%% @spec (Target::enum(),Attachment::enum(),Texture::integer(),Level::integer(),Layer::integer()) -> ok -%% @doc See external documentation. --spec framebufferTextureLayer(enum(),enum(),integer(),integer(),integer()) -> ok. +%% @doc +%% See {@link framebufferTexture/4} +-spec framebufferTextureLayer(Target, Attachment, Texture, Level, Layer) -> ok when Target :: enum(),Attachment :: enum(),Texture :: integer(),Level :: integer(),Layer :: integer(). framebufferTextureLayer(Target,Attachment,Texture,Level,Layer) -> cast(5668, <>). -%% @spec (Target::enum(),Attachment::enum(),Texture::integer(),Level::integer(),Face::enum()) -> ok -%% @doc See external documentation. --spec framebufferTextureFaceARB(enum(),enum(),integer(),integer(),enum()) -> ok. +%% @doc +%% See {@link framebufferTexture/4} +-spec framebufferTextureFaceARB(Target, Attachment, Texture, Level, Face) -> ok when Target :: enum(),Attachment :: enum(),Texture :: integer(),Level :: integer(),Face :: enum(). framebufferTextureFaceARB(Target,Attachment,Texture,Level,Face) -> cast(5669, <>). -%% @spec (Target::enum(),Offset::integer(),Length::integer()) -> ok -%% @doc See external documentation. --spec flushMappedBufferRange(enum(),integer(),integer()) -> ok. +%% @doc Indicate modifications to a range of a mapped buffer +%% +%% ``gl:flushMappedBufferRange'' indicates that modifications have been made to a range +%% of a mapped buffer. The buffer must previously have been mapped with the `?GL_MAP_FLUSH_EXPLICIT' +%% flag. `Offset' and `Length' indicate the modified subrange of the mapping, +%% in basic units. The specified subrange to flush is relative to the start of the currently +%% mapped range of the buffer. ``gl:flushMappedBufferRange'' may be called multiple times +%% to indicate distinct subranges of the mapping which require flushing. +%% +%% See external documentation. +-spec flushMappedBufferRange(Target, Offset, Length) -> ok when Target :: enum(),Offset :: integer(),Length :: integer(). flushMappedBufferRange(Target,Offset,Length) -> cast(5670, <>). -%% @spec (Array::integer()) -> ok -%% @doc See external documentation. --spec bindVertexArray(integer()) -> ok. +%% @doc Bind a vertex array object +%% +%% ``gl:bindVertexArray'' binds the vertex array object with name `Array' . `Array' +%% is the name of a vertex array object previously returned from a call to {@link gl:genVertexArrays/1} +%% , or zero to break the existing vertex array object binding. +%% +%% If no vertex array object with name `Array' exists, one is created when `Array' +%% is first bound. If the bind is successful no change is made to the state of the vertex +%% array object, and any previous vertex array object binding is broken. +%% +%% See external documentation. +-spec bindVertexArray(Array) -> ok when Array :: integer(). bindVertexArray(Array) -> cast(5671, <>). -%% @spec (Arrays::[integer()]) -> ok -%% @doc See external documentation. --spec deleteVertexArrays([integer()]) -> ok. +%% @doc Delete vertex array objects +%% +%% ``gl:deleteVertexArrays'' deletes `N' vertex array objects whose names are stored +%% in the array addressed by `Arrays' . Once a vertex array object is deleted it has +%% no contents and its name is again unused. If a vertex array object that is currently bound +%% is deleted, the binding for that object reverts to zero and the default vertex array becomes +%% current. Unused names in `Arrays' are silently ignored, as is the value zero. +%% +%% See external documentation. +-spec deleteVertexArrays(Arrays) -> ok when Arrays :: [integer()]. deleteVertexArrays(Arrays) -> cast(5672, <<(length(Arrays)):?GLuint, (<< <> || C <- Arrays>>)/binary,0:(((1+length(Arrays)) rem 2)*32)>>). -%% @spec (N::integer()) -> [integer()] -%% @doc See external documentation. --spec genVertexArrays(integer()) -> [integer()]. +%% @doc Generate vertex array object names +%% +%% ``gl:genVertexArrays'' returns `N' vertex array object names in `Arrays' . +%% There is no guarantee that the names form a contiguous set of integers; however, it is +%% guaranteed that none of the returned names was in use immediately before the call to ``gl:genVertexArrays'' +%% . +%% +%% Vertex array object names returned by a call to ``gl:genVertexArrays'' are not returned +%% by subsequent calls, unless they are first deleted with {@link gl:deleteVertexArrays/1} . +%% +%% The names returned in `Arrays' are marked as used, for the purposes of ``gl:genVertexArrays'' +%% only, but they acquire state and type only when they are first bound. +%% +%% See external documentation. +-spec genVertexArrays(N) -> [integer()] when N :: integer(). genVertexArrays(N) -> call(5673, <>). -%% @spec (Array::integer()) -> 0|1 -%% @doc See external documentation. --spec isVertexArray(integer()) -> 0|1. +%% @doc Determine if a name corresponds to a vertex array object +%% +%% ``gl:isVertexArray'' returns `?GL_TRUE' if `Array' is currently the name of +%% a renderbuffer object. If `Renderbuffer' is zero, or if `Array' is not the name +%% of a renderbuffer object, or if an error occurs, ``gl:isVertexArray'' returns `?GL_FALSE' +%% . If `Array' is a name returned by {@link gl:genVertexArrays/1} , by that has not yet +%% been bound through a call to {@link gl:bindVertexArray/1} , then the name is not a vertex +%% array object and ``gl:isVertexArray'' returns `?GL_FALSE'. +%% +%% See external documentation. +-spec isVertexArray(Array) -> 0|1 when Array :: integer(). isVertexArray(Array) -> call(5674, <>). -%% @spec (Program::integer(),UniformNames::[string()]) -> [integer()] -%% @doc See external documentation. --spec getUniformIndices(integer(),[string()]) -> [integer()]. +%% @doc Retrieve the index of a named uniform block +%% +%% ``gl:getUniformIndices'' retrieves the indices of a number of uniforms within `Program' +%% . +%% +%% `Program' must be the name of a program object for which the command {@link gl:linkProgram/1} +%% must have been called in the past, although it is not required that {@link gl:linkProgram/1} +%% must have succeeded. The link could have failed because the number of active uniforms +%% exceeded the limit. +%% +%% `UniformCount' indicates both the number of elements in the array of names `UniformNames' +%% and the number of indices that may be written to `UniformIndices' . +%% +%% `UniformNames' contains a list of `UniformCount' name strings identifying the +%% uniform names to be queried for indices. For each name string in `UniformNames' , +%% the index assigned to the active uniform of that name will be written to the corresponding +%% element of `UniformIndices' . If a string in `UniformNames' is not the name of +%% an active uniform, the special value `?GL_INVALID_INDEX' will be written to the corresponding +%% element of `UniformIndices' . +%% +%% If an error occurs, nothing is written to `UniformIndices' . +%% +%% See external documentation. +-spec getUniformIndices(Program, UniformNames) -> [integer()] when Program :: integer(),UniformNames :: [string()]. getUniformIndices(Program,UniformNames) -> UniformNamesTemp = list_to_binary([[Str|[0]] || Str <- UniformNames ]), call(5675, <>). -%% @spec (Program::integer(),UniformIndices::[integer()],Pname::enum()) -> [integer()] -%% @doc See external documentation. --spec getActiveUniformsiv(integer(),[integer()],enum()) -> [integer()]. +%% @doc glGetActiveUniforms +%% +%% See external documentation. +-spec getActiveUniformsiv(Program, UniformIndices, Pname) -> [integer()] when Program :: integer(),UniformIndices :: [integer()],Pname :: enum(). getActiveUniformsiv(Program,UniformIndices,Pname) -> call(5676, <> || C <- UniformIndices>>)/binary,0:(((length(UniformIndices)) rem 2)*32),Pname:?GLenum>>). -%% @spec (Program::integer(),UniformIndex::integer(),BufSize::integer()) -> string() -%% @doc See external documentation. --spec getActiveUniformName(integer(),integer(),integer()) -> string(). +%% @doc Query the name of an active uniform +%% +%% ``gl:getActiveUniformName'' returns the name of the active uniform at `UniformIndex' +%% within `Program' . If `UniformName' is not NULL, up to `BufSize' characters +%% (including a nul-terminator) will be written into the array whose address is specified +%% by `UniformName' . If `Length' is not NULL, the number of characters that were +%% (or would have been) written into `UniformName' (not including the nul-terminator) +%% will be placed in the variable whose address is specified in `Length' . If `Length' +%% is NULL, no length is returned. The length of the longest uniform name in `Program' +%% is given by the value of `?GL_ACTIVE_UNIFORM_MAX_LENGTH', which can be queried with {@link gl:getProgramiv/2} +%% . +%% +%% If ``gl:getActiveUniformName'' is not successful, nothing is written to `Length' +%% or `UniformName' . +%% +%% `Program' must be the name of a program for which the command {@link gl:linkProgram/1} +%% has been issued in the past. It is not necessary for `Program' to have been linked +%% successfully. The link could have failed because the number of active uniforms exceeded +%% the limit. +%% +%% `UniformIndex' must be an active uniform index of the program `Program' , in +%% the range zero to `?GL_ACTIVE_UNIFORMS' - 1. The value of `?GL_ACTIVE_UNIFORMS' +%% can be queried with {@link gl:getProgramiv/2} . +%% +%% See external documentation. +-spec getActiveUniformName(Program, UniformIndex, BufSize) -> string() when Program :: integer(),UniformIndex :: integer(),BufSize :: integer(). getActiveUniformName(Program,UniformIndex,BufSize) -> call(5677, <>). -%% @spec (Program::integer(),UniformBlockName::string()) -> integer() -%% @doc See external documentation. --spec getUniformBlockIndex(integer(),string()) -> integer(). +%% @doc Retrieve the index of a named uniform block +%% +%% ``gl:getUniformBlockIndex'' retrieves the index of a uniform block within `Program' . +%% +%% +%% `Program' must be the name of a program object for which the command {@link gl:linkProgram/1} +%% must have been called in the past, although it is not required that {@link gl:linkProgram/1} +%% must have succeeded. The link could have failed because the number of active uniforms +%% exceeded the limit. +%% +%% `UniformBlockName' must contain a nul-terminated string specifying the name of the +%% uniform block. +%% +%% ``gl:getUniformBlockIndex'' returns the uniform block index for the uniform block named +%% `UniformBlockName' of `Program' . If `UniformBlockName' does not identify +%% an active uniform block of `Program' , ``gl:getUniformBlockIndex'' returns the special +%% identifier, `?GL_INVALID_INDEX'. Indices of the active uniform blocks of a program +%% are assigned in consecutive order, beginning with zero. +%% +%% See external documentation. +-spec getUniformBlockIndex(Program, UniformBlockName) -> integer() when Program :: integer(),UniformBlockName :: string(). getUniformBlockIndex(Program,UniformBlockName) -> call(5678, <>). -%% @spec (Program::integer(),UniformBlockIndex::integer(),Pname::enum(),Params::mem()) -> ok -%% @doc See external documentation. --spec getActiveUniformBlockiv(integer(),integer(),enum(),mem()) -> ok. +%% @doc Query information about an active uniform block +%% +%% ``gl:getActiveUniformBlockiv'' retrieves information about an active uniform block within +%% `Program' . +%% +%% `Program' must be the name of a program object for which the command {@link gl:linkProgram/1} +%% must have been called in the past, although it is not required that {@link gl:linkProgram/1} +%% must have succeeded. The link could have failed because the number of active uniforms +%% exceeded the limit. +%% +%% `UniformBlockIndex' is an active uniform block index of `Program' , and must +%% be less than the value of `?GL_ACTIVE_UNIFORM_BLOCKS'. +%% +%% Upon success, the uniform block parameter(s) specified by `Pname' are returned in `Params' +%% . If an error occurs, nothing will be written to `Params' . +%% +%% If `Pname' is `?GL_UNIFORM_BLOCK_BINDING', then the index of the uniform buffer +%% binding point last selected by the uniform block specified by `UniformBlockIndex' +%% for `Program' is returned. If no uniform block has been previously specified, zero +%% is returned. +%% +%% If `Pname' is `?GL_UNIFORM_BLOCK_DATA_SIZE', then the implementation-dependent +%% minimum total buffer object size, in basic machine units, required to hold all active +%% uniforms in the uniform block identified by `UniformBlockIndex' is returned. It is +%% neither guaranteed nor expected that a given implementation will arrange uniform values +%% as tightly packed in a buffer object. The exception to this is the `std140 uniform block layout' +%% , which guarantees specific packing behavior and does not require the application to query +%% for offsets and strides. In this case the minimum size may still be queried, even though +%% it is determined in advance based only on the uniform block declaration. +%% +%% If `Pname' is `?GL_UNIFORM_BLOCK_NAME_LENGTH', then the total length (including +%% the nul terminator) of the name of the uniform block identified by `UniformBlockIndex' +%% is returned. +%% +%% If `Pname' is `?GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS', then the number of active +%% uniforms in the uniform block identified by `UniformBlockIndex' is returned. +%% +%% If `Pname' is `?GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES', then a list of the +%% active uniform indices for the uniform block identified by `UniformBlockIndex' is +%% returned. The number of elements that will be written to `Params' is the value of `?GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS' +%% for `UniformBlockIndex' . +%% +%% If `Pname' is `?GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER', `?GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER' +%% , or `?GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER', then a boolean value indicating +%% whether the uniform block identified by `UniformBlockIndex' is referenced by the +%% vertex, geometry, or fragment programming stages of program, respectively, is returned. +%% +%% See external documentation. +-spec getActiveUniformBlockiv(Program, UniformBlockIndex, Pname, Params) -> ok when Program :: integer(),UniformBlockIndex :: integer(),Pname :: enum(),Params :: mem(). getActiveUniformBlockiv(Program,UniformBlockIndex,Pname,Params) -> send_bin(Params), call(5679, <>). -%% @spec (Program::integer(),UniformBlockIndex::integer(),BufSize::integer()) -> string() -%% @doc See external documentation. --spec getActiveUniformBlockName(integer(),integer(),integer()) -> string(). +%% @doc Retrieve the name of an active uniform block +%% +%% ``gl:getActiveUniformBlockName'' retrieves the name of the active uniform block at `UniformBlockIndex' +%% within `Program' . +%% +%% `Program' must be the name of a program object for which the command {@link gl:linkProgram/1} +%% must have been called in the past, although it is not required that {@link gl:linkProgram/1} +%% must have succeeded. The link could have failed because the number of active uniforms +%% exceeded the limit. +%% +%% `UniformBlockIndex' is an active uniform block index of `Program' , and must +%% be less than the value of `?GL_ACTIVE_UNIFORM_BLOCKS'. +%% +%% Upon success, the name of the uniform block identified by `UnifomBlockIndex' is +%% returned into `UniformBlockName' . The name is nul-terminated. The actual number of +%% characters written into `UniformBlockName' , excluding the nul terminator, is returned +%% in `Length' . If `Length' is NULL, no length is returned. +%% +%% `BufSize' contains the maximum number of characters (including the nul terminator) +%% that will be written into `UniformBlockName' . +%% +%% If an error occurs, nothing will be written to `UniformBlockName' or `Length' . +%% +%% +%% See external documentation. +-spec getActiveUniformBlockName(Program, UniformBlockIndex, BufSize) -> string() when Program :: integer(),UniformBlockIndex :: integer(),BufSize :: integer(). getActiveUniformBlockName(Program,UniformBlockIndex,BufSize) -> call(5680, <>). -%% @spec (Program::integer(),UniformBlockIndex::integer(),UniformBlockBinding::integer()) -> ok -%% @doc See external documentation. --spec uniformBlockBinding(integer(),integer(),integer()) -> ok. +%% @doc Assign a binding point to an active uniform block +%% +%% Binding points for active uniform blocks are assigned using ``gl:uniformBlockBinding''. +%% Each of a program's active uniform blocks has a corresponding uniform buffer binding point. +%% `Program' is the name of a program object for which the command {@link gl:linkProgram/1} +%% has been issued in the past. +%% +%% If successful, ``gl:uniformBlockBinding'' specifies that `Program' will use the +%% data store of the buffer object bound to the binding point `UniformBlockBinding' +%% to extract the values of the uniforms in the uniform block identified by `UniformBlockIndex' +%% . +%% +%% When a program object is linked or re-linked, the uniform buffer object binding point +%% assigned to each of its active uniform blocks is reset to zero. +%% +%% See external documentation. +-spec uniformBlockBinding(Program, UniformBlockIndex, UniformBlockBinding) -> ok when Program :: integer(),UniformBlockIndex :: integer(),UniformBlockBinding :: integer(). uniformBlockBinding(Program,UniformBlockIndex,UniformBlockBinding) -> cast(5681, <>). -%% @spec (ReadTarget::enum(),WriteTarget::enum(),ReadOffset::integer(),WriteOffset::integer(),Size::integer()) -> ok -%% @doc See external documentation. --spec copyBufferSubData(enum(),enum(),integer(),integer(),integer()) -> ok. +%% @doc Copy part of the data store of a buffer object to the data store of another buffer object +%% +%% ``gl:copyBufferSubData'' copies part of the data store attached to `Readtarget' +%% to the data store attached to `Writetarget' . The number of basic machine units indicated +%% by `Size' is copied from the source, at offset `Readoffset' to the destination +%% at `Writeoffset' , also in basic machine units. +%% +%% `Readtarget' and `Writetarget' must be `?GL_ARRAY_BUFFER', `?GL_COPY_READ_BUFFER' +%% , `?GL_COPY_WRITE_BUFFER', `?GL_ELEMENT_ARRAY_BUFFER', `?GL_PIXEL_PACK_BUFFER' +%% , `?GL_PIXEL_UNPACK_BUFFER', `?GL_TEXTURE_BUFFER', `?GL_TRANSFORM_FEEDBACK_BUFFER' +%% or `?GL_UNIFORM_BUFFER'. Any of these targets may be used, although the targets `?GL_COPY_READ_BUFFER' +%% and `?GL_COPY_WRITE_BUFFER' are provided specifically to allow copies between buffers +%% without disturbing other GL state. +%% +%% `Readoffset' , `Writeoffset' and `Size' must all be greater than or equal +%% to zero. Furthermore, `Readoffset' + `Size' must not exceeed the size of the +%% buffer object bound to `Readtarget' , and `Readoffset' + `Size' must not +%% exceeed the size of the buffer bound to `Writetarget' . If the same buffer object +%% is bound to both `Readtarget' and `Writetarget' , then the ranges specified by `Readoffset' +%% , `Writeoffset' and `Size' must not overlap. +%% +%% See external documentation. +-spec copyBufferSubData(ReadTarget, WriteTarget, ReadOffset, WriteOffset, Size) -> ok when ReadTarget :: enum(),WriteTarget :: enum(),ReadOffset :: integer(),WriteOffset :: integer(),Size :: integer(). copyBufferSubData(ReadTarget,WriteTarget,ReadOffset,WriteOffset,Size) -> cast(5682, <>). -%% @spec (Mode::enum(),Count::integer(),Type::enum(),Indices::offset()|mem(),Basevertex::integer()) -> ok -%% @doc See external documentation. --spec drawElementsBaseVertex(enum(),integer(),enum(),offset()|mem(),integer()) -> ok. +%% @doc Render primitives from array data with a per-element offset +%% +%% ``gl:drawElementsBaseVertex'' behaves identically to {@link gl:drawElements/4} except +%% that the `i'th element transferred by the corresponding draw call will be taken from +%% element `Indices' [i] + `Basevertex' of each enabled array. If the resulting +%% value is larger than the maximum value representable by `Type' , it is as if the calculation +%% were upconverted to 32-bit unsigned integers (with wrapping on overflow conditions). The +%% operation is undefined if the sum would be negative. +%% +%% See external documentation. +-spec drawElementsBaseVertex(Mode, Count, Type, Indices, Basevertex) -> ok when Mode :: enum(),Count :: integer(),Type :: enum(),Indices :: offset()|mem(),Basevertex :: integer(). drawElementsBaseVertex(Mode,Count,Type,Indices,Basevertex) when is_integer(Indices) -> cast(5683, <>); drawElementsBaseVertex(Mode,Count,Type,Indices,Basevertex) -> send_bin(Indices), cast(5684, <>). -%% @spec (Mode::enum(),Start::integer(),End::integer(),Count::integer(),Type::enum(),Indices::offset()|mem(),Basevertex::integer()) -> ok -%% @doc See external documentation. --spec drawRangeElementsBaseVertex(enum(),integer(),integer(),integer(),enum(),offset()|mem(),integer()) -> ok. +%% @doc Render primitives from array data with a per-element offset +%% +%% ``gl:drawRangeElementsBaseVertex'' is a restricted form of {@link gl:drawElementsBaseVertex/5} +%% . `Mode' , `Start' , `End' , `Count' and `Basevertex' match the +%% corresponding arguments to {@link gl:drawElementsBaseVertex/5} , with the additional constraint +%% that all values in the array `Indices' must lie between `Start' and `End' , +%% inclusive, prior to adding `Basevertex' . Index values lying outside the range [ `Start' +%% , `End' ] are treated in the same way as {@link gl:drawElementsBaseVertex/5} . The `i' +%% th element transferred by the corresponding draw call will be taken from element `Indices' +%% [i] + `Basevertex' of each enabled array. If the resulting value is larger than the +%% maximum value representable by `Type' , it is as if the calculation were upconverted +%% to 32-bit unsigned integers (with wrapping on overflow conditions). The operation is undefined +%% if the sum would be negative. +%% +%% See external documentation. +-spec drawRangeElementsBaseVertex(Mode, Start, End, Count, Type, Indices, Basevertex) -> ok when Mode :: enum(),Start :: integer(),End :: integer(),Count :: integer(),Type :: enum(),Indices :: offset()|mem(),Basevertex :: integer(). drawRangeElementsBaseVertex(Mode,Start,End,Count,Type,Indices,Basevertex) when is_integer(Indices) -> cast(5685, <>); drawRangeElementsBaseVertex(Mode,Start,End,Count,Type,Indices,Basevertex) -> send_bin(Indices), cast(5686, <>). -%% @spec (Mode::enum(),Count::integer(),Type::enum(),Indices::offset()|mem(),Primcount::integer(),Basevertex::integer()) -> ok -%% @doc See external documentation. --spec drawElementsInstancedBaseVertex(enum(),integer(),enum(),offset()|mem(),integer(),integer()) -> ok. +%% @doc Render multiple instances of a set of primitives from array data with a per-element offset +%% +%% ``gl:drawElementsInstancedBaseVertex'' behaves identically to {@link gl:drawElementsInstanced/5} +%% except that the `i'th element transferred by the corresponding draw call will be +%% taken from element `Indices' [i] + `Basevertex' of each enabled array. If the +%% resulting value is larger than the maximum value representable by `Type' , it is as +%% if the calculation were upconverted to 32-bit unsigned integers (with wrapping on overflow +%% conditions). The operation is undefined if the sum would be negative. +%% +%% See external documentation. +-spec drawElementsInstancedBaseVertex(Mode, Count, Type, Indices, Primcount, Basevertex) -> ok when Mode :: enum(),Count :: integer(),Type :: enum(),Indices :: offset()|mem(),Primcount :: integer(),Basevertex :: integer(). drawElementsInstancedBaseVertex(Mode,Count,Type,Indices,Primcount,Basevertex) when is_integer(Indices) -> cast(5687, <>); drawElementsInstancedBaseVertex(Mode,Count,Type,Indices,Primcount,Basevertex) -> send_bin(Indices), cast(5688, <>). -%% @spec (Mode::enum()) -> ok -%% @doc See external documentation. --spec provokingVertex(enum()) -> ok. +%% @doc Specifiy the vertex to be used as the source of data for flat shaded varyings +%% +%% `Flatshading' a vertex shader varying output means to assign all vetices of the primitive +%% the same value for that output. The vertex from which these values is derived is known +%% as the `provoking vertex' and ``gl:provokingVertex'' specifies which vertex is +%% to be used as the source of data for flat shaded varyings. +%% +%% `ProvokeMode' must be either `?GL_FIRST_VERTEX_CONVENTION' or `?GL_LAST_VERTEX_CONVENTION' +%% , and controls the selection of the vertex whose values are assigned to flatshaded varying +%% outputs. The interpretation of these values for the supported primitive types is: +%% +%% +%% +%%
` Primitive Type of Polygon '`i'` First Vertex Convention ' +%% ` Last Vertex Convention '
point `i' +%% `i'
independent line 2`i' - 1 2`i'
line loop `i' +%% +%% `i' + 1, if `i' < `n' +%% +%% 1, if `i' = `n'
line strip `i'`i' +%% + 1
independent triangle 3`i' - 2 3`i'
triangle strip `i'`i' + 2
+%% triangle fan `i' + 1 `i' + 2
line adjacency +%% 4`i' - 2 4`i' - 1
line strip adjacency `i' + 1 `i' + 2
triangle adjacency 6`i' +%% - 5 6`i' - 1
triangle strip adjacency 2`i' +%% - 1 2`i' + 3
+%% +%% If a vertex or geometry shader is active, user-defined varying outputs may be flatshaded +%% by using the flat qualifier when declaring the output. +%% +%% See external documentation. +-spec provokingVertex(Mode) -> ok when Mode :: enum(). provokingVertex(Mode) -> cast(5689, <>). -%% @spec (Condition::enum(),Flags::integer()) -> integer() -%% @doc See external documentation. --spec fenceSync(enum(),integer()) -> integer(). +%% @doc Create a new sync object and insert it into the GL command stream +%% +%% ``gl:fenceSync'' creates a new fence sync object, inserts a fence command into the GL +%% command stream and associates it with that sync object, and returns a non-zero name corresponding +%% to the sync object. +%% +%% When the specified `Condition' of the sync object is satisfied by the fence command, +%% the sync object is signaled by the GL, causing any {@link gl:waitSync/3} , {@link gl:clientWaitSync/3} +%% commands blocking in `Sync' to `unblock'. No other state is affected by ``gl:fenceSync'' +%% or by the execution of the associated fence command. +%% +%% `Condition' must be `?GL_SYNC_GPU_COMMANDS_COMPLETE'. This condition is satisfied +%% by completion of the fence command corresponding to the sync object and all preceding +%% commands in the same command stream. The sync object will not be signaled until all effects +%% from these commands on GL client and server state and the framebuffer are fully realized. +%% Note that completion of the fence command occurs once the state of the corresponding sync +%% object has been changed, but commands waiting on that sync object may not be unblocked +%% until after the fence command completes. +%% +%% See external documentation. +-spec fenceSync(Condition, Flags) -> integer() when Condition :: enum(),Flags :: integer(). fenceSync(Condition,Flags) -> call(5690, <>). -%% @spec (Sync::integer()) -> 0|1 -%% @doc See external documentation. --spec isSync(integer()) -> 0|1. +%% @doc Determine if a name corresponds to a sync object +%% +%% ``gl:isSync'' returns `?GL_TRUE' if `Sync' is currently the name of a sync +%% object. If `Sync' is not the name of a sync object, or if an error occurs, ``gl:isSync'' +%% returns `?GL_FALSE'. Note that zero is not the name of a sync object. +%% +%% See external documentation. +-spec isSync(Sync) -> 0|1 when Sync :: integer(). isSync(Sync) -> call(5691, <>). -%% @spec (Sync::integer()) -> ok -%% @doc See external documentation. --spec deleteSync(integer()) -> ok. +%% @doc Delete a sync object +%% +%% ``gl:deleteSync'' deletes the sync object specified by `Sync' . If the fence command +%% corresponding to the specified sync object has completed, or if no {@link gl:waitSync/3} +%% or {@link gl:clientWaitSync/3} commands are blocking on `Sync' , the object is deleted +%% immediately. Otherwise, `Sync' is flagged for deletion and will be deleted when it +%% is no longer associated with any fence command and is no longer blocking any {@link gl:waitSync/3} +%% or {@link gl:clientWaitSync/3} command. In either case, after ``gl:deleteSync'' returns, +%% the name `Sync' is invalid and can no longer be used to refer to the sync object. +%% +%% ``gl:deleteSync'' will silently ignore a `Sync' value of zero. +%% +%% See external documentation. +-spec deleteSync(Sync) -> ok when Sync :: integer(). deleteSync(Sync) -> cast(5692, <>). -%% @spec (Sync::integer(),Flags::integer(),Timeout::integer()) -> enum() -%% @doc See external documentation. --spec clientWaitSync(integer(),integer(),integer()) -> enum(). +%% @doc Block and wait for a sync object to become signaled +%% +%% ``gl:clientWaitSync'' causes the client to block and wait for the sync object specified +%% by `Sync' to become signaled. If `Sync' is signaled when ``gl:clientWaitSync'' +%% is called, ``gl:clientWaitSync'' returns immediately, otherwise it will block and wait +%% for up to `Timeout' nanoseconds for `Sync' to become signaled. +%% +%% The return value is one of four status values: +%% +%% `?GL_ALREADY_SIGNALED' indicates that `Sync' was signaled at the time that ``gl:clientWaitSync'' +%% was called. +%% +%% `?GL_TIMEOUT_EXPIRED' indicates that at least `Timeout' nanoseconds passed and `Sync' +%% did not become signaled. +%% +%% `?GL_CONDITION_SATISFIED' indicates that `Sync' was signaled before the timeout +%% expired. +%% +%% `?GL_WAIT_FAILED' indicates that an error occurred. Additionally, an OpenGL error +%% will be generated. +%% +%% See external documentation. +-spec clientWaitSync(Sync, Flags, Timeout) -> enum() when Sync :: integer(),Flags :: integer(),Timeout :: integer(). clientWaitSync(Sync,Flags,Timeout) -> call(5693, <>). -%% @spec (Sync::integer(),Flags::integer(),Timeout::integer()) -> ok -%% @doc See external documentation. --spec waitSync(integer(),integer(),integer()) -> ok. +%% @doc Instruct the GL server to block until the specified sync object becomes signaled +%% +%% ``gl:waitSync'' causes the GL server to block and wait until `Sync' becomes signaled. +%% `Sync' is the name of an existing sync object upon which to wait. `Flags' and `Timeout' +%% are currently not used and must be set to zero and the special value `?GL_TIMEOUT_IGNORED' +%% , respectively +%% +%% `Flags' and `Timeout' are placeholders for anticipated future extensions of +%% sync object capabilities. They must have these reserved values in order that existing +%% code calling ``gl:waitSync'' operate properly in the presence of such extensions.. ``gl:waitSync'' +%% will always wait no longer than an implementation-dependent timeout. The duration of +%% this timeout in nanoseconds may be queried by calling {@link gl:getBooleanv/1} with the parameter `?GL_MAX_SERVER_WAIT_TIMEOUT' +%% . There is currently no way to determine whether ``gl:waitSync'' unblocked because the +%% timeout expired or because the sync object being waited on was signaled. +%% +%% If an error occurs, ``gl:waitSync'' does not cause the GL server to block. +%% +%% See external documentation. +-spec waitSync(Sync, Flags, Timeout) -> ok when Sync :: integer(),Flags :: integer(),Timeout :: integer(). waitSync(Sync,Flags,Timeout) -> cast(5694, <>). -%% @spec (Pname::enum()) -> [integer()] -%% @doc See external documentation. --spec getInteger64v(enum()) -> [integer()]. +%% @doc +%% See {@link getBooleanv/1} +-spec getInteger64v(Pname) -> [integer()] when Pname :: enum(). getInteger64v(Pname) -> call(5695, <>). -%% @spec (Sync::integer(),Pname::enum(),BufSize::integer()) -> [integer()] -%% @doc See external documentation. --spec getSynciv(integer(),enum(),integer()) -> [integer()]. +%% @doc Query the properties of a sync object +%% +%% ``gl:getSynciv'' retrieves properties of a sync object. `Sync' specifies the name +%% of the sync object whose properties to retrieve. +%% +%% On success, ``gl:getSynciv'' replaces up to `BufSize' integers in `Values' +%% with the corresponding property values of the object being queried. The actual number +%% of integers replaced is returned in the variable whose address is specified in `Length' +%% . If `Length' is NULL, no length is returned. +%% +%% If `Pname' is `?GL_OBJECT_TYPE', a single value representing the specific type +%% of the sync object is placed in `Values' . The only type supported is `?GL_SYNC_FENCE' +%% . +%% +%% If `Pname' is `?GL_SYNC_STATUS', a single value representing the status of +%% the sync object (`?GL_SIGNALED' or `?GL_UNSIGNALED') is placed in `Values' . +%% +%% +%% If `Pname' is `?GL_SYNC_CONDITION', a single value representing the condition +%% of the sync object is placed in `Values' . The only condition supported is `?GL_SYNC_GPU_COMMANDS_COMPLETE' +%% . +%% +%% If `Pname' is `?GL_SYNC_FLAGS', a single value representing the flags with +%% which the sync object was created is placed in `Values' . No flags are currently supported +%% +%% +%% `Flags' is expected to be used in future extensions to the sync objects.. +%% +%% If an error occurs, nothing will be written to `Values' or `Length' . +%% +%% See external documentation. +-spec getSynciv(Sync, Pname, BufSize) -> [integer()] when Sync :: integer(),Pname :: enum(),BufSize :: integer(). getSynciv(Sync,Pname,BufSize) -> call(5696, <>). -%% @spec (Target::enum(),Samples::integer(),Internalformat::integer(),Width::integer(),Height::integer(),Fixedsamplelocations::0|1) -> ok -%% @doc See external documentation. --spec texImage2DMultisample(enum(),integer(),integer(),integer(),integer(),0|1) -> ok. +%% @doc Establish the data storage, format, dimensions, and number of samples of a multisample texture's image +%% +%% ``gl:texImage2DMultisample'' establishes the data storage, format, dimensions and number +%% of samples of a multisample texture's image. +%% +%% `Target' must be `?GL_TEXTURE_2D_MULTISAMPLE' or `?GL_PROXY_TEXTURE_2D_MULTISAMPLE' +%% . `Width' and `Height' are the dimensions in texels of the texture, and must +%% be in the range zero to `?GL_MAX_TEXTURE_SIZE' - 1. `Samples' specifies the +%% number of samples in the image and must be in the range zero to `?GL_MAX_SAMPLES' +%% - 1. +%% +%% `Internalformat' must be a color-renderable, depth-renderable, or stencil-renderable +%% format. +%% +%% If `Fixedsamplelocations' is `?GL_TRUE', the image will use identical sample +%% locations and the same number of samples for all texels in the image, and the sample locations +%% will not depend on the internal format or size of the image. +%% +%% When a multisample texture is accessed in a shader, the access takes one vector of integers +%% describing which texel to fetch and an integer corresponding to the sample numbers describing +%% which sample within the texel to fetch. No standard sampling instructions are allowed +%% on the multisample texture targets. +%% +%% See external documentation. +-spec texImage2DMultisample(Target, Samples, Internalformat, Width, Height, Fixedsamplelocations) -> ok when Target :: enum(),Samples :: integer(),Internalformat :: integer(),Width :: integer(),Height :: integer(),Fixedsamplelocations :: 0|1. texImage2DMultisample(Target,Samples,Internalformat,Width,Height,Fixedsamplelocations) -> cast(5697, <>). -%% @spec (Target::enum(),Samples::integer(),Internalformat::integer(),Width::integer(),Height::integer(),Depth::integer(),Fixedsamplelocations::0|1) -> ok -%% @doc See external documentation. --spec texImage3DMultisample(enum(),integer(),integer(),integer(),integer(),integer(),0|1) -> ok. +%% @doc Establish the data storage, format, dimensions, and number of samples of a multisample texture's image +%% +%% ``gl:texImage3DMultisample'' establishes the data storage, format, dimensions and number +%% of samples of a multisample texture's image. +%% +%% `Target' must be `?GL_TEXTURE_2D_MULTISAMPLE_ARRAY' or `?GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY' +%% . `Width' and `Height' are the dimensions in texels of the texture, and must +%% be in the range zero to `?GL_MAX_TEXTURE_SIZE' - 1. `Depth' is the number of +%% array slices in the array texture's image. `Samples' specifies the number of samples +%% in the image and must be in the range zero to `?GL_MAX_SAMPLES' - 1. +%% +%% `Internalformat' must be a color-renderable, depth-renderable, or stencil-renderable +%% format. +%% +%% If `Fixedsamplelocations' is `?GL_TRUE', the image will use identical sample +%% locations and the same number of samples for all texels in the image, and the sample locations +%% will not depend on the internal format or size of the image. +%% +%% When a multisample texture is accessed in a shader, the access takes one vector of integers +%% describing which texel to fetch and an integer corresponding to the sample numbers describing +%% which sample within the texel to fetch. No standard sampling instructions are allowed +%% on the multisample texture targets. +%% +%% See external documentation. +-spec texImage3DMultisample(Target, Samples, Internalformat, Width, Height, Depth, Fixedsamplelocations) -> ok when Target :: enum(),Samples :: integer(),Internalformat :: integer(),Width :: integer(),Height :: integer(),Depth :: integer(),Fixedsamplelocations :: 0|1. texImage3DMultisample(Target,Samples,Internalformat,Width,Height,Depth,Fixedsamplelocations) -> cast(5698, <>). -%% @spec (Pname::enum(),Index::integer()) -> {float(),float()} -%% @doc See external documentation. --spec getMultisamplefv(enum(),integer()) -> {float(),float()}. +%% @doc Retrieve the location of a sample +%% +%% ``gl:getMultisamplefv'' queries the location of a given sample. `Pname' specifies +%% the sample parameter to retrieve and must be `?GL_SAMPLE_POSITION'. `Index' +%% corresponds to the sample for which the location should be returned. The sample location +%% is returned as two floating-point values in `Val[0]' and `Val[1]' , each between +%% 0 and 1, corresponding to the `X' and `Y' locations respectively in the GL pixel +%% space of that sample. (0.5, 0.5) this corresponds to the pixel center. `Index' must +%% be between zero and the value of `?GL_SAMPLES' - 1. +%% +%% If the multisample mode does not have fixed sample locations, the returned values may +%% only reflect the locations of samples within some pixels. +%% +%% See external documentation. +-spec getMultisamplefv(Pname, Index) -> {float(),float()} when Pname :: enum(),Index :: integer(). getMultisamplefv(Pname,Index) -> call(5699, <>). -%% @spec (Index::integer(),Mask::integer()) -> ok -%% @doc See external documentation. --spec sampleMaski(integer(),integer()) -> ok. +%% @doc Set the value of a sub-word of the sample mask +%% +%% ``gl:sampleMaski'' sets one 32-bit sub-word of the multi-word sample mask, `?GL_SAMPLE_MASK_VALUE' +%% . +%% +%% `MaskIndex' specifies which 32-bit sub-word of the sample mask to update, and `Mask' +%% specifies the new value to use for that sub-word. `MaskIndex' must be less than +%% the value of `?GL_MAX_SAMPLE_MASK_WORDS'. Bit `B' of mask word `M' corresponds +%% to sample 32 x `M' + `B'. +%% +%% See external documentation. +-spec sampleMaski(Index, Mask) -> ok when Index :: integer(),Mask :: integer(). sampleMaski(Index,Mask) -> cast(5700, <>). -%% @spec (Type::enum(),Name::string(),String::string()) -> ok -%% @doc See external documentation. --spec namedStringARB(enum(),string(),string()) -> ok. +%% @doc glNamedStringARB +%% +%% See external documentation. +-spec namedStringARB(Type, Name, String) -> ok when Type :: enum(),Name :: string(),String :: string(). namedStringARB(Type,Name,String) -> cast(5701, <>). -%% @spec (Name::string()) -> ok -%% @doc See external documentation. --spec deleteNamedStringARB(string()) -> ok. +%% @doc glDeleteNamedStringARB +%% +%% See external documentation. +-spec deleteNamedStringARB(Name) -> ok when Name :: string(). 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 external documentation. --spec compileShaderIncludeARB(integer(),[string()]) -> ok. +%% @doc glCompileShaderIncludeARB +%% +%% See external documentation. +-spec compileShaderIncludeARB(Shader, Path) -> ok when Shader :: integer(),Path :: [string()]. compileShaderIncludeARB(Shader,Path) -> PathTemp = list_to_binary([[Str|[0]] || Str <- Path ]), cast(5703, <>). -%% @spec (Name::string()) -> 0|1 -%% @doc See external documentation. --spec isNamedStringARB(string()) -> 0|1. +%% @doc glIsNamedStringARB +%% +%% See external documentation. +-spec isNamedStringARB(Name) -> 0|1 when Name :: string(). 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 external documentation. --spec getNamedStringARB(string(),integer()) -> string(). +%% @doc glGetNamedStringARB +%% +%% See external documentation. +-spec getNamedStringARB(Name, BufSize) -> string() when Name :: string(),BufSize :: integer(). 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 external documentation. --spec getNamedStringivARB(string(),enum()) -> integer(). +%% @doc glGetNamedStringARB +%% +%% See external documentation. +-spec getNamedStringivARB(Name, Pname) -> integer() when Name :: string(),Pname :: enum(). 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 external documentation. --spec bindFragDataLocationIndexed(integer(),integer(),integer(),string()) -> ok. +%% @doc glBindFragDataLocationIndexe +%% +%% See external documentation. +-spec bindFragDataLocationIndexed(Program, ColorNumber, Index, Name) -> ok when Program :: integer(),ColorNumber :: integer(),Index :: integer(),Name :: string(). bindFragDataLocationIndexed(Program,ColorNumber,Index,Name) -> cast(5707, <>). -%% @spec (Program::integer(),Name::string()) -> integer() -%% @doc See external documentation. --spec getFragDataIndex(integer(),string()) -> integer(). +%% @doc Query the bindings of color indices to user-defined varying out variables +%% +%% ``gl:getFragDataIndex'' returns the index of the fragment color to which the variable `Name' +%% was bound when the program object `Program' was last linked. If `Name' is not +%% a varying out variable of `Program' , or if an error occurs, -1 will be returned. +%% +%% See external documentation. +-spec getFragDataIndex(Program, Name) -> integer() when Program :: integer(),Name :: string(). getFragDataIndex(Program,Name) -> call(5708, <>). -%% @spec (Count::integer()) -> [integer()] -%% @doc See external documentation. --spec genSamplers(integer()) -> [integer()]. +%% @doc Generate sampler object names +%% +%% ``gl:genSamplers'' returns `N' sampler object names in `Samplers' . There is +%% no guarantee that the names form a contiguous set of integers; however, it is guaranteed +%% that none of the returned names was in use immediately before the call to ``gl:genSamplers'' +%% . +%% +%% Sampler object names returned by a call to ``gl:genSamplers'' are not returned by subsequent +%% calls, unless they are first deleted with {@link gl:deleteSamplers/1} . +%% +%% The names returned in `Samplers' are marked as used, for the purposes of ``gl:genSamplers'' +%% only, but they acquire state and type only when they are first bound. +%% +%% See external documentation. +-spec genSamplers(Count) -> [integer()] when Count :: integer(). genSamplers(Count) -> call(5709, <>). -%% @spec (Samplers::[integer()]) -> ok -%% @doc See external documentation. --spec deleteSamplers([integer()]) -> ok. +%% @doc Delete named sampler objects +%% +%% ``gl:deleteSamplers'' deletes `N' sampler objects named by the elements of the +%% array `Ids' . After a sampler object is deleted, its name is again unused. If a sampler +%% object that is currently bound to a sampler unit is deleted, it is as though {@link gl:bindSampler/2} +%% is called with unit set to the unit the sampler is bound to and sampler zero. Unused +%% names in samplers are silently ignored, as is the reserved name zero. +%% +%% See external documentation. +-spec deleteSamplers(Samplers) -> ok when Samplers :: [integer()]. deleteSamplers(Samplers) -> cast(5710, <<(length(Samplers)):?GLuint, (<< <> || C <- Samplers>>)/binary,0:(((1+length(Samplers)) rem 2)*32)>>). -%% @spec (Sampler::integer()) -> 0|1 -%% @doc See external documentation. --spec isSampler(integer()) -> 0|1. +%% @doc Determine if a name corresponds to a sampler object +%% +%% ``gl:isSampler'' returns `?GL_TRUE' if `Id' is currently the name of a sampler +%% object. If `Id' is zero, or is a non-zero value that is not currently the name of +%% a sampler object, or if an error occurs, ``gl:isSampler'' returns `?GL_FALSE'. +%% +%% A name returned by {@link gl:genSamplers/1} , is the name of a sampler object. +%% +%% See external documentation. +-spec isSampler(Sampler) -> 0|1 when Sampler :: integer(). isSampler(Sampler) -> call(5711, <>). -%% @spec (Unit::integer(),Sampler::integer()) -> ok -%% @doc See external documentation. --spec bindSampler(integer(),integer()) -> ok. +%% @doc Bind a named sampler to a texturing target +%% +%% ``gl:bindSampler'' binds `Sampler' to the texture unit at index `Unit' . `Sampler' +%% must be zero or the name of a sampler object previously returned from a call to {@link gl:genSamplers/1} +%% . `Unit' must be less than the value of `?GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS'. +%% +%% +%% When a sampler object is bound to a texture unit, its state supersedes that of the texture +%% object bound to that texture unit. If the sampler name zero is bound to a texture unit, +%% the currently bound texture's sampler state becomes active. A single sampler object may +%% be bound to multiple texture units simultaneously. +%% +%% See external documentation. +-spec bindSampler(Unit, Sampler) -> ok when Unit :: integer(),Sampler :: integer(). bindSampler(Unit,Sampler) -> cast(5712, <>). -%% @spec (Sampler::integer(),Pname::enum(),Param::integer()) -> ok -%% @doc See external documentation. --spec samplerParameteri(integer(),enum(),integer()) -> ok. +%% @doc Set sampler parameters +%% +%% ``gl:samplerParameter'' assigns the value or values in `Params' to the sampler +%% parameter specified as `Pname' . `Sampler' specifies the sampler object to be +%% modified, and must be the name of a sampler object previously returned from a call to {@link gl:genSamplers/1} +%% . The following symbols are accepted in `Pname' : +%% +%% `?GL_TEXTURE_MIN_FILTER': The texture minifying function is used whenever the pixel +%% being textured maps to an area greater than one texture element. There are six defined +%% minifying functions. Two of them use the nearest one or nearest four texture elements +%% to compute the texture value. The other four use mipmaps. +%% +%% A mipmap is an ordered set of arrays representing the same image at progressively lower +%% resolutions. If the texture has dimensions 2 n*2 m, there are max(n m)+1 mipmaps. The first +%% mipmap is the original texture, with dimensions 2 n*2 m. Each subsequent mipmap has +%% dimensions 2(k-1)*2(l-1), where 2 k*2 l are the dimensions of the previous mipmap, until either +%% k= 0 or l= 0. At that point, subsequent mipmaps have dimension 1*2(l-1) or 2(k-1)*1 until +%% the final mipmap, which has dimension 1*1. To define the mipmaps, call {@link gl:texImage1D/8} +%% , {@link gl:texImage2D/9} , {@link gl:texImage3D/10} , {@link gl:copyTexImage1D/7} , or {@link gl:copyTexImage2D/8} +%% with the `level' argument indicating the order of the mipmaps. Level 0 is the original +%% texture; level max(n m) is the final 1*1 mipmap. +%% +%% `Params' supplies a function for minifying the texture as one of the following: +%% +%% `?GL_NEAREST': Returns the value of the texture element that is nearest (in Manhattan +%% distance) to the center of the pixel being textured. +%% +%% `?GL_LINEAR': Returns the weighted average of the four texture elements that are +%% closest to the center of the pixel being textured. These can include border texture elements, +%% depending on the values of `?GL_TEXTURE_WRAP_S' and `?GL_TEXTURE_WRAP_T', and +%% on the exact mapping. +%% +%% `?GL_NEAREST_MIPMAP_NEAREST': Chooses the mipmap that most closely matches the size +%% of the pixel being textured and uses the `?GL_NEAREST' criterion (the texture element +%% nearest to the center of the pixel) to produce a texture value. +%% +%% `?GL_LINEAR_MIPMAP_NEAREST': Chooses the mipmap that most closely matches the size +%% of the pixel being textured and uses the `?GL_LINEAR' criterion (a weighted average +%% of the four texture elements that are closest to the center of the pixel) to produce a +%% texture value. +%% +%% `?GL_NEAREST_MIPMAP_LINEAR': Chooses the two mipmaps that most closely match the +%% size of the pixel being textured and uses the `?GL_NEAREST' criterion (the texture +%% element nearest to the center of the pixel) to produce a texture value from each mipmap. +%% The final texture value is a weighted average of those two values. +%% +%% `?GL_LINEAR_MIPMAP_LINEAR': Chooses the two mipmaps that most closely match the +%% size of the pixel being textured and uses the `?GL_LINEAR' criterion (a weighted +%% average of the four texture elements that are closest to the center of the pixel) to produce +%% a texture value from each mipmap. The final texture value is a weighted average of those +%% two values. +%% +%% As more texture elements are sampled in the minification process, fewer aliasing artifacts +%% will be apparent. While the `?GL_NEAREST' and `?GL_LINEAR' minification functions +%% can be faster than the other four, they sample only one or four texture elements to determine +%% the texture value of the pixel being rendered and can produce moire patterns or ragged +%% transitions. The initial value of `?GL_TEXTURE_MIN_FILTER' is `?GL_NEAREST_MIPMAP_LINEAR' +%% . +%% +%% `?GL_TEXTURE_MAG_FILTER': The texture magnification function is used when the pixel +%% being textured maps to an area less than or equal to one texture element. It sets the +%% texture magnification function to either `?GL_NEAREST' or `?GL_LINEAR' (see +%% below). `?GL_NEAREST' is generally faster than `?GL_LINEAR', but it can produce +%% textured images with sharper edges because the transition between texture elements is +%% not as smooth. The initial value of `?GL_TEXTURE_MAG_FILTER' is `?GL_LINEAR'. +%% +%% `?GL_NEAREST': Returns the value of the texture element that is nearest (in Manhattan +%% distance) to the center of the pixel being textured. +%% +%% `?GL_LINEAR': Returns the weighted average of the four texture elements that are +%% closest to the center of the pixel being textured. These can include border texture elements, +%% depending on the values of `?GL_TEXTURE_WRAP_S' and `?GL_TEXTURE_WRAP_T', and +%% on the exact mapping. +%% +%% +%% +%% `?GL_TEXTURE_MIN_LOD': Sets the minimum level-of-detail parameter. This floating-point +%% value limits the selection of highest resolution mipmap (lowest mipmap level). The initial +%% value is -1000. +%% +%% +%% +%% `?GL_TEXTURE_MAX_LOD': Sets the maximum level-of-detail parameter. This floating-point +%% value limits the selection of the lowest resolution mipmap (highest mipmap level). The +%% initial value is 1000. +%% +%% +%% +%% `?GL_TEXTURE_WRAP_S': Sets the wrap parameter for texture coordinate s to either `?GL_CLAMP_TO_EDGE' +%% , `?GL_MIRRORED_REPEAT', or `?GL_REPEAT'. `?GL_CLAMP_TO_BORDER' causes +%% the s coordinate to be clamped to the range [(-1 2/N) 1+(1 2/N)], where N is the size of the texture in +%% the direction of clamping.`?GL_CLAMP_TO_EDGE' causes s coordinates to be clamped +%% to the range [(1 2/N) 1-(1 2/N)], where N is the size of the texture in the direction of clamping. `?GL_REPEAT' +%% causes the integer part of the s coordinate to be ignored; the GL uses only the fractional +%% part, thereby creating a repeating pattern. `?GL_MIRRORED_REPEAT' causes the s +%% coordinate to be set to the fractional part of the texture coordinate if the integer part +%% of s is even; if the integer part of s is odd, then the s texture coordinate is +%% set to 1-frac(s), where frac(s) represents the fractional part of s. Initially, `?GL_TEXTURE_WRAP_S' +%% is set to `?GL_REPEAT'. +%% +%% +%% +%% `?GL_TEXTURE_WRAP_T': Sets the wrap parameter for texture coordinate t to either `?GL_CLAMP_TO_EDGE' +%% , `?GL_MIRRORED_REPEAT', or `?GL_REPEAT'. See the discussion under `?GL_TEXTURE_WRAP_S' +%% . Initially, `?GL_TEXTURE_WRAP_T' is set to `?GL_REPEAT'. +%% +%% `?GL_TEXTURE_WRAP_R': Sets the wrap parameter for texture coordinate r to either `?GL_CLAMP_TO_EDGE' +%% , `?GL_MIRRORED_REPEAT', or `?GL_REPEAT'. See the discussion under `?GL_TEXTURE_WRAP_S' +%% . Initially, `?GL_TEXTURE_WRAP_R' is set to `?GL_REPEAT'. +%% +%% `?GL_TEXTURE_BORDER_COLOR': The data in `Params' specifies four values that +%% define the border values that should be used for border texels. If a texel is sampled +%% from the border of the texture, the values of `?GL_TEXTURE_BORDER_COLOR' are interpreted +%% as an RGBA color to match the texture's internal format and substituted for the non-existent +%% texel data. If the texture contains depth components, the first component of `?GL_TEXTURE_BORDER_COLOR' +%% is interpreted as a depth value. The initial value is (0.0, 0.0, 0.0, 0.0). +%% +%% `?GL_TEXTURE_COMPARE_MODE': Specifies the texture comparison mode for currently +%% bound textures. That is, a texture whose internal format is `?GL_DEPTH_COMPONENT_*'; +%% see {@link gl:texImage2D/9} ) Permissible values are: +%% +%% `?GL_COMPARE_REF_TO_TEXTURE': Specifies that the interpolated and clamped r texture +%% coordinate should be compared to the value in the currently bound texture. See the discussion +%% of `?GL_TEXTURE_COMPARE_FUNC' for details of how the comparison is evaluated. The +%% result of the comparison is assigned to the red channel. +%% +%% `?GL_NONE': Specifies that the red channel should be assigned the appropriate value +%% from the currently bound texture. +%% +%% `?GL_TEXTURE_COMPARE_FUNC': Specifies the comparison operator used when `?GL_TEXTURE_COMPARE_MODE' +%% is set to `?GL_COMPARE_REF_TO_TEXTURE'. Permissible values are: +%%
+%% ` Texture Comparison Function '` Computed result '
`?GL_LEQUAL' result={1.0 0.0 &nbsp;&nbsp; r<=(D t) r>(D t))
`?GL_GEQUAL' +%% result={1.0 0.0 &nbsp;&nbsp; r>=(D t) r<(D t))
`?GL_LESS' result={1.0 0.0 &nbsp;&nbsp; r< +%% (D t) r>=(D t))
`?GL_GREATER' +%% result={1.0 0.0 &nbsp;&nbsp; r>(D t) r<=(D t))
`?GL_EQUAL' result={1.0 0.0 &nbsp;&nbsp; +%% r=(D t) r&ne;(D t))
`?GL_NOTEQUAL' +%% result={1.0 0.0 &nbsp;&nbsp; r&ne;(D t) r=(D t))
`?GL_ALWAYS' result= 1.0
+%% `?GL_NEVER' result= 0.0
where r is the current +%% interpolated texture coordinate, and D t is the texture value sampled from the currently +%% bound texture. result is assigned to R t. +%% +%% See external documentation. +-spec samplerParameteri(Sampler, Pname, Param) -> ok when Sampler :: integer(),Pname :: enum(),Param :: integer(). samplerParameteri(Sampler,Pname,Param) -> cast(5713, <>). -%% @spec (Sampler::integer(),Pname::enum(),Param::[integer()]) -> ok -%% @doc See external documentation. --spec samplerParameteriv(integer(),enum(),[integer()]) -> ok. +%% @doc +%% See {@link samplerParameteri/3} +-spec samplerParameteriv(Sampler, Pname, Param) -> ok when Sampler :: integer(),Pname :: enum(),Param :: [integer()]. samplerParameteriv(Sampler,Pname,Param) -> cast(5714, <> || C <- Param>>)/binary,0:(((1+length(Param)) rem 2)*32)>>). -%% @spec (Sampler::integer(),Pname::enum(),Param::float()) -> ok -%% @doc See external documentation. --spec samplerParameterf(integer(),enum(),float()) -> ok. +%% @doc +%% See {@link samplerParameteri/3} +-spec samplerParameterf(Sampler, Pname, Param) -> ok when Sampler :: integer(),Pname :: enum(),Param :: float(). samplerParameterf(Sampler,Pname,Param) -> cast(5715, <>). -%% @spec (Sampler::integer(),Pname::enum(),Param::[float()]) -> ok -%% @doc See external documentation. --spec samplerParameterfv(integer(),enum(),[float()]) -> ok. +%% @doc +%% See {@link samplerParameteri/3} +-spec samplerParameterfv(Sampler, Pname, Param) -> ok when Sampler :: integer(),Pname :: enum(),Param :: [float()]. samplerParameterfv(Sampler,Pname,Param) -> cast(5716, <> || C <- Param>>)/binary,0:(((1+length(Param)) rem 2)*32)>>). -%% @spec (Sampler::integer(),Pname::enum(),Param::[integer()]) -> ok -%% @doc See external documentation. --spec samplerParameterIiv(integer(),enum(),[integer()]) -> ok. +%% @doc +%% See {@link samplerParameteri/3} +-spec samplerParameterIiv(Sampler, Pname, Param) -> ok when Sampler :: integer(),Pname :: enum(),Param :: [integer()]. samplerParameterIiv(Sampler,Pname,Param) -> cast(5717, <> || C <- Param>>)/binary,0:(((1+length(Param)) rem 2)*32)>>). -%% @spec (Sampler::integer(),Pname::enum(),Param::[integer()]) -> ok -%% @doc See external documentation. --spec samplerParameterIuiv(integer(),enum(),[integer()]) -> ok. +%% @doc glSamplerParameterI +%% +%% See external documentation. +-spec samplerParameterIuiv(Sampler, Pname, Param) -> ok when Sampler :: integer(),Pname :: enum(),Param :: [integer()]. samplerParameterIuiv(Sampler,Pname,Param) -> cast(5718, <> || C <- Param>>)/binary,0:(((1+length(Param)) rem 2)*32)>>). -%% @spec (Sampler::integer(),Pname::enum()) -> [integer()] -%% @doc See external documentation. --spec getSamplerParameteriv(integer(),enum()) -> [integer()]. +%% @doc Return sampler parameter values +%% +%% ``gl:getSamplerParameter'' returns in `Params' the value or values of the sampler +%% parameter specified as `Pname' . `Sampler' defines the target sampler, and must +%% be the name of an existing sampler object, returned from a previous call to {@link gl:genSamplers/1} +%% . `Pname' accepts the same symbols as {@link gl:samplerParameteri/3} , with the same +%% interpretations: +%% +%% `?GL_TEXTURE_MAG_FILTER': Returns the single-valued texture magnification filter, +%% a symbolic constant. The initial value is `?GL_LINEAR'. +%% +%% `?GL_TEXTURE_MIN_FILTER': Returns the single-valued texture minification filter, +%% a symbolic constant. The initial value is `?GL_NEAREST_MIPMAP_LINEAR'. +%% +%% `?GL_TEXTURE_MIN_LOD': Returns the single-valued texture minimum level-of-detail +%% value. The initial value is -1000. +%% +%% `?GL_TEXTURE_MAX_LOD': Returns the single-valued texture maximum level-of-detail +%% value. The initial value is 1000. +%% +%% `?GL_TEXTURE_WRAP_S': Returns the single-valued wrapping function for texture coordinate +%% s, a symbolic constant. The initial value is `?GL_REPEAT'. +%% +%% `?GL_TEXTURE_WRAP_T': Returns the single-valued wrapping function for texture coordinate +%% t, a symbolic constant. The initial value is `?GL_REPEAT'. +%% +%% `?GL_TEXTURE_WRAP_R': Returns the single-valued wrapping function for texture coordinate +%% r, a symbolic constant. The initial value is `?GL_REPEAT'. +%% +%% `?GL_TEXTURE_BORDER_COLOR': Returns four integer or floating-point numbers that +%% comprise the RGBA color of the texture border. Floating-point values are returned in the +%% range [0 1]. Integer values are returned as a linear mapping of the internal floating-point +%% representation such that 1.0 maps to the most positive representable integer and -1.0 +%% maps to the most negative representable integer. The initial value is (0, 0, 0, 0). +%% +%% `?GL_TEXTURE_COMPARE_MODE': Returns a single-valued texture comparison mode, a symbolic +%% constant. The initial value is `?GL_NONE'. See {@link gl:samplerParameteri/3} . +%% +%% `?GL_TEXTURE_COMPARE_FUNC': Returns a single-valued texture comparison function, +%% a symbolic constant. The initial value is `?GL_LEQUAL'. See {@link gl:samplerParameteri/3} +%% . +%% +%% See external documentation. +-spec getSamplerParameteriv(Sampler, Pname) -> [integer()] when Sampler :: integer(),Pname :: enum(). getSamplerParameteriv(Sampler,Pname) -> call(5719, <>). -%% @spec (Sampler::integer(),Pname::enum()) -> [integer()] -%% @doc See external documentation. --spec getSamplerParameterIiv(integer(),enum()) -> [integer()]. +%% @doc +%% See {@link getSamplerParameteriv/2} +-spec getSamplerParameterIiv(Sampler, Pname) -> [integer()] when Sampler :: integer(),Pname :: enum(). getSamplerParameterIiv(Sampler,Pname) -> call(5720, <>). -%% @spec (Sampler::integer(),Pname::enum()) -> [float()] -%% @doc See external documentation. --spec getSamplerParameterfv(integer(),enum()) -> [float()]. +%% @doc +%% See {@link getSamplerParameteriv/2} +-spec getSamplerParameterfv(Sampler, Pname) -> [float()] when Sampler :: integer(),Pname :: enum(). getSamplerParameterfv(Sampler,Pname) -> call(5721, <>). -%% @spec (Sampler::integer(),Pname::enum()) -> [integer()] -%% @doc See external documentation. --spec getSamplerParameterIuiv(integer(),enum()) -> [integer()]. +%% @doc glGetSamplerParameterI +%% +%% See external documentation. +-spec getSamplerParameterIuiv(Sampler, Pname) -> [integer()] when Sampler :: integer(),Pname :: enum(). getSamplerParameterIuiv(Sampler,Pname) -> call(5722, <>). -%% @spec (Id::integer(),Target::enum()) -> ok -%% @doc See external documentation. --spec queryCounter(integer(),enum()) -> ok. +%% @doc Record the GL time into a query object after all previous commands have reached the GL server but have not yet necessarily executed. +%% +%% ``gl:queryCounter'' causes the GL to record the current time into the query object named +%% `Id' . `Target' must be `?GL_TIMESTAMP'. The time is recorded after all +%% previous commands on the GL client and server state and the framebuffer have been fully +%% realized. When the time is recorded, the query result for that object is marked available. +%% ``gl:queryCounter'' timer queries can be used within a {@link gl:beginQuery/2} / {@link gl:beginQuery/2} +%% block where the target is `?GL_TIME_ELAPSED' and it does not affect the result of +%% that query object. +%% +%% See external documentation. +-spec queryCounter(Id, Target) -> ok when Id :: integer(),Target :: enum(). queryCounter(Id,Target) -> cast(5723, <>). -%% @spec (Id::integer(),Pname::enum()) -> integer() -%% @doc See external documentation. --spec getQueryObjecti64v(integer(),enum()) -> integer(). +%% @doc glGetQueryObjecti64v +%% +%% See external documentation. +-spec getQueryObjecti64v(Id, Pname) -> integer() when Id :: integer(),Pname :: enum(). getQueryObjecti64v(Id,Pname) -> call(5724, <>). -%% @spec (Id::integer(),Pname::enum()) -> integer() -%% @doc See external documentation. --spec getQueryObjectui64v(integer(),enum()) -> integer(). +%% @doc glGetQueryObjectui64v +%% +%% See external documentation. +-spec getQueryObjectui64v(Id, Pname) -> integer() when Id :: integer(),Pname :: enum(). getQueryObjectui64v(Id,Pname) -> call(5725, <>). -%% @spec (Mode::enum(),Indirect::offset()|mem()) -> ok -%% @doc See external documentation. --spec drawArraysIndirect(enum(),offset()|mem()) -> ok. +%% @doc Render primitives from array data, taking parameters from memory +%% +%% ``gl:drawArraysIndirect'' specifies multiple geometric primitives with very few subroutine +%% calls. ``gl:drawArraysIndirect'' behaves similarly to {@link gl:drawArraysInstancedBaseInstance/5} +%% , execept that the parameters to {@link gl:drawArraysInstancedBaseInstance/5} are stored +%% in memory at the address given by `Indirect' . +%% +%% The parameters addressed by `Indirect' are packed into a structure that takes the +%% form (in C): typedef struct { uint count; uint primCount; uint first; uint baseInstance; +%% } DrawArraysIndirectCommand; const DrawArraysIndirectCommand *cmd = (const DrawArraysIndirectCommand +%% *)indirect; glDrawArraysInstancedBaseInstance(mode, cmd->first, cmd->count, cmd->primCount, +%% cmd->baseInstance); +%% +%% If a buffer is bound to the `?GL_DRAW_INDIRECT_BUFFER' binding at the time of a +%% call to ``gl:drawArraysIndirect'', `Indirect' is interpreted as an offset, in basic +%% machine units, into that buffer and the parameter data is read from the buffer rather +%% than from client memory. +%% +%% In contrast to {@link gl:drawArraysInstancedBaseInstance/5} , the first member of the parameter +%% structure is unsigned, and out-of-range indices do not generate an error. +%% +%% Vertex attributes that are modified by ``gl:drawArraysIndirect'' have an unspecified +%% value after ``gl:drawArraysIndirect'' returns. Attributes that aren't modified remain +%% well defined. +%% +%% See external documentation. +-spec drawArraysIndirect(Mode, Indirect) -> ok when Mode :: enum(),Indirect :: offset()|mem(). drawArraysIndirect(Mode,Indirect) when is_integer(Indirect) -> cast(5726, <>); drawArraysIndirect(Mode,Indirect) -> send_bin(Indirect), cast(5727, <>). -%% @spec (Mode::enum(),Type::enum(),Indirect::offset()|mem()) -> ok -%% @doc See external documentation. --spec drawElementsIndirect(enum(),enum(),offset()|mem()) -> ok. +%% @doc Render indexed primitives from array data, taking parameters from memory +%% +%% ``gl:drawElementsIndirect'' specifies multiple indexed geometric primitives with very +%% few subroutine calls. ``gl:drawElementsIndirect'' behaves similarly to {@link gl:drawElementsInstancedBaseVertexBaseInstance/7} +%% , execpt that the parameters to {@link gl:drawElementsInstancedBaseVertexBaseInstance/7} +%% are stored in memory at the address given by `Indirect' . +%% +%% The parameters addressed by `Indirect' are packed into a structure that takes the +%% form (in C): typedef struct { uint count; uint primCount; uint firstIndex; uint baseVertex; +%% uint baseInstance; } DrawElementsIndirectCommand; +%% +%% ``gl:drawElementsIndirect'' is equivalent to: void glDrawElementsIndirect(GLenum mode, +%% GLenum type, const void * indirect) { const DrawElementsIndirectCommand *cmd = (const +%% DrawElementsIndirectCommand *)indirect; glDrawElementsInstancedBaseVertexBaseInstance(mode, +%% cmd->count, type, cmd->firstIndex + size-of-type, cmd->primCount, cmd->baseVertex, +%% cmd->baseInstance); } +%% +%% If a buffer is bound to the `?GL_DRAW_INDIRECT_BUFFER' binding at the time of a +%% call to ``gl:drawElementsIndirect'', `Indirect' is interpreted as an offset, in +%% basic machine units, into that buffer and the parameter data is read from the buffer rather +%% than from client memory. +%% +%% Note that indices stored in client memory are not supported. If no buffer is bound to +%% the `?GL_ELEMENT_ARRAY_BUFFER' binding, an error will be generated. +%% +%% The results of the operation are undefined if the reservedMustBeZero member of the parameter +%% structure is non-zero. However, no error is generated in this case. +%% +%% Vertex attributes that are modified by ``gl:drawElementsIndirect'' have an unspecified +%% value after ``gl:drawElementsIndirect'' returns. Attributes that aren't modified remain +%% well defined. +%% +%% See external documentation. +-spec drawElementsIndirect(Mode, Type, Indirect) -> ok when Mode :: enum(),Type :: enum(),Indirect :: offset()|mem(). drawElementsIndirect(Mode,Type,Indirect) when is_integer(Indirect) -> cast(5728, <>); drawElementsIndirect(Mode,Type,Indirect) -> send_bin(Indirect), cast(5729, <>). -%% @spec (Location::integer(),X::float()) -> ok -%% @doc See external documentation. --spec uniform1d(integer(),float()) -> ok. +%% @doc +%% See {@link uniform1f/2} +-spec uniform1d(Location, X) -> ok when Location :: integer(),X :: float(). uniform1d(Location,X) -> cast(5730, <>). -%% @spec (Location::integer(),X::float(),Y::float()) -> ok -%% @doc See external documentation. --spec uniform2d(integer(),float(),float()) -> ok. +%% @doc +%% See {@link uniform1f/2} +-spec uniform2d(Location, X, Y) -> ok when Location :: integer(),X :: float(),Y :: float(). uniform2d(Location,X,Y) -> cast(5731, <>). -%% @spec (Location::integer(),X::float(),Y::float(),Z::float()) -> ok -%% @doc See external documentation. --spec uniform3d(integer(),float(),float(),float()) -> ok. +%% @doc +%% See {@link uniform1f/2} +-spec uniform3d(Location, X, Y, Z) -> ok when Location :: integer(),X :: float(),Y :: float(),Z :: float(). uniform3d(Location,X,Y,Z) -> cast(5732, <>). -%% @spec (Location::integer(),X::float(),Y::float(),Z::float(),W::float()) -> ok -%% @doc See external documentation. --spec uniform4d(integer(),float(),float(),float(),float()) -> ok. +%% @doc +%% See {@link uniform1f/2} +-spec uniform4d(Location, X, Y, Z, W) -> ok when Location :: integer(),X :: float(),Y :: float(),Z :: float(),W :: float(). uniform4d(Location,X,Y,Z,W) -> cast(5733, <>). -%% @spec (Location::integer(),Value::[float()]) -> ok -%% @doc See external documentation. --spec uniform1dv(integer(),[float()]) -> ok. +%% @doc +%% See {@link uniform1f/2} +-spec uniform1dv(Location, Value) -> ok when Location :: integer(),Value :: [float()]. uniform1dv(Location,Value) -> cast(5734, <> || C <- Value>>)/binary>>). -%% @spec (Location::integer(),Value::[{float(),float()}]) -> ok -%% @doc See external documentation. --spec uniform2dv(integer(),[{float(),float()}]) -> ok. +%% @doc +%% See {@link uniform1f/2} +-spec uniform2dv(Location, Value) -> ok when Location :: integer(),Value :: [{float(),float()}]. uniform2dv(Location,Value) -> cast(5735, <> || {V1,V2} <- Value>>)/binary>>). -%% @spec (Location::integer(),Value::[{float(),float(),float()}]) -> ok -%% @doc See external documentation. --spec uniform3dv(integer(),[{float(),float(),float()}]) -> ok. +%% @doc +%% See {@link uniform1f/2} +-spec uniform3dv(Location, Value) -> ok when Location :: integer(),Value :: [{float(),float(),float()}]. uniform3dv(Location,Value) -> cast(5736, <> || {V1,V2,V3} <- Value>>)/binary>>). -%% @spec (Location::integer(),Value::[{float(),float(),float(),float()}]) -> ok -%% @doc See external documentation. --spec uniform4dv(integer(),[{float(),float(),float(),float()}]) -> ok. +%% @doc +%% See {@link uniform1f/2} +-spec uniform4dv(Location, Value) -> ok when Location :: integer(),Value :: [{float(),float(),float(),float()}]. uniform4dv(Location,Value) -> cast(5737, <> || {V1,V2,V3,V4} <- Value>>)/binary>>). -%% @spec (Location::integer(),Transpose::0|1,Value::[{float(),float(),float(),float()}]) -> ok -%% @doc See external documentation. --spec uniformMatrix2dv(integer(),0|1,[{float(),float(),float(),float()}]) -> ok. +%% @doc +%% See {@link uniform1f/2} +-spec uniformMatrix2dv(Location, Transpose, Value) -> ok when Location :: integer(),Transpose :: 0|1,Value :: [{float(),float(),float(),float()}]. uniformMatrix2dv(Location,Transpose,Value) -> cast(5738, <> || {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 external documentation. --spec uniformMatrix3dv(integer(),0|1,[{float(),float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok. +%% @doc +%% See {@link uniform1f/2} +-spec uniformMatrix3dv(Location, Transpose, Value) -> ok when Location :: integer(),Transpose :: 0|1,Value :: [{float(),float(),float(),float(),float(),float(),float(),float(),float()}]. uniformMatrix3dv(Location,Transpose,Value) -> cast(5739, <> || {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 external documentation. --spec uniformMatrix4dv(integer(),0|1,[{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok. +%% @doc +%% See {@link uniform1f/2} +-spec uniformMatrix4dv(Location, Transpose, Value) -> ok when Location :: integer(),Transpose :: 0|1,Value :: [{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}]. uniformMatrix4dv(Location,Transpose,Value) -> cast(5740, <> || {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 external documentation. --spec uniformMatrix2x3dv(integer(),0|1,[{float(),float(),float(),float(),float(),float()}]) -> ok. +%% @doc +%% See {@link uniform1f/2} +-spec uniformMatrix2x3dv(Location, Transpose, Value) -> ok when Location :: integer(),Transpose :: 0|1,Value :: [{float(),float(),float(),float(),float(),float()}]. uniformMatrix2x3dv(Location,Transpose,Value) -> cast(5741, <> || {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 external documentation. --spec uniformMatrix2x4dv(integer(),0|1,[{float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok. +%% @doc +%% See {@link uniform1f/2} +-spec uniformMatrix2x4dv(Location, Transpose, Value) -> ok when Location :: integer(),Transpose :: 0|1,Value :: [{float(),float(),float(),float(),float(),float(),float(),float()}]. uniformMatrix2x4dv(Location,Transpose,Value) -> cast(5742, <> || {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 external documentation. --spec uniformMatrix3x2dv(integer(),0|1,[{float(),float(),float(),float(),float(),float()}]) -> ok. +%% @doc +%% See {@link uniform1f/2} +-spec uniformMatrix3x2dv(Location, Transpose, Value) -> ok when Location :: integer(),Transpose :: 0|1,Value :: [{float(),float(),float(),float(),float(),float()}]. uniformMatrix3x2dv(Location,Transpose,Value) -> cast(5743, <> || {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 external documentation. --spec uniformMatrix3x4dv(integer(),0|1,[{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok. +%% @doc +%% See {@link uniform1f/2} +-spec uniformMatrix3x4dv(Location, Transpose, Value) -> ok when Location :: integer(),Transpose :: 0|1,Value :: [{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}]. uniformMatrix3x4dv(Location,Transpose,Value) -> cast(5744, <> || {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 external documentation. --spec uniformMatrix4x2dv(integer(),0|1,[{float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok. +%% @doc +%% See {@link uniform1f/2} +-spec uniformMatrix4x2dv(Location, Transpose, Value) -> ok when Location :: integer(),Transpose :: 0|1,Value :: [{float(),float(),float(),float(),float(),float(),float(),float()}]. uniformMatrix4x2dv(Location,Transpose,Value) -> cast(5745, <> || {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 external documentation. --spec uniformMatrix4x3dv(integer(),0|1,[{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok. +%% @doc +%% See {@link uniform1f/2} +-spec uniformMatrix4x3dv(Location, Transpose, Value) -> ok when Location :: integer(),Transpose :: 0|1,Value :: [{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}]. uniformMatrix4x3dv(Location,Transpose,Value) -> cast(5746, <> || {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 external documentation. --spec getUniformdv(integer(),integer()) -> {float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}. +%% @doc +%% See {@link getUniformfv/2} +-spec getUniformdv(Program, Location) -> matrix() when Program :: integer(),Location :: integer(). getUniformdv(Program,Location) -> call(5747, <>). -%% @spec (Program::integer(),Shadertype::enum(),Name::string()) -> integer() -%% @doc See external documentation. --spec getSubroutineUniformLocation(integer(),enum(),string()) -> integer(). +%% @doc Retrieve the location of a subroutine uniform of a given shader stage within a program +%% +%% ``gl:getSubroutineUniformLocation'' returns the location of the subroutine uniform variable +%% `Name' in the shader stage of type `Shadertype' attached to `Program' , +%% with behavior otherwise identical to {@link gl:getUniformLocation/2} . +%% +%% If `Name' is not the name of a subroutine uniform in the shader stage, -1 is returned, +%% but no error is generated. If `Name' is the name of a subroutine uniform in the shader +%% stage, a value between zero and the value of `?GL_ACTIVE_SUBROUTINE_LOCATIONS' minus +%% one will be returned. Subroutine locations are assigned using consecutive integers in +%% the range from zero to the value of `?GL_ACTIVE_SUBROUTINE_LOCATIONS' minus one for +%% the shader stage. For active subroutine uniforms declared as arrays, the declared array +%% elements are assigned consecutive locations. +%% +%% See external documentation. +-spec getSubroutineUniformLocation(Program, Shadertype, Name) -> integer() when Program :: integer(),Shadertype :: enum(),Name :: string(). getSubroutineUniformLocation(Program,Shadertype,Name) -> call(5748, <>). -%% @spec (Program::integer(),Shadertype::enum(),Name::string()) -> integer() -%% @doc See external documentation. --spec getSubroutineIndex(integer(),enum(),string()) -> integer(). +%% @doc Retrieve the index of a subroutine uniform of a given shader stage within a program +%% +%% ``gl:getSubroutineIndex'' returns the index of a subroutine uniform within a shader +%% stage attached to a program object. `Program' contains the name of the program to +%% which the shader is attached. `Shadertype' specifies the stage from which to query +%% shader subroutine index. `Name' contains the null-terminated name of the subroutine +%% uniform whose name to query. +%% +%% If `Name' is not the name of a subroutine uniform in the shader stage, `?GL_INVALID_INDEX' +%% is returned, but no error is generated. If `Name' is the name of a subroutine uniform +%% in the shader stage, a value between zero and the value of `?GL_ACTIVE_SUBROUTINES' +%% minus one will be returned. Subroutine indices are assigned using consecutive integers +%% in the range from zero to the value of `?GL_ACTIVE_SUBROUTINES' minus one for the +%% shader stage. +%% +%% See external documentation. +-spec getSubroutineIndex(Program, Shadertype, Name) -> integer() when Program :: integer(),Shadertype :: enum(),Name :: string(). getSubroutineIndex(Program,Shadertype,Name) -> call(5749, <>). -%% @spec (Program::integer(),Shadertype::enum(),Index::integer(),Bufsize::integer()) -> string() -%% @doc See external documentation. --spec getActiveSubroutineUniformName(integer(),enum(),integer(),integer()) -> string(). +%% @doc Query the name of an active shader subroutine uniform +%% +%% ``gl:getActiveSubroutineUniformName'' retrieves the name of an active shader subroutine +%% uniform. `Program' contains the name of the program containing the uniform. `Shadertype' +%% specifies the stage for which which the uniform location, given by `Index' , is valid. +%% `Index' must be between zero and the value of `?GL_ACTIVE_SUBROUTINE_UNIFORMS' +%% minus one for the shader stage. +%% +%% The uniform name is returned as a null-terminated string in `Name' . The actual number +%% of characters written into `Name' , excluding the null terminator is returned in `Length' +%% . If `Length' is `?NULL', no length is returned. The maximum number of characters +%% that may be written into `Name' , including the null terminator, is specified by `Bufsize' +%% . The length of the longest subroutine uniform name in `Program' and `Shadertype' +%% is given by the value of `?GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH', which can be +%% queried with {@link gl:getProgramStageiv/3} . +%% +%% See external documentation. +-spec getActiveSubroutineUniformName(Program, Shadertype, Index, Bufsize) -> string() when Program :: integer(),Shadertype :: enum(),Index :: integer(),Bufsize :: integer(). getActiveSubroutineUniformName(Program,Shadertype,Index,Bufsize) -> call(5750, <>). -%% @spec (Program::integer(),Shadertype::enum(),Index::integer(),Bufsize::integer()) -> string() -%% @doc See external documentation. --spec getActiveSubroutineName(integer(),enum(),integer(),integer()) -> string(). +%% @doc Query the name of an active shader subroutine +%% +%% ``gl:getActiveSubroutineName'' queries the name of an active shader subroutine uniform +%% from the program object given in `Program' . `Index' specifies the index of the +%% shader subroutine uniform within the shader stage given by `Stage' , and must between +%% zero and the value of `?GL_ACTIVE_SUBROUTINES' minus one for the shader stage. +%% +%% The name of the selected subroutine is returned as a null-terminated string in `Name' +%% . The actual number of characters written into `Name' , not including the null-terminator, +%% is is returned in `Length' . If `Length' is `?NULL', no length is returned. +%% The maximum number of characters that may be written into `Name' , including the null-terminator, +%% is given in `Bufsize' . +%% +%% See external documentation. +-spec getActiveSubroutineName(Program, Shadertype, Index, Bufsize) -> string() when Program :: integer(),Shadertype :: enum(),Index :: integer(),Bufsize :: integer(). getActiveSubroutineName(Program,Shadertype,Index,Bufsize) -> call(5751, <>). -%% @spec (Shadertype::enum(),Indices::[integer()]) -> ok -%% @doc See external documentation. --spec uniformSubroutinesuiv(enum(),[integer()]) -> ok. +%% @doc Load active subroutine uniforms +%% +%% ``gl:uniformSubroutines'' loads all active subroutine uniforms for shader stage `Shadertype' +%% of the current program with subroutine indices from `Indices' , storing `Indices[i]' +%% into the uniform at location `I' . `Count' must be equal to the value of `?GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS' +%% for the program currently in use at shader stage `Shadertype' . Furthermore, all +%% values in `Indices' must be less than the value of `?GL_ACTIVE_SUBROUTINES' +%% for the shader stage. +%% +%% See external documentation. +-spec uniformSubroutinesuiv(Shadertype, Indices) -> ok when Shadertype :: enum(),Indices :: [integer()]. uniformSubroutinesuiv(Shadertype,Indices) -> cast(5752, <> || 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 external documentation. --spec getUniformSubroutineuiv(enum(),integer()) -> {integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer()}. +%% @doc Retrieve the value of a subroutine uniform of a given shader stage of the current program +%% +%% ``gl:getUniformSubroutine'' retrieves the value of the subroutine uniform at location `Location' +%% for shader stage `Shadertype' of the current program. `Location' must be less +%% than the value of `?GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS' for the shader currently +%% in use at shader stage `Shadertype' . The value of the subroutine uniform is returned +%% in `Values' . +%% +%% See external documentation. +-spec getUniformSubroutineuiv(Shadertype, Location) -> {integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer(),integer()} when Shadertype :: enum(),Location :: integer(). getUniformSubroutineuiv(Shadertype,Location) -> call(5753, <>). -%% @spec (Program::integer(),Shadertype::enum(),Pname::enum()) -> integer() -%% @doc See external documentation. --spec getProgramStageiv(integer(),enum(),enum()) -> integer(). +%% @doc Retrieve properties of a program object corresponding to a specified shader stage +%% +%% ``gl:getProgramStage'' queries a parameter of a shader stage attached to a program object. +%% `Program' contains the name of the program to which the shader is attached. `Shadertype' +%% specifies the stage from which to query the parameter. `Pname' specifies which parameter +%% should be queried. The value or values of the parameter to be queried is returned in the +%% variable whose address is given in `Values' . +%% +%% If `Pname' is `?GL_ACTIVE_SUBROUTINE_UNIFORMS', the number of active subroutine +%% variables in the stage is returned in `Values' . +%% +%% If `Pname' is `?GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS', the number of active +%% subroutine variable locations in the stage is returned in `Values' . +%% +%% If `Pname' is `?GL_ACTIVE_SUBROUTINES', the number of active subroutines in +%% the stage is returned in `Values' . +%% +%% If `Pname' is `?GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH', the length of the +%% longest subroutine uniform for the stage is returned in `Values' . +%% +%% If `Pname' is `?GL_ACTIVE_SUBROUTINE_MAX_LENGTH', the length of the longest +%% subroutine name for the stage is returned in `Values' . The returned name length includes +%% space for the null-terminator. +%% +%% If there is no shader present of type `Shadertype' , the returned value will be consistent +%% with a shader containing no subroutines or subroutine uniforms. +%% +%% See external documentation. +-spec getProgramStageiv(Program, Shadertype, Pname) -> integer() when Program :: integer(),Shadertype :: enum(),Pname :: enum(). getProgramStageiv(Program,Shadertype,Pname) -> call(5754, <>). -%% @spec (Pname::enum(),Value::integer()) -> ok -%% @doc See external documentation. --spec patchParameteri(enum(),integer()) -> ok. +%% @doc Specifies the parameters for patch primitives +%% +%% ``gl:patchParameter'' specifies the parameters that will be used for patch primitives. `Pname' +%% specifies the parameter to modify and must be either `?GL_PATCH_VERTICES', `?GL_PATCH_DEFAULT_OUTER_LEVEL' +%% or `?GL_PATCH_DEFAULT_INNER_LEVEL'. For ``gl:patchParameteri'', `Value' specifies +%% the new value for the parameter specified by `Pname' . For ``gl:patchParameterfv'', +%% `Values' specifies the address of an array containing the new values for the parameter +%% specified by `Pname' . +%% +%% When `Pname' is `?GL_PATCH_VERTICES', `Value' specifies the number of +%% vertices that will be used to make up a single patch primitive. Patch primitives are consumed +%% by the tessellation control shader (if present) and subsequently used for tessellation. +%% When primitives are specified using {@link gl:drawArrays/3} or a similar function, each +%% patch will be made from `Parameter' control points, each represented by a vertex +%% taken from the enabeld vertex arrays. `Parameter' must be greater than zero, and +%% less than or equal to the value of `?GL_MAX_PATCH_VERTICES'. +%% +%% When `Pname' is `?GL_PATCH_DEFAULT_OUTER_LEVEL' or `?GL_PATCH_DEFAULT_INNER_LEVEL' +%% , `Values' contains the address of an array contiaining the default outer or inner +%% tessellation levels, respectively, to be used when no tessellation control shader is present. +%% +%% +%% See external documentation. +-spec patchParameteri(Pname, Value) -> ok when Pname :: enum(),Value :: integer(). patchParameteri(Pname,Value) -> cast(5755, <>). -%% @spec (Pname::enum(),Values::[float()]) -> ok -%% @doc See external documentation. --spec patchParameterfv(enum(),[float()]) -> ok. +%% @doc +%% See {@link patchParameteri/2} +-spec patchParameterfv(Pname, Values) -> ok when Pname :: enum(),Values :: [float()]. patchParameterfv(Pname,Values) -> cast(5756, <> || C <- Values>>)/binary,0:(((length(Values)) rem 2)*32)>>). -%% @spec (Target::enum(),Id::integer()) -> ok -%% @doc See external documentation. --spec bindTransformFeedback(enum(),integer()) -> ok. +%% @doc Bind a transform feedback object +%% +%% ``gl:bindTransformFeedback'' binds the transform feedback object with name `Id' +%% to the current GL state. `Id' must be a name previously returned from a call to {@link gl:genTransformFeedbacks/1} +%% . If `Id' has not previously been bound, a new transform feedback object with name `Id' +%% and initialized with with the default transform state vector is created. +%% +%% In the initial state, a default transform feedback object is bound and treated as a transform +%% feedback object with a name of zero. If the name zero is subsequently bound, the default +%% transform feedback object is again bound to the GL state. +%% +%% While a transform feedback buffer object is bound, GL operations on the target to which +%% it is bound affect the bound transform feedback object, and queries of the target to which +%% a transform feedback object is bound return state from the bound object. When buffer objects +%% are bound for transform feedback, they are attached to the currently bound transform feedback +%% object. Buffer objects are used for trans- form feedback only if they are attached to +%% the currently bound transform feedback object. +%% +%% See external documentation. +-spec bindTransformFeedback(Target, Id) -> ok when Target :: enum(),Id :: integer(). bindTransformFeedback(Target,Id) -> cast(5757, <>). -%% @spec (Ids::[integer()]) -> ok -%% @doc See external documentation. --spec deleteTransformFeedbacks([integer()]) -> ok. +%% @doc Delete transform feedback objects +%% +%% ``gl:deleteTransformFeedbacks'' deletes the `N' transform feedback objects whose +%% names are stored in the array `Ids' . Unused names in `Ids' are ignored, as is +%% the name zero. After a transform feedback object is deleted, its name is again unused +%% and it has no contents. If an active transform feedback object is deleted, its name immediately +%% becomes unused, but the underlying object is not deleted until it is no longer active. +%% +%% See external documentation. +-spec deleteTransformFeedbacks(Ids) -> ok when Ids :: [integer()]. deleteTransformFeedbacks(Ids) -> cast(5758, <<(length(Ids)):?GLuint, (<< <> || C <- Ids>>)/binary,0:(((1+length(Ids)) rem 2)*32)>>). -%% @spec (N::integer()) -> [integer()] -%% @doc See external documentation. --spec genTransformFeedbacks(integer()) -> [integer()]. +%% @doc Reserve transform feedback object names +%% +%% ``gl:genTransformFeedbacks'' returns `N' previously unused transform feedback object +%% names in `Ids' . These names are marked as used, for the purposes of ``gl:genTransformFeedbacks'' +%% only, but they acquire transform feedback state only when they are first bound. +%% +%% See external documentation. +-spec genTransformFeedbacks(N) -> [integer()] when N :: integer(). genTransformFeedbacks(N) -> call(5759, <>). -%% @spec (Id::integer()) -> 0|1 -%% @doc See external documentation. --spec isTransformFeedback(integer()) -> 0|1. +%% @doc Determine if a name corresponds to a transform feedback object +%% +%% ``gl:isTransformFeedback'' returns `?GL_TRUE' if `Id' is currently the name +%% of a transform feedback object. If `Id' is zero, or if `?id' is not the name +%% of a transform feedback object, or if an error occurs, ``gl:isTransformFeedback'' returns +%% `?GL_FALSE'. If `Id' is a name returned by {@link gl:genTransformFeedbacks/1} , +%% but that has not yet been bound through a call to {@link gl:bindTransformFeedback/2} , then +%% the name is not a transform feedback object and ``gl:isTransformFeedback'' returns `?GL_FALSE' +%% . +%% +%% See external documentation. +-spec isTransformFeedback(Id) -> 0|1 when Id :: integer(). isTransformFeedback(Id) -> call(5760, <>). -%% @spec () -> ok -%% @doc See external documentation. +%% @doc Pause transform feedback operations +%% +%% ``gl:pauseTransformFeedback'' pauses transform feedback operations on the currently +%% active transform feedback object. When transform feedback operations are paused, transform +%% feedback is still considered active and changing most transform feedback state related +%% to the object results in an error. However, a new transform feedback object may be bound +%% while transform feedback is paused. +%% +%% See external documentation. -spec pauseTransformFeedback() -> ok. pauseTransformFeedback() -> cast(5761, <<>>). -%% @spec () -> ok -%% @doc See external documentation. +%% @doc Resume transform feedback operations +%% +%% ``gl:resumeTransformFeedback'' resumes transform feedback operations on the currently +%% active transform feedback object. When transform feedback operations are paused, transform +%% feedback is still considered active and changing most transform feedback state related +%% to the object results in an error. However, a new transform feedback object may be bound +%% while transform feedback is paused. +%% +%% See external documentation. -spec resumeTransformFeedback() -> ok. resumeTransformFeedback() -> cast(5762, <<>>). -%% @spec (Mode::enum(),Id::integer()) -> ok -%% @doc See external documentation. --spec drawTransformFeedback(enum(),integer()) -> ok. +%% @doc Render primitives using a count derived from a transform feedback object +%% +%% ``gl:drawTransformFeedback'' draws primitives of a type specified by `Mode' using +%% a count retrieved from the transform feedback specified by `Id' . Calling ``gl:drawTransformFeedback'' +%% is equivalent to calling {@link gl:drawArrays/3} with `Mode' as specified, `First' +%% set to zero, and `Count' set to the number of vertices captured on vertex stream +%% zero the last time transform feedback was active on the transform feedback object named +%% by `Id' . +%% +%% See external documentation. +-spec drawTransformFeedback(Mode, Id) -> ok when Mode :: enum(),Id :: integer(). drawTransformFeedback(Mode,Id) -> cast(5763, <>). -%% @spec (Mode::enum(),Id::integer(),Stream::integer()) -> ok -%% @doc See external documentation. --spec drawTransformFeedbackStream(enum(),integer(),integer()) -> ok. +%% @doc Render primitives using a count derived from a specifed stream of a transform feedback object +%% +%% ``gl:drawTransformFeedbackStream'' draws primitives of a type specified by `Mode' +%% using a count retrieved from the transform feedback stream specified by `Stream' +%% of the transform feedback object specified by `Id' . Calling ``gl:drawTransformFeedbackStream'' +%% is equivalent to calling {@link gl:drawArrays/3} with `Mode' as specified, `First' +%% set to zero, and `Count' set to the number of vertices captured on vertex stream `Stream' +%% the last time transform feedback was active on the transform feedback object named by `Id' +%% . +%% +%% Calling {@link gl:drawTransformFeedback/2} is equivalent to calling ``gl:drawTransformFeedbackStream'' +%% with `Stream' set to zero. +%% +%% See external documentation. +-spec drawTransformFeedbackStream(Mode, Id, Stream) -> ok when Mode :: enum(),Id :: integer(),Stream :: integer(). drawTransformFeedbackStream(Mode,Id,Stream) -> cast(5764, <>). -%% @spec (Target::enum(),Index::integer(),Id::integer()) -> ok -%% @doc See external documentation. --spec beginQueryIndexed(enum(),integer(),integer()) -> ok. +%% @doc glBeginQueryIndexe +%% +%% See external documentation. +-spec beginQueryIndexed(Target, Index, Id) -> ok when Target :: enum(),Index :: integer(),Id :: integer(). beginQueryIndexed(Target,Index,Id) -> cast(5765, <>). -%% @spec (Target::enum(),Index::integer()) -> ok -%% @doc See external documentation. --spec endQueryIndexed(enum(),integer()) -> ok. +%% @doc Delimit the boundaries of a query object on an indexed target +%% +%% ``gl:beginQueryIndexed'' and {@link gl:endQueryIndexed/2} delimit the boundaries of a +%% query object. `Query' must be a name previously returned from a call to {@link gl:genQueries/1} +%% . If a query object with name `Id' does not yet exist it is created with the type +%% determined by `Target' . `Target' must be one of `?GL_SAMPLES_PASSED', `?GL_ANY_SAMPLES_PASSED' +%% , `?GL_PRIMITIVES_GENERATED', `?GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN', or `?GL_TIME_ELAPSED' +%% . The behavior of the query object depends on its type and is as follows. +%% +%% `Index' specifies the index of the query target and must be between a `Target' -specific +%% maximum. +%% +%% If `Target' is `?GL_SAMPLES_PASSED', `Id' must be an unused name, or the +%% name of an existing occlusion query object. When ``gl:beginQueryIndexed'' is executed, +%% the query object's samples-passed counter is reset to 0. Subsequent rendering will increment +%% the counter for every sample that passes the depth test. If the value of `?GL_SAMPLE_BUFFERS' +%% is 0, then the samples-passed count is incremented by 1 for each fragment. If the value +%% of `?GL_SAMPLE_BUFFERS' is 1, then the samples-passed count is incremented by the +%% number of samples whose coverage bit is set. However, implementations, at their discression +%% may instead increase the samples-passed count by the value of `?GL_SAMPLES' if any +%% sample in the fragment is covered. When ``gl:endQueryIndexed'' is executed, the samples-passed +%% counter is assigned to the query object's result value. This value can be queried by calling +%% {@link gl:getQueryObjectiv/2} with `Pname' `?GL_QUERY_RESULT'. When `Target' +%% is `?GL_SAMPLES_PASSED', `Index' must be zero. +%% +%% If `Target' is `?GL_ANY_SAMPLES_PASSED', `Id' must be an unused name, +%% or the name of an existing boolean occlusion query object. When ``gl:beginQueryIndexed'' +%% is executed, the query object's samples-passed flag is reset to `?GL_FALSE'. Subsequent +%% rendering causes the flag to be set to `?GL_TRUE' if any sample passes the depth +%% test. When ``gl:endQueryIndexed'' is executed, the samples-passed flag is assigned to +%% the query object's result value. This value can be queried by calling {@link gl:getQueryObjectiv/2} +%% with `Pname' `?GL_QUERY_RESULT'. When `Target' is `?GL_ANY_SAMPLES_PASSED' +%% , `Index' must be zero. +%% +%% If `Target' is `?GL_PRIMITIVES_GENERATED', `Id' must be an unused name, +%% or the name of an existing primitive query object previously bound to the `?GL_PRIMITIVES_GENERATED' +%% query binding. When ``gl:beginQueryIndexed'' is executed, the query object's primitives-generated +%% counter is reset to 0. Subsequent rendering will increment the counter once for every +%% vertex that is emitted from the geometry shader to the stream given by `Index' , or +%% from the vertex shader if `Index' is zero and no geometry shader is present. When ``gl:endQueryIndexed'' +%% is executed, the primitives-generated counter for stream `Index' is assigned to +%% the query object's result value. This value can be queried by calling {@link gl:getQueryObjectiv/2} +%% with `Pname' `?GL_QUERY_RESULT'. When `Target' is `?GL_PRIMITIVES_GENERATED' +%% , `Index' must be less than the value of `?GL_MAX_VERTEX_STREAMS'. +%% +%% If `Target' is `?GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN', `Id' must +%% be an unused name, or the name of an existing primitive query object previously bound +%% to the `?GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN' query binding. When ``gl:beginQueryIndexed'' +%% is executed, the query object's primitives-written counter for the stream specified by `Index' +%% is reset to 0. Subsequent rendering will increment the counter once for every vertex +%% that is written into the bound transform feedback buffer(s) for stream `Index' . If +%% transform feedback mode is not activated between the call to ``gl:beginQueryIndexed'' +%% and ``gl:endQueryIndexed'', the counter will not be incremented. When ``gl:endQueryIndexed'' +%% is executed, the primitives-written counter for stream `Index' is assigned to the +%% query object's result value. This value can be queried by calling {@link gl:getQueryObjectiv/2} +%% with `Pname' `?GL_QUERY_RESULT'. When `Target' is `?GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN' +%% , `Index' must be less than the value of `?GL_MAX_VERTEX_STREAMS'. +%% +%% If `Target' is `?GL_TIME_ELAPSED', `Id' must be an unused name, or the +%% name of an existing timer query object previously bound to the `?GL_TIME_ELAPSED' +%% query binding. When ``gl:beginQueryIndexed'' is executed, the query object's time counter +%% is reset to 0. When ``gl:endQueryIndexed'' is executed, the elapsed server time that +%% has passed since the call to ``gl:beginQueryIndexed'' is written into the query object's +%% time counter. This value can be queried by calling {@link gl:getQueryObjectiv/2} with `Pname' +%% `?GL_QUERY_RESULT'. When `Target' is `?GL_TIME_ELAPSED', `Index' must +%% be zero. +%% +%% Querying the `?GL_QUERY_RESULT' implicitly flushes the GL pipeline until the rendering +%% delimited by the query object has completed and the result is available. `?GL_QUERY_RESULT_AVAILABLE' +%% can be queried to determine if the result is immediately available or if the rendering +%% is not yet complete. +%% +%% See external documentation. +-spec endQueryIndexed(Target, Index) -> ok when Target :: enum(),Index :: integer(). endQueryIndexed(Target,Index) -> cast(5766, <>). -%% @spec (Target::enum(),Index::integer(),Pname::enum()) -> integer() -%% @doc See external documentation. --spec getQueryIndexediv(enum(),integer(),enum()) -> integer(). +%% @doc Return parameters of an indexed query object target +%% +%% ``gl:getQueryIndexediv'' returns in `Params' a selected parameter of the indexed +%% query object target specified by `Target' and `Index' . `Index' specifies +%% the index of the query object target and must be between zero and a target-specific maxiumum. +%% +%% +%% `Pname' names a specific query object target parameter. When `Pname' is `?GL_CURRENT_QUERY' +%% , the name of the currently active query for the specified `Index' of `Target' , +%% or zero if no query is active, will be placed in `Params' . If `Pname' is `?GL_QUERY_COUNTER_BITS' +%% , the implementation-dependent number of bits used to hold the result of queries for `Target' +%% is returned in `Params' . +%% +%% See external documentation. +-spec getQueryIndexediv(Target, Index, Pname) -> integer() when Target :: enum(),Index :: integer(),Pname :: enum(). getQueryIndexediv(Target,Index,Pname) -> call(5767, <>). -%% @spec () -> ok -%% @doc See external documentation. +%% @doc Release resources consumed by the implementation's shader compiler +%% +%% ``gl:releaseShaderCompiler'' provides a hint to the implementation that it may free +%% internal resources associated with its shader compiler. {@link gl:compileShader/1} may +%% subsequently be called and the implementation may at that time reallocate resources previously +%% freed by the call to ``gl:releaseShaderCompiler''. +%% +%% See external documentation. -spec releaseShaderCompiler() -> ok. releaseShaderCompiler() -> cast(5768, <<>>). -%% @spec (Shaders::[integer()],Binaryformat::enum(),Binary::binary()) -> ok -%% @doc See external documentation. --spec shaderBinary([integer()],enum(),binary()) -> ok. +%% @doc Load pre-compiled shader binaries +%% +%% ``gl:shaderBinary'' loads pre-compiled shader binary code into the `Count' shader +%% objects whose handles are given in `Shaders' . `Binary' points to `Length' +%% bytes of binary shader code stored in client memory. `BinaryFormat' specifies the +%% format of the pre-compiled code. +%% +%% The binary image contained in `Binary' will be decoded according to the extension +%% specification defining the specified `BinaryFormat' token. OpenGL does not define +%% any specific binary formats, but it does provide a mechanism to obtain token vaues for +%% such formats provided by such extensions. +%% +%% Depending on the types of the shader objects in `Shaders' , ``gl:shaderBinary'' +%% will individually load binary vertex or fragment shaders, or load an executable binary +%% that contains an optimized pair of vertex and fragment shaders stored in the same binary. +%% +%% +%% See external documentation. +-spec shaderBinary(Shaders, Binaryformat, Binary) -> ok when Shaders :: [integer()],Binaryformat :: enum(),Binary :: binary(). shaderBinary(Shaders,Binaryformat,Binary) -> send_bin(Binary), cast(5769, <<(length(Shaders)):?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 external documentation. --spec getShaderPrecisionFormat(enum(),enum()) -> {{integer(),integer()},integer()}. +%% @doc Retrieve the range and precision for numeric formats supported by the shader compiler +%% +%% ``gl:getShaderPrecisionFormat'' retrieves the numeric range and precision for the implementation's +%% representation of quantities in different numeric formats in specified shader type. `ShaderType' +%% specifies the type of shader for which the numeric precision and range is to be retrieved +%% and must be one of `?GL_VERTEX_SHADER' or `?GL_FRAGMENT_SHADER'. `PrecisionType' +%% specifies the numeric format to query and must be one of `?GL_LOW_FLOAT', `?GL_MEDIUM_FLOAT' +%% `?GL_HIGH_FLOAT', `?GL_LOW_INT', `?GL_MEDIUM_INT', or `?GL_HIGH_INT'. +%% +%% +%% `Range' points to an array of two integers into which the format's numeric range +%% will be returned. If min and max are the smallest values representable in the format, +%% then the values returned are defined to be: `Range' [0] = floor(log2(|min|)) and `Range' +%% [1] = floor(log2(|max|)). +%% +%% `Precision' specifies the address of an integer into which will be written the log2 +%% value of the number of bits of precision of the format. If the smallest representable +%% value greater than 1 is 1 + `eps', then the integer addressed by `Precision' +%% will contain floor(-log2(eps)). +%% +%% See external documentation. +-spec getShaderPrecisionFormat(Shadertype, Precisiontype) -> {Range :: {integer(),integer()},Precision :: integer()} when Shadertype :: enum(),Precisiontype :: enum(). getShaderPrecisionFormat(Shadertype,Precisiontype) -> call(5770, <>). -%% @spec (N::clamp(),F::clamp()) -> ok -%% @doc See external documentation. --spec depthRangef(clamp(),clamp()) -> ok. +%% @doc +%% See {@link depthRange/2} +-spec depthRangef(N, F) -> ok when N :: clamp(),F :: clamp(). depthRangef(N,F) -> cast(5771, <>). -%% @spec (D::clamp()) -> ok -%% @doc See external documentation. --spec clearDepthf(clamp()) -> ok. +%% @doc glClearDepthf +%% +%% See external documentation. +-spec clearDepthf(D) -> ok when D :: clamp(). clearDepthf(D) -> cast(5772, <>). -%% @spec (Program::integer(),BufSize::integer()) -> {BinaryFormat::enum(),Binary::binary()} -%% @doc See external documentation. --spec getProgramBinary(integer(),integer()) -> {enum(),binary()}. +%% @doc Return a binary representation of a program object's compiled and linked executable source +%% +%% ``gl:getProgramBinary'' returns a binary representation of the compiled and linked executable +%% for `Program' into the array of bytes whose address is specified in `Binary' . +%% The maximum number of bytes that may be written into `Binary' is specified by `BufSize' +%% . If the program binary is greater in size than `BufSize' bytes, then an error is +%% generated, otherwise the actual number of bytes written into `Binary' is returned +%% in the variable whose address is given by `Length' . If `Length' is `?NULL', +%% then no length is returned. +%% +%% The format of the program binary written into `Binary' is returned in the variable +%% whose address is given by `BinaryFormat' , and may be implementation dependent. The +%% binary produced by the GL may subsequently be returned to the GL by calling {@link gl:programBinary/3} +%% , with `BinaryFormat' and `Length' set to the values returned by ``gl:getProgramBinary'' +%% , and passing the returned binary data in the `Binary' parameter. +%% +%% See external documentation. +-spec getProgramBinary(Program, BufSize) -> {BinaryFormat :: enum(),Binary :: binary()} when Program :: integer(),BufSize :: integer(). getProgramBinary(Program,BufSize) -> call(5773, <>). -%% @spec (Program::integer(),BinaryFormat::enum(),Binary::binary()) -> ok -%% @doc See external documentation. --spec programBinary(integer(),enum(),binary()) -> ok. +%% @doc Load a program object with a program binary +%% +%% ``gl:programBinary'' loads a program object with a program binary previously returned +%% from {@link gl:getProgramBinary/2} . `BinaryFormat' and `Binary' must be those +%% returned by a previous call to {@link gl:getProgramBinary/2} , and `Length' must be +%% the length returned by {@link gl:getProgramBinary/2} , or by {@link gl:getProgramiv/2} when +%% called with `Pname' set to `?GL_PROGRAM_BINARY_LENGTH'. If these conditions +%% are not met, loading the program binary will fail and `Program' 's `?GL_LINK_STATUS' +%% will be set to `?GL_FALSE'. +%% +%% A program object's program binary is replaced by calls to {@link gl:linkProgram/1} or ``gl:programBinary'' +%% . When linking success or failure is concerned, ``gl:programBinary'' can be considered +%% to perform an implicit linking operation. {@link gl:linkProgram/1} and ``gl:programBinary'' +%% both set the program object's `?GL_LINK_STATUS' to `?GL_TRUE' or `?GL_FALSE' +%% . +%% +%% A successful call to ``gl:programBinary'' will reset all uniform variables to their +%% initial values. The initial value is either the value of the variable's initializer as +%% specified in the original shader source, or zero if no initializer was present. Additionally, +%% all vertex shader input and fragment shader output assignments that were in effect when +%% the program was linked before saving are restored with ``gl:programBinary'' is called. +%% +%% See external documentation. +-spec programBinary(Program, BinaryFormat, Binary) -> ok when Program :: integer(),BinaryFormat :: enum(),Binary :: binary(). programBinary(Program,BinaryFormat,Binary) -> send_bin(Binary), cast(5774, <>). -%% @spec (Program::integer(),Pname::enum(),Value::integer()) -> ok -%% @doc See external documentation. --spec programParameteri(integer(),enum(),integer()) -> ok. +%% @doc Specify a parameter for a program object +%% +%% ``gl:programParameter'' specifies a new value for the parameter nameed by `Pname' +%% for the program object `Program' . +%% +%% If `Pname' is `?GL_PROGRAM_BINARY_RETRIEVABLE_HINT', `Value' should be `?GL_FALSE' +%% or `?GL_TRUE' to indicate to the implementation the intention of the application +%% to retrieve the program's binary representation with {@link gl:getProgramBinary/2} . The +%% implementation may use this information to store information that may be useful for a +%% future query of the program's binary. It is recommended to set `?GL_PROGRAM_BINARY_RETRIEVABLE_HINT' +%% for the program to `?GL_TRUE' before calling {@link gl:linkProgram/1} , and using +%% the program at run-time if the binary is to be retrieved later. +%% +%% If `Pname' is `?GL_PROGRAM_SEPARABLE', `Value' must be `?GL_TRUE' +%% or `?GL_FALSE' and indicates whether `Program' can be bound to individual pipeline +%% stages via {@link gl:useProgramStages/3} . A program's `?GL_PROGRAM_SEPARABLE' parameter +%% must be set to `?GL_TRUE'`before' {@link gl:linkProgram/1} is called in order +%% for it to be usable with a program pipeline object. The initial state of `?GL_PROGRAM_SEPARABLE' +%% is `?GL_FALSE'. +%% +%% See external documentation. +-spec programParameteri(Program, Pname, Value) -> ok when Program :: integer(),Pname :: enum(),Value :: integer(). programParameteri(Program,Pname,Value) -> cast(5775, <>). -%% @spec (Pipeline::integer(),Stages::integer(),Program::integer()) -> ok -%% @doc See external documentation. --spec useProgramStages(integer(),integer(),integer()) -> ok. +%% @doc Bind stages of a program object to a program pipeline +%% +%% ``gl:useProgramStages'' binds executables from a program object associated with a specified +%% set of shader stages to the program pipeline object given by `Pipeline' . `Pipeline' +%% specifies the program pipeline object to which to bind the executables. `Stages' +%% contains a logical combination of bits indicating the shader stages to use within `Program' +%% with the program pipeline object `Pipeline' . `Stages' must be a logical combination +%% of `?GL_VERTEX_SHADER_BIT', `?GL_TESS_CONTROL_SHADER_BIT', `?GL_TESS_EVALUATION_SHADER_BIT' +%% , `?GL_GEOMETRY_SHADER_BIT', and `?GL_FRAGMENT_SHADER_BIT'. Additionally, the +%% special value `?GL_ALL_SHADER_BITS' may be specified to indicate that all executables +%% contained in `Program' should be installed in `Pipeline' . +%% +%% If `Program' refers to a program object with a valid shader attached for an indicated +%% shader stage, ``gl:useProgramStages'' installs the executable code for that stage in +%% the indicated program pipeline object `Pipeline' . If `Program' is zero, or refers +%% to a program object with no valid shader executable for a given stage, it is as if the +%% pipeline object has no programmable stage configured for the indicated shader stages. If `Stages' +%% contains bits other than those listed above, and is not equal to `?GL_ALL_SHADER_BITS' +%% , an error is generated. +%% +%% See external documentation. +-spec useProgramStages(Pipeline, Stages, Program) -> ok when Pipeline :: integer(),Stages :: integer(),Program :: integer(). useProgramStages(Pipeline,Stages,Program) -> cast(5776, <>). -%% @spec (Pipeline::integer(),Program::integer()) -> ok -%% @doc See external documentation. --spec activeShaderProgram(integer(),integer()) -> ok. +%% @doc Set the active program object for a program pipeline object +%% +%% ``gl:activeShaderProgram'' sets the linked program named by `Program' to be the +%% active program for the program pipeline object `Pipeline' . The active program in +%% the active program pipeline object is the target of calls to {@link gl:uniform1f/2} when +%% no program has been made current through a call to {@link gl:useProgram/1} . +%% +%% See external documentation. +-spec activeShaderProgram(Pipeline, Program) -> ok when Pipeline :: integer(),Program :: integer(). activeShaderProgram(Pipeline,Program) -> cast(5777, <>). -%% @spec (Type::enum(),Strings::[string()]) -> integer() -%% @doc See external documentation. --spec createShaderProgramv(enum(),[string()]) -> integer(). +%% @doc glCreateShaderProgramv +%% +%% See external documentation. +-spec createShaderProgramv(Type, Strings) -> integer() when Type :: enum(),Strings :: [string()]. createShaderProgramv(Type,Strings) -> StringsTemp = list_to_binary([[Str|[0]] || Str <- Strings ]), call(5778, <>). -%% @spec (Pipeline::integer()) -> ok -%% @doc See external documentation. --spec bindProgramPipeline(integer()) -> ok. +%% @doc Bind a program pipeline to the current context +%% +%% ``gl:bindProgramPipeline'' binds a program pipeline object to the current context. `Pipeline' +%% must be a name previously returned from a call to {@link gl:genProgramPipelines/1} . If +%% no program pipeline exists with name `Pipeline' then a new pipeline object is created +%% with that name and initialized to the default state vector. +%% +%% When a program pipeline object is bound using ``gl:bindProgramPipeline'', any previous +%% binding is broken and is replaced with a binding to the specified pipeline object. If `Pipeline' +%% is zero, the previous binding is broken and is not replaced, leaving no pipeline object +%% bound. If no current program object has been established by {@link gl:useProgram/1} , the +%% program objects used for each stage and for uniform updates are taken from the bound program +%% pipeline object, if any. If there is a current program object established by {@link gl:useProgram/1} +%% , the bound program pipeline object has no effect on rendering or uniform updates. When +%% a bound program pipeline object is used for rendering, individual shader executables are +%% taken from its program objects. +%% +%% See external documentation. +-spec bindProgramPipeline(Pipeline) -> ok when Pipeline :: integer(). bindProgramPipeline(Pipeline) -> cast(5779, <>). -%% @spec (Pipelines::[integer()]) -> ok -%% @doc See external documentation. --spec deleteProgramPipelines([integer()]) -> ok. +%% @doc Delete program pipeline objects +%% +%% ``gl:deleteProgramPipelines'' deletes the `N' program pipeline objects whose names +%% are stored in the array `Pipelines' . Unused names in `Pipelines' are ignored, +%% as is the name zero. After a program pipeline object is deleted, its name is again unused +%% and it has no contents. If program pipeline object that is currently bound is deleted, +%% the binding for that object reverts to zero and no program pipeline object becomes current. +%% +%% +%% See external documentation. +-spec deleteProgramPipelines(Pipelines) -> ok when Pipelines :: [integer()]. deleteProgramPipelines(Pipelines) -> cast(5780, <<(length(Pipelines)):?GLuint, (<< <> || C <- Pipelines>>)/binary,0:(((1+length(Pipelines)) rem 2)*32)>>). -%% @spec (N::integer()) -> [integer()] -%% @doc See external documentation. --spec genProgramPipelines(integer()) -> [integer()]. +%% @doc Reserve program pipeline object names +%% +%% ``gl:genProgramPipelines'' returns `N' previously unused program pipeline object +%% names in `Pipelines' . These names are marked as used, for the purposes of ``gl:genProgramPipelines'' +%% only, but they acquire program pipeline state only when they are first bound. +%% +%% See external documentation. +-spec genProgramPipelines(N) -> [integer()] when N :: integer(). genProgramPipelines(N) -> call(5781, <>). -%% @spec (Pipeline::integer()) -> 0|1 -%% @doc See external documentation. --spec isProgramPipeline(integer()) -> 0|1. +%% @doc Determine if a name corresponds to a program pipeline object +%% +%% ``gl:isProgramPipeline'' returns `?GL_TRUE' if `Pipeline' is currently the +%% name of a program pipeline object. If `Pipeline' is zero, or if `?pipeline' +%% is not the name of a program pipeline object, or if an error occurs, ``gl:isProgramPipeline'' +%% returns `?GL_FALSE'. If `Pipeline' is a name returned by {@link gl:genProgramPipelines/1} +%% , but that has not yet been bound through a call to {@link gl:bindProgramPipeline/1} , then +%% the name is not a program pipeline object and ``gl:isProgramPipeline'' returns `?GL_FALSE' +%% . +%% +%% See external documentation. +-spec isProgramPipeline(Pipeline) -> 0|1 when Pipeline :: integer(). isProgramPipeline(Pipeline) -> call(5782, <>). -%% @spec (Pipeline::integer(),Pname::enum()) -> integer() -%% @doc See external documentation. --spec getProgramPipelineiv(integer(),enum()) -> integer(). +%% @doc Retrieve properties of a program pipeline object +%% +%% ``gl:getProgramPipelineiv'' retrieves the value of a property of the program pipeline +%% object `Pipeline' . `Pname' specifies the name of the parameter whose value to +%% retrieve. The value of the parameter is written to the variable whose address is given +%% by `Params' . +%% +%% If `Pname' is `?GL_ACTIVE_PROGRAM', the name of the active program object of +%% the program pipeline object is returned in `Params' . +%% +%% If `Pname' is `?GL_VERTEX_SHADER', the name of the current program object for +%% the vertex shader type of the program pipeline object is returned in `Params' . +%% +%% If `Pname' is `?GL_TESS_CONTROL_SHADER', the name of the current program object +%% for the tessellation control shader type of the program pipeline object is returned in `Params' +%% . +%% +%% If `Pname' is `?GL_TESS_EVALUATION_SHADER', the name of the current program +%% object for the tessellation evaluation shader type of the program pipeline object is returned +%% in `Params' . +%% +%% If `Pname' is `?GL_GEOMETRY_SHADER', the name of the current program object +%% for the geometry shader type of the program pipeline object is returned in `Params' . +%% +%% +%% If `Pname' is `?GL_FRAGMENT_SHADER', the name of the current program object +%% for the fragment shader type of the program pipeline object is returned in `Params' . +%% +%% +%% If `Pname' is `?GL_INFO_LOG_LENGTH', the length of the info log, including +%% the null terminator, is returned in `Params' . If there is no info log, zero is returned. +%% +%% +%% See external documentation. +-spec getProgramPipelineiv(Pipeline, Pname) -> integer() when Pipeline :: integer(),Pname :: enum(). getProgramPipelineiv(Pipeline,Pname) -> call(5783, <>). -%% @spec (Program::integer(),Location::integer(),V0::integer()) -> ok -%% @doc See external documentation. --spec programUniform1i(integer(),integer(),integer()) -> ok. +%% @doc Specify the value of a uniform variable for a specified program object +%% +%% ``gl:programUniform'' modifies the value of a uniform variable or a uniform variable +%% array. The location of the uniform variable to be modified is specified by `Location' , +%% which should be a value returned by {@link gl:getUniformLocation/2} . ``gl:programUniform'' +%% operates on the program object specified by `Program' . +%% +%% The commands ``gl:programUniform{1|2|3|4}{f|i|ui}'' are used to change the value of +%% the uniform variable specified by `Location' using the values passed as arguments. +%% The number specified in the command should match the number of components in the data +%% type of the specified uniform variable (e.g., `1' for float, int, unsigned int, bool; +%% `2' for vec2, ivec2, uvec2, bvec2, etc.). The suffix `f' indicates that floating-point +%% values are being passed; the suffix `i' indicates that integer values are being passed; +%% the suffix `ui' indicates that unsigned integer values are being passed, and this +%% type should also match the data type of the specified uniform variable. The `i' variants +%% of this function should be used to provide values for uniform variables defined as int, ivec2 +%% , ivec3, ivec4, or arrays of these. The `ui' variants of this function should be +%% used to provide values for uniform variables defined as unsigned int, uvec2, uvec3, uvec4, +%% or arrays of these. The `f' variants should be used to provide values for uniform +%% variables of type float, vec2, vec3, vec4, or arrays of these. Either the `i', `ui' +%% or `f' variants may be used to provide values for uniform variables of type bool, bvec2 +%% , bvec3, bvec4, or arrays of these. The uniform variable will be set to false if the input +%% value is 0 or 0.0f, and it will be set to true otherwise. +%% +%% All active uniform variables defined in a program object are initialized to 0 when the +%% program object is linked successfully. They retain the values assigned to them by a call +%% to ``gl:programUniform'' until the next successful link operation occurs on the program +%% object, when they are once again initialized to 0. +%% +%% The commands ``gl:programUniform{1|2|3|4}{f|i|ui}v'' can be used to modify a single +%% uniform variable or a uniform variable array. These commands pass a count and a pointer +%% to the values to be loaded into a uniform variable or a uniform variable array. A count +%% of 1 should be used if modifying the value of a single uniform variable, and a count of +%% 1 or greater can be used to modify an entire array or part of an array. When loading `n' +%% elements starting at an arbitrary position `m' in a uniform variable array, elements +%% `m' + `n' - 1 in the array will be replaced with the new values. If `M' + `N' +%% - 1 is larger than the size of the uniform variable array, values for all array elements +%% beyond the end of the array will be ignored. The number specified in the name of the command +%% indicates the number of components for each element in `Value' , and it should match +%% the number of components in the data type of the specified uniform variable (e.g., `1' +%% for float, int, bool; `2' for vec2, ivec2, bvec2, etc.). The data type specified +%% in the name of the command must match the data type for the specified uniform variable +%% as described previously for ``gl:programUniform{1|2|3|4}{f|i|ui}''. +%% +%% For uniform variable arrays, each element of the array is considered to be of the type +%% indicated in the name of the command (e.g., ``gl:programUniform3f'' or ``gl:programUniform3fv'' +%% can be used to load a uniform variable array of type vec3). The number of elements of +%% the uniform variable array to be modified is specified by `Count' +%% +%% The commands ``gl:programUniformMatrix{2|3|4|2x3|3x2|2x4|4x2|3x4|4x3}fv'' are used +%% to modify a matrix or an array of matrices. The numbers in the command name are interpreted +%% as the dimensionality of the matrix. The number `2' indicates a 2 × 2 matrix (i.e., +%% 4 values), the number `3' indicates a 3 × 3 matrix (i.e., 9 values), and the number `4' +%% indicates a 4 × 4 matrix (i.e., 16 values). Non-square matrix dimensionality is explicit, +%% with the first number representing the number of columns and the second number representing +%% the number of rows. For example, `2x4' indicates a 2 × 4 matrix with 2 columns and +%% 4 rows (i.e., 8 values). If `Transpose' is `?GL_FALSE', each matrix is assumed +%% to be supplied in column major order. If `Transpose' is `?GL_TRUE', each matrix +%% is assumed to be supplied in row major order. The `Count' argument indicates the +%% number of matrices to be passed. A count of 1 should be used if modifying the value of +%% a single matrix, and a count greater than 1 can be used to modify an array of matrices. +%% +%% See external documentation. +-spec programUniform1i(Program, Location, V0) -> ok when Program :: integer(),Location :: integer(),V0 :: integer(). programUniform1i(Program,Location,V0) -> cast(5784, <>). -%% @spec (Program::integer(),Location::integer(),Value::[integer()]) -> ok -%% @doc See external documentation. --spec programUniform1iv(integer(),integer(),[integer()]) -> ok. +%% @doc +%% See {@link programUniform1i/3} +-spec programUniform1iv(Program, Location, Value) -> ok when Program :: integer(),Location :: integer(),Value :: [integer()]. programUniform1iv(Program,Location,Value) -> cast(5785, <> || C <- Value>>)/binary,0:(((1+length(Value)) rem 2)*32)>>). -%% @spec (Program::integer(),Location::integer(),V0::float()) -> ok -%% @doc See external documentation. --spec programUniform1f(integer(),integer(),float()) -> ok. +%% @doc +%% See {@link programUniform1i/3} +-spec programUniform1f(Program, Location, V0) -> ok when Program :: integer(),Location :: integer(),V0 :: float(). programUniform1f(Program,Location,V0) -> cast(5786, <>). -%% @spec (Program::integer(),Location::integer(),Value::[float()]) -> ok -%% @doc See external documentation. --spec programUniform1fv(integer(),integer(),[float()]) -> ok. +%% @doc +%% See {@link programUniform1i/3} +-spec programUniform1fv(Program, Location, Value) -> ok when Program :: integer(),Location :: integer(),Value :: [float()]. programUniform1fv(Program,Location,Value) -> cast(5787, <> || C <- Value>>)/binary,0:(((1+length(Value)) rem 2)*32)>>). -%% @spec (Program::integer(),Location::integer(),V0::float()) -> ok -%% @doc See external documentation. --spec programUniform1d(integer(),integer(),float()) -> ok. +%% @doc +%% See {@link programUniform1i/3} +-spec programUniform1d(Program, Location, V0) -> ok when Program :: integer(),Location :: integer(),V0 :: float(). programUniform1d(Program,Location,V0) -> cast(5788, <>). -%% @spec (Program::integer(),Location::integer(),Value::[float()]) -> ok -%% @doc See external documentation. --spec programUniform1dv(integer(),integer(),[float()]) -> ok. +%% @doc +%% See {@link programUniform1i/3} +-spec programUniform1dv(Program, Location, Value) -> ok when Program :: integer(),Location :: integer(),Value :: [float()]. programUniform1dv(Program,Location,Value) -> cast(5789, <> || C <- Value>>)/binary>>). -%% @spec (Program::integer(),Location::integer(),V0::integer()) -> ok -%% @doc See external documentation. --spec programUniform1ui(integer(),integer(),integer()) -> ok. +%% @doc +%% See {@link programUniform1i/3} +-spec programUniform1ui(Program, Location, V0) -> ok when Program :: integer(),Location :: integer(),V0 :: integer(). programUniform1ui(Program,Location,V0) -> cast(5790, <>). -%% @spec (Program::integer(),Location::integer(),Value::[integer()]) -> ok -%% @doc See external documentation. --spec programUniform1uiv(integer(),integer(),[integer()]) -> ok. +%% @doc +%% See {@link programUniform1i/3} +-spec programUniform1uiv(Program, Location, Value) -> ok when Program :: integer(),Location :: integer(),Value :: [integer()]. programUniform1uiv(Program,Location,Value) -> cast(5791, <> || C <- Value>>)/binary,0:(((1+length(Value)) rem 2)*32)>>). -%% @spec (Program::integer(),Location::integer(),V0::integer(),V1::integer()) -> ok -%% @doc See external documentation. --spec programUniform2i(integer(),integer(),integer(),integer()) -> ok. +%% @doc +%% See {@link programUniform1i/3} +-spec programUniform2i(Program, Location, V0, V1) -> ok when Program :: integer(),Location :: integer(),V0 :: integer(),V1 :: integer(). programUniform2i(Program,Location,V0,V1) -> cast(5792, <>). -%% @spec (Program::integer(),Location::integer(),Value::[{integer(),integer()}]) -> ok -%% @doc See external documentation. --spec programUniform2iv(integer(),integer(),[{integer(),integer()}]) -> ok. +%% @doc +%% See {@link programUniform1i/3} +-spec programUniform2iv(Program, Location, Value) -> ok when Program :: integer(),Location :: integer(),Value :: [{integer(),integer()}]. programUniform2iv(Program,Location,Value) -> cast(5793, <> || {V1,V2} <- Value>>)/binary>>). -%% @spec (Program::integer(),Location::integer(),V0::float(),V1::float()) -> ok -%% @doc See external documentation. --spec programUniform2f(integer(),integer(),float(),float()) -> ok. +%% @doc +%% See {@link programUniform1i/3} +-spec programUniform2f(Program, Location, V0, V1) -> ok when Program :: integer(),Location :: integer(),V0 :: float(),V1 :: float(). programUniform2f(Program,Location,V0,V1) -> cast(5794, <>). -%% @spec (Program::integer(),Location::integer(),Value::[{float(),float()}]) -> ok -%% @doc See external documentation. --spec programUniform2fv(integer(),integer(),[{float(),float()}]) -> ok. +%% @doc +%% See {@link programUniform1i/3} +-spec programUniform2fv(Program, Location, Value) -> ok when Program :: integer(),Location :: integer(),Value :: [{float(),float()}]. programUniform2fv(Program,Location,Value) -> cast(5795, <> || {V1,V2} <- Value>>)/binary>>). -%% @spec (Program::integer(),Location::integer(),V0::float(),V1::float()) -> ok -%% @doc See external documentation. --spec programUniform2d(integer(),integer(),float(),float()) -> ok. +%% @doc +%% See {@link programUniform1i/3} +-spec programUniform2d(Program, Location, V0, V1) -> ok when Program :: integer(),Location :: integer(),V0 :: float(),V1 :: float(). programUniform2d(Program,Location,V0,V1) -> cast(5796, <>). -%% @spec (Program::integer(),Location::integer(),Value::[{float(),float()}]) -> ok -%% @doc See external documentation. --spec programUniform2dv(integer(),integer(),[{float(),float()}]) -> ok. +%% @doc +%% See {@link programUniform1i/3} +-spec programUniform2dv(Program, Location, Value) -> ok when Program :: integer(),Location :: integer(),Value :: [{float(),float()}]. programUniform2dv(Program,Location,Value) -> cast(5797, <> || {V1,V2} <- Value>>)/binary>>). -%% @spec (Program::integer(),Location::integer(),V0::integer(),V1::integer()) -> ok -%% @doc See external documentation. --spec programUniform2ui(integer(),integer(),integer(),integer()) -> ok. +%% @doc +%% See {@link programUniform1i/3} +-spec programUniform2ui(Program, Location, V0, V1) -> ok when Program :: integer(),Location :: integer(),V0 :: integer(),V1 :: integer(). programUniform2ui(Program,Location,V0,V1) -> cast(5798, <>). -%% @spec (Program::integer(),Location::integer(),Value::[{integer(),integer()}]) -> ok -%% @doc See external documentation. --spec programUniform2uiv(integer(),integer(),[{integer(),integer()}]) -> ok. +%% @doc +%% See {@link programUniform1i/3} +-spec programUniform2uiv(Program, Location, Value) -> ok when Program :: integer(),Location :: integer(),Value :: [{integer(),integer()}]. programUniform2uiv(Program,Location,Value) -> cast(5799, <> || {V1,V2} <- Value>>)/binary>>). -%% @spec (Program::integer(),Location::integer(),V0::integer(),V1::integer(),V2::integer()) -> ok -%% @doc See external documentation. --spec programUniform3i(integer(),integer(),integer(),integer(),integer()) -> ok. +%% @doc +%% See {@link programUniform1i/3} +-spec programUniform3i(Program, Location, V0, V1, V2) -> ok when Program :: integer(),Location :: integer(),V0 :: integer(),V1 :: integer(),V2 :: integer(). programUniform3i(Program,Location,V0,V1,V2) -> cast(5800, <>). -%% @spec (Program::integer(),Location::integer(),Value::[{integer(),integer(),integer()}]) -> ok -%% @doc See external documentation. --spec programUniform3iv(integer(),integer(),[{integer(),integer(),integer()}]) -> ok. +%% @doc +%% See {@link programUniform1i/3} +-spec programUniform3iv(Program, Location, Value) -> ok when Program :: integer(),Location :: integer(),Value :: [{integer(),integer(),integer()}]. programUniform3iv(Program,Location,Value) -> cast(5801, <> || {V1,V2,V3} <- Value>>)/binary>>). -%% @spec (Program::integer(),Location::integer(),V0::float(),V1::float(),V2::float()) -> ok -%% @doc See external documentation. --spec programUniform3f(integer(),integer(),float(),float(),float()) -> ok. +%% @doc +%% See {@link programUniform1i/3} +-spec programUniform3f(Program, Location, V0, V1, V2) -> ok when Program :: integer(),Location :: integer(),V0 :: float(),V1 :: float(),V2 :: float(). programUniform3f(Program,Location,V0,V1,V2) -> cast(5802, <>). -%% @spec (Program::integer(),Location::integer(),Value::[{float(),float(),float()}]) -> ok -%% @doc See external documentation. --spec programUniform3fv(integer(),integer(),[{float(),float(),float()}]) -> ok. +%% @doc +%% See {@link programUniform1i/3} +-spec programUniform3fv(Program, Location, Value) -> ok when Program :: integer(),Location :: integer(),Value :: [{float(),float(),float()}]. programUniform3fv(Program,Location,Value) -> cast(5803, <> || {V1,V2,V3} <- Value>>)/binary>>). -%% @spec (Program::integer(),Location::integer(),V0::float(),V1::float(),V2::float()) -> ok -%% @doc See external documentation. --spec programUniform3d(integer(),integer(),float(),float(),float()) -> ok. +%% @doc +%% See {@link programUniform1i/3} +-spec programUniform3d(Program, Location, V0, V1, V2) -> ok when Program :: integer(),Location :: integer(),V0 :: float(),V1 :: float(),V2 :: float(). programUniform3d(Program,Location,V0,V1,V2) -> cast(5804, <>). -%% @spec (Program::integer(),Location::integer(),Value::[{float(),float(),float()}]) -> ok -%% @doc See external documentation. --spec programUniform3dv(integer(),integer(),[{float(),float(),float()}]) -> ok. +%% @doc +%% See {@link programUniform1i/3} +-spec programUniform3dv(Program, Location, Value) -> ok when Program :: integer(),Location :: integer(),Value :: [{float(),float(),float()}]. programUniform3dv(Program,Location,Value) -> cast(5805, <> || {V1,V2,V3} <- Value>>)/binary>>). -%% @spec (Program::integer(),Location::integer(),V0::integer(),V1::integer(),V2::integer()) -> ok -%% @doc See external documentation. --spec programUniform3ui(integer(),integer(),integer(),integer(),integer()) -> ok. +%% @doc +%% See {@link programUniform1i/3} +-spec programUniform3ui(Program, Location, V0, V1, V2) -> ok when Program :: integer(),Location :: integer(),V0 :: integer(),V1 :: integer(),V2 :: integer(). programUniform3ui(Program,Location,V0,V1,V2) -> cast(5806, <>). -%% @spec (Program::integer(),Location::integer(),Value::[{integer(),integer(),integer()}]) -> ok -%% @doc See external documentation. --spec programUniform3uiv(integer(),integer(),[{integer(),integer(),integer()}]) -> ok. +%% @doc +%% See {@link programUniform1i/3} +-spec programUniform3uiv(Program, Location, Value) -> ok when Program :: integer(),Location :: integer(),Value :: [{integer(),integer(),integer()}]. programUniform3uiv(Program,Location,Value) -> cast(5807, <> || {V1,V2,V3} <- Value>>)/binary>>). -%% @spec (Program::integer(),Location::integer(),V0::integer(),V1::integer(),V2::integer(),V3::integer()) -> ok -%% @doc See external documentation. --spec programUniform4i(integer(),integer(),integer(),integer(),integer(),integer()) -> ok. +%% @doc +%% See {@link programUniform1i/3} +-spec programUniform4i(Program, Location, V0, V1, V2, V3) -> ok when Program :: integer(),Location :: integer(),V0 :: integer(),V1 :: integer(),V2 :: integer(),V3 :: integer(). programUniform4i(Program,Location,V0,V1,V2,V3) -> cast(5808, <>). -%% @spec (Program::integer(),Location::integer(),Value::[{integer(),integer(),integer(),integer()}]) -> ok -%% @doc See external documentation. --spec programUniform4iv(integer(),integer(),[{integer(),integer(),integer(),integer()}]) -> ok. +%% @doc +%% See {@link programUniform1i/3} +-spec programUniform4iv(Program, Location, Value) -> ok when Program :: integer(),Location :: integer(),Value :: [{integer(),integer(),integer(),integer()}]. programUniform4iv(Program,Location,Value) -> cast(5809, <> || {V1,V2,V3,V4} <- Value>>)/binary>>). -%% @spec (Program::integer(),Location::integer(),V0::float(),V1::float(),V2::float(),V3::float()) -> ok -%% @doc See external documentation. --spec programUniform4f(integer(),integer(),float(),float(),float(),float()) -> ok. +%% @doc +%% See {@link programUniform1i/3} +-spec programUniform4f(Program, Location, V0, V1, V2, V3) -> ok when Program :: integer(),Location :: integer(),V0 :: float(),V1 :: float(),V2 :: float(),V3 :: float(). programUniform4f(Program,Location,V0,V1,V2,V3) -> cast(5810, <>). -%% @spec (Program::integer(),Location::integer(),Value::[{float(),float(),float(),float()}]) -> ok -%% @doc See external documentation. --spec programUniform4fv(integer(),integer(),[{float(),float(),float(),float()}]) -> ok. +%% @doc +%% See {@link programUniform1i/3} +-spec programUniform4fv(Program, Location, Value) -> ok when Program :: integer(),Location :: integer(),Value :: [{float(),float(),float(),float()}]. programUniform4fv(Program,Location,Value) -> cast(5811, <> || {V1,V2,V3,V4} <- Value>>)/binary>>). -%% @spec (Program::integer(),Location::integer(),V0::float(),V1::float(),V2::float(),V3::float()) -> ok -%% @doc See external documentation. --spec programUniform4d(integer(),integer(),float(),float(),float(),float()) -> ok. +%% @doc +%% See {@link programUniform1i/3} +-spec programUniform4d(Program, Location, V0, V1, V2, V3) -> ok when Program :: integer(),Location :: integer(),V0 :: float(),V1 :: float(),V2 :: float(),V3 :: float(). programUniform4d(Program,Location,V0,V1,V2,V3) -> cast(5812, <>). -%% @spec (Program::integer(),Location::integer(),Value::[{float(),float(),float(),float()}]) -> ok -%% @doc See external documentation. --spec programUniform4dv(integer(),integer(),[{float(),float(),float(),float()}]) -> ok. +%% @doc +%% See {@link programUniform1i/3} +-spec programUniform4dv(Program, Location, Value) -> ok when Program :: integer(),Location :: integer(),Value :: [{float(),float(),float(),float()}]. programUniform4dv(Program,Location,Value) -> cast(5813, <> || {V1,V2,V3,V4} <- Value>>)/binary>>). -%% @spec (Program::integer(),Location::integer(),V0::integer(),V1::integer(),V2::integer(),V3::integer()) -> ok -%% @doc See external documentation. --spec programUniform4ui(integer(),integer(),integer(),integer(),integer(),integer()) -> ok. +%% @doc +%% See {@link programUniform1i/3} +-spec programUniform4ui(Program, Location, V0, V1, V2, V3) -> ok when Program :: integer(),Location :: integer(),V0 :: integer(),V1 :: integer(),V2 :: integer(),V3 :: integer(). programUniform4ui(Program,Location,V0,V1,V2,V3) -> cast(5814, <>). -%% @spec (Program::integer(),Location::integer(),Value::[{integer(),integer(),integer(),integer()}]) -> ok -%% @doc See external documentation. --spec programUniform4uiv(integer(),integer(),[{integer(),integer(),integer(),integer()}]) -> ok. +%% @doc +%% See {@link programUniform1i/3} +-spec programUniform4uiv(Program, Location, Value) -> ok when Program :: integer(),Location :: integer(),Value :: [{integer(),integer(),integer(),integer()}]. programUniform4uiv(Program,Location,Value) -> cast(5815, <> || {V1,V2,V3,V4} <- Value>>)/binary>>). -%% @spec (Program::integer(),Location::integer(),Transpose::0|1,Value::[{float(),float(),float(),float()}]) -> ok -%% @doc See external documentation. --spec programUniformMatrix2fv(integer(),integer(),0|1,[{float(),float(),float(),float()}]) -> ok. +%% @doc +%% See {@link programUniform1i/3} +-spec programUniformMatrix2fv(Program, Location, Transpose, Value) -> ok when Program :: integer(),Location :: integer(),Transpose :: 0|1,Value :: [{float(),float(),float(),float()}]. programUniformMatrix2fv(Program,Location,Transpose,Value) -> cast(5816, <> || {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 external documentation. --spec programUniformMatrix3fv(integer(),integer(),0|1,[{float(),float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok. +%% @doc +%% See {@link programUniform1i/3} +-spec programUniformMatrix3fv(Program, Location, Transpose, Value) -> ok when Program :: integer(),Location :: integer(),Transpose :: 0|1,Value :: [{float(),float(),float(),float(),float(),float(),float(),float(),float()}]. programUniformMatrix3fv(Program,Location,Transpose,Value) -> cast(5817, <> || {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 external documentation. --spec programUniformMatrix4fv(integer(),integer(),0|1,[{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok. +%% @doc +%% See {@link programUniform1i/3} +-spec programUniformMatrix4fv(Program, Location, Transpose, Value) -> ok when Program :: integer(),Location :: integer(),Transpose :: 0|1,Value :: [{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}]. programUniformMatrix4fv(Program,Location,Transpose,Value) -> cast(5818, <> || {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 external documentation. --spec programUniformMatrix2dv(integer(),integer(),0|1,[{float(),float(),float(),float()}]) -> ok. +%% @doc +%% See {@link programUniform1i/3} +-spec programUniformMatrix2dv(Program, Location, Transpose, Value) -> ok when Program :: integer(),Location :: integer(),Transpose :: 0|1,Value :: [{float(),float(),float(),float()}]. programUniformMatrix2dv(Program,Location,Transpose,Value) -> cast(5819, <> || {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 external documentation. --spec programUniformMatrix3dv(integer(),integer(),0|1,[{float(),float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok. +%% @doc +%% See {@link programUniform1i/3} +-spec programUniformMatrix3dv(Program, Location, Transpose, Value) -> ok when Program :: integer(),Location :: integer(),Transpose :: 0|1,Value :: [{float(),float(),float(),float(),float(),float(),float(),float(),float()}]. programUniformMatrix3dv(Program,Location,Transpose,Value) -> cast(5820, <> || {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 external documentation. --spec programUniformMatrix4dv(integer(),integer(),0|1,[{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok. +%% @doc +%% See {@link programUniform1i/3} +-spec programUniformMatrix4dv(Program, Location, Transpose, Value) -> ok when Program :: integer(),Location :: integer(),Transpose :: 0|1,Value :: [{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}]. programUniformMatrix4dv(Program,Location,Transpose,Value) -> cast(5821, <> || {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 external documentation. --spec programUniformMatrix2x3fv(integer(),integer(),0|1,[{float(),float(),float(),float(),float(),float()}]) -> ok. +%% @doc +%% See {@link programUniform1i/3} +-spec programUniformMatrix2x3fv(Program, Location, Transpose, Value) -> ok when Program :: integer(),Location :: integer(),Transpose :: 0|1,Value :: [{float(),float(),float(),float(),float(),float()}]. programUniformMatrix2x3fv(Program,Location,Transpose,Value) -> cast(5822, <> || {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 external documentation. --spec programUniformMatrix3x2fv(integer(),integer(),0|1,[{float(),float(),float(),float(),float(),float()}]) -> ok. +%% @doc +%% See {@link programUniform1i/3} +-spec programUniformMatrix3x2fv(Program, Location, Transpose, Value) -> ok when Program :: integer(),Location :: integer(),Transpose :: 0|1,Value :: [{float(),float(),float(),float(),float(),float()}]. programUniformMatrix3x2fv(Program,Location,Transpose,Value) -> cast(5823, <> || {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 external documentation. --spec programUniformMatrix2x4fv(integer(),integer(),0|1,[{float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok. +%% @doc +%% See {@link programUniform1i/3} +-spec programUniformMatrix2x4fv(Program, Location, Transpose, Value) -> ok when Program :: integer(),Location :: integer(),Transpose :: 0|1,Value :: [{float(),float(),float(),float(),float(),float(),float(),float()}]. programUniformMatrix2x4fv(Program,Location,Transpose,Value) -> cast(5824, <> || {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 external documentation. --spec programUniformMatrix4x2fv(integer(),integer(),0|1,[{float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok. +%% @doc +%% See {@link programUniform1i/3} +-spec programUniformMatrix4x2fv(Program, Location, Transpose, Value) -> ok when Program :: integer(),Location :: integer(),Transpose :: 0|1,Value :: [{float(),float(),float(),float(),float(),float(),float(),float()}]. programUniformMatrix4x2fv(Program,Location,Transpose,Value) -> cast(5825, <> || {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 external documentation. --spec programUniformMatrix3x4fv(integer(),integer(),0|1,[{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok. +%% @doc +%% See {@link programUniform1i/3} +-spec programUniformMatrix3x4fv(Program, Location, Transpose, Value) -> ok when Program :: integer(),Location :: integer(),Transpose :: 0|1,Value :: [{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}]. programUniformMatrix3x4fv(Program,Location,Transpose,Value) -> cast(5826, <> || {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 external documentation. --spec programUniformMatrix4x3fv(integer(),integer(),0|1,[{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok. +%% @doc +%% See {@link programUniform1i/3} +-spec programUniformMatrix4x3fv(Program, Location, Transpose, Value) -> ok when Program :: integer(),Location :: integer(),Transpose :: 0|1,Value :: [{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}]. programUniformMatrix4x3fv(Program,Location,Transpose,Value) -> cast(5827, <> || {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 external documentation. --spec programUniformMatrix2x3dv(integer(),integer(),0|1,[{float(),float(),float(),float(),float(),float()}]) -> ok. +%% @doc +%% See {@link programUniform1i/3} +-spec programUniformMatrix2x3dv(Program, Location, Transpose, Value) -> ok when Program :: integer(),Location :: integer(),Transpose :: 0|1,Value :: [{float(),float(),float(),float(),float(),float()}]. programUniformMatrix2x3dv(Program,Location,Transpose,Value) -> cast(5828, <> || {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 external documentation. --spec programUniformMatrix3x2dv(integer(),integer(),0|1,[{float(),float(),float(),float(),float(),float()}]) -> ok. +%% @doc +%% See {@link programUniform1i/3} +-spec programUniformMatrix3x2dv(Program, Location, Transpose, Value) -> ok when Program :: integer(),Location :: integer(),Transpose :: 0|1,Value :: [{float(),float(),float(),float(),float(),float()}]. programUniformMatrix3x2dv(Program,Location,Transpose,Value) -> cast(5829, <> || {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 external documentation. --spec programUniformMatrix2x4dv(integer(),integer(),0|1,[{float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok. +%% @doc +%% See {@link programUniform1i/3} +-spec programUniformMatrix2x4dv(Program, Location, Transpose, Value) -> ok when Program :: integer(),Location :: integer(),Transpose :: 0|1,Value :: [{float(),float(),float(),float(),float(),float(),float(),float()}]. programUniformMatrix2x4dv(Program,Location,Transpose,Value) -> cast(5830, <> || {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 external documentation. --spec programUniformMatrix4x2dv(integer(),integer(),0|1,[{float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok. +%% @doc +%% See {@link programUniform1i/3} +-spec programUniformMatrix4x2dv(Program, Location, Transpose, Value) -> ok when Program :: integer(),Location :: integer(),Transpose :: 0|1,Value :: [{float(),float(),float(),float(),float(),float(),float(),float()}]. programUniformMatrix4x2dv(Program,Location,Transpose,Value) -> cast(5831, <> || {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 external documentation. --spec programUniformMatrix3x4dv(integer(),integer(),0|1,[{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok. +%% @doc +%% See {@link programUniform1i/3} +-spec programUniformMatrix3x4dv(Program, Location, Transpose, Value) -> ok when Program :: integer(),Location :: integer(),Transpose :: 0|1,Value :: [{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}]. programUniformMatrix3x4dv(Program,Location,Transpose,Value) -> cast(5832, <> || {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 external documentation. --spec programUniformMatrix4x3dv(integer(),integer(),0|1,[{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}]) -> ok. +%% @doc +%% See {@link programUniform1i/3} +-spec programUniformMatrix4x3dv(Program, Location, Transpose, Value) -> ok when Program :: integer(),Location :: integer(),Transpose :: 0|1,Value :: [{float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float(),float()}]. programUniformMatrix4x3dv(Program,Location,Transpose,Value) -> cast(5833, <> || {V1,V2,V3,V4,V5,V6,V7,V8,V9,V10,V11,V12} <- Value>>)/binary>>). -%% @spec (Pipeline::integer()) -> ok -%% @doc See external documentation. --spec validateProgramPipeline(integer()) -> ok. +%% @doc Validate a program pipeline object against current GL state +%% +%% ``gl:validateProgramPipeline'' instructs the implementation to validate the shader executables +%% contained in `Pipeline' against the current GL state. The implementation may use +%% this as an opportunity to perform any internal shader modifications that may be required +%% to ensure correct operation of the installed shaders given the current GL state. +%% +%% After a program pipeline has been validated, its validation status is set to `?GL_TRUE' +%% . The validation status of a program pipeline object may be queried by calling {@link gl:getProgramPipelineiv/2} +%% with parameter `?GL_VALIDATE_STATUS'. +%% +%% If `Pipeline' is a name previously returned from a call to {@link gl:genProgramPipelines/1} +%% but that has not yet been bound by a call to {@link gl:bindProgramPipeline/1} , a new program +%% pipeline object is created with name `Pipeline' and the default state vector. +%% +%% See external documentation. +-spec validateProgramPipeline(Pipeline) -> ok when Pipeline :: integer(). validateProgramPipeline(Pipeline) -> cast(5834, <>). -%% @spec (Pipeline::integer(),BufSize::integer()) -> string() -%% @doc See external documentation. --spec getProgramPipelineInfoLog(integer(),integer()) -> string(). +%% @doc Retrieve the info log string from a program pipeline object +%% +%% ``gl:getProgramPipelineInfoLog'' retrieves the info log for the program pipeline object +%% `Pipeline' . The info log, including its null terminator, is written into the array +%% of characters whose address is given by `InfoLog' . The maximum number of characters +%% that may be written into `InfoLog' is given by `BufSize' , and the actual number +%% of characters written into `InfoLog' is returned in the integer whose address is +%% given by `Length' . If `Length' is `?NULL', no length is returned. +%% +%% The actual length of the info log for the program pipeline may be determined by calling {@link gl:getProgramPipelineiv/2} +%% with `Pname' set to `?GL_INFO_LOG_LENGTH'. +%% +%% See external documentation. +-spec getProgramPipelineInfoLog(Pipeline, BufSize) -> string() when Pipeline :: integer(),BufSize :: integer(). getProgramPipelineInfoLog(Pipeline,BufSize) -> call(5835, <>). -%% @spec (Index::integer(),X::float()) -> ok -%% @doc See external documentation. --spec vertexAttribL1d(integer(),float()) -> ok. +%% @doc glVertexAttribL +%% +%% See external documentation. +-spec vertexAttribL1d(Index, X) -> ok when Index :: integer(),X :: float(). vertexAttribL1d(Index,X) -> cast(5836, <>). -%% @spec (Index::integer(),X::float(),Y::float()) -> ok -%% @doc See external documentation. --spec vertexAttribL2d(integer(),float(),float()) -> ok. +%% @doc glVertexAttribL +%% +%% See external documentation. +-spec vertexAttribL2d(Index, X, Y) -> ok when Index :: integer(),X :: float(),Y :: float(). vertexAttribL2d(Index,X,Y) -> cast(5837, <>). -%% @spec (Index::integer(),X::float(),Y::float(),Z::float()) -> ok -%% @doc See external documentation. --spec vertexAttribL3d(integer(),float(),float(),float()) -> ok. +%% @doc glVertexAttribL +%% +%% See external documentation. +-spec vertexAttribL3d(Index, X, Y, Z) -> ok when Index :: integer(),X :: float(),Y :: float(),Z :: float(). vertexAttribL3d(Index,X,Y,Z) -> cast(5838, <>). -%% @spec (Index::integer(),X::float(),Y::float(),Z::float(),W::float()) -> ok -%% @doc See external documentation. --spec vertexAttribL4d(integer(),float(),float(),float(),float()) -> ok. +%% @doc glVertexAttribL +%% +%% See external documentation. +-spec vertexAttribL4d(Index, X, Y, Z, W) -> ok when Index :: integer(),X :: float(),Y :: float(),Z :: float(),W :: float(). vertexAttribL4d(Index,X,Y,Z,W) -> cast(5839, <>). -%% @spec (Index,{X}) -> ok %% @equiv vertexAttribL1d(Index,X) --spec vertexAttribL1dv(integer(),{float()}) -> ok. +-spec vertexAttribL1dv(Index :: integer(),V) -> ok when V :: {X :: float()}. vertexAttribL1dv(Index,{X}) -> vertexAttribL1d(Index,X). -%% @spec (Index,{X,Y}) -> ok %% @equiv vertexAttribL2d(Index,X,Y) --spec vertexAttribL2dv(integer(),{float(),float()}) -> ok. +-spec vertexAttribL2dv(Index :: integer(),V) -> ok when V :: {X :: float(),Y :: float()}. 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. +-spec vertexAttribL3dv(Index :: integer(),V) -> ok when V :: {X :: float(),Y :: float(),Z :: float()}. 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. +-spec vertexAttribL4dv(Index :: integer(),V) -> ok when V :: {X :: float(),Y :: float(),Z :: float(),W :: float()}. 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 external documentation. --spec vertexAttribLPointer(integer(),integer(),enum(),integer(),offset()|mem()) -> ok. +%% @doc glVertexAttribLPointer +%% +%% See external documentation. +-spec vertexAttribLPointer(Index, Size, Type, Stride, Pointer) -> ok when Index :: integer(),Size :: integer(),Type :: enum(),Stride :: integer(),Pointer :: offset()|mem(). vertexAttribLPointer(Index,Size,Type,Stride,Pointer) when is_integer(Pointer) -> cast(5840, <>); vertexAttribLPointer(Index,Size,Type,Stride,Pointer) -> send_bin(Pointer), cast(5841, <>). -%% @spec (Index::integer(),Pname::enum()) -> {float(),float(),float(),float()} -%% @doc See external documentation. --spec getVertexAttribLdv(integer(),enum()) -> {float(),float(),float(),float()}. +%% @doc glGetVertexAttribL +%% +%% See external documentation. +-spec getVertexAttribLdv(Index, Pname) -> {float(),float(),float(),float()} when Index :: integer(),Pname :: enum(). getVertexAttribLdv(Index,Pname) -> call(5842, <>). -%% @spec (First::integer(),V::[{float(),float(),float(),float()}]) -> ok -%% @doc See external documentation. --spec viewportArrayv(integer(),[{float(),float(),float(),float()}]) -> ok. +%% @doc glViewportArrayv +%% +%% See external documentation. +-spec viewportArrayv(First, V) -> ok when First :: integer(),V :: [{float(),float(),float(),float()}]. viewportArrayv(First,V) -> cast(5843, <> || {V1,V2,V3,V4} <- V>>)/binary>>). -%% @spec (Index::integer(),X::float(),Y::float(),W::float(),H::float()) -> ok -%% @doc See external documentation. --spec viewportIndexedf(integer(),float(),float(),float(),float()) -> ok. +%% @doc Set a specified viewport +%% +%% ``gl:viewportIndexedf'' and ``gl:viewportIndexedfv'' specify the parameters for a +%% single viewport. `Index' specifies the index of the viewport to modify. `Index' +%% must be less than the value of `?GL_MAX_VIEWPORTS'. For ``gl:viewportIndexedf'', `X' +%% , `Y' , `W' , and `H' specify the left, bottom, width and height of the viewport +%% in pixels, respectively. For ``gl:viewportIndexedfv'', `V' contains the address +%% of an array of floating point values specifying the left ( x), bottom ( y), width ( w), +%% and height ( h) of each viewport, in that order. x and y give the location of the viewport's +%% lower left corner, and w and h give the width and height of the viewport, respectively. +%% The viewport specifies the affine transformation of x and y from normalized device +%% coordinates to window coordinates. Let (x nd y nd) be normalized device coordinates. Then the window +%% coordinates (x w y w) are computed as follows: +%% +%% x w=(x nd+1) (width/2)+x +%% +%% y w=(y nd+1) (height/2)+y +%% +%% The location of the viewport's bottom left corner, given by ( x, y) is clamped to be +%% within the implementaiton-dependent viewport bounds range. The viewport bounds range [ +%% min, max] can be determined by calling {@link gl:getBooleanv/1} with argument `?GL_VIEWPORT_BOUNDS_RANGE' +%% . Viewport width and height are silently clamped to a range that depends on the implementation. +%% To query this range, call {@link gl:getBooleanv/1} with argument `?GL_MAX_VIEWPORT_DIMS'. +%% +%% The precision with which the GL interprets the floating point viewport bounds is implementation-dependent +%% and may be determined by querying the impementation-defined constant `?GL_VIEWPORT_SUBPIXEL_BITS' +%% . +%% +%% Calling ``gl:viewportIndexedfv'' is equivalent to calling see `glViewportArray' +%% with `First' set to `Index' , `Count' set to 1 and `V' passsed directly. +%% ``gl:viewportIndexedf'' is equivalent to: void glViewportIndexedf(GLuint index, GLfloat +%% x, GLfloat y, GLfloat w, GLfloat h) { const float v[4] = { x, y, w, h }; glViewportArrayv(index, +%% 1, v); } +%% +%% See external documentation. +-spec viewportIndexedf(Index, X, Y, W, H) -> ok when Index :: integer(),X :: float(),Y :: float(),W :: float(),H :: float(). viewportIndexedf(Index,X,Y,W,H) -> cast(5844, <>). -%% @spec (Index::integer(),V::{float(),float(),float(),float()}) -> ok -%% @doc See external documentation. --spec viewportIndexedfv(integer(),{float(),float(),float(),float()}) -> ok. +%% @doc +%% See {@link viewportIndexedf/5} +-spec viewportIndexedfv(Index, V) -> ok when Index :: integer(),V :: {float(),float(),float(),float()}. viewportIndexedfv(Index,{V1,V2,V3,V4}) -> cast(5845, <>). -%% @spec (First::integer(),V::[{integer(),integer(),integer(),integer()}]) -> ok -%% @doc See external documentation. --spec scissorArrayv(integer(),[{integer(),integer(),integer(),integer()}]) -> ok. +%% @doc glScissorArrayv +%% +%% See external documentation. +-spec scissorArrayv(First, V) -> ok when First :: integer(),V :: [{integer(),integer(),integer(),integer()}]. scissorArrayv(First,V) -> cast(5846, <> || {V1,V2,V3,V4} <- V>>)/binary>>). -%% @spec (Index::integer(),Left::integer(),Bottom::integer(),Width::integer(),Height::integer()) -> ok -%% @doc See external documentation. --spec scissorIndexed(integer(),integer(),integer(),integer(),integer()) -> ok. +%% @doc glScissorIndexe +%% +%% See external documentation. +-spec scissorIndexed(Index, Left, Bottom, Width, Height) -> ok when Index :: integer(),Left :: integer(),Bottom :: integer(),Width :: integer(),Height :: integer(). scissorIndexed(Index,Left,Bottom,Width,Height) -> cast(5847, <>). -%% @spec (Index::integer(),V::{integer(),integer(),integer(),integer()}) -> ok -%% @doc See external documentation. --spec scissorIndexedv(integer(),{integer(),integer(),integer(),integer()}) -> ok. +%% @doc glScissorIndexe +%% +%% See external documentation. +-spec scissorIndexedv(Index, V) -> ok when Index :: integer(),V :: {integer(),integer(),integer(),integer()}. scissorIndexedv(Index,{V1,V2,V3,V4}) -> cast(5848, <>). -%% @spec (First::integer(),V::[{clamp(),clamp()}]) -> ok -%% @doc See external documentation. --spec depthRangeArrayv(integer(),[{clamp(),clamp()}]) -> ok. +%% @doc glDepthRangeArrayv +%% +%% See external documentation. +-spec depthRangeArrayv(First, V) -> ok when First :: integer(),V :: [{clamp(),clamp()}]. depthRangeArrayv(First,V) -> cast(5849, <> || {V1,V2} <- V>>)/binary>>). -%% @spec (Index::integer(),N::clamp(),F::clamp()) -> ok -%% @doc See external documentation. --spec depthRangeIndexed(integer(),clamp(),clamp()) -> ok. +%% @doc glDepthRangeIndexe +%% +%% See external documentation. +-spec depthRangeIndexed(Index, N, F) -> ok when Index :: integer(),N :: clamp(),F :: clamp(). depthRangeIndexed(Index,N,F) -> cast(5850, <>). -%% @spec (Target::enum(),Index::integer()) -> [float()] -%% @doc See external documentation. --spec getFloati_v(enum(),integer()) -> [float()]. +%% @doc +%% See {@link getBooleanv/1} +-spec getFloati_v(Target, Index) -> [float()] when Target :: enum(),Index :: integer(). getFloati_v(Target,Index) -> call(5851, <>). -%% @spec (Target::enum(),Index::integer()) -> [float()] -%% @doc See external documentation. --spec getDoublei_v(enum(),integer()) -> [float()]. +%% @doc +%% See {@link getBooleanv/1} +-spec getDoublei_v(Target, Index) -> [float()] when Target :: enum(),Index :: integer(). getDoublei_v(Target,Index) -> call(5852, <>). -%% @spec (Source::enum(),Type::enum(),Severity::enum(),Ids::[integer()],Enabled::0|1) -> ok -%% @doc See external documentation. --spec debugMessageControlARB(enum(),enum(),enum(),[integer()],0|1) -> ok. +%% @doc glDebugMessageControlARB +%% +%% See external documentation. +-spec debugMessageControlARB(Source, Type, Severity, Ids, Enabled) -> ok when Source :: enum(),Type :: enum(),Severity :: enum(),Ids :: [integer()],Enabled :: 0|1. debugMessageControlARB(Source,Type,Severity,Ids,Enabled) -> cast(5853, <> || 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 external documentation. --spec debugMessageInsertARB(enum(),enum(),integer(),enum(),string()) -> ok. +%% @doc glDebugMessageInsertARB +%% +%% See external documentation. +-spec debugMessageInsertARB(Source, Type, Id, Severity, Buf) -> ok when Source :: enum(),Type :: enum(),Id :: integer(),Severity :: enum(),Buf :: string(). debugMessageInsertARB(Source,Type,Id,Severity,Buf) -> cast(5854, <>). -%% @spec (Count::integer(),Bufsize::integer()) -> {integer(),Sources::[enum()],Types::[enum()],Ids::[integer()],Severities::[enum()],MessageLog::[string()]} -%% @doc See external documentation. --spec getDebugMessageLogARB(integer(),integer()) -> {integer(),[enum()],[enum()],[integer()],[enum()],[string()]}. +%% @doc glGetDebugMessageLogARB +%% +%% See external documentation. +-spec getDebugMessageLogARB(Count, Bufsize) -> {integer(),Sources :: [enum()],Types :: [enum()],Ids :: [integer()],Severities :: [enum()],MessageLog :: [string()]} when Count :: integer(),Bufsize :: integer(). getDebugMessageLogARB(Count,Bufsize) -> call(5855, <>). -%% @spec () -> enum() -%% @doc See external documentation. +%% @doc glGetGraphicsResetStatusARB +%% +%% See external documentation. -spec getGraphicsResetStatusARB() -> enum(). getGraphicsResetStatusARB() -> call(5856, <<>>). -%% @spec () -> ok -%% @doc See external documentation. --spec resizeBuffersMESA() -> ok. -resizeBuffersMESA() -> - cast(5857, <<>>). - -%% @spec (X::float(),Y::float(),Z::float(),W::float()) -> ok -%% @doc See external documentation. --spec windowPos4dMESA(float(),float(),float(),float()) -> ok. -windowPos4dMESA(X,Y,Z,W) -> - cast(5858, <>). - -%% @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 external documentation. --spec windowPos4fMESA(float(),float(),float(),float()) -> ok. -windowPos4fMESA(X,Y,Z,W) -> - cast(5859, <>). - -%% @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 external documentation. --spec windowPos4iMESA(integer(),integer(),integer(),integer()) -> ok. -windowPos4iMESA(X,Y,Z,W) -> - cast(5860, <>). - -%% @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 external documentation. --spec windowPos4sMESA(integer(),integer(),integer(),integer()) -> ok. -windowPos4sMESA(X,Y,Z,W) -> - cast(5861, <>). - -%% @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 external documentation. --spec depthBoundsEXT(clamp(),clamp()) -> ok. +%% @doc Draw multiple instances of a range of elements with offset applied to instanced attributes +%% +%% ``gl:drawArraysInstancedBaseInstance'' behaves identically to {@link gl:drawArrays/3} +%% except that `Primcount' instances of the range of elements are executed and the value +%% of the internal counter `InstanceID' advances for each iteration. `InstanceID' +%% is an internal 32-bit integer counter that may be read by a vertex shader as `?gl_InstanceID' +%% . +%% +%% ``gl:drawArraysInstancedBaseInstance'' has the same effect as: if ( mode or count is +%% invalid ) generate appropriate error else { for (int i = 0; i < primcount ; i++) { +%% instanceID = i; glDrawArrays(mode, first, count); } instanceID = 0; } +%% +%% Specific vertex attributes may be classified as `instanced' through the use of {@link gl:vertexAttribDivisor/2} +%% . Instanced vertex attributes supply per-instance vertex data to the vertex shader. The +%% index of the vertex fetched from the enabled instanced vertex attribute arrays is calculated +%% as: |gl_ InstanceID/divisor|&plus; baseInstance. Note that `Baseinstance' does not affect the shader-visible +%% value of `?gl_InstanceID'. +%% +%% See external documentation. +-spec drawArraysInstancedBaseInstance(Mode, First, Count, Primcount, Baseinstance) -> ok when Mode :: enum(),First :: integer(),Count :: integer(),Primcount :: integer(),Baseinstance :: integer(). +drawArraysInstancedBaseInstance(Mode,First,Count,Primcount,Baseinstance) -> + cast(5857, <>). + +%% @doc Draw multiple instances of a set of elements with offset applied to instanced attributes +%% +%% ``gl:drawElementsInstancedBaseInstance'' behaves identically to {@link gl:drawElements/4} +%% except that `Primcount' instances of the set of elements are executed and the value +%% of the internal counter `InstanceID' advances for each iteration. `InstanceID' +%% is an internal 32-bit integer counter that may be read by a vertex shader as `?gl_InstanceID' +%% . +%% +%% ``gl:drawElementsInstancedBaseInstance'' has the same effect as: if (mode, count, or +%% type is invalid ) generate appropriate error else { for (int i = 0; i < primcount ; +%% i++) { instanceID = i; glDrawElements(mode, count, type, indices); } instanceID = 0; } +%% +%% Specific vertex attributes may be classified as `instanced' through the use of {@link gl:vertexAttribDivisor/2} +%% . Instanced vertex attributes supply per-instance vertex data to the vertex shader. The +%% index of the vertex fetched from the enabled instanced vertex attribute arrays is calculated +%% as |gl_ InstanceID/divisor|&plus; baseInstance. Note that `Baseinstance' does not affect the shader-visible +%% value of `?gl_InstanceID'. +%% +%% See external documentation. +-spec drawElementsInstancedBaseInstance(Mode, Count, Type, Indices, Primcount, Baseinstance) -> ok when Mode :: enum(),Count :: integer(),Type :: enum(),Indices :: offset()|mem(),Primcount :: integer(),Baseinstance :: integer(). +drawElementsInstancedBaseInstance(Mode,Count,Type,Indices,Primcount,Baseinstance) when is_integer(Indices) -> + cast(5858, <>); +drawElementsInstancedBaseInstance(Mode,Count,Type,Indices,Primcount,Baseinstance) -> + send_bin(Indices), + cast(5859, <>). + +%% @doc Render multiple instances of a set of primitives from array data with a per-element offset +%% +%% ``gl:drawElementsInstancedBaseVertexBaseInstance'' behaves identically to {@link gl:drawElementsInstanced/5} +%% except that the `i'th element transferred by the corresponding draw call will be +%% taken from element `Indices' [i] + `Basevertex' of each enabled array. If the +%% resulting value is larger than the maximum value representable by `Type' , it is as +%% if the calculation were upconverted to 32-bit unsigned integers (with wrapping on overflow +%% conditions). The operation is undefined if the sum would be negative. The `Basevertex' +%% has no effect on the shader-visible value of `?gl_VertexID'. +%% +%% Specific vertex attributes may be classified as `instanced' through the use of {@link gl:vertexAttribDivisor/2} +%% . Instanced vertex attributes supply per-instance vertex data to the vertex shader. The +%% index of the vertex fetched from the enabled instanced vertex attribute arrays is calculated +%% as |gl_ InstanceID/divisor|&plus; baseInstance. Note that `Baseinstance' does not affect the shader-visible +%% value of `?gl_InstanceID'. +%% +%% See external documentation. +-spec drawElementsInstancedBaseVertexBaseInstance(Mode, Count, Type, Indices, Primcount, Basevertex, Baseinstance) -> ok when Mode :: enum(),Count :: integer(),Type :: enum(),Indices :: offset()|mem(),Primcount :: integer(),Basevertex :: integer(),Baseinstance :: integer(). +drawElementsInstancedBaseVertexBaseInstance(Mode,Count,Type,Indices,Primcount,Basevertex,Baseinstance) when is_integer(Indices) -> + cast(5860, <>); +drawElementsInstancedBaseVertexBaseInstance(Mode,Count,Type,Indices,Primcount,Basevertex,Baseinstance) -> + send_bin(Indices), + cast(5861, <>). + +%% @doc glDrawTransformFeedbackInstance +%% +%% See external documentation. +-spec drawTransformFeedbackInstanced(Mode, Id, Primcount) -> ok when Mode :: enum(),Id :: integer(),Primcount :: integer(). +drawTransformFeedbackInstanced(Mode,Id,Primcount) -> + cast(5862, <>). + +%% @doc glDrawTransformFeedbackStreamInstance +%% +%% See external documentation. +-spec drawTransformFeedbackStreamInstanced(Mode, Id, Stream, Primcount) -> ok when Mode :: enum(),Id :: integer(),Stream :: integer(),Primcount :: integer(). +drawTransformFeedbackStreamInstanced(Mode,Id,Stream,Primcount) -> + cast(5863, <>). + +%% @doc glGetInternalformat +%% +%% See external documentation. +-spec getInternalformativ(Target, Internalformat, Pname, BufSize) -> [integer()] when Target :: enum(),Internalformat :: enum(),Pname :: enum(),BufSize :: integer(). +getInternalformativ(Target,Internalformat,Pname,BufSize) -> + call(5864, <>). + +%% @doc Bind a level of a texture to an image unit +%% +%% ``gl:bindImageTexture'' binds a single level of a texture to an image unit for the purpose +%% of reading and writing it from shaders. `Unit' specifies the zero-based index of +%% the image unit to which to bind the texture level. `Texture' specifies the name of +%% an existing texture object to bind to the image unit. If `Texture' is zero, then +%% any existing binding to the image unit is broken. `Level' specifies the level of +%% the texture to bind to the image unit. +%% +%% If `Texture' is the name of a one-, two-, or three-dimensional array texture, a +%% cube map or cube map array texture, or a two-dimensional multisample array texture, then +%% it is possible to bind either the entire array, or only a single layer of the array to +%% the image unit. In such cases, if `Layered' is `?GL_TRUE', the entire array +%% is attached to the image unit and `Layer' is ignored. However, if `Layered' is `?GL_FALSE' +%% then `Layer' specifies the layer of the array to attach to the image unit. +%% +%% `Access' specifies the access types to be performed by shaders and may be set to `?GL_READ_ONLY' +%% , `?GL_WRITE_ONLY', or `?GL_READ_WRITE' to indicate read-only, write-only or +%% read-write access, respectively. Violation of the access type specified in `Access' +%% (for example, if a shader writes to an image bound with `Access' set to `?GL_READ_ONLY' +%% ) will lead to undefined results, possibly including program termination. +%% +%% `Format' specifies the format that is to be used when performing formatted stores +%% into the image from shaders. `Format' must be compatible with the texture's internal +%% format and must be one of the formats listed in the following table. +%% +%% +%% +%% +%% +%% +%%
` Image Unit Format '` Format Qualifier '
`?GL_RGBA32F'rgba32f
`?GL_RGBA16F' +%% rgba16f
`?GL_RG32F'rg32f
`?GL_RG16F' +%% rg16f
`?GL_R11F_G11F_B10F'r11f_g11f_b10f
`?GL_R32F'r32f
`?GL_R16F'r16f
`?GL_RGBA32UI'rgba32ui
`?GL_RGBA16UI' +%% rgba16ui
`?GL_RGB10_A2UI'rgb10_a2ui
`?GL_RGBA8UI' +%% rgba8ui
`?GL_RG32UI'rg32ui
`?GL_RG16UI' +%% rg16ui
`?GL_RG8UI'rg8ui
`?GL_R32UI' +%% r32ui
`?GL_R16UI'r16ui
`?GL_R8UI' +%% r8ui
`?GL_RGBA32I'rgba32i
`?GL_RGBA16I' +%% rgba16i
`?GL_RGBA8I'rgba8i
`?GL_RG32I' +%% rg32i
`?GL_RG16I'rg16i
`?GL_RG8I' +%% rg8i
`?GL_R32I'r32i
`?GL_R16I' +%% r16i
`?GL_R8I'r8i
`?GL_RGBA16' +%% rgba16
`?GL_RGB10_A2'rgb10_a2
`?GL_RGBA8' +%% rgba8
`?GL_RG16'rg16
`?GL_RG8' +%% rg8
`?GL_R16'r16
`?GL_R8'r8
`?GL_RGBA16_SNORM'rgba16_snorm
`?GL_RGBA8_SNORM' +%% rgba8_snorm
`?GL_RG16_SNORM'rg16_snorm
`?GL_RG8_SNORM'rg8_snorm
`?GL_R16_SNORM'r16_snorm +%%
`?GL_R8_SNORM'r8_snorm
+%% +%% When a texture is bound to an image unit, the `Format' parameter for the image unit +%% need not exactly match the texture internal format as long as the formats are considered +%% compatible as defined in the OpenGL Specification. The matching criterion used for a given +%% texture may be determined by calling {@link gl:getTexParameterfv/2} with `Value' set +%% to `?GL_IMAGE_FORMAT_COMPATIBILITY_TYPE', with return values of `?GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE' +%% and `?GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS', specifying matches by size and class, +%% respectively. +%% +%% See external documentation. +-spec bindImageTexture(Unit, Texture, Level, Layered, Layer, Access, Format) -> ok when Unit :: integer(),Texture :: integer(),Level :: integer(),Layered :: 0|1,Layer :: integer(),Access :: enum(),Format :: enum(). +bindImageTexture(Unit,Texture,Level,Layered,Layer,Access,Format) -> + cast(5865, <>). + +%% @doc Defines a barrier ordering memory transactions +%% +%% ``gl:memoryBarrier'' defines a barrier ordering the memory transactions issued prior +%% to the command relative to those issued after the barrier. For the purposes of this ordering, +%% memory transactions performed by shaders are considered to be issued by the rendering +%% command that triggered the execution of the shader. `Barriers' is a bitfield indicating +%% the set of operations that are synchronized with shader stores; the bits used in `Barriers' +%% are as follows: +%% +%% +%% +%% `?GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT': If set, vertex data sourced from buffer objects +%% after the barrier will reflect data written by shaders prior to the barrier. The set of +%% buffer objects affected by this bit is derived from the buffer object bindings used for +%% generic vertex attributes derived from the `?GL_VERTEX_ATTRIB_ARRAY_BUFFER' bindings. +%% +%% +%% `?GL_ELEMENT_ARRAY_BARRIER_BIT': If set, vertex array indices sourced from buffer +%% objects after the barrier will reflect data written by shaders prior to the barrier. The +%% buffer objects affected by this bit are derived from the `?GL_ELEMENT_ARRAY_BUFFER' +%% binding. +%% +%% `?GL_UNIFORM_BARRIER_BIT': Shader uniforms sourced from buffer objects after the +%% barrier will reflect data written by shaders prior to the barrier. +%% +%% `?GL_TEXTURE_FETCH_BARRIER_BIT': Texture fetches from shaders, including fetches +%% from buffer object memory via buffer textures, after the barrier will reflect data written +%% by shaders prior to the barrier. +%% +%% `?GL_SHADER_IMAGE_ACCESS_BARRIER_BIT': Memory accesses using shader image load, +%% store, and atomic built-in functions issued after the barrier will reflect data written +%% by shaders prior to the barrier. Additionally, image stores and atomics issued after the +%% barrier will not execute until all memory accesses (e.g., loads, stores, texture fetches, +%% vertex fetches) initiated prior to the barrier complete. +%% +%% `?GL_COMMAND_BARRIER_BIT': Command data sourced from buffer objects by Draw*Indirect +%% commands after the barrier will reflect data written by shaders prior to the barrier. +%% The buffer objects affected by this bit are derived from the `?GL_DRAW_INDIRECT_BUFFER' +%% binding. +%% +%% `?GL_PIXEL_BUFFER_BARRIER_BIT': Reads and writes of buffer objects via the `?GL_PIXEL_PACK_BUFFER' +%% and `?GL_PIXEL_UNPACK_BUFFER' bindings (via {@link gl:readPixels/7} , {@link gl:texSubImage1D/7} +%% , etc.) after the barrier will reflect data written by shaders prior to the barrier. Additionally, +%% buffer object writes issued after the barrier will wait on the completion of all shader +%% writes initiated prior to the barrier. +%% +%% `?GL_TEXTURE_UPDATE_BARRIER_BIT': Writes to a texture via ``gl:tex(Sub)Image*'', ``gl:copyTex(Sub)Image*'' +%% , ``gl:compressedTex(Sub)Image*'', and reads via {@link gl:getTexImage/5} after the barrier +%% will reflect data written by shaders prior to the barrier. Additionally, texture writes +%% from these commands issued after the barrier will not execute until all shader writes +%% initiated prior to the barrier complete. +%% +%% `?GL_BUFFER_UPDATE_BARRIER_BIT': Reads or writes via {@link gl:bufferSubData/4} , {@link gl:copyBufferSubData/5} +%% , or {@link gl:getBufferSubData/4} , or to buffer object memory mapped by see `glMapBuffer' +%% or see `glMapBufferRange' after the barrier will reflect data written by shaders +%% prior to the barrier. Additionally, writes via these commands issued after the barrier +%% will wait on the completion of any shader writes to the same memory initiated prior to +%% the barrier. +%% +%% `?GL_FRAMEBUFFER_BARRIER_BIT': Reads and writes via framebuffer object attachments +%% after the barrier will reflect data written by shaders prior to the barrier. Additionally, +%% framebuffer writes issued after the barrier will wait on the completion of all shader +%% writes issued prior to the barrier. +%% +%% `?GL_TRANSFORM_FEEDBACK_BARRIER_BIT': Writes via transform feedback bindings after +%% the barrier will reflect data written by shaders prior to the barrier. Additionally, transform +%% feedback writes issued after the barrier will wait on the completion of all shader writes +%% issued prior to the barrier. +%% +%% `?GL_ATOMIC_COUNTER_BARRIER_BIT': Accesses to atomic counters after the barrier +%% will reflect writes prior to the barrier. +%% +%% If `Barriers' is `?GL_ALL_BARRIER_BITS', shader memory accesses will be synchronized +%% relative to all the operations described above. +%% +%% Implementations may cache buffer object and texture image memory that could be written +%% by shaders in multiple caches; for example, there may be separate caches for texture, +%% vertex fetching, and one or more caches for shader memory accesses. Implementations are +%% not required to keep these caches coherent with shader memory writes. Stores issued by +%% one invocation may not be immediately observable by other pipeline stages or other shader +%% invocations because the value stored may remain in a cache local to the processor executing +%% the store, or because data overwritten by the store is still in a cache elsewhere in the +%% system. When ``gl:memoryBarrier'' is called, the GL flushes and/or invalidates any caches +%% relevant to the operations specified by the `Barriers' parameter to ensure consistent +%% ordering of operations across the barrier. +%% +%% To allow for independent shader invocations to communicate by reads and writes to a common +%% memory address, image variables in the OpenGL Shading Language may be declared as "coherent". +%% Buffer object or texture image memory accessed through such variables may be cached only +%% if caches are automatically updated due to stores issued by any other shader invocation. +%% If the same address is accessed using both coherent and non-coherent variables, the accesses +%% using variables declared as coherent will observe the results stored using coherent variables +%% in other invocations. Using variables declared as "coherent" guarantees only that the +%% results of stores will be immediately visible to shader invocations using similarly-declared +%% variables; calling ``gl:memoryBarrier'' is required to ensure that the stores are visible +%% to other operations. +%% +%% The following guidelines may be helpful in choosing when to use coherent memory accesses +%% and when to use barriers. +%% +%% Data that are read-only or constant may be accessed without using coherent variables or +%% calling MemoryBarrier(). Updates to the read-only data via API calls such as BufferSubData +%% will invalidate shader caches implicitly as required. +%% +%% Data that are shared between shader invocations at a fine granularity (e.g., written by +%% one invocation, consumed by another invocation) should use coherent variables to read +%% and write the shared data. +%% +%% Data written by one shader invocation and consumed by other shader invocations launched +%% as a result of its execution ("dependent invocations") should use coherent variables in +%% the producing shader invocation and call memoryBarrier() after the last write. The consuming +%% shader invocation should also use coherent variables. +%% +%% Data written to image variables in one rendering pass and read by the shader in a later +%% pass need not use coherent variables or memoryBarrier(). Calling MemoryBarrier() with +%% the SHADER_IMAGE_ACCESS_BARRIER_BIT set in `Barriers' between passes is necessary. +%% +%% Data written by the shader in one rendering pass and read by another mechanism (e.g., +%% vertex or index buffer pulling) in a later pass need not use coherent variables or memoryBarrier(). +%% Calling ``gl:memoryBarrier'' with the appropriate bits set in `Barriers' between +%% passes is necessary. +%% +%% See external documentation. +-spec memoryBarrier(Barriers) -> ok when Barriers :: integer(). +memoryBarrier(Barriers) -> + cast(5866, <>). + +%% @doc Simultaneously specify storage for all levels of a one-dimensional texture +%% +%% ``gl:texStorage1D'' specifies the storage requirements for all levels of a one-dimensional +%% texture simultaneously. Once a texture is specified with this command, the format and +%% dimensions of all levels become immutable unless it is a proxy texture. The contents of +%% the image may still be modified, however, its storage requirements may not change. Such +%% a texture is referred to as an `immutable-format' texture. +%% +%% Calling ``gl:texStorage1D'' is equivalent, assuming no errors are generated, to executing +%% the following pseudo-code: for (i = 0; i < levels; i++) { glTexImage1D(target, i, +%% internalformat, width, 0, format, type, NULL); width = max(1, (width / 2)); } +%% +%% Since no texture data is actually provided, the values used in the pseudo-code for `Format' +%% and `Type' are irrelevant and may be considered to be any values that are legal +%% for the chosen `Internalformat' enumerant. `Internalformat' must be one of the +%% sized internal formats given in Table 1 below, one of the sized depth-component formats `?GL_DEPTH_COMPONENT32F' +%% , `?GL_DEPTH_COMPONENT24', or `?GL_DEPTH_COMPONENT16', or one of the combined +%% depth-stencil formats, `?GL_DEPTH32F_STENCIL8', or `?GL_DEPTH24_STENCIL8'. Upon +%% success, the value of `?GL_TEXTURE_IMMUTABLE_FORMAT' becomes `?GL_TRUE'. The +%% value of `?GL_TEXTURE_IMMUTABLE_FORMAT' may be discovered by calling {@link gl:getTexParameterfv/2} +%% with `Pname' set to `?GL_TEXTURE_IMMUTABLE_FORMAT'. No further changes to the +%% dimensions or format of the texture object may be made. Using any command that might alter +%% the dimensions or format of the texture object (such as {@link gl:texImage1D/8} or another +%% call to ``gl:texStorage1D'') will result in the generation of a `?GL_INVALID_OPERATION' +%% error, even if it would not, in fact, alter the dimensions or format of the object. +%% +%% +%% +%% See external documentation. +-spec texStorage1D(Target, Levels, Internalformat, Width) -> ok when Target :: enum(),Levels :: integer(),Internalformat :: enum(),Width :: integer(). +texStorage1D(Target,Levels,Internalformat,Width) -> + cast(5867, <>). + +%% @doc Simultaneously specify storage for all levels of a two-dimensional or one-dimensional array texture +%% +%% ``gl:texStorage2D'' specifies the storage requirements for all levels of a two-dimensional +%% texture or one-dimensional texture array simultaneously. Once a texture is specified with +%% this command, the format and dimensions of all levels become immutable unless it is a +%% proxy texture. The contents of the image may still be modified, however, its storage requirements +%% may not change. Such a texture is referred to as an `immutable-format' texture. +%% +%% The behavior of ``gl:texStorage2D'' depends on the `Target' parameter. When `Target' +%% is `?GL_TEXTURE_2D', `?GL_PROXY_TEXTURE_2D', `?GL_TEXTURE_RECTANGLE', `?GL_PROXY_TEXTURE_RECTANGLE' +%% or `?GL_PROXY_TEXTURE_CUBE_MAP', calling ``gl:texStorage2D'' is equivalent, assuming +%% no errors are generated, to executing the following pseudo-code: for (i = 0; i < levels; +%% i++) { glTexImage2D(target, i, internalformat, width, height, 0, format, type, NULL); +%% width = max(1, (width / 2)); height = max(1, (height / 2)); } +%% +%% When `Target' is `?GL_TEXTURE_CUBE_MAP', ``gl:texStorage2D'' is equivalent +%% to: for (i = 0; i < levels; i++) { for (face in (+X, -X, +Y, -Y, +Z, -Z)) { glTexImage2D(face, +%% i, internalformat, width, height, 0, format, type, NULL); } width = max(1, (width / 2)); +%% height = max(1, (height / 2)); } +%% +%% When `Target' is `?GL_TEXTURE_1D' or `?GL_TEXTURE_1D_ARRAY', ``gl:texStorage2D'' +%% is equivalent to: for (i = 0; i < levels; i++) { glTexImage2D(target, i, internalformat, +%% width, height, 0, format, type, NULL); width = max(1, (width / 2)); } +%% +%% Since no texture data is actually provided, the values used in the pseudo-code for `Format' +%% and `Type' are irrelevant and may be considered to be any values that are legal +%% for the chosen `Internalformat' enumerant. `Internalformat' must be one of the +%% sized internal formats given in Table 1 below, one of the sized depth-component formats `?GL_DEPTH_COMPONENT32F' +%% , `?GL_DEPTH_COMPONENT24', or `?GL_DEPTH_COMPONENT16', or one of the combined +%% depth-stencil formats, `?GL_DEPTH32F_STENCIL8', or `?GL_DEPTH24_STENCIL8'. Upon +%% success, the value of `?GL_TEXTURE_IMMUTABLE_FORMAT' becomes `?GL_TRUE'. The +%% value of `?GL_TEXTURE_IMMUTABLE_FORMAT' may be discovered by calling {@link gl:getTexParameterfv/2} +%% with `Pname' set to `?GL_TEXTURE_IMMUTABLE_FORMAT'. No further changes to the +%% dimensions or format of the texture object may be made. Using any command that might alter +%% the dimensions or format of the texture object (such as {@link gl:texImage2D/9} or another +%% call to ``gl:texStorage2D'') will result in the generation of a `?GL_INVALID_OPERATION' +%% error, even if it would not, in fact, alter the dimensions or format of the object. +%% +%% +%% +%% See external documentation. +-spec texStorage2D(Target, Levels, Internalformat, Width, Height) -> ok when Target :: enum(),Levels :: integer(),Internalformat :: enum(),Width :: integer(),Height :: integer(). +texStorage2D(Target,Levels,Internalformat,Width,Height) -> + cast(5868, <>). + +%% @doc Simultaneously specify storage for all levels of a three-dimensional, two-dimensional array or cube-map array texture +%% +%% ``gl:texStorage3D'' specifies the storage requirements for all levels of a three-dimensional, +%% two-dimensional array or cube-map array texture simultaneously. Once a texture is specified +%% with this command, the format and dimensions of all levels become immutable unless it +%% is a proxy texture. The contents of the image may still be modified, however, its storage +%% requirements may not change. Such a texture is referred to as an `immutable-format' +%% texture. +%% +%% The behavior of ``gl:texStorage3D'' depends on the `Target' parameter. When `Target' +%% is `?GL_TEXTURE_3D', or `?GL_PROXY_TEXTURE_3D', calling ``gl:texStorage3D'' +%% is equivalent, assuming no errors are generated, to executing the following pseudo-code: +%% for (i = 0; i < levels; i++) { glTexImage3D(target, i, internalformat, width, height, +%% depth, 0, format, type, NULL); width = max(1, (width / 2)); height = max(1, (height / +%% 2)); depth = max(1, (depth / 2)); } +%% +%% When `Target' is `?GL_TEXTURE_2D_ARRAY', `?GL_PROXY_TEXTURE_2D_ARRAY', `?GL_TEXTURE_CUBE_MAP_ARRAY' +%% , or `?GL_PROXY_TEXTURE_CUBE_MAP_ARRAY', ``gl:texStorage3D'' is equivalent to: +%% for (i = 0; i < levels; i++) { glTexImage3D(target, i, internalformat, width, height, +%% depth, 0, format, type, NULL); width = max(1, (width / 2)); height = max(1, (height / +%% 2)); } +%% +%% Since no texture data is actually provided, the values used in the pseudo-code for `Format' +%% and `Type' are irrelevant and may be considered to be any values that are legal +%% for the chosen `Internalformat' enumerant. `Internalformat' must be one of the +%% sized internal formats given in Table 1 below, one of the sized depth-component formats `?GL_DEPTH_COMPONENT32F' +%% , `?GL_DEPTH_COMPONENT24', or `?GL_DEPTH_COMPONENT16', or one of the combined +%% depth-stencil formats, `?GL_DEPTH32F_STENCIL8', or `?GL_DEPTH24_STENCIL8'. Upon +%% success, the value of `?GL_TEXTURE_IMMUTABLE_FORMAT' becomes `?GL_TRUE'. The +%% value of `?GL_TEXTURE_IMMUTABLE_FORMAT' may be discovered by calling {@link gl:getTexParameterfv/2} +%% with `Pname' set to `?GL_TEXTURE_IMMUTABLE_FORMAT'. No further changes to the +%% dimensions or format of the texture object may be made. Using any command that might alter +%% the dimensions or format of the texture object (such as {@link gl:texImage3D/10} or another +%% call to ``gl:texStorage3D'') will result in the generation of a `?GL_INVALID_OPERATION' +%% error, even if it would not, in fact, alter the dimensions or format of the object. +%% +%% +%% +%% See external documentation. +-spec texStorage3D(Target, Levels, Internalformat, Width, Height, Depth) -> ok when Target :: enum(),Levels :: integer(),Internalformat :: enum(),Width :: integer(),Height :: integer(),Depth :: integer(). +texStorage3D(Target,Levels,Internalformat,Width,Height,Depth) -> + cast(5869, <>). + +%% @doc glDepthBoundsEXT +%% +%% See external documentation. +-spec depthBoundsEXT(Zmin, Zmax) -> ok when Zmin :: clamp(),Zmax :: clamp(). depthBoundsEXT(Zmin,Zmax) -> - cast(5862, <>). + cast(5870, <>). -%% @spec (StencilTagBits::integer(),StencilClearTag::integer()) -> ok -%% @doc See external documentation. --spec stencilClearTagEXT(integer(),integer()) -> ok. +%% @doc glStencilClearTagEXT +%% +%% See external documentation. +-spec stencilClearTagEXT(StencilTagBits, StencilClearTag) -> ok when StencilTagBits :: integer(),StencilClearTag :: integer(). stencilClearTagEXT(StencilTagBits,StencilClearTag) -> - cast(5863, <>). + cast(5871, <>). diff --git a/lib/wx/src/gen/glu.erl b/lib/wx/src/gen/glu.erl index c16f0cf125..2c82c9792f 100644 --- a/lib/wx/src/gen/glu.erl +++ b/lib/wx/src/gen/glu.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -25,11 +25,6 @@ %% %% Booleans are represented by integers 0 and 1. -%% @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 - -module(glu). -compile(inline). -define(GLenum,32/native-unsigned). @@ -53,8 +48,13 @@ -define(GLsync,64/native-unsigned). -define(GLuint64,64/native-unsigned). -define(GLint64,64/native-signed). --type enum() :: non_neg_integer(). --type mem() :: binary() | tuple(). +-type vertex() :: {float(), float(), float()}. +-type enum() :: non_neg_integer(). %% See wx/include/gl.hrl or glu.hrl +-type matrix() :: {float(),float(),float(),float(), + float(),float(),float(),float(), + float(),float(),float(),float(), + float(),float(),float(),float()}. +-type mem() :: binary() | tuple(). %% Memory block -export([tesselate/2,build1DMipmapLevels/9,build1DMipmaps/6,build2DMipmapLevels/10, build2DMipmaps/7,build3DMipmapLevels/11,build3DMipmaps/8,checkExtension/2, @@ -66,193 +66,676 @@ -import(gl, [call/2,cast/2,send_bin/1]). %% API -%% @spec (Vec3, [Vec3]) -> {Triangles, VertexPos} -%% Vec3 = {float(),float(),float()} -%% Triangles = [VertexIndex::integer()] -%% VertexPos = binary() %% @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 %% may contain newly created vertices in the end. +-spec tesselate(Normal, [Vs]) -> {Triangles, VertexPos} + when Normal :: vertex(), Vs :: vertex(), + Triangles :: [integer()], VertexPos :: binary(). tesselate({Nx,Ny,Nz}, Vs) -> call(5000, <<(length(Vs)):32/native,0:32, Nx:?GLdouble,Ny:?GLdouble,Nz:?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 external documentation. --spec build1DMipmapLevels(enum(),integer(),integer(),enum(),enum(),integer(),integer(),integer(),binary()) -> integer(). +%% @doc Builds a subset of one-dimensional mipmap levels +%% +%% ``glu:build1DMipmapLevels'' builds a subset of prefiltered one-dimensional texture maps +%% of decreasing resolutions called a mipmap. This is used for the antialiasing of texture +%% mapped primitives. +%% +%% A return value of zero indicates success, otherwise a GLU error code is returned (see {@link glu:errorString/1} +%% ). +%% +%% A series of mipmap levels from `Base' to `Max' is built by decimating `Data' +%% in half until size 1*1 is reached. At each level, each texel in the halved mipmap +%% level is an average of the corresponding two texels in the larger mipmap level. {@link gl:texImage1D/8} +%% is called to load these mipmap levels from `Base' to `Max' . If `Max' is +%% larger than the highest mipmap level for the texture of the specified size, then a GLU +%% error code is returned (see {@link glu:errorString/1} ) and nothing is loaded. +%% +%% For example, if `Level' is 2 and `Width' is 16, the following levels are possible: +%% 16*1, 8*1, 4*1, 2*1, 1*1. These correspond to levels 2 through 6 respectively. +%% If `Base' is 3 and `Max' is 5, then only mipmap levels 8*1, 4*1 and 2*1 +%% are loaded. However, if `Max' is 7, then an error is returned and nothing is loaded +%% since `Max' is larger than the highest mipmap level which is, in this case, 6. +%% +%% The highest mipmap level can be derived from the formula log 2(width*2 level). +%% +%% See the {@link gl:texImage1D/8} reference page for a description of the acceptable values +%% for `Type' parameter. See the {@link gl:drawPixels/5} reference page for a description +%% of the acceptable values for `Level' parameter. +%% +%% See external documentation. +-spec build1DMipmapLevels(Target, InternalFormat, Width, Format, Type, Level, Base, Max, Data) -> integer() when Target :: enum(),InternalFormat :: integer(),Width :: integer(),Format :: enum(),Type :: enum(),Level :: integer(),Base :: integer(),Max :: integer(),Data :: binary(). build1DMipmapLevels(Target,InternalFormat,Width,Format,Type,Level,Base,Max,Data) -> send_bin(Data), call(5010, <>). -%% @spec (Target::enum(),InternalFormat::integer(),Width::integer(),Format::enum(),Type::enum(),Data::binary()) -> integer() -%% @doc See external documentation. --spec build1DMipmaps(enum(),integer(),integer(),enum(),enum(),binary()) -> integer(). +%% @doc Builds a one-dimensional mipmap +%% +%% ``glu:build1DMipmaps'' builds a series of prefiltered one-dimensional texture maps of +%% decreasing resolutions called a mipmap. This is used for the antialiasing of texture mapped +%% primitives. +%% +%% A return value of zero indicates success, otherwise a GLU error code is returned (see {@link glu:errorString/1} +%% ). +%% +%% Initially, the `Width' of `Data' is checked to see if it is a power of 2. If +%% not, a copy of `Data' is scaled up or down to the nearest power of 2. (If `Width' +%% is exactly between powers of 2, then the copy of `Data' will scale upwards.) This +%% copy will be used for subsequent mipmapping operations described below. For example, if `Width' +%% is 57, then a copy of `Data' will scale up to 64 before mipmapping takes place. +%% +%% Then, proxy textures (see {@link gl:texImage1D/8} ) are used to determine if the implementation +%% can fit the requested texture. If not, `Width' is continually halved until it fits. +%% +%% Next, a series of mipmap levels is built by decimating a copy of `Data' in half +%% until size 1*1 is reached. At each level, each texel in the halved mipmap level is an +%% average of the corresponding two texels in the larger mipmap level. +%% +%% {@link gl:texImage1D/8} is called to load each of these mipmap levels. Level 0 is a copy +%% of `Data' . The highest level is (log 2)(width). For example, if `Width' is 64 and the implementation +%% can store a texture of this size, the following mipmap levels are built: 64*1, 32*1, +%% 16*1, 8*1, 4*1, 2*1, and 1*1. These correspond to levels 0 through 6, respectively. +%% +%% +%% See the {@link gl:texImage1D/8} reference page for a description of the acceptable values +%% for the `Type' parameter. See the {@link gl:drawPixels/5} reference page for a description +%% of the acceptable values for the `Data' parameter. +%% +%% See external documentation. +-spec build1DMipmaps(Target, InternalFormat, Width, Format, Type, Data) -> integer() when Target :: enum(),InternalFormat :: integer(),Width :: integer(),Format :: enum(),Type :: enum(),Data :: binary(). build1DMipmaps(Target,InternalFormat,Width,Format,Type,Data) -> send_bin(Data), call(5011, <>). -%% @spec (Target::enum(),InternalFormat::integer(),Width::integer(),Height::integer(),Format::enum(),Type::enum(),Level::integer(),Base::integer(),Max::integer(),Data::binary()) -> integer() -%% @doc See external documentation. --spec build2DMipmapLevels(enum(),integer(),integer(),integer(),enum(),enum(),integer(),integer(),integer(),binary()) -> integer(). +%% @doc Builds a subset of two-dimensional mipmap levels +%% +%% ``glu:build2DMipmapLevels'' builds a subset of prefiltered two-dimensional texture maps +%% of decreasing resolutions called a mipmap. This is used for the antialiasing of texture +%% mapped primitives. +%% +%% A return value of zero indicates success, otherwise a GLU error code is returned (see {@link glu:errorString/1} +%% ). +%% +%% A series of mipmap levels from `Base' to `Max' is built by decimating `Data' +%% in half along both dimensions until size 1*1 is reached. At each level, each texel +%% in the halved mipmap level is an average of the corresponding four texels in the larger +%% mipmap level. (In the case of rectangular images, the decimation will ultimately reach +%% an N*1 or 1*N configuration. Here, two texels are averaged instead.) {@link gl:texImage2D/9} +%% is called to load these mipmap levels from `Base' to `Max' . If `Max' is +%% larger than the highest mipmap level for the texture of the specified size, then a GLU +%% error code is returned (see {@link glu:errorString/1} ) and nothing is loaded. +%% +%% For example, if `Level' is 2 and `Width' is 16 and `Height' is 8, the +%% following levels are possible: 16*8, 8*4, 4*2, 2*1, 1*1. These correspond to +%% levels 2 through 6 respectively. If `Base' is 3 and `Max' is 5, then only mipmap +%% levels 8*4, 4*2, and 2*1 are loaded. However, if `Max' is 7, then an error is +%% returned and nothing is loaded since `Max' is larger than the highest mipmap level +%% which is, in this case, 6. +%% +%% The highest mipmap level can be derived from the formula log 2(max(width height)*2 level). +%% +%% See the {@link gl:texImage1D/8} reference page for a description of the acceptable values +%% for `Format' parameter. See the {@link gl:drawPixels/5} reference page for a description +%% of the acceptable values for `Type' parameter. +%% +%% See external documentation. +-spec build2DMipmapLevels(Target, InternalFormat, Width, Height, Format, Type, Level, Base, Max, Data) -> integer() when Target :: enum(),InternalFormat :: integer(),Width :: integer(),Height :: integer(),Format :: enum(),Type :: enum(),Level :: integer(),Base :: integer(),Max :: integer(),Data :: binary(). build2DMipmapLevels(Target,InternalFormat,Width,Height,Format,Type,Level,Base,Max,Data) -> send_bin(Data), call(5012, <>). -%% @spec (Target::enum(),InternalFormat::integer(),Width::integer(),Height::integer(),Format::enum(),Type::enum(),Data::binary()) -> integer() -%% @doc See external documentation. --spec build2DMipmaps(enum(),integer(),integer(),integer(),enum(),enum(),binary()) -> integer(). +%% @doc Builds a two-dimensional mipmap +%% +%% ``glu:build2DMipmaps'' builds a series of prefiltered two-dimensional texture maps of +%% decreasing resolutions called a mipmap. This is used for the antialiasing of texture-mapped +%% primitives. +%% +%% A return value of zero indicates success, otherwise a GLU error code is returned (see {@link glu:errorString/1} +%% ). +%% +%% Initially, the `Width' and `Height' of `Data' are checked to see if they +%% are a power of 2. If not, a copy of `Data' (not `Data' ), is scaled up or down +%% to the nearest power of 2. This copy will be used for subsequent mipmapping operations +%% described below. (If `Width' or `Height' is exactly between powers of 2, then +%% the copy of `Data' will scale upwards.) For example, if `Width' is 57 and `Height' +%% is 23, then a copy of `Data' will scale up to 64 in `Width' and down to 16 +%% in depth, before mipmapping takes place. +%% +%% Then, proxy textures (see {@link gl:texImage2D/9} ) are used to determine if the implementation +%% can fit the requested texture. If not, both dimensions are continually halved until it +%% fits. (If the OpenGL version is (<= 1.0, both maximum texture dimensions are clamped +%% to the value returned by {@link gl:getBooleanv/1} with the argument `?GLU_MAX_TEXTURE_SIZE' +%% .) +%% +%% Next, a series of mipmap levels is built by decimating a copy of `Data' in half +%% along both dimensions until size 1*1 is reached. At each level, each texel in the halved +%% mipmap level is an average of the corresponding four texels in the larger mipmap level. +%% (In the case of rectangular images, the decimation will ultimately reach an N*1 or 1*N +%% configuration. Here, two texels are averaged instead.) +%% +%% {@link gl:texImage2D/9} is called to load each of these mipmap levels. Level 0 is a copy +%% of `Data' . The highest level is (log 2)(max(width height)). For example, if `Width' is 64 and `Height' +%% is 16 and the implementation can store a texture of this size, the following mipmap levels +%% are built: 64*16, 32*8, 16*4, 8*2, 4*1, 2*1, and 1*1 These correspond to +%% levels 0 through 6, respectively. +%% +%% See the {@link gl:texImage1D/8} reference page for a description of the acceptable values +%% for `Format' parameter. See the {@link gl:drawPixels/5} reference page for a description +%% of the acceptable values for `Type' parameter. +%% +%% See external documentation. +-spec build2DMipmaps(Target, InternalFormat, Width, Height, Format, Type, Data) -> integer() when Target :: enum(),InternalFormat :: integer(),Width :: integer(),Height :: integer(),Format :: enum(),Type :: enum(),Data :: binary(). build2DMipmaps(Target,InternalFormat,Width,Height,Format,Type,Data) -> send_bin(Data), call(5013, <>). -%% @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 external documentation. --spec build3DMipmapLevels(enum(),integer(),integer(),integer(),integer(),enum(),enum(),integer(),integer(),integer(),binary()) -> integer(). +%% @doc Builds a subset of three-dimensional mipmap levels +%% +%% ``glu:build3DMipmapLevels'' builds a subset of prefiltered three-dimensional texture +%% maps of decreasing resolutions called a mipmap. This is used for the antialiasing of texture +%% mapped primitives. +%% +%% A return value of zero indicates success, otherwise a GLU error code is returned (see {@link glu:errorString/1} +%% ). +%% +%% A series of mipmap levels from `Base' to `Max' is built by decimating `Data' +%% in half along both dimensions until size 1*1*1 is reached. At each level, each texel +%% in the halved mipmap level is an average of the corresponding eight texels in the larger +%% mipmap level. (If exactly one of the dimensions is 1, four texels are averaged. If exactly +%% two of the dimensions are 1, two texels are averaged.) {@link gl:texImage3D/10} is called +%% to load these mipmap levels from `Base' to `Max' . If `Max' is larger than +%% the highest mipmap level for the texture of the specified size, then a GLU error code +%% is returned (see {@link glu:errorString/1} ) and nothing is loaded. +%% +%% For example, if `Level' is 2 and `Width' is 16, `Height' is 8 and `Depth' +%% is 4, the following levels are possible: 16*8*4, 8*4*2, 4*2*1, 2*1*1, 1*1*1. +%% These correspond to levels 2 through 6 respectively. If `Base' is 3 and `Max' +%% is 5, then only mipmap levels 8*4*2, 4*2*1, and 2*1*1 are loaded. However, if `Max' +%% is 7, then an error is returned and nothing is loaded, since `Max' is larger than +%% the highest mipmap level which is, in this case, 6. +%% +%% The highest mipmap level can be derived from the formula log 2(max(width height depth)*2 level). +%% +%% See the {@link gl:texImage1D/8} reference page for a description of the acceptable values +%% for `Format' parameter. See the {@link gl:drawPixels/5} reference page for a description +%% of the acceptable values for `Type' parameter. +%% +%% See external documentation. +-spec build3DMipmapLevels(Target, InternalFormat, Width, Height, Depth, Format, Type, Level, Base, Max, Data) -> integer() when Target :: enum(),InternalFormat :: integer(),Width :: integer(),Height :: integer(),Depth :: integer(),Format :: enum(),Type :: enum(),Level :: integer(),Base :: integer(),Max :: integer(),Data :: binary(). build3DMipmapLevels(Target,InternalFormat,Width,Height,Depth,Format,Type,Level,Base,Max,Data) -> send_bin(Data), call(5014, <>). -%% @spec (Target::enum(),InternalFormat::integer(),Width::integer(),Height::integer(),Depth::integer(),Format::enum(),Type::enum(),Data::binary()) -> integer() -%% @doc See external documentation. --spec build3DMipmaps(enum(),integer(),integer(),integer(),integer(),enum(),enum(),binary()) -> integer(). +%% @doc Builds a three-dimensional mipmap +%% +%% ``glu:build3DMipmaps'' builds a series of prefiltered three-dimensional texture maps +%% of decreasing resolutions called a mipmap. This is used for the antialiasing of texture-mapped +%% primitives. +%% +%% A return value of zero indicates success, otherwise a GLU error code is returned (see {@link glu:errorString/1} +%% ). +%% +%% Initially, the `Width' , `Height' and `Depth' of `Data' are checked +%% to see if they are a power of 2. If not, a copy of `Data' is made and scaled up or +%% down to the nearest power of 2. (If `Width' , `Height' , or `Depth' is exactly +%% between powers of 2, then the copy of `Data' will scale upwards.) This copy will +%% be used for subsequent mipmapping operations described below. For example, if `Width' +%% is 57, `Height' is 23, and `Depth' is 24, then a copy of `Data' will scale +%% up to 64 in width, down to 16 in height, and up to 32 in depth before mipmapping takes +%% place. +%% +%% Then, proxy textures (see {@link gl:texImage3D/10} ) are used to determine if the implementation +%% can fit the requested texture. If not, all three dimensions are continually halved until +%% it fits. +%% +%% Next, a series of mipmap levels is built by decimating a copy of `Data' in half +%% along all three dimensions until size 1*1*1 is reached. At each level, each texel in +%% the halved mipmap level is an average of the corresponding eight texels in the larger +%% mipmap level. (If exactly one of the dimensions is 1, four texels are averaged. If exactly +%% two of the dimensions are 1, two texels are averaged.) +%% +%% {@link gl:texImage3D/10} is called to load each of these mipmap levels. Level 0 is a copy +%% of `Data' . The highest level is (log 2)(max(width height depth)). For example, if `Width' is 64, `Height' +%% is 16, and `Depth' is 32, and the implementation can store a texture of this size, +%% the following mipmap levels are built: 64*16*32, 32*8*16, 16*4*8, 8*2*4, 4*1*2, +%% 2*1*1, and 1*1*1. These correspond to levels 0 through 6, respectively. +%% +%% See the {@link gl:texImage1D/8} reference page for a description of the acceptable values +%% for `Format' parameter. See the {@link gl:drawPixels/5} reference page for a description +%% of the acceptable values for `Type' parameter. +%% +%% See external documentation. +-spec build3DMipmaps(Target, InternalFormat, Width, Height, Depth, Format, Type, Data) -> integer() when Target :: enum(),InternalFormat :: integer(),Width :: integer(),Height :: integer(),Depth :: integer(),Format :: enum(),Type :: enum(),Data :: binary(). build3DMipmaps(Target,InternalFormat,Width,Height,Depth,Format,Type,Data) -> send_bin(Data), call(5015, <>). -%% @spec (ExtName::string(),ExtString::string()) -> 0|1 -%% @doc See external documentation. --spec checkExtension(string(),string()) -> 0|1. +%% @doc Determines if an extension name is supported +%% +%% ``glu:checkExtension'' returns `?GLU_TRUE' if `ExtName' is supported otherwise +%% `?GLU_FALSE' is returned. +%% +%% This is used to check for the presence for OpenGL, GLU, or GLX extension names by passing +%% the extension strings returned by {@link gl:getString/1} , {@link glu:getString/1} , see `glXGetClientString' +%% , see `glXQueryExtensionsString', or see `glXQueryServerString', respectively, +%% as `ExtString' . +%% +%% See external documentation. +-spec checkExtension(ExtName, ExtString) -> 0|1 when ExtName :: string(),ExtString :: string(). checkExtension(ExtName,ExtString) -> 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 external documentation. --spec cylinder(integer(),float(),float(),float(),integer(),integer()) -> ok. +%% @doc Draw a cylinder +%% +%% ``glu:cylinder'' draws a cylinder oriented along the `z' axis. The base of the +%% cylinder is placed at `z' = 0 and the top at z= height. Like a sphere, a cylinder +%% is subdivided around the `z' axis into slices and along the `z' axis into stacks. +%% +%% +%% Note that if `Top' is set to 0.0, this routine generates a cone. +%% +%% If the orientation is set to `?GLU_OUTSIDE' (with {@link glu:quadricOrientation/2} ), +%% then any generated normals point away from the `z' axis. Otherwise, they point toward +%% the `z' axis. +%% +%% If texturing is turned on (with {@link glu:quadricTexture/2} ), then texture coordinates +%% are generated so that `t' ranges linearly from 0.0 at `z' = 0 to 1.0 at `z' +%% = `Height' , and `s' ranges from 0.0 at the +`y' axis, to 0.25 at the +`x' +%% axis, to 0.5 at the -`y' axis, to 0.75 at the -`x' axis, and back to 1.0 +%% at the +`y' axis. +%% +%% See external documentation. +-spec cylinder(Quad, Base, Top, Height, Slices, Stacks) -> ok when Quad :: integer(),Base :: float(),Top :: float(),Height :: float(),Slices :: integer(),Stacks :: integer(). cylinder(Quad,Base,Top,Height,Slices,Stacks) -> cast(5017, <>). -%% @spec (Quad::integer()) -> ok -%% @doc See external documentation. --spec deleteQuadric(integer()) -> ok. +%% @doc Destroy a quadrics object +%% +%% ``glu:deleteQuadric'' destroys the quadrics object (created with {@link glu:newQuadric/0} ) +%% and frees any memory it uses. Once ``glu:deleteQuadric'' has been called, `Quad' +%% cannot be used again. +%% +%% See external documentation. +-spec deleteQuadric(Quad) -> ok when Quad :: integer(). deleteQuadric(Quad) -> cast(5018, <>). -%% @spec (Quad::integer(),Inner::float(),Outer::float(),Slices::integer(),Loops::integer()) -> ok -%% @doc See external documentation. --spec disk(integer(),float(),float(),integer(),integer()) -> ok. +%% @doc Draw a disk +%% +%% ``glu:disk'' renders a disk on the `z' = 0 plane. The disk has a radius of `Outer' +%% and contains a concentric circular hole with a radius of `Inner' . If `Inner' +%% is 0, then no hole is generated. The disk is subdivided around the `z' axis into +%% slices (like pizza slices) and also about the `z' axis into rings (as specified by `Slices' +%% and `Loops' , respectively). +%% +%% With respect to orientation, the +`z' side of the disk is considered to be ``outside'' +%% (see {@link glu:quadricOrientation/2} ). This means that if the orientation is set to `?GLU_OUTSIDE' +%% , then any normals generated point along the +`z' axis. Otherwise, they point along +%% the -`z' axis. +%% +%% If texturing has been turned on (with {@link glu:quadricTexture/2} ), texture coordinates +%% are generated linearly such that where r= outer, the value at (`r', 0, 0) is (1, +%% 0.5), at (0, `r', 0) it is (0.5, 1), at (-`r', 0, 0) it is (0, 0.5), and at +%% (0, -`r', 0) it is (0.5, 0). +%% +%% See external documentation. +-spec disk(Quad, Inner, Outer, Slices, Loops) -> ok when Quad :: integer(),Inner :: float(),Outer :: float(),Slices :: integer(),Loops :: integer(). disk(Quad,Inner,Outer,Slices,Loops) -> cast(5019, <>). -%% @spec (Error::enum()) -> string() -%% @doc See external documentation. --spec errorString(enum()) -> string(). +%% @doc Produce an error string from a GL or GLU error code +%% +%% ``glu:errorString'' produces an error string from a GL or GLU error code. The string +%% is in ISO Latin 1 format. For example, ``glu:errorString''(`?GLU_OUT_OF_MEMORY') +%% returns the string `out of memory'. +%% +%% The standard GLU error codes are `?GLU_INVALID_ENUM', `?GLU_INVALID_VALUE', +%% and `?GLU_OUT_OF_MEMORY'. Certain other GLU functions can return specialized error +%% codes through callbacks. See the {@link gl:getError/0} reference page for the list of +%% GL error codes. +%% +%% See external documentation. +-spec errorString(Error) -> string() when Error :: enum(). errorString(Error) -> call(5020, <>). -%% @spec (Name::enum()) -> string() -%% @doc See external documentation. --spec getString(enum()) -> string(). +%% @doc Return a string describing the GLU version or GLU extensions +%% +%% ``glu:getString'' returns a pointer to a static string describing the GLU version or +%% the GLU extensions that are supported. +%% +%% The version number is one of the following forms: +%% +%% `major_number.minor_number'`major_number.minor_number.release_number'. +%% +%% The version string is of the following form: +%% +%% `version number<space>vendor-specific information' +%% +%% Vendor-specific information is optional. Its format and contents depend on the implementation. +%% +%% +%% The standard GLU contains a basic set of features and capabilities. If a company or group +%% of companies wish to support other features, these may be included as extensions to the +%% GLU. If `Name' is `?GLU_EXTENSIONS', then ``glu:getString'' returns a space-separated +%% list of names of supported GLU extensions. (Extension names never contain spaces.) +%% +%% All strings are null-terminated. +%% +%% See external documentation. +-spec getString(Name) -> string() when Name :: enum(). getString(Name) -> call(5021, <>). -%% @spec (EyeX::float(),EyeY::float(),EyeZ::float(),CenterX::float(),CenterY::float(),CenterZ::float(),UpX::float(),UpY::float(),UpZ::float()) -> ok -%% @doc See external documentation. --spec lookAt(float(),float(),float(),float(),float(),float(),float(),float(),float()) -> ok. +%% @doc Define a viewing transformation +%% +%% ``glu:lookAt'' creates a viewing matrix derived from an eye point, a reference point +%% indicating the center of the scene, and an `UP' vector. +%% +%% The matrix maps the reference point to the negative `z' axis and the eye point to +%% the origin. When a typical projection matrix is used, the center of the scene therefore +%% maps to the center of the viewport. Similarly, the direction described by the `UP' +%% vector projected onto the viewing plane is mapped to the positive `y' axis so that +%% it points upward in the viewport. The `UP' vector must not be parallel to the line +%% of sight from the eye point to the reference point. +%% +%% Let +%% +%% F=(centerX-eyeX centerY-eyeY centerZ-eyeZ) +%% +%% Let `UP' be the vector (upX upY upZ). +%% +%% Then normalize as follows: f= F/(||F||) +%% +%% UP"= UP/(||UP||) +%% +%% Finally, let s= f*UP", and u= s*f. +%% +%% M is then constructed as follows: M=(s[0] s[1] s[2] 0 u[0] u[1] u[2] 0-f[0]-f[1]-f[2] 0 0 0 0 1) +%% +%% and ``glu:lookAt'' is equivalent to glMultMatrixf(M); glTranslated(-eyex, -eyey, +%% -eyez); +%% +%% See external documentation. +-spec lookAt(EyeX, EyeY, EyeZ, CenterX, CenterY, CenterZ, UpX, UpY, UpZ) -> ok when EyeX :: float(),EyeY :: float(),EyeZ :: float(),CenterX :: float(),CenterY :: float(),CenterZ :: float(),UpX :: float(),UpY :: float(),UpZ :: float(). lookAt(EyeX,EyeY,EyeZ,CenterX,CenterY,CenterZ,UpX,UpY,UpZ) -> cast(5022, <>). -%% @spec () -> integer() -%% @doc See external documentation. +%% @doc Create a quadrics object +%% +%% ``glu:newQuadric'' creates and returns a pointer to a new quadrics object. This object +%% must be referred to when calling quadrics rendering and control functions. A return value +%% of 0 means that there is not enough memory to allocate the object. +%% +%% See external documentation. -spec newQuadric() -> integer(). newQuadric() -> call(5023, <<>>). -%% @spec (Left::float(),Right::float(),Bottom::float(),Top::float()) -> ok -%% @doc See external documentation. --spec ortho2D(float(),float(),float(),float()) -> ok. +%% @doc Define a 2D orthographic projection matrix +%% +%% ``glu:ortho2D'' sets up a two-dimensional orthographic viewing region. This is equivalent +%% to calling {@link gl:ortho/6} with near= -1 and far= 1. +%% +%% See external documentation. +-spec ortho2D(Left, Right, Bottom, Top) -> ok when Left :: float(),Right :: float(),Bottom :: float(),Top :: float(). ortho2D(Left,Right,Bottom,Top) -> cast(5024, <>). -%% @spec (Quad::integer(),Inner::float(),Outer::float(),Slices::integer(),Loops::integer(),Start::float(),Sweep::float()) -> ok -%% @doc See external documentation. --spec partialDisk(integer(),float(),float(),integer(),integer(),float(),float()) -> ok. +%% @doc Draw an arc of a disk +%% +%% ``glu:partialDisk'' renders a partial disk on the z= 0 plane. A partial disk is similar +%% to a full disk, except that only the subset of the disk from `Start' through `Start' +%% + `Sweep' is included (where 0 degrees is along the +f2yf axis, 90 degrees along +%% the +`x' axis, 180 degrees along the -`y' axis, and 270 degrees along the -`x' +%% axis). +%% +%% The partial disk has a radius of `Outer' and contains a concentric circular hole +%% with a radius of `Inner' . If `Inner' is 0, then no hole is generated. The partial +%% disk is subdivided around the `z' axis into slices (like pizza slices) and also about +%% the `z' axis into rings (as specified by `Slices' and `Loops' , respectively). +%% +%% +%% With respect to orientation, the +`z' side of the partial disk is considered to +%% be outside (see {@link glu:quadricOrientation/2} ). This means that if the orientation +%% is set to `?GLU_OUTSIDE', then any normals generated point along the +`z' axis. +%% Otherwise, they point along the -`z' axis. +%% +%% If texturing is turned on (with {@link glu:quadricTexture/2} ), texture coordinates are +%% generated linearly such that where r= outer, the value at (`r', 0, 0) is (1.0, +%% 0.5), at (0, `r', 0) it is (0.5, 1.0), at (-`r', 0, 0) it is (0.0, 0.5), and +%% at (0, -`r', 0) it is (0.5, 0.0). +%% +%% See external documentation. +-spec partialDisk(Quad, Inner, Outer, Slices, Loops, Start, Sweep) -> ok when Quad :: integer(),Inner :: float(),Outer :: float(),Slices :: integer(),Loops :: integer(),Start :: float(),Sweep :: float(). partialDisk(Quad,Inner,Outer,Slices,Loops,Start,Sweep) -> cast(5025, <>). -%% @spec (Fovy::float(),Aspect::float(),ZNear::float(),ZFar::float()) -> ok -%% @doc See external documentation. --spec perspective(float(),float(),float(),float()) -> ok. +%% @doc Set up a perspective projection matrix +%% +%% ``glu:perspective'' specifies a viewing frustum into the world coordinate system. In +%% general, the aspect ratio in ``glu:perspective'' should match the aspect ratio of the +%% associated viewport. For example, aspect= 2.0 means the viewer's angle of view is twice +%% as wide in `x' as it is in `y'. If the viewport is twice as wide as it is tall, +%% it displays the image without distortion. +%% +%% The matrix generated by ``glu:perspective'' is multipled by the current matrix, just +%% as if {@link gl:multMatrixd/1} were called with the generated matrix. To load the perspective +%% matrix onto the current matrix stack instead, precede the call to ``glu:perspective'' +%% with a call to {@link gl:loadIdentity/0} . +%% +%% Given `f' defined as follows: +%% +%% f= cotangent(fovy/2) The generated matrix is +%% +%% (f/aspect 0 0 0 0 f 0 0 0 0(zFar+zNear)/(zNear-zFar)(2*zFar*zNear)/(zNear-zFar) 0 0 -1 0) +%% +%% See external documentation. +-spec perspective(Fovy, Aspect, ZNear, ZFar) -> ok when Fovy :: float(),Aspect :: float(),ZNear :: float(),ZFar :: float(). perspective(Fovy,Aspect,ZNear,ZFar) -> cast(5026, <>). -%% @spec (X::float(),Y::float(),DelX::float(),DelY::float(),Viewport::{integer(),integer(),integer(),integer()}) -> ok -%% @doc See external documentation. --spec pickMatrix(float(),float(),float(),float(),{integer(),integer(),integer(),integer()}) -> ok. +%% @doc Define a picking region +%% +%% ``glu:pickMatrix'' creates a projection matrix that can be used to restrict drawing +%% to a small region of the viewport. This is typically useful to determine what objects +%% are being drawn near the cursor. Use ``glu:pickMatrix'' to restrict drawing to a small +%% region around the cursor. Then, enter selection mode (with {@link gl:renderMode/1} ) and +%% rerender the scene. All primitives that would have been drawn near the cursor are identified +%% and stored in the selection buffer. +%% +%% The matrix created by ``glu:pickMatrix'' is multiplied by the current matrix just as +%% if {@link gl:multMatrixd/1} is called with the generated matrix. To effectively use the +%% generated pick matrix for picking, first call {@link gl:loadIdentity/0} to load an identity +%% matrix onto the perspective matrix stack. Then call ``glu:pickMatrix'', and, finally, +%% call a command (such as {@link glu:perspective/4} ) to multiply the perspective matrix by +%% the pick matrix. +%% +%% When using ``glu:pickMatrix'' to pick NURBS, be careful to turn off the NURBS property +%% `?GLU_AUTO_LOAD_MATRIX'. If `?GLU_AUTO_LOAD_MATRIX' is not turned off, then +%% any NURBS surface rendered is subdivided differently with the pick matrix than the way +%% it was subdivided without the pick matrix. +%% +%% See external documentation. +-spec pickMatrix(X, Y, DelX, DelY, Viewport) -> ok when X :: float(),Y :: float(),DelX :: float(),DelY :: float(),Viewport :: {integer(),integer(),integer(),integer()}. pickMatrix(X,Y,DelX,DelY,{V1,V2,V3,V4}) -> cast(5027, <>). -%% @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 external 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()}. +%% @doc Map object coordinates to window coordinates +%% +%% ``glu:project'' transforms the specified object coordinates into window coordinates +%% using `Model' , `Proj' , and `View' . The result is stored in `WinX' , `WinY' +%% , and `WinZ' . A return value of `?GLU_TRUE' indicates success, a return value +%% of `?GLU_FALSE' indicates failure. +%% +%% To compute the coordinates, let v=(objX objY objZ 1.0) represented as a matrix with 4 rows and 1 column. +%% Then ``glu:project'' computes v" as follows: +%% +%% v"= P*M*v +%% +%% where P is the current projection matrix `Proj' and M is the current modelview +%% matrix `Model' (both represented as 4*4 matrices in column-major order). +%% +%% The window coordinates are then computed as follows: +%% +%% winX= view(0)+view(2)*(v"(0)+1)/2 +%% +%% winY= view(1)+view(3)*(v"(1)+1)/2 +%% +%% winZ=(v"(2)+1)/2 +%% +%% +%% +%% See external documentation. +-spec project(ObjX, ObjY, ObjZ, Model, Proj, View) -> {integer(),WinX :: float(),WinY :: float(),WinZ :: float()} when ObjX :: float(),ObjY :: float(),ObjZ :: float(),Model :: matrix(),Proj :: matrix(),View :: {integer(),integer(),integer(),integer()}. 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}) -> call(5028, <>); 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}) -> call(5028, <>). -%% @spec (Quad::integer(),Draw::enum()) -> ok -%% @doc See external documentation. --spec quadricDrawStyle(integer(),enum()) -> ok. +%% @doc Specify the draw style desired for quadrics +%% +%% ``glu:quadricDrawStyle'' specifies the draw style for quadrics rendered with `Quad' . +%% The legal values are as follows: +%% +%% `?GLU_FILL': Quadrics are rendered with polygon primitives. The polygons are drawn +%% in a counterclockwise fashion with respect to their normals (as defined with {@link glu:quadricOrientation/2} +%% ). +%% +%% `?GLU_LINE': Quadrics are rendered as a set of lines. +%% +%% `?GLU_SILHOUETTE': Quadrics are rendered as a set of lines, except that edges separating +%% coplanar faces will not be drawn. +%% +%% `?GLU_POINT': Quadrics are rendered as a set of points. +%% +%% See external documentation. +-spec quadricDrawStyle(Quad, Draw) -> ok when Quad :: integer(),Draw :: enum(). quadricDrawStyle(Quad,Draw) -> cast(5029, <>). -%% @spec (Quad::integer(),Normal::enum()) -> ok -%% @doc See external documentation. --spec quadricNormals(integer(),enum()) -> ok. +%% @doc Specify what kind of normals are desired for quadrics +%% +%% ``glu:quadricNormals'' specifies what kind of normals are desired for quadrics rendered +%% with `Quad' . The legal values are as follows: +%% +%% `?GLU_NONE': No normals are generated. +%% +%% `?GLU_FLAT': One normal is generated for every facet of a quadric. +%% +%% `?GLU_SMOOTH': One normal is generated for every vertex of a quadric. This is the +%% initial value. +%% +%% See external documentation. +-spec quadricNormals(Quad, Normal) -> ok when Quad :: integer(),Normal :: enum(). quadricNormals(Quad,Normal) -> cast(5030, <>). -%% @spec (Quad::integer(),Orientation::enum()) -> ok -%% @doc See external documentation. --spec quadricOrientation(integer(),enum()) -> ok. +%% @doc Specify inside/outside orientation for quadrics +%% +%% ``glu:quadricOrientation'' specifies what kind of orientation is desired for quadrics +%% rendered with `Quad' . The `Orientation' values are as follows: +%% +%% `?GLU_OUTSIDE': Quadrics are drawn with normals pointing outward (the initial value). +%% +%% +%% `?GLU_INSIDE': Quadrics are drawn with normals pointing inward. +%% +%% Note that the interpretation of `outward' and `inward' depends on the quadric +%% being drawn. +%% +%% See external documentation. +-spec quadricOrientation(Quad, Orientation) -> ok when Quad :: integer(),Orientation :: enum(). quadricOrientation(Quad,Orientation) -> cast(5031, <>). -%% @spec (Quad::integer(),Texture::0|1) -> ok -%% @doc See external documentation. --spec quadricTexture(integer(),0|1) -> ok. +%% @doc Specify if texturing is desired for quadrics +%% +%% ``glu:quadricTexture'' specifies if texture coordinates should be generated for quadrics +%% rendered with `Quad' . If the value of `Texture' is `?GLU_TRUE', then texture +%% coordinates are generated, and if `Texture' is `?GLU_FALSE', they are not. +%% The initial value is `?GLU_FALSE'. +%% +%% The manner in which texture coordinates are generated depends upon the specific quadric +%% rendered. +%% +%% See external documentation. +-spec quadricTexture(Quad, Texture) -> ok when Quad :: integer(),Texture :: 0|1. quadricTexture(Quad,Texture) -> cast(5032, <>). -%% @spec (Format::enum(),WIn::integer(),HIn::integer(),TypeIn::enum(),DataIn::binary(),WOut::integer(),HOut::integer(),TypeOut::enum(),DataOut::mem()) -> integer() -%% @doc See external documentation. --spec scaleImage(enum(),integer(),integer(),enum(),binary(),integer(),integer(),enum(),mem()) -> integer(). +%% @doc Scale an image to an arbitrary size +%% +%% ``glu:scaleImage'' scales a pixel image using the appropriate pixel store modes to +%% unpack data from the source image and pack data into the destination image. +%% +%% When shrinking an image, ``glu:scaleImage'' uses a box filter to sample the source +%% image and create pixels for the destination image. When magnifying an image, the pixels +%% from the source image are linearly interpolated to create the destination image. +%% +%% A return value of zero indicates success, otherwise a GLU error code is returned (see {@link glu:errorString/1} +%% ). +%% +%% See the {@link gl:readPixels/7} reference page for a description of the acceptable values +%% for the `Format' , `TypeIn' , and `TypeOut' parameters. +%% +%% See external documentation. +-spec scaleImage(Format, WIn, HIn, TypeIn, DataIn, WOut, HOut, TypeOut, DataOut) -> integer() when Format :: enum(),WIn :: integer(),HIn :: integer(),TypeIn :: enum(),DataIn :: binary(),WOut :: integer(),HOut :: integer(),TypeOut :: enum(),DataOut :: mem(). scaleImage(Format,WIn,HIn,TypeIn,DataIn,WOut,HOut,TypeOut,DataOut) -> send_bin(DataIn), send_bin(DataOut), call(5033, <>). -%% @spec (Quad::integer(),Radius::float(),Slices::integer(),Stacks::integer()) -> ok -%% @doc See external documentation. --spec sphere(integer(),float(),integer(),integer()) -> ok. +%% @doc Draw a sphere +%% +%% ``glu:sphere'' draws a sphere of the given radius centered around the origin. The sphere +%% is subdivided around the `z' axis into slices and along the `z' axis into +%% stacks (similar to lines of longitude and latitude). +%% +%% If the orientation is set to `?GLU_OUTSIDE' (with {@link glu:quadricOrientation/2} ), +%% then any normals generated point away from the center of the sphere. Otherwise, they +%% point toward the center of the sphere. +%% +%% If texturing is turned on (with {@link glu:quadricTexture/2} ), then texture coordinates +%% are generated so that `t' ranges from 0.0 at z=-radius to 1.0 at z= radius (`t' +%% increases linearly along longitudinal lines), and `s' ranges from 0.0 at the +`y' +%% axis, to 0.25 at the +`x' axis, to 0.5 at the -`y' axis, to 0.75 at the -`x' +%% axis, and back to 1.0 at the +`y' axis. +%% +%% See external documentation. +-spec sphere(Quad, Radius, Slices, Stacks) -> ok when Quad :: integer(),Radius :: float(),Slices :: integer(),Stacks :: integer(). sphere(Quad,Radius,Slices,Stacks) -> cast(5034, <>). -%% @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 external 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()}. +%% @doc Map window coordinates to object coordinates +%% +%% ``glu:unProject'' maps the specified window coordinates into object coordinates using `Model' +%% , `Proj' , and `View' . The result is stored in `ObjX' , `ObjY' , and `ObjZ' +%% . A return value of `?GLU_TRUE' indicates success; a return value of `?GLU_FALSE' +%% indicates failure. +%% +%% To compute the coordinates (objX objY objZ), ``glu:unProject'' multiplies the normalized device coordinates +%% by the inverse of `Model' * `Proj' as follows: +%% +%% (objX objY objZ W)= INV(P M) ((2(winX-view[0]))/(view[2])-1(2(winY-view[1]))/(view[3])-1 2(winZ)-1 1) INV denotes matrix inversion. W is an unused variable, included for consistent +%% matrix notation. +%% +%% See external documentation. +-spec unProject(WinX, WinY, WinZ, Model, Proj, View) -> {integer(),ObjX :: float(),ObjY :: float(),ObjZ :: float()} when WinX :: float(),WinY :: float(),WinZ :: float(),Model :: matrix(),Proj :: matrix(),View :: {integer(),integer(),integer(),integer()}. 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}) -> call(5035, <>); 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}) -> call(5035, <>). -%% @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 external 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()}. +%% @doc +%% See {@link unProject/6} +-spec unProject4(WinX, WinY, WinZ, ClipW, Model, Proj, View, NearVal, FarVal) -> {integer(),ObjX :: float(),ObjY :: float(),ObjZ :: float(),ObjW :: float()} when WinX :: float(),WinY :: float(),WinZ :: float(),ClipW :: float(),Model :: matrix(),Proj :: matrix(),View :: {integer(),integer(),integer(),integer()},NearVal :: float(),FarVal :: 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) -> call(5036, <>); 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) -> -- cgit v1.2.3 From a181c06152a3c935fdf63659322020fb7625b577 Mon Sep 17 00:00:00 2001 From: Dan Gudmundsson Date: Thu, 16 Feb 2012 11:04:18 +0100 Subject: [wx] Generated types for all wx classes --- lib/wx/src/gen/wxAcceleratorEntry.erl | 43 +- lib/wx/src/gen/wxAcceleratorTable.erl | 14 +- lib/wx/src/gen/wxArtProvider.erl | 24 +- lib/wx/src/gen/wxAuiDockArt.erl | 4 +- lib/wx/src/gen/wxAuiManager.erl | 120 ++- lib/wx/src/gen/wxAuiManagerEvent.erl | 46 +- lib/wx/src/gen/wxAuiNotebook.erl | 100 +- lib/wx/src/gen/wxAuiNotebookEvent.erl | 22 +- lib/wx/src/gen/wxAuiPaneInfo.erl | 332 ++++-- lib/wx/src/gen/wxAuiTabArt.erl | 4 +- lib/wx/src/gen/wxBitmap.erl | 133 +-- lib/wx/src/gen/wxBitmapButton.erl | 56 +- lib/wx/src/gen/wxBitmapDataObject.erl | 28 +- lib/wx/src/gen/wxBoxSizer.erl | 12 +- lib/wx/src/gen/wxBrush.erl | 51 +- lib/wx/src/gen/wxBufferedDC.erl | 54 +- lib/wx/src/gen/wxBufferedPaintDC.erl | 28 +- lib/wx/src/gen/wxButton.erl | 42 +- lib/wx/src/gen/wxCalendarCtrl.erl | 114 +- lib/wx/src/gen/wxCalendarDateAttr.erl | 98 +- lib/wx/src/gen/wxCalendarEvent.erl | 10 +- lib/wx/src/gen/wxCaret.erl | 62 +- lib/wx/src/gen/wxCheckBox.erl | 59 +- lib/wx/src/gen/wxCheckListBox.erl | 33 +- lib/wx/src/gen/wxChildFocusEvent.erl | 7 +- lib/wx/src/gen/wxChoice.erl | 46 +- lib/wx/src/gen/wxChoicebook.erl | 114 +- lib/wx/src/gen/wxClientDC.erl | 11 +- lib/wx/src/gen/wxClipboard.erl | 46 +- lib/wx/src/gen/wxCloseEvent.erl | 25 +- lib/wx/src/gen/wxColourData.erl | 29 +- lib/wx/src/gen/wxColourDialog.erl | 29 +- lib/wx/src/gen/wxColourPickerCtrl.erl | 49 +- lib/wx/src/gen/wxColourPickerEvent.erl | 7 +- lib/wx/src/gen/wxComboBox.erl | 92 +- lib/wx/src/gen/wxCommandEvent.erl | 31 +- lib/wx/src/gen/wxContextMenuEvent.erl | 10 +- lib/wx/src/gen/wxControl.erl | 10 +- lib/wx/src/gen/wxControlWithItems.erl | 67 +- lib/wx/src/gen/wxCursor.erl | 33 +- lib/wx/src/gen/wxDC.erl | 333 +++--- lib/wx/src/gen/wxDataObject.erl | 4 +- lib/wx/src/gen/wxDateEvent.erl | 7 +- lib/wx/src/gen/wxDatePickerCtrl.erl | 33 +- lib/wx/src/gen/wxDialog.erl | 66 +- lib/wx/src/gen/wxDirDialog.erl | 31 +- lib/wx/src/gen/wxDirPickerCtrl.erl | 42 +- lib/wx/src/gen/wxDisplayChangedEvent.erl | 4 +- lib/wx/src/gen/wxEraseEvent.erl | 7 +- lib/wx/src/gen/wxEvent.erl | 34 +- lib/wx/src/gen/wxEvtHandler.erl | 28 +- lib/wx/src/gen/wxFileDataObject.erl | 14 +- lib/wx/src/gen/wxFileDialog.erl | 63 +- lib/wx/src/gen/wxFileDirPickerEvent.erl | 7 +- lib/wx/src/gen/wxFilePickerCtrl.erl | 44 +- lib/wx/src/gen/wxFindReplaceData.erl | 29 +- lib/wx/src/gen/wxFindReplaceDialog.erl | 29 +- lib/wx/src/gen/wxFlexGridSizer.erl | 61 +- lib/wx/src/gen/wxFocusEvent.erl | 7 +- lib/wx/src/gen/wxFont.erl | 102 +- lib/wx/src/gen/wxFontData.erl | 50 +- lib/wx/src/gen/wxFontDialog.erl | 17 +- lib/wx/src/gen/wxFontPickerCtrl.erl | 46 +- lib/wx/src/gen/wxFontPickerEvent.erl | 7 +- lib/wx/src/gen/wxFrame.erl | 96 +- lib/wx/src/gen/wxGBSizerItem.erl | 4 +- lib/wx/src/gen/wxGLCanvas.erl | 49 +- lib/wx/src/gen/wxGauge.erl | 62 +- lib/wx/src/gen/wxGenericDirCtrl.erl | 83 +- lib/wx/src/gen/wxGraphicsBrush.erl | 4 +- lib/wx/src/gen/wxGraphicsContext.erl | 168 +-- lib/wx/src/gen/wxGraphicsFont.erl | 4 +- lib/wx/src/gen/wxGraphicsMatrix.erl | 52 +- lib/wx/src/gen/wxGraphicsObject.erl | 10 +- lib/wx/src/gen/wxGraphicsPath.erl | 83 +- lib/wx/src/gen/wxGraphicsPen.erl | 4 +- lib/wx/src/gen/wxGraphicsRenderer.erl | 47 +- lib/wx/src/gen/wxGrid.erl | 772 +++++++++----- lib/wx/src/gen/wxGridBagSizer.erl | 165 +-- lib/wx/src/gen/wxGridCellAttr.erl | 73 +- lib/wx/src/gen/wxGridCellBoolEditor.erl | 19 +- lib/wx/src/gen/wxGridCellBoolRenderer.erl | 8 +- lib/wx/src/gen/wxGridCellChoiceEditor.erl | 18 +- lib/wx/src/gen/wxGridCellEditor.erl | 43 +- lib/wx/src/gen/wxGridCellFloatEditor.erl | 17 +- lib/wx/src/gen/wxGridCellFloatRenderer.erl | 29 +- lib/wx/src/gen/wxGridCellNumberEditor.erl | 20 +- lib/wx/src/gen/wxGridCellNumberRenderer.erl | 8 +- lib/wx/src/gen/wxGridCellRenderer.erl | 10 +- lib/wx/src/gen/wxGridCellStringRenderer.erl | 8 +- lib/wx/src/gen/wxGridCellTextEditor.erl | 11 +- lib/wx/src/gen/wxGridEvent.erl | 28 +- lib/wx/src/gen/wxGridSizer.erl | 43 +- lib/wx/src/gen/wxHelpEvent.erl | 22 +- lib/wx/src/gen/wxHtmlEasyPrinting.erl | 74 +- lib/wx/src/gen/wxHtmlLinkEvent.erl | 7 +- lib/wx/src/gen/wxHtmlWindow.erl | 92 +- lib/wx/src/gen/wxIcon.erl | 32 +- lib/wx/src/gen/wxIconBundle.erl | 38 +- lib/wx/src/gen/wxIconizeEvent.erl | 7 +- lib/wx/src/gen/wxIdleEvent.erl | 30 +- lib/wx/src/gen/wxImage.erl | 409 +++++--- lib/wx/src/gen/wxImageList.erl | 78 +- lib/wx/src/gen/wxJoystickEvent.erl | 55 +- lib/wx/src/gen/wxKeyEvent.erl | 46 +- lib/wx/src/gen/wxLayoutAlgorithm.erl | 35 +- lib/wx/src/gen/wxListBox.erl | 62 +- lib/wx/src/gen/wxListCtrl.erl | 256 +++-- lib/wx/src/gen/wxListEvent.erl | 43 +- lib/wx/src/gen/wxListItem.erl | 89 +- lib/wx/src/gen/wxListItemAttr.erl | 38 +- lib/wx/src/gen/wxListView.erl | 34 +- lib/wx/src/gen/wxListbook.erl | 114 +- lib/wx/src/gen/wxLogNull.erl | 8 +- lib/wx/src/gen/wxMDIChildFrame.erl | 45 +- lib/wx/src/gen/wxMDIClientWindow.erl | 26 +- lib/wx/src/gen/wxMDIParentFrame.erl | 60 +- lib/wx/src/gen/wxMask.erl | 38 +- lib/wx/src/gen/wxMaximizeEvent.erl | 4 +- lib/wx/src/gen/wxMemoryDC.erl | 17 +- lib/wx/src/gen/wxMenu.erl | 286 ++--- lib/wx/src/gen/wxMenuBar.erl | 89 +- lib/wx/src/gen/wxMenuEvent.erl | 13 +- lib/wx/src/gen/wxMenuItem.erl | 99 +- lib/wx/src/gen/wxMessageDialog.erl | 17 +- lib/wx/src/gen/wxMiniFrame.erl | 30 +- lib/wx/src/gen/wxMirrorDC.erl | 9 +- lib/wx/src/gen/wxMouseCaptureChangedEvent.erl | 7 +- lib/wx/src/gen/wxMouseEvent.erl | 127 ++- lib/wx/src/gen/wxMoveEvent.erl | 7 +- lib/wx/src/gen/wxMultiChoiceDialog.erl | 24 +- lib/wx/src/gen/wxNavigationKeyEvent.erl | 28 +- lib/wx/src/gen/wxNcPaintEvent.erl | 4 +- lib/wx/src/gen/wxNotebook.erl | 123 ++- lib/wx/src/gen/wxNotebookEvent.erl | 16 +- lib/wx/src/gen/wxNotifyEvent.erl | 13 +- lib/wx/src/gen/wxPageSetupDialog.erl | 21 +- lib/wx/src/gen/wxPageSetupDialogData.erl | 107 +- lib/wx/src/gen/wxPaintDC.erl | 11 +- lib/wx/src/gen/wxPaintEvent.erl | 4 +- lib/wx/src/gen/wxPalette.erl | 27 +- lib/wx/src/gen/wxPaletteChangedEvent.erl | 10 +- lib/wx/src/gen/wxPanel.erl | 32 +- lib/wx/src/gen/wxPasswordEntryDialog.erl | 18 +- lib/wx/src/gen/wxPen.erl | 54 +- lib/wx/src/gen/wxPickerBase.erl | 52 +- lib/wx/src/gen/wxPostScriptDC.erl | 16 +- lib/wx/src/gen/wxPreviewCanvas.erl | 4 +- lib/wx/src/gen/wxPreviewControlBar.erl | 29 +- lib/wx/src/gen/wxPreviewFrame.erl | 30 +- lib/wx/src/gen/wxPrintData.erl | 80 +- lib/wx/src/gen/wxPrintDialog.erl | 30 +- lib/wx/src/gen/wxPrintDialogData.erl | 83 +- lib/wx/src/gen/wxPrintPreview.erl | 67 +- lib/wx/src/gen/wxPrinter.erl | 45 +- lib/wx/src/gen/wxPrintout.erl | 66 +- lib/wx/src/gen/wxProgressDialog.erl | 32 +- lib/wx/src/gen/wxQueryNewPaletteEvent.erl | 10 +- lib/wx/src/gen/wxRadioBox.erl | 108 +- lib/wx/src/gen/wxRadioButton.erl | 38 +- lib/wx/src/gen/wxRegion.erl | 142 ++- lib/wx/src/gen/wxSashEvent.erl | 19 +- lib/wx/src/gen/wxSashLayoutWindow.erl | 59 +- lib/wx/src/gen/wxSashWindow.erl | 56 +- lib/wx/src/gen/wxScreenDC.erl | 8 +- lib/wx/src/gen/wxScrollBar.erl | 56 +- lib/wx/src/gen/wxScrollEvent.erl | 10 +- lib/wx/src/gen/wxScrollWinEvent.erl | 10 +- lib/wx/src/gen/wxScrolledWindow.erl | 67 +- lib/wx/src/gen/wxSetCursorEvent.erl | 19 +- lib/wx/src/gen/wxShowEvent.erl | 10 +- lib/wx/src/gen/wxSingleChoiceDialog.erl | 27 +- lib/wx/src/gen/wxSizeEvent.erl | 7 +- lib/wx/src/gen/wxSizer.erl | 328 +++--- lib/wx/src/gen/wxSizerFlags.erl | 46 +- lib/wx/src/gen/wxSizerItem.erl | 128 ++- lib/wx/src/gen/wxSlider.erl | 65 +- lib/wx/src/gen/wxSpinButton.erl | 47 +- lib/wx/src/gen/wxSpinCtrl.erl | 67 +- lib/wx/src/gen/wxSpinEvent.erl | 10 +- lib/wx/src/gen/wxSplashScreen.erl | 25 +- lib/wx/src/gen/wxSplitterEvent.erl | 19 +- lib/wx/src/gen/wxSplitterWindow.erl | 113 +- lib/wx/src/gen/wxStaticBitmap.erl | 36 +- lib/wx/src/gen/wxStaticBox.erl | 30 +- lib/wx/src/gen/wxStaticBoxSizer.erl | 25 +- lib/wx/src/gen/wxStaticLine.erl | 37 +- lib/wx/src/gen/wxStaticText.erl | 39 +- lib/wx/src/gen/wxStatusBar.erl | 88 +- lib/wx/src/gen/wxStdDialogButtonSizer.erl | 23 +- lib/wx/src/gen/wxStyledTextCtrl.erl | 1389 ++++++++++++++++--------- lib/wx/src/gen/wxStyledTextEvent.erl | 76 +- lib/wx/src/gen/wxSysColourChangedEvent.erl | 4 +- lib/wx/src/gen/wxSystemOptions.erl | 28 +- lib/wx/src/gen/wxSystemSettings.erl | 33 +- lib/wx/src/gen/wxTextAttr.erl | 103 +- lib/wx/src/gen/wxTextCtrl.erl | 186 ++-- lib/wx/src/gen/wxTextDataObject.erl | 22 +- lib/wx/src/gen/wxTextEntryDialog.erl | 24 +- lib/wx/src/gen/wxToggleButton.erl | 38 +- lib/wx/src/gen/wxToolBar.erl | 228 ++-- lib/wx/src/gen/wxToolTip.erl | 24 +- lib/wx/src/gen/wxToolbook.erl | 114 +- lib/wx/src/gen/wxTopLevelWindow.erl | 91 +- lib/wx/src/gen/wxTreeCtrl.erl | 318 ++++-- lib/wx/src/gen/wxTreeEvent.erl | 28 +- lib/wx/src/gen/wxTreebook.erl | 136 ++- lib/wx/src/gen/wxUpdateUIEvent.erl | 61 +- lib/wx/src/gen/wxWindow.erl | 755 +++++++++----- lib/wx/src/gen/wxWindowCreateEvent.erl | 4 +- lib/wx/src/gen/wxWindowDC.erl | 11 +- lib/wx/src/gen/wxWindowDestroyEvent.erl | 4 +- lib/wx/src/gen/wxXmlResource.erl | 103 +- lib/wx/src/gen/wx_misc.erl | 78 +- 214 files changed, 9127 insertions(+), 5070 deletions(-) (limited to 'lib/wx/src/gen') diff --git a/lib/wx/src/gen/wxAcceleratorEntry.erl b/lib/wx/src/gen/wxAcceleratorEntry.erl index d76299b300..6185a1891b 100644 --- a/lib/wx/src/gen/wxAcceleratorEntry.erl +++ b/lib/wx/src/gen/wxAcceleratorEntry.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,24 +29,25 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxAcceleratorEntry/0]). %% @hidden parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxAcceleratorEntry() +-type wxAcceleratorEntry() :: wx:wx_object(). %% @equiv new([]) +-spec new() -> wxAcceleratorEntry(). + new() -> new([]). -%% @spec (X::term()|wxAcceleratorEntry()) -> wxAcceleratorEntry() %% @doc See external documentation. -%%
Alternatives: -%%

-%% new([Option]) -> wxAcceleratorEntry() -%%
Option = {flags, integer()} | {keyCode, integer()} | {cmd, integer()} | {item, wxMenuItem:wxMenuItem()} -%%

-%%

-%% new(Entry::wxAcceleratorEntry()) -> wxAcceleratorEntry() -%%

+-spec new([Option]) -> wxAcceleratorEntry() when + Option :: {flags, integer()} + | {keyCode, integer()} + | {cmd, integer()} + | {item, wxMenuItem:wxMenuItem()}; + (Entry) -> wxAcceleratorEntry() when + Entry::wxAcceleratorEntry(). new(Options) when is_list(Options) -> MOpts = fun({flags, Flags}, Acc) -> [<<1:32/?UI,Flags:32/?UI>>|Acc]; @@ -62,36 +63,42 @@ new(#wx_ref{type=EntryT,ref=EntryRef}) -> wxe_util:construct(?wxAcceleratorEntry_new_1_1, <>). -%% @spec (This::wxAcceleratorEntry()) -> integer() %% @doc See external documentation. +-spec getCommand(This) -> integer() when + This::wxAcceleratorEntry(). getCommand(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAcceleratorEntry), wxe_util:call(?wxAcceleratorEntry_GetCommand, <>). -%% @spec (This::wxAcceleratorEntry()) -> integer() %% @doc See external documentation. +-spec getFlags(This) -> integer() when + This::wxAcceleratorEntry(). getFlags(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAcceleratorEntry), wxe_util:call(?wxAcceleratorEntry_GetFlags, <>). -%% @spec (This::wxAcceleratorEntry()) -> integer() %% @doc See external documentation. +-spec getKeyCode(This) -> integer() when + This::wxAcceleratorEntry(). getKeyCode(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAcceleratorEntry), wxe_util:call(?wxAcceleratorEntry_GetKeyCode, <>). -%% @spec (This::wxAcceleratorEntry(), Flags::integer(), KeyCode::integer(), Cmd::integer()) -> ok %% @equiv set(This,Flags,KeyCode,Cmd, []) +-spec set(This, Flags, KeyCode, Cmd) -> ok when + This::wxAcceleratorEntry(), Flags::integer(), KeyCode::integer(), Cmd::integer(). + set(This,Flags,KeyCode,Cmd) when is_record(This, wx_ref),is_integer(Flags),is_integer(KeyCode),is_integer(Cmd) -> set(This,Flags,KeyCode,Cmd, []). -%% @spec (This::wxAcceleratorEntry(), Flags::integer(), KeyCode::integer(), Cmd::integer(), [Option]) -> ok -%% Option = {item, wxMenuItem:wxMenuItem()} %% @doc See external documentation. +-spec set(This, Flags, KeyCode, Cmd, [Option]) -> ok when + This::wxAcceleratorEntry(), Flags::integer(), KeyCode::integer(), Cmd::integer(), + Option :: {item, wxMenuItem:wxMenuItem()}. set(#wx_ref{type=ThisT,ref=ThisRef},Flags,KeyCode,Cmd, Options) when is_integer(Flags),is_integer(KeyCode),is_integer(Cmd),is_list(Options) -> ?CLASS(ThisT,wxAcceleratorEntry), @@ -101,8 +108,8 @@ set(#wx_ref{type=ThisT,ref=ThisRef},Flags,KeyCode,Cmd, Options) wxe_util:cast(?wxAcceleratorEntry_Set, <>). -%% @spec (This::wxAcceleratorEntry()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxAcceleratorEntry) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxAcceleratorEntry), wxe_util:destroy(?wxAcceleratorEntry_destroy,Obj), diff --git a/lib/wx/src/gen/wxAcceleratorTable.erl b/lib/wx/src/gen/wxAcceleratorTable.erl index 5d070294e2..15915daa5a 100644 --- a/lib/wx/src/gen/wxAcceleratorTable.erl +++ b/lib/wx/src/gen/wxAcceleratorTable.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,20 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxAcceleratorTable/0]). %% @hidden parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxAcceleratorTable() +-type wxAcceleratorTable() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxAcceleratorTable(). new() -> wxe_util:construct(?wxAcceleratorTable_new_0, <<>>). -%% @spec (N::integer(), Entries::[wxAcceleratorEntry:wxAcceleratorEntry()]) -> wxAcceleratorTable() %% @doc See external documentation. +-spec new(N, Entries) -> wxAcceleratorTable() when + N::integer(), Entries::[wxAcceleratorEntry:wxAcceleratorEntry()]. new(N,Entries) when is_integer(N),is_list(Entries) -> [?CLASS(EntriesT,wxAcceleratorEntry) || #wx_ref{type=EntriesT} <- Entries], @@ -47,15 +50,16 @@ new(N,Entries) <> || C <- Entries>>)/binary, 0:(((0+length(Entries)) rem 2)*32)>>). -%% @spec (This::wxAcceleratorTable()) -> bool() %% @doc See external documentation. +-spec ok(This) -> boolean() when + This::wxAcceleratorTable(). ok(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAcceleratorTable), wxe_util:call(?wxAcceleratorTable_Ok, <>). -%% @spec (This::wxAcceleratorTable()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxAcceleratorTable) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxAcceleratorTable), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxArtProvider.erl b/lib/wx/src/gen/wxArtProvider.erl index 1955bd2e29..584e240879 100644 --- a/lib/wx/src/gen/wxArtProvider.erl +++ b/lib/wx/src/gen/wxArtProvider.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,18 +29,24 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxArtProvider/0]). %% @hidden parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (Id::string()) -> wxBitmap:wxBitmap() +-type wxArtProvider() :: wx:wx_object(). %% @equiv getBitmap(Id, []) +-spec getBitmap(Id) -> wxBitmap:wxBitmap() when + Id::string(). + getBitmap(Id) when is_list(Id) -> getBitmap(Id, []). -%% @spec (Id::string(), [Option]) -> wxBitmap:wxBitmap() -%% Option = {client, string()} | {size, {W::integer(), H::integer()}} %% @doc See external documentation. +-spec getBitmap(Id, [Option]) -> wxBitmap:wxBitmap() when + Id::string(), + Option :: {client, string()} + | {size, {W::integer(), H::integer()}}. getBitmap(Id, Options) when is_list(Id),is_list(Options) -> Id_UC = unicode:characters_to_binary([Id,0]), @@ -51,15 +57,19 @@ getBitmap(Id, Options) wxe_util:call(?wxArtProvider_GetBitmap, <<(byte_size(Id_UC)):32/?UI,(Id_UC)/binary, 0:(((8- ((4+byte_size(Id_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>). -%% @spec (Id::string()) -> wxIcon:wxIcon() %% @equiv getIcon(Id, []) +-spec getIcon(Id) -> wxIcon:wxIcon() when + Id::string(). + getIcon(Id) when is_list(Id) -> getIcon(Id, []). -%% @spec (Id::string(), [Option]) -> wxIcon:wxIcon() -%% Option = {client, string()} | {size, {W::integer(), H::integer()}} %% @doc See external documentation. +-spec getIcon(Id, [Option]) -> wxIcon:wxIcon() when + Id::string(), + Option :: {client, string()} + | {size, {W::integer(), H::integer()}}. getIcon(Id, Options) when is_list(Id),is_list(Options) -> Id_UC = unicode:characters_to_binary([Id,0]), diff --git a/lib/wx/src/gen/wxAuiDockArt.erl b/lib/wx/src/gen/wxAuiDockArt.erl index f2be643dd9..d3cf1ebd0d 100644 --- a/lib/wx/src/gen/wxAuiDockArt.erl +++ b/lib/wx/src/gen/wxAuiDockArt.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,6 +29,8 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxAuiDockArt/0]). %% @hidden parent_class(_Class) -> erlang:error({badtype, ?MODULE}). +-type wxAuiDockArt() :: wx:wx_object(). diff --git a/lib/wx/src/gen/wxAuiManager.erl b/lib/wx/src/gen/wxAuiManager.erl index 893867cec1..456c435a8c 100644 --- a/lib/wx/src/gen/wxAuiManager.erl +++ b/lib/wx/src/gen/wxAuiManager.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,18 +37,22 @@ %% inherited exports -export([connect/2,connect/3,disconnect/1,disconnect/2,disconnect/3,parent_class/1]). +-export_type([wxAuiManager/0]). %% @hidden parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxAuiManager() +-type wxAuiManager() :: wx:wx_object(). %% @equiv new([]) +-spec new() -> wxAuiManager(). + new() -> new([]). -%% @spec ([Option]) -> wxAuiManager() -%% Option = {managed_wnd, wxWindow:wxWindow()} | {flags, integer()} %% @doc See external documentation. +-spec new([Option]) -> wxAuiManager() when + Option :: {managed_wnd, wxWindow:wxWindow()} + | {flags, integer()}. new(Options) when is_list(Options) -> MOpts = fun({managed_wnd, #wx_ref{type=Managed_wndT,ref=Managed_wndRef}}, Acc) -> ?CLASS(Managed_wndT,wxWindow),[<<1:32/?UI,Managed_wndRef:32/?UI>>|Acc]; @@ -58,22 +62,21 @@ new(Options) wxe_util:construct(?wxAuiManager_new, <>). -%% @spec (This::wxAuiManager(), Window::wxWindow:wxWindow()) -> bool() %% @equiv addPane(This,Window, []) +-spec addPane(This, Window) -> boolean() when + This::wxAuiManager(), Window::wxWindow:wxWindow(). + addPane(This,Window) when is_record(This, wx_ref),is_record(Window, wx_ref) -> addPane(This,Window, []). -%% @spec (This::wxAuiManager(),Window::wxWindow:wxWindow(),X::term()) -> bool() %% @doc See external documentation. -%%
Alternatives: -%%

-%% addPane(This::wxAuiManager(), Window::wxWindow:wxWindow(), [Option]) -> bool() -%%
Option = {direction, integer()} | {caption, string()} -%%

-%%

-%% addPane(This::wxAuiManager(), Window::wxWindow:wxWindow(), Pane_info::wxAuiPaneInfo:wxAuiPaneInfo()) -> bool() -%%

+-spec addPane(This, Window, [Option]) -> boolean() when + This::wxAuiManager(), Window::wxWindow:wxWindow(), + Option :: {direction, integer()} + | {caption, string()}; + (This, Window, Pane_info) -> boolean() when + This::wxAuiManager(), Window::wxWindow:wxWindow(), Pane_info::wxAuiPaneInfo:wxAuiPaneInfo(). addPane(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxAuiManager), @@ -91,8 +94,9 @@ addPane(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef},#wx_ wxe_util:call(?wxAuiManager_AddPane_2_1, <>). -%% @spec (This::wxAuiManager(), Window::wxWindow:wxWindow(), Pane_info::wxAuiPaneInfo:wxAuiPaneInfo(), Drop_pos::{X::integer(), Y::integer()}) -> bool() %% @doc See external documentation. +-spec addPane(This, Window, Pane_info, Drop_pos) -> boolean() when + This::wxAuiManager(), Window::wxWindow:wxWindow(), Pane_info::wxAuiPaneInfo:wxAuiPaneInfo(), Drop_pos::{X::integer(), Y::integer()}. addPane(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef},#wx_ref{type=Pane_infoT,ref=Pane_infoRef},{Drop_posX,Drop_posY}) when is_integer(Drop_posX),is_integer(Drop_posY) -> ?CLASS(ThisT,wxAuiManager), @@ -101,65 +105,68 @@ addPane(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef},#wx_ wxe_util:call(?wxAuiManager_AddPane_3, <>). -%% @spec (This::wxAuiManager(), Window::wxWindow:wxWindow()) -> bool() %% @doc See external documentation. +-spec detachPane(This, Window) -> boolean() when + This::wxAuiManager(), Window::wxWindow:wxWindow(). detachPane(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef}) -> ?CLASS(ThisT,wxAuiManager), ?CLASS(WindowT,wxWindow), wxe_util:call(?wxAuiManager_DetachPane, <>). -%% @spec (This::wxAuiManager()) -> wxAuiPaneInfoArray:wxAuiPaneInfoArray() %% @doc See external documentation. +-spec getAllPanes(This) -> wxAuiPaneInfoArray:wxAuiPaneInfoArray() when + This::wxAuiManager(). getAllPanes(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiManager), wxe_util:call(?wxAuiManager_GetAllPanes, <>). -%% @spec (This::wxAuiManager()) -> wxAuiDockArt:wxAuiDockArt() %% @doc See external documentation. +-spec getArtProvider(This) -> wxAuiDockArt:wxAuiDockArt() when + This::wxAuiManager(). getArtProvider(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiManager), wxe_util:call(?wxAuiManager_GetArtProvider, <>). -%% @spec (This::wxAuiManager()) -> {Width_pct::float(), Height_pct::float()} %% @doc See external documentation. +-spec getDockSizeConstraint(This) -> {Width_pct::float(), Height_pct::float()} when + This::wxAuiManager(). getDockSizeConstraint(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiManager), wxe_util:call(?wxAuiManager_GetDockSizeConstraint, <>). -%% @spec (This::wxAuiManager()) -> integer() %% @doc See external documentation. +-spec getFlags(This) -> integer() when + This::wxAuiManager(). getFlags(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiManager), wxe_util:call(?wxAuiManager_GetFlags, <>). -%% @spec (This::wxAuiManager()) -> wxWindow:wxWindow() %% @doc See external documentation. +-spec getManagedWindow(This) -> wxWindow:wxWindow() when + This::wxAuiManager(). getManagedWindow(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiManager), wxe_util:call(?wxAuiManager_GetManagedWindow, <>). -%% @spec (Window::wxWindow:wxWindow()) -> wxAuiManager() %% @doc See external documentation. +-spec getManager(Window) -> wxAuiManager() when + Window::wxWindow:wxWindow(). getManager(#wx_ref{type=WindowT,ref=WindowRef}) -> ?CLASS(WindowT,wxWindow), wxe_util:call(?wxAuiManager_GetManager, <>). -%% @spec (This::wxAuiManager(),X::string()|term()) -> wxAuiPaneInfo:wxAuiPaneInfo() %% @doc See external documentation. -%%
Alternatives: -%%

-%% getPane(This::wxAuiManager(), Name::string()) -> wxAuiPaneInfo:wxAuiPaneInfo() -%%

-%%

-%% getPane(This::wxAuiManager(), Window::wxWindow:wxWindow()) -> wxAuiPaneInfo:wxAuiPaneInfo() -%%

+-spec getPane(This, Name) -> wxAuiPaneInfo:wxAuiPaneInfo() when + This::wxAuiManager(), Name::string(); + (This, Window) -> wxAuiPaneInfo:wxAuiPaneInfo() when + This::wxAuiManager(), Window::wxWindow:wxWindow(). getPane(#wx_ref{type=ThisT,ref=ThisRef},Name) when is_list(Name) -> ?CLASS(ThisT,wxAuiManager), @@ -172,22 +179,26 @@ getPane(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef}) -> wxe_util:call(?wxAuiManager_GetPane_1_1, <>). -%% @spec (This::wxAuiManager()) -> ok %% @doc See external documentation. +-spec hideHint(This) -> ok when + This::wxAuiManager(). hideHint(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiManager), wxe_util:cast(?wxAuiManager_HideHint, <>). -%% @spec (This::wxAuiManager(), Window::wxWindow:wxWindow(), Insert_location::wxAuiPaneInfo:wxAuiPaneInfo()) -> bool() %% @equiv insertPane(This,Window,Insert_location, []) +-spec insertPane(This, Window, Insert_location) -> boolean() when + This::wxAuiManager(), Window::wxWindow:wxWindow(), Insert_location::wxAuiPaneInfo:wxAuiPaneInfo(). + insertPane(This,Window,Insert_location) when is_record(This, wx_ref),is_record(Window, wx_ref),is_record(Insert_location, wx_ref) -> insertPane(This,Window,Insert_location, []). -%% @spec (This::wxAuiManager(), Window::wxWindow:wxWindow(), Insert_location::wxAuiPaneInfo:wxAuiPaneInfo(), [Option]) -> bool() -%% Option = {insert_level, integer()} %% @doc See external documentation. +-spec insertPane(This, Window, Insert_location, [Option]) -> boolean() when + This::wxAuiManager(), Window::wxWindow:wxWindow(), Insert_location::wxAuiPaneInfo:wxAuiPaneInfo(), + Option :: {insert_level, integer()}. insertPane(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef},#wx_ref{type=Insert_locationT,ref=Insert_locationRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxAuiManager), @@ -199,8 +210,9 @@ insertPane(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef},# wxe_util:call(?wxAuiManager_InsertPane, <>). -%% @spec (This::wxAuiManager(), Pane_part::string(), Pane::wxAuiPaneInfo:wxAuiPaneInfo()) -> ok %% @doc See external documentation. +-spec loadPaneInfo(This, Pane_part, Pane) -> ok when + This::wxAuiManager(), Pane_part::string(), Pane::wxAuiPaneInfo:wxAuiPaneInfo(). loadPaneInfo(#wx_ref{type=ThisT,ref=ThisRef},Pane_part,#wx_ref{type=PaneT,ref=PaneRef}) when is_list(Pane_part) -> ?CLASS(ThisT,wxAuiManager), @@ -209,15 +221,18 @@ loadPaneInfo(#wx_ref{type=ThisT,ref=ThisRef},Pane_part,#wx_ref{type=PaneT,ref=Pa wxe_util:cast(?wxAuiManager_LoadPaneInfo, <>). -%% @spec (This::wxAuiManager(), Perspective::string()) -> bool() %% @equiv loadPerspective(This,Perspective, []) +-spec loadPerspective(This, Perspective) -> boolean() when + This::wxAuiManager(), Perspective::string(). + loadPerspective(This,Perspective) when is_record(This, wx_ref),is_list(Perspective) -> loadPerspective(This,Perspective, []). -%% @spec (This::wxAuiManager(), Perspective::string(), [Option]) -> bool() -%% Option = {update, bool()} %% @doc See external documentation. +-spec loadPerspective(This, Perspective, [Option]) -> boolean() when + This::wxAuiManager(), Perspective::string(), + Option :: {update, boolean()}. loadPerspective(#wx_ref{type=ThisT,ref=ThisRef},Perspective, Options) when is_list(Perspective),is_list(Options) -> ?CLASS(ThisT,wxAuiManager), @@ -228,77 +243,86 @@ loadPerspective(#wx_ref{type=ThisT,ref=ThisRef},Perspective, Options) wxe_util:call(?wxAuiManager_LoadPerspective, <>). -%% @spec (This::wxAuiManager(), Pane::wxAuiPaneInfo:wxAuiPaneInfo()) -> string() %% @doc See external documentation. +-spec savePaneInfo(This, Pane) -> string() when + This::wxAuiManager(), Pane::wxAuiPaneInfo:wxAuiPaneInfo(). savePaneInfo(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PaneT,ref=PaneRef}) -> ?CLASS(ThisT,wxAuiManager), ?CLASS(PaneT,wxAuiPaneInfo), wxe_util:call(?wxAuiManager_SavePaneInfo, <>). -%% @spec (This::wxAuiManager()) -> string() %% @doc See external documentation. +-spec savePerspective(This) -> string() when + This::wxAuiManager(). savePerspective(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiManager), wxe_util:call(?wxAuiManager_SavePerspective, <>). -%% @spec (This::wxAuiManager(), Art_provider::wxAuiDockArt:wxAuiDockArt()) -> ok %% @doc See external documentation. +-spec setArtProvider(This, Art_provider) -> ok when + This::wxAuiManager(), Art_provider::wxAuiDockArt:wxAuiDockArt(). setArtProvider(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=Art_providerT,ref=Art_providerRef}) -> ?CLASS(ThisT,wxAuiManager), ?CLASS(Art_providerT,wxAuiDockArt), wxe_util:cast(?wxAuiManager_SetArtProvider, <>). -%% @spec (This::wxAuiManager(), Width_pct::float(), Height_pct::float()) -> ok %% @doc See external documentation. +-spec setDockSizeConstraint(This, Width_pct, Height_pct) -> ok when + This::wxAuiManager(), Width_pct::float(), Height_pct::float(). setDockSizeConstraint(#wx_ref{type=ThisT,ref=ThisRef},Width_pct,Height_pct) when is_float(Width_pct),is_float(Height_pct) -> ?CLASS(ThisT,wxAuiManager), wxe_util:cast(?wxAuiManager_SetDockSizeConstraint, <>). -%% @spec (This::wxAuiManager(), Flags::integer()) -> ok %% @doc See external documentation. +-spec setFlags(This, Flags) -> ok when + This::wxAuiManager(), Flags::integer(). setFlags(#wx_ref{type=ThisT,ref=ThisRef},Flags) when is_integer(Flags) -> ?CLASS(ThisT,wxAuiManager), wxe_util:cast(?wxAuiManager_SetFlags, <>). -%% @spec (This::wxAuiManager(), Managed_wnd::wxWindow:wxWindow()) -> ok %% @doc See external documentation. +-spec setManagedWindow(This, Managed_wnd) -> ok when + This::wxAuiManager(), Managed_wnd::wxWindow:wxWindow(). setManagedWindow(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=Managed_wndT,ref=Managed_wndRef}) -> ?CLASS(ThisT,wxAuiManager), ?CLASS(Managed_wndT,wxWindow), wxe_util:cast(?wxAuiManager_SetManagedWindow, <>). -%% @spec (This::wxAuiManager(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}) -> ok %% @doc See external documentation. +-spec showHint(This, Rect) -> ok when + This::wxAuiManager(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}. showHint(#wx_ref{type=ThisT,ref=ThisRef},{RectX,RectY,RectW,RectH}) when is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH) -> ?CLASS(ThisT,wxAuiManager), wxe_util:cast(?wxAuiManager_ShowHint, <>). -%% @spec (This::wxAuiManager()) -> ok %% @doc See external documentation. +-spec unInit(This) -> ok when + This::wxAuiManager(). unInit(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiManager), wxe_util:cast(?wxAuiManager_UnInit, <>). -%% @spec (This::wxAuiManager()) -> ok %% @doc See external documentation. +-spec update(This) -> ok when + This::wxAuiManager(). update(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiManager), wxe_util:cast(?wxAuiManager_Update, <>). -%% @spec (This::wxAuiManager()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxAuiManager) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxAuiManager), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxAuiManagerEvent.erl b/lib/wx/src/gen/wxAuiManagerEvent.erl index b5e45f1860..feb3931696 100644 --- a/lib/wx/src/gen/wxAuiManagerEvent.erl +++ b/lib/wx/src/gen/wxAuiManagerEvent.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2009-2010. All Rights Reserved. +%% Copyright Ericsson AB 2009-2012. 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 @@ -38,79 +38,92 @@ -export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1, resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]). +-export_type([wxAuiManagerEvent/0]). %% @hidden parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxAuiManagerEvent(), Mgr::wxAuiManager:wxAuiManager()) -> ok +-type wxAuiManagerEvent() :: wx:wx_object(). %% @doc See external documentation. +-spec setManager(This, Mgr) -> ok when + This::wxAuiManagerEvent(), Mgr::wxAuiManager:wxAuiManager(). setManager(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=MgrT,ref=MgrRef}) -> ?CLASS(ThisT,wxAuiManagerEvent), ?CLASS(MgrT,wxAuiManager), wxe_util:cast(?wxAuiManagerEvent_SetManager, <>). -%% @spec (This::wxAuiManagerEvent()) -> wxAuiManager:wxAuiManager() %% @doc See external documentation. +-spec getManager(This) -> wxAuiManager:wxAuiManager() when + This::wxAuiManagerEvent(). getManager(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiManagerEvent), wxe_util:call(?wxAuiManagerEvent_GetManager, <>). -%% @spec (This::wxAuiManagerEvent(), P::wxAuiPaneInfo:wxAuiPaneInfo()) -> ok %% @doc See external documentation. +-spec setPane(This, P) -> ok when + This::wxAuiManagerEvent(), P::wxAuiPaneInfo:wxAuiPaneInfo(). setPane(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PT,ref=PRef}) -> ?CLASS(ThisT,wxAuiManagerEvent), ?CLASS(PT,wxAuiPaneInfo), wxe_util:cast(?wxAuiManagerEvent_SetPane, <>). -%% @spec (This::wxAuiManagerEvent()) -> wxAuiPaneInfo:wxAuiPaneInfo() %% @doc See external documentation. +-spec getPane(This) -> wxAuiPaneInfo:wxAuiPaneInfo() when + This::wxAuiManagerEvent(). getPane(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiManagerEvent), wxe_util:call(?wxAuiManagerEvent_GetPane, <>). -%% @spec (This::wxAuiManagerEvent(), B::integer()) -> ok %% @doc See external documentation. +-spec setButton(This, B) -> ok when + This::wxAuiManagerEvent(), B::integer(). setButton(#wx_ref{type=ThisT,ref=ThisRef},B) when is_integer(B) -> ?CLASS(ThisT,wxAuiManagerEvent), wxe_util:cast(?wxAuiManagerEvent_SetButton, <>). -%% @spec (This::wxAuiManagerEvent()) -> integer() %% @doc See external documentation. +-spec getButton(This) -> integer() when + This::wxAuiManagerEvent(). getButton(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiManagerEvent), wxe_util:call(?wxAuiManagerEvent_GetButton, <>). -%% @spec (This::wxAuiManagerEvent(), Pdc::wxDC:wxDC()) -> ok %% @doc See external documentation. +-spec setDC(This, Pdc) -> ok when + This::wxAuiManagerEvent(), Pdc::wxDC:wxDC(). setDC(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PdcT,ref=PdcRef}) -> ?CLASS(ThisT,wxAuiManagerEvent), ?CLASS(PdcT,wxDC), wxe_util:cast(?wxAuiManagerEvent_SetDC, <>). -%% @spec (This::wxAuiManagerEvent()) -> wxDC:wxDC() %% @doc See external documentation. +-spec getDC(This) -> wxDC:wxDC() when + This::wxAuiManagerEvent(). getDC(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiManagerEvent), wxe_util:call(?wxAuiManagerEvent_GetDC, <>). -%% @spec (This::wxAuiManagerEvent()) -> ok %% @equiv veto(This, []) +-spec veto(This) -> ok when + This::wxAuiManagerEvent(). + veto(This) when is_record(This, wx_ref) -> veto(This, []). -%% @spec (This::wxAuiManagerEvent(), [Option]) -> ok -%% Option = {veto, bool()} %% @doc See external documentation. +-spec veto(This, [Option]) -> ok when + This::wxAuiManagerEvent(), + Option :: {veto, boolean()}. veto(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxAuiManagerEvent), @@ -120,23 +133,26 @@ veto(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:cast(?wxAuiManagerEvent_Veto, <>). -%% @spec (This::wxAuiManagerEvent()) -> bool() %% @doc See external documentation. +-spec getVeto(This) -> boolean() when + This::wxAuiManagerEvent(). getVeto(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiManagerEvent), wxe_util:call(?wxAuiManagerEvent_GetVeto, <>). -%% @spec (This::wxAuiManagerEvent(), Can_veto::bool()) -> ok %% @doc See external documentation. +-spec setCanVeto(This, Can_veto) -> ok when + This::wxAuiManagerEvent(), Can_veto::boolean(). setCanVeto(#wx_ref{type=ThisT,ref=ThisRef},Can_veto) when is_boolean(Can_veto) -> ?CLASS(ThisT,wxAuiManagerEvent), wxe_util:cast(?wxAuiManagerEvent_SetCanVeto, <>). -%% @spec (This::wxAuiManagerEvent()) -> bool() %% @doc See external documentation. +-spec canVeto(This) -> boolean() when + This::wxAuiManagerEvent(). canVeto(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiManagerEvent), wxe_util:call(?wxAuiManagerEvent_CanVeto, diff --git a/lib/wx/src/gen/wxAuiNotebook.erl b/lib/wx/src/gen/wxAuiNotebook.erl index 5862bb26c7..6741feccb9 100644 --- a/lib/wx/src/gen/wxAuiNotebook.erl +++ b/lib/wx/src/gen/wxAuiNotebook.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -73,27 +73,35 @@ transferDataToWindow/1,update/1,updateWindowUI/1,updateWindowUI/2, validate/1,warpPointer/3]). +-export_type([wxAuiNotebook/0]). %% @hidden parent_class(wxControl) -> true; parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxAuiNotebook() +-type wxAuiNotebook() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxAuiNotebook(). new() -> wxe_util:construct(?wxAuiNotebook_new_0, <<>>). -%% @spec (Parent::wxWindow:wxWindow()) -> wxAuiNotebook() %% @equiv new(Parent, []) +-spec new(Parent) -> wxAuiNotebook() when + Parent::wxWindow:wxWindow(). + new(Parent) when is_record(Parent, wx_ref) -> new(Parent, []). -%% @spec (Parent::wxWindow:wxWindow(), [Option]) -> wxAuiNotebook() -%% Option = {id, integer()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} %% @doc See external documentation. +-spec new(Parent, [Option]) -> wxAuiNotebook() when + Parent::wxWindow:wxWindow(), + Option :: {id, integer()} + | {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()}. new(#wx_ref{type=ParentT,ref=ParentRef}, Options) when is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -106,15 +114,19 @@ new(#wx_ref{type=ParentT,ref=ParentRef}, Options) wxe_util:construct(?wxAuiNotebook_new_2, <>). -%% @spec (This::wxAuiNotebook(), Page::wxWindow:wxWindow(), Caption::string()) -> bool() %% @equiv addPage(This,Page,Caption, []) +-spec addPage(This, Page, Caption) -> boolean() when + This::wxAuiNotebook(), Page::wxWindow:wxWindow(), Caption::string(). + addPage(This,Page,Caption) when is_record(This, wx_ref),is_record(Page, wx_ref),is_list(Caption) -> addPage(This,Page,Caption, []). -%% @spec (This::wxAuiNotebook(), Page::wxWindow:wxWindow(), Caption::string(), [Option]) -> bool() -%% Option = {select, bool()} | {bitmap, wxBitmap:wxBitmap()} %% @doc See external documentation. +-spec addPage(This, Page, Caption, [Option]) -> boolean() when + This::wxAuiNotebook(), Page::wxWindow:wxWindow(), Caption::string(), + Option :: {select, boolean()} + | {bitmap, wxBitmap:wxBitmap()}. addPage(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PageT,ref=PageRef},Caption, Options) when is_list(Caption),is_list(Options) -> ?CLASS(ThisT,wxAuiNotebook), @@ -127,15 +139,21 @@ addPage(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PageT,ref=PageRef},Caption, wxe_util:call(?wxAuiNotebook_AddPage, <>). -%% @spec (This::wxAuiNotebook(), Parent::wxWindow:wxWindow()) -> bool() %% @equiv create(This,Parent, []) +-spec create(This, Parent) -> boolean() when + This::wxAuiNotebook(), Parent::wxWindow:wxWindow(). + create(This,Parent) when is_record(This, wx_ref),is_record(Parent, wx_ref) -> create(This,Parent, []). -%% @spec (This::wxAuiNotebook(), Parent::wxWindow:wxWindow(), [Option]) -> bool() -%% Option = {id, integer()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} %% @doc See external documentation. +-spec create(This, Parent, [Option]) -> boolean() when + This::wxAuiNotebook(), Parent::wxWindow:wxWindow(), + Option :: {id, integer()} + | {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()}. create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxAuiNotebook), @@ -149,76 +167,88 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}, Opti wxe_util:call(?wxAuiNotebook_Create, <>). -%% @spec (This::wxAuiNotebook(), Page::integer()) -> bool() %% @doc See external documentation. +-spec deletePage(This, Page) -> boolean() when + This::wxAuiNotebook(), Page::integer(). deletePage(#wx_ref{type=ThisT,ref=ThisRef},Page) when is_integer(Page) -> ?CLASS(ThisT,wxAuiNotebook), wxe_util:call(?wxAuiNotebook_DeletePage, <>). -%% @spec (This::wxAuiNotebook()) -> wxAuiTabArt:wxAuiTabArt() %% @doc See external documentation. +-spec getArtProvider(This) -> wxAuiTabArt:wxAuiTabArt() when + This::wxAuiNotebook(). getArtProvider(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiNotebook), wxe_util:call(?wxAuiNotebook_GetArtProvider, <>). -%% @spec (This::wxAuiNotebook(), Page_idx::integer()) -> wxWindow:wxWindow() %% @doc See external documentation. +-spec getPage(This, Page_idx) -> wxWindow:wxWindow() when + This::wxAuiNotebook(), Page_idx::integer(). getPage(#wx_ref{type=ThisT,ref=ThisRef},Page_idx) when is_integer(Page_idx) -> ?CLASS(ThisT,wxAuiNotebook), wxe_util:call(?wxAuiNotebook_GetPage, <>). -%% @spec (This::wxAuiNotebook(), Page_idx::integer()) -> wxBitmap:wxBitmap() %% @doc See external documentation. +-spec getPageBitmap(This, Page_idx) -> wxBitmap:wxBitmap() when + This::wxAuiNotebook(), Page_idx::integer(). getPageBitmap(#wx_ref{type=ThisT,ref=ThisRef},Page_idx) when is_integer(Page_idx) -> ?CLASS(ThisT,wxAuiNotebook), wxe_util:call(?wxAuiNotebook_GetPageBitmap, <>). -%% @spec (This::wxAuiNotebook()) -> integer() %% @doc See external documentation. +-spec getPageCount(This) -> integer() when + This::wxAuiNotebook(). getPageCount(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiNotebook), wxe_util:call(?wxAuiNotebook_GetPageCount, <>). -%% @spec (This::wxAuiNotebook(), Page_wnd::wxWindow:wxWindow()) -> integer() %% @doc See external documentation. +-spec getPageIndex(This, Page_wnd) -> integer() when + This::wxAuiNotebook(), Page_wnd::wxWindow:wxWindow(). getPageIndex(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=Page_wndT,ref=Page_wndRef}) -> ?CLASS(ThisT,wxAuiNotebook), ?CLASS(Page_wndT,wxWindow), wxe_util:call(?wxAuiNotebook_GetPageIndex, <>). -%% @spec (This::wxAuiNotebook(), Page_idx::integer()) -> string() %% @doc See external documentation. +-spec getPageText(This, Page_idx) -> string() when + This::wxAuiNotebook(), Page_idx::integer(). getPageText(#wx_ref{type=ThisT,ref=ThisRef},Page_idx) when is_integer(Page_idx) -> ?CLASS(ThisT,wxAuiNotebook), wxe_util:call(?wxAuiNotebook_GetPageText, <>). -%% @spec (This::wxAuiNotebook()) -> integer() %% @doc See external documentation. +-spec getSelection(This) -> integer() when + This::wxAuiNotebook(). getSelection(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiNotebook), wxe_util:call(?wxAuiNotebook_GetSelection, <>). -%% @spec (This::wxAuiNotebook(), Page_idx::integer(), Page::wxWindow:wxWindow(), Caption::string()) -> bool() %% @equiv insertPage(This,Page_idx,Page,Caption, []) +-spec insertPage(This, Page_idx, Page, Caption) -> boolean() when + This::wxAuiNotebook(), Page_idx::integer(), Page::wxWindow:wxWindow(), Caption::string(). + insertPage(This,Page_idx,Page,Caption) when is_record(This, wx_ref),is_integer(Page_idx),is_record(Page, wx_ref),is_list(Caption) -> insertPage(This,Page_idx,Page,Caption, []). -%% @spec (This::wxAuiNotebook(), Page_idx::integer(), Page::wxWindow:wxWindow(), Caption::string(), [Option]) -> bool() -%% Option = {select, bool()} | {bitmap, wxBitmap:wxBitmap()} %% @doc See external documentation. +-spec insertPage(This, Page_idx, Page, Caption, [Option]) -> boolean() when + This::wxAuiNotebook(), Page_idx::integer(), Page::wxWindow:wxWindow(), Caption::string(), + Option :: {select, boolean()} + | {bitmap, wxBitmap:wxBitmap()}. insertPage(#wx_ref{type=ThisT,ref=ThisRef},Page_idx,#wx_ref{type=PageT,ref=PageRef},Caption, Options) when is_integer(Page_idx),is_list(Caption),is_list(Options) -> ?CLASS(ThisT,wxAuiNotebook), @@ -231,32 +261,36 @@ insertPage(#wx_ref{type=ThisT,ref=ThisRef},Page_idx,#wx_ref{type=PageT,ref=PageR wxe_util:call(?wxAuiNotebook_InsertPage, <>). -%% @spec (This::wxAuiNotebook(), Page::integer()) -> bool() %% @doc See external documentation. +-spec removePage(This, Page) -> boolean() when + This::wxAuiNotebook(), Page::integer(). removePage(#wx_ref{type=ThisT,ref=ThisRef},Page) when is_integer(Page) -> ?CLASS(ThisT,wxAuiNotebook), wxe_util:call(?wxAuiNotebook_RemovePage, <>). -%% @spec (This::wxAuiNotebook(), Art::wxAuiTabArt:wxAuiTabArt()) -> ok %% @doc See external documentation. +-spec setArtProvider(This, Art) -> ok when + This::wxAuiNotebook(), Art::wxAuiTabArt:wxAuiTabArt(). setArtProvider(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ArtT,ref=ArtRef}) -> ?CLASS(ThisT,wxAuiNotebook), ?CLASS(ArtT,wxAuiTabArt), wxe_util:cast(?wxAuiNotebook_SetArtProvider, <>). -%% @spec (This::wxAuiNotebook(), Font::wxFont:wxFont()) -> bool() %% @doc See external documentation. +-spec setFont(This, Font) -> boolean() when + This::wxAuiNotebook(), Font::wxFont:wxFont(). setFont(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FontT,ref=FontRef}) -> ?CLASS(ThisT,wxAuiNotebook), ?CLASS(FontT,wxFont), wxe_util:call(?wxAuiNotebook_SetFont, <>). -%% @spec (This::wxAuiNotebook(), Page::integer(), Bitmap::wxBitmap:wxBitmap()) -> bool() %% @doc See external documentation. +-spec setPageBitmap(This, Page, Bitmap) -> boolean() when + This::wxAuiNotebook(), Page::integer(), Bitmap::wxBitmap:wxBitmap(). setPageBitmap(#wx_ref{type=ThisT,ref=ThisRef},Page,#wx_ref{type=BitmapT,ref=BitmapRef}) when is_integer(Page) -> ?CLASS(ThisT,wxAuiNotebook), @@ -264,8 +298,9 @@ setPageBitmap(#wx_ref{type=ThisT,ref=ThisRef},Page,#wx_ref{type=BitmapT,ref=Bitm wxe_util:call(?wxAuiNotebook_SetPageBitmap, <>). -%% @spec (This::wxAuiNotebook(), Page::integer(), Text::string()) -> bool() %% @doc See external documentation. +-spec setPageText(This, Page, Text) -> boolean() when + This::wxAuiNotebook(), Page::integer(), Text::string(). setPageText(#wx_ref{type=ThisT,ref=ThisRef},Page,Text) when is_integer(Page),is_list(Text) -> ?CLASS(ThisT,wxAuiNotebook), @@ -273,32 +308,35 @@ setPageText(#wx_ref{type=ThisT,ref=ThisRef},Page,Text) wxe_util:call(?wxAuiNotebook_SetPageText, <>). -%% @spec (This::wxAuiNotebook(), New_page::integer()) -> integer() %% @doc See external documentation. +-spec setSelection(This, New_page) -> integer() when + This::wxAuiNotebook(), New_page::integer(). setSelection(#wx_ref{type=ThisT,ref=ThisRef},New_page) when is_integer(New_page) -> ?CLASS(ThisT,wxAuiNotebook), wxe_util:call(?wxAuiNotebook_SetSelection, <>). -%% @spec (This::wxAuiNotebook(), Height::integer()) -> ok %% @doc See external documentation. +-spec setTabCtrlHeight(This, Height) -> ok when + This::wxAuiNotebook(), Height::integer(). setTabCtrlHeight(#wx_ref{type=ThisT,ref=ThisRef},Height) when is_integer(Height) -> ?CLASS(ThisT,wxAuiNotebook), wxe_util:cast(?wxAuiNotebook_SetTabCtrlHeight, <>). -%% @spec (This::wxAuiNotebook(), Size::{W::integer(), H::integer()}) -> ok %% @doc See external documentation. +-spec setUniformBitmapSize(This, Size) -> ok when + This::wxAuiNotebook(), Size::{W::integer(), H::integer()}. setUniformBitmapSize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH}) when is_integer(SizeW),is_integer(SizeH) -> ?CLASS(ThisT,wxAuiNotebook), wxe_util:cast(?wxAuiNotebook_SetUniformBitmapSize, <>). -%% @spec (This::wxAuiNotebook()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxAuiNotebook) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxAuiNotebook), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxAuiNotebookEvent.erl b/lib/wx/src/gen/wxAuiNotebookEvent.erl index 09a2abf214..6a86464369 100644 --- a/lib/wx/src/gen/wxAuiNotebookEvent.erl +++ b/lib/wx/src/gen/wxAuiNotebookEvent.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2009-2010. All Rights Reserved. +%% Copyright Ericsson AB 2009-2012. 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 @@ -42,52 +42,60 @@ isSelection/1,parent_class/1,resumePropagation/2,setInt/2,setString/2, shouldPropagate/1,skip/1,skip/2,stopPropagation/1,veto/1]). +-export_type([wxAuiNotebookEvent/0]). %% @hidden parent_class(wxNotifyEvent) -> true; parent_class(wxCommandEvent) -> true; parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxAuiNotebookEvent(), S::integer()) -> ok +-type wxAuiNotebookEvent() :: wx:wx_object(). %% @doc See external documentation. +-spec setSelection(This, S) -> ok when + This::wxAuiNotebookEvent(), S::integer(). setSelection(#wx_ref{type=ThisT,ref=ThisRef},S) when is_integer(S) -> ?CLASS(ThisT,wxAuiNotebookEvent), wxe_util:cast(?wxAuiNotebookEvent_SetSelection, <>). -%% @spec (This::wxAuiNotebookEvent()) -> integer() %% @doc See external documentation. +-spec getSelection(This) -> integer() when + This::wxAuiNotebookEvent(). getSelection(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiNotebookEvent), wxe_util:call(?wxAuiNotebookEvent_GetSelection, <>). -%% @spec (This::wxAuiNotebookEvent(), S::integer()) -> ok %% @doc See external documentation. +-spec setOldSelection(This, S) -> ok when + This::wxAuiNotebookEvent(), S::integer(). setOldSelection(#wx_ref{type=ThisT,ref=ThisRef},S) when is_integer(S) -> ?CLASS(ThisT,wxAuiNotebookEvent), wxe_util:cast(?wxAuiNotebookEvent_SetOldSelection, <>). -%% @spec (This::wxAuiNotebookEvent()) -> integer() %% @doc See external documentation. +-spec getOldSelection(This) -> integer() when + This::wxAuiNotebookEvent(). getOldSelection(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiNotebookEvent), wxe_util:call(?wxAuiNotebookEvent_GetOldSelection, <>). -%% @spec (This::wxAuiNotebookEvent(), S::wxAuiNotebook:wxAuiNotebook()) -> ok %% @doc See external documentation. +-spec setDragSource(This, S) -> ok when + This::wxAuiNotebookEvent(), S::wxAuiNotebook:wxAuiNotebook(). setDragSource(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ST,ref=SRef}) -> ?CLASS(ThisT,wxAuiNotebookEvent), ?CLASS(ST,wxAuiNotebook), wxe_util:cast(?wxAuiNotebookEvent_SetDragSource, <>). -%% @spec (This::wxAuiNotebookEvent()) -> wxAuiNotebook:wxAuiNotebook() %% @doc See external documentation. +-spec getDragSource(This) -> wxAuiNotebook:wxAuiNotebook() when + This::wxAuiNotebookEvent(). getDragSource(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiNotebookEvent), wxe_util:call(?wxAuiNotebookEvent_GetDragSource, diff --git a/lib/wx/src/gen/wxAuiPaneInfo.erl b/lib/wx/src/gen/wxAuiPaneInfo.erl index b15f91c675..47e86947d4 100644 --- a/lib/wx/src/gen/wxAuiPaneInfo.erl +++ b/lib/wx/src/gen/wxAuiPaneInfo.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -44,54 +44,63 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxAuiPaneInfo/0]). %% @hidden parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxAuiPaneInfo() +-type wxAuiPaneInfo() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxAuiPaneInfo(). new() -> wxe_util:construct(?wxAuiPaneInfo_new_0, <<>>). -%% @spec (C::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec new(C) -> wxAuiPaneInfo() when + C::wxAuiPaneInfo(). new(#wx_ref{type=CT,ref=CRef}) -> ?CLASS(CT,wxAuiPaneInfo), wxe_util:construct(?wxAuiPaneInfo_new_1, <>). -%% @spec (This::wxAuiPaneInfo(), Size::{W::integer(), H::integer()}) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec bestSize(This, Size) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), Size::{W::integer(), H::integer()}. bestSize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH}) when is_integer(SizeW),is_integer(SizeH) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_BestSize_1, <>). -%% @spec (This::wxAuiPaneInfo(), X::integer(), Y::integer()) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec bestSize(This, X, Y) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), X::integer(), Y::integer(). bestSize(#wx_ref{type=ThisT,ref=ThisRef},X,Y) when is_integer(X),is_integer(Y) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_BestSize_2, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec bottom(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). bottom(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_Bottom, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @equiv bottomDockable(This, []) +-spec bottomDockable(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). + bottomDockable(This) when is_record(This, wx_ref) -> bottomDockable(This, []). -%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo() -%% Option = {b, bool()} %% @doc See external documentation. +-spec bottomDockable(This, [Option]) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), + Option :: {b, boolean()}. bottomDockable(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxAuiPaneInfo), @@ -101,8 +110,9 @@ bottomDockable(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxAuiPaneInfo_BottomDockable, <>). -%% @spec (This::wxAuiPaneInfo(), C::string()) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec caption(This, C) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), C::string(). caption(#wx_ref{type=ThisT,ref=ThisRef},C) when is_list(C) -> ?CLASS(ThisT,wxAuiPaneInfo), @@ -110,15 +120,18 @@ caption(#wx_ref{type=ThisT,ref=ThisRef},C) wxe_util:call(?wxAuiPaneInfo_Caption, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @equiv captionVisible(This, []) +-spec captionVisible(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). + captionVisible(This) when is_record(This, wx_ref) -> captionVisible(This, []). -%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo() -%% Option = {visible, bool()} %% @doc See external documentation. +-spec captionVisible(This, [Option]) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), + Option :: {visible, boolean()}. captionVisible(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxAuiPaneInfo), @@ -128,29 +141,34 @@ captionVisible(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxAuiPaneInfo_CaptionVisible, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec centre(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). centre(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_Centre, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec centrePane(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). centrePane(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_CentrePane, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @equiv closeButton(This, []) +-spec closeButton(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). + closeButton(This) when is_record(This, wx_ref) -> closeButton(This, []). -%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo() -%% Option = {visible, bool()} %% @doc See external documentation. +-spec closeButton(This, [Option]) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), + Option :: {visible, boolean()}. closeButton(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxAuiPaneInfo), @@ -160,22 +178,26 @@ closeButton(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxAuiPaneInfo_CloseButton, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec defaultPane(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). defaultPane(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_DefaultPane, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @equiv destroyOnClose(This, []) +-spec destroyOnClose(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). + destroyOnClose(This) when is_record(This, wx_ref) -> destroyOnClose(This, []). -%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo() -%% Option = {b, bool()} %% @doc See external documentation. +-spec destroyOnClose(This, [Option]) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), + Option :: {b, boolean()}. destroyOnClose(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxAuiPaneInfo), @@ -185,30 +207,35 @@ destroyOnClose(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxAuiPaneInfo_DestroyOnClose, <>). -%% @spec (This::wxAuiPaneInfo(), Direction::integer()) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec direction(This, Direction) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), Direction::integer(). direction(#wx_ref{type=ThisT,ref=ThisRef},Direction) when is_integer(Direction) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_Direction, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec dock(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). dock(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_Dock, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @equiv dockable(This, []) +-spec dockable(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). + dockable(This) when is_record(This, wx_ref) -> dockable(This, []). -%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo() -%% Option = {b, bool()} %% @doc See external documentation. +-spec dockable(This, [Option]) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), + Option :: {b, boolean()}. dockable(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxAuiPaneInfo), @@ -218,29 +245,34 @@ dockable(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxAuiPaneInfo_Dockable, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec fixed(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). fixed(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_Fixed, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec float(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). float(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_Float, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @equiv floatable(This, []) +-spec floatable(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). + floatable(This) when is_record(This, wx_ref) -> floatable(This, []). -%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo() -%% Option = {b, bool()} %% @doc See external documentation. +-spec floatable(This, [Option]) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), + Option :: {b, boolean()}. floatable(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxAuiPaneInfo), @@ -250,47 +282,54 @@ floatable(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxAuiPaneInfo_Floatable, <>). -%% @spec (This::wxAuiPaneInfo(), Pos::{X::integer(), Y::integer()}) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec floatingPosition(This, Pos) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), Pos::{X::integer(), Y::integer()}. floatingPosition(#wx_ref{type=ThisT,ref=ThisRef},{PosX,PosY}) when is_integer(PosX),is_integer(PosY) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_FloatingPosition_1, <>). -%% @spec (This::wxAuiPaneInfo(), X::integer(), Y::integer()) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec floatingPosition(This, X, Y) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), X::integer(), Y::integer(). floatingPosition(#wx_ref{type=ThisT,ref=ThisRef},X,Y) when is_integer(X),is_integer(Y) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_FloatingPosition_2, <>). -%% @spec (This::wxAuiPaneInfo(), Size::{W::integer(), H::integer()}) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec floatingSize(This, Size) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), Size::{W::integer(), H::integer()}. floatingSize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH}) when is_integer(SizeW),is_integer(SizeH) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_FloatingSize_1, <>). -%% @spec (This::wxAuiPaneInfo(), X::integer(), Y::integer()) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec floatingSize(This, X, Y) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), X::integer(), Y::integer(). floatingSize(#wx_ref{type=ThisT,ref=ThisRef},X,Y) when is_integer(X),is_integer(Y) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_FloatingSize_2, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @equiv gripper(This, []) +-spec gripper(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). + gripper(This) when is_record(This, wx_ref) -> gripper(This, []). -%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo() -%% Option = {visible, bool()} %% @doc See external documentation. +-spec gripper(This, [Option]) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), + Option :: {visible, boolean()}. gripper(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxAuiPaneInfo), @@ -300,15 +339,18 @@ gripper(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxAuiPaneInfo_Gripper, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @equiv gripperTop(This, []) +-spec gripperTop(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). + gripperTop(This) when is_record(This, wx_ref) -> gripperTop(This, []). -%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo() -%% Option = {attop, bool()} %% @doc See external documentation. +-spec gripperTop(This, [Option]) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), + Option :: {attop, boolean()}. gripperTop(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxAuiPaneInfo), @@ -318,192 +360,220 @@ gripperTop(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxAuiPaneInfo_GripperTop, <>). -%% @spec (This::wxAuiPaneInfo()) -> bool() %% @doc See external documentation. +-spec hasBorder(This) -> boolean() when + This::wxAuiPaneInfo(). hasBorder(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_HasBorder, <>). -%% @spec (This::wxAuiPaneInfo()) -> bool() %% @doc See external documentation. +-spec hasCaption(This) -> boolean() when + This::wxAuiPaneInfo(). hasCaption(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_HasCaption, <>). -%% @spec (This::wxAuiPaneInfo()) -> bool() %% @doc See external documentation. +-spec hasCloseButton(This) -> boolean() when + This::wxAuiPaneInfo(). hasCloseButton(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_HasCloseButton, <>). -%% @spec (This::wxAuiPaneInfo(), Flag::integer()) -> bool() %% @doc See external documentation. +-spec hasFlag(This, Flag) -> boolean() when + This::wxAuiPaneInfo(), Flag::integer(). hasFlag(#wx_ref{type=ThisT,ref=ThisRef},Flag) when is_integer(Flag) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_HasFlag, <>). -%% @spec (This::wxAuiPaneInfo()) -> bool() %% @doc See external documentation. +-spec hasGripper(This) -> boolean() when + This::wxAuiPaneInfo(). hasGripper(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_HasGripper, <>). -%% @spec (This::wxAuiPaneInfo()) -> bool() %% @doc See external documentation. +-spec hasGripperTop(This) -> boolean() when + This::wxAuiPaneInfo(). hasGripperTop(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_HasGripperTop, <>). -%% @spec (This::wxAuiPaneInfo()) -> bool() %% @doc See external documentation. +-spec hasMaximizeButton(This) -> boolean() when + This::wxAuiPaneInfo(). hasMaximizeButton(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_HasMaximizeButton, <>). -%% @spec (This::wxAuiPaneInfo()) -> bool() %% @doc See external documentation. +-spec hasMinimizeButton(This) -> boolean() when + This::wxAuiPaneInfo(). hasMinimizeButton(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_HasMinimizeButton, <>). -%% @spec (This::wxAuiPaneInfo()) -> bool() %% @doc See external documentation. +-spec hasPinButton(This) -> boolean() when + This::wxAuiPaneInfo(). hasPinButton(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_HasPinButton, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec hide(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). hide(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_Hide, <>). -%% @spec (This::wxAuiPaneInfo()) -> bool() %% @doc See external documentation. +-spec isBottomDockable(This) -> boolean() when + This::wxAuiPaneInfo(). isBottomDockable(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_IsBottomDockable, <>). -%% @spec (This::wxAuiPaneInfo()) -> bool() %% @doc See external documentation. +-spec isDocked(This) -> boolean() when + This::wxAuiPaneInfo(). isDocked(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_IsDocked, <>). -%% @spec (This::wxAuiPaneInfo()) -> bool() %% @doc See external documentation. +-spec isFixed(This) -> boolean() when + This::wxAuiPaneInfo(). isFixed(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_IsFixed, <>). -%% @spec (This::wxAuiPaneInfo()) -> bool() %% @doc See external documentation. +-spec isFloatable(This) -> boolean() when + This::wxAuiPaneInfo(). isFloatable(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_IsFloatable, <>). -%% @spec (This::wxAuiPaneInfo()) -> bool() %% @doc See external documentation. +-spec isFloating(This) -> boolean() when + This::wxAuiPaneInfo(). isFloating(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_IsFloating, <>). -%% @spec (This::wxAuiPaneInfo()) -> bool() %% @doc See external documentation. +-spec isLeftDockable(This) -> boolean() when + This::wxAuiPaneInfo(). isLeftDockable(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_IsLeftDockable, <>). -%% @spec (This::wxAuiPaneInfo()) -> bool() %% @doc See external documentation. +-spec isMovable(This) -> boolean() when + This::wxAuiPaneInfo(). isMovable(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_IsMovable, <>). -%% @spec (This::wxAuiPaneInfo()) -> bool() %% @doc See external documentation. +-spec isOk(This) -> boolean() when + This::wxAuiPaneInfo(). isOk(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_IsOk, <>). -%% @spec (This::wxAuiPaneInfo()) -> bool() %% @doc See external documentation. +-spec isResizable(This) -> boolean() when + This::wxAuiPaneInfo(). isResizable(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_IsResizable, <>). -%% @spec (This::wxAuiPaneInfo()) -> bool() %% @doc See external documentation. +-spec isRightDockable(This) -> boolean() when + This::wxAuiPaneInfo(). isRightDockable(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_IsRightDockable, <>). -%% @spec (This::wxAuiPaneInfo()) -> bool() %% @doc See external documentation. +-spec isShown(This) -> boolean() when + This::wxAuiPaneInfo(). isShown(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_IsShown, <>). -%% @spec (This::wxAuiPaneInfo()) -> bool() %% @doc See external documentation. +-spec isToolbar(This) -> boolean() when + This::wxAuiPaneInfo(). isToolbar(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_IsToolbar, <>). -%% @spec (This::wxAuiPaneInfo()) -> bool() %% @doc See external documentation. +-spec isTopDockable(This) -> boolean() when + This::wxAuiPaneInfo(). isTopDockable(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_IsTopDockable, <>). -%% @spec (This::wxAuiPaneInfo(), Layer::integer()) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec layer(This, Layer) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), Layer::integer(). layer(#wx_ref{type=ThisT,ref=ThisRef},Layer) when is_integer(Layer) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_Layer, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec left(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). left(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_Left, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @equiv leftDockable(This, []) +-spec leftDockable(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). + leftDockable(This) when is_record(This, wx_ref) -> leftDockable(This, []). -%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo() -%% Option = {b, bool()} %% @doc See external documentation. +-spec leftDockable(This, [Option]) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), + Option :: {b, boolean()}. leftDockable(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxAuiPaneInfo), @@ -513,31 +583,36 @@ leftDockable(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxAuiPaneInfo_LeftDockable, <>). -%% @spec (This::wxAuiPaneInfo(), Size::{W::integer(), H::integer()}) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec maxSize(This, Size) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), Size::{W::integer(), H::integer()}. maxSize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH}) when is_integer(SizeW),is_integer(SizeH) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_MaxSize_1, <>). -%% @spec (This::wxAuiPaneInfo(), X::integer(), Y::integer()) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec maxSize(This, X, Y) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), X::integer(), Y::integer(). maxSize(#wx_ref{type=ThisT,ref=ThisRef},X,Y) when is_integer(X),is_integer(Y) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_MaxSize_2, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @equiv maximizeButton(This, []) +-spec maximizeButton(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). + maximizeButton(This) when is_record(This, wx_ref) -> maximizeButton(This, []). -%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo() -%% Option = {visible, bool()} %% @doc See external documentation. +-spec maximizeButton(This, [Option]) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), + Option :: {visible, boolean()}. maximizeButton(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxAuiPaneInfo), @@ -547,31 +622,36 @@ maximizeButton(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxAuiPaneInfo_MaximizeButton, <>). -%% @spec (This::wxAuiPaneInfo(), Size::{W::integer(), H::integer()}) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec minSize(This, Size) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), Size::{W::integer(), H::integer()}. minSize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH}) when is_integer(SizeW),is_integer(SizeH) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_MinSize_1, <>). -%% @spec (This::wxAuiPaneInfo(), X::integer(), Y::integer()) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec minSize(This, X, Y) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), X::integer(), Y::integer(). minSize(#wx_ref{type=ThisT,ref=ThisRef},X,Y) when is_integer(X),is_integer(Y) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_MinSize_2, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @equiv minimizeButton(This, []) +-spec minimizeButton(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). + minimizeButton(This) when is_record(This, wx_ref) -> minimizeButton(This, []). -%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo() -%% Option = {visible, bool()} %% @doc See external documentation. +-spec minimizeButton(This, [Option]) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), + Option :: {visible, boolean()}. minimizeButton(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxAuiPaneInfo), @@ -581,15 +661,18 @@ minimizeButton(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxAuiPaneInfo_MinimizeButton, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @equiv movable(This, []) +-spec movable(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). + movable(This) when is_record(This, wx_ref) -> movable(This, []). -%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo() -%% Option = {b, bool()} %% @doc See external documentation. +-spec movable(This, [Option]) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), + Option :: {b, boolean()}. movable(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxAuiPaneInfo), @@ -599,8 +682,9 @@ movable(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxAuiPaneInfo_Movable, <>). -%% @spec (This::wxAuiPaneInfo(), N::string()) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec name(This, N) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), N::string(). name(#wx_ref{type=ThisT,ref=ThisRef},N) when is_list(N) -> ?CLASS(ThisT,wxAuiPaneInfo), @@ -608,15 +692,18 @@ name(#wx_ref{type=ThisT,ref=ThisRef},N) wxe_util:call(?wxAuiPaneInfo_Name, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @equiv paneBorder(This, []) +-spec paneBorder(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). + paneBorder(This) when is_record(This, wx_ref) -> paneBorder(This, []). -%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo() -%% Option = {visible, bool()} %% @doc See external documentation. +-spec paneBorder(This, [Option]) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), + Option :: {visible, boolean()}. paneBorder(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxAuiPaneInfo), @@ -626,15 +713,18 @@ paneBorder(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxAuiPaneInfo_PaneBorder, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @equiv pinButton(This, []) +-spec pinButton(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). + pinButton(This) when is_record(This, wx_ref) -> pinButton(This, []). -%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo() -%% Option = {visible, bool()} %% @doc See external documentation. +-spec pinButton(This, [Option]) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), + Option :: {visible, boolean()}. pinButton(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxAuiPaneInfo), @@ -644,23 +734,27 @@ pinButton(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxAuiPaneInfo_PinButton, <>). -%% @spec (This::wxAuiPaneInfo(), Pos::integer()) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec position(This, Pos) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), Pos::integer(). position(#wx_ref{type=ThisT,ref=ThisRef},Pos) when is_integer(Pos) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_Position, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @equiv resizable(This, []) +-spec resizable(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). + resizable(This) when is_record(This, wx_ref) -> resizable(This, []). -%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo() -%% Option = {resizable, bool()} %% @doc See external documentation. +-spec resizable(This, [Option]) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), + Option :: {resizable, boolean()}. resizable(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxAuiPaneInfo), @@ -670,22 +764,26 @@ resizable(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxAuiPaneInfo_Resizable, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec right(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). right(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_Right, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @equiv rightDockable(This, []) +-spec rightDockable(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). + rightDockable(This) when is_record(This, wx_ref) -> rightDockable(This, []). -%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo() -%% Option = {b, bool()} %% @doc See external documentation. +-spec rightDockable(This, [Option]) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), + Option :: {b, boolean()}. rightDockable(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxAuiPaneInfo), @@ -695,39 +793,45 @@ rightDockable(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxAuiPaneInfo_RightDockable, <>). -%% @spec (This::wxAuiPaneInfo(), Row::integer()) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec row(This, Row) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), Row::integer(). row(#wx_ref{type=ThisT,ref=ThisRef},Row) when is_integer(Row) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_Row, <>). -%% @spec (This::wxAuiPaneInfo(), Source::wxAuiPaneInfo()) -> ok %% @doc See external documentation. +-spec safeSet(This, Source) -> ok when + This::wxAuiPaneInfo(), Source::wxAuiPaneInfo(). safeSet(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=SourceT,ref=SourceRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), ?CLASS(SourceT,wxAuiPaneInfo), wxe_util:cast(?wxAuiPaneInfo_SafeSet, <>). -%% @spec (This::wxAuiPaneInfo(), Flag::integer(), Option_state::bool()) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec setFlag(This, Flag, Option_state) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), Flag::integer(), Option_state::boolean(). setFlag(#wx_ref{type=ThisT,ref=ThisRef},Flag,Option_state) when is_integer(Flag),is_boolean(Option_state) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_SetFlag, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @equiv show(This, []) +-spec show(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). + show(This) when is_record(This, wx_ref) -> show(This, []). -%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo() -%% Option = {show, bool()} %% @doc See external documentation. +-spec show(This, [Option]) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), + Option :: {show, boolean()}. show(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxAuiPaneInfo), @@ -737,29 +841,34 @@ show(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxAuiPaneInfo_Show, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec toolbarPane(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). toolbarPane(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_ToolbarPane, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec top(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). top(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), wxe_util:call(?wxAuiPaneInfo_Top, <>). -%% @spec (This::wxAuiPaneInfo()) -> wxAuiPaneInfo() %% @equiv topDockable(This, []) +-spec topDockable(This) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(). + topDockable(This) when is_record(This, wx_ref) -> topDockable(This, []). -%% @spec (This::wxAuiPaneInfo(), [Option]) -> wxAuiPaneInfo() -%% Option = {b, bool()} %% @doc See external documentation. +-spec topDockable(This, [Option]) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), + Option :: {b, boolean()}. topDockable(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxAuiPaneInfo), @@ -769,16 +878,17 @@ topDockable(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxAuiPaneInfo_TopDockable, <>). -%% @spec (This::wxAuiPaneInfo(), W::wxWindow:wxWindow()) -> wxAuiPaneInfo() %% @doc See external documentation. +-spec window(This, W) -> wxAuiPaneInfo() when + This::wxAuiPaneInfo(), W::wxWindow:wxWindow(). window(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WT,ref=WRef}) -> ?CLASS(ThisT,wxAuiPaneInfo), ?CLASS(WT,wxWindow), wxe_util:call(?wxAuiPaneInfo_Window, <>). -%% @spec (This::wxAuiPaneInfo()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxAuiPaneInfo) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxAuiPaneInfo), wxe_util:destroy(?wxAuiPaneInfo_destruct,Obj), diff --git a/lib/wx/src/gen/wxAuiTabArt.erl b/lib/wx/src/gen/wxAuiTabArt.erl index 725bac9664..a65c6dc8cf 100644 --- a/lib/wx/src/gen/wxAuiTabArt.erl +++ b/lib/wx/src/gen/wxAuiTabArt.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,6 +29,8 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxAuiTabArt/0]). %% @hidden parent_class(_Class) -> erlang:error({badtype, ?MODULE}). +-type wxAuiTabArt() :: wx:wx_object(). diff --git a/lib/wx/src/gen/wxBitmap.erl b/lib/wx/src/gen/wxBitmap.erl index bd2f83c6eb..ac16700011 100644 --- a/lib/wx/src/gen/wxBitmap.erl +++ b/lib/wx/src/gen/wxBitmap.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,22 +32,22 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxBitmap/0]). %% @hidden parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxBitmap() +-type wxBitmap() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxBitmap(). new() -> wxe_util:construct(?wxBitmap_new_0, <<>>). -%% @spec (X::string()|term()) -> wxBitmap() %% @doc See external documentation. -%%
Alternatives: -%%

-%% new(Filename::string()) -> new(Filename, [])

-%%

-%% new(Image::wxImage:wxImage()) -> new(Image, [])

+-spec new(Filename) -> wxBitmap() when + Filename::string(); + (Image) -> wxBitmap() when + Image::wxImage:wxImage(). new(Filename) when is_list(Filename) -> @@ -57,21 +57,15 @@ new(Image) when is_record(Image, wx_ref) -> new(Image, []). -%% @spec (X::integer()|string()|term(),X::integer()|term()) -> wxBitmap() %% @doc See external documentation. -%%
Alternatives: -%%

-%% new(Width::integer(), Height::integer()) -> new(Width,Height, [])

-%%

-%% new(Filename::string(), [Option]) -> wxBitmap() -%%
Option = {type, WxBitmapType} -%%
WxBitmapType = integer() -%%
WxBitmapType is one of ?wxBITMAP_TYPE_INVALID | ?wxBITMAP_TYPE_BMP | ?wxBITMAP_TYPE_BMP_RESOURCE | ?wxBITMAP_TYPE_RESOURCE | ?wxBITMAP_TYPE_ICO | ?wxBITMAP_TYPE_ICO_RESOURCE | ?wxBITMAP_TYPE_CUR | ?wxBITMAP_TYPE_CUR_RESOURCE | ?wxBITMAP_TYPE_XBM | ?wxBITMAP_TYPE_XBM_DATA | ?wxBITMAP_TYPE_XPM | ?wxBITMAP_TYPE_XPM_DATA | ?wxBITMAP_TYPE_TIF | ?wxBITMAP_TYPE_TIF_RESOURCE | ?wxBITMAP_TYPE_GIF | ?wxBITMAP_TYPE_GIF_RESOURCE | ?wxBITMAP_TYPE_PNG | ?wxBITMAP_TYPE_PNG_RESOURCE | ?wxBITMAP_TYPE_JPEG | ?wxBITMAP_TYPE_JPEG_RESOURCE | ?wxBITMAP_TYPE_PNM | ?wxBITMAP_TYPE_PNM_RESOURCE | ?wxBITMAP_TYPE_PCX | ?wxBITMAP_TYPE_PCX_RESOURCE | ?wxBITMAP_TYPE_PICT | ?wxBITMAP_TYPE_PICT_RESOURCE | ?wxBITMAP_TYPE_ICON | ?wxBITMAP_TYPE_ICON_RESOURCE | ?wxBITMAP_TYPE_ANI | ?wxBITMAP_TYPE_IFF | ?wxBITMAP_TYPE_TGA | ?wxBITMAP_TYPE_MACCURSOR | ?wxBITMAP_TYPE_MACCURSOR_RESOURCE | ?wxBITMAP_TYPE_ANY -%%

-%%

-%% new(Image::wxImage:wxImage(), [Option]) -> wxBitmap() -%%
Option = {depth, integer()} -%%

+-spec new(Width, Height) -> wxBitmap() when + Width::integer(), Height::integer(); + (Filename, [Option]) -> wxBitmap() when + Filename::string(), + Option :: {type, wx:wx_enum()}; + (Image, [Option]) -> wxBitmap() when + Image::wxImage:wxImage(), + Option :: {depth, integer()}. new(Width,Height) when is_integer(Width),is_integer(Height) -> @@ -93,15 +87,12 @@ new(#wx_ref{type=ImageT,ref=ImageRef}, Options) wxe_util:construct(?wxBitmap_new_2_1, <>). -%% @spec (X::binary()|integer(),X::integer(),X::integer()|term()) -> wxBitmap() %% @doc See external documentation. -%%
Alternatives: -%%

-%% new(Bits::binary(), Width::integer(), Height::integer()) -> new(Bits,Width,Height, [])

-%%

-%% new(Width::integer(), Height::integer(), [Option]) -> wxBitmap() -%%
Option = {depth, integer()} -%%

+-spec new(Bits, Width, Height) -> wxBitmap() when + Bits::binary(), Width::integer(), Height::integer(); + (Width, Height, [Option]) -> wxBitmap() when + Width::integer(), Height::integer(), + Option :: {depth, integer()}. new(Bits,Width,Height) when is_binary(Bits),is_integer(Width),is_integer(Height) -> @@ -114,9 +105,10 @@ new(Width,Height, Options) wxe_util:construct(?wxBitmap_new_3, <>). -%% @spec (Bits::binary(), Width::integer(), Height::integer(), [Option]) -> wxBitmap() -%% Option = {depth, integer()} %% @doc See external documentation. +-spec new(Bits, Width, Height, [Option]) -> wxBitmap() when + Bits::binary(), Width::integer(), Height::integer(), + Option :: {depth, integer()}. new(Bits,Width,Height, Options) when is_binary(Bits),is_integer(Width),is_integer(Height),is_list(Options) -> wxe_util:send_bin(Bits), @@ -126,30 +118,35 @@ new(Bits,Width,Height, Options) wxe_util:construct(?wxBitmap_new_4, <>). -%% @spec (This::wxBitmap()) -> wxImage:wxImage() %% @doc See external documentation. +-spec convertToImage(This) -> wxImage:wxImage() when + This::wxBitmap(). convertToImage(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxBitmap), wxe_util:call(?wxBitmap_ConvertToImage, <>). -%% @spec (This::wxBitmap(), Icon::wxIcon:wxIcon()) -> bool() %% @doc See external documentation. +-spec copyFromIcon(This, Icon) -> boolean() when + This::wxBitmap(), Icon::wxIcon:wxIcon(). copyFromIcon(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=IconT,ref=IconRef}) -> ?CLASS(ThisT,wxBitmap), ?CLASS(IconT,wxIcon), wxe_util:call(?wxBitmap_CopyFromIcon, <>). -%% @spec (This::wxBitmap(), Width::integer(), Height::integer()) -> bool() %% @equiv create(This,Width,Height, []) +-spec create(This, Width, Height) -> boolean() when + This::wxBitmap(), Width::integer(), Height::integer(). + create(This,Width,Height) when is_record(This, wx_ref),is_integer(Width),is_integer(Height) -> create(This,Width,Height, []). -%% @spec (This::wxBitmap(), Width::integer(), Height::integer(), [Option]) -> bool() -%% Option = {depth, integer()} %% @doc See external documentation. +-spec create(This, Width, Height, [Option]) -> boolean() when + This::wxBitmap(), Width::integer(), Height::integer(), + Option :: {depth, integer()}. create(#wx_ref{type=ThisT,ref=ThisRef},Width,Height, Options) when is_integer(Width),is_integer(Height),is_list(Options) -> ?CLASS(ThisT,wxBitmap), @@ -159,60 +156,68 @@ create(#wx_ref{type=ThisT,ref=ThisRef},Width,Height, Options) wxe_util:call(?wxBitmap_Create, <>). -%% @spec (This::wxBitmap()) -> integer() %% @doc See external documentation. +-spec getDepth(This) -> integer() when + This::wxBitmap(). getDepth(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxBitmap), wxe_util:call(?wxBitmap_GetDepth, <>). -%% @spec (This::wxBitmap()) -> integer() %% @doc See external documentation. +-spec getHeight(This) -> integer() when + This::wxBitmap(). getHeight(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxBitmap), wxe_util:call(?wxBitmap_GetHeight, <>). -%% @spec (This::wxBitmap()) -> wxPalette:wxPalette() %% @doc See external documentation. +-spec getPalette(This) -> wxPalette:wxPalette() when + This::wxBitmap(). getPalette(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxBitmap), wxe_util:call(?wxBitmap_GetPalette, <>). -%% @spec (This::wxBitmap()) -> wxMask:wxMask() %% @doc See external documentation. +-spec getMask(This) -> wxMask:wxMask() when + This::wxBitmap(). getMask(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxBitmap), wxe_util:call(?wxBitmap_GetMask, <>). -%% @spec (This::wxBitmap()) -> integer() %% @doc See external documentation. +-spec getWidth(This) -> integer() when + This::wxBitmap(). getWidth(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxBitmap), wxe_util:call(?wxBitmap_GetWidth, <>). -%% @spec (This::wxBitmap(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}) -> wxBitmap() %% @doc See external documentation. +-spec getSubBitmap(This, Rect) -> wxBitmap() when + This::wxBitmap(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}. getSubBitmap(#wx_ref{type=ThisT,ref=ThisRef},{RectX,RectY,RectW,RectH}) when is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH) -> ?CLASS(ThisT,wxBitmap), wxe_util:call(?wxBitmap_GetSubBitmap, <>). -%% @spec (This::wxBitmap(), Name::string()) -> bool() %% @equiv loadFile(This,Name, []) +-spec loadFile(This, Name) -> boolean() when + This::wxBitmap(), Name::string(). + loadFile(This,Name) when is_record(This, wx_ref),is_list(Name) -> loadFile(This,Name, []). -%% @spec (This::wxBitmap(), Name::string(), [Option]) -> bool() -%% Option = {type, WxBitmapType} -%% WxBitmapType = integer() %% @doc See external documentation. -%%
WxBitmapType is one of ?wxBITMAP_TYPE_INVALID | ?wxBITMAP_TYPE_BMP | ?wxBITMAP_TYPE_BMP_RESOURCE | ?wxBITMAP_TYPE_RESOURCE | ?wxBITMAP_TYPE_ICO | ?wxBITMAP_TYPE_ICO_RESOURCE | ?wxBITMAP_TYPE_CUR | ?wxBITMAP_TYPE_CUR_RESOURCE | ?wxBITMAP_TYPE_XBM | ?wxBITMAP_TYPE_XBM_DATA | ?wxBITMAP_TYPE_XPM | ?wxBITMAP_TYPE_XPM_DATA | ?wxBITMAP_TYPE_TIF | ?wxBITMAP_TYPE_TIF_RESOURCE | ?wxBITMAP_TYPE_GIF | ?wxBITMAP_TYPE_GIF_RESOURCE | ?wxBITMAP_TYPE_PNG | ?wxBITMAP_TYPE_PNG_RESOURCE | ?wxBITMAP_TYPE_JPEG | ?wxBITMAP_TYPE_JPEG_RESOURCE | ?wxBITMAP_TYPE_PNM | ?wxBITMAP_TYPE_PNM_RESOURCE | ?wxBITMAP_TYPE_PCX | ?wxBITMAP_TYPE_PCX_RESOURCE | ?wxBITMAP_TYPE_PICT | ?wxBITMAP_TYPE_PICT_RESOURCE | ?wxBITMAP_TYPE_ICON | ?wxBITMAP_TYPE_ICON_RESOURCE | ?wxBITMAP_TYPE_ANI | ?wxBITMAP_TYPE_IFF | ?wxBITMAP_TYPE_TGA | ?wxBITMAP_TYPE_MACCURSOR | ?wxBITMAP_TYPE_MACCURSOR_RESOURCE | ?wxBITMAP_TYPE_ANY +%%
Type = ?wxBITMAP_TYPE_INVALID | ?wxBITMAP_TYPE_BMP | ?wxBITMAP_TYPE_BMP_RESOURCE | ?wxBITMAP_TYPE_RESOURCE | ?wxBITMAP_TYPE_ICO | ?wxBITMAP_TYPE_ICO_RESOURCE | ?wxBITMAP_TYPE_CUR | ?wxBITMAP_TYPE_CUR_RESOURCE | ?wxBITMAP_TYPE_XBM | ?wxBITMAP_TYPE_XBM_DATA | ?wxBITMAP_TYPE_XPM | ?wxBITMAP_TYPE_XPM_DATA | ?wxBITMAP_TYPE_TIF | ?wxBITMAP_TYPE_TIF_RESOURCE | ?wxBITMAP_TYPE_GIF | ?wxBITMAP_TYPE_GIF_RESOURCE | ?wxBITMAP_TYPE_PNG | ?wxBITMAP_TYPE_PNG_RESOURCE | ?wxBITMAP_TYPE_JPEG | ?wxBITMAP_TYPE_JPEG_RESOURCE | ?wxBITMAP_TYPE_PNM | ?wxBITMAP_TYPE_PNM_RESOURCE | ?wxBITMAP_TYPE_PCX | ?wxBITMAP_TYPE_PCX_RESOURCE | ?wxBITMAP_TYPE_PICT | ?wxBITMAP_TYPE_PICT_RESOURCE | ?wxBITMAP_TYPE_ICON | ?wxBITMAP_TYPE_ICON_RESOURCE | ?wxBITMAP_TYPE_ANI | ?wxBITMAP_TYPE_IFF | ?wxBITMAP_TYPE_TGA | ?wxBITMAP_TYPE_MACCURSOR | ?wxBITMAP_TYPE_MACCURSOR_RESOURCE | ?wxBITMAP_TYPE_ANY +-spec loadFile(This, Name, [Option]) -> boolean() when + This::wxBitmap(), Name::string(), + Option :: {type, wx:wx_enum()}. loadFile(#wx_ref{type=ThisT,ref=ThisRef},Name, Options) when is_list(Name),is_list(Options) -> ?CLASS(ThisT,wxBitmap), @@ -223,24 +228,27 @@ loadFile(#wx_ref{type=ThisT,ref=ThisRef},Name, Options) wxe_util:call(?wxBitmap_LoadFile, <>). -%% @spec (This::wxBitmap()) -> bool() %% @doc See external documentation. +-spec ok(This) -> boolean() when + This::wxBitmap(). ok(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxBitmap), wxe_util:call(?wxBitmap_Ok, <>). -%% @spec (This::wxBitmap(), Name::string(), Type::WxBitmapType) -> bool() %% @equiv saveFile(This,Name,Type, []) +-spec saveFile(This, Name, Type) -> boolean() when + This::wxBitmap(), Name::string(), Type::wx:wx_enum(). + saveFile(This,Name,Type) when is_record(This, wx_ref),is_list(Name),is_integer(Type) -> saveFile(This,Name,Type, []). -%% @spec (This::wxBitmap(), Name::string(), Type::WxBitmapType, [Option]) -> bool() -%% Option = {palette, wxPalette:wxPalette()} -%% WxBitmapType = integer() %% @doc See external documentation. -%%
WxBitmapType is one of ?wxBITMAP_TYPE_INVALID | ?wxBITMAP_TYPE_BMP | ?wxBITMAP_TYPE_BMP_RESOURCE | ?wxBITMAP_TYPE_RESOURCE | ?wxBITMAP_TYPE_ICO | ?wxBITMAP_TYPE_ICO_RESOURCE | ?wxBITMAP_TYPE_CUR | ?wxBITMAP_TYPE_CUR_RESOURCE | ?wxBITMAP_TYPE_XBM | ?wxBITMAP_TYPE_XBM_DATA | ?wxBITMAP_TYPE_XPM | ?wxBITMAP_TYPE_XPM_DATA | ?wxBITMAP_TYPE_TIF | ?wxBITMAP_TYPE_TIF_RESOURCE | ?wxBITMAP_TYPE_GIF | ?wxBITMAP_TYPE_GIF_RESOURCE | ?wxBITMAP_TYPE_PNG | ?wxBITMAP_TYPE_PNG_RESOURCE | ?wxBITMAP_TYPE_JPEG | ?wxBITMAP_TYPE_JPEG_RESOURCE | ?wxBITMAP_TYPE_PNM | ?wxBITMAP_TYPE_PNM_RESOURCE | ?wxBITMAP_TYPE_PCX | ?wxBITMAP_TYPE_PCX_RESOURCE | ?wxBITMAP_TYPE_PICT | ?wxBITMAP_TYPE_PICT_RESOURCE | ?wxBITMAP_TYPE_ICON | ?wxBITMAP_TYPE_ICON_RESOURCE | ?wxBITMAP_TYPE_ANI | ?wxBITMAP_TYPE_IFF | ?wxBITMAP_TYPE_TGA | ?wxBITMAP_TYPE_MACCURSOR | ?wxBITMAP_TYPE_MACCURSOR_RESOURCE | ?wxBITMAP_TYPE_ANY +%%
Type = ?wxBITMAP_TYPE_INVALID | ?wxBITMAP_TYPE_BMP | ?wxBITMAP_TYPE_BMP_RESOURCE | ?wxBITMAP_TYPE_RESOURCE | ?wxBITMAP_TYPE_ICO | ?wxBITMAP_TYPE_ICO_RESOURCE | ?wxBITMAP_TYPE_CUR | ?wxBITMAP_TYPE_CUR_RESOURCE | ?wxBITMAP_TYPE_XBM | ?wxBITMAP_TYPE_XBM_DATA | ?wxBITMAP_TYPE_XPM | ?wxBITMAP_TYPE_XPM_DATA | ?wxBITMAP_TYPE_TIF | ?wxBITMAP_TYPE_TIF_RESOURCE | ?wxBITMAP_TYPE_GIF | ?wxBITMAP_TYPE_GIF_RESOURCE | ?wxBITMAP_TYPE_PNG | ?wxBITMAP_TYPE_PNG_RESOURCE | ?wxBITMAP_TYPE_JPEG | ?wxBITMAP_TYPE_JPEG_RESOURCE | ?wxBITMAP_TYPE_PNM | ?wxBITMAP_TYPE_PNM_RESOURCE | ?wxBITMAP_TYPE_PCX | ?wxBITMAP_TYPE_PCX_RESOURCE | ?wxBITMAP_TYPE_PICT | ?wxBITMAP_TYPE_PICT_RESOURCE | ?wxBITMAP_TYPE_ICON | ?wxBITMAP_TYPE_ICON_RESOURCE | ?wxBITMAP_TYPE_ANI | ?wxBITMAP_TYPE_IFF | ?wxBITMAP_TYPE_TGA | ?wxBITMAP_TYPE_MACCURSOR | ?wxBITMAP_TYPE_MACCURSOR_RESOURCE | ?wxBITMAP_TYPE_ANY +-spec saveFile(This, Name, Type, [Option]) -> boolean() when + This::wxBitmap(), Name::string(), Type::wx:wx_enum(), + Option :: {palette, wxPalette:wxPalette()}. saveFile(#wx_ref{type=ThisT,ref=ThisRef},Name,Type, Options) when is_list(Name),is_integer(Type),is_list(Options) -> ?CLASS(ThisT,wxBitmap), @@ -251,48 +259,53 @@ saveFile(#wx_ref{type=ThisT,ref=ThisRef},Name,Type, Options) wxe_util:call(?wxBitmap_SaveFile, <>). -%% @spec (This::wxBitmap(), Depth::integer()) -> ok %% @doc See external documentation. +-spec setDepth(This, Depth) -> ok when + This::wxBitmap(), Depth::integer(). setDepth(#wx_ref{type=ThisT,ref=ThisRef},Depth) when is_integer(Depth) -> ?CLASS(ThisT,wxBitmap), wxe_util:cast(?wxBitmap_SetDepth, <>). -%% @spec (This::wxBitmap(), Height::integer()) -> ok %% @doc See external documentation. +-spec setHeight(This, Height) -> ok when + This::wxBitmap(), Height::integer(). setHeight(#wx_ref{type=ThisT,ref=ThisRef},Height) when is_integer(Height) -> ?CLASS(ThisT,wxBitmap), wxe_util:cast(?wxBitmap_SetHeight, <>). -%% @spec (This::wxBitmap(), Mask::wxMask:wxMask()) -> ok %% @doc See external documentation. +-spec setMask(This, Mask) -> ok when + This::wxBitmap(), Mask::wxMask:wxMask(). setMask(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=MaskT,ref=MaskRef}) -> ?CLASS(ThisT,wxBitmap), ?CLASS(MaskT,wxMask), wxe_util:cast(?wxBitmap_SetMask, <>). -%% @spec (This::wxBitmap(), Palette::wxPalette:wxPalette()) -> ok %% @doc See external documentation. +-spec setPalette(This, Palette) -> ok when + This::wxBitmap(), Palette::wxPalette:wxPalette(). setPalette(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PaletteT,ref=PaletteRef}) -> ?CLASS(ThisT,wxBitmap), ?CLASS(PaletteT,wxPalette), wxe_util:cast(?wxBitmap_SetPalette, <>). -%% @spec (This::wxBitmap(), Width::integer()) -> ok %% @doc See external documentation. +-spec setWidth(This, Width) -> ok when + This::wxBitmap(), Width::integer(). setWidth(#wx_ref{type=ThisT,ref=ThisRef},Width) when is_integer(Width) -> ?CLASS(ThisT,wxBitmap), wxe_util:cast(?wxBitmap_SetWidth, <>). -%% @spec (This::wxBitmap()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxBitmap) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxBitmap), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxBitmapButton.erl b/lib/wx/src/gen/wxBitmapButton.erl index d2353466e7..47ba575fb4 100644 --- a/lib/wx/src/gen/wxBitmapButton.erl +++ b/lib/wx/src/gen/wxBitmapButton.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,6 +72,7 @@ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1, update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxBitmapButton/0]). %% @hidden parent_class(wxButton) -> true; parent_class(wxControl) -> true; @@ -79,21 +80,28 @@ parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxBitmapButton() +-type wxBitmapButton() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxBitmapButton(). new() -> wxe_util:construct(?wxBitmapButton_new_0, <<>>). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Bitmap::wxBitmap:wxBitmap()) -> wxBitmapButton() %% @equiv new(Parent,Id,Bitmap, []) +-spec new(Parent, Id, Bitmap) -> wxBitmapButton() when + Parent::wxWindow:wxWindow(), Id::integer(), Bitmap::wxBitmap:wxBitmap(). + new(Parent,Id,Bitmap) when is_record(Parent, wx_ref),is_integer(Id),is_record(Bitmap, wx_ref) -> new(Parent,Id,Bitmap, []). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Bitmap::wxBitmap:wxBitmap(), [Option]) -> wxBitmapButton() -%% Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx:wx()} %% @doc See external documentation. +-spec new(Parent, Id, Bitmap, [Option]) -> wxBitmapButton() when + Parent::wxWindow:wxWindow(), Id::integer(), Bitmap::wxBitmap:wxBitmap(), + Option :: {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()} + | {validator, wx:wx()}. new(#wx_ref{type=ParentT,ref=ParentRef},Id,#wx_ref{type=BitmapT,ref=BitmapRef}, Options) when is_integer(Id),is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -107,15 +115,21 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Id,#wx_ref{type=BitmapT,ref=BitmapRef}, wxe_util:construct(?wxBitmapButton_new_4, <>). -%% @spec (This::wxBitmapButton(), Parent::wxWindow:wxWindow(), Id::integer(), Bitmap::wxBitmap:wxBitmap()) -> bool() %% @equiv create(This,Parent,Id,Bitmap, []) +-spec create(This, Parent, Id, Bitmap) -> boolean() when + This::wxBitmapButton(), Parent::wxWindow:wxWindow(), Id::integer(), Bitmap::wxBitmap:wxBitmap(). + create(This,Parent,Id,Bitmap) when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id),is_record(Bitmap, wx_ref) -> create(This,Parent,Id,Bitmap, []). -%% @spec (This::wxBitmapButton(), Parent::wxWindow:wxWindow(), Id::integer(), Bitmap::wxBitmap:wxBitmap(), [Option]) -> bool() -%% Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx:wx()} %% @doc See external documentation. +-spec create(This, Parent, Id, Bitmap, [Option]) -> boolean() when + This::wxBitmapButton(), Parent::wxWindow:wxWindow(), Id::integer(), Bitmap::wxBitmap:wxBitmap(), + Option :: {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()} + | {validator, wx:wx()}. create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,#wx_ref{type=BitmapT,ref=BitmapRef}, Options) when is_integer(Id),is_list(Options) -> ?CLASS(ThisT,wxBitmapButton), @@ -130,68 +144,76 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,#w wxe_util:call(?wxBitmapButton_Create, <>). -%% @spec (This::wxBitmapButton()) -> wxBitmap:wxBitmap() %% @doc See external documentation. +-spec getBitmapDisabled(This) -> wxBitmap:wxBitmap() when + This::wxBitmapButton(). getBitmapDisabled(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxBitmapButton), wxe_util:call(?wxBitmapButton_GetBitmapDisabled, <>). -%% @spec (This::wxBitmapButton()) -> wxBitmap:wxBitmap() %% @doc See external documentation. +-spec getBitmapFocus(This) -> wxBitmap:wxBitmap() when + This::wxBitmapButton(). getBitmapFocus(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxBitmapButton), wxe_util:call(?wxBitmapButton_GetBitmapFocus, <>). -%% @spec (This::wxBitmapButton()) -> wxBitmap:wxBitmap() %% @doc See external documentation. +-spec getBitmapLabel(This) -> wxBitmap:wxBitmap() when + This::wxBitmapButton(). getBitmapLabel(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxBitmapButton), wxe_util:call(?wxBitmapButton_GetBitmapLabel, <>). -%% @spec (This::wxBitmapButton()) -> wxBitmap:wxBitmap() %% @doc See external documentation. +-spec getBitmapSelected(This) -> wxBitmap:wxBitmap() when + This::wxBitmapButton(). getBitmapSelected(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxBitmapButton), wxe_util:call(?wxBitmapButton_GetBitmapSelected, <>). -%% @spec (This::wxBitmapButton(), Disabled::wxBitmap:wxBitmap()) -> ok %% @doc See external documentation. +-spec setBitmapDisabled(This, Disabled) -> ok when + This::wxBitmapButton(), Disabled::wxBitmap:wxBitmap(). setBitmapDisabled(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=DisabledT,ref=DisabledRef}) -> ?CLASS(ThisT,wxBitmapButton), ?CLASS(DisabledT,wxBitmap), wxe_util:cast(?wxBitmapButton_SetBitmapDisabled, <>). -%% @spec (This::wxBitmapButton(), Focus::wxBitmap:wxBitmap()) -> ok %% @doc See external documentation. +-spec setBitmapFocus(This, Focus) -> ok when + This::wxBitmapButton(), Focus::wxBitmap:wxBitmap(). setBitmapFocus(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FocusT,ref=FocusRef}) -> ?CLASS(ThisT,wxBitmapButton), ?CLASS(FocusT,wxBitmap), wxe_util:cast(?wxBitmapButton_SetBitmapFocus, <>). -%% @spec (This::wxBitmapButton(), Bitmap::wxBitmap:wxBitmap()) -> ok %% @doc See external documentation. +-spec setBitmapLabel(This, Bitmap) -> ok when + This::wxBitmapButton(), Bitmap::wxBitmap:wxBitmap(). setBitmapLabel(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BitmapT,ref=BitmapRef}) -> ?CLASS(ThisT,wxBitmapButton), ?CLASS(BitmapT,wxBitmap), wxe_util:cast(?wxBitmapButton_SetBitmapLabel, <>). -%% @spec (This::wxBitmapButton(), Sel::wxBitmap:wxBitmap()) -> ok %% @doc See external documentation. +-spec setBitmapSelected(This, Sel) -> ok when + This::wxBitmapButton(), Sel::wxBitmap:wxBitmap(). setBitmapSelected(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=SelT,ref=SelRef}) -> ?CLASS(ThisT,wxBitmapButton), ?CLASS(SelT,wxBitmap), wxe_util:cast(?wxBitmapButton_SetBitmapSelected, <>). -%% @spec (This::wxBitmapButton()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxBitmapButton) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxBitmapButton), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxBitmapDataObject.erl b/lib/wx/src/gen/wxBitmapDataObject.erl index b5207072e3..7f6bc973ef 100644 --- a/lib/wx/src/gen/wxBitmapDataObject.erl +++ b/lib/wx/src/gen/wxBitmapDataObject.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,25 +32,23 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxBitmapDataObject/0]). %% @hidden parent_class(wxDataObject) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxBitmapDataObject() +-type wxBitmapDataObject() :: wx:wx_object(). %% @equiv new([]) +-spec new() -> wxBitmapDataObject(). + new() -> new([]). -%% @spec (X::term()) -> wxBitmapDataObject() %% @doc See external documentation. -%%
Alternatives: -%%

-%% new([Option]) -> wxBitmapDataObject() -%%
Option = {bitmap, wxBitmap:wxBitmap()} -%%

-%%

-%% new(Bitmap::wxBitmap:wxBitmap()) -> wxBitmapDataObject() -%%

+-spec new([Option]) -> wxBitmapDataObject() when + Option :: {bitmap, wxBitmap:wxBitmap()}; + (Bitmap) -> wxBitmapDataObject() when + Bitmap::wxBitmap:wxBitmap(). new(Options) when is_list(Options) -> MOpts = fun({bitmap, #wx_ref{type=BitmapT,ref=BitmapRef}}, Acc) -> ?CLASS(BitmapT,wxBitmap),[<<1:32/?UI,BitmapRef:32/?UI>>|Acc]; @@ -63,23 +61,25 @@ new(#wx_ref{type=BitmapT,ref=BitmapRef}) -> wxe_util:construct(?wxBitmapDataObject_new_1_1, <>). -%% @spec (This::wxBitmapDataObject()) -> wxBitmap:wxBitmap() %% @doc See external documentation. +-spec getBitmap(This) -> wxBitmap:wxBitmap() when + This::wxBitmapDataObject(). getBitmap(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxBitmapDataObject), wxe_util:call(?wxBitmapDataObject_GetBitmap, <>). -%% @spec (This::wxBitmapDataObject(), Bitmap::wxBitmap:wxBitmap()) -> ok %% @doc See external documentation. +-spec setBitmap(This, Bitmap) -> ok when + This::wxBitmapDataObject(), Bitmap::wxBitmap:wxBitmap(). setBitmap(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BitmapT,ref=BitmapRef}) -> ?CLASS(ThisT,wxBitmapDataObject), ?CLASS(BitmapT,wxBitmap), wxe_util:cast(?wxBitmapDataObject_SetBitmap, <>). -%% @spec (This::wxBitmapDataObject()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxBitmapDataObject) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxBitmapDataObject), wxe_util:destroy(?wxBitmapDataObject_destroy,Obj), diff --git a/lib/wx/src/gen/wxBoxSizer.erl b/lib/wx/src/gen/wxBoxSizer.erl index e6287945a9..d6d8aadf30 100644 --- a/lib/wx/src/gen/wxBoxSizer.erl +++ b/lib/wx/src/gen/wxBoxSizer.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,26 +40,30 @@ setMinSize/2,setMinSize/3,setSizeHints/2,setVirtualSizeHints/2,show/2, show/3]). +-export_type([wxBoxSizer/0]). %% @hidden parent_class(wxSizer) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (Orient::integer()) -> wxBoxSizer() +-type wxBoxSizer() :: wx:wx_object(). %% @doc See external documentation. +-spec new(Orient) -> wxBoxSizer() when + Orient::integer(). new(Orient) when is_integer(Orient) -> wxe_util:construct(?wxBoxSizer_new, <>). -%% @spec (This::wxBoxSizer()) -> integer() %% @doc See external documentation. +-spec getOrientation(This) -> integer() when + This::wxBoxSizer(). getOrientation(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxBoxSizer), wxe_util:call(?wxBoxSizer_GetOrientation, <>). -%% @spec (This::wxBoxSizer()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxBoxSizer) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxBoxSizer), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxBrush.erl b/lib/wx/src/gen/wxBrush.erl index e42edd62e3..5f67d35310 100644 --- a/lib/wx/src/gen/wxBrush.erl +++ b/lib/wx/src/gen/wxBrush.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,23 +30,22 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxBrush/0]). %% @hidden parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxBrush() +-type wxBrush() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxBrush(). new() -> wxe_util:construct(?wxBrush_new_0, <<>>). -%% @spec (X::term()) -> wxBrush() %% @doc See external documentation. -%%
Alternatives: -%%

-%% new(Colour::wx:colour()) -> new(Colour, [])

-%%

-%% new(StippleBitmap::wxBitmap:wxBitmap()) -> wxBrush() -%%

+-spec new(Colour) -> wxBrush() when + Colour::wx:wx_colour(); + (StippleBitmap) -> wxBrush() when + StippleBitmap::wxBitmap:wxBitmap(). new(Colour) when tuple_size(Colour) =:= 3; tuple_size(Colour) =:= 4 -> @@ -56,9 +55,10 @@ new(#wx_ref{type=StippleBitmapT,ref=StippleBitmapRef}) -> wxe_util:construct(?wxBrush_new_1, <>). -%% @spec (Colour::wx:colour(), [Option]) -> wxBrush() -%% Option = {style, integer()} %% @doc See external documentation. +-spec new(Colour, [Option]) -> wxBrush() when + Colour::wx:wx_colour(), + Option :: {style, integer()}. new(Colour, Options) when tuple_size(Colour) =:= 3; tuple_size(Colour) =:= 4,is_list(Options) -> MOpts = fun({style, Style}, Acc) -> [<<1:32/?UI,Style:32/?UI>>|Acc]; @@ -67,75 +67,84 @@ new(Colour, Options) wxe_util:construct(?wxBrush_new_2, <<(wxe_util:colour_bin(Colour)):16/binary, BinOpt/binary>>). -%% @spec (This::wxBrush()) -> wx:colour() %% @doc See external documentation. +-spec getColour(This) -> wx:wx_colour() when + This::wxBrush(). getColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxBrush), wxe_util:call(?wxBrush_GetColour, <>). -%% @spec (This::wxBrush()) -> wxBitmap:wxBitmap() %% @doc See external documentation. +-spec getStipple(This) -> wxBitmap:wxBitmap() when + This::wxBrush(). getStipple(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxBrush), wxe_util:call(?wxBrush_GetStipple, <>). -%% @spec (This::wxBrush()) -> integer() %% @doc See external documentation. +-spec getStyle(This) -> integer() when + This::wxBrush(). getStyle(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxBrush), wxe_util:call(?wxBrush_GetStyle, <>). -%% @spec (This::wxBrush()) -> bool() %% @doc See external documentation. +-spec isHatch(This) -> boolean() when + This::wxBrush(). isHatch(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxBrush), wxe_util:call(?wxBrush_IsHatch, <>). -%% @spec (This::wxBrush()) -> bool() %% @doc See external documentation. +-spec isOk(This) -> boolean() when + This::wxBrush(). isOk(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxBrush), wxe_util:call(?wxBrush_IsOk, <>). -%% @spec (This::wxBrush(), Col::wx:colour()) -> ok %% @doc See external documentation. +-spec setColour(This, Col) -> ok when + This::wxBrush(), Col::wx:wx_colour(). setColour(#wx_ref{type=ThisT,ref=ThisRef},Col) when tuple_size(Col) =:= 3; tuple_size(Col) =:= 4 -> ?CLASS(ThisT,wxBrush), wxe_util:cast(?wxBrush_SetColour_1, <>). -%% @spec (This::wxBrush(), R::integer(), G::integer(), B::integer()) -> ok %% @doc See external documentation. +-spec setColour(This, R, G, B) -> ok when + This::wxBrush(), R::integer(), G::integer(), B::integer(). setColour(#wx_ref{type=ThisT,ref=ThisRef},R,G,B) when is_integer(R),is_integer(G),is_integer(B) -> ?CLASS(ThisT,wxBrush), wxe_util:cast(?wxBrush_SetColour_3, <>). -%% @spec (This::wxBrush(), Stipple::wxBitmap:wxBitmap()) -> ok %% @doc See external documentation. +-spec setStipple(This, Stipple) -> ok when + This::wxBrush(), Stipple::wxBitmap:wxBitmap(). setStipple(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=StippleT,ref=StippleRef}) -> ?CLASS(ThisT,wxBrush), ?CLASS(StippleT,wxBitmap), wxe_util:cast(?wxBrush_SetStipple, <>). -%% @spec (This::wxBrush(), Style::integer()) -> ok %% @doc See external documentation. +-spec setStyle(This, Style) -> ok when + This::wxBrush(), Style::integer(). setStyle(#wx_ref{type=ThisT,ref=ThisRef},Style) when is_integer(Style) -> ?CLASS(ThisT,wxBrush), wxe_util:cast(?wxBrush_SetStyle, <>). -%% @spec (This::wxBrush()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxBrush) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxBrush), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxBufferedDC.erl b/lib/wx/src/gen/wxBufferedDC.erl index 9096f95612..4dc11dcddd 100644 --- a/lib/wx/src/gen/wxBufferedDC.erl +++ b/lib/wx/src/gen/wxBufferedDC.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -53,32 +53,34 @@ setMapMode/2,setPalette/2,setPen/2,setTextBackground/2,setTextForeground/2, setUserScale/3,startDoc/2,startPage/1]). +-export_type([wxBufferedDC/0]). %% @hidden parent_class(wxMemoryDC) -> true; parent_class(wxDC) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxBufferedDC() +-type wxBufferedDC() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxBufferedDC(). new() -> wxe_util:construct(?wxBufferedDC_new_0, <<>>). -%% @spec (Dc::wxDC:wxDC()) -> wxBufferedDC() %% @equiv new(Dc, []) +-spec new(Dc) -> wxBufferedDC() when + Dc::wxDC:wxDC(). + new(Dc) when is_record(Dc, wx_ref) -> new(Dc, []). -%% @spec (Dc::wxDC:wxDC(),X::term()) -> wxBufferedDC() %% @doc See external documentation. -%%
Alternatives: -%%

-%% new(Dc::wxDC:wxDC(), Area::{W::integer(), H::integer()}) -> new(Dc,Area, [])

-%%

-%% new(Dc::wxDC:wxDC(), [Option]) -> wxBufferedDC() -%%
Option = {buffer, wxBitmap:wxBitmap()} | {style, integer()} -%%

+-spec new(Dc, Area) -> wxBufferedDC() when + Dc::wxDC:wxDC(), Area::{W::integer(), H::integer()}; + (Dc, [Option]) -> wxBufferedDC() when + Dc::wxDC:wxDC(), + Option :: {buffer, wxBitmap:wxBitmap()} + | {style, integer()}. new(Dc,Area={AreaW,AreaH}) when is_record(Dc, wx_ref),is_integer(AreaW),is_integer(AreaH) -> @@ -93,9 +95,10 @@ new(#wx_ref{type=DcT,ref=DcRef}, Options) wxe_util:construct(?wxBufferedDC_new_2, <>). -%% @spec (Dc::wxDC:wxDC(), Area::{W::integer(), H::integer()}, [Option]) -> wxBufferedDC() -%% Option = {style, integer()} %% @doc See external documentation. +-spec new(Dc, Area, [Option]) -> wxBufferedDC() when + Dc::wxDC:wxDC(), Area::{W::integer(), H::integer()}, + Option :: {style, integer()}. new(#wx_ref{type=DcT,ref=DcRef},{AreaW,AreaH}, Options) when is_integer(AreaW),is_integer(AreaH),is_list(Options) -> ?CLASS(DcT,wxDC), @@ -105,21 +108,21 @@ new(#wx_ref{type=DcT,ref=DcRef},{AreaW,AreaH}, Options) wxe_util:construct(?wxBufferedDC_new_3, <>). -%% @spec (This::wxBufferedDC(), Dc::wxDC:wxDC()) -> ok %% @equiv init(This,Dc, []) +-spec init(This, Dc) -> ok when + This::wxBufferedDC(), Dc::wxDC:wxDC(). + init(This,Dc) when is_record(This, wx_ref),is_record(Dc, wx_ref) -> init(This,Dc, []). -%% @spec (This::wxBufferedDC(),Dc::wxDC:wxDC(),X::term()) -> ok %% @doc See external documentation. -%%
Alternatives: -%%

-%% init(This::wxBufferedDC(), Dc::wxDC:wxDC(), Area::{W::integer(), H::integer()}) -> init(This,Dc,Area, [])

-%%

-%% init(This::wxBufferedDC(), Dc::wxDC:wxDC(), [Option]) -> ok -%%
Option = {buffer, wxBitmap:wxBitmap()} | {style, integer()} -%%

+-spec init(This, Dc, Area) -> ok when + This::wxBufferedDC(), Dc::wxDC:wxDC(), Area::{W::integer(), H::integer()}; + (This, Dc, [Option]) -> ok when + This::wxBufferedDC(), Dc::wxDC:wxDC(), + Option :: {buffer, wxBitmap:wxBitmap()} + | {style, integer()}. init(This,Dc,Area={AreaW,AreaH}) when is_record(This, wx_ref),is_record(Dc, wx_ref),is_integer(AreaW),is_integer(AreaH) -> @@ -135,9 +138,10 @@ init(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=DcT,ref=DcRef}, Options) wxe_util:cast(?wxBufferedDC_Init_2, <>). -%% @spec (This::wxBufferedDC(), Dc::wxDC:wxDC(), Area::{W::integer(), H::integer()}, [Option]) -> ok -%% Option = {style, integer()} %% @doc See external documentation. +-spec init(This, Dc, Area, [Option]) -> ok when + This::wxBufferedDC(), Dc::wxDC:wxDC(), Area::{W::integer(), H::integer()}, + Option :: {style, integer()}. init(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=DcT,ref=DcRef},{AreaW,AreaH}, Options) when is_integer(AreaW),is_integer(AreaH),is_list(Options) -> ?CLASS(ThisT,wxBufferedDC), @@ -148,8 +152,8 @@ init(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=DcT,ref=DcRef},{AreaW,AreaH}, wxe_util:cast(?wxBufferedDC_Init_3, <>). -%% @spec (This::wxBufferedDC()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxBufferedDC) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxBufferedDC), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxBufferedPaintDC.erl b/lib/wx/src/gen/wxBufferedPaintDC.erl index 2712394dd8..421fa2635d 100644 --- a/lib/wx/src/gen/wxBufferedPaintDC.erl +++ b/lib/wx/src/gen/wxBufferedPaintDC.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -55,27 +55,28 @@ setPen/2,setTextBackground/2,setTextForeground/2,setUserScale/3,startDoc/2, startPage/1]). +-export_type([wxBufferedPaintDC/0]). %% @hidden parent_class(wxBufferedDC) -> true; parent_class(wxMemoryDC) -> true; parent_class(wxDC) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (Window::wxWindow:wxWindow()) -> wxBufferedPaintDC() +-type wxBufferedPaintDC() :: wx:wx_object(). %% @equiv new(Window, []) +-spec new(Window) -> wxBufferedPaintDC() when + Window::wxWindow:wxWindow(). + new(Window) when is_record(Window, wx_ref) -> new(Window, []). -%% @spec (Window::wxWindow:wxWindow(),X::term()) -> wxBufferedPaintDC() %% @doc See external documentation. -%%
Alternatives: -%%

-%% new(Window::wxWindow:wxWindow(), Buffer::wxBitmap:wxBitmap()) -> new(Window,Buffer, [])

-%%

-%% new(Window::wxWindow:wxWindow(), [Option]) -> wxBufferedPaintDC() -%%
Option = {style, integer()} -%%

+-spec new(Window, Buffer) -> wxBufferedPaintDC() when + Window::wxWindow:wxWindow(), Buffer::wxBitmap:wxBitmap(); + (Window, [Option]) -> wxBufferedPaintDC() when + Window::wxWindow:wxWindow(), + Option :: {style, integer()}. new(Window,Buffer) when is_record(Window, wx_ref),is_record(Buffer, wx_ref) -> @@ -89,9 +90,10 @@ new(#wx_ref{type=WindowT,ref=WindowRef}, Options) wxe_util:construct(?wxBufferedPaintDC_new_2, <>). -%% @spec (Window::wxWindow:wxWindow(), Buffer::wxBitmap:wxBitmap(), [Option]) -> wxBufferedPaintDC() -%% Option = {style, integer()} %% @doc See external documentation. +-spec new(Window, Buffer, [Option]) -> wxBufferedPaintDC() when + Window::wxWindow:wxWindow(), Buffer::wxBitmap:wxBitmap(), + Option :: {style, integer()}. new(#wx_ref{type=WindowT,ref=WindowRef},#wx_ref{type=BufferT,ref=BufferRef}, Options) when is_list(Options) -> ?CLASS(WindowT,wxWindow), @@ -102,8 +104,8 @@ new(#wx_ref{type=WindowT,ref=WindowRef},#wx_ref{type=BufferT,ref=BufferRef}, Opt wxe_util:construct(?wxBufferedPaintDC_new_3, <>). -%% @spec (This::wxBufferedPaintDC()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxBufferedPaintDC) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxBufferedPaintDC), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxButton.erl b/lib/wx/src/gen/wxButton.erl index a75c45c5a3..facd885175 100644 --- a/lib/wx/src/gen/wxButton.erl +++ b/lib/wx/src/gen/wxButton.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -70,27 +70,36 @@ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1, update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxButton/0]). %% @hidden parent_class(wxControl) -> true; parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxButton() +-type wxButton() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxButton(). new() -> wxe_util:construct(?wxButton_new_0, <<>>). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer()) -> wxButton() %% @equiv new(Parent,Id, []) +-spec new(Parent, Id) -> wxButton() when + Parent::wxWindow:wxWindow(), Id::integer(). + new(Parent,Id) when is_record(Parent, wx_ref),is_integer(Id) -> new(Parent,Id, []). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> wxButton() -%% Option = {label, string()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx:wx()} %% @doc See external documentation. +-spec new(Parent, Id, [Option]) -> wxButton() when + Parent::wxWindow:wxWindow(), Id::integer(), + Option :: {label, string()} + | {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()} + | {validator, wx:wx()}. new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options) when is_integer(Id),is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -104,15 +113,22 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options) wxe_util:construct(?wxButton_new_3, <>). -%% @spec (This::wxButton(), Parent::wxWindow:wxWindow(), Id::integer()) -> bool() %% @equiv create(This,Parent,Id, []) +-spec create(This, Parent, Id) -> boolean() when + This::wxButton(), Parent::wxWindow:wxWindow(), Id::integer(). + create(This,Parent,Id) when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id) -> create(This,Parent,Id, []). -%% @spec (This::wxButton(), Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> bool() -%% Option = {label, string()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx:wx()} %% @doc See external documentation. +-spec create(This, Parent, Id, [Option]) -> boolean() when + This::wxButton(), Parent::wxWindow:wxWindow(), Id::integer(), + Option :: {label, string()} + | {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()} + | {validator, wx:wx()}. create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id, Options) when is_integer(Id),is_list(Options) -> ?CLASS(ThisT,wxButton), @@ -127,21 +143,23 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id, O wxe_util:call(?wxButton_Create, <>). -%% @spec () -> {W::integer(), H::integer()} %% @doc See external documentation. +-spec getDefaultSize() -> {W::integer(), H::integer()}. getDefaultSize() -> wxe_util:call(?wxButton_GetDefaultSize, <<>>). -%% @spec (This::wxButton()) -> ok %% @doc See external documentation. +-spec setDefault(This) -> ok when + This::wxButton(). setDefault(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxButton), wxe_util:cast(?wxButton_SetDefault, <>). -%% @spec (This::wxButton(), Label::string()) -> ok %% @doc See external documentation. +-spec setLabel(This, Label) -> ok when + This::wxButton(), Label::string(). setLabel(#wx_ref{type=ThisT,ref=ThisRef},Label) when is_list(Label) -> ?CLASS(ThisT,wxButton), @@ -149,8 +167,8 @@ setLabel(#wx_ref{type=ThisT,ref=ThisRef},Label) wxe_util:cast(?wxButton_SetLabel, <>). -%% @spec (This::wxButton()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxButton) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxButton), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxCalendarCtrl.erl b/lib/wx/src/gen/wxCalendarCtrl.erl index 1bb4ecb1fa..7762e7f318 100644 --- a/lib/wx/src/gen/wxCalendarCtrl.erl +++ b/lib/wx/src/gen/wxCalendarCtrl.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -74,27 +74,35 @@ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1, update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxCalendarCtrl/0]). %% @hidden parent_class(wxControl) -> true; parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxCalendarCtrl() +-type wxCalendarCtrl() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxCalendarCtrl(). new() -> wxe_util:construct(?wxCalendarCtrl_new_0, <<>>). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer()) -> wxCalendarCtrl() %% @equiv new(Parent,Id, []) +-spec new(Parent, Id) -> wxCalendarCtrl() when + Parent::wxWindow:wxWindow(), Id::integer(). + new(Parent,Id) when is_record(Parent, wx_ref),is_integer(Id) -> new(Parent,Id, []). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> wxCalendarCtrl() -%% Option = {date, wx:datetime()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} %% @doc See external documentation. +-spec new(Parent, Id, [Option]) -> wxCalendarCtrl() when + Parent::wxWindow:wxWindow(), Id::integer(), + Option :: {date, wx:wx_datetime()} + | {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()}. new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options) when is_integer(Id),is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -107,15 +115,21 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options) wxe_util:construct(?wxCalendarCtrl_new_3, <>). -%% @spec (This::wxCalendarCtrl(), Parent::wxWindow:wxWindow(), Id::integer()) -> bool() %% @equiv create(This,Parent,Id, []) +-spec create(This, Parent, Id) -> boolean() when + This::wxCalendarCtrl(), Parent::wxWindow:wxWindow(), Id::integer(). + create(This,Parent,Id) when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id) -> create(This,Parent,Id, []). -%% @spec (This::wxCalendarCtrl(), Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> bool() -%% Option = {date, wx:datetime()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} %% @doc See external documentation. +-spec create(This, Parent, Id, [Option]) -> boolean() when + This::wxCalendarCtrl(), Parent::wxWindow:wxWindow(), Id::integer(), + Option :: {date, wx:wx_datetime()} + | {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()}. create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id, Options) when is_integer(Id),is_list(Options) -> ?CLASS(ThisT,wxCalendarCtrl), @@ -129,30 +143,35 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id, O wxe_util:call(?wxCalendarCtrl_Create, <>). -%% @spec (This::wxCalendarCtrl(), Date::wx:datetime()) -> bool() %% @doc See external documentation. +-spec setDate(This, Date) -> boolean() when + This::wxCalendarCtrl(), Date::wx:wx_datetime(). setDate(#wx_ref{type=ThisT,ref=ThisRef},Date) when tuple_size(Date) =:= 2 -> ?CLASS(ThisT,wxCalendarCtrl), wxe_util:call(?wxCalendarCtrl_SetDate, <>). -%% @spec (This::wxCalendarCtrl()) -> wx:datetime() %% @doc See external documentation. +-spec getDate(This) -> wx:wx_datetime() when + This::wxCalendarCtrl(). getDate(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxCalendarCtrl), wxe_util:call(?wxCalendarCtrl_GetDate, <>). -%% @spec (This::wxCalendarCtrl()) -> ok %% @equiv enableYearChange(This, []) +-spec enableYearChange(This) -> ok when + This::wxCalendarCtrl(). + enableYearChange(This) when is_record(This, wx_ref) -> enableYearChange(This, []). -%% @spec (This::wxCalendarCtrl(), [Option]) -> ok -%% Option = {enable, bool()} %% @doc See external documentation. +-spec enableYearChange(This, [Option]) -> ok when + This::wxCalendarCtrl(), + Option :: {enable, boolean()}. enableYearChange(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxCalendarCtrl), @@ -162,15 +181,18 @@ enableYearChange(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:cast(?wxCalendarCtrl_EnableYearChange, <>). -%% @spec (This::wxCalendarCtrl()) -> ok %% @equiv enableMonthChange(This, []) +-spec enableMonthChange(This) -> ok when + This::wxCalendarCtrl(). + enableMonthChange(This) when is_record(This, wx_ref) -> enableMonthChange(This, []). -%% @spec (This::wxCalendarCtrl(), [Option]) -> ok -%% Option = {enable, bool()} %% @doc See external documentation. +-spec enableMonthChange(This, [Option]) -> ok when + This::wxCalendarCtrl(), + Option :: {enable, boolean()}. enableMonthChange(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxCalendarCtrl), @@ -180,15 +202,18 @@ enableMonthChange(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:cast(?wxCalendarCtrl_EnableMonthChange, <>). -%% @spec (This::wxCalendarCtrl()) -> ok %% @equiv enableHolidayDisplay(This, []) +-spec enableHolidayDisplay(This) -> ok when + This::wxCalendarCtrl(). + enableHolidayDisplay(This) when is_record(This, wx_ref) -> enableHolidayDisplay(This, []). -%% @spec (This::wxCalendarCtrl(), [Option]) -> ok -%% Option = {display, bool()} %% @doc See external documentation. +-spec enableHolidayDisplay(This, [Option]) -> ok when + This::wxCalendarCtrl(), + Option :: {display, boolean()}. enableHolidayDisplay(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxCalendarCtrl), @@ -198,82 +223,93 @@ enableHolidayDisplay(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:cast(?wxCalendarCtrl_EnableHolidayDisplay, <>). -%% @spec (This::wxCalendarCtrl(), ColFg::wx:colour(), ColBg::wx:colour()) -> ok %% @doc See external documentation. +-spec setHeaderColours(This, ColFg, ColBg) -> ok when + This::wxCalendarCtrl(), ColFg::wx:wx_colour(), ColBg::wx:wx_colour(). setHeaderColours(#wx_ref{type=ThisT,ref=ThisRef},ColFg,ColBg) when tuple_size(ColFg) =:= 3; tuple_size(ColFg) =:= 4,tuple_size(ColBg) =:= 3; tuple_size(ColBg) =:= 4 -> ?CLASS(ThisT,wxCalendarCtrl), wxe_util:cast(?wxCalendarCtrl_SetHeaderColours, <>). -%% @spec (This::wxCalendarCtrl()) -> wx:colour() %% @doc See external documentation. +-spec getHeaderColourFg(This) -> wx:wx_colour() when + This::wxCalendarCtrl(). getHeaderColourFg(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxCalendarCtrl), wxe_util:call(?wxCalendarCtrl_GetHeaderColourFg, <>). -%% @spec (This::wxCalendarCtrl()) -> wx:colour() %% @doc See external documentation. +-spec getHeaderColourBg(This) -> wx:wx_colour() when + This::wxCalendarCtrl(). getHeaderColourBg(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxCalendarCtrl), wxe_util:call(?wxCalendarCtrl_GetHeaderColourBg, <>). -%% @spec (This::wxCalendarCtrl(), ColFg::wx:colour(), ColBg::wx:colour()) -> ok %% @doc See external documentation. +-spec setHighlightColours(This, ColFg, ColBg) -> ok when + This::wxCalendarCtrl(), ColFg::wx:wx_colour(), ColBg::wx:wx_colour(). setHighlightColours(#wx_ref{type=ThisT,ref=ThisRef},ColFg,ColBg) when tuple_size(ColFg) =:= 3; tuple_size(ColFg) =:= 4,tuple_size(ColBg) =:= 3; tuple_size(ColBg) =:= 4 -> ?CLASS(ThisT,wxCalendarCtrl), wxe_util:cast(?wxCalendarCtrl_SetHighlightColours, <>). -%% @spec (This::wxCalendarCtrl()) -> wx:colour() %% @doc See external documentation. +-spec getHighlightColourFg(This) -> wx:wx_colour() when + This::wxCalendarCtrl(). getHighlightColourFg(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxCalendarCtrl), wxe_util:call(?wxCalendarCtrl_GetHighlightColourFg, <>). -%% @spec (This::wxCalendarCtrl()) -> wx:colour() %% @doc See external documentation. +-spec getHighlightColourBg(This) -> wx:wx_colour() when + This::wxCalendarCtrl(). getHighlightColourBg(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxCalendarCtrl), wxe_util:call(?wxCalendarCtrl_GetHighlightColourBg, <>). -%% @spec (This::wxCalendarCtrl(), ColFg::wx:colour(), ColBg::wx:colour()) -> ok %% @doc See external documentation. +-spec setHolidayColours(This, ColFg, ColBg) -> ok when + This::wxCalendarCtrl(), ColFg::wx:wx_colour(), ColBg::wx:wx_colour(). setHolidayColours(#wx_ref{type=ThisT,ref=ThisRef},ColFg,ColBg) when tuple_size(ColFg) =:= 3; tuple_size(ColFg) =:= 4,tuple_size(ColBg) =:= 3; tuple_size(ColBg) =:= 4 -> ?CLASS(ThisT,wxCalendarCtrl), wxe_util:cast(?wxCalendarCtrl_SetHolidayColours, <>). -%% @spec (This::wxCalendarCtrl()) -> wx:colour() %% @doc See external documentation. +-spec getHolidayColourFg(This) -> wx:wx_colour() when + This::wxCalendarCtrl(). getHolidayColourFg(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxCalendarCtrl), wxe_util:call(?wxCalendarCtrl_GetHolidayColourFg, <>). -%% @spec (This::wxCalendarCtrl()) -> wx:colour() %% @doc See external documentation. +-spec getHolidayColourBg(This) -> wx:wx_colour() when + This::wxCalendarCtrl(). getHolidayColourBg(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxCalendarCtrl), wxe_util:call(?wxCalendarCtrl_GetHolidayColourBg, <>). -%% @spec (This::wxCalendarCtrl(), Day::integer()) -> wxCalendarDateAttr:wxCalendarDateAttr() %% @doc See external documentation. +-spec getAttr(This, Day) -> wxCalendarDateAttr:wxCalendarDateAttr() when + This::wxCalendarCtrl(), Day::integer(). getAttr(#wx_ref{type=ThisT,ref=ThisRef},Day) when is_integer(Day) -> ?CLASS(ThisT,wxCalendarCtrl), wxe_util:call(?wxCalendarCtrl_GetAttr, <>). -%% @spec (This::wxCalendarCtrl(), Day::integer(), Attr::wxCalendarDateAttr:wxCalendarDateAttr()) -> ok %% @doc See external documentation. +-spec setAttr(This, Day, Attr) -> ok when + This::wxCalendarCtrl(), Day::integer(), Attr::wxCalendarDateAttr:wxCalendarDateAttr(). setAttr(#wx_ref{type=ThisT,ref=ThisRef},Day,#wx_ref{type=AttrT,ref=AttrRef}) when is_integer(Day) -> ?CLASS(ThisT,wxCalendarCtrl), @@ -281,36 +317,38 @@ setAttr(#wx_ref{type=ThisT,ref=ThisRef},Day,#wx_ref{type=AttrT,ref=AttrRef}) wxe_util:cast(?wxCalendarCtrl_SetAttr, <>). -%% @spec (This::wxCalendarCtrl(), Day::integer()) -> ok %% @doc See external documentation. +-spec setHoliday(This, Day) -> ok when + This::wxCalendarCtrl(), Day::integer(). setHoliday(#wx_ref{type=ThisT,ref=ThisRef},Day) when is_integer(Day) -> ?CLASS(ThisT,wxCalendarCtrl), wxe_util:cast(?wxCalendarCtrl_SetHoliday, <>). -%% @spec (This::wxCalendarCtrl(), Day::integer()) -> ok %% @doc See external documentation. +-spec resetAttr(This, Day) -> ok when + This::wxCalendarCtrl(), Day::integer(). resetAttr(#wx_ref{type=ThisT,ref=ThisRef},Day) when is_integer(Day) -> ?CLASS(ThisT,wxCalendarCtrl), wxe_util:cast(?wxCalendarCtrl_ResetAttr, <>). -%% @spec (This::wxCalendarCtrl(), Pos::{X::integer(), Y::integer()}) -> {WxCalendarHitTestResult, Date::wx:datetime(), Wd::WeekDay} -%% WxCalendarHitTestResult = integer() -%% WeekDay = integer() %% @doc See external documentation. -%%
WxCalendarHitTestResult is one of ?wxCAL_HITTEST_NOWHERE | ?wxCAL_HITTEST_HEADER | ?wxCAL_HITTEST_DAY | ?wxCAL_HITTEST_INCMONTH | ?wxCAL_HITTEST_DECMONTH | ?wxCAL_HITTEST_SURROUNDING_WEEK -%%
WeekDay is one of ?wxDateTime_Sun | ?wxDateTime_Mon | ?wxDateTime_Tue | ?wxDateTime_Wed | ?wxDateTime_Thu | ?wxDateTime_Fri | ?wxDateTime_Sat | ?wxDateTime_Inv_WeekDay +%%
Res = ?wxCAL_HITTEST_NOWHERE | ?wxCAL_HITTEST_HEADER | ?wxCAL_HITTEST_DAY | ?wxCAL_HITTEST_INCMONTH | ?wxCAL_HITTEST_DECMONTH | ?wxCAL_HITTEST_SURROUNDING_WEEK +%%
Wd = ?wxDateTime_Sun | ?wxDateTime_Mon | ?wxDateTime_Tue | ?wxDateTime_Wed | ?wxDateTime_Thu | ?wxDateTime_Fri | ?wxDateTime_Sat | ?wxDateTime_Inv_WeekDay +-spec hitTest(This, Pos) -> Result when + Result ::{Res ::wx:wx_enum(), Date::wx:wx_datetime(), Wd::wx:wx_enum()}, + This::wxCalendarCtrl(), Pos::{X::integer(), Y::integer()}. hitTest(#wx_ref{type=ThisT,ref=ThisRef},{PosX,PosY}) when is_integer(PosX),is_integer(PosY) -> ?CLASS(ThisT,wxCalendarCtrl), wxe_util:call(?wxCalendarCtrl_HitTest, <>). -%% @spec (This::wxCalendarCtrl()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxCalendarCtrl) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxCalendarCtrl), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxCalendarDateAttr.erl b/lib/wx/src/gen/wxCalendarDateAttr.erl index aea8abbe54..c674aee8d6 100644 --- a/lib/wx/src/gen/wxCalendarDateAttr.erl +++ b/lib/wx/src/gen/wxCalendarDateAttr.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,22 +32,22 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxCalendarDateAttr/0]). %% @hidden parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxCalendarDateAttr() +-type wxCalendarDateAttr() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxCalendarDateAttr(). new() -> wxe_util:construct(?wxCalendarDateAttr_new_0, <<>>). -%% @spec (X::WxCalendarDateBorder|term()) -> wxCalendarDateAttr() %% @doc See external documentation. -%%
Alternatives: -%%

-%% new(Border::WxCalendarDateBorder) -> new(Border, [])

-%%

-%% new(ColText::wx:colour()) -> new(ColText, [])

+-spec new(Border) -> wxCalendarDateAttr() when + Border::wx:wx_enum(); + (ColText) -> wxCalendarDateAttr() when + ColText::wx:wx_colour(). new(Border) when is_integer(Border) -> @@ -57,21 +57,16 @@ new(ColText) when tuple_size(ColText) =:= 3; tuple_size(ColText) =:= 4 -> new(ColText, []). -%% @spec (X::WxCalendarDateBorder|term(),[Option]) -> wxCalendarDateAttr() %% @doc See external documentation. -%%
Alternatives: -%%

-%% new(Border::WxCalendarDateBorder, [Option]) -> wxCalendarDateAttr() -%%
Option = {colBorder, wx:colour()} -%%
WxCalendarDateBorder = integer() -%%
WxCalendarDateBorder is one of ?wxCAL_BORDER_NONE | ?wxCAL_BORDER_SQUARE | ?wxCAL_BORDER_ROUND -%%

-%%

-%% new(ColText::wx:colour(), [Option]) -> wxCalendarDateAttr() -%%
Option = {colBack, wx:colour()} | {colBorder, wx:colour()} | {font, wxFont:wxFont()} | {border, WxCalendarDateBorder} -%%
WxCalendarDateBorder = integer() -%%
WxCalendarDateBorder is one of ?wxCAL_BORDER_NONE | ?wxCAL_BORDER_SQUARE | ?wxCAL_BORDER_ROUND -%%

+-spec new(Border, [Option]) -> wxCalendarDateAttr() when + Border::wx:wx_enum(), + Option :: {colBorder, wx:wx_colour()}; + (ColText, [Option]) -> wxCalendarDateAttr() when + ColText::wx:wx_colour(), + Option :: {colBack, wx:wx_colour()} + | {colBorder, wx:wx_colour()} + | {font, wxFont:wxFont()} + | {border, wx:wx_enum()}. new(Border, Options) when is_integer(Border),is_list(Options) -> MOpts = fun({colBorder, ColBorder}, Acc) -> [<<1:32/?UI,(wxe_util:colour_bin(ColBorder)):16/binary,0:32>>|Acc]; @@ -90,137 +85,152 @@ new(ColText, Options) wxe_util:construct(?wxCalendarDateAttr_new_2_1, <<(wxe_util:colour_bin(ColText)):16/binary, BinOpt/binary>>). -%% @spec (This::wxCalendarDateAttr(), ColText::wx:colour()) -> ok %% @doc See external documentation. +-spec setTextColour(This, ColText) -> ok when + This::wxCalendarDateAttr(), ColText::wx:wx_colour(). setTextColour(#wx_ref{type=ThisT,ref=ThisRef},ColText) when tuple_size(ColText) =:= 3; tuple_size(ColText) =:= 4 -> ?CLASS(ThisT,wxCalendarDateAttr), wxe_util:cast(?wxCalendarDateAttr_SetTextColour, <>). -%% @spec (This::wxCalendarDateAttr(), ColBack::wx:colour()) -> ok %% @doc See external documentation. +-spec setBackgroundColour(This, ColBack) -> ok when + This::wxCalendarDateAttr(), ColBack::wx:wx_colour(). setBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef},ColBack) when tuple_size(ColBack) =:= 3; tuple_size(ColBack) =:= 4 -> ?CLASS(ThisT,wxCalendarDateAttr), wxe_util:cast(?wxCalendarDateAttr_SetBackgroundColour, <>). -%% @spec (This::wxCalendarDateAttr(), Col::wx:colour()) -> ok %% @doc See external documentation. +-spec setBorderColour(This, Col) -> ok when + This::wxCalendarDateAttr(), Col::wx:wx_colour(). setBorderColour(#wx_ref{type=ThisT,ref=ThisRef},Col) when tuple_size(Col) =:= 3; tuple_size(Col) =:= 4 -> ?CLASS(ThisT,wxCalendarDateAttr), wxe_util:cast(?wxCalendarDateAttr_SetBorderColour, <>). -%% @spec (This::wxCalendarDateAttr(), Font::wxFont:wxFont()) -> ok %% @doc See external documentation. +-spec setFont(This, Font) -> ok when + This::wxCalendarDateAttr(), Font::wxFont:wxFont(). setFont(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FontT,ref=FontRef}) -> ?CLASS(ThisT,wxCalendarDateAttr), ?CLASS(FontT,wxFont), wxe_util:cast(?wxCalendarDateAttr_SetFont, <>). -%% @spec (This::wxCalendarDateAttr(), Border::WxCalendarDateBorder) -> ok -%% WxCalendarDateBorder = integer() %% @doc See external documentation. -%%
WxCalendarDateBorder is one of ?wxCAL_BORDER_NONE | ?wxCAL_BORDER_SQUARE | ?wxCAL_BORDER_ROUND +%%
Border = ?wxCAL_BORDER_NONE | ?wxCAL_BORDER_SQUARE | ?wxCAL_BORDER_ROUND +-spec setBorder(This, Border) -> ok when + This::wxCalendarDateAttr(), Border::wx:wx_enum(). setBorder(#wx_ref{type=ThisT,ref=ThisRef},Border) when is_integer(Border) -> ?CLASS(ThisT,wxCalendarDateAttr), wxe_util:cast(?wxCalendarDateAttr_SetBorder, <>). -%% @spec (This::wxCalendarDateAttr(), Holiday::bool()) -> ok %% @doc See external documentation. +-spec setHoliday(This, Holiday) -> ok when + This::wxCalendarDateAttr(), Holiday::boolean(). setHoliday(#wx_ref{type=ThisT,ref=ThisRef},Holiday) when is_boolean(Holiday) -> ?CLASS(ThisT,wxCalendarDateAttr), wxe_util:cast(?wxCalendarDateAttr_SetHoliday, <>). -%% @spec (This::wxCalendarDateAttr()) -> bool() %% @doc See external documentation. +-spec hasTextColour(This) -> boolean() when + This::wxCalendarDateAttr(). hasTextColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxCalendarDateAttr), wxe_util:call(?wxCalendarDateAttr_HasTextColour, <>). -%% @spec (This::wxCalendarDateAttr()) -> bool() %% @doc See external documentation. +-spec hasBackgroundColour(This) -> boolean() when + This::wxCalendarDateAttr(). hasBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxCalendarDateAttr), wxe_util:call(?wxCalendarDateAttr_HasBackgroundColour, <>). -%% @spec (This::wxCalendarDateAttr()) -> bool() %% @doc See external documentation. +-spec hasBorderColour(This) -> boolean() when + This::wxCalendarDateAttr(). hasBorderColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxCalendarDateAttr), wxe_util:call(?wxCalendarDateAttr_HasBorderColour, <>). -%% @spec (This::wxCalendarDateAttr()) -> bool() %% @doc See external documentation. +-spec hasFont(This) -> boolean() when + This::wxCalendarDateAttr(). hasFont(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxCalendarDateAttr), wxe_util:call(?wxCalendarDateAttr_HasFont, <>). -%% @spec (This::wxCalendarDateAttr()) -> bool() %% @doc See external documentation. +-spec hasBorder(This) -> boolean() when + This::wxCalendarDateAttr(). hasBorder(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxCalendarDateAttr), wxe_util:call(?wxCalendarDateAttr_HasBorder, <>). -%% @spec (This::wxCalendarDateAttr()) -> bool() %% @doc See external documentation. +-spec isHoliday(This) -> boolean() when + This::wxCalendarDateAttr(). isHoliday(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxCalendarDateAttr), wxe_util:call(?wxCalendarDateAttr_IsHoliday, <>). -%% @spec (This::wxCalendarDateAttr()) -> wx:colour() %% @doc See external documentation. +-spec getTextColour(This) -> wx:wx_colour() when + This::wxCalendarDateAttr(). getTextColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxCalendarDateAttr), wxe_util:call(?wxCalendarDateAttr_GetTextColour, <>). -%% @spec (This::wxCalendarDateAttr()) -> wx:colour() %% @doc See external documentation. +-spec getBackgroundColour(This) -> wx:wx_colour() when + This::wxCalendarDateAttr(). getBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxCalendarDateAttr), wxe_util:call(?wxCalendarDateAttr_GetBackgroundColour, <>). -%% @spec (This::wxCalendarDateAttr()) -> wx:colour() %% @doc See external documentation. +-spec getBorderColour(This) -> wx:wx_colour() when + This::wxCalendarDateAttr(). getBorderColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxCalendarDateAttr), wxe_util:call(?wxCalendarDateAttr_GetBorderColour, <>). -%% @spec (This::wxCalendarDateAttr()) -> wxFont:wxFont() %% @doc See external documentation. +-spec getFont(This) -> wxFont:wxFont() when + This::wxCalendarDateAttr(). getFont(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxCalendarDateAttr), wxe_util:call(?wxCalendarDateAttr_GetFont, <>). -%% @spec (This::wxCalendarDateAttr()) -> WxCalendarDateBorder -%% WxCalendarDateBorder = integer() %% @doc See external documentation. -%%
WxCalendarDateBorder is one of ?wxCAL_BORDER_NONE | ?wxCAL_BORDER_SQUARE | ?wxCAL_BORDER_ROUND +%%
Res = ?wxCAL_BORDER_NONE | ?wxCAL_BORDER_SQUARE | ?wxCAL_BORDER_ROUND +-spec getBorder(This) -> wx:wx_enum() when + This::wxCalendarDateAttr(). getBorder(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxCalendarDateAttr), wxe_util:call(?wxCalendarDateAttr_GetBorder, <>). -%% @spec (This::wxCalendarDateAttr()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxCalendarDateAttr) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxCalendarDateAttr), wxe_util:destroy(?wxCalendarDateAttr_destroy,Obj), diff --git a/lib/wx/src/gen/wxCalendarEvent.erl b/lib/wx/src/gen/wxCalendarEvent.erl index 40723711af..c062a7fa0d 100644 --- a/lib/wx/src/gen/wxCalendarEvent.erl +++ b/lib/wx/src/gen/wxCalendarEvent.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -41,16 +41,18 @@ isSelection/1,parent_class/1,resumePropagation/2,setInt/2,setString/2, shouldPropagate/1,skip/1,skip/2,stopPropagation/1]). +-export_type([wxCalendarEvent/0]). %% @hidden parent_class(wxDateEvent) -> true; parent_class(wxCommandEvent) -> true; parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxCalendarEvent()) -> WeekDay -%% WeekDay = integer() +-type wxCalendarEvent() :: wx:wx_object(). %% @doc See external documentation. -%%
WeekDay is one of ?wxDateTime_Sun | ?wxDateTime_Mon | ?wxDateTime_Tue | ?wxDateTime_Wed | ?wxDateTime_Thu | ?wxDateTime_Fri | ?wxDateTime_Sat | ?wxDateTime_Inv_WeekDay +%%
Res = ?wxDateTime_Sun | ?wxDateTime_Mon | ?wxDateTime_Tue | ?wxDateTime_Wed | ?wxDateTime_Thu | ?wxDateTime_Fri | ?wxDateTime_Sat | ?wxDateTime_Inv_WeekDay +-spec getWeekDay(This) -> wx:wx_enum() when + This::wxCalendarEvent(). getWeekDay(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxCalendarEvent), wxe_util:call(?wxCalendarEvent_GetWeekDay, diff --git a/lib/wx/src/gen/wxCaret.erl b/lib/wx/src/gen/wxCaret.erl index cbd868f388..a1f8c29a7f 100644 --- a/lib/wx/src/gen/wxCaret.erl +++ b/lib/wx/src/gen/wxCaret.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -31,27 +31,32 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxCaret/0]). %% @hidden parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (Window::wxWindow:wxWindow(), Size::{W::integer(), H::integer()}) -> wxCaret() +-type wxCaret() :: wx:wx_object(). %% @doc See external documentation. +-spec new(Window, Size) -> wxCaret() when + Window::wxWindow:wxWindow(), Size::{W::integer(), H::integer()}. new(#wx_ref{type=WindowT,ref=WindowRef},{SizeW,SizeH}) when is_integer(SizeW),is_integer(SizeH) -> ?CLASS(WindowT,wxWindow), wxe_util:construct(?wxCaret_new_2, <>). -%% @spec (Window::wxWindow:wxWindow(), Width::integer(), Height::integer()) -> wxCaret() %% @doc See external documentation. +-spec new(Window, Width, Height) -> wxCaret() when + Window::wxWindow:wxWindow(), Width::integer(), Height::integer(). new(#wx_ref{type=WindowT,ref=WindowRef},Width,Height) when is_integer(Width),is_integer(Height) -> ?CLASS(WindowT,wxWindow), wxe_util:construct(?wxCaret_new_3, <>). -%% @spec (This::wxCaret(), Window::wxWindow:wxWindow(), Size::{W::integer(), H::integer()}) -> bool() %% @doc See external documentation. +-spec create(This, Window, Size) -> boolean() when + This::wxCaret(), Window::wxWindow:wxWindow(), Size::{W::integer(), H::integer()}. create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef},{SizeW,SizeH}) when is_integer(SizeW),is_integer(SizeH) -> ?CLASS(ThisT,wxCaret), @@ -59,8 +64,9 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef},{Size wxe_util:call(?wxCaret_Create_2, <>). -%% @spec (This::wxCaret(), Window::wxWindow:wxWindow(), Width::integer(), Height::integer()) -> bool() %% @doc See external documentation. +-spec create(This, Window, Width, Height) -> boolean() when + This::wxCaret(), Window::wxWindow:wxWindow(), Width::integer(), Height::integer(). create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef},Width,Height) when is_integer(Width),is_integer(Height) -> ?CLASS(ThisT,wxCaret), @@ -68,102 +74,116 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef},Width wxe_util:call(?wxCaret_Create_3, <>). -%% @spec () -> integer() %% @doc See external documentation. +-spec getBlinkTime() -> integer(). getBlinkTime() -> wxe_util:call(?wxCaret_GetBlinkTime, <<>>). -%% @spec (This::wxCaret()) -> {X::integer(), Y::integer()} %% @doc See external documentation. +-spec getPosition(This) -> {X::integer(), Y::integer()} when + This::wxCaret(). getPosition(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxCaret), wxe_util:call(?wxCaret_GetPosition, <>). -%% @spec (This::wxCaret()) -> {W::integer(), H::integer()} %% @doc See external documentation. +-spec getSize(This) -> {W::integer(), H::integer()} when + This::wxCaret(). getSize(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxCaret), wxe_util:call(?wxCaret_GetSize, <>). -%% @spec (This::wxCaret()) -> wxWindow:wxWindow() %% @doc See external documentation. +-spec getWindow(This) -> wxWindow:wxWindow() when + This::wxCaret(). getWindow(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxCaret), wxe_util:call(?wxCaret_GetWindow, <>). -%% @spec (This::wxCaret()) -> ok %% @doc See external documentation. +-spec hide(This) -> ok when + This::wxCaret(). hide(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxCaret), wxe_util:cast(?wxCaret_Hide, <>). -%% @spec (This::wxCaret()) -> bool() %% @doc See external documentation. +-spec isOk(This) -> boolean() when + This::wxCaret(). isOk(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxCaret), wxe_util:call(?wxCaret_IsOk, <>). -%% @spec (This::wxCaret()) -> bool() %% @doc See external documentation. +-spec isVisible(This) -> boolean() when + This::wxCaret(). isVisible(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxCaret), wxe_util:call(?wxCaret_IsVisible, <>). -%% @spec (This::wxCaret(), Pt::{X::integer(), Y::integer()}) -> ok %% @doc See external documentation. +-spec move(This, Pt) -> ok when + This::wxCaret(), Pt::{X::integer(), Y::integer()}. move(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY}) when is_integer(PtX),is_integer(PtY) -> ?CLASS(ThisT,wxCaret), wxe_util:cast(?wxCaret_Move_1, <>). -%% @spec (This::wxCaret(), X::integer(), Y::integer()) -> ok %% @doc See external documentation. +-spec move(This, X, Y) -> ok when + This::wxCaret(), X::integer(), Y::integer(). move(#wx_ref{type=ThisT,ref=ThisRef},X,Y) when is_integer(X),is_integer(Y) -> ?CLASS(ThisT,wxCaret), wxe_util:cast(?wxCaret_Move_2, <>). -%% @spec (Milliseconds::integer()) -> ok %% @doc See external documentation. +-spec setBlinkTime(Milliseconds) -> ok when + Milliseconds::integer(). setBlinkTime(Milliseconds) when is_integer(Milliseconds) -> wxe_util:cast(?wxCaret_SetBlinkTime, <>). -%% @spec (This::wxCaret(), Size::{W::integer(), H::integer()}) -> ok %% @doc See external documentation. +-spec setSize(This, Size) -> ok when + This::wxCaret(), Size::{W::integer(), H::integer()}. setSize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH}) when is_integer(SizeW),is_integer(SizeH) -> ?CLASS(ThisT,wxCaret), wxe_util:cast(?wxCaret_SetSize_1, <>). -%% @spec (This::wxCaret(), Width::integer(), Height::integer()) -> ok %% @doc See external documentation. +-spec setSize(This, Width, Height) -> ok when + This::wxCaret(), Width::integer(), Height::integer(). setSize(#wx_ref{type=ThisT,ref=ThisRef},Width,Height) when is_integer(Width),is_integer(Height) -> ?CLASS(ThisT,wxCaret), wxe_util:cast(?wxCaret_SetSize_2, <>). -%% @spec (This::wxCaret()) -> ok %% @equiv show(This, []) +-spec show(This) -> ok when + This::wxCaret(). + show(This) when is_record(This, wx_ref) -> show(This, []). -%% @spec (This::wxCaret(), [Option]) -> ok -%% Option = {show, bool()} %% @doc See external documentation. +-spec show(This, [Option]) -> ok when + This::wxCaret(), + Option :: {show, boolean()}. show(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxCaret), @@ -173,8 +193,8 @@ show(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:cast(?wxCaret_Show, <>). -%% @spec (This::wxCaret()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxCaret) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxCaret), wxe_util:destroy(?wxCaret_destruct,Obj), diff --git a/lib/wx/src/gen/wxCheckBox.erl b/lib/wx/src/gen/wxCheckBox.erl index 19f01645c1..c629af6488 100644 --- a/lib/wx/src/gen/wxCheckBox.erl +++ b/lib/wx/src/gen/wxCheckBox.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -71,27 +71,35 @@ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1, update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxCheckBox/0]). %% @hidden parent_class(wxControl) -> true; parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxCheckBox() +-type wxCheckBox() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxCheckBox(). new() -> wxe_util:construct(?wxCheckBox_new_0, <<>>). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Label::string()) -> wxCheckBox() %% @equiv new(Parent,Id,Label, []) +-spec new(Parent, Id, Label) -> wxCheckBox() when + Parent::wxWindow:wxWindow(), Id::integer(), Label::string(). + new(Parent,Id,Label) when is_record(Parent, wx_ref),is_integer(Id),is_list(Label) -> new(Parent,Id,Label, []). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Label::string(), [Option]) -> wxCheckBox() -%% Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx:wx()} %% @doc See external documentation. +-spec new(Parent, Id, Label, [Option]) -> wxCheckBox() when + Parent::wxWindow:wxWindow(), Id::integer(), Label::string(), + Option :: {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()} + | {validator, wx:wx()}. new(#wx_ref{type=ParentT,ref=ParentRef},Id,Label, Options) when is_integer(Id),is_list(Label),is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -105,15 +113,21 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Id,Label, Options) wxe_util:construct(?wxCheckBox_new_4, <>). -%% @spec (This::wxCheckBox(), Parent::wxWindow:wxWindow(), Id::integer(), Label::string()) -> bool() %% @equiv create(This,Parent,Id,Label, []) +-spec create(This, Parent, Id, Label) -> boolean() when + This::wxCheckBox(), Parent::wxWindow:wxWindow(), Id::integer(), Label::string(). + create(This,Parent,Id,Label) when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id),is_list(Label) -> create(This,Parent,Id,Label, []). -%% @spec (This::wxCheckBox(), Parent::wxWindow:wxWindow(), Id::integer(), Label::string(), [Option]) -> bool() -%% Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx:wx()} %% @doc See external documentation. +-spec create(This, Parent, Id, Label, [Option]) -> boolean() when + This::wxCheckBox(), Parent::wxWindow:wxWindow(), Id::integer(), Label::string(), + Option :: {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()} + | {validator, wx:wx()}. create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,Label, Options) when is_integer(Id),is_list(Label),is_list(Options) -> ?CLASS(ThisT,wxCheckBox), @@ -128,63 +142,68 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,La wxe_util:call(?wxCheckBox_Create, <>). -%% @spec (This::wxCheckBox()) -> bool() %% @doc See external documentation. +-spec getValue(This) -> boolean() when + This::wxCheckBox(). getValue(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxCheckBox), wxe_util:call(?wxCheckBox_GetValue, <>). -%% @spec (This::wxCheckBox()) -> WxCheckBoxState -%% WxCheckBoxState = integer() %% @doc See external documentation. -%%
WxCheckBoxState is one of ?wxCHK_UNCHECKED | ?wxCHK_CHECKED | ?wxCHK_UNDETERMINED +%%
Res = ?wxCHK_UNCHECKED | ?wxCHK_CHECKED | ?wxCHK_UNDETERMINED +-spec get3StateValue(This) -> wx:wx_enum() when + This::wxCheckBox(). get3StateValue(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxCheckBox), wxe_util:call(?wxCheckBox_Get3StateValue, <>). -%% @spec (This::wxCheckBox()) -> bool() %% @doc See external documentation. +-spec is3rdStateAllowedForUser(This) -> boolean() when + This::wxCheckBox(). is3rdStateAllowedForUser(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxCheckBox), wxe_util:call(?wxCheckBox_Is3rdStateAllowedForUser, <>). -%% @spec (This::wxCheckBox()) -> bool() %% @doc See external documentation. +-spec is3State(This) -> boolean() when + This::wxCheckBox(). is3State(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxCheckBox), wxe_util:call(?wxCheckBox_Is3State, <>). -%% @spec (This::wxCheckBox()) -> bool() %% @doc See external documentation. +-spec isChecked(This) -> boolean() when + This::wxCheckBox(). isChecked(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxCheckBox), wxe_util:call(?wxCheckBox_IsChecked, <>). -%% @spec (This::wxCheckBox(), State::bool()) -> ok %% @doc See external documentation. +-spec setValue(This, State) -> ok when + This::wxCheckBox(), State::boolean(). setValue(#wx_ref{type=ThisT,ref=ThisRef},State) when is_boolean(State) -> ?CLASS(ThisT,wxCheckBox), wxe_util:cast(?wxCheckBox_SetValue, <>). -%% @spec (This::wxCheckBox(), State::WxCheckBoxState) -> ok -%% WxCheckBoxState = integer() %% @doc See external documentation. -%%
WxCheckBoxState is one of ?wxCHK_UNCHECKED | ?wxCHK_CHECKED | ?wxCHK_UNDETERMINED +%%
State = ?wxCHK_UNCHECKED | ?wxCHK_CHECKED | ?wxCHK_UNDETERMINED +-spec set3StateValue(This, State) -> ok when + This::wxCheckBox(), State::wx:wx_enum(). set3StateValue(#wx_ref{type=ThisT,ref=ThisRef},State) when is_integer(State) -> ?CLASS(ThisT,wxCheckBox), wxe_util:cast(?wxCheckBox_Set3StateValue, <>). -%% @spec (This::wxCheckBox()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxCheckBox) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxCheckBox), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxCheckListBox.erl b/lib/wx/src/gen/wxCheckListBox.erl index a1a07e1eec..457d58eebc 100644 --- a/lib/wx/src/gen/wxCheckListBox.erl +++ b/lib/wx/src/gen/wxCheckListBox.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -75,6 +75,7 @@ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1, update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxCheckListBox/0]). %% @hidden parent_class(wxListBox) -> true; parent_class(wxControlWithItems) -> true; @@ -83,21 +84,29 @@ parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxCheckListBox() +-type wxCheckListBox() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxCheckListBox(). new() -> wxe_util:construct(?wxCheckListBox_new_0, <<>>). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer()) -> wxCheckListBox() %% @equiv new(Parent,Id, []) +-spec new(Parent, Id) -> wxCheckListBox() when + Parent::wxWindow:wxWindow(), Id::integer(). + new(Parent,Id) when is_record(Parent, wx_ref),is_integer(Id) -> new(Parent,Id, []). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> wxCheckListBox() -%% Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {choices, [[string()]]} | {style, integer()} | {validator, wx:wx()} %% @doc See external documentation. +-spec new(Parent, Id, [Option]) -> wxCheckListBox() when + Parent::wxWindow:wxWindow(), Id::integer(), + Option :: {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {choices, [[string()]]} + | {style, integer()} + | {validator, wx:wx()}. new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options) when is_integer(Id),is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -111,15 +120,18 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options) wxe_util:construct(?wxCheckListBox_new_3, <>). -%% @spec (This::wxCheckListBox(), Index::integer()) -> ok %% @equiv check(This,Index, []) +-spec check(This, Index) -> ok when + This::wxCheckListBox(), Index::integer(). + check(This,Index) when is_record(This, wx_ref),is_integer(Index) -> check(This,Index, []). -%% @spec (This::wxCheckListBox(), Index::integer(), [Option]) -> ok -%% Option = {check, bool()} %% @doc See external documentation. +-spec check(This, Index, [Option]) -> ok when + This::wxCheckListBox(), Index::integer(), + Option :: {check, boolean()}. check(#wx_ref{type=ThisT,ref=ThisRef},Index, Options) when is_integer(Index),is_list(Options) -> ?CLASS(ThisT,wxCheckListBox), @@ -129,16 +141,17 @@ check(#wx_ref{type=ThisT,ref=ThisRef},Index, Options) wxe_util:cast(?wxCheckListBox_Check, <>). -%% @spec (This::wxCheckListBox(), Index::integer()) -> bool() %% @doc See external documentation. +-spec isChecked(This, Index) -> boolean() when + This::wxCheckListBox(), Index::integer(). isChecked(#wx_ref{type=ThisT,ref=ThisRef},Index) when is_integer(Index) -> ?CLASS(ThisT,wxCheckListBox), wxe_util:call(?wxCheckListBox_IsChecked, <>). -%% @spec (This::wxCheckListBox()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxCheckListBox) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxCheckListBox), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxChildFocusEvent.erl b/lib/wx/src/gen/wxChildFocusEvent.erl index a20071cbf5..642db88c06 100644 --- a/lib/wx/src/gen/wxChildFocusEvent.erl +++ b/lib/wx/src/gen/wxChildFocusEvent.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,13 +40,16 @@ parent_class/1,resumePropagation/2,setInt/2,setString/2,shouldPropagate/1, skip/1,skip/2,stopPropagation/1]). +-export_type([wxChildFocusEvent/0]). %% @hidden parent_class(wxCommandEvent) -> true; parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxChildFocusEvent()) -> wxWindow:wxWindow() +-type wxChildFocusEvent() :: wx:wx_object(). %% @doc See external documentation. +-spec getWindow(This) -> wxWindow:wxWindow() when + This::wxChildFocusEvent(). getWindow(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxChildFocusEvent), wxe_util:call(?wxChildFocusEvent_GetWindow, diff --git a/lib/wx/src/gen/wxChoice.erl b/lib/wx/src/gen/wxChoice.erl index fa967d8487..983e74e65a 100644 --- a/lib/wx/src/gen/wxChoice.erl +++ b/lib/wx/src/gen/wxChoice.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -74,6 +74,7 @@ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1, update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxChoice/0]). %% @hidden parent_class(wxControlWithItems) -> true; parent_class(wxControl) -> true; @@ -81,21 +82,29 @@ parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxChoice() +-type wxChoice() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxChoice(). new() -> wxe_util:construct(?wxChoice_new_0, <<>>). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer()) -> wxChoice() %% @equiv new(Parent,Id, []) +-spec new(Parent, Id) -> wxChoice() when + Parent::wxWindow:wxWindow(), Id::integer(). + new(Parent,Id) when is_record(Parent, wx_ref),is_integer(Id) -> new(Parent,Id, []). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> wxChoice() -%% Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {choices, [[string()]]} | {style, integer()} | {validator, wx:wx()} %% @doc See external documentation. +-spec new(Parent, Id, [Option]) -> wxChoice() when + Parent::wxWindow:wxWindow(), Id::integer(), + Option :: {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {choices, [[string()]]} + | {style, integer()} + | {validator, wx:wx()}. new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options) when is_integer(Id),is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -109,15 +118,19 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options) wxe_util:construct(?wxChoice_new_3, <>). -%% @spec (This::wxChoice(), Parent::wxWindow:wxWindow(), Id::integer(), Pos::{X::integer(), Y::integer()}, Size::{W::integer(), H::integer()}, Choices::[[string()]]) -> bool() %% @equiv create(This,Parent,Id,Pos,Size,Choices, []) +-spec create(This, Parent, Id, Pos, Size, Choices) -> boolean() when + This::wxChoice(), Parent::wxWindow:wxWindow(), Id::integer(), Pos::{X::integer(), Y::integer()}, Size::{W::integer(), H::integer()}, Choices::[[string()]]. + create(This,Parent,Id,Pos={PosX,PosY},Size={SizeW,SizeH},Choices) when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id),is_integer(PosX),is_integer(PosY),is_integer(SizeW),is_integer(SizeH),is_list(Choices) -> create(This,Parent,Id,Pos,Size,Choices, []). -%% @spec (This::wxChoice(), Parent::wxWindow:wxWindow(), Id::integer(), Pos::{X::integer(), Y::integer()}, Size::{W::integer(), H::integer()}, Choices::[[string()]], [Option]) -> bool() -%% Option = {style, integer()} | {validator, wx:wx()} %% @doc See external documentation. +-spec create(This, Parent, Id, Pos, Size, Choices, [Option]) -> boolean() when + This::wxChoice(), Parent::wxWindow:wxWindow(), Id::integer(), Pos::{X::integer(), Y::integer()}, Size::{W::integer(), H::integer()}, Choices::[[string()]], + Option :: {style, integer()} + | {validator, wx:wx()}. create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,{PosX,PosY},{SizeW,SizeH},Choices, Options) when is_integer(Id),is_integer(PosX),is_integer(PosY),is_integer(SizeW),is_integer(SizeH),is_list(Choices),is_list(Options) -> ?CLASS(ThisT,wxChoice), @@ -131,30 +144,35 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,{P wxe_util:call(?wxChoice_Create, <>|| UC_Str <- Choices_UCA>>)/binary, 0:(((8- ((0 + lists:sum([byte_size(S)+4||S<-Choices_UCA])) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>). -%% @spec (This::wxChoice(), N::integer()) -> ok %% @doc See external documentation. +-spec delete(This, N) -> ok when + This::wxChoice(), N::integer(). delete(#wx_ref{type=ThisT,ref=ThisRef},N) when is_integer(N) -> ?CLASS(ThisT,wxChoice), wxe_util:cast(?wxChoice_Delete, <>). -%% @spec (This::wxChoice()) -> integer() %% @doc See external documentation. +-spec getColumns(This) -> integer() when + This::wxChoice(). getColumns(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxChoice), wxe_util:call(?wxChoice_GetColumns, <>). -%% @spec (This::wxChoice()) -> ok %% @equiv setColumns(This, []) +-spec setColumns(This) -> ok when + This::wxChoice(). + setColumns(This) when is_record(This, wx_ref) -> setColumns(This, []). -%% @spec (This::wxChoice(), [Option]) -> ok -%% Option = {n, integer()} %% @doc See external documentation. +-spec setColumns(This, [Option]) -> ok when + This::wxChoice(), + Option :: {n, integer()}. setColumns(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxChoice), @@ -164,8 +182,8 @@ setColumns(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:cast(?wxChoice_SetColumns, <>). -%% @spec (This::wxChoice()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxChoice) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxChoice), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxChoicebook.erl b/lib/wx/src/gen/wxChoicebook.erl index f37457f0ed..556170befa 100644 --- a/lib/wx/src/gen/wxChoicebook.erl +++ b/lib/wx/src/gen/wxChoicebook.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2009-2011. All Rights Reserved. +%% Copyright Ericsson AB 2009-2012. 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 @@ -74,27 +74,34 @@ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1, update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxChoicebook/0]). %% @hidden parent_class(wxControl) -> true; parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxChoicebook() +-type wxChoicebook() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxChoicebook(). new() -> wxe_util:construct(?wxChoicebook_new_0, <<>>). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer()) -> wxChoicebook() %% @equiv new(Parent,Id, []) +-spec new(Parent, Id) -> wxChoicebook() when + Parent::wxWindow:wxWindow(), Id::integer(). + new(Parent,Id) when is_record(Parent, wx_ref),is_integer(Id) -> new(Parent,Id, []). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> wxChoicebook() -%% Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} %% @doc See external documentation. +-spec new(Parent, Id, [Option]) -> wxChoicebook() when + Parent::wxWindow:wxWindow(), Id::integer(), + Option :: {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()}. new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options) when is_integer(Id),is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -106,15 +113,19 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options) wxe_util:construct(?wxChoicebook_new_3, <>). -%% @spec (This::wxChoicebook(), Page::wxWindow:wxWindow(), Text::string()) -> bool() %% @equiv addPage(This,Page,Text, []) +-spec addPage(This, Page, Text) -> boolean() when + This::wxChoicebook(), Page::wxWindow:wxWindow(), Text::string(). + addPage(This,Page,Text) when is_record(This, wx_ref),is_record(Page, wx_ref),is_list(Text) -> addPage(This,Page,Text, []). -%% @spec (This::wxChoicebook(), Page::wxWindow:wxWindow(), Text::string(), [Option]) -> bool() -%% Option = {bSelect, bool()} | {imageId, integer()} %% @doc See external documentation. +-spec addPage(This, Page, Text, [Option]) -> boolean() when + This::wxChoicebook(), Page::wxWindow:wxWindow(), Text::string(), + Option :: {bSelect, boolean()} + | {imageId, integer()}. addPage(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PageT,ref=PageRef},Text, Options) when is_list(Text),is_list(Options) -> ?CLASS(ThisT,wxChoicebook), @@ -127,15 +138,18 @@ addPage(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PageT,ref=PageRef},Text, Op wxe_util:call(?wxChoicebook_AddPage, <>). -%% @spec (This::wxChoicebook()) -> ok %% @equiv advanceSelection(This, []) +-spec advanceSelection(This) -> ok when + This::wxChoicebook(). + advanceSelection(This) when is_record(This, wx_ref) -> advanceSelection(This, []). -%% @spec (This::wxChoicebook(), [Option]) -> ok -%% Option = {forward, bool()} %% @doc See external documentation. +-spec advanceSelection(This, [Option]) -> ok when + This::wxChoicebook(), + Option :: {forward, boolean()}. advanceSelection(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxChoicebook), @@ -145,23 +159,29 @@ advanceSelection(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:cast(?wxChoicebook_AdvanceSelection, <>). -%% @spec (This::wxChoicebook(), ImageList::wxImageList:wxImageList()) -> ok %% @doc See external documentation. +-spec assignImageList(This, ImageList) -> ok when + This::wxChoicebook(), ImageList::wxImageList:wxImageList(). assignImageList(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ImageListT,ref=ImageListRef}) -> ?CLASS(ThisT,wxChoicebook), ?CLASS(ImageListT,wxImageList), wxe_util:cast(?wxChoicebook_AssignImageList, <>). -%% @spec (This::wxChoicebook(), Parent::wxWindow:wxWindow(), Id::integer()) -> bool() %% @equiv create(This,Parent,Id, []) +-spec create(This, Parent, Id) -> boolean() when + This::wxChoicebook(), Parent::wxWindow:wxWindow(), Id::integer(). + create(This,Parent,Id) when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id) -> create(This,Parent,Id, []). -%% @spec (This::wxChoicebook(), Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> bool() -%% Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} %% @doc See external documentation. +-spec create(This, Parent, Id, [Option]) -> boolean() when + This::wxChoicebook(), Parent::wxWindow:wxWindow(), Id::integer(), + Option :: {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()}. create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id, Options) when is_integer(Id),is_list(Options) -> ?CLASS(ThisT,wxChoicebook), @@ -174,98 +194,114 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id, O wxe_util:call(?wxChoicebook_Create, <>). -%% @spec (This::wxChoicebook()) -> bool() %% @doc See external documentation. +-spec deleteAllPages(This) -> boolean() when + This::wxChoicebook(). deleteAllPages(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxChoicebook), wxe_util:call(?wxChoicebook_DeleteAllPages, <>). -%% @spec (This::wxChoicebook(), N::integer()) -> bool() %% @doc See external documentation. +-spec deletePage(This, N) -> boolean() when + This::wxChoicebook(), N::integer(). deletePage(#wx_ref{type=ThisT,ref=ThisRef},N) when is_integer(N) -> ?CLASS(ThisT,wxChoicebook), wxe_util:call(?wxChoicebook_DeletePage, <>). -%% @spec (This::wxChoicebook(), N::integer()) -> bool() %% @doc See external documentation. +-spec removePage(This, N) -> boolean() when + This::wxChoicebook(), N::integer(). removePage(#wx_ref{type=ThisT,ref=ThisRef},N) when is_integer(N) -> ?CLASS(ThisT,wxChoicebook), wxe_util:call(?wxChoicebook_RemovePage, <>). -%% @spec (This::wxChoicebook()) -> wxWindow:wxWindow() %% @doc See external documentation. +-spec getCurrentPage(This) -> wxWindow:wxWindow() when + This::wxChoicebook(). getCurrentPage(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxChoicebook), wxe_util:call(?wxChoicebook_GetCurrentPage, <>). -%% @spec (This::wxChoicebook()) -> wxImageList:wxImageList() %% @doc See external documentation. +-spec getImageList(This) -> wxImageList:wxImageList() when + This::wxChoicebook(). getImageList(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxChoicebook), wxe_util:call(?wxChoicebook_GetImageList, <>). -%% @spec (This::wxChoicebook(), N::integer()) -> wxWindow:wxWindow() %% @doc See external documentation. +-spec getPage(This, N) -> wxWindow:wxWindow() when + This::wxChoicebook(), N::integer(). getPage(#wx_ref{type=ThisT,ref=ThisRef},N) when is_integer(N) -> ?CLASS(ThisT,wxChoicebook), wxe_util:call(?wxChoicebook_GetPage, <>). -%% @spec (This::wxChoicebook()) -> integer() %% @doc See external documentation. +-spec getPageCount(This) -> integer() when + This::wxChoicebook(). getPageCount(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxChoicebook), wxe_util:call(?wxChoicebook_GetPageCount, <>). -%% @spec (This::wxChoicebook(), N::integer()) -> integer() %% @doc See external documentation. +-spec getPageImage(This, N) -> integer() when + This::wxChoicebook(), N::integer(). getPageImage(#wx_ref{type=ThisT,ref=ThisRef},N) when is_integer(N) -> ?CLASS(ThisT,wxChoicebook), wxe_util:call(?wxChoicebook_GetPageImage, <>). -%% @spec (This::wxChoicebook(), N::integer()) -> string() %% @doc See external documentation. +-spec getPageText(This, N) -> string() when + This::wxChoicebook(), N::integer(). getPageText(#wx_ref{type=ThisT,ref=ThisRef},N) when is_integer(N) -> ?CLASS(ThisT,wxChoicebook), wxe_util:call(?wxChoicebook_GetPageText, <>). -%% @spec (This::wxChoicebook()) -> integer() %% @doc See external documentation. +-spec getSelection(This) -> integer() when + This::wxChoicebook(). getSelection(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxChoicebook), wxe_util:call(?wxChoicebook_GetSelection, <>). -%% @spec (This::wxChoicebook(), Pt::{X::integer(), Y::integer()}) -> {integer(), Flags::integer()} %% @doc See external documentation. +-spec hitTest(This, Pt) -> Result when + Result ::{Res ::integer(), Flags::integer()}, + This::wxChoicebook(), Pt::{X::integer(), Y::integer()}. hitTest(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY}) when is_integer(PtX),is_integer(PtY) -> ?CLASS(ThisT,wxChoicebook), wxe_util:call(?wxChoicebook_HitTest, <>). -%% @spec (This::wxChoicebook(), N::integer(), Page::wxWindow:wxWindow(), Text::string()) -> bool() %% @equiv insertPage(This,N,Page,Text, []) +-spec insertPage(This, N, Page, Text) -> boolean() when + This::wxChoicebook(), N::integer(), Page::wxWindow:wxWindow(), Text::string(). + insertPage(This,N,Page,Text) when is_record(This, wx_ref),is_integer(N),is_record(Page, wx_ref),is_list(Text) -> insertPage(This,N,Page,Text, []). -%% @spec (This::wxChoicebook(), N::integer(), Page::wxWindow:wxWindow(), Text::string(), [Option]) -> bool() -%% Option = {bSelect, bool()} | {imageId, integer()} %% @doc See external documentation. +-spec insertPage(This, N, Page, Text, [Option]) -> boolean() when + This::wxChoicebook(), N::integer(), Page::wxWindow:wxWindow(), Text::string(), + Option :: {bSelect, boolean()} + | {imageId, integer()}. insertPage(#wx_ref{type=ThisT,ref=ThisRef},N,#wx_ref{type=PageT,ref=PageRef},Text, Options) when is_integer(N),is_list(Text),is_list(Options) -> ?CLASS(ThisT,wxChoicebook), @@ -278,32 +314,36 @@ insertPage(#wx_ref{type=ThisT,ref=ThisRef},N,#wx_ref{type=PageT,ref=PageRef},Tex wxe_util:call(?wxChoicebook_InsertPage, <>). -%% @spec (This::wxChoicebook(), ImageList::wxImageList:wxImageList()) -> ok %% @doc See external documentation. +-spec setImageList(This, ImageList) -> ok when + This::wxChoicebook(), ImageList::wxImageList:wxImageList(). setImageList(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ImageListT,ref=ImageListRef}) -> ?CLASS(ThisT,wxChoicebook), ?CLASS(ImageListT,wxImageList), wxe_util:cast(?wxChoicebook_SetImageList, <>). -%% @spec (This::wxChoicebook(), Size::{W::integer(), H::integer()}) -> ok %% @doc See external documentation. +-spec setPageSize(This, Size) -> ok when + This::wxChoicebook(), Size::{W::integer(), H::integer()}. setPageSize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH}) when is_integer(SizeW),is_integer(SizeH) -> ?CLASS(ThisT,wxChoicebook), wxe_util:cast(?wxChoicebook_SetPageSize, <>). -%% @spec (This::wxChoicebook(), N::integer(), ImageId::integer()) -> bool() %% @doc See external documentation. +-spec setPageImage(This, N, ImageId) -> boolean() when + This::wxChoicebook(), N::integer(), ImageId::integer(). setPageImage(#wx_ref{type=ThisT,ref=ThisRef},N,ImageId) when is_integer(N),is_integer(ImageId) -> ?CLASS(ThisT,wxChoicebook), wxe_util:call(?wxChoicebook_SetPageImage, <>). -%% @spec (This::wxChoicebook(), N::integer(), StrText::string()) -> bool() %% @doc See external documentation. +-spec setPageText(This, N, StrText) -> boolean() when + This::wxChoicebook(), N::integer(), StrText::string(). setPageText(#wx_ref{type=ThisT,ref=ThisRef},N,StrText) when is_integer(N),is_list(StrText) -> ?CLASS(ThisT,wxChoicebook), @@ -311,24 +351,26 @@ setPageText(#wx_ref{type=ThisT,ref=ThisRef},N,StrText) wxe_util:call(?wxChoicebook_SetPageText, <>). -%% @spec (This::wxChoicebook(), N::integer()) -> integer() %% @doc See external documentation. +-spec setSelection(This, N) -> integer() when + This::wxChoicebook(), N::integer(). setSelection(#wx_ref{type=ThisT,ref=ThisRef},N) when is_integer(N) -> ?CLASS(ThisT,wxChoicebook), wxe_util:call(?wxChoicebook_SetSelection, <>). -%% @spec (This::wxChoicebook(), N::integer()) -> integer() %% @doc See external documentation. +-spec changeSelection(This, N) -> integer() when + This::wxChoicebook(), N::integer(). changeSelection(#wx_ref{type=ThisT,ref=ThisRef},N) when is_integer(N) -> ?CLASS(ThisT,wxChoicebook), wxe_util:call(?wxChoicebook_ChangeSelection, <>). -%% @spec (This::wxChoicebook()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxChoicebook) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxChoicebook), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxClientDC.erl b/lib/wx/src/gen/wxClientDC.erl index c966fb50cc..bdd344ca85 100644 --- a/lib/wx/src/gen/wxClientDC.erl +++ b/lib/wx/src/gen/wxClientDC.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -53,26 +53,29 @@ setPen/2,setTextBackground/2,setTextForeground/2,setUserScale/3,startDoc/2, startPage/1]). +-export_type([wxClientDC/0]). %% @hidden parent_class(wxWindowDC) -> true; parent_class(wxDC) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxClientDC() +-type wxClientDC() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxClientDC(). new() -> wxe_util:construct(?wxClientDC_new_0, <<>>). -%% @spec (Win::wxWindow:wxWindow()) -> wxClientDC() %% @doc See external documentation. +-spec new(Win) -> wxClientDC() when + Win::wxWindow:wxWindow(). new(#wx_ref{type=WinT,ref=WinRef}) -> ?CLASS(WinT,wxWindow), wxe_util:construct(?wxClientDC_new_1, <>). -%% @spec (This::wxClientDC()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxClientDC) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxClientDC), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxClipboard.erl b/lib/wx/src/gen/wxClipboard.erl index 7ae27b3133..73f57c681e 100644 --- a/lib/wx/src/gen/wxClipboard.erl +++ b/lib/wx/src/gen/wxClipboard.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,83 +30,96 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxClipboard/0]). %% @hidden parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxClipboard() +-type wxClipboard() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxClipboard(). new() -> wxe_util:construct(?wxClipboard_new, <<>>). -%% @spec (This::wxClipboard(), Data::wxDataObject:wxDataObject()) -> bool() %% @doc See external documentation. +-spec addData(This, Data) -> boolean() when + This::wxClipboard(), Data::wxDataObject:wxDataObject(). addData(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=DataT,ref=DataRef}) -> ?CLASS(ThisT,wxClipboard), ?CLASS(DataT,wxDataObject), wxe_util:call(?wxClipboard_AddData, <>). -%% @spec (This::wxClipboard()) -> ok %% @doc See external documentation. +-spec clear(This) -> ok when + This::wxClipboard(). clear(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxClipboard), wxe_util:cast(?wxClipboard_Clear, <>). -%% @spec (This::wxClipboard()) -> ok %% @doc See external documentation. +-spec close(This) -> ok when + This::wxClipboard(). close(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxClipboard), wxe_util:cast(?wxClipboard_Close, <>). -%% @spec (This::wxClipboard()) -> bool() %% @doc See external documentation. +-spec flush(This) -> boolean() when + This::wxClipboard(). flush(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxClipboard), wxe_util:call(?wxClipboard_Flush, <>). -%% @spec (This::wxClipboard(), Data::wxDataObject:wxDataObject()) -> bool() %% @doc See external documentation. +-spec getData(This, Data) -> boolean() when + This::wxClipboard(), Data::wxDataObject:wxDataObject(). getData(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=DataT,ref=DataRef}) -> ?CLASS(ThisT,wxClipboard), ?CLASS(DataT,wxDataObject), wxe_util:call(?wxClipboard_GetData, <>). -%% @spec (This::wxClipboard()) -> bool() %% @doc See external documentation. +-spec isOpened(This) -> boolean() when + This::wxClipboard(). isOpened(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxClipboard), wxe_util:call(?wxClipboard_IsOpened, <>). -%% @spec (This::wxClipboard()) -> bool() %% @doc See external documentation. +-spec open(This) -> boolean() when + This::wxClipboard(). open(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxClipboard), wxe_util:call(?wxClipboard_Open, <>). -%% @spec (This::wxClipboard(), Data::wxDataObject:wxDataObject()) -> bool() %% @doc See external documentation. +-spec setData(This, Data) -> boolean() when + This::wxClipboard(), Data::wxDataObject:wxDataObject(). setData(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=DataT,ref=DataRef}) -> ?CLASS(ThisT,wxClipboard), ?CLASS(DataT,wxDataObject), wxe_util:call(?wxClipboard_SetData, <>). -%% @spec (This::wxClipboard()) -> ok %% @equiv usePrimarySelection(This, []) +-spec usePrimarySelection(This) -> ok when + This::wxClipboard(). + usePrimarySelection(This) when is_record(This, wx_ref) -> usePrimarySelection(This, []). -%% @spec (This::wxClipboard(), [Option]) -> ok -%% Option = {primary, bool()} %% @doc See external documentation. +-spec usePrimarySelection(This, [Option]) -> ok when + This::wxClipboard(), + Option :: {primary, boolean()}. usePrimarySelection(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxClipboard), @@ -116,22 +129,23 @@ usePrimarySelection(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:cast(?wxClipboard_UsePrimarySelection, <>). -%% @spec (This::wxClipboard(), Format::integer()) -> bool() %% @doc See external documentation. +-spec isSupported(This, Format) -> boolean() when + This::wxClipboard(), Format::integer(). isSupported(#wx_ref{type=ThisT,ref=ThisRef},Format) when is_integer(Format) -> ?CLASS(ThisT,wxClipboard), wxe_util:call(?wxClipboard_IsSupported, <>). -%% @spec () -> wxClipboard() %% @doc See external documentation. +-spec get() -> wxClipboard(). get() -> wxe_util:call(?wxClipboard_Get, <<>>). -%% @spec (This::wxClipboard()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxClipboard) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxClipboard), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxCloseEvent.erl b/lib/wx/src/gen/wxCloseEvent.erl index 706d7701de..4a682c906e 100644 --- a/lib/wx/src/gen/wxCloseEvent.erl +++ b/lib/wx/src/gen/wxCloseEvent.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,49 +37,58 @@ -export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1, resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]). +-export_type([wxCloseEvent/0]). %% @hidden parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxCloseEvent()) -> bool() +-type wxCloseEvent() :: wx:wx_object(). %% @doc See external documentation. +-spec canVeto(This) -> boolean() when + This::wxCloseEvent(). canVeto(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxCloseEvent), wxe_util:call(?wxCloseEvent_CanVeto, <>). -%% @spec (This::wxCloseEvent()) -> bool() %% @doc See external documentation. +-spec getLoggingOff(This) -> boolean() when + This::wxCloseEvent(). getLoggingOff(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxCloseEvent), wxe_util:call(?wxCloseEvent_GetLoggingOff, <>). -%% @spec (This::wxCloseEvent(), CanVeto::bool()) -> ok %% @doc See external documentation. +-spec setCanVeto(This, CanVeto) -> ok when + This::wxCloseEvent(), CanVeto::boolean(). setCanVeto(#wx_ref{type=ThisT,ref=ThisRef},CanVeto) when is_boolean(CanVeto) -> ?CLASS(ThisT,wxCloseEvent), wxe_util:cast(?wxCloseEvent_SetCanVeto, <>). -%% @spec (This::wxCloseEvent(), LogOff::bool()) -> ok %% @doc See external documentation. +-spec setLoggingOff(This, LogOff) -> ok when + This::wxCloseEvent(), LogOff::boolean(). setLoggingOff(#wx_ref{type=ThisT,ref=ThisRef},LogOff) when is_boolean(LogOff) -> ?CLASS(ThisT,wxCloseEvent), wxe_util:cast(?wxCloseEvent_SetLoggingOff, <>). -%% @spec (This::wxCloseEvent()) -> ok %% @equiv veto(This, []) +-spec veto(This) -> ok when + This::wxCloseEvent(). + veto(This) when is_record(This, wx_ref) -> veto(This, []). -%% @spec (This::wxCloseEvent(), [Option]) -> ok -%% Option = {veto, bool()} %% @doc See external documentation. +-spec veto(This, [Option]) -> ok when + This::wxCloseEvent(), + Option :: {veto, boolean()}. veto(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxCloseEvent), diff --git a/lib/wx/src/gen/wxColourData.erl b/lib/wx/src/gen/wxColourData.erl index dc77ea043c..01b73a59f0 100644 --- a/lib/wx/src/gen/wxColourData.erl +++ b/lib/wx/src/gen/wxColourData.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,70 +30,79 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxColourData/0]). %% @hidden parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxColourData() +-type wxColourData() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxColourData(). new() -> wxe_util:construct(?wxColourData_new_0, <<>>). -%% @spec (Data::wxColourData()) -> wxColourData() %% @doc See external documentation. +-spec new(Data) -> wxColourData() when + Data::wxColourData(). new(#wx_ref{type=DataT,ref=DataRef}) -> ?CLASS(DataT,wxColourData), wxe_util:construct(?wxColourData_new_1, <>). -%% @spec (This::wxColourData()) -> bool() %% @doc See external documentation. +-spec getChooseFull(This) -> boolean() when + This::wxColourData(). getChooseFull(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxColourData), wxe_util:call(?wxColourData_GetChooseFull, <>). -%% @spec (This::wxColourData()) -> wx:colour() %% @doc See external documentation. +-spec getColour(This) -> wx:wx_colour() when + This::wxColourData(). getColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxColourData), wxe_util:call(?wxColourData_GetColour, <>). -%% @spec (This::wxColourData(), I::integer()) -> wx:colour() %% @doc See external documentation. +-spec getCustomColour(This, I) -> wx:wx_colour() when + This::wxColourData(), I::integer(). getCustomColour(#wx_ref{type=ThisT,ref=ThisRef},I) when is_integer(I) -> ?CLASS(ThisT,wxColourData), wxe_util:call(?wxColourData_GetCustomColour, <>). -%% @spec (This::wxColourData(), Flag::bool()) -> ok %% @doc See external documentation. +-spec setChooseFull(This, Flag) -> ok when + This::wxColourData(), Flag::boolean(). setChooseFull(#wx_ref{type=ThisT,ref=ThisRef},Flag) when is_boolean(Flag) -> ?CLASS(ThisT,wxColourData), wxe_util:cast(?wxColourData_SetChooseFull, <>). -%% @spec (This::wxColourData(), Colour::wx:colour()) -> ok %% @doc See external documentation. +-spec setColour(This, Colour) -> ok when + This::wxColourData(), Colour::wx:wx_colour(). setColour(#wx_ref{type=ThisT,ref=ThisRef},Colour) when tuple_size(Colour) =:= 3; tuple_size(Colour) =:= 4 -> ?CLASS(ThisT,wxColourData), wxe_util:cast(?wxColourData_SetColour, <>). -%% @spec (This::wxColourData(), I::integer(), Colour::wx:colour()) -> ok %% @doc See external documentation. +-spec setCustomColour(This, I, Colour) -> ok when + This::wxColourData(), I::integer(), Colour::wx:wx_colour(). setCustomColour(#wx_ref{type=ThisT,ref=ThisRef},I,Colour) when is_integer(I),tuple_size(Colour) =:= 3; tuple_size(Colour) =:= 4 -> ?CLASS(ThisT,wxColourData), wxe_util:cast(?wxColourData_SetCustomColour, <>). -%% @spec (This::wxColourData()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxColourData) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxColourData), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxColourDialog.erl b/lib/wx/src/gen/wxColourDialog.erl index f5677d00ff..7e9ec1975f 100644 --- a/lib/wx/src/gen/wxColourDialog.erl +++ b/lib/wx/src/gen/wxColourDialog.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -77,6 +77,7 @@ transferDataFromWindow/1,transferDataToWindow/1,update/1,updateWindowUI/1, updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxColourDialog/0]). %% @hidden parent_class(wxDialog) -> true; parent_class(wxTopLevelWindow) -> true; @@ -84,21 +85,25 @@ parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxColourDialog() +-type wxColourDialog() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxColourDialog(). new() -> wxe_util:construct(?wxColourDialog_new_0, <<>>). -%% @spec (Parent::wxWindow:wxWindow()) -> wxColourDialog() %% @equiv new(Parent, []) +-spec new(Parent) -> wxColourDialog() when + Parent::wxWindow:wxWindow(). + new(Parent) when is_record(Parent, wx_ref) -> new(Parent, []). -%% @spec (Parent::wxWindow:wxWindow(), [Option]) -> wxColourDialog() -%% Option = {data, wxColourData:wxColourData()} %% @doc See external documentation. +-spec new(Parent, [Option]) -> wxColourDialog() when + Parent::wxWindow:wxWindow(), + Option :: {data, wxColourData:wxColourData()}. new(#wx_ref{type=ParentT,ref=ParentRef}, Options) when is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -108,15 +113,18 @@ new(#wx_ref{type=ParentT,ref=ParentRef}, Options) wxe_util:construct(?wxColourDialog_new_2, <>). -%% @spec (This::wxColourDialog(), Parent::wxWindow:wxWindow()) -> bool() %% @equiv create(This,Parent, []) +-spec create(This, Parent) -> boolean() when + This::wxColourDialog(), Parent::wxWindow:wxWindow(). + create(This,Parent) when is_record(This, wx_ref),is_record(Parent, wx_ref) -> create(This,Parent, []). -%% @spec (This::wxColourDialog(), Parent::wxWindow:wxWindow(), [Option]) -> bool() -%% Option = {data, wxColourData:wxColourData()} %% @doc See external documentation. +-spec create(This, Parent, [Option]) -> boolean() when + This::wxColourDialog(), Parent::wxWindow:wxWindow(), + Option :: {data, wxColourData:wxColourData()}. create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxColourDialog), @@ -127,15 +135,16 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}, Opti wxe_util:call(?wxColourDialog_Create, <>). -%% @spec (This::wxColourDialog()) -> wxColourData:wxColourData() %% @doc See external documentation. +-spec getColourData(This) -> wxColourData:wxColourData() when + This::wxColourDialog(). getColourData(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxColourDialog), wxe_util:call(?wxColourDialog_GetColourData, <>). -%% @spec (This::wxColourDialog()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxColourDialog) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxColourDialog), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxColourPickerCtrl.erl b/lib/wx/src/gen/wxColourPickerCtrl.erl index 60776925b9..91889006f9 100644 --- a/lib/wx/src/gen/wxColourPickerCtrl.erl +++ b/lib/wx/src/gen/wxColourPickerCtrl.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -74,6 +74,7 @@ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1, update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxColourPickerCtrl/0]). %% @hidden parent_class(wxPickerBase) -> true; parent_class(wxControl) -> true; @@ -81,21 +82,29 @@ parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxColourPickerCtrl() +-type wxColourPickerCtrl() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxColourPickerCtrl(). new() -> wxe_util:construct(?wxColourPickerCtrl_new_0, <<>>). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer()) -> wxColourPickerCtrl() %% @equiv new(Parent,Id, []) +-spec new(Parent, Id) -> wxColourPickerCtrl() when + Parent::wxWindow:wxWindow(), Id::integer(). + new(Parent,Id) when is_record(Parent, wx_ref),is_integer(Id) -> new(Parent,Id, []). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> wxColourPickerCtrl() -%% Option = {col, wx:colour()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx:wx()} %% @doc See external documentation. +-spec new(Parent, Id, [Option]) -> wxColourPickerCtrl() when + Parent::wxWindow:wxWindow(), Id::integer(), + Option :: {col, wx:wx_colour()} + | {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()} + | {validator, wx:wx()}. new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options) when is_integer(Id),is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -109,15 +118,22 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options) wxe_util:construct(?wxColourPickerCtrl_new_3, <>). -%% @spec (This::wxColourPickerCtrl(), Parent::wxWindow:wxWindow(), Id::integer()) -> bool() %% @equiv create(This,Parent,Id, []) +-spec create(This, Parent, Id) -> boolean() when + This::wxColourPickerCtrl(), Parent::wxWindow:wxWindow(), Id::integer(). + create(This,Parent,Id) when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id) -> create(This,Parent,Id, []). -%% @spec (This::wxColourPickerCtrl(), Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> bool() -%% Option = {col, wx:colour()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx:wx()} %% @doc See external documentation. +-spec create(This, Parent, Id, [Option]) -> boolean() when + This::wxColourPickerCtrl(), Parent::wxWindow:wxWindow(), Id::integer(), + Option :: {col, wx:wx_colour()} + | {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()} + | {validator, wx:wx()}. create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id, Options) when is_integer(Id),is_list(Options) -> ?CLASS(ThisT,wxColourPickerCtrl), @@ -132,22 +148,19 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id, O wxe_util:call(?wxColourPickerCtrl_Create, <>). -%% @spec (This::wxColourPickerCtrl()) -> wx:colour() %% @doc See external documentation. +-spec getColour(This) -> wx:wx_colour() when + This::wxColourPickerCtrl(). getColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxColourPickerCtrl), wxe_util:call(?wxColourPickerCtrl_GetColour, <>). -%% @spec (This::wxColourPickerCtrl(),X::string()|term()) -> bool()|ok %% @doc See external documentation. -%%
Alternatives: -%%

-%% setColour(This::wxColourPickerCtrl(), Text::string()) -> bool() -%%

-%%

-%% setColour(This::wxColourPickerCtrl(), Col::wx:colour()) -> ok -%%

+-spec setColour(This, Text) -> boolean() when + This::wxColourPickerCtrl(), Text::string(); + (This, Col) -> ok when + This::wxColourPickerCtrl(), Col::wx:wx_colour(). setColour(#wx_ref{type=ThisT,ref=ThisRef},Text) when is_list(Text) -> ?CLASS(ThisT,wxColourPickerCtrl), @@ -160,8 +173,8 @@ setColour(#wx_ref{type=ThisT,ref=ThisRef},Col) wxe_util:cast(?wxColourPickerCtrl_SetColour_1_1, <>). -%% @spec (This::wxColourPickerCtrl()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxColourPickerCtrl) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxColourPickerCtrl), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxColourPickerEvent.erl b/lib/wx/src/gen/wxColourPickerEvent.erl index 9ba431b841..fbd34cf9e7 100644 --- a/lib/wx/src/gen/wxColourPickerEvent.erl +++ b/lib/wx/src/gen/wxColourPickerEvent.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,13 +40,16 @@ parent_class/1,resumePropagation/2,setInt/2,setString/2,shouldPropagate/1, skip/1,skip/2,stopPropagation/1]). +-export_type([wxColourPickerEvent/0]). %% @hidden parent_class(wxCommandEvent) -> true; parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxColourPickerEvent()) -> wx:colour() +-type wxColourPickerEvent() :: wx:wx_object(). %% @doc See external documentation. +-spec getColour(This) -> wx:wx_colour() when + This::wxColourPickerEvent(). getColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxColourPickerEvent), wxe_util:call(?wxColourPickerEvent_GetColour, diff --git a/lib/wx/src/gen/wxComboBox.erl b/lib/wx/src/gen/wxComboBox.erl index f743df4e93..88cee2e3a4 100644 --- a/lib/wx/src/gen/wxComboBox.erl +++ b/lib/wx/src/gen/wxComboBox.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -76,6 +76,7 @@ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1, update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxComboBox/0]). %% @hidden parent_class(wxControlWithItems) -> true; parent_class(wxControl) -> true; @@ -83,21 +84,30 @@ parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxComboBox() +-type wxComboBox() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxComboBox(). new() -> wxe_util:construct(?wxComboBox_new_0, <<>>). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer()) -> wxComboBox() %% @equiv new(Parent,Id, []) +-spec new(Parent, Id) -> wxComboBox() when + Parent::wxWindow:wxWindow(), Id::integer(). + new(Parent,Id) when is_record(Parent, wx_ref),is_integer(Id) -> new(Parent,Id, []). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> wxComboBox() -%% Option = {value, string()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {choices, [[string()]]} | {style, integer()} | {validator, wx:wx()} %% @doc See external documentation. +-spec new(Parent, Id, [Option]) -> wxComboBox() when + Parent::wxWindow:wxWindow(), Id::integer(), + Option :: {value, string()} + | {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {choices, [[string()]]} + | {style, integer()} + | {validator, wx:wx()}. new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options) when is_integer(Id),is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -112,15 +122,19 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options) wxe_util:construct(?wxComboBox_new_3, <>). -%% @spec (This::wxComboBox(), Parent::wxWindow:wxWindow(), Id::integer(), Value::string(), Pos::{X::integer(), Y::integer()}, Size::{W::integer(), H::integer()}, Choices::[[string()]]) -> bool() %% @equiv create(This,Parent,Id,Value,Pos,Size,Choices, []) +-spec create(This, Parent, Id, Value, Pos, Size, Choices) -> boolean() when + This::wxComboBox(), Parent::wxWindow:wxWindow(), Id::integer(), Value::string(), Pos::{X::integer(), Y::integer()}, Size::{W::integer(), H::integer()}, Choices::[[string()]]. + create(This,Parent,Id,Value,Pos={PosX,PosY},Size={SizeW,SizeH},Choices) when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id),is_list(Value),is_integer(PosX),is_integer(PosY),is_integer(SizeW),is_integer(SizeH),is_list(Choices) -> create(This,Parent,Id,Value,Pos,Size,Choices, []). -%% @spec (This::wxComboBox(), Parent::wxWindow:wxWindow(), Id::integer(), Value::string(), Pos::{X::integer(), Y::integer()}, Size::{W::integer(), H::integer()}, Choices::[[string()]], [Option]) -> bool() -%% Option = {style, integer()} | {validator, wx:wx()} %% @doc See external documentation. +-spec create(This, Parent, Id, Value, Pos, Size, Choices, [Option]) -> boolean() when + This::wxComboBox(), Parent::wxWindow:wxWindow(), Id::integer(), Value::string(), Pos::{X::integer(), Y::integer()}, Size::{W::integer(), H::integer()}, Choices::[[string()]], + Option :: {style, integer()} + | {validator, wx:wx()}. create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,Value,{PosX,PosY},{SizeW,SizeH},Choices, Options) when is_integer(Id),is_list(Value),is_integer(PosX),is_integer(PosY),is_integer(SizeW),is_integer(SizeH),is_list(Choices),is_list(Options) -> ?CLASS(ThisT,wxComboBox), @@ -135,92 +149,105 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,Va wxe_util:call(?wxComboBox_Create, <>|| UC_Str <- Choices_UCA>>)/binary, 0:(((8- ((4 + lists:sum([byte_size(S)+4||S<-Choices_UCA])) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>). -%% @spec (This::wxComboBox()) -> bool() %% @doc See external documentation. +-spec canCopy(This) -> boolean() when + This::wxComboBox(). canCopy(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxComboBox), wxe_util:call(?wxComboBox_CanCopy, <>). -%% @spec (This::wxComboBox()) -> bool() %% @doc See external documentation. +-spec canCut(This) -> boolean() when + This::wxComboBox(). canCut(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxComboBox), wxe_util:call(?wxComboBox_CanCut, <>). -%% @spec (This::wxComboBox()) -> bool() %% @doc See external documentation. +-spec canPaste(This) -> boolean() when + This::wxComboBox(). canPaste(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxComboBox), wxe_util:call(?wxComboBox_CanPaste, <>). -%% @spec (This::wxComboBox()) -> bool() %% @doc See external documentation. +-spec canRedo(This) -> boolean() when + This::wxComboBox(). canRedo(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxComboBox), wxe_util:call(?wxComboBox_CanRedo, <>). -%% @spec (This::wxComboBox()) -> bool() %% @doc See external documentation. +-spec canUndo(This) -> boolean() when + This::wxComboBox(). canUndo(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxComboBox), wxe_util:call(?wxComboBox_CanUndo, <>). -%% @spec (This::wxComboBox()) -> ok %% @doc See external documentation. +-spec copy(This) -> ok when + This::wxComboBox(). copy(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxComboBox), wxe_util:cast(?wxComboBox_Copy, <>). -%% @spec (This::wxComboBox()) -> ok %% @doc See external documentation. +-spec cut(This) -> ok when + This::wxComboBox(). cut(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxComboBox), wxe_util:cast(?wxComboBox_Cut, <>). -%% @spec (This::wxComboBox()) -> integer() %% @doc See external documentation. +-spec getInsertionPoint(This) -> integer() when + This::wxComboBox(). getInsertionPoint(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxComboBox), wxe_util:call(?wxComboBox_GetInsertionPoint, <>). -%% @spec (This::wxComboBox()) -> integer() %% @doc See external documentation. +-spec getLastPosition(This) -> integer() when + This::wxComboBox(). getLastPosition(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxComboBox), wxe_util:call(?wxComboBox_GetLastPosition, <>). -%% @spec (This::wxComboBox()) -> string() %% @doc See external documentation. +-spec getValue(This) -> string() when + This::wxComboBox(). getValue(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxComboBox), wxe_util:call(?wxComboBox_GetValue, <>). -%% @spec (This::wxComboBox()) -> ok %% @doc See external documentation. +-spec paste(This) -> ok when + This::wxComboBox(). paste(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxComboBox), wxe_util:cast(?wxComboBox_Paste, <>). -%% @spec (This::wxComboBox()) -> ok %% @doc See external documentation. +-spec redo(This) -> ok when + This::wxComboBox(). redo(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxComboBox), wxe_util:cast(?wxComboBox_Redo, <>). -%% @spec (This::wxComboBox(), From::integer(), To::integer(), Value::string()) -> ok %% @doc See external documentation. +-spec replace(This, From, To, Value) -> ok when + This::wxComboBox(), From::integer(), To::integer(), Value::string(). replace(#wx_ref{type=ThisT,ref=ThisRef},From,To,Value) when is_integer(From),is_integer(To),is_list(Value) -> ?CLASS(ThisT,wxComboBox), @@ -228,47 +255,53 @@ replace(#wx_ref{type=ThisT,ref=ThisRef},From,To,Value) wxe_util:cast(?wxComboBox_Replace, <>). -%% @spec (This::wxComboBox(), From::integer(), To::integer()) -> ok %% @doc See external documentation. +-spec remove(This, From, To) -> ok when + This::wxComboBox(), From::integer(), To::integer(). remove(#wx_ref{type=ThisT,ref=ThisRef},From,To) when is_integer(From),is_integer(To) -> ?CLASS(ThisT,wxComboBox), wxe_util:cast(?wxComboBox_Remove, <>). -%% @spec (This::wxComboBox(), Pos::integer()) -> ok %% @doc See external documentation. +-spec setInsertionPoint(This, Pos) -> ok when + This::wxComboBox(), Pos::integer(). setInsertionPoint(#wx_ref{type=ThisT,ref=ThisRef},Pos) when is_integer(Pos) -> ?CLASS(ThisT,wxComboBox), wxe_util:cast(?wxComboBox_SetInsertionPoint, <>). -%% @spec (This::wxComboBox()) -> ok %% @doc See external documentation. +-spec setInsertionPointEnd(This) -> ok when + This::wxComboBox(). setInsertionPointEnd(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxComboBox), wxe_util:cast(?wxComboBox_SetInsertionPointEnd, <>). -%% @spec (This::wxComboBox(), N::integer()) -> ok %% @doc See external documentation. +-spec setSelection(This, N) -> ok when + This::wxComboBox(), N::integer(). setSelection(#wx_ref{type=ThisT,ref=ThisRef},N) when is_integer(N) -> ?CLASS(ThisT,wxComboBox), wxe_util:cast(?wxComboBox_SetSelection_1, <>). -%% @spec (This::wxComboBox(), From::integer(), To::integer()) -> ok %% @doc See external documentation. +-spec setSelection(This, From, To) -> ok when + This::wxComboBox(), From::integer(), To::integer(). setSelection(#wx_ref{type=ThisT,ref=ThisRef},From,To) when is_integer(From),is_integer(To) -> ?CLASS(ThisT,wxComboBox), wxe_util:cast(?wxComboBox_SetSelection_2, <>). -%% @spec (This::wxComboBox(), Value::string()) -> ok %% @doc See external documentation. +-spec setValue(This, Value) -> ok when + This::wxComboBox(), Value::string(). setValue(#wx_ref{type=ThisT,ref=ThisRef},Value) when is_list(Value) -> ?CLASS(ThisT,wxComboBox), @@ -276,15 +309,16 @@ setValue(#wx_ref{type=ThisT,ref=ThisRef},Value) wxe_util:cast(?wxComboBox_SetValue, <>). -%% @spec (This::wxComboBox()) -> ok %% @doc See external documentation. +-spec undo(This) -> ok when + This::wxComboBox(). undo(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxComboBox), wxe_util:cast(?wxComboBox_Undo, <>). -%% @spec (This::wxComboBox()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxComboBox) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxComboBox), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxCommandEvent.erl b/lib/wx/src/gen/wxCommandEvent.erl index 57fb9cecda..16414da4dd 100644 --- a/lib/wx/src/gen/wxCommandEvent.erl +++ b/lib/wx/src/gen/wxCommandEvent.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -38,69 +38,80 @@ -export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1, resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]). +-export_type([wxCommandEvent/0]). %% @hidden parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxCommandEvent()) -> term() +-type wxCommandEvent() :: wx:wx_object(). %% @doc See external documentation. +-spec getClientData(This) -> term() when + This::wxCommandEvent(). getClientData(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxCommandEvent), wxe_util:call(?wxCommandEvent_getClientData, <>). -%% @spec (This::wxCommandEvent()) -> integer() %% @doc See external documentation. +-spec getExtraLong(This) -> integer() when + This::wxCommandEvent(). getExtraLong(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxCommandEvent), wxe_util:call(?wxCommandEvent_GetExtraLong, <>). -%% @spec (This::wxCommandEvent()) -> integer() %% @doc See external documentation. +-spec getInt(This) -> integer() when + This::wxCommandEvent(). getInt(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxCommandEvent), wxe_util:call(?wxCommandEvent_GetInt, <>). -%% @spec (This::wxCommandEvent()) -> integer() %% @doc See external documentation. +-spec getSelection(This) -> integer() when + This::wxCommandEvent(). getSelection(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxCommandEvent), wxe_util:call(?wxCommandEvent_GetSelection, <>). -%% @spec (This::wxCommandEvent()) -> string() %% @doc See external documentation. +-spec getString(This) -> string() when + This::wxCommandEvent(). getString(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxCommandEvent), wxe_util:call(?wxCommandEvent_GetString, <>). -%% @spec (This::wxCommandEvent()) -> bool() %% @doc See external documentation. +-spec isChecked(This) -> boolean() when + This::wxCommandEvent(). isChecked(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxCommandEvent), wxe_util:call(?wxCommandEvent_IsChecked, <>). -%% @spec (This::wxCommandEvent()) -> bool() %% @doc See external documentation. +-spec isSelection(This) -> boolean() when + This::wxCommandEvent(). isSelection(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxCommandEvent), wxe_util:call(?wxCommandEvent_IsSelection, <>). -%% @spec (This::wxCommandEvent(), I::integer()) -> ok %% @doc See external documentation. +-spec setInt(This, I) -> ok when + This::wxCommandEvent(), I::integer(). setInt(#wx_ref{type=ThisT,ref=ThisRef},I) when is_integer(I) -> ?CLASS(ThisT,wxCommandEvent), wxe_util:cast(?wxCommandEvent_SetInt, <>). -%% @spec (This::wxCommandEvent(), S::string()) -> ok %% @doc See external documentation. +-spec setString(This, S) -> ok when + This::wxCommandEvent(), S::string(). setString(#wx_ref{type=ThisT,ref=ThisRef},S) when is_list(S) -> ?CLASS(ThisT,wxCommandEvent), diff --git a/lib/wx/src/gen/wxContextMenuEvent.erl b/lib/wx/src/gen/wxContextMenuEvent.erl index 0050b97b89..9312803e33 100644 --- a/lib/wx/src/gen/wxContextMenuEvent.erl +++ b/lib/wx/src/gen/wxContextMenuEvent.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,20 +40,24 @@ parent_class/1,resumePropagation/2,setInt/2,setString/2,shouldPropagate/1, skip/1,skip/2,stopPropagation/1]). +-export_type([wxContextMenuEvent/0]). %% @hidden parent_class(wxCommandEvent) -> true; parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxContextMenuEvent()) -> {X::integer(), Y::integer()} +-type wxContextMenuEvent() :: wx:wx_object(). %% @doc See external documentation. +-spec getPosition(This) -> {X::integer(), Y::integer()} when + This::wxContextMenuEvent(). getPosition(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxContextMenuEvent), wxe_util:call(?wxContextMenuEvent_GetPosition, <>). -%% @spec (This::wxContextMenuEvent(), Pos::{X::integer(), Y::integer()}) -> ok %% @doc See external documentation. +-spec setPosition(This, Pos) -> ok when + This::wxContextMenuEvent(), Pos::{X::integer(), Y::integer()}. setPosition(#wx_ref{type=ThisT,ref=ThisRef},{PosX,PosY}) when is_integer(PosX),is_integer(PosY) -> ?CLASS(ThisT,wxContextMenuEvent), diff --git a/lib/wx/src/gen/wxControl.erl b/lib/wx/src/gen/wxControl.erl index e3f602e65a..743ec5151f 100644 --- a/lib/wx/src/gen/wxControl.erl +++ b/lib/wx/src/gen/wxControl.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -68,20 +68,24 @@ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1, update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxControl/0]). %% @hidden parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxControl()) -> string() +-type wxControl() :: wx:wx_object(). %% @doc See external documentation. +-spec getLabel(This) -> string() when + This::wxControl(). getLabel(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxControl), wxe_util:call(?wxControl_GetLabel, <>). -%% @spec (This::wxControl(), Label::string()) -> ok %% @doc See external documentation. +-spec setLabel(This, Label) -> ok when + This::wxControl(), Label::string(). setLabel(#wx_ref{type=ThisT,ref=ThisRef},Label) when is_list(Label) -> ?CLASS(ThisT,wxControl), diff --git a/lib/wx/src/gen/wxControlWithItems.erl b/lib/wx/src/gen/wxControlWithItems.erl index 0838b75bad..b57f472b04 100644 --- a/lib/wx/src/gen/wxControlWithItems.erl +++ b/lib/wx/src/gen/wxControlWithItems.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,14 +72,17 @@ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1, update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxControlWithItems/0]). %% @hidden parent_class(wxControl) -> true; parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxControlWithItems(), Item::string()) -> integer() +-type wxControlWithItems() :: wx:wx_object(). %% @doc See external documentation. +-spec append(This, Item) -> integer() when + This::wxControlWithItems(), Item::string(). append(#wx_ref{type=ThisT,ref=ThisRef},Item) when is_list(Item) -> ?CLASS(ThisT,wxControlWithItems), @@ -87,8 +90,9 @@ append(#wx_ref{type=ThisT,ref=ThisRef},Item) wxe_util:call(?wxControlWithItems_Append_1, <>). -%% @spec (This::wxControlWithItems(), Item::string(), ClientData::term()) -> integer() %% @doc See external documentation. +-spec append(This, Item, ClientData) -> integer() when + This::wxControlWithItems(), Item::string(), ClientData::term(). append(#wx_ref{type=ThisT,ref=ThisRef},Item,ClientData) when is_list(Item) -> ?CLASS(ThisT,wxControlWithItems), @@ -97,8 +101,9 @@ append(#wx_ref{type=ThisT,ref=ThisRef},Item,ClientData) wxe_util:call(?wxControlWithItems_Append_2, <>). -%% @spec (This::wxControlWithItems(), Strings::[[string()]]) -> ok %% @doc See external documentation. +-spec appendStrings(This, Strings) -> ok when + This::wxControlWithItems(), Strings::[[string()]]. appendStrings(#wx_ref{type=ThisT,ref=ThisRef},Strings) when is_list(Strings) -> ?CLASS(ThisT,wxControlWithItems), @@ -107,30 +112,35 @@ appendStrings(#wx_ref{type=ThisT,ref=ThisRef},Strings) wxe_util:cast(?wxControlWithItems_appendStrings_1, <>|| UC_Str <- Strings_UCA>>)/binary, 0:(((8- ((0 + lists:sum([byte_size(S)+4||S<-Strings_UCA])) band 16#7)) band 16#7))/unit:8>>). -%% @spec (This::wxControlWithItems()) -> ok %% @doc See external documentation. +-spec clear(This) -> ok when + This::wxControlWithItems(). clear(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxControlWithItems), wxe_util:cast(?wxControlWithItems_Clear, <>). -%% @spec (This::wxControlWithItems(), N::integer()) -> ok %% @doc See external documentation. +-spec delete(This, N) -> ok when + This::wxControlWithItems(), N::integer(). delete(#wx_ref{type=ThisT,ref=ThisRef},N) when is_integer(N) -> ?CLASS(ThisT,wxControlWithItems), wxe_util:cast(?wxControlWithItems_Delete, <>). -%% @spec (This::wxControlWithItems(), S::string()) -> integer() %% @equiv findString(This,S, []) +-spec findString(This, S) -> integer() when + This::wxControlWithItems(), S::string(). + findString(This,S) when is_record(This, wx_ref),is_list(S) -> findString(This,S, []). -%% @spec (This::wxControlWithItems(), S::string(), [Option]) -> integer() -%% Option = {bCase, bool()} %% @doc See external documentation. +-spec findString(This, S, [Option]) -> integer() when + This::wxControlWithItems(), S::string(), + Option :: {bCase, boolean()}. findString(#wx_ref{type=ThisT,ref=ThisRef},S, Options) when is_list(S),is_list(Options) -> ?CLASS(ThisT,wxControlWithItems), @@ -141,16 +151,18 @@ findString(#wx_ref{type=ThisT,ref=ThisRef},S, Options) wxe_util:call(?wxControlWithItems_FindString, <>). -%% @spec (This::wxControlWithItems(), N::integer()) -> term() %% @doc See external documentation. +-spec getClientData(This, N) -> term() when + This::wxControlWithItems(), N::integer(). getClientData(#wx_ref{type=ThisT,ref=ThisRef},N) when is_integer(N) -> ?CLASS(ThisT,wxControlWithItems), wxe_util:call(?wxControlWithItems_getClientData, <>). -%% @spec (This::wxControlWithItems(), N::integer(), ClientData::term()) -> ok %% @doc See external documentation. +-spec setClientData(This, N, ClientData) -> ok when + This::wxControlWithItems(), N::integer(), ClientData::term(). setClientData(#wx_ref{type=ThisT,ref=ThisRef},N,ClientData) when is_integer(N) -> ?CLASS(ThisT,wxControlWithItems), @@ -158,37 +170,42 @@ setClientData(#wx_ref{type=ThisT,ref=ThisRef},N,ClientData) wxe_util:cast(?wxControlWithItems_setClientData, <>). -%% @spec (This::wxControlWithItems()) -> integer() %% @doc See external documentation. +-spec getCount(This) -> integer() when + This::wxControlWithItems(). getCount(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxControlWithItems), wxe_util:call(?wxControlWithItems_GetCount, <>). -%% @spec (This::wxControlWithItems()) -> integer() %% @doc See external documentation. +-spec getSelection(This) -> integer() when + This::wxControlWithItems(). getSelection(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxControlWithItems), wxe_util:call(?wxControlWithItems_GetSelection, <>). -%% @spec (This::wxControlWithItems(), N::integer()) -> string() %% @doc See external documentation. +-spec getString(This, N) -> string() when + This::wxControlWithItems(), N::integer(). getString(#wx_ref{type=ThisT,ref=ThisRef},N) when is_integer(N) -> ?CLASS(ThisT,wxControlWithItems), wxe_util:call(?wxControlWithItems_GetString, <>). -%% @spec (This::wxControlWithItems()) -> string() %% @doc See external documentation. +-spec getStringSelection(This) -> string() when + This::wxControlWithItems(). getStringSelection(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxControlWithItems), wxe_util:call(?wxControlWithItems_GetStringSelection, <>). -%% @spec (This::wxControlWithItems(), Item::string(), Pos::integer()) -> integer() %% @doc See external documentation. +-spec insert(This, Item, Pos) -> integer() when + This::wxControlWithItems(), Item::string(), Pos::integer(). insert(#wx_ref{type=ThisT,ref=ThisRef},Item,Pos) when is_list(Item),is_integer(Pos) -> ?CLASS(ThisT,wxControlWithItems), @@ -196,8 +213,9 @@ insert(#wx_ref{type=ThisT,ref=ThisRef},Item,Pos) wxe_util:call(?wxControlWithItems_Insert_2, <>). -%% @spec (This::wxControlWithItems(), Item::string(), Pos::integer(), ClientData::term()) -> integer() %% @doc See external documentation. +-spec insert(This, Item, Pos, ClientData) -> integer() when + This::wxControlWithItems(), Item::string(), Pos::integer(), ClientData::term(). insert(#wx_ref{type=ThisT,ref=ThisRef},Item,Pos,ClientData) when is_list(Item),is_integer(Pos) -> ?CLASS(ThisT,wxControlWithItems), @@ -206,31 +224,35 @@ insert(#wx_ref{type=ThisT,ref=ThisRef},Item,Pos,ClientData) wxe_util:call(?wxControlWithItems_Insert_3, <>). -%% @spec (This::wxControlWithItems()) -> bool() %% @doc See external documentation. +-spec isEmpty(This) -> boolean() when + This::wxControlWithItems(). isEmpty(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxControlWithItems), wxe_util:call(?wxControlWithItems_IsEmpty, <>). -%% @spec (This::wxControlWithItems(), N::integer()) -> ok %% @doc See external documentation. +-spec select(This, N) -> ok when + This::wxControlWithItems(), N::integer(). select(#wx_ref{type=ThisT,ref=ThisRef},N) when is_integer(N) -> ?CLASS(ThisT,wxControlWithItems), wxe_util:cast(?wxControlWithItems_Select, <>). -%% @spec (This::wxControlWithItems(), N::integer()) -> ok %% @doc See external documentation. +-spec setSelection(This, N) -> ok when + This::wxControlWithItems(), N::integer(). setSelection(#wx_ref{type=ThisT,ref=ThisRef},N) when is_integer(N) -> ?CLASS(ThisT,wxControlWithItems), wxe_util:cast(?wxControlWithItems_SetSelection, <>). -%% @spec (This::wxControlWithItems(), N::integer(), S::string()) -> ok %% @doc See external documentation. +-spec setString(This, N, S) -> ok when + This::wxControlWithItems(), N::integer(), S::string(). setString(#wx_ref{type=ThisT,ref=ThisRef},N,S) when is_integer(N),is_list(S) -> ?CLASS(ThisT,wxControlWithItems), @@ -238,8 +260,9 @@ setString(#wx_ref{type=ThisT,ref=ThisRef},N,S) wxe_util:cast(?wxControlWithItems_SetString, <>). -%% @spec (This::wxControlWithItems(), S::string()) -> bool() %% @doc See external documentation. +-spec setStringSelection(This, S) -> boolean() when + This::wxControlWithItems(), S::string(). setStringSelection(#wx_ref{type=ThisT,ref=ThisRef},S) when is_list(S) -> ?CLASS(ThisT,wxControlWithItems), diff --git a/lib/wx/src/gen/wxCursor.erl b/lib/wx/src/gen/wxCursor.erl index beb731fee3..3274e16454 100644 --- a/lib/wx/src/gen/wxCursor.erl +++ b/lib/wx/src/gen/wxCursor.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -34,25 +34,23 @@ getSubBitmap/2,getWidth/1,loadFile/2,loadFile/3,parent_class/1,saveFile/3, saveFile/4,setDepth/2,setHeight/2,setMask/2,setPalette/2,setWidth/2]). +-export_type([wxCursor/0]). %% @hidden parent_class(wxBitmap) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxCursor() +-type wxCursor() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxCursor(). new() -> wxe_util:construct(?wxCursor_new_0, <<>>). -%% @spec (X::integer()|term()) -> wxCursor() %% @doc See external documentation. -%%
Alternatives: -%%

-%% new(CursorId::integer()) -> wxCursor() -%%

-%%

-%% new(Image::wxImage:wxImage()) -> wxCursor() -%%

+-spec new(CursorId) -> wxCursor() when + CursorId::integer(); + (Image) -> wxCursor() when + Image::wxImage:wxImage(). new(CursorId) when is_integer(CursorId) -> wxe_util:construct(?wxCursor_new_1_0, @@ -62,15 +60,19 @@ new(#wx_ref{type=ImageT,ref=ImageRef}) -> wxe_util:construct(?wxCursor_new_1_1, <>). -%% @spec (Bits::binary(), Width::integer(), Height::integer()) -> wxCursor() %% @equiv new(Bits,Width,Height, []) +-spec new(Bits, Width, Height) -> wxCursor() when + Bits::binary(), Width::integer(), Height::integer(). + new(Bits,Width,Height) when is_binary(Bits),is_integer(Width),is_integer(Height) -> new(Bits,Width,Height, []). -%% @spec (Bits::binary(), Width::integer(), Height::integer(), [Option]) -> wxCursor() -%% Option = {hotSpotX, integer()} | {hotSpotY, integer()} %% @doc See external documentation. +-spec new(Bits, Width, Height, [Option]) -> wxCursor() when + Bits::binary(), Width::integer(), Height::integer(), + Option :: {hotSpotX, integer()} + | {hotSpotY, integer()}. new(Bits,Width,Height, Options) when is_binary(Bits),is_integer(Width),is_integer(Height),is_list(Options) -> wxe_util:send_bin(Bits), @@ -81,15 +83,16 @@ new(Bits,Width,Height, Options) wxe_util:construct(?wxCursor_new_4, <>). -%% @spec (This::wxCursor()) -> bool() %% @doc See external documentation. +-spec ok(This) -> boolean() when + This::wxCursor(). ok(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxCursor), wxe_util:call(?wxCursor_Ok, <>). -%% @spec (This::wxCursor()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxCursor) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxCursor), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxDC.erl b/lib/wx/src/gen/wxDC.erl index ba498c651a..25b452ed61 100644 --- a/lib/wx/src/gen/wxDC.erl +++ b/lib/wx/src/gen/wxDC.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -49,18 +49,25 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxDC/0]). %% @hidden parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxDC(), DestPt::{X::integer(), Y::integer()}, Sz::{W::integer(), H::integer()}, Source::wxDC(), SrcPt::{X::integer(), Y::integer()}) -> bool() +-type wxDC() :: wx:wx_object(). %% @equiv blit(This,DestPt,Sz,Source,SrcPt, []) +-spec blit(This, DestPt, Sz, Source, SrcPt) -> boolean() when + This::wxDC(), DestPt::{X::integer(), Y::integer()}, Sz::{W::integer(), H::integer()}, Source::wxDC(), SrcPt::{X::integer(), Y::integer()}. + blit(This,DestPt={DestPtX,DestPtY},Sz={SzW,SzH},Source,SrcPt={SrcPtX,SrcPtY}) when is_record(This, wx_ref),is_integer(DestPtX),is_integer(DestPtY),is_integer(SzW),is_integer(SzH),is_record(Source, wx_ref),is_integer(SrcPtX),is_integer(SrcPtY) -> blit(This,DestPt,Sz,Source,SrcPt, []). -%% @spec (This::wxDC(), DestPt::{X::integer(), Y::integer()}, Sz::{W::integer(), H::integer()}, Source::wxDC(), SrcPt::{X::integer(), Y::integer()}, [Option]) -> bool() -%% Option = {rop, integer()} | {useMask, bool()} | {srcPtMask, {X::integer(), Y::integer()}} %% @doc See external documentation. +-spec blit(This, DestPt, Sz, Source, SrcPt, [Option]) -> boolean() when + This::wxDC(), DestPt::{X::integer(), Y::integer()}, Sz::{W::integer(), H::integer()}, Source::wxDC(), SrcPt::{X::integer(), Y::integer()}, + Option :: {rop, integer()} + | {useMask, boolean()} + | {srcPtMask, {X::integer(), Y::integer()}}. blit(#wx_ref{type=ThisT,ref=ThisRef},{DestPtX,DestPtY},{SzW,SzH},#wx_ref{type=SourceT,ref=SourceRef},{SrcPtX,SrcPtY}, Options) when is_integer(DestPtX),is_integer(DestPtY),is_integer(SzW),is_integer(SzH),is_integer(SrcPtX),is_integer(SrcPtY),is_list(Options) -> ?CLASS(ThisT,wxDC), @@ -73,92 +80,105 @@ blit(#wx_ref{type=ThisT,ref=ThisRef},{DestPtX,DestPtY},{SzW,SzH},#wx_ref{type=So wxe_util:call(?wxDC_Blit, <>). -%% @spec (This::wxDC(), X::integer(), Y::integer()) -> ok %% @doc See external documentation. +-spec calcBoundingBox(This, X, Y) -> ok when + This::wxDC(), X::integer(), Y::integer(). calcBoundingBox(#wx_ref{type=ThisT,ref=ThisRef},X,Y) when is_integer(X),is_integer(Y) -> ?CLASS(ThisT,wxDC), wxe_util:cast(?wxDC_CalcBoundingBox, <>). -%% @spec (This::wxDC()) -> ok %% @doc See external documentation. +-spec clear(This) -> ok when + This::wxDC(). clear(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxDC), wxe_util:cast(?wxDC_Clear, <>). -%% @spec (This::wxDC()) -> ok %% @doc See external documentation. +-spec computeScaleAndOrigin(This) -> ok when + This::wxDC(). computeScaleAndOrigin(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxDC), wxe_util:cast(?wxDC_ComputeScaleAndOrigin, <>). -%% @spec (This::wxDC(), Pt::{X::integer(), Y::integer()}) -> ok %% @doc See external documentation. +-spec crossHair(This, Pt) -> ok when + This::wxDC(), Pt::{X::integer(), Y::integer()}. crossHair(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY}) when is_integer(PtX),is_integer(PtY) -> ?CLASS(ThisT,wxDC), wxe_util:cast(?wxDC_CrossHair, <>). -%% @spec (This::wxDC()) -> ok %% @doc See external documentation. +-spec destroyClippingRegion(This) -> ok when + This::wxDC(). destroyClippingRegion(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxDC), wxe_util:cast(?wxDC_DestroyClippingRegion, <>). -%% @spec (This::wxDC(), X::integer()) -> integer() %% @doc See external documentation. +-spec deviceToLogicalX(This, X) -> integer() when + This::wxDC(), X::integer(). deviceToLogicalX(#wx_ref{type=ThisT,ref=ThisRef},X) when is_integer(X) -> ?CLASS(ThisT,wxDC), wxe_util:call(?wxDC_DeviceToLogicalX, <>). -%% @spec (This::wxDC(), X::integer()) -> integer() %% @doc See external documentation. +-spec deviceToLogicalXRel(This, X) -> integer() when + This::wxDC(), X::integer(). deviceToLogicalXRel(#wx_ref{type=ThisT,ref=ThisRef},X) when is_integer(X) -> ?CLASS(ThisT,wxDC), wxe_util:call(?wxDC_DeviceToLogicalXRel, <>). -%% @spec (This::wxDC(), Y::integer()) -> integer() %% @doc See external documentation. +-spec deviceToLogicalY(This, Y) -> integer() when + This::wxDC(), Y::integer(). deviceToLogicalY(#wx_ref{type=ThisT,ref=ThisRef},Y) when is_integer(Y) -> ?CLASS(ThisT,wxDC), wxe_util:call(?wxDC_DeviceToLogicalY, <>). -%% @spec (This::wxDC(), Y::integer()) -> integer() %% @doc See external documentation. +-spec deviceToLogicalYRel(This, Y) -> integer() when + This::wxDC(), Y::integer(). deviceToLogicalYRel(#wx_ref{type=ThisT,ref=ThisRef},Y) when is_integer(Y) -> ?CLASS(ThisT,wxDC), wxe_util:call(?wxDC_DeviceToLogicalYRel, <>). -%% @spec (This::wxDC(), Pt1::{X::integer(), Y::integer()}, Pt2::{X::integer(), Y::integer()}, Centre::{X::integer(), Y::integer()}) -> ok %% @doc See external documentation. +-spec drawArc(This, Pt1, Pt2, Centre) -> ok when + This::wxDC(), Pt1::{X::integer(), Y::integer()}, Pt2::{X::integer(), Y::integer()}, Centre::{X::integer(), Y::integer()}. drawArc(#wx_ref{type=ThisT,ref=ThisRef},{Pt1X,Pt1Y},{Pt2X,Pt2Y},{CentreX,CentreY}) when is_integer(Pt1X),is_integer(Pt1Y),is_integer(Pt2X),is_integer(Pt2Y),is_integer(CentreX),is_integer(CentreY) -> ?CLASS(ThisT,wxDC), wxe_util:cast(?wxDC_DrawArc, <>). -%% @spec (This::wxDC(), Bmp::wxBitmap:wxBitmap(), Pt::{X::integer(), Y::integer()}) -> ok %% @equiv drawBitmap(This,Bmp,Pt, []) +-spec drawBitmap(This, Bmp, Pt) -> ok when + This::wxDC(), Bmp::wxBitmap:wxBitmap(), Pt::{X::integer(), Y::integer()}. + drawBitmap(This,Bmp,Pt={PtX,PtY}) when is_record(This, wx_ref),is_record(Bmp, wx_ref),is_integer(PtX),is_integer(PtY) -> drawBitmap(This,Bmp,Pt, []). -%% @spec (This::wxDC(), Bmp::wxBitmap:wxBitmap(), Pt::{X::integer(), Y::integer()}, [Option]) -> ok -%% Option = {useMask, bool()} %% @doc See external documentation. +-spec drawBitmap(This, Bmp, Pt, [Option]) -> ok when + This::wxDC(), Bmp::wxBitmap:wxBitmap(), Pt::{X::integer(), Y::integer()}, + Option :: {useMask, boolean()}. drawBitmap(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BmpT,ref=BmpRef},{PtX,PtY}, Options) when is_integer(PtX),is_integer(PtY),is_list(Options) -> ?CLASS(ThisT,wxDC), @@ -169,48 +189,54 @@ drawBitmap(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BmpT,ref=BmpRef},{PtX,Pt wxe_util:cast(?wxDC_DrawBitmap, <>). -%% @spec (This::wxDC(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}) -> ok %% @doc See external documentation. +-spec drawCheckMark(This, Rect) -> ok when + This::wxDC(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}. drawCheckMark(#wx_ref{type=ThisT,ref=ThisRef},{RectX,RectY,RectW,RectH}) when is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH) -> ?CLASS(ThisT,wxDC), wxe_util:cast(?wxDC_DrawCheckMark, <>). -%% @spec (This::wxDC(), Pt::{X::integer(), Y::integer()}, Radius::integer()) -> ok %% @doc See external documentation. +-spec drawCircle(This, Pt, Radius) -> ok when + This::wxDC(), Pt::{X::integer(), Y::integer()}, Radius::integer(). drawCircle(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY},Radius) when is_integer(PtX),is_integer(PtY),is_integer(Radius) -> ?CLASS(ThisT,wxDC), wxe_util:cast(?wxDC_DrawCircle, <>). -%% @spec (This::wxDC(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}) -> ok %% @doc See external documentation. +-spec drawEllipse(This, Rect) -> ok when + This::wxDC(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}. drawEllipse(#wx_ref{type=ThisT,ref=ThisRef},{RectX,RectY,RectW,RectH}) when is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH) -> ?CLASS(ThisT,wxDC), wxe_util:cast(?wxDC_DrawEllipse_1, <>). -%% @spec (This::wxDC(), Pt::{X::integer(), Y::integer()}, Sz::{W::integer(), H::integer()}) -> ok %% @doc See external documentation. +-spec drawEllipse(This, Pt, Sz) -> ok when + This::wxDC(), Pt::{X::integer(), Y::integer()}, Sz::{W::integer(), H::integer()}. drawEllipse(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY},{SzW,SzH}) when is_integer(PtX),is_integer(PtY),is_integer(SzW),is_integer(SzH) -> ?CLASS(ThisT,wxDC), wxe_util:cast(?wxDC_DrawEllipse_2, <>). -%% @spec (This::wxDC(), Pt::{X::integer(), Y::integer()}, Sz::{W::integer(), H::integer()}, Sa::float(), Ea::float()) -> ok %% @doc See external documentation. +-spec drawEllipticArc(This, Pt, Sz, Sa, Ea) -> ok when + This::wxDC(), Pt::{X::integer(), Y::integer()}, Sz::{W::integer(), H::integer()}, Sa::float(), Ea::float(). drawEllipticArc(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY},{SzW,SzH},Sa,Ea) when is_integer(PtX),is_integer(PtY),is_integer(SzW),is_integer(SzH),is_float(Sa),is_float(Ea) -> ?CLASS(ThisT,wxDC), wxe_util:cast(?wxDC_DrawEllipticArc, <>). -%% @spec (This::wxDC(), Icon::wxIcon:wxIcon(), Pt::{X::integer(), Y::integer()}) -> ok %% @doc See external documentation. +-spec drawIcon(This, Icon, Pt) -> ok when + This::wxDC(), Icon::wxIcon:wxIcon(), Pt::{X::integer(), Y::integer()}. drawIcon(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=IconT,ref=IconRef},{PtX,PtY}) when is_integer(PtX),is_integer(PtY) -> ?CLASS(ThisT,wxDC), @@ -218,15 +244,19 @@ drawIcon(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=IconT,ref=IconRef},{PtX,Pt wxe_util:cast(?wxDC_DrawIcon, <>). -%% @spec (This::wxDC(), Text::string(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}) -> ok %% @equiv drawLabel(This,Text,Rect, []) +-spec drawLabel(This, Text, Rect) -> ok when + This::wxDC(), Text::string(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}. + drawLabel(This,Text,Rect={RectX,RectY,RectW,RectH}) when is_record(This, wx_ref),is_list(Text),is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH) -> drawLabel(This,Text,Rect, []). -%% @spec (This::wxDC(), Text::string(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}, [Option]) -> ok -%% Option = {alignment, integer()} | {indexAccel, integer()} %% @doc See external documentation. +-spec drawLabel(This, Text, Rect, [Option]) -> ok when + This::wxDC(), Text::string(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}, + Option :: {alignment, integer()} + | {indexAccel, integer()}. drawLabel(#wx_ref{type=ThisT,ref=ThisRef},Text,{RectX,RectY,RectW,RectH}, Options) when is_list(Text),is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH),is_list(Options) -> ?CLASS(ThisT,wxDC), @@ -238,23 +268,28 @@ drawLabel(#wx_ref{type=ThisT,ref=ThisRef},Text,{RectX,RectY,RectW,RectH}, Option wxe_util:cast(?wxDC_DrawLabel, <>). -%% @spec (This::wxDC(), Pt1::{X::integer(), Y::integer()}, Pt2::{X::integer(), Y::integer()}) -> ok %% @doc See external documentation. +-spec drawLine(This, Pt1, Pt2) -> ok when + This::wxDC(), Pt1::{X::integer(), Y::integer()}, Pt2::{X::integer(), Y::integer()}. drawLine(#wx_ref{type=ThisT,ref=ThisRef},{Pt1X,Pt1Y},{Pt2X,Pt2Y}) when is_integer(Pt1X),is_integer(Pt1Y),is_integer(Pt2X),is_integer(Pt2Y) -> ?CLASS(ThisT,wxDC), wxe_util:cast(?wxDC_DrawLine, <>). -%% @spec (This::wxDC(), Points::[{X::integer(), Y::integer()}]) -> ok %% @equiv drawLines(This,Points, []) +-spec drawLines(This, Points) -> ok when + This::wxDC(), Points::[{X::integer(), Y::integer()}]. + drawLines(This,Points) when is_record(This, wx_ref),is_list(Points) -> drawLines(This,Points, []). -%% @spec (This::wxDC(), Points::[{X::integer(), Y::integer()}], [Option]) -> ok -%% Option = {xoffset, integer()} | {yoffset, integer()} %% @doc See external documentation. +-spec drawLines(This, Points, [Option]) -> ok when + This::wxDC(), Points::[{X::integer(), Y::integer()}], + Option :: {xoffset, integer()} + | {yoffset, integer()}. drawLines(#wx_ref{type=ThisT,ref=ThisRef},Points, Options) when is_list(Points),is_list(Options) -> ?CLASS(ThisT,wxDC), @@ -266,15 +301,20 @@ drawLines(#wx_ref{type=ThisT,ref=ThisRef},Points, Options) <> || {X,Y} <- Points>>)/binary, BinOpt/binary>>). -%% @spec (This::wxDC(), Points::[{X::integer(), Y::integer()}]) -> ok %% @equiv drawPolygon(This,Points, []) +-spec drawPolygon(This, Points) -> ok when + This::wxDC(), Points::[{X::integer(), Y::integer()}]. + drawPolygon(This,Points) when is_record(This, wx_ref),is_list(Points) -> drawPolygon(This,Points, []). -%% @spec (This::wxDC(), Points::[{X::integer(), Y::integer()}], [Option]) -> ok -%% Option = {xoffset, integer()} | {yoffset, integer()} | {fillStyle, integer()} %% @doc See external documentation. +-spec drawPolygon(This, Points, [Option]) -> ok when + This::wxDC(), Points::[{X::integer(), Y::integer()}], + Option :: {xoffset, integer()} + | {yoffset, integer()} + | {fillStyle, integer()}. drawPolygon(#wx_ref{type=ThisT,ref=ThisRef},Points, Options) when is_list(Points),is_list(Options) -> ?CLASS(ThisT,wxDC), @@ -287,32 +327,36 @@ drawPolygon(#wx_ref{type=ThisT,ref=ThisRef},Points, Options) <> || {X,Y} <- Points>>)/binary, BinOpt/binary>>). -%% @spec (This::wxDC(), Pt::{X::integer(), Y::integer()}) -> ok %% @doc See external documentation. +-spec drawPoint(This, Pt) -> ok when + This::wxDC(), Pt::{X::integer(), Y::integer()}. drawPoint(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY}) when is_integer(PtX),is_integer(PtY) -> ?CLASS(ThisT,wxDC), wxe_util:cast(?wxDC_DrawPoint, <>). -%% @spec (This::wxDC(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}) -> ok %% @doc See external documentation. +-spec drawRectangle(This, Rect) -> ok when + This::wxDC(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}. drawRectangle(#wx_ref{type=ThisT,ref=ThisRef},{RectX,RectY,RectW,RectH}) when is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH) -> ?CLASS(ThisT,wxDC), wxe_util:cast(?wxDC_DrawRectangle_1, <>). -%% @spec (This::wxDC(), Pt::{X::integer(), Y::integer()}, Sz::{W::integer(), H::integer()}) -> ok %% @doc See external documentation. +-spec drawRectangle(This, Pt, Sz) -> ok when + This::wxDC(), Pt::{X::integer(), Y::integer()}, Sz::{W::integer(), H::integer()}. drawRectangle(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY},{SzW,SzH}) when is_integer(PtX),is_integer(PtY),is_integer(SzW),is_integer(SzH) -> ?CLASS(ThisT,wxDC), wxe_util:cast(?wxDC_DrawRectangle_2, <>). -%% @spec (This::wxDC(), Text::string(), Pt::{X::integer(), Y::integer()}, Angle::float()) -> ok %% @doc See external documentation. +-spec drawRotatedText(This, Text, Pt, Angle) -> ok when + This::wxDC(), Text::string(), Pt::{X::integer(), Y::integer()}, Angle::float(). drawRotatedText(#wx_ref{type=ThisT,ref=ThisRef},Text,{PtX,PtY},Angle) when is_list(Text),is_integer(PtX),is_integer(PtY),is_float(Angle) -> ?CLASS(ThisT,wxDC), @@ -320,24 +364,27 @@ drawRotatedText(#wx_ref{type=ThisT,ref=ThisRef},Text,{PtX,PtY},Angle) wxe_util:cast(?wxDC_DrawRotatedText, <>). -%% @spec (This::wxDC(), R::{X::integer(), Y::integer(), W::integer(), H::integer()}, Radius::float()) -> ok %% @doc See external documentation. +-spec drawRoundedRectangle(This, R, Radius) -> ok when + This::wxDC(), R::{X::integer(), Y::integer(), W::integer(), H::integer()}, Radius::float(). drawRoundedRectangle(#wx_ref{type=ThisT,ref=ThisRef},{RX,RY,RW,RH},Radius) when is_integer(RX),is_integer(RY),is_integer(RW),is_integer(RH),is_float(Radius) -> ?CLASS(ThisT,wxDC), wxe_util:cast(?wxDC_DrawRoundedRectangle_2, <>). -%% @spec (This::wxDC(), Pt::{X::integer(), Y::integer()}, Sz::{W::integer(), H::integer()}, Radius::float()) -> ok %% @doc See external documentation. +-spec drawRoundedRectangle(This, Pt, Sz, Radius) -> ok when + This::wxDC(), Pt::{X::integer(), Y::integer()}, Sz::{W::integer(), H::integer()}, Radius::float(). drawRoundedRectangle(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY},{SzW,SzH},Radius) when is_integer(PtX),is_integer(PtY),is_integer(SzW),is_integer(SzH),is_float(Radius) -> ?CLASS(ThisT,wxDC), wxe_util:cast(?wxDC_DrawRoundedRectangle_3, <>). -%% @spec (This::wxDC(), Text::string(), Pt::{X::integer(), Y::integer()}) -> ok %% @doc See external documentation. +-spec drawText(This, Text, Pt) -> ok when + This::wxDC(), Text::string(), Pt::{X::integer(), Y::integer()}. drawText(#wx_ref{type=ThisT,ref=ThisRef},Text,{PtX,PtY}) when is_list(Text),is_integer(PtX),is_integer(PtY) -> ?CLASS(ThisT,wxDC), @@ -345,29 +392,34 @@ drawText(#wx_ref{type=ThisT,ref=ThisRef},Text,{PtX,PtY}) wxe_util:cast(?wxDC_DrawText, <>). -%% @spec (This::wxDC()) -> ok %% @doc See external documentation. +-spec endDoc(This) -> ok when + This::wxDC(). endDoc(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxDC), wxe_util:cast(?wxDC_EndDoc, <>). -%% @spec (This::wxDC()) -> ok %% @doc See external documentation. +-spec endPage(This) -> ok when + This::wxDC(). endPage(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxDC), wxe_util:cast(?wxDC_EndPage, <>). -%% @spec (This::wxDC(), Pt::{X::integer(), Y::integer()}, Col::wx:colour()) -> bool() %% @equiv floodFill(This,Pt,Col, []) +-spec floodFill(This, Pt, Col) -> boolean() when + This::wxDC(), Pt::{X::integer(), Y::integer()}, Col::wx:wx_colour(). + floodFill(This,Pt={PtX,PtY},Col) when is_record(This, wx_ref),is_integer(PtX),is_integer(PtY),tuple_size(Col) =:= 3; tuple_size(Col) =:= 4 -> floodFill(This,Pt,Col, []). -%% @spec (This::wxDC(), Pt::{X::integer(), Y::integer()}, Col::wx:colour(), [Option]) -> bool() -%% Option = {style, integer()} %% @doc See external documentation. +-spec floodFill(This, Pt, Col, [Option]) -> boolean() when + This::wxDC(), Pt::{X::integer(), Y::integer()}, Col::wx:wx_colour(), + Option :: {style, integer()}. floodFill(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY},Col, Options) when is_integer(PtX),is_integer(PtY),tuple_size(Col) =:= 3; tuple_size(Col) =:= 4,is_list(Options) -> ?CLASS(ThisT,wxDC), @@ -377,81 +429,91 @@ floodFill(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY},Col, Options) wxe_util:call(?wxDC_FloodFill, <>). -%% @spec (This::wxDC()) -> wxBrush:wxBrush() %% @doc See external documentation. +-spec getBackground(This) -> wxBrush:wxBrush() when + This::wxDC(). getBackground(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxDC), wxe_util:call(?wxDC_GetBackground, <>). -%% @spec (This::wxDC()) -> integer() %% @doc See external documentation. +-spec getBackgroundMode(This) -> integer() when + This::wxDC(). getBackgroundMode(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxDC), wxe_util:call(?wxDC_GetBackgroundMode, <>). -%% @spec (This::wxDC()) -> wxBrush:wxBrush() %% @doc See external documentation. +-spec getBrush(This) -> wxBrush:wxBrush() when + This::wxDC(). getBrush(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxDC), wxe_util:call(?wxDC_GetBrush, <>). -%% @spec (This::wxDC()) -> integer() %% @doc See external documentation. +-spec getCharHeight(This) -> integer() when + This::wxDC(). getCharHeight(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxDC), wxe_util:call(?wxDC_GetCharHeight, <>). -%% @spec (This::wxDC()) -> integer() %% @doc See external documentation. +-spec getCharWidth(This) -> integer() when + This::wxDC(). getCharWidth(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxDC), wxe_util:call(?wxDC_GetCharWidth, <>). -%% @spec (This::wxDC(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}) -> ok %% @doc See external documentation. +-spec getClippingBox(This, Rect) -> ok when + This::wxDC(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}. getClippingBox(#wx_ref{type=ThisT,ref=ThisRef},{RectX,RectY,RectW,RectH}) when is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH) -> ?CLASS(ThisT,wxDC), wxe_util:cast(?wxDC_GetClippingBox, <>). -%% @spec (This::wxDC()) -> wxFont:wxFont() %% @doc See external documentation. +-spec getFont(This) -> wxFont:wxFont() when + This::wxDC(). getFont(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxDC), wxe_util:call(?wxDC_GetFont, <>). -%% @spec (This::wxDC()) -> WxLayoutDirection -%% WxLayoutDirection = integer() %% @doc See external documentation. -%%
WxLayoutDirection is one of ?wxLayout_Default | ?wxLayout_LeftToRight | ?wxLayout_RightToLeft +%%
Res = ?wxLayout_Default | ?wxLayout_LeftToRight | ?wxLayout_RightToLeft +-spec getLayoutDirection(This) -> wx:wx_enum() when + This::wxDC(). getLayoutDirection(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxDC), wxe_util:call(?wxDC_GetLayoutDirection, <>). -%% @spec (This::wxDC()) -> integer() %% @doc See external documentation. +-spec getLogicalFunction(This) -> integer() when + This::wxDC(). getLogicalFunction(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxDC), wxe_util:call(?wxDC_GetLogicalFunction, <>). -%% @spec (This::wxDC()) -> integer() %% @doc See external documentation. +-spec getMapMode(This) -> integer() when + This::wxDC(). getMapMode(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxDC), wxe_util:call(?wxDC_GetMapMode, <>). -%% @spec (This::wxDC(), String::string()) -> {W::integer(), H::integer()} %% @doc See external documentation. +-spec getMultiLineTextExtent(This, String) -> {W::integer(), H::integer()} when + This::wxDC(), String::string(). getMultiLineTextExtent(#wx_ref{type=ThisT,ref=ThisRef},String) when is_list(String) -> ?CLASS(ThisT,wxDC), @@ -459,9 +521,10 @@ getMultiLineTextExtent(#wx_ref{type=ThisT,ref=ThisRef},String) wxe_util:call(?wxDC_GetMultiLineTextExtent_1, <>). -%% @spec (This::wxDC(), String::string(), [Option]) -> {Width::integer(), Height::integer(), HeightLine::integer()} -%% Option = {font, wxFont:wxFont()} %% @doc See external documentation. +-spec getMultiLineTextExtent(This, String, [Option]) -> {Width::integer(), Height::integer(), HeightLine::integer()} when + This::wxDC(), String::string(), + Option :: {font, wxFont:wxFont()}. getMultiLineTextExtent(#wx_ref{type=ThisT,ref=ThisRef},String, Options) when is_list(String),is_list(Options) -> ?CLASS(ThisT,wxDC), @@ -472,8 +535,9 @@ getMultiLineTextExtent(#wx_ref{type=ThisT,ref=ThisRef},String, Options) wxe_util:call(?wxDC_GetMultiLineTextExtent_4, <>). -%% @spec (This::wxDC(), Text::string(), Widths::[integer()]) -> bool() %% @doc See external documentation. +-spec getPartialTextExtents(This, Text, Widths) -> boolean() when + This::wxDC(), Text::string(), Widths::[integer()]. getPartialTextExtents(#wx_ref{type=ThisT,ref=ThisRef},Text,Widths) when is_list(Text),is_list(Widths) -> ?CLASS(ThisT,wxDC), @@ -482,51 +546,58 @@ getPartialTextExtents(#wx_ref{type=ThisT,ref=ThisRef},Text,Widths) <> || C <- Widths>>)/binary, 0:(((1+length(Widths)) rem 2)*32)>>). -%% @spec (This::wxDC()) -> wxPen:wxPen() %% @doc See external documentation. +-spec getPen(This) -> wxPen:wxPen() when + This::wxDC(). getPen(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxDC), wxe_util:call(?wxDC_GetPen, <>). -%% @spec (This::wxDC(), Pt::{X::integer(), Y::integer()}, Col::wx:colour()) -> bool() %% @doc See external documentation. +-spec getPixel(This, Pt, Col) -> boolean() when + This::wxDC(), Pt::{X::integer(), Y::integer()}, Col::wx:wx_colour(). getPixel(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY},Col) when is_integer(PtX),is_integer(PtY),tuple_size(Col) =:= 3; tuple_size(Col) =:= 4 -> ?CLASS(ThisT,wxDC), wxe_util:call(?wxDC_GetPixel, <>). -%% @spec (This::wxDC()) -> {W::integer(), H::integer()} %% @doc See external documentation. +-spec getPPI(This) -> {W::integer(), H::integer()} when + This::wxDC(). getPPI(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxDC), wxe_util:call(?wxDC_GetPPI, <>). -%% @spec (This::wxDC()) -> {W::integer(), H::integer()} %% @doc See external documentation. +-spec getSize(This) -> {W::integer(), H::integer()} when + This::wxDC(). getSize(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxDC), wxe_util:call(?wxDC_GetSize, <>). -%% @spec (This::wxDC()) -> {W::integer(), H::integer()} %% @doc See external documentation. +-spec getSizeMM(This) -> {W::integer(), H::integer()} when + This::wxDC(). getSizeMM(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxDC), wxe_util:call(?wxDC_GetSizeMM, <>). -%% @spec (This::wxDC()) -> wx:colour() %% @doc See external documentation. +-spec getTextBackground(This) -> wx:wx_colour() when + This::wxDC(). getTextBackground(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxDC), wxe_util:call(?wxDC_GetTextBackground, <>). -%% @spec (This::wxDC(), String::string()) -> {W::integer(), H::integer()} %% @doc See external documentation. +-spec getTextExtent(This, String) -> {W::integer(), H::integer()} when + This::wxDC(), String::string(). getTextExtent(#wx_ref{type=ThisT,ref=ThisRef},String) when is_list(String) -> ?CLASS(ThisT,wxDC), @@ -534,9 +605,11 @@ getTextExtent(#wx_ref{type=ThisT,ref=ThisRef},String) wxe_util:call(?wxDC_GetTextExtent_1, <>). -%% @spec (This::wxDC(), String::string(), [Option]) -> {X::integer(), Y::integer(), Descent::integer(), ExternalLeading::integer()} -%% Option = {theFont, wxFont:wxFont()} %% @doc See external documentation. +-spec getTextExtent(This, String, [Option]) -> Result when + Result :: {X::integer(), Y::integer(), Descent::integer(), ExternalLeading::integer()}, + This::wxDC(), String::string(), + Option :: {theFont, wxFont:wxFont()}. getTextExtent(#wx_ref{type=ThisT,ref=ThisRef},String, Options) when is_list(String),is_list(Options) -> ?CLASS(ThisT,wxDC), @@ -547,47 +620,53 @@ getTextExtent(#wx_ref{type=ThisT,ref=ThisRef},String, Options) wxe_util:call(?wxDC_GetTextExtent_4, <>). -%% @spec (This::wxDC()) -> wx:colour() %% @doc See external documentation. +-spec getTextForeground(This) -> wx:wx_colour() when + This::wxDC(). getTextForeground(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxDC), wxe_util:call(?wxDC_GetTextForeground, <>). -%% @spec (This::wxDC()) -> {X::float(), Y::float()} %% @doc See external documentation. +-spec getUserScale(This) -> {X::float(), Y::float()} when + This::wxDC(). getUserScale(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxDC), wxe_util:call(?wxDC_GetUserScale, <>). -%% @spec (This::wxDC(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}, InitialColour::wx:colour(), DestColour::wx:colour()) -> ok %% @doc See external documentation. +-spec gradientFillConcentric(This, Rect, InitialColour, DestColour) -> ok when + This::wxDC(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}, InitialColour::wx:wx_colour(), DestColour::wx:wx_colour(). gradientFillConcentric(#wx_ref{type=ThisT,ref=ThisRef},{RectX,RectY,RectW,RectH},InitialColour,DestColour) when is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH),tuple_size(InitialColour) =:= 3; tuple_size(InitialColour) =:= 4,tuple_size(DestColour) =:= 3; tuple_size(DestColour) =:= 4 -> ?CLASS(ThisT,wxDC), wxe_util:cast(?wxDC_GradientFillConcentric_3, <>). -%% @spec (This::wxDC(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}, InitialColour::wx:colour(), DestColour::wx:colour(), CircleCenter::{X::integer(), Y::integer()}) -> ok %% @doc See external documentation. +-spec gradientFillConcentric(This, Rect, InitialColour, DestColour, CircleCenter) -> ok when + This::wxDC(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}, InitialColour::wx:wx_colour(), DestColour::wx:wx_colour(), CircleCenter::{X::integer(), Y::integer()}. gradientFillConcentric(#wx_ref{type=ThisT,ref=ThisRef},{RectX,RectY,RectW,RectH},InitialColour,DestColour,{CircleCenterX,CircleCenterY}) when is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH),tuple_size(InitialColour) =:= 3; tuple_size(InitialColour) =:= 4,tuple_size(DestColour) =:= 3; tuple_size(DestColour) =:= 4,is_integer(CircleCenterX),is_integer(CircleCenterY) -> ?CLASS(ThisT,wxDC), wxe_util:cast(?wxDC_GradientFillConcentric_4, <>). -%% @spec (This::wxDC(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}, InitialColour::wx:colour(), DestColour::wx:colour()) -> ok %% @equiv gradientFillLinear(This,Rect,InitialColour,DestColour, []) +-spec gradientFillLinear(This, Rect, InitialColour, DestColour) -> ok when + This::wxDC(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}, InitialColour::wx:wx_colour(), DestColour::wx:wx_colour(). + gradientFillLinear(This,Rect={RectX,RectY,RectW,RectH},InitialColour,DestColour) when is_record(This, wx_ref),is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH),tuple_size(InitialColour) =:= 3; tuple_size(InitialColour) =:= 4,tuple_size(DestColour) =:= 3; tuple_size(DestColour) =:= 4 -> gradientFillLinear(This,Rect,InitialColour,DestColour, []). -%% @spec (This::wxDC(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}, InitialColour::wx:colour(), DestColour::wx:colour(), [Option]) -> ok -%% Option = {nDirection, WxDirection} -%% WxDirection = integer() %% @doc See external documentation. -%%
WxDirection is one of ?wxLEFT | ?wxRIGHT | ?wxUP | ?wxDOWN | ?wxTOP | ?wxBOTTOM | ?wxNORTH | ?wxSOUTH | ?wxWEST | ?wxEAST | ?wxALL +%%
NDirection = ?wxLEFT | ?wxRIGHT | ?wxUP | ?wxDOWN | ?wxTOP | ?wxBOTTOM | ?wxNORTH | ?wxSOUTH | ?wxWEST | ?wxEAST | ?wxALL +-spec gradientFillLinear(This, Rect, InitialColour, DestColour, [Option]) -> ok when + This::wxDC(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}, InitialColour::wx:wx_colour(), DestColour::wx:wx_colour(), + Option :: {nDirection, wx:wx_enum()}. gradientFillLinear(#wx_ref{type=ThisT,ref=ThisRef},{RectX,RectY,RectW,RectH},InitialColour,DestColour, Options) when is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH),tuple_size(InitialColour) =:= 3; tuple_size(InitialColour) =:= 4,tuple_size(DestColour) =:= 3; tuple_size(DestColour) =:= 4,is_list(Options) -> ?CLASS(ThisT,wxDC), @@ -597,121 +676,131 @@ gradientFillLinear(#wx_ref{type=ThisT,ref=ThisRef},{RectX,RectY,RectW,RectH},Ini wxe_util:cast(?wxDC_GradientFillLinear, <>). -%% @spec (This::wxDC(), X::integer()) -> integer() %% @doc See external documentation. +-spec logicalToDeviceX(This, X) -> integer() when + This::wxDC(), X::integer(). logicalToDeviceX(#wx_ref{type=ThisT,ref=ThisRef},X) when is_integer(X) -> ?CLASS(ThisT,wxDC), wxe_util:call(?wxDC_LogicalToDeviceX, <>). -%% @spec (This::wxDC(), X::integer()) -> integer() %% @doc See external documentation. +-spec logicalToDeviceXRel(This, X) -> integer() when + This::wxDC(), X::integer(). logicalToDeviceXRel(#wx_ref{type=ThisT,ref=ThisRef},X) when is_integer(X) -> ?CLASS(ThisT,wxDC), wxe_util:call(?wxDC_LogicalToDeviceXRel, <>). -%% @spec (This::wxDC(), Y::integer()) -> integer() %% @doc See external documentation. +-spec logicalToDeviceY(This, Y) -> integer() when + This::wxDC(), Y::integer(). logicalToDeviceY(#wx_ref{type=ThisT,ref=ThisRef},Y) when is_integer(Y) -> ?CLASS(ThisT,wxDC), wxe_util:call(?wxDC_LogicalToDeviceY, <>). -%% @spec (This::wxDC(), Y::integer()) -> integer() %% @doc See external documentation. +-spec logicalToDeviceYRel(This, Y) -> integer() when + This::wxDC(), Y::integer(). logicalToDeviceYRel(#wx_ref{type=ThisT,ref=ThisRef},Y) when is_integer(Y) -> ?CLASS(ThisT,wxDC), wxe_util:call(?wxDC_LogicalToDeviceYRel, <>). -%% @spec (This::wxDC()) -> integer() %% @doc See external documentation. +-spec maxX(This) -> integer() when + This::wxDC(). maxX(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxDC), wxe_util:call(?wxDC_MaxX, <>). -%% @spec (This::wxDC()) -> integer() %% @doc See external documentation. +-spec maxY(This) -> integer() when + This::wxDC(). maxY(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxDC), wxe_util:call(?wxDC_MaxY, <>). -%% @spec (This::wxDC()) -> integer() %% @doc See external documentation. +-spec minX(This) -> integer() when + This::wxDC(). minX(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxDC), wxe_util:call(?wxDC_MinX, <>). -%% @spec (This::wxDC()) -> integer() %% @doc See external documentation. +-spec minY(This) -> integer() when + This::wxDC(). minY(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxDC), wxe_util:call(?wxDC_MinY, <>). -%% @spec (This::wxDC()) -> bool() %% @doc See external documentation. +-spec isOk(This) -> boolean() when + This::wxDC(). isOk(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxDC), wxe_util:call(?wxDC_IsOk, <>). -%% @spec (This::wxDC()) -> ok %% @doc See external documentation. +-spec resetBoundingBox(This) -> ok when + This::wxDC(). resetBoundingBox(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxDC), wxe_util:cast(?wxDC_ResetBoundingBox, <>). -%% @spec (This::wxDC(), XLeftRight::bool(), YBottomUp::bool()) -> ok %% @doc See external documentation. +-spec setAxisOrientation(This, XLeftRight, YBottomUp) -> ok when + This::wxDC(), XLeftRight::boolean(), YBottomUp::boolean(). setAxisOrientation(#wx_ref{type=ThisT,ref=ThisRef},XLeftRight,YBottomUp) when is_boolean(XLeftRight),is_boolean(YBottomUp) -> ?CLASS(ThisT,wxDC), wxe_util:cast(?wxDC_SetAxisOrientation, <>). -%% @spec (This::wxDC(), Brush::wxBrush:wxBrush()) -> ok %% @doc See external documentation. +-spec setBackground(This, Brush) -> ok when + This::wxDC(), Brush::wxBrush:wxBrush(). setBackground(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BrushT,ref=BrushRef}) -> ?CLASS(ThisT,wxDC), ?CLASS(BrushT,wxBrush), wxe_util:cast(?wxDC_SetBackground, <>). -%% @spec (This::wxDC(), Mode::integer()) -> ok %% @doc See external documentation. +-spec setBackgroundMode(This, Mode) -> ok when + This::wxDC(), Mode::integer(). setBackgroundMode(#wx_ref{type=ThisT,ref=ThisRef},Mode) when is_integer(Mode) -> ?CLASS(ThisT,wxDC), wxe_util:cast(?wxDC_SetBackgroundMode, <>). -%% @spec (This::wxDC(), Brush::wxBrush:wxBrush()) -> ok %% @doc See external documentation. +-spec setBrush(This, Brush) -> ok when + This::wxDC(), Brush::wxBrush:wxBrush(). setBrush(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BrushT,ref=BrushRef}) -> ?CLASS(ThisT,wxDC), ?CLASS(BrushT,wxBrush), wxe_util:cast(?wxDC_SetBrush, <>). -%% @spec (This::wxDC(),X::term()) -> ok %% @doc See external documentation. -%%
Alternatives: -%%

-%% setClippingRegion(This::wxDC(), Region::wxRegion:wxRegion()) -> ok -%%

-%%

-%% setClippingRegion(This::wxDC(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}) -> ok -%%

+-spec setClippingRegion(This, Region) -> ok when + This::wxDC(), Region::wxRegion:wxRegion(); + (This, Rect) -> ok when + This::wxDC(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}. setClippingRegion(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=RegionT,ref=RegionRef}) -> ?CLASS(ThisT,wxDC), ?CLASS(RegionT,wxRegion), @@ -723,98 +812,109 @@ setClippingRegion(#wx_ref{type=ThisT,ref=ThisRef},{RectX,RectY,RectW,RectH}) wxe_util:cast(?wxDC_SetClippingRegion_1_1, <>). -%% @spec (This::wxDC(), Pt::{X::integer(), Y::integer()}, Sz::{W::integer(), H::integer()}) -> ok %% @doc See external documentation. +-spec setClippingRegion(This, Pt, Sz) -> ok when + This::wxDC(), Pt::{X::integer(), Y::integer()}, Sz::{W::integer(), H::integer()}. setClippingRegion(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY},{SzW,SzH}) when is_integer(PtX),is_integer(PtY),is_integer(SzW),is_integer(SzH) -> ?CLASS(ThisT,wxDC), wxe_util:cast(?wxDC_SetClippingRegion_2, <>). -%% @spec (This::wxDC(), X::integer(), Y::integer()) -> ok %% @doc See external documentation. +-spec setDeviceOrigin(This, X, Y) -> ok when + This::wxDC(), X::integer(), Y::integer(). setDeviceOrigin(#wx_ref{type=ThisT,ref=ThisRef},X,Y) when is_integer(X),is_integer(Y) -> ?CLASS(ThisT,wxDC), wxe_util:cast(?wxDC_SetDeviceOrigin, <>). -%% @spec (This::wxDC(), Font::wxFont:wxFont()) -> ok %% @doc See external documentation. +-spec setFont(This, Font) -> ok when + This::wxDC(), Font::wxFont:wxFont(). setFont(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FontT,ref=FontRef}) -> ?CLASS(ThisT,wxDC), ?CLASS(FontT,wxFont), wxe_util:cast(?wxDC_SetFont, <>). -%% @spec (This::wxDC(), Dir::WxLayoutDirection) -> ok -%% WxLayoutDirection = integer() %% @doc See external documentation. -%%
WxLayoutDirection is one of ?wxLayout_Default | ?wxLayout_LeftToRight | ?wxLayout_RightToLeft +%%
Dir = ?wxLayout_Default | ?wxLayout_LeftToRight | ?wxLayout_RightToLeft +-spec setLayoutDirection(This, Dir) -> ok when + This::wxDC(), Dir::wx:wx_enum(). setLayoutDirection(#wx_ref{type=ThisT,ref=ThisRef},Dir) when is_integer(Dir) -> ?CLASS(ThisT,wxDC), wxe_util:cast(?wxDC_SetLayoutDirection, <>). -%% @spec (This::wxDC(), Function::integer()) -> ok %% @doc See external documentation. +-spec setLogicalFunction(This, Function) -> ok when + This::wxDC(), Function::integer(). setLogicalFunction(#wx_ref{type=ThisT,ref=ThisRef},Function) when is_integer(Function) -> ?CLASS(ThisT,wxDC), wxe_util:cast(?wxDC_SetLogicalFunction, <>). -%% @spec (This::wxDC(), Mode::integer()) -> ok %% @doc See external documentation. +-spec setMapMode(This, Mode) -> ok when + This::wxDC(), Mode::integer(). setMapMode(#wx_ref{type=ThisT,ref=ThisRef},Mode) when is_integer(Mode) -> ?CLASS(ThisT,wxDC), wxe_util:cast(?wxDC_SetMapMode, <>). -%% @spec (This::wxDC(), Palette::wxPalette:wxPalette()) -> ok %% @doc See external documentation. +-spec setPalette(This, Palette) -> ok when + This::wxDC(), Palette::wxPalette:wxPalette(). setPalette(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PaletteT,ref=PaletteRef}) -> ?CLASS(ThisT,wxDC), ?CLASS(PaletteT,wxPalette), wxe_util:cast(?wxDC_SetPalette, <>). -%% @spec (This::wxDC(), Pen::wxPen:wxPen()) -> ok %% @doc See external documentation. +-spec setPen(This, Pen) -> ok when + This::wxDC(), Pen::wxPen:wxPen(). setPen(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PenT,ref=PenRef}) -> ?CLASS(ThisT,wxDC), ?CLASS(PenT,wxPen), wxe_util:cast(?wxDC_SetPen, <>). -%% @spec (This::wxDC(), Colour::wx:colour()) -> ok %% @doc See external documentation. +-spec setTextBackground(This, Colour) -> ok when + This::wxDC(), Colour::wx:wx_colour(). setTextBackground(#wx_ref{type=ThisT,ref=ThisRef},Colour) when tuple_size(Colour) =:= 3; tuple_size(Colour) =:= 4 -> ?CLASS(ThisT,wxDC), wxe_util:cast(?wxDC_SetTextBackground, <>). -%% @spec (This::wxDC(), Colour::wx:colour()) -> ok %% @doc See external documentation. +-spec setTextForeground(This, Colour) -> ok when + This::wxDC(), Colour::wx:wx_colour(). setTextForeground(#wx_ref{type=ThisT,ref=ThisRef},Colour) when tuple_size(Colour) =:= 3; tuple_size(Colour) =:= 4 -> ?CLASS(ThisT,wxDC), wxe_util:cast(?wxDC_SetTextForeground, <>). -%% @spec (This::wxDC(), X::float(), Y::float()) -> ok %% @doc See external documentation. +-spec setUserScale(This, X, Y) -> ok when + This::wxDC(), X::float(), Y::float(). setUserScale(#wx_ref{type=ThisT,ref=ThisRef},X,Y) when is_float(X),is_float(Y) -> ?CLASS(ThisT,wxDC), wxe_util:cast(?wxDC_SetUserScale, <>). -%% @spec (This::wxDC(), Message::string()) -> bool() %% @doc See external documentation. +-spec startDoc(This, Message) -> boolean() when + This::wxDC(), Message::string(). startDoc(#wx_ref{type=ThisT,ref=ThisRef},Message) when is_list(Message) -> ?CLASS(ThisT,wxDC), @@ -822,8 +922,9 @@ startDoc(#wx_ref{type=ThisT,ref=ThisRef},Message) wxe_util:call(?wxDC_StartDoc, <>). -%% @spec (This::wxDC()) -> ok %% @doc See external documentation. +-spec startPage(This) -> ok when + This::wxDC(). startPage(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxDC), wxe_util:cast(?wxDC_StartPage, diff --git a/lib/wx/src/gen/wxDataObject.erl b/lib/wx/src/gen/wxDataObject.erl index bad6d96fb5..65b388aa48 100644 --- a/lib/wx/src/gen/wxDataObject.erl +++ b/lib/wx/src/gen/wxDataObject.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,6 +29,8 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxDataObject/0]). %% @hidden parent_class(_Class) -> erlang:error({badtype, ?MODULE}). +-type wxDataObject() :: wx:wx_object(). diff --git a/lib/wx/src/gen/wxDateEvent.erl b/lib/wx/src/gen/wxDateEvent.erl index b4b010e122..417322097f 100644 --- a/lib/wx/src/gen/wxDateEvent.erl +++ b/lib/wx/src/gen/wxDateEvent.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,13 +40,16 @@ parent_class/1,resumePropagation/2,setInt/2,setString/2,shouldPropagate/1, skip/1,skip/2,stopPropagation/1]). +-export_type([wxDateEvent/0]). %% @hidden parent_class(wxCommandEvent) -> true; parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxDateEvent()) -> wx:datetime() +-type wxDateEvent() :: wx:wx_object(). %% @doc See external documentation. +-spec getDate(This) -> wx:wx_datetime() when + This::wxDateEvent(). getDate(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxDateEvent), wxe_util:call(?wxDateEvent_GetDate, diff --git a/lib/wx/src/gen/wxDatePickerCtrl.erl b/lib/wx/src/gen/wxDatePickerCtrl.erl index 8a1700e9cd..e1c16d3612 100644 --- a/lib/wx/src/gen/wxDatePickerCtrl.erl +++ b/lib/wx/src/gen/wxDatePickerCtrl.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -74,6 +74,7 @@ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1, update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxDatePickerCtrl/0]). %% @hidden parent_class(wxPickerBase) -> true; parent_class(wxControl) -> true; @@ -81,21 +82,29 @@ parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxDatePickerCtrl() +-type wxDatePickerCtrl() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxDatePickerCtrl(). new() -> wxe_util:construct(?wxDatePickerCtrl_new_0, <<>>). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer()) -> wxDatePickerCtrl() %% @equiv new(Parent,Id, []) +-spec new(Parent, Id) -> wxDatePickerCtrl() when + Parent::wxWindow:wxWindow(), Id::integer(). + new(Parent,Id) when is_record(Parent, wx_ref),is_integer(Id) -> new(Parent,Id, []). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> wxDatePickerCtrl() -%% Option = {date, wx:datetime()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx:wx()} %% @doc See external documentation. +-spec new(Parent, Id, [Option]) -> wxDatePickerCtrl() when + Parent::wxWindow:wxWindow(), Id::integer(), + Option :: {date, wx:wx_datetime()} + | {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()} + | {validator, wx:wx()}. new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options) when is_integer(Id),is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -109,39 +118,43 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options) wxe_util:construct(?wxDatePickerCtrl_new_3, <>). -%% @spec (This::wxDatePickerCtrl(), Dt1::wx:datetime(), Dt2::wx:datetime()) -> bool() %% @doc See external documentation. +-spec getRange(This, Dt1, Dt2) -> boolean() when + This::wxDatePickerCtrl(), Dt1::wx:wx_datetime(), Dt2::wx:wx_datetime(). getRange(#wx_ref{type=ThisT,ref=ThisRef},Dt1,Dt2) when tuple_size(Dt1) =:= 2,tuple_size(Dt2) =:= 2 -> ?CLASS(ThisT,wxDatePickerCtrl), wxe_util:call(?wxDatePickerCtrl_GetRange, <>). -%% @spec (This::wxDatePickerCtrl()) -> wx:datetime() %% @doc See external documentation. +-spec getValue(This) -> wx:wx_datetime() when + This::wxDatePickerCtrl(). getValue(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxDatePickerCtrl), wxe_util:call(?wxDatePickerCtrl_GetValue, <>). -%% @spec (This::wxDatePickerCtrl(), Dt1::wx:datetime(), Dt2::wx:datetime()) -> ok %% @doc See external documentation. +-spec setRange(This, Dt1, Dt2) -> ok when + This::wxDatePickerCtrl(), Dt1::wx:wx_datetime(), Dt2::wx:wx_datetime(). setRange(#wx_ref{type=ThisT,ref=ThisRef},Dt1,Dt2) when tuple_size(Dt1) =:= 2,tuple_size(Dt2) =:= 2 -> ?CLASS(ThisT,wxDatePickerCtrl), wxe_util:cast(?wxDatePickerCtrl_SetRange, <>). -%% @spec (This::wxDatePickerCtrl(), Date::wx:datetime()) -> ok %% @doc See external documentation. +-spec setValue(This, Date) -> ok when + This::wxDatePickerCtrl(), Date::wx:wx_datetime(). setValue(#wx_ref{type=ThisT,ref=ThisRef},Date) when tuple_size(Date) =:= 2 -> ?CLASS(ThisT,wxDatePickerCtrl), wxe_util:cast(?wxDatePickerCtrl_SetValue, <>). -%% @spec (This::wxDatePickerCtrl()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxDatePickerCtrl) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxDatePickerCtrl), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxDialog.erl b/lib/wx/src/gen/wxDialog.erl index 514a62813e..137ad27a45 100644 --- a/lib/wx/src/gen/wxDialog.erl +++ b/lib/wx/src/gen/wxDialog.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -76,27 +76,34 @@ thaw/1,transferDataFromWindow/1,transferDataToWindow/1,update/1,updateWindowUI/1, updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxDialog/0]). %% @hidden parent_class(wxTopLevelWindow) -> true; parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxDialog() +-type wxDialog() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxDialog(). new() -> wxe_util:construct(?wxDialog_new_0, <<>>). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Title::string()) -> wxDialog() %% @equiv new(Parent,Id,Title, []) +-spec new(Parent, Id, Title) -> wxDialog() when + Parent::wxWindow:wxWindow(), Id::integer(), Title::string(). + new(Parent,Id,Title) when is_record(Parent, wx_ref),is_integer(Id),is_list(Title) -> new(Parent,Id,Title, []). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Title::string(), [Option]) -> wxDialog() -%% Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} %% @doc See external documentation. +-spec new(Parent, Id, Title, [Option]) -> wxDialog() when + Parent::wxWindow:wxWindow(), Id::integer(), Title::string(), + Option :: {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()}. new(#wx_ref{type=ParentT,ref=ParentRef},Id,Title, Options) when is_integer(Id),is_list(Title),is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -109,15 +116,20 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Id,Title, Options) wxe_util:construct(?wxDialog_new_4, <>). -%% @spec (This::wxDialog(), Parent::wxWindow:wxWindow(), Id::integer(), Title::string()) -> bool() %% @equiv create(This,Parent,Id,Title, []) +-spec create(This, Parent, Id, Title) -> boolean() when + This::wxDialog(), Parent::wxWindow:wxWindow(), Id::integer(), Title::string(). + create(This,Parent,Id,Title) when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id),is_list(Title) -> create(This,Parent,Id,Title, []). -%% @spec (This::wxDialog(), Parent::wxWindow:wxWindow(), Id::integer(), Title::string(), [Option]) -> bool() -%% Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} %% @doc See external documentation. +-spec create(This, Parent, Id, Title, [Option]) -> boolean() when + This::wxDialog(), Parent::wxWindow:wxWindow(), Id::integer(), Title::string(), + Option :: {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()}. create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,Title, Options) when is_integer(Id),is_list(Title),is_list(Options) -> ?CLASS(ThisT,wxDialog), @@ -131,76 +143,87 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,Ti wxe_util:call(?wxDialog_Create, <>). -%% @spec (This::wxDialog(), Flags::integer()) -> wxSizer:wxSizer() %% @doc See external documentation. +-spec createButtonSizer(This, Flags) -> wxSizer:wxSizer() when + This::wxDialog(), Flags::integer(). createButtonSizer(#wx_ref{type=ThisT,ref=ThisRef},Flags) when is_integer(Flags) -> ?CLASS(ThisT,wxDialog), wxe_util:call(?wxDialog_CreateButtonSizer, <>). -%% @spec (This::wxDialog(), Flags::integer()) -> wxStdDialogButtonSizer:wxStdDialogButtonSizer() %% @doc See external documentation. +-spec createStdDialogButtonSizer(This, Flags) -> wxStdDialogButtonSizer:wxStdDialogButtonSizer() when + This::wxDialog(), Flags::integer(). createStdDialogButtonSizer(#wx_ref{type=ThisT,ref=ThisRef},Flags) when is_integer(Flags) -> ?CLASS(ThisT,wxDialog), wxe_util:call(?wxDialog_CreateStdDialogButtonSizer, <>). -%% @spec (This::wxDialog(), RetCode::integer()) -> ok %% @doc See external documentation. +-spec endModal(This, RetCode) -> ok when + This::wxDialog(), RetCode::integer(). endModal(#wx_ref{type=ThisT,ref=ThisRef},RetCode) when is_integer(RetCode) -> ?CLASS(ThisT,wxDialog), wxe_util:cast(?wxDialog_EndModal, <>). -%% @spec (This::wxDialog()) -> integer() %% @doc See external documentation. +-spec getAffirmativeId(This) -> integer() when + This::wxDialog(). getAffirmativeId(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxDialog), wxe_util:call(?wxDialog_GetAffirmativeId, <>). -%% @spec (This::wxDialog()) -> integer() %% @doc See external documentation. +-spec getReturnCode(This) -> integer() when + This::wxDialog(). getReturnCode(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxDialog), wxe_util:call(?wxDialog_GetReturnCode, <>). -%% @spec (This::wxDialog()) -> bool() %% @doc See external documentation. +-spec isModal(This) -> boolean() when + This::wxDialog(). isModal(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxDialog), wxe_util:call(?wxDialog_IsModal, <>). -%% @spec (This::wxDialog(), AffirmativeId::integer()) -> ok %% @doc See external documentation. +-spec setAffirmativeId(This, AffirmativeId) -> ok when + This::wxDialog(), AffirmativeId::integer(). setAffirmativeId(#wx_ref{type=ThisT,ref=ThisRef},AffirmativeId) when is_integer(AffirmativeId) -> ?CLASS(ThisT,wxDialog), wxe_util:cast(?wxDialog_SetAffirmativeId, <>). -%% @spec (This::wxDialog(), ReturnCode::integer()) -> ok %% @doc See external documentation. +-spec setReturnCode(This, ReturnCode) -> ok when + This::wxDialog(), ReturnCode::integer(). setReturnCode(#wx_ref{type=ThisT,ref=ThisRef},ReturnCode) when is_integer(ReturnCode) -> ?CLASS(ThisT,wxDialog), wxe_util:cast(?wxDialog_SetReturnCode, <>). -%% @spec (This::wxDialog()) -> bool() %% @equiv show(This, []) +-spec show(This) -> boolean() when + This::wxDialog(). + show(This) when is_record(This, wx_ref) -> show(This, []). -%% @spec (This::wxDialog(), [Option]) -> bool() -%% Option = {show, bool()} %% @doc See external documentation. +-spec show(This, [Option]) -> boolean() when + This::wxDialog(), + Option :: {show, boolean()}. show(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxDialog), @@ -210,15 +233,16 @@ show(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxDialog_Show, <>). -%% @spec (This::wxDialog()) -> integer() %% @doc See external documentation. +-spec showModal(This) -> integer() when + This::wxDialog(). showModal(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxDialog), wxe_util:call(?wxDialog_ShowModal, <>). -%% @spec (This::wxDialog()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxDialog) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxDialog), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxDirDialog.erl b/lib/wx/src/gen/wxDirDialog.erl index 28db3daf1d..6104803294 100644 --- a/lib/wx/src/gen/wxDirDialog.erl +++ b/lib/wx/src/gen/wxDirDialog.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -77,6 +77,7 @@ transferDataFromWindow/1,transferDataToWindow/1,update/1,updateWindowUI/1, updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxDirDialog/0]). %% @hidden parent_class(wxDialog) -> true; parent_class(wxTopLevelWindow) -> true; @@ -84,15 +85,23 @@ parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (Parent::wxWindow:wxWindow()) -> wxDirDialog() +-type wxDirDialog() :: wx:wx_object(). %% @equiv new(Parent, []) +-spec new(Parent) -> wxDirDialog() when + Parent::wxWindow:wxWindow(). + new(Parent) when is_record(Parent, wx_ref) -> new(Parent, []). -%% @spec (Parent::wxWindow:wxWindow(), [Option]) -> wxDirDialog() -%% Option = {title, string()} | {defaultPath, string()} | {style, integer()} | {pos, {X::integer(), Y::integer()}} | {sz, {W::integer(), H::integer()}} %% @doc See external documentation. +-spec new(Parent, [Option]) -> wxDirDialog() when + Parent::wxWindow:wxWindow(), + Option :: {title, string()} + | {defaultPath, string()} + | {style, integer()} + | {pos, {X::integer(), Y::integer()}} + | {sz, {W::integer(), H::integer()}}. new(#wx_ref{type=ParentT,ref=ParentRef}, Options) when is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -106,22 +115,25 @@ new(#wx_ref{type=ParentT,ref=ParentRef}, Options) wxe_util:construct(?wxDirDialog_new, <>). -%% @spec (This::wxDirDialog()) -> string() %% @doc See external documentation. +-spec getPath(This) -> string() when + This::wxDirDialog(). getPath(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxDirDialog), wxe_util:call(?wxDirDialog_GetPath, <>). -%% @spec (This::wxDirDialog()) -> string() %% @doc See external documentation. +-spec getMessage(This) -> string() when + This::wxDirDialog(). getMessage(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxDirDialog), wxe_util:call(?wxDirDialog_GetMessage, <>). -%% @spec (This::wxDirDialog(), Message::string()) -> ok %% @doc See external documentation. +-spec setMessage(This, Message) -> ok when + This::wxDirDialog(), Message::string(). setMessage(#wx_ref{type=ThisT,ref=ThisRef},Message) when is_list(Message) -> ?CLASS(ThisT,wxDirDialog), @@ -129,8 +141,9 @@ setMessage(#wx_ref{type=ThisT,ref=ThisRef},Message) wxe_util:cast(?wxDirDialog_SetMessage, <>). -%% @spec (This::wxDirDialog(), Path::string()) -> ok %% @doc See external documentation. +-spec setPath(This, Path) -> ok when + This::wxDirDialog(), Path::string(). setPath(#wx_ref{type=ThisT,ref=ThisRef},Path) when is_list(Path) -> ?CLASS(ThisT,wxDirDialog), @@ -138,8 +151,8 @@ setPath(#wx_ref{type=ThisT,ref=ThisRef},Path) wxe_util:cast(?wxDirDialog_SetPath, <>). -%% @spec (This::wxDirDialog()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxDirDialog) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxDirDialog), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxDirPickerCtrl.erl b/lib/wx/src/gen/wxDirPickerCtrl.erl index 2b24bc4bb0..667119c987 100644 --- a/lib/wx/src/gen/wxDirPickerCtrl.erl +++ b/lib/wx/src/gen/wxDirPickerCtrl.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -74,6 +74,7 @@ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1, update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxDirPickerCtrl/0]). %% @hidden parent_class(wxPickerBase) -> true; parent_class(wxControl) -> true; @@ -81,21 +82,30 @@ parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxDirPickerCtrl() +-type wxDirPickerCtrl() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxDirPickerCtrl(). new() -> wxe_util:construct(?wxDirPickerCtrl_new_0, <<>>). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer()) -> wxDirPickerCtrl() %% @equiv new(Parent,Id, []) +-spec new(Parent, Id) -> wxDirPickerCtrl() when + Parent::wxWindow:wxWindow(), Id::integer(). + new(Parent,Id) when is_record(Parent, wx_ref),is_integer(Id) -> new(Parent,Id, []). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> wxDirPickerCtrl() -%% Option = {path, string()} | {message, string()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx:wx()} %% @doc See external documentation. +-spec new(Parent, Id, [Option]) -> wxDirPickerCtrl() when + Parent::wxWindow:wxWindow(), Id::integer(), + Option :: {path, string()} + | {message, string()} + | {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()} + | {validator, wx:wx()}. new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options) when is_integer(Id),is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -110,15 +120,23 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options) wxe_util:construct(?wxDirPickerCtrl_new_3, <>). -%% @spec (This::wxDirPickerCtrl(), Parent::wxWindow:wxWindow(), Id::integer()) -> bool() %% @equiv create(This,Parent,Id, []) +-spec create(This, Parent, Id) -> boolean() when + This::wxDirPickerCtrl(), Parent::wxWindow:wxWindow(), Id::integer(). + create(This,Parent,Id) when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id) -> create(This,Parent,Id, []). -%% @spec (This::wxDirPickerCtrl(), Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> bool() -%% Option = {path, string()} | {message, string()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx:wx()} %% @doc See external documentation. +-spec create(This, Parent, Id, [Option]) -> boolean() when + This::wxDirPickerCtrl(), Parent::wxWindow:wxWindow(), Id::integer(), + Option :: {path, string()} + | {message, string()} + | {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()} + | {validator, wx:wx()}. create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id, Options) when is_integer(Id),is_list(Options) -> ?CLASS(ThisT,wxDirPickerCtrl), @@ -134,15 +152,17 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id, O wxe_util:call(?wxDirPickerCtrl_Create, <>). -%% @spec (This::wxDirPickerCtrl()) -> string() %% @doc See external documentation. +-spec getPath(This) -> string() when + This::wxDirPickerCtrl(). getPath(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxDirPickerCtrl), wxe_util:call(?wxDirPickerCtrl_GetPath, <>). -%% @spec (This::wxDirPickerCtrl(), Str::string()) -> ok %% @doc See external documentation. +-spec setPath(This, Str) -> ok when + This::wxDirPickerCtrl(), Str::string(). setPath(#wx_ref{type=ThisT,ref=ThisRef},Str) when is_list(Str) -> ?CLASS(ThisT,wxDirPickerCtrl), @@ -150,8 +170,8 @@ setPath(#wx_ref{type=ThisT,ref=ThisRef},Str) wxe_util:cast(?wxDirPickerCtrl_SetPath, <>). -%% @spec (This::wxDirPickerCtrl()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxDirPickerCtrl) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxDirPickerCtrl), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxDisplayChangedEvent.erl b/lib/wx/src/gen/wxDisplayChangedEvent.erl index c86ef62462..0c0612564b 100644 --- a/lib/wx/src/gen/wxDisplayChangedEvent.erl +++ b/lib/wx/src/gen/wxDisplayChangedEvent.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,10 +37,12 @@ -export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1, resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]). +-export_type([wxDisplayChangedEvent/0]). %% @hidden parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). +-type wxDisplayChangedEvent() :: wx:wx_object(). %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). diff --git a/lib/wx/src/gen/wxEraseEvent.erl b/lib/wx/src/gen/wxEraseEvent.erl index 77139b6790..03ce8862dc 100644 --- a/lib/wx/src/gen/wxEraseEvent.erl +++ b/lib/wx/src/gen/wxEraseEvent.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,12 +37,15 @@ -export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1, resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]). +-export_type([wxEraseEvent/0]). %% @hidden parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxEraseEvent()) -> wxDC:wxDC() +-type wxEraseEvent() :: wx:wx_object(). %% @doc See external documentation. +-spec getDC(This) -> wxDC:wxDC() when + This::wxEraseEvent(). getDC(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxEraseEvent), wxe_util:call(?wxEraseEvent_GetDC, diff --git a/lib/wx/src/gen/wxEvent.erl b/lib/wx/src/gen/wxEvent.erl index 403fd89f1f..1b2147a326 100644 --- a/lib/wx/src/gen/wxEvent.erl +++ b/lib/wx/src/gen/wxEvent.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,61 +30,72 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxEvent/0]). %% @hidden parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxEvent()) -> integer() +-type wxEvent() :: wx:wx_object(). %% @doc See external documentation. +-spec getId(This) -> integer() when + This::wxEvent(). getId(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxEvent), wxe_util:call(?wxEvent_GetId, <>). -%% @spec (This::wxEvent()) -> bool() %% @doc See external documentation. +-spec getSkipped(This) -> boolean() when + This::wxEvent(). getSkipped(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxEvent), wxe_util:call(?wxEvent_GetSkipped, <>). -%% @spec (This::wxEvent()) -> integer() %% @doc See external documentation. +-spec getTimestamp(This) -> integer() when + This::wxEvent(). getTimestamp(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxEvent), wxe_util:call(?wxEvent_GetTimestamp, <>). -%% @spec (This::wxEvent()) -> bool() %% @doc See external documentation. +-spec isCommandEvent(This) -> boolean() when + This::wxEvent(). isCommandEvent(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxEvent), wxe_util:call(?wxEvent_IsCommandEvent, <>). -%% @spec (This::wxEvent(), PropagationLevel::integer()) -> ok %% @doc See external documentation. +-spec resumePropagation(This, PropagationLevel) -> ok when + This::wxEvent(), PropagationLevel::integer(). resumePropagation(#wx_ref{type=ThisT,ref=ThisRef},PropagationLevel) when is_integer(PropagationLevel) -> ?CLASS(ThisT,wxEvent), wxe_util:cast(?wxEvent_ResumePropagation, <>). -%% @spec (This::wxEvent()) -> bool() %% @doc See external documentation. +-spec shouldPropagate(This) -> boolean() when + This::wxEvent(). shouldPropagate(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxEvent), wxe_util:call(?wxEvent_ShouldPropagate, <>). -%% @spec (This::wxEvent()) -> ok %% @equiv skip(This, []) +-spec skip(This) -> ok when + This::wxEvent(). + skip(This) when is_record(This, wx_ref) -> skip(This, []). -%% @spec (This::wxEvent(), [Option]) -> ok -%% Option = {skip, bool()} %% @doc See external documentation. +-spec skip(This, [Option]) -> ok when + This::wxEvent(), + Option :: {skip, boolean()}. skip(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxEvent), @@ -94,8 +105,9 @@ skip(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:cast(?wxEvent_Skip, <>). -%% @spec (This::wxEvent()) -> integer() %% @doc See external documentation. +-spec stopPropagation(This) -> integer() when + This::wxEvent(). stopPropagation(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxEvent), wxe_util:call(?wxEvent_StopPropagation, diff --git a/lib/wx/src/gen/wxEvtHandler.erl b/lib/wx/src/gen/wxEvtHandler.erl index 820c2b7a58..cf4a72da5a 100644 --- a/lib/wx/src/gen/wxEvtHandler.erl +++ b/lib/wx/src/gen/wxEvtHandler.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,10 +37,7 @@ %% %% The orginal documentation. %% -%% @headerfile "../../include/wx.hrl" %% -%%@type wxEvtHandler(). An object reference - -module(wxEvtHandler). -include("wxe.hrl"). -include("../include/wx.hrl"). @@ -53,17 +50,16 @@ new_evt_listener/0, destroy_evt_listener/1, get_callback/1, replace_fun_with_id/2]). --record(evh, {et=null,id=?wxID_ANY,lastId=?wxID_ANY,skip=undefined,userdata=[],cb=0}). - +-export_type([wxEvtHandler/0, wx/0, event/0]). +-type wxEvtHandler() :: wx:wx_object(). +-record(evh, {et=null,id=?wxID_ANY,lastId=?wxID_ANY,skip=undefined,userdata=[],cb=0}). -%% @spec (This::wxEvtHandler(), EventType::wxEventType()) -> ok %% @doc Equivalent to {@link connect/3. connect(This, EventType, [])} - +-spec connect(This::wxEvtHandler(), EventType::wxEventType()) -> ok. connect(This, EventType) -> connect(This, EventType, []). -%% @spec (This::wxEvtHandler(), EventType::wxEventType(), [Options]) -> ok %% @doc This function subscribes the to events of EventType, %% in the range id, lastId. The events will be received as messages %% if no callback is supplied. @@ -82,6 +78,9 @@ connect(This, EventType) -> %% to process the event. Default not specfied i.e. a message will %% be delivered to the process calling this function. %% {userData, term()} An erlang term that will be sent with the event. Default: []. +-spec connect(This::wxEvtHandler(), EventType::wxEventType(), [Option]) -> ok when + Option :: {id, integer()} | {lastId, integer()} | {skip, boolean()} | + {callback, function()} | {userData, term()}. connect(This=#wx_ref{type=ThisT}, EventType, Options) -> EvH = parse_opts(Options, #evh{et=EventType}), ?CLASS(ThisT,wxEvtHandler), @@ -118,26 +117,27 @@ parse_opts([], Opts = #evh{id=Id,lastId=Lid,skip=Skip, cb=CB}) -> Opts end. -%% @spec (This::wxEvtHandler()) -> true | false + %% @doc Equivalent to {@link disconnect/3. disconnect(This, null, [])} %% Can also have an optional callback Fun() as an additional last argument. - +-spec disconnect(This::wxEvtHandler()) -> boolean(). disconnect(This=#wx_ref{type=ThisT,ref=_ThisRef}) -> ?CLASS(ThisT,wxEvtHandler), disconnect(This, null, []). -%% @spec (This::wxEvtHandler(), EventType::wxEventType()) -> true | false %% @doc Equivalent to {@link disconnect/3. disconnect(This, EventType, [])} +-spec disconnect(This::wxEvtHandler(), EventType::wxEventType()) -> boolean(). disconnect(This=#wx_ref{type=ThisT,ref=_ThisRef}, EventType) when is_atom(EventType) -> ?CLASS(ThisT,wxEvtHandler), disconnect(This, EventType, []). -%% @spec (This::wxEvtHandler(), EventType::wxEventType(), Opts) -> true | false %% @doc See external documentation %% This function unsubscribes the process or callback fun from the event handler. %% EventType may be the atom 'null' to match any eventtype. %% Notice that the options skip and userdata is not used to match the eventhandler. -disconnect(This=#wx_ref{type=ThisT,ref=_ThisRef}, EventType, Opts) -> +-spec disconnect(This::wxEvtHandler(), EventType::wxEventType(), [Option]) -> boolean() when + Option :: {id, integer()} | {lastId, integer()} | {callback, function()}. +disconnect(This=#wx_ref{type=ThisT,ref=_ThisRef}, EventType, Opts) -> ?CLASS(ThisT,wxEvtHandler), EvH = parse_opts(Opts, #evh{et=EventType}), case wxe_util:disconnect_cb(This, EvH) of diff --git a/lib/wx/src/gen/wxFileDataObject.erl b/lib/wx/src/gen/wxFileDataObject.erl index 2fcfbd5374..3349005821 100644 --- a/lib/wx/src/gen/wxFileDataObject.erl +++ b/lib/wx/src/gen/wxFileDataObject.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,18 +32,21 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxFileDataObject/0]). %% @hidden parent_class(wxDataObject) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxFileDataObject() +-type wxFileDataObject() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxFileDataObject(). new() -> wxe_util:construct(?wxFileDataObject_new, <<>>). -%% @spec (This::wxFileDataObject(), Filename::string()) -> ok %% @doc See external documentation. +-spec addFile(This, Filename) -> ok when + This::wxFileDataObject(), Filename::string(). addFile(#wx_ref{type=ThisT,ref=ThisRef},Filename) when is_list(Filename) -> ?CLASS(ThisT,wxFileDataObject), @@ -51,15 +54,16 @@ addFile(#wx_ref{type=ThisT,ref=ThisRef},Filename) wxe_util:cast(?wxFileDataObject_AddFile, <>). -%% @spec (This::wxFileDataObject()) -> [[string()]] %% @doc See external documentation. +-spec getFilenames(This) -> [[string()]] when + This::wxFileDataObject(). getFilenames(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFileDataObject), wxe_util:call(?wxFileDataObject_GetFilenames, <>). -%% @spec (This::wxFileDataObject()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxFileDataObject) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxFileDataObject), wxe_util:destroy(?wxFileDataObject_destroy,Obj), diff --git a/lib/wx/src/gen/wxFileDialog.erl b/lib/wx/src/gen/wxFileDialog.erl index c6779927e9..b6bd7f164a 100644 --- a/lib/wx/src/gen/wxFileDialog.erl +++ b/lib/wx/src/gen/wxFileDialog.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -79,6 +79,7 @@ transferDataFromWindow/1,transferDataToWindow/1,update/1,updateWindowUI/1, updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxFileDialog/0]). %% @hidden parent_class(wxDialog) -> true; parent_class(wxTopLevelWindow) -> true; @@ -86,15 +87,25 @@ parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (Parent::wxWindow:wxWindow()) -> wxFileDialog() +-type wxFileDialog() :: wx:wx_object(). %% @equiv new(Parent, []) +-spec new(Parent) -> wxFileDialog() when + Parent::wxWindow:wxWindow(). + new(Parent) when is_record(Parent, wx_ref) -> new(Parent, []). -%% @spec (Parent::wxWindow:wxWindow(), [Option]) -> wxFileDialog() -%% Option = {message, string()} | {defaultDir, string()} | {defaultFile, string()} | {wildCard, string()} | {style, integer()} | {pos, {X::integer(), Y::integer()}} | {sz, {W::integer(), H::integer()}} %% @doc See external documentation. +-spec new(Parent, [Option]) -> wxFileDialog() when + Parent::wxWindow:wxWindow(), + Option :: {message, string()} + | {defaultDir, string()} + | {defaultFile, string()} + | {wildCard, string()} + | {style, integer()} + | {pos, {X::integer(), Y::integer()}} + | {sz, {W::integer(), H::integer()}}. new(#wx_ref{type=ParentT,ref=ParentRef}, Options) when is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -110,64 +121,73 @@ new(#wx_ref{type=ParentT,ref=ParentRef}, Options) wxe_util:construct(?wxFileDialog_new, <>). -%% @spec (This::wxFileDialog()) -> string() %% @doc See external documentation. +-spec getDirectory(This) -> string() when + This::wxFileDialog(). getDirectory(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFileDialog), wxe_util:call(?wxFileDialog_GetDirectory, <>). -%% @spec (This::wxFileDialog()) -> string() %% @doc See external documentation. +-spec getFilename(This) -> string() when + This::wxFileDialog(). getFilename(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFileDialog), wxe_util:call(?wxFileDialog_GetFilename, <>). -%% @spec (This::wxFileDialog()) -> [[string()]] %% @doc See external documentation. +-spec getFilenames(This) -> [[string()]] when + This::wxFileDialog(). getFilenames(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFileDialog), wxe_util:call(?wxFileDialog_GetFilenames, <>). -%% @spec (This::wxFileDialog()) -> integer() %% @doc See external documentation. +-spec getFilterIndex(This) -> integer() when + This::wxFileDialog(). getFilterIndex(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFileDialog), wxe_util:call(?wxFileDialog_GetFilterIndex, <>). -%% @spec (This::wxFileDialog()) -> string() %% @doc See external documentation. +-spec getMessage(This) -> string() when + This::wxFileDialog(). getMessage(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFileDialog), wxe_util:call(?wxFileDialog_GetMessage, <>). -%% @spec (This::wxFileDialog()) -> string() %% @doc See external documentation. +-spec getPath(This) -> string() when + This::wxFileDialog(). getPath(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFileDialog), wxe_util:call(?wxFileDialog_GetPath, <>). -%% @spec (This::wxFileDialog()) -> [[string()]] %% @doc See external documentation. +-spec getPaths(This) -> [[string()]] when + This::wxFileDialog(). getPaths(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFileDialog), wxe_util:call(?wxFileDialog_GetPaths, <>). -%% @spec (This::wxFileDialog()) -> string() %% @doc See external documentation. +-spec getWildcard(This) -> string() when + This::wxFileDialog(). getWildcard(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFileDialog), wxe_util:call(?wxFileDialog_GetWildcard, <>). -%% @spec (This::wxFileDialog(), Dir::string()) -> ok %% @doc See external documentation. +-spec setDirectory(This, Dir) -> ok when + This::wxFileDialog(), Dir::string(). setDirectory(#wx_ref{type=ThisT,ref=ThisRef},Dir) when is_list(Dir) -> ?CLASS(ThisT,wxFileDialog), @@ -175,8 +195,9 @@ setDirectory(#wx_ref{type=ThisT,ref=ThisRef},Dir) wxe_util:cast(?wxFileDialog_SetDirectory, <>). -%% @spec (This::wxFileDialog(), Name::string()) -> ok %% @doc See external documentation. +-spec setFilename(This, Name) -> ok when + This::wxFileDialog(), Name::string(). setFilename(#wx_ref{type=ThisT,ref=ThisRef},Name) when is_list(Name) -> ?CLASS(ThisT,wxFileDialog), @@ -184,16 +205,18 @@ setFilename(#wx_ref{type=ThisT,ref=ThisRef},Name) wxe_util:cast(?wxFileDialog_SetFilename, <>). -%% @spec (This::wxFileDialog(), FilterIndex::integer()) -> ok %% @doc See external documentation. +-spec setFilterIndex(This, FilterIndex) -> ok when + This::wxFileDialog(), FilterIndex::integer(). setFilterIndex(#wx_ref{type=ThisT,ref=ThisRef},FilterIndex) when is_integer(FilterIndex) -> ?CLASS(ThisT,wxFileDialog), wxe_util:cast(?wxFileDialog_SetFilterIndex, <>). -%% @spec (This::wxFileDialog(), Message::string()) -> ok %% @doc See external documentation. +-spec setMessage(This, Message) -> ok when + This::wxFileDialog(), Message::string(). setMessage(#wx_ref{type=ThisT,ref=ThisRef},Message) when is_list(Message) -> ?CLASS(ThisT,wxFileDialog), @@ -201,8 +224,9 @@ setMessage(#wx_ref{type=ThisT,ref=ThisRef},Message) wxe_util:cast(?wxFileDialog_SetMessage, <>). -%% @spec (This::wxFileDialog(), Path::string()) -> ok %% @doc See external documentation. +-spec setPath(This, Path) -> ok when + This::wxFileDialog(), Path::string(). setPath(#wx_ref{type=ThisT,ref=ThisRef},Path) when is_list(Path) -> ?CLASS(ThisT,wxFileDialog), @@ -210,8 +234,9 @@ setPath(#wx_ref{type=ThisT,ref=ThisRef},Path) wxe_util:cast(?wxFileDialog_SetPath, <>). -%% @spec (This::wxFileDialog(), WildCard::string()) -> ok %% @doc See external documentation. +-spec setWildcard(This, WildCard) -> ok when + This::wxFileDialog(), WildCard::string(). setWildcard(#wx_ref{type=ThisT,ref=ThisRef},WildCard) when is_list(WildCard) -> ?CLASS(ThisT,wxFileDialog), @@ -219,8 +244,8 @@ setWildcard(#wx_ref{type=ThisT,ref=ThisRef},WildCard) wxe_util:cast(?wxFileDialog_SetWildcard, <>). -%% @spec (This::wxFileDialog()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxFileDialog) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxFileDialog), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxFileDirPickerEvent.erl b/lib/wx/src/gen/wxFileDirPickerEvent.erl index cc4880b88c..1ed803ea74 100644 --- a/lib/wx/src/gen/wxFileDirPickerEvent.erl +++ b/lib/wx/src/gen/wxFileDirPickerEvent.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,13 +40,16 @@ parent_class/1,resumePropagation/2,setInt/2,setString/2,shouldPropagate/1, skip/1,skip/2,stopPropagation/1]). +-export_type([wxFileDirPickerEvent/0]). %% @hidden parent_class(wxCommandEvent) -> true; parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxFileDirPickerEvent()) -> string() +-type wxFileDirPickerEvent() :: wx:wx_object(). %% @doc See external documentation. +-spec getPath(This) -> string() when + This::wxFileDirPickerEvent(). getPath(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFileDirPickerEvent), wxe_util:call(?wxFileDirPickerEvent_GetPath, diff --git a/lib/wx/src/gen/wxFilePickerCtrl.erl b/lib/wx/src/gen/wxFilePickerCtrl.erl index 93bfa72380..456483ec55 100644 --- a/lib/wx/src/gen/wxFilePickerCtrl.erl +++ b/lib/wx/src/gen/wxFilePickerCtrl.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -74,6 +74,7 @@ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1, update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxFilePickerCtrl/0]). %% @hidden parent_class(wxPickerBase) -> true; parent_class(wxControl) -> true; @@ -81,21 +82,31 @@ parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxFilePickerCtrl() +-type wxFilePickerCtrl() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxFilePickerCtrl(). new() -> wxe_util:construct(?wxFilePickerCtrl_new_0, <<>>). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer()) -> wxFilePickerCtrl() %% @equiv new(Parent,Id, []) +-spec new(Parent, Id) -> wxFilePickerCtrl() when + Parent::wxWindow:wxWindow(), Id::integer(). + new(Parent,Id) when is_record(Parent, wx_ref),is_integer(Id) -> new(Parent,Id, []). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> wxFilePickerCtrl() -%% Option = {path, string()} | {message, string()} | {wildcard, string()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx:wx()} %% @doc See external documentation. +-spec new(Parent, Id, [Option]) -> wxFilePickerCtrl() when + Parent::wxWindow:wxWindow(), Id::integer(), + Option :: {path, string()} + | {message, string()} + | {wildcard, string()} + | {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()} + | {validator, wx:wx()}. new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options) when is_integer(Id),is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -111,15 +122,24 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options) wxe_util:construct(?wxFilePickerCtrl_new_3, <>). -%% @spec (This::wxFilePickerCtrl(), Parent::wxWindow:wxWindow(), Id::integer()) -> bool() %% @equiv create(This,Parent,Id, []) +-spec create(This, Parent, Id) -> boolean() when + This::wxFilePickerCtrl(), Parent::wxWindow:wxWindow(), Id::integer(). + create(This,Parent,Id) when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id) -> create(This,Parent,Id, []). -%% @spec (This::wxFilePickerCtrl(), Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> bool() -%% Option = {path, string()} | {message, string()} | {wildcard, string()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx:wx()} %% @doc See external documentation. +-spec create(This, Parent, Id, [Option]) -> boolean() when + This::wxFilePickerCtrl(), Parent::wxWindow:wxWindow(), Id::integer(), + Option :: {path, string()} + | {message, string()} + | {wildcard, string()} + | {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()} + | {validator, wx:wx()}. create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id, Options) when is_integer(Id),is_list(Options) -> ?CLASS(ThisT,wxFilePickerCtrl), @@ -136,15 +156,17 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id, O wxe_util:call(?wxFilePickerCtrl_Create, <>). -%% @spec (This::wxFilePickerCtrl()) -> string() %% @doc See external documentation. +-spec getPath(This) -> string() when + This::wxFilePickerCtrl(). getPath(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFilePickerCtrl), wxe_util:call(?wxFilePickerCtrl_GetPath, <>). -%% @spec (This::wxFilePickerCtrl(), Str::string()) -> ok %% @doc See external documentation. +-spec setPath(This, Str) -> ok when + This::wxFilePickerCtrl(), Str::string(). setPath(#wx_ref{type=ThisT,ref=ThisRef},Str) when is_list(Str) -> ?CLASS(ThisT,wxFilePickerCtrl), @@ -152,8 +174,8 @@ setPath(#wx_ref{type=ThisT,ref=ThisRef},Str) wxe_util:cast(?wxFilePickerCtrl_SetPath, <>). -%% @spec (This::wxFilePickerCtrl()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxFilePickerCtrl) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxFilePickerCtrl), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxFindReplaceData.erl b/lib/wx/src/gen/wxFindReplaceData.erl index 52eafa8398..fbc207b758 100644 --- a/lib/wx/src/gen/wxFindReplaceData.erl +++ b/lib/wx/src/gen/wxFindReplaceData.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,53 +30,61 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxFindReplaceData/0]). %% @hidden parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxFindReplaceData() +-type wxFindReplaceData() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxFindReplaceData(). new() -> wxe_util:construct(?wxFindReplaceData_new_0, <<>>). -%% @spec (Flags::integer()) -> wxFindReplaceData() %% @doc See external documentation. +-spec new(Flags) -> wxFindReplaceData() when + Flags::integer(). new(Flags) when is_integer(Flags) -> wxe_util:construct(?wxFindReplaceData_new_1, <>). -%% @spec (This::wxFindReplaceData()) -> string() %% @doc See external documentation. +-spec getFindString(This) -> string() when + This::wxFindReplaceData(). getFindString(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFindReplaceData), wxe_util:call(?wxFindReplaceData_GetFindString, <>). -%% @spec (This::wxFindReplaceData()) -> string() %% @doc See external documentation. +-spec getReplaceString(This) -> string() when + This::wxFindReplaceData(). getReplaceString(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFindReplaceData), wxe_util:call(?wxFindReplaceData_GetReplaceString, <>). -%% @spec (This::wxFindReplaceData()) -> integer() %% @doc See external documentation. +-spec getFlags(This) -> integer() when + This::wxFindReplaceData(). getFlags(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFindReplaceData), wxe_util:call(?wxFindReplaceData_GetFlags, <>). -%% @spec (This::wxFindReplaceData(), Flags::integer()) -> ok %% @doc See external documentation. +-spec setFlags(This, Flags) -> ok when + This::wxFindReplaceData(), Flags::integer(). setFlags(#wx_ref{type=ThisT,ref=ThisRef},Flags) when is_integer(Flags) -> ?CLASS(ThisT,wxFindReplaceData), wxe_util:cast(?wxFindReplaceData_SetFlags, <>). -%% @spec (This::wxFindReplaceData(), Str::string()) -> ok %% @doc See external documentation. +-spec setFindString(This, Str) -> ok when + This::wxFindReplaceData(), Str::string(). setFindString(#wx_ref{type=ThisT,ref=ThisRef},Str) when is_list(Str) -> ?CLASS(ThisT,wxFindReplaceData), @@ -84,8 +92,9 @@ setFindString(#wx_ref{type=ThisT,ref=ThisRef},Str) wxe_util:cast(?wxFindReplaceData_SetFindString, <>). -%% @spec (This::wxFindReplaceData(), Str::string()) -> ok %% @doc See external documentation. +-spec setReplaceString(This, Str) -> ok when + This::wxFindReplaceData(), Str::string(). setReplaceString(#wx_ref{type=ThisT,ref=ThisRef},Str) when is_list(Str) -> ?CLASS(ThisT,wxFindReplaceData), @@ -93,8 +102,8 @@ setReplaceString(#wx_ref{type=ThisT,ref=ThisRef},Str) wxe_util:cast(?wxFindReplaceData_SetReplaceString, <>). -%% @spec (This::wxFindReplaceData()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxFindReplaceData) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxFindReplaceData), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxFindReplaceDialog.erl b/lib/wx/src/gen/wxFindReplaceDialog.erl index b37fd41831..cef41e6d20 100644 --- a/lib/wx/src/gen/wxFindReplaceDialog.erl +++ b/lib/wx/src/gen/wxFindReplaceDialog.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -77,6 +77,7 @@ transferDataFromWindow/1,transferDataToWindow/1,update/1,updateWindowUI/1, updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxFindReplaceDialog/0]). %% @hidden parent_class(wxDialog) -> true; parent_class(wxTopLevelWindow) -> true; @@ -84,21 +85,25 @@ parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxFindReplaceDialog() +-type wxFindReplaceDialog() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxFindReplaceDialog(). new() -> wxe_util:construct(?wxFindReplaceDialog_new_0, <<>>). -%% @spec (Parent::wxWindow:wxWindow(), Data::wxFindReplaceData:wxFindReplaceData(), Title::string()) -> wxFindReplaceDialog() %% @equiv new(Parent,Data,Title, []) +-spec new(Parent, Data, Title) -> wxFindReplaceDialog() when + Parent::wxWindow:wxWindow(), Data::wxFindReplaceData:wxFindReplaceData(), Title::string(). + new(Parent,Data,Title) when is_record(Parent, wx_ref),is_record(Data, wx_ref),is_list(Title) -> new(Parent,Data,Title, []). -%% @spec (Parent::wxWindow:wxWindow(), Data::wxFindReplaceData:wxFindReplaceData(), Title::string(), [Option]) -> wxFindReplaceDialog() -%% Option = {style, integer()} %% @doc See external documentation. +-spec new(Parent, Data, Title, [Option]) -> wxFindReplaceDialog() when + Parent::wxWindow:wxWindow(), Data::wxFindReplaceData:wxFindReplaceData(), Title::string(), + Option :: {style, integer()}. new(#wx_ref{type=ParentT,ref=ParentRef},#wx_ref{type=DataT,ref=DataRef},Title, Options) when is_list(Title),is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -110,15 +115,18 @@ new(#wx_ref{type=ParentT,ref=ParentRef},#wx_ref{type=DataT,ref=DataRef},Title, O wxe_util:construct(?wxFindReplaceDialog_new_4, <>). -%% @spec (This::wxFindReplaceDialog(), Parent::wxWindow:wxWindow(), Data::wxFindReplaceData:wxFindReplaceData(), Title::string()) -> bool() %% @equiv create(This,Parent,Data,Title, []) +-spec create(This, Parent, Data, Title) -> boolean() when + This::wxFindReplaceDialog(), Parent::wxWindow:wxWindow(), Data::wxFindReplaceData:wxFindReplaceData(), Title::string(). + create(This,Parent,Data,Title) when is_record(This, wx_ref),is_record(Parent, wx_ref),is_record(Data, wx_ref),is_list(Title) -> create(This,Parent,Data,Title, []). -%% @spec (This::wxFindReplaceDialog(), Parent::wxWindow:wxWindow(), Data::wxFindReplaceData:wxFindReplaceData(), Title::string(), [Option]) -> bool() -%% Option = {style, integer()} %% @doc See external documentation. +-spec create(This, Parent, Data, Title, [Option]) -> boolean() when + This::wxFindReplaceDialog(), Parent::wxWindow:wxWindow(), Data::wxFindReplaceData:wxFindReplaceData(), Title::string(), + Option :: {style, integer()}. create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},#wx_ref{type=DataT,ref=DataRef},Title, Options) when is_list(Title),is_list(Options) -> ?CLASS(ThisT,wxFindReplaceDialog), @@ -131,15 +139,16 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},#wx_r wxe_util:call(?wxFindReplaceDialog_Create, <>). -%% @spec (This::wxFindReplaceDialog()) -> wxFindReplaceData:wxFindReplaceData() %% @doc See external documentation. +-spec getData(This) -> wxFindReplaceData:wxFindReplaceData() when + This::wxFindReplaceDialog(). getData(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFindReplaceDialog), wxe_util:call(?wxFindReplaceDialog_GetData, <>). -%% @spec (This::wxFindReplaceDialog()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxFindReplaceDialog) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxFindReplaceDialog), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxFlexGridSizer.erl b/lib/wx/src/gen/wxFlexGridSizer.erl index 910cc78894..d22ae74015 100644 --- a/lib/wx/src/gen/wxFlexGridSizer.erl +++ b/lib/wx/src/gen/wxFlexGridSizer.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -45,20 +45,26 @@ setMinSize/2,setMinSize/3,setRows/2,setSizeHints/2,setVGap/2,setVirtualSizeHints/2, show/2,show/3]). +-export_type([wxFlexGridSizer/0]). %% @hidden parent_class(wxGridSizer) -> true; parent_class(wxSizer) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (Cols::integer()) -> wxFlexGridSizer() +-type wxFlexGridSizer() :: wx:wx_object(). %% @equiv new(Cols, []) +-spec new(Cols) -> wxFlexGridSizer() when + Cols::integer(). + new(Cols) when is_integer(Cols) -> new(Cols, []). -%% @spec (Cols::integer(), [Option]) -> wxFlexGridSizer() -%% Option = {vgap, integer()} | {hgap, integer()} %% @doc See external documentation. +-spec new(Cols, [Option]) -> wxFlexGridSizer() when + Cols::integer(), + Option :: {vgap, integer()} + | {hgap, integer()}. new(Cols, Options) when is_integer(Cols),is_list(Options) -> MOpts = fun({vgap, Vgap}, Acc) -> [<<1:32/?UI,Vgap:32/?UI>>|Acc]; @@ -68,22 +74,26 @@ new(Cols, Options) wxe_util:construct(?wxFlexGridSizer_new_2, <>). -%% @spec (Rows::integer(), Cols::integer(), Vgap::integer(), Hgap::integer()) -> wxFlexGridSizer() %% @doc See external documentation. +-spec new(Rows, Cols, Vgap, Hgap) -> wxFlexGridSizer() when + Rows::integer(), Cols::integer(), Vgap::integer(), Hgap::integer(). new(Rows,Cols,Vgap,Hgap) when is_integer(Rows),is_integer(Cols),is_integer(Vgap),is_integer(Hgap) -> wxe_util:construct(?wxFlexGridSizer_new_4, <>). -%% @spec (This::wxFlexGridSizer(), Idx::integer()) -> ok %% @equiv addGrowableCol(This,Idx, []) +-spec addGrowableCol(This, Idx) -> ok when + This::wxFlexGridSizer(), Idx::integer(). + addGrowableCol(This,Idx) when is_record(This, wx_ref),is_integer(Idx) -> addGrowableCol(This,Idx, []). -%% @spec (This::wxFlexGridSizer(), Idx::integer(), [Option]) -> ok -%% Option = {proportion, integer()} %% @doc See external documentation. +-spec addGrowableCol(This, Idx, [Option]) -> ok when + This::wxFlexGridSizer(), Idx::integer(), + Option :: {proportion, integer()}. addGrowableCol(#wx_ref{type=ThisT,ref=ThisRef},Idx, Options) when is_integer(Idx),is_list(Options) -> ?CLASS(ThisT,wxFlexGridSizer), @@ -93,15 +103,18 @@ addGrowableCol(#wx_ref{type=ThisT,ref=ThisRef},Idx, Options) wxe_util:cast(?wxFlexGridSizer_AddGrowableCol, <>). -%% @spec (This::wxFlexGridSizer(), Idx::integer()) -> ok %% @equiv addGrowableRow(This,Idx, []) +-spec addGrowableRow(This, Idx) -> ok when + This::wxFlexGridSizer(), Idx::integer(). + addGrowableRow(This,Idx) when is_record(This, wx_ref),is_integer(Idx) -> addGrowableRow(This,Idx, []). -%% @spec (This::wxFlexGridSizer(), Idx::integer(), [Option]) -> ok -%% Option = {proportion, integer()} %% @doc See external documentation. +-spec addGrowableRow(This, Idx, [Option]) -> ok when + This::wxFlexGridSizer(), Idx::integer(), + Option :: {proportion, integer()}. addGrowableRow(#wx_ref{type=ThisT,ref=ThisRef},Idx, Options) when is_integer(Idx),is_list(Options) -> ?CLASS(ThisT,wxFlexGridSizer), @@ -111,58 +124,62 @@ addGrowableRow(#wx_ref{type=ThisT,ref=ThisRef},Idx, Options) wxe_util:cast(?wxFlexGridSizer_AddGrowableRow, <>). -%% @spec (This::wxFlexGridSizer()) -> integer() %% @doc See external documentation. +-spec getFlexibleDirection(This) -> integer() when + This::wxFlexGridSizer(). getFlexibleDirection(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFlexGridSizer), wxe_util:call(?wxFlexGridSizer_GetFlexibleDirection, <>). -%% @spec (This::wxFlexGridSizer()) -> WxFlexSizerGrowMode -%% WxFlexSizerGrowMode = integer() %% @doc See external documentation. -%%
WxFlexSizerGrowMode is one of ?wxFLEX_GROWMODE_NONE | ?wxFLEX_GROWMODE_SPECIFIED | ?wxFLEX_GROWMODE_ALL +%%
Res = ?wxFLEX_GROWMODE_NONE | ?wxFLEX_GROWMODE_SPECIFIED | ?wxFLEX_GROWMODE_ALL +-spec getNonFlexibleGrowMode(This) -> wx:wx_enum() when + This::wxFlexGridSizer(). getNonFlexibleGrowMode(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFlexGridSizer), wxe_util:call(?wxFlexGridSizer_GetNonFlexibleGrowMode, <>). -%% @spec (This::wxFlexGridSizer(), Idx::integer()) -> ok %% @doc See external documentation. +-spec removeGrowableCol(This, Idx) -> ok when + This::wxFlexGridSizer(), Idx::integer(). removeGrowableCol(#wx_ref{type=ThisT,ref=ThisRef},Idx) when is_integer(Idx) -> ?CLASS(ThisT,wxFlexGridSizer), wxe_util:cast(?wxFlexGridSizer_RemoveGrowableCol, <>). -%% @spec (This::wxFlexGridSizer(), Idx::integer()) -> ok %% @doc See external documentation. +-spec removeGrowableRow(This, Idx) -> ok when + This::wxFlexGridSizer(), Idx::integer(). removeGrowableRow(#wx_ref{type=ThisT,ref=ThisRef},Idx) when is_integer(Idx) -> ?CLASS(ThisT,wxFlexGridSizer), wxe_util:cast(?wxFlexGridSizer_RemoveGrowableRow, <>). -%% @spec (This::wxFlexGridSizer(), Direction::integer()) -> ok %% @doc See external documentation. +-spec setFlexibleDirection(This, Direction) -> ok when + This::wxFlexGridSizer(), Direction::integer(). setFlexibleDirection(#wx_ref{type=ThisT,ref=ThisRef},Direction) when is_integer(Direction) -> ?CLASS(ThisT,wxFlexGridSizer), wxe_util:cast(?wxFlexGridSizer_SetFlexibleDirection, <>). -%% @spec (This::wxFlexGridSizer(), Mode::WxFlexSizerGrowMode) -> ok -%% WxFlexSizerGrowMode = integer() %% @doc See external documentation. -%%
WxFlexSizerGrowMode is one of ?wxFLEX_GROWMODE_NONE | ?wxFLEX_GROWMODE_SPECIFIED | ?wxFLEX_GROWMODE_ALL +%%
Mode = ?wxFLEX_GROWMODE_NONE | ?wxFLEX_GROWMODE_SPECIFIED | ?wxFLEX_GROWMODE_ALL +-spec setNonFlexibleGrowMode(This, Mode) -> ok when + This::wxFlexGridSizer(), Mode::wx:wx_enum(). setNonFlexibleGrowMode(#wx_ref{type=ThisT,ref=ThisRef},Mode) when is_integer(Mode) -> ?CLASS(ThisT,wxFlexGridSizer), wxe_util:cast(?wxFlexGridSizer_SetNonFlexibleGrowMode, <>). -%% @spec (This::wxFlexGridSizer()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxFlexGridSizer) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxFlexGridSizer), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxFocusEvent.erl b/lib/wx/src/gen/wxFocusEvent.erl index 46f2e2a3df..d6478c1142 100644 --- a/lib/wx/src/gen/wxFocusEvent.erl +++ b/lib/wx/src/gen/wxFocusEvent.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,12 +37,15 @@ -export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1, resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]). +-export_type([wxFocusEvent/0]). %% @hidden parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxFocusEvent()) -> wxWindow:wxWindow() +-type wxFocusEvent() :: wx:wx_object(). %% @doc See external documentation. +-spec getWindow(This) -> wxWindow:wxWindow() when + This::wxFocusEvent(). getWindow(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFocusEvent), wxe_util:call(?wxFocusEvent_GetWindow, diff --git a/lib/wx/src/gen/wxFont.erl b/lib/wx/src/gen/wxFont.erl index 4afc53cfa8..dc8c738b49 100644 --- a/lib/wx/src/gen/wxFont.erl +++ b/lib/wx/src/gen/wxFont.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -33,38 +33,43 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxFont/0]). %% @hidden parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxFont() +-type wxFont() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxFont(). new() -> wxe_util:construct(?wxFont_new_0, <<>>). -%% @spec (Fontname::string()) -> wxFont() %% @doc See external documentation. +-spec new(Fontname) -> wxFont() when + Fontname::string(). new(Fontname) when is_list(Fontname) -> Fontname_UC = unicode:characters_to_binary([Fontname,0]), wxe_util:construct(?wxFont_new_1, <<(byte_size(Fontname_UC)):32/?UI,(Fontname_UC)/binary, 0:(((8- ((4+byte_size(Fontname_UC)) band 16#7)) band 16#7))/unit:8>>). -%% @spec (Size::integer(), Family::WxFontFamily, Style::WxFontStyle, Weight::integer()) -> wxFont() %% @equiv new(Size,Family,Style,Weight, []) +-spec new(Size, Family, Style, Weight) -> wxFont() when + Size::integer(), Family::wx:wx_enum(), Style::wx:wx_enum(), Weight::integer(). + new(Size,Family,Style,Weight) when is_integer(Size),is_integer(Family),is_integer(Style),is_integer(Weight) -> new(Size,Family,Style,Weight, []). -%% @spec (Size::integer(), Family::WxFontFamily, Style::WxFontStyle, Weight::integer(), [Option]) -> wxFont() -%% Option = {underlined, bool()} | {face, string()} | {encoding, WxFontEncoding} -%% WxFontFamily = integer() -%% WxFontStyle = integer() -%% WxFontEncoding = integer() %% @doc See external documentation. -%%
WxFontFamily is one of ?wxFONTFAMILY_DEFAULT | ?wxFONTFAMILY_DECORATIVE | ?wxFONTFAMILY_ROMAN | ?wxFONTFAMILY_SCRIPT | ?wxFONTFAMILY_SWISS | ?wxFONTFAMILY_MODERN | ?wxFONTFAMILY_TELETYPE | ?wxFONTFAMILY_MAX | ?wxFONTFAMILY_UNKNOWN -%%
WxFontStyle is one of ?wxFONTSTYLE_NORMAL | ?wxFONTSTYLE_ITALIC | ?wxFONTSTYLE_SLANT | ?wxFONTSTYLE_MAX -%%
WxFontEncoding is one of ?wxFONTENCODING_SYSTEM | ?wxFONTENCODING_DEFAULT | ?wxFONTENCODING_ISO8859_1 | ?wxFONTENCODING_ISO8859_2 | ?wxFONTENCODING_ISO8859_3 | ?wxFONTENCODING_ISO8859_4 | ?wxFONTENCODING_ISO8859_5 | ?wxFONTENCODING_ISO8859_6 | ?wxFONTENCODING_ISO8859_7 | ?wxFONTENCODING_ISO8859_8 | ?wxFONTENCODING_ISO8859_9 | ?wxFONTENCODING_ISO8859_10 | ?wxFONTENCODING_ISO8859_11 | ?wxFONTENCODING_ISO8859_12 | ?wxFONTENCODING_ISO8859_13 | ?wxFONTENCODING_ISO8859_14 | ?wxFONTENCODING_ISO8859_15 | ?wxFONTENCODING_ISO8859_MAX | ?wxFONTENCODING_KOI8 | ?wxFONTENCODING_KOI8_U | ?wxFONTENCODING_ALTERNATIVE | ?wxFONTENCODING_BULGARIAN | ?wxFONTENCODING_CP437 | ?wxFONTENCODING_CP850 | ?wxFONTENCODING_CP852 | ?wxFONTENCODING_CP855 | ?wxFONTENCODING_CP866 | ?wxFONTENCODING_CP874 | ?wxFONTENCODING_CP932 | ?wxFONTENCODING_CP936 | ?wxFONTENCODING_CP949 | ?wxFONTENCODING_CP950 | ?wxFONTENCODING_CP1250 | ?wxFONTENCODING_CP1251 | ?wxFONTENCODING_CP1252 | ?wxFONTENCODING_CP1253 | ?wxFONTENCODING_CP1254 | ?wxFONTENCODING_CP1255 | ?wxFONTENCODING_CP1256 | ?wxFONTENCODING_CP1257 | ?wxFONTENCODING_CP12_MAX | ?wxFONTENCODING_UTF7 | ?wxFONTENCODING_UTF8 | ?wxFONTENCODING_EUC_JP | ?wxFONTENCODING_UTF16BE | ?wxFONTENCODING_UTF16LE | ?wxFONTENCODING_UTF32BE | ?wxFONTENCODING_UTF32LE | ?wxFONTENCODING_MACROMAN | ?wxFONTENCODING_MACJAPANESE | ?wxFONTENCODING_MACCHINESETRAD | ?wxFONTENCODING_MACKOREAN | ?wxFONTENCODING_MACARABIC | ?wxFONTENCODING_MACHEBREW | ?wxFONTENCODING_MACGREEK | ?wxFONTENCODING_MACCYRILLIC | ?wxFONTENCODING_MACDEVANAGARI | ?wxFONTENCODING_MACGURMUKHI | ?wxFONTENCODING_MACGUJARATI | ?wxFONTENCODING_MACORIYA | ?wxFONTENCODING_MACBENGALI | ?wxFONTENCODING_MACTAMIL | ?wxFONTENCODING_MACTELUGU | ?wxFONTENCODING_MACKANNADA | ?wxFONTENCODING_MACMALAJALAM | ?wxFONTENCODING_MACSINHALESE | ?wxFONTENCODING_MACBURMESE | ?wxFONTENCODING_MACKHMER | ?wxFONTENCODING_MACTHAI | ?wxFONTENCODING_MACLAOTIAN | ?wxFONTENCODING_MACGEORGIAN | ?wxFONTENCODING_MACARMENIAN | ?wxFONTENCODING_MACCHINESESIMP | ?wxFONTENCODING_MACTIBETAN | ?wxFONTENCODING_MACMONGOLIAN | ?wxFONTENCODING_MACETHIOPIC | ?wxFONTENCODING_MACCENTRALEUR | ?wxFONTENCODING_MACVIATNAMESE | ?wxFONTENCODING_MACARABICEXT | ?wxFONTENCODING_MACSYMBOL | ?wxFONTENCODING_MACDINGBATS | ?wxFONTENCODING_MACTURKISH | ?wxFONTENCODING_MACCROATIAN | ?wxFONTENCODING_MACICELANDIC | ?wxFONTENCODING_MACROMANIAN | ?wxFONTENCODING_MACCELTIC | ?wxFONTENCODING_MACGAELIC | ?wxFONTENCODING_MACKEYBOARD | ?wxFONTENCODING_MAX | ?wxFONTENCODING_MACMIN | ?wxFONTENCODING_MACMAX | ?wxFONTENCODING_UTF16 | ?wxFONTENCODING_UTF32 | ?wxFONTENCODING_UNICODE | ?wxFONTENCODING_GB2312 | ?wxFONTENCODING_BIG5 | ?wxFONTENCODING_SHIFT_JIS +%%
Family = ?wxFONTFAMILY_DEFAULT | ?wxFONTFAMILY_DECORATIVE | ?wxFONTFAMILY_ROMAN | ?wxFONTFAMILY_SCRIPT | ?wxFONTFAMILY_SWISS | ?wxFONTFAMILY_MODERN | ?wxFONTFAMILY_TELETYPE | ?wxFONTFAMILY_MAX | ?wxFONTFAMILY_UNKNOWN +%%
Style = ?wxFONTSTYLE_NORMAL | ?wxFONTSTYLE_ITALIC | ?wxFONTSTYLE_SLANT | ?wxFONTSTYLE_MAX +%%
Encoding = ?wxFONTENCODING_SYSTEM | ?wxFONTENCODING_DEFAULT | ?wxFONTENCODING_ISO8859_1 | ?wxFONTENCODING_ISO8859_2 | ?wxFONTENCODING_ISO8859_3 | ?wxFONTENCODING_ISO8859_4 | ?wxFONTENCODING_ISO8859_5 | ?wxFONTENCODING_ISO8859_6 | ?wxFONTENCODING_ISO8859_7 | ?wxFONTENCODING_ISO8859_8 | ?wxFONTENCODING_ISO8859_9 | ?wxFONTENCODING_ISO8859_10 | ?wxFONTENCODING_ISO8859_11 | ?wxFONTENCODING_ISO8859_12 | ?wxFONTENCODING_ISO8859_13 | ?wxFONTENCODING_ISO8859_14 | ?wxFONTENCODING_ISO8859_15 | ?wxFONTENCODING_ISO8859_MAX | ?wxFONTENCODING_KOI8 | ?wxFONTENCODING_KOI8_U | ?wxFONTENCODING_ALTERNATIVE | ?wxFONTENCODING_BULGARIAN | ?wxFONTENCODING_CP437 | ?wxFONTENCODING_CP850 | ?wxFONTENCODING_CP852 | ?wxFONTENCODING_CP855 | ?wxFONTENCODING_CP866 | ?wxFONTENCODING_CP874 | ?wxFONTENCODING_CP932 | ?wxFONTENCODING_CP936 | ?wxFONTENCODING_CP949 | ?wxFONTENCODING_CP950 | ?wxFONTENCODING_CP1250 | ?wxFONTENCODING_CP1251 | ?wxFONTENCODING_CP1252 | ?wxFONTENCODING_CP1253 | ?wxFONTENCODING_CP1254 | ?wxFONTENCODING_CP1255 | ?wxFONTENCODING_CP1256 | ?wxFONTENCODING_CP1257 | ?wxFONTENCODING_CP12_MAX | ?wxFONTENCODING_UTF7 | ?wxFONTENCODING_UTF8 | ?wxFONTENCODING_EUC_JP | ?wxFONTENCODING_UTF16BE | ?wxFONTENCODING_UTF16LE | ?wxFONTENCODING_UTF32BE | ?wxFONTENCODING_UTF32LE | ?wxFONTENCODING_MACROMAN | ?wxFONTENCODING_MACJAPANESE | ?wxFONTENCODING_MACCHINESETRAD | ?wxFONTENCODING_MACKOREAN | ?wxFONTENCODING_MACARABIC | ?wxFONTENCODING_MACHEBREW | ?wxFONTENCODING_MACGREEK | ?wxFONTENCODING_MACCYRILLIC | ?wxFONTENCODING_MACDEVANAGARI | ?wxFONTENCODING_MACGURMUKHI | ?wxFONTENCODING_MACGUJARATI | ?wxFONTENCODING_MACORIYA | ?wxFONTENCODING_MACBENGALI | ?wxFONTENCODING_MACTAMIL | ?wxFONTENCODING_MACTELUGU | ?wxFONTENCODING_MACKANNADA | ?wxFONTENCODING_MACMALAJALAM | ?wxFONTENCODING_MACSINHALESE | ?wxFONTENCODING_MACBURMESE | ?wxFONTENCODING_MACKHMER | ?wxFONTENCODING_MACTHAI | ?wxFONTENCODING_MACLAOTIAN | ?wxFONTENCODING_MACGEORGIAN | ?wxFONTENCODING_MACARMENIAN | ?wxFONTENCODING_MACCHINESESIMP | ?wxFONTENCODING_MACTIBETAN | ?wxFONTENCODING_MACMONGOLIAN | ?wxFONTENCODING_MACETHIOPIC | ?wxFONTENCODING_MACCENTRALEUR | ?wxFONTENCODING_MACVIATNAMESE | ?wxFONTENCODING_MACARABICEXT | ?wxFONTENCODING_MACSYMBOL | ?wxFONTENCODING_MACDINGBATS | ?wxFONTENCODING_MACTURKISH | ?wxFONTENCODING_MACCROATIAN | ?wxFONTENCODING_MACICELANDIC | ?wxFONTENCODING_MACROMANIAN | ?wxFONTENCODING_MACCELTIC | ?wxFONTENCODING_MACGAELIC | ?wxFONTENCODING_MACKEYBOARD | ?wxFONTENCODING_MAX | ?wxFONTENCODING_MACMIN | ?wxFONTENCODING_MACMAX | ?wxFONTENCODING_UTF16 | ?wxFONTENCODING_UTF32 | ?wxFONTENCODING_UNICODE | ?wxFONTENCODING_GB2312 | ?wxFONTENCODING_BIG5 | ?wxFONTENCODING_SHIFT_JIS +-spec new(Size, Family, Style, Weight, [Option]) -> wxFont() when + Size::integer(), Family::wx:wx_enum(), Style::wx:wx_enum(), Weight::integer(), + Option :: {underlined, boolean()} + | {face, string()} + | {encoding, wx:wx_enum()}. new(Size,Family,Style,Weight, Options) when is_integer(Size),is_integer(Family),is_integer(Style),is_integer(Weight),is_list(Options) -> MOpts = fun({underlined, Underlined}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Underlined)):32/?UI>>|Acc]; @@ -75,99 +80,107 @@ new(Size,Family,Style,Weight, Options) wxe_util:construct(?wxFont_new_5, <>). -%% @spec (This::wxFont()) -> bool() %% @doc See external documentation. +-spec isFixedWidth(This) -> boolean() when + This::wxFont(). isFixedWidth(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFont), wxe_util:call(?wxFont_IsFixedWidth, <>). -%% @spec () -> WxFontEncoding -%% WxFontEncoding = integer() %% @doc See external documentation. -%%
WxFontEncoding is one of ?wxFONTENCODING_SYSTEM | ?wxFONTENCODING_DEFAULT | ?wxFONTENCODING_ISO8859_1 | ?wxFONTENCODING_ISO8859_2 | ?wxFONTENCODING_ISO8859_3 | ?wxFONTENCODING_ISO8859_4 | ?wxFONTENCODING_ISO8859_5 | ?wxFONTENCODING_ISO8859_6 | ?wxFONTENCODING_ISO8859_7 | ?wxFONTENCODING_ISO8859_8 | ?wxFONTENCODING_ISO8859_9 | ?wxFONTENCODING_ISO8859_10 | ?wxFONTENCODING_ISO8859_11 | ?wxFONTENCODING_ISO8859_12 | ?wxFONTENCODING_ISO8859_13 | ?wxFONTENCODING_ISO8859_14 | ?wxFONTENCODING_ISO8859_15 | ?wxFONTENCODING_ISO8859_MAX | ?wxFONTENCODING_KOI8 | ?wxFONTENCODING_KOI8_U | ?wxFONTENCODING_ALTERNATIVE | ?wxFONTENCODING_BULGARIAN | ?wxFONTENCODING_CP437 | ?wxFONTENCODING_CP850 | ?wxFONTENCODING_CP852 | ?wxFONTENCODING_CP855 | ?wxFONTENCODING_CP866 | ?wxFONTENCODING_CP874 | ?wxFONTENCODING_CP932 | ?wxFONTENCODING_CP936 | ?wxFONTENCODING_CP949 | ?wxFONTENCODING_CP950 | ?wxFONTENCODING_CP1250 | ?wxFONTENCODING_CP1251 | ?wxFONTENCODING_CP1252 | ?wxFONTENCODING_CP1253 | ?wxFONTENCODING_CP1254 | ?wxFONTENCODING_CP1255 | ?wxFONTENCODING_CP1256 | ?wxFONTENCODING_CP1257 | ?wxFONTENCODING_CP12_MAX | ?wxFONTENCODING_UTF7 | ?wxFONTENCODING_UTF8 | ?wxFONTENCODING_EUC_JP | ?wxFONTENCODING_UTF16BE | ?wxFONTENCODING_UTF16LE | ?wxFONTENCODING_UTF32BE | ?wxFONTENCODING_UTF32LE | ?wxFONTENCODING_MACROMAN | ?wxFONTENCODING_MACJAPANESE | ?wxFONTENCODING_MACCHINESETRAD | ?wxFONTENCODING_MACKOREAN | ?wxFONTENCODING_MACARABIC | ?wxFONTENCODING_MACHEBREW | ?wxFONTENCODING_MACGREEK | ?wxFONTENCODING_MACCYRILLIC | ?wxFONTENCODING_MACDEVANAGARI | ?wxFONTENCODING_MACGURMUKHI | ?wxFONTENCODING_MACGUJARATI | ?wxFONTENCODING_MACORIYA | ?wxFONTENCODING_MACBENGALI | ?wxFONTENCODING_MACTAMIL | ?wxFONTENCODING_MACTELUGU | ?wxFONTENCODING_MACKANNADA | ?wxFONTENCODING_MACMALAJALAM | ?wxFONTENCODING_MACSINHALESE | ?wxFONTENCODING_MACBURMESE | ?wxFONTENCODING_MACKHMER | ?wxFONTENCODING_MACTHAI | ?wxFONTENCODING_MACLAOTIAN | ?wxFONTENCODING_MACGEORGIAN | ?wxFONTENCODING_MACARMENIAN | ?wxFONTENCODING_MACCHINESESIMP | ?wxFONTENCODING_MACTIBETAN | ?wxFONTENCODING_MACMONGOLIAN | ?wxFONTENCODING_MACETHIOPIC | ?wxFONTENCODING_MACCENTRALEUR | ?wxFONTENCODING_MACVIATNAMESE | ?wxFONTENCODING_MACARABICEXT | ?wxFONTENCODING_MACSYMBOL | ?wxFONTENCODING_MACDINGBATS | ?wxFONTENCODING_MACTURKISH | ?wxFONTENCODING_MACCROATIAN | ?wxFONTENCODING_MACICELANDIC | ?wxFONTENCODING_MACROMANIAN | ?wxFONTENCODING_MACCELTIC | ?wxFONTENCODING_MACGAELIC | ?wxFONTENCODING_MACKEYBOARD | ?wxFONTENCODING_MAX | ?wxFONTENCODING_MACMIN | ?wxFONTENCODING_MACMAX | ?wxFONTENCODING_UTF16 | ?wxFONTENCODING_UTF32 | ?wxFONTENCODING_UNICODE | ?wxFONTENCODING_GB2312 | ?wxFONTENCODING_BIG5 | ?wxFONTENCODING_SHIFT_JIS +%%
Res = ?wxFONTENCODING_SYSTEM | ?wxFONTENCODING_DEFAULT | ?wxFONTENCODING_ISO8859_1 | ?wxFONTENCODING_ISO8859_2 | ?wxFONTENCODING_ISO8859_3 | ?wxFONTENCODING_ISO8859_4 | ?wxFONTENCODING_ISO8859_5 | ?wxFONTENCODING_ISO8859_6 | ?wxFONTENCODING_ISO8859_7 | ?wxFONTENCODING_ISO8859_8 | ?wxFONTENCODING_ISO8859_9 | ?wxFONTENCODING_ISO8859_10 | ?wxFONTENCODING_ISO8859_11 | ?wxFONTENCODING_ISO8859_12 | ?wxFONTENCODING_ISO8859_13 | ?wxFONTENCODING_ISO8859_14 | ?wxFONTENCODING_ISO8859_15 | ?wxFONTENCODING_ISO8859_MAX | ?wxFONTENCODING_KOI8 | ?wxFONTENCODING_KOI8_U | ?wxFONTENCODING_ALTERNATIVE | ?wxFONTENCODING_BULGARIAN | ?wxFONTENCODING_CP437 | ?wxFONTENCODING_CP850 | ?wxFONTENCODING_CP852 | ?wxFONTENCODING_CP855 | ?wxFONTENCODING_CP866 | ?wxFONTENCODING_CP874 | ?wxFONTENCODING_CP932 | ?wxFONTENCODING_CP936 | ?wxFONTENCODING_CP949 | ?wxFONTENCODING_CP950 | ?wxFONTENCODING_CP1250 | ?wxFONTENCODING_CP1251 | ?wxFONTENCODING_CP1252 | ?wxFONTENCODING_CP1253 | ?wxFONTENCODING_CP1254 | ?wxFONTENCODING_CP1255 | ?wxFONTENCODING_CP1256 | ?wxFONTENCODING_CP1257 | ?wxFONTENCODING_CP12_MAX | ?wxFONTENCODING_UTF7 | ?wxFONTENCODING_UTF8 | ?wxFONTENCODING_EUC_JP | ?wxFONTENCODING_UTF16BE | ?wxFONTENCODING_UTF16LE | ?wxFONTENCODING_UTF32BE | ?wxFONTENCODING_UTF32LE | ?wxFONTENCODING_MACROMAN | ?wxFONTENCODING_MACJAPANESE | ?wxFONTENCODING_MACCHINESETRAD | ?wxFONTENCODING_MACKOREAN | ?wxFONTENCODING_MACARABIC | ?wxFONTENCODING_MACHEBREW | ?wxFONTENCODING_MACGREEK | ?wxFONTENCODING_MACCYRILLIC | ?wxFONTENCODING_MACDEVANAGARI | ?wxFONTENCODING_MACGURMUKHI | ?wxFONTENCODING_MACGUJARATI | ?wxFONTENCODING_MACORIYA | ?wxFONTENCODING_MACBENGALI | ?wxFONTENCODING_MACTAMIL | ?wxFONTENCODING_MACTELUGU | ?wxFONTENCODING_MACKANNADA | ?wxFONTENCODING_MACMALAJALAM | ?wxFONTENCODING_MACSINHALESE | ?wxFONTENCODING_MACBURMESE | ?wxFONTENCODING_MACKHMER | ?wxFONTENCODING_MACTHAI | ?wxFONTENCODING_MACLAOTIAN | ?wxFONTENCODING_MACGEORGIAN | ?wxFONTENCODING_MACARMENIAN | ?wxFONTENCODING_MACCHINESESIMP | ?wxFONTENCODING_MACTIBETAN | ?wxFONTENCODING_MACMONGOLIAN | ?wxFONTENCODING_MACETHIOPIC | ?wxFONTENCODING_MACCENTRALEUR | ?wxFONTENCODING_MACVIATNAMESE | ?wxFONTENCODING_MACARABICEXT | ?wxFONTENCODING_MACSYMBOL | ?wxFONTENCODING_MACDINGBATS | ?wxFONTENCODING_MACTURKISH | ?wxFONTENCODING_MACCROATIAN | ?wxFONTENCODING_MACICELANDIC | ?wxFONTENCODING_MACROMANIAN | ?wxFONTENCODING_MACCELTIC | ?wxFONTENCODING_MACGAELIC | ?wxFONTENCODING_MACKEYBOARD | ?wxFONTENCODING_MAX | ?wxFONTENCODING_MACMIN | ?wxFONTENCODING_MACMAX | ?wxFONTENCODING_UTF16 | ?wxFONTENCODING_UTF32 | ?wxFONTENCODING_UNICODE | ?wxFONTENCODING_GB2312 | ?wxFONTENCODING_BIG5 | ?wxFONTENCODING_SHIFT_JIS +-spec getDefaultEncoding() -> wx:wx_enum(). getDefaultEncoding() -> wxe_util:call(?wxFont_GetDefaultEncoding, <<>>). -%% @spec (This::wxFont()) -> string() %% @doc See external documentation. +-spec getFaceName(This) -> string() when + This::wxFont(). getFaceName(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFont), wxe_util:call(?wxFont_GetFaceName, <>). -%% @spec (This::wxFont()) -> WxFontFamily -%% WxFontFamily = integer() %% @doc See external documentation. -%%
WxFontFamily is one of ?wxFONTFAMILY_DEFAULT | ?wxFONTFAMILY_DECORATIVE | ?wxFONTFAMILY_ROMAN | ?wxFONTFAMILY_SCRIPT | ?wxFONTFAMILY_SWISS | ?wxFONTFAMILY_MODERN | ?wxFONTFAMILY_TELETYPE | ?wxFONTFAMILY_MAX | ?wxFONTFAMILY_UNKNOWN +%%
Res = ?wxFONTFAMILY_DEFAULT | ?wxFONTFAMILY_DECORATIVE | ?wxFONTFAMILY_ROMAN | ?wxFONTFAMILY_SCRIPT | ?wxFONTFAMILY_SWISS | ?wxFONTFAMILY_MODERN | ?wxFONTFAMILY_TELETYPE | ?wxFONTFAMILY_MAX | ?wxFONTFAMILY_UNKNOWN +-spec getFamily(This) -> wx:wx_enum() when + This::wxFont(). getFamily(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFont), wxe_util:call(?wxFont_GetFamily, <>). -%% @spec (This::wxFont()) -> string() %% @doc See external documentation. +-spec getNativeFontInfoDesc(This) -> string() when + This::wxFont(). getNativeFontInfoDesc(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFont), wxe_util:call(?wxFont_GetNativeFontInfoDesc, <>). -%% @spec (This::wxFont()) -> string() %% @doc See external documentation. +-spec getNativeFontInfoUserDesc(This) -> string() when + This::wxFont(). getNativeFontInfoUserDesc(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFont), wxe_util:call(?wxFont_GetNativeFontInfoUserDesc, <>). -%% @spec (This::wxFont()) -> integer() %% @doc See external documentation. +-spec getPointSize(This) -> integer() when + This::wxFont(). getPointSize(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFont), wxe_util:call(?wxFont_GetPointSize, <>). -%% @spec (This::wxFont()) -> WxFontStyle -%% WxFontStyle = integer() %% @doc See external documentation. -%%
WxFontStyle is one of ?wxFONTSTYLE_NORMAL | ?wxFONTSTYLE_ITALIC | ?wxFONTSTYLE_SLANT | ?wxFONTSTYLE_MAX +%%
Res = ?wxFONTSTYLE_NORMAL | ?wxFONTSTYLE_ITALIC | ?wxFONTSTYLE_SLANT | ?wxFONTSTYLE_MAX +-spec getStyle(This) -> wx:wx_enum() when + This::wxFont(). getStyle(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFont), wxe_util:call(?wxFont_GetStyle, <>). -%% @spec (This::wxFont()) -> bool() %% @doc See external documentation. +-spec getUnderlined(This) -> boolean() when + This::wxFont(). getUnderlined(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFont), wxe_util:call(?wxFont_GetUnderlined, <>). -%% @spec (This::wxFont()) -> integer() %% @doc See external documentation. +-spec getWeight(This) -> integer() when + This::wxFont(). getWeight(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFont), wxe_util:call(?wxFont_GetWeight, <>). -%% @spec (This::wxFont()) -> bool() %% @doc See external documentation. +-spec ok(This) -> boolean() when + This::wxFont(). ok(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFont), wxe_util:call(?wxFont_Ok, <>). -%% @spec (Encoding::WxFontEncoding) -> ok -%% WxFontEncoding = integer() %% @doc See external documentation. -%%
WxFontEncoding is one of ?wxFONTENCODING_SYSTEM | ?wxFONTENCODING_DEFAULT | ?wxFONTENCODING_ISO8859_1 | ?wxFONTENCODING_ISO8859_2 | ?wxFONTENCODING_ISO8859_3 | ?wxFONTENCODING_ISO8859_4 | ?wxFONTENCODING_ISO8859_5 | ?wxFONTENCODING_ISO8859_6 | ?wxFONTENCODING_ISO8859_7 | ?wxFONTENCODING_ISO8859_8 | ?wxFONTENCODING_ISO8859_9 | ?wxFONTENCODING_ISO8859_10 | ?wxFONTENCODING_ISO8859_11 | ?wxFONTENCODING_ISO8859_12 | ?wxFONTENCODING_ISO8859_13 | ?wxFONTENCODING_ISO8859_14 | ?wxFONTENCODING_ISO8859_15 | ?wxFONTENCODING_ISO8859_MAX | ?wxFONTENCODING_KOI8 | ?wxFONTENCODING_KOI8_U | ?wxFONTENCODING_ALTERNATIVE | ?wxFONTENCODING_BULGARIAN | ?wxFONTENCODING_CP437 | ?wxFONTENCODING_CP850 | ?wxFONTENCODING_CP852 | ?wxFONTENCODING_CP855 | ?wxFONTENCODING_CP866 | ?wxFONTENCODING_CP874 | ?wxFONTENCODING_CP932 | ?wxFONTENCODING_CP936 | ?wxFONTENCODING_CP949 | ?wxFONTENCODING_CP950 | ?wxFONTENCODING_CP1250 | ?wxFONTENCODING_CP1251 | ?wxFONTENCODING_CP1252 | ?wxFONTENCODING_CP1253 | ?wxFONTENCODING_CP1254 | ?wxFONTENCODING_CP1255 | ?wxFONTENCODING_CP1256 | ?wxFONTENCODING_CP1257 | ?wxFONTENCODING_CP12_MAX | ?wxFONTENCODING_UTF7 | ?wxFONTENCODING_UTF8 | ?wxFONTENCODING_EUC_JP | ?wxFONTENCODING_UTF16BE | ?wxFONTENCODING_UTF16LE | ?wxFONTENCODING_UTF32BE | ?wxFONTENCODING_UTF32LE | ?wxFONTENCODING_MACROMAN | ?wxFONTENCODING_MACJAPANESE | ?wxFONTENCODING_MACCHINESETRAD | ?wxFONTENCODING_MACKOREAN | ?wxFONTENCODING_MACARABIC | ?wxFONTENCODING_MACHEBREW | ?wxFONTENCODING_MACGREEK | ?wxFONTENCODING_MACCYRILLIC | ?wxFONTENCODING_MACDEVANAGARI | ?wxFONTENCODING_MACGURMUKHI | ?wxFONTENCODING_MACGUJARATI | ?wxFONTENCODING_MACORIYA | ?wxFONTENCODING_MACBENGALI | ?wxFONTENCODING_MACTAMIL | ?wxFONTENCODING_MACTELUGU | ?wxFONTENCODING_MACKANNADA | ?wxFONTENCODING_MACMALAJALAM | ?wxFONTENCODING_MACSINHALESE | ?wxFONTENCODING_MACBURMESE | ?wxFONTENCODING_MACKHMER | ?wxFONTENCODING_MACTHAI | ?wxFONTENCODING_MACLAOTIAN | ?wxFONTENCODING_MACGEORGIAN | ?wxFONTENCODING_MACARMENIAN | ?wxFONTENCODING_MACCHINESESIMP | ?wxFONTENCODING_MACTIBETAN | ?wxFONTENCODING_MACMONGOLIAN | ?wxFONTENCODING_MACETHIOPIC | ?wxFONTENCODING_MACCENTRALEUR | ?wxFONTENCODING_MACVIATNAMESE | ?wxFONTENCODING_MACARABICEXT | ?wxFONTENCODING_MACSYMBOL | ?wxFONTENCODING_MACDINGBATS | ?wxFONTENCODING_MACTURKISH | ?wxFONTENCODING_MACCROATIAN | ?wxFONTENCODING_MACICELANDIC | ?wxFONTENCODING_MACROMANIAN | ?wxFONTENCODING_MACCELTIC | ?wxFONTENCODING_MACGAELIC | ?wxFONTENCODING_MACKEYBOARD | ?wxFONTENCODING_MAX | ?wxFONTENCODING_MACMIN | ?wxFONTENCODING_MACMAX | ?wxFONTENCODING_UTF16 | ?wxFONTENCODING_UTF32 | ?wxFONTENCODING_UNICODE | ?wxFONTENCODING_GB2312 | ?wxFONTENCODING_BIG5 | ?wxFONTENCODING_SHIFT_JIS +%%
Encoding = ?wxFONTENCODING_SYSTEM | ?wxFONTENCODING_DEFAULT | ?wxFONTENCODING_ISO8859_1 | ?wxFONTENCODING_ISO8859_2 | ?wxFONTENCODING_ISO8859_3 | ?wxFONTENCODING_ISO8859_4 | ?wxFONTENCODING_ISO8859_5 | ?wxFONTENCODING_ISO8859_6 | ?wxFONTENCODING_ISO8859_7 | ?wxFONTENCODING_ISO8859_8 | ?wxFONTENCODING_ISO8859_9 | ?wxFONTENCODING_ISO8859_10 | ?wxFONTENCODING_ISO8859_11 | ?wxFONTENCODING_ISO8859_12 | ?wxFONTENCODING_ISO8859_13 | ?wxFONTENCODING_ISO8859_14 | ?wxFONTENCODING_ISO8859_15 | ?wxFONTENCODING_ISO8859_MAX | ?wxFONTENCODING_KOI8 | ?wxFONTENCODING_KOI8_U | ?wxFONTENCODING_ALTERNATIVE | ?wxFONTENCODING_BULGARIAN | ?wxFONTENCODING_CP437 | ?wxFONTENCODING_CP850 | ?wxFONTENCODING_CP852 | ?wxFONTENCODING_CP855 | ?wxFONTENCODING_CP866 | ?wxFONTENCODING_CP874 | ?wxFONTENCODING_CP932 | ?wxFONTENCODING_CP936 | ?wxFONTENCODING_CP949 | ?wxFONTENCODING_CP950 | ?wxFONTENCODING_CP1250 | ?wxFONTENCODING_CP1251 | ?wxFONTENCODING_CP1252 | ?wxFONTENCODING_CP1253 | ?wxFONTENCODING_CP1254 | ?wxFONTENCODING_CP1255 | ?wxFONTENCODING_CP1256 | ?wxFONTENCODING_CP1257 | ?wxFONTENCODING_CP12_MAX | ?wxFONTENCODING_UTF7 | ?wxFONTENCODING_UTF8 | ?wxFONTENCODING_EUC_JP | ?wxFONTENCODING_UTF16BE | ?wxFONTENCODING_UTF16LE | ?wxFONTENCODING_UTF32BE | ?wxFONTENCODING_UTF32LE | ?wxFONTENCODING_MACROMAN | ?wxFONTENCODING_MACJAPANESE | ?wxFONTENCODING_MACCHINESETRAD | ?wxFONTENCODING_MACKOREAN | ?wxFONTENCODING_MACARABIC | ?wxFONTENCODING_MACHEBREW | ?wxFONTENCODING_MACGREEK | ?wxFONTENCODING_MACCYRILLIC | ?wxFONTENCODING_MACDEVANAGARI | ?wxFONTENCODING_MACGURMUKHI | ?wxFONTENCODING_MACGUJARATI | ?wxFONTENCODING_MACORIYA | ?wxFONTENCODING_MACBENGALI | ?wxFONTENCODING_MACTAMIL | ?wxFONTENCODING_MACTELUGU | ?wxFONTENCODING_MACKANNADA | ?wxFONTENCODING_MACMALAJALAM | ?wxFONTENCODING_MACSINHALESE | ?wxFONTENCODING_MACBURMESE | ?wxFONTENCODING_MACKHMER | ?wxFONTENCODING_MACTHAI | ?wxFONTENCODING_MACLAOTIAN | ?wxFONTENCODING_MACGEORGIAN | ?wxFONTENCODING_MACARMENIAN | ?wxFONTENCODING_MACCHINESESIMP | ?wxFONTENCODING_MACTIBETAN | ?wxFONTENCODING_MACMONGOLIAN | ?wxFONTENCODING_MACETHIOPIC | ?wxFONTENCODING_MACCENTRALEUR | ?wxFONTENCODING_MACVIATNAMESE | ?wxFONTENCODING_MACARABICEXT | ?wxFONTENCODING_MACSYMBOL | ?wxFONTENCODING_MACDINGBATS | ?wxFONTENCODING_MACTURKISH | ?wxFONTENCODING_MACCROATIAN | ?wxFONTENCODING_MACICELANDIC | ?wxFONTENCODING_MACROMANIAN | ?wxFONTENCODING_MACCELTIC | ?wxFONTENCODING_MACGAELIC | ?wxFONTENCODING_MACKEYBOARD | ?wxFONTENCODING_MAX | ?wxFONTENCODING_MACMIN | ?wxFONTENCODING_MACMAX | ?wxFONTENCODING_UTF16 | ?wxFONTENCODING_UTF32 | ?wxFONTENCODING_UNICODE | ?wxFONTENCODING_GB2312 | ?wxFONTENCODING_BIG5 | ?wxFONTENCODING_SHIFT_JIS +-spec setDefaultEncoding(Encoding) -> ok when + Encoding::wx:wx_enum(). setDefaultEncoding(Encoding) when is_integer(Encoding) -> wxe_util:cast(?wxFont_SetDefaultEncoding, <>). -%% @spec (This::wxFont(), FaceName::string()) -> bool() %% @doc See external documentation. +-spec setFaceName(This, FaceName) -> boolean() when + This::wxFont(), FaceName::string(). setFaceName(#wx_ref{type=ThisT,ref=ThisRef},FaceName) when is_list(FaceName) -> ?CLASS(ThisT,wxFont), @@ -175,52 +188,55 @@ setFaceName(#wx_ref{type=ThisT,ref=ThisRef},FaceName) wxe_util:call(?wxFont_SetFaceName, <>). -%% @spec (This::wxFont(), Family::WxFontFamily) -> ok -%% WxFontFamily = integer() %% @doc See external documentation. -%%
WxFontFamily is one of ?wxFONTFAMILY_DEFAULT | ?wxFONTFAMILY_DECORATIVE | ?wxFONTFAMILY_ROMAN | ?wxFONTFAMILY_SCRIPT | ?wxFONTFAMILY_SWISS | ?wxFONTFAMILY_MODERN | ?wxFONTFAMILY_TELETYPE | ?wxFONTFAMILY_MAX | ?wxFONTFAMILY_UNKNOWN +%%
Family = ?wxFONTFAMILY_DEFAULT | ?wxFONTFAMILY_DECORATIVE | ?wxFONTFAMILY_ROMAN | ?wxFONTFAMILY_SCRIPT | ?wxFONTFAMILY_SWISS | ?wxFONTFAMILY_MODERN | ?wxFONTFAMILY_TELETYPE | ?wxFONTFAMILY_MAX | ?wxFONTFAMILY_UNKNOWN +-spec setFamily(This, Family) -> ok when + This::wxFont(), Family::wx:wx_enum(). setFamily(#wx_ref{type=ThisT,ref=ThisRef},Family) when is_integer(Family) -> ?CLASS(ThisT,wxFont), wxe_util:cast(?wxFont_SetFamily, <>). -%% @spec (This::wxFont(), PointSize::integer()) -> ok %% @doc See external documentation. +-spec setPointSize(This, PointSize) -> ok when + This::wxFont(), PointSize::integer(). setPointSize(#wx_ref{type=ThisT,ref=ThisRef},PointSize) when is_integer(PointSize) -> ?CLASS(ThisT,wxFont), wxe_util:cast(?wxFont_SetPointSize, <>). -%% @spec (This::wxFont(), Style::WxFontStyle) -> ok -%% WxFontStyle = integer() %% @doc See external documentation. -%%
WxFontStyle is one of ?wxFONTSTYLE_NORMAL | ?wxFONTSTYLE_ITALIC | ?wxFONTSTYLE_SLANT | ?wxFONTSTYLE_MAX +%%
Style = ?wxFONTSTYLE_NORMAL | ?wxFONTSTYLE_ITALIC | ?wxFONTSTYLE_SLANT | ?wxFONTSTYLE_MAX +-spec setStyle(This, Style) -> ok when + This::wxFont(), Style::wx:wx_enum(). setStyle(#wx_ref{type=ThisT,ref=ThisRef},Style) when is_integer(Style) -> ?CLASS(ThisT,wxFont), wxe_util:cast(?wxFont_SetStyle, <>). -%% @spec (This::wxFont(), Underlined::bool()) -> ok %% @doc See external documentation. +-spec setUnderlined(This, Underlined) -> ok when + This::wxFont(), Underlined::boolean(). setUnderlined(#wx_ref{type=ThisT,ref=ThisRef},Underlined) when is_boolean(Underlined) -> ?CLASS(ThisT,wxFont), wxe_util:cast(?wxFont_SetUnderlined, <>). -%% @spec (This::wxFont(), Weight::integer()) -> ok %% @doc See external documentation. +-spec setWeight(This, Weight) -> ok when + This::wxFont(), Weight::integer(). setWeight(#wx_ref{type=ThisT,ref=ThisRef},Weight) when is_integer(Weight) -> ?CLASS(ThisT,wxFont), wxe_util:cast(?wxFont_SetWeight, <>). -%% @spec (This::wxFont()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxFont) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxFont), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxFontData.erl b/lib/wx/src/gen/wxFontData.erl index 33015b7ca9..df8e734000 100644 --- a/lib/wx/src/gen/wxFontData.erl +++ b/lib/wx/src/gen/wxFontData.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -31,122 +31,138 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxFontData/0]). %% @hidden parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxFontData() +-type wxFontData() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxFontData(). new() -> wxe_util:construct(?wxFontData_new_0, <<>>). -%% @spec (Data::wxFontData()) -> wxFontData() %% @doc See external documentation. +-spec new(Data) -> wxFontData() when + Data::wxFontData(). new(#wx_ref{type=DataT,ref=DataRef}) -> ?CLASS(DataT,wxFontData), wxe_util:construct(?wxFontData_new_1, <>). -%% @spec (This::wxFontData(), Flag::bool()) -> ok %% @doc See external documentation. +-spec enableEffects(This, Flag) -> ok when + This::wxFontData(), Flag::boolean(). enableEffects(#wx_ref{type=ThisT,ref=ThisRef},Flag) when is_boolean(Flag) -> ?CLASS(ThisT,wxFontData), wxe_util:cast(?wxFontData_EnableEffects, <>). -%% @spec (This::wxFontData()) -> bool() %% @doc See external documentation. +-spec getAllowSymbols(This) -> boolean() when + This::wxFontData(). getAllowSymbols(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFontData), wxe_util:call(?wxFontData_GetAllowSymbols, <>). -%% @spec (This::wxFontData()) -> wx:colour() %% @doc See external documentation. +-spec getColour(This) -> wx:wx_colour() when + This::wxFontData(). getColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFontData), wxe_util:call(?wxFontData_GetColour, <>). -%% @spec (This::wxFontData()) -> wxFont:wxFont() %% @doc See external documentation. +-spec getChosenFont(This) -> wxFont:wxFont() when + This::wxFontData(). getChosenFont(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFontData), wxe_util:call(?wxFontData_GetChosenFont, <>). -%% @spec (This::wxFontData()) -> bool() %% @doc See external documentation. +-spec getEnableEffects(This) -> boolean() when + This::wxFontData(). getEnableEffects(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFontData), wxe_util:call(?wxFontData_GetEnableEffects, <>). -%% @spec (This::wxFontData()) -> wxFont:wxFont() %% @doc See external documentation. +-spec getInitialFont(This) -> wxFont:wxFont() when + This::wxFontData(). getInitialFont(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFontData), wxe_util:call(?wxFontData_GetInitialFont, <>). -%% @spec (This::wxFontData()) -> bool() %% @doc See external documentation. +-spec getShowHelp(This) -> boolean() when + This::wxFontData(). getShowHelp(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFontData), wxe_util:call(?wxFontData_GetShowHelp, <>). -%% @spec (This::wxFontData(), Flag::bool()) -> ok %% @doc See external documentation. +-spec setAllowSymbols(This, Flag) -> ok when + This::wxFontData(), Flag::boolean(). setAllowSymbols(#wx_ref{type=ThisT,ref=ThisRef},Flag) when is_boolean(Flag) -> ?CLASS(ThisT,wxFontData), wxe_util:cast(?wxFontData_SetAllowSymbols, <>). -%% @spec (This::wxFontData(), Font::wxFont:wxFont()) -> ok %% @doc See external documentation. +-spec setChosenFont(This, Font) -> ok when + This::wxFontData(), Font::wxFont:wxFont(). setChosenFont(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FontT,ref=FontRef}) -> ?CLASS(ThisT,wxFontData), ?CLASS(FontT,wxFont), wxe_util:cast(?wxFontData_SetChosenFont, <>). -%% @spec (This::wxFontData(), Colour::wx:colour()) -> ok %% @doc See external documentation. +-spec setColour(This, Colour) -> ok when + This::wxFontData(), Colour::wx:wx_colour(). setColour(#wx_ref{type=ThisT,ref=ThisRef},Colour) when tuple_size(Colour) =:= 3; tuple_size(Colour) =:= 4 -> ?CLASS(ThisT,wxFontData), wxe_util:cast(?wxFontData_SetColour, <>). -%% @spec (This::wxFontData(), Font::wxFont:wxFont()) -> ok %% @doc See external documentation. +-spec setInitialFont(This, Font) -> ok when + This::wxFontData(), Font::wxFont:wxFont(). setInitialFont(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FontT,ref=FontRef}) -> ?CLASS(ThisT,wxFontData), ?CLASS(FontT,wxFont), wxe_util:cast(?wxFontData_SetInitialFont, <>). -%% @spec (This::wxFontData(), MinRange::integer(), MaxRange::integer()) -> ok %% @doc See external documentation. +-spec setRange(This, MinRange, MaxRange) -> ok when + This::wxFontData(), MinRange::integer(), MaxRange::integer(). setRange(#wx_ref{type=ThisT,ref=ThisRef},MinRange,MaxRange) when is_integer(MinRange),is_integer(MaxRange) -> ?CLASS(ThisT,wxFontData), wxe_util:cast(?wxFontData_SetRange, <>). -%% @spec (This::wxFontData(), Flag::bool()) -> ok %% @doc See external documentation. +-spec setShowHelp(This, Flag) -> ok when + This::wxFontData(), Flag::boolean(). setShowHelp(#wx_ref{type=ThisT,ref=ThisRef},Flag) when is_boolean(Flag) -> ?CLASS(ThisT,wxFontData), wxe_util:cast(?wxFontData_SetShowHelp, <>). -%% @spec (This::wxFontData()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxFontData) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxFontData), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxFontDialog.erl b/lib/wx/src/gen/wxFontDialog.erl index 357bfe532d..ad061055da 100644 --- a/lib/wx/src/gen/wxFontDialog.erl +++ b/lib/wx/src/gen/wxFontDialog.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -77,6 +77,7 @@ transferDataFromWindow/1,transferDataToWindow/1,update/1,updateWindowUI/1, updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxFontDialog/0]). %% @hidden parent_class(wxDialog) -> true; parent_class(wxTopLevelWindow) -> true; @@ -84,22 +85,25 @@ parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxFontDialog() +-type wxFontDialog() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxFontDialog(). new() -> wxe_util:construct(?wxFontDialog_new_0, <<>>). -%% @spec (Parent::wxWindow:wxWindow(), Data::wxFontData:wxFontData()) -> wxFontDialog() %% @doc See external documentation. +-spec new(Parent, Data) -> wxFontDialog() when + Parent::wxWindow:wxWindow(), Data::wxFontData:wxFontData(). new(#wx_ref{type=ParentT,ref=ParentRef},#wx_ref{type=DataT,ref=DataRef}) -> ?CLASS(ParentT,wxWindow), ?CLASS(DataT,wxFontData), wxe_util:construct(?wxFontDialog_new_2, <>). -%% @spec (This::wxFontDialog(), Parent::wxWindow:wxWindow(), Data::wxFontData:wxFontData()) -> bool() %% @doc See external documentation. +-spec create(This, Parent, Data) -> boolean() when + This::wxFontDialog(), Parent::wxWindow:wxWindow(), Data::wxFontData:wxFontData(). create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},#wx_ref{type=DataT,ref=DataRef}) -> ?CLASS(ThisT,wxFontDialog), ?CLASS(ParentT,wxWindow), @@ -107,15 +111,16 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},#wx_r wxe_util:call(?wxFontDialog_Create, <>). -%% @spec (This::wxFontDialog()) -> wxFontData:wxFontData() %% @doc See external documentation. +-spec getFontData(This) -> wxFontData:wxFontData() when + This::wxFontDialog(). getFontData(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFontDialog), wxe_util:call(?wxFontDialog_GetFontData, <>). -%% @spec (This::wxFontDialog()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxFontDialog) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxFontDialog), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxFontPickerCtrl.erl b/lib/wx/src/gen/wxFontPickerCtrl.erl index 3050011b60..01be91239c 100644 --- a/lib/wx/src/gen/wxFontPickerCtrl.erl +++ b/lib/wx/src/gen/wxFontPickerCtrl.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -75,6 +75,7 @@ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1, update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxFontPickerCtrl/0]). %% @hidden parent_class(wxPickerBase) -> true; parent_class(wxControl) -> true; @@ -82,21 +83,29 @@ parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxFontPickerCtrl() +-type wxFontPickerCtrl() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxFontPickerCtrl(). new() -> wxe_util:construct(?wxFontPickerCtrl_new_0, <<>>). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer()) -> wxFontPickerCtrl() %% @equiv new(Parent,Id, []) +-spec new(Parent, Id) -> wxFontPickerCtrl() when + Parent::wxWindow:wxWindow(), Id::integer(). + new(Parent,Id) when is_record(Parent, wx_ref),is_integer(Id) -> new(Parent,Id, []). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> wxFontPickerCtrl() -%% Option = {initial, wxFont:wxFont()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx:wx()} %% @doc See external documentation. +-spec new(Parent, Id, [Option]) -> wxFontPickerCtrl() when + Parent::wxWindow:wxWindow(), Id::integer(), + Option :: {initial, wxFont:wxFont()} + | {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()} + | {validator, wx:wx()}. new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options) when is_integer(Id),is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -110,15 +119,22 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options) wxe_util:construct(?wxFontPickerCtrl_new_3, <>). -%% @spec (This::wxFontPickerCtrl(), Parent::wxWindow:wxWindow(), Id::integer()) -> bool() %% @equiv create(This,Parent,Id, []) +-spec create(This, Parent, Id) -> boolean() when + This::wxFontPickerCtrl(), Parent::wxWindow:wxWindow(), Id::integer(). + create(This,Parent,Id) when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id) -> create(This,Parent,Id, []). -%% @spec (This::wxFontPickerCtrl(), Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> bool() -%% Option = {initial, wxFont:wxFont()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx:wx()} %% @doc See external documentation. +-spec create(This, Parent, Id, [Option]) -> boolean() when + This::wxFontPickerCtrl(), Parent::wxWindow:wxWindow(), Id::integer(), + Option :: {initial, wxFont:wxFont()} + | {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()} + | {validator, wx:wx()}. create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id, Options) when is_integer(Id),is_list(Options) -> ?CLASS(ThisT,wxFontPickerCtrl), @@ -133,38 +149,42 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id, O wxe_util:call(?wxFontPickerCtrl_Create, <>). -%% @spec (This::wxFontPickerCtrl()) -> wxFont:wxFont() %% @doc See external documentation. +-spec getSelectedFont(This) -> wxFont:wxFont() when + This::wxFontPickerCtrl(). getSelectedFont(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFontPickerCtrl), wxe_util:call(?wxFontPickerCtrl_GetSelectedFont, <>). -%% @spec (This::wxFontPickerCtrl(), F::wxFont:wxFont()) -> ok %% @doc See external documentation. +-spec setSelectedFont(This, F) -> ok when + This::wxFontPickerCtrl(), F::wxFont:wxFont(). setSelectedFont(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FT,ref=FRef}) -> ?CLASS(ThisT,wxFontPickerCtrl), ?CLASS(FT,wxFont), wxe_util:cast(?wxFontPickerCtrl_SetSelectedFont, <>). -%% @spec (This::wxFontPickerCtrl()) -> integer() %% @doc See external documentation. +-spec getMaxPointSize(This) -> integer() when + This::wxFontPickerCtrl(). getMaxPointSize(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFontPickerCtrl), wxe_util:call(?wxFontPickerCtrl_GetMaxPointSize, <>). -%% @spec (This::wxFontPickerCtrl(), Max::integer()) -> ok %% @doc See external documentation. +-spec setMaxPointSize(This, Max) -> ok when + This::wxFontPickerCtrl(), Max::integer(). setMaxPointSize(#wx_ref{type=ThisT,ref=ThisRef},Max) when is_integer(Max) -> ?CLASS(ThisT,wxFontPickerCtrl), wxe_util:cast(?wxFontPickerCtrl_SetMaxPointSize, <>). -%% @spec (This::wxFontPickerCtrl()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxFontPickerCtrl) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxFontPickerCtrl), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxFontPickerEvent.erl b/lib/wx/src/gen/wxFontPickerEvent.erl index 6eb456767f..2dc3606409 100644 --- a/lib/wx/src/gen/wxFontPickerEvent.erl +++ b/lib/wx/src/gen/wxFontPickerEvent.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,13 +40,16 @@ parent_class/1,resumePropagation/2,setInt/2,setString/2,shouldPropagate/1, skip/1,skip/2,stopPropagation/1]). +-export_type([wxFontPickerEvent/0]). %% @hidden parent_class(wxCommandEvent) -> true; parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxFontPickerEvent()) -> wxFont:wxFont() +-type wxFontPickerEvent() :: wx:wx_object(). %% @doc See external documentation. +-spec getFont(This) -> wxFont:wxFont() when + This::wxFontPickerEvent(). getFont(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFontPickerEvent), wxe_util:call(?wxFontPickerEvent_GetFont, diff --git a/lib/wx/src/gen/wxFrame.erl b/lib/wx/src/gen/wxFrame.erl index 7e25bc8762..1618af137c 100644 --- a/lib/wx/src/gen/wxFrame.erl +++ b/lib/wx/src/gen/wxFrame.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -78,27 +78,34 @@ showFullScreen/3,thaw/1,transferDataFromWindow/1,transferDataToWindow/1, update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxFrame/0]). %% @hidden parent_class(wxTopLevelWindow) -> true; parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxFrame() +-type wxFrame() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxFrame(). new() -> wxe_util:construct(?wxFrame_new_0, <<>>). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Title::string()) -> wxFrame() %% @equiv new(Parent,Id,Title, []) +-spec new(Parent, Id, Title) -> wxFrame() when + Parent::wxWindow:wxWindow(), Id::integer(), Title::string(). + new(Parent,Id,Title) when is_record(Parent, wx_ref),is_integer(Id),is_list(Title) -> new(Parent,Id,Title, []). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Title::string(), [Option]) -> wxFrame() -%% Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} %% @doc See external documentation. +-spec new(Parent, Id, Title, [Option]) -> wxFrame() when + Parent::wxWindow:wxWindow(), Id::integer(), Title::string(), + Option :: {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()}. new(#wx_ref{type=ParentT,ref=ParentRef},Id,Title, Options) when is_integer(Id),is_list(Title),is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -111,15 +118,20 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Id,Title, Options) wxe_util:construct(?wxFrame_new_4, <>). -%% @spec (This::wxFrame(), Parent::wxWindow:wxWindow(), Id::integer(), Title::string()) -> bool() %% @equiv create(This,Parent,Id,Title, []) +-spec create(This, Parent, Id, Title) -> boolean() when + This::wxFrame(), Parent::wxWindow:wxWindow(), Id::integer(), Title::string(). + create(This,Parent,Id,Title) when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id),is_list(Title) -> create(This,Parent,Id,Title, []). -%% @spec (This::wxFrame(), Parent::wxWindow:wxWindow(), Id::integer(), Title::string(), [Option]) -> bool() -%% Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} %% @doc See external documentation. +-spec create(This, Parent, Id, Title, [Option]) -> boolean() when + This::wxFrame(), Parent::wxWindow:wxWindow(), Id::integer(), Title::string(), + Option :: {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()}. create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,Title, Options) when is_integer(Id),is_list(Title),is_list(Options) -> ?CLASS(ThisT,wxFrame), @@ -133,15 +145,20 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,Ti wxe_util:call(?wxFrame_Create, <>). -%% @spec (This::wxFrame()) -> wxStatusBar:wxStatusBar() %% @equiv createStatusBar(This, []) +-spec createStatusBar(This) -> wxStatusBar:wxStatusBar() when + This::wxFrame(). + createStatusBar(This) when is_record(This, wx_ref) -> createStatusBar(This, []). -%% @spec (This::wxFrame(), [Option]) -> wxStatusBar:wxStatusBar() -%% Option = {number, integer()} | {style, integer()} | {id, integer()} %% @doc See external documentation. +-spec createStatusBar(This, [Option]) -> wxStatusBar:wxStatusBar() when + This::wxFrame(), + Option :: {number, integer()} + | {style, integer()} + | {id, integer()}. createStatusBar(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxFrame), @@ -153,15 +170,19 @@ createStatusBar(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxFrame_CreateStatusBar, <>). -%% @spec (This::wxFrame()) -> wxToolBar:wxToolBar() %% @equiv createToolBar(This, []) +-spec createToolBar(This) -> wxToolBar:wxToolBar() when + This::wxFrame(). + createToolBar(This) when is_record(This, wx_ref) -> createToolBar(This, []). -%% @spec (This::wxFrame(), [Option]) -> wxToolBar:wxToolBar() -%% Option = {style, integer()} | {id, integer()} %% @doc See external documentation. +-spec createToolBar(This, [Option]) -> wxToolBar:wxToolBar() when + This::wxFrame(), + Option :: {style, integer()} + | {id, integer()}. createToolBar(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxFrame), @@ -172,89 +193,102 @@ createToolBar(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxFrame_CreateToolBar, <>). -%% @spec (This::wxFrame()) -> {X::integer(), Y::integer()} %% @doc See external documentation. +-spec getClientAreaOrigin(This) -> {X::integer(), Y::integer()} when + This::wxFrame(). getClientAreaOrigin(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFrame), wxe_util:call(?wxFrame_GetClientAreaOrigin, <>). -%% @spec (This::wxFrame()) -> wxMenuBar:wxMenuBar() %% @doc See external documentation. +-spec getMenuBar(This) -> wxMenuBar:wxMenuBar() when + This::wxFrame(). getMenuBar(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFrame), wxe_util:call(?wxFrame_GetMenuBar, <>). -%% @spec (This::wxFrame()) -> wxStatusBar:wxStatusBar() %% @doc See external documentation. +-spec getStatusBar(This) -> wxStatusBar:wxStatusBar() when + This::wxFrame(). getStatusBar(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFrame), wxe_util:call(?wxFrame_GetStatusBar, <>). -%% @spec (This::wxFrame()) -> integer() %% @doc See external documentation. +-spec getStatusBarPane(This) -> integer() when + This::wxFrame(). getStatusBarPane(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFrame), wxe_util:call(?wxFrame_GetStatusBarPane, <>). -%% @spec (This::wxFrame()) -> wxToolBar:wxToolBar() %% @doc See external documentation. +-spec getToolBar(This) -> wxToolBar:wxToolBar() when + This::wxFrame(). getToolBar(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFrame), wxe_util:call(?wxFrame_GetToolBar, <>). -%% @spec (This::wxFrame(), Winid::integer()) -> bool() %% @doc See external documentation. +-spec processCommand(This, Winid) -> boolean() when + This::wxFrame(), Winid::integer(). processCommand(#wx_ref{type=ThisT,ref=ThisRef},Winid) when is_integer(Winid) -> ?CLASS(ThisT,wxFrame), wxe_util:call(?wxFrame_ProcessCommand, <>). -%% @spec (This::wxFrame()) -> ok %% @doc See external documentation. +-spec sendSizeEvent(This) -> ok when + This::wxFrame(). sendSizeEvent(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFrame), wxe_util:cast(?wxFrame_SendSizeEvent, <>). -%% @spec (This::wxFrame(), Menubar::wxMenuBar:wxMenuBar()) -> ok %% @doc See external documentation. +-spec setMenuBar(This, Menubar) -> ok when + This::wxFrame(), Menubar::wxMenuBar:wxMenuBar(). setMenuBar(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=MenubarT,ref=MenubarRef}) -> ?CLASS(ThisT,wxFrame), ?CLASS(MenubarT,wxMenuBar), wxe_util:cast(?wxFrame_SetMenuBar, <>). -%% @spec (This::wxFrame(), Statbar::wxStatusBar:wxStatusBar()) -> ok %% @doc See external documentation. +-spec setStatusBar(This, Statbar) -> ok when + This::wxFrame(), Statbar::wxStatusBar:wxStatusBar(). setStatusBar(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=StatbarT,ref=StatbarRef}) -> ?CLASS(ThisT,wxFrame), ?CLASS(StatbarT,wxStatusBar), wxe_util:cast(?wxFrame_SetStatusBar, <>). -%% @spec (This::wxFrame(), N::integer()) -> ok %% @doc See external documentation. +-spec setStatusBarPane(This, N) -> ok when + This::wxFrame(), N::integer(). setStatusBarPane(#wx_ref{type=ThisT,ref=ThisRef},N) when is_integer(N) -> ?CLASS(ThisT,wxFrame), wxe_util:cast(?wxFrame_SetStatusBarPane, <>). -%% @spec (This::wxFrame(), Text::string()) -> ok %% @equiv setStatusText(This,Text, []) +-spec setStatusText(This, Text) -> ok when + This::wxFrame(), Text::string(). + setStatusText(This,Text) when is_record(This, wx_ref),is_list(Text) -> setStatusText(This,Text, []). -%% @spec (This::wxFrame(), Text::string(), [Option]) -> ok -%% Option = {number, integer()} %% @doc See external documentation. +-spec setStatusText(This, Text, [Option]) -> ok when + This::wxFrame(), Text::string(), + Option :: {number, integer()}. setStatusText(#wx_ref{type=ThisT,ref=ThisRef},Text, Options) when is_list(Text),is_list(Options) -> ?CLASS(ThisT,wxFrame), @@ -265,8 +299,9 @@ setStatusText(#wx_ref{type=ThisT,ref=ThisRef},Text, Options) wxe_util:cast(?wxFrame_SetStatusText, <>). -%% @spec (This::wxFrame(), Widths_field::[integer()]) -> ok %% @doc See external documentation. +-spec setStatusWidths(This, Widths_field) -> ok when + This::wxFrame(), Widths_field::[integer()]. setStatusWidths(#wx_ref{type=ThisT,ref=ThisRef},Widths_field) when is_list(Widths_field) -> ?CLASS(ThisT,wxFrame), @@ -274,16 +309,17 @@ setStatusWidths(#wx_ref{type=ThisT,ref=ThisRef},Widths_field) <> || C <- Widths_field>>)/binary, 0:(((0+length(Widths_field)) rem 2)*32)>>). -%% @spec (This::wxFrame(), Toolbar::wxToolBar:wxToolBar()) -> ok %% @doc See external documentation. +-spec setToolBar(This, Toolbar) -> ok when + This::wxFrame(), Toolbar::wxToolBar:wxToolBar(). setToolBar(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ToolbarT,ref=ToolbarRef}) -> ?CLASS(ThisT,wxFrame), ?CLASS(ToolbarT,wxToolBar), wxe_util:cast(?wxFrame_SetToolBar, <>). -%% @spec (This::wxFrame()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxFrame) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxFrame), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxGBSizerItem.erl b/lib/wx/src/gen/wxGBSizerItem.erl index 90dd98fdf2..1860e5f808 100644 --- a/lib/wx/src/gen/wxGBSizerItem.erl +++ b/lib/wx/src/gen/wxGBSizerItem.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,10 +37,12 @@ setMinSize/2,setMinSize/3,setProportion/2,setRatio/2,setRatio/3,setSizer/2, setSpacer/2,setSpacer/3,setWindow/2,show/2]). +-export_type([wxGBSizerItem/0]). %% @hidden parent_class(wxSizerItem) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). +-type wxGBSizerItem() :: wx:wx_object(). %% From wxSizerItem %% @hidden show(This,Show) -> wxSizerItem:show(This,Show). diff --git a/lib/wx/src/gen/wxGLCanvas.erl b/lib/wx/src/gen/wxGLCanvas.erl index a30d8cefd9..515ccab2ff 100644 --- a/lib/wx/src/gen/wxGLCanvas.erl +++ b/lib/wx/src/gen/wxGLCanvas.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -68,26 +68,33 @@ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1, update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxGLCanvas/0]). %% @hidden parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (Parent::wxWindow:wxWindow()) -> wxGLCanvas() +-type wxGLCanvas() :: wx:wx_object(). %% @equiv new(Parent, []) +-spec new(Parent) -> wxGLCanvas() when + Parent::wxWindow:wxWindow(). + new(Parent) when is_record(Parent, wx_ref) -> new(Parent, []). -%% @spec (Parent::wxWindow:wxWindow(),X::term()) -> wxGLCanvas() %% @doc See external documentation. -%%
Alternatives: -%%

-%% new(Parent::wxWindow:wxWindow(), Shared::wxGLContext:wxGLContext() | wxGLCanvas()) -> new(Parent,Shared, [])

-%%

-%% new(Parent::wxWindow:wxWindow(), [Option]) -> wxGLCanvas() -%%
Option = {id, integer()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {name, string()} | {attribList, [integer()]} | {palette, wxPalette:wxPalette()} -%%

+-spec new(Parent, Shared) -> wxGLCanvas() when + Parent::wxWindow:wxWindow(), Shared::wxGLContext:wxGLContext() | wxGLCanvas(); + (Parent, [Option]) -> wxGLCanvas() when + Parent::wxWindow:wxWindow(), + Option :: {id, integer()} + | {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()} + | {name, string()} + | {attribList, [integer()]} + | {palette, wxPalette:wxPalette()}. new(Parent,Shared) when is_record(Parent, wx_ref),is_record(Shared, wx_ref) -> @@ -108,9 +115,16 @@ new(#wx_ref{type=ParentT,ref=ParentRef}, Options) wxe_util:construct(?wxGLCanvas_new_2, <>). -%% @spec (Parent::wxWindow:wxWindow(), Shared::wxGLContext:wxGLContext() | wxGLCanvas(), [Option]) -> wxGLCanvas() -%% Option = {id, integer()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {name, string()} | {attribList, [integer()]} | {palette, wxPalette:wxPalette()} %% @doc See external documentation. +-spec new(Parent, Shared, [Option]) -> wxGLCanvas() when + Parent::wxWindow:wxWindow(), Shared::wxGLContext:wxGLContext() | wxGLCanvas(), + Option :: {id, integer()} + | {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()} + | {name, string()} + | {attribList, [integer()]} + | {palette, wxPalette:wxPalette()}. new(#wx_ref{type=ParentT,ref=ParentRef},#wx_ref{type=SharedT,ref=SharedRef}, Options) when is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -133,15 +147,17 @@ new(#wx_ref{type=ParentT,ref=ParentRef},#wx_ref{type=SharedT,ref=SharedRef}, Opt wxe_util:construct(SharedOP, <>). -%% @spec (This::wxGLCanvas()) -> wxGLContext:wxGLContext() %% @doc See external documentation. +-spec getContext(This) -> wxGLContext:wxGLContext() when + This::wxGLCanvas(). getContext(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGLCanvas), wxe_util:call(?wxGLCanvas_GetContext, <>). -%% @spec (This::wxGLCanvas()) -> ok %% @doc See external documentation. +-spec setCurrent(This) -> ok when + This::wxGLCanvas(). setCurrent(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGLCanvas), _Result = wxe_util:cast(?wxGLCanvas_SetCurrent, @@ -149,15 +165,16 @@ setCurrent(#wx_ref{type=ThisT,ref=ThisRef}) -> {ok, _} = wxe_master:init_opengl(), _Result. -%% @spec (This::wxGLCanvas()) -> ok %% @doc See external documentation. +-spec swapBuffers(This) -> ok when + This::wxGLCanvas(). swapBuffers(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGLCanvas), wxe_util:cast(?wxGLCanvas_SwapBuffers, <>). -%% @spec (This::wxGLCanvas()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxGLCanvas) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxGLCanvas), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxGauge.erl b/lib/wx/src/gen/wxGauge.erl index 484fd36936..bb453b4a8b 100644 --- a/lib/wx/src/gen/wxGauge.erl +++ b/lib/wx/src/gen/wxGauge.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -71,27 +71,35 @@ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1, update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxGauge/0]). %% @hidden parent_class(wxControl) -> true; parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxGauge() +-type wxGauge() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxGauge(). new() -> wxe_util:construct(?wxGauge_new_0, <<>>). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Range::integer()) -> wxGauge() %% @equiv new(Parent,Id,Range, []) +-spec new(Parent, Id, Range) -> wxGauge() when + Parent::wxWindow:wxWindow(), Id::integer(), Range::integer(). + new(Parent,Id,Range) when is_record(Parent, wx_ref),is_integer(Id),is_integer(Range) -> new(Parent,Id,Range, []). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Range::integer(), [Option]) -> wxGauge() -%% Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx:wx()} %% @doc See external documentation. +-spec new(Parent, Id, Range, [Option]) -> wxGauge() when + Parent::wxWindow:wxWindow(), Id::integer(), Range::integer(), + Option :: {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()} + | {validator, wx:wx()}. new(#wx_ref{type=ParentT,ref=ParentRef},Id,Range, Options) when is_integer(Id),is_integer(Range),is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -104,15 +112,21 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Id,Range, Options) wxe_util:construct(?wxGauge_new_4, <>). -%% @spec (This::wxGauge(), Parent::wxWindow:wxWindow(), Id::integer(), Range::integer()) -> bool() %% @equiv create(This,Parent,Id,Range, []) +-spec create(This, Parent, Id, Range) -> boolean() when + This::wxGauge(), Parent::wxWindow:wxWindow(), Id::integer(), Range::integer(). + create(This,Parent,Id,Range) when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id),is_integer(Range) -> create(This,Parent,Id,Range, []). -%% @spec (This::wxGauge(), Parent::wxWindow:wxWindow(), Id::integer(), Range::integer(), [Option]) -> bool() -%% Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx:wx()} %% @doc See external documentation. +-spec create(This, Parent, Id, Range, [Option]) -> boolean() when + This::wxGauge(), Parent::wxWindow:wxWindow(), Id::integer(), Range::integer(), + Option :: {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()} + | {validator, wx:wx()}. create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,Range, Options) when is_integer(Id),is_integer(Range),is_list(Options) -> ?CLASS(ThisT,wxGauge), @@ -126,82 +140,92 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,Ra wxe_util:call(?wxGauge_Create, <>). -%% @spec (This::wxGauge()) -> integer() %% @doc See external documentation. +-spec getBezelFace(This) -> integer() when + This::wxGauge(). getBezelFace(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGauge), wxe_util:call(?wxGauge_GetBezelFace, <>). -%% @spec (This::wxGauge()) -> integer() %% @doc See external documentation. +-spec getRange(This) -> integer() when + This::wxGauge(). getRange(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGauge), wxe_util:call(?wxGauge_GetRange, <>). -%% @spec (This::wxGauge()) -> integer() %% @doc See external documentation. +-spec getShadowWidth(This) -> integer() when + This::wxGauge(). getShadowWidth(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGauge), wxe_util:call(?wxGauge_GetShadowWidth, <>). -%% @spec (This::wxGauge()) -> integer() %% @doc See external documentation. +-spec getValue(This) -> integer() when + This::wxGauge(). getValue(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGauge), wxe_util:call(?wxGauge_GetValue, <>). -%% @spec (This::wxGauge()) -> bool() %% @doc See external documentation. +-spec isVertical(This) -> boolean() when + This::wxGauge(). isVertical(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGauge), wxe_util:call(?wxGauge_IsVertical, <>). -%% @spec (This::wxGauge(), W::integer()) -> ok %% @doc See external documentation. +-spec setBezelFace(This, W) -> ok when + This::wxGauge(), W::integer(). setBezelFace(#wx_ref{type=ThisT,ref=ThisRef},W) when is_integer(W) -> ?CLASS(ThisT,wxGauge), wxe_util:cast(?wxGauge_SetBezelFace, <>). -%% @spec (This::wxGauge(), R::integer()) -> ok %% @doc See external documentation. +-spec setRange(This, R) -> ok when + This::wxGauge(), R::integer(). setRange(#wx_ref{type=ThisT,ref=ThisRef},R) when is_integer(R) -> ?CLASS(ThisT,wxGauge), wxe_util:cast(?wxGauge_SetRange, <>). -%% @spec (This::wxGauge(), W::integer()) -> ok %% @doc See external documentation. +-spec setShadowWidth(This, W) -> ok when + This::wxGauge(), W::integer(). setShadowWidth(#wx_ref{type=ThisT,ref=ThisRef},W) when is_integer(W) -> ?CLASS(ThisT,wxGauge), wxe_util:cast(?wxGauge_SetShadowWidth, <>). -%% @spec (This::wxGauge(), Pos::integer()) -> ok %% @doc See external documentation. +-spec setValue(This, Pos) -> ok when + This::wxGauge(), Pos::integer(). setValue(#wx_ref{type=ThisT,ref=ThisRef},Pos) when is_integer(Pos) -> ?CLASS(ThisT,wxGauge), wxe_util:cast(?wxGauge_SetValue, <>). -%% @spec (This::wxGauge()) -> ok %% @doc See external documentation. +-spec pulse(This) -> ok when + This::wxGauge(). pulse(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGauge), wxe_util:cast(?wxGauge_Pulse, <>). -%% @spec (This::wxGauge()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxGauge) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxGauge), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxGenericDirCtrl.erl b/lib/wx/src/gen/wxGenericDirCtrl.erl index 626a454d2a..6ea26e0426 100644 --- a/lib/wx/src/gen/wxGenericDirCtrl.erl +++ b/lib/wx/src/gen/wxGenericDirCtrl.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,27 +72,38 @@ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1, update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxGenericDirCtrl/0]). %% @hidden parent_class(wxControl) -> true; parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxGenericDirCtrl() +-type wxGenericDirCtrl() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxGenericDirCtrl(). new() -> wxe_util:construct(?wxGenericDirCtrl_new_0, <<>>). -%% @spec (Parent::wxWindow:wxWindow()) -> wxGenericDirCtrl() %% @equiv new(Parent, []) +-spec new(Parent) -> wxGenericDirCtrl() when + Parent::wxWindow:wxWindow(). + new(Parent) when is_record(Parent, wx_ref) -> new(Parent, []). -%% @spec (Parent::wxWindow:wxWindow(), [Option]) -> wxGenericDirCtrl() -%% Option = {id, integer()} | {dir, string()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {filter, string()} | {defaultFilter, integer()} %% @doc See external documentation. +-spec new(Parent, [Option]) -> wxGenericDirCtrl() when + Parent::wxWindow:wxWindow(), + Option :: {id, integer()} + | {dir, string()} + | {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()} + | {filter, string()} + | {defaultFilter, integer()}. new(#wx_ref{type=ParentT,ref=ParentRef}, Options) when is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -108,15 +119,24 @@ new(#wx_ref{type=ParentT,ref=ParentRef}, Options) wxe_util:construct(?wxGenericDirCtrl_new_2, <>). -%% @spec (This::wxGenericDirCtrl(), Parent::wxWindow:wxWindow()) -> bool() %% @equiv create(This,Parent, []) +-spec create(This, Parent) -> boolean() when + This::wxGenericDirCtrl(), Parent::wxWindow:wxWindow(). + create(This,Parent) when is_record(This, wx_ref),is_record(Parent, wx_ref) -> create(This,Parent, []). -%% @spec (This::wxGenericDirCtrl(), Parent::wxWindow:wxWindow(), [Option]) -> bool() -%% Option = {id, integer()} | {dir, string()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {filter, string()} | {defaultFilter, integer()} %% @doc See external documentation. +-spec create(This, Parent, [Option]) -> boolean() when + This::wxGenericDirCtrl(), Parent::wxWindow:wxWindow(), + Option :: {id, integer()} + | {dir, string()} + | {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()} + | {filter, string()} + | {defaultFilter, integer()}. create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxGenericDirCtrl), @@ -133,22 +153,25 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}, Opti wxe_util:call(?wxGenericDirCtrl_Create, <>). -%% @spec (This::wxGenericDirCtrl()) -> ok %% @doc See external documentation. +-spec init(This) -> ok when + This::wxGenericDirCtrl(). init(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGenericDirCtrl), wxe_util:cast(?wxGenericDirCtrl_Init, <>). -%% @spec (This::wxGenericDirCtrl()) -> ok %% @doc See external documentation. +-spec collapseTree(This) -> ok when + This::wxGenericDirCtrl(). collapseTree(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGenericDirCtrl), wxe_util:cast(?wxGenericDirCtrl_CollapseTree, <>). -%% @spec (This::wxGenericDirCtrl(), Path::string()) -> bool() %% @doc See external documentation. +-spec expandPath(This, Path) -> boolean() when + This::wxGenericDirCtrl(), Path::string(). expandPath(#wx_ref{type=ThisT,ref=ThisRef},Path) when is_list(Path) -> ?CLASS(ThisT,wxGenericDirCtrl), @@ -156,64 +179,73 @@ expandPath(#wx_ref{type=ThisT,ref=ThisRef},Path) wxe_util:call(?wxGenericDirCtrl_ExpandPath, <>). -%% @spec (This::wxGenericDirCtrl()) -> string() %% @doc See external documentation. +-spec getDefaultPath(This) -> string() when + This::wxGenericDirCtrl(). getDefaultPath(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGenericDirCtrl), wxe_util:call(?wxGenericDirCtrl_GetDefaultPath, <>). -%% @spec (This::wxGenericDirCtrl()) -> string() %% @doc See external documentation. +-spec getPath(This) -> string() when + This::wxGenericDirCtrl(). getPath(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGenericDirCtrl), wxe_util:call(?wxGenericDirCtrl_GetPath, <>). -%% @spec (This::wxGenericDirCtrl()) -> string() %% @doc See external documentation. +-spec getFilePath(This) -> string() when + This::wxGenericDirCtrl(). getFilePath(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGenericDirCtrl), wxe_util:call(?wxGenericDirCtrl_GetFilePath, <>). -%% @spec (This::wxGenericDirCtrl()) -> string() %% @doc See external documentation. +-spec getFilter(This) -> string() when + This::wxGenericDirCtrl(). getFilter(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGenericDirCtrl), wxe_util:call(?wxGenericDirCtrl_GetFilter, <>). -%% @spec (This::wxGenericDirCtrl()) -> integer() %% @doc See external documentation. +-spec getFilterIndex(This) -> integer() when + This::wxGenericDirCtrl(). getFilterIndex(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGenericDirCtrl), wxe_util:call(?wxGenericDirCtrl_GetFilterIndex, <>). -%% @spec (This::wxGenericDirCtrl()) -> integer() %% @doc See external documentation. +-spec getRootId(This) -> integer() when + This::wxGenericDirCtrl(). getRootId(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGenericDirCtrl), wxe_util:call(?wxGenericDirCtrl_GetRootId, <>). -%% @spec (This::wxGenericDirCtrl()) -> wxTreeCtrl:wxTreeCtrl() %% @doc See external documentation. +-spec getTreeCtrl(This) -> wxTreeCtrl:wxTreeCtrl() when + This::wxGenericDirCtrl(). getTreeCtrl(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGenericDirCtrl), wxe_util:call(?wxGenericDirCtrl_GetTreeCtrl, <>). -%% @spec (This::wxGenericDirCtrl()) -> ok %% @doc See external documentation. +-spec reCreateTree(This) -> ok when + This::wxGenericDirCtrl(). reCreateTree(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGenericDirCtrl), wxe_util:cast(?wxGenericDirCtrl_ReCreateTree, <>). -%% @spec (This::wxGenericDirCtrl(), Path::string()) -> ok %% @doc See external documentation. +-spec setDefaultPath(This, Path) -> ok when + This::wxGenericDirCtrl(), Path::string(). setDefaultPath(#wx_ref{type=ThisT,ref=ThisRef},Path) when is_list(Path) -> ?CLASS(ThisT,wxGenericDirCtrl), @@ -221,8 +253,9 @@ setDefaultPath(#wx_ref{type=ThisT,ref=ThisRef},Path) wxe_util:cast(?wxGenericDirCtrl_SetDefaultPath, <>). -%% @spec (This::wxGenericDirCtrl(), Filter::string()) -> ok %% @doc See external documentation. +-spec setFilter(This, Filter) -> ok when + This::wxGenericDirCtrl(), Filter::string(). setFilter(#wx_ref{type=ThisT,ref=ThisRef},Filter) when is_list(Filter) -> ?CLASS(ThisT,wxGenericDirCtrl), @@ -230,16 +263,18 @@ setFilter(#wx_ref{type=ThisT,ref=ThisRef},Filter) wxe_util:cast(?wxGenericDirCtrl_SetFilter, <>). -%% @spec (This::wxGenericDirCtrl(), N::integer()) -> ok %% @doc See external documentation. +-spec setFilterIndex(This, N) -> ok when + This::wxGenericDirCtrl(), N::integer(). setFilterIndex(#wx_ref{type=ThisT,ref=ThisRef},N) when is_integer(N) -> ?CLASS(ThisT,wxGenericDirCtrl), wxe_util:cast(?wxGenericDirCtrl_SetFilterIndex, <>). -%% @spec (This::wxGenericDirCtrl(), Path::string()) -> ok %% @doc See external documentation. +-spec setPath(This, Path) -> ok when + This::wxGenericDirCtrl(), Path::string(). setPath(#wx_ref{type=ThisT,ref=ThisRef},Path) when is_list(Path) -> ?CLASS(ThisT,wxGenericDirCtrl), @@ -247,8 +282,8 @@ setPath(#wx_ref{type=ThisT,ref=ThisRef},Path) wxe_util:cast(?wxGenericDirCtrl_SetPath, <>). -%% @spec (This::wxGenericDirCtrl()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxGenericDirCtrl) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxGenericDirCtrl), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxGraphicsBrush.erl b/lib/wx/src/gen/wxGraphicsBrush.erl index e1ad01567d..bbc0c4b1a0 100644 --- a/lib/wx/src/gen/wxGraphicsBrush.erl +++ b/lib/wx/src/gen/wxGraphicsBrush.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,10 +32,12 @@ %% inherited exports -export([getRenderer/1,isNull/1,parent_class/1]). +-export_type([wxGraphicsBrush/0]). %% @hidden parent_class(wxGraphicsObject) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). +-type wxGraphicsBrush() :: wx:wx_object(). %% From wxGraphicsObject %% @hidden isNull(This) -> wxGraphicsObject:isNull(This). diff --git a/lib/wx/src/gen/wxGraphicsContext.erl b/lib/wx/src/gen/wxGraphicsContext.erl index 05c56dd4b2..ddbfc92157 100644 --- a/lib/wx/src/gen/wxGraphicsContext.erl +++ b/lib/wx/src/gen/wxGraphicsContext.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,18 +40,21 @@ %% inherited exports -export([getRenderer/1,isNull/1,parent_class/1]). +-export_type([wxGraphicsContext/0]). %% @hidden parent_class(wxGraphicsObject) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxGraphicsContext() +-type wxGraphicsContext() :: wx:wx_object(). %% @doc See external documentation. +-spec create() -> wxGraphicsContext(). create() -> wxe_util:call(?wxGraphicsContext_Create_0, <<>>). -%% @spec (Dc::wxWindowDC:wxWindowDC() | wxWindow:wxWindow()) -> wxGraphicsContext() %% @doc See external documentation. +-spec create(Dc) -> wxGraphicsContext() when + Dc::wxWindowDC:wxWindowDC() | wxWindow:wxWindow(). create(#wx_ref{type=DcT,ref=DcRef}) -> DcOP = case ?CLASS_T(DcT,wxWindowDC) of true -> @@ -62,47 +65,54 @@ create(#wx_ref{type=DcT,ref=DcRef}) -> wxe_util:call(DcOP, <>). -%% @spec (This::wxGraphicsContext(), Pen::wxPen:wxPen()) -> wxGraphicsPen:wxGraphicsPen() %% @doc See external documentation. +-spec createPen(This, Pen) -> wxGraphicsPen:wxGraphicsPen() when + This::wxGraphicsContext(), Pen::wxPen:wxPen(). createPen(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PenT,ref=PenRef}) -> ?CLASS(ThisT,wxGraphicsContext), ?CLASS(PenT,wxPen), wxe_util:call(?wxGraphicsContext_CreatePen, <>). -%% @spec (This::wxGraphicsContext(), Brush::wxBrush:wxBrush()) -> wxGraphicsBrush:wxGraphicsBrush() %% @doc See external documentation. +-spec createBrush(This, Brush) -> wxGraphicsBrush:wxGraphicsBrush() when + This::wxGraphicsContext(), Brush::wxBrush:wxBrush(). createBrush(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BrushT,ref=BrushRef}) -> ?CLASS(ThisT,wxGraphicsContext), ?CLASS(BrushT,wxBrush), wxe_util:call(?wxGraphicsContext_CreateBrush, <>). -%% @spec (This::wxGraphicsContext(), Xo::float(), Yo::float(), Xc::float(), Yc::float(), Radius::float(), OColor::wx:colour(), CColor::wx:colour()) -> wxGraphicsBrush:wxGraphicsBrush() %% @doc See external documentation. +-spec createRadialGradientBrush(This, Xo, Yo, Xc, Yc, Radius, OColor, CColor) -> wxGraphicsBrush:wxGraphicsBrush() when + This::wxGraphicsContext(), Xo::float(), Yo::float(), Xc::float(), Yc::float(), Radius::float(), OColor::wx:wx_colour(), CColor::wx:wx_colour(). createRadialGradientBrush(#wx_ref{type=ThisT,ref=ThisRef},Xo,Yo,Xc,Yc,Radius,OColor,CColor) when is_float(Xo),is_float(Yo),is_float(Xc),is_float(Yc),is_float(Radius),tuple_size(OColor) =:= 3; tuple_size(OColor) =:= 4,tuple_size(CColor) =:= 3; tuple_size(CColor) =:= 4 -> ?CLASS(ThisT,wxGraphicsContext), wxe_util:call(?wxGraphicsContext_CreateRadialGradientBrush, <>). -%% @spec (This::wxGraphicsContext(), X1::float(), Y1::float(), X2::float(), Y2::float(), C1::wx:colour(), C2::wx:colour()) -> wxGraphicsBrush:wxGraphicsBrush() %% @doc See external documentation. +-spec createLinearGradientBrush(This, X1, Y1, X2, Y2, C1, C2) -> wxGraphicsBrush:wxGraphicsBrush() when + This::wxGraphicsContext(), X1::float(), Y1::float(), X2::float(), Y2::float(), C1::wx:wx_colour(), C2::wx:wx_colour(). createLinearGradientBrush(#wx_ref{type=ThisT,ref=ThisRef},X1,Y1,X2,Y2,C1,C2) when is_float(X1),is_float(Y1),is_float(X2),is_float(Y2),tuple_size(C1) =:= 3; tuple_size(C1) =:= 4,tuple_size(C2) =:= 3; tuple_size(C2) =:= 4 -> ?CLASS(ThisT,wxGraphicsContext), wxe_util:call(?wxGraphicsContext_CreateLinearGradientBrush, <>). -%% @spec (This::wxGraphicsContext(), Font::wxFont:wxFont()) -> wxGraphicsFont:wxGraphicsFont() %% @equiv createFont(This,Font, []) +-spec createFont(This, Font) -> wxGraphicsFont:wxGraphicsFont() when + This::wxGraphicsContext(), Font::wxFont:wxFont(). + createFont(This,Font) when is_record(This, wx_ref),is_record(Font, wx_ref) -> createFont(This,Font, []). -%% @spec (This::wxGraphicsContext(), Font::wxFont:wxFont(), [Option]) -> wxGraphicsFont:wxGraphicsFont() -%% Option = {col, wx:colour()} %% @doc See external documentation. +-spec createFont(This, Font, [Option]) -> wxGraphicsFont:wxGraphicsFont() when + This::wxGraphicsContext(), Font::wxFont:wxFont(), + Option :: {col, wx:wx_colour()}. createFont(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FontT,ref=FontRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxGraphicsContext), @@ -113,15 +123,23 @@ createFont(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FontT,ref=FontRef}, Opti wxe_util:call(?wxGraphicsContext_CreateFont, <>). -%% @spec (This::wxGraphicsContext()) -> wxGraphicsMatrix:wxGraphicsMatrix() %% @equiv createMatrix(This, []) +-spec createMatrix(This) -> wxGraphicsMatrix:wxGraphicsMatrix() when + This::wxGraphicsContext(). + createMatrix(This) when is_record(This, wx_ref) -> createMatrix(This, []). -%% @spec (This::wxGraphicsContext(), [Option]) -> wxGraphicsMatrix:wxGraphicsMatrix() -%% Option = {a, float()} | {b, float()} | {c, float()} | {d, float()} | {tx, float()} | {ty, float()} %% @doc See external documentation. +-spec createMatrix(This, [Option]) -> wxGraphicsMatrix:wxGraphicsMatrix() when + This::wxGraphicsContext(), + Option :: {a, float()} + | {b, float()} + | {c, float()} + | {d, float()} + | {tx, float()} + | {ty, float()}. createMatrix(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxGraphicsContext), @@ -136,38 +154,43 @@ createMatrix(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxGraphicsContext_CreateMatrix, <>). -%% @spec (This::wxGraphicsContext()) -> wxGraphicsPath:wxGraphicsPath() %% @doc See external documentation. +-spec createPath(This) -> wxGraphicsPath:wxGraphicsPath() when + This::wxGraphicsContext(). createPath(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGraphicsContext), wxe_util:call(?wxGraphicsContext_CreatePath, <>). -%% @spec (This::wxGraphicsContext(), Region::wxRegion:wxRegion()) -> ok %% @doc See external documentation. +-spec clip(This, Region) -> ok when + This::wxGraphicsContext(), Region::wxRegion:wxRegion(). clip(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=RegionT,ref=RegionRef}) -> ?CLASS(ThisT,wxGraphicsContext), ?CLASS(RegionT,wxRegion), wxe_util:cast(?wxGraphicsContext_Clip_1, <>). -%% @spec (This::wxGraphicsContext(), X::float(), Y::float(), W::float(), H::float()) -> ok %% @doc See external documentation. +-spec clip(This, X, Y, W, H) -> ok when + This::wxGraphicsContext(), X::float(), Y::float(), W::float(), H::float(). clip(#wx_ref{type=ThisT,ref=ThisRef},X,Y,W,H) when is_float(X),is_float(Y),is_float(W),is_float(H) -> ?CLASS(ThisT,wxGraphicsContext), wxe_util:cast(?wxGraphicsContext_Clip_4, <>). -%% @spec (This::wxGraphicsContext()) -> ok %% @doc See external documentation. +-spec resetClip(This) -> ok when + This::wxGraphicsContext(). resetClip(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGraphicsContext), wxe_util:cast(?wxGraphicsContext_ResetClip, <>). -%% @spec (This::wxGraphicsContext(), Bmp::wxBitmap:wxBitmap(), X::float(), Y::float(), W::float(), H::float()) -> ok %% @doc See external documentation. +-spec drawBitmap(This, Bmp, X, Y, W, H) -> ok when + This::wxGraphicsContext(), Bmp::wxBitmap:wxBitmap(), X::float(), Y::float(), W::float(), H::float(). drawBitmap(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BmpT,ref=BmpRef},X,Y,W,H) when is_float(X),is_float(Y),is_float(W),is_float(H) -> ?CLASS(ThisT,wxGraphicsContext), @@ -175,16 +198,18 @@ drawBitmap(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BmpT,ref=BmpRef},X,Y,W,H wxe_util:cast(?wxGraphicsContext_DrawBitmap, <>). -%% @spec (This::wxGraphicsContext(), X::float(), Y::float(), W::float(), H::float()) -> ok %% @doc See external documentation. +-spec drawEllipse(This, X, Y, W, H) -> ok when + This::wxGraphicsContext(), X::float(), Y::float(), W::float(), H::float(). drawEllipse(#wx_ref{type=ThisT,ref=ThisRef},X,Y,W,H) when is_float(X),is_float(Y),is_float(W),is_float(H) -> ?CLASS(ThisT,wxGraphicsContext), wxe_util:cast(?wxGraphicsContext_DrawEllipse, <>). -%% @spec (This::wxGraphicsContext(), Icon::wxIcon:wxIcon(), X::float(), Y::float(), W::float(), H::float()) -> ok %% @doc See external documentation. +-spec drawIcon(This, Icon, X, Y, W, H) -> ok when + This::wxGraphicsContext(), Icon::wxIcon:wxIcon(), X::float(), Y::float(), W::float(), H::float(). drawIcon(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=IconT,ref=IconRef},X,Y,W,H) when is_float(X),is_float(Y),is_float(W),is_float(H) -> ?CLASS(ThisT,wxGraphicsContext), @@ -192,15 +217,18 @@ drawIcon(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=IconT,ref=IconRef},X,Y,W,H wxe_util:cast(?wxGraphicsContext_DrawIcon, <>). -%% @spec (This::wxGraphicsContext(), N::integer(), Points::{X::float(), Y::float()}) -> ok %% @equiv drawLines(This,N,Points, []) +-spec drawLines(This, N, Points) -> ok when + This::wxGraphicsContext(), N::integer(), Points::{X::float(), Y::float()}. + drawLines(This,N,Points={PointsX,PointsY}) when is_record(This, wx_ref),is_integer(N),is_number(PointsX),is_number(PointsY) -> drawLines(This,N,Points, []). -%% @spec (This::wxGraphicsContext(), N::integer(), Points::{X::float(), Y::float()}, [Option]) -> ok -%% Option = {fillStyle, integer()} %% @doc See external documentation. +-spec drawLines(This, N, Points, [Option]) -> ok when + This::wxGraphicsContext(), N::integer(), Points::{X::float(), Y::float()}, + Option :: {fillStyle, integer()}. drawLines(#wx_ref{type=ThisT,ref=ThisRef},N,{PointsX,PointsY}, Options) when is_integer(N),is_number(PointsX),is_number(PointsY),is_list(Options) -> ?CLASS(ThisT,wxGraphicsContext), @@ -210,15 +238,18 @@ drawLines(#wx_ref{type=ThisT,ref=ThisRef},N,{PointsX,PointsY}, Options) wxe_util:cast(?wxGraphicsContext_DrawLines, <>). -%% @spec (This::wxGraphicsContext(), Path::wxGraphicsPath:wxGraphicsPath()) -> ok %% @equiv drawPath(This,Path, []) +-spec drawPath(This, Path) -> ok when + This::wxGraphicsContext(), Path::wxGraphicsPath:wxGraphicsPath(). + drawPath(This,Path) when is_record(This, wx_ref),is_record(Path, wx_ref) -> drawPath(This,Path, []). -%% @spec (This::wxGraphicsContext(), Path::wxGraphicsPath:wxGraphicsPath(), [Option]) -> ok -%% Option = {fillStyle, integer()} %% @doc See external documentation. +-spec drawPath(This, Path, [Option]) -> ok when + This::wxGraphicsContext(), Path::wxGraphicsPath:wxGraphicsPath(), + Option :: {fillStyle, integer()}. drawPath(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PathT,ref=PathRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxGraphicsContext), @@ -229,24 +260,27 @@ drawPath(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PathT,ref=PathRef}, Option wxe_util:cast(?wxGraphicsContext_DrawPath, <>). -%% @spec (This::wxGraphicsContext(), X::float(), Y::float(), W::float(), H::float()) -> ok %% @doc See external documentation. +-spec drawRectangle(This, X, Y, W, H) -> ok when + This::wxGraphicsContext(), X::float(), Y::float(), W::float(), H::float(). drawRectangle(#wx_ref{type=ThisT,ref=ThisRef},X,Y,W,H) when is_float(X),is_float(Y),is_float(W),is_float(H) -> ?CLASS(ThisT,wxGraphicsContext), wxe_util:cast(?wxGraphicsContext_DrawRectangle, <>). -%% @spec (This::wxGraphicsContext(), X::float(), Y::float(), W::float(), H::float(), Radius::float()) -> ok %% @doc See external documentation. +-spec drawRoundedRectangle(This, X, Y, W, H, Radius) -> ok when + This::wxGraphicsContext(), X::float(), Y::float(), W::float(), H::float(), Radius::float(). drawRoundedRectangle(#wx_ref{type=ThisT,ref=ThisRef},X,Y,W,H,Radius) when is_float(X),is_float(Y),is_float(W),is_float(H),is_float(Radius) -> ?CLASS(ThisT,wxGraphicsContext), wxe_util:cast(?wxGraphicsContext_DrawRoundedRectangle, <>). -%% @spec (This::wxGraphicsContext(), Str::string(), X::float(), Y::float()) -> ok %% @doc See external documentation. +-spec drawText(This, Str, X, Y) -> ok when + This::wxGraphicsContext(), Str::string(), X::float(), Y::float(). drawText(#wx_ref{type=ThisT,ref=ThisRef},Str,X,Y) when is_list(Str),is_float(X),is_float(Y) -> ?CLASS(ThisT,wxGraphicsContext), @@ -254,15 +288,11 @@ drawText(#wx_ref{type=ThisT,ref=ThisRef},Str,X,Y) wxe_util:cast(?wxGraphicsContext_DrawText_3, <>). -%% @spec (This::wxGraphicsContext(),Str::string(),X::float(),Y::float(),X::float()|term()) -> ok %% @doc See external documentation. -%%
Alternatives: -%%

-%% drawText(This::wxGraphicsContext(), Str::string(), X::float(), Y::float(), Angle::float()) -> ok -%%

-%%

-%% drawText(This::wxGraphicsContext(), Str::string(), X::float(), Y::float(), BackgroundBrush::wxGraphicsBrush:wxGraphicsBrush()) -> ok -%%

+-spec drawText(This, Str, X, Y, Angle) -> ok when + This::wxGraphicsContext(), Str::string(), X::float(), Y::float(), Angle::float(); + (This, Str, X, Y, BackgroundBrush) -> ok when + This::wxGraphicsContext(), Str::string(), X::float(), Y::float(), BackgroundBrush::wxGraphicsBrush:wxGraphicsBrush(). drawText(#wx_ref{type=ThisT,ref=ThisRef},Str,X,Y,Angle) when is_list(Str),is_float(X),is_float(Y),is_float(Angle) -> ?CLASS(ThisT,wxGraphicsContext), @@ -277,8 +307,9 @@ drawText(#wx_ref{type=ThisT,ref=ThisRef},Str,X,Y,#wx_ref{type=BackgroundBrushT,r wxe_util:cast(?wxGraphicsContext_DrawText_4_1, <>). -%% @spec (This::wxGraphicsContext(), Str::string(), X::float(), Y::float(), Angle::float(), BackgroundBrush::wxGraphicsBrush:wxGraphicsBrush()) -> ok %% @doc See external documentation. +-spec drawText(This, Str, X, Y, Angle, BackgroundBrush) -> ok when + This::wxGraphicsContext(), Str::string(), X::float(), Y::float(), Angle::float(), BackgroundBrush::wxGraphicsBrush:wxGraphicsBrush(). drawText(#wx_ref{type=ThisT,ref=ThisRef},Str,X,Y,Angle,#wx_ref{type=BackgroundBrushT,ref=BackgroundBrushRef}) when is_list(Str),is_float(X),is_float(Y),is_float(Angle) -> ?CLASS(ThisT,wxGraphicsContext), @@ -287,15 +318,18 @@ drawText(#wx_ref{type=ThisT,ref=ThisRef},Str,X,Y,Angle,#wx_ref{type=BackgroundBr wxe_util:cast(?wxGraphicsContext_DrawText_5, <>). -%% @spec (This::wxGraphicsContext(), Path::wxGraphicsPath:wxGraphicsPath()) -> ok %% @equiv fillPath(This,Path, []) +-spec fillPath(This, Path) -> ok when + This::wxGraphicsContext(), Path::wxGraphicsPath:wxGraphicsPath(). + fillPath(This,Path) when is_record(This, wx_ref),is_record(Path, wx_ref) -> fillPath(This,Path, []). -%% @spec (This::wxGraphicsContext(), Path::wxGraphicsPath:wxGraphicsPath(), [Option]) -> ok -%% Option = {fillStyle, integer()} %% @doc See external documentation. +-spec fillPath(This, Path, [Option]) -> ok when + This::wxGraphicsContext(), Path::wxGraphicsPath:wxGraphicsPath(), + Option :: {fillStyle, integer()}. fillPath(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PathT,ref=PathRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxGraphicsContext), @@ -306,23 +340,26 @@ fillPath(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PathT,ref=PathRef}, Option wxe_util:cast(?wxGraphicsContext_FillPath, <>). -%% @spec (This::wxGraphicsContext(), Path::wxGraphicsPath:wxGraphicsPath()) -> ok %% @doc See external documentation. +-spec strokePath(This, Path) -> ok when + This::wxGraphicsContext(), Path::wxGraphicsPath:wxGraphicsPath(). strokePath(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PathT,ref=PathRef}) -> ?CLASS(ThisT,wxGraphicsContext), ?CLASS(PathT,wxGraphicsPath), wxe_util:cast(?wxGraphicsContext_StrokePath, <>). -%% @spec (This::wxGraphicsContext()) -> ok %% @doc See external documentation. +-spec getNativeContext(This) -> ok when + This::wxGraphicsContext(). getNativeContext(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGraphicsContext), wxe_util:cast(?wxGraphicsContext_GetNativeContext, <>). -%% @spec (This::wxGraphicsContext(), Text::string(), Widths::[float()]) -> ok %% @doc See external documentation. +-spec getPartialTextExtents(This, Text, Widths) -> ok when + This::wxGraphicsContext(), Text::string(), Widths::[float()]. getPartialTextExtents(#wx_ref{type=ThisT,ref=ThisRef},Text,Widths) when is_list(Text),is_list(Widths) -> ?CLASS(ThisT,wxGraphicsContext), @@ -331,8 +368,10 @@ getPartialTextExtents(#wx_ref{type=ThisT,ref=ThisRef},Text,Widths) <> || C <- Widths>>)/binary>>). -%% @spec (This::wxGraphicsContext(), Text::string()) -> {Width::float(), Height::float(), Descent::float(), ExternalLeading::float()} %% @doc See external documentation. +-spec getTextExtent(This, Text) -> Result when + Result ::{Width::float(), Height::float(), Descent::float(), ExternalLeading::float()}, + This::wxGraphicsContext(), Text::string(). getTextExtent(#wx_ref{type=ThisT,ref=ThisRef},Text) when is_list(Text) -> ?CLASS(ThisT,wxGraphicsContext), @@ -340,55 +379,62 @@ getTextExtent(#wx_ref{type=ThisT,ref=ThisRef},Text) wxe_util:call(?wxGraphicsContext_GetTextExtent, <>). -%% @spec (This::wxGraphicsContext(), Angle::float()) -> ok %% @doc See external documentation. +-spec rotate(This, Angle) -> ok when + This::wxGraphicsContext(), Angle::float(). rotate(#wx_ref{type=ThisT,ref=ThisRef},Angle) when is_float(Angle) -> ?CLASS(ThisT,wxGraphicsContext), wxe_util:cast(?wxGraphicsContext_Rotate, <>). -%% @spec (This::wxGraphicsContext(), XScale::float(), YScale::float()) -> ok %% @doc See external documentation. +-spec scale(This, XScale, YScale) -> ok when + This::wxGraphicsContext(), XScale::float(), YScale::float(). scale(#wx_ref{type=ThisT,ref=ThisRef},XScale,YScale) when is_float(XScale),is_float(YScale) -> ?CLASS(ThisT,wxGraphicsContext), wxe_util:cast(?wxGraphicsContext_Scale, <>). -%% @spec (This::wxGraphicsContext(), Dx::float(), Dy::float()) -> ok %% @doc See external documentation. +-spec translate(This, Dx, Dy) -> ok when + This::wxGraphicsContext(), Dx::float(), Dy::float(). translate(#wx_ref{type=ThisT,ref=ThisRef},Dx,Dy) when is_float(Dx),is_float(Dy) -> ?CLASS(ThisT,wxGraphicsContext), wxe_util:cast(?wxGraphicsContext_Translate, <>). -%% @spec (This::wxGraphicsContext()) -> wxGraphicsMatrix:wxGraphicsMatrix() %% @doc See external documentation. +-spec getTransform(This) -> wxGraphicsMatrix:wxGraphicsMatrix() when + This::wxGraphicsContext(). getTransform(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGraphicsContext), wxe_util:call(?wxGraphicsContext_GetTransform, <>). -%% @spec (This::wxGraphicsContext(), Matrix::wxGraphicsMatrix:wxGraphicsMatrix()) -> ok %% @doc See external documentation. +-spec setTransform(This, Matrix) -> ok when + This::wxGraphicsContext(), Matrix::wxGraphicsMatrix:wxGraphicsMatrix(). setTransform(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=MatrixT,ref=MatrixRef}) -> ?CLASS(ThisT,wxGraphicsContext), ?CLASS(MatrixT,wxGraphicsMatrix), wxe_util:cast(?wxGraphicsContext_SetTransform, <>). -%% @spec (This::wxGraphicsContext(), Matrix::wxGraphicsMatrix:wxGraphicsMatrix()) -> ok %% @doc See external documentation. +-spec concatTransform(This, Matrix) -> ok when + This::wxGraphicsContext(), Matrix::wxGraphicsMatrix:wxGraphicsMatrix(). concatTransform(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=MatrixT,ref=MatrixRef}) -> ?CLASS(ThisT,wxGraphicsContext), ?CLASS(MatrixT,wxGraphicsMatrix), wxe_util:cast(?wxGraphicsContext_ConcatTransform, <>). -%% @spec (This::wxGraphicsContext(), Brush::wxGraphicsBrush:wxGraphicsBrush() | wxBrush:wxBrush()) -> ok %% @doc See external documentation. +-spec setBrush(This, Brush) -> ok when + This::wxGraphicsContext(), Brush::wxGraphicsBrush:wxGraphicsBrush() | wxBrush:wxBrush(). setBrush(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BrushT,ref=BrushRef}) -> ?CLASS(ThisT,wxGraphicsContext), BrushOP = case ?CLASS_T(BrushT,wxGraphicsBrush) of @@ -400,16 +446,18 @@ setBrush(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BrushT,ref=BrushRef}) -> wxe_util:cast(BrushOP, <>). -%% @spec (This::wxGraphicsContext(), Font::wxGraphicsFont:wxGraphicsFont()) -> ok %% @doc See external documentation. +-spec setFont(This, Font) -> ok when + This::wxGraphicsContext(), Font::wxGraphicsFont:wxGraphicsFont(). setFont(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FontT,ref=FontRef}) -> ?CLASS(ThisT,wxGraphicsContext), ?CLASS(FontT,wxGraphicsFont), wxe_util:cast(?wxGraphicsContext_SetFont_1, <>). -%% @spec (This::wxGraphicsContext(), Font::wxFont:wxFont(), Colour::wx:colour()) -> ok %% @doc See external documentation. +-spec setFont(This, Font, Colour) -> ok when + This::wxGraphicsContext(), Font::wxFont:wxFont(), Colour::wx:wx_colour(). setFont(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FontT,ref=FontRef},Colour) when tuple_size(Colour) =:= 3; tuple_size(Colour) =:= 4 -> ?CLASS(ThisT,wxGraphicsContext), @@ -417,8 +465,9 @@ setFont(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FontT,ref=FontRef},Colour) wxe_util:cast(?wxGraphicsContext_SetFont_2, <>). -%% @spec (This::wxGraphicsContext(), Pen::wxPen:wxPen() | wxGraphicsPen:wxGraphicsPen()) -> ok %% @doc See external documentation. +-spec setPen(This, Pen) -> ok when + This::wxGraphicsContext(), Pen::wxPen:wxPen() | wxGraphicsPen:wxGraphicsPen(). setPen(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PenT,ref=PenRef}) -> ?CLASS(ThisT,wxGraphicsContext), PenOP = case ?CLASS_T(PenT,wxPen) of @@ -430,24 +479,27 @@ setPen(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PenT,ref=PenRef}) -> wxe_util:cast(PenOP, <>). -%% @spec (This::wxGraphicsContext(), X1::float(), Y1::float(), X2::float(), Y2::float()) -> ok %% @doc See external documentation. +-spec strokeLine(This, X1, Y1, X2, Y2) -> ok when + This::wxGraphicsContext(), X1::float(), Y1::float(), X2::float(), Y2::float(). strokeLine(#wx_ref{type=ThisT,ref=ThisRef},X1,Y1,X2,Y2) when is_float(X1),is_float(Y1),is_float(X2),is_float(Y2) -> ?CLASS(ThisT,wxGraphicsContext), wxe_util:cast(?wxGraphicsContext_StrokeLine, <>). -%% @spec (This::wxGraphicsContext(), N::integer(), Points::{X::float(), Y::float()}) -> ok %% @doc See external documentation. +-spec strokeLines(This, N, Points) -> ok when + This::wxGraphicsContext(), N::integer(), Points::{X::float(), Y::float()}. strokeLines(#wx_ref{type=ThisT,ref=ThisRef},N,{PointsX,PointsY}) when is_integer(N),is_number(PointsX),is_number(PointsY) -> ?CLASS(ThisT,wxGraphicsContext), wxe_util:cast(?wxGraphicsContext_StrokeLines_2, <>). -%% @spec (This::wxGraphicsContext(), N::integer(), BeginPoints::{X::float(), Y::float()}, EndPoints::{X::float(), Y::float()}) -> ok %% @doc See external documentation. +-spec strokeLines(This, N, BeginPoints, EndPoints) -> ok when + This::wxGraphicsContext(), N::integer(), BeginPoints::{X::float(), Y::float()}, EndPoints::{X::float(), Y::float()}. strokeLines(#wx_ref{type=ThisT,ref=ThisRef},N,{BeginPointsX,BeginPointsY},{EndPointsX,EndPointsY}) when is_integer(N),is_number(BeginPointsX),is_number(BeginPointsY),is_number(EndPointsX),is_number(EndPointsY) -> ?CLASS(ThisT,wxGraphicsContext), diff --git a/lib/wx/src/gen/wxGraphicsFont.erl b/lib/wx/src/gen/wxGraphicsFont.erl index 19b2172176..03220599fb 100644 --- a/lib/wx/src/gen/wxGraphicsFont.erl +++ b/lib/wx/src/gen/wxGraphicsFont.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,10 +32,12 @@ %% inherited exports -export([getRenderer/1,isNull/1,parent_class/1]). +-export_type([wxGraphicsFont/0]). %% @hidden parent_class(wxGraphicsObject) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). +-type wxGraphicsFont() :: wx:wx_object(). %% From wxGraphicsObject %% @hidden isNull(This) -> wxGraphicsObject:isNull(This). diff --git a/lib/wx/src/gen/wxGraphicsMatrix.erl b/lib/wx/src/gen/wxGraphicsMatrix.erl index 635a2027b3..6cf4257530 100644 --- a/lib/wx/src/gen/wxGraphicsMatrix.erl +++ b/lib/wx/src/gen/wxGraphicsMatrix.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -33,87 +33,107 @@ %% inherited exports -export([getRenderer/1,isNull/1,parent_class/1]). +-export_type([wxGraphicsMatrix/0]). %% @hidden parent_class(wxGraphicsObject) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxGraphicsMatrix(), T::wxGraphicsMatrix()) -> ok +-type wxGraphicsMatrix() :: wx:wx_object(). %% @doc See external documentation. +-spec concat(This, T) -> ok when + This::wxGraphicsMatrix(), T::wxGraphicsMatrix(). concat(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=TT,ref=TRef}) -> ?CLASS(ThisT,wxGraphicsMatrix), ?CLASS(TT,wxGraphicsMatrix), wxe_util:cast(?wxGraphicsMatrix_Concat, <>). -%% @spec (This::wxGraphicsMatrix()) -> {A::float(), B::float(), C::float(), D::float(), Tx::float(), Ty::float()} %% @doc See external documentation. +-spec get(This) -> Result when + Result ::{A::float(), B::float(), C::float(), D::float(), Tx::float(), Ty::float()}, + This::wxGraphicsMatrix(). get(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGraphicsMatrix), wxe_util:call(?wxGraphicsMatrix_Get, <>). -%% @spec (This::wxGraphicsMatrix()) -> ok %% @doc See external documentation. +-spec getNativeMatrix(This) -> ok when + This::wxGraphicsMatrix(). getNativeMatrix(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGraphicsMatrix), wxe_util:cast(?wxGraphicsMatrix_GetNativeMatrix, <>). -%% @spec (This::wxGraphicsMatrix()) -> ok %% @doc See external documentation. +-spec invert(This) -> ok when + This::wxGraphicsMatrix(). invert(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGraphicsMatrix), wxe_util:cast(?wxGraphicsMatrix_Invert, <>). -%% @spec (This::wxGraphicsMatrix(), T::wxGraphicsMatrix()) -> bool() %% @doc See external documentation. +-spec isEqual(This, T) -> boolean() when + This::wxGraphicsMatrix(), T::wxGraphicsMatrix(). isEqual(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=TT,ref=TRef}) -> ?CLASS(ThisT,wxGraphicsMatrix), ?CLASS(TT,wxGraphicsMatrix), wxe_util:call(?wxGraphicsMatrix_IsEqual, <>). -%% @spec (This::wxGraphicsMatrix()) -> bool() %% @doc See external documentation. +-spec isIdentity(This) -> boolean() when + This::wxGraphicsMatrix(). isIdentity(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGraphicsMatrix), wxe_util:call(?wxGraphicsMatrix_IsIdentity, <>). -%% @spec (This::wxGraphicsMatrix(), Angle::float()) -> ok %% @doc See external documentation. +-spec rotate(This, Angle) -> ok when + This::wxGraphicsMatrix(), Angle::float(). rotate(#wx_ref{type=ThisT,ref=ThisRef},Angle) when is_float(Angle) -> ?CLASS(ThisT,wxGraphicsMatrix), wxe_util:cast(?wxGraphicsMatrix_Rotate, <>). -%% @spec (This::wxGraphicsMatrix(), XScale::float(), YScale::float()) -> ok %% @doc See external documentation. +-spec scale(This, XScale, YScale) -> ok when + This::wxGraphicsMatrix(), XScale::float(), YScale::float(). scale(#wx_ref{type=ThisT,ref=ThisRef},XScale,YScale) when is_float(XScale),is_float(YScale) -> ?CLASS(ThisT,wxGraphicsMatrix), wxe_util:cast(?wxGraphicsMatrix_Scale, <>). -%% @spec (This::wxGraphicsMatrix(), Dx::float(), Dy::float()) -> ok %% @doc See external documentation. +-spec translate(This, Dx, Dy) -> ok when + This::wxGraphicsMatrix(), Dx::float(), Dy::float(). translate(#wx_ref{type=ThisT,ref=ThisRef},Dx,Dy) when is_float(Dx),is_float(Dy) -> ?CLASS(ThisT,wxGraphicsMatrix), wxe_util:cast(?wxGraphicsMatrix_Translate, <>). -%% @spec (This::wxGraphicsMatrix()) -> ok %% @equiv set(This, []) +-spec set(This) -> ok when + This::wxGraphicsMatrix(). + set(This) when is_record(This, wx_ref) -> set(This, []). -%% @spec (This::wxGraphicsMatrix(), [Option]) -> ok -%% Option = {a, float()} | {b, float()} | {c, float()} | {d, float()} | {tx, float()} | {ty, float()} %% @doc See external documentation. +-spec set(This, [Option]) -> ok when + This::wxGraphicsMatrix(), + Option :: {a, float()} + | {b, float()} + | {c, float()} + | {d, float()} + | {tx, float()} + | {ty, float()}. set(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxGraphicsMatrix), @@ -128,15 +148,17 @@ set(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:cast(?wxGraphicsMatrix_Set, <>). -%% @spec (This::wxGraphicsMatrix()) -> {X::float(), Y::float()} %% @doc See external documentation. +-spec transformPoint(This) -> {X::float(), Y::float()} when + This::wxGraphicsMatrix(). transformPoint(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGraphicsMatrix), wxe_util:call(?wxGraphicsMatrix_TransformPoint, <>). -%% @spec (This::wxGraphicsMatrix()) -> {Dx::float(), Dy::float()} %% @doc See external documentation. +-spec transformDistance(This) -> {Dx::float(), Dy::float()} when + This::wxGraphicsMatrix(). transformDistance(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGraphicsMatrix), wxe_util:call(?wxGraphicsMatrix_TransformDistance, diff --git a/lib/wx/src/gen/wxGraphicsObject.erl b/lib/wx/src/gen/wxGraphicsObject.erl index 7e63285b7a..e2e082ff91 100644 --- a/lib/wx/src/gen/wxGraphicsObject.erl +++ b/lib/wx/src/gen/wxGraphicsObject.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,18 +29,22 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxGraphicsObject/0]). %% @hidden parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxGraphicsObject()) -> wxGraphicsRenderer:wxGraphicsRenderer() +-type wxGraphicsObject() :: wx:wx_object(). %% @doc See external documentation. +-spec getRenderer(This) -> wxGraphicsRenderer:wxGraphicsRenderer() when + This::wxGraphicsObject(). getRenderer(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGraphicsObject), wxe_util:call(?wxGraphicsObject_GetRenderer, <>). -%% @spec (This::wxGraphicsObject()) -> bool() %% @doc See external documentation. +-spec isNull(This) -> boolean() when + This::wxGraphicsObject(). isNull(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGraphicsObject), wxe_util:call(?wxGraphicsObject_IsNull, diff --git a/lib/wx/src/gen/wxGraphicsPath.erl b/lib/wx/src/gen/wxGraphicsPath.erl index e41496c641..6e9af755b9 100644 --- a/lib/wx/src/gen/wxGraphicsPath.erl +++ b/lib/wx/src/gen/wxGraphicsPath.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -36,152 +36,169 @@ %% inherited exports -export([getRenderer/1,isNull/1,parent_class/1]). +-export_type([wxGraphicsPath/0]). %% @hidden parent_class(wxGraphicsObject) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxGraphicsPath(), P::{X::float(), Y::float()}) -> ok +-type wxGraphicsPath() :: wx:wx_object(). %% @doc See external documentation. +-spec moveToPoint(This, P) -> ok when + This::wxGraphicsPath(), P::{X::float(), Y::float()}. moveToPoint(#wx_ref{type=ThisT,ref=ThisRef},{PX,PY}) when is_number(PX),is_number(PY) -> ?CLASS(ThisT,wxGraphicsPath), wxe_util:cast(?wxGraphicsPath_MoveToPoint_1, <>). -%% @spec (This::wxGraphicsPath(), X::float(), Y::float()) -> ok %% @doc See external documentation. +-spec moveToPoint(This, X, Y) -> ok when + This::wxGraphicsPath(), X::float(), Y::float(). moveToPoint(#wx_ref{type=ThisT,ref=ThisRef},X,Y) when is_float(X),is_float(Y) -> ?CLASS(ThisT,wxGraphicsPath), wxe_util:cast(?wxGraphicsPath_MoveToPoint_2, <>). -%% @spec (This::wxGraphicsPath(), C::{X::float(), Y::float()}, R::float(), StartAngle::float(), EndAngle::float(), Clockwise::bool()) -> ok %% @doc See external documentation. +-spec addArc(This, C, R, StartAngle, EndAngle, Clockwise) -> ok when + This::wxGraphicsPath(), C::{X::float(), Y::float()}, R::float(), StartAngle::float(), EndAngle::float(), Clockwise::boolean(). addArc(#wx_ref{type=ThisT,ref=ThisRef},{CX,CY},R,StartAngle,EndAngle,Clockwise) when is_number(CX),is_number(CY),is_float(R),is_float(StartAngle),is_float(EndAngle),is_boolean(Clockwise) -> ?CLASS(ThisT,wxGraphicsPath), wxe_util:cast(?wxGraphicsPath_AddArc_5, <>). -%% @spec (This::wxGraphicsPath(), X::float(), Y::float(), R::float(), StartAngle::float(), EndAngle::float(), Clockwise::bool()) -> ok %% @doc See external documentation. +-spec addArc(This, X, Y, R, StartAngle, EndAngle, Clockwise) -> ok when + This::wxGraphicsPath(), X::float(), Y::float(), R::float(), StartAngle::float(), EndAngle::float(), Clockwise::boolean(). addArc(#wx_ref{type=ThisT,ref=ThisRef},X,Y,R,StartAngle,EndAngle,Clockwise) when is_float(X),is_float(Y),is_float(R),is_float(StartAngle),is_float(EndAngle),is_boolean(Clockwise) -> ?CLASS(ThisT,wxGraphicsPath), wxe_util:cast(?wxGraphicsPath_AddArc_6, <>). -%% @spec (This::wxGraphicsPath(), X1::float(), Y1::float(), X2::float(), Y2::float(), R::float()) -> ok %% @doc See external documentation. +-spec addArcToPoint(This, X1, Y1, X2, Y2, R) -> ok when + This::wxGraphicsPath(), X1::float(), Y1::float(), X2::float(), Y2::float(), R::float(). addArcToPoint(#wx_ref{type=ThisT,ref=ThisRef},X1,Y1,X2,Y2,R) when is_float(X1),is_float(Y1),is_float(X2),is_float(Y2),is_float(R) -> ?CLASS(ThisT,wxGraphicsPath), wxe_util:cast(?wxGraphicsPath_AddArcToPoint, <>). -%% @spec (This::wxGraphicsPath(), X::float(), Y::float(), R::float()) -> ok %% @doc See external documentation. +-spec addCircle(This, X, Y, R) -> ok when + This::wxGraphicsPath(), X::float(), Y::float(), R::float(). addCircle(#wx_ref{type=ThisT,ref=ThisRef},X,Y,R) when is_float(X),is_float(Y),is_float(R) -> ?CLASS(ThisT,wxGraphicsPath), wxe_util:cast(?wxGraphicsPath_AddCircle, <>). -%% @spec (This::wxGraphicsPath(), C1::{X::float(), Y::float()}, C2::{X::float(), Y::float()}, E::{X::float(), Y::float()}) -> ok %% @doc See external documentation. +-spec addCurveToPoint(This, C1, C2, E) -> ok when + This::wxGraphicsPath(), C1::{X::float(), Y::float()}, C2::{X::float(), Y::float()}, E::{X::float(), Y::float()}. addCurveToPoint(#wx_ref{type=ThisT,ref=ThisRef},{C1X,C1Y},{C2X,C2Y},{EX,EY}) when is_number(C1X),is_number(C1Y),is_number(C2X),is_number(C2Y),is_number(EX),is_number(EY) -> ?CLASS(ThisT,wxGraphicsPath), wxe_util:cast(?wxGraphicsPath_AddCurveToPoint_3, <>). -%% @spec (This::wxGraphicsPath(), Cx1::float(), Cy1::float(), Cx2::float(), Cy2::float(), X::float(), Y::float()) -> ok %% @doc See external documentation. +-spec addCurveToPoint(This, Cx1, Cy1, Cx2, Cy2, X, Y) -> ok when + This::wxGraphicsPath(), Cx1::float(), Cy1::float(), Cx2::float(), Cy2::float(), X::float(), Y::float(). addCurveToPoint(#wx_ref{type=ThisT,ref=ThisRef},Cx1,Cy1,Cx2,Cy2,X,Y) when is_float(Cx1),is_float(Cy1),is_float(Cx2),is_float(Cy2),is_float(X),is_float(Y) -> ?CLASS(ThisT,wxGraphicsPath), wxe_util:cast(?wxGraphicsPath_AddCurveToPoint_6, <>). -%% @spec (This::wxGraphicsPath(), X::float(), Y::float(), W::float(), H::float()) -> ok %% @doc See external documentation. +-spec addEllipse(This, X, Y, W, H) -> ok when + This::wxGraphicsPath(), X::float(), Y::float(), W::float(), H::float(). addEllipse(#wx_ref{type=ThisT,ref=ThisRef},X,Y,W,H) when is_float(X),is_float(Y),is_float(W),is_float(H) -> ?CLASS(ThisT,wxGraphicsPath), wxe_util:cast(?wxGraphicsPath_AddEllipse, <>). -%% @spec (This::wxGraphicsPath(), P::{X::float(), Y::float()}) -> ok %% @doc See external documentation. +-spec addLineToPoint(This, P) -> ok when + This::wxGraphicsPath(), P::{X::float(), Y::float()}. addLineToPoint(#wx_ref{type=ThisT,ref=ThisRef},{PX,PY}) when is_number(PX),is_number(PY) -> ?CLASS(ThisT,wxGraphicsPath), wxe_util:cast(?wxGraphicsPath_AddLineToPoint_1, <>). -%% @spec (This::wxGraphicsPath(), X::float(), Y::float()) -> ok %% @doc See external documentation. +-spec addLineToPoint(This, X, Y) -> ok when + This::wxGraphicsPath(), X::float(), Y::float(). addLineToPoint(#wx_ref{type=ThisT,ref=ThisRef},X,Y) when is_float(X),is_float(Y) -> ?CLASS(ThisT,wxGraphicsPath), wxe_util:cast(?wxGraphicsPath_AddLineToPoint_2, <>). -%% @spec (This::wxGraphicsPath(), Path::wxGraphicsPath()) -> ok %% @doc See external documentation. +-spec addPath(This, Path) -> ok when + This::wxGraphicsPath(), Path::wxGraphicsPath(). addPath(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PathT,ref=PathRef}) -> ?CLASS(ThisT,wxGraphicsPath), ?CLASS(PathT,wxGraphicsPath), wxe_util:cast(?wxGraphicsPath_AddPath, <>). -%% @spec (This::wxGraphicsPath(), Cx::float(), Cy::float(), X::float(), Y::float()) -> ok %% @doc See external documentation. +-spec addQuadCurveToPoint(This, Cx, Cy, X, Y) -> ok when + This::wxGraphicsPath(), Cx::float(), Cy::float(), X::float(), Y::float(). addQuadCurveToPoint(#wx_ref{type=ThisT,ref=ThisRef},Cx,Cy,X,Y) when is_float(Cx),is_float(Cy),is_float(X),is_float(Y) -> ?CLASS(ThisT,wxGraphicsPath), wxe_util:cast(?wxGraphicsPath_AddQuadCurveToPoint, <>). -%% @spec (This::wxGraphicsPath(), X::float(), Y::float(), W::float(), H::float()) -> ok %% @doc See external documentation. +-spec addRectangle(This, X, Y, W, H) -> ok when + This::wxGraphicsPath(), X::float(), Y::float(), W::float(), H::float(). addRectangle(#wx_ref{type=ThisT,ref=ThisRef},X,Y,W,H) when is_float(X),is_float(Y),is_float(W),is_float(H) -> ?CLASS(ThisT,wxGraphicsPath), wxe_util:cast(?wxGraphicsPath_AddRectangle, <>). -%% @spec (This::wxGraphicsPath(), X::float(), Y::float(), W::float(), H::float(), Radius::float()) -> ok %% @doc See external documentation. +-spec addRoundedRectangle(This, X, Y, W, H, Radius) -> ok when + This::wxGraphicsPath(), X::float(), Y::float(), W::float(), H::float(), Radius::float(). addRoundedRectangle(#wx_ref{type=ThisT,ref=ThisRef},X,Y,W,H,Radius) when is_float(X),is_float(Y),is_float(W),is_float(H),is_float(Radius) -> ?CLASS(ThisT,wxGraphicsPath), wxe_util:cast(?wxGraphicsPath_AddRoundedRectangle, <>). -%% @spec (This::wxGraphicsPath()) -> ok %% @doc See external documentation. +-spec closeSubpath(This) -> ok when + This::wxGraphicsPath(). closeSubpath(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGraphicsPath), wxe_util:cast(?wxGraphicsPath_CloseSubpath, <>). -%% @spec (This::wxGraphicsPath(), C::{X::float(), Y::float()}) -> bool() %% @equiv contains(This,C, []) +-spec contains(This, C) -> boolean() when + This::wxGraphicsPath(), C::{X::float(), Y::float()}. + contains(This,C={CX,CY}) when is_record(This, wx_ref),is_number(CX),is_number(CY) -> contains(This,C, []). -%% @spec (This::wxGraphicsPath(),X::float()|term(),X::float()|term()) -> bool() %% @doc See external documentation. -%%
Alternatives: -%%

-%% contains(This::wxGraphicsPath(), X::float(), Y::float()) -> contains(This,X,Y, [])

-%%

-%% contains(This::wxGraphicsPath(), C::{X::float(), Y::float()}, [Option]) -> bool() -%%
Option = {fillStyle, integer()} -%%

+-spec contains(This, X, Y) -> boolean() when + This::wxGraphicsPath(), X::float(), Y::float(); + (This, C, [Option]) -> boolean() when + This::wxGraphicsPath(), C::{X::float(), Y::float()}, + Option :: {fillStyle, integer()}. contains(This,X,Y) when is_record(This, wx_ref),is_float(X),is_float(Y) -> @@ -195,9 +212,10 @@ contains(#wx_ref{type=ThisT,ref=ThisRef},{CX,CY}, Options) wxe_util:call(?wxGraphicsPath_Contains_2, <>). -%% @spec (This::wxGraphicsPath(), X::float(), Y::float(), [Option]) -> bool() -%% Option = {fillStyle, integer()} %% @doc See external documentation. +-spec contains(This, X, Y, [Option]) -> boolean() when + This::wxGraphicsPath(), X::float(), Y::float(), + Option :: {fillStyle, integer()}. contains(#wx_ref{type=ThisT,ref=ThisRef},X,Y, Options) when is_float(X),is_float(Y),is_list(Options) -> ?CLASS(ThisT,wxGraphicsPath), @@ -207,22 +225,25 @@ contains(#wx_ref{type=ThisT,ref=ThisRef},X,Y, Options) wxe_util:call(?wxGraphicsPath_Contains_3, <>). -%% @spec (This::wxGraphicsPath()) -> {X::float(), Y::float(), W::float(), H::float()} %% @doc See external documentation. +-spec getBox(This) -> {X::float(), Y::float(), W::float(), H::float()} when + This::wxGraphicsPath(). getBox(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGraphicsPath), wxe_util:call(?wxGraphicsPath_GetBox, <>). -%% @spec (This::wxGraphicsPath()) -> {X::float(), Y::float()} %% @doc See external documentation. +-spec getCurrentPoint(This) -> {X::float(), Y::float()} when + This::wxGraphicsPath(). getCurrentPoint(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGraphicsPath), wxe_util:call(?wxGraphicsPath_GetCurrentPoint, <>). -%% @spec (This::wxGraphicsPath(), Matrix::wxGraphicsMatrix:wxGraphicsMatrix()) -> ok %% @doc See external documentation. +-spec transform(This, Matrix) -> ok when + This::wxGraphicsPath(), Matrix::wxGraphicsMatrix:wxGraphicsMatrix(). transform(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=MatrixT,ref=MatrixRef}) -> ?CLASS(ThisT,wxGraphicsPath), ?CLASS(MatrixT,wxGraphicsMatrix), diff --git a/lib/wx/src/gen/wxGraphicsPen.erl b/lib/wx/src/gen/wxGraphicsPen.erl index 395b05f8af..76a59e6e2c 100644 --- a/lib/wx/src/gen/wxGraphicsPen.erl +++ b/lib/wx/src/gen/wxGraphicsPen.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,10 +32,12 @@ %% inherited exports -export([getRenderer/1,isNull/1,parent_class/1]). +-export_type([wxGraphicsPen/0]). %% @hidden parent_class(wxGraphicsObject) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). +-type wxGraphicsPen() :: wx:wx_object(). %% From wxGraphicsObject %% @hidden isNull(This) -> wxGraphicsObject:isNull(This). diff --git a/lib/wx/src/gen/wxGraphicsRenderer.erl b/lib/wx/src/gen/wxGraphicsRenderer.erl index ed53ebf468..b4b3e506e7 100644 --- a/lib/wx/src/gen/wxGraphicsRenderer.erl +++ b/lib/wx/src/gen/wxGraphicsRenderer.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -31,17 +31,20 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxGraphicsRenderer/0]). %% @hidden parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxGraphicsRenderer() +-type wxGraphicsRenderer() :: wx:wx_object(). %% @doc See external documentation. +-spec getDefaultRenderer() -> wxGraphicsRenderer(). getDefaultRenderer() -> wxe_util:call(?wxGraphicsRenderer_GetDefaultRenderer, <<>>). -%% @spec (This::wxGraphicsRenderer(), Dc::wxWindowDC:wxWindowDC() | wxWindow:wxWindow()) -> wxGraphicsContext:wxGraphicsContext() %% @doc See external documentation. +-spec createContext(This, Dc) -> wxGraphicsContext:wxGraphicsContext() when + This::wxGraphicsRenderer(), Dc::wxWindowDC:wxWindowDC() | wxWindow:wxWindow(). createContext(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=DcT,ref=DcRef}) -> ?CLASS(ThisT,wxGraphicsRenderer), DcOP = case ?CLASS_T(DcT,wxWindowDC) of @@ -53,47 +56,54 @@ createContext(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=DcT,ref=DcRef}) -> wxe_util:call(DcOP, <>). -%% @spec (This::wxGraphicsRenderer(), Pen::wxPen:wxPen()) -> wxGraphicsPen:wxGraphicsPen() %% @doc See external documentation. +-spec createPen(This, Pen) -> wxGraphicsPen:wxGraphicsPen() when + This::wxGraphicsRenderer(), Pen::wxPen:wxPen(). createPen(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PenT,ref=PenRef}) -> ?CLASS(ThisT,wxGraphicsRenderer), ?CLASS(PenT,wxPen), wxe_util:call(?wxGraphicsRenderer_CreatePen, <>). -%% @spec (This::wxGraphicsRenderer(), Brush::wxBrush:wxBrush()) -> wxGraphicsBrush:wxGraphicsBrush() %% @doc See external documentation. +-spec createBrush(This, Brush) -> wxGraphicsBrush:wxGraphicsBrush() when + This::wxGraphicsRenderer(), Brush::wxBrush:wxBrush(). createBrush(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BrushT,ref=BrushRef}) -> ?CLASS(ThisT,wxGraphicsRenderer), ?CLASS(BrushT,wxBrush), wxe_util:call(?wxGraphicsRenderer_CreateBrush, <>). -%% @spec (This::wxGraphicsRenderer(), X1::float(), Y1::float(), X2::float(), Y2::float(), C1::wx:colour(), C2::wx:colour()) -> wxGraphicsBrush:wxGraphicsBrush() %% @doc See external documentation. +-spec createLinearGradientBrush(This, X1, Y1, X2, Y2, C1, C2) -> wxGraphicsBrush:wxGraphicsBrush() when + This::wxGraphicsRenderer(), X1::float(), Y1::float(), X2::float(), Y2::float(), C1::wx:wx_colour(), C2::wx:wx_colour(). createLinearGradientBrush(#wx_ref{type=ThisT,ref=ThisRef},X1,Y1,X2,Y2,C1,C2) when is_float(X1),is_float(Y1),is_float(X2),is_float(Y2),tuple_size(C1) =:= 3; tuple_size(C1) =:= 4,tuple_size(C2) =:= 3; tuple_size(C2) =:= 4 -> ?CLASS(ThisT,wxGraphicsRenderer), wxe_util:call(?wxGraphicsRenderer_CreateLinearGradientBrush, <>). -%% @spec (This::wxGraphicsRenderer(), Xo::float(), Yo::float(), Xc::float(), Yc::float(), Radius::float(), OColor::wx:colour(), CColor::wx:colour()) -> wxGraphicsBrush:wxGraphicsBrush() %% @doc See external documentation. +-spec createRadialGradientBrush(This, Xo, Yo, Xc, Yc, Radius, OColor, CColor) -> wxGraphicsBrush:wxGraphicsBrush() when + This::wxGraphicsRenderer(), Xo::float(), Yo::float(), Xc::float(), Yc::float(), Radius::float(), OColor::wx:wx_colour(), CColor::wx:wx_colour(). createRadialGradientBrush(#wx_ref{type=ThisT,ref=ThisRef},Xo,Yo,Xc,Yc,Radius,OColor,CColor) when is_float(Xo),is_float(Yo),is_float(Xc),is_float(Yc),is_float(Radius),tuple_size(OColor) =:= 3; tuple_size(OColor) =:= 4,tuple_size(CColor) =:= 3; tuple_size(CColor) =:= 4 -> ?CLASS(ThisT,wxGraphicsRenderer), wxe_util:call(?wxGraphicsRenderer_CreateRadialGradientBrush, <>). -%% @spec (This::wxGraphicsRenderer(), Font::wxFont:wxFont()) -> wxGraphicsFont:wxGraphicsFont() %% @equiv createFont(This,Font, []) +-spec createFont(This, Font) -> wxGraphicsFont:wxGraphicsFont() when + This::wxGraphicsRenderer(), Font::wxFont:wxFont(). + createFont(This,Font) when is_record(This, wx_ref),is_record(Font, wx_ref) -> createFont(This,Font, []). -%% @spec (This::wxGraphicsRenderer(), Font::wxFont:wxFont(), [Option]) -> wxGraphicsFont:wxGraphicsFont() -%% Option = {col, wx:colour()} %% @doc See external documentation. +-spec createFont(This, Font, [Option]) -> wxGraphicsFont:wxGraphicsFont() when + This::wxGraphicsRenderer(), Font::wxFont:wxFont(), + Option :: {col, wx:wx_colour()}. createFont(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FontT,ref=FontRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxGraphicsRenderer), @@ -104,15 +114,23 @@ createFont(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FontT,ref=FontRef}, Opti wxe_util:call(?wxGraphicsRenderer_CreateFont, <>). -%% @spec (This::wxGraphicsRenderer()) -> wxGraphicsMatrix:wxGraphicsMatrix() %% @equiv createMatrix(This, []) +-spec createMatrix(This) -> wxGraphicsMatrix:wxGraphicsMatrix() when + This::wxGraphicsRenderer(). + createMatrix(This) when is_record(This, wx_ref) -> createMatrix(This, []). -%% @spec (This::wxGraphicsRenderer(), [Option]) -> wxGraphicsMatrix:wxGraphicsMatrix() -%% Option = {a, float()} | {b, float()} | {c, float()} | {d, float()} | {tx, float()} | {ty, float()} %% @doc See external documentation. +-spec createMatrix(This, [Option]) -> wxGraphicsMatrix:wxGraphicsMatrix() when + This::wxGraphicsRenderer(), + Option :: {a, float()} + | {b, float()} + | {c, float()} + | {d, float()} + | {tx, float()} + | {ty, float()}. createMatrix(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxGraphicsRenderer), @@ -127,8 +145,9 @@ createMatrix(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxGraphicsRenderer_CreateMatrix, <>). -%% @spec (This::wxGraphicsRenderer()) -> wxGraphicsPath:wxGraphicsPath() %% @doc See external documentation. +-spec createPath(This) -> wxGraphicsPath:wxGraphicsPath() when + This::wxGraphicsRenderer(). createPath(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGraphicsRenderer), wxe_util:call(?wxGraphicsRenderer_CreatePath, diff --git a/lib/wx/src/gen/wxGrid.erl b/lib/wx/src/gen/wxGrid.erl index 531fed05c1..ab4ec3a44a 100644 --- a/lib/wx/src/gen/wxGrid.erl +++ b/lib/wx/src/gen/wxGrid.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -125,6 +125,7 @@ transferDataToWindow/1,update/1,updateWindowUI/1,updateWindowUI/2, validate/1,warpPointer/3]). +-export_type([wxGrid/0]). %% @hidden parent_class(wxScrolledWindow) -> true; parent_class(wxPanel) -> true; @@ -132,27 +133,29 @@ parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxGrid() +-type wxGrid() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxGrid(). new() -> wxe_util:construct(?wxGrid_new_0, <<>>). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer()) -> wxGrid() %% @equiv new(Parent,Id, []) +-spec new(Parent, Id) -> wxGrid() when + Parent::wxWindow:wxWindow(), Id::integer(). + new(Parent,Id) when is_record(Parent, wx_ref),is_integer(Id) -> new(Parent,Id, []). -%% @spec (Parent::wxWindow:wxWindow(),X::integer(),X::integer()|term()) -> wxGrid() %% @doc See external documentation. -%%
Alternatives: -%%

-%% new(Parent::wxWindow:wxWindow(), X::integer(), Y::integer()) -> new(Parent,X,Y, [])

-%%

-%% new(Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> wxGrid() -%%
Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} -%%

+-spec new(Parent, X, Y) -> wxGrid() when + Parent::wxWindow:wxWindow(), X::integer(), Y::integer(); + (Parent, Id, [Option]) -> wxGrid() when + Parent::wxWindow:wxWindow(), Id::integer(), + Option :: {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()}. new(Parent,X,Y) when is_record(Parent, wx_ref),is_integer(X),is_integer(Y) -> @@ -168,9 +171,12 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options) wxe_util:construct(?wxGrid_new_3, <>). -%% @spec (Parent::wxWindow:wxWindow(), X::integer(), Y::integer(), [Option]) -> wxGrid() -%% Option = {w, integer()} | {h, integer()} | {style, integer()} %% @doc See external documentation. +-spec new(Parent, X, Y, [Option]) -> wxGrid() when + Parent::wxWindow:wxWindow(), X::integer(), Y::integer(), + Option :: {w, integer()} + | {h, integer()} + | {style, integer()}. new(#wx_ref{type=ParentT,ref=ParentRef},X,Y, Options) when is_integer(X),is_integer(Y),is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -182,15 +188,19 @@ new(#wx_ref{type=ParentT,ref=ParentRef},X,Y, Options) wxe_util:construct(?wxGrid_new_4, <>). -%% @spec (This::wxGrid()) -> bool() %% @equiv appendCols(This, []) +-spec appendCols(This) -> boolean() when + This::wxGrid(). + appendCols(This) when is_record(This, wx_ref) -> appendCols(This, []). -%% @spec (This::wxGrid(), [Option]) -> bool() -%% Option = {numCols, integer()} | {updateLabels, bool()} %% @doc See external documentation. +-spec appendCols(This, [Option]) -> boolean() when + This::wxGrid(), + Option :: {numCols, integer()} + | {updateLabels, boolean()}. appendCols(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxGrid), @@ -201,15 +211,19 @@ appendCols(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxGrid_AppendCols, <>). -%% @spec (This::wxGrid()) -> bool() %% @equiv appendRows(This, []) +-spec appendRows(This) -> boolean() when + This::wxGrid(). + appendRows(This) when is_record(This, wx_ref) -> appendRows(This, []). -%% @spec (This::wxGrid(), [Option]) -> bool() -%% Option = {numRows, integer()} | {updateLabels, bool()} %% @doc See external documentation. +-spec appendRows(This, [Option]) -> boolean() when + This::wxGrid(), + Option :: {numRows, integer()} + | {updateLabels, boolean()}. appendRows(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxGrid), @@ -220,22 +234,26 @@ appendRows(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxGrid_AppendRows, <>). -%% @spec (This::wxGrid()) -> ok %% @doc See external documentation. +-spec autoSize(This) -> ok when + This::wxGrid(). autoSize(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:cast(?wxGrid_AutoSize, <>). -%% @spec (This::wxGrid(), Col::integer()) -> ok %% @equiv autoSizeColumn(This,Col, []) +-spec autoSizeColumn(This, Col) -> ok when + This::wxGrid(), Col::integer(). + autoSizeColumn(This,Col) when is_record(This, wx_ref),is_integer(Col) -> autoSizeColumn(This,Col, []). -%% @spec (This::wxGrid(), Col::integer(), [Option]) -> ok -%% Option = {setAsMin, bool()} %% @doc See external documentation. +-spec autoSizeColumn(This, Col, [Option]) -> ok when + This::wxGrid(), Col::integer(), + Option :: {setAsMin, boolean()}. autoSizeColumn(#wx_ref{type=ThisT,ref=ThisRef},Col, Options) when is_integer(Col),is_list(Options) -> ?CLASS(ThisT,wxGrid), @@ -245,15 +263,18 @@ autoSizeColumn(#wx_ref{type=ThisT,ref=ThisRef},Col, Options) wxe_util:cast(?wxGrid_AutoSizeColumn, <>). -%% @spec (This::wxGrid()) -> ok %% @equiv autoSizeColumns(This, []) +-spec autoSizeColumns(This) -> ok when + This::wxGrid(). + autoSizeColumns(This) when is_record(This, wx_ref) -> autoSizeColumns(This, []). -%% @spec (This::wxGrid(), [Option]) -> ok -%% Option = {setAsMin, bool()} %% @doc See external documentation. +-spec autoSizeColumns(This, [Option]) -> ok when + This::wxGrid(), + Option :: {setAsMin, boolean()}. autoSizeColumns(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxGrid), @@ -263,15 +284,18 @@ autoSizeColumns(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:cast(?wxGrid_AutoSizeColumns, <>). -%% @spec (This::wxGrid(), Row::integer()) -> ok %% @equiv autoSizeRow(This,Row, []) +-spec autoSizeRow(This, Row) -> ok when + This::wxGrid(), Row::integer(). + autoSizeRow(This,Row) when is_record(This, wx_ref),is_integer(Row) -> autoSizeRow(This,Row, []). -%% @spec (This::wxGrid(), Row::integer(), [Option]) -> ok -%% Option = {setAsMin, bool()} %% @doc See external documentation. +-spec autoSizeRow(This, Row, [Option]) -> ok when + This::wxGrid(), Row::integer(), + Option :: {setAsMin, boolean()}. autoSizeRow(#wx_ref{type=ThisT,ref=ThisRef},Row, Options) when is_integer(Row),is_list(Options) -> ?CLASS(ThisT,wxGrid), @@ -281,15 +305,18 @@ autoSizeRow(#wx_ref{type=ThisT,ref=ThisRef},Row, Options) wxe_util:cast(?wxGrid_AutoSizeRow, <>). -%% @spec (This::wxGrid()) -> ok %% @equiv autoSizeRows(This, []) +-spec autoSizeRows(This) -> ok when + This::wxGrid(). + autoSizeRows(This) when is_record(This, wx_ref) -> autoSizeRows(This, []). -%% @spec (This::wxGrid(), [Option]) -> ok -%% Option = {setAsMin, bool()} %% @doc See external documentation. +-spec autoSizeRows(This, [Option]) -> ok when + This::wxGrid(), + Option :: {setAsMin, boolean()}. autoSizeRows(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxGrid), @@ -299,90 +326,102 @@ autoSizeRows(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:cast(?wxGrid_AutoSizeRows, <>). -%% @spec (This::wxGrid()) -> ok %% @doc See external documentation. +-spec beginBatch(This) -> ok when + This::wxGrid(). beginBatch(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:cast(?wxGrid_BeginBatch, <>). -%% @spec (This::wxGrid(), TopLeft::{R::integer(), C::integer()}, BottomRight::{R::integer(), C::integer()}) -> {X::integer(), Y::integer(), W::integer(), H::integer()} %% @doc See external documentation. +-spec blockToDeviceRect(This, TopLeft, BottomRight) -> {X::integer(), Y::integer(), W::integer(), H::integer()} when + This::wxGrid(), TopLeft::{R::integer(), C::integer()}, BottomRight::{R::integer(), C::integer()}. blockToDeviceRect(#wx_ref{type=ThisT,ref=ThisRef},{TopLeftR,TopLeftC},{BottomRightR,BottomRightC}) when is_integer(TopLeftR),is_integer(TopLeftC),is_integer(BottomRightR),is_integer(BottomRightC) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_BlockToDeviceRect, <>). -%% @spec (This::wxGrid()) -> bool() %% @doc See external documentation. +-spec canDragColSize(This) -> boolean() when + This::wxGrid(). canDragColSize(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_CanDragColSize, <>). -%% @spec (This::wxGrid()) -> bool() %% @doc See external documentation. +-spec canDragRowSize(This) -> boolean() when + This::wxGrid(). canDragRowSize(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_CanDragRowSize, <>). -%% @spec (This::wxGrid()) -> bool() %% @doc See external documentation. +-spec canDragGridSize(This) -> boolean() when + This::wxGrid(). canDragGridSize(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_CanDragGridSize, <>). -%% @spec (This::wxGrid()) -> bool() %% @doc See external documentation. +-spec canEnableCellControl(This) -> boolean() when + This::wxGrid(). canEnableCellControl(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_CanEnableCellControl, <>). -%% @spec (This::wxGrid(), Coords::{R::integer(), C::integer()}) -> {X::integer(), Y::integer(), W::integer(), H::integer()} %% @doc See external documentation. +-spec cellToRect(This, Coords) -> {X::integer(), Y::integer(), W::integer(), H::integer()} when + This::wxGrid(), Coords::{R::integer(), C::integer()}. cellToRect(#wx_ref{type=ThisT,ref=ThisRef},{CoordsR,CoordsC}) when is_integer(CoordsR),is_integer(CoordsC) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_CellToRect_1, <>). -%% @spec (This::wxGrid(), Row::integer(), Col::integer()) -> {X::integer(), Y::integer(), W::integer(), H::integer()} %% @doc See external documentation. +-spec cellToRect(This, Row, Col) -> {X::integer(), Y::integer(), W::integer(), H::integer()} when + This::wxGrid(), Row::integer(), Col::integer(). cellToRect(#wx_ref{type=ThisT,ref=ThisRef},Row,Col) when is_integer(Row),is_integer(Col) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_CellToRect_2, <>). -%% @spec (This::wxGrid()) -> ok %% @doc See external documentation. +-spec clearGrid(This) -> ok when + This::wxGrid(). clearGrid(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:cast(?wxGrid_ClearGrid, <>). -%% @spec (This::wxGrid()) -> ok %% @doc See external documentation. +-spec clearSelection(This) -> ok when + This::wxGrid(). clearSelection(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:cast(?wxGrid_ClearSelection, <>). -%% @spec (This::wxGrid(), NumRows::integer(), NumCols::integer()) -> bool() %% @equiv createGrid(This,NumRows,NumCols, []) +-spec createGrid(This, NumRows, NumCols) -> boolean() when + This::wxGrid(), NumRows::integer(), NumCols::integer(). + createGrid(This,NumRows,NumCols) when is_record(This, wx_ref),is_integer(NumRows),is_integer(NumCols) -> createGrid(This,NumRows,NumCols, []). -%% @spec (This::wxGrid(), NumRows::integer(), NumCols::integer(), [Option]) -> bool() -%% Option = {selmode, WxGridSelectionModes} -%% WxGridSelectionModes = integer() %% @doc See external documentation. -%%
WxGridSelectionModes is one of ?wxGrid_wxGridSelectCells | ?wxGrid_wxGridSelectRows | ?wxGrid_wxGridSelectColumns +%%
Selmode = ?wxGrid_wxGridSelectCells | ?wxGrid_wxGridSelectRows | ?wxGrid_wxGridSelectColumns +-spec createGrid(This, NumRows, NumCols, [Option]) -> boolean() when + This::wxGrid(), NumRows::integer(), NumCols::integer(), + Option :: {selmode, wx:wx_enum()}. createGrid(#wx_ref{type=ThisT,ref=ThisRef},NumRows,NumCols, Options) when is_integer(NumRows),is_integer(NumCols),is_list(Options) -> ?CLASS(ThisT,wxGrid), @@ -392,15 +431,20 @@ createGrid(#wx_ref{type=ThisT,ref=ThisRef},NumRows,NumCols, Options) wxe_util:call(?wxGrid_CreateGrid, <>). -%% @spec (This::wxGrid()) -> bool() %% @equiv deleteCols(This, []) +-spec deleteCols(This) -> boolean() when + This::wxGrid(). + deleteCols(This) when is_record(This, wx_ref) -> deleteCols(This, []). -%% @spec (This::wxGrid(), [Option]) -> bool() -%% Option = {pos, integer()} | {numCols, integer()} | {updateLabels, bool()} %% @doc See external documentation. +-spec deleteCols(This, [Option]) -> boolean() when + This::wxGrid(), + Option :: {pos, integer()} + | {numCols, integer()} + | {updateLabels, boolean()}. deleteCols(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxGrid), @@ -412,15 +456,20 @@ deleteCols(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxGrid_DeleteCols, <>). -%% @spec (This::wxGrid()) -> bool() %% @equiv deleteRows(This, []) +-spec deleteRows(This) -> boolean() when + This::wxGrid(). + deleteRows(This) when is_record(This, wx_ref) -> deleteRows(This, []). -%% @spec (This::wxGrid(), [Option]) -> bool() -%% Option = {pos, integer()} | {numRows, integer()} | {updateLabels, bool()} %% @doc See external documentation. +-spec deleteRows(This, [Option]) -> boolean() when + This::wxGrid(), + Option :: {pos, integer()} + | {numRows, integer()} + | {updateLabels, boolean()}. deleteRows(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxGrid), @@ -432,43 +481,50 @@ deleteRows(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxGrid_DeleteRows, <>). -%% @spec (This::wxGrid()) -> ok %% @doc See external documentation. +-spec disableCellEditControl(This) -> ok when + This::wxGrid(). disableCellEditControl(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:cast(?wxGrid_DisableCellEditControl, <>). -%% @spec (This::wxGrid()) -> ok %% @doc See external documentation. +-spec disableDragColSize(This) -> ok when + This::wxGrid(). disableDragColSize(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:cast(?wxGrid_DisableDragColSize, <>). -%% @spec (This::wxGrid()) -> ok %% @doc See external documentation. +-spec disableDragGridSize(This) -> ok when + This::wxGrid(). disableDragGridSize(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:cast(?wxGrid_DisableDragGridSize, <>). -%% @spec (This::wxGrid()) -> ok %% @doc See external documentation. +-spec disableDragRowSize(This) -> ok when + This::wxGrid(). disableDragRowSize(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:cast(?wxGrid_DisableDragRowSize, <>). -%% @spec (This::wxGrid()) -> ok %% @equiv enableCellEditControl(This, []) +-spec enableCellEditControl(This) -> ok when + This::wxGrid(). + enableCellEditControl(This) when is_record(This, wx_ref) -> enableCellEditControl(This, []). -%% @spec (This::wxGrid(), [Option]) -> ok -%% Option = {enable, bool()} %% @doc See external documentation. +-spec enableCellEditControl(This, [Option]) -> ok when + This::wxGrid(), + Option :: {enable, boolean()}. enableCellEditControl(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxGrid), @@ -478,15 +534,18 @@ enableCellEditControl(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:cast(?wxGrid_EnableCellEditControl, <>). -%% @spec (This::wxGrid()) -> ok %% @equiv enableDragColSize(This, []) +-spec enableDragColSize(This) -> ok when + This::wxGrid(). + enableDragColSize(This) when is_record(This, wx_ref) -> enableDragColSize(This, []). -%% @spec (This::wxGrid(), [Option]) -> ok -%% Option = {enable, bool()} %% @doc See external documentation. +-spec enableDragColSize(This, [Option]) -> ok when + This::wxGrid(), + Option :: {enable, boolean()}. enableDragColSize(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxGrid), @@ -496,15 +555,18 @@ enableDragColSize(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:cast(?wxGrid_EnableDragColSize, <>). -%% @spec (This::wxGrid()) -> ok %% @equiv enableDragGridSize(This, []) +-spec enableDragGridSize(This) -> ok when + This::wxGrid(). + enableDragGridSize(This) when is_record(This, wx_ref) -> enableDragGridSize(This, []). -%% @spec (This::wxGrid(), [Option]) -> ok -%% Option = {enable, bool()} %% @doc See external documentation. +-spec enableDragGridSize(This, [Option]) -> ok when + This::wxGrid(), + Option :: {enable, boolean()}. enableDragGridSize(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxGrid), @@ -514,15 +576,18 @@ enableDragGridSize(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:cast(?wxGrid_EnableDragGridSize, <>). -%% @spec (This::wxGrid()) -> ok %% @equiv enableDragRowSize(This, []) +-spec enableDragRowSize(This) -> ok when + This::wxGrid(). + enableDragRowSize(This) when is_record(This, wx_ref) -> enableDragRowSize(This, []). -%% @spec (This::wxGrid(), [Option]) -> ok -%% Option = {enable, bool()} %% @doc See external documentation. +-spec enableDragRowSize(This, [Option]) -> ok when + This::wxGrid(), + Option :: {enable, boolean()}. enableDragRowSize(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxGrid), @@ -532,23 +597,27 @@ enableDragRowSize(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:cast(?wxGrid_EnableDragRowSize, <>). -%% @spec (This::wxGrid(), Edit::bool()) -> ok %% @doc See external documentation. +-spec enableEditing(This, Edit) -> ok when + This::wxGrid(), Edit::boolean(). enableEditing(#wx_ref{type=ThisT,ref=ThisRef},Edit) when is_boolean(Edit) -> ?CLASS(ThisT,wxGrid), wxe_util:cast(?wxGrid_EnableEditing, <>). -%% @spec (This::wxGrid()) -> ok %% @equiv enableGridLines(This, []) +-spec enableGridLines(This) -> ok when + This::wxGrid(). + enableGridLines(This) when is_record(This, wx_ref) -> enableGridLines(This, []). -%% @spec (This::wxGrid(), [Option]) -> ok -%% Option = {enable, bool()} %% @doc See external documentation. +-spec enableGridLines(This, [Option]) -> ok when + This::wxGrid(), + Option :: {enable, boolean()}. enableGridLines(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxGrid), @@ -558,194 +627,220 @@ enableGridLines(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:cast(?wxGrid_EnableGridLines, <>). -%% @spec (This::wxGrid()) -> ok %% @doc See external documentation. +-spec endBatch(This) -> ok when + This::wxGrid(). endBatch(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:cast(?wxGrid_EndBatch, <>). -%% @spec (This::wxGrid()) -> ok %% @doc See external documentation. +-spec fit(This) -> ok when + This::wxGrid(). fit(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:cast(?wxGrid_Fit, <>). -%% @spec (This::wxGrid()) -> ok %% @doc See external documentation. +-spec forceRefresh(This) -> ok when + This::wxGrid(). forceRefresh(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:cast(?wxGrid_ForceRefresh, <>). -%% @spec (This::wxGrid()) -> integer() %% @doc See external documentation. +-spec getBatchCount(This) -> integer() when + This::wxGrid(). getBatchCount(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetBatchCount, <>). -%% @spec (This::wxGrid(), Row::integer(), Col::integer()) -> {Horiz::integer(), Vert::integer()} %% @doc See external documentation. +-spec getCellAlignment(This, Row, Col) -> {Horiz::integer(), Vert::integer()} when + This::wxGrid(), Row::integer(), Col::integer(). getCellAlignment(#wx_ref{type=ThisT,ref=ThisRef},Row,Col) when is_integer(Row),is_integer(Col) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetCellAlignment, <>). -%% @spec (This::wxGrid(), Row::integer(), Col::integer()) -> wx:colour() %% @doc See external documentation. +-spec getCellBackgroundColour(This, Row, Col) -> wx:wx_colour() when + This::wxGrid(), Row::integer(), Col::integer(). getCellBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef},Row,Col) when is_integer(Row),is_integer(Col) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetCellBackgroundColour, <>). -%% @spec (This::wxGrid(), Row::integer(), Col::integer()) -> wxGridCellEditor:wxGridCellEditor() %% @doc See external documentation. +-spec getCellEditor(This, Row, Col) -> wxGridCellEditor:wxGridCellEditor() when + This::wxGrid(), Row::integer(), Col::integer(). getCellEditor(#wx_ref{type=ThisT,ref=ThisRef},Row,Col) when is_integer(Row),is_integer(Col) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetCellEditor, <>). -%% @spec (This::wxGrid(), Row::integer(), Col::integer()) -> wxFont:wxFont() %% @doc See external documentation. +-spec getCellFont(This, Row, Col) -> wxFont:wxFont() when + This::wxGrid(), Row::integer(), Col::integer(). getCellFont(#wx_ref{type=ThisT,ref=ThisRef},Row,Col) when is_integer(Row),is_integer(Col) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetCellFont, <>). -%% @spec (This::wxGrid(), Row::integer(), Col::integer()) -> wxGridCellRenderer:wxGridCellRenderer() %% @doc See external documentation. +-spec getCellRenderer(This, Row, Col) -> wxGridCellRenderer:wxGridCellRenderer() when + This::wxGrid(), Row::integer(), Col::integer(). getCellRenderer(#wx_ref{type=ThisT,ref=ThisRef},Row,Col) when is_integer(Row),is_integer(Col) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetCellRenderer, <>). -%% @spec (This::wxGrid(), Row::integer(), Col::integer()) -> wx:colour() %% @doc See external documentation. +-spec getCellTextColour(This, Row, Col) -> wx:wx_colour() when + This::wxGrid(), Row::integer(), Col::integer(). getCellTextColour(#wx_ref{type=ThisT,ref=ThisRef},Row,Col) when is_integer(Row),is_integer(Col) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetCellTextColour, <>). -%% @spec (This::wxGrid(), Coords::{R::integer(), C::integer()}) -> string() %% @doc See external documentation. +-spec getCellValue(This, Coords) -> string() when + This::wxGrid(), Coords::{R::integer(), C::integer()}. getCellValue(#wx_ref{type=ThisT,ref=ThisRef},{CoordsR,CoordsC}) when is_integer(CoordsR),is_integer(CoordsC) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetCellValue_1, <>). -%% @spec (This::wxGrid(), Row::integer(), Col::integer()) -> string() %% @doc See external documentation. +-spec getCellValue(This, Row, Col) -> string() when + This::wxGrid(), Row::integer(), Col::integer(). getCellValue(#wx_ref{type=ThisT,ref=ThisRef},Row,Col) when is_integer(Row),is_integer(Col) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetCellValue_2, <>). -%% @spec (This::wxGrid()) -> {Horiz::integer(), Vert::integer()} %% @doc See external documentation. +-spec getColLabelAlignment(This) -> {Horiz::integer(), Vert::integer()} when + This::wxGrid(). getColLabelAlignment(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetColLabelAlignment, <>). -%% @spec (This::wxGrid()) -> integer() %% @doc See external documentation. +-spec getColLabelSize(This) -> integer() when + This::wxGrid(). getColLabelSize(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetColLabelSize, <>). -%% @spec (This::wxGrid(), Col::integer()) -> string() %% @doc See external documentation. +-spec getColLabelValue(This, Col) -> string() when + This::wxGrid(), Col::integer(). getColLabelValue(#wx_ref{type=ThisT,ref=ThisRef},Col) when is_integer(Col) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetColLabelValue, <>). -%% @spec (This::wxGrid()) -> integer() %% @doc See external documentation. +-spec getColMinimalAcceptableWidth(This) -> integer() when + This::wxGrid(). getColMinimalAcceptableWidth(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetColMinimalAcceptableWidth, <>). -%% @spec (This::wxGrid()) -> {Horiz::integer(), Vert::integer()} %% @doc See external documentation. +-spec getDefaultCellAlignment(This) -> {Horiz::integer(), Vert::integer()} when + This::wxGrid(). getDefaultCellAlignment(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetDefaultCellAlignment, <>). -%% @spec (This::wxGrid()) -> wx:colour() %% @doc See external documentation. +-spec getDefaultCellBackgroundColour(This) -> wx:wx_colour() when + This::wxGrid(). getDefaultCellBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetDefaultCellBackgroundColour, <>). -%% @spec (This::wxGrid()) -> wxFont:wxFont() %% @doc See external documentation. +-spec getDefaultCellFont(This) -> wxFont:wxFont() when + This::wxGrid(). getDefaultCellFont(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetDefaultCellFont, <>). -%% @spec (This::wxGrid()) -> wx:colour() %% @doc See external documentation. +-spec getDefaultCellTextColour(This) -> wx:wx_colour() when + This::wxGrid(). getDefaultCellTextColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetDefaultCellTextColour, <>). -%% @spec (This::wxGrid()) -> integer() %% @doc See external documentation. +-spec getDefaultColLabelSize(This) -> integer() when + This::wxGrid(). getDefaultColLabelSize(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetDefaultColLabelSize, <>). -%% @spec (This::wxGrid()) -> integer() %% @doc See external documentation. +-spec getDefaultColSize(This) -> integer() when + This::wxGrid(). getDefaultColSize(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetDefaultColSize, <>). -%% @spec (This::wxGrid()) -> wxGridCellEditor:wxGridCellEditor() %% @doc See external documentation. +-spec getDefaultEditor(This) -> wxGridCellEditor:wxGridCellEditor() when + This::wxGrid(). getDefaultEditor(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetDefaultEditor, <>). -%% @spec (This::wxGrid(), C::{R::integer(), C::integer()}) -> wxGridCellEditor:wxGridCellEditor() %% @doc See external documentation. +-spec getDefaultEditorForCell(This, C) -> wxGridCellEditor:wxGridCellEditor() when + This::wxGrid(), C::{R::integer(), C::integer()}. getDefaultEditorForCell(#wx_ref{type=ThisT,ref=ThisRef},{CR,CC}) when is_integer(CR),is_integer(CC) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetDefaultEditorForCell_1, <>). -%% @spec (This::wxGrid(), Row::integer(), Col::integer()) -> wxGridCellEditor:wxGridCellEditor() %% @doc See external documentation. +-spec getDefaultEditorForCell(This, Row, Col) -> wxGridCellEditor:wxGridCellEditor() when + This::wxGrid(), Row::integer(), Col::integer(). getDefaultEditorForCell(#wx_ref{type=ThisT,ref=ThisRef},Row,Col) when is_integer(Row),is_integer(Col) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetDefaultEditorForCell_2, <>). -%% @spec (This::wxGrid(), TypeName::string()) -> wxGridCellEditor:wxGridCellEditor() %% @doc See external documentation. +-spec getDefaultEditorForType(This, TypeName) -> wxGridCellEditor:wxGridCellEditor() when + This::wxGrid(), TypeName::string(). getDefaultEditorForType(#wx_ref{type=ThisT,ref=ThisRef},TypeName) when is_list(TypeName) -> ?CLASS(ThisT,wxGrid), @@ -753,23 +848,26 @@ getDefaultEditorForType(#wx_ref{type=ThisT,ref=ThisRef},TypeName) wxe_util:call(?wxGrid_GetDefaultEditorForType, <>). -%% @spec (This::wxGrid()) -> wxGridCellRenderer:wxGridCellRenderer() %% @doc See external documentation. +-spec getDefaultRenderer(This) -> wxGridCellRenderer:wxGridCellRenderer() when + This::wxGrid(). getDefaultRenderer(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetDefaultRenderer, <>). -%% @spec (This::wxGrid(), Row::integer(), Col::integer()) -> wxGridCellRenderer:wxGridCellRenderer() %% @doc See external documentation. +-spec getDefaultRendererForCell(This, Row, Col) -> wxGridCellRenderer:wxGridCellRenderer() when + This::wxGrid(), Row::integer(), Col::integer(). getDefaultRendererForCell(#wx_ref{type=ThisT,ref=ThisRef},Row,Col) when is_integer(Row),is_integer(Col) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetDefaultRendererForCell, <>). -%% @spec (This::wxGrid(), TypeName::string()) -> wxGridCellRenderer:wxGridCellRenderer() %% @doc See external documentation. +-spec getDefaultRendererForType(This, TypeName) -> wxGridCellRenderer:wxGridCellRenderer() when + This::wxGrid(), TypeName::string(). getDefaultRendererForType(#wx_ref{type=ThisT,ref=ThisRef},TypeName) when is_list(TypeName) -> ?CLASS(ThisT,wxGrid), @@ -777,242 +875,279 @@ getDefaultRendererForType(#wx_ref{type=ThisT,ref=ThisRef},TypeName) wxe_util:call(?wxGrid_GetDefaultRendererForType, <>). -%% @spec (This::wxGrid()) -> integer() %% @doc See external documentation. +-spec getDefaultRowLabelSize(This) -> integer() when + This::wxGrid(). getDefaultRowLabelSize(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetDefaultRowLabelSize, <>). -%% @spec (This::wxGrid()) -> integer() %% @doc See external documentation. +-spec getDefaultRowSize(This) -> integer() when + This::wxGrid(). getDefaultRowSize(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetDefaultRowSize, <>). -%% @spec (This::wxGrid()) -> integer() %% @doc See external documentation. +-spec getGridCursorCol(This) -> integer() when + This::wxGrid(). getGridCursorCol(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetGridCursorCol, <>). -%% @spec (This::wxGrid()) -> integer() %% @doc See external documentation. +-spec getGridCursorRow(This) -> integer() when + This::wxGrid(). getGridCursorRow(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetGridCursorRow, <>). -%% @spec (This::wxGrid()) -> wx:colour() %% @doc See external documentation. +-spec getGridLineColour(This) -> wx:wx_colour() when + This::wxGrid(). getGridLineColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetGridLineColour, <>). -%% @spec (This::wxGrid()) -> bool() %% @doc See external documentation. +-spec gridLinesEnabled(This) -> boolean() when + This::wxGrid(). gridLinesEnabled(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GridLinesEnabled, <>). -%% @spec (This::wxGrid()) -> wx:colour() %% @doc See external documentation. +-spec getLabelBackgroundColour(This) -> wx:wx_colour() when + This::wxGrid(). getLabelBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetLabelBackgroundColour, <>). -%% @spec (This::wxGrid()) -> wxFont:wxFont() %% @doc See external documentation. +-spec getLabelFont(This) -> wxFont:wxFont() when + This::wxGrid(). getLabelFont(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetLabelFont, <>). -%% @spec (This::wxGrid()) -> wx:colour() %% @doc See external documentation. +-spec getLabelTextColour(This) -> wx:wx_colour() when + This::wxGrid(). getLabelTextColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetLabelTextColour, <>). -%% @spec (This::wxGrid()) -> integer() %% @doc See external documentation. +-spec getNumberCols(This) -> integer() when + This::wxGrid(). getNumberCols(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetNumberCols, <>). -%% @spec (This::wxGrid()) -> integer() %% @doc See external documentation. +-spec getNumberRows(This) -> integer() when + This::wxGrid(). getNumberRows(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetNumberRows, <>). -%% @spec (This::wxGrid(), Row::integer(), Col::integer()) -> wxGridCellAttr:wxGridCellAttr() %% @doc See external documentation. +-spec getOrCreateCellAttr(This, Row, Col) -> wxGridCellAttr:wxGridCellAttr() when + This::wxGrid(), Row::integer(), Col::integer(). getOrCreateCellAttr(#wx_ref{type=ThisT,ref=ThisRef},Row,Col) when is_integer(Row),is_integer(Col) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetOrCreateCellAttr, <>). -%% @spec (This::wxGrid()) -> integer() %% @doc See external documentation. +-spec getRowMinimalAcceptableHeight(This) -> integer() when + This::wxGrid(). getRowMinimalAcceptableHeight(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetRowMinimalAcceptableHeight, <>). -%% @spec (This::wxGrid()) -> {Horiz::integer(), Vert::integer()} %% @doc See external documentation. +-spec getRowLabelAlignment(This) -> {Horiz::integer(), Vert::integer()} when + This::wxGrid(). getRowLabelAlignment(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetRowLabelAlignment, <>). -%% @spec (This::wxGrid()) -> integer() %% @doc See external documentation. +-spec getRowLabelSize(This) -> integer() when + This::wxGrid(). getRowLabelSize(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetRowLabelSize, <>). -%% @spec (This::wxGrid(), Row::integer()) -> string() %% @doc See external documentation. +-spec getRowLabelValue(This, Row) -> string() when + This::wxGrid(), Row::integer(). getRowLabelValue(#wx_ref{type=ThisT,ref=ThisRef},Row) when is_integer(Row) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetRowLabelValue, <>). -%% @spec (This::wxGrid(), Row::integer()) -> integer() %% @doc See external documentation. +-spec getRowSize(This, Row) -> integer() when + This::wxGrid(), Row::integer(). getRowSize(#wx_ref{type=ThisT,ref=ThisRef},Row) when is_integer(Row) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetRowSize, <>). -%% @spec (This::wxGrid()) -> integer() %% @doc See external documentation. +-spec getScrollLineX(This) -> integer() when + This::wxGrid(). getScrollLineX(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetScrollLineX, <>). -%% @spec (This::wxGrid()) -> integer() %% @doc See external documentation. +-spec getScrollLineY(This) -> integer() when + This::wxGrid(). getScrollLineY(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetScrollLineY, <>). -%% @spec (This::wxGrid()) -> [{R::integer(), C::integer()}] %% @doc See external documentation. +-spec getSelectedCells(This) -> [{R::integer(), C::integer()}] when + This::wxGrid(). getSelectedCells(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetSelectedCells, <>). -%% @spec (This::wxGrid()) -> [integer()] %% @doc See external documentation. +-spec getSelectedCols(This) -> [integer()] when + This::wxGrid(). getSelectedCols(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetSelectedCols, <>). -%% @spec (This::wxGrid()) -> [integer()] %% @doc See external documentation. +-spec getSelectedRows(This) -> [integer()] when + This::wxGrid(). getSelectedRows(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetSelectedRows, <>). -%% @spec (This::wxGrid()) -> wx:colour() %% @doc See external documentation. +-spec getSelectionBackground(This) -> wx:wx_colour() when + This::wxGrid(). getSelectionBackground(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetSelectionBackground, <>). -%% @spec (This::wxGrid()) -> [{R::integer(), C::integer()}] %% @doc See external documentation. +-spec getSelectionBlockTopLeft(This) -> [{R::integer(), C::integer()}] when + This::wxGrid(). getSelectionBlockTopLeft(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetSelectionBlockTopLeft, <>). -%% @spec (This::wxGrid()) -> [{R::integer(), C::integer()}] %% @doc See external documentation. +-spec getSelectionBlockBottomRight(This) -> [{R::integer(), C::integer()}] when + This::wxGrid(). getSelectionBlockBottomRight(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetSelectionBlockBottomRight, <>). -%% @spec (This::wxGrid()) -> wx:colour() %% @doc See external documentation. +-spec getSelectionForeground(This) -> wx:wx_colour() when + This::wxGrid(). getSelectionForeground(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetSelectionForeground, <>). -%% @spec (This::wxGrid()) -> integer() %% @doc See external documentation. +-spec getViewWidth(This) -> integer() when + This::wxGrid(). getViewWidth(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetViewWidth, <>). -%% @spec (This::wxGrid()) -> wxWindow:wxWindow() %% @doc See external documentation. +-spec getGridWindow(This) -> wxWindow:wxWindow() when + This::wxGrid(). getGridWindow(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetGridWindow, <>). -%% @spec (This::wxGrid()) -> wxWindow:wxWindow() %% @doc See external documentation. +-spec getGridRowLabelWindow(This) -> wxWindow:wxWindow() when + This::wxGrid(). getGridRowLabelWindow(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetGridRowLabelWindow, <>). -%% @spec (This::wxGrid()) -> wxWindow:wxWindow() %% @doc See external documentation. +-spec getGridColLabelWindow(This) -> wxWindow:wxWindow() when + This::wxGrid(). getGridColLabelWindow(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetGridColLabelWindow, <>). -%% @spec (This::wxGrid()) -> wxWindow:wxWindow() %% @doc See external documentation. +-spec getGridCornerLabelWindow(This) -> wxWindow:wxWindow() when + This::wxGrid(). getGridCornerLabelWindow(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_GetGridCornerLabelWindow, <>). -%% @spec (This::wxGrid()) -> ok %% @doc See external documentation. +-spec hideCellEditControl(This) -> ok when + This::wxGrid(). hideCellEditControl(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:cast(?wxGrid_HideCellEditControl, <>). -%% @spec (This::wxGrid()) -> bool() %% @equiv insertCols(This, []) +-spec insertCols(This) -> boolean() when + This::wxGrid(). + insertCols(This) when is_record(This, wx_ref) -> insertCols(This, []). -%% @spec (This::wxGrid(), [Option]) -> bool() -%% Option = {pos, integer()} | {numCols, integer()} | {updateLabels, bool()} %% @doc See external documentation. +-spec insertCols(This, [Option]) -> boolean() when + This::wxGrid(), + Option :: {pos, integer()} + | {numCols, integer()} + | {updateLabels, boolean()}. insertCols(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxGrid), @@ -1024,15 +1159,20 @@ insertCols(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxGrid_InsertCols, <>). -%% @spec (This::wxGrid()) -> bool() %% @equiv insertRows(This, []) +-spec insertRows(This) -> boolean() when + This::wxGrid(). + insertRows(This) when is_record(This, wx_ref) -> insertRows(This, []). -%% @spec (This::wxGrid(), [Option]) -> bool() -%% Option = {pos, integer()} | {numRows, integer()} | {updateLabels, bool()} %% @doc See external documentation. +-spec insertRows(This, [Option]) -> boolean() when + This::wxGrid(), + Option :: {pos, integer()} + | {numRows, integer()} + | {updateLabels, boolean()}. insertRows(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxGrid), @@ -1044,73 +1184,79 @@ insertRows(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxGrid_InsertRows, <>). -%% @spec (This::wxGrid()) -> bool() %% @doc See external documentation. +-spec isCellEditControlEnabled(This) -> boolean() when + This::wxGrid(). isCellEditControlEnabled(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_IsCellEditControlEnabled, <>). -%% @spec (This::wxGrid()) -> bool() %% @doc See external documentation. +-spec isCurrentCellReadOnly(This) -> boolean() when + This::wxGrid(). isCurrentCellReadOnly(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_IsCurrentCellReadOnly, <>). -%% @spec (This::wxGrid()) -> bool() %% @doc See external documentation. +-spec isEditable(This) -> boolean() when + This::wxGrid(). isEditable(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_IsEditable, <>). -%% @spec (This::wxGrid(), Coords::{R::integer(), C::integer()}) -> bool() %% @doc See external documentation. +-spec isInSelection(This, Coords) -> boolean() when + This::wxGrid(), Coords::{R::integer(), C::integer()}. isInSelection(#wx_ref{type=ThisT,ref=ThisRef},{CoordsR,CoordsC}) when is_integer(CoordsR),is_integer(CoordsC) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_IsInSelection_1, <>). -%% @spec (This::wxGrid(), Row::integer(), Col::integer()) -> bool() %% @doc See external documentation. +-spec isInSelection(This, Row, Col) -> boolean() when + This::wxGrid(), Row::integer(), Col::integer(). isInSelection(#wx_ref{type=ThisT,ref=ThisRef},Row,Col) when is_integer(Row),is_integer(Col) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_IsInSelection_2, <>). -%% @spec (This::wxGrid(), Row::integer(), Col::integer()) -> bool() %% @doc See external documentation. +-spec isReadOnly(This, Row, Col) -> boolean() when + This::wxGrid(), Row::integer(), Col::integer(). isReadOnly(#wx_ref{type=ThisT,ref=ThisRef},Row,Col) when is_integer(Row),is_integer(Col) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_IsReadOnly, <>). -%% @spec (This::wxGrid()) -> bool() %% @doc See external documentation. +-spec isSelection(This) -> boolean() when + This::wxGrid(). isSelection(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_IsSelection, <>). -%% @spec (This::wxGrid(), Coords::{R::integer(), C::integer()}) -> bool() %% @equiv isVisible(This,Coords, []) +-spec isVisible(This, Coords) -> boolean() when + This::wxGrid(), Coords::{R::integer(), C::integer()}. + isVisible(This,Coords={CoordsR,CoordsC}) when is_record(This, wx_ref),is_integer(CoordsR),is_integer(CoordsC) -> isVisible(This,Coords, []). -%% @spec (This::wxGrid(),X::integer()|term(),X::integer()|term()) -> bool() %% @doc See external documentation. -%%
Alternatives: -%%

-%% isVisible(This::wxGrid(), Row::integer(), Col::integer()) -> isVisible(This,Row,Col, [])

-%%

-%% isVisible(This::wxGrid(), Coords::{R::integer(), C::integer()}, [Option]) -> bool() -%%
Option = {wholeCellVisible, bool()} -%%

+-spec isVisible(This, Row, Col) -> boolean() when + This::wxGrid(), Row::integer(), Col::integer(); + (This, Coords, [Option]) -> boolean() when + This::wxGrid(), Coords::{R::integer(), C::integer()}, + Option :: {wholeCellVisible, boolean()}. isVisible(This,Row,Col) when is_record(This, wx_ref),is_integer(Row),is_integer(Col) -> @@ -1124,9 +1270,10 @@ isVisible(#wx_ref{type=ThisT,ref=ThisRef},{CoordsR,CoordsC}, Options) wxe_util:call(?wxGrid_IsVisible_2, <>). -%% @spec (This::wxGrid(), Row::integer(), Col::integer(), [Option]) -> bool() -%% Option = {wholeCellVisible, bool()} %% @doc See external documentation. +-spec isVisible(This, Row, Col, [Option]) -> boolean() when + This::wxGrid(), Row::integer(), Col::integer(), + Option :: {wholeCellVisible, boolean()}. isVisible(#wx_ref{type=ThisT,ref=ThisRef},Row,Col, Options) when is_integer(Row),is_integer(Col),is_list(Options) -> ?CLASS(ThisT,wxGrid), @@ -1136,102 +1283,115 @@ isVisible(#wx_ref{type=ThisT,ref=ThisRef},Row,Col, Options) wxe_util:call(?wxGrid_IsVisible_3, <>). -%% @spec (This::wxGrid(), Coords::{R::integer(), C::integer()}) -> ok %% @doc See external documentation. +-spec makeCellVisible(This, Coords) -> ok when + This::wxGrid(), Coords::{R::integer(), C::integer()}. makeCellVisible(#wx_ref{type=ThisT,ref=ThisRef},{CoordsR,CoordsC}) when is_integer(CoordsR),is_integer(CoordsC) -> ?CLASS(ThisT,wxGrid), wxe_util:cast(?wxGrid_MakeCellVisible_1, <>). -%% @spec (This::wxGrid(), Row::integer(), Col::integer()) -> ok %% @doc See external documentation. +-spec makeCellVisible(This, Row, Col) -> ok when + This::wxGrid(), Row::integer(), Col::integer(). makeCellVisible(#wx_ref{type=ThisT,ref=ThisRef},Row,Col) when is_integer(Row),is_integer(Col) -> ?CLASS(ThisT,wxGrid), wxe_util:cast(?wxGrid_MakeCellVisible_2, <>). -%% @spec (This::wxGrid(), ExpandSelection::bool()) -> bool() %% @doc See external documentation. +-spec moveCursorDown(This, ExpandSelection) -> boolean() when + This::wxGrid(), ExpandSelection::boolean(). moveCursorDown(#wx_ref{type=ThisT,ref=ThisRef},ExpandSelection) when is_boolean(ExpandSelection) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_MoveCursorDown, <>). -%% @spec (This::wxGrid(), ExpandSelection::bool()) -> bool() %% @doc See external documentation. +-spec moveCursorLeft(This, ExpandSelection) -> boolean() when + This::wxGrid(), ExpandSelection::boolean(). moveCursorLeft(#wx_ref{type=ThisT,ref=ThisRef},ExpandSelection) when is_boolean(ExpandSelection) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_MoveCursorLeft, <>). -%% @spec (This::wxGrid(), ExpandSelection::bool()) -> bool() %% @doc See external documentation. +-spec moveCursorRight(This, ExpandSelection) -> boolean() when + This::wxGrid(), ExpandSelection::boolean(). moveCursorRight(#wx_ref{type=ThisT,ref=ThisRef},ExpandSelection) when is_boolean(ExpandSelection) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_MoveCursorRight, <>). -%% @spec (This::wxGrid(), ExpandSelection::bool()) -> bool() %% @doc See external documentation. +-spec moveCursorUp(This, ExpandSelection) -> boolean() when + This::wxGrid(), ExpandSelection::boolean(). moveCursorUp(#wx_ref{type=ThisT,ref=ThisRef},ExpandSelection) when is_boolean(ExpandSelection) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_MoveCursorUp, <>). -%% @spec (This::wxGrid(), ExpandSelection::bool()) -> bool() %% @doc See external documentation. +-spec moveCursorDownBlock(This, ExpandSelection) -> boolean() when + This::wxGrid(), ExpandSelection::boolean(). moveCursorDownBlock(#wx_ref{type=ThisT,ref=ThisRef},ExpandSelection) when is_boolean(ExpandSelection) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_MoveCursorDownBlock, <>). -%% @spec (This::wxGrid(), ExpandSelection::bool()) -> bool() %% @doc See external documentation. +-spec moveCursorLeftBlock(This, ExpandSelection) -> boolean() when + This::wxGrid(), ExpandSelection::boolean(). moveCursorLeftBlock(#wx_ref{type=ThisT,ref=ThisRef},ExpandSelection) when is_boolean(ExpandSelection) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_MoveCursorLeftBlock, <>). -%% @spec (This::wxGrid(), ExpandSelection::bool()) -> bool() %% @doc See external documentation. +-spec moveCursorRightBlock(This, ExpandSelection) -> boolean() when + This::wxGrid(), ExpandSelection::boolean(). moveCursorRightBlock(#wx_ref{type=ThisT,ref=ThisRef},ExpandSelection) when is_boolean(ExpandSelection) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_MoveCursorRightBlock, <>). -%% @spec (This::wxGrid(), ExpandSelection::bool()) -> bool() %% @doc See external documentation. +-spec moveCursorUpBlock(This, ExpandSelection) -> boolean() when + This::wxGrid(), ExpandSelection::boolean(). moveCursorUpBlock(#wx_ref{type=ThisT,ref=ThisRef},ExpandSelection) when is_boolean(ExpandSelection) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_MoveCursorUpBlock, <>). -%% @spec (This::wxGrid()) -> bool() %% @doc See external documentation. +-spec movePageDown(This) -> boolean() when + This::wxGrid(). movePageDown(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_MovePageDown, <>). -%% @spec (This::wxGrid()) -> bool() %% @doc See external documentation. +-spec movePageUp(This) -> boolean() when + This::wxGrid(). movePageUp(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_MovePageUp, <>). -%% @spec (This::wxGrid(), TypeName::string(), Renderer::wxGridCellRenderer:wxGridCellRenderer(), Editor::wxGridCellEditor:wxGridCellEditor()) -> ok %% @doc See external documentation. +-spec registerDataType(This, TypeName, Renderer, Editor) -> ok when + This::wxGrid(), TypeName::string(), Renderer::wxGridCellRenderer:wxGridCellRenderer(), Editor::wxGridCellEditor:wxGridCellEditor(). registerDataType(#wx_ref{type=ThisT,ref=ThisRef},TypeName,#wx_ref{type=RendererT,ref=RendererRef},#wx_ref{type=EditorT,ref=EditorRef}) when is_list(TypeName) -> ?CLASS(ThisT,wxGrid), @@ -1241,29 +1401,34 @@ registerDataType(#wx_ref{type=ThisT,ref=ThisRef},TypeName,#wx_ref{type=RendererT wxe_util:cast(?wxGrid_RegisterDataType, <>). -%% @spec (This::wxGrid()) -> ok %% @doc See external documentation. +-spec saveEditControlValue(This) -> ok when + This::wxGrid(). saveEditControlValue(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:cast(?wxGrid_SaveEditControlValue, <>). -%% @spec (This::wxGrid()) -> ok %% @doc See external documentation. +-spec selectAll(This) -> ok when + This::wxGrid(). selectAll(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:cast(?wxGrid_SelectAll, <>). -%% @spec (This::wxGrid(), TopLeft::{R::integer(), C::integer()}, BottomRight::{R::integer(), C::integer()}) -> ok %% @equiv selectBlock(This,TopLeft,BottomRight, []) +-spec selectBlock(This, TopLeft, BottomRight) -> ok when + This::wxGrid(), TopLeft::{R::integer(), C::integer()}, BottomRight::{R::integer(), C::integer()}. + selectBlock(This,TopLeft={TopLeftR,TopLeftC},BottomRight={BottomRightR,BottomRightC}) when is_record(This, wx_ref),is_integer(TopLeftR),is_integer(TopLeftC),is_integer(BottomRightR),is_integer(BottomRightC) -> selectBlock(This,TopLeft,BottomRight, []). -%% @spec (This::wxGrid(), TopLeft::{R::integer(), C::integer()}, BottomRight::{R::integer(), C::integer()}, [Option]) -> ok -%% Option = {addToSelected, bool()} %% @doc See external documentation. +-spec selectBlock(This, TopLeft, BottomRight, [Option]) -> ok when + This::wxGrid(), TopLeft::{R::integer(), C::integer()}, BottomRight::{R::integer(), C::integer()}, + Option :: {addToSelected, boolean()}. selectBlock(#wx_ref{type=ThisT,ref=ThisRef},{TopLeftR,TopLeftC},{BottomRightR,BottomRightC}, Options) when is_integer(TopLeftR),is_integer(TopLeftC),is_integer(BottomRightR),is_integer(BottomRightC),is_list(Options) -> ?CLASS(ThisT,wxGrid), @@ -1273,15 +1438,18 @@ selectBlock(#wx_ref{type=ThisT,ref=ThisRef},{TopLeftR,TopLeftC},{BottomRightR,Bo wxe_util:cast(?wxGrid_SelectBlock_3, <>). -%% @spec (This::wxGrid(), TopRow::integer(), LeftCol::integer(), BottomRow::integer(), RightCol::integer()) -> ok %% @equiv selectBlock(This,TopRow,LeftCol,BottomRow,RightCol, []) +-spec selectBlock(This, TopRow, LeftCol, BottomRow, RightCol) -> ok when + This::wxGrid(), TopRow::integer(), LeftCol::integer(), BottomRow::integer(), RightCol::integer(). + selectBlock(This,TopRow,LeftCol,BottomRow,RightCol) when is_record(This, wx_ref),is_integer(TopRow),is_integer(LeftCol),is_integer(BottomRow),is_integer(RightCol) -> selectBlock(This,TopRow,LeftCol,BottomRow,RightCol, []). -%% @spec (This::wxGrid(), TopRow::integer(), LeftCol::integer(), BottomRow::integer(), RightCol::integer(), [Option]) -> ok -%% Option = {addToSelected, bool()} %% @doc See external documentation. +-spec selectBlock(This, TopRow, LeftCol, BottomRow, RightCol, [Option]) -> ok when + This::wxGrid(), TopRow::integer(), LeftCol::integer(), BottomRow::integer(), RightCol::integer(), + Option :: {addToSelected, boolean()}. selectBlock(#wx_ref{type=ThisT,ref=ThisRef},TopRow,LeftCol,BottomRow,RightCol, Options) when is_integer(TopRow),is_integer(LeftCol),is_integer(BottomRow),is_integer(RightCol),is_list(Options) -> ?CLASS(ThisT,wxGrid), @@ -1291,15 +1459,18 @@ selectBlock(#wx_ref{type=ThisT,ref=ThisRef},TopRow,LeftCol,BottomRow,RightCol, O wxe_util:cast(?wxGrid_SelectBlock_5, <>). -%% @spec (This::wxGrid(), Col::integer()) -> ok %% @equiv selectCol(This,Col, []) +-spec selectCol(This, Col) -> ok when + This::wxGrid(), Col::integer(). + selectCol(This,Col) when is_record(This, wx_ref),is_integer(Col) -> selectCol(This,Col, []). -%% @spec (This::wxGrid(), Col::integer(), [Option]) -> ok -%% Option = {addToSelected, bool()} %% @doc See external documentation. +-spec selectCol(This, Col, [Option]) -> ok when + This::wxGrid(), Col::integer(), + Option :: {addToSelected, boolean()}. selectCol(#wx_ref{type=ThisT,ref=ThisRef},Col, Options) when is_integer(Col),is_list(Options) -> ?CLASS(ThisT,wxGrid), @@ -1309,15 +1480,18 @@ selectCol(#wx_ref{type=ThisT,ref=ThisRef},Col, Options) wxe_util:cast(?wxGrid_SelectCol, <>). -%% @spec (This::wxGrid(), Row::integer()) -> ok %% @equiv selectRow(This,Row, []) +-spec selectRow(This, Row) -> ok when + This::wxGrid(), Row::integer(). + selectRow(This,Row) when is_record(This, wx_ref),is_integer(Row) -> selectRow(This,Row, []). -%% @spec (This::wxGrid(), Row::integer(), [Option]) -> ok -%% Option = {addToSelected, bool()} %% @doc See external documentation. +-spec selectRow(This, Row, [Option]) -> ok when + This::wxGrid(), Row::integer(), + Option :: {addToSelected, boolean()}. selectRow(#wx_ref{type=ThisT,ref=ThisRef},Row, Options) when is_integer(Row),is_list(Options) -> ?CLASS(ThisT,wxGrid), @@ -1327,47 +1501,47 @@ selectRow(#wx_ref{type=ThisT,ref=ThisRef},Row, Options) wxe_util:cast(?wxGrid_SelectRow, <>). -%% @spec (This::wxGrid(), Align::integer()) -> ok %% @doc See external documentation. +-spec setCellAlignment(This, Align) -> ok when + This::wxGrid(), Align::integer(). setCellAlignment(#wx_ref{type=ThisT,ref=ThisRef},Align) when is_integer(Align) -> ?CLASS(ThisT,wxGrid), wxe_util:cast(?wxGrid_SetCellAlignment_1, <>). -%% @spec (This::wxGrid(), Align::integer(), Row::integer(), Col::integer()) -> ok %% @doc See external documentation. +-spec setCellAlignment(This, Align, Row, Col) -> ok when + This::wxGrid(), Align::integer(), Row::integer(), Col::integer(). setCellAlignment(#wx_ref{type=ThisT,ref=ThisRef},Align,Row,Col) when is_integer(Align),is_integer(Row),is_integer(Col) -> ?CLASS(ThisT,wxGrid), wxe_util:cast(?wxGrid_SetCellAlignment_3, <>). -%% @spec (This::wxGrid(), Row::integer(), Col::integer(), Horiz::integer(), Vert::integer()) -> ok %% @doc See external documentation. +-spec setCellAlignment(This, Row, Col, Horiz, Vert) -> ok when + This::wxGrid(), Row::integer(), Col::integer(), Horiz::integer(), Vert::integer(). setCellAlignment(#wx_ref{type=ThisT,ref=ThisRef},Row,Col,Horiz,Vert) when is_integer(Row),is_integer(Col),is_integer(Horiz),is_integer(Vert) -> ?CLASS(ThisT,wxGrid), wxe_util:cast(?wxGrid_SetCellAlignment_4, <>). -%% @spec (This::wxGrid(), Col::wx:colour()) -> ok %% @doc See external documentation. +-spec setCellBackgroundColour(This, Col) -> ok when + This::wxGrid(), Col::wx:wx_colour(). setCellBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef},Col) when tuple_size(Col) =:= 3; tuple_size(Col) =:= 4 -> ?CLASS(ThisT,wxGrid), wxe_util:cast(?wxGrid_SetCellBackgroundColour_1, <>). -%% @spec (This::wxGrid(),X::integer()|term(),X::integer(),X::term()|integer()) -> ok %% @doc See external documentation. -%%
Alternatives: -%%

-%% setCellBackgroundColour(This::wxGrid(), Row::integer(), Col::integer(), Val::wx:colour()) -> ok -%%

-%%

-%% setCellBackgroundColour(This::wxGrid(), Colour::wx:colour(), Row::integer(), Col::integer()) -> ok -%%

+-spec setCellBackgroundColour(This, Row, Col, Val) -> ok when + This::wxGrid(), Row::integer(), Col::integer(), Val::wx:wx_colour(); + (This, Colour, Row, Col) -> ok when + This::wxGrid(), Colour::wx:wx_colour(), Row::integer(), Col::integer(). setCellBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef},Row,Col,Val) when is_integer(Row),is_integer(Col),tuple_size(Val) =:= 3; tuple_size(Val) =:= 4 -> ?CLASS(ThisT,wxGrid), @@ -1379,8 +1553,9 @@ setCellBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef},Colour,Row,Col) wxe_util:cast(?wxGrid_SetCellBackgroundColour_3_1, <>). -%% @spec (This::wxGrid(), Row::integer(), Col::integer(), Editor::wxGridCellEditor:wxGridCellEditor()) -> ok %% @doc See external documentation. +-spec setCellEditor(This, Row, Col, Editor) -> ok when + This::wxGrid(), Row::integer(), Col::integer(), Editor::wxGridCellEditor:wxGridCellEditor(). setCellEditor(#wx_ref{type=ThisT,ref=ThisRef},Row,Col,#wx_ref{type=EditorT,ref=EditorRef}) when is_integer(Row),is_integer(Col) -> ?CLASS(ThisT,wxGrid), @@ -1388,8 +1563,9 @@ setCellEditor(#wx_ref{type=ThisT,ref=ThisRef},Row,Col,#wx_ref{type=EditorT,ref=E wxe_util:cast(?wxGrid_SetCellEditor, <>). -%% @spec (This::wxGrid(), Row::integer(), Col::integer(), Val::wxFont:wxFont()) -> ok %% @doc See external documentation. +-spec setCellFont(This, Row, Col, Val) -> ok when + This::wxGrid(), Row::integer(), Col::integer(), Val::wxFont:wxFont(). setCellFont(#wx_ref{type=ThisT,ref=ThisRef},Row,Col,#wx_ref{type=ValT,ref=ValRef}) when is_integer(Row),is_integer(Col) -> ?CLASS(ThisT,wxGrid), @@ -1397,8 +1573,9 @@ setCellFont(#wx_ref{type=ThisT,ref=ThisRef},Row,Col,#wx_ref{type=ValT,ref=ValRef wxe_util:cast(?wxGrid_SetCellFont, <>). -%% @spec (This::wxGrid(), Row::integer(), Col::integer(), Renderer::wxGridCellRenderer:wxGridCellRenderer()) -> ok %% @doc See external documentation. +-spec setCellRenderer(This, Row, Col, Renderer) -> ok when + This::wxGrid(), Row::integer(), Col::integer(), Renderer::wxGridCellRenderer:wxGridCellRenderer(). setCellRenderer(#wx_ref{type=ThisT,ref=ThisRef},Row,Col,#wx_ref{type=RendererT,ref=RendererRef}) when is_integer(Row),is_integer(Col) -> ?CLASS(ThisT,wxGrid), @@ -1406,23 +1583,20 @@ setCellRenderer(#wx_ref{type=ThisT,ref=ThisRef},Row,Col,#wx_ref{type=RendererT,r wxe_util:cast(?wxGrid_SetCellRenderer, <>). -%% @spec (This::wxGrid(), Col::wx:colour()) -> ok %% @doc See external documentation. +-spec setCellTextColour(This, Col) -> ok when + This::wxGrid(), Col::wx:wx_colour(). setCellTextColour(#wx_ref{type=ThisT,ref=ThisRef},Col) when tuple_size(Col) =:= 3; tuple_size(Col) =:= 4 -> ?CLASS(ThisT,wxGrid), wxe_util:cast(?wxGrid_SetCellTextColour_1, <>). -%% @spec (This::wxGrid(),X::integer()|term(),X::integer(),X::term()|integer()) -> ok %% @doc See external documentation. -%%
Alternatives: -%%

-%% setCellTextColour(This::wxGrid(), Row::integer(), Col::integer(), Val::wx:colour()) -> ok -%%

-%%

-%% setCellTextColour(This::wxGrid(), Val::wx:colour(), Row::integer(), Col::integer()) -> ok -%%

+-spec setCellTextColour(This, Row, Col, Val) -> ok when + This::wxGrid(), Row::integer(), Col::integer(), Val::wx:wx_colour(); + (This, Val, Row, Col) -> ok when + This::wxGrid(), Val::wx:wx_colour(), Row::integer(), Col::integer(). setCellTextColour(#wx_ref{type=ThisT,ref=ThisRef},Row,Col,Val) when is_integer(Row),is_integer(Col),tuple_size(Val) =:= 3; tuple_size(Val) =:= 4 -> ?CLASS(ThisT,wxGrid), @@ -1434,8 +1608,9 @@ setCellTextColour(#wx_ref{type=ThisT,ref=ThisRef},Val,Row,Col) wxe_util:cast(?wxGrid_SetCellTextColour_3_1, <>). -%% @spec (This::wxGrid(), Coords::{R::integer(), C::integer()}, S::string()) -> ok %% @doc See external documentation. +-spec setCellValue(This, Coords, S) -> ok when + This::wxGrid(), Coords::{R::integer(), C::integer()}, S::string(). setCellValue(#wx_ref{type=ThisT,ref=ThisRef},{CoordsR,CoordsC},S) when is_integer(CoordsR),is_integer(CoordsC),is_list(S) -> ?CLASS(ThisT,wxGrid), @@ -1443,15 +1618,11 @@ setCellValue(#wx_ref{type=ThisT,ref=ThisRef},{CoordsR,CoordsC},S) wxe_util:cast(?wxGrid_SetCellValue_2, <>). -%% @spec (This::wxGrid(),X::integer()|string(),X::integer(),X::string()|integer()) -> ok %% @doc See external documentation. -%%
Alternatives: -%%

-%% setCellValue(This::wxGrid(), Row::integer(), Col::integer(), S::string()) -> ok -%%

-%%

-%% setCellValue(This::wxGrid(), Val::string(), Row::integer(), Col::integer()) -> ok -%%

+-spec setCellValue(This, Row, Col, S) -> ok when + This::wxGrid(), Row::integer(), Col::integer(), S::string(); + (This, Val, Row, Col) -> ok when + This::wxGrid(), Val::string(), Row::integer(), Col::integer(). setCellValue(#wx_ref{type=ThisT,ref=ThisRef},Row,Col,S) when is_integer(Row),is_integer(Col),is_list(S) -> ?CLASS(ThisT,wxGrid), @@ -1465,8 +1636,9 @@ setCellValue(#wx_ref{type=ThisT,ref=ThisRef},Val,Row,Col) wxe_util:cast(?wxGrid_SetCellValue_3_1, <>). -%% @spec (This::wxGrid(), Col::integer(), Attr::wxGridCellAttr:wxGridCellAttr()) -> ok %% @doc See external documentation. +-spec setColAttr(This, Col, Attr) -> ok when + This::wxGrid(), Col::integer(), Attr::wxGridCellAttr:wxGridCellAttr(). setColAttr(#wx_ref{type=ThisT,ref=ThisRef},Col,#wx_ref{type=AttrT,ref=AttrRef}) when is_integer(Col) -> ?CLASS(ThisT,wxGrid), @@ -1474,31 +1646,37 @@ setColAttr(#wx_ref{type=ThisT,ref=ThisRef},Col,#wx_ref{type=AttrT,ref=AttrRef}) wxe_util:cast(?wxGrid_SetColAttr, <>). -%% @spec (This::wxGrid(), Col::integer()) -> ok %% @doc See external documentation. +-spec setColFormatBool(This, Col) -> ok when + This::wxGrid(), Col::integer(). setColFormatBool(#wx_ref{type=ThisT,ref=ThisRef},Col) when is_integer(Col) -> ?CLASS(ThisT,wxGrid), wxe_util:cast(?wxGrid_SetColFormatBool, <>). -%% @spec (This::wxGrid(), Col::integer()) -> ok %% @doc See external documentation. +-spec setColFormatNumber(This, Col) -> ok when + This::wxGrid(), Col::integer(). setColFormatNumber(#wx_ref{type=ThisT,ref=ThisRef},Col) when is_integer(Col) -> ?CLASS(ThisT,wxGrid), wxe_util:cast(?wxGrid_SetColFormatNumber, <>). -%% @spec (This::wxGrid(), Col::integer()) -> ok %% @equiv setColFormatFloat(This,Col, []) +-spec setColFormatFloat(This, Col) -> ok when + This::wxGrid(), Col::integer(). + setColFormatFloat(This,Col) when is_record(This, wx_ref),is_integer(Col) -> setColFormatFloat(This,Col, []). -%% @spec (This::wxGrid(), Col::integer(), [Option]) -> ok -%% Option = {width, integer()} | {precision, integer()} %% @doc See external documentation. +-spec setColFormatFloat(This, Col, [Option]) -> ok when + This::wxGrid(), Col::integer(), + Option :: {width, integer()} + | {precision, integer()}. setColFormatFloat(#wx_ref{type=ThisT,ref=ThisRef},Col, Options) when is_integer(Col),is_list(Options) -> ?CLASS(ThisT,wxGrid), @@ -1509,8 +1687,9 @@ setColFormatFloat(#wx_ref{type=ThisT,ref=ThisRef},Col, Options) wxe_util:cast(?wxGrid_SetColFormatFloat, <>). -%% @spec (This::wxGrid(), Col::integer(), TypeName::string()) -> ok %% @doc See external documentation. +-spec setColFormatCustom(This, Col, TypeName) -> ok when + This::wxGrid(), Col::integer(), TypeName::string(). setColFormatCustom(#wx_ref{type=ThisT,ref=ThisRef},Col,TypeName) when is_integer(Col),is_list(TypeName) -> ?CLASS(ThisT,wxGrid), @@ -1518,24 +1697,27 @@ setColFormatCustom(#wx_ref{type=ThisT,ref=ThisRef},Col,TypeName) wxe_util:cast(?wxGrid_SetColFormatCustom, <>). -%% @spec (This::wxGrid(), Horiz::integer(), Vert::integer()) -> ok %% @doc See external documentation. +-spec setColLabelAlignment(This, Horiz, Vert) -> ok when + This::wxGrid(), Horiz::integer(), Vert::integer(). setColLabelAlignment(#wx_ref{type=ThisT,ref=ThisRef},Horiz,Vert) when is_integer(Horiz),is_integer(Vert) -> ?CLASS(ThisT,wxGrid), wxe_util:cast(?wxGrid_SetColLabelAlignment, <>). -%% @spec (This::wxGrid(), Height::integer()) -> ok %% @doc See external documentation. +-spec setColLabelSize(This, Height) -> ok when + This::wxGrid(), Height::integer(). setColLabelSize(#wx_ref{type=ThisT,ref=ThisRef},Height) when is_integer(Height) -> ?CLASS(ThisT,wxGrid), wxe_util:cast(?wxGrid_SetColLabelSize, <>). -%% @spec (This::wxGrid(), Col::integer(), Val::string()) -> ok %% @doc See external documentation. +-spec setColLabelValue(This, Col, Val) -> ok when + This::wxGrid(), Col::integer(), Val::string(). setColLabelValue(#wx_ref{type=ThisT,ref=ThisRef},Col,Val) when is_integer(Col),is_list(Val) -> ?CLASS(ThisT,wxGrid), @@ -1543,87 +1725,99 @@ setColLabelValue(#wx_ref{type=ThisT,ref=ThisRef},Col,Val) wxe_util:cast(?wxGrid_SetColLabelValue, <>). -%% @spec (This::wxGrid(), Col::integer(), Width::integer()) -> ok %% @doc See external documentation. +-spec setColMinimalWidth(This, Col, Width) -> ok when + This::wxGrid(), Col::integer(), Width::integer(). setColMinimalWidth(#wx_ref{type=ThisT,ref=ThisRef},Col,Width) when is_integer(Col),is_integer(Width) -> ?CLASS(ThisT,wxGrid), wxe_util:cast(?wxGrid_SetColMinimalWidth, <>). -%% @spec (This::wxGrid(), Width::integer()) -> ok %% @doc See external documentation. +-spec setColMinimalAcceptableWidth(This, Width) -> ok when + This::wxGrid(), Width::integer(). setColMinimalAcceptableWidth(#wx_ref{type=ThisT,ref=ThisRef},Width) when is_integer(Width) -> ?CLASS(ThisT,wxGrid), wxe_util:cast(?wxGrid_SetColMinimalAcceptableWidth, <>). -%% @spec (This::wxGrid(), Col::integer(), Width::integer()) -> ok %% @doc See external documentation. +-spec setColSize(This, Col, Width) -> ok when + This::wxGrid(), Col::integer(), Width::integer(). setColSize(#wx_ref{type=ThisT,ref=ThisRef},Col,Width) when is_integer(Col),is_integer(Width) -> ?CLASS(ThisT,wxGrid), wxe_util:cast(?wxGrid_SetColSize, <>). -%% @spec (This::wxGrid(), Horiz::integer(), Vert::integer()) -> ok %% @doc See external documentation. +-spec setDefaultCellAlignment(This, Horiz, Vert) -> ok when + This::wxGrid(), Horiz::integer(), Vert::integer(). setDefaultCellAlignment(#wx_ref{type=ThisT,ref=ThisRef},Horiz,Vert) when is_integer(Horiz),is_integer(Vert) -> ?CLASS(ThisT,wxGrid), wxe_util:cast(?wxGrid_SetDefaultCellAlignment, <>). -%% @spec (This::wxGrid(), Val::wx:colour()) -> ok %% @doc See external documentation. +-spec setDefaultCellBackgroundColour(This, Val) -> ok when + This::wxGrid(), Val::wx:wx_colour(). setDefaultCellBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef},Val) when tuple_size(Val) =:= 3; tuple_size(Val) =:= 4 -> ?CLASS(ThisT,wxGrid), wxe_util:cast(?wxGrid_SetDefaultCellBackgroundColour, <>). -%% @spec (This::wxGrid(), Val::wxFont:wxFont()) -> ok %% @doc See external documentation. +-spec setDefaultCellFont(This, Val) -> ok when + This::wxGrid(), Val::wxFont:wxFont(). setDefaultCellFont(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ValT,ref=ValRef}) -> ?CLASS(ThisT,wxGrid), ?CLASS(ValT,wxFont), wxe_util:cast(?wxGrid_SetDefaultCellFont, <>). -%% @spec (This::wxGrid(), Val::wx:colour()) -> ok %% @doc See external documentation. +-spec setDefaultCellTextColour(This, Val) -> ok when + This::wxGrid(), Val::wx:wx_colour(). setDefaultCellTextColour(#wx_ref{type=ThisT,ref=ThisRef},Val) when tuple_size(Val) =:= 3; tuple_size(Val) =:= 4 -> ?CLASS(ThisT,wxGrid), wxe_util:cast(?wxGrid_SetDefaultCellTextColour, <>). -%% @spec (This::wxGrid(), Editor::wxGridCellEditor:wxGridCellEditor()) -> ok %% @doc See external documentation. +-spec setDefaultEditor(This, Editor) -> ok when + This::wxGrid(), Editor::wxGridCellEditor:wxGridCellEditor(). setDefaultEditor(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=EditorT,ref=EditorRef}) -> ?CLASS(ThisT,wxGrid), ?CLASS(EditorT,wxGridCellEditor), wxe_util:cast(?wxGrid_SetDefaultEditor, <>). -%% @spec (This::wxGrid(), Renderer::wxGridCellRenderer:wxGridCellRenderer()) -> ok %% @doc See external documentation. +-spec setDefaultRenderer(This, Renderer) -> ok when + This::wxGrid(), Renderer::wxGridCellRenderer:wxGridCellRenderer(). setDefaultRenderer(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=RendererT,ref=RendererRef}) -> ?CLASS(ThisT,wxGrid), ?CLASS(RendererT,wxGridCellRenderer), wxe_util:cast(?wxGrid_SetDefaultRenderer, <>). -%% @spec (This::wxGrid(), Width::integer()) -> ok %% @equiv setDefaultColSize(This,Width, []) +-spec setDefaultColSize(This, Width) -> ok when + This::wxGrid(), Width::integer(). + setDefaultColSize(This,Width) when is_record(This, wx_ref),is_integer(Width) -> setDefaultColSize(This,Width, []). -%% @spec (This::wxGrid(), Width::integer(), [Option]) -> ok -%% Option = {resizeExistingCols, bool()} %% @doc See external documentation. +-spec setDefaultColSize(This, Width, [Option]) -> ok when + This::wxGrid(), Width::integer(), + Option :: {resizeExistingCols, boolean()}. setDefaultColSize(#wx_ref{type=ThisT,ref=ThisRef},Width, Options) when is_integer(Width),is_list(Options) -> ?CLASS(ThisT,wxGrid), @@ -1633,15 +1827,18 @@ setDefaultColSize(#wx_ref{type=ThisT,ref=ThisRef},Width, Options) wxe_util:cast(?wxGrid_SetDefaultColSize, <>). -%% @spec (This::wxGrid(), Height::integer()) -> ok %% @equiv setDefaultRowSize(This,Height, []) +-spec setDefaultRowSize(This, Height) -> ok when + This::wxGrid(), Height::integer(). + setDefaultRowSize(This,Height) when is_record(This, wx_ref),is_integer(Height) -> setDefaultRowSize(This,Height, []). -%% @spec (This::wxGrid(), Height::integer(), [Option]) -> ok -%% Option = {resizeExistingRows, bool()} %% @doc See external documentation. +-spec setDefaultRowSize(This, Height, [Option]) -> ok when + This::wxGrid(), Height::integer(), + Option :: {resizeExistingRows, boolean()}. setDefaultRowSize(#wx_ref{type=ThisT,ref=ThisRef},Height, Options) when is_integer(Height),is_list(Options) -> ?CLASS(ThisT,wxGrid), @@ -1651,63 +1848,72 @@ setDefaultRowSize(#wx_ref{type=ThisT,ref=ThisRef},Height, Options) wxe_util:cast(?wxGrid_SetDefaultRowSize, <>). -%% @spec (This::wxGrid(), Row::integer(), Col::integer()) -> ok %% @doc See external documentation. +-spec setGridCursor(This, Row, Col) -> ok when + This::wxGrid(), Row::integer(), Col::integer(). setGridCursor(#wx_ref{type=ThisT,ref=ThisRef},Row,Col) when is_integer(Row),is_integer(Col) -> ?CLASS(ThisT,wxGrid), wxe_util:cast(?wxGrid_SetGridCursor, <>). -%% @spec (This::wxGrid(), Val::wx:colour()) -> ok %% @doc See external documentation. +-spec setGridLineColour(This, Val) -> ok when + This::wxGrid(), Val::wx:wx_colour(). setGridLineColour(#wx_ref{type=ThisT,ref=ThisRef},Val) when tuple_size(Val) =:= 3; tuple_size(Val) =:= 4 -> ?CLASS(ThisT,wxGrid), wxe_util:cast(?wxGrid_SetGridLineColour, <>). -%% @spec (This::wxGrid(), Val::wx:colour()) -> ok %% @doc See external documentation. +-spec setLabelBackgroundColour(This, Val) -> ok when + This::wxGrid(), Val::wx:wx_colour(). setLabelBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef},Val) when tuple_size(Val) =:= 3; tuple_size(Val) =:= 4 -> ?CLASS(ThisT,wxGrid), wxe_util:cast(?wxGrid_SetLabelBackgroundColour, <>). -%% @spec (This::wxGrid(), Val::wxFont:wxFont()) -> ok %% @doc See external documentation. +-spec setLabelFont(This, Val) -> ok when + This::wxGrid(), Val::wxFont:wxFont(). setLabelFont(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ValT,ref=ValRef}) -> ?CLASS(ThisT,wxGrid), ?CLASS(ValT,wxFont), wxe_util:cast(?wxGrid_SetLabelFont, <>). -%% @spec (This::wxGrid(), Val::wx:colour()) -> ok %% @doc See external documentation. +-spec setLabelTextColour(This, Val) -> ok when + This::wxGrid(), Val::wx:wx_colour(). setLabelTextColour(#wx_ref{type=ThisT,ref=ThisRef},Val) when tuple_size(Val) =:= 3; tuple_size(Val) =:= 4 -> ?CLASS(ThisT,wxGrid), wxe_util:cast(?wxGrid_SetLabelTextColour, <>). -%% @spec (This::wxGrid(), ExtraWidth::integer(), ExtraHeight::integer()) -> ok %% @doc See external documentation. +-spec setMargins(This, ExtraWidth, ExtraHeight) -> ok when + This::wxGrid(), ExtraWidth::integer(), ExtraHeight::integer(). setMargins(#wx_ref{type=ThisT,ref=ThisRef},ExtraWidth,ExtraHeight) when is_integer(ExtraWidth),is_integer(ExtraHeight) -> ?CLASS(ThisT,wxGrid), wxe_util:cast(?wxGrid_SetMargins, <>). -%% @spec (This::wxGrid(), Row::integer(), Col::integer()) -> ok %% @equiv setReadOnly(This,Row,Col, []) +-spec setReadOnly(This, Row, Col) -> ok when + This::wxGrid(), Row::integer(), Col::integer(). + setReadOnly(This,Row,Col) when is_record(This, wx_ref),is_integer(Row),is_integer(Col) -> setReadOnly(This,Row,Col, []). -%% @spec (This::wxGrid(), Row::integer(), Col::integer(), [Option]) -> ok -%% Option = {isReadOnly, bool()} %% @doc See external documentation. +-spec setReadOnly(This, Row, Col, [Option]) -> ok when + This::wxGrid(), Row::integer(), Col::integer(), + Option :: {isReadOnly, boolean()}. setReadOnly(#wx_ref{type=ThisT,ref=ThisRef},Row,Col, Options) when is_integer(Row),is_integer(Col),is_list(Options) -> ?CLASS(ThisT,wxGrid), @@ -1717,8 +1923,9 @@ setReadOnly(#wx_ref{type=ThisT,ref=ThisRef},Row,Col, Options) wxe_util:cast(?wxGrid_SetReadOnly, <>). -%% @spec (This::wxGrid(), Row::integer(), Attr::wxGridCellAttr:wxGridCellAttr()) -> ok %% @doc See external documentation. +-spec setRowAttr(This, Row, Attr) -> ok when + This::wxGrid(), Row::integer(), Attr::wxGridCellAttr:wxGridCellAttr(). setRowAttr(#wx_ref{type=ThisT,ref=ThisRef},Row,#wx_ref{type=AttrT,ref=AttrRef}) when is_integer(Row) -> ?CLASS(ThisT,wxGrid), @@ -1726,24 +1933,27 @@ setRowAttr(#wx_ref{type=ThisT,ref=ThisRef},Row,#wx_ref{type=AttrT,ref=AttrRef}) wxe_util:cast(?wxGrid_SetRowAttr, <>). -%% @spec (This::wxGrid(), Horiz::integer(), Vert::integer()) -> ok %% @doc See external documentation. +-spec setRowLabelAlignment(This, Horiz, Vert) -> ok when + This::wxGrid(), Horiz::integer(), Vert::integer(). setRowLabelAlignment(#wx_ref{type=ThisT,ref=ThisRef},Horiz,Vert) when is_integer(Horiz),is_integer(Vert) -> ?CLASS(ThisT,wxGrid), wxe_util:cast(?wxGrid_SetRowLabelAlignment, <>). -%% @spec (This::wxGrid(), Width::integer()) -> ok %% @doc See external documentation. +-spec setRowLabelSize(This, Width) -> ok when + This::wxGrid(), Width::integer(). setRowLabelSize(#wx_ref{type=ThisT,ref=ThisRef},Width) when is_integer(Width) -> ?CLASS(ThisT,wxGrid), wxe_util:cast(?wxGrid_SetRowLabelSize, <>). -%% @spec (This::wxGrid(), Row::integer(), Val::string()) -> ok %% @doc See external documentation. +-spec setRowLabelValue(This, Row, Val) -> ok when + This::wxGrid(), Row::integer(), Val::string(). setRowLabelValue(#wx_ref{type=ThisT,ref=ThisRef},Row,Val) when is_integer(Row),is_list(Val) -> ?CLASS(ThisT,wxGrid), @@ -1751,88 +1961,99 @@ setRowLabelValue(#wx_ref{type=ThisT,ref=ThisRef},Row,Val) wxe_util:cast(?wxGrid_SetRowLabelValue, <>). -%% @spec (This::wxGrid(), Row::integer(), Width::integer()) -> ok %% @doc See external documentation. +-spec setRowMinimalHeight(This, Row, Width) -> ok when + This::wxGrid(), Row::integer(), Width::integer(). setRowMinimalHeight(#wx_ref{type=ThisT,ref=ThisRef},Row,Width) when is_integer(Row),is_integer(Width) -> ?CLASS(ThisT,wxGrid), wxe_util:cast(?wxGrid_SetRowMinimalHeight, <>). -%% @spec (This::wxGrid(), Width::integer()) -> ok %% @doc See external documentation. +-spec setRowMinimalAcceptableHeight(This, Width) -> ok when + This::wxGrid(), Width::integer(). setRowMinimalAcceptableHeight(#wx_ref{type=ThisT,ref=ThisRef},Width) when is_integer(Width) -> ?CLASS(ThisT,wxGrid), wxe_util:cast(?wxGrid_SetRowMinimalAcceptableHeight, <>). -%% @spec (This::wxGrid(), Row::integer(), Height::integer()) -> ok %% @doc See external documentation. +-spec setRowSize(This, Row, Height) -> ok when + This::wxGrid(), Row::integer(), Height::integer(). setRowSize(#wx_ref{type=ThisT,ref=ThisRef},Row,Height) when is_integer(Row),is_integer(Height) -> ?CLASS(ThisT,wxGrid), wxe_util:cast(?wxGrid_SetRowSize, <>). -%% @spec (This::wxGrid(), X::integer()) -> ok %% @doc See external documentation. +-spec setScrollLineX(This, X) -> ok when + This::wxGrid(), X::integer(). setScrollLineX(#wx_ref{type=ThisT,ref=ThisRef},X) when is_integer(X) -> ?CLASS(ThisT,wxGrid), wxe_util:cast(?wxGrid_SetScrollLineX, <>). -%% @spec (This::wxGrid(), Y::integer()) -> ok %% @doc See external documentation. +-spec setScrollLineY(This, Y) -> ok when + This::wxGrid(), Y::integer(). setScrollLineY(#wx_ref{type=ThisT,ref=ThisRef},Y) when is_integer(Y) -> ?CLASS(ThisT,wxGrid), wxe_util:cast(?wxGrid_SetScrollLineY, <>). -%% @spec (This::wxGrid(), C::wx:colour()) -> ok %% @doc See external documentation. +-spec setSelectionBackground(This, C) -> ok when + This::wxGrid(), C::wx:wx_colour(). setSelectionBackground(#wx_ref{type=ThisT,ref=ThisRef},C) when tuple_size(C) =:= 3; tuple_size(C) =:= 4 -> ?CLASS(ThisT,wxGrid), wxe_util:cast(?wxGrid_SetSelectionBackground, <>). -%% @spec (This::wxGrid(), C::wx:colour()) -> ok %% @doc See external documentation. +-spec setSelectionForeground(This, C) -> ok when + This::wxGrid(), C::wx:wx_colour(). setSelectionForeground(#wx_ref{type=ThisT,ref=ThisRef},C) when tuple_size(C) =:= 3; tuple_size(C) =:= 4 -> ?CLASS(ThisT,wxGrid), wxe_util:cast(?wxGrid_SetSelectionForeground, <>). -%% @spec (This::wxGrid(), Selmode::WxGridSelectionModes) -> ok -%% WxGridSelectionModes = integer() %% @doc See external documentation. -%%
WxGridSelectionModes is one of ?wxGrid_wxGridSelectCells | ?wxGrid_wxGridSelectRows | ?wxGrid_wxGridSelectColumns +%%
Selmode = ?wxGrid_wxGridSelectCells | ?wxGrid_wxGridSelectRows | ?wxGrid_wxGridSelectColumns +-spec setSelectionMode(This, Selmode) -> ok when + This::wxGrid(), Selmode::wx:wx_enum(). setSelectionMode(#wx_ref{type=ThisT,ref=ThisRef},Selmode) when is_integer(Selmode) -> ?CLASS(ThisT,wxGrid), wxe_util:cast(?wxGrid_SetSelectionMode, <>). -%% @spec (This::wxGrid()) -> ok %% @doc See external documentation. +-spec showCellEditControl(This) -> ok when + This::wxGrid(). showCellEditControl(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), wxe_util:cast(?wxGrid_ShowCellEditControl, <>). -%% @spec (This::wxGrid(), X::integer()) -> integer() %% @equiv xToCol(This,X, []) +-spec xToCol(This, X) -> integer() when + This::wxGrid(), X::integer(). + xToCol(This,X) when is_record(This, wx_ref),is_integer(X) -> xToCol(This,X, []). -%% @spec (This::wxGrid(), X::integer(), [Option]) -> integer() -%% Option = {clipToMinMax, bool()} %% @doc See external documentation. +-spec xToCol(This, X, [Option]) -> integer() when + This::wxGrid(), X::integer(), + Option :: {clipToMinMax, boolean()}. xToCol(#wx_ref{type=ThisT,ref=ThisRef},X, Options) when is_integer(X),is_list(Options) -> ?CLASS(ThisT,wxGrid), @@ -1842,32 +2063,35 @@ xToCol(#wx_ref{type=ThisT,ref=ThisRef},X, Options) wxe_util:call(?wxGrid_XToCol, <>). -%% @spec (This::wxGrid(), X::integer()) -> integer() %% @doc See external documentation. +-spec xToEdgeOfCol(This, X) -> integer() when + This::wxGrid(), X::integer(). xToEdgeOfCol(#wx_ref{type=ThisT,ref=ThisRef},X) when is_integer(X) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_XToEdgeOfCol, <>). -%% @spec (This::wxGrid(), Y::integer()) -> integer() %% @doc See external documentation. +-spec yToEdgeOfRow(This, Y) -> integer() when + This::wxGrid(), Y::integer(). yToEdgeOfRow(#wx_ref{type=ThisT,ref=ThisRef},Y) when is_integer(Y) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_YToEdgeOfRow, <>). -%% @spec (This::wxGrid(), Y::integer()) -> integer() %% @doc See external documentation. +-spec yToRow(This, Y) -> integer() when + This::wxGrid(), Y::integer(). yToRow(#wx_ref{type=ThisT,ref=ThisRef},Y) when is_integer(Y) -> ?CLASS(ThisT,wxGrid), wxe_util:call(?wxGrid_YToRow, <>). -%% @spec (This::wxGrid()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxGrid) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxGrid), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxGridBagSizer.erl b/lib/wx/src/gen/wxGridBagSizer.erl index d2b8a2b045..10d87d0a4e 100644 --- a/lib/wx/src/gen/wxGridBagSizer.erl +++ b/lib/wx/src/gen/wxGridBagSizer.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,20 +48,24 @@ setItemMinSize/4,setMinSize/2,setMinSize/3,setNonFlexibleGrowMode/2, setRows/2,setSizeHints/2,setVGap/2,setVirtualSizeHints/2,show/2,show/3]). +-export_type([wxGridBagSizer/0]). %% @hidden parent_class(wxFlexGridSizer) -> true; parent_class(wxGridSizer) -> true; parent_class(wxSizer) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxGridBagSizer() +-type wxGridBagSizer() :: wx:wx_object(). %% @equiv new([]) +-spec new() -> wxGridBagSizer(). + new() -> new([]). -%% @spec ([Option]) -> wxGridBagSizer() -%% Option = {vgap, integer()} | {hgap, integer()} %% @doc See external documentation. +-spec new([Option]) -> wxGridBagSizer() when + Option :: {vgap, integer()} + | {hgap, integer()}. new(Options) when is_list(Options) -> MOpts = fun({vgap, Vgap}, Acc) -> [<<1:32/?UI,Vgap:32/?UI>>|Acc]; @@ -71,8 +75,9 @@ new(Options) wxe_util:construct(?wxGridBagSizer_new, <>). -%% @spec (This::wxGridBagSizer(), Item::wxSizerItem:wxSizerItem() | wxGBSizerItem:wxGBSizerItem()) -> wxSizerItem:wxSizerItem() %% @doc See external documentation. +-spec add(This, Item) -> wxSizerItem:wxSizerItem() when + This::wxGridBagSizer(), Item::wxSizerItem:wxSizerItem() | wxGBSizerItem:wxGBSizerItem(). add(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ItemT,ref=ItemRef}) -> ?CLASS(ThisT,wxGridBagSizer), ItemOP = case ?CLASS_T(ItemT,wxSizerItem) of @@ -84,17 +89,17 @@ add(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ItemT,ref=ItemRef}) -> wxe_util:call(ItemOP, <>). -%% @spec (This::wxGridBagSizer(),X::integer()|term(),X::integer()|term()) -> wxSizerItem:wxSizerItem() %% @doc See external documentation. -%%
Alternatives: -%%

-%% add(This::wxGridBagSizer(), Width::integer(), Height::integer()) -> add(This,Width,Height, [])

-%%

-%% add(This::wxGridBagSizer(), Window::wxWindow:wxWindow() | wxSizer:wxSizer(), Pos::{R::integer(), C::integer()}) -> add(This,Window,Pos, [])

-%%

-%% add(This::wxGridBagSizer(), Window::wxWindow:wxWindow() | wxSizer:wxSizer(), [Option]) -> wxSizerItem:wxSizerItem() -%%
Option = {proportion, integer()} | {flag, integer()} | {border, integer()} | {userData, wx:wx()} -%%

+-spec add(This, Width, Height) -> wxSizerItem:wxSizerItem() when + This::wxGridBagSizer(), Width::integer(), Height::integer(); + (This, Window, Pos) -> wxSizerItem:wxSizerItem() when + This::wxGridBagSizer(), Window::wxWindow:wxWindow() | wxSizer:wxSizer(), Pos::{R::integer(), C::integer()}; + (This, Window, [Option]) -> wxSizerItem:wxSizerItem() when + This::wxGridBagSizer(), Window::wxWindow:wxWindow() | wxSizer:wxSizer(), + Option :: {proportion, integer()} + | {flag, integer()} + | {border, integer()} + | {userData, wx:wx()}. add(This,Width,Height) when is_record(This, wx_ref),is_integer(Width),is_integer(Height) -> @@ -121,19 +126,21 @@ add(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef}, Options wxe_util:call(WindowOP, <>). -%% @spec (This::wxGridBagSizer(),X::integer()|term(),X::integer()|term(),X::term()) -> wxSizerItem:wxSizerItem() %% @doc See external documentation. -%%
Alternatives: -%%

-%% add(This::wxGridBagSizer(), Width::integer(), Height::integer(), Pos::{R::integer(), C::integer()}) -> add(This,Width,Height,Pos, [])

-%%

-%% add(This::wxGridBagSizer(), Width::integer(), Height::integer(), [Option]) -> wxSizerItem:wxSizerItem() -%%
Option = {proportion, integer()} | {flag, integer()} | {border, integer()} | {userData, wx:wx()} -%%

-%%

-%% add(This::wxGridBagSizer(), Window::wxWindow:wxWindow() | wxSizer:wxSizer(), Pos::{R::integer(), C::integer()}, [Option]) -> wxSizerItem:wxSizerItem() -%%
Option = {span, {RS::integer(), CS::integer()}} | {flag, integer()} | {border, integer()} | {userData, wx:wx()} -%%

+-spec add(This, Width, Height, Pos) -> wxSizerItem:wxSizerItem() when + This::wxGridBagSizer(), Width::integer(), Height::integer(), Pos::{R::integer(), C::integer()}; + (This, Width, Height, [Option]) -> wxSizerItem:wxSizerItem() when + This::wxGridBagSizer(), Width::integer(), Height::integer(), + Option :: {proportion, integer()} + | {flag, integer()} + | {border, integer()} + | {userData, wx:wx()}; + (This, Window, Pos, [Option]) -> wxSizerItem:wxSizerItem() when + This::wxGridBagSizer(), Window::wxWindow:wxWindow() | wxSizer:wxSizer(), Pos::{R::integer(), C::integer()}, + Option :: {span, {RS::integer(), CS::integer()}} + | {flag, integer()} + | {border, integer()} + | {userData, wx:wx()}. add(This,Width,Height,Pos={PosR,PosC}) when is_record(This, wx_ref),is_integer(Width),is_integer(Height),is_integer(PosR),is_integer(PosC) -> @@ -167,9 +174,13 @@ add(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef},{PosR,Po wxe_util:call(WindowOP, <>). -%% @spec (This::wxGridBagSizer(), Width::integer(), Height::integer(), Pos::{R::integer(), C::integer()}, [Option]) -> wxSizerItem:wxSizerItem() -%% Option = {span, {RS::integer(), CS::integer()}} | {flag, integer()} | {border, integer()} | {userData, wx:wx()} %% @doc See external documentation. +-spec add(This, Width, Height, Pos, [Option]) -> wxSizerItem:wxSizerItem() when + This::wxGridBagSizer(), Width::integer(), Height::integer(), Pos::{R::integer(), C::integer()}, + Option :: {span, {RS::integer(), CS::integer()}} + | {flag, integer()} + | {border, integer()} + | {userData, wx:wx()}. add(#wx_ref{type=ThisT,ref=ThisRef},Width,Height,{PosR,PosC}, Options) when is_integer(Width),is_integer(Height),is_integer(PosR),is_integer(PosC),is_list(Options) -> ?CLASS(ThisT,wxGridBagSizer), @@ -182,28 +193,28 @@ add(#wx_ref{type=ThisT,ref=ThisRef},Width,Height,{PosR,PosC}, Options) wxe_util:call(?wxGridBagSizer_Add_4, <>). -%% @spec (This::wxGridBagSizer()) -> {W::integer(), H::integer()} %% @doc See external documentation. +-spec calcMin(This) -> {W::integer(), H::integer()} when + This::wxGridBagSizer(). calcMin(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGridBagSizer), wxe_util:call(?wxGridBagSizer_CalcMin, <>). -%% @spec (This::wxGridBagSizer(), Item::wxGBSizerItem:wxGBSizerItem()) -> bool() %% @equiv checkForIntersection(This,Item, []) +-spec checkForIntersection(This, Item) -> boolean() when + This::wxGridBagSizer(), Item::wxGBSizerItem:wxGBSizerItem(). + checkForIntersection(This,Item) when is_record(This, wx_ref),is_record(Item, wx_ref) -> checkForIntersection(This,Item, []). -%% @spec (This::wxGridBagSizer(),X::term(),X::term()) -> bool() %% @doc See external documentation. -%%
Alternatives: -%%

-%% checkForIntersection(This::wxGridBagSizer(), Pos::{R::integer(), C::integer()}, Span::{RS::integer(), CS::integer()}) -> checkForIntersection(This,Pos,Span, [])

-%%

-%% checkForIntersection(This::wxGridBagSizer(), Item::wxGBSizerItem:wxGBSizerItem(), [Option]) -> bool() -%%
Option = {excludeItem, wxGBSizerItem:wxGBSizerItem()} -%%

+-spec checkForIntersection(This, Pos, Span) -> boolean() when + This::wxGridBagSizer(), Pos::{R::integer(), C::integer()}, Span::{RS::integer(), CS::integer()}; + (This, Item, [Option]) -> boolean() when + This::wxGridBagSizer(), Item::wxGBSizerItem:wxGBSizerItem(), + Option :: {excludeItem, wxGBSizerItem:wxGBSizerItem()}. checkForIntersection(This,Pos={PosR,PosC},Span={SpanRS,SpanCS}) when is_record(This, wx_ref),is_integer(PosR),is_integer(PosC),is_integer(SpanRS),is_integer(SpanCS) -> @@ -218,9 +229,10 @@ checkForIntersection(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ItemT,ref=Item wxe_util:call(?wxGridBagSizer_CheckForIntersection_2, <>). -%% @spec (This::wxGridBagSizer(), Pos::{R::integer(), C::integer()}, Span::{RS::integer(), CS::integer()}, [Option]) -> bool() -%% Option = {excludeItem, wxGBSizerItem:wxGBSizerItem()} %% @doc See external documentation. +-spec checkForIntersection(This, Pos, Span, [Option]) -> boolean() when + This::wxGridBagSizer(), Pos::{R::integer(), C::integer()}, Span::{RS::integer(), CS::integer()}, + Option :: {excludeItem, wxGBSizerItem:wxGBSizerItem()}. checkForIntersection(#wx_ref{type=ThisT,ref=ThisRef},{PosR,PosC},{SpanRS,SpanCS}, Options) when is_integer(PosR),is_integer(PosC),is_integer(SpanRS),is_integer(SpanCS),is_list(Options) -> ?CLASS(ThisT,wxGridBagSizer), @@ -230,8 +242,9 @@ checkForIntersection(#wx_ref{type=ThisT,ref=ThisRef},{PosR,PosC},{SpanRS,SpanCS} wxe_util:call(?wxGridBagSizer_CheckForIntersection_3, <>). -%% @spec (This::wxGridBagSizer(), Window::wxWindow:wxWindow() | wxSizer:wxSizer()) -> wxGBSizerItem:wxGBSizerItem() %% @doc See external documentation. +-spec findItem(This, Window) -> wxGBSizerItem:wxGBSizerItem() when + This::wxGridBagSizer(), Window::wxWindow:wxWindow() | wxSizer:wxSizer(). findItem(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef}) -> ?CLASS(ThisT,wxGridBagSizer), WindowOP = case ?CLASS_T(WindowT,wxWindow) of @@ -243,54 +256,55 @@ findItem(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef}) -> wxe_util:call(WindowOP, <>). -%% @spec (This::wxGridBagSizer(), Pt::{X::integer(), Y::integer()}) -> wxGBSizerItem:wxGBSizerItem() %% @doc See external documentation. +-spec findItemAtPoint(This, Pt) -> wxGBSizerItem:wxGBSizerItem() when + This::wxGridBagSizer(), Pt::{X::integer(), Y::integer()}. findItemAtPoint(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY}) when is_integer(PtX),is_integer(PtY) -> ?CLASS(ThisT,wxGridBagSizer), wxe_util:call(?wxGridBagSizer_FindItemAtPoint, <>). -%% @spec (This::wxGridBagSizer(), Pos::{R::integer(), C::integer()}) -> wxGBSizerItem:wxGBSizerItem() %% @doc See external documentation. +-spec findItemAtPosition(This, Pos) -> wxGBSizerItem:wxGBSizerItem() when + This::wxGridBagSizer(), Pos::{R::integer(), C::integer()}. findItemAtPosition(#wx_ref{type=ThisT,ref=ThisRef},{PosR,PosC}) when is_integer(PosR),is_integer(PosC) -> ?CLASS(ThisT,wxGridBagSizer), wxe_util:call(?wxGridBagSizer_FindItemAtPosition, <>). -%% @spec (This::wxGridBagSizer(), UserData::wx:wx()) -> wxGBSizerItem:wxGBSizerItem() %% @doc See external documentation. +-spec findItemWithData(This, UserData) -> wxGBSizerItem:wxGBSizerItem() when + This::wxGridBagSizer(), UserData::wx:wx(). findItemWithData(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=UserDataT,ref=UserDataRef}) -> ?CLASS(ThisT,wxGridBagSizer), ?CLASS(UserDataT,wx), wxe_util:call(?wxGridBagSizer_FindItemWithData, <>). -%% @spec (This::wxGridBagSizer(), Row::integer(), Col::integer()) -> {W::integer(), H::integer()} %% @doc See external documentation. +-spec getCellSize(This, Row, Col) -> {W::integer(), H::integer()} when + This::wxGridBagSizer(), Row::integer(), Col::integer(). getCellSize(#wx_ref{type=ThisT,ref=ThisRef},Row,Col) when is_integer(Row),is_integer(Col) -> ?CLASS(ThisT,wxGridBagSizer), wxe_util:call(?wxGridBagSizer_GetCellSize, <>). -%% @spec (This::wxGridBagSizer()) -> {W::integer(), H::integer()} %% @doc See external documentation. +-spec getEmptyCellSize(This) -> {W::integer(), H::integer()} when + This::wxGridBagSizer(). getEmptyCellSize(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGridBagSizer), wxe_util:call(?wxGridBagSizer_GetEmptyCellSize, <>). -%% @spec (This::wxGridBagSizer(),X::integer()|term()) -> {R::integer(), C::integer()} %% @doc See external documentation. -%%
Alternatives: -%%

-%% getItemPosition(This::wxGridBagSizer(), Index::integer()) -> {R::integer(), C::integer()} -%%

-%%

-%% getItemPosition(This::wxGridBagSizer(), Window::wxWindow:wxWindow() | wxSizer:wxSizer()) -> {R::integer(), C::integer()} -%%

+-spec getItemPosition(This, Index) -> {R::integer(), C::integer()} when + This::wxGridBagSizer(), Index::integer(); + (This, Window) -> {R::integer(), C::integer()} when + This::wxGridBagSizer(), Window::wxWindow:wxWindow() | wxSizer:wxSizer(). getItemPosition(#wx_ref{type=ThisT,ref=ThisRef},Index) when is_integer(Index) -> ?CLASS(ThisT,wxGridBagSizer), @@ -307,15 +321,11 @@ getItemPosition(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowR wxe_util:call(WindowOP, <>). -%% @spec (This::wxGridBagSizer(),X::integer()|term()) -> {RS::integer(), CS::integer()} %% @doc See external documentation. -%%
Alternatives: -%%

-%% getItemSpan(This::wxGridBagSizer(), Index::integer()) -> {RS::integer(), CS::integer()} -%%

-%%

-%% getItemSpan(This::wxGridBagSizer(), Window::wxWindow:wxWindow() | wxSizer:wxSizer()) -> {RS::integer(), CS::integer()} -%%

+-spec getItemSpan(This, Index) -> {RS::integer(), CS::integer()} when + This::wxGridBagSizer(), Index::integer(); + (This, Window) -> {RS::integer(), CS::integer()} when + This::wxGridBagSizer(), Window::wxWindow:wxWindow() | wxSizer:wxSizer(). getItemSpan(#wx_ref{type=ThisT,ref=ThisRef},Index) when is_integer(Index) -> ?CLASS(ThisT,wxGridBagSizer), @@ -332,23 +342,20 @@ getItemSpan(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef}) wxe_util:call(WindowOP, <>). -%% @spec (This::wxGridBagSizer(), Sz::{W::integer(), H::integer()}) -> ok %% @doc See external documentation. +-spec setEmptyCellSize(This, Sz) -> ok when + This::wxGridBagSizer(), Sz::{W::integer(), H::integer()}. setEmptyCellSize(#wx_ref{type=ThisT,ref=ThisRef},{SzW,SzH}) when is_integer(SzW),is_integer(SzH) -> ?CLASS(ThisT,wxGridBagSizer), wxe_util:cast(?wxGridBagSizer_SetEmptyCellSize, <>). -%% @spec (This::wxGridBagSizer(),X::integer()|term(),Pos::{R::integer(), C::integer()}) -> bool() %% @doc See external documentation. -%%
Alternatives: -%%

-%% setItemPosition(This::wxGridBagSizer(), Index::integer(), Pos::{R::integer(), C::integer()}) -> bool() -%%

-%%

-%% setItemPosition(This::wxGridBagSizer(), Window::wxWindow:wxWindow() | wxSizer:wxSizer(), Pos::{R::integer(), C::integer()}) -> bool() -%%

+-spec setItemPosition(This, Index, Pos) -> boolean() when + This::wxGridBagSizer(), Index::integer(), Pos::{R::integer(), C::integer()}; + (This, Window, Pos) -> boolean() when + This::wxGridBagSizer(), Window::wxWindow:wxWindow() | wxSizer:wxSizer(), Pos::{R::integer(), C::integer()}. setItemPosition(#wx_ref{type=ThisT,ref=ThisRef},Index,{PosR,PosC}) when is_integer(Index),is_integer(PosR),is_integer(PosC) -> ?CLASS(ThisT,wxGridBagSizer), @@ -366,15 +373,11 @@ setItemPosition(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowR wxe_util:call(WindowOP, <>). -%% @spec (This::wxGridBagSizer(),X::integer()|term(),Span::{RS::integer(), CS::integer()}) -> bool() %% @doc See external documentation. -%%
Alternatives: -%%

-%% setItemSpan(This::wxGridBagSizer(), Index::integer(), Span::{RS::integer(), CS::integer()}) -> bool() -%%

-%%

-%% setItemSpan(This::wxGridBagSizer(), Window::wxWindow:wxWindow() | wxSizer:wxSizer(), Span::{RS::integer(), CS::integer()}) -> bool() -%%

+-spec setItemSpan(This, Index, Span) -> boolean() when + This::wxGridBagSizer(), Index::integer(), Span::{RS::integer(), CS::integer()}; + (This, Window, Span) -> boolean() when + This::wxGridBagSizer(), Window::wxWindow:wxWindow() | wxSizer:wxSizer(), Span::{RS::integer(), CS::integer()}. setItemSpan(#wx_ref{type=ThisT,ref=ThisRef},Index,{SpanRS,SpanCS}) when is_integer(Index),is_integer(SpanRS),is_integer(SpanCS) -> ?CLASS(ThisT,wxGridBagSizer), @@ -392,8 +395,8 @@ setItemSpan(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef}, wxe_util:call(WindowOP, <>). -%% @spec (This::wxGridBagSizer()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxGridBagSizer) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxGridBagSizer), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxGridCellAttr.erl b/lib/wx/src/gen/wxGridCellAttr.erl index a9a0c1fb79..896bf97489 100644 --- a/lib/wx/src/gen/wxGridCellAttr.erl +++ b/lib/wx/src/gen/wxGridCellAttr.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -33,50 +33,59 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxGridCellAttr/0]). %% @hidden parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxGridCellAttr(), ColText::wx:colour()) -> ok +-type wxGridCellAttr() :: wx:wx_object(). %% @doc See external documentation. +-spec setTextColour(This, ColText) -> ok when + This::wxGridCellAttr(), ColText::wx:wx_colour(). setTextColour(#wx_ref{type=ThisT,ref=ThisRef},ColText) when tuple_size(ColText) =:= 3; tuple_size(ColText) =:= 4 -> ?CLASS(ThisT,wxGridCellAttr), wxe_util:cast(?wxGridCellAttr_SetTextColour, <>). -%% @spec (This::wxGridCellAttr(), ColBack::wx:colour()) -> ok %% @doc See external documentation. +-spec setBackgroundColour(This, ColBack) -> ok when + This::wxGridCellAttr(), ColBack::wx:wx_colour(). setBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef},ColBack) when tuple_size(ColBack) =:= 3; tuple_size(ColBack) =:= 4 -> ?CLASS(ThisT,wxGridCellAttr), wxe_util:cast(?wxGridCellAttr_SetBackgroundColour, <>). -%% @spec (This::wxGridCellAttr(), Font::wxFont:wxFont()) -> ok %% @doc See external documentation. +-spec setFont(This, Font) -> ok when + This::wxGridCellAttr(), Font::wxFont:wxFont(). setFont(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FontT,ref=FontRef}) -> ?CLASS(ThisT,wxGridCellAttr), ?CLASS(FontT,wxFont), wxe_util:cast(?wxGridCellAttr_SetFont, <>). -%% @spec (This::wxGridCellAttr(), HAlign::integer(), VAlign::integer()) -> ok %% @doc See external documentation. +-spec setAlignment(This, HAlign, VAlign) -> ok when + This::wxGridCellAttr(), HAlign::integer(), VAlign::integer(). setAlignment(#wx_ref{type=ThisT,ref=ThisRef},HAlign,VAlign) when is_integer(HAlign),is_integer(VAlign) -> ?CLASS(ThisT,wxGridCellAttr), wxe_util:cast(?wxGridCellAttr_SetAlignment, <>). -%% @spec (This::wxGridCellAttr()) -> ok %% @equiv setReadOnly(This, []) +-spec setReadOnly(This) -> ok when + This::wxGridCellAttr(). + setReadOnly(This) when is_record(This, wx_ref) -> setReadOnly(This, []). -%% @spec (This::wxGridCellAttr(), [Option]) -> ok -%% Option = {isReadOnly, bool()} %% @doc See external documentation. +-spec setReadOnly(This, [Option]) -> ok when + This::wxGridCellAttr(), + Option :: {isReadOnly, boolean()}. setReadOnly(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxGridCellAttr), @@ -86,94 +95,107 @@ setReadOnly(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:cast(?wxGridCellAttr_SetReadOnly, <>). -%% @spec (This::wxGridCellAttr(), Renderer::wxGridCellRenderer:wxGridCellRenderer()) -> ok %% @doc See external documentation. +-spec setRenderer(This, Renderer) -> ok when + This::wxGridCellAttr(), Renderer::wxGridCellRenderer:wxGridCellRenderer(). setRenderer(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=RendererT,ref=RendererRef}) -> ?CLASS(ThisT,wxGridCellAttr), ?CLASS(RendererT,wxGridCellRenderer), wxe_util:cast(?wxGridCellAttr_SetRenderer, <>). -%% @spec (This::wxGridCellAttr(), Editor::wxGridCellEditor:wxGridCellEditor()) -> ok %% @doc See external documentation. +-spec setEditor(This, Editor) -> ok when + This::wxGridCellAttr(), Editor::wxGridCellEditor:wxGridCellEditor(). setEditor(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=EditorT,ref=EditorRef}) -> ?CLASS(ThisT,wxGridCellAttr), ?CLASS(EditorT,wxGridCellEditor), wxe_util:cast(?wxGridCellAttr_SetEditor, <>). -%% @spec (This::wxGridCellAttr()) -> bool() %% @doc See external documentation. +-spec hasTextColour(This) -> boolean() when + This::wxGridCellAttr(). hasTextColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGridCellAttr), wxe_util:call(?wxGridCellAttr_HasTextColour, <>). -%% @spec (This::wxGridCellAttr()) -> bool() %% @doc See external documentation. +-spec hasBackgroundColour(This) -> boolean() when + This::wxGridCellAttr(). hasBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGridCellAttr), wxe_util:call(?wxGridCellAttr_HasBackgroundColour, <>). -%% @spec (This::wxGridCellAttr()) -> bool() %% @doc See external documentation. +-spec hasFont(This) -> boolean() when + This::wxGridCellAttr(). hasFont(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGridCellAttr), wxe_util:call(?wxGridCellAttr_HasFont, <>). -%% @spec (This::wxGridCellAttr()) -> bool() %% @doc See external documentation. +-spec hasAlignment(This) -> boolean() when + This::wxGridCellAttr(). hasAlignment(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGridCellAttr), wxe_util:call(?wxGridCellAttr_HasAlignment, <>). -%% @spec (This::wxGridCellAttr()) -> bool() %% @doc See external documentation. +-spec hasRenderer(This) -> boolean() when + This::wxGridCellAttr(). hasRenderer(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGridCellAttr), wxe_util:call(?wxGridCellAttr_HasRenderer, <>). -%% @spec (This::wxGridCellAttr()) -> bool() %% @doc See external documentation. +-spec hasEditor(This) -> boolean() when + This::wxGridCellAttr(). hasEditor(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGridCellAttr), wxe_util:call(?wxGridCellAttr_HasEditor, <>). -%% @spec (This::wxGridCellAttr()) -> wx:colour() %% @doc See external documentation. +-spec getTextColour(This) -> wx:wx_colour() when + This::wxGridCellAttr(). getTextColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGridCellAttr), wxe_util:call(?wxGridCellAttr_GetTextColour, <>). -%% @spec (This::wxGridCellAttr()) -> wx:colour() %% @doc See external documentation. +-spec getBackgroundColour(This) -> wx:wx_colour() when + This::wxGridCellAttr(). getBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGridCellAttr), wxe_util:call(?wxGridCellAttr_GetBackgroundColour, <>). -%% @spec (This::wxGridCellAttr()) -> wxFont:wxFont() %% @doc See external documentation. +-spec getFont(This) -> wxFont:wxFont() when + This::wxGridCellAttr(). getFont(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGridCellAttr), wxe_util:call(?wxGridCellAttr_GetFont, <>). -%% @spec (This::wxGridCellAttr()) -> {HAlign::integer(), VAlign::integer()} %% @doc See external documentation. +-spec getAlignment(This) -> {HAlign::integer(), VAlign::integer()} when + This::wxGridCellAttr(). getAlignment(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGridCellAttr), wxe_util:call(?wxGridCellAttr_GetAlignment, <>). -%% @spec (This::wxGridCellAttr(), Grid::wxGrid:wxGrid(), Row::integer(), Col::integer()) -> wxGridCellRenderer:wxGridCellRenderer() %% @doc See external documentation. +-spec getRenderer(This, Grid, Row, Col) -> wxGridCellRenderer:wxGridCellRenderer() when + This::wxGridCellAttr(), Grid::wxGrid:wxGrid(), Row::integer(), Col::integer(). getRenderer(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=GridT,ref=GridRef},Row,Col) when is_integer(Row),is_integer(Col) -> ?CLASS(ThisT,wxGridCellAttr), @@ -181,8 +203,9 @@ getRenderer(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=GridT,ref=GridRef},Row, wxe_util:call(?wxGridCellAttr_GetRenderer, <>). -%% @spec (This::wxGridCellAttr(), Grid::wxGrid:wxGrid(), Row::integer(), Col::integer()) -> wxGridCellEditor:wxGridCellEditor() %% @doc See external documentation. +-spec getEditor(This, Grid, Row, Col) -> wxGridCellEditor:wxGridCellEditor() when + This::wxGridCellAttr(), Grid::wxGrid:wxGrid(), Row::integer(), Col::integer(). getEditor(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=GridT,ref=GridRef},Row,Col) when is_integer(Row),is_integer(Col) -> ?CLASS(ThisT,wxGridCellAttr), @@ -190,15 +213,17 @@ getEditor(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=GridT,ref=GridRef},Row,Co wxe_util:call(?wxGridCellAttr_GetEditor, <>). -%% @spec (This::wxGridCellAttr()) -> bool() %% @doc See external documentation. +-spec isReadOnly(This) -> boolean() when + This::wxGridCellAttr(). isReadOnly(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGridCellAttr), wxe_util:call(?wxGridCellAttr_IsReadOnly, <>). -%% @spec (This::wxGridCellAttr(), DefAttr::wxGridCellAttr()) -> ok %% @doc See external documentation. +-spec setDefAttr(This, DefAttr) -> ok when + This::wxGridCellAttr(), DefAttr::wxGridCellAttr(). setDefAttr(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=DefAttrT,ref=DefAttrRef}) -> ?CLASS(ThisT,wxGridCellAttr), ?CLASS(DefAttrT,wxGridCellAttr), diff --git a/lib/wx/src/gen/wxGridCellBoolEditor.erl b/lib/wx/src/gen/wxGridCellBoolEditor.erl index a54cfe5eab..c4a68ac597 100644 --- a/lib/wx/src/gen/wxGridCellBoolEditor.erl +++ b/lib/wx/src/gen/wxGridCellBoolEditor.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2009-2010. All Rights Reserved. +%% Copyright Ericsson AB 2009-2012. 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 @@ -33,32 +33,37 @@ -export([beginEdit/4,endEdit/4,handleReturn/2,isCreated/1,paintBackground/3, parent_class/1,reset/1,setSize/2,show/2,show/3,startingClick/1,startingKey/2]). +-export_type([wxGridCellBoolEditor/0]). %% @hidden parent_class(wxGridCellEditor) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxGridCellBoolEditor() +-type wxGridCellBoolEditor() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxGridCellBoolEditor(). new() -> wxe_util:construct(?wxGridCellBoolEditor_new, <<>>). -%% @spec (Value::string()) -> bool() %% @doc See external documentation. +-spec isTrueValue(Value) -> boolean() when + Value::string(). isTrueValue(Value) when is_list(Value) -> Value_UC = unicode:characters_to_binary([Value,0]), wxe_util:call(?wxGridCellBoolEditor_IsTrueValue, <<(byte_size(Value_UC)):32/?UI,(Value_UC)/binary, 0:(((8- ((4+byte_size(Value_UC)) band 16#7)) band 16#7))/unit:8>>). -%% @spec () -> ok %% @equiv useStringValues([]) +-spec useStringValues() -> ok. + useStringValues() -> useStringValues([]). -%% @spec ([Option]) -> ok -%% Option = {valueTrue, string()} | {valueFalse, string()} %% @doc See external documentation. +-spec useStringValues([Option]) -> ok when + Option :: {valueTrue, string()} + | {valueFalse, string()}. useStringValues(Options) when is_list(Options) -> MOpts = fun({valueTrue, ValueTrue}, Acc) -> ValueTrue_UC = unicode:characters_to_binary([ValueTrue,0]),[<<1:32/?UI,(byte_size(ValueTrue_UC)):32/?UI,(ValueTrue_UC)/binary, 0:(((8- ((0+byte_size(ValueTrue_UC)) band 16#7)) band 16#7))/unit:8>>|Acc]; @@ -68,8 +73,8 @@ useStringValues(Options) wxe_util:cast(?wxGridCellBoolEditor_UseStringValues, <>). -%% @spec (This::wxGridCellBoolEditor()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxGridCellBoolEditor) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxGridCellBoolEditor), wxe_util:destroy(?wxGridCellBoolEditor_destroy,Obj), diff --git a/lib/wx/src/gen/wxGridCellBoolRenderer.erl b/lib/wx/src/gen/wxGridCellBoolRenderer.erl index a98091f62c..ae9d4baf47 100644 --- a/lib/wx/src/gen/wxGridCellBoolRenderer.erl +++ b/lib/wx/src/gen/wxGridCellBoolRenderer.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2009-2010. All Rights Reserved. +%% Copyright Ericsson AB 2009-2012. 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,18 +32,20 @@ %% inherited exports -export([draw/8,getBestSize/6,parent_class/1]). +-export_type([wxGridCellBoolRenderer/0]). %% @hidden parent_class(wxGridCellRenderer) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxGridCellBoolRenderer() +-type wxGridCellBoolRenderer() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxGridCellBoolRenderer(). new() -> wxe_util:construct(?wxGridCellBoolRenderer_new, <<>>). -%% @spec (This::wxGridCellBoolRenderer()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxGridCellBoolRenderer) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxGridCellBoolRenderer), wxe_util:destroy(?wxGridCellBoolRenderer_destroy,Obj), diff --git a/lib/wx/src/gen/wxGridCellChoiceEditor.erl b/lib/wx/src/gen/wxGridCellChoiceEditor.erl index 1adee550f8..d8ed206f07 100644 --- a/lib/wx/src/gen/wxGridCellChoiceEditor.erl +++ b/lib/wx/src/gen/wxGridCellChoiceEditor.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2009-2010. All Rights Reserved. +%% Copyright Ericsson AB 2009-2012. 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 @@ -33,19 +33,24 @@ -export([beginEdit/4,endEdit/4,handleReturn/2,isCreated/1,paintBackground/3, parent_class/1,reset/1,setSize/2,show/2,show/3,startingClick/1,startingKey/2]). +-export_type([wxGridCellChoiceEditor/0]). %% @hidden parent_class(wxGridCellEditor) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (Choices::[[string()]]) -> wxGridCellChoiceEditor() +-type wxGridCellChoiceEditor() :: wx:wx_object(). %% @equiv new(Choices, []) +-spec new(Choices) -> wxGridCellChoiceEditor() when + Choices::[[string()]]. + new(Choices) when is_list(Choices) -> new(Choices, []). -%% @spec (Choices::[[string()]], [Option]) -> wxGridCellChoiceEditor() -%% Option = {allowOthers, bool()} %% @doc See external documentation. +-spec new(Choices, [Option]) -> wxGridCellChoiceEditor() when + Choices::[[string()]], + Option :: {allowOthers, boolean()}. new(Choices, Options) when is_list(Choices),is_list(Options) -> Choices_UCA = [unicode:characters_to_binary([ChoicesTemp,0]) || @@ -56,8 +61,9 @@ new(Choices, Options) wxe_util:construct(?wxGridCellChoiceEditor_new, <<(length(Choices_UCA)):32/?UI, (<< <<(byte_size(UC_Str)):32/?UI, UC_Str/binary>>|| UC_Str <- Choices_UCA>>)/binary, 0:(((8- ((4 + lists:sum([byte_size(S)+4||S<-Choices_UCA])) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>). -%% @spec (This::wxGridCellChoiceEditor(), Params::string()) -> ok %% @doc See external documentation. +-spec setParameters(This, Params) -> ok when + This::wxGridCellChoiceEditor(), Params::string(). setParameters(#wx_ref{type=ThisT,ref=ThisRef},Params) when is_list(Params) -> ?CLASS(ThisT,wxGridCellChoiceEditor), @@ -65,8 +71,8 @@ setParameters(#wx_ref{type=ThisT,ref=ThisRef},Params) wxe_util:cast(?wxGridCellChoiceEditor_SetParameters, <>). -%% @spec (This::wxGridCellChoiceEditor()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxGridCellChoiceEditor) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxGridCellChoiceEditor), wxe_util:destroy(?wxGridCellChoiceEditor_destroy,Obj), diff --git a/lib/wx/src/gen/wxGridCellEditor.erl b/lib/wx/src/gen/wxGridCellEditor.erl index de1ebc5a4c..e84cdeb49a 100644 --- a/lib/wx/src/gen/wxGridCellEditor.erl +++ b/lib/wx/src/gen/wxGridCellEditor.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,11 +30,14 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxGridCellEditor/0]). %% @hidden parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxGridCellEditor(), Parent::wxWindow:wxWindow(), Id::integer(), EvtHandler::wxEvtHandler:wxEvtHandler()) -> ok +-type wxGridCellEditor() :: wx:wx_object(). %% @doc See external documentation. +-spec create(This, Parent, Id, EvtHandler) -> ok when + This::wxGridCellEditor(), Parent::wxWindow:wxWindow(), Id::integer(), EvtHandler::wxEvtHandler:wxEvtHandler(). create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,#wx_ref{type=EvtHandlerT,ref=EvtHandlerRef}) when is_integer(Id) -> ?CLASS(ThisT,wxGridCellEditor), @@ -43,30 +46,35 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,#w wxe_util:cast(?wxGridCellEditor_Create, <>). -%% @spec (This::wxGridCellEditor()) -> bool() %% @doc See external documentation. +-spec isCreated(This) -> boolean() when + This::wxGridCellEditor(). isCreated(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGridCellEditor), wxe_util:call(?wxGridCellEditor_IsCreated, <>). -%% @spec (This::wxGridCellEditor(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}) -> ok %% @doc See external documentation. +-spec setSize(This, Rect) -> ok when + This::wxGridCellEditor(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}. setSize(#wx_ref{type=ThisT,ref=ThisRef},{RectX,RectY,RectW,RectH}) when is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH) -> ?CLASS(ThisT,wxGridCellEditor), wxe_util:cast(?wxGridCellEditor_SetSize, <>). -%% @spec (This::wxGridCellEditor(), Show::bool()) -> ok %% @equiv show(This,Show, []) +-spec show(This, Show) -> ok when + This::wxGridCellEditor(), Show::boolean(). + show(This,Show) when is_record(This, wx_ref),is_boolean(Show) -> show(This,Show, []). -%% @spec (This::wxGridCellEditor(), Show::bool(), [Option]) -> ok -%% Option = {attr, wxGridCellAttr:wxGridCellAttr()} %% @doc See external documentation. +-spec show(This, Show, [Option]) -> ok when + This::wxGridCellEditor(), Show::boolean(), + Option :: {attr, wxGridCellAttr:wxGridCellAttr()}. show(#wx_ref{type=ThisT,ref=ThisRef},Show, Options) when is_boolean(Show),is_list(Options) -> ?CLASS(ThisT,wxGridCellEditor), @@ -76,8 +84,9 @@ show(#wx_ref{type=ThisT,ref=ThisRef},Show, Options) wxe_util:cast(?wxGridCellEditor_Show, <>). -%% @spec (This::wxGridCellEditor(), RectCell::{X::integer(), Y::integer(), W::integer(), H::integer()}, Attr::wxGridCellAttr:wxGridCellAttr()) -> ok %% @doc See external documentation. +-spec paintBackground(This, RectCell, Attr) -> ok when + This::wxGridCellEditor(), RectCell::{X::integer(), Y::integer(), W::integer(), H::integer()}, Attr::wxGridCellAttr:wxGridCellAttr(). paintBackground(#wx_ref{type=ThisT,ref=ThisRef},{RectCellX,RectCellY,RectCellW,RectCellH},#wx_ref{type=AttrT,ref=AttrRef}) when is_integer(RectCellX),is_integer(RectCellY),is_integer(RectCellW),is_integer(RectCellH) -> ?CLASS(ThisT,wxGridCellEditor), @@ -85,8 +94,9 @@ paintBackground(#wx_ref{type=ThisT,ref=ThisRef},{RectCellX,RectCellY,RectCellW,R wxe_util:cast(?wxGridCellEditor_PaintBackground, <>). -%% @spec (This::wxGridCellEditor(), Row::integer(), Col::integer(), Grid::wxGrid:wxGrid()) -> ok %% @doc See external documentation. +-spec beginEdit(This, Row, Col, Grid) -> ok when + This::wxGridCellEditor(), Row::integer(), Col::integer(), Grid::wxGrid:wxGrid(). beginEdit(#wx_ref{type=ThisT,ref=ThisRef},Row,Col,#wx_ref{type=GridT,ref=GridRef}) when is_integer(Row),is_integer(Col) -> ?CLASS(ThisT,wxGridCellEditor), @@ -94,8 +104,9 @@ beginEdit(#wx_ref{type=ThisT,ref=ThisRef},Row,Col,#wx_ref{type=GridT,ref=GridRef wxe_util:cast(?wxGridCellEditor_BeginEdit, <>). -%% @spec (This::wxGridCellEditor(), Row::integer(), Col::integer(), Grid::wxGrid:wxGrid()) -> bool() %% @doc See external documentation. +-spec endEdit(This, Row, Col, Grid) -> boolean() when + This::wxGridCellEditor(), Row::integer(), Col::integer(), Grid::wxGrid:wxGrid(). endEdit(#wx_ref{type=ThisT,ref=ThisRef},Row,Col,#wx_ref{type=GridT,ref=GridRef}) when is_integer(Row),is_integer(Col) -> ?CLASS(ThisT,wxGridCellEditor), @@ -103,30 +114,34 @@ endEdit(#wx_ref{type=ThisT,ref=ThisRef},Row,Col,#wx_ref{type=GridT,ref=GridRef}) wxe_util:call(?wxGridCellEditor_EndEdit, <>). -%% @spec (This::wxGridCellEditor()) -> ok %% @doc See external documentation. +-spec reset(This) -> ok when + This::wxGridCellEditor(). reset(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGridCellEditor), wxe_util:cast(?wxGridCellEditor_Reset, <>). -%% @spec (This::wxGridCellEditor(), Event::wxKeyEvent:wxKeyEvent()) -> ok %% @doc See external documentation. +-spec startingKey(This, Event) -> ok when + This::wxGridCellEditor(), Event::wxKeyEvent:wxKeyEvent(). startingKey(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=EventT,ref=EventRef}) -> ?CLASS(ThisT,wxGridCellEditor), ?CLASS(EventT,wxKeyEvent), wxe_util:cast(?wxGridCellEditor_StartingKey, <>). -%% @spec (This::wxGridCellEditor()) -> ok %% @doc See external documentation. +-spec startingClick(This) -> ok when + This::wxGridCellEditor(). startingClick(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGridCellEditor), wxe_util:cast(?wxGridCellEditor_StartingClick, <>). -%% @spec (This::wxGridCellEditor(), Event::wxKeyEvent:wxKeyEvent()) -> ok %% @doc See external documentation. +-spec handleReturn(This, Event) -> ok when + This::wxGridCellEditor(), Event::wxKeyEvent:wxKeyEvent(). handleReturn(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=EventT,ref=EventRef}) -> ?CLASS(ThisT,wxGridCellEditor), ?CLASS(EventT,wxKeyEvent), diff --git a/lib/wx/src/gen/wxGridCellFloatEditor.erl b/lib/wx/src/gen/wxGridCellFloatEditor.erl index 3caad74f0e..ebb5aa04d4 100644 --- a/lib/wx/src/gen/wxGridCellFloatEditor.erl +++ b/lib/wx/src/gen/wxGridCellFloatEditor.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2009-2010. All Rights Reserved. +%% Copyright Ericsson AB 2009-2012. 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 @@ -33,18 +33,22 @@ -export([beginEdit/4,endEdit/4,handleReturn/2,isCreated/1,paintBackground/3, parent_class/1,reset/1,setSize/2,show/2,show/3,startingClick/1,startingKey/2]). +-export_type([wxGridCellFloatEditor/0]). %% @hidden parent_class(wxGridCellEditor) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxGridCellFloatEditor() +-type wxGridCellFloatEditor() :: wx:wx_object(). %% @equiv new([]) +-spec new() -> wxGridCellFloatEditor(). + new() -> new([]). -%% @spec ([Option]) -> wxGridCellFloatEditor() -%% Option = {width, integer()} | {precision, integer()} %% @doc See external documentation. +-spec new([Option]) -> wxGridCellFloatEditor() when + Option :: {width, integer()} + | {precision, integer()}. new(Options) when is_list(Options) -> MOpts = fun({width, Width}, Acc) -> [<<1:32/?UI,Width:32/?UI>>|Acc]; @@ -54,8 +58,9 @@ new(Options) wxe_util:construct(?wxGridCellFloatEditor_new, <>). -%% @spec (This::wxGridCellFloatEditor(), Params::string()) -> ok %% @doc See external documentation. +-spec setParameters(This, Params) -> ok when + This::wxGridCellFloatEditor(), Params::string(). setParameters(#wx_ref{type=ThisT,ref=ThisRef},Params) when is_list(Params) -> ?CLASS(ThisT,wxGridCellFloatEditor), @@ -63,8 +68,8 @@ setParameters(#wx_ref{type=ThisT,ref=ThisRef},Params) wxe_util:cast(?wxGridCellFloatEditor_SetParameters, <>). -%% @spec (This::wxGridCellFloatEditor()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxGridCellFloatEditor) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxGridCellFloatEditor), wxe_util:destroy(?wxGridCellFloatEditor_destroy,Obj), diff --git a/lib/wx/src/gen/wxGridCellFloatRenderer.erl b/lib/wx/src/gen/wxGridCellFloatRenderer.erl index 84ffd21b37..4e3450c90b 100644 --- a/lib/wx/src/gen/wxGridCellFloatRenderer.erl +++ b/lib/wx/src/gen/wxGridCellFloatRenderer.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2009-2010. All Rights Reserved. +%% Copyright Ericsson AB 2009-2012. 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 @@ -34,19 +34,23 @@ %% inherited exports -export([draw/8,getBestSize/6,parent_class/1]). +-export_type([wxGridCellFloatRenderer/0]). %% @hidden parent_class(wxGridCellStringRenderer) -> true; parent_class(wxGridCellRenderer) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxGridCellFloatRenderer() +-type wxGridCellFloatRenderer() :: wx:wx_object(). %% @equiv new([]) +-spec new() -> wxGridCellFloatRenderer(). + new() -> new([]). -%% @spec ([Option]) -> wxGridCellFloatRenderer() -%% Option = {width, integer()} | {precision, integer()} %% @doc See external documentation. +-spec new([Option]) -> wxGridCellFloatRenderer() when + Option :: {width, integer()} + | {precision, integer()}. new(Options) when is_list(Options) -> MOpts = fun({width, Width}, Acc) -> [<<1:32/?UI,Width:32/?UI>>|Acc]; @@ -56,22 +60,25 @@ new(Options) wxe_util:construct(?wxGridCellFloatRenderer_new, <>). -%% @spec (This::wxGridCellFloatRenderer()) -> integer() %% @doc See external documentation. +-spec getPrecision(This) -> integer() when + This::wxGridCellFloatRenderer(). getPrecision(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGridCellFloatRenderer), wxe_util:call(?wxGridCellFloatRenderer_GetPrecision, <>). -%% @spec (This::wxGridCellFloatRenderer()) -> integer() %% @doc See external documentation. +-spec getWidth(This) -> integer() when + This::wxGridCellFloatRenderer(). getWidth(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGridCellFloatRenderer), wxe_util:call(?wxGridCellFloatRenderer_GetWidth, <>). -%% @spec (This::wxGridCellFloatRenderer(), Params::string()) -> ok %% @doc See external documentation. +-spec setParameters(This, Params) -> ok when + This::wxGridCellFloatRenderer(), Params::string(). setParameters(#wx_ref{type=ThisT,ref=ThisRef},Params) when is_list(Params) -> ?CLASS(ThisT,wxGridCellFloatRenderer), @@ -79,24 +86,26 @@ setParameters(#wx_ref{type=ThisT,ref=ThisRef},Params) wxe_util:cast(?wxGridCellFloatRenderer_SetParameters, <>). -%% @spec (This::wxGridCellFloatRenderer(), Precision::integer()) -> ok %% @doc See external documentation. +-spec setPrecision(This, Precision) -> ok when + This::wxGridCellFloatRenderer(), Precision::integer(). setPrecision(#wx_ref{type=ThisT,ref=ThisRef},Precision) when is_integer(Precision) -> ?CLASS(ThisT,wxGridCellFloatRenderer), wxe_util:cast(?wxGridCellFloatRenderer_SetPrecision, <>). -%% @spec (This::wxGridCellFloatRenderer(), Width::integer()) -> ok %% @doc See external documentation. +-spec setWidth(This, Width) -> ok when + This::wxGridCellFloatRenderer(), Width::integer(). setWidth(#wx_ref{type=ThisT,ref=ThisRef},Width) when is_integer(Width) -> ?CLASS(ThisT,wxGridCellFloatRenderer), wxe_util:cast(?wxGridCellFloatRenderer_SetWidth, <>). -%% @spec (This::wxGridCellFloatRenderer()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxGridCellFloatRenderer) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxGridCellFloatRenderer), wxe_util:destroy(?wxGridCellFloatRenderer_destroy,Obj), diff --git a/lib/wx/src/gen/wxGridCellNumberEditor.erl b/lib/wx/src/gen/wxGridCellNumberEditor.erl index 4ebdbb14e9..c3ac0c41d5 100644 --- a/lib/wx/src/gen/wxGridCellNumberEditor.erl +++ b/lib/wx/src/gen/wxGridCellNumberEditor.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2009-2010. All Rights Reserved. +%% Copyright Ericsson AB 2009-2012. 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 @@ -34,19 +34,23 @@ -export([beginEdit/4,endEdit/4,handleReturn/2,isCreated/1,paintBackground/3, parent_class/1,reset/1,setSize/2,show/2,show/3,startingClick/1,startingKey/2]). +-export_type([wxGridCellNumberEditor/0]). %% @hidden parent_class(wxGridCellTextEditor) -> true; parent_class(wxGridCellEditor) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxGridCellNumberEditor() +-type wxGridCellNumberEditor() :: wx:wx_object(). %% @equiv new([]) +-spec new() -> wxGridCellNumberEditor(). + new() -> new([]). -%% @spec ([Option]) -> wxGridCellNumberEditor() -%% Option = {min, integer()} | {max, integer()} %% @doc See external documentation. +-spec new([Option]) -> wxGridCellNumberEditor() when + Option :: {min, integer()} + | {max, integer()}. new(Options) when is_list(Options) -> MOpts = fun({min, Min}, Acc) -> [<<1:32/?UI,Min:32/?UI>>|Acc]; @@ -56,15 +60,17 @@ new(Options) wxe_util:construct(?wxGridCellNumberEditor_new, <>). -%% @spec (This::wxGridCellNumberEditor()) -> string() %% @doc See external documentation. +-spec getValue(This) -> string() when + This::wxGridCellNumberEditor(). getValue(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGridCellNumberEditor), wxe_util:call(?wxGridCellNumberEditor_GetValue, <>). -%% @spec (This::wxGridCellNumberEditor(), Params::string()) -> ok %% @doc See external documentation. +-spec setParameters(This, Params) -> ok when + This::wxGridCellNumberEditor(), Params::string(). setParameters(#wx_ref{type=ThisT,ref=ThisRef},Params) when is_list(Params) -> ?CLASS(ThisT,wxGridCellNumberEditor), @@ -72,8 +78,8 @@ setParameters(#wx_ref{type=ThisT,ref=ThisRef},Params) wxe_util:cast(?wxGridCellNumberEditor_SetParameters, <>). -%% @spec (This::wxGridCellNumberEditor()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxGridCellNumberEditor) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxGridCellNumberEditor), wxe_util:destroy(?wxGridCellNumberEditor_destroy,Obj), diff --git a/lib/wx/src/gen/wxGridCellNumberRenderer.erl b/lib/wx/src/gen/wxGridCellNumberRenderer.erl index 651057bb4b..5d5bd89960 100644 --- a/lib/wx/src/gen/wxGridCellNumberRenderer.erl +++ b/lib/wx/src/gen/wxGridCellNumberRenderer.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2009-2010. All Rights Reserved. +%% Copyright Ericsson AB 2009-2012. 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 @@ -33,19 +33,21 @@ %% inherited exports -export([draw/8,getBestSize/6,parent_class/1]). +-export_type([wxGridCellNumberRenderer/0]). %% @hidden parent_class(wxGridCellStringRenderer) -> true; parent_class(wxGridCellRenderer) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxGridCellNumberRenderer() +-type wxGridCellNumberRenderer() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxGridCellNumberRenderer(). new() -> wxe_util:construct(?wxGridCellNumberRenderer_new, <<>>). -%% @spec (This::wxGridCellNumberRenderer()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxGridCellNumberRenderer) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxGridCellNumberRenderer), wxe_util:destroy(?wxGridCellNumberRenderer_destroy,Obj), diff --git a/lib/wx/src/gen/wxGridCellRenderer.erl b/lib/wx/src/gen/wxGridCellRenderer.erl index 765c116a48..42d376a347 100644 --- a/lib/wx/src/gen/wxGridCellRenderer.erl +++ b/lib/wx/src/gen/wxGridCellRenderer.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,11 +29,14 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxGridCellRenderer/0]). %% @hidden parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxGridCellRenderer(), Grid::wxGrid:wxGrid(), Attr::wxGridCellAttr:wxGridCellAttr(), Dc::wxDC:wxDC(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}, Row::integer(), Col::integer(), IsSelected::bool()) -> ok +-type wxGridCellRenderer() :: wx:wx_object(). %% @doc See external documentation. +-spec draw(This, Grid, Attr, Dc, Rect, Row, Col, IsSelected) -> ok when + This::wxGridCellRenderer(), Grid::wxGrid:wxGrid(), Attr::wxGridCellAttr:wxGridCellAttr(), Dc::wxDC:wxDC(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}, Row::integer(), Col::integer(), IsSelected::boolean(). draw(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=GridT,ref=GridRef},#wx_ref{type=AttrT,ref=AttrRef},#wx_ref{type=DcT,ref=DcRef},{RectX,RectY,RectW,RectH},Row,Col,IsSelected) when is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH),is_integer(Row),is_integer(Col),is_boolean(IsSelected) -> ?CLASS(ThisT,wxGridCellRenderer), @@ -43,8 +46,9 @@ draw(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=GridT,ref=GridRef},#wx_ref{typ wxe_util:cast(?wxGridCellRenderer_Draw, <>). -%% @spec (This::wxGridCellRenderer(), Grid::wxGrid:wxGrid(), Attr::wxGridCellAttr:wxGridCellAttr(), Dc::wxDC:wxDC(), Row::integer(), Col::integer()) -> {W::integer(), H::integer()} %% @doc See external documentation. +-spec getBestSize(This, Grid, Attr, Dc, Row, Col) -> {W::integer(), H::integer()} when + This::wxGridCellRenderer(), Grid::wxGrid:wxGrid(), Attr::wxGridCellAttr:wxGridCellAttr(), Dc::wxDC:wxDC(), Row::integer(), Col::integer(). getBestSize(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=GridT,ref=GridRef},#wx_ref{type=AttrT,ref=AttrRef},#wx_ref{type=DcT,ref=DcRef},Row,Col) when is_integer(Row),is_integer(Col) -> ?CLASS(ThisT,wxGridCellRenderer), diff --git a/lib/wx/src/gen/wxGridCellStringRenderer.erl b/lib/wx/src/gen/wxGridCellStringRenderer.erl index 28a79e0453..36887a3d52 100644 --- a/lib/wx/src/gen/wxGridCellStringRenderer.erl +++ b/lib/wx/src/gen/wxGridCellStringRenderer.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2009-2010. All Rights Reserved. +%% Copyright Ericsson AB 2009-2012. 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,18 +32,20 @@ %% inherited exports -export([draw/8,getBestSize/6,parent_class/1]). +-export_type([wxGridCellStringRenderer/0]). %% @hidden parent_class(wxGridCellRenderer) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxGridCellStringRenderer() +-type wxGridCellStringRenderer() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxGridCellStringRenderer(). new() -> wxe_util:construct(?wxGridCellStringRenderer_new, <<>>). -%% @spec (This::wxGridCellStringRenderer()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxGridCellStringRenderer) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxGridCellStringRenderer), wxe_util:destroy(?wxGridCellStringRenderer_destroy,Obj), diff --git a/lib/wx/src/gen/wxGridCellTextEditor.erl b/lib/wx/src/gen/wxGridCellTextEditor.erl index d9ab1dc107..e849de7afd 100644 --- a/lib/wx/src/gen/wxGridCellTextEditor.erl +++ b/lib/wx/src/gen/wxGridCellTextEditor.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2009-2010. All Rights Reserved. +%% Copyright Ericsson AB 2009-2012. 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 @@ -33,18 +33,21 @@ -export([beginEdit/4,endEdit/4,handleReturn/2,isCreated/1,paintBackground/3, parent_class/1,reset/1,setSize/2,show/2,show/3,startingClick/1,startingKey/2]). +-export_type([wxGridCellTextEditor/0]). %% @hidden parent_class(wxGridCellEditor) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxGridCellTextEditor() +-type wxGridCellTextEditor() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxGridCellTextEditor(). new() -> wxe_util:construct(?wxGridCellTextEditor_new, <<>>). -%% @spec (This::wxGridCellTextEditor(), Params::string()) -> ok %% @doc See external documentation. +-spec setParameters(This, Params) -> ok when + This::wxGridCellTextEditor(), Params::string(). setParameters(#wx_ref{type=ThisT,ref=ThisRef},Params) when is_list(Params) -> ?CLASS(ThisT,wxGridCellTextEditor), @@ -52,8 +55,8 @@ setParameters(#wx_ref{type=ThisT,ref=ThisRef},Params) wxe_util:cast(?wxGridCellTextEditor_SetParameters, <>). -%% @spec (This::wxGridCellTextEditor()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxGridCellTextEditor) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxGridCellTextEditor), wxe_util:destroy(?wxGridCellTextEditor_destroy,Obj), diff --git a/lib/wx/src/gen/wxGridEvent.erl b/lib/wx/src/gen/wxGridEvent.erl index 123088afb5..59c2ad53b5 100644 --- a/lib/wx/src/gen/wxGridEvent.erl +++ b/lib/wx/src/gen/wxGridEvent.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -42,63 +42,73 @@ isSelection/1,parent_class/1,resumePropagation/2,setInt/2,setString/2, shouldPropagate/1,skip/1,skip/2,stopPropagation/1,veto/1]). +-export_type([wxGridEvent/0]). %% @hidden parent_class(wxNotifyEvent) -> true; parent_class(wxCommandEvent) -> true; parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxGridEvent()) -> bool() +-type wxGridEvent() :: wx:wx_object(). %% @doc See external documentation. +-spec altDown(This) -> boolean() when + This::wxGridEvent(). altDown(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGridEvent), wxe_util:call(?wxGridEvent_AltDown, <>). -%% @spec (This::wxGridEvent()) -> bool() %% @doc See external documentation. +-spec controlDown(This) -> boolean() when + This::wxGridEvent(). controlDown(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGridEvent), wxe_util:call(?wxGridEvent_ControlDown, <>). -%% @spec (This::wxGridEvent()) -> integer() %% @doc See external documentation. +-spec getCol(This) -> integer() when + This::wxGridEvent(). getCol(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGridEvent), wxe_util:call(?wxGridEvent_GetCol, <>). -%% @spec (This::wxGridEvent()) -> {X::integer(), Y::integer()} %% @doc See external documentation. +-spec getPosition(This) -> {X::integer(), Y::integer()} when + This::wxGridEvent(). getPosition(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGridEvent), wxe_util:call(?wxGridEvent_GetPosition, <>). -%% @spec (This::wxGridEvent()) -> integer() %% @doc See external documentation. +-spec getRow(This) -> integer() when + This::wxGridEvent(). getRow(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGridEvent), wxe_util:call(?wxGridEvent_GetRow, <>). -%% @spec (This::wxGridEvent()) -> bool() %% @doc See external documentation. +-spec metaDown(This) -> boolean() when + This::wxGridEvent(). metaDown(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGridEvent), wxe_util:call(?wxGridEvent_MetaDown, <>). -%% @spec (This::wxGridEvent()) -> bool() %% @doc See external documentation. +-spec selecting(This) -> boolean() when + This::wxGridEvent(). selecting(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGridEvent), wxe_util:call(?wxGridEvent_Selecting, <>). -%% @spec (This::wxGridEvent()) -> bool() %% @doc See external documentation. +-spec shiftDown(This) -> boolean() when + This::wxGridEvent(). shiftDown(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGridEvent), wxe_util:call(?wxGridEvent_ShiftDown, diff --git a/lib/wx/src/gen/wxGridSizer.erl b/lib/wx/src/gen/wxGridSizer.erl index fd8580c70d..0893105352 100644 --- a/lib/wx/src/gen/wxGridSizer.erl +++ b/lib/wx/src/gen/wxGridSizer.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -41,19 +41,25 @@ setMinSize/2,setMinSize/3,setSizeHints/2,setVirtualSizeHints/2,show/2, show/3]). +-export_type([wxGridSizer/0]). %% @hidden parent_class(wxSizer) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (Cols::integer()) -> wxGridSizer() +-type wxGridSizer() :: wx:wx_object(). %% @equiv new(Cols, []) +-spec new(Cols) -> wxGridSizer() when + Cols::integer(). + new(Cols) when is_integer(Cols) -> new(Cols, []). -%% @spec (Cols::integer(), [Option]) -> wxGridSizer() -%% Option = {vgap, integer()} | {hgap, integer()} %% @doc See external documentation. +-spec new(Cols, [Option]) -> wxGridSizer() when + Cols::integer(), + Option :: {vgap, integer()} + | {hgap, integer()}. new(Cols, Options) when is_integer(Cols),is_list(Options) -> MOpts = fun({vgap, Vgap}, Acc) -> [<<1:32/?UI,Vgap:32/?UI>>|Acc]; @@ -63,75 +69,84 @@ new(Cols, Options) wxe_util:construct(?wxGridSizer_new_2, <>). -%% @spec (Rows::integer(), Cols::integer(), Vgap::integer(), Hgap::integer()) -> wxGridSizer() %% @doc See external documentation. +-spec new(Rows, Cols, Vgap, Hgap) -> wxGridSizer() when + Rows::integer(), Cols::integer(), Vgap::integer(), Hgap::integer(). new(Rows,Cols,Vgap,Hgap) when is_integer(Rows),is_integer(Cols),is_integer(Vgap),is_integer(Hgap) -> wxe_util:construct(?wxGridSizer_new_4, <>). -%% @spec (This::wxGridSizer()) -> integer() %% @doc See external documentation. +-spec getCols(This) -> integer() when + This::wxGridSizer(). getCols(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGridSizer), wxe_util:call(?wxGridSizer_GetCols, <>). -%% @spec (This::wxGridSizer()) -> integer() %% @doc See external documentation. +-spec getHGap(This) -> integer() when + This::wxGridSizer(). getHGap(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGridSizer), wxe_util:call(?wxGridSizer_GetHGap, <>). -%% @spec (This::wxGridSizer()) -> integer() %% @doc See external documentation. +-spec getRows(This) -> integer() when + This::wxGridSizer(). getRows(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGridSizer), wxe_util:call(?wxGridSizer_GetRows, <>). -%% @spec (This::wxGridSizer()) -> integer() %% @doc See external documentation. +-spec getVGap(This) -> integer() when + This::wxGridSizer(). getVGap(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGridSizer), wxe_util:call(?wxGridSizer_GetVGap, <>). -%% @spec (This::wxGridSizer(), Cols::integer()) -> ok %% @doc See external documentation. +-spec setCols(This, Cols) -> ok when + This::wxGridSizer(), Cols::integer(). setCols(#wx_ref{type=ThisT,ref=ThisRef},Cols) when is_integer(Cols) -> ?CLASS(ThisT,wxGridSizer), wxe_util:cast(?wxGridSizer_SetCols, <>). -%% @spec (This::wxGridSizer(), Gap::integer()) -> ok %% @doc See external documentation. +-spec setHGap(This, Gap) -> ok when + This::wxGridSizer(), Gap::integer(). setHGap(#wx_ref{type=ThisT,ref=ThisRef},Gap) when is_integer(Gap) -> ?CLASS(ThisT,wxGridSizer), wxe_util:cast(?wxGridSizer_SetHGap, <>). -%% @spec (This::wxGridSizer(), Rows::integer()) -> ok %% @doc See external documentation. +-spec setRows(This, Rows) -> ok when + This::wxGridSizer(), Rows::integer(). setRows(#wx_ref{type=ThisT,ref=ThisRef},Rows) when is_integer(Rows) -> ?CLASS(ThisT,wxGridSizer), wxe_util:cast(?wxGridSizer_SetRows, <>). -%% @spec (This::wxGridSizer(), Gap::integer()) -> ok %% @doc See external documentation. +-spec setVGap(This, Gap) -> ok when + This::wxGridSizer(), Gap::integer(). setVGap(#wx_ref{type=ThisT,ref=ThisRef},Gap) when is_integer(Gap) -> ?CLASS(ThisT,wxGridSizer), wxe_util:cast(?wxGridSizer_SetVGap, <>). -%% @spec (This::wxGridSizer()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxGridSizer) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxGridSizer), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxHelpEvent.erl b/lib/wx/src/gen/wxHelpEvent.erl index b80903c314..70da136be8 100644 --- a/lib/wx/src/gen/wxHelpEvent.erl +++ b/lib/wx/src/gen/wxHelpEvent.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,38 +37,42 @@ -export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1, resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]). +-export_type([wxHelpEvent/0]). %% @hidden parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxHelpEvent()) -> Origin -%% Origin = integer() +-type wxHelpEvent() :: wx:wx_object(). %% @doc See external documentation. -%%
Origin is one of ?wxHelpEvent_Origin_Unknown | ?wxHelpEvent_Origin_Keyboard | ?wxHelpEvent_Origin_HelpButton +%%
Res = ?wxHelpEvent_Origin_Unknown | ?wxHelpEvent_Origin_Keyboard | ?wxHelpEvent_Origin_HelpButton +-spec getOrigin(This) -> wx:wx_enum() when + This::wxHelpEvent(). getOrigin(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxHelpEvent), wxe_util:call(?wxHelpEvent_GetOrigin, <>). -%% @spec (This::wxHelpEvent()) -> {X::integer(), Y::integer()} %% @doc See external documentation. +-spec getPosition(This) -> {X::integer(), Y::integer()} when + This::wxHelpEvent(). getPosition(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxHelpEvent), wxe_util:call(?wxHelpEvent_GetPosition, <>). -%% @spec (This::wxHelpEvent(), Origin::Origin) -> ok -%% Origin = integer() %% @doc See external documentation. -%%
Origin is one of ?wxHelpEvent_Origin_Unknown | ?wxHelpEvent_Origin_Keyboard | ?wxHelpEvent_Origin_HelpButton +%%
Origin = ?wxHelpEvent_Origin_Unknown | ?wxHelpEvent_Origin_Keyboard | ?wxHelpEvent_Origin_HelpButton +-spec setOrigin(This, Origin) -> ok when + This::wxHelpEvent(), Origin::wx:wx_enum(). setOrigin(#wx_ref{type=ThisT,ref=ThisRef},Origin) when is_integer(Origin) -> ?CLASS(ThisT,wxHelpEvent), wxe_util:cast(?wxHelpEvent_SetOrigin, <>). -%% @spec (This::wxHelpEvent(), Pos::{X::integer(), Y::integer()}) -> ok %% @doc See external documentation. +-spec setPosition(This, Pos) -> ok when + This::wxHelpEvent(), Pos::{X::integer(), Y::integer()}. setPosition(#wx_ref{type=ThisT,ref=ThisRef},{PosX,PosY}) when is_integer(PosX),is_integer(PosY) -> ?CLASS(ThisT,wxHelpEvent), diff --git a/lib/wx/src/gen/wxHtmlEasyPrinting.erl b/lib/wx/src/gen/wxHtmlEasyPrinting.erl index 15d673169a..5f1f55af64 100644 --- a/lib/wx/src/gen/wxHtmlEasyPrinting.erl +++ b/lib/wx/src/gen/wxHtmlEasyPrinting.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,17 +32,21 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxHtmlEasyPrinting/0]). %% @hidden parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxHtmlEasyPrinting() +-type wxHtmlEasyPrinting() :: wx:wx_object(). %% @equiv new([]) +-spec new() -> wxHtmlEasyPrinting(). + new() -> new([]). -%% @spec ([Option]) -> wxHtmlEasyPrinting() -%% Option = {name, string()} | {parentWindow, wxWindow:wxWindow()} %% @doc See external documentation. +-spec new([Option]) -> wxHtmlEasyPrinting() when + Option :: {name, string()} + | {parentWindow, wxWindow:wxWindow()}. new(Options) when is_list(Options) -> MOpts = fun({name, Name}, Acc) -> Name_UC = unicode:characters_to_binary([Name,0]),[<<1:32/?UI,(byte_size(Name_UC)):32/?UI,(Name_UC)/binary, 0:(((8- ((0+byte_size(Name_UC)) band 16#7)) band 16#7))/unit:8>>|Acc]; @@ -52,22 +56,25 @@ new(Options) wxe_util:construct(?wxHtmlEasyPrinting_new, <>). -%% @spec (This::wxHtmlEasyPrinting()) -> wxPrintData:wxPrintData() %% @doc See external documentation. +-spec getPrintData(This) -> wxPrintData:wxPrintData() when + This::wxHtmlEasyPrinting(). getPrintData(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxHtmlEasyPrinting), wxe_util:call(?wxHtmlEasyPrinting_GetPrintData, <>). -%% @spec (This::wxHtmlEasyPrinting()) -> wxPageSetupDialogData:wxPageSetupDialogData() %% @doc See external documentation. +-spec getPageSetupData(This) -> wxPageSetupDialogData:wxPageSetupDialogData() when + This::wxHtmlEasyPrinting(). getPageSetupData(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxHtmlEasyPrinting), wxe_util:call(?wxHtmlEasyPrinting_GetPageSetupData, <>). -%% @spec (This::wxHtmlEasyPrinting(), Htmlfile::string()) -> bool() %% @doc See external documentation. +-spec previewFile(This, Htmlfile) -> boolean() when + This::wxHtmlEasyPrinting(), Htmlfile::string(). previewFile(#wx_ref{type=ThisT,ref=ThisRef},Htmlfile) when is_list(Htmlfile) -> ?CLASS(ThisT,wxHtmlEasyPrinting), @@ -75,15 +82,18 @@ previewFile(#wx_ref{type=ThisT,ref=ThisRef},Htmlfile) wxe_util:call(?wxHtmlEasyPrinting_PreviewFile, <>). -%% @spec (This::wxHtmlEasyPrinting(), Htmltext::string()) -> bool() %% @equiv previewText(This,Htmltext, []) +-spec previewText(This, Htmltext) -> boolean() when + This::wxHtmlEasyPrinting(), Htmltext::string(). + previewText(This,Htmltext) when is_record(This, wx_ref),is_list(Htmltext) -> previewText(This,Htmltext, []). -%% @spec (This::wxHtmlEasyPrinting(), Htmltext::string(), [Option]) -> bool() -%% Option = {basepath, string()} %% @doc See external documentation. +-spec previewText(This, Htmltext, [Option]) -> boolean() when + This::wxHtmlEasyPrinting(), Htmltext::string(), + Option :: {basepath, string()}. previewText(#wx_ref{type=ThisT,ref=ThisRef},Htmltext, Options) when is_list(Htmltext),is_list(Options) -> ?CLASS(ThisT,wxHtmlEasyPrinting), @@ -94,8 +104,9 @@ previewText(#wx_ref{type=ThisT,ref=ThisRef},Htmltext, Options) wxe_util:call(?wxHtmlEasyPrinting_PreviewText, <>). -%% @spec (This::wxHtmlEasyPrinting(), Htmlfile::string()) -> bool() %% @doc See external documentation. +-spec printFile(This, Htmlfile) -> boolean() when + This::wxHtmlEasyPrinting(), Htmlfile::string(). printFile(#wx_ref{type=ThisT,ref=ThisRef},Htmlfile) when is_list(Htmlfile) -> ?CLASS(ThisT,wxHtmlEasyPrinting), @@ -103,15 +114,18 @@ printFile(#wx_ref{type=ThisT,ref=ThisRef},Htmlfile) wxe_util:call(?wxHtmlEasyPrinting_PrintFile, <>). -%% @spec (This::wxHtmlEasyPrinting(), Htmltext::string()) -> bool() %% @equiv printText(This,Htmltext, []) +-spec printText(This, Htmltext) -> boolean() when + This::wxHtmlEasyPrinting(), Htmltext::string(). + printText(This,Htmltext) when is_record(This, wx_ref),is_list(Htmltext) -> printText(This,Htmltext, []). -%% @spec (This::wxHtmlEasyPrinting(), Htmltext::string(), [Option]) -> bool() -%% Option = {basepath, string()} %% @doc See external documentation. +-spec printText(This, Htmltext, [Option]) -> boolean() when + This::wxHtmlEasyPrinting(), Htmltext::string(), + Option :: {basepath, string()}. printText(#wx_ref{type=ThisT,ref=ThisRef},Htmltext, Options) when is_list(Htmltext),is_list(Options) -> ?CLASS(ThisT,wxHtmlEasyPrinting), @@ -122,22 +136,26 @@ printText(#wx_ref{type=ThisT,ref=ThisRef},Htmltext, Options) wxe_util:call(?wxHtmlEasyPrinting_PrintText, <>). -%% @spec (This::wxHtmlEasyPrinting()) -> ok %% @doc See external documentation. +-spec pageSetup(This) -> ok when + This::wxHtmlEasyPrinting(). pageSetup(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxHtmlEasyPrinting), wxe_util:cast(?wxHtmlEasyPrinting_PageSetup, <>). -%% @spec (This::wxHtmlEasyPrinting(), Normal_face::string(), Fixed_face::string()) -> ok %% @equiv setFonts(This,Normal_face,Fixed_face, []) +-spec setFonts(This, Normal_face, Fixed_face) -> ok when + This::wxHtmlEasyPrinting(), Normal_face::string(), Fixed_face::string(). + setFonts(This,Normal_face,Fixed_face) when is_record(This, wx_ref),is_list(Normal_face),is_list(Fixed_face) -> setFonts(This,Normal_face,Fixed_face, []). -%% @spec (This::wxHtmlEasyPrinting(), Normal_face::string(), Fixed_face::string(), [Option]) -> ok -%% Option = {sizes, [integer()]} %% @doc See external documentation. +-spec setFonts(This, Normal_face, Fixed_face, [Option]) -> ok when + This::wxHtmlEasyPrinting(), Normal_face::string(), Fixed_face::string(), + Option :: {sizes, [integer()]}. setFonts(#wx_ref{type=ThisT,ref=ThisRef},Normal_face,Fixed_face, Options) when is_list(Normal_face),is_list(Fixed_face),is_list(Options) -> ?CLASS(ThisT,wxHtmlEasyPrinting), @@ -150,15 +168,18 @@ setFonts(#wx_ref{type=ThisT,ref=ThisRef},Normal_face,Fixed_face, Options) wxe_util:cast(?wxHtmlEasyPrinting_SetFonts, <>). -%% @spec (This::wxHtmlEasyPrinting(), Header::string()) -> ok %% @equiv setHeader(This,Header, []) +-spec setHeader(This, Header) -> ok when + This::wxHtmlEasyPrinting(), Header::string(). + setHeader(This,Header) when is_record(This, wx_ref),is_list(Header) -> setHeader(This,Header, []). -%% @spec (This::wxHtmlEasyPrinting(), Header::string(), [Option]) -> ok -%% Option = {pg, integer()} %% @doc See external documentation. +-spec setHeader(This, Header, [Option]) -> ok when + This::wxHtmlEasyPrinting(), Header::string(), + Option :: {pg, integer()}. setHeader(#wx_ref{type=ThisT,ref=ThisRef},Header, Options) when is_list(Header),is_list(Options) -> ?CLASS(ThisT,wxHtmlEasyPrinting), @@ -169,15 +190,18 @@ setHeader(#wx_ref{type=ThisT,ref=ThisRef},Header, Options) wxe_util:cast(?wxHtmlEasyPrinting_SetHeader, <>). -%% @spec (This::wxHtmlEasyPrinting(), Footer::string()) -> ok %% @equiv setFooter(This,Footer, []) +-spec setFooter(This, Footer) -> ok when + This::wxHtmlEasyPrinting(), Footer::string(). + setFooter(This,Footer) when is_record(This, wx_ref),is_list(Footer) -> setFooter(This,Footer, []). -%% @spec (This::wxHtmlEasyPrinting(), Footer::string(), [Option]) -> ok -%% Option = {pg, integer()} %% @doc See external documentation. +-spec setFooter(This, Footer, [Option]) -> ok when + This::wxHtmlEasyPrinting(), Footer::string(), + Option :: {pg, integer()}. setFooter(#wx_ref{type=ThisT,ref=ThisRef},Footer, Options) when is_list(Footer),is_list(Options) -> ?CLASS(ThisT,wxHtmlEasyPrinting), @@ -188,8 +212,8 @@ setFooter(#wx_ref{type=ThisT,ref=ThisRef},Footer, Options) wxe_util:cast(?wxHtmlEasyPrinting_SetFooter, <>). -%% @spec (This::wxHtmlEasyPrinting()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxHtmlEasyPrinting) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxHtmlEasyPrinting), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxHtmlLinkEvent.erl b/lib/wx/src/gen/wxHtmlLinkEvent.erl index 166493ccbc..94fe670f35 100644 --- a/lib/wx/src/gen/wxHtmlLinkEvent.erl +++ b/lib/wx/src/gen/wxHtmlLinkEvent.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2009-2010. All Rights Reserved. +%% Copyright Ericsson AB 2009-2012. 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,13 +40,16 @@ parent_class/1,resumePropagation/2,setInt/2,setString/2,shouldPropagate/1, skip/1,skip/2,stopPropagation/1]). +-export_type([wxHtmlLinkEvent/0]). %% @hidden parent_class(wxCommandEvent) -> true; parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxHtmlLinkEvent()) -> wx:wxHtmlLinkInfo() +-type wxHtmlLinkEvent() :: wx:wx_object(). %% @doc See external documentation. +-spec getLinkInfo(This) -> wx:wx_wxHtmlLinkInfo() when + This::wxHtmlLinkEvent(). getLinkInfo(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxHtmlLinkEvent), wxe_util:call(?wxHtmlLinkEvent_GetLinkInfo, diff --git a/lib/wx/src/gen/wxHtmlWindow.erl b/lib/wx/src/gen/wxHtmlWindow.erl index 891e5481fb..c8237ec31d 100644 --- a/lib/wx/src/gen/wxHtmlWindow.erl +++ b/lib/wx/src/gen/wxHtmlWindow.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2009-2011. All Rights Reserved. +%% Copyright Ericsson AB 2009-2012. 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 @@ -79,6 +79,7 @@ transferDataToWindow/1,update/1,updateWindowUI/1,updateWindowUI/2, validate/1,warpPointer/3]). +-export_type([wxHtmlWindow/0]). %% @hidden parent_class(wxScrolledWindow) -> true; parent_class(wxPanel) -> true; @@ -86,21 +87,28 @@ parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxHtmlWindow() +-type wxHtmlWindow() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxHtmlWindow(). new() -> wxe_util:construct(?wxHtmlWindow_new_0, <<>>). -%% @spec (Parent::wxWindow:wxWindow()) -> wxHtmlWindow() %% @equiv new(Parent, []) +-spec new(Parent) -> wxHtmlWindow() when + Parent::wxWindow:wxWindow(). + new(Parent) when is_record(Parent, wx_ref) -> new(Parent, []). -%% @spec (Parent::wxWindow:wxWindow(), [Option]) -> wxHtmlWindow() -%% Option = {id, integer()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} %% @doc See external documentation. +-spec new(Parent, [Option]) -> wxHtmlWindow() when + Parent::wxWindow:wxWindow(), + Option :: {id, integer()} + | {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()}. new(#wx_ref{type=ParentT,ref=ParentRef}, Options) when is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -113,8 +121,9 @@ new(#wx_ref{type=ParentT,ref=ParentRef}, Options) wxe_util:construct(?wxHtmlWindow_new_2, <>). -%% @spec (This::wxHtmlWindow(), Source::string()) -> bool() %% @doc See external documentation. +-spec appendToPage(This, Source) -> boolean() when + This::wxHtmlWindow(), Source::string(). appendToPage(#wx_ref{type=ThisT,ref=ThisRef},Source) when is_list(Source) -> ?CLASS(ThisT,wxHtmlWindow), @@ -122,71 +131,81 @@ appendToPage(#wx_ref{type=ThisT,ref=ThisRef},Source) wxe_util:call(?wxHtmlWindow_AppendToPage, <>). -%% @spec (This::wxHtmlWindow()) -> string() %% @doc See external documentation. +-spec getOpenedAnchor(This) -> string() when + This::wxHtmlWindow(). getOpenedAnchor(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxHtmlWindow), wxe_util:call(?wxHtmlWindow_GetOpenedAnchor, <>). -%% @spec (This::wxHtmlWindow()) -> string() %% @doc See external documentation. +-spec getOpenedPage(This) -> string() when + This::wxHtmlWindow(). getOpenedPage(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxHtmlWindow), wxe_util:call(?wxHtmlWindow_GetOpenedPage, <>). -%% @spec (This::wxHtmlWindow()) -> string() %% @doc See external documentation. +-spec getOpenedPageTitle(This) -> string() when + This::wxHtmlWindow(). getOpenedPageTitle(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxHtmlWindow), wxe_util:call(?wxHtmlWindow_GetOpenedPageTitle, <>). -%% @spec (This::wxHtmlWindow()) -> wxFrame:wxFrame() %% @doc See external documentation. +-spec getRelatedFrame(This) -> wxFrame:wxFrame() when + This::wxHtmlWindow(). getRelatedFrame(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxHtmlWindow), wxe_util:call(?wxHtmlWindow_GetRelatedFrame, <>). -%% @spec (This::wxHtmlWindow()) -> bool() %% @doc See external documentation. +-spec historyBack(This) -> boolean() when + This::wxHtmlWindow(). historyBack(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxHtmlWindow), wxe_util:call(?wxHtmlWindow_HistoryBack, <>). -%% @spec (This::wxHtmlWindow()) -> bool() %% @doc See external documentation. +-spec historyCanBack(This) -> boolean() when + This::wxHtmlWindow(). historyCanBack(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxHtmlWindow), wxe_util:call(?wxHtmlWindow_HistoryCanBack, <>). -%% @spec (This::wxHtmlWindow()) -> bool() %% @doc See external documentation. +-spec historyCanForward(This) -> boolean() when + This::wxHtmlWindow(). historyCanForward(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxHtmlWindow), wxe_util:call(?wxHtmlWindow_HistoryCanForward, <>). -%% @spec (This::wxHtmlWindow()) -> ok %% @doc See external documentation. +-spec historyClear(This) -> ok when + This::wxHtmlWindow(). historyClear(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxHtmlWindow), wxe_util:cast(?wxHtmlWindow_HistoryClear, <>). -%% @spec (This::wxHtmlWindow()) -> bool() %% @doc See external documentation. +-spec historyForward(This) -> boolean() when + This::wxHtmlWindow(). historyForward(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxHtmlWindow), wxe_util:call(?wxHtmlWindow_HistoryForward, <>). -%% @spec (This::wxHtmlWindow(), Filename::string()) -> bool() %% @doc See external documentation. +-spec loadFile(This, Filename) -> boolean() when + This::wxHtmlWindow(), Filename::string(). loadFile(#wx_ref{type=ThisT,ref=ThisRef},Filename) when is_list(Filename) -> ?CLASS(ThisT,wxHtmlWindow), @@ -194,8 +213,9 @@ loadFile(#wx_ref{type=ThisT,ref=ThisRef},Filename) wxe_util:call(?wxHtmlWindow_LoadFile, <>). -%% @spec (This::wxHtmlWindow(), Location::string()) -> bool() %% @doc See external documentation. +-spec loadPage(This, Location) -> boolean() when + This::wxHtmlWindow(), Location::string(). loadPage(#wx_ref{type=ThisT,ref=ThisRef},Location) when is_list(Location) -> ?CLASS(ThisT,wxHtmlWindow), @@ -203,53 +223,61 @@ loadPage(#wx_ref{type=ThisT,ref=ThisRef},Location) wxe_util:call(?wxHtmlWindow_LoadPage, <>). -%% @spec (This::wxHtmlWindow()) -> ok %% @doc See external documentation. +-spec selectAll(This) -> ok when + This::wxHtmlWindow(). selectAll(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxHtmlWindow), wxe_util:cast(?wxHtmlWindow_SelectAll, <>). -%% @spec (This::wxHtmlWindow()) -> string() %% @doc See external documentation. +-spec selectionToText(This) -> string() when + This::wxHtmlWindow(). selectionToText(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxHtmlWindow), wxe_util:call(?wxHtmlWindow_SelectionToText, <>). -%% @spec (This::wxHtmlWindow(), Pos::{X::integer(), Y::integer()}) -> ok %% @doc See external documentation. +-spec selectLine(This, Pos) -> ok when + This::wxHtmlWindow(), Pos::{X::integer(), Y::integer()}. selectLine(#wx_ref{type=ThisT,ref=ThisRef},{PosX,PosY}) when is_integer(PosX),is_integer(PosY) -> ?CLASS(ThisT,wxHtmlWindow), wxe_util:cast(?wxHtmlWindow_SelectLine, <>). -%% @spec (This::wxHtmlWindow(), Pos::{X::integer(), Y::integer()}) -> ok %% @doc See external documentation. +-spec selectWord(This, Pos) -> ok when + This::wxHtmlWindow(), Pos::{X::integer(), Y::integer()}. selectWord(#wx_ref{type=ThisT,ref=ThisRef},{PosX,PosY}) when is_integer(PosX),is_integer(PosY) -> ?CLASS(ThisT,wxHtmlWindow), wxe_util:cast(?wxHtmlWindow_SelectWord, <>). -%% @spec (This::wxHtmlWindow(), B::integer()) -> ok %% @doc See external documentation. +-spec setBorders(This, B) -> ok when + This::wxHtmlWindow(), B::integer(). setBorders(#wx_ref{type=ThisT,ref=ThisRef},B) when is_integer(B) -> ?CLASS(ThisT,wxHtmlWindow), wxe_util:cast(?wxHtmlWindow_SetBorders, <>). -%% @spec (This::wxHtmlWindow(), Normal_face::string(), Fixed_face::string()) -> ok %% @equiv setFonts(This,Normal_face,Fixed_face, []) +-spec setFonts(This, Normal_face, Fixed_face) -> ok when + This::wxHtmlWindow(), Normal_face::string(), Fixed_face::string(). + setFonts(This,Normal_face,Fixed_face) when is_record(This, wx_ref),is_list(Normal_face),is_list(Fixed_face) -> setFonts(This,Normal_face,Fixed_face, []). -%% @spec (This::wxHtmlWindow(), Normal_face::string(), Fixed_face::string(), [Option]) -> ok -%% Option = {sizes, integer()} %% @doc See external documentation. +-spec setFonts(This, Normal_face, Fixed_face, [Option]) -> ok when + This::wxHtmlWindow(), Normal_face::string(), Fixed_face::string(), + Option :: {sizes, integer()}. setFonts(#wx_ref{type=ThisT,ref=ThisRef},Normal_face,Fixed_face, Options) when is_list(Normal_face),is_list(Fixed_face),is_list(Options) -> ?CLASS(ThisT,wxHtmlWindow), @@ -261,8 +289,9 @@ setFonts(#wx_ref{type=ThisT,ref=ThisRef},Normal_face,Fixed_face, Options) wxe_util:cast(?wxHtmlWindow_SetFonts, <>). -%% @spec (This::wxHtmlWindow(), Source::string()) -> bool() %% @doc See external documentation. +-spec setPage(This, Source) -> boolean() when + This::wxHtmlWindow(), Source::string(). setPage(#wx_ref{type=ThisT,ref=ThisRef},Source) when is_list(Source) -> ?CLASS(ThisT,wxHtmlWindow), @@ -270,8 +299,9 @@ setPage(#wx_ref{type=ThisT,ref=ThisRef},Source) wxe_util:call(?wxHtmlWindow_SetPage, <>). -%% @spec (This::wxHtmlWindow(), Frame::wxFrame:wxFrame(), Format::string()) -> ok %% @doc See external documentation. +-spec setRelatedFrame(This, Frame, Format) -> ok when + This::wxHtmlWindow(), Frame::wxFrame:wxFrame(), Format::string(). setRelatedFrame(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FrameT,ref=FrameRef},Format) when is_list(Format) -> ?CLASS(ThisT,wxHtmlWindow), @@ -280,23 +310,25 @@ setRelatedFrame(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FrameT,ref=FrameRef wxe_util:cast(?wxHtmlWindow_SetRelatedFrame, <>). -%% @spec (This::wxHtmlWindow(), Bar::integer()) -> ok %% @doc See external documentation. +-spec setRelatedStatusBar(This, Bar) -> ok when + This::wxHtmlWindow(), Bar::integer(). setRelatedStatusBar(#wx_ref{type=ThisT,ref=ThisRef},Bar) when is_integer(Bar) -> ?CLASS(ThisT,wxHtmlWindow), wxe_util:cast(?wxHtmlWindow_SetRelatedStatusBar, <>). -%% @spec (This::wxHtmlWindow()) -> string() %% @doc See external documentation. +-spec toText(This) -> string() when + This::wxHtmlWindow(). toText(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxHtmlWindow), wxe_util:call(?wxHtmlWindow_ToText, <>). -%% @spec (This::wxHtmlWindow()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxHtmlWindow) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxHtmlWindow), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxIcon.erl b/lib/wx/src/gen/wxIcon.erl index 5b224c00b6..0e218f9917 100644 --- a/lib/wx/src/gen/wxIcon.erl +++ b/lib/wx/src/gen/wxIcon.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,24 +35,23 @@ saveFile/3,saveFile/4,setDepth/2,setHeight/2,setMask/2,setPalette/2, setWidth/2]). +-export_type([wxIcon/0]). %% @hidden parent_class(wxBitmap) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxIcon() +-type wxIcon() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxIcon(). new() -> wxe_util:construct(?wxIcon_new_0, <<>>). -%% @spec (X::string()|term()) -> wxIcon() %% @doc See external documentation. -%%
Alternatives: -%%

-%% new(Filename::string()) -> new(Filename, [])

-%%

-%% new(Loc::wx:wx()) -> wxIcon() -%%

+-spec new(Filename) -> wxIcon() when + Filename::string(); + (Loc) -> wxIcon() when + Loc::wx:wx(). new(Filename) when is_list(Filename) -> @@ -62,11 +61,13 @@ new(#wx_ref{type=LocT,ref=LocRef}) -> wxe_util:construct(?wxIcon_new_1, <>). -%% @spec (Filename::string(), [Option]) -> wxIcon() -%% Option = {type, WxBitmapType} | {desiredWidth, integer()} | {desiredHeight, integer()} -%% WxBitmapType = integer() %% @doc See external documentation. -%%
WxBitmapType is one of ?wxBITMAP_TYPE_INVALID | ?wxBITMAP_TYPE_BMP | ?wxBITMAP_TYPE_BMP_RESOURCE | ?wxBITMAP_TYPE_RESOURCE | ?wxBITMAP_TYPE_ICO | ?wxBITMAP_TYPE_ICO_RESOURCE | ?wxBITMAP_TYPE_CUR | ?wxBITMAP_TYPE_CUR_RESOURCE | ?wxBITMAP_TYPE_XBM | ?wxBITMAP_TYPE_XBM_DATA | ?wxBITMAP_TYPE_XPM | ?wxBITMAP_TYPE_XPM_DATA | ?wxBITMAP_TYPE_TIF | ?wxBITMAP_TYPE_TIF_RESOURCE | ?wxBITMAP_TYPE_GIF | ?wxBITMAP_TYPE_GIF_RESOURCE | ?wxBITMAP_TYPE_PNG | ?wxBITMAP_TYPE_PNG_RESOURCE | ?wxBITMAP_TYPE_JPEG | ?wxBITMAP_TYPE_JPEG_RESOURCE | ?wxBITMAP_TYPE_PNM | ?wxBITMAP_TYPE_PNM_RESOURCE | ?wxBITMAP_TYPE_PCX | ?wxBITMAP_TYPE_PCX_RESOURCE | ?wxBITMAP_TYPE_PICT | ?wxBITMAP_TYPE_PICT_RESOURCE | ?wxBITMAP_TYPE_ICON | ?wxBITMAP_TYPE_ICON_RESOURCE | ?wxBITMAP_TYPE_ANI | ?wxBITMAP_TYPE_IFF | ?wxBITMAP_TYPE_TGA | ?wxBITMAP_TYPE_MACCURSOR | ?wxBITMAP_TYPE_MACCURSOR_RESOURCE | ?wxBITMAP_TYPE_ANY +%%
Type = ?wxBITMAP_TYPE_INVALID | ?wxBITMAP_TYPE_BMP | ?wxBITMAP_TYPE_BMP_RESOURCE | ?wxBITMAP_TYPE_RESOURCE | ?wxBITMAP_TYPE_ICO | ?wxBITMAP_TYPE_ICO_RESOURCE | ?wxBITMAP_TYPE_CUR | ?wxBITMAP_TYPE_CUR_RESOURCE | ?wxBITMAP_TYPE_XBM | ?wxBITMAP_TYPE_XBM_DATA | ?wxBITMAP_TYPE_XPM | ?wxBITMAP_TYPE_XPM_DATA | ?wxBITMAP_TYPE_TIF | ?wxBITMAP_TYPE_TIF_RESOURCE | ?wxBITMAP_TYPE_GIF | ?wxBITMAP_TYPE_GIF_RESOURCE | ?wxBITMAP_TYPE_PNG | ?wxBITMAP_TYPE_PNG_RESOURCE | ?wxBITMAP_TYPE_JPEG | ?wxBITMAP_TYPE_JPEG_RESOURCE | ?wxBITMAP_TYPE_PNM | ?wxBITMAP_TYPE_PNM_RESOURCE | ?wxBITMAP_TYPE_PCX | ?wxBITMAP_TYPE_PCX_RESOURCE | ?wxBITMAP_TYPE_PICT | ?wxBITMAP_TYPE_PICT_RESOURCE | ?wxBITMAP_TYPE_ICON | ?wxBITMAP_TYPE_ICON_RESOURCE | ?wxBITMAP_TYPE_ANI | ?wxBITMAP_TYPE_IFF | ?wxBITMAP_TYPE_TGA | ?wxBITMAP_TYPE_MACCURSOR | ?wxBITMAP_TYPE_MACCURSOR_RESOURCE | ?wxBITMAP_TYPE_ANY +-spec new(Filename, [Option]) -> wxIcon() when + Filename::string(), + Option :: {type, wx:wx_enum()} + | {desiredWidth, integer()} + | {desiredHeight, integer()}. new(Filename, Options) when is_list(Filename),is_list(Options) -> Filename_UC = unicode:characters_to_binary([Filename,0]), @@ -78,16 +79,17 @@ new(Filename, Options) wxe_util:construct(?wxIcon_new_2, <<(byte_size(Filename_UC)):32/?UI,(Filename_UC)/binary, 0:(((8- ((4+byte_size(Filename_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>). -%% @spec (This::wxIcon(), Bmp::wxBitmap:wxBitmap()) -> ok %% @doc See external documentation. +-spec copyFromBitmap(This, Bmp) -> ok when + This::wxIcon(), Bmp::wxBitmap:wxBitmap(). copyFromBitmap(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BmpT,ref=BmpRef}) -> ?CLASS(ThisT,wxIcon), ?CLASS(BmpT,wxBitmap), wxe_util:cast(?wxIcon_CopyFromBitmap, <>). -%% @spec (This::wxIcon()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxIcon) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxIcon), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxIconBundle.erl b/lib/wx/src/gen/wxIconBundle.erl index 011b2dd1ac..4d4614f171 100644 --- a/lib/wx/src/gen/wxIconBundle.erl +++ b/lib/wx/src/gen/wxIconBundle.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,20 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxIconBundle/0]). %% @hidden parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxIconBundle() +-type wxIconBundle() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxIconBundle(). new() -> wxe_util:construct(?wxIconBundle_new_0, <<>>). -%% @spec (Ic::wxIconBundle() | wxIcon:wxIcon()) -> wxIconBundle() %% @doc See external documentation. +-spec new(Ic) -> wxIconBundle() when + Ic::wxIconBundle() | wxIcon:wxIcon(). new(#wx_ref{type=IcT,ref=IcRef}) -> IcOP = case ?CLASS_T(IcT,wxIconBundle) of true -> @@ -50,24 +53,27 @@ new(#wx_ref{type=IcT,ref=IcRef}) -> wxe_util:construct(IcOP, <>). -%% @spec (File::string(), Type::integer()) -> wxIconBundle() %% @doc See external documentation. +-spec new(File, Type) -> wxIconBundle() when + File::string(), Type::integer(). new(File,Type) when is_list(File),is_integer(Type) -> File_UC = unicode:characters_to_binary([File,0]), wxe_util:construct(?wxIconBundle_new_2, <<(byte_size(File_UC)):32/?UI,(File_UC)/binary, 0:(((8- ((4+byte_size(File_UC)) band 16#7)) band 16#7))/unit:8,Type:32/?UI>>). -%% @spec (This::wxIconBundle(), Icon::wxIcon:wxIcon()) -> ok %% @doc See external documentation. +-spec addIcon(This, Icon) -> ok when + This::wxIconBundle(), Icon::wxIcon:wxIcon(). addIcon(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=IconT,ref=IconRef}) -> ?CLASS(ThisT,wxIconBundle), ?CLASS(IconT,wxIcon), wxe_util:cast(?wxIconBundle_AddIcon_1, <>). -%% @spec (This::wxIconBundle(), File::string(), Type::integer()) -> ok %% @doc See external documentation. +-spec addIcon(This, File, Type) -> ok when + This::wxIconBundle(), File::string(), Type::integer(). addIcon(#wx_ref{type=ThisT,ref=ThisRef},File,Type) when is_list(File),is_integer(Type) -> ?CLASS(ThisT,wxIconBundle), @@ -75,22 +81,20 @@ addIcon(#wx_ref{type=ThisT,ref=ThisRef},File,Type) wxe_util:cast(?wxIconBundle_AddIcon_2, <>). -%% @spec (This::wxIconBundle()) -> wxIcon:wxIcon() %% @equiv getIcon(This, []) +-spec getIcon(This) -> wxIcon:wxIcon() when + This::wxIconBundle(). + getIcon(This) when is_record(This, wx_ref) -> getIcon(This, []). -%% @spec (This::wxIconBundle(),X::term()) -> wxIcon:wxIcon() %% @doc See external documentation. -%%
Alternatives: -%%

-%% getIcon(This::wxIconBundle(), [Option]) -> wxIcon:wxIcon() -%%
Option = {size, integer()} -%%

-%%

-%% getIcon(This::wxIconBundle(), Size::{W::integer(), H::integer()}) -> wxIcon:wxIcon() -%%

+-spec getIcon(This, [Option]) -> wxIcon:wxIcon() when + This::wxIconBundle(), + Option :: {size, integer()}; + (This, Size) -> wxIcon:wxIcon() when + This::wxIconBundle(), Size::{W::integer(), H::integer()}. getIcon(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxIconBundle), @@ -105,8 +109,8 @@ getIcon(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH}) wxe_util:call(?wxIconBundle_GetIcon_1_1, <>). -%% @spec (This::wxIconBundle()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxIconBundle) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxIconBundle), wxe_util:destroy(?wxIconBundle_destruct,Obj), diff --git a/lib/wx/src/gen/wxIconizeEvent.erl b/lib/wx/src/gen/wxIconizeEvent.erl index 647d8019a1..f428ebf70f 100644 --- a/lib/wx/src/gen/wxIconizeEvent.erl +++ b/lib/wx/src/gen/wxIconizeEvent.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,12 +37,15 @@ -export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1, resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]). +-export_type([wxIconizeEvent/0]). %% @hidden parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxIconizeEvent()) -> bool() +-type wxIconizeEvent() :: wx:wx_object(). %% @doc See external documentation. +-spec iconized(This) -> boolean() when + This::wxIconizeEvent(). iconized(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxIconizeEvent), wxe_util:call(?wxIconizeEvent_Iconized, diff --git a/lib/wx/src/gen/wxIdleEvent.erl b/lib/wx/src/gen/wxIdleEvent.erl index 87ed7e0cd2..4749026446 100644 --- a/lib/wx/src/gen/wxIdleEvent.erl +++ b/lib/wx/src/gen/wxIdleEvent.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,34 +37,39 @@ -export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1, resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]). +-export_type([wxIdleEvent/0]). %% @hidden parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (Win::wxWindow:wxWindow()) -> bool() +-type wxIdleEvent() :: wx:wx_object(). %% @doc See external documentation. +-spec canSend(Win) -> boolean() when + Win::wxWindow:wxWindow(). canSend(#wx_ref{type=WinT,ref=WinRef}) -> ?CLASS(WinT,wxWindow), wxe_util:call(?wxIdleEvent_CanSend, <>). -%% @spec () -> WxIdleMode -%% WxIdleMode = integer() %% @doc See external documentation. -%%
WxIdleMode is one of ?wxIDLE_PROCESS_ALL | ?wxIDLE_PROCESS_SPECIFIED +%%
Res = ?wxIDLE_PROCESS_ALL | ?wxIDLE_PROCESS_SPECIFIED +-spec getMode() -> wx:wx_enum(). getMode() -> wxe_util:call(?wxIdleEvent_GetMode, <<>>). -%% @spec (This::wxIdleEvent()) -> ok %% @equiv requestMore(This, []) +-spec requestMore(This) -> ok when + This::wxIdleEvent(). + requestMore(This) when is_record(This, wx_ref) -> requestMore(This, []). -%% @spec (This::wxIdleEvent(), [Option]) -> ok -%% Option = {needMore, bool()} %% @doc See external documentation. +-spec requestMore(This, [Option]) -> ok when + This::wxIdleEvent(), + Option :: {needMore, boolean()}. requestMore(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxIdleEvent), @@ -74,17 +79,18 @@ requestMore(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:cast(?wxIdleEvent_RequestMore, <>). -%% @spec (This::wxIdleEvent()) -> bool() %% @doc See external documentation. +-spec moreRequested(This) -> boolean() when + This::wxIdleEvent(). moreRequested(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxIdleEvent), wxe_util:call(?wxIdleEvent_MoreRequested, <>). -%% @spec (Mode::WxIdleMode) -> ok -%% WxIdleMode = integer() %% @doc See external documentation. -%%
WxIdleMode is one of ?wxIDLE_PROCESS_ALL | ?wxIDLE_PROCESS_SPECIFIED +%%
Mode = ?wxIDLE_PROCESS_ALL | ?wxIDLE_PROCESS_SPECIFIED +-spec setMode(Mode) -> ok when + Mode::wx:wx_enum(). setMode(Mode) when is_integer(Mode) -> wxe_util:cast(?wxIdleEvent_SetMode, diff --git a/lib/wx/src/gen/wxImage.erl b/lib/wx/src/gen/wxImage.erl index ea41a78a40..3f8cb2be22 100644 --- a/lib/wx/src/gen/wxImage.erl +++ b/lib/wx/src/gen/wxImage.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -47,30 +47,32 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxImage/0]). %% @hidden parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxImage() +-type wxImage() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxImage(). new() -> wxe_util:construct(?wxImage_new_0, <<>>). -%% @spec (Name::string()) -> wxImage() %% @equiv new(Name, []) +-spec new(Name) -> wxImage() when + Name::string(). + new(Name) when is_list(Name) -> new(Name, []). -%% @spec (X::integer()|string(),X::integer()|term()) -> wxImage() %% @doc See external documentation. -%%
Alternatives: -%%

-%% new(Width::integer(), Height::integer()) -> new(Width,Height, [])

-%%

-%% new(Name::string(), [Option]) -> wxImage() -%%
Option = {type, integer()} | {index, integer()} -%%

+-spec new(Width, Height) -> wxImage() when + Width::integer(), Height::integer(); + (Name, [Option]) -> wxImage() when + Name::string(), + Option :: {type, integer()} + | {index, integer()}. new(Width,Height) when is_integer(Width),is_integer(Height) -> @@ -85,19 +87,15 @@ new(Name, Options) wxe_util:construct(?wxImage_new_2, <<(byte_size(Name_UC)):32/?UI,(Name_UC)/binary, 0:(((8- ((4+byte_size(Name_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>). -%% @spec (X::integer()|string(),X::integer()|string(),X::binary()|term()) -> wxImage() %% @doc See external documentation. -%%
Alternatives: -%%

-%% new(Width::integer(), Height::integer(), Data::binary()) -> new(Width,Height,Data, [])

-%%

-%% new(Width::integer(), Height::integer(), [Option]) -> wxImage() -%%
Option = {clear, bool()} -%%

-%%

-%% new(Name::string(), Mimetype::string(), [Option]) -> wxImage() -%%
Option = {index, integer()} -%%

+-spec new(Width, Height, Data) -> wxImage() when + Width::integer(), Height::integer(), Data::binary(); + (Width, Height, [Option]) -> wxImage() when + Width::integer(), Height::integer(), + Option :: {clear, boolean()}; + (Name, Mimetype, [Option]) -> wxImage() when + Name::string(), Mimetype::string(), + Option :: {index, integer()}. new(Width,Height,Data) when is_integer(Width),is_integer(Height),is_binary(Data) -> @@ -119,15 +117,12 @@ new(Name,Mimetype, Options) wxe_util:construct(?wxImage_new_3_1, <<(byte_size(Name_UC)):32/?UI,(Name_UC)/binary, 0:(((8- ((4+byte_size(Name_UC)) band 16#7)) band 16#7))/unit:8,(byte_size(Mimetype_UC)):32/?UI,(Mimetype_UC)/binary, 0:(((8- ((4+byte_size(Mimetype_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>). -%% @spec (Width::integer(),Height::integer(),Data::binary(),X::binary()|term()) -> wxImage() %% @doc See external documentation. -%%
Alternatives: -%%

-%% new(Width::integer(), Height::integer(), Data::binary(), Alpha::binary()) -> new(Width,Height,Data,Alpha, [])

-%%

-%% new(Width::integer(), Height::integer(), Data::binary(), [Option]) -> wxImage() -%%
Option = {static_data, bool()} -%%

+-spec new(Width, Height, Data, Alpha) -> wxImage() when + Width::integer(), Height::integer(), Data::binary(), Alpha::binary(); + (Width, Height, Data, [Option]) -> wxImage() when + Width::integer(), Height::integer(), Data::binary(), + Option :: {static_data, boolean()}. new(Width,Height,Data,Alpha) when is_integer(Width),is_integer(Height),is_binary(Data),is_binary(Alpha) -> @@ -141,9 +136,10 @@ new(Width,Height,Data, Options) wxe_util:construct(?wxImage_new_4, <>). -%% @spec (Width::integer(), Height::integer(), Data::binary(), Alpha::binary(), [Option]) -> wxImage() -%% Option = {static_data, bool()} %% @doc See external documentation. +-spec new(Width, Height, Data, Alpha, [Option]) -> wxImage() when + Width::integer(), Height::integer(), Data::binary(), Alpha::binary(), + Option :: {static_data, boolean()}. new(Width,Height,Data,Alpha, Options) when is_integer(Width),is_integer(Height),is_binary(Data),is_binary(Alpha),is_list(Options) -> wxe_util:send_bin(Data), @@ -154,39 +150,45 @@ new(Width,Height,Data,Alpha, Options) wxe_util:construct(?wxImage_new_5, <>). -%% @spec (This::wxImage(), Radius::integer()) -> wxImage() %% @doc See external documentation. +-spec blur(This, Radius) -> wxImage() when + This::wxImage(), Radius::integer(). blur(#wx_ref{type=ThisT,ref=ThisRef},Radius) when is_integer(Radius) -> ?CLASS(ThisT,wxImage), wxe_util:call(?wxImage_Blur, <>). -%% @spec (This::wxImage(), Radius::integer()) -> wxImage() %% @doc See external documentation. +-spec blurHorizontal(This, Radius) -> wxImage() when + This::wxImage(), Radius::integer(). blurHorizontal(#wx_ref{type=ThisT,ref=ThisRef},Radius) when is_integer(Radius) -> ?CLASS(ThisT,wxImage), wxe_util:call(?wxImage_BlurHorizontal, <>). -%% @spec (This::wxImage(), Radius::integer()) -> wxImage() %% @doc See external documentation. +-spec blurVertical(This, Radius) -> wxImage() when + This::wxImage(), Radius::integer(). blurVertical(#wx_ref{type=ThisT,ref=ThisRef},Radius) when is_integer(Radius) -> ?CLASS(ThisT,wxImage), wxe_util:call(?wxImage_BlurVertical, <>). -%% @spec (This::wxImage()) -> bool() %% @equiv convertAlphaToMask(This, []) +-spec convertAlphaToMask(This) -> boolean() when + This::wxImage(). + convertAlphaToMask(This) when is_record(This, wx_ref) -> convertAlphaToMask(This, []). -%% @spec (This::wxImage(), [Option]) -> bool() -%% Option = {threshold, integer()} %% @doc See external documentation. +-spec convertAlphaToMask(This, [Option]) -> boolean() when + This::wxImage(), + Option :: {threshold, integer()}. convertAlphaToMask(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxImage), @@ -196,15 +198,20 @@ convertAlphaToMask(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxImage_ConvertAlphaToMask, <>). -%% @spec (This::wxImage()) -> wxImage() %% @equiv convertToGreyscale(This, []) +-spec convertToGreyscale(This) -> wxImage() when + This::wxImage(). + convertToGreyscale(This) when is_record(This, wx_ref) -> convertToGreyscale(This, []). -%% @spec (This::wxImage(), [Option]) -> wxImage() -%% Option = {lr, float()} | {lg, float()} | {lb, float()} %% @doc See external documentation. +-spec convertToGreyscale(This, [Option]) -> wxImage() when + This::wxImage(), + Option :: {lr, float()} + | {lg, float()} + | {lb, float()}. convertToGreyscale(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxImage), @@ -216,36 +223,37 @@ convertToGreyscale(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxImage_ConvertToGreyscale, <>). -%% @spec (This::wxImage(), R::integer(), G::integer(), B::integer()) -> wxImage() %% @doc See external documentation. +-spec convertToMono(This, R, G, B) -> wxImage() when + This::wxImage(), R::integer(), G::integer(), B::integer(). convertToMono(#wx_ref{type=ThisT,ref=ThisRef},R,G,B) when is_integer(R),is_integer(G),is_integer(B) -> ?CLASS(ThisT,wxImage), wxe_util:call(?wxImage_ConvertToMono, <>). -%% @spec (This::wxImage()) -> wxImage() %% @doc See external documentation. +-spec copy(This) -> wxImage() when + This::wxImage(). copy(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxImage), wxe_util:call(?wxImage_Copy, <>). -%% @spec (This::wxImage(), Width::integer(), Height::integer()) -> bool() %% @equiv create(This,Width,Height, []) +-spec create(This, Width, Height) -> boolean() when + This::wxImage(), Width::integer(), Height::integer(). + create(This,Width,Height) when is_record(This, wx_ref),is_integer(Width),is_integer(Height) -> create(This,Width,Height, []). -%% @spec (This::wxImage(),Width::integer(),Height::integer(),X::binary()|term()) -> bool() %% @doc See external documentation. -%%
Alternatives: -%%

-%% create(This::wxImage(), Width::integer(), Height::integer(), Data::binary()) -> create(This,Width,Height,Data, [])

-%%

-%% create(This::wxImage(), Width::integer(), Height::integer(), [Option]) -> bool() -%%
Option = {clear, bool()} -%%

+-spec create(This, Width, Height, Data) -> boolean() when + This::wxImage(), Width::integer(), Height::integer(), Data::binary(); + (This, Width, Height, [Option]) -> boolean() when + This::wxImage(), Width::integer(), Height::integer(), + Option :: {clear, boolean()}. create(This,Width,Height,Data) when is_record(This, wx_ref),is_integer(Width),is_integer(Height),is_binary(Data) -> @@ -259,15 +267,12 @@ create(#wx_ref{type=ThisT,ref=ThisRef},Width,Height, Options) wxe_util:call(?wxImage_Create_3, <>). -%% @spec (This::wxImage(),Width::integer(),Height::integer(),Data::binary(),X::binary()|term()) -> bool() %% @doc See external documentation. -%%
Alternatives: -%%

-%% create(This::wxImage(), Width::integer(), Height::integer(), Data::binary(), Alpha::binary()) -> create(This,Width,Height,Data,Alpha, [])

-%%

-%% create(This::wxImage(), Width::integer(), Height::integer(), Data::binary(), [Option]) -> bool() -%%
Option = {static_data, bool()} -%%

+-spec create(This, Width, Height, Data, Alpha) -> boolean() when + This::wxImage(), Width::integer(), Height::integer(), Data::binary(), Alpha::binary(); + (This, Width, Height, Data, [Option]) -> boolean() when + This::wxImage(), Width::integer(), Height::integer(), Data::binary(), + Option :: {static_data, boolean()}. create(This,Width,Height,Data,Alpha) when is_record(This, wx_ref),is_integer(Width),is_integer(Height),is_binary(Data),is_binary(Alpha) -> @@ -282,9 +287,10 @@ create(#wx_ref{type=ThisT,ref=ThisRef},Width,Height,Data, Options) wxe_util:call(?wxImage_Create_4, <>). -%% @spec (This::wxImage(), Width::integer(), Height::integer(), Data::binary(), Alpha::binary(), [Option]) -> bool() -%% Option = {static_data, bool()} %% @doc See external documentation. +-spec create(This, Width, Height, Data, Alpha, [Option]) -> boolean() when + This::wxImage(), Width::integer(), Height::integer(), Data::binary(), Alpha::binary(), + Option :: {static_data, boolean()}. create(#wx_ref{type=ThisT,ref=ThisRef},Width,Height,Data,Alpha, Options) when is_integer(Width),is_integer(Height),is_binary(Data),is_binary(Alpha),is_list(Options) -> ?CLASS(ThisT,wxImage), @@ -296,22 +302,30 @@ create(#wx_ref{type=ThisT,ref=ThisRef},Width,Height,Data,Alpha, Options) wxe_util:call(?wxImage_Create_5, <>). -%% @spec (This::wxImage()) -> ok %% @doc See external documentation. +-spec 'Destroy'(This) -> ok when + This::wxImage(). 'Destroy'(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxImage), wxe_util:cast(?wxImage_Destroy, <>). -%% @spec (This::wxImage()) -> {bool(), R::integer(), G::integer(), B::integer()} %% @equiv findFirstUnusedColour(This, []) +-spec findFirstUnusedColour(This) -> Result when + Result ::{Res ::boolean(), R::integer(), G::integer(), B::integer()}, + This::wxImage(). + findFirstUnusedColour(This) when is_record(This, wx_ref) -> findFirstUnusedColour(This, []). -%% @spec (This::wxImage(), [Option]) -> {bool(), R::integer(), G::integer(), B::integer()} -%% Option = {startR, integer()} | {startG, integer()} | {startB, integer()} %% @doc See external documentation. +-spec findFirstUnusedColour(This, [Option]) -> Result when + Result :: {Res ::boolean(), R::integer(), G::integer(), B::integer()}, + This::wxImage(), + Option :: {startR, integer()} + | {startG, integer()} + | {startB, integer()}. findFirstUnusedColour(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxImage), @@ -323,59 +337,67 @@ findFirstUnusedColour(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxImage_FindFirstUnusedColour, <>). -%% @spec () -> string() %% @doc See external documentation. +-spec getImageExtWildcard() -> string(). getImageExtWildcard() -> wxe_util:call(?wxImage_GetImageExtWildcard, <<>>). -%% @spec (This::wxImage()) -> binary() %% @doc See external documentation. +-spec getAlpha(This) -> binary() when + This::wxImage(). getAlpha(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxImage), wxe_util:call(?wxImage_GetAlpha_0, <>). -%% @spec (This::wxImage(), X::integer(), Y::integer()) -> integer() %% @doc See external documentation. +-spec getAlpha(This, X, Y) -> integer() when + This::wxImage(), X::integer(), Y::integer(). getAlpha(#wx_ref{type=ThisT,ref=ThisRef},X,Y) when is_integer(X),is_integer(Y) -> ?CLASS(ThisT,wxImage), wxe_util:call(?wxImage_GetAlpha_2, <>). -%% @spec (This::wxImage(), X::integer(), Y::integer()) -> integer() %% @doc See external documentation. +-spec getBlue(This, X, Y) -> integer() when + This::wxImage(), X::integer(), Y::integer(). getBlue(#wx_ref{type=ThisT,ref=ThisRef},X,Y) when is_integer(X),is_integer(Y) -> ?CLASS(ThisT,wxImage), wxe_util:call(?wxImage_GetBlue, <>). -%% @spec (This::wxImage()) -> binary() %% @doc See external documentation. +-spec getData(This) -> binary() when + This::wxImage(). getData(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxImage), wxe_util:call(?wxImage_GetData, <>). -%% @spec (This::wxImage(), X::integer(), Y::integer()) -> integer() %% @doc See external documentation. +-spec getGreen(This, X, Y) -> integer() when + This::wxImage(), X::integer(), Y::integer(). getGreen(#wx_ref{type=ThisT,ref=ThisRef},X,Y) when is_integer(X),is_integer(Y) -> ?CLASS(ThisT,wxImage), wxe_util:call(?wxImage_GetGreen, <>). -%% @spec (Name::string()) -> integer() %% @equiv getImageCount(Name, []) +-spec getImageCount(Name) -> integer() when + Name::string(). + getImageCount(Name) when is_list(Name) -> getImageCount(Name, []). -%% @spec (Name::string(), [Option]) -> integer() -%% Option = {type, integer()} %% @doc See external documentation. +-spec getImageCount(Name, [Option]) -> integer() when + Name::string(), + Option :: {type, integer()}. getImageCount(Name, Options) when is_list(Name),is_list(Options) -> Name_UC = unicode:characters_to_binary([Name,0]), @@ -385,87 +407,100 @@ getImageCount(Name, Options) wxe_util:call(?wxImage_GetImageCount, <<(byte_size(Name_UC)):32/?UI,(Name_UC)/binary, 0:(((8- ((4+byte_size(Name_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>). -%% @spec (This::wxImage()) -> integer() %% @doc See external documentation. +-spec getHeight(This) -> integer() when + This::wxImage(). getHeight(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxImage), wxe_util:call(?wxImage_GetHeight, <>). -%% @spec (This::wxImage()) -> integer() %% @doc See external documentation. +-spec getMaskBlue(This) -> integer() when + This::wxImage(). getMaskBlue(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxImage), wxe_util:call(?wxImage_GetMaskBlue, <>). -%% @spec (This::wxImage()) -> integer() %% @doc See external documentation. +-spec getMaskGreen(This) -> integer() when + This::wxImage(). getMaskGreen(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxImage), wxe_util:call(?wxImage_GetMaskGreen, <>). -%% @spec (This::wxImage()) -> integer() %% @doc See external documentation. +-spec getMaskRed(This) -> integer() when + This::wxImage(). getMaskRed(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxImage), wxe_util:call(?wxImage_GetMaskRed, <>). -%% @spec (This::wxImage()) -> {bool(), R::integer(), G::integer(), B::integer()} %% @doc See external documentation. +-spec getOrFindMaskColour(This) -> Result when + Result ::{Res ::boolean(), R::integer(), G::integer(), B::integer()}, + This::wxImage(). getOrFindMaskColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxImage), wxe_util:call(?wxImage_GetOrFindMaskColour, <>). -%% @spec (This::wxImage()) -> wxPalette:wxPalette() %% @doc See external documentation. +-spec getPalette(This) -> wxPalette:wxPalette() when + This::wxImage(). getPalette(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxImage), wxe_util:call(?wxImage_GetPalette, <>). -%% @spec (This::wxImage(), X::integer(), Y::integer()) -> integer() %% @doc See external documentation. +-spec getRed(This, X, Y) -> integer() when + This::wxImage(), X::integer(), Y::integer(). getRed(#wx_ref{type=ThisT,ref=ThisRef},X,Y) when is_integer(X),is_integer(Y) -> ?CLASS(ThisT,wxImage), wxe_util:call(?wxImage_GetRed, <>). -%% @spec (This::wxImage(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}) -> wxImage() %% @doc See external documentation. +-spec getSubImage(This, Rect) -> wxImage() when + This::wxImage(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}. getSubImage(#wx_ref{type=ThisT,ref=ThisRef},{RectX,RectY,RectW,RectH}) when is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH) -> ?CLASS(ThisT,wxImage), wxe_util:call(?wxImage_GetSubImage, <>). -%% @spec (This::wxImage()) -> integer() %% @doc See external documentation. +-spec getWidth(This) -> integer() when + This::wxImage(). getWidth(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxImage), wxe_util:call(?wxImage_GetWidth, <>). -%% @spec (This::wxImage()) -> bool() %% @doc See external documentation. +-spec hasAlpha(This) -> boolean() when + This::wxImage(). hasAlpha(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxImage), wxe_util:call(?wxImage_HasAlpha, <>). -%% @spec (This::wxImage()) -> bool() %% @doc See external documentation. +-spec hasMask(This) -> boolean() when + This::wxImage(). hasMask(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxImage), wxe_util:call(?wxImage_HasMask, <>). -%% @spec (This::wxImage(), Name::string()) -> string() %% @doc See external documentation. +-spec getOption(This, Name) -> string() when + This::wxImage(), Name::string(). getOption(#wx_ref{type=ThisT,ref=ThisRef},Name) when is_list(Name) -> ?CLASS(ThisT,wxImage), @@ -473,8 +508,9 @@ getOption(#wx_ref{type=ThisT,ref=ThisRef},Name) wxe_util:call(?wxImage_GetOption, <>). -%% @spec (This::wxImage(), Name::string()) -> integer() %% @doc See external documentation. +-spec getOptionInt(This, Name) -> integer() when + This::wxImage(), Name::string(). getOptionInt(#wx_ref{type=ThisT,ref=ThisRef},Name) when is_list(Name) -> ?CLASS(ThisT,wxImage), @@ -482,8 +518,9 @@ getOptionInt(#wx_ref{type=ThisT,ref=ThisRef},Name) wxe_util:call(?wxImage_GetOptionInt, <>). -%% @spec (This::wxImage(), Name::string()) -> bool() %% @doc See external documentation. +-spec hasOption(This, Name) -> boolean() when + This::wxImage(), Name::string(). hasOption(#wx_ref{type=ThisT,ref=ThisRef},Name) when is_list(Name) -> ?CLASS(ThisT,wxImage), @@ -491,28 +528,32 @@ hasOption(#wx_ref{type=ThisT,ref=ThisRef},Name) wxe_util:call(?wxImage_HasOption, <>). -%% @spec (This::wxImage()) -> ok %% @doc See external documentation. +-spec initAlpha(This) -> ok when + This::wxImage(). initAlpha(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxImage), wxe_util:cast(?wxImage_InitAlpha, <>). -%% @spec () -> ok %% @doc See external documentation. +-spec initStandardHandlers() -> ok. initStandardHandlers() -> wxe_util:cast(?wxImage_InitStandardHandlers, <<>>). -%% @spec (This::wxImage(), X::integer(), Y::integer()) -> bool() %% @equiv isTransparent(This,X,Y, []) +-spec isTransparent(This, X, Y) -> boolean() when + This::wxImage(), X::integer(), Y::integer(). + isTransparent(This,X,Y) when is_record(This, wx_ref),is_integer(X),is_integer(Y) -> isTransparent(This,X,Y, []). -%% @spec (This::wxImage(), X::integer(), Y::integer(), [Option]) -> bool() -%% Option = {threshold, integer()} %% @doc See external documentation. +-spec isTransparent(This, X, Y, [Option]) -> boolean() when + This::wxImage(), X::integer(), Y::integer(), + Option :: {threshold, integer()}. isTransparent(#wx_ref{type=ThisT,ref=ThisRef},X,Y, Options) when is_integer(X),is_integer(Y),is_list(Options) -> ?CLASS(ThisT,wxImage), @@ -522,15 +563,19 @@ isTransparent(#wx_ref{type=ThisT,ref=ThisRef},X,Y, Options) wxe_util:call(?wxImage_IsTransparent, <>). -%% @spec (This::wxImage(), Name::string()) -> bool() %% @equiv loadFile(This,Name, []) +-spec loadFile(This, Name) -> boolean() when + This::wxImage(), Name::string(). + loadFile(This,Name) when is_record(This, wx_ref),is_list(Name) -> loadFile(This,Name, []). -%% @spec (This::wxImage(), Name::string(), [Option]) -> bool() -%% Option = {type, integer()} | {index, integer()} %% @doc See external documentation. +-spec loadFile(This, Name, [Option]) -> boolean() when + This::wxImage(), Name::string(), + Option :: {type, integer()} + | {index, integer()}. loadFile(#wx_ref{type=ThisT,ref=ThisRef},Name, Options) when is_list(Name),is_list(Options) -> ?CLASS(ThisT,wxImage), @@ -542,9 +587,10 @@ loadFile(#wx_ref{type=ThisT,ref=ThisRef},Name, Options) wxe_util:call(?wxImage_LoadFile_2, <>). -%% @spec (This::wxImage(), Name::string(), Mimetype::string(), [Option]) -> bool() -%% Option = {index, integer()} %% @doc See external documentation. +-spec loadFile(This, Name, Mimetype, [Option]) -> boolean() when + This::wxImage(), Name::string(), Mimetype::string(), + Option :: {index, integer()}. loadFile(#wx_ref{type=ThisT,ref=ThisRef},Name,Mimetype, Options) when is_list(Name),is_list(Mimetype),is_list(Options) -> ?CLASS(ThisT,wxImage), @@ -556,30 +602,35 @@ loadFile(#wx_ref{type=ThisT,ref=ThisRef},Name,Mimetype, Options) wxe_util:call(?wxImage_LoadFile_3, <>). -%% @spec (This::wxImage()) -> bool() %% @doc See external documentation. +-spec ok(This) -> boolean() when + This::wxImage(). ok(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxImage), wxe_util:call(?wxImage_Ok, <>). -%% @spec (Name::string()) -> bool() %% @doc See external documentation. +-spec removeHandler(Name) -> boolean() when + Name::string(). removeHandler(Name) when is_list(Name) -> Name_UC = unicode:characters_to_binary([Name,0]), wxe_util:call(?wxImage_RemoveHandler, <<(byte_size(Name_UC)):32/?UI,(Name_UC)/binary, 0:(((8- ((4+byte_size(Name_UC)) band 16#7)) band 16#7))/unit:8>>). -%% @spec (This::wxImage()) -> wxImage() %% @equiv mirror(This, []) +-spec mirror(This) -> wxImage() when + This::wxImage(). + mirror(This) when is_record(This, wx_ref) -> mirror(This, []). -%% @spec (This::wxImage(), [Option]) -> wxImage() -%% Option = {horizontally, bool()} %% @doc See external documentation. +-spec mirror(This, [Option]) -> wxImage() when + This::wxImage(), + Option :: {horizontally, boolean()}. mirror(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxImage), @@ -589,23 +640,27 @@ mirror(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxImage_Mirror, <>). -%% @spec (This::wxImage(), R1::integer(), G1::integer(), B1::integer(), R2::integer(), G2::integer(), B2::integer()) -> ok %% @doc See external documentation. +-spec replace(This, R1, G1, B1, R2, G2, B2) -> ok when + This::wxImage(), R1::integer(), G1::integer(), B1::integer(), R2::integer(), G2::integer(), B2::integer(). replace(#wx_ref{type=ThisT,ref=ThisRef},R1,G1,B1,R2,G2,B2) when is_integer(R1),is_integer(G1),is_integer(B1),is_integer(R2),is_integer(G2),is_integer(B2) -> ?CLASS(ThisT,wxImage), wxe_util:cast(?wxImage_Replace, <>). -%% @spec (This::wxImage(), Width::integer(), Height::integer()) -> wxImage() %% @equiv rescale(This,Width,Height, []) +-spec rescale(This, Width, Height) -> wxImage() when + This::wxImage(), Width::integer(), Height::integer(). + rescale(This,Width,Height) when is_record(This, wx_ref),is_integer(Width),is_integer(Height) -> rescale(This,Width,Height, []). -%% @spec (This::wxImage(), Width::integer(), Height::integer(), [Option]) -> wxImage() -%% Option = {quality, integer()} %% @doc See external documentation. +-spec rescale(This, Width, Height, [Option]) -> wxImage() when + This::wxImage(), Width::integer(), Height::integer(), + Option :: {quality, integer()}. rescale(#wx_ref{type=ThisT,ref=ThisRef},Width,Height, Options) when is_integer(Width),is_integer(Height),is_list(Options) -> ?CLASS(ThisT,wxImage), @@ -615,15 +670,20 @@ rescale(#wx_ref{type=ThisT,ref=ThisRef},Width,Height, Options) wxe_util:call(?wxImage_Rescale, <>). -%% @spec (This::wxImage(), Size::{W::integer(), H::integer()}, Pos::{X::integer(), Y::integer()}) -> wxImage() %% @equiv resize(This,Size,Pos, []) +-spec resize(This, Size, Pos) -> wxImage() when + This::wxImage(), Size::{W::integer(), H::integer()}, Pos::{X::integer(), Y::integer()}. + resize(This,Size={SizeW,SizeH},Pos={PosX,PosY}) when is_record(This, wx_ref),is_integer(SizeW),is_integer(SizeH),is_integer(PosX),is_integer(PosY) -> resize(This,Size,Pos, []). -%% @spec (This::wxImage(), Size::{W::integer(), H::integer()}, Pos::{X::integer(), Y::integer()}, [Option]) -> wxImage() -%% Option = {r, integer()} | {g, integer()} | {b, integer()} %% @doc See external documentation. +-spec resize(This, Size, Pos, [Option]) -> wxImage() when + This::wxImage(), Size::{W::integer(), H::integer()}, Pos::{X::integer(), Y::integer()}, + Option :: {r, integer()} + | {g, integer()} + | {b, integer()}. resize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH},{PosX,PosY}, Options) when is_integer(SizeW),is_integer(SizeH),is_integer(PosX),is_integer(PosY),is_list(Options) -> ?CLASS(ThisT,wxImage), @@ -635,15 +695,19 @@ resize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH},{PosX,PosY}, Options) wxe_util:call(?wxImage_Resize, <>). -%% @spec (This::wxImage(), Angle::float(), Centre_of_rotation::{X::integer(), Y::integer()}) -> wxImage() %% @equiv rotate(This,Angle,Centre_of_rotation, []) +-spec rotate(This, Angle, Centre_of_rotation) -> wxImage() when + This::wxImage(), Angle::float(), Centre_of_rotation::{X::integer(), Y::integer()}. + rotate(This,Angle,Centre_of_rotation={Centre_of_rotationX,Centre_of_rotationY}) when is_record(This, wx_ref),is_float(Angle),is_integer(Centre_of_rotationX),is_integer(Centre_of_rotationY) -> rotate(This,Angle,Centre_of_rotation, []). -%% @spec (This::wxImage(), Angle::float(), Centre_of_rotation::{X::integer(), Y::integer()}, [Option]) -> wxImage() -%% Option = {interpolating, bool()} | {offset_after_rotation, {X::integer(), Y::integer()}} %% @doc See external documentation. +-spec rotate(This, Angle, Centre_of_rotation, [Option]) -> wxImage() when + This::wxImage(), Angle::float(), Centre_of_rotation::{X::integer(), Y::integer()}, + Option :: {interpolating, boolean()} + | {offset_after_rotation, {X::integer(), Y::integer()}}. rotate(#wx_ref{type=ThisT,ref=ThisRef},Angle,{Centre_of_rotationX,Centre_of_rotationY}, Options) when is_float(Angle),is_integer(Centre_of_rotationX),is_integer(Centre_of_rotationY),is_list(Options) -> ?CLASS(ThisT,wxImage), @@ -654,23 +718,27 @@ rotate(#wx_ref{type=ThisT,ref=ThisRef},Angle,{Centre_of_rotationX,Centre_of_rota wxe_util:call(?wxImage_Rotate, <>). -%% @spec (This::wxImage(), Angle::float()) -> ok %% @doc See external documentation. +-spec rotateHue(This, Angle) -> ok when + This::wxImage(), Angle::float(). rotateHue(#wx_ref{type=ThisT,ref=ThisRef},Angle) when is_float(Angle) -> ?CLASS(ThisT,wxImage), wxe_util:cast(?wxImage_RotateHue, <>). -%% @spec (This::wxImage()) -> wxImage() %% @equiv rotate90(This, []) +-spec rotate90(This) -> wxImage() when + This::wxImage(). + rotate90(This) when is_record(This, wx_ref) -> rotate90(This, []). -%% @spec (This::wxImage(), [Option]) -> wxImage() -%% Option = {clockwise, bool()} %% @doc See external documentation. +-spec rotate90(This, [Option]) -> wxImage() when + This::wxImage(), + Option :: {clockwise, boolean()}. rotate90(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxImage), @@ -680,8 +748,9 @@ rotate90(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxImage_Rotate90, <>). -%% @spec (This::wxImage(), Name::string()) -> bool() %% @doc See external documentation. +-spec saveFile(This, Name) -> boolean() when + This::wxImage(), Name::string(). saveFile(#wx_ref{type=ThisT,ref=ThisRef},Name) when is_list(Name) -> ?CLASS(ThisT,wxImage), @@ -689,15 +758,11 @@ saveFile(#wx_ref{type=ThisT,ref=ThisRef},Name) wxe_util:call(?wxImage_SaveFile_1, <>). -%% @spec (This::wxImage(),Name::string(),X::integer()|string()) -> bool() %% @doc See external documentation. -%%
Alternatives: -%%

-%% saveFile(This::wxImage(), Name::string(), Type::integer()) -> bool() -%%

-%%

-%% saveFile(This::wxImage(), Name::string(), Mimetype::string()) -> bool() -%%

+-spec saveFile(This, Name, Type) -> boolean() when + This::wxImage(), Name::string(), Type::integer(); + (This, Name, Mimetype) -> boolean() when + This::wxImage(), Name::string(), Mimetype::string(). saveFile(#wx_ref{type=ThisT,ref=ThisRef},Name,Type) when is_list(Name),is_integer(Type) -> ?CLASS(ThisT,wxImage), @@ -712,15 +777,18 @@ saveFile(#wx_ref{type=ThisT,ref=ThisRef},Name,Mimetype) wxe_util:call(?wxImage_SaveFile_2_1, <>). -%% @spec (This::wxImage(), Width::integer(), Height::integer()) -> wxImage() %% @equiv scale(This,Width,Height, []) +-spec scale(This, Width, Height) -> wxImage() when + This::wxImage(), Width::integer(), Height::integer(). + scale(This,Width,Height) when is_record(This, wx_ref),is_integer(Width),is_integer(Height) -> scale(This,Width,Height, []). -%% @spec (This::wxImage(), Width::integer(), Height::integer(), [Option]) -> wxImage() -%% Option = {quality, integer()} %% @doc See external documentation. +-spec scale(This, Width, Height, [Option]) -> wxImage() when + This::wxImage(), Width::integer(), Height::integer(), + Option :: {quality, integer()}. scale(#wx_ref{type=ThisT,ref=ThisRef},Width,Height, Options) when is_integer(Width),is_integer(Height),is_list(Options) -> ?CLASS(ThisT,wxImage), @@ -730,15 +798,20 @@ scale(#wx_ref{type=ThisT,ref=ThisRef},Width,Height, Options) wxe_util:call(?wxImage_Scale, <>). -%% @spec (This::wxImage(), Size::{W::integer(), H::integer()}, Pos::{X::integer(), Y::integer()}) -> wxImage() %% @equiv size(This,Size,Pos, []) +-spec size(This, Size, Pos) -> wxImage() when + This::wxImage(), Size::{W::integer(), H::integer()}, Pos::{X::integer(), Y::integer()}. + size(This,Size={SizeW,SizeH},Pos={PosX,PosY}) when is_record(This, wx_ref),is_integer(SizeW),is_integer(SizeH),is_integer(PosX),is_integer(PosY) -> size(This,Size,Pos, []). -%% @spec (This::wxImage(), Size::{W::integer(), H::integer()}, Pos::{X::integer(), Y::integer()}, [Option]) -> wxImage() -%% Option = {r, integer()} | {g, integer()} | {b, integer()} %% @doc See external documentation. +-spec size(This, Size, Pos, [Option]) -> wxImage() when + This::wxImage(), Size::{W::integer(), H::integer()}, Pos::{X::integer(), Y::integer()}, + Option :: {r, integer()} + | {g, integer()} + | {b, integer()}. size(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH},{PosX,PosY}, Options) when is_integer(SizeW),is_integer(SizeH),is_integer(PosX),is_integer(PosY),is_list(Options) -> ?CLASS(ThisT,wxImage), @@ -750,15 +823,18 @@ size(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH},{PosX,PosY}, Options) wxe_util:call(?wxImage_Size, <>). -%% @spec (This::wxImage(), Alpha::binary()) -> ok %% @equiv setAlpha(This,Alpha, []) +-spec setAlpha(This, Alpha) -> ok when + This::wxImage(), Alpha::binary(). + setAlpha(This,Alpha) when is_record(This, wx_ref),is_binary(Alpha) -> setAlpha(This,Alpha, []). -%% @spec (This::wxImage(), Alpha::binary(), [Option]) -> ok -%% Option = {static_data, bool()} %% @doc See external documentation. +-spec setAlpha(This, Alpha, [Option]) -> ok when + This::wxImage(), Alpha::binary(), + Option :: {static_data, boolean()}. setAlpha(#wx_ref{type=ThisT,ref=ThisRef},Alpha, Options) when is_binary(Alpha),is_list(Options) -> ?CLASS(ThisT,wxImage), @@ -769,23 +845,27 @@ setAlpha(#wx_ref{type=ThisT,ref=ThisRef},Alpha, Options) wxe_util:cast(?wxImage_SetAlpha_2, <>). -%% @spec (This::wxImage(), X::integer(), Y::integer(), Alpha::integer()) -> ok %% @doc See external documentation. +-spec setAlpha(This, X, Y, Alpha) -> ok when + This::wxImage(), X::integer(), Y::integer(), Alpha::integer(). setAlpha(#wx_ref{type=ThisT,ref=ThisRef},X,Y,Alpha) when is_integer(X),is_integer(Y),is_integer(Alpha) -> ?CLASS(ThisT,wxImage), wxe_util:cast(?wxImage_SetAlpha_3, <>). -%% @spec (This::wxImage(), Data::binary()) -> ok %% @equiv setData(This,Data, []) +-spec setData(This, Data) -> ok when + This::wxImage(), Data::binary(). + setData(This,Data) when is_record(This, wx_ref),is_binary(Data) -> setData(This,Data, []). -%% @spec (This::wxImage(), Data::binary(), [Option]) -> ok -%% Option = {static_data, bool()} %% @doc See external documentation. +-spec setData(This, Data, [Option]) -> ok when + This::wxImage(), Data::binary(), + Option :: {static_data, boolean()}. setData(#wx_ref{type=ThisT,ref=ThisRef},Data, Options) when is_binary(Data),is_list(Options) -> ?CLASS(ThisT,wxImage), @@ -796,15 +876,18 @@ setData(#wx_ref{type=ThisT,ref=ThisRef},Data, Options) wxe_util:cast(?wxImage_SetData_2, <>). -%% @spec (This::wxImage(), Data::binary(), New_width::integer(), New_height::integer()) -> ok %% @equiv setData(This,Data,New_width,New_height, []) +-spec setData(This, Data, New_width, New_height) -> ok when + This::wxImage(), Data::binary(), New_width::integer(), New_height::integer(). + setData(This,Data,New_width,New_height) when is_record(This, wx_ref),is_binary(Data),is_integer(New_width),is_integer(New_height) -> setData(This,Data,New_width,New_height, []). -%% @spec (This::wxImage(), Data::binary(), New_width::integer(), New_height::integer(), [Option]) -> ok -%% Option = {static_data, bool()} %% @doc See external documentation. +-spec setData(This, Data, New_width, New_height, [Option]) -> ok when + This::wxImage(), Data::binary(), New_width::integer(), New_height::integer(), + Option :: {static_data, boolean()}. setData(#wx_ref{type=ThisT,ref=ThisRef},Data,New_width,New_height, Options) when is_binary(Data),is_integer(New_width),is_integer(New_height),is_list(Options) -> ?CLASS(ThisT,wxImage), @@ -815,15 +898,18 @@ setData(#wx_ref{type=ThisT,ref=ThisRef},Data,New_width,New_height, Options) wxe_util:cast(?wxImage_SetData_4, <>). -%% @spec (This::wxImage()) -> ok %% @equiv setMask(This, []) +-spec setMask(This) -> ok when + This::wxImage(). + setMask(This) when is_record(This, wx_ref) -> setMask(This, []). -%% @spec (This::wxImage(), [Option]) -> ok -%% Option = {mask, bool()} %% @doc See external documentation. +-spec setMask(This, [Option]) -> ok when + This::wxImage(), + Option :: {mask, boolean()}. setMask(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxImage), @@ -833,16 +919,18 @@ setMask(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:cast(?wxImage_SetMask, <>). -%% @spec (This::wxImage(), R::integer(), G::integer(), B::integer()) -> ok %% @doc See external documentation. +-spec setMaskColour(This, R, G, B) -> ok when + This::wxImage(), R::integer(), G::integer(), B::integer(). setMaskColour(#wx_ref{type=ThisT,ref=ThisRef},R,G,B) when is_integer(R),is_integer(G),is_integer(B) -> ?CLASS(ThisT,wxImage), wxe_util:cast(?wxImage_SetMaskColour, <>). -%% @spec (This::wxImage(), Mask::wxImage(), Mr::integer(), Mg::integer(), Mb::integer()) -> bool() %% @doc See external documentation. +-spec setMaskFromImage(This, Mask, Mr, Mg, Mb) -> boolean() when + This::wxImage(), Mask::wxImage(), Mr::integer(), Mg::integer(), Mb::integer(). setMaskFromImage(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=MaskT,ref=MaskRef},Mr,Mg,Mb) when is_integer(Mr),is_integer(Mg),is_integer(Mb) -> ?CLASS(ThisT,wxImage), @@ -850,15 +938,11 @@ setMaskFromImage(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=MaskT,ref=MaskRef} wxe_util:call(?wxImage_SetMaskFromImage, <>). -%% @spec (This::wxImage(),Name::string(),X::integer()|string()) -> ok %% @doc See external documentation. -%%
Alternatives: -%%

-%% setOption(This::wxImage(), Name::string(), Value::integer()) -> ok -%%

-%%

-%% setOption(This::wxImage(), Name::string(), Value::string()) -> ok -%%

+-spec setOption(This, Name, Value) -> ok when + This::wxImage(), Name::string(), Value::integer(); + (This, Name, Value) -> ok when + This::wxImage(), Name::string(), Value::string(). setOption(#wx_ref{type=ThisT,ref=ThisRef},Name,Value) when is_list(Name),is_integer(Value) -> ?CLASS(ThisT,wxImage), @@ -873,32 +957,35 @@ setOption(#wx_ref{type=ThisT,ref=ThisRef},Name,Value) wxe_util:cast(?wxImage_SetOption_2_1, <>). -%% @spec (This::wxImage(), Palette::wxPalette:wxPalette()) -> ok %% @doc See external documentation. +-spec setPalette(This, Palette) -> ok when + This::wxImage(), Palette::wxPalette:wxPalette(). setPalette(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PaletteT,ref=PaletteRef}) -> ?CLASS(ThisT,wxImage), ?CLASS(PaletteT,wxPalette), wxe_util:cast(?wxImage_SetPalette, <>). -%% @spec (This::wxImage(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}, R::integer(), G::integer(), B::integer()) -> ok %% @doc See external documentation. +-spec setRGB(This, Rect, R, G, B) -> ok when + This::wxImage(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}, R::integer(), G::integer(), B::integer(). setRGB(#wx_ref{type=ThisT,ref=ThisRef},{RectX,RectY,RectW,RectH},R,G,B) when is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH),is_integer(R),is_integer(G),is_integer(B) -> ?CLASS(ThisT,wxImage), wxe_util:cast(?wxImage_SetRGB_4, <>). -%% @spec (This::wxImage(), X::integer(), Y::integer(), R::integer(), G::integer(), B::integer()) -> ok %% @doc See external documentation. +-spec setRGB(This, X, Y, R, G, B) -> ok when + This::wxImage(), X::integer(), Y::integer(), R::integer(), G::integer(), B::integer(). setRGB(#wx_ref{type=ThisT,ref=ThisRef},X,Y,R,G,B) when is_integer(X),is_integer(Y),is_integer(R),is_integer(G),is_integer(B) -> ?CLASS(ThisT,wxImage), wxe_util:cast(?wxImage_SetRGB_5, <>). -%% @spec (This::wxImage()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxImage) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxImage), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxImageList.erl b/lib/wx/src/gen/wxImageList.erl index f805a234df..a2049ce052 100644 --- a/lib/wx/src/gen/wxImageList.erl +++ b/lib/wx/src/gen/wxImageList.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -31,24 +31,30 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxImageList/0]). %% @hidden parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxImageList() +-type wxImageList() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxImageList(). new() -> wxe_util:construct(?wxImageList_new_0, <<>>). -%% @spec (Width::integer(), Height::integer()) -> wxImageList() %% @equiv new(Width,Height, []) +-spec new(Width, Height) -> wxImageList() when + Width::integer(), Height::integer(). + new(Width,Height) when is_integer(Width),is_integer(Height) -> new(Width,Height, []). -%% @spec (Width::integer(), Height::integer(), [Option]) -> wxImageList() -%% Option = {mask, bool()} | {initialCount, integer()} %% @doc See external documentation. +-spec new(Width, Height, [Option]) -> wxImageList() when + Width::integer(), Height::integer(), + Option :: {mask, boolean()} + | {initialCount, integer()}. new(Width,Height, Options) when is_integer(Width),is_integer(Height),is_list(Options) -> MOpts = fun({mask, Mask}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Mask)):32/?UI>>|Acc]; @@ -58,23 +64,20 @@ new(Width,Height, Options) wxe_util:construct(?wxImageList_new_3, <>). -%% @spec (This::wxImageList(), Bitmap::wxBitmap:wxBitmap()) -> integer() %% @doc See external documentation. +-spec add(This, Bitmap) -> integer() when + This::wxImageList(), Bitmap::wxBitmap:wxBitmap(). add(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BitmapT,ref=BitmapRef}) -> ?CLASS(ThisT,wxImageList), ?CLASS(BitmapT,wxBitmap), wxe_util:call(?wxImageList_Add_1, <>). -%% @spec (This::wxImageList(),Bitmap::wxBitmap:wxBitmap(),X::term()) -> integer() %% @doc See external documentation. -%%
Alternatives: -%%

-%% add(This::wxImageList(), Bitmap::wxBitmap:wxBitmap(), Mask::wxBitmap:wxBitmap()) -> integer() -%%

-%%

-%% add(This::wxImageList(), Bitmap::wxBitmap:wxBitmap(), MaskColour::wx:colour()) -> integer() -%%

+-spec add(This, Bitmap, Mask) -> integer() when + This::wxImageList(), Bitmap::wxBitmap:wxBitmap(), Mask::wxBitmap:wxBitmap(); + (This, Bitmap, MaskColour) -> integer() when + This::wxImageList(), Bitmap::wxBitmap:wxBitmap(), MaskColour::wx:wx_colour(). add(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BitmapT,ref=BitmapRef},#wx_ref{type=MaskT,ref=MaskRef}) -> ?CLASS(ThisT,wxImageList), ?CLASS(BitmapT,wxBitmap), @@ -88,15 +91,19 @@ add(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BitmapT,ref=BitmapRef},MaskColo wxe_util:call(?wxImageList_Add_2_1, <>). -%% @spec (This::wxImageList(), Width::integer(), Height::integer()) -> bool() %% @equiv create(This,Width,Height, []) +-spec create(This, Width, Height) -> boolean() when + This::wxImageList(), Width::integer(), Height::integer(). + create(This,Width,Height) when is_record(This, wx_ref),is_integer(Width),is_integer(Height) -> create(This,Width,Height, []). -%% @spec (This::wxImageList(), Width::integer(), Height::integer(), [Option]) -> bool() -%% Option = {mask, bool()} | {initialCount, integer()} %% @doc See external documentation. +-spec create(This, Width, Height, [Option]) -> boolean() when + This::wxImageList(), Width::integer(), Height::integer(), + Option :: {mask, boolean()} + | {initialCount, integer()}. create(#wx_ref{type=ThisT,ref=ThisRef},Width,Height, Options) when is_integer(Width),is_integer(Height),is_list(Options) -> ?CLASS(ThisT,wxImageList), @@ -107,15 +114,19 @@ create(#wx_ref{type=ThisT,ref=ThisRef},Width,Height, Options) wxe_util:call(?wxImageList_Create, <>). -%% @spec (This::wxImageList(), Index::integer(), Dc::wxDC:wxDC(), X::integer(), Y::integer()) -> bool() %% @equiv draw(This,Index,Dc,X,Y, []) +-spec draw(This, Index, Dc, X, Y) -> boolean() when + This::wxImageList(), Index::integer(), Dc::wxDC:wxDC(), X::integer(), Y::integer(). + draw(This,Index,Dc,X,Y) when is_record(This, wx_ref),is_integer(Index),is_record(Dc, wx_ref),is_integer(X),is_integer(Y) -> draw(This,Index,Dc,X,Y, []). -%% @spec (This::wxImageList(), Index::integer(), Dc::wxDC:wxDC(), X::integer(), Y::integer(), [Option]) -> bool() -%% Option = {flags, integer()} | {solidBackground, bool()} %% @doc See external documentation. +-spec draw(This, Index, Dc, X, Y, [Option]) -> boolean() when + This::wxImageList(), Index::integer(), Dc::wxDC:wxDC(), X::integer(), Y::integer(), + Option :: {flags, integer()} + | {solidBackground, boolean()}. draw(#wx_ref{type=ThisT,ref=ThisRef},Index,#wx_ref{type=DcT,ref=DcRef},X,Y, Options) when is_integer(Index),is_integer(X),is_integer(Y),is_list(Options) -> ?CLASS(ThisT,wxImageList), @@ -127,54 +138,62 @@ draw(#wx_ref{type=ThisT,ref=ThisRef},Index,#wx_ref{type=DcT,ref=DcRef},X,Y, Opti wxe_util:call(?wxImageList_Draw, <>). -%% @spec (This::wxImageList(), Index::integer()) -> wxBitmap:wxBitmap() %% @doc See external documentation. +-spec getBitmap(This, Index) -> wxBitmap:wxBitmap() when + This::wxImageList(), Index::integer(). getBitmap(#wx_ref{type=ThisT,ref=ThisRef},Index) when is_integer(Index) -> ?CLASS(ThisT,wxImageList), wxe_util:call(?wxImageList_GetBitmap, <>). -%% @spec (This::wxImageList(), Index::integer()) -> wxIcon:wxIcon() %% @doc See external documentation. +-spec getIcon(This, Index) -> wxIcon:wxIcon() when + This::wxImageList(), Index::integer(). getIcon(#wx_ref{type=ThisT,ref=ThisRef},Index) when is_integer(Index) -> ?CLASS(ThisT,wxImageList), wxe_util:call(?wxImageList_GetIcon, <>). -%% @spec (This::wxImageList()) -> integer() %% @doc See external documentation. +-spec getImageCount(This) -> integer() when + This::wxImageList(). getImageCount(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxImageList), wxe_util:call(?wxImageList_GetImageCount, <>). -%% @spec (This::wxImageList(), Index::integer()) -> {bool(), Width::integer(), Height::integer()} %% @doc See external documentation. +-spec getSize(This, Index) -> Result when + Result ::{Res ::boolean(), Width::integer(), Height::integer()}, + This::wxImageList(), Index::integer(). getSize(#wx_ref{type=ThisT,ref=ThisRef},Index) when is_integer(Index) -> ?CLASS(ThisT,wxImageList), wxe_util:call(?wxImageList_GetSize, <>). -%% @spec (This::wxImageList(), Index::integer()) -> bool() %% @doc See external documentation. +-spec remove(This, Index) -> boolean() when + This::wxImageList(), Index::integer(). remove(#wx_ref{type=ThisT,ref=ThisRef},Index) when is_integer(Index) -> ?CLASS(ThisT,wxImageList), wxe_util:call(?wxImageList_Remove, <>). -%% @spec (This::wxImageList()) -> bool() %% @doc See external documentation. +-spec removeAll(This) -> boolean() when + This::wxImageList(). removeAll(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxImageList), wxe_util:call(?wxImageList_RemoveAll, <>). -%% @spec (This::wxImageList(), Index::integer(), Bitmap::wxBitmap:wxBitmap()) -> bool() %% @doc See external documentation. +-spec replace(This, Index, Bitmap) -> boolean() when + This::wxImageList(), Index::integer(), Bitmap::wxBitmap:wxBitmap(). replace(#wx_ref{type=ThisT,ref=ThisRef},Index,#wx_ref{type=BitmapT,ref=BitmapRef}) when is_integer(Index) -> ?CLASS(ThisT,wxImageList), @@ -182,8 +201,9 @@ replace(#wx_ref{type=ThisT,ref=ThisRef},Index,#wx_ref{type=BitmapT,ref=BitmapRef wxe_util:call(?wxImageList_Replace_2, <>). -%% @spec (This::wxImageList(), Index::integer(), Bitmap::wxBitmap:wxBitmap(), Mask::wxBitmap:wxBitmap()) -> bool() %% @doc See external documentation. +-spec replace(This, Index, Bitmap, Mask) -> boolean() when + This::wxImageList(), Index::integer(), Bitmap::wxBitmap:wxBitmap(), Mask::wxBitmap:wxBitmap(). replace(#wx_ref{type=ThisT,ref=ThisRef},Index,#wx_ref{type=BitmapT,ref=BitmapRef},#wx_ref{type=MaskT,ref=MaskRef}) when is_integer(Index) -> ?CLASS(ThisT,wxImageList), @@ -192,8 +212,8 @@ replace(#wx_ref{type=ThisT,ref=ThisRef},Index,#wx_ref{type=BitmapT,ref=BitmapRef wxe_util:call(?wxImageList_Replace_3, <>). -%% @spec (This::wxImageList()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxImageList) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxImageList), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxJoystickEvent.erl b/lib/wx/src/gen/wxJoystickEvent.erl index 2f149a50f8..979c36cd8c 100644 --- a/lib/wx/src/gen/wxJoystickEvent.erl +++ b/lib/wx/src/gen/wxJoystickEvent.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,19 +39,24 @@ -export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1, resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]). +-export_type([wxJoystickEvent/0]). %% @hidden parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxJoystickEvent()) -> bool() +-type wxJoystickEvent() :: wx:wx_object(). %% @equiv buttonDown(This, []) +-spec buttonDown(This) -> boolean() when + This::wxJoystickEvent(). + buttonDown(This) when is_record(This, wx_ref) -> buttonDown(This, []). -%% @spec (This::wxJoystickEvent(), [Option]) -> bool() -%% Option = {but, integer()} %% @doc See external documentation. +-spec buttonDown(This, [Option]) -> boolean() when + This::wxJoystickEvent(), + Option :: {but, integer()}. buttonDown(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxJoystickEvent), @@ -61,15 +66,18 @@ buttonDown(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxJoystickEvent_ButtonDown, <>). -%% @spec (This::wxJoystickEvent()) -> bool() %% @equiv buttonIsDown(This, []) +-spec buttonIsDown(This) -> boolean() when + This::wxJoystickEvent(). + buttonIsDown(This) when is_record(This, wx_ref) -> buttonIsDown(This, []). -%% @spec (This::wxJoystickEvent(), [Option]) -> bool() -%% Option = {but, integer()} %% @doc See external documentation. +-spec buttonIsDown(This, [Option]) -> boolean() when + This::wxJoystickEvent(), + Option :: {but, integer()}. buttonIsDown(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxJoystickEvent), @@ -79,15 +87,18 @@ buttonIsDown(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxJoystickEvent_ButtonIsDown, <>). -%% @spec (This::wxJoystickEvent()) -> bool() %% @equiv buttonUp(This, []) +-spec buttonUp(This) -> boolean() when + This::wxJoystickEvent(). + buttonUp(This) when is_record(This, wx_ref) -> buttonUp(This, []). -%% @spec (This::wxJoystickEvent(), [Option]) -> bool() -%% Option = {but, integer()} %% @doc See external documentation. +-spec buttonUp(This, [Option]) -> boolean() when + This::wxJoystickEvent(), + Option :: {but, integer()}. buttonUp(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxJoystickEvent), @@ -97,57 +108,65 @@ buttonUp(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxJoystickEvent_ButtonUp, <>). -%% @spec (This::wxJoystickEvent()) -> integer() %% @doc See external documentation. +-spec getButtonChange(This) -> integer() when + This::wxJoystickEvent(). getButtonChange(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxJoystickEvent), wxe_util:call(?wxJoystickEvent_GetButtonChange, <>). -%% @spec (This::wxJoystickEvent()) -> integer() %% @doc See external documentation. +-spec getButtonState(This) -> integer() when + This::wxJoystickEvent(). getButtonState(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxJoystickEvent), wxe_util:call(?wxJoystickEvent_GetButtonState, <>). -%% @spec (This::wxJoystickEvent()) -> integer() %% @doc See external documentation. +-spec getJoystick(This) -> integer() when + This::wxJoystickEvent(). getJoystick(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxJoystickEvent), wxe_util:call(?wxJoystickEvent_GetJoystick, <>). -%% @spec (This::wxJoystickEvent()) -> {X::integer(), Y::integer()} %% @doc See external documentation. +-spec getPosition(This) -> {X::integer(), Y::integer()} when + This::wxJoystickEvent(). getPosition(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxJoystickEvent), wxe_util:call(?wxJoystickEvent_GetPosition, <>). -%% @spec (This::wxJoystickEvent()) -> integer() %% @doc See external documentation. +-spec getZPosition(This) -> integer() when + This::wxJoystickEvent(). getZPosition(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxJoystickEvent), wxe_util:call(?wxJoystickEvent_GetZPosition, <>). -%% @spec (This::wxJoystickEvent()) -> bool() %% @doc See external documentation. +-spec isButton(This) -> boolean() when + This::wxJoystickEvent(). isButton(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxJoystickEvent), wxe_util:call(?wxJoystickEvent_IsButton, <>). -%% @spec (This::wxJoystickEvent()) -> bool() %% @doc See external documentation. +-spec isMove(This) -> boolean() when + This::wxJoystickEvent(). isMove(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxJoystickEvent), wxe_util:call(?wxJoystickEvent_IsMove, <>). -%% @spec (This::wxJoystickEvent()) -> bool() %% @doc See external documentation. +-spec isZMove(This) -> boolean() when + This::wxJoystickEvent(). isZMove(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxJoystickEvent), wxe_util:call(?wxJoystickEvent_IsZMove, diff --git a/lib/wx/src/gen/wxKeyEvent.erl b/lib/wx/src/gen/wxKeyEvent.erl index edda5ee0a6..107d4be685 100644 --- a/lib/wx/src/gen/wxKeyEvent.erl +++ b/lib/wx/src/gen/wxKeyEvent.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,103 +39,119 @@ -export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1, resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]). +-export_type([wxKeyEvent/0]). %% @hidden parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxKeyEvent()) -> bool() +-type wxKeyEvent() :: wx:wx_object(). %% @doc See external documentation. +-spec altDown(This) -> boolean() when + This::wxKeyEvent(). altDown(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxKeyEvent), wxe_util:call(?wxKeyEvent_AltDown, <>). -%% @spec (This::wxKeyEvent()) -> bool() %% @doc See external documentation. +-spec cmdDown(This) -> boolean() when + This::wxKeyEvent(). cmdDown(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxKeyEvent), wxe_util:call(?wxKeyEvent_CmdDown, <>). -%% @spec (This::wxKeyEvent()) -> bool() %% @doc See external documentation. +-spec controlDown(This) -> boolean() when + This::wxKeyEvent(). controlDown(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxKeyEvent), wxe_util:call(?wxKeyEvent_ControlDown, <>). -%% @spec (This::wxKeyEvent()) -> integer() %% @doc See external documentation. +-spec getKeyCode(This) -> integer() when + This::wxKeyEvent(). getKeyCode(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxKeyEvent), wxe_util:call(?wxKeyEvent_GetKeyCode, <>). -%% @spec (This::wxKeyEvent()) -> integer() %% @doc See external documentation. +-spec getModifiers(This) -> integer() when + This::wxKeyEvent(). getModifiers(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxKeyEvent), wxe_util:call(?wxKeyEvent_GetModifiers, <>). -%% @spec (This::wxKeyEvent()) -> {X::integer(), Y::integer()} %% @doc See external documentation. +-spec getPosition(This) -> {X::integer(), Y::integer()} when + This::wxKeyEvent(). getPosition(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxKeyEvent), wxe_util:call(?wxKeyEvent_GetPosition, <>). -%% @spec (This::wxKeyEvent()) -> integer() %% @doc See external documentation. +-spec getRawKeyCode(This) -> integer() when + This::wxKeyEvent(). getRawKeyCode(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxKeyEvent), wxe_util:call(?wxKeyEvent_GetRawKeyCode, <>). -%% @spec (This::wxKeyEvent()) -> integer() %% @doc See external documentation. +-spec getRawKeyFlags(This) -> integer() when + This::wxKeyEvent(). getRawKeyFlags(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxKeyEvent), wxe_util:call(?wxKeyEvent_GetRawKeyFlags, <>). -%% @spec (This::wxKeyEvent()) -> integer() %% @doc See external documentation. +-spec getUnicodeKey(This) -> integer() when + This::wxKeyEvent(). getUnicodeKey(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxKeyEvent), wxe_util:call(?wxKeyEvent_GetUnicodeKey, <>). -%% @spec (This::wxKeyEvent()) -> integer() %% @doc See external documentation. +-spec getX(This) -> integer() when + This::wxKeyEvent(). getX(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxKeyEvent), wxe_util:call(?wxKeyEvent_GetX, <>). -%% @spec (This::wxKeyEvent()) -> integer() %% @doc See external documentation. +-spec getY(This) -> integer() when + This::wxKeyEvent(). getY(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxKeyEvent), wxe_util:call(?wxKeyEvent_GetY, <>). -%% @spec (This::wxKeyEvent()) -> bool() %% @doc See external documentation. +-spec hasModifiers(This) -> boolean() when + This::wxKeyEvent(). hasModifiers(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxKeyEvent), wxe_util:call(?wxKeyEvent_HasModifiers, <>). -%% @spec (This::wxKeyEvent()) -> bool() %% @doc See external documentation. +-spec metaDown(This) -> boolean() when + This::wxKeyEvent(). metaDown(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxKeyEvent), wxe_util:call(?wxKeyEvent_MetaDown, <>). -%% @spec (This::wxKeyEvent()) -> bool() %% @doc See external documentation. +-spec shiftDown(This) -> boolean() when + This::wxKeyEvent(). shiftDown(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxKeyEvent), wxe_util:call(?wxKeyEvent_ShiftDown, diff --git a/lib/wx/src/gen/wxLayoutAlgorithm.erl b/lib/wx/src/gen/wxLayoutAlgorithm.erl index c17abeaed1..c9a7314c87 100644 --- a/lib/wx/src/gen/wxLayoutAlgorithm.erl +++ b/lib/wx/src/gen/wxLayoutAlgorithm.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,24 +30,29 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxLayoutAlgorithm/0]). %% @hidden parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxLayoutAlgorithm() +-type wxLayoutAlgorithm() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxLayoutAlgorithm(). new() -> wxe_util:construct(?wxLayoutAlgorithm_new, <<>>). -%% @spec (This::wxLayoutAlgorithm(), Frame::wxFrame:wxFrame()) -> bool() %% @equiv layoutFrame(This,Frame, []) +-spec layoutFrame(This, Frame) -> boolean() when + This::wxLayoutAlgorithm(), Frame::wxFrame:wxFrame(). + layoutFrame(This,Frame) when is_record(This, wx_ref),is_record(Frame, wx_ref) -> layoutFrame(This,Frame, []). -%% @spec (This::wxLayoutAlgorithm(), Frame::wxFrame:wxFrame(), [Option]) -> bool() -%% Option = {mainWindow, wxWindow:wxWindow()} %% @doc See external documentation. +-spec layoutFrame(This, Frame, [Option]) -> boolean() when + This::wxLayoutAlgorithm(), Frame::wxFrame:wxFrame(), + Option :: {mainWindow, wxWindow:wxWindow()}. layoutFrame(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FrameT,ref=FrameRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxLayoutAlgorithm), @@ -58,15 +63,18 @@ layoutFrame(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FrameT,ref=FrameRef}, O wxe_util:call(?wxLayoutAlgorithm_LayoutFrame, <>). -%% @spec (This::wxLayoutAlgorithm(), Frame::wxMDIParentFrame:wxMDIParentFrame()) -> bool() %% @equiv layoutMDIFrame(This,Frame, []) +-spec layoutMDIFrame(This, Frame) -> boolean() when + This::wxLayoutAlgorithm(), Frame::wxMDIParentFrame:wxMDIParentFrame(). + layoutMDIFrame(This,Frame) when is_record(This, wx_ref),is_record(Frame, wx_ref) -> layoutMDIFrame(This,Frame, []). -%% @spec (This::wxLayoutAlgorithm(), Frame::wxMDIParentFrame:wxMDIParentFrame(), [Option]) -> bool() -%% Option = {rect, {X::integer(), Y::integer(), W::integer(), H::integer()}} %% @doc See external documentation. +-spec layoutMDIFrame(This, Frame, [Option]) -> boolean() when + This::wxLayoutAlgorithm(), Frame::wxMDIParentFrame:wxMDIParentFrame(), + Option :: {rect, {X::integer(), Y::integer(), W::integer(), H::integer()}}. layoutMDIFrame(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FrameT,ref=FrameRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxLayoutAlgorithm), @@ -77,15 +85,18 @@ layoutMDIFrame(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FrameT,ref=FrameRef} wxe_util:call(?wxLayoutAlgorithm_LayoutMDIFrame, <>). -%% @spec (This::wxLayoutAlgorithm(), Frame::wxWindow:wxWindow()) -> bool() %% @equiv layoutWindow(This,Frame, []) +-spec layoutWindow(This, Frame) -> boolean() when + This::wxLayoutAlgorithm(), Frame::wxWindow:wxWindow(). + layoutWindow(This,Frame) when is_record(This, wx_ref),is_record(Frame, wx_ref) -> layoutWindow(This,Frame, []). -%% @spec (This::wxLayoutAlgorithm(), Frame::wxWindow:wxWindow(), [Option]) -> bool() -%% Option = {mainWindow, wxWindow:wxWindow()} %% @doc See external documentation. +-spec layoutWindow(This, Frame, [Option]) -> boolean() when + This::wxLayoutAlgorithm(), Frame::wxWindow:wxWindow(), + Option :: {mainWindow, wxWindow:wxWindow()}. layoutWindow(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FrameT,ref=FrameRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxLayoutAlgorithm), @@ -96,8 +107,8 @@ layoutWindow(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FrameT,ref=FrameRef}, wxe_util:call(?wxLayoutAlgorithm_LayoutWindow, <>). -%% @spec (This::wxLayoutAlgorithm()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxLayoutAlgorithm) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxLayoutAlgorithm), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxListBox.erl b/lib/wx/src/gen/wxListBox.erl index cc30bf95e4..5cd8ba8127 100644 --- a/lib/wx/src/gen/wxListBox.erl +++ b/lib/wx/src/gen/wxListBox.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -74,6 +74,7 @@ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1, update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxListBox/0]). %% @hidden parent_class(wxControlWithItems) -> true; parent_class(wxControl) -> true; @@ -81,21 +82,29 @@ parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxListBox() +-type wxListBox() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxListBox(). new() -> wxe_util:construct(?wxListBox_new_0, <<>>). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer()) -> wxListBox() %% @equiv new(Parent,Id, []) +-spec new(Parent, Id) -> wxListBox() when + Parent::wxWindow:wxWindow(), Id::integer(). + new(Parent,Id) when is_record(Parent, wx_ref),is_integer(Id) -> new(Parent,Id, []). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> wxListBox() -%% Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {choices, [[string()]]} | {style, integer()} | {validator, wx:wx()} %% @doc See external documentation. +-spec new(Parent, Id, [Option]) -> wxListBox() when + Parent::wxWindow:wxWindow(), Id::integer(), + Option :: {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {choices, [[string()]]} + | {style, integer()} + | {validator, wx:wx()}. new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options) when is_integer(Id),is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -109,15 +118,19 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options) wxe_util:construct(?wxListBox_new_3, <>). -%% @spec (This::wxListBox(), Parent::wxWindow:wxWindow(), Id::integer(), Pos::{X::integer(), Y::integer()}, Size::{W::integer(), H::integer()}, Choices::[[string()]]) -> bool() %% @equiv create(This,Parent,Id,Pos,Size,Choices, []) +-spec create(This, Parent, Id, Pos, Size, Choices) -> boolean() when + This::wxListBox(), Parent::wxWindow:wxWindow(), Id::integer(), Pos::{X::integer(), Y::integer()}, Size::{W::integer(), H::integer()}, Choices::[[string()]]. + create(This,Parent,Id,Pos={PosX,PosY},Size={SizeW,SizeH},Choices) when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id),is_integer(PosX),is_integer(PosY),is_integer(SizeW),is_integer(SizeH),is_list(Choices) -> create(This,Parent,Id,Pos,Size,Choices, []). -%% @spec (This::wxListBox(), Parent::wxWindow:wxWindow(), Id::integer(), Pos::{X::integer(), Y::integer()}, Size::{W::integer(), H::integer()}, Choices::[[string()]], [Option]) -> bool() -%% Option = {style, integer()} | {validator, wx:wx()} %% @doc See external documentation. +-spec create(This, Parent, Id, Pos, Size, Choices, [Option]) -> boolean() when + This::wxListBox(), Parent::wxWindow:wxWindow(), Id::integer(), Pos::{X::integer(), Y::integer()}, Size::{W::integer(), H::integer()}, Choices::[[string()]], + Option :: {style, integer()} + | {validator, wx:wx()}. create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,{PosX,PosY},{SizeW,SizeH},Choices, Options) when is_integer(Id),is_integer(PosX),is_integer(PosY),is_integer(SizeW),is_integer(SizeH),is_list(Choices),is_list(Options) -> ?CLASS(ThisT,wxListBox), @@ -131,23 +144,27 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,{P wxe_util:call(?wxListBox_Create, <>|| UC_Str <- Choices_UCA>>)/binary, 0:(((8- ((0 + lists:sum([byte_size(S)+4||S<-Choices_UCA])) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>). -%% @spec (This::wxListBox(), N::integer()) -> ok %% @doc See external documentation. +-spec deselect(This, N) -> ok when + This::wxListBox(), N::integer(). deselect(#wx_ref{type=ThisT,ref=ThisRef},N) when is_integer(N) -> ?CLASS(ThisT,wxListBox), wxe_util:cast(?wxListBox_Deselect, <>). -%% @spec (This::wxListBox()) -> {integer(), ASelections::[integer()]} %% @doc See external documentation. +-spec getSelections(This) -> Result when + Result ::{Res ::integer(), ASelections::[integer()]}, + This::wxListBox(). getSelections(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListBox), wxe_util:call(?wxListBox_GetSelections, <>). -%% @spec (This::wxListBox(), Items::[[string()]], Pos::integer()) -> ok %% @doc See external documentation. +-spec insertItems(This, Items, Pos) -> ok when + This::wxListBox(), Items::[[string()]], Pos::integer(). insertItems(#wx_ref{type=ThisT,ref=ThisRef},Items,Pos) when is_list(Items),is_integer(Pos) -> ?CLASS(ThisT,wxListBox), @@ -156,16 +173,18 @@ insertItems(#wx_ref{type=ThisT,ref=ThisRef},Items,Pos) wxe_util:cast(?wxListBox_InsertItems, <>|| UC_Str <- Items_UCA>>)/binary, 0:(((8- ((0 + lists:sum([byte_size(S)+4||S<-Items_UCA])) band 16#7)) band 16#7))/unit:8,Pos:32/?UI>>). -%% @spec (This::wxListBox(), N::integer()) -> bool() %% @doc See external documentation. +-spec isSelected(This, N) -> boolean() when + This::wxListBox(), N::integer(). isSelected(#wx_ref{type=ThisT,ref=ThisRef},N) when is_integer(N) -> ?CLASS(ThisT,wxListBox), wxe_util:call(?wxListBox_IsSelected, <>). -%% @spec (This::wxListBox(), Items::[[string()]]) -> ok %% @doc See external documentation. +-spec set(This, Items) -> ok when + This::wxListBox(), Items::[[string()]]. set(#wx_ref{type=ThisT,ref=ThisRef},Items) when is_list(Items) -> ?CLASS(ThisT,wxListBox), @@ -174,23 +193,20 @@ set(#wx_ref{type=ThisT,ref=ThisRef},Items) wxe_util:cast(?wxListBox_Set, <>|| UC_Str <- Items_UCA>>)/binary, 0:(((8- ((0 + lists:sum([byte_size(S)+4||S<-Items_UCA])) band 16#7)) band 16#7))/unit:8>>). -%% @spec (This::wxListBox(), Point::{X::integer(), Y::integer()}) -> integer() %% @doc See external documentation. +-spec hitTest(This, Point) -> integer() when + This::wxListBox(), Point::{X::integer(), Y::integer()}. hitTest(#wx_ref{type=ThisT,ref=ThisRef},{PointX,PointY}) when is_integer(PointX),is_integer(PointY) -> ?CLASS(ThisT,wxListBox), wxe_util:call(?wxListBox_HitTest, <>). -%% @spec (This::wxListBox(),X::integer()|string()) -> ok %% @doc See external documentation. -%%
Alternatives: -%%

-%% setFirstItem(This::wxListBox(), N::integer()) -> ok -%%

-%%

-%% setFirstItem(This::wxListBox(), S::string()) -> ok -%%

+-spec setFirstItem(This, N) -> ok when + This::wxListBox(), N::integer(); + (This, S) -> ok when + This::wxListBox(), S::string(). setFirstItem(#wx_ref{type=ThisT,ref=ThisRef},N) when is_integer(N) -> ?CLASS(ThisT,wxListBox), @@ -203,8 +219,8 @@ setFirstItem(#wx_ref{type=ThisT,ref=ThisRef},S) wxe_util:cast(?wxListBox_SetFirstItem_1_1, <>). -%% @spec (This::wxListBox()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxListBox) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxListBox), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxListCtrl.erl b/lib/wx/src/gen/wxListCtrl.erl index fa99897171..ae2db0ae2f 100644 --- a/lib/wx/src/gen/wxListCtrl.erl +++ b/lib/wx/src/gen/wxListCtrl.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -83,12 +83,14 @@ show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1,update/1, updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxListCtrl/0]). %% @hidden parent_class(wxControl) -> true; parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). +-type wxListCtrl() :: wx:wx_object(). %% @spec () -> wxListCtrl() %% @doc See external documentation. @@ -141,15 +143,18 @@ new(#wx_ref{type=ParentT,ref=ParentRef}, Options) BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)), wxe_util:construct(?wxListCtrl_new_2, <>). -%% @spec (This::wxListCtrl()) -> bool() %% @equiv arrange(This, []) +-spec arrange(This) -> boolean() when + This::wxListCtrl(). + arrange(This) when is_record(This, wx_ref) -> arrange(This, []). -%% @spec (This::wxListCtrl(), [Option]) -> bool() -%% Option = {flag, integer()} %% @doc See external documentation. +-spec arrange(This, [Option]) -> boolean() when + This::wxListCtrl(), + Option :: {flag, integer()}. arrange(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxListCtrl), @@ -159,8 +164,9 @@ arrange(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxListCtrl_Arrange, <>). -%% @spec (This::wxListCtrl(), ImageList::wxImageList:wxImageList(), Which::integer()) -> ok %% @doc See external documentation. +-spec assignImageList(This, ImageList, Which) -> ok when + This::wxListCtrl(), ImageList::wxImageList:wxImageList(), Which::integer(). assignImageList(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ImageListT,ref=ImageListRef},Which) when is_integer(Which) -> ?CLASS(ThisT,wxListCtrl), @@ -168,8 +174,9 @@ assignImageList(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ImageListT,ref=Imag wxe_util:cast(?wxListCtrl_AssignImageList, <>). -%% @spec (This::wxListCtrl()) -> ok %% @doc See external documentation. +-spec clearAll(This) -> ok when + This::wxListCtrl(). clearAll(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListCtrl), wxe_util:cast(?wxListCtrl_ClearAll, @@ -210,61 +217,64 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}, Opti wxe_util:call(?wxListCtrl_Create, <>). -%% @spec (This::wxListCtrl()) -> bool() %% @doc See external documentation. +-spec deleteAllItems(This) -> boolean() when + This::wxListCtrl(). deleteAllItems(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListCtrl), wxe_util:call(?wxListCtrl_DeleteAllItems, <>). -%% @spec (This::wxListCtrl(), Col::integer()) -> bool() %% @doc See external documentation. +-spec deleteColumn(This, Col) -> boolean() when + This::wxListCtrl(), Col::integer(). deleteColumn(#wx_ref{type=ThisT,ref=ThisRef},Col) when is_integer(Col) -> ?CLASS(ThisT,wxListCtrl), wxe_util:call(?wxListCtrl_DeleteColumn, <>). -%% @spec (This::wxListCtrl(), Item::integer()) -> bool() %% @doc See external documentation. +-spec deleteItem(This, Item) -> boolean() when + This::wxListCtrl(), Item::integer(). deleteItem(#wx_ref{type=ThisT,ref=ThisRef},Item) when is_integer(Item) -> ?CLASS(ThisT,wxListCtrl), wxe_util:call(?wxListCtrl_DeleteItem, <>). -%% @spec (This::wxListCtrl(), Item::integer()) -> wxTextCtrl:wxTextCtrl() %% @doc See external documentation. +-spec editLabel(This, Item) -> wxTextCtrl:wxTextCtrl() when + This::wxListCtrl(), Item::integer(). editLabel(#wx_ref{type=ThisT,ref=ThisRef},Item) when is_integer(Item) -> ?CLASS(ThisT,wxListCtrl), wxe_util:call(?wxListCtrl_EditLabel, <>). -%% @spec (This::wxListCtrl(), Item::integer()) -> bool() %% @doc See external documentation. +-spec ensureVisible(This, Item) -> boolean() when + This::wxListCtrl(), Item::integer(). ensureVisible(#wx_ref{type=ThisT,ref=ThisRef},Item) when is_integer(Item) -> ?CLASS(ThisT,wxListCtrl), wxe_util:call(?wxListCtrl_EnsureVisible, <>). -%% @spec (This::wxListCtrl(), Start::integer(), Str::string()) -> integer() %% @equiv findItem(This,Start,Str, []) +-spec findItem(This, Start, Str) -> integer() when + This::wxListCtrl(), Start::integer(), Str::string(). + findItem(This,Start,Str) when is_record(This, wx_ref),is_integer(Start),is_list(Str) -> findItem(This,Start,Str, []). -%% @spec (This::wxListCtrl(),Start::integer(),X::string()|term(),X::term()|integer()) -> integer() %% @doc See external documentation. -%%
Alternatives: -%%

-%% findItem(This::wxListCtrl(), Start::integer(), Str::string(), [Option]) -> integer() -%%
Option = {partial, bool()} -%%

-%%

-%% findItem(This::wxListCtrl(), Start::integer(), Pt::{X::integer(), Y::integer()}, Direction::integer()) -> integer() -%%

+-spec findItem(This, Start, Str, [Option]) -> integer() when + This::wxListCtrl(), Start::integer(), Str::string(), + Option :: {partial, boolean()}; + (This, Start, Pt, Direction) -> integer() when + This::wxListCtrl(), Start::integer(), Pt::{X::integer(), Y::integer()}, Direction::integer(). findItem(#wx_ref{type=ThisT,ref=ThisRef},Start,Str, Options) when is_integer(Start),is_list(Str),is_list(Options) -> ?CLASS(ThisT,wxListCtrl), @@ -280,8 +290,9 @@ findItem(#wx_ref{type=ThisT,ref=ThisRef},Start,{PtX,PtY},Direction) wxe_util:call(?wxListCtrl_FindItem_3_1, <>). -%% @spec (This::wxListCtrl(), Col::integer(), Item::wxListItem:wxListItem()) -> bool() %% @doc See external documentation. +-spec getColumn(This, Col, Item) -> boolean() when + This::wxListCtrl(), Col::integer(), Item::wxListItem:wxListItem(). getColumn(#wx_ref{type=ThisT,ref=ThisRef},Col,#wx_ref{type=ItemT,ref=ItemRef}) when is_integer(Col) -> ?CLASS(ThisT,wxListCtrl), @@ -289,99 +300,113 @@ getColumn(#wx_ref{type=ThisT,ref=ThisRef},Col,#wx_ref{type=ItemT,ref=ItemRef}) wxe_util:call(?wxListCtrl_GetColumn, <>). -%% @spec (This::wxListCtrl()) -> integer() %% @doc See external documentation. +-spec getColumnCount(This) -> integer() when + This::wxListCtrl(). getColumnCount(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListCtrl), wxe_util:call(?wxListCtrl_GetColumnCount, <>). -%% @spec (This::wxListCtrl(), Col::integer()) -> integer() %% @doc See external documentation. +-spec getColumnWidth(This, Col) -> integer() when + This::wxListCtrl(), Col::integer(). getColumnWidth(#wx_ref{type=ThisT,ref=ThisRef},Col) when is_integer(Col) -> ?CLASS(ThisT,wxListCtrl), wxe_util:call(?wxListCtrl_GetColumnWidth, <>). -%% @spec (This::wxListCtrl()) -> integer() %% @doc See external documentation. +-spec getCountPerPage(This) -> integer() when + This::wxListCtrl(). getCountPerPage(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListCtrl), wxe_util:call(?wxListCtrl_GetCountPerPage, <>). -%% @spec (This::wxListCtrl()) -> wxTextCtrl:wxTextCtrl() %% @doc See external documentation. +-spec getEditControl(This) -> wxTextCtrl:wxTextCtrl() when + This::wxListCtrl(). getEditControl(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListCtrl), wxe_util:call(?wxListCtrl_GetEditControl, <>). -%% @spec (This::wxListCtrl(), Which::integer()) -> wxImageList:wxImageList() %% @doc See external documentation. +-spec getImageList(This, Which) -> wxImageList:wxImageList() when + This::wxListCtrl(), Which::integer(). getImageList(#wx_ref{type=ThisT,ref=ThisRef},Which) when is_integer(Which) -> ?CLASS(ThisT,wxListCtrl), wxe_util:call(?wxListCtrl_GetImageList, <>). -%% @spec (This::wxListCtrl(), Info::wxListItem:wxListItem()) -> bool() %% @doc See external documentation. +-spec getItem(This, Info) -> boolean() when + This::wxListCtrl(), Info::wxListItem:wxListItem(). getItem(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=InfoT,ref=InfoRef}) -> ?CLASS(ThisT,wxListCtrl), ?CLASS(InfoT,wxListItem), wxe_util:call(?wxListCtrl_GetItem, <>). -%% @spec (This::wxListCtrl(), Item::integer()) -> wx:colour() %% @doc See external documentation. +-spec getItemBackgroundColour(This, Item) -> wx:wx_colour() when + This::wxListCtrl(), Item::integer(). getItemBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef},Item) when is_integer(Item) -> ?CLASS(ThisT,wxListCtrl), wxe_util:call(?wxListCtrl_GetItemBackgroundColour, <>). -%% @spec (This::wxListCtrl()) -> integer() %% @doc See external documentation. +-spec getItemCount(This) -> integer() when + This::wxListCtrl(). getItemCount(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListCtrl), wxe_util:call(?wxListCtrl_GetItemCount, <>). -%% @spec (This::wxListCtrl(), Item::integer()) -> integer() %% @doc See external documentation. +-spec getItemData(This, Item) -> integer() when + This::wxListCtrl(), Item::integer(). getItemData(#wx_ref{type=ThisT,ref=ThisRef},Item) when is_integer(Item) -> ?CLASS(ThisT,wxListCtrl), wxe_util:call(?wxListCtrl_GetItemData, <>). -%% @spec (This::wxListCtrl(), Item::integer()) -> wxFont:wxFont() %% @doc See external documentation. +-spec getItemFont(This, Item) -> wxFont:wxFont() when + This::wxListCtrl(), Item::integer(). getItemFont(#wx_ref{type=ThisT,ref=ThisRef},Item) when is_integer(Item) -> ?CLASS(ThisT,wxListCtrl), wxe_util:call(?wxListCtrl_GetItemFont, <>). -%% @spec (This::wxListCtrl(), Item::integer(), Pos::{X::integer(), Y::integer()}) -> bool() %% @doc See external documentation. +-spec getItemPosition(This, Item, Pos) -> boolean() when + This::wxListCtrl(), Item::integer(), Pos::{X::integer(), Y::integer()}. getItemPosition(#wx_ref{type=ThisT,ref=ThisRef},Item,{PosX,PosY}) when is_integer(Item),is_integer(PosX),is_integer(PosY) -> ?CLASS(ThisT,wxListCtrl), wxe_util:call(?wxListCtrl_GetItemPosition, <>). -%% @spec (This::wxListCtrl(), Item::integer(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}) -> bool() %% @equiv getItemRect(This,Item,Rect, []) +-spec getItemRect(This, Item, Rect) -> boolean() when + This::wxListCtrl(), Item::integer(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}. + getItemRect(This,Item,Rect={RectX,RectY,RectW,RectH}) when is_record(This, wx_ref),is_integer(Item),is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH) -> getItemRect(This,Item,Rect, []). -%% @spec (This::wxListCtrl(), Item::integer(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}, [Option]) -> bool() -%% Option = {code, integer()} %% @doc See external documentation. +-spec getItemRect(This, Item, Rect, [Option]) -> boolean() when + This::wxListCtrl(), Item::integer(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}, + Option :: {code, integer()}. getItemRect(#wx_ref{type=ThisT,ref=ThisRef},Item,{RectX,RectY,RectW,RectH}, Options) when is_integer(Item),is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH),is_list(Options) -> ?CLASS(ThisT,wxListCtrl), @@ -391,46 +416,54 @@ getItemRect(#wx_ref{type=ThisT,ref=ThisRef},Item,{RectX,RectY,RectW,RectH}, Opti wxe_util:call(?wxListCtrl_GetItemRect, <>). -%% @spec (This::wxListCtrl()) -> {W::integer(), H::integer()} %% @doc See external documentation. +-spec getItemSpacing(This) -> {W::integer(), H::integer()} when + This::wxListCtrl(). getItemSpacing(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListCtrl), wxe_util:call(?wxListCtrl_GetItemSpacing, <>). -%% @spec (This::wxListCtrl(), Item::integer(), StateMask::integer()) -> integer() %% @doc See external documentation. +-spec getItemState(This, Item, StateMask) -> integer() when + This::wxListCtrl(), Item::integer(), StateMask::integer(). getItemState(#wx_ref{type=ThisT,ref=ThisRef},Item,StateMask) when is_integer(Item),is_integer(StateMask) -> ?CLASS(ThisT,wxListCtrl), wxe_util:call(?wxListCtrl_GetItemState, <>). -%% @spec (This::wxListCtrl(), Item::integer()) -> string() %% @doc See external documentation. +-spec getItemText(This, Item) -> string() when + This::wxListCtrl(), Item::integer(). getItemText(#wx_ref{type=ThisT,ref=ThisRef},Item) when is_integer(Item) -> ?CLASS(ThisT,wxListCtrl), wxe_util:call(?wxListCtrl_GetItemText, <>). -%% @spec (This::wxListCtrl(), Item::integer()) -> wx:colour() %% @doc See external documentation. +-spec getItemTextColour(This, Item) -> wx:wx_colour() when + This::wxListCtrl(), Item::integer(). getItemTextColour(#wx_ref{type=ThisT,ref=ThisRef},Item) when is_integer(Item) -> ?CLASS(ThisT,wxListCtrl), wxe_util:call(?wxListCtrl_GetItemTextColour, <>). -%% @spec (This::wxListCtrl(), Item::integer()) -> integer() %% @equiv getNextItem(This,Item, []) +-spec getNextItem(This, Item) -> integer() when + This::wxListCtrl(), Item::integer(). + getNextItem(This,Item) when is_record(This, wx_ref),is_integer(Item) -> getNextItem(This,Item, []). -%% @spec (This::wxListCtrl(), Item::integer(), [Option]) -> integer() -%% Option = {geometry, integer()} | {state, integer()} %% @doc See external documentation. +-spec getNextItem(This, Item, [Option]) -> integer() when + This::wxListCtrl(), Item::integer(), + Option :: {geometry, integer()} + | {state, integer()}. getNextItem(#wx_ref{type=ThisT,ref=ThisRef},Item, Options) when is_integer(Item),is_list(Options) -> ?CLASS(ThisT,wxListCtrl), @@ -441,50 +474,53 @@ getNextItem(#wx_ref{type=ThisT,ref=ThisRef},Item, Options) wxe_util:call(?wxListCtrl_GetNextItem, <>). -%% @spec (This::wxListCtrl()) -> integer() %% @doc See external documentation. +-spec getSelectedItemCount(This) -> integer() when + This::wxListCtrl(). getSelectedItemCount(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListCtrl), wxe_util:call(?wxListCtrl_GetSelectedItemCount, <>). -%% @spec (This::wxListCtrl()) -> wx:colour() %% @doc See external documentation. +-spec getTextColour(This) -> wx:wx_colour() when + This::wxListCtrl(). getTextColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListCtrl), wxe_util:call(?wxListCtrl_GetTextColour, <>). -%% @spec (This::wxListCtrl()) -> integer() %% @doc See external documentation. +-spec getTopItem(This) -> integer() when + This::wxListCtrl(). getTopItem(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListCtrl), wxe_util:call(?wxListCtrl_GetTopItem, <>). -%% @spec (This::wxListCtrl()) -> {X::integer(), Y::integer(), W::integer(), H::integer()} %% @doc See external documentation. +-spec getViewRect(This) -> {X::integer(), Y::integer(), W::integer(), H::integer()} when + This::wxListCtrl(). getViewRect(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListCtrl), wxe_util:call(?wxListCtrl_GetViewRect, <>). -%% @spec (This::wxListCtrl(), Point::{X::integer(), Y::integer()}) -> {integer(), Flags::integer()} %% @doc See external documentation. +-spec hitTest(This, Point) -> Result when + Result ::{Res ::integer(), Flags::integer()}, + This::wxListCtrl(), Point::{X::integer(), Y::integer()}. hitTest(#wx_ref{type=ThisT,ref=ThisRef},{PointX,PointY}) when is_integer(PointX),is_integer(PointY) -> ?CLASS(ThisT,wxListCtrl), wxe_util:call(?wxListCtrl_HitTest, <>). -%% @spec (This::wxListCtrl(),Col::integer(),X::string()|term()) -> integer() %% @doc See external documentation. -%%
Alternatives: -%%

-%% insertColumn(This::wxListCtrl(), Col::integer(), Heading::string()) -> insertColumn(This,Col,Heading, [])

-%%

-%% insertColumn(This::wxListCtrl(), Col::integer(), Info::wxListItem:wxListItem()) -> integer() -%%

+-spec insertColumn(This, Col, Heading) -> integer() when + This::wxListCtrl(), Col::integer(), Heading::string(); + (This, Col, Info) -> integer() when + This::wxListCtrl(), Col::integer(), Info::wxListItem:wxListItem(). insertColumn(This,Col,Heading) when is_record(This, wx_ref),is_integer(Col),is_list(Heading) -> @@ -496,9 +532,11 @@ insertColumn(#wx_ref{type=ThisT,ref=ThisRef},Col,#wx_ref{type=InfoT,ref=InfoRef} wxe_util:call(?wxListCtrl_InsertColumn_2, <>). -%% @spec (This::wxListCtrl(), Col::integer(), Heading::string(), [Option]) -> integer() -%% Option = {format, integer()} | {width, integer()} %% @doc See external documentation. +-spec insertColumn(This, Col, Heading, [Option]) -> integer() when + This::wxListCtrl(), Col::integer(), Heading::string(), + Option :: {format, integer()} + | {width, integer()}. insertColumn(#wx_ref{type=ThisT,ref=ThisRef},Col,Heading, Options) when is_integer(Col),is_list(Heading),is_list(Options) -> ?CLASS(ThisT,wxListCtrl), @@ -510,23 +548,20 @@ insertColumn(#wx_ref{type=ThisT,ref=ThisRef},Col,Heading, Options) wxe_util:call(?wxListCtrl_InsertColumn_3, <>). -%% @spec (This::wxListCtrl(), Info::wxListItem:wxListItem()) -> integer() %% @doc See external documentation. +-spec insertItem(This, Info) -> integer() when + This::wxListCtrl(), Info::wxListItem:wxListItem(). insertItem(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=InfoT,ref=InfoRef}) -> ?CLASS(ThisT,wxListCtrl), ?CLASS(InfoT,wxListItem), wxe_util:call(?wxListCtrl_InsertItem_1, <>). -%% @spec (This::wxListCtrl(),Index::integer(),X::integer()|string()) -> integer() %% @doc See external documentation. -%%
Alternatives: -%%

-%% insertItem(This::wxListCtrl(), Index::integer(), ImageIndex::integer()) -> integer() -%%

-%%

-%% insertItem(This::wxListCtrl(), Index::integer(), Label::string()) -> integer() -%%

+-spec insertItem(This, Index, ImageIndex) -> integer() when + This::wxListCtrl(), Index::integer(), ImageIndex::integer(); + (This, Index, Label) -> integer() when + This::wxListCtrl(), Index::integer(), Label::string(). insertItem(#wx_ref{type=ThisT,ref=ThisRef},Index,ImageIndex) when is_integer(Index),is_integer(ImageIndex) -> ?CLASS(ThisT,wxListCtrl), @@ -539,8 +574,9 @@ insertItem(#wx_ref{type=ThisT,ref=ThisRef},Index,Label) wxe_util:call(?wxListCtrl_InsertItem_2_1, <>). -%% @spec (This::wxListCtrl(), Index::integer(), Label::string(), ImageIndex::integer()) -> integer() %% @doc See external documentation. +-spec insertItem(This, Index, Label, ImageIndex) -> integer() when + This::wxListCtrl(), Index::integer(), Label::string(), ImageIndex::integer(). insertItem(#wx_ref{type=ThisT,ref=ThisRef},Index,Label,ImageIndex) when is_integer(Index),is_list(Label),is_integer(ImageIndex) -> ?CLASS(ThisT,wxListCtrl), @@ -548,40 +584,45 @@ insertItem(#wx_ref{type=ThisT,ref=ThisRef},Index,Label,ImageIndex) wxe_util:call(?wxListCtrl_InsertItem_3, <>). -%% @spec (This::wxListCtrl(), Item::integer()) -> ok %% @doc See external documentation. +-spec refreshItem(This, Item) -> ok when + This::wxListCtrl(), Item::integer(). refreshItem(#wx_ref{type=ThisT,ref=ThisRef},Item) when is_integer(Item) -> ?CLASS(ThisT,wxListCtrl), wxe_util:cast(?wxListCtrl_RefreshItem, <>). -%% @spec (This::wxListCtrl(), ItemFrom::integer(), ItemTo::integer()) -> ok %% @doc See external documentation. +-spec refreshItems(This, ItemFrom, ItemTo) -> ok when + This::wxListCtrl(), ItemFrom::integer(), ItemTo::integer(). refreshItems(#wx_ref{type=ThisT,ref=ThisRef},ItemFrom,ItemTo) when is_integer(ItemFrom),is_integer(ItemTo) -> ?CLASS(ThisT,wxListCtrl), wxe_util:cast(?wxListCtrl_RefreshItems, <>). -%% @spec (This::wxListCtrl(), Dx::integer(), Dy::integer()) -> bool() %% @doc See external documentation. +-spec scrollList(This, Dx, Dy) -> boolean() when + This::wxListCtrl(), Dx::integer(), Dy::integer(). scrollList(#wx_ref{type=ThisT,ref=ThisRef},Dx,Dy) when is_integer(Dx),is_integer(Dy) -> ?CLASS(ThisT,wxListCtrl), wxe_util:call(?wxListCtrl_ScrollList, <>). -%% @spec (This::wxListCtrl(), Colour::wx:colour()) -> bool() %% @doc See external documentation. +-spec setBackgroundColour(This, Colour) -> boolean() when + This::wxListCtrl(), Colour::wx:wx_colour(). setBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef},Colour) when tuple_size(Colour) =:= 3; tuple_size(Colour) =:= 4 -> ?CLASS(ThisT,wxListCtrl), wxe_util:call(?wxListCtrl_SetBackgroundColour, <>). -%% @spec (This::wxListCtrl(), Col::integer(), Item::wxListItem:wxListItem()) -> bool() %% @doc See external documentation. +-spec setColumn(This, Col, Item) -> boolean() when + This::wxListCtrl(), Col::integer(), Item::wxListItem:wxListItem(). setColumn(#wx_ref{type=ThisT,ref=ThisRef},Col,#wx_ref{type=ItemT,ref=ItemRef}) when is_integer(Col) -> ?CLASS(ThisT,wxListCtrl), @@ -589,16 +630,18 @@ setColumn(#wx_ref{type=ThisT,ref=ThisRef},Col,#wx_ref{type=ItemT,ref=ItemRef}) wxe_util:call(?wxListCtrl_SetColumn, <>). -%% @spec (This::wxListCtrl(), Col::integer(), Width::integer()) -> bool() %% @doc See external documentation. +-spec setColumnWidth(This, Col, Width) -> boolean() when + This::wxListCtrl(), Col::integer(), Width::integer(). setColumnWidth(#wx_ref{type=ThisT,ref=ThisRef},Col,Width) when is_integer(Col),is_integer(Width) -> ?CLASS(ThisT,wxListCtrl), wxe_util:call(?wxListCtrl_SetColumnWidth, <>). -%% @spec (This::wxListCtrl(), ImageList::wxImageList:wxImageList(), Which::integer()) -> ok %% @doc See external documentation. +-spec setImageList(This, ImageList, Which) -> ok when + This::wxListCtrl(), ImageList::wxImageList:wxImageList(), Which::integer(). setImageList(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ImageListT,ref=ImageListRef},Which) when is_integer(Which) -> ?CLASS(ThisT,wxListCtrl), @@ -606,23 +649,27 @@ setImageList(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ImageListT,ref=ImageLi wxe_util:cast(?wxListCtrl_SetImageList, <>). -%% @spec (This::wxListCtrl(), Info::wxListItem:wxListItem()) -> bool() %% @doc See external documentation. +-spec setItem(This, Info) -> boolean() when + This::wxListCtrl(), Info::wxListItem:wxListItem(). setItem(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=InfoT,ref=InfoRef}) -> ?CLASS(ThisT,wxListCtrl), ?CLASS(InfoT,wxListItem), wxe_util:call(?wxListCtrl_SetItem_1, <>). -%% @spec (This::wxListCtrl(), Index::integer(), Col::integer(), Label::string()) -> integer() %% @equiv setItem(This,Index,Col,Label, []) +-spec setItem(This, Index, Col, Label) -> integer() when + This::wxListCtrl(), Index::integer(), Col::integer(), Label::string(). + setItem(This,Index,Col,Label) when is_record(This, wx_ref),is_integer(Index),is_integer(Col),is_list(Label) -> setItem(This,Index,Col,Label, []). -%% @spec (This::wxListCtrl(), Index::integer(), Col::integer(), Label::string(), [Option]) -> integer() -%% Option = {imageId, integer()} %% @doc See external documentation. +-spec setItem(This, Index, Col, Label, [Option]) -> integer() when + This::wxListCtrl(), Index::integer(), Col::integer(), Label::string(), + Option :: {imageId, integer()}. setItem(#wx_ref{type=ThisT,ref=ThisRef},Index,Col,Label, Options) when is_integer(Index),is_integer(Col),is_list(Label),is_list(Options) -> ?CLASS(ThisT,wxListCtrl), @@ -633,32 +680,36 @@ setItem(#wx_ref{type=ThisT,ref=ThisRef},Index,Col,Label, Options) wxe_util:call(?wxListCtrl_SetItem_4, <>). -%% @spec (This::wxListCtrl(), Item::integer(), Col::wx:colour()) -> ok %% @doc See external documentation. +-spec setItemBackgroundColour(This, Item, Col) -> ok when + This::wxListCtrl(), Item::integer(), Col::wx:wx_colour(). setItemBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef},Item,Col) when is_integer(Item),tuple_size(Col) =:= 3; tuple_size(Col) =:= 4 -> ?CLASS(ThisT,wxListCtrl), wxe_util:cast(?wxListCtrl_SetItemBackgroundColour, <>). -%% @spec (This::wxListCtrl(), Count::integer()) -> ok %% @doc See external documentation. +-spec setItemCount(This, Count) -> ok when + This::wxListCtrl(), Count::integer(). setItemCount(#wx_ref{type=ThisT,ref=ThisRef},Count) when is_integer(Count) -> ?CLASS(ThisT,wxListCtrl), wxe_util:cast(?wxListCtrl_SetItemCount, <>). -%% @spec (This::wxListCtrl(), Item::integer(), Data::integer()) -> bool() %% @doc See external documentation. +-spec setItemData(This, Item, Data) -> boolean() when + This::wxListCtrl(), Item::integer(), Data::integer(). setItemData(#wx_ref{type=ThisT,ref=ThisRef},Item,Data) when is_integer(Item),is_integer(Data) -> ?CLASS(ThisT,wxListCtrl), wxe_util:call(?wxListCtrl_SetItemData, <>). -%% @spec (This::wxListCtrl(), Item::integer(), F::wxFont:wxFont()) -> ok %% @doc See external documentation. +-spec setItemFont(This, Item, F) -> ok when + This::wxListCtrl(), Item::integer(), F::wxFont:wxFont(). setItemFont(#wx_ref{type=ThisT,ref=ThisRef},Item,#wx_ref{type=FT,ref=FRef}) when is_integer(Item) -> ?CLASS(ThisT,wxListCtrl), @@ -666,15 +717,18 @@ setItemFont(#wx_ref{type=ThisT,ref=ThisRef},Item,#wx_ref{type=FT,ref=FRef}) wxe_util:cast(?wxListCtrl_SetItemFont, <>). -%% @spec (This::wxListCtrl(), Item::integer(), Image::integer()) -> bool() %% @equiv setItemImage(This,Item,Image, []) +-spec setItemImage(This, Item, Image) -> boolean() when + This::wxListCtrl(), Item::integer(), Image::integer(). + setItemImage(This,Item,Image) when is_record(This, wx_ref),is_integer(Item),is_integer(Image) -> setItemImage(This,Item,Image, []). -%% @spec (This::wxListCtrl(), Item::integer(), Image::integer(), [Option]) -> bool() -%% Option = {selImage, integer()} %% @doc See external documentation. +-spec setItemImage(This, Item, Image, [Option]) -> boolean() when + This::wxListCtrl(), Item::integer(), Image::integer(), + Option :: {selImage, integer()}. setItemImage(#wx_ref{type=ThisT,ref=ThisRef},Item,Image, Options) when is_integer(Item),is_integer(Image),is_list(Options) -> ?CLASS(ThisT,wxListCtrl), @@ -684,32 +738,36 @@ setItemImage(#wx_ref{type=ThisT,ref=ThisRef},Item,Image, Options) wxe_util:call(?wxListCtrl_SetItemImage, <>). -%% @spec (This::wxListCtrl(), Item::integer(), Column::integer(), Image::integer()) -> bool() %% @doc See external documentation. +-spec setItemColumnImage(This, Item, Column, Image) -> boolean() when + This::wxListCtrl(), Item::integer(), Column::integer(), Image::integer(). setItemColumnImage(#wx_ref{type=ThisT,ref=ThisRef},Item,Column,Image) when is_integer(Item),is_integer(Column),is_integer(Image) -> ?CLASS(ThisT,wxListCtrl), wxe_util:call(?wxListCtrl_SetItemColumnImage, <>). -%% @spec (This::wxListCtrl(), Item::integer(), Pos::{X::integer(), Y::integer()}) -> bool() %% @doc See external documentation. +-spec setItemPosition(This, Item, Pos) -> boolean() when + This::wxListCtrl(), Item::integer(), Pos::{X::integer(), Y::integer()}. setItemPosition(#wx_ref{type=ThisT,ref=ThisRef},Item,{PosX,PosY}) when is_integer(Item),is_integer(PosX),is_integer(PosY) -> ?CLASS(ThisT,wxListCtrl), wxe_util:call(?wxListCtrl_SetItemPosition, <>). -%% @spec (This::wxListCtrl(), Item::integer(), State::integer(), StateMask::integer()) -> bool() %% @doc See external documentation. +-spec setItemState(This, Item, State, StateMask) -> boolean() when + This::wxListCtrl(), Item::integer(), State::integer(), StateMask::integer(). setItemState(#wx_ref{type=ThisT,ref=ThisRef},Item,State,StateMask) when is_integer(Item),is_integer(State),is_integer(StateMask) -> ?CLASS(ThisT,wxListCtrl), wxe_util:call(?wxListCtrl_SetItemState, <>). -%% @spec (This::wxListCtrl(), Item::integer(), Str::string()) -> ok %% @doc See external documentation. +-spec setItemText(This, Item, Str) -> ok when + This::wxListCtrl(), Item::integer(), Str::string(). setItemText(#wx_ref{type=ThisT,ref=ThisRef},Item,Str) when is_integer(Item),is_list(Str) -> ?CLASS(ThisT,wxListCtrl), @@ -717,23 +775,27 @@ setItemText(#wx_ref{type=ThisT,ref=ThisRef},Item,Str) wxe_util:cast(?wxListCtrl_SetItemText, <>). -%% @spec (This::wxListCtrl(), Item::integer(), Col::wx:colour()) -> ok %% @doc See external documentation. +-spec setItemTextColour(This, Item, Col) -> ok when + This::wxListCtrl(), Item::integer(), Col::wx:wx_colour(). setItemTextColour(#wx_ref{type=ThisT,ref=ThisRef},Item,Col) when is_integer(Item),tuple_size(Col) =:= 3; tuple_size(Col) =:= 4 -> ?CLASS(ThisT,wxListCtrl), wxe_util:cast(?wxListCtrl_SetItemTextColour, <>). -%% @spec (This::wxListCtrl(), Style::integer()) -> ok %% @equiv setSingleStyle(This,Style, []) +-spec setSingleStyle(This, Style) -> ok when + This::wxListCtrl(), Style::integer(). + setSingleStyle(This,Style) when is_record(This, wx_ref),is_integer(Style) -> setSingleStyle(This,Style, []). -%% @spec (This::wxListCtrl(), Style::integer(), [Option]) -> ok -%% Option = {add, bool()} %% @doc See external documentation. +-spec setSingleStyle(This, Style, [Option]) -> ok when + This::wxListCtrl(), Style::integer(), + Option :: {add, boolean()}. setSingleStyle(#wx_ref{type=ThisT,ref=ThisRef},Style, Options) when is_integer(Style),is_list(Options) -> ?CLASS(ThisT,wxListCtrl), @@ -743,16 +805,18 @@ setSingleStyle(#wx_ref{type=ThisT,ref=ThisRef},Style, Options) wxe_util:cast(?wxListCtrl_SetSingleStyle, <>). -%% @spec (This::wxListCtrl(), Col::wx:colour()) -> ok %% @doc See external documentation. +-spec setTextColour(This, Col) -> ok when + This::wxListCtrl(), Col::wx:wx_colour(). setTextColour(#wx_ref{type=ThisT,ref=ThisRef},Col) when tuple_size(Col) =:= 3; tuple_size(Col) =:= 4 -> ?CLASS(ThisT,wxListCtrl), wxe_util:cast(?wxListCtrl_SetTextColour, <>). -%% @spec (This::wxListCtrl(), Style::integer()) -> ok %% @doc See external documentation. +-spec setWindowStyleFlag(This, Style) -> ok when + This::wxListCtrl(), Style::integer(). setWindowStyleFlag(#wx_ref{type=ThisT,ref=ThisRef},Style) when is_integer(Style) -> ?CLASS(ThisT,wxListCtrl), @@ -777,8 +841,8 @@ sortItems(#wx_ref{type=ThisT,ref=ThisRef}, SortCallBack) end, SortId = wxe_util:get_cbId(Sort), wxe_util:call(?wxListCtrl_SortItems, <>). -%% @spec (This::wxListCtrl()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxListCtrl) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxListCtrl), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxListEvent.erl b/lib/wx/src/gen/wxListEvent.erl index f7d8658acc..f09dee4e32 100644 --- a/lib/wx/src/gen/wxListEvent.erl +++ b/lib/wx/src/gen/wxListEvent.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -42,98 +42,113 @@ isSelection/1,parent_class/1,resumePropagation/2,setInt/2,setString/2, shouldPropagate/1,skip/1,skip/2,stopPropagation/1,veto/1]). +-export_type([wxListEvent/0]). %% @hidden parent_class(wxNotifyEvent) -> true; parent_class(wxCommandEvent) -> true; parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxListEvent()) -> integer() +-type wxListEvent() :: wx:wx_object(). %% @doc See external documentation. +-spec getCacheFrom(This) -> integer() when + This::wxListEvent(). getCacheFrom(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListEvent), wxe_util:call(?wxListEvent_GetCacheFrom, <>). -%% @spec (This::wxListEvent()) -> integer() %% @doc See external documentation. +-spec getCacheTo(This) -> integer() when + This::wxListEvent(). getCacheTo(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListEvent), wxe_util:call(?wxListEvent_GetCacheTo, <>). -%% @spec (This::wxListEvent()) -> integer() %% @doc See external documentation. +-spec getKeyCode(This) -> integer() when + This::wxListEvent(). getKeyCode(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListEvent), wxe_util:call(?wxListEvent_GetKeyCode, <>). -%% @spec (This::wxListEvent()) -> integer() %% @doc See external documentation. +-spec getIndex(This) -> integer() when + This::wxListEvent(). getIndex(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListEvent), wxe_util:call(?wxListEvent_GetIndex, <>). -%% @spec (This::wxListEvent()) -> integer() %% @doc See external documentation. +-spec getColumn(This) -> integer() when + This::wxListEvent(). getColumn(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListEvent), wxe_util:call(?wxListEvent_GetColumn, <>). -%% @spec (This::wxListEvent()) -> {X::integer(), Y::integer()} %% @doc See external documentation. +-spec getPoint(This) -> {X::integer(), Y::integer()} when + This::wxListEvent(). getPoint(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListEvent), wxe_util:call(?wxListEvent_GetPoint, <>). -%% @spec (This::wxListEvent()) -> string() %% @doc See external documentation. +-spec getLabel(This) -> string() when + This::wxListEvent(). getLabel(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListEvent), wxe_util:call(?wxListEvent_GetLabel, <>). -%% @spec (This::wxListEvent()) -> string() %% @doc See external documentation. +-spec getText(This) -> string() when + This::wxListEvent(). getText(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListEvent), wxe_util:call(?wxListEvent_GetText, <>). -%% @spec (This::wxListEvent()) -> integer() %% @doc See external documentation. +-spec getImage(This) -> integer() when + This::wxListEvent(). getImage(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListEvent), wxe_util:call(?wxListEvent_GetImage, <>). -%% @spec (This::wxListEvent()) -> integer() %% @doc See external documentation. +-spec getData(This) -> integer() when + This::wxListEvent(). getData(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListEvent), wxe_util:call(?wxListEvent_GetData, <>). -%% @spec (This::wxListEvent()) -> integer() %% @doc See external documentation. +-spec getMask(This) -> integer() when + This::wxListEvent(). getMask(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListEvent), wxe_util:call(?wxListEvent_GetMask, <>). -%% @spec (This::wxListEvent()) -> wxListItem:wxListItem() %% @doc See external documentation. +-spec getItem(This) -> wxListItem:wxListItem() when + This::wxListEvent(). getItem(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListEvent), wxe_util:call(?wxListEvent_GetItem, <>). -%% @spec (This::wxListEvent()) -> bool() %% @doc See external documentation. +-spec isEditCancelled(This) -> boolean() when + This::wxListEvent(). isEditCancelled(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListEvent), wxe_util:call(?wxListEvent_IsEditCancelled, diff --git a/lib/wx/src/gen/wxListItem.erl b/lib/wx/src/gen/wxListItem.erl index 326f674b28..f5662f8942 100644 --- a/lib/wx/src/gen/wxListItem.erl +++ b/lib/wx/src/gen/wxListItem.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -33,184 +33,207 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxListItem/0]). %% @hidden parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxListItem() +-type wxListItem() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxListItem(). new() -> wxe_util:construct(?wxListItem_new_0, <<>>). -%% @spec (Item::wxListItem()) -> wxListItem() %% @doc See external documentation. +-spec new(Item) -> wxListItem() when + Item::wxListItem(). new(#wx_ref{type=ItemT,ref=ItemRef}) -> ?CLASS(ItemT,wxListItem), wxe_util:construct(?wxListItem_new_1, <>). -%% @spec (This::wxListItem()) -> ok %% @doc See external documentation. +-spec clear(This) -> ok when + This::wxListItem(). clear(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListItem), wxe_util:cast(?wxListItem_Clear, <>). -%% @spec (This::wxListItem()) -> WxListColumnFormat -%% WxListColumnFormat = integer() %% @doc See external documentation. -%%
WxListColumnFormat is one of ?wxLIST_FORMAT_LEFT | ?wxLIST_FORMAT_RIGHT | ?wxLIST_FORMAT_CENTRE | ?wxLIST_FORMAT_CENTER +%%
Res = ?wxLIST_FORMAT_LEFT | ?wxLIST_FORMAT_RIGHT | ?wxLIST_FORMAT_CENTRE | ?wxLIST_FORMAT_CENTER +-spec getAlign(This) -> wx:wx_enum() when + This::wxListItem(). getAlign(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListItem), wxe_util:call(?wxListItem_GetAlign, <>). -%% @spec (This::wxListItem()) -> wx:colour() %% @doc See external documentation. +-spec getBackgroundColour(This) -> wx:wx_colour() when + This::wxListItem(). getBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListItem), wxe_util:call(?wxListItem_GetBackgroundColour, <>). -%% @spec (This::wxListItem()) -> integer() %% @doc See external documentation. +-spec getColumn(This) -> integer() when + This::wxListItem(). getColumn(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListItem), wxe_util:call(?wxListItem_GetColumn, <>). -%% @spec (This::wxListItem()) -> wxFont:wxFont() %% @doc See external documentation. +-spec getFont(This) -> wxFont:wxFont() when + This::wxListItem(). getFont(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListItem), wxe_util:call(?wxListItem_GetFont, <>). -%% @spec (This::wxListItem()) -> integer() %% @doc See external documentation. +-spec getId(This) -> integer() when + This::wxListItem(). getId(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListItem), wxe_util:call(?wxListItem_GetId, <>). -%% @spec (This::wxListItem()) -> integer() %% @doc See external documentation. +-spec getImage(This) -> integer() when + This::wxListItem(). getImage(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListItem), wxe_util:call(?wxListItem_GetImage, <>). -%% @spec (This::wxListItem()) -> integer() %% @doc See external documentation. +-spec getMask(This) -> integer() when + This::wxListItem(). getMask(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListItem), wxe_util:call(?wxListItem_GetMask, <>). -%% @spec (This::wxListItem()) -> integer() %% @doc See external documentation. +-spec getState(This) -> integer() when + This::wxListItem(). getState(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListItem), wxe_util:call(?wxListItem_GetState, <>). -%% @spec (This::wxListItem()) -> string() %% @doc See external documentation. +-spec getText(This) -> string() when + This::wxListItem(). getText(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListItem), wxe_util:call(?wxListItem_GetText, <>). -%% @spec (This::wxListItem()) -> wx:colour() %% @doc See external documentation. +-spec getTextColour(This) -> wx:wx_colour() when + This::wxListItem(). getTextColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListItem), wxe_util:call(?wxListItem_GetTextColour, <>). -%% @spec (This::wxListItem()) -> integer() %% @doc See external documentation. +-spec getWidth(This) -> integer() when + This::wxListItem(). getWidth(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListItem), wxe_util:call(?wxListItem_GetWidth, <>). -%% @spec (This::wxListItem(), Align::WxListColumnFormat) -> ok -%% WxListColumnFormat = integer() %% @doc See external documentation. -%%
WxListColumnFormat is one of ?wxLIST_FORMAT_LEFT | ?wxLIST_FORMAT_RIGHT | ?wxLIST_FORMAT_CENTRE | ?wxLIST_FORMAT_CENTER +%%
Align = ?wxLIST_FORMAT_LEFT | ?wxLIST_FORMAT_RIGHT | ?wxLIST_FORMAT_CENTRE | ?wxLIST_FORMAT_CENTER +-spec setAlign(This, Align) -> ok when + This::wxListItem(), Align::wx:wx_enum(). setAlign(#wx_ref{type=ThisT,ref=ThisRef},Align) when is_integer(Align) -> ?CLASS(ThisT,wxListItem), wxe_util:cast(?wxListItem_SetAlign, <>). -%% @spec (This::wxListItem(), ColBack::wx:colour()) -> ok %% @doc See external documentation. +-spec setBackgroundColour(This, ColBack) -> ok when + This::wxListItem(), ColBack::wx:wx_colour(). setBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef},ColBack) when tuple_size(ColBack) =:= 3; tuple_size(ColBack) =:= 4 -> ?CLASS(ThisT,wxListItem), wxe_util:cast(?wxListItem_SetBackgroundColour, <>). -%% @spec (This::wxListItem(), Col::integer()) -> ok %% @doc See external documentation. +-spec setColumn(This, Col) -> ok when + This::wxListItem(), Col::integer(). setColumn(#wx_ref{type=ThisT,ref=ThisRef},Col) when is_integer(Col) -> ?CLASS(ThisT,wxListItem), wxe_util:cast(?wxListItem_SetColumn, <>). -%% @spec (This::wxListItem(), Font::wxFont:wxFont()) -> ok %% @doc See external documentation. +-spec setFont(This, Font) -> ok when + This::wxListItem(), Font::wxFont:wxFont(). setFont(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FontT,ref=FontRef}) -> ?CLASS(ThisT,wxListItem), ?CLASS(FontT,wxFont), wxe_util:cast(?wxListItem_SetFont, <>). -%% @spec (This::wxListItem(), Id::integer()) -> ok %% @doc See external documentation. +-spec setId(This, Id) -> ok when + This::wxListItem(), Id::integer(). setId(#wx_ref{type=ThisT,ref=ThisRef},Id) when is_integer(Id) -> ?CLASS(ThisT,wxListItem), wxe_util:cast(?wxListItem_SetId, <>). -%% @spec (This::wxListItem(), Image::integer()) -> ok %% @doc See external documentation. +-spec setImage(This, Image) -> ok when + This::wxListItem(), Image::integer(). setImage(#wx_ref{type=ThisT,ref=ThisRef},Image) when is_integer(Image) -> ?CLASS(ThisT,wxListItem), wxe_util:cast(?wxListItem_SetImage, <>). -%% @spec (This::wxListItem(), Mask::integer()) -> ok %% @doc See external documentation. +-spec setMask(This, Mask) -> ok when + This::wxListItem(), Mask::integer(). setMask(#wx_ref{type=ThisT,ref=ThisRef},Mask) when is_integer(Mask) -> ?CLASS(ThisT,wxListItem), wxe_util:cast(?wxListItem_SetMask, <>). -%% @spec (This::wxListItem(), State::integer()) -> ok %% @doc See external documentation. +-spec setState(This, State) -> ok when + This::wxListItem(), State::integer(). setState(#wx_ref{type=ThisT,ref=ThisRef},State) when is_integer(State) -> ?CLASS(ThisT,wxListItem), wxe_util:cast(?wxListItem_SetState, <>). -%% @spec (This::wxListItem(), StateMask::integer()) -> ok %% @doc See external documentation. +-spec setStateMask(This, StateMask) -> ok when + This::wxListItem(), StateMask::integer(). setStateMask(#wx_ref{type=ThisT,ref=ThisRef},StateMask) when is_integer(StateMask) -> ?CLASS(ThisT,wxListItem), wxe_util:cast(?wxListItem_SetStateMask, <>). -%% @spec (This::wxListItem(), Text::string()) -> ok %% @doc See external documentation. +-spec setText(This, Text) -> ok when + This::wxListItem(), Text::string(). setText(#wx_ref{type=ThisT,ref=ThisRef},Text) when is_list(Text) -> ?CLASS(ThisT,wxListItem), @@ -218,24 +241,26 @@ setText(#wx_ref{type=ThisT,ref=ThisRef},Text) wxe_util:cast(?wxListItem_SetText, <>). -%% @spec (This::wxListItem(), ColText::wx:colour()) -> ok %% @doc See external documentation. +-spec setTextColour(This, ColText) -> ok when + This::wxListItem(), ColText::wx:wx_colour(). setTextColour(#wx_ref{type=ThisT,ref=ThisRef},ColText) when tuple_size(ColText) =:= 3; tuple_size(ColText) =:= 4 -> ?CLASS(ThisT,wxListItem), wxe_util:cast(?wxListItem_SetTextColour, <>). -%% @spec (This::wxListItem(), Width::integer()) -> ok %% @doc See external documentation. +-spec setWidth(This, Width) -> ok when + This::wxListItem(), Width::integer(). setWidth(#wx_ref{type=ThisT,ref=ThisRef},Width) when is_integer(Width) -> ?CLASS(ThisT,wxListItem), wxe_util:cast(?wxListItem_SetWidth, <>). -%% @spec (This::wxListItem()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxListItem) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxListItem), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxListItemAttr.erl b/lib/wx/src/gen/wxListItemAttr.erl index 1a43c71854..4616e551ec 100644 --- a/lib/wx/src/gen/wxListItemAttr.erl +++ b/lib/wx/src/gen/wxListItemAttr.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -31,91 +31,103 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxListItemAttr/0]). %% @hidden parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxListItemAttr() +-type wxListItemAttr() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxListItemAttr(). new() -> wxe_util:construct(?wxListItemAttr_new_0, <<>>). -%% @spec (ColText::wx:colour(), ColBack::wx:colour(), Font::wxFont:wxFont()) -> wxListItemAttr() %% @doc See external documentation. +-spec new(ColText, ColBack, Font) -> wxListItemAttr() when + ColText::wx:wx_colour(), ColBack::wx:wx_colour(), Font::wxFont:wxFont(). 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 external documentation. +-spec getBackgroundColour(This) -> wx:wx_colour() when + This::wxListItemAttr(). getBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListItemAttr), wxe_util:call(?wxListItemAttr_GetBackgroundColour, <>). -%% @spec (This::wxListItemAttr()) -> wxFont:wxFont() %% @doc See external documentation. +-spec getFont(This) -> wxFont:wxFont() when + This::wxListItemAttr(). getFont(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListItemAttr), wxe_util:call(?wxListItemAttr_GetFont, <>). -%% @spec (This::wxListItemAttr()) -> wx:colour() %% @doc See external documentation. +-spec getTextColour(This) -> wx:wx_colour() when + This::wxListItemAttr(). getTextColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListItemAttr), wxe_util:call(?wxListItemAttr_GetTextColour, <>). -%% @spec (This::wxListItemAttr()) -> bool() %% @doc See external documentation. +-spec hasBackgroundColour(This) -> boolean() when + This::wxListItemAttr(). hasBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListItemAttr), wxe_util:call(?wxListItemAttr_HasBackgroundColour, <>). -%% @spec (This::wxListItemAttr()) -> bool() %% @doc See external documentation. +-spec hasFont(This) -> boolean() when + This::wxListItemAttr(). hasFont(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListItemAttr), wxe_util:call(?wxListItemAttr_HasFont, <>). -%% @spec (This::wxListItemAttr()) -> bool() %% @doc See external documentation. +-spec hasTextColour(This) -> boolean() when + This::wxListItemAttr(). hasTextColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListItemAttr), wxe_util:call(?wxListItemAttr_HasTextColour, <>). -%% @spec (This::wxListItemAttr(), ColBack::wx:colour()) -> ok %% @doc See external documentation. +-spec setBackgroundColour(This, ColBack) -> ok when + This::wxListItemAttr(), ColBack::wx:wx_colour(). 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, <>). -%% @spec (This::wxListItemAttr(), Font::wxFont:wxFont()) -> ok %% @doc See external documentation. +-spec setFont(This, Font) -> ok when + This::wxListItemAttr(), Font::wxFont:wxFont(). setFont(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FontT,ref=FontRef}) -> ?CLASS(ThisT,wxListItemAttr), ?CLASS(FontT,wxFont), wxe_util:cast(?wxListItemAttr_SetFont, <>). -%% @spec (This::wxListItemAttr(), ColText::wx:colour()) -> ok %% @doc See external documentation. +-spec setTextColour(This, ColText) -> ok when + This::wxListItemAttr(), ColText::wx:wx_colour(). 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, <>). -%% @spec (This::wxListItemAttr()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxListItemAttr) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxListItemAttr), wxe_util:destroy(?wxListItemAttr_destroy,Obj), diff --git a/lib/wx/src/gen/wxListView.erl b/lib/wx/src/gen/wxListView.erl index 95a233a562..87cc28cd15 100644 --- a/lib/wx/src/gen/wxListView.erl +++ b/lib/wx/src/gen/wxListView.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -70,67 +70,78 @@ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1, update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxListView/0]). %% @hidden parent_class(wxControl) -> true; parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxListView(), Col::integer()) -> ok +-type wxListView() :: wx:wx_object(). %% @doc See external documentation. +-spec clearColumnImage(This, Col) -> ok when + This::wxListView(), Col::integer(). clearColumnImage(#wx_ref{type=ThisT,ref=ThisRef},Col) when is_integer(Col) -> ?CLASS(ThisT,wxListView), wxe_util:cast(?wxListView_ClearColumnImage, <>). -%% @spec (This::wxListView(), Index::integer()) -> ok %% @doc See external documentation. +-spec focus(This, Index) -> ok when + This::wxListView(), Index::integer(). focus(#wx_ref{type=ThisT,ref=ThisRef},Index) when is_integer(Index) -> ?CLASS(ThisT,wxListView), wxe_util:cast(?wxListView_Focus, <>). -%% @spec (This::wxListView()) -> integer() %% @doc See external documentation. +-spec getFirstSelected(This) -> integer() when + This::wxListView(). getFirstSelected(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListView), wxe_util:call(?wxListView_GetFirstSelected, <>). -%% @spec (This::wxListView()) -> integer() %% @doc See external documentation. +-spec getFocusedItem(This) -> integer() when + This::wxListView(). getFocusedItem(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListView), wxe_util:call(?wxListView_GetFocusedItem, <>). -%% @spec (This::wxListView(), Item::integer()) -> integer() %% @doc See external documentation. +-spec getNextSelected(This, Item) -> integer() when + This::wxListView(), Item::integer(). getNextSelected(#wx_ref{type=ThisT,ref=ThisRef},Item) when is_integer(Item) -> ?CLASS(ThisT,wxListView), wxe_util:call(?wxListView_GetNextSelected, <>). -%% @spec (This::wxListView(), Index::integer()) -> bool() %% @doc See external documentation. +-spec isSelected(This, Index) -> boolean() when + This::wxListView(), Index::integer(). isSelected(#wx_ref{type=ThisT,ref=ThisRef},Index) when is_integer(Index) -> ?CLASS(ThisT,wxListView), wxe_util:call(?wxListView_IsSelected, <>). -%% @spec (This::wxListView(), N::integer()) -> ok %% @equiv select(This,N, []) +-spec select(This, N) -> ok when + This::wxListView(), N::integer(). + select(This,N) when is_record(This, wx_ref),is_integer(N) -> select(This,N, []). -%% @spec (This::wxListView(), N::integer(), [Option]) -> ok -%% Option = {on, bool()} %% @doc See external documentation. +-spec select(This, N, [Option]) -> ok when + This::wxListView(), N::integer(), + Option :: {on, boolean()}. select(#wx_ref{type=ThisT,ref=ThisRef},N, Options) when is_integer(N),is_list(Options) -> ?CLASS(ThisT,wxListView), @@ -140,8 +151,9 @@ select(#wx_ref{type=ThisT,ref=ThisRef},N, Options) wxe_util:cast(?wxListView_Select, <>). -%% @spec (This::wxListView(), Col::integer(), Image::integer()) -> ok %% @doc See external documentation. +-spec setColumnImage(This, Col, Image) -> ok when + This::wxListView(), Col::integer(), Image::integer(). setColumnImage(#wx_ref{type=ThisT,ref=ThisRef},Col,Image) when is_integer(Col),is_integer(Image) -> ?CLASS(ThisT,wxListView), diff --git a/lib/wx/src/gen/wxListbook.erl b/lib/wx/src/gen/wxListbook.erl index c204dc87a1..bacc615004 100644 --- a/lib/wx/src/gen/wxListbook.erl +++ b/lib/wx/src/gen/wxListbook.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2009-2011. All Rights Reserved. +%% Copyright Ericsson AB 2009-2012. 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 @@ -74,27 +74,34 @@ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1, update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxListbook/0]). %% @hidden parent_class(wxControl) -> true; parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxListbook() +-type wxListbook() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxListbook(). new() -> wxe_util:construct(?wxListbook_new_0, <<>>). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer()) -> wxListbook() %% @equiv new(Parent,Id, []) +-spec new(Parent, Id) -> wxListbook() when + Parent::wxWindow:wxWindow(), Id::integer(). + new(Parent,Id) when is_record(Parent, wx_ref),is_integer(Id) -> new(Parent,Id, []). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> wxListbook() -%% Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} %% @doc See external documentation. +-spec new(Parent, Id, [Option]) -> wxListbook() when + Parent::wxWindow:wxWindow(), Id::integer(), + Option :: {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()}. new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options) when is_integer(Id),is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -106,15 +113,19 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options) wxe_util:construct(?wxListbook_new_3, <>). -%% @spec (This::wxListbook(), Page::wxWindow:wxWindow(), Text::string()) -> bool() %% @equiv addPage(This,Page,Text, []) +-spec addPage(This, Page, Text) -> boolean() when + This::wxListbook(), Page::wxWindow:wxWindow(), Text::string(). + addPage(This,Page,Text) when is_record(This, wx_ref),is_record(Page, wx_ref),is_list(Text) -> addPage(This,Page,Text, []). -%% @spec (This::wxListbook(), Page::wxWindow:wxWindow(), Text::string(), [Option]) -> bool() -%% Option = {bSelect, bool()} | {imageId, integer()} %% @doc See external documentation. +-spec addPage(This, Page, Text, [Option]) -> boolean() when + This::wxListbook(), Page::wxWindow:wxWindow(), Text::string(), + Option :: {bSelect, boolean()} + | {imageId, integer()}. addPage(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PageT,ref=PageRef},Text, Options) when is_list(Text),is_list(Options) -> ?CLASS(ThisT,wxListbook), @@ -127,15 +138,18 @@ addPage(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PageT,ref=PageRef},Text, Op wxe_util:call(?wxListbook_AddPage, <>). -%% @spec (This::wxListbook()) -> ok %% @equiv advanceSelection(This, []) +-spec advanceSelection(This) -> ok when + This::wxListbook(). + advanceSelection(This) when is_record(This, wx_ref) -> advanceSelection(This, []). -%% @spec (This::wxListbook(), [Option]) -> ok -%% Option = {forward, bool()} %% @doc See external documentation. +-spec advanceSelection(This, [Option]) -> ok when + This::wxListbook(), + Option :: {forward, boolean()}. advanceSelection(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxListbook), @@ -145,23 +159,29 @@ advanceSelection(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:cast(?wxListbook_AdvanceSelection, <>). -%% @spec (This::wxListbook(), ImageList::wxImageList:wxImageList()) -> ok %% @doc See external documentation. +-spec assignImageList(This, ImageList) -> ok when + This::wxListbook(), ImageList::wxImageList:wxImageList(). assignImageList(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ImageListT,ref=ImageListRef}) -> ?CLASS(ThisT,wxListbook), ?CLASS(ImageListT,wxImageList), wxe_util:cast(?wxListbook_AssignImageList, <>). -%% @spec (This::wxListbook(), Parent::wxWindow:wxWindow(), Id::integer()) -> bool() %% @equiv create(This,Parent,Id, []) +-spec create(This, Parent, Id) -> boolean() when + This::wxListbook(), Parent::wxWindow:wxWindow(), Id::integer(). + create(This,Parent,Id) when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id) -> create(This,Parent,Id, []). -%% @spec (This::wxListbook(), Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> bool() -%% Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} %% @doc See external documentation. +-spec create(This, Parent, Id, [Option]) -> boolean() when + This::wxListbook(), Parent::wxWindow:wxWindow(), Id::integer(), + Option :: {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()}. create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id, Options) when is_integer(Id),is_list(Options) -> ?CLASS(ThisT,wxListbook), @@ -174,98 +194,114 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id, O wxe_util:call(?wxListbook_Create, <>). -%% @spec (This::wxListbook()) -> bool() %% @doc See external documentation. +-spec deleteAllPages(This) -> boolean() when + This::wxListbook(). deleteAllPages(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListbook), wxe_util:call(?wxListbook_DeleteAllPages, <>). -%% @spec (This::wxListbook(), N::integer()) -> bool() %% @doc See external documentation. +-spec deletePage(This, N) -> boolean() when + This::wxListbook(), N::integer(). deletePage(#wx_ref{type=ThisT,ref=ThisRef},N) when is_integer(N) -> ?CLASS(ThisT,wxListbook), wxe_util:call(?wxListbook_DeletePage, <>). -%% @spec (This::wxListbook(), N::integer()) -> bool() %% @doc See external documentation. +-spec removePage(This, N) -> boolean() when + This::wxListbook(), N::integer(). removePage(#wx_ref{type=ThisT,ref=ThisRef},N) when is_integer(N) -> ?CLASS(ThisT,wxListbook), wxe_util:call(?wxListbook_RemovePage, <>). -%% @spec (This::wxListbook()) -> wxWindow:wxWindow() %% @doc See external documentation. +-spec getCurrentPage(This) -> wxWindow:wxWindow() when + This::wxListbook(). getCurrentPage(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListbook), wxe_util:call(?wxListbook_GetCurrentPage, <>). -%% @spec (This::wxListbook()) -> wxImageList:wxImageList() %% @doc See external documentation. +-spec getImageList(This) -> wxImageList:wxImageList() when + This::wxListbook(). getImageList(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListbook), wxe_util:call(?wxListbook_GetImageList, <>). -%% @spec (This::wxListbook(), N::integer()) -> wxWindow:wxWindow() %% @doc See external documentation. +-spec getPage(This, N) -> wxWindow:wxWindow() when + This::wxListbook(), N::integer(). getPage(#wx_ref{type=ThisT,ref=ThisRef},N) when is_integer(N) -> ?CLASS(ThisT,wxListbook), wxe_util:call(?wxListbook_GetPage, <>). -%% @spec (This::wxListbook()) -> integer() %% @doc See external documentation. +-spec getPageCount(This) -> integer() when + This::wxListbook(). getPageCount(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListbook), wxe_util:call(?wxListbook_GetPageCount, <>). -%% @spec (This::wxListbook(), N::integer()) -> integer() %% @doc See external documentation. +-spec getPageImage(This, N) -> integer() when + This::wxListbook(), N::integer(). getPageImage(#wx_ref{type=ThisT,ref=ThisRef},N) when is_integer(N) -> ?CLASS(ThisT,wxListbook), wxe_util:call(?wxListbook_GetPageImage, <>). -%% @spec (This::wxListbook(), N::integer()) -> string() %% @doc See external documentation. +-spec getPageText(This, N) -> string() when + This::wxListbook(), N::integer(). getPageText(#wx_ref{type=ThisT,ref=ThisRef},N) when is_integer(N) -> ?CLASS(ThisT,wxListbook), wxe_util:call(?wxListbook_GetPageText, <>). -%% @spec (This::wxListbook()) -> integer() %% @doc See external documentation. +-spec getSelection(This) -> integer() when + This::wxListbook(). getSelection(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListbook), wxe_util:call(?wxListbook_GetSelection, <>). -%% @spec (This::wxListbook(), Pt::{X::integer(), Y::integer()}) -> {integer(), Flags::integer()} %% @doc See external documentation. +-spec hitTest(This, Pt) -> Result when + Result ::{Res ::integer(), Flags::integer()}, + This::wxListbook(), Pt::{X::integer(), Y::integer()}. hitTest(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY}) when is_integer(PtX),is_integer(PtY) -> ?CLASS(ThisT,wxListbook), wxe_util:call(?wxListbook_HitTest, <>). -%% @spec (This::wxListbook(), N::integer(), Page::wxWindow:wxWindow(), Text::string()) -> bool() %% @equiv insertPage(This,N,Page,Text, []) +-spec insertPage(This, N, Page, Text) -> boolean() when + This::wxListbook(), N::integer(), Page::wxWindow:wxWindow(), Text::string(). + insertPage(This,N,Page,Text) when is_record(This, wx_ref),is_integer(N),is_record(Page, wx_ref),is_list(Text) -> insertPage(This,N,Page,Text, []). -%% @spec (This::wxListbook(), N::integer(), Page::wxWindow:wxWindow(), Text::string(), [Option]) -> bool() -%% Option = {bSelect, bool()} | {imageId, integer()} %% @doc See external documentation. +-spec insertPage(This, N, Page, Text, [Option]) -> boolean() when + This::wxListbook(), N::integer(), Page::wxWindow:wxWindow(), Text::string(), + Option :: {bSelect, boolean()} + | {imageId, integer()}. insertPage(#wx_ref{type=ThisT,ref=ThisRef},N,#wx_ref{type=PageT,ref=PageRef},Text, Options) when is_integer(N),is_list(Text),is_list(Options) -> ?CLASS(ThisT,wxListbook), @@ -278,32 +314,36 @@ insertPage(#wx_ref{type=ThisT,ref=ThisRef},N,#wx_ref{type=PageT,ref=PageRef},Tex wxe_util:call(?wxListbook_InsertPage, <>). -%% @spec (This::wxListbook(), ImageList::wxImageList:wxImageList()) -> ok %% @doc See external documentation. +-spec setImageList(This, ImageList) -> ok when + This::wxListbook(), ImageList::wxImageList:wxImageList(). setImageList(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ImageListT,ref=ImageListRef}) -> ?CLASS(ThisT,wxListbook), ?CLASS(ImageListT,wxImageList), wxe_util:cast(?wxListbook_SetImageList, <>). -%% @spec (This::wxListbook(), Size::{W::integer(), H::integer()}) -> ok %% @doc See external documentation. +-spec setPageSize(This, Size) -> ok when + This::wxListbook(), Size::{W::integer(), H::integer()}. setPageSize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH}) when is_integer(SizeW),is_integer(SizeH) -> ?CLASS(ThisT,wxListbook), wxe_util:cast(?wxListbook_SetPageSize, <>). -%% @spec (This::wxListbook(), N::integer(), ImageId::integer()) -> bool() %% @doc See external documentation. +-spec setPageImage(This, N, ImageId) -> boolean() when + This::wxListbook(), N::integer(), ImageId::integer(). setPageImage(#wx_ref{type=ThisT,ref=ThisRef},N,ImageId) when is_integer(N),is_integer(ImageId) -> ?CLASS(ThisT,wxListbook), wxe_util:call(?wxListbook_SetPageImage, <>). -%% @spec (This::wxListbook(), N::integer(), StrText::string()) -> bool() %% @doc See external documentation. +-spec setPageText(This, N, StrText) -> boolean() when + This::wxListbook(), N::integer(), StrText::string(). setPageText(#wx_ref{type=ThisT,ref=ThisRef},N,StrText) when is_integer(N),is_list(StrText) -> ?CLASS(ThisT,wxListbook), @@ -311,24 +351,26 @@ setPageText(#wx_ref{type=ThisT,ref=ThisRef},N,StrText) wxe_util:call(?wxListbook_SetPageText, <>). -%% @spec (This::wxListbook(), N::integer()) -> integer() %% @doc See external documentation. +-spec setSelection(This, N) -> integer() when + This::wxListbook(), N::integer(). setSelection(#wx_ref{type=ThisT,ref=ThisRef},N) when is_integer(N) -> ?CLASS(ThisT,wxListbook), wxe_util:call(?wxListbook_SetSelection, <>). -%% @spec (This::wxListbook(), N::integer()) -> integer() %% @doc See external documentation. +-spec changeSelection(This, N) -> integer() when + This::wxListbook(), N::integer(). changeSelection(#wx_ref{type=ThisT,ref=ThisRef},N) when is_integer(N) -> ?CLASS(ThisT,wxListbook), wxe_util:call(?wxListbook_ChangeSelection, <>). -%% @spec (This::wxListbook()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxListbook) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxListbook), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxLogNull.erl b/lib/wx/src/gen/wxLogNull.erl index 676fdf6d85..fb53e0d151 100644 --- a/lib/wx/src/gen/wxLogNull.erl +++ b/lib/wx/src/gen/wxLogNull.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2009-2010. All Rights Reserved. +%% Copyright Ericsson AB 2009-2012. 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,19 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxLogNull/0]). %% @hidden parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxLogNull() +-type wxLogNull() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxLogNull(). new() -> wxe_util:construct(?wxLogNull_new, <<>>). -%% @spec (This::wxLogNull()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxLogNull) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxLogNull), wxe_util:destroy(?wxLogNull_destroy,Obj), diff --git a/lib/wx/src/gen/wxMDIChildFrame.erl b/lib/wx/src/gen/wxMDIChildFrame.erl index d3e1edda55..6b9905b72b 100644 --- a/lib/wx/src/gen/wxMDIChildFrame.erl +++ b/lib/wx/src/gen/wxMDIChildFrame.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -80,6 +80,7 @@ thaw/1,transferDataFromWindow/1,transferDataToWindow/1,update/1,updateWindowUI/1, updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxMDIChildFrame/0]). %% @hidden parent_class(wxFrame) -> true; parent_class(wxTopLevelWindow) -> true; @@ -87,21 +88,27 @@ parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxMDIChildFrame() +-type wxMDIChildFrame() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxMDIChildFrame(). new() -> wxe_util:construct(?wxMDIChildFrame_new_0, <<>>). -%% @spec (Parent::wxMDIParentFrame:wxMDIParentFrame(), Id::integer(), Title::string()) -> wxMDIChildFrame() %% @equiv new(Parent,Id,Title, []) +-spec new(Parent, Id, Title) -> wxMDIChildFrame() when + Parent::wxMDIParentFrame:wxMDIParentFrame(), Id::integer(), Title::string(). + new(Parent,Id,Title) when is_record(Parent, wx_ref),is_integer(Id),is_list(Title) -> new(Parent,Id,Title, []). -%% @spec (Parent::wxMDIParentFrame:wxMDIParentFrame(), Id::integer(), Title::string(), [Option]) -> wxMDIChildFrame() -%% Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} %% @doc See external documentation. +-spec new(Parent, Id, Title, [Option]) -> wxMDIChildFrame() when + Parent::wxMDIParentFrame:wxMDIParentFrame(), Id::integer(), Title::string(), + Option :: {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()}. new(#wx_ref{type=ParentT,ref=ParentRef},Id,Title, Options) when is_integer(Id),is_list(Title),is_list(Options) -> ?CLASS(ParentT,wxMDIParentFrame), @@ -114,22 +121,28 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Id,Title, Options) wxe_util:construct(?wxMDIChildFrame_new_4, <>). -%% @spec (This::wxMDIChildFrame()) -> ok %% @doc See external documentation. +-spec activate(This) -> ok when + This::wxMDIChildFrame(). activate(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMDIChildFrame), wxe_util:cast(?wxMDIChildFrame_Activate, <>). -%% @spec (This::wxMDIChildFrame(), Parent::wxMDIParentFrame:wxMDIParentFrame(), Id::integer(), Title::string()) -> bool() %% @equiv create(This,Parent,Id,Title, []) +-spec create(This, Parent, Id, Title) -> boolean() when + This::wxMDIChildFrame(), Parent::wxMDIParentFrame:wxMDIParentFrame(), Id::integer(), Title::string(). + create(This,Parent,Id,Title) when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id),is_list(Title) -> create(This,Parent,Id,Title, []). -%% @spec (This::wxMDIChildFrame(), Parent::wxMDIParentFrame:wxMDIParentFrame(), Id::integer(), Title::string(), [Option]) -> bool() -%% Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} %% @doc See external documentation. +-spec create(This, Parent, Id, Title, [Option]) -> boolean() when + This::wxMDIChildFrame(), Parent::wxMDIParentFrame:wxMDIParentFrame(), Id::integer(), Title::string(), + Option :: {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()}. create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,Title, Options) when is_integer(Id),is_list(Title),is_list(Options) -> ?CLASS(ThisT,wxMDIChildFrame), @@ -143,15 +156,18 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,Ti wxe_util:call(?wxMDIChildFrame_Create, <>). -%% @spec (This::wxMDIChildFrame()) -> ok %% @equiv maximize(This, []) +-spec maximize(This) -> ok when + This::wxMDIChildFrame(). + maximize(This) when is_record(This, wx_ref) -> maximize(This, []). -%% @spec (This::wxMDIChildFrame(), [Option]) -> ok -%% Option = {maximize, bool()} %% @doc See external documentation. +-spec maximize(This, [Option]) -> ok when + This::wxMDIChildFrame(), + Option :: {maximize, boolean()}. maximize(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxMDIChildFrame), @@ -161,15 +177,16 @@ maximize(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:cast(?wxMDIChildFrame_Maximize, <>). -%% @spec (This::wxMDIChildFrame()) -> ok %% @doc See external documentation. +-spec restore(This) -> ok when + This::wxMDIChildFrame(). restore(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMDIChildFrame), wxe_util:cast(?wxMDIChildFrame_Restore, <>). -%% @spec (This::wxMDIChildFrame()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxMDIChildFrame) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxMDIChildFrame), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxMDIClientWindow.erl b/lib/wx/src/gen/wxMDIClientWindow.erl index 79a11b4eb7..7399b8be26 100644 --- a/lib/wx/src/gen/wxMDIClientWindow.erl +++ b/lib/wx/src/gen/wxMDIClientWindow.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -68,26 +68,31 @@ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1, update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxMDIClientWindow/0]). %% @hidden parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxMDIClientWindow() +-type wxMDIClientWindow() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxMDIClientWindow(). new() -> wxe_util:construct(?wxMDIClientWindow_new_0, <<>>). -%% @spec (Parent::wxMDIParentFrame:wxMDIParentFrame()) -> wxMDIClientWindow() %% @equiv new(Parent, []) +-spec new(Parent) -> wxMDIClientWindow() when + Parent::wxMDIParentFrame:wxMDIParentFrame(). + new(Parent) when is_record(Parent, wx_ref) -> new(Parent, []). -%% @spec (Parent::wxMDIParentFrame:wxMDIParentFrame(), [Option]) -> wxMDIClientWindow() -%% Option = {style, integer()} %% @doc See external documentation. +-spec new(Parent, [Option]) -> wxMDIClientWindow() when + Parent::wxMDIParentFrame:wxMDIParentFrame(), + Option :: {style, integer()}. new(#wx_ref{type=ParentT,ref=ParentRef}, Options) when is_list(Options) -> ?CLASS(ParentT,wxMDIParentFrame), @@ -97,15 +102,18 @@ new(#wx_ref{type=ParentT,ref=ParentRef}, Options) wxe_util:construct(?wxMDIClientWindow_new_2, <>). -%% @spec (This::wxMDIClientWindow(), Parent::wxMDIParentFrame:wxMDIParentFrame()) -> bool() %% @equiv createClient(This,Parent, []) +-spec createClient(This, Parent) -> boolean() when + This::wxMDIClientWindow(), Parent::wxMDIParentFrame:wxMDIParentFrame(). + createClient(This,Parent) when is_record(This, wx_ref),is_record(Parent, wx_ref) -> createClient(This,Parent, []). -%% @spec (This::wxMDIClientWindow(), Parent::wxMDIParentFrame:wxMDIParentFrame(), [Option]) -> bool() -%% Option = {style, integer()} %% @doc See external documentation. +-spec createClient(This, Parent, [Option]) -> boolean() when + This::wxMDIClientWindow(), Parent::wxMDIParentFrame:wxMDIParentFrame(), + Option :: {style, integer()}. createClient(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxMDIClientWindow), @@ -116,8 +124,8 @@ createClient(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef} wxe_util:call(?wxMDIClientWindow_CreateClient, <>). -%% @spec (This::wxMDIClientWindow()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxMDIClientWindow) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxMDIClientWindow), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxMDIParentFrame.erl b/lib/wx/src/gen/wxMDIParentFrame.erl index 7f8a305876..545d52c3cd 100644 --- a/lib/wx/src/gen/wxMDIParentFrame.erl +++ b/lib/wx/src/gen/wxMDIParentFrame.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -82,6 +82,7 @@ transferDataToWindow/1,update/1,updateWindowUI/1,updateWindowUI/2, validate/1,warpPointer/3]). +-export_type([wxMDIParentFrame/0]). %% @hidden parent_class(wxFrame) -> true; parent_class(wxTopLevelWindow) -> true; @@ -89,21 +90,27 @@ parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxMDIParentFrame() +-type wxMDIParentFrame() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxMDIParentFrame(). new() -> wxe_util:construct(?wxMDIParentFrame_new_0, <<>>). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Title::string()) -> wxMDIParentFrame() %% @equiv new(Parent,Id,Title, []) +-spec new(Parent, Id, Title) -> wxMDIParentFrame() when + Parent::wxWindow:wxWindow(), Id::integer(), Title::string(). + new(Parent,Id,Title) when is_record(Parent, wx_ref),is_integer(Id),is_list(Title) -> new(Parent,Id,Title, []). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Title::string(), [Option]) -> wxMDIParentFrame() -%% Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} %% @doc See external documentation. +-spec new(Parent, Id, Title, [Option]) -> wxMDIParentFrame() when + Parent::wxWindow:wxWindow(), Id::integer(), Title::string(), + Option :: {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()}. new(#wx_ref{type=ParentT,ref=ParentRef},Id,Title, Options) when is_integer(Id),is_list(Title),is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -116,43 +123,52 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Id,Title, Options) wxe_util:construct(?wxMDIParentFrame_new_4, <>). -%% @spec (This::wxMDIParentFrame()) -> ok %% @doc See external documentation. +-spec activateNext(This) -> ok when + This::wxMDIParentFrame(). activateNext(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMDIParentFrame), wxe_util:cast(?wxMDIParentFrame_ActivateNext, <>). -%% @spec (This::wxMDIParentFrame()) -> ok %% @doc See external documentation. +-spec activatePrevious(This) -> ok when + This::wxMDIParentFrame(). activatePrevious(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMDIParentFrame), wxe_util:cast(?wxMDIParentFrame_ActivatePrevious, <>). -%% @spec (This::wxMDIParentFrame()) -> ok %% @doc See external documentation. +-spec arrangeIcons(This) -> ok when + This::wxMDIParentFrame(). arrangeIcons(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMDIParentFrame), wxe_util:cast(?wxMDIParentFrame_ArrangeIcons, <>). -%% @spec (This::wxMDIParentFrame()) -> ok %% @doc See external documentation. +-spec cascade(This) -> ok when + This::wxMDIParentFrame(). cascade(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMDIParentFrame), wxe_util:cast(?wxMDIParentFrame_Cascade, <>). -%% @spec (This::wxMDIParentFrame(), Parent::wxWindow:wxWindow(), Id::integer(), Title::string()) -> bool() %% @equiv create(This,Parent,Id,Title, []) +-spec create(This, Parent, Id, Title) -> boolean() when + This::wxMDIParentFrame(), Parent::wxWindow:wxWindow(), Id::integer(), Title::string(). + create(This,Parent,Id,Title) when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id),is_list(Title) -> create(This,Parent,Id,Title, []). -%% @spec (This::wxMDIParentFrame(), Parent::wxWindow:wxWindow(), Id::integer(), Title::string(), [Option]) -> bool() -%% Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} %% @doc See external documentation. +-spec create(This, Parent, Id, Title, [Option]) -> boolean() when + This::wxMDIParentFrame(), Parent::wxWindow:wxWindow(), Id::integer(), Title::string(), + Option :: {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()}. create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,Title, Options) when is_integer(Id),is_list(Title),is_list(Options) -> ?CLASS(ThisT,wxMDIParentFrame), @@ -166,31 +182,35 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,Ti wxe_util:call(?wxMDIParentFrame_Create, <>). -%% @spec (This::wxMDIParentFrame()) -> wxMDIChildFrame:wxMDIChildFrame() %% @doc See external documentation. +-spec getActiveChild(This) -> wxMDIChildFrame:wxMDIChildFrame() when + This::wxMDIParentFrame(). getActiveChild(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMDIParentFrame), wxe_util:call(?wxMDIParentFrame_GetActiveChild, <>). -%% @spec (This::wxMDIParentFrame()) -> wxMDIClientWindow:wxMDIClientWindow() %% @doc See external documentation. +-spec getClientWindow(This) -> wxMDIClientWindow:wxMDIClientWindow() when + This::wxMDIParentFrame(). getClientWindow(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMDIParentFrame), wxe_util:call(?wxMDIParentFrame_GetClientWindow, <>). -%% @spec (This::wxMDIParentFrame()) -> ok %% @equiv tile(This, []) +-spec tile(This) -> ok when + This::wxMDIParentFrame(). + tile(This) when is_record(This, wx_ref) -> tile(This, []). -%% @spec (This::wxMDIParentFrame(), [Option]) -> ok -%% Option = {orient, WxOrientation} -%% WxOrientation = integer() %% @doc See external documentation. -%%
WxOrientation is one of ?wxHORIZONTAL | ?wxVERTICAL | ?wxBOTH +%%
Orient = ?wxHORIZONTAL | ?wxVERTICAL | ?wxBOTH +-spec tile(This, [Option]) -> ok when + This::wxMDIParentFrame(), + Option :: {orient, wx:wx_enum()}. tile(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxMDIParentFrame), @@ -200,8 +220,8 @@ tile(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:cast(?wxMDIParentFrame_Tile, <>). -%% @spec (This::wxMDIParentFrame()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxMDIParentFrame) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxMDIParentFrame), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxMask.erl b/lib/wx/src/gen/wxMask.erl index 3b5d3340ea..488cddc260 100644 --- a/lib/wx/src/gen/wxMask.erl +++ b/lib/wx/src/gen/wxMask.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,31 +29,30 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxMask/0]). %% @hidden parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxMask() +-type wxMask() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxMask(). new() -> wxe_util:construct(?wxMask_new_0, <<>>). -%% @spec (Bitmap::wxBitmap:wxBitmap()) -> wxMask() %% @doc See external documentation. +-spec new(Bitmap) -> wxMask() when + Bitmap::wxBitmap:wxBitmap(). new(#wx_ref{type=BitmapT,ref=BitmapRef}) -> ?CLASS(BitmapT,wxBitmap), wxe_util:construct(?wxMask_new_1, <>). -%% @spec (Bitmap::wxBitmap:wxBitmap(),X::integer()|term()) -> wxMask() %% @doc See external documentation. -%%
Alternatives: -%%

-%% new(Bitmap::wxBitmap:wxBitmap(), PaletteIndex::integer()) -> wxMask() -%%

-%%

-%% new(Bitmap::wxBitmap:wxBitmap(), Colour::wx:colour()) -> wxMask() -%%

+-spec new(Bitmap, PaletteIndex) -> wxMask() when + Bitmap::wxBitmap:wxBitmap(), PaletteIndex::integer(); + (Bitmap, Colour) -> wxMask() when + Bitmap::wxBitmap:wxBitmap(), Colour::wx:wx_colour(). new(#wx_ref{type=BitmapT,ref=BitmapRef},PaletteIndex) when is_integer(PaletteIndex) -> ?CLASS(BitmapT,wxBitmap), @@ -65,23 +64,20 @@ new(#wx_ref{type=BitmapT,ref=BitmapRef},Colour) wxe_util:construct(?wxMask_new_2_1, <>). -%% @spec (This::wxMask(), Bitmap::wxBitmap:wxBitmap()) -> bool() %% @doc See external documentation. +-spec create(This, Bitmap) -> boolean() when + This::wxMask(), Bitmap::wxBitmap:wxBitmap(). create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BitmapT,ref=BitmapRef}) -> ?CLASS(ThisT,wxMask), ?CLASS(BitmapT,wxBitmap), wxe_util:call(?wxMask_Create_1, <>). -%% @spec (This::wxMask(),Bitmap::wxBitmap:wxBitmap(),X::integer()|term()) -> bool() %% @doc See external documentation. -%%
Alternatives: -%%

-%% create(This::wxMask(), Bitmap::wxBitmap:wxBitmap(), PaletteIndex::integer()) -> bool() -%%

-%%

-%% create(This::wxMask(), Bitmap::wxBitmap:wxBitmap(), Colour::wx:colour()) -> bool() -%%

+-spec create(This, Bitmap, PaletteIndex) -> boolean() when + This::wxMask(), Bitmap::wxBitmap:wxBitmap(), PaletteIndex::integer(); + (This, Bitmap, Colour) -> boolean() when + This::wxMask(), Bitmap::wxBitmap:wxBitmap(), Colour::wx:wx_colour(). create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BitmapT,ref=BitmapRef},PaletteIndex) when is_integer(PaletteIndex) -> ?CLASS(ThisT,wxMask), @@ -95,8 +91,8 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BitmapT,ref=BitmapRef},Colou wxe_util:call(?wxMask_Create_2_1, <>). -%% @spec (This::wxMask()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxMask) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxMask), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxMaximizeEvent.erl b/lib/wx/src/gen/wxMaximizeEvent.erl index 6dd371908b..5f7b7e890d 100644 --- a/lib/wx/src/gen/wxMaximizeEvent.erl +++ b/lib/wx/src/gen/wxMaximizeEvent.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,10 +37,12 @@ -export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1, resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]). +-export_type([wxMaximizeEvent/0]). %% @hidden parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). +-type wxMaximizeEvent() :: wx:wx_object(). %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). diff --git a/lib/wx/src/gen/wxMemoryDC.erl b/lib/wx/src/gen/wxMemoryDC.erl index d17ebba4b7..a8e287eb0a 100644 --- a/lib/wx/src/gen/wxMemoryDC.erl +++ b/lib/wx/src/gen/wxMemoryDC.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -52,18 +52,21 @@ setPen/2,setTextBackground/2,setTextForeground/2,setUserScale/3,startDoc/2, startPage/1]). +-export_type([wxMemoryDC/0]). %% @hidden parent_class(wxDC) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxMemoryDC() +-type wxMemoryDC() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxMemoryDC(). new() -> wxe_util:construct(?wxMemoryDC_new_0, <<>>). -%% @spec (Dc::wxDC:wxDC() | wxBitmap:wxBitmap()) -> wxMemoryDC() %% @doc See external documentation. +-spec new(Dc) -> wxMemoryDC() when + Dc::wxDC:wxDC() | wxBitmap:wxBitmap(). new(#wx_ref{type=DcT,ref=DcRef}) -> DcOP = case ?CLASS_T(DcT,wxDC) of true -> @@ -74,24 +77,26 @@ new(#wx_ref{type=DcT,ref=DcRef}) -> wxe_util:construct(DcOP, <>). -%% @spec (This::wxMemoryDC(), Bmp::wxBitmap:wxBitmap()) -> ok %% @doc See external documentation. +-spec selectObject(This, Bmp) -> ok when + This::wxMemoryDC(), Bmp::wxBitmap:wxBitmap(). selectObject(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BmpT,ref=BmpRef}) -> ?CLASS(ThisT,wxMemoryDC), ?CLASS(BmpT,wxBitmap), wxe_util:cast(?wxMemoryDC_SelectObject, <>). -%% @spec (This::wxMemoryDC(), Bmp::wxBitmap:wxBitmap()) -> ok %% @doc See external documentation. +-spec selectObjectAsSource(This, Bmp) -> ok when + This::wxMemoryDC(), Bmp::wxBitmap:wxBitmap(). selectObjectAsSource(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BmpT,ref=BmpRef}) -> ?CLASS(ThisT,wxMemoryDC), ?CLASS(BmpT,wxBitmap), wxe_util:cast(?wxMemoryDC_SelectObjectAsSource, <>). -%% @spec (This::wxMemoryDC()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxMemoryDC) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxMemoryDC), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxMenu.erl b/lib/wx/src/gen/wxMenu.erl index 615a845d11..dd674b117d 100644 --- a/lib/wx/src/gen/wxMenu.erl +++ b/lib/wx/src/gen/wxMenu.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,18 +40,21 @@ %% inherited exports -export([connect/2,connect/3,disconnect/1,disconnect/2,disconnect/3,parent_class/1]). +-export_type([wxMenu/0]). %% @hidden parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxMenu() +-type wxMenu() :: wx:wx_object(). %% @equiv new([]) +-spec new() -> wxMenu(). + new() -> new([]). -%% @spec ([Option]) -> wxMenu() -%% Option = {style, integer()} %% @doc See external documentation. +-spec new([Option]) -> wxMenu() when + Option :: {style, integer()}. new(Options) when is_list(Options) -> MOpts = fun({style, Style}, Acc) -> [<<1:32/?UI,Style:32/?UI>>|Acc]; @@ -60,9 +63,10 @@ new(Options) wxe_util:construct(?wxMenu_new_1, <>). -%% @spec (Title::string(), [Option]) -> wxMenu() -%% Option = {style, integer()} %% @doc See external documentation. +-spec new(Title, [Option]) -> wxMenu() when + Title::string(), + Option :: {style, integer()}. new(Title, Options) when is_list(Title),is_list(Options) -> Title_UC = unicode:characters_to_binary([Title,0]), @@ -72,31 +76,30 @@ new(Title, Options) wxe_util:construct(?wxMenu_new_2, <<(byte_size(Title_UC)):32/?UI,(Title_UC)/binary, 0:(((8- ((4+byte_size(Title_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>). -%% @spec (This::wxMenu(), Item::wxMenuItem:wxMenuItem()) -> wxMenuItem:wxMenuItem() %% @doc See external documentation. +-spec append(This, Item) -> wxMenuItem:wxMenuItem() when + This::wxMenu(), Item::wxMenuItem:wxMenuItem(). append(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ItemT,ref=ItemRef}) -> ?CLASS(ThisT,wxMenu), ?CLASS(ItemT,wxMenuItem), wxe_util:call(?wxMenu_Append_1, <>). -%% @spec (This::wxMenu(), Itemid::integer(), Text::string()) -> wxMenuItem:wxMenuItem() %% @equiv append(This,Itemid,Text, []) +-spec append(This, Itemid, Text) -> wxMenuItem:wxMenuItem() when + This::wxMenu(), Itemid::integer(), Text::string(). + append(This,Itemid,Text) when is_record(This, wx_ref),is_integer(Itemid),is_list(Text) -> append(This,Itemid,Text, []). -%% @spec (This::wxMenu(),Itemid::integer(),Text::string(),X::wxMenu()|term()) -> wxMenuItem:wxMenuItem() %% @doc See external documentation. -%%
Alternatives: -%%

-%% append(This::wxMenu(), Itemid::integer(), Text::string(), Submenu::wxMenu()) -> append(This,Itemid,Text,Submenu, [])

-%%

-%% append(This::wxMenu(), Itemid::integer(), Text::string(), [Option]) -> wxMenuItem:wxMenuItem() -%%
Option = {help, string()} | {kind, WxItemKind} -%%
WxItemKind = integer() -%%
WxItemKind is one of ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX -%%

+-spec append(This, Itemid, Text, Submenu) -> wxMenuItem:wxMenuItem() when + This::wxMenu(), Itemid::integer(), Text::string(), Submenu::wxMenu(); + (This, Itemid, Text, [Option]) -> wxMenuItem:wxMenuItem() when + This::wxMenu(), Itemid::integer(), Text::string(), + Option :: {help, string()} + | {kind, wx:wx_enum()}. append(This,Itemid,Text,Submenu) when is_record(This, wx_ref),is_integer(Itemid),is_list(Text),is_record(Submenu, wx_ref) -> @@ -112,16 +115,12 @@ append(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Text, Options) wxe_util:call(?wxMenu_Append_3, <>). -%% @spec (This::wxMenu(),Itemid::integer(),Text::string(),X::string()|wxMenu(),X::bool()|term()) -> ok|wxMenuItem:wxMenuItem() %% @doc See external documentation. -%%
Alternatives: -%%

-%% append(This::wxMenu(), Itemid::integer(), Text::string(), Help::string(), IsCheckable::bool()) -> ok -%%

-%%

-%% append(This::wxMenu(), Itemid::integer(), Text::string(), Submenu::wxMenu(), [Option]) -> wxMenuItem:wxMenuItem() -%%
Option = {help, string()} -%%

+-spec append(This, Itemid, Text, Help, IsCheckable) -> ok when + This::wxMenu(), Itemid::integer(), Text::string(), Help::string(), IsCheckable::boolean(); + (This, Itemid, Text, Submenu, [Option]) -> wxMenuItem:wxMenuItem() when + This::wxMenu(), Itemid::integer(), Text::string(), Submenu::wxMenu(), + Option :: {help, string()}. append(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Text,Help,IsCheckable) when is_integer(Itemid),is_list(Text),is_list(Help),is_boolean(IsCheckable) -> ?CLASS(ThisT,wxMenu), @@ -140,15 +139,18 @@ append(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Text,#wx_ref{type=SubmenuT,ref=Sub wxe_util:call(?wxMenu_Append_4_1, <>). -%% @spec (This::wxMenu(), Itemid::integer(), Text::string()) -> wxMenuItem:wxMenuItem() %% @equiv appendCheckItem(This,Itemid,Text, []) +-spec appendCheckItem(This, Itemid, Text) -> wxMenuItem:wxMenuItem() when + This::wxMenu(), Itemid::integer(), Text::string(). + appendCheckItem(This,Itemid,Text) when is_record(This, wx_ref),is_integer(Itemid),is_list(Text) -> appendCheckItem(This,Itemid,Text, []). -%% @spec (This::wxMenu(), Itemid::integer(), Text::string(), [Option]) -> wxMenuItem:wxMenuItem() -%% Option = {help, string()} %% @doc See external documentation. +-spec appendCheckItem(This, Itemid, Text, [Option]) -> wxMenuItem:wxMenuItem() when + This::wxMenu(), Itemid::integer(), Text::string(), + Option :: {help, string()}. appendCheckItem(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Text, Options) when is_integer(Itemid),is_list(Text),is_list(Options) -> ?CLASS(ThisT,wxMenu), @@ -159,15 +161,18 @@ appendCheckItem(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Text, Options) wxe_util:call(?wxMenu_AppendCheckItem, <>). -%% @spec (This::wxMenu(), Itemid::integer(), Text::string()) -> wxMenuItem:wxMenuItem() %% @equiv appendRadioItem(This,Itemid,Text, []) +-spec appendRadioItem(This, Itemid, Text) -> wxMenuItem:wxMenuItem() when + This::wxMenu(), Itemid::integer(), Text::string(). + appendRadioItem(This,Itemid,Text) when is_record(This, wx_ref),is_integer(Itemid),is_list(Text) -> appendRadioItem(This,Itemid,Text, []). -%% @spec (This::wxMenu(), Itemid::integer(), Text::string(), [Option]) -> wxMenuItem:wxMenuItem() -%% Option = {help, string()} %% @doc See external documentation. +-spec appendRadioItem(This, Itemid, Text, [Option]) -> wxMenuItem:wxMenuItem() when + This::wxMenu(), Itemid::integer(), Text::string(), + Option :: {help, string()}. appendRadioItem(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Text, Options) when is_integer(Itemid),is_list(Text),is_list(Options) -> ?CLASS(ThisT,wxMenu), @@ -178,37 +183,36 @@ appendRadioItem(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Text, Options) wxe_util:call(?wxMenu_AppendRadioItem, <>). -%% @spec (This::wxMenu()) -> wxMenuItem:wxMenuItem() %% @doc See external documentation. +-spec appendSeparator(This) -> wxMenuItem:wxMenuItem() when + This::wxMenu(). appendSeparator(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMenu), wxe_util:call(?wxMenu_AppendSeparator, <>). -%% @spec (This::wxMenu()) -> ok %% @doc See external documentation. +-spec break(This) -> ok when + This::wxMenu(). break(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMenu), wxe_util:cast(?wxMenu_Break, <>). -%% @spec (This::wxMenu(), Itemid::integer(), Check::bool()) -> ok %% @doc See external documentation. +-spec check(This, Itemid, Check) -> ok when + This::wxMenu(), Itemid::integer(), Check::boolean(). check(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Check) when is_integer(Itemid),is_boolean(Check) -> ?CLASS(ThisT,wxMenu), wxe_util:cast(?wxMenu_Check, <>). -%% @spec (This::wxMenu(),X::integer()|term()) -> bool() %% @doc See external documentation. -%%
Alternatives: -%%

-%% delete(This::wxMenu(), Itemid::integer()) -> bool() -%%

-%%

-%% delete(This::wxMenu(), Item::wxMenuItem:wxMenuItem()) -> bool() -%%

+-spec delete(This, Itemid) -> boolean() when + This::wxMenu(), Itemid::integer(); + (This, Item) -> boolean() when + This::wxMenu(), Item::wxMenuItem:wxMenuItem(). delete(#wx_ref{type=ThisT,ref=ThisRef},Itemid) when is_integer(Itemid) -> ?CLASS(ThisT,wxMenu), @@ -220,15 +224,11 @@ delete(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ItemT,ref=ItemRef}) -> wxe_util:call(?wxMenu_Delete_1_1, <>). -%% @spec (This::wxMenu(),X::integer()|term()) -> bool() %% @doc See external documentation. -%%
Alternatives: -%%

-%% 'Destroy'(This::wxMenu(), Itemid::integer()) -> bool() -%%

-%%

-%% 'Destroy'(This::wxMenu(), Item::wxMenuItem:wxMenuItem()) -> bool() -%%

+-spec 'Destroy'(This, Itemid) -> boolean() when + This::wxMenu(), Itemid::integer(); + (This, Item) -> boolean() when + This::wxMenu(), Item::wxMenuItem:wxMenuItem(). 'Destroy'(#wx_ref{type=ThisT,ref=ThisRef},Itemid) when is_integer(Itemid) -> ?CLASS(ThisT,wxMenu), @@ -240,23 +240,20 @@ delete(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ItemT,ref=ItemRef}) -> wxe_util:call(?wxMenu_Destroy_1_1, <>). -%% @spec (This::wxMenu(), Itemid::integer(), Enable::bool()) -> ok %% @doc See external documentation. +-spec enable(This, Itemid, Enable) -> ok when + This::wxMenu(), Itemid::integer(), Enable::boolean(). enable(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Enable) when is_integer(Itemid),is_boolean(Enable) -> ?CLASS(ThisT,wxMenu), wxe_util:cast(?wxMenu_Enable, <>). -%% @spec (This::wxMenu(),X::integer()|string()) -> wxMenuItem:wxMenuItem()|integer() %% @doc See external documentation. -%%
Alternatives: -%%

-%% findItem(This::wxMenu(), Itemid::integer()) -> wxMenuItem:wxMenuItem() -%%

-%%

-%% findItem(This::wxMenu(), Item::string()) -> integer() -%%

+-spec findItem(This, Itemid) -> wxMenuItem:wxMenuItem() when + This::wxMenu(), Itemid::integer(); + (This, Item) -> integer() when + This::wxMenu(), Item::string(). findItem(#wx_ref{type=ThisT,ref=ThisRef},Itemid) when is_integer(Itemid) -> ?CLASS(ThisT,wxMenu), @@ -269,59 +266,62 @@ findItem(#wx_ref{type=ThisT,ref=ThisRef},Item) wxe_util:call(?wxMenu_FindItem_1, <>). -%% @spec (This::wxMenu(), Position::integer()) -> wxMenuItem:wxMenuItem() %% @doc See external documentation. +-spec findItemByPosition(This, Position) -> wxMenuItem:wxMenuItem() when + This::wxMenu(), Position::integer(). findItemByPosition(#wx_ref{type=ThisT,ref=ThisRef},Position) when is_integer(Position) -> ?CLASS(ThisT,wxMenu), wxe_util:call(?wxMenu_FindItemByPosition, <>). -%% @spec (This::wxMenu(), Itemid::integer()) -> string() %% @doc See external documentation. +-spec getHelpString(This, Itemid) -> string() when + This::wxMenu(), Itemid::integer(). getHelpString(#wx_ref{type=ThisT,ref=ThisRef},Itemid) when is_integer(Itemid) -> ?CLASS(ThisT,wxMenu), wxe_util:call(?wxMenu_GetHelpString, <>). -%% @spec (This::wxMenu(), Itemid::integer()) -> string() %% @doc See external documentation. +-spec getLabel(This, Itemid) -> string() when + This::wxMenu(), Itemid::integer(). getLabel(#wx_ref{type=ThisT,ref=ThisRef},Itemid) when is_integer(Itemid) -> ?CLASS(ThisT,wxMenu), wxe_util:call(?wxMenu_GetLabel, <>). -%% @spec (This::wxMenu()) -> integer() %% @doc See external documentation. +-spec getMenuItemCount(This) -> integer() when + This::wxMenu(). getMenuItemCount(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMenu), wxe_util:call(?wxMenu_GetMenuItemCount, <>). -%% @spec (This::wxMenu()) -> [wxMenuItem:wxMenuItem()] %% @doc See external documentation. +-spec getMenuItems(This) -> [wxMenuItem:wxMenuItem()] when + This::wxMenu(). getMenuItems(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMenu), wxe_util:call(?wxMenu_GetMenuItems, <>). -%% @spec (This::wxMenu()) -> string() %% @doc See external documentation. +-spec getTitle(This) -> string() when + This::wxMenu(). getTitle(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMenu), wxe_util:call(?wxMenu_GetTitle, <>). -%% @spec (This::wxMenu(),Pos::integer(),X::integer()|term()) -> wxMenuItem:wxMenuItem() %% @doc See external documentation. -%%
Alternatives: -%%

-%% insert(This::wxMenu(), Pos::integer(), Itemid::integer()) -> insert(This,Pos,Itemid, [])

-%%

-%% insert(This::wxMenu(), Pos::integer(), Item::wxMenuItem:wxMenuItem()) -> wxMenuItem:wxMenuItem() -%%

+-spec insert(This, Pos, Itemid) -> wxMenuItem:wxMenuItem() when + This::wxMenu(), Pos::integer(), Itemid::integer(); + (This, Pos, Item) -> wxMenuItem:wxMenuItem() when + This::wxMenu(), Pos::integer(), Item::wxMenuItem:wxMenuItem(). insert(This,Pos,Itemid) when is_record(This, wx_ref),is_integer(Pos),is_integer(Itemid) -> @@ -333,11 +333,13 @@ insert(#wx_ref{type=ThisT,ref=ThisRef},Pos,#wx_ref{type=ItemT,ref=ItemRef}) wxe_util:call(?wxMenu_Insert_2, <>). -%% @spec (This::wxMenu(), Pos::integer(), Itemid::integer(), [Option]) -> wxMenuItem:wxMenuItem() -%% Option = {text, string()} | {help, string()} | {kind, WxItemKind} -%% WxItemKind = integer() %% @doc See external documentation. -%%
WxItemKind is one of ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX +%%
Kind = ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX +-spec insert(This, Pos, Itemid, [Option]) -> wxMenuItem:wxMenuItem() when + This::wxMenu(), Pos::integer(), Itemid::integer(), + Option :: {text, string()} + | {help, string()} + | {kind, wx:wx_enum()}. insert(#wx_ref{type=ThisT,ref=ThisRef},Pos,Itemid, Options) when is_integer(Pos),is_integer(Itemid),is_list(Options) -> ?CLASS(ThisT,wxMenu), @@ -349,22 +351,20 @@ insert(#wx_ref{type=ThisT,ref=ThisRef},Pos,Itemid, Options) wxe_util:call(?wxMenu_Insert_3, <>). -%% @spec (This::wxMenu(), Pos::integer(), Itemid::integer(), Text::string(), Submenu::wxMenu()) -> wxMenuItem:wxMenuItem() %% @equiv insert(This,Pos,Itemid,Text,Submenu, []) +-spec insert(This, Pos, Itemid, Text, Submenu) -> wxMenuItem:wxMenuItem() when + This::wxMenu(), Pos::integer(), Itemid::integer(), Text::string(), Submenu::wxMenu(). + insert(This,Pos,Itemid,Text,Submenu) when is_record(This, wx_ref),is_integer(Pos),is_integer(Itemid),is_list(Text),is_record(Submenu, wx_ref) -> insert(This,Pos,Itemid,Text,Submenu, []). -%% @spec (This::wxMenu(),Pos::integer(),Itemid::integer(),Text::string(),X::string()|wxMenu(),X::bool()|term()) -> ok|wxMenuItem:wxMenuItem() %% @doc See external documentation. -%%
Alternatives: -%%

-%% insert(This::wxMenu(), Pos::integer(), Itemid::integer(), Text::string(), Help::string(), IsCheckable::bool()) -> ok -%%

-%%

-%% insert(This::wxMenu(), Pos::integer(), Itemid::integer(), Text::string(), Submenu::wxMenu(), [Option]) -> wxMenuItem:wxMenuItem() -%%
Option = {help, string()} -%%

+-spec insert(This, Pos, Itemid, Text, Help, IsCheckable) -> ok when + This::wxMenu(), Pos::integer(), Itemid::integer(), Text::string(), Help::string(), IsCheckable::boolean(); + (This, Pos, Itemid, Text, Submenu, [Option]) -> wxMenuItem:wxMenuItem() when + This::wxMenu(), Pos::integer(), Itemid::integer(), Text::string(), Submenu::wxMenu(), + Option :: {help, string()}. insert(#wx_ref{type=ThisT,ref=ThisRef},Pos,Itemid,Text,Help,IsCheckable) when is_integer(Pos),is_integer(Itemid),is_list(Text),is_list(Help),is_boolean(IsCheckable) -> ?CLASS(ThisT,wxMenu), @@ -383,15 +383,18 @@ insert(#wx_ref{type=ThisT,ref=ThisRef},Pos,Itemid,Text,#wx_ref{type=SubmenuT,ref wxe_util:call(?wxMenu_Insert_5_1, <>). -%% @spec (This::wxMenu(), Pos::integer(), Itemid::integer(), Text::string()) -> wxMenuItem:wxMenuItem() %% @equiv insertCheckItem(This,Pos,Itemid,Text, []) +-spec insertCheckItem(This, Pos, Itemid, Text) -> wxMenuItem:wxMenuItem() when + This::wxMenu(), Pos::integer(), Itemid::integer(), Text::string(). + insertCheckItem(This,Pos,Itemid,Text) when is_record(This, wx_ref),is_integer(Pos),is_integer(Itemid),is_list(Text) -> insertCheckItem(This,Pos,Itemid,Text, []). -%% @spec (This::wxMenu(), Pos::integer(), Itemid::integer(), Text::string(), [Option]) -> wxMenuItem:wxMenuItem() -%% Option = {help, string()} %% @doc See external documentation. +-spec insertCheckItem(This, Pos, Itemid, Text, [Option]) -> wxMenuItem:wxMenuItem() when + This::wxMenu(), Pos::integer(), Itemid::integer(), Text::string(), + Option :: {help, string()}. insertCheckItem(#wx_ref{type=ThisT,ref=ThisRef},Pos,Itemid,Text, Options) when is_integer(Pos),is_integer(Itemid),is_list(Text),is_list(Options) -> ?CLASS(ThisT,wxMenu), @@ -402,15 +405,18 @@ insertCheckItem(#wx_ref{type=ThisT,ref=ThisRef},Pos,Itemid,Text, Options) wxe_util:call(?wxMenu_InsertCheckItem, <>). -%% @spec (This::wxMenu(), Pos::integer(), Itemid::integer(), Text::string()) -> wxMenuItem:wxMenuItem() %% @equiv insertRadioItem(This,Pos,Itemid,Text, []) +-spec insertRadioItem(This, Pos, Itemid, Text) -> wxMenuItem:wxMenuItem() when + This::wxMenu(), Pos::integer(), Itemid::integer(), Text::string(). + insertRadioItem(This,Pos,Itemid,Text) when is_record(This, wx_ref),is_integer(Pos),is_integer(Itemid),is_list(Text) -> insertRadioItem(This,Pos,Itemid,Text, []). -%% @spec (This::wxMenu(), Pos::integer(), Itemid::integer(), Text::string(), [Option]) -> wxMenuItem:wxMenuItem() -%% Option = {help, string()} %% @doc See external documentation. +-spec insertRadioItem(This, Pos, Itemid, Text, [Option]) -> wxMenuItem:wxMenuItem() when + This::wxMenu(), Pos::integer(), Itemid::integer(), Text::string(), + Option :: {help, string()}. insertRadioItem(#wx_ref{type=ThisT,ref=ThisRef},Pos,Itemid,Text, Options) when is_integer(Pos),is_integer(Itemid),is_list(Text),is_list(Options) -> ?CLASS(ThisT,wxMenu), @@ -421,38 +427,38 @@ insertRadioItem(#wx_ref{type=ThisT,ref=ThisRef},Pos,Itemid,Text, Options) wxe_util:call(?wxMenu_InsertRadioItem, <>). -%% @spec (This::wxMenu(), Pos::integer()) -> wxMenuItem:wxMenuItem() %% @doc See external documentation. +-spec insertSeparator(This, Pos) -> wxMenuItem:wxMenuItem() when + This::wxMenu(), Pos::integer(). insertSeparator(#wx_ref{type=ThisT,ref=ThisRef},Pos) when is_integer(Pos) -> ?CLASS(ThisT,wxMenu), wxe_util:call(?wxMenu_InsertSeparator, <>). -%% @spec (This::wxMenu(), Itemid::integer()) -> bool() %% @doc See external documentation. +-spec isChecked(This, Itemid) -> boolean() when + This::wxMenu(), Itemid::integer(). isChecked(#wx_ref{type=ThisT,ref=ThisRef},Itemid) when is_integer(Itemid) -> ?CLASS(ThisT,wxMenu), wxe_util:call(?wxMenu_IsChecked, <>). -%% @spec (This::wxMenu(), Itemid::integer()) -> bool() %% @doc See external documentation. +-spec isEnabled(This, Itemid) -> boolean() when + This::wxMenu(), Itemid::integer(). isEnabled(#wx_ref{type=ThisT,ref=ThisRef},Itemid) when is_integer(Itemid) -> ?CLASS(ThisT,wxMenu), wxe_util:call(?wxMenu_IsEnabled, <>). -%% @spec (This::wxMenu(),X::integer()|term()) -> wxMenuItem:wxMenuItem() %% @doc See external documentation. -%%
Alternatives: -%%

-%% prepend(This::wxMenu(), Itemid::integer()) -> prepend(This,Itemid, [])

-%%

-%% prepend(This::wxMenu(), Item::wxMenuItem:wxMenuItem()) -> wxMenuItem:wxMenuItem() -%%

+-spec prepend(This, Itemid) -> wxMenuItem:wxMenuItem() when + This::wxMenu(), Itemid::integer(); + (This, Item) -> wxMenuItem:wxMenuItem() when + This::wxMenu(), Item::wxMenuItem:wxMenuItem(). prepend(This,Itemid) when is_record(This, wx_ref),is_integer(Itemid) -> @@ -463,11 +469,13 @@ prepend(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ItemT,ref=ItemRef}) -> wxe_util:call(?wxMenu_Prepend_1, <>). -%% @spec (This::wxMenu(), Itemid::integer(), [Option]) -> wxMenuItem:wxMenuItem() -%% Option = {text, string()} | {help, string()} | {kind, WxItemKind} -%% WxItemKind = integer() %% @doc See external documentation. -%%
WxItemKind is one of ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX +%%
Kind = ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX +-spec prepend(This, Itemid, [Option]) -> wxMenuItem:wxMenuItem() when + This::wxMenu(), Itemid::integer(), + Option :: {text, string()} + | {help, string()} + | {kind, wx:wx_enum()}. prepend(#wx_ref{type=ThisT,ref=ThisRef},Itemid, Options) when is_integer(Itemid),is_list(Options) -> ?CLASS(ThisT,wxMenu), @@ -479,22 +487,20 @@ prepend(#wx_ref{type=ThisT,ref=ThisRef},Itemid, Options) wxe_util:call(?wxMenu_Prepend_2, <>). -%% @spec (This::wxMenu(), Itemid::integer(), Text::string(), Submenu::wxMenu()) -> wxMenuItem:wxMenuItem() %% @equiv prepend(This,Itemid,Text,Submenu, []) +-spec prepend(This, Itemid, Text, Submenu) -> wxMenuItem:wxMenuItem() when + This::wxMenu(), Itemid::integer(), Text::string(), Submenu::wxMenu(). + prepend(This,Itemid,Text,Submenu) when is_record(This, wx_ref),is_integer(Itemid),is_list(Text),is_record(Submenu, wx_ref) -> prepend(This,Itemid,Text,Submenu, []). -%% @spec (This::wxMenu(),Itemid::integer(),Text::string(),X::string()|wxMenu(),X::bool()|term()) -> ok|wxMenuItem:wxMenuItem() %% @doc See external documentation. -%%
Alternatives: -%%

-%% prepend(This::wxMenu(), Itemid::integer(), Text::string(), Help::string(), IsCheckable::bool()) -> ok -%%

-%%

-%% prepend(This::wxMenu(), Itemid::integer(), Text::string(), Submenu::wxMenu(), [Option]) -> wxMenuItem:wxMenuItem() -%%
Option = {help, string()} -%%

+-spec prepend(This, Itemid, Text, Help, IsCheckable) -> ok when + This::wxMenu(), Itemid::integer(), Text::string(), Help::string(), IsCheckable::boolean(); + (This, Itemid, Text, Submenu, [Option]) -> wxMenuItem:wxMenuItem() when + This::wxMenu(), Itemid::integer(), Text::string(), Submenu::wxMenu(), + Option :: {help, string()}. prepend(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Text,Help,IsCheckable) when is_integer(Itemid),is_list(Text),is_list(Help),is_boolean(IsCheckable) -> ?CLASS(ThisT,wxMenu), @@ -513,15 +519,18 @@ prepend(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Text,#wx_ref{type=SubmenuT,ref=Su wxe_util:call(?wxMenu_Prepend_4_1, <>). -%% @spec (This::wxMenu(), Itemid::integer(), Text::string()) -> wxMenuItem:wxMenuItem() %% @equiv prependCheckItem(This,Itemid,Text, []) +-spec prependCheckItem(This, Itemid, Text) -> wxMenuItem:wxMenuItem() when + This::wxMenu(), Itemid::integer(), Text::string(). + prependCheckItem(This,Itemid,Text) when is_record(This, wx_ref),is_integer(Itemid),is_list(Text) -> prependCheckItem(This,Itemid,Text, []). -%% @spec (This::wxMenu(), Itemid::integer(), Text::string(), [Option]) -> wxMenuItem:wxMenuItem() -%% Option = {help, string()} %% @doc See external documentation. +-spec prependCheckItem(This, Itemid, Text, [Option]) -> wxMenuItem:wxMenuItem() when + This::wxMenu(), Itemid::integer(), Text::string(), + Option :: {help, string()}. prependCheckItem(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Text, Options) when is_integer(Itemid),is_list(Text),is_list(Options) -> ?CLASS(ThisT,wxMenu), @@ -532,15 +541,18 @@ prependCheckItem(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Text, Options) wxe_util:call(?wxMenu_PrependCheckItem, <>). -%% @spec (This::wxMenu(), Itemid::integer(), Text::string()) -> wxMenuItem:wxMenuItem() %% @equiv prependRadioItem(This,Itemid,Text, []) +-spec prependRadioItem(This, Itemid, Text) -> wxMenuItem:wxMenuItem() when + This::wxMenu(), Itemid::integer(), Text::string(). + prependRadioItem(This,Itemid,Text) when is_record(This, wx_ref),is_integer(Itemid),is_list(Text) -> prependRadioItem(This,Itemid,Text, []). -%% @spec (This::wxMenu(), Itemid::integer(), Text::string(), [Option]) -> wxMenuItem:wxMenuItem() -%% Option = {help, string()} %% @doc See external documentation. +-spec prependRadioItem(This, Itemid, Text, [Option]) -> wxMenuItem:wxMenuItem() when + This::wxMenu(), Itemid::integer(), Text::string(), + Option :: {help, string()}. prependRadioItem(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Text, Options) when is_integer(Itemid),is_list(Text),is_list(Options) -> ?CLASS(ThisT,wxMenu), @@ -551,22 +563,19 @@ prependRadioItem(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Text, Options) wxe_util:call(?wxMenu_PrependRadioItem, <>). -%% @spec (This::wxMenu()) -> wxMenuItem:wxMenuItem() %% @doc See external documentation. +-spec prependSeparator(This) -> wxMenuItem:wxMenuItem() when + This::wxMenu(). prependSeparator(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMenu), wxe_util:call(?wxMenu_PrependSeparator, <>). -%% @spec (This::wxMenu(),X::integer()|term()) -> wxMenuItem:wxMenuItem() %% @doc See external documentation. -%%
Alternatives: -%%

-%% remove(This::wxMenu(), Itemid::integer()) -> wxMenuItem:wxMenuItem() -%%

-%%

-%% remove(This::wxMenu(), Item::wxMenuItem:wxMenuItem()) -> wxMenuItem:wxMenuItem() -%%

+-spec remove(This, Itemid) -> wxMenuItem:wxMenuItem() when + This::wxMenu(), Itemid::integer(); + (This, Item) -> wxMenuItem:wxMenuItem() when + This::wxMenu(), Item::wxMenuItem:wxMenuItem(). remove(#wx_ref{type=ThisT,ref=ThisRef},Itemid) when is_integer(Itemid) -> ?CLASS(ThisT,wxMenu), @@ -578,8 +587,9 @@ remove(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ItemT,ref=ItemRef}) -> wxe_util:call(?wxMenu_Remove_1_1, <>). -%% @spec (This::wxMenu(), Itemid::integer(), HelpString::string()) -> ok %% @doc See external documentation. +-spec setHelpString(This, Itemid, HelpString) -> ok when + This::wxMenu(), Itemid::integer(), HelpString::string(). setHelpString(#wx_ref{type=ThisT,ref=ThisRef},Itemid,HelpString) when is_integer(Itemid),is_list(HelpString) -> ?CLASS(ThisT,wxMenu), @@ -587,8 +597,9 @@ setHelpString(#wx_ref{type=ThisT,ref=ThisRef},Itemid,HelpString) wxe_util:cast(?wxMenu_SetHelpString, <>). -%% @spec (This::wxMenu(), Itemid::integer(), Label::string()) -> ok %% @doc See external documentation. +-spec setLabel(This, Itemid, Label) -> ok when + This::wxMenu(), Itemid::integer(), Label::string(). setLabel(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Label) when is_integer(Itemid),is_list(Label) -> ?CLASS(ThisT,wxMenu), @@ -596,8 +607,9 @@ setLabel(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Label) wxe_util:cast(?wxMenu_SetLabel, <>). -%% @spec (This::wxMenu(), Title::string()) -> ok %% @doc See external documentation. +-spec setTitle(This, Title) -> ok when + This::wxMenu(), Title::string(). setTitle(#wx_ref{type=ThisT,ref=ThisRef},Title) when is_list(Title) -> ?CLASS(ThisT,wxMenu), @@ -605,8 +617,8 @@ setTitle(#wx_ref{type=ThisT,ref=ThisRef},Title) wxe_util:cast(?wxMenu_SetTitle, <>). -%% @spec (This::wxMenu()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxMenu) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxMenu), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxMenuBar.erl b/lib/wx/src/gen/wxMenuBar.erl index 4ed1b2cbe6..3538e58791 100644 --- a/lib/wx/src/gen/wxMenuBar.erl +++ b/lib/wx/src/gen/wxMenuBar.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,26 +72,30 @@ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1, update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxMenuBar/0]). %% @hidden parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxMenuBar() +-type wxMenuBar() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxMenuBar(). new() -> wxe_util:construct(?wxMenuBar_new_0, <<>>). -%% @spec (Style::integer()) -> wxMenuBar() %% @doc See external documentation. +-spec new(Style) -> wxMenuBar() when + Style::integer(). new(Style) when is_integer(Style) -> wxe_util:construct(?wxMenuBar_new_1, <>). -%% @spec (This::wxMenuBar(), Menu::wxMenu:wxMenu(), Title::string()) -> bool() %% @doc See external documentation. +-spec append(This, Menu, Title) -> boolean() when + This::wxMenuBar(), Menu::wxMenu:wxMenu(), Title::string(). append(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=MenuT,ref=MenuRef},Title) when is_list(Title) -> ?CLASS(ThisT,wxMenuBar), @@ -100,23 +104,27 @@ append(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=MenuT,ref=MenuRef},Title) wxe_util:call(?wxMenuBar_Append, <>). -%% @spec (This::wxMenuBar(), Itemid::integer(), Check::bool()) -> ok %% @doc See external documentation. +-spec check(This, Itemid, Check) -> ok when + This::wxMenuBar(), Itemid::integer(), Check::boolean(). check(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Check) when is_integer(Itemid),is_boolean(Check) -> ?CLASS(ThisT,wxMenuBar), wxe_util:cast(?wxMenuBar_Check, <>). -%% @spec (This::wxMenuBar()) -> bool() %% @equiv enable(This, []) +-spec enable(This) -> boolean() when + This::wxMenuBar(). + enable(This) when is_record(This, wx_ref) -> enable(This, []). -%% @spec (This::wxMenuBar(), [Option]) -> bool() -%% Option = {enable, bool()} %% @doc See external documentation. +-spec enable(This, [Option]) -> boolean() when + This::wxMenuBar(), + Option :: {enable, boolean()}. enable(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxMenuBar), @@ -126,24 +134,27 @@ enable(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxMenuBar_Enable_1, <>). -%% @spec (This::wxMenuBar(), Itemid::integer(), Enable::bool()) -> ok %% @doc See external documentation. +-spec enable(This, Itemid, Enable) -> ok when + This::wxMenuBar(), Itemid::integer(), Enable::boolean(). enable(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Enable) when is_integer(Itemid),is_boolean(Enable) -> ?CLASS(ThisT,wxMenuBar), wxe_util:cast(?wxMenuBar_Enable_2, <>). -%% @spec (This::wxMenuBar(), Pos::integer(), Flag::bool()) -> ok %% @doc See external documentation. +-spec enableTop(This, Pos, Flag) -> ok when + This::wxMenuBar(), Pos::integer(), Flag::boolean(). enableTop(#wx_ref{type=ThisT,ref=ThisRef},Pos,Flag) when is_integer(Pos),is_boolean(Flag) -> ?CLASS(ThisT,wxMenuBar), wxe_util:cast(?wxMenuBar_EnableTop, <>). -%% @spec (This::wxMenuBar(), Title::string()) -> integer() %% @doc See external documentation. +-spec findMenu(This, Title) -> integer() when + This::wxMenuBar(), Title::string(). findMenu(#wx_ref{type=ThisT,ref=ThisRef},Title) when is_list(Title) -> ?CLASS(ThisT,wxMenuBar), @@ -151,8 +162,9 @@ findMenu(#wx_ref{type=ThisT,ref=ThisRef},Title) wxe_util:call(?wxMenuBar_FindMenu, <>). -%% @spec (This::wxMenuBar(), MenuString::string(), ItemString::string()) -> integer() %% @doc See external documentation. +-spec findMenuItem(This, MenuString, ItemString) -> integer() when + This::wxMenuBar(), MenuString::string(), ItemString::string(). findMenuItem(#wx_ref{type=ThisT,ref=ThisRef},MenuString,ItemString) when is_list(MenuString),is_list(ItemString) -> ?CLASS(ThisT,wxMenuBar), @@ -161,62 +173,70 @@ findMenuItem(#wx_ref{type=ThisT,ref=ThisRef},MenuString,ItemString) wxe_util:call(?wxMenuBar_FindMenuItem, <>). -%% @spec (This::wxMenuBar(), Id::integer()) -> wxMenuItem:wxMenuItem() %% @doc See external documentation. +-spec findItem(This, Id) -> wxMenuItem:wxMenuItem() when + This::wxMenuBar(), Id::integer(). findItem(#wx_ref{type=ThisT,ref=ThisRef},Id) when is_integer(Id) -> ?CLASS(ThisT,wxMenuBar), wxe_util:call(?wxMenuBar_FindItem, <>). -%% @spec (This::wxMenuBar(), Itemid::integer()) -> string() %% @doc See external documentation. +-spec getHelpString(This, Itemid) -> string() when + This::wxMenuBar(), Itemid::integer(). getHelpString(#wx_ref{type=ThisT,ref=ThisRef},Itemid) when is_integer(Itemid) -> ?CLASS(ThisT,wxMenuBar), wxe_util:call(?wxMenuBar_GetHelpString, <>). -%% @spec (This::wxMenuBar()) -> string() %% @doc See external documentation. +-spec getLabel(This) -> string() when + This::wxMenuBar(). getLabel(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMenuBar), wxe_util:call(?wxMenuBar_GetLabel_0, <>). -%% @spec (This::wxMenuBar(), Itemid::integer()) -> string() %% @doc See external documentation. +-spec getLabel(This, Itemid) -> string() when + This::wxMenuBar(), Itemid::integer(). getLabel(#wx_ref{type=ThisT,ref=ThisRef},Itemid) when is_integer(Itemid) -> ?CLASS(ThisT,wxMenuBar), wxe_util:call(?wxMenuBar_GetLabel_1, <>). -%% @spec (This::wxMenuBar(), Pos::integer()) -> string() %% @doc See external documentation. +-spec getLabelTop(This, Pos) -> string() when + This::wxMenuBar(), Pos::integer(). getLabelTop(#wx_ref{type=ThisT,ref=ThisRef},Pos) when is_integer(Pos) -> ?CLASS(ThisT,wxMenuBar), wxe_util:call(?wxMenuBar_GetLabelTop, <>). -%% @spec (This::wxMenuBar(), Pos::integer()) -> wxMenu:wxMenu() %% @doc See external documentation. +-spec getMenu(This, Pos) -> wxMenu:wxMenu() when + This::wxMenuBar(), Pos::integer(). getMenu(#wx_ref{type=ThisT,ref=ThisRef},Pos) when is_integer(Pos) -> ?CLASS(ThisT,wxMenuBar), wxe_util:call(?wxMenuBar_GetMenu, <>). -%% @spec (This::wxMenuBar()) -> integer() %% @doc See external documentation. +-spec getMenuCount(This) -> integer() when + This::wxMenuBar(). getMenuCount(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMenuBar), wxe_util:call(?wxMenuBar_GetMenuCount, <>). -%% @spec (This::wxMenuBar(), Pos::integer(), Menu::wxMenu:wxMenu(), Title::string()) -> bool() %% @doc See external documentation. +-spec insert(This, Pos, Menu, Title) -> boolean() when + This::wxMenuBar(), Pos::integer(), Menu::wxMenu:wxMenu(), Title::string(). insert(#wx_ref{type=ThisT,ref=ThisRef},Pos,#wx_ref{type=MenuT,ref=MenuRef},Title) when is_integer(Pos),is_list(Title) -> ?CLASS(ThisT,wxMenuBar), @@ -225,39 +245,44 @@ insert(#wx_ref{type=ThisT,ref=ThisRef},Pos,#wx_ref{type=MenuT,ref=MenuRef},Title wxe_util:call(?wxMenuBar_Insert, <>). -%% @spec (This::wxMenuBar(), Itemid::integer()) -> bool() %% @doc See external documentation. +-spec isChecked(This, Itemid) -> boolean() when + This::wxMenuBar(), Itemid::integer(). isChecked(#wx_ref{type=ThisT,ref=ThisRef},Itemid) when is_integer(Itemid) -> ?CLASS(ThisT,wxMenuBar), wxe_util:call(?wxMenuBar_IsChecked, <>). -%% @spec (This::wxMenuBar()) -> bool() %% @doc See external documentation. +-spec isEnabled(This) -> boolean() when + This::wxMenuBar(). isEnabled(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMenuBar), wxe_util:call(?wxMenuBar_IsEnabled_0, <>). -%% @spec (This::wxMenuBar(), Itemid::integer()) -> bool() %% @doc See external documentation. +-spec isEnabled(This, Itemid) -> boolean() when + This::wxMenuBar(), Itemid::integer(). isEnabled(#wx_ref{type=ThisT,ref=ThisRef},Itemid) when is_integer(Itemid) -> ?CLASS(ThisT,wxMenuBar), wxe_util:call(?wxMenuBar_IsEnabled_1, <>). -%% @spec (This::wxMenuBar(), Pos::integer()) -> wxMenu:wxMenu() %% @doc See external documentation. +-spec remove(This, Pos) -> wxMenu:wxMenu() when + This::wxMenuBar(), Pos::integer(). remove(#wx_ref{type=ThisT,ref=ThisRef},Pos) when is_integer(Pos) -> ?CLASS(ThisT,wxMenuBar), wxe_util:call(?wxMenuBar_Remove, <>). -%% @spec (This::wxMenuBar(), Pos::integer(), Menu::wxMenu:wxMenu(), Title::string()) -> wxMenu:wxMenu() %% @doc See external documentation. +-spec replace(This, Pos, Menu, Title) -> wxMenu:wxMenu() when + This::wxMenuBar(), Pos::integer(), Menu::wxMenu:wxMenu(), Title::string(). replace(#wx_ref{type=ThisT,ref=ThisRef},Pos,#wx_ref{type=MenuT,ref=MenuRef},Title) when is_integer(Pos),is_list(Title) -> ?CLASS(ThisT,wxMenuBar), @@ -266,8 +291,9 @@ replace(#wx_ref{type=ThisT,ref=ThisRef},Pos,#wx_ref{type=MenuT,ref=MenuRef},Titl wxe_util:call(?wxMenuBar_Replace, <>). -%% @spec (This::wxMenuBar(), Itemid::integer(), HelpString::string()) -> ok %% @doc See external documentation. +-spec setHelpString(This, Itemid, HelpString) -> ok when + This::wxMenuBar(), Itemid::integer(), HelpString::string(). setHelpString(#wx_ref{type=ThisT,ref=ThisRef},Itemid,HelpString) when is_integer(Itemid),is_list(HelpString) -> ?CLASS(ThisT,wxMenuBar), @@ -275,8 +301,9 @@ setHelpString(#wx_ref{type=ThisT,ref=ThisRef},Itemid,HelpString) wxe_util:cast(?wxMenuBar_SetHelpString, <>). -%% @spec (This::wxMenuBar(), S::string()) -> ok %% @doc See external documentation. +-spec setLabel(This, S) -> ok when + This::wxMenuBar(), S::string(). setLabel(#wx_ref{type=ThisT,ref=ThisRef},S) when is_list(S) -> ?CLASS(ThisT,wxMenuBar), @@ -284,8 +311,9 @@ setLabel(#wx_ref{type=ThisT,ref=ThisRef},S) wxe_util:cast(?wxMenuBar_SetLabel_1, <>). -%% @spec (This::wxMenuBar(), Itemid::integer(), Label::string()) -> ok %% @doc See external documentation. +-spec setLabel(This, Itemid, Label) -> ok when + This::wxMenuBar(), Itemid::integer(), Label::string(). setLabel(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Label) when is_integer(Itemid),is_list(Label) -> ?CLASS(ThisT,wxMenuBar), @@ -293,8 +321,9 @@ setLabel(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Label) wxe_util:cast(?wxMenuBar_SetLabel_2, <>). -%% @spec (This::wxMenuBar(), Pos::integer(), Label::string()) -> ok %% @doc See external documentation. +-spec setLabelTop(This, Pos, Label) -> ok when + This::wxMenuBar(), Pos::integer(), Label::string(). setLabelTop(#wx_ref{type=ThisT,ref=ThisRef},Pos,Label) when is_integer(Pos),is_list(Label) -> ?CLASS(ThisT,wxMenuBar), @@ -302,8 +331,8 @@ setLabelTop(#wx_ref{type=ThisT,ref=ThisRef},Pos,Label) wxe_util:cast(?wxMenuBar_SetLabelTop, <>). -%% @spec (This::wxMenuBar()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxMenuBar) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxMenuBar), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxMenuEvent.erl b/lib/wx/src/gen/wxMenuEvent.erl index fe368e679a..84c4760aa6 100644 --- a/lib/wx/src/gen/wxMenuEvent.erl +++ b/lib/wx/src/gen/wxMenuEvent.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,26 +37,31 @@ -export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1, resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]). +-export_type([wxMenuEvent/0]). %% @hidden parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxMenuEvent()) -> wxMenu:wxMenu() +-type wxMenuEvent() :: wx:wx_object(). %% @doc See external documentation. +-spec getMenu(This) -> wxMenu:wxMenu() when + This::wxMenuEvent(). getMenu(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMenuEvent), wxe_util:call(?wxMenuEvent_GetMenu, <>). -%% @spec (This::wxMenuEvent()) -> integer() %% @doc See external documentation. +-spec getMenuId(This) -> integer() when + This::wxMenuEvent(). getMenuId(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMenuEvent), wxe_util:call(?wxMenuEvent_GetMenuId, <>). -%% @spec (This::wxMenuEvent()) -> bool() %% @doc See external documentation. +-spec isPopup(This) -> boolean() when + This::wxMenuEvent(). isPopup(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMenuEvent), wxe_util:call(?wxMenuEvent_IsPopup, diff --git a/lib/wx/src/gen/wxMenuItem.erl b/lib/wx/src/gen/wxMenuItem.erl index e2bbe681c5..76ce8408ed 100644 --- a/lib/wx/src/gen/wxMenuItem.erl +++ b/lib/wx/src/gen/wxMenuItem.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,19 +32,26 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxMenuItem/0]). %% @hidden parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxMenuItem() +-type wxMenuItem() :: wx:wx_object(). %% @equiv new([]) +-spec new() -> wxMenuItem(). + new() -> new([]). -%% @spec ([Option]) -> wxMenuItem() -%% Option = {parentMenu, wxMenu:wxMenu()} | {id, integer()} | {text, string()} | {help, string()} | {kind, WxItemKind} | {subMenu, wxMenu:wxMenu()} -%% WxItemKind = integer() %% @doc See external documentation. -%%
WxItemKind is one of ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX +%%
Kind = ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX +-spec new([Option]) -> wxMenuItem() when + Option :: {parentMenu, wxMenu:wxMenu()} + | {id, integer()} + | {text, string()} + | {help, string()} + | {kind, wx:wx_enum()} + | {subMenu, wxMenu:wxMenu()}. new(Options) when is_list(Options) -> MOpts = fun({parentMenu, #wx_ref{type=ParentMenuT,ref=ParentMenuRef}}, Acc) -> ?CLASS(ParentMenuT,wxMenu),[<<1:32/?UI,ParentMenuRef:32/?UI>>|Acc]; @@ -58,15 +65,18 @@ new(Options) wxe_util:construct(?wxMenuItem_new, <>). -%% @spec (This::wxMenuItem()) -> ok %% @equiv check(This, []) +-spec check(This) -> ok when + This::wxMenuItem(). + check(This) when is_record(This, wx_ref) -> check(This, []). -%% @spec (This::wxMenuItem(), [Option]) -> ok -%% Option = {check, bool()} %% @doc See external documentation. +-spec check(This, [Option]) -> ok when + This::wxMenuItem(), + Option :: {check, boolean()}. check(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxMenuItem), @@ -76,15 +86,18 @@ check(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:cast(?wxMenuItem_Check, <>). -%% @spec (This::wxMenuItem()) -> ok %% @equiv enable(This, []) +-spec enable(This) -> ok when + This::wxMenuItem(). + enable(This) when is_record(This, wx_ref) -> enable(This, []). -%% @spec (This::wxMenuItem(), [Option]) -> ok -%% Option = {enable, bool()} %% @doc See external documentation. +-spec enable(This, [Option]) -> ok when + This::wxMenuItem(), + Option :: {enable, boolean()}. enable(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxMenuItem), @@ -94,117 +107,132 @@ enable(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:cast(?wxMenuItem_Enable, <>). -%% @spec (This::wxMenuItem()) -> wxBitmap:wxBitmap() %% @doc See external documentation. +-spec getBitmap(This) -> wxBitmap:wxBitmap() when + This::wxMenuItem(). getBitmap(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMenuItem), wxe_util:call(?wxMenuItem_GetBitmap, <>). -%% @spec (This::wxMenuItem()) -> string() %% @doc See external documentation. +-spec getHelp(This) -> string() when + This::wxMenuItem(). getHelp(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMenuItem), wxe_util:call(?wxMenuItem_GetHelp, <>). -%% @spec (This::wxMenuItem()) -> integer() %% @doc See external documentation. +-spec getId(This) -> integer() when + This::wxMenuItem(). getId(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMenuItem), wxe_util:call(?wxMenuItem_GetId, <>). -%% @spec (This::wxMenuItem()) -> WxItemKind -%% WxItemKind = integer() %% @doc See external documentation. -%%
WxItemKind is one of ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX +%%
Res = ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX +-spec getKind(This) -> wx:wx_enum() when + This::wxMenuItem(). getKind(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMenuItem), wxe_util:call(?wxMenuItem_GetKind, <>). -%% @spec (This::wxMenuItem()) -> string() %% @doc See external documentation. +-spec getLabel(This) -> string() when + This::wxMenuItem(). getLabel(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMenuItem), wxe_util:call(?wxMenuItem_GetLabel, <>). -%% @spec (Text::string()) -> string() %% @doc See external documentation. +-spec getLabelFromText(Text) -> string() when + Text::string(). getLabelFromText(Text) when is_list(Text) -> Text_UC = unicode:characters_to_binary([Text,0]), wxe_util:call(?wxMenuItem_GetLabelFromText, <<(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((4+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8>>). -%% @spec (This::wxMenuItem()) -> wxMenu:wxMenu() %% @doc See external documentation. +-spec getMenu(This) -> wxMenu:wxMenu() when + This::wxMenuItem(). getMenu(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMenuItem), wxe_util:call(?wxMenuItem_GetMenu, <>). -%% @spec (This::wxMenuItem()) -> string() %% @doc See external documentation. +-spec getText(This) -> string() when + This::wxMenuItem(). getText(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMenuItem), wxe_util:call(?wxMenuItem_GetText, <>). -%% @spec (This::wxMenuItem()) -> wxMenu:wxMenu() %% @doc See external documentation. +-spec getSubMenu(This) -> wxMenu:wxMenu() when + This::wxMenuItem(). getSubMenu(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMenuItem), wxe_util:call(?wxMenuItem_GetSubMenu, <>). -%% @spec (This::wxMenuItem()) -> bool() %% @doc See external documentation. +-spec isCheckable(This) -> boolean() when + This::wxMenuItem(). isCheckable(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMenuItem), wxe_util:call(?wxMenuItem_IsCheckable, <>). -%% @spec (This::wxMenuItem()) -> bool() %% @doc See external documentation. +-spec isChecked(This) -> boolean() when + This::wxMenuItem(). isChecked(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMenuItem), wxe_util:call(?wxMenuItem_IsChecked, <>). -%% @spec (This::wxMenuItem()) -> bool() %% @doc See external documentation. +-spec isEnabled(This) -> boolean() when + This::wxMenuItem(). isEnabled(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMenuItem), wxe_util:call(?wxMenuItem_IsEnabled, <>). -%% @spec (This::wxMenuItem()) -> bool() %% @doc See external documentation. +-spec isSeparator(This) -> boolean() when + This::wxMenuItem(). isSeparator(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMenuItem), wxe_util:call(?wxMenuItem_IsSeparator, <>). -%% @spec (This::wxMenuItem()) -> bool() %% @doc See external documentation. +-spec isSubMenu(This) -> boolean() when + This::wxMenuItem(). isSubMenu(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMenuItem), wxe_util:call(?wxMenuItem_IsSubMenu, <>). -%% @spec (This::wxMenuItem(), Bitmap::wxBitmap:wxBitmap()) -> ok %% @doc See external documentation. +-spec setBitmap(This, Bitmap) -> ok when + This::wxMenuItem(), Bitmap::wxBitmap:wxBitmap(). setBitmap(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BitmapT,ref=BitmapRef}) -> ?CLASS(ThisT,wxMenuItem), ?CLASS(BitmapT,wxBitmap), wxe_util:cast(?wxMenuItem_SetBitmap, <>). -%% @spec (This::wxMenuItem(), Str::string()) -> ok %% @doc See external documentation. +-spec setHelp(This, Str) -> ok when + This::wxMenuItem(), Str::string(). setHelp(#wx_ref{type=ThisT,ref=ThisRef},Str) when is_list(Str) -> ?CLASS(ThisT,wxMenuItem), @@ -212,24 +240,27 @@ setHelp(#wx_ref{type=ThisT,ref=ThisRef},Str) wxe_util:cast(?wxMenuItem_SetHelp, <>). -%% @spec (This::wxMenuItem(), Menu::wxMenu:wxMenu()) -> ok %% @doc See external documentation. +-spec setMenu(This, Menu) -> ok when + This::wxMenuItem(), Menu::wxMenu:wxMenu(). setMenu(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=MenuT,ref=MenuRef}) -> ?CLASS(ThisT,wxMenuItem), ?CLASS(MenuT,wxMenu), wxe_util:cast(?wxMenuItem_SetMenu, <>). -%% @spec (This::wxMenuItem(), Menu::wxMenu:wxMenu()) -> ok %% @doc See external documentation. +-spec setSubMenu(This, Menu) -> ok when + This::wxMenuItem(), Menu::wxMenu:wxMenu(). setSubMenu(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=MenuT,ref=MenuRef}) -> ?CLASS(ThisT,wxMenuItem), ?CLASS(MenuT,wxMenu), wxe_util:cast(?wxMenuItem_SetSubMenu, <>). -%% @spec (This::wxMenuItem(), Str::string()) -> ok %% @doc See external documentation. +-spec setText(This, Str) -> ok when + This::wxMenuItem(), Str::string(). setText(#wx_ref{type=ThisT,ref=ThisRef},Str) when is_list(Str) -> ?CLASS(ThisT,wxMenuItem), @@ -237,8 +268,8 @@ setText(#wx_ref{type=ThisT,ref=ThisRef},Str) wxe_util:cast(?wxMenuItem_SetText, <>). -%% @spec (This::wxMenuItem()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxMenuItem) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxMenuItem), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxMessageDialog.erl b/lib/wx/src/gen/wxMessageDialog.erl index d13bb7cb6e..0748b22530 100644 --- a/lib/wx/src/gen/wxMessageDialog.erl +++ b/lib/wx/src/gen/wxMessageDialog.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -77,6 +77,7 @@ transferDataFromWindow/1,transferDataToWindow/1,update/1,updateWindowUI/1, updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxMessageDialog/0]). %% @hidden parent_class(wxDialog) -> true; parent_class(wxTopLevelWindow) -> true; @@ -84,15 +85,21 @@ parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (Parent::wxWindow:wxWindow(), Message::string()) -> wxMessageDialog() +-type wxMessageDialog() :: wx:wx_object(). %% @equiv new(Parent,Message, []) +-spec new(Parent, Message) -> wxMessageDialog() when + Parent::wxWindow:wxWindow(), Message::string(). + new(Parent,Message) when is_record(Parent, wx_ref),is_list(Message) -> new(Parent,Message, []). -%% @spec (Parent::wxWindow:wxWindow(), Message::string(), [Option]) -> wxMessageDialog() -%% Option = {caption, string()} | {style, integer()} | {pos, {X::integer(), Y::integer()}} %% @doc See external documentation. +-spec new(Parent, Message, [Option]) -> wxMessageDialog() when + Parent::wxWindow:wxWindow(), Message::string(), + Option :: {caption, string()} + | {style, integer()} + | {pos, {X::integer(), Y::integer()}}. new(#wx_ref{type=ParentT,ref=ParentRef},Message, Options) when is_list(Message),is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -105,8 +112,8 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Message, Options) wxe_util:construct(?wxMessageDialog_new, <>). -%% @spec (This::wxMessageDialog()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxMessageDialog) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxMessageDialog), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxMiniFrame.erl b/lib/wx/src/gen/wxMiniFrame.erl index 108ebcfb0e..0ddec78c0e 100644 --- a/lib/wx/src/gen/wxMiniFrame.erl +++ b/lib/wx/src/gen/wxMiniFrame.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -80,6 +80,7 @@ transferDataToWindow/1,update/1,updateWindowUI/1,updateWindowUI/2, validate/1,warpPointer/3]). +-export_type([wxMiniFrame/0]). %% @hidden parent_class(wxFrame) -> true; parent_class(wxTopLevelWindow) -> true; @@ -87,21 +88,27 @@ parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxMiniFrame() +-type wxMiniFrame() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxMiniFrame(). new() -> wxe_util:construct(?wxMiniFrame_new_0, <<>>). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Title::string()) -> wxMiniFrame() %% @equiv new(Parent,Id,Title, []) +-spec new(Parent, Id, Title) -> wxMiniFrame() when + Parent::wxWindow:wxWindow(), Id::integer(), Title::string(). + new(Parent,Id,Title) when is_record(Parent, wx_ref),is_integer(Id),is_list(Title) -> new(Parent,Id,Title, []). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Title::string(), [Option]) -> wxMiniFrame() -%% Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} %% @doc See external documentation. +-spec new(Parent, Id, Title, [Option]) -> wxMiniFrame() when + Parent::wxWindow:wxWindow(), Id::integer(), Title::string(), + Option :: {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()}. new(#wx_ref{type=ParentT,ref=ParentRef},Id,Title, Options) when is_integer(Id),is_list(Title),is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -114,15 +121,20 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Id,Title, Options) wxe_util:construct(?wxMiniFrame_new_4, <>). -%% @spec (This::wxMiniFrame(), Parent::wxWindow:wxWindow(), Id::integer(), Title::string()) -> bool() %% @equiv create(This,Parent,Id,Title, []) +-spec create(This, Parent, Id, Title) -> boolean() when + This::wxMiniFrame(), Parent::wxWindow:wxWindow(), Id::integer(), Title::string(). + create(This,Parent,Id,Title) when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id),is_list(Title) -> create(This,Parent,Id,Title, []). -%% @spec (This::wxMiniFrame(), Parent::wxWindow:wxWindow(), Id::integer(), Title::string(), [Option]) -> bool() -%% Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} %% @doc See external documentation. +-spec create(This, Parent, Id, Title, [Option]) -> boolean() when + This::wxMiniFrame(), Parent::wxWindow:wxWindow(), Id::integer(), Title::string(), + Option :: {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()}. create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,Title, Options) when is_integer(Id),is_list(Title),is_list(Options) -> ?CLASS(ThisT,wxMiniFrame), @@ -136,8 +148,8 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,Ti wxe_util:call(?wxMiniFrame_Create, <>). -%% @spec (This::wxMiniFrame()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxMiniFrame) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxMiniFrame), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxMirrorDC.erl b/lib/wx/src/gen/wxMirrorDC.erl index c218bd7e72..53fa259fb3 100644 --- a/lib/wx/src/gen/wxMirrorDC.erl +++ b/lib/wx/src/gen/wxMirrorDC.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -52,20 +52,23 @@ setPen/2,setTextBackground/2,setTextForeground/2,setUserScale/3,startDoc/2, startPage/1]). +-export_type([wxMirrorDC/0]). %% @hidden parent_class(wxDC) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (Dc::wxDC:wxDC(), Mirror::bool()) -> wxMirrorDC() +-type wxMirrorDC() :: wx:wx_object(). %% @doc See external documentation. +-spec new(Dc, Mirror) -> wxMirrorDC() when + Dc::wxDC:wxDC(), Mirror::boolean(). new(#wx_ref{type=DcT,ref=DcRef},Mirror) when is_boolean(Mirror) -> ?CLASS(DcT,wxDC), wxe_util:construct(?wxMirrorDC_new, <>). -%% @spec (This::wxMirrorDC()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxMirrorDC) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxMirrorDC), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxMouseCaptureChangedEvent.erl b/lib/wx/src/gen/wxMouseCaptureChangedEvent.erl index cb921bf2df..659582b611 100644 --- a/lib/wx/src/gen/wxMouseCaptureChangedEvent.erl +++ b/lib/wx/src/gen/wxMouseCaptureChangedEvent.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,12 +37,15 @@ -export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1, resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]). +-export_type([wxMouseCaptureChangedEvent/0]). %% @hidden parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxMouseCaptureChangedEvent()) -> wxWindow:wxWindow() +-type wxMouseCaptureChangedEvent() :: wx:wx_object(). %% @doc See external documentation. +-spec getCapturedWindow(This) -> wxWindow:wxWindow() when + This::wxMouseCaptureChangedEvent(). getCapturedWindow(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMouseCaptureChangedEvent), wxe_util:call(?wxMouseCaptureChangedEvent_GetCapturedWindow, diff --git a/lib/wx/src/gen/wxMouseEvent.erl b/lib/wx/src/gen/wxMouseEvent.erl index a91d2a2e99..97ea9e908f 100644 --- a/lib/wx/src/gen/wxMouseEvent.erl +++ b/lib/wx/src/gen/wxMouseEvent.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -43,34 +43,41 @@ -export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1, resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]). +-export_type([wxMouseEvent/0]). %% @hidden parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxMouseEvent()) -> bool() +-type wxMouseEvent() :: wx:wx_object(). %% @doc See external documentation. +-spec altDown(This) -> boolean() when + This::wxMouseEvent(). altDown(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMouseEvent), wxe_util:call(?wxMouseEvent_AltDown, <>). -%% @spec (This::wxMouseEvent(), But::integer()) -> bool() %% @doc See external documentation. +-spec button(This, But) -> boolean() when + This::wxMouseEvent(), But::integer(). button(#wx_ref{type=ThisT,ref=ThisRef},But) when is_integer(But) -> ?CLASS(ThisT,wxMouseEvent), wxe_util:call(?wxMouseEvent_Button, <>). -%% @spec (This::wxMouseEvent()) -> bool() %% @equiv buttonDClick(This, []) +-spec buttonDClick(This) -> boolean() when + This::wxMouseEvent(). + buttonDClick(This) when is_record(This, wx_ref) -> buttonDClick(This, []). -%% @spec (This::wxMouseEvent(), [Option]) -> bool() -%% Option = {but, integer()} %% @doc See external documentation. +-spec buttonDClick(This, [Option]) -> boolean() when + This::wxMouseEvent(), + Option :: {but, integer()}. buttonDClick(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxMouseEvent), @@ -80,15 +87,18 @@ buttonDClick(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxMouseEvent_ButtonDClick, <>). -%% @spec (This::wxMouseEvent()) -> bool() %% @equiv buttonDown(This, []) +-spec buttonDown(This) -> boolean() when + This::wxMouseEvent(). + buttonDown(This) when is_record(This, wx_ref) -> buttonDown(This, []). -%% @spec (This::wxMouseEvent(), [Option]) -> bool() -%% Option = {but, integer()} %% @doc See external documentation. +-spec buttonDown(This, [Option]) -> boolean() when + This::wxMouseEvent(), + Option :: {but, integer()}. buttonDown(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxMouseEvent), @@ -98,15 +108,18 @@ buttonDown(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxMouseEvent_ButtonDown, <>). -%% @spec (This::wxMouseEvent()) -> bool() %% @equiv buttonUp(This, []) +-spec buttonUp(This) -> boolean() when + This::wxMouseEvent(). + buttonUp(This) when is_record(This, wx_ref) -> buttonUp(This, []). -%% @spec (This::wxMouseEvent(), [Option]) -> bool() -%% Option = {but, integer()} %% @doc See external documentation. +-spec buttonUp(This, [Option]) -> boolean() when + This::wxMouseEvent(), + Option :: {but, integer()}. buttonUp(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxMouseEvent), @@ -116,212 +129,242 @@ buttonUp(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxMouseEvent_ButtonUp, <>). -%% @spec (This::wxMouseEvent()) -> bool() %% @doc See external documentation. +-spec cmdDown(This) -> boolean() when + This::wxMouseEvent(). cmdDown(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMouseEvent), wxe_util:call(?wxMouseEvent_CmdDown, <>). -%% @spec (This::wxMouseEvent()) -> bool() %% @doc See external documentation. +-spec controlDown(This) -> boolean() when + This::wxMouseEvent(). controlDown(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMouseEvent), wxe_util:call(?wxMouseEvent_ControlDown, <>). -%% @spec (This::wxMouseEvent()) -> bool() %% @doc See external documentation. +-spec dragging(This) -> boolean() when + This::wxMouseEvent(). dragging(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMouseEvent), wxe_util:call(?wxMouseEvent_Dragging, <>). -%% @spec (This::wxMouseEvent()) -> bool() %% @doc See external documentation. +-spec entering(This) -> boolean() when + This::wxMouseEvent(). entering(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMouseEvent), wxe_util:call(?wxMouseEvent_Entering, <>). -%% @spec (This::wxMouseEvent()) -> integer() %% @doc See external documentation. +-spec getButton(This) -> integer() when + This::wxMouseEvent(). getButton(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMouseEvent), wxe_util:call(?wxMouseEvent_GetButton, <>). -%% @spec (This::wxMouseEvent()) -> {X::integer(), Y::integer()} %% @doc See external documentation. +-spec getPosition(This) -> {X::integer(), Y::integer()} when + This::wxMouseEvent(). getPosition(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMouseEvent), wxe_util:call(?wxMouseEvent_GetPosition, <>). -%% @spec (This::wxMouseEvent(), Dc::wxDC:wxDC()) -> {X::integer(), Y::integer()} %% @doc See external documentation. +-spec getLogicalPosition(This, Dc) -> {X::integer(), Y::integer()} when + This::wxMouseEvent(), Dc::wxDC:wxDC(). getLogicalPosition(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=DcT,ref=DcRef}) -> ?CLASS(ThisT,wxMouseEvent), ?CLASS(DcT,wxDC), wxe_util:call(?wxMouseEvent_GetLogicalPosition, <>). -%% @spec (This::wxMouseEvent()) -> integer() %% @doc See external documentation. +-spec getLinesPerAction(This) -> integer() when + This::wxMouseEvent(). getLinesPerAction(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMouseEvent), wxe_util:call(?wxMouseEvent_GetLinesPerAction, <>). -%% @spec (This::wxMouseEvent()) -> integer() %% @doc See external documentation. +-spec getWheelRotation(This) -> integer() when + This::wxMouseEvent(). getWheelRotation(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMouseEvent), wxe_util:call(?wxMouseEvent_GetWheelRotation, <>). -%% @spec (This::wxMouseEvent()) -> integer() %% @doc See external documentation. +-spec getWheelDelta(This) -> integer() when + This::wxMouseEvent(). getWheelDelta(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMouseEvent), wxe_util:call(?wxMouseEvent_GetWheelDelta, <>). -%% @spec (This::wxMouseEvent()) -> integer() %% @doc See external documentation. +-spec getX(This) -> integer() when + This::wxMouseEvent(). getX(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMouseEvent), wxe_util:call(?wxMouseEvent_GetX, <>). -%% @spec (This::wxMouseEvent()) -> integer() %% @doc See external documentation. +-spec getY(This) -> integer() when + This::wxMouseEvent(). getY(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMouseEvent), wxe_util:call(?wxMouseEvent_GetY, <>). -%% @spec (This::wxMouseEvent()) -> bool() %% @doc See external documentation. +-spec isButton(This) -> boolean() when + This::wxMouseEvent(). isButton(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMouseEvent), wxe_util:call(?wxMouseEvent_IsButton, <>). -%% @spec (This::wxMouseEvent()) -> bool() %% @doc See external documentation. +-spec isPageScroll(This) -> boolean() when + This::wxMouseEvent(). isPageScroll(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMouseEvent), wxe_util:call(?wxMouseEvent_IsPageScroll, <>). -%% @spec (This::wxMouseEvent()) -> bool() %% @doc See external documentation. +-spec leaving(This) -> boolean() when + This::wxMouseEvent(). leaving(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMouseEvent), wxe_util:call(?wxMouseEvent_Leaving, <>). -%% @spec (This::wxMouseEvent()) -> bool() %% @doc See external documentation. +-spec leftDClick(This) -> boolean() when + This::wxMouseEvent(). leftDClick(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMouseEvent), wxe_util:call(?wxMouseEvent_LeftDClick, <>). -%% @spec (This::wxMouseEvent()) -> bool() %% @doc See external documentation. +-spec leftDown(This) -> boolean() when + This::wxMouseEvent(). leftDown(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMouseEvent), wxe_util:call(?wxMouseEvent_LeftDown, <>). -%% @spec (This::wxMouseEvent()) -> bool() %% @doc See external documentation. +-spec leftIsDown(This) -> boolean() when + This::wxMouseEvent(). leftIsDown(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMouseEvent), wxe_util:call(?wxMouseEvent_LeftIsDown, <>). -%% @spec (This::wxMouseEvent()) -> bool() %% @doc See external documentation. +-spec leftUp(This) -> boolean() when + This::wxMouseEvent(). leftUp(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMouseEvent), wxe_util:call(?wxMouseEvent_LeftUp, <>). -%% @spec (This::wxMouseEvent()) -> bool() %% @doc See external documentation. +-spec metaDown(This) -> boolean() when + This::wxMouseEvent(). metaDown(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMouseEvent), wxe_util:call(?wxMouseEvent_MetaDown, <>). -%% @spec (This::wxMouseEvent()) -> bool() %% @doc See external documentation. +-spec middleDClick(This) -> boolean() when + This::wxMouseEvent(). middleDClick(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMouseEvent), wxe_util:call(?wxMouseEvent_MiddleDClick, <>). -%% @spec (This::wxMouseEvent()) -> bool() %% @doc See external documentation. +-spec middleDown(This) -> boolean() when + This::wxMouseEvent(). middleDown(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMouseEvent), wxe_util:call(?wxMouseEvent_MiddleDown, <>). -%% @spec (This::wxMouseEvent()) -> bool() %% @doc See external documentation. +-spec middleIsDown(This) -> boolean() when + This::wxMouseEvent(). middleIsDown(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMouseEvent), wxe_util:call(?wxMouseEvent_MiddleIsDown, <>). -%% @spec (This::wxMouseEvent()) -> bool() %% @doc See external documentation. +-spec middleUp(This) -> boolean() when + This::wxMouseEvent(). middleUp(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMouseEvent), wxe_util:call(?wxMouseEvent_MiddleUp, <>). -%% @spec (This::wxMouseEvent()) -> bool() %% @doc See external documentation. +-spec moving(This) -> boolean() when + This::wxMouseEvent(). moving(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMouseEvent), wxe_util:call(?wxMouseEvent_Moving, <>). -%% @spec (This::wxMouseEvent()) -> bool() %% @doc See external documentation. +-spec rightDClick(This) -> boolean() when + This::wxMouseEvent(). rightDClick(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMouseEvent), wxe_util:call(?wxMouseEvent_RightDClick, <>). -%% @spec (This::wxMouseEvent()) -> bool() %% @doc See external documentation. +-spec rightDown(This) -> boolean() when + This::wxMouseEvent(). rightDown(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMouseEvent), wxe_util:call(?wxMouseEvent_RightDown, <>). -%% @spec (This::wxMouseEvent()) -> bool() %% @doc See external documentation. +-spec rightIsDown(This) -> boolean() when + This::wxMouseEvent(). rightIsDown(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMouseEvent), wxe_util:call(?wxMouseEvent_RightIsDown, <>). -%% @spec (This::wxMouseEvent()) -> bool() %% @doc See external documentation. +-spec rightUp(This) -> boolean() when + This::wxMouseEvent(). rightUp(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMouseEvent), wxe_util:call(?wxMouseEvent_RightUp, <>). -%% @spec (This::wxMouseEvent()) -> bool() %% @doc See external documentation. +-spec shiftDown(This) -> boolean() when + This::wxMouseEvent(). shiftDown(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMouseEvent), wxe_util:call(?wxMouseEvent_ShiftDown, diff --git a/lib/wx/src/gen/wxMoveEvent.erl b/lib/wx/src/gen/wxMoveEvent.erl index 97cf803310..b2f2fa74df 100644 --- a/lib/wx/src/gen/wxMoveEvent.erl +++ b/lib/wx/src/gen/wxMoveEvent.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,12 +37,15 @@ -export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1, resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]). +-export_type([wxMoveEvent/0]). %% @hidden parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxMoveEvent()) -> {X::integer(), Y::integer()} +-type wxMoveEvent() :: wx:wx_object(). %% @doc See external documentation. +-spec getPosition(This) -> {X::integer(), Y::integer()} when + This::wxMoveEvent(). getPosition(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMoveEvent), wxe_util:call(?wxMoveEvent_GetPosition, diff --git a/lib/wx/src/gen/wxMultiChoiceDialog.erl b/lib/wx/src/gen/wxMultiChoiceDialog.erl index 6fae0c4860..7c19a1ca42 100644 --- a/lib/wx/src/gen/wxMultiChoiceDialog.erl +++ b/lib/wx/src/gen/wxMultiChoiceDialog.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -77,6 +77,7 @@ transferDataFromWindow/1,transferDataToWindow/1,update/1,updateWindowUI/1, updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxMultiChoiceDialog/0]). %% @hidden parent_class(wxDialog) -> true; parent_class(wxTopLevelWindow) -> true; @@ -84,21 +85,26 @@ parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxMultiChoiceDialog() +-type wxMultiChoiceDialog() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxMultiChoiceDialog(). new() -> wxe_util:construct(?wxMultiChoiceDialog_new_0, <<>>). -%% @spec (Parent::wxWindow:wxWindow(), Message::string(), Caption::string(), Choices::[[string()]]) -> wxMultiChoiceDialog() %% @equiv new(Parent,Message,Caption,Choices, []) +-spec new(Parent, Message, Caption, Choices) -> wxMultiChoiceDialog() when + Parent::wxWindow:wxWindow(), Message::string(), Caption::string(), Choices::[[string()]]. + new(Parent,Message,Caption,Choices) when is_record(Parent, wx_ref),is_list(Message),is_list(Caption),is_list(Choices) -> new(Parent,Message,Caption,Choices, []). -%% @spec (Parent::wxWindow:wxWindow(), Message::string(), Caption::string(), Choices::[[string()]], [Option]) -> wxMultiChoiceDialog() -%% Option = {style, integer()} | {pos, {X::integer(), Y::integer()}} %% @doc See external documentation. +-spec new(Parent, Message, Caption, Choices, [Option]) -> wxMultiChoiceDialog() when + Parent::wxWindow:wxWindow(), Message::string(), Caption::string(), Choices::[[string()]], + Option :: {style, integer()} + | {pos, {X::integer(), Y::integer()}}. new(#wx_ref{type=ParentT,ref=ParentRef},Message,Caption,Choices, Options) when is_list(Message),is_list(Caption),is_list(Choices),is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -113,15 +119,17 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Message,Caption,Choices, Options) wxe_util:construct(?wxMultiChoiceDialog_new_5, <>|| UC_Str <- Choices_UCA>>)/binary, 0:(((8- ((4 + lists:sum([byte_size(S)+4||S<-Choices_UCA])) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>). -%% @spec (This::wxMultiChoiceDialog()) -> [integer()] %% @doc See external documentation. +-spec getSelections(This) -> [integer()] when + This::wxMultiChoiceDialog(). getSelections(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMultiChoiceDialog), wxe_util:call(?wxMultiChoiceDialog_GetSelections, <>). -%% @spec (This::wxMultiChoiceDialog(), Selections::[integer()]) -> ok %% @doc See external documentation. +-spec setSelections(This, Selections) -> ok when + This::wxMultiChoiceDialog(), Selections::[integer()]. setSelections(#wx_ref{type=ThisT,ref=ThisRef},Selections) when is_list(Selections) -> ?CLASS(ThisT,wxMultiChoiceDialog), @@ -129,8 +137,8 @@ setSelections(#wx_ref{type=ThisT,ref=ThisRef},Selections) <> || C <- Selections>>)/binary, 0:(((0+length(Selections)) rem 2)*32)>>). -%% @spec (This::wxMultiChoiceDialog()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxMultiChoiceDialog) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxMultiChoiceDialog), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxNavigationKeyEvent.erl b/lib/wx/src/gen/wxNavigationKeyEvent.erl index 7cf7dff9aa..7559639fcd 100644 --- a/lib/wx/src/gen/wxNavigationKeyEvent.erl +++ b/lib/wx/src/gen/wxNavigationKeyEvent.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -38,64 +38,74 @@ -export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1, resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]). +-export_type([wxNavigationKeyEvent/0]). %% @hidden parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxNavigationKeyEvent()) -> bool() +-type wxNavigationKeyEvent() :: wx:wx_object(). %% @doc See external documentation. +-spec getDirection(This) -> boolean() when + This::wxNavigationKeyEvent(). getDirection(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxNavigationKeyEvent), wxe_util:call(?wxNavigationKeyEvent_GetDirection, <>). -%% @spec (This::wxNavigationKeyEvent(), BForward::bool()) -> ok %% @doc See external documentation. +-spec setDirection(This, BForward) -> ok when + This::wxNavigationKeyEvent(), BForward::boolean(). setDirection(#wx_ref{type=ThisT,ref=ThisRef},BForward) when is_boolean(BForward) -> ?CLASS(ThisT,wxNavigationKeyEvent), wxe_util:cast(?wxNavigationKeyEvent_SetDirection, <>). -%% @spec (This::wxNavigationKeyEvent()) -> bool() %% @doc See external documentation. +-spec isWindowChange(This) -> boolean() when + This::wxNavigationKeyEvent(). isWindowChange(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxNavigationKeyEvent), wxe_util:call(?wxNavigationKeyEvent_IsWindowChange, <>). -%% @spec (This::wxNavigationKeyEvent(), BIs::bool()) -> ok %% @doc See external documentation. +-spec setWindowChange(This, BIs) -> ok when + This::wxNavigationKeyEvent(), BIs::boolean(). setWindowChange(#wx_ref{type=ThisT,ref=ThisRef},BIs) when is_boolean(BIs) -> ?CLASS(ThisT,wxNavigationKeyEvent), wxe_util:cast(?wxNavigationKeyEvent_SetWindowChange, <>). -%% @spec (This::wxNavigationKeyEvent()) -> bool() %% @doc See external documentation. +-spec isFromTab(This) -> boolean() when + This::wxNavigationKeyEvent(). isFromTab(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxNavigationKeyEvent), wxe_util:call(?wxNavigationKeyEvent_IsFromTab, <>). -%% @spec (This::wxNavigationKeyEvent(), BIs::bool()) -> ok %% @doc See external documentation. +-spec setFromTab(This, BIs) -> ok when + This::wxNavigationKeyEvent(), BIs::boolean(). setFromTab(#wx_ref{type=ThisT,ref=ThisRef},BIs) when is_boolean(BIs) -> ?CLASS(ThisT,wxNavigationKeyEvent), wxe_util:cast(?wxNavigationKeyEvent_SetFromTab, <>). -%% @spec (This::wxNavigationKeyEvent()) -> wxWindow:wxWindow() %% @doc See external documentation. +-spec getCurrentFocus(This) -> wxWindow:wxWindow() when + This::wxNavigationKeyEvent(). getCurrentFocus(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxNavigationKeyEvent), wxe_util:call(?wxNavigationKeyEvent_GetCurrentFocus, <>). -%% @spec (This::wxNavigationKeyEvent(), Win::wxWindow:wxWindow()) -> ok %% @doc See external documentation. +-spec setCurrentFocus(This, Win) -> ok when + This::wxNavigationKeyEvent(), Win::wxWindow:wxWindow(). setCurrentFocus(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WinT,ref=WinRef}) -> ?CLASS(ThisT,wxNavigationKeyEvent), ?CLASS(WinT,wxWindow), diff --git a/lib/wx/src/gen/wxNcPaintEvent.erl b/lib/wx/src/gen/wxNcPaintEvent.erl index b45420a2fc..4dd292a0be 100644 --- a/lib/wx/src/gen/wxNcPaintEvent.erl +++ b/lib/wx/src/gen/wxNcPaintEvent.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,10 +37,12 @@ -export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1, resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]). +-export_type([wxNcPaintEvent/0]). %% @hidden parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). +-type wxNcPaintEvent() :: wx:wx_object(). %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). diff --git a/lib/wx/src/gen/wxNotebook.erl b/lib/wx/src/gen/wxNotebook.erl index b918de5bb4..da0b9c13bf 100644 --- a/lib/wx/src/gen/wxNotebook.erl +++ b/lib/wx/src/gen/wxNotebook.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -74,27 +74,34 @@ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1, update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxNotebook/0]). %% @hidden parent_class(wxControl) -> true; parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxNotebook() +-type wxNotebook() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxNotebook(). new() -> wxe_util:construct(?wxNotebook_new_0, <<>>). -%% @spec (Parent::wxWindow:wxWindow(), Winid::integer()) -> wxNotebook() %% @equiv new(Parent,Winid, []) +-spec new(Parent, Winid) -> wxNotebook() when + Parent::wxWindow:wxWindow(), Winid::integer(). + new(Parent,Winid) when is_record(Parent, wx_ref),is_integer(Winid) -> new(Parent,Winid, []). -%% @spec (Parent::wxWindow:wxWindow(), Winid::integer(), [Option]) -> wxNotebook() -%% Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} %% @doc See external documentation. +-spec new(Parent, Winid, [Option]) -> wxNotebook() when + Parent::wxWindow:wxWindow(), Winid::integer(), + Option :: {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()}. new(#wx_ref{type=ParentT,ref=ParentRef},Winid, Options) when is_integer(Winid),is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -106,15 +113,19 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Winid, Options) wxe_util:construct(?wxNotebook_new_3, <>). -%% @spec (This::wxNotebook(), Page::wxWindow:wxWindow(), Text::string()) -> bool() %% @equiv addPage(This,Page,Text, []) +-spec addPage(This, Page, Text) -> boolean() when + This::wxNotebook(), Page::wxWindow:wxWindow(), Text::string(). + addPage(This,Page,Text) when is_record(This, wx_ref),is_record(Page, wx_ref),is_list(Text) -> addPage(This,Page,Text, []). -%% @spec (This::wxNotebook(), Page::wxWindow:wxWindow(), Text::string(), [Option]) -> bool() -%% Option = {bSelect, bool()} | {imageId, integer()} %% @doc See external documentation. +-spec addPage(This, Page, Text, [Option]) -> boolean() when + This::wxNotebook(), Page::wxWindow:wxWindow(), Text::string(), + Option :: {bSelect, boolean()} + | {imageId, integer()}. addPage(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PageT,ref=PageRef},Text, Options) when is_list(Text),is_list(Options) -> ?CLASS(ThisT,wxNotebook), @@ -127,15 +138,18 @@ addPage(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PageT,ref=PageRef},Text, Op wxe_util:call(?wxNotebook_AddPage, <>). -%% @spec (This::wxNotebook()) -> ok %% @equiv advanceSelection(This, []) +-spec advanceSelection(This) -> ok when + This::wxNotebook(). + advanceSelection(This) when is_record(This, wx_ref) -> advanceSelection(This, []). -%% @spec (This::wxNotebook(), [Option]) -> ok -%% Option = {forward, bool()} %% @doc See external documentation. +-spec advanceSelection(This, [Option]) -> ok when + This::wxNotebook(), + Option :: {forward, boolean()}. advanceSelection(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxNotebook), @@ -145,23 +159,29 @@ advanceSelection(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:cast(?wxNotebook_AdvanceSelection, <>). -%% @spec (This::wxNotebook(), ImageList::wxImageList:wxImageList()) -> ok %% @doc See external documentation. +-spec assignImageList(This, ImageList) -> ok when + This::wxNotebook(), ImageList::wxImageList:wxImageList(). assignImageList(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ImageListT,ref=ImageListRef}) -> ?CLASS(ThisT,wxNotebook), ?CLASS(ImageListT,wxImageList), wxe_util:cast(?wxNotebook_AssignImageList, <>). -%% @spec (This::wxNotebook(), Parent::wxWindow:wxWindow(), Id::integer()) -> bool() %% @equiv create(This,Parent,Id, []) +-spec create(This, Parent, Id) -> boolean() when + This::wxNotebook(), Parent::wxWindow:wxWindow(), Id::integer(). + create(This,Parent,Id) when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id) -> create(This,Parent,Id, []). -%% @spec (This::wxNotebook(), Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> bool() -%% Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} %% @doc See external documentation. +-spec create(This, Parent, Id, [Option]) -> boolean() when + This::wxNotebook(), Parent::wxWindow:wxWindow(), Id::integer(), + Option :: {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()}. create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id, Options) when is_integer(Id),is_list(Options) -> ?CLASS(ThisT,wxNotebook), @@ -174,112 +194,130 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id, O wxe_util:call(?wxNotebook_Create, <>). -%% @spec (This::wxNotebook()) -> bool() %% @doc See external documentation. +-spec deleteAllPages(This) -> boolean() when + This::wxNotebook(). deleteAllPages(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxNotebook), wxe_util:call(?wxNotebook_DeleteAllPages, <>). -%% @spec (This::wxNotebook(), NPage::integer()) -> bool() %% @doc See external documentation. +-spec deletePage(This, NPage) -> boolean() when + This::wxNotebook(), NPage::integer(). deletePage(#wx_ref{type=ThisT,ref=ThisRef},NPage) when is_integer(NPage) -> ?CLASS(ThisT,wxNotebook), wxe_util:call(?wxNotebook_DeletePage, <>). -%% @spec (This::wxNotebook(), NPage::integer()) -> bool() %% @doc See external documentation. +-spec removePage(This, NPage) -> boolean() when + This::wxNotebook(), NPage::integer(). removePage(#wx_ref{type=ThisT,ref=ThisRef},NPage) when is_integer(NPage) -> ?CLASS(ThisT,wxNotebook), wxe_util:call(?wxNotebook_RemovePage, <>). -%% @spec (This::wxNotebook()) -> wxWindow:wxWindow() %% @doc See external documentation. +-spec getCurrentPage(This) -> wxWindow:wxWindow() when + This::wxNotebook(). getCurrentPage(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxNotebook), wxe_util:call(?wxNotebook_GetCurrentPage, <>). -%% @spec (This::wxNotebook()) -> wxImageList:wxImageList() %% @doc See external documentation. +-spec getImageList(This) -> wxImageList:wxImageList() when + This::wxNotebook(). getImageList(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxNotebook), wxe_util:call(?wxNotebook_GetImageList, <>). -%% @spec (This::wxNotebook(), N::integer()) -> wxWindow:wxWindow() %% @doc See external documentation. +-spec getPage(This, N) -> wxWindow:wxWindow() when + This::wxNotebook(), N::integer(). getPage(#wx_ref{type=ThisT,ref=ThisRef},N) when is_integer(N) -> ?CLASS(ThisT,wxNotebook), wxe_util:call(?wxNotebook_GetPage, <>). -%% @spec (This::wxNotebook()) -> integer() %% @doc See external documentation. +-spec getPageCount(This) -> integer() when + This::wxNotebook(). getPageCount(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxNotebook), wxe_util:call(?wxNotebook_GetPageCount, <>). -%% @spec (This::wxNotebook(), NPage::integer()) -> integer() %% @doc See external documentation. +-spec getPageImage(This, NPage) -> integer() when + This::wxNotebook(), NPage::integer(). getPageImage(#wx_ref{type=ThisT,ref=ThisRef},NPage) when is_integer(NPage) -> ?CLASS(ThisT,wxNotebook), wxe_util:call(?wxNotebook_GetPageImage, <>). -%% @spec (This::wxNotebook(), NPage::integer()) -> string() %% @doc See external documentation. +-spec getPageText(This, NPage) -> string() when + This::wxNotebook(), NPage::integer(). getPageText(#wx_ref{type=ThisT,ref=ThisRef},NPage) when is_integer(NPage) -> ?CLASS(ThisT,wxNotebook), wxe_util:call(?wxNotebook_GetPageText, <>). -%% @spec (This::wxNotebook()) -> integer() %% @doc See external documentation. +-spec getRowCount(This) -> integer() when + This::wxNotebook(). getRowCount(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxNotebook), wxe_util:call(?wxNotebook_GetRowCount, <>). -%% @spec (This::wxNotebook()) -> integer() %% @doc See external documentation. +-spec getSelection(This) -> integer() when + This::wxNotebook(). getSelection(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxNotebook), wxe_util:call(?wxNotebook_GetSelection, <>). -%% @spec (This::wxNotebook()) -> wx:colour() %% @doc See external documentation. +-spec getThemeBackgroundColour(This) -> wx:wx_colour() when + This::wxNotebook(). getThemeBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxNotebook), wxe_util:call(?wxNotebook_GetThemeBackgroundColour, <>). -%% @spec (This::wxNotebook(), Pt::{X::integer(), Y::integer()}) -> {integer(), Flags::integer()} %% @doc See external documentation. +-spec hitTest(This, Pt) -> Result when + Result ::{Res ::integer(), Flags::integer()}, + This::wxNotebook(), Pt::{X::integer(), Y::integer()}. hitTest(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY}) when is_integer(PtX),is_integer(PtY) -> ?CLASS(ThisT,wxNotebook), wxe_util:call(?wxNotebook_HitTest, <>). -%% @spec (This::wxNotebook(), Position::integer(), Win::wxWindow:wxWindow(), StrText::string()) -> bool() %% @equiv insertPage(This,Position,Win,StrText, []) +-spec insertPage(This, Position, Win, StrText) -> boolean() when + This::wxNotebook(), Position::integer(), Win::wxWindow:wxWindow(), StrText::string(). + insertPage(This,Position,Win,StrText) when is_record(This, wx_ref),is_integer(Position),is_record(Win, wx_ref),is_list(StrText) -> insertPage(This,Position,Win,StrText, []). -%% @spec (This::wxNotebook(), Position::integer(), Win::wxWindow:wxWindow(), StrText::string(), [Option]) -> bool() -%% Option = {bSelect, bool()} | {imageId, integer()} %% @doc See external documentation. +-spec insertPage(This, Position, Win, StrText, [Option]) -> boolean() when + This::wxNotebook(), Position::integer(), Win::wxWindow:wxWindow(), StrText::string(), + Option :: {bSelect, boolean()} + | {imageId, integer()}. insertPage(#wx_ref{type=ThisT,ref=ThisRef},Position,#wx_ref{type=WinT,ref=WinRef},StrText, Options) when is_integer(Position),is_list(StrText),is_list(Options) -> ?CLASS(ThisT,wxNotebook), @@ -292,40 +330,45 @@ insertPage(#wx_ref{type=ThisT,ref=ThisRef},Position,#wx_ref{type=WinT,ref=WinRef wxe_util:call(?wxNotebook_InsertPage, <>). -%% @spec (This::wxNotebook(), ImageList::wxImageList:wxImageList()) -> ok %% @doc See external documentation. +-spec setImageList(This, ImageList) -> ok when + This::wxNotebook(), ImageList::wxImageList:wxImageList(). setImageList(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ImageListT,ref=ImageListRef}) -> ?CLASS(ThisT,wxNotebook), ?CLASS(ImageListT,wxImageList), wxe_util:cast(?wxNotebook_SetImageList, <>). -%% @spec (This::wxNotebook(), Padding::{W::integer(), H::integer()}) -> ok %% @doc See external documentation. +-spec setPadding(This, Padding) -> ok when + This::wxNotebook(), Padding::{W::integer(), H::integer()}. setPadding(#wx_ref{type=ThisT,ref=ThisRef},{PaddingW,PaddingH}) when is_integer(PaddingW),is_integer(PaddingH) -> ?CLASS(ThisT,wxNotebook), wxe_util:cast(?wxNotebook_SetPadding, <>). -%% @spec (This::wxNotebook(), Size::{W::integer(), H::integer()}) -> ok %% @doc See external documentation. +-spec setPageSize(This, Size) -> ok when + This::wxNotebook(), Size::{W::integer(), H::integer()}. setPageSize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH}) when is_integer(SizeW),is_integer(SizeH) -> ?CLASS(ThisT,wxNotebook), wxe_util:cast(?wxNotebook_SetPageSize, <>). -%% @spec (This::wxNotebook(), NPage::integer(), NImage::integer()) -> bool() %% @doc See external documentation. +-spec setPageImage(This, NPage, NImage) -> boolean() when + This::wxNotebook(), NPage::integer(), NImage::integer(). setPageImage(#wx_ref{type=ThisT,ref=ThisRef},NPage,NImage) when is_integer(NPage),is_integer(NImage) -> ?CLASS(ThisT,wxNotebook), wxe_util:call(?wxNotebook_SetPageImage, <>). -%% @spec (This::wxNotebook(), NPage::integer(), StrText::string()) -> bool() %% @doc See external documentation. +-spec setPageText(This, NPage, StrText) -> boolean() when + This::wxNotebook(), NPage::integer(), StrText::string(). setPageText(#wx_ref{type=ThisT,ref=ThisRef},NPage,StrText) when is_integer(NPage),is_list(StrText) -> ?CLASS(ThisT,wxNotebook), @@ -333,24 +376,26 @@ setPageText(#wx_ref{type=ThisT,ref=ThisRef},NPage,StrText) wxe_util:call(?wxNotebook_SetPageText, <>). -%% @spec (This::wxNotebook(), NPage::integer()) -> integer() %% @doc See external documentation. +-spec setSelection(This, NPage) -> integer() when + This::wxNotebook(), NPage::integer(). setSelection(#wx_ref{type=ThisT,ref=ThisRef},NPage) when is_integer(NPage) -> ?CLASS(ThisT,wxNotebook), wxe_util:call(?wxNotebook_SetSelection, <>). -%% @spec (This::wxNotebook(), NPage::integer()) -> integer() %% @doc See external documentation. +-spec changeSelection(This, NPage) -> integer() when + This::wxNotebook(), NPage::integer(). changeSelection(#wx_ref{type=ThisT,ref=ThisRef},NPage) when is_integer(NPage) -> ?CLASS(ThisT,wxNotebook), wxe_util:call(?wxNotebook_ChangeSelection, <>). -%% @spec (This::wxNotebook()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxNotebook) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxNotebook), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxNotebookEvent.erl b/lib/wx/src/gen/wxNotebookEvent.erl index 6be826bdd2..72c0bb9cf4 100644 --- a/lib/wx/src/gen/wxNotebookEvent.erl +++ b/lib/wx/src/gen/wxNotebookEvent.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -41,36 +41,42 @@ isSelection/1,parent_class/1,resumePropagation/2,setInt/2,setString/2, shouldPropagate/1,skip/1,skip/2,stopPropagation/1,veto/1]). +-export_type([wxNotebookEvent/0]). %% @hidden parent_class(wxNotifyEvent) -> true; parent_class(wxCommandEvent) -> true; parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxNotebookEvent()) -> integer() +-type wxNotebookEvent() :: wx:wx_object(). %% @doc See external documentation. +-spec getOldSelection(This) -> integer() when + This::wxNotebookEvent(). getOldSelection(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxNotebookEvent), wxe_util:call(?wxNotebookEvent_GetOldSelection, <>). -%% @spec (This::wxNotebookEvent()) -> integer() %% @doc See external documentation. +-spec getSelection(This) -> integer() when + This::wxNotebookEvent(). getSelection(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxNotebookEvent), wxe_util:call(?wxNotebookEvent_GetSelection, <>). -%% @spec (This::wxNotebookEvent(), NOldSel::integer()) -> ok %% @doc See external documentation. +-spec setOldSelection(This, NOldSel) -> ok when + This::wxNotebookEvent(), NOldSel::integer(). setOldSelection(#wx_ref{type=ThisT,ref=ThisRef},NOldSel) when is_integer(NOldSel) -> ?CLASS(ThisT,wxNotebookEvent), wxe_util:cast(?wxNotebookEvent_SetOldSelection, <>). -%% @spec (This::wxNotebookEvent(), NSel::integer()) -> ok %% @doc See external documentation. +-spec setSelection(This, NSel) -> ok when + This::wxNotebookEvent(), NSel::integer(). setSelection(#wx_ref{type=ThisT,ref=ThisRef},NSel) when is_integer(NSel) -> ?CLASS(ThisT,wxNotebookEvent), diff --git a/lib/wx/src/gen/wxNotifyEvent.erl b/lib/wx/src/gen/wxNotifyEvent.erl index b2a6da16f0..7ba23469be 100644 --- a/lib/wx/src/gen/wxNotifyEvent.erl +++ b/lib/wx/src/gen/wxNotifyEvent.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -36,27 +36,32 @@ parent_class/1,resumePropagation/2,setInt/2,setString/2,shouldPropagate/1, skip/1,skip/2,stopPropagation/1]). +-export_type([wxNotifyEvent/0]). %% @hidden parent_class(wxCommandEvent) -> true; parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxNotifyEvent()) -> ok +-type wxNotifyEvent() :: wx:wx_object(). %% @doc See external documentation. +-spec allow(This) -> ok when + This::wxNotifyEvent(). allow(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxNotifyEvent), wxe_util:cast(?wxNotifyEvent_Allow, <>). -%% @spec (This::wxNotifyEvent()) -> bool() %% @doc See external documentation. +-spec isAllowed(This) -> boolean() when + This::wxNotifyEvent(). isAllowed(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxNotifyEvent), wxe_util:call(?wxNotifyEvent_IsAllowed, <>). -%% @spec (This::wxNotifyEvent()) -> ok %% @doc See external documentation. +-spec veto(This) -> ok when + This::wxNotifyEvent(). veto(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxNotifyEvent), wxe_util:cast(?wxNotifyEvent_Veto, diff --git a/lib/wx/src/gen/wxPageSetupDialog.erl b/lib/wx/src/gen/wxPageSetupDialog.erl index 2c11863a21..227e72b679 100644 --- a/lib/wx/src/gen/wxPageSetupDialog.erl +++ b/lib/wx/src/gen/wxPageSetupDialog.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,18 +29,23 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxPageSetupDialog/0]). %% @hidden parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (Parent::wxWindow:wxWindow()) -> wxPageSetupDialog() +-type wxPageSetupDialog() :: wx:wx_object(). %% @equiv new(Parent, []) +-spec new(Parent) -> wxPageSetupDialog() when + Parent::wxWindow:wxWindow(). + new(Parent) when is_record(Parent, wx_ref) -> new(Parent, []). -%% @spec (Parent::wxWindow:wxWindow(), [Option]) -> wxPageSetupDialog() -%% Option = {data, wxPageSetupDialogData:wxPageSetupDialogData()} %% @doc See external documentation. +-spec new(Parent, [Option]) -> wxPageSetupDialog() when + Parent::wxWindow:wxWindow(), + Option :: {data, wxPageSetupDialogData:wxPageSetupDialogData()}. new(#wx_ref{type=ParentT,ref=ParentRef}, Options) when is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -50,22 +55,24 @@ new(#wx_ref{type=ParentT,ref=ParentRef}, Options) wxe_util:construct(?wxPageSetupDialog_new, <>). -%% @spec (This::wxPageSetupDialog()) -> wxPageSetupDialogData:wxPageSetupDialogData() %% @doc See external documentation. +-spec getPageSetupData(This) -> wxPageSetupDialogData:wxPageSetupDialogData() when + This::wxPageSetupDialog(). getPageSetupData(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPageSetupDialog), wxe_util:call(?wxPageSetupDialog_GetPageSetupData, <>). -%% @spec (This::wxPageSetupDialog()) -> integer() %% @doc See external documentation. +-spec showModal(This) -> integer() when + This::wxPageSetupDialog(). showModal(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPageSetupDialog), wxe_util:call(?wxPageSetupDialog_ShowModal, <>). -%% @spec (This::wxPageSetupDialog()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxPageSetupDialog) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxPageSetupDialog), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxPageSetupDialogData.erl b/lib/wx/src/gen/wxPageSetupDialogData.erl index 00b4ca2a36..4670526067 100644 --- a/lib/wx/src/gen/wxPageSetupDialogData.erl +++ b/lib/wx/src/gen/wxPageSetupDialogData.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -36,17 +36,20 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxPageSetupDialogData/0]). %% @hidden parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxPageSetupDialogData() +-type wxPageSetupDialogData() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxPageSetupDialogData(). new() -> wxe_util:construct(?wxPageSetupDialogData_new_0, <<>>). -%% @spec (PrintData::wxPrintData:wxPrintData() | wxPageSetupDialogData()) -> wxPageSetupDialogData() %% @doc See external documentation. +-spec new(PrintData) -> wxPageSetupDialogData() when + PrintData::wxPrintData:wxPrintData() | wxPageSetupDialogData(). new(#wx_ref{type=PrintDataT,ref=PrintDataRef}) -> PrintDataOP = case ?CLASS_T(PrintDataT,wxPrintData) of true -> @@ -57,216 +60,239 @@ new(#wx_ref{type=PrintDataT,ref=PrintDataRef}) -> wxe_util:construct(PrintDataOP, <>). -%% @spec (This::wxPageSetupDialogData(), Flag::bool()) -> ok %% @doc See external documentation. +-spec enableHelp(This, Flag) -> ok when + This::wxPageSetupDialogData(), Flag::boolean(). enableHelp(#wx_ref{type=ThisT,ref=ThisRef},Flag) when is_boolean(Flag) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:cast(?wxPageSetupDialogData_EnableHelp, <>). -%% @spec (This::wxPageSetupDialogData(), Flag::bool()) -> ok %% @doc See external documentation. +-spec enableMargins(This, Flag) -> ok when + This::wxPageSetupDialogData(), Flag::boolean(). enableMargins(#wx_ref{type=ThisT,ref=ThisRef},Flag) when is_boolean(Flag) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:cast(?wxPageSetupDialogData_EnableMargins, <>). -%% @spec (This::wxPageSetupDialogData(), Flag::bool()) -> ok %% @doc See external documentation. +-spec enableOrientation(This, Flag) -> ok when + This::wxPageSetupDialogData(), Flag::boolean(). enableOrientation(#wx_ref{type=ThisT,ref=ThisRef},Flag) when is_boolean(Flag) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:cast(?wxPageSetupDialogData_EnableOrientation, <>). -%% @spec (This::wxPageSetupDialogData(), Flag::bool()) -> ok %% @doc See external documentation. +-spec enablePaper(This, Flag) -> ok when + This::wxPageSetupDialogData(), Flag::boolean(). enablePaper(#wx_ref{type=ThisT,ref=ThisRef},Flag) when is_boolean(Flag) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:cast(?wxPageSetupDialogData_EnablePaper, <>). -%% @spec (This::wxPageSetupDialogData(), Flag::bool()) -> ok %% @doc See external documentation. +-spec enablePrinter(This, Flag) -> ok when + This::wxPageSetupDialogData(), Flag::boolean(). enablePrinter(#wx_ref{type=ThisT,ref=ThisRef},Flag) when is_boolean(Flag) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:cast(?wxPageSetupDialogData_EnablePrinter, <>). -%% @spec (This::wxPageSetupDialogData()) -> bool() %% @doc See external documentation. +-spec getDefaultMinMargins(This) -> boolean() when + This::wxPageSetupDialogData(). getDefaultMinMargins(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:call(?wxPageSetupDialogData_GetDefaultMinMargins, <>). -%% @spec (This::wxPageSetupDialogData()) -> bool() %% @doc See external documentation. +-spec getEnableMargins(This) -> boolean() when + This::wxPageSetupDialogData(). getEnableMargins(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:call(?wxPageSetupDialogData_GetEnableMargins, <>). -%% @spec (This::wxPageSetupDialogData()) -> bool() %% @doc See external documentation. +-spec getEnableOrientation(This) -> boolean() when + This::wxPageSetupDialogData(). getEnableOrientation(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:call(?wxPageSetupDialogData_GetEnableOrientation, <>). -%% @spec (This::wxPageSetupDialogData()) -> bool() %% @doc See external documentation. +-spec getEnablePaper(This) -> boolean() when + This::wxPageSetupDialogData(). getEnablePaper(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:call(?wxPageSetupDialogData_GetEnablePaper, <>). -%% @spec (This::wxPageSetupDialogData()) -> bool() %% @doc See external documentation. +-spec getEnablePrinter(This) -> boolean() when + This::wxPageSetupDialogData(). getEnablePrinter(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:call(?wxPageSetupDialogData_GetEnablePrinter, <>). -%% @spec (This::wxPageSetupDialogData()) -> bool() %% @doc See external documentation. +-spec getEnableHelp(This) -> boolean() when + This::wxPageSetupDialogData(). getEnableHelp(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:call(?wxPageSetupDialogData_GetEnableHelp, <>). -%% @spec (This::wxPageSetupDialogData()) -> bool() %% @doc See external documentation. +-spec getDefaultInfo(This) -> boolean() when + This::wxPageSetupDialogData(). getDefaultInfo(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:call(?wxPageSetupDialogData_GetDefaultInfo, <>). -%% @spec (This::wxPageSetupDialogData()) -> {X::integer(), Y::integer()} %% @doc See external documentation. +-spec getMarginTopLeft(This) -> {X::integer(), Y::integer()} when + This::wxPageSetupDialogData(). getMarginTopLeft(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:call(?wxPageSetupDialogData_GetMarginTopLeft, <>). -%% @spec (This::wxPageSetupDialogData()) -> {X::integer(), Y::integer()} %% @doc See external documentation. +-spec getMarginBottomRight(This) -> {X::integer(), Y::integer()} when + This::wxPageSetupDialogData(). getMarginBottomRight(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:call(?wxPageSetupDialogData_GetMarginBottomRight, <>). -%% @spec (This::wxPageSetupDialogData()) -> {X::integer(), Y::integer()} %% @doc See external documentation. +-spec getMinMarginTopLeft(This) -> {X::integer(), Y::integer()} when + This::wxPageSetupDialogData(). getMinMarginTopLeft(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:call(?wxPageSetupDialogData_GetMinMarginTopLeft, <>). -%% @spec (This::wxPageSetupDialogData()) -> {X::integer(), Y::integer()} %% @doc See external documentation. +-spec getMinMarginBottomRight(This) -> {X::integer(), Y::integer()} when + This::wxPageSetupDialogData(). getMinMarginBottomRight(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:call(?wxPageSetupDialogData_GetMinMarginBottomRight, <>). -%% @spec (This::wxPageSetupDialogData()) -> integer() %% @doc See external documentation. +-spec getPaperId(This) -> integer() when + This::wxPageSetupDialogData(). getPaperId(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:call(?wxPageSetupDialogData_GetPaperId, <>). -%% @spec (This::wxPageSetupDialogData()) -> {W::integer(), H::integer()} %% @doc See external documentation. +-spec getPaperSize(This) -> {W::integer(), H::integer()} when + This::wxPageSetupDialogData(). getPaperSize(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:call(?wxPageSetupDialogData_GetPaperSize, <>). -%% @spec (This::wxPageSetupDialogData()) -> wxPrintData:wxPrintData() %% @doc See external documentation. +-spec getPrintData(This) -> wxPrintData:wxPrintData() when + This::wxPageSetupDialogData(). getPrintData(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:call(?wxPageSetupDialogData_GetPrintData, <>). -%% @spec (This::wxPageSetupDialogData()) -> bool() %% @doc See external documentation. +-spec isOk(This) -> boolean() when + This::wxPageSetupDialogData(). isOk(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:call(?wxPageSetupDialogData_IsOk, <>). -%% @spec (This::wxPageSetupDialogData(), Flag::bool()) -> ok %% @doc See external documentation. +-spec setDefaultInfo(This, Flag) -> ok when + This::wxPageSetupDialogData(), Flag::boolean(). setDefaultInfo(#wx_ref{type=ThisT,ref=ThisRef},Flag) when is_boolean(Flag) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:cast(?wxPageSetupDialogData_SetDefaultInfo, <>). -%% @spec (This::wxPageSetupDialogData(), Flag::bool()) -> ok %% @doc See external documentation. +-spec setDefaultMinMargins(This, Flag) -> ok when + This::wxPageSetupDialogData(), Flag::boolean(). setDefaultMinMargins(#wx_ref{type=ThisT,ref=ThisRef},Flag) when is_boolean(Flag) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:cast(?wxPageSetupDialogData_SetDefaultMinMargins, <>). -%% @spec (This::wxPageSetupDialogData(), Pt::{X::integer(), Y::integer()}) -> ok %% @doc See external documentation. +-spec setMarginTopLeft(This, Pt) -> ok when + This::wxPageSetupDialogData(), Pt::{X::integer(), Y::integer()}. setMarginTopLeft(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY}) when is_integer(PtX),is_integer(PtY) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:cast(?wxPageSetupDialogData_SetMarginTopLeft, <>). -%% @spec (This::wxPageSetupDialogData(), Pt::{X::integer(), Y::integer()}) -> ok %% @doc See external documentation. +-spec setMarginBottomRight(This, Pt) -> ok when + This::wxPageSetupDialogData(), Pt::{X::integer(), Y::integer()}. setMarginBottomRight(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY}) when is_integer(PtX),is_integer(PtY) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:cast(?wxPageSetupDialogData_SetMarginBottomRight, <>). -%% @spec (This::wxPageSetupDialogData(), Pt::{X::integer(), Y::integer()}) -> ok %% @doc See external documentation. +-spec setMinMarginTopLeft(This, Pt) -> ok when + This::wxPageSetupDialogData(), Pt::{X::integer(), Y::integer()}. setMinMarginTopLeft(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY}) when is_integer(PtX),is_integer(PtY) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:cast(?wxPageSetupDialogData_SetMinMarginTopLeft, <>). -%% @spec (This::wxPageSetupDialogData(), Pt::{X::integer(), Y::integer()}) -> ok %% @doc See external documentation. +-spec setMinMarginBottomRight(This, Pt) -> ok when + This::wxPageSetupDialogData(), Pt::{X::integer(), Y::integer()}. setMinMarginBottomRight(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY}) when is_integer(PtX),is_integer(PtY) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:cast(?wxPageSetupDialogData_SetMinMarginBottomRight, <>). -%% @spec (This::wxPageSetupDialogData(), Id::integer()) -> ok %% @doc See external documentation. +-spec setPaperId(This, Id) -> ok when + This::wxPageSetupDialogData(), Id::integer(). setPaperId(#wx_ref{type=ThisT,ref=ThisRef},Id) when is_integer(Id) -> ?CLASS(ThisT,wxPageSetupDialogData), wxe_util:cast(?wxPageSetupDialogData_SetPaperId, <>). -%% @spec (This::wxPageSetupDialogData(),X::integer()|term()) -> ok %% @doc See external documentation. -%%
Alternatives: -%%

-%% setPaperSize(This::wxPageSetupDialogData(), Id::integer()) -> ok -%%

-%%

-%% setPaperSize(This::wxPageSetupDialogData(), Sz::{W::integer(), H::integer()}) -> ok -%%

+-spec setPaperSize(This, Id) -> ok when + This::wxPageSetupDialogData(), Id::integer(); + (This, Sz) -> ok when + This::wxPageSetupDialogData(), Sz::{W::integer(), H::integer()}. setPaperSize(#wx_ref{type=ThisT,ref=ThisRef},Id) when is_integer(Id) -> ?CLASS(ThisT,wxPageSetupDialogData), @@ -278,16 +304,17 @@ setPaperSize(#wx_ref{type=ThisT,ref=ThisRef},{SzW,SzH}) wxe_util:cast(?wxPageSetupDialogData_SetPaperSize_1_1, <>). -%% @spec (This::wxPageSetupDialogData(), PrintData::wxPrintData:wxPrintData()) -> ok %% @doc See external documentation. +-spec setPrintData(This, PrintData) -> ok when + This::wxPageSetupDialogData(), PrintData::wxPrintData:wxPrintData(). setPrintData(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PrintDataT,ref=PrintDataRef}) -> ?CLASS(ThisT,wxPageSetupDialogData), ?CLASS(PrintDataT,wxPrintData), wxe_util:cast(?wxPageSetupDialogData_SetPrintData, <>). -%% @spec (This::wxPageSetupDialogData()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxPageSetupDialogData) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxPageSetupDialogData), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxPaintDC.erl b/lib/wx/src/gen/wxPaintDC.erl index 47d5947097..e81772b87b 100644 --- a/lib/wx/src/gen/wxPaintDC.erl +++ b/lib/wx/src/gen/wxPaintDC.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -53,26 +53,29 @@ setPen/2,setTextBackground/2,setTextForeground/2,setUserScale/3,startDoc/2, startPage/1]). +-export_type([wxPaintDC/0]). %% @hidden parent_class(wxWindowDC) -> true; parent_class(wxDC) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxPaintDC() +-type wxPaintDC() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxPaintDC(). new() -> wxe_util:construct(?wxPaintDC_new_0, <<>>). -%% @spec (Win::wxWindow:wxWindow()) -> wxPaintDC() %% @doc See external documentation. +-spec new(Win) -> wxPaintDC() when + Win::wxWindow:wxWindow(). new(#wx_ref{type=WinT,ref=WinRef}) -> ?CLASS(WinT,wxWindow), wxe_util:construct(?wxPaintDC_new_1, <>). -%% @spec (This::wxPaintDC()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxPaintDC) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxPaintDC), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxPaintEvent.erl b/lib/wx/src/gen/wxPaintEvent.erl index 2603e61623..a13db607a4 100644 --- a/lib/wx/src/gen/wxPaintEvent.erl +++ b/lib/wx/src/gen/wxPaintEvent.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,10 +37,12 @@ -export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1, resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]). +-export_type([wxPaintEvent/0]). %% @hidden parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). +-type wxPaintEvent() :: wx:wx_object(). %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). diff --git a/lib/wx/src/gen/wxPalette.erl b/lib/wx/src/gen/wxPalette.erl index 3d8e811988..a3005bff80 100644 --- a/lib/wx/src/gen/wxPalette.erl +++ b/lib/wx/src/gen/wxPalette.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,17 +30,20 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxPalette/0]). %% @hidden parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxPalette() +-type wxPalette() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxPalette(). new() -> wxe_util:construct(?wxPalette_new_0, <<>>). -%% @spec (Red::binary(), Green::binary(), Blue::binary()) -> wxPalette() %% @doc See external documentation. +-spec new(Red, Green, Blue) -> wxPalette() when + Red::binary(), Green::binary(), Blue::binary(). new(Red,Green,Blue) when is_binary(Red),is_binary(Green),is_binary(Blue) -> wxe_util:send_bin(Red), @@ -49,8 +52,9 @@ new(Red,Green,Blue) wxe_util:construct(?wxPalette_new_4, <<>>). -%% @spec (This::wxPalette(), Red::binary(), Green::binary(), Blue::binary()) -> bool() %% @doc See external documentation. +-spec create(This, Red, Green, Blue) -> boolean() when + This::wxPalette(), Red::binary(), Green::binary(), Blue::binary(). create(#wx_ref{type=ThisT,ref=ThisRef},Red,Green,Blue) when is_binary(Red),is_binary(Green),is_binary(Blue) -> ?CLASS(ThisT,wxPalette), @@ -60,38 +64,43 @@ create(#wx_ref{type=ThisT,ref=ThisRef},Red,Green,Blue) wxe_util:call(?wxPalette_Create, <>). -%% @spec (This::wxPalette()) -> integer() %% @doc See external documentation. +-spec getColoursCount(This) -> integer() when + This::wxPalette(). getColoursCount(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPalette), wxe_util:call(?wxPalette_GetColoursCount, <>). -%% @spec (This::wxPalette(), Red::integer(), Green::integer(), Blue::integer()) -> integer() %% @doc See external documentation. +-spec getPixel(This, Red, Green, Blue) -> integer() when + This::wxPalette(), Red::integer(), Green::integer(), Blue::integer(). getPixel(#wx_ref{type=ThisT,ref=ThisRef},Red,Green,Blue) when is_integer(Red),is_integer(Green),is_integer(Blue) -> ?CLASS(ThisT,wxPalette), wxe_util:call(?wxPalette_GetPixel, <>). -%% @spec (This::wxPalette(), Pixel::integer()) -> {bool(), Red::integer(), Green::integer(), Blue::integer()} %% @doc See external documentation. +-spec getRGB(This, Pixel) -> Result when + Result ::{Res ::boolean(), Red::integer(), Green::integer(), Blue::integer()}, + This::wxPalette(), Pixel::integer(). getRGB(#wx_ref{type=ThisT,ref=ThisRef},Pixel) when is_integer(Pixel) -> ?CLASS(ThisT,wxPalette), wxe_util:call(?wxPalette_GetRGB, <>). -%% @spec (This::wxPalette()) -> bool() %% @doc See external documentation. +-spec isOk(This) -> boolean() when + This::wxPalette(). isOk(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPalette), wxe_util:call(?wxPalette_IsOk, <>). -%% @spec (This::wxPalette()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxPalette) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxPalette), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxPaletteChangedEvent.erl b/lib/wx/src/gen/wxPaletteChangedEvent.erl index 1831bf1375..aa9ae68ec2 100644 --- a/lib/wx/src/gen/wxPaletteChangedEvent.erl +++ b/lib/wx/src/gen/wxPaletteChangedEvent.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,20 +37,24 @@ -export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1, resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]). +-export_type([wxPaletteChangedEvent/0]). %% @hidden parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxPaletteChangedEvent(), Win::wxWindow:wxWindow()) -> ok +-type wxPaletteChangedEvent() :: wx:wx_object(). %% @doc See external documentation. +-spec setChangedWindow(This, Win) -> ok when + This::wxPaletteChangedEvent(), Win::wxWindow:wxWindow(). setChangedWindow(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WinT,ref=WinRef}) -> ?CLASS(ThisT,wxPaletteChangedEvent), ?CLASS(WinT,wxWindow), wxe_util:cast(?wxPaletteChangedEvent_SetChangedWindow, <>). -%% @spec (This::wxPaletteChangedEvent()) -> wxWindow:wxWindow() %% @doc See external documentation. +-spec getChangedWindow(This) -> wxWindow:wxWindow() when + This::wxPaletteChangedEvent(). getChangedWindow(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPaletteChangedEvent), wxe_util:call(?wxPaletteChangedEvent_GetChangedWindow, diff --git a/lib/wx/src/gen/wxPanel.erl b/lib/wx/src/gen/wxPanel.erl index 59fba03102..fb1781a775 100644 --- a/lib/wx/src/gen/wxPanel.erl +++ b/lib/wx/src/gen/wxPanel.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -68,26 +68,34 @@ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1, update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxPanel/0]). %% @hidden parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxPanel() +-type wxPanel() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxPanel(). new() -> wxe_util:construct(?wxPanel_new_0, <<>>). -%% @spec (Parent::wxWindow:wxWindow()) -> wxPanel() %% @equiv new(Parent, []) +-spec new(Parent) -> wxPanel() when + Parent::wxWindow:wxWindow(). + new(Parent) when is_record(Parent, wx_ref) -> new(Parent, []). -%% @spec (Parent::wxWindow:wxWindow(), [Option]) -> wxPanel() -%% Option = {winid, integer()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} %% @doc See external documentation. +-spec new(Parent, [Option]) -> wxPanel() when + Parent::wxWindow:wxWindow(), + Option :: {winid, integer()} + | {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()}. new(#wx_ref{type=ParentT,ref=ParentRef}, Options) when is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -100,15 +108,18 @@ new(#wx_ref{type=ParentT,ref=ParentRef}, Options) wxe_util:construct(?wxPanel_new_2, <>). -%% @spec (Parent::wxWindow:wxWindow(), X::integer(), Y::integer(), Width::integer(), Height::integer()) -> wxPanel() %% @equiv new(Parent,X,Y,Width,Height, []) +-spec new(Parent, X, Y, Width, Height) -> wxPanel() when + Parent::wxWindow:wxWindow(), X::integer(), Y::integer(), Width::integer(), Height::integer(). + new(Parent,X,Y,Width,Height) when is_record(Parent, wx_ref),is_integer(X),is_integer(Y),is_integer(Width),is_integer(Height) -> new(Parent,X,Y,Width,Height, []). -%% @spec (Parent::wxWindow:wxWindow(), X::integer(), Y::integer(), Width::integer(), Height::integer(), [Option]) -> wxPanel() -%% Option = {style, integer()} %% @doc See external documentation. +-spec new(Parent, X, Y, Width, Height, [Option]) -> wxPanel() when + Parent::wxWindow:wxWindow(), X::integer(), Y::integer(), Width::integer(), Height::integer(), + Option :: {style, integer()}. new(#wx_ref{type=ParentT,ref=ParentRef},X,Y,Width,Height, Options) when is_integer(X),is_integer(Y),is_integer(Width),is_integer(Height),is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -118,15 +129,16 @@ new(#wx_ref{type=ParentT,ref=ParentRef},X,Y,Width,Height, Options) wxe_util:construct(?wxPanel_new_6, <>). -%% @spec (This::wxPanel()) -> ok %% @doc See external documentation. +-spec initDialog(This) -> ok when + This::wxPanel(). initDialog(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPanel), wxe_util:cast(?wxPanel_InitDialog, <>). -%% @spec (This::wxPanel()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxPanel) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxPanel), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxPasswordEntryDialog.erl b/lib/wx/src/gen/wxPasswordEntryDialog.erl index 07a0bcef56..7508bf6506 100644 --- a/lib/wx/src/gen/wxPasswordEntryDialog.erl +++ b/lib/wx/src/gen/wxPasswordEntryDialog.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -79,6 +79,7 @@ transferDataFromWindow/1,transferDataToWindow/1,update/1,updateWindowUI/1, updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxPasswordEntryDialog/0]). %% @hidden parent_class(wxTextEntryDialog) -> true; parent_class(wxDialog) -> true; @@ -87,15 +88,22 @@ parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (Parent::wxWindow:wxWindow(), Message::string()) -> wxPasswordEntryDialog() +-type wxPasswordEntryDialog() :: wx:wx_object(). %% @equiv new(Parent,Message, []) +-spec new(Parent, Message) -> wxPasswordEntryDialog() when + Parent::wxWindow:wxWindow(), Message::string(). + new(Parent,Message) when is_record(Parent, wx_ref),is_list(Message) -> new(Parent,Message, []). -%% @spec (Parent::wxWindow:wxWindow(), Message::string(), [Option]) -> wxPasswordEntryDialog() -%% Option = {caption, string()} | {value, string()} | {style, integer()} | {pos, {X::integer(), Y::integer()}} %% @doc See external documentation. +-spec new(Parent, Message, [Option]) -> wxPasswordEntryDialog() when + Parent::wxWindow:wxWindow(), Message::string(), + Option :: {caption, string()} + | {value, string()} + | {style, integer()} + | {pos, {X::integer(), Y::integer()}}. new(#wx_ref{type=ParentT,ref=ParentRef},Message, Options) when is_list(Message),is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -109,8 +117,8 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Message, Options) wxe_util:construct(?wxPasswordEntryDialog_new, <>). -%% @spec (This::wxPasswordEntryDialog()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxPasswordEntryDialog) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxPasswordEntryDialog), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxPen.erl b/lib/wx/src/gen/wxPen.erl index ada95b0ee3..629f3edfd7 100644 --- a/lib/wx/src/gen/wxPen.erl +++ b/lib/wx/src/gen/wxPen.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -31,24 +31,30 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxPen/0]). %% @hidden parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxPen() +-type wxPen() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxPen(). new() -> wxe_util:construct(?wxPen_new_0, <<>>). -%% @spec (Colour::wx:colour()) -> wxPen() %% @equiv new(Colour, []) +-spec new(Colour) -> wxPen() when + Colour::wx:wx_colour(). + new(Colour) when tuple_size(Colour) =:= 3; tuple_size(Colour) =:= 4 -> new(Colour, []). -%% @spec (Colour::wx:colour(), [Option]) -> wxPen() -%% Option = {width, integer()} | {style, integer()} %% @doc See external documentation. +-spec new(Colour, [Option]) -> wxPen() when + Colour::wx:wx_colour(), + Option :: {width, integer()} + | {style, integer()}. new(Colour, Options) when tuple_size(Colour) =:= 3; tuple_size(Colour) =:= 4,is_list(Options) -> MOpts = fun({width, Width}, Acc) -> [<<1:32/?UI,Width:32/?UI>>|Acc]; @@ -58,98 +64,110 @@ new(Colour, Options) wxe_util:construct(?wxPen_new_2, <<(wxe_util:colour_bin(Colour)):16/binary, BinOpt/binary>>). -%% @spec (This::wxPen()) -> integer() %% @doc See external documentation. +-spec getCap(This) -> integer() when + This::wxPen(). getCap(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPen), wxe_util:call(?wxPen_GetCap, <>). -%% @spec (This::wxPen()) -> wx:colour() %% @doc See external documentation. +-spec getColour(This) -> wx:wx_colour() when + This::wxPen(). getColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPen), wxe_util:call(?wxPen_GetColour, <>). -%% @spec (This::wxPen()) -> integer() %% @doc See external documentation. +-spec getJoin(This) -> integer() when + This::wxPen(). getJoin(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPen), wxe_util:call(?wxPen_GetJoin, <>). -%% @spec (This::wxPen()) -> integer() %% @doc See external documentation. +-spec getStyle(This) -> integer() when + This::wxPen(). getStyle(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPen), wxe_util:call(?wxPen_GetStyle, <>). -%% @spec (This::wxPen()) -> integer() %% @doc See external documentation. +-spec getWidth(This) -> integer() when + This::wxPen(). getWidth(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPen), wxe_util:call(?wxPen_GetWidth, <>). -%% @spec (This::wxPen()) -> bool() %% @doc See external documentation. +-spec isOk(This) -> boolean() when + This::wxPen(). isOk(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPen), wxe_util:call(?wxPen_IsOk, <>). -%% @spec (This::wxPen(), CapStyle::integer()) -> ok %% @doc See external documentation. +-spec setCap(This, CapStyle) -> ok when + This::wxPen(), CapStyle::integer(). setCap(#wx_ref{type=ThisT,ref=ThisRef},CapStyle) when is_integer(CapStyle) -> ?CLASS(ThisT,wxPen), wxe_util:cast(?wxPen_SetCap, <>). -%% @spec (This::wxPen(), Colour::wx:colour()) -> ok %% @doc See external documentation. +-spec setColour(This, Colour) -> ok when + This::wxPen(), Colour::wx:wx_colour(). setColour(#wx_ref{type=ThisT,ref=ThisRef},Colour) when tuple_size(Colour) =:= 3; tuple_size(Colour) =:= 4 -> ?CLASS(ThisT,wxPen), wxe_util:cast(?wxPen_SetColour_1, <>). -%% @spec (This::wxPen(), Red::integer(), Green::integer(), Blue::integer()) -> ok %% @doc See external documentation. +-spec setColour(This, Red, Green, Blue) -> ok when + This::wxPen(), Red::integer(), Green::integer(), Blue::integer(). setColour(#wx_ref{type=ThisT,ref=ThisRef},Red,Green,Blue) when is_integer(Red),is_integer(Green),is_integer(Blue) -> ?CLASS(ThisT,wxPen), wxe_util:cast(?wxPen_SetColour_3, <>). -%% @spec (This::wxPen(), JoinStyle::integer()) -> ok %% @doc See external documentation. +-spec setJoin(This, JoinStyle) -> ok when + This::wxPen(), JoinStyle::integer(). setJoin(#wx_ref{type=ThisT,ref=ThisRef},JoinStyle) when is_integer(JoinStyle) -> ?CLASS(ThisT,wxPen), wxe_util:cast(?wxPen_SetJoin, <>). -%% @spec (This::wxPen(), Style::integer()) -> ok %% @doc See external documentation. +-spec setStyle(This, Style) -> ok when + This::wxPen(), Style::integer(). setStyle(#wx_ref{type=ThisT,ref=ThisRef},Style) when is_integer(Style) -> ?CLASS(ThisT,wxPen), wxe_util:cast(?wxPen_SetStyle, <>). -%% @spec (This::wxPen(), Width::integer()) -> ok %% @doc See external documentation. +-spec setWidth(This, Width) -> ok when + This::wxPen(), Width::integer(). setWidth(#wx_ref{type=ThisT,ref=ThisRef},Width) when is_integer(Width) -> ?CLASS(ThisT,wxPen), wxe_util:cast(?wxPen_SetWidth, <>). -%% @spec (This::wxPen()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxPen) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxPen), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxPickerBase.erl b/lib/wx/src/gen/wxPickerBase.erl index e60ab4f9d8..2253127d84 100644 --- a/lib/wx/src/gen/wxPickerBase.erl +++ b/lib/wx/src/gen/wxPickerBase.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,87 +72,101 @@ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1, update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxPickerBase/0]). %% @hidden parent_class(wxControl) -> true; parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxPickerBase(), Newmargin::integer()) -> ok +-type wxPickerBase() :: wx:wx_object(). %% @doc See external documentation. +-spec setInternalMargin(This, Newmargin) -> ok when + This::wxPickerBase(), Newmargin::integer(). setInternalMargin(#wx_ref{type=ThisT,ref=ThisRef},Newmargin) when is_integer(Newmargin) -> ?CLASS(ThisT,wxPickerBase), wxe_util:cast(?wxPickerBase_SetInternalMargin, <>). -%% @spec (This::wxPickerBase()) -> integer() %% @doc See external documentation. +-spec getInternalMargin(This) -> integer() when + This::wxPickerBase(). getInternalMargin(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPickerBase), wxe_util:call(?wxPickerBase_GetInternalMargin, <>). -%% @spec (This::wxPickerBase(), Prop::integer()) -> ok %% @doc See external documentation. +-spec setTextCtrlProportion(This, Prop) -> ok when + This::wxPickerBase(), Prop::integer(). setTextCtrlProportion(#wx_ref{type=ThisT,ref=ThisRef},Prop) when is_integer(Prop) -> ?CLASS(ThisT,wxPickerBase), wxe_util:cast(?wxPickerBase_SetTextCtrlProportion, <>). -%% @spec (This::wxPickerBase(), Prop::integer()) -> ok %% @doc See external documentation. +-spec setPickerCtrlProportion(This, Prop) -> ok when + This::wxPickerBase(), Prop::integer(). setPickerCtrlProportion(#wx_ref{type=ThisT,ref=ThisRef},Prop) when is_integer(Prop) -> ?CLASS(ThisT,wxPickerBase), wxe_util:cast(?wxPickerBase_SetPickerCtrlProportion, <>). -%% @spec (This::wxPickerBase()) -> integer() %% @doc See external documentation. +-spec getTextCtrlProportion(This) -> integer() when + This::wxPickerBase(). getTextCtrlProportion(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPickerBase), wxe_util:call(?wxPickerBase_GetTextCtrlProportion, <>). -%% @spec (This::wxPickerBase()) -> integer() %% @doc See external documentation. +-spec getPickerCtrlProportion(This) -> integer() when + This::wxPickerBase(). getPickerCtrlProportion(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPickerBase), wxe_util:call(?wxPickerBase_GetPickerCtrlProportion, <>). -%% @spec (This::wxPickerBase()) -> bool() %% @doc See external documentation. +-spec hasTextCtrl(This) -> boolean() when + This::wxPickerBase(). hasTextCtrl(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPickerBase), wxe_util:call(?wxPickerBase_HasTextCtrl, <>). -%% @spec (This::wxPickerBase()) -> wxTextCtrl:wxTextCtrl() %% @doc See external documentation. +-spec getTextCtrl(This) -> wxTextCtrl:wxTextCtrl() when + This::wxPickerBase(). getTextCtrl(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPickerBase), wxe_util:call(?wxPickerBase_GetTextCtrl, <>). -%% @spec (This::wxPickerBase()) -> bool() %% @doc See external documentation. +-spec isTextCtrlGrowable(This) -> boolean() when + This::wxPickerBase(). isTextCtrlGrowable(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPickerBase), wxe_util:call(?wxPickerBase_IsTextCtrlGrowable, <>). -%% @spec (This::wxPickerBase()) -> ok %% @equiv setPickerCtrlGrowable(This, []) +-spec setPickerCtrlGrowable(This) -> ok when + This::wxPickerBase(). + setPickerCtrlGrowable(This) when is_record(This, wx_ref) -> setPickerCtrlGrowable(This, []). -%% @spec (This::wxPickerBase(), [Option]) -> ok -%% Option = {grow, bool()} %% @doc See external documentation. +-spec setPickerCtrlGrowable(This, [Option]) -> ok when + This::wxPickerBase(), + Option :: {grow, boolean()}. setPickerCtrlGrowable(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxPickerBase), @@ -162,15 +176,18 @@ setPickerCtrlGrowable(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:cast(?wxPickerBase_SetPickerCtrlGrowable, <>). -%% @spec (This::wxPickerBase()) -> ok %% @equiv setTextCtrlGrowable(This, []) +-spec setTextCtrlGrowable(This) -> ok when + This::wxPickerBase(). + setTextCtrlGrowable(This) when is_record(This, wx_ref) -> setTextCtrlGrowable(This, []). -%% @spec (This::wxPickerBase(), [Option]) -> ok -%% Option = {grow, bool()} %% @doc See external documentation. +-spec setTextCtrlGrowable(This, [Option]) -> ok when + This::wxPickerBase(), + Option :: {grow, boolean()}. setTextCtrlGrowable(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxPickerBase), @@ -180,8 +197,9 @@ setTextCtrlGrowable(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:cast(?wxPickerBase_SetTextCtrlGrowable, <>). -%% @spec (This::wxPickerBase()) -> bool() %% @doc See external documentation. +-spec isPickerCtrlGrowable(This) -> boolean() when + This::wxPickerBase(). isPickerCtrlGrowable(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPickerBase), wxe_util:call(?wxPickerBase_IsPickerCtrlGrowable, diff --git a/lib/wx/src/gen/wxPostScriptDC.erl b/lib/wx/src/gen/wxPostScriptDC.erl index df3edfade9..4e08ef8c81 100644 --- a/lib/wx/src/gen/wxPostScriptDC.erl +++ b/lib/wx/src/gen/wxPostScriptDC.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -52,38 +52,42 @@ setPen/2,setTextBackground/2,setTextForeground/2,setUserScale/3,startDoc/2, startPage/1]). +-export_type([wxPostScriptDC/0]). %% @hidden parent_class(wxDC) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxPostScriptDC() +-type wxPostScriptDC() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxPostScriptDC(). new() -> wxe_util:construct(?wxPostScriptDC_new_0, <<>>). -%% @spec (PrintData::wxPrintData:wxPrintData()) -> wxPostScriptDC() %% @doc See external documentation. +-spec new(PrintData) -> wxPostScriptDC() when + PrintData::wxPrintData:wxPrintData(). new(#wx_ref{type=PrintDataT,ref=PrintDataRef}) -> ?CLASS(PrintDataT,wxPrintData), wxe_util:construct(?wxPostScriptDC_new_1, <>). -%% @spec (Ppi::integer()) -> ok %% @doc See external documentation. +-spec setResolution(Ppi) -> ok when + Ppi::integer(). setResolution(Ppi) when is_integer(Ppi) -> wxe_util:cast(?wxPostScriptDC_SetResolution, <>). -%% @spec () -> integer() %% @doc See external documentation. +-spec getResolution() -> integer(). getResolution() -> wxe_util:call(?wxPostScriptDC_GetResolution, <<>>). -%% @spec (This::wxPostScriptDC()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxPostScriptDC) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxPostScriptDC), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxPreviewCanvas.erl b/lib/wx/src/gen/wxPreviewCanvas.erl index d33aeedb70..cc9f43e5e4 100644 --- a/lib/wx/src/gen/wxPreviewCanvas.erl +++ b/lib/wx/src/gen/wxPreviewCanvas.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -74,6 +74,7 @@ transferDataToWindow/1,update/1,updateWindowUI/1,updateWindowUI/2, validate/1,warpPointer/3]). +-export_type([wxPreviewCanvas/0]). %% @hidden parent_class(wxScrolledWindow) -> true; parent_class(wxPanel) -> true; @@ -81,6 +82,7 @@ parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). +-type wxPreviewCanvas() :: wx:wx_object(). %% From wxScrolledWindow %% @hidden setTargetWindow(This,Target) -> wxScrolledWindow:setTargetWindow(This,Target). diff --git a/lib/wx/src/gen/wxPreviewControlBar.erl b/lib/wx/src/gen/wxPreviewControlBar.erl index e85af625e2..b59ac18443 100644 --- a/lib/wx/src/gen/wxPreviewControlBar.erl +++ b/lib/wx/src/gen/wxPreviewControlBar.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -70,21 +70,28 @@ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1, update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxPreviewControlBar/0]). %% @hidden parent_class(wxPanel) -> true; parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (Preview::wxPrintPreview:wxPrintPreview(), Buttons::integer(), Parent::wxWindow:wxWindow()) -> wxPreviewControlBar() +-type wxPreviewControlBar() :: wx:wx_object(). %% @equiv new(Preview,Buttons,Parent, []) +-spec new(Preview, Buttons, Parent) -> wxPreviewControlBar() when + Preview::wxPrintPreview:wxPrintPreview(), Buttons::integer(), Parent::wxWindow:wxWindow(). + new(Preview,Buttons,Parent) when is_record(Preview, wx_ref),is_integer(Buttons),is_record(Parent, wx_ref) -> new(Preview,Buttons,Parent, []). -%% @spec (Preview::wxPrintPreview:wxPrintPreview(), Buttons::integer(), Parent::wxWindow:wxWindow(), [Option]) -> wxPreviewControlBar() -%% Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} %% @doc See external documentation. +-spec new(Preview, Buttons, Parent, [Option]) -> wxPreviewControlBar() when + Preview::wxPrintPreview:wxPrintPreview(), Buttons::integer(), Parent::wxWindow:wxWindow(), + Option :: {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()}. new(#wx_ref{type=PreviewT,ref=PreviewRef},Buttons,#wx_ref{type=ParentT,ref=ParentRef}, Options) when is_integer(Buttons),is_list(Options) -> ?CLASS(PreviewT,wxPrintPreview), @@ -97,37 +104,41 @@ new(#wx_ref{type=PreviewT,ref=PreviewRef},Buttons,#wx_ref{type=ParentT,ref=Paren wxe_util:construct(?wxPreviewControlBar_new, <>). -%% @spec (This::wxPreviewControlBar()) -> ok %% @doc See external documentation. +-spec createButtons(This) -> ok when + This::wxPreviewControlBar(). createButtons(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPreviewControlBar), wxe_util:cast(?wxPreviewControlBar_CreateButtons, <>). -%% @spec (This::wxPreviewControlBar()) -> wxPrintPreview:wxPrintPreview() %% @doc See external documentation. +-spec getPrintPreview(This) -> wxPrintPreview:wxPrintPreview() when + This::wxPreviewControlBar(). getPrintPreview(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPreviewControlBar), wxe_util:call(?wxPreviewControlBar_GetPrintPreview, <>). -%% @spec (This::wxPreviewControlBar()) -> integer() %% @doc See external documentation. +-spec getZoomControl(This) -> integer() when + This::wxPreviewControlBar(). getZoomControl(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPreviewControlBar), wxe_util:call(?wxPreviewControlBar_GetZoomControl, <>). -%% @spec (This::wxPreviewControlBar(), Zoom::integer()) -> ok %% @doc See external documentation. +-spec setZoomControl(This, Zoom) -> ok when + This::wxPreviewControlBar(), Zoom::integer(). setZoomControl(#wx_ref{type=ThisT,ref=ThisRef},Zoom) when is_integer(Zoom) -> ?CLASS(ThisT,wxPreviewControlBar), wxe_util:cast(?wxPreviewControlBar_SetZoomControl, <>). -%% @spec (This::wxPreviewControlBar()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxPreviewControlBar) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxPreviewControlBar), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxPreviewFrame.erl b/lib/wx/src/gen/wxPreviewFrame.erl index da43f86030..162e7b1621 100644 --- a/lib/wx/src/gen/wxPreviewFrame.erl +++ b/lib/wx/src/gen/wxPreviewFrame.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -81,6 +81,7 @@ transferDataToWindow/1,update/1,updateWindowUI/1,updateWindowUI/2, validate/1,warpPointer/3]). +-export_type([wxPreviewFrame/0]). %% @hidden parent_class(wxFrame) -> true; parent_class(wxTopLevelWindow) -> true; @@ -88,15 +89,22 @@ parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (Preview::wxPrintPreview:wxPrintPreview(), Parent::wxWindow:wxWindow()) -> wxPreviewFrame() +-type wxPreviewFrame() :: wx:wx_object(). %% @equiv new(Preview,Parent, []) +-spec new(Preview, Parent) -> wxPreviewFrame() when + Preview::wxPrintPreview:wxPrintPreview(), Parent::wxWindow:wxWindow(). + new(Preview,Parent) when is_record(Preview, wx_ref),is_record(Parent, wx_ref) -> new(Preview,Parent, []). -%% @spec (Preview::wxPrintPreview:wxPrintPreview(), Parent::wxWindow:wxWindow(), [Option]) -> wxPreviewFrame() -%% Option = {title, string()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} %% @doc See external documentation. +-spec new(Preview, Parent, [Option]) -> wxPreviewFrame() when + Preview::wxPrintPreview:wxPrintPreview(), Parent::wxWindow:wxWindow(), + Option :: {title, string()} + | {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()}. new(#wx_ref{type=PreviewT,ref=PreviewRef},#wx_ref{type=ParentT,ref=ParentRef}, Options) when is_list(Options) -> ?CLASS(PreviewT,wxPrintPreview), @@ -110,37 +118,41 @@ new(#wx_ref{type=PreviewT,ref=PreviewRef},#wx_ref{type=ParentT,ref=ParentRef}, O wxe_util:construct(?wxPreviewFrame_new, <>). -%% @spec (This::wxPreviewFrame()) -> ok %% @doc See external documentation. +-spec createControlBar(This) -> ok when + This::wxPreviewFrame(). createControlBar(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPreviewFrame), wxe_util:cast(?wxPreviewFrame_CreateControlBar, <>). -%% @spec (This::wxPreviewFrame()) -> ok %% @doc See external documentation. +-spec createCanvas(This) -> ok when + This::wxPreviewFrame(). createCanvas(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPreviewFrame), wxe_util:cast(?wxPreviewFrame_CreateCanvas, <>). -%% @spec (This::wxPreviewFrame()) -> ok %% @doc See external documentation. +-spec initialize(This) -> ok when + This::wxPreviewFrame(). initialize(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPreviewFrame), wxe_util:cast(?wxPreviewFrame_Initialize, <>). -%% @spec (This::wxPreviewFrame(), Event::wxCloseEvent:wxCloseEvent()) -> ok %% @doc See external documentation. +-spec onCloseWindow(This, Event) -> ok when + This::wxPreviewFrame(), Event::wxCloseEvent:wxCloseEvent(). onCloseWindow(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=EventT,ref=EventRef}) -> ?CLASS(ThisT,wxPreviewFrame), ?CLASS(EventT,wxCloseEvent), wxe_util:cast(?wxPreviewFrame_OnCloseWindow, <>). -%% @spec (This::wxPreviewFrame()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxPreviewFrame) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxPreviewFrame), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxPrintData.erl b/lib/wx/src/gen/wxPrintData.erl index f3e8ad3612..5b5f872abc 100644 --- a/lib/wx/src/gen/wxPrintData.erl +++ b/lib/wx/src/gen/wxPrintData.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,158 +32,175 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxPrintData/0]). %% @hidden parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxPrintData() +-type wxPrintData() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxPrintData(). new() -> wxe_util:construct(?wxPrintData_new_0, <<>>). -%% @spec (PrintData::wxPrintData()) -> wxPrintData() %% @doc See external documentation. +-spec new(PrintData) -> wxPrintData() when + PrintData::wxPrintData(). new(#wx_ref{type=PrintDataT,ref=PrintDataRef}) -> ?CLASS(PrintDataT,wxPrintData), wxe_util:construct(?wxPrintData_new_1, <>). -%% @spec (This::wxPrintData()) -> bool() %% @doc See external documentation. +-spec getCollate(This) -> boolean() when + This::wxPrintData(). getCollate(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPrintData), wxe_util:call(?wxPrintData_GetCollate, <>). -%% @spec (This::wxPrintData()) -> WxPrintBin -%% WxPrintBin = integer() %% @doc See external documentation. -%%
WxPrintBin is one of ?wxPRINTBIN_DEFAULT | ?wxPRINTBIN_ONLYONE | ?wxPRINTBIN_LOWER | ?wxPRINTBIN_MIDDLE | ?wxPRINTBIN_MANUAL | ?wxPRINTBIN_ENVELOPE | ?wxPRINTBIN_ENVMANUAL | ?wxPRINTBIN_AUTO | ?wxPRINTBIN_TRACTOR | ?wxPRINTBIN_SMALLFMT | ?wxPRINTBIN_LARGEFMT | ?wxPRINTBIN_LARGECAPACITY | ?wxPRINTBIN_CASSETTE | ?wxPRINTBIN_FORMSOURCE | ?wxPRINTBIN_USER +%%
Res = ?wxPRINTBIN_DEFAULT | ?wxPRINTBIN_ONLYONE | ?wxPRINTBIN_LOWER | ?wxPRINTBIN_MIDDLE | ?wxPRINTBIN_MANUAL | ?wxPRINTBIN_ENVELOPE | ?wxPRINTBIN_ENVMANUAL | ?wxPRINTBIN_AUTO | ?wxPRINTBIN_TRACTOR | ?wxPRINTBIN_SMALLFMT | ?wxPRINTBIN_LARGEFMT | ?wxPRINTBIN_LARGECAPACITY | ?wxPRINTBIN_CASSETTE | ?wxPRINTBIN_FORMSOURCE | ?wxPRINTBIN_USER +-spec getBin(This) -> wx:wx_enum() when + This::wxPrintData(). getBin(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPrintData), wxe_util:call(?wxPrintData_GetBin, <>). -%% @spec (This::wxPrintData()) -> bool() %% @doc See external documentation. +-spec getColour(This) -> boolean() when + This::wxPrintData(). getColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPrintData), wxe_util:call(?wxPrintData_GetColour, <>). -%% @spec (This::wxPrintData()) -> WxDuplexMode -%% WxDuplexMode = integer() %% @doc See external documentation. -%%
WxDuplexMode is one of ?wxDUPLEX_SIMPLEX | ?wxDUPLEX_HORIZONTAL | ?wxDUPLEX_VERTICAL +%%
Res = ?wxDUPLEX_SIMPLEX | ?wxDUPLEX_HORIZONTAL | ?wxDUPLEX_VERTICAL +-spec getDuplex(This) -> wx:wx_enum() when + This::wxPrintData(). getDuplex(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPrintData), wxe_util:call(?wxPrintData_GetDuplex, <>). -%% @spec (This::wxPrintData()) -> integer() %% @doc See external documentation. +-spec getNoCopies(This) -> integer() when + This::wxPrintData(). getNoCopies(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPrintData), wxe_util:call(?wxPrintData_GetNoCopies, <>). -%% @spec (This::wxPrintData()) -> integer() %% @doc See external documentation. +-spec getOrientation(This) -> integer() when + This::wxPrintData(). getOrientation(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPrintData), wxe_util:call(?wxPrintData_GetOrientation, <>). -%% @spec (This::wxPrintData()) -> integer() %% @doc See external documentation. +-spec getPaperId(This) -> integer() when + This::wxPrintData(). getPaperId(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPrintData), wxe_util:call(?wxPrintData_GetPaperId, <>). -%% @spec (This::wxPrintData()) -> string() %% @doc See external documentation. +-spec getPrinterName(This) -> string() when + This::wxPrintData(). getPrinterName(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPrintData), wxe_util:call(?wxPrintData_GetPrinterName, <>). -%% @spec (This::wxPrintData()) -> integer() %% @doc See external documentation. +-spec getQuality(This) -> integer() when + This::wxPrintData(). getQuality(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPrintData), wxe_util:call(?wxPrintData_GetQuality, <>). -%% @spec (This::wxPrintData()) -> bool() %% @doc See external documentation. +-spec isOk(This) -> boolean() when + This::wxPrintData(). isOk(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPrintData), wxe_util:call(?wxPrintData_IsOk, <>). -%% @spec (This::wxPrintData(), Bin::WxPrintBin) -> ok -%% WxPrintBin = integer() %% @doc See external documentation. -%%
WxPrintBin is one of ?wxPRINTBIN_DEFAULT | ?wxPRINTBIN_ONLYONE | ?wxPRINTBIN_LOWER | ?wxPRINTBIN_MIDDLE | ?wxPRINTBIN_MANUAL | ?wxPRINTBIN_ENVELOPE | ?wxPRINTBIN_ENVMANUAL | ?wxPRINTBIN_AUTO | ?wxPRINTBIN_TRACTOR | ?wxPRINTBIN_SMALLFMT | ?wxPRINTBIN_LARGEFMT | ?wxPRINTBIN_LARGECAPACITY | ?wxPRINTBIN_CASSETTE | ?wxPRINTBIN_FORMSOURCE | ?wxPRINTBIN_USER +%%
Bin = ?wxPRINTBIN_DEFAULT | ?wxPRINTBIN_ONLYONE | ?wxPRINTBIN_LOWER | ?wxPRINTBIN_MIDDLE | ?wxPRINTBIN_MANUAL | ?wxPRINTBIN_ENVELOPE | ?wxPRINTBIN_ENVMANUAL | ?wxPRINTBIN_AUTO | ?wxPRINTBIN_TRACTOR | ?wxPRINTBIN_SMALLFMT | ?wxPRINTBIN_LARGEFMT | ?wxPRINTBIN_LARGECAPACITY | ?wxPRINTBIN_CASSETTE | ?wxPRINTBIN_FORMSOURCE | ?wxPRINTBIN_USER +-spec setBin(This, Bin) -> ok when + This::wxPrintData(), Bin::wx:wx_enum(). setBin(#wx_ref{type=ThisT,ref=ThisRef},Bin) when is_integer(Bin) -> ?CLASS(ThisT,wxPrintData), wxe_util:cast(?wxPrintData_SetBin, <>). -%% @spec (This::wxPrintData(), Flag::bool()) -> ok %% @doc See external documentation. +-spec setCollate(This, Flag) -> ok when + This::wxPrintData(), Flag::boolean(). setCollate(#wx_ref{type=ThisT,ref=ThisRef},Flag) when is_boolean(Flag) -> ?CLASS(ThisT,wxPrintData), wxe_util:cast(?wxPrintData_SetCollate, <>). -%% @spec (This::wxPrintData(), Colour::bool()) -> ok %% @doc See external documentation. +-spec setColour(This, Colour) -> ok when + This::wxPrintData(), Colour::boolean(). setColour(#wx_ref{type=ThisT,ref=ThisRef},Colour) when is_boolean(Colour) -> ?CLASS(ThisT,wxPrintData), wxe_util:cast(?wxPrintData_SetColour, <>). -%% @spec (This::wxPrintData(), Duplex::WxDuplexMode) -> ok -%% WxDuplexMode = integer() %% @doc See external documentation. -%%
WxDuplexMode is one of ?wxDUPLEX_SIMPLEX | ?wxDUPLEX_HORIZONTAL | ?wxDUPLEX_VERTICAL +%%
Duplex = ?wxDUPLEX_SIMPLEX | ?wxDUPLEX_HORIZONTAL | ?wxDUPLEX_VERTICAL +-spec setDuplex(This, Duplex) -> ok when + This::wxPrintData(), Duplex::wx:wx_enum(). setDuplex(#wx_ref{type=ThisT,ref=ThisRef},Duplex) when is_integer(Duplex) -> ?CLASS(ThisT,wxPrintData), wxe_util:cast(?wxPrintData_SetDuplex, <>). -%% @spec (This::wxPrintData(), V::integer()) -> ok %% @doc See external documentation. +-spec setNoCopies(This, V) -> ok when + This::wxPrintData(), V::integer(). setNoCopies(#wx_ref{type=ThisT,ref=ThisRef},V) when is_integer(V) -> ?CLASS(ThisT,wxPrintData), wxe_util:cast(?wxPrintData_SetNoCopies, <>). -%% @spec (This::wxPrintData(), Orient::integer()) -> ok %% @doc See external documentation. +-spec setOrientation(This, Orient) -> ok when + This::wxPrintData(), Orient::integer(). setOrientation(#wx_ref{type=ThisT,ref=ThisRef},Orient) when is_integer(Orient) -> ?CLASS(ThisT,wxPrintData), wxe_util:cast(?wxPrintData_SetOrientation, <>). -%% @spec (This::wxPrintData(), SizeId::integer()) -> ok %% @doc See external documentation. +-spec setPaperId(This, SizeId) -> ok when + This::wxPrintData(), SizeId::integer(). setPaperId(#wx_ref{type=ThisT,ref=ThisRef},SizeId) when is_integer(SizeId) -> ?CLASS(ThisT,wxPrintData), wxe_util:cast(?wxPrintData_SetPaperId, <>). -%% @spec (This::wxPrintData(), Name::string()) -> ok %% @doc See external documentation. +-spec setPrinterName(This, Name) -> ok when + This::wxPrintData(), Name::string(). setPrinterName(#wx_ref{type=ThisT,ref=ThisRef},Name) when is_list(Name) -> ?CLASS(ThisT,wxPrintData), @@ -191,16 +208,17 @@ setPrinterName(#wx_ref{type=ThisT,ref=ThisRef},Name) wxe_util:cast(?wxPrintData_SetPrinterName, <>). -%% @spec (This::wxPrintData(), Quality::integer()) -> ok %% @doc See external documentation. +-spec setQuality(This, Quality) -> ok when + This::wxPrintData(), Quality::integer(). setQuality(#wx_ref{type=ThisT,ref=ThisRef},Quality) when is_integer(Quality) -> ?CLASS(ThisT,wxPrintData), wxe_util:cast(?wxPrintData_SetQuality, <>). -%% @spec (This::wxPrintData()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxPrintData) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxPrintData), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxPrintDialog.erl b/lib/wx/src/gen/wxPrintDialog.erl index a2f4bfa4eb..3e38bd5f10 100644 --- a/lib/wx/src/gen/wxPrintDialog.erl +++ b/lib/wx/src/gen/wxPrintDialog.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -77,6 +77,7 @@ transferDataFromWindow/1,transferDataToWindow/1,update/1,updateWindowUI/1, updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxPrintDialog/0]). %% @hidden parent_class(wxDialog) -> true; parent_class(wxTopLevelWindow) -> true; @@ -84,22 +85,21 @@ parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (Parent::wxWindow:wxWindow()) -> wxPrintDialog() +-type wxPrintDialog() :: wx:wx_object(). %% @equiv new(Parent, []) +-spec new(Parent) -> wxPrintDialog() when + Parent::wxWindow:wxWindow(). + new(Parent) when is_record(Parent, wx_ref) -> new(Parent, []). -%% @spec (Parent::wxWindow:wxWindow(),X::term()) -> wxPrintDialog() %% @doc See external documentation. -%%
Alternatives: -%%

-%% new(Parent::wxWindow:wxWindow(), [Option]) -> wxPrintDialog() -%%
Option = {data, wxPrintDialogData:wxPrintDialogData()} -%%

-%%

-%% new(Parent::wxWindow:wxWindow(), Data::wxPrintData:wxPrintData()) -> wxPrintDialog() -%%

+-spec new(Parent, [Option]) -> wxPrintDialog() when + Parent::wxWindow:wxWindow(), + Option :: {data, wxPrintDialogData:wxPrintDialogData()}; + (Parent, Data) -> wxPrintDialog() when + Parent::wxWindow:wxWindow(), Data::wxPrintData:wxPrintData(). new(#wx_ref{type=ParentT,ref=ParentRef}, Options) when is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -114,22 +114,24 @@ new(#wx_ref{type=ParentT,ref=ParentRef},#wx_ref{type=DataT,ref=DataRef}) -> wxe_util:construct(?wxPrintDialog_new_2_1, <>). -%% @spec (This::wxPrintDialog()) -> wxPrintDialogData:wxPrintDialogData() %% @doc See external documentation. +-spec getPrintDialogData(This) -> wxPrintDialogData:wxPrintDialogData() when + This::wxPrintDialog(). getPrintDialogData(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPrintDialog), wxe_util:call(?wxPrintDialog_GetPrintDialogData, <>). -%% @spec (This::wxPrintDialog()) -> wxDC:wxDC() %% @doc See external documentation. +-spec getPrintDC(This) -> wxDC:wxDC() when + This::wxPrintDialog(). getPrintDC(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPrintDialog), wxe_util:call(?wxPrintDialog_GetPrintDC, <>). -%% @spec (This::wxPrintDialog()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxPrintDialog) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxPrintDialog), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxPrintDialogData.erl b/lib/wx/src/gen/wxPrintDialogData.erl index a7e8d41f2e..ec554bfb88 100644 --- a/lib/wx/src/gen/wxPrintDialogData.erl +++ b/lib/wx/src/gen/wxPrintDialogData.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -33,17 +33,20 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxPrintDialogData/0]). %% @hidden parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxPrintDialogData() +-type wxPrintDialogData() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxPrintDialogData(). new() -> wxe_util:construct(?wxPrintDialogData_new_0, <<>>). -%% @spec (DialogData::wxPrintDialogData() | wxPrintData:wxPrintData()) -> wxPrintDialogData() %% @doc See external documentation. +-spec new(DialogData) -> wxPrintDialogData() when + DialogData::wxPrintDialogData() | wxPrintData:wxPrintData(). new(#wx_ref{type=DialogDataT,ref=DialogDataRef}) -> DialogDataOP = case ?CLASS_T(DialogDataT,wxPrintDialogData) of true -> @@ -54,189 +57,213 @@ new(#wx_ref{type=DialogDataT,ref=DialogDataRef}) -> wxe_util:construct(DialogDataOP, <>). -%% @spec (This::wxPrintDialogData(), Flag::bool()) -> ok %% @doc See external documentation. +-spec enableHelp(This, Flag) -> ok when + This::wxPrintDialogData(), Flag::boolean(). enableHelp(#wx_ref{type=ThisT,ref=ThisRef},Flag) when is_boolean(Flag) -> ?CLASS(ThisT,wxPrintDialogData), wxe_util:cast(?wxPrintDialogData_EnableHelp, <>). -%% @spec (This::wxPrintDialogData(), Flag::bool()) -> ok %% @doc See external documentation. +-spec enablePageNumbers(This, Flag) -> ok when + This::wxPrintDialogData(), Flag::boolean(). enablePageNumbers(#wx_ref{type=ThisT,ref=ThisRef},Flag) when is_boolean(Flag) -> ?CLASS(ThisT,wxPrintDialogData), wxe_util:cast(?wxPrintDialogData_EnablePageNumbers, <>). -%% @spec (This::wxPrintDialogData(), Flag::bool()) -> ok %% @doc See external documentation. +-spec enablePrintToFile(This, Flag) -> ok when + This::wxPrintDialogData(), Flag::boolean(). enablePrintToFile(#wx_ref{type=ThisT,ref=ThisRef},Flag) when is_boolean(Flag) -> ?CLASS(ThisT,wxPrintDialogData), wxe_util:cast(?wxPrintDialogData_EnablePrintToFile, <>). -%% @spec (This::wxPrintDialogData(), Flag::bool()) -> ok %% @doc See external documentation. +-spec enableSelection(This, Flag) -> ok when + This::wxPrintDialogData(), Flag::boolean(). enableSelection(#wx_ref{type=ThisT,ref=ThisRef},Flag) when is_boolean(Flag) -> ?CLASS(ThisT,wxPrintDialogData), wxe_util:cast(?wxPrintDialogData_EnableSelection, <>). -%% @spec (This::wxPrintDialogData()) -> bool() %% @doc See external documentation. +-spec getAllPages(This) -> boolean() when + This::wxPrintDialogData(). getAllPages(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPrintDialogData), wxe_util:call(?wxPrintDialogData_GetAllPages, <>). -%% @spec (This::wxPrintDialogData()) -> bool() %% @doc See external documentation. +-spec getCollate(This) -> boolean() when + This::wxPrintDialogData(). getCollate(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPrintDialogData), wxe_util:call(?wxPrintDialogData_GetCollate, <>). -%% @spec (This::wxPrintDialogData()) -> integer() %% @doc See external documentation. +-spec getFromPage(This) -> integer() when + This::wxPrintDialogData(). getFromPage(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPrintDialogData), wxe_util:call(?wxPrintDialogData_GetFromPage, <>). -%% @spec (This::wxPrintDialogData()) -> integer() %% @doc See external documentation. +-spec getMaxPage(This) -> integer() when + This::wxPrintDialogData(). getMaxPage(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPrintDialogData), wxe_util:call(?wxPrintDialogData_GetMaxPage, <>). -%% @spec (This::wxPrintDialogData()) -> integer() %% @doc See external documentation. +-spec getMinPage(This) -> integer() when + This::wxPrintDialogData(). getMinPage(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPrintDialogData), wxe_util:call(?wxPrintDialogData_GetMinPage, <>). -%% @spec (This::wxPrintDialogData()) -> integer() %% @doc See external documentation. +-spec getNoCopies(This) -> integer() when + This::wxPrintDialogData(). getNoCopies(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPrintDialogData), wxe_util:call(?wxPrintDialogData_GetNoCopies, <>). -%% @spec (This::wxPrintDialogData()) -> wxPrintData:wxPrintData() %% @doc See external documentation. +-spec getPrintData(This) -> wxPrintData:wxPrintData() when + This::wxPrintDialogData(). getPrintData(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPrintDialogData), wxe_util:call(?wxPrintDialogData_GetPrintData, <>). -%% @spec (This::wxPrintDialogData()) -> bool() %% @doc See external documentation. +-spec getPrintToFile(This) -> boolean() when + This::wxPrintDialogData(). getPrintToFile(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPrintDialogData), wxe_util:call(?wxPrintDialogData_GetPrintToFile, <>). -%% @spec (This::wxPrintDialogData()) -> bool() %% @doc See external documentation. +-spec getSelection(This) -> boolean() when + This::wxPrintDialogData(). getSelection(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPrintDialogData), wxe_util:call(?wxPrintDialogData_GetSelection, <>). -%% @spec (This::wxPrintDialogData()) -> integer() %% @doc See external documentation. +-spec getToPage(This) -> integer() when + This::wxPrintDialogData(). getToPage(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPrintDialogData), wxe_util:call(?wxPrintDialogData_GetToPage, <>). -%% @spec (This::wxPrintDialogData()) -> bool() %% @doc See external documentation. +-spec isOk(This) -> boolean() when + This::wxPrintDialogData(). isOk(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPrintDialogData), wxe_util:call(?wxPrintDialogData_IsOk, <>). -%% @spec (This::wxPrintDialogData(), Flag::bool()) -> ok %% @doc See external documentation. +-spec setCollate(This, Flag) -> ok when + This::wxPrintDialogData(), Flag::boolean(). setCollate(#wx_ref{type=ThisT,ref=ThisRef},Flag) when is_boolean(Flag) -> ?CLASS(ThisT,wxPrintDialogData), wxe_util:cast(?wxPrintDialogData_SetCollate, <>). -%% @spec (This::wxPrintDialogData(), V::integer()) -> ok %% @doc See external documentation. +-spec setFromPage(This, V) -> ok when + This::wxPrintDialogData(), V::integer(). setFromPage(#wx_ref{type=ThisT,ref=ThisRef},V) when is_integer(V) -> ?CLASS(ThisT,wxPrintDialogData), wxe_util:cast(?wxPrintDialogData_SetFromPage, <>). -%% @spec (This::wxPrintDialogData(), V::integer()) -> ok %% @doc See external documentation. +-spec setMaxPage(This, V) -> ok when + This::wxPrintDialogData(), V::integer(). setMaxPage(#wx_ref{type=ThisT,ref=ThisRef},V) when is_integer(V) -> ?CLASS(ThisT,wxPrintDialogData), wxe_util:cast(?wxPrintDialogData_SetMaxPage, <>). -%% @spec (This::wxPrintDialogData(), V::integer()) -> ok %% @doc See external documentation. +-spec setMinPage(This, V) -> ok when + This::wxPrintDialogData(), V::integer(). setMinPage(#wx_ref{type=ThisT,ref=ThisRef},V) when is_integer(V) -> ?CLASS(ThisT,wxPrintDialogData), wxe_util:cast(?wxPrintDialogData_SetMinPage, <>). -%% @spec (This::wxPrintDialogData(), V::integer()) -> ok %% @doc See external documentation. +-spec setNoCopies(This, V) -> ok when + This::wxPrintDialogData(), V::integer(). setNoCopies(#wx_ref{type=ThisT,ref=ThisRef},V) when is_integer(V) -> ?CLASS(ThisT,wxPrintDialogData), wxe_util:cast(?wxPrintDialogData_SetNoCopies, <>). -%% @spec (This::wxPrintDialogData(), PrintData::wxPrintData:wxPrintData()) -> ok %% @doc See external documentation. +-spec setPrintData(This, PrintData) -> ok when + This::wxPrintDialogData(), PrintData::wxPrintData:wxPrintData(). setPrintData(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PrintDataT,ref=PrintDataRef}) -> ?CLASS(ThisT,wxPrintDialogData), ?CLASS(PrintDataT,wxPrintData), wxe_util:cast(?wxPrintDialogData_SetPrintData, <>). -%% @spec (This::wxPrintDialogData(), Flag::bool()) -> ok %% @doc See external documentation. +-spec setPrintToFile(This, Flag) -> ok when + This::wxPrintDialogData(), Flag::boolean(). setPrintToFile(#wx_ref{type=ThisT,ref=ThisRef},Flag) when is_boolean(Flag) -> ?CLASS(ThisT,wxPrintDialogData), wxe_util:cast(?wxPrintDialogData_SetPrintToFile, <>). -%% @spec (This::wxPrintDialogData(), Flag::bool()) -> ok %% @doc See external documentation. +-spec setSelection(This, Flag) -> ok when + This::wxPrintDialogData(), Flag::boolean(). setSelection(#wx_ref{type=ThisT,ref=ThisRef},Flag) when is_boolean(Flag) -> ?CLASS(ThisT,wxPrintDialogData), wxe_util:cast(?wxPrintDialogData_SetSelection, <>). -%% @spec (This::wxPrintDialogData(), V::integer()) -> ok %% @doc See external documentation. +-spec setToPage(This, V) -> ok when + This::wxPrintDialogData(), V::integer(). setToPage(#wx_ref{type=ThisT,ref=ThisRef},V) when is_integer(V) -> ?CLASS(ThisT,wxPrintDialogData), wxe_util:cast(?wxPrintDialogData_SetToPage, <>). -%% @spec (This::wxPrintDialogData()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxPrintDialogData) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxPrintDialogData), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxPrintPreview.erl b/lib/wx/src/gen/wxPrintPreview.erl index 6f9a0f653f..717589c871 100644 --- a/lib/wx/src/gen/wxPrintPreview.erl +++ b/lib/wx/src/gen/wxPrintPreview.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,18 +32,24 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxPrintPreview/0]). %% @hidden parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (Printout::wxPrintout:wxPrintout()) -> wxPrintPreview() +-type wxPrintPreview() :: wx:wx_object(). %% @equiv new(Printout, []) +-spec new(Printout) -> wxPrintPreview() when + Printout::wxPrintout:wxPrintout(). + new(Printout) when is_record(Printout, wx_ref) -> new(Printout, []). -%% @spec (Printout::wxPrintout:wxPrintout(), [Option]) -> wxPrintPreview() -%% Option = {printoutForPrinting, wxPrintout:wxPrintout()} | {data, wxPrintDialogData:wxPrintDialogData()} %% @doc See external documentation. +-spec new(Printout, [Option]) -> wxPrintPreview() when + Printout::wxPrintout:wxPrintout(), + Option :: {printoutForPrinting, wxPrintout:wxPrintout()} + | {data, wxPrintDialogData:wxPrintDialogData()}. new(#wx_ref{type=PrintoutT,ref=PrintoutRef}, Options) when is_list(Options) -> ?CLASS(PrintoutT,wxPrintout), @@ -54,8 +60,9 @@ new(#wx_ref{type=PrintoutT,ref=PrintoutRef}, Options) wxe_util:construct(?wxPrintPreview_new_2, <>). -%% @spec (Printout::wxPrintout:wxPrintout(), PrintoutForPrinting::wxPrintout:wxPrintout(), Data::wxPrintData:wxPrintData()) -> wxPrintPreview() %% @doc See external documentation. +-spec new(Printout, PrintoutForPrinting, Data) -> wxPrintPreview() when + Printout::wxPrintout:wxPrintout(), PrintoutForPrinting::wxPrintout:wxPrintout(), Data::wxPrintData:wxPrintData(). new(#wx_ref{type=PrintoutT,ref=PrintoutRef},#wx_ref{type=PrintoutForPrintingT,ref=PrintoutForPrintingRef},#wx_ref{type=DataT,ref=DataRef}) -> ?CLASS(PrintoutT,wxPrintout), ?CLASS(PrintoutForPrintingT,wxPrintout), @@ -63,64 +70,73 @@ new(#wx_ref{type=PrintoutT,ref=PrintoutRef},#wx_ref{type=PrintoutForPrintingT,re wxe_util:construct(?wxPrintPreview_new_3, <>). -%% @spec (This::wxPrintPreview()) -> wxPreviewCanvas:wxPreviewCanvas() %% @doc See external documentation. +-spec getCanvas(This) -> wxPreviewCanvas:wxPreviewCanvas() when + This::wxPrintPreview(). getCanvas(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPrintPreview), wxe_util:call(?wxPrintPreview_GetCanvas, <>). -%% @spec (This::wxPrintPreview()) -> integer() %% @doc See external documentation. +-spec getCurrentPage(This) -> integer() when + This::wxPrintPreview(). getCurrentPage(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPrintPreview), wxe_util:call(?wxPrintPreview_GetCurrentPage, <>). -%% @spec (This::wxPrintPreview()) -> wxFrame:wxFrame() %% @doc See external documentation. +-spec getFrame(This) -> wxFrame:wxFrame() when + This::wxPrintPreview(). getFrame(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPrintPreview), wxe_util:call(?wxPrintPreview_GetFrame, <>). -%% @spec (This::wxPrintPreview()) -> integer() %% @doc See external documentation. +-spec getMaxPage(This) -> integer() when + This::wxPrintPreview(). getMaxPage(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPrintPreview), wxe_util:call(?wxPrintPreview_GetMaxPage, <>). -%% @spec (This::wxPrintPreview()) -> integer() %% @doc See external documentation. +-spec getMinPage(This) -> integer() when + This::wxPrintPreview(). getMinPage(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPrintPreview), wxe_util:call(?wxPrintPreview_GetMinPage, <>). -%% @spec (This::wxPrintPreview()) -> wxPrintout:wxPrintout() %% @doc See external documentation. +-spec getPrintout(This) -> wxPrintout:wxPrintout() when + This::wxPrintPreview(). getPrintout(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPrintPreview), wxe_util:call(?wxPrintPreview_GetPrintout, <>). -%% @spec (This::wxPrintPreview()) -> wxPrintout:wxPrintout() %% @doc See external documentation. +-spec getPrintoutForPrinting(This) -> wxPrintout:wxPrintout() when + This::wxPrintPreview(). getPrintoutForPrinting(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPrintPreview), wxe_util:call(?wxPrintPreview_GetPrintoutForPrinting, <>). -%% @spec (This::wxPrintPreview()) -> bool() %% @doc See external documentation. +-spec isOk(This) -> boolean() when + This::wxPrintPreview(). isOk(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPrintPreview), wxe_util:call(?wxPrintPreview_IsOk, <>). -%% @spec (This::wxPrintPreview(), Canvas::wxPreviewCanvas:wxPreviewCanvas(), Dc::wxDC:wxDC()) -> bool() %% @doc See external documentation. +-spec paintPage(This, Canvas, Dc) -> boolean() when + This::wxPrintPreview(), Canvas::wxPreviewCanvas:wxPreviewCanvas(), Dc::wxDC:wxDC(). paintPage(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=CanvasT,ref=CanvasRef},#wx_ref{type=DcT,ref=DcRef}) -> ?CLASS(ThisT,wxPrintPreview), ?CLASS(CanvasT,wxPreviewCanvas), @@ -128,64 +144,71 @@ paintPage(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=CanvasT,ref=CanvasRef},#w wxe_util:call(?wxPrintPreview_PaintPage, <>). -%% @spec (This::wxPrintPreview(), Interactive::bool()) -> bool() %% @doc See external documentation. +-spec print(This, Interactive) -> boolean() when + This::wxPrintPreview(), Interactive::boolean(). print(#wx_ref{type=ThisT,ref=ThisRef},Interactive) when is_boolean(Interactive) -> ?CLASS(ThisT,wxPrintPreview), wxe_util:call(?wxPrintPreview_Print, <>). -%% @spec (This::wxPrintPreview(), PageNum::integer()) -> bool() %% @doc See external documentation. +-spec renderPage(This, PageNum) -> boolean() when + This::wxPrintPreview(), PageNum::integer(). renderPage(#wx_ref{type=ThisT,ref=ThisRef},PageNum) when is_integer(PageNum) -> ?CLASS(ThisT,wxPrintPreview), wxe_util:call(?wxPrintPreview_RenderPage, <>). -%% @spec (This::wxPrintPreview(), Canvas::wxPreviewCanvas:wxPreviewCanvas()) -> ok %% @doc See external documentation. +-spec setCanvas(This, Canvas) -> ok when + This::wxPrintPreview(), Canvas::wxPreviewCanvas:wxPreviewCanvas(). setCanvas(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=CanvasT,ref=CanvasRef}) -> ?CLASS(ThisT,wxPrintPreview), ?CLASS(CanvasT,wxPreviewCanvas), wxe_util:cast(?wxPrintPreview_SetCanvas, <>). -%% @spec (This::wxPrintPreview(), PageNum::integer()) -> bool() %% @doc See external documentation. +-spec setCurrentPage(This, PageNum) -> boolean() when + This::wxPrintPreview(), PageNum::integer(). setCurrentPage(#wx_ref{type=ThisT,ref=ThisRef},PageNum) when is_integer(PageNum) -> ?CLASS(ThisT,wxPrintPreview), wxe_util:call(?wxPrintPreview_SetCurrentPage, <>). -%% @spec (This::wxPrintPreview(), Frame::wxFrame:wxFrame()) -> ok %% @doc See external documentation. +-spec setFrame(This, Frame) -> ok when + This::wxPrintPreview(), Frame::wxFrame:wxFrame(). setFrame(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FrameT,ref=FrameRef}) -> ?CLASS(ThisT,wxPrintPreview), ?CLASS(FrameT,wxFrame), wxe_util:cast(?wxPrintPreview_SetFrame, <>). -%% @spec (This::wxPrintPreview(), Printout::wxPrintout:wxPrintout()) -> ok %% @doc See external documentation. +-spec setPrintout(This, Printout) -> ok when + This::wxPrintPreview(), Printout::wxPrintout:wxPrintout(). setPrintout(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PrintoutT,ref=PrintoutRef}) -> ?CLASS(ThisT,wxPrintPreview), ?CLASS(PrintoutT,wxPrintout), wxe_util:cast(?wxPrintPreview_SetPrintout, <>). -%% @spec (This::wxPrintPreview(), Percent::integer()) -> ok %% @doc See external documentation. +-spec setZoom(This, Percent) -> ok when + This::wxPrintPreview(), Percent::integer(). setZoom(#wx_ref{type=ThisT,ref=ThisRef},Percent) when is_integer(Percent) -> ?CLASS(ThisT,wxPrintPreview), wxe_util:cast(?wxPrintPreview_SetZoom, <>). -%% @spec (This::wxPrintPreview()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxPrintPreview) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxPrintPreview), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxPrinter.erl b/lib/wx/src/gen/wxPrinter.erl index af9afe18af..64c70bd75f 100644 --- a/lib/wx/src/gen/wxPrinter.erl +++ b/lib/wx/src/gen/wxPrinter.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,17 +30,20 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxPrinter/0]). %% @hidden parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxPrinter() +-type wxPrinter() :: wx:wx_object(). %% @equiv new([]) +-spec new() -> wxPrinter(). + new() -> new([]). -%% @spec ([Option]) -> wxPrinter() -%% Option = {data, wxPrintDialogData:wxPrintDialogData()} %% @doc See external documentation. +-spec new([Option]) -> wxPrinter() when + Option :: {data, wxPrintDialogData:wxPrintDialogData()}. new(Options) when is_list(Options) -> MOpts = fun({data, #wx_ref{type=DataT,ref=DataRef}}, Acc) -> ?CLASS(DataT,wxPrintDialogData),[<<1:32/?UI,DataRef:32/?UI>>|Acc]; @@ -49,8 +52,9 @@ new(Options) wxe_util:construct(?wxPrinter_new, <>). -%% @spec (This::wxPrinter(), Parent::wxWindow:wxWindow(), Printout::wxPrintout:wxPrintout()) -> wxWindow:wxWindow() %% @doc See external documentation. +-spec createAbortWindow(This, Parent, Printout) -> wxWindow:wxWindow() when + This::wxPrinter(), Parent::wxWindow:wxWindow(), Printout::wxPrintout:wxPrintout(). createAbortWindow(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},#wx_ref{type=PrintoutT,ref=PrintoutRef}) -> ?CLASS(ThisT,wxPrinter), ?CLASS(ParentT,wxWindow), @@ -58,37 +62,41 @@ createAbortWindow(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=Paren wxe_util:call(?wxPrinter_CreateAbortWindow, <>). -%% @spec (This::wxPrinter()) -> bool() %% @doc See external documentation. +-spec getAbort(This) -> boolean() when + This::wxPrinter(). getAbort(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPrinter), wxe_util:call(?wxPrinter_GetAbort, <>). -%% @spec () -> WxPrinterError -%% WxPrinterError = integer() %% @doc See external documentation. -%%
WxPrinterError is one of ?wxPRINTER_NO_ERROR | ?wxPRINTER_CANCELLED | ?wxPRINTER_ERROR +%%
Res = ?wxPRINTER_NO_ERROR | ?wxPRINTER_CANCELLED | ?wxPRINTER_ERROR +-spec getLastError() -> wx:wx_enum(). getLastError() -> wxe_util:call(?wxPrinter_GetLastError, <<>>). -%% @spec (This::wxPrinter()) -> wxPrintDialogData:wxPrintDialogData() %% @doc See external documentation. +-spec getPrintDialogData(This) -> wxPrintDialogData:wxPrintDialogData() when + This::wxPrinter(). getPrintDialogData(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPrinter), wxe_util:call(?wxPrinter_GetPrintDialogData, <>). -%% @spec (This::wxPrinter(), Parent::wxWindow:wxWindow(), Printout::wxPrintout:wxPrintout()) -> bool() %% @equiv print(This,Parent,Printout, []) +-spec print(This, Parent, Printout) -> boolean() when + This::wxPrinter(), Parent::wxWindow:wxWindow(), Printout::wxPrintout:wxPrintout(). + print(This,Parent,Printout) when is_record(This, wx_ref),is_record(Parent, wx_ref),is_record(Printout, wx_ref) -> print(This,Parent,Printout, []). -%% @spec (This::wxPrinter(), Parent::wxWindow:wxWindow(), Printout::wxPrintout:wxPrintout(), [Option]) -> bool() -%% Option = {prompt, bool()} %% @doc See external documentation. +-spec print(This, Parent, Printout, [Option]) -> boolean() when + This::wxPrinter(), Parent::wxWindow:wxWindow(), Printout::wxPrintout:wxPrintout(), + Option :: {prompt, boolean()}. print(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},#wx_ref{type=PrintoutT,ref=PrintoutRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxPrinter), @@ -100,16 +108,18 @@ print(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},#wx_re wxe_util:call(?wxPrinter_Print, <>). -%% @spec (This::wxPrinter(), Parent::wxWindow:wxWindow()) -> wxDC:wxDC() %% @doc See external documentation. +-spec printDialog(This, Parent) -> wxDC:wxDC() when + This::wxPrinter(), Parent::wxWindow:wxWindow(). printDialog(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}) -> ?CLASS(ThisT,wxPrinter), ?CLASS(ParentT,wxWindow), wxe_util:call(?wxPrinter_PrintDialog, <>). -%% @spec (This::wxPrinter(), Parent::wxWindow:wxWindow(), Printout::wxPrintout:wxPrintout(), Message::string()) -> ok %% @doc See external documentation. +-spec reportError(This, Parent, Printout, Message) -> ok when + This::wxPrinter(), Parent::wxWindow:wxWindow(), Printout::wxPrintout:wxPrintout(), Message::string(). reportError(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},#wx_ref{type=PrintoutT,ref=PrintoutRef},Message) when is_list(Message) -> ?CLASS(ThisT,wxPrinter), @@ -119,16 +129,17 @@ reportError(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}, wxe_util:cast(?wxPrinter_ReportError, <>). -%% @spec (This::wxPrinter(), Parent::wxWindow:wxWindow()) -> bool() %% @doc See external documentation. +-spec setup(This, Parent) -> boolean() when + This::wxPrinter(), Parent::wxWindow:wxWindow(). setup(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}) -> ?CLASS(ThisT,wxPrinter), ?CLASS(ParentT,wxWindow), wxe_util:call(?wxPrinter_Setup, <>). -%% @spec (This::wxPrinter()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxPrinter) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxPrinter), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxPrintout.erl b/lib/wx/src/gen/wxPrintout.erl index a34c030275..2afb9a54f7 100644 --- a/lib/wx/src/gen/wxPrintout.erl +++ b/lib/wx/src/gen/wxPrintout.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -34,9 +34,11 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxPrintout/0]). %% @hidden parent_class(_Class) -> erlang:error({badtype, ?MODULE}). +-type wxPrintout() :: wx:wx_object(). %% @spec (Title::string(), OnPrintPage::function()) -> wxPrintout:wxPrintout() %% @doc @equiv new(Title, OnPrintPage, []) @@ -118,80 +120,91 @@ new(Title, OnPrintPage, Opts) when is_list(Title), is_function(OnPrintPage), is_ OnPrintPageId:32/?UI, BinOpt/binary>>). -%% @spec (This::wxPrintout()) -> wxDC:wxDC() %% @doc See external documentation. +-spec getDC(This) -> wxDC:wxDC() when + This::wxPrintout(). getDC(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPrintout), wxe_util:call(?wxPrintout_GetDC, <>). -%% @spec (This::wxPrintout()) -> {W::integer(), H::integer()} %% @doc See external documentation. +-spec getPageSizeMM(This) -> {W::integer(), H::integer()} when + This::wxPrintout(). getPageSizeMM(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPrintout), wxe_util:call(?wxPrintout_GetPageSizeMM, <>). -%% @spec (This::wxPrintout()) -> {W::integer(), H::integer()} %% @doc See external documentation. +-spec getPageSizePixels(This) -> {W::integer(), H::integer()} when + This::wxPrintout(). getPageSizePixels(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPrintout), wxe_util:call(?wxPrintout_GetPageSizePixels, <>). -%% @spec (This::wxPrintout()) -> {X::integer(), Y::integer(), W::integer(), H::integer()} %% @doc See external documentation. +-spec getPaperRectPixels(This) -> {X::integer(), Y::integer(), W::integer(), H::integer()} when + This::wxPrintout(). getPaperRectPixels(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPrintout), wxe_util:call(?wxPrintout_GetPaperRectPixels, <>). -%% @spec (This::wxPrintout()) -> {X::integer(), Y::integer()} %% @doc See external documentation. +-spec getPPIPrinter(This) -> {X::integer(), Y::integer()} when + This::wxPrintout(). getPPIPrinter(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPrintout), wxe_util:call(?wxPrintout_GetPPIPrinter, <>). -%% @spec (This::wxPrintout()) -> {X::integer(), Y::integer()} %% @doc See external documentation. +-spec getPPIScreen(This) -> {X::integer(), Y::integer()} when + This::wxPrintout(). getPPIScreen(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPrintout), wxe_util:call(?wxPrintout_GetPPIScreen, <>). -%% @spec (This::wxPrintout()) -> string() %% @doc See external documentation. +-spec getTitle(This) -> string() when + This::wxPrintout(). getTitle(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPrintout), wxe_util:call(?wxPrintout_GetTitle, <>). -%% @spec (This::wxPrintout()) -> bool() %% @doc See external documentation. +-spec isPreview(This) -> boolean() when + This::wxPrintout(). isPreview(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPrintout), wxe_util:call(?wxPrintout_IsPreview, <>). -%% @spec (This::wxPrintout(), ImageSize::{W::integer(), H::integer()}) -> ok %% @doc See external documentation. +-spec fitThisSizeToPaper(This, ImageSize) -> ok when + This::wxPrintout(), ImageSize::{W::integer(), H::integer()}. fitThisSizeToPaper(#wx_ref{type=ThisT,ref=ThisRef},{ImageSizeW,ImageSizeH}) when is_integer(ImageSizeW),is_integer(ImageSizeH) -> ?CLASS(ThisT,wxPrintout), wxe_util:cast(?wxPrintout_FitThisSizeToPaper, <>). -%% @spec (This::wxPrintout(), ImageSize::{W::integer(), H::integer()}) -> ok %% @doc See external documentation. +-spec fitThisSizeToPage(This, ImageSize) -> ok when + This::wxPrintout(), ImageSize::{W::integer(), H::integer()}. fitThisSizeToPage(#wx_ref{type=ThisT,ref=ThisRef},{ImageSizeW,ImageSizeH}) when is_integer(ImageSizeW),is_integer(ImageSizeH) -> ?CLASS(ThisT,wxPrintout), wxe_util:cast(?wxPrintout_FitThisSizeToPage, <>). -%% @spec (This::wxPrintout(), ImageSize::{W::integer(), H::integer()}, PageSetupData::wxPageSetupDialogData:wxPageSetupDialogData()) -> ok %% @doc See external documentation. +-spec fitThisSizeToPageMargins(This, ImageSize, PageSetupData) -> ok when + This::wxPrintout(), ImageSize::{W::integer(), H::integer()}, PageSetupData::wxPageSetupDialogData:wxPageSetupDialogData(). fitThisSizeToPageMargins(#wx_ref{type=ThisT,ref=ThisRef},{ImageSizeW,ImageSizeH},#wx_ref{type=PageSetupDataT,ref=PageSetupDataRef}) when is_integer(ImageSizeW),is_integer(ImageSizeH) -> ?CLASS(ThisT,wxPrintout), @@ -199,75 +212,84 @@ fitThisSizeToPageMargins(#wx_ref{type=ThisT,ref=ThisRef},{ImageSizeW,ImageSizeH} wxe_util:cast(?wxPrintout_FitThisSizeToPageMargins, <>). -%% @spec (This::wxPrintout()) -> ok %% @doc See external documentation. +-spec mapScreenSizeToPaper(This) -> ok when + This::wxPrintout(). mapScreenSizeToPaper(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPrintout), wxe_util:cast(?wxPrintout_MapScreenSizeToPaper, <>). -%% @spec (This::wxPrintout()) -> ok %% @doc See external documentation. +-spec mapScreenSizeToPage(This) -> ok when + This::wxPrintout(). mapScreenSizeToPage(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPrintout), wxe_util:cast(?wxPrintout_MapScreenSizeToPage, <>). -%% @spec (This::wxPrintout(), PageSetupData::wxPageSetupDialogData:wxPageSetupDialogData()) -> ok %% @doc See external documentation. +-spec mapScreenSizeToPageMargins(This, PageSetupData) -> ok when + This::wxPrintout(), PageSetupData::wxPageSetupDialogData:wxPageSetupDialogData(). mapScreenSizeToPageMargins(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PageSetupDataT,ref=PageSetupDataRef}) -> ?CLASS(ThisT,wxPrintout), ?CLASS(PageSetupDataT,wxPageSetupDialogData), wxe_util:cast(?wxPrintout_MapScreenSizeToPageMargins, <>). -%% @spec (This::wxPrintout()) -> ok %% @doc See external documentation. +-spec mapScreenSizeToDevice(This) -> ok when + This::wxPrintout(). mapScreenSizeToDevice(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPrintout), wxe_util:cast(?wxPrintout_MapScreenSizeToDevice, <>). -%% @spec (This::wxPrintout()) -> {X::integer(), Y::integer(), W::integer(), H::integer()} %% @doc See external documentation. +-spec getLogicalPaperRect(This) -> {X::integer(), Y::integer(), W::integer(), H::integer()} when + This::wxPrintout(). getLogicalPaperRect(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPrintout), wxe_util:call(?wxPrintout_GetLogicalPaperRect, <>). -%% @spec (This::wxPrintout()) -> {X::integer(), Y::integer(), W::integer(), H::integer()} %% @doc See external documentation. +-spec getLogicalPageRect(This) -> {X::integer(), Y::integer(), W::integer(), H::integer()} when + This::wxPrintout(). getLogicalPageRect(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPrintout), wxe_util:call(?wxPrintout_GetLogicalPageRect, <>). -%% @spec (This::wxPrintout(), PageSetupData::wxPageSetupDialogData:wxPageSetupDialogData()) -> {X::integer(), Y::integer(), W::integer(), H::integer()} %% @doc See external documentation. +-spec getLogicalPageMarginsRect(This, PageSetupData) -> {X::integer(), Y::integer(), W::integer(), H::integer()} when + This::wxPrintout(), PageSetupData::wxPageSetupDialogData:wxPageSetupDialogData(). getLogicalPageMarginsRect(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PageSetupDataT,ref=PageSetupDataRef}) -> ?CLASS(ThisT,wxPrintout), ?CLASS(PageSetupDataT,wxPageSetupDialogData), wxe_util:call(?wxPrintout_GetLogicalPageMarginsRect, <>). -%% @spec (This::wxPrintout(), X::integer(), Y::integer()) -> ok %% @doc See external documentation. +-spec setLogicalOrigin(This, X, Y) -> ok when + This::wxPrintout(), X::integer(), Y::integer(). setLogicalOrigin(#wx_ref{type=ThisT,ref=ThisRef},X,Y) when is_integer(X),is_integer(Y) -> ?CLASS(ThisT,wxPrintout), wxe_util:cast(?wxPrintout_SetLogicalOrigin, <>). -%% @spec (This::wxPrintout(), Xoff::integer(), Yoff::integer()) -> ok %% @doc See external documentation. +-spec offsetLogicalOrigin(This, Xoff, Yoff) -> ok when + This::wxPrintout(), Xoff::integer(), Yoff::integer(). offsetLogicalOrigin(#wx_ref{type=ThisT,ref=ThisRef},Xoff,Yoff) when is_integer(Xoff),is_integer(Yoff) -> ?CLASS(ThisT,wxPrintout), wxe_util:cast(?wxPrintout_OffsetLogicalOrigin, <>). -%% @spec (This::wxPrintout()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxPrintout) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxPrintout), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxProgressDialog.erl b/lib/wx/src/gen/wxProgressDialog.erl index 69e73454b5..679e87aab2 100644 --- a/lib/wx/src/gen/wxProgressDialog.erl +++ b/lib/wx/src/gen/wxProgressDialog.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -77,6 +77,7 @@ transferDataFromWindow/1,transferDataToWindow/1,updateWindowUI/1, updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxProgressDialog/0]). %% @hidden parent_class(wxDialog) -> true; parent_class(wxTopLevelWindow) -> true; @@ -84,15 +85,21 @@ parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (Title::string(), Message::string()) -> wxProgressDialog() +-type wxProgressDialog() :: wx:wx_object(). %% @equiv new(Title,Message, []) +-spec new(Title, Message) -> wxProgressDialog() when + Title::string(), Message::string(). + new(Title,Message) when is_list(Title),is_list(Message) -> new(Title,Message, []). -%% @spec (Title::string(), Message::string(), [Option]) -> wxProgressDialog() -%% Option = {maximum, integer()} | {parent, wxWindow:wxWindow()} | {style, integer()} %% @doc See external documentation. +-spec new(Title, Message, [Option]) -> wxProgressDialog() when + Title::string(), Message::string(), + Option :: {maximum, integer()} + | {parent, wxWindow:wxWindow()} + | {style, integer()}. new(Title,Message, Options) when is_list(Title),is_list(Message),is_list(Options) -> Title_UC = unicode:characters_to_binary([Title,0]), @@ -105,29 +112,34 @@ new(Title,Message, Options) wxe_util:construct(?wxProgressDialog_new, <<(byte_size(Title_UC)):32/?UI,(Title_UC)/binary, 0:(((8- ((4+byte_size(Title_UC)) band 16#7)) band 16#7))/unit:8,(byte_size(Message_UC)):32/?UI,(Message_UC)/binary, 0:(((8- ((4+byte_size(Message_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>). -%% @spec (This::wxProgressDialog()) -> ok %% @doc See external documentation. +-spec resume(This) -> ok when + This::wxProgressDialog(). resume(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxProgressDialog), wxe_util:cast(?wxProgressDialog_Resume, <>). -%% @spec (This::wxProgressDialog()) -> ok %% @doc See external documentation. +-spec update(This) -> ok when + This::wxProgressDialog(). update(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxProgressDialog), wxe_util:cast(?wxProgressDialog_Update_0, <>). -%% @spec (This::wxProgressDialog(), Value::integer()) -> bool() %% @equiv update(This,Value, []) +-spec update(This, Value) -> boolean() when + This::wxProgressDialog(), Value::integer(). + update(This,Value) when is_record(This, wx_ref),is_integer(Value) -> update(This,Value, []). -%% @spec (This::wxProgressDialog(), Value::integer(), [Option]) -> bool() -%% Option = {newmsg, string()} %% @doc See external documentation. +-spec update(This, Value, [Option]) -> boolean() when + This::wxProgressDialog(), Value::integer(), + Option :: {newmsg, string()}. update(#wx_ref{type=ThisT,ref=ThisRef},Value, Options) when is_integer(Value),is_list(Options) -> ?CLASS(ThisT,wxProgressDialog), @@ -137,8 +149,8 @@ update(#wx_ref{type=ThisT,ref=ThisRef},Value, Options) wxe_util:call(?wxProgressDialog_Update_2, <>). -%% @spec (This::wxProgressDialog()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxProgressDialog) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxProgressDialog), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxQueryNewPaletteEvent.erl b/lib/wx/src/gen/wxQueryNewPaletteEvent.erl index 96c493e4a6..8123d62fe1 100644 --- a/lib/wx/src/gen/wxQueryNewPaletteEvent.erl +++ b/lib/wx/src/gen/wxQueryNewPaletteEvent.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,20 +37,24 @@ -export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1, resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]). +-export_type([wxQueryNewPaletteEvent/0]). %% @hidden parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxQueryNewPaletteEvent(), Realized::bool()) -> ok +-type wxQueryNewPaletteEvent() :: wx:wx_object(). %% @doc See external documentation. +-spec setPaletteRealized(This, Realized) -> ok when + This::wxQueryNewPaletteEvent(), Realized::boolean(). setPaletteRealized(#wx_ref{type=ThisT,ref=ThisRef},Realized) when is_boolean(Realized) -> ?CLASS(ThisT,wxQueryNewPaletteEvent), wxe_util:cast(?wxQueryNewPaletteEvent_SetPaletteRealized, <>). -%% @spec (This::wxQueryNewPaletteEvent()) -> bool() %% @doc See external documentation. +-spec getPaletteRealized(This) -> boolean() when + This::wxQueryNewPaletteEvent(). getPaletteRealized(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxQueryNewPaletteEvent), wxe_util:call(?wxQueryNewPaletteEvent_GetPaletteRealized, diff --git a/lib/wx/src/gen/wxRadioBox.erl b/lib/wx/src/gen/wxRadioBox.erl index 766a691108..4d02633922 100644 --- a/lib/wx/src/gen/wxRadioBox.erl +++ b/lib/wx/src/gen/wxRadioBox.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,21 +72,28 @@ thaw/1,transferDataFromWindow/1,transferDataToWindow/1,update/1,updateWindowUI/1, updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxRadioBox/0]). %% @hidden parent_class(wxControl) -> true; parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Title::string(), Pos::{X::integer(), Y::integer()}, Size::{W::integer(), H::integer()}, Choices::[[string()]]) -> wxRadioBox() +-type wxRadioBox() :: wx:wx_object(). %% @equiv new(Parent,Id,Title,Pos,Size,Choices, []) +-spec new(Parent, Id, Title, Pos, Size, Choices) -> wxRadioBox() when + Parent::wxWindow:wxWindow(), Id::integer(), Title::string(), Pos::{X::integer(), Y::integer()}, Size::{W::integer(), H::integer()}, Choices::[[string()]]. + new(Parent,Id,Title,Pos={PosX,PosY},Size={SizeW,SizeH},Choices) when is_record(Parent, wx_ref),is_integer(Id),is_list(Title),is_integer(PosX),is_integer(PosY),is_integer(SizeW),is_integer(SizeH),is_list(Choices) -> new(Parent,Id,Title,Pos,Size,Choices, []). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Title::string(), Pos::{X::integer(), Y::integer()}, Size::{W::integer(), H::integer()}, Choices::[[string()]], [Option]) -> wxRadioBox() -%% Option = {majorDim, integer()} | {style, integer()} | {val, wx:wx()} %% @doc See external documentation. +-spec new(Parent, Id, Title, Pos, Size, Choices, [Option]) -> wxRadioBox() when + Parent::wxWindow:wxWindow(), Id::integer(), Title::string(), Pos::{X::integer(), Y::integer()}, Size::{W::integer(), H::integer()}, Choices::[[string()]], + Option :: {majorDim, integer()} + | {style, integer()} + | {val, wx:wx()}. new(#wx_ref{type=ParentT,ref=ParentRef},Id,Title,{PosX,PosY},{SizeW,SizeH},Choices, Options) when is_integer(Id),is_list(Title),is_integer(PosX),is_integer(PosY),is_integer(SizeW),is_integer(SizeH),is_list(Choices),is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -101,15 +108,20 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Id,Title,{PosX,PosY},{SizeW,SizeH},Choic wxe_util:construct(?wxRadioBox_new, <>|| UC_Str <- Choices_UCA>>)/binary, 0:(((8- ((4 + lists:sum([byte_size(S)+4||S<-Choices_UCA])) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>). -%% @spec (This::wxRadioBox(), Parent::wxWindow:wxWindow(), Id::integer(), Title::string(), Pos::{X::integer(), Y::integer()}, Size::{W::integer(), H::integer()}, Choices::[[string()]]) -> bool() %% @equiv create(This,Parent,Id,Title,Pos,Size,Choices, []) +-spec create(This, Parent, Id, Title, Pos, Size, Choices) -> boolean() when + This::wxRadioBox(), Parent::wxWindow:wxWindow(), Id::integer(), Title::string(), Pos::{X::integer(), Y::integer()}, Size::{W::integer(), H::integer()}, Choices::[[string()]]. + create(This,Parent,Id,Title,Pos={PosX,PosY},Size={SizeW,SizeH},Choices) when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id),is_list(Title),is_integer(PosX),is_integer(PosY),is_integer(SizeW),is_integer(SizeH),is_list(Choices) -> create(This,Parent,Id,Title,Pos,Size,Choices, []). -%% @spec (This::wxRadioBox(), Parent::wxWindow:wxWindow(), Id::integer(), Title::string(), Pos::{X::integer(), Y::integer()}, Size::{W::integer(), H::integer()}, Choices::[[string()]], [Option]) -> bool() -%% Option = {majorDim, integer()} | {style, integer()} | {val, wx:wx()} %% @doc See external documentation. +-spec create(This, Parent, Id, Title, Pos, Size, Choices, [Option]) -> boolean() when + This::wxRadioBox(), Parent::wxWindow:wxWindow(), Id::integer(), Title::string(), Pos::{X::integer(), Y::integer()}, Size::{W::integer(), H::integer()}, Choices::[[string()]], + Option :: {majorDim, integer()} + | {style, integer()} + | {val, wx:wx()}. create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,Title,{PosX,PosY},{SizeW,SizeH},Choices, Options) when is_integer(Id),is_list(Title),is_integer(PosX),is_integer(PosY),is_integer(SizeW),is_integer(SizeH),is_list(Choices),is_list(Options) -> ?CLASS(ThisT,wxRadioBox), @@ -125,21 +137,20 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,Ti wxe_util:call(?wxRadioBox_Create, <>|| UC_Str <- Choices_UCA>>)/binary, 0:(((8- ((4 + lists:sum([byte_size(S)+4||S<-Choices_UCA])) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>). -%% @spec (This::wxRadioBox()) -> bool() %% @equiv enable(This, []) +-spec enable(This) -> boolean() when + This::wxRadioBox(). + enable(This) when is_record(This, wx_ref) -> enable(This, []). -%% @spec (This::wxRadioBox(),X::integer()|term()) -> bool() %% @doc See external documentation. -%%
Alternatives: -%%

-%% enable(This::wxRadioBox(), N::integer()) -> enable(This,N, [])

-%%

-%% enable(This::wxRadioBox(), [Option]) -> bool() -%%
Option = {enable, bool()} -%%

+-spec enable(This, N) -> boolean() when + This::wxRadioBox(), N::integer(); + (This, [Option]) -> boolean() when + This::wxRadioBox(), + Option :: {enable, boolean()}. enable(This,N) when is_record(This, wx_ref),is_integer(N) -> @@ -153,9 +164,10 @@ enable(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxRadioBox_Enable_1, <>). -%% @spec (This::wxRadioBox(), N::integer(), [Option]) -> bool() -%% Option = {enable, bool()} %% @doc See external documentation. +-spec enable(This, N, [Option]) -> boolean() when + This::wxRadioBox(), N::integer(), + Option :: {enable, boolean()}. enable(#wx_ref{type=ThisT,ref=ThisRef},N, Options) when is_integer(N),is_list(Options) -> ?CLASS(ThisT,wxRadioBox), @@ -165,44 +177,46 @@ enable(#wx_ref{type=ThisT,ref=ThisRef},N, Options) wxe_util:call(?wxRadioBox_Enable_2, <>). -%% @spec (This::wxRadioBox()) -> integer() %% @doc See external documentation. +-spec getSelection(This) -> integer() when + This::wxRadioBox(). getSelection(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxRadioBox), wxe_util:call(?wxRadioBox_GetSelection, <>). -%% @spec (This::wxRadioBox(), N::integer()) -> string() %% @doc See external documentation. +-spec getString(This, N) -> string() when + This::wxRadioBox(), N::integer(). getString(#wx_ref{type=ThisT,ref=ThisRef},N) when is_integer(N) -> ?CLASS(ThisT,wxRadioBox), wxe_util:call(?wxRadioBox_GetString, <>). -%% @spec (This::wxRadioBox(), N::integer()) -> ok %% @doc See external documentation. +-spec setSelection(This, N) -> ok when + This::wxRadioBox(), N::integer(). setSelection(#wx_ref{type=ThisT,ref=ThisRef},N) when is_integer(N) -> ?CLASS(ThisT,wxRadioBox), wxe_util:cast(?wxRadioBox_SetSelection, <>). -%% @spec (This::wxRadioBox()) -> bool() %% @equiv show(This, []) +-spec show(This) -> boolean() when + This::wxRadioBox(). + show(This) when is_record(This, wx_ref) -> show(This, []). -%% @spec (This::wxRadioBox(),X::integer()|term()) -> bool() %% @doc See external documentation. -%%
Alternatives: -%%

-%% show(This::wxRadioBox(), N::integer()) -> show(This,N, [])

-%%

-%% show(This::wxRadioBox(), [Option]) -> bool() -%%
Option = {show, bool()} -%%

+-spec show(This, N) -> boolean() when + This::wxRadioBox(), N::integer(); + (This, [Option]) -> boolean() when + This::wxRadioBox(), + Option :: {show, boolean()}. show(This,N) when is_record(This, wx_ref),is_integer(N) -> @@ -216,9 +230,10 @@ show(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxRadioBox_Show_1, <>). -%% @spec (This::wxRadioBox(), N::integer(), [Option]) -> bool() -%% Option = {show, bool()} %% @doc See external documentation. +-spec show(This, N, [Option]) -> boolean() when + This::wxRadioBox(), N::integer(), + Option :: {show, boolean()}. show(#wx_ref{type=ThisT,ref=ThisRef},N, Options) when is_integer(N),is_list(Options) -> ?CLASS(ThisT,wxRadioBox), @@ -228,62 +243,70 @@ show(#wx_ref{type=ThisT,ref=ThisRef},N, Options) wxe_util:call(?wxRadioBox_Show_2, <>). -%% @spec (This::wxRadioBox()) -> integer() %% @doc See external documentation. +-spec getColumnCount(This) -> integer() when + This::wxRadioBox(). getColumnCount(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxRadioBox), wxe_util:call(?wxRadioBox_GetColumnCount, <>). -%% @spec (This::wxRadioBox(), N::integer()) -> string() %% @doc See external documentation. +-spec getItemHelpText(This, N) -> string() when + This::wxRadioBox(), N::integer(). getItemHelpText(#wx_ref{type=ThisT,ref=ThisRef},N) when is_integer(N) -> ?CLASS(ThisT,wxRadioBox), wxe_util:call(?wxRadioBox_GetItemHelpText, <>). -%% @spec (This::wxRadioBox(), Item::integer()) -> wxToolTip:wxToolTip() %% @doc See external documentation. +-spec getItemToolTip(This, Item) -> wxToolTip:wxToolTip() when + This::wxRadioBox(), Item::integer(). getItemToolTip(#wx_ref{type=ThisT,ref=ThisRef},Item) when is_integer(Item) -> ?CLASS(ThisT,wxRadioBox), wxe_util:call(?wxRadioBox_GetItemToolTip, <>). -%% @spec (This::wxRadioBox(), Pt::{X::integer(), Y::integer()}) -> integer() %% @doc See external documentation. +-spec getItemFromPoint(This, Pt) -> integer() when + This::wxRadioBox(), Pt::{X::integer(), Y::integer()}. getItemFromPoint(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY}) when is_integer(PtX),is_integer(PtY) -> ?CLASS(ThisT,wxRadioBox), wxe_util:call(?wxRadioBox_GetItemFromPoint, <>). -%% @spec (This::wxRadioBox()) -> integer() %% @doc See external documentation. +-spec getRowCount(This) -> integer() when + This::wxRadioBox(). getRowCount(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxRadioBox), wxe_util:call(?wxRadioBox_GetRowCount, <>). -%% @spec (This::wxRadioBox(), N::integer()) -> bool() %% @doc See external documentation. +-spec isItemEnabled(This, N) -> boolean() when + This::wxRadioBox(), N::integer(). isItemEnabled(#wx_ref{type=ThisT,ref=ThisRef},N) when is_integer(N) -> ?CLASS(ThisT,wxRadioBox), wxe_util:call(?wxRadioBox_IsItemEnabled, <>). -%% @spec (This::wxRadioBox(), N::integer()) -> bool() %% @doc See external documentation. +-spec isItemShown(This, N) -> boolean() when + This::wxRadioBox(), N::integer(). isItemShown(#wx_ref{type=ThisT,ref=ThisRef},N) when is_integer(N) -> ?CLASS(ThisT,wxRadioBox), wxe_util:call(?wxRadioBox_IsItemShown, <>). -%% @spec (This::wxRadioBox(), N::integer(), HelpText::string()) -> ok %% @doc See external documentation. +-spec setItemHelpText(This, N, HelpText) -> ok when + This::wxRadioBox(), N::integer(), HelpText::string(). setItemHelpText(#wx_ref{type=ThisT,ref=ThisRef},N,HelpText) when is_integer(N),is_list(HelpText) -> ?CLASS(ThisT,wxRadioBox), @@ -291,8 +314,9 @@ setItemHelpText(#wx_ref{type=ThisT,ref=ThisRef},N,HelpText) wxe_util:cast(?wxRadioBox_SetItemHelpText, <>). -%% @spec (This::wxRadioBox(), Item::integer(), Text::string()) -> ok %% @doc See external documentation. +-spec setItemToolTip(This, Item, Text) -> ok when + This::wxRadioBox(), Item::integer(), Text::string(). setItemToolTip(#wx_ref{type=ThisT,ref=ThisRef},Item,Text) when is_integer(Item),is_list(Text) -> ?CLASS(ThisT,wxRadioBox), @@ -300,8 +324,8 @@ setItemToolTip(#wx_ref{type=ThisT,ref=ThisRef},Item,Text) wxe_util:cast(?wxRadioBox_SetItemToolTip, <>). -%% @spec (This::wxRadioBox()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxRadioBox) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxRadioBox), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxRadioButton.erl b/lib/wx/src/gen/wxRadioButton.erl index c4665837b5..d95972da22 100644 --- a/lib/wx/src/gen/wxRadioButton.erl +++ b/lib/wx/src/gen/wxRadioButton.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -69,27 +69,35 @@ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1, update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxRadioButton/0]). %% @hidden parent_class(wxControl) -> true; parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxRadioButton() +-type wxRadioButton() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxRadioButton(). new() -> wxe_util:construct(?wxRadioButton_new_0, <<>>). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Label::string()) -> wxRadioButton() %% @equiv new(Parent,Id,Label, []) +-spec new(Parent, Id, Label) -> wxRadioButton() when + Parent::wxWindow:wxWindow(), Id::integer(), Label::string(). + new(Parent,Id,Label) when is_record(Parent, wx_ref),is_integer(Id),is_list(Label) -> new(Parent,Id,Label, []). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Label::string(), [Option]) -> wxRadioButton() -%% Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx:wx()} %% @doc See external documentation. +-spec new(Parent, Id, Label, [Option]) -> wxRadioButton() when + Parent::wxWindow:wxWindow(), Id::integer(), Label::string(), + Option :: {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()} + | {validator, wx:wx()}. new(#wx_ref{type=ParentT,ref=ParentRef},Id,Label, Options) when is_integer(Id),is_list(Label),is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -103,15 +111,21 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Id,Label, Options) wxe_util:construct(?wxRadioButton_new_4, <>). -%% @spec (This::wxRadioButton(), Parent::wxWindow:wxWindow(), Id::integer(), Label::string()) -> bool() %% @equiv create(This,Parent,Id,Label, []) +-spec create(This, Parent, Id, Label) -> boolean() when + This::wxRadioButton(), Parent::wxWindow:wxWindow(), Id::integer(), Label::string(). + create(This,Parent,Id,Label) when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id),is_list(Label) -> create(This,Parent,Id,Label, []). -%% @spec (This::wxRadioButton(), Parent::wxWindow:wxWindow(), Id::integer(), Label::string(), [Option]) -> bool() -%% Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx:wx()} %% @doc See external documentation. +-spec create(This, Parent, Id, Label, [Option]) -> boolean() when + This::wxRadioButton(), Parent::wxWindow:wxWindow(), Id::integer(), Label::string(), + Option :: {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()} + | {validator, wx:wx()}. create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,Label, Options) when is_integer(Id),is_list(Label),is_list(Options) -> ?CLASS(ThisT,wxRadioButton), @@ -126,23 +140,25 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,La wxe_util:call(?wxRadioButton_Create, <>). -%% @spec (This::wxRadioButton()) -> bool() %% @doc See external documentation. +-spec getValue(This) -> boolean() when + This::wxRadioButton(). getValue(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxRadioButton), wxe_util:call(?wxRadioButton_GetValue, <>). -%% @spec (This::wxRadioButton(), Val::bool()) -> ok %% @doc See external documentation. +-spec setValue(This, Val) -> ok when + This::wxRadioButton(), Val::boolean(). setValue(#wx_ref{type=ThisT,ref=ThisRef},Val) when is_boolean(Val) -> ?CLASS(ThisT,wxRadioButton), wxe_util:cast(?wxRadioButton_SetValue, <>). -%% @spec (This::wxRadioButton()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxRadioButton) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxRadioButton), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxRegion.erl b/lib/wx/src/gen/wxRegion.erl index 9107a4d6b1..0239558a5a 100644 --- a/lib/wx/src/gen/wxRegion.erl +++ b/lib/wx/src/gen/wxRegion.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,24 +32,22 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxRegion/0]). %% @hidden parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxRegion() +-type wxRegion() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxRegion(). new() -> wxe_util:construct(?wxRegion_new_0, <<>>). -%% @spec (X::term()) -> wxRegion() %% @doc See external documentation. -%%
Alternatives: -%%

-%% new(Bmp::wxBitmap:wxBitmap()) -> wxRegion() -%%

-%%

-%% new(Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}) -> wxRegion() -%%

+-spec new(Bmp) -> wxRegion() when + Bmp::wxBitmap:wxBitmap(); + (Rect) -> wxRegion() when + Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}. new(#wx_ref{type=BmpT,ref=BmpRef}) -> ?CLASS(BmpT,wxBitmap), wxe_util:construct(?wxRegion_new_1_0, @@ -59,40 +57,36 @@ new({RectX,RectY,RectW,RectH}) wxe_util:construct(?wxRegion_new_1_1, <>). -%% @spec (TopLeft::{X::integer(), Y::integer()}, BottomRight::{X::integer(), Y::integer()}) -> wxRegion() %% @doc See external documentation. +-spec new(TopLeft, BottomRight) -> wxRegion() when + TopLeft::{X::integer(), Y::integer()}, BottomRight::{X::integer(), Y::integer()}. new({TopLeftX,TopLeftY},{BottomRightX,BottomRightY}) when is_integer(TopLeftX),is_integer(TopLeftY),is_integer(BottomRightX),is_integer(BottomRightY) -> wxe_util:construct(?wxRegion_new_2, <>). -%% @spec (X::integer(), Y::integer(), W::integer(), H::integer()) -> wxRegion() %% @doc See external documentation. +-spec new(X, Y, W, H) -> wxRegion() when + X::integer(), Y::integer(), W::integer(), H::integer(). new(X,Y,W,H) when is_integer(X),is_integer(Y),is_integer(W),is_integer(H) -> wxe_util:construct(?wxRegion_new_4, <>). -%% @spec (This::wxRegion()) -> ok %% @doc See external documentation. +-spec clear(This) -> ok when + This::wxRegion(). clear(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxRegion), wxe_util:cast(?wxRegion_Clear, <>). -%% @spec (This::wxRegion(),X::term()) -> WxRegionContain %% @doc See external documentation. -%%
Alternatives: -%%

-%% contains(This::wxRegion(), Pt::{X::integer(), Y::integer()}) -> WxRegionContain -%%
WxRegionContain = integer() -%%
WxRegionContain is one of ?wxOutRegion | ?wxPartRegion | ?wxInRegion -%%

-%%

-%% contains(This::wxRegion(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}) -> WxRegionContain -%%
WxRegionContain = integer() -%%
WxRegionContain is one of ?wxOutRegion | ?wxPartRegion | ?wxInRegion -%%

+%%
Res = ?wxOutRegion | ?wxPartRegion | ?wxInRegion +-spec contains(This, Pt) -> wx:wx_enum() when + This::wxRegion(), Pt::{X::integer(), Y::integer()}; + (This, Rect) -> wx:wx_enum() when + This::wxRegion(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}. contains(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY}) when is_integer(PtX),is_integer(PtY) -> ?CLASS(ThisT,wxRegion), @@ -104,49 +98,47 @@ contains(#wx_ref{type=ThisT,ref=ThisRef},{RectX,RectY,RectW,RectH}) wxe_util:call(?wxRegion_Contains_1_1, <>). -%% @spec (This::wxRegion(), X::integer(), Y::integer()) -> WxRegionContain -%% WxRegionContain = integer() %% @doc See external documentation. -%%
WxRegionContain is one of ?wxOutRegion | ?wxPartRegion | ?wxInRegion +%%
Res = ?wxOutRegion | ?wxPartRegion | ?wxInRegion +-spec contains(This, X, Y) -> wx:wx_enum() when + This::wxRegion(), X::integer(), Y::integer(). contains(#wx_ref{type=ThisT,ref=ThisRef},X,Y) when is_integer(X),is_integer(Y) -> ?CLASS(ThisT,wxRegion), wxe_util:call(?wxRegion_Contains_2, <>). -%% @spec (This::wxRegion(), X::integer(), Y::integer(), W::integer(), H::integer()) -> WxRegionContain -%% WxRegionContain = integer() %% @doc See external documentation. -%%
WxRegionContain is one of ?wxOutRegion | ?wxPartRegion | ?wxInRegion +%%
Res = ?wxOutRegion | ?wxPartRegion | ?wxInRegion +-spec contains(This, X, Y, W, H) -> wx:wx_enum() when + This::wxRegion(), X::integer(), Y::integer(), W::integer(), H::integer(). contains(#wx_ref{type=ThisT,ref=ThisRef},X,Y,W,H) when is_integer(X),is_integer(Y),is_integer(W),is_integer(H) -> ?CLASS(ThisT,wxRegion), wxe_util:call(?wxRegion_Contains_4, <>). -%% @spec (This::wxRegion()) -> wxBitmap:wxBitmap() %% @doc See external documentation. +-spec convertToBitmap(This) -> wxBitmap:wxBitmap() when + This::wxRegion(). convertToBitmap(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxRegion), wxe_util:call(?wxRegion_ConvertToBitmap, <>). -%% @spec (This::wxRegion()) -> {X::integer(), Y::integer(), W::integer(), H::integer()} %% @doc See external documentation. +-spec getBox(This) -> {X::integer(), Y::integer(), W::integer(), H::integer()} when + This::wxRegion(). getBox(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxRegion), wxe_util:call(?wxRegion_GetBox, <>). -%% @spec (This::wxRegion(),X::wxRegion()|term()) -> bool() %% @doc See external documentation. -%%
Alternatives: -%%

-%% intersect(This::wxRegion(), Region::wxRegion()) -> bool() -%%

-%%

-%% intersect(This::wxRegion(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}) -> bool() -%%

+-spec intersect(This, Region) -> boolean() when + This::wxRegion(), Region::wxRegion(); + (This, Rect) -> boolean() when + This::wxRegion(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}. intersect(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=RegionT,ref=RegionRef}) -> ?CLASS(ThisT,wxRegion), ?CLASS(RegionT,wxRegion), @@ -158,30 +150,28 @@ intersect(#wx_ref{type=ThisT,ref=ThisRef},{RectX,RectY,RectW,RectH}) wxe_util:call(?wxRegion_Intersect_1_1, <>). -%% @spec (This::wxRegion(), X::integer(), Y::integer(), W::integer(), H::integer()) -> bool() %% @doc See external documentation. +-spec intersect(This, X, Y, W, H) -> boolean() when + This::wxRegion(), X::integer(), Y::integer(), W::integer(), H::integer(). intersect(#wx_ref{type=ThisT,ref=ThisRef},X,Y,W,H) when is_integer(X),is_integer(Y),is_integer(W),is_integer(H) -> ?CLASS(ThisT,wxRegion), wxe_util:call(?wxRegion_Intersect_4, <>). -%% @spec (This::wxRegion()) -> bool() %% @doc See external documentation. +-spec isEmpty(This) -> boolean() when + This::wxRegion(). isEmpty(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxRegion), wxe_util:call(?wxRegion_IsEmpty, <>). -%% @spec (This::wxRegion(),X::wxRegion()|term()) -> bool() %% @doc See external documentation. -%%
Alternatives: -%%

-%% subtract(This::wxRegion(), Region::wxRegion()) -> bool() -%%

-%%

-%% subtract(This::wxRegion(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}) -> bool() -%%

+-spec subtract(This, Region) -> boolean() when + This::wxRegion(), Region::wxRegion(); + (This, Rect) -> boolean() when + This::wxRegion(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}. subtract(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=RegionT,ref=RegionRef}) -> ?CLASS(ThisT,wxRegion), ?CLASS(RegionT,wxRegion), @@ -193,39 +183,38 @@ subtract(#wx_ref{type=ThisT,ref=ThisRef},{RectX,RectY,RectW,RectH}) wxe_util:call(?wxRegion_Subtract_1_1, <>). -%% @spec (This::wxRegion(), X::integer(), Y::integer(), W::integer(), H::integer()) -> bool() %% @doc See external documentation. +-spec subtract(This, X, Y, W, H) -> boolean() when + This::wxRegion(), X::integer(), Y::integer(), W::integer(), H::integer(). subtract(#wx_ref{type=ThisT,ref=ThisRef},X,Y,W,H) when is_integer(X),is_integer(Y),is_integer(W),is_integer(H) -> ?CLASS(ThisT,wxRegion), wxe_util:call(?wxRegion_Subtract_4, <>). -%% @spec (This::wxRegion(), Pt::{X::integer(), Y::integer()}) -> bool() %% @doc See external documentation. +-spec offset(This, Pt) -> boolean() when + This::wxRegion(), Pt::{X::integer(), Y::integer()}. offset(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY}) when is_integer(PtX),is_integer(PtY) -> ?CLASS(ThisT,wxRegion), wxe_util:call(?wxRegion_Offset_1, <>). -%% @spec (This::wxRegion(), X::integer(), Y::integer()) -> bool() %% @doc See external documentation. +-spec offset(This, X, Y) -> boolean() when + This::wxRegion(), X::integer(), Y::integer(). offset(#wx_ref{type=ThisT,ref=ThisRef},X,Y) when is_integer(X),is_integer(Y) -> ?CLASS(ThisT,wxRegion), wxe_util:call(?wxRegion_Offset_2, <>). -%% @spec (This::wxRegion(),X::term()) -> bool() %% @doc See external documentation. -%%
Alternatives: -%%

-%% union(This::wxRegion(), Region::wxRegion() | wxBitmap:wxBitmap()) -> bool() -%%

-%%

-%% union(This::wxRegion(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}) -> bool() -%%

+-spec union(This, Region) -> boolean() when + This::wxRegion(), Region::wxRegion() | wxBitmap:wxBitmap(); + (This, Rect) -> boolean() when + This::wxRegion(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}. union(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=RegionT,ref=RegionRef}) -> ?CLASS(ThisT,wxRegion), RegionOP = case ?CLASS_T(RegionT,wxRegion) of @@ -242,15 +231,18 @@ union(#wx_ref{type=ThisT,ref=ThisRef},{RectX,RectY,RectW,RectH}) wxe_util:call(?wxRegion_Union_1_2, <>). -%% @spec (This::wxRegion(), Bmp::wxBitmap:wxBitmap(), Transp::wx:colour()) -> bool() %% @equiv union(This,Bmp,Transp, []) +-spec union(This, Bmp, Transp) -> boolean() when + This::wxRegion(), Bmp::wxBitmap:wxBitmap(), Transp::wx:wx_colour(). + union(This,Bmp,Transp) when is_record(This, wx_ref),is_record(Bmp, wx_ref),tuple_size(Transp) =:= 3; tuple_size(Transp) =:= 4 -> union(This,Bmp,Transp, []). -%% @spec (This::wxRegion(), Bmp::wxBitmap:wxBitmap(), Transp::wx:colour(), [Option]) -> bool() -%% Option = {tolerance, integer()} %% @doc See external documentation. +-spec union(This, Bmp, Transp, [Option]) -> boolean() when + This::wxRegion(), Bmp::wxBitmap:wxBitmap(), Transp::wx:wx_colour(), + Option :: {tolerance, integer()}. union(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BmpT,ref=BmpRef},Transp, Options) when tuple_size(Transp) =:= 3; tuple_size(Transp) =:= 4,is_list(Options) -> ?CLASS(ThisT,wxRegion), @@ -261,23 +253,20 @@ union(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BmpT,ref=BmpRef},Transp, Opti wxe_util:call(?wxRegion_Union_3, <>). -%% @spec (This::wxRegion(), X::integer(), Y::integer(), W::integer(), H::integer()) -> bool() %% @doc See external documentation. +-spec union(This, X, Y, W, H) -> boolean() when + This::wxRegion(), X::integer(), Y::integer(), W::integer(), H::integer(). union(#wx_ref{type=ThisT,ref=ThisRef},X,Y,W,H) when is_integer(X),is_integer(Y),is_integer(W),is_integer(H) -> ?CLASS(ThisT,wxRegion), wxe_util:call(?wxRegion_Union_4, <>). -%% @spec (This::wxRegion(),X::wxRegion()|term()) -> bool() %% @doc See external documentation. -%%
Alternatives: -%%

-%% 'Xor'(This::wxRegion(), Region::wxRegion()) -> bool() -%%

-%%

-%% 'Xor'(This::wxRegion(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}) -> bool() -%%

+-spec 'Xor'(This, Region) -> boolean() when + This::wxRegion(), Region::wxRegion(); + (This, Rect) -> boolean() when + This::wxRegion(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}. 'Xor'(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=RegionT,ref=RegionRef}) -> ?CLASS(ThisT,wxRegion), ?CLASS(RegionT,wxRegion), @@ -289,16 +278,17 @@ union(#wx_ref{type=ThisT,ref=ThisRef},X,Y,W,H) wxe_util:call(?wxRegion_Xor_1_1, <>). -%% @spec (This::wxRegion(), X::integer(), Y::integer(), W::integer(), H::integer()) -> bool() %% @doc See external documentation. +-spec 'Xor'(This, X, Y, W, H) -> boolean() when + This::wxRegion(), X::integer(), Y::integer(), W::integer(), H::integer(). 'Xor'(#wx_ref{type=ThisT,ref=ThisRef},X,Y,W,H) when is_integer(X),is_integer(Y),is_integer(W),is_integer(H) -> ?CLASS(ThisT,wxRegion), wxe_util:call(?wxRegion_Xor_4, <>). -%% @spec (This::wxRegion()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxRegion) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxRegion), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxSashEvent.erl b/lib/wx/src/gen/wxSashEvent.erl index f9c58a04b1..6ca4bf73ea 100644 --- a/lib/wx/src/gen/wxSashEvent.erl +++ b/lib/wx/src/gen/wxSashEvent.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,31 +40,34 @@ parent_class/1,resumePropagation/2,setInt/2,setString/2,shouldPropagate/1, skip/1,skip/2,stopPropagation/1]). +-export_type([wxSashEvent/0]). %% @hidden parent_class(wxCommandEvent) -> true; parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxSashEvent()) -> WxSashEdgePosition -%% WxSashEdgePosition = integer() +-type wxSashEvent() :: wx:wx_object(). %% @doc See external documentation. -%%
WxSashEdgePosition is one of ?wxSASH_TOP | ?wxSASH_RIGHT | ?wxSASH_BOTTOM | ?wxSASH_LEFT | ?wxSASH_NONE +%%
Res = ?wxSASH_TOP | ?wxSASH_RIGHT | ?wxSASH_BOTTOM | ?wxSASH_LEFT | ?wxSASH_NONE +-spec getEdge(This) -> wx:wx_enum() when + This::wxSashEvent(). getEdge(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSashEvent), wxe_util:call(?wxSashEvent_GetEdge, <>). -%% @spec (This::wxSashEvent()) -> {X::integer(), Y::integer(), W::integer(), H::integer()} %% @doc See external documentation. +-spec getDragRect(This) -> {X::integer(), Y::integer(), W::integer(), H::integer()} when + This::wxSashEvent(). getDragRect(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSashEvent), wxe_util:call(?wxSashEvent_GetDragRect, <>). -%% @spec (This::wxSashEvent()) -> WxSashDragStatus -%% WxSashDragStatus = integer() %% @doc See external documentation. -%%
WxSashDragStatus is one of ?wxSASH_STATUS_OK | ?wxSASH_STATUS_OUT_OF_RANGE +%%
Res = ?wxSASH_STATUS_OK | ?wxSASH_STATUS_OUT_OF_RANGE +-spec getDragStatus(This) -> wx:wx_enum() when + This::wxSashEvent(). getDragStatus(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSashEvent), wxe_util:call(?wxSashEvent_GetDragStatus, diff --git a/lib/wx/src/gen/wxSashLayoutWindow.erl b/lib/wx/src/gen/wxSashLayoutWindow.erl index eb8eb38011..252ff4d7dd 100644 --- a/lib/wx/src/gen/wxSashLayoutWindow.erl +++ b/lib/wx/src/gen/wxSashLayoutWindow.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -74,27 +74,35 @@ transferDataToWindow/1,update/1,updateWindowUI/1,updateWindowUI/2, validate/1,warpPointer/3]). +-export_type([wxSashLayoutWindow/0]). %% @hidden parent_class(wxSashWindow) -> true; parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxSashLayoutWindow() +-type wxSashLayoutWindow() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxSashLayoutWindow(). new() -> wxe_util:construct(?wxSashLayoutWindow_new_0, <<>>). -%% @spec (Parent::wxWindow:wxWindow()) -> wxSashLayoutWindow() %% @equiv new(Parent, []) +-spec new(Parent) -> wxSashLayoutWindow() when + Parent::wxWindow:wxWindow(). + new(Parent) when is_record(Parent, wx_ref) -> new(Parent, []). -%% @spec (Parent::wxWindow:wxWindow(), [Option]) -> wxSashLayoutWindow() -%% Option = {id, integer()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} %% @doc See external documentation. +-spec new(Parent, [Option]) -> wxSashLayoutWindow() when + Parent::wxWindow:wxWindow(), + Option :: {id, integer()} + | {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()}. new(#wx_ref{type=ParentT,ref=ParentRef}, Options) when is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -107,15 +115,21 @@ new(#wx_ref{type=ParentT,ref=ParentRef}, Options) wxe_util:construct(?wxSashLayoutWindow_new_2, <>). -%% @spec (This::wxSashLayoutWindow(), Parent::wxWindow:wxWindow()) -> bool() %% @equiv create(This,Parent, []) +-spec create(This, Parent) -> boolean() when + This::wxSashLayoutWindow(), Parent::wxWindow:wxWindow(). + create(This,Parent) when is_record(This, wx_ref),is_record(Parent, wx_ref) -> create(This,Parent, []). -%% @spec (This::wxSashLayoutWindow(), Parent::wxWindow:wxWindow(), [Option]) -> bool() -%% Option = {id, integer()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} %% @doc See external documentation. +-spec create(This, Parent, [Option]) -> boolean() when + This::wxSashLayoutWindow(), Parent::wxWindow:wxWindow(), + Option :: {id, integer()} + | {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()}. create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxSashLayoutWindow), @@ -129,54 +143,55 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}, Opti wxe_util:call(?wxSashLayoutWindow_Create, <>). -%% @spec (This::wxSashLayoutWindow()) -> WxLayoutAlignment -%% WxLayoutAlignment = integer() %% @doc See external documentation. -%%
WxLayoutAlignment is one of ?wxLAYOUT_NONE | ?wxLAYOUT_TOP | ?wxLAYOUT_LEFT | ?wxLAYOUT_RIGHT | ?wxLAYOUT_BOTTOM +%%
Res = ?wxLAYOUT_NONE | ?wxLAYOUT_TOP | ?wxLAYOUT_LEFT | ?wxLAYOUT_RIGHT | ?wxLAYOUT_BOTTOM +-spec getAlignment(This) -> wx:wx_enum() when + This::wxSashLayoutWindow(). getAlignment(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSashLayoutWindow), wxe_util:call(?wxSashLayoutWindow_GetAlignment, <>). -%% @spec (This::wxSashLayoutWindow()) -> WxLayoutOrientation -%% WxLayoutOrientation = integer() %% @doc See external documentation. -%%
WxLayoutOrientation is one of ?wxLAYOUT_HORIZONTAL | ?wxLAYOUT_VERTICAL +%%
Res = ?wxLAYOUT_HORIZONTAL | ?wxLAYOUT_VERTICAL +-spec getOrientation(This) -> wx:wx_enum() when + This::wxSashLayoutWindow(). getOrientation(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSashLayoutWindow), wxe_util:call(?wxSashLayoutWindow_GetOrientation, <>). -%% @spec (This::wxSashLayoutWindow(), Align::WxLayoutAlignment) -> ok -%% WxLayoutAlignment = integer() %% @doc See external documentation. -%%
WxLayoutAlignment is one of ?wxLAYOUT_NONE | ?wxLAYOUT_TOP | ?wxLAYOUT_LEFT | ?wxLAYOUT_RIGHT | ?wxLAYOUT_BOTTOM +%%
Align = ?wxLAYOUT_NONE | ?wxLAYOUT_TOP | ?wxLAYOUT_LEFT | ?wxLAYOUT_RIGHT | ?wxLAYOUT_BOTTOM +-spec setAlignment(This, Align) -> ok when + This::wxSashLayoutWindow(), Align::wx:wx_enum(). setAlignment(#wx_ref{type=ThisT,ref=ThisRef},Align) when is_integer(Align) -> ?CLASS(ThisT,wxSashLayoutWindow), wxe_util:cast(?wxSashLayoutWindow_SetAlignment, <>). -%% @spec (This::wxSashLayoutWindow(), Size::{W::integer(), H::integer()}) -> ok %% @doc See external documentation. +-spec setDefaultSize(This, Size) -> ok when + This::wxSashLayoutWindow(), Size::{W::integer(), H::integer()}. setDefaultSize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH}) when is_integer(SizeW),is_integer(SizeH) -> ?CLASS(ThisT,wxSashLayoutWindow), wxe_util:cast(?wxSashLayoutWindow_SetDefaultSize, <>). -%% @spec (This::wxSashLayoutWindow(), Orient::WxLayoutOrientation) -> ok -%% WxLayoutOrientation = integer() %% @doc See external documentation. -%%
WxLayoutOrientation is one of ?wxLAYOUT_HORIZONTAL | ?wxLAYOUT_VERTICAL +%%
Orient = ?wxLAYOUT_HORIZONTAL | ?wxLAYOUT_VERTICAL +-spec setOrientation(This, Orient) -> ok when + This::wxSashLayoutWindow(), Orient::wx:wx_enum(). setOrientation(#wx_ref{type=ThisT,ref=ThisRef},Orient) when is_integer(Orient) -> ?CLASS(ThisT,wxSashLayoutWindow), wxe_util:cast(?wxSashLayoutWindow_SetOrientation, <>). -%% @spec (This::wxSashLayoutWindow()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxSashLayoutWindow) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxSashLayoutWindow), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxSashWindow.erl b/lib/wx/src/gen/wxSashWindow.erl index 698cfb8fb6..c3f0d17eb4 100644 --- a/lib/wx/src/gen/wxSashWindow.erl +++ b/lib/wx/src/gen/wxSashWindow.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -70,26 +70,34 @@ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1, update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxSashWindow/0]). %% @hidden parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxSashWindow() +-type wxSashWindow() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxSashWindow(). new() -> wxe_util:construct(?wxSashWindow_new_0, <<>>). -%% @spec (Parent::wxWindow:wxWindow()) -> wxSashWindow() %% @equiv new(Parent, []) +-spec new(Parent) -> wxSashWindow() when + Parent::wxWindow:wxWindow(). + new(Parent) when is_record(Parent, wx_ref) -> new(Parent, []). -%% @spec (Parent::wxWindow:wxWindow(), [Option]) -> wxSashWindow() -%% Option = {id, integer()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} %% @doc See external documentation. +-spec new(Parent, [Option]) -> wxSashWindow() when + Parent::wxWindow:wxWindow(), + Option :: {id, integer()} + | {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()}. new(#wx_ref{type=ParentT,ref=ParentRef}, Options) when is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -102,88 +110,96 @@ new(#wx_ref{type=ParentT,ref=ParentRef}, Options) wxe_util:construct(?wxSashWindow_new_2, <>). -%% @spec (This::wxSashWindow(), Edge::WxSashEdgePosition) -> bool() -%% WxSashEdgePosition = integer() %% @doc See external documentation. -%%
WxSashEdgePosition is one of ?wxSASH_TOP | ?wxSASH_RIGHT | ?wxSASH_BOTTOM | ?wxSASH_LEFT | ?wxSASH_NONE +%%
Edge = ?wxSASH_TOP | ?wxSASH_RIGHT | ?wxSASH_BOTTOM | ?wxSASH_LEFT | ?wxSASH_NONE +-spec getSashVisible(This, Edge) -> boolean() when + This::wxSashWindow(), Edge::wx:wx_enum(). getSashVisible(#wx_ref{type=ThisT,ref=ThisRef},Edge) when is_integer(Edge) -> ?CLASS(ThisT,wxSashWindow), wxe_util:call(?wxSashWindow_GetSashVisible, <>). -%% @spec (This::wxSashWindow()) -> integer() %% @doc See external documentation. +-spec getMaximumSizeX(This) -> integer() when + This::wxSashWindow(). getMaximumSizeX(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSashWindow), wxe_util:call(?wxSashWindow_GetMaximumSizeX, <>). -%% @spec (This::wxSashWindow()) -> integer() %% @doc See external documentation. +-spec getMaximumSizeY(This) -> integer() when + This::wxSashWindow(). getMaximumSizeY(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSashWindow), wxe_util:call(?wxSashWindow_GetMaximumSizeY, <>). -%% @spec (This::wxSashWindow()) -> integer() %% @doc See external documentation. +-spec getMinimumSizeX(This) -> integer() when + This::wxSashWindow(). getMinimumSizeX(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSashWindow), wxe_util:call(?wxSashWindow_GetMinimumSizeX, <>). -%% @spec (This::wxSashWindow()) -> integer() %% @doc See external documentation. +-spec getMinimumSizeY(This) -> integer() when + This::wxSashWindow(). getMinimumSizeY(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSashWindow), wxe_util:call(?wxSashWindow_GetMinimumSizeY, <>). -%% @spec (This::wxSashWindow(), Max::integer()) -> ok %% @doc See external documentation. +-spec setMaximumSizeX(This, Max) -> ok when + This::wxSashWindow(), Max::integer(). setMaximumSizeX(#wx_ref{type=ThisT,ref=ThisRef},Max) when is_integer(Max) -> ?CLASS(ThisT,wxSashWindow), wxe_util:cast(?wxSashWindow_SetMaximumSizeX, <>). -%% @spec (This::wxSashWindow(), Max::integer()) -> ok %% @doc See external documentation. +-spec setMaximumSizeY(This, Max) -> ok when + This::wxSashWindow(), Max::integer(). setMaximumSizeY(#wx_ref{type=ThisT,ref=ThisRef},Max) when is_integer(Max) -> ?CLASS(ThisT,wxSashWindow), wxe_util:cast(?wxSashWindow_SetMaximumSizeY, <>). -%% @spec (This::wxSashWindow(), Min::integer()) -> ok %% @doc See external documentation. +-spec setMinimumSizeX(This, Min) -> ok when + This::wxSashWindow(), Min::integer(). setMinimumSizeX(#wx_ref{type=ThisT,ref=ThisRef},Min) when is_integer(Min) -> ?CLASS(ThisT,wxSashWindow), wxe_util:cast(?wxSashWindow_SetMinimumSizeX, <>). -%% @spec (This::wxSashWindow(), Min::integer()) -> ok %% @doc See external documentation. +-spec setMinimumSizeY(This, Min) -> ok when + This::wxSashWindow(), Min::integer(). setMinimumSizeY(#wx_ref{type=ThisT,ref=ThisRef},Min) when is_integer(Min) -> ?CLASS(ThisT,wxSashWindow), wxe_util:cast(?wxSashWindow_SetMinimumSizeY, <>). -%% @spec (This::wxSashWindow(), Edge::WxSashEdgePosition, Sash::bool()) -> ok -%% WxSashEdgePosition = integer() %% @doc See external documentation. -%%
WxSashEdgePosition is one of ?wxSASH_TOP | ?wxSASH_RIGHT | ?wxSASH_BOTTOM | ?wxSASH_LEFT | ?wxSASH_NONE +%%
Edge = ?wxSASH_TOP | ?wxSASH_RIGHT | ?wxSASH_BOTTOM | ?wxSASH_LEFT | ?wxSASH_NONE +-spec setSashVisible(This, Edge, Sash) -> ok when + This::wxSashWindow(), Edge::wx:wx_enum(), Sash::boolean(). setSashVisible(#wx_ref{type=ThisT,ref=ThisRef},Edge,Sash) when is_integer(Edge),is_boolean(Sash) -> ?CLASS(ThisT,wxSashWindow), wxe_util:cast(?wxSashWindow_SetSashVisible, <>). -%% @spec (This::wxSashWindow()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxSashWindow) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxSashWindow), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxScreenDC.erl b/lib/wx/src/gen/wxScreenDC.erl index 4d7466f4f1..baf9726946 100644 --- a/lib/wx/src/gen/wxScreenDC.erl +++ b/lib/wx/src/gen/wxScreenDC.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -52,18 +52,20 @@ setPen/2,setTextBackground/2,setTextForeground/2,setUserScale/3,startDoc/2, startPage/1]). +-export_type([wxScreenDC/0]). %% @hidden parent_class(wxDC) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxScreenDC() +-type wxScreenDC() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxScreenDC(). new() -> wxe_util:construct(?wxScreenDC_new, <<>>). -%% @spec (This::wxScreenDC()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxScreenDC) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxScreenDC), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxScrollBar.erl b/lib/wx/src/gen/wxScrollBar.erl index 5c7890009f..baa5918c9e 100644 --- a/lib/wx/src/gen/wxScrollBar.erl +++ b/lib/wx/src/gen/wxScrollBar.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -70,27 +70,35 @@ transferDataToWindow/1,update/1,updateWindowUI/1,updateWindowUI/2, validate/1,warpPointer/3]). +-export_type([wxScrollBar/0]). %% @hidden parent_class(wxControl) -> true; parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxScrollBar() +-type wxScrollBar() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxScrollBar(). new() -> wxe_util:construct(?wxScrollBar_new_0, <<>>). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer()) -> wxScrollBar() %% @equiv new(Parent,Id, []) +-spec new(Parent, Id) -> wxScrollBar() when + Parent::wxWindow:wxWindow(), Id::integer(). + new(Parent,Id) when is_record(Parent, wx_ref),is_integer(Id) -> new(Parent,Id, []). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> wxScrollBar() -%% Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx:wx()} %% @doc See external documentation. +-spec new(Parent, Id, [Option]) -> wxScrollBar() when + Parent::wxWindow:wxWindow(), Id::integer(), + Option :: {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()} + | {validator, wx:wx()}. new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options) when is_integer(Id),is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -103,15 +111,21 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options) wxe_util:construct(?wxScrollBar_new_3, <>). -%% @spec (This::wxScrollBar(), Parent::wxWindow:wxWindow(), Id::integer()) -> bool() %% @equiv create(This,Parent,Id, []) +-spec create(This, Parent, Id) -> boolean() when + This::wxScrollBar(), Parent::wxWindow:wxWindow(), Id::integer(). + create(This,Parent,Id) when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id) -> create(This,Parent,Id, []). -%% @spec (This::wxScrollBar(), Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> bool() -%% Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx:wx()} %% @doc See external documentation. +-spec create(This, Parent, Id, [Option]) -> boolean() when + This::wxScrollBar(), Parent::wxWindow:wxWindow(), Id::integer(), + Option :: {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()} + | {validator, wx:wx()}. create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id, Options) when is_integer(Id),is_list(Options) -> ?CLASS(ThisT,wxScrollBar), @@ -125,51 +139,59 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id, O wxe_util:call(?wxScrollBar_Create, <>). -%% @spec (This::wxScrollBar()) -> integer() %% @doc See external documentation. +-spec getRange(This) -> integer() when + This::wxScrollBar(). getRange(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxScrollBar), wxe_util:call(?wxScrollBar_GetRange, <>). -%% @spec (This::wxScrollBar()) -> integer() %% @doc See external documentation. +-spec getPageSize(This) -> integer() when + This::wxScrollBar(). getPageSize(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxScrollBar), wxe_util:call(?wxScrollBar_GetPageSize, <>). -%% @spec (This::wxScrollBar()) -> integer() %% @doc See external documentation. +-spec getThumbPosition(This) -> integer() when + This::wxScrollBar(). getThumbPosition(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxScrollBar), wxe_util:call(?wxScrollBar_GetThumbPosition, <>). -%% @spec (This::wxScrollBar()) -> integer() %% @doc See external documentation. +-spec getThumbSize(This) -> integer() when + This::wxScrollBar(). getThumbSize(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxScrollBar), wxe_util:call(?wxScrollBar_GetThumbSize, <>). -%% @spec (This::wxScrollBar(), ViewStart::integer()) -> ok %% @doc See external documentation. +-spec setThumbPosition(This, ViewStart) -> ok when + This::wxScrollBar(), ViewStart::integer(). setThumbPosition(#wx_ref{type=ThisT,ref=ThisRef},ViewStart) when is_integer(ViewStart) -> ?CLASS(ThisT,wxScrollBar), wxe_util:cast(?wxScrollBar_SetThumbPosition, <>). -%% @spec (This::wxScrollBar(), Position::integer(), ThumbSize::integer(), Range::integer(), PageSize::integer()) -> ok %% @equiv setScrollbar(This,Position,ThumbSize,Range,PageSize, []) +-spec setScrollbar(This, Position, ThumbSize, Range, PageSize) -> ok when + This::wxScrollBar(), Position::integer(), ThumbSize::integer(), Range::integer(), PageSize::integer(). + setScrollbar(This,Position,ThumbSize,Range,PageSize) when is_record(This, wx_ref),is_integer(Position),is_integer(ThumbSize),is_integer(Range),is_integer(PageSize) -> setScrollbar(This,Position,ThumbSize,Range,PageSize, []). -%% @spec (This::wxScrollBar(), Position::integer(), ThumbSize::integer(), Range::integer(), PageSize::integer(), [Option]) -> ok -%% Option = {refresh, bool()} %% @doc See external documentation. +-spec setScrollbar(This, Position, ThumbSize, Range, PageSize, [Option]) -> ok when + This::wxScrollBar(), Position::integer(), ThumbSize::integer(), Range::integer(), PageSize::integer(), + Option :: {refresh, boolean()}. setScrollbar(#wx_ref{type=ThisT,ref=ThisRef},Position,ThumbSize,Range,PageSize, Options) when is_integer(Position),is_integer(ThumbSize),is_integer(Range),is_integer(PageSize),is_list(Options) -> ?CLASS(ThisT,wxScrollBar), @@ -179,8 +201,8 @@ setScrollbar(#wx_ref{type=ThisT,ref=ThisRef},Position,ThumbSize,Range,PageSize, wxe_util:cast(?wxScrollBar_SetScrollbar, <>). -%% @spec (This::wxScrollBar()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxScrollBar) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxScrollBar), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxScrollEvent.erl b/lib/wx/src/gen/wxScrollEvent.erl index 61b99fa360..6939859d92 100644 --- a/lib/wx/src/gen/wxScrollEvent.erl +++ b/lib/wx/src/gen/wxScrollEvent.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,20 +40,24 @@ parent_class/1,resumePropagation/2,setInt/2,setString/2,shouldPropagate/1, skip/1,skip/2,stopPropagation/1]). +-export_type([wxScrollEvent/0]). %% @hidden parent_class(wxCommandEvent) -> true; parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxScrollEvent()) -> integer() +-type wxScrollEvent() :: wx:wx_object(). %% @doc See external documentation. +-spec getOrientation(This) -> integer() when + This::wxScrollEvent(). getOrientation(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxScrollEvent), wxe_util:call(?wxScrollEvent_GetOrientation, <>). -%% @spec (This::wxScrollEvent()) -> integer() %% @doc See external documentation. +-spec getPosition(This) -> integer() when + This::wxScrollEvent(). getPosition(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxScrollEvent), wxe_util:call(?wxScrollEvent_GetPosition, diff --git a/lib/wx/src/gen/wxScrollWinEvent.erl b/lib/wx/src/gen/wxScrollWinEvent.erl index 6b33b6b564..c899d37dff 100644 --- a/lib/wx/src/gen/wxScrollWinEvent.erl +++ b/lib/wx/src/gen/wxScrollWinEvent.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,19 +37,23 @@ -export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1, resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]). +-export_type([wxScrollWinEvent/0]). %% @hidden parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxScrollWinEvent()) -> integer() +-type wxScrollWinEvent() :: wx:wx_object(). %% @doc See external documentation. +-spec getOrientation(This) -> integer() when + This::wxScrollWinEvent(). getOrientation(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxScrollWinEvent), wxe_util:call(?wxScrollWinEvent_GetOrientation, <>). -%% @spec (This::wxScrollWinEvent()) -> integer() %% @doc See external documentation. +-spec getPosition(This) -> integer() when + This::wxScrollWinEvent(). getPosition(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxScrollWinEvent), wxe_util:call(?wxScrollWinEvent_GetPosition, diff --git a/lib/wx/src/gen/wxScrolledWindow.erl b/lib/wx/src/gen/wxScrolledWindow.erl index 0693a79760..b4ecc68a6c 100644 --- a/lib/wx/src/gen/wxScrolledWindow.erl +++ b/lib/wx/src/gen/wxScrolledWindow.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,27 +72,35 @@ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1, update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxScrolledWindow/0]). %% @hidden parent_class(wxPanel) -> true; parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxScrolledWindow() +-type wxScrolledWindow() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxScrolledWindow(). new() -> wxe_util:construct(?wxScrolledWindow_new_0, <<>>). -%% @spec (Parent::wxWindow:wxWindow()) -> wxScrolledWindow() %% @equiv new(Parent, []) +-spec new(Parent) -> wxScrolledWindow() when + Parent::wxWindow:wxWindow(). + new(Parent) when is_record(Parent, wx_ref) -> new(Parent, []). -%% @spec (Parent::wxWindow:wxWindow(), [Option]) -> wxScrolledWindow() -%% Option = {winid, integer()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} %% @doc See external documentation. +-spec new(Parent, [Option]) -> wxScrolledWindow() when + Parent::wxWindow:wxWindow(), + Option :: {winid, integer()} + | {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()}. new(#wx_ref{type=ParentT,ref=ParentRef}, Options) when is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -105,93 +113,108 @@ new(#wx_ref{type=ParentT,ref=ParentRef}, Options) wxe_util:construct(?wxScrolledWindow_new_2, <>). -%% @spec (This::wxScrolledWindow(), Pt::{X::integer(), Y::integer()}) -> {X::integer(), Y::integer()} %% @doc See external documentation. +-spec calcScrolledPosition(This, Pt) -> {X::integer(), Y::integer()} when + This::wxScrolledWindow(), Pt::{X::integer(), Y::integer()}. calcScrolledPosition(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY}) when is_integer(PtX),is_integer(PtY) -> ?CLASS(ThisT,wxScrolledWindow), wxe_util:call(?wxScrolledWindow_CalcScrolledPosition_1, <>). -%% @spec (This::wxScrolledWindow(), X::integer(), Y::integer()) -> {Xx::integer(), Yy::integer()} %% @doc See external documentation. +-spec calcScrolledPosition(This, X, Y) -> {Xx::integer(), Yy::integer()} when + This::wxScrolledWindow(), X::integer(), Y::integer(). calcScrolledPosition(#wx_ref{type=ThisT,ref=ThisRef},X,Y) when is_integer(X),is_integer(Y) -> ?CLASS(ThisT,wxScrolledWindow), wxe_util:call(?wxScrolledWindow_CalcScrolledPosition_4, <>). -%% @spec (This::wxScrolledWindow(), Pt::{X::integer(), Y::integer()}) -> {X::integer(), Y::integer()} %% @doc See external documentation. +-spec calcUnscrolledPosition(This, Pt) -> {X::integer(), Y::integer()} when + This::wxScrolledWindow(), Pt::{X::integer(), Y::integer()}. calcUnscrolledPosition(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY}) when is_integer(PtX),is_integer(PtY) -> ?CLASS(ThisT,wxScrolledWindow), wxe_util:call(?wxScrolledWindow_CalcUnscrolledPosition_1, <>). -%% @spec (This::wxScrolledWindow(), X::integer(), Y::integer()) -> {Xx::integer(), Yy::integer()} %% @doc See external documentation. +-spec calcUnscrolledPosition(This, X, Y) -> {Xx::integer(), Yy::integer()} when + This::wxScrolledWindow(), X::integer(), Y::integer(). calcUnscrolledPosition(#wx_ref{type=ThisT,ref=ThisRef},X,Y) when is_integer(X),is_integer(Y) -> ?CLASS(ThisT,wxScrolledWindow), wxe_util:call(?wxScrolledWindow_CalcUnscrolledPosition_4, <>). -%% @spec (This::wxScrolledWindow(), X_scrolling::bool(), Y_scrolling::bool()) -> ok %% @doc See external documentation. +-spec enableScrolling(This, X_scrolling, Y_scrolling) -> ok when + This::wxScrolledWindow(), X_scrolling::boolean(), Y_scrolling::boolean(). enableScrolling(#wx_ref{type=ThisT,ref=ThisRef},X_scrolling,Y_scrolling) when is_boolean(X_scrolling),is_boolean(Y_scrolling) -> ?CLASS(ThisT,wxScrolledWindow), wxe_util:cast(?wxScrolledWindow_EnableScrolling, <>). -%% @spec (This::wxScrolledWindow()) -> {PixelsPerUnitX::integer(), PixelsPerUnitY::integer()} %% @doc See external documentation. +-spec getScrollPixelsPerUnit(This) -> {PixelsPerUnitX::integer(), PixelsPerUnitY::integer()} when + This::wxScrolledWindow(). getScrollPixelsPerUnit(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxScrolledWindow), wxe_util:call(?wxScrolledWindow_GetScrollPixelsPerUnit, <>). -%% @spec (This::wxScrolledWindow()) -> {X::integer(), Y::integer()} %% @doc See external documentation. +-spec getViewStart(This) -> {X::integer(), Y::integer()} when + This::wxScrolledWindow(). getViewStart(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxScrolledWindow), wxe_util:call(?wxScrolledWindow_GetViewStart, <>). -%% @spec (This::wxScrolledWindow(), Dc::wxDC:wxDC()) -> ok %% @doc See external documentation. +-spec doPrepareDC(This, Dc) -> ok when + This::wxScrolledWindow(), Dc::wxDC:wxDC(). doPrepareDC(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=DcT,ref=DcRef}) -> ?CLASS(ThisT,wxScrolledWindow), ?CLASS(DcT,wxDC), wxe_util:cast(?wxScrolledWindow_DoPrepareDC, <>). -%% @spec (This::wxScrolledWindow(), Dc::wxDC:wxDC()) -> ok %% @doc See external documentation. +-spec prepareDC(This, Dc) -> ok when + This::wxScrolledWindow(), Dc::wxDC:wxDC(). prepareDC(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=DcT,ref=DcRef}) -> ?CLASS(ThisT,wxScrolledWindow), ?CLASS(DcT,wxDC), wxe_util:cast(?wxScrolledWindow_PrepareDC, <>). -%% @spec (This::wxScrolledWindow(), X::integer(), Y::integer()) -> ok %% @doc See external documentation. +-spec scroll(This, X, Y) -> ok when + This::wxScrolledWindow(), X::integer(), Y::integer(). scroll(#wx_ref{type=ThisT,ref=ThisRef},X,Y) when is_integer(X),is_integer(Y) -> ?CLASS(ThisT,wxScrolledWindow), wxe_util:cast(?wxScrolledWindow_Scroll, <>). -%% @spec (This::wxScrolledWindow(), PixelsPerUnitX::integer(), PixelsPerUnitY::integer(), NoUnitsX::integer(), NoUnitsY::integer()) -> ok %% @equiv setScrollbars(This,PixelsPerUnitX,PixelsPerUnitY,NoUnitsX,NoUnitsY, []) +-spec setScrollbars(This, PixelsPerUnitX, PixelsPerUnitY, NoUnitsX, NoUnitsY) -> ok when + This::wxScrolledWindow(), PixelsPerUnitX::integer(), PixelsPerUnitY::integer(), NoUnitsX::integer(), NoUnitsY::integer(). + setScrollbars(This,PixelsPerUnitX,PixelsPerUnitY,NoUnitsX,NoUnitsY) when is_record(This, wx_ref),is_integer(PixelsPerUnitX),is_integer(PixelsPerUnitY),is_integer(NoUnitsX),is_integer(NoUnitsY) -> setScrollbars(This,PixelsPerUnitX,PixelsPerUnitY,NoUnitsX,NoUnitsY, []). -%% @spec (This::wxScrolledWindow(), PixelsPerUnitX::integer(), PixelsPerUnitY::integer(), NoUnitsX::integer(), NoUnitsY::integer(), [Option]) -> ok -%% Option = {xPos, integer()} | {yPos, integer()} | {noRefresh, bool()} %% @doc See external documentation. +-spec setScrollbars(This, PixelsPerUnitX, PixelsPerUnitY, NoUnitsX, NoUnitsY, [Option]) -> ok when + This::wxScrolledWindow(), PixelsPerUnitX::integer(), PixelsPerUnitY::integer(), NoUnitsX::integer(), NoUnitsY::integer(), + Option :: {xPos, integer()} + | {yPos, integer()} + | {noRefresh, boolean()}. setScrollbars(#wx_ref{type=ThisT,ref=ThisRef},PixelsPerUnitX,PixelsPerUnitY,NoUnitsX,NoUnitsY, Options) when is_integer(PixelsPerUnitX),is_integer(PixelsPerUnitY),is_integer(NoUnitsX),is_integer(NoUnitsY),is_list(Options) -> ?CLASS(ThisT,wxScrolledWindow), @@ -203,24 +226,26 @@ setScrollbars(#wx_ref{type=ThisT,ref=ThisRef},PixelsPerUnitX,PixelsPerUnitY,NoUn wxe_util:cast(?wxScrolledWindow_SetScrollbars, <>). -%% @spec (This::wxScrolledWindow(), Xstep::integer(), Ystep::integer()) -> ok %% @doc See external documentation. +-spec setScrollRate(This, Xstep, Ystep) -> ok when + This::wxScrolledWindow(), Xstep::integer(), Ystep::integer(). setScrollRate(#wx_ref{type=ThisT,ref=ThisRef},Xstep,Ystep) when is_integer(Xstep),is_integer(Ystep) -> ?CLASS(ThisT,wxScrolledWindow), wxe_util:cast(?wxScrolledWindow_SetScrollRate, <>). -%% @spec (This::wxScrolledWindow(), Target::wxWindow:wxWindow()) -> ok %% @doc See external documentation. +-spec setTargetWindow(This, Target) -> ok when + This::wxScrolledWindow(), Target::wxWindow:wxWindow(). setTargetWindow(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=TargetT,ref=TargetRef}) -> ?CLASS(ThisT,wxScrolledWindow), ?CLASS(TargetT,wxWindow), wxe_util:cast(?wxScrolledWindow_SetTargetWindow, <>). -%% @spec (This::wxScrolledWindow()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxScrolledWindow) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxScrolledWindow), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxSetCursorEvent.erl b/lib/wx/src/gen/wxSetCursorEvent.erl index 75a41eb6ad..23ff963001 100644 --- a/lib/wx/src/gen/wxSetCursorEvent.erl +++ b/lib/wx/src/gen/wxSetCursorEvent.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,40 +37,47 @@ -export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1, resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]). +-export_type([wxSetCursorEvent/0]). %% @hidden parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxSetCursorEvent()) -> wxCursor:wxCursor() +-type wxSetCursorEvent() :: wx:wx_object(). %% @doc See external documentation. +-spec getCursor(This) -> wxCursor:wxCursor() when + This::wxSetCursorEvent(). getCursor(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSetCursorEvent), wxe_util:call(?wxSetCursorEvent_GetCursor, <>). -%% @spec (This::wxSetCursorEvent()) -> integer() %% @doc See external documentation. +-spec getX(This) -> integer() when + This::wxSetCursorEvent(). getX(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSetCursorEvent), wxe_util:call(?wxSetCursorEvent_GetX, <>). -%% @spec (This::wxSetCursorEvent()) -> integer() %% @doc See external documentation. +-spec getY(This) -> integer() when + This::wxSetCursorEvent(). getY(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSetCursorEvent), wxe_util:call(?wxSetCursorEvent_GetY, <>). -%% @spec (This::wxSetCursorEvent()) -> bool() %% @doc See external documentation. +-spec hasCursor(This) -> boolean() when + This::wxSetCursorEvent(). hasCursor(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSetCursorEvent), wxe_util:call(?wxSetCursorEvent_HasCursor, <>). -%% @spec (This::wxSetCursorEvent(), Cursor::wxCursor:wxCursor()) -> ok %% @doc See external documentation. +-spec setCursor(This, Cursor) -> ok when + This::wxSetCursorEvent(), Cursor::wxCursor:wxCursor(). setCursor(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=CursorT,ref=CursorRef}) -> ?CLASS(ThisT,wxSetCursorEvent), ?CLASS(CursorT,wxCursor), diff --git a/lib/wx/src/gen/wxShowEvent.erl b/lib/wx/src/gen/wxShowEvent.erl index 7d5c8300d3..ffafa0978f 100644 --- a/lib/wx/src/gen/wxShowEvent.erl +++ b/lib/wx/src/gen/wxShowEvent.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,20 +37,24 @@ -export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1, resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]). +-export_type([wxShowEvent/0]). %% @hidden parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxShowEvent(), Show::bool()) -> ok +-type wxShowEvent() :: wx:wx_object(). %% @doc See external documentation. +-spec setShow(This, Show) -> ok when + This::wxShowEvent(), Show::boolean(). setShow(#wx_ref{type=ThisT,ref=ThisRef},Show) when is_boolean(Show) -> ?CLASS(ThisT,wxShowEvent), wxe_util:cast(?wxShowEvent_SetShow, <>). -%% @spec (This::wxShowEvent()) -> bool() %% @doc See external documentation. +-spec getShow(This) -> boolean() when + This::wxShowEvent(). getShow(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxShowEvent), wxe_util:call(?wxShowEvent_GetShow, diff --git a/lib/wx/src/gen/wxSingleChoiceDialog.erl b/lib/wx/src/gen/wxSingleChoiceDialog.erl index e2b835917e..741e935e41 100644 --- a/lib/wx/src/gen/wxSingleChoiceDialog.erl +++ b/lib/wx/src/gen/wxSingleChoiceDialog.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -77,6 +77,7 @@ transferDataFromWindow/1,transferDataToWindow/1,update/1,updateWindowUI/1, updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxSingleChoiceDialog/0]). %% @hidden parent_class(wxDialog) -> true; parent_class(wxTopLevelWindow) -> true; @@ -84,21 +85,26 @@ parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxSingleChoiceDialog() +-type wxSingleChoiceDialog() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxSingleChoiceDialog(). new() -> wxe_util:construct(?wxSingleChoiceDialog_new_0, <<>>). -%% @spec (Parent::wxWindow:wxWindow(), Message::string(), Caption::string(), Choices::[[string()]]) -> wxSingleChoiceDialog() %% @equiv new(Parent,Message,Caption,Choices, []) +-spec new(Parent, Message, Caption, Choices) -> wxSingleChoiceDialog() when + Parent::wxWindow:wxWindow(), Message::string(), Caption::string(), Choices::[[string()]]. + new(Parent,Message,Caption,Choices) when is_record(Parent, wx_ref),is_list(Message),is_list(Caption),is_list(Choices) -> new(Parent,Message,Caption,Choices, []). -%% @spec (Parent::wxWindow:wxWindow(), Message::string(), Caption::string(), Choices::[[string()]], [Option]) -> wxSingleChoiceDialog() -%% Option = {style, integer()} | {pos, {X::integer(), Y::integer()}} %% @doc See external documentation. +-spec new(Parent, Message, Caption, Choices, [Option]) -> wxSingleChoiceDialog() when + Parent::wxWindow:wxWindow(), Message::string(), Caption::string(), Choices::[[string()]], + Option :: {style, integer()} + | {pos, {X::integer(), Y::integer()}}. new(#wx_ref{type=ParentT,ref=ParentRef},Message,Caption,Choices, Options) when is_list(Message),is_list(Caption),is_list(Choices),is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -113,30 +119,33 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Message,Caption,Choices, Options) wxe_util:construct(?wxSingleChoiceDialog_new_5, <>|| UC_Str <- Choices_UCA>>)/binary, 0:(((8- ((4 + lists:sum([byte_size(S)+4||S<-Choices_UCA])) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>). -%% @spec (This::wxSingleChoiceDialog()) -> integer() %% @doc See external documentation. +-spec getSelection(This) -> integer() when + This::wxSingleChoiceDialog(). getSelection(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSingleChoiceDialog), wxe_util:call(?wxSingleChoiceDialog_GetSelection, <>). -%% @spec (This::wxSingleChoiceDialog()) -> string() %% @doc See external documentation. +-spec getStringSelection(This) -> string() when + This::wxSingleChoiceDialog(). getStringSelection(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSingleChoiceDialog), wxe_util:call(?wxSingleChoiceDialog_GetStringSelection, <>). -%% @spec (This::wxSingleChoiceDialog(), Sel::integer()) -> ok %% @doc See external documentation. +-spec setSelection(This, Sel) -> ok when + This::wxSingleChoiceDialog(), Sel::integer(). setSelection(#wx_ref{type=ThisT,ref=ThisRef},Sel) when is_integer(Sel) -> ?CLASS(ThisT,wxSingleChoiceDialog), wxe_util:cast(?wxSingleChoiceDialog_SetSelection, <>). -%% @spec (This::wxSingleChoiceDialog()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxSingleChoiceDialog) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxSingleChoiceDialog), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxSizeEvent.erl b/lib/wx/src/gen/wxSizeEvent.erl index 0898f4aed9..c51e48bc59 100644 --- a/lib/wx/src/gen/wxSizeEvent.erl +++ b/lib/wx/src/gen/wxSizeEvent.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,12 +37,15 @@ -export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1, resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]). +-export_type([wxSizeEvent/0]). %% @hidden parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxSizeEvent()) -> {W::integer(), H::integer()} +-type wxSizeEvent() :: wx:wx_object(). %% @doc See external documentation. +-spec getSize(This) -> {W::integer(), H::integer()} when + This::wxSizeEvent(). getSize(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSizeEvent), wxe_util:call(?wxSizeEvent_GetSize, diff --git a/lib/wx/src/gen/wxSizer.erl b/lib/wx/src/gen/wxSizer.erl index 0f1a92f379..999724d38f 100644 --- a/lib/wx/src/gen/wxSizer.erl +++ b/lib/wx/src/gen/wxSizer.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -36,27 +36,30 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxSizer/0]). %% @hidden parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer()) -> wxSizerItem:wxSizerItem() +-type wxSizer() :: wx:wx_object(). %% @equiv add(This,Window, []) +-spec add(This, Window) -> wxSizerItem:wxSizerItem() when + This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(). + add(This,Window) when is_record(This, wx_ref),is_record(Window, wx_ref) -> add(This,Window, []). -%% @spec (This::wxSizer(),X::integer()|term(),X::integer()|term()) -> wxSizerItem:wxSizerItem() %% @doc See external documentation. -%%
Alternatives: -%%

-%% add(This::wxSizer(), Width::integer(), Height::integer()) -> add(This,Width,Height, [])

-%%

-%% add(This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(), [Option]) -> wxSizerItem:wxSizerItem() -%%
Option = {proportion, integer()} | {flag, integer()} | {border, integer()} | {userData, wx:wx()} -%%

-%%

-%% add(This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(), Flags::wxSizerFlags:wxSizerFlags()) -> wxSizerItem:wxSizerItem() -%%

+-spec add(This, Width, Height) -> wxSizerItem:wxSizerItem() when + This::wxSizer(), Width::integer(), Height::integer(); + (This, Window, [Option]) -> wxSizerItem:wxSizerItem() when + This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(), + Option :: {proportion, integer()} + | {flag, integer()} + | {border, integer()} + | {userData, wx:wx()}; + (This, Window, Flags) -> wxSizerItem:wxSizerItem() when + This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(), Flags::wxSizerFlags:wxSizerFlags(). add(This,Width,Height) when is_record(This, wx_ref),is_integer(Width),is_integer(Height) -> @@ -91,9 +94,13 @@ add(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef},#wx_ref{ wxe_util:call(WindowOP, <>). -%% @spec (This::wxSizer(), Width::integer(), Height::integer(), [Option]) -> wxSizerItem:wxSizerItem() -%% Option = {proportion, integer()} | {flag, integer()} | {border, integer()} | {userData, wx:wx()} %% @doc See external documentation. +-spec add(This, Width, Height, [Option]) -> wxSizerItem:wxSizerItem() when + This::wxSizer(), Width::integer(), Height::integer(), + Option :: {proportion, integer()} + | {flag, integer()} + | {border, integer()} + | {userData, wx:wx()}. add(#wx_ref{type=ThisT,ref=ThisRef},Width,Height, Options) when is_integer(Width),is_integer(Height),is_list(Options) -> ?CLASS(ThisT,wxSizer), @@ -106,23 +113,27 @@ add(#wx_ref{type=ThisT,ref=ThisRef},Width,Height, Options) wxe_util:call(?wxSizer_Add_3, <>). -%% @spec (This::wxSizer(), Size::integer()) -> wxSizerItem:wxSizerItem() %% @doc See external documentation. +-spec addSpacer(This, Size) -> wxSizerItem:wxSizerItem() when + This::wxSizer(), Size::integer(). addSpacer(#wx_ref{type=ThisT,ref=ThisRef},Size) when is_integer(Size) -> ?CLASS(ThisT,wxSizer), wxe_util:call(?wxSizer_AddSpacer, <>). -%% @spec (This::wxSizer()) -> wxSizerItem:wxSizerItem() %% @equiv addStretchSpacer(This, []) +-spec addStretchSpacer(This) -> wxSizerItem:wxSizerItem() when + This::wxSizer(). + addStretchSpacer(This) when is_record(This, wx_ref) -> addStretchSpacer(This, []). -%% @spec (This::wxSizer(), [Option]) -> wxSizerItem:wxSizerItem() -%% Option = {prop, integer()} %% @doc See external documentation. +-spec addStretchSpacer(This, [Option]) -> wxSizerItem:wxSizerItem() when + This::wxSizer(), + Option :: {prop, integer()}. addStretchSpacer(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxSizer), @@ -132,22 +143,26 @@ addStretchSpacer(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxSizer_AddStretchSpacer, <>). -%% @spec (This::wxSizer()) -> {W::integer(), H::integer()} %% @doc See external documentation. +-spec calcMin(This) -> {W::integer(), H::integer()} when + This::wxSizer(). calcMin(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSizer), wxe_util:call(?wxSizer_CalcMin, <>). -%% @spec (This::wxSizer()) -> ok %% @equiv clear(This, []) +-spec clear(This) -> ok when + This::wxSizer(). + clear(This) when is_record(This, wx_ref) -> clear(This, []). -%% @spec (This::wxSizer(), [Option]) -> ok -%% Option = {delete_windows, bool()} %% @doc See external documentation. +-spec clear(This, [Option]) -> ok when + This::wxSizer(), + Option :: {delete_windows, boolean()}. clear(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxSizer), @@ -157,15 +172,11 @@ clear(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:cast(?wxSizer_Clear, <>). -%% @spec (This::wxSizer(),X::integer()|term()) -> bool() %% @doc See external documentation. -%%
Alternatives: -%%

-%% detach(This::wxSizer(), Index::integer()) -> bool() -%%

-%%

-%% detach(This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer()) -> bool() -%%

+-spec detach(This, Index) -> boolean() when + This::wxSizer(), Index::integer(); + (This, Window) -> boolean() when + This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(). detach(#wx_ref{type=ThisT,ref=ThisRef},Index) when is_integer(Index) -> ?CLASS(ThisT,wxSizer), @@ -182,37 +193,37 @@ detach(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef}) -> wxe_util:call(WindowOP, <>). -%% @spec (This::wxSizer(), Window::wxWindow:wxWindow()) -> {W::integer(), H::integer()} %% @doc See external documentation. +-spec fit(This, Window) -> {W::integer(), H::integer()} when + This::wxSizer(), Window::wxWindow:wxWindow(). fit(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef}) -> ?CLASS(ThisT,wxSizer), ?CLASS(WindowT,wxWindow), wxe_util:call(?wxSizer_Fit, <>). -%% @spec (This::wxSizer(), Window::wxWindow:wxWindow()) -> ok %% @doc See external documentation. +-spec fitInside(This, Window) -> ok when + This::wxSizer(), Window::wxWindow:wxWindow(). fitInside(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef}) -> ?CLASS(ThisT,wxSizer), ?CLASS(WindowT,wxWindow), wxe_util:cast(?wxSizer_FitInside, <>). -%% @spec (This::wxSizer()) -> [wxSizerItem:wxSizerItem()] %% @doc See external documentation. +-spec getChildren(This) -> [wxSizerItem:wxSizerItem()] when + This::wxSizer(). getChildren(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSizer), wxe_util:call(?wxSizer_GetChildren, <>). -%% @spec (This::wxSizer(),X::term()|integer()) -> wxSizerItem:wxSizerItem() %% @doc See external documentation. -%%
Alternatives: -%%

-%% getItem(This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer()) -> getItem(This,Window, [])

-%%

-%% getItem(This::wxSizer(), Index::integer()) -> wxSizerItem:wxSizerItem() -%%

+-spec getItem(This, Window) -> wxSizerItem:wxSizerItem() when + This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(); + (This, Index) -> wxSizerItem:wxSizerItem() when + This::wxSizer(), Index::integer(). getItem(This,Window) when is_record(This, wx_ref),is_record(Window, wx_ref) -> @@ -223,9 +234,10 @@ getItem(#wx_ref{type=ThisT,ref=ThisRef},Index) wxe_util:call(?wxSizer_GetItem_1, <>). -%% @spec (This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(), [Option]) -> wxSizerItem:wxSizerItem() -%% Option = {recursive, bool()} %% @doc See external documentation. +-spec getItem(This, Window, [Option]) -> wxSizerItem:wxSizerItem() when + This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(), + Option :: {recursive, boolean()}. getItem(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxSizer), @@ -241,35 +253,35 @@ getItem(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef}, Opt wxe_util:call(WindowOP, <>). -%% @spec (This::wxSizer()) -> {W::integer(), H::integer()} %% @doc See external documentation. +-spec getSize(This) -> {W::integer(), H::integer()} when + This::wxSizer(). getSize(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSizer), wxe_util:call(?wxSizer_GetSize, <>). -%% @spec (This::wxSizer()) -> {X::integer(), Y::integer()} %% @doc See external documentation. +-spec getPosition(This) -> {X::integer(), Y::integer()} when + This::wxSizer(). getPosition(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSizer), wxe_util:call(?wxSizer_GetPosition, <>). -%% @spec (This::wxSizer()) -> {W::integer(), H::integer()} %% @doc See external documentation. +-spec getMinSize(This) -> {W::integer(), H::integer()} when + This::wxSizer(). getMinSize(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSizer), wxe_util:call(?wxSizer_GetMinSize, <>). -%% @spec (This::wxSizer(),X::term()|integer()) -> bool() %% @doc See external documentation. -%%
Alternatives: -%%

-%% hide(This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer()) -> hide(This,Window, [])

-%%

-%% hide(This::wxSizer(), Index::integer()) -> bool() -%%

+-spec hide(This, Window) -> boolean() when + This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(); + (This, Index) -> boolean() when + This::wxSizer(), Index::integer(). hide(This,Window) when is_record(This, wx_ref),is_record(Window, wx_ref) -> @@ -280,9 +292,10 @@ hide(#wx_ref{type=ThisT,ref=ThisRef},Index) wxe_util:call(?wxSizer_Hide_1, <>). -%% @spec (This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(), [Option]) -> bool() -%% Option = {recursive, bool()} %% @doc See external documentation. +-spec hide(This, Window, [Option]) -> boolean() when + This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(), + Option :: {recursive, boolean()}. hide(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxSizer), @@ -298,8 +311,9 @@ hide(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef}, Option wxe_util:call(WindowOP, <>). -%% @spec (This::wxSizer(), Index::integer(), Item::wxSizerItem:wxSizerItem()) -> wxSizerItem:wxSizerItem() %% @doc See external documentation. +-spec insert(This, Index, Item) -> wxSizerItem:wxSizerItem() when + This::wxSizer(), Index::integer(), Item::wxSizerItem:wxSizerItem(). insert(#wx_ref{type=ThisT,ref=ThisRef},Index,#wx_ref{type=ItemT,ref=ItemRef}) when is_integer(Index) -> ?CLASS(ThisT,wxSizer), @@ -307,18 +321,17 @@ insert(#wx_ref{type=ThisT,ref=ThisRef},Index,#wx_ref{type=ItemT,ref=ItemRef}) wxe_util:call(?wxSizer_Insert_2, <>). -%% @spec (This::wxSizer(),Index::integer(),X::integer()|term(),X::integer()|term()) -> wxSizerItem:wxSizerItem() %% @doc See external documentation. -%%
Alternatives: -%%

-%% insert(This::wxSizer(), Index::integer(), Width::integer(), Height::integer()) -> insert(This,Index,Width,Height, [])

-%%

-%% insert(This::wxSizer(), Index::integer(), Window::wxWindow:wxWindow() | wxSizer(), [Option]) -> wxSizerItem:wxSizerItem() -%%
Option = {proportion, integer()} | {flag, integer()} | {border, integer()} | {userData, wx:wx()} -%%

-%%

-%% insert(This::wxSizer(), Index::integer(), Window::wxWindow:wxWindow() | wxSizer(), Flags::wxSizerFlags:wxSizerFlags()) -> wxSizerItem:wxSizerItem() -%%

+-spec insert(This, Index, Width, Height) -> wxSizerItem:wxSizerItem() when + This::wxSizer(), Index::integer(), Width::integer(), Height::integer(); + (This, Index, Window, [Option]) -> wxSizerItem:wxSizerItem() when + This::wxSizer(), Index::integer(), Window::wxWindow:wxWindow() | wxSizer(), + Option :: {proportion, integer()} + | {flag, integer()} + | {border, integer()} + | {userData, wx:wx()}; + (This, Index, Window, Flags) -> wxSizerItem:wxSizerItem() when + This::wxSizer(), Index::integer(), Window::wxWindow:wxWindow() | wxSizer(), Flags::wxSizerFlags:wxSizerFlags(). insert(This,Index,Width,Height) when is_record(This, wx_ref),is_integer(Index),is_integer(Width),is_integer(Height) -> @@ -354,9 +367,13 @@ insert(#wx_ref{type=ThisT,ref=ThisRef},Index,#wx_ref{type=WindowT,ref=WindowRef} wxe_util:call(WindowOP, <>). -%% @spec (This::wxSizer(), Index::integer(), Width::integer(), Height::integer(), [Option]) -> wxSizerItem:wxSizerItem() -%% Option = {proportion, integer()} | {flag, integer()} | {border, integer()} | {userData, wx:wx()} %% @doc See external documentation. +-spec insert(This, Index, Width, Height, [Option]) -> wxSizerItem:wxSizerItem() when + This::wxSizer(), Index::integer(), Width::integer(), Height::integer(), + Option :: {proportion, integer()} + | {flag, integer()} + | {border, integer()} + | {userData, wx:wx()}. insert(#wx_ref{type=ThisT,ref=ThisRef},Index,Width,Height, Options) when is_integer(Index),is_integer(Width),is_integer(Height),is_list(Options) -> ?CLASS(ThisT,wxSizer), @@ -369,23 +386,27 @@ insert(#wx_ref{type=ThisT,ref=ThisRef},Index,Width,Height, Options) wxe_util:call(?wxSizer_Insert_4, <>). -%% @spec (This::wxSizer(), Index::integer(), Size::integer()) -> wxSizerItem:wxSizerItem() %% @doc See external documentation. +-spec insertSpacer(This, Index, Size) -> wxSizerItem:wxSizerItem() when + This::wxSizer(), Index::integer(), Size::integer(). insertSpacer(#wx_ref{type=ThisT,ref=ThisRef},Index,Size) when is_integer(Index),is_integer(Size) -> ?CLASS(ThisT,wxSizer), wxe_util:call(?wxSizer_InsertSpacer, <>). -%% @spec (This::wxSizer(), Index::integer()) -> wxSizerItem:wxSizerItem() %% @equiv insertStretchSpacer(This,Index, []) +-spec insertStretchSpacer(This, Index) -> wxSizerItem:wxSizerItem() when + This::wxSizer(), Index::integer(). + insertStretchSpacer(This,Index) when is_record(This, wx_ref),is_integer(Index) -> insertStretchSpacer(This,Index, []). -%% @spec (This::wxSizer(), Index::integer(), [Option]) -> wxSizerItem:wxSizerItem() -%% Option = {prop, integer()} %% @doc See external documentation. +-spec insertStretchSpacer(This, Index, [Option]) -> wxSizerItem:wxSizerItem() when + This::wxSizer(), Index::integer(), + Option :: {prop, integer()}. insertStretchSpacer(#wx_ref{type=ThisT,ref=ThisRef},Index, Options) when is_integer(Index),is_list(Options) -> ?CLASS(ThisT,wxSizer), @@ -395,15 +416,11 @@ insertStretchSpacer(#wx_ref{type=ThisT,ref=ThisRef},Index, Options) wxe_util:call(?wxSizer_InsertStretchSpacer, <>). -%% @spec (This::wxSizer(),X::integer()|term()) -> bool() %% @doc See external documentation. -%%
Alternatives: -%%

-%% isShown(This::wxSizer(), Index::integer()) -> bool() -%%

-%%

-%% isShown(This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer()) -> bool() -%%

+-spec isShown(This, Index) -> boolean() when + This::wxSizer(), Index::integer(); + (This, Window) -> boolean() when + This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(). isShown(#wx_ref{type=ThisT,ref=ThisRef},Index) when is_integer(Index) -> ?CLASS(ThisT,wxSizer), @@ -420,33 +437,34 @@ isShown(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef}) -> wxe_util:call(WindowOP, <>). -%% @spec (This::wxSizer()) -> ok %% @doc See external documentation. +-spec layout(This) -> ok when + This::wxSizer(). layout(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSizer), wxe_util:cast(?wxSizer_Layout, <>). -%% @spec (This::wxSizer(), Item::wxSizerItem:wxSizerItem()) -> wxSizerItem:wxSizerItem() %% @doc See external documentation. +-spec prepend(This, Item) -> wxSizerItem:wxSizerItem() when + This::wxSizer(), Item::wxSizerItem:wxSizerItem(). prepend(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ItemT,ref=ItemRef}) -> ?CLASS(ThisT,wxSizer), ?CLASS(ItemT,wxSizerItem), wxe_util:call(?wxSizer_Prepend_1, <>). -%% @spec (This::wxSizer(),X::integer()|term(),X::integer()|term()) -> wxSizerItem:wxSizerItem() %% @doc See external documentation. -%%
Alternatives: -%%

-%% prepend(This::wxSizer(), Width::integer(), Height::integer()) -> prepend(This,Width,Height, [])

-%%

-%% prepend(This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(), [Option]) -> wxSizerItem:wxSizerItem() -%%
Option = {proportion, integer()} | {flag, integer()} | {border, integer()} | {userData, wx:wx()} -%%

-%%

-%% prepend(This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(), Flags::wxSizerFlags:wxSizerFlags()) -> wxSizerItem:wxSizerItem() -%%

+-spec prepend(This, Width, Height) -> wxSizerItem:wxSizerItem() when + This::wxSizer(), Width::integer(), Height::integer(); + (This, Window, [Option]) -> wxSizerItem:wxSizerItem() when + This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(), + Option :: {proportion, integer()} + | {flag, integer()} + | {border, integer()} + | {userData, wx:wx()}; + (This, Window, Flags) -> wxSizerItem:wxSizerItem() when + This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(), Flags::wxSizerFlags:wxSizerFlags(). prepend(This,Width,Height) when is_record(This, wx_ref),is_integer(Width),is_integer(Height) -> @@ -481,9 +499,13 @@ prepend(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef},#wx_ wxe_util:call(WindowOP, <>). -%% @spec (This::wxSizer(), Width::integer(), Height::integer(), [Option]) -> wxSizerItem:wxSizerItem() -%% Option = {proportion, integer()} | {flag, integer()} | {border, integer()} | {userData, wx:wx()} %% @doc See external documentation. +-spec prepend(This, Width, Height, [Option]) -> wxSizerItem:wxSizerItem() when + This::wxSizer(), Width::integer(), Height::integer(), + Option :: {proportion, integer()} + | {flag, integer()} + | {border, integer()} + | {userData, wx:wx()}. prepend(#wx_ref{type=ThisT,ref=ThisRef},Width,Height, Options) when is_integer(Width),is_integer(Height),is_list(Options) -> ?CLASS(ThisT,wxSizer), @@ -496,23 +518,27 @@ prepend(#wx_ref{type=ThisT,ref=ThisRef},Width,Height, Options) wxe_util:call(?wxSizer_Prepend_3, <>). -%% @spec (This::wxSizer(), Size::integer()) -> wxSizerItem:wxSizerItem() %% @doc See external documentation. +-spec prependSpacer(This, Size) -> wxSizerItem:wxSizerItem() when + This::wxSizer(), Size::integer(). prependSpacer(#wx_ref{type=ThisT,ref=ThisRef},Size) when is_integer(Size) -> ?CLASS(ThisT,wxSizer), wxe_util:call(?wxSizer_PrependSpacer, <>). -%% @spec (This::wxSizer()) -> wxSizerItem:wxSizerItem() %% @equiv prependStretchSpacer(This, []) +-spec prependStretchSpacer(This) -> wxSizerItem:wxSizerItem() when + This::wxSizer(). + prependStretchSpacer(This) when is_record(This, wx_ref) -> prependStretchSpacer(This, []). -%% @spec (This::wxSizer(), [Option]) -> wxSizerItem:wxSizerItem() -%% Option = {prop, integer()} %% @doc See external documentation. +-spec prependStretchSpacer(This, [Option]) -> wxSizerItem:wxSizerItem() when + This::wxSizer(), + Option :: {prop, integer()}. prependStretchSpacer(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxSizer), @@ -522,22 +548,19 @@ prependStretchSpacer(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxSizer_PrependStretchSpacer, <>). -%% @spec (This::wxSizer()) -> ok %% @doc See external documentation. +-spec recalcSizes(This) -> ok when + This::wxSizer(). recalcSizes(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSizer), wxe_util:cast(?wxSizer_RecalcSizes, <>). -%% @spec (This::wxSizer(),X::integer()|wxSizer()) -> bool() %% @doc See external documentation. -%%
Alternatives: -%%

-%% remove(This::wxSizer(), Index::integer()) -> bool() -%%

-%%

-%% remove(This::wxSizer(), Sizer::wxSizer()) -> bool() -%%

+-spec remove(This, Index) -> boolean() when + This::wxSizer(), Index::integer(); + (This, Sizer) -> boolean() when + This::wxSizer(), Sizer::wxSizer(). remove(#wx_ref{type=ThisT,ref=ThisRef},Index) when is_integer(Index) -> ?CLASS(ThisT,wxSizer), @@ -549,14 +572,11 @@ remove(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=SizerT,ref=SizerRef}) -> wxe_util:call(?wxSizer_Remove_1_1, <>). -%% @spec (This::wxSizer(),X::term()|integer(),X::term()) -> bool() %% @doc See external documentation. -%%
Alternatives: -%%

-%% replace(This::wxSizer(), Oldwin::wxWindow:wxWindow() | wxSizer(), Newwin::wxWindow:wxWindow() | wxSizer()) -> replace(This,Oldwin,Newwin, [])

-%%

-%% replace(This::wxSizer(), Index::integer(), Newitem::wxSizerItem:wxSizerItem()) -> bool() -%%

+-spec replace(This, Oldwin, Newwin) -> boolean() when + This::wxSizer(), Oldwin::wxWindow:wxWindow() | wxSizer(), Newwin::wxWindow:wxWindow() | wxSizer(); + (This, Index, Newitem) -> boolean() when + This::wxSizer(), Index::integer(), Newitem::wxSizerItem:wxSizerItem(). replace(This,Oldwin,Newwin) when is_record(This, wx_ref),is_record(Oldwin, wx_ref),is_record(Newwin, wx_ref) -> @@ -568,9 +588,10 @@ replace(#wx_ref{type=ThisT,ref=ThisRef},Index,#wx_ref{type=NewitemT,ref=NewitemR wxe_util:call(?wxSizer_Replace_2, <>). -%% @spec (This::wxSizer(), Oldwin::wxWindow:wxWindow() | wxSizer(), Newwin::wxWindow:wxWindow() | wxSizer(), [Option]) -> bool() -%% Option = {recursive, bool()} %% @doc See external documentation. +-spec replace(This, Oldwin, Newwin, [Option]) -> boolean() when + This::wxSizer(), Oldwin::wxWindow:wxWindow() | wxSizer(), Newwin::wxWindow:wxWindow() | wxSizer(), + Option :: {recursive, boolean()}. replace(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=OldwinT,ref=OldwinRef},#wx_ref{type=NewwinT,ref=NewwinRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxSizer), @@ -588,39 +609,38 @@ replace(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=OldwinT,ref=OldwinRef},#wx_ wxe_util:call(OldwinOP, <>). -%% @spec (This::wxSizer(), X::integer(), Y::integer(), Width::integer(), Height::integer()) -> ok %% @doc See external documentation. +-spec setDimension(This, X, Y, Width, Height) -> ok when + This::wxSizer(), X::integer(), Y::integer(), Width::integer(), Height::integer(). setDimension(#wx_ref{type=ThisT,ref=ThisRef},X,Y,Width,Height) when is_integer(X),is_integer(Y),is_integer(Width),is_integer(Height) -> ?CLASS(ThisT,wxSizer), wxe_util:cast(?wxSizer_SetDimension, <>). -%% @spec (This::wxSizer(), Size::{W::integer(), H::integer()}) -> ok %% @doc See external documentation. +-spec setMinSize(This, Size) -> ok when + This::wxSizer(), Size::{W::integer(), H::integer()}. setMinSize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH}) when is_integer(SizeW),is_integer(SizeH) -> ?CLASS(ThisT,wxSizer), wxe_util:cast(?wxSizer_SetMinSize_1, <>). -%% @spec (This::wxSizer(), Width::integer(), Height::integer()) -> ok %% @doc See external documentation. +-spec setMinSize(This, Width, Height) -> ok when + This::wxSizer(), Width::integer(), Height::integer(). setMinSize(#wx_ref{type=ThisT,ref=ThisRef},Width,Height) when is_integer(Width),is_integer(Height) -> ?CLASS(ThisT,wxSizer), wxe_util:cast(?wxSizer_SetMinSize_2, <>). -%% @spec (This::wxSizer(),X::integer()|term(),Size::{W::integer(), H::integer()}) -> bool() %% @doc See external documentation. -%%
Alternatives: -%%

-%% setItemMinSize(This::wxSizer(), Index::integer(), Size::{W::integer(), H::integer()}) -> bool() -%%

-%%

-%% setItemMinSize(This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(), Size::{W::integer(), H::integer()}) -> bool() -%%

+-spec setItemMinSize(This, Index, Size) -> boolean() when + This::wxSizer(), Index::integer(), Size::{W::integer(), H::integer()}; + (This, Window, Size) -> boolean() when + This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(), Size::{W::integer(), H::integer()}. setItemMinSize(#wx_ref{type=ThisT,ref=ThisRef},Index,{SizeW,SizeH}) when is_integer(Index),is_integer(SizeW),is_integer(SizeH) -> ?CLASS(ThisT,wxSizer), @@ -638,15 +658,11 @@ setItemMinSize(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRe wxe_util:call(WindowOP, <>). -%% @spec (This::wxSizer(),X::integer()|term(),Width::integer(),Height::integer()) -> bool() %% @doc See external documentation. -%%
Alternatives: -%%

-%% setItemMinSize(This::wxSizer(), Index::integer(), Width::integer(), Height::integer()) -> bool() -%%

-%%

-%% setItemMinSize(This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(), Width::integer(), Height::integer()) -> bool() -%%

+-spec setItemMinSize(This, Index, Width, Height) -> boolean() when + This::wxSizer(), Index::integer(), Width::integer(), Height::integer(); + (This, Window, Width, Height) -> boolean() when + This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(), Width::integer(), Height::integer(). setItemMinSize(#wx_ref{type=ThisT,ref=ThisRef},Index,Width,Height) when is_integer(Index),is_integer(Width),is_integer(Height) -> ?CLASS(ThisT,wxSizer), @@ -664,32 +680,31 @@ setItemMinSize(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRe wxe_util:call(WindowOP, <>). -%% @spec (This::wxSizer(), Window::wxWindow:wxWindow()) -> ok %% @doc See external documentation. +-spec setSizeHints(This, Window) -> ok when + This::wxSizer(), Window::wxWindow:wxWindow(). setSizeHints(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef}) -> ?CLASS(ThisT,wxSizer), ?CLASS(WindowT,wxWindow), wxe_util:cast(?wxSizer_SetSizeHints, <>). -%% @spec (This::wxSizer(), Window::wxWindow:wxWindow()) -> ok %% @doc See external documentation. +-spec setVirtualSizeHints(This, Window) -> ok when + This::wxSizer(), Window::wxWindow:wxWindow(). setVirtualSizeHints(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef}) -> ?CLASS(ThisT,wxSizer), ?CLASS(WindowT,wxWindow), wxe_util:cast(?wxSizer_SetVirtualSizeHints, <>). -%% @spec (This::wxSizer(),X::integer()|term()|bool()) -> bool()|bool()|ok %% @doc See external documentation. -%%
Alternatives: -%%

-%% show(This::wxSizer(), Index::integer()) -> show(This,Index, [])

-%%

-%% show(This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer()) -> show(This,Window, [])

-%%

-%% show(This::wxSizer(), Show::bool()) -> ok -%%

+-spec show(This, Index) -> boolean() when + This::wxSizer(), Index::integer(); + (This, Window) -> boolean() when + This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(); + (This, Show) -> ok when + This::wxSizer(), Show::boolean(). show(This,Index) when is_record(This, wx_ref),is_integer(Index) -> @@ -704,17 +719,14 @@ show(#wx_ref{type=ThisT,ref=ThisRef},Show) wxe_util:cast(?wxSizer_Show_1, <>). -%% @spec (This::wxSizer(),X::integer()|term(),[Option]) -> bool() %% @doc See external documentation. -%%
Alternatives: -%%

-%% show(This::wxSizer(), Index::integer(), [Option]) -> bool() -%%
Option = {show, bool()} -%%

-%%

-%% show(This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(), [Option]) -> bool() -%%
Option = {show, bool()} | {recursive, bool()} -%%

+-spec show(This, Index, [Option]) -> boolean() when + This::wxSizer(), Index::integer(), + Option :: {show, boolean()}; + (This, Window, [Option]) -> boolean() when + This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(), + Option :: {show, boolean()} + | {recursive, boolean()}. show(#wx_ref{type=ThisT,ref=ThisRef},Index, Options) when is_integer(Index),is_list(Options) -> ?CLASS(ThisT,wxSizer), diff --git a/lib/wx/src/gen/wxSizerFlags.erl b/lib/wx/src/gen/wxSizerFlags.erl index 2a25fd2c1a..e3bf7fed95 100644 --- a/lib/wx/src/gen/wxSizerFlags.erl +++ b/lib/wx/src/gen/wxSizerFlags.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,17 +30,20 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxSizerFlags/0]). %% @hidden parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxSizerFlags() +-type wxSizerFlags() :: wx:wx_object(). %% @equiv new([]) +-spec new() -> wxSizerFlags(). + new() -> new([]). -%% @spec ([Option]) -> wxSizerFlags() -%% Option = {proportion, integer()} %% @doc See external documentation. +-spec new([Option]) -> wxSizerFlags() when + Option :: {proportion, integer()}. new(Options) when is_list(Options) -> MOpts = fun({proportion, Proportion}, Acc) -> [<<1:32/?UI,Proportion:32/?UI>>|Acc]; @@ -49,23 +52,27 @@ new(Options) wxe_util:construct(?wxSizerFlags_new, <>). -%% @spec (This::wxSizerFlags(), Alignment::integer()) -> wxSizerFlags() %% @doc See external documentation. +-spec align(This, Alignment) -> wxSizerFlags() when + This::wxSizerFlags(), Alignment::integer(). align(#wx_ref{type=ThisT,ref=ThisRef},Alignment) when is_integer(Alignment) -> ?CLASS(ThisT,wxSizerFlags), wxe_util:call(?wxSizerFlags_Align, <>). -%% @spec (This::wxSizerFlags()) -> wxSizerFlags() %% @equiv border(This, []) +-spec border(This) -> wxSizerFlags() when + This::wxSizerFlags(). + border(This) when is_record(This, wx_ref) -> border(This, []). -%% @spec (This::wxSizerFlags(), [Option]) -> wxSizerFlags() -%% Option = {direction, integer()} %% @doc See external documentation. +-spec border(This, [Option]) -> wxSizerFlags() when + This::wxSizerFlags(), + Option :: {direction, integer()}. border(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxSizerFlags), @@ -75,59 +82,66 @@ border(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxSizerFlags_Border_1, <>). -%% @spec (This::wxSizerFlags(), Direction::integer(), BorderInPixels::integer()) -> wxSizerFlags() %% @doc See external documentation. +-spec border(This, Direction, BorderInPixels) -> wxSizerFlags() when + This::wxSizerFlags(), Direction::integer(), BorderInPixels::integer(). border(#wx_ref{type=ThisT,ref=ThisRef},Direction,BorderInPixels) when is_integer(Direction),is_integer(BorderInPixels) -> ?CLASS(ThisT,wxSizerFlags), wxe_util:call(?wxSizerFlags_Border_2, <>). -%% @spec (This::wxSizerFlags()) -> wxSizerFlags() %% @doc See external documentation. +-spec center(This) -> wxSizerFlags() when + This::wxSizerFlags(). center(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSizerFlags), wxe_util:call(?wxSizerFlags_Center, <>). -%% @spec (This::wxSizerFlags()) -> wxSizerFlags() %% @doc See external documentation. +-spec centre(This) -> wxSizerFlags() when + This::wxSizerFlags(). centre(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSizerFlags), wxe_util:call(?wxSizerFlags_Centre, <>). -%% @spec (This::wxSizerFlags()) -> wxSizerFlags() %% @doc See external documentation. +-spec expand(This) -> wxSizerFlags() when + This::wxSizerFlags(). expand(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSizerFlags), wxe_util:call(?wxSizerFlags_Expand, <>). -%% @spec (This::wxSizerFlags()) -> wxSizerFlags() %% @doc See external documentation. +-spec left(This) -> wxSizerFlags() when + This::wxSizerFlags(). left(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSizerFlags), wxe_util:call(?wxSizerFlags_Left, <>). -%% @spec (This::wxSizerFlags(), Proportion::integer()) -> wxSizerFlags() %% @doc See external documentation. +-spec proportion(This, Proportion) -> wxSizerFlags() when + This::wxSizerFlags(), Proportion::integer(). proportion(#wx_ref{type=ThisT,ref=ThisRef},Proportion) when is_integer(Proportion) -> ?CLASS(ThisT,wxSizerFlags), wxe_util:call(?wxSizerFlags_Proportion, <>). -%% @spec (This::wxSizerFlags()) -> wxSizerFlags() %% @doc See external documentation. +-spec right(This) -> wxSizerFlags() when + This::wxSizerFlags(). right(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSizerFlags), wxe_util:call(?wxSizerFlags_Right, <>). -%% @spec (This::wxSizerFlags()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxSizerFlags) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxSizerFlags), wxe_util:destroy(?wxSizerFlags_destroy,Obj), diff --git a/lib/wx/src/gen/wxSizerItem.erl b/lib/wx/src/gen/wxSizerItem.erl index 41cb86eae2..e22befd1ad 100644 --- a/lib/wx/src/gen/wxSizerItem.erl +++ b/lib/wx/src/gen/wxSizerItem.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,17 +35,20 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxSizerItem/0]). %% @hidden parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxSizerItem() +-type wxSizerItem() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxSizerItem(). new() -> wxe_util:construct(?wxSizerItem_new_0, <<>>). -%% @spec (Window::wxWindow:wxWindow() | wxSizer:wxSizer(), Flags::wxSizerFlags:wxSizerFlags()) -> wxSizerItem() %% @doc See external documentation. +-spec new(Window, Flags) -> wxSizerItem() when + Window::wxWindow:wxWindow() | wxSizer:wxSizer(), Flags::wxSizerFlags:wxSizerFlags(). new(#wx_ref{type=WindowT,ref=WindowRef},#wx_ref{type=FlagsT,ref=FlagsRef}) -> WindowOP = case ?CLASS_T(WindowT,wxWindow) of true -> @@ -58,16 +61,18 @@ new(#wx_ref{type=WindowT,ref=WindowRef},#wx_ref{type=FlagsT,ref=FlagsRef}) -> wxe_util:construct(WindowOP, <>). -%% @spec (Width::integer(), Height::integer(), Flags::wxSizerFlags:wxSizerFlags()) -> wxSizerItem() %% @doc See external documentation. +-spec new(Width, Height, Flags) -> wxSizerItem() when + Width::integer(), Height::integer(), Flags::wxSizerFlags:wxSizerFlags(). new(Width,Height,#wx_ref{type=FlagsT,ref=FlagsRef}) when is_integer(Width),is_integer(Height) -> ?CLASS(FlagsT,wxSizerFlags), wxe_util:construct(?wxSizerItem_new_3, <>). -%% @spec (Window::wxWindow:wxWindow() | wxSizer:wxSizer(), Proportion::integer(), Flag::integer(), Border::integer(), UserData::wx:wx()) -> wxSizerItem() %% @doc See external documentation. +-spec new(Window, Proportion, Flag, Border, UserData) -> wxSizerItem() when + Window::wxWindow:wxWindow() | wxSizer:wxSizer(), Proportion::integer(), Flag::integer(), Border::integer(), UserData::wx:wx(). new(#wx_ref{type=WindowT,ref=WindowRef},Proportion,Flag,Border,#wx_ref{type=UserDataT,ref=UserDataRef}) when is_integer(Proportion),is_integer(Flag),is_integer(Border) -> WindowOP = case ?CLASS_T(WindowT,wxWindow) of @@ -81,212 +86,235 @@ new(#wx_ref{type=WindowT,ref=WindowRef},Proportion,Flag,Border,#wx_ref{type=User wxe_util:construct(WindowOP, <>). -%% @spec (Width::integer(), Height::integer(), Proportion::integer(), Flag::integer(), Border::integer(), UserData::wx:wx()) -> wxSizerItem() %% @doc See external documentation. +-spec new(Width, Height, Proportion, Flag, Border, UserData) -> wxSizerItem() when + Width::integer(), Height::integer(), Proportion::integer(), Flag::integer(), Border::integer(), UserData::wx:wx(). new(Width,Height,Proportion,Flag,Border,#wx_ref{type=UserDataT,ref=UserDataRef}) when is_integer(Width),is_integer(Height),is_integer(Proportion),is_integer(Flag),is_integer(Border) -> ?CLASS(UserDataT,wx), wxe_util:construct(?wxSizerItem_new_6, <>). -%% @spec (This::wxSizerItem()) -> {W::integer(), H::integer()} %% @doc See external documentation. +-spec calcMin(This) -> {W::integer(), H::integer()} when + This::wxSizerItem(). calcMin(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSizerItem), wxe_util:call(?wxSizerItem_CalcMin, <>). -%% @spec (This::wxSizerItem()) -> ok %% @doc See external documentation. +-spec deleteWindows(This) -> ok when + This::wxSizerItem(). deleteWindows(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSizerItem), wxe_util:cast(?wxSizerItem_DeleteWindows, <>). -%% @spec (This::wxSizerItem()) -> ok %% @doc See external documentation. +-spec detachSizer(This) -> ok when + This::wxSizerItem(). detachSizer(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSizerItem), wxe_util:cast(?wxSizerItem_DetachSizer, <>). -%% @spec (This::wxSizerItem()) -> integer() %% @doc See external documentation. +-spec getBorder(This) -> integer() when + This::wxSizerItem(). getBorder(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSizerItem), wxe_util:call(?wxSizerItem_GetBorder, <>). -%% @spec (This::wxSizerItem()) -> integer() %% @doc See external documentation. +-spec getFlag(This) -> integer() when + This::wxSizerItem(). getFlag(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSizerItem), wxe_util:call(?wxSizerItem_GetFlag, <>). -%% @spec (This::wxSizerItem()) -> {W::integer(), H::integer()} %% @doc See external documentation. +-spec getMinSize(This) -> {W::integer(), H::integer()} when + This::wxSizerItem(). getMinSize(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSizerItem), wxe_util:call(?wxSizerItem_GetMinSize, <>). -%% @spec (This::wxSizerItem()) -> {X::integer(), Y::integer()} %% @doc See external documentation. +-spec getPosition(This) -> {X::integer(), Y::integer()} when + This::wxSizerItem(). getPosition(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSizerItem), wxe_util:call(?wxSizerItem_GetPosition, <>). -%% @spec (This::wxSizerItem()) -> integer() %% @doc See external documentation. +-spec getProportion(This) -> integer() when + This::wxSizerItem(). getProportion(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSizerItem), wxe_util:call(?wxSizerItem_GetProportion, <>). -%% @spec (This::wxSizerItem()) -> float() %% @doc See external documentation. +-spec getRatio(This) -> float() when + This::wxSizerItem(). getRatio(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSizerItem), wxe_util:call(?wxSizerItem_GetRatio, <>). -%% @spec (This::wxSizerItem()) -> {X::integer(), Y::integer(), W::integer(), H::integer()} %% @doc See external documentation. +-spec getRect(This) -> {X::integer(), Y::integer(), W::integer(), H::integer()} when + This::wxSizerItem(). getRect(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSizerItem), wxe_util:call(?wxSizerItem_GetRect, <>). -%% @spec (This::wxSizerItem()) -> {W::integer(), H::integer()} %% @doc See external documentation. +-spec getSize(This) -> {W::integer(), H::integer()} when + This::wxSizerItem(). getSize(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSizerItem), wxe_util:call(?wxSizerItem_GetSize, <>). -%% @spec (This::wxSizerItem()) -> wxSizer:wxSizer() %% @doc See external documentation. +-spec getSizer(This) -> wxSizer:wxSizer() when + This::wxSizerItem(). getSizer(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSizerItem), wxe_util:call(?wxSizerItem_GetSizer, <>). -%% @spec (This::wxSizerItem()) -> {W::integer(), H::integer()} %% @doc See external documentation. +-spec getSpacer(This) -> {W::integer(), H::integer()} when + This::wxSizerItem(). getSpacer(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSizerItem), wxe_util:call(?wxSizerItem_GetSpacer, <>). -%% @spec (This::wxSizerItem()) -> wx:wx() %% @doc See external documentation. +-spec getUserData(This) -> wx:wx() when + This::wxSizerItem(). getUserData(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSizerItem), wxe_util:call(?wxSizerItem_GetUserData, <>). -%% @spec (This::wxSizerItem()) -> wxWindow:wxWindow() %% @doc See external documentation. +-spec getWindow(This) -> wxWindow:wxWindow() when + This::wxSizerItem(). getWindow(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSizerItem), wxe_util:call(?wxSizerItem_GetWindow, <>). -%% @spec (This::wxSizerItem()) -> bool() %% @doc See external documentation. +-spec isSizer(This) -> boolean() when + This::wxSizerItem(). isSizer(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSizerItem), wxe_util:call(?wxSizerItem_IsSizer, <>). -%% @spec (This::wxSizerItem()) -> bool() %% @doc See external documentation. +-spec isShown(This) -> boolean() when + This::wxSizerItem(). isShown(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSizerItem), wxe_util:call(?wxSizerItem_IsShown, <>). -%% @spec (This::wxSizerItem()) -> bool() %% @doc See external documentation. +-spec isSpacer(This) -> boolean() when + This::wxSizerItem(). isSpacer(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSizerItem), wxe_util:call(?wxSizerItem_IsSpacer, <>). -%% @spec (This::wxSizerItem()) -> bool() %% @doc See external documentation. +-spec isWindow(This) -> boolean() when + This::wxSizerItem(). isWindow(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSizerItem), wxe_util:call(?wxSizerItem_IsWindow, <>). -%% @spec (This::wxSizerItem(), Border::integer()) -> ok %% @doc See external documentation. +-spec setBorder(This, Border) -> ok when + This::wxSizerItem(), Border::integer(). setBorder(#wx_ref{type=ThisT,ref=ThisRef},Border) when is_integer(Border) -> ?CLASS(ThisT,wxSizerItem), wxe_util:cast(?wxSizerItem_SetBorder, <>). -%% @spec (This::wxSizerItem(), Pos::{X::integer(), Y::integer()}, Size::{W::integer(), H::integer()}) -> ok %% @doc See external documentation. +-spec setDimension(This, Pos, Size) -> ok when + This::wxSizerItem(), Pos::{X::integer(), Y::integer()}, Size::{W::integer(), H::integer()}. setDimension(#wx_ref{type=ThisT,ref=ThisRef},{PosX,PosY},{SizeW,SizeH}) when is_integer(PosX),is_integer(PosY),is_integer(SizeW),is_integer(SizeH) -> ?CLASS(ThisT,wxSizerItem), wxe_util:cast(?wxSizerItem_SetDimension, <>). -%% @spec (This::wxSizerItem(), Flag::integer()) -> ok %% @doc See external documentation. +-spec setFlag(This, Flag) -> ok when + This::wxSizerItem(), Flag::integer(). setFlag(#wx_ref{type=ThisT,ref=ThisRef},Flag) when is_integer(Flag) -> ?CLASS(ThisT,wxSizerItem), wxe_util:cast(?wxSizerItem_SetFlag, <>). -%% @spec (This::wxSizerItem(), X::integer(), Y::integer()) -> ok %% @doc See external documentation. +-spec setInitSize(This, X, Y) -> ok when + This::wxSizerItem(), X::integer(), Y::integer(). setInitSize(#wx_ref{type=ThisT,ref=ThisRef},X,Y) when is_integer(X),is_integer(Y) -> ?CLASS(ThisT,wxSizerItem), wxe_util:cast(?wxSizerItem_SetInitSize, <>). -%% @spec (This::wxSizerItem(), Size::{W::integer(), H::integer()}) -> ok %% @doc See external documentation. +-spec setMinSize(This, Size) -> ok when + This::wxSizerItem(), Size::{W::integer(), H::integer()}. setMinSize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH}) when is_integer(SizeW),is_integer(SizeH) -> ?CLASS(ThisT,wxSizerItem), wxe_util:cast(?wxSizerItem_SetMinSize_1, <>). -%% @spec (This::wxSizerItem(), X::integer(), Y::integer()) -> ok %% @doc See external documentation. +-spec setMinSize(This, X, Y) -> ok when + This::wxSizerItem(), X::integer(), Y::integer(). setMinSize(#wx_ref{type=ThisT,ref=ThisRef},X,Y) when is_integer(X),is_integer(Y) -> ?CLASS(ThisT,wxSizerItem), wxe_util:cast(?wxSizerItem_SetMinSize_2, <>). -%% @spec (This::wxSizerItem(), Proportion::integer()) -> ok %% @doc See external documentation. +-spec setProportion(This, Proportion) -> ok when + This::wxSizerItem(), Proportion::integer(). setProportion(#wx_ref{type=ThisT,ref=ThisRef},Proportion) when is_integer(Proportion) -> ?CLASS(ThisT,wxSizerItem), wxe_util:cast(?wxSizerItem_SetProportion, <>). -%% @spec (This::wxSizerItem(),X::float()|term()) -> ok %% @doc See external documentation. -%%
Alternatives: -%%

-%% setRatio(This::wxSizerItem(), Ratio::float()) -> ok -%%

-%%

-%% setRatio(This::wxSizerItem(), Size::{W::integer(), H::integer()}) -> ok -%%

+-spec setRatio(This, Ratio) -> ok when + This::wxSizerItem(), Ratio::float(); + (This, Size) -> ok when + This::wxSizerItem(), Size::{W::integer(), H::integer()}. setRatio(#wx_ref{type=ThisT,ref=ThisRef},Ratio) when is_float(Ratio) -> ?CLASS(ThisT,wxSizerItem), @@ -298,56 +326,62 @@ setRatio(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH}) wxe_util:cast(?wxSizerItem_SetRatio_1_1, <>). -%% @spec (This::wxSizerItem(), Width::integer(), Height::integer()) -> ok %% @doc See external documentation. +-spec setRatio(This, Width, Height) -> ok when + This::wxSizerItem(), Width::integer(), Height::integer(). setRatio(#wx_ref{type=ThisT,ref=ThisRef},Width,Height) when is_integer(Width),is_integer(Height) -> ?CLASS(ThisT,wxSizerItem), wxe_util:cast(?wxSizerItem_SetRatio_2, <>). -%% @spec (This::wxSizerItem(), Sizer::wxSizer:wxSizer()) -> ok %% @doc See external documentation. +-spec setSizer(This, Sizer) -> ok when + This::wxSizerItem(), Sizer::wxSizer:wxSizer(). setSizer(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=SizerT,ref=SizerRef}) -> ?CLASS(ThisT,wxSizerItem), ?CLASS(SizerT,wxSizer), wxe_util:cast(?wxSizerItem_SetSizer, <>). -%% @spec (This::wxSizerItem(), Size::{W::integer(), H::integer()}) -> ok %% @doc See external documentation. +-spec setSpacer(This, Size) -> ok when + This::wxSizerItem(), Size::{W::integer(), H::integer()}. setSpacer(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH}) when is_integer(SizeW),is_integer(SizeH) -> ?CLASS(ThisT,wxSizerItem), wxe_util:cast(?wxSizerItem_SetSpacer_1, <>). -%% @spec (This::wxSizerItem(), Width::integer(), Height::integer()) -> ok %% @doc See external documentation. +-spec setSpacer(This, Width, Height) -> ok when + This::wxSizerItem(), Width::integer(), Height::integer(). setSpacer(#wx_ref{type=ThisT,ref=ThisRef},Width,Height) when is_integer(Width),is_integer(Height) -> ?CLASS(ThisT,wxSizerItem), wxe_util:cast(?wxSizerItem_SetSpacer_2, <>). -%% @spec (This::wxSizerItem(), Window::wxWindow:wxWindow()) -> ok %% @doc See external documentation. +-spec setWindow(This, Window) -> ok when + This::wxSizerItem(), Window::wxWindow:wxWindow(). setWindow(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef}) -> ?CLASS(ThisT,wxSizerItem), ?CLASS(WindowT,wxWindow), wxe_util:cast(?wxSizerItem_SetWindow, <>). -%% @spec (This::wxSizerItem(), Show::bool()) -> ok %% @doc See external documentation. +-spec show(This, Show) -> ok when + This::wxSizerItem(), Show::boolean(). show(#wx_ref{type=ThisT,ref=ThisRef},Show) when is_boolean(Show) -> ?CLASS(ThisT,wxSizerItem), wxe_util:cast(?wxSizerItem_Show, <>). -%% @spec (This::wxSizerItem()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxSizerItem) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxSizerItem), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxSlider.erl b/lib/wx/src/gen/wxSlider.erl index c7a3d6f5c0..bd00e71476 100644 --- a/lib/wx/src/gen/wxSlider.erl +++ b/lib/wx/src/gen/wxSlider.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -71,27 +71,35 @@ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1, update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxSlider/0]). %% @hidden parent_class(wxControl) -> true; parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxSlider() +-type wxSlider() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxSlider(). new() -> wxe_util:construct(?wxSlider_new_0, <<>>). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Value::integer(), MinValue::integer(), MaxValue::integer()) -> wxSlider() %% @equiv new(Parent,Id,Value,MinValue,MaxValue, []) +-spec new(Parent, Id, Value, MinValue, MaxValue) -> wxSlider() when + Parent::wxWindow:wxWindow(), Id::integer(), Value::integer(), MinValue::integer(), MaxValue::integer(). + new(Parent,Id,Value,MinValue,MaxValue) when is_record(Parent, wx_ref),is_integer(Id),is_integer(Value),is_integer(MinValue),is_integer(MaxValue) -> new(Parent,Id,Value,MinValue,MaxValue, []). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Value::integer(), MinValue::integer(), MaxValue::integer(), [Option]) -> wxSlider() -%% Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx:wx()} %% @doc See external documentation. +-spec new(Parent, Id, Value, MinValue, MaxValue, [Option]) -> wxSlider() when + Parent::wxWindow:wxWindow(), Id::integer(), Value::integer(), MinValue::integer(), MaxValue::integer(), + Option :: {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()} + | {validator, wx:wx()}. new(#wx_ref{type=ParentT,ref=ParentRef},Id,Value,MinValue,MaxValue, Options) when is_integer(Id),is_integer(Value),is_integer(MinValue),is_integer(MaxValue),is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -104,15 +112,21 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Id,Value,MinValue,MaxValue, Options) wxe_util:construct(?wxSlider_new_6, <>). -%% @spec (This::wxSlider(), Parent::wxWindow:wxWindow(), Id::integer(), Value::integer(), MinValue::integer(), MaxValue::integer()) -> bool() %% @equiv create(This,Parent,Id,Value,MinValue,MaxValue, []) +-spec create(This, Parent, Id, Value, MinValue, MaxValue) -> boolean() when + This::wxSlider(), Parent::wxWindow:wxWindow(), Id::integer(), Value::integer(), MinValue::integer(), MaxValue::integer(). + create(This,Parent,Id,Value,MinValue,MaxValue) when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id),is_integer(Value),is_integer(MinValue),is_integer(MaxValue) -> create(This,Parent,Id,Value,MinValue,MaxValue, []). -%% @spec (This::wxSlider(), Parent::wxWindow:wxWindow(), Id::integer(), Value::integer(), MinValue::integer(), MaxValue::integer(), [Option]) -> bool() -%% Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx:wx()} %% @doc See external documentation. +-spec create(This, Parent, Id, Value, MinValue, MaxValue, [Option]) -> boolean() when + This::wxSlider(), Parent::wxWindow:wxWindow(), Id::integer(), Value::integer(), MinValue::integer(), MaxValue::integer(), + Option :: {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()} + | {validator, wx:wx()}. create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,Value,MinValue,MaxValue, Options) when is_integer(Id),is_integer(Value),is_integer(MinValue),is_integer(MaxValue),is_list(Options) -> ?CLASS(ThisT,wxSlider), @@ -126,90 +140,101 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,Va wxe_util:call(?wxSlider_Create, <>). -%% @spec (This::wxSlider()) -> integer() %% @doc See external documentation. +-spec getLineSize(This) -> integer() when + This::wxSlider(). getLineSize(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSlider), wxe_util:call(?wxSlider_GetLineSize, <>). -%% @spec (This::wxSlider()) -> integer() %% @doc See external documentation. +-spec getMax(This) -> integer() when + This::wxSlider(). getMax(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSlider), wxe_util:call(?wxSlider_GetMax, <>). -%% @spec (This::wxSlider()) -> integer() %% @doc See external documentation. +-spec getMin(This) -> integer() when + This::wxSlider(). getMin(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSlider), wxe_util:call(?wxSlider_GetMin, <>). -%% @spec (This::wxSlider()) -> integer() %% @doc See external documentation. +-spec getPageSize(This) -> integer() when + This::wxSlider(). getPageSize(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSlider), wxe_util:call(?wxSlider_GetPageSize, <>). -%% @spec (This::wxSlider()) -> integer() %% @doc See external documentation. +-spec getThumbLength(This) -> integer() when + This::wxSlider(). getThumbLength(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSlider), wxe_util:call(?wxSlider_GetThumbLength, <>). -%% @spec (This::wxSlider()) -> integer() %% @doc See external documentation. +-spec getValue(This) -> integer() when + This::wxSlider(). getValue(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSlider), wxe_util:call(?wxSlider_GetValue, <>). -%% @spec (This::wxSlider(), LineSize::integer()) -> ok %% @doc See external documentation. +-spec setLineSize(This, LineSize) -> ok when + This::wxSlider(), LineSize::integer(). setLineSize(#wx_ref{type=ThisT,ref=ThisRef},LineSize) when is_integer(LineSize) -> ?CLASS(ThisT,wxSlider), wxe_util:cast(?wxSlider_SetLineSize, <>). -%% @spec (This::wxSlider(), PageSize::integer()) -> ok %% @doc See external documentation. +-spec setPageSize(This, PageSize) -> ok when + This::wxSlider(), PageSize::integer(). setPageSize(#wx_ref{type=ThisT,ref=ThisRef},PageSize) when is_integer(PageSize) -> ?CLASS(ThisT,wxSlider), wxe_util:cast(?wxSlider_SetPageSize, <>). -%% @spec (This::wxSlider(), MinValue::integer(), MaxValue::integer()) -> ok %% @doc See external documentation. +-spec setRange(This, MinValue, MaxValue) -> ok when + This::wxSlider(), MinValue::integer(), MaxValue::integer(). setRange(#wx_ref{type=ThisT,ref=ThisRef},MinValue,MaxValue) when is_integer(MinValue),is_integer(MaxValue) -> ?CLASS(ThisT,wxSlider), wxe_util:cast(?wxSlider_SetRange, <>). -%% @spec (This::wxSlider(), LenPixels::integer()) -> ok %% @doc See external documentation. +-spec setThumbLength(This, LenPixels) -> ok when + This::wxSlider(), LenPixels::integer(). setThumbLength(#wx_ref{type=ThisT,ref=ThisRef},LenPixels) when is_integer(LenPixels) -> ?CLASS(ThisT,wxSlider), wxe_util:cast(?wxSlider_SetThumbLength, <>). -%% @spec (This::wxSlider(), Value::integer()) -> ok %% @doc See external documentation. +-spec setValue(This, Value) -> ok when + This::wxSlider(), Value::integer(). setValue(#wx_ref{type=ThisT,ref=ThisRef},Value) when is_integer(Value) -> ?CLASS(ThisT,wxSlider), wxe_util:cast(?wxSlider_SetValue, <>). -%% @spec (This::wxSlider()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxSlider) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxSlider), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxSpinButton.erl b/lib/wx/src/gen/wxSpinButton.erl index e269dbe329..0e987a0f09 100644 --- a/lib/wx/src/gen/wxSpinButton.erl +++ b/lib/wx/src/gen/wxSpinButton.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -70,27 +70,35 @@ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1, update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxSpinButton/0]). %% @hidden parent_class(wxControl) -> true; parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxSpinButton() +-type wxSpinButton() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxSpinButton(). new() -> wxe_util:construct(?wxSpinButton_new_0, <<>>). -%% @spec (Parent::wxWindow:wxWindow()) -> wxSpinButton() %% @equiv new(Parent, []) +-spec new(Parent) -> wxSpinButton() when + Parent::wxWindow:wxWindow(). + new(Parent) when is_record(Parent, wx_ref) -> new(Parent, []). -%% @spec (Parent::wxWindow:wxWindow(), [Option]) -> wxSpinButton() -%% Option = {id, integer()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} %% @doc See external documentation. +-spec new(Parent, [Option]) -> wxSpinButton() when + Parent::wxWindow:wxWindow(), + Option :: {id, integer()} + | {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()}. new(#wx_ref{type=ParentT,ref=ParentRef}, Options) when is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -103,15 +111,21 @@ new(#wx_ref{type=ParentT,ref=ParentRef}, Options) wxe_util:construct(?wxSpinButton_new_2, <>). -%% @spec (This::wxSpinButton(), Parent::wxWindow:wxWindow()) -> bool() %% @equiv create(This,Parent, []) +-spec create(This, Parent) -> boolean() when + This::wxSpinButton(), Parent::wxWindow:wxWindow(). + create(This,Parent) when is_record(This, wx_ref),is_record(Parent, wx_ref) -> create(This,Parent, []). -%% @spec (This::wxSpinButton(), Parent::wxWindow:wxWindow(), [Option]) -> bool() -%% Option = {id, integer()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} %% @doc See external documentation. +-spec create(This, Parent, [Option]) -> boolean() when + This::wxSpinButton(), Parent::wxWindow:wxWindow(), + Option :: {id, integer()} + | {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()}. create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxSpinButton), @@ -125,45 +139,50 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}, Opti wxe_util:call(?wxSpinButton_Create, <>). -%% @spec (This::wxSpinButton()) -> integer() %% @doc See external documentation. +-spec getMax(This) -> integer() when + This::wxSpinButton(). getMax(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSpinButton), wxe_util:call(?wxSpinButton_GetMax, <>). -%% @spec (This::wxSpinButton()) -> integer() %% @doc See external documentation. +-spec getMin(This) -> integer() when + This::wxSpinButton(). getMin(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSpinButton), wxe_util:call(?wxSpinButton_GetMin, <>). -%% @spec (This::wxSpinButton()) -> integer() %% @doc See external documentation. +-spec getValue(This) -> integer() when + This::wxSpinButton(). getValue(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSpinButton), wxe_util:call(?wxSpinButton_GetValue, <>). -%% @spec (This::wxSpinButton(), MinVal::integer(), MaxVal::integer()) -> ok %% @doc See external documentation. +-spec setRange(This, MinVal, MaxVal) -> ok when + This::wxSpinButton(), MinVal::integer(), MaxVal::integer(). setRange(#wx_ref{type=ThisT,ref=ThisRef},MinVal,MaxVal) when is_integer(MinVal),is_integer(MaxVal) -> ?CLASS(ThisT,wxSpinButton), wxe_util:cast(?wxSpinButton_SetRange, <>). -%% @spec (This::wxSpinButton(), Value::integer()) -> ok %% @doc See external documentation. +-spec setValue(This, Value) -> ok when + This::wxSpinButton(), Value::integer(). setValue(#wx_ref{type=ThisT,ref=ThisRef},Value) when is_integer(Value) -> ?CLASS(ThisT,wxSpinButton), wxe_util:cast(?wxSpinButton_SetValue, <>). -%% @spec (This::wxSpinButton()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxSpinButton) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxSpinButton), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxSpinCtrl.erl b/lib/wx/src/gen/wxSpinCtrl.erl index c6e8ad2238..5de7619b34 100644 --- a/lib/wx/src/gen/wxSpinCtrl.erl +++ b/lib/wx/src/gen/wxSpinCtrl.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -70,27 +70,39 @@ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1, update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxSpinCtrl/0]). %% @hidden parent_class(wxControl) -> true; parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxSpinCtrl() +-type wxSpinCtrl() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxSpinCtrl(). new() -> wxe_util:construct(?wxSpinCtrl_new_0, <<>>). -%% @spec (Parent::wxWindow:wxWindow()) -> wxSpinCtrl() %% @equiv new(Parent, []) +-spec new(Parent) -> wxSpinCtrl() when + Parent::wxWindow:wxWindow(). + new(Parent) when is_record(Parent, wx_ref) -> new(Parent, []). -%% @spec (Parent::wxWindow:wxWindow(), [Option]) -> wxSpinCtrl() -%% Option = {id, integer()} | {value, string()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {min, integer()} | {max, integer()} | {initial, integer()} %% @doc See external documentation. +-spec new(Parent, [Option]) -> wxSpinCtrl() when + Parent::wxWindow:wxWindow(), + Option :: {id, integer()} + | {value, string()} + | {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()} + | {min, integer()} + | {max, integer()} + | {initial, integer()}. new(#wx_ref{type=ParentT,ref=ParentRef}, Options) when is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -107,15 +119,25 @@ new(#wx_ref{type=ParentT,ref=ParentRef}, Options) wxe_util:construct(?wxSpinCtrl_new_2, <>). -%% @spec (This::wxSpinCtrl(), Parent::wxWindow:wxWindow()) -> bool() %% @equiv create(This,Parent, []) +-spec create(This, Parent) -> boolean() when + This::wxSpinCtrl(), Parent::wxWindow:wxWindow(). + create(This,Parent) when is_record(This, wx_ref),is_record(Parent, wx_ref) -> create(This,Parent, []). -%% @spec (This::wxSpinCtrl(), Parent::wxWindow:wxWindow(), [Option]) -> bool() -%% Option = {id, integer()} | {value, string()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {min, integer()} | {max, integer()} | {initial, integer()} %% @doc See external documentation. +-spec create(This, Parent, [Option]) -> boolean() when + This::wxSpinCtrl(), Parent::wxWindow:wxWindow(), + Option :: {id, integer()} + | {value, string()} + | {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()} + | {min, integer()} + | {max, integer()} + | {initial, integer()}. create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxSpinCtrl), @@ -133,15 +155,11 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}, Opti wxe_util:call(?wxSpinCtrl_Create, <>). -%% @spec (This::wxSpinCtrl(),X::integer()|string()) -> ok %% @doc See external documentation. -%%
Alternatives: -%%

-%% setValue(This::wxSpinCtrl(), Value::integer()) -> ok -%%

-%%

-%% setValue(This::wxSpinCtrl(), Text::string()) -> ok -%%

+-spec setValue(This, Value) -> ok when + This::wxSpinCtrl(), Value::integer(); + (This, Text) -> ok when + This::wxSpinCtrl(), Text::string(). setValue(#wx_ref{type=ThisT,ref=ThisRef},Value) when is_integer(Value) -> ?CLASS(ThisT,wxSpinCtrl), @@ -154,45 +172,50 @@ setValue(#wx_ref{type=ThisT,ref=ThisRef},Text) wxe_util:cast(?wxSpinCtrl_SetValue_1_1, <>). -%% @spec (This::wxSpinCtrl()) -> integer() %% @doc See external documentation. +-spec getValue(This) -> integer() when + This::wxSpinCtrl(). getValue(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSpinCtrl), wxe_util:call(?wxSpinCtrl_GetValue, <>). -%% @spec (This::wxSpinCtrl(), MinVal::integer(), MaxVal::integer()) -> ok %% @doc See external documentation. +-spec setRange(This, MinVal, MaxVal) -> ok when + This::wxSpinCtrl(), MinVal::integer(), MaxVal::integer(). setRange(#wx_ref{type=ThisT,ref=ThisRef},MinVal,MaxVal) when is_integer(MinVal),is_integer(MaxVal) -> ?CLASS(ThisT,wxSpinCtrl), wxe_util:cast(?wxSpinCtrl_SetRange, <>). -%% @spec (This::wxSpinCtrl(), From::integer(), To::integer()) -> ok %% @doc See external documentation. +-spec setSelection(This, From, To) -> ok when + This::wxSpinCtrl(), From::integer(), To::integer(). setSelection(#wx_ref{type=ThisT,ref=ThisRef},From,To) when is_integer(From),is_integer(To) -> ?CLASS(ThisT,wxSpinCtrl), wxe_util:cast(?wxSpinCtrl_SetSelection, <>). -%% @spec (This::wxSpinCtrl()) -> integer() %% @doc See external documentation. +-spec getMin(This) -> integer() when + This::wxSpinCtrl(). getMin(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSpinCtrl), wxe_util:call(?wxSpinCtrl_GetMin, <>). -%% @spec (This::wxSpinCtrl()) -> integer() %% @doc See external documentation. +-spec getMax(This) -> integer() when + This::wxSpinCtrl(). getMax(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSpinCtrl), wxe_util:call(?wxSpinCtrl_GetMax, <>). -%% @spec (This::wxSpinCtrl()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxSpinCtrl) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxSpinCtrl), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxSpinEvent.erl b/lib/wx/src/gen/wxSpinEvent.erl index 82edc70983..ecbe557c7b 100644 --- a/lib/wx/src/gen/wxSpinEvent.erl +++ b/lib/wx/src/gen/wxSpinEvent.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2009-2010. All Rights Reserved. +%% Copyright Ericsson AB 2009-2012. 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 @@ -41,21 +41,25 @@ isSelection/1,parent_class/1,resumePropagation/2,setInt/2,setString/2, shouldPropagate/1,skip/1,skip/2,stopPropagation/1,veto/1]). +-export_type([wxSpinEvent/0]). %% @hidden parent_class(wxNotifyEvent) -> true; parent_class(wxCommandEvent) -> true; parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxSpinEvent()) -> integer() +-type wxSpinEvent() :: wx:wx_object(). %% @doc See external documentation. +-spec getPosition(This) -> integer() when + This::wxSpinEvent(). getPosition(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSpinEvent), wxe_util:call(?wxSpinEvent_GetPosition, <>). -%% @spec (This::wxSpinEvent(), Pos::integer()) -> ok %% @doc See external documentation. +-spec setPosition(This, Pos) -> ok when + This::wxSpinEvent(), Pos::integer(). setPosition(#wx_ref{type=ThisT,ref=ThisRef},Pos) when is_integer(Pos) -> ?CLASS(ThisT,wxSpinEvent), diff --git a/lib/wx/src/gen/wxSplashScreen.erl b/lib/wx/src/gen/wxSplashScreen.erl index 79ef8e413a..e6755690e0 100644 --- a/lib/wx/src/gen/wxSplashScreen.erl +++ b/lib/wx/src/gen/wxSplashScreen.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -80,6 +80,7 @@ transferDataToWindow/1,update/1,updateWindowUI/1,updateWindowUI/2, validate/1,warpPointer/3]). +-export_type([wxSplashScreen/0]). %% @hidden parent_class(wxFrame) -> true; parent_class(wxTopLevelWindow) -> true; @@ -87,21 +88,27 @@ parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxSplashScreen() +-type wxSplashScreen() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxSplashScreen(). new() -> wxe_util:construct(?wxSplashScreen_new_0, <<>>). -%% @spec (Bitmap::wxBitmap:wxBitmap(), SplashStyle::integer(), Milliseconds::integer(), Parent::wxWindow:wxWindow(), Id::integer()) -> wxSplashScreen() %% @equiv new(Bitmap,SplashStyle,Milliseconds,Parent,Id, []) +-spec new(Bitmap, SplashStyle, Milliseconds, Parent, Id) -> wxSplashScreen() when + Bitmap::wxBitmap:wxBitmap(), SplashStyle::integer(), Milliseconds::integer(), Parent::wxWindow:wxWindow(), Id::integer(). + new(Bitmap,SplashStyle,Milliseconds,Parent,Id) when is_record(Bitmap, wx_ref),is_integer(SplashStyle),is_integer(Milliseconds),is_record(Parent, wx_ref),is_integer(Id) -> new(Bitmap,SplashStyle,Milliseconds,Parent,Id, []). -%% @spec (Bitmap::wxBitmap:wxBitmap(), SplashStyle::integer(), Milliseconds::integer(), Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> wxSplashScreen() -%% Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} %% @doc See external documentation. +-spec new(Bitmap, SplashStyle, Milliseconds, Parent, Id, [Option]) -> wxSplashScreen() when + Bitmap::wxBitmap:wxBitmap(), SplashStyle::integer(), Milliseconds::integer(), Parent::wxWindow:wxWindow(), Id::integer(), + Option :: {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()}. new(#wx_ref{type=BitmapT,ref=BitmapRef},SplashStyle,Milliseconds,#wx_ref{type=ParentT,ref=ParentRef},Id, Options) when is_integer(SplashStyle),is_integer(Milliseconds),is_integer(Id),is_list(Options) -> ?CLASS(BitmapT,wxBitmap), @@ -114,22 +121,24 @@ new(#wx_ref{type=BitmapT,ref=BitmapRef},SplashStyle,Milliseconds,#wx_ref{type=Pa wxe_util:construct(?wxSplashScreen_new_6, <>). -%% @spec (This::wxSplashScreen()) -> integer() %% @doc See external documentation. +-spec getSplashStyle(This) -> integer() when + This::wxSplashScreen(). getSplashStyle(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSplashScreen), wxe_util:call(?wxSplashScreen_GetSplashStyle, <>). -%% @spec (This::wxSplashScreen()) -> integer() %% @doc See external documentation. +-spec getTimeout(This) -> integer() when + This::wxSplashScreen(). getTimeout(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSplashScreen), wxe_util:call(?wxSplashScreen_GetTimeout, <>). -%% @spec (This::wxSplashScreen()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxSplashScreen) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxSplashScreen), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxSplitterEvent.erl b/lib/wx/src/gen/wxSplitterEvent.erl index 512f858284..bba9b13abd 100644 --- a/lib/wx/src/gen/wxSplitterEvent.erl +++ b/lib/wx/src/gen/wxSplitterEvent.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2009-2010. All Rights Reserved. +%% Copyright Ericsson AB 2009-2012. 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 @@ -41,42 +41,49 @@ isSelection/1,parent_class/1,resumePropagation/2,setInt/2,setString/2, shouldPropagate/1,skip/1,skip/2,stopPropagation/1,veto/1]). +-export_type([wxSplitterEvent/0]). %% @hidden parent_class(wxNotifyEvent) -> true; parent_class(wxCommandEvent) -> true; parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxSplitterEvent()) -> integer() +-type wxSplitterEvent() :: wx:wx_object(). %% @doc See external documentation. +-spec getSashPosition(This) -> integer() when + This::wxSplitterEvent(). getSashPosition(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSplitterEvent), wxe_util:call(?wxSplitterEvent_GetSashPosition, <>). -%% @spec (This::wxSplitterEvent()) -> integer() %% @doc See external documentation. +-spec getX(This) -> integer() when + This::wxSplitterEvent(). getX(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSplitterEvent), wxe_util:call(?wxSplitterEvent_GetX, <>). -%% @spec (This::wxSplitterEvent()) -> integer() %% @doc See external documentation. +-spec getY(This) -> integer() when + This::wxSplitterEvent(). getY(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSplitterEvent), wxe_util:call(?wxSplitterEvent_GetY, <>). -%% @spec (This::wxSplitterEvent()) -> wxWindow:wxWindow() %% @doc See external documentation. +-spec getWindowBeingRemoved(This) -> wxWindow:wxWindow() when + This::wxSplitterEvent(). getWindowBeingRemoved(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSplitterEvent), wxe_util:call(?wxSplitterEvent_GetWindowBeingRemoved, <>). -%% @spec (This::wxSplitterEvent(), Pos::integer()) -> ok %% @doc See external documentation. +-spec setSashPosition(This, Pos) -> ok when + This::wxSplitterEvent(), Pos::integer(). setSashPosition(#wx_ref{type=ThisT,ref=ThisRef},Pos) when is_integer(Pos) -> ?CLASS(ThisT,wxSplitterEvent), diff --git a/lib/wx/src/gen/wxSplitterWindow.erl b/lib/wx/src/gen/wxSplitterWindow.erl index b17fed3151..37ef11fc9c 100644 --- a/lib/wx/src/gen/wxSplitterWindow.erl +++ b/lib/wx/src/gen/wxSplitterWindow.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2009-2011. All Rights Reserved. +%% Copyright Ericsson AB 2009-2012. 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 @@ -73,26 +73,34 @@ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1, update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxSplitterWindow/0]). %% @hidden parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxSplitterWindow() +-type wxSplitterWindow() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxSplitterWindow(). new() -> wxe_util:construct(?wxSplitterWindow_new_0, <<>>). -%% @spec (Parent::wxWindow:wxWindow()) -> wxSplitterWindow() %% @equiv new(Parent, []) +-spec new(Parent) -> wxSplitterWindow() when + Parent::wxWindow:wxWindow(). + new(Parent) when is_record(Parent, wx_ref) -> new(Parent, []). -%% @spec (Parent::wxWindow:wxWindow(), [Option]) -> wxSplitterWindow() -%% Option = {id, integer()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} %% @doc See external documentation. +-spec new(Parent, [Option]) -> wxSplitterWindow() when + Parent::wxWindow:wxWindow(), + Option :: {id, integer()} + | {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()}. new(#wx_ref{type=ParentT,ref=ParentRef}, Options) when is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -105,15 +113,21 @@ new(#wx_ref{type=ParentT,ref=ParentRef}, Options) wxe_util:construct(?wxSplitterWindow_new_2, <>). -%% @spec (This::wxSplitterWindow(), Parent::wxWindow:wxWindow()) -> bool() %% @equiv create(This,Parent, []) +-spec create(This, Parent) -> boolean() when + This::wxSplitterWindow(), Parent::wxWindow:wxWindow(). + create(This,Parent) when is_record(This, wx_ref),is_record(Parent, wx_ref) -> create(This,Parent, []). -%% @spec (This::wxSplitterWindow(), Parent::wxWindow:wxWindow(), [Option]) -> bool() -%% Option = {id, integer()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} %% @doc See external documentation. +-spec create(This, Parent, [Option]) -> boolean() when + This::wxSplitterWindow(), Parent::wxWindow:wxWindow(), + Option :: {id, integer()} + | {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()}. create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxSplitterWindow), @@ -127,67 +141,75 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}, Opti wxe_util:call(?wxSplitterWindow_Create, <>). -%% @spec (This::wxSplitterWindow()) -> integer() %% @doc See external documentation. +-spec getMinimumPaneSize(This) -> integer() when + This::wxSplitterWindow(). getMinimumPaneSize(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSplitterWindow), wxe_util:call(?wxSplitterWindow_GetMinimumPaneSize, <>). -%% @spec (This::wxSplitterWindow()) -> float() %% @doc See external documentation. +-spec getSashGravity(This) -> float() when + This::wxSplitterWindow(). getSashGravity(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSplitterWindow), wxe_util:call(?wxSplitterWindow_GetSashGravity, <>). -%% @spec (This::wxSplitterWindow()) -> integer() %% @doc See external documentation. +-spec getSashPosition(This) -> integer() when + This::wxSplitterWindow(). getSashPosition(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSplitterWindow), wxe_util:call(?wxSplitterWindow_GetSashPosition, <>). -%% @spec (This::wxSplitterWindow()) -> WxSplitMode -%% WxSplitMode = integer() %% @doc See external documentation. -%%
WxSplitMode is one of ?wxSPLIT_HORIZONTAL | ?wxSPLIT_VERTICAL +%%
Res = ?wxSPLIT_HORIZONTAL | ?wxSPLIT_VERTICAL +-spec getSplitMode(This) -> wx:wx_enum() when + This::wxSplitterWindow(). getSplitMode(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSplitterWindow), wxe_util:call(?wxSplitterWindow_GetSplitMode, <>). -%% @spec (This::wxSplitterWindow()) -> wxWindow:wxWindow() %% @doc See external documentation. +-spec getWindow1(This) -> wxWindow:wxWindow() when + This::wxSplitterWindow(). getWindow1(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSplitterWindow), wxe_util:call(?wxSplitterWindow_GetWindow1, <>). -%% @spec (This::wxSplitterWindow()) -> wxWindow:wxWindow() %% @doc See external documentation. +-spec getWindow2(This) -> wxWindow:wxWindow() when + This::wxSplitterWindow(). getWindow2(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSplitterWindow), wxe_util:call(?wxSplitterWindow_GetWindow2, <>). -%% @spec (This::wxSplitterWindow(), Window::wxWindow:wxWindow()) -> ok %% @doc See external documentation. +-spec initialize(This, Window) -> ok when + This::wxSplitterWindow(), Window::wxWindow:wxWindow(). initialize(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef}) -> ?CLASS(ThisT,wxSplitterWindow), ?CLASS(WindowT,wxWindow), wxe_util:cast(?wxSplitterWindow_Initialize, <>). -%% @spec (This::wxSplitterWindow()) -> bool() %% @doc See external documentation. +-spec isSplit(This) -> boolean() when + This::wxSplitterWindow(). isSplit(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSplitterWindow), wxe_util:call(?wxSplitterWindow_IsSplit, <>). -%% @spec (This::wxSplitterWindow(), WinOld::wxWindow:wxWindow(), WinNew::wxWindow:wxWindow()) -> bool() %% @doc See external documentation. +-spec replaceWindow(This, WinOld, WinNew) -> boolean() when + This::wxSplitterWindow(), WinOld::wxWindow:wxWindow(), WinNew::wxWindow:wxWindow(). replaceWindow(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WinOldT,ref=WinOldRef},#wx_ref{type=WinNewT,ref=WinNewRef}) -> ?CLASS(ThisT,wxSplitterWindow), ?CLASS(WinOldT,wxWindow), @@ -195,23 +217,27 @@ replaceWindow(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WinOldT,ref=WinOldRef wxe_util:call(?wxSplitterWindow_ReplaceWindow, <>). -%% @spec (This::wxSplitterWindow(), Gravity::float()) -> ok %% @doc See external documentation. +-spec setSashGravity(This, Gravity) -> ok when + This::wxSplitterWindow(), Gravity::float(). setSashGravity(#wx_ref{type=ThisT,ref=ThisRef},Gravity) when is_float(Gravity) -> ?CLASS(ThisT,wxSplitterWindow), wxe_util:cast(?wxSplitterWindow_SetSashGravity, <>). -%% @spec (This::wxSplitterWindow(), Position::integer()) -> ok %% @equiv setSashPosition(This,Position, []) +-spec setSashPosition(This, Position) -> ok when + This::wxSplitterWindow(), Position::integer(). + setSashPosition(This,Position) when is_record(This, wx_ref),is_integer(Position) -> setSashPosition(This,Position, []). -%% @spec (This::wxSplitterWindow(), Position::integer(), [Option]) -> ok -%% Option = {redraw, bool()} %% @doc See external documentation. +-spec setSashPosition(This, Position, [Option]) -> ok when + This::wxSplitterWindow(), Position::integer(), + Option :: {redraw, boolean()}. setSashPosition(#wx_ref{type=ThisT,ref=ThisRef},Position, Options) when is_integer(Position),is_list(Options) -> ?CLASS(ThisT,wxSplitterWindow), @@ -221,39 +247,45 @@ setSashPosition(#wx_ref{type=ThisT,ref=ThisRef},Position, Options) wxe_util:cast(?wxSplitterWindow_SetSashPosition, <>). -%% @spec (This::wxSplitterWindow(), Width::integer()) -> ok %% @doc See external documentation. +-spec setSashSize(This, Width) -> ok when + This::wxSplitterWindow(), Width::integer(). setSashSize(#wx_ref{type=ThisT,ref=ThisRef},Width) when is_integer(Width) -> ?CLASS(ThisT,wxSplitterWindow), wxe_util:cast(?wxSplitterWindow_SetSashSize, <>). -%% @spec (This::wxSplitterWindow(), Min::integer()) -> ok %% @doc See external documentation. +-spec setMinimumPaneSize(This, Min) -> ok when + This::wxSplitterWindow(), Min::integer(). setMinimumPaneSize(#wx_ref{type=ThisT,ref=ThisRef},Min) when is_integer(Min) -> ?CLASS(ThisT,wxSplitterWindow), wxe_util:cast(?wxSplitterWindow_SetMinimumPaneSize, <>). -%% @spec (This::wxSplitterWindow(), Mode::integer()) -> ok %% @doc See external documentation. +-spec setSplitMode(This, Mode) -> ok when + This::wxSplitterWindow(), Mode::integer(). setSplitMode(#wx_ref{type=ThisT,ref=ThisRef},Mode) when is_integer(Mode) -> ?CLASS(ThisT,wxSplitterWindow), wxe_util:cast(?wxSplitterWindow_SetSplitMode, <>). -%% @spec (This::wxSplitterWindow(), Window1::wxWindow:wxWindow(), Window2::wxWindow:wxWindow()) -> bool() %% @equiv splitHorizontally(This,Window1,Window2, []) +-spec splitHorizontally(This, Window1, Window2) -> boolean() when + This::wxSplitterWindow(), Window1::wxWindow:wxWindow(), Window2::wxWindow:wxWindow(). + splitHorizontally(This,Window1,Window2) when is_record(This, wx_ref),is_record(Window1, wx_ref),is_record(Window2, wx_ref) -> splitHorizontally(This,Window1,Window2, []). -%% @spec (This::wxSplitterWindow(), Window1::wxWindow:wxWindow(), Window2::wxWindow:wxWindow(), [Option]) -> bool() -%% Option = {sashPosition, integer()} %% @doc See external documentation. +-spec splitHorizontally(This, Window1, Window2, [Option]) -> boolean() when + This::wxSplitterWindow(), Window1::wxWindow:wxWindow(), Window2::wxWindow:wxWindow(), + Option :: {sashPosition, integer()}. splitHorizontally(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=Window1T,ref=Window1Ref},#wx_ref{type=Window2T,ref=Window2Ref}, Options) when is_list(Options) -> ?CLASS(ThisT,wxSplitterWindow), @@ -265,15 +297,18 @@ splitHorizontally(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=Window1T,ref=Wind wxe_util:call(?wxSplitterWindow_SplitHorizontally, <>). -%% @spec (This::wxSplitterWindow(), Window1::wxWindow:wxWindow(), Window2::wxWindow:wxWindow()) -> bool() %% @equiv splitVertically(This,Window1,Window2, []) +-spec splitVertically(This, Window1, Window2) -> boolean() when + This::wxSplitterWindow(), Window1::wxWindow:wxWindow(), Window2::wxWindow:wxWindow(). + splitVertically(This,Window1,Window2) when is_record(This, wx_ref),is_record(Window1, wx_ref),is_record(Window2, wx_ref) -> splitVertically(This,Window1,Window2, []). -%% @spec (This::wxSplitterWindow(), Window1::wxWindow:wxWindow(), Window2::wxWindow:wxWindow(), [Option]) -> bool() -%% Option = {sashPosition, integer()} %% @doc See external documentation. +-spec splitVertically(This, Window1, Window2, [Option]) -> boolean() when + This::wxSplitterWindow(), Window1::wxWindow:wxWindow(), Window2::wxWindow:wxWindow(), + Option :: {sashPosition, integer()}. splitVertically(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=Window1T,ref=Window1Ref},#wx_ref{type=Window2T,ref=Window2Ref}, Options) when is_list(Options) -> ?CLASS(ThisT,wxSplitterWindow), @@ -285,15 +320,18 @@ splitVertically(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=Window1T,ref=Window wxe_util:call(?wxSplitterWindow_SplitVertically, <>). -%% @spec (This::wxSplitterWindow()) -> bool() %% @equiv unsplit(This, []) +-spec unsplit(This) -> boolean() when + This::wxSplitterWindow(). + unsplit(This) when is_record(This, wx_ref) -> unsplit(This, []). -%% @spec (This::wxSplitterWindow(), [Option]) -> bool() -%% Option = {toRemove, wxWindow:wxWindow()} %% @doc See external documentation. +-spec unsplit(This, [Option]) -> boolean() when + This::wxSplitterWindow(), + Option :: {toRemove, wxWindow:wxWindow()}. unsplit(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxSplitterWindow), @@ -303,15 +341,16 @@ unsplit(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxSplitterWindow_Unsplit, <>). -%% @spec (This::wxSplitterWindow()) -> ok %% @doc See external documentation. +-spec updateSize(This) -> ok when + This::wxSplitterWindow(). updateSize(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSplitterWindow), wxe_util:cast(?wxSplitterWindow_UpdateSize, <>). -%% @spec (This::wxSplitterWindow()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxSplitterWindow) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxSplitterWindow), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxStaticBitmap.erl b/lib/wx/src/gen/wxStaticBitmap.erl index 31e39b3a6c..e16cd7ef21 100644 --- a/lib/wx/src/gen/wxStaticBitmap.erl +++ b/lib/wx/src/gen/wxStaticBitmap.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -69,27 +69,34 @@ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1, update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxStaticBitmap/0]). %% @hidden parent_class(wxControl) -> true; parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxStaticBitmap() +-type wxStaticBitmap() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxStaticBitmap(). new() -> wxe_util:construct(?wxStaticBitmap_new_0, <<>>). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Label::wxBitmap:wxBitmap()) -> wxStaticBitmap() %% @equiv new(Parent,Id,Label, []) +-spec new(Parent, Id, Label) -> wxStaticBitmap() when + Parent::wxWindow:wxWindow(), Id::integer(), Label::wxBitmap:wxBitmap(). + new(Parent,Id,Label) when is_record(Parent, wx_ref),is_integer(Id),is_record(Label, wx_ref) -> new(Parent,Id,Label, []). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Label::wxBitmap:wxBitmap(), [Option]) -> wxStaticBitmap() -%% Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} %% @doc See external documentation. +-spec new(Parent, Id, Label, [Option]) -> wxStaticBitmap() when + Parent::wxWindow:wxWindow(), Id::integer(), Label::wxBitmap:wxBitmap(), + Option :: {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()}. new(#wx_ref{type=ParentT,ref=ParentRef},Id,#wx_ref{type=LabelT,ref=LabelRef}, Options) when is_integer(Id),is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -102,15 +109,20 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Id,#wx_ref{type=LabelT,ref=LabelRef}, Op wxe_util:construct(?wxStaticBitmap_new_4, <>). -%% @spec (This::wxStaticBitmap(), Parent::wxWindow:wxWindow(), Id::integer(), Label::wxBitmap:wxBitmap()) -> bool() %% @equiv create(This,Parent,Id,Label, []) +-spec create(This, Parent, Id, Label) -> boolean() when + This::wxStaticBitmap(), Parent::wxWindow:wxWindow(), Id::integer(), Label::wxBitmap:wxBitmap(). + create(This,Parent,Id,Label) when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id),is_record(Label, wx_ref) -> create(This,Parent,Id,Label, []). -%% @spec (This::wxStaticBitmap(), Parent::wxWindow:wxWindow(), Id::integer(), Label::wxBitmap:wxBitmap(), [Option]) -> bool() -%% Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} %% @doc See external documentation. +-spec create(This, Parent, Id, Label, [Option]) -> boolean() when + This::wxStaticBitmap(), Parent::wxWindow:wxWindow(), Id::integer(), Label::wxBitmap:wxBitmap(), + Option :: {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()}. create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,#wx_ref{type=LabelT,ref=LabelRef}, Options) when is_integer(Id),is_list(Options) -> ?CLASS(ThisT,wxStaticBitmap), @@ -124,23 +136,25 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,#w wxe_util:call(?wxStaticBitmap_Create, <>). -%% @spec (This::wxStaticBitmap()) -> wxBitmap:wxBitmap() %% @doc See external documentation. +-spec getBitmap(This) -> wxBitmap:wxBitmap() when + This::wxStaticBitmap(). getBitmap(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStaticBitmap), wxe_util:call(?wxStaticBitmap_GetBitmap, <>). -%% @spec (This::wxStaticBitmap(), Bitmap::wxBitmap:wxBitmap()) -> ok %% @doc See external documentation. +-spec setBitmap(This, Bitmap) -> ok when + This::wxStaticBitmap(), Bitmap::wxBitmap:wxBitmap(). setBitmap(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BitmapT,ref=BitmapRef}) -> ?CLASS(ThisT,wxStaticBitmap), ?CLASS(BitmapT,wxBitmap), wxe_util:cast(?wxStaticBitmap_SetBitmap, <>). -%% @spec (This::wxStaticBitmap()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxStaticBitmap) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxStaticBitmap), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxStaticBox.erl b/lib/wx/src/gen/wxStaticBox.erl index ec83ff5fd9..0b02cb43e4 100644 --- a/lib/wx/src/gen/wxStaticBox.erl +++ b/lib/wx/src/gen/wxStaticBox.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -69,27 +69,34 @@ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1, update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxStaticBox/0]). %% @hidden parent_class(wxControl) -> true; parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxStaticBox() +-type wxStaticBox() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxStaticBox(). new() -> wxe_util:construct(?wxStaticBox_new_0, <<>>). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Label::string()) -> wxStaticBox() %% @equiv new(Parent,Id,Label, []) +-spec new(Parent, Id, Label) -> wxStaticBox() when + Parent::wxWindow:wxWindow(), Id::integer(), Label::string(). + new(Parent,Id,Label) when is_record(Parent, wx_ref),is_integer(Id),is_list(Label) -> new(Parent,Id,Label, []). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Label::string(), [Option]) -> wxStaticBox() -%% Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} %% @doc See external documentation. +-spec new(Parent, Id, Label, [Option]) -> wxStaticBox() when + Parent::wxWindow:wxWindow(), Id::integer(), Label::string(), + Option :: {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()}. new(#wx_ref{type=ParentT,ref=ParentRef},Id,Label, Options) when is_integer(Id),is_list(Label),is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -102,15 +109,20 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Id,Label, Options) wxe_util:construct(?wxStaticBox_new_4, <>). -%% @spec (This::wxStaticBox(), Parent::wxWindow:wxWindow(), Id::integer(), Label::string()) -> bool() %% @equiv create(This,Parent,Id,Label, []) +-spec create(This, Parent, Id, Label) -> boolean() when + This::wxStaticBox(), Parent::wxWindow:wxWindow(), Id::integer(), Label::string(). + create(This,Parent,Id,Label) when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id),is_list(Label) -> create(This,Parent,Id,Label, []). -%% @spec (This::wxStaticBox(), Parent::wxWindow:wxWindow(), Id::integer(), Label::string(), [Option]) -> bool() -%% Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} %% @doc See external documentation. +-spec create(This, Parent, Id, Label, [Option]) -> boolean() when + This::wxStaticBox(), Parent::wxWindow:wxWindow(), Id::integer(), Label::string(), + Option :: {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()}. create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,Label, Options) when is_integer(Id),is_list(Label),is_list(Options) -> ?CLASS(ThisT,wxStaticBox), @@ -124,8 +136,8 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,La wxe_util:call(?wxStaticBox_Create, <>). -%% @spec (This::wxStaticBox()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxStaticBox) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxStaticBox), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxStaticBoxSizer.erl b/lib/wx/src/gen/wxStaticBoxSizer.erl index 2cf9f64325..c73563d4cf 100644 --- a/lib/wx/src/gen/wxStaticBoxSizer.erl +++ b/lib/wx/src/gen/wxStaticBoxSizer.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -41,19 +41,18 @@ setItemMinSize/4,setMinSize/2,setMinSize/3,setSizeHints/2,setVirtualSizeHints/2, show/2,show/3]). +-export_type([wxStaticBoxSizer/0]). %% @hidden parent_class(wxBoxSizer) -> true; parent_class(wxSizer) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (X::integer()|term(),X::term()|integer()) -> wxStaticBoxSizer() +-type wxStaticBoxSizer() :: wx:wx_object(). %% @doc See external documentation. -%%
Alternatives: -%%

-%% new(Orient::integer(), Win::wxWindow:wxWindow()) -> new(Orient,Win, [])

-%%

-%% new(Box::wxStaticBox:wxStaticBox(), Orient::integer()) -> wxStaticBoxSizer() -%%

+-spec new(Orient, Win) -> wxStaticBoxSizer() when + Orient::integer(), Win::wxWindow:wxWindow(); + (Box, Orient) -> wxStaticBoxSizer() when + Box::wxStaticBox:wxStaticBox(), Orient::integer(). new(Orient,Win) when is_integer(Orient),is_record(Win, wx_ref) -> @@ -64,9 +63,10 @@ new(#wx_ref{type=BoxT,ref=BoxRef},Orient) wxe_util:construct(?wxStaticBoxSizer_new_2, <>). -%% @spec (Orient::integer(), Win::wxWindow:wxWindow(), [Option]) -> wxStaticBoxSizer() -%% Option = {label, string()} %% @doc See external documentation. +-spec new(Orient, Win, [Option]) -> wxStaticBoxSizer() when + Orient::integer(), Win::wxWindow:wxWindow(), + Option :: {label, string()}. new(Orient,#wx_ref{type=WinT,ref=WinRef}, Options) when is_integer(Orient),is_list(Options) -> ?CLASS(WinT,wxWindow), @@ -76,15 +76,16 @@ new(Orient,#wx_ref{type=WinT,ref=WinRef}, Options) wxe_util:construct(?wxStaticBoxSizer_new_3, <>). -%% @spec (This::wxStaticBoxSizer()) -> wxStaticBox:wxStaticBox() %% @doc See external documentation. +-spec getStaticBox(This) -> wxStaticBox:wxStaticBox() when + This::wxStaticBoxSizer(). getStaticBox(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStaticBoxSizer), wxe_util:call(?wxStaticBoxSizer_GetStaticBox, <>). -%% @spec (This::wxStaticBoxSizer()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxStaticBoxSizer) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxStaticBoxSizer), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxStaticLine.erl b/lib/wx/src/gen/wxStaticLine.erl index a850065ba0..6298f449d4 100644 --- a/lib/wx/src/gen/wxStaticLine.erl +++ b/lib/wx/src/gen/wxStaticLine.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -70,27 +70,35 @@ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1, update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxStaticLine/0]). %% @hidden parent_class(wxControl) -> true; parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxStaticLine() +-type wxStaticLine() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxStaticLine(). new() -> wxe_util:construct(?wxStaticLine_new_0, <<>>). -%% @spec (Parent::wxWindow:wxWindow()) -> wxStaticLine() %% @equiv new(Parent, []) +-spec new(Parent) -> wxStaticLine() when + Parent::wxWindow:wxWindow(). + new(Parent) when is_record(Parent, wx_ref) -> new(Parent, []). -%% @spec (Parent::wxWindow:wxWindow(), [Option]) -> wxStaticLine() -%% Option = {id, integer()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} %% @doc See external documentation. +-spec new(Parent, [Option]) -> wxStaticLine() when + Parent::wxWindow:wxWindow(), + Option :: {id, integer()} + | {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()}. new(#wx_ref{type=ParentT,ref=ParentRef}, Options) when is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -103,15 +111,21 @@ new(#wx_ref{type=ParentT,ref=ParentRef}, Options) wxe_util:construct(?wxStaticLine_new_2, <>). -%% @spec (This::wxStaticLine(), Parent::wxWindow:wxWindow()) -> bool() %% @equiv create(This,Parent, []) +-spec create(This, Parent) -> boolean() when + This::wxStaticLine(), Parent::wxWindow:wxWindow(). + create(This,Parent) when is_record(This, wx_ref),is_record(Parent, wx_ref) -> create(This,Parent, []). -%% @spec (This::wxStaticLine(), Parent::wxWindow:wxWindow(), [Option]) -> bool() -%% Option = {id, integer()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} %% @doc See external documentation. +-spec create(This, Parent, [Option]) -> boolean() when + This::wxStaticLine(), Parent::wxWindow:wxWindow(), + Option :: {id, integer()} + | {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()}. create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxStaticLine), @@ -125,21 +139,22 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}, Opti wxe_util:call(?wxStaticLine_Create, <>). -%% @spec (This::wxStaticLine()) -> bool() %% @doc See external documentation. +-spec isVertical(This) -> boolean() when + This::wxStaticLine(). isVertical(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStaticLine), wxe_util:call(?wxStaticLine_IsVertical, <>). -%% @spec () -> integer() %% @doc See external documentation. +-spec getDefaultSize() -> integer(). getDefaultSize() -> wxe_util:call(?wxStaticLine_GetDefaultSize, <<>>). -%% @spec (This::wxStaticLine()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxStaticLine) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxStaticLine), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxStaticText.erl b/lib/wx/src/gen/wxStaticText.erl index 301999d49a..5aa4b6a7e0 100644 --- a/lib/wx/src/gen/wxStaticText.erl +++ b/lib/wx/src/gen/wxStaticText.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -69,27 +69,34 @@ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1, update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxStaticText/0]). %% @hidden parent_class(wxControl) -> true; parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxStaticText() +-type wxStaticText() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxStaticText(). new() -> wxe_util:construct(?wxStaticText_new_0, <<>>). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Label::string()) -> wxStaticText() %% @equiv new(Parent,Id,Label, []) +-spec new(Parent, Id, Label) -> wxStaticText() when + Parent::wxWindow:wxWindow(), Id::integer(), Label::string(). + new(Parent,Id,Label) when is_record(Parent, wx_ref),is_integer(Id),is_list(Label) -> new(Parent,Id,Label, []). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Label::string(), [Option]) -> wxStaticText() -%% Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} %% @doc See external documentation. +-spec new(Parent, Id, Label, [Option]) -> wxStaticText() when + Parent::wxWindow:wxWindow(), Id::integer(), Label::string(), + Option :: {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()}. new(#wx_ref{type=ParentT,ref=ParentRef},Id,Label, Options) when is_integer(Id),is_list(Label),is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -102,15 +109,20 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Id,Label, Options) wxe_util:construct(?wxStaticText_new_4, <>). -%% @spec (This::wxStaticText(), Parent::wxWindow:wxWindow(), Id::integer(), Label::string()) -> bool() %% @equiv create(This,Parent,Id,Label, []) +-spec create(This, Parent, Id, Label) -> boolean() when + This::wxStaticText(), Parent::wxWindow:wxWindow(), Id::integer(), Label::string(). + create(This,Parent,Id,Label) when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id),is_list(Label) -> create(This,Parent,Id,Label, []). -%% @spec (This::wxStaticText(), Parent::wxWindow:wxWindow(), Id::integer(), Label::string(), [Option]) -> bool() -%% Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} %% @doc See external documentation. +-spec create(This, Parent, Id, Label, [Option]) -> boolean() when + This::wxStaticText(), Parent::wxWindow:wxWindow(), Id::integer(), Label::string(), + Option :: {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()}. create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,Label, Options) when is_integer(Id),is_list(Label),is_list(Options) -> ?CLASS(ThisT,wxStaticText), @@ -124,15 +136,17 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,La wxe_util:call(?wxStaticText_Create, <>). -%% @spec (This::wxStaticText()) -> string() %% @doc See external documentation. +-spec getLabel(This) -> string() when + This::wxStaticText(). getLabel(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStaticText), wxe_util:call(?wxStaticText_GetLabel, <>). -%% @spec (This::wxStaticText(), Label::string()) -> ok %% @doc See external documentation. +-spec setLabel(This, Label) -> ok when + This::wxStaticText(), Label::string(). setLabel(#wx_ref{type=ThisT,ref=ThisRef},Label) when is_list(Label) -> ?CLASS(ThisT,wxStaticText), @@ -140,16 +154,17 @@ setLabel(#wx_ref{type=ThisT,ref=ThisRef},Label) wxe_util:cast(?wxStaticText_SetLabel, <>). -%% @spec (This::wxStaticText(), Width::integer()) -> ok %% @doc See external documentation. +-spec wrap(This, Width) -> ok when + This::wxStaticText(), Width::integer(). wrap(#wx_ref{type=ThisT,ref=ThisRef},Width) when is_integer(Width) -> ?CLASS(ThisT,wxStaticText), wxe_util:cast(?wxStaticText_Wrap, <>). -%% @spec (This::wxStaticText()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxStaticText) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxStaticText), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxStatusBar.erl b/lib/wx/src/gen/wxStatusBar.erl index 6e77761f1d..4b43a8e30b 100644 --- a/lib/wx/src/gen/wxStatusBar.erl +++ b/lib/wx/src/gen/wxStatusBar.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -71,26 +71,32 @@ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1, update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxStatusBar/0]). %% @hidden parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxStatusBar() +-type wxStatusBar() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxStatusBar(). new() -> wxe_util:construct(?wxStatusBar_new_0, <<>>). -%% @spec (Parent::wxWindow:wxWindow()) -> wxStatusBar() %% @equiv new(Parent, []) +-spec new(Parent) -> wxStatusBar() when + Parent::wxWindow:wxWindow(). + new(Parent) when is_record(Parent, wx_ref) -> new(Parent, []). -%% @spec (Parent::wxWindow:wxWindow(), [Option]) -> wxStatusBar() -%% Option = {winid, integer()} | {style, integer()} %% @doc See external documentation. +-spec new(Parent, [Option]) -> wxStatusBar() when + Parent::wxWindow:wxWindow(), + Option :: {winid, integer()} + | {style, integer()}. new(#wx_ref{type=ParentT,ref=ParentRef}, Options) when is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -101,15 +107,19 @@ new(#wx_ref{type=ParentT,ref=ParentRef}, Options) wxe_util:construct(?wxStatusBar_new_2, <>). -%% @spec (This::wxStatusBar(), Parent::wxWindow:wxWindow()) -> bool() %% @equiv create(This,Parent, []) +-spec create(This, Parent) -> boolean() when + This::wxStatusBar(), Parent::wxWindow:wxWindow(). + create(This,Parent) when is_record(This, wx_ref),is_record(Parent, wx_ref) -> create(This,Parent, []). -%% @spec (This::wxStatusBar(), Parent::wxWindow:wxWindow(), [Option]) -> bool() -%% Option = {winid, integer()} | {style, integer()} %% @doc See external documentation. +-spec create(This, Parent, [Option]) -> boolean() when + This::wxStatusBar(), Parent::wxWindow:wxWindow(), + Option :: {winid, integer()} + | {style, integer()}. create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxStatusBar), @@ -121,30 +131,35 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}, Opti wxe_util:call(?wxStatusBar_Create, <>). -%% @spec (This::wxStatusBar(), I::integer(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}) -> bool() %% @doc See external documentation. +-spec getFieldRect(This, I, Rect) -> boolean() when + This::wxStatusBar(), I::integer(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}. getFieldRect(#wx_ref{type=ThisT,ref=ThisRef},I,{RectX,RectY,RectW,RectH}) when is_integer(I),is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH) -> ?CLASS(ThisT,wxStatusBar), wxe_util:call(?wxStatusBar_GetFieldRect, <>). -%% @spec (This::wxStatusBar()) -> integer() %% @doc See external documentation. +-spec getFieldsCount(This) -> integer() when + This::wxStatusBar(). getFieldsCount(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStatusBar), wxe_util:call(?wxStatusBar_GetFieldsCount, <>). -%% @spec (This::wxStatusBar()) -> string() %% @equiv getStatusText(This, []) +-spec getStatusText(This) -> string() when + This::wxStatusBar(). + getStatusText(This) when is_record(This, wx_ref) -> getStatusText(This, []). -%% @spec (This::wxStatusBar(), [Option]) -> string() -%% Option = {number, integer()} %% @doc See external documentation. +-spec getStatusText(This, [Option]) -> string() when + This::wxStatusBar(), + Option :: {number, integer()}. getStatusText(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxStatusBar), @@ -154,15 +169,18 @@ getStatusText(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxStatusBar_GetStatusText, <>). -%% @spec (This::wxStatusBar()) -> ok %% @equiv popStatusText(This, []) +-spec popStatusText(This) -> ok when + This::wxStatusBar(). + popStatusText(This) when is_record(This, wx_ref) -> popStatusText(This, []). -%% @spec (This::wxStatusBar(), [Option]) -> ok -%% Option = {number, integer()} %% @doc See external documentation. +-spec popStatusText(This, [Option]) -> ok when + This::wxStatusBar(), + Option :: {number, integer()}. popStatusText(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxStatusBar), @@ -172,15 +190,18 @@ popStatusText(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:cast(?wxStatusBar_PopStatusText, <>). -%% @spec (This::wxStatusBar(), Text::string()) -> ok %% @equiv pushStatusText(This,Text, []) +-spec pushStatusText(This, Text) -> ok when + This::wxStatusBar(), Text::string(). + pushStatusText(This,Text) when is_record(This, wx_ref),is_list(Text) -> pushStatusText(This,Text, []). -%% @spec (This::wxStatusBar(), Text::string(), [Option]) -> ok -%% Option = {number, integer()} %% @doc See external documentation. +-spec pushStatusText(This, Text, [Option]) -> ok when + This::wxStatusBar(), Text::string(), + Option :: {number, integer()}. pushStatusText(#wx_ref{type=ThisT,ref=ThisRef},Text, Options) when is_list(Text),is_list(Options) -> ?CLASS(ThisT,wxStatusBar), @@ -191,15 +212,18 @@ pushStatusText(#wx_ref{type=ThisT,ref=ThisRef},Text, Options) wxe_util:cast(?wxStatusBar_PushStatusText, <>). -%% @spec (This::wxStatusBar(), Number::integer()) -> ok %% @equiv setFieldsCount(This,Number, []) +-spec setFieldsCount(This, Number) -> ok when + This::wxStatusBar(), Number::integer(). + setFieldsCount(This,Number) when is_record(This, wx_ref),is_integer(Number) -> setFieldsCount(This,Number, []). -%% @spec (This::wxStatusBar(), Number::integer(), [Option]) -> ok -%% Option = {widths, [integer()]} %% @doc See external documentation. +-spec setFieldsCount(This, Number, [Option]) -> ok when + This::wxStatusBar(), Number::integer(), + Option :: {widths, [integer()]}. setFieldsCount(#wx_ref{type=ThisT,ref=ThisRef},Number, Options) when is_integer(Number),is_list(Options) -> ?CLASS(ThisT,wxStatusBar), @@ -210,23 +234,27 @@ setFieldsCount(#wx_ref{type=ThisT,ref=ThisRef},Number, Options) wxe_util:cast(?wxStatusBar_SetFieldsCount, <>). -%% @spec (This::wxStatusBar(), Height::integer()) -> ok %% @doc See external documentation. +-spec setMinHeight(This, Height) -> ok when + This::wxStatusBar(), Height::integer(). setMinHeight(#wx_ref{type=ThisT,ref=ThisRef},Height) when is_integer(Height) -> ?CLASS(ThisT,wxStatusBar), wxe_util:cast(?wxStatusBar_SetMinHeight, <>). -%% @spec (This::wxStatusBar(), Text::string()) -> ok %% @equiv setStatusText(This,Text, []) +-spec setStatusText(This, Text) -> ok when + This::wxStatusBar(), Text::string(). + setStatusText(This,Text) when is_record(This, wx_ref),is_list(Text) -> setStatusText(This,Text, []). -%% @spec (This::wxStatusBar(), Text::string(), [Option]) -> ok -%% Option = {number, integer()} %% @doc See external documentation. +-spec setStatusText(This, Text, [Option]) -> ok when + This::wxStatusBar(), Text::string(), + Option :: {number, integer()}. setStatusText(#wx_ref{type=ThisT,ref=ThisRef},Text, Options) when is_list(Text),is_list(Options) -> ?CLASS(ThisT,wxStatusBar), @@ -237,8 +265,9 @@ setStatusText(#wx_ref{type=ThisT,ref=ThisRef},Text, Options) wxe_util:cast(?wxStatusBar_SetStatusText, <>). -%% @spec (This::wxStatusBar(), Widths_field::[integer()]) -> ok %% @doc See external documentation. +-spec setStatusWidths(This, Widths_field) -> ok when + This::wxStatusBar(), Widths_field::[integer()]. setStatusWidths(#wx_ref{type=ThisT,ref=ThisRef},Widths_field) when is_list(Widths_field) -> ?CLASS(ThisT,wxStatusBar), @@ -246,8 +275,9 @@ setStatusWidths(#wx_ref{type=ThisT,ref=ThisRef},Widths_field) <> || C <- Widths_field>>)/binary, 0:(((0+length(Widths_field)) rem 2)*32)>>). -%% @spec (This::wxStatusBar(), Styles::[integer()]) -> ok %% @doc See external documentation. +-spec setStatusStyles(This, Styles) -> ok when + This::wxStatusBar(), Styles::[integer()]. setStatusStyles(#wx_ref{type=ThisT,ref=ThisRef},Styles) when is_list(Styles) -> ?CLASS(ThisT,wxStatusBar), @@ -255,8 +285,8 @@ setStatusStyles(#wx_ref{type=ThisT,ref=ThisRef},Styles) <> || C <- Styles>>)/binary, 0:(((0+length(Styles)) rem 2)*32)>>). -%% @spec (This::wxStatusBar()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxStatusBar) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxStatusBar), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxStdDialogButtonSizer.erl b/lib/wx/src/gen/wxStdDialogButtonSizer.erl index 3d31907275..b8c17ab6ac 100644 --- a/lib/wx/src/gen/wxStdDialogButtonSizer.erl +++ b/lib/wx/src/gen/wxStdDialogButtonSizer.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -42,58 +42,65 @@ setItemMinSize/4,setMinSize/2,setMinSize/3,setSizeHints/2,setVirtualSizeHints/2, show/2,show/3]). +-export_type([wxStdDialogButtonSizer/0]). %% @hidden parent_class(wxBoxSizer) -> true; parent_class(wxSizer) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxStdDialogButtonSizer() +-type wxStdDialogButtonSizer() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxStdDialogButtonSizer(). new() -> wxe_util:construct(?wxStdDialogButtonSizer_new, <<>>). -%% @spec (This::wxStdDialogButtonSizer(), Button::wxButton:wxButton()) -> ok %% @doc See external documentation. +-spec addButton(This, Button) -> ok when + This::wxStdDialogButtonSizer(), Button::wxButton:wxButton(). addButton(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ButtonT,ref=ButtonRef}) -> ?CLASS(ThisT,wxStdDialogButtonSizer), ?CLASS(ButtonT,wxButton), wxe_util:cast(?wxStdDialogButtonSizer_AddButton, <>). -%% @spec (This::wxStdDialogButtonSizer()) -> ok %% @doc See external documentation. +-spec realize(This) -> ok when + This::wxStdDialogButtonSizer(). realize(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStdDialogButtonSizer), wxe_util:cast(?wxStdDialogButtonSizer_Realize, <>). -%% @spec (This::wxStdDialogButtonSizer(), Button::wxButton:wxButton()) -> ok %% @doc See external documentation. +-spec setAffirmativeButton(This, Button) -> ok when + This::wxStdDialogButtonSizer(), Button::wxButton:wxButton(). setAffirmativeButton(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ButtonT,ref=ButtonRef}) -> ?CLASS(ThisT,wxStdDialogButtonSizer), ?CLASS(ButtonT,wxButton), wxe_util:cast(?wxStdDialogButtonSizer_SetAffirmativeButton, <>). -%% @spec (This::wxStdDialogButtonSizer(), Button::wxButton:wxButton()) -> ok %% @doc See external documentation. +-spec setCancelButton(This, Button) -> ok when + This::wxStdDialogButtonSizer(), Button::wxButton:wxButton(). setCancelButton(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ButtonT,ref=ButtonRef}) -> ?CLASS(ThisT,wxStdDialogButtonSizer), ?CLASS(ButtonT,wxButton), wxe_util:cast(?wxStdDialogButtonSizer_SetCancelButton, <>). -%% @spec (This::wxStdDialogButtonSizer(), Button::wxButton:wxButton()) -> ok %% @doc See external documentation. +-spec setNegativeButton(This, Button) -> ok when + This::wxStdDialogButtonSizer(), Button::wxButton:wxButton(). setNegativeButton(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ButtonT,ref=ButtonRef}) -> ?CLASS(ThisT,wxStdDialogButtonSizer), ?CLASS(ButtonT,wxButton), wxe_util:cast(?wxStdDialogButtonSizer_SetNegativeButton, <>). -%% @spec (This::wxStdDialogButtonSizer()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxStdDialogButtonSizer) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxStdDialogButtonSizer), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxStyledTextCtrl.erl b/lib/wx/src/gen/wxStyledTextCtrl.erl index 61f0e5afef..fdbe4faec0 100644 --- a/lib/wx/src/gen/wxStyledTextCtrl.erl +++ b/lib/wx/src/gen/wxStyledTextCtrl.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -171,27 +171,35 @@ transferDataToWindow/1,update/1,updateWindowUI/1,updateWindowUI/2, validate/1,warpPointer/3]). +-export_type([wxStyledTextCtrl/0]). %% @hidden parent_class(wxControl) -> true; parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxStyledTextCtrl() +-type wxStyledTextCtrl() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxStyledTextCtrl(). new() -> wxe_util:construct(?wxStyledTextCtrl_new_0, <<>>). -%% @spec (Parent::wxWindow:wxWindow()) -> wxStyledTextCtrl() %% @equiv new(Parent, []) +-spec new(Parent) -> wxStyledTextCtrl() when + Parent::wxWindow:wxWindow(). + new(Parent) when is_record(Parent, wx_ref) -> new(Parent, []). -%% @spec (Parent::wxWindow:wxWindow(), [Option]) -> wxStyledTextCtrl() -%% Option = {id, integer()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} %% @doc See external documentation. +-spec new(Parent, [Option]) -> wxStyledTextCtrl() when + Parent::wxWindow:wxWindow(), + Option :: {id, integer()} + | {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()}. new(#wx_ref{type=ParentT,ref=ParentRef}, Options) when is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -204,15 +212,21 @@ new(#wx_ref{type=ParentT,ref=ParentRef}, Options) wxe_util:construct(?wxStyledTextCtrl_new_2, <>). -%% @spec (This::wxStyledTextCtrl(), Parent::wxWindow:wxWindow()) -> bool() %% @equiv create(This,Parent, []) +-spec create(This, Parent) -> boolean() when + This::wxStyledTextCtrl(), Parent::wxWindow:wxWindow(). + create(This,Parent) when is_record(This, wx_ref),is_record(Parent, wx_ref) -> create(This,Parent, []). -%% @spec (This::wxStyledTextCtrl(), Parent::wxWindow:wxWindow(), [Option]) -> bool() -%% Option = {id, integer()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} %% @doc See external documentation. +-spec create(This, Parent, [Option]) -> boolean() when + This::wxStyledTextCtrl(), Parent::wxWindow:wxWindow(), + Option :: {id, integer()} + | {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()}. create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -226,8 +240,9 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}, Opti wxe_util:call(?wxStyledTextCtrl_Create, <>). -%% @spec (This::wxStyledTextCtrl(), Text::string()) -> ok %% @doc See external documentation. +-spec addText(This, Text) -> ok when + This::wxStyledTextCtrl(), Text::string(). addText(#wx_ref{type=ThisT,ref=ThisRef},Text) when is_list(Text) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -235,16 +250,18 @@ addText(#wx_ref{type=ThisT,ref=ThisRef},Text) wxe_util:cast(?wxStyledTextCtrl_AddText, <>). -%% @spec (This::wxStyledTextCtrl(), Data::wxMemoryBuffer:wxMemoryBuffer()) -> ok %% @doc See external documentation. +-spec addStyledText(This, Data) -> ok when + This::wxStyledTextCtrl(), Data::wxMemoryBuffer:wxMemoryBuffer(). addStyledText(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=DataT,ref=DataRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), ?CLASS(DataT,wxMemoryBuffer), wxe_util:cast(?wxStyledTextCtrl_AddStyledText, <>). -%% @spec (This::wxStyledTextCtrl(), Pos::integer(), Text::string()) -> ok %% @doc See external documentation. +-spec insertText(This, Pos, Text) -> ok when + This::wxStyledTextCtrl(), Pos::integer(), Text::string(). insertText(#wx_ref{type=ThisT,ref=ThisRef},Pos,Text) when is_integer(Pos),is_list(Text) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -252,279 +269,319 @@ insertText(#wx_ref{type=ThisT,ref=ThisRef},Pos,Text) wxe_util:cast(?wxStyledTextCtrl_InsertText, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec clearAll(This) -> ok when + This::wxStyledTextCtrl(). clearAll(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_ClearAll, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec clearDocumentStyle(This) -> ok when + This::wxStyledTextCtrl(). clearDocumentStyle(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_ClearDocumentStyle, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec getLength(This) -> integer() when + This::wxStyledTextCtrl(). getLength(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetLength, <>). -%% @spec (This::wxStyledTextCtrl(), Pos::integer()) -> integer() %% @doc See external documentation. +-spec getCharAt(This, Pos) -> integer() when + This::wxStyledTextCtrl(), Pos::integer(). getCharAt(#wx_ref{type=ThisT,ref=ThisRef},Pos) when is_integer(Pos) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetCharAt, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec getCurrentPos(This) -> integer() when + This::wxStyledTextCtrl(). getCurrentPos(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetCurrentPos, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec getAnchor(This) -> integer() when + This::wxStyledTextCtrl(). getAnchor(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetAnchor, <>). -%% @spec (This::wxStyledTextCtrl(), Pos::integer()) -> integer() %% @doc See external documentation. +-spec getStyleAt(This, Pos) -> integer() when + This::wxStyledTextCtrl(), Pos::integer(). getStyleAt(#wx_ref{type=ThisT,ref=ThisRef},Pos) when is_integer(Pos) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetStyleAt, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec redo(This) -> ok when + This::wxStyledTextCtrl(). redo(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_Redo, <>). -%% @spec (This::wxStyledTextCtrl(), CollectUndo::bool()) -> ok %% @doc See external documentation. +-spec setUndoCollection(This, CollectUndo) -> ok when + This::wxStyledTextCtrl(), CollectUndo::boolean(). setUndoCollection(#wx_ref{type=ThisT,ref=ThisRef},CollectUndo) when is_boolean(CollectUndo) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetUndoCollection, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec selectAll(This) -> ok when + This::wxStyledTextCtrl(). selectAll(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SelectAll, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec setSavePoint(This) -> ok when + This::wxStyledTextCtrl(). setSavePoint(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetSavePoint, <>). -%% @spec (This::wxStyledTextCtrl(), StartPos::integer(), EndPos::integer()) -> wxMemoryBuffer:wxMemoryBuffer() %% @doc See external documentation. +-spec getStyledText(This, StartPos, EndPos) -> wxMemoryBuffer:wxMemoryBuffer() when + This::wxStyledTextCtrl(), StartPos::integer(), EndPos::integer(). getStyledText(#wx_ref{type=ThisT,ref=ThisRef},StartPos,EndPos) when is_integer(StartPos),is_integer(EndPos) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetStyledText, <>). -%% @spec (This::wxStyledTextCtrl()) -> bool() %% @doc See external documentation. +-spec canRedo(This) -> boolean() when + This::wxStyledTextCtrl(). canRedo(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_CanRedo, <>). -%% @spec (This::wxStyledTextCtrl(), Handle::integer()) -> integer() %% @doc See external documentation. +-spec markerLineFromHandle(This, Handle) -> integer() when + This::wxStyledTextCtrl(), Handle::integer(). markerLineFromHandle(#wx_ref{type=ThisT,ref=ThisRef},Handle) when is_integer(Handle) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_MarkerLineFromHandle, <>). -%% @spec (This::wxStyledTextCtrl(), Handle::integer()) -> ok %% @doc See external documentation. +-spec markerDeleteHandle(This, Handle) -> ok when + This::wxStyledTextCtrl(), Handle::integer(). markerDeleteHandle(#wx_ref{type=ThisT,ref=ThisRef},Handle) when is_integer(Handle) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_MarkerDeleteHandle, <>). -%% @spec (This::wxStyledTextCtrl()) -> bool() %% @doc See external documentation. +-spec getUndoCollection(This) -> boolean() when + This::wxStyledTextCtrl(). getUndoCollection(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetUndoCollection, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec getViewWhiteSpace(This) -> integer() when + This::wxStyledTextCtrl(). getViewWhiteSpace(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetViewWhiteSpace, <>). -%% @spec (This::wxStyledTextCtrl(), ViewWS::integer()) -> ok %% @doc See external documentation. +-spec setViewWhiteSpace(This, ViewWS) -> ok when + This::wxStyledTextCtrl(), ViewWS::integer(). setViewWhiteSpace(#wx_ref{type=ThisT,ref=ThisRef},ViewWS) when is_integer(ViewWS) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetViewWhiteSpace, <>). -%% @spec (This::wxStyledTextCtrl(), Pt::{X::integer(), Y::integer()}) -> integer() %% @doc See external documentation. +-spec positionFromPoint(This, Pt) -> integer() when + This::wxStyledTextCtrl(), Pt::{X::integer(), Y::integer()}. positionFromPoint(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY}) when is_integer(PtX),is_integer(PtY) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_PositionFromPoint, <>). -%% @spec (This::wxStyledTextCtrl(), X::integer(), Y::integer()) -> integer() %% @doc See external documentation. +-spec positionFromPointClose(This, X, Y) -> integer() when + This::wxStyledTextCtrl(), X::integer(), Y::integer(). positionFromPointClose(#wx_ref{type=ThisT,ref=ThisRef},X,Y) when is_integer(X),is_integer(Y) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_PositionFromPointClose, <>). -%% @spec (This::wxStyledTextCtrl(), Line::integer()) -> ok %% @doc See external documentation. +-spec gotoLine(This, Line) -> ok when + This::wxStyledTextCtrl(), Line::integer(). gotoLine(#wx_ref{type=ThisT,ref=ThisRef},Line) when is_integer(Line) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_GotoLine, <>). -%% @spec (This::wxStyledTextCtrl(), Pos::integer()) -> ok %% @doc See external documentation. +-spec gotoPos(This, Pos) -> ok when + This::wxStyledTextCtrl(), Pos::integer(). gotoPos(#wx_ref{type=ThisT,ref=ThisRef},Pos) when is_integer(Pos) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_GotoPos, <>). -%% @spec (This::wxStyledTextCtrl(), PosAnchor::integer()) -> ok %% @doc See external documentation. +-spec setAnchor(This, PosAnchor) -> ok when + This::wxStyledTextCtrl(), PosAnchor::integer(). setAnchor(#wx_ref{type=ThisT,ref=ThisRef},PosAnchor) when is_integer(PosAnchor) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetAnchor, <>). -%% @spec (This::wxStyledTextCtrl()) -> {string(), LinePos::integer()} %% @doc See external documentation. +-spec getCurLine(This) -> Result when + Result ::{Res ::string(), LinePos::integer()}, + This::wxStyledTextCtrl(). getCurLine(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetCurLine, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec getEndStyled(This) -> integer() when + This::wxStyledTextCtrl(). getEndStyled(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetEndStyled, <>). -%% @spec (This::wxStyledTextCtrl(), EolMode::integer()) -> ok %% @doc See external documentation. +-spec convertEOLs(This, EolMode) -> ok when + This::wxStyledTextCtrl(), EolMode::integer(). convertEOLs(#wx_ref{type=ThisT,ref=ThisRef},EolMode) when is_integer(EolMode) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_ConvertEOLs, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec getEOLMode(This) -> integer() when + This::wxStyledTextCtrl(). getEOLMode(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetEOLMode, <>). -%% @spec (This::wxStyledTextCtrl(), EolMode::integer()) -> ok %% @doc See external documentation. +-spec setEOLMode(This, EolMode) -> ok when + This::wxStyledTextCtrl(), EolMode::integer(). setEOLMode(#wx_ref{type=ThisT,ref=ThisRef},EolMode) when is_integer(EolMode) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetEOLMode, <>). -%% @spec (This::wxStyledTextCtrl(), Pos::integer(), Mask::integer()) -> ok %% @doc See external documentation. +-spec startStyling(This, Pos, Mask) -> ok when + This::wxStyledTextCtrl(), Pos::integer(), Mask::integer(). startStyling(#wx_ref{type=ThisT,ref=ThisRef},Pos,Mask) when is_integer(Pos),is_integer(Mask) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_StartStyling, <>). -%% @spec (This::wxStyledTextCtrl(), Length::integer(), Style::integer()) -> ok %% @doc See external documentation. +-spec setStyling(This, Length, Style) -> ok when + This::wxStyledTextCtrl(), Length::integer(), Style::integer(). setStyling(#wx_ref{type=ThisT,ref=ThisRef},Length,Style) when is_integer(Length),is_integer(Style) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetStyling, <>). -%% @spec (This::wxStyledTextCtrl()) -> bool() %% @doc See external documentation. +-spec getBufferedDraw(This) -> boolean() when + This::wxStyledTextCtrl(). getBufferedDraw(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetBufferedDraw, <>). -%% @spec (This::wxStyledTextCtrl(), Buffered::bool()) -> ok %% @doc See external documentation. +-spec setBufferedDraw(This, Buffered) -> ok when + This::wxStyledTextCtrl(), Buffered::boolean(). setBufferedDraw(#wx_ref{type=ThisT,ref=ThisRef},Buffered) when is_boolean(Buffered) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetBufferedDraw, <>). -%% @spec (This::wxStyledTextCtrl(), TabWidth::integer()) -> ok %% @doc See external documentation. +-spec setTabWidth(This, TabWidth) -> ok when + This::wxStyledTextCtrl(), TabWidth::integer(). setTabWidth(#wx_ref{type=ThisT,ref=ThisRef},TabWidth) when is_integer(TabWidth) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetTabWidth, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec getTabWidth(This) -> integer() when + This::wxStyledTextCtrl(). getTabWidth(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetTabWidth, <>). -%% @spec (This::wxStyledTextCtrl(), CodePage::integer()) -> ok %% @doc See external documentation. +-spec setCodePage(This, CodePage) -> ok when + This::wxStyledTextCtrl(), CodePage::integer(). setCodePage(#wx_ref{type=ThisT,ref=ThisRef},CodePage) when is_integer(CodePage) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetCodePage, <>). -%% @spec (This::wxStyledTextCtrl(), MarkerNumber::integer(), MarkerSymbol::integer()) -> ok %% @equiv markerDefine(This,MarkerNumber,MarkerSymbol, []) +-spec markerDefine(This, MarkerNumber, MarkerSymbol) -> ok when + This::wxStyledTextCtrl(), MarkerNumber::integer(), MarkerSymbol::integer(). + markerDefine(This,MarkerNumber,MarkerSymbol) when is_record(This, wx_ref),is_integer(MarkerNumber),is_integer(MarkerSymbol) -> markerDefine(This,MarkerNumber,MarkerSymbol, []). -%% @spec (This::wxStyledTextCtrl(), MarkerNumber::integer(), MarkerSymbol::integer(), [Option]) -> ok -%% Option = {foreground, wx:colour()} | {background, wx:colour()} %% @doc See external documentation. +-spec markerDefine(This, MarkerNumber, MarkerSymbol, [Option]) -> ok when + This::wxStyledTextCtrl(), MarkerNumber::integer(), MarkerSymbol::integer(), + Option :: {foreground, wx:wx_colour()} + | {background, wx:wx_colour()}. markerDefine(#wx_ref{type=ThisT,ref=ThisRef},MarkerNumber,MarkerSymbol, Options) when is_integer(MarkerNumber),is_integer(MarkerSymbol),is_list(Options) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -535,72 +592,81 @@ markerDefine(#wx_ref{type=ThisT,ref=ThisRef},MarkerNumber,MarkerSymbol, Options) wxe_util:cast(?wxStyledTextCtrl_MarkerDefine, <>). -%% @spec (This::wxStyledTextCtrl(), MarkerNumber::integer(), Fore::wx:colour()) -> ok %% @doc See external documentation. +-spec markerSetForeground(This, MarkerNumber, Fore) -> ok when + This::wxStyledTextCtrl(), MarkerNumber::integer(), Fore::wx:wx_colour(). markerSetForeground(#wx_ref{type=ThisT,ref=ThisRef},MarkerNumber,Fore) when is_integer(MarkerNumber),tuple_size(Fore) =:= 3; tuple_size(Fore) =:= 4 -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_MarkerSetForeground, <>). -%% @spec (This::wxStyledTextCtrl(), MarkerNumber::integer(), Back::wx:colour()) -> ok %% @doc See external documentation. +-spec markerSetBackground(This, MarkerNumber, Back) -> ok when + This::wxStyledTextCtrl(), MarkerNumber::integer(), Back::wx:wx_colour(). markerSetBackground(#wx_ref{type=ThisT,ref=ThisRef},MarkerNumber,Back) when is_integer(MarkerNumber),tuple_size(Back) =:= 3; tuple_size(Back) =:= 4 -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_MarkerSetBackground, <>). -%% @spec (This::wxStyledTextCtrl(), Line::integer(), MarkerNumber::integer()) -> integer() %% @doc See external documentation. +-spec markerAdd(This, Line, MarkerNumber) -> integer() when + This::wxStyledTextCtrl(), Line::integer(), MarkerNumber::integer(). markerAdd(#wx_ref{type=ThisT,ref=ThisRef},Line,MarkerNumber) when is_integer(Line),is_integer(MarkerNumber) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_MarkerAdd, <>). -%% @spec (This::wxStyledTextCtrl(), Line::integer(), MarkerNumber::integer()) -> ok %% @doc See external documentation. +-spec markerDelete(This, Line, MarkerNumber) -> ok when + This::wxStyledTextCtrl(), Line::integer(), MarkerNumber::integer(). markerDelete(#wx_ref{type=ThisT,ref=ThisRef},Line,MarkerNumber) when is_integer(Line),is_integer(MarkerNumber) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_MarkerDelete, <>). -%% @spec (This::wxStyledTextCtrl(), MarkerNumber::integer()) -> ok %% @doc See external documentation. +-spec markerDeleteAll(This, MarkerNumber) -> ok when + This::wxStyledTextCtrl(), MarkerNumber::integer(). markerDeleteAll(#wx_ref{type=ThisT,ref=ThisRef},MarkerNumber) when is_integer(MarkerNumber) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_MarkerDeleteAll, <>). -%% @spec (This::wxStyledTextCtrl(), Line::integer()) -> integer() %% @doc See external documentation. +-spec markerGet(This, Line) -> integer() when + This::wxStyledTextCtrl(), Line::integer(). markerGet(#wx_ref{type=ThisT,ref=ThisRef},Line) when is_integer(Line) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_MarkerGet, <>). -%% @spec (This::wxStyledTextCtrl(), LineStart::integer(), MarkerMask::integer()) -> integer() %% @doc See external documentation. +-spec markerNext(This, LineStart, MarkerMask) -> integer() when + This::wxStyledTextCtrl(), LineStart::integer(), MarkerMask::integer(). markerNext(#wx_ref{type=ThisT,ref=ThisRef},LineStart,MarkerMask) when is_integer(LineStart),is_integer(MarkerMask) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_MarkerNext, <>). -%% @spec (This::wxStyledTextCtrl(), LineStart::integer(), MarkerMask::integer()) -> integer() %% @doc See external documentation. +-spec markerPrevious(This, LineStart, MarkerMask) -> integer() when + This::wxStyledTextCtrl(), LineStart::integer(), MarkerMask::integer(). markerPrevious(#wx_ref{type=ThisT,ref=ThisRef},LineStart,MarkerMask) when is_integer(LineStart),is_integer(MarkerMask) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_MarkerPrevious, <>). -%% @spec (This::wxStyledTextCtrl(), MarkerNumber::integer(), Bmp::wxBitmap:wxBitmap()) -> ok %% @doc See external documentation. +-spec markerDefineBitmap(This, MarkerNumber, Bmp) -> ok when + This::wxStyledTextCtrl(), MarkerNumber::integer(), Bmp::wxBitmap:wxBitmap(). markerDefineBitmap(#wx_ref{type=ThisT,ref=ThisRef},MarkerNumber,#wx_ref{type=BmpT,ref=BmpRef}) when is_integer(MarkerNumber) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -608,135 +674,152 @@ markerDefineBitmap(#wx_ref{type=ThisT,ref=ThisRef},MarkerNumber,#wx_ref{type=Bmp wxe_util:cast(?wxStyledTextCtrl_MarkerDefineBitmap, <>). -%% @spec (This::wxStyledTextCtrl(), Line::integer(), Set::integer()) -> ok %% @doc See external documentation. +-spec markerAddSet(This, Line, Set) -> ok when + This::wxStyledTextCtrl(), Line::integer(), Set::integer(). markerAddSet(#wx_ref{type=ThisT,ref=ThisRef},Line,Set) when is_integer(Line),is_integer(Set) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_MarkerAddSet, <>). -%% @spec (This::wxStyledTextCtrl(), MarkerNumber::integer(), Alpha::integer()) -> ok %% @doc See external documentation. +-spec markerSetAlpha(This, MarkerNumber, Alpha) -> ok when + This::wxStyledTextCtrl(), MarkerNumber::integer(), Alpha::integer(). markerSetAlpha(#wx_ref{type=ThisT,ref=ThisRef},MarkerNumber,Alpha) when is_integer(MarkerNumber),is_integer(Alpha) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_MarkerSetAlpha, <>). -%% @spec (This::wxStyledTextCtrl(), Margin::integer(), MarginType::integer()) -> ok %% @doc See external documentation. +-spec setMarginType(This, Margin, MarginType) -> ok when + This::wxStyledTextCtrl(), Margin::integer(), MarginType::integer(). setMarginType(#wx_ref{type=ThisT,ref=ThisRef},Margin,MarginType) when is_integer(Margin),is_integer(MarginType) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetMarginType, <>). -%% @spec (This::wxStyledTextCtrl(), Margin::integer()) -> integer() %% @doc See external documentation. +-spec getMarginType(This, Margin) -> integer() when + This::wxStyledTextCtrl(), Margin::integer(). getMarginType(#wx_ref{type=ThisT,ref=ThisRef},Margin) when is_integer(Margin) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetMarginType, <>). -%% @spec (This::wxStyledTextCtrl(), Margin::integer(), PixelWidth::integer()) -> ok %% @doc See external documentation. +-spec setMarginWidth(This, Margin, PixelWidth) -> ok when + This::wxStyledTextCtrl(), Margin::integer(), PixelWidth::integer(). setMarginWidth(#wx_ref{type=ThisT,ref=ThisRef},Margin,PixelWidth) when is_integer(Margin),is_integer(PixelWidth) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetMarginWidth, <>). -%% @spec (This::wxStyledTextCtrl(), Margin::integer()) -> integer() %% @doc See external documentation. +-spec getMarginWidth(This, Margin) -> integer() when + This::wxStyledTextCtrl(), Margin::integer(). getMarginWidth(#wx_ref{type=ThisT,ref=ThisRef},Margin) when is_integer(Margin) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetMarginWidth, <>). -%% @spec (This::wxStyledTextCtrl(), Margin::integer(), Mask::integer()) -> ok %% @doc See external documentation. +-spec setMarginMask(This, Margin, Mask) -> ok when + This::wxStyledTextCtrl(), Margin::integer(), Mask::integer(). setMarginMask(#wx_ref{type=ThisT,ref=ThisRef},Margin,Mask) when is_integer(Margin),is_integer(Mask) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetMarginMask, <>). -%% @spec (This::wxStyledTextCtrl(), Margin::integer()) -> integer() %% @doc See external documentation. +-spec getMarginMask(This, Margin) -> integer() when + This::wxStyledTextCtrl(), Margin::integer(). getMarginMask(#wx_ref{type=ThisT,ref=ThisRef},Margin) when is_integer(Margin) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetMarginMask, <>). -%% @spec (This::wxStyledTextCtrl(), Margin::integer(), Sensitive::bool()) -> ok %% @doc See external documentation. +-spec setMarginSensitive(This, Margin, Sensitive) -> ok when + This::wxStyledTextCtrl(), Margin::integer(), Sensitive::boolean(). setMarginSensitive(#wx_ref{type=ThisT,ref=ThisRef},Margin,Sensitive) when is_integer(Margin),is_boolean(Sensitive) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetMarginSensitive, <>). -%% @spec (This::wxStyledTextCtrl(), Margin::integer()) -> bool() %% @doc See external documentation. +-spec getMarginSensitive(This, Margin) -> boolean() when + This::wxStyledTextCtrl(), Margin::integer(). getMarginSensitive(#wx_ref{type=ThisT,ref=ThisRef},Margin) when is_integer(Margin) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetMarginSensitive, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec styleClearAll(This) -> ok when + This::wxStyledTextCtrl(). styleClearAll(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_StyleClearAll, <>). -%% @spec (This::wxStyledTextCtrl(), Style::integer(), Fore::wx:colour()) -> ok %% @doc See external documentation. +-spec styleSetForeground(This, Style, Fore) -> ok when + This::wxStyledTextCtrl(), Style::integer(), Fore::wx:wx_colour(). styleSetForeground(#wx_ref{type=ThisT,ref=ThisRef},Style,Fore) when is_integer(Style),tuple_size(Fore) =:= 3; tuple_size(Fore) =:= 4 -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_StyleSetForeground, <>). -%% @spec (This::wxStyledTextCtrl(), Style::integer(), Back::wx:colour()) -> ok %% @doc See external documentation. +-spec styleSetBackground(This, Style, Back) -> ok when + This::wxStyledTextCtrl(), Style::integer(), Back::wx:wx_colour(). styleSetBackground(#wx_ref{type=ThisT,ref=ThisRef},Style,Back) when is_integer(Style),tuple_size(Back) =:= 3; tuple_size(Back) =:= 4 -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_StyleSetBackground, <>). -%% @spec (This::wxStyledTextCtrl(), Style::integer(), Bold::bool()) -> ok %% @doc See external documentation. +-spec styleSetBold(This, Style, Bold) -> ok when + This::wxStyledTextCtrl(), Style::integer(), Bold::boolean(). styleSetBold(#wx_ref{type=ThisT,ref=ThisRef},Style,Bold) when is_integer(Style),is_boolean(Bold) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_StyleSetBold, <>). -%% @spec (This::wxStyledTextCtrl(), Style::integer(), Italic::bool()) -> ok %% @doc See external documentation. +-spec styleSetItalic(This, Style, Italic) -> ok when + This::wxStyledTextCtrl(), Style::integer(), Italic::boolean(). styleSetItalic(#wx_ref{type=ThisT,ref=ThisRef},Style,Italic) when is_integer(Style),is_boolean(Italic) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_StyleSetItalic, <>). -%% @spec (This::wxStyledTextCtrl(), Style::integer(), SizePoints::integer()) -> ok %% @doc See external documentation. +-spec styleSetSize(This, Style, SizePoints) -> ok when + This::wxStyledTextCtrl(), Style::integer(), SizePoints::integer(). styleSetSize(#wx_ref{type=ThisT,ref=ThisRef},Style,SizePoints) when is_integer(Style),is_integer(SizePoints) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_StyleSetSize, <>). -%% @spec (This::wxStyledTextCtrl(), Style::integer(), FontName::string()) -> ok %% @doc See external documentation. +-spec styleSetFaceName(This, Style, FontName) -> ok when + This::wxStyledTextCtrl(), Style::integer(), FontName::string(). styleSetFaceName(#wx_ref{type=ThisT,ref=ThisRef},Style,FontName) when is_integer(Style),is_list(FontName) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -744,140 +827,158 @@ styleSetFaceName(#wx_ref{type=ThisT,ref=ThisRef},Style,FontName) wxe_util:cast(?wxStyledTextCtrl_StyleSetFaceName, <>). -%% @spec (This::wxStyledTextCtrl(), Style::integer(), Filled::bool()) -> ok %% @doc See external documentation. +-spec styleSetEOLFilled(This, Style, Filled) -> ok when + This::wxStyledTextCtrl(), Style::integer(), Filled::boolean(). styleSetEOLFilled(#wx_ref{type=ThisT,ref=ThisRef},Style,Filled) when is_integer(Style),is_boolean(Filled) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_StyleSetEOLFilled, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec styleResetDefault(This) -> ok when + This::wxStyledTextCtrl(). styleResetDefault(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_StyleResetDefault, <>). -%% @spec (This::wxStyledTextCtrl(), Style::integer(), Underline::bool()) -> ok %% @doc See external documentation. +-spec styleSetUnderline(This, Style, Underline) -> ok when + This::wxStyledTextCtrl(), Style::integer(), Underline::boolean(). styleSetUnderline(#wx_ref{type=ThisT,ref=ThisRef},Style,Underline) when is_integer(Style),is_boolean(Underline) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_StyleSetUnderline, <>). -%% @spec (This::wxStyledTextCtrl(), Style::integer(), CaseForce::integer()) -> ok %% @doc See external documentation. +-spec styleSetCase(This, Style, CaseForce) -> ok when + This::wxStyledTextCtrl(), Style::integer(), CaseForce::integer(). styleSetCase(#wx_ref{type=ThisT,ref=ThisRef},Style,CaseForce) when is_integer(Style),is_integer(CaseForce) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_StyleSetCase, <>). -%% @spec (This::wxStyledTextCtrl(), Style::integer(), Hotspot::bool()) -> ok %% @doc See external documentation. +-spec styleSetHotSpot(This, Style, Hotspot) -> ok when + This::wxStyledTextCtrl(), Style::integer(), Hotspot::boolean(). styleSetHotSpot(#wx_ref{type=ThisT,ref=ThisRef},Style,Hotspot) when is_integer(Style),is_boolean(Hotspot) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_StyleSetHotSpot, <>). -%% @spec (This::wxStyledTextCtrl(), UseSetting::bool(), Fore::wx:colour()) -> ok %% @doc See external documentation. +-spec setSelForeground(This, UseSetting, Fore) -> ok when + This::wxStyledTextCtrl(), UseSetting::boolean(), Fore::wx:wx_colour(). setSelForeground(#wx_ref{type=ThisT,ref=ThisRef},UseSetting,Fore) when is_boolean(UseSetting),tuple_size(Fore) =:= 3; tuple_size(Fore) =:= 4 -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetSelForeground, <>). -%% @spec (This::wxStyledTextCtrl(), UseSetting::bool(), Back::wx:colour()) -> ok %% @doc See external documentation. +-spec setSelBackground(This, UseSetting, Back) -> ok when + This::wxStyledTextCtrl(), UseSetting::boolean(), Back::wx:wx_colour(). setSelBackground(#wx_ref{type=ThisT,ref=ThisRef},UseSetting,Back) when is_boolean(UseSetting),tuple_size(Back) =:= 3; tuple_size(Back) =:= 4 -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetSelBackground, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec getSelAlpha(This) -> integer() when + This::wxStyledTextCtrl(). getSelAlpha(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetSelAlpha, <>). -%% @spec (This::wxStyledTextCtrl(), Alpha::integer()) -> ok %% @doc See external documentation. +-spec setSelAlpha(This, Alpha) -> ok when + This::wxStyledTextCtrl(), Alpha::integer(). setSelAlpha(#wx_ref{type=ThisT,ref=ThisRef},Alpha) when is_integer(Alpha) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetSelAlpha, <>). -%% @spec (This::wxStyledTextCtrl(), Fore::wx:colour()) -> ok %% @doc See external documentation. +-spec setCaretForeground(This, Fore) -> ok when + This::wxStyledTextCtrl(), Fore::wx:wx_colour(). setCaretForeground(#wx_ref{type=ThisT,ref=ThisRef},Fore) when tuple_size(Fore) =:= 3; tuple_size(Fore) =:= 4 -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetCaretForeground, <>). -%% @spec (This::wxStyledTextCtrl(), Key::integer(), Modifiers::integer(), Cmd::integer()) -> ok %% @doc See external documentation. +-spec cmdKeyAssign(This, Key, Modifiers, Cmd) -> ok when + This::wxStyledTextCtrl(), Key::integer(), Modifiers::integer(), Cmd::integer(). cmdKeyAssign(#wx_ref{type=ThisT,ref=ThisRef},Key,Modifiers,Cmd) when is_integer(Key),is_integer(Modifiers),is_integer(Cmd) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_CmdKeyAssign, <>). -%% @spec (This::wxStyledTextCtrl(), Key::integer(), Modifiers::integer()) -> ok %% @doc See external documentation. +-spec cmdKeyClear(This, Key, Modifiers) -> ok when + This::wxStyledTextCtrl(), Key::integer(), Modifiers::integer(). cmdKeyClear(#wx_ref{type=ThisT,ref=ThisRef},Key,Modifiers) when is_integer(Key),is_integer(Modifiers) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_CmdKeyClear, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec cmdKeyClearAll(This) -> ok when + This::wxStyledTextCtrl(). cmdKeyClearAll(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_CmdKeyClearAll, <>). -%% @spec (This::wxStyledTextCtrl(), Length::integer()) -> integer() %% @doc See external documentation. +-spec setStyleBytes(This, Length) -> integer() when + This::wxStyledTextCtrl(), Length::integer(). setStyleBytes(#wx_ref{type=ThisT,ref=ThisRef},Length) when is_integer(Length) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_SetStyleBytes, <>). -%% @spec (This::wxStyledTextCtrl(), Style::integer(), Visible::bool()) -> ok %% @doc See external documentation. +-spec styleSetVisible(This, Style, Visible) -> ok when + This::wxStyledTextCtrl(), Style::integer(), Visible::boolean(). styleSetVisible(#wx_ref{type=ThisT,ref=ThisRef},Style,Visible) when is_integer(Style),is_boolean(Visible) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_StyleSetVisible, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec getCaretPeriod(This) -> integer() when + This::wxStyledTextCtrl(). getCaretPeriod(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetCaretPeriod, <>). -%% @spec (This::wxStyledTextCtrl(), PeriodMilliseconds::integer()) -> ok %% @doc See external documentation. +-spec setCaretPeriod(This, PeriodMilliseconds) -> ok when + This::wxStyledTextCtrl(), PeriodMilliseconds::integer(). setCaretPeriod(#wx_ref{type=ThisT,ref=ThisRef},PeriodMilliseconds) when is_integer(PeriodMilliseconds) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetCaretPeriod, <>). -%% @spec (This::wxStyledTextCtrl(), Characters::string()) -> ok %% @doc See external documentation. +-spec setWordChars(This, Characters) -> ok when + This::wxStyledTextCtrl(), Characters::string(). setWordChars(#wx_ref{type=ThisT,ref=ThisRef},Characters) when is_list(Characters) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -885,130 +986,147 @@ setWordChars(#wx_ref{type=ThisT,ref=ThisRef},Characters) wxe_util:cast(?wxStyledTextCtrl_SetWordChars, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec beginUndoAction(This) -> ok when + This::wxStyledTextCtrl(). beginUndoAction(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_BeginUndoAction, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec endUndoAction(This) -> ok when + This::wxStyledTextCtrl(). endUndoAction(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_EndUndoAction, <>). -%% @spec (This::wxStyledTextCtrl(), Indic::integer(), Style::integer()) -> ok %% @doc See external documentation. +-spec indicatorSetStyle(This, Indic, Style) -> ok when + This::wxStyledTextCtrl(), Indic::integer(), Style::integer(). indicatorSetStyle(#wx_ref{type=ThisT,ref=ThisRef},Indic,Style) when is_integer(Indic),is_integer(Style) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_IndicatorSetStyle, <>). -%% @spec (This::wxStyledTextCtrl(), Indic::integer()) -> integer() %% @doc See external documentation. +-spec indicatorGetStyle(This, Indic) -> integer() when + This::wxStyledTextCtrl(), Indic::integer(). indicatorGetStyle(#wx_ref{type=ThisT,ref=ThisRef},Indic) when is_integer(Indic) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_IndicatorGetStyle, <>). -%% @spec (This::wxStyledTextCtrl(), Indic::integer(), Fore::wx:colour()) -> ok %% @doc See external documentation. +-spec indicatorSetForeground(This, Indic, Fore) -> ok when + This::wxStyledTextCtrl(), Indic::integer(), Fore::wx:wx_colour(). indicatorSetForeground(#wx_ref{type=ThisT,ref=ThisRef},Indic,Fore) when is_integer(Indic),tuple_size(Fore) =:= 3; tuple_size(Fore) =:= 4 -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_IndicatorSetForeground, <>). -%% @spec (This::wxStyledTextCtrl(), Indic::integer()) -> wx:colour() %% @doc See external documentation. +-spec indicatorGetForeground(This, Indic) -> wx:wx_colour() when + This::wxStyledTextCtrl(), Indic::integer(). indicatorGetForeground(#wx_ref{type=ThisT,ref=ThisRef},Indic) when is_integer(Indic) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_IndicatorGetForeground, <>). -%% @spec (This::wxStyledTextCtrl(), UseSetting::bool(), Fore::wx:colour()) -> ok %% @doc See external documentation. +-spec setWhitespaceForeground(This, UseSetting, Fore) -> ok when + This::wxStyledTextCtrl(), UseSetting::boolean(), Fore::wx:wx_colour(). setWhitespaceForeground(#wx_ref{type=ThisT,ref=ThisRef},UseSetting,Fore) when is_boolean(UseSetting),tuple_size(Fore) =:= 3; tuple_size(Fore) =:= 4 -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetWhitespaceForeground, <>). -%% @spec (This::wxStyledTextCtrl(), UseSetting::bool(), Back::wx:colour()) -> ok %% @doc See external documentation. +-spec setWhitespaceBackground(This, UseSetting, Back) -> ok when + This::wxStyledTextCtrl(), UseSetting::boolean(), Back::wx:wx_colour(). setWhitespaceBackground(#wx_ref{type=ThisT,ref=ThisRef},UseSetting,Back) when is_boolean(UseSetting),tuple_size(Back) =:= 3; tuple_size(Back) =:= 4 -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetWhitespaceBackground, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec getStyleBits(This) -> integer() when + This::wxStyledTextCtrl(). getStyleBits(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetStyleBits, <>). -%% @spec (This::wxStyledTextCtrl(), Line::integer(), State::integer()) -> ok %% @doc See external documentation. +-spec setLineState(This, Line, State) -> ok when + This::wxStyledTextCtrl(), Line::integer(), State::integer(). setLineState(#wx_ref{type=ThisT,ref=ThisRef},Line,State) when is_integer(Line),is_integer(State) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetLineState, <>). -%% @spec (This::wxStyledTextCtrl(), Line::integer()) -> integer() %% @doc See external documentation. +-spec getLineState(This, Line) -> integer() when + This::wxStyledTextCtrl(), Line::integer(). getLineState(#wx_ref{type=ThisT,ref=ThisRef},Line) when is_integer(Line) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetLineState, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec getMaxLineState(This) -> integer() when + This::wxStyledTextCtrl(). getMaxLineState(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetMaxLineState, <>). -%% @spec (This::wxStyledTextCtrl()) -> bool() %% @doc See external documentation. +-spec getCaretLineVisible(This) -> boolean() when + This::wxStyledTextCtrl(). getCaretLineVisible(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetCaretLineVisible, <>). -%% @spec (This::wxStyledTextCtrl(), Show::bool()) -> ok %% @doc See external documentation. +-spec setCaretLineVisible(This, Show) -> ok when + This::wxStyledTextCtrl(), Show::boolean(). setCaretLineVisible(#wx_ref{type=ThisT,ref=ThisRef},Show) when is_boolean(Show) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetCaretLineVisible, <>). -%% @spec (This::wxStyledTextCtrl()) -> wx:colour() %% @doc See external documentation. +-spec getCaretLineBackground(This) -> wx:wx_colour() when + This::wxStyledTextCtrl(). getCaretLineBackground(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetCaretLineBackground, <>). -%% @spec (This::wxStyledTextCtrl(), Back::wx:colour()) -> ok %% @doc See external documentation. +-spec setCaretLineBackground(This, Back) -> ok when + This::wxStyledTextCtrl(), Back::wx:wx_colour(). setCaretLineBackground(#wx_ref{type=ThisT,ref=ThisRef},Back) when tuple_size(Back) =:= 3; tuple_size(Back) =:= 4 -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetCaretLineBackground, <>). -%% @spec (This::wxStyledTextCtrl(), LenEntered::integer(), ItemList::string()) -> ok %% @doc See external documentation. +-spec autoCompShow(This, LenEntered, ItemList) -> ok when + This::wxStyledTextCtrl(), LenEntered::integer(), ItemList::string(). autoCompShow(#wx_ref{type=ThisT,ref=ThisRef},LenEntered,ItemList) when is_integer(LenEntered),is_list(ItemList) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -1016,36 +1134,41 @@ autoCompShow(#wx_ref{type=ThisT,ref=ThisRef},LenEntered,ItemList) wxe_util:cast(?wxStyledTextCtrl_AutoCompShow, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec autoCompCancel(This) -> ok when + This::wxStyledTextCtrl(). autoCompCancel(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_AutoCompCancel, <>). -%% @spec (This::wxStyledTextCtrl()) -> bool() %% @doc See external documentation. +-spec autoCompActive(This) -> boolean() when + This::wxStyledTextCtrl(). autoCompActive(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_AutoCompActive, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec autoCompPosStart(This) -> integer() when + This::wxStyledTextCtrl(). autoCompPosStart(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_AutoCompPosStart, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec autoCompComplete(This) -> ok when + This::wxStyledTextCtrl(). autoCompComplete(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_AutoCompComplete, <>). -%% @spec (This::wxStyledTextCtrl(), CharacterSet::string()) -> ok %% @doc See external documentation. +-spec autoCompStops(This, CharacterSet) -> ok when + This::wxStyledTextCtrl(), CharacterSet::string(). autoCompStops(#wx_ref{type=ThisT,ref=ThisRef},CharacterSet) when is_list(CharacterSet) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -1053,23 +1176,26 @@ autoCompStops(#wx_ref{type=ThisT,ref=ThisRef},CharacterSet) wxe_util:cast(?wxStyledTextCtrl_AutoCompStops, <>). -%% @spec (This::wxStyledTextCtrl(), SeparatorCharacter::integer()) -> ok %% @doc See external documentation. +-spec autoCompSetSeparator(This, SeparatorCharacter) -> ok when + This::wxStyledTextCtrl(), SeparatorCharacter::integer(). autoCompSetSeparator(#wx_ref{type=ThisT,ref=ThisRef},SeparatorCharacter) when is_integer(SeparatorCharacter) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_AutoCompSetSeparator, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec autoCompGetSeparator(This) -> integer() when + This::wxStyledTextCtrl(). autoCompGetSeparator(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_AutoCompGetSeparator, <>). -%% @spec (This::wxStyledTextCtrl(), Text::string()) -> ok %% @doc See external documentation. +-spec autoCompSelect(This, Text) -> ok when + This::wxStyledTextCtrl(), Text::string(). autoCompSelect(#wx_ref{type=ThisT,ref=ThisRef},Text) when is_list(Text) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -1077,23 +1203,26 @@ autoCompSelect(#wx_ref{type=ThisT,ref=ThisRef},Text) wxe_util:cast(?wxStyledTextCtrl_AutoCompSelect, <>). -%% @spec (This::wxStyledTextCtrl(), Cancel::bool()) -> ok %% @doc See external documentation. +-spec autoCompSetCancelAtStart(This, Cancel) -> ok when + This::wxStyledTextCtrl(), Cancel::boolean(). autoCompSetCancelAtStart(#wx_ref{type=ThisT,ref=ThisRef},Cancel) when is_boolean(Cancel) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_AutoCompSetCancelAtStart, <>). -%% @spec (This::wxStyledTextCtrl()) -> bool() %% @doc See external documentation. +-spec autoCompGetCancelAtStart(This) -> boolean() when + This::wxStyledTextCtrl(). autoCompGetCancelAtStart(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_AutoCompGetCancelAtStart, <>). -%% @spec (This::wxStyledTextCtrl(), CharacterSet::string()) -> ok %% @doc See external documentation. +-spec autoCompSetFillUps(This, CharacterSet) -> ok when + This::wxStyledTextCtrl(), CharacterSet::string(). autoCompSetFillUps(#wx_ref{type=ThisT,ref=ThisRef},CharacterSet) when is_list(CharacterSet) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -1101,38 +1230,43 @@ autoCompSetFillUps(#wx_ref{type=ThisT,ref=ThisRef},CharacterSet) wxe_util:cast(?wxStyledTextCtrl_AutoCompSetFillUps, <>). -%% @spec (This::wxStyledTextCtrl(), ChooseSingle::bool()) -> ok %% @doc See external documentation. +-spec autoCompSetChooseSingle(This, ChooseSingle) -> ok when + This::wxStyledTextCtrl(), ChooseSingle::boolean(). autoCompSetChooseSingle(#wx_ref{type=ThisT,ref=ThisRef},ChooseSingle) when is_boolean(ChooseSingle) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_AutoCompSetChooseSingle, <>). -%% @spec (This::wxStyledTextCtrl()) -> bool() %% @doc See external documentation. +-spec autoCompGetChooseSingle(This) -> boolean() when + This::wxStyledTextCtrl(). autoCompGetChooseSingle(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_AutoCompGetChooseSingle, <>). -%% @spec (This::wxStyledTextCtrl(), IgnoreCase::bool()) -> ok %% @doc See external documentation. +-spec autoCompSetIgnoreCase(This, IgnoreCase) -> ok when + This::wxStyledTextCtrl(), IgnoreCase::boolean(). autoCompSetIgnoreCase(#wx_ref{type=ThisT,ref=ThisRef},IgnoreCase) when is_boolean(IgnoreCase) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_AutoCompSetIgnoreCase, <>). -%% @spec (This::wxStyledTextCtrl()) -> bool() %% @doc See external documentation. +-spec autoCompGetIgnoreCase(This) -> boolean() when + This::wxStyledTextCtrl(). autoCompGetIgnoreCase(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_AutoCompGetIgnoreCase, <>). -%% @spec (This::wxStyledTextCtrl(), ListType::integer(), ItemList::string()) -> ok %% @doc See external documentation. +-spec userListShow(This, ListType, ItemList) -> ok when + This::wxStyledTextCtrl(), ListType::integer(), ItemList::string(). userListShow(#wx_ref{type=ThisT,ref=ThisRef},ListType,ItemList) when is_integer(ListType),is_list(ItemList) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -1140,38 +1274,43 @@ userListShow(#wx_ref{type=ThisT,ref=ThisRef},ListType,ItemList) wxe_util:cast(?wxStyledTextCtrl_UserListShow, <>). -%% @spec (This::wxStyledTextCtrl(), AutoHide::bool()) -> ok %% @doc See external documentation. +-spec autoCompSetAutoHide(This, AutoHide) -> ok when + This::wxStyledTextCtrl(), AutoHide::boolean(). autoCompSetAutoHide(#wx_ref{type=ThisT,ref=ThisRef},AutoHide) when is_boolean(AutoHide) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_AutoCompSetAutoHide, <>). -%% @spec (This::wxStyledTextCtrl()) -> bool() %% @doc See external documentation. +-spec autoCompGetAutoHide(This) -> boolean() when + This::wxStyledTextCtrl(). autoCompGetAutoHide(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_AutoCompGetAutoHide, <>). -%% @spec (This::wxStyledTextCtrl(), DropRestOfWord::bool()) -> ok %% @doc See external documentation. +-spec autoCompSetDropRestOfWord(This, DropRestOfWord) -> ok when + This::wxStyledTextCtrl(), DropRestOfWord::boolean(). autoCompSetDropRestOfWord(#wx_ref{type=ThisT,ref=ThisRef},DropRestOfWord) when is_boolean(DropRestOfWord) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_AutoCompSetDropRestOfWord, <>). -%% @spec (This::wxStyledTextCtrl()) -> bool() %% @doc See external documentation. +-spec autoCompGetDropRestOfWord(This) -> boolean() when + This::wxStyledTextCtrl(). autoCompGetDropRestOfWord(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_AutoCompGetDropRestOfWord, <>). -%% @spec (This::wxStyledTextCtrl(), Type::integer(), Bmp::wxBitmap:wxBitmap()) -> ok %% @doc See external documentation. +-spec registerImage(This, Type, Bmp) -> ok when + This::wxStyledTextCtrl(), Type::integer(), Bmp::wxBitmap:wxBitmap(). registerImage(#wx_ref{type=ThisT,ref=ThisRef},Type,#wx_ref{type=BmpT,ref=BmpRef}) when is_integer(Type) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -1179,271 +1318,308 @@ registerImage(#wx_ref{type=ThisT,ref=ThisRef},Type,#wx_ref{type=BmpT,ref=BmpRef} wxe_util:cast(?wxStyledTextCtrl_RegisterImage, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec clearRegisteredImages(This) -> ok when + This::wxStyledTextCtrl(). clearRegisteredImages(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_ClearRegisteredImages, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec autoCompGetTypeSeparator(This) -> integer() when + This::wxStyledTextCtrl(). autoCompGetTypeSeparator(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_AutoCompGetTypeSeparator, <>). -%% @spec (This::wxStyledTextCtrl(), SeparatorCharacter::integer()) -> ok %% @doc See external documentation. +-spec autoCompSetTypeSeparator(This, SeparatorCharacter) -> ok when + This::wxStyledTextCtrl(), SeparatorCharacter::integer(). autoCompSetTypeSeparator(#wx_ref{type=ThisT,ref=ThisRef},SeparatorCharacter) when is_integer(SeparatorCharacter) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_AutoCompSetTypeSeparator, <>). -%% @spec (This::wxStyledTextCtrl(), CharacterCount::integer()) -> ok %% @doc See external documentation. +-spec autoCompSetMaxWidth(This, CharacterCount) -> ok when + This::wxStyledTextCtrl(), CharacterCount::integer(). autoCompSetMaxWidth(#wx_ref{type=ThisT,ref=ThisRef},CharacterCount) when is_integer(CharacterCount) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_AutoCompSetMaxWidth, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec autoCompGetMaxWidth(This) -> integer() when + This::wxStyledTextCtrl(). autoCompGetMaxWidth(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_AutoCompGetMaxWidth, <>). -%% @spec (This::wxStyledTextCtrl(), RowCount::integer()) -> ok %% @doc See external documentation. +-spec autoCompSetMaxHeight(This, RowCount) -> ok when + This::wxStyledTextCtrl(), RowCount::integer(). autoCompSetMaxHeight(#wx_ref{type=ThisT,ref=ThisRef},RowCount) when is_integer(RowCount) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_AutoCompSetMaxHeight, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec autoCompGetMaxHeight(This) -> integer() when + This::wxStyledTextCtrl(). autoCompGetMaxHeight(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_AutoCompGetMaxHeight, <>). -%% @spec (This::wxStyledTextCtrl(), IndentSize::integer()) -> ok %% @doc See external documentation. +-spec setIndent(This, IndentSize) -> ok when + This::wxStyledTextCtrl(), IndentSize::integer(). setIndent(#wx_ref{type=ThisT,ref=ThisRef},IndentSize) when is_integer(IndentSize) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetIndent, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec getIndent(This) -> integer() when + This::wxStyledTextCtrl(). getIndent(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetIndent, <>). -%% @spec (This::wxStyledTextCtrl(), UseTabs::bool()) -> ok %% @doc See external documentation. +-spec setUseTabs(This, UseTabs) -> ok when + This::wxStyledTextCtrl(), UseTabs::boolean(). setUseTabs(#wx_ref{type=ThisT,ref=ThisRef},UseTabs) when is_boolean(UseTabs) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetUseTabs, <>). -%% @spec (This::wxStyledTextCtrl()) -> bool() %% @doc See external documentation. +-spec getUseTabs(This) -> boolean() when + This::wxStyledTextCtrl(). getUseTabs(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetUseTabs, <>). -%% @spec (This::wxStyledTextCtrl(), Line::integer(), IndentSize::integer()) -> ok %% @doc See external documentation. +-spec setLineIndentation(This, Line, IndentSize) -> ok when + This::wxStyledTextCtrl(), Line::integer(), IndentSize::integer(). setLineIndentation(#wx_ref{type=ThisT,ref=ThisRef},Line,IndentSize) when is_integer(Line),is_integer(IndentSize) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetLineIndentation, <>). -%% @spec (This::wxStyledTextCtrl(), Line::integer()) -> integer() %% @doc See external documentation. +-spec getLineIndentation(This, Line) -> integer() when + This::wxStyledTextCtrl(), Line::integer(). getLineIndentation(#wx_ref{type=ThisT,ref=ThisRef},Line) when is_integer(Line) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetLineIndentation, <>). -%% @spec (This::wxStyledTextCtrl(), Line::integer()) -> integer() %% @doc See external documentation. +-spec getLineIndentPosition(This, Line) -> integer() when + This::wxStyledTextCtrl(), Line::integer(). getLineIndentPosition(#wx_ref{type=ThisT,ref=ThisRef},Line) when is_integer(Line) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetLineIndentPosition, <>). -%% @spec (This::wxStyledTextCtrl(), Pos::integer()) -> integer() %% @doc See external documentation. +-spec getColumn(This, Pos) -> integer() when + This::wxStyledTextCtrl(), Pos::integer(). getColumn(#wx_ref{type=ThisT,ref=ThisRef},Pos) when is_integer(Pos) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetColumn, <>). -%% @spec (This::wxStyledTextCtrl(), Show::bool()) -> ok %% @doc See external documentation. +-spec setUseHorizontalScrollBar(This, Show) -> ok when + This::wxStyledTextCtrl(), Show::boolean(). setUseHorizontalScrollBar(#wx_ref{type=ThisT,ref=ThisRef},Show) when is_boolean(Show) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetUseHorizontalScrollBar, <>). -%% @spec (This::wxStyledTextCtrl()) -> bool() %% @doc See external documentation. +-spec getUseHorizontalScrollBar(This) -> boolean() when + This::wxStyledTextCtrl(). getUseHorizontalScrollBar(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetUseHorizontalScrollBar, <>). -%% @spec (This::wxStyledTextCtrl(), Show::bool()) -> ok %% @doc See external documentation. +-spec setIndentationGuides(This, Show) -> ok when + This::wxStyledTextCtrl(), Show::boolean(). setIndentationGuides(#wx_ref{type=ThisT,ref=ThisRef},Show) when is_boolean(Show) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetIndentationGuides, <>). -%% @spec (This::wxStyledTextCtrl()) -> bool() %% @doc See external documentation. +-spec getIndentationGuides(This) -> boolean() when + This::wxStyledTextCtrl(). getIndentationGuides(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetIndentationGuides, <>). -%% @spec (This::wxStyledTextCtrl(), Column::integer()) -> ok %% @doc See external documentation. +-spec setHighlightGuide(This, Column) -> ok when + This::wxStyledTextCtrl(), Column::integer(). setHighlightGuide(#wx_ref{type=ThisT,ref=ThisRef},Column) when is_integer(Column) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetHighlightGuide, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec getHighlightGuide(This) -> integer() when + This::wxStyledTextCtrl(). getHighlightGuide(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetHighlightGuide, <>). -%% @spec (This::wxStyledTextCtrl(), Line::integer()) -> integer() %% @doc See external documentation. +-spec getLineEndPosition(This, Line) -> integer() when + This::wxStyledTextCtrl(), Line::integer(). getLineEndPosition(#wx_ref{type=ThisT,ref=ThisRef},Line) when is_integer(Line) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetLineEndPosition, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec getCodePage(This) -> integer() when + This::wxStyledTextCtrl(). getCodePage(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetCodePage, <>). -%% @spec (This::wxStyledTextCtrl()) -> wx:colour() %% @doc See external documentation. +-spec getCaretForeground(This) -> wx:wx_colour() when + This::wxStyledTextCtrl(). getCaretForeground(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetCaretForeground, <>). -%% @spec (This::wxStyledTextCtrl()) -> bool() %% @doc See external documentation. +-spec getReadOnly(This) -> boolean() when + This::wxStyledTextCtrl(). getReadOnly(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetReadOnly, <>). -%% @spec (This::wxStyledTextCtrl(), Pos::integer()) -> ok %% @doc See external documentation. +-spec setCurrentPos(This, Pos) -> ok when + This::wxStyledTextCtrl(), Pos::integer(). setCurrentPos(#wx_ref{type=ThisT,ref=ThisRef},Pos) when is_integer(Pos) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetCurrentPos, <>). -%% @spec (This::wxStyledTextCtrl(), Pos::integer()) -> ok %% @doc See external documentation. +-spec setSelectionStart(This, Pos) -> ok when + This::wxStyledTextCtrl(), Pos::integer(). setSelectionStart(#wx_ref{type=ThisT,ref=ThisRef},Pos) when is_integer(Pos) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetSelectionStart, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec getSelectionStart(This) -> integer() when + This::wxStyledTextCtrl(). getSelectionStart(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetSelectionStart, <>). -%% @spec (This::wxStyledTextCtrl(), Pos::integer()) -> ok %% @doc See external documentation. +-spec setSelectionEnd(This, Pos) -> ok when + This::wxStyledTextCtrl(), Pos::integer(). setSelectionEnd(#wx_ref{type=ThisT,ref=ThisRef},Pos) when is_integer(Pos) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetSelectionEnd, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec getSelectionEnd(This) -> integer() when + This::wxStyledTextCtrl(). getSelectionEnd(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetSelectionEnd, <>). -%% @spec (This::wxStyledTextCtrl(), Magnification::integer()) -> ok %% @doc See external documentation. +-spec setPrintMagnification(This, Magnification) -> ok when + This::wxStyledTextCtrl(), Magnification::integer(). setPrintMagnification(#wx_ref{type=ThisT,ref=ThisRef},Magnification) when is_integer(Magnification) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetPrintMagnification, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec getPrintMagnification(This) -> integer() when + This::wxStyledTextCtrl(). getPrintMagnification(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetPrintMagnification, <>). -%% @spec (This::wxStyledTextCtrl(), Mode::integer()) -> ok %% @doc See external documentation. +-spec setPrintColourMode(This, Mode) -> ok when + This::wxStyledTextCtrl(), Mode::integer(). setPrintColourMode(#wx_ref{type=ThisT,ref=ThisRef},Mode) when is_integer(Mode) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetPrintColourMode, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec getPrintColourMode(This) -> integer() when + This::wxStyledTextCtrl(). getPrintColourMode(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetPrintColourMode, <>). -%% @spec (This::wxStyledTextCtrl(), MinPos::integer(), MaxPos::integer(), Text::string()) -> integer() %% @equiv findText(This,MinPos,MaxPos,Text, []) +-spec findText(This, MinPos, MaxPos, Text) -> integer() when + This::wxStyledTextCtrl(), MinPos::integer(), MaxPos::integer(), Text::string(). + findText(This,MinPos,MaxPos,Text) when is_record(This, wx_ref),is_integer(MinPos),is_integer(MaxPos),is_list(Text) -> findText(This,MinPos,MaxPos,Text, []). -%% @spec (This::wxStyledTextCtrl(), MinPos::integer(), MaxPos::integer(), Text::string(), [Option]) -> integer() -%% Option = {flags, integer()} %% @doc See external documentation. +-spec findText(This, MinPos, MaxPos, Text, [Option]) -> integer() when + This::wxStyledTextCtrl(), MinPos::integer(), MaxPos::integer(), Text::string(), + Option :: {flags, integer()}. findText(#wx_ref{type=ThisT,ref=ThisRef},MinPos,MaxPos,Text, Options) when is_integer(MinPos),is_integer(MaxPos),is_list(Text),is_list(Options) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -1454,8 +1630,9 @@ findText(#wx_ref{type=ThisT,ref=ThisRef},MinPos,MaxPos,Text, Options) wxe_util:call(?wxStyledTextCtrl_FindText, <>). -%% @spec (This::wxStyledTextCtrl(), DoDraw::bool(), StartPos::integer(), EndPos::integer(), Draw::wxDC:wxDC(), Target::wxDC:wxDC(), RenderRect::{X::integer(), Y::integer(), W::integer(), H::integer()}, PageRect::{X::integer(), Y::integer(), W::integer(), H::integer()}) -> integer() %% @doc See external documentation. +-spec formatRange(This, DoDraw, StartPos, EndPos, Draw, Target, RenderRect, PageRect) -> integer() when + This::wxStyledTextCtrl(), DoDraw::boolean(), StartPos::integer(), EndPos::integer(), Draw::wxDC:wxDC(), Target::wxDC:wxDC(), RenderRect::{X::integer(), Y::integer(), W::integer(), H::integer()}, PageRect::{X::integer(), Y::integer(), W::integer(), H::integer()}. formatRange(#wx_ref{type=ThisT,ref=ThisRef},DoDraw,StartPos,EndPos,#wx_ref{type=DrawT,ref=DrawRef},#wx_ref{type=TargetT,ref=TargetRef},{RenderRectX,RenderRectY,RenderRectW,RenderRectH},{PageRectX,PageRectY,PageRectW,PageRectH}) when is_boolean(DoDraw),is_integer(StartPos),is_integer(EndPos),is_integer(RenderRectX),is_integer(RenderRectY),is_integer(RenderRectW),is_integer(RenderRectH),is_integer(PageRectX),is_integer(PageRectY),is_integer(PageRectW),is_integer(PageRectH) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -1464,129 +1641,146 @@ formatRange(#wx_ref{type=ThisT,ref=ThisRef},DoDraw,StartPos,EndPos,#wx_ref{type= wxe_util:call(?wxStyledTextCtrl_FormatRange, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec getFirstVisibleLine(This) -> integer() when + This::wxStyledTextCtrl(). getFirstVisibleLine(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetFirstVisibleLine, <>). -%% @spec (This::wxStyledTextCtrl(), Line::integer()) -> string() %% @doc See external documentation. +-spec getLine(This, Line) -> string() when + This::wxStyledTextCtrl(), Line::integer(). getLine(#wx_ref{type=ThisT,ref=ThisRef},Line) when is_integer(Line) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetLine, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec getLineCount(This) -> integer() when + This::wxStyledTextCtrl(). getLineCount(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetLineCount, <>). -%% @spec (This::wxStyledTextCtrl(), PixelWidth::integer()) -> ok %% @doc See external documentation. +-spec setMarginLeft(This, PixelWidth) -> ok when + This::wxStyledTextCtrl(), PixelWidth::integer(). setMarginLeft(#wx_ref{type=ThisT,ref=ThisRef},PixelWidth) when is_integer(PixelWidth) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetMarginLeft, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec getMarginLeft(This) -> integer() when + This::wxStyledTextCtrl(). getMarginLeft(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetMarginLeft, <>). -%% @spec (This::wxStyledTextCtrl(), PixelWidth::integer()) -> ok %% @doc See external documentation. +-spec setMarginRight(This, PixelWidth) -> ok when + This::wxStyledTextCtrl(), PixelWidth::integer(). setMarginRight(#wx_ref{type=ThisT,ref=ThisRef},PixelWidth) when is_integer(PixelWidth) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetMarginRight, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec getMarginRight(This) -> integer() when + This::wxStyledTextCtrl(). getMarginRight(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetMarginRight, <>). -%% @spec (This::wxStyledTextCtrl()) -> bool() %% @doc See external documentation. +-spec getModify(This) -> boolean() when + This::wxStyledTextCtrl(). getModify(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetModify, <>). -%% @spec (This::wxStyledTextCtrl(), Start::integer(), End::integer()) -> ok %% @doc See external documentation. +-spec setSelection(This, Start, End) -> ok when + This::wxStyledTextCtrl(), Start::integer(), End::integer(). setSelection(#wx_ref{type=ThisT,ref=ThisRef},Start,End) when is_integer(Start),is_integer(End) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetSelection, <>). -%% @spec (This::wxStyledTextCtrl()) -> string() %% @doc See external documentation. +-spec getSelectedText(This) -> string() when + This::wxStyledTextCtrl(). getSelectedText(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetSelectedText, <>). -%% @spec (This::wxStyledTextCtrl(), StartPos::integer(), EndPos::integer()) -> string() %% @doc See external documentation. +-spec getTextRange(This, StartPos, EndPos) -> string() when + This::wxStyledTextCtrl(), StartPos::integer(), EndPos::integer(). getTextRange(#wx_ref{type=ThisT,ref=ThisRef},StartPos,EndPos) when is_integer(StartPos),is_integer(EndPos) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetTextRange, <>). -%% @spec (This::wxStyledTextCtrl(), Normal::bool()) -> ok %% @doc See external documentation. +-spec hideSelection(This, Normal) -> ok when + This::wxStyledTextCtrl(), Normal::boolean(). hideSelection(#wx_ref{type=ThisT,ref=ThisRef},Normal) when is_boolean(Normal) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_HideSelection, <>). -%% @spec (This::wxStyledTextCtrl(), Pos::integer()) -> integer() %% @doc See external documentation. +-spec lineFromPosition(This, Pos) -> integer() when + This::wxStyledTextCtrl(), Pos::integer(). lineFromPosition(#wx_ref{type=ThisT,ref=ThisRef},Pos) when is_integer(Pos) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_LineFromPosition, <>). -%% @spec (This::wxStyledTextCtrl(), Line::integer()) -> integer() %% @doc See external documentation. +-spec positionFromLine(This, Line) -> integer() when + This::wxStyledTextCtrl(), Line::integer(). positionFromLine(#wx_ref{type=ThisT,ref=ThisRef},Line) when is_integer(Line) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_PositionFromLine, <>). -%% @spec (This::wxStyledTextCtrl(), Columns::integer(), Lines::integer()) -> ok %% @doc See external documentation. +-spec lineScroll(This, Columns, Lines) -> ok when + This::wxStyledTextCtrl(), Columns::integer(), Lines::integer(). lineScroll(#wx_ref{type=ThisT,ref=ThisRef},Columns,Lines) when is_integer(Columns),is_integer(Lines) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_LineScroll, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec ensureCaretVisible(This) -> ok when + This::wxStyledTextCtrl(). ensureCaretVisible(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_EnsureCaretVisible, <>). -%% @spec (This::wxStyledTextCtrl(), Text::string()) -> ok %% @doc See external documentation. +-spec replaceSelection(This, Text) -> ok when + This::wxStyledTextCtrl(), Text::string(). replaceSelection(#wx_ref{type=ThisT,ref=ThisRef},Text) when is_list(Text) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -1594,72 +1788,82 @@ replaceSelection(#wx_ref{type=ThisT,ref=ThisRef},Text) wxe_util:cast(?wxStyledTextCtrl_ReplaceSelection, <>). -%% @spec (This::wxStyledTextCtrl(), ReadOnly::bool()) -> ok %% @doc See external documentation. +-spec setReadOnly(This, ReadOnly) -> ok when + This::wxStyledTextCtrl(), ReadOnly::boolean(). setReadOnly(#wx_ref{type=ThisT,ref=ThisRef},ReadOnly) when is_boolean(ReadOnly) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetReadOnly, <>). -%% @spec (This::wxStyledTextCtrl()) -> bool() %% @doc See external documentation. +-spec canPaste(This) -> boolean() when + This::wxStyledTextCtrl(). canPaste(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_CanPaste, <>). -%% @spec (This::wxStyledTextCtrl()) -> bool() %% @doc See external documentation. +-spec canUndo(This) -> boolean() when + This::wxStyledTextCtrl(). canUndo(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_CanUndo, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec emptyUndoBuffer(This) -> ok when + This::wxStyledTextCtrl(). emptyUndoBuffer(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_EmptyUndoBuffer, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec undo(This) -> ok when + This::wxStyledTextCtrl(). undo(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_Undo, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec cut(This) -> ok when + This::wxStyledTextCtrl(). cut(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_Cut, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec copy(This) -> ok when + This::wxStyledTextCtrl(). copy(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_Copy, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec paste(This) -> ok when + This::wxStyledTextCtrl(). paste(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_Paste, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec clear(This) -> ok when + This::wxStyledTextCtrl(). clear(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_Clear, <>). -%% @spec (This::wxStyledTextCtrl(), Text::string()) -> ok %% @doc See external documentation. +-spec setText(This, Text) -> ok when + This::wxStyledTextCtrl(), Text::string(). setText(#wx_ref{type=ThisT,ref=ThisRef},Text) when is_list(Text) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -1667,74 +1871,84 @@ setText(#wx_ref{type=ThisT,ref=ThisRef},Text) wxe_util:cast(?wxStyledTextCtrl_SetText, <>). -%% @spec (This::wxStyledTextCtrl()) -> string() %% @doc See external documentation. +-spec getText(This) -> string() when + This::wxStyledTextCtrl(). getText(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetText, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec getTextLength(This) -> integer() when + This::wxStyledTextCtrl(). getTextLength(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetTextLength, <>). -%% @spec (This::wxStyledTextCtrl()) -> bool() %% @doc See external documentation. +-spec getOvertype(This) -> boolean() when + This::wxStyledTextCtrl(). getOvertype(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetOvertype, <>). -%% @spec (This::wxStyledTextCtrl(), PixelWidth::integer()) -> ok %% @doc See external documentation. +-spec setCaretWidth(This, PixelWidth) -> ok when + This::wxStyledTextCtrl(), PixelWidth::integer(). setCaretWidth(#wx_ref{type=ThisT,ref=ThisRef},PixelWidth) when is_integer(PixelWidth) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetCaretWidth, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec getCaretWidth(This) -> integer() when + This::wxStyledTextCtrl(). getCaretWidth(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetCaretWidth, <>). -%% @spec (This::wxStyledTextCtrl(), Pos::integer()) -> ok %% @doc See external documentation. +-spec setTargetStart(This, Pos) -> ok when + This::wxStyledTextCtrl(), Pos::integer(). setTargetStart(#wx_ref{type=ThisT,ref=ThisRef},Pos) when is_integer(Pos) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetTargetStart, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec getTargetStart(This) -> integer() when + This::wxStyledTextCtrl(). getTargetStart(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetTargetStart, <>). -%% @spec (This::wxStyledTextCtrl(), Pos::integer()) -> ok %% @doc See external documentation. +-spec setTargetEnd(This, Pos) -> ok when + This::wxStyledTextCtrl(), Pos::integer(). setTargetEnd(#wx_ref{type=ThisT,ref=ThisRef},Pos) when is_integer(Pos) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetTargetEnd, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec getTargetEnd(This) -> integer() when + This::wxStyledTextCtrl(). getTargetEnd(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetTargetEnd, <>). -%% @spec (This::wxStyledTextCtrl(), Text::string()) -> integer() %% @doc See external documentation. +-spec replaceTarget(This, Text) -> integer() when + This::wxStyledTextCtrl(), Text::string(). replaceTarget(#wx_ref{type=ThisT,ref=ThisRef},Text) when is_list(Text) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -1742,8 +1956,9 @@ replaceTarget(#wx_ref{type=ThisT,ref=ThisRef},Text) wxe_util:call(?wxStyledTextCtrl_ReplaceTarget, <>). -%% @spec (This::wxStyledTextCtrl(), Text::string()) -> integer() %% @doc See external documentation. +-spec searchInTarget(This, Text) -> integer() when + This::wxStyledTextCtrl(), Text::string(). searchInTarget(#wx_ref{type=ThisT,ref=ThisRef},Text) when is_list(Text) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -1751,23 +1966,26 @@ searchInTarget(#wx_ref{type=ThisT,ref=ThisRef},Text) wxe_util:call(?wxStyledTextCtrl_SearchInTarget, <>). -%% @spec (This::wxStyledTextCtrl(), Flags::integer()) -> ok %% @doc See external documentation. +-spec setSearchFlags(This, Flags) -> ok when + This::wxStyledTextCtrl(), Flags::integer(). setSearchFlags(#wx_ref{type=ThisT,ref=ThisRef},Flags) when is_integer(Flags) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetSearchFlags, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec getSearchFlags(This) -> integer() when + This::wxStyledTextCtrl(). getSearchFlags(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetSearchFlags, <>). -%% @spec (This::wxStyledTextCtrl(), Pos::integer(), Definition::string()) -> ok %% @doc See external documentation. +-spec callTipShow(This, Pos, Definition) -> ok when + This::wxStyledTextCtrl(), Pos::integer(), Definition::string(). callTipShow(#wx_ref{type=ThisT,ref=ThisRef},Pos,Definition) when is_integer(Pos),is_list(Definition) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -1775,348 +1993,393 @@ callTipShow(#wx_ref{type=ThisT,ref=ThisRef},Pos,Definition) wxe_util:cast(?wxStyledTextCtrl_CallTipShow, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec callTipCancel(This) -> ok when + This::wxStyledTextCtrl(). callTipCancel(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_CallTipCancel, <>). -%% @spec (This::wxStyledTextCtrl()) -> bool() %% @doc See external documentation. +-spec callTipActive(This) -> boolean() when + This::wxStyledTextCtrl(). callTipActive(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_CallTipActive, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec callTipPosAtStart(This) -> integer() when + This::wxStyledTextCtrl(). callTipPosAtStart(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_CallTipPosAtStart, <>). -%% @spec (This::wxStyledTextCtrl(), Start::integer(), End::integer()) -> ok %% @doc See external documentation. +-spec callTipSetHighlight(This, Start, End) -> ok when + This::wxStyledTextCtrl(), Start::integer(), End::integer(). callTipSetHighlight(#wx_ref{type=ThisT,ref=ThisRef},Start,End) when is_integer(Start),is_integer(End) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_CallTipSetHighlight, <>). -%% @spec (This::wxStyledTextCtrl(), Back::wx:colour()) -> ok %% @doc See external documentation. +-spec callTipSetBackground(This, Back) -> ok when + This::wxStyledTextCtrl(), Back::wx:wx_colour(). callTipSetBackground(#wx_ref{type=ThisT,ref=ThisRef},Back) when tuple_size(Back) =:= 3; tuple_size(Back) =:= 4 -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_CallTipSetBackground, <>). -%% @spec (This::wxStyledTextCtrl(), Fore::wx:colour()) -> ok %% @doc See external documentation. +-spec callTipSetForeground(This, Fore) -> ok when + This::wxStyledTextCtrl(), Fore::wx:wx_colour(). callTipSetForeground(#wx_ref{type=ThisT,ref=ThisRef},Fore) when tuple_size(Fore) =:= 3; tuple_size(Fore) =:= 4 -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_CallTipSetForeground, <>). -%% @spec (This::wxStyledTextCtrl(), Fore::wx:colour()) -> ok %% @doc See external documentation. +-spec callTipSetForegroundHighlight(This, Fore) -> ok when + This::wxStyledTextCtrl(), Fore::wx:wx_colour(). callTipSetForegroundHighlight(#wx_ref{type=ThisT,ref=ThisRef},Fore) when tuple_size(Fore) =:= 3; tuple_size(Fore) =:= 4 -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_CallTipSetForegroundHighlight, <>). -%% @spec (This::wxStyledTextCtrl(), TabSize::integer()) -> ok %% @doc See external documentation. +-spec callTipUseStyle(This, TabSize) -> ok when + This::wxStyledTextCtrl(), TabSize::integer(). callTipUseStyle(#wx_ref{type=ThisT,ref=ThisRef},TabSize) when is_integer(TabSize) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_CallTipUseStyle, <>). -%% @spec (This::wxStyledTextCtrl(), Line::integer()) -> integer() %% @doc See external documentation. +-spec visibleFromDocLine(This, Line) -> integer() when + This::wxStyledTextCtrl(), Line::integer(). visibleFromDocLine(#wx_ref{type=ThisT,ref=ThisRef},Line) when is_integer(Line) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_VisibleFromDocLine, <>). -%% @spec (This::wxStyledTextCtrl(), LineDisplay::integer()) -> integer() %% @doc See external documentation. +-spec docLineFromVisible(This, LineDisplay) -> integer() when + This::wxStyledTextCtrl(), LineDisplay::integer(). docLineFromVisible(#wx_ref{type=ThisT,ref=ThisRef},LineDisplay) when is_integer(LineDisplay) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_DocLineFromVisible, <>). -%% @spec (This::wxStyledTextCtrl(), Line::integer()) -> integer() %% @doc See external documentation. +-spec wrapCount(This, Line) -> integer() when + This::wxStyledTextCtrl(), Line::integer(). wrapCount(#wx_ref{type=ThisT,ref=ThisRef},Line) when is_integer(Line) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_WrapCount, <>). -%% @spec (This::wxStyledTextCtrl(), Line::integer(), Level::integer()) -> ok %% @doc See external documentation. +-spec setFoldLevel(This, Line, Level) -> ok when + This::wxStyledTextCtrl(), Line::integer(), Level::integer(). setFoldLevel(#wx_ref{type=ThisT,ref=ThisRef},Line,Level) when is_integer(Line),is_integer(Level) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetFoldLevel, <>). -%% @spec (This::wxStyledTextCtrl(), Line::integer()) -> integer() %% @doc See external documentation. +-spec getFoldLevel(This, Line) -> integer() when + This::wxStyledTextCtrl(), Line::integer(). getFoldLevel(#wx_ref{type=ThisT,ref=ThisRef},Line) when is_integer(Line) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetFoldLevel, <>). -%% @spec (This::wxStyledTextCtrl(), Line::integer(), Level::integer()) -> integer() %% @doc See external documentation. +-spec getLastChild(This, Line, Level) -> integer() when + This::wxStyledTextCtrl(), Line::integer(), Level::integer(). getLastChild(#wx_ref{type=ThisT,ref=ThisRef},Line,Level) when is_integer(Line),is_integer(Level) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetLastChild, <>). -%% @spec (This::wxStyledTextCtrl(), Line::integer()) -> integer() %% @doc See external documentation. +-spec getFoldParent(This, Line) -> integer() when + This::wxStyledTextCtrl(), Line::integer(). getFoldParent(#wx_ref{type=ThisT,ref=ThisRef},Line) when is_integer(Line) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetFoldParent, <>). -%% @spec (This::wxStyledTextCtrl(), LineStart::integer(), LineEnd::integer()) -> ok %% @doc See external documentation. +-spec showLines(This, LineStart, LineEnd) -> ok when + This::wxStyledTextCtrl(), LineStart::integer(), LineEnd::integer(). showLines(#wx_ref{type=ThisT,ref=ThisRef},LineStart,LineEnd) when is_integer(LineStart),is_integer(LineEnd) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_ShowLines, <>). -%% @spec (This::wxStyledTextCtrl(), LineStart::integer(), LineEnd::integer()) -> ok %% @doc See external documentation. +-spec hideLines(This, LineStart, LineEnd) -> ok when + This::wxStyledTextCtrl(), LineStart::integer(), LineEnd::integer(). hideLines(#wx_ref{type=ThisT,ref=ThisRef},LineStart,LineEnd) when is_integer(LineStart),is_integer(LineEnd) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_HideLines, <>). -%% @spec (This::wxStyledTextCtrl(), Line::integer()) -> bool() %% @doc See external documentation. +-spec getLineVisible(This, Line) -> boolean() when + This::wxStyledTextCtrl(), Line::integer(). getLineVisible(#wx_ref{type=ThisT,ref=ThisRef},Line) when is_integer(Line) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetLineVisible, <>). -%% @spec (This::wxStyledTextCtrl(), Line::integer(), Expanded::bool()) -> ok %% @doc See external documentation. +-spec setFoldExpanded(This, Line, Expanded) -> ok when + This::wxStyledTextCtrl(), Line::integer(), Expanded::boolean(). setFoldExpanded(#wx_ref{type=ThisT,ref=ThisRef},Line,Expanded) when is_integer(Line),is_boolean(Expanded) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetFoldExpanded, <>). -%% @spec (This::wxStyledTextCtrl(), Line::integer()) -> bool() %% @doc See external documentation. +-spec getFoldExpanded(This, Line) -> boolean() when + This::wxStyledTextCtrl(), Line::integer(). getFoldExpanded(#wx_ref{type=ThisT,ref=ThisRef},Line) when is_integer(Line) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetFoldExpanded, <>). -%% @spec (This::wxStyledTextCtrl(), Line::integer()) -> ok %% @doc See external documentation. +-spec toggleFold(This, Line) -> ok when + This::wxStyledTextCtrl(), Line::integer(). toggleFold(#wx_ref{type=ThisT,ref=ThisRef},Line) when is_integer(Line) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_ToggleFold, <>). -%% @spec (This::wxStyledTextCtrl(), Line::integer()) -> ok %% @doc See external documentation. +-spec ensureVisible(This, Line) -> ok when + This::wxStyledTextCtrl(), Line::integer(). ensureVisible(#wx_ref{type=ThisT,ref=ThisRef},Line) when is_integer(Line) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_EnsureVisible, <>). -%% @spec (This::wxStyledTextCtrl(), Flags::integer()) -> ok %% @doc See external documentation. +-spec setFoldFlags(This, Flags) -> ok when + This::wxStyledTextCtrl(), Flags::integer(). setFoldFlags(#wx_ref{type=ThisT,ref=ThisRef},Flags) when is_integer(Flags) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetFoldFlags, <>). -%% @spec (This::wxStyledTextCtrl(), Line::integer()) -> ok %% @doc See external documentation. +-spec ensureVisibleEnforcePolicy(This, Line) -> ok when + This::wxStyledTextCtrl(), Line::integer(). ensureVisibleEnforcePolicy(#wx_ref{type=ThisT,ref=ThisRef},Line) when is_integer(Line) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_EnsureVisibleEnforcePolicy, <>). -%% @spec (This::wxStyledTextCtrl(), TabIndents::bool()) -> ok %% @doc See external documentation. +-spec setTabIndents(This, TabIndents) -> ok when + This::wxStyledTextCtrl(), TabIndents::boolean(). setTabIndents(#wx_ref{type=ThisT,ref=ThisRef},TabIndents) when is_boolean(TabIndents) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetTabIndents, <>). -%% @spec (This::wxStyledTextCtrl()) -> bool() %% @doc See external documentation. +-spec getTabIndents(This) -> boolean() when + This::wxStyledTextCtrl(). getTabIndents(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetTabIndents, <>). -%% @spec (This::wxStyledTextCtrl(), BsUnIndents::bool()) -> ok %% @doc See external documentation. +-spec setBackSpaceUnIndents(This, BsUnIndents) -> ok when + This::wxStyledTextCtrl(), BsUnIndents::boolean(). setBackSpaceUnIndents(#wx_ref{type=ThisT,ref=ThisRef},BsUnIndents) when is_boolean(BsUnIndents) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetBackSpaceUnIndents, <>). -%% @spec (This::wxStyledTextCtrl()) -> bool() %% @doc See external documentation. +-spec getBackSpaceUnIndents(This) -> boolean() when + This::wxStyledTextCtrl(). getBackSpaceUnIndents(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetBackSpaceUnIndents, <>). -%% @spec (This::wxStyledTextCtrl(), PeriodMilliseconds::integer()) -> ok %% @doc See external documentation. +-spec setMouseDwellTime(This, PeriodMilliseconds) -> ok when + This::wxStyledTextCtrl(), PeriodMilliseconds::integer(). setMouseDwellTime(#wx_ref{type=ThisT,ref=ThisRef},PeriodMilliseconds) when is_integer(PeriodMilliseconds) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetMouseDwellTime, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec getMouseDwellTime(This) -> integer() when + This::wxStyledTextCtrl(). getMouseDwellTime(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetMouseDwellTime, <>). -%% @spec (This::wxStyledTextCtrl(), Pos::integer(), OnlyWordCharacters::bool()) -> integer() %% @doc See external documentation. +-spec wordStartPosition(This, Pos, OnlyWordCharacters) -> integer() when + This::wxStyledTextCtrl(), Pos::integer(), OnlyWordCharacters::boolean(). wordStartPosition(#wx_ref{type=ThisT,ref=ThisRef},Pos,OnlyWordCharacters) when is_integer(Pos),is_boolean(OnlyWordCharacters) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_WordStartPosition, <>). -%% @spec (This::wxStyledTextCtrl(), Pos::integer(), OnlyWordCharacters::bool()) -> integer() %% @doc See external documentation. +-spec wordEndPosition(This, Pos, OnlyWordCharacters) -> integer() when + This::wxStyledTextCtrl(), Pos::integer(), OnlyWordCharacters::boolean(). wordEndPosition(#wx_ref{type=ThisT,ref=ThisRef},Pos,OnlyWordCharacters) when is_integer(Pos),is_boolean(OnlyWordCharacters) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_WordEndPosition, <>). -%% @spec (This::wxStyledTextCtrl(), Mode::integer()) -> ok %% @doc See external documentation. +-spec setWrapMode(This, Mode) -> ok when + This::wxStyledTextCtrl(), Mode::integer(). setWrapMode(#wx_ref{type=ThisT,ref=ThisRef},Mode) when is_integer(Mode) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetWrapMode, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec getWrapMode(This) -> integer() when + This::wxStyledTextCtrl(). getWrapMode(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetWrapMode, <>). -%% @spec (This::wxStyledTextCtrl(), WrapVisualFlags::integer()) -> ok %% @doc See external documentation. +-spec setWrapVisualFlags(This, WrapVisualFlags) -> ok when + This::wxStyledTextCtrl(), WrapVisualFlags::integer(). setWrapVisualFlags(#wx_ref{type=ThisT,ref=ThisRef},WrapVisualFlags) when is_integer(WrapVisualFlags) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetWrapVisualFlags, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec getWrapVisualFlags(This) -> integer() when + This::wxStyledTextCtrl(). getWrapVisualFlags(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetWrapVisualFlags, <>). -%% @spec (This::wxStyledTextCtrl(), WrapVisualFlagsLocation::integer()) -> ok %% @doc See external documentation. +-spec setWrapVisualFlagsLocation(This, WrapVisualFlagsLocation) -> ok when + This::wxStyledTextCtrl(), WrapVisualFlagsLocation::integer(). setWrapVisualFlagsLocation(#wx_ref{type=ThisT,ref=ThisRef},WrapVisualFlagsLocation) when is_integer(WrapVisualFlagsLocation) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetWrapVisualFlagsLocation, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec getWrapVisualFlagsLocation(This) -> integer() when + This::wxStyledTextCtrl(). getWrapVisualFlagsLocation(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetWrapVisualFlagsLocation, <>). -%% @spec (This::wxStyledTextCtrl(), Indent::integer()) -> ok %% @doc See external documentation. +-spec setWrapStartIndent(This, Indent) -> ok when + This::wxStyledTextCtrl(), Indent::integer(). setWrapStartIndent(#wx_ref{type=ThisT,ref=ThisRef},Indent) when is_integer(Indent) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetWrapStartIndent, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec getWrapStartIndent(This) -> integer() when + This::wxStyledTextCtrl(). getWrapStartIndent(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetWrapStartIndent, <>). -%% @spec (This::wxStyledTextCtrl(), Mode::integer()) -> ok %% @doc See external documentation. +-spec setLayoutCache(This, Mode) -> ok when + This::wxStyledTextCtrl(), Mode::integer(). setLayoutCache(#wx_ref{type=ThisT,ref=ThisRef},Mode) when is_integer(Mode) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetLayoutCache, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec getLayoutCache(This) -> integer() when + This::wxStyledTextCtrl(). getLayoutCache(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetLayoutCache, <>). -%% @spec (This::wxStyledTextCtrl(), PixelWidth::integer()) -> ok %% @doc See external documentation. +-spec setScrollWidth(This, PixelWidth) -> ok when + This::wxStyledTextCtrl(), PixelWidth::integer(). setScrollWidth(#wx_ref{type=ThisT,ref=ThisRef},PixelWidth) when is_integer(PixelWidth) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetScrollWidth, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec getScrollWidth(This) -> integer() when + This::wxStyledTextCtrl(). getScrollWidth(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetScrollWidth, <>). -%% @spec (This::wxStyledTextCtrl(), Style::integer(), Text::string()) -> integer() %% @doc See external documentation. +-spec textWidth(This, Style, Text) -> integer() when + This::wxStyledTextCtrl(), Style::integer(), Text::string(). textWidth(#wx_ref{type=ThisT,ref=ThisRef},Style,Text) when is_integer(Style),is_list(Text) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -2124,38 +2387,43 @@ textWidth(#wx_ref{type=ThisT,ref=ThisRef},Style,Text) wxe_util:call(?wxStyledTextCtrl_TextWidth, <>). -%% @spec (This::wxStyledTextCtrl()) -> bool() %% @doc See external documentation. +-spec getEndAtLastLine(This) -> boolean() when + This::wxStyledTextCtrl(). getEndAtLastLine(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetEndAtLastLine, <>). -%% @spec (This::wxStyledTextCtrl(), Line::integer()) -> integer() %% @doc See external documentation. +-spec textHeight(This, Line) -> integer() when + This::wxStyledTextCtrl(), Line::integer(). textHeight(#wx_ref{type=ThisT,ref=ThisRef},Line) when is_integer(Line) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_TextHeight, <>). -%% @spec (This::wxStyledTextCtrl(), Show::bool()) -> ok %% @doc See external documentation. +-spec setUseVerticalScrollBar(This, Show) -> ok when + This::wxStyledTextCtrl(), Show::boolean(). setUseVerticalScrollBar(#wx_ref{type=ThisT,ref=ThisRef},Show) when is_boolean(Show) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetUseVerticalScrollBar, <>). -%% @spec (This::wxStyledTextCtrl()) -> bool() %% @doc See external documentation. +-spec getUseVerticalScrollBar(This) -> boolean() when + This::wxStyledTextCtrl(). getUseVerticalScrollBar(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetUseVerticalScrollBar, <>). -%% @spec (This::wxStyledTextCtrl(), Text::string()) -> ok %% @doc See external documentation. +-spec appendText(This, Text) -> ok when + This::wxStyledTextCtrl(), Text::string(). appendText(#wx_ref{type=ThisT,ref=ThisRef},Text) when is_list(Text) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -2163,559 +2431,637 @@ appendText(#wx_ref{type=ThisT,ref=ThisRef},Text) wxe_util:cast(?wxStyledTextCtrl_AppendText, <>). -%% @spec (This::wxStyledTextCtrl()) -> bool() %% @doc See external documentation. +-spec getTwoPhaseDraw(This) -> boolean() when + This::wxStyledTextCtrl(). getTwoPhaseDraw(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetTwoPhaseDraw, <>). -%% @spec (This::wxStyledTextCtrl(), TwoPhase::bool()) -> ok %% @doc See external documentation. +-spec setTwoPhaseDraw(This, TwoPhase) -> ok when + This::wxStyledTextCtrl(), TwoPhase::boolean(). setTwoPhaseDraw(#wx_ref{type=ThisT,ref=ThisRef},TwoPhase) when is_boolean(TwoPhase) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetTwoPhaseDraw, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec targetFromSelection(This) -> ok when + This::wxStyledTextCtrl(). targetFromSelection(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_TargetFromSelection, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec linesJoin(This) -> ok when + This::wxStyledTextCtrl(). linesJoin(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_LinesJoin, <>). -%% @spec (This::wxStyledTextCtrl(), PixelWidth::integer()) -> ok %% @doc See external documentation. +-spec linesSplit(This, PixelWidth) -> ok when + This::wxStyledTextCtrl(), PixelWidth::integer(). linesSplit(#wx_ref{type=ThisT,ref=ThisRef},PixelWidth) when is_integer(PixelWidth) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_LinesSplit, <>). -%% @spec (This::wxStyledTextCtrl(), UseSetting::bool(), Back::wx:colour()) -> ok %% @doc See external documentation. +-spec setFoldMarginColour(This, UseSetting, Back) -> ok when + This::wxStyledTextCtrl(), UseSetting::boolean(), Back::wx:wx_colour(). setFoldMarginColour(#wx_ref{type=ThisT,ref=ThisRef},UseSetting,Back) when is_boolean(UseSetting),tuple_size(Back) =:= 3; tuple_size(Back) =:= 4 -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetFoldMarginColour, <>). -%% @spec (This::wxStyledTextCtrl(), UseSetting::bool(), Fore::wx:colour()) -> ok %% @doc See external documentation. +-spec setFoldMarginHiColour(This, UseSetting, Fore) -> ok when + This::wxStyledTextCtrl(), UseSetting::boolean(), Fore::wx:wx_colour(). setFoldMarginHiColour(#wx_ref{type=ThisT,ref=ThisRef},UseSetting,Fore) when is_boolean(UseSetting),tuple_size(Fore) =:= 3; tuple_size(Fore) =:= 4 -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetFoldMarginHiColour, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec lineDown(This) -> ok when + This::wxStyledTextCtrl(). lineDown(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_LineDown, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec lineDownExtend(This) -> ok when + This::wxStyledTextCtrl(). lineDownExtend(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_LineDownExtend, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec lineUp(This) -> ok when + This::wxStyledTextCtrl(). lineUp(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_LineUp, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec lineUpExtend(This) -> ok when + This::wxStyledTextCtrl(). lineUpExtend(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_LineUpExtend, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec charLeft(This) -> ok when + This::wxStyledTextCtrl(). charLeft(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_CharLeft, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec charLeftExtend(This) -> ok when + This::wxStyledTextCtrl(). charLeftExtend(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_CharLeftExtend, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec charRight(This) -> ok when + This::wxStyledTextCtrl(). charRight(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_CharRight, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec charRightExtend(This) -> ok when + This::wxStyledTextCtrl(). charRightExtend(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_CharRightExtend, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec wordLeft(This) -> ok when + This::wxStyledTextCtrl(). wordLeft(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_WordLeft, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec wordLeftExtend(This) -> ok when + This::wxStyledTextCtrl(). wordLeftExtend(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_WordLeftExtend, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec wordRight(This) -> ok when + This::wxStyledTextCtrl(). wordRight(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_WordRight, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec wordRightExtend(This) -> ok when + This::wxStyledTextCtrl(). wordRightExtend(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_WordRightExtend, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec home(This) -> ok when + This::wxStyledTextCtrl(). home(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_Home, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec homeExtend(This) -> ok when + This::wxStyledTextCtrl(). homeExtend(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_HomeExtend, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec lineEnd(This) -> ok when + This::wxStyledTextCtrl(). lineEnd(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_LineEnd, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec lineEndExtend(This) -> ok when + This::wxStyledTextCtrl(). lineEndExtend(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_LineEndExtend, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec documentStart(This) -> ok when + This::wxStyledTextCtrl(). documentStart(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_DocumentStart, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec documentStartExtend(This) -> ok when + This::wxStyledTextCtrl(). documentStartExtend(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_DocumentStartExtend, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec documentEnd(This) -> ok when + This::wxStyledTextCtrl(). documentEnd(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_DocumentEnd, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec documentEndExtend(This) -> ok when + This::wxStyledTextCtrl(). documentEndExtend(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_DocumentEndExtend, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec pageUp(This) -> ok when + This::wxStyledTextCtrl(). pageUp(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_PageUp, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec pageUpExtend(This) -> ok when + This::wxStyledTextCtrl(). pageUpExtend(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_PageUpExtend, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec pageDown(This) -> ok when + This::wxStyledTextCtrl(). pageDown(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_PageDown, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec pageDownExtend(This) -> ok when + This::wxStyledTextCtrl(). pageDownExtend(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_PageDownExtend, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec editToggleOvertype(This) -> ok when + This::wxStyledTextCtrl(). editToggleOvertype(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_EditToggleOvertype, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec cancel(This) -> ok when + This::wxStyledTextCtrl(). cancel(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_Cancel, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec deleteBack(This) -> ok when + This::wxStyledTextCtrl(). deleteBack(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_DeleteBack, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec tab(This) -> ok when + This::wxStyledTextCtrl(). tab(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_Tab, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec backTab(This) -> ok when + This::wxStyledTextCtrl(). backTab(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_BackTab, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec newLine(This) -> ok when + This::wxStyledTextCtrl(). newLine(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_NewLine, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec formFeed(This) -> ok when + This::wxStyledTextCtrl(). formFeed(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_FormFeed, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec vCHome(This) -> ok when + This::wxStyledTextCtrl(). vCHome(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_VCHome, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec vCHomeExtend(This) -> ok when + This::wxStyledTextCtrl(). vCHomeExtend(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_VCHomeExtend, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec zoomIn(This) -> ok when + This::wxStyledTextCtrl(). zoomIn(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_ZoomIn, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec zoomOut(This) -> ok when + This::wxStyledTextCtrl(). zoomOut(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_ZoomOut, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec delWordLeft(This) -> ok when + This::wxStyledTextCtrl(). delWordLeft(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_DelWordLeft, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec delWordRight(This) -> ok when + This::wxStyledTextCtrl(). delWordRight(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_DelWordRight, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec lineCut(This) -> ok when + This::wxStyledTextCtrl(). lineCut(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_LineCut, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec lineDelete(This) -> ok when + This::wxStyledTextCtrl(). lineDelete(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_LineDelete, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec lineTranspose(This) -> ok when + This::wxStyledTextCtrl(). lineTranspose(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_LineTranspose, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec lineDuplicate(This) -> ok when + This::wxStyledTextCtrl(). lineDuplicate(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_LineDuplicate, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec lowerCase(This) -> ok when + This::wxStyledTextCtrl(). lowerCase(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_LowerCase, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec upperCase(This) -> ok when + This::wxStyledTextCtrl(). upperCase(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_UpperCase, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec lineScrollDown(This) -> ok when + This::wxStyledTextCtrl(). lineScrollDown(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_LineScrollDown, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec lineScrollUp(This) -> ok when + This::wxStyledTextCtrl(). lineScrollUp(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_LineScrollUp, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec deleteBackNotLine(This) -> ok when + This::wxStyledTextCtrl(). deleteBackNotLine(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_DeleteBackNotLine, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec homeDisplay(This) -> ok when + This::wxStyledTextCtrl(). homeDisplay(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_HomeDisplay, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec homeDisplayExtend(This) -> ok when + This::wxStyledTextCtrl(). homeDisplayExtend(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_HomeDisplayExtend, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec lineEndDisplay(This) -> ok when + This::wxStyledTextCtrl(). lineEndDisplay(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_LineEndDisplay, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec lineEndDisplayExtend(This) -> ok when + This::wxStyledTextCtrl(). lineEndDisplayExtend(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_LineEndDisplayExtend, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec homeWrapExtend(This) -> ok when + This::wxStyledTextCtrl(). homeWrapExtend(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_HomeWrapExtend, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec lineEndWrap(This) -> ok when + This::wxStyledTextCtrl(). lineEndWrap(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_LineEndWrap, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec lineEndWrapExtend(This) -> ok when + This::wxStyledTextCtrl(). lineEndWrapExtend(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_LineEndWrapExtend, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec vCHomeWrap(This) -> ok when + This::wxStyledTextCtrl(). vCHomeWrap(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_VCHomeWrap, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec vCHomeWrapExtend(This) -> ok when + This::wxStyledTextCtrl(). vCHomeWrapExtend(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_VCHomeWrapExtend, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec lineCopy(This) -> ok when + This::wxStyledTextCtrl(). lineCopy(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_LineCopy, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec moveCaretInsideView(This) -> ok when + This::wxStyledTextCtrl(). moveCaretInsideView(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_MoveCaretInsideView, <>). -%% @spec (This::wxStyledTextCtrl(), Line::integer()) -> integer() %% @doc See external documentation. +-spec lineLength(This, Line) -> integer() when + This::wxStyledTextCtrl(), Line::integer(). lineLength(#wx_ref{type=ThisT,ref=ThisRef},Line) when is_integer(Line) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_LineLength, <>). -%% @spec (This::wxStyledTextCtrl(), Pos1::integer(), Pos2::integer()) -> ok %% @doc See external documentation. +-spec braceHighlight(This, Pos1, Pos2) -> ok when + This::wxStyledTextCtrl(), Pos1::integer(), Pos2::integer(). braceHighlight(#wx_ref{type=ThisT,ref=ThisRef},Pos1,Pos2) when is_integer(Pos1),is_integer(Pos2) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_BraceHighlight, <>). -%% @spec (This::wxStyledTextCtrl(), Pos::integer()) -> ok %% @doc See external documentation. +-spec braceBadLight(This, Pos) -> ok when + This::wxStyledTextCtrl(), Pos::integer(). braceBadLight(#wx_ref{type=ThisT,ref=ThisRef},Pos) when is_integer(Pos) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_BraceBadLight, <>). -%% @spec (This::wxStyledTextCtrl(), Pos::integer()) -> integer() %% @doc See external documentation. +-spec braceMatch(This, Pos) -> integer() when + This::wxStyledTextCtrl(), Pos::integer(). braceMatch(#wx_ref{type=ThisT,ref=ThisRef},Pos) when is_integer(Pos) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_BraceMatch, <>). -%% @spec (This::wxStyledTextCtrl()) -> bool() %% @doc See external documentation. +-spec getViewEOL(This) -> boolean() when + This::wxStyledTextCtrl(). getViewEOL(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetViewEOL, <>). -%% @spec (This::wxStyledTextCtrl(), Visible::bool()) -> ok %% @doc See external documentation. +-spec setViewEOL(This, Visible) -> ok when + This::wxStyledTextCtrl(), Visible::boolean(). setViewEOL(#wx_ref{type=ThisT,ref=ThisRef},Visible) when is_boolean(Visible) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetViewEOL, <>). -%% @spec (This::wxStyledTextCtrl(), Mask::integer()) -> ok %% @doc See external documentation. +-spec setModEventMask(This, Mask) -> ok when + This::wxStyledTextCtrl(), Mask::integer(). setModEventMask(#wx_ref{type=ThisT,ref=ThisRef},Mask) when is_integer(Mask) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetModEventMask, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec getEdgeColumn(This) -> integer() when + This::wxStyledTextCtrl(). getEdgeColumn(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetEdgeColumn, <>). -%% @spec (This::wxStyledTextCtrl(), Column::integer()) -> ok %% @doc See external documentation. +-spec setEdgeColumn(This, Column) -> ok when + This::wxStyledTextCtrl(), Column::integer(). setEdgeColumn(#wx_ref{type=ThisT,ref=ThisRef},Column) when is_integer(Column) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetEdgeColumn, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec getEdgeMode(This) -> integer() when + This::wxStyledTextCtrl(). getEdgeMode(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetEdgeMode, <>). -%% @spec (This::wxStyledTextCtrl()) -> wx:colour() %% @doc See external documentation. +-spec getEdgeColour(This) -> wx:wx_colour() when + This::wxStyledTextCtrl(). getEdgeColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetEdgeColour, <>). -%% @spec (This::wxStyledTextCtrl(), EdgeColour::wx:colour()) -> ok %% @doc See external documentation. +-spec setEdgeColour(This, EdgeColour) -> ok when + This::wxStyledTextCtrl(), EdgeColour::wx:wx_colour(). setEdgeColour(#wx_ref{type=ThisT,ref=ThisRef},EdgeColour) when tuple_size(EdgeColour) =:= 3; tuple_size(EdgeColour) =:= 4 -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetEdgeColour, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec searchAnchor(This) -> ok when + This::wxStyledTextCtrl(). searchAnchor(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SearchAnchor, <>). -%% @spec (This::wxStyledTextCtrl(), Flags::integer(), Text::string()) -> integer() %% @doc See external documentation. +-spec searchNext(This, Flags, Text) -> integer() when + This::wxStyledTextCtrl(), Flags::integer(), Text::string(). searchNext(#wx_ref{type=ThisT,ref=ThisRef},Flags,Text) when is_integer(Flags),is_list(Text) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -2723,8 +3069,9 @@ searchNext(#wx_ref{type=ThisT,ref=ThisRef},Flags,Text) wxe_util:call(?wxStyledTextCtrl_SearchNext, <>). -%% @spec (This::wxStyledTextCtrl(), Flags::integer(), Text::string()) -> integer() %% @doc See external documentation. +-spec searchPrev(This, Flags, Text) -> integer() when + This::wxStyledTextCtrl(), Flags::integer(), Text::string(). searchPrev(#wx_ref{type=ThisT,ref=ThisRef},Flags,Text) when is_integer(Flags),is_list(Text) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -2732,291 +3079,330 @@ searchPrev(#wx_ref{type=ThisT,ref=ThisRef},Flags,Text) wxe_util:call(?wxStyledTextCtrl_SearchPrev, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec linesOnScreen(This) -> integer() when + This::wxStyledTextCtrl(). linesOnScreen(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_LinesOnScreen, <>). -%% @spec (This::wxStyledTextCtrl(), AllowPopUp::bool()) -> ok %% @doc See external documentation. +-spec usePopUp(This, AllowPopUp) -> ok when + This::wxStyledTextCtrl(), AllowPopUp::boolean(). usePopUp(#wx_ref{type=ThisT,ref=ThisRef},AllowPopUp) when is_boolean(AllowPopUp) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_UsePopUp, <>). -%% @spec (This::wxStyledTextCtrl()) -> bool() %% @doc See external documentation. +-spec selectionIsRectangle(This) -> boolean() when + This::wxStyledTextCtrl(). selectionIsRectangle(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_SelectionIsRectangle, <>). -%% @spec (This::wxStyledTextCtrl(), Zoom::integer()) -> ok %% @doc See external documentation. +-spec setZoom(This, Zoom) -> ok when + This::wxStyledTextCtrl(), Zoom::integer(). setZoom(#wx_ref{type=ThisT,ref=ThisRef},Zoom) when is_integer(Zoom) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetZoom, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec getZoom(This) -> integer() when + This::wxStyledTextCtrl(). getZoom(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetZoom, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec getModEventMask(This) -> integer() when + This::wxStyledTextCtrl(). getModEventMask(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetModEventMask, <>). -%% @spec (This::wxStyledTextCtrl(), Focus::bool()) -> ok %% @doc See external documentation. +-spec setSTCFocus(This, Focus) -> ok when + This::wxStyledTextCtrl(), Focus::boolean(). setSTCFocus(#wx_ref{type=ThisT,ref=ThisRef},Focus) when is_boolean(Focus) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetSTCFocus, <>). -%% @spec (This::wxStyledTextCtrl()) -> bool() %% @doc See external documentation. +-spec getSTCFocus(This) -> boolean() when + This::wxStyledTextCtrl(). getSTCFocus(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetSTCFocus, <>). -%% @spec (This::wxStyledTextCtrl(), StatusCode::integer()) -> ok %% @doc See external documentation. +-spec setStatus(This, StatusCode) -> ok when + This::wxStyledTextCtrl(), StatusCode::integer(). setStatus(#wx_ref{type=ThisT,ref=ThisRef},StatusCode) when is_integer(StatusCode) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetStatus, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec getStatus(This) -> integer() when + This::wxStyledTextCtrl(). getStatus(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetStatus, <>). -%% @spec (This::wxStyledTextCtrl(), Captures::bool()) -> ok %% @doc See external documentation. +-spec setMouseDownCaptures(This, Captures) -> ok when + This::wxStyledTextCtrl(), Captures::boolean(). setMouseDownCaptures(#wx_ref{type=ThisT,ref=ThisRef},Captures) when is_boolean(Captures) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetMouseDownCaptures, <>). -%% @spec (This::wxStyledTextCtrl()) -> bool() %% @doc See external documentation. +-spec getMouseDownCaptures(This) -> boolean() when + This::wxStyledTextCtrl(). getMouseDownCaptures(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetMouseDownCaptures, <>). -%% @spec (This::wxStyledTextCtrl(), CursorType::integer()) -> ok %% @doc See external documentation. +-spec setSTCCursor(This, CursorType) -> ok when + This::wxStyledTextCtrl(), CursorType::integer(). setSTCCursor(#wx_ref{type=ThisT,ref=ThisRef},CursorType) when is_integer(CursorType) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetSTCCursor, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec getSTCCursor(This) -> integer() when + This::wxStyledTextCtrl(). getSTCCursor(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetSTCCursor, <>). -%% @spec (This::wxStyledTextCtrl(), Symbol::integer()) -> ok %% @doc See external documentation. +-spec setControlCharSymbol(This, Symbol) -> ok when + This::wxStyledTextCtrl(), Symbol::integer(). setControlCharSymbol(#wx_ref{type=ThisT,ref=ThisRef},Symbol) when is_integer(Symbol) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetControlCharSymbol, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec getControlCharSymbol(This) -> integer() when + This::wxStyledTextCtrl(). getControlCharSymbol(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetControlCharSymbol, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec wordPartLeft(This) -> ok when + This::wxStyledTextCtrl(). wordPartLeft(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_WordPartLeft, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec wordPartLeftExtend(This) -> ok when + This::wxStyledTextCtrl(). wordPartLeftExtend(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_WordPartLeftExtend, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec wordPartRight(This) -> ok when + This::wxStyledTextCtrl(). wordPartRight(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_WordPartRight, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec wordPartRightExtend(This) -> ok when + This::wxStyledTextCtrl(). wordPartRightExtend(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_WordPartRightExtend, <>). -%% @spec (This::wxStyledTextCtrl(), VisiblePolicy::integer(), VisibleSlop::integer()) -> ok %% @doc See external documentation. +-spec setVisiblePolicy(This, VisiblePolicy, VisibleSlop) -> ok when + This::wxStyledTextCtrl(), VisiblePolicy::integer(), VisibleSlop::integer(). setVisiblePolicy(#wx_ref{type=ThisT,ref=ThisRef},VisiblePolicy,VisibleSlop) when is_integer(VisiblePolicy),is_integer(VisibleSlop) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetVisiblePolicy, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec delLineLeft(This) -> ok when + This::wxStyledTextCtrl(). delLineLeft(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_DelLineLeft, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec delLineRight(This) -> ok when + This::wxStyledTextCtrl(). delLineRight(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_DelLineRight, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec getXOffset(This) -> integer() when + This::wxStyledTextCtrl(). getXOffset(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetXOffset, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec chooseCaretX(This) -> ok when + This::wxStyledTextCtrl(). chooseCaretX(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_ChooseCaretX, <>). -%% @spec (This::wxStyledTextCtrl(), CaretPolicy::integer(), CaretSlop::integer()) -> ok %% @doc See external documentation. +-spec setXCaretPolicy(This, CaretPolicy, CaretSlop) -> ok when + This::wxStyledTextCtrl(), CaretPolicy::integer(), CaretSlop::integer(). setXCaretPolicy(#wx_ref{type=ThisT,ref=ThisRef},CaretPolicy,CaretSlop) when is_integer(CaretPolicy),is_integer(CaretSlop) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetXCaretPolicy, <>). -%% @spec (This::wxStyledTextCtrl(), CaretPolicy::integer(), CaretSlop::integer()) -> ok %% @doc See external documentation. +-spec setYCaretPolicy(This, CaretPolicy, CaretSlop) -> ok when + This::wxStyledTextCtrl(), CaretPolicy::integer(), CaretSlop::integer(). setYCaretPolicy(#wx_ref{type=ThisT,ref=ThisRef},CaretPolicy,CaretSlop) when is_integer(CaretPolicy),is_integer(CaretSlop) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetYCaretPolicy, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec getPrintWrapMode(This) -> integer() when + This::wxStyledTextCtrl(). getPrintWrapMode(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetPrintWrapMode, <>). -%% @spec (This::wxStyledTextCtrl(), UseSetting::bool(), Fore::wx:colour()) -> ok %% @doc See external documentation. +-spec setHotspotActiveForeground(This, UseSetting, Fore) -> ok when + This::wxStyledTextCtrl(), UseSetting::boolean(), Fore::wx:wx_colour(). setHotspotActiveForeground(#wx_ref{type=ThisT,ref=ThisRef},UseSetting,Fore) when is_boolean(UseSetting),tuple_size(Fore) =:= 3; tuple_size(Fore) =:= 4 -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetHotspotActiveForeground, <>). -%% @spec (This::wxStyledTextCtrl(), UseSetting::bool(), Back::wx:colour()) -> ok %% @doc See external documentation. +-spec setHotspotActiveBackground(This, UseSetting, Back) -> ok when + This::wxStyledTextCtrl(), UseSetting::boolean(), Back::wx:wx_colour(). setHotspotActiveBackground(#wx_ref{type=ThisT,ref=ThisRef},UseSetting,Back) when is_boolean(UseSetting),tuple_size(Back) =:= 3; tuple_size(Back) =:= 4 -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetHotspotActiveBackground, <>). -%% @spec (This::wxStyledTextCtrl(), Underline::bool()) -> ok %% @doc See external documentation. +-spec setHotspotActiveUnderline(This, Underline) -> ok when + This::wxStyledTextCtrl(), Underline::boolean(). setHotspotActiveUnderline(#wx_ref{type=ThisT,ref=ThisRef},Underline) when is_boolean(Underline) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetHotspotActiveUnderline, <>). -%% @spec (This::wxStyledTextCtrl(), SingleLine::bool()) -> ok %% @doc See external documentation. +-spec setHotspotSingleLine(This, SingleLine) -> ok when + This::wxStyledTextCtrl(), SingleLine::boolean(). setHotspotSingleLine(#wx_ref{type=ThisT,ref=ThisRef},SingleLine) when is_boolean(SingleLine) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetHotspotSingleLine, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec paraDownExtend(This) -> ok when + This::wxStyledTextCtrl(). paraDownExtend(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_ParaDownExtend, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec paraUp(This) -> ok when + This::wxStyledTextCtrl(). paraUp(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_ParaUp, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec paraUpExtend(This) -> ok when + This::wxStyledTextCtrl(). paraUpExtend(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_ParaUpExtend, <>). -%% @spec (This::wxStyledTextCtrl(), Pos::integer()) -> integer() %% @doc See external documentation. +-spec positionBefore(This, Pos) -> integer() when + This::wxStyledTextCtrl(), Pos::integer(). positionBefore(#wx_ref{type=ThisT,ref=ThisRef},Pos) when is_integer(Pos) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_PositionBefore, <>). -%% @spec (This::wxStyledTextCtrl(), Pos::integer()) -> integer() %% @doc See external documentation. +-spec positionAfter(This, Pos) -> integer() when + This::wxStyledTextCtrl(), Pos::integer(). positionAfter(#wx_ref{type=ThisT,ref=ThisRef},Pos) when is_integer(Pos) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_PositionAfter, <>). -%% @spec (This::wxStyledTextCtrl(), Start::integer(), End::integer()) -> ok %% @doc See external documentation. +-spec copyRange(This, Start, End) -> ok when + This::wxStyledTextCtrl(), Start::integer(), End::integer(). copyRange(#wx_ref{type=ThisT,ref=ThisRef},Start,End) when is_integer(Start),is_integer(End) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_CopyRange, <>). -%% @spec (This::wxStyledTextCtrl(), Length::integer(), Text::string()) -> ok %% @doc See external documentation. +-spec copyText(This, Length, Text) -> ok when + This::wxStyledTextCtrl(), Length::integer(), Text::string(). copyText(#wx_ref{type=ThisT,ref=ThisRef},Length,Text) when is_integer(Length),is_list(Text) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -3024,142 +3410,162 @@ copyText(#wx_ref{type=ThisT,ref=ThisRef},Length,Text) wxe_util:cast(?wxStyledTextCtrl_CopyText, <>). -%% @spec (This::wxStyledTextCtrl(), Mode::integer()) -> ok %% @doc See external documentation. +-spec setSelectionMode(This, Mode) -> ok when + This::wxStyledTextCtrl(), Mode::integer(). setSelectionMode(#wx_ref{type=ThisT,ref=ThisRef},Mode) when is_integer(Mode) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetSelectionMode, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec getSelectionMode(This) -> integer() when + This::wxStyledTextCtrl(). getSelectionMode(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetSelectionMode, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec lineDownRectExtend(This) -> ok when + This::wxStyledTextCtrl(). lineDownRectExtend(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_LineDownRectExtend, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec lineUpRectExtend(This) -> ok when + This::wxStyledTextCtrl(). lineUpRectExtend(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_LineUpRectExtend, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec charLeftRectExtend(This) -> ok when + This::wxStyledTextCtrl(). charLeftRectExtend(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_CharLeftRectExtend, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec charRightRectExtend(This) -> ok when + This::wxStyledTextCtrl(). charRightRectExtend(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_CharRightRectExtend, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec homeRectExtend(This) -> ok when + This::wxStyledTextCtrl(). homeRectExtend(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_HomeRectExtend, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec vCHomeRectExtend(This) -> ok when + This::wxStyledTextCtrl(). vCHomeRectExtend(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_VCHomeRectExtend, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec lineEndRectExtend(This) -> ok when + This::wxStyledTextCtrl(). lineEndRectExtend(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_LineEndRectExtend, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec pageUpRectExtend(This) -> ok when + This::wxStyledTextCtrl(). pageUpRectExtend(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_PageUpRectExtend, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec pageDownRectExtend(This) -> ok when + This::wxStyledTextCtrl(). pageDownRectExtend(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_PageDownRectExtend, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec stutteredPageUp(This) -> ok when + This::wxStyledTextCtrl(). stutteredPageUp(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_StutteredPageUp, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec stutteredPageUpExtend(This) -> ok when + This::wxStyledTextCtrl(). stutteredPageUpExtend(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_StutteredPageUpExtend, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec stutteredPageDown(This) -> ok when + This::wxStyledTextCtrl(). stutteredPageDown(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_StutteredPageDown, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec stutteredPageDownExtend(This) -> ok when + This::wxStyledTextCtrl(). stutteredPageDownExtend(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_StutteredPageDownExtend, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec wordLeftEnd(This) -> ok when + This::wxStyledTextCtrl(). wordLeftEnd(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_WordLeftEnd, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec wordLeftEndExtend(This) -> ok when + This::wxStyledTextCtrl(). wordLeftEndExtend(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_WordLeftEndExtend, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec wordRightEnd(This) -> ok when + This::wxStyledTextCtrl(). wordRightEnd(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_WordRightEnd, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec wordRightEndExtend(This) -> ok when + This::wxStyledTextCtrl(). wordRightEndExtend(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_WordRightEndExtend, <>). -%% @spec (This::wxStyledTextCtrl(), Characters::string()) -> ok %% @doc See external documentation. +-spec setWhitespaceChars(This, Characters) -> ok when + This::wxStyledTextCtrl(), Characters::string(). setWhitespaceChars(#wx_ref{type=ThisT,ref=ThisRef},Characters) when is_list(Characters) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -3167,134 +3573,152 @@ setWhitespaceChars(#wx_ref{type=ThisT,ref=ThisRef},Characters) wxe_util:cast(?wxStyledTextCtrl_SetWhitespaceChars, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec setCharsDefault(This) -> ok when + This::wxStyledTextCtrl(). setCharsDefault(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetCharsDefault, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec autoCompGetCurrent(This) -> integer() when + This::wxStyledTextCtrl(). autoCompGetCurrent(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_AutoCompGetCurrent, <>). -%% @spec (This::wxStyledTextCtrl(), Bytes::integer()) -> ok %% @doc See external documentation. +-spec allocate(This, Bytes) -> ok when + This::wxStyledTextCtrl(), Bytes::integer(). allocate(#wx_ref{type=ThisT,ref=ThisRef},Bytes) when is_integer(Bytes) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_Allocate, <>). -%% @spec (This::wxStyledTextCtrl(), Line::integer(), Column::integer()) -> integer() %% @doc See external documentation. +-spec findColumn(This, Line, Column) -> integer() when + This::wxStyledTextCtrl(), Line::integer(), Column::integer(). findColumn(#wx_ref{type=ThisT,ref=ThisRef},Line,Column) when is_integer(Line),is_integer(Column) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_FindColumn, <>). -%% @spec (This::wxStyledTextCtrl()) -> bool() %% @doc See external documentation. +-spec getCaretSticky(This) -> boolean() when + This::wxStyledTextCtrl(). getCaretSticky(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetCaretSticky, <>). -%% @spec (This::wxStyledTextCtrl(), UseCaretStickyBehaviour::bool()) -> ok %% @doc See external documentation. +-spec setCaretSticky(This, UseCaretStickyBehaviour) -> ok when + This::wxStyledTextCtrl(), UseCaretStickyBehaviour::boolean(). setCaretSticky(#wx_ref{type=ThisT,ref=ThisRef},UseCaretStickyBehaviour) when is_boolean(UseCaretStickyBehaviour) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetCaretSticky, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec toggleCaretSticky(This) -> ok when + This::wxStyledTextCtrl(). toggleCaretSticky(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_ToggleCaretSticky, <>). -%% @spec (This::wxStyledTextCtrl(), Convert::bool()) -> ok %% @doc See external documentation. +-spec setPasteConvertEndings(This, Convert) -> ok when + This::wxStyledTextCtrl(), Convert::boolean(). setPasteConvertEndings(#wx_ref{type=ThisT,ref=ThisRef},Convert) when is_boolean(Convert) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetPasteConvertEndings, <>). -%% @spec (This::wxStyledTextCtrl()) -> bool() %% @doc See external documentation. +-spec getPasteConvertEndings(This) -> boolean() when + This::wxStyledTextCtrl(). getPasteConvertEndings(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetPasteConvertEndings, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec selectionDuplicate(This) -> ok when + This::wxStyledTextCtrl(). selectionDuplicate(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SelectionDuplicate, <>). -%% @spec (This::wxStyledTextCtrl(), Alpha::integer()) -> ok %% @doc See external documentation. +-spec setCaretLineBackAlpha(This, Alpha) -> ok when + This::wxStyledTextCtrl(), Alpha::integer(). setCaretLineBackAlpha(#wx_ref{type=ThisT,ref=ThisRef},Alpha) when is_integer(Alpha) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetCaretLineBackAlpha, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec getCaretLineBackAlpha(This) -> integer() when + This::wxStyledTextCtrl(). getCaretLineBackAlpha(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetCaretLineBackAlpha, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec startRecord(This) -> ok when + This::wxStyledTextCtrl(). startRecord(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_StartRecord, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc See external documentation. +-spec stopRecord(This) -> ok when + This::wxStyledTextCtrl(). stopRecord(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_StopRecord, <>). -%% @spec (This::wxStyledTextCtrl(), Lexer::integer()) -> ok %% @doc See external documentation. +-spec setLexer(This, Lexer) -> ok when + This::wxStyledTextCtrl(), Lexer::integer(). setLexer(#wx_ref{type=ThisT,ref=ThisRef},Lexer) when is_integer(Lexer) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetLexer, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec getLexer(This) -> integer() when + This::wxStyledTextCtrl(). getLexer(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetLexer, <>). -%% @spec (This::wxStyledTextCtrl(), Start::integer(), End::integer()) -> ok %% @doc See external documentation. +-spec colourise(This, Start, End) -> ok when + This::wxStyledTextCtrl(), Start::integer(), End::integer(). colourise(#wx_ref{type=ThisT,ref=ThisRef},Start,End) when is_integer(Start),is_integer(End) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_Colourise, <>). -%% @spec (This::wxStyledTextCtrl(), Key::string(), Value::string()) -> ok %% @doc See external documentation. +-spec setProperty(This, Key, Value) -> ok when + This::wxStyledTextCtrl(), Key::string(), Value::string(). setProperty(#wx_ref{type=ThisT,ref=ThisRef},Key,Value) when is_list(Key),is_list(Value) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -3303,8 +3727,9 @@ setProperty(#wx_ref{type=ThisT,ref=ThisRef},Key,Value) wxe_util:cast(?wxStyledTextCtrl_SetProperty, <>). -%% @spec (This::wxStyledTextCtrl(), KeywordSet::integer(), KeyWords::string()) -> ok %% @doc See external documentation. +-spec setKeyWords(This, KeywordSet, KeyWords) -> ok when + This::wxStyledTextCtrl(), KeywordSet::integer(), KeyWords::string(). setKeyWords(#wx_ref{type=ThisT,ref=ThisRef},KeywordSet,KeyWords) when is_integer(KeywordSet),is_list(KeyWords) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -3312,8 +3737,9 @@ setKeyWords(#wx_ref{type=ThisT,ref=ThisRef},KeywordSet,KeyWords) wxe_util:cast(?wxStyledTextCtrl_SetKeyWords, <>). -%% @spec (This::wxStyledTextCtrl(), Language::string()) -> ok %% @doc See external documentation. +-spec setLexerLanguage(This, Language) -> ok when + This::wxStyledTextCtrl(), Language::string(). setLexerLanguage(#wx_ref{type=ThisT,ref=ThisRef},Language) when is_list(Language) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -3321,8 +3747,9 @@ setLexerLanguage(#wx_ref{type=ThisT,ref=ThisRef},Language) wxe_util:cast(?wxStyledTextCtrl_SetLexerLanguage, <>). -%% @spec (This::wxStyledTextCtrl(), Key::string()) -> string() %% @doc See external documentation. +-spec getProperty(This, Key) -> string() when + This::wxStyledTextCtrl(), Key::string(). getProperty(#wx_ref{type=ThisT,ref=ThisRef},Key) when is_list(Key) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -3330,22 +3757,25 @@ getProperty(#wx_ref{type=ThisT,ref=ThisRef},Key) wxe_util:call(?wxStyledTextCtrl_GetProperty, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec getStyleBitsNeeded(This) -> integer() when + This::wxStyledTextCtrl(). getStyleBitsNeeded(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetStyleBitsNeeded, <>). -%% @spec (This::wxStyledTextCtrl()) -> integer() %% @doc See external documentation. +-spec getCurrentLine(This) -> integer() when + This::wxStyledTextCtrl(). getCurrentLine(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetCurrentLine, <>). -%% @spec (This::wxStyledTextCtrl(), StyleNum::integer(), Spec::string()) -> ok %% @doc See external documentation. +-spec styleSetSpec(This, StyleNum, Spec) -> ok when + This::wxStyledTextCtrl(), StyleNum::integer(), Spec::string(). styleSetSpec(#wx_ref{type=ThisT,ref=ThisRef},StyleNum,Spec) when is_integer(StyleNum),is_list(Spec) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -3353,8 +3783,9 @@ styleSetSpec(#wx_ref{type=ThisT,ref=ThisRef},StyleNum,Spec) wxe_util:cast(?wxStyledTextCtrl_StyleSetSpec, <>). -%% @spec (This::wxStyledTextCtrl(), StyleNum::integer(), Font::wxFont:wxFont()) -> ok %% @doc See external documentation. +-spec styleSetFont(This, StyleNum, Font) -> ok when + This::wxStyledTextCtrl(), StyleNum::integer(), Font::wxFont:wxFont(). styleSetFont(#wx_ref{type=ThisT,ref=ThisRef},StyleNum,#wx_ref{type=FontT,ref=FontRef}) when is_integer(StyleNum) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -3362,17 +3793,19 @@ styleSetFont(#wx_ref{type=ThisT,ref=ThisRef},StyleNum,#wx_ref{type=FontT,ref=Fon wxe_util:cast(?wxStyledTextCtrl_StyleSetFont, <>). -%% @spec (This::wxStyledTextCtrl(), StyleNum::integer(), Size::integer(), FaceName::string(), Bold::bool(), Italic::bool(), Underline::bool()) -> ok %% @equiv styleSetFontAttr(This,StyleNum,Size,FaceName,Bold,Italic,Underline, []) +-spec styleSetFontAttr(This, StyleNum, Size, FaceName, Bold, Italic, Underline) -> ok when + This::wxStyledTextCtrl(), StyleNum::integer(), Size::integer(), FaceName::string(), Bold::boolean(), Italic::boolean(), Underline::boolean(). + styleSetFontAttr(This,StyleNum,Size,FaceName,Bold,Italic,Underline) when is_record(This, wx_ref),is_integer(StyleNum),is_integer(Size),is_list(FaceName),is_boolean(Bold),is_boolean(Italic),is_boolean(Underline) -> styleSetFontAttr(This,StyleNum,Size,FaceName,Bold,Italic,Underline, []). -%% @spec (This::wxStyledTextCtrl(), StyleNum::integer(), Size::integer(), FaceName::string(), Bold::bool(), Italic::bool(), Underline::bool(), [Option]) -> ok -%% Option = {encoding, WxFontEncoding} -%% WxFontEncoding = integer() %% @doc See external documentation. -%%
WxFontEncoding is one of ?wxFONTENCODING_SYSTEM | ?wxFONTENCODING_DEFAULT | ?wxFONTENCODING_ISO8859_1 | ?wxFONTENCODING_ISO8859_2 | ?wxFONTENCODING_ISO8859_3 | ?wxFONTENCODING_ISO8859_4 | ?wxFONTENCODING_ISO8859_5 | ?wxFONTENCODING_ISO8859_6 | ?wxFONTENCODING_ISO8859_7 | ?wxFONTENCODING_ISO8859_8 | ?wxFONTENCODING_ISO8859_9 | ?wxFONTENCODING_ISO8859_10 | ?wxFONTENCODING_ISO8859_11 | ?wxFONTENCODING_ISO8859_12 | ?wxFONTENCODING_ISO8859_13 | ?wxFONTENCODING_ISO8859_14 | ?wxFONTENCODING_ISO8859_15 | ?wxFONTENCODING_ISO8859_MAX | ?wxFONTENCODING_KOI8 | ?wxFONTENCODING_KOI8_U | ?wxFONTENCODING_ALTERNATIVE | ?wxFONTENCODING_BULGARIAN | ?wxFONTENCODING_CP437 | ?wxFONTENCODING_CP850 | ?wxFONTENCODING_CP852 | ?wxFONTENCODING_CP855 | ?wxFONTENCODING_CP866 | ?wxFONTENCODING_CP874 | ?wxFONTENCODING_CP932 | ?wxFONTENCODING_CP936 | ?wxFONTENCODING_CP949 | ?wxFONTENCODING_CP950 | ?wxFONTENCODING_CP1250 | ?wxFONTENCODING_CP1251 | ?wxFONTENCODING_CP1252 | ?wxFONTENCODING_CP1253 | ?wxFONTENCODING_CP1254 | ?wxFONTENCODING_CP1255 | ?wxFONTENCODING_CP1256 | ?wxFONTENCODING_CP1257 | ?wxFONTENCODING_CP12_MAX | ?wxFONTENCODING_UTF7 | ?wxFONTENCODING_UTF8 | ?wxFONTENCODING_EUC_JP | ?wxFONTENCODING_UTF16BE | ?wxFONTENCODING_UTF16LE | ?wxFONTENCODING_UTF32BE | ?wxFONTENCODING_UTF32LE | ?wxFONTENCODING_MACROMAN | ?wxFONTENCODING_MACJAPANESE | ?wxFONTENCODING_MACCHINESETRAD | ?wxFONTENCODING_MACKOREAN | ?wxFONTENCODING_MACARABIC | ?wxFONTENCODING_MACHEBREW | ?wxFONTENCODING_MACGREEK | ?wxFONTENCODING_MACCYRILLIC | ?wxFONTENCODING_MACDEVANAGARI | ?wxFONTENCODING_MACGURMUKHI | ?wxFONTENCODING_MACGUJARATI | ?wxFONTENCODING_MACORIYA | ?wxFONTENCODING_MACBENGALI | ?wxFONTENCODING_MACTAMIL | ?wxFONTENCODING_MACTELUGU | ?wxFONTENCODING_MACKANNADA | ?wxFONTENCODING_MACMALAJALAM | ?wxFONTENCODING_MACSINHALESE | ?wxFONTENCODING_MACBURMESE | ?wxFONTENCODING_MACKHMER | ?wxFONTENCODING_MACTHAI | ?wxFONTENCODING_MACLAOTIAN | ?wxFONTENCODING_MACGEORGIAN | ?wxFONTENCODING_MACARMENIAN | ?wxFONTENCODING_MACCHINESESIMP | ?wxFONTENCODING_MACTIBETAN | ?wxFONTENCODING_MACMONGOLIAN | ?wxFONTENCODING_MACETHIOPIC | ?wxFONTENCODING_MACCENTRALEUR | ?wxFONTENCODING_MACVIATNAMESE | ?wxFONTENCODING_MACARABICEXT | ?wxFONTENCODING_MACSYMBOL | ?wxFONTENCODING_MACDINGBATS | ?wxFONTENCODING_MACTURKISH | ?wxFONTENCODING_MACCROATIAN | ?wxFONTENCODING_MACICELANDIC | ?wxFONTENCODING_MACROMANIAN | ?wxFONTENCODING_MACCELTIC | ?wxFONTENCODING_MACGAELIC | ?wxFONTENCODING_MACKEYBOARD | ?wxFONTENCODING_MAX | ?wxFONTENCODING_MACMIN | ?wxFONTENCODING_MACMAX | ?wxFONTENCODING_UTF16 | ?wxFONTENCODING_UTF32 | ?wxFONTENCODING_UNICODE | ?wxFONTENCODING_GB2312 | ?wxFONTENCODING_BIG5 | ?wxFONTENCODING_SHIFT_JIS +%%
Encoding = ?wxFONTENCODING_SYSTEM | ?wxFONTENCODING_DEFAULT | ?wxFONTENCODING_ISO8859_1 | ?wxFONTENCODING_ISO8859_2 | ?wxFONTENCODING_ISO8859_3 | ?wxFONTENCODING_ISO8859_4 | ?wxFONTENCODING_ISO8859_5 | ?wxFONTENCODING_ISO8859_6 | ?wxFONTENCODING_ISO8859_7 | ?wxFONTENCODING_ISO8859_8 | ?wxFONTENCODING_ISO8859_9 | ?wxFONTENCODING_ISO8859_10 | ?wxFONTENCODING_ISO8859_11 | ?wxFONTENCODING_ISO8859_12 | ?wxFONTENCODING_ISO8859_13 | ?wxFONTENCODING_ISO8859_14 | ?wxFONTENCODING_ISO8859_15 | ?wxFONTENCODING_ISO8859_MAX | ?wxFONTENCODING_KOI8 | ?wxFONTENCODING_KOI8_U | ?wxFONTENCODING_ALTERNATIVE | ?wxFONTENCODING_BULGARIAN | ?wxFONTENCODING_CP437 | ?wxFONTENCODING_CP850 | ?wxFONTENCODING_CP852 | ?wxFONTENCODING_CP855 | ?wxFONTENCODING_CP866 | ?wxFONTENCODING_CP874 | ?wxFONTENCODING_CP932 | ?wxFONTENCODING_CP936 | ?wxFONTENCODING_CP949 | ?wxFONTENCODING_CP950 | ?wxFONTENCODING_CP1250 | ?wxFONTENCODING_CP1251 | ?wxFONTENCODING_CP1252 | ?wxFONTENCODING_CP1253 | ?wxFONTENCODING_CP1254 | ?wxFONTENCODING_CP1255 | ?wxFONTENCODING_CP1256 | ?wxFONTENCODING_CP1257 | ?wxFONTENCODING_CP12_MAX | ?wxFONTENCODING_UTF7 | ?wxFONTENCODING_UTF8 | ?wxFONTENCODING_EUC_JP | ?wxFONTENCODING_UTF16BE | ?wxFONTENCODING_UTF16LE | ?wxFONTENCODING_UTF32BE | ?wxFONTENCODING_UTF32LE | ?wxFONTENCODING_MACROMAN | ?wxFONTENCODING_MACJAPANESE | ?wxFONTENCODING_MACCHINESETRAD | ?wxFONTENCODING_MACKOREAN | ?wxFONTENCODING_MACARABIC | ?wxFONTENCODING_MACHEBREW | ?wxFONTENCODING_MACGREEK | ?wxFONTENCODING_MACCYRILLIC | ?wxFONTENCODING_MACDEVANAGARI | ?wxFONTENCODING_MACGURMUKHI | ?wxFONTENCODING_MACGUJARATI | ?wxFONTENCODING_MACORIYA | ?wxFONTENCODING_MACBENGALI | ?wxFONTENCODING_MACTAMIL | ?wxFONTENCODING_MACTELUGU | ?wxFONTENCODING_MACKANNADA | ?wxFONTENCODING_MACMALAJALAM | ?wxFONTENCODING_MACSINHALESE | ?wxFONTENCODING_MACBURMESE | ?wxFONTENCODING_MACKHMER | ?wxFONTENCODING_MACTHAI | ?wxFONTENCODING_MACLAOTIAN | ?wxFONTENCODING_MACGEORGIAN | ?wxFONTENCODING_MACARMENIAN | ?wxFONTENCODING_MACCHINESESIMP | ?wxFONTENCODING_MACTIBETAN | ?wxFONTENCODING_MACMONGOLIAN | ?wxFONTENCODING_MACETHIOPIC | ?wxFONTENCODING_MACCENTRALEUR | ?wxFONTENCODING_MACVIATNAMESE | ?wxFONTENCODING_MACARABICEXT | ?wxFONTENCODING_MACSYMBOL | ?wxFONTENCODING_MACDINGBATS | ?wxFONTENCODING_MACTURKISH | ?wxFONTENCODING_MACCROATIAN | ?wxFONTENCODING_MACICELANDIC | ?wxFONTENCODING_MACROMANIAN | ?wxFONTENCODING_MACCELTIC | ?wxFONTENCODING_MACGAELIC | ?wxFONTENCODING_MACKEYBOARD | ?wxFONTENCODING_MAX | ?wxFONTENCODING_MACMIN | ?wxFONTENCODING_MACMAX | ?wxFONTENCODING_UTF16 | ?wxFONTENCODING_UTF32 | ?wxFONTENCODING_UNICODE | ?wxFONTENCODING_GB2312 | ?wxFONTENCODING_BIG5 | ?wxFONTENCODING_SHIFT_JIS +-spec styleSetFontAttr(This, StyleNum, Size, FaceName, Bold, Italic, Underline, [Option]) -> ok when + This::wxStyledTextCtrl(), StyleNum::integer(), Size::integer(), FaceName::string(), Bold::boolean(), Italic::boolean(), Underline::boolean(), + Option :: {encoding, wx:wx_enum()}. styleSetFontAttr(#wx_ref{type=ThisT,ref=ThisRef},StyleNum,Size,FaceName,Bold,Italic,Underline, Options) when is_integer(StyleNum),is_integer(Size),is_list(FaceName),is_boolean(Bold),is_boolean(Italic),is_boolean(Underline),is_list(Options) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -3383,80 +3816,91 @@ styleSetFontAttr(#wx_ref{type=ThisT,ref=ThisRef},StyleNum,Size,FaceName,Bold,Ita wxe_util:cast(?wxStyledTextCtrl_StyleSetFontAttr, <>). -%% @spec (This::wxStyledTextCtrl(), Style::integer(), CharacterSet::integer()) -> ok %% @doc See external documentation. +-spec styleSetCharacterSet(This, Style, CharacterSet) -> ok when + This::wxStyledTextCtrl(), Style::integer(), CharacterSet::integer(). styleSetCharacterSet(#wx_ref{type=ThisT,ref=ThisRef},Style,CharacterSet) when is_integer(Style),is_integer(CharacterSet) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_StyleSetCharacterSet, <>). -%% @spec (This::wxStyledTextCtrl(), Style::integer(), Encoding::WxFontEncoding) -> ok -%% WxFontEncoding = integer() %% @doc See external documentation. -%%
WxFontEncoding is one of ?wxFONTENCODING_SYSTEM | ?wxFONTENCODING_DEFAULT | ?wxFONTENCODING_ISO8859_1 | ?wxFONTENCODING_ISO8859_2 | ?wxFONTENCODING_ISO8859_3 | ?wxFONTENCODING_ISO8859_4 | ?wxFONTENCODING_ISO8859_5 | ?wxFONTENCODING_ISO8859_6 | ?wxFONTENCODING_ISO8859_7 | ?wxFONTENCODING_ISO8859_8 | ?wxFONTENCODING_ISO8859_9 | ?wxFONTENCODING_ISO8859_10 | ?wxFONTENCODING_ISO8859_11 | ?wxFONTENCODING_ISO8859_12 | ?wxFONTENCODING_ISO8859_13 | ?wxFONTENCODING_ISO8859_14 | ?wxFONTENCODING_ISO8859_15 | ?wxFONTENCODING_ISO8859_MAX | ?wxFONTENCODING_KOI8 | ?wxFONTENCODING_KOI8_U | ?wxFONTENCODING_ALTERNATIVE | ?wxFONTENCODING_BULGARIAN | ?wxFONTENCODING_CP437 | ?wxFONTENCODING_CP850 | ?wxFONTENCODING_CP852 | ?wxFONTENCODING_CP855 | ?wxFONTENCODING_CP866 | ?wxFONTENCODING_CP874 | ?wxFONTENCODING_CP932 | ?wxFONTENCODING_CP936 | ?wxFONTENCODING_CP949 | ?wxFONTENCODING_CP950 | ?wxFONTENCODING_CP1250 | ?wxFONTENCODING_CP1251 | ?wxFONTENCODING_CP1252 | ?wxFONTENCODING_CP1253 | ?wxFONTENCODING_CP1254 | ?wxFONTENCODING_CP1255 | ?wxFONTENCODING_CP1256 | ?wxFONTENCODING_CP1257 | ?wxFONTENCODING_CP12_MAX | ?wxFONTENCODING_UTF7 | ?wxFONTENCODING_UTF8 | ?wxFONTENCODING_EUC_JP | ?wxFONTENCODING_UTF16BE | ?wxFONTENCODING_UTF16LE | ?wxFONTENCODING_UTF32BE | ?wxFONTENCODING_UTF32LE | ?wxFONTENCODING_MACROMAN | ?wxFONTENCODING_MACJAPANESE | ?wxFONTENCODING_MACCHINESETRAD | ?wxFONTENCODING_MACKOREAN | ?wxFONTENCODING_MACARABIC | ?wxFONTENCODING_MACHEBREW | ?wxFONTENCODING_MACGREEK | ?wxFONTENCODING_MACCYRILLIC | ?wxFONTENCODING_MACDEVANAGARI | ?wxFONTENCODING_MACGURMUKHI | ?wxFONTENCODING_MACGUJARATI | ?wxFONTENCODING_MACORIYA | ?wxFONTENCODING_MACBENGALI | ?wxFONTENCODING_MACTAMIL | ?wxFONTENCODING_MACTELUGU | ?wxFONTENCODING_MACKANNADA | ?wxFONTENCODING_MACMALAJALAM | ?wxFONTENCODING_MACSINHALESE | ?wxFONTENCODING_MACBURMESE | ?wxFONTENCODING_MACKHMER | ?wxFONTENCODING_MACTHAI | ?wxFONTENCODING_MACLAOTIAN | ?wxFONTENCODING_MACGEORGIAN | ?wxFONTENCODING_MACARMENIAN | ?wxFONTENCODING_MACCHINESESIMP | ?wxFONTENCODING_MACTIBETAN | ?wxFONTENCODING_MACMONGOLIAN | ?wxFONTENCODING_MACETHIOPIC | ?wxFONTENCODING_MACCENTRALEUR | ?wxFONTENCODING_MACVIATNAMESE | ?wxFONTENCODING_MACARABICEXT | ?wxFONTENCODING_MACSYMBOL | ?wxFONTENCODING_MACDINGBATS | ?wxFONTENCODING_MACTURKISH | ?wxFONTENCODING_MACCROATIAN | ?wxFONTENCODING_MACICELANDIC | ?wxFONTENCODING_MACROMANIAN | ?wxFONTENCODING_MACCELTIC | ?wxFONTENCODING_MACGAELIC | ?wxFONTENCODING_MACKEYBOARD | ?wxFONTENCODING_MAX | ?wxFONTENCODING_MACMIN | ?wxFONTENCODING_MACMAX | ?wxFONTENCODING_UTF16 | ?wxFONTENCODING_UTF32 | ?wxFONTENCODING_UNICODE | ?wxFONTENCODING_GB2312 | ?wxFONTENCODING_BIG5 | ?wxFONTENCODING_SHIFT_JIS +%%
Encoding = ?wxFONTENCODING_SYSTEM | ?wxFONTENCODING_DEFAULT | ?wxFONTENCODING_ISO8859_1 | ?wxFONTENCODING_ISO8859_2 | ?wxFONTENCODING_ISO8859_3 | ?wxFONTENCODING_ISO8859_4 | ?wxFONTENCODING_ISO8859_5 | ?wxFONTENCODING_ISO8859_6 | ?wxFONTENCODING_ISO8859_7 | ?wxFONTENCODING_ISO8859_8 | ?wxFONTENCODING_ISO8859_9 | ?wxFONTENCODING_ISO8859_10 | ?wxFONTENCODING_ISO8859_11 | ?wxFONTENCODING_ISO8859_12 | ?wxFONTENCODING_ISO8859_13 | ?wxFONTENCODING_ISO8859_14 | ?wxFONTENCODING_ISO8859_15 | ?wxFONTENCODING_ISO8859_MAX | ?wxFONTENCODING_KOI8 | ?wxFONTENCODING_KOI8_U | ?wxFONTENCODING_ALTERNATIVE | ?wxFONTENCODING_BULGARIAN | ?wxFONTENCODING_CP437 | ?wxFONTENCODING_CP850 | ?wxFONTENCODING_CP852 | ?wxFONTENCODING_CP855 | ?wxFONTENCODING_CP866 | ?wxFONTENCODING_CP874 | ?wxFONTENCODING_CP932 | ?wxFONTENCODING_CP936 | ?wxFONTENCODING_CP949 | ?wxFONTENCODING_CP950 | ?wxFONTENCODING_CP1250 | ?wxFONTENCODING_CP1251 | ?wxFONTENCODING_CP1252 | ?wxFONTENCODING_CP1253 | ?wxFONTENCODING_CP1254 | ?wxFONTENCODING_CP1255 | ?wxFONTENCODING_CP1256 | ?wxFONTENCODING_CP1257 | ?wxFONTENCODING_CP12_MAX | ?wxFONTENCODING_UTF7 | ?wxFONTENCODING_UTF8 | ?wxFONTENCODING_EUC_JP | ?wxFONTENCODING_UTF16BE | ?wxFONTENCODING_UTF16LE | ?wxFONTENCODING_UTF32BE | ?wxFONTENCODING_UTF32LE | ?wxFONTENCODING_MACROMAN | ?wxFONTENCODING_MACJAPANESE | ?wxFONTENCODING_MACCHINESETRAD | ?wxFONTENCODING_MACKOREAN | ?wxFONTENCODING_MACARABIC | ?wxFONTENCODING_MACHEBREW | ?wxFONTENCODING_MACGREEK | ?wxFONTENCODING_MACCYRILLIC | ?wxFONTENCODING_MACDEVANAGARI | ?wxFONTENCODING_MACGURMUKHI | ?wxFONTENCODING_MACGUJARATI | ?wxFONTENCODING_MACORIYA | ?wxFONTENCODING_MACBENGALI | ?wxFONTENCODING_MACTAMIL | ?wxFONTENCODING_MACTELUGU | ?wxFONTENCODING_MACKANNADA | ?wxFONTENCODING_MACMALAJALAM | ?wxFONTENCODING_MACSINHALESE | ?wxFONTENCODING_MACBURMESE | ?wxFONTENCODING_MACKHMER | ?wxFONTENCODING_MACTHAI | ?wxFONTENCODING_MACLAOTIAN | ?wxFONTENCODING_MACGEORGIAN | ?wxFONTENCODING_MACARMENIAN | ?wxFONTENCODING_MACCHINESESIMP | ?wxFONTENCODING_MACTIBETAN | ?wxFONTENCODING_MACMONGOLIAN | ?wxFONTENCODING_MACETHIOPIC | ?wxFONTENCODING_MACCENTRALEUR | ?wxFONTENCODING_MACVIATNAMESE | ?wxFONTENCODING_MACARABICEXT | ?wxFONTENCODING_MACSYMBOL | ?wxFONTENCODING_MACDINGBATS | ?wxFONTENCODING_MACTURKISH | ?wxFONTENCODING_MACCROATIAN | ?wxFONTENCODING_MACICELANDIC | ?wxFONTENCODING_MACROMANIAN | ?wxFONTENCODING_MACCELTIC | ?wxFONTENCODING_MACGAELIC | ?wxFONTENCODING_MACKEYBOARD | ?wxFONTENCODING_MAX | ?wxFONTENCODING_MACMIN | ?wxFONTENCODING_MACMAX | ?wxFONTENCODING_UTF16 | ?wxFONTENCODING_UTF32 | ?wxFONTENCODING_UNICODE | ?wxFONTENCODING_GB2312 | ?wxFONTENCODING_BIG5 | ?wxFONTENCODING_SHIFT_JIS +-spec styleSetFontEncoding(This, Style, Encoding) -> ok when + This::wxStyledTextCtrl(), Style::integer(), Encoding::wx:wx_enum(). styleSetFontEncoding(#wx_ref{type=ThisT,ref=ThisRef},Style,Encoding) when is_integer(Style),is_integer(Encoding) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_StyleSetFontEncoding, <>). -%% @spec (This::wxStyledTextCtrl(), Cmd::integer()) -> ok %% @doc See external documentation. +-spec cmdKeyExecute(This, Cmd) -> ok when + This::wxStyledTextCtrl(), Cmd::integer(). cmdKeyExecute(#wx_ref{type=ThisT,ref=ThisRef},Cmd) when is_integer(Cmd) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_CmdKeyExecute, <>). -%% @spec (This::wxStyledTextCtrl(), Left::integer(), Right::integer()) -> ok %% @doc See external documentation. +-spec setMargins(This, Left, Right) -> ok when + This::wxStyledTextCtrl(), Left::integer(), Right::integer(). setMargins(#wx_ref{type=ThisT,ref=ThisRef},Left,Right) when is_integer(Left),is_integer(Right) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetMargins, <>). -%% @spec (This::wxStyledTextCtrl()) -> {StartPos::integer(), EndPos::integer()} %% @doc See external documentation. +-spec getSelection(This) -> {StartPos::integer(), EndPos::integer()} when + This::wxStyledTextCtrl(). getSelection(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetSelection, <>). -%% @spec (This::wxStyledTextCtrl(), Pos::integer()) -> {X::integer(), Y::integer()} %% @doc See external documentation. +-spec pointFromPosition(This, Pos) -> {X::integer(), Y::integer()} when + This::wxStyledTextCtrl(), Pos::integer(). pointFromPosition(#wx_ref{type=ThisT,ref=ThisRef},Pos) when is_integer(Pos) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_PointFromPosition, <>). -%% @spec (This::wxStyledTextCtrl(), Line::integer()) -> ok %% @doc See external documentation. +-spec scrollToLine(This, Line) -> ok when + This::wxStyledTextCtrl(), Line::integer(). scrollToLine(#wx_ref{type=ThisT,ref=ThisRef},Line) when is_integer(Line) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_ScrollToLine, <>). -%% @spec (This::wxStyledTextCtrl(), Column::integer()) -> ok %% @doc See external documentation. +-spec scrollToColumn(This, Column) -> ok when + This::wxStyledTextCtrl(), Column::integer(). scrollToColumn(#wx_ref{type=ThisT,ref=ThisRef},Column) when is_integer(Column) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_ScrollToColumn, <>). -%% @spec (This::wxStyledTextCtrl(), Msg::integer()) -> integer() %% @equiv sendMsg(This,Msg, []) +-spec sendMsg(This, Msg) -> integer() when + This::wxStyledTextCtrl(), Msg::integer(). + sendMsg(This,Msg) when is_record(This, wx_ref),is_integer(Msg) -> sendMsg(This,Msg, []). -%% @spec (This::wxStyledTextCtrl(), Msg::integer(), [Option]) -> integer() -%% Option = {wp, integer()} | {lp, integer()} %% @doc See external documentation. +-spec sendMsg(This, Msg, [Option]) -> integer() when + This::wxStyledTextCtrl(), Msg::integer(), + Option :: {wp, integer()} + | {lp, integer()}. sendMsg(#wx_ref{type=ThisT,ref=ThisRef},Msg, Options) when is_integer(Msg),is_list(Options) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -3467,39 +3911,44 @@ sendMsg(#wx_ref{type=ThisT,ref=ThisRef},Msg, Options) wxe_util:call(?wxStyledTextCtrl_SendMsg, <>). -%% @spec (This::wxStyledTextCtrl(), Bar::wxScrollBar:wxScrollBar()) -> ok %% @doc See external documentation. +-spec setVScrollBar(This, Bar) -> ok when + This::wxStyledTextCtrl(), Bar::wxScrollBar:wxScrollBar(). setVScrollBar(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BarT,ref=BarRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), ?CLASS(BarT,wxScrollBar), wxe_util:cast(?wxStyledTextCtrl_SetVScrollBar, <>). -%% @spec (This::wxStyledTextCtrl(), Bar::wxScrollBar:wxScrollBar()) -> ok %% @doc See external documentation. +-spec setHScrollBar(This, Bar) -> ok when + This::wxStyledTextCtrl(), Bar::wxScrollBar:wxScrollBar(). setHScrollBar(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BarT,ref=BarRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), ?CLASS(BarT,wxScrollBar), wxe_util:cast(?wxStyledTextCtrl_SetHScrollBar, <>). -%% @spec (This::wxStyledTextCtrl()) -> bool() %% @doc See external documentation. +-spec getLastKeydownProcessed(This) -> boolean() when + This::wxStyledTextCtrl(). getLastKeydownProcessed(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetLastKeydownProcessed, <>). -%% @spec (This::wxStyledTextCtrl(), Val::bool()) -> ok %% @doc See external documentation. +-spec setLastKeydownProcessed(This, Val) -> ok when + This::wxStyledTextCtrl(), Val::boolean(). setLastKeydownProcessed(#wx_ref{type=ThisT,ref=ThisRef},Val) when is_boolean(Val) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:cast(?wxStyledTextCtrl_SetLastKeydownProcessed, <>). -%% @spec (This::wxStyledTextCtrl(), Filename::string()) -> bool() %% @doc See external documentation. +-spec saveFile(This, Filename) -> boolean() when + This::wxStyledTextCtrl(), Filename::string(). saveFile(#wx_ref{type=ThisT,ref=ThisRef},Filename) when is_list(Filename) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -3507,8 +3956,9 @@ saveFile(#wx_ref{type=ThisT,ref=ThisRef},Filename) wxe_util:call(?wxStyledTextCtrl_SaveFile, <>). -%% @spec (This::wxStyledTextCtrl(), Filename::string()) -> bool() %% @doc See external documentation. +-spec loadFile(This, Filename) -> boolean() when + This::wxStyledTextCtrl(), Filename::string(). loadFile(#wx_ref{type=ThisT,ref=ThisRef},Filename) when is_list(Filename) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -3516,20 +3966,20 @@ loadFile(#wx_ref{type=ThisT,ref=ThisRef},Filename) wxe_util:call(?wxStyledTextCtrl_LoadFile, <>). -%% @spec (This::wxStyledTextCtrl(), X::integer(), Y::integer(), Def::WxDragResult) -> WxDragResult -%% WxDragResult = integer() -%% WxDragResult = integer() %% @doc See external documentation. -%%
WxDragResult is one of ?wxDragError | ?wxDragNone | ?wxDragCopy | ?wxDragMove | ?wxDragLink | ?wxDragCancel -%%
WxDragResult is one of ?wxDragError | ?wxDragNone | ?wxDragCopy | ?wxDragMove | ?wxDragLink | ?wxDragCancel +%%
Res = ?wxDragError | ?wxDragNone | ?wxDragCopy | ?wxDragMove | ?wxDragLink | ?wxDragCancel +%%
Def = ?wxDragError | ?wxDragNone | ?wxDragCopy | ?wxDragMove | ?wxDragLink | ?wxDragCancel +-spec doDragOver(This, X, Y, Def) -> wx:wx_enum() when + This::wxStyledTextCtrl(), X::integer(), Y::integer(), Def::wx:wx_enum(). doDragOver(#wx_ref{type=ThisT,ref=ThisRef},X,Y,Def) when is_integer(X),is_integer(Y),is_integer(Def) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_DoDragOver, <>). -%% @spec (This::wxStyledTextCtrl(), X::integer(), Y::integer(), Data::string()) -> bool() %% @doc See external documentation. +-spec doDropText(This, X, Y, Data) -> boolean() when + This::wxStyledTextCtrl(), X::integer(), Y::integer(), Data::string(). doDropText(#wx_ref{type=ThisT,ref=ThisRef},X,Y,Data) when is_integer(X),is_integer(Y),is_list(Data) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -3537,15 +3987,17 @@ doDropText(#wx_ref{type=ThisT,ref=ThisRef},X,Y,Data) wxe_util:call(?wxStyledTextCtrl_DoDropText, <>). -%% @spec (This::wxStyledTextCtrl()) -> bool() %% @doc See external documentation. +-spec getUseAntiAliasing(This) -> boolean() when + This::wxStyledTextCtrl(). getUseAntiAliasing(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetUseAntiAliasing, <>). -%% @spec (This::wxStyledTextCtrl(), Text::binary()) -> ok %% @doc See external documentation. +-spec addTextRaw(This, Text) -> ok when + This::wxStyledTextCtrl(), Text::binary(). addTextRaw(#wx_ref{type=ThisT,ref=ThisRef},Text) when is_binary(Text) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -3553,8 +4005,9 @@ addTextRaw(#wx_ref{type=ThisT,ref=ThisRef},Text) wxe_util:cast(?wxStyledTextCtrl_AddTextRaw, <>). -%% @spec (This::wxStyledTextCtrl(), Pos::integer(), Text::binary()) -> ok %% @doc See external documentation. +-spec insertTextRaw(This, Pos, Text) -> ok when + This::wxStyledTextCtrl(), Pos::integer(), Text::binary(). insertTextRaw(#wx_ref{type=ThisT,ref=ThisRef},Pos,Text) when is_integer(Pos),is_binary(Text) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -3562,38 +4015,44 @@ insertTextRaw(#wx_ref{type=ThisT,ref=ThisRef},Pos,Text) wxe_util:cast(?wxStyledTextCtrl_InsertTextRaw, <>). -%% @spec (This::wxStyledTextCtrl()) -> {binary(), LinePos::integer()} %% @doc See external documentation. +-spec getCurLineRaw(This) -> Result when + Result ::{Res ::binary(), LinePos::integer()}, + This::wxStyledTextCtrl(). getCurLineRaw(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetCurLineRaw, <>). -%% @spec (This::wxStyledTextCtrl(), Line::integer()) -> binary() %% @doc See external documentation. +-spec getLineRaw(This, Line) -> binary() when + This::wxStyledTextCtrl(), Line::integer(). getLineRaw(#wx_ref{type=ThisT,ref=ThisRef},Line) when is_integer(Line) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetLineRaw, <>). -%% @spec (This::wxStyledTextCtrl()) -> binary() %% @doc See external documentation. +-spec getSelectedTextRaw(This) -> binary() when + This::wxStyledTextCtrl(). getSelectedTextRaw(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetSelectedTextRaw, <>). -%% @spec (This::wxStyledTextCtrl(), StartPos::integer(), EndPos::integer()) -> binary() %% @doc See external documentation. +-spec getTextRangeRaw(This, StartPos, EndPos) -> binary() when + This::wxStyledTextCtrl(), StartPos::integer(), EndPos::integer(). getTextRangeRaw(#wx_ref{type=ThisT,ref=ThisRef},StartPos,EndPos) when is_integer(StartPos),is_integer(EndPos) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetTextRangeRaw, <>). -%% @spec (This::wxStyledTextCtrl(), Text::binary()) -> ok %% @doc See external documentation. +-spec setTextRaw(This, Text) -> ok when + This::wxStyledTextCtrl(), Text::binary(). setTextRaw(#wx_ref{type=ThisT,ref=ThisRef},Text) when is_binary(Text) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -3601,15 +4060,17 @@ setTextRaw(#wx_ref{type=ThisT,ref=ThisRef},Text) wxe_util:cast(?wxStyledTextCtrl_SetTextRaw, <>). -%% @spec (This::wxStyledTextCtrl()) -> binary() %% @doc See external documentation. +-spec getTextRaw(This) -> binary() when + This::wxStyledTextCtrl(). getTextRaw(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), wxe_util:call(?wxStyledTextCtrl_GetTextRaw, <>). -%% @spec (This::wxStyledTextCtrl(), Text::binary()) -> ok %% @doc See external documentation. +-spec appendTextRaw(This, Text) -> ok when + This::wxStyledTextCtrl(), Text::binary(). appendTextRaw(#wx_ref{type=ThisT,ref=ThisRef},Text) when is_binary(Text) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -3617,8 +4078,8 @@ appendTextRaw(#wx_ref{type=ThisT,ref=ThisRef},Text) wxe_util:cast(?wxStyledTextCtrl_AppendTextRaw, <>). -%% @spec (This::wxStyledTextCtrl()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxStyledTextCtrl) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxStyledTextCtrl), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxStyledTextEvent.erl b/lib/wx/src/gen/wxStyledTextEvent.erl index 5d98ae585d..9c1343ef85 100644 --- a/lib/wx/src/gen/wxStyledTextEvent.erl +++ b/lib/wx/src/gen/wxStyledTextEvent.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -44,169 +44,193 @@ parent_class/1,resumePropagation/2,setInt/2,setString/2,shouldPropagate/1, skip/1,skip/2,stopPropagation/1]). +-export_type([wxStyledTextEvent/0]). %% @hidden parent_class(wxCommandEvent) -> true; parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxStyledTextEvent()) -> integer() +-type wxStyledTextEvent() :: wx:wx_object(). %% @doc See external documentation. +-spec getPosition(This) -> integer() when + This::wxStyledTextEvent(). getPosition(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextEvent), wxe_util:call(?wxStyledTextEvent_GetPosition, <>). -%% @spec (This::wxStyledTextEvent()) -> integer() %% @doc See external documentation. +-spec getKey(This) -> integer() when + This::wxStyledTextEvent(). getKey(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextEvent), wxe_util:call(?wxStyledTextEvent_GetKey, <>). -%% @spec (This::wxStyledTextEvent()) -> integer() %% @doc See external documentation. +-spec getModifiers(This) -> integer() when + This::wxStyledTextEvent(). getModifiers(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextEvent), wxe_util:call(?wxStyledTextEvent_GetModifiers, <>). -%% @spec (This::wxStyledTextEvent()) -> integer() %% @doc See external documentation. +-spec getModificationType(This) -> integer() when + This::wxStyledTextEvent(). getModificationType(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextEvent), wxe_util:call(?wxStyledTextEvent_GetModificationType, <>). -%% @spec (This::wxStyledTextEvent()) -> string() %% @doc See external documentation. +-spec getText(This) -> string() when + This::wxStyledTextEvent(). getText(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextEvent), wxe_util:call(?wxStyledTextEvent_GetText, <>). -%% @spec (This::wxStyledTextEvent()) -> integer() %% @doc See external documentation. +-spec getLength(This) -> integer() when + This::wxStyledTextEvent(). getLength(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextEvent), wxe_util:call(?wxStyledTextEvent_GetLength, <>). -%% @spec (This::wxStyledTextEvent()) -> integer() %% @doc See external documentation. +-spec getLinesAdded(This) -> integer() when + This::wxStyledTextEvent(). getLinesAdded(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextEvent), wxe_util:call(?wxStyledTextEvent_GetLinesAdded, <>). -%% @spec (This::wxStyledTextEvent()) -> integer() %% @doc See external documentation. +-spec getLine(This) -> integer() when + This::wxStyledTextEvent(). getLine(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextEvent), wxe_util:call(?wxStyledTextEvent_GetLine, <>). -%% @spec (This::wxStyledTextEvent()) -> integer() %% @doc See external documentation. +-spec getFoldLevelNow(This) -> integer() when + This::wxStyledTextEvent(). getFoldLevelNow(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextEvent), wxe_util:call(?wxStyledTextEvent_GetFoldLevelNow, <>). -%% @spec (This::wxStyledTextEvent()) -> integer() %% @doc See external documentation. +-spec getFoldLevelPrev(This) -> integer() when + This::wxStyledTextEvent(). getFoldLevelPrev(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextEvent), wxe_util:call(?wxStyledTextEvent_GetFoldLevelPrev, <>). -%% @spec (This::wxStyledTextEvent()) -> integer() %% @doc See external documentation. +-spec getMargin(This) -> integer() when + This::wxStyledTextEvent(). getMargin(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextEvent), wxe_util:call(?wxStyledTextEvent_GetMargin, <>). -%% @spec (This::wxStyledTextEvent()) -> integer() %% @doc See external documentation. +-spec getMessage(This) -> integer() when + This::wxStyledTextEvent(). getMessage(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextEvent), wxe_util:call(?wxStyledTextEvent_GetMessage, <>). -%% @spec (This::wxStyledTextEvent()) -> integer() %% @doc See external documentation. +-spec getWParam(This) -> integer() when + This::wxStyledTextEvent(). getWParam(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextEvent), wxe_util:call(?wxStyledTextEvent_GetWParam, <>). -%% @spec (This::wxStyledTextEvent()) -> integer() %% @doc See external documentation. +-spec getLParam(This) -> integer() when + This::wxStyledTextEvent(). getLParam(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextEvent), wxe_util:call(?wxStyledTextEvent_GetLParam, <>). -%% @spec (This::wxStyledTextEvent()) -> integer() %% @doc See external documentation. +-spec getListType(This) -> integer() when + This::wxStyledTextEvent(). getListType(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextEvent), wxe_util:call(?wxStyledTextEvent_GetListType, <>). -%% @spec (This::wxStyledTextEvent()) -> integer() %% @doc See external documentation. +-spec getX(This) -> integer() when + This::wxStyledTextEvent(). getX(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextEvent), wxe_util:call(?wxStyledTextEvent_GetX, <>). -%% @spec (This::wxStyledTextEvent()) -> integer() %% @doc See external documentation. +-spec getY(This) -> integer() when + This::wxStyledTextEvent(). getY(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextEvent), wxe_util:call(?wxStyledTextEvent_GetY, <>). -%% @spec (This::wxStyledTextEvent()) -> string() %% @doc See external documentation. +-spec getDragText(This) -> string() when + This::wxStyledTextEvent(). getDragText(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextEvent), wxe_util:call(?wxStyledTextEvent_GetDragText, <>). -%% @spec (This::wxStyledTextEvent()) -> bool() %% @doc See external documentation. +-spec getDragAllowMove(This) -> boolean() when + This::wxStyledTextEvent(). getDragAllowMove(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextEvent), wxe_util:call(?wxStyledTextEvent_GetDragAllowMove, <>). -%% @spec (This::wxStyledTextEvent()) -> WxDragResult -%% WxDragResult = integer() %% @doc See external documentation. -%%
WxDragResult is one of ?wxDragError | ?wxDragNone | ?wxDragCopy | ?wxDragMove | ?wxDragLink | ?wxDragCancel +%%
Res = ?wxDragError | ?wxDragNone | ?wxDragCopy | ?wxDragMove | ?wxDragLink | ?wxDragCancel +-spec getDragResult(This) -> wx:wx_enum() when + This::wxStyledTextEvent(). getDragResult(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextEvent), wxe_util:call(?wxStyledTextEvent_GetDragResult, <>). -%% @spec (This::wxStyledTextEvent()) -> bool() %% @doc See external documentation. +-spec getShift(This) -> boolean() when + This::wxStyledTextEvent(). getShift(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextEvent), wxe_util:call(?wxStyledTextEvent_GetShift, <>). -%% @spec (This::wxStyledTextEvent()) -> bool() %% @doc See external documentation. +-spec getControl(This) -> boolean() when + This::wxStyledTextEvent(). getControl(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextEvent), wxe_util:call(?wxStyledTextEvent_GetControl, <>). -%% @spec (This::wxStyledTextEvent()) -> bool() %% @doc See external documentation. +-spec getAlt(This) -> boolean() when + This::wxStyledTextEvent(). getAlt(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextEvent), wxe_util:call(?wxStyledTextEvent_GetAlt, diff --git a/lib/wx/src/gen/wxSysColourChangedEvent.erl b/lib/wx/src/gen/wxSysColourChangedEvent.erl index 0d86edcf5b..94777748d2 100644 --- a/lib/wx/src/gen/wxSysColourChangedEvent.erl +++ b/lib/wx/src/gen/wxSysColourChangedEvent.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,10 +37,12 @@ -export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1, resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]). +-export_type([wxSysColourChangedEvent/0]). %% @hidden parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). +-type wxSysColourChangedEvent() :: wx:wx_object(). %% From wxEvent %% @hidden stopPropagation(This) -> wxEvent:stopPropagation(This). diff --git a/lib/wx/src/gen/wxSystemOptions.erl b/lib/wx/src/gen/wxSystemOptions.erl index d5e504632b..a94b74136f 100644 --- a/lib/wx/src/gen/wxSystemOptions.erl +++ b/lib/wx/src/gen/wxSystemOptions.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,50 +29,52 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxSystemOptions/0]). %% @hidden parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (Name::string()) -> string() +-type wxSystemOptions() :: wx:wx_object(). %% @doc See external documentation. +-spec getOption(Name) -> string() when + Name::string(). getOption(Name) when is_list(Name) -> Name_UC = unicode:characters_to_binary([Name,0]), wxe_util:call(?wxSystemOptions_GetOption, <<(byte_size(Name_UC)):32/?UI,(Name_UC)/binary, 0:(((8- ((4+byte_size(Name_UC)) band 16#7)) band 16#7))/unit:8>>). -%% @spec (Name::string()) -> integer() %% @doc See external documentation. +-spec getOptionInt(Name) -> integer() when + Name::string(). getOptionInt(Name) when is_list(Name) -> Name_UC = unicode:characters_to_binary([Name,0]), wxe_util:call(?wxSystemOptions_GetOptionInt, <<(byte_size(Name_UC)):32/?UI,(Name_UC)/binary, 0:(((8- ((4+byte_size(Name_UC)) band 16#7)) band 16#7))/unit:8>>). -%% @spec (Name::string()) -> bool() %% @doc See external documentation. +-spec hasOption(Name) -> boolean() when + Name::string(). hasOption(Name) when is_list(Name) -> Name_UC = unicode:characters_to_binary([Name,0]), wxe_util:call(?wxSystemOptions_HasOption, <<(byte_size(Name_UC)):32/?UI,(Name_UC)/binary, 0:(((8- ((4+byte_size(Name_UC)) band 16#7)) band 16#7))/unit:8>>). -%% @spec (Name::string()) -> bool() %% @doc See external documentation. +-spec isFalse(Name) -> boolean() when + Name::string(). isFalse(Name) when is_list(Name) -> Name_UC = unicode:characters_to_binary([Name,0]), wxe_util:call(?wxSystemOptions_IsFalse, <<(byte_size(Name_UC)):32/?UI,(Name_UC)/binary, 0:(((8- ((4+byte_size(Name_UC)) band 16#7)) band 16#7))/unit:8>>). -%% @spec (Name::string(),X::integer()|string()) -> ok %% @doc See external documentation. -%%
Alternatives: -%%

-%% setOption(Name::string(), Value::integer()) -> ok -%%

-%%

-%% setOption(Name::string(), Value::string()) -> ok -%%

+-spec setOption(Name, Value) -> ok when + Name::string(), Value::integer(); + (Name, Value) -> ok when + Name::string(), Value::string(). setOption(Name,Value) when is_list(Name),is_integer(Value) -> Name_UC = unicode:characters_to_binary([Name,0]), diff --git a/lib/wx/src/gen/wxSystemSettings.erl b/lib/wx/src/gen/wxSystemSettings.erl index 3f7e0a1ad6..fce9572ae9 100644 --- a/lib/wx/src/gen/wxSystemSettings.erl +++ b/lib/wx/src/gen/wxSystemSettings.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,38 +29,42 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxSystemSettings/0]). %% @hidden parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (Index::WxSystemColour) -> wx:colour() -%% WxSystemColour = integer() +-type wxSystemSettings() :: wx:wx_object(). %% @doc See external documentation. -%%
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 +%%
Index = ?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 +-spec getColour(Index) -> wx:wx_colour() when + Index::wx:wx_enum(). getColour(Index) when is_integer(Index) -> wxe_util:call(?wxSystemSettings_GetColour, <>). -%% @spec (Index::WxSystemFont) -> wxFont:wxFont() -%% WxSystemFont = integer() %% @doc See external documentation. -%%
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 +%%
Index = ?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 +-spec getFont(Index) -> wxFont:wxFont() when + Index::wx:wx_enum(). getFont(Index) when is_integer(Index) -> wxe_util:call(?wxSystemSettings_GetFont, <>). -%% @spec (Index::WxSystemMetric) -> integer() %% @equiv getMetric(Index, []) +-spec getMetric(Index) -> integer() when + Index::wx:wx_enum(). + getMetric(Index) when is_integer(Index) -> getMetric(Index, []). -%% @spec (Index::WxSystemMetric, [Option]) -> integer() -%% Option = {win, wxWindow:wxWindow()} -%% WxSystemMetric = integer() %% @doc See external documentation. -%%
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 +%%
Index = ?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 +-spec getMetric(Index, [Option]) -> integer() when + Index::wx:wx_enum(), + Option :: {win, wxWindow:wxWindow()}. 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]; @@ -69,10 +73,9 @@ getMetric(Index, Options) wxe_util:call(?wxSystemSettings_GetMetric, <>). -%% @spec () -> WxSystemScreenType -%% WxSystemScreenType = integer() %% @doc See external documentation. -%%
WxSystemScreenType is one of ?wxSYS_SCREEN_NONE | ?wxSYS_SCREEN_TINY | ?wxSYS_SCREEN_PDA | ?wxSYS_SCREEN_SMALL | ?wxSYS_SCREEN_DESKTOP +%%
Res = ?wxSYS_SCREEN_NONE | ?wxSYS_SCREEN_TINY | ?wxSYS_SCREEN_PDA | ?wxSYS_SCREEN_SMALL | ?wxSYS_SCREEN_DESKTOP +-spec getScreenType() -> wx:wx_enum(). getScreenType() -> wxe_util:call(?wxSystemSettings_GetScreenType, <<>>). diff --git a/lib/wx/src/gen/wxTextAttr.erl b/lib/wx/src/gen/wxTextAttr.erl index 056dc59161..1e3872421b 100644 --- a/lib/wx/src/gen/wxTextAttr.erl +++ b/lib/wx/src/gen/wxTextAttr.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -34,26 +34,32 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxTextAttr/0]). %% @hidden parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxTextAttr() +-type wxTextAttr() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxTextAttr(). new() -> wxe_util:construct(?wxTextAttr_new_0, <<>>). -%% @spec (ColText::wx:colour()) -> wxTextAttr() %% @equiv new(ColText, []) +-spec new(ColText) -> wxTextAttr() when + ColText::wx:wx_colour(). + new(ColText) when tuple_size(ColText) =:= 3; tuple_size(ColText) =:= 4 -> new(ColText, []). -%% @spec (ColText::wx:colour(), [Option]) -> wxTextAttr() -%% Option = {colBack, wx:colour()} | {font, wxFont:wxFont()} | {alignment, WxTextAttrAlignment} -%% WxTextAttrAlignment = integer() %% @doc See external documentation. -%%
WxTextAttrAlignment is one of ?wxTEXT_ALIGNMENT_DEFAULT | ?wxTEXT_ALIGNMENT_LEFT | ?wxTEXT_ALIGNMENT_CENTRE | ?wxTEXT_ALIGNMENT_CENTER | ?wxTEXT_ALIGNMENT_RIGHT | ?wxTEXT_ALIGNMENT_JUSTIFIED +%%
Alignment = ?wxTEXT_ALIGNMENT_DEFAULT | ?wxTEXT_ALIGNMENT_LEFT | ?wxTEXT_ALIGNMENT_CENTRE | ?wxTEXT_ALIGNMENT_CENTER | ?wxTEXT_ALIGNMENT_RIGHT | ?wxTEXT_ALIGNMENT_JUSTIFIED +-spec new(ColText, [Option]) -> wxTextAttr() when + ColText::wx:wx_colour(), + Option :: {colBack, wx:wx_colour()} + | {font, wxFont:wxFont()} + | {alignment, wx:wx_enum()}. new(ColText, Options) when tuple_size(ColText) =:= 3; tuple_size(ColText) =:= 4,is_list(Options) -> MOpts = fun({colBack, ColBack}, Acc) -> [<<1:32/?UI,(wxe_util:colour_bin(ColBack)):16/binary,0:32>>|Acc]; @@ -64,134 +70,151 @@ new(ColText, Options) wxe_util:construct(?wxTextAttr_new_2, <<(wxe_util:colour_bin(ColText)):16/binary, BinOpt/binary>>). -%% @spec (This::wxTextAttr()) -> WxTextAttrAlignment -%% WxTextAttrAlignment = integer() %% @doc See external documentation. -%%
WxTextAttrAlignment is one of ?wxTEXT_ALIGNMENT_DEFAULT | ?wxTEXT_ALIGNMENT_LEFT | ?wxTEXT_ALIGNMENT_CENTRE | ?wxTEXT_ALIGNMENT_CENTER | ?wxTEXT_ALIGNMENT_RIGHT | ?wxTEXT_ALIGNMENT_JUSTIFIED +%%
Res = ?wxTEXT_ALIGNMENT_DEFAULT | ?wxTEXT_ALIGNMENT_LEFT | ?wxTEXT_ALIGNMENT_CENTRE | ?wxTEXT_ALIGNMENT_CENTER | ?wxTEXT_ALIGNMENT_RIGHT | ?wxTEXT_ALIGNMENT_JUSTIFIED +-spec getAlignment(This) -> wx:wx_enum() when + This::wxTextAttr(). getAlignment(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTextAttr), wxe_util:call(?wxTextAttr_GetAlignment, <>). -%% @spec (This::wxTextAttr()) -> wx:colour() %% @doc See external documentation. +-spec getBackgroundColour(This) -> wx:wx_colour() when + This::wxTextAttr(). getBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTextAttr), wxe_util:call(?wxTextAttr_GetBackgroundColour, <>). -%% @spec (This::wxTextAttr()) -> wxFont:wxFont() %% @doc See external documentation. +-spec getFont(This) -> wxFont:wxFont() when + This::wxTextAttr(). getFont(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTextAttr), wxe_util:call(?wxTextAttr_GetFont, <>). -%% @spec (This::wxTextAttr()) -> integer() %% @doc See external documentation. +-spec getLeftIndent(This) -> integer() when + This::wxTextAttr(). getLeftIndent(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTextAttr), wxe_util:call(?wxTextAttr_GetLeftIndent, <>). -%% @spec (This::wxTextAttr()) -> integer() %% @doc See external documentation. +-spec getLeftSubIndent(This) -> integer() when + This::wxTextAttr(). getLeftSubIndent(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTextAttr), wxe_util:call(?wxTextAttr_GetLeftSubIndent, <>). -%% @spec (This::wxTextAttr()) -> integer() %% @doc See external documentation. +-spec getRightIndent(This) -> integer() when + This::wxTextAttr(). getRightIndent(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTextAttr), wxe_util:call(?wxTextAttr_GetRightIndent, <>). -%% @spec (This::wxTextAttr()) -> [integer()] %% @doc See external documentation. +-spec getTabs(This) -> [integer()] when + This::wxTextAttr(). getTabs(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTextAttr), wxe_util:call(?wxTextAttr_GetTabs, <>). -%% @spec (This::wxTextAttr()) -> wx:colour() %% @doc See external documentation. +-spec getTextColour(This) -> wx:wx_colour() when + This::wxTextAttr(). getTextColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTextAttr), wxe_util:call(?wxTextAttr_GetTextColour, <>). -%% @spec (This::wxTextAttr()) -> bool() %% @doc See external documentation. +-spec hasBackgroundColour(This) -> boolean() when + This::wxTextAttr(). hasBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTextAttr), wxe_util:call(?wxTextAttr_HasBackgroundColour, <>). -%% @spec (This::wxTextAttr()) -> bool() %% @doc See external documentation. +-spec hasFont(This) -> boolean() when + This::wxTextAttr(). hasFont(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTextAttr), wxe_util:call(?wxTextAttr_HasFont, <>). -%% @spec (This::wxTextAttr()) -> bool() %% @doc See external documentation. +-spec hasTextColour(This) -> boolean() when + This::wxTextAttr(). hasTextColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTextAttr), wxe_util:call(?wxTextAttr_HasTextColour, <>). -%% @spec (This::wxTextAttr()) -> integer() %% @doc See external documentation. +-spec getFlags(This) -> integer() when + This::wxTextAttr(). getFlags(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTextAttr), wxe_util:call(?wxTextAttr_GetFlags, <>). -%% @spec (This::wxTextAttr()) -> bool() %% @doc See external documentation. +-spec isDefault(This) -> boolean() when + This::wxTextAttr(). isDefault(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTextAttr), wxe_util:call(?wxTextAttr_IsDefault, <>). -%% @spec (This::wxTextAttr(), Alignment::WxTextAttrAlignment) -> ok -%% WxTextAttrAlignment = integer() %% @doc See external documentation. -%%
WxTextAttrAlignment is one of ?wxTEXT_ALIGNMENT_DEFAULT | ?wxTEXT_ALIGNMENT_LEFT | ?wxTEXT_ALIGNMENT_CENTRE | ?wxTEXT_ALIGNMENT_CENTER | ?wxTEXT_ALIGNMENT_RIGHT | ?wxTEXT_ALIGNMENT_JUSTIFIED +%%
Alignment = ?wxTEXT_ALIGNMENT_DEFAULT | ?wxTEXT_ALIGNMENT_LEFT | ?wxTEXT_ALIGNMENT_CENTRE | ?wxTEXT_ALIGNMENT_CENTER | ?wxTEXT_ALIGNMENT_RIGHT | ?wxTEXT_ALIGNMENT_JUSTIFIED +-spec setAlignment(This, Alignment) -> ok when + This::wxTextAttr(), Alignment::wx:wx_enum(). setAlignment(#wx_ref{type=ThisT,ref=ThisRef},Alignment) when is_integer(Alignment) -> ?CLASS(ThisT,wxTextAttr), wxe_util:cast(?wxTextAttr_SetAlignment, <>). -%% @spec (This::wxTextAttr(), ColBack::wx:colour()) -> ok %% @doc See external documentation. +-spec setBackgroundColour(This, ColBack) -> ok when + This::wxTextAttr(), ColBack::wx:wx_colour(). setBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef},ColBack) when tuple_size(ColBack) =:= 3; tuple_size(ColBack) =:= 4 -> ?CLASS(ThisT,wxTextAttr), wxe_util:cast(?wxTextAttr_SetBackgroundColour, <>). -%% @spec (This::wxTextAttr(), Flags::integer()) -> ok %% @doc See external documentation. +-spec setFlags(This, Flags) -> ok when + This::wxTextAttr(), Flags::integer(). setFlags(#wx_ref{type=ThisT,ref=ThisRef},Flags) when is_integer(Flags) -> ?CLASS(ThisT,wxTextAttr), wxe_util:cast(?wxTextAttr_SetFlags, <>). -%% @spec (This::wxTextAttr(), Font::wxFont:wxFont()) -> ok %% @equiv setFont(This,Font, []) +-spec setFont(This, Font) -> ok when + This::wxTextAttr(), Font::wxFont:wxFont(). + setFont(This,Font) when is_record(This, wx_ref),is_record(Font, wx_ref) -> setFont(This,Font, []). -%% @spec (This::wxTextAttr(), Font::wxFont:wxFont(), [Option]) -> ok -%% Option = {flags, integer()} %% @doc See external documentation. +-spec setFont(This, Font, [Option]) -> ok when + This::wxTextAttr(), Font::wxFont:wxFont(), + Option :: {flags, integer()}. setFont(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FontT,ref=FontRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxTextAttr), @@ -202,15 +225,18 @@ setFont(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FontT,ref=FontRef}, Options wxe_util:cast(?wxTextAttr_SetFont, <>). -%% @spec (This::wxTextAttr(), Indent::integer()) -> ok %% @equiv setLeftIndent(This,Indent, []) +-spec setLeftIndent(This, Indent) -> ok when + This::wxTextAttr(), Indent::integer(). + setLeftIndent(This,Indent) when is_record(This, wx_ref),is_integer(Indent) -> setLeftIndent(This,Indent, []). -%% @spec (This::wxTextAttr(), Indent::integer(), [Option]) -> ok -%% Option = {subIndent, integer()} %% @doc See external documentation. +-spec setLeftIndent(This, Indent, [Option]) -> ok when + This::wxTextAttr(), Indent::integer(), + Option :: {subIndent, integer()}. setLeftIndent(#wx_ref{type=ThisT,ref=ThisRef},Indent, Options) when is_integer(Indent),is_list(Options) -> ?CLASS(ThisT,wxTextAttr), @@ -220,16 +246,18 @@ setLeftIndent(#wx_ref{type=ThisT,ref=ThisRef},Indent, Options) wxe_util:cast(?wxTextAttr_SetLeftIndent, <>). -%% @spec (This::wxTextAttr(), Indent::integer()) -> ok %% @doc See external documentation. +-spec setRightIndent(This, Indent) -> ok when + This::wxTextAttr(), Indent::integer(). setRightIndent(#wx_ref{type=ThisT,ref=ThisRef},Indent) when is_integer(Indent) -> ?CLASS(ThisT,wxTextAttr), wxe_util:cast(?wxTextAttr_SetRightIndent, <>). -%% @spec (This::wxTextAttr(), Tabs::[integer()]) -> ok %% @doc See external documentation. +-spec setTabs(This, Tabs) -> ok when + This::wxTextAttr(), Tabs::[integer()]. setTabs(#wx_ref{type=ThisT,ref=ThisRef},Tabs) when is_list(Tabs) -> ?CLASS(ThisT,wxTextAttr), @@ -237,16 +265,17 @@ setTabs(#wx_ref{type=ThisT,ref=ThisRef},Tabs) <> || C <- Tabs>>)/binary, 0:(((0+length(Tabs)) rem 2)*32)>>). -%% @spec (This::wxTextAttr(), ColText::wx:colour()) -> ok %% @doc See external documentation. +-spec setTextColour(This, ColText) -> ok when + This::wxTextAttr(), ColText::wx:wx_colour(). setTextColour(#wx_ref{type=ThisT,ref=ThisRef},ColText) when tuple_size(ColText) =:= 3; tuple_size(ColText) =:= 4 -> ?CLASS(ThisT,wxTextAttr), wxe_util:cast(?wxTextAttr_SetTextColour, <>). -%% @spec (This::wxTextAttr()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxTextAttr) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxTextAttr), wxe_util:destroy(?wxTextAttr_destroy,Obj), diff --git a/lib/wx/src/gen/wxTextCtrl.erl b/lib/wx/src/gen/wxTextCtrl.erl index b32f45b83b..fa83913a6f 100644 --- a/lib/wx/src/gen/wxTextCtrl.erl +++ b/lib/wx/src/gen/wxTextCtrl.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -77,27 +77,36 @@ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1, update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxTextCtrl/0]). %% @hidden parent_class(wxControl) -> true; parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxTextCtrl() +-type wxTextCtrl() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxTextCtrl(). new() -> wxe_util:construct(?wxTextCtrl_new_0, <<>>). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer()) -> wxTextCtrl() %% @equiv new(Parent,Id, []) +-spec new(Parent, Id) -> wxTextCtrl() when + Parent::wxWindow:wxWindow(), Id::integer(). + new(Parent,Id) when is_record(Parent, wx_ref),is_integer(Id) -> new(Parent,Id, []). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> wxTextCtrl() -%% Option = {value, string()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx:wx()} %% @doc See external documentation. +-spec new(Parent, Id, [Option]) -> wxTextCtrl() when + Parent::wxWindow:wxWindow(), Id::integer(), + Option :: {value, string()} + | {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()} + | {validator, wx:wx()}. new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options) when is_integer(Id),is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -111,8 +120,9 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options) wxe_util:construct(?wxTextCtrl_new_3, <>). -%% @spec (This::wxTextCtrl(), Text::string()) -> ok %% @doc See external documentation. +-spec appendText(This, Text) -> ok when + This::wxTextCtrl(), Text::string(). appendText(#wx_ref{type=ThisT,ref=ThisRef},Text) when is_list(Text) -> ?CLASS(ThisT,wxTextCtrl), @@ -120,64 +130,78 @@ appendText(#wx_ref{type=ThisT,ref=ThisRef},Text) wxe_util:cast(?wxTextCtrl_AppendText, <>). -%% @spec (This::wxTextCtrl()) -> bool() %% @doc See external documentation. +-spec canCopy(This) -> boolean() when + This::wxTextCtrl(). canCopy(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTextCtrl), wxe_util:call(?wxTextCtrl_CanCopy, <>). -%% @spec (This::wxTextCtrl()) -> bool() %% @doc See external documentation. +-spec canCut(This) -> boolean() when + This::wxTextCtrl(). canCut(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTextCtrl), wxe_util:call(?wxTextCtrl_CanCut, <>). -%% @spec (This::wxTextCtrl()) -> bool() %% @doc See external documentation. +-spec canPaste(This) -> boolean() when + This::wxTextCtrl(). canPaste(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTextCtrl), wxe_util:call(?wxTextCtrl_CanPaste, <>). -%% @spec (This::wxTextCtrl()) -> bool() %% @doc See external documentation. +-spec canRedo(This) -> boolean() when + This::wxTextCtrl(). canRedo(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTextCtrl), wxe_util:call(?wxTextCtrl_CanRedo, <>). -%% @spec (This::wxTextCtrl()) -> bool() %% @doc See external documentation. +-spec canUndo(This) -> boolean() when + This::wxTextCtrl(). canUndo(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTextCtrl), wxe_util:call(?wxTextCtrl_CanUndo, <>). -%% @spec (This::wxTextCtrl()) -> ok %% @doc See external documentation. +-spec clear(This) -> ok when + This::wxTextCtrl(). clear(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTextCtrl), wxe_util:cast(?wxTextCtrl_Clear, <>). -%% @spec (This::wxTextCtrl()) -> ok %% @doc See external documentation. +-spec copy(This) -> ok when + This::wxTextCtrl(). copy(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTextCtrl), wxe_util:cast(?wxTextCtrl_Copy, <>). -%% @spec (This::wxTextCtrl(), Parent::wxWindow:wxWindow(), Id::integer()) -> bool() %% @equiv create(This,Parent,Id, []) +-spec create(This, Parent, Id) -> boolean() when + This::wxTextCtrl(), Parent::wxWindow:wxWindow(), Id::integer(). + create(This,Parent,Id) when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id) -> create(This,Parent,Id, []). -%% @spec (This::wxTextCtrl(), Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> bool() -%% Option = {value, string()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx:wx()} %% @doc See external documentation. +-spec create(This, Parent, Id, [Option]) -> boolean() when + This::wxTextCtrl(), Parent::wxWindow:wxWindow(), Id::integer(), + Option :: {value, string()} + | {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()} + | {validator, wx:wx()}. create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id, Options) when is_integer(Id),is_list(Options) -> ?CLASS(ThisT,wxTextCtrl), @@ -192,96 +216,109 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id, O wxe_util:call(?wxTextCtrl_Create, <>). -%% @spec (This::wxTextCtrl()) -> ok %% @doc See external documentation. +-spec cut(This) -> ok when + This::wxTextCtrl(). cut(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTextCtrl), wxe_util:cast(?wxTextCtrl_Cut, <>). -%% @spec (This::wxTextCtrl()) -> ok %% @doc See external documentation. +-spec discardEdits(This) -> ok when + This::wxTextCtrl(). discardEdits(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTextCtrl), wxe_util:cast(?wxTextCtrl_DiscardEdits, <>). -%% @spec (This::wxTextCtrl(), Event::wxKeyEvent:wxKeyEvent()) -> bool() %% @doc See external documentation. +-spec emulateKeyPress(This, Event) -> boolean() when + This::wxTextCtrl(), Event::wxKeyEvent:wxKeyEvent(). emulateKeyPress(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=EventT,ref=EventRef}) -> ?CLASS(ThisT,wxTextCtrl), ?CLASS(EventT,wxKeyEvent), wxe_util:call(?wxTextCtrl_EmulateKeyPress, <>). -%% @spec (This::wxTextCtrl()) -> wxTextAttr:wxTextAttr() %% @doc See external documentation. +-spec getDefaultStyle(This) -> wxTextAttr:wxTextAttr() when + This::wxTextCtrl(). getDefaultStyle(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTextCtrl), wxe_util:call(?wxTextCtrl_GetDefaultStyle, <>). -%% @spec (This::wxTextCtrl()) -> integer() %% @doc See external documentation. +-spec getInsertionPoint(This) -> integer() when + This::wxTextCtrl(). getInsertionPoint(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTextCtrl), wxe_util:call(?wxTextCtrl_GetInsertionPoint, <>). -%% @spec (This::wxTextCtrl()) -> integer() %% @doc See external documentation. +-spec getLastPosition(This) -> integer() when + This::wxTextCtrl(). getLastPosition(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTextCtrl), wxe_util:call(?wxTextCtrl_GetLastPosition, <>). -%% @spec (This::wxTextCtrl(), LineNo::integer()) -> integer() %% @doc See external documentation. +-spec getLineLength(This, LineNo) -> integer() when + This::wxTextCtrl(), LineNo::integer(). getLineLength(#wx_ref{type=ThisT,ref=ThisRef},LineNo) when is_integer(LineNo) -> ?CLASS(ThisT,wxTextCtrl), wxe_util:call(?wxTextCtrl_GetLineLength, <>). -%% @spec (This::wxTextCtrl(), LineNo::integer()) -> string() %% @doc See external documentation. +-spec getLineText(This, LineNo) -> string() when + This::wxTextCtrl(), LineNo::integer(). getLineText(#wx_ref{type=ThisT,ref=ThisRef},LineNo) when is_integer(LineNo) -> ?CLASS(ThisT,wxTextCtrl), wxe_util:call(?wxTextCtrl_GetLineText, <>). -%% @spec (This::wxTextCtrl()) -> integer() %% @doc See external documentation. +-spec getNumberOfLines(This) -> integer() when + This::wxTextCtrl(). getNumberOfLines(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTextCtrl), wxe_util:call(?wxTextCtrl_GetNumberOfLines, <>). -%% @spec (This::wxTextCtrl(), From::integer(), To::integer()) -> string() %% @doc See external documentation. +-spec getRange(This, From, To) -> string() when + This::wxTextCtrl(), From::integer(), To::integer(). getRange(#wx_ref{type=ThisT,ref=ThisRef},From,To) when is_integer(From),is_integer(To) -> ?CLASS(ThisT,wxTextCtrl), wxe_util:call(?wxTextCtrl_GetRange, <>). -%% @spec (This::wxTextCtrl()) -> {From::integer(), To::integer()} %% @doc See external documentation. +-spec getSelection(This) -> {From::integer(), To::integer()} when + This::wxTextCtrl(). getSelection(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTextCtrl), wxe_util:call(?wxTextCtrl_GetSelection, <>). -%% @spec (This::wxTextCtrl()) -> string() %% @doc See external documentation. +-spec getStringSelection(This) -> string() when + This::wxTextCtrl(). getStringSelection(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTextCtrl), wxe_util:call(?wxTextCtrl_GetStringSelection, <>). -%% @spec (This::wxTextCtrl(), Position::integer(), Style::wxTextAttr:wxTextAttr()) -> bool() %% @doc See external documentation. +-spec getStyle(This, Position, Style) -> boolean() when + This::wxTextCtrl(), Position::integer(), Style::wxTextAttr:wxTextAttr(). getStyle(#wx_ref{type=ThisT,ref=ThisRef},Position,#wx_ref{type=StyleT,ref=StyleRef}) when is_integer(Position) -> ?CLASS(ThisT,wxTextCtrl), @@ -289,50 +326,58 @@ getStyle(#wx_ref{type=ThisT,ref=ThisRef},Position,#wx_ref{type=StyleT,ref=StyleR wxe_util:call(?wxTextCtrl_GetStyle, <>). -%% @spec (This::wxTextCtrl()) -> string() %% @doc See external documentation. +-spec getValue(This) -> string() when + This::wxTextCtrl(). getValue(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTextCtrl), wxe_util:call(?wxTextCtrl_GetValue, <>). -%% @spec (This::wxTextCtrl()) -> bool() %% @doc See external documentation. +-spec isEditable(This) -> boolean() when + This::wxTextCtrl(). isEditable(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTextCtrl), wxe_util:call(?wxTextCtrl_IsEditable, <>). -%% @spec (This::wxTextCtrl()) -> bool() %% @doc See external documentation. +-spec isModified(This) -> boolean() when + This::wxTextCtrl(). isModified(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTextCtrl), wxe_util:call(?wxTextCtrl_IsModified, <>). -%% @spec (This::wxTextCtrl()) -> bool() %% @doc See external documentation. +-spec isMultiLine(This) -> boolean() when + This::wxTextCtrl(). isMultiLine(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTextCtrl), wxe_util:call(?wxTextCtrl_IsMultiLine, <>). -%% @spec (This::wxTextCtrl()) -> bool() %% @doc See external documentation. +-spec isSingleLine(This) -> boolean() when + This::wxTextCtrl(). isSingleLine(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTextCtrl), wxe_util:call(?wxTextCtrl_IsSingleLine, <>). -%% @spec (This::wxTextCtrl(), File::string()) -> bool() %% @equiv loadFile(This,File, []) +-spec loadFile(This, File) -> boolean() when + This::wxTextCtrl(), File::string(). + loadFile(This,File) when is_record(This, wx_ref),is_list(File) -> loadFile(This,File, []). -%% @spec (This::wxTextCtrl(), File::string(), [Option]) -> bool() -%% Option = {fileType, integer()} %% @doc See external documentation. +-spec loadFile(This, File, [Option]) -> boolean() when + This::wxTextCtrl(), File::string(), + Option :: {fileType, integer()}. loadFile(#wx_ref{type=ThisT,ref=ThisRef},File, Options) when is_list(File),is_list(Options) -> ?CLASS(ThisT,wxTextCtrl), @@ -343,45 +388,52 @@ loadFile(#wx_ref{type=ThisT,ref=ThisRef},File, Options) wxe_util:call(?wxTextCtrl_LoadFile, <>). -%% @spec (This::wxTextCtrl()) -> ok %% @doc See external documentation. +-spec markDirty(This) -> ok when + This::wxTextCtrl(). markDirty(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTextCtrl), wxe_util:cast(?wxTextCtrl_MarkDirty, <>). -%% @spec (This::wxTextCtrl()) -> ok %% @doc See external documentation. +-spec paste(This) -> ok when + This::wxTextCtrl(). paste(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTextCtrl), wxe_util:cast(?wxTextCtrl_Paste, <>). -%% @spec (This::wxTextCtrl(), Pos::integer()) -> {bool(), X::integer(), Y::integer()} %% @doc See external documentation. +-spec positionToXY(This, Pos) -> Result when + Result ::{Res ::boolean(), X::integer(), Y::integer()}, + This::wxTextCtrl(), Pos::integer(). positionToXY(#wx_ref{type=ThisT,ref=ThisRef},Pos) when is_integer(Pos) -> ?CLASS(ThisT,wxTextCtrl), wxe_util:call(?wxTextCtrl_PositionToXY, <>). -%% @spec (This::wxTextCtrl()) -> ok %% @doc See external documentation. +-spec redo(This) -> ok when + This::wxTextCtrl(). redo(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTextCtrl), wxe_util:cast(?wxTextCtrl_Redo, <>). -%% @spec (This::wxTextCtrl(), From::integer(), To::integer()) -> ok %% @doc See external documentation. +-spec remove(This, From, To) -> ok when + This::wxTextCtrl(), From::integer(), To::integer(). remove(#wx_ref{type=ThisT,ref=ThisRef},From,To) when is_integer(From),is_integer(To) -> ?CLASS(ThisT,wxTextCtrl), wxe_util:cast(?wxTextCtrl_Remove, <>). -%% @spec (This::wxTextCtrl(), From::integer(), To::integer(), Value::string()) -> ok %% @doc See external documentation. +-spec replace(This, From, To, Value) -> ok when + This::wxTextCtrl(), From::integer(), To::integer(), Value::string(). replace(#wx_ref{type=ThisT,ref=ThisRef},From,To,Value) when is_integer(From),is_integer(To),is_list(Value) -> ?CLASS(ThisT,wxTextCtrl), @@ -389,15 +441,19 @@ replace(#wx_ref{type=ThisT,ref=ThisRef},From,To,Value) wxe_util:cast(?wxTextCtrl_Replace, <>). -%% @spec (This::wxTextCtrl()) -> bool() %% @equiv saveFile(This, []) +-spec saveFile(This) -> boolean() when + This::wxTextCtrl(). + saveFile(This) when is_record(This, wx_ref) -> saveFile(This, []). -%% @spec (This::wxTextCtrl(), [Option]) -> bool() -%% Option = {file, string()} | {fileType, integer()} %% @doc See external documentation. +-spec saveFile(This, [Option]) -> boolean() when + This::wxTextCtrl(), + Option :: {file, string()} + | {fileType, integer()}. saveFile(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxTextCtrl), @@ -408,55 +464,62 @@ saveFile(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxTextCtrl_SaveFile, <>). -%% @spec (This::wxTextCtrl(), Style::wxTextAttr:wxTextAttr()) -> bool() %% @doc See external documentation. +-spec setDefaultStyle(This, Style) -> boolean() when + This::wxTextCtrl(), Style::wxTextAttr:wxTextAttr(). setDefaultStyle(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=StyleT,ref=StyleRef}) -> ?CLASS(ThisT,wxTextCtrl), ?CLASS(StyleT,wxTextAttr), wxe_util:call(?wxTextCtrl_SetDefaultStyle, <>). -%% @spec (This::wxTextCtrl(), Editable::bool()) -> ok %% @doc See external documentation. +-spec setEditable(This, Editable) -> ok when + This::wxTextCtrl(), Editable::boolean(). setEditable(#wx_ref{type=ThisT,ref=ThisRef},Editable) when is_boolean(Editable) -> ?CLASS(ThisT,wxTextCtrl), wxe_util:cast(?wxTextCtrl_SetEditable, <>). -%% @spec (This::wxTextCtrl(), Pos::integer()) -> ok %% @doc See external documentation. +-spec setInsertionPoint(This, Pos) -> ok when + This::wxTextCtrl(), Pos::integer(). setInsertionPoint(#wx_ref{type=ThisT,ref=ThisRef},Pos) when is_integer(Pos) -> ?CLASS(ThisT,wxTextCtrl), wxe_util:cast(?wxTextCtrl_SetInsertionPoint, <>). -%% @spec (This::wxTextCtrl()) -> ok %% @doc See external documentation. +-spec setInsertionPointEnd(This) -> ok when + This::wxTextCtrl(). setInsertionPointEnd(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTextCtrl), wxe_util:cast(?wxTextCtrl_SetInsertionPointEnd, <>). -%% @spec (This::wxTextCtrl(), Len::integer()) -> ok %% @doc See external documentation. +-spec setMaxLength(This, Len) -> ok when + This::wxTextCtrl(), Len::integer(). setMaxLength(#wx_ref{type=ThisT,ref=ThisRef},Len) when is_integer(Len) -> ?CLASS(ThisT,wxTextCtrl), wxe_util:cast(?wxTextCtrl_SetMaxLength, <>). -%% @spec (This::wxTextCtrl(), From::integer(), To::integer()) -> ok %% @doc See external documentation. +-spec setSelection(This, From, To) -> ok when + This::wxTextCtrl(), From::integer(), To::integer(). setSelection(#wx_ref{type=ThisT,ref=ThisRef},From,To) when is_integer(From),is_integer(To) -> ?CLASS(ThisT,wxTextCtrl), wxe_util:cast(?wxTextCtrl_SetSelection, <>). -%% @spec (This::wxTextCtrl(), Start::integer(), End::integer(), Style::wxTextAttr:wxTextAttr()) -> bool() %% @doc See external documentation. +-spec setStyle(This, Start, End, Style) -> boolean() when + This::wxTextCtrl(), Start::integer(), End::integer(), Style::wxTextAttr:wxTextAttr(). setStyle(#wx_ref{type=ThisT,ref=ThisRef},Start,End,#wx_ref{type=StyleT,ref=StyleRef}) when is_integer(Start),is_integer(End) -> ?CLASS(ThisT,wxTextCtrl), @@ -464,8 +527,9 @@ setStyle(#wx_ref{type=ThisT,ref=ThisRef},Start,End,#wx_ref{type=StyleT,ref=Style wxe_util:call(?wxTextCtrl_SetStyle, <>). -%% @spec (This::wxTextCtrl(), Value::string()) -> ok %% @doc See external documentation. +-spec setValue(This, Value) -> ok when + This::wxTextCtrl(), Value::string(). setValue(#wx_ref{type=ThisT,ref=ThisRef},Value) when is_list(Value) -> ?CLASS(ThisT,wxTextCtrl), @@ -473,23 +537,26 @@ setValue(#wx_ref{type=ThisT,ref=ThisRef},Value) wxe_util:cast(?wxTextCtrl_SetValue, <>). -%% @spec (This::wxTextCtrl(), Pos::integer()) -> ok %% @doc See external documentation. +-spec showPosition(This, Pos) -> ok when + This::wxTextCtrl(), Pos::integer(). showPosition(#wx_ref{type=ThisT,ref=ThisRef},Pos) when is_integer(Pos) -> ?CLASS(ThisT,wxTextCtrl), wxe_util:cast(?wxTextCtrl_ShowPosition, <>). -%% @spec (This::wxTextCtrl()) -> ok %% @doc See external documentation. +-spec undo(This) -> ok when + This::wxTextCtrl(). undo(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTextCtrl), wxe_util:cast(?wxTextCtrl_Undo, <>). -%% @spec (This::wxTextCtrl(), Text::string()) -> ok %% @doc See external documentation. +-spec writeText(This, Text) -> ok when + This::wxTextCtrl(), Text::string(). writeText(#wx_ref{type=ThisT,ref=ThisRef},Text) when is_list(Text) -> ?CLASS(ThisT,wxTextCtrl), @@ -497,16 +564,17 @@ writeText(#wx_ref{type=ThisT,ref=ThisRef},Text) wxe_util:cast(?wxTextCtrl_WriteText, <>). -%% @spec (This::wxTextCtrl(), X::integer(), Y::integer()) -> integer() %% @doc See external documentation. +-spec xYToPosition(This, X, Y) -> integer() when + This::wxTextCtrl(), X::integer(), Y::integer(). xYToPosition(#wx_ref{type=ThisT,ref=ThisRef},X,Y) when is_integer(X),is_integer(Y) -> ?CLASS(ThisT,wxTextCtrl), wxe_util:call(?wxTextCtrl_XYToPosition, <>). -%% @spec (This::wxTextCtrl()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxTextCtrl) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxTextCtrl), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxTextDataObject.erl b/lib/wx/src/gen/wxTextDataObject.erl index f4fe3b5e0c..ab4d5378e1 100644 --- a/lib/wx/src/gen/wxTextDataObject.erl +++ b/lib/wx/src/gen/wxTextDataObject.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,18 +32,21 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxTextDataObject/0]). %% @hidden parent_class(wxDataObject) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxTextDataObject() +-type wxTextDataObject() :: wx:wx_object(). %% @equiv new([]) +-spec new() -> wxTextDataObject(). + new() -> new([]). -%% @spec ([Option]) -> wxTextDataObject() -%% Option = {text, string()} %% @doc See external documentation. +-spec new([Option]) -> wxTextDataObject() when + Option :: {text, string()}. new(Options) when is_list(Options) -> MOpts = fun({text, Text}, Acc) -> Text_UC = unicode:characters_to_binary([Text,0]),[<<1:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((0+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8>>|Acc]; @@ -52,22 +55,25 @@ new(Options) wxe_util:construct(?wxTextDataObject_new, <>). -%% @spec (This::wxTextDataObject()) -> integer() %% @doc See external documentation. +-spec getTextLength(This) -> integer() when + This::wxTextDataObject(). getTextLength(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTextDataObject), wxe_util:call(?wxTextDataObject_GetTextLength, <>). -%% @spec (This::wxTextDataObject()) -> string() %% @doc See external documentation. +-spec getText(This) -> string() when + This::wxTextDataObject(). getText(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTextDataObject), wxe_util:call(?wxTextDataObject_GetText, <>). -%% @spec (This::wxTextDataObject(), Text::string()) -> ok %% @doc See external documentation. +-spec setText(This, Text) -> ok when + This::wxTextDataObject(), Text::string(). setText(#wx_ref{type=ThisT,ref=ThisRef},Text) when is_list(Text) -> ?CLASS(ThisT,wxTextDataObject), @@ -75,8 +81,8 @@ setText(#wx_ref{type=ThisT,ref=ThisRef},Text) wxe_util:cast(?wxTextDataObject_SetText, <>). -%% @spec (This::wxTextDataObject()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxTextDataObject) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxTextDataObject), wxe_util:destroy(?wxTextDataObject_destroy,Obj), diff --git a/lib/wx/src/gen/wxTextEntryDialog.erl b/lib/wx/src/gen/wxTextEntryDialog.erl index 53694a47e6..c26a1a57b5 100644 --- a/lib/wx/src/gen/wxTextEntryDialog.erl +++ b/lib/wx/src/gen/wxTextEntryDialog.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -77,6 +77,7 @@ transferDataFromWindow/1,transferDataToWindow/1,update/1,updateWindowUI/1, updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxTextEntryDialog/0]). %% @hidden parent_class(wxDialog) -> true; parent_class(wxTopLevelWindow) -> true; @@ -84,15 +85,22 @@ parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (Parent::wxWindow:wxWindow(), Message::string()) -> wxTextEntryDialog() +-type wxTextEntryDialog() :: wx:wx_object(). %% @equiv new(Parent,Message, []) +-spec new(Parent, Message) -> wxTextEntryDialog() when + Parent::wxWindow:wxWindow(), Message::string(). + new(Parent,Message) when is_record(Parent, wx_ref),is_list(Message) -> new(Parent,Message, []). -%% @spec (Parent::wxWindow:wxWindow(), Message::string(), [Option]) -> wxTextEntryDialog() -%% Option = {caption, string()} | {value, string()} | {style, integer()} | {pos, {X::integer(), Y::integer()}} %% @doc See external documentation. +-spec new(Parent, Message, [Option]) -> wxTextEntryDialog() when + Parent::wxWindow:wxWindow(), Message::string(), + Option :: {caption, string()} + | {value, string()} + | {style, integer()} + | {pos, {X::integer(), Y::integer()}}. new(#wx_ref{type=ParentT,ref=ParentRef},Message, Options) when is_list(Message),is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -106,15 +114,17 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Message, Options) wxe_util:construct(?wxTextEntryDialog_new, <>). -%% @spec (This::wxTextEntryDialog()) -> string() %% @doc See external documentation. +-spec getValue(This) -> string() when + This::wxTextEntryDialog(). getValue(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTextEntryDialog), wxe_util:call(?wxTextEntryDialog_GetValue, <>). -%% @spec (This::wxTextEntryDialog(), Val::string()) -> ok %% @doc See external documentation. +-spec setValue(This, Val) -> ok when + This::wxTextEntryDialog(), Val::string(). setValue(#wx_ref{type=ThisT,ref=ThisRef},Val) when is_list(Val) -> ?CLASS(ThisT,wxTextEntryDialog), @@ -122,8 +132,8 @@ setValue(#wx_ref{type=ThisT,ref=ThisRef},Val) wxe_util:cast(?wxTextEntryDialog_SetValue, <>). -%% @spec (This::wxTextEntryDialog()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxTextEntryDialog) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxTextEntryDialog), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxToggleButton.erl b/lib/wx/src/gen/wxToggleButton.erl index d7755cc50b..23a2987a27 100644 --- a/lib/wx/src/gen/wxToggleButton.erl +++ b/lib/wx/src/gen/wxToggleButton.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -69,27 +69,35 @@ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1, update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxToggleButton/0]). %% @hidden parent_class(wxControl) -> true; parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxToggleButton() +-type wxToggleButton() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxToggleButton(). new() -> wxe_util:construct(?wxToggleButton_new_0, <<>>). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Label::string()) -> wxToggleButton() %% @equiv new(Parent,Id,Label, []) +-spec new(Parent, Id, Label) -> wxToggleButton() when + Parent::wxWindow:wxWindow(), Id::integer(), Label::string(). + new(Parent,Id,Label) when is_record(Parent, wx_ref),is_integer(Id),is_list(Label) -> new(Parent,Id,Label, []). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), Label::string(), [Option]) -> wxToggleButton() -%% Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx:wx()} %% @doc See external documentation. +-spec new(Parent, Id, Label, [Option]) -> wxToggleButton() when + Parent::wxWindow:wxWindow(), Id::integer(), Label::string(), + Option :: {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()} + | {validator, wx:wx()}. new(#wx_ref{type=ParentT,ref=ParentRef},Id,Label, Options) when is_integer(Id),is_list(Label),is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -103,15 +111,21 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Id,Label, Options) wxe_util:construct(?wxToggleButton_new_4, <>). -%% @spec (This::wxToggleButton(), Parent::wxWindow:wxWindow(), Id::integer(), Label::string()) -> bool() %% @equiv create(This,Parent,Id,Label, []) +-spec create(This, Parent, Id, Label) -> boolean() when + This::wxToggleButton(), Parent::wxWindow:wxWindow(), Id::integer(), Label::string(). + create(This,Parent,Id,Label) when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id),is_list(Label) -> create(This,Parent,Id,Label, []). -%% @spec (This::wxToggleButton(), Parent::wxWindow:wxWindow(), Id::integer(), Label::string(), [Option]) -> bool() -%% Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx:wx()} %% @doc See external documentation. +-spec create(This, Parent, Id, Label, [Option]) -> boolean() when + This::wxToggleButton(), Parent::wxWindow:wxWindow(), Id::integer(), Label::string(), + Option :: {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()} + | {validator, wx:wx()}. create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,Label, Options) when is_integer(Id),is_list(Label),is_list(Options) -> ?CLASS(ThisT,wxToggleButton), @@ -126,23 +140,25 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,La wxe_util:call(?wxToggleButton_Create, <>). -%% @spec (This::wxToggleButton()) -> bool() %% @doc See external documentation. +-spec getValue(This) -> boolean() when + This::wxToggleButton(). getValue(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxToggleButton), wxe_util:call(?wxToggleButton_GetValue, <>). -%% @spec (This::wxToggleButton(), State::bool()) -> ok %% @doc See external documentation. +-spec setValue(This, State) -> ok when + This::wxToggleButton(), State::boolean(). setValue(#wx_ref{type=ThisT,ref=ThisRef},State) when is_boolean(State) -> ?CLASS(ThisT,wxToggleButton), wxe_util:cast(?wxToggleButton_SetValue, <>). -%% @spec (This::wxToggleButton()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxToggleButton) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxToggleButton), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxToolBar.erl b/lib/wx/src/gen/wxToolBar.erl index 59369368f0..8fc200d6ba 100644 --- a/lib/wx/src/gen/wxToolBar.erl +++ b/lib/wx/src/gen/wxToolBar.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -77,52 +77,57 @@ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1, update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxToolBar/0]). %% @hidden parent_class(wxControl) -> true; parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxToolBar(), Control::wxControl:wxControl()) -> wx:wx() +-type wxToolBar() :: wx:wx_object(). %% @doc See external documentation. +-spec addControl(This, Control) -> wx:wx() when + This::wxToolBar(), Control::wxControl:wxControl(). addControl(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ControlT,ref=ControlRef}) -> ?CLASS(ThisT,wxToolBar), ?CLASS(ControlT,wxControl), wxe_util:call(?wxToolBar_AddControl, <>). -%% @spec (This::wxToolBar()) -> wx:wx() %% @doc See external documentation. +-spec addSeparator(This) -> wx:wx() when + This::wxToolBar(). addSeparator(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxToolBar), wxe_util:call(?wxToolBar_AddSeparator, <>). -%% @spec (This::wxToolBar(), Tool::wx:wx()) -> wx:wx() %% @doc See external documentation. +-spec addTool(This, Tool) -> wx:wx() when + This::wxToolBar(), Tool::wx:wx(). addTool(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ToolT,ref=ToolRef}) -> ?CLASS(ThisT,wxToolBar), ?CLASS(ToolT,wx), wxe_util:call(?wxToolBar_AddTool_1, <>). -%% @spec (This::wxToolBar(), Toolid::integer(), Bitmap::wxBitmap:wxBitmap()) -> wx:wx() %% @equiv addTool(This,Toolid,Bitmap, []) +-spec addTool(This, Toolid, Bitmap) -> wx:wx() when + This::wxToolBar(), Toolid::integer(), Bitmap::wxBitmap:wxBitmap(). + addTool(This,Toolid,Bitmap) when is_record(This, wx_ref),is_integer(Toolid),is_record(Bitmap, wx_ref) -> addTool(This,Toolid,Bitmap, []). -%% @spec (This::wxToolBar(),Toolid::integer(),X::string()|term(),X::term()) -> wx:wx() %% @doc See external documentation. -%%
Alternatives: -%%

-%% addTool(This::wxToolBar(), Toolid::integer(), Label::string(), Bitmap::wxBitmap:wxBitmap()) -> addTool(This,Toolid,Label,Bitmap, [])

-%%

-%% addTool(This::wxToolBar(), Toolid::integer(), Bitmap::wxBitmap:wxBitmap(), BmpDisabled::wxBitmap:wxBitmap()) -> addTool(This,Toolid,Bitmap,BmpDisabled, [])

-%%

-%% addTool(This::wxToolBar(), Toolid::integer(), Bitmap::wxBitmap:wxBitmap(), [Option]) -> wx:wx() -%%
Option = {shortHelpString, string()} | {longHelpString, string()} -%%

+-spec addTool(This, Toolid, Label, Bitmap) -> wx:wx() when + This::wxToolBar(), Toolid::integer(), Label::string(), Bitmap::wxBitmap:wxBitmap(); + (This, Toolid, Bitmap, BmpDisabled) -> wx:wx() when + This::wxToolBar(), Toolid::integer(), Bitmap::wxBitmap:wxBitmap(), BmpDisabled::wxBitmap:wxBitmap(); + (This, Toolid, Bitmap, [Option]) -> wx:wx() when + This::wxToolBar(), Toolid::integer(), Bitmap::wxBitmap:wxBitmap(), + Option :: {shortHelpString, string()} + | {longHelpString, string()}. addTool(This,Toolid,Label,Bitmap) when is_record(This, wx_ref),is_integer(Toolid),is_list(Label),is_record(Bitmap, wx_ref) -> @@ -142,21 +147,19 @@ addTool(#wx_ref{type=ThisT,ref=ThisRef},Toolid,#wx_ref{type=BitmapT,ref=BitmapRe wxe_util:call(?wxToolBar_AddTool_3, <>). -%% @spec (This::wxToolBar(),Toolid::integer(),X::string()|term(),X::term(),X::term()) -> wx:wx() %% @doc See external documentation. -%%
Alternatives: -%%

-%% addTool(This::wxToolBar(), Toolid::integer(), Label::string(), Bitmap::wxBitmap:wxBitmap(), BmpDisabled::wxBitmap:wxBitmap()) -> addTool(This,Toolid,Label,Bitmap,BmpDisabled, [])

-%%

-%% addTool(This::wxToolBar(), Toolid::integer(), Label::string(), Bitmap::wxBitmap:wxBitmap(), [Option]) -> wx:wx() -%%
Option = {shortHelp, string()} | {kind, WxItemKind} -%%
WxItemKind = integer() -%%
WxItemKind is one of ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX -%%

-%%

-%% addTool(This::wxToolBar(), Toolid::integer(), Bitmap::wxBitmap:wxBitmap(), BmpDisabled::wxBitmap:wxBitmap(), [Option]) -> wx:wx() -%%
Option = {toggle, bool()} | {clientData, wx:wx()} | {shortHelpString, string()} | {longHelpString, string()} -%%

+-spec addTool(This, Toolid, Label, Bitmap, BmpDisabled) -> wx:wx() when + This::wxToolBar(), Toolid::integer(), Label::string(), Bitmap::wxBitmap:wxBitmap(), BmpDisabled::wxBitmap:wxBitmap(); + (This, Toolid, Label, Bitmap, [Option]) -> wx:wx() when + This::wxToolBar(), Toolid::integer(), Label::string(), Bitmap::wxBitmap:wxBitmap(), + Option :: {shortHelp, string()} + | {kind, wx:wx_enum()}; + (This, Toolid, Bitmap, BmpDisabled, [Option]) -> wx:wx() when + This::wxToolBar(), Toolid::integer(), Bitmap::wxBitmap:wxBitmap(), BmpDisabled::wxBitmap:wxBitmap(), + Option :: {toggle, boolean()} + | {clientData, wx:wx()} + | {shortHelpString, string()} + | {longHelpString, string()}. addTool(This,Toolid,Label,Bitmap,BmpDisabled) when is_record(This, wx_ref),is_integer(Toolid),is_list(Label),is_record(Bitmap, wx_ref),is_record(BmpDisabled, wx_ref) -> @@ -186,17 +189,15 @@ addTool(#wx_ref{type=ThisT,ref=ThisRef},Toolid,#wx_ref{type=BitmapT,ref=BitmapRe wxe_util:call(?wxToolBar_AddTool_4_1, <>). -%% @spec (This::wxToolBar(),Toolid::integer(),X::term()|string(),X::term(),X::bool()|term(),X::integer()|term()) -> wx:wx() %% @doc See external documentation. -%%
Alternatives: -%%

-%% addTool(This::wxToolBar(), Toolid::integer(), Bitmap::wxBitmap:wxBitmap(), BmpDisabled::wxBitmap:wxBitmap(), Toggle::bool(), XPos::integer()) -> addTool(This,Toolid,Bitmap,BmpDisabled,Toggle,XPos, [])

-%%

-%% addTool(This::wxToolBar(), Toolid::integer(), Label::string(), Bitmap::wxBitmap:wxBitmap(), BmpDisabled::wxBitmap:wxBitmap(), [Option]) -> wx:wx() -%%
Option = {kind, WxItemKind} | {shortHelp, string()} | {longHelp, string()} | {data, wx:wx()} -%%
WxItemKind = integer() -%%
WxItemKind is one of ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX -%%

+-spec addTool(This, Toolid, Bitmap, BmpDisabled, Toggle, XPos) -> wx:wx() when + This::wxToolBar(), Toolid::integer(), Bitmap::wxBitmap:wxBitmap(), BmpDisabled::wxBitmap:wxBitmap(), Toggle::boolean(), XPos::integer(); + (This, Toolid, Label, Bitmap, BmpDisabled, [Option]) -> wx:wx() when + This::wxToolBar(), Toolid::integer(), Label::string(), Bitmap::wxBitmap:wxBitmap(), BmpDisabled::wxBitmap:wxBitmap(), + Option :: {kind, wx:wx_enum()} + | {shortHelp, string()} + | {longHelp, string()} + | {data, wx:wx()}. addTool(This,Toolid,Bitmap,BmpDisabled,Toggle,XPos) when is_record(This, wx_ref),is_integer(Toolid),is_record(Bitmap, wx_ref),is_record(BmpDisabled, wx_ref),is_boolean(Toggle),is_integer(XPos) -> @@ -216,9 +217,13 @@ addTool(#wx_ref{type=ThisT,ref=ThisRef},Toolid,Label,#wx_ref{type=BitmapT,ref=Bi wxe_util:call(?wxToolBar_AddTool_5, <>). -%% @spec (This::wxToolBar(), Toolid::integer(), Bitmap::wxBitmap:wxBitmap(), BmpDisabled::wxBitmap:wxBitmap(), Toggle::bool(), XPos::integer(), [Option]) -> wx:wx() -%% Option = {yPos, integer()} | {clientData, wx:wx()} | {shortHelp, string()} | {longHelp, string()} %% @doc See external documentation. +-spec addTool(This, Toolid, Bitmap, BmpDisabled, Toggle, XPos, [Option]) -> wx:wx() when + This::wxToolBar(), Toolid::integer(), Bitmap::wxBitmap:wxBitmap(), BmpDisabled::wxBitmap:wxBitmap(), Toggle::boolean(), XPos::integer(), + Option :: {yPos, integer()} + | {clientData, wx:wx()} + | {shortHelp, string()} + | {longHelp, string()}. addTool(#wx_ref{type=ThisT,ref=ThisRef},Toolid,#wx_ref{type=BitmapT,ref=BitmapRef},#wx_ref{type=BmpDisabledT,ref=BmpDisabledRef},Toggle,XPos, Options) when is_integer(Toolid),is_boolean(Toggle),is_integer(XPos),is_list(Options) -> ?CLASS(ThisT,wxToolBar), @@ -233,15 +238,21 @@ addTool(#wx_ref{type=ThisT,ref=ThisRef},Toolid,#wx_ref{type=BitmapT,ref=BitmapRe wxe_util:call(?wxToolBar_AddTool_6, <>). -%% @spec (This::wxToolBar(), Toolid::integer(), Label::string(), Bitmap::wxBitmap:wxBitmap()) -> wx:wx() %% @equiv addCheckTool(This,Toolid,Label,Bitmap, []) +-spec addCheckTool(This, Toolid, Label, Bitmap) -> wx:wx() when + This::wxToolBar(), Toolid::integer(), Label::string(), Bitmap::wxBitmap:wxBitmap(). + addCheckTool(This,Toolid,Label,Bitmap) when is_record(This, wx_ref),is_integer(Toolid),is_list(Label),is_record(Bitmap, wx_ref) -> addCheckTool(This,Toolid,Label,Bitmap, []). -%% @spec (This::wxToolBar(), Toolid::integer(), Label::string(), Bitmap::wxBitmap:wxBitmap(), [Option]) -> wx:wx() -%% Option = {bmpDisabled, wxBitmap:wxBitmap()} | {shortHelp, string()} | {longHelp, string()} | {data, wx:wx()} %% @doc See external documentation. +-spec addCheckTool(This, Toolid, Label, Bitmap, [Option]) -> wx:wx() when + This::wxToolBar(), Toolid::integer(), Label::string(), Bitmap::wxBitmap:wxBitmap(), + Option :: {bmpDisabled, wxBitmap:wxBitmap()} + | {shortHelp, string()} + | {longHelp, string()} + | {data, wx:wx()}. addCheckTool(#wx_ref{type=ThisT,ref=ThisRef},Toolid,Label,#wx_ref{type=BitmapT,ref=BitmapRef}, Options) when is_integer(Toolid),is_list(Label),is_list(Options) -> ?CLASS(ThisT,wxToolBar), @@ -256,15 +267,21 @@ addCheckTool(#wx_ref{type=ThisT,ref=ThisRef},Toolid,Label,#wx_ref{type=BitmapT,r wxe_util:call(?wxToolBar_AddCheckTool, <>). -%% @spec (This::wxToolBar(), Toolid::integer(), Label::string(), Bitmap::wxBitmap:wxBitmap()) -> wx:wx() %% @equiv addRadioTool(This,Toolid,Label,Bitmap, []) +-spec addRadioTool(This, Toolid, Label, Bitmap) -> wx:wx() when + This::wxToolBar(), Toolid::integer(), Label::string(), Bitmap::wxBitmap:wxBitmap(). + addRadioTool(This,Toolid,Label,Bitmap) when is_record(This, wx_ref),is_integer(Toolid),is_list(Label),is_record(Bitmap, wx_ref) -> addRadioTool(This,Toolid,Label,Bitmap, []). -%% @spec (This::wxToolBar(), Toolid::integer(), Label::string(), Bitmap::wxBitmap:wxBitmap(), [Option]) -> wx:wx() -%% Option = {bmpDisabled, wxBitmap:wxBitmap()} | {shortHelp, string()} | {longHelp, string()} | {data, wx:wx()} %% @doc See external documentation. +-spec addRadioTool(This, Toolid, Label, Bitmap, [Option]) -> wx:wx() when + This::wxToolBar(), Toolid::integer(), Label::string(), Bitmap::wxBitmap:wxBitmap(), + Option :: {bmpDisabled, wxBitmap:wxBitmap()} + | {shortHelp, string()} + | {longHelp, string()} + | {data, wx:wx()}. addRadioTool(#wx_ref{type=ThisT,ref=ThisRef},Toolid,Label,#wx_ref{type=BitmapT,ref=BitmapRef}, Options) when is_integer(Toolid),is_list(Label),is_list(Options) -> ?CLASS(ThisT,wxToolBar), @@ -279,131 +296,148 @@ addRadioTool(#wx_ref{type=ThisT,ref=ThisRef},Toolid,Label,#wx_ref{type=BitmapT,r wxe_util:call(?wxToolBar_AddRadioTool, <>). -%% @spec (This::wxToolBar(), Toolid::integer()) -> bool() %% @doc See external documentation. +-spec deleteTool(This, Toolid) -> boolean() when + This::wxToolBar(), Toolid::integer(). deleteTool(#wx_ref{type=ThisT,ref=ThisRef},Toolid) when is_integer(Toolid) -> ?CLASS(ThisT,wxToolBar), wxe_util:call(?wxToolBar_DeleteTool, <>). -%% @spec (This::wxToolBar(), Pos::integer()) -> bool() %% @doc See external documentation. +-spec deleteToolByPos(This, Pos) -> boolean() when + This::wxToolBar(), Pos::integer(). deleteToolByPos(#wx_ref{type=ThisT,ref=ThisRef},Pos) when is_integer(Pos) -> ?CLASS(ThisT,wxToolBar), wxe_util:call(?wxToolBar_DeleteToolByPos, <>). -%% @spec (This::wxToolBar(), Toolid::integer(), Enable::bool()) -> ok %% @doc See external documentation. +-spec enableTool(This, Toolid, Enable) -> ok when + This::wxToolBar(), Toolid::integer(), Enable::boolean(). enableTool(#wx_ref{type=ThisT,ref=ThisRef},Toolid,Enable) when is_integer(Toolid),is_boolean(Enable) -> ?CLASS(ThisT,wxToolBar), wxe_util:cast(?wxToolBar_EnableTool, <>). -%% @spec (This::wxToolBar(), Toolid::integer()) -> wx:wx() %% @doc See external documentation. +-spec findById(This, Toolid) -> wx:wx() when + This::wxToolBar(), Toolid::integer(). findById(#wx_ref{type=ThisT,ref=ThisRef},Toolid) when is_integer(Toolid) -> ?CLASS(ThisT,wxToolBar), wxe_util:call(?wxToolBar_FindById, <>). -%% @spec (This::wxToolBar(), Toolid::integer()) -> wxControl:wxControl() %% @doc See external documentation. +-spec findControl(This, Toolid) -> wxControl:wxControl() when + This::wxToolBar(), Toolid::integer(). findControl(#wx_ref{type=ThisT,ref=ThisRef},Toolid) when is_integer(Toolid) -> ?CLASS(ThisT,wxToolBar), wxe_util:call(?wxToolBar_FindControl, <>). -%% @spec (This::wxToolBar(), X::integer(), Y::integer()) -> wx:wx() %% @doc See external documentation. +-spec findToolForPosition(This, X, Y) -> wx:wx() when + This::wxToolBar(), X::integer(), Y::integer(). findToolForPosition(#wx_ref{type=ThisT,ref=ThisRef},X,Y) when is_integer(X),is_integer(Y) -> ?CLASS(ThisT,wxToolBar), wxe_util:call(?wxToolBar_FindToolForPosition, <>). -%% @spec (This::wxToolBar()) -> {W::integer(), H::integer()} %% @doc See external documentation. +-spec getToolSize(This) -> {W::integer(), H::integer()} when + This::wxToolBar(). getToolSize(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxToolBar), wxe_util:call(?wxToolBar_GetToolSize, <>). -%% @spec (This::wxToolBar()) -> {W::integer(), H::integer()} %% @doc See external documentation. +-spec getToolBitmapSize(This) -> {W::integer(), H::integer()} when + This::wxToolBar(). getToolBitmapSize(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxToolBar), wxe_util:call(?wxToolBar_GetToolBitmapSize, <>). -%% @spec (This::wxToolBar()) -> {W::integer(), H::integer()} %% @doc See external documentation. +-spec getMargins(This) -> {W::integer(), H::integer()} when + This::wxToolBar(). getMargins(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxToolBar), wxe_util:call(?wxToolBar_GetMargins, <>). -%% @spec (This::wxToolBar(), Toolid::integer()) -> bool() %% @doc See external documentation. +-spec getToolEnabled(This, Toolid) -> boolean() when + This::wxToolBar(), Toolid::integer(). getToolEnabled(#wx_ref{type=ThisT,ref=ThisRef},Toolid) when is_integer(Toolid) -> ?CLASS(ThisT,wxToolBar), wxe_util:call(?wxToolBar_GetToolEnabled, <>). -%% @spec (This::wxToolBar(), Toolid::integer()) -> string() %% @doc See external documentation. +-spec getToolLongHelp(This, Toolid) -> string() when + This::wxToolBar(), Toolid::integer(). getToolLongHelp(#wx_ref{type=ThisT,ref=ThisRef},Toolid) when is_integer(Toolid) -> ?CLASS(ThisT,wxToolBar), wxe_util:call(?wxToolBar_GetToolLongHelp, <>). -%% @spec (This::wxToolBar()) -> integer() %% @doc See external documentation. +-spec getToolPacking(This) -> integer() when + This::wxToolBar(). getToolPacking(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxToolBar), wxe_util:call(?wxToolBar_GetToolPacking, <>). -%% @spec (This::wxToolBar(), Id::integer()) -> integer() %% @doc See external documentation. +-spec getToolPos(This, Id) -> integer() when + This::wxToolBar(), Id::integer(). getToolPos(#wx_ref{type=ThisT,ref=ThisRef},Id) when is_integer(Id) -> ?CLASS(ThisT,wxToolBar), wxe_util:call(?wxToolBar_GetToolPos, <>). -%% @spec (This::wxToolBar()) -> integer() %% @doc See external documentation. +-spec getToolSeparation(This) -> integer() when + This::wxToolBar(). getToolSeparation(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxToolBar), wxe_util:call(?wxToolBar_GetToolSeparation, <>). -%% @spec (This::wxToolBar(), Toolid::integer()) -> string() %% @doc See external documentation. +-spec getToolShortHelp(This, Toolid) -> string() when + This::wxToolBar(), Toolid::integer(). getToolShortHelp(#wx_ref{type=ThisT,ref=ThisRef},Toolid) when is_integer(Toolid) -> ?CLASS(ThisT,wxToolBar), wxe_util:call(?wxToolBar_GetToolShortHelp, <>). -%% @spec (This::wxToolBar(), Toolid::integer()) -> bool() %% @doc See external documentation. +-spec getToolState(This, Toolid) -> boolean() when + This::wxToolBar(), Toolid::integer(). getToolState(#wx_ref{type=ThisT,ref=ThisRef},Toolid) when is_integer(Toolid) -> ?CLASS(ThisT,wxToolBar), wxe_util:call(?wxToolBar_GetToolState, <>). -%% @spec (This::wxToolBar(), Pos::integer(), Control::wxControl:wxControl()) -> wx:wx() %% @doc See external documentation. +-spec insertControl(This, Pos, Control) -> wx:wx() when + This::wxToolBar(), Pos::integer(), Control::wxControl:wxControl(). insertControl(#wx_ref{type=ThisT,ref=ThisRef},Pos,#wx_ref{type=ControlT,ref=ControlRef}) when is_integer(Pos) -> ?CLASS(ThisT,wxToolBar), @@ -411,16 +445,18 @@ insertControl(#wx_ref{type=ThisT,ref=ThisRef},Pos,#wx_ref{type=ControlT,ref=Cont wxe_util:call(?wxToolBar_InsertControl, <>). -%% @spec (This::wxToolBar(), Pos::integer()) -> wx:wx() %% @doc See external documentation. +-spec insertSeparator(This, Pos) -> wx:wx() when + This::wxToolBar(), Pos::integer(). insertSeparator(#wx_ref{type=ThisT,ref=ThisRef},Pos) when is_integer(Pos) -> ?CLASS(ThisT,wxToolBar), wxe_util:call(?wxToolBar_InsertSeparator, <>). -%% @spec (This::wxToolBar(), Pos::integer(), Tool::wx:wx()) -> wx:wx() %% @doc See external documentation. +-spec insertTool(This, Pos, Tool) -> wx:wx() when + This::wxToolBar(), Pos::integer(), Tool::wx:wx(). insertTool(#wx_ref{type=ThisT,ref=ThisRef},Pos,#wx_ref{type=ToolT,ref=ToolRef}) when is_integer(Pos) -> ?CLASS(ThisT,wxToolBar), @@ -428,21 +464,24 @@ insertTool(#wx_ref{type=ThisT,ref=ThisRef},Pos,#wx_ref{type=ToolT,ref=ToolRef}) wxe_util:call(?wxToolBar_InsertTool_2, <>). -%% @spec (This::wxToolBar(), Pos::integer(), Toolid::integer(), Bitmap::wxBitmap:wxBitmap()) -> wx:wx() %% @equiv insertTool(This,Pos,Toolid,Bitmap, []) +-spec insertTool(This, Pos, Toolid, Bitmap) -> wx:wx() when + This::wxToolBar(), Pos::integer(), Toolid::integer(), Bitmap::wxBitmap:wxBitmap(). + insertTool(This,Pos,Toolid,Bitmap) when is_record(This, wx_ref),is_integer(Pos),is_integer(Toolid),is_record(Bitmap, wx_ref) -> insertTool(This,Pos,Toolid,Bitmap, []). -%% @spec (This::wxToolBar(),Pos::integer(),Toolid::integer(),X::string()|term(),X::term()) -> wx:wx() %% @doc See external documentation. -%%
Alternatives: -%%

-%% insertTool(This::wxToolBar(), Pos::integer(), Toolid::integer(), Label::string(), Bitmap::wxBitmap:wxBitmap()) -> insertTool(This,Pos,Toolid,Label,Bitmap, [])

-%%

-%% insertTool(This::wxToolBar(), Pos::integer(), Toolid::integer(), Bitmap::wxBitmap:wxBitmap(), [Option]) -> wx:wx() -%%
Option = {bmpDisabled, wxBitmap:wxBitmap()} | {toggle, bool()} | {clientData, wx:wx()} | {shortHelp, string()} | {longHelp, string()} -%%

+-spec insertTool(This, Pos, Toolid, Label, Bitmap) -> wx:wx() when + This::wxToolBar(), Pos::integer(), Toolid::integer(), Label::string(), Bitmap::wxBitmap:wxBitmap(); + (This, Pos, Toolid, Bitmap, [Option]) -> wx:wx() when + This::wxToolBar(), Pos::integer(), Toolid::integer(), Bitmap::wxBitmap:wxBitmap(), + Option :: {bmpDisabled, wxBitmap:wxBitmap()} + | {toggle, boolean()} + | {clientData, wx:wx()} + | {shortHelp, string()} + | {longHelp, string()}. insertTool(This,Pos,Toolid,Label,Bitmap) when is_record(This, wx_ref),is_integer(Pos),is_integer(Toolid),is_list(Label),is_record(Bitmap, wx_ref) -> @@ -461,11 +500,15 @@ insertTool(#wx_ref{type=ThisT,ref=ThisRef},Pos,Toolid,#wx_ref{type=BitmapT,ref=B wxe_util:call(?wxToolBar_InsertTool_4, <>). -%% @spec (This::wxToolBar(), Pos::integer(), Toolid::integer(), Label::string(), Bitmap::wxBitmap:wxBitmap(), [Option]) -> wx:wx() -%% Option = {bmpDisabled, wxBitmap:wxBitmap()} | {kind, WxItemKind} | {shortHelp, string()} | {longHelp, string()} | {clientData, wx:wx()} -%% WxItemKind = integer() %% @doc See external documentation. -%%
WxItemKind is one of ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX +%%
Kind = ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX +-spec insertTool(This, Pos, Toolid, Label, Bitmap, [Option]) -> wx:wx() when + This::wxToolBar(), Pos::integer(), Toolid::integer(), Label::string(), Bitmap::wxBitmap:wxBitmap(), + Option :: {bmpDisabled, wxBitmap:wxBitmap()} + | {kind, wx:wx_enum()} + | {shortHelp, string()} + | {longHelp, string()} + | {clientData, wx:wx()}. insertTool(#wx_ref{type=ThisT,ref=ThisRef},Pos,Toolid,Label,#wx_ref{type=BitmapT,ref=BitmapRef}, Options) when is_integer(Pos),is_integer(Toolid),is_list(Label),is_list(Options) -> ?CLASS(ThisT,wxToolBar), @@ -481,39 +524,44 @@ insertTool(#wx_ref{type=ThisT,ref=ThisRef},Pos,Toolid,Label,#wx_ref{type=BitmapT wxe_util:call(?wxToolBar_InsertTool_5, <>). -%% @spec (This::wxToolBar()) -> bool() %% @doc See external documentation. +-spec realize(This) -> boolean() when + This::wxToolBar(). realize(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxToolBar), wxe_util:call(?wxToolBar_Realize, <>). -%% @spec (This::wxToolBar(), Toolid::integer()) -> wx:wx() %% @doc See external documentation. +-spec removeTool(This, Toolid) -> wx:wx() when + This::wxToolBar(), Toolid::integer(). removeTool(#wx_ref{type=ThisT,ref=ThisRef},Toolid) when is_integer(Toolid) -> ?CLASS(ThisT,wxToolBar), wxe_util:call(?wxToolBar_RemoveTool, <>). -%% @spec (This::wxToolBar(), X::integer(), Y::integer()) -> ok %% @doc See external documentation. +-spec setMargins(This, X, Y) -> ok when + This::wxToolBar(), X::integer(), Y::integer(). setMargins(#wx_ref{type=ThisT,ref=ThisRef},X,Y) when is_integer(X),is_integer(Y) -> ?CLASS(ThisT,wxToolBar), wxe_util:cast(?wxToolBar_SetMargins, <>). -%% @spec (This::wxToolBar(), Size::{W::integer(), H::integer()}) -> ok %% @doc See external documentation. +-spec setToolBitmapSize(This, Size) -> ok when + This::wxToolBar(), Size::{W::integer(), H::integer()}. setToolBitmapSize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH}) when is_integer(SizeW),is_integer(SizeH) -> ?CLASS(ThisT,wxToolBar), wxe_util:cast(?wxToolBar_SetToolBitmapSize, <>). -%% @spec (This::wxToolBar(), Toolid::integer(), HelpString::string()) -> ok %% @doc See external documentation. +-spec setToolLongHelp(This, Toolid, HelpString) -> ok when + This::wxToolBar(), Toolid::integer(), HelpString::string(). setToolLongHelp(#wx_ref{type=ThisT,ref=ThisRef},Toolid,HelpString) when is_integer(Toolid),is_list(HelpString) -> ?CLASS(ThisT,wxToolBar), @@ -521,16 +569,18 @@ setToolLongHelp(#wx_ref{type=ThisT,ref=ThisRef},Toolid,HelpString) wxe_util:cast(?wxToolBar_SetToolLongHelp, <>). -%% @spec (This::wxToolBar(), Packing::integer()) -> ok %% @doc See external documentation. +-spec setToolPacking(This, Packing) -> ok when + This::wxToolBar(), Packing::integer(). setToolPacking(#wx_ref{type=ThisT,ref=ThisRef},Packing) when is_integer(Packing) -> ?CLASS(ThisT,wxToolBar), wxe_util:cast(?wxToolBar_SetToolPacking, <>). -%% @spec (This::wxToolBar(), Id::integer(), HelpString::string()) -> ok %% @doc See external documentation. +-spec setToolShortHelp(This, Id, HelpString) -> ok when + This::wxToolBar(), Id::integer(), HelpString::string(). setToolShortHelp(#wx_ref{type=ThisT,ref=ThisRef},Id,HelpString) when is_integer(Id),is_list(HelpString) -> ?CLASS(ThisT,wxToolBar), @@ -538,16 +588,18 @@ setToolShortHelp(#wx_ref{type=ThisT,ref=ThisRef},Id,HelpString) wxe_util:cast(?wxToolBar_SetToolShortHelp, <>). -%% @spec (This::wxToolBar(), Separation::integer()) -> ok %% @doc See external documentation. +-spec setToolSeparation(This, Separation) -> ok when + This::wxToolBar(), Separation::integer(). setToolSeparation(#wx_ref{type=ThisT,ref=ThisRef},Separation) when is_integer(Separation) -> ?CLASS(ThisT,wxToolBar), wxe_util:cast(?wxToolBar_SetToolSeparation, <>). -%% @spec (This::wxToolBar(), Toolid::integer(), Toggle::bool()) -> ok %% @doc See external documentation. +-spec toggleTool(This, Toolid, Toggle) -> ok when + This::wxToolBar(), Toolid::integer(), Toggle::boolean(). toggleTool(#wx_ref{type=ThisT,ref=ThisRef},Toolid,Toggle) when is_integer(Toolid),is_boolean(Toggle) -> ?CLASS(ThisT,wxToolBar), diff --git a/lib/wx/src/gen/wxToolTip.erl b/lib/wx/src/gen/wxToolTip.erl index b0749c851a..c604fc4af9 100644 --- a/lib/wx/src/gen/wxToolTip.erl +++ b/lib/wx/src/gen/wxToolTip.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,33 +29,39 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxToolTip/0]). %% @hidden parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (Flag::bool()) -> ok +-type wxToolTip() :: wx:wx_object(). %% @doc See external documentation. +-spec enable(Flag) -> ok when + Flag::boolean(). enable(Flag) when is_boolean(Flag) -> wxe_util:cast(?wxToolTip_Enable, <<(wxe_util:from_bool(Flag)):32/?UI>>). -%% @spec (Msecs::integer()) -> ok %% @doc See external documentation. +-spec setDelay(Msecs) -> ok when + Msecs::integer(). setDelay(Msecs) when is_integer(Msecs) -> wxe_util:cast(?wxToolTip_SetDelay, <>). -%% @spec (Tip::string()) -> wxToolTip() %% @doc See external documentation. +-spec new(Tip) -> wxToolTip() when + Tip::string(). new(Tip) when is_list(Tip) -> Tip_UC = unicode:characters_to_binary([Tip,0]), wxe_util:construct(?wxToolTip_new, <<(byte_size(Tip_UC)):32/?UI,(Tip_UC)/binary, 0:(((8- ((4+byte_size(Tip_UC)) band 16#7)) band 16#7))/unit:8>>). -%% @spec (This::wxToolTip(), Tip::string()) -> ok %% @doc See external documentation. +-spec setTip(This, Tip) -> ok when + This::wxToolTip(), Tip::string(). setTip(#wx_ref{type=ThisT,ref=ThisRef},Tip) when is_list(Tip) -> ?CLASS(ThisT,wxToolTip), @@ -63,22 +69,24 @@ setTip(#wx_ref{type=ThisT,ref=ThisRef},Tip) wxe_util:cast(?wxToolTip_SetTip, <>). -%% @spec (This::wxToolTip()) -> string() %% @doc See external documentation. +-spec getTip(This) -> string() when + This::wxToolTip(). getTip(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxToolTip), wxe_util:call(?wxToolTip_GetTip, <>). -%% @spec (This::wxToolTip()) -> wxWindow:wxWindow() %% @doc See external documentation. +-spec getWindow(This) -> wxWindow:wxWindow() when + This::wxToolTip(). getWindow(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxToolTip), wxe_util:call(?wxToolTip_GetWindow, <>). -%% @spec (This::wxToolTip()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxToolTip) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxToolTip), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxToolbook.erl b/lib/wx/src/gen/wxToolbook.erl index 764f66c2e5..f568a11d6a 100644 --- a/lib/wx/src/gen/wxToolbook.erl +++ b/lib/wx/src/gen/wxToolbook.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2009-2011. All Rights Reserved. +%% Copyright Ericsson AB 2009-2012. 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 @@ -74,27 +74,34 @@ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1, update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxToolbook/0]). %% @hidden parent_class(wxControl) -> true; parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxToolbook() +-type wxToolbook() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxToolbook(). new() -> wxe_util:construct(?wxToolbook_new_0, <<>>). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer()) -> wxToolbook() %% @equiv new(Parent,Id, []) +-spec new(Parent, Id) -> wxToolbook() when + Parent::wxWindow:wxWindow(), Id::integer(). + new(Parent,Id) when is_record(Parent, wx_ref),is_integer(Id) -> new(Parent,Id, []). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> wxToolbook() -%% Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} %% @doc See external documentation. +-spec new(Parent, Id, [Option]) -> wxToolbook() when + Parent::wxWindow:wxWindow(), Id::integer(), + Option :: {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()}. new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options) when is_integer(Id),is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -106,15 +113,19 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options) wxe_util:construct(?wxToolbook_new_3, <>). -%% @spec (This::wxToolbook(), Page::wxWindow:wxWindow(), Text::string()) -> bool() %% @equiv addPage(This,Page,Text, []) +-spec addPage(This, Page, Text) -> boolean() when + This::wxToolbook(), Page::wxWindow:wxWindow(), Text::string(). + addPage(This,Page,Text) when is_record(This, wx_ref),is_record(Page, wx_ref),is_list(Text) -> addPage(This,Page,Text, []). -%% @spec (This::wxToolbook(), Page::wxWindow:wxWindow(), Text::string(), [Option]) -> bool() -%% Option = {bSelect, bool()} | {imageId, integer()} %% @doc See external documentation. +-spec addPage(This, Page, Text, [Option]) -> boolean() when + This::wxToolbook(), Page::wxWindow:wxWindow(), Text::string(), + Option :: {bSelect, boolean()} + | {imageId, integer()}. addPage(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PageT,ref=PageRef},Text, Options) when is_list(Text),is_list(Options) -> ?CLASS(ThisT,wxToolbook), @@ -127,15 +138,18 @@ addPage(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PageT,ref=PageRef},Text, Op wxe_util:call(?wxToolbook_AddPage, <>). -%% @spec (This::wxToolbook()) -> ok %% @equiv advanceSelection(This, []) +-spec advanceSelection(This) -> ok when + This::wxToolbook(). + advanceSelection(This) when is_record(This, wx_ref) -> advanceSelection(This, []). -%% @spec (This::wxToolbook(), [Option]) -> ok -%% Option = {forward, bool()} %% @doc See external documentation. +-spec advanceSelection(This, [Option]) -> ok when + This::wxToolbook(), + Option :: {forward, boolean()}. advanceSelection(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxToolbook), @@ -145,23 +159,29 @@ advanceSelection(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:cast(?wxToolbook_AdvanceSelection, <>). -%% @spec (This::wxToolbook(), ImageList::wxImageList:wxImageList()) -> ok %% @doc See external documentation. +-spec assignImageList(This, ImageList) -> ok when + This::wxToolbook(), ImageList::wxImageList:wxImageList(). assignImageList(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ImageListT,ref=ImageListRef}) -> ?CLASS(ThisT,wxToolbook), ?CLASS(ImageListT,wxImageList), wxe_util:cast(?wxToolbook_AssignImageList, <>). -%% @spec (This::wxToolbook(), Parent::wxWindow:wxWindow(), Id::integer()) -> bool() %% @equiv create(This,Parent,Id, []) +-spec create(This, Parent, Id) -> boolean() when + This::wxToolbook(), Parent::wxWindow:wxWindow(), Id::integer(). + create(This,Parent,Id) when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id) -> create(This,Parent,Id, []). -%% @spec (This::wxToolbook(), Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> bool() -%% Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} %% @doc See external documentation. +-spec create(This, Parent, Id, [Option]) -> boolean() when + This::wxToolbook(), Parent::wxWindow:wxWindow(), Id::integer(), + Option :: {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()}. create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id, Options) when is_integer(Id),is_list(Options) -> ?CLASS(ThisT,wxToolbook), @@ -174,98 +194,114 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id, O wxe_util:call(?wxToolbook_Create, <>). -%% @spec (This::wxToolbook()) -> bool() %% @doc See external documentation. +-spec deleteAllPages(This) -> boolean() when + This::wxToolbook(). deleteAllPages(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxToolbook), wxe_util:call(?wxToolbook_DeleteAllPages, <>). -%% @spec (This::wxToolbook(), N::integer()) -> bool() %% @doc See external documentation. +-spec deletePage(This, N) -> boolean() when + This::wxToolbook(), N::integer(). deletePage(#wx_ref{type=ThisT,ref=ThisRef},N) when is_integer(N) -> ?CLASS(ThisT,wxToolbook), wxe_util:call(?wxToolbook_DeletePage, <>). -%% @spec (This::wxToolbook(), N::integer()) -> bool() %% @doc See external documentation. +-spec removePage(This, N) -> boolean() when + This::wxToolbook(), N::integer(). removePage(#wx_ref{type=ThisT,ref=ThisRef},N) when is_integer(N) -> ?CLASS(ThisT,wxToolbook), wxe_util:call(?wxToolbook_RemovePage, <>). -%% @spec (This::wxToolbook()) -> wxWindow:wxWindow() %% @doc See external documentation. +-spec getCurrentPage(This) -> wxWindow:wxWindow() when + This::wxToolbook(). getCurrentPage(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxToolbook), wxe_util:call(?wxToolbook_GetCurrentPage, <>). -%% @spec (This::wxToolbook()) -> wxImageList:wxImageList() %% @doc See external documentation. +-spec getImageList(This) -> wxImageList:wxImageList() when + This::wxToolbook(). getImageList(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxToolbook), wxe_util:call(?wxToolbook_GetImageList, <>). -%% @spec (This::wxToolbook(), N::integer()) -> wxWindow:wxWindow() %% @doc See external documentation. +-spec getPage(This, N) -> wxWindow:wxWindow() when + This::wxToolbook(), N::integer(). getPage(#wx_ref{type=ThisT,ref=ThisRef},N) when is_integer(N) -> ?CLASS(ThisT,wxToolbook), wxe_util:call(?wxToolbook_GetPage, <>). -%% @spec (This::wxToolbook()) -> integer() %% @doc See external documentation. +-spec getPageCount(This) -> integer() when + This::wxToolbook(). getPageCount(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxToolbook), wxe_util:call(?wxToolbook_GetPageCount, <>). -%% @spec (This::wxToolbook(), N::integer()) -> integer() %% @doc See external documentation. +-spec getPageImage(This, N) -> integer() when + This::wxToolbook(), N::integer(). getPageImage(#wx_ref{type=ThisT,ref=ThisRef},N) when is_integer(N) -> ?CLASS(ThisT,wxToolbook), wxe_util:call(?wxToolbook_GetPageImage, <>). -%% @spec (This::wxToolbook(), N::integer()) -> string() %% @doc See external documentation. +-spec getPageText(This, N) -> string() when + This::wxToolbook(), N::integer(). getPageText(#wx_ref{type=ThisT,ref=ThisRef},N) when is_integer(N) -> ?CLASS(ThisT,wxToolbook), wxe_util:call(?wxToolbook_GetPageText, <>). -%% @spec (This::wxToolbook()) -> integer() %% @doc See external documentation. +-spec getSelection(This) -> integer() when + This::wxToolbook(). getSelection(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxToolbook), wxe_util:call(?wxToolbook_GetSelection, <>). -%% @spec (This::wxToolbook(), Pt::{X::integer(), Y::integer()}) -> {integer(), Flags::integer()} %% @doc See external documentation. +-spec hitTest(This, Pt) -> Result when + Result ::{Res ::integer(), Flags::integer()}, + This::wxToolbook(), Pt::{X::integer(), Y::integer()}. hitTest(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY}) when is_integer(PtX),is_integer(PtY) -> ?CLASS(ThisT,wxToolbook), wxe_util:call(?wxToolbook_HitTest, <>). -%% @spec (This::wxToolbook(), N::integer(), Page::wxWindow:wxWindow(), Text::string()) -> bool() %% @equiv insertPage(This,N,Page,Text, []) +-spec insertPage(This, N, Page, Text) -> boolean() when + This::wxToolbook(), N::integer(), Page::wxWindow:wxWindow(), Text::string(). + insertPage(This,N,Page,Text) when is_record(This, wx_ref),is_integer(N),is_record(Page, wx_ref),is_list(Text) -> insertPage(This,N,Page,Text, []). -%% @spec (This::wxToolbook(), N::integer(), Page::wxWindow:wxWindow(), Text::string(), [Option]) -> bool() -%% Option = {bSelect, bool()} | {imageId, integer()} %% @doc See external documentation. +-spec insertPage(This, N, Page, Text, [Option]) -> boolean() when + This::wxToolbook(), N::integer(), Page::wxWindow:wxWindow(), Text::string(), + Option :: {bSelect, boolean()} + | {imageId, integer()}. insertPage(#wx_ref{type=ThisT,ref=ThisRef},N,#wx_ref{type=PageT,ref=PageRef},Text, Options) when is_integer(N),is_list(Text),is_list(Options) -> ?CLASS(ThisT,wxToolbook), @@ -278,32 +314,36 @@ insertPage(#wx_ref{type=ThisT,ref=ThisRef},N,#wx_ref{type=PageT,ref=PageRef},Tex wxe_util:call(?wxToolbook_InsertPage, <>). -%% @spec (This::wxToolbook(), ImageList::wxImageList:wxImageList()) -> ok %% @doc See external documentation. +-spec setImageList(This, ImageList) -> ok when + This::wxToolbook(), ImageList::wxImageList:wxImageList(). setImageList(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ImageListT,ref=ImageListRef}) -> ?CLASS(ThisT,wxToolbook), ?CLASS(ImageListT,wxImageList), wxe_util:cast(?wxToolbook_SetImageList, <>). -%% @spec (This::wxToolbook(), Size::{W::integer(), H::integer()}) -> ok %% @doc See external documentation. +-spec setPageSize(This, Size) -> ok when + This::wxToolbook(), Size::{W::integer(), H::integer()}. setPageSize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH}) when is_integer(SizeW),is_integer(SizeH) -> ?CLASS(ThisT,wxToolbook), wxe_util:cast(?wxToolbook_SetPageSize, <>). -%% @spec (This::wxToolbook(), N::integer(), ImageId::integer()) -> bool() %% @doc See external documentation. +-spec setPageImage(This, N, ImageId) -> boolean() when + This::wxToolbook(), N::integer(), ImageId::integer(). setPageImage(#wx_ref{type=ThisT,ref=ThisRef},N,ImageId) when is_integer(N),is_integer(ImageId) -> ?CLASS(ThisT,wxToolbook), wxe_util:call(?wxToolbook_SetPageImage, <>). -%% @spec (This::wxToolbook(), N::integer(), StrText::string()) -> bool() %% @doc See external documentation. +-spec setPageText(This, N, StrText) -> boolean() when + This::wxToolbook(), N::integer(), StrText::string(). setPageText(#wx_ref{type=ThisT,ref=ThisRef},N,StrText) when is_integer(N),is_list(StrText) -> ?CLASS(ThisT,wxToolbook), @@ -311,24 +351,26 @@ setPageText(#wx_ref{type=ThisT,ref=ThisRef},N,StrText) wxe_util:call(?wxToolbook_SetPageText, <>). -%% @spec (This::wxToolbook(), N::integer()) -> integer() %% @doc See external documentation. +-spec setSelection(This, N) -> integer() when + This::wxToolbook(), N::integer(). setSelection(#wx_ref{type=ThisT,ref=ThisRef},N) when is_integer(N) -> ?CLASS(ThisT,wxToolbook), wxe_util:call(?wxToolbook_SetSelection, <>). -%% @spec (This::wxToolbook(), N::integer()) -> integer() %% @doc See external documentation. +-spec changeSelection(This, N) -> integer() when + This::wxToolbook(), N::integer(). changeSelection(#wx_ref{type=ThisT,ref=ThisRef},N) when is_integer(N) -> ?CLASS(ThisT,wxToolbook), wxe_util:call(?wxToolbook_ChangeSelection, <>). -%% @spec (This::wxToolbook()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxToolbook) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxToolbook), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxTopLevelWindow.erl b/lib/wx/src/gen/wxTopLevelWindow.erl index e0551b480f..b315429bb6 100644 --- a/lib/wx/src/gen/wxTopLevelWindow.erl +++ b/lib/wx/src/gen/wxTopLevelWindow.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,48 +72,57 @@ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1, update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxTopLevelWindow/0]). %% @hidden parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxTopLevelWindow()) -> wxIcon:wxIcon() +-type wxTopLevelWindow() :: wx:wx_object(). %% @doc See external documentation. +-spec getIcon(This) -> wxIcon:wxIcon() when + This::wxTopLevelWindow(). getIcon(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTopLevelWindow), wxe_util:call(?wxTopLevelWindow_GetIcon, <>). -%% @spec (This::wxTopLevelWindow()) -> wxIconBundle:wxIconBundle() %% @doc See external documentation. +-spec getIcons(This) -> wxIconBundle:wxIconBundle() when + This::wxTopLevelWindow(). getIcons(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTopLevelWindow), wxe_util:call(?wxTopLevelWindow_GetIcons, <>). -%% @spec (This::wxTopLevelWindow()) -> string() %% @doc See external documentation. +-spec getTitle(This) -> string() when + This::wxTopLevelWindow(). getTitle(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTopLevelWindow), wxe_util:call(?wxTopLevelWindow_GetTitle, <>). -%% @spec (This::wxTopLevelWindow()) -> bool() %% @doc See external documentation. +-spec isActive(This) -> boolean() when + This::wxTopLevelWindow(). isActive(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTopLevelWindow), wxe_util:call(?wxTopLevelWindow_IsActive, <>). -%% @spec (This::wxTopLevelWindow()) -> ok %% @equiv iconize(This, []) +-spec iconize(This) -> ok when + This::wxTopLevelWindow(). + iconize(This) when is_record(This, wx_ref) -> iconize(This, []). -%% @spec (This::wxTopLevelWindow(), [Option]) -> ok -%% Option = {iconize, bool()} %% @doc See external documentation. +-spec iconize(This, [Option]) -> ok when + This::wxTopLevelWindow(), + Option :: {iconize, boolean()}. iconize(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxTopLevelWindow), @@ -123,36 +132,42 @@ iconize(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:cast(?wxTopLevelWindow_Iconize, <>). -%% @spec (This::wxTopLevelWindow()) -> bool() %% @doc See external documentation. +-spec isFullScreen(This) -> boolean() when + This::wxTopLevelWindow(). isFullScreen(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTopLevelWindow), wxe_util:call(?wxTopLevelWindow_IsFullScreen, <>). -%% @spec (This::wxTopLevelWindow()) -> bool() %% @doc See external documentation. +-spec isIconized(This) -> boolean() when + This::wxTopLevelWindow(). isIconized(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTopLevelWindow), wxe_util:call(?wxTopLevelWindow_IsIconized, <>). -%% @spec (This::wxTopLevelWindow()) -> bool() %% @doc See external documentation. +-spec isMaximized(This) -> boolean() when + This::wxTopLevelWindow(). isMaximized(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTopLevelWindow), wxe_util:call(?wxTopLevelWindow_IsMaximized, <>). -%% @spec (This::wxTopLevelWindow()) -> ok %% @equiv maximize(This, []) +-spec maximize(This) -> ok when + This::wxTopLevelWindow(). + maximize(This) when is_record(This, wx_ref) -> maximize(This, []). -%% @spec (This::wxTopLevelWindow(), [Option]) -> ok -%% Option = {maximize, bool()} %% @doc See external documentation. +-spec maximize(This, [Option]) -> ok when + This::wxTopLevelWindow(), + Option :: {maximize, boolean()}. maximize(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxTopLevelWindow), @@ -162,15 +177,18 @@ maximize(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:cast(?wxTopLevelWindow_Maximize, <>). -%% @spec (This::wxTopLevelWindow()) -> ok %% @equiv requestUserAttention(This, []) +-spec requestUserAttention(This) -> ok when + This::wxTopLevelWindow(). + requestUserAttention(This) when is_record(This, wx_ref) -> requestUserAttention(This, []). -%% @spec (This::wxTopLevelWindow(), [Option]) -> ok -%% Option = {flags, integer()} %% @doc See external documentation. +-spec requestUserAttention(This, [Option]) -> ok when + This::wxTopLevelWindow(), + Option :: {flags, integer()}. requestUserAttention(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxTopLevelWindow), @@ -180,31 +198,36 @@ requestUserAttention(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:cast(?wxTopLevelWindow_RequestUserAttention, <>). -%% @spec (This::wxTopLevelWindow(), Icon::wxIcon:wxIcon()) -> ok %% @doc See external documentation. +-spec setIcon(This, Icon) -> ok when + This::wxTopLevelWindow(), Icon::wxIcon:wxIcon(). setIcon(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=IconT,ref=IconRef}) -> ?CLASS(ThisT,wxTopLevelWindow), ?CLASS(IconT,wxIcon), wxe_util:cast(?wxTopLevelWindow_SetIcon, <>). -%% @spec (This::wxTopLevelWindow(), Icons::wxIconBundle:wxIconBundle()) -> ok %% @doc See external documentation. +-spec setIcons(This, Icons) -> ok when + This::wxTopLevelWindow(), Icons::wxIconBundle:wxIconBundle(). setIcons(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=IconsT,ref=IconsRef}) -> ?CLASS(ThisT,wxTopLevelWindow), ?CLASS(IconsT,wxIconBundle), wxe_util:cast(?wxTopLevelWindow_SetIcons, <>). -%% @spec (This::wxTopLevelWindow()) -> ok %% @equiv centerOnScreen(This, []) +-spec centerOnScreen(This) -> ok when + This::wxTopLevelWindow(). + centerOnScreen(This) when is_record(This, wx_ref) -> centerOnScreen(This, []). -%% @spec (This::wxTopLevelWindow(), [Option]) -> ok -%% Option = {dir, integer()} %% @doc See external documentation. +-spec centerOnScreen(This, [Option]) -> ok when + This::wxTopLevelWindow(), + Option :: {dir, integer()}. centerOnScreen(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxTopLevelWindow), @@ -214,15 +237,18 @@ centerOnScreen(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:cast(?wxTopLevelWindow_CenterOnScreen, <>). -%% @spec (This::wxTopLevelWindow()) -> ok %% @equiv centreOnScreen(This, []) +-spec centreOnScreen(This) -> ok when + This::wxTopLevelWindow(). + centreOnScreen(This) when is_record(This, wx_ref) -> centreOnScreen(This, []). -%% @spec (This::wxTopLevelWindow(), [Option]) -> ok -%% Option = {dir, integer()} %% @doc See external documentation. +-spec centreOnScreen(This, [Option]) -> ok when + This::wxTopLevelWindow(), + Option :: {dir, integer()}. centreOnScreen(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxTopLevelWindow), @@ -232,16 +258,18 @@ centreOnScreen(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:cast(?wxTopLevelWindow_CentreOnScreen, <>). -%% @spec (This::wxTopLevelWindow(), Region::wxRegion:wxRegion()) -> bool() %% @doc See external documentation. +-spec setShape(This, Region) -> boolean() when + This::wxTopLevelWindow(), Region::wxRegion:wxRegion(). setShape(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=RegionT,ref=RegionRef}) -> ?CLASS(ThisT,wxTopLevelWindow), ?CLASS(RegionT,wxRegion), wxe_util:call(?wxTopLevelWindow_SetShape, <>). -%% @spec (This::wxTopLevelWindow(), Title::string()) -> ok %% @doc See external documentation. +-spec setTitle(This, Title) -> ok when + This::wxTopLevelWindow(), Title::string(). setTitle(#wx_ref{type=ThisT,ref=ThisRef},Title) when is_list(Title) -> ?CLASS(ThisT,wxTopLevelWindow), @@ -249,15 +277,18 @@ setTitle(#wx_ref{type=ThisT,ref=ThisRef},Title) wxe_util:cast(?wxTopLevelWindow_SetTitle, <>). -%% @spec (This::wxTopLevelWindow(), Show::bool()) -> bool() %% @equiv showFullScreen(This,Show, []) +-spec showFullScreen(This, Show) -> boolean() when + This::wxTopLevelWindow(), Show::boolean(). + showFullScreen(This,Show) when is_record(This, wx_ref),is_boolean(Show) -> showFullScreen(This,Show, []). -%% @spec (This::wxTopLevelWindow(), Show::bool(), [Option]) -> bool() -%% Option = {style, integer()} %% @doc See external documentation. +-spec showFullScreen(This, Show, [Option]) -> boolean() when + This::wxTopLevelWindow(), Show::boolean(), + Option :: {style, integer()}. showFullScreen(#wx_ref{type=ThisT,ref=ThisRef},Show, Options) when is_boolean(Show),is_list(Options) -> ?CLASS(ThisT,wxTopLevelWindow), diff --git a/lib/wx/src/gen/wxTreeCtrl.erl b/lib/wx/src/gen/wxTreeCtrl.erl index 77705ec76e..ba9052b5f3 100644 --- a/lib/wx/src/gen/wxTreeCtrl.erl +++ b/lib/wx/src/gen/wxTreeCtrl.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -89,27 +89,36 @@ show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1,update/1, updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxTreeCtrl/0]). %% @hidden parent_class(wxControl) -> true; parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxTreeCtrl() +-type wxTreeCtrl() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxTreeCtrl(). new() -> wxe_util:construct(?wxTreeCtrl_new_0, <<>>). -%% @spec (Parent::wxWindow:wxWindow()) -> wxTreeCtrl() %% @equiv new(Parent, []) +-spec new(Parent) -> wxTreeCtrl() when + Parent::wxWindow:wxWindow(). + new(Parent) when is_record(Parent, wx_ref) -> new(Parent, []). -%% @spec (Parent::wxWindow:wxWindow(), [Option]) -> wxTreeCtrl() -%% Option = {id, integer()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx:wx()} %% @doc See external documentation. +-spec new(Parent, [Option]) -> wxTreeCtrl() when + Parent::wxWindow:wxWindow(), + Option :: {id, integer()} + | {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()} + | {validator, wx:wx()}. new(#wx_ref{type=ParentT,ref=ParentRef}, Options) when is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -123,15 +132,20 @@ new(#wx_ref{type=ParentT,ref=ParentRef}, Options) wxe_util:construct(?wxTreeCtrl_new_2, <>). -%% @spec (This::wxTreeCtrl(), Text::string()) -> integer() %% @equiv addRoot(This,Text, []) +-spec addRoot(This, Text) -> integer() when + This::wxTreeCtrl(), Text::string(). + addRoot(This,Text) when is_record(This, wx_ref),is_list(Text) -> addRoot(This,Text, []). -%% @spec (This::wxTreeCtrl(), Text::string(), [Option]) -> integer() -%% Option = {image, integer()} | {selectedImage, integer()} | {data, term()} %% @doc See external documentation. +-spec addRoot(This, Text, [Option]) -> integer() when + This::wxTreeCtrl(), Text::string(), + Option :: {image, integer()} + | {selectedImage, integer()} + | {data, term()}. addRoot(#wx_ref{type=ThisT,ref=ThisRef},Text, Options) when is_list(Text),is_list(Options) -> ?CLASS(ThisT,wxTreeCtrl), @@ -144,15 +158,20 @@ addRoot(#wx_ref{type=ThisT,ref=ThisRef},Text, Options) wxe_util:call(?wxTreeCtrl_AddRoot, <>). -%% @spec (This::wxTreeCtrl(), Parent::integer(), Text::string()) -> integer() %% @equiv appendItem(This,Parent,Text, []) +-spec appendItem(This, Parent, Text) -> integer() when + This::wxTreeCtrl(), Parent::integer(), Text::string(). + appendItem(This,Parent,Text) when is_record(This, wx_ref),is_integer(Parent),is_list(Text) -> appendItem(This,Parent,Text, []). -%% @spec (This::wxTreeCtrl(), Parent::integer(), Text::string(), [Option]) -> integer() -%% Option = {image, integer()} | {selectedImage, integer()} | {data, term()} %% @doc See external documentation. +-spec appendItem(This, Parent, Text, [Option]) -> integer() when + This::wxTreeCtrl(), Parent::integer(), Text::string(), + Option :: {image, integer()} + | {selectedImage, integer()} + | {data, term()}. appendItem(#wx_ref{type=ThisT,ref=ThisRef},Parent,Text, Options) when is_integer(Parent),is_list(Text),is_list(Options) -> ?CLASS(ThisT,wxTreeCtrl), @@ -165,47 +184,58 @@ appendItem(#wx_ref{type=ThisT,ref=ThisRef},Parent,Text, Options) wxe_util:call(?wxTreeCtrl_AppendItem, <>). -%% @spec (This::wxTreeCtrl(), ImageList::wxImageList:wxImageList()) -> ok %% @doc See external documentation. +-spec assignImageList(This, ImageList) -> ok when + This::wxTreeCtrl(), ImageList::wxImageList:wxImageList(). assignImageList(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ImageListT,ref=ImageListRef}) -> ?CLASS(ThisT,wxTreeCtrl), ?CLASS(ImageListT,wxImageList), wxe_util:cast(?wxTreeCtrl_AssignImageList, <>). -%% @spec (This::wxTreeCtrl(), ImageList::wxImageList:wxImageList()) -> ok %% @doc See external documentation. +-spec assignStateImageList(This, ImageList) -> ok when + This::wxTreeCtrl(), ImageList::wxImageList:wxImageList(). assignStateImageList(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ImageListT,ref=ImageListRef}) -> ?CLASS(ThisT,wxTreeCtrl), ?CLASS(ImageListT,wxImageList), wxe_util:cast(?wxTreeCtrl_AssignStateImageList, <>). -%% @spec (This::wxTreeCtrl(), Item::integer()) -> ok %% @doc See external documentation. +-spec collapse(This, Item) -> ok when + This::wxTreeCtrl(), Item::integer(). collapse(#wx_ref{type=ThisT,ref=ThisRef},Item) when is_integer(Item) -> ?CLASS(ThisT,wxTreeCtrl), wxe_util:cast(?wxTreeCtrl_Collapse, <>). -%% @spec (This::wxTreeCtrl(), Item::integer()) -> ok %% @doc See external documentation. +-spec collapseAndReset(This, Item) -> ok when + This::wxTreeCtrl(), Item::integer(). collapseAndReset(#wx_ref{type=ThisT,ref=ThisRef},Item) when is_integer(Item) -> ?CLASS(ThisT,wxTreeCtrl), wxe_util:cast(?wxTreeCtrl_CollapseAndReset, <>). -%% @spec (This::wxTreeCtrl(), Parent::wxWindow:wxWindow()) -> bool() %% @equiv create(This,Parent, []) +-spec create(This, Parent) -> boolean() when + This::wxTreeCtrl(), Parent::wxWindow:wxWindow(). + create(This,Parent) when is_record(This, wx_ref),is_record(Parent, wx_ref) -> create(This,Parent, []). -%% @spec (This::wxTreeCtrl(), Parent::wxWindow:wxWindow(), [Option]) -> bool() -%% Option = {id, integer()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx:wx()} %% @doc See external documentation. +-spec create(This, Parent, [Option]) -> boolean() when + This::wxTreeCtrl(), Parent::wxWindow:wxWindow(), + Option :: {id, integer()} + | {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()} + | {validator, wx:wx()}. create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxTreeCtrl), @@ -220,62 +250,71 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}, Opti wxe_util:call(?wxTreeCtrl_Create, <>). -%% @spec (This::wxTreeCtrl(), Item::integer()) -> ok %% @doc See external documentation. +-spec delete(This, Item) -> ok when + This::wxTreeCtrl(), Item::integer(). delete(#wx_ref{type=ThisT,ref=ThisRef},Item) when is_integer(Item) -> ?CLASS(ThisT,wxTreeCtrl), wxe_util:cast(?wxTreeCtrl_Delete, <>). -%% @spec (This::wxTreeCtrl()) -> ok %% @doc See external documentation. +-spec deleteAllItems(This) -> ok when + This::wxTreeCtrl(). deleteAllItems(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTreeCtrl), wxe_util:cast(?wxTreeCtrl_DeleteAllItems, <>). -%% @spec (This::wxTreeCtrl(), Item::integer()) -> ok %% @doc See external documentation. +-spec deleteChildren(This, Item) -> ok when + This::wxTreeCtrl(), Item::integer(). deleteChildren(#wx_ref{type=ThisT,ref=ThisRef},Item) when is_integer(Item) -> ?CLASS(ThisT,wxTreeCtrl), wxe_util:cast(?wxTreeCtrl_DeleteChildren, <>). -%% @spec (This::wxTreeCtrl(), Item::integer()) -> wxTextCtrl:wxTextCtrl() %% @doc See external documentation. +-spec editLabel(This, Item) -> wxTextCtrl:wxTextCtrl() when + This::wxTreeCtrl(), Item::integer(). editLabel(#wx_ref{type=ThisT,ref=ThisRef},Item) when is_integer(Item) -> ?CLASS(ThisT,wxTreeCtrl), wxe_util:call(?wxTreeCtrl_EditLabel, <>). -%% @spec (This::wxTreeCtrl(), Item::integer()) -> ok %% @doc See external documentation. +-spec ensureVisible(This, Item) -> ok when + This::wxTreeCtrl(), Item::integer(). ensureVisible(#wx_ref{type=ThisT,ref=ThisRef},Item) when is_integer(Item) -> ?CLASS(ThisT,wxTreeCtrl), wxe_util:cast(?wxTreeCtrl_EnsureVisible, <>). -%% @spec (This::wxTreeCtrl(), Item::integer()) -> ok %% @doc See external documentation. +-spec expand(This, Item) -> ok when + This::wxTreeCtrl(), Item::integer(). expand(#wx_ref{type=ThisT,ref=ThisRef},Item) when is_integer(Item) -> ?CLASS(ThisT,wxTreeCtrl), wxe_util:cast(?wxTreeCtrl_Expand, <>). -%% @spec (This::wxTreeCtrl(), Item::integer(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}) -> bool() %% @equiv getBoundingRect(This,Item,Rect, []) +-spec getBoundingRect(This, Item, Rect) -> boolean() when + This::wxTreeCtrl(), Item::integer(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}. + getBoundingRect(This,Item,Rect={RectX,RectY,RectW,RectH}) when is_record(This, wx_ref),is_integer(Item),is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH) -> getBoundingRect(This,Item,Rect, []). -%% @spec (This::wxTreeCtrl(), Item::integer(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}, [Option]) -> bool() -%% Option = {textOnly, bool()} %% @doc See external documentation. +-spec getBoundingRect(This, Item, Rect, [Option]) -> boolean() when + This::wxTreeCtrl(), Item::integer(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}, + Option :: {textOnly, boolean()}. getBoundingRect(#wx_ref{type=ThisT,ref=ThisRef},Item,{RectX,RectY,RectW,RectH}, Options) when is_integer(Item),is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH),is_list(Options) -> ?CLASS(ThisT,wxTreeCtrl), @@ -285,15 +324,18 @@ getBoundingRect(#wx_ref{type=ThisT,ref=ThisRef},Item,{RectX,RectY,RectW,RectH}, wxe_util:call(?wxTreeCtrl_GetBoundingRect, <>). -%% @spec (This::wxTreeCtrl(), Item::integer()) -> integer() %% @equiv getChildrenCount(This,Item, []) +-spec getChildrenCount(This, Item) -> integer() when + This::wxTreeCtrl(), Item::integer(). + getChildrenCount(This,Item) when is_record(This, wx_ref),is_integer(Item) -> getChildrenCount(This,Item, []). -%% @spec (This::wxTreeCtrl(), Item::integer(), [Option]) -> integer() -%% Option = {recursively, bool()} %% @doc See external documentation. +-spec getChildrenCount(This, Item, [Option]) -> integer() when + This::wxTreeCtrl(), Item::integer(), + Option :: {recursively, boolean()}. getChildrenCount(#wx_ref{type=ThisT,ref=ThisRef},Item, Options) when is_integer(Item),is_list(Options) -> ?CLASS(ThisT,wxTreeCtrl), @@ -303,94 +345,107 @@ getChildrenCount(#wx_ref{type=ThisT,ref=ThisRef},Item, Options) wxe_util:call(?wxTreeCtrl_GetChildrenCount, <>). -%% @spec (This::wxTreeCtrl()) -> integer() %% @doc See external documentation. +-spec getCount(This) -> integer() when + This::wxTreeCtrl(). getCount(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTreeCtrl), wxe_util:call(?wxTreeCtrl_GetCount, <>). -%% @spec (This::wxTreeCtrl()) -> wxTextCtrl:wxTextCtrl() %% @doc See external documentation. +-spec getEditControl(This) -> wxTextCtrl:wxTextCtrl() when + This::wxTreeCtrl(). getEditControl(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTreeCtrl), wxe_util:call(?wxTreeCtrl_GetEditControl, <>). -%% @spec (This::wxTreeCtrl(), Item::integer()) -> {integer(), Cookie::integer()} %% @doc See external documentation. +-spec getFirstChild(This, Item) -> Result when + Result ::{Res ::integer(), Cookie::integer()}, + This::wxTreeCtrl(), Item::integer(). getFirstChild(#wx_ref{type=ThisT,ref=ThisRef},Item) when is_integer(Item) -> ?CLASS(ThisT,wxTreeCtrl), wxe_util:call(?wxTreeCtrl_GetFirstChild, <>). -%% @spec (This::wxTreeCtrl(), Item::integer(), Cookie::integer()) -> {integer(), Cookie::integer()} %% @doc See external documentation. +-spec getNextChild(This, Item, Cookie) -> Result when + Result ::{Res ::integer(), Cookie::integer()}, + This::wxTreeCtrl(), Item::integer(), Cookie::integer(). getNextChild(#wx_ref{type=ThisT,ref=ThisRef},Item,Cookie) when is_integer(Item),is_integer(Cookie) -> ?CLASS(ThisT,wxTreeCtrl), wxe_util:call(?wxTreeCtrl_GetNextChild, <>). -%% @spec (This::wxTreeCtrl()) -> integer() %% @doc See external documentation. +-spec getFirstVisibleItem(This) -> integer() when + This::wxTreeCtrl(). getFirstVisibleItem(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTreeCtrl), wxe_util:call(?wxTreeCtrl_GetFirstVisibleItem, <>). -%% @spec (This::wxTreeCtrl()) -> wxImageList:wxImageList() %% @doc See external documentation. +-spec getImageList(This) -> wxImageList:wxImageList() when + This::wxTreeCtrl(). getImageList(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTreeCtrl), wxe_util:call(?wxTreeCtrl_GetImageList, <>). -%% @spec (This::wxTreeCtrl()) -> integer() %% @doc See external documentation. +-spec getIndent(This) -> integer() when + This::wxTreeCtrl(). getIndent(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTreeCtrl), wxe_util:call(?wxTreeCtrl_GetIndent, <>). -%% @spec (This::wxTreeCtrl(), Item::integer()) -> wx:colour() %% @doc See external documentation. +-spec getItemBackgroundColour(This, Item) -> wx:wx_colour() when + This::wxTreeCtrl(), Item::integer(). getItemBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef},Item) when is_integer(Item) -> ?CLASS(ThisT,wxTreeCtrl), wxe_util:call(?wxTreeCtrl_GetItemBackgroundColour, <>). -%% @spec (This::wxTreeCtrl(), Item::integer()) -> term() %% @doc See external documentation. +-spec getItemData(This, Item) -> term() when + This::wxTreeCtrl(), Item::integer(). getItemData(#wx_ref{type=ThisT,ref=ThisRef},Item) when is_integer(Item) -> ?CLASS(ThisT,wxTreeCtrl), wxe_util:call(?wxTreeCtrl_GetItemData, <>). -%% @spec (This::wxTreeCtrl(), Item::integer()) -> wxFont:wxFont() %% @doc See external documentation. +-spec getItemFont(This, Item) -> wxFont:wxFont() when + This::wxTreeCtrl(), Item::integer(). getItemFont(#wx_ref{type=ThisT,ref=ThisRef},Item) when is_integer(Item) -> ?CLASS(ThisT,wxTreeCtrl), wxe_util:call(?wxTreeCtrl_GetItemFont, <>). -%% @spec (This::wxTreeCtrl(), Item::integer()) -> integer() %% @doc See external documentation. +-spec getItemImage(This, Item) -> integer() when + This::wxTreeCtrl(), Item::integer(). getItemImage(#wx_ref{type=ThisT,ref=ThisRef},Item) when is_integer(Item) -> ?CLASS(ThisT,wxTreeCtrl), wxe_util:call(?wxTreeCtrl_GetItemImage_1, <>). -%% @spec (This::wxTreeCtrl(), Item::integer(), [Option]) -> integer() -%% Option = {which, WxTreeItemIcon} -%% WxTreeItemIcon = integer() %% @doc See external documentation. -%%
WxTreeItemIcon is one of ?wxTreeItemIcon_Normal | ?wxTreeItemIcon_Selected | ?wxTreeItemIcon_Expanded | ?wxTreeItemIcon_SelectedExpanded | ?wxTreeItemIcon_Max +%%
Which = ?wxTreeItemIcon_Normal | ?wxTreeItemIcon_Selected | ?wxTreeItemIcon_Expanded | ?wxTreeItemIcon_SelectedExpanded | ?wxTreeItemIcon_Max +-spec getItemImage(This, Item, [Option]) -> integer() when + This::wxTreeCtrl(), Item::integer(), + Option :: {which, wx:wx_enum()}. getItemImage(#wx_ref{type=ThisT,ref=ThisRef},Item, Options) when is_integer(Item),is_list(Options) -> ?CLASS(ThisT,wxTreeCtrl), @@ -400,115 +455,134 @@ getItemImage(#wx_ref{type=ThisT,ref=ThisRef},Item, Options) wxe_util:call(?wxTreeCtrl_GetItemImage_2, <>). -%% @spec (This::wxTreeCtrl(), Item::integer()) -> string() %% @doc See external documentation. +-spec getItemText(This, Item) -> string() when + This::wxTreeCtrl(), Item::integer(). getItemText(#wx_ref{type=ThisT,ref=ThisRef},Item) when is_integer(Item) -> ?CLASS(ThisT,wxTreeCtrl), wxe_util:call(?wxTreeCtrl_GetItemText, <>). -%% @spec (This::wxTreeCtrl(), Item::integer()) -> wx:colour() %% @doc See external documentation. +-spec getItemTextColour(This, Item) -> wx:wx_colour() when + This::wxTreeCtrl(), Item::integer(). getItemTextColour(#wx_ref{type=ThisT,ref=ThisRef},Item) when is_integer(Item) -> ?CLASS(ThisT,wxTreeCtrl), wxe_util:call(?wxTreeCtrl_GetItemTextColour, <>). -%% @spec (This::wxTreeCtrl(), Item::integer()) -> integer() %% @doc See external documentation. +-spec getLastChild(This, Item) -> integer() when + This::wxTreeCtrl(), Item::integer(). getLastChild(#wx_ref{type=ThisT,ref=ThisRef},Item) when is_integer(Item) -> ?CLASS(ThisT,wxTreeCtrl), wxe_util:call(?wxTreeCtrl_GetLastChild, <>). -%% @spec (This::wxTreeCtrl(), Item::integer()) -> integer() %% @doc See external documentation. +-spec getNextSibling(This, Item) -> integer() when + This::wxTreeCtrl(), Item::integer(). getNextSibling(#wx_ref{type=ThisT,ref=ThisRef},Item) when is_integer(Item) -> ?CLASS(ThisT,wxTreeCtrl), wxe_util:call(?wxTreeCtrl_GetNextSibling, <>). -%% @spec (This::wxTreeCtrl(), Item::integer()) -> integer() %% @doc See external documentation. +-spec getNextVisible(This, Item) -> integer() when + This::wxTreeCtrl(), Item::integer(). getNextVisible(#wx_ref{type=ThisT,ref=ThisRef},Item) when is_integer(Item) -> ?CLASS(ThisT,wxTreeCtrl), wxe_util:call(?wxTreeCtrl_GetNextVisible, <>). -%% @spec (This::wxTreeCtrl(), Item::integer()) -> integer() %% @doc See external documentation. +-spec getItemParent(This, Item) -> integer() when + This::wxTreeCtrl(), Item::integer(). getItemParent(#wx_ref{type=ThisT,ref=ThisRef},Item) when is_integer(Item) -> ?CLASS(ThisT,wxTreeCtrl), wxe_util:call(?wxTreeCtrl_GetItemParent, <>). -%% @spec (This::wxTreeCtrl(), Item::integer()) -> integer() %% @doc See external documentation. +-spec getPrevSibling(This, Item) -> integer() when + This::wxTreeCtrl(), Item::integer(). getPrevSibling(#wx_ref{type=ThisT,ref=ThisRef},Item) when is_integer(Item) -> ?CLASS(ThisT,wxTreeCtrl), wxe_util:call(?wxTreeCtrl_GetPrevSibling, <>). -%% @spec (This::wxTreeCtrl(), Item::integer()) -> integer() %% @doc See external documentation. +-spec getPrevVisible(This, Item) -> integer() when + This::wxTreeCtrl(), Item::integer(). getPrevVisible(#wx_ref{type=ThisT,ref=ThisRef},Item) when is_integer(Item) -> ?CLASS(ThisT,wxTreeCtrl), wxe_util:call(?wxTreeCtrl_GetPrevVisible, <>). -%% @spec (This::wxTreeCtrl()) -> integer() %% @doc See external documentation. +-spec getRootItem(This) -> integer() when + This::wxTreeCtrl(). getRootItem(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTreeCtrl), wxe_util:call(?wxTreeCtrl_GetRootItem, <>). -%% @spec (This::wxTreeCtrl()) -> integer() %% @doc See external documentation. +-spec getSelection(This) -> integer() when + This::wxTreeCtrl(). getSelection(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTreeCtrl), wxe_util:call(?wxTreeCtrl_GetSelection, <>). -%% @spec (This::wxTreeCtrl()) -> {integer(), Val::[integer()]} %% @doc See external documentation. +-spec getSelections(This) -> Result when + Result ::{Res ::integer(), Val::[integer()]}, + This::wxTreeCtrl(). getSelections(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTreeCtrl), wxe_util:call(?wxTreeCtrl_GetSelections, <>). -%% @spec (This::wxTreeCtrl()) -> wxImageList:wxImageList() %% @doc See external documentation. +-spec getStateImageList(This) -> wxImageList:wxImageList() when + This::wxTreeCtrl(). getStateImageList(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTreeCtrl), wxe_util:call(?wxTreeCtrl_GetStateImageList, <>). -%% @spec (This::wxTreeCtrl(), Point::{X::integer(), Y::integer()}) -> integer() %% @doc See external documentation. +-spec hitTest(This, Point) -> integer() when + This::wxTreeCtrl(), Point::{X::integer(), Y::integer()}. hitTest(#wx_ref{type=ThisT,ref=ThisRef},{PointX,PointY}) when is_integer(PointX),is_integer(PointY) -> ?CLASS(ThisT,wxTreeCtrl), wxe_util:call(?wxTreeCtrl_HitTest, <>). -%% @spec (This::wxTreeCtrl(), Parent::integer(), Pos::integer(), Text::string()) -> integer() %% @equiv insertItem(This,Parent,Pos,Text, []) +-spec insertItem(This, Parent, Pos, Text) -> integer() when + This::wxTreeCtrl(), Parent::integer(), Pos::integer(), Text::string(). + insertItem(This,Parent,Pos,Text) when is_record(This, wx_ref),is_integer(Parent),is_integer(Pos),is_list(Text) -> insertItem(This,Parent,Pos,Text, []). -%% @spec (This::wxTreeCtrl(), Parent::integer(), Pos::integer(), Text::string(), [Option]) -> integer() -%% Option = {image, integer()} | {selImage, integer()} | {data, term()} %% @doc See external documentation. +-spec insertItem(This, Parent, Pos, Text, [Option]) -> integer() when + This::wxTreeCtrl(), Parent::integer(), Pos::integer(), Text::string(), + Option :: {image, integer()} + | {selImage, integer()} + | {data, term()}. insertItem(#wx_ref{type=ThisT,ref=ThisRef},Parent,Pos,Text, Options) when is_integer(Parent),is_integer(Pos),is_list(Text),is_list(Options) -> ?CLASS(ThisT,wxTreeCtrl), @@ -521,55 +595,65 @@ insertItem(#wx_ref{type=ThisT,ref=ThisRef},Parent,Pos,Text, Options) wxe_util:call(?wxTreeCtrl_InsertItem, <>). -%% @spec (This::wxTreeCtrl(), Item::integer()) -> bool() %% @doc See external documentation. +-spec isBold(This, Item) -> boolean() when + This::wxTreeCtrl(), Item::integer(). isBold(#wx_ref{type=ThisT,ref=ThisRef},Item) when is_integer(Item) -> ?CLASS(ThisT,wxTreeCtrl), wxe_util:call(?wxTreeCtrl_IsBold, <>). -%% @spec (This::wxTreeCtrl(), Item::integer()) -> bool() %% @doc See external documentation. +-spec isExpanded(This, Item) -> boolean() when + This::wxTreeCtrl(), Item::integer(). isExpanded(#wx_ref{type=ThisT,ref=ThisRef},Item) when is_integer(Item) -> ?CLASS(ThisT,wxTreeCtrl), wxe_util:call(?wxTreeCtrl_IsExpanded, <>). -%% @spec (This::wxTreeCtrl(), Item::integer()) -> bool() %% @doc See external documentation. +-spec isSelected(This, Item) -> boolean() when + This::wxTreeCtrl(), Item::integer(). isSelected(#wx_ref{type=ThisT,ref=ThisRef},Item) when is_integer(Item) -> ?CLASS(ThisT,wxTreeCtrl), wxe_util:call(?wxTreeCtrl_IsSelected, <>). -%% @spec (This::wxTreeCtrl(), Item::integer()) -> bool() %% @doc See external documentation. +-spec isVisible(This, Item) -> boolean() when + This::wxTreeCtrl(), Item::integer(). isVisible(#wx_ref{type=ThisT,ref=ThisRef},Item) when is_integer(Item) -> ?CLASS(ThisT,wxTreeCtrl), wxe_util:call(?wxTreeCtrl_IsVisible, <>). -%% @spec (This::wxTreeCtrl(), Item::integer()) -> bool() %% @doc See external documentation. +-spec itemHasChildren(This, Item) -> boolean() when + This::wxTreeCtrl(), Item::integer(). itemHasChildren(#wx_ref{type=ThisT,ref=ThisRef},Item) when is_integer(Item) -> ?CLASS(ThisT,wxTreeCtrl), wxe_util:call(?wxTreeCtrl_ItemHasChildren, <>). -%% @spec (This::wxTreeCtrl(), Parent::integer(), Text::string()) -> integer() %% @equiv prependItem(This,Parent,Text, []) +-spec prependItem(This, Parent, Text) -> integer() when + This::wxTreeCtrl(), Parent::integer(), Text::string(). + prependItem(This,Parent,Text) when is_record(This, wx_ref),is_integer(Parent),is_list(Text) -> prependItem(This,Parent,Text, []). -%% @spec (This::wxTreeCtrl(), Parent::integer(), Text::string(), [Option]) -> integer() -%% Option = {image, integer()} | {selectedImage, integer()} | {data, term()} %% @doc See external documentation. +-spec prependItem(This, Parent, Text, [Option]) -> integer() when + This::wxTreeCtrl(), Parent::integer(), Text::string(), + Option :: {image, integer()} + | {selectedImage, integer()} + | {data, term()}. prependItem(#wx_ref{type=ThisT,ref=ThisRef},Parent,Text, Options) when is_integer(Parent),is_list(Text),is_list(Options) -> ?CLASS(ThisT,wxTreeCtrl), @@ -582,25 +666,28 @@ prependItem(#wx_ref{type=ThisT,ref=ThisRef},Parent,Text, Options) wxe_util:call(?wxTreeCtrl_PrependItem, <>). -%% @spec (This::wxTreeCtrl(), Item::integer()) -> ok %% @doc See external documentation. +-spec scrollTo(This, Item) -> ok when + This::wxTreeCtrl(), Item::integer(). scrollTo(#wx_ref{type=ThisT,ref=ThisRef},Item) when is_integer(Item) -> ?CLASS(ThisT,wxTreeCtrl), wxe_util:cast(?wxTreeCtrl_ScrollTo, <>). -%% @spec (This::wxTreeCtrl(), Item::integer()) -> ok %% @doc See external documentation. +-spec selectItem(This, Item) -> ok when + This::wxTreeCtrl(), Item::integer(). selectItem(#wx_ref{type=ThisT,ref=ThisRef},Item) when is_integer(Item) -> ?CLASS(ThisT,wxTreeCtrl), wxe_util:cast(?wxTreeCtrl_SelectItem_1, <>). -%% @spec (This::wxTreeCtrl(), Item::integer(), [Option]) -> ok -%% Option = {select, bool()} %% @doc See external documentation. +-spec selectItem(This, Item, [Option]) -> ok when + This::wxTreeCtrl(), Item::integer(), + Option :: {select, boolean()}. selectItem(#wx_ref{type=ThisT,ref=ThisRef},Item, Options) when is_integer(Item),is_list(Options) -> ?CLASS(ThisT,wxTreeCtrl), @@ -610,39 +697,45 @@ selectItem(#wx_ref{type=ThisT,ref=ThisRef},Item, Options) wxe_util:cast(?wxTreeCtrl_SelectItem_2, <>). -%% @spec (This::wxTreeCtrl(), Indent::integer()) -> ok %% @doc See external documentation. +-spec setIndent(This, Indent) -> ok when + This::wxTreeCtrl(), Indent::integer(). setIndent(#wx_ref{type=ThisT,ref=ThisRef},Indent) when is_integer(Indent) -> ?CLASS(ThisT,wxTreeCtrl), wxe_util:cast(?wxTreeCtrl_SetIndent, <>). -%% @spec (This::wxTreeCtrl(), ImageList::wxImageList:wxImageList()) -> ok %% @doc See external documentation. +-spec setImageList(This, ImageList) -> ok when + This::wxTreeCtrl(), ImageList::wxImageList:wxImageList(). setImageList(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ImageListT,ref=ImageListRef}) -> ?CLASS(ThisT,wxTreeCtrl), ?CLASS(ImageListT,wxImageList), wxe_util:cast(?wxTreeCtrl_SetImageList, <>). -%% @spec (This::wxTreeCtrl(), Item::integer(), Col::wx:colour()) -> ok %% @doc See external documentation. +-spec setItemBackgroundColour(This, Item, Col) -> ok when + This::wxTreeCtrl(), Item::integer(), Col::wx:wx_colour(). setItemBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef},Item,Col) when is_integer(Item),tuple_size(Col) =:= 3; tuple_size(Col) =:= 4 -> ?CLASS(ThisT,wxTreeCtrl), wxe_util:cast(?wxTreeCtrl_SetItemBackgroundColour, <>). -%% @spec (This::wxTreeCtrl(), Item::integer()) -> ok %% @equiv setItemBold(This,Item, []) +-spec setItemBold(This, Item) -> ok when + This::wxTreeCtrl(), Item::integer(). + setItemBold(This,Item) when is_record(This, wx_ref),is_integer(Item) -> setItemBold(This,Item, []). -%% @spec (This::wxTreeCtrl(), Item::integer(), [Option]) -> ok -%% Option = {bold, bool()} %% @doc See external documentation. +-spec setItemBold(This, Item, [Option]) -> ok when + This::wxTreeCtrl(), Item::integer(), + Option :: {bold, boolean()}. setItemBold(#wx_ref{type=ThisT,ref=ThisRef},Item, Options) when is_integer(Item),is_list(Options) -> ?CLASS(ThisT,wxTreeCtrl), @@ -652,8 +745,9 @@ setItemBold(#wx_ref{type=ThisT,ref=ThisRef},Item, Options) wxe_util:cast(?wxTreeCtrl_SetItemBold, <>). -%% @spec (This::wxTreeCtrl(), Item::integer(), Data::term()) -> ok %% @doc See external documentation. +-spec setItemData(This, Item, Data) -> ok when + This::wxTreeCtrl(), Item::integer(), Data::term(). setItemData(#wx_ref{type=ThisT,ref=ThisRef},Item,Data) when is_integer(Item) -> ?CLASS(ThisT,wxTreeCtrl), @@ -661,15 +755,18 @@ setItemData(#wx_ref{type=ThisT,ref=ThisRef},Item,Data) wxe_util:cast(?wxTreeCtrl_SetItemData, <>). -%% @spec (This::wxTreeCtrl(), Item::integer()) -> ok %% @equiv setItemDropHighlight(This,Item, []) +-spec setItemDropHighlight(This, Item) -> ok when + This::wxTreeCtrl(), Item::integer(). + setItemDropHighlight(This,Item) when is_record(This, wx_ref),is_integer(Item) -> setItemDropHighlight(This,Item, []). -%% @spec (This::wxTreeCtrl(), Item::integer(), [Option]) -> ok -%% Option = {highlight, bool()} %% @doc See external documentation. +-spec setItemDropHighlight(This, Item, [Option]) -> ok when + This::wxTreeCtrl(), Item::integer(), + Option :: {highlight, boolean()}. setItemDropHighlight(#wx_ref{type=ThisT,ref=ThisRef},Item, Options) when is_integer(Item),is_list(Options) -> ?CLASS(ThisT,wxTreeCtrl), @@ -679,8 +776,9 @@ setItemDropHighlight(#wx_ref{type=ThisT,ref=ThisRef},Item, Options) wxe_util:cast(?wxTreeCtrl_SetItemDropHighlight, <>). -%% @spec (This::wxTreeCtrl(), Item::integer(), Font::wxFont:wxFont()) -> ok %% @doc See external documentation. +-spec setItemFont(This, Item, Font) -> ok when + This::wxTreeCtrl(), Item::integer(), Font::wxFont:wxFont(). setItemFont(#wx_ref{type=ThisT,ref=ThisRef},Item,#wx_ref{type=FontT,ref=FontRef}) when is_integer(Item) -> ?CLASS(ThisT,wxTreeCtrl), @@ -688,15 +786,18 @@ setItemFont(#wx_ref{type=ThisT,ref=ThisRef},Item,#wx_ref{type=FontT,ref=FontRef} wxe_util:cast(?wxTreeCtrl_SetItemFont, <>). -%% @spec (This::wxTreeCtrl(), Item::integer()) -> ok %% @equiv setItemHasChildren(This,Item, []) +-spec setItemHasChildren(This, Item) -> ok when + This::wxTreeCtrl(), Item::integer(). + setItemHasChildren(This,Item) when is_record(This, wx_ref),is_integer(Item) -> setItemHasChildren(This,Item, []). -%% @spec (This::wxTreeCtrl(), Item::integer(), [Option]) -> ok -%% Option = {has, bool()} %% @doc See external documentation. +-spec setItemHasChildren(This, Item, [Option]) -> ok when + This::wxTreeCtrl(), Item::integer(), + Option :: {has, boolean()}. setItemHasChildren(#wx_ref{type=ThisT,ref=ThisRef},Item, Options) when is_integer(Item),is_list(Options) -> ?CLASS(ThisT,wxTreeCtrl), @@ -706,19 +807,20 @@ setItemHasChildren(#wx_ref{type=ThisT,ref=ThisRef},Item, Options) wxe_util:cast(?wxTreeCtrl_SetItemHasChildren, <>). -%% @spec (This::wxTreeCtrl(), Item::integer(), Image::integer()) -> ok %% @doc See external documentation. +-spec setItemImage(This, Item, Image) -> ok when + This::wxTreeCtrl(), Item::integer(), Image::integer(). setItemImage(#wx_ref{type=ThisT,ref=ThisRef},Item,Image) when is_integer(Item),is_integer(Image) -> ?CLASS(ThisT,wxTreeCtrl), wxe_util:cast(?wxTreeCtrl_SetItemImage_2, <>). -%% @spec (This::wxTreeCtrl(), Item::integer(), Image::integer(), [Option]) -> ok -%% Option = {which, WxTreeItemIcon} -%% WxTreeItemIcon = integer() %% @doc See external documentation. -%%
WxTreeItemIcon is one of ?wxTreeItemIcon_Normal | ?wxTreeItemIcon_Selected | ?wxTreeItemIcon_Expanded | ?wxTreeItemIcon_SelectedExpanded | ?wxTreeItemIcon_Max +%%
Which = ?wxTreeItemIcon_Normal | ?wxTreeItemIcon_Selected | ?wxTreeItemIcon_Expanded | ?wxTreeItemIcon_SelectedExpanded | ?wxTreeItemIcon_Max +-spec setItemImage(This, Item, Image, [Option]) -> ok when + This::wxTreeCtrl(), Item::integer(), Image::integer(), + Option :: {which, wx:wx_enum()}. setItemImage(#wx_ref{type=ThisT,ref=ThisRef},Item,Image, Options) when is_integer(Item),is_integer(Image),is_list(Options) -> ?CLASS(ThisT,wxTreeCtrl), @@ -728,8 +830,9 @@ setItemImage(#wx_ref{type=ThisT,ref=ThisRef},Item,Image, Options) wxe_util:cast(?wxTreeCtrl_SetItemImage_3, <>). -%% @spec (This::wxTreeCtrl(), Item::integer(), Text::string()) -> ok %% @doc See external documentation. +-spec setItemText(This, Item, Text) -> ok when + This::wxTreeCtrl(), Item::integer(), Text::string(). setItemText(#wx_ref{type=ThisT,ref=ThisRef},Item,Text) when is_integer(Item),is_list(Text) -> ?CLASS(ThisT,wxTreeCtrl), @@ -737,78 +840,87 @@ setItemText(#wx_ref{type=ThisT,ref=ThisRef},Item,Text) wxe_util:cast(?wxTreeCtrl_SetItemText, <>). -%% @spec (This::wxTreeCtrl(), Item::integer(), Col::wx:colour()) -> ok %% @doc See external documentation. +-spec setItemTextColour(This, Item, Col) -> ok when + This::wxTreeCtrl(), Item::integer(), Col::wx:wx_colour(). setItemTextColour(#wx_ref{type=ThisT,ref=ThisRef},Item,Col) when is_integer(Item),tuple_size(Col) =:= 3; tuple_size(Col) =:= 4 -> ?CLASS(ThisT,wxTreeCtrl), wxe_util:cast(?wxTreeCtrl_SetItemTextColour, <>). -%% @spec (This::wxTreeCtrl(), ImageList::wxImageList:wxImageList()) -> ok %% @doc See external documentation. +-spec setStateImageList(This, ImageList) -> ok when + This::wxTreeCtrl(), ImageList::wxImageList:wxImageList(). setStateImageList(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ImageListT,ref=ImageListRef}) -> ?CLASS(ThisT,wxTreeCtrl), ?CLASS(ImageListT,wxImageList), wxe_util:cast(?wxTreeCtrl_SetStateImageList, <>). -%% @spec (This::wxTreeCtrl(), Styles::integer()) -> ok %% @doc See external documentation. +-spec setWindowStyle(This, Styles) -> ok when + This::wxTreeCtrl(), Styles::integer(). setWindowStyle(#wx_ref{type=ThisT,ref=ThisRef},Styles) when is_integer(Styles) -> ?CLASS(ThisT,wxTreeCtrl), wxe_util:cast(?wxTreeCtrl_SetWindowStyle, <>). -%% @spec (This::wxTreeCtrl(), Item::integer()) -> ok %% @doc See external documentation. +-spec sortChildren(This, Item) -> ok when + This::wxTreeCtrl(), Item::integer(). sortChildren(#wx_ref{type=ThisT,ref=ThisRef},Item) when is_integer(Item) -> ?CLASS(ThisT,wxTreeCtrl), wxe_util:cast(?wxTreeCtrl_SortChildren, <>). -%% @spec (This::wxTreeCtrl(), Item::integer()) -> ok %% @doc See external documentation. +-spec toggle(This, Item) -> ok when + This::wxTreeCtrl(), Item::integer(). toggle(#wx_ref{type=ThisT,ref=ThisRef},Item) when is_integer(Item) -> ?CLASS(ThisT,wxTreeCtrl), wxe_util:cast(?wxTreeCtrl_Toggle, <>). -%% @spec (This::wxTreeCtrl(), Item::integer()) -> ok %% @doc See external documentation. +-spec toggleItemSelection(This, Item) -> ok when + This::wxTreeCtrl(), Item::integer(). toggleItemSelection(#wx_ref{type=ThisT,ref=ThisRef},Item) when is_integer(Item) -> ?CLASS(ThisT,wxTreeCtrl), wxe_util:cast(?wxTreeCtrl_ToggleItemSelection, <>). -%% @spec (This::wxTreeCtrl()) -> ok %% @doc See external documentation. +-spec unselect(This) -> ok when + This::wxTreeCtrl(). unselect(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTreeCtrl), wxe_util:cast(?wxTreeCtrl_Unselect, <>). -%% @spec (This::wxTreeCtrl()) -> ok %% @doc See external documentation. +-spec unselectAll(This) -> ok when + This::wxTreeCtrl(). unselectAll(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTreeCtrl), wxe_util:cast(?wxTreeCtrl_UnselectAll, <>). -%% @spec (This::wxTreeCtrl(), Item::integer()) -> ok %% @doc See external documentation. +-spec unselectItem(This, Item) -> ok when + This::wxTreeCtrl(), Item::integer(). unselectItem(#wx_ref{type=ThisT,ref=ThisRef},Item) when is_integer(Item) -> ?CLASS(ThisT,wxTreeCtrl), wxe_util:cast(?wxTreeCtrl_UnselectItem, <>). -%% @spec (This::wxTreeCtrl()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxTreeCtrl) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxTreeCtrl), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxTreeEvent.erl b/lib/wx/src/gen/wxTreeEvent.erl index 0264d43568..8c91d73dbd 100644 --- a/lib/wx/src/gen/wxTreeEvent.erl +++ b/lib/wx/src/gen/wxTreeEvent.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -42,63 +42,73 @@ isSelection/1,parent_class/1,resumePropagation/2,setInt/2,setString/2, shouldPropagate/1,skip/1,skip/2,stopPropagation/1,veto/1]). +-export_type([wxTreeEvent/0]). %% @hidden parent_class(wxNotifyEvent) -> true; parent_class(wxCommandEvent) -> true; parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (This::wxTreeEvent()) -> integer() +-type wxTreeEvent() :: wx:wx_object(). %% @doc See external documentation. +-spec getKeyCode(This) -> integer() when + This::wxTreeEvent(). getKeyCode(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTreeEvent), wxe_util:call(?wxTreeEvent_GetKeyCode, <>). -%% @spec (This::wxTreeEvent()) -> integer() %% @doc See external documentation. +-spec getItem(This) -> integer() when + This::wxTreeEvent(). getItem(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTreeEvent), wxe_util:call(?wxTreeEvent_GetItem, <>). -%% @spec (This::wxTreeEvent()) -> wxKeyEvent:wxKeyEvent() %% @doc See external documentation. +-spec getKeyEvent(This) -> wxKeyEvent:wxKeyEvent() when + This::wxTreeEvent(). getKeyEvent(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTreeEvent), wxe_util:call(?wxTreeEvent_GetKeyEvent, <>). -%% @spec (This::wxTreeEvent()) -> string() %% @doc See external documentation. +-spec getLabel(This) -> string() when + This::wxTreeEvent(). getLabel(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTreeEvent), wxe_util:call(?wxTreeEvent_GetLabel, <>). -%% @spec (This::wxTreeEvent()) -> integer() %% @doc See external documentation. +-spec getOldItem(This) -> integer() when + This::wxTreeEvent(). getOldItem(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTreeEvent), wxe_util:call(?wxTreeEvent_GetOldItem, <>). -%% @spec (This::wxTreeEvent()) -> {X::integer(), Y::integer()} %% @doc See external documentation. +-spec getPoint(This) -> {X::integer(), Y::integer()} when + This::wxTreeEvent(). getPoint(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTreeEvent), wxe_util:call(?wxTreeEvent_GetPoint, <>). -%% @spec (This::wxTreeEvent()) -> bool() %% @doc See external documentation. +-spec isEditCancelled(This) -> boolean() when + This::wxTreeEvent(). isEditCancelled(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTreeEvent), wxe_util:call(?wxTreeEvent_IsEditCancelled, <>). -%% @spec (This::wxTreeEvent(), ToolTip::string()) -> ok %% @doc See external documentation. +-spec setToolTip(This, ToolTip) -> ok when + This::wxTreeEvent(), ToolTip::string(). setToolTip(#wx_ref{type=ThisT,ref=ThisRef},ToolTip) when is_list(ToolTip) -> ?CLASS(ThisT,wxTreeEvent), diff --git a/lib/wx/src/gen/wxTreebook.erl b/lib/wx/src/gen/wxTreebook.erl index 24f5d72c43..945cfb62e1 100644 --- a/lib/wx/src/gen/wxTreebook.erl +++ b/lib/wx/src/gen/wxTreebook.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2009-2011. All Rights Reserved. +%% Copyright Ericsson AB 2009-2012. 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 @@ -75,27 +75,34 @@ show/1,show/2,thaw/1,transferDataFromWindow/1,transferDataToWindow/1, update/1,updateWindowUI/1,updateWindowUI/2,validate/1,warpPointer/3]). +-export_type([wxTreebook/0]). %% @hidden parent_class(wxControl) -> true; parent_class(wxWindow) -> true; parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxTreebook() +-type wxTreebook() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxTreebook(). new() -> wxe_util:construct(?wxTreebook_new_0, <<>>). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer()) -> wxTreebook() %% @equiv new(Parent,Id, []) +-spec new(Parent, Id) -> wxTreebook() when + Parent::wxWindow:wxWindow(), Id::integer(). + new(Parent,Id) when is_record(Parent, wx_ref),is_integer(Id) -> new(Parent,Id, []). -%% @spec (Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> wxTreebook() -%% Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} %% @doc See external documentation. +-spec new(Parent, Id, [Option]) -> wxTreebook() when + Parent::wxWindow:wxWindow(), Id::integer(), + Option :: {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()}. new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options) when is_integer(Id),is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -107,15 +114,19 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options) wxe_util:construct(?wxTreebook_new_3, <>). -%% @spec (This::wxTreebook(), Page::wxWindow:wxWindow(), Text::string()) -> bool() %% @equiv addPage(This,Page,Text, []) +-spec addPage(This, Page, Text) -> boolean() when + This::wxTreebook(), Page::wxWindow:wxWindow(), Text::string(). + addPage(This,Page,Text) when is_record(This, wx_ref),is_record(Page, wx_ref),is_list(Text) -> addPage(This,Page,Text, []). -%% @spec (This::wxTreebook(), Page::wxWindow:wxWindow(), Text::string(), [Option]) -> bool() -%% Option = {bSelect, bool()} | {imageId, integer()} %% @doc See external documentation. +-spec addPage(This, Page, Text, [Option]) -> boolean() when + This::wxTreebook(), Page::wxWindow:wxWindow(), Text::string(), + Option :: {bSelect, boolean()} + | {imageId, integer()}. addPage(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PageT,ref=PageRef},Text, Options) when is_list(Text),is_list(Options) -> ?CLASS(ThisT,wxTreebook), @@ -128,15 +139,18 @@ addPage(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PageT,ref=PageRef},Text, Op wxe_util:call(?wxTreebook_AddPage, <>). -%% @spec (This::wxTreebook()) -> ok %% @equiv advanceSelection(This, []) +-spec advanceSelection(This) -> ok when + This::wxTreebook(). + advanceSelection(This) when is_record(This, wx_ref) -> advanceSelection(This, []). -%% @spec (This::wxTreebook(), [Option]) -> ok -%% Option = {forward, bool()} %% @doc See external documentation. +-spec advanceSelection(This, [Option]) -> ok when + This::wxTreebook(), + Option :: {forward, boolean()}. advanceSelection(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxTreebook), @@ -146,23 +160,29 @@ advanceSelection(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:cast(?wxTreebook_AdvanceSelection, <>). -%% @spec (This::wxTreebook(), ImageList::wxImageList:wxImageList()) -> ok %% @doc See external documentation. +-spec assignImageList(This, ImageList) -> ok when + This::wxTreebook(), ImageList::wxImageList:wxImageList(). assignImageList(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ImageListT,ref=ImageListRef}) -> ?CLASS(ThisT,wxTreebook), ?CLASS(ImageListT,wxImageList), wxe_util:cast(?wxTreebook_AssignImageList, <>). -%% @spec (This::wxTreebook(), Parent::wxWindow:wxWindow(), Id::integer()) -> bool() %% @equiv create(This,Parent,Id, []) +-spec create(This, Parent, Id) -> boolean() when + This::wxTreebook(), Parent::wxWindow:wxWindow(), Id::integer(). + create(This,Parent,Id) when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id) -> create(This,Parent,Id, []). -%% @spec (This::wxTreebook(), Parent::wxWindow:wxWindow(), Id::integer(), [Option]) -> bool() -%% Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} %% @doc See external documentation. +-spec create(This, Parent, Id, [Option]) -> boolean() when + This::wxTreebook(), Parent::wxWindow:wxWindow(), Id::integer(), + Option :: {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()}. create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id, Options) when is_integer(Id),is_list(Options) -> ?CLASS(ThisT,wxTreebook), @@ -175,90 +195,103 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id, O wxe_util:call(?wxTreebook_Create, <>). -%% @spec (This::wxTreebook()) -> bool() %% @doc See external documentation. +-spec deleteAllPages(This) -> boolean() when + This::wxTreebook(). deleteAllPages(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTreebook), wxe_util:call(?wxTreebook_DeleteAllPages, <>). -%% @spec (This::wxTreebook(), Pos::integer()) -> bool() %% @doc See external documentation. +-spec deletePage(This, Pos) -> boolean() when + This::wxTreebook(), Pos::integer(). deletePage(#wx_ref{type=ThisT,ref=ThisRef},Pos) when is_integer(Pos) -> ?CLASS(ThisT,wxTreebook), wxe_util:call(?wxTreebook_DeletePage, <>). -%% @spec (This::wxTreebook(), N::integer()) -> bool() %% @doc See external documentation. +-spec removePage(This, N) -> boolean() when + This::wxTreebook(), N::integer(). removePage(#wx_ref{type=ThisT,ref=ThisRef},N) when is_integer(N) -> ?CLASS(ThisT,wxTreebook), wxe_util:call(?wxTreebook_RemovePage, <>). -%% @spec (This::wxTreebook()) -> wxWindow:wxWindow() %% @doc See external documentation. +-spec getCurrentPage(This) -> wxWindow:wxWindow() when + This::wxTreebook(). getCurrentPage(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTreebook), wxe_util:call(?wxTreebook_GetCurrentPage, <>). -%% @spec (This::wxTreebook()) -> wxImageList:wxImageList() %% @doc See external documentation. +-spec getImageList(This) -> wxImageList:wxImageList() when + This::wxTreebook(). getImageList(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTreebook), wxe_util:call(?wxTreebook_GetImageList, <>). -%% @spec (This::wxTreebook(), N::integer()) -> wxWindow:wxWindow() %% @doc See external documentation. +-spec getPage(This, N) -> wxWindow:wxWindow() when + This::wxTreebook(), N::integer(). getPage(#wx_ref{type=ThisT,ref=ThisRef},N) when is_integer(N) -> ?CLASS(ThisT,wxTreebook), wxe_util:call(?wxTreebook_GetPage, <>). -%% @spec (This::wxTreebook()) -> integer() %% @doc See external documentation. +-spec getPageCount(This) -> integer() when + This::wxTreebook(). getPageCount(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTreebook), wxe_util:call(?wxTreebook_GetPageCount, <>). -%% @spec (This::wxTreebook(), N::integer()) -> integer() %% @doc See external documentation. +-spec getPageImage(This, N) -> integer() when + This::wxTreebook(), N::integer(). getPageImage(#wx_ref{type=ThisT,ref=ThisRef},N) when is_integer(N) -> ?CLASS(ThisT,wxTreebook), wxe_util:call(?wxTreebook_GetPageImage, <>). -%% @spec (This::wxTreebook(), N::integer()) -> string() %% @doc See external documentation. +-spec getPageText(This, N) -> string() when + This::wxTreebook(), N::integer(). getPageText(#wx_ref{type=ThisT,ref=ThisRef},N) when is_integer(N) -> ?CLASS(ThisT,wxTreebook), wxe_util:call(?wxTreebook_GetPageText, <>). -%% @spec (This::wxTreebook()) -> integer() %% @doc See external documentation. +-spec getSelection(This) -> integer() when + This::wxTreebook(). getSelection(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTreebook), wxe_util:call(?wxTreebook_GetSelection, <>). -%% @spec (This::wxTreebook(), Pos::integer()) -> bool() %% @equiv expandNode(This,Pos, []) +-spec expandNode(This, Pos) -> boolean() when + This::wxTreebook(), Pos::integer(). + expandNode(This,Pos) when is_record(This, wx_ref),is_integer(Pos) -> expandNode(This,Pos, []). -%% @spec (This::wxTreebook(), Pos::integer(), [Option]) -> bool() -%% Option = {expand, bool()} %% @doc See external documentation. +-spec expandNode(This, Pos, [Option]) -> boolean() when + This::wxTreebook(), Pos::integer(), + Option :: {expand, boolean()}. expandNode(#wx_ref{type=ThisT,ref=ThisRef},Pos, Options) when is_integer(Pos),is_list(Options) -> ?CLASS(ThisT,wxTreebook), @@ -268,31 +301,38 @@ expandNode(#wx_ref{type=ThisT,ref=ThisRef},Pos, Options) wxe_util:call(?wxTreebook_ExpandNode, <>). -%% @spec (This::wxTreebook(), Pos::integer()) -> bool() %% @doc See external documentation. +-spec isNodeExpanded(This, Pos) -> boolean() when + This::wxTreebook(), Pos::integer(). isNodeExpanded(#wx_ref{type=ThisT,ref=ThisRef},Pos) when is_integer(Pos) -> ?CLASS(ThisT,wxTreebook), wxe_util:call(?wxTreebook_IsNodeExpanded, <>). -%% @spec (This::wxTreebook(), Pt::{X::integer(), Y::integer()}) -> {integer(), Flags::integer()} %% @doc See external documentation. +-spec hitTest(This, Pt) -> Result when + Result ::{Res ::integer(), Flags::integer()}, + This::wxTreebook(), Pt::{X::integer(), Y::integer()}. hitTest(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY}) when is_integer(PtX),is_integer(PtY) -> ?CLASS(ThisT,wxTreebook), wxe_util:call(?wxTreebook_HitTest, <>). -%% @spec (This::wxTreebook(), Pos::integer(), Page::wxWindow:wxWindow(), Text::string()) -> bool() %% @equiv insertPage(This,Pos,Page,Text, []) +-spec insertPage(This, Pos, Page, Text) -> boolean() when + This::wxTreebook(), Pos::integer(), Page::wxWindow:wxWindow(), Text::string(). + insertPage(This,Pos,Page,Text) when is_record(This, wx_ref),is_integer(Pos),is_record(Page, wx_ref),is_list(Text) -> insertPage(This,Pos,Page,Text, []). -%% @spec (This::wxTreebook(), Pos::integer(), Page::wxWindow:wxWindow(), Text::string(), [Option]) -> bool() -%% Option = {bSelect, bool()} | {imageId, integer()} %% @doc See external documentation. +-spec insertPage(This, Pos, Page, Text, [Option]) -> boolean() when + This::wxTreebook(), Pos::integer(), Page::wxWindow:wxWindow(), Text::string(), + Option :: {bSelect, boolean()} + | {imageId, integer()}. insertPage(#wx_ref{type=ThisT,ref=ThisRef},Pos,#wx_ref{type=PageT,ref=PageRef},Text, Options) when is_integer(Pos),is_list(Text),is_list(Options) -> ?CLASS(ThisT,wxTreebook), @@ -305,15 +345,19 @@ insertPage(#wx_ref{type=ThisT,ref=ThisRef},Pos,#wx_ref{type=PageT,ref=PageRef},T wxe_util:call(?wxTreebook_InsertPage, <>). -%% @spec (This::wxTreebook(), Pos::integer(), Page::wxWindow:wxWindow(), Text::string()) -> bool() %% @equiv insertSubPage(This,Pos,Page,Text, []) +-spec insertSubPage(This, Pos, Page, Text) -> boolean() when + This::wxTreebook(), Pos::integer(), Page::wxWindow:wxWindow(), Text::string(). + insertSubPage(This,Pos,Page,Text) when is_record(This, wx_ref),is_integer(Pos),is_record(Page, wx_ref),is_list(Text) -> insertSubPage(This,Pos,Page,Text, []). -%% @spec (This::wxTreebook(), Pos::integer(), Page::wxWindow:wxWindow(), Text::string(), [Option]) -> bool() -%% Option = {bSelect, bool()} | {imageId, integer()} %% @doc See external documentation. +-spec insertSubPage(This, Pos, Page, Text, [Option]) -> boolean() when + This::wxTreebook(), Pos::integer(), Page::wxWindow:wxWindow(), Text::string(), + Option :: {bSelect, boolean()} + | {imageId, integer()}. insertSubPage(#wx_ref{type=ThisT,ref=ThisRef},Pos,#wx_ref{type=PageT,ref=PageRef},Text, Options) when is_integer(Pos),is_list(Text),is_list(Options) -> ?CLASS(ThisT,wxTreebook), @@ -326,32 +370,36 @@ insertSubPage(#wx_ref{type=ThisT,ref=ThisRef},Pos,#wx_ref{type=PageT,ref=PageRef wxe_util:call(?wxTreebook_InsertSubPage, <>). -%% @spec (This::wxTreebook(), ImageList::wxImageList:wxImageList()) -> ok %% @doc See external documentation. +-spec setImageList(This, ImageList) -> ok when + This::wxTreebook(), ImageList::wxImageList:wxImageList(). setImageList(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ImageListT,ref=ImageListRef}) -> ?CLASS(ThisT,wxTreebook), ?CLASS(ImageListT,wxImageList), wxe_util:cast(?wxTreebook_SetImageList, <>). -%% @spec (This::wxTreebook(), Size::{W::integer(), H::integer()}) -> ok %% @doc See external documentation. +-spec setPageSize(This, Size) -> ok when + This::wxTreebook(), Size::{W::integer(), H::integer()}. setPageSize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH}) when is_integer(SizeW),is_integer(SizeH) -> ?CLASS(ThisT,wxTreebook), wxe_util:cast(?wxTreebook_SetPageSize, <>). -%% @spec (This::wxTreebook(), N::integer(), ImageId::integer()) -> bool() %% @doc See external documentation. +-spec setPageImage(This, N, ImageId) -> boolean() when + This::wxTreebook(), N::integer(), ImageId::integer(). setPageImage(#wx_ref{type=ThisT,ref=ThisRef},N,ImageId) when is_integer(N),is_integer(ImageId) -> ?CLASS(ThisT,wxTreebook), wxe_util:call(?wxTreebook_SetPageImage, <>). -%% @spec (This::wxTreebook(), N::integer(), StrText::string()) -> bool() %% @doc See external documentation. +-spec setPageText(This, N, StrText) -> boolean() when + This::wxTreebook(), N::integer(), StrText::string(). setPageText(#wx_ref{type=ThisT,ref=ThisRef},N,StrText) when is_integer(N),is_list(StrText) -> ?CLASS(ThisT,wxTreebook), @@ -359,24 +407,26 @@ setPageText(#wx_ref{type=ThisT,ref=ThisRef},N,StrText) wxe_util:call(?wxTreebook_SetPageText, <>). -%% @spec (This::wxTreebook(), N::integer()) -> integer() %% @doc See external documentation. +-spec setSelection(This, N) -> integer() when + This::wxTreebook(), N::integer(). setSelection(#wx_ref{type=ThisT,ref=ThisRef},N) when is_integer(N) -> ?CLASS(ThisT,wxTreebook), wxe_util:call(?wxTreebook_SetSelection, <>). -%% @spec (This::wxTreebook(), N::integer()) -> integer() %% @doc See external documentation. +-spec changeSelection(This, N) -> integer() when + This::wxTreebook(), N::integer(). changeSelection(#wx_ref{type=ThisT,ref=ThisRef},N) when is_integer(N) -> ?CLASS(ThisT,wxTreebook), wxe_util:call(?wxTreebook_ChangeSelection, <>). -%% @spec (This::wxTreebook()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxTreebook) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxTreebook), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxUpdateUIEvent.erl b/lib/wx/src/gen/wxUpdateUIEvent.erl index baf9fc8b52..26cf81f72d 100644 --- a/lib/wx/src/gen/wxUpdateUIEvent.erl +++ b/lib/wx/src/gen/wxUpdateUIEvent.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -42,129 +42,143 @@ parent_class/1,resumePropagation/2,setInt/2,setString/2,shouldPropagate/1, skip/1,skip/2,stopPropagation/1]). +-export_type([wxUpdateUIEvent/0]). %% @hidden parent_class(wxCommandEvent) -> true; parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec (Win::wxWindow:wxWindow()) -> bool() +-type wxUpdateUIEvent() :: wx:wx_object(). %% @doc See external documentation. +-spec canUpdate(Win) -> boolean() when + Win::wxWindow:wxWindow(). canUpdate(#wx_ref{type=WinT,ref=WinRef}) -> ?CLASS(WinT,wxWindow), wxe_util:call(?wxUpdateUIEvent_CanUpdate, <>). -%% @spec (This::wxUpdateUIEvent(), Check::bool()) -> ok %% @doc See external documentation. +-spec check(This, Check) -> ok when + This::wxUpdateUIEvent(), Check::boolean(). check(#wx_ref{type=ThisT,ref=ThisRef},Check) when is_boolean(Check) -> ?CLASS(ThisT,wxUpdateUIEvent), wxe_util:cast(?wxUpdateUIEvent_Check, <>). -%% @spec (This::wxUpdateUIEvent(), Enable::bool()) -> ok %% @doc See external documentation. +-spec enable(This, Enable) -> ok when + This::wxUpdateUIEvent(), Enable::boolean(). enable(#wx_ref{type=ThisT,ref=ThisRef},Enable) when is_boolean(Enable) -> ?CLASS(ThisT,wxUpdateUIEvent), wxe_util:cast(?wxUpdateUIEvent_Enable, <>). -%% @spec (This::wxUpdateUIEvent(), Show::bool()) -> ok %% @doc See external documentation. +-spec show(This, Show) -> ok when + This::wxUpdateUIEvent(), Show::boolean(). show(#wx_ref{type=ThisT,ref=ThisRef},Show) when is_boolean(Show) -> ?CLASS(ThisT,wxUpdateUIEvent), wxe_util:cast(?wxUpdateUIEvent_Show, <>). -%% @spec (This::wxUpdateUIEvent()) -> bool() %% @doc See external documentation. +-spec getChecked(This) -> boolean() when + This::wxUpdateUIEvent(). getChecked(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxUpdateUIEvent), wxe_util:call(?wxUpdateUIEvent_GetChecked, <>). -%% @spec (This::wxUpdateUIEvent()) -> bool() %% @doc See external documentation. +-spec getEnabled(This) -> boolean() when + This::wxUpdateUIEvent(). getEnabled(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxUpdateUIEvent), wxe_util:call(?wxUpdateUIEvent_GetEnabled, <>). -%% @spec (This::wxUpdateUIEvent()) -> bool() %% @doc See external documentation. +-spec getShown(This) -> boolean() when + This::wxUpdateUIEvent(). getShown(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxUpdateUIEvent), wxe_util:call(?wxUpdateUIEvent_GetShown, <>). -%% @spec (This::wxUpdateUIEvent()) -> bool() %% @doc See external documentation. +-spec getSetChecked(This) -> boolean() when + This::wxUpdateUIEvent(). getSetChecked(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxUpdateUIEvent), wxe_util:call(?wxUpdateUIEvent_GetSetChecked, <>). -%% @spec (This::wxUpdateUIEvent()) -> bool() %% @doc See external documentation. +-spec getSetEnabled(This) -> boolean() when + This::wxUpdateUIEvent(). getSetEnabled(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxUpdateUIEvent), wxe_util:call(?wxUpdateUIEvent_GetSetEnabled, <>). -%% @spec (This::wxUpdateUIEvent()) -> bool() %% @doc See external documentation. +-spec getSetShown(This) -> boolean() when + This::wxUpdateUIEvent(). getSetShown(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxUpdateUIEvent), wxe_util:call(?wxUpdateUIEvent_GetSetShown, <>). -%% @spec (This::wxUpdateUIEvent()) -> bool() %% @doc See external documentation. +-spec getSetText(This) -> boolean() when + This::wxUpdateUIEvent(). getSetText(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxUpdateUIEvent), wxe_util:call(?wxUpdateUIEvent_GetSetText, <>). -%% @spec (This::wxUpdateUIEvent()) -> string() %% @doc See external documentation. +-spec getText(This) -> string() when + This::wxUpdateUIEvent(). getText(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxUpdateUIEvent), wxe_util:call(?wxUpdateUIEvent_GetText, <>). -%% @spec () -> WxUpdateUIMode -%% WxUpdateUIMode = integer() %% @doc See external documentation. -%%
WxUpdateUIMode is one of ?wxUPDATE_UI_PROCESS_ALL | ?wxUPDATE_UI_PROCESS_SPECIFIED +%%
Res = ?wxUPDATE_UI_PROCESS_ALL | ?wxUPDATE_UI_PROCESS_SPECIFIED +-spec getMode() -> wx:wx_enum(). getMode() -> wxe_util:call(?wxUpdateUIEvent_GetMode, <<>>). -%% @spec () -> integer() %% @doc See external documentation. +-spec getUpdateInterval() -> integer(). getUpdateInterval() -> wxe_util:call(?wxUpdateUIEvent_GetUpdateInterval, <<>>). -%% @spec () -> ok %% @doc See external documentation. +-spec resetUpdateTime() -> ok. resetUpdateTime() -> wxe_util:cast(?wxUpdateUIEvent_ResetUpdateTime, <<>>). -%% @spec (Mode::WxUpdateUIMode) -> ok -%% WxUpdateUIMode = integer() %% @doc See external documentation. -%%
WxUpdateUIMode is one of ?wxUPDATE_UI_PROCESS_ALL | ?wxUPDATE_UI_PROCESS_SPECIFIED +%%
Mode = ?wxUPDATE_UI_PROCESS_ALL | ?wxUPDATE_UI_PROCESS_SPECIFIED +-spec setMode(Mode) -> ok when + Mode::wx:wx_enum(). setMode(Mode) when is_integer(Mode) -> wxe_util:cast(?wxUpdateUIEvent_SetMode, <>). -%% @spec (This::wxUpdateUIEvent(), Text::string()) -> ok %% @doc See external documentation. +-spec setText(This, Text) -> ok when + This::wxUpdateUIEvent(), Text::string(). setText(#wx_ref{type=ThisT,ref=ThisRef},Text) when is_list(Text) -> ?CLASS(ThisT,wxUpdateUIEvent), @@ -172,8 +186,9 @@ setText(#wx_ref{type=ThisT,ref=ThisRef},Text) wxe_util:cast(?wxUpdateUIEvent_SetText, <>). -%% @spec (UpdateInterval::integer()) -> ok %% @doc See external documentation. +-spec setUpdateInterval(UpdateInterval) -> ok when + UpdateInterval::integer(). setUpdateInterval(UpdateInterval) when is_integer(UpdateInterval) -> wxe_util:cast(?wxUpdateUIEvent_SetUpdateInterval, diff --git a/lib/wx/src/gen/wxWindow.erl b/lib/wx/src/gen/wxWindow.erl index 6b57cf508e..9c4d3596fe 100644 --- a/lib/wx/src/gen/wxWindow.erl +++ b/lib/wx/src/gen/wxWindow.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -69,25 +69,32 @@ %% inherited exports -export([connect/2,connect/3,disconnect/1,disconnect/2,disconnect/3,parent_class/1]). +-export_type([wxWindow/0]). %% @hidden parent_class(wxEvtHandler) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxWindow() +-type wxWindow() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxWindow(). new() -> wxe_util:construct(?wxWindow_new_0, <<>>). -%% @spec (Parent::wxWindow(), Id::integer()) -> wxWindow() %% @equiv new(Parent,Id, []) +-spec new(Parent, Id) -> wxWindow() when + Parent::wxWindow(), Id::integer(). + new(Parent,Id) when is_record(Parent, wx_ref),is_integer(Id) -> new(Parent,Id, []). -%% @spec (Parent::wxWindow(), Id::integer(), [Option]) -> wxWindow() -%% Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} %% @doc See external documentation. +-spec new(Parent, Id, [Option]) -> wxWindow() when + Parent::wxWindow(), Id::integer(), + Option :: {pos, {X::integer(), Y::integer()}} + | {size, {W::integer(), H::integer()}} + | {style, integer()}. new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options) when is_integer(Id),is_list(Options) -> ?CLASS(ParentT,wxWindow), @@ -99,30 +106,35 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options) wxe_util:construct(?wxWindow_new_3, <>). -%% @spec (This::wxWindow(), Size::{W::integer(), H::integer()}) -> ok %% @doc See external documentation. +-spec cacheBestSize(This, Size) -> ok when + This::wxWindow(), Size::{W::integer(), H::integer()}. cacheBestSize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH}) when is_integer(SizeW),is_integer(SizeH) -> ?CLASS(ThisT,wxWindow), wxe_util:cast(?wxWindow_CacheBestSize, <>). -%% @spec (This::wxWindow()) -> ok %% @doc See external documentation. +-spec captureMouse(This) -> ok when + This::wxWindow(). captureMouse(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:cast(?wxWindow_CaptureMouse, <>). -%% @spec (This::wxWindow()) -> ok %% @equiv center(This, []) +-spec center(This) -> ok when + This::wxWindow(). + center(This) when is_record(This, wx_ref) -> center(This, []). -%% @spec (This::wxWindow(), [Option]) -> ok -%% Option = {dir, integer()} %% @doc See external documentation. +-spec center(This, [Option]) -> ok when + This::wxWindow(), + Option :: {dir, integer()}. center(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxWindow), @@ -132,15 +144,18 @@ center(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:cast(?wxWindow_Center, <>). -%% @spec (This::wxWindow()) -> ok %% @equiv centerOnParent(This, []) +-spec centerOnParent(This) -> ok when + This::wxWindow(). + centerOnParent(This) when is_record(This, wx_ref) -> centerOnParent(This, []). -%% @spec (This::wxWindow(), [Option]) -> ok -%% Option = {dir, integer()} %% @doc See external documentation. +-spec centerOnParent(This, [Option]) -> ok when + This::wxWindow(), + Option :: {dir, integer()}. centerOnParent(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxWindow), @@ -150,15 +165,18 @@ centerOnParent(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:cast(?wxWindow_CenterOnParent, <>). -%% @spec (This::wxWindow()) -> ok %% @equiv centre(This, []) +-spec centre(This) -> ok when + This::wxWindow(). + centre(This) when is_record(This, wx_ref) -> centre(This, []). -%% @spec (This::wxWindow(), [Option]) -> ok -%% Option = {dir, integer()} %% @doc See external documentation. +-spec centre(This, [Option]) -> ok when + This::wxWindow(), + Option :: {dir, integer()}. centre(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxWindow), @@ -168,15 +186,18 @@ centre(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:cast(?wxWindow_Centre, <>). -%% @spec (This::wxWindow()) -> ok %% @equiv centreOnParent(This, []) +-spec centreOnParent(This) -> ok when + This::wxWindow(). + centreOnParent(This) when is_record(This, wx_ref) -> centreOnParent(This, []). -%% @spec (This::wxWindow(), [Option]) -> ok -%% Option = {dir, integer()} %% @doc See external documentation. +-spec centreOnParent(This, [Option]) -> ok when + This::wxWindow(), + Option :: {dir, integer()}. centreOnParent(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxWindow), @@ -186,38 +207,44 @@ centreOnParent(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:cast(?wxWindow_CentreOnParent, <>). -%% @spec (This::wxWindow()) -> ok %% @doc See external documentation. +-spec clearBackground(This) -> ok when + This::wxWindow(). clearBackground(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:cast(?wxWindow_ClearBackground, <>). -%% @spec (This::wxWindow(), Pt::{X::integer(), Y::integer()}) -> {X::integer(), Y::integer()} %% @doc See external documentation. +-spec clientToScreen(This, Pt) -> {X::integer(), Y::integer()} when + This::wxWindow(), Pt::{X::integer(), Y::integer()}. clientToScreen(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY}) when is_integer(PtX),is_integer(PtY) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_ClientToScreen_1, <>). -%% @spec (This::wxWindow(), X::integer(), Y::integer()) -> {X::integer(), Y::integer()} %% @doc See external documentation. +-spec clientToScreen(This, X, Y) -> {X::integer(), Y::integer()} when + This::wxWindow(), X::integer(), Y::integer(). clientToScreen(#wx_ref{type=ThisT,ref=ThisRef},X,Y) when is_integer(X),is_integer(Y) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_ClientToScreen_2, <>). -%% @spec (This::wxWindow()) -> bool() %% @equiv close(This, []) +-spec close(This) -> boolean() when + This::wxWindow(). + close(This) when is_record(This, wx_ref) -> close(This, []). -%% @spec (This::wxWindow(), [Option]) -> bool() -%% Option = {force, bool()} %% @doc See external documentation. +-spec close(This, [Option]) -> boolean() when + This::wxWindow(), + Option :: {force, boolean()}. close(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxWindow), @@ -227,52 +254,60 @@ close(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxWindow_Close, <>). -%% @spec (This::wxWindow(), Sz::{W::integer(), H::integer()}) -> {W::integer(), H::integer()} %% @doc See external documentation. +-spec convertDialogToPixels(This, Sz) -> {W::integer(), H::integer()} when + This::wxWindow(), Sz::{W::integer(), H::integer()}. convertDialogToPixels(#wx_ref{type=ThisT,ref=ThisRef},{SzW,SzH}) when is_integer(SzW),is_integer(SzH) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_ConvertDialogToPixels, <>). -%% @spec (This::wxWindow(), Sz::{W::integer(), H::integer()}) -> {W::integer(), H::integer()} %% @doc See external documentation. +-spec convertPixelsToDialog(This, Sz) -> {W::integer(), H::integer()} when + This::wxWindow(), Sz::{W::integer(), H::integer()}. convertPixelsToDialog(#wx_ref{type=ThisT,ref=ThisRef},{SzW,SzH}) when is_integer(SzW),is_integer(SzH) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_ConvertPixelsToDialog, <>). -%% @spec (This::wxWindow()) -> bool() %% @doc See external documentation. +-spec 'Destroy'(This) -> boolean() when + This::wxWindow(). 'Destroy'(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_Destroy, <>). -%% @spec (This::wxWindow()) -> bool() %% @doc See external documentation. +-spec destroyChildren(This) -> boolean() when + This::wxWindow(). destroyChildren(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_DestroyChildren, <>). -%% @spec (This::wxWindow()) -> bool() %% @doc See external documentation. +-spec disable(This) -> boolean() when + This::wxWindow(). disable(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_Disable, <>). -%% @spec (This::wxWindow()) -> bool() %% @equiv enable(This, []) +-spec enable(This) -> boolean() when + This::wxWindow(). + enable(This) when is_record(This, wx_ref) -> enable(This, []). -%% @spec (This::wxWindow(), [Option]) -> bool() -%% Option = {enable, bool()} %% @doc See external documentation. +-spec enable(This, [Option]) -> boolean() when + This::wxWindow(), + Option :: {enable, boolean()}. enable(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxWindow), @@ -282,21 +317,17 @@ enable(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxWindow_Enable, <>). -%% @spec () -> wxWindow() %% @doc See external documentation. +-spec findFocus() -> wxWindow(). findFocus() -> wxe_util:call(?wxWindow_FindFocus, <<>>). -%% @spec (This::wxWindow(),X::integer()|string()) -> wxWindow() %% @doc See external documentation. -%%
Alternatives: -%%

-%% findWindow(This::wxWindow(), Winid::integer()) -> wxWindow() -%%

-%%

-%% findWindow(This::wxWindow(), Name::string()) -> wxWindow() -%%

+-spec findWindow(This, Winid) -> wxWindow() when + This::wxWindow(), Winid::integer(); + (This, Name) -> wxWindow() when + This::wxWindow(), Name::string(). findWindow(#wx_ref{type=ThisT,ref=ThisRef},Winid) when is_integer(Winid) -> ?CLASS(ThisT,wxWindow), @@ -309,15 +340,18 @@ findWindow(#wx_ref{type=ThisT,ref=ThisRef},Name) wxe_util:call(?wxWindow_FindWindow_1_1, <>). -%% @spec (Winid::integer()) -> wxWindow() %% @equiv findWindowById(Winid, []) +-spec findWindowById(Winid) -> wxWindow() when + Winid::integer(). + findWindowById(Winid) when is_integer(Winid) -> findWindowById(Winid, []). -%% @spec (Winid::integer(), [Option]) -> wxWindow() -%% Option = {parent, wxWindow()} %% @doc See external documentation. +-spec findWindowById(Winid, [Option]) -> wxWindow() when + Winid::integer(), + Option :: {parent, wxWindow()}. findWindowById(Winid, Options) when is_integer(Winid),is_list(Options) -> MOpts = fun({parent, #wx_ref{type=ParentT,ref=ParentRef}}, Acc) -> ?CLASS(ParentT,wxWindow),[<<1:32/?UI,ParentRef:32/?UI>>|Acc]; @@ -326,15 +360,18 @@ findWindowById(Winid, Options) wxe_util:call(?wxWindow_FindWindowById, <>). -%% @spec (Name::string()) -> wxWindow() %% @equiv findWindowByName(Name, []) +-spec findWindowByName(Name) -> wxWindow() when + Name::string(). + findWindowByName(Name) when is_list(Name) -> findWindowByName(Name, []). -%% @spec (Name::string(), [Option]) -> wxWindow() -%% Option = {parent, wxWindow()} %% @doc See external documentation. +-spec findWindowByName(Name, [Option]) -> wxWindow() when + Name::string(), + Option :: {parent, wxWindow()}. findWindowByName(Name, Options) when is_list(Name),is_list(Options) -> Name_UC = unicode:characters_to_binary([Name,0]), @@ -344,15 +381,18 @@ findWindowByName(Name, Options) wxe_util:call(?wxWindow_FindWindowByName, <<(byte_size(Name_UC)):32/?UI,(Name_UC)/binary, 0:(((8- ((4+byte_size(Name_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>). -%% @spec (Label::string()) -> wxWindow() %% @equiv findWindowByLabel(Label, []) +-spec findWindowByLabel(Label) -> wxWindow() when + Label::string(). + findWindowByLabel(Label) when is_list(Label) -> findWindowByLabel(Label, []). -%% @spec (Label::string(), [Option]) -> wxWindow() -%% Option = {parent, wxWindow()} %% @doc See external documentation. +-spec findWindowByLabel(Label, [Option]) -> wxWindow() when + Label::string(), + Option :: {parent, wxWindow()}. findWindowByLabel(Label, Options) when is_list(Label),is_list(Options) -> Label_UC = unicode:characters_to_binary([Label,0]), @@ -362,285 +402,326 @@ findWindowByLabel(Label, Options) wxe_util:call(?wxWindow_FindWindowByLabel, <<(byte_size(Label_UC)):32/?UI,(Label_UC)/binary, 0:(((8- ((4+byte_size(Label_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>). -%% @spec (This::wxWindow()) -> ok %% @doc See external documentation. +-spec fit(This) -> ok when + This::wxWindow(). fit(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:cast(?wxWindow_Fit, <>). -%% @spec (This::wxWindow()) -> ok %% @doc See external documentation. +-spec fitInside(This) -> ok when + This::wxWindow(). fitInside(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:cast(?wxWindow_FitInside, <>). -%% @spec (This::wxWindow()) -> ok %% @doc See external documentation. +-spec freeze(This) -> ok when + This::wxWindow(). freeze(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:cast(?wxWindow_Freeze, <>). -%% @spec (This::wxWindow()) -> wxAcceleratorTable:wxAcceleratorTable() %% @doc See external documentation. +-spec getAcceleratorTable(This) -> wxAcceleratorTable:wxAcceleratorTable() when + This::wxWindow(). getAcceleratorTable(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_GetAcceleratorTable, <>). -%% @spec (This::wxWindow()) -> wx:colour() %% @doc See external documentation. +-spec getBackgroundColour(This) -> wx:wx_colour() when + This::wxWindow(). getBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_GetBackgroundColour, <>). -%% @spec (This::wxWindow()) -> WxBackgroundStyle -%% WxBackgroundStyle = integer() %% @doc See external documentation. -%%
WxBackgroundStyle is one of ?wxBG_STYLE_SYSTEM | ?wxBG_STYLE_COLOUR | ?wxBG_STYLE_CUSTOM +%%
Res = ?wxBG_STYLE_SYSTEM | ?wxBG_STYLE_COLOUR | ?wxBG_STYLE_CUSTOM +-spec getBackgroundStyle(This) -> wx:wx_enum() when + This::wxWindow(). getBackgroundStyle(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_GetBackgroundStyle, <>). -%% @spec (This::wxWindow()) -> {W::integer(), H::integer()} %% @doc See external documentation. +-spec getBestSize(This) -> {W::integer(), H::integer()} when + This::wxWindow(). getBestSize(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_GetBestSize, <>). -%% @spec (This::wxWindow()) -> wxCaret:wxCaret() %% @doc See external documentation. +-spec getCaret(This) -> wxCaret:wxCaret() when + This::wxWindow(). getCaret(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_GetCaret, <>). -%% @spec () -> wxWindow() %% @doc See external documentation. +-spec getCapture() -> wxWindow(). getCapture() -> wxe_util:call(?wxWindow_GetCapture, <<>>). -%% @spec (This::wxWindow()) -> integer() %% @doc See external documentation. +-spec getCharHeight(This) -> integer() when + This::wxWindow(). getCharHeight(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_GetCharHeight, <>). -%% @spec (This::wxWindow()) -> integer() %% @doc See external documentation. +-spec getCharWidth(This) -> integer() when + This::wxWindow(). getCharWidth(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_GetCharWidth, <>). -%% @spec (This::wxWindow()) -> [wxWindow()] %% @doc See external documentation. +-spec getChildren(This) -> [wxWindow()] when + This::wxWindow(). getChildren(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_GetChildren, <>). -%% @spec (This::wxWindow()) -> {W::integer(), H::integer()} %% @doc See external documentation. +-spec getClientSize(This) -> {W::integer(), H::integer()} when + This::wxWindow(). getClientSize(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_GetClientSize, <>). -%% @spec (This::wxWindow()) -> wxSizer:wxSizer() %% @doc See external documentation. +-spec getContainingSizer(This) -> wxSizer:wxSizer() when + This::wxWindow(). getContainingSizer(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_GetContainingSizer, <>). -%% @spec (This::wxWindow()) -> wxCursor:wxCursor() %% @doc See external documentation. +-spec getCursor(This) -> wxCursor:wxCursor() when + This::wxWindow(). getCursor(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_GetCursor, <>). -%% @spec (This::wxWindow()) -> wxDropTarget:wxDropTarget() %% @doc See external documentation. +-spec getDropTarget(This) -> wxDropTarget:wxDropTarget() when + This::wxWindow(). getDropTarget(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_GetDropTarget, <>). -%% @spec (This::wxWindow()) -> wxEvtHandler:wxEvtHandler() %% @doc See external documentation. +-spec getEventHandler(This) -> wxEvtHandler:wxEvtHandler() when + This::wxWindow(). getEventHandler(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_GetEventHandler, <>). -%% @spec (This::wxWindow()) -> integer() %% @doc See external documentation. +-spec getExtraStyle(This) -> integer() when + This::wxWindow(). getExtraStyle(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_GetExtraStyle, <>). -%% @spec (This::wxWindow()) -> wxFont:wxFont() %% @doc See external documentation. +-spec getFont(This) -> wxFont:wxFont() when + This::wxWindow(). getFont(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_GetFont, <>). -%% @spec (This::wxWindow()) -> wx:colour() %% @doc See external documentation. +-spec getForegroundColour(This) -> wx:wx_colour() when + This::wxWindow(). getForegroundColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_GetForegroundColour, <>). -%% @spec (This::wxWindow()) -> wxWindow() %% @doc See external documentation. +-spec getGrandParent(This) -> wxWindow() when + This::wxWindow(). getGrandParent(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_GetGrandParent, <>). -%% @spec (This::wxWindow()) -> integer() %% @doc See external documentation. +-spec getHandle(This) -> integer() when + This::wxWindow(). getHandle(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_GetHandle, <>). -%% @spec (This::wxWindow()) -> string() %% @doc See external documentation. +-spec getHelpText(This) -> string() when + This::wxWindow(). getHelpText(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_GetHelpText, <>). -%% @spec (This::wxWindow()) -> integer() %% @doc See external documentation. +-spec getId(This) -> integer() when + This::wxWindow(). getId(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_GetId, <>). -%% @spec (This::wxWindow()) -> string() %% @doc See external documentation. +-spec getLabel(This) -> string() when + This::wxWindow(). getLabel(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_GetLabel, <>). -%% @spec (This::wxWindow()) -> {W::integer(), H::integer()} %% @doc See external documentation. +-spec getMaxSize(This) -> {W::integer(), H::integer()} when + This::wxWindow(). getMaxSize(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_GetMaxSize, <>). -%% @spec (This::wxWindow()) -> {W::integer(), H::integer()} %% @doc See external documentation. +-spec getMinSize(This) -> {W::integer(), H::integer()} when + This::wxWindow(). getMinSize(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_GetMinSize, <>). -%% @spec (This::wxWindow()) -> string() %% @doc See external documentation. +-spec getName(This) -> string() when + This::wxWindow(). getName(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_GetName, <>). -%% @spec (This::wxWindow()) -> wxWindow() %% @doc See external documentation. +-spec getParent(This) -> wxWindow() when + This::wxWindow(). getParent(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_GetParent, <>). -%% @spec (This::wxWindow()) -> {X::integer(), Y::integer()} %% @doc See external documentation. +-spec getPosition(This) -> {X::integer(), Y::integer()} when + This::wxWindow(). getPosition(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_GetPosition, <>). -%% @spec (This::wxWindow()) -> {X::integer(), Y::integer(), W::integer(), H::integer()} %% @doc See external documentation. +-spec getRect(This) -> {X::integer(), Y::integer(), W::integer(), H::integer()} when + This::wxWindow(). getRect(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_GetRect, <>). -%% @spec (This::wxWindow()) -> {X::integer(), Y::integer()} %% @doc See external documentation. +-spec getScreenPosition(This) -> {X::integer(), Y::integer()} when + This::wxWindow(). getScreenPosition(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_GetScreenPosition, <>). -%% @spec (This::wxWindow()) -> {X::integer(), Y::integer(), W::integer(), H::integer()} %% @doc See external documentation. +-spec getScreenRect(This) -> {X::integer(), Y::integer(), W::integer(), H::integer()} when + This::wxWindow(). getScreenRect(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_GetScreenRect, <>). -%% @spec (This::wxWindow(), Orient::integer()) -> integer() %% @doc See external documentation. +-spec getScrollPos(This, Orient) -> integer() when + This::wxWindow(), Orient::integer(). getScrollPos(#wx_ref{type=ThisT,ref=ThisRef},Orient) when is_integer(Orient) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_GetScrollPos, <>). -%% @spec (This::wxWindow(), Orient::integer()) -> integer() %% @doc See external documentation. +-spec getScrollRange(This, Orient) -> integer() when + This::wxWindow(), Orient::integer(). getScrollRange(#wx_ref{type=ThisT,ref=ThisRef},Orient) when is_integer(Orient) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_GetScrollRange, <>). -%% @spec (This::wxWindow(), Orient::integer()) -> integer() %% @doc See external documentation. +-spec getScrollThumb(This, Orient) -> integer() when + This::wxWindow(), Orient::integer(). getScrollThumb(#wx_ref{type=ThisT,ref=ThisRef},Orient) when is_integer(Orient) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_GetScrollThumb, <>). -%% @spec (This::wxWindow()) -> {W::integer(), H::integer()} %% @doc See external documentation. +-spec getSize(This) -> {W::integer(), H::integer()} when + This::wxWindow(). getSize(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_GetSize, <>). -%% @spec (This::wxWindow()) -> wxSizer:wxSizer() %% @doc See external documentation. +-spec getSizer(This) -> wxSizer:wxSizer() when + This::wxWindow(). getSizer(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_GetSizer, <>). -%% @spec (This::wxWindow(), String::string()) -> {X::integer(), Y::integer(), Descent::integer(), ExternalLeading::integer()} %% @equiv getTextExtent(This,String, []) +-spec getTextExtent(This, String) -> Result when + Result ::{X::integer(), Y::integer(), Descent::integer(), ExternalLeading::integer()}, + This::wxWindow(), String::string(). + getTextExtent(This,String) when is_record(This, wx_ref),is_list(String) -> getTextExtent(This,String, []). -%% @spec (This::wxWindow(), String::string(), [Option]) -> {X::integer(), Y::integer(), Descent::integer(), ExternalLeading::integer()} -%% Option = {theFont, wxFont:wxFont()} %% @doc See external documentation. +-spec getTextExtent(This, String, [Option]) -> Result when + Result :: {X::integer(), Y::integer(), Descent::integer(), ExternalLeading::integer()}, + This::wxWindow(), String::string(), + Option :: {theFont, wxFont:wxFont()}. getTextExtent(#wx_ref{type=ThisT,ref=ThisRef},String, Options) when is_list(String),is_list(Options) -> ?CLASS(ThisT,wxWindow), @@ -651,109 +732,117 @@ getTextExtent(#wx_ref{type=ThisT,ref=ThisRef},String, Options) wxe_util:call(?wxWindow_GetTextExtent, <>). -%% @spec (This::wxWindow()) -> wxToolTip:wxToolTip() %% @doc See external documentation. +-spec getToolTip(This) -> wxToolTip:wxToolTip() when + This::wxWindow(). getToolTip(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_GetToolTip, <>). -%% @spec (This::wxWindow()) -> wxRegion:wxRegion() %% @doc See external documentation. +-spec getUpdateRegion(This) -> wxRegion:wxRegion() when + This::wxWindow(). getUpdateRegion(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_GetUpdateRegion, <>). -%% @spec (This::wxWindow()) -> {W::integer(), H::integer()} %% @doc See external documentation. +-spec getVirtualSize(This) -> {W::integer(), H::integer()} when + This::wxWindow(). getVirtualSize(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_GetVirtualSize, <>). -%% @spec (This::wxWindow()) -> integer() %% @doc See external documentation. +-spec getWindowStyleFlag(This) -> integer() when + This::wxWindow(). getWindowStyleFlag(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_GetWindowStyleFlag, <>). -%% @spec (This::wxWindow()) -> WxWindowVariant -%% WxWindowVariant = integer() %% @doc See external documentation. -%%
WxWindowVariant is one of ?wxWINDOW_VARIANT_NORMAL | ?wxWINDOW_VARIANT_SMALL | ?wxWINDOW_VARIANT_MINI | ?wxWINDOW_VARIANT_LARGE | ?wxWINDOW_VARIANT_MAX +%%
Res = ?wxWINDOW_VARIANT_NORMAL | ?wxWINDOW_VARIANT_SMALL | ?wxWINDOW_VARIANT_MINI | ?wxWINDOW_VARIANT_LARGE | ?wxWINDOW_VARIANT_MAX +-spec getWindowVariant(This) -> wx:wx_enum() when + This::wxWindow(). getWindowVariant(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_GetWindowVariant, <>). -%% @spec (This::wxWindow()) -> bool() %% @doc See external documentation. +-spec hasCapture(This) -> boolean() when + This::wxWindow(). hasCapture(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_HasCapture, <>). -%% @spec (This::wxWindow(), Orient::integer()) -> bool() %% @doc See external documentation. +-spec hasScrollbar(This, Orient) -> boolean() when + This::wxWindow(), Orient::integer(). hasScrollbar(#wx_ref{type=ThisT,ref=ThisRef},Orient) when is_integer(Orient) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_HasScrollbar, <>). -%% @spec (This::wxWindow()) -> bool() %% @doc See external documentation. +-spec hasTransparentBackground(This) -> boolean() when + This::wxWindow(). hasTransparentBackground(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_HasTransparentBackground, <>). -%% @spec (This::wxWindow()) -> bool() %% @doc See external documentation. +-spec hide(This) -> boolean() when + This::wxWindow(). hide(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_Hide, <>). -%% @spec (This::wxWindow()) -> ok %% @doc See external documentation. +-spec inheritAttributes(This) -> ok when + This::wxWindow(). inheritAttributes(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:cast(?wxWindow_InheritAttributes, <>). -%% @spec (This::wxWindow()) -> ok %% @doc See external documentation. +-spec initDialog(This) -> ok when + This::wxWindow(). initDialog(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:cast(?wxWindow_InitDialog, <>). -%% @spec (This::wxWindow()) -> ok %% @doc See external documentation. +-spec invalidateBestSize(This) -> ok when + This::wxWindow(). invalidateBestSize(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:cast(?wxWindow_InvalidateBestSize, <>). -%% @spec (This::wxWindow()) -> bool() %% @doc See external documentation. +-spec isEnabled(This) -> boolean() when + This::wxWindow(). isEnabled(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_IsEnabled, <>). -%% @spec (This::wxWindow(),X::term()) -> bool() %% @doc See external documentation. -%%
Alternatives: -%%

-%% isExposed(This::wxWindow(), Pt::{X::integer(), Y::integer()}) -> bool() -%%

-%%

-%% isExposed(This::wxWindow(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}) -> bool() -%%

+-spec isExposed(This, Pt) -> boolean() when + This::wxWindow(), Pt::{X::integer(), Y::integer()}; + (This, Rect) -> boolean() when + This::wxWindow(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}. isExposed(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY}) when is_integer(PtX),is_integer(PtY) -> ?CLASS(ThisT,wxWindow), @@ -765,80 +854,92 @@ isExposed(#wx_ref{type=ThisT,ref=ThisRef},{RectX,RectY,RectW,RectH}) wxe_util:call(?wxWindow_IsExposed_1_1, <>). -%% @spec (This::wxWindow(), X::integer(), Y::integer()) -> bool() %% @doc See external documentation. +-spec isExposed(This, X, Y) -> boolean() when + This::wxWindow(), X::integer(), Y::integer(). isExposed(#wx_ref{type=ThisT,ref=ThisRef},X,Y) when is_integer(X),is_integer(Y) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_IsExposed_2, <>). -%% @spec (This::wxWindow(), X::integer(), Y::integer(), W::integer(), H::integer()) -> bool() %% @doc See external documentation. +-spec isExposed(This, X, Y, W, H) -> boolean() when + This::wxWindow(), X::integer(), Y::integer(), W::integer(), H::integer(). isExposed(#wx_ref{type=ThisT,ref=ThisRef},X,Y,W,H) when is_integer(X),is_integer(Y),is_integer(W),is_integer(H) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_IsExposed_4, <>). -%% @spec (This::wxWindow()) -> bool() %% @doc See external documentation. +-spec isRetained(This) -> boolean() when + This::wxWindow(). isRetained(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_IsRetained, <>). -%% @spec (This::wxWindow()) -> bool() %% @doc See external documentation. +-spec isShown(This) -> boolean() when + This::wxWindow(). isShown(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_IsShown, <>). -%% @spec (This::wxWindow()) -> bool() %% @doc See external documentation. +-spec isTopLevel(This) -> boolean() when + This::wxWindow(). isTopLevel(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_IsTopLevel, <>). -%% @spec (This::wxWindow()) -> bool() %% @doc See external documentation. +-spec layout(This) -> boolean() when + This::wxWindow(). layout(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_Layout, <>). -%% @spec (This::wxWindow()) -> bool() %% @doc See external documentation. +-spec lineDown(This) -> boolean() when + This::wxWindow(). lineDown(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_LineDown, <>). -%% @spec (This::wxWindow()) -> bool() %% @doc See external documentation. +-spec lineUp(This) -> boolean() when + This::wxWindow(). lineUp(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_LineUp, <>). -%% @spec (This::wxWindow()) -> ok %% @doc See external documentation. +-spec lower(This) -> ok when + This::wxWindow(). lower(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:cast(?wxWindow_Lower, <>). -%% @spec (This::wxWindow()) -> ok %% @equiv makeModal(This, []) +-spec makeModal(This) -> ok when + This::wxWindow(). + makeModal(This) when is_record(This, wx_ref) -> makeModal(This, []). -%% @spec (This::wxWindow(), [Option]) -> ok -%% Option = {modal, bool()} %% @doc See external documentation. +-spec makeModal(This, [Option]) -> ok when + This::wxWindow(), + Option :: {modal, boolean()}. makeModal(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxWindow), @@ -848,21 +949,20 @@ makeModal(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:cast(?wxWindow_MakeModal, <>). -%% @spec (This::wxWindow(), Pt::{X::integer(), Y::integer()}) -> ok %% @equiv move(This,Pt, []) +-spec move(This, Pt) -> ok when + This::wxWindow(), Pt::{X::integer(), Y::integer()}. + move(This,Pt={PtX,PtY}) when is_record(This, wx_ref),is_integer(PtX),is_integer(PtY) -> move(This,Pt, []). -%% @spec (This::wxWindow(),X::integer()|term(),X::integer()|term()) -> ok %% @doc See external documentation. -%%
Alternatives: -%%

-%% move(This::wxWindow(), X::integer(), Y::integer()) -> move(This,X,Y, [])

-%%

-%% move(This::wxWindow(), Pt::{X::integer(), Y::integer()}, [Option]) -> ok -%%
Option = {flags, integer()} -%%

+-spec move(This, X, Y) -> ok when + This::wxWindow(), X::integer(), Y::integer(); + (This, Pt, [Option]) -> ok when + This::wxWindow(), Pt::{X::integer(), Y::integer()}, + Option :: {flags, integer()}. move(This,X,Y) when is_record(This, wx_ref),is_integer(X),is_integer(Y) -> @@ -876,9 +976,10 @@ move(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY}, Options) wxe_util:cast(?wxWindow_Move_2, <>). -%% @spec (This::wxWindow(), X::integer(), Y::integer(), [Option]) -> ok -%% Option = {flags, integer()} %% @doc See external documentation. +-spec move(This, X, Y, [Option]) -> ok when + This::wxWindow(), X::integer(), Y::integer(), + Option :: {flags, integer()}. move(#wx_ref{type=ThisT,ref=ThisRef},X,Y, Options) when is_integer(X),is_integer(Y),is_list(Options) -> ?CLASS(ThisT,wxWindow), @@ -888,31 +989,36 @@ move(#wx_ref{type=ThisT,ref=ThisRef},X,Y, Options) wxe_util:cast(?wxWindow_Move_3, <>). -%% @spec (This::wxWindow(), Win::wxWindow()) -> ok %% @doc See external documentation. +-spec moveAfterInTabOrder(This, Win) -> ok when + This::wxWindow(), Win::wxWindow(). moveAfterInTabOrder(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WinT,ref=WinRef}) -> ?CLASS(ThisT,wxWindow), ?CLASS(WinT,wxWindow), wxe_util:cast(?wxWindow_MoveAfterInTabOrder, <>). -%% @spec (This::wxWindow(), Win::wxWindow()) -> ok %% @doc See external documentation. +-spec moveBeforeInTabOrder(This, Win) -> ok when + This::wxWindow(), Win::wxWindow(). moveBeforeInTabOrder(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WinT,ref=WinRef}) -> ?CLASS(ThisT,wxWindow), ?CLASS(WinT,wxWindow), wxe_util:cast(?wxWindow_MoveBeforeInTabOrder, <>). -%% @spec (This::wxWindow()) -> bool() %% @equiv navigate(This, []) +-spec navigate(This) -> boolean() when + This::wxWindow(). + navigate(This) when is_record(This, wx_ref) -> navigate(This, []). -%% @spec (This::wxWindow(), [Option]) -> bool() -%% Option = {flags, integer()} %% @doc See external documentation. +-spec navigate(This, [Option]) -> boolean() when + This::wxWindow(), + Option :: {flags, integer()}. navigate(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxWindow), @@ -922,29 +1028,34 @@ navigate(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxWindow_Navigate, <>). -%% @spec (This::wxWindow()) -> bool() %% @doc See external documentation. +-spec pageDown(This) -> boolean() when + This::wxWindow(). pageDown(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_PageDown, <>). -%% @spec (This::wxWindow()) -> bool() %% @doc See external documentation. +-spec pageUp(This) -> boolean() when + This::wxWindow(). pageUp(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_PageUp, <>). -%% @spec (This::wxWindow()) -> wxEvtHandler:wxEvtHandler() %% @equiv popEventHandler(This, []) +-spec popEventHandler(This) -> wxEvtHandler:wxEvtHandler() when + This::wxWindow(). + popEventHandler(This) when is_record(This, wx_ref) -> popEventHandler(This, []). -%% @spec (This::wxWindow(), [Option]) -> wxEvtHandler:wxEvtHandler() -%% Option = {deleteHandler, bool()} %% @doc See external documentation. +-spec popEventHandler(This, [Option]) -> wxEvtHandler:wxEvtHandler() when + This::wxWindow(), + Option :: {deleteHandler, boolean()}. popEventHandler(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxWindow), @@ -954,15 +1065,18 @@ popEventHandler(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxWindow_PopEventHandler, <>). -%% @spec (This::wxWindow(), Menu::wxMenu:wxMenu()) -> bool() %% @equiv popupMenu(This,Menu, []) +-spec popupMenu(This, Menu) -> boolean() when + This::wxWindow(), Menu::wxMenu:wxMenu(). + popupMenu(This,Menu) when is_record(This, wx_ref),is_record(Menu, wx_ref) -> popupMenu(This,Menu, []). -%% @spec (This::wxWindow(), Menu::wxMenu:wxMenu(), [Option]) -> bool() -%% Option = {pos, {X::integer(), Y::integer()}} %% @doc See external documentation. +-spec popupMenu(This, Menu, [Option]) -> boolean() when + This::wxWindow(), Menu::wxMenu:wxMenu(), + Option :: {pos, {X::integer(), Y::integer()}}. popupMenu(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=MenuT,ref=MenuRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxWindow), @@ -973,8 +1087,9 @@ popupMenu(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=MenuT,ref=MenuRef}, Optio wxe_util:call(?wxWindow_PopupMenu_2, <>). -%% @spec (This::wxWindow(), Menu::wxMenu:wxMenu(), X::integer(), Y::integer()) -> bool() %% @doc See external documentation. +-spec popupMenu(This, Menu, X, Y) -> boolean() when + This::wxWindow(), Menu::wxMenu:wxMenu(), X::integer(), Y::integer(). popupMenu(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=MenuT,ref=MenuRef},X,Y) when is_integer(X),is_integer(Y) -> ?CLASS(ThisT,wxWindow), @@ -982,22 +1097,27 @@ popupMenu(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=MenuT,ref=MenuRef},X,Y) wxe_util:call(?wxWindow_PopupMenu_3, <>). -%% @spec (This::wxWindow()) -> ok %% @doc See external documentation. +-spec raise(This) -> ok when + This::wxWindow(). raise(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:cast(?wxWindow_Raise, <>). -%% @spec (This::wxWindow()) -> ok %% @equiv refresh(This, []) +-spec refresh(This) -> ok when + This::wxWindow(). + refresh(This) when is_record(This, wx_ref) -> refresh(This, []). -%% @spec (This::wxWindow(), [Option]) -> ok -%% Option = {eraseBackground, bool()} | {rect, {X::integer(), Y::integer(), W::integer(), H::integer()}} %% @doc See external documentation. +-spec refresh(This, [Option]) -> ok when + This::wxWindow(), + Option :: {eraseBackground, boolean()} + | {rect, {X::integer(), Y::integer(), W::integer(), H::integer()}}. refresh(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxWindow), @@ -1008,15 +1128,18 @@ refresh(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:cast(?wxWindow_Refresh, <>). -%% @spec (This::wxWindow(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}) -> ok %% @equiv refreshRect(This,Rect, []) +-spec refreshRect(This, Rect) -> ok when + This::wxWindow(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}. + refreshRect(This,Rect={RectX,RectY,RectW,RectH}) when is_record(This, wx_ref),is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH) -> refreshRect(This,Rect, []). -%% @spec (This::wxWindow(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}, [Option]) -> ok -%% Option = {eraseBackground, bool()} %% @doc See external documentation. +-spec refreshRect(This, Rect, [Option]) -> ok when + This::wxWindow(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}, + Option :: {eraseBackground, boolean()}. refreshRect(#wx_ref{type=ThisT,ref=ThisRef},{RectX,RectY,RectW,RectH}, Options) when is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH),is_list(Options) -> ?CLASS(ThisT,wxWindow), @@ -1026,69 +1149,79 @@ refreshRect(#wx_ref{type=ThisT,ref=ThisRef},{RectX,RectY,RectW,RectH}, Options) wxe_util:cast(?wxWindow_RefreshRect, <>). -%% @spec (This::wxWindow()) -> ok %% @doc See external documentation. +-spec releaseMouse(This) -> ok when + This::wxWindow(). releaseMouse(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:cast(?wxWindow_ReleaseMouse, <>). -%% @spec (This::wxWindow(), Child::wxWindow()) -> ok %% @doc See external documentation. +-spec removeChild(This, Child) -> ok when + This::wxWindow(), Child::wxWindow(). removeChild(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ChildT,ref=ChildRef}) -> ?CLASS(ThisT,wxWindow), ?CLASS(ChildT,wxWindow), wxe_util:cast(?wxWindow_RemoveChild, <>). -%% @spec (This::wxWindow(), NewParent::wxWindow()) -> bool() %% @doc See external documentation. +-spec reparent(This, NewParent) -> boolean() when + This::wxWindow(), NewParent::wxWindow(). reparent(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=NewParentT,ref=NewParentRef}) -> ?CLASS(ThisT,wxWindow), ?CLASS(NewParentT,wxWindow), wxe_util:call(?wxWindow_Reparent, <>). -%% @spec (This::wxWindow()) -> {X::integer(), Y::integer()} %% @doc See external documentation. +-spec screenToClient(This) -> {X::integer(), Y::integer()} when + This::wxWindow(). screenToClient(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_ScreenToClient_2, <>). -%% @spec (This::wxWindow(), Pt::{X::integer(), Y::integer()}) -> {X::integer(), Y::integer()} %% @doc See external documentation. +-spec screenToClient(This, Pt) -> {X::integer(), Y::integer()} when + This::wxWindow(), Pt::{X::integer(), Y::integer()}. screenToClient(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY}) when is_integer(PtX),is_integer(PtY) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_ScreenToClient_1, <>). -%% @spec (This::wxWindow(), Lines::integer()) -> bool() %% @doc See external documentation. +-spec scrollLines(This, Lines) -> boolean() when + This::wxWindow(), Lines::integer(). scrollLines(#wx_ref{type=ThisT,ref=ThisRef},Lines) when is_integer(Lines) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_ScrollLines, <>). -%% @spec (This::wxWindow(), Pages::integer()) -> bool() %% @doc See external documentation. +-spec scrollPages(This, Pages) -> boolean() when + This::wxWindow(), Pages::integer(). scrollPages(#wx_ref{type=ThisT,ref=ThisRef},Pages) when is_integer(Pages) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_ScrollPages, <>). -%% @spec (This::wxWindow(), Dx::integer(), Dy::integer()) -> ok %% @equiv scrollWindow(This,Dx,Dy, []) +-spec scrollWindow(This, Dx, Dy) -> ok when + This::wxWindow(), Dx::integer(), Dy::integer(). + scrollWindow(This,Dx,Dy) when is_record(This, wx_ref),is_integer(Dx),is_integer(Dy) -> scrollWindow(This,Dx,Dy, []). -%% @spec (This::wxWindow(), Dx::integer(), Dy::integer(), [Option]) -> ok -%% Option = {rect, {X::integer(), Y::integer(), W::integer(), H::integer()}} %% @doc See external documentation. +-spec scrollWindow(This, Dx, Dy, [Option]) -> ok when + This::wxWindow(), Dx::integer(), Dy::integer(), + Option :: {rect, {X::integer(), Y::integer(), W::integer(), H::integer()}}. scrollWindow(#wx_ref{type=ThisT,ref=ThisRef},Dx,Dy, Options) when is_integer(Dx),is_integer(Dy),is_list(Options) -> ?CLASS(ThisT,wxWindow), @@ -1098,57 +1231,57 @@ scrollWindow(#wx_ref{type=ThisT,ref=ThisRef},Dx,Dy, Options) wxe_util:cast(?wxWindow_ScrollWindow, <>). -%% @spec (This::wxWindow(), Accel::wxAcceleratorTable:wxAcceleratorTable()) -> ok %% @doc See external documentation. +-spec setAcceleratorTable(This, Accel) -> ok when + This::wxWindow(), Accel::wxAcceleratorTable:wxAcceleratorTable(). setAcceleratorTable(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=AccelT,ref=AccelRef}) -> ?CLASS(ThisT,wxWindow), ?CLASS(AccelT,wxAcceleratorTable), wxe_util:cast(?wxWindow_SetAcceleratorTable, <>). -%% @spec (This::wxWindow(), AutoLayout::bool()) -> ok %% @doc See external documentation. +-spec setAutoLayout(This, AutoLayout) -> ok when + This::wxWindow(), AutoLayout::boolean(). setAutoLayout(#wx_ref{type=ThisT,ref=ThisRef},AutoLayout) when is_boolean(AutoLayout) -> ?CLASS(ThisT,wxWindow), wxe_util:cast(?wxWindow_SetAutoLayout, <>). -%% @spec (This::wxWindow(), Colour::wx:colour()) -> bool() %% @doc See external documentation. +-spec setBackgroundColour(This, Colour) -> boolean() when + This::wxWindow(), Colour::wx:wx_colour(). setBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef},Colour) when tuple_size(Colour) =:= 3; tuple_size(Colour) =:= 4 -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_SetBackgroundColour, <>). -%% @spec (This::wxWindow(), Style::WxBackgroundStyle) -> bool() -%% WxBackgroundStyle = integer() %% @doc See external documentation. -%%
WxBackgroundStyle is one of ?wxBG_STYLE_SYSTEM | ?wxBG_STYLE_COLOUR | ?wxBG_STYLE_CUSTOM +%%
Style = ?wxBG_STYLE_SYSTEM | ?wxBG_STYLE_COLOUR | ?wxBG_STYLE_CUSTOM +-spec setBackgroundStyle(This, Style) -> boolean() when + This::wxWindow(), Style::wx:wx_enum(). setBackgroundStyle(#wx_ref{type=ThisT,ref=ThisRef},Style) when is_integer(Style) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_SetBackgroundStyle, <>). -%% @spec (This::wxWindow(), Caret::wxCaret:wxCaret()) -> ok %% @doc See external documentation. +-spec setCaret(This, Caret) -> ok when + This::wxWindow(), Caret::wxCaret:wxCaret(). setCaret(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=CaretT,ref=CaretRef}) -> ?CLASS(ThisT,wxWindow), ?CLASS(CaretT,wxCaret), wxe_util:cast(?wxWindow_SetCaret, <>). -%% @spec (This::wxWindow(),X::term()) -> ok %% @doc See external documentation. -%%
Alternatives: -%%

-%% setClientSize(This::wxWindow(), Size::{W::integer(), H::integer()}) -> ok -%%

-%%

-%% setClientSize(This::wxWindow(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}) -> ok -%%

+-spec setClientSize(This, Size) -> ok when + This::wxWindow(), Size::{W::integer(), H::integer()}; + (This, Rect) -> ok when + This::wxWindow(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}. setClientSize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH}) when is_integer(SizeW),is_integer(SizeH) -> ?CLASS(ThisT,wxWindow), @@ -1160,118 +1293,133 @@ setClientSize(#wx_ref{type=ThisT,ref=ThisRef},{RectX,RectY,RectW,RectH}) wxe_util:cast(?wxWindow_SetClientSize_1_1, <>). -%% @spec (This::wxWindow(), Width::integer(), Height::integer()) -> ok %% @doc See external documentation. +-spec setClientSize(This, Width, Height) -> ok when + This::wxWindow(), Width::integer(), Height::integer(). setClientSize(#wx_ref{type=ThisT,ref=ThisRef},Width,Height) when is_integer(Width),is_integer(Height) -> ?CLASS(ThisT,wxWindow), wxe_util:cast(?wxWindow_SetClientSize_2, <>). -%% @spec (This::wxWindow(), Sizer::wxSizer:wxSizer()) -> ok %% @doc See external documentation. +-spec setContainingSizer(This, Sizer) -> ok when + This::wxWindow(), Sizer::wxSizer:wxSizer(). setContainingSizer(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=SizerT,ref=SizerRef}) -> ?CLASS(ThisT,wxWindow), ?CLASS(SizerT,wxSizer), wxe_util:cast(?wxWindow_SetContainingSizer, <>). -%% @spec (This::wxWindow(), Cursor::wxCursor:wxCursor()) -> bool() %% @doc See external documentation. +-spec setCursor(This, Cursor) -> boolean() when + This::wxWindow(), Cursor::wxCursor:wxCursor(). setCursor(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=CursorT,ref=CursorRef}) -> ?CLASS(ThisT,wxWindow), ?CLASS(CursorT,wxCursor), wxe_util:call(?wxWindow_SetCursor, <>). -%% @spec (This::wxWindow(), MaxSize::{W::integer(), H::integer()}) -> ok %% @doc See external documentation. +-spec setMaxSize(This, MaxSize) -> ok when + This::wxWindow(), MaxSize::{W::integer(), H::integer()}. setMaxSize(#wx_ref{type=ThisT,ref=ThisRef},{MaxSizeW,MaxSizeH}) when is_integer(MaxSizeW),is_integer(MaxSizeH) -> ?CLASS(ThisT,wxWindow), wxe_util:cast(?wxWindow_SetMaxSize, <>). -%% @spec (This::wxWindow(), MinSize::{W::integer(), H::integer()}) -> ok %% @doc See external documentation. +-spec setMinSize(This, MinSize) -> ok when + This::wxWindow(), MinSize::{W::integer(), H::integer()}. setMinSize(#wx_ref{type=ThisT,ref=ThisRef},{MinSizeW,MinSizeH}) when is_integer(MinSizeW),is_integer(MinSizeH) -> ?CLASS(ThisT,wxWindow), wxe_util:cast(?wxWindow_SetMinSize, <>). -%% @spec (This::wxWindow(), Colour::wx:colour()) -> ok %% @doc See external documentation. +-spec setOwnBackgroundColour(This, Colour) -> ok when + This::wxWindow(), Colour::wx:wx_colour(). setOwnBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef},Colour) when tuple_size(Colour) =:= 3; tuple_size(Colour) =:= 4 -> ?CLASS(ThisT,wxWindow), wxe_util:cast(?wxWindow_SetOwnBackgroundColour, <>). -%% @spec (This::wxWindow(), Font::wxFont:wxFont()) -> ok %% @doc See external documentation. +-spec setOwnFont(This, Font) -> ok when + This::wxWindow(), Font::wxFont:wxFont(). setOwnFont(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FontT,ref=FontRef}) -> ?CLASS(ThisT,wxWindow), ?CLASS(FontT,wxFont), wxe_util:cast(?wxWindow_SetOwnFont, <>). -%% @spec (This::wxWindow(), Colour::wx:colour()) -> ok %% @doc See external documentation. +-spec setOwnForegroundColour(This, Colour) -> ok when + This::wxWindow(), Colour::wx:wx_colour(). setOwnForegroundColour(#wx_ref{type=ThisT,ref=ThisRef},Colour) when tuple_size(Colour) =:= 3; tuple_size(Colour) =:= 4 -> ?CLASS(ThisT,wxWindow), wxe_util:cast(?wxWindow_SetOwnForegroundColour, <>). -%% @spec (This::wxWindow(), DropTarget::wxDropTarget:wxDropTarget()) -> ok %% @doc See external documentation. +-spec setDropTarget(This, DropTarget) -> ok when + This::wxWindow(), DropTarget::wxDropTarget:wxDropTarget(). setDropTarget(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=DropTargetT,ref=DropTargetRef}) -> ?CLASS(ThisT,wxWindow), ?CLASS(DropTargetT,wxDropTarget), wxe_util:cast(?wxWindow_SetDropTarget, <>). -%% @spec (This::wxWindow(), ExStyle::integer()) -> ok %% @doc See external documentation. +-spec setExtraStyle(This, ExStyle) -> ok when + This::wxWindow(), ExStyle::integer(). setExtraStyle(#wx_ref{type=ThisT,ref=ThisRef},ExStyle) when is_integer(ExStyle) -> ?CLASS(ThisT,wxWindow), wxe_util:cast(?wxWindow_SetExtraStyle, <>). -%% @spec (This::wxWindow()) -> ok %% @doc See external documentation. +-spec setFocus(This) -> ok when + This::wxWindow(). setFocus(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:cast(?wxWindow_SetFocus, <>). -%% @spec (This::wxWindow()) -> ok %% @doc See external documentation. +-spec setFocusFromKbd(This) -> ok when + This::wxWindow(). setFocusFromKbd(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:cast(?wxWindow_SetFocusFromKbd, <>). -%% @spec (This::wxWindow(), Font::wxFont:wxFont()) -> bool() %% @doc See external documentation. +-spec setFont(This, Font) -> boolean() when + This::wxWindow(), Font::wxFont:wxFont(). setFont(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FontT,ref=FontRef}) -> ?CLASS(ThisT,wxWindow), ?CLASS(FontT,wxFont), wxe_util:call(?wxWindow_SetFont, <>). -%% @spec (This::wxWindow(), Colour::wx:colour()) -> bool() %% @doc See external documentation. +-spec setForegroundColour(This, Colour) -> boolean() when + This::wxWindow(), Colour::wx:wx_colour(). setForegroundColour(#wx_ref{type=ThisT,ref=ThisRef},Colour) when tuple_size(Colour) =:= 3; tuple_size(Colour) =:= 4 -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_SetForegroundColour, <>). -%% @spec (This::wxWindow(), Text::string()) -> ok %% @doc See external documentation. +-spec setHelpText(This, Text) -> ok when + This::wxWindow(), Text::string(). setHelpText(#wx_ref{type=ThisT,ref=ThisRef},Text) when is_list(Text) -> ?CLASS(ThisT,wxWindow), @@ -1279,16 +1427,18 @@ setHelpText(#wx_ref{type=ThisT,ref=ThisRef},Text) wxe_util:cast(?wxWindow_SetHelpText, <>). -%% @spec (This::wxWindow(), Winid::integer()) -> ok %% @doc See external documentation. +-spec setId(This, Winid) -> ok when + This::wxWindow(), Winid::integer(). setId(#wx_ref{type=ThisT,ref=ThisRef},Winid) when is_integer(Winid) -> ?CLASS(ThisT,wxWindow), wxe_util:cast(?wxWindow_SetId, <>). -%% @spec (This::wxWindow(), Label::string()) -> ok %% @doc See external documentation. +-spec setLabel(This, Label) -> ok when + This::wxWindow(), Label::string(). setLabel(#wx_ref{type=ThisT,ref=ThisRef},Label) when is_list(Label) -> ?CLASS(ThisT,wxWindow), @@ -1296,8 +1446,9 @@ setLabel(#wx_ref{type=ThisT,ref=ThisRef},Label) wxe_util:cast(?wxWindow_SetLabel, <>). -%% @spec (This::wxWindow(), Name::string()) -> ok %% @doc See external documentation. +-spec setName(This, Name) -> ok when + This::wxWindow(), Name::string(). setName(#wx_ref{type=ThisT,ref=ThisRef},Name) when is_list(Name) -> ?CLASS(ThisT,wxWindow), @@ -1305,23 +1456,27 @@ setName(#wx_ref{type=ThisT,ref=ThisRef},Name) wxe_util:cast(?wxWindow_SetName, <>). -%% @spec (This::wxWindow(), Pal::wxPalette:wxPalette()) -> ok %% @doc See external documentation. +-spec setPalette(This, Pal) -> ok when + This::wxWindow(), Pal::wxPalette:wxPalette(). setPalette(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PalT,ref=PalRef}) -> ?CLASS(ThisT,wxWindow), ?CLASS(PalT,wxPalette), wxe_util:cast(?wxWindow_SetPalette, <>). -%% @spec (This::wxWindow(), Orient::integer(), Pos::integer(), ThumbVisible::integer(), Range::integer()) -> ok %% @equiv setScrollbar(This,Orient,Pos,ThumbVisible,Range, []) +-spec setScrollbar(This, Orient, Pos, ThumbVisible, Range) -> ok when + This::wxWindow(), Orient::integer(), Pos::integer(), ThumbVisible::integer(), Range::integer(). + setScrollbar(This,Orient,Pos,ThumbVisible,Range) when is_record(This, wx_ref),is_integer(Orient),is_integer(Pos),is_integer(ThumbVisible),is_integer(Range) -> setScrollbar(This,Orient,Pos,ThumbVisible,Range, []). -%% @spec (This::wxWindow(), Orient::integer(), Pos::integer(), ThumbVisible::integer(), Range::integer(), [Option]) -> ok -%% Option = {refresh, bool()} %% @doc See external documentation. +-spec setScrollbar(This, Orient, Pos, ThumbVisible, Range, [Option]) -> ok when + This::wxWindow(), Orient::integer(), Pos::integer(), ThumbVisible::integer(), Range::integer(), + Option :: {refresh, boolean()}. setScrollbar(#wx_ref{type=ThisT,ref=ThisRef},Orient,Pos,ThumbVisible,Range, Options) when is_integer(Orient),is_integer(Pos),is_integer(ThumbVisible),is_integer(Range),is_list(Options) -> ?CLASS(ThisT,wxWindow), @@ -1331,15 +1486,18 @@ setScrollbar(#wx_ref{type=ThisT,ref=ThisRef},Orient,Pos,ThumbVisible,Range, Opti wxe_util:cast(?wxWindow_SetScrollbar, <>). -%% @spec (This::wxWindow(), Orient::integer(), Pos::integer()) -> ok %% @equiv setScrollPos(This,Orient,Pos, []) +-spec setScrollPos(This, Orient, Pos) -> ok when + This::wxWindow(), Orient::integer(), Pos::integer(). + setScrollPos(This,Orient,Pos) when is_record(This, wx_ref),is_integer(Orient),is_integer(Pos) -> setScrollPos(This,Orient,Pos, []). -%% @spec (This::wxWindow(), Orient::integer(), Pos::integer(), [Option]) -> ok -%% Option = {refresh, bool()} %% @doc See external documentation. +-spec setScrollPos(This, Orient, Pos, [Option]) -> ok when + This::wxWindow(), Orient::integer(), Pos::integer(), + Option :: {refresh, boolean()}. setScrollPos(#wx_ref{type=ThisT,ref=ThisRef},Orient,Pos, Options) when is_integer(Orient),is_integer(Pos),is_list(Options) -> ?CLASS(ThisT,wxWindow), @@ -1349,14 +1507,11 @@ setScrollPos(#wx_ref{type=ThisT,ref=ThisRef},Orient,Pos, Options) wxe_util:cast(?wxWindow_SetScrollPos, <>). -%% @spec (This::wxWindow(),X::term()) -> ok %% @doc See external documentation. -%%
Alternatives: -%%

-%% setSize(This::wxWindow(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}) -> setSize(This,Rect, [])

-%%

-%% setSize(This::wxWindow(), Size::{W::integer(), H::integer()}) -> ok -%%

+-spec setSize(This, Rect) -> ok when + This::wxWindow(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}; + (This, Size) -> ok when + This::wxWindow(), Size::{W::integer(), H::integer()}. setSize(This,Rect={RectX,RectY,RectW,RectH}) when is_record(This, wx_ref),is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH) -> @@ -1367,16 +1522,12 @@ setSize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH}) wxe_util:cast(?wxWindow_SetSize_1, <>). -%% @spec (This::wxWindow(),X::integer()|term(),X::integer()|term()) -> ok %% @doc See external documentation. -%%
Alternatives: -%%

-%% setSize(This::wxWindow(), Width::integer(), Height::integer()) -> ok -%%

-%%

-%% setSize(This::wxWindow(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}, [Option]) -> ok -%%
Option = {sizeFlags, integer()} -%%

+-spec setSize(This, Width, Height) -> ok when + This::wxWindow(), Width::integer(), Height::integer(); + (This, Rect, [Option]) -> ok when + This::wxWindow(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}, + Option :: {sizeFlags, integer()}. setSize(#wx_ref{type=ThisT,ref=ThisRef},Width,Height) when is_integer(Width),is_integer(Height) -> ?CLASS(ThisT,wxWindow), @@ -1391,15 +1542,18 @@ setSize(#wx_ref{type=ThisT,ref=ThisRef},{RectX,RectY,RectW,RectH}, Options) wxe_util:cast(?wxWindow_SetSize_2_1, <>). -%% @spec (This::wxWindow(), X::integer(), Y::integer(), Width::integer(), Height::integer()) -> ok %% @equiv setSize(This,X,Y,Width,Height, []) +-spec setSize(This, X, Y, Width, Height) -> ok when + This::wxWindow(), X::integer(), Y::integer(), Width::integer(), Height::integer(). + setSize(This,X,Y,Width,Height) when is_record(This, wx_ref),is_integer(X),is_integer(Y),is_integer(Width),is_integer(Height) -> setSize(This,X,Y,Width,Height, []). -%% @spec (This::wxWindow(), X::integer(), Y::integer(), Width::integer(), Height::integer(), [Option]) -> ok -%% Option = {sizeFlags, integer()} %% @doc See external documentation. +-spec setSize(This, X, Y, Width, Height, [Option]) -> ok when + This::wxWindow(), X::integer(), Y::integer(), Width::integer(), Height::integer(), + Option :: {sizeFlags, integer()}. setSize(#wx_ref{type=ThisT,ref=ThisRef},X,Y,Width,Height, Options) when is_integer(X),is_integer(Y),is_integer(Width),is_integer(Height),is_list(Options) -> ?CLASS(ThisT,wxWindow), @@ -1409,21 +1563,21 @@ setSize(#wx_ref{type=ThisT,ref=ThisRef},X,Y,Width,Height, Options) wxe_util:cast(?wxWindow_SetSize_5, <>). -%% @spec (This::wxWindow(), MinSize::{W::integer(), H::integer()}) -> ok %% @equiv setSizeHints(This,MinSize, []) +-spec setSizeHints(This, MinSize) -> ok when + This::wxWindow(), MinSize::{W::integer(), H::integer()}. + setSizeHints(This,MinSize={MinSizeW,MinSizeH}) when is_record(This, wx_ref),is_integer(MinSizeW),is_integer(MinSizeH) -> setSizeHints(This,MinSize, []). -%% @spec (This::wxWindow(),X::integer()|term(),X::integer()|term()) -> ok %% @doc See external documentation. -%%
Alternatives: -%%

-%% setSizeHints(This::wxWindow(), MinW::integer(), MinH::integer()) -> setSizeHints(This,MinW,MinH, [])

-%%

-%% setSizeHints(This::wxWindow(), MinSize::{W::integer(), H::integer()}, [Option]) -> ok -%%
Option = {maxSize, {W::integer(), H::integer()}} | {incSize, {W::integer(), H::integer()}} -%%

+-spec setSizeHints(This, MinW, MinH) -> ok when + This::wxWindow(), MinW::integer(), MinH::integer(); + (This, MinSize, [Option]) -> ok when + This::wxWindow(), MinSize::{W::integer(), H::integer()}, + Option :: {maxSize, {W::integer(), H::integer()}} + | {incSize, {W::integer(), H::integer()}}. setSizeHints(This,MinW,MinH) when is_record(This, wx_ref),is_integer(MinW),is_integer(MinH) -> @@ -1438,9 +1592,13 @@ setSizeHints(#wx_ref{type=ThisT,ref=ThisRef},{MinSizeW,MinSizeH}, Options) wxe_util:cast(?wxWindow_SetSizeHints_2, <>). -%% @spec (This::wxWindow(), MinW::integer(), MinH::integer(), [Option]) -> ok -%% Option = {maxW, integer()} | {maxH, integer()} | {incW, integer()} | {incH, integer()} %% @doc See external documentation. +-spec setSizeHints(This, MinW, MinH, [Option]) -> ok when + This::wxWindow(), MinW::integer(), MinH::integer(), + Option :: {maxW, integer()} + | {maxH, integer()} + | {incW, integer()} + | {incH, integer()}. setSizeHints(#wx_ref{type=ThisT,ref=ThisRef},MinW,MinH, Options) when is_integer(MinW),is_integer(MinH),is_list(Options) -> ?CLASS(ThisT,wxWindow), @@ -1453,15 +1611,18 @@ setSizeHints(#wx_ref{type=ThisT,ref=ThisRef},MinW,MinH, Options) wxe_util:cast(?wxWindow_SetSizeHints_3, <>). -%% @spec (This::wxWindow(), Sizer::wxSizer:wxSizer()) -> ok %% @equiv setSizer(This,Sizer, []) +-spec setSizer(This, Sizer) -> ok when + This::wxWindow(), Sizer::wxSizer:wxSizer(). + setSizer(This,Sizer) when is_record(This, wx_ref),is_record(Sizer, wx_ref) -> setSizer(This,Sizer, []). -%% @spec (This::wxWindow(), Sizer::wxSizer:wxSizer(), [Option]) -> ok -%% Option = {deleteOld, bool()} %% @doc See external documentation. +-spec setSizer(This, Sizer, [Option]) -> ok when + This::wxWindow(), Sizer::wxSizer:wxSizer(), + Option :: {deleteOld, boolean()}. setSizer(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=SizerT,ref=SizerRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxWindow), @@ -1472,15 +1633,18 @@ setSizer(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=SizerT,ref=SizerRef}, Opti wxe_util:cast(?wxWindow_SetSizer, <>). -%% @spec (This::wxWindow(), Sizer::wxSizer:wxSizer()) -> ok %% @equiv setSizerAndFit(This,Sizer, []) +-spec setSizerAndFit(This, Sizer) -> ok when + This::wxWindow(), Sizer::wxSizer:wxSizer(). + setSizerAndFit(This,Sizer) when is_record(This, wx_ref),is_record(Sizer, wx_ref) -> setSizerAndFit(This,Sizer, []). -%% @spec (This::wxWindow(), Sizer::wxSizer:wxSizer(), [Option]) -> ok -%% Option = {deleteOld, bool()} %% @doc See external documentation. +-spec setSizerAndFit(This, Sizer, [Option]) -> ok when + This::wxWindow(), Sizer::wxSizer:wxSizer(), + Option :: {deleteOld, boolean()}. setSizerAndFit(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=SizerT,ref=SizerRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxWindow), @@ -1491,23 +1655,20 @@ setSizerAndFit(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=SizerT,ref=SizerRef} wxe_util:cast(?wxWindow_SetSizerAndFit, <>). -%% @spec (This::wxWindow(), EnableTheme::bool()) -> ok %% @doc See external documentation. +-spec setThemeEnabled(This, EnableTheme) -> ok when + This::wxWindow(), EnableTheme::boolean(). setThemeEnabled(#wx_ref{type=ThisT,ref=ThisRef},EnableTheme) when is_boolean(EnableTheme) -> ?CLASS(ThisT,wxWindow), wxe_util:cast(?wxWindow_SetThemeEnabled, <>). -%% @spec (This::wxWindow(),X::string()|term()) -> ok %% @doc See external documentation. -%%
Alternatives: -%%

-%% setToolTip(This::wxWindow(), Tip::string()) -> ok -%%

-%%

-%% setToolTip(This::wxWindow(), Tip::wxToolTip:wxToolTip()) -> ok -%%

+-spec setToolTip(This, Tip) -> ok when + This::wxWindow(), Tip::string(); + (This, Tip) -> ok when + This::wxWindow(), Tip::wxToolTip:wxToolTip(). setToolTip(#wx_ref{type=ThisT,ref=ThisRef},Tip) when is_list(Tip) -> ?CLASS(ThisT,wxWindow), @@ -1520,37 +1681,38 @@ setToolTip(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=TipT,ref=TipRef}) -> wxe_util:cast(?wxWindow_SetToolTip_1_1, <>). -%% @spec (This::wxWindow(), Size::{W::integer(), H::integer()}) -> ok %% @doc See external documentation. +-spec setVirtualSize(This, Size) -> ok when + This::wxWindow(), Size::{W::integer(), H::integer()}. setVirtualSize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH}) when is_integer(SizeW),is_integer(SizeH) -> ?CLASS(ThisT,wxWindow), wxe_util:cast(?wxWindow_SetVirtualSize_1, <>). -%% @spec (This::wxWindow(), X::integer(), Y::integer()) -> ok %% @doc See external documentation. +-spec setVirtualSize(This, X, Y) -> ok when + This::wxWindow(), X::integer(), Y::integer(). setVirtualSize(#wx_ref{type=ThisT,ref=ThisRef},X,Y) when is_integer(X),is_integer(Y) -> ?CLASS(ThisT,wxWindow), wxe_util:cast(?wxWindow_SetVirtualSize_2, <>). -%% @spec (This::wxWindow(), MinSize::{W::integer(), H::integer()}) -> ok %% @equiv setVirtualSizeHints(This,MinSize, []) +-spec setVirtualSizeHints(This, MinSize) -> ok when + This::wxWindow(), MinSize::{W::integer(), H::integer()}. + setVirtualSizeHints(This,MinSize={MinSizeW,MinSizeH}) when is_record(This, wx_ref),is_integer(MinSizeW),is_integer(MinSizeH) -> setVirtualSizeHints(This,MinSize, []). -%% @spec (This::wxWindow(),X::integer()|term(),X::integer()|term()) -> ok %% @doc See external documentation. -%%
Alternatives: -%%

-%% setVirtualSizeHints(This::wxWindow(), MinW::integer(), MinH::integer()) -> setVirtualSizeHints(This,MinW,MinH, [])

-%%

-%% setVirtualSizeHints(This::wxWindow(), MinSize::{W::integer(), H::integer()}, [Option]) -> ok -%%
Option = {maxSize, {W::integer(), H::integer()}} -%%

+-spec setVirtualSizeHints(This, MinW, MinH) -> ok when + This::wxWindow(), MinW::integer(), MinH::integer(); + (This, MinSize, [Option]) -> ok when + This::wxWindow(), MinSize::{W::integer(), H::integer()}, + Option :: {maxSize, {W::integer(), H::integer()}}. setVirtualSizeHints(This,MinW,MinH) when is_record(This, wx_ref),is_integer(MinW),is_integer(MinH) -> @@ -1564,9 +1726,11 @@ setVirtualSizeHints(#wx_ref{type=ThisT,ref=ThisRef},{MinSizeW,MinSizeH}, Options wxe_util:cast(?wxWindow_SetVirtualSizeHints_2, <>). -%% @spec (This::wxWindow(), MinW::integer(), MinH::integer(), [Option]) -> ok -%% Option = {maxW, integer()} | {maxH, integer()} %% @doc See external documentation. +-spec setVirtualSizeHints(This, MinW, MinH, [Option]) -> ok when + This::wxWindow(), MinW::integer(), MinH::integer(), + Option :: {maxW, integer()} + | {maxH, integer()}. setVirtualSizeHints(#wx_ref{type=ThisT,ref=ThisRef},MinW,MinH, Options) when is_integer(MinW),is_integer(MinH),is_list(Options) -> ?CLASS(ThisT,wxWindow), @@ -1577,48 +1741,54 @@ setVirtualSizeHints(#wx_ref{type=ThisT,ref=ThisRef},MinW,MinH, Options) wxe_util:cast(?wxWindow_SetVirtualSizeHints_3, <>). -%% @spec (This::wxWindow(), Style::integer()) -> ok %% @doc See external documentation. +-spec setWindowStyle(This, Style) -> ok when + This::wxWindow(), Style::integer(). setWindowStyle(#wx_ref{type=ThisT,ref=ThisRef},Style) when is_integer(Style) -> ?CLASS(ThisT,wxWindow), wxe_util:cast(?wxWindow_SetWindowStyle, <>). -%% @spec (This::wxWindow(), Style::integer()) -> ok %% @doc See external documentation. +-spec setWindowStyleFlag(This, Style) -> ok when + This::wxWindow(), Style::integer(). setWindowStyleFlag(#wx_ref{type=ThisT,ref=ThisRef},Style) when is_integer(Style) -> ?CLASS(ThisT,wxWindow), wxe_util:cast(?wxWindow_SetWindowStyleFlag, <>). -%% @spec (This::wxWindow(), Variant::WxWindowVariant) -> ok -%% WxWindowVariant = integer() %% @doc See external documentation. -%%
WxWindowVariant is one of ?wxWINDOW_VARIANT_NORMAL | ?wxWINDOW_VARIANT_SMALL | ?wxWINDOW_VARIANT_MINI | ?wxWINDOW_VARIANT_LARGE | ?wxWINDOW_VARIANT_MAX +%%
Variant = ?wxWINDOW_VARIANT_NORMAL | ?wxWINDOW_VARIANT_SMALL | ?wxWINDOW_VARIANT_MINI | ?wxWINDOW_VARIANT_LARGE | ?wxWINDOW_VARIANT_MAX +-spec setWindowVariant(This, Variant) -> ok when + This::wxWindow(), Variant::wx:wx_enum(). setWindowVariant(#wx_ref{type=ThisT,ref=ThisRef},Variant) when is_integer(Variant) -> ?CLASS(ThisT,wxWindow), wxe_util:cast(?wxWindow_SetWindowVariant, <>). -%% @spec (This::wxWindow()) -> bool() %% @doc See external documentation. +-spec shouldInheritColours(This) -> boolean() when + This::wxWindow(). shouldInheritColours(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_ShouldInheritColours, <>). -%% @spec (This::wxWindow()) -> bool() %% @equiv show(This, []) +-spec show(This) -> boolean() when + This::wxWindow(). + show(This) when is_record(This, wx_ref) -> show(This, []). -%% @spec (This::wxWindow(), [Option]) -> bool() -%% Option = {show, bool()} %% @doc See external documentation. +-spec show(This, [Option]) -> boolean() when + This::wxWindow(), + Option :: {show, boolean()}. show(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxWindow), @@ -1628,43 +1798,50 @@ show(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:call(?wxWindow_Show, <>). -%% @spec (This::wxWindow()) -> ok %% @doc See external documentation. +-spec thaw(This) -> ok when + This::wxWindow(). thaw(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:cast(?wxWindow_Thaw, <>). -%% @spec (This::wxWindow()) -> bool() %% @doc See external documentation. +-spec transferDataFromWindow(This) -> boolean() when + This::wxWindow(). transferDataFromWindow(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_TransferDataFromWindow, <>). -%% @spec (This::wxWindow()) -> bool() %% @doc See external documentation. +-spec transferDataToWindow(This) -> boolean() when + This::wxWindow(). transferDataToWindow(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_TransferDataToWindow, <>). -%% @spec (This::wxWindow()) -> ok %% @doc See external documentation. +-spec update(This) -> ok when + This::wxWindow(). update(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:cast(?wxWindow_Update, <>). -%% @spec (This::wxWindow()) -> ok %% @equiv updateWindowUI(This, []) +-spec updateWindowUI(This) -> ok when + This::wxWindow(). + updateWindowUI(This) when is_record(This, wx_ref) -> updateWindowUI(This, []). -%% @spec (This::wxWindow(), [Option]) -> ok -%% Option = {flags, integer()} %% @doc See external documentation. +-spec updateWindowUI(This, [Option]) -> ok when + This::wxWindow(), + Option :: {flags, integer()}. updateWindowUI(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxWindow), @@ -1674,23 +1851,25 @@ updateWindowUI(#wx_ref{type=ThisT,ref=ThisRef}, Options) wxe_util:cast(?wxWindow_UpdateWindowUI, <>). -%% @spec (This::wxWindow()) -> bool() %% @doc See external documentation. +-spec validate(This) -> boolean() when + This::wxWindow(). validate(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), wxe_util:call(?wxWindow_Validate, <>). -%% @spec (This::wxWindow(), X::integer(), Y::integer()) -> ok %% @doc See external documentation. +-spec warpPointer(This, X, Y) -> ok when + This::wxWindow(), X::integer(), Y::integer(). warpPointer(#wx_ref{type=ThisT,ref=ThisRef},X,Y) when is_integer(X),is_integer(Y) -> ?CLASS(ThisT,wxWindow), wxe_util:cast(?wxWindow_WarpPointer, <>). -%% @spec (This::wxWindow()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxWindow) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxWindow), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxWindowCreateEvent.erl b/lib/wx/src/gen/wxWindowCreateEvent.erl index c8b3c74f81..f17d6011d9 100644 --- a/lib/wx/src/gen/wxWindowCreateEvent.erl +++ b/lib/wx/src/gen/wxWindowCreateEvent.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,11 +40,13 @@ parent_class/1,resumePropagation/2,setInt/2,setString/2,shouldPropagate/1, skip/1,skip/2,stopPropagation/1]). +-export_type([wxWindowCreateEvent/0]). %% @hidden parent_class(wxCommandEvent) -> true; parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). +-type wxWindowCreateEvent() :: wx:wx_object(). %% From wxCommandEvent %% @hidden setString(This,S) -> wxCommandEvent:setString(This,S). diff --git a/lib/wx/src/gen/wxWindowDC.erl b/lib/wx/src/gen/wxWindowDC.erl index 17cbd3d378..ba7bdf50aa 100644 --- a/lib/wx/src/gen/wxWindowDC.erl +++ b/lib/wx/src/gen/wxWindowDC.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -52,25 +52,28 @@ setPen/2,setTextBackground/2,setTextForeground/2,setUserScale/3,startDoc/2, startPage/1]). +-export_type([wxWindowDC/0]). %% @hidden parent_class(wxDC) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxWindowDC() +-type wxWindowDC() :: wx:wx_object(). %% @doc See external documentation. +-spec new() -> wxWindowDC(). new() -> wxe_util:construct(?wxWindowDC_new_0, <<>>). -%% @spec (Win::wxWindow:wxWindow()) -> wxWindowDC() %% @doc See external documentation. +-spec new(Win) -> wxWindowDC() when + Win::wxWindow:wxWindow(). new(#wx_ref{type=WinT,ref=WinRef}) -> ?CLASS(WinT,wxWindow), wxe_util:construct(?wxWindowDC_new_1, <>). -%% @spec (This::wxWindowDC()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxWindowDC) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxWindowDC), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxWindowDestroyEvent.erl b/lib/wx/src/gen/wxWindowDestroyEvent.erl index e62700da4a..909f521d82 100644 --- a/lib/wx/src/gen/wxWindowDestroyEvent.erl +++ b/lib/wx/src/gen/wxWindowDestroyEvent.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,11 +40,13 @@ parent_class/1,resumePropagation/2,setInt/2,setString/2,shouldPropagate/1, skip/1,skip/2,stopPropagation/1]). +-export_type([wxWindowDestroyEvent/0]). %% @hidden parent_class(wxCommandEvent) -> true; parent_class(wxEvent) -> true; parent_class(_Class) -> erlang:error({badtype, ?MODULE}). +-type wxWindowDestroyEvent() :: wx:wx_object(). %% From wxCommandEvent %% @hidden setString(This,S) -> wxCommandEvent:setString(This,S). diff --git a/lib/wx/src/gen/wxXmlResource.erl b/lib/wx/src/gen/wxXmlResource.erl index 2b69a49bd7..c18f6ce051 100644 --- a/lib/wx/src/gen/wxXmlResource.erl +++ b/lib/wx/src/gen/wxXmlResource.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2010. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -34,17 +34,21 @@ %% inherited exports -export([parent_class/1]). +-export_type([wxXmlResource/0]). %% @hidden parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -%% @spec () -> wxXmlResource() +-type wxXmlResource() :: wx:wx_object(). %% @equiv new([]) +-spec new() -> wxXmlResource(). + new() -> new([]). -%% @spec ([Option]) -> wxXmlResource() -%% Option = {flags, integer()} | {domain, string()} %% @doc See external documentation. +-spec new([Option]) -> wxXmlResource() when + Option :: {flags, integer()} + | {domain, string()}. new(Options) when is_list(Options) -> MOpts = fun({flags, Flags}, Acc) -> [<<1:32/?UI,Flags:32/?UI>>|Acc]; @@ -54,9 +58,11 @@ new(Options) wxe_util:construct(?wxXmlResource_new_1, <>). -%% @spec (Filemask::string(), [Option]) -> wxXmlResource() -%% Option = {flags, integer()} | {domain, string()} %% @doc See external documentation. +-spec new(Filemask, [Option]) -> wxXmlResource() when + Filemask::string(), + Option :: {flags, integer()} + | {domain, string()}. new(Filemask, Options) when is_list(Filemask),is_list(Options) -> Filemask_UC = unicode:characters_to_binary([Filemask,0]), @@ -67,15 +73,18 @@ new(Filemask, Options) wxe_util:construct(?wxXmlResource_new_2, <<(byte_size(Filemask_UC)):32/?UI,(Filemask_UC)/binary, 0:(((8- ((4+byte_size(Filemask_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>). -%% @spec (This::wxXmlResource(), Name::string(), Control::wxWindow:wxWindow()) -> bool() %% @equiv attachUnknownControl(This,Name,Control, []) +-spec attachUnknownControl(This, Name, Control) -> boolean() when + This::wxXmlResource(), Name::string(), Control::wxWindow:wxWindow(). + attachUnknownControl(This,Name,Control) when is_record(This, wx_ref),is_list(Name),is_record(Control, wx_ref) -> attachUnknownControl(This,Name,Control, []). -%% @spec (This::wxXmlResource(), Name::string(), Control::wxWindow:wxWindow(), [Option]) -> bool() -%% Option = {parent, wxWindow:wxWindow()} %% @doc See external documentation. +-spec attachUnknownControl(This, Name, Control, [Option]) -> boolean() when + This::wxXmlResource(), Name::string(), Control::wxWindow:wxWindow(), + Option :: {parent, wxWindow:wxWindow()}. attachUnknownControl(#wx_ref{type=ThisT,ref=ThisRef},Name,#wx_ref{type=ControlT,ref=ControlRef}, Options) when is_list(Name),is_list(Options) -> ?CLASS(ThisT,wxXmlResource), @@ -87,50 +96,57 @@ attachUnknownControl(#wx_ref{type=ThisT,ref=ThisRef},Name,#wx_ref{type=ControlT, wxe_util:call(?wxXmlResource_AttachUnknownControl, <>). -%% @spec (This::wxXmlResource()) -> ok %% @doc See external documentation. +-spec clearHandlers(This) -> ok when + This::wxXmlResource(). clearHandlers(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxXmlResource), wxe_util:cast(?wxXmlResource_ClearHandlers, <>). -%% @spec (This::wxXmlResource(), Major::integer(), Minor::integer(), Release::integer(), Revision::integer()) -> integer() %% @doc See external documentation. +-spec compareVersion(This, Major, Minor, Release, Revision) -> integer() when + This::wxXmlResource(), Major::integer(), Minor::integer(), Release::integer(), Revision::integer(). compareVersion(#wx_ref{type=ThisT,ref=ThisRef},Major,Minor,Release,Revision) when is_integer(Major),is_integer(Minor),is_integer(Release),is_integer(Revision) -> ?CLASS(ThisT,wxXmlResource), wxe_util:call(?wxXmlResource_CompareVersion, <>). -%% @spec () -> wxXmlResource() %% @doc See external documentation. +-spec get() -> wxXmlResource(). get() -> wxe_util:call(?wxXmlResource_Get, <<>>). -%% @spec (This::wxXmlResource()) -> integer() %% @doc See external documentation. +-spec getFlags(This) -> integer() when + This::wxXmlResource(). getFlags(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxXmlResource), wxe_util:call(?wxXmlResource_GetFlags, <>). -%% @spec (This::wxXmlResource()) -> integer() %% @doc See external documentation. +-spec getVersion(This) -> integer() when + This::wxXmlResource(). getVersion(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxXmlResource), wxe_util:call(?wxXmlResource_GetVersion, <>). -%% @spec (Str_id::[string()]) -> integer() %% @equiv getXRCID(Str_id, []) +-spec getXRCID(Str_id) -> integer() when + Str_id::[string()]. + getXRCID(Str_id) when is_list(Str_id) -> getXRCID(Str_id, []). -%% @spec (Str_id::[string()], [Option]) -> integer() -%% Option = {value_if_not_found, integer()} %% @doc See external documentation. +-spec getXRCID(Str_id, [Option]) -> integer() when + Str_id::[string()], + Option :: {value_if_not_found, integer()}. getXRCID(Str_id, Options) when is_list(Str_id),is_list(Options) -> Str_id_UC = unicode:characters_to_binary([Str_id,0]), @@ -140,15 +156,17 @@ getXRCID(Str_id, Options) wxe_util:call(?wxXmlResource_GetXRCID, <<(byte_size(Str_id_UC)):32/?UI,(Str_id_UC)/binary, 0:(((8- ((4+byte_size(Str_id_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>). -%% @spec (This::wxXmlResource()) -> ok %% @doc See external documentation. +-spec initAllHandlers(This) -> ok when + This::wxXmlResource(). initAllHandlers(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxXmlResource), wxe_util:cast(?wxXmlResource_InitAllHandlers, <>). -%% @spec (This::wxXmlResource(), Filemask::string()) -> bool() %% @doc See external documentation. +-spec load(This, Filemask) -> boolean() when + This::wxXmlResource(), Filemask::string(). load(#wx_ref{type=ThisT,ref=ThisRef},Filemask) when is_list(Filemask) -> ?CLASS(ThisT,wxXmlResource), @@ -156,8 +174,9 @@ load(#wx_ref{type=ThisT,ref=ThisRef},Filemask) wxe_util:call(?wxXmlResource_Load, <>). -%% @spec (This::wxXmlResource(), Name::string()) -> wxBitmap:wxBitmap() %% @doc See external documentation. +-spec loadBitmap(This, Name) -> wxBitmap:wxBitmap() when + This::wxXmlResource(), Name::string(). loadBitmap(#wx_ref{type=ThisT,ref=ThisRef},Name) when is_list(Name) -> ?CLASS(ThisT,wxXmlResource), @@ -165,8 +184,9 @@ loadBitmap(#wx_ref{type=ThisT,ref=ThisRef},Name) wxe_util:call(?wxXmlResource_LoadBitmap, <>). -%% @spec (This::wxXmlResource(), Parent::wxWindow:wxWindow(), Name::string()) -> wxDialog:wxDialog() %% @doc See external documentation. +-spec loadDialog(This, Parent, Name) -> wxDialog:wxDialog() when + This::wxXmlResource(), Parent::wxWindow:wxWindow(), Name::string(). loadDialog(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Name) when is_list(Name) -> ?CLASS(ThisT,wxXmlResource), @@ -175,8 +195,9 @@ loadDialog(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},N wxe_util:call(?wxXmlResource_LoadDialog_2, <>). -%% @spec (This::wxXmlResource(), Dlg::wxDialog:wxDialog(), Parent::wxWindow:wxWindow(), Name::string()) -> bool() %% @doc See external documentation. +-spec loadDialog(This, Dlg, Parent, Name) -> boolean() when + This::wxXmlResource(), Dlg::wxDialog:wxDialog(), Parent::wxWindow:wxWindow(), Name::string(). loadDialog(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=DlgT,ref=DlgRef},#wx_ref{type=ParentT,ref=ParentRef},Name) when is_list(Name) -> ?CLASS(ThisT,wxXmlResource), @@ -186,8 +207,9 @@ loadDialog(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=DlgT,ref=DlgRef},#wx_ref wxe_util:call(?wxXmlResource_LoadDialog_3, <>). -%% @spec (This::wxXmlResource(), Parent::wxWindow:wxWindow(), Name::string()) -> wxFrame:wxFrame() %% @doc See external documentation. +-spec loadFrame(This, Parent, Name) -> wxFrame:wxFrame() when + This::wxXmlResource(), Parent::wxWindow:wxWindow(), Name::string(). loadFrame(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Name) when is_list(Name) -> ?CLASS(ThisT,wxXmlResource), @@ -196,8 +218,9 @@ loadFrame(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Na wxe_util:call(?wxXmlResource_LoadFrame_2, <>). -%% @spec (This::wxXmlResource(), Frame::wxFrame:wxFrame(), Parent::wxWindow:wxWindow(), Name::string()) -> bool() %% @doc See external documentation. +-spec loadFrame(This, Frame, Parent, Name) -> boolean() when + This::wxXmlResource(), Frame::wxFrame:wxFrame(), Parent::wxWindow:wxWindow(), Name::string(). loadFrame(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FrameT,ref=FrameRef},#wx_ref{type=ParentT,ref=ParentRef},Name) when is_list(Name) -> ?CLASS(ThisT,wxXmlResource), @@ -207,8 +230,9 @@ loadFrame(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FrameT,ref=FrameRef},#wx_ wxe_util:call(?wxXmlResource_LoadFrame_3, <>). -%% @spec (This::wxXmlResource(), Name::string()) -> wxIcon:wxIcon() %% @doc See external documentation. +-spec loadIcon(This, Name) -> wxIcon:wxIcon() when + This::wxXmlResource(), Name::string(). loadIcon(#wx_ref{type=ThisT,ref=ThisRef},Name) when is_list(Name) -> ?CLASS(ThisT,wxXmlResource), @@ -216,8 +240,9 @@ loadIcon(#wx_ref{type=ThisT,ref=ThisRef},Name) wxe_util:call(?wxXmlResource_LoadIcon, <>). -%% @spec (This::wxXmlResource(), Name::string()) -> wxMenu:wxMenu() %% @doc See external documentation. +-spec loadMenu(This, Name) -> wxMenu:wxMenu() when + This::wxXmlResource(), Name::string(). loadMenu(#wx_ref{type=ThisT,ref=ThisRef},Name) when is_list(Name) -> ?CLASS(ThisT,wxXmlResource), @@ -225,8 +250,9 @@ loadMenu(#wx_ref{type=ThisT,ref=ThisRef},Name) wxe_util:call(?wxXmlResource_LoadMenu, <>). -%% @spec (This::wxXmlResource(), Name::string()) -> wxMenuBar:wxMenuBar() %% @doc See external documentation. +-spec loadMenuBar(This, Name) -> wxMenuBar:wxMenuBar() when + This::wxXmlResource(), Name::string(). loadMenuBar(#wx_ref{type=ThisT,ref=ThisRef},Name) when is_list(Name) -> ?CLASS(ThisT,wxXmlResource), @@ -234,8 +260,9 @@ loadMenuBar(#wx_ref{type=ThisT,ref=ThisRef},Name) wxe_util:call(?wxXmlResource_LoadMenuBar_1, <>). -%% @spec (This::wxXmlResource(), Parent::wxWindow:wxWindow(), Name::string()) -> wxMenuBar:wxMenuBar() %% @doc See external documentation. +-spec loadMenuBar(This, Parent, Name) -> wxMenuBar:wxMenuBar() when + This::wxXmlResource(), Parent::wxWindow:wxWindow(), Name::string(). loadMenuBar(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Name) when is_list(Name) -> ?CLASS(ThisT,wxXmlResource), @@ -244,8 +271,9 @@ loadMenuBar(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}, wxe_util:call(?wxXmlResource_LoadMenuBar_2, <>). -%% @spec (This::wxXmlResource(), Parent::wxWindow:wxWindow(), Name::string()) -> wxPanel:wxPanel() %% @doc See external documentation. +-spec loadPanel(This, Parent, Name) -> wxPanel:wxPanel() when + This::wxXmlResource(), Parent::wxWindow:wxWindow(), Name::string(). loadPanel(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Name) when is_list(Name) -> ?CLASS(ThisT,wxXmlResource), @@ -254,8 +282,9 @@ loadPanel(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Na wxe_util:call(?wxXmlResource_LoadPanel_2, <>). -%% @spec (This::wxXmlResource(), Panel::wxPanel:wxPanel(), Parent::wxWindow:wxWindow(), Name::string()) -> bool() %% @doc See external documentation. +-spec loadPanel(This, Panel, Parent, Name) -> boolean() when + This::wxXmlResource(), Panel::wxPanel:wxPanel(), Parent::wxWindow:wxWindow(), Name::string(). loadPanel(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PanelT,ref=PanelRef},#wx_ref{type=ParentT,ref=ParentRef},Name) when is_list(Name) -> ?CLASS(ThisT,wxXmlResource), @@ -265,8 +294,9 @@ loadPanel(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PanelT,ref=PanelRef},#wx_ wxe_util:call(?wxXmlResource_LoadPanel_3, <>). -%% @spec (This::wxXmlResource(), Parent::wxWindow:wxWindow(), Name::string()) -> wxToolBar:wxToolBar() %% @doc See external documentation. +-spec loadToolBar(This, Parent, Name) -> wxToolBar:wxToolBar() when + This::wxXmlResource(), Parent::wxWindow:wxWindow(), Name::string(). loadToolBar(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Name) when is_list(Name) -> ?CLASS(ThisT,wxXmlResource), @@ -275,23 +305,26 @@ loadToolBar(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}, wxe_util:call(?wxXmlResource_LoadToolBar, <>). -%% @spec (Res::wxXmlResource()) -> wxXmlResource() %% @doc See external documentation. +-spec set(Res) -> wxXmlResource() when + Res::wxXmlResource(). set(#wx_ref{type=ResT,ref=ResRef}) -> ?CLASS(ResT,wxXmlResource), wxe_util:call(?wxXmlResource_Set, <>). -%% @spec (This::wxXmlResource(), Flags::integer()) -> ok %% @doc See external documentation. +-spec setFlags(This, Flags) -> ok when + This::wxXmlResource(), Flags::integer(). setFlags(#wx_ref{type=ThisT,ref=ThisRef},Flags) when is_integer(Flags) -> ?CLASS(ThisT,wxXmlResource), wxe_util:cast(?wxXmlResource_SetFlags, <>). -%% @spec (This::wxXmlResource(), Filename::string()) -> bool() %% @doc See external documentation. +-spec unload(This, Filename) -> boolean() when + This::wxXmlResource(), Filename::string(). unload(#wx_ref{type=ThisT,ref=ThisRef},Filename) when is_list(Filename) -> ?CLASS(ThisT,wxXmlResource), @@ -318,8 +351,8 @@ xrcctrl(Window = #wx_ref{}, Name, Type) when is_list(Name), is_atom(Type) -> Res = wxWindow:findWindow(Window,ID), wx:typeCast(Res, Type). -%% @spec (This::wxXmlResource()) -> ok %% @doc Destroys this object, do not use object again +-spec destroy(This::wxXmlResource) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxXmlResource), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wx_misc.erl b/lib/wx/src/gen/wx_misc.erl index 3382d898e4..81dd16c0c4 100644 --- a/lib/wx/src/gen/wx_misc.erl +++ b/lib/wx/src/gen/wx_misc.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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,42 +30,44 @@ launchDefaultBrowser/2,newId/0,registerId/1,setDetectableAutoRepeat/1, shell/0,shell/1,shutdown/1]). -%% @spec (Key::WxKeyCode) -> bool() -%% WxKeyCode = integer() %% @doc See external documentation. -%%
WxKeyCode is one of ?WXK_BACK | ?WXK_TAB | ?WXK_RETURN | ?WXK_ESCAPE | ?WXK_SPACE | ?WXK_DELETE | ?WXK_START | ?WXK_LBUTTON | ?WXK_RBUTTON | ?WXK_CANCEL | ?WXK_MBUTTON | ?WXK_CLEAR | ?WXK_SHIFT | ?WXK_ALT | ?WXK_CONTROL | ?WXK_MENU | ?WXK_PAUSE | ?WXK_CAPITAL | ?WXK_END | ?WXK_HOME | ?WXK_LEFT | ?WXK_UP | ?WXK_RIGHT | ?WXK_DOWN | ?WXK_SELECT | ?WXK_PRINT | ?WXK_EXECUTE | ?WXK_SNAPSHOT | ?WXK_INSERT | ?WXK_HELP | ?WXK_NUMPAD0 | ?WXK_NUMPAD1 | ?WXK_NUMPAD2 | ?WXK_NUMPAD3 | ?WXK_NUMPAD4 | ?WXK_NUMPAD5 | ?WXK_NUMPAD6 | ?WXK_NUMPAD7 | ?WXK_NUMPAD8 | ?WXK_NUMPAD9 | ?WXK_MULTIPLY | ?WXK_ADD | ?WXK_SEPARATOR | ?WXK_SUBTRACT | ?WXK_DECIMAL | ?WXK_DIVIDE | ?WXK_F1 | ?WXK_F2 | ?WXK_F3 | ?WXK_F4 | ?WXK_F5 | ?WXK_F6 | ?WXK_F7 | ?WXK_F8 | ?WXK_F9 | ?WXK_F10 | ?WXK_F11 | ?WXK_F12 | ?WXK_F13 | ?WXK_F14 | ?WXK_F15 | ?WXK_F16 | ?WXK_F17 | ?WXK_F18 | ?WXK_F19 | ?WXK_F20 | ?WXK_F21 | ?WXK_F22 | ?WXK_F23 | ?WXK_F24 | ?WXK_NUMLOCK | ?WXK_SCROLL | ?WXK_PAGEUP | ?WXK_PAGEDOWN | ?WXK_NUMPAD_SPACE | ?WXK_NUMPAD_TAB | ?WXK_NUMPAD_ENTER | ?WXK_NUMPAD_F1 | ?WXK_NUMPAD_F2 | ?WXK_NUMPAD_F3 | ?WXK_NUMPAD_F4 | ?WXK_NUMPAD_HOME | ?WXK_NUMPAD_LEFT | ?WXK_NUMPAD_UP | ?WXK_NUMPAD_RIGHT | ?WXK_NUMPAD_DOWN | ?WXK_NUMPAD_PAGEUP | ?WXK_NUMPAD_PAGEDOWN | ?WXK_NUMPAD_END | ?WXK_NUMPAD_BEGIN | ?WXK_NUMPAD_INSERT | ?WXK_NUMPAD_DELETE | ?WXK_NUMPAD_EQUAL | ?WXK_NUMPAD_MULTIPLY | ?WXK_NUMPAD_ADD | ?WXK_NUMPAD_SEPARATOR | ?WXK_NUMPAD_SUBTRACT | ?WXK_NUMPAD_DECIMAL | ?WXK_NUMPAD_DIVIDE | ?WXK_WINDOWS_LEFT | ?WXK_WINDOWS_RIGHT | ?WXK_WINDOWS_MENU | ?WXK_COMMAND | ?WXK_SPECIAL1 | ?WXK_SPECIAL2 | ?WXK_SPECIAL3 | ?WXK_SPECIAL4 | ?WXK_SPECIAL5 | ?WXK_SPECIAL6 | ?WXK_SPECIAL7 | ?WXK_SPECIAL8 | ?WXK_SPECIAL9 | ?WXK_SPECIAL10 | ?WXK_SPECIAL11 | ?WXK_SPECIAL12 | ?WXK_SPECIAL13 | ?WXK_SPECIAL14 | ?WXK_SPECIAL15 | ?WXK_SPECIAL16 | ?WXK_SPECIAL17 | ?WXK_SPECIAL18 | ?WXK_SPECIAL19 | ?WXK_SPECIAL20 +%%
Key = ?WXK_BACK | ?WXK_TAB | ?WXK_RETURN | ?WXK_ESCAPE | ?WXK_SPACE | ?WXK_DELETE | ?WXK_START | ?WXK_LBUTTON | ?WXK_RBUTTON | ?WXK_CANCEL | ?WXK_MBUTTON | ?WXK_CLEAR | ?WXK_SHIFT | ?WXK_ALT | ?WXK_CONTROL | ?WXK_MENU | ?WXK_PAUSE | ?WXK_CAPITAL | ?WXK_END | ?WXK_HOME | ?WXK_LEFT | ?WXK_UP | ?WXK_RIGHT | ?WXK_DOWN | ?WXK_SELECT | ?WXK_PRINT | ?WXK_EXECUTE | ?WXK_SNAPSHOT | ?WXK_INSERT | ?WXK_HELP | ?WXK_NUMPAD0 | ?WXK_NUMPAD1 | ?WXK_NUMPAD2 | ?WXK_NUMPAD3 | ?WXK_NUMPAD4 | ?WXK_NUMPAD5 | ?WXK_NUMPAD6 | ?WXK_NUMPAD7 | ?WXK_NUMPAD8 | ?WXK_NUMPAD9 | ?WXK_MULTIPLY | ?WXK_ADD | ?WXK_SEPARATOR | ?WXK_SUBTRACT | ?WXK_DECIMAL | ?WXK_DIVIDE | ?WXK_F1 | ?WXK_F2 | ?WXK_F3 | ?WXK_F4 | ?WXK_F5 | ?WXK_F6 | ?WXK_F7 | ?WXK_F8 | ?WXK_F9 | ?WXK_F10 | ?WXK_F11 | ?WXK_F12 | ?WXK_F13 | ?WXK_F14 | ?WXK_F15 | ?WXK_F16 | ?WXK_F17 | ?WXK_F18 | ?WXK_F19 | ?WXK_F20 | ?WXK_F21 | ?WXK_F22 | ?WXK_F23 | ?WXK_F24 | ?WXK_NUMLOCK | ?WXK_SCROLL | ?WXK_PAGEUP | ?WXK_PAGEDOWN | ?WXK_NUMPAD_SPACE | ?WXK_NUMPAD_TAB | ?WXK_NUMPAD_ENTER | ?WXK_NUMPAD_F1 | ?WXK_NUMPAD_F2 | ?WXK_NUMPAD_F3 | ?WXK_NUMPAD_F4 | ?WXK_NUMPAD_HOME | ?WXK_NUMPAD_LEFT | ?WXK_NUMPAD_UP | ?WXK_NUMPAD_RIGHT | ?WXK_NUMPAD_DOWN | ?WXK_NUMPAD_PAGEUP | ?WXK_NUMPAD_PAGEDOWN | ?WXK_NUMPAD_END | ?WXK_NUMPAD_BEGIN | ?WXK_NUMPAD_INSERT | ?WXK_NUMPAD_DELETE | ?WXK_NUMPAD_EQUAL | ?WXK_NUMPAD_MULTIPLY | ?WXK_NUMPAD_ADD | ?WXK_NUMPAD_SEPARATOR | ?WXK_NUMPAD_SUBTRACT | ?WXK_NUMPAD_DECIMAL | ?WXK_NUMPAD_DIVIDE | ?WXK_WINDOWS_LEFT | ?WXK_WINDOWS_RIGHT | ?WXK_WINDOWS_MENU | ?WXK_COMMAND | ?WXK_SPECIAL1 | ?WXK_SPECIAL2 | ?WXK_SPECIAL3 | ?WXK_SPECIAL4 | ?WXK_SPECIAL5 | ?WXK_SPECIAL6 | ?WXK_SPECIAL7 | ?WXK_SPECIAL8 | ?WXK_SPECIAL9 | ?WXK_SPECIAL10 | ?WXK_SPECIAL11 | ?WXK_SPECIAL12 | ?WXK_SPECIAL13 | ?WXK_SPECIAL14 | ?WXK_SPECIAL15 | ?WXK_SPECIAL16 | ?WXK_SPECIAL17 | ?WXK_SPECIAL18 | ?WXK_SPECIAL19 | ?WXK_SPECIAL20 +-spec getKeyState(Key) -> boolean() when + Key::wx:wx_enum(). getKeyState(Key) when is_integer(Key) -> wxe_util:call(?utils_wxGetKeyState, <>). -%% @spec () -> {X::integer(), Y::integer()} %% @doc See external documentation. +-spec getMousePosition() -> {X::integer(), Y::integer()}. getMousePosition() -> wxe_util:call(?utils_wxGetMousePosition, <<>>). -%% @spec () -> wx:wxMouseState() %% @doc See external documentation. +-spec getMouseState() -> wx:wx_wxMouseState(). getMouseState() -> wxe_util:call(?utils_wxGetMouseState, <<>>). -%% @spec (Flag::bool()) -> bool() %% @doc See external documentation. +-spec setDetectableAutoRepeat(Flag) -> boolean() when + Flag::boolean(). setDetectableAutoRepeat(Flag) when is_boolean(Flag) -> wxe_util:call(?utils_wxSetDetectableAutoRepeat, <<(wxe_util:from_bool(Flag)):32/?UI>>). -%% @spec () -> ok %% @doc See external documentation. +-spec bell() -> ok. bell() -> wxe_util:cast(?utils_wxBell, <<>>). -%% @spec (Frame::wxFrame:wxFrame(), MenuString::string(), ItemString::string()) -> integer() %% @doc See external documentation. +-spec findMenuItemId(Frame, MenuString, ItemString) -> integer() when + Frame::wxFrame:wxFrame(), MenuString::string(), ItemString::string(). findMenuItemId(#wx_ref{type=FrameT,ref=FrameRef},MenuString,ItemString) when is_list(MenuString),is_list(ItemString) -> ?CLASS(FrameT,wxFrame), @@ -74,28 +76,31 @@ findMenuItemId(#wx_ref{type=FrameT,ref=FrameRef},MenuString,ItemString) wxe_util:call(?utils_wxFindMenuItemId, <>). -%% @spec (Pt::{X::integer(), Y::integer()}) -> wxWindow:wxWindow() %% @doc See external documentation. +-spec genericFindWindowAtPoint(Pt) -> wxWindow:wxWindow() when + Pt::{X::integer(), Y::integer()}. genericFindWindowAtPoint({PtX,PtY}) when is_integer(PtX),is_integer(PtY) -> wxe_util:call(?utils_wxGenericFindWindowAtPoint, <>). -%% @spec (Pt::{X::integer(), Y::integer()}) -> wxWindow:wxWindow() %% @doc See external documentation. +-spec findWindowAtPoint(Pt) -> wxWindow:wxWindow() when + Pt::{X::integer(), Y::integer()}. findWindowAtPoint({PtX,PtY}) when is_integer(PtX),is_integer(PtY) -> wxe_util:call(?utils_wxFindWindowAtPoint, <>). -%% @spec () -> ok %% @equiv beginBusyCursor([]) +-spec beginBusyCursor() -> ok. + beginBusyCursor() -> beginBusyCursor([]). -%% @spec ([Option]) -> ok -%% Option = {cursor, wxCursor:wxCursor()} %% @doc See external documentation. +-spec beginBusyCursor([Option]) -> ok when + Option :: {cursor, wxCursor:wxCursor()}. beginBusyCursor(Options) when is_list(Options) -> MOpts = fun({cursor, #wx_ref{type=CursorT,ref=CursorRef}}, Acc) -> ?CLASS(CursorT,wxCursor),[<<1:32/?UI,CursorRef:32/?UI>>|Acc]; @@ -104,35 +109,36 @@ beginBusyCursor(Options) wxe_util:cast(?utils_wxBeginBusyCursor, <>). -%% @spec () -> ok %% @doc See external documentation. +-spec endBusyCursor() -> ok. endBusyCursor() -> wxe_util:cast(?utils_wxEndBusyCursor, <<>>). -%% @spec () -> bool() %% @doc See external documentation. +-spec isBusy() -> boolean(). isBusy() -> wxe_util:call(?utils_wxIsBusy, <<>>). -%% @spec (WFlags::WxShutdownFlags) -> bool() -%% WxShutdownFlags = integer() %% @doc See external documentation. -%%
WxShutdownFlags is one of ?wxSHUTDOWN_POWEROFF | ?wxSHUTDOWN_REBOOT +%%
WFlags = ?wxSHUTDOWN_POWEROFF | ?wxSHUTDOWN_REBOOT +-spec shutdown(WFlags) -> boolean() when + WFlags::wx:wx_enum(). shutdown(WFlags) when is_integer(WFlags) -> wxe_util:call(?utils_wxShutdown, <>). -%% @spec () -> bool() %% @equiv shell([]) +-spec shell() -> boolean(). + shell() -> shell([]). -%% @spec ([Option]) -> bool() -%% Option = {command, string()} %% @doc See external documentation. +-spec shell([Option]) -> boolean() when + Option :: {command, string()}. shell(Options) when is_list(Options) -> MOpts = fun({command, Command}, Acc) -> Command_UC = unicode:characters_to_binary([Command,0]),[<<1:32/?UI,(byte_size(Command_UC)):32/?UI,(Command_UC)/binary, 0:(((8- ((0+byte_size(Command_UC)) band 16#7)) band 16#7))/unit:8>>|Acc]; @@ -141,15 +147,18 @@ shell(Options) wxe_util:call(?utils_wxShell, <>). -%% @spec (Url::string()) -> bool() %% @equiv launchDefaultBrowser(Url, []) +-spec launchDefaultBrowser(Url) -> boolean() when + Url::string(). + launchDefaultBrowser(Url) when is_list(Url) -> launchDefaultBrowser(Url, []). -%% @spec (Url::string(), [Option]) -> bool() -%% Option = {flags, integer()} %% @doc See external documentation. +-spec launchDefaultBrowser(Url, [Option]) -> boolean() when + Url::string(), + Option :: {flags, integer()}. launchDefaultBrowser(Url, Options) when is_list(Url),is_list(Options) -> Url_UC = unicode:characters_to_binary([Url,0]), @@ -159,57 +168,58 @@ launchDefaultBrowser(Url, Options) wxe_util:call(?utils_wxLaunchDefaultBrowser, <<(byte_size(Url_UC)):32/?UI,(Url_UC)/binary, 0:(((8- ((4+byte_size(Url_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>). -%% @spec () -> string() %% @doc See external documentation. +-spec getEmailAddress() -> string(). getEmailAddress() -> wxe_util:call(?utils_wxGetEmailAddress, <<>>). -%% @spec () -> string() %% @doc See external documentation. +-spec getUserId() -> string(). getUserId() -> wxe_util:call(?utils_wxGetUserId, <<>>). -%% @spec () -> string() %% @doc See external documentation. +-spec getHomeDir() -> string(). getHomeDir() -> wxe_util:call(?utils_wxGetHomeDir, <<>>). -%% @spec () -> integer() %% @doc See external documentation. +-spec newId() -> integer(). newId() -> wxe_util:call(?utils_wxNewId, <<>>). -%% @spec (Id::integer()) -> ok %% @doc See external documentation. +-spec registerId(Id) -> ok when + Id::integer(). registerId(Id) when is_integer(Id) -> wxe_util:cast(?utils_wxRegisterId, <>). -%% @spec () -> integer() %% @doc See external documentation. +-spec getCurrentId() -> integer(). getCurrentId() -> wxe_util:call(?utils_wxGetCurrentId, <<>>). -%% @spec () -> string() %% @doc See external documentation. +-spec getOsDescription() -> string(). getOsDescription() -> wxe_util:call(?utils_wxGetOsDescription, <<>>). -%% @spec () -> bool() %% @doc See external documentation. +-spec isPlatformLittleEndian() -> boolean(). isPlatformLittleEndian() -> wxe_util:call(?utils_wxIsPlatformLittleEndian, <<>>). -%% @spec () -> bool() %% @doc See external documentation. +-spec isPlatform64Bit() -> boolean(). isPlatform64Bit() -> wxe_util:call(?utils_wxIsPlatform64Bit, <<>>). -- cgit v1.2.3 From 953ee650a80d863a85c99e82ef69501496db0ad6 Mon Sep 17 00:00:00 2001 From: Dan Gudmundsson Date: Thu, 16 Feb 2012 13:55:08 +0100 Subject: [wx] Fix wxGraphicContext bugs * Lines had wrong arguments * Change float() to number in guards, when packing arguments integers are converted floats to automaticly anyway. --- lib/wx/src/gen/wxAuiManager.erl | 6 +- lib/wx/src/gen/wxDC.erl | 22 +- lib/wx/src/gen/wxGraphicsContext.erl | 145 +- lib/wx/src/gen/wxGraphicsMatrix.erl | 30 +- lib/wx/src/gen/wxGraphicsObject.erl | 8 +- lib/wx/src/gen/wxGraphicsPath.erl | 62 +- lib/wx/src/gen/wxGraphicsRenderer.erl | 20 +- lib/wx/src/gen/wxImage.erl | 18 +- lib/wx/src/gen/wxSizerItem.erl | 6 +- lib/wx/src/gen/wxSplitterWindow.erl | 6 +- lib/wx/src/gen/wxe_debug.hrl | 5309 +++++++++++++++++---------------- lib/wx/src/gen/wxe_funcs.hrl | 5309 +++++++++++++++++---------------- 12 files changed, 5474 insertions(+), 5467 deletions(-) (limited to 'lib/wx/src/gen') diff --git a/lib/wx/src/gen/wxAuiManager.erl b/lib/wx/src/gen/wxAuiManager.erl index 456c435a8c..4d2d2bdc78 100644 --- a/lib/wx/src/gen/wxAuiManager.erl +++ b/lib/wx/src/gen/wxAuiManager.erl @@ -131,7 +131,7 @@ getArtProvider(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getDockSizeConstraint(This) -> {Width_pct::float(), Height_pct::float()} when +-spec getDockSizeConstraint(This) -> {Width_pct::number(), Height_pct::number()} when This::wxAuiManager(). getDockSizeConstraint(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiManager), @@ -271,9 +271,9 @@ setArtProvider(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=Art_providerT,ref=Ar %% @doc See external documentation. -spec setDockSizeConstraint(This, Width_pct, Height_pct) -> ok when - This::wxAuiManager(), Width_pct::float(), Height_pct::float(). + This::wxAuiManager(), Width_pct::number(), Height_pct::number(). setDockSizeConstraint(#wx_ref{type=ThisT,ref=ThisRef},Width_pct,Height_pct) - when is_float(Width_pct),is_float(Height_pct) -> + when is_number(Width_pct),is_number(Height_pct) -> ?CLASS(ThisT,wxAuiManager), wxe_util:cast(?wxAuiManager_SetDockSizeConstraint, <>). diff --git a/lib/wx/src/gen/wxDC.erl b/lib/wx/src/gen/wxDC.erl index 25b452ed61..1ba067b7fb 100644 --- a/lib/wx/src/gen/wxDC.erl +++ b/lib/wx/src/gen/wxDC.erl @@ -227,9 +227,9 @@ drawEllipse(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY},{SzW,SzH}) %% @doc See external documentation. -spec drawEllipticArc(This, Pt, Sz, Sa, Ea) -> ok when - This::wxDC(), Pt::{X::integer(), Y::integer()}, Sz::{W::integer(), H::integer()}, Sa::float(), Ea::float(). + This::wxDC(), Pt::{X::integer(), Y::integer()}, Sz::{W::integer(), H::integer()}, Sa::number(), Ea::number(). drawEllipticArc(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY},{SzW,SzH},Sa,Ea) - when is_integer(PtX),is_integer(PtY),is_integer(SzW),is_integer(SzH),is_float(Sa),is_float(Ea) -> + when is_integer(PtX),is_integer(PtY),is_integer(SzW),is_integer(SzH),is_number(Sa),is_number(Ea) -> ?CLASS(ThisT,wxDC), wxe_util:cast(?wxDC_DrawEllipticArc, <>). @@ -356,9 +356,9 @@ drawRectangle(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY},{SzW,SzH}) %% @doc See external documentation. -spec drawRotatedText(This, Text, Pt, Angle) -> ok when - This::wxDC(), Text::string(), Pt::{X::integer(), Y::integer()}, Angle::float(). + This::wxDC(), Text::string(), Pt::{X::integer(), Y::integer()}, Angle::number(). drawRotatedText(#wx_ref{type=ThisT,ref=ThisRef},Text,{PtX,PtY},Angle) - when is_list(Text),is_integer(PtX),is_integer(PtY),is_float(Angle) -> + when is_list(Text),is_integer(PtX),is_integer(PtY),is_number(Angle) -> ?CLASS(ThisT,wxDC), Text_UC = unicode:characters_to_binary([Text,0]), wxe_util:cast(?wxDC_DrawRotatedText, @@ -366,18 +366,18 @@ drawRotatedText(#wx_ref{type=ThisT,ref=ThisRef},Text,{PtX,PtY},Angle) %% @doc See external documentation. -spec drawRoundedRectangle(This, R, Radius) -> ok when - This::wxDC(), R::{X::integer(), Y::integer(), W::integer(), H::integer()}, Radius::float(). + This::wxDC(), R::{X::integer(), Y::integer(), W::integer(), H::integer()}, Radius::number(). drawRoundedRectangle(#wx_ref{type=ThisT,ref=ThisRef},{RX,RY,RW,RH},Radius) - when is_integer(RX),is_integer(RY),is_integer(RW),is_integer(RH),is_float(Radius) -> + when is_integer(RX),is_integer(RY),is_integer(RW),is_integer(RH),is_number(Radius) -> ?CLASS(ThisT,wxDC), wxe_util:cast(?wxDC_DrawRoundedRectangle_2, <>). %% @doc See external documentation. -spec drawRoundedRectangle(This, Pt, Sz, Radius) -> ok when - This::wxDC(), Pt::{X::integer(), Y::integer()}, Sz::{W::integer(), H::integer()}, Radius::float(). + This::wxDC(), Pt::{X::integer(), Y::integer()}, Sz::{W::integer(), H::integer()}, Radius::number(). drawRoundedRectangle(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY},{SzW,SzH},Radius) - when is_integer(PtX),is_integer(PtY),is_integer(SzW),is_integer(SzH),is_float(Radius) -> + when is_integer(PtX),is_integer(PtY),is_integer(SzW),is_integer(SzH),is_number(Radius) -> ?CLASS(ThisT,wxDC), wxe_util:cast(?wxDC_DrawRoundedRectangle_3, <>). @@ -629,7 +629,7 @@ getTextForeground(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getUserScale(This) -> {X::float(), Y::float()} when +-spec getUserScale(This) -> {X::number(), Y::number()} when This::wxDC(). getUserScale(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxDC), @@ -905,9 +905,9 @@ setTextForeground(#wx_ref{type=ThisT,ref=ThisRef},Colour) %% @doc See external documentation. -spec setUserScale(This, X, Y) -> ok when - This::wxDC(), X::float(), Y::float(). + This::wxDC(), X::number(), Y::number(). setUserScale(#wx_ref{type=ThisT,ref=ThisRef},X,Y) - when is_float(X),is_float(Y) -> + when is_number(X),is_number(Y) -> ?CLASS(ThisT,wxDC), wxe_util:cast(?wxDC_SetUserScale, <>). diff --git a/lib/wx/src/gen/wxGraphicsContext.erl b/lib/wx/src/gen/wxGraphicsContext.erl index ddbfc92157..e786f8e368 100644 --- a/lib/wx/src/gen/wxGraphicsContext.erl +++ b/lib/wx/src/gen/wxGraphicsContext.erl @@ -29,13 +29,13 @@ -include("wxe.hrl"). -export([clip/2,clip/5,concatTransform/2,create/0,create/1,createBrush/2,createFont/2, createFont/3,createLinearGradientBrush/7,createMatrix/1,createMatrix/2, - createPath/1,createPen/2,createRadialGradientBrush/8,drawBitmap/6, - drawEllipse/5,drawIcon/6,drawLines/3,drawLines/4,drawPath/2,drawPath/3, + createPath/1,createPen/2,createRadialGradientBrush/8,destroy/1,drawBitmap/6, + drawEllipse/5,drawIcon/6,drawLines/2,drawLines/3,drawPath/2,drawPath/3, drawRectangle/5,drawRoundedRectangle/6,drawText/4,drawText/5,drawText/6, fillPath/2,fillPath/3,getNativeContext/1,getPartialTextExtents/3, getTextExtent/2,getTransform/1,resetClip/1,rotate/2,scale/3,setBrush/2, - setFont/2,setFont/3,setPen/2,setTransform/2,strokeLine/5,strokeLines/3, - strokeLines/4,strokePath/2,translate/3]). + setFont/2,setFont/3,setPen/2,setTransform/2,strokeLine/5,strokeLines/2, + strokePath/2,translate/3]). %% inherited exports -export([getRenderer/1,isNull/1,parent_class/1]). @@ -85,18 +85,18 @@ createBrush(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BrushT,ref=BrushRef}) - %% @doc See external documentation. -spec createRadialGradientBrush(This, Xo, Yo, Xc, Yc, Radius, OColor, CColor) -> wxGraphicsBrush:wxGraphicsBrush() when - This::wxGraphicsContext(), Xo::float(), Yo::float(), Xc::float(), Yc::float(), Radius::float(), OColor::wx:wx_colour(), CColor::wx:wx_colour(). + This::wxGraphicsContext(), Xo::number(), Yo::number(), Xc::number(), Yc::number(), Radius::number(), OColor::wx:wx_colour(), CColor::wx:wx_colour(). createRadialGradientBrush(#wx_ref{type=ThisT,ref=ThisRef},Xo,Yo,Xc,Yc,Radius,OColor,CColor) - when is_float(Xo),is_float(Yo),is_float(Xc),is_float(Yc),is_float(Radius),tuple_size(OColor) =:= 3; tuple_size(OColor) =:= 4,tuple_size(CColor) =:= 3; tuple_size(CColor) =:= 4 -> + when is_number(Xo),is_number(Yo),is_number(Xc),is_number(Yc),is_number(Radius),tuple_size(OColor) =:= 3; tuple_size(OColor) =:= 4,tuple_size(CColor) =:= 3; tuple_size(CColor) =:= 4 -> ?CLASS(ThisT,wxGraphicsContext), wxe_util:call(?wxGraphicsContext_CreateRadialGradientBrush, <>). %% @doc See external documentation. -spec createLinearGradientBrush(This, X1, Y1, X2, Y2, C1, C2) -> wxGraphicsBrush:wxGraphicsBrush() when - This::wxGraphicsContext(), X1::float(), Y1::float(), X2::float(), Y2::float(), C1::wx:wx_colour(), C2::wx:wx_colour(). + This::wxGraphicsContext(), X1::number(), Y1::number(), X2::number(), Y2::number(), C1::wx:wx_colour(), C2::wx:wx_colour(). createLinearGradientBrush(#wx_ref{type=ThisT,ref=ThisRef},X1,Y1,X2,Y2,C1,C2) - when is_float(X1),is_float(Y1),is_float(X2),is_float(Y2),tuple_size(C1) =:= 3; tuple_size(C1) =:= 4,tuple_size(C2) =:= 3; tuple_size(C2) =:= 4 -> + when is_number(X1),is_number(Y1),is_number(X2),is_number(Y2),tuple_size(C1) =:= 3; tuple_size(C1) =:= 4,tuple_size(C2) =:= 3; tuple_size(C2) =:= 4 -> ?CLASS(ThisT,wxGraphicsContext), wxe_util:call(?wxGraphicsContext_CreateLinearGradientBrush, <>). @@ -134,12 +134,12 @@ createMatrix(This) %% @doc See external documentation. -spec createMatrix(This, [Option]) -> wxGraphicsMatrix:wxGraphicsMatrix() when This::wxGraphicsContext(), - Option :: {a, float()} - | {b, float()} - | {c, float()} - | {d, float()} - | {tx, float()} - | {ty, float()}. + Option :: {a, number()} + | {b, number()} + | {c, number()} + | {d, number()} + | {tx, number()} + | {ty, number()}. createMatrix(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxGraphicsContext), @@ -173,9 +173,9 @@ clip(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=RegionT,ref=RegionRef}) -> %% @doc See external documentation. -spec clip(This, X, Y, W, H) -> ok when - This::wxGraphicsContext(), X::float(), Y::float(), W::float(), H::float(). + This::wxGraphicsContext(), X::number(), Y::number(), W::number(), H::number(). clip(#wx_ref{type=ThisT,ref=ThisRef},X,Y,W,H) - when is_float(X),is_float(Y),is_float(W),is_float(H) -> + when is_number(X),is_number(Y),is_number(W),is_number(H) -> ?CLASS(ThisT,wxGraphicsContext), wxe_util:cast(?wxGraphicsContext_Clip_4, <>). @@ -190,9 +190,9 @@ resetClip(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @doc See external documentation. -spec drawBitmap(This, Bmp, X, Y, W, H) -> ok when - This::wxGraphicsContext(), Bmp::wxBitmap:wxBitmap(), X::float(), Y::float(), W::float(), H::float(). + This::wxGraphicsContext(), Bmp::wxBitmap:wxBitmap(), X::number(), Y::number(), W::number(), H::number(). drawBitmap(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BmpT,ref=BmpRef},X,Y,W,H) - when is_float(X),is_float(Y),is_float(W),is_float(H) -> + when is_number(X),is_number(Y),is_number(W),is_number(H) -> ?CLASS(ThisT,wxGraphicsContext), ?CLASS(BmpT,wxBitmap), wxe_util:cast(?wxGraphicsContext_DrawBitmap, @@ -200,43 +200,44 @@ drawBitmap(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BmpT,ref=BmpRef},X,Y,W,H %% @doc See external documentation. -spec drawEllipse(This, X, Y, W, H) -> ok when - This::wxGraphicsContext(), X::float(), Y::float(), W::float(), H::float(). + This::wxGraphicsContext(), X::number(), Y::number(), W::number(), H::number(). drawEllipse(#wx_ref{type=ThisT,ref=ThisRef},X,Y,W,H) - when is_float(X),is_float(Y),is_float(W),is_float(H) -> + when is_number(X),is_number(Y),is_number(W),is_number(H) -> ?CLASS(ThisT,wxGraphicsContext), wxe_util:cast(?wxGraphicsContext_DrawEllipse, <>). %% @doc See external documentation. -spec drawIcon(This, Icon, X, Y, W, H) -> ok when - This::wxGraphicsContext(), Icon::wxIcon:wxIcon(), X::float(), Y::float(), W::float(), H::float(). + This::wxGraphicsContext(), Icon::wxIcon:wxIcon(), X::number(), Y::number(), W::number(), H::number(). drawIcon(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=IconT,ref=IconRef},X,Y,W,H) - when is_float(X),is_float(Y),is_float(W),is_float(H) -> + when is_number(X),is_number(Y),is_number(W),is_number(H) -> ?CLASS(ThisT,wxGraphicsContext), ?CLASS(IconT,wxIcon), wxe_util:cast(?wxGraphicsContext_DrawIcon, <>). -%% @equiv drawLines(This,N,Points, []) --spec drawLines(This, N, Points) -> ok when - This::wxGraphicsContext(), N::integer(), Points::{X::float(), Y::float()}. +%% @equiv drawLines(This,Points, []) +-spec drawLines(This, Points) -> ok when + This::wxGraphicsContext(), Points::[{X::float(), Y::float()}]. -drawLines(This,N,Points={PointsX,PointsY}) - when is_record(This, wx_ref),is_integer(N),is_number(PointsX),is_number(PointsY) -> - drawLines(This,N,Points, []). +drawLines(This,Points) + when is_record(This, wx_ref),is_list(Points) -> + drawLines(This,Points, []). %% @doc See external documentation. --spec drawLines(This, N, Points, [Option]) -> ok when - This::wxGraphicsContext(), N::integer(), Points::{X::float(), Y::float()}, +-spec drawLines(This, Points, [Option]) -> ok when + This::wxGraphicsContext(), Points::[{X::float(), Y::float()}], Option :: {fillStyle, integer()}. -drawLines(#wx_ref{type=ThisT,ref=ThisRef},N,{PointsX,PointsY}, Options) - when is_integer(N),is_number(PointsX),is_number(PointsY),is_list(Options) -> +drawLines(#wx_ref{type=ThisT,ref=ThisRef},Points, Options) + when is_list(Points),is_list(Options) -> ?CLASS(ThisT,wxGraphicsContext), MOpts = fun({fillStyle, FillStyle}, Acc) -> [<<1:32/?UI,FillStyle:32/?UI>>|Acc]; (BadOpt, _) -> erlang:error({badoption, BadOpt}) end, BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)), wxe_util:cast(?wxGraphicsContext_DrawLines, - <>). + <> || {X,Y} <- Points>>)/binary, BinOpt/binary>>). %% @equiv drawPath(This,Path, []) -spec drawPath(This, Path) -> ok when @@ -262,27 +263,27 @@ drawPath(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PathT,ref=PathRef}, Option %% @doc See external documentation. -spec drawRectangle(This, X, Y, W, H) -> ok when - This::wxGraphicsContext(), X::float(), Y::float(), W::float(), H::float(). + This::wxGraphicsContext(), X::number(), Y::number(), W::number(), H::number(). drawRectangle(#wx_ref{type=ThisT,ref=ThisRef},X,Y,W,H) - when is_float(X),is_float(Y),is_float(W),is_float(H) -> + when is_number(X),is_number(Y),is_number(W),is_number(H) -> ?CLASS(ThisT,wxGraphicsContext), wxe_util:cast(?wxGraphicsContext_DrawRectangle, <>). %% @doc See external documentation. -spec drawRoundedRectangle(This, X, Y, W, H, Radius) -> ok when - This::wxGraphicsContext(), X::float(), Y::float(), W::float(), H::float(), Radius::float(). + This::wxGraphicsContext(), X::number(), Y::number(), W::number(), H::number(), Radius::number(). drawRoundedRectangle(#wx_ref{type=ThisT,ref=ThisRef},X,Y,W,H,Radius) - when is_float(X),is_float(Y),is_float(W),is_float(H),is_float(Radius) -> + when is_number(X),is_number(Y),is_number(W),is_number(H),is_number(Radius) -> ?CLASS(ThisT,wxGraphicsContext), wxe_util:cast(?wxGraphicsContext_DrawRoundedRectangle, <>). %% @doc See external documentation. -spec drawText(This, Str, X, Y) -> ok when - This::wxGraphicsContext(), Str::string(), X::float(), Y::float(). + This::wxGraphicsContext(), Str::string(), X::number(), Y::number(). drawText(#wx_ref{type=ThisT,ref=ThisRef},Str,X,Y) - when is_list(Str),is_float(X),is_float(Y) -> + when is_list(Str),is_number(X),is_number(Y) -> ?CLASS(ThisT,wxGraphicsContext), Str_UC = unicode:characters_to_binary([Str,0]), wxe_util:cast(?wxGraphicsContext_DrawText_3, @@ -290,17 +291,17 @@ drawText(#wx_ref{type=ThisT,ref=ThisRef},Str,X,Y) %% @doc See external documentation. -spec drawText(This, Str, X, Y, Angle) -> ok when - This::wxGraphicsContext(), Str::string(), X::float(), Y::float(), Angle::float(); + This::wxGraphicsContext(), Str::string(), X::number(), Y::number(), Angle::number(); (This, Str, X, Y, BackgroundBrush) -> ok when - This::wxGraphicsContext(), Str::string(), X::float(), Y::float(), BackgroundBrush::wxGraphicsBrush:wxGraphicsBrush(). + This::wxGraphicsContext(), Str::string(), X::number(), Y::number(), BackgroundBrush::wxGraphicsBrush:wxGraphicsBrush(). drawText(#wx_ref{type=ThisT,ref=ThisRef},Str,X,Y,Angle) - when is_list(Str),is_float(X),is_float(Y),is_float(Angle) -> + when is_list(Str),is_number(X),is_number(Y),is_number(Angle) -> ?CLASS(ThisT,wxGraphicsContext), Str_UC = unicode:characters_to_binary([Str,0]), wxe_util:cast(?wxGraphicsContext_DrawText_4_0, <>); drawText(#wx_ref{type=ThisT,ref=ThisRef},Str,X,Y,#wx_ref{type=BackgroundBrushT,ref=BackgroundBrushRef}) - when is_list(Str),is_float(X),is_float(Y) -> + when is_list(Str),is_number(X),is_number(Y) -> ?CLASS(ThisT,wxGraphicsContext), Str_UC = unicode:characters_to_binary([Str,0]), ?CLASS(BackgroundBrushT,wxGraphicsBrush), @@ -309,9 +310,9 @@ drawText(#wx_ref{type=ThisT,ref=ThisRef},Str,X,Y,#wx_ref{type=BackgroundBrushT,r %% @doc See external documentation. -spec drawText(This, Str, X, Y, Angle, BackgroundBrush) -> ok when - This::wxGraphicsContext(), Str::string(), X::float(), Y::float(), Angle::float(), BackgroundBrush::wxGraphicsBrush:wxGraphicsBrush(). + This::wxGraphicsContext(), Str::string(), X::number(), Y::number(), Angle::number(), BackgroundBrush::wxGraphicsBrush:wxGraphicsBrush(). drawText(#wx_ref{type=ThisT,ref=ThisRef},Str,X,Y,Angle,#wx_ref{type=BackgroundBrushT,ref=BackgroundBrushRef}) - when is_list(Str),is_float(X),is_float(Y),is_float(Angle) -> + when is_list(Str),is_number(X),is_number(Y),is_number(Angle) -> ?CLASS(ThisT,wxGraphicsContext), Str_UC = unicode:characters_to_binary([Str,0]), ?CLASS(BackgroundBrushT,wxGraphicsBrush), @@ -359,18 +360,18 @@ getNativeContext(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @doc See external documentation. -spec getPartialTextExtents(This, Text, Widths) -> ok when - This::wxGraphicsContext(), Text::string(), Widths::[float()]. + This::wxGraphicsContext(), Text::string(), Widths::[number()]. getPartialTextExtents(#wx_ref{type=ThisT,ref=ThisRef},Text,Widths) when is_list(Text),is_list(Widths) -> ?CLASS(ThisT,wxGraphicsContext), Text_UC = unicode:characters_to_binary([Text,0]), wxe_util:cast(?wxGraphicsContext_GetPartialTextExtents, <> || C <- Widths>>)/binary>>). +0:32, (<< <> || C <- Widths>>)/binary>>). %% @doc See external documentation. -spec getTextExtent(This, Text) -> Result when - Result ::{Width::float(), Height::float(), Descent::float(), ExternalLeading::float()}, + Result ::{Width::number(), Height::number(), Descent::number(), ExternalLeading::number()}, This::wxGraphicsContext(), Text::string(). getTextExtent(#wx_ref{type=ThisT,ref=ThisRef},Text) when is_list(Text) -> @@ -381,27 +382,27 @@ getTextExtent(#wx_ref{type=ThisT,ref=ThisRef},Text) %% @doc See external documentation. -spec rotate(This, Angle) -> ok when - This::wxGraphicsContext(), Angle::float(). + This::wxGraphicsContext(), Angle::number(). rotate(#wx_ref{type=ThisT,ref=ThisRef},Angle) - when is_float(Angle) -> + when is_number(Angle) -> ?CLASS(ThisT,wxGraphicsContext), wxe_util:cast(?wxGraphicsContext_Rotate, <>). %% @doc See external documentation. -spec scale(This, XScale, YScale) -> ok when - This::wxGraphicsContext(), XScale::float(), YScale::float(). + This::wxGraphicsContext(), XScale::number(), YScale::number(). scale(#wx_ref{type=ThisT,ref=ThisRef},XScale,YScale) - when is_float(XScale),is_float(YScale) -> + when is_number(XScale),is_number(YScale) -> ?CLASS(ThisT,wxGraphicsContext), wxe_util:cast(?wxGraphicsContext_Scale, <>). %% @doc See external documentation. -spec translate(This, Dx, Dy) -> ok when - This::wxGraphicsContext(), Dx::float(), Dy::float(). + This::wxGraphicsContext(), Dx::number(), Dy::number(). translate(#wx_ref{type=ThisT,ref=ThisRef},Dx,Dy) - when is_float(Dx),is_float(Dy) -> + when is_number(Dx),is_number(Dy) -> ?CLASS(ThisT,wxGraphicsContext), wxe_util:cast(?wxGraphicsContext_Translate, <>). @@ -481,31 +482,29 @@ setPen(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PenT,ref=PenRef}) -> %% @doc See external documentation. -spec strokeLine(This, X1, Y1, X2, Y2) -> ok when - This::wxGraphicsContext(), X1::float(), Y1::float(), X2::float(), Y2::float(). + This::wxGraphicsContext(), X1::number(), Y1::number(), X2::number(), Y2::number(). strokeLine(#wx_ref{type=ThisT,ref=ThisRef},X1,Y1,X2,Y2) - when is_float(X1),is_float(Y1),is_float(X2),is_float(Y2) -> + when is_number(X1),is_number(Y1),is_number(X2),is_number(Y2) -> ?CLASS(ThisT,wxGraphicsContext), wxe_util:cast(?wxGraphicsContext_StrokeLine, <>). %% @doc See external documentation. --spec strokeLines(This, N, Points) -> ok when - This::wxGraphicsContext(), N::integer(), Points::{X::float(), Y::float()}. -strokeLines(#wx_ref{type=ThisT,ref=ThisRef},N,{PointsX,PointsY}) - when is_integer(N),is_number(PointsX),is_number(PointsY) -> - ?CLASS(ThisT,wxGraphicsContext), - wxe_util:cast(?wxGraphicsContext_StrokeLines_2, - <>). - -%% @doc See external documentation. --spec strokeLines(This, N, BeginPoints, EndPoints) -> ok when - This::wxGraphicsContext(), N::integer(), BeginPoints::{X::float(), Y::float()}, EndPoints::{X::float(), Y::float()}. -strokeLines(#wx_ref{type=ThisT,ref=ThisRef},N,{BeginPointsX,BeginPointsY},{EndPointsX,EndPointsY}) - when is_integer(N),is_number(BeginPointsX),is_number(BeginPointsY),is_number(EndPointsX),is_number(EndPointsY) -> - ?CLASS(ThisT,wxGraphicsContext), - wxe_util:cast(?wxGraphicsContext_StrokeLines_3, - <>). - +-spec strokeLines(This, Points) -> ok when + This::wxGraphicsContext(), Points::[{X::float(), Y::float()}]. +strokeLines(#wx_ref{type=ThisT,ref=ThisRef},Points) + when is_list(Points) -> + ?CLASS(ThisT,wxGraphicsContext), + wxe_util:cast(?wxGraphicsContext_StrokeLines, + <> || {X,Y} <- Points>>)/binary>>). + +%% @doc Destroys this object, do not use object again +-spec destroy(This::wxGraphicsContext) -> ok. +destroy(Obj=#wx_ref{type=Type}) -> + ?CLASS(Type,wxGraphicsContext), + wxe_util:destroy(?DESTROY_OBJECT,Obj), + ok. %% From wxGraphicsObject %% @hidden isNull(This) -> wxGraphicsObject:isNull(This). diff --git a/lib/wx/src/gen/wxGraphicsMatrix.erl b/lib/wx/src/gen/wxGraphicsMatrix.erl index 6cf4257530..958dc32894 100644 --- a/lib/wx/src/gen/wxGraphicsMatrix.erl +++ b/lib/wx/src/gen/wxGraphicsMatrix.erl @@ -50,7 +50,7 @@ concat(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=TT,ref=TRef}) -> %% @doc See external documentation. -spec get(This) -> Result when - Result ::{A::float(), B::float(), C::float(), D::float(), Tx::float(), Ty::float()}, + Result ::{A::number(), B::number(), C::number(), D::number(), Tx::number(), Ty::number()}, This::wxGraphicsMatrix(). get(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGraphicsMatrix), @@ -92,27 +92,27 @@ isIdentity(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @doc See external documentation. -spec rotate(This, Angle) -> ok when - This::wxGraphicsMatrix(), Angle::float(). + This::wxGraphicsMatrix(), Angle::number(). rotate(#wx_ref{type=ThisT,ref=ThisRef},Angle) - when is_float(Angle) -> + when is_number(Angle) -> ?CLASS(ThisT,wxGraphicsMatrix), wxe_util:cast(?wxGraphicsMatrix_Rotate, <>). %% @doc See external documentation. -spec scale(This, XScale, YScale) -> ok when - This::wxGraphicsMatrix(), XScale::float(), YScale::float(). + This::wxGraphicsMatrix(), XScale::number(), YScale::number(). scale(#wx_ref{type=ThisT,ref=ThisRef},XScale,YScale) - when is_float(XScale),is_float(YScale) -> + when is_number(XScale),is_number(YScale) -> ?CLASS(ThisT,wxGraphicsMatrix), wxe_util:cast(?wxGraphicsMatrix_Scale, <>). %% @doc See external documentation. -spec translate(This, Dx, Dy) -> ok when - This::wxGraphicsMatrix(), Dx::float(), Dy::float(). + This::wxGraphicsMatrix(), Dx::number(), Dy::number(). translate(#wx_ref{type=ThisT,ref=ThisRef},Dx,Dy) - when is_float(Dx),is_float(Dy) -> + when is_number(Dx),is_number(Dy) -> ?CLASS(ThisT,wxGraphicsMatrix), wxe_util:cast(?wxGraphicsMatrix_Translate, <>). @@ -128,12 +128,12 @@ set(This) %% @doc See external documentation. -spec set(This, [Option]) -> ok when This::wxGraphicsMatrix(), - Option :: {a, float()} - | {b, float()} - | {c, float()} - | {d, float()} - | {tx, float()} - | {ty, float()}. + Option :: {a, number()} + | {b, number()} + | {c, number()} + | {d, number()} + | {tx, number()} + | {ty, number()}. set(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxGraphicsMatrix), @@ -149,7 +149,7 @@ set(#wx_ref{type=ThisT,ref=ThisRef}, Options) <>). %% @doc See external documentation. --spec transformPoint(This) -> {X::float(), Y::float()} when +-spec transformPoint(This) -> {X::number(), Y::number()} when This::wxGraphicsMatrix(). transformPoint(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGraphicsMatrix), @@ -157,7 +157,7 @@ transformPoint(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec transformDistance(This) -> {Dx::float(), Dy::float()} when +-spec transformDistance(This) -> {Dx::number(), Dy::number()} when This::wxGraphicsMatrix(). transformDistance(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGraphicsMatrix), diff --git a/lib/wx/src/gen/wxGraphicsObject.erl b/lib/wx/src/gen/wxGraphicsObject.erl index e2e082ff91..b8b4be1dea 100644 --- a/lib/wx/src/gen/wxGraphicsObject.erl +++ b/lib/wx/src/gen/wxGraphicsObject.erl @@ -24,7 +24,7 @@ -module(wxGraphicsObject). -include("wxe.hrl"). --export([getRenderer/1,isNull/1]). +-export([destroy/1,getRenderer/1,isNull/1]). %% inherited exports -export([parent_class/1]). @@ -50,3 +50,9 @@ isNull(#wx_ref{type=ThisT,ref=ThisRef}) -> wxe_util:call(?wxGraphicsObject_IsNull, <>). +%% @doc Destroys this object, do not use object again +-spec destroy(This::wxGraphicsObject) -> ok. +destroy(Obj=#wx_ref{type=Type}) -> + ?CLASS(Type,wxGraphicsObject), + wxe_util:destroy(?DESTROY_OBJECT,Obj), + ok. diff --git a/lib/wx/src/gen/wxGraphicsPath.erl b/lib/wx/src/gen/wxGraphicsPath.erl index 6e9af755b9..32e9685895 100644 --- a/lib/wx/src/gen/wxGraphicsPath.erl +++ b/lib/wx/src/gen/wxGraphicsPath.erl @@ -49,49 +49,49 @@ moveToPoint(#wx_ref{type=ThisT,ref=ThisRef},{PX,PY}) when is_number(PX),is_number(PY) -> ?CLASS(ThisT,wxGraphicsPath), wxe_util:cast(?wxGraphicsPath_MoveToPoint_1, - <>). + <>). %% @doc See external documentation. -spec moveToPoint(This, X, Y) -> ok when - This::wxGraphicsPath(), X::float(), Y::float(). + This::wxGraphicsPath(), X::number(), Y::number(). moveToPoint(#wx_ref{type=ThisT,ref=ThisRef},X,Y) - when is_float(X),is_float(Y) -> + when is_number(X),is_number(Y) -> ?CLASS(ThisT,wxGraphicsPath), wxe_util:cast(?wxGraphicsPath_MoveToPoint_2, <>). %% @doc See external documentation. -spec addArc(This, C, R, StartAngle, EndAngle, Clockwise) -> ok when - This::wxGraphicsPath(), C::{X::float(), Y::float()}, R::float(), StartAngle::float(), EndAngle::float(), Clockwise::boolean(). + This::wxGraphicsPath(), C::{X::float(), Y::float()}, R::number(), StartAngle::number(), EndAngle::number(), Clockwise::boolean(). addArc(#wx_ref{type=ThisT,ref=ThisRef},{CX,CY},R,StartAngle,EndAngle,Clockwise) - when is_number(CX),is_number(CY),is_float(R),is_float(StartAngle),is_float(EndAngle),is_boolean(Clockwise) -> + when is_number(CX),is_number(CY),is_number(R),is_number(StartAngle),is_number(EndAngle),is_boolean(Clockwise) -> ?CLASS(ThisT,wxGraphicsPath), wxe_util:cast(?wxGraphicsPath_AddArc_5, - <>). + <>). %% @doc See external documentation. -spec addArc(This, X, Y, R, StartAngle, EndAngle, Clockwise) -> ok when - This::wxGraphicsPath(), X::float(), Y::float(), R::float(), StartAngle::float(), EndAngle::float(), Clockwise::boolean(). + This::wxGraphicsPath(), X::number(), Y::number(), R::number(), StartAngle::number(), EndAngle::number(), Clockwise::boolean(). addArc(#wx_ref{type=ThisT,ref=ThisRef},X,Y,R,StartAngle,EndAngle,Clockwise) - when is_float(X),is_float(Y),is_float(R),is_float(StartAngle),is_float(EndAngle),is_boolean(Clockwise) -> + when is_number(X),is_number(Y),is_number(R),is_number(StartAngle),is_number(EndAngle),is_boolean(Clockwise) -> ?CLASS(ThisT,wxGraphicsPath), wxe_util:cast(?wxGraphicsPath_AddArc_6, <>). %% @doc See external documentation. -spec addArcToPoint(This, X1, Y1, X2, Y2, R) -> ok when - This::wxGraphicsPath(), X1::float(), Y1::float(), X2::float(), Y2::float(), R::float(). + This::wxGraphicsPath(), X1::number(), Y1::number(), X2::number(), Y2::number(), R::number(). addArcToPoint(#wx_ref{type=ThisT,ref=ThisRef},X1,Y1,X2,Y2,R) - when is_float(X1),is_float(Y1),is_float(X2),is_float(Y2),is_float(R) -> + when is_number(X1),is_number(Y1),is_number(X2),is_number(Y2),is_number(R) -> ?CLASS(ThisT,wxGraphicsPath), wxe_util:cast(?wxGraphicsPath_AddArcToPoint, <>). %% @doc See external documentation. -spec addCircle(This, X, Y, R) -> ok when - This::wxGraphicsPath(), X::float(), Y::float(), R::float(). + This::wxGraphicsPath(), X::number(), Y::number(), R::number(). addCircle(#wx_ref{type=ThisT,ref=ThisRef},X,Y,R) - when is_float(X),is_float(Y),is_float(R) -> + when is_number(X),is_number(Y),is_number(R) -> ?CLASS(ThisT,wxGraphicsPath), wxe_util:cast(?wxGraphicsPath_AddCircle, <>). @@ -103,22 +103,22 @@ addCurveToPoint(#wx_ref{type=ThisT,ref=ThisRef},{C1X,C1Y},{C2X,C2Y},{EX,EY}) when is_number(C1X),is_number(C1Y),is_number(C2X),is_number(C2Y),is_number(EX),is_number(EY) -> ?CLASS(ThisT,wxGraphicsPath), wxe_util:cast(?wxGraphicsPath_AddCurveToPoint_3, - <>). + <>). %% @doc See external documentation. -spec addCurveToPoint(This, Cx1, Cy1, Cx2, Cy2, X, Y) -> ok when - This::wxGraphicsPath(), Cx1::float(), Cy1::float(), Cx2::float(), Cy2::float(), X::float(), Y::float(). + This::wxGraphicsPath(), Cx1::number(), Cy1::number(), Cx2::number(), Cy2::number(), X::number(), Y::number(). addCurveToPoint(#wx_ref{type=ThisT,ref=ThisRef},Cx1,Cy1,Cx2,Cy2,X,Y) - when is_float(Cx1),is_float(Cy1),is_float(Cx2),is_float(Cy2),is_float(X),is_float(Y) -> + when is_number(Cx1),is_number(Cy1),is_number(Cx2),is_number(Cy2),is_number(X),is_number(Y) -> ?CLASS(ThisT,wxGraphicsPath), wxe_util:cast(?wxGraphicsPath_AddCurveToPoint_6, <>). %% @doc See external documentation. -spec addEllipse(This, X, Y, W, H) -> ok when - This::wxGraphicsPath(), X::float(), Y::float(), W::float(), H::float(). + This::wxGraphicsPath(), X::number(), Y::number(), W::number(), H::number(). addEllipse(#wx_ref{type=ThisT,ref=ThisRef},X,Y,W,H) - when is_float(X),is_float(Y),is_float(W),is_float(H) -> + when is_number(X),is_number(Y),is_number(W),is_number(H) -> ?CLASS(ThisT,wxGraphicsPath), wxe_util:cast(?wxGraphicsPath_AddEllipse, <>). @@ -130,13 +130,13 @@ addLineToPoint(#wx_ref{type=ThisT,ref=ThisRef},{PX,PY}) when is_number(PX),is_number(PY) -> ?CLASS(ThisT,wxGraphicsPath), wxe_util:cast(?wxGraphicsPath_AddLineToPoint_1, - <>). + <>). %% @doc See external documentation. -spec addLineToPoint(This, X, Y) -> ok when - This::wxGraphicsPath(), X::float(), Y::float(). + This::wxGraphicsPath(), X::number(), Y::number(). addLineToPoint(#wx_ref{type=ThisT,ref=ThisRef},X,Y) - when is_float(X),is_float(Y) -> + when is_number(X),is_number(Y) -> ?CLASS(ThisT,wxGraphicsPath), wxe_util:cast(?wxGraphicsPath_AddLineToPoint_2, <>). @@ -152,27 +152,27 @@ addPath(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PathT,ref=PathRef}) -> %% @doc See external documentation. -spec addQuadCurveToPoint(This, Cx, Cy, X, Y) -> ok when - This::wxGraphicsPath(), Cx::float(), Cy::float(), X::float(), Y::float(). + This::wxGraphicsPath(), Cx::number(), Cy::number(), X::number(), Y::number(). addQuadCurveToPoint(#wx_ref{type=ThisT,ref=ThisRef},Cx,Cy,X,Y) - when is_float(Cx),is_float(Cy),is_float(X),is_float(Y) -> + when is_number(Cx),is_number(Cy),is_number(X),is_number(Y) -> ?CLASS(ThisT,wxGraphicsPath), wxe_util:cast(?wxGraphicsPath_AddQuadCurveToPoint, <>). %% @doc See external documentation. -spec addRectangle(This, X, Y, W, H) -> ok when - This::wxGraphicsPath(), X::float(), Y::float(), W::float(), H::float(). + This::wxGraphicsPath(), X::number(), Y::number(), W::number(), H::number(). addRectangle(#wx_ref{type=ThisT,ref=ThisRef},X,Y,W,H) - when is_float(X),is_float(Y),is_float(W),is_float(H) -> + when is_number(X),is_number(Y),is_number(W),is_number(H) -> ?CLASS(ThisT,wxGraphicsPath), wxe_util:cast(?wxGraphicsPath_AddRectangle, <>). %% @doc See external documentation. -spec addRoundedRectangle(This, X, Y, W, H, Radius) -> ok when - This::wxGraphicsPath(), X::float(), Y::float(), W::float(), H::float(), Radius::float(). + This::wxGraphicsPath(), X::number(), Y::number(), W::number(), H::number(), Radius::number(). addRoundedRectangle(#wx_ref{type=ThisT,ref=ThisRef},X,Y,W,H,Radius) - when is_float(X),is_float(Y),is_float(W),is_float(H),is_float(Radius) -> + when is_number(X),is_number(Y),is_number(W),is_number(H),is_number(Radius) -> ?CLASS(ThisT,wxGraphicsPath), wxe_util:cast(?wxGraphicsPath_AddRoundedRectangle, <>). @@ -195,13 +195,13 @@ contains(This,C={CX,CY}) %% @doc See external documentation. -spec contains(This, X, Y) -> boolean() when - This::wxGraphicsPath(), X::float(), Y::float(); + This::wxGraphicsPath(), X::number(), Y::number(); (This, C, [Option]) -> boolean() when This::wxGraphicsPath(), C::{X::float(), Y::float()}, Option :: {fillStyle, integer()}. contains(This,X,Y) - when is_record(This, wx_ref),is_float(X),is_float(Y) -> + when is_record(This, wx_ref),is_number(X),is_number(Y) -> contains(This,X,Y, []); contains(#wx_ref{type=ThisT,ref=ThisRef},{CX,CY}, Options) when is_number(CX),is_number(CY),is_list(Options) -> @@ -210,14 +210,14 @@ contains(#wx_ref{type=ThisT,ref=ThisRef},{CX,CY}, Options) (BadOpt, _) -> erlang:error({badoption, BadOpt}) end, BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)), wxe_util:call(?wxGraphicsPath_Contains_2, - <>). + <>). %% @doc See external documentation. -spec contains(This, X, Y, [Option]) -> boolean() when - This::wxGraphicsPath(), X::float(), Y::float(), + This::wxGraphicsPath(), X::number(), Y::number(), Option :: {fillStyle, integer()}. contains(#wx_ref{type=ThisT,ref=ThisRef},X,Y, Options) - when is_float(X),is_float(Y),is_list(Options) -> + when is_number(X),is_number(Y),is_list(Options) -> ?CLASS(ThisT,wxGraphicsPath), MOpts = fun({fillStyle, FillStyle}, Acc) -> [<<1:32/?UI,FillStyle:32/?UI>>|Acc]; (BadOpt, _) -> erlang:error({badoption, BadOpt}) end, diff --git a/lib/wx/src/gen/wxGraphicsRenderer.erl b/lib/wx/src/gen/wxGraphicsRenderer.erl index b4b3e506e7..21082bde23 100644 --- a/lib/wx/src/gen/wxGraphicsRenderer.erl +++ b/lib/wx/src/gen/wxGraphicsRenderer.erl @@ -76,18 +76,18 @@ createBrush(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BrushT,ref=BrushRef}) - %% @doc See external documentation. -spec createLinearGradientBrush(This, X1, Y1, X2, Y2, C1, C2) -> wxGraphicsBrush:wxGraphicsBrush() when - This::wxGraphicsRenderer(), X1::float(), Y1::float(), X2::float(), Y2::float(), C1::wx:wx_colour(), C2::wx:wx_colour(). + This::wxGraphicsRenderer(), X1::number(), Y1::number(), X2::number(), Y2::number(), C1::wx:wx_colour(), C2::wx:wx_colour(). createLinearGradientBrush(#wx_ref{type=ThisT,ref=ThisRef},X1,Y1,X2,Y2,C1,C2) - when is_float(X1),is_float(Y1),is_float(X2),is_float(Y2),tuple_size(C1) =:= 3; tuple_size(C1) =:= 4,tuple_size(C2) =:= 3; tuple_size(C2) =:= 4 -> + when is_number(X1),is_number(Y1),is_number(X2),is_number(Y2),tuple_size(C1) =:= 3; tuple_size(C1) =:= 4,tuple_size(C2) =:= 3; tuple_size(C2) =:= 4 -> ?CLASS(ThisT,wxGraphicsRenderer), wxe_util:call(?wxGraphicsRenderer_CreateLinearGradientBrush, <>). %% @doc See external documentation. -spec createRadialGradientBrush(This, Xo, Yo, Xc, Yc, Radius, OColor, CColor) -> wxGraphicsBrush:wxGraphicsBrush() when - This::wxGraphicsRenderer(), Xo::float(), Yo::float(), Xc::float(), Yc::float(), Radius::float(), OColor::wx:wx_colour(), CColor::wx:wx_colour(). + This::wxGraphicsRenderer(), Xo::number(), Yo::number(), Xc::number(), Yc::number(), Radius::number(), OColor::wx:wx_colour(), CColor::wx:wx_colour(). createRadialGradientBrush(#wx_ref{type=ThisT,ref=ThisRef},Xo,Yo,Xc,Yc,Radius,OColor,CColor) - when is_float(Xo),is_float(Yo),is_float(Xc),is_float(Yc),is_float(Radius),tuple_size(OColor) =:= 3; tuple_size(OColor) =:= 4,tuple_size(CColor) =:= 3; tuple_size(CColor) =:= 4 -> + when is_number(Xo),is_number(Yo),is_number(Xc),is_number(Yc),is_number(Radius),tuple_size(OColor) =:= 3; tuple_size(OColor) =:= 4,tuple_size(CColor) =:= 3; tuple_size(CColor) =:= 4 -> ?CLASS(ThisT,wxGraphicsRenderer), wxe_util:call(?wxGraphicsRenderer_CreateRadialGradientBrush, <>). @@ -125,12 +125,12 @@ createMatrix(This) %% @doc See external documentation. -spec createMatrix(This, [Option]) -> wxGraphicsMatrix:wxGraphicsMatrix() when This::wxGraphicsRenderer(), - Option :: {a, float()} - | {b, float()} - | {c, float()} - | {d, float()} - | {tx, float()} - | {ty, float()}. + Option :: {a, number()} + | {b, number()} + | {c, number()} + | {d, number()} + | {tx, number()} + | {ty, number()}. createMatrix(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxGraphicsRenderer), diff --git a/lib/wx/src/gen/wxImage.erl b/lib/wx/src/gen/wxImage.erl index 3f8cb2be22..36d83ebadc 100644 --- a/lib/wx/src/gen/wxImage.erl +++ b/lib/wx/src/gen/wxImage.erl @@ -209,9 +209,9 @@ convertToGreyscale(This) %% @doc See external documentation. -spec convertToGreyscale(This, [Option]) -> wxImage() when This::wxImage(), - Option :: {lr, float()} - | {lg, float()} - | {lb, float()}. + Option :: {lr, number()} + | {lg, number()} + | {lb, number()}. convertToGreyscale(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> ?CLASS(ThisT,wxImage), @@ -697,19 +697,19 @@ resize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH},{PosX,PosY}, Options) %% @equiv rotate(This,Angle,Centre_of_rotation, []) -spec rotate(This, Angle, Centre_of_rotation) -> wxImage() when - This::wxImage(), Angle::float(), Centre_of_rotation::{X::integer(), Y::integer()}. + This::wxImage(), Angle::number(), Centre_of_rotation::{X::integer(), Y::integer()}. rotate(This,Angle,Centre_of_rotation={Centre_of_rotationX,Centre_of_rotationY}) - when is_record(This, wx_ref),is_float(Angle),is_integer(Centre_of_rotationX),is_integer(Centre_of_rotationY) -> + when is_record(This, wx_ref),is_number(Angle),is_integer(Centre_of_rotationX),is_integer(Centre_of_rotationY) -> rotate(This,Angle,Centre_of_rotation, []). %% @doc See external documentation. -spec rotate(This, Angle, Centre_of_rotation, [Option]) -> wxImage() when - This::wxImage(), Angle::float(), Centre_of_rotation::{X::integer(), Y::integer()}, + This::wxImage(), Angle::number(), Centre_of_rotation::{X::integer(), Y::integer()}, Option :: {interpolating, boolean()} | {offset_after_rotation, {X::integer(), Y::integer()}}. rotate(#wx_ref{type=ThisT,ref=ThisRef},Angle,{Centre_of_rotationX,Centre_of_rotationY}, Options) - when is_float(Angle),is_integer(Centre_of_rotationX),is_integer(Centre_of_rotationY),is_list(Options) -> + when is_number(Angle),is_integer(Centre_of_rotationX),is_integer(Centre_of_rotationY),is_list(Options) -> ?CLASS(ThisT,wxImage), MOpts = fun({interpolating, Interpolating}, Acc) -> [<<1:32/?UI,(wxe_util:from_bool(Interpolating)):32/?UI>>|Acc]; ({offset_after_rotation, {Offset_after_rotationX,Offset_after_rotationY}}, Acc) -> [<<2:32/?UI,Offset_after_rotationX:32/?UI,Offset_after_rotationY:32/?UI,0:32>>|Acc]; @@ -720,9 +720,9 @@ rotate(#wx_ref{type=ThisT,ref=ThisRef},Angle,{Centre_of_rotationX,Centre_of_rota %% @doc See external documentation. -spec rotateHue(This, Angle) -> ok when - This::wxImage(), Angle::float(). + This::wxImage(), Angle::number(). rotateHue(#wx_ref{type=ThisT,ref=ThisRef},Angle) - when is_float(Angle) -> + when is_number(Angle) -> ?CLASS(ThisT,wxImage), wxe_util:cast(?wxImage_RotateHue, <>). diff --git a/lib/wx/src/gen/wxSizerItem.erl b/lib/wx/src/gen/wxSizerItem.erl index e22befd1ad..75f3c6f805 100644 --- a/lib/wx/src/gen/wxSizerItem.erl +++ b/lib/wx/src/gen/wxSizerItem.erl @@ -160,7 +160,7 @@ getProportion(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getRatio(This) -> float() when +-spec getRatio(This) -> number() when This::wxSizerItem(). getRatio(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSizerItem), @@ -312,11 +312,11 @@ setProportion(#wx_ref{type=ThisT,ref=ThisRef},Proportion) %% @doc See external documentation. -spec setRatio(This, Ratio) -> ok when - This::wxSizerItem(), Ratio::float(); + This::wxSizerItem(), Ratio::number(); (This, Size) -> ok when This::wxSizerItem(), Size::{W::integer(), H::integer()}. setRatio(#wx_ref{type=ThisT,ref=ThisRef},Ratio) - when is_float(Ratio) -> + when is_number(Ratio) -> ?CLASS(ThisT,wxSizerItem), wxe_util:cast(?wxSizerItem_SetRatio_1_0, <>); diff --git a/lib/wx/src/gen/wxSplitterWindow.erl b/lib/wx/src/gen/wxSplitterWindow.erl index 37ef11fc9c..d72be1c8e8 100644 --- a/lib/wx/src/gen/wxSplitterWindow.erl +++ b/lib/wx/src/gen/wxSplitterWindow.erl @@ -150,7 +150,7 @@ getMinimumPaneSize(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getSashGravity(This) -> float() when +-spec getSashGravity(This) -> number() when This::wxSplitterWindow(). getSashGravity(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSplitterWindow), @@ -219,9 +219,9 @@ replaceWindow(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WinOldT,ref=WinOldRef %% @doc See external documentation. -spec setSashGravity(This, Gravity) -> ok when - This::wxSplitterWindow(), Gravity::float(). + This::wxSplitterWindow(), Gravity::number(). setSashGravity(#wx_ref{type=ThisT,ref=ThisRef},Gravity) - when is_float(Gravity) -> + when is_number(Gravity) -> ?CLASS(ThisT,wxSplitterWindow), wxe_util:cast(?wxSplitterWindow_SetSashGravity, <>). diff --git a/lib/wx/src/gen/wxe_debug.hrl b/lib/wx/src/gen/wxe_debug.hrl index 4224c54200..3ba1305356 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-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -646,2659 +646,2660 @@ wxdebug_table() -> {751, {wxBufferedPaintDC, new_3, 3}}, {752, {wxBufferedPaintDC, new_2, 2}}, {753, {wxBufferedPaintDC, destruct, 0}}, - {754, {wxGraphicsObject, getRenderer, 0}}, - {755, {wxGraphicsObject, isNull, 0}}, - {756, {wxGraphicsContext, create_1_1, 1}}, - {757, {wxGraphicsContext, create_1_0, 1}}, - {758, {wxGraphicsContext, create_0, 0}}, - {759, {wxGraphicsContext, createPen, 1}}, - {760, {wxGraphicsContext, createBrush, 1}}, - {761, {wxGraphicsContext, createRadialGradientBrush, 7}}, - {762, {wxGraphicsContext, createLinearGradientBrush, 6}}, - {763, {wxGraphicsContext, createFont, 2}}, - {764, {wxGraphicsContext, createMatrix, 1}}, - {765, {wxGraphicsContext, createPath, 0}}, - {766, {wxGraphicsContext, clip_1, 1}}, - {767, {wxGraphicsContext, clip_4, 4}}, - {768, {wxGraphicsContext, resetClip, 0}}, - {769, {wxGraphicsContext, drawBitmap, 5}}, - {770, {wxGraphicsContext, drawEllipse, 4}}, - {771, {wxGraphicsContext, drawIcon, 5}}, - {772, {wxGraphicsContext, drawLines, 3}}, - {773, {wxGraphicsContext, drawPath, 2}}, - {774, {wxGraphicsContext, drawRectangle, 4}}, - {775, {wxGraphicsContext, drawRoundedRectangle, 5}}, - {776, {wxGraphicsContext, drawText_3, 3}}, - {777, {wxGraphicsContext, drawText_4_0, 4}}, - {778, {wxGraphicsContext, drawText_4_1, 4}}, - {779, {wxGraphicsContext, drawText_5, 5}}, - {780, {wxGraphicsContext, fillPath, 2}}, - {781, {wxGraphicsContext, strokePath, 1}}, - {782, {wxGraphicsContext, getNativeContext, 0}}, - {783, {wxGraphicsContext, getPartialTextExtents, 2}}, - {784, {wxGraphicsContext, getTextExtent, 5}}, - {785, {wxGraphicsContext, rotate, 1}}, - {786, {wxGraphicsContext, scale, 2}}, - {787, {wxGraphicsContext, translate, 2}}, - {788, {wxGraphicsContext, getTransform, 0}}, - {789, {wxGraphicsContext, setTransform, 1}}, - {790, {wxGraphicsContext, concatTransform, 1}}, - {791, {wxGraphicsContext, setBrush_1_1, 1}}, - {792, {wxGraphicsContext, setBrush_1_0, 1}}, - {793, {wxGraphicsContext, setFont_1, 1}}, - {794, {wxGraphicsContext, setFont_2, 2}}, - {795, {wxGraphicsContext, setPen_1_0, 1}}, - {796, {wxGraphicsContext, setPen_1_1, 1}}, - {797, {wxGraphicsContext, strokeLine, 4}}, - {798, {wxGraphicsContext, strokeLines_2, 2}}, - {799, {wxGraphicsContext, strokeLines_3, 3}}, - {800, {wxGraphicsMatrix, concat, 1}}, - {802, {wxGraphicsMatrix, get, 1}}, - {803, {wxGraphicsMatrix, getNativeMatrix, 0}}, - {804, {wxGraphicsMatrix, invert, 0}}, - {805, {wxGraphicsMatrix, isEqual, 1}}, - {807, {wxGraphicsMatrix, isIdentity, 0}}, - {808, {wxGraphicsMatrix, rotate, 1}}, - {809, {wxGraphicsMatrix, scale, 2}}, - {810, {wxGraphicsMatrix, translate, 2}}, - {811, {wxGraphicsMatrix, set, 1}}, - {812, {wxGraphicsMatrix, transformPoint, 2}}, - {813, {wxGraphicsMatrix, transformDistance, 2}}, - {814, {wxGraphicsPath, moveToPoint_2, 2}}, - {815, {wxGraphicsPath, moveToPoint_1, 1}}, - {816, {wxGraphicsPath, addArc_6, 6}}, - {817, {wxGraphicsPath, addArc_5, 5}}, - {818, {wxGraphicsPath, addArcToPoint, 5}}, - {819, {wxGraphicsPath, addCircle, 3}}, - {820, {wxGraphicsPath, addCurveToPoint_6, 6}}, - {821, {wxGraphicsPath, addCurveToPoint_3, 3}}, - {822, {wxGraphicsPath, addEllipse, 4}}, - {823, {wxGraphicsPath, addLineToPoint_2, 2}}, - {824, {wxGraphicsPath, addLineToPoint_1, 1}}, - {825, {wxGraphicsPath, addPath, 1}}, - {826, {wxGraphicsPath, addQuadCurveToPoint, 4}}, - {827, {wxGraphicsPath, addRectangle, 4}}, - {828, {wxGraphicsPath, addRoundedRectangle, 5}}, - {829, {wxGraphicsPath, closeSubpath, 0}}, - {830, {wxGraphicsPath, contains_3, 3}}, - {831, {wxGraphicsPath, contains_2, 2}}, - {833, {wxGraphicsPath, getBox, 0}}, - {835, {wxGraphicsPath, getCurrentPoint, 0}}, - {836, {wxGraphicsPath, transform, 1}}, - {837, {wxGraphicsRenderer, getDefaultRenderer, 0}}, - {838, {wxGraphicsRenderer, createContext_1_1, 1}}, - {839, {wxGraphicsRenderer, createContext_1_0, 1}}, - {840, {wxGraphicsRenderer, createPen, 1}}, - {841, {wxGraphicsRenderer, createBrush, 1}}, - {842, {wxGraphicsRenderer, createLinearGradientBrush, 6}}, - {843, {wxGraphicsRenderer, createRadialGradientBrush, 7}}, - {844, {wxGraphicsRenderer, createFont, 2}}, - {845, {wxGraphicsRenderer, createMatrix, 1}}, - {846, {wxGraphicsRenderer, createPath, 0}}, - {848, {wxMenuBar, new_1, 1}}, - {850, {wxMenuBar, new_0, 0}}, - {852, {wxMenuBar, destruct, 0}}, - {853, {wxMenuBar, append, 2}}, - {854, {wxMenuBar, check, 2}}, - {855, {wxMenuBar, enable_2, 2}}, - {856, {wxMenuBar, enable_1, 1}}, - {857, {wxMenuBar, enableTop, 2}}, - {858, {wxMenuBar, findMenu, 1}}, - {859, {wxMenuBar, findMenuItem, 2}}, - {860, {wxMenuBar, findItem, 2}}, - {861, {wxMenuBar, getHelpString, 1}}, - {862, {wxMenuBar, getLabel_1, 1}}, - {863, {wxMenuBar, getLabel_0, 0}}, - {864, {wxMenuBar, getLabelTop, 1}}, - {865, {wxMenuBar, getMenu, 1}}, - {866, {wxMenuBar, getMenuCount, 0}}, - {867, {wxMenuBar, insert, 3}}, - {868, {wxMenuBar, isChecked, 1}}, - {869, {wxMenuBar, isEnabled_1, 1}}, - {870, {wxMenuBar, isEnabled_0, 0}}, - {871, {wxMenuBar, remove, 1}}, - {872, {wxMenuBar, replace, 3}}, - {873, {wxMenuBar, setHelpString, 2}}, - {874, {wxMenuBar, setLabel_2, 2}}, - {875, {wxMenuBar, setLabel_1, 1}}, - {876, {wxMenuBar, setLabelTop, 2}}, - {877, {wxControl, getLabel, 0}}, - {878, {wxControl, setLabel, 1}}, - {879, {wxControlWithItems, append_1, 1}}, - {880, {wxControlWithItems, append_2, 2}}, - {881, {wxControlWithItems, appendStrings_1, 1}}, - {882, {wxControlWithItems, clear, 0}}, - {883, {wxControlWithItems, delete, 1}}, - {884, {wxControlWithItems, findString, 2}}, - {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, {wxSystemOptions, getOption, 1}}, - {3493, {wxSystemOptions, getOptionInt, 1}}, - {3494, {wxSystemOptions, hasOption, 1}}, - {3495, {wxSystemOptions, isFalse, 1}}, - {3496, {wxSystemOptions, setOption_2_1, 2}}, - {3497, {wxSystemOptions, setOption_2_0, 2}}, - {3498, {wxAuiNotebookEvent, setSelection, 1}}, - {3499, {wxAuiNotebookEvent, getSelection, 0}}, - {3500, {wxAuiNotebookEvent, setOldSelection, 1}}, - {3501, {wxAuiNotebookEvent, getOldSelection, 0}}, - {3502, {wxAuiNotebookEvent, setDragSource, 1}}, - {3503, {wxAuiNotebookEvent, getDragSource, 0}}, - {3504, {wxAuiManagerEvent, setManager, 1}}, - {3505, {wxAuiManagerEvent, getManager, 0}}, - {3506, {wxAuiManagerEvent, setPane, 1}}, - {3507, {wxAuiManagerEvent, getPane, 0}}, - {3508, {wxAuiManagerEvent, setButton, 1}}, - {3509, {wxAuiManagerEvent, getButton, 0}}, - {3510, {wxAuiManagerEvent, setDC, 1}}, - {3511, {wxAuiManagerEvent, getDC, 0}}, - {3512, {wxAuiManagerEvent, veto, 1}}, - {3513, {wxAuiManagerEvent, getVeto, 0}}, - {3514, {wxAuiManagerEvent, setCanVeto, 1}}, - {3515, {wxAuiManagerEvent, canVeto, 0}}, - {3516, {wxLogNull, new, 0}}, - {3517, {wxLogNull, 'Destroy', undefined}}, + {754, {wxGraphicsObject, destruct, 0}}, + {755, {wxGraphicsObject, getRenderer, 0}}, + {756, {wxGraphicsObject, isNull, 0}}, + {757, {wxGraphicsContext, destruct, 0}}, + {758, {wxGraphicsContext, create_1_1, 1}}, + {759, {wxGraphicsContext, create_1_0, 1}}, + {760, {wxGraphicsContext, create_0, 0}}, + {761, {wxGraphicsContext, createPen, 1}}, + {762, {wxGraphicsContext, createBrush, 1}}, + {763, {wxGraphicsContext, createRadialGradientBrush, 7}}, + {764, {wxGraphicsContext, createLinearGradientBrush, 6}}, + {765, {wxGraphicsContext, createFont, 2}}, + {766, {wxGraphicsContext, createMatrix, 1}}, + {767, {wxGraphicsContext, createPath, 0}}, + {768, {wxGraphicsContext, clip_1, 1}}, + {769, {wxGraphicsContext, clip_4, 4}}, + {770, {wxGraphicsContext, resetClip, 0}}, + {771, {wxGraphicsContext, drawBitmap, 5}}, + {772, {wxGraphicsContext, drawEllipse, 4}}, + {773, {wxGraphicsContext, drawIcon, 5}}, + {774, {wxGraphicsContext, drawLines, 3}}, + {775, {wxGraphicsContext, drawPath, 2}}, + {776, {wxGraphicsContext, drawRectangle, 4}}, + {777, {wxGraphicsContext, drawRoundedRectangle, 5}}, + {778, {wxGraphicsContext, drawText_3, 3}}, + {779, {wxGraphicsContext, drawText_4_0, 4}}, + {780, {wxGraphicsContext, drawText_4_1, 4}}, + {781, {wxGraphicsContext, drawText_5, 5}}, + {782, {wxGraphicsContext, fillPath, 2}}, + {783, {wxGraphicsContext, strokePath, 1}}, + {784, {wxGraphicsContext, getNativeContext, 0}}, + {785, {wxGraphicsContext, getPartialTextExtents, 2}}, + {786, {wxGraphicsContext, getTextExtent, 5}}, + {787, {wxGraphicsContext, rotate, 1}}, + {788, {wxGraphicsContext, scale, 2}}, + {789, {wxGraphicsContext, translate, 2}}, + {790, {wxGraphicsContext, getTransform, 0}}, + {791, {wxGraphicsContext, setTransform, 1}}, + {792, {wxGraphicsContext, concatTransform, 1}}, + {793, {wxGraphicsContext, setBrush_1_1, 1}}, + {794, {wxGraphicsContext, setBrush_1_0, 1}}, + {795, {wxGraphicsContext, setFont_1, 1}}, + {796, {wxGraphicsContext, setFont_2, 2}}, + {797, {wxGraphicsContext, setPen_1_0, 1}}, + {798, {wxGraphicsContext, setPen_1_1, 1}}, + {799, {wxGraphicsContext, strokeLine, 4}}, + {800, {wxGraphicsContext, strokeLines, 2}}, + {802, {wxGraphicsMatrix, concat, 1}}, + {804, {wxGraphicsMatrix, get, 1}}, + {805, {wxGraphicsMatrix, getNativeMatrix, 0}}, + {806, {wxGraphicsMatrix, invert, 0}}, + {807, {wxGraphicsMatrix, isEqual, 1}}, + {809, {wxGraphicsMatrix, isIdentity, 0}}, + {810, {wxGraphicsMatrix, rotate, 1}}, + {811, {wxGraphicsMatrix, scale, 2}}, + {812, {wxGraphicsMatrix, translate, 2}}, + {813, {wxGraphicsMatrix, set, 1}}, + {814, {wxGraphicsMatrix, transformPoint, 2}}, + {815, {wxGraphicsMatrix, transformDistance, 2}}, + {816, {wxGraphicsPath, moveToPoint_2, 2}}, + {817, {wxGraphicsPath, moveToPoint_1, 1}}, + {818, {wxGraphicsPath, addArc_6, 6}}, + {819, {wxGraphicsPath, addArc_5, 5}}, + {820, {wxGraphicsPath, addArcToPoint, 5}}, + {821, {wxGraphicsPath, addCircle, 3}}, + {822, {wxGraphicsPath, addCurveToPoint_6, 6}}, + {823, {wxGraphicsPath, addCurveToPoint_3, 3}}, + {824, {wxGraphicsPath, addEllipse, 4}}, + {825, {wxGraphicsPath, addLineToPoint_2, 2}}, + {826, {wxGraphicsPath, addLineToPoint_1, 1}}, + {827, {wxGraphicsPath, addPath, 1}}, + {828, {wxGraphicsPath, addQuadCurveToPoint, 4}}, + {829, {wxGraphicsPath, addRectangle, 4}}, + {830, {wxGraphicsPath, addRoundedRectangle, 5}}, + {831, {wxGraphicsPath, closeSubpath, 0}}, + {832, {wxGraphicsPath, contains_3, 3}}, + {833, {wxGraphicsPath, contains_2, 2}}, + {835, {wxGraphicsPath, getBox, 0}}, + {837, {wxGraphicsPath, getCurrentPoint, 0}}, + {838, {wxGraphicsPath, transform, 1}}, + {839, {wxGraphicsRenderer, getDefaultRenderer, 0}}, + {840, {wxGraphicsRenderer, createContext_1_1, 1}}, + {841, {wxGraphicsRenderer, createContext_1_0, 1}}, + {842, {wxGraphicsRenderer, createPen, 1}}, + {843, {wxGraphicsRenderer, createBrush, 1}}, + {844, {wxGraphicsRenderer, createLinearGradientBrush, 6}}, + {845, {wxGraphicsRenderer, createRadialGradientBrush, 7}}, + {846, {wxGraphicsRenderer, createFont, 2}}, + {847, {wxGraphicsRenderer, createMatrix, 1}}, + {848, {wxGraphicsRenderer, createPath, 0}}, + {850, {wxMenuBar, new_1, 1}}, + {852, {wxMenuBar, new_0, 0}}, + {854, {wxMenuBar, destruct, 0}}, + {855, {wxMenuBar, append, 2}}, + {856, {wxMenuBar, check, 2}}, + {857, {wxMenuBar, enable_2, 2}}, + {858, {wxMenuBar, enable_1, 1}}, + {859, {wxMenuBar, enableTop, 2}}, + {860, {wxMenuBar, findMenu, 1}}, + {861, {wxMenuBar, findMenuItem, 2}}, + {862, {wxMenuBar, findItem, 2}}, + {863, {wxMenuBar, getHelpString, 1}}, + {864, {wxMenuBar, getLabel_1, 1}}, + {865, {wxMenuBar, getLabel_0, 0}}, + {866, {wxMenuBar, getLabelTop, 1}}, + {867, {wxMenuBar, getMenu, 1}}, + {868, {wxMenuBar, getMenuCount, 0}}, + {869, {wxMenuBar, insert, 3}}, + {870, {wxMenuBar, isChecked, 1}}, + {871, {wxMenuBar, isEnabled_1, 1}}, + {872, {wxMenuBar, isEnabled_0, 0}}, + {873, {wxMenuBar, remove, 1}}, + {874, {wxMenuBar, replace, 3}}, + {875, {wxMenuBar, setHelpString, 2}}, + {876, {wxMenuBar, setLabel_2, 2}}, + {877, {wxMenuBar, setLabel_1, 1}}, + {878, {wxMenuBar, setLabelTop, 2}}, + {879, {wxControl, getLabel, 0}}, + {880, {wxControl, setLabel, 1}}, + {881, {wxControlWithItems, append_1, 1}}, + {882, {wxControlWithItems, append_2, 2}}, + {883, {wxControlWithItems, appendStrings_1, 1}}, + {884, {wxControlWithItems, clear, 0}}, + {885, {wxControlWithItems, delete, 1}}, + {886, {wxControlWithItems, findString, 2}}, + {887, {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, {wxListItemAttr, new_0, 0}}, + {1760, {wxListItemAttr, new_3, 3}}, + {1761, {wxListItemAttr, getBackgroundColour, 0}}, + {1762, {wxListItemAttr, getFont, 0}}, + {1763, {wxListItemAttr, getTextColour, 0}}, + {1764, {wxListItemAttr, hasBackgroundColour, 0}}, + {1765, {wxListItemAttr, hasFont, 0}}, + {1766, {wxListItemAttr, hasTextColour, 0}}, + {1767, {wxListItemAttr, setBackgroundColour, 1}}, + {1768, {wxListItemAttr, setFont, 1}}, + {1769, {wxListItemAttr, setTextColour, 1}}, + {1770, {wxListItemAttr, 'Destroy', undefined}}, + {1771, {wxImageList, new_0, 0}}, + {1772, {wxImageList, new_3, 3}}, + {1773, {wxImageList, add_1, 1}}, + {1774, {wxImageList, add_2_0, 2}}, + {1775, {wxImageList, add_2_1, 2}}, + {1776, {wxImageList, create, 3}}, + {1778, {wxImageList, draw, 5}}, + {1779, {wxImageList, getBitmap, 1}}, + {1780, {wxImageList, getIcon, 1}}, + {1781, {wxImageList, getImageCount, 0}}, + {1782, {wxImageList, getSize, 3}}, + {1783, {wxImageList, remove, 1}}, + {1784, {wxImageList, removeAll, 0}}, + {1785, {wxImageList, replace_2, 2}}, + {1786, {wxImageList, replace_3, 3}}, + {1787, {wxImageList, 'Destroy', undefined}}, + {1788, {wxTextAttr, new_0, 0}}, + {1789, {wxTextAttr, new_2, 2}}, + {1790, {wxTextAttr, getAlignment, 0}}, + {1791, {wxTextAttr, getBackgroundColour, 0}}, + {1792, {wxTextAttr, getFont, 0}}, + {1793, {wxTextAttr, getLeftIndent, 0}}, + {1794, {wxTextAttr, getLeftSubIndent, 0}}, + {1795, {wxTextAttr, getRightIndent, 0}}, + {1796, {wxTextAttr, getTabs, 0}}, + {1797, {wxTextAttr, getTextColour, 0}}, + {1798, {wxTextAttr, hasBackgroundColour, 0}}, + {1799, {wxTextAttr, hasFont, 0}}, + {1800, {wxTextAttr, hasTextColour, 0}}, + {1801, {wxTextAttr, getFlags, 0}}, + {1802, {wxTextAttr, isDefault, 0}}, + {1803, {wxTextAttr, setAlignment, 1}}, + {1804, {wxTextAttr, setBackgroundColour, 1}}, + {1805, {wxTextAttr, setFlags, 1}}, + {1806, {wxTextAttr, setFont, 2}}, + {1807, {wxTextAttr, setLeftIndent, 2}}, + {1808, {wxTextAttr, setRightIndent, 1}}, + {1809, {wxTextAttr, setTabs, 1}}, + {1810, {wxTextAttr, setTextColour, 1}}, + {1811, {wxTextAttr, 'Destroy', undefined}}, + {1813, {wxTextCtrl, new_3, 3}}, + {1814, {wxTextCtrl, new_0, 0}}, + {1816, {wxTextCtrl, destruct, 0}}, + {1817, {wxTextCtrl, appendText, 1}}, + {1818, {wxTextCtrl, canCopy, 0}}, + {1819, {wxTextCtrl, canCut, 0}}, + {1820, {wxTextCtrl, canPaste, 0}}, + {1821, {wxTextCtrl, canRedo, 0}}, + {1822, {wxTextCtrl, canUndo, 0}}, + {1823, {wxTextCtrl, clear, 0}}, + {1824, {wxTextCtrl, copy, 0}}, + {1825, {wxTextCtrl, create, 3}}, + {1826, {wxTextCtrl, cut, 0}}, + {1827, {wxTextCtrl, discardEdits, 0}}, + {1828, {wxTextCtrl, emulateKeyPress, 1}}, + {1829, {wxTextCtrl, getDefaultStyle, 0}}, + {1830, {wxTextCtrl, getInsertionPoint, 0}}, + {1831, {wxTextCtrl, getLastPosition, 0}}, + {1832, {wxTextCtrl, getLineLength, 1}}, + {1833, {wxTextCtrl, getLineText, 1}}, + {1834, {wxTextCtrl, getNumberOfLines, 0}}, + {1835, {wxTextCtrl, getRange, 2}}, + {1836, {wxTextCtrl, getSelection, 2}}, + {1837, {wxTextCtrl, getStringSelection, 0}}, + {1838, {wxTextCtrl, getStyle, 2}}, + {1839, {wxTextCtrl, getValue, 0}}, + {1840, {wxTextCtrl, isEditable, 0}}, + {1841, {wxTextCtrl, isModified, 0}}, + {1842, {wxTextCtrl, isMultiLine, 0}}, + {1843, {wxTextCtrl, isSingleLine, 0}}, + {1844, {wxTextCtrl, loadFile, 2}}, + {1845, {wxTextCtrl, markDirty, 0}}, + {1846, {wxTextCtrl, paste, 0}}, + {1847, {wxTextCtrl, positionToXY, 3}}, + {1848, {wxTextCtrl, redo, 0}}, + {1849, {wxTextCtrl, remove, 2}}, + {1850, {wxTextCtrl, replace, 3}}, + {1851, {wxTextCtrl, saveFile, 1}}, + {1852, {wxTextCtrl, setDefaultStyle, 1}}, + {1853, {wxTextCtrl, setEditable, 1}}, + {1854, {wxTextCtrl, setInsertionPoint, 1}}, + {1855, {wxTextCtrl, setInsertionPointEnd, 0}}, + {1857, {wxTextCtrl, setMaxLength, 1}}, + {1858, {wxTextCtrl, setSelection, 2}}, + {1859, {wxTextCtrl, setStyle, 3}}, + {1860, {wxTextCtrl, setValue, 1}}, + {1861, {wxTextCtrl, showPosition, 1}}, + {1862, {wxTextCtrl, undo, 0}}, + {1863, {wxTextCtrl, writeText, 1}}, + {1864, {wxTextCtrl, xYToPosition, 2}}, + {1867, {wxNotebook, new_0, 0}}, + {1868, {wxNotebook, new_3, 3}}, + {1869, {wxNotebook, destruct, 0}}, + {1870, {wxNotebook, addPage, 3}}, + {1871, {wxNotebook, advanceSelection, 1}}, + {1872, {wxNotebook, assignImageList, 1}}, + {1873, {wxNotebook, create, 3}}, + {1874, {wxNotebook, deleteAllPages, 0}}, + {1875, {wxNotebook, deletePage, 1}}, + {1876, {wxNotebook, removePage, 1}}, + {1877, {wxNotebook, getCurrentPage, 0}}, + {1878, {wxNotebook, getImageList, 0}}, + {1880, {wxNotebook, getPage, 1}}, + {1881, {wxNotebook, getPageCount, 0}}, + {1882, {wxNotebook, getPageImage, 1}}, + {1883, {wxNotebook, getPageText, 1}}, + {1884, {wxNotebook, getRowCount, 0}}, + {1885, {wxNotebook, getSelection, 0}}, + {1886, {wxNotebook, getThemeBackgroundColour, 0}}, + {1888, {wxNotebook, hitTest, 2}}, + {1890, {wxNotebook, insertPage, 4}}, + {1891, {wxNotebook, setImageList, 1}}, + {1892, {wxNotebook, setPadding, 1}}, + {1893, {wxNotebook, setPageSize, 1}}, + {1894, {wxNotebook, setPageImage, 2}}, + {1895, {wxNotebook, setPageText, 2}}, + {1896, {wxNotebook, setSelection, 1}}, + {1897, {wxNotebook, changeSelection, 1}}, + {1898, {wxChoicebook, new_0, 0}}, + {1899, {wxChoicebook, new_3, 3}}, + {1900, {wxChoicebook, addPage, 3}}, + {1901, {wxChoicebook, advanceSelection, 1}}, + {1902, {wxChoicebook, assignImageList, 1}}, + {1903, {wxChoicebook, create, 3}}, + {1904, {wxChoicebook, deleteAllPages, 0}}, + {1905, {wxChoicebook, deletePage, 1}}, + {1906, {wxChoicebook, removePage, 1}}, + {1907, {wxChoicebook, getCurrentPage, 0}}, + {1908, {wxChoicebook, getImageList, 0}}, + {1910, {wxChoicebook, getPage, 1}}, + {1911, {wxChoicebook, getPageCount, 0}}, + {1912, {wxChoicebook, getPageImage, 1}}, + {1913, {wxChoicebook, getPageText, 1}}, + {1914, {wxChoicebook, getSelection, 0}}, + {1915, {wxChoicebook, hitTest, 2}}, + {1916, {wxChoicebook, insertPage, 4}}, + {1917, {wxChoicebook, setImageList, 1}}, + {1918, {wxChoicebook, setPageSize, 1}}, + {1919, {wxChoicebook, setPageImage, 2}}, + {1920, {wxChoicebook, setPageText, 2}}, + {1921, {wxChoicebook, setSelection, 1}}, + {1922, {wxChoicebook, changeSelection, 1}}, + {1923, {wxChoicebook, 'Destroy', undefined}}, + {1924, {wxToolbook, new_0, 0}}, + {1925, {wxToolbook, new_3, 3}}, + {1926, {wxToolbook, addPage, 3}}, + {1927, {wxToolbook, advanceSelection, 1}}, + {1928, {wxToolbook, assignImageList, 1}}, + {1929, {wxToolbook, create, 3}}, + {1930, {wxToolbook, deleteAllPages, 0}}, + {1931, {wxToolbook, deletePage, 1}}, + {1932, {wxToolbook, removePage, 1}}, + {1933, {wxToolbook, getCurrentPage, 0}}, + {1934, {wxToolbook, getImageList, 0}}, + {1936, {wxToolbook, getPage, 1}}, + {1937, {wxToolbook, getPageCount, 0}}, + {1938, {wxToolbook, getPageImage, 1}}, + {1939, {wxToolbook, getPageText, 1}}, + {1940, {wxToolbook, getSelection, 0}}, + {1942, {wxToolbook, hitTest, 2}}, + {1943, {wxToolbook, insertPage, 4}}, + {1944, {wxToolbook, setImageList, 1}}, + {1945, {wxToolbook, setPageSize, 1}}, + {1946, {wxToolbook, setPageImage, 2}}, + {1947, {wxToolbook, setPageText, 2}}, + {1948, {wxToolbook, setSelection, 1}}, + {1949, {wxToolbook, changeSelection, 1}}, + {1950, {wxToolbook, 'Destroy', undefined}}, + {1951, {wxListbook, new_0, 0}}, + {1952, {wxListbook, new_3, 3}}, + {1953, {wxListbook, addPage, 3}}, + {1954, {wxListbook, advanceSelection, 1}}, + {1955, {wxListbook, assignImageList, 1}}, + {1956, {wxListbook, create, 3}}, + {1957, {wxListbook, deleteAllPages, 0}}, + {1958, {wxListbook, deletePage, 1}}, + {1959, {wxListbook, removePage, 1}}, + {1960, {wxListbook, getCurrentPage, 0}}, + {1961, {wxListbook, getImageList, 0}}, + {1963, {wxListbook, getPage, 1}}, + {1964, {wxListbook, getPageCount, 0}}, + {1965, {wxListbook, getPageImage, 1}}, + {1966, {wxListbook, getPageText, 1}}, + {1967, {wxListbook, getSelection, 0}}, + {1969, {wxListbook, hitTest, 2}}, + {1970, {wxListbook, insertPage, 4}}, + {1971, {wxListbook, setImageList, 1}}, + {1972, {wxListbook, setPageSize, 1}}, + {1973, {wxListbook, setPageImage, 2}}, + {1974, {wxListbook, setPageText, 2}}, + {1975, {wxListbook, setSelection, 1}}, + {1976, {wxListbook, changeSelection, 1}}, + {1977, {wxListbook, 'Destroy', undefined}}, + {1978, {wxTreebook, new_0, 0}}, + {1979, {wxTreebook, new_3, 3}}, + {1980, {wxTreebook, addPage, 3}}, + {1981, {wxTreebook, advanceSelection, 1}}, + {1982, {wxTreebook, assignImageList, 1}}, + {1983, {wxTreebook, create, 3}}, + {1984, {wxTreebook, deleteAllPages, 0}}, + {1985, {wxTreebook, deletePage, 1}}, + {1986, {wxTreebook, removePage, 1}}, + {1987, {wxTreebook, getCurrentPage, 0}}, + {1988, {wxTreebook, getImageList, 0}}, + {1990, {wxTreebook, getPage, 1}}, + {1991, {wxTreebook, getPageCount, 0}}, + {1992, {wxTreebook, getPageImage, 1}}, + {1993, {wxTreebook, getPageText, 1}}, + {1994, {wxTreebook, getSelection, 0}}, + {1995, {wxTreebook, expandNode, 2}}, + {1996, {wxTreebook, isNodeExpanded, 1}}, + {1998, {wxTreebook, hitTest, 2}}, + {1999, {wxTreebook, insertPage, 4}}, + {2000, {wxTreebook, insertSubPage, 4}}, + {2001, {wxTreebook, setImageList, 1}}, + {2002, {wxTreebook, setPageSize, 1}}, + {2003, {wxTreebook, setPageImage, 2}}, + {2004, {wxTreebook, setPageText, 2}}, + {2005, {wxTreebook, setSelection, 1}}, + {2006, {wxTreebook, changeSelection, 1}}, + {2007, {wxTreebook, 'Destroy', undefined}}, + {2010, {wxTreeCtrl, new_2, 2}}, + {2011, {wxTreeCtrl, new_0, 0}}, + {2013, {wxTreeCtrl, destruct, 0}}, + {2014, {wxTreeCtrl, addRoot, 2}}, + {2015, {wxTreeCtrl, appendItem, 3}}, + {2016, {wxTreeCtrl, assignImageList, 1}}, + {2017, {wxTreeCtrl, assignStateImageList, 1}}, + {2018, {wxTreeCtrl, collapse, 1}}, + {2019, {wxTreeCtrl, collapseAndReset, 1}}, + {2020, {wxTreeCtrl, create, 2}}, + {2021, {wxTreeCtrl, delete, 1}}, + {2022, {wxTreeCtrl, deleteAllItems, 0}}, + {2023, {wxTreeCtrl, deleteChildren, 1}}, + {2024, {wxTreeCtrl, editLabel, 1}}, + {2025, {wxTreeCtrl, ensureVisible, 1}}, + {2026, {wxTreeCtrl, expand, 1}}, + {2027, {wxTreeCtrl, getBoundingRect, 3}}, + {2029, {wxTreeCtrl, getChildrenCount, 2}}, + {2030, {wxTreeCtrl, getCount, 0}}, + {2031, {wxTreeCtrl, getEditControl, 0}}, + {2032, {wxTreeCtrl, getFirstChild, 2}}, + {2033, {wxTreeCtrl, getNextChild, 2}}, + {2034, {wxTreeCtrl, getFirstVisibleItem, 0}}, + {2035, {wxTreeCtrl, getImageList, 0}}, + {2036, {wxTreeCtrl, getIndent, 0}}, + {2037, {wxTreeCtrl, getItemBackgroundColour, 1}}, + {2038, {wxTreeCtrl, getItemData, 1}}, + {2039, {wxTreeCtrl, getItemFont, 1}}, + {2040, {wxTreeCtrl, getItemImage_1, 1}}, + {2041, {wxTreeCtrl, getItemImage_2, 2}}, + {2042, {wxTreeCtrl, getItemText, 1}}, + {2043, {wxTreeCtrl, getItemTextColour, 1}}, + {2044, {wxTreeCtrl, getLastChild, 1}}, + {2045, {wxTreeCtrl, getNextSibling, 1}}, + {2046, {wxTreeCtrl, getNextVisible, 1}}, + {2047, {wxTreeCtrl, getItemParent, 1}}, + {2048, {wxTreeCtrl, getPrevSibling, 1}}, + {2049, {wxTreeCtrl, getPrevVisible, 1}}, + {2050, {wxTreeCtrl, getRootItem, 0}}, + {2051, {wxTreeCtrl, getSelection, 0}}, + {2052, {wxTreeCtrl, getSelections, 1}}, + {2053, {wxTreeCtrl, getStateImageList, 0}}, + {2054, {wxTreeCtrl, hitTest, 1}}, + {2056, {wxTreeCtrl, insertItem, 4}}, + {2057, {wxTreeCtrl, isBold, 1}}, + {2058, {wxTreeCtrl, isExpanded, 1}}, + {2059, {wxTreeCtrl, isSelected, 1}}, + {2060, {wxTreeCtrl, isVisible, 1}}, + {2061, {wxTreeCtrl, itemHasChildren, 1}}, + {2062, {wxTreeCtrl, prependItem, 3}}, + {2063, {wxTreeCtrl, scrollTo, 1}}, + {2064, {wxTreeCtrl, selectItem_1, 1}}, + {2065, {wxTreeCtrl, selectItem_2, 2}}, + {2066, {wxTreeCtrl, setIndent, 1}}, + {2067, {wxTreeCtrl, setImageList, 1}}, + {2068, {wxTreeCtrl, setItemBackgroundColour, 2}}, + {2069, {wxTreeCtrl, setItemBold, 2}}, + {2070, {wxTreeCtrl, setItemData, 2}}, + {2071, {wxTreeCtrl, setItemDropHighlight, 2}}, + {2072, {wxTreeCtrl, setItemFont, 2}}, + {2073, {wxTreeCtrl, setItemHasChildren, 2}}, + {2074, {wxTreeCtrl, setItemImage_2, 2}}, + {2075, {wxTreeCtrl, setItemImage_3, 3}}, + {2076, {wxTreeCtrl, setItemText, 2}}, + {2077, {wxTreeCtrl, setItemTextColour, 2}}, + {2078, {wxTreeCtrl, setStateImageList, 1}}, + {2079, {wxTreeCtrl, setWindowStyle, 1}}, + {2080, {wxTreeCtrl, sortChildren, 1}}, + {2081, {wxTreeCtrl, toggle, 1}}, + {2082, {wxTreeCtrl, toggleItemSelection, 1}}, + {2083, {wxTreeCtrl, unselect, 0}}, + {2084, {wxTreeCtrl, unselectAll, 0}}, + {2085, {wxTreeCtrl, unselectItem, 1}}, + {2086, {wxScrollBar, new_0, 0}}, + {2087, {wxScrollBar, new_3, 3}}, + {2088, {wxScrollBar, destruct, 0}}, + {2089, {wxScrollBar, create, 3}}, + {2090, {wxScrollBar, getRange, 0}}, + {2091, {wxScrollBar, getPageSize, 0}}, + {2092, {wxScrollBar, getThumbPosition, 0}}, + {2093, {wxScrollBar, getThumbSize, 0}}, + {2094, {wxScrollBar, setThumbPosition, 1}}, + {2095, {wxScrollBar, setScrollbar, 5}}, + {2097, {wxSpinButton, new_2, 2}}, + {2098, {wxSpinButton, new_0, 0}}, + {2099, {wxSpinButton, create, 2}}, + {2100, {wxSpinButton, getMax, 0}}, + {2101, {wxSpinButton, getMin, 0}}, + {2102, {wxSpinButton, getValue, 0}}, + {2103, {wxSpinButton, setRange, 2}}, + {2104, {wxSpinButton, setValue, 1}}, + {2105, {wxSpinButton, 'Destroy', undefined}}, + {2106, {wxSpinCtrl, new_0, 0}}, + {2107, {wxSpinCtrl, new_2, 2}}, + {2109, {wxSpinCtrl, create, 2}}, + {2112, {wxSpinCtrl, setValue_1_1, 1}}, + {2113, {wxSpinCtrl, setValue_1_0, 1}}, + {2115, {wxSpinCtrl, getValue, 0}}, + {2117, {wxSpinCtrl, setRange, 2}}, + {2118, {wxSpinCtrl, setSelection, 2}}, + {2120, {wxSpinCtrl, getMin, 0}}, + {2122, {wxSpinCtrl, getMax, 0}}, + {2123, {wxSpinCtrl, 'Destroy', undefined}}, + {2124, {wxStaticText, new_0, 0}}, + {2125, {wxStaticText, new_4, 4}}, + {2126, {wxStaticText, create, 4}}, + {2127, {wxStaticText, getLabel, 0}}, + {2128, {wxStaticText, setLabel, 1}}, + {2129, {wxStaticText, wrap, 1}}, + {2130, {wxStaticText, 'Destroy', undefined}}, + {2131, {wxStaticBitmap, new_0, 0}}, + {2132, {wxStaticBitmap, new_4, 4}}, + {2133, {wxStaticBitmap, create, 4}}, + {2134, {wxStaticBitmap, getBitmap, 0}}, + {2135, {wxStaticBitmap, setBitmap, 1}}, + {2136, {wxStaticBitmap, 'Destroy', undefined}}, + {2137, {wxRadioBox, new, 7}}, + {2139, {wxRadioBox, destruct, 0}}, + {2140, {wxRadioBox, create, 7}}, + {2141, {wxRadioBox, enable_2, 2}}, + {2142, {wxRadioBox, enable_1, 1}}, + {2143, {wxRadioBox, getSelection, 0}}, + {2144, {wxRadioBox, getString, 1}}, + {2145, {wxRadioBox, setSelection, 1}}, + {2146, {wxRadioBox, show_2, 2}}, + {2147, {wxRadioBox, show_1, 1}}, + {2148, {wxRadioBox, getColumnCount, 0}}, + {2149, {wxRadioBox, getItemHelpText, 1}}, + {2150, {wxRadioBox, getItemToolTip, 1}}, + {2152, {wxRadioBox, getItemFromPoint, 1}}, + {2153, {wxRadioBox, getRowCount, 0}}, + {2154, {wxRadioBox, isItemEnabled, 1}}, + {2155, {wxRadioBox, isItemShown, 1}}, + {2156, {wxRadioBox, setItemHelpText, 2}}, + {2157, {wxRadioBox, setItemToolTip, 2}}, + {2158, {wxRadioButton, new_0, 0}}, + {2159, {wxRadioButton, new_4, 4}}, + {2160, {wxRadioButton, create, 4}}, + {2161, {wxRadioButton, getValue, 0}}, + {2162, {wxRadioButton, setValue, 1}}, + {2163, {wxRadioButton, 'Destroy', undefined}}, + {2165, {wxSlider, new_6, 6}}, + {2166, {wxSlider, new_0, 0}}, + {2167, {wxSlider, create, 6}}, + {2168, {wxSlider, getLineSize, 0}}, + {2169, {wxSlider, getMax, 0}}, + {2170, {wxSlider, getMin, 0}}, + {2171, {wxSlider, getPageSize, 0}}, + {2172, {wxSlider, getThumbLength, 0}}, + {2173, {wxSlider, getValue, 0}}, + {2174, {wxSlider, setLineSize, 1}}, + {2175, {wxSlider, setPageSize, 1}}, + {2176, {wxSlider, setRange, 2}}, + {2177, {wxSlider, setThumbLength, 1}}, + {2178, {wxSlider, setValue, 1}}, + {2179, {wxSlider, 'Destroy', undefined}}, + {2181, {wxDialog, new_4, 4}}, + {2182, {wxDialog, new_0, 0}}, + {2184, {wxDialog, destruct, 0}}, + {2185, {wxDialog, create, 4}}, + {2186, {wxDialog, createButtonSizer, 1}}, + {2187, {wxDialog, createStdDialogButtonSizer, 1}}, + {2188, {wxDialog, endModal, 1}}, + {2189, {wxDialog, getAffirmativeId, 0}}, + {2190, {wxDialog, getReturnCode, 0}}, + {2191, {wxDialog, isModal, 0}}, + {2192, {wxDialog, setAffirmativeId, 1}}, + {2193, {wxDialog, setReturnCode, 1}}, + {2194, {wxDialog, show, 1}}, + {2195, {wxDialog, showModal, 0}}, + {2196, {wxColourDialog, new_0, 0}}, + {2197, {wxColourDialog, new_2, 2}}, + {2198, {wxColourDialog, destruct, 0}}, + {2199, {wxColourDialog, create, 2}}, + {2200, {wxColourDialog, getColourData, 0}}, + {2201, {wxColourData, new_0, 0}}, + {2202, {wxColourData, new_1, 1}}, + {2203, {wxColourData, destruct, 0}}, + {2204, {wxColourData, getChooseFull, 0}}, + {2205, {wxColourData, getColour, 0}}, + {2207, {wxColourData, getCustomColour, 1}}, + {2208, {wxColourData, setChooseFull, 1}}, + {2209, {wxColourData, setColour, 1}}, + {2210, {wxColourData, setCustomColour, 2}}, + {2211, {wxPalette, new_0, 0}}, + {2212, {wxPalette, new_4, 4}}, + {2214, {wxPalette, destruct, 0}}, + {2215, {wxPalette, create, 4}}, + {2216, {wxPalette, getColoursCount, 0}}, + {2217, {wxPalette, getPixel, 3}}, + {2218, {wxPalette, getRGB, 4}}, + {2219, {wxPalette, isOk, 0}}, + {2223, {wxDirDialog, new, 2}}, + {2224, {wxDirDialog, destruct, 0}}, + {2225, {wxDirDialog, getPath, 0}}, + {2226, {wxDirDialog, getMessage, 0}}, + {2227, {wxDirDialog, setMessage, 1}}, + {2228, {wxDirDialog, setPath, 1}}, + {2232, {wxFileDialog, new, 2}}, + {2233, {wxFileDialog, destruct, 0}}, + {2234, {wxFileDialog, getDirectory, 0}}, + {2235, {wxFileDialog, getFilename, 0}}, + {2236, {wxFileDialog, getFilenames, 1}}, + {2237, {wxFileDialog, getFilterIndex, 0}}, + {2238, {wxFileDialog, getMessage, 0}}, + {2239, {wxFileDialog, getPath, 0}}, + {2240, {wxFileDialog, getPaths, 1}}, + {2241, {wxFileDialog, getWildcard, 0}}, + {2242, {wxFileDialog, setDirectory, 1}}, + {2243, {wxFileDialog, setFilename, 1}}, + {2244, {wxFileDialog, setFilterIndex, 1}}, + {2245, {wxFileDialog, setMessage, 1}}, + {2246, {wxFileDialog, setPath, 1}}, + {2247, {wxFileDialog, setWildcard, 1}}, + {2248, {wxPickerBase, setInternalMargin, 1}}, + {2249, {wxPickerBase, getInternalMargin, 0}}, + {2250, {wxPickerBase, setTextCtrlProportion, 1}}, + {2251, {wxPickerBase, setPickerCtrlProportion, 1}}, + {2252, {wxPickerBase, getTextCtrlProportion, 0}}, + {2253, {wxPickerBase, getPickerCtrlProportion, 0}}, + {2254, {wxPickerBase, hasTextCtrl, 0}}, + {2255, {wxPickerBase, getTextCtrl, 0}}, + {2256, {wxPickerBase, isTextCtrlGrowable, 0}}, + {2257, {wxPickerBase, setPickerCtrlGrowable, 1}}, + {2258, {wxPickerBase, setTextCtrlGrowable, 1}}, + {2259, {wxPickerBase, isPickerCtrlGrowable, 0}}, + {2260, {wxFilePickerCtrl, new_0, 0}}, + {2261, {wxFilePickerCtrl, new_3, 3}}, + {2262, {wxFilePickerCtrl, create, 3}}, + {2263, {wxFilePickerCtrl, getPath, 0}}, + {2264, {wxFilePickerCtrl, setPath, 1}}, + {2265, {wxFilePickerCtrl, 'Destroy', undefined}}, + {2266, {wxDirPickerCtrl, new_0, 0}}, + {2267, {wxDirPickerCtrl, new_3, 3}}, + {2268, {wxDirPickerCtrl, create, 3}}, + {2269, {wxDirPickerCtrl, getPath, 0}}, + {2270, {wxDirPickerCtrl, setPath, 1}}, + {2271, {wxDirPickerCtrl, 'Destroy', undefined}}, + {2272, {wxColourPickerCtrl, new_0, 0}}, + {2273, {wxColourPickerCtrl, new_3, 3}}, + {2274, {wxColourPickerCtrl, create, 3}}, + {2275, {wxColourPickerCtrl, getColour, 0}}, + {2276, {wxColourPickerCtrl, setColour_1_1, 1}}, + {2277, {wxColourPickerCtrl, setColour_1_0, 1}}, + {2278, {wxColourPickerCtrl, 'Destroy', undefined}}, + {2279, {wxDatePickerCtrl, new_0, 0}}, + {2280, {wxDatePickerCtrl, new_3, 3}}, + {2281, {wxDatePickerCtrl, getRange, 2}}, + {2282, {wxDatePickerCtrl, getValue, 0}}, + {2283, {wxDatePickerCtrl, setRange, 2}}, + {2284, {wxDatePickerCtrl, setValue, 1}}, + {2285, {wxDatePickerCtrl, 'Destroy', undefined}}, + {2286, {wxFontPickerCtrl, new_0, 0}}, + {2287, {wxFontPickerCtrl, new_3, 3}}, + {2288, {wxFontPickerCtrl, create, 3}}, + {2289, {wxFontPickerCtrl, getSelectedFont, 0}}, + {2290, {wxFontPickerCtrl, setSelectedFont, 1}}, + {2291, {wxFontPickerCtrl, getMaxPointSize, 0}}, + {2292, {wxFontPickerCtrl, setMaxPointSize, 1}}, + {2293, {wxFontPickerCtrl, 'Destroy', undefined}}, + {2296, {wxFindReplaceDialog, new_0, 0}}, + {2297, {wxFindReplaceDialog, new_4, 4}}, + {2298, {wxFindReplaceDialog, destruct, 0}}, + {2299, {wxFindReplaceDialog, create, 4}}, + {2300, {wxFindReplaceDialog, getData, 0}}, + {2301, {wxFindReplaceData, new_0, 0}}, + {2302, {wxFindReplaceData, new_1, 1}}, + {2303, {wxFindReplaceData, getFindString, 0}}, + {2304, {wxFindReplaceData, getReplaceString, 0}}, + {2305, {wxFindReplaceData, getFlags, 0}}, + {2306, {wxFindReplaceData, setFlags, 1}}, + {2307, {wxFindReplaceData, setFindString, 1}}, + {2308, {wxFindReplaceData, setReplaceString, 1}}, + {2309, {wxFindReplaceData, 'Destroy', undefined}}, + {2310, {wxMultiChoiceDialog, new_0, 0}}, + {2312, {wxMultiChoiceDialog, new_5, 5}}, + {2313, {wxMultiChoiceDialog, getSelections, 0}}, + {2314, {wxMultiChoiceDialog, setSelections, 1}}, + {2315, {wxMultiChoiceDialog, 'Destroy', undefined}}, + {2316, {wxSingleChoiceDialog, new_0, 0}}, + {2318, {wxSingleChoiceDialog, new_5, 5}}, + {2319, {wxSingleChoiceDialog, getSelection, 0}}, + {2320, {wxSingleChoiceDialog, getStringSelection, 0}}, + {2321, {wxSingleChoiceDialog, setSelection, 1}}, + {2322, {wxSingleChoiceDialog, 'Destroy', undefined}}, + {2323, {wxTextEntryDialog, new, 3}}, + {2324, {wxTextEntryDialog, getValue, 0}}, + {2325, {wxTextEntryDialog, setValue, 1}}, + {2326, {wxTextEntryDialog, 'Destroy', undefined}}, + {2327, {wxPasswordEntryDialog, new, 3}}, + {2328, {wxPasswordEntryDialog, 'Destroy', undefined}}, + {2329, {wxFontData, new_0, 0}}, + {2330, {wxFontData, new_1, 1}}, + {2331, {wxFontData, destruct, 0}}, + {2332, {wxFontData, enableEffects, 1}}, + {2333, {wxFontData, getAllowSymbols, 0}}, + {2334, {wxFontData, getColour, 0}}, + {2335, {wxFontData, getChosenFont, 0}}, + {2336, {wxFontData, getEnableEffects, 0}}, + {2337, {wxFontData, getInitialFont, 0}}, + {2338, {wxFontData, getShowHelp, 0}}, + {2339, {wxFontData, setAllowSymbols, 1}}, + {2340, {wxFontData, setChosenFont, 1}}, + {2341, {wxFontData, setColour, 1}}, + {2342, {wxFontData, setInitialFont, 1}}, + {2343, {wxFontData, setRange, 2}}, + {2344, {wxFontData, setShowHelp, 1}}, + {2348, {wxFontDialog, new_0, 0}}, + {2350, {wxFontDialog, new_2, 2}}, + {2352, {wxFontDialog, create, 2}}, + {2353, {wxFontDialog, getFontData, 0}}, + {2355, {wxFontDialog, 'Destroy', undefined}}, + {2356, {wxProgressDialog, new, 3}}, + {2357, {wxProgressDialog, destruct, 0}}, + {2358, {wxProgressDialog, resume, 0}}, + {2359, {wxProgressDialog, update_2, 2}}, + {2360, {wxProgressDialog, update_0, 0}}, + {2361, {wxMessageDialog, new, 3}}, + {2362, {wxMessageDialog, destruct, 0}}, + {2363, {wxPageSetupDialog, new, 2}}, + {2364, {wxPageSetupDialog, destruct, 0}}, + {2365, {wxPageSetupDialog, getPageSetupData, 0}}, + {2366, {wxPageSetupDialog, showModal, 0}}, + {2367, {wxPageSetupDialogData, new_0, 0}}, + {2368, {wxPageSetupDialogData, new_1_0, 1}}, + {2369, {wxPageSetupDialogData, new_1_1, 1}}, + {2370, {wxPageSetupDialogData, destruct, 0}}, + {2371, {wxPageSetupDialogData, enableHelp, 1}}, + {2372, {wxPageSetupDialogData, enableMargins, 1}}, + {2373, {wxPageSetupDialogData, enableOrientation, 1}}, + {2374, {wxPageSetupDialogData, enablePaper, 1}}, + {2375, {wxPageSetupDialogData, enablePrinter, 1}}, + {2376, {wxPageSetupDialogData, getDefaultMinMargins, 0}}, + {2377, {wxPageSetupDialogData, getEnableMargins, 0}}, + {2378, {wxPageSetupDialogData, getEnableOrientation, 0}}, + {2379, {wxPageSetupDialogData, getEnablePaper, 0}}, + {2380, {wxPageSetupDialogData, getEnablePrinter, 0}}, + {2381, {wxPageSetupDialogData, getEnableHelp, 0}}, + {2382, {wxPageSetupDialogData, getDefaultInfo, 0}}, + {2383, {wxPageSetupDialogData, getMarginTopLeft, 0}}, + {2384, {wxPageSetupDialogData, getMarginBottomRight, 0}}, + {2385, {wxPageSetupDialogData, getMinMarginTopLeft, 0}}, + {2386, {wxPageSetupDialogData, getMinMarginBottomRight, 0}}, + {2387, {wxPageSetupDialogData, getPaperId, 0}}, + {2388, {wxPageSetupDialogData, getPaperSize, 0}}, + {2390, {wxPageSetupDialogData, getPrintData, 0}}, + {2391, {wxPageSetupDialogData, isOk, 0}}, + {2392, {wxPageSetupDialogData, setDefaultInfo, 1}}, + {2393, {wxPageSetupDialogData, setDefaultMinMargins, 1}}, + {2394, {wxPageSetupDialogData, setMarginTopLeft, 1}}, + {2395, {wxPageSetupDialogData, setMarginBottomRight, 1}}, + {2396, {wxPageSetupDialogData, setMinMarginTopLeft, 1}}, + {2397, {wxPageSetupDialogData, setMinMarginBottomRight, 1}}, + {2398, {wxPageSetupDialogData, setPaperId, 1}}, + {2399, {wxPageSetupDialogData, setPaperSize_1_1, 1}}, + {2400, {wxPageSetupDialogData, setPaperSize_1_0, 1}}, + {2401, {wxPageSetupDialogData, setPrintData, 1}}, + {2402, {wxPrintDialog, new_2_0, 2}}, + {2403, {wxPrintDialog, new_2_1, 2}}, + {2404, {wxPrintDialog, destruct, 0}}, + {2405, {wxPrintDialog, getPrintDialogData, 0}}, + {2406, {wxPrintDialog, getPrintDC, 0}}, + {2407, {wxPrintDialogData, new_0, 0}}, + {2408, {wxPrintDialogData, new_1_1, 1}}, + {2409, {wxPrintDialogData, new_1_0, 1}}, + {2410, {wxPrintDialogData, destruct, 0}}, + {2411, {wxPrintDialogData, enableHelp, 1}}, + {2412, {wxPrintDialogData, enablePageNumbers, 1}}, + {2413, {wxPrintDialogData, enablePrintToFile, 1}}, + {2414, {wxPrintDialogData, enableSelection, 1}}, + {2415, {wxPrintDialogData, getAllPages, 0}}, + {2416, {wxPrintDialogData, getCollate, 0}}, + {2417, {wxPrintDialogData, getFromPage, 0}}, + {2418, {wxPrintDialogData, getMaxPage, 0}}, + {2419, {wxPrintDialogData, getMinPage, 0}}, + {2420, {wxPrintDialogData, getNoCopies, 0}}, + {2421, {wxPrintDialogData, getPrintData, 0}}, + {2422, {wxPrintDialogData, getPrintToFile, 0}}, + {2423, {wxPrintDialogData, getSelection, 0}}, + {2424, {wxPrintDialogData, getToPage, 0}}, + {2425, {wxPrintDialogData, isOk, 0}}, + {2426, {wxPrintDialogData, setCollate, 1}}, + {2427, {wxPrintDialogData, setFromPage, 1}}, + {2428, {wxPrintDialogData, setMaxPage, 1}}, + {2429, {wxPrintDialogData, setMinPage, 1}}, + {2430, {wxPrintDialogData, setNoCopies, 1}}, + {2431, {wxPrintDialogData, setPrintData, 1}}, + {2432, {wxPrintDialogData, setPrintToFile, 1}}, + {2433, {wxPrintDialogData, setSelection, 1}}, + {2434, {wxPrintDialogData, setToPage, 1}}, + {2435, {wxPrintData, new_0, 0}}, + {2436, {wxPrintData, new_1, 1}}, + {2437, {wxPrintData, destruct, 0}}, + {2438, {wxPrintData, getCollate, 0}}, + {2439, {wxPrintData, getBin, 0}}, + {2440, {wxPrintData, getColour, 0}}, + {2441, {wxPrintData, getDuplex, 0}}, + {2442, {wxPrintData, getNoCopies, 0}}, + {2443, {wxPrintData, getOrientation, 0}}, + {2444, {wxPrintData, getPaperId, 0}}, + {2445, {wxPrintData, getPrinterName, 0}}, + {2446, {wxPrintData, getQuality, 0}}, + {2447, {wxPrintData, isOk, 0}}, + {2448, {wxPrintData, setBin, 1}}, + {2449, {wxPrintData, setCollate, 1}}, + {2450, {wxPrintData, setColour, 1}}, + {2451, {wxPrintData, setDuplex, 1}}, + {2452, {wxPrintData, setNoCopies, 1}}, + {2453, {wxPrintData, setOrientation, 1}}, + {2454, {wxPrintData, setPaperId, 1}}, + {2455, {wxPrintData, setPrinterName, 1}}, + {2456, {wxPrintData, setQuality, 1}}, + {2459, {wxPrintPreview, new_2, 2}}, + {2460, {wxPrintPreview, new_3, 3}}, + {2462, {wxPrintPreview, destruct, 0}}, + {2463, {wxPrintPreview, getCanvas, 0}}, + {2464, {wxPrintPreview, getCurrentPage, 0}}, + {2465, {wxPrintPreview, getFrame, 0}}, + {2466, {wxPrintPreview, getMaxPage, 0}}, + {2467, {wxPrintPreview, getMinPage, 0}}, + {2468, {wxPrintPreview, getPrintout, 0}}, + {2469, {wxPrintPreview, getPrintoutForPrinting, 0}}, + {2470, {wxPrintPreview, isOk, 0}}, + {2471, {wxPrintPreview, paintPage, 2}}, + {2472, {wxPrintPreview, print, 1}}, + {2473, {wxPrintPreview, renderPage, 1}}, + {2474, {wxPrintPreview, setCanvas, 1}}, + {2475, {wxPrintPreview, setCurrentPage, 1}}, + {2476, {wxPrintPreview, setFrame, 1}}, + {2477, {wxPrintPreview, setPrintout, 1}}, + {2478, {wxPrintPreview, setZoom, 1}}, + {2479, {wxPreviewFrame, new, 3}}, + {2480, {wxPreviewFrame, destruct, 0}}, + {2481, {wxPreviewFrame, createControlBar, 0}}, + {2482, {wxPreviewFrame, createCanvas, 0}}, + {2483, {wxPreviewFrame, initialize, 0}}, + {2484, {wxPreviewFrame, onCloseWindow, 1}}, + {2485, {wxPreviewControlBar, new, 4}}, + {2486, {wxPreviewControlBar, destruct, 0}}, + {2487, {wxPreviewControlBar, createButtons, 0}}, + {2488, {wxPreviewControlBar, getPrintPreview, 0}}, + {2489, {wxPreviewControlBar, getZoomControl, 0}}, + {2490, {wxPreviewControlBar, setZoomControl, 1}}, + {2492, {wxPrinter, new, 1}}, + {2493, {wxPrinter, createAbortWindow, 2}}, + {2494, {wxPrinter, getAbort, 0}}, + {2495, {wxPrinter, getLastError, 0}}, + {2496, {wxPrinter, getPrintDialogData, 0}}, + {2497, {wxPrinter, print, 3}}, + {2498, {wxPrinter, printDialog, 1}}, + {2499, {wxPrinter, reportError, 3}}, + {2500, {wxPrinter, setup, 1}}, + {2501, {wxPrinter, 'Destroy', undefined}}, + {2502, {wxXmlResource, new_1, 1}}, + {2503, {wxXmlResource, new_2, 2}}, + {2504, {wxXmlResource, destruct, 0}}, + {2505, {wxXmlResource, attachUnknownControl, 3}}, + {2506, {wxXmlResource, clearHandlers, 0}}, + {2507, {wxXmlResource, compareVersion, 4}}, + {2508, {wxXmlResource, get, 0}}, + {2509, {wxXmlResource, getFlags, 0}}, + {2510, {wxXmlResource, getVersion, 0}}, + {2511, {wxXmlResource, getXRCID, 2}}, + {2512, {wxXmlResource, initAllHandlers, 0}}, + {2513, {wxXmlResource, load, 1}}, + {2514, {wxXmlResource, loadBitmap, 1}}, + {2515, {wxXmlResource, loadDialog_2, 2}}, + {2516, {wxXmlResource, loadDialog_3, 3}}, + {2517, {wxXmlResource, loadFrame_2, 2}}, + {2518, {wxXmlResource, loadFrame_3, 3}}, + {2519, {wxXmlResource, loadIcon, 1}}, + {2520, {wxXmlResource, loadMenu, 1}}, + {2521, {wxXmlResource, loadMenuBar_2, 2}}, + {2522, {wxXmlResource, loadMenuBar_1, 1}}, + {2523, {wxXmlResource, loadPanel_2, 2}}, + {2524, {wxXmlResource, loadPanel_3, 3}}, + {2525, {wxXmlResource, loadToolBar, 2}}, + {2526, {wxXmlResource, set, 1}}, + {2527, {wxXmlResource, setFlags, 1}}, + {2528, {wxXmlResource, unload, 1}}, + {2529, {wxXmlResource, xrcctrl, 3}}, + {2530, {wxHtmlEasyPrinting, new, 1}}, + {2531, {wxHtmlEasyPrinting, destruct, 0}}, + {2532, {wxHtmlEasyPrinting, getPrintData, 0}}, + {2533, {wxHtmlEasyPrinting, getPageSetupData, 0}}, + {2534, {wxHtmlEasyPrinting, previewFile, 1}}, + {2535, {wxHtmlEasyPrinting, previewText, 2}}, + {2536, {wxHtmlEasyPrinting, printFile, 1}}, + {2537, {wxHtmlEasyPrinting, printText, 2}}, + {2538, {wxHtmlEasyPrinting, pageSetup, 0}}, + {2539, {wxHtmlEasyPrinting, setFonts, 3}}, + {2540, {wxHtmlEasyPrinting, setHeader, 2}}, + {2541, {wxHtmlEasyPrinting, setFooter, 2}}, + {2543, {wxGLCanvas, new_2, 2}}, + {2544, {wxGLCanvas, new_3_1, 3}}, + {2545, {wxGLCanvas, new_3_0, 3}}, + {2546, {wxGLCanvas, getContext, 0}}, + {2548, {wxGLCanvas, setCurrent, 0}}, + {2549, {wxGLCanvas, swapBuffers, 0}}, + {2550, {wxGLCanvas, 'Destroy', undefined}}, + {2551, {wxAuiManager, new, 1}}, + {2552, {wxAuiManager, destruct, 0}}, + {2553, {wxAuiManager, addPane_2_1, 2}}, + {2554, {wxAuiManager, addPane_3, 3}}, + {2555, {wxAuiManager, addPane_2_0, 2}}, + {2556, {wxAuiManager, detachPane, 1}}, + {2557, {wxAuiManager, getAllPanes, 0}}, + {2558, {wxAuiManager, getArtProvider, 0}}, + {2559, {wxAuiManager, getDockSizeConstraint, 2}}, + {2560, {wxAuiManager, getFlags, 0}}, + {2561, {wxAuiManager, getManagedWindow, 0}}, + {2562, {wxAuiManager, getManager, 1}}, + {2563, {wxAuiManager, getPane_1_1, 1}}, + {2564, {wxAuiManager, getPane_1_0, 1}}, + {2565, {wxAuiManager, hideHint, 0}}, + {2566, {wxAuiManager, insertPane, 3}}, + {2567, {wxAuiManager, loadPaneInfo, 2}}, + {2568, {wxAuiManager, loadPerspective, 2}}, + {2569, {wxAuiManager, savePaneInfo, 1}}, + {2570, {wxAuiManager, savePerspective, 0}}, + {2571, {wxAuiManager, setArtProvider, 1}}, + {2572, {wxAuiManager, setDockSizeConstraint, 2}}, + {2573, {wxAuiManager, setFlags, 1}}, + {2574, {wxAuiManager, setManagedWindow, 1}}, + {2575, {wxAuiManager, showHint, 1}}, + {2576, {wxAuiManager, unInit, 0}}, + {2577, {wxAuiManager, update, 0}}, + {2578, {wxAuiPaneInfo, new_0, 0}}, + {2579, {wxAuiPaneInfo, new_1, 1}}, + {2580, {wxAuiPaneInfo, destruct, 0}}, + {2581, {wxAuiPaneInfo, bestSize_1, 1}}, + {2582, {wxAuiPaneInfo, bestSize_2, 2}}, + {2583, {wxAuiPaneInfo, bottom, 0}}, + {2584, {wxAuiPaneInfo, bottomDockable, 1}}, + {2585, {wxAuiPaneInfo, caption, 1}}, + {2586, {wxAuiPaneInfo, captionVisible, 1}}, + {2587, {wxAuiPaneInfo, centre, 0}}, + {2588, {wxAuiPaneInfo, centrePane, 0}}, + {2589, {wxAuiPaneInfo, closeButton, 1}}, + {2590, {wxAuiPaneInfo, defaultPane, 0}}, + {2591, {wxAuiPaneInfo, destroyOnClose, 1}}, + {2592, {wxAuiPaneInfo, direction, 1}}, + {2593, {wxAuiPaneInfo, dock, 0}}, + {2594, {wxAuiPaneInfo, dockable, 1}}, + {2595, {wxAuiPaneInfo, fixed, 0}}, + {2596, {wxAuiPaneInfo, float, 0}}, + {2597, {wxAuiPaneInfo, floatable, 1}}, + {2598, {wxAuiPaneInfo, floatingPosition_1, 1}}, + {2599, {wxAuiPaneInfo, floatingPosition_2, 2}}, + {2600, {wxAuiPaneInfo, floatingSize_1, 1}}, + {2601, {wxAuiPaneInfo, floatingSize_2, 2}}, + {2602, {wxAuiPaneInfo, gripper, 1}}, + {2603, {wxAuiPaneInfo, gripperTop, 1}}, + {2604, {wxAuiPaneInfo, hasBorder, 0}}, + {2605, {wxAuiPaneInfo, hasCaption, 0}}, + {2606, {wxAuiPaneInfo, hasCloseButton, 0}}, + {2607, {wxAuiPaneInfo, hasFlag, 1}}, + {2608, {wxAuiPaneInfo, hasGripper, 0}}, + {2609, {wxAuiPaneInfo, hasGripperTop, 0}}, + {2610, {wxAuiPaneInfo, hasMaximizeButton, 0}}, + {2611, {wxAuiPaneInfo, hasMinimizeButton, 0}}, + {2612, {wxAuiPaneInfo, hasPinButton, 0}}, + {2613, {wxAuiPaneInfo, hide, 0}}, + {2614, {wxAuiPaneInfo, isBottomDockable, 0}}, + {2615, {wxAuiPaneInfo, isDocked, 0}}, + {2616, {wxAuiPaneInfo, isFixed, 0}}, + {2617, {wxAuiPaneInfo, isFloatable, 0}}, + {2618, {wxAuiPaneInfo, isFloating, 0}}, + {2619, {wxAuiPaneInfo, isLeftDockable, 0}}, + {2620, {wxAuiPaneInfo, isMovable, 0}}, + {2621, {wxAuiPaneInfo, isOk, 0}}, + {2622, {wxAuiPaneInfo, isResizable, 0}}, + {2623, {wxAuiPaneInfo, isRightDockable, 0}}, + {2624, {wxAuiPaneInfo, isShown, 0}}, + {2625, {wxAuiPaneInfo, isToolbar, 0}}, + {2626, {wxAuiPaneInfo, isTopDockable, 0}}, + {2627, {wxAuiPaneInfo, layer, 1}}, + {2628, {wxAuiPaneInfo, left, 0}}, + {2629, {wxAuiPaneInfo, leftDockable, 1}}, + {2630, {wxAuiPaneInfo, maxSize_1, 1}}, + {2631, {wxAuiPaneInfo, maxSize_2, 2}}, + {2632, {wxAuiPaneInfo, maximizeButton, 1}}, + {2633, {wxAuiPaneInfo, minSize_1, 1}}, + {2634, {wxAuiPaneInfo, minSize_2, 2}}, + {2635, {wxAuiPaneInfo, minimizeButton, 1}}, + {2636, {wxAuiPaneInfo, movable, 1}}, + {2637, {wxAuiPaneInfo, name, 1}}, + {2638, {wxAuiPaneInfo, paneBorder, 1}}, + {2639, {wxAuiPaneInfo, pinButton, 1}}, + {2640, {wxAuiPaneInfo, position, 1}}, + {2641, {wxAuiPaneInfo, resizable, 1}}, + {2642, {wxAuiPaneInfo, right, 0}}, + {2643, {wxAuiPaneInfo, rightDockable, 1}}, + {2644, {wxAuiPaneInfo, row, 1}}, + {2645, {wxAuiPaneInfo, safeSet, 1}}, + {2646, {wxAuiPaneInfo, setFlag, 2}}, + {2647, {wxAuiPaneInfo, show, 1}}, + {2648, {wxAuiPaneInfo, toolbarPane, 0}}, + {2649, {wxAuiPaneInfo, top, 0}}, + {2650, {wxAuiPaneInfo, topDockable, 1}}, + {2651, {wxAuiPaneInfo, window, 1}}, + {2652, {wxAuiNotebook, new_0, 0}}, + {2653, {wxAuiNotebook, new_2, 2}}, + {2654, {wxAuiNotebook, addPage, 3}}, + {2655, {wxAuiNotebook, create, 2}}, + {2656, {wxAuiNotebook, deletePage, 1}}, + {2657, {wxAuiNotebook, getArtProvider, 0}}, + {2658, {wxAuiNotebook, getPage, 1}}, + {2659, {wxAuiNotebook, getPageBitmap, 1}}, + {2660, {wxAuiNotebook, getPageCount, 0}}, + {2661, {wxAuiNotebook, getPageIndex, 1}}, + {2662, {wxAuiNotebook, getPageText, 1}}, + {2663, {wxAuiNotebook, getSelection, 0}}, + {2664, {wxAuiNotebook, insertPage, 4}}, + {2665, {wxAuiNotebook, removePage, 1}}, + {2666, {wxAuiNotebook, setArtProvider, 1}}, + {2667, {wxAuiNotebook, setFont, 1}}, + {2668, {wxAuiNotebook, setPageBitmap, 2}}, + {2669, {wxAuiNotebook, setPageText, 2}}, + {2670, {wxAuiNotebook, setSelection, 1}}, + {2671, {wxAuiNotebook, setTabCtrlHeight, 1}}, + {2672, {wxAuiNotebook, setUniformBitmapSize, 1}}, + {2673, {wxAuiNotebook, 'Destroy', undefined}}, + {2674, {wxMDIParentFrame, new_0, 0}}, + {2675, {wxMDIParentFrame, new_4, 4}}, + {2676, {wxMDIParentFrame, destruct, 0}}, + {2677, {wxMDIParentFrame, activateNext, 0}}, + {2678, {wxMDIParentFrame, activatePrevious, 0}}, + {2679, {wxMDIParentFrame, arrangeIcons, 0}}, + {2680, {wxMDIParentFrame, cascade, 0}}, + {2681, {wxMDIParentFrame, create, 4}}, + {2682, {wxMDIParentFrame, getActiveChild, 0}}, + {2683, {wxMDIParentFrame, getClientWindow, 0}}, + {2684, {wxMDIParentFrame, tile, 1}}, + {2685, {wxMDIChildFrame, new_0, 0}}, + {2686, {wxMDIChildFrame, new_4, 4}}, + {2687, {wxMDIChildFrame, destruct, 0}}, + {2688, {wxMDIChildFrame, activate, 0}}, + {2689, {wxMDIChildFrame, create, 4}}, + {2690, {wxMDIChildFrame, maximize, 1}}, + {2691, {wxMDIChildFrame, restore, 0}}, + {2692, {wxMDIClientWindow, new_0, 0}}, + {2693, {wxMDIClientWindow, new_2, 2}}, + {2694, {wxMDIClientWindow, destruct, 0}}, + {2695, {wxMDIClientWindow, createClient, 2}}, + {2696, {wxLayoutAlgorithm, new, 0}}, + {2697, {wxLayoutAlgorithm, layoutFrame, 2}}, + {2698, {wxLayoutAlgorithm, layoutMDIFrame, 2}}, + {2699, {wxLayoutAlgorithm, layoutWindow, 2}}, + {2700, {wxLayoutAlgorithm, 'Destroy', undefined}}, + {2701, {wxEvent, getId, 0}}, + {2702, {wxEvent, getSkipped, 0}}, + {2703, {wxEvent, getTimestamp, 0}}, + {2704, {wxEvent, isCommandEvent, 0}}, + {2705, {wxEvent, resumePropagation, 1}}, + {2706, {wxEvent, shouldPropagate, 0}}, + {2707, {wxEvent, skip, 1}}, + {2708, {wxEvent, stopPropagation, 0}}, + {2709, {wxCommandEvent, getClientData, 0}}, + {2710, {wxCommandEvent, getExtraLong, 0}}, + {2711, {wxCommandEvent, getInt, 0}}, + {2712, {wxCommandEvent, getSelection, 0}}, + {2713, {wxCommandEvent, getString, 0}}, + {2714, {wxCommandEvent, isChecked, 0}}, + {2715, {wxCommandEvent, isSelection, 0}}, + {2716, {wxCommandEvent, setInt, 1}}, + {2717, {wxCommandEvent, setString, 1}}, + {2718, {wxScrollEvent, getOrientation, 0}}, + {2719, {wxScrollEvent, getPosition, 0}}, + {2720, {wxScrollWinEvent, getOrientation, 0}}, + {2721, {wxScrollWinEvent, getPosition, 0}}, + {2722, {wxMouseEvent, altDown, 0}}, + {2723, {wxMouseEvent, button, 1}}, + {2724, {wxMouseEvent, buttonDClick, 1}}, + {2725, {wxMouseEvent, buttonDown, 1}}, + {2726, {wxMouseEvent, buttonUp, 1}}, + {2727, {wxMouseEvent, cmdDown, 0}}, + {2728, {wxMouseEvent, controlDown, 0}}, + {2729, {wxMouseEvent, dragging, 0}}, + {2730, {wxMouseEvent, entering, 0}}, + {2731, {wxMouseEvent, getButton, 0}}, + {2734, {wxMouseEvent, getPosition, 0}}, + {2735, {wxMouseEvent, getLogicalPosition, 1}}, + {2736, {wxMouseEvent, getLinesPerAction, 0}}, + {2737, {wxMouseEvent, getWheelRotation, 0}}, + {2738, {wxMouseEvent, getWheelDelta, 0}}, + {2739, {wxMouseEvent, getX, 0}}, + {2740, {wxMouseEvent, getY, 0}}, + {2741, {wxMouseEvent, isButton, 0}}, + {2742, {wxMouseEvent, isPageScroll, 0}}, + {2743, {wxMouseEvent, leaving, 0}}, + {2744, {wxMouseEvent, leftDClick, 0}}, + {2745, {wxMouseEvent, leftDown, 0}}, + {2746, {wxMouseEvent, leftIsDown, 0}}, + {2747, {wxMouseEvent, leftUp, 0}}, + {2748, {wxMouseEvent, metaDown, 0}}, + {2749, {wxMouseEvent, middleDClick, 0}}, + {2750, {wxMouseEvent, middleDown, 0}}, + {2751, {wxMouseEvent, middleIsDown, 0}}, + {2752, {wxMouseEvent, middleUp, 0}}, + {2753, {wxMouseEvent, moving, 0}}, + {2754, {wxMouseEvent, rightDClick, 0}}, + {2755, {wxMouseEvent, rightDown, 0}}, + {2756, {wxMouseEvent, rightIsDown, 0}}, + {2757, {wxMouseEvent, rightUp, 0}}, + {2758, {wxMouseEvent, shiftDown, 0}}, + {2759, {wxSetCursorEvent, getCursor, 0}}, + {2760, {wxSetCursorEvent, getX, 0}}, + {2761, {wxSetCursorEvent, getY, 0}}, + {2762, {wxSetCursorEvent, hasCursor, 0}}, + {2763, {wxSetCursorEvent, setCursor, 1}}, + {2764, {wxKeyEvent, altDown, 0}}, + {2765, {wxKeyEvent, cmdDown, 0}}, + {2766, {wxKeyEvent, controlDown, 0}}, + {2767, {wxKeyEvent, getKeyCode, 0}}, + {2768, {wxKeyEvent, getModifiers, 0}}, + {2771, {wxKeyEvent, getPosition, 0}}, + {2772, {wxKeyEvent, getRawKeyCode, 0}}, + {2773, {wxKeyEvent, getRawKeyFlags, 0}}, + {2774, {wxKeyEvent, getUnicodeKey, 0}}, + {2775, {wxKeyEvent, getX, 0}}, + {2776, {wxKeyEvent, getY, 0}}, + {2777, {wxKeyEvent, hasModifiers, 0}}, + {2778, {wxKeyEvent, metaDown, 0}}, + {2779, {wxKeyEvent, shiftDown, 0}}, + {2780, {wxSizeEvent, getSize, 0}}, + {2781, {wxMoveEvent, getPosition, 0}}, + {2782, {wxEraseEvent, getDC, 0}}, + {2783, {wxFocusEvent, getWindow, 0}}, + {2784, {wxChildFocusEvent, getWindow, 0}}, + {2785, {wxMenuEvent, getMenu, 0}}, + {2786, {wxMenuEvent, getMenuId, 0}}, + {2787, {wxMenuEvent, isPopup, 0}}, + {2788, {wxCloseEvent, canVeto, 0}}, + {2789, {wxCloseEvent, getLoggingOff, 0}}, + {2790, {wxCloseEvent, setCanVeto, 1}}, + {2791, {wxCloseEvent, setLoggingOff, 1}}, + {2792, {wxCloseEvent, veto, 1}}, + {2793, {wxShowEvent, setShow, 1}}, + {2794, {wxShowEvent, getShow, 0}}, + {2795, {wxIconizeEvent, iconized, 0}}, + {2796, {wxJoystickEvent, buttonDown, 1}}, + {2797, {wxJoystickEvent, buttonIsDown, 1}}, + {2798, {wxJoystickEvent, buttonUp, 1}}, + {2799, {wxJoystickEvent, getButtonChange, 0}}, + {2800, {wxJoystickEvent, getButtonState, 0}}, + {2801, {wxJoystickEvent, getJoystick, 0}}, + {2802, {wxJoystickEvent, getPosition, 0}}, + {2803, {wxJoystickEvent, getZPosition, 0}}, + {2804, {wxJoystickEvent, isButton, 0}}, + {2805, {wxJoystickEvent, isMove, 0}}, + {2806, {wxJoystickEvent, isZMove, 0}}, + {2807, {wxUpdateUIEvent, canUpdate, 1}}, + {2808, {wxUpdateUIEvent, check, 1}}, + {2809, {wxUpdateUIEvent, enable, 1}}, + {2810, {wxUpdateUIEvent, show, 1}}, + {2811, {wxUpdateUIEvent, getChecked, 0}}, + {2812, {wxUpdateUIEvent, getEnabled, 0}}, + {2813, {wxUpdateUIEvent, getShown, 0}}, + {2814, {wxUpdateUIEvent, getSetChecked, 0}}, + {2815, {wxUpdateUIEvent, getSetEnabled, 0}}, + {2816, {wxUpdateUIEvent, getSetShown, 0}}, + {2817, {wxUpdateUIEvent, getSetText, 0}}, + {2818, {wxUpdateUIEvent, getText, 0}}, + {2819, {wxUpdateUIEvent, getMode, 0}}, + {2820, {wxUpdateUIEvent, getUpdateInterval, 0}}, + {2821, {wxUpdateUIEvent, resetUpdateTime, 0}}, + {2822, {wxUpdateUIEvent, setMode, 1}}, + {2823, {wxUpdateUIEvent, setText, 1}}, + {2824, {wxUpdateUIEvent, setUpdateInterval, 1}}, + {2825, {wxMouseCaptureChangedEvent, getCapturedWindow, 0}}, + {2826, {wxPaletteChangedEvent, setChangedWindow, 1}}, + {2827, {wxPaletteChangedEvent, getChangedWindow, 0}}, + {2828, {wxQueryNewPaletteEvent, setPaletteRealized, 1}}, + {2829, {wxQueryNewPaletteEvent, getPaletteRealized, 0}}, + {2830, {wxNavigationKeyEvent, getDirection, 0}}, + {2831, {wxNavigationKeyEvent, setDirection, 1}}, + {2832, {wxNavigationKeyEvent, isWindowChange, 0}}, + {2833, {wxNavigationKeyEvent, setWindowChange, 1}}, + {2834, {wxNavigationKeyEvent, isFromTab, 0}}, + {2835, {wxNavigationKeyEvent, setFromTab, 1}}, + {2836, {wxNavigationKeyEvent, getCurrentFocus, 0}}, + {2837, {wxNavigationKeyEvent, setCurrentFocus, 1}}, + {2838, {wxHelpEvent, getOrigin, 0}}, + {2839, {wxHelpEvent, getPosition, 0}}, + {2840, {wxHelpEvent, setOrigin, 1}}, + {2841, {wxHelpEvent, setPosition, 1}}, + {2842, {wxContextMenuEvent, getPosition, 0}}, + {2843, {wxContextMenuEvent, setPosition, 1}}, + {2844, {wxIdleEvent, canSend, 1}}, + {2845, {wxIdleEvent, getMode, 0}}, + {2846, {wxIdleEvent, requestMore, 1}}, + {2847, {wxIdleEvent, moreRequested, 0}}, + {2848, {wxIdleEvent, setMode, 1}}, + {2849, {wxGridEvent, altDown, 0}}, + {2850, {wxGridEvent, controlDown, 0}}, + {2851, {wxGridEvent, getCol, 0}}, + {2852, {wxGridEvent, getPosition, 0}}, + {2853, {wxGridEvent, getRow, 0}}, + {2854, {wxGridEvent, metaDown, 0}}, + {2855, {wxGridEvent, selecting, 0}}, + {2856, {wxGridEvent, shiftDown, 0}}, + {2857, {wxNotifyEvent, allow, 0}}, + {2858, {wxNotifyEvent, isAllowed, 0}}, + {2859, {wxNotifyEvent, veto, 0}}, + {2860, {wxSashEvent, getEdge, 0}}, + {2861, {wxSashEvent, getDragRect, 0}}, + {2862, {wxSashEvent, getDragStatus, 0}}, + {2863, {wxListEvent, getCacheFrom, 0}}, + {2864, {wxListEvent, getCacheTo, 0}}, + {2865, {wxListEvent, getKeyCode, 0}}, + {2866, {wxListEvent, getIndex, 0}}, + {2867, {wxListEvent, getColumn, 0}}, + {2868, {wxListEvent, getPoint, 0}}, + {2869, {wxListEvent, getLabel, 0}}, + {2870, {wxListEvent, getText, 0}}, + {2871, {wxListEvent, getImage, 0}}, + {2872, {wxListEvent, getData, 0}}, + {2873, {wxListEvent, getMask, 0}}, + {2874, {wxListEvent, getItem, 0}}, + {2875, {wxListEvent, isEditCancelled, 0}}, + {2876, {wxDateEvent, getDate, 0}}, + {2877, {wxCalendarEvent, getWeekDay, 0}}, + {2878, {wxFileDirPickerEvent, getPath, 0}}, + {2879, {wxColourPickerEvent, getColour, 0}}, + {2880, {wxFontPickerEvent, getFont, 0}}, + {2881, {wxStyledTextEvent, getPosition, 0}}, + {2882, {wxStyledTextEvent, getKey, 0}}, + {2883, {wxStyledTextEvent, getModifiers, 0}}, + {2884, {wxStyledTextEvent, getModificationType, 0}}, + {2885, {wxStyledTextEvent, getText, 0}}, + {2886, {wxStyledTextEvent, getLength, 0}}, + {2887, {wxStyledTextEvent, getLinesAdded, 0}}, + {2888, {wxStyledTextEvent, getLine, 0}}, + {2889, {wxStyledTextEvent, getFoldLevelNow, 0}}, + {2890, {wxStyledTextEvent, getFoldLevelPrev, 0}}, + {2891, {wxStyledTextEvent, getMargin, 0}}, + {2892, {wxStyledTextEvent, getMessage, 0}}, + {2893, {wxStyledTextEvent, getWParam, 0}}, + {2894, {wxStyledTextEvent, getLParam, 0}}, + {2895, {wxStyledTextEvent, getListType, 0}}, + {2896, {wxStyledTextEvent, getX, 0}}, + {2897, {wxStyledTextEvent, getY, 0}}, + {2898, {wxStyledTextEvent, getDragText, 0}}, + {2899, {wxStyledTextEvent, getDragAllowMove, 0}}, + {2900, {wxStyledTextEvent, getDragResult, 0}}, + {2901, {wxStyledTextEvent, getShift, 0}}, + {2902, {wxStyledTextEvent, getControl, 0}}, + {2903, {wxStyledTextEvent, getAlt, 0}}, + {2904, {utils, getKeyState, 1}}, + {2905, {utils, getMousePosition, 2}}, + {2906, {utils, getMouseState, 0}}, + {2907, {utils, setDetectableAutoRepeat, 1}}, + {2908, {utils, bell, 0}}, + {2909, {utils, findMenuItemId, 3}}, + {2910, {utils, genericFindWindowAtPoint, 1}}, + {2911, {utils, findWindowAtPoint, 1}}, + {2912, {utils, beginBusyCursor, 1}}, + {2913, {utils, endBusyCursor, 0}}, + {2914, {utils, isBusy, 0}}, + {2915, {utils, shutdown, 1}}, + {2916, {utils, shell, 1}}, + {2917, {utils, launchDefaultBrowser, 2}}, + {2918, {utils, getEmailAddress, 0}}, + {2919, {utils, getUserId, 0}}, + {2920, {utils, getHomeDir, 0}}, + {2921, {utils, newId, 0}}, + {2922, {utils, registerId, 1}}, + {2923, {utils, getCurrentId, 0}}, + {2924, {utils, getOsDescription, 0}}, + {2925, {utils, isPlatformLittleEndian, 0}}, + {2926, {utils, isPlatform64Bit, 0}}, + {2927, {wxPrintout, new, 1}}, + {2928, {wxPrintout, destruct, 0}}, + {2929, {wxPrintout, getDC, 0}}, + {2930, {wxPrintout, getPageSizeMM, 2}}, + {2931, {wxPrintout, getPageSizePixels, 2}}, + {2932, {wxPrintout, getPaperRectPixels, 0}}, + {2933, {wxPrintout, getPPIPrinter, 2}}, + {2934, {wxPrintout, getPPIScreen, 2}}, + {2935, {wxPrintout, getTitle, 0}}, + {2936, {wxPrintout, isPreview, 0}}, + {2937, {wxPrintout, fitThisSizeToPaper, 1}}, + {2938, {wxPrintout, fitThisSizeToPage, 1}}, + {2939, {wxPrintout, fitThisSizeToPageMargins, 2}}, + {2940, {wxPrintout, mapScreenSizeToPaper, 0}}, + {2941, {wxPrintout, mapScreenSizeToPage, 0}}, + {2942, {wxPrintout, mapScreenSizeToPageMargins, 1}}, + {2943, {wxPrintout, mapScreenSizeToDevice, 0}}, + {2944, {wxPrintout, getLogicalPaperRect, 0}}, + {2945, {wxPrintout, getLogicalPageRect, 0}}, + {2946, {wxPrintout, getLogicalPageMarginsRect, 1}}, + {2947, {wxPrintout, setLogicalOrigin, 2}}, + {2948, {wxPrintout, offsetLogicalOrigin, 2}}, + {2949, {wxStyledTextCtrl, new_2, 2}}, + {2950, {wxStyledTextCtrl, new_0, 0}}, + {2951, {wxStyledTextCtrl, destruct, 0}}, + {2952, {wxStyledTextCtrl, create, 2}}, + {2953, {wxStyledTextCtrl, addText, 1}}, + {2954, {wxStyledTextCtrl, addStyledText, 1}}, + {2955, {wxStyledTextCtrl, insertText, 2}}, + {2956, {wxStyledTextCtrl, clearAll, 0}}, + {2957, {wxStyledTextCtrl, clearDocumentStyle, 0}}, + {2958, {wxStyledTextCtrl, getLength, 0}}, + {2959, {wxStyledTextCtrl, getCharAt, 1}}, + {2960, {wxStyledTextCtrl, getCurrentPos, 0}}, + {2961, {wxStyledTextCtrl, getAnchor, 0}}, + {2962, {wxStyledTextCtrl, getStyleAt, 1}}, + {2963, {wxStyledTextCtrl, redo, 0}}, + {2964, {wxStyledTextCtrl, setUndoCollection, 1}}, + {2965, {wxStyledTextCtrl, selectAll, 0}}, + {2966, {wxStyledTextCtrl, setSavePoint, 0}}, + {2967, {wxStyledTextCtrl, getStyledText, 2}}, + {2968, {wxStyledTextCtrl, canRedo, 0}}, + {2969, {wxStyledTextCtrl, markerLineFromHandle, 1}}, + {2970, {wxStyledTextCtrl, markerDeleteHandle, 1}}, + {2971, {wxStyledTextCtrl, getUndoCollection, 0}}, + {2972, {wxStyledTextCtrl, getViewWhiteSpace, 0}}, + {2973, {wxStyledTextCtrl, setViewWhiteSpace, 1}}, + {2974, {wxStyledTextCtrl, positionFromPoint, 1}}, + {2975, {wxStyledTextCtrl, positionFromPointClose, 2}}, + {2976, {wxStyledTextCtrl, gotoLine, 1}}, + {2977, {wxStyledTextCtrl, gotoPos, 1}}, + {2978, {wxStyledTextCtrl, setAnchor, 1}}, + {2979, {wxStyledTextCtrl, getCurLine, 1}}, + {2980, {wxStyledTextCtrl, getEndStyled, 0}}, + {2981, {wxStyledTextCtrl, convertEOLs, 1}}, + {2982, {wxStyledTextCtrl, getEOLMode, 0}}, + {2983, {wxStyledTextCtrl, setEOLMode, 1}}, + {2984, {wxStyledTextCtrl, startStyling, 2}}, + {2985, {wxStyledTextCtrl, setStyling, 2}}, + {2986, {wxStyledTextCtrl, getBufferedDraw, 0}}, + {2987, {wxStyledTextCtrl, setBufferedDraw, 1}}, + {2988, {wxStyledTextCtrl, setTabWidth, 1}}, + {2989, {wxStyledTextCtrl, getTabWidth, 0}}, + {2990, {wxStyledTextCtrl, setCodePage, 1}}, + {2991, {wxStyledTextCtrl, markerDefine, 3}}, + {2992, {wxStyledTextCtrl, markerSetForeground, 2}}, + {2993, {wxStyledTextCtrl, markerSetBackground, 2}}, + {2994, {wxStyledTextCtrl, markerAdd, 2}}, + {2995, {wxStyledTextCtrl, markerDelete, 2}}, + {2996, {wxStyledTextCtrl, markerDeleteAll, 1}}, + {2997, {wxStyledTextCtrl, markerGet, 1}}, + {2998, {wxStyledTextCtrl, markerNext, 2}}, + {2999, {wxStyledTextCtrl, markerPrevious, 2}}, + {3000, {wxStyledTextCtrl, markerDefineBitmap, 2}}, + {3001, {wxStyledTextCtrl, markerAddSet, 2}}, + {3002, {wxStyledTextCtrl, markerSetAlpha, 2}}, + {3003, {wxStyledTextCtrl, setMarginType, 2}}, + {3004, {wxStyledTextCtrl, getMarginType, 1}}, + {3005, {wxStyledTextCtrl, setMarginWidth, 2}}, + {3006, {wxStyledTextCtrl, getMarginWidth, 1}}, + {3007, {wxStyledTextCtrl, setMarginMask, 2}}, + {3008, {wxStyledTextCtrl, getMarginMask, 1}}, + {3009, {wxStyledTextCtrl, setMarginSensitive, 2}}, + {3010, {wxStyledTextCtrl, getMarginSensitive, 1}}, + {3011, {wxStyledTextCtrl, styleClearAll, 0}}, + {3012, {wxStyledTextCtrl, styleSetForeground, 2}}, + {3013, {wxStyledTextCtrl, styleSetBackground, 2}}, + {3014, {wxStyledTextCtrl, styleSetBold, 2}}, + {3015, {wxStyledTextCtrl, styleSetItalic, 2}}, + {3016, {wxStyledTextCtrl, styleSetSize, 2}}, + {3017, {wxStyledTextCtrl, styleSetFaceName, 2}}, + {3018, {wxStyledTextCtrl, styleSetEOLFilled, 2}}, + {3019, {wxStyledTextCtrl, styleResetDefault, 0}}, + {3020, {wxStyledTextCtrl, styleSetUnderline, 2}}, + {3021, {wxStyledTextCtrl, styleSetCase, 2}}, + {3022, {wxStyledTextCtrl, styleSetHotSpot, 2}}, + {3023, {wxStyledTextCtrl, setSelForeground, 2}}, + {3024, {wxStyledTextCtrl, setSelBackground, 2}}, + {3025, {wxStyledTextCtrl, getSelAlpha, 0}}, + {3026, {wxStyledTextCtrl, setSelAlpha, 1}}, + {3027, {wxStyledTextCtrl, setCaretForeground, 1}}, + {3028, {wxStyledTextCtrl, cmdKeyAssign, 3}}, + {3029, {wxStyledTextCtrl, cmdKeyClear, 2}}, + {3030, {wxStyledTextCtrl, cmdKeyClearAll, 0}}, + {3031, {wxStyledTextCtrl, setStyleBytes, 2}}, + {3032, {wxStyledTextCtrl, styleSetVisible, 2}}, + {3033, {wxStyledTextCtrl, getCaretPeriod, 0}}, + {3034, {wxStyledTextCtrl, setCaretPeriod, 1}}, + {3035, {wxStyledTextCtrl, setWordChars, 1}}, + {3036, {wxStyledTextCtrl, beginUndoAction, 0}}, + {3037, {wxStyledTextCtrl, endUndoAction, 0}}, + {3038, {wxStyledTextCtrl, indicatorSetStyle, 2}}, + {3039, {wxStyledTextCtrl, indicatorGetStyle, 1}}, + {3040, {wxStyledTextCtrl, indicatorSetForeground, 2}}, + {3041, {wxStyledTextCtrl, indicatorGetForeground, 1}}, + {3042, {wxStyledTextCtrl, setWhitespaceForeground, 2}}, + {3043, {wxStyledTextCtrl, setWhitespaceBackground, 2}}, + {3044, {wxStyledTextCtrl, getStyleBits, 0}}, + {3045, {wxStyledTextCtrl, setLineState, 2}}, + {3046, {wxStyledTextCtrl, getLineState, 1}}, + {3047, {wxStyledTextCtrl, getMaxLineState, 0}}, + {3048, {wxStyledTextCtrl, getCaretLineVisible, 0}}, + {3049, {wxStyledTextCtrl, setCaretLineVisible, 1}}, + {3050, {wxStyledTextCtrl, getCaretLineBackground, 0}}, + {3051, {wxStyledTextCtrl, setCaretLineBackground, 1}}, + {3052, {wxStyledTextCtrl, autoCompShow, 2}}, + {3053, {wxStyledTextCtrl, autoCompCancel, 0}}, + {3054, {wxStyledTextCtrl, autoCompActive, 0}}, + {3055, {wxStyledTextCtrl, autoCompPosStart, 0}}, + {3056, {wxStyledTextCtrl, autoCompComplete, 0}}, + {3057, {wxStyledTextCtrl, autoCompStops, 1}}, + {3058, {wxStyledTextCtrl, autoCompSetSeparator, 1}}, + {3059, {wxStyledTextCtrl, autoCompGetSeparator, 0}}, + {3060, {wxStyledTextCtrl, autoCompSelect, 1}}, + {3061, {wxStyledTextCtrl, autoCompSetCancelAtStart, 1}}, + {3062, {wxStyledTextCtrl, autoCompGetCancelAtStart, 0}}, + {3063, {wxStyledTextCtrl, autoCompSetFillUps, 1}}, + {3064, {wxStyledTextCtrl, autoCompSetChooseSingle, 1}}, + {3065, {wxStyledTextCtrl, autoCompGetChooseSingle, 0}}, + {3066, {wxStyledTextCtrl, autoCompSetIgnoreCase, 1}}, + {3067, {wxStyledTextCtrl, autoCompGetIgnoreCase, 0}}, + {3068, {wxStyledTextCtrl, userListShow, 2}}, + {3069, {wxStyledTextCtrl, autoCompSetAutoHide, 1}}, + {3070, {wxStyledTextCtrl, autoCompGetAutoHide, 0}}, + {3071, {wxStyledTextCtrl, autoCompSetDropRestOfWord, 1}}, + {3072, {wxStyledTextCtrl, autoCompGetDropRestOfWord, 0}}, + {3073, {wxStyledTextCtrl, registerImage, 2}}, + {3074, {wxStyledTextCtrl, clearRegisteredImages, 0}}, + {3075, {wxStyledTextCtrl, autoCompGetTypeSeparator, 0}}, + {3076, {wxStyledTextCtrl, autoCompSetTypeSeparator, 1}}, + {3077, {wxStyledTextCtrl, autoCompSetMaxWidth, 1}}, + {3078, {wxStyledTextCtrl, autoCompGetMaxWidth, 0}}, + {3079, {wxStyledTextCtrl, autoCompSetMaxHeight, 1}}, + {3080, {wxStyledTextCtrl, autoCompGetMaxHeight, 0}}, + {3081, {wxStyledTextCtrl, setIndent, 1}}, + {3082, {wxStyledTextCtrl, getIndent, 0}}, + {3083, {wxStyledTextCtrl, setUseTabs, 1}}, + {3084, {wxStyledTextCtrl, getUseTabs, 0}}, + {3085, {wxStyledTextCtrl, setLineIndentation, 2}}, + {3086, {wxStyledTextCtrl, getLineIndentation, 1}}, + {3087, {wxStyledTextCtrl, getLineIndentPosition, 1}}, + {3088, {wxStyledTextCtrl, getColumn, 1}}, + {3089, {wxStyledTextCtrl, setUseHorizontalScrollBar, 1}}, + {3090, {wxStyledTextCtrl, getUseHorizontalScrollBar, 0}}, + {3091, {wxStyledTextCtrl, setIndentationGuides, 1}}, + {3092, {wxStyledTextCtrl, getIndentationGuides, 0}}, + {3093, {wxStyledTextCtrl, setHighlightGuide, 1}}, + {3094, {wxStyledTextCtrl, getHighlightGuide, 0}}, + {3095, {wxStyledTextCtrl, getLineEndPosition, 1}}, + {3096, {wxStyledTextCtrl, getCodePage, 0}}, + {3097, {wxStyledTextCtrl, getCaretForeground, 0}}, + {3098, {wxStyledTextCtrl, getReadOnly, 0}}, + {3099, {wxStyledTextCtrl, setCurrentPos, 1}}, + {3100, {wxStyledTextCtrl, setSelectionStart, 1}}, + {3101, {wxStyledTextCtrl, getSelectionStart, 0}}, + {3102, {wxStyledTextCtrl, setSelectionEnd, 1}}, + {3103, {wxStyledTextCtrl, getSelectionEnd, 0}}, + {3104, {wxStyledTextCtrl, setPrintMagnification, 1}}, + {3105, {wxStyledTextCtrl, getPrintMagnification, 0}}, + {3106, {wxStyledTextCtrl, setPrintColourMode, 1}}, + {3107, {wxStyledTextCtrl, getPrintColourMode, 0}}, + {3108, {wxStyledTextCtrl, findText, 4}}, + {3109, {wxStyledTextCtrl, formatRange, 7}}, + {3110, {wxStyledTextCtrl, getFirstVisibleLine, 0}}, + {3111, {wxStyledTextCtrl, getLine, 1}}, + {3112, {wxStyledTextCtrl, getLineCount, 0}}, + {3113, {wxStyledTextCtrl, setMarginLeft, 1}}, + {3114, {wxStyledTextCtrl, getMarginLeft, 0}}, + {3115, {wxStyledTextCtrl, setMarginRight, 1}}, + {3116, {wxStyledTextCtrl, getMarginRight, 0}}, + {3117, {wxStyledTextCtrl, getModify, 0}}, + {3118, {wxStyledTextCtrl, setSelection, 2}}, + {3119, {wxStyledTextCtrl, getSelectedText, 0}}, + {3120, {wxStyledTextCtrl, getTextRange, 2}}, + {3121, {wxStyledTextCtrl, hideSelection, 1}}, + {3122, {wxStyledTextCtrl, lineFromPosition, 1}}, + {3123, {wxStyledTextCtrl, positionFromLine, 1}}, + {3124, {wxStyledTextCtrl, lineScroll, 2}}, + {3125, {wxStyledTextCtrl, ensureCaretVisible, 0}}, + {3126, {wxStyledTextCtrl, replaceSelection, 1}}, + {3127, {wxStyledTextCtrl, setReadOnly, 1}}, + {3128, {wxStyledTextCtrl, canPaste, 0}}, + {3129, {wxStyledTextCtrl, canUndo, 0}}, + {3130, {wxStyledTextCtrl, emptyUndoBuffer, 0}}, + {3131, {wxStyledTextCtrl, undo, 0}}, + {3132, {wxStyledTextCtrl, cut, 0}}, + {3133, {wxStyledTextCtrl, copy, 0}}, + {3134, {wxStyledTextCtrl, paste, 0}}, + {3135, {wxStyledTextCtrl, clear, 0}}, + {3136, {wxStyledTextCtrl, setText, 1}}, + {3137, {wxStyledTextCtrl, getText, 0}}, + {3138, {wxStyledTextCtrl, getTextLength, 0}}, + {3139, {wxStyledTextCtrl, getOvertype, 0}}, + {3140, {wxStyledTextCtrl, setCaretWidth, 1}}, + {3141, {wxStyledTextCtrl, getCaretWidth, 0}}, + {3142, {wxStyledTextCtrl, setTargetStart, 1}}, + {3143, {wxStyledTextCtrl, getTargetStart, 0}}, + {3144, {wxStyledTextCtrl, setTargetEnd, 1}}, + {3145, {wxStyledTextCtrl, getTargetEnd, 0}}, + {3146, {wxStyledTextCtrl, replaceTarget, 1}}, + {3147, {wxStyledTextCtrl, searchInTarget, 1}}, + {3148, {wxStyledTextCtrl, setSearchFlags, 1}}, + {3149, {wxStyledTextCtrl, getSearchFlags, 0}}, + {3150, {wxStyledTextCtrl, callTipShow, 2}}, + {3151, {wxStyledTextCtrl, callTipCancel, 0}}, + {3152, {wxStyledTextCtrl, callTipActive, 0}}, + {3153, {wxStyledTextCtrl, callTipPosAtStart, 0}}, + {3154, {wxStyledTextCtrl, callTipSetHighlight, 2}}, + {3155, {wxStyledTextCtrl, callTipSetBackground, 1}}, + {3156, {wxStyledTextCtrl, callTipSetForeground, 1}}, + {3157, {wxStyledTextCtrl, callTipSetForegroundHighlight, 1}}, + {3158, {wxStyledTextCtrl, callTipUseStyle, 1}}, + {3159, {wxStyledTextCtrl, visibleFromDocLine, 1}}, + {3160, {wxStyledTextCtrl, docLineFromVisible, 1}}, + {3161, {wxStyledTextCtrl, wrapCount, 1}}, + {3162, {wxStyledTextCtrl, setFoldLevel, 2}}, + {3163, {wxStyledTextCtrl, getFoldLevel, 1}}, + {3164, {wxStyledTextCtrl, getLastChild, 2}}, + {3165, {wxStyledTextCtrl, getFoldParent, 1}}, + {3166, {wxStyledTextCtrl, showLines, 2}}, + {3167, {wxStyledTextCtrl, hideLines, 2}}, + {3168, {wxStyledTextCtrl, getLineVisible, 1}}, + {3169, {wxStyledTextCtrl, setFoldExpanded, 2}}, + {3170, {wxStyledTextCtrl, getFoldExpanded, 1}}, + {3171, {wxStyledTextCtrl, toggleFold, 1}}, + {3172, {wxStyledTextCtrl, ensureVisible, 1}}, + {3173, {wxStyledTextCtrl, setFoldFlags, 1}}, + {3174, {wxStyledTextCtrl, ensureVisibleEnforcePolicy, 1}}, + {3175, {wxStyledTextCtrl, setTabIndents, 1}}, + {3176, {wxStyledTextCtrl, getTabIndents, 0}}, + {3177, {wxStyledTextCtrl, setBackSpaceUnIndents, 1}}, + {3178, {wxStyledTextCtrl, getBackSpaceUnIndents, 0}}, + {3179, {wxStyledTextCtrl, setMouseDwellTime, 1}}, + {3180, {wxStyledTextCtrl, getMouseDwellTime, 0}}, + {3181, {wxStyledTextCtrl, wordStartPosition, 2}}, + {3182, {wxStyledTextCtrl, wordEndPosition, 2}}, + {3183, {wxStyledTextCtrl, setWrapMode, 1}}, + {3184, {wxStyledTextCtrl, getWrapMode, 0}}, + {3185, {wxStyledTextCtrl, setWrapVisualFlags, 1}}, + {3186, {wxStyledTextCtrl, getWrapVisualFlags, 0}}, + {3187, {wxStyledTextCtrl, setWrapVisualFlagsLocation, 1}}, + {3188, {wxStyledTextCtrl, getWrapVisualFlagsLocation, 0}}, + {3189, {wxStyledTextCtrl, setWrapStartIndent, 1}}, + {3190, {wxStyledTextCtrl, getWrapStartIndent, 0}}, + {3191, {wxStyledTextCtrl, setLayoutCache, 1}}, + {3192, {wxStyledTextCtrl, getLayoutCache, 0}}, + {3193, {wxStyledTextCtrl, setScrollWidth, 1}}, + {3194, {wxStyledTextCtrl, getScrollWidth, 0}}, + {3195, {wxStyledTextCtrl, textWidth, 2}}, + {3196, {wxStyledTextCtrl, getEndAtLastLine, 0}}, + {3197, {wxStyledTextCtrl, textHeight, 1}}, + {3198, {wxStyledTextCtrl, setUseVerticalScrollBar, 1}}, + {3199, {wxStyledTextCtrl, getUseVerticalScrollBar, 0}}, + {3200, {wxStyledTextCtrl, appendText, 1}}, + {3201, {wxStyledTextCtrl, getTwoPhaseDraw, 0}}, + {3202, {wxStyledTextCtrl, setTwoPhaseDraw, 1}}, + {3203, {wxStyledTextCtrl, targetFromSelection, 0}}, + {3204, {wxStyledTextCtrl, linesJoin, 0}}, + {3205, {wxStyledTextCtrl, linesSplit, 1}}, + {3206, {wxStyledTextCtrl, setFoldMarginColour, 2}}, + {3207, {wxStyledTextCtrl, setFoldMarginHiColour, 2}}, + {3208, {wxStyledTextCtrl, lineDown, 0}}, + {3209, {wxStyledTextCtrl, lineDownExtend, 0}}, + {3210, {wxStyledTextCtrl, lineUp, 0}}, + {3211, {wxStyledTextCtrl, lineUpExtend, 0}}, + {3212, {wxStyledTextCtrl, charLeft, 0}}, + {3213, {wxStyledTextCtrl, charLeftExtend, 0}}, + {3214, {wxStyledTextCtrl, charRight, 0}}, + {3215, {wxStyledTextCtrl, charRightExtend, 0}}, + {3216, {wxStyledTextCtrl, wordLeft, 0}}, + {3217, {wxStyledTextCtrl, wordLeftExtend, 0}}, + {3218, {wxStyledTextCtrl, wordRight, 0}}, + {3219, {wxStyledTextCtrl, wordRightExtend, 0}}, + {3220, {wxStyledTextCtrl, home, 0}}, + {3221, {wxStyledTextCtrl, homeExtend, 0}}, + {3222, {wxStyledTextCtrl, lineEnd, 0}}, + {3223, {wxStyledTextCtrl, lineEndExtend, 0}}, + {3224, {wxStyledTextCtrl, documentStart, 0}}, + {3225, {wxStyledTextCtrl, documentStartExtend, 0}}, + {3226, {wxStyledTextCtrl, documentEnd, 0}}, + {3227, {wxStyledTextCtrl, documentEndExtend, 0}}, + {3228, {wxStyledTextCtrl, pageUp, 0}}, + {3229, {wxStyledTextCtrl, pageUpExtend, 0}}, + {3230, {wxStyledTextCtrl, pageDown, 0}}, + {3231, {wxStyledTextCtrl, pageDownExtend, 0}}, + {3232, {wxStyledTextCtrl, editToggleOvertype, 0}}, + {3233, {wxStyledTextCtrl, cancel, 0}}, + {3234, {wxStyledTextCtrl, deleteBack, 0}}, + {3235, {wxStyledTextCtrl, tab, 0}}, + {3236, {wxStyledTextCtrl, backTab, 0}}, + {3237, {wxStyledTextCtrl, newLine, 0}}, + {3238, {wxStyledTextCtrl, formFeed, 0}}, + {3239, {wxStyledTextCtrl, vCHome, 0}}, + {3240, {wxStyledTextCtrl, vCHomeExtend, 0}}, + {3241, {wxStyledTextCtrl, zoomIn, 0}}, + {3242, {wxStyledTextCtrl, zoomOut, 0}}, + {3243, {wxStyledTextCtrl, delWordLeft, 0}}, + {3244, {wxStyledTextCtrl, delWordRight, 0}}, + {3245, {wxStyledTextCtrl, lineCut, 0}}, + {3246, {wxStyledTextCtrl, lineDelete, 0}}, + {3247, {wxStyledTextCtrl, lineTranspose, 0}}, + {3248, {wxStyledTextCtrl, lineDuplicate, 0}}, + {3249, {wxStyledTextCtrl, lowerCase, 0}}, + {3250, {wxStyledTextCtrl, upperCase, 0}}, + {3251, {wxStyledTextCtrl, lineScrollDown, 0}}, + {3252, {wxStyledTextCtrl, lineScrollUp, 0}}, + {3253, {wxStyledTextCtrl, deleteBackNotLine, 0}}, + {3254, {wxStyledTextCtrl, homeDisplay, 0}}, + {3255, {wxStyledTextCtrl, homeDisplayExtend, 0}}, + {3256, {wxStyledTextCtrl, lineEndDisplay, 0}}, + {3257, {wxStyledTextCtrl, lineEndDisplayExtend, 0}}, + {3258, {wxStyledTextCtrl, homeWrapExtend, 0}}, + {3259, {wxStyledTextCtrl, lineEndWrap, 0}}, + {3260, {wxStyledTextCtrl, lineEndWrapExtend, 0}}, + {3261, {wxStyledTextCtrl, vCHomeWrap, 0}}, + {3262, {wxStyledTextCtrl, vCHomeWrapExtend, 0}}, + {3263, {wxStyledTextCtrl, lineCopy, 0}}, + {3264, {wxStyledTextCtrl, moveCaretInsideView, 0}}, + {3265, {wxStyledTextCtrl, lineLength, 1}}, + {3266, {wxStyledTextCtrl, braceHighlight, 2}}, + {3267, {wxStyledTextCtrl, braceBadLight, 1}}, + {3268, {wxStyledTextCtrl, braceMatch, 1}}, + {3269, {wxStyledTextCtrl, getViewEOL, 0}}, + {3270, {wxStyledTextCtrl, setViewEOL, 1}}, + {3271, {wxStyledTextCtrl, setModEventMask, 1}}, + {3272, {wxStyledTextCtrl, getEdgeColumn, 0}}, + {3273, {wxStyledTextCtrl, setEdgeColumn, 1}}, + {3274, {wxStyledTextCtrl, getEdgeMode, 0}}, + {3275, {wxStyledTextCtrl, getEdgeColour, 0}}, + {3276, {wxStyledTextCtrl, setEdgeColour, 1}}, + {3277, {wxStyledTextCtrl, searchAnchor, 0}}, + {3278, {wxStyledTextCtrl, searchNext, 2}}, + {3279, {wxStyledTextCtrl, searchPrev, 2}}, + {3280, {wxStyledTextCtrl, linesOnScreen, 0}}, + {3281, {wxStyledTextCtrl, usePopUp, 1}}, + {3282, {wxStyledTextCtrl, selectionIsRectangle, 0}}, + {3283, {wxStyledTextCtrl, setZoom, 1}}, + {3284, {wxStyledTextCtrl, getZoom, 0}}, + {3285, {wxStyledTextCtrl, getModEventMask, 0}}, + {3286, {wxStyledTextCtrl, setSTCFocus, 1}}, + {3287, {wxStyledTextCtrl, getSTCFocus, 0}}, + {3288, {wxStyledTextCtrl, setStatus, 1}}, + {3289, {wxStyledTextCtrl, getStatus, 0}}, + {3290, {wxStyledTextCtrl, setMouseDownCaptures, 1}}, + {3291, {wxStyledTextCtrl, getMouseDownCaptures, 0}}, + {3292, {wxStyledTextCtrl, setSTCCursor, 1}}, + {3293, {wxStyledTextCtrl, getSTCCursor, 0}}, + {3294, {wxStyledTextCtrl, setControlCharSymbol, 1}}, + {3295, {wxStyledTextCtrl, getControlCharSymbol, 0}}, + {3296, {wxStyledTextCtrl, wordPartLeft, 0}}, + {3297, {wxStyledTextCtrl, wordPartLeftExtend, 0}}, + {3298, {wxStyledTextCtrl, wordPartRight, 0}}, + {3299, {wxStyledTextCtrl, wordPartRightExtend, 0}}, + {3300, {wxStyledTextCtrl, setVisiblePolicy, 2}}, + {3301, {wxStyledTextCtrl, delLineLeft, 0}}, + {3302, {wxStyledTextCtrl, delLineRight, 0}}, + {3303, {wxStyledTextCtrl, getXOffset, 0}}, + {3304, {wxStyledTextCtrl, chooseCaretX, 0}}, + {3305, {wxStyledTextCtrl, setXCaretPolicy, 2}}, + {3306, {wxStyledTextCtrl, setYCaretPolicy, 2}}, + {3307, {wxStyledTextCtrl, getPrintWrapMode, 0}}, + {3308, {wxStyledTextCtrl, setHotspotActiveForeground, 2}}, + {3309, {wxStyledTextCtrl, setHotspotActiveBackground, 2}}, + {3310, {wxStyledTextCtrl, setHotspotActiveUnderline, 1}}, + {3311, {wxStyledTextCtrl, setHotspotSingleLine, 1}}, + {3312, {wxStyledTextCtrl, paraDownExtend, 0}}, + {3313, {wxStyledTextCtrl, paraUp, 0}}, + {3314, {wxStyledTextCtrl, paraUpExtend, 0}}, + {3315, {wxStyledTextCtrl, positionBefore, 1}}, + {3316, {wxStyledTextCtrl, positionAfter, 1}}, + {3317, {wxStyledTextCtrl, copyRange, 2}}, + {3318, {wxStyledTextCtrl, copyText, 2}}, + {3319, {wxStyledTextCtrl, setSelectionMode, 1}}, + {3320, {wxStyledTextCtrl, getSelectionMode, 0}}, + {3321, {wxStyledTextCtrl, lineDownRectExtend, 0}}, + {3322, {wxStyledTextCtrl, lineUpRectExtend, 0}}, + {3323, {wxStyledTextCtrl, charLeftRectExtend, 0}}, + {3324, {wxStyledTextCtrl, charRightRectExtend, 0}}, + {3325, {wxStyledTextCtrl, homeRectExtend, 0}}, + {3326, {wxStyledTextCtrl, vCHomeRectExtend, 0}}, + {3327, {wxStyledTextCtrl, lineEndRectExtend, 0}}, + {3328, {wxStyledTextCtrl, pageUpRectExtend, 0}}, + {3329, {wxStyledTextCtrl, pageDownRectExtend, 0}}, + {3330, {wxStyledTextCtrl, stutteredPageUp, 0}}, + {3331, {wxStyledTextCtrl, stutteredPageUpExtend, 0}}, + {3332, {wxStyledTextCtrl, stutteredPageDown, 0}}, + {3333, {wxStyledTextCtrl, stutteredPageDownExtend, 0}}, + {3334, {wxStyledTextCtrl, wordLeftEnd, 0}}, + {3335, {wxStyledTextCtrl, wordLeftEndExtend, 0}}, + {3336, {wxStyledTextCtrl, wordRightEnd, 0}}, + {3337, {wxStyledTextCtrl, wordRightEndExtend, 0}}, + {3338, {wxStyledTextCtrl, setWhitespaceChars, 1}}, + {3339, {wxStyledTextCtrl, setCharsDefault, 0}}, + {3340, {wxStyledTextCtrl, autoCompGetCurrent, 0}}, + {3341, {wxStyledTextCtrl, allocate, 1}}, + {3342, {wxStyledTextCtrl, findColumn, 2}}, + {3343, {wxStyledTextCtrl, getCaretSticky, 0}}, + {3344, {wxStyledTextCtrl, setCaretSticky, 1}}, + {3345, {wxStyledTextCtrl, toggleCaretSticky, 0}}, + {3346, {wxStyledTextCtrl, setPasteConvertEndings, 1}}, + {3347, {wxStyledTextCtrl, getPasteConvertEndings, 0}}, + {3348, {wxStyledTextCtrl, selectionDuplicate, 0}}, + {3349, {wxStyledTextCtrl, setCaretLineBackAlpha, 1}}, + {3350, {wxStyledTextCtrl, getCaretLineBackAlpha, 0}}, + {3351, {wxStyledTextCtrl, startRecord, 0}}, + {3352, {wxStyledTextCtrl, stopRecord, 0}}, + {3353, {wxStyledTextCtrl, setLexer, 1}}, + {3354, {wxStyledTextCtrl, getLexer, 0}}, + {3355, {wxStyledTextCtrl, colourise, 2}}, + {3356, {wxStyledTextCtrl, setProperty, 2}}, + {3357, {wxStyledTextCtrl, setKeyWords, 2}}, + {3358, {wxStyledTextCtrl, setLexerLanguage, 1}}, + {3359, {wxStyledTextCtrl, getProperty, 1}}, + {3360, {wxStyledTextCtrl, getStyleBitsNeeded, 0}}, + {3361, {wxStyledTextCtrl, getCurrentLine, 0}}, + {3362, {wxStyledTextCtrl, styleSetSpec, 2}}, + {3363, {wxStyledTextCtrl, styleSetFont, 2}}, + {3364, {wxStyledTextCtrl, styleSetFontAttr, 7}}, + {3365, {wxStyledTextCtrl, styleSetCharacterSet, 2}}, + {3366, {wxStyledTextCtrl, styleSetFontEncoding, 2}}, + {3367, {wxStyledTextCtrl, cmdKeyExecute, 1}}, + {3368, {wxStyledTextCtrl, setMargins, 2}}, + {3369, {wxStyledTextCtrl, getSelection, 2}}, + {3370, {wxStyledTextCtrl, pointFromPosition, 1}}, + {3371, {wxStyledTextCtrl, scrollToLine, 1}}, + {3372, {wxStyledTextCtrl, scrollToColumn, 1}}, + {3373, {wxStyledTextCtrl, sendMsg, 2}}, + {3374, {wxStyledTextCtrl, setVScrollBar, 1}}, + {3375, {wxStyledTextCtrl, setHScrollBar, 1}}, + {3376, {wxStyledTextCtrl, getLastKeydownProcessed, 0}}, + {3377, {wxStyledTextCtrl, setLastKeydownProcessed, 1}}, + {3378, {wxStyledTextCtrl, saveFile, 1}}, + {3379, {wxStyledTextCtrl, loadFile, 1}}, + {3380, {wxStyledTextCtrl, doDragOver, 3}}, + {3381, {wxStyledTextCtrl, doDropText, 3}}, + {3382, {wxStyledTextCtrl, getUseAntiAliasing, 0}}, + {3383, {wxStyledTextCtrl, addTextRaw, 1}}, + {3384, {wxStyledTextCtrl, insertTextRaw, 2}}, + {3385, {wxStyledTextCtrl, getCurLineRaw, 1}}, + {3386, {wxStyledTextCtrl, getLineRaw, 1}}, + {3387, {wxStyledTextCtrl, getSelectedTextRaw, 0}}, + {3388, {wxStyledTextCtrl, getTextRangeRaw, 2}}, + {3389, {wxStyledTextCtrl, setTextRaw, 1}}, + {3390, {wxStyledTextCtrl, getTextRaw, 0}}, + {3391, {wxStyledTextCtrl, appendTextRaw, 1}}, + {3392, {wxArtProvider, getBitmap, 2}}, + {3393, {wxArtProvider, getIcon, 2}}, + {3394, {wxTreeEvent, getKeyCode, 0}}, + {3395, {wxTreeEvent, getItem, 0}}, + {3396, {wxTreeEvent, getKeyEvent, 0}}, + {3397, {wxTreeEvent, getLabel, 0}}, + {3398, {wxTreeEvent, getOldItem, 0}}, + {3399, {wxTreeEvent, getPoint, 0}}, + {3400, {wxTreeEvent, isEditCancelled, 0}}, + {3401, {wxTreeEvent, setToolTip, 1}}, + {3402, {wxNotebookEvent, getOldSelection, 0}}, + {3403, {wxNotebookEvent, getSelection, 0}}, + {3404, {wxNotebookEvent, setOldSelection, 1}}, + {3405, {wxNotebookEvent, setSelection, 1}}, + {3406, {wxFileDataObject, new, 0}}, + {3407, {wxFileDataObject, addFile, 1}}, + {3408, {wxFileDataObject, getFilenames, 0}}, + {3409, {wxFileDataObject, 'Destroy', undefined}}, + {3410, {wxTextDataObject, new, 1}}, + {3411, {wxTextDataObject, getTextLength, 0}}, + {3412, {wxTextDataObject, getText, 0}}, + {3413, {wxTextDataObject, setText, 1}}, + {3414, {wxTextDataObject, 'Destroy', undefined}}, + {3415, {wxBitmapDataObject, new_1_1, 1}}, + {3416, {wxBitmapDataObject, new_1_0, 1}}, + {3417, {wxBitmapDataObject, getBitmap, 0}}, + {3418, {wxBitmapDataObject, setBitmap, 1}}, + {3419, {wxBitmapDataObject, 'Destroy', undefined}}, + {3421, {wxClipboard, new, 0}}, + {3422, {wxClipboard, destruct, 0}}, + {3423, {wxClipboard, addData, 1}}, + {3424, {wxClipboard, clear, 0}}, + {3425, {wxClipboard, close, 0}}, + {3426, {wxClipboard, flush, 0}}, + {3427, {wxClipboard, getData, 1}}, + {3428, {wxClipboard, isOpened, 0}}, + {3429, {wxClipboard, open, 0}}, + {3430, {wxClipboard, setData, 1}}, + {3432, {wxClipboard, usePrimarySelection, 1}}, + {3433, {wxClipboard, isSupported, 1}}, + {3434, {wxClipboard, get, 0}}, + {3435, {wxSpinEvent, getPosition, 0}}, + {3436, {wxSpinEvent, setPosition, 1}}, + {3437, {wxSplitterWindow, new_0, 0}}, + {3438, {wxSplitterWindow, new_2, 2}}, + {3439, {wxSplitterWindow, destruct, 0}}, + {3440, {wxSplitterWindow, create, 2}}, + {3441, {wxSplitterWindow, getMinimumPaneSize, 0}}, + {3442, {wxSplitterWindow, getSashGravity, 0}}, + {3443, {wxSplitterWindow, getSashPosition, 0}}, + {3444, {wxSplitterWindow, getSplitMode, 0}}, + {3445, {wxSplitterWindow, getWindow1, 0}}, + {3446, {wxSplitterWindow, getWindow2, 0}}, + {3447, {wxSplitterWindow, initialize, 1}}, + {3448, {wxSplitterWindow, isSplit, 0}}, + {3449, {wxSplitterWindow, replaceWindow, 2}}, + {3450, {wxSplitterWindow, setSashGravity, 1}}, + {3451, {wxSplitterWindow, setSashPosition, 2}}, + {3452, {wxSplitterWindow, setSashSize, 1}}, + {3453, {wxSplitterWindow, setMinimumPaneSize, 1}}, + {3454, {wxSplitterWindow, setSplitMode, 1}}, + {3455, {wxSplitterWindow, splitHorizontally, 3}}, + {3456, {wxSplitterWindow, splitVertically, 3}}, + {3457, {wxSplitterWindow, unsplit, 1}}, + {3458, {wxSplitterWindow, updateSize, 0}}, + {3459, {wxSplitterEvent, getSashPosition, 0}}, + {3460, {wxSplitterEvent, getX, 0}}, + {3461, {wxSplitterEvent, getY, 0}}, + {3462, {wxSplitterEvent, getWindowBeingRemoved, 0}}, + {3463, {wxSplitterEvent, setSashPosition, 1}}, + {3464, {wxHtmlWindow, new_0, 0}}, + {3465, {wxHtmlWindow, new_2, 2}}, + {3466, {wxHtmlWindow, appendToPage, 1}}, + {3467, {wxHtmlWindow, getOpenedAnchor, 0}}, + {3468, {wxHtmlWindow, getOpenedPage, 0}}, + {3469, {wxHtmlWindow, getOpenedPageTitle, 0}}, + {3470, {wxHtmlWindow, getRelatedFrame, 0}}, + {3471, {wxHtmlWindow, historyBack, 0}}, + {3472, {wxHtmlWindow, historyCanBack, 0}}, + {3473, {wxHtmlWindow, historyCanForward, 0}}, + {3474, {wxHtmlWindow, historyClear, 0}}, + {3475, {wxHtmlWindow, historyForward, 0}}, + {3476, {wxHtmlWindow, loadFile, 1}}, + {3477, {wxHtmlWindow, loadPage, 1}}, + {3478, {wxHtmlWindow, selectAll, 0}}, + {3479, {wxHtmlWindow, selectionToText, 0}}, + {3480, {wxHtmlWindow, selectLine, 1}}, + {3481, {wxHtmlWindow, selectWord, 1}}, + {3482, {wxHtmlWindow, setBorders, 1}}, + {3483, {wxHtmlWindow, setFonts, 3}}, + {3484, {wxHtmlWindow, setPage, 1}}, + {3485, {wxHtmlWindow, setRelatedFrame, 2}}, + {3486, {wxHtmlWindow, setRelatedStatusBar, 1}}, + {3487, {wxHtmlWindow, toText, 0}}, + {3488, {wxHtmlWindow, 'Destroy', undefined}}, + {3489, {wxHtmlLinkEvent, getLinkInfo, 0}}, + {3490, {wxSystemSettings, getColour, 1}}, + {3491, {wxSystemSettings, getFont, 1}}, + {3492, {wxSystemSettings, getMetric, 2}}, + {3493, {wxSystemSettings, getScreenType, 0}}, + {3494, {wxSystemOptions, getOption, 1}}, + {3495, {wxSystemOptions, getOptionInt, 1}}, + {3496, {wxSystemOptions, hasOption, 1}}, + {3497, {wxSystemOptions, isFalse, 1}}, + {3498, {wxSystemOptions, setOption_2_1, 2}}, + {3499, {wxSystemOptions, setOption_2_0, 2}}, + {3500, {wxAuiNotebookEvent, setSelection, 1}}, + {3501, {wxAuiNotebookEvent, getSelection, 0}}, + {3502, {wxAuiNotebookEvent, setOldSelection, 1}}, + {3503, {wxAuiNotebookEvent, getOldSelection, 0}}, + {3504, {wxAuiNotebookEvent, setDragSource, 1}}, + {3505, {wxAuiNotebookEvent, getDragSource, 0}}, + {3506, {wxAuiManagerEvent, setManager, 1}}, + {3507, {wxAuiManagerEvent, getManager, 0}}, + {3508, {wxAuiManagerEvent, setPane, 1}}, + {3509, {wxAuiManagerEvent, getPane, 0}}, + {3510, {wxAuiManagerEvent, setButton, 1}}, + {3511, {wxAuiManagerEvent, getButton, 0}}, + {3512, {wxAuiManagerEvent, setDC, 1}}, + {3513, {wxAuiManagerEvent, getDC, 0}}, + {3514, {wxAuiManagerEvent, veto, 1}}, + {3515, {wxAuiManagerEvent, getVeto, 0}}, + {3516, {wxAuiManagerEvent, setCanVeto, 1}}, + {3517, {wxAuiManagerEvent, canVeto, 0}}, + {3518, {wxLogNull, new, 0}}, + {3519, {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 55cbee5572..5d149f6fa2 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-2011. All Rights Reserved. +%% Copyright Ericsson AB 2008-2012. 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 @@ -643,2656 +643,2657 @@ -define(wxBufferedPaintDC_new_3, 751). -define(wxBufferedPaintDC_new_2, 752). -define(wxBufferedPaintDC_destruct, 753). --define(wxGraphicsObject_GetRenderer, 754). --define(wxGraphicsObject_IsNull, 755). --define(wxGraphicsContext_Create_1_1, 756). --define(wxGraphicsContext_Create_1_0, 757). --define(wxGraphicsContext_Create_0, 758). --define(wxGraphicsContext_CreatePen, 759). --define(wxGraphicsContext_CreateBrush, 760). --define(wxGraphicsContext_CreateRadialGradientBrush, 761). --define(wxGraphicsContext_CreateLinearGradientBrush, 762). --define(wxGraphicsContext_CreateFont, 763). --define(wxGraphicsContext_CreateMatrix, 764). --define(wxGraphicsContext_CreatePath, 765). --define(wxGraphicsContext_Clip_1, 766). --define(wxGraphicsContext_Clip_4, 767). --define(wxGraphicsContext_ResetClip, 768). --define(wxGraphicsContext_DrawBitmap, 769). --define(wxGraphicsContext_DrawEllipse, 770). --define(wxGraphicsContext_DrawIcon, 771). --define(wxGraphicsContext_DrawLines, 772). --define(wxGraphicsContext_DrawPath, 773). --define(wxGraphicsContext_DrawRectangle, 774). --define(wxGraphicsContext_DrawRoundedRectangle, 775). --define(wxGraphicsContext_DrawText_3, 776). --define(wxGraphicsContext_DrawText_4_0, 777). --define(wxGraphicsContext_DrawText_4_1, 778). --define(wxGraphicsContext_DrawText_5, 779). --define(wxGraphicsContext_FillPath, 780). --define(wxGraphicsContext_StrokePath, 781). --define(wxGraphicsContext_GetNativeContext, 782). --define(wxGraphicsContext_GetPartialTextExtents, 783). --define(wxGraphicsContext_GetTextExtent, 784). --define(wxGraphicsContext_Rotate, 785). --define(wxGraphicsContext_Scale, 786). --define(wxGraphicsContext_Translate, 787). --define(wxGraphicsContext_GetTransform, 788). --define(wxGraphicsContext_SetTransform, 789). --define(wxGraphicsContext_ConcatTransform, 790). --define(wxGraphicsContext_SetBrush_1_1, 791). --define(wxGraphicsContext_SetBrush_1_0, 792). --define(wxGraphicsContext_SetFont_1, 793). --define(wxGraphicsContext_SetFont_2, 794). --define(wxGraphicsContext_SetPen_1_0, 795). --define(wxGraphicsContext_SetPen_1_1, 796). --define(wxGraphicsContext_StrokeLine, 797). --define(wxGraphicsContext_StrokeLines_2, 798). --define(wxGraphicsContext_StrokeLines_3, 799). --define(wxGraphicsMatrix_Concat, 800). --define(wxGraphicsMatrix_Get, 802). --define(wxGraphicsMatrix_GetNativeMatrix, 803). --define(wxGraphicsMatrix_Invert, 804). --define(wxGraphicsMatrix_IsEqual, 805). --define(wxGraphicsMatrix_IsIdentity, 807). --define(wxGraphicsMatrix_Rotate, 808). --define(wxGraphicsMatrix_Scale, 809). --define(wxGraphicsMatrix_Translate, 810). --define(wxGraphicsMatrix_Set, 811). --define(wxGraphicsMatrix_TransformPoint, 812). --define(wxGraphicsMatrix_TransformDistance, 813). --define(wxGraphicsPath_MoveToPoint_2, 814). --define(wxGraphicsPath_MoveToPoint_1, 815). --define(wxGraphicsPath_AddArc_6, 816). --define(wxGraphicsPath_AddArc_5, 817). --define(wxGraphicsPath_AddArcToPoint, 818). --define(wxGraphicsPath_AddCircle, 819). --define(wxGraphicsPath_AddCurveToPoint_6, 820). --define(wxGraphicsPath_AddCurveToPoint_3, 821). --define(wxGraphicsPath_AddEllipse, 822). --define(wxGraphicsPath_AddLineToPoint_2, 823). --define(wxGraphicsPath_AddLineToPoint_1, 824). --define(wxGraphicsPath_AddPath, 825). --define(wxGraphicsPath_AddQuadCurveToPoint, 826). --define(wxGraphicsPath_AddRectangle, 827). --define(wxGraphicsPath_AddRoundedRectangle, 828). --define(wxGraphicsPath_CloseSubpath, 829). --define(wxGraphicsPath_Contains_3, 830). --define(wxGraphicsPath_Contains_2, 831). --define(wxGraphicsPath_GetBox, 833). --define(wxGraphicsPath_GetCurrentPoint, 835). --define(wxGraphicsPath_Transform, 836). --define(wxGraphicsRenderer_GetDefaultRenderer, 837). --define(wxGraphicsRenderer_CreateContext_1_1, 838). --define(wxGraphicsRenderer_CreateContext_1_0, 839). --define(wxGraphicsRenderer_CreatePen, 840). --define(wxGraphicsRenderer_CreateBrush, 841). --define(wxGraphicsRenderer_CreateLinearGradientBrush, 842). --define(wxGraphicsRenderer_CreateRadialGradientBrush, 843). --define(wxGraphicsRenderer_CreateFont, 844). --define(wxGraphicsRenderer_CreateMatrix, 845). --define(wxGraphicsRenderer_CreatePath, 846). --define(wxMenuBar_new_1, 848). --define(wxMenuBar_new_0, 850). --define(wxMenuBar_destruct, 852). --define(wxMenuBar_Append, 853). --define(wxMenuBar_Check, 854). --define(wxMenuBar_Enable_2, 855). --define(wxMenuBar_Enable_1, 856). --define(wxMenuBar_EnableTop, 857). --define(wxMenuBar_FindMenu, 858). --define(wxMenuBar_FindMenuItem, 859). --define(wxMenuBar_FindItem, 860). --define(wxMenuBar_GetHelpString, 861). --define(wxMenuBar_GetLabel_1, 862). --define(wxMenuBar_GetLabel_0, 863). --define(wxMenuBar_GetLabelTop, 864). --define(wxMenuBar_GetMenu, 865). --define(wxMenuBar_GetMenuCount, 866). --define(wxMenuBar_Insert, 867). --define(wxMenuBar_IsChecked, 868). --define(wxMenuBar_IsEnabled_1, 869). --define(wxMenuBar_IsEnabled_0, 870). --define(wxMenuBar_Remove, 871). --define(wxMenuBar_Replace, 872). --define(wxMenuBar_SetHelpString, 873). --define(wxMenuBar_SetLabel_2, 874). --define(wxMenuBar_SetLabel_1, 875). --define(wxMenuBar_SetLabelTop, 876). --define(wxControl_GetLabel, 877). --define(wxControl_SetLabel, 878). --define(wxControlWithItems_Append_1, 879). --define(wxControlWithItems_Append_2, 880). --define(wxControlWithItems_appendStrings_1, 881). --define(wxControlWithItems_Clear, 882). --define(wxControlWithItems_Delete, 883). --define(wxControlWithItems_FindString, 884). --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(wxSystemOptions_GetOption, 3492). --define(wxSystemOptions_GetOptionInt, 3493). --define(wxSystemOptions_HasOption, 3494). --define(wxSystemOptions_IsFalse, 3495). --define(wxSystemOptions_SetOption_2_1, 3496). --define(wxSystemOptions_SetOption_2_0, 3497). --define(wxAuiNotebookEvent_SetSelection, 3498). --define(wxAuiNotebookEvent_GetSelection, 3499). --define(wxAuiNotebookEvent_SetOldSelection, 3500). --define(wxAuiNotebookEvent_GetOldSelection, 3501). --define(wxAuiNotebookEvent_SetDragSource, 3502). --define(wxAuiNotebookEvent_GetDragSource, 3503). --define(wxAuiManagerEvent_SetManager, 3504). --define(wxAuiManagerEvent_GetManager, 3505). --define(wxAuiManagerEvent_SetPane, 3506). --define(wxAuiManagerEvent_GetPane, 3507). --define(wxAuiManagerEvent_SetButton, 3508). --define(wxAuiManagerEvent_GetButton, 3509). --define(wxAuiManagerEvent_SetDC, 3510). --define(wxAuiManagerEvent_GetDC, 3511). --define(wxAuiManagerEvent_Veto, 3512). --define(wxAuiManagerEvent_GetVeto, 3513). --define(wxAuiManagerEvent_SetCanVeto, 3514). --define(wxAuiManagerEvent_CanVeto, 3515). --define(wxLogNull_new, 3516). --define(wxLogNull_destroy, 3517). +-define(wxGraphicsObject_destruct, 754). +-define(wxGraphicsObject_GetRenderer, 755). +-define(wxGraphicsObject_IsNull, 756). +-define(wxGraphicsContext_destruct, 757). +-define(wxGraphicsContext_Create_1_1, 758). +-define(wxGraphicsContext_Create_1_0, 759). +-define(wxGraphicsContext_Create_0, 760). +-define(wxGraphicsContext_CreatePen, 761). +-define(wxGraphicsContext_CreateBrush, 762). +-define(wxGraphicsContext_CreateRadialGradientBrush, 763). +-define(wxGraphicsContext_CreateLinearGradientBrush, 764). +-define(wxGraphicsContext_CreateFont, 765). +-define(wxGraphicsContext_CreateMatrix, 766). +-define(wxGraphicsContext_CreatePath, 767). +-define(wxGraphicsContext_Clip_1, 768). +-define(wxGraphicsContext_Clip_4, 769). +-define(wxGraphicsContext_ResetClip, 770). +-define(wxGraphicsContext_DrawBitmap, 771). +-define(wxGraphicsContext_DrawEllipse, 772). +-define(wxGraphicsContext_DrawIcon, 773). +-define(wxGraphicsContext_DrawLines, 774). +-define(wxGraphicsContext_DrawPath, 775). +-define(wxGraphicsContext_DrawRectangle, 776). +-define(wxGraphicsContext_DrawRoundedRectangle, 777). +-define(wxGraphicsContext_DrawText_3, 778). +-define(wxGraphicsContext_DrawText_4_0, 779). +-define(wxGraphicsContext_DrawText_4_1, 780). +-define(wxGraphicsContext_DrawText_5, 781). +-define(wxGraphicsContext_FillPath, 782). +-define(wxGraphicsContext_StrokePath, 783). +-define(wxGraphicsContext_GetNativeContext, 784). +-define(wxGraphicsContext_GetPartialTextExtents, 785). +-define(wxGraphicsContext_GetTextExtent, 786). +-define(wxGraphicsContext_Rotate, 787). +-define(wxGraphicsContext_Scale, 788). +-define(wxGraphicsContext_Translate, 789). +-define(wxGraphicsContext_GetTransform, 790). +-define(wxGraphicsContext_SetTransform, 791). +-define(wxGraphicsContext_ConcatTransform, 792). +-define(wxGraphicsContext_SetBrush_1_1, 793). +-define(wxGraphicsContext_SetBrush_1_0, 794). +-define(wxGraphicsContext_SetFont_1, 795). +-define(wxGraphicsContext_SetFont_2, 796). +-define(wxGraphicsContext_SetPen_1_0, 797). +-define(wxGraphicsContext_SetPen_1_1, 798). +-define(wxGraphicsContext_StrokeLine, 799). +-define(wxGraphicsContext_StrokeLines, 800). +-define(wxGraphicsMatrix_Concat, 802). +-define(wxGraphicsMatrix_Get, 804). +-define(wxGraphicsMatrix_GetNativeMatrix, 805). +-define(wxGraphicsMatrix_Invert, 806). +-define(wxGraphicsMatrix_IsEqual, 807). +-define(wxGraphicsMatrix_IsIdentity, 809). +-define(wxGraphicsMatrix_Rotate, 810). +-define(wxGraphicsMatrix_Scale, 811). +-define(wxGraphicsMatrix_Translate, 812). +-define(wxGraphicsMatrix_Set, 813). +-define(wxGraphicsMatrix_TransformPoint, 814). +-define(wxGraphicsMatrix_TransformDistance, 815). +-define(wxGraphicsPath_MoveToPoint_2, 816). +-define(wxGraphicsPath_MoveToPoint_1, 817). +-define(wxGraphicsPath_AddArc_6, 818). +-define(wxGraphicsPath_AddArc_5, 819). +-define(wxGraphicsPath_AddArcToPoint, 820). +-define(wxGraphicsPath_AddCircle, 821). +-define(wxGraphicsPath_AddCurveToPoint_6, 822). +-define(wxGraphicsPath_AddCurveToPoint_3, 823). +-define(wxGraphicsPath_AddEllipse, 824). +-define(wxGraphicsPath_AddLineToPoint_2, 825). +-define(wxGraphicsPath_AddLineToPoint_1, 826). +-define(wxGraphicsPath_AddPath, 827). +-define(wxGraphicsPath_AddQuadCurveToPoint, 828). +-define(wxGraphicsPath_AddRectangle, 829). +-define(wxGraphicsPath_AddRoundedRectangle, 830). +-define(wxGraphicsPath_CloseSubpath, 831). +-define(wxGraphicsPath_Contains_3, 832). +-define(wxGraphicsPath_Contains_2, 833). +-define(wxGraphicsPath_GetBox, 835). +-define(wxGraphicsPath_GetCurrentPoint, 837). +-define(wxGraphicsPath_Transform, 838). +-define(wxGraphicsRenderer_GetDefaultRenderer, 839). +-define(wxGraphicsRenderer_CreateContext_1_1, 840). +-define(wxGraphicsRenderer_CreateContext_1_0, 841). +-define(wxGraphicsRenderer_CreatePen, 842). +-define(wxGraphicsRenderer_CreateBrush, 843). +-define(wxGraphicsRenderer_CreateLinearGradientBrush, 844). +-define(wxGraphicsRenderer_CreateRadialGradientBrush, 845). +-define(wxGraphicsRenderer_CreateFont, 846). +-define(wxGraphicsRenderer_CreateMatrix, 847). +-define(wxGraphicsRenderer_CreatePath, 848). +-define(wxMenuBar_new_1, 850). +-define(wxMenuBar_new_0, 852). +-define(wxMenuBar_destruct, 854). +-define(wxMenuBar_Append, 855). +-define(wxMenuBar_Check, 856). +-define(wxMenuBar_Enable_2, 857). +-define(wxMenuBar_Enable_1, 858). +-define(wxMenuBar_EnableTop, 859). +-define(wxMenuBar_FindMenu, 860). +-define(wxMenuBar_FindMenuItem, 861). +-define(wxMenuBar_FindItem, 862). +-define(wxMenuBar_GetHelpString, 863). +-define(wxMenuBar_GetLabel_1, 864). +-define(wxMenuBar_GetLabel_0, 865). +-define(wxMenuBar_GetLabelTop, 866). +-define(wxMenuBar_GetMenu, 867). +-define(wxMenuBar_GetMenuCount, 868). +-define(wxMenuBar_Insert, 869). +-define(wxMenuBar_IsChecked, 870). +-define(wxMenuBar_IsEnabled_1, 871). +-define(wxMenuBar_IsEnabled_0, 872). +-define(wxMenuBar_Remove, 873). +-define(wxMenuBar_Replace, 874). +-define(wxMenuBar_SetHelpString, 875). +-define(wxMenuBar_SetLabel_2, 876). +-define(wxMenuBar_SetLabel_1, 877). +-define(wxMenuBar_SetLabelTop, 878). +-define(wxControl_GetLabel, 879). +-define(wxControl_SetLabel, 880). +-define(wxControlWithItems_Append_1, 881). +-define(wxControlWithItems_Append_2, 882). +-define(wxControlWithItems_appendStrings_1, 883). +-define(wxControlWithItems_Clear, 884). +-define(wxControlWithItems_Delete, 885). +-define(wxControlWithItems_FindString, 886). +-define(wxControlWithItems_getClientData, 887). +-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(wxListItemAttr_new_0, 1759). +-define(wxListItemAttr_new_3, 1760). +-define(wxListItemAttr_GetBackgroundColour, 1761). +-define(wxListItemAttr_GetFont, 1762). +-define(wxListItemAttr_GetTextColour, 1763). +-define(wxListItemAttr_HasBackgroundColour, 1764). +-define(wxListItemAttr_HasFont, 1765). +-define(wxListItemAttr_HasTextColour, 1766). +-define(wxListItemAttr_SetBackgroundColour, 1767). +-define(wxListItemAttr_SetFont, 1768). +-define(wxListItemAttr_SetTextColour, 1769). +-define(wxListItemAttr_destroy, 1770). +-define(wxImageList_new_0, 1771). +-define(wxImageList_new_3, 1772). +-define(wxImageList_Add_1, 1773). +-define(wxImageList_Add_2_0, 1774). +-define(wxImageList_Add_2_1, 1775). +-define(wxImageList_Create, 1776). +-define(wxImageList_Draw, 1778). +-define(wxImageList_GetBitmap, 1779). +-define(wxImageList_GetIcon, 1780). +-define(wxImageList_GetImageCount, 1781). +-define(wxImageList_GetSize, 1782). +-define(wxImageList_Remove, 1783). +-define(wxImageList_RemoveAll, 1784). +-define(wxImageList_Replace_2, 1785). +-define(wxImageList_Replace_3, 1786). +-define(wxImageList_destroy, 1787). +-define(wxTextAttr_new_0, 1788). +-define(wxTextAttr_new_2, 1789). +-define(wxTextAttr_GetAlignment, 1790). +-define(wxTextAttr_GetBackgroundColour, 1791). +-define(wxTextAttr_GetFont, 1792). +-define(wxTextAttr_GetLeftIndent, 1793). +-define(wxTextAttr_GetLeftSubIndent, 1794). +-define(wxTextAttr_GetRightIndent, 1795). +-define(wxTextAttr_GetTabs, 1796). +-define(wxTextAttr_GetTextColour, 1797). +-define(wxTextAttr_HasBackgroundColour, 1798). +-define(wxTextAttr_HasFont, 1799). +-define(wxTextAttr_HasTextColour, 1800). +-define(wxTextAttr_GetFlags, 1801). +-define(wxTextAttr_IsDefault, 1802). +-define(wxTextAttr_SetAlignment, 1803). +-define(wxTextAttr_SetBackgroundColour, 1804). +-define(wxTextAttr_SetFlags, 1805). +-define(wxTextAttr_SetFont, 1806). +-define(wxTextAttr_SetLeftIndent, 1807). +-define(wxTextAttr_SetRightIndent, 1808). +-define(wxTextAttr_SetTabs, 1809). +-define(wxTextAttr_SetTextColour, 1810). +-define(wxTextAttr_destroy, 1811). +-define(wxTextCtrl_new_3, 1813). +-define(wxTextCtrl_new_0, 1814). +-define(wxTextCtrl_destruct, 1816). +-define(wxTextCtrl_AppendText, 1817). +-define(wxTextCtrl_CanCopy, 1818). +-define(wxTextCtrl_CanCut, 1819). +-define(wxTextCtrl_CanPaste, 1820). +-define(wxTextCtrl_CanRedo, 1821). +-define(wxTextCtrl_CanUndo, 1822). +-define(wxTextCtrl_Clear, 1823). +-define(wxTextCtrl_Copy, 1824). +-define(wxTextCtrl_Create, 1825). +-define(wxTextCtrl_Cut, 1826). +-define(wxTextCtrl_DiscardEdits, 1827). +-define(wxTextCtrl_EmulateKeyPress, 1828). +-define(wxTextCtrl_GetDefaultStyle, 1829). +-define(wxTextCtrl_GetInsertionPoint, 1830). +-define(wxTextCtrl_GetLastPosition, 1831). +-define(wxTextCtrl_GetLineLength, 1832). +-define(wxTextCtrl_GetLineText, 1833). +-define(wxTextCtrl_GetNumberOfLines, 1834). +-define(wxTextCtrl_GetRange, 1835). +-define(wxTextCtrl_GetSelection, 1836). +-define(wxTextCtrl_GetStringSelection, 1837). +-define(wxTextCtrl_GetStyle, 1838). +-define(wxTextCtrl_GetValue, 1839). +-define(wxTextCtrl_IsEditable, 1840). +-define(wxTextCtrl_IsModified, 1841). +-define(wxTextCtrl_IsMultiLine, 1842). +-define(wxTextCtrl_IsSingleLine, 1843). +-define(wxTextCtrl_LoadFile, 1844). +-define(wxTextCtrl_MarkDirty, 1845). +-define(wxTextCtrl_Paste, 1846). +-define(wxTextCtrl_PositionToXY, 1847). +-define(wxTextCtrl_Redo, 1848). +-define(wxTextCtrl_Remove, 1849). +-define(wxTextCtrl_Replace, 1850). +-define(wxTextCtrl_SaveFile, 1851). +-define(wxTextCtrl_SetDefaultStyle, 1852). +-define(wxTextCtrl_SetEditable, 1853). +-define(wxTextCtrl_SetInsertionPoint, 1854). +-define(wxTextCtrl_SetInsertionPointEnd, 1855). +-define(wxTextCtrl_SetMaxLength, 1857). +-define(wxTextCtrl_SetSelection, 1858). +-define(wxTextCtrl_SetStyle, 1859). +-define(wxTextCtrl_SetValue, 1860). +-define(wxTextCtrl_ShowPosition, 1861). +-define(wxTextCtrl_Undo, 1862). +-define(wxTextCtrl_WriteText, 1863). +-define(wxTextCtrl_XYToPosition, 1864). +-define(wxNotebook_new_0, 1867). +-define(wxNotebook_new_3, 1868). +-define(wxNotebook_destruct, 1869). +-define(wxNotebook_AddPage, 1870). +-define(wxNotebook_AdvanceSelection, 1871). +-define(wxNotebook_AssignImageList, 1872). +-define(wxNotebook_Create, 1873). +-define(wxNotebook_DeleteAllPages, 1874). +-define(wxNotebook_DeletePage, 1875). +-define(wxNotebook_RemovePage, 1876). +-define(wxNotebook_GetCurrentPage, 1877). +-define(wxNotebook_GetImageList, 1878). +-define(wxNotebook_GetPage, 1880). +-define(wxNotebook_GetPageCount, 1881). +-define(wxNotebook_GetPageImage, 1882). +-define(wxNotebook_GetPageText, 1883). +-define(wxNotebook_GetRowCount, 1884). +-define(wxNotebook_GetSelection, 1885). +-define(wxNotebook_GetThemeBackgroundColour, 1886). +-define(wxNotebook_HitTest, 1888). +-define(wxNotebook_InsertPage, 1890). +-define(wxNotebook_SetImageList, 1891). +-define(wxNotebook_SetPadding, 1892). +-define(wxNotebook_SetPageSize, 1893). +-define(wxNotebook_SetPageImage, 1894). +-define(wxNotebook_SetPageText, 1895). +-define(wxNotebook_SetSelection, 1896). +-define(wxNotebook_ChangeSelection, 1897). +-define(wxChoicebook_new_0, 1898). +-define(wxChoicebook_new_3, 1899). +-define(wxChoicebook_AddPage, 1900). +-define(wxChoicebook_AdvanceSelection, 1901). +-define(wxChoicebook_AssignImageList, 1902). +-define(wxChoicebook_Create, 1903). +-define(wxChoicebook_DeleteAllPages, 1904). +-define(wxChoicebook_DeletePage, 1905). +-define(wxChoicebook_RemovePage, 1906). +-define(wxChoicebook_GetCurrentPage, 1907). +-define(wxChoicebook_GetImageList, 1908). +-define(wxChoicebook_GetPage, 1910). +-define(wxChoicebook_GetPageCount, 1911). +-define(wxChoicebook_GetPageImage, 1912). +-define(wxChoicebook_GetPageText, 1913). +-define(wxChoicebook_GetSelection, 1914). +-define(wxChoicebook_HitTest, 1915). +-define(wxChoicebook_InsertPage, 1916). +-define(wxChoicebook_SetImageList, 1917). +-define(wxChoicebook_SetPageSize, 1918). +-define(wxChoicebook_SetPageImage, 1919). +-define(wxChoicebook_SetPageText, 1920). +-define(wxChoicebook_SetSelection, 1921). +-define(wxChoicebook_ChangeSelection, 1922). +-define(wxChoicebook_destroy, 1923). +-define(wxToolbook_new_0, 1924). +-define(wxToolbook_new_3, 1925). +-define(wxToolbook_AddPage, 1926). +-define(wxToolbook_AdvanceSelection, 1927). +-define(wxToolbook_AssignImageList, 1928). +-define(wxToolbook_Create, 1929). +-define(wxToolbook_DeleteAllPages, 1930). +-define(wxToolbook_DeletePage, 1931). +-define(wxToolbook_RemovePage, 1932). +-define(wxToolbook_GetCurrentPage, 1933). +-define(wxToolbook_GetImageList, 1934). +-define(wxToolbook_GetPage, 1936). +-define(wxToolbook_GetPageCount, 1937). +-define(wxToolbook_GetPageImage, 1938). +-define(wxToolbook_GetPageText, 1939). +-define(wxToolbook_GetSelection, 1940). +-define(wxToolbook_HitTest, 1942). +-define(wxToolbook_InsertPage, 1943). +-define(wxToolbook_SetImageList, 1944). +-define(wxToolbook_SetPageSize, 1945). +-define(wxToolbook_SetPageImage, 1946). +-define(wxToolbook_SetPageText, 1947). +-define(wxToolbook_SetSelection, 1948). +-define(wxToolbook_ChangeSelection, 1949). +-define(wxToolbook_destroy, 1950). +-define(wxListbook_new_0, 1951). +-define(wxListbook_new_3, 1952). +-define(wxListbook_AddPage, 1953). +-define(wxListbook_AdvanceSelection, 1954). +-define(wxListbook_AssignImageList, 1955). +-define(wxListbook_Create, 1956). +-define(wxListbook_DeleteAllPages, 1957). +-define(wxListbook_DeletePage, 1958). +-define(wxListbook_RemovePage, 1959). +-define(wxListbook_GetCurrentPage, 1960). +-define(wxListbook_GetImageList, 1961). +-define(wxListbook_GetPage, 1963). +-define(wxListbook_GetPageCount, 1964). +-define(wxListbook_GetPageImage, 1965). +-define(wxListbook_GetPageText, 1966). +-define(wxListbook_GetSelection, 1967). +-define(wxListbook_HitTest, 1969). +-define(wxListbook_InsertPage, 1970). +-define(wxListbook_SetImageList, 1971). +-define(wxListbook_SetPageSize, 1972). +-define(wxListbook_SetPageImage, 1973). +-define(wxListbook_SetPageText, 1974). +-define(wxListbook_SetSelection, 1975). +-define(wxListbook_ChangeSelection, 1976). +-define(wxListbook_destroy, 1977). +-define(wxTreebook_new_0, 1978). +-define(wxTreebook_new_3, 1979). +-define(wxTreebook_AddPage, 1980). +-define(wxTreebook_AdvanceSelection, 1981). +-define(wxTreebook_AssignImageList, 1982). +-define(wxTreebook_Create, 1983). +-define(wxTreebook_DeleteAllPages, 1984). +-define(wxTreebook_DeletePage, 1985). +-define(wxTreebook_RemovePage, 1986). +-define(wxTreebook_GetCurrentPage, 1987). +-define(wxTreebook_GetImageList, 1988). +-define(wxTreebook_GetPage, 1990). +-define(wxTreebook_GetPageCount, 1991). +-define(wxTreebook_GetPageImage, 1992). +-define(wxTreebook_GetPageText, 1993). +-define(wxTreebook_GetSelection, 1994). +-define(wxTreebook_ExpandNode, 1995). +-define(wxTreebook_IsNodeExpanded, 1996). +-define(wxTreebook_HitTest, 1998). +-define(wxTreebook_InsertPage, 1999). +-define(wxTreebook_InsertSubPage, 2000). +-define(wxTreebook_SetImageList, 2001). +-define(wxTreebook_SetPageSize, 2002). +-define(wxTreebook_SetPageImage, 2003). +-define(wxTreebook_SetPageText, 2004). +-define(wxTreebook_SetSelection, 2005). +-define(wxTreebook_ChangeSelection, 2006). +-define(wxTreebook_destroy, 2007). +-define(wxTreeCtrl_new_2, 2010). +-define(wxTreeCtrl_new_0, 2011). +-define(wxTreeCtrl_destruct, 2013). +-define(wxTreeCtrl_AddRoot, 2014). +-define(wxTreeCtrl_AppendItem, 2015). +-define(wxTreeCtrl_AssignImageList, 2016). +-define(wxTreeCtrl_AssignStateImageList, 2017). +-define(wxTreeCtrl_Collapse, 2018). +-define(wxTreeCtrl_CollapseAndReset, 2019). +-define(wxTreeCtrl_Create, 2020). +-define(wxTreeCtrl_Delete, 2021). +-define(wxTreeCtrl_DeleteAllItems, 2022). +-define(wxTreeCtrl_DeleteChildren, 2023). +-define(wxTreeCtrl_EditLabel, 2024). +-define(wxTreeCtrl_EnsureVisible, 2025). +-define(wxTreeCtrl_Expand, 2026). +-define(wxTreeCtrl_GetBoundingRect, 2027). +-define(wxTreeCtrl_GetChildrenCount, 2029). +-define(wxTreeCtrl_GetCount, 2030). +-define(wxTreeCtrl_GetEditControl, 2031). +-define(wxTreeCtrl_GetFirstChild, 2032). +-define(wxTreeCtrl_GetNextChild, 2033). +-define(wxTreeCtrl_GetFirstVisibleItem, 2034). +-define(wxTreeCtrl_GetImageList, 2035). +-define(wxTreeCtrl_GetIndent, 2036). +-define(wxTreeCtrl_GetItemBackgroundColour, 2037). +-define(wxTreeCtrl_GetItemData, 2038). +-define(wxTreeCtrl_GetItemFont, 2039). +-define(wxTreeCtrl_GetItemImage_1, 2040). +-define(wxTreeCtrl_GetItemImage_2, 2041). +-define(wxTreeCtrl_GetItemText, 2042). +-define(wxTreeCtrl_GetItemTextColour, 2043). +-define(wxTreeCtrl_GetLastChild, 2044). +-define(wxTreeCtrl_GetNextSibling, 2045). +-define(wxTreeCtrl_GetNextVisible, 2046). +-define(wxTreeCtrl_GetItemParent, 2047). +-define(wxTreeCtrl_GetPrevSibling, 2048). +-define(wxTreeCtrl_GetPrevVisible, 2049). +-define(wxTreeCtrl_GetRootItem, 2050). +-define(wxTreeCtrl_GetSelection, 2051). +-define(wxTreeCtrl_GetSelections, 2052). +-define(wxTreeCtrl_GetStateImageList, 2053). +-define(wxTreeCtrl_HitTest, 2054). +-define(wxTreeCtrl_InsertItem, 2056). +-define(wxTreeCtrl_IsBold, 2057). +-define(wxTreeCtrl_IsExpanded, 2058). +-define(wxTreeCtrl_IsSelected, 2059). +-define(wxTreeCtrl_IsVisible, 2060). +-define(wxTreeCtrl_ItemHasChildren, 2061). +-define(wxTreeCtrl_PrependItem, 2062). +-define(wxTreeCtrl_ScrollTo, 2063). +-define(wxTreeCtrl_SelectItem_1, 2064). +-define(wxTreeCtrl_SelectItem_2, 2065). +-define(wxTreeCtrl_SetIndent, 2066). +-define(wxTreeCtrl_SetImageList, 2067). +-define(wxTreeCtrl_SetItemBackgroundColour, 2068). +-define(wxTreeCtrl_SetItemBold, 2069). +-define(wxTreeCtrl_SetItemData, 2070). +-define(wxTreeCtrl_SetItemDropHighlight, 2071). +-define(wxTreeCtrl_SetItemFont, 2072). +-define(wxTreeCtrl_SetItemHasChildren, 2073). +-define(wxTreeCtrl_SetItemImage_2, 2074). +-define(wxTreeCtrl_SetItemImage_3, 2075). +-define(wxTreeCtrl_SetItemText, 2076). +-define(wxTreeCtrl_SetItemTextColour, 2077). +-define(wxTreeCtrl_SetStateImageList, 2078). +-define(wxTreeCtrl_SetWindowStyle, 2079). +-define(wxTreeCtrl_SortChildren, 2080). +-define(wxTreeCtrl_Toggle, 2081). +-define(wxTreeCtrl_ToggleItemSelection, 2082). +-define(wxTreeCtrl_Unselect, 2083). +-define(wxTreeCtrl_UnselectAll, 2084). +-define(wxTreeCtrl_UnselectItem, 2085). +-define(wxScrollBar_new_0, 2086). +-define(wxScrollBar_new_3, 2087). +-define(wxScrollBar_destruct, 2088). +-define(wxScrollBar_Create, 2089). +-define(wxScrollBar_GetRange, 2090). +-define(wxScrollBar_GetPageSize, 2091). +-define(wxScrollBar_GetThumbPosition, 2092). +-define(wxScrollBar_GetThumbSize, 2093). +-define(wxScrollBar_SetThumbPosition, 2094). +-define(wxScrollBar_SetScrollbar, 2095). +-define(wxSpinButton_new_2, 2097). +-define(wxSpinButton_new_0, 2098). +-define(wxSpinButton_Create, 2099). +-define(wxSpinButton_GetMax, 2100). +-define(wxSpinButton_GetMin, 2101). +-define(wxSpinButton_GetValue, 2102). +-define(wxSpinButton_SetRange, 2103). +-define(wxSpinButton_SetValue, 2104). +-define(wxSpinButton_destroy, 2105). +-define(wxSpinCtrl_new_0, 2106). +-define(wxSpinCtrl_new_2, 2107). +-define(wxSpinCtrl_Create, 2109). +-define(wxSpinCtrl_SetValue_1_1, 2112). +-define(wxSpinCtrl_SetValue_1_0, 2113). +-define(wxSpinCtrl_GetValue, 2115). +-define(wxSpinCtrl_SetRange, 2117). +-define(wxSpinCtrl_SetSelection, 2118). +-define(wxSpinCtrl_GetMin, 2120). +-define(wxSpinCtrl_GetMax, 2122). +-define(wxSpinCtrl_destroy, 2123). +-define(wxStaticText_new_0, 2124). +-define(wxStaticText_new_4, 2125). +-define(wxStaticText_Create, 2126). +-define(wxStaticText_GetLabel, 2127). +-define(wxStaticText_SetLabel, 2128). +-define(wxStaticText_Wrap, 2129). +-define(wxStaticText_destroy, 2130). +-define(wxStaticBitmap_new_0, 2131). +-define(wxStaticBitmap_new_4, 2132). +-define(wxStaticBitmap_Create, 2133). +-define(wxStaticBitmap_GetBitmap, 2134). +-define(wxStaticBitmap_SetBitmap, 2135). +-define(wxStaticBitmap_destroy, 2136). +-define(wxRadioBox_new, 2137). +-define(wxRadioBox_destruct, 2139). +-define(wxRadioBox_Create, 2140). +-define(wxRadioBox_Enable_2, 2141). +-define(wxRadioBox_Enable_1, 2142). +-define(wxRadioBox_GetSelection, 2143). +-define(wxRadioBox_GetString, 2144). +-define(wxRadioBox_SetSelection, 2145). +-define(wxRadioBox_Show_2, 2146). +-define(wxRadioBox_Show_1, 2147). +-define(wxRadioBox_GetColumnCount, 2148). +-define(wxRadioBox_GetItemHelpText, 2149). +-define(wxRadioBox_GetItemToolTip, 2150). +-define(wxRadioBox_GetItemFromPoint, 2152). +-define(wxRadioBox_GetRowCount, 2153). +-define(wxRadioBox_IsItemEnabled, 2154). +-define(wxRadioBox_IsItemShown, 2155). +-define(wxRadioBox_SetItemHelpText, 2156). +-define(wxRadioBox_SetItemToolTip, 2157). +-define(wxRadioButton_new_0, 2158). +-define(wxRadioButton_new_4, 2159). +-define(wxRadioButton_Create, 2160). +-define(wxRadioButton_GetValue, 2161). +-define(wxRadioButton_SetValue, 2162). +-define(wxRadioButton_destroy, 2163). +-define(wxSlider_new_6, 2165). +-define(wxSlider_new_0, 2166). +-define(wxSlider_Create, 2167). +-define(wxSlider_GetLineSize, 2168). +-define(wxSlider_GetMax, 2169). +-define(wxSlider_GetMin, 2170). +-define(wxSlider_GetPageSize, 2171). +-define(wxSlider_GetThumbLength, 2172). +-define(wxSlider_GetValue, 2173). +-define(wxSlider_SetLineSize, 2174). +-define(wxSlider_SetPageSize, 2175). +-define(wxSlider_SetRange, 2176). +-define(wxSlider_SetThumbLength, 2177). +-define(wxSlider_SetValue, 2178). +-define(wxSlider_destroy, 2179). +-define(wxDialog_new_4, 2181). +-define(wxDialog_new_0, 2182). +-define(wxDialog_destruct, 2184). +-define(wxDialog_Create, 2185). +-define(wxDialog_CreateButtonSizer, 2186). +-define(wxDialog_CreateStdDialogButtonSizer, 2187). +-define(wxDialog_EndModal, 2188). +-define(wxDialog_GetAffirmativeId, 2189). +-define(wxDialog_GetReturnCode, 2190). +-define(wxDialog_IsModal, 2191). +-define(wxDialog_SetAffirmativeId, 2192). +-define(wxDialog_SetReturnCode, 2193). +-define(wxDialog_Show, 2194). +-define(wxDialog_ShowModal, 2195). +-define(wxColourDialog_new_0, 2196). +-define(wxColourDialog_new_2, 2197). +-define(wxColourDialog_destruct, 2198). +-define(wxColourDialog_Create, 2199). +-define(wxColourDialog_GetColourData, 2200). +-define(wxColourData_new_0, 2201). +-define(wxColourData_new_1, 2202). +-define(wxColourData_destruct, 2203). +-define(wxColourData_GetChooseFull, 2204). +-define(wxColourData_GetColour, 2205). +-define(wxColourData_GetCustomColour, 2207). +-define(wxColourData_SetChooseFull, 2208). +-define(wxColourData_SetColour, 2209). +-define(wxColourData_SetCustomColour, 2210). +-define(wxPalette_new_0, 2211). +-define(wxPalette_new_4, 2212). +-define(wxPalette_destruct, 2214). +-define(wxPalette_Create, 2215). +-define(wxPalette_GetColoursCount, 2216). +-define(wxPalette_GetPixel, 2217). +-define(wxPalette_GetRGB, 2218). +-define(wxPalette_IsOk, 2219). +-define(wxDirDialog_new, 2223). +-define(wxDirDialog_destruct, 2224). +-define(wxDirDialog_GetPath, 2225). +-define(wxDirDialog_GetMessage, 2226). +-define(wxDirDialog_SetMessage, 2227). +-define(wxDirDialog_SetPath, 2228). +-define(wxFileDialog_new, 2232). +-define(wxFileDialog_destruct, 2233). +-define(wxFileDialog_GetDirectory, 2234). +-define(wxFileDialog_GetFilename, 2235). +-define(wxFileDialog_GetFilenames, 2236). +-define(wxFileDialog_GetFilterIndex, 2237). +-define(wxFileDialog_GetMessage, 2238). +-define(wxFileDialog_GetPath, 2239). +-define(wxFileDialog_GetPaths, 2240). +-define(wxFileDialog_GetWildcard, 2241). +-define(wxFileDialog_SetDirectory, 2242). +-define(wxFileDialog_SetFilename, 2243). +-define(wxFileDialog_SetFilterIndex, 2244). +-define(wxFileDialog_SetMessage, 2245). +-define(wxFileDialog_SetPath, 2246). +-define(wxFileDialog_SetWildcard, 2247). +-define(wxPickerBase_SetInternalMargin, 2248). +-define(wxPickerBase_GetInternalMargin, 2249). +-define(wxPickerBase_SetTextCtrlProportion, 2250). +-define(wxPickerBase_SetPickerCtrlProportion, 2251). +-define(wxPickerBase_GetTextCtrlProportion, 2252). +-define(wxPickerBase_GetPickerCtrlProportion, 2253). +-define(wxPickerBase_HasTextCtrl, 2254). +-define(wxPickerBase_GetTextCtrl, 2255). +-define(wxPickerBase_IsTextCtrlGrowable, 2256). +-define(wxPickerBase_SetPickerCtrlGrowable, 2257). +-define(wxPickerBase_SetTextCtrlGrowable, 2258). +-define(wxPickerBase_IsPickerCtrlGrowable, 2259). +-define(wxFilePickerCtrl_new_0, 2260). +-define(wxFilePickerCtrl_new_3, 2261). +-define(wxFilePickerCtrl_Create, 2262). +-define(wxFilePickerCtrl_GetPath, 2263). +-define(wxFilePickerCtrl_SetPath, 2264). +-define(wxFilePickerCtrl_destroy, 2265). +-define(wxDirPickerCtrl_new_0, 2266). +-define(wxDirPickerCtrl_new_3, 2267). +-define(wxDirPickerCtrl_Create, 2268). +-define(wxDirPickerCtrl_GetPath, 2269). +-define(wxDirPickerCtrl_SetPath, 2270). +-define(wxDirPickerCtrl_destroy, 2271). +-define(wxColourPickerCtrl_new_0, 2272). +-define(wxColourPickerCtrl_new_3, 2273). +-define(wxColourPickerCtrl_Create, 2274). +-define(wxColourPickerCtrl_GetColour, 2275). +-define(wxColourPickerCtrl_SetColour_1_1, 2276). +-define(wxColourPickerCtrl_SetColour_1_0, 2277). +-define(wxColourPickerCtrl_destroy, 2278). +-define(wxDatePickerCtrl_new_0, 2279). +-define(wxDatePickerCtrl_new_3, 2280). +-define(wxDatePickerCtrl_GetRange, 2281). +-define(wxDatePickerCtrl_GetValue, 2282). +-define(wxDatePickerCtrl_SetRange, 2283). +-define(wxDatePickerCtrl_SetValue, 2284). +-define(wxDatePickerCtrl_destroy, 2285). +-define(wxFontPickerCtrl_new_0, 2286). +-define(wxFontPickerCtrl_new_3, 2287). +-define(wxFontPickerCtrl_Create, 2288). +-define(wxFontPickerCtrl_GetSelectedFont, 2289). +-define(wxFontPickerCtrl_SetSelectedFont, 2290). +-define(wxFontPickerCtrl_GetMaxPointSize, 2291). +-define(wxFontPickerCtrl_SetMaxPointSize, 2292). +-define(wxFontPickerCtrl_destroy, 2293). +-define(wxFindReplaceDialog_new_0, 2296). +-define(wxFindReplaceDialog_new_4, 2297). +-define(wxFindReplaceDialog_destruct, 2298). +-define(wxFindReplaceDialog_Create, 2299). +-define(wxFindReplaceDialog_GetData, 2300). +-define(wxFindReplaceData_new_0, 2301). +-define(wxFindReplaceData_new_1, 2302). +-define(wxFindReplaceData_GetFindString, 2303). +-define(wxFindReplaceData_GetReplaceString, 2304). +-define(wxFindReplaceData_GetFlags, 2305). +-define(wxFindReplaceData_SetFlags, 2306). +-define(wxFindReplaceData_SetFindString, 2307). +-define(wxFindReplaceData_SetReplaceString, 2308). +-define(wxFindReplaceData_destroy, 2309). +-define(wxMultiChoiceDialog_new_0, 2310). +-define(wxMultiChoiceDialog_new_5, 2312). +-define(wxMultiChoiceDialog_GetSelections, 2313). +-define(wxMultiChoiceDialog_SetSelections, 2314). +-define(wxMultiChoiceDialog_destroy, 2315). +-define(wxSingleChoiceDialog_new_0, 2316). +-define(wxSingleChoiceDialog_new_5, 2318). +-define(wxSingleChoiceDialog_GetSelection, 2319). +-define(wxSingleChoiceDialog_GetStringSelection, 2320). +-define(wxSingleChoiceDialog_SetSelection, 2321). +-define(wxSingleChoiceDialog_destroy, 2322). +-define(wxTextEntryDialog_new, 2323). +-define(wxTextEntryDialog_GetValue, 2324). +-define(wxTextEntryDialog_SetValue, 2325). +-define(wxTextEntryDialog_destroy, 2326). +-define(wxPasswordEntryDialog_new, 2327). +-define(wxPasswordEntryDialog_destroy, 2328). +-define(wxFontData_new_0, 2329). +-define(wxFontData_new_1, 2330). +-define(wxFontData_destruct, 2331). +-define(wxFontData_EnableEffects, 2332). +-define(wxFontData_GetAllowSymbols, 2333). +-define(wxFontData_GetColour, 2334). +-define(wxFontData_GetChosenFont, 2335). +-define(wxFontData_GetEnableEffects, 2336). +-define(wxFontData_GetInitialFont, 2337). +-define(wxFontData_GetShowHelp, 2338). +-define(wxFontData_SetAllowSymbols, 2339). +-define(wxFontData_SetChosenFont, 2340). +-define(wxFontData_SetColour, 2341). +-define(wxFontData_SetInitialFont, 2342). +-define(wxFontData_SetRange, 2343). +-define(wxFontData_SetShowHelp, 2344). +-define(wxFontDialog_new_0, 2348). +-define(wxFontDialog_new_2, 2350). +-define(wxFontDialog_Create, 2352). +-define(wxFontDialog_GetFontData, 2353). +-define(wxFontDialog_destroy, 2355). +-define(wxProgressDialog_new, 2356). +-define(wxProgressDialog_destruct, 2357). +-define(wxProgressDialog_Resume, 2358). +-define(wxProgressDialog_Update_2, 2359). +-define(wxProgressDialog_Update_0, 2360). +-define(wxMessageDialog_new, 2361). +-define(wxMessageDialog_destruct, 2362). +-define(wxPageSetupDialog_new, 2363). +-define(wxPageSetupDialog_destruct, 2364). +-define(wxPageSetupDialog_GetPageSetupData, 2365). +-define(wxPageSetupDialog_ShowModal, 2366). +-define(wxPageSetupDialogData_new_0, 2367). +-define(wxPageSetupDialogData_new_1_0, 2368). +-define(wxPageSetupDialogData_new_1_1, 2369). +-define(wxPageSetupDialogData_destruct, 2370). +-define(wxPageSetupDialogData_EnableHelp, 2371). +-define(wxPageSetupDialogData_EnableMargins, 2372). +-define(wxPageSetupDialogData_EnableOrientation, 2373). +-define(wxPageSetupDialogData_EnablePaper, 2374). +-define(wxPageSetupDialogData_EnablePrinter, 2375). +-define(wxPageSetupDialogData_GetDefaultMinMargins, 2376). +-define(wxPageSetupDialogData_GetEnableMargins, 2377). +-define(wxPageSetupDialogData_GetEnableOrientation, 2378). +-define(wxPageSetupDialogData_GetEnablePaper, 2379). +-define(wxPageSetupDialogData_GetEnablePrinter, 2380). +-define(wxPageSetupDialogData_GetEnableHelp, 2381). +-define(wxPageSetupDialogData_GetDefaultInfo, 2382). +-define(wxPageSetupDialogData_GetMarginTopLeft, 2383). +-define(wxPageSetupDialogData_GetMarginBottomRight, 2384). +-define(wxPageSetupDialogData_GetMinMarginTopLeft, 2385). +-define(wxPageSetupDialogData_GetMinMarginBottomRight, 2386). +-define(wxPageSetupDialogData_GetPaperId, 2387). +-define(wxPageSetupDialogData_GetPaperSize, 2388). +-define(wxPageSetupDialogData_GetPrintData, 2390). +-define(wxPageSetupDialogData_IsOk, 2391). +-define(wxPageSetupDialogData_SetDefaultInfo, 2392). +-define(wxPageSetupDialogData_SetDefaultMinMargins, 2393). +-define(wxPageSetupDialogData_SetMarginTopLeft, 2394). +-define(wxPageSetupDialogData_SetMarginBottomRight, 2395). +-define(wxPageSetupDialogData_SetMinMarginTopLeft, 2396). +-define(wxPageSetupDialogData_SetMinMarginBottomRight, 2397). +-define(wxPageSetupDialogData_SetPaperId, 2398). +-define(wxPageSetupDialogData_SetPaperSize_1_1, 2399). +-define(wxPageSetupDialogData_SetPaperSize_1_0, 2400). +-define(wxPageSetupDialogData_SetPrintData, 2401). +-define(wxPrintDialog_new_2_0, 2402). +-define(wxPrintDialog_new_2_1, 2403). +-define(wxPrintDialog_destruct, 2404). +-define(wxPrintDialog_GetPrintDialogData, 2405). +-define(wxPrintDialog_GetPrintDC, 2406). +-define(wxPrintDialogData_new_0, 2407). +-define(wxPrintDialogData_new_1_1, 2408). +-define(wxPrintDialogData_new_1_0, 2409). +-define(wxPrintDialogData_destruct, 2410). +-define(wxPrintDialogData_EnableHelp, 2411). +-define(wxPrintDialogData_EnablePageNumbers, 2412). +-define(wxPrintDialogData_EnablePrintToFile, 2413). +-define(wxPrintDialogData_EnableSelection, 2414). +-define(wxPrintDialogData_GetAllPages, 2415). +-define(wxPrintDialogData_GetCollate, 2416). +-define(wxPrintDialogData_GetFromPage, 2417). +-define(wxPrintDialogData_GetMaxPage, 2418). +-define(wxPrintDialogData_GetMinPage, 2419). +-define(wxPrintDialogData_GetNoCopies, 2420). +-define(wxPrintDialogData_GetPrintData, 2421). +-define(wxPrintDialogData_GetPrintToFile, 2422). +-define(wxPrintDialogData_GetSelection, 2423). +-define(wxPrintDialogData_GetToPage, 2424). +-define(wxPrintDialogData_IsOk, 2425). +-define(wxPrintDialogData_SetCollate, 2426). +-define(wxPrintDialogData_SetFromPage, 2427). +-define(wxPrintDialogData_SetMaxPage, 2428). +-define(wxPrintDialogData_SetMinPage, 2429). +-define(wxPrintDialogData_SetNoCopies, 2430). +-define(wxPrintDialogData_SetPrintData, 2431). +-define(wxPrintDialogData_SetPrintToFile, 2432). +-define(wxPrintDialogData_SetSelection, 2433). +-define(wxPrintDialogData_SetToPage, 2434). +-define(wxPrintData_new_0, 2435). +-define(wxPrintData_new_1, 2436). +-define(wxPrintData_destruct, 2437). +-define(wxPrintData_GetCollate, 2438). +-define(wxPrintData_GetBin, 2439). +-define(wxPrintData_GetColour, 2440). +-define(wxPrintData_GetDuplex, 2441). +-define(wxPrintData_GetNoCopies, 2442). +-define(wxPrintData_GetOrientation, 2443). +-define(wxPrintData_GetPaperId, 2444). +-define(wxPrintData_GetPrinterName, 2445). +-define(wxPrintData_GetQuality, 2446). +-define(wxPrintData_IsOk, 2447). +-define(wxPrintData_SetBin, 2448). +-define(wxPrintData_SetCollate, 2449). +-define(wxPrintData_SetColour, 2450). +-define(wxPrintData_SetDuplex, 2451). +-define(wxPrintData_SetNoCopies, 2452). +-define(wxPrintData_SetOrientation, 2453). +-define(wxPrintData_SetPaperId, 2454). +-define(wxPrintData_SetPrinterName, 2455). +-define(wxPrintData_SetQuality, 2456). +-define(wxPrintPreview_new_2, 2459). +-define(wxPrintPreview_new_3, 2460). +-define(wxPrintPreview_destruct, 2462). +-define(wxPrintPreview_GetCanvas, 2463). +-define(wxPrintPreview_GetCurrentPage, 2464). +-define(wxPrintPreview_GetFrame, 2465). +-define(wxPrintPreview_GetMaxPage, 2466). +-define(wxPrintPreview_GetMinPage, 2467). +-define(wxPrintPreview_GetPrintout, 2468). +-define(wxPrintPreview_GetPrintoutForPrinting, 2469). +-define(wxPrintPreview_IsOk, 2470). +-define(wxPrintPreview_PaintPage, 2471). +-define(wxPrintPreview_Print, 2472). +-define(wxPrintPreview_RenderPage, 2473). +-define(wxPrintPreview_SetCanvas, 2474). +-define(wxPrintPreview_SetCurrentPage, 2475). +-define(wxPrintPreview_SetFrame, 2476). +-define(wxPrintPreview_SetPrintout, 2477). +-define(wxPrintPreview_SetZoom, 2478). +-define(wxPreviewFrame_new, 2479). +-define(wxPreviewFrame_destruct, 2480). +-define(wxPreviewFrame_CreateControlBar, 2481). +-define(wxPreviewFrame_CreateCanvas, 2482). +-define(wxPreviewFrame_Initialize, 2483). +-define(wxPreviewFrame_OnCloseWindow, 2484). +-define(wxPreviewControlBar_new, 2485). +-define(wxPreviewControlBar_destruct, 2486). +-define(wxPreviewControlBar_CreateButtons, 2487). +-define(wxPreviewControlBar_GetPrintPreview, 2488). +-define(wxPreviewControlBar_GetZoomControl, 2489). +-define(wxPreviewControlBar_SetZoomControl, 2490). +-define(wxPrinter_new, 2492). +-define(wxPrinter_CreateAbortWindow, 2493). +-define(wxPrinter_GetAbort, 2494). +-define(wxPrinter_GetLastError, 2495). +-define(wxPrinter_GetPrintDialogData, 2496). +-define(wxPrinter_Print, 2497). +-define(wxPrinter_PrintDialog, 2498). +-define(wxPrinter_ReportError, 2499). +-define(wxPrinter_Setup, 2500). +-define(wxPrinter_destroy, 2501). +-define(wxXmlResource_new_1, 2502). +-define(wxXmlResource_new_2, 2503). +-define(wxXmlResource_destruct, 2504). +-define(wxXmlResource_AttachUnknownControl, 2505). +-define(wxXmlResource_ClearHandlers, 2506). +-define(wxXmlResource_CompareVersion, 2507). +-define(wxXmlResource_Get, 2508). +-define(wxXmlResource_GetFlags, 2509). +-define(wxXmlResource_GetVersion, 2510). +-define(wxXmlResource_GetXRCID, 2511). +-define(wxXmlResource_InitAllHandlers, 2512). +-define(wxXmlResource_Load, 2513). +-define(wxXmlResource_LoadBitmap, 2514). +-define(wxXmlResource_LoadDialog_2, 2515). +-define(wxXmlResource_LoadDialog_3, 2516). +-define(wxXmlResource_LoadFrame_2, 2517). +-define(wxXmlResource_LoadFrame_3, 2518). +-define(wxXmlResource_LoadIcon, 2519). +-define(wxXmlResource_LoadMenu, 2520). +-define(wxXmlResource_LoadMenuBar_2, 2521). +-define(wxXmlResource_LoadMenuBar_1, 2522). +-define(wxXmlResource_LoadPanel_2, 2523). +-define(wxXmlResource_LoadPanel_3, 2524). +-define(wxXmlResource_LoadToolBar, 2525). +-define(wxXmlResource_Set, 2526). +-define(wxXmlResource_SetFlags, 2527). +-define(wxXmlResource_Unload, 2528). +-define(wxXmlResource_xrcctrl, 2529). +-define(wxHtmlEasyPrinting_new, 2530). +-define(wxHtmlEasyPrinting_destruct, 2531). +-define(wxHtmlEasyPrinting_GetPrintData, 2532). +-define(wxHtmlEasyPrinting_GetPageSetupData, 2533). +-define(wxHtmlEasyPrinting_PreviewFile, 2534). +-define(wxHtmlEasyPrinting_PreviewText, 2535). +-define(wxHtmlEasyPrinting_PrintFile, 2536). +-define(wxHtmlEasyPrinting_PrintText, 2537). +-define(wxHtmlEasyPrinting_PageSetup, 2538). +-define(wxHtmlEasyPrinting_SetFonts, 2539). +-define(wxHtmlEasyPrinting_SetHeader, 2540). +-define(wxHtmlEasyPrinting_SetFooter, 2541). +-define(wxGLCanvas_new_2, 2543). +-define(wxGLCanvas_new_3_1, 2544). +-define(wxGLCanvas_new_3_0, 2545). +-define(wxGLCanvas_GetContext, 2546). +-define(wxGLCanvas_SetCurrent, 2548). +-define(wxGLCanvas_SwapBuffers, 2549). +-define(wxGLCanvas_destroy, 2550). +-define(wxAuiManager_new, 2551). +-define(wxAuiManager_destruct, 2552). +-define(wxAuiManager_AddPane_2_1, 2553). +-define(wxAuiManager_AddPane_3, 2554). +-define(wxAuiManager_AddPane_2_0, 2555). +-define(wxAuiManager_DetachPane, 2556). +-define(wxAuiManager_GetAllPanes, 2557). +-define(wxAuiManager_GetArtProvider, 2558). +-define(wxAuiManager_GetDockSizeConstraint, 2559). +-define(wxAuiManager_GetFlags, 2560). +-define(wxAuiManager_GetManagedWindow, 2561). +-define(wxAuiManager_GetManager, 2562). +-define(wxAuiManager_GetPane_1_1, 2563). +-define(wxAuiManager_GetPane_1_0, 2564). +-define(wxAuiManager_HideHint, 2565). +-define(wxAuiManager_InsertPane, 2566). +-define(wxAuiManager_LoadPaneInfo, 2567). +-define(wxAuiManager_LoadPerspective, 2568). +-define(wxAuiManager_SavePaneInfo, 2569). +-define(wxAuiManager_SavePerspective, 2570). +-define(wxAuiManager_SetArtProvider, 2571). +-define(wxAuiManager_SetDockSizeConstraint, 2572). +-define(wxAuiManager_SetFlags, 2573). +-define(wxAuiManager_SetManagedWindow, 2574). +-define(wxAuiManager_ShowHint, 2575). +-define(wxAuiManager_UnInit, 2576). +-define(wxAuiManager_Update, 2577). +-define(wxAuiPaneInfo_new_0, 2578). +-define(wxAuiPaneInfo_new_1, 2579). +-define(wxAuiPaneInfo_destruct, 2580). +-define(wxAuiPaneInfo_BestSize_1, 2581). +-define(wxAuiPaneInfo_BestSize_2, 2582). +-define(wxAuiPaneInfo_Bottom, 2583). +-define(wxAuiPaneInfo_BottomDockable, 2584). +-define(wxAuiPaneInfo_Caption, 2585). +-define(wxAuiPaneInfo_CaptionVisible, 2586). +-define(wxAuiPaneInfo_Centre, 2587). +-define(wxAuiPaneInfo_CentrePane, 2588). +-define(wxAuiPaneInfo_CloseButton, 2589). +-define(wxAuiPaneInfo_DefaultPane, 2590). +-define(wxAuiPaneInfo_DestroyOnClose, 2591). +-define(wxAuiPaneInfo_Direction, 2592). +-define(wxAuiPaneInfo_Dock, 2593). +-define(wxAuiPaneInfo_Dockable, 2594). +-define(wxAuiPaneInfo_Fixed, 2595). +-define(wxAuiPaneInfo_Float, 2596). +-define(wxAuiPaneInfo_Floatable, 2597). +-define(wxAuiPaneInfo_FloatingPosition_1, 2598). +-define(wxAuiPaneInfo_FloatingPosition_2, 2599). +-define(wxAuiPaneInfo_FloatingSize_1, 2600). +-define(wxAuiPaneInfo_FloatingSize_2, 2601). +-define(wxAuiPaneInfo_Gripper, 2602). +-define(wxAuiPaneInfo_GripperTop, 2603). +-define(wxAuiPaneInfo_HasBorder, 2604). +-define(wxAuiPaneInfo_HasCaption, 2605). +-define(wxAuiPaneInfo_HasCloseButton, 2606). +-define(wxAuiPaneInfo_HasFlag, 2607). +-define(wxAuiPaneInfo_HasGripper, 2608). +-define(wxAuiPaneInfo_HasGripperTop, 2609). +-define(wxAuiPaneInfo_HasMaximizeButton, 2610). +-define(wxAuiPaneInfo_HasMinimizeButton, 2611). +-define(wxAuiPaneInfo_HasPinButton, 2612). +-define(wxAuiPaneInfo_Hide, 2613). +-define(wxAuiPaneInfo_IsBottomDockable, 2614). +-define(wxAuiPaneInfo_IsDocked, 2615). +-define(wxAuiPaneInfo_IsFixed, 2616). +-define(wxAuiPaneInfo_IsFloatable, 2617). +-define(wxAuiPaneInfo_IsFloating, 2618). +-define(wxAuiPaneInfo_IsLeftDockable, 2619). +-define(wxAuiPaneInfo_IsMovable, 2620). +-define(wxAuiPaneInfo_IsOk, 2621). +-define(wxAuiPaneInfo_IsResizable, 2622). +-define(wxAuiPaneInfo_IsRightDockable, 2623). +-define(wxAuiPaneInfo_IsShown, 2624). +-define(wxAuiPaneInfo_IsToolbar, 2625). +-define(wxAuiPaneInfo_IsTopDockable, 2626). +-define(wxAuiPaneInfo_Layer, 2627). +-define(wxAuiPaneInfo_Left, 2628). +-define(wxAuiPaneInfo_LeftDockable, 2629). +-define(wxAuiPaneInfo_MaxSize_1, 2630). +-define(wxAuiPaneInfo_MaxSize_2, 2631). +-define(wxAuiPaneInfo_MaximizeButton, 2632). +-define(wxAuiPaneInfo_MinSize_1, 2633). +-define(wxAuiPaneInfo_MinSize_2, 2634). +-define(wxAuiPaneInfo_MinimizeButton, 2635). +-define(wxAuiPaneInfo_Movable, 2636). +-define(wxAuiPaneInfo_Name, 2637). +-define(wxAuiPaneInfo_PaneBorder, 2638). +-define(wxAuiPaneInfo_PinButton, 2639). +-define(wxAuiPaneInfo_Position, 2640). +-define(wxAuiPaneInfo_Resizable, 2641). +-define(wxAuiPaneInfo_Right, 2642). +-define(wxAuiPaneInfo_RightDockable, 2643). +-define(wxAuiPaneInfo_Row, 2644). +-define(wxAuiPaneInfo_SafeSet, 2645). +-define(wxAuiPaneInfo_SetFlag, 2646). +-define(wxAuiPaneInfo_Show, 2647). +-define(wxAuiPaneInfo_ToolbarPane, 2648). +-define(wxAuiPaneInfo_Top, 2649). +-define(wxAuiPaneInfo_TopDockable, 2650). +-define(wxAuiPaneInfo_Window, 2651). +-define(wxAuiNotebook_new_0, 2652). +-define(wxAuiNotebook_new_2, 2653). +-define(wxAuiNotebook_AddPage, 2654). +-define(wxAuiNotebook_Create, 2655). +-define(wxAuiNotebook_DeletePage, 2656). +-define(wxAuiNotebook_GetArtProvider, 2657). +-define(wxAuiNotebook_GetPage, 2658). +-define(wxAuiNotebook_GetPageBitmap, 2659). +-define(wxAuiNotebook_GetPageCount, 2660). +-define(wxAuiNotebook_GetPageIndex, 2661). +-define(wxAuiNotebook_GetPageText, 2662). +-define(wxAuiNotebook_GetSelection, 2663). +-define(wxAuiNotebook_InsertPage, 2664). +-define(wxAuiNotebook_RemovePage, 2665). +-define(wxAuiNotebook_SetArtProvider, 2666). +-define(wxAuiNotebook_SetFont, 2667). +-define(wxAuiNotebook_SetPageBitmap, 2668). +-define(wxAuiNotebook_SetPageText, 2669). +-define(wxAuiNotebook_SetSelection, 2670). +-define(wxAuiNotebook_SetTabCtrlHeight, 2671). +-define(wxAuiNotebook_SetUniformBitmapSize, 2672). +-define(wxAuiNotebook_destroy, 2673). +-define(wxMDIParentFrame_new_0, 2674). +-define(wxMDIParentFrame_new_4, 2675). +-define(wxMDIParentFrame_destruct, 2676). +-define(wxMDIParentFrame_ActivateNext, 2677). +-define(wxMDIParentFrame_ActivatePrevious, 2678). +-define(wxMDIParentFrame_ArrangeIcons, 2679). +-define(wxMDIParentFrame_Cascade, 2680). +-define(wxMDIParentFrame_Create, 2681). +-define(wxMDIParentFrame_GetActiveChild, 2682). +-define(wxMDIParentFrame_GetClientWindow, 2683). +-define(wxMDIParentFrame_Tile, 2684). +-define(wxMDIChildFrame_new_0, 2685). +-define(wxMDIChildFrame_new_4, 2686). +-define(wxMDIChildFrame_destruct, 2687). +-define(wxMDIChildFrame_Activate, 2688). +-define(wxMDIChildFrame_Create, 2689). +-define(wxMDIChildFrame_Maximize, 2690). +-define(wxMDIChildFrame_Restore, 2691). +-define(wxMDIClientWindow_new_0, 2692). +-define(wxMDIClientWindow_new_2, 2693). +-define(wxMDIClientWindow_destruct, 2694). +-define(wxMDIClientWindow_CreateClient, 2695). +-define(wxLayoutAlgorithm_new, 2696). +-define(wxLayoutAlgorithm_LayoutFrame, 2697). +-define(wxLayoutAlgorithm_LayoutMDIFrame, 2698). +-define(wxLayoutAlgorithm_LayoutWindow, 2699). +-define(wxLayoutAlgorithm_destroy, 2700). +-define(wxEvent_GetId, 2701). +-define(wxEvent_GetSkipped, 2702). +-define(wxEvent_GetTimestamp, 2703). +-define(wxEvent_IsCommandEvent, 2704). +-define(wxEvent_ResumePropagation, 2705). +-define(wxEvent_ShouldPropagate, 2706). +-define(wxEvent_Skip, 2707). +-define(wxEvent_StopPropagation, 2708). +-define(wxCommandEvent_getClientData, 2709). +-define(wxCommandEvent_GetExtraLong, 2710). +-define(wxCommandEvent_GetInt, 2711). +-define(wxCommandEvent_GetSelection, 2712). +-define(wxCommandEvent_GetString, 2713). +-define(wxCommandEvent_IsChecked, 2714). +-define(wxCommandEvent_IsSelection, 2715). +-define(wxCommandEvent_SetInt, 2716). +-define(wxCommandEvent_SetString, 2717). +-define(wxScrollEvent_GetOrientation, 2718). +-define(wxScrollEvent_GetPosition, 2719). +-define(wxScrollWinEvent_GetOrientation, 2720). +-define(wxScrollWinEvent_GetPosition, 2721). +-define(wxMouseEvent_AltDown, 2722). +-define(wxMouseEvent_Button, 2723). +-define(wxMouseEvent_ButtonDClick, 2724). +-define(wxMouseEvent_ButtonDown, 2725). +-define(wxMouseEvent_ButtonUp, 2726). +-define(wxMouseEvent_CmdDown, 2727). +-define(wxMouseEvent_ControlDown, 2728). +-define(wxMouseEvent_Dragging, 2729). +-define(wxMouseEvent_Entering, 2730). +-define(wxMouseEvent_GetButton, 2731). +-define(wxMouseEvent_GetPosition, 2734). +-define(wxMouseEvent_GetLogicalPosition, 2735). +-define(wxMouseEvent_GetLinesPerAction, 2736). +-define(wxMouseEvent_GetWheelRotation, 2737). +-define(wxMouseEvent_GetWheelDelta, 2738). +-define(wxMouseEvent_GetX, 2739). +-define(wxMouseEvent_GetY, 2740). +-define(wxMouseEvent_IsButton, 2741). +-define(wxMouseEvent_IsPageScroll, 2742). +-define(wxMouseEvent_Leaving, 2743). +-define(wxMouseEvent_LeftDClick, 2744). +-define(wxMouseEvent_LeftDown, 2745). +-define(wxMouseEvent_LeftIsDown, 2746). +-define(wxMouseEvent_LeftUp, 2747). +-define(wxMouseEvent_MetaDown, 2748). +-define(wxMouseEvent_MiddleDClick, 2749). +-define(wxMouseEvent_MiddleDown, 2750). +-define(wxMouseEvent_MiddleIsDown, 2751). +-define(wxMouseEvent_MiddleUp, 2752). +-define(wxMouseEvent_Moving, 2753). +-define(wxMouseEvent_RightDClick, 2754). +-define(wxMouseEvent_RightDown, 2755). +-define(wxMouseEvent_RightIsDown, 2756). +-define(wxMouseEvent_RightUp, 2757). +-define(wxMouseEvent_ShiftDown, 2758). +-define(wxSetCursorEvent_GetCursor, 2759). +-define(wxSetCursorEvent_GetX, 2760). +-define(wxSetCursorEvent_GetY, 2761). +-define(wxSetCursorEvent_HasCursor, 2762). +-define(wxSetCursorEvent_SetCursor, 2763). +-define(wxKeyEvent_AltDown, 2764). +-define(wxKeyEvent_CmdDown, 2765). +-define(wxKeyEvent_ControlDown, 2766). +-define(wxKeyEvent_GetKeyCode, 2767). +-define(wxKeyEvent_GetModifiers, 2768). +-define(wxKeyEvent_GetPosition, 2771). +-define(wxKeyEvent_GetRawKeyCode, 2772). +-define(wxKeyEvent_GetRawKeyFlags, 2773). +-define(wxKeyEvent_GetUnicodeKey, 2774). +-define(wxKeyEvent_GetX, 2775). +-define(wxKeyEvent_GetY, 2776). +-define(wxKeyEvent_HasModifiers, 2777). +-define(wxKeyEvent_MetaDown, 2778). +-define(wxKeyEvent_ShiftDown, 2779). +-define(wxSizeEvent_GetSize, 2780). +-define(wxMoveEvent_GetPosition, 2781). +-define(wxEraseEvent_GetDC, 2782). +-define(wxFocusEvent_GetWindow, 2783). +-define(wxChildFocusEvent_GetWindow, 2784). +-define(wxMenuEvent_GetMenu, 2785). +-define(wxMenuEvent_GetMenuId, 2786). +-define(wxMenuEvent_IsPopup, 2787). +-define(wxCloseEvent_CanVeto, 2788). +-define(wxCloseEvent_GetLoggingOff, 2789). +-define(wxCloseEvent_SetCanVeto, 2790). +-define(wxCloseEvent_SetLoggingOff, 2791). +-define(wxCloseEvent_Veto, 2792). +-define(wxShowEvent_SetShow, 2793). +-define(wxShowEvent_GetShow, 2794). +-define(wxIconizeEvent_Iconized, 2795). +-define(wxJoystickEvent_ButtonDown, 2796). +-define(wxJoystickEvent_ButtonIsDown, 2797). +-define(wxJoystickEvent_ButtonUp, 2798). +-define(wxJoystickEvent_GetButtonChange, 2799). +-define(wxJoystickEvent_GetButtonState, 2800). +-define(wxJoystickEvent_GetJoystick, 2801). +-define(wxJoystickEvent_GetPosition, 2802). +-define(wxJoystickEvent_GetZPosition, 2803). +-define(wxJoystickEvent_IsButton, 2804). +-define(wxJoystickEvent_IsMove, 2805). +-define(wxJoystickEvent_IsZMove, 2806). +-define(wxUpdateUIEvent_CanUpdate, 2807). +-define(wxUpdateUIEvent_Check, 2808). +-define(wxUpdateUIEvent_Enable, 2809). +-define(wxUpdateUIEvent_Show, 2810). +-define(wxUpdateUIEvent_GetChecked, 2811). +-define(wxUpdateUIEvent_GetEnabled, 2812). +-define(wxUpdateUIEvent_GetShown, 2813). +-define(wxUpdateUIEvent_GetSetChecked, 2814). +-define(wxUpdateUIEvent_GetSetEnabled, 2815). +-define(wxUpdateUIEvent_GetSetShown, 2816). +-define(wxUpdateUIEvent_GetSetText, 2817). +-define(wxUpdateUIEvent_GetText, 2818). +-define(wxUpdateUIEvent_GetMode, 2819). +-define(wxUpdateUIEvent_GetUpdateInterval, 2820). +-define(wxUpdateUIEvent_ResetUpdateTime, 2821). +-define(wxUpdateUIEvent_SetMode, 2822). +-define(wxUpdateUIEvent_SetText, 2823). +-define(wxUpdateUIEvent_SetUpdateInterval, 2824). +-define(wxMouseCaptureChangedEvent_GetCapturedWindow, 2825). +-define(wxPaletteChangedEvent_SetChangedWindow, 2826). +-define(wxPaletteChangedEvent_GetChangedWindow, 2827). +-define(wxQueryNewPaletteEvent_SetPaletteRealized, 2828). +-define(wxQueryNewPaletteEvent_GetPaletteRealized, 2829). +-define(wxNavigationKeyEvent_GetDirection, 2830). +-define(wxNavigationKeyEvent_SetDirection, 2831). +-define(wxNavigationKeyEvent_IsWindowChange, 2832). +-define(wxNavigationKeyEvent_SetWindowChange, 2833). +-define(wxNavigationKeyEvent_IsFromTab, 2834). +-define(wxNavigationKeyEvent_SetFromTab, 2835). +-define(wxNavigationKeyEvent_GetCurrentFocus, 2836). +-define(wxNavigationKeyEvent_SetCurrentFocus, 2837). +-define(wxHelpEvent_GetOrigin, 2838). +-define(wxHelpEvent_GetPosition, 2839). +-define(wxHelpEvent_SetOrigin, 2840). +-define(wxHelpEvent_SetPosition, 2841). +-define(wxContextMenuEvent_GetPosition, 2842). +-define(wxContextMenuEvent_SetPosition, 2843). +-define(wxIdleEvent_CanSend, 2844). +-define(wxIdleEvent_GetMode, 2845). +-define(wxIdleEvent_RequestMore, 2846). +-define(wxIdleEvent_MoreRequested, 2847). +-define(wxIdleEvent_SetMode, 2848). +-define(wxGridEvent_AltDown, 2849). +-define(wxGridEvent_ControlDown, 2850). +-define(wxGridEvent_GetCol, 2851). +-define(wxGridEvent_GetPosition, 2852). +-define(wxGridEvent_GetRow, 2853). +-define(wxGridEvent_MetaDown, 2854). +-define(wxGridEvent_Selecting, 2855). +-define(wxGridEvent_ShiftDown, 2856). +-define(wxNotifyEvent_Allow, 2857). +-define(wxNotifyEvent_IsAllowed, 2858). +-define(wxNotifyEvent_Veto, 2859). +-define(wxSashEvent_GetEdge, 2860). +-define(wxSashEvent_GetDragRect, 2861). +-define(wxSashEvent_GetDragStatus, 2862). +-define(wxListEvent_GetCacheFrom, 2863). +-define(wxListEvent_GetCacheTo, 2864). +-define(wxListEvent_GetKeyCode, 2865). +-define(wxListEvent_GetIndex, 2866). +-define(wxListEvent_GetColumn, 2867). +-define(wxListEvent_GetPoint, 2868). +-define(wxListEvent_GetLabel, 2869). +-define(wxListEvent_GetText, 2870). +-define(wxListEvent_GetImage, 2871). +-define(wxListEvent_GetData, 2872). +-define(wxListEvent_GetMask, 2873). +-define(wxListEvent_GetItem, 2874). +-define(wxListEvent_IsEditCancelled, 2875). +-define(wxDateEvent_GetDate, 2876). +-define(wxCalendarEvent_GetWeekDay, 2877). +-define(wxFileDirPickerEvent_GetPath, 2878). +-define(wxColourPickerEvent_GetColour, 2879). +-define(wxFontPickerEvent_GetFont, 2880). +-define(wxStyledTextEvent_GetPosition, 2881). +-define(wxStyledTextEvent_GetKey, 2882). +-define(wxStyledTextEvent_GetModifiers, 2883). +-define(wxStyledTextEvent_GetModificationType, 2884). +-define(wxStyledTextEvent_GetText, 2885). +-define(wxStyledTextEvent_GetLength, 2886). +-define(wxStyledTextEvent_GetLinesAdded, 2887). +-define(wxStyledTextEvent_GetLine, 2888). +-define(wxStyledTextEvent_GetFoldLevelNow, 2889). +-define(wxStyledTextEvent_GetFoldLevelPrev, 2890). +-define(wxStyledTextEvent_GetMargin, 2891). +-define(wxStyledTextEvent_GetMessage, 2892). +-define(wxStyledTextEvent_GetWParam, 2893). +-define(wxStyledTextEvent_GetLParam, 2894). +-define(wxStyledTextEvent_GetListType, 2895). +-define(wxStyledTextEvent_GetX, 2896). +-define(wxStyledTextEvent_GetY, 2897). +-define(wxStyledTextEvent_GetDragText, 2898). +-define(wxStyledTextEvent_GetDragAllowMove, 2899). +-define(wxStyledTextEvent_GetDragResult, 2900). +-define(wxStyledTextEvent_GetShift, 2901). +-define(wxStyledTextEvent_GetControl, 2902). +-define(wxStyledTextEvent_GetAlt, 2903). +-define(utils_wxGetKeyState, 2904). +-define(utils_wxGetMousePosition, 2905). +-define(utils_wxGetMouseState, 2906). +-define(utils_wxSetDetectableAutoRepeat, 2907). +-define(utils_wxBell, 2908). +-define(utils_wxFindMenuItemId, 2909). +-define(utils_wxGenericFindWindowAtPoint, 2910). +-define(utils_wxFindWindowAtPoint, 2911). +-define(utils_wxBeginBusyCursor, 2912). +-define(utils_wxEndBusyCursor, 2913). +-define(utils_wxIsBusy, 2914). +-define(utils_wxShutdown, 2915). +-define(utils_wxShell, 2916). +-define(utils_wxLaunchDefaultBrowser, 2917). +-define(utils_wxGetEmailAddress, 2918). +-define(utils_wxGetUserId, 2919). +-define(utils_wxGetHomeDir, 2920). +-define(utils_wxNewId, 2921). +-define(utils_wxRegisterId, 2922). +-define(utils_wxGetCurrentId, 2923). +-define(utils_wxGetOsDescription, 2924). +-define(utils_wxIsPlatformLittleEndian, 2925). +-define(utils_wxIsPlatform64Bit, 2926). +-define(wxPrintout_new, 2927). +-define(wxPrintout_destruct, 2928). +-define(wxPrintout_GetDC, 2929). +-define(wxPrintout_GetPageSizeMM, 2930). +-define(wxPrintout_GetPageSizePixels, 2931). +-define(wxPrintout_GetPaperRectPixels, 2932). +-define(wxPrintout_GetPPIPrinter, 2933). +-define(wxPrintout_GetPPIScreen, 2934). +-define(wxPrintout_GetTitle, 2935). +-define(wxPrintout_IsPreview, 2936). +-define(wxPrintout_FitThisSizeToPaper, 2937). +-define(wxPrintout_FitThisSizeToPage, 2938). +-define(wxPrintout_FitThisSizeToPageMargins, 2939). +-define(wxPrintout_MapScreenSizeToPaper, 2940). +-define(wxPrintout_MapScreenSizeToPage, 2941). +-define(wxPrintout_MapScreenSizeToPageMargins, 2942). +-define(wxPrintout_MapScreenSizeToDevice, 2943). +-define(wxPrintout_GetLogicalPaperRect, 2944). +-define(wxPrintout_GetLogicalPageRect, 2945). +-define(wxPrintout_GetLogicalPageMarginsRect, 2946). +-define(wxPrintout_SetLogicalOrigin, 2947). +-define(wxPrintout_OffsetLogicalOrigin, 2948). +-define(wxStyledTextCtrl_new_2, 2949). +-define(wxStyledTextCtrl_new_0, 2950). +-define(wxStyledTextCtrl_destruct, 2951). +-define(wxStyledTextCtrl_Create, 2952). +-define(wxStyledTextCtrl_AddText, 2953). +-define(wxStyledTextCtrl_AddStyledText, 2954). +-define(wxStyledTextCtrl_InsertText, 2955). +-define(wxStyledTextCtrl_ClearAll, 2956). +-define(wxStyledTextCtrl_ClearDocumentStyle, 2957). +-define(wxStyledTextCtrl_GetLength, 2958). +-define(wxStyledTextCtrl_GetCharAt, 2959). +-define(wxStyledTextCtrl_GetCurrentPos, 2960). +-define(wxStyledTextCtrl_GetAnchor, 2961). +-define(wxStyledTextCtrl_GetStyleAt, 2962). +-define(wxStyledTextCtrl_Redo, 2963). +-define(wxStyledTextCtrl_SetUndoCollection, 2964). +-define(wxStyledTextCtrl_SelectAll, 2965). +-define(wxStyledTextCtrl_SetSavePoint, 2966). +-define(wxStyledTextCtrl_GetStyledText, 2967). +-define(wxStyledTextCtrl_CanRedo, 2968). +-define(wxStyledTextCtrl_MarkerLineFromHandle, 2969). +-define(wxStyledTextCtrl_MarkerDeleteHandle, 2970). +-define(wxStyledTextCtrl_GetUndoCollection, 2971). +-define(wxStyledTextCtrl_GetViewWhiteSpace, 2972). +-define(wxStyledTextCtrl_SetViewWhiteSpace, 2973). +-define(wxStyledTextCtrl_PositionFromPoint, 2974). +-define(wxStyledTextCtrl_PositionFromPointClose, 2975). +-define(wxStyledTextCtrl_GotoLine, 2976). +-define(wxStyledTextCtrl_GotoPos, 2977). +-define(wxStyledTextCtrl_SetAnchor, 2978). +-define(wxStyledTextCtrl_GetCurLine, 2979). +-define(wxStyledTextCtrl_GetEndStyled, 2980). +-define(wxStyledTextCtrl_ConvertEOLs, 2981). +-define(wxStyledTextCtrl_GetEOLMode, 2982). +-define(wxStyledTextCtrl_SetEOLMode, 2983). +-define(wxStyledTextCtrl_StartStyling, 2984). +-define(wxStyledTextCtrl_SetStyling, 2985). +-define(wxStyledTextCtrl_GetBufferedDraw, 2986). +-define(wxStyledTextCtrl_SetBufferedDraw, 2987). +-define(wxStyledTextCtrl_SetTabWidth, 2988). +-define(wxStyledTextCtrl_GetTabWidth, 2989). +-define(wxStyledTextCtrl_SetCodePage, 2990). +-define(wxStyledTextCtrl_MarkerDefine, 2991). +-define(wxStyledTextCtrl_MarkerSetForeground, 2992). +-define(wxStyledTextCtrl_MarkerSetBackground, 2993). +-define(wxStyledTextCtrl_MarkerAdd, 2994). +-define(wxStyledTextCtrl_MarkerDelete, 2995). +-define(wxStyledTextCtrl_MarkerDeleteAll, 2996). +-define(wxStyledTextCtrl_MarkerGet, 2997). +-define(wxStyledTextCtrl_MarkerNext, 2998). +-define(wxStyledTextCtrl_MarkerPrevious, 2999). +-define(wxStyledTextCtrl_MarkerDefineBitmap, 3000). +-define(wxStyledTextCtrl_MarkerAddSet, 3001). +-define(wxStyledTextCtrl_MarkerSetAlpha, 3002). +-define(wxStyledTextCtrl_SetMarginType, 3003). +-define(wxStyledTextCtrl_GetMarginType, 3004). +-define(wxStyledTextCtrl_SetMarginWidth, 3005). +-define(wxStyledTextCtrl_GetMarginWidth, 3006). +-define(wxStyledTextCtrl_SetMarginMask, 3007). +-define(wxStyledTextCtrl_GetMarginMask, 3008). +-define(wxStyledTextCtrl_SetMarginSensitive, 3009). +-define(wxStyledTextCtrl_GetMarginSensitive, 3010). +-define(wxStyledTextCtrl_StyleClearAll, 3011). +-define(wxStyledTextCtrl_StyleSetForeground, 3012). +-define(wxStyledTextCtrl_StyleSetBackground, 3013). +-define(wxStyledTextCtrl_StyleSetBold, 3014). +-define(wxStyledTextCtrl_StyleSetItalic, 3015). +-define(wxStyledTextCtrl_StyleSetSize, 3016). +-define(wxStyledTextCtrl_StyleSetFaceName, 3017). +-define(wxStyledTextCtrl_StyleSetEOLFilled, 3018). +-define(wxStyledTextCtrl_StyleResetDefault, 3019). +-define(wxStyledTextCtrl_StyleSetUnderline, 3020). +-define(wxStyledTextCtrl_StyleSetCase, 3021). +-define(wxStyledTextCtrl_StyleSetHotSpot, 3022). +-define(wxStyledTextCtrl_SetSelForeground, 3023). +-define(wxStyledTextCtrl_SetSelBackground, 3024). +-define(wxStyledTextCtrl_GetSelAlpha, 3025). +-define(wxStyledTextCtrl_SetSelAlpha, 3026). +-define(wxStyledTextCtrl_SetCaretForeground, 3027). +-define(wxStyledTextCtrl_CmdKeyAssign, 3028). +-define(wxStyledTextCtrl_CmdKeyClear, 3029). +-define(wxStyledTextCtrl_CmdKeyClearAll, 3030). +-define(wxStyledTextCtrl_SetStyleBytes, 3031). +-define(wxStyledTextCtrl_StyleSetVisible, 3032). +-define(wxStyledTextCtrl_GetCaretPeriod, 3033). +-define(wxStyledTextCtrl_SetCaretPeriod, 3034). +-define(wxStyledTextCtrl_SetWordChars, 3035). +-define(wxStyledTextCtrl_BeginUndoAction, 3036). +-define(wxStyledTextCtrl_EndUndoAction, 3037). +-define(wxStyledTextCtrl_IndicatorSetStyle, 3038). +-define(wxStyledTextCtrl_IndicatorGetStyle, 3039). +-define(wxStyledTextCtrl_IndicatorSetForeground, 3040). +-define(wxStyledTextCtrl_IndicatorGetForeground, 3041). +-define(wxStyledTextCtrl_SetWhitespaceForeground, 3042). +-define(wxStyledTextCtrl_SetWhitespaceBackground, 3043). +-define(wxStyledTextCtrl_GetStyleBits, 3044). +-define(wxStyledTextCtrl_SetLineState, 3045). +-define(wxStyledTextCtrl_GetLineState, 3046). +-define(wxStyledTextCtrl_GetMaxLineState, 3047). +-define(wxStyledTextCtrl_GetCaretLineVisible, 3048). +-define(wxStyledTextCtrl_SetCaretLineVisible, 3049). +-define(wxStyledTextCtrl_GetCaretLineBackground, 3050). +-define(wxStyledTextCtrl_SetCaretLineBackground, 3051). +-define(wxStyledTextCtrl_AutoCompShow, 3052). +-define(wxStyledTextCtrl_AutoCompCancel, 3053). +-define(wxStyledTextCtrl_AutoCompActive, 3054). +-define(wxStyledTextCtrl_AutoCompPosStart, 3055). +-define(wxStyledTextCtrl_AutoCompComplete, 3056). +-define(wxStyledTextCtrl_AutoCompStops, 3057). +-define(wxStyledTextCtrl_AutoCompSetSeparator, 3058). +-define(wxStyledTextCtrl_AutoCompGetSeparator, 3059). +-define(wxStyledTextCtrl_AutoCompSelect, 3060). +-define(wxStyledTextCtrl_AutoCompSetCancelAtStart, 3061). +-define(wxStyledTextCtrl_AutoCompGetCancelAtStart, 3062). +-define(wxStyledTextCtrl_AutoCompSetFillUps, 3063). +-define(wxStyledTextCtrl_AutoCompSetChooseSingle, 3064). +-define(wxStyledTextCtrl_AutoCompGetChooseSingle, 3065). +-define(wxStyledTextCtrl_AutoCompSetIgnoreCase, 3066). +-define(wxStyledTextCtrl_AutoCompGetIgnoreCase, 3067). +-define(wxStyledTextCtrl_UserListShow, 3068). +-define(wxStyledTextCtrl_AutoCompSetAutoHide, 3069). +-define(wxStyledTextCtrl_AutoCompGetAutoHide, 3070). +-define(wxStyledTextCtrl_AutoCompSetDropRestOfWord, 3071). +-define(wxStyledTextCtrl_AutoCompGetDropRestOfWord, 3072). +-define(wxStyledTextCtrl_RegisterImage, 3073). +-define(wxStyledTextCtrl_ClearRegisteredImages, 3074). +-define(wxStyledTextCtrl_AutoCompGetTypeSeparator, 3075). +-define(wxStyledTextCtrl_AutoCompSetTypeSeparator, 3076). +-define(wxStyledTextCtrl_AutoCompSetMaxWidth, 3077). +-define(wxStyledTextCtrl_AutoCompGetMaxWidth, 3078). +-define(wxStyledTextCtrl_AutoCompSetMaxHeight, 3079). +-define(wxStyledTextCtrl_AutoCompGetMaxHeight, 3080). +-define(wxStyledTextCtrl_SetIndent, 3081). +-define(wxStyledTextCtrl_GetIndent, 3082). +-define(wxStyledTextCtrl_SetUseTabs, 3083). +-define(wxStyledTextCtrl_GetUseTabs, 3084). +-define(wxStyledTextCtrl_SetLineIndentation, 3085). +-define(wxStyledTextCtrl_GetLineIndentation, 3086). +-define(wxStyledTextCtrl_GetLineIndentPosition, 3087). +-define(wxStyledTextCtrl_GetColumn, 3088). +-define(wxStyledTextCtrl_SetUseHorizontalScrollBar, 3089). +-define(wxStyledTextCtrl_GetUseHorizontalScrollBar, 3090). +-define(wxStyledTextCtrl_SetIndentationGuides, 3091). +-define(wxStyledTextCtrl_GetIndentationGuides, 3092). +-define(wxStyledTextCtrl_SetHighlightGuide, 3093). +-define(wxStyledTextCtrl_GetHighlightGuide, 3094). +-define(wxStyledTextCtrl_GetLineEndPosition, 3095). +-define(wxStyledTextCtrl_GetCodePage, 3096). +-define(wxStyledTextCtrl_GetCaretForeground, 3097). +-define(wxStyledTextCtrl_GetReadOnly, 3098). +-define(wxStyledTextCtrl_SetCurrentPos, 3099). +-define(wxStyledTextCtrl_SetSelectionStart, 3100). +-define(wxStyledTextCtrl_GetSelectionStart, 3101). +-define(wxStyledTextCtrl_SetSelectionEnd, 3102). +-define(wxStyledTextCtrl_GetSelectionEnd, 3103). +-define(wxStyledTextCtrl_SetPrintMagnification, 3104). +-define(wxStyledTextCtrl_GetPrintMagnification, 3105). +-define(wxStyledTextCtrl_SetPrintColourMode, 3106). +-define(wxStyledTextCtrl_GetPrintColourMode, 3107). +-define(wxStyledTextCtrl_FindText, 3108). +-define(wxStyledTextCtrl_FormatRange, 3109). +-define(wxStyledTextCtrl_GetFirstVisibleLine, 3110). +-define(wxStyledTextCtrl_GetLine, 3111). +-define(wxStyledTextCtrl_GetLineCount, 3112). +-define(wxStyledTextCtrl_SetMarginLeft, 3113). +-define(wxStyledTextCtrl_GetMarginLeft, 3114). +-define(wxStyledTextCtrl_SetMarginRight, 3115). +-define(wxStyledTextCtrl_GetMarginRight, 3116). +-define(wxStyledTextCtrl_GetModify, 3117). +-define(wxStyledTextCtrl_SetSelection, 3118). +-define(wxStyledTextCtrl_GetSelectedText, 3119). +-define(wxStyledTextCtrl_GetTextRange, 3120). +-define(wxStyledTextCtrl_HideSelection, 3121). +-define(wxStyledTextCtrl_LineFromPosition, 3122). +-define(wxStyledTextCtrl_PositionFromLine, 3123). +-define(wxStyledTextCtrl_LineScroll, 3124). +-define(wxStyledTextCtrl_EnsureCaretVisible, 3125). +-define(wxStyledTextCtrl_ReplaceSelection, 3126). +-define(wxStyledTextCtrl_SetReadOnly, 3127). +-define(wxStyledTextCtrl_CanPaste, 3128). +-define(wxStyledTextCtrl_CanUndo, 3129). +-define(wxStyledTextCtrl_EmptyUndoBuffer, 3130). +-define(wxStyledTextCtrl_Undo, 3131). +-define(wxStyledTextCtrl_Cut, 3132). +-define(wxStyledTextCtrl_Copy, 3133). +-define(wxStyledTextCtrl_Paste, 3134). +-define(wxStyledTextCtrl_Clear, 3135). +-define(wxStyledTextCtrl_SetText, 3136). +-define(wxStyledTextCtrl_GetText, 3137). +-define(wxStyledTextCtrl_GetTextLength, 3138). +-define(wxStyledTextCtrl_GetOvertype, 3139). +-define(wxStyledTextCtrl_SetCaretWidth, 3140). +-define(wxStyledTextCtrl_GetCaretWidth, 3141). +-define(wxStyledTextCtrl_SetTargetStart, 3142). +-define(wxStyledTextCtrl_GetTargetStart, 3143). +-define(wxStyledTextCtrl_SetTargetEnd, 3144). +-define(wxStyledTextCtrl_GetTargetEnd, 3145). +-define(wxStyledTextCtrl_ReplaceTarget, 3146). +-define(wxStyledTextCtrl_SearchInTarget, 3147). +-define(wxStyledTextCtrl_SetSearchFlags, 3148). +-define(wxStyledTextCtrl_GetSearchFlags, 3149). +-define(wxStyledTextCtrl_CallTipShow, 3150). +-define(wxStyledTextCtrl_CallTipCancel, 3151). +-define(wxStyledTextCtrl_CallTipActive, 3152). +-define(wxStyledTextCtrl_CallTipPosAtStart, 3153). +-define(wxStyledTextCtrl_CallTipSetHighlight, 3154). +-define(wxStyledTextCtrl_CallTipSetBackground, 3155). +-define(wxStyledTextCtrl_CallTipSetForeground, 3156). +-define(wxStyledTextCtrl_CallTipSetForegroundHighlight, 3157). +-define(wxStyledTextCtrl_CallTipUseStyle, 3158). +-define(wxStyledTextCtrl_VisibleFromDocLine, 3159). +-define(wxStyledTextCtrl_DocLineFromVisible, 3160). +-define(wxStyledTextCtrl_WrapCount, 3161). +-define(wxStyledTextCtrl_SetFoldLevel, 3162). +-define(wxStyledTextCtrl_GetFoldLevel, 3163). +-define(wxStyledTextCtrl_GetLastChild, 3164). +-define(wxStyledTextCtrl_GetFoldParent, 3165). +-define(wxStyledTextCtrl_ShowLines, 3166). +-define(wxStyledTextCtrl_HideLines, 3167). +-define(wxStyledTextCtrl_GetLineVisible, 3168). +-define(wxStyledTextCtrl_SetFoldExpanded, 3169). +-define(wxStyledTextCtrl_GetFoldExpanded, 3170). +-define(wxStyledTextCtrl_ToggleFold, 3171). +-define(wxStyledTextCtrl_EnsureVisible, 3172). +-define(wxStyledTextCtrl_SetFoldFlags, 3173). +-define(wxStyledTextCtrl_EnsureVisibleEnforcePolicy, 3174). +-define(wxStyledTextCtrl_SetTabIndents, 3175). +-define(wxStyledTextCtrl_GetTabIndents, 3176). +-define(wxStyledTextCtrl_SetBackSpaceUnIndents, 3177). +-define(wxStyledTextCtrl_GetBackSpaceUnIndents, 3178). +-define(wxStyledTextCtrl_SetMouseDwellTime, 3179). +-define(wxStyledTextCtrl_GetMouseDwellTime, 3180). +-define(wxStyledTextCtrl_WordStartPosition, 3181). +-define(wxStyledTextCtrl_WordEndPosition, 3182). +-define(wxStyledTextCtrl_SetWrapMode, 3183). +-define(wxStyledTextCtrl_GetWrapMode, 3184). +-define(wxStyledTextCtrl_SetWrapVisualFlags, 3185). +-define(wxStyledTextCtrl_GetWrapVisualFlags, 3186). +-define(wxStyledTextCtrl_SetWrapVisualFlagsLocation, 3187). +-define(wxStyledTextCtrl_GetWrapVisualFlagsLocation, 3188). +-define(wxStyledTextCtrl_SetWrapStartIndent, 3189). +-define(wxStyledTextCtrl_GetWrapStartIndent, 3190). +-define(wxStyledTextCtrl_SetLayoutCache, 3191). +-define(wxStyledTextCtrl_GetLayoutCache, 3192). +-define(wxStyledTextCtrl_SetScrollWidth, 3193). +-define(wxStyledTextCtrl_GetScrollWidth, 3194). +-define(wxStyledTextCtrl_TextWidth, 3195). +-define(wxStyledTextCtrl_GetEndAtLastLine, 3196). +-define(wxStyledTextCtrl_TextHeight, 3197). +-define(wxStyledTextCtrl_SetUseVerticalScrollBar, 3198). +-define(wxStyledTextCtrl_GetUseVerticalScrollBar, 3199). +-define(wxStyledTextCtrl_AppendText, 3200). +-define(wxStyledTextCtrl_GetTwoPhaseDraw, 3201). +-define(wxStyledTextCtrl_SetTwoPhaseDraw, 3202). +-define(wxStyledTextCtrl_TargetFromSelection, 3203). +-define(wxStyledTextCtrl_LinesJoin, 3204). +-define(wxStyledTextCtrl_LinesSplit, 3205). +-define(wxStyledTextCtrl_SetFoldMarginColour, 3206). +-define(wxStyledTextCtrl_SetFoldMarginHiColour, 3207). +-define(wxStyledTextCtrl_LineDown, 3208). +-define(wxStyledTextCtrl_LineDownExtend, 3209). +-define(wxStyledTextCtrl_LineUp, 3210). +-define(wxStyledTextCtrl_LineUpExtend, 3211). +-define(wxStyledTextCtrl_CharLeft, 3212). +-define(wxStyledTextCtrl_CharLeftExtend, 3213). +-define(wxStyledTextCtrl_CharRight, 3214). +-define(wxStyledTextCtrl_CharRightExtend, 3215). +-define(wxStyledTextCtrl_WordLeft, 3216). +-define(wxStyledTextCtrl_WordLeftExtend, 3217). +-define(wxStyledTextCtrl_WordRight, 3218). +-define(wxStyledTextCtrl_WordRightExtend, 3219). +-define(wxStyledTextCtrl_Home, 3220). +-define(wxStyledTextCtrl_HomeExtend, 3221). +-define(wxStyledTextCtrl_LineEnd, 3222). +-define(wxStyledTextCtrl_LineEndExtend, 3223). +-define(wxStyledTextCtrl_DocumentStart, 3224). +-define(wxStyledTextCtrl_DocumentStartExtend, 3225). +-define(wxStyledTextCtrl_DocumentEnd, 3226). +-define(wxStyledTextCtrl_DocumentEndExtend, 3227). +-define(wxStyledTextCtrl_PageUp, 3228). +-define(wxStyledTextCtrl_PageUpExtend, 3229). +-define(wxStyledTextCtrl_PageDown, 3230). +-define(wxStyledTextCtrl_PageDownExtend, 3231). +-define(wxStyledTextCtrl_EditToggleOvertype, 3232). +-define(wxStyledTextCtrl_Cancel, 3233). +-define(wxStyledTextCtrl_DeleteBack, 3234). +-define(wxStyledTextCtrl_Tab, 3235). +-define(wxStyledTextCtrl_BackTab, 3236). +-define(wxStyledTextCtrl_NewLine, 3237). +-define(wxStyledTextCtrl_FormFeed, 3238). +-define(wxStyledTextCtrl_VCHome, 3239). +-define(wxStyledTextCtrl_VCHomeExtend, 3240). +-define(wxStyledTextCtrl_ZoomIn, 3241). +-define(wxStyledTextCtrl_ZoomOut, 3242). +-define(wxStyledTextCtrl_DelWordLeft, 3243). +-define(wxStyledTextCtrl_DelWordRight, 3244). +-define(wxStyledTextCtrl_LineCut, 3245). +-define(wxStyledTextCtrl_LineDelete, 3246). +-define(wxStyledTextCtrl_LineTranspose, 3247). +-define(wxStyledTextCtrl_LineDuplicate, 3248). +-define(wxStyledTextCtrl_LowerCase, 3249). +-define(wxStyledTextCtrl_UpperCase, 3250). +-define(wxStyledTextCtrl_LineScrollDown, 3251). +-define(wxStyledTextCtrl_LineScrollUp, 3252). +-define(wxStyledTextCtrl_DeleteBackNotLine, 3253). +-define(wxStyledTextCtrl_HomeDisplay, 3254). +-define(wxStyledTextCtrl_HomeDisplayExtend, 3255). +-define(wxStyledTextCtrl_LineEndDisplay, 3256). +-define(wxStyledTextCtrl_LineEndDisplayExtend, 3257). +-define(wxStyledTextCtrl_HomeWrapExtend, 3258). +-define(wxStyledTextCtrl_LineEndWrap, 3259). +-define(wxStyledTextCtrl_LineEndWrapExtend, 3260). +-define(wxStyledTextCtrl_VCHomeWrap, 3261). +-define(wxStyledTextCtrl_VCHomeWrapExtend, 3262). +-define(wxStyledTextCtrl_LineCopy, 3263). +-define(wxStyledTextCtrl_MoveCaretInsideView, 3264). +-define(wxStyledTextCtrl_LineLength, 3265). +-define(wxStyledTextCtrl_BraceHighlight, 3266). +-define(wxStyledTextCtrl_BraceBadLight, 3267). +-define(wxStyledTextCtrl_BraceMatch, 3268). +-define(wxStyledTextCtrl_GetViewEOL, 3269). +-define(wxStyledTextCtrl_SetViewEOL, 3270). +-define(wxStyledTextCtrl_SetModEventMask, 3271). +-define(wxStyledTextCtrl_GetEdgeColumn, 3272). +-define(wxStyledTextCtrl_SetEdgeColumn, 3273). +-define(wxStyledTextCtrl_GetEdgeMode, 3274). +-define(wxStyledTextCtrl_GetEdgeColour, 3275). +-define(wxStyledTextCtrl_SetEdgeColour, 3276). +-define(wxStyledTextCtrl_SearchAnchor, 3277). +-define(wxStyledTextCtrl_SearchNext, 3278). +-define(wxStyledTextCtrl_SearchPrev, 3279). +-define(wxStyledTextCtrl_LinesOnScreen, 3280). +-define(wxStyledTextCtrl_UsePopUp, 3281). +-define(wxStyledTextCtrl_SelectionIsRectangle, 3282). +-define(wxStyledTextCtrl_SetZoom, 3283). +-define(wxStyledTextCtrl_GetZoom, 3284). +-define(wxStyledTextCtrl_GetModEventMask, 3285). +-define(wxStyledTextCtrl_SetSTCFocus, 3286). +-define(wxStyledTextCtrl_GetSTCFocus, 3287). +-define(wxStyledTextCtrl_SetStatus, 3288). +-define(wxStyledTextCtrl_GetStatus, 3289). +-define(wxStyledTextCtrl_SetMouseDownCaptures, 3290). +-define(wxStyledTextCtrl_GetMouseDownCaptures, 3291). +-define(wxStyledTextCtrl_SetSTCCursor, 3292). +-define(wxStyledTextCtrl_GetSTCCursor, 3293). +-define(wxStyledTextCtrl_SetControlCharSymbol, 3294). +-define(wxStyledTextCtrl_GetControlCharSymbol, 3295). +-define(wxStyledTextCtrl_WordPartLeft, 3296). +-define(wxStyledTextCtrl_WordPartLeftExtend, 3297). +-define(wxStyledTextCtrl_WordPartRight, 3298). +-define(wxStyledTextCtrl_WordPartRightExtend, 3299). +-define(wxStyledTextCtrl_SetVisiblePolicy, 3300). +-define(wxStyledTextCtrl_DelLineLeft, 3301). +-define(wxStyledTextCtrl_DelLineRight, 3302). +-define(wxStyledTextCtrl_GetXOffset, 3303). +-define(wxStyledTextCtrl_ChooseCaretX, 3304). +-define(wxStyledTextCtrl_SetXCaretPolicy, 3305). +-define(wxStyledTextCtrl_SetYCaretPolicy, 3306). +-define(wxStyledTextCtrl_GetPrintWrapMode, 3307). +-define(wxStyledTextCtrl_SetHotspotActiveForeground, 3308). +-define(wxStyledTextCtrl_SetHotspotActiveBackground, 3309). +-define(wxStyledTextCtrl_SetHotspotActiveUnderline, 3310). +-define(wxStyledTextCtrl_SetHotspotSingleLine, 3311). +-define(wxStyledTextCtrl_ParaDownExtend, 3312). +-define(wxStyledTextCtrl_ParaUp, 3313). +-define(wxStyledTextCtrl_ParaUpExtend, 3314). +-define(wxStyledTextCtrl_PositionBefore, 3315). +-define(wxStyledTextCtrl_PositionAfter, 3316). +-define(wxStyledTextCtrl_CopyRange, 3317). +-define(wxStyledTextCtrl_CopyText, 3318). +-define(wxStyledTextCtrl_SetSelectionMode, 3319). +-define(wxStyledTextCtrl_GetSelectionMode, 3320). +-define(wxStyledTextCtrl_LineDownRectExtend, 3321). +-define(wxStyledTextCtrl_LineUpRectExtend, 3322). +-define(wxStyledTextCtrl_CharLeftRectExtend, 3323). +-define(wxStyledTextCtrl_CharRightRectExtend, 3324). +-define(wxStyledTextCtrl_HomeRectExtend, 3325). +-define(wxStyledTextCtrl_VCHomeRectExtend, 3326). +-define(wxStyledTextCtrl_LineEndRectExtend, 3327). +-define(wxStyledTextCtrl_PageUpRectExtend, 3328). +-define(wxStyledTextCtrl_PageDownRectExtend, 3329). +-define(wxStyledTextCtrl_StutteredPageUp, 3330). +-define(wxStyledTextCtrl_StutteredPageUpExtend, 3331). +-define(wxStyledTextCtrl_StutteredPageDown, 3332). +-define(wxStyledTextCtrl_StutteredPageDownExtend, 3333). +-define(wxStyledTextCtrl_WordLeftEnd, 3334). +-define(wxStyledTextCtrl_WordLeftEndExtend, 3335). +-define(wxStyledTextCtrl_WordRightEnd, 3336). +-define(wxStyledTextCtrl_WordRightEndExtend, 3337). +-define(wxStyledTextCtrl_SetWhitespaceChars, 3338). +-define(wxStyledTextCtrl_SetCharsDefault, 3339). +-define(wxStyledTextCtrl_AutoCompGetCurrent, 3340). +-define(wxStyledTextCtrl_Allocate, 3341). +-define(wxStyledTextCtrl_FindColumn, 3342). +-define(wxStyledTextCtrl_GetCaretSticky, 3343). +-define(wxStyledTextCtrl_SetCaretSticky, 3344). +-define(wxStyledTextCtrl_ToggleCaretSticky, 3345). +-define(wxStyledTextCtrl_SetPasteConvertEndings, 3346). +-define(wxStyledTextCtrl_GetPasteConvertEndings, 3347). +-define(wxStyledTextCtrl_SelectionDuplicate, 3348). +-define(wxStyledTextCtrl_SetCaretLineBackAlpha, 3349). +-define(wxStyledTextCtrl_GetCaretLineBackAlpha, 3350). +-define(wxStyledTextCtrl_StartRecord, 3351). +-define(wxStyledTextCtrl_StopRecord, 3352). +-define(wxStyledTextCtrl_SetLexer, 3353). +-define(wxStyledTextCtrl_GetLexer, 3354). +-define(wxStyledTextCtrl_Colourise, 3355). +-define(wxStyledTextCtrl_SetProperty, 3356). +-define(wxStyledTextCtrl_SetKeyWords, 3357). +-define(wxStyledTextCtrl_SetLexerLanguage, 3358). +-define(wxStyledTextCtrl_GetProperty, 3359). +-define(wxStyledTextCtrl_GetStyleBitsNeeded, 3360). +-define(wxStyledTextCtrl_GetCurrentLine, 3361). +-define(wxStyledTextCtrl_StyleSetSpec, 3362). +-define(wxStyledTextCtrl_StyleSetFont, 3363). +-define(wxStyledTextCtrl_StyleSetFontAttr, 3364). +-define(wxStyledTextCtrl_StyleSetCharacterSet, 3365). +-define(wxStyledTextCtrl_StyleSetFontEncoding, 3366). +-define(wxStyledTextCtrl_CmdKeyExecute, 3367). +-define(wxStyledTextCtrl_SetMargins, 3368). +-define(wxStyledTextCtrl_GetSelection, 3369). +-define(wxStyledTextCtrl_PointFromPosition, 3370). +-define(wxStyledTextCtrl_ScrollToLine, 3371). +-define(wxStyledTextCtrl_ScrollToColumn, 3372). +-define(wxStyledTextCtrl_SendMsg, 3373). +-define(wxStyledTextCtrl_SetVScrollBar, 3374). +-define(wxStyledTextCtrl_SetHScrollBar, 3375). +-define(wxStyledTextCtrl_GetLastKeydownProcessed, 3376). +-define(wxStyledTextCtrl_SetLastKeydownProcessed, 3377). +-define(wxStyledTextCtrl_SaveFile, 3378). +-define(wxStyledTextCtrl_LoadFile, 3379). +-define(wxStyledTextCtrl_DoDragOver, 3380). +-define(wxStyledTextCtrl_DoDropText, 3381). +-define(wxStyledTextCtrl_GetUseAntiAliasing, 3382). +-define(wxStyledTextCtrl_AddTextRaw, 3383). +-define(wxStyledTextCtrl_InsertTextRaw, 3384). +-define(wxStyledTextCtrl_GetCurLineRaw, 3385). +-define(wxStyledTextCtrl_GetLineRaw, 3386). +-define(wxStyledTextCtrl_GetSelectedTextRaw, 3387). +-define(wxStyledTextCtrl_GetTextRangeRaw, 3388). +-define(wxStyledTextCtrl_SetTextRaw, 3389). +-define(wxStyledTextCtrl_GetTextRaw, 3390). +-define(wxStyledTextCtrl_AppendTextRaw, 3391). +-define(wxArtProvider_GetBitmap, 3392). +-define(wxArtProvider_GetIcon, 3393). +-define(wxTreeEvent_GetKeyCode, 3394). +-define(wxTreeEvent_GetItem, 3395). +-define(wxTreeEvent_GetKeyEvent, 3396). +-define(wxTreeEvent_GetLabel, 3397). +-define(wxTreeEvent_GetOldItem, 3398). +-define(wxTreeEvent_GetPoint, 3399). +-define(wxTreeEvent_IsEditCancelled, 3400). +-define(wxTreeEvent_SetToolTip, 3401). +-define(wxNotebookEvent_GetOldSelection, 3402). +-define(wxNotebookEvent_GetSelection, 3403). +-define(wxNotebookEvent_SetOldSelection, 3404). +-define(wxNotebookEvent_SetSelection, 3405). +-define(wxFileDataObject_new, 3406). +-define(wxFileDataObject_AddFile, 3407). +-define(wxFileDataObject_GetFilenames, 3408). +-define(wxFileDataObject_destroy, 3409). +-define(wxTextDataObject_new, 3410). +-define(wxTextDataObject_GetTextLength, 3411). +-define(wxTextDataObject_GetText, 3412). +-define(wxTextDataObject_SetText, 3413). +-define(wxTextDataObject_destroy, 3414). +-define(wxBitmapDataObject_new_1_1, 3415). +-define(wxBitmapDataObject_new_1_0, 3416). +-define(wxBitmapDataObject_GetBitmap, 3417). +-define(wxBitmapDataObject_SetBitmap, 3418). +-define(wxBitmapDataObject_destroy, 3419). +-define(wxClipboard_new, 3421). +-define(wxClipboard_destruct, 3422). +-define(wxClipboard_AddData, 3423). +-define(wxClipboard_Clear, 3424). +-define(wxClipboard_Close, 3425). +-define(wxClipboard_Flush, 3426). +-define(wxClipboard_GetData, 3427). +-define(wxClipboard_IsOpened, 3428). +-define(wxClipboard_Open, 3429). +-define(wxClipboard_SetData, 3430). +-define(wxClipboard_UsePrimarySelection, 3432). +-define(wxClipboard_IsSupported, 3433). +-define(wxClipboard_Get, 3434). +-define(wxSpinEvent_GetPosition, 3435). +-define(wxSpinEvent_SetPosition, 3436). +-define(wxSplitterWindow_new_0, 3437). +-define(wxSplitterWindow_new_2, 3438). +-define(wxSplitterWindow_destruct, 3439). +-define(wxSplitterWindow_Create, 3440). +-define(wxSplitterWindow_GetMinimumPaneSize, 3441). +-define(wxSplitterWindow_GetSashGravity, 3442). +-define(wxSplitterWindow_GetSashPosition, 3443). +-define(wxSplitterWindow_GetSplitMode, 3444). +-define(wxSplitterWindow_GetWindow1, 3445). +-define(wxSplitterWindow_GetWindow2, 3446). +-define(wxSplitterWindow_Initialize, 3447). +-define(wxSplitterWindow_IsSplit, 3448). +-define(wxSplitterWindow_ReplaceWindow, 3449). +-define(wxSplitterWindow_SetSashGravity, 3450). +-define(wxSplitterWindow_SetSashPosition, 3451). +-define(wxSplitterWindow_SetSashSize, 3452). +-define(wxSplitterWindow_SetMinimumPaneSize, 3453). +-define(wxSplitterWindow_SetSplitMode, 3454). +-define(wxSplitterWindow_SplitHorizontally, 3455). +-define(wxSplitterWindow_SplitVertically, 3456). +-define(wxSplitterWindow_Unsplit, 3457). +-define(wxSplitterWindow_UpdateSize, 3458). +-define(wxSplitterEvent_GetSashPosition, 3459). +-define(wxSplitterEvent_GetX, 3460). +-define(wxSplitterEvent_GetY, 3461). +-define(wxSplitterEvent_GetWindowBeingRemoved, 3462). +-define(wxSplitterEvent_SetSashPosition, 3463). +-define(wxHtmlWindow_new_0, 3464). +-define(wxHtmlWindow_new_2, 3465). +-define(wxHtmlWindow_AppendToPage, 3466). +-define(wxHtmlWindow_GetOpenedAnchor, 3467). +-define(wxHtmlWindow_GetOpenedPage, 3468). +-define(wxHtmlWindow_GetOpenedPageTitle, 3469). +-define(wxHtmlWindow_GetRelatedFrame, 3470). +-define(wxHtmlWindow_HistoryBack, 3471). +-define(wxHtmlWindow_HistoryCanBack, 3472). +-define(wxHtmlWindow_HistoryCanForward, 3473). +-define(wxHtmlWindow_HistoryClear, 3474). +-define(wxHtmlWindow_HistoryForward, 3475). +-define(wxHtmlWindow_LoadFile, 3476). +-define(wxHtmlWindow_LoadPage, 3477). +-define(wxHtmlWindow_SelectAll, 3478). +-define(wxHtmlWindow_SelectionToText, 3479). +-define(wxHtmlWindow_SelectLine, 3480). +-define(wxHtmlWindow_SelectWord, 3481). +-define(wxHtmlWindow_SetBorders, 3482). +-define(wxHtmlWindow_SetFonts, 3483). +-define(wxHtmlWindow_SetPage, 3484). +-define(wxHtmlWindow_SetRelatedFrame, 3485). +-define(wxHtmlWindow_SetRelatedStatusBar, 3486). +-define(wxHtmlWindow_ToText, 3487). +-define(wxHtmlWindow_destroy, 3488). +-define(wxHtmlLinkEvent_GetLinkInfo, 3489). +-define(wxSystemSettings_GetColour, 3490). +-define(wxSystemSettings_GetFont, 3491). +-define(wxSystemSettings_GetMetric, 3492). +-define(wxSystemSettings_GetScreenType, 3493). +-define(wxSystemOptions_GetOption, 3494). +-define(wxSystemOptions_GetOptionInt, 3495). +-define(wxSystemOptions_HasOption, 3496). +-define(wxSystemOptions_IsFalse, 3497). +-define(wxSystemOptions_SetOption_2_1, 3498). +-define(wxSystemOptions_SetOption_2_0, 3499). +-define(wxAuiNotebookEvent_SetSelection, 3500). +-define(wxAuiNotebookEvent_GetSelection, 3501). +-define(wxAuiNotebookEvent_SetOldSelection, 3502). +-define(wxAuiNotebookEvent_GetOldSelection, 3503). +-define(wxAuiNotebookEvent_SetDragSource, 3504). +-define(wxAuiNotebookEvent_GetDragSource, 3505). +-define(wxAuiManagerEvent_SetManager, 3506). +-define(wxAuiManagerEvent_GetManager, 3507). +-define(wxAuiManagerEvent_SetPane, 3508). +-define(wxAuiManagerEvent_GetPane, 3509). +-define(wxAuiManagerEvent_SetButton, 3510). +-define(wxAuiManagerEvent_GetButton, 3511). +-define(wxAuiManagerEvent_SetDC, 3512). +-define(wxAuiManagerEvent_GetDC, 3513). +-define(wxAuiManagerEvent_Veto, 3514). +-define(wxAuiManagerEvent_GetVeto, 3515). +-define(wxAuiManagerEvent_SetCanVeto, 3516). +-define(wxAuiManagerEvent_CanVeto, 3517). +-define(wxLogNull_new, 3518). +-define(wxLogNull_destroy, 3519). -- cgit v1.2.3 From 2c95eb0c575c95a2cdf3c2eacb562d1a5a8cfe08 Mon Sep 17 00:00:00 2001 From: Dan Gudmundsson Date: Fri, 17 Feb 2012 13:07:28 +0100 Subject: [wx] Fix api bugs in wxDC Some out arguments was in args. --- lib/wx/src/gen/wxBufferedDC.erl | 12 +- lib/wx/src/gen/wxBufferedPaintDC.erl | 12 +- lib/wx/src/gen/wxClientDC.erl | 12 +- lib/wx/src/gen/wxDC.erl | 41 +- lib/wx/src/gen/wxGraphicsContext.erl | 28 +- lib/wx/src/gen/wxGraphicsMatrix.erl | 12 +- lib/wx/src/gen/wxMemoryDC.erl | 12 +- lib/wx/src/gen/wxMirrorDC.erl | 12 +- lib/wx/src/gen/wxPaintDC.erl | 12 +- lib/wx/src/gen/wxPostScriptDC.erl | 12 +- lib/wx/src/gen/wxScreenDC.erl | 12 +- lib/wx/src/gen/wxWindowDC.erl | 12 +- lib/wx/src/gen/wxe_debug.hrl | 5436 +++++++++++++++++----------------- lib/wx/src/gen/wxe_funcs.hrl | 5434 +++++++++++++++++---------------- 14 files changed, 5519 insertions(+), 5540 deletions(-) (limited to 'lib/wx/src/gen') diff --git a/lib/wx/src/gen/wxBufferedDC.erl b/lib/wx/src/gen/wxBufferedDC.erl index 4dc11dcddd..c98f8175a0 100644 --- a/lib/wx/src/gen/wxBufferedDC.erl +++ b/lib/wx/src/gen/wxBufferedDC.erl @@ -39,10 +39,10 @@ drawPoint/2,drawPolygon/2,drawPolygon/3,drawRectangle/2,drawRectangle/3, drawRotatedText/4,drawRoundedRectangle/3,drawRoundedRectangle/4, drawText/3,endDoc/1,endPage/1,floodFill/3,floodFill/4,getBackground/1, - getBackgroundMode/1,getBrush/1,getCharHeight/1,getCharWidth/1,getClippingBox/2, + getBackgroundMode/1,getBrush/1,getCharHeight/1,getCharWidth/1,getClippingBox/1, getFont/1,getLayoutDirection/1,getLogicalFunction/1,getMapMode/1, - getMultiLineTextExtent/2,getMultiLineTextExtent/3,getPPI/1,getPartialTextExtents/3, - getPen/1,getPixel/3,getSize/1,getSizeMM/1,getTextBackground/1,getTextExtent/2, + getMultiLineTextExtent/2,getMultiLineTextExtent/3,getPPI/1,getPartialTextExtents/2, + getPen/1,getPixel/2,getSize/1,getSizeMM/1,getTextBackground/1,getTextExtent/2, getTextExtent/3,getTextForeground/1,getUserScale/1,gradientFillConcentric/4, gradientFillConcentric/5,gradientFillLinear/4,gradientFillLinear/5, isOk/1,logicalToDeviceX/2,logicalToDeviceXRel/2,logicalToDeviceY/2, @@ -245,11 +245,11 @@ getSize(This) -> wxDC:getSize(This). %% @hidden getPPI(This) -> wxDC:getPPI(This). %% @hidden -getPixel(This,Pt,Col) -> wxDC:getPixel(This,Pt,Col). +getPixel(This,Pt) -> wxDC:getPixel(This,Pt). %% @hidden getPen(This) -> wxDC:getPen(This). %% @hidden -getPartialTextExtents(This,Text,Widths) -> wxDC:getPartialTextExtents(This,Text,Widths). +getPartialTextExtents(This,Text) -> wxDC:getPartialTextExtents(This,Text). %% @hidden getMultiLineTextExtent(This,String, Options) -> wxDC:getMultiLineTextExtent(This,String, Options). %% @hidden @@ -263,7 +263,7 @@ getLayoutDirection(This) -> wxDC:getLayoutDirection(This). %% @hidden getFont(This) -> wxDC:getFont(This). %% @hidden -getClippingBox(This,Rect) -> wxDC:getClippingBox(This,Rect). +getClippingBox(This) -> wxDC:getClippingBox(This). %% @hidden getCharWidth(This) -> wxDC:getCharWidth(This). %% @hidden diff --git a/lib/wx/src/gen/wxBufferedPaintDC.erl b/lib/wx/src/gen/wxBufferedPaintDC.erl index 421fa2635d..fbf1b16cad 100644 --- a/lib/wx/src/gen/wxBufferedPaintDC.erl +++ b/lib/wx/src/gen/wxBufferedPaintDC.erl @@ -40,10 +40,10 @@ drawPoint/2,drawPolygon/2,drawPolygon/3,drawRectangle/2,drawRectangle/3, drawRotatedText/4,drawRoundedRectangle/3,drawRoundedRectangle/4, drawText/3,endDoc/1,endPage/1,floodFill/3,floodFill/4,getBackground/1, - getBackgroundMode/1,getBrush/1,getCharHeight/1,getCharWidth/1,getClippingBox/2, + getBackgroundMode/1,getBrush/1,getCharHeight/1,getCharWidth/1,getClippingBox/1, getFont/1,getLayoutDirection/1,getLogicalFunction/1,getMapMode/1, - getMultiLineTextExtent/2,getMultiLineTextExtent/3,getPPI/1,getPartialTextExtents/3, - getPen/1,getPixel/3,getSize/1,getSizeMM/1,getTextBackground/1,getTextExtent/2, + getMultiLineTextExtent/2,getMultiLineTextExtent/3,getPPI/1,getPartialTextExtents/2, + getPen/1,getPixel/2,getSize/1,getSizeMM/1,getTextBackground/1,getTextExtent/2, getTextExtent/3,getTextForeground/1,getUserScale/1,gradientFillConcentric/4, gradientFillConcentric/5,gradientFillLinear/4,gradientFillLinear/5, init/2,init/3,init/4,isOk/1,logicalToDeviceX/2,logicalToDeviceXRel/2, @@ -204,11 +204,11 @@ getSize(This) -> wxDC:getSize(This). %% @hidden getPPI(This) -> wxDC:getPPI(This). %% @hidden -getPixel(This,Pt,Col) -> wxDC:getPixel(This,Pt,Col). +getPixel(This,Pt) -> wxDC:getPixel(This,Pt). %% @hidden getPen(This) -> wxDC:getPen(This). %% @hidden -getPartialTextExtents(This,Text,Widths) -> wxDC:getPartialTextExtents(This,Text,Widths). +getPartialTextExtents(This,Text) -> wxDC:getPartialTextExtents(This,Text). %% @hidden getMultiLineTextExtent(This,String, Options) -> wxDC:getMultiLineTextExtent(This,String, Options). %% @hidden @@ -222,7 +222,7 @@ getLayoutDirection(This) -> wxDC:getLayoutDirection(This). %% @hidden getFont(This) -> wxDC:getFont(This). %% @hidden -getClippingBox(This,Rect) -> wxDC:getClippingBox(This,Rect). +getClippingBox(This) -> wxDC:getClippingBox(This). %% @hidden getCharWidth(This) -> wxDC:getCharWidth(This). %% @hidden diff --git a/lib/wx/src/gen/wxClientDC.erl b/lib/wx/src/gen/wxClientDC.erl index bdd344ca85..eb833d26e1 100644 --- a/lib/wx/src/gen/wxClientDC.erl +++ b/lib/wx/src/gen/wxClientDC.erl @@ -39,10 +39,10 @@ drawPoint/2,drawPolygon/2,drawPolygon/3,drawRectangle/2,drawRectangle/3, drawRotatedText/4,drawRoundedRectangle/3,drawRoundedRectangle/4, drawText/3,endDoc/1,endPage/1,floodFill/3,floodFill/4,getBackground/1, - getBackgroundMode/1,getBrush/1,getCharHeight/1,getCharWidth/1,getClippingBox/2, + getBackgroundMode/1,getBrush/1,getCharHeight/1,getCharWidth/1,getClippingBox/1, getFont/1,getLayoutDirection/1,getLogicalFunction/1,getMapMode/1, - getMultiLineTextExtent/2,getMultiLineTextExtent/3,getPPI/1,getPartialTextExtents/3, - getPen/1,getPixel/3,getSize/1,getSizeMM/1,getTextBackground/1,getTextExtent/2, + getMultiLineTextExtent/2,getMultiLineTextExtent/3,getPPI/1,getPartialTextExtents/2, + getPen/1,getPixel/2,getSize/1,getSizeMM/1,getTextBackground/1,getTextExtent/2, getTextExtent/3,getTextForeground/1,getUserScale/1,gradientFillConcentric/4, gradientFillConcentric/5,gradientFillLinear/4,gradientFillLinear/5, isOk/1,logicalToDeviceX/2,logicalToDeviceXRel/2,logicalToDeviceY/2, @@ -163,11 +163,11 @@ getSize(This) -> wxDC:getSize(This). %% @hidden getPPI(This) -> wxDC:getPPI(This). %% @hidden -getPixel(This,Pt,Col) -> wxDC:getPixel(This,Pt,Col). +getPixel(This,Pt) -> wxDC:getPixel(This,Pt). %% @hidden getPen(This) -> wxDC:getPen(This). %% @hidden -getPartialTextExtents(This,Text,Widths) -> wxDC:getPartialTextExtents(This,Text,Widths). +getPartialTextExtents(This,Text) -> wxDC:getPartialTextExtents(This,Text). %% @hidden getMultiLineTextExtent(This,String, Options) -> wxDC:getMultiLineTextExtent(This,String, Options). %% @hidden @@ -181,7 +181,7 @@ getLayoutDirection(This) -> wxDC:getLayoutDirection(This). %% @hidden getFont(This) -> wxDC:getFont(This). %% @hidden -getClippingBox(This,Rect) -> wxDC:getClippingBox(This,Rect). +getClippingBox(This) -> wxDC:getClippingBox(This). %% @hidden getCharWidth(This) -> wxDC:getCharWidth(This). %% @hidden diff --git a/lib/wx/src/gen/wxDC.erl b/lib/wx/src/gen/wxDC.erl index 1ba067b7fb..4762ee7cd1 100644 --- a/lib/wx/src/gen/wxDC.erl +++ b/lib/wx/src/gen/wxDC.erl @@ -32,10 +32,10 @@ drawPoint/2,drawPolygon/2,drawPolygon/3,drawRectangle/2,drawRectangle/3, drawRotatedText/4,drawRoundedRectangle/3,drawRoundedRectangle/4, drawText/3,endDoc/1,endPage/1,floodFill/3,floodFill/4,getBackground/1, - getBackgroundMode/1,getBrush/1,getCharHeight/1,getCharWidth/1,getClippingBox/2, + getBackgroundMode/1,getBrush/1,getCharHeight/1,getCharWidth/1,getClippingBox/1, getFont/1,getLayoutDirection/1,getLogicalFunction/1,getMapMode/1, - getMultiLineTextExtent/2,getMultiLineTextExtent/3,getPPI/1,getPartialTextExtents/3, - getPen/1,getPixel/3,getSize/1,getSizeMM/1,getTextBackground/1,getTextExtent/2, + getMultiLineTextExtent/2,getMultiLineTextExtent/3,getPPI/1,getPartialTextExtents/2, + getPen/1,getPixel/2,getSize/1,getSizeMM/1,getTextBackground/1,getTextExtent/2, getTextExtent/3,getTextForeground/1,getUserScale/1,gradientFillConcentric/4, gradientFillConcentric/5,gradientFillLinear/4,gradientFillLinear/5, isOk/1,logicalToDeviceX/2,logicalToDeviceXRel/2,logicalToDeviceY/2, @@ -470,13 +470,13 @@ getCharWidth(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getClippingBox(This, Rect) -> ok when - This::wxDC(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}. -getClippingBox(#wx_ref{type=ThisT,ref=ThisRef},{RectX,RectY,RectW,RectH}) - when is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH) -> +-spec getClippingBox(This) -> Result when + Result ::{X::integer(), Y::integer(), W::integer(), H::integer()}, + This::wxDC(). +getClippingBox(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxDC), - wxe_util:cast(?wxDC_GetClippingBox, - <>). + wxe_util:call(?wxDC_GetClippingBox, + <>). %% @doc See external documentation. -spec getFont(This) -> wxFont:wxFont() when @@ -536,15 +536,15 @@ getMultiLineTextExtent(#wx_ref{type=ThisT,ref=ThisRef},String, Options) <>). %% @doc See external documentation. --spec getPartialTextExtents(This, Text, Widths) -> boolean() when - This::wxDC(), Text::string(), Widths::[integer()]. -getPartialTextExtents(#wx_ref{type=ThisT,ref=ThisRef},Text,Widths) - when is_list(Text),is_list(Widths) -> +-spec getPartialTextExtents(This, Text) -> Result when + Result ::{Res ::boolean(), Widths::[integer()]}, + This::wxDC(), Text::string(). +getPartialTextExtents(#wx_ref{type=ThisT,ref=ThisRef},Text) + when is_list(Text) -> ?CLASS(ThisT,wxDC), Text_UC = unicode:characters_to_binary([Text,0]), wxe_util:call(?wxDC_GetPartialTextExtents, - <> || C <- Widths>>)/binary, 0:(((1+length(Widths)) rem 2)*32)>>). + <>). %% @doc See external documentation. -spec getPen(This) -> wxPen:wxPen() when @@ -555,13 +555,14 @@ getPen(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getPixel(This, Pt, Col) -> boolean() when - This::wxDC(), Pt::{X::integer(), Y::integer()}, Col::wx:wx_colour(). -getPixel(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY},Col) - when is_integer(PtX),is_integer(PtY),tuple_size(Col) =:= 3; tuple_size(Col) =:= 4 -> +-spec getPixel(This, Pt) -> Result when + Result ::{Res ::boolean(), Col::wx:wx_colour()}, + This::wxDC(), Pt::{X::integer(), Y::integer()}. +getPixel(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY}) + when is_integer(PtX),is_integer(PtY) -> ?CLASS(ThisT,wxDC), wxe_util:call(?wxDC_GetPixel, - <>). + <>). %% @doc See external documentation. -spec getPPI(This) -> {W::integer(), H::integer()} when diff --git a/lib/wx/src/gen/wxGraphicsContext.erl b/lib/wx/src/gen/wxGraphicsContext.erl index e786f8e368..3b5c554740 100644 --- a/lib/wx/src/gen/wxGraphicsContext.erl +++ b/lib/wx/src/gen/wxGraphicsContext.erl @@ -32,10 +32,9 @@ createPath/1,createPen/2,createRadialGradientBrush/8,destroy/1,drawBitmap/6, drawEllipse/5,drawIcon/6,drawLines/2,drawLines/3,drawPath/2,drawPath/3, drawRectangle/5,drawRoundedRectangle/6,drawText/4,drawText/5,drawText/6, - fillPath/2,fillPath/3,getNativeContext/1,getPartialTextExtents/3, - getTextExtent/2,getTransform/1,resetClip/1,rotate/2,scale/3,setBrush/2, - setFont/2,setFont/3,setPen/2,setTransform/2,strokeLine/5,strokeLines/2, - strokePath/2,translate/3]). + fillPath/2,fillPath/3,getPartialTextExtents/2,getTextExtent/2,getTransform/1, + resetClip/1,rotate/2,scale/3,setBrush/2,setFont/2,setFont/3,setPen/2, + setTransform/2,strokeLine/5,strokeLines/2,strokePath/2,translate/3]). %% inherited exports -export([getRenderer/1,isNull/1,parent_class/1]). @@ -350,24 +349,15 @@ strokePath(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PathT,ref=PathRef}) -> wxe_util:cast(?wxGraphicsContext_StrokePath, <>). -%% @doc See external documentation. --spec getNativeContext(This) -> ok when - This::wxGraphicsContext(). -getNativeContext(#wx_ref{type=ThisT,ref=ThisRef}) -> - ?CLASS(ThisT,wxGraphicsContext), - wxe_util:cast(?wxGraphicsContext_GetNativeContext, - <>). - %% @doc See external documentation. --spec getPartialTextExtents(This, Text, Widths) -> ok when - This::wxGraphicsContext(), Text::string(), Widths::[number()]. -getPartialTextExtents(#wx_ref{type=ThisT,ref=ThisRef},Text,Widths) - when is_list(Text),is_list(Widths) -> +-spec getPartialTextExtents(This, Text) -> [number()] when + This::wxGraphicsContext(), Text::string(). +getPartialTextExtents(#wx_ref{type=ThisT,ref=ThisRef},Text) + when is_list(Text) -> ?CLASS(ThisT,wxGraphicsContext), Text_UC = unicode:characters_to_binary([Text,0]), - wxe_util:cast(?wxGraphicsContext_GetPartialTextExtents, - <> || C <- Widths>>)/binary>>). + wxe_util:call(?wxGraphicsContext_GetPartialTextExtents, + <>). %% @doc See external documentation. -spec getTextExtent(This, Text) -> Result when diff --git a/lib/wx/src/gen/wxGraphicsMatrix.erl b/lib/wx/src/gen/wxGraphicsMatrix.erl index 958dc32894..36c33069ad 100644 --- a/lib/wx/src/gen/wxGraphicsMatrix.erl +++ b/lib/wx/src/gen/wxGraphicsMatrix.erl @@ -27,8 +27,8 @@ -module(wxGraphicsMatrix). -include("wxe.hrl"). --export([concat/2,get/1,getNativeMatrix/1,invert/1,isEqual/2,isIdentity/1,rotate/2, - scale/3,set/1,set/2,transformDistance/1,transformPoint/1,translate/3]). +-export([concat/2,get/1,invert/1,isEqual/2,isIdentity/1,rotate/2,scale/3,set/1, + set/2,transformDistance/1,transformPoint/1,translate/3]). %% inherited exports -export([getRenderer/1,isNull/1,parent_class/1]). @@ -57,14 +57,6 @@ get(#wx_ref{type=ThisT,ref=ThisRef}) -> wxe_util:call(?wxGraphicsMatrix_Get, <>). -%% @doc See external documentation. --spec getNativeMatrix(This) -> ok when - This::wxGraphicsMatrix(). -getNativeMatrix(#wx_ref{type=ThisT,ref=ThisRef}) -> - ?CLASS(ThisT,wxGraphicsMatrix), - wxe_util:cast(?wxGraphicsMatrix_GetNativeMatrix, - <>). - %% @doc See external documentation. -spec invert(This) -> ok when This::wxGraphicsMatrix(). diff --git a/lib/wx/src/gen/wxMemoryDC.erl b/lib/wx/src/gen/wxMemoryDC.erl index a8e287eb0a..a6d55e53d2 100644 --- a/lib/wx/src/gen/wxMemoryDC.erl +++ b/lib/wx/src/gen/wxMemoryDC.erl @@ -38,10 +38,10 @@ drawPoint/2,drawPolygon/2,drawPolygon/3,drawRectangle/2,drawRectangle/3, drawRotatedText/4,drawRoundedRectangle/3,drawRoundedRectangle/4, drawText/3,endDoc/1,endPage/1,floodFill/3,floodFill/4,getBackground/1, - getBackgroundMode/1,getBrush/1,getCharHeight/1,getCharWidth/1,getClippingBox/2, + getBackgroundMode/1,getBrush/1,getCharHeight/1,getCharWidth/1,getClippingBox/1, getFont/1,getLayoutDirection/1,getLogicalFunction/1,getMapMode/1, - getMultiLineTextExtent/2,getMultiLineTextExtent/3,getPPI/1,getPartialTextExtents/3, - getPen/1,getPixel/3,getSize/1,getSizeMM/1,getTextBackground/1,getTextExtent/2, + getMultiLineTextExtent/2,getMultiLineTextExtent/3,getPPI/1,getPartialTextExtents/2, + getPen/1,getPixel/2,getSize/1,getSizeMM/1,getTextBackground/1,getTextExtent/2, getTextExtent/3,getTextForeground/1,getUserScale/1,gradientFillConcentric/4, gradientFillConcentric/5,gradientFillLinear/4,gradientFillLinear/5, isOk/1,logicalToDeviceX/2,logicalToDeviceXRel/2,logicalToDeviceY/2, @@ -183,11 +183,11 @@ getSize(This) -> wxDC:getSize(This). %% @hidden getPPI(This) -> wxDC:getPPI(This). %% @hidden -getPixel(This,Pt,Col) -> wxDC:getPixel(This,Pt,Col). +getPixel(This,Pt) -> wxDC:getPixel(This,Pt). %% @hidden getPen(This) -> wxDC:getPen(This). %% @hidden -getPartialTextExtents(This,Text,Widths) -> wxDC:getPartialTextExtents(This,Text,Widths). +getPartialTextExtents(This,Text) -> wxDC:getPartialTextExtents(This,Text). %% @hidden getMultiLineTextExtent(This,String, Options) -> wxDC:getMultiLineTextExtent(This,String, Options). %% @hidden @@ -201,7 +201,7 @@ getLayoutDirection(This) -> wxDC:getLayoutDirection(This). %% @hidden getFont(This) -> wxDC:getFont(This). %% @hidden -getClippingBox(This,Rect) -> wxDC:getClippingBox(This,Rect). +getClippingBox(This) -> wxDC:getClippingBox(This). %% @hidden getCharWidth(This) -> wxDC:getCharWidth(This). %% @hidden diff --git a/lib/wx/src/gen/wxMirrorDC.erl b/lib/wx/src/gen/wxMirrorDC.erl index 53fa259fb3..6bc1e839e2 100644 --- a/lib/wx/src/gen/wxMirrorDC.erl +++ b/lib/wx/src/gen/wxMirrorDC.erl @@ -38,10 +38,10 @@ drawPoint/2,drawPolygon/2,drawPolygon/3,drawRectangle/2,drawRectangle/3, drawRotatedText/4,drawRoundedRectangle/3,drawRoundedRectangle/4, drawText/3,endDoc/1,endPage/1,floodFill/3,floodFill/4,getBackground/1, - getBackgroundMode/1,getBrush/1,getCharHeight/1,getCharWidth/1,getClippingBox/2, + getBackgroundMode/1,getBrush/1,getCharHeight/1,getCharWidth/1,getClippingBox/1, getFont/1,getLayoutDirection/1,getLogicalFunction/1,getMapMode/1, - getMultiLineTextExtent/2,getMultiLineTextExtent/3,getPPI/1,getPartialTextExtents/3, - getPen/1,getPixel/3,getSize/1,getSizeMM/1,getTextBackground/1,getTextExtent/2, + getMultiLineTextExtent/2,getMultiLineTextExtent/3,getPPI/1,getPartialTextExtents/2, + getPen/1,getPixel/2,getSize/1,getSizeMM/1,getTextBackground/1,getTextExtent/2, getTextExtent/3,getTextForeground/1,getUserScale/1,gradientFillConcentric/4, gradientFillConcentric/5,gradientFillLinear/4,gradientFillLinear/5, isOk/1,logicalToDeviceX/2,logicalToDeviceXRel/2,logicalToDeviceY/2, @@ -155,11 +155,11 @@ getSize(This) -> wxDC:getSize(This). %% @hidden getPPI(This) -> wxDC:getPPI(This). %% @hidden -getPixel(This,Pt,Col) -> wxDC:getPixel(This,Pt,Col). +getPixel(This,Pt) -> wxDC:getPixel(This,Pt). %% @hidden getPen(This) -> wxDC:getPen(This). %% @hidden -getPartialTextExtents(This,Text,Widths) -> wxDC:getPartialTextExtents(This,Text,Widths). +getPartialTextExtents(This,Text) -> wxDC:getPartialTextExtents(This,Text). %% @hidden getMultiLineTextExtent(This,String, Options) -> wxDC:getMultiLineTextExtent(This,String, Options). %% @hidden @@ -173,7 +173,7 @@ getLayoutDirection(This) -> wxDC:getLayoutDirection(This). %% @hidden getFont(This) -> wxDC:getFont(This). %% @hidden -getClippingBox(This,Rect) -> wxDC:getClippingBox(This,Rect). +getClippingBox(This) -> wxDC:getClippingBox(This). %% @hidden getCharWidth(This) -> wxDC:getCharWidth(This). %% @hidden diff --git a/lib/wx/src/gen/wxPaintDC.erl b/lib/wx/src/gen/wxPaintDC.erl index e81772b87b..57ea987c8f 100644 --- a/lib/wx/src/gen/wxPaintDC.erl +++ b/lib/wx/src/gen/wxPaintDC.erl @@ -39,10 +39,10 @@ drawPoint/2,drawPolygon/2,drawPolygon/3,drawRectangle/2,drawRectangle/3, drawRotatedText/4,drawRoundedRectangle/3,drawRoundedRectangle/4, drawText/3,endDoc/1,endPage/1,floodFill/3,floodFill/4,getBackground/1, - getBackgroundMode/1,getBrush/1,getCharHeight/1,getCharWidth/1,getClippingBox/2, + getBackgroundMode/1,getBrush/1,getCharHeight/1,getCharWidth/1,getClippingBox/1, getFont/1,getLayoutDirection/1,getLogicalFunction/1,getMapMode/1, - getMultiLineTextExtent/2,getMultiLineTextExtent/3,getPPI/1,getPartialTextExtents/3, - getPen/1,getPixel/3,getSize/1,getSizeMM/1,getTextBackground/1,getTextExtent/2, + getMultiLineTextExtent/2,getMultiLineTextExtent/3,getPPI/1,getPartialTextExtents/2, + getPen/1,getPixel/2,getSize/1,getSizeMM/1,getTextBackground/1,getTextExtent/2, getTextExtent/3,getTextForeground/1,getUserScale/1,gradientFillConcentric/4, gradientFillConcentric/5,gradientFillLinear/4,gradientFillLinear/5, isOk/1,logicalToDeviceX/2,logicalToDeviceXRel/2,logicalToDeviceY/2, @@ -163,11 +163,11 @@ getSize(This) -> wxDC:getSize(This). %% @hidden getPPI(This) -> wxDC:getPPI(This). %% @hidden -getPixel(This,Pt,Col) -> wxDC:getPixel(This,Pt,Col). +getPixel(This,Pt) -> wxDC:getPixel(This,Pt). %% @hidden getPen(This) -> wxDC:getPen(This). %% @hidden -getPartialTextExtents(This,Text,Widths) -> wxDC:getPartialTextExtents(This,Text,Widths). +getPartialTextExtents(This,Text) -> wxDC:getPartialTextExtents(This,Text). %% @hidden getMultiLineTextExtent(This,String, Options) -> wxDC:getMultiLineTextExtent(This,String, Options). %% @hidden @@ -181,7 +181,7 @@ getLayoutDirection(This) -> wxDC:getLayoutDirection(This). %% @hidden getFont(This) -> wxDC:getFont(This). %% @hidden -getClippingBox(This,Rect) -> wxDC:getClippingBox(This,Rect). +getClippingBox(This) -> wxDC:getClippingBox(This). %% @hidden getCharWidth(This) -> wxDC:getCharWidth(This). %% @hidden diff --git a/lib/wx/src/gen/wxPostScriptDC.erl b/lib/wx/src/gen/wxPostScriptDC.erl index 4e08ef8c81..277241184a 100644 --- a/lib/wx/src/gen/wxPostScriptDC.erl +++ b/lib/wx/src/gen/wxPostScriptDC.erl @@ -38,10 +38,10 @@ drawPoint/2,drawPolygon/2,drawPolygon/3,drawRectangle/2,drawRectangle/3, drawRotatedText/4,drawRoundedRectangle/3,drawRoundedRectangle/4, drawText/3,endDoc/1,endPage/1,floodFill/3,floodFill/4,getBackground/1, - getBackgroundMode/1,getBrush/1,getCharHeight/1,getCharWidth/1,getClippingBox/2, + getBackgroundMode/1,getBrush/1,getCharHeight/1,getCharWidth/1,getClippingBox/1, getFont/1,getLayoutDirection/1,getLogicalFunction/1,getMapMode/1, - getMultiLineTextExtent/2,getMultiLineTextExtent/3,getPPI/1,getPartialTextExtents/3, - getPen/1,getPixel/3,getSize/1,getSizeMM/1,getTextBackground/1,getTextExtent/2, + getMultiLineTextExtent/2,getMultiLineTextExtent/3,getPPI/1,getPartialTextExtents/2, + getPen/1,getPixel/2,getSize/1,getSizeMM/1,getTextBackground/1,getTextExtent/2, getTextExtent/3,getTextForeground/1,getUserScale/1,gradientFillConcentric/4, gradientFillConcentric/5,gradientFillLinear/4,gradientFillLinear/5, isOk/1,logicalToDeviceX/2,logicalToDeviceXRel/2,logicalToDeviceY/2, @@ -174,11 +174,11 @@ getSize(This) -> wxDC:getSize(This). %% @hidden getPPI(This) -> wxDC:getPPI(This). %% @hidden -getPixel(This,Pt,Col) -> wxDC:getPixel(This,Pt,Col). +getPixel(This,Pt) -> wxDC:getPixel(This,Pt). %% @hidden getPen(This) -> wxDC:getPen(This). %% @hidden -getPartialTextExtents(This,Text,Widths) -> wxDC:getPartialTextExtents(This,Text,Widths). +getPartialTextExtents(This,Text) -> wxDC:getPartialTextExtents(This,Text). %% @hidden getMultiLineTextExtent(This,String, Options) -> wxDC:getMultiLineTextExtent(This,String, Options). %% @hidden @@ -192,7 +192,7 @@ getLayoutDirection(This) -> wxDC:getLayoutDirection(This). %% @hidden getFont(This) -> wxDC:getFont(This). %% @hidden -getClippingBox(This,Rect) -> wxDC:getClippingBox(This,Rect). +getClippingBox(This) -> wxDC:getClippingBox(This). %% @hidden getCharWidth(This) -> wxDC:getCharWidth(This). %% @hidden diff --git a/lib/wx/src/gen/wxScreenDC.erl b/lib/wx/src/gen/wxScreenDC.erl index baf9726946..ef2090b6d1 100644 --- a/lib/wx/src/gen/wxScreenDC.erl +++ b/lib/wx/src/gen/wxScreenDC.erl @@ -38,10 +38,10 @@ drawPoint/2,drawPolygon/2,drawPolygon/3,drawRectangle/2,drawRectangle/3, drawRotatedText/4,drawRoundedRectangle/3,drawRoundedRectangle/4, drawText/3,endDoc/1,endPage/1,floodFill/3,floodFill/4,getBackground/1, - getBackgroundMode/1,getBrush/1,getCharHeight/1,getCharWidth/1,getClippingBox/2, + getBackgroundMode/1,getBrush/1,getCharHeight/1,getCharWidth/1,getClippingBox/1, getFont/1,getLayoutDirection/1,getLogicalFunction/1,getMapMode/1, - getMultiLineTextExtent/2,getMultiLineTextExtent/3,getPPI/1,getPartialTextExtents/3, - getPen/1,getPixel/3,getSize/1,getSizeMM/1,getTextBackground/1,getTextExtent/2, + getMultiLineTextExtent/2,getMultiLineTextExtent/3,getPPI/1,getPartialTextExtents/2, + getPen/1,getPixel/2,getSize/1,getSizeMM/1,getTextBackground/1,getTextExtent/2, getTextExtent/3,getTextForeground/1,getUserScale/1,gradientFillConcentric/4, gradientFillConcentric/5,gradientFillLinear/4,gradientFillLinear/5, isOk/1,logicalToDeviceX/2,logicalToDeviceXRel/2,logicalToDeviceY/2, @@ -152,11 +152,11 @@ getSize(This) -> wxDC:getSize(This). %% @hidden getPPI(This) -> wxDC:getPPI(This). %% @hidden -getPixel(This,Pt,Col) -> wxDC:getPixel(This,Pt,Col). +getPixel(This,Pt) -> wxDC:getPixel(This,Pt). %% @hidden getPen(This) -> wxDC:getPen(This). %% @hidden -getPartialTextExtents(This,Text,Widths) -> wxDC:getPartialTextExtents(This,Text,Widths). +getPartialTextExtents(This,Text) -> wxDC:getPartialTextExtents(This,Text). %% @hidden getMultiLineTextExtent(This,String, Options) -> wxDC:getMultiLineTextExtent(This,String, Options). %% @hidden @@ -170,7 +170,7 @@ getLayoutDirection(This) -> wxDC:getLayoutDirection(This). %% @hidden getFont(This) -> wxDC:getFont(This). %% @hidden -getClippingBox(This,Rect) -> wxDC:getClippingBox(This,Rect). +getClippingBox(This) -> wxDC:getClippingBox(This). %% @hidden getCharWidth(This) -> wxDC:getCharWidth(This). %% @hidden diff --git a/lib/wx/src/gen/wxWindowDC.erl b/lib/wx/src/gen/wxWindowDC.erl index ba7bdf50aa..9501cec539 100644 --- a/lib/wx/src/gen/wxWindowDC.erl +++ b/lib/wx/src/gen/wxWindowDC.erl @@ -38,10 +38,10 @@ drawPoint/2,drawPolygon/2,drawPolygon/3,drawRectangle/2,drawRectangle/3, drawRotatedText/4,drawRoundedRectangle/3,drawRoundedRectangle/4, drawText/3,endDoc/1,endPage/1,floodFill/3,floodFill/4,getBackground/1, - getBackgroundMode/1,getBrush/1,getCharHeight/1,getCharWidth/1,getClippingBox/2, + getBackgroundMode/1,getBrush/1,getCharHeight/1,getCharWidth/1,getClippingBox/1, getFont/1,getLayoutDirection/1,getLogicalFunction/1,getMapMode/1, - getMultiLineTextExtent/2,getMultiLineTextExtent/3,getPPI/1,getPartialTextExtents/3, - getPen/1,getPixel/3,getSize/1,getSizeMM/1,getTextBackground/1,getTextExtent/2, + getMultiLineTextExtent/2,getMultiLineTextExtent/3,getPPI/1,getPartialTextExtents/2, + getPen/1,getPixel/2,getSize/1,getSizeMM/1,getTextBackground/1,getTextExtent/2, getTextExtent/3,getTextForeground/1,getUserScale/1,gradientFillConcentric/4, gradientFillConcentric/5,gradientFillLinear/4,gradientFillLinear/5, isOk/1,logicalToDeviceX/2,logicalToDeviceXRel/2,logicalToDeviceY/2, @@ -160,11 +160,11 @@ getSize(This) -> wxDC:getSize(This). %% @hidden getPPI(This) -> wxDC:getPPI(This). %% @hidden -getPixel(This,Pt,Col) -> wxDC:getPixel(This,Pt,Col). +getPixel(This,Pt) -> wxDC:getPixel(This,Pt). %% @hidden getPen(This) -> wxDC:getPen(This). %% @hidden -getPartialTextExtents(This,Text,Widths) -> wxDC:getPartialTextExtents(This,Text,Widths). +getPartialTextExtents(This,Text) -> wxDC:getPartialTextExtents(This,Text). %% @hidden getMultiLineTextExtent(This,String, Options) -> wxDC:getMultiLineTextExtent(This,String, Options). %% @hidden @@ -178,7 +178,7 @@ getLayoutDirection(This) -> wxDC:getLayoutDirection(This). %% @hidden getFont(This) -> wxDC:getFont(This). %% @hidden -getClippingBox(This,Rect) -> wxDC:getClippingBox(This,Rect). +getClippingBox(This) -> wxDC:getClippingBox(This). %% @hidden getCharWidth(This) -> wxDC:getCharWidth(This). %% @hidden diff --git a/lib/wx/src/gen/wxe_debug.hrl b/lib/wx/src/gen/wxe_debug.hrl index 3ba1305356..430ac5a5c0 100644 --- a/lib/wx/src/gen/wxe_debug.hrl +++ b/lib/wx/src/gen/wxe_debug.hrl @@ -563,120 +563,119 @@ wxdebug_table() -> {662, {wxDC, getBrush, 0}}, {663, {wxDC, getCharHeight, 0}}, {664, {wxDC, getCharWidth, 0}}, - {665, {wxDC, getClippingBox, 1}}, - {666, {wxDC, getFont, 0}}, - {667, {wxDC, getLayoutDirection, 0}}, - {668, {wxDC, getLogicalFunction, 0}}, - {669, {wxDC, getMapMode, 0}}, - {670, {wxDC, getMultiLineTextExtent_4, 4}}, - {671, {wxDC, getMultiLineTextExtent_1, 1}}, - {672, {wxDC, getPartialTextExtents, 2}}, - {673, {wxDC, getPen, 0}}, - {674, {wxDC, getPixel, 2}}, - {675, {wxDC, getPPI, 0}}, - {677, {wxDC, getSize, 0}}, - {679, {wxDC, getSizeMM, 0}}, - {680, {wxDC, getTextBackground, 0}}, - {681, {wxDC, getTextExtent_4, 4}}, - {682, {wxDC, getTextExtent_1, 1}}, - {684, {wxDC, getTextForeground, 0}}, - {685, {wxDC, getUserScale, 2}}, - {686, {wxDC, gradientFillConcentric_3, 3}}, - {687, {wxDC, gradientFillConcentric_4, 4}}, - {688, {wxDC, gradientFillLinear, 4}}, - {689, {wxDC, logicalToDeviceX, 1}}, - {690, {wxDC, logicalToDeviceXRel, 1}}, - {691, {wxDC, logicalToDeviceY, 1}}, - {692, {wxDC, logicalToDeviceYRel, 1}}, - {693, {wxDC, maxX, 0}}, - {694, {wxDC, maxY, 0}}, - {695, {wxDC, minX, 0}}, - {696, {wxDC, minY, 0}}, - {697, {wxDC, isOk, 0}}, - {698, {wxDC, resetBoundingBox, 0}}, - {699, {wxDC, setAxisOrientation, 2}}, - {700, {wxDC, setBackground, 1}}, - {701, {wxDC, setBackgroundMode, 1}}, - {702, {wxDC, setBrush, 1}}, - {704, {wxDC, setClippingRegion_2, 2}}, - {705, {wxDC, setClippingRegion_1_1, 1}}, - {706, {wxDC, setClippingRegion_1_0, 1}}, - {707, {wxDC, setDeviceOrigin, 2}}, - {708, {wxDC, setFont, 1}}, - {709, {wxDC, setLayoutDirection, 1}}, - {710, {wxDC, setLogicalFunction, 1}}, - {711, {wxDC, setMapMode, 1}}, - {712, {wxDC, setPalette, 1}}, - {713, {wxDC, setPen, 1}}, - {714, {wxDC, setTextBackground, 1}}, - {715, {wxDC, setTextForeground, 1}}, - {716, {wxDC, setUserScale, 2}}, - {717, {wxDC, startDoc, 1}}, - {718, {wxDC, startPage, 0}}, - {719, {wxMirrorDC, new, 2}}, - {720, {wxMirrorDC, 'Destroy', undefined}}, - {721, {wxScreenDC, new, 0}}, - {722, {wxScreenDC, destruct, 0}}, - {723, {wxPostScriptDC, new_0, 0}}, - {724, {wxPostScriptDC, new_1, 1}}, - {725, {wxPostScriptDC, destruct, 0}}, - {726, {wxPostScriptDC, setResolution, 1}}, - {727, {wxPostScriptDC, getResolution, 0}}, - {728, {wxWindowDC, new_0, 0}}, - {729, {wxWindowDC, new_1, 1}}, - {730, {wxWindowDC, destruct, 0}}, - {731, {wxClientDC, new_0, 0}}, - {732, {wxClientDC, new_1, 1}}, - {733, {wxClientDC, 'Destroy', undefined}}, - {734, {wxPaintDC, new_0, 0}}, - {735, {wxPaintDC, new_1, 1}}, - {736, {wxPaintDC, 'Destroy', undefined}}, - {738, {wxMemoryDC, new_1_0, 1}}, - {739, {wxMemoryDC, new_1_1, 1}}, - {740, {wxMemoryDC, new_0, 0}}, - {742, {wxMemoryDC, destruct, 0}}, - {743, {wxMemoryDC, selectObject, 1}}, - {744, {wxMemoryDC, selectObjectAsSource, 1}}, - {745, {wxBufferedDC, new_0, 0}}, - {746, {wxBufferedDC, new_2, 2}}, - {747, {wxBufferedDC, new_3, 3}}, - {748, {wxBufferedDC, destruct, 0}}, - {749, {wxBufferedDC, init_2, 2}}, - {750, {wxBufferedDC, init_3, 3}}, - {751, {wxBufferedPaintDC, new_3, 3}}, - {752, {wxBufferedPaintDC, new_2, 2}}, - {753, {wxBufferedPaintDC, destruct, 0}}, - {754, {wxGraphicsObject, destruct, 0}}, - {755, {wxGraphicsObject, getRenderer, 0}}, - {756, {wxGraphicsObject, isNull, 0}}, - {757, {wxGraphicsContext, destruct, 0}}, - {758, {wxGraphicsContext, create_1_1, 1}}, - {759, {wxGraphicsContext, create_1_0, 1}}, - {760, {wxGraphicsContext, create_0, 0}}, - {761, {wxGraphicsContext, createPen, 1}}, - {762, {wxGraphicsContext, createBrush, 1}}, - {763, {wxGraphicsContext, createRadialGradientBrush, 7}}, - {764, {wxGraphicsContext, createLinearGradientBrush, 6}}, - {765, {wxGraphicsContext, createFont, 2}}, - {766, {wxGraphicsContext, createMatrix, 1}}, - {767, {wxGraphicsContext, createPath, 0}}, - {768, {wxGraphicsContext, clip_1, 1}}, - {769, {wxGraphicsContext, clip_4, 4}}, - {770, {wxGraphicsContext, resetClip, 0}}, - {771, {wxGraphicsContext, drawBitmap, 5}}, - {772, {wxGraphicsContext, drawEllipse, 4}}, - {773, {wxGraphicsContext, drawIcon, 5}}, - {774, {wxGraphicsContext, drawLines, 3}}, - {775, {wxGraphicsContext, drawPath, 2}}, - {776, {wxGraphicsContext, drawRectangle, 4}}, - {777, {wxGraphicsContext, drawRoundedRectangle, 5}}, - {778, {wxGraphicsContext, drawText_3, 3}}, - {779, {wxGraphicsContext, drawText_4_0, 4}}, - {780, {wxGraphicsContext, drawText_4_1, 4}}, - {781, {wxGraphicsContext, drawText_5, 5}}, - {782, {wxGraphicsContext, fillPath, 2}}, - {783, {wxGraphicsContext, strokePath, 1}}, - {784, {wxGraphicsContext, getNativeContext, 0}}, + {665, {wxDC, getClippingBox, 4}}, + {667, {wxDC, getFont, 0}}, + {668, {wxDC, getLayoutDirection, 0}}, + {669, {wxDC, getLogicalFunction, 0}}, + {670, {wxDC, getMapMode, 0}}, + {671, {wxDC, getMultiLineTextExtent_4, 4}}, + {672, {wxDC, getMultiLineTextExtent_1, 1}}, + {673, {wxDC, getPartialTextExtents, 2}}, + {674, {wxDC, getPen, 0}}, + {675, {wxDC, getPixel, 2}}, + {676, {wxDC, getPPI, 0}}, + {678, {wxDC, getSize, 0}}, + {680, {wxDC, getSizeMM, 0}}, + {681, {wxDC, getTextBackground, 0}}, + {682, {wxDC, getTextExtent_4, 4}}, + {683, {wxDC, getTextExtent_1, 1}}, + {685, {wxDC, getTextForeground, 0}}, + {686, {wxDC, getUserScale, 2}}, + {687, {wxDC, gradientFillConcentric_3, 3}}, + {688, {wxDC, gradientFillConcentric_4, 4}}, + {689, {wxDC, gradientFillLinear, 4}}, + {690, {wxDC, logicalToDeviceX, 1}}, + {691, {wxDC, logicalToDeviceXRel, 1}}, + {692, {wxDC, logicalToDeviceY, 1}}, + {693, {wxDC, logicalToDeviceYRel, 1}}, + {694, {wxDC, maxX, 0}}, + {695, {wxDC, maxY, 0}}, + {696, {wxDC, minX, 0}}, + {697, {wxDC, minY, 0}}, + {698, {wxDC, isOk, 0}}, + {699, {wxDC, resetBoundingBox, 0}}, + {700, {wxDC, setAxisOrientation, 2}}, + {701, {wxDC, setBackground, 1}}, + {702, {wxDC, setBackgroundMode, 1}}, + {703, {wxDC, setBrush, 1}}, + {705, {wxDC, setClippingRegion_2, 2}}, + {706, {wxDC, setClippingRegion_1_1, 1}}, + {707, {wxDC, setClippingRegion_1_0, 1}}, + {708, {wxDC, setDeviceOrigin, 2}}, + {709, {wxDC, setFont, 1}}, + {710, {wxDC, setLayoutDirection, 1}}, + {711, {wxDC, setLogicalFunction, 1}}, + {712, {wxDC, setMapMode, 1}}, + {713, {wxDC, setPalette, 1}}, + {714, {wxDC, setPen, 1}}, + {715, {wxDC, setTextBackground, 1}}, + {716, {wxDC, setTextForeground, 1}}, + {717, {wxDC, setUserScale, 2}}, + {718, {wxDC, startDoc, 1}}, + {719, {wxDC, startPage, 0}}, + {720, {wxMirrorDC, new, 2}}, + {721, {wxMirrorDC, 'Destroy', undefined}}, + {722, {wxScreenDC, new, 0}}, + {723, {wxScreenDC, destruct, 0}}, + {724, {wxPostScriptDC, new_0, 0}}, + {725, {wxPostScriptDC, new_1, 1}}, + {726, {wxPostScriptDC, destruct, 0}}, + {727, {wxPostScriptDC, setResolution, 1}}, + {728, {wxPostScriptDC, getResolution, 0}}, + {729, {wxWindowDC, new_0, 0}}, + {730, {wxWindowDC, new_1, 1}}, + {731, {wxWindowDC, destruct, 0}}, + {732, {wxClientDC, new_0, 0}}, + {733, {wxClientDC, new_1, 1}}, + {734, {wxClientDC, 'Destroy', undefined}}, + {735, {wxPaintDC, new_0, 0}}, + {736, {wxPaintDC, new_1, 1}}, + {737, {wxPaintDC, 'Destroy', undefined}}, + {739, {wxMemoryDC, new_1_0, 1}}, + {740, {wxMemoryDC, new_1_1, 1}}, + {741, {wxMemoryDC, new_0, 0}}, + {743, {wxMemoryDC, destruct, 0}}, + {744, {wxMemoryDC, selectObject, 1}}, + {745, {wxMemoryDC, selectObjectAsSource, 1}}, + {746, {wxBufferedDC, new_0, 0}}, + {747, {wxBufferedDC, new_2, 2}}, + {748, {wxBufferedDC, new_3, 3}}, + {749, {wxBufferedDC, destruct, 0}}, + {750, {wxBufferedDC, init_2, 2}}, + {751, {wxBufferedDC, init_3, 3}}, + {752, {wxBufferedPaintDC, new_3, 3}}, + {753, {wxBufferedPaintDC, new_2, 2}}, + {754, {wxBufferedPaintDC, destruct, 0}}, + {755, {wxGraphicsObject, destruct, 0}}, + {756, {wxGraphicsObject, getRenderer, 0}}, + {757, {wxGraphicsObject, isNull, 0}}, + {758, {wxGraphicsContext, destruct, 0}}, + {759, {wxGraphicsContext, create_1_1, 1}}, + {760, {wxGraphicsContext, create_1_0, 1}}, + {761, {wxGraphicsContext, create_0, 0}}, + {762, {wxGraphicsContext, createPen, 1}}, + {763, {wxGraphicsContext, createBrush, 1}}, + {764, {wxGraphicsContext, createRadialGradientBrush, 7}}, + {765, {wxGraphicsContext, createLinearGradientBrush, 6}}, + {766, {wxGraphicsContext, createFont, 2}}, + {767, {wxGraphicsContext, createMatrix, 1}}, + {768, {wxGraphicsContext, createPath, 0}}, + {769, {wxGraphicsContext, clip_1, 1}}, + {770, {wxGraphicsContext, clip_4, 4}}, + {771, {wxGraphicsContext, resetClip, 0}}, + {772, {wxGraphicsContext, drawBitmap, 5}}, + {773, {wxGraphicsContext, drawEllipse, 4}}, + {774, {wxGraphicsContext, drawIcon, 5}}, + {775, {wxGraphicsContext, drawLines, 3}}, + {776, {wxGraphicsContext, drawPath, 2}}, + {777, {wxGraphicsContext, drawRectangle, 4}}, + {778, {wxGraphicsContext, drawRoundedRectangle, 5}}, + {779, {wxGraphicsContext, drawText_3, 3}}, + {780, {wxGraphicsContext, drawText_4_0, 4}}, + {781, {wxGraphicsContext, drawText_4_1, 4}}, + {782, {wxGraphicsContext, drawText_5, 5}}, + {783, {wxGraphicsContext, fillPath, 2}}, + {784, {wxGraphicsContext, strokePath, 1}}, {785, {wxGraphicsContext, getPartialTextExtents, 2}}, {786, {wxGraphicsContext, getTextExtent, 5}}, {787, {wxGraphicsContext, rotate, 1}}, @@ -695,2611 +694,2610 @@ wxdebug_table() -> {800, {wxGraphicsContext, strokeLines, 2}}, {802, {wxGraphicsMatrix, concat, 1}}, {804, {wxGraphicsMatrix, get, 1}}, - {805, {wxGraphicsMatrix, getNativeMatrix, 0}}, - {806, {wxGraphicsMatrix, invert, 0}}, - {807, {wxGraphicsMatrix, isEqual, 1}}, - {809, {wxGraphicsMatrix, isIdentity, 0}}, - {810, {wxGraphicsMatrix, rotate, 1}}, - {811, {wxGraphicsMatrix, scale, 2}}, - {812, {wxGraphicsMatrix, translate, 2}}, - {813, {wxGraphicsMatrix, set, 1}}, - {814, {wxGraphicsMatrix, transformPoint, 2}}, - {815, {wxGraphicsMatrix, transformDistance, 2}}, - {816, {wxGraphicsPath, moveToPoint_2, 2}}, - {817, {wxGraphicsPath, moveToPoint_1, 1}}, - {818, {wxGraphicsPath, addArc_6, 6}}, - {819, {wxGraphicsPath, addArc_5, 5}}, - {820, {wxGraphicsPath, addArcToPoint, 5}}, - {821, {wxGraphicsPath, addCircle, 3}}, - {822, {wxGraphicsPath, addCurveToPoint_6, 6}}, - {823, {wxGraphicsPath, addCurveToPoint_3, 3}}, - {824, {wxGraphicsPath, addEllipse, 4}}, - {825, {wxGraphicsPath, addLineToPoint_2, 2}}, - {826, {wxGraphicsPath, addLineToPoint_1, 1}}, - {827, {wxGraphicsPath, addPath, 1}}, - {828, {wxGraphicsPath, addQuadCurveToPoint, 4}}, - {829, {wxGraphicsPath, addRectangle, 4}}, - {830, {wxGraphicsPath, addRoundedRectangle, 5}}, - {831, {wxGraphicsPath, closeSubpath, 0}}, - {832, {wxGraphicsPath, contains_3, 3}}, - {833, {wxGraphicsPath, contains_2, 2}}, - {835, {wxGraphicsPath, getBox, 0}}, - {837, {wxGraphicsPath, getCurrentPoint, 0}}, - {838, {wxGraphicsPath, transform, 1}}, - {839, {wxGraphicsRenderer, getDefaultRenderer, 0}}, - {840, {wxGraphicsRenderer, createContext_1_1, 1}}, - {841, {wxGraphicsRenderer, createContext_1_0, 1}}, - {842, {wxGraphicsRenderer, createPen, 1}}, - {843, {wxGraphicsRenderer, createBrush, 1}}, - {844, {wxGraphicsRenderer, createLinearGradientBrush, 6}}, - {845, {wxGraphicsRenderer, createRadialGradientBrush, 7}}, - {846, {wxGraphicsRenderer, createFont, 2}}, - {847, {wxGraphicsRenderer, createMatrix, 1}}, - {848, {wxGraphicsRenderer, createPath, 0}}, - {850, {wxMenuBar, new_1, 1}}, - {852, {wxMenuBar, new_0, 0}}, - {854, {wxMenuBar, destruct, 0}}, - {855, {wxMenuBar, append, 2}}, - {856, {wxMenuBar, check, 2}}, - {857, {wxMenuBar, enable_2, 2}}, - {858, {wxMenuBar, enable_1, 1}}, - {859, {wxMenuBar, enableTop, 2}}, - {860, {wxMenuBar, findMenu, 1}}, - {861, {wxMenuBar, findMenuItem, 2}}, - {862, {wxMenuBar, findItem, 2}}, - {863, {wxMenuBar, getHelpString, 1}}, - {864, {wxMenuBar, getLabel_1, 1}}, - {865, {wxMenuBar, getLabel_0, 0}}, - {866, {wxMenuBar, getLabelTop, 1}}, - {867, {wxMenuBar, getMenu, 1}}, - {868, {wxMenuBar, getMenuCount, 0}}, - {869, {wxMenuBar, insert, 3}}, - {870, {wxMenuBar, isChecked, 1}}, - {871, {wxMenuBar, isEnabled_1, 1}}, - {872, {wxMenuBar, isEnabled_0, 0}}, - {873, {wxMenuBar, remove, 1}}, - {874, {wxMenuBar, replace, 3}}, - {875, {wxMenuBar, setHelpString, 2}}, - {876, {wxMenuBar, setLabel_2, 2}}, - {877, {wxMenuBar, setLabel_1, 1}}, - {878, {wxMenuBar, setLabelTop, 2}}, - {879, {wxControl, getLabel, 0}}, - {880, {wxControl, setLabel, 1}}, - {881, {wxControlWithItems, append_1, 1}}, - {882, {wxControlWithItems, append_2, 2}}, - {883, {wxControlWithItems, appendStrings_1, 1}}, - {884, {wxControlWithItems, clear, 0}}, - {885, {wxControlWithItems, delete, 1}}, - {886, {wxControlWithItems, findString, 2}}, - {887, {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, {wxListItemAttr, new_0, 0}}, - {1760, {wxListItemAttr, new_3, 3}}, - {1761, {wxListItemAttr, getBackgroundColour, 0}}, - {1762, {wxListItemAttr, getFont, 0}}, - {1763, {wxListItemAttr, getTextColour, 0}}, - {1764, {wxListItemAttr, hasBackgroundColour, 0}}, - {1765, {wxListItemAttr, hasFont, 0}}, - {1766, {wxListItemAttr, hasTextColour, 0}}, - {1767, {wxListItemAttr, setBackgroundColour, 1}}, - {1768, {wxListItemAttr, setFont, 1}}, - {1769, {wxListItemAttr, setTextColour, 1}}, - {1770, {wxListItemAttr, 'Destroy', undefined}}, - {1771, {wxImageList, new_0, 0}}, - {1772, {wxImageList, new_3, 3}}, - {1773, {wxImageList, add_1, 1}}, - {1774, {wxImageList, add_2_0, 2}}, - {1775, {wxImageList, add_2_1, 2}}, - {1776, {wxImageList, create, 3}}, - {1778, {wxImageList, draw, 5}}, - {1779, {wxImageList, getBitmap, 1}}, - {1780, {wxImageList, getIcon, 1}}, - {1781, {wxImageList, getImageCount, 0}}, - {1782, {wxImageList, getSize, 3}}, - {1783, {wxImageList, remove, 1}}, - {1784, {wxImageList, removeAll, 0}}, - {1785, {wxImageList, replace_2, 2}}, - {1786, {wxImageList, replace_3, 3}}, - {1787, {wxImageList, 'Destroy', undefined}}, - {1788, {wxTextAttr, new_0, 0}}, - {1789, {wxTextAttr, new_2, 2}}, - {1790, {wxTextAttr, getAlignment, 0}}, - {1791, {wxTextAttr, getBackgroundColour, 0}}, - {1792, {wxTextAttr, getFont, 0}}, - {1793, {wxTextAttr, getLeftIndent, 0}}, - {1794, {wxTextAttr, getLeftSubIndent, 0}}, - {1795, {wxTextAttr, getRightIndent, 0}}, - {1796, {wxTextAttr, getTabs, 0}}, - {1797, {wxTextAttr, getTextColour, 0}}, - {1798, {wxTextAttr, hasBackgroundColour, 0}}, - {1799, {wxTextAttr, hasFont, 0}}, - {1800, {wxTextAttr, hasTextColour, 0}}, - {1801, {wxTextAttr, getFlags, 0}}, - {1802, {wxTextAttr, isDefault, 0}}, - {1803, {wxTextAttr, setAlignment, 1}}, - {1804, {wxTextAttr, setBackgroundColour, 1}}, - {1805, {wxTextAttr, setFlags, 1}}, - {1806, {wxTextAttr, setFont, 2}}, - {1807, {wxTextAttr, setLeftIndent, 2}}, - {1808, {wxTextAttr, setRightIndent, 1}}, - {1809, {wxTextAttr, setTabs, 1}}, - {1810, {wxTextAttr, setTextColour, 1}}, - {1811, {wxTextAttr, 'Destroy', undefined}}, - {1813, {wxTextCtrl, new_3, 3}}, - {1814, {wxTextCtrl, new_0, 0}}, - {1816, {wxTextCtrl, destruct, 0}}, - {1817, {wxTextCtrl, appendText, 1}}, - {1818, {wxTextCtrl, canCopy, 0}}, - {1819, {wxTextCtrl, canCut, 0}}, - {1820, {wxTextCtrl, canPaste, 0}}, - {1821, {wxTextCtrl, canRedo, 0}}, - {1822, {wxTextCtrl, canUndo, 0}}, - {1823, {wxTextCtrl, clear, 0}}, - {1824, {wxTextCtrl, copy, 0}}, - {1825, {wxTextCtrl, create, 3}}, - {1826, {wxTextCtrl, cut, 0}}, - {1827, {wxTextCtrl, discardEdits, 0}}, - {1828, {wxTextCtrl, emulateKeyPress, 1}}, - {1829, {wxTextCtrl, getDefaultStyle, 0}}, - {1830, {wxTextCtrl, getInsertionPoint, 0}}, - {1831, {wxTextCtrl, getLastPosition, 0}}, - {1832, {wxTextCtrl, getLineLength, 1}}, - {1833, {wxTextCtrl, getLineText, 1}}, - {1834, {wxTextCtrl, getNumberOfLines, 0}}, - {1835, {wxTextCtrl, getRange, 2}}, - {1836, {wxTextCtrl, getSelection, 2}}, - {1837, {wxTextCtrl, getStringSelection, 0}}, - {1838, {wxTextCtrl, getStyle, 2}}, - {1839, {wxTextCtrl, getValue, 0}}, - {1840, {wxTextCtrl, isEditable, 0}}, - {1841, {wxTextCtrl, isModified, 0}}, - {1842, {wxTextCtrl, isMultiLine, 0}}, - {1843, {wxTextCtrl, isSingleLine, 0}}, - {1844, {wxTextCtrl, loadFile, 2}}, - {1845, {wxTextCtrl, markDirty, 0}}, - {1846, {wxTextCtrl, paste, 0}}, - {1847, {wxTextCtrl, positionToXY, 3}}, - {1848, {wxTextCtrl, redo, 0}}, - {1849, {wxTextCtrl, remove, 2}}, - {1850, {wxTextCtrl, replace, 3}}, - {1851, {wxTextCtrl, saveFile, 1}}, - {1852, {wxTextCtrl, setDefaultStyle, 1}}, - {1853, {wxTextCtrl, setEditable, 1}}, - {1854, {wxTextCtrl, setInsertionPoint, 1}}, - {1855, {wxTextCtrl, setInsertionPointEnd, 0}}, - {1857, {wxTextCtrl, setMaxLength, 1}}, - {1858, {wxTextCtrl, setSelection, 2}}, - {1859, {wxTextCtrl, setStyle, 3}}, - {1860, {wxTextCtrl, setValue, 1}}, - {1861, {wxTextCtrl, showPosition, 1}}, - {1862, {wxTextCtrl, undo, 0}}, - {1863, {wxTextCtrl, writeText, 1}}, - {1864, {wxTextCtrl, xYToPosition, 2}}, - {1867, {wxNotebook, new_0, 0}}, - {1868, {wxNotebook, new_3, 3}}, - {1869, {wxNotebook, destruct, 0}}, - {1870, {wxNotebook, addPage, 3}}, - {1871, {wxNotebook, advanceSelection, 1}}, - {1872, {wxNotebook, assignImageList, 1}}, - {1873, {wxNotebook, create, 3}}, - {1874, {wxNotebook, deleteAllPages, 0}}, - {1875, {wxNotebook, deletePage, 1}}, - {1876, {wxNotebook, removePage, 1}}, - {1877, {wxNotebook, getCurrentPage, 0}}, - {1878, {wxNotebook, getImageList, 0}}, - {1880, {wxNotebook, getPage, 1}}, - {1881, {wxNotebook, getPageCount, 0}}, - {1882, {wxNotebook, getPageImage, 1}}, - {1883, {wxNotebook, getPageText, 1}}, - {1884, {wxNotebook, getRowCount, 0}}, - {1885, {wxNotebook, getSelection, 0}}, - {1886, {wxNotebook, getThemeBackgroundColour, 0}}, - {1888, {wxNotebook, hitTest, 2}}, - {1890, {wxNotebook, insertPage, 4}}, - {1891, {wxNotebook, setImageList, 1}}, - {1892, {wxNotebook, setPadding, 1}}, - {1893, {wxNotebook, setPageSize, 1}}, - {1894, {wxNotebook, setPageImage, 2}}, - {1895, {wxNotebook, setPageText, 2}}, - {1896, {wxNotebook, setSelection, 1}}, - {1897, {wxNotebook, changeSelection, 1}}, - {1898, {wxChoicebook, new_0, 0}}, - {1899, {wxChoicebook, new_3, 3}}, - {1900, {wxChoicebook, addPage, 3}}, - {1901, {wxChoicebook, advanceSelection, 1}}, - {1902, {wxChoicebook, assignImageList, 1}}, - {1903, {wxChoicebook, create, 3}}, - {1904, {wxChoicebook, deleteAllPages, 0}}, - {1905, {wxChoicebook, deletePage, 1}}, - {1906, {wxChoicebook, removePage, 1}}, - {1907, {wxChoicebook, getCurrentPage, 0}}, - {1908, {wxChoicebook, getImageList, 0}}, - {1910, {wxChoicebook, getPage, 1}}, - {1911, {wxChoicebook, getPageCount, 0}}, - {1912, {wxChoicebook, getPageImage, 1}}, - {1913, {wxChoicebook, getPageText, 1}}, - {1914, {wxChoicebook, getSelection, 0}}, - {1915, {wxChoicebook, hitTest, 2}}, - {1916, {wxChoicebook, insertPage, 4}}, - {1917, {wxChoicebook, setImageList, 1}}, - {1918, {wxChoicebook, setPageSize, 1}}, - {1919, {wxChoicebook, setPageImage, 2}}, - {1920, {wxChoicebook, setPageText, 2}}, - {1921, {wxChoicebook, setSelection, 1}}, - {1922, {wxChoicebook, changeSelection, 1}}, - {1923, {wxChoicebook, 'Destroy', undefined}}, - {1924, {wxToolbook, new_0, 0}}, - {1925, {wxToolbook, new_3, 3}}, - {1926, {wxToolbook, addPage, 3}}, - {1927, {wxToolbook, advanceSelection, 1}}, - {1928, {wxToolbook, assignImageList, 1}}, - {1929, {wxToolbook, create, 3}}, - {1930, {wxToolbook, deleteAllPages, 0}}, - {1931, {wxToolbook, deletePage, 1}}, - {1932, {wxToolbook, removePage, 1}}, - {1933, {wxToolbook, getCurrentPage, 0}}, - {1934, {wxToolbook, getImageList, 0}}, - {1936, {wxToolbook, getPage, 1}}, - {1937, {wxToolbook, getPageCount, 0}}, - {1938, {wxToolbook, getPageImage, 1}}, - {1939, {wxToolbook, getPageText, 1}}, - {1940, {wxToolbook, getSelection, 0}}, - {1942, {wxToolbook, hitTest, 2}}, - {1943, {wxToolbook, insertPage, 4}}, - {1944, {wxToolbook, setImageList, 1}}, - {1945, {wxToolbook, setPageSize, 1}}, - {1946, {wxToolbook, setPageImage, 2}}, - {1947, {wxToolbook, setPageText, 2}}, - {1948, {wxToolbook, setSelection, 1}}, - {1949, {wxToolbook, changeSelection, 1}}, - {1950, {wxToolbook, 'Destroy', undefined}}, - {1951, {wxListbook, new_0, 0}}, - {1952, {wxListbook, new_3, 3}}, - {1953, {wxListbook, addPage, 3}}, - {1954, {wxListbook, advanceSelection, 1}}, - {1955, {wxListbook, assignImageList, 1}}, - {1956, {wxListbook, create, 3}}, - {1957, {wxListbook, deleteAllPages, 0}}, - {1958, {wxListbook, deletePage, 1}}, - {1959, {wxListbook, removePage, 1}}, - {1960, {wxListbook, getCurrentPage, 0}}, - {1961, {wxListbook, getImageList, 0}}, - {1963, {wxListbook, getPage, 1}}, - {1964, {wxListbook, getPageCount, 0}}, - {1965, {wxListbook, getPageImage, 1}}, - {1966, {wxListbook, getPageText, 1}}, - {1967, {wxListbook, getSelection, 0}}, - {1969, {wxListbook, hitTest, 2}}, - {1970, {wxListbook, insertPage, 4}}, - {1971, {wxListbook, setImageList, 1}}, - {1972, {wxListbook, setPageSize, 1}}, - {1973, {wxListbook, setPageImage, 2}}, - {1974, {wxListbook, setPageText, 2}}, - {1975, {wxListbook, setSelection, 1}}, - {1976, {wxListbook, changeSelection, 1}}, - {1977, {wxListbook, 'Destroy', undefined}}, - {1978, {wxTreebook, new_0, 0}}, - {1979, {wxTreebook, new_3, 3}}, - {1980, {wxTreebook, addPage, 3}}, - {1981, {wxTreebook, advanceSelection, 1}}, - {1982, {wxTreebook, assignImageList, 1}}, - {1983, {wxTreebook, create, 3}}, - {1984, {wxTreebook, deleteAllPages, 0}}, - {1985, {wxTreebook, deletePage, 1}}, - {1986, {wxTreebook, removePage, 1}}, - {1987, {wxTreebook, getCurrentPage, 0}}, - {1988, {wxTreebook, getImageList, 0}}, - {1990, {wxTreebook, getPage, 1}}, - {1991, {wxTreebook, getPageCount, 0}}, - {1992, {wxTreebook, getPageImage, 1}}, - {1993, {wxTreebook, getPageText, 1}}, - {1994, {wxTreebook, getSelection, 0}}, - {1995, {wxTreebook, expandNode, 2}}, - {1996, {wxTreebook, isNodeExpanded, 1}}, - {1998, {wxTreebook, hitTest, 2}}, - {1999, {wxTreebook, insertPage, 4}}, - {2000, {wxTreebook, insertSubPage, 4}}, - {2001, {wxTreebook, setImageList, 1}}, - {2002, {wxTreebook, setPageSize, 1}}, - {2003, {wxTreebook, setPageImage, 2}}, - {2004, {wxTreebook, setPageText, 2}}, - {2005, {wxTreebook, setSelection, 1}}, - {2006, {wxTreebook, changeSelection, 1}}, - {2007, {wxTreebook, 'Destroy', undefined}}, - {2010, {wxTreeCtrl, new_2, 2}}, - {2011, {wxTreeCtrl, new_0, 0}}, - {2013, {wxTreeCtrl, destruct, 0}}, - {2014, {wxTreeCtrl, addRoot, 2}}, - {2015, {wxTreeCtrl, appendItem, 3}}, - {2016, {wxTreeCtrl, assignImageList, 1}}, - {2017, {wxTreeCtrl, assignStateImageList, 1}}, - {2018, {wxTreeCtrl, collapse, 1}}, - {2019, {wxTreeCtrl, collapseAndReset, 1}}, - {2020, {wxTreeCtrl, create, 2}}, - {2021, {wxTreeCtrl, delete, 1}}, - {2022, {wxTreeCtrl, deleteAllItems, 0}}, - {2023, {wxTreeCtrl, deleteChildren, 1}}, - {2024, {wxTreeCtrl, editLabel, 1}}, - {2025, {wxTreeCtrl, ensureVisible, 1}}, - {2026, {wxTreeCtrl, expand, 1}}, - {2027, {wxTreeCtrl, getBoundingRect, 3}}, - {2029, {wxTreeCtrl, getChildrenCount, 2}}, - {2030, {wxTreeCtrl, getCount, 0}}, - {2031, {wxTreeCtrl, getEditControl, 0}}, - {2032, {wxTreeCtrl, getFirstChild, 2}}, - {2033, {wxTreeCtrl, getNextChild, 2}}, - {2034, {wxTreeCtrl, getFirstVisibleItem, 0}}, - {2035, {wxTreeCtrl, getImageList, 0}}, - {2036, {wxTreeCtrl, getIndent, 0}}, - {2037, {wxTreeCtrl, getItemBackgroundColour, 1}}, - {2038, {wxTreeCtrl, getItemData, 1}}, - {2039, {wxTreeCtrl, getItemFont, 1}}, - {2040, {wxTreeCtrl, getItemImage_1, 1}}, - {2041, {wxTreeCtrl, getItemImage_2, 2}}, - {2042, {wxTreeCtrl, getItemText, 1}}, - {2043, {wxTreeCtrl, getItemTextColour, 1}}, - {2044, {wxTreeCtrl, getLastChild, 1}}, - {2045, {wxTreeCtrl, getNextSibling, 1}}, - {2046, {wxTreeCtrl, getNextVisible, 1}}, - {2047, {wxTreeCtrl, getItemParent, 1}}, - {2048, {wxTreeCtrl, getPrevSibling, 1}}, - {2049, {wxTreeCtrl, getPrevVisible, 1}}, - {2050, {wxTreeCtrl, getRootItem, 0}}, - {2051, {wxTreeCtrl, getSelection, 0}}, - {2052, {wxTreeCtrl, getSelections, 1}}, - {2053, {wxTreeCtrl, getStateImageList, 0}}, - {2054, {wxTreeCtrl, hitTest, 1}}, - {2056, {wxTreeCtrl, insertItem, 4}}, - {2057, {wxTreeCtrl, isBold, 1}}, - {2058, {wxTreeCtrl, isExpanded, 1}}, - {2059, {wxTreeCtrl, isSelected, 1}}, - {2060, {wxTreeCtrl, isVisible, 1}}, - {2061, {wxTreeCtrl, itemHasChildren, 1}}, - {2062, {wxTreeCtrl, prependItem, 3}}, - {2063, {wxTreeCtrl, scrollTo, 1}}, - {2064, {wxTreeCtrl, selectItem_1, 1}}, - {2065, {wxTreeCtrl, selectItem_2, 2}}, - {2066, {wxTreeCtrl, setIndent, 1}}, - {2067, {wxTreeCtrl, setImageList, 1}}, - {2068, {wxTreeCtrl, setItemBackgroundColour, 2}}, - {2069, {wxTreeCtrl, setItemBold, 2}}, - {2070, {wxTreeCtrl, setItemData, 2}}, - {2071, {wxTreeCtrl, setItemDropHighlight, 2}}, - {2072, {wxTreeCtrl, setItemFont, 2}}, - {2073, {wxTreeCtrl, setItemHasChildren, 2}}, - {2074, {wxTreeCtrl, setItemImage_2, 2}}, - {2075, {wxTreeCtrl, setItemImage_3, 3}}, - {2076, {wxTreeCtrl, setItemText, 2}}, - {2077, {wxTreeCtrl, setItemTextColour, 2}}, - {2078, {wxTreeCtrl, setStateImageList, 1}}, - {2079, {wxTreeCtrl, setWindowStyle, 1}}, - {2080, {wxTreeCtrl, sortChildren, 1}}, - {2081, {wxTreeCtrl, toggle, 1}}, - {2082, {wxTreeCtrl, toggleItemSelection, 1}}, - {2083, {wxTreeCtrl, unselect, 0}}, - {2084, {wxTreeCtrl, unselectAll, 0}}, - {2085, {wxTreeCtrl, unselectItem, 1}}, - {2086, {wxScrollBar, new_0, 0}}, - {2087, {wxScrollBar, new_3, 3}}, - {2088, {wxScrollBar, destruct, 0}}, - {2089, {wxScrollBar, create, 3}}, - {2090, {wxScrollBar, getRange, 0}}, - {2091, {wxScrollBar, getPageSize, 0}}, - {2092, {wxScrollBar, getThumbPosition, 0}}, - {2093, {wxScrollBar, getThumbSize, 0}}, - {2094, {wxScrollBar, setThumbPosition, 1}}, - {2095, {wxScrollBar, setScrollbar, 5}}, - {2097, {wxSpinButton, new_2, 2}}, - {2098, {wxSpinButton, new_0, 0}}, - {2099, {wxSpinButton, create, 2}}, - {2100, {wxSpinButton, getMax, 0}}, - {2101, {wxSpinButton, getMin, 0}}, - {2102, {wxSpinButton, getValue, 0}}, - {2103, {wxSpinButton, setRange, 2}}, - {2104, {wxSpinButton, setValue, 1}}, - {2105, {wxSpinButton, 'Destroy', undefined}}, - {2106, {wxSpinCtrl, new_0, 0}}, - {2107, {wxSpinCtrl, new_2, 2}}, - {2109, {wxSpinCtrl, create, 2}}, - {2112, {wxSpinCtrl, setValue_1_1, 1}}, - {2113, {wxSpinCtrl, setValue_1_0, 1}}, - {2115, {wxSpinCtrl, getValue, 0}}, - {2117, {wxSpinCtrl, setRange, 2}}, - {2118, {wxSpinCtrl, setSelection, 2}}, - {2120, {wxSpinCtrl, getMin, 0}}, - {2122, {wxSpinCtrl, getMax, 0}}, - {2123, {wxSpinCtrl, 'Destroy', undefined}}, - {2124, {wxStaticText, new_0, 0}}, - {2125, {wxStaticText, new_4, 4}}, - {2126, {wxStaticText, create, 4}}, - {2127, {wxStaticText, getLabel, 0}}, - {2128, {wxStaticText, setLabel, 1}}, - {2129, {wxStaticText, wrap, 1}}, - {2130, {wxStaticText, 'Destroy', undefined}}, - {2131, {wxStaticBitmap, new_0, 0}}, - {2132, {wxStaticBitmap, new_4, 4}}, - {2133, {wxStaticBitmap, create, 4}}, - {2134, {wxStaticBitmap, getBitmap, 0}}, - {2135, {wxStaticBitmap, setBitmap, 1}}, - {2136, {wxStaticBitmap, 'Destroy', undefined}}, - {2137, {wxRadioBox, new, 7}}, - {2139, {wxRadioBox, destruct, 0}}, - {2140, {wxRadioBox, create, 7}}, - {2141, {wxRadioBox, enable_2, 2}}, - {2142, {wxRadioBox, enable_1, 1}}, - {2143, {wxRadioBox, getSelection, 0}}, - {2144, {wxRadioBox, getString, 1}}, - {2145, {wxRadioBox, setSelection, 1}}, - {2146, {wxRadioBox, show_2, 2}}, - {2147, {wxRadioBox, show_1, 1}}, - {2148, {wxRadioBox, getColumnCount, 0}}, - {2149, {wxRadioBox, getItemHelpText, 1}}, - {2150, {wxRadioBox, getItemToolTip, 1}}, - {2152, {wxRadioBox, getItemFromPoint, 1}}, - {2153, {wxRadioBox, getRowCount, 0}}, - {2154, {wxRadioBox, isItemEnabled, 1}}, - {2155, {wxRadioBox, isItemShown, 1}}, - {2156, {wxRadioBox, setItemHelpText, 2}}, - {2157, {wxRadioBox, setItemToolTip, 2}}, - {2158, {wxRadioButton, new_0, 0}}, - {2159, {wxRadioButton, new_4, 4}}, - {2160, {wxRadioButton, create, 4}}, - {2161, {wxRadioButton, getValue, 0}}, - {2162, {wxRadioButton, setValue, 1}}, - {2163, {wxRadioButton, 'Destroy', undefined}}, - {2165, {wxSlider, new_6, 6}}, - {2166, {wxSlider, new_0, 0}}, - {2167, {wxSlider, create, 6}}, - {2168, {wxSlider, getLineSize, 0}}, - {2169, {wxSlider, getMax, 0}}, - {2170, {wxSlider, getMin, 0}}, - {2171, {wxSlider, getPageSize, 0}}, - {2172, {wxSlider, getThumbLength, 0}}, - {2173, {wxSlider, getValue, 0}}, - {2174, {wxSlider, setLineSize, 1}}, - {2175, {wxSlider, setPageSize, 1}}, - {2176, {wxSlider, setRange, 2}}, - {2177, {wxSlider, setThumbLength, 1}}, - {2178, {wxSlider, setValue, 1}}, - {2179, {wxSlider, 'Destroy', undefined}}, - {2181, {wxDialog, new_4, 4}}, - {2182, {wxDialog, new_0, 0}}, - {2184, {wxDialog, destruct, 0}}, - {2185, {wxDialog, create, 4}}, - {2186, {wxDialog, createButtonSizer, 1}}, - {2187, {wxDialog, createStdDialogButtonSizer, 1}}, - {2188, {wxDialog, endModal, 1}}, - {2189, {wxDialog, getAffirmativeId, 0}}, - {2190, {wxDialog, getReturnCode, 0}}, - {2191, {wxDialog, isModal, 0}}, - {2192, {wxDialog, setAffirmativeId, 1}}, - {2193, {wxDialog, setReturnCode, 1}}, - {2194, {wxDialog, show, 1}}, - {2195, {wxDialog, showModal, 0}}, - {2196, {wxColourDialog, new_0, 0}}, - {2197, {wxColourDialog, new_2, 2}}, - {2198, {wxColourDialog, destruct, 0}}, - {2199, {wxColourDialog, create, 2}}, - {2200, {wxColourDialog, getColourData, 0}}, - {2201, {wxColourData, new_0, 0}}, - {2202, {wxColourData, new_1, 1}}, - {2203, {wxColourData, destruct, 0}}, - {2204, {wxColourData, getChooseFull, 0}}, - {2205, {wxColourData, getColour, 0}}, - {2207, {wxColourData, getCustomColour, 1}}, - {2208, {wxColourData, setChooseFull, 1}}, - {2209, {wxColourData, setColour, 1}}, - {2210, {wxColourData, setCustomColour, 2}}, - {2211, {wxPalette, new_0, 0}}, - {2212, {wxPalette, new_4, 4}}, - {2214, {wxPalette, destruct, 0}}, - {2215, {wxPalette, create, 4}}, - {2216, {wxPalette, getColoursCount, 0}}, - {2217, {wxPalette, getPixel, 3}}, - {2218, {wxPalette, getRGB, 4}}, - {2219, {wxPalette, isOk, 0}}, - {2223, {wxDirDialog, new, 2}}, - {2224, {wxDirDialog, destruct, 0}}, - {2225, {wxDirDialog, getPath, 0}}, - {2226, {wxDirDialog, getMessage, 0}}, - {2227, {wxDirDialog, setMessage, 1}}, - {2228, {wxDirDialog, setPath, 1}}, - {2232, {wxFileDialog, new, 2}}, - {2233, {wxFileDialog, destruct, 0}}, - {2234, {wxFileDialog, getDirectory, 0}}, - {2235, {wxFileDialog, getFilename, 0}}, - {2236, {wxFileDialog, getFilenames, 1}}, - {2237, {wxFileDialog, getFilterIndex, 0}}, - {2238, {wxFileDialog, getMessage, 0}}, - {2239, {wxFileDialog, getPath, 0}}, - {2240, {wxFileDialog, getPaths, 1}}, - {2241, {wxFileDialog, getWildcard, 0}}, - {2242, {wxFileDialog, setDirectory, 1}}, - {2243, {wxFileDialog, setFilename, 1}}, - {2244, {wxFileDialog, setFilterIndex, 1}}, - {2245, {wxFileDialog, setMessage, 1}}, - {2246, {wxFileDialog, setPath, 1}}, - {2247, {wxFileDialog, setWildcard, 1}}, - {2248, {wxPickerBase, setInternalMargin, 1}}, - {2249, {wxPickerBase, getInternalMargin, 0}}, - {2250, {wxPickerBase, setTextCtrlProportion, 1}}, - {2251, {wxPickerBase, setPickerCtrlProportion, 1}}, - {2252, {wxPickerBase, getTextCtrlProportion, 0}}, - {2253, {wxPickerBase, getPickerCtrlProportion, 0}}, - {2254, {wxPickerBase, hasTextCtrl, 0}}, - {2255, {wxPickerBase, getTextCtrl, 0}}, - {2256, {wxPickerBase, isTextCtrlGrowable, 0}}, - {2257, {wxPickerBase, setPickerCtrlGrowable, 1}}, - {2258, {wxPickerBase, setTextCtrlGrowable, 1}}, - {2259, {wxPickerBase, isPickerCtrlGrowable, 0}}, - {2260, {wxFilePickerCtrl, new_0, 0}}, - {2261, {wxFilePickerCtrl, new_3, 3}}, - {2262, {wxFilePickerCtrl, create, 3}}, - {2263, {wxFilePickerCtrl, getPath, 0}}, - {2264, {wxFilePickerCtrl, setPath, 1}}, - {2265, {wxFilePickerCtrl, 'Destroy', undefined}}, - {2266, {wxDirPickerCtrl, new_0, 0}}, - {2267, {wxDirPickerCtrl, new_3, 3}}, - {2268, {wxDirPickerCtrl, create, 3}}, - {2269, {wxDirPickerCtrl, getPath, 0}}, - {2270, {wxDirPickerCtrl, setPath, 1}}, - {2271, {wxDirPickerCtrl, 'Destroy', undefined}}, - {2272, {wxColourPickerCtrl, new_0, 0}}, - {2273, {wxColourPickerCtrl, new_3, 3}}, - {2274, {wxColourPickerCtrl, create, 3}}, - {2275, {wxColourPickerCtrl, getColour, 0}}, - {2276, {wxColourPickerCtrl, setColour_1_1, 1}}, - {2277, {wxColourPickerCtrl, setColour_1_0, 1}}, - {2278, {wxColourPickerCtrl, 'Destroy', undefined}}, - {2279, {wxDatePickerCtrl, new_0, 0}}, - {2280, {wxDatePickerCtrl, new_3, 3}}, - {2281, {wxDatePickerCtrl, getRange, 2}}, - {2282, {wxDatePickerCtrl, getValue, 0}}, - {2283, {wxDatePickerCtrl, setRange, 2}}, - {2284, {wxDatePickerCtrl, setValue, 1}}, - {2285, {wxDatePickerCtrl, 'Destroy', undefined}}, - {2286, {wxFontPickerCtrl, new_0, 0}}, - {2287, {wxFontPickerCtrl, new_3, 3}}, - {2288, {wxFontPickerCtrl, create, 3}}, - {2289, {wxFontPickerCtrl, getSelectedFont, 0}}, - {2290, {wxFontPickerCtrl, setSelectedFont, 1}}, - {2291, {wxFontPickerCtrl, getMaxPointSize, 0}}, - {2292, {wxFontPickerCtrl, setMaxPointSize, 1}}, - {2293, {wxFontPickerCtrl, 'Destroy', undefined}}, - {2296, {wxFindReplaceDialog, new_0, 0}}, - {2297, {wxFindReplaceDialog, new_4, 4}}, - {2298, {wxFindReplaceDialog, destruct, 0}}, - {2299, {wxFindReplaceDialog, create, 4}}, - {2300, {wxFindReplaceDialog, getData, 0}}, - {2301, {wxFindReplaceData, new_0, 0}}, - {2302, {wxFindReplaceData, new_1, 1}}, - {2303, {wxFindReplaceData, getFindString, 0}}, - {2304, {wxFindReplaceData, getReplaceString, 0}}, - {2305, {wxFindReplaceData, getFlags, 0}}, - {2306, {wxFindReplaceData, setFlags, 1}}, - {2307, {wxFindReplaceData, setFindString, 1}}, - {2308, {wxFindReplaceData, setReplaceString, 1}}, - {2309, {wxFindReplaceData, 'Destroy', undefined}}, - {2310, {wxMultiChoiceDialog, new_0, 0}}, - {2312, {wxMultiChoiceDialog, new_5, 5}}, - {2313, {wxMultiChoiceDialog, getSelections, 0}}, - {2314, {wxMultiChoiceDialog, setSelections, 1}}, - {2315, {wxMultiChoiceDialog, 'Destroy', undefined}}, - {2316, {wxSingleChoiceDialog, new_0, 0}}, - {2318, {wxSingleChoiceDialog, new_5, 5}}, - {2319, {wxSingleChoiceDialog, getSelection, 0}}, - {2320, {wxSingleChoiceDialog, getStringSelection, 0}}, - {2321, {wxSingleChoiceDialog, setSelection, 1}}, - {2322, {wxSingleChoiceDialog, 'Destroy', undefined}}, - {2323, {wxTextEntryDialog, new, 3}}, - {2324, {wxTextEntryDialog, getValue, 0}}, - {2325, {wxTextEntryDialog, setValue, 1}}, - {2326, {wxTextEntryDialog, 'Destroy', undefined}}, - {2327, {wxPasswordEntryDialog, new, 3}}, - {2328, {wxPasswordEntryDialog, 'Destroy', undefined}}, - {2329, {wxFontData, new_0, 0}}, - {2330, {wxFontData, new_1, 1}}, - {2331, {wxFontData, destruct, 0}}, - {2332, {wxFontData, enableEffects, 1}}, - {2333, {wxFontData, getAllowSymbols, 0}}, - {2334, {wxFontData, getColour, 0}}, - {2335, {wxFontData, getChosenFont, 0}}, - {2336, {wxFontData, getEnableEffects, 0}}, - {2337, {wxFontData, getInitialFont, 0}}, - {2338, {wxFontData, getShowHelp, 0}}, - {2339, {wxFontData, setAllowSymbols, 1}}, - {2340, {wxFontData, setChosenFont, 1}}, - {2341, {wxFontData, setColour, 1}}, - {2342, {wxFontData, setInitialFont, 1}}, - {2343, {wxFontData, setRange, 2}}, - {2344, {wxFontData, setShowHelp, 1}}, - {2348, {wxFontDialog, new_0, 0}}, - {2350, {wxFontDialog, new_2, 2}}, - {2352, {wxFontDialog, create, 2}}, - {2353, {wxFontDialog, getFontData, 0}}, - {2355, {wxFontDialog, 'Destroy', undefined}}, - {2356, {wxProgressDialog, new, 3}}, - {2357, {wxProgressDialog, destruct, 0}}, - {2358, {wxProgressDialog, resume, 0}}, - {2359, {wxProgressDialog, update_2, 2}}, - {2360, {wxProgressDialog, update_0, 0}}, - {2361, {wxMessageDialog, new, 3}}, - {2362, {wxMessageDialog, destruct, 0}}, - {2363, {wxPageSetupDialog, new, 2}}, - {2364, {wxPageSetupDialog, destruct, 0}}, - {2365, {wxPageSetupDialog, getPageSetupData, 0}}, - {2366, {wxPageSetupDialog, showModal, 0}}, - {2367, {wxPageSetupDialogData, new_0, 0}}, - {2368, {wxPageSetupDialogData, new_1_0, 1}}, - {2369, {wxPageSetupDialogData, new_1_1, 1}}, - {2370, {wxPageSetupDialogData, destruct, 0}}, - {2371, {wxPageSetupDialogData, enableHelp, 1}}, - {2372, {wxPageSetupDialogData, enableMargins, 1}}, - {2373, {wxPageSetupDialogData, enableOrientation, 1}}, - {2374, {wxPageSetupDialogData, enablePaper, 1}}, - {2375, {wxPageSetupDialogData, enablePrinter, 1}}, - {2376, {wxPageSetupDialogData, getDefaultMinMargins, 0}}, - {2377, {wxPageSetupDialogData, getEnableMargins, 0}}, - {2378, {wxPageSetupDialogData, getEnableOrientation, 0}}, - {2379, {wxPageSetupDialogData, getEnablePaper, 0}}, - {2380, {wxPageSetupDialogData, getEnablePrinter, 0}}, - {2381, {wxPageSetupDialogData, getEnableHelp, 0}}, - {2382, {wxPageSetupDialogData, getDefaultInfo, 0}}, - {2383, {wxPageSetupDialogData, getMarginTopLeft, 0}}, - {2384, {wxPageSetupDialogData, getMarginBottomRight, 0}}, - {2385, {wxPageSetupDialogData, getMinMarginTopLeft, 0}}, - {2386, {wxPageSetupDialogData, getMinMarginBottomRight, 0}}, - {2387, {wxPageSetupDialogData, getPaperId, 0}}, - {2388, {wxPageSetupDialogData, getPaperSize, 0}}, - {2390, {wxPageSetupDialogData, getPrintData, 0}}, - {2391, {wxPageSetupDialogData, isOk, 0}}, - {2392, {wxPageSetupDialogData, setDefaultInfo, 1}}, - {2393, {wxPageSetupDialogData, setDefaultMinMargins, 1}}, - {2394, {wxPageSetupDialogData, setMarginTopLeft, 1}}, - {2395, {wxPageSetupDialogData, setMarginBottomRight, 1}}, - {2396, {wxPageSetupDialogData, setMinMarginTopLeft, 1}}, - {2397, {wxPageSetupDialogData, setMinMarginBottomRight, 1}}, - {2398, {wxPageSetupDialogData, setPaperId, 1}}, - {2399, {wxPageSetupDialogData, setPaperSize_1_1, 1}}, - {2400, {wxPageSetupDialogData, setPaperSize_1_0, 1}}, - {2401, {wxPageSetupDialogData, setPrintData, 1}}, - {2402, {wxPrintDialog, new_2_0, 2}}, - {2403, {wxPrintDialog, new_2_1, 2}}, - {2404, {wxPrintDialog, destruct, 0}}, - {2405, {wxPrintDialog, getPrintDialogData, 0}}, - {2406, {wxPrintDialog, getPrintDC, 0}}, - {2407, {wxPrintDialogData, new_0, 0}}, - {2408, {wxPrintDialogData, new_1_1, 1}}, - {2409, {wxPrintDialogData, new_1_0, 1}}, - {2410, {wxPrintDialogData, destruct, 0}}, - {2411, {wxPrintDialogData, enableHelp, 1}}, - {2412, {wxPrintDialogData, enablePageNumbers, 1}}, - {2413, {wxPrintDialogData, enablePrintToFile, 1}}, - {2414, {wxPrintDialogData, enableSelection, 1}}, - {2415, {wxPrintDialogData, getAllPages, 0}}, - {2416, {wxPrintDialogData, getCollate, 0}}, - {2417, {wxPrintDialogData, getFromPage, 0}}, - {2418, {wxPrintDialogData, getMaxPage, 0}}, - {2419, {wxPrintDialogData, getMinPage, 0}}, - {2420, {wxPrintDialogData, getNoCopies, 0}}, - {2421, {wxPrintDialogData, getPrintData, 0}}, - {2422, {wxPrintDialogData, getPrintToFile, 0}}, - {2423, {wxPrintDialogData, getSelection, 0}}, - {2424, {wxPrintDialogData, getToPage, 0}}, - {2425, {wxPrintDialogData, isOk, 0}}, - {2426, {wxPrintDialogData, setCollate, 1}}, - {2427, {wxPrintDialogData, setFromPage, 1}}, - {2428, {wxPrintDialogData, setMaxPage, 1}}, - {2429, {wxPrintDialogData, setMinPage, 1}}, - {2430, {wxPrintDialogData, setNoCopies, 1}}, - {2431, {wxPrintDialogData, setPrintData, 1}}, - {2432, {wxPrintDialogData, setPrintToFile, 1}}, - {2433, {wxPrintDialogData, setSelection, 1}}, - {2434, {wxPrintDialogData, setToPage, 1}}, - {2435, {wxPrintData, new_0, 0}}, - {2436, {wxPrintData, new_1, 1}}, - {2437, {wxPrintData, destruct, 0}}, - {2438, {wxPrintData, getCollate, 0}}, - {2439, {wxPrintData, getBin, 0}}, - {2440, {wxPrintData, getColour, 0}}, - {2441, {wxPrintData, getDuplex, 0}}, - {2442, {wxPrintData, getNoCopies, 0}}, - {2443, {wxPrintData, getOrientation, 0}}, - {2444, {wxPrintData, getPaperId, 0}}, - {2445, {wxPrintData, getPrinterName, 0}}, - {2446, {wxPrintData, getQuality, 0}}, - {2447, {wxPrintData, isOk, 0}}, - {2448, {wxPrintData, setBin, 1}}, - {2449, {wxPrintData, setCollate, 1}}, - {2450, {wxPrintData, setColour, 1}}, - {2451, {wxPrintData, setDuplex, 1}}, - {2452, {wxPrintData, setNoCopies, 1}}, - {2453, {wxPrintData, setOrientation, 1}}, - {2454, {wxPrintData, setPaperId, 1}}, - {2455, {wxPrintData, setPrinterName, 1}}, - {2456, {wxPrintData, setQuality, 1}}, - {2459, {wxPrintPreview, new_2, 2}}, - {2460, {wxPrintPreview, new_3, 3}}, - {2462, {wxPrintPreview, destruct, 0}}, - {2463, {wxPrintPreview, getCanvas, 0}}, - {2464, {wxPrintPreview, getCurrentPage, 0}}, - {2465, {wxPrintPreview, getFrame, 0}}, - {2466, {wxPrintPreview, getMaxPage, 0}}, - {2467, {wxPrintPreview, getMinPage, 0}}, - {2468, {wxPrintPreview, getPrintout, 0}}, - {2469, {wxPrintPreview, getPrintoutForPrinting, 0}}, - {2470, {wxPrintPreview, isOk, 0}}, - {2471, {wxPrintPreview, paintPage, 2}}, - {2472, {wxPrintPreview, print, 1}}, - {2473, {wxPrintPreview, renderPage, 1}}, - {2474, {wxPrintPreview, setCanvas, 1}}, - {2475, {wxPrintPreview, setCurrentPage, 1}}, - {2476, {wxPrintPreview, setFrame, 1}}, - {2477, {wxPrintPreview, setPrintout, 1}}, - {2478, {wxPrintPreview, setZoom, 1}}, - {2479, {wxPreviewFrame, new, 3}}, - {2480, {wxPreviewFrame, destruct, 0}}, - {2481, {wxPreviewFrame, createControlBar, 0}}, - {2482, {wxPreviewFrame, createCanvas, 0}}, - {2483, {wxPreviewFrame, initialize, 0}}, - {2484, {wxPreviewFrame, onCloseWindow, 1}}, - {2485, {wxPreviewControlBar, new, 4}}, - {2486, {wxPreviewControlBar, destruct, 0}}, - {2487, {wxPreviewControlBar, createButtons, 0}}, - {2488, {wxPreviewControlBar, getPrintPreview, 0}}, - {2489, {wxPreviewControlBar, getZoomControl, 0}}, - {2490, {wxPreviewControlBar, setZoomControl, 1}}, - {2492, {wxPrinter, new, 1}}, - {2493, {wxPrinter, createAbortWindow, 2}}, - {2494, {wxPrinter, getAbort, 0}}, - {2495, {wxPrinter, getLastError, 0}}, - {2496, {wxPrinter, getPrintDialogData, 0}}, - {2497, {wxPrinter, print, 3}}, - {2498, {wxPrinter, printDialog, 1}}, - {2499, {wxPrinter, reportError, 3}}, - {2500, {wxPrinter, setup, 1}}, - {2501, {wxPrinter, 'Destroy', undefined}}, - {2502, {wxXmlResource, new_1, 1}}, - {2503, {wxXmlResource, new_2, 2}}, - {2504, {wxXmlResource, destruct, 0}}, - {2505, {wxXmlResource, attachUnknownControl, 3}}, - {2506, {wxXmlResource, clearHandlers, 0}}, - {2507, {wxXmlResource, compareVersion, 4}}, - {2508, {wxXmlResource, get, 0}}, - {2509, {wxXmlResource, getFlags, 0}}, - {2510, {wxXmlResource, getVersion, 0}}, - {2511, {wxXmlResource, getXRCID, 2}}, - {2512, {wxXmlResource, initAllHandlers, 0}}, - {2513, {wxXmlResource, load, 1}}, - {2514, {wxXmlResource, loadBitmap, 1}}, - {2515, {wxXmlResource, loadDialog_2, 2}}, - {2516, {wxXmlResource, loadDialog_3, 3}}, - {2517, {wxXmlResource, loadFrame_2, 2}}, - {2518, {wxXmlResource, loadFrame_3, 3}}, - {2519, {wxXmlResource, loadIcon, 1}}, - {2520, {wxXmlResource, loadMenu, 1}}, - {2521, {wxXmlResource, loadMenuBar_2, 2}}, - {2522, {wxXmlResource, loadMenuBar_1, 1}}, - {2523, {wxXmlResource, loadPanel_2, 2}}, - {2524, {wxXmlResource, loadPanel_3, 3}}, - {2525, {wxXmlResource, loadToolBar, 2}}, - {2526, {wxXmlResource, set, 1}}, - {2527, {wxXmlResource, setFlags, 1}}, - {2528, {wxXmlResource, unload, 1}}, - {2529, {wxXmlResource, xrcctrl, 3}}, - {2530, {wxHtmlEasyPrinting, new, 1}}, - {2531, {wxHtmlEasyPrinting, destruct, 0}}, - {2532, {wxHtmlEasyPrinting, getPrintData, 0}}, - {2533, {wxHtmlEasyPrinting, getPageSetupData, 0}}, - {2534, {wxHtmlEasyPrinting, previewFile, 1}}, - {2535, {wxHtmlEasyPrinting, previewText, 2}}, - {2536, {wxHtmlEasyPrinting, printFile, 1}}, - {2537, {wxHtmlEasyPrinting, printText, 2}}, - {2538, {wxHtmlEasyPrinting, pageSetup, 0}}, - {2539, {wxHtmlEasyPrinting, setFonts, 3}}, - {2540, {wxHtmlEasyPrinting, setHeader, 2}}, - {2541, {wxHtmlEasyPrinting, setFooter, 2}}, - {2543, {wxGLCanvas, new_2, 2}}, - {2544, {wxGLCanvas, new_3_1, 3}}, - {2545, {wxGLCanvas, new_3_0, 3}}, - {2546, {wxGLCanvas, getContext, 0}}, - {2548, {wxGLCanvas, setCurrent, 0}}, - {2549, {wxGLCanvas, swapBuffers, 0}}, - {2550, {wxGLCanvas, 'Destroy', undefined}}, - {2551, {wxAuiManager, new, 1}}, - {2552, {wxAuiManager, destruct, 0}}, - {2553, {wxAuiManager, addPane_2_1, 2}}, - {2554, {wxAuiManager, addPane_3, 3}}, - {2555, {wxAuiManager, addPane_2_0, 2}}, - {2556, {wxAuiManager, detachPane, 1}}, - {2557, {wxAuiManager, getAllPanes, 0}}, - {2558, {wxAuiManager, getArtProvider, 0}}, - {2559, {wxAuiManager, getDockSizeConstraint, 2}}, - {2560, {wxAuiManager, getFlags, 0}}, - {2561, {wxAuiManager, getManagedWindow, 0}}, - {2562, {wxAuiManager, getManager, 1}}, - {2563, {wxAuiManager, getPane_1_1, 1}}, - {2564, {wxAuiManager, getPane_1_0, 1}}, - {2565, {wxAuiManager, hideHint, 0}}, - {2566, {wxAuiManager, insertPane, 3}}, - {2567, {wxAuiManager, loadPaneInfo, 2}}, - {2568, {wxAuiManager, loadPerspective, 2}}, - {2569, {wxAuiManager, savePaneInfo, 1}}, - {2570, {wxAuiManager, savePerspective, 0}}, - {2571, {wxAuiManager, setArtProvider, 1}}, - {2572, {wxAuiManager, setDockSizeConstraint, 2}}, - {2573, {wxAuiManager, setFlags, 1}}, - {2574, {wxAuiManager, setManagedWindow, 1}}, - {2575, {wxAuiManager, showHint, 1}}, - {2576, {wxAuiManager, unInit, 0}}, - {2577, {wxAuiManager, update, 0}}, - {2578, {wxAuiPaneInfo, new_0, 0}}, - {2579, {wxAuiPaneInfo, new_1, 1}}, - {2580, {wxAuiPaneInfo, destruct, 0}}, - {2581, {wxAuiPaneInfo, bestSize_1, 1}}, - {2582, {wxAuiPaneInfo, bestSize_2, 2}}, - {2583, {wxAuiPaneInfo, bottom, 0}}, - {2584, {wxAuiPaneInfo, bottomDockable, 1}}, - {2585, {wxAuiPaneInfo, caption, 1}}, - {2586, {wxAuiPaneInfo, captionVisible, 1}}, - {2587, {wxAuiPaneInfo, centre, 0}}, - {2588, {wxAuiPaneInfo, centrePane, 0}}, - {2589, {wxAuiPaneInfo, closeButton, 1}}, - {2590, {wxAuiPaneInfo, defaultPane, 0}}, - {2591, {wxAuiPaneInfo, destroyOnClose, 1}}, - {2592, {wxAuiPaneInfo, direction, 1}}, - {2593, {wxAuiPaneInfo, dock, 0}}, - {2594, {wxAuiPaneInfo, dockable, 1}}, - {2595, {wxAuiPaneInfo, fixed, 0}}, - {2596, {wxAuiPaneInfo, float, 0}}, - {2597, {wxAuiPaneInfo, floatable, 1}}, - {2598, {wxAuiPaneInfo, floatingPosition_1, 1}}, - {2599, {wxAuiPaneInfo, floatingPosition_2, 2}}, - {2600, {wxAuiPaneInfo, floatingSize_1, 1}}, - {2601, {wxAuiPaneInfo, floatingSize_2, 2}}, - {2602, {wxAuiPaneInfo, gripper, 1}}, - {2603, {wxAuiPaneInfo, gripperTop, 1}}, - {2604, {wxAuiPaneInfo, hasBorder, 0}}, - {2605, {wxAuiPaneInfo, hasCaption, 0}}, - {2606, {wxAuiPaneInfo, hasCloseButton, 0}}, - {2607, {wxAuiPaneInfo, hasFlag, 1}}, - {2608, {wxAuiPaneInfo, hasGripper, 0}}, - {2609, {wxAuiPaneInfo, hasGripperTop, 0}}, - {2610, {wxAuiPaneInfo, hasMaximizeButton, 0}}, - {2611, {wxAuiPaneInfo, hasMinimizeButton, 0}}, - {2612, {wxAuiPaneInfo, hasPinButton, 0}}, - {2613, {wxAuiPaneInfo, hide, 0}}, - {2614, {wxAuiPaneInfo, isBottomDockable, 0}}, - {2615, {wxAuiPaneInfo, isDocked, 0}}, - {2616, {wxAuiPaneInfo, isFixed, 0}}, - {2617, {wxAuiPaneInfo, isFloatable, 0}}, - {2618, {wxAuiPaneInfo, isFloating, 0}}, - {2619, {wxAuiPaneInfo, isLeftDockable, 0}}, - {2620, {wxAuiPaneInfo, isMovable, 0}}, - {2621, {wxAuiPaneInfo, isOk, 0}}, - {2622, {wxAuiPaneInfo, isResizable, 0}}, - {2623, {wxAuiPaneInfo, isRightDockable, 0}}, - {2624, {wxAuiPaneInfo, isShown, 0}}, - {2625, {wxAuiPaneInfo, isToolbar, 0}}, - {2626, {wxAuiPaneInfo, isTopDockable, 0}}, - {2627, {wxAuiPaneInfo, layer, 1}}, - {2628, {wxAuiPaneInfo, left, 0}}, - {2629, {wxAuiPaneInfo, leftDockable, 1}}, - {2630, {wxAuiPaneInfo, maxSize_1, 1}}, - {2631, {wxAuiPaneInfo, maxSize_2, 2}}, - {2632, {wxAuiPaneInfo, maximizeButton, 1}}, - {2633, {wxAuiPaneInfo, minSize_1, 1}}, - {2634, {wxAuiPaneInfo, minSize_2, 2}}, - {2635, {wxAuiPaneInfo, minimizeButton, 1}}, - {2636, {wxAuiPaneInfo, movable, 1}}, - {2637, {wxAuiPaneInfo, name, 1}}, - {2638, {wxAuiPaneInfo, paneBorder, 1}}, - {2639, {wxAuiPaneInfo, pinButton, 1}}, - {2640, {wxAuiPaneInfo, position, 1}}, - {2641, {wxAuiPaneInfo, resizable, 1}}, - {2642, {wxAuiPaneInfo, right, 0}}, - {2643, {wxAuiPaneInfo, rightDockable, 1}}, - {2644, {wxAuiPaneInfo, row, 1}}, - {2645, {wxAuiPaneInfo, safeSet, 1}}, - {2646, {wxAuiPaneInfo, setFlag, 2}}, - {2647, {wxAuiPaneInfo, show, 1}}, - {2648, {wxAuiPaneInfo, toolbarPane, 0}}, - {2649, {wxAuiPaneInfo, top, 0}}, - {2650, {wxAuiPaneInfo, topDockable, 1}}, - {2651, {wxAuiPaneInfo, window, 1}}, - {2652, {wxAuiNotebook, new_0, 0}}, - {2653, {wxAuiNotebook, new_2, 2}}, - {2654, {wxAuiNotebook, addPage, 3}}, - {2655, {wxAuiNotebook, create, 2}}, - {2656, {wxAuiNotebook, deletePage, 1}}, - {2657, {wxAuiNotebook, getArtProvider, 0}}, - {2658, {wxAuiNotebook, getPage, 1}}, - {2659, {wxAuiNotebook, getPageBitmap, 1}}, - {2660, {wxAuiNotebook, getPageCount, 0}}, - {2661, {wxAuiNotebook, getPageIndex, 1}}, - {2662, {wxAuiNotebook, getPageText, 1}}, - {2663, {wxAuiNotebook, getSelection, 0}}, - {2664, {wxAuiNotebook, insertPage, 4}}, - {2665, {wxAuiNotebook, removePage, 1}}, - {2666, {wxAuiNotebook, setArtProvider, 1}}, - {2667, {wxAuiNotebook, setFont, 1}}, - {2668, {wxAuiNotebook, setPageBitmap, 2}}, - {2669, {wxAuiNotebook, setPageText, 2}}, - {2670, {wxAuiNotebook, setSelection, 1}}, - {2671, {wxAuiNotebook, setTabCtrlHeight, 1}}, - {2672, {wxAuiNotebook, setUniformBitmapSize, 1}}, - {2673, {wxAuiNotebook, 'Destroy', undefined}}, - {2674, {wxMDIParentFrame, new_0, 0}}, - {2675, {wxMDIParentFrame, new_4, 4}}, - {2676, {wxMDIParentFrame, destruct, 0}}, - {2677, {wxMDIParentFrame, activateNext, 0}}, - {2678, {wxMDIParentFrame, activatePrevious, 0}}, - {2679, {wxMDIParentFrame, arrangeIcons, 0}}, - {2680, {wxMDIParentFrame, cascade, 0}}, - {2681, {wxMDIParentFrame, create, 4}}, - {2682, {wxMDIParentFrame, getActiveChild, 0}}, - {2683, {wxMDIParentFrame, getClientWindow, 0}}, - {2684, {wxMDIParentFrame, tile, 1}}, - {2685, {wxMDIChildFrame, new_0, 0}}, - {2686, {wxMDIChildFrame, new_4, 4}}, - {2687, {wxMDIChildFrame, destruct, 0}}, - {2688, {wxMDIChildFrame, activate, 0}}, - {2689, {wxMDIChildFrame, create, 4}}, - {2690, {wxMDIChildFrame, maximize, 1}}, - {2691, {wxMDIChildFrame, restore, 0}}, - {2692, {wxMDIClientWindow, new_0, 0}}, - {2693, {wxMDIClientWindow, new_2, 2}}, - {2694, {wxMDIClientWindow, destruct, 0}}, - {2695, {wxMDIClientWindow, createClient, 2}}, - {2696, {wxLayoutAlgorithm, new, 0}}, - {2697, {wxLayoutAlgorithm, layoutFrame, 2}}, - {2698, {wxLayoutAlgorithm, layoutMDIFrame, 2}}, - {2699, {wxLayoutAlgorithm, layoutWindow, 2}}, - {2700, {wxLayoutAlgorithm, 'Destroy', undefined}}, - {2701, {wxEvent, getId, 0}}, - {2702, {wxEvent, getSkipped, 0}}, - {2703, {wxEvent, getTimestamp, 0}}, - {2704, {wxEvent, isCommandEvent, 0}}, - {2705, {wxEvent, resumePropagation, 1}}, - {2706, {wxEvent, shouldPropagate, 0}}, - {2707, {wxEvent, skip, 1}}, - {2708, {wxEvent, stopPropagation, 0}}, - {2709, {wxCommandEvent, getClientData, 0}}, - {2710, {wxCommandEvent, getExtraLong, 0}}, - {2711, {wxCommandEvent, getInt, 0}}, - {2712, {wxCommandEvent, getSelection, 0}}, - {2713, {wxCommandEvent, getString, 0}}, - {2714, {wxCommandEvent, isChecked, 0}}, - {2715, {wxCommandEvent, isSelection, 0}}, - {2716, {wxCommandEvent, setInt, 1}}, - {2717, {wxCommandEvent, setString, 1}}, - {2718, {wxScrollEvent, getOrientation, 0}}, - {2719, {wxScrollEvent, getPosition, 0}}, - {2720, {wxScrollWinEvent, getOrientation, 0}}, - {2721, {wxScrollWinEvent, getPosition, 0}}, - {2722, {wxMouseEvent, altDown, 0}}, - {2723, {wxMouseEvent, button, 1}}, - {2724, {wxMouseEvent, buttonDClick, 1}}, - {2725, {wxMouseEvent, buttonDown, 1}}, - {2726, {wxMouseEvent, buttonUp, 1}}, - {2727, {wxMouseEvent, cmdDown, 0}}, - {2728, {wxMouseEvent, controlDown, 0}}, - {2729, {wxMouseEvent, dragging, 0}}, - {2730, {wxMouseEvent, entering, 0}}, - {2731, {wxMouseEvent, getButton, 0}}, - {2734, {wxMouseEvent, getPosition, 0}}, - {2735, {wxMouseEvent, getLogicalPosition, 1}}, - {2736, {wxMouseEvent, getLinesPerAction, 0}}, - {2737, {wxMouseEvent, getWheelRotation, 0}}, - {2738, {wxMouseEvent, getWheelDelta, 0}}, - {2739, {wxMouseEvent, getX, 0}}, - {2740, {wxMouseEvent, getY, 0}}, - {2741, {wxMouseEvent, isButton, 0}}, - {2742, {wxMouseEvent, isPageScroll, 0}}, - {2743, {wxMouseEvent, leaving, 0}}, - {2744, {wxMouseEvent, leftDClick, 0}}, - {2745, {wxMouseEvent, leftDown, 0}}, - {2746, {wxMouseEvent, leftIsDown, 0}}, - {2747, {wxMouseEvent, leftUp, 0}}, - {2748, {wxMouseEvent, metaDown, 0}}, - {2749, {wxMouseEvent, middleDClick, 0}}, - {2750, {wxMouseEvent, middleDown, 0}}, - {2751, {wxMouseEvent, middleIsDown, 0}}, - {2752, {wxMouseEvent, middleUp, 0}}, - {2753, {wxMouseEvent, moving, 0}}, - {2754, {wxMouseEvent, rightDClick, 0}}, - {2755, {wxMouseEvent, rightDown, 0}}, - {2756, {wxMouseEvent, rightIsDown, 0}}, - {2757, {wxMouseEvent, rightUp, 0}}, - {2758, {wxMouseEvent, shiftDown, 0}}, - {2759, {wxSetCursorEvent, getCursor, 0}}, - {2760, {wxSetCursorEvent, getX, 0}}, - {2761, {wxSetCursorEvent, getY, 0}}, - {2762, {wxSetCursorEvent, hasCursor, 0}}, - {2763, {wxSetCursorEvent, setCursor, 1}}, - {2764, {wxKeyEvent, altDown, 0}}, - {2765, {wxKeyEvent, cmdDown, 0}}, - {2766, {wxKeyEvent, controlDown, 0}}, - {2767, {wxKeyEvent, getKeyCode, 0}}, - {2768, {wxKeyEvent, getModifiers, 0}}, - {2771, {wxKeyEvent, getPosition, 0}}, - {2772, {wxKeyEvent, getRawKeyCode, 0}}, - {2773, {wxKeyEvent, getRawKeyFlags, 0}}, - {2774, {wxKeyEvent, getUnicodeKey, 0}}, - {2775, {wxKeyEvent, getX, 0}}, - {2776, {wxKeyEvent, getY, 0}}, - {2777, {wxKeyEvent, hasModifiers, 0}}, - {2778, {wxKeyEvent, metaDown, 0}}, - {2779, {wxKeyEvent, shiftDown, 0}}, - {2780, {wxSizeEvent, getSize, 0}}, - {2781, {wxMoveEvent, getPosition, 0}}, - {2782, {wxEraseEvent, getDC, 0}}, - {2783, {wxFocusEvent, getWindow, 0}}, - {2784, {wxChildFocusEvent, getWindow, 0}}, - {2785, {wxMenuEvent, getMenu, 0}}, - {2786, {wxMenuEvent, getMenuId, 0}}, - {2787, {wxMenuEvent, isPopup, 0}}, - {2788, {wxCloseEvent, canVeto, 0}}, - {2789, {wxCloseEvent, getLoggingOff, 0}}, - {2790, {wxCloseEvent, setCanVeto, 1}}, - {2791, {wxCloseEvent, setLoggingOff, 1}}, - {2792, {wxCloseEvent, veto, 1}}, - {2793, {wxShowEvent, setShow, 1}}, - {2794, {wxShowEvent, getShow, 0}}, - {2795, {wxIconizeEvent, iconized, 0}}, - {2796, {wxJoystickEvent, buttonDown, 1}}, - {2797, {wxJoystickEvent, buttonIsDown, 1}}, - {2798, {wxJoystickEvent, buttonUp, 1}}, - {2799, {wxJoystickEvent, getButtonChange, 0}}, - {2800, {wxJoystickEvent, getButtonState, 0}}, - {2801, {wxJoystickEvent, getJoystick, 0}}, - {2802, {wxJoystickEvent, getPosition, 0}}, - {2803, {wxJoystickEvent, getZPosition, 0}}, - {2804, {wxJoystickEvent, isButton, 0}}, - {2805, {wxJoystickEvent, isMove, 0}}, - {2806, {wxJoystickEvent, isZMove, 0}}, - {2807, {wxUpdateUIEvent, canUpdate, 1}}, - {2808, {wxUpdateUIEvent, check, 1}}, - {2809, {wxUpdateUIEvent, enable, 1}}, - {2810, {wxUpdateUIEvent, show, 1}}, - {2811, {wxUpdateUIEvent, getChecked, 0}}, - {2812, {wxUpdateUIEvent, getEnabled, 0}}, - {2813, {wxUpdateUIEvent, getShown, 0}}, - {2814, {wxUpdateUIEvent, getSetChecked, 0}}, - {2815, {wxUpdateUIEvent, getSetEnabled, 0}}, - {2816, {wxUpdateUIEvent, getSetShown, 0}}, - {2817, {wxUpdateUIEvent, getSetText, 0}}, - {2818, {wxUpdateUIEvent, getText, 0}}, - {2819, {wxUpdateUIEvent, getMode, 0}}, - {2820, {wxUpdateUIEvent, getUpdateInterval, 0}}, - {2821, {wxUpdateUIEvent, resetUpdateTime, 0}}, - {2822, {wxUpdateUIEvent, setMode, 1}}, - {2823, {wxUpdateUIEvent, setText, 1}}, - {2824, {wxUpdateUIEvent, setUpdateInterval, 1}}, - {2825, {wxMouseCaptureChangedEvent, getCapturedWindow, 0}}, - {2826, {wxPaletteChangedEvent, setChangedWindow, 1}}, - {2827, {wxPaletteChangedEvent, getChangedWindow, 0}}, - {2828, {wxQueryNewPaletteEvent, setPaletteRealized, 1}}, - {2829, {wxQueryNewPaletteEvent, getPaletteRealized, 0}}, - {2830, {wxNavigationKeyEvent, getDirection, 0}}, - {2831, {wxNavigationKeyEvent, setDirection, 1}}, - {2832, {wxNavigationKeyEvent, isWindowChange, 0}}, - {2833, {wxNavigationKeyEvent, setWindowChange, 1}}, - {2834, {wxNavigationKeyEvent, isFromTab, 0}}, - {2835, {wxNavigationKeyEvent, setFromTab, 1}}, - {2836, {wxNavigationKeyEvent, getCurrentFocus, 0}}, - {2837, {wxNavigationKeyEvent, setCurrentFocus, 1}}, - {2838, {wxHelpEvent, getOrigin, 0}}, - {2839, {wxHelpEvent, getPosition, 0}}, - {2840, {wxHelpEvent, setOrigin, 1}}, - {2841, {wxHelpEvent, setPosition, 1}}, - {2842, {wxContextMenuEvent, getPosition, 0}}, - {2843, {wxContextMenuEvent, setPosition, 1}}, - {2844, {wxIdleEvent, canSend, 1}}, - {2845, {wxIdleEvent, getMode, 0}}, - {2846, {wxIdleEvent, requestMore, 1}}, - {2847, {wxIdleEvent, moreRequested, 0}}, - {2848, {wxIdleEvent, setMode, 1}}, - {2849, {wxGridEvent, altDown, 0}}, - {2850, {wxGridEvent, controlDown, 0}}, - {2851, {wxGridEvent, getCol, 0}}, - {2852, {wxGridEvent, getPosition, 0}}, - {2853, {wxGridEvent, getRow, 0}}, - {2854, {wxGridEvent, metaDown, 0}}, - {2855, {wxGridEvent, selecting, 0}}, - {2856, {wxGridEvent, shiftDown, 0}}, - {2857, {wxNotifyEvent, allow, 0}}, - {2858, {wxNotifyEvent, isAllowed, 0}}, - {2859, {wxNotifyEvent, veto, 0}}, - {2860, {wxSashEvent, getEdge, 0}}, - {2861, {wxSashEvent, getDragRect, 0}}, - {2862, {wxSashEvent, getDragStatus, 0}}, - {2863, {wxListEvent, getCacheFrom, 0}}, - {2864, {wxListEvent, getCacheTo, 0}}, - {2865, {wxListEvent, getKeyCode, 0}}, - {2866, {wxListEvent, getIndex, 0}}, - {2867, {wxListEvent, getColumn, 0}}, - {2868, {wxListEvent, getPoint, 0}}, - {2869, {wxListEvent, getLabel, 0}}, - {2870, {wxListEvent, getText, 0}}, - {2871, {wxListEvent, getImage, 0}}, - {2872, {wxListEvent, getData, 0}}, - {2873, {wxListEvent, getMask, 0}}, - {2874, {wxListEvent, getItem, 0}}, - {2875, {wxListEvent, isEditCancelled, 0}}, - {2876, {wxDateEvent, getDate, 0}}, - {2877, {wxCalendarEvent, getWeekDay, 0}}, - {2878, {wxFileDirPickerEvent, getPath, 0}}, - {2879, {wxColourPickerEvent, getColour, 0}}, - {2880, {wxFontPickerEvent, getFont, 0}}, - {2881, {wxStyledTextEvent, getPosition, 0}}, - {2882, {wxStyledTextEvent, getKey, 0}}, - {2883, {wxStyledTextEvent, getModifiers, 0}}, - {2884, {wxStyledTextEvent, getModificationType, 0}}, - {2885, {wxStyledTextEvent, getText, 0}}, - {2886, {wxStyledTextEvent, getLength, 0}}, - {2887, {wxStyledTextEvent, getLinesAdded, 0}}, - {2888, {wxStyledTextEvent, getLine, 0}}, - {2889, {wxStyledTextEvent, getFoldLevelNow, 0}}, - {2890, {wxStyledTextEvent, getFoldLevelPrev, 0}}, - {2891, {wxStyledTextEvent, getMargin, 0}}, - {2892, {wxStyledTextEvent, getMessage, 0}}, - {2893, {wxStyledTextEvent, getWParam, 0}}, - {2894, {wxStyledTextEvent, getLParam, 0}}, - {2895, {wxStyledTextEvent, getListType, 0}}, - {2896, {wxStyledTextEvent, getX, 0}}, - {2897, {wxStyledTextEvent, getY, 0}}, - {2898, {wxStyledTextEvent, getDragText, 0}}, - {2899, {wxStyledTextEvent, getDragAllowMove, 0}}, - {2900, {wxStyledTextEvent, getDragResult, 0}}, - {2901, {wxStyledTextEvent, getShift, 0}}, - {2902, {wxStyledTextEvent, getControl, 0}}, - {2903, {wxStyledTextEvent, getAlt, 0}}, - {2904, {utils, getKeyState, 1}}, - {2905, {utils, getMousePosition, 2}}, - {2906, {utils, getMouseState, 0}}, - {2907, {utils, setDetectableAutoRepeat, 1}}, - {2908, {utils, bell, 0}}, - {2909, {utils, findMenuItemId, 3}}, - {2910, {utils, genericFindWindowAtPoint, 1}}, - {2911, {utils, findWindowAtPoint, 1}}, - {2912, {utils, beginBusyCursor, 1}}, - {2913, {utils, endBusyCursor, 0}}, - {2914, {utils, isBusy, 0}}, - {2915, {utils, shutdown, 1}}, - {2916, {utils, shell, 1}}, - {2917, {utils, launchDefaultBrowser, 2}}, - {2918, {utils, getEmailAddress, 0}}, - {2919, {utils, getUserId, 0}}, - {2920, {utils, getHomeDir, 0}}, - {2921, {utils, newId, 0}}, - {2922, {utils, registerId, 1}}, - {2923, {utils, getCurrentId, 0}}, - {2924, {utils, getOsDescription, 0}}, - {2925, {utils, isPlatformLittleEndian, 0}}, - {2926, {utils, isPlatform64Bit, 0}}, - {2927, {wxPrintout, new, 1}}, - {2928, {wxPrintout, destruct, 0}}, - {2929, {wxPrintout, getDC, 0}}, - {2930, {wxPrintout, getPageSizeMM, 2}}, - {2931, {wxPrintout, getPageSizePixels, 2}}, - {2932, {wxPrintout, getPaperRectPixels, 0}}, - {2933, {wxPrintout, getPPIPrinter, 2}}, - {2934, {wxPrintout, getPPIScreen, 2}}, - {2935, {wxPrintout, getTitle, 0}}, - {2936, {wxPrintout, isPreview, 0}}, - {2937, {wxPrintout, fitThisSizeToPaper, 1}}, - {2938, {wxPrintout, fitThisSizeToPage, 1}}, - {2939, {wxPrintout, fitThisSizeToPageMargins, 2}}, - {2940, {wxPrintout, mapScreenSizeToPaper, 0}}, - {2941, {wxPrintout, mapScreenSizeToPage, 0}}, - {2942, {wxPrintout, mapScreenSizeToPageMargins, 1}}, - {2943, {wxPrintout, mapScreenSizeToDevice, 0}}, - {2944, {wxPrintout, getLogicalPaperRect, 0}}, - {2945, {wxPrintout, getLogicalPageRect, 0}}, - {2946, {wxPrintout, getLogicalPageMarginsRect, 1}}, - {2947, {wxPrintout, setLogicalOrigin, 2}}, - {2948, {wxPrintout, offsetLogicalOrigin, 2}}, - {2949, {wxStyledTextCtrl, new_2, 2}}, - {2950, {wxStyledTextCtrl, new_0, 0}}, - {2951, {wxStyledTextCtrl, destruct, 0}}, - {2952, {wxStyledTextCtrl, create, 2}}, - {2953, {wxStyledTextCtrl, addText, 1}}, - {2954, {wxStyledTextCtrl, addStyledText, 1}}, - {2955, {wxStyledTextCtrl, insertText, 2}}, - {2956, {wxStyledTextCtrl, clearAll, 0}}, - {2957, {wxStyledTextCtrl, clearDocumentStyle, 0}}, - {2958, {wxStyledTextCtrl, getLength, 0}}, - {2959, {wxStyledTextCtrl, getCharAt, 1}}, - {2960, {wxStyledTextCtrl, getCurrentPos, 0}}, - {2961, {wxStyledTextCtrl, getAnchor, 0}}, - {2962, {wxStyledTextCtrl, getStyleAt, 1}}, - {2963, {wxStyledTextCtrl, redo, 0}}, - {2964, {wxStyledTextCtrl, setUndoCollection, 1}}, - {2965, {wxStyledTextCtrl, selectAll, 0}}, - {2966, {wxStyledTextCtrl, setSavePoint, 0}}, - {2967, {wxStyledTextCtrl, getStyledText, 2}}, - {2968, {wxStyledTextCtrl, canRedo, 0}}, - {2969, {wxStyledTextCtrl, markerLineFromHandle, 1}}, - {2970, {wxStyledTextCtrl, markerDeleteHandle, 1}}, - {2971, {wxStyledTextCtrl, getUndoCollection, 0}}, - {2972, {wxStyledTextCtrl, getViewWhiteSpace, 0}}, - {2973, {wxStyledTextCtrl, setViewWhiteSpace, 1}}, - {2974, {wxStyledTextCtrl, positionFromPoint, 1}}, - {2975, {wxStyledTextCtrl, positionFromPointClose, 2}}, - {2976, {wxStyledTextCtrl, gotoLine, 1}}, - {2977, {wxStyledTextCtrl, gotoPos, 1}}, - {2978, {wxStyledTextCtrl, setAnchor, 1}}, - {2979, {wxStyledTextCtrl, getCurLine, 1}}, - {2980, {wxStyledTextCtrl, getEndStyled, 0}}, - {2981, {wxStyledTextCtrl, convertEOLs, 1}}, - {2982, {wxStyledTextCtrl, getEOLMode, 0}}, - {2983, {wxStyledTextCtrl, setEOLMode, 1}}, - {2984, {wxStyledTextCtrl, startStyling, 2}}, - {2985, {wxStyledTextCtrl, setStyling, 2}}, - {2986, {wxStyledTextCtrl, getBufferedDraw, 0}}, - {2987, {wxStyledTextCtrl, setBufferedDraw, 1}}, - {2988, {wxStyledTextCtrl, setTabWidth, 1}}, - {2989, {wxStyledTextCtrl, getTabWidth, 0}}, - {2990, {wxStyledTextCtrl, setCodePage, 1}}, - {2991, {wxStyledTextCtrl, markerDefine, 3}}, - {2992, {wxStyledTextCtrl, markerSetForeground, 2}}, - {2993, {wxStyledTextCtrl, markerSetBackground, 2}}, - {2994, {wxStyledTextCtrl, markerAdd, 2}}, - {2995, {wxStyledTextCtrl, markerDelete, 2}}, - {2996, {wxStyledTextCtrl, markerDeleteAll, 1}}, - {2997, {wxStyledTextCtrl, markerGet, 1}}, - {2998, {wxStyledTextCtrl, markerNext, 2}}, - {2999, {wxStyledTextCtrl, markerPrevious, 2}}, - {3000, {wxStyledTextCtrl, markerDefineBitmap, 2}}, - {3001, {wxStyledTextCtrl, markerAddSet, 2}}, - {3002, {wxStyledTextCtrl, markerSetAlpha, 2}}, - {3003, {wxStyledTextCtrl, setMarginType, 2}}, - {3004, {wxStyledTextCtrl, getMarginType, 1}}, - {3005, {wxStyledTextCtrl, setMarginWidth, 2}}, - {3006, {wxStyledTextCtrl, getMarginWidth, 1}}, - {3007, {wxStyledTextCtrl, setMarginMask, 2}}, - {3008, {wxStyledTextCtrl, getMarginMask, 1}}, - {3009, {wxStyledTextCtrl, setMarginSensitive, 2}}, - {3010, {wxStyledTextCtrl, getMarginSensitive, 1}}, - {3011, {wxStyledTextCtrl, styleClearAll, 0}}, - {3012, {wxStyledTextCtrl, styleSetForeground, 2}}, - {3013, {wxStyledTextCtrl, styleSetBackground, 2}}, - {3014, {wxStyledTextCtrl, styleSetBold, 2}}, - {3015, {wxStyledTextCtrl, styleSetItalic, 2}}, - {3016, {wxStyledTextCtrl, styleSetSize, 2}}, - {3017, {wxStyledTextCtrl, styleSetFaceName, 2}}, - {3018, {wxStyledTextCtrl, styleSetEOLFilled, 2}}, - {3019, {wxStyledTextCtrl, styleResetDefault, 0}}, - {3020, {wxStyledTextCtrl, styleSetUnderline, 2}}, - {3021, {wxStyledTextCtrl, styleSetCase, 2}}, - {3022, {wxStyledTextCtrl, styleSetHotSpot, 2}}, - {3023, {wxStyledTextCtrl, setSelForeground, 2}}, - {3024, {wxStyledTextCtrl, setSelBackground, 2}}, - {3025, {wxStyledTextCtrl, getSelAlpha, 0}}, - {3026, {wxStyledTextCtrl, setSelAlpha, 1}}, - {3027, {wxStyledTextCtrl, setCaretForeground, 1}}, - {3028, {wxStyledTextCtrl, cmdKeyAssign, 3}}, - {3029, {wxStyledTextCtrl, cmdKeyClear, 2}}, - {3030, {wxStyledTextCtrl, cmdKeyClearAll, 0}}, - {3031, {wxStyledTextCtrl, setStyleBytes, 2}}, - {3032, {wxStyledTextCtrl, styleSetVisible, 2}}, - {3033, {wxStyledTextCtrl, getCaretPeriod, 0}}, - {3034, {wxStyledTextCtrl, setCaretPeriod, 1}}, - {3035, {wxStyledTextCtrl, setWordChars, 1}}, - {3036, {wxStyledTextCtrl, beginUndoAction, 0}}, - {3037, {wxStyledTextCtrl, endUndoAction, 0}}, - {3038, {wxStyledTextCtrl, indicatorSetStyle, 2}}, - {3039, {wxStyledTextCtrl, indicatorGetStyle, 1}}, - {3040, {wxStyledTextCtrl, indicatorSetForeground, 2}}, - {3041, {wxStyledTextCtrl, indicatorGetForeground, 1}}, - {3042, {wxStyledTextCtrl, setWhitespaceForeground, 2}}, - {3043, {wxStyledTextCtrl, setWhitespaceBackground, 2}}, - {3044, {wxStyledTextCtrl, getStyleBits, 0}}, - {3045, {wxStyledTextCtrl, setLineState, 2}}, - {3046, {wxStyledTextCtrl, getLineState, 1}}, - {3047, {wxStyledTextCtrl, getMaxLineState, 0}}, - {3048, {wxStyledTextCtrl, getCaretLineVisible, 0}}, - {3049, {wxStyledTextCtrl, setCaretLineVisible, 1}}, - {3050, {wxStyledTextCtrl, getCaretLineBackground, 0}}, - {3051, {wxStyledTextCtrl, setCaretLineBackground, 1}}, - {3052, {wxStyledTextCtrl, autoCompShow, 2}}, - {3053, {wxStyledTextCtrl, autoCompCancel, 0}}, - {3054, {wxStyledTextCtrl, autoCompActive, 0}}, - {3055, {wxStyledTextCtrl, autoCompPosStart, 0}}, - {3056, {wxStyledTextCtrl, autoCompComplete, 0}}, - {3057, {wxStyledTextCtrl, autoCompStops, 1}}, - {3058, {wxStyledTextCtrl, autoCompSetSeparator, 1}}, - {3059, {wxStyledTextCtrl, autoCompGetSeparator, 0}}, - {3060, {wxStyledTextCtrl, autoCompSelect, 1}}, - {3061, {wxStyledTextCtrl, autoCompSetCancelAtStart, 1}}, - {3062, {wxStyledTextCtrl, autoCompGetCancelAtStart, 0}}, - {3063, {wxStyledTextCtrl, autoCompSetFillUps, 1}}, - {3064, {wxStyledTextCtrl, autoCompSetChooseSingle, 1}}, - {3065, {wxStyledTextCtrl, autoCompGetChooseSingle, 0}}, - {3066, {wxStyledTextCtrl, autoCompSetIgnoreCase, 1}}, - {3067, {wxStyledTextCtrl, autoCompGetIgnoreCase, 0}}, - {3068, {wxStyledTextCtrl, userListShow, 2}}, - {3069, {wxStyledTextCtrl, autoCompSetAutoHide, 1}}, - {3070, {wxStyledTextCtrl, autoCompGetAutoHide, 0}}, - {3071, {wxStyledTextCtrl, autoCompSetDropRestOfWord, 1}}, - {3072, {wxStyledTextCtrl, autoCompGetDropRestOfWord, 0}}, - {3073, {wxStyledTextCtrl, registerImage, 2}}, - {3074, {wxStyledTextCtrl, clearRegisteredImages, 0}}, - {3075, {wxStyledTextCtrl, autoCompGetTypeSeparator, 0}}, - {3076, {wxStyledTextCtrl, autoCompSetTypeSeparator, 1}}, - {3077, {wxStyledTextCtrl, autoCompSetMaxWidth, 1}}, - {3078, {wxStyledTextCtrl, autoCompGetMaxWidth, 0}}, - {3079, {wxStyledTextCtrl, autoCompSetMaxHeight, 1}}, - {3080, {wxStyledTextCtrl, autoCompGetMaxHeight, 0}}, - {3081, {wxStyledTextCtrl, setIndent, 1}}, - {3082, {wxStyledTextCtrl, getIndent, 0}}, - {3083, {wxStyledTextCtrl, setUseTabs, 1}}, - {3084, {wxStyledTextCtrl, getUseTabs, 0}}, - {3085, {wxStyledTextCtrl, setLineIndentation, 2}}, - {3086, {wxStyledTextCtrl, getLineIndentation, 1}}, - {3087, {wxStyledTextCtrl, getLineIndentPosition, 1}}, - {3088, {wxStyledTextCtrl, getColumn, 1}}, - {3089, {wxStyledTextCtrl, setUseHorizontalScrollBar, 1}}, - {3090, {wxStyledTextCtrl, getUseHorizontalScrollBar, 0}}, - {3091, {wxStyledTextCtrl, setIndentationGuides, 1}}, - {3092, {wxStyledTextCtrl, getIndentationGuides, 0}}, - {3093, {wxStyledTextCtrl, setHighlightGuide, 1}}, - {3094, {wxStyledTextCtrl, getHighlightGuide, 0}}, - {3095, {wxStyledTextCtrl, getLineEndPosition, 1}}, - {3096, {wxStyledTextCtrl, getCodePage, 0}}, - {3097, {wxStyledTextCtrl, getCaretForeground, 0}}, - {3098, {wxStyledTextCtrl, getReadOnly, 0}}, - {3099, {wxStyledTextCtrl, setCurrentPos, 1}}, - {3100, {wxStyledTextCtrl, setSelectionStart, 1}}, - {3101, {wxStyledTextCtrl, getSelectionStart, 0}}, - {3102, {wxStyledTextCtrl, setSelectionEnd, 1}}, - {3103, {wxStyledTextCtrl, getSelectionEnd, 0}}, - {3104, {wxStyledTextCtrl, setPrintMagnification, 1}}, - {3105, {wxStyledTextCtrl, getPrintMagnification, 0}}, - {3106, {wxStyledTextCtrl, setPrintColourMode, 1}}, - {3107, {wxStyledTextCtrl, getPrintColourMode, 0}}, - {3108, {wxStyledTextCtrl, findText, 4}}, - {3109, {wxStyledTextCtrl, formatRange, 7}}, - {3110, {wxStyledTextCtrl, getFirstVisibleLine, 0}}, - {3111, {wxStyledTextCtrl, getLine, 1}}, - {3112, {wxStyledTextCtrl, getLineCount, 0}}, - {3113, {wxStyledTextCtrl, setMarginLeft, 1}}, - {3114, {wxStyledTextCtrl, getMarginLeft, 0}}, - {3115, {wxStyledTextCtrl, setMarginRight, 1}}, - {3116, {wxStyledTextCtrl, getMarginRight, 0}}, - {3117, {wxStyledTextCtrl, getModify, 0}}, - {3118, {wxStyledTextCtrl, setSelection, 2}}, - {3119, {wxStyledTextCtrl, getSelectedText, 0}}, - {3120, {wxStyledTextCtrl, getTextRange, 2}}, - {3121, {wxStyledTextCtrl, hideSelection, 1}}, - {3122, {wxStyledTextCtrl, lineFromPosition, 1}}, - {3123, {wxStyledTextCtrl, positionFromLine, 1}}, - {3124, {wxStyledTextCtrl, lineScroll, 2}}, - {3125, {wxStyledTextCtrl, ensureCaretVisible, 0}}, - {3126, {wxStyledTextCtrl, replaceSelection, 1}}, - {3127, {wxStyledTextCtrl, setReadOnly, 1}}, - {3128, {wxStyledTextCtrl, canPaste, 0}}, - {3129, {wxStyledTextCtrl, canUndo, 0}}, - {3130, {wxStyledTextCtrl, emptyUndoBuffer, 0}}, - {3131, {wxStyledTextCtrl, undo, 0}}, - {3132, {wxStyledTextCtrl, cut, 0}}, - {3133, {wxStyledTextCtrl, copy, 0}}, - {3134, {wxStyledTextCtrl, paste, 0}}, - {3135, {wxStyledTextCtrl, clear, 0}}, - {3136, {wxStyledTextCtrl, setText, 1}}, - {3137, {wxStyledTextCtrl, getText, 0}}, - {3138, {wxStyledTextCtrl, getTextLength, 0}}, - {3139, {wxStyledTextCtrl, getOvertype, 0}}, - {3140, {wxStyledTextCtrl, setCaretWidth, 1}}, - {3141, {wxStyledTextCtrl, getCaretWidth, 0}}, - {3142, {wxStyledTextCtrl, setTargetStart, 1}}, - {3143, {wxStyledTextCtrl, getTargetStart, 0}}, - {3144, {wxStyledTextCtrl, setTargetEnd, 1}}, - {3145, {wxStyledTextCtrl, getTargetEnd, 0}}, - {3146, {wxStyledTextCtrl, replaceTarget, 1}}, - {3147, {wxStyledTextCtrl, searchInTarget, 1}}, - {3148, {wxStyledTextCtrl, setSearchFlags, 1}}, - {3149, {wxStyledTextCtrl, getSearchFlags, 0}}, - {3150, {wxStyledTextCtrl, callTipShow, 2}}, - {3151, {wxStyledTextCtrl, callTipCancel, 0}}, - {3152, {wxStyledTextCtrl, callTipActive, 0}}, - {3153, {wxStyledTextCtrl, callTipPosAtStart, 0}}, - {3154, {wxStyledTextCtrl, callTipSetHighlight, 2}}, - {3155, {wxStyledTextCtrl, callTipSetBackground, 1}}, - {3156, {wxStyledTextCtrl, callTipSetForeground, 1}}, - {3157, {wxStyledTextCtrl, callTipSetForegroundHighlight, 1}}, - {3158, {wxStyledTextCtrl, callTipUseStyle, 1}}, - {3159, {wxStyledTextCtrl, visibleFromDocLine, 1}}, - {3160, {wxStyledTextCtrl, docLineFromVisible, 1}}, - {3161, {wxStyledTextCtrl, wrapCount, 1}}, - {3162, {wxStyledTextCtrl, setFoldLevel, 2}}, - {3163, {wxStyledTextCtrl, getFoldLevel, 1}}, - {3164, {wxStyledTextCtrl, getLastChild, 2}}, - {3165, {wxStyledTextCtrl, getFoldParent, 1}}, - {3166, {wxStyledTextCtrl, showLines, 2}}, - {3167, {wxStyledTextCtrl, hideLines, 2}}, - {3168, {wxStyledTextCtrl, getLineVisible, 1}}, - {3169, {wxStyledTextCtrl, setFoldExpanded, 2}}, - {3170, {wxStyledTextCtrl, getFoldExpanded, 1}}, - {3171, {wxStyledTextCtrl, toggleFold, 1}}, - {3172, {wxStyledTextCtrl, ensureVisible, 1}}, - {3173, {wxStyledTextCtrl, setFoldFlags, 1}}, - {3174, {wxStyledTextCtrl, ensureVisibleEnforcePolicy, 1}}, - {3175, {wxStyledTextCtrl, setTabIndents, 1}}, - {3176, {wxStyledTextCtrl, getTabIndents, 0}}, - {3177, {wxStyledTextCtrl, setBackSpaceUnIndents, 1}}, - {3178, {wxStyledTextCtrl, getBackSpaceUnIndents, 0}}, - {3179, {wxStyledTextCtrl, setMouseDwellTime, 1}}, - {3180, {wxStyledTextCtrl, getMouseDwellTime, 0}}, - {3181, {wxStyledTextCtrl, wordStartPosition, 2}}, - {3182, {wxStyledTextCtrl, wordEndPosition, 2}}, - {3183, {wxStyledTextCtrl, setWrapMode, 1}}, - {3184, {wxStyledTextCtrl, getWrapMode, 0}}, - {3185, {wxStyledTextCtrl, setWrapVisualFlags, 1}}, - {3186, {wxStyledTextCtrl, getWrapVisualFlags, 0}}, - {3187, {wxStyledTextCtrl, setWrapVisualFlagsLocation, 1}}, - {3188, {wxStyledTextCtrl, getWrapVisualFlagsLocation, 0}}, - {3189, {wxStyledTextCtrl, setWrapStartIndent, 1}}, - {3190, {wxStyledTextCtrl, getWrapStartIndent, 0}}, - {3191, {wxStyledTextCtrl, setLayoutCache, 1}}, - {3192, {wxStyledTextCtrl, getLayoutCache, 0}}, - {3193, {wxStyledTextCtrl, setScrollWidth, 1}}, - {3194, {wxStyledTextCtrl, getScrollWidth, 0}}, - {3195, {wxStyledTextCtrl, textWidth, 2}}, - {3196, {wxStyledTextCtrl, getEndAtLastLine, 0}}, - {3197, {wxStyledTextCtrl, textHeight, 1}}, - {3198, {wxStyledTextCtrl, setUseVerticalScrollBar, 1}}, - {3199, {wxStyledTextCtrl, getUseVerticalScrollBar, 0}}, - {3200, {wxStyledTextCtrl, appendText, 1}}, - {3201, {wxStyledTextCtrl, getTwoPhaseDraw, 0}}, - {3202, {wxStyledTextCtrl, setTwoPhaseDraw, 1}}, - {3203, {wxStyledTextCtrl, targetFromSelection, 0}}, - {3204, {wxStyledTextCtrl, linesJoin, 0}}, - {3205, {wxStyledTextCtrl, linesSplit, 1}}, - {3206, {wxStyledTextCtrl, setFoldMarginColour, 2}}, - {3207, {wxStyledTextCtrl, setFoldMarginHiColour, 2}}, - {3208, {wxStyledTextCtrl, lineDown, 0}}, - {3209, {wxStyledTextCtrl, lineDownExtend, 0}}, - {3210, {wxStyledTextCtrl, lineUp, 0}}, - {3211, {wxStyledTextCtrl, lineUpExtend, 0}}, - {3212, {wxStyledTextCtrl, charLeft, 0}}, - {3213, {wxStyledTextCtrl, charLeftExtend, 0}}, - {3214, {wxStyledTextCtrl, charRight, 0}}, - {3215, {wxStyledTextCtrl, charRightExtend, 0}}, - {3216, {wxStyledTextCtrl, wordLeft, 0}}, - {3217, {wxStyledTextCtrl, wordLeftExtend, 0}}, - {3218, {wxStyledTextCtrl, wordRight, 0}}, - {3219, {wxStyledTextCtrl, wordRightExtend, 0}}, - {3220, {wxStyledTextCtrl, home, 0}}, - {3221, {wxStyledTextCtrl, homeExtend, 0}}, - {3222, {wxStyledTextCtrl, lineEnd, 0}}, - {3223, {wxStyledTextCtrl, lineEndExtend, 0}}, - {3224, {wxStyledTextCtrl, documentStart, 0}}, - {3225, {wxStyledTextCtrl, documentStartExtend, 0}}, - {3226, {wxStyledTextCtrl, documentEnd, 0}}, - {3227, {wxStyledTextCtrl, documentEndExtend, 0}}, - {3228, {wxStyledTextCtrl, pageUp, 0}}, - {3229, {wxStyledTextCtrl, pageUpExtend, 0}}, - {3230, {wxStyledTextCtrl, pageDown, 0}}, - {3231, {wxStyledTextCtrl, pageDownExtend, 0}}, - {3232, {wxStyledTextCtrl, editToggleOvertype, 0}}, - {3233, {wxStyledTextCtrl, cancel, 0}}, - {3234, {wxStyledTextCtrl, deleteBack, 0}}, - {3235, {wxStyledTextCtrl, tab, 0}}, - {3236, {wxStyledTextCtrl, backTab, 0}}, - {3237, {wxStyledTextCtrl, newLine, 0}}, - {3238, {wxStyledTextCtrl, formFeed, 0}}, - {3239, {wxStyledTextCtrl, vCHome, 0}}, - {3240, {wxStyledTextCtrl, vCHomeExtend, 0}}, - {3241, {wxStyledTextCtrl, zoomIn, 0}}, - {3242, {wxStyledTextCtrl, zoomOut, 0}}, - {3243, {wxStyledTextCtrl, delWordLeft, 0}}, - {3244, {wxStyledTextCtrl, delWordRight, 0}}, - {3245, {wxStyledTextCtrl, lineCut, 0}}, - {3246, {wxStyledTextCtrl, lineDelete, 0}}, - {3247, {wxStyledTextCtrl, lineTranspose, 0}}, - {3248, {wxStyledTextCtrl, lineDuplicate, 0}}, - {3249, {wxStyledTextCtrl, lowerCase, 0}}, - {3250, {wxStyledTextCtrl, upperCase, 0}}, - {3251, {wxStyledTextCtrl, lineScrollDown, 0}}, - {3252, {wxStyledTextCtrl, lineScrollUp, 0}}, - {3253, {wxStyledTextCtrl, deleteBackNotLine, 0}}, - {3254, {wxStyledTextCtrl, homeDisplay, 0}}, - {3255, {wxStyledTextCtrl, homeDisplayExtend, 0}}, - {3256, {wxStyledTextCtrl, lineEndDisplay, 0}}, - {3257, {wxStyledTextCtrl, lineEndDisplayExtend, 0}}, - {3258, {wxStyledTextCtrl, homeWrapExtend, 0}}, - {3259, {wxStyledTextCtrl, lineEndWrap, 0}}, - {3260, {wxStyledTextCtrl, lineEndWrapExtend, 0}}, - {3261, {wxStyledTextCtrl, vCHomeWrap, 0}}, - {3262, {wxStyledTextCtrl, vCHomeWrapExtend, 0}}, - {3263, {wxStyledTextCtrl, lineCopy, 0}}, - {3264, {wxStyledTextCtrl, moveCaretInsideView, 0}}, - {3265, {wxStyledTextCtrl, lineLength, 1}}, - {3266, {wxStyledTextCtrl, braceHighlight, 2}}, - {3267, {wxStyledTextCtrl, braceBadLight, 1}}, - {3268, {wxStyledTextCtrl, braceMatch, 1}}, - {3269, {wxStyledTextCtrl, getViewEOL, 0}}, - {3270, {wxStyledTextCtrl, setViewEOL, 1}}, - {3271, {wxStyledTextCtrl, setModEventMask, 1}}, - {3272, {wxStyledTextCtrl, getEdgeColumn, 0}}, - {3273, {wxStyledTextCtrl, setEdgeColumn, 1}}, - {3274, {wxStyledTextCtrl, getEdgeMode, 0}}, - {3275, {wxStyledTextCtrl, getEdgeColour, 0}}, - {3276, {wxStyledTextCtrl, setEdgeColour, 1}}, - {3277, {wxStyledTextCtrl, searchAnchor, 0}}, - {3278, {wxStyledTextCtrl, searchNext, 2}}, - {3279, {wxStyledTextCtrl, searchPrev, 2}}, - {3280, {wxStyledTextCtrl, linesOnScreen, 0}}, - {3281, {wxStyledTextCtrl, usePopUp, 1}}, - {3282, {wxStyledTextCtrl, selectionIsRectangle, 0}}, - {3283, {wxStyledTextCtrl, setZoom, 1}}, - {3284, {wxStyledTextCtrl, getZoom, 0}}, - {3285, {wxStyledTextCtrl, getModEventMask, 0}}, - {3286, {wxStyledTextCtrl, setSTCFocus, 1}}, - {3287, {wxStyledTextCtrl, getSTCFocus, 0}}, - {3288, {wxStyledTextCtrl, setStatus, 1}}, - {3289, {wxStyledTextCtrl, getStatus, 0}}, - {3290, {wxStyledTextCtrl, setMouseDownCaptures, 1}}, - {3291, {wxStyledTextCtrl, getMouseDownCaptures, 0}}, - {3292, {wxStyledTextCtrl, setSTCCursor, 1}}, - {3293, {wxStyledTextCtrl, getSTCCursor, 0}}, - {3294, {wxStyledTextCtrl, setControlCharSymbol, 1}}, - {3295, {wxStyledTextCtrl, getControlCharSymbol, 0}}, - {3296, {wxStyledTextCtrl, wordPartLeft, 0}}, - {3297, {wxStyledTextCtrl, wordPartLeftExtend, 0}}, - {3298, {wxStyledTextCtrl, wordPartRight, 0}}, - {3299, {wxStyledTextCtrl, wordPartRightExtend, 0}}, - {3300, {wxStyledTextCtrl, setVisiblePolicy, 2}}, - {3301, {wxStyledTextCtrl, delLineLeft, 0}}, - {3302, {wxStyledTextCtrl, delLineRight, 0}}, - {3303, {wxStyledTextCtrl, getXOffset, 0}}, - {3304, {wxStyledTextCtrl, chooseCaretX, 0}}, - {3305, {wxStyledTextCtrl, setXCaretPolicy, 2}}, - {3306, {wxStyledTextCtrl, setYCaretPolicy, 2}}, - {3307, {wxStyledTextCtrl, getPrintWrapMode, 0}}, - {3308, {wxStyledTextCtrl, setHotspotActiveForeground, 2}}, - {3309, {wxStyledTextCtrl, setHotspotActiveBackground, 2}}, - {3310, {wxStyledTextCtrl, setHotspotActiveUnderline, 1}}, - {3311, {wxStyledTextCtrl, setHotspotSingleLine, 1}}, - {3312, {wxStyledTextCtrl, paraDownExtend, 0}}, - {3313, {wxStyledTextCtrl, paraUp, 0}}, - {3314, {wxStyledTextCtrl, paraUpExtend, 0}}, - {3315, {wxStyledTextCtrl, positionBefore, 1}}, - {3316, {wxStyledTextCtrl, positionAfter, 1}}, - {3317, {wxStyledTextCtrl, copyRange, 2}}, - {3318, {wxStyledTextCtrl, copyText, 2}}, - {3319, {wxStyledTextCtrl, setSelectionMode, 1}}, - {3320, {wxStyledTextCtrl, getSelectionMode, 0}}, - {3321, {wxStyledTextCtrl, lineDownRectExtend, 0}}, - {3322, {wxStyledTextCtrl, lineUpRectExtend, 0}}, - {3323, {wxStyledTextCtrl, charLeftRectExtend, 0}}, - {3324, {wxStyledTextCtrl, charRightRectExtend, 0}}, - {3325, {wxStyledTextCtrl, homeRectExtend, 0}}, - {3326, {wxStyledTextCtrl, vCHomeRectExtend, 0}}, - {3327, {wxStyledTextCtrl, lineEndRectExtend, 0}}, - {3328, {wxStyledTextCtrl, pageUpRectExtend, 0}}, - {3329, {wxStyledTextCtrl, pageDownRectExtend, 0}}, - {3330, {wxStyledTextCtrl, stutteredPageUp, 0}}, - {3331, {wxStyledTextCtrl, stutteredPageUpExtend, 0}}, - {3332, {wxStyledTextCtrl, stutteredPageDown, 0}}, - {3333, {wxStyledTextCtrl, stutteredPageDownExtend, 0}}, - {3334, {wxStyledTextCtrl, wordLeftEnd, 0}}, - {3335, {wxStyledTextCtrl, wordLeftEndExtend, 0}}, - {3336, {wxStyledTextCtrl, wordRightEnd, 0}}, - {3337, {wxStyledTextCtrl, wordRightEndExtend, 0}}, - {3338, {wxStyledTextCtrl, setWhitespaceChars, 1}}, - {3339, {wxStyledTextCtrl, setCharsDefault, 0}}, - {3340, {wxStyledTextCtrl, autoCompGetCurrent, 0}}, - {3341, {wxStyledTextCtrl, allocate, 1}}, - {3342, {wxStyledTextCtrl, findColumn, 2}}, - {3343, {wxStyledTextCtrl, getCaretSticky, 0}}, - {3344, {wxStyledTextCtrl, setCaretSticky, 1}}, - {3345, {wxStyledTextCtrl, toggleCaretSticky, 0}}, - {3346, {wxStyledTextCtrl, setPasteConvertEndings, 1}}, - {3347, {wxStyledTextCtrl, getPasteConvertEndings, 0}}, - {3348, {wxStyledTextCtrl, selectionDuplicate, 0}}, - {3349, {wxStyledTextCtrl, setCaretLineBackAlpha, 1}}, - {3350, {wxStyledTextCtrl, getCaretLineBackAlpha, 0}}, - {3351, {wxStyledTextCtrl, startRecord, 0}}, - {3352, {wxStyledTextCtrl, stopRecord, 0}}, - {3353, {wxStyledTextCtrl, setLexer, 1}}, - {3354, {wxStyledTextCtrl, getLexer, 0}}, - {3355, {wxStyledTextCtrl, colourise, 2}}, - {3356, {wxStyledTextCtrl, setProperty, 2}}, - {3357, {wxStyledTextCtrl, setKeyWords, 2}}, - {3358, {wxStyledTextCtrl, setLexerLanguage, 1}}, - {3359, {wxStyledTextCtrl, getProperty, 1}}, - {3360, {wxStyledTextCtrl, getStyleBitsNeeded, 0}}, - {3361, {wxStyledTextCtrl, getCurrentLine, 0}}, - {3362, {wxStyledTextCtrl, styleSetSpec, 2}}, - {3363, {wxStyledTextCtrl, styleSetFont, 2}}, - {3364, {wxStyledTextCtrl, styleSetFontAttr, 7}}, - {3365, {wxStyledTextCtrl, styleSetCharacterSet, 2}}, - {3366, {wxStyledTextCtrl, styleSetFontEncoding, 2}}, - {3367, {wxStyledTextCtrl, cmdKeyExecute, 1}}, - {3368, {wxStyledTextCtrl, setMargins, 2}}, - {3369, {wxStyledTextCtrl, getSelection, 2}}, - {3370, {wxStyledTextCtrl, pointFromPosition, 1}}, - {3371, {wxStyledTextCtrl, scrollToLine, 1}}, - {3372, {wxStyledTextCtrl, scrollToColumn, 1}}, - {3373, {wxStyledTextCtrl, sendMsg, 2}}, - {3374, {wxStyledTextCtrl, setVScrollBar, 1}}, - {3375, {wxStyledTextCtrl, setHScrollBar, 1}}, - {3376, {wxStyledTextCtrl, getLastKeydownProcessed, 0}}, - {3377, {wxStyledTextCtrl, setLastKeydownProcessed, 1}}, - {3378, {wxStyledTextCtrl, saveFile, 1}}, - {3379, {wxStyledTextCtrl, loadFile, 1}}, - {3380, {wxStyledTextCtrl, doDragOver, 3}}, - {3381, {wxStyledTextCtrl, doDropText, 3}}, - {3382, {wxStyledTextCtrl, getUseAntiAliasing, 0}}, - {3383, {wxStyledTextCtrl, addTextRaw, 1}}, - {3384, {wxStyledTextCtrl, insertTextRaw, 2}}, - {3385, {wxStyledTextCtrl, getCurLineRaw, 1}}, - {3386, {wxStyledTextCtrl, getLineRaw, 1}}, - {3387, {wxStyledTextCtrl, getSelectedTextRaw, 0}}, - {3388, {wxStyledTextCtrl, getTextRangeRaw, 2}}, - {3389, {wxStyledTextCtrl, setTextRaw, 1}}, - {3390, {wxStyledTextCtrl, getTextRaw, 0}}, - {3391, {wxStyledTextCtrl, appendTextRaw, 1}}, - {3392, {wxArtProvider, getBitmap, 2}}, - {3393, {wxArtProvider, getIcon, 2}}, - {3394, {wxTreeEvent, getKeyCode, 0}}, - {3395, {wxTreeEvent, getItem, 0}}, - {3396, {wxTreeEvent, getKeyEvent, 0}}, - {3397, {wxTreeEvent, getLabel, 0}}, - {3398, {wxTreeEvent, getOldItem, 0}}, - {3399, {wxTreeEvent, getPoint, 0}}, - {3400, {wxTreeEvent, isEditCancelled, 0}}, - {3401, {wxTreeEvent, setToolTip, 1}}, - {3402, {wxNotebookEvent, getOldSelection, 0}}, - {3403, {wxNotebookEvent, getSelection, 0}}, - {3404, {wxNotebookEvent, setOldSelection, 1}}, - {3405, {wxNotebookEvent, setSelection, 1}}, - {3406, {wxFileDataObject, new, 0}}, - {3407, {wxFileDataObject, addFile, 1}}, - {3408, {wxFileDataObject, getFilenames, 0}}, - {3409, {wxFileDataObject, 'Destroy', undefined}}, - {3410, {wxTextDataObject, new, 1}}, - {3411, {wxTextDataObject, getTextLength, 0}}, - {3412, {wxTextDataObject, getText, 0}}, - {3413, {wxTextDataObject, setText, 1}}, - {3414, {wxTextDataObject, 'Destroy', undefined}}, - {3415, {wxBitmapDataObject, new_1_1, 1}}, - {3416, {wxBitmapDataObject, new_1_0, 1}}, - {3417, {wxBitmapDataObject, getBitmap, 0}}, - {3418, {wxBitmapDataObject, setBitmap, 1}}, - {3419, {wxBitmapDataObject, 'Destroy', undefined}}, - {3421, {wxClipboard, new, 0}}, - {3422, {wxClipboard, destruct, 0}}, - {3423, {wxClipboard, addData, 1}}, - {3424, {wxClipboard, clear, 0}}, - {3425, {wxClipboard, close, 0}}, - {3426, {wxClipboard, flush, 0}}, - {3427, {wxClipboard, getData, 1}}, - {3428, {wxClipboard, isOpened, 0}}, - {3429, {wxClipboard, open, 0}}, - {3430, {wxClipboard, setData, 1}}, - {3432, {wxClipboard, usePrimarySelection, 1}}, - {3433, {wxClipboard, isSupported, 1}}, - {3434, {wxClipboard, get, 0}}, - {3435, {wxSpinEvent, getPosition, 0}}, - {3436, {wxSpinEvent, setPosition, 1}}, - {3437, {wxSplitterWindow, new_0, 0}}, - {3438, {wxSplitterWindow, new_2, 2}}, - {3439, {wxSplitterWindow, destruct, 0}}, - {3440, {wxSplitterWindow, create, 2}}, - {3441, {wxSplitterWindow, getMinimumPaneSize, 0}}, - {3442, {wxSplitterWindow, getSashGravity, 0}}, - {3443, {wxSplitterWindow, getSashPosition, 0}}, - {3444, {wxSplitterWindow, getSplitMode, 0}}, - {3445, {wxSplitterWindow, getWindow1, 0}}, - {3446, {wxSplitterWindow, getWindow2, 0}}, - {3447, {wxSplitterWindow, initialize, 1}}, - {3448, {wxSplitterWindow, isSplit, 0}}, - {3449, {wxSplitterWindow, replaceWindow, 2}}, - {3450, {wxSplitterWindow, setSashGravity, 1}}, - {3451, {wxSplitterWindow, setSashPosition, 2}}, - {3452, {wxSplitterWindow, setSashSize, 1}}, - {3453, {wxSplitterWindow, setMinimumPaneSize, 1}}, - {3454, {wxSplitterWindow, setSplitMode, 1}}, - {3455, {wxSplitterWindow, splitHorizontally, 3}}, - {3456, {wxSplitterWindow, splitVertically, 3}}, - {3457, {wxSplitterWindow, unsplit, 1}}, - {3458, {wxSplitterWindow, updateSize, 0}}, - {3459, {wxSplitterEvent, getSashPosition, 0}}, - {3460, {wxSplitterEvent, getX, 0}}, - {3461, {wxSplitterEvent, getY, 0}}, - {3462, {wxSplitterEvent, getWindowBeingRemoved, 0}}, - {3463, {wxSplitterEvent, setSashPosition, 1}}, - {3464, {wxHtmlWindow, new_0, 0}}, - {3465, {wxHtmlWindow, new_2, 2}}, - {3466, {wxHtmlWindow, appendToPage, 1}}, - {3467, {wxHtmlWindow, getOpenedAnchor, 0}}, - {3468, {wxHtmlWindow, getOpenedPage, 0}}, - {3469, {wxHtmlWindow, getOpenedPageTitle, 0}}, - {3470, {wxHtmlWindow, getRelatedFrame, 0}}, - {3471, {wxHtmlWindow, historyBack, 0}}, - {3472, {wxHtmlWindow, historyCanBack, 0}}, - {3473, {wxHtmlWindow, historyCanForward, 0}}, - {3474, {wxHtmlWindow, historyClear, 0}}, - {3475, {wxHtmlWindow, historyForward, 0}}, - {3476, {wxHtmlWindow, loadFile, 1}}, - {3477, {wxHtmlWindow, loadPage, 1}}, - {3478, {wxHtmlWindow, selectAll, 0}}, - {3479, {wxHtmlWindow, selectionToText, 0}}, - {3480, {wxHtmlWindow, selectLine, 1}}, - {3481, {wxHtmlWindow, selectWord, 1}}, - {3482, {wxHtmlWindow, setBorders, 1}}, - {3483, {wxHtmlWindow, setFonts, 3}}, - {3484, {wxHtmlWindow, setPage, 1}}, - {3485, {wxHtmlWindow, setRelatedFrame, 2}}, - {3486, {wxHtmlWindow, setRelatedStatusBar, 1}}, - {3487, {wxHtmlWindow, toText, 0}}, - {3488, {wxHtmlWindow, 'Destroy', undefined}}, - {3489, {wxHtmlLinkEvent, getLinkInfo, 0}}, - {3490, {wxSystemSettings, getColour, 1}}, - {3491, {wxSystemSettings, getFont, 1}}, - {3492, {wxSystemSettings, getMetric, 2}}, - {3493, {wxSystemSettings, getScreenType, 0}}, - {3494, {wxSystemOptions, getOption, 1}}, - {3495, {wxSystemOptions, getOptionInt, 1}}, - {3496, {wxSystemOptions, hasOption, 1}}, - {3497, {wxSystemOptions, isFalse, 1}}, - {3498, {wxSystemOptions, setOption_2_1, 2}}, - {3499, {wxSystemOptions, setOption_2_0, 2}}, - {3500, {wxAuiNotebookEvent, setSelection, 1}}, - {3501, {wxAuiNotebookEvent, getSelection, 0}}, - {3502, {wxAuiNotebookEvent, setOldSelection, 1}}, - {3503, {wxAuiNotebookEvent, getOldSelection, 0}}, - {3504, {wxAuiNotebookEvent, setDragSource, 1}}, - {3505, {wxAuiNotebookEvent, getDragSource, 0}}, - {3506, {wxAuiManagerEvent, setManager, 1}}, - {3507, {wxAuiManagerEvent, getManager, 0}}, - {3508, {wxAuiManagerEvent, setPane, 1}}, - {3509, {wxAuiManagerEvent, getPane, 0}}, - {3510, {wxAuiManagerEvent, setButton, 1}}, - {3511, {wxAuiManagerEvent, getButton, 0}}, - {3512, {wxAuiManagerEvent, setDC, 1}}, - {3513, {wxAuiManagerEvent, getDC, 0}}, - {3514, {wxAuiManagerEvent, veto, 1}}, - {3515, {wxAuiManagerEvent, getVeto, 0}}, - {3516, {wxAuiManagerEvent, setCanVeto, 1}}, - {3517, {wxAuiManagerEvent, canVeto, 0}}, - {3518, {wxLogNull, new, 0}}, - {3519, {wxLogNull, 'Destroy', undefined}}, + {805, {wxGraphicsMatrix, invert, 0}}, + {806, {wxGraphicsMatrix, isEqual, 1}}, + {808, {wxGraphicsMatrix, isIdentity, 0}}, + {809, {wxGraphicsMatrix, rotate, 1}}, + {810, {wxGraphicsMatrix, scale, 2}}, + {811, {wxGraphicsMatrix, translate, 2}}, + {812, {wxGraphicsMatrix, set, 1}}, + {813, {wxGraphicsMatrix, transformPoint, 2}}, + {814, {wxGraphicsMatrix, transformDistance, 2}}, + {815, {wxGraphicsPath, moveToPoint_2, 2}}, + {816, {wxGraphicsPath, moveToPoint_1, 1}}, + {817, {wxGraphicsPath, addArc_6, 6}}, + {818, {wxGraphicsPath, addArc_5, 5}}, + {819, {wxGraphicsPath, addArcToPoint, 5}}, + {820, {wxGraphicsPath, addCircle, 3}}, + {821, {wxGraphicsPath, addCurveToPoint_6, 6}}, + {822, {wxGraphicsPath, addCurveToPoint_3, 3}}, + {823, {wxGraphicsPath, addEllipse, 4}}, + {824, {wxGraphicsPath, addLineToPoint_2, 2}}, + {825, {wxGraphicsPath, addLineToPoint_1, 1}}, + {826, {wxGraphicsPath, addPath, 1}}, + {827, {wxGraphicsPath, addQuadCurveToPoint, 4}}, + {828, {wxGraphicsPath, addRectangle, 4}}, + {829, {wxGraphicsPath, addRoundedRectangle, 5}}, + {830, {wxGraphicsPath, closeSubpath, 0}}, + {831, {wxGraphicsPath, contains_3, 3}}, + {832, {wxGraphicsPath, contains_2, 2}}, + {834, {wxGraphicsPath, getBox, 0}}, + {836, {wxGraphicsPath, getCurrentPoint, 0}}, + {837, {wxGraphicsPath, transform, 1}}, + {838, {wxGraphicsRenderer, getDefaultRenderer, 0}}, + {839, {wxGraphicsRenderer, createContext_1_1, 1}}, + {840, {wxGraphicsRenderer, createContext_1_0, 1}}, + {841, {wxGraphicsRenderer, createPen, 1}}, + {842, {wxGraphicsRenderer, createBrush, 1}}, + {843, {wxGraphicsRenderer, createLinearGradientBrush, 6}}, + {844, {wxGraphicsRenderer, createRadialGradientBrush, 7}}, + {845, {wxGraphicsRenderer, createFont, 2}}, + {846, {wxGraphicsRenderer, createMatrix, 1}}, + {847, {wxGraphicsRenderer, createPath, 0}}, + {849, {wxMenuBar, new_1, 1}}, + {851, {wxMenuBar, new_0, 0}}, + {853, {wxMenuBar, destruct, 0}}, + {854, {wxMenuBar, append, 2}}, + {855, {wxMenuBar, check, 2}}, + {856, {wxMenuBar, enable_2, 2}}, + {857, {wxMenuBar, enable_1, 1}}, + {858, {wxMenuBar, enableTop, 2}}, + {859, {wxMenuBar, findMenu, 1}}, + {860, {wxMenuBar, findMenuItem, 2}}, + {861, {wxMenuBar, findItem, 2}}, + {862, {wxMenuBar, getHelpString, 1}}, + {863, {wxMenuBar, getLabel_1, 1}}, + {864, {wxMenuBar, getLabel_0, 0}}, + {865, {wxMenuBar, getLabelTop, 1}}, + {866, {wxMenuBar, getMenu, 1}}, + {867, {wxMenuBar, getMenuCount, 0}}, + {868, {wxMenuBar, insert, 3}}, + {869, {wxMenuBar, isChecked, 1}}, + {870, {wxMenuBar, isEnabled_1, 1}}, + {871, {wxMenuBar, isEnabled_0, 0}}, + {872, {wxMenuBar, remove, 1}}, + {873, {wxMenuBar, replace, 3}}, + {874, {wxMenuBar, setHelpString, 2}}, + {875, {wxMenuBar, setLabel_2, 2}}, + {876, {wxMenuBar, setLabel_1, 1}}, + {877, {wxMenuBar, setLabelTop, 2}}, + {878, {wxControl, getLabel, 0}}, + {879, {wxControl, setLabel, 1}}, + {880, {wxControlWithItems, append_1, 1}}, + {881, {wxControlWithItems, append_2, 2}}, + {882, {wxControlWithItems, appendStrings_1, 1}}, + {883, {wxControlWithItems, clear, 0}}, + {884, {wxControlWithItems, delete, 1}}, + {885, {wxControlWithItems, findString, 2}}, + {886, {wxControlWithItems, getClientData, 1}}, + {887, {wxControlWithItems, setClientData, 2}}, + {888, {wxControlWithItems, getCount, 0}}, + {889, {wxControlWithItems, getSelection, 0}}, + {890, {wxControlWithItems, getString, 1}}, + {891, {wxControlWithItems, getStringSelection, 0}}, + {892, {wxControlWithItems, insert_2, 2}}, + {893, {wxControlWithItems, insert_3, 3}}, + {894, {wxControlWithItems, isEmpty, 0}}, + {895, {wxControlWithItems, select, 1}}, + {896, {wxControlWithItems, setSelection, 1}}, + {897, {wxControlWithItems, setString, 2}}, + {898, {wxControlWithItems, setStringSelection, 1}}, + {901, {wxMenu, new_2, 2}}, + {902, {wxMenu, new_1, 1}}, + {904, {wxMenu, destruct, 0}}, + {905, {wxMenu, append_3, 3}}, + {906, {wxMenu, append_1, 1}}, + {907, {wxMenu, append_4_0, 4}}, + {908, {wxMenu, append_4_1, 4}}, + {909, {wxMenu, appendCheckItem, 3}}, + {910, {wxMenu, appendRadioItem, 3}}, + {911, {wxMenu, appendSeparator, 0}}, + {912, {wxMenu, break, 0}}, + {913, {wxMenu, check, 2}}, + {914, {wxMenu, delete_1_0, 1}}, + {915, {wxMenu, delete_1_1, 1}}, + {916, {wxMenu, destroy_1_0, 1}}, + {917, {wxMenu, destroy_1_1, 1}}, + {918, {wxMenu, enable, 2}}, + {919, {wxMenu, findItem_1, 1}}, + {920, {wxMenu, findItem_2, 2}}, + {921, {wxMenu, findItemByPosition, 1}}, + {922, {wxMenu, getHelpString, 1}}, + {923, {wxMenu, getLabel, 1}}, + {924, {wxMenu, getMenuItemCount, 0}}, + {925, {wxMenu, getMenuItems, 0}}, + {927, {wxMenu, getTitle, 0}}, + {928, {wxMenu, insert_2, 2}}, + {929, {wxMenu, insert_3, 3}}, + {930, {wxMenu, insert_5_1, 5}}, + {931, {wxMenu, insert_5_0, 5}}, + {932, {wxMenu, insertCheckItem, 4}}, + {933, {wxMenu, insertRadioItem, 4}}, + {934, {wxMenu, insertSeparator, 1}}, + {935, {wxMenu, isChecked, 1}}, + {936, {wxMenu, isEnabled, 1}}, + {937, {wxMenu, prepend_1, 1}}, + {938, {wxMenu, prepend_2, 2}}, + {939, {wxMenu, prepend_4_1, 4}}, + {940, {wxMenu, prepend_4_0, 4}}, + {941, {wxMenu, prependCheckItem, 3}}, + {942, {wxMenu, prependRadioItem, 3}}, + {943, {wxMenu, prependSeparator, 0}}, + {944, {wxMenu, remove_1_0, 1}}, + {945, {wxMenu, remove_1_1, 1}}, + {946, {wxMenu, setHelpString, 2}}, + {947, {wxMenu, setLabel, 2}}, + {948, {wxMenu, setTitle, 1}}, + {949, {wxMenuItem, new, 1}}, + {951, {wxMenuItem, destruct, 0}}, + {952, {wxMenuItem, check, 1}}, + {953, {wxMenuItem, enable, 1}}, + {954, {wxMenuItem, getBitmap, 0}}, + {955, {wxMenuItem, getHelp, 0}}, + {956, {wxMenuItem, getId, 0}}, + {957, {wxMenuItem, getKind, 0}}, + {958, {wxMenuItem, getLabel, 0}}, + {959, {wxMenuItem, getLabelFromText, 1}}, + {960, {wxMenuItem, getMenu, 0}}, + {961, {wxMenuItem, getText, 0}}, + {962, {wxMenuItem, getSubMenu, 0}}, + {963, {wxMenuItem, isCheckable, 0}}, + {964, {wxMenuItem, isChecked, 0}}, + {965, {wxMenuItem, isEnabled, 0}}, + {966, {wxMenuItem, isSeparator, 0}}, + {967, {wxMenuItem, isSubMenu, 0}}, + {968, {wxMenuItem, setBitmap, 1}}, + {969, {wxMenuItem, setHelp, 1}}, + {970, {wxMenuItem, setMenu, 1}}, + {971, {wxMenuItem, setSubMenu, 1}}, + {972, {wxMenuItem, setText, 1}}, + {973, {wxToolBar, addControl, 1}}, + {974, {wxToolBar, addSeparator, 0}}, + {975, {wxToolBar, addTool_5, 5}}, + {976, {wxToolBar, addTool_4_0, 4}}, + {977, {wxToolBar, addTool_1, 1}}, + {978, {wxToolBar, addTool_4_1, 4}}, + {979, {wxToolBar, addTool_3, 3}}, + {980, {wxToolBar, addTool_6, 6}}, + {981, {wxToolBar, addCheckTool, 4}}, + {982, {wxToolBar, addRadioTool, 4}}, + {983, {wxToolBar, deleteTool, 1}}, + {984, {wxToolBar, deleteToolByPos, 1}}, + {985, {wxToolBar, enableTool, 2}}, + {986, {wxToolBar, findById, 1}}, + {987, {wxToolBar, findControl, 1}}, + {988, {wxToolBar, findToolForPosition, 2}}, + {989, {wxToolBar, getToolSize, 0}}, + {990, {wxToolBar, getToolBitmapSize, 0}}, + {991, {wxToolBar, getMargins, 0}}, + {992, {wxToolBar, getToolEnabled, 1}}, + {993, {wxToolBar, getToolLongHelp, 1}}, + {994, {wxToolBar, getToolPacking, 0}}, + {995, {wxToolBar, getToolPos, 1}}, + {996, {wxToolBar, getToolSeparation, 0}}, + {997, {wxToolBar, getToolShortHelp, 1}}, + {998, {wxToolBar, getToolState, 1}}, + {999, {wxToolBar, insertControl, 2}}, + {1000, {wxToolBar, insertSeparator, 1}}, + {1001, {wxToolBar, insertTool_5, 5}}, + {1002, {wxToolBar, insertTool_2, 2}}, + {1003, {wxToolBar, insertTool_4, 4}}, + {1004, {wxToolBar, realize, 0}}, + {1005, {wxToolBar, removeTool, 1}}, + {1006, {wxToolBar, setMargins, 2}}, + {1007, {wxToolBar, setToolBitmapSize, 1}}, + {1008, {wxToolBar, setToolLongHelp, 2}}, + {1009, {wxToolBar, setToolPacking, 1}}, + {1010, {wxToolBar, setToolShortHelp, 2}}, + {1011, {wxToolBar, setToolSeparation, 1}}, + {1012, {wxToolBar, toggleTool, 2}}, + {1014, {wxStatusBar, new_0, 0}}, + {1015, {wxStatusBar, new_2, 2}}, + {1017, {wxStatusBar, destruct, 0}}, + {1018, {wxStatusBar, create, 2}}, + {1019, {wxStatusBar, getFieldRect, 2}}, + {1020, {wxStatusBar, getFieldsCount, 0}}, + {1021, {wxStatusBar, getStatusText, 1}}, + {1022, {wxStatusBar, popStatusText, 1}}, + {1023, {wxStatusBar, pushStatusText, 2}}, + {1024, {wxStatusBar, setFieldsCount, 2}}, + {1025, {wxStatusBar, setMinHeight, 1}}, + {1026, {wxStatusBar, setStatusText, 2}}, + {1027, {wxStatusBar, setStatusWidths, 2}}, + {1028, {wxStatusBar, setStatusStyles, 2}}, + {1029, {wxBitmap, new_0, 0}}, + {1030, {wxBitmap, new_3, 3}}, + {1031, {wxBitmap, new_4, 4}}, + {1032, {wxBitmap, new_2_0, 2}}, + {1033, {wxBitmap, new_2_1, 2}}, + {1034, {wxBitmap, destruct, 0}}, + {1035, {wxBitmap, convertToImage, 0}}, + {1036, {wxBitmap, copyFromIcon, 1}}, + {1037, {wxBitmap, create, 3}}, + {1038, {wxBitmap, getDepth, 0}}, + {1039, {wxBitmap, getHeight, 0}}, + {1040, {wxBitmap, getPalette, 0}}, + {1041, {wxBitmap, getMask, 0}}, + {1042, {wxBitmap, getWidth, 0}}, + {1043, {wxBitmap, getSubBitmap, 1}}, + {1044, {wxBitmap, loadFile, 2}}, + {1045, {wxBitmap, ok, 0}}, + {1046, {wxBitmap, saveFile, 3}}, + {1047, {wxBitmap, setDepth, 1}}, + {1048, {wxBitmap, setHeight, 1}}, + {1049, {wxBitmap, setMask, 1}}, + {1050, {wxBitmap, setPalette, 1}}, + {1051, {wxBitmap, setWidth, 1}}, + {1052, {wxIcon, new_0, 0}}, + {1053, {wxIcon, new_2, 2}}, + {1054, {wxIcon, new_1, 1}}, + {1055, {wxIcon, copyFromBitmap, 1}}, + {1056, {wxIcon, 'Destroy', undefined}}, + {1057, {wxIconBundle, new_0, 0}}, + {1058, {wxIconBundle, new_2, 2}}, + {1059, {wxIconBundle, new_1_0, 1}}, + {1060, {wxIconBundle, new_1_1, 1}}, + {1061, {wxIconBundle, destruct, 0}}, + {1062, {wxIconBundle, addIcon_2, 2}}, + {1063, {wxIconBundle, addIcon_1, 1}}, + {1064, {wxIconBundle, getIcon_1_1, 1}}, + {1065, {wxIconBundle, getIcon_1_0, 1}}, + {1066, {wxCursor, new_0, 0}}, + {1067, {wxCursor, new_1_0, 1}}, + {1068, {wxCursor, new_1_1, 1}}, + {1069, {wxCursor, new_4, 4}}, + {1070, {wxCursor, destruct, 0}}, + {1071, {wxCursor, ok, 0}}, + {1072, {wxMask, new_0, 0}}, + {1073, {wxMask, new_2_1, 2}}, + {1074, {wxMask, new_2_0, 2}}, + {1075, {wxMask, new_1, 1}}, + {1076, {wxMask, destruct, 0}}, + {1077, {wxMask, create_2_1, 2}}, + {1078, {wxMask, create_2_0, 2}}, + {1079, {wxMask, create_1, 1}}, + {1080, {wxImage, new_0, 0}}, + {1081, {wxImage, new_3_0, 3}}, + {1082, {wxImage, new_4, 4}}, + {1083, {wxImage, new_5, 5}}, + {1084, {wxImage, new_2, 2}}, + {1085, {wxImage, new_3_1, 3}}, + {1086, {wxImage, blur, 1}}, + {1087, {wxImage, blurHorizontal, 1}}, + {1088, {wxImage, blurVertical, 1}}, + {1089, {wxImage, convertAlphaToMask, 1}}, + {1090, {wxImage, convertToGreyscale, 1}}, + {1091, {wxImage, convertToMono, 3}}, + {1092, {wxImage, copy, 0}}, + {1093, {wxImage, create_3, 3}}, + {1094, {wxImage, create_4, 4}}, + {1095, {wxImage, create_5, 5}}, + {1096, {wxImage, 'Destroy', 0}}, + {1097, {wxImage, findFirstUnusedColour, 4}}, + {1098, {wxImage, getImageExtWildcard, 0}}, + {1099, {wxImage, getAlpha_2, 2}}, + {1100, {wxImage, getAlpha_0, 0}}, + {1101, {wxImage, getBlue, 2}}, + {1102, {wxImage, getData, 0}}, + {1103, {wxImage, getGreen, 2}}, + {1104, {wxImage, getImageCount, 2}}, + {1105, {wxImage, getHeight, 0}}, + {1106, {wxImage, getMaskBlue, 0}}, + {1107, {wxImage, getMaskGreen, 0}}, + {1108, {wxImage, getMaskRed, 0}}, + {1109, {wxImage, getOrFindMaskColour, 3}}, + {1110, {wxImage, getPalette, 0}}, + {1111, {wxImage, getRed, 2}}, + {1112, {wxImage, getSubImage, 1}}, + {1113, {wxImage, getWidth, 0}}, + {1114, {wxImage, hasAlpha, 0}}, + {1115, {wxImage, hasMask, 0}}, + {1116, {wxImage, getOption, 1}}, + {1117, {wxImage, getOptionInt, 1}}, + {1118, {wxImage, hasOption, 1}}, + {1119, {wxImage, initAlpha, 0}}, + {1120, {wxImage, initStandardHandlers, 0}}, + {1121, {wxImage, isTransparent, 3}}, + {1122, {wxImage, loadFile_2, 2}}, + {1123, {wxImage, loadFile_3, 3}}, + {1124, {wxImage, ok, 0}}, + {1125, {wxImage, removeHandler, 1}}, + {1126, {wxImage, mirror, 1}}, + {1127, {wxImage, replace, 6}}, + {1128, {wxImage, rescale, 3}}, + {1129, {wxImage, resize, 3}}, + {1130, {wxImage, rotate, 3}}, + {1131, {wxImage, rotateHue, 1}}, + {1132, {wxImage, rotate90, 1}}, + {1133, {wxImage, saveFile_1, 1}}, + {1134, {wxImage, saveFile_2_0, 2}}, + {1135, {wxImage, saveFile_2_1, 2}}, + {1136, {wxImage, scale, 3}}, + {1137, {wxImage, size, 3}}, + {1138, {wxImage, setAlpha_3, 3}}, + {1139, {wxImage, setAlpha_2, 2}}, + {1140, {wxImage, setData_2, 2}}, + {1141, {wxImage, setData_4, 4}}, + {1142, {wxImage, setMask, 1}}, + {1143, {wxImage, setMaskColour, 3}}, + {1144, {wxImage, setMaskFromImage, 4}}, + {1145, {wxImage, setOption_2_1, 2}}, + {1146, {wxImage, setOption_2_0, 2}}, + {1147, {wxImage, setPalette, 1}}, + {1148, {wxImage, setRGB_5, 5}}, + {1149, {wxImage, setRGB_4, 4}}, + {1150, {wxImage, 'Destroy', undefined}}, + {1151, {wxBrush, new_0, 0}}, + {1152, {wxBrush, new_2, 2}}, + {1153, {wxBrush, new_1, 1}}, + {1155, {wxBrush, destruct, 0}}, + {1156, {wxBrush, getColour, 0}}, + {1157, {wxBrush, getStipple, 0}}, + {1158, {wxBrush, getStyle, 0}}, + {1159, {wxBrush, isHatch, 0}}, + {1160, {wxBrush, isOk, 0}}, + {1161, {wxBrush, setColour_1, 1}}, + {1162, {wxBrush, setColour_3, 3}}, + {1163, {wxBrush, setStipple, 1}}, + {1164, {wxBrush, setStyle, 1}}, + {1165, {wxPen, new_0, 0}}, + {1166, {wxPen, new_2, 2}}, + {1167, {wxPen, destruct, 0}}, + {1168, {wxPen, getCap, 0}}, + {1169, {wxPen, getColour, 0}}, + {1170, {wxPen, getJoin, 0}}, + {1171, {wxPen, getStyle, 0}}, + {1172, {wxPen, getWidth, 0}}, + {1173, {wxPen, isOk, 0}}, + {1174, {wxPen, setCap, 1}}, + {1175, {wxPen, setColour_1, 1}}, + {1176, {wxPen, setColour_3, 3}}, + {1177, {wxPen, setJoin, 1}}, + {1178, {wxPen, setStyle, 1}}, + {1179, {wxPen, setWidth, 1}}, + {1180, {wxRegion, new_0, 0}}, + {1181, {wxRegion, new_4, 4}}, + {1182, {wxRegion, new_2, 2}}, + {1183, {wxRegion, new_1_1, 1}}, + {1185, {wxRegion, new_1_0, 1}}, + {1187, {wxRegion, destruct, 0}}, + {1188, {wxRegion, clear, 0}}, + {1189, {wxRegion, contains_2, 2}}, + {1190, {wxRegion, contains_1_0, 1}}, + {1191, {wxRegion, contains_4, 4}}, + {1192, {wxRegion, contains_1_1, 1}}, + {1193, {wxRegion, convertToBitmap, 0}}, + {1194, {wxRegion, getBox, 0}}, + {1195, {wxRegion, intersect_4, 4}}, + {1196, {wxRegion, intersect_1_1, 1}}, + {1197, {wxRegion, intersect_1_0, 1}}, + {1198, {wxRegion, isEmpty, 0}}, + {1199, {wxRegion, subtract_4, 4}}, + {1200, {wxRegion, subtract_1_1, 1}}, + {1201, {wxRegion, subtract_1_0, 1}}, + {1202, {wxRegion, offset_2, 2}}, + {1203, {wxRegion, offset_1, 1}}, + {1204, {wxRegion, union_4, 4}}, + {1205, {wxRegion, union_1_2, 1}}, + {1206, {wxRegion, union_1_1, 1}}, + {1207, {wxRegion, union_1_0, 1}}, + {1208, {wxRegion, union_3, 3}}, + {1209, {wxRegion, xor_4, 4}}, + {1210, {wxRegion, xor_1_1, 1}}, + {1211, {wxRegion, xor_1_0, 1}}, + {1212, {wxAcceleratorTable, new_0, 0}}, + {1213, {wxAcceleratorTable, new_2, 2}}, + {1214, {wxAcceleratorTable, destruct, 0}}, + {1215, {wxAcceleratorTable, ok, 0}}, + {1216, {wxAcceleratorEntry, new_1_0, 1}}, + {1217, {wxAcceleratorEntry, new_1_1, 1}}, + {1218, {wxAcceleratorEntry, getCommand, 0}}, + {1219, {wxAcceleratorEntry, getFlags, 0}}, + {1220, {wxAcceleratorEntry, getKeyCode, 0}}, + {1221, {wxAcceleratorEntry, set, 4}}, + {1222, {wxAcceleratorEntry, 'Destroy', undefined}}, + {1227, {wxCaret, new_3, 3}}, + {1228, {wxCaret, new_2, 2}}, + {1230, {wxCaret, destruct, 0}}, + {1231, {wxCaret, create_3, 3}}, + {1232, {wxCaret, create_2, 2}}, + {1233, {wxCaret, getBlinkTime, 0}}, + {1235, {wxCaret, getPosition, 0}}, + {1237, {wxCaret, getSize, 0}}, + {1238, {wxCaret, getWindow, 0}}, + {1239, {wxCaret, hide, 0}}, + {1240, {wxCaret, isOk, 0}}, + {1241, {wxCaret, isVisible, 0}}, + {1242, {wxCaret, move_2, 2}}, + {1243, {wxCaret, move_1, 1}}, + {1244, {wxCaret, setBlinkTime, 1}}, + {1245, {wxCaret, setSize_2, 2}}, + {1246, {wxCaret, setSize_1, 1}}, + {1247, {wxCaret, show, 1}}, + {1248, {wxSizer, add_2_1, 2}}, + {1249, {wxSizer, add_2_0, 2}}, + {1250, {wxSizer, add_3, 3}}, + {1251, {wxSizer, add_2_3, 2}}, + {1252, {wxSizer, add_2_2, 2}}, + {1253, {wxSizer, addSpacer, 1}}, + {1254, {wxSizer, addStretchSpacer, 1}}, + {1255, {wxSizer, calcMin, 0}}, + {1256, {wxSizer, clear, 1}}, + {1257, {wxSizer, detach_1_2, 1}}, + {1258, {wxSizer, detach_1_1, 1}}, + {1259, {wxSizer, detach_1_0, 1}}, + {1260, {wxSizer, fit, 1}}, + {1261, {wxSizer, fitInside, 1}}, + {1262, {wxSizer, getChildren, 0}}, + {1263, {wxSizer, getItem_2_1, 2}}, + {1264, {wxSizer, getItem_2_0, 2}}, + {1265, {wxSizer, getItem_1, 1}}, + {1266, {wxSizer, getSize, 0}}, + {1267, {wxSizer, getPosition, 0}}, + {1268, {wxSizer, getMinSize, 0}}, + {1269, {wxSizer, hide_2_0, 2}}, + {1270, {wxSizer, hide_2_1, 2}}, + {1271, {wxSizer, hide_1, 1}}, + {1272, {wxSizer, insert_3_1, 3}}, + {1273, {wxSizer, insert_3_0, 3}}, + {1274, {wxSizer, insert_4, 4}}, + {1275, {wxSizer, insert_3_3, 3}}, + {1276, {wxSizer, insert_3_2, 3}}, + {1277, {wxSizer, insert_2, 2}}, + {1278, {wxSizer, insertSpacer, 2}}, + {1279, {wxSizer, insertStretchSpacer, 2}}, + {1280, {wxSizer, isShown_1_2, 1}}, + {1281, {wxSizer, isShown_1_1, 1}}, + {1282, {wxSizer, isShown_1_0, 1}}, + {1283, {wxSizer, layout, 0}}, + {1284, {wxSizer, prepend_2_1, 2}}, + {1285, {wxSizer, prepend_2_0, 2}}, + {1286, {wxSizer, prepend_3, 3}}, + {1287, {wxSizer, prepend_2_3, 2}}, + {1288, {wxSizer, prepend_2_2, 2}}, + {1289, {wxSizer, prepend_1, 1}}, + {1290, {wxSizer, prependSpacer, 1}}, + {1291, {wxSizer, prependStretchSpacer, 1}}, + {1292, {wxSizer, recalcSizes, 0}}, + {1293, {wxSizer, remove_1_1, 1}}, + {1294, {wxSizer, remove_1_0, 1}}, + {1295, {wxSizer, replace_3_1, 3}}, + {1296, {wxSizer, replace_3_0, 3}}, + {1297, {wxSizer, replace_2, 2}}, + {1298, {wxSizer, setDimension, 4}}, + {1299, {wxSizer, setMinSize_2, 2}}, + {1300, {wxSizer, setMinSize_1, 1}}, + {1301, {wxSizer, setItemMinSize_3_2, 3}}, + {1302, {wxSizer, setItemMinSize_2_2, 2}}, + {1303, {wxSizer, setItemMinSize_3_1, 3}}, + {1304, {wxSizer, setItemMinSize_2_1, 2}}, + {1305, {wxSizer, setItemMinSize_3_0, 3}}, + {1306, {wxSizer, setItemMinSize_2_0, 2}}, + {1307, {wxSizer, setSizeHints, 1}}, + {1308, {wxSizer, setVirtualSizeHints, 1}}, + {1309, {wxSizer, show_2_2, 2}}, + {1310, {wxSizer, show_2_1, 2}}, + {1311, {wxSizer, show_2_0, 2}}, + {1312, {wxSizer, show_1, 1}}, + {1313, {wxSizerFlags, new, 1}}, + {1314, {wxSizerFlags, align, 1}}, + {1315, {wxSizerFlags, border_2, 2}}, + {1316, {wxSizerFlags, border_1, 1}}, + {1317, {wxSizerFlags, center, 0}}, + {1318, {wxSizerFlags, centre, 0}}, + {1319, {wxSizerFlags, expand, 0}}, + {1320, {wxSizerFlags, left, 0}}, + {1321, {wxSizerFlags, proportion, 1}}, + {1322, {wxSizerFlags, right, 0}}, + {1323, {wxSizerFlags, 'Destroy', undefined}}, + {1324, {wxSizerItem, new_5_1, 5}}, + {1325, {wxSizerItem, new_2_1, 2}}, + {1326, {wxSizerItem, new_5_0, 5}}, + {1327, {wxSizerItem, new_2_0, 2}}, + {1328, {wxSizerItem, new_6, 6}}, + {1329, {wxSizerItem, new_3, 3}}, + {1330, {wxSizerItem, new_0, 0}}, + {1331, {wxSizerItem, destruct, 0}}, + {1332, {wxSizerItem, calcMin, 0}}, + {1333, {wxSizerItem, deleteWindows, 0}}, + {1334, {wxSizerItem, detachSizer, 0}}, + {1335, {wxSizerItem, getBorder, 0}}, + {1336, {wxSizerItem, getFlag, 0}}, + {1337, {wxSizerItem, getMinSize, 0}}, + {1338, {wxSizerItem, getPosition, 0}}, + {1339, {wxSizerItem, getProportion, 0}}, + {1340, {wxSizerItem, getRatio, 0}}, + {1341, {wxSizerItem, getRect, 0}}, + {1342, {wxSizerItem, getSize, 0}}, + {1343, {wxSizerItem, getSizer, 0}}, + {1344, {wxSizerItem, getSpacer, 0}}, + {1345, {wxSizerItem, getUserData, 0}}, + {1346, {wxSizerItem, getWindow, 0}}, + {1347, {wxSizerItem, isSizer, 0}}, + {1348, {wxSizerItem, isShown, 0}}, + {1349, {wxSizerItem, isSpacer, 0}}, + {1350, {wxSizerItem, isWindow, 0}}, + {1351, {wxSizerItem, setBorder, 1}}, + {1352, {wxSizerItem, setDimension, 2}}, + {1353, {wxSizerItem, setFlag, 1}}, + {1354, {wxSizerItem, setInitSize, 2}}, + {1355, {wxSizerItem, setMinSize_1, 1}}, + {1356, {wxSizerItem, setMinSize_2, 2}}, + {1357, {wxSizerItem, setProportion, 1}}, + {1358, {wxSizerItem, setRatio_2, 2}}, + {1359, {wxSizerItem, setRatio_1_1, 1}}, + {1360, {wxSizerItem, setRatio_1_0, 1}}, + {1361, {wxSizerItem, setSizer, 1}}, + {1362, {wxSizerItem, setSpacer_1, 1}}, + {1363, {wxSizerItem, setSpacer_2, 2}}, + {1364, {wxSizerItem, setWindow, 1}}, + {1365, {wxSizerItem, show, 1}}, + {1366, {wxBoxSizer, new, 1}}, + {1367, {wxBoxSizer, getOrientation, 0}}, + {1368, {wxBoxSizer, 'Destroy', undefined}}, + {1369, {wxStaticBoxSizer, new_2, 2}}, + {1370, {wxStaticBoxSizer, new_3, 3}}, + {1371, {wxStaticBoxSizer, getStaticBox, 0}}, + {1372, {wxStaticBoxSizer, 'Destroy', undefined}}, + {1373, {wxGridSizer, new_4, 4}}, + {1374, {wxGridSizer, new_2, 2}}, + {1375, {wxGridSizer, getCols, 0}}, + {1376, {wxGridSizer, getHGap, 0}}, + {1377, {wxGridSizer, getRows, 0}}, + {1378, {wxGridSizer, getVGap, 0}}, + {1379, {wxGridSizer, setCols, 1}}, + {1380, {wxGridSizer, setHGap, 1}}, + {1381, {wxGridSizer, setRows, 1}}, + {1382, {wxGridSizer, setVGap, 1}}, + {1383, {wxGridSizer, 'Destroy', undefined}}, + {1384, {wxFlexGridSizer, new_4, 4}}, + {1385, {wxFlexGridSizer, new_2, 2}}, + {1386, {wxFlexGridSizer, addGrowableCol, 2}}, + {1387, {wxFlexGridSizer, addGrowableRow, 2}}, + {1388, {wxFlexGridSizer, getFlexibleDirection, 0}}, + {1389, {wxFlexGridSizer, getNonFlexibleGrowMode, 0}}, + {1390, {wxFlexGridSizer, removeGrowableCol, 1}}, + {1391, {wxFlexGridSizer, removeGrowableRow, 1}}, + {1392, {wxFlexGridSizer, setFlexibleDirection, 1}}, + {1393, {wxFlexGridSizer, setNonFlexibleGrowMode, 1}}, + {1394, {wxFlexGridSizer, 'Destroy', undefined}}, + {1395, {wxGridBagSizer, new, 1}}, + {1396, {wxGridBagSizer, add_3_2, 3}}, + {1397, {wxGridBagSizer, add_3_1, 3}}, + {1398, {wxGridBagSizer, add_4, 4}}, + {1399, {wxGridBagSizer, add_1_0, 1}}, + {1400, {wxGridBagSizer, add_2_1, 2}}, + {1401, {wxGridBagSizer, add_2_0, 2}}, + {1402, {wxGridBagSizer, add_3_0, 3}}, + {1403, {wxGridBagSizer, add_1_1, 1}}, + {1404, {wxGridBagSizer, calcMin, 0}}, + {1405, {wxGridBagSizer, checkForIntersection_2, 2}}, + {1406, {wxGridBagSizer, checkForIntersection_3, 3}}, + {1407, {wxGridBagSizer, findItem_1_1, 1}}, + {1408, {wxGridBagSizer, findItem_1_0, 1}}, + {1409, {wxGridBagSizer, findItemAtPoint, 1}}, + {1410, {wxGridBagSizer, findItemAtPosition, 1}}, + {1411, {wxGridBagSizer, findItemWithData, 1}}, + {1412, {wxGridBagSizer, getCellSize, 2}}, + {1413, {wxGridBagSizer, getEmptyCellSize, 0}}, + {1414, {wxGridBagSizer, getItemPosition_1_2, 1}}, + {1415, {wxGridBagSizer, getItemPosition_1_1, 1}}, + {1416, {wxGridBagSizer, getItemPosition_1_0, 1}}, + {1417, {wxGridBagSizer, getItemSpan_1_2, 1}}, + {1418, {wxGridBagSizer, getItemSpan_1_1, 1}}, + {1419, {wxGridBagSizer, getItemSpan_1_0, 1}}, + {1420, {wxGridBagSizer, setEmptyCellSize, 1}}, + {1421, {wxGridBagSizer, setItemPosition_2_2, 2}}, + {1422, {wxGridBagSizer, setItemPosition_2_1, 2}}, + {1423, {wxGridBagSizer, setItemPosition_2_0, 2}}, + {1424, {wxGridBagSizer, setItemSpan_2_2, 2}}, + {1425, {wxGridBagSizer, setItemSpan_2_1, 2}}, + {1426, {wxGridBagSizer, setItemSpan_2_0, 2}}, + {1427, {wxGridBagSizer, 'Destroy', undefined}}, + {1428, {wxStdDialogButtonSizer, new, 0}}, + {1429, {wxStdDialogButtonSizer, addButton, 1}}, + {1430, {wxStdDialogButtonSizer, realize, 0}}, + {1431, {wxStdDialogButtonSizer, setAffirmativeButton, 1}}, + {1432, {wxStdDialogButtonSizer, setCancelButton, 1}}, + {1433, {wxStdDialogButtonSizer, setNegativeButton, 1}}, + {1434, {wxStdDialogButtonSizer, 'Destroy', undefined}}, + {1435, {wxFont, new_0, 0}}, + {1436, {wxFont, new_1, 1}}, + {1437, {wxFont, new_5, 5}}, + {1439, {wxFont, destruct, 0}}, + {1440, {wxFont, isFixedWidth, 0}}, + {1441, {wxFont, getDefaultEncoding, 0}}, + {1442, {wxFont, getFaceName, 0}}, + {1443, {wxFont, getFamily, 0}}, + {1444, {wxFont, getNativeFontInfoDesc, 0}}, + {1445, {wxFont, getNativeFontInfoUserDesc, 0}}, + {1446, {wxFont, getPointSize, 0}}, + {1447, {wxFont, getStyle, 0}}, + {1448, {wxFont, getUnderlined, 0}}, + {1449, {wxFont, getWeight, 0}}, + {1450, {wxFont, ok, 0}}, + {1451, {wxFont, setDefaultEncoding, 1}}, + {1452, {wxFont, setFaceName, 1}}, + {1453, {wxFont, setFamily, 1}}, + {1454, {wxFont, setPointSize, 1}}, + {1455, {wxFont, setStyle, 1}}, + {1456, {wxFont, setUnderlined, 1}}, + {1457, {wxFont, setWeight, 1}}, + {1458, {wxToolTip, enable, 1}}, + {1459, {wxToolTip, setDelay, 1}}, + {1460, {wxToolTip, new, 1}}, + {1461, {wxToolTip, setTip, 1}}, + {1462, {wxToolTip, getTip, 0}}, + {1463, {wxToolTip, getWindow, 0}}, + {1464, {wxToolTip, 'Destroy', undefined}}, + {1466, {wxButton, new_3, 3}}, + {1467, {wxButton, new_0, 0}}, + {1468, {wxButton, destruct, 0}}, + {1469, {wxButton, create, 3}}, + {1470, {wxButton, getDefaultSize, 0}}, + {1471, {wxButton, setDefault, 0}}, + {1472, {wxButton, setLabel, 1}}, + {1474, {wxBitmapButton, new_4, 4}}, + {1475, {wxBitmapButton, new_0, 0}}, + {1476, {wxBitmapButton, create, 4}}, + {1477, {wxBitmapButton, getBitmapDisabled, 0}}, + {1479, {wxBitmapButton, getBitmapFocus, 0}}, + {1481, {wxBitmapButton, getBitmapLabel, 0}}, + {1483, {wxBitmapButton, getBitmapSelected, 0}}, + {1485, {wxBitmapButton, setBitmapDisabled, 1}}, + {1486, {wxBitmapButton, setBitmapFocus, 1}}, + {1487, {wxBitmapButton, setBitmapLabel, 1}}, + {1488, {wxBitmapButton, setBitmapSelected, 1}}, + {1489, {wxBitmapButton, 'Destroy', undefined}}, + {1490, {wxToggleButton, new_0, 0}}, + {1491, {wxToggleButton, new_4, 4}}, + {1492, {wxToggleButton, create, 4}}, + {1493, {wxToggleButton, getValue, 0}}, + {1494, {wxToggleButton, setValue, 1}}, + {1495, {wxToggleButton, 'Destroy', undefined}}, + {1496, {wxCalendarCtrl, new_0, 0}}, + {1497, {wxCalendarCtrl, new_3, 3}}, + {1498, {wxCalendarCtrl, create, 3}}, + {1499, {wxCalendarCtrl, destruct, 0}}, + {1500, {wxCalendarCtrl, setDate, 1}}, + {1501, {wxCalendarCtrl, getDate, 0}}, + {1502, {wxCalendarCtrl, enableYearChange, 1}}, + {1503, {wxCalendarCtrl, enableMonthChange, 1}}, + {1504, {wxCalendarCtrl, enableHolidayDisplay, 1}}, + {1505, {wxCalendarCtrl, setHeaderColours, 2}}, + {1506, {wxCalendarCtrl, getHeaderColourFg, 0}}, + {1507, {wxCalendarCtrl, getHeaderColourBg, 0}}, + {1508, {wxCalendarCtrl, setHighlightColours, 2}}, + {1509, {wxCalendarCtrl, getHighlightColourFg, 0}}, + {1510, {wxCalendarCtrl, getHighlightColourBg, 0}}, + {1511, {wxCalendarCtrl, setHolidayColours, 2}}, + {1512, {wxCalendarCtrl, getHolidayColourFg, 0}}, + {1513, {wxCalendarCtrl, getHolidayColourBg, 0}}, + {1514, {wxCalendarCtrl, getAttr, 1}}, + {1515, {wxCalendarCtrl, setAttr, 2}}, + {1516, {wxCalendarCtrl, setHoliday, 1}}, + {1517, {wxCalendarCtrl, resetAttr, 1}}, + {1518, {wxCalendarCtrl, hitTest, 2}}, + {1519, {wxCalendarDateAttr, new_0, 0}}, + {1520, {wxCalendarDateAttr, new_2_1, 2}}, + {1521, {wxCalendarDateAttr, new_2_0, 2}}, + {1522, {wxCalendarDateAttr, setTextColour, 1}}, + {1523, {wxCalendarDateAttr, setBackgroundColour, 1}}, + {1524, {wxCalendarDateAttr, setBorderColour, 1}}, + {1525, {wxCalendarDateAttr, setFont, 1}}, + {1526, {wxCalendarDateAttr, setBorder, 1}}, + {1527, {wxCalendarDateAttr, setHoliday, 1}}, + {1528, {wxCalendarDateAttr, hasTextColour, 0}}, + {1529, {wxCalendarDateAttr, hasBackgroundColour, 0}}, + {1530, {wxCalendarDateAttr, hasBorderColour, 0}}, + {1531, {wxCalendarDateAttr, hasFont, 0}}, + {1532, {wxCalendarDateAttr, hasBorder, 0}}, + {1533, {wxCalendarDateAttr, isHoliday, 0}}, + {1534, {wxCalendarDateAttr, getTextColour, 0}}, + {1535, {wxCalendarDateAttr, getBackgroundColour, 0}}, + {1536, {wxCalendarDateAttr, getBorderColour, 0}}, + {1537, {wxCalendarDateAttr, getFont, 0}}, + {1538, {wxCalendarDateAttr, getBorder, 0}}, + {1539, {wxCalendarDateAttr, 'Destroy', undefined}}, + {1541, {wxCheckBox, new_4, 4}}, + {1542, {wxCheckBox, new_0, 0}}, + {1543, {wxCheckBox, create, 4}}, + {1544, {wxCheckBox, getValue, 0}}, + {1545, {wxCheckBox, get3StateValue, 0}}, + {1546, {wxCheckBox, is3rdStateAllowedForUser, 0}}, + {1547, {wxCheckBox, is3State, 0}}, + {1548, {wxCheckBox, isChecked, 0}}, + {1549, {wxCheckBox, setValue, 1}}, + {1550, {wxCheckBox, set3StateValue, 1}}, + {1551, {wxCheckBox, 'Destroy', undefined}}, + {1552, {wxCheckListBox, new_0, 0}}, + {1554, {wxCheckListBox, new_3, 3}}, + {1555, {wxCheckListBox, check, 2}}, + {1556, {wxCheckListBox, isChecked, 1}}, + {1557, {wxCheckListBox, 'Destroy', undefined}}, + {1560, {wxChoice, new_3, 3}}, + {1561, {wxChoice, new_0, 0}}, + {1563, {wxChoice, destruct, 0}}, + {1565, {wxChoice, create, 6}}, + {1566, {wxChoice, delete, 1}}, + {1567, {wxChoice, getColumns, 0}}, + {1568, {wxChoice, setColumns, 1}}, + {1569, {wxComboBox, new_0, 0}}, + {1571, {wxComboBox, new_3, 3}}, + {1572, {wxComboBox, destruct, 0}}, + {1574, {wxComboBox, create, 7}}, + {1575, {wxComboBox, canCopy, 0}}, + {1576, {wxComboBox, canCut, 0}}, + {1577, {wxComboBox, canPaste, 0}}, + {1578, {wxComboBox, canRedo, 0}}, + {1579, {wxComboBox, canUndo, 0}}, + {1580, {wxComboBox, copy, 0}}, + {1581, {wxComboBox, cut, 0}}, + {1582, {wxComboBox, getInsertionPoint, 0}}, + {1583, {wxComboBox, getLastPosition, 0}}, + {1584, {wxComboBox, getValue, 0}}, + {1585, {wxComboBox, paste, 0}}, + {1586, {wxComboBox, redo, 0}}, + {1587, {wxComboBox, replace, 3}}, + {1588, {wxComboBox, remove, 2}}, + {1589, {wxComboBox, setInsertionPoint, 1}}, + {1590, {wxComboBox, setInsertionPointEnd, 0}}, + {1591, {wxComboBox, setSelection_1, 1}}, + {1592, {wxComboBox, setSelection_2, 2}}, + {1593, {wxComboBox, setValue, 1}}, + {1594, {wxComboBox, undo, 0}}, + {1595, {wxGauge, new_0, 0}}, + {1596, {wxGauge, new_4, 4}}, + {1597, {wxGauge, create, 4}}, + {1598, {wxGauge, getBezelFace, 0}}, + {1599, {wxGauge, getRange, 0}}, + {1600, {wxGauge, getShadowWidth, 0}}, + {1601, {wxGauge, getValue, 0}}, + {1602, {wxGauge, isVertical, 0}}, + {1603, {wxGauge, setBezelFace, 1}}, + {1604, {wxGauge, setRange, 1}}, + {1605, {wxGauge, setShadowWidth, 1}}, + {1606, {wxGauge, setValue, 1}}, + {1607, {wxGauge, pulse, 0}}, + {1608, {wxGauge, 'Destroy', undefined}}, + {1609, {wxGenericDirCtrl, new_0, 0}}, + {1610, {wxGenericDirCtrl, new_2, 2}}, + {1611, {wxGenericDirCtrl, destruct, 0}}, + {1612, {wxGenericDirCtrl, create, 2}}, + {1613, {wxGenericDirCtrl, init, 0}}, + {1614, {wxGenericDirCtrl, collapseTree, 0}}, + {1615, {wxGenericDirCtrl, expandPath, 1}}, + {1616, {wxGenericDirCtrl, getDefaultPath, 0}}, + {1617, {wxGenericDirCtrl, getPath, 0}}, + {1618, {wxGenericDirCtrl, getFilePath, 0}}, + {1619, {wxGenericDirCtrl, getFilter, 0}}, + {1620, {wxGenericDirCtrl, getFilterIndex, 0}}, + {1621, {wxGenericDirCtrl, getRootId, 0}}, + {1622, {wxGenericDirCtrl, getTreeCtrl, 0}}, + {1623, {wxGenericDirCtrl, reCreateTree, 0}}, + {1624, {wxGenericDirCtrl, setDefaultPath, 1}}, + {1625, {wxGenericDirCtrl, setFilter, 1}}, + {1626, {wxGenericDirCtrl, setFilterIndex, 1}}, + {1627, {wxGenericDirCtrl, setPath, 1}}, + {1629, {wxStaticBox, new_4, 4}}, + {1630, {wxStaticBox, new_0, 0}}, + {1631, {wxStaticBox, create, 4}}, + {1632, {wxStaticBox, 'Destroy', undefined}}, + {1634, {wxStaticLine, new_2, 2}}, + {1635, {wxStaticLine, new_0, 0}}, + {1636, {wxStaticLine, create, 2}}, + {1637, {wxStaticLine, isVertical, 0}}, + {1638, {wxStaticLine, getDefaultSize, 0}}, + {1639, {wxStaticLine, 'Destroy', undefined}}, + {1642, {wxListBox, new_3, 3}}, + {1643, {wxListBox, new_0, 0}}, + {1645, {wxListBox, destruct, 0}}, + {1647, {wxListBox, create, 6}}, + {1648, {wxListBox, deselect, 1}}, + {1649, {wxListBox, getSelections, 1}}, + {1650, {wxListBox, insertItems, 2}}, + {1651, {wxListBox, isSelected, 1}}, + {1653, {wxListBox, set, 2}}, + {1654, {wxListBox, hitTest, 1}}, + {1655, {wxListBox, setFirstItem_1_0, 1}}, + {1656, {wxListBox, setFirstItem_1_1, 1}}, + {1657, {wxListCtrl, new_0, 0}}, + {1658, {wxListCtrl, new_2, 2}}, + {1659, {wxListCtrl, arrange, 1}}, + {1660, {wxListCtrl, assignImageList, 2}}, + {1661, {wxListCtrl, clearAll, 0}}, + {1662, {wxListCtrl, create, 2}}, + {1663, {wxListCtrl, deleteAllItems, 0}}, + {1664, {wxListCtrl, deleteColumn, 1}}, + {1665, {wxListCtrl, deleteItem, 1}}, + {1666, {wxListCtrl, editLabel, 1}}, + {1667, {wxListCtrl, ensureVisible, 1}}, + {1668, {wxListCtrl, findItem_3_0, 3}}, + {1669, {wxListCtrl, findItem_3_1, 3}}, + {1670, {wxListCtrl, getColumn, 2}}, + {1671, {wxListCtrl, getColumnCount, 0}}, + {1672, {wxListCtrl, getColumnWidth, 1}}, + {1673, {wxListCtrl, getCountPerPage, 0}}, + {1674, {wxListCtrl, getEditControl, 0}}, + {1675, {wxListCtrl, getImageList, 1}}, + {1676, {wxListCtrl, getItem, 1}}, + {1677, {wxListCtrl, getItemBackgroundColour, 1}}, + {1678, {wxListCtrl, getItemCount, 0}}, + {1679, {wxListCtrl, getItemData, 1}}, + {1680, {wxListCtrl, getItemFont, 1}}, + {1681, {wxListCtrl, getItemPosition, 2}}, + {1682, {wxListCtrl, getItemRect, 3}}, + {1683, {wxListCtrl, getItemSpacing, 0}}, + {1684, {wxListCtrl, getItemState, 2}}, + {1685, {wxListCtrl, getItemText, 1}}, + {1686, {wxListCtrl, getItemTextColour, 1}}, + {1687, {wxListCtrl, getNextItem, 2}}, + {1688, {wxListCtrl, getSelectedItemCount, 0}}, + {1689, {wxListCtrl, getTextColour, 0}}, + {1690, {wxListCtrl, getTopItem, 0}}, + {1691, {wxListCtrl, getViewRect, 0}}, + {1692, {wxListCtrl, hitTest, 2}}, + {1693, {wxListCtrl, insertColumn_2, 2}}, + {1694, {wxListCtrl, insertColumn_3, 3}}, + {1695, {wxListCtrl, insertItem_1, 1}}, + {1696, {wxListCtrl, insertItem_2_1, 2}}, + {1697, {wxListCtrl, insertItem_2_0, 2}}, + {1698, {wxListCtrl, insertItem_3, 3}}, + {1699, {wxListCtrl, refreshItem, 1}}, + {1700, {wxListCtrl, refreshItems, 2}}, + {1701, {wxListCtrl, scrollList, 2}}, + {1702, {wxListCtrl, setBackgroundColour, 1}}, + {1703, {wxListCtrl, setColumn, 2}}, + {1704, {wxListCtrl, setColumnWidth, 2}}, + {1705, {wxListCtrl, setImageList, 2}}, + {1706, {wxListCtrl, setItem_1, 1}}, + {1707, {wxListCtrl, setItem_4, 4}}, + {1708, {wxListCtrl, setItemBackgroundColour, 2}}, + {1709, {wxListCtrl, setItemCount, 1}}, + {1710, {wxListCtrl, setItemData, 2}}, + {1711, {wxListCtrl, setItemFont, 2}}, + {1712, {wxListCtrl, setItemImage, 3}}, + {1713, {wxListCtrl, setItemColumnImage, 3}}, + {1714, {wxListCtrl, setItemPosition, 2}}, + {1715, {wxListCtrl, setItemState, 3}}, + {1716, {wxListCtrl, setItemText, 2}}, + {1717, {wxListCtrl, setItemTextColour, 2}}, + {1718, {wxListCtrl, setSingleStyle, 2}}, + {1719, {wxListCtrl, setTextColour, 1}}, + {1720, {wxListCtrl, setWindowStyleFlag, 1}}, + {1721, {wxListCtrl, sortItems, 2}}, + {1722, {wxListCtrl, 'Destroy', undefined}}, + {1723, {wxListView, clearColumnImage, 1}}, + {1724, {wxListView, focus, 1}}, + {1725, {wxListView, getFirstSelected, 0}}, + {1726, {wxListView, getFocusedItem, 0}}, + {1727, {wxListView, getNextSelected, 1}}, + {1728, {wxListView, isSelected, 1}}, + {1729, {wxListView, select, 2}}, + {1730, {wxListView, setColumnImage, 2}}, + {1731, {wxListItem, new_0, 0}}, + {1732, {wxListItem, new_1, 1}}, + {1733, {wxListItem, destruct, 0}}, + {1734, {wxListItem, clear, 0}}, + {1735, {wxListItem, getAlign, 0}}, + {1736, {wxListItem, getBackgroundColour, 0}}, + {1737, {wxListItem, getColumn, 0}}, + {1738, {wxListItem, getFont, 0}}, + {1739, {wxListItem, getId, 0}}, + {1740, {wxListItem, getImage, 0}}, + {1741, {wxListItem, getMask, 0}}, + {1742, {wxListItem, getState, 0}}, + {1743, {wxListItem, getText, 0}}, + {1744, {wxListItem, getTextColour, 0}}, + {1745, {wxListItem, getWidth, 0}}, + {1746, {wxListItem, setAlign, 1}}, + {1747, {wxListItem, setBackgroundColour, 1}}, + {1748, {wxListItem, setColumn, 1}}, + {1749, {wxListItem, setFont, 1}}, + {1750, {wxListItem, setId, 1}}, + {1751, {wxListItem, setImage, 1}}, + {1752, {wxListItem, setMask, 1}}, + {1753, {wxListItem, setState, 1}}, + {1754, {wxListItem, setStateMask, 1}}, + {1755, {wxListItem, setText, 1}}, + {1756, {wxListItem, setTextColour, 1}}, + {1757, {wxListItem, setWidth, 1}}, + {1758, {wxListItemAttr, new_0, 0}}, + {1759, {wxListItemAttr, new_3, 3}}, + {1760, {wxListItemAttr, getBackgroundColour, 0}}, + {1761, {wxListItemAttr, getFont, 0}}, + {1762, {wxListItemAttr, getTextColour, 0}}, + {1763, {wxListItemAttr, hasBackgroundColour, 0}}, + {1764, {wxListItemAttr, hasFont, 0}}, + {1765, {wxListItemAttr, hasTextColour, 0}}, + {1766, {wxListItemAttr, setBackgroundColour, 1}}, + {1767, {wxListItemAttr, setFont, 1}}, + {1768, {wxListItemAttr, setTextColour, 1}}, + {1769, {wxListItemAttr, 'Destroy', undefined}}, + {1770, {wxImageList, new_0, 0}}, + {1771, {wxImageList, new_3, 3}}, + {1772, {wxImageList, add_1, 1}}, + {1773, {wxImageList, add_2_0, 2}}, + {1774, {wxImageList, add_2_1, 2}}, + {1775, {wxImageList, create, 3}}, + {1777, {wxImageList, draw, 5}}, + {1778, {wxImageList, getBitmap, 1}}, + {1779, {wxImageList, getIcon, 1}}, + {1780, {wxImageList, getImageCount, 0}}, + {1781, {wxImageList, getSize, 3}}, + {1782, {wxImageList, remove, 1}}, + {1783, {wxImageList, removeAll, 0}}, + {1784, {wxImageList, replace_2, 2}}, + {1785, {wxImageList, replace_3, 3}}, + {1786, {wxImageList, 'Destroy', undefined}}, + {1787, {wxTextAttr, new_0, 0}}, + {1788, {wxTextAttr, new_2, 2}}, + {1789, {wxTextAttr, getAlignment, 0}}, + {1790, {wxTextAttr, getBackgroundColour, 0}}, + {1791, {wxTextAttr, getFont, 0}}, + {1792, {wxTextAttr, getLeftIndent, 0}}, + {1793, {wxTextAttr, getLeftSubIndent, 0}}, + {1794, {wxTextAttr, getRightIndent, 0}}, + {1795, {wxTextAttr, getTabs, 0}}, + {1796, {wxTextAttr, getTextColour, 0}}, + {1797, {wxTextAttr, hasBackgroundColour, 0}}, + {1798, {wxTextAttr, hasFont, 0}}, + {1799, {wxTextAttr, hasTextColour, 0}}, + {1800, {wxTextAttr, getFlags, 0}}, + {1801, {wxTextAttr, isDefault, 0}}, + {1802, {wxTextAttr, setAlignment, 1}}, + {1803, {wxTextAttr, setBackgroundColour, 1}}, + {1804, {wxTextAttr, setFlags, 1}}, + {1805, {wxTextAttr, setFont, 2}}, + {1806, {wxTextAttr, setLeftIndent, 2}}, + {1807, {wxTextAttr, setRightIndent, 1}}, + {1808, {wxTextAttr, setTabs, 1}}, + {1809, {wxTextAttr, setTextColour, 1}}, + {1810, {wxTextAttr, 'Destroy', undefined}}, + {1812, {wxTextCtrl, new_3, 3}}, + {1813, {wxTextCtrl, new_0, 0}}, + {1815, {wxTextCtrl, destruct, 0}}, + {1816, {wxTextCtrl, appendText, 1}}, + {1817, {wxTextCtrl, canCopy, 0}}, + {1818, {wxTextCtrl, canCut, 0}}, + {1819, {wxTextCtrl, canPaste, 0}}, + {1820, {wxTextCtrl, canRedo, 0}}, + {1821, {wxTextCtrl, canUndo, 0}}, + {1822, {wxTextCtrl, clear, 0}}, + {1823, {wxTextCtrl, copy, 0}}, + {1824, {wxTextCtrl, create, 3}}, + {1825, {wxTextCtrl, cut, 0}}, + {1826, {wxTextCtrl, discardEdits, 0}}, + {1827, {wxTextCtrl, emulateKeyPress, 1}}, + {1828, {wxTextCtrl, getDefaultStyle, 0}}, + {1829, {wxTextCtrl, getInsertionPoint, 0}}, + {1830, {wxTextCtrl, getLastPosition, 0}}, + {1831, {wxTextCtrl, getLineLength, 1}}, + {1832, {wxTextCtrl, getLineText, 1}}, + {1833, {wxTextCtrl, getNumberOfLines, 0}}, + {1834, {wxTextCtrl, getRange, 2}}, + {1835, {wxTextCtrl, getSelection, 2}}, + {1836, {wxTextCtrl, getStringSelection, 0}}, + {1837, {wxTextCtrl, getStyle, 2}}, + {1838, {wxTextCtrl, getValue, 0}}, + {1839, {wxTextCtrl, isEditable, 0}}, + {1840, {wxTextCtrl, isModified, 0}}, + {1841, {wxTextCtrl, isMultiLine, 0}}, + {1842, {wxTextCtrl, isSingleLine, 0}}, + {1843, {wxTextCtrl, loadFile, 2}}, + {1844, {wxTextCtrl, markDirty, 0}}, + {1845, {wxTextCtrl, paste, 0}}, + {1846, {wxTextCtrl, positionToXY, 3}}, + {1847, {wxTextCtrl, redo, 0}}, + {1848, {wxTextCtrl, remove, 2}}, + {1849, {wxTextCtrl, replace, 3}}, + {1850, {wxTextCtrl, saveFile, 1}}, + {1851, {wxTextCtrl, setDefaultStyle, 1}}, + {1852, {wxTextCtrl, setEditable, 1}}, + {1853, {wxTextCtrl, setInsertionPoint, 1}}, + {1854, {wxTextCtrl, setInsertionPointEnd, 0}}, + {1856, {wxTextCtrl, setMaxLength, 1}}, + {1857, {wxTextCtrl, setSelection, 2}}, + {1858, {wxTextCtrl, setStyle, 3}}, + {1859, {wxTextCtrl, setValue, 1}}, + {1860, {wxTextCtrl, showPosition, 1}}, + {1861, {wxTextCtrl, undo, 0}}, + {1862, {wxTextCtrl, writeText, 1}}, + {1863, {wxTextCtrl, xYToPosition, 2}}, + {1866, {wxNotebook, new_0, 0}}, + {1867, {wxNotebook, new_3, 3}}, + {1868, {wxNotebook, destruct, 0}}, + {1869, {wxNotebook, addPage, 3}}, + {1870, {wxNotebook, advanceSelection, 1}}, + {1871, {wxNotebook, assignImageList, 1}}, + {1872, {wxNotebook, create, 3}}, + {1873, {wxNotebook, deleteAllPages, 0}}, + {1874, {wxNotebook, deletePage, 1}}, + {1875, {wxNotebook, removePage, 1}}, + {1876, {wxNotebook, getCurrentPage, 0}}, + {1877, {wxNotebook, getImageList, 0}}, + {1879, {wxNotebook, getPage, 1}}, + {1880, {wxNotebook, getPageCount, 0}}, + {1881, {wxNotebook, getPageImage, 1}}, + {1882, {wxNotebook, getPageText, 1}}, + {1883, {wxNotebook, getRowCount, 0}}, + {1884, {wxNotebook, getSelection, 0}}, + {1885, {wxNotebook, getThemeBackgroundColour, 0}}, + {1887, {wxNotebook, hitTest, 2}}, + {1889, {wxNotebook, insertPage, 4}}, + {1890, {wxNotebook, setImageList, 1}}, + {1891, {wxNotebook, setPadding, 1}}, + {1892, {wxNotebook, setPageSize, 1}}, + {1893, {wxNotebook, setPageImage, 2}}, + {1894, {wxNotebook, setPageText, 2}}, + {1895, {wxNotebook, setSelection, 1}}, + {1896, {wxNotebook, changeSelection, 1}}, + {1897, {wxChoicebook, new_0, 0}}, + {1898, {wxChoicebook, new_3, 3}}, + {1899, {wxChoicebook, addPage, 3}}, + {1900, {wxChoicebook, advanceSelection, 1}}, + {1901, {wxChoicebook, assignImageList, 1}}, + {1902, {wxChoicebook, create, 3}}, + {1903, {wxChoicebook, deleteAllPages, 0}}, + {1904, {wxChoicebook, deletePage, 1}}, + {1905, {wxChoicebook, removePage, 1}}, + {1906, {wxChoicebook, getCurrentPage, 0}}, + {1907, {wxChoicebook, getImageList, 0}}, + {1909, {wxChoicebook, getPage, 1}}, + {1910, {wxChoicebook, getPageCount, 0}}, + {1911, {wxChoicebook, getPageImage, 1}}, + {1912, {wxChoicebook, getPageText, 1}}, + {1913, {wxChoicebook, getSelection, 0}}, + {1914, {wxChoicebook, hitTest, 2}}, + {1915, {wxChoicebook, insertPage, 4}}, + {1916, {wxChoicebook, setImageList, 1}}, + {1917, {wxChoicebook, setPageSize, 1}}, + {1918, {wxChoicebook, setPageImage, 2}}, + {1919, {wxChoicebook, setPageText, 2}}, + {1920, {wxChoicebook, setSelection, 1}}, + {1921, {wxChoicebook, changeSelection, 1}}, + {1922, {wxChoicebook, 'Destroy', undefined}}, + {1923, {wxToolbook, new_0, 0}}, + {1924, {wxToolbook, new_3, 3}}, + {1925, {wxToolbook, addPage, 3}}, + {1926, {wxToolbook, advanceSelection, 1}}, + {1927, {wxToolbook, assignImageList, 1}}, + {1928, {wxToolbook, create, 3}}, + {1929, {wxToolbook, deleteAllPages, 0}}, + {1930, {wxToolbook, deletePage, 1}}, + {1931, {wxToolbook, removePage, 1}}, + {1932, {wxToolbook, getCurrentPage, 0}}, + {1933, {wxToolbook, getImageList, 0}}, + {1935, {wxToolbook, getPage, 1}}, + {1936, {wxToolbook, getPageCount, 0}}, + {1937, {wxToolbook, getPageImage, 1}}, + {1938, {wxToolbook, getPageText, 1}}, + {1939, {wxToolbook, getSelection, 0}}, + {1941, {wxToolbook, hitTest, 2}}, + {1942, {wxToolbook, insertPage, 4}}, + {1943, {wxToolbook, setImageList, 1}}, + {1944, {wxToolbook, setPageSize, 1}}, + {1945, {wxToolbook, setPageImage, 2}}, + {1946, {wxToolbook, setPageText, 2}}, + {1947, {wxToolbook, setSelection, 1}}, + {1948, {wxToolbook, changeSelection, 1}}, + {1949, {wxToolbook, 'Destroy', undefined}}, + {1950, {wxListbook, new_0, 0}}, + {1951, {wxListbook, new_3, 3}}, + {1952, {wxListbook, addPage, 3}}, + {1953, {wxListbook, advanceSelection, 1}}, + {1954, {wxListbook, assignImageList, 1}}, + {1955, {wxListbook, create, 3}}, + {1956, {wxListbook, deleteAllPages, 0}}, + {1957, {wxListbook, deletePage, 1}}, + {1958, {wxListbook, removePage, 1}}, + {1959, {wxListbook, getCurrentPage, 0}}, + {1960, {wxListbook, getImageList, 0}}, + {1962, {wxListbook, getPage, 1}}, + {1963, {wxListbook, getPageCount, 0}}, + {1964, {wxListbook, getPageImage, 1}}, + {1965, {wxListbook, getPageText, 1}}, + {1966, {wxListbook, getSelection, 0}}, + {1968, {wxListbook, hitTest, 2}}, + {1969, {wxListbook, insertPage, 4}}, + {1970, {wxListbook, setImageList, 1}}, + {1971, {wxListbook, setPageSize, 1}}, + {1972, {wxListbook, setPageImage, 2}}, + {1973, {wxListbook, setPageText, 2}}, + {1974, {wxListbook, setSelection, 1}}, + {1975, {wxListbook, changeSelection, 1}}, + {1976, {wxListbook, 'Destroy', undefined}}, + {1977, {wxTreebook, new_0, 0}}, + {1978, {wxTreebook, new_3, 3}}, + {1979, {wxTreebook, addPage, 3}}, + {1980, {wxTreebook, advanceSelection, 1}}, + {1981, {wxTreebook, assignImageList, 1}}, + {1982, {wxTreebook, create, 3}}, + {1983, {wxTreebook, deleteAllPages, 0}}, + {1984, {wxTreebook, deletePage, 1}}, + {1985, {wxTreebook, removePage, 1}}, + {1986, {wxTreebook, getCurrentPage, 0}}, + {1987, {wxTreebook, getImageList, 0}}, + {1989, {wxTreebook, getPage, 1}}, + {1990, {wxTreebook, getPageCount, 0}}, + {1991, {wxTreebook, getPageImage, 1}}, + {1992, {wxTreebook, getPageText, 1}}, + {1993, {wxTreebook, getSelection, 0}}, + {1994, {wxTreebook, expandNode, 2}}, + {1995, {wxTreebook, isNodeExpanded, 1}}, + {1997, {wxTreebook, hitTest, 2}}, + {1998, {wxTreebook, insertPage, 4}}, + {1999, {wxTreebook, insertSubPage, 4}}, + {2000, {wxTreebook, setImageList, 1}}, + {2001, {wxTreebook, setPageSize, 1}}, + {2002, {wxTreebook, setPageImage, 2}}, + {2003, {wxTreebook, setPageText, 2}}, + {2004, {wxTreebook, setSelection, 1}}, + {2005, {wxTreebook, changeSelection, 1}}, + {2006, {wxTreebook, 'Destroy', undefined}}, + {2009, {wxTreeCtrl, new_2, 2}}, + {2010, {wxTreeCtrl, new_0, 0}}, + {2012, {wxTreeCtrl, destruct, 0}}, + {2013, {wxTreeCtrl, addRoot, 2}}, + {2014, {wxTreeCtrl, appendItem, 3}}, + {2015, {wxTreeCtrl, assignImageList, 1}}, + {2016, {wxTreeCtrl, assignStateImageList, 1}}, + {2017, {wxTreeCtrl, collapse, 1}}, + {2018, {wxTreeCtrl, collapseAndReset, 1}}, + {2019, {wxTreeCtrl, create, 2}}, + {2020, {wxTreeCtrl, delete, 1}}, + {2021, {wxTreeCtrl, deleteAllItems, 0}}, + {2022, {wxTreeCtrl, deleteChildren, 1}}, + {2023, {wxTreeCtrl, editLabel, 1}}, + {2024, {wxTreeCtrl, ensureVisible, 1}}, + {2025, {wxTreeCtrl, expand, 1}}, + {2026, {wxTreeCtrl, getBoundingRect, 3}}, + {2028, {wxTreeCtrl, getChildrenCount, 2}}, + {2029, {wxTreeCtrl, getCount, 0}}, + {2030, {wxTreeCtrl, getEditControl, 0}}, + {2031, {wxTreeCtrl, getFirstChild, 2}}, + {2032, {wxTreeCtrl, getNextChild, 2}}, + {2033, {wxTreeCtrl, getFirstVisibleItem, 0}}, + {2034, {wxTreeCtrl, getImageList, 0}}, + {2035, {wxTreeCtrl, getIndent, 0}}, + {2036, {wxTreeCtrl, getItemBackgroundColour, 1}}, + {2037, {wxTreeCtrl, getItemData, 1}}, + {2038, {wxTreeCtrl, getItemFont, 1}}, + {2039, {wxTreeCtrl, getItemImage_1, 1}}, + {2040, {wxTreeCtrl, getItemImage_2, 2}}, + {2041, {wxTreeCtrl, getItemText, 1}}, + {2042, {wxTreeCtrl, getItemTextColour, 1}}, + {2043, {wxTreeCtrl, getLastChild, 1}}, + {2044, {wxTreeCtrl, getNextSibling, 1}}, + {2045, {wxTreeCtrl, getNextVisible, 1}}, + {2046, {wxTreeCtrl, getItemParent, 1}}, + {2047, {wxTreeCtrl, getPrevSibling, 1}}, + {2048, {wxTreeCtrl, getPrevVisible, 1}}, + {2049, {wxTreeCtrl, getRootItem, 0}}, + {2050, {wxTreeCtrl, getSelection, 0}}, + {2051, {wxTreeCtrl, getSelections, 1}}, + {2052, {wxTreeCtrl, getStateImageList, 0}}, + {2053, {wxTreeCtrl, hitTest, 1}}, + {2055, {wxTreeCtrl, insertItem, 4}}, + {2056, {wxTreeCtrl, isBold, 1}}, + {2057, {wxTreeCtrl, isExpanded, 1}}, + {2058, {wxTreeCtrl, isSelected, 1}}, + {2059, {wxTreeCtrl, isVisible, 1}}, + {2060, {wxTreeCtrl, itemHasChildren, 1}}, + {2061, {wxTreeCtrl, prependItem, 3}}, + {2062, {wxTreeCtrl, scrollTo, 1}}, + {2063, {wxTreeCtrl, selectItem_1, 1}}, + {2064, {wxTreeCtrl, selectItem_2, 2}}, + {2065, {wxTreeCtrl, setIndent, 1}}, + {2066, {wxTreeCtrl, setImageList, 1}}, + {2067, {wxTreeCtrl, setItemBackgroundColour, 2}}, + {2068, {wxTreeCtrl, setItemBold, 2}}, + {2069, {wxTreeCtrl, setItemData, 2}}, + {2070, {wxTreeCtrl, setItemDropHighlight, 2}}, + {2071, {wxTreeCtrl, setItemFont, 2}}, + {2072, {wxTreeCtrl, setItemHasChildren, 2}}, + {2073, {wxTreeCtrl, setItemImage_2, 2}}, + {2074, {wxTreeCtrl, setItemImage_3, 3}}, + {2075, {wxTreeCtrl, setItemText, 2}}, + {2076, {wxTreeCtrl, setItemTextColour, 2}}, + {2077, {wxTreeCtrl, setStateImageList, 1}}, + {2078, {wxTreeCtrl, setWindowStyle, 1}}, + {2079, {wxTreeCtrl, sortChildren, 1}}, + {2080, {wxTreeCtrl, toggle, 1}}, + {2081, {wxTreeCtrl, toggleItemSelection, 1}}, + {2082, {wxTreeCtrl, unselect, 0}}, + {2083, {wxTreeCtrl, unselectAll, 0}}, + {2084, {wxTreeCtrl, unselectItem, 1}}, + {2085, {wxScrollBar, new_0, 0}}, + {2086, {wxScrollBar, new_3, 3}}, + {2087, {wxScrollBar, destruct, 0}}, + {2088, {wxScrollBar, create, 3}}, + {2089, {wxScrollBar, getRange, 0}}, + {2090, {wxScrollBar, getPageSize, 0}}, + {2091, {wxScrollBar, getThumbPosition, 0}}, + {2092, {wxScrollBar, getThumbSize, 0}}, + {2093, {wxScrollBar, setThumbPosition, 1}}, + {2094, {wxScrollBar, setScrollbar, 5}}, + {2096, {wxSpinButton, new_2, 2}}, + {2097, {wxSpinButton, new_0, 0}}, + {2098, {wxSpinButton, create, 2}}, + {2099, {wxSpinButton, getMax, 0}}, + {2100, {wxSpinButton, getMin, 0}}, + {2101, {wxSpinButton, getValue, 0}}, + {2102, {wxSpinButton, setRange, 2}}, + {2103, {wxSpinButton, setValue, 1}}, + {2104, {wxSpinButton, 'Destroy', undefined}}, + {2105, {wxSpinCtrl, new_0, 0}}, + {2106, {wxSpinCtrl, new_2, 2}}, + {2108, {wxSpinCtrl, create, 2}}, + {2111, {wxSpinCtrl, setValue_1_1, 1}}, + {2112, {wxSpinCtrl, setValue_1_0, 1}}, + {2114, {wxSpinCtrl, getValue, 0}}, + {2116, {wxSpinCtrl, setRange, 2}}, + {2117, {wxSpinCtrl, setSelection, 2}}, + {2119, {wxSpinCtrl, getMin, 0}}, + {2121, {wxSpinCtrl, getMax, 0}}, + {2122, {wxSpinCtrl, 'Destroy', undefined}}, + {2123, {wxStaticText, new_0, 0}}, + {2124, {wxStaticText, new_4, 4}}, + {2125, {wxStaticText, create, 4}}, + {2126, {wxStaticText, getLabel, 0}}, + {2127, {wxStaticText, setLabel, 1}}, + {2128, {wxStaticText, wrap, 1}}, + {2129, {wxStaticText, 'Destroy', undefined}}, + {2130, {wxStaticBitmap, new_0, 0}}, + {2131, {wxStaticBitmap, new_4, 4}}, + {2132, {wxStaticBitmap, create, 4}}, + {2133, {wxStaticBitmap, getBitmap, 0}}, + {2134, {wxStaticBitmap, setBitmap, 1}}, + {2135, {wxStaticBitmap, 'Destroy', undefined}}, + {2136, {wxRadioBox, new, 7}}, + {2138, {wxRadioBox, destruct, 0}}, + {2139, {wxRadioBox, create, 7}}, + {2140, {wxRadioBox, enable_2, 2}}, + {2141, {wxRadioBox, enable_1, 1}}, + {2142, {wxRadioBox, getSelection, 0}}, + {2143, {wxRadioBox, getString, 1}}, + {2144, {wxRadioBox, setSelection, 1}}, + {2145, {wxRadioBox, show_2, 2}}, + {2146, {wxRadioBox, show_1, 1}}, + {2147, {wxRadioBox, getColumnCount, 0}}, + {2148, {wxRadioBox, getItemHelpText, 1}}, + {2149, {wxRadioBox, getItemToolTip, 1}}, + {2151, {wxRadioBox, getItemFromPoint, 1}}, + {2152, {wxRadioBox, getRowCount, 0}}, + {2153, {wxRadioBox, isItemEnabled, 1}}, + {2154, {wxRadioBox, isItemShown, 1}}, + {2155, {wxRadioBox, setItemHelpText, 2}}, + {2156, {wxRadioBox, setItemToolTip, 2}}, + {2157, {wxRadioButton, new_0, 0}}, + {2158, {wxRadioButton, new_4, 4}}, + {2159, {wxRadioButton, create, 4}}, + {2160, {wxRadioButton, getValue, 0}}, + {2161, {wxRadioButton, setValue, 1}}, + {2162, {wxRadioButton, 'Destroy', undefined}}, + {2164, {wxSlider, new_6, 6}}, + {2165, {wxSlider, new_0, 0}}, + {2166, {wxSlider, create, 6}}, + {2167, {wxSlider, getLineSize, 0}}, + {2168, {wxSlider, getMax, 0}}, + {2169, {wxSlider, getMin, 0}}, + {2170, {wxSlider, getPageSize, 0}}, + {2171, {wxSlider, getThumbLength, 0}}, + {2172, {wxSlider, getValue, 0}}, + {2173, {wxSlider, setLineSize, 1}}, + {2174, {wxSlider, setPageSize, 1}}, + {2175, {wxSlider, setRange, 2}}, + {2176, {wxSlider, setThumbLength, 1}}, + {2177, {wxSlider, setValue, 1}}, + {2178, {wxSlider, 'Destroy', undefined}}, + {2180, {wxDialog, new_4, 4}}, + {2181, {wxDialog, new_0, 0}}, + {2183, {wxDialog, destruct, 0}}, + {2184, {wxDialog, create, 4}}, + {2185, {wxDialog, createButtonSizer, 1}}, + {2186, {wxDialog, createStdDialogButtonSizer, 1}}, + {2187, {wxDialog, endModal, 1}}, + {2188, {wxDialog, getAffirmativeId, 0}}, + {2189, {wxDialog, getReturnCode, 0}}, + {2190, {wxDialog, isModal, 0}}, + {2191, {wxDialog, setAffirmativeId, 1}}, + {2192, {wxDialog, setReturnCode, 1}}, + {2193, {wxDialog, show, 1}}, + {2194, {wxDialog, showModal, 0}}, + {2195, {wxColourDialog, new_0, 0}}, + {2196, {wxColourDialog, new_2, 2}}, + {2197, {wxColourDialog, destruct, 0}}, + {2198, {wxColourDialog, create, 2}}, + {2199, {wxColourDialog, getColourData, 0}}, + {2200, {wxColourData, new_0, 0}}, + {2201, {wxColourData, new_1, 1}}, + {2202, {wxColourData, destruct, 0}}, + {2203, {wxColourData, getChooseFull, 0}}, + {2204, {wxColourData, getColour, 0}}, + {2206, {wxColourData, getCustomColour, 1}}, + {2207, {wxColourData, setChooseFull, 1}}, + {2208, {wxColourData, setColour, 1}}, + {2209, {wxColourData, setCustomColour, 2}}, + {2210, {wxPalette, new_0, 0}}, + {2211, {wxPalette, new_4, 4}}, + {2213, {wxPalette, destruct, 0}}, + {2214, {wxPalette, create, 4}}, + {2215, {wxPalette, getColoursCount, 0}}, + {2216, {wxPalette, getPixel, 3}}, + {2217, {wxPalette, getRGB, 4}}, + {2218, {wxPalette, isOk, 0}}, + {2222, {wxDirDialog, new, 2}}, + {2223, {wxDirDialog, destruct, 0}}, + {2224, {wxDirDialog, getPath, 0}}, + {2225, {wxDirDialog, getMessage, 0}}, + {2226, {wxDirDialog, setMessage, 1}}, + {2227, {wxDirDialog, setPath, 1}}, + {2231, {wxFileDialog, new, 2}}, + {2232, {wxFileDialog, destruct, 0}}, + {2233, {wxFileDialog, getDirectory, 0}}, + {2234, {wxFileDialog, getFilename, 0}}, + {2235, {wxFileDialog, getFilenames, 1}}, + {2236, {wxFileDialog, getFilterIndex, 0}}, + {2237, {wxFileDialog, getMessage, 0}}, + {2238, {wxFileDialog, getPath, 0}}, + {2239, {wxFileDialog, getPaths, 1}}, + {2240, {wxFileDialog, getWildcard, 0}}, + {2241, {wxFileDialog, setDirectory, 1}}, + {2242, {wxFileDialog, setFilename, 1}}, + {2243, {wxFileDialog, setFilterIndex, 1}}, + {2244, {wxFileDialog, setMessage, 1}}, + {2245, {wxFileDialog, setPath, 1}}, + {2246, {wxFileDialog, setWildcard, 1}}, + {2247, {wxPickerBase, setInternalMargin, 1}}, + {2248, {wxPickerBase, getInternalMargin, 0}}, + {2249, {wxPickerBase, setTextCtrlProportion, 1}}, + {2250, {wxPickerBase, setPickerCtrlProportion, 1}}, + {2251, {wxPickerBase, getTextCtrlProportion, 0}}, + {2252, {wxPickerBase, getPickerCtrlProportion, 0}}, + {2253, {wxPickerBase, hasTextCtrl, 0}}, + {2254, {wxPickerBase, getTextCtrl, 0}}, + {2255, {wxPickerBase, isTextCtrlGrowable, 0}}, + {2256, {wxPickerBase, setPickerCtrlGrowable, 1}}, + {2257, {wxPickerBase, setTextCtrlGrowable, 1}}, + {2258, {wxPickerBase, isPickerCtrlGrowable, 0}}, + {2259, {wxFilePickerCtrl, new_0, 0}}, + {2260, {wxFilePickerCtrl, new_3, 3}}, + {2261, {wxFilePickerCtrl, create, 3}}, + {2262, {wxFilePickerCtrl, getPath, 0}}, + {2263, {wxFilePickerCtrl, setPath, 1}}, + {2264, {wxFilePickerCtrl, 'Destroy', undefined}}, + {2265, {wxDirPickerCtrl, new_0, 0}}, + {2266, {wxDirPickerCtrl, new_3, 3}}, + {2267, {wxDirPickerCtrl, create, 3}}, + {2268, {wxDirPickerCtrl, getPath, 0}}, + {2269, {wxDirPickerCtrl, setPath, 1}}, + {2270, {wxDirPickerCtrl, 'Destroy', undefined}}, + {2271, {wxColourPickerCtrl, new_0, 0}}, + {2272, {wxColourPickerCtrl, new_3, 3}}, + {2273, {wxColourPickerCtrl, create, 3}}, + {2274, {wxColourPickerCtrl, getColour, 0}}, + {2275, {wxColourPickerCtrl, setColour_1_1, 1}}, + {2276, {wxColourPickerCtrl, setColour_1_0, 1}}, + {2277, {wxColourPickerCtrl, 'Destroy', undefined}}, + {2278, {wxDatePickerCtrl, new_0, 0}}, + {2279, {wxDatePickerCtrl, new_3, 3}}, + {2280, {wxDatePickerCtrl, getRange, 2}}, + {2281, {wxDatePickerCtrl, getValue, 0}}, + {2282, {wxDatePickerCtrl, setRange, 2}}, + {2283, {wxDatePickerCtrl, setValue, 1}}, + {2284, {wxDatePickerCtrl, 'Destroy', undefined}}, + {2285, {wxFontPickerCtrl, new_0, 0}}, + {2286, {wxFontPickerCtrl, new_3, 3}}, + {2287, {wxFontPickerCtrl, create, 3}}, + {2288, {wxFontPickerCtrl, getSelectedFont, 0}}, + {2289, {wxFontPickerCtrl, setSelectedFont, 1}}, + {2290, {wxFontPickerCtrl, getMaxPointSize, 0}}, + {2291, {wxFontPickerCtrl, setMaxPointSize, 1}}, + {2292, {wxFontPickerCtrl, 'Destroy', undefined}}, + {2295, {wxFindReplaceDialog, new_0, 0}}, + {2296, {wxFindReplaceDialog, new_4, 4}}, + {2297, {wxFindReplaceDialog, destruct, 0}}, + {2298, {wxFindReplaceDialog, create, 4}}, + {2299, {wxFindReplaceDialog, getData, 0}}, + {2300, {wxFindReplaceData, new_0, 0}}, + {2301, {wxFindReplaceData, new_1, 1}}, + {2302, {wxFindReplaceData, getFindString, 0}}, + {2303, {wxFindReplaceData, getReplaceString, 0}}, + {2304, {wxFindReplaceData, getFlags, 0}}, + {2305, {wxFindReplaceData, setFlags, 1}}, + {2306, {wxFindReplaceData, setFindString, 1}}, + {2307, {wxFindReplaceData, setReplaceString, 1}}, + {2308, {wxFindReplaceData, 'Destroy', undefined}}, + {2309, {wxMultiChoiceDialog, new_0, 0}}, + {2311, {wxMultiChoiceDialog, new_5, 5}}, + {2312, {wxMultiChoiceDialog, getSelections, 0}}, + {2313, {wxMultiChoiceDialog, setSelections, 1}}, + {2314, {wxMultiChoiceDialog, 'Destroy', undefined}}, + {2315, {wxSingleChoiceDialog, new_0, 0}}, + {2317, {wxSingleChoiceDialog, new_5, 5}}, + {2318, {wxSingleChoiceDialog, getSelection, 0}}, + {2319, {wxSingleChoiceDialog, getStringSelection, 0}}, + {2320, {wxSingleChoiceDialog, setSelection, 1}}, + {2321, {wxSingleChoiceDialog, 'Destroy', undefined}}, + {2322, {wxTextEntryDialog, new, 3}}, + {2323, {wxTextEntryDialog, getValue, 0}}, + {2324, {wxTextEntryDialog, setValue, 1}}, + {2325, {wxTextEntryDialog, 'Destroy', undefined}}, + {2326, {wxPasswordEntryDialog, new, 3}}, + {2327, {wxPasswordEntryDialog, 'Destroy', undefined}}, + {2328, {wxFontData, new_0, 0}}, + {2329, {wxFontData, new_1, 1}}, + {2330, {wxFontData, destruct, 0}}, + {2331, {wxFontData, enableEffects, 1}}, + {2332, {wxFontData, getAllowSymbols, 0}}, + {2333, {wxFontData, getColour, 0}}, + {2334, {wxFontData, getChosenFont, 0}}, + {2335, {wxFontData, getEnableEffects, 0}}, + {2336, {wxFontData, getInitialFont, 0}}, + {2337, {wxFontData, getShowHelp, 0}}, + {2338, {wxFontData, setAllowSymbols, 1}}, + {2339, {wxFontData, setChosenFont, 1}}, + {2340, {wxFontData, setColour, 1}}, + {2341, {wxFontData, setInitialFont, 1}}, + {2342, {wxFontData, setRange, 2}}, + {2343, {wxFontData, setShowHelp, 1}}, + {2347, {wxFontDialog, new_0, 0}}, + {2349, {wxFontDialog, new_2, 2}}, + {2351, {wxFontDialog, create, 2}}, + {2352, {wxFontDialog, getFontData, 0}}, + {2354, {wxFontDialog, 'Destroy', undefined}}, + {2355, {wxProgressDialog, new, 3}}, + {2356, {wxProgressDialog, destruct, 0}}, + {2357, {wxProgressDialog, resume, 0}}, + {2358, {wxProgressDialog, update_2, 2}}, + {2359, {wxProgressDialog, update_0, 0}}, + {2360, {wxMessageDialog, new, 3}}, + {2361, {wxMessageDialog, destruct, 0}}, + {2362, {wxPageSetupDialog, new, 2}}, + {2363, {wxPageSetupDialog, destruct, 0}}, + {2364, {wxPageSetupDialog, getPageSetupData, 0}}, + {2365, {wxPageSetupDialog, showModal, 0}}, + {2366, {wxPageSetupDialogData, new_0, 0}}, + {2367, {wxPageSetupDialogData, new_1_0, 1}}, + {2368, {wxPageSetupDialogData, new_1_1, 1}}, + {2369, {wxPageSetupDialogData, destruct, 0}}, + {2370, {wxPageSetupDialogData, enableHelp, 1}}, + {2371, {wxPageSetupDialogData, enableMargins, 1}}, + {2372, {wxPageSetupDialogData, enableOrientation, 1}}, + {2373, {wxPageSetupDialogData, enablePaper, 1}}, + {2374, {wxPageSetupDialogData, enablePrinter, 1}}, + {2375, {wxPageSetupDialogData, getDefaultMinMargins, 0}}, + {2376, {wxPageSetupDialogData, getEnableMargins, 0}}, + {2377, {wxPageSetupDialogData, getEnableOrientation, 0}}, + {2378, {wxPageSetupDialogData, getEnablePaper, 0}}, + {2379, {wxPageSetupDialogData, getEnablePrinter, 0}}, + {2380, {wxPageSetupDialogData, getEnableHelp, 0}}, + {2381, {wxPageSetupDialogData, getDefaultInfo, 0}}, + {2382, {wxPageSetupDialogData, getMarginTopLeft, 0}}, + {2383, {wxPageSetupDialogData, getMarginBottomRight, 0}}, + {2384, {wxPageSetupDialogData, getMinMarginTopLeft, 0}}, + {2385, {wxPageSetupDialogData, getMinMarginBottomRight, 0}}, + {2386, {wxPageSetupDialogData, getPaperId, 0}}, + {2387, {wxPageSetupDialogData, getPaperSize, 0}}, + {2389, {wxPageSetupDialogData, getPrintData, 0}}, + {2390, {wxPageSetupDialogData, isOk, 0}}, + {2391, {wxPageSetupDialogData, setDefaultInfo, 1}}, + {2392, {wxPageSetupDialogData, setDefaultMinMargins, 1}}, + {2393, {wxPageSetupDialogData, setMarginTopLeft, 1}}, + {2394, {wxPageSetupDialogData, setMarginBottomRight, 1}}, + {2395, {wxPageSetupDialogData, setMinMarginTopLeft, 1}}, + {2396, {wxPageSetupDialogData, setMinMarginBottomRight, 1}}, + {2397, {wxPageSetupDialogData, setPaperId, 1}}, + {2398, {wxPageSetupDialogData, setPaperSize_1_1, 1}}, + {2399, {wxPageSetupDialogData, setPaperSize_1_0, 1}}, + {2400, {wxPageSetupDialogData, setPrintData, 1}}, + {2401, {wxPrintDialog, new_2_0, 2}}, + {2402, {wxPrintDialog, new_2_1, 2}}, + {2403, {wxPrintDialog, destruct, 0}}, + {2404, {wxPrintDialog, getPrintDialogData, 0}}, + {2405, {wxPrintDialog, getPrintDC, 0}}, + {2406, {wxPrintDialogData, new_0, 0}}, + {2407, {wxPrintDialogData, new_1_1, 1}}, + {2408, {wxPrintDialogData, new_1_0, 1}}, + {2409, {wxPrintDialogData, destruct, 0}}, + {2410, {wxPrintDialogData, enableHelp, 1}}, + {2411, {wxPrintDialogData, enablePageNumbers, 1}}, + {2412, {wxPrintDialogData, enablePrintToFile, 1}}, + {2413, {wxPrintDialogData, enableSelection, 1}}, + {2414, {wxPrintDialogData, getAllPages, 0}}, + {2415, {wxPrintDialogData, getCollate, 0}}, + {2416, {wxPrintDialogData, getFromPage, 0}}, + {2417, {wxPrintDialogData, getMaxPage, 0}}, + {2418, {wxPrintDialogData, getMinPage, 0}}, + {2419, {wxPrintDialogData, getNoCopies, 0}}, + {2420, {wxPrintDialogData, getPrintData, 0}}, + {2421, {wxPrintDialogData, getPrintToFile, 0}}, + {2422, {wxPrintDialogData, getSelection, 0}}, + {2423, {wxPrintDialogData, getToPage, 0}}, + {2424, {wxPrintDialogData, isOk, 0}}, + {2425, {wxPrintDialogData, setCollate, 1}}, + {2426, {wxPrintDialogData, setFromPage, 1}}, + {2427, {wxPrintDialogData, setMaxPage, 1}}, + {2428, {wxPrintDialogData, setMinPage, 1}}, + {2429, {wxPrintDialogData, setNoCopies, 1}}, + {2430, {wxPrintDialogData, setPrintData, 1}}, + {2431, {wxPrintDialogData, setPrintToFile, 1}}, + {2432, {wxPrintDialogData, setSelection, 1}}, + {2433, {wxPrintDialogData, setToPage, 1}}, + {2434, {wxPrintData, new_0, 0}}, + {2435, {wxPrintData, new_1, 1}}, + {2436, {wxPrintData, destruct, 0}}, + {2437, {wxPrintData, getCollate, 0}}, + {2438, {wxPrintData, getBin, 0}}, + {2439, {wxPrintData, getColour, 0}}, + {2440, {wxPrintData, getDuplex, 0}}, + {2441, {wxPrintData, getNoCopies, 0}}, + {2442, {wxPrintData, getOrientation, 0}}, + {2443, {wxPrintData, getPaperId, 0}}, + {2444, {wxPrintData, getPrinterName, 0}}, + {2445, {wxPrintData, getQuality, 0}}, + {2446, {wxPrintData, isOk, 0}}, + {2447, {wxPrintData, setBin, 1}}, + {2448, {wxPrintData, setCollate, 1}}, + {2449, {wxPrintData, setColour, 1}}, + {2450, {wxPrintData, setDuplex, 1}}, + {2451, {wxPrintData, setNoCopies, 1}}, + {2452, {wxPrintData, setOrientation, 1}}, + {2453, {wxPrintData, setPaperId, 1}}, + {2454, {wxPrintData, setPrinterName, 1}}, + {2455, {wxPrintData, setQuality, 1}}, + {2458, {wxPrintPreview, new_2, 2}}, + {2459, {wxPrintPreview, new_3, 3}}, + {2461, {wxPrintPreview, destruct, 0}}, + {2462, {wxPrintPreview, getCanvas, 0}}, + {2463, {wxPrintPreview, getCurrentPage, 0}}, + {2464, {wxPrintPreview, getFrame, 0}}, + {2465, {wxPrintPreview, getMaxPage, 0}}, + {2466, {wxPrintPreview, getMinPage, 0}}, + {2467, {wxPrintPreview, getPrintout, 0}}, + {2468, {wxPrintPreview, getPrintoutForPrinting, 0}}, + {2469, {wxPrintPreview, isOk, 0}}, + {2470, {wxPrintPreview, paintPage, 2}}, + {2471, {wxPrintPreview, print, 1}}, + {2472, {wxPrintPreview, renderPage, 1}}, + {2473, {wxPrintPreview, setCanvas, 1}}, + {2474, {wxPrintPreview, setCurrentPage, 1}}, + {2475, {wxPrintPreview, setFrame, 1}}, + {2476, {wxPrintPreview, setPrintout, 1}}, + {2477, {wxPrintPreview, setZoom, 1}}, + {2478, {wxPreviewFrame, new, 3}}, + {2479, {wxPreviewFrame, destruct, 0}}, + {2480, {wxPreviewFrame, createControlBar, 0}}, + {2481, {wxPreviewFrame, createCanvas, 0}}, + {2482, {wxPreviewFrame, initialize, 0}}, + {2483, {wxPreviewFrame, onCloseWindow, 1}}, + {2484, {wxPreviewControlBar, new, 4}}, + {2485, {wxPreviewControlBar, destruct, 0}}, + {2486, {wxPreviewControlBar, createButtons, 0}}, + {2487, {wxPreviewControlBar, getPrintPreview, 0}}, + {2488, {wxPreviewControlBar, getZoomControl, 0}}, + {2489, {wxPreviewControlBar, setZoomControl, 1}}, + {2491, {wxPrinter, new, 1}}, + {2492, {wxPrinter, createAbortWindow, 2}}, + {2493, {wxPrinter, getAbort, 0}}, + {2494, {wxPrinter, getLastError, 0}}, + {2495, {wxPrinter, getPrintDialogData, 0}}, + {2496, {wxPrinter, print, 3}}, + {2497, {wxPrinter, printDialog, 1}}, + {2498, {wxPrinter, reportError, 3}}, + {2499, {wxPrinter, setup, 1}}, + {2500, {wxPrinter, 'Destroy', undefined}}, + {2501, {wxXmlResource, new_1, 1}}, + {2502, {wxXmlResource, new_2, 2}}, + {2503, {wxXmlResource, destruct, 0}}, + {2504, {wxXmlResource, attachUnknownControl, 3}}, + {2505, {wxXmlResource, clearHandlers, 0}}, + {2506, {wxXmlResource, compareVersion, 4}}, + {2507, {wxXmlResource, get, 0}}, + {2508, {wxXmlResource, getFlags, 0}}, + {2509, {wxXmlResource, getVersion, 0}}, + {2510, {wxXmlResource, getXRCID, 2}}, + {2511, {wxXmlResource, initAllHandlers, 0}}, + {2512, {wxXmlResource, load, 1}}, + {2513, {wxXmlResource, loadBitmap, 1}}, + {2514, {wxXmlResource, loadDialog_2, 2}}, + {2515, {wxXmlResource, loadDialog_3, 3}}, + {2516, {wxXmlResource, loadFrame_2, 2}}, + {2517, {wxXmlResource, loadFrame_3, 3}}, + {2518, {wxXmlResource, loadIcon, 1}}, + {2519, {wxXmlResource, loadMenu, 1}}, + {2520, {wxXmlResource, loadMenuBar_2, 2}}, + {2521, {wxXmlResource, loadMenuBar_1, 1}}, + {2522, {wxXmlResource, loadPanel_2, 2}}, + {2523, {wxXmlResource, loadPanel_3, 3}}, + {2524, {wxXmlResource, loadToolBar, 2}}, + {2525, {wxXmlResource, set, 1}}, + {2526, {wxXmlResource, setFlags, 1}}, + {2527, {wxXmlResource, unload, 1}}, + {2528, {wxXmlResource, xrcctrl, 3}}, + {2529, {wxHtmlEasyPrinting, new, 1}}, + {2530, {wxHtmlEasyPrinting, destruct, 0}}, + {2531, {wxHtmlEasyPrinting, getPrintData, 0}}, + {2532, {wxHtmlEasyPrinting, getPageSetupData, 0}}, + {2533, {wxHtmlEasyPrinting, previewFile, 1}}, + {2534, {wxHtmlEasyPrinting, previewText, 2}}, + {2535, {wxHtmlEasyPrinting, printFile, 1}}, + {2536, {wxHtmlEasyPrinting, printText, 2}}, + {2537, {wxHtmlEasyPrinting, pageSetup, 0}}, + {2538, {wxHtmlEasyPrinting, setFonts, 3}}, + {2539, {wxHtmlEasyPrinting, setHeader, 2}}, + {2540, {wxHtmlEasyPrinting, setFooter, 2}}, + {2542, {wxGLCanvas, new_2, 2}}, + {2543, {wxGLCanvas, new_3_1, 3}}, + {2544, {wxGLCanvas, new_3_0, 3}}, + {2545, {wxGLCanvas, getContext, 0}}, + {2547, {wxGLCanvas, setCurrent, 0}}, + {2548, {wxGLCanvas, swapBuffers, 0}}, + {2549, {wxGLCanvas, 'Destroy', undefined}}, + {2550, {wxAuiManager, new, 1}}, + {2551, {wxAuiManager, destruct, 0}}, + {2552, {wxAuiManager, addPane_2_1, 2}}, + {2553, {wxAuiManager, addPane_3, 3}}, + {2554, {wxAuiManager, addPane_2_0, 2}}, + {2555, {wxAuiManager, detachPane, 1}}, + {2556, {wxAuiManager, getAllPanes, 0}}, + {2557, {wxAuiManager, getArtProvider, 0}}, + {2558, {wxAuiManager, getDockSizeConstraint, 2}}, + {2559, {wxAuiManager, getFlags, 0}}, + {2560, {wxAuiManager, getManagedWindow, 0}}, + {2561, {wxAuiManager, getManager, 1}}, + {2562, {wxAuiManager, getPane_1_1, 1}}, + {2563, {wxAuiManager, getPane_1_0, 1}}, + {2564, {wxAuiManager, hideHint, 0}}, + {2565, {wxAuiManager, insertPane, 3}}, + {2566, {wxAuiManager, loadPaneInfo, 2}}, + {2567, {wxAuiManager, loadPerspective, 2}}, + {2568, {wxAuiManager, savePaneInfo, 1}}, + {2569, {wxAuiManager, savePerspective, 0}}, + {2570, {wxAuiManager, setArtProvider, 1}}, + {2571, {wxAuiManager, setDockSizeConstraint, 2}}, + {2572, {wxAuiManager, setFlags, 1}}, + {2573, {wxAuiManager, setManagedWindow, 1}}, + {2574, {wxAuiManager, showHint, 1}}, + {2575, {wxAuiManager, unInit, 0}}, + {2576, {wxAuiManager, update, 0}}, + {2577, {wxAuiPaneInfo, new_0, 0}}, + {2578, {wxAuiPaneInfo, new_1, 1}}, + {2579, {wxAuiPaneInfo, destruct, 0}}, + {2580, {wxAuiPaneInfo, bestSize_1, 1}}, + {2581, {wxAuiPaneInfo, bestSize_2, 2}}, + {2582, {wxAuiPaneInfo, bottom, 0}}, + {2583, {wxAuiPaneInfo, bottomDockable, 1}}, + {2584, {wxAuiPaneInfo, caption, 1}}, + {2585, {wxAuiPaneInfo, captionVisible, 1}}, + {2586, {wxAuiPaneInfo, centre, 0}}, + {2587, {wxAuiPaneInfo, centrePane, 0}}, + {2588, {wxAuiPaneInfo, closeButton, 1}}, + {2589, {wxAuiPaneInfo, defaultPane, 0}}, + {2590, {wxAuiPaneInfo, destroyOnClose, 1}}, + {2591, {wxAuiPaneInfo, direction, 1}}, + {2592, {wxAuiPaneInfo, dock, 0}}, + {2593, {wxAuiPaneInfo, dockable, 1}}, + {2594, {wxAuiPaneInfo, fixed, 0}}, + {2595, {wxAuiPaneInfo, float, 0}}, + {2596, {wxAuiPaneInfo, floatable, 1}}, + {2597, {wxAuiPaneInfo, floatingPosition_1, 1}}, + {2598, {wxAuiPaneInfo, floatingPosition_2, 2}}, + {2599, {wxAuiPaneInfo, floatingSize_1, 1}}, + {2600, {wxAuiPaneInfo, floatingSize_2, 2}}, + {2601, {wxAuiPaneInfo, gripper, 1}}, + {2602, {wxAuiPaneInfo, gripperTop, 1}}, + {2603, {wxAuiPaneInfo, hasBorder, 0}}, + {2604, {wxAuiPaneInfo, hasCaption, 0}}, + {2605, {wxAuiPaneInfo, hasCloseButton, 0}}, + {2606, {wxAuiPaneInfo, hasFlag, 1}}, + {2607, {wxAuiPaneInfo, hasGripper, 0}}, + {2608, {wxAuiPaneInfo, hasGripperTop, 0}}, + {2609, {wxAuiPaneInfo, hasMaximizeButton, 0}}, + {2610, {wxAuiPaneInfo, hasMinimizeButton, 0}}, + {2611, {wxAuiPaneInfo, hasPinButton, 0}}, + {2612, {wxAuiPaneInfo, hide, 0}}, + {2613, {wxAuiPaneInfo, isBottomDockable, 0}}, + {2614, {wxAuiPaneInfo, isDocked, 0}}, + {2615, {wxAuiPaneInfo, isFixed, 0}}, + {2616, {wxAuiPaneInfo, isFloatable, 0}}, + {2617, {wxAuiPaneInfo, isFloating, 0}}, + {2618, {wxAuiPaneInfo, isLeftDockable, 0}}, + {2619, {wxAuiPaneInfo, isMovable, 0}}, + {2620, {wxAuiPaneInfo, isOk, 0}}, + {2621, {wxAuiPaneInfo, isResizable, 0}}, + {2622, {wxAuiPaneInfo, isRightDockable, 0}}, + {2623, {wxAuiPaneInfo, isShown, 0}}, + {2624, {wxAuiPaneInfo, isToolbar, 0}}, + {2625, {wxAuiPaneInfo, isTopDockable, 0}}, + {2626, {wxAuiPaneInfo, layer, 1}}, + {2627, {wxAuiPaneInfo, left, 0}}, + {2628, {wxAuiPaneInfo, leftDockable, 1}}, + {2629, {wxAuiPaneInfo, maxSize_1, 1}}, + {2630, {wxAuiPaneInfo, maxSize_2, 2}}, + {2631, {wxAuiPaneInfo, maximizeButton, 1}}, + {2632, {wxAuiPaneInfo, minSize_1, 1}}, + {2633, {wxAuiPaneInfo, minSize_2, 2}}, + {2634, {wxAuiPaneInfo, minimizeButton, 1}}, + {2635, {wxAuiPaneInfo, movable, 1}}, + {2636, {wxAuiPaneInfo, name, 1}}, + {2637, {wxAuiPaneInfo, paneBorder, 1}}, + {2638, {wxAuiPaneInfo, pinButton, 1}}, + {2639, {wxAuiPaneInfo, position, 1}}, + {2640, {wxAuiPaneInfo, resizable, 1}}, + {2641, {wxAuiPaneInfo, right, 0}}, + {2642, {wxAuiPaneInfo, rightDockable, 1}}, + {2643, {wxAuiPaneInfo, row, 1}}, + {2644, {wxAuiPaneInfo, safeSet, 1}}, + {2645, {wxAuiPaneInfo, setFlag, 2}}, + {2646, {wxAuiPaneInfo, show, 1}}, + {2647, {wxAuiPaneInfo, toolbarPane, 0}}, + {2648, {wxAuiPaneInfo, top, 0}}, + {2649, {wxAuiPaneInfo, topDockable, 1}}, + {2650, {wxAuiPaneInfo, window, 1}}, + {2651, {wxAuiNotebook, new_0, 0}}, + {2652, {wxAuiNotebook, new_2, 2}}, + {2653, {wxAuiNotebook, addPage, 3}}, + {2654, {wxAuiNotebook, create, 2}}, + {2655, {wxAuiNotebook, deletePage, 1}}, + {2656, {wxAuiNotebook, getArtProvider, 0}}, + {2657, {wxAuiNotebook, getPage, 1}}, + {2658, {wxAuiNotebook, getPageBitmap, 1}}, + {2659, {wxAuiNotebook, getPageCount, 0}}, + {2660, {wxAuiNotebook, getPageIndex, 1}}, + {2661, {wxAuiNotebook, getPageText, 1}}, + {2662, {wxAuiNotebook, getSelection, 0}}, + {2663, {wxAuiNotebook, insertPage, 4}}, + {2664, {wxAuiNotebook, removePage, 1}}, + {2665, {wxAuiNotebook, setArtProvider, 1}}, + {2666, {wxAuiNotebook, setFont, 1}}, + {2667, {wxAuiNotebook, setPageBitmap, 2}}, + {2668, {wxAuiNotebook, setPageText, 2}}, + {2669, {wxAuiNotebook, setSelection, 1}}, + {2670, {wxAuiNotebook, setTabCtrlHeight, 1}}, + {2671, {wxAuiNotebook, setUniformBitmapSize, 1}}, + {2672, {wxAuiNotebook, 'Destroy', undefined}}, + {2673, {wxMDIParentFrame, new_0, 0}}, + {2674, {wxMDIParentFrame, new_4, 4}}, + {2675, {wxMDIParentFrame, destruct, 0}}, + {2676, {wxMDIParentFrame, activateNext, 0}}, + {2677, {wxMDIParentFrame, activatePrevious, 0}}, + {2678, {wxMDIParentFrame, arrangeIcons, 0}}, + {2679, {wxMDIParentFrame, cascade, 0}}, + {2680, {wxMDIParentFrame, create, 4}}, + {2681, {wxMDIParentFrame, getActiveChild, 0}}, + {2682, {wxMDIParentFrame, getClientWindow, 0}}, + {2683, {wxMDIParentFrame, tile, 1}}, + {2684, {wxMDIChildFrame, new_0, 0}}, + {2685, {wxMDIChildFrame, new_4, 4}}, + {2686, {wxMDIChildFrame, destruct, 0}}, + {2687, {wxMDIChildFrame, activate, 0}}, + {2688, {wxMDIChildFrame, create, 4}}, + {2689, {wxMDIChildFrame, maximize, 1}}, + {2690, {wxMDIChildFrame, restore, 0}}, + {2691, {wxMDIClientWindow, new_0, 0}}, + {2692, {wxMDIClientWindow, new_2, 2}}, + {2693, {wxMDIClientWindow, destruct, 0}}, + {2694, {wxMDIClientWindow, createClient, 2}}, + {2695, {wxLayoutAlgorithm, new, 0}}, + {2696, {wxLayoutAlgorithm, layoutFrame, 2}}, + {2697, {wxLayoutAlgorithm, layoutMDIFrame, 2}}, + {2698, {wxLayoutAlgorithm, layoutWindow, 2}}, + {2699, {wxLayoutAlgorithm, 'Destroy', undefined}}, + {2700, {wxEvent, getId, 0}}, + {2701, {wxEvent, getSkipped, 0}}, + {2702, {wxEvent, getTimestamp, 0}}, + {2703, {wxEvent, isCommandEvent, 0}}, + {2704, {wxEvent, resumePropagation, 1}}, + {2705, {wxEvent, shouldPropagate, 0}}, + {2706, {wxEvent, skip, 1}}, + {2707, {wxEvent, stopPropagation, 0}}, + {2708, {wxCommandEvent, getClientData, 0}}, + {2709, {wxCommandEvent, getExtraLong, 0}}, + {2710, {wxCommandEvent, getInt, 0}}, + {2711, {wxCommandEvent, getSelection, 0}}, + {2712, {wxCommandEvent, getString, 0}}, + {2713, {wxCommandEvent, isChecked, 0}}, + {2714, {wxCommandEvent, isSelection, 0}}, + {2715, {wxCommandEvent, setInt, 1}}, + {2716, {wxCommandEvent, setString, 1}}, + {2717, {wxScrollEvent, getOrientation, 0}}, + {2718, {wxScrollEvent, getPosition, 0}}, + {2719, {wxScrollWinEvent, getOrientation, 0}}, + {2720, {wxScrollWinEvent, getPosition, 0}}, + {2721, {wxMouseEvent, altDown, 0}}, + {2722, {wxMouseEvent, button, 1}}, + {2723, {wxMouseEvent, buttonDClick, 1}}, + {2724, {wxMouseEvent, buttonDown, 1}}, + {2725, {wxMouseEvent, buttonUp, 1}}, + {2726, {wxMouseEvent, cmdDown, 0}}, + {2727, {wxMouseEvent, controlDown, 0}}, + {2728, {wxMouseEvent, dragging, 0}}, + {2729, {wxMouseEvent, entering, 0}}, + {2730, {wxMouseEvent, getButton, 0}}, + {2733, {wxMouseEvent, getPosition, 0}}, + {2734, {wxMouseEvent, getLogicalPosition, 1}}, + {2735, {wxMouseEvent, getLinesPerAction, 0}}, + {2736, {wxMouseEvent, getWheelRotation, 0}}, + {2737, {wxMouseEvent, getWheelDelta, 0}}, + {2738, {wxMouseEvent, getX, 0}}, + {2739, {wxMouseEvent, getY, 0}}, + {2740, {wxMouseEvent, isButton, 0}}, + {2741, {wxMouseEvent, isPageScroll, 0}}, + {2742, {wxMouseEvent, leaving, 0}}, + {2743, {wxMouseEvent, leftDClick, 0}}, + {2744, {wxMouseEvent, leftDown, 0}}, + {2745, {wxMouseEvent, leftIsDown, 0}}, + {2746, {wxMouseEvent, leftUp, 0}}, + {2747, {wxMouseEvent, metaDown, 0}}, + {2748, {wxMouseEvent, middleDClick, 0}}, + {2749, {wxMouseEvent, middleDown, 0}}, + {2750, {wxMouseEvent, middleIsDown, 0}}, + {2751, {wxMouseEvent, middleUp, 0}}, + {2752, {wxMouseEvent, moving, 0}}, + {2753, {wxMouseEvent, rightDClick, 0}}, + {2754, {wxMouseEvent, rightDown, 0}}, + {2755, {wxMouseEvent, rightIsDown, 0}}, + {2756, {wxMouseEvent, rightUp, 0}}, + {2757, {wxMouseEvent, shiftDown, 0}}, + {2758, {wxSetCursorEvent, getCursor, 0}}, + {2759, {wxSetCursorEvent, getX, 0}}, + {2760, {wxSetCursorEvent, getY, 0}}, + {2761, {wxSetCursorEvent, hasCursor, 0}}, + {2762, {wxSetCursorEvent, setCursor, 1}}, + {2763, {wxKeyEvent, altDown, 0}}, + {2764, {wxKeyEvent, cmdDown, 0}}, + {2765, {wxKeyEvent, controlDown, 0}}, + {2766, {wxKeyEvent, getKeyCode, 0}}, + {2767, {wxKeyEvent, getModifiers, 0}}, + {2770, {wxKeyEvent, getPosition, 0}}, + {2771, {wxKeyEvent, getRawKeyCode, 0}}, + {2772, {wxKeyEvent, getRawKeyFlags, 0}}, + {2773, {wxKeyEvent, getUnicodeKey, 0}}, + {2774, {wxKeyEvent, getX, 0}}, + {2775, {wxKeyEvent, getY, 0}}, + {2776, {wxKeyEvent, hasModifiers, 0}}, + {2777, {wxKeyEvent, metaDown, 0}}, + {2778, {wxKeyEvent, shiftDown, 0}}, + {2779, {wxSizeEvent, getSize, 0}}, + {2780, {wxMoveEvent, getPosition, 0}}, + {2781, {wxEraseEvent, getDC, 0}}, + {2782, {wxFocusEvent, getWindow, 0}}, + {2783, {wxChildFocusEvent, getWindow, 0}}, + {2784, {wxMenuEvent, getMenu, 0}}, + {2785, {wxMenuEvent, getMenuId, 0}}, + {2786, {wxMenuEvent, isPopup, 0}}, + {2787, {wxCloseEvent, canVeto, 0}}, + {2788, {wxCloseEvent, getLoggingOff, 0}}, + {2789, {wxCloseEvent, setCanVeto, 1}}, + {2790, {wxCloseEvent, setLoggingOff, 1}}, + {2791, {wxCloseEvent, veto, 1}}, + {2792, {wxShowEvent, setShow, 1}}, + {2793, {wxShowEvent, getShow, 0}}, + {2794, {wxIconizeEvent, iconized, 0}}, + {2795, {wxJoystickEvent, buttonDown, 1}}, + {2796, {wxJoystickEvent, buttonIsDown, 1}}, + {2797, {wxJoystickEvent, buttonUp, 1}}, + {2798, {wxJoystickEvent, getButtonChange, 0}}, + {2799, {wxJoystickEvent, getButtonState, 0}}, + {2800, {wxJoystickEvent, getJoystick, 0}}, + {2801, {wxJoystickEvent, getPosition, 0}}, + {2802, {wxJoystickEvent, getZPosition, 0}}, + {2803, {wxJoystickEvent, isButton, 0}}, + {2804, {wxJoystickEvent, isMove, 0}}, + {2805, {wxJoystickEvent, isZMove, 0}}, + {2806, {wxUpdateUIEvent, canUpdate, 1}}, + {2807, {wxUpdateUIEvent, check, 1}}, + {2808, {wxUpdateUIEvent, enable, 1}}, + {2809, {wxUpdateUIEvent, show, 1}}, + {2810, {wxUpdateUIEvent, getChecked, 0}}, + {2811, {wxUpdateUIEvent, getEnabled, 0}}, + {2812, {wxUpdateUIEvent, getShown, 0}}, + {2813, {wxUpdateUIEvent, getSetChecked, 0}}, + {2814, {wxUpdateUIEvent, getSetEnabled, 0}}, + {2815, {wxUpdateUIEvent, getSetShown, 0}}, + {2816, {wxUpdateUIEvent, getSetText, 0}}, + {2817, {wxUpdateUIEvent, getText, 0}}, + {2818, {wxUpdateUIEvent, getMode, 0}}, + {2819, {wxUpdateUIEvent, getUpdateInterval, 0}}, + {2820, {wxUpdateUIEvent, resetUpdateTime, 0}}, + {2821, {wxUpdateUIEvent, setMode, 1}}, + {2822, {wxUpdateUIEvent, setText, 1}}, + {2823, {wxUpdateUIEvent, setUpdateInterval, 1}}, + {2824, {wxMouseCaptureChangedEvent, getCapturedWindow, 0}}, + {2825, {wxPaletteChangedEvent, setChangedWindow, 1}}, + {2826, {wxPaletteChangedEvent, getChangedWindow, 0}}, + {2827, {wxQueryNewPaletteEvent, setPaletteRealized, 1}}, + {2828, {wxQueryNewPaletteEvent, getPaletteRealized, 0}}, + {2829, {wxNavigationKeyEvent, getDirection, 0}}, + {2830, {wxNavigationKeyEvent, setDirection, 1}}, + {2831, {wxNavigationKeyEvent, isWindowChange, 0}}, + {2832, {wxNavigationKeyEvent, setWindowChange, 1}}, + {2833, {wxNavigationKeyEvent, isFromTab, 0}}, + {2834, {wxNavigationKeyEvent, setFromTab, 1}}, + {2835, {wxNavigationKeyEvent, getCurrentFocus, 0}}, + {2836, {wxNavigationKeyEvent, setCurrentFocus, 1}}, + {2837, {wxHelpEvent, getOrigin, 0}}, + {2838, {wxHelpEvent, getPosition, 0}}, + {2839, {wxHelpEvent, setOrigin, 1}}, + {2840, {wxHelpEvent, setPosition, 1}}, + {2841, {wxContextMenuEvent, getPosition, 0}}, + {2842, {wxContextMenuEvent, setPosition, 1}}, + {2843, {wxIdleEvent, canSend, 1}}, + {2844, {wxIdleEvent, getMode, 0}}, + {2845, {wxIdleEvent, requestMore, 1}}, + {2846, {wxIdleEvent, moreRequested, 0}}, + {2847, {wxIdleEvent, setMode, 1}}, + {2848, {wxGridEvent, altDown, 0}}, + {2849, {wxGridEvent, controlDown, 0}}, + {2850, {wxGridEvent, getCol, 0}}, + {2851, {wxGridEvent, getPosition, 0}}, + {2852, {wxGridEvent, getRow, 0}}, + {2853, {wxGridEvent, metaDown, 0}}, + {2854, {wxGridEvent, selecting, 0}}, + {2855, {wxGridEvent, shiftDown, 0}}, + {2856, {wxNotifyEvent, allow, 0}}, + {2857, {wxNotifyEvent, isAllowed, 0}}, + {2858, {wxNotifyEvent, veto, 0}}, + {2859, {wxSashEvent, getEdge, 0}}, + {2860, {wxSashEvent, getDragRect, 0}}, + {2861, {wxSashEvent, getDragStatus, 0}}, + {2862, {wxListEvent, getCacheFrom, 0}}, + {2863, {wxListEvent, getCacheTo, 0}}, + {2864, {wxListEvent, getKeyCode, 0}}, + {2865, {wxListEvent, getIndex, 0}}, + {2866, {wxListEvent, getColumn, 0}}, + {2867, {wxListEvent, getPoint, 0}}, + {2868, {wxListEvent, getLabel, 0}}, + {2869, {wxListEvent, getText, 0}}, + {2870, {wxListEvent, getImage, 0}}, + {2871, {wxListEvent, getData, 0}}, + {2872, {wxListEvent, getMask, 0}}, + {2873, {wxListEvent, getItem, 0}}, + {2874, {wxListEvent, isEditCancelled, 0}}, + {2875, {wxDateEvent, getDate, 0}}, + {2876, {wxCalendarEvent, getWeekDay, 0}}, + {2877, {wxFileDirPickerEvent, getPath, 0}}, + {2878, {wxColourPickerEvent, getColour, 0}}, + {2879, {wxFontPickerEvent, getFont, 0}}, + {2880, {wxStyledTextEvent, getPosition, 0}}, + {2881, {wxStyledTextEvent, getKey, 0}}, + {2882, {wxStyledTextEvent, getModifiers, 0}}, + {2883, {wxStyledTextEvent, getModificationType, 0}}, + {2884, {wxStyledTextEvent, getText, 0}}, + {2885, {wxStyledTextEvent, getLength, 0}}, + {2886, {wxStyledTextEvent, getLinesAdded, 0}}, + {2887, {wxStyledTextEvent, getLine, 0}}, + {2888, {wxStyledTextEvent, getFoldLevelNow, 0}}, + {2889, {wxStyledTextEvent, getFoldLevelPrev, 0}}, + {2890, {wxStyledTextEvent, getMargin, 0}}, + {2891, {wxStyledTextEvent, getMessage, 0}}, + {2892, {wxStyledTextEvent, getWParam, 0}}, + {2893, {wxStyledTextEvent, getLParam, 0}}, + {2894, {wxStyledTextEvent, getListType, 0}}, + {2895, {wxStyledTextEvent, getX, 0}}, + {2896, {wxStyledTextEvent, getY, 0}}, + {2897, {wxStyledTextEvent, getDragText, 0}}, + {2898, {wxStyledTextEvent, getDragAllowMove, 0}}, + {2899, {wxStyledTextEvent, getDragResult, 0}}, + {2900, {wxStyledTextEvent, getShift, 0}}, + {2901, {wxStyledTextEvent, getControl, 0}}, + {2902, {wxStyledTextEvent, getAlt, 0}}, + {2903, {utils, getKeyState, 1}}, + {2904, {utils, getMousePosition, 2}}, + {2905, {utils, getMouseState, 0}}, + {2906, {utils, setDetectableAutoRepeat, 1}}, + {2907, {utils, bell, 0}}, + {2908, {utils, findMenuItemId, 3}}, + {2909, {utils, genericFindWindowAtPoint, 1}}, + {2910, {utils, findWindowAtPoint, 1}}, + {2911, {utils, beginBusyCursor, 1}}, + {2912, {utils, endBusyCursor, 0}}, + {2913, {utils, isBusy, 0}}, + {2914, {utils, shutdown, 1}}, + {2915, {utils, shell, 1}}, + {2916, {utils, launchDefaultBrowser, 2}}, + {2917, {utils, getEmailAddress, 0}}, + {2918, {utils, getUserId, 0}}, + {2919, {utils, getHomeDir, 0}}, + {2920, {utils, newId, 0}}, + {2921, {utils, registerId, 1}}, + {2922, {utils, getCurrentId, 0}}, + {2923, {utils, getOsDescription, 0}}, + {2924, {utils, isPlatformLittleEndian, 0}}, + {2925, {utils, isPlatform64Bit, 0}}, + {2926, {wxPrintout, new, 1}}, + {2927, {wxPrintout, destruct, 0}}, + {2928, {wxPrintout, getDC, 0}}, + {2929, {wxPrintout, getPageSizeMM, 2}}, + {2930, {wxPrintout, getPageSizePixels, 2}}, + {2931, {wxPrintout, getPaperRectPixels, 0}}, + {2932, {wxPrintout, getPPIPrinter, 2}}, + {2933, {wxPrintout, getPPIScreen, 2}}, + {2934, {wxPrintout, getTitle, 0}}, + {2935, {wxPrintout, isPreview, 0}}, + {2936, {wxPrintout, fitThisSizeToPaper, 1}}, + {2937, {wxPrintout, fitThisSizeToPage, 1}}, + {2938, {wxPrintout, fitThisSizeToPageMargins, 2}}, + {2939, {wxPrintout, mapScreenSizeToPaper, 0}}, + {2940, {wxPrintout, mapScreenSizeToPage, 0}}, + {2941, {wxPrintout, mapScreenSizeToPageMargins, 1}}, + {2942, {wxPrintout, mapScreenSizeToDevice, 0}}, + {2943, {wxPrintout, getLogicalPaperRect, 0}}, + {2944, {wxPrintout, getLogicalPageRect, 0}}, + {2945, {wxPrintout, getLogicalPageMarginsRect, 1}}, + {2946, {wxPrintout, setLogicalOrigin, 2}}, + {2947, {wxPrintout, offsetLogicalOrigin, 2}}, + {2948, {wxStyledTextCtrl, new_2, 2}}, + {2949, {wxStyledTextCtrl, new_0, 0}}, + {2950, {wxStyledTextCtrl, destruct, 0}}, + {2951, {wxStyledTextCtrl, create, 2}}, + {2952, {wxStyledTextCtrl, addText, 1}}, + {2953, {wxStyledTextCtrl, addStyledText, 1}}, + {2954, {wxStyledTextCtrl, insertText, 2}}, + {2955, {wxStyledTextCtrl, clearAll, 0}}, + {2956, {wxStyledTextCtrl, clearDocumentStyle, 0}}, + {2957, {wxStyledTextCtrl, getLength, 0}}, + {2958, {wxStyledTextCtrl, getCharAt, 1}}, + {2959, {wxStyledTextCtrl, getCurrentPos, 0}}, + {2960, {wxStyledTextCtrl, getAnchor, 0}}, + {2961, {wxStyledTextCtrl, getStyleAt, 1}}, + {2962, {wxStyledTextCtrl, redo, 0}}, + {2963, {wxStyledTextCtrl, setUndoCollection, 1}}, + {2964, {wxStyledTextCtrl, selectAll, 0}}, + {2965, {wxStyledTextCtrl, setSavePoint, 0}}, + {2966, {wxStyledTextCtrl, getStyledText, 2}}, + {2967, {wxStyledTextCtrl, canRedo, 0}}, + {2968, {wxStyledTextCtrl, markerLineFromHandle, 1}}, + {2969, {wxStyledTextCtrl, markerDeleteHandle, 1}}, + {2970, {wxStyledTextCtrl, getUndoCollection, 0}}, + {2971, {wxStyledTextCtrl, getViewWhiteSpace, 0}}, + {2972, {wxStyledTextCtrl, setViewWhiteSpace, 1}}, + {2973, {wxStyledTextCtrl, positionFromPoint, 1}}, + {2974, {wxStyledTextCtrl, positionFromPointClose, 2}}, + {2975, {wxStyledTextCtrl, gotoLine, 1}}, + {2976, {wxStyledTextCtrl, gotoPos, 1}}, + {2977, {wxStyledTextCtrl, setAnchor, 1}}, + {2978, {wxStyledTextCtrl, getCurLine, 1}}, + {2979, {wxStyledTextCtrl, getEndStyled, 0}}, + {2980, {wxStyledTextCtrl, convertEOLs, 1}}, + {2981, {wxStyledTextCtrl, getEOLMode, 0}}, + {2982, {wxStyledTextCtrl, setEOLMode, 1}}, + {2983, {wxStyledTextCtrl, startStyling, 2}}, + {2984, {wxStyledTextCtrl, setStyling, 2}}, + {2985, {wxStyledTextCtrl, getBufferedDraw, 0}}, + {2986, {wxStyledTextCtrl, setBufferedDraw, 1}}, + {2987, {wxStyledTextCtrl, setTabWidth, 1}}, + {2988, {wxStyledTextCtrl, getTabWidth, 0}}, + {2989, {wxStyledTextCtrl, setCodePage, 1}}, + {2990, {wxStyledTextCtrl, markerDefine, 3}}, + {2991, {wxStyledTextCtrl, markerSetForeground, 2}}, + {2992, {wxStyledTextCtrl, markerSetBackground, 2}}, + {2993, {wxStyledTextCtrl, markerAdd, 2}}, + {2994, {wxStyledTextCtrl, markerDelete, 2}}, + {2995, {wxStyledTextCtrl, markerDeleteAll, 1}}, + {2996, {wxStyledTextCtrl, markerGet, 1}}, + {2997, {wxStyledTextCtrl, markerNext, 2}}, + {2998, {wxStyledTextCtrl, markerPrevious, 2}}, + {2999, {wxStyledTextCtrl, markerDefineBitmap, 2}}, + {3000, {wxStyledTextCtrl, markerAddSet, 2}}, + {3001, {wxStyledTextCtrl, markerSetAlpha, 2}}, + {3002, {wxStyledTextCtrl, setMarginType, 2}}, + {3003, {wxStyledTextCtrl, getMarginType, 1}}, + {3004, {wxStyledTextCtrl, setMarginWidth, 2}}, + {3005, {wxStyledTextCtrl, getMarginWidth, 1}}, + {3006, {wxStyledTextCtrl, setMarginMask, 2}}, + {3007, {wxStyledTextCtrl, getMarginMask, 1}}, + {3008, {wxStyledTextCtrl, setMarginSensitive, 2}}, + {3009, {wxStyledTextCtrl, getMarginSensitive, 1}}, + {3010, {wxStyledTextCtrl, styleClearAll, 0}}, + {3011, {wxStyledTextCtrl, styleSetForeground, 2}}, + {3012, {wxStyledTextCtrl, styleSetBackground, 2}}, + {3013, {wxStyledTextCtrl, styleSetBold, 2}}, + {3014, {wxStyledTextCtrl, styleSetItalic, 2}}, + {3015, {wxStyledTextCtrl, styleSetSize, 2}}, + {3016, {wxStyledTextCtrl, styleSetFaceName, 2}}, + {3017, {wxStyledTextCtrl, styleSetEOLFilled, 2}}, + {3018, {wxStyledTextCtrl, styleResetDefault, 0}}, + {3019, {wxStyledTextCtrl, styleSetUnderline, 2}}, + {3020, {wxStyledTextCtrl, styleSetCase, 2}}, + {3021, {wxStyledTextCtrl, styleSetHotSpot, 2}}, + {3022, {wxStyledTextCtrl, setSelForeground, 2}}, + {3023, {wxStyledTextCtrl, setSelBackground, 2}}, + {3024, {wxStyledTextCtrl, getSelAlpha, 0}}, + {3025, {wxStyledTextCtrl, setSelAlpha, 1}}, + {3026, {wxStyledTextCtrl, setCaretForeground, 1}}, + {3027, {wxStyledTextCtrl, cmdKeyAssign, 3}}, + {3028, {wxStyledTextCtrl, cmdKeyClear, 2}}, + {3029, {wxStyledTextCtrl, cmdKeyClearAll, 0}}, + {3030, {wxStyledTextCtrl, setStyleBytes, 2}}, + {3031, {wxStyledTextCtrl, styleSetVisible, 2}}, + {3032, {wxStyledTextCtrl, getCaretPeriod, 0}}, + {3033, {wxStyledTextCtrl, setCaretPeriod, 1}}, + {3034, {wxStyledTextCtrl, setWordChars, 1}}, + {3035, {wxStyledTextCtrl, beginUndoAction, 0}}, + {3036, {wxStyledTextCtrl, endUndoAction, 0}}, + {3037, {wxStyledTextCtrl, indicatorSetStyle, 2}}, + {3038, {wxStyledTextCtrl, indicatorGetStyle, 1}}, + {3039, {wxStyledTextCtrl, indicatorSetForeground, 2}}, + {3040, {wxStyledTextCtrl, indicatorGetForeground, 1}}, + {3041, {wxStyledTextCtrl, setWhitespaceForeground, 2}}, + {3042, {wxStyledTextCtrl, setWhitespaceBackground, 2}}, + {3043, {wxStyledTextCtrl, getStyleBits, 0}}, + {3044, {wxStyledTextCtrl, setLineState, 2}}, + {3045, {wxStyledTextCtrl, getLineState, 1}}, + {3046, {wxStyledTextCtrl, getMaxLineState, 0}}, + {3047, {wxStyledTextCtrl, getCaretLineVisible, 0}}, + {3048, {wxStyledTextCtrl, setCaretLineVisible, 1}}, + {3049, {wxStyledTextCtrl, getCaretLineBackground, 0}}, + {3050, {wxStyledTextCtrl, setCaretLineBackground, 1}}, + {3051, {wxStyledTextCtrl, autoCompShow, 2}}, + {3052, {wxStyledTextCtrl, autoCompCancel, 0}}, + {3053, {wxStyledTextCtrl, autoCompActive, 0}}, + {3054, {wxStyledTextCtrl, autoCompPosStart, 0}}, + {3055, {wxStyledTextCtrl, autoCompComplete, 0}}, + {3056, {wxStyledTextCtrl, autoCompStops, 1}}, + {3057, {wxStyledTextCtrl, autoCompSetSeparator, 1}}, + {3058, {wxStyledTextCtrl, autoCompGetSeparator, 0}}, + {3059, {wxStyledTextCtrl, autoCompSelect, 1}}, + {3060, {wxStyledTextCtrl, autoCompSetCancelAtStart, 1}}, + {3061, {wxStyledTextCtrl, autoCompGetCancelAtStart, 0}}, + {3062, {wxStyledTextCtrl, autoCompSetFillUps, 1}}, + {3063, {wxStyledTextCtrl, autoCompSetChooseSingle, 1}}, + {3064, {wxStyledTextCtrl, autoCompGetChooseSingle, 0}}, + {3065, {wxStyledTextCtrl, autoCompSetIgnoreCase, 1}}, + {3066, {wxStyledTextCtrl, autoCompGetIgnoreCase, 0}}, + {3067, {wxStyledTextCtrl, userListShow, 2}}, + {3068, {wxStyledTextCtrl, autoCompSetAutoHide, 1}}, + {3069, {wxStyledTextCtrl, autoCompGetAutoHide, 0}}, + {3070, {wxStyledTextCtrl, autoCompSetDropRestOfWord, 1}}, + {3071, {wxStyledTextCtrl, autoCompGetDropRestOfWord, 0}}, + {3072, {wxStyledTextCtrl, registerImage, 2}}, + {3073, {wxStyledTextCtrl, clearRegisteredImages, 0}}, + {3074, {wxStyledTextCtrl, autoCompGetTypeSeparator, 0}}, + {3075, {wxStyledTextCtrl, autoCompSetTypeSeparator, 1}}, + {3076, {wxStyledTextCtrl, autoCompSetMaxWidth, 1}}, + {3077, {wxStyledTextCtrl, autoCompGetMaxWidth, 0}}, + {3078, {wxStyledTextCtrl, autoCompSetMaxHeight, 1}}, + {3079, {wxStyledTextCtrl, autoCompGetMaxHeight, 0}}, + {3080, {wxStyledTextCtrl, setIndent, 1}}, + {3081, {wxStyledTextCtrl, getIndent, 0}}, + {3082, {wxStyledTextCtrl, setUseTabs, 1}}, + {3083, {wxStyledTextCtrl, getUseTabs, 0}}, + {3084, {wxStyledTextCtrl, setLineIndentation, 2}}, + {3085, {wxStyledTextCtrl, getLineIndentation, 1}}, + {3086, {wxStyledTextCtrl, getLineIndentPosition, 1}}, + {3087, {wxStyledTextCtrl, getColumn, 1}}, + {3088, {wxStyledTextCtrl, setUseHorizontalScrollBar, 1}}, + {3089, {wxStyledTextCtrl, getUseHorizontalScrollBar, 0}}, + {3090, {wxStyledTextCtrl, setIndentationGuides, 1}}, + {3091, {wxStyledTextCtrl, getIndentationGuides, 0}}, + {3092, {wxStyledTextCtrl, setHighlightGuide, 1}}, + {3093, {wxStyledTextCtrl, getHighlightGuide, 0}}, + {3094, {wxStyledTextCtrl, getLineEndPosition, 1}}, + {3095, {wxStyledTextCtrl, getCodePage, 0}}, + {3096, {wxStyledTextCtrl, getCaretForeground, 0}}, + {3097, {wxStyledTextCtrl, getReadOnly, 0}}, + {3098, {wxStyledTextCtrl, setCurrentPos, 1}}, + {3099, {wxStyledTextCtrl, setSelectionStart, 1}}, + {3100, {wxStyledTextCtrl, getSelectionStart, 0}}, + {3101, {wxStyledTextCtrl, setSelectionEnd, 1}}, + {3102, {wxStyledTextCtrl, getSelectionEnd, 0}}, + {3103, {wxStyledTextCtrl, setPrintMagnification, 1}}, + {3104, {wxStyledTextCtrl, getPrintMagnification, 0}}, + {3105, {wxStyledTextCtrl, setPrintColourMode, 1}}, + {3106, {wxStyledTextCtrl, getPrintColourMode, 0}}, + {3107, {wxStyledTextCtrl, findText, 4}}, + {3108, {wxStyledTextCtrl, formatRange, 7}}, + {3109, {wxStyledTextCtrl, getFirstVisibleLine, 0}}, + {3110, {wxStyledTextCtrl, getLine, 1}}, + {3111, {wxStyledTextCtrl, getLineCount, 0}}, + {3112, {wxStyledTextCtrl, setMarginLeft, 1}}, + {3113, {wxStyledTextCtrl, getMarginLeft, 0}}, + {3114, {wxStyledTextCtrl, setMarginRight, 1}}, + {3115, {wxStyledTextCtrl, getMarginRight, 0}}, + {3116, {wxStyledTextCtrl, getModify, 0}}, + {3117, {wxStyledTextCtrl, setSelection, 2}}, + {3118, {wxStyledTextCtrl, getSelectedText, 0}}, + {3119, {wxStyledTextCtrl, getTextRange, 2}}, + {3120, {wxStyledTextCtrl, hideSelection, 1}}, + {3121, {wxStyledTextCtrl, lineFromPosition, 1}}, + {3122, {wxStyledTextCtrl, positionFromLine, 1}}, + {3123, {wxStyledTextCtrl, lineScroll, 2}}, + {3124, {wxStyledTextCtrl, ensureCaretVisible, 0}}, + {3125, {wxStyledTextCtrl, replaceSelection, 1}}, + {3126, {wxStyledTextCtrl, setReadOnly, 1}}, + {3127, {wxStyledTextCtrl, canPaste, 0}}, + {3128, {wxStyledTextCtrl, canUndo, 0}}, + {3129, {wxStyledTextCtrl, emptyUndoBuffer, 0}}, + {3130, {wxStyledTextCtrl, undo, 0}}, + {3131, {wxStyledTextCtrl, cut, 0}}, + {3132, {wxStyledTextCtrl, copy, 0}}, + {3133, {wxStyledTextCtrl, paste, 0}}, + {3134, {wxStyledTextCtrl, clear, 0}}, + {3135, {wxStyledTextCtrl, setText, 1}}, + {3136, {wxStyledTextCtrl, getText, 0}}, + {3137, {wxStyledTextCtrl, getTextLength, 0}}, + {3138, {wxStyledTextCtrl, getOvertype, 0}}, + {3139, {wxStyledTextCtrl, setCaretWidth, 1}}, + {3140, {wxStyledTextCtrl, getCaretWidth, 0}}, + {3141, {wxStyledTextCtrl, setTargetStart, 1}}, + {3142, {wxStyledTextCtrl, getTargetStart, 0}}, + {3143, {wxStyledTextCtrl, setTargetEnd, 1}}, + {3144, {wxStyledTextCtrl, getTargetEnd, 0}}, + {3145, {wxStyledTextCtrl, replaceTarget, 1}}, + {3146, {wxStyledTextCtrl, searchInTarget, 1}}, + {3147, {wxStyledTextCtrl, setSearchFlags, 1}}, + {3148, {wxStyledTextCtrl, getSearchFlags, 0}}, + {3149, {wxStyledTextCtrl, callTipShow, 2}}, + {3150, {wxStyledTextCtrl, callTipCancel, 0}}, + {3151, {wxStyledTextCtrl, callTipActive, 0}}, + {3152, {wxStyledTextCtrl, callTipPosAtStart, 0}}, + {3153, {wxStyledTextCtrl, callTipSetHighlight, 2}}, + {3154, {wxStyledTextCtrl, callTipSetBackground, 1}}, + {3155, {wxStyledTextCtrl, callTipSetForeground, 1}}, + {3156, {wxStyledTextCtrl, callTipSetForegroundHighlight, 1}}, + {3157, {wxStyledTextCtrl, callTipUseStyle, 1}}, + {3158, {wxStyledTextCtrl, visibleFromDocLine, 1}}, + {3159, {wxStyledTextCtrl, docLineFromVisible, 1}}, + {3160, {wxStyledTextCtrl, wrapCount, 1}}, + {3161, {wxStyledTextCtrl, setFoldLevel, 2}}, + {3162, {wxStyledTextCtrl, getFoldLevel, 1}}, + {3163, {wxStyledTextCtrl, getLastChild, 2}}, + {3164, {wxStyledTextCtrl, getFoldParent, 1}}, + {3165, {wxStyledTextCtrl, showLines, 2}}, + {3166, {wxStyledTextCtrl, hideLines, 2}}, + {3167, {wxStyledTextCtrl, getLineVisible, 1}}, + {3168, {wxStyledTextCtrl, setFoldExpanded, 2}}, + {3169, {wxStyledTextCtrl, getFoldExpanded, 1}}, + {3170, {wxStyledTextCtrl, toggleFold, 1}}, + {3171, {wxStyledTextCtrl, ensureVisible, 1}}, + {3172, {wxStyledTextCtrl, setFoldFlags, 1}}, + {3173, {wxStyledTextCtrl, ensureVisibleEnforcePolicy, 1}}, + {3174, {wxStyledTextCtrl, setTabIndents, 1}}, + {3175, {wxStyledTextCtrl, getTabIndents, 0}}, + {3176, {wxStyledTextCtrl, setBackSpaceUnIndents, 1}}, + {3177, {wxStyledTextCtrl, getBackSpaceUnIndents, 0}}, + {3178, {wxStyledTextCtrl, setMouseDwellTime, 1}}, + {3179, {wxStyledTextCtrl, getMouseDwellTime, 0}}, + {3180, {wxStyledTextCtrl, wordStartPosition, 2}}, + {3181, {wxStyledTextCtrl, wordEndPosition, 2}}, + {3182, {wxStyledTextCtrl, setWrapMode, 1}}, + {3183, {wxStyledTextCtrl, getWrapMode, 0}}, + {3184, {wxStyledTextCtrl, setWrapVisualFlags, 1}}, + {3185, {wxStyledTextCtrl, getWrapVisualFlags, 0}}, + {3186, {wxStyledTextCtrl, setWrapVisualFlagsLocation, 1}}, + {3187, {wxStyledTextCtrl, getWrapVisualFlagsLocation, 0}}, + {3188, {wxStyledTextCtrl, setWrapStartIndent, 1}}, + {3189, {wxStyledTextCtrl, getWrapStartIndent, 0}}, + {3190, {wxStyledTextCtrl, setLayoutCache, 1}}, + {3191, {wxStyledTextCtrl, getLayoutCache, 0}}, + {3192, {wxStyledTextCtrl, setScrollWidth, 1}}, + {3193, {wxStyledTextCtrl, getScrollWidth, 0}}, + {3194, {wxStyledTextCtrl, textWidth, 2}}, + {3195, {wxStyledTextCtrl, getEndAtLastLine, 0}}, + {3196, {wxStyledTextCtrl, textHeight, 1}}, + {3197, {wxStyledTextCtrl, setUseVerticalScrollBar, 1}}, + {3198, {wxStyledTextCtrl, getUseVerticalScrollBar, 0}}, + {3199, {wxStyledTextCtrl, appendText, 1}}, + {3200, {wxStyledTextCtrl, getTwoPhaseDraw, 0}}, + {3201, {wxStyledTextCtrl, setTwoPhaseDraw, 1}}, + {3202, {wxStyledTextCtrl, targetFromSelection, 0}}, + {3203, {wxStyledTextCtrl, linesJoin, 0}}, + {3204, {wxStyledTextCtrl, linesSplit, 1}}, + {3205, {wxStyledTextCtrl, setFoldMarginColour, 2}}, + {3206, {wxStyledTextCtrl, setFoldMarginHiColour, 2}}, + {3207, {wxStyledTextCtrl, lineDown, 0}}, + {3208, {wxStyledTextCtrl, lineDownExtend, 0}}, + {3209, {wxStyledTextCtrl, lineUp, 0}}, + {3210, {wxStyledTextCtrl, lineUpExtend, 0}}, + {3211, {wxStyledTextCtrl, charLeft, 0}}, + {3212, {wxStyledTextCtrl, charLeftExtend, 0}}, + {3213, {wxStyledTextCtrl, charRight, 0}}, + {3214, {wxStyledTextCtrl, charRightExtend, 0}}, + {3215, {wxStyledTextCtrl, wordLeft, 0}}, + {3216, {wxStyledTextCtrl, wordLeftExtend, 0}}, + {3217, {wxStyledTextCtrl, wordRight, 0}}, + {3218, {wxStyledTextCtrl, wordRightExtend, 0}}, + {3219, {wxStyledTextCtrl, home, 0}}, + {3220, {wxStyledTextCtrl, homeExtend, 0}}, + {3221, {wxStyledTextCtrl, lineEnd, 0}}, + {3222, {wxStyledTextCtrl, lineEndExtend, 0}}, + {3223, {wxStyledTextCtrl, documentStart, 0}}, + {3224, {wxStyledTextCtrl, documentStartExtend, 0}}, + {3225, {wxStyledTextCtrl, documentEnd, 0}}, + {3226, {wxStyledTextCtrl, documentEndExtend, 0}}, + {3227, {wxStyledTextCtrl, pageUp, 0}}, + {3228, {wxStyledTextCtrl, pageUpExtend, 0}}, + {3229, {wxStyledTextCtrl, pageDown, 0}}, + {3230, {wxStyledTextCtrl, pageDownExtend, 0}}, + {3231, {wxStyledTextCtrl, editToggleOvertype, 0}}, + {3232, {wxStyledTextCtrl, cancel, 0}}, + {3233, {wxStyledTextCtrl, deleteBack, 0}}, + {3234, {wxStyledTextCtrl, tab, 0}}, + {3235, {wxStyledTextCtrl, backTab, 0}}, + {3236, {wxStyledTextCtrl, newLine, 0}}, + {3237, {wxStyledTextCtrl, formFeed, 0}}, + {3238, {wxStyledTextCtrl, vCHome, 0}}, + {3239, {wxStyledTextCtrl, vCHomeExtend, 0}}, + {3240, {wxStyledTextCtrl, zoomIn, 0}}, + {3241, {wxStyledTextCtrl, zoomOut, 0}}, + {3242, {wxStyledTextCtrl, delWordLeft, 0}}, + {3243, {wxStyledTextCtrl, delWordRight, 0}}, + {3244, {wxStyledTextCtrl, lineCut, 0}}, + {3245, {wxStyledTextCtrl, lineDelete, 0}}, + {3246, {wxStyledTextCtrl, lineTranspose, 0}}, + {3247, {wxStyledTextCtrl, lineDuplicate, 0}}, + {3248, {wxStyledTextCtrl, lowerCase, 0}}, + {3249, {wxStyledTextCtrl, upperCase, 0}}, + {3250, {wxStyledTextCtrl, lineScrollDown, 0}}, + {3251, {wxStyledTextCtrl, lineScrollUp, 0}}, + {3252, {wxStyledTextCtrl, deleteBackNotLine, 0}}, + {3253, {wxStyledTextCtrl, homeDisplay, 0}}, + {3254, {wxStyledTextCtrl, homeDisplayExtend, 0}}, + {3255, {wxStyledTextCtrl, lineEndDisplay, 0}}, + {3256, {wxStyledTextCtrl, lineEndDisplayExtend, 0}}, + {3257, {wxStyledTextCtrl, homeWrapExtend, 0}}, + {3258, {wxStyledTextCtrl, lineEndWrap, 0}}, + {3259, {wxStyledTextCtrl, lineEndWrapExtend, 0}}, + {3260, {wxStyledTextCtrl, vCHomeWrap, 0}}, + {3261, {wxStyledTextCtrl, vCHomeWrapExtend, 0}}, + {3262, {wxStyledTextCtrl, lineCopy, 0}}, + {3263, {wxStyledTextCtrl, moveCaretInsideView, 0}}, + {3264, {wxStyledTextCtrl, lineLength, 1}}, + {3265, {wxStyledTextCtrl, braceHighlight, 2}}, + {3266, {wxStyledTextCtrl, braceBadLight, 1}}, + {3267, {wxStyledTextCtrl, braceMatch, 1}}, + {3268, {wxStyledTextCtrl, getViewEOL, 0}}, + {3269, {wxStyledTextCtrl, setViewEOL, 1}}, + {3270, {wxStyledTextCtrl, setModEventMask, 1}}, + {3271, {wxStyledTextCtrl, getEdgeColumn, 0}}, + {3272, {wxStyledTextCtrl, setEdgeColumn, 1}}, + {3273, {wxStyledTextCtrl, getEdgeMode, 0}}, + {3274, {wxStyledTextCtrl, getEdgeColour, 0}}, + {3275, {wxStyledTextCtrl, setEdgeColour, 1}}, + {3276, {wxStyledTextCtrl, searchAnchor, 0}}, + {3277, {wxStyledTextCtrl, searchNext, 2}}, + {3278, {wxStyledTextCtrl, searchPrev, 2}}, + {3279, {wxStyledTextCtrl, linesOnScreen, 0}}, + {3280, {wxStyledTextCtrl, usePopUp, 1}}, + {3281, {wxStyledTextCtrl, selectionIsRectangle, 0}}, + {3282, {wxStyledTextCtrl, setZoom, 1}}, + {3283, {wxStyledTextCtrl, getZoom, 0}}, + {3284, {wxStyledTextCtrl, getModEventMask, 0}}, + {3285, {wxStyledTextCtrl, setSTCFocus, 1}}, + {3286, {wxStyledTextCtrl, getSTCFocus, 0}}, + {3287, {wxStyledTextCtrl, setStatus, 1}}, + {3288, {wxStyledTextCtrl, getStatus, 0}}, + {3289, {wxStyledTextCtrl, setMouseDownCaptures, 1}}, + {3290, {wxStyledTextCtrl, getMouseDownCaptures, 0}}, + {3291, {wxStyledTextCtrl, setSTCCursor, 1}}, + {3292, {wxStyledTextCtrl, getSTCCursor, 0}}, + {3293, {wxStyledTextCtrl, setControlCharSymbol, 1}}, + {3294, {wxStyledTextCtrl, getControlCharSymbol, 0}}, + {3295, {wxStyledTextCtrl, wordPartLeft, 0}}, + {3296, {wxStyledTextCtrl, wordPartLeftExtend, 0}}, + {3297, {wxStyledTextCtrl, wordPartRight, 0}}, + {3298, {wxStyledTextCtrl, wordPartRightExtend, 0}}, + {3299, {wxStyledTextCtrl, setVisiblePolicy, 2}}, + {3300, {wxStyledTextCtrl, delLineLeft, 0}}, + {3301, {wxStyledTextCtrl, delLineRight, 0}}, + {3302, {wxStyledTextCtrl, getXOffset, 0}}, + {3303, {wxStyledTextCtrl, chooseCaretX, 0}}, + {3304, {wxStyledTextCtrl, setXCaretPolicy, 2}}, + {3305, {wxStyledTextCtrl, setYCaretPolicy, 2}}, + {3306, {wxStyledTextCtrl, getPrintWrapMode, 0}}, + {3307, {wxStyledTextCtrl, setHotspotActiveForeground, 2}}, + {3308, {wxStyledTextCtrl, setHotspotActiveBackground, 2}}, + {3309, {wxStyledTextCtrl, setHotspotActiveUnderline, 1}}, + {3310, {wxStyledTextCtrl, setHotspotSingleLine, 1}}, + {3311, {wxStyledTextCtrl, paraDownExtend, 0}}, + {3312, {wxStyledTextCtrl, paraUp, 0}}, + {3313, {wxStyledTextCtrl, paraUpExtend, 0}}, + {3314, {wxStyledTextCtrl, positionBefore, 1}}, + {3315, {wxStyledTextCtrl, positionAfter, 1}}, + {3316, {wxStyledTextCtrl, copyRange, 2}}, + {3317, {wxStyledTextCtrl, copyText, 2}}, + {3318, {wxStyledTextCtrl, setSelectionMode, 1}}, + {3319, {wxStyledTextCtrl, getSelectionMode, 0}}, + {3320, {wxStyledTextCtrl, lineDownRectExtend, 0}}, + {3321, {wxStyledTextCtrl, lineUpRectExtend, 0}}, + {3322, {wxStyledTextCtrl, charLeftRectExtend, 0}}, + {3323, {wxStyledTextCtrl, charRightRectExtend, 0}}, + {3324, {wxStyledTextCtrl, homeRectExtend, 0}}, + {3325, {wxStyledTextCtrl, vCHomeRectExtend, 0}}, + {3326, {wxStyledTextCtrl, lineEndRectExtend, 0}}, + {3327, {wxStyledTextCtrl, pageUpRectExtend, 0}}, + {3328, {wxStyledTextCtrl, pageDownRectExtend, 0}}, + {3329, {wxStyledTextCtrl, stutteredPageUp, 0}}, + {3330, {wxStyledTextCtrl, stutteredPageUpExtend, 0}}, + {3331, {wxStyledTextCtrl, stutteredPageDown, 0}}, + {3332, {wxStyledTextCtrl, stutteredPageDownExtend, 0}}, + {3333, {wxStyledTextCtrl, wordLeftEnd, 0}}, + {3334, {wxStyledTextCtrl, wordLeftEndExtend, 0}}, + {3335, {wxStyledTextCtrl, wordRightEnd, 0}}, + {3336, {wxStyledTextCtrl, wordRightEndExtend, 0}}, + {3337, {wxStyledTextCtrl, setWhitespaceChars, 1}}, + {3338, {wxStyledTextCtrl, setCharsDefault, 0}}, + {3339, {wxStyledTextCtrl, autoCompGetCurrent, 0}}, + {3340, {wxStyledTextCtrl, allocate, 1}}, + {3341, {wxStyledTextCtrl, findColumn, 2}}, + {3342, {wxStyledTextCtrl, getCaretSticky, 0}}, + {3343, {wxStyledTextCtrl, setCaretSticky, 1}}, + {3344, {wxStyledTextCtrl, toggleCaretSticky, 0}}, + {3345, {wxStyledTextCtrl, setPasteConvertEndings, 1}}, + {3346, {wxStyledTextCtrl, getPasteConvertEndings, 0}}, + {3347, {wxStyledTextCtrl, selectionDuplicate, 0}}, + {3348, {wxStyledTextCtrl, setCaretLineBackAlpha, 1}}, + {3349, {wxStyledTextCtrl, getCaretLineBackAlpha, 0}}, + {3350, {wxStyledTextCtrl, startRecord, 0}}, + {3351, {wxStyledTextCtrl, stopRecord, 0}}, + {3352, {wxStyledTextCtrl, setLexer, 1}}, + {3353, {wxStyledTextCtrl, getLexer, 0}}, + {3354, {wxStyledTextCtrl, colourise, 2}}, + {3355, {wxStyledTextCtrl, setProperty, 2}}, + {3356, {wxStyledTextCtrl, setKeyWords, 2}}, + {3357, {wxStyledTextCtrl, setLexerLanguage, 1}}, + {3358, {wxStyledTextCtrl, getProperty, 1}}, + {3359, {wxStyledTextCtrl, getStyleBitsNeeded, 0}}, + {3360, {wxStyledTextCtrl, getCurrentLine, 0}}, + {3361, {wxStyledTextCtrl, styleSetSpec, 2}}, + {3362, {wxStyledTextCtrl, styleSetFont, 2}}, + {3363, {wxStyledTextCtrl, styleSetFontAttr, 7}}, + {3364, {wxStyledTextCtrl, styleSetCharacterSet, 2}}, + {3365, {wxStyledTextCtrl, styleSetFontEncoding, 2}}, + {3366, {wxStyledTextCtrl, cmdKeyExecute, 1}}, + {3367, {wxStyledTextCtrl, setMargins, 2}}, + {3368, {wxStyledTextCtrl, getSelection, 2}}, + {3369, {wxStyledTextCtrl, pointFromPosition, 1}}, + {3370, {wxStyledTextCtrl, scrollToLine, 1}}, + {3371, {wxStyledTextCtrl, scrollToColumn, 1}}, + {3372, {wxStyledTextCtrl, sendMsg, 2}}, + {3373, {wxStyledTextCtrl, setVScrollBar, 1}}, + {3374, {wxStyledTextCtrl, setHScrollBar, 1}}, + {3375, {wxStyledTextCtrl, getLastKeydownProcessed, 0}}, + {3376, {wxStyledTextCtrl, setLastKeydownProcessed, 1}}, + {3377, {wxStyledTextCtrl, saveFile, 1}}, + {3378, {wxStyledTextCtrl, loadFile, 1}}, + {3379, {wxStyledTextCtrl, doDragOver, 3}}, + {3380, {wxStyledTextCtrl, doDropText, 3}}, + {3381, {wxStyledTextCtrl, getUseAntiAliasing, 0}}, + {3382, {wxStyledTextCtrl, addTextRaw, 1}}, + {3383, {wxStyledTextCtrl, insertTextRaw, 2}}, + {3384, {wxStyledTextCtrl, getCurLineRaw, 1}}, + {3385, {wxStyledTextCtrl, getLineRaw, 1}}, + {3386, {wxStyledTextCtrl, getSelectedTextRaw, 0}}, + {3387, {wxStyledTextCtrl, getTextRangeRaw, 2}}, + {3388, {wxStyledTextCtrl, setTextRaw, 1}}, + {3389, {wxStyledTextCtrl, getTextRaw, 0}}, + {3390, {wxStyledTextCtrl, appendTextRaw, 1}}, + {3391, {wxArtProvider, getBitmap, 2}}, + {3392, {wxArtProvider, getIcon, 2}}, + {3393, {wxTreeEvent, getKeyCode, 0}}, + {3394, {wxTreeEvent, getItem, 0}}, + {3395, {wxTreeEvent, getKeyEvent, 0}}, + {3396, {wxTreeEvent, getLabel, 0}}, + {3397, {wxTreeEvent, getOldItem, 0}}, + {3398, {wxTreeEvent, getPoint, 0}}, + {3399, {wxTreeEvent, isEditCancelled, 0}}, + {3400, {wxTreeEvent, setToolTip, 1}}, + {3401, {wxNotebookEvent, getOldSelection, 0}}, + {3402, {wxNotebookEvent, getSelection, 0}}, + {3403, {wxNotebookEvent, setOldSelection, 1}}, + {3404, {wxNotebookEvent, setSelection, 1}}, + {3405, {wxFileDataObject, new, 0}}, + {3406, {wxFileDataObject, addFile, 1}}, + {3407, {wxFileDataObject, getFilenames, 0}}, + {3408, {wxFileDataObject, 'Destroy', undefined}}, + {3409, {wxTextDataObject, new, 1}}, + {3410, {wxTextDataObject, getTextLength, 0}}, + {3411, {wxTextDataObject, getText, 0}}, + {3412, {wxTextDataObject, setText, 1}}, + {3413, {wxTextDataObject, 'Destroy', undefined}}, + {3414, {wxBitmapDataObject, new_1_1, 1}}, + {3415, {wxBitmapDataObject, new_1_0, 1}}, + {3416, {wxBitmapDataObject, getBitmap, 0}}, + {3417, {wxBitmapDataObject, setBitmap, 1}}, + {3418, {wxBitmapDataObject, 'Destroy', undefined}}, + {3420, {wxClipboard, new, 0}}, + {3421, {wxClipboard, destruct, 0}}, + {3422, {wxClipboard, addData, 1}}, + {3423, {wxClipboard, clear, 0}}, + {3424, {wxClipboard, close, 0}}, + {3425, {wxClipboard, flush, 0}}, + {3426, {wxClipboard, getData, 1}}, + {3427, {wxClipboard, isOpened, 0}}, + {3428, {wxClipboard, open, 0}}, + {3429, {wxClipboard, setData, 1}}, + {3431, {wxClipboard, usePrimarySelection, 1}}, + {3432, {wxClipboard, isSupported, 1}}, + {3433, {wxClipboard, get, 0}}, + {3434, {wxSpinEvent, getPosition, 0}}, + {3435, {wxSpinEvent, setPosition, 1}}, + {3436, {wxSplitterWindow, new_0, 0}}, + {3437, {wxSplitterWindow, new_2, 2}}, + {3438, {wxSplitterWindow, destruct, 0}}, + {3439, {wxSplitterWindow, create, 2}}, + {3440, {wxSplitterWindow, getMinimumPaneSize, 0}}, + {3441, {wxSplitterWindow, getSashGravity, 0}}, + {3442, {wxSplitterWindow, getSashPosition, 0}}, + {3443, {wxSplitterWindow, getSplitMode, 0}}, + {3444, {wxSplitterWindow, getWindow1, 0}}, + {3445, {wxSplitterWindow, getWindow2, 0}}, + {3446, {wxSplitterWindow, initialize, 1}}, + {3447, {wxSplitterWindow, isSplit, 0}}, + {3448, {wxSplitterWindow, replaceWindow, 2}}, + {3449, {wxSplitterWindow, setSashGravity, 1}}, + {3450, {wxSplitterWindow, setSashPosition, 2}}, + {3451, {wxSplitterWindow, setSashSize, 1}}, + {3452, {wxSplitterWindow, setMinimumPaneSize, 1}}, + {3453, {wxSplitterWindow, setSplitMode, 1}}, + {3454, {wxSplitterWindow, splitHorizontally, 3}}, + {3455, {wxSplitterWindow, splitVertically, 3}}, + {3456, {wxSplitterWindow, unsplit, 1}}, + {3457, {wxSplitterWindow, updateSize, 0}}, + {3458, {wxSplitterEvent, getSashPosition, 0}}, + {3459, {wxSplitterEvent, getX, 0}}, + {3460, {wxSplitterEvent, getY, 0}}, + {3461, {wxSplitterEvent, getWindowBeingRemoved, 0}}, + {3462, {wxSplitterEvent, setSashPosition, 1}}, + {3463, {wxHtmlWindow, new_0, 0}}, + {3464, {wxHtmlWindow, new_2, 2}}, + {3465, {wxHtmlWindow, appendToPage, 1}}, + {3466, {wxHtmlWindow, getOpenedAnchor, 0}}, + {3467, {wxHtmlWindow, getOpenedPage, 0}}, + {3468, {wxHtmlWindow, getOpenedPageTitle, 0}}, + {3469, {wxHtmlWindow, getRelatedFrame, 0}}, + {3470, {wxHtmlWindow, historyBack, 0}}, + {3471, {wxHtmlWindow, historyCanBack, 0}}, + {3472, {wxHtmlWindow, historyCanForward, 0}}, + {3473, {wxHtmlWindow, historyClear, 0}}, + {3474, {wxHtmlWindow, historyForward, 0}}, + {3475, {wxHtmlWindow, loadFile, 1}}, + {3476, {wxHtmlWindow, loadPage, 1}}, + {3477, {wxHtmlWindow, selectAll, 0}}, + {3478, {wxHtmlWindow, selectionToText, 0}}, + {3479, {wxHtmlWindow, selectLine, 1}}, + {3480, {wxHtmlWindow, selectWord, 1}}, + {3481, {wxHtmlWindow, setBorders, 1}}, + {3482, {wxHtmlWindow, setFonts, 3}}, + {3483, {wxHtmlWindow, setPage, 1}}, + {3484, {wxHtmlWindow, setRelatedFrame, 2}}, + {3485, {wxHtmlWindow, setRelatedStatusBar, 1}}, + {3486, {wxHtmlWindow, toText, 0}}, + {3487, {wxHtmlWindow, 'Destroy', undefined}}, + {3488, {wxHtmlLinkEvent, getLinkInfo, 0}}, + {3489, {wxSystemSettings, getColour, 1}}, + {3490, {wxSystemSettings, getFont, 1}}, + {3491, {wxSystemSettings, getMetric, 2}}, + {3492, {wxSystemSettings, getScreenType, 0}}, + {3493, {wxSystemOptions, getOption, 1}}, + {3494, {wxSystemOptions, getOptionInt, 1}}, + {3495, {wxSystemOptions, hasOption, 1}}, + {3496, {wxSystemOptions, isFalse, 1}}, + {3497, {wxSystemOptions, setOption_2_1, 2}}, + {3498, {wxSystemOptions, setOption_2_0, 2}}, + {3499, {wxAuiNotebookEvent, setSelection, 1}}, + {3500, {wxAuiNotebookEvent, getSelection, 0}}, + {3501, {wxAuiNotebookEvent, setOldSelection, 1}}, + {3502, {wxAuiNotebookEvent, getOldSelection, 0}}, + {3503, {wxAuiNotebookEvent, setDragSource, 1}}, + {3504, {wxAuiNotebookEvent, getDragSource, 0}}, + {3505, {wxAuiManagerEvent, setManager, 1}}, + {3506, {wxAuiManagerEvent, getManager, 0}}, + {3507, {wxAuiManagerEvent, setPane, 1}}, + {3508, {wxAuiManagerEvent, getPane, 0}}, + {3509, {wxAuiManagerEvent, setButton, 1}}, + {3510, {wxAuiManagerEvent, getButton, 0}}, + {3511, {wxAuiManagerEvent, setDC, 1}}, + {3512, {wxAuiManagerEvent, getDC, 0}}, + {3513, {wxAuiManagerEvent, veto, 1}}, + {3514, {wxAuiManagerEvent, getVeto, 0}}, + {3515, {wxAuiManagerEvent, setCanVeto, 1}}, + {3516, {wxAuiManagerEvent, canVeto, 0}}, + {3517, {wxLogNull, new, 0}}, + {3518, {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 5d149f6fa2..a820c9d50e 100644 --- a/lib/wx/src/gen/wxe_funcs.hrl +++ b/lib/wx/src/gen/wxe_funcs.hrl @@ -561,119 +561,118 @@ -define(wxDC_GetCharHeight, 663). -define(wxDC_GetCharWidth, 664). -define(wxDC_GetClippingBox, 665). --define(wxDC_GetFont, 666). --define(wxDC_GetLayoutDirection, 667). --define(wxDC_GetLogicalFunction, 668). --define(wxDC_GetMapMode, 669). --define(wxDC_GetMultiLineTextExtent_4, 670). --define(wxDC_GetMultiLineTextExtent_1, 671). --define(wxDC_GetPartialTextExtents, 672). --define(wxDC_GetPen, 673). --define(wxDC_GetPixel, 674). --define(wxDC_GetPPI, 675). --define(wxDC_GetSize, 677). --define(wxDC_GetSizeMM, 679). --define(wxDC_GetTextBackground, 680). --define(wxDC_GetTextExtent_4, 681). --define(wxDC_GetTextExtent_1, 682). --define(wxDC_GetTextForeground, 684). --define(wxDC_GetUserScale, 685). --define(wxDC_GradientFillConcentric_3, 686). --define(wxDC_GradientFillConcentric_4, 687). --define(wxDC_GradientFillLinear, 688). --define(wxDC_LogicalToDeviceX, 689). --define(wxDC_LogicalToDeviceXRel, 690). --define(wxDC_LogicalToDeviceY, 691). --define(wxDC_LogicalToDeviceYRel, 692). --define(wxDC_MaxX, 693). --define(wxDC_MaxY, 694). --define(wxDC_MinX, 695). --define(wxDC_MinY, 696). --define(wxDC_IsOk, 697). --define(wxDC_ResetBoundingBox, 698). --define(wxDC_SetAxisOrientation, 699). --define(wxDC_SetBackground, 700). --define(wxDC_SetBackgroundMode, 701). --define(wxDC_SetBrush, 702). --define(wxDC_SetClippingRegion_2, 704). --define(wxDC_SetClippingRegion_1_1, 705). --define(wxDC_SetClippingRegion_1_0, 706). --define(wxDC_SetDeviceOrigin, 707). --define(wxDC_SetFont, 708). --define(wxDC_SetLayoutDirection, 709). --define(wxDC_SetLogicalFunction, 710). --define(wxDC_SetMapMode, 711). --define(wxDC_SetPalette, 712). --define(wxDC_SetPen, 713). --define(wxDC_SetTextBackground, 714). --define(wxDC_SetTextForeground, 715). --define(wxDC_SetUserScale, 716). --define(wxDC_StartDoc, 717). --define(wxDC_StartPage, 718). --define(wxMirrorDC_new, 719). --define(wxMirrorDC_destroy, 720). --define(wxScreenDC_new, 721). --define(wxScreenDC_destruct, 722). --define(wxPostScriptDC_new_0, 723). --define(wxPostScriptDC_new_1, 724). --define(wxPostScriptDC_destruct, 725). --define(wxPostScriptDC_SetResolution, 726). --define(wxPostScriptDC_GetResolution, 727). --define(wxWindowDC_new_0, 728). --define(wxWindowDC_new_1, 729). --define(wxWindowDC_destruct, 730). --define(wxClientDC_new_0, 731). --define(wxClientDC_new_1, 732). --define(wxClientDC_destroy, 733). --define(wxPaintDC_new_0, 734). --define(wxPaintDC_new_1, 735). --define(wxPaintDC_destroy, 736). --define(wxMemoryDC_new_1_0, 738). --define(wxMemoryDC_new_1_1, 739). --define(wxMemoryDC_new_0, 740). --define(wxMemoryDC_destruct, 742). --define(wxMemoryDC_SelectObject, 743). --define(wxMemoryDC_SelectObjectAsSource, 744). --define(wxBufferedDC_new_0, 745). --define(wxBufferedDC_new_2, 746). --define(wxBufferedDC_new_3, 747). --define(wxBufferedDC_destruct, 748). --define(wxBufferedDC_Init_2, 749). --define(wxBufferedDC_Init_3, 750). --define(wxBufferedPaintDC_new_3, 751). --define(wxBufferedPaintDC_new_2, 752). --define(wxBufferedPaintDC_destruct, 753). --define(wxGraphicsObject_destruct, 754). --define(wxGraphicsObject_GetRenderer, 755). --define(wxGraphicsObject_IsNull, 756). --define(wxGraphicsContext_destruct, 757). --define(wxGraphicsContext_Create_1_1, 758). --define(wxGraphicsContext_Create_1_0, 759). --define(wxGraphicsContext_Create_0, 760). --define(wxGraphicsContext_CreatePen, 761). --define(wxGraphicsContext_CreateBrush, 762). --define(wxGraphicsContext_CreateRadialGradientBrush, 763). --define(wxGraphicsContext_CreateLinearGradientBrush, 764). --define(wxGraphicsContext_CreateFont, 765). --define(wxGraphicsContext_CreateMatrix, 766). --define(wxGraphicsContext_CreatePath, 767). --define(wxGraphicsContext_Clip_1, 768). --define(wxGraphicsContext_Clip_4, 769). --define(wxGraphicsContext_ResetClip, 770). --define(wxGraphicsContext_DrawBitmap, 771). --define(wxGraphicsContext_DrawEllipse, 772). --define(wxGraphicsContext_DrawIcon, 773). --define(wxGraphicsContext_DrawLines, 774). --define(wxGraphicsContext_DrawPath, 775). --define(wxGraphicsContext_DrawRectangle, 776). --define(wxGraphicsContext_DrawRoundedRectangle, 777). --define(wxGraphicsContext_DrawText_3, 778). --define(wxGraphicsContext_DrawText_4_0, 779). --define(wxGraphicsContext_DrawText_4_1, 780). --define(wxGraphicsContext_DrawText_5, 781). --define(wxGraphicsContext_FillPath, 782). --define(wxGraphicsContext_StrokePath, 783). --define(wxGraphicsContext_GetNativeContext, 784). +-define(wxDC_GetFont, 667). +-define(wxDC_GetLayoutDirection, 668). +-define(wxDC_GetLogicalFunction, 669). +-define(wxDC_GetMapMode, 670). +-define(wxDC_GetMultiLineTextExtent_4, 671). +-define(wxDC_GetMultiLineTextExtent_1, 672). +-define(wxDC_GetPartialTextExtents, 673). +-define(wxDC_GetPen, 674). +-define(wxDC_GetPixel, 675). +-define(wxDC_GetPPI, 676). +-define(wxDC_GetSize, 678). +-define(wxDC_GetSizeMM, 680). +-define(wxDC_GetTextBackground, 681). +-define(wxDC_GetTextExtent_4, 682). +-define(wxDC_GetTextExtent_1, 683). +-define(wxDC_GetTextForeground, 685). +-define(wxDC_GetUserScale, 686). +-define(wxDC_GradientFillConcentric_3, 687). +-define(wxDC_GradientFillConcentric_4, 688). +-define(wxDC_GradientFillLinear, 689). +-define(wxDC_LogicalToDeviceX, 690). +-define(wxDC_LogicalToDeviceXRel, 691). +-define(wxDC_LogicalToDeviceY, 692). +-define(wxDC_LogicalToDeviceYRel, 693). +-define(wxDC_MaxX, 694). +-define(wxDC_MaxY, 695). +-define(wxDC_MinX, 696). +-define(wxDC_MinY, 697). +-define(wxDC_IsOk, 698). +-define(wxDC_ResetBoundingBox, 699). +-define(wxDC_SetAxisOrientation, 700). +-define(wxDC_SetBackground, 701). +-define(wxDC_SetBackgroundMode, 702). +-define(wxDC_SetBrush, 703). +-define(wxDC_SetClippingRegion_2, 705). +-define(wxDC_SetClippingRegion_1_1, 706). +-define(wxDC_SetClippingRegion_1_0, 707). +-define(wxDC_SetDeviceOrigin, 708). +-define(wxDC_SetFont, 709). +-define(wxDC_SetLayoutDirection, 710). +-define(wxDC_SetLogicalFunction, 711). +-define(wxDC_SetMapMode, 712). +-define(wxDC_SetPalette, 713). +-define(wxDC_SetPen, 714). +-define(wxDC_SetTextBackground, 715). +-define(wxDC_SetTextForeground, 716). +-define(wxDC_SetUserScale, 717). +-define(wxDC_StartDoc, 718). +-define(wxDC_StartPage, 719). +-define(wxMirrorDC_new, 720). +-define(wxMirrorDC_destroy, 721). +-define(wxScreenDC_new, 722). +-define(wxScreenDC_destruct, 723). +-define(wxPostScriptDC_new_0, 724). +-define(wxPostScriptDC_new_1, 725). +-define(wxPostScriptDC_destruct, 726). +-define(wxPostScriptDC_SetResolution, 727). +-define(wxPostScriptDC_GetResolution, 728). +-define(wxWindowDC_new_0, 729). +-define(wxWindowDC_new_1, 730). +-define(wxWindowDC_destruct, 731). +-define(wxClientDC_new_0, 732). +-define(wxClientDC_new_1, 733). +-define(wxClientDC_destroy, 734). +-define(wxPaintDC_new_0, 735). +-define(wxPaintDC_new_1, 736). +-define(wxPaintDC_destroy, 737). +-define(wxMemoryDC_new_1_0, 739). +-define(wxMemoryDC_new_1_1, 740). +-define(wxMemoryDC_new_0, 741). +-define(wxMemoryDC_destruct, 743). +-define(wxMemoryDC_SelectObject, 744). +-define(wxMemoryDC_SelectObjectAsSource, 745). +-define(wxBufferedDC_new_0, 746). +-define(wxBufferedDC_new_2, 747). +-define(wxBufferedDC_new_3, 748). +-define(wxBufferedDC_destruct, 749). +-define(wxBufferedDC_Init_2, 750). +-define(wxBufferedDC_Init_3, 751). +-define(wxBufferedPaintDC_new_3, 752). +-define(wxBufferedPaintDC_new_2, 753). +-define(wxBufferedPaintDC_destruct, 754). +-define(wxGraphicsObject_destruct, 755). +-define(wxGraphicsObject_GetRenderer, 756). +-define(wxGraphicsObject_IsNull, 757). +-define(wxGraphicsContext_destruct, 758). +-define(wxGraphicsContext_Create_1_1, 759). +-define(wxGraphicsContext_Create_1_0, 760). +-define(wxGraphicsContext_Create_0, 761). +-define(wxGraphicsContext_CreatePen, 762). +-define(wxGraphicsContext_CreateBrush, 763). +-define(wxGraphicsContext_CreateRadialGradientBrush, 764). +-define(wxGraphicsContext_CreateLinearGradientBrush, 765). +-define(wxGraphicsContext_CreateFont, 766). +-define(wxGraphicsContext_CreateMatrix, 767). +-define(wxGraphicsContext_CreatePath, 768). +-define(wxGraphicsContext_Clip_1, 769). +-define(wxGraphicsContext_Clip_4, 770). +-define(wxGraphicsContext_ResetClip, 771). +-define(wxGraphicsContext_DrawBitmap, 772). +-define(wxGraphicsContext_DrawEllipse, 773). +-define(wxGraphicsContext_DrawIcon, 774). +-define(wxGraphicsContext_DrawLines, 775). +-define(wxGraphicsContext_DrawPath, 776). +-define(wxGraphicsContext_DrawRectangle, 777). +-define(wxGraphicsContext_DrawRoundedRectangle, 778). +-define(wxGraphicsContext_DrawText_3, 779). +-define(wxGraphicsContext_DrawText_4_0, 780). +-define(wxGraphicsContext_DrawText_4_1, 781). +-define(wxGraphicsContext_DrawText_5, 782). +-define(wxGraphicsContext_FillPath, 783). +-define(wxGraphicsContext_StrokePath, 784). -define(wxGraphicsContext_GetPartialTextExtents, 785). -define(wxGraphicsContext_GetTextExtent, 786). -define(wxGraphicsContext_Rotate, 787). @@ -692,2608 +691,2607 @@ -define(wxGraphicsContext_StrokeLines, 800). -define(wxGraphicsMatrix_Concat, 802). -define(wxGraphicsMatrix_Get, 804). --define(wxGraphicsMatrix_GetNativeMatrix, 805). --define(wxGraphicsMatrix_Invert, 806). --define(wxGraphicsMatrix_IsEqual, 807). --define(wxGraphicsMatrix_IsIdentity, 809). --define(wxGraphicsMatrix_Rotate, 810). --define(wxGraphicsMatrix_Scale, 811). --define(wxGraphicsMatrix_Translate, 812). --define(wxGraphicsMatrix_Set, 813). --define(wxGraphicsMatrix_TransformPoint, 814). --define(wxGraphicsMatrix_TransformDistance, 815). --define(wxGraphicsPath_MoveToPoint_2, 816). --define(wxGraphicsPath_MoveToPoint_1, 817). --define(wxGraphicsPath_AddArc_6, 818). --define(wxGraphicsPath_AddArc_5, 819). --define(wxGraphicsPath_AddArcToPoint, 820). --define(wxGraphicsPath_AddCircle, 821). --define(wxGraphicsPath_AddCurveToPoint_6, 822). --define(wxGraphicsPath_AddCurveToPoint_3, 823). --define(wxGraphicsPath_AddEllipse, 824). --define(wxGraphicsPath_AddLineToPoint_2, 825). --define(wxGraphicsPath_AddLineToPoint_1, 826). --define(wxGraphicsPath_AddPath, 827). --define(wxGraphicsPath_AddQuadCurveToPoint, 828). --define(wxGraphicsPath_AddRectangle, 829). --define(wxGraphicsPath_AddRoundedRectangle, 830). --define(wxGraphicsPath_CloseSubpath, 831). --define(wxGraphicsPath_Contains_3, 832). --define(wxGraphicsPath_Contains_2, 833). --define(wxGraphicsPath_GetBox, 835). --define(wxGraphicsPath_GetCurrentPoint, 837). --define(wxGraphicsPath_Transform, 838). --define(wxGraphicsRenderer_GetDefaultRenderer, 839). --define(wxGraphicsRenderer_CreateContext_1_1, 840). --define(wxGraphicsRenderer_CreateContext_1_0, 841). --define(wxGraphicsRenderer_CreatePen, 842). --define(wxGraphicsRenderer_CreateBrush, 843). --define(wxGraphicsRenderer_CreateLinearGradientBrush, 844). --define(wxGraphicsRenderer_CreateRadialGradientBrush, 845). --define(wxGraphicsRenderer_CreateFont, 846). --define(wxGraphicsRenderer_CreateMatrix, 847). --define(wxGraphicsRenderer_CreatePath, 848). --define(wxMenuBar_new_1, 850). --define(wxMenuBar_new_0, 852). --define(wxMenuBar_destruct, 854). --define(wxMenuBar_Append, 855). --define(wxMenuBar_Check, 856). --define(wxMenuBar_Enable_2, 857). --define(wxMenuBar_Enable_1, 858). --define(wxMenuBar_EnableTop, 859). --define(wxMenuBar_FindMenu, 860). --define(wxMenuBar_FindMenuItem, 861). --define(wxMenuBar_FindItem, 862). --define(wxMenuBar_GetHelpString, 863). --define(wxMenuBar_GetLabel_1, 864). --define(wxMenuBar_GetLabel_0, 865). --define(wxMenuBar_GetLabelTop, 866). --define(wxMenuBar_GetMenu, 867). --define(wxMenuBar_GetMenuCount, 868). --define(wxMenuBar_Insert, 869). --define(wxMenuBar_IsChecked, 870). --define(wxMenuBar_IsEnabled_1, 871). --define(wxMenuBar_IsEnabled_0, 872). --define(wxMenuBar_Remove, 873). --define(wxMenuBar_Replace, 874). --define(wxMenuBar_SetHelpString, 875). --define(wxMenuBar_SetLabel_2, 876). --define(wxMenuBar_SetLabel_1, 877). --define(wxMenuBar_SetLabelTop, 878). --define(wxControl_GetLabel, 879). --define(wxControl_SetLabel, 880). --define(wxControlWithItems_Append_1, 881). --define(wxControlWithItems_Append_2, 882). --define(wxControlWithItems_appendStrings_1, 883). --define(wxControlWithItems_Clear, 884). --define(wxControlWithItems_Delete, 885). --define(wxControlWithItems_FindString, 886). --define(wxControlWithItems_getClientData, 887). --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(wxListItemAttr_new_0, 1759). --define(wxListItemAttr_new_3, 1760). --define(wxListItemAttr_GetBackgroundColour, 1761). --define(wxListItemAttr_GetFont, 1762). --define(wxListItemAttr_GetTextColour, 1763). --define(wxListItemAttr_HasBackgroundColour, 1764). --define(wxListItemAttr_HasFont, 1765). --define(wxListItemAttr_HasTextColour, 1766). --define(wxListItemAttr_SetBackgroundColour, 1767). --define(wxListItemAttr_SetFont, 1768). --define(wxListItemAttr_SetTextColour, 1769). --define(wxListItemAttr_destroy, 1770). --define(wxImageList_new_0, 1771). --define(wxImageList_new_3, 1772). --define(wxImageList_Add_1, 1773). --define(wxImageList_Add_2_0, 1774). --define(wxImageList_Add_2_1, 1775). --define(wxImageList_Create, 1776). --define(wxImageList_Draw, 1778). --define(wxImageList_GetBitmap, 1779). --define(wxImageList_GetIcon, 1780). --define(wxImageList_GetImageCount, 1781). --define(wxImageList_GetSize, 1782). --define(wxImageList_Remove, 1783). --define(wxImageList_RemoveAll, 1784). --define(wxImageList_Replace_2, 1785). --define(wxImageList_Replace_3, 1786). --define(wxImageList_destroy, 1787). --define(wxTextAttr_new_0, 1788). --define(wxTextAttr_new_2, 1789). --define(wxTextAttr_GetAlignment, 1790). --define(wxTextAttr_GetBackgroundColour, 1791). --define(wxTextAttr_GetFont, 1792). --define(wxTextAttr_GetLeftIndent, 1793). --define(wxTextAttr_GetLeftSubIndent, 1794). --define(wxTextAttr_GetRightIndent, 1795). --define(wxTextAttr_GetTabs, 1796). --define(wxTextAttr_GetTextColour, 1797). --define(wxTextAttr_HasBackgroundColour, 1798). --define(wxTextAttr_HasFont, 1799). --define(wxTextAttr_HasTextColour, 1800). --define(wxTextAttr_GetFlags, 1801). --define(wxTextAttr_IsDefault, 1802). --define(wxTextAttr_SetAlignment, 1803). --define(wxTextAttr_SetBackgroundColour, 1804). --define(wxTextAttr_SetFlags, 1805). --define(wxTextAttr_SetFont, 1806). --define(wxTextAttr_SetLeftIndent, 1807). --define(wxTextAttr_SetRightIndent, 1808). --define(wxTextAttr_SetTabs, 1809). --define(wxTextAttr_SetTextColour, 1810). --define(wxTextAttr_destroy, 1811). --define(wxTextCtrl_new_3, 1813). --define(wxTextCtrl_new_0, 1814). --define(wxTextCtrl_destruct, 1816). --define(wxTextCtrl_AppendText, 1817). --define(wxTextCtrl_CanCopy, 1818). --define(wxTextCtrl_CanCut, 1819). --define(wxTextCtrl_CanPaste, 1820). --define(wxTextCtrl_CanRedo, 1821). --define(wxTextCtrl_CanUndo, 1822). --define(wxTextCtrl_Clear, 1823). --define(wxTextCtrl_Copy, 1824). --define(wxTextCtrl_Create, 1825). --define(wxTextCtrl_Cut, 1826). --define(wxTextCtrl_DiscardEdits, 1827). --define(wxTextCtrl_EmulateKeyPress, 1828). --define(wxTextCtrl_GetDefaultStyle, 1829). --define(wxTextCtrl_GetInsertionPoint, 1830). --define(wxTextCtrl_GetLastPosition, 1831). --define(wxTextCtrl_GetLineLength, 1832). --define(wxTextCtrl_GetLineText, 1833). --define(wxTextCtrl_GetNumberOfLines, 1834). --define(wxTextCtrl_GetRange, 1835). --define(wxTextCtrl_GetSelection, 1836). --define(wxTextCtrl_GetStringSelection, 1837). --define(wxTextCtrl_GetStyle, 1838). --define(wxTextCtrl_GetValue, 1839). --define(wxTextCtrl_IsEditable, 1840). --define(wxTextCtrl_IsModified, 1841). --define(wxTextCtrl_IsMultiLine, 1842). --define(wxTextCtrl_IsSingleLine, 1843). --define(wxTextCtrl_LoadFile, 1844). --define(wxTextCtrl_MarkDirty, 1845). --define(wxTextCtrl_Paste, 1846). --define(wxTextCtrl_PositionToXY, 1847). --define(wxTextCtrl_Redo, 1848). --define(wxTextCtrl_Remove, 1849). --define(wxTextCtrl_Replace, 1850). --define(wxTextCtrl_SaveFile, 1851). --define(wxTextCtrl_SetDefaultStyle, 1852). --define(wxTextCtrl_SetEditable, 1853). --define(wxTextCtrl_SetInsertionPoint, 1854). --define(wxTextCtrl_SetInsertionPointEnd, 1855). --define(wxTextCtrl_SetMaxLength, 1857). --define(wxTextCtrl_SetSelection, 1858). --define(wxTextCtrl_SetStyle, 1859). --define(wxTextCtrl_SetValue, 1860). --define(wxTextCtrl_ShowPosition, 1861). --define(wxTextCtrl_Undo, 1862). --define(wxTextCtrl_WriteText, 1863). --define(wxTextCtrl_XYToPosition, 1864). --define(wxNotebook_new_0, 1867). --define(wxNotebook_new_3, 1868). --define(wxNotebook_destruct, 1869). --define(wxNotebook_AddPage, 1870). --define(wxNotebook_AdvanceSelection, 1871). --define(wxNotebook_AssignImageList, 1872). --define(wxNotebook_Create, 1873). --define(wxNotebook_DeleteAllPages, 1874). --define(wxNotebook_DeletePage, 1875). --define(wxNotebook_RemovePage, 1876). --define(wxNotebook_GetCurrentPage, 1877). --define(wxNotebook_GetImageList, 1878). --define(wxNotebook_GetPage, 1880). --define(wxNotebook_GetPageCount, 1881). --define(wxNotebook_GetPageImage, 1882). --define(wxNotebook_GetPageText, 1883). --define(wxNotebook_GetRowCount, 1884). --define(wxNotebook_GetSelection, 1885). --define(wxNotebook_GetThemeBackgroundColour, 1886). --define(wxNotebook_HitTest, 1888). --define(wxNotebook_InsertPage, 1890). --define(wxNotebook_SetImageList, 1891). --define(wxNotebook_SetPadding, 1892). --define(wxNotebook_SetPageSize, 1893). --define(wxNotebook_SetPageImage, 1894). --define(wxNotebook_SetPageText, 1895). --define(wxNotebook_SetSelection, 1896). --define(wxNotebook_ChangeSelection, 1897). --define(wxChoicebook_new_0, 1898). --define(wxChoicebook_new_3, 1899). --define(wxChoicebook_AddPage, 1900). --define(wxChoicebook_AdvanceSelection, 1901). --define(wxChoicebook_AssignImageList, 1902). --define(wxChoicebook_Create, 1903). --define(wxChoicebook_DeleteAllPages, 1904). --define(wxChoicebook_DeletePage, 1905). --define(wxChoicebook_RemovePage, 1906). --define(wxChoicebook_GetCurrentPage, 1907). --define(wxChoicebook_GetImageList, 1908). --define(wxChoicebook_GetPage, 1910). --define(wxChoicebook_GetPageCount, 1911). --define(wxChoicebook_GetPageImage, 1912). --define(wxChoicebook_GetPageText, 1913). --define(wxChoicebook_GetSelection, 1914). --define(wxChoicebook_HitTest, 1915). --define(wxChoicebook_InsertPage, 1916). --define(wxChoicebook_SetImageList, 1917). --define(wxChoicebook_SetPageSize, 1918). --define(wxChoicebook_SetPageImage, 1919). --define(wxChoicebook_SetPageText, 1920). --define(wxChoicebook_SetSelection, 1921). --define(wxChoicebook_ChangeSelection, 1922). --define(wxChoicebook_destroy, 1923). --define(wxToolbook_new_0, 1924). --define(wxToolbook_new_3, 1925). --define(wxToolbook_AddPage, 1926). --define(wxToolbook_AdvanceSelection, 1927). --define(wxToolbook_AssignImageList, 1928). --define(wxToolbook_Create, 1929). --define(wxToolbook_DeleteAllPages, 1930). --define(wxToolbook_DeletePage, 1931). --define(wxToolbook_RemovePage, 1932). --define(wxToolbook_GetCurrentPage, 1933). --define(wxToolbook_GetImageList, 1934). --define(wxToolbook_GetPage, 1936). --define(wxToolbook_GetPageCount, 1937). --define(wxToolbook_GetPageImage, 1938). --define(wxToolbook_GetPageText, 1939). --define(wxToolbook_GetSelection, 1940). --define(wxToolbook_HitTest, 1942). --define(wxToolbook_InsertPage, 1943). --define(wxToolbook_SetImageList, 1944). --define(wxToolbook_SetPageSize, 1945). --define(wxToolbook_SetPageImage, 1946). --define(wxToolbook_SetPageText, 1947). --define(wxToolbook_SetSelection, 1948). --define(wxToolbook_ChangeSelection, 1949). --define(wxToolbook_destroy, 1950). --define(wxListbook_new_0, 1951). --define(wxListbook_new_3, 1952). --define(wxListbook_AddPage, 1953). --define(wxListbook_AdvanceSelection, 1954). --define(wxListbook_AssignImageList, 1955). --define(wxListbook_Create, 1956). --define(wxListbook_DeleteAllPages, 1957). --define(wxListbook_DeletePage, 1958). --define(wxListbook_RemovePage, 1959). --define(wxListbook_GetCurrentPage, 1960). --define(wxListbook_GetImageList, 1961). --define(wxListbook_GetPage, 1963). --define(wxListbook_GetPageCount, 1964). --define(wxListbook_GetPageImage, 1965). --define(wxListbook_GetPageText, 1966). --define(wxListbook_GetSelection, 1967). --define(wxListbook_HitTest, 1969). --define(wxListbook_InsertPage, 1970). --define(wxListbook_SetImageList, 1971). --define(wxListbook_SetPageSize, 1972). --define(wxListbook_SetPageImage, 1973). --define(wxListbook_SetPageText, 1974). --define(wxListbook_SetSelection, 1975). --define(wxListbook_ChangeSelection, 1976). --define(wxListbook_destroy, 1977). --define(wxTreebook_new_0, 1978). --define(wxTreebook_new_3, 1979). --define(wxTreebook_AddPage, 1980). --define(wxTreebook_AdvanceSelection, 1981). --define(wxTreebook_AssignImageList, 1982). --define(wxTreebook_Create, 1983). --define(wxTreebook_DeleteAllPages, 1984). --define(wxTreebook_DeletePage, 1985). --define(wxTreebook_RemovePage, 1986). --define(wxTreebook_GetCurrentPage, 1987). --define(wxTreebook_GetImageList, 1988). --define(wxTreebook_GetPage, 1990). --define(wxTreebook_GetPageCount, 1991). --define(wxTreebook_GetPageImage, 1992). --define(wxTreebook_GetPageText, 1993). --define(wxTreebook_GetSelection, 1994). --define(wxTreebook_ExpandNode, 1995). --define(wxTreebook_IsNodeExpanded, 1996). --define(wxTreebook_HitTest, 1998). --define(wxTreebook_InsertPage, 1999). --define(wxTreebook_InsertSubPage, 2000). --define(wxTreebook_SetImageList, 2001). --define(wxTreebook_SetPageSize, 2002). --define(wxTreebook_SetPageImage, 2003). --define(wxTreebook_SetPageText, 2004). --define(wxTreebook_SetSelection, 2005). --define(wxTreebook_ChangeSelection, 2006). --define(wxTreebook_destroy, 2007). --define(wxTreeCtrl_new_2, 2010). --define(wxTreeCtrl_new_0, 2011). --define(wxTreeCtrl_destruct, 2013). --define(wxTreeCtrl_AddRoot, 2014). --define(wxTreeCtrl_AppendItem, 2015). --define(wxTreeCtrl_AssignImageList, 2016). --define(wxTreeCtrl_AssignStateImageList, 2017). --define(wxTreeCtrl_Collapse, 2018). --define(wxTreeCtrl_CollapseAndReset, 2019). --define(wxTreeCtrl_Create, 2020). --define(wxTreeCtrl_Delete, 2021). --define(wxTreeCtrl_DeleteAllItems, 2022). --define(wxTreeCtrl_DeleteChildren, 2023). --define(wxTreeCtrl_EditLabel, 2024). --define(wxTreeCtrl_EnsureVisible, 2025). --define(wxTreeCtrl_Expand, 2026). --define(wxTreeCtrl_GetBoundingRect, 2027). --define(wxTreeCtrl_GetChildrenCount, 2029). --define(wxTreeCtrl_GetCount, 2030). --define(wxTreeCtrl_GetEditControl, 2031). --define(wxTreeCtrl_GetFirstChild, 2032). --define(wxTreeCtrl_GetNextChild, 2033). --define(wxTreeCtrl_GetFirstVisibleItem, 2034). --define(wxTreeCtrl_GetImageList, 2035). --define(wxTreeCtrl_GetIndent, 2036). --define(wxTreeCtrl_GetItemBackgroundColour, 2037). --define(wxTreeCtrl_GetItemData, 2038). --define(wxTreeCtrl_GetItemFont, 2039). --define(wxTreeCtrl_GetItemImage_1, 2040). --define(wxTreeCtrl_GetItemImage_2, 2041). --define(wxTreeCtrl_GetItemText, 2042). --define(wxTreeCtrl_GetItemTextColour, 2043). --define(wxTreeCtrl_GetLastChild, 2044). --define(wxTreeCtrl_GetNextSibling, 2045). --define(wxTreeCtrl_GetNextVisible, 2046). --define(wxTreeCtrl_GetItemParent, 2047). --define(wxTreeCtrl_GetPrevSibling, 2048). --define(wxTreeCtrl_GetPrevVisible, 2049). --define(wxTreeCtrl_GetRootItem, 2050). --define(wxTreeCtrl_GetSelection, 2051). --define(wxTreeCtrl_GetSelections, 2052). --define(wxTreeCtrl_GetStateImageList, 2053). --define(wxTreeCtrl_HitTest, 2054). --define(wxTreeCtrl_InsertItem, 2056). --define(wxTreeCtrl_IsBold, 2057). --define(wxTreeCtrl_IsExpanded, 2058). --define(wxTreeCtrl_IsSelected, 2059). --define(wxTreeCtrl_IsVisible, 2060). --define(wxTreeCtrl_ItemHasChildren, 2061). --define(wxTreeCtrl_PrependItem, 2062). --define(wxTreeCtrl_ScrollTo, 2063). --define(wxTreeCtrl_SelectItem_1, 2064). --define(wxTreeCtrl_SelectItem_2, 2065). --define(wxTreeCtrl_SetIndent, 2066). --define(wxTreeCtrl_SetImageList, 2067). --define(wxTreeCtrl_SetItemBackgroundColour, 2068). --define(wxTreeCtrl_SetItemBold, 2069). --define(wxTreeCtrl_SetItemData, 2070). --define(wxTreeCtrl_SetItemDropHighlight, 2071). --define(wxTreeCtrl_SetItemFont, 2072). --define(wxTreeCtrl_SetItemHasChildren, 2073). --define(wxTreeCtrl_SetItemImage_2, 2074). --define(wxTreeCtrl_SetItemImage_3, 2075). --define(wxTreeCtrl_SetItemText, 2076). --define(wxTreeCtrl_SetItemTextColour, 2077). --define(wxTreeCtrl_SetStateImageList, 2078). --define(wxTreeCtrl_SetWindowStyle, 2079). --define(wxTreeCtrl_SortChildren, 2080). --define(wxTreeCtrl_Toggle, 2081). --define(wxTreeCtrl_ToggleItemSelection, 2082). --define(wxTreeCtrl_Unselect, 2083). --define(wxTreeCtrl_UnselectAll, 2084). --define(wxTreeCtrl_UnselectItem, 2085). --define(wxScrollBar_new_0, 2086). --define(wxScrollBar_new_3, 2087). --define(wxScrollBar_destruct, 2088). --define(wxScrollBar_Create, 2089). --define(wxScrollBar_GetRange, 2090). --define(wxScrollBar_GetPageSize, 2091). --define(wxScrollBar_GetThumbPosition, 2092). --define(wxScrollBar_GetThumbSize, 2093). --define(wxScrollBar_SetThumbPosition, 2094). --define(wxScrollBar_SetScrollbar, 2095). --define(wxSpinButton_new_2, 2097). --define(wxSpinButton_new_0, 2098). --define(wxSpinButton_Create, 2099). --define(wxSpinButton_GetMax, 2100). --define(wxSpinButton_GetMin, 2101). --define(wxSpinButton_GetValue, 2102). --define(wxSpinButton_SetRange, 2103). --define(wxSpinButton_SetValue, 2104). --define(wxSpinButton_destroy, 2105). --define(wxSpinCtrl_new_0, 2106). --define(wxSpinCtrl_new_2, 2107). --define(wxSpinCtrl_Create, 2109). --define(wxSpinCtrl_SetValue_1_1, 2112). --define(wxSpinCtrl_SetValue_1_0, 2113). --define(wxSpinCtrl_GetValue, 2115). --define(wxSpinCtrl_SetRange, 2117). --define(wxSpinCtrl_SetSelection, 2118). --define(wxSpinCtrl_GetMin, 2120). --define(wxSpinCtrl_GetMax, 2122). --define(wxSpinCtrl_destroy, 2123). --define(wxStaticText_new_0, 2124). --define(wxStaticText_new_4, 2125). --define(wxStaticText_Create, 2126). --define(wxStaticText_GetLabel, 2127). --define(wxStaticText_SetLabel, 2128). --define(wxStaticText_Wrap, 2129). --define(wxStaticText_destroy, 2130). --define(wxStaticBitmap_new_0, 2131). --define(wxStaticBitmap_new_4, 2132). --define(wxStaticBitmap_Create, 2133). --define(wxStaticBitmap_GetBitmap, 2134). --define(wxStaticBitmap_SetBitmap, 2135). --define(wxStaticBitmap_destroy, 2136). --define(wxRadioBox_new, 2137). --define(wxRadioBox_destruct, 2139). --define(wxRadioBox_Create, 2140). --define(wxRadioBox_Enable_2, 2141). --define(wxRadioBox_Enable_1, 2142). --define(wxRadioBox_GetSelection, 2143). --define(wxRadioBox_GetString, 2144). --define(wxRadioBox_SetSelection, 2145). --define(wxRadioBox_Show_2, 2146). --define(wxRadioBox_Show_1, 2147). --define(wxRadioBox_GetColumnCount, 2148). --define(wxRadioBox_GetItemHelpText, 2149). --define(wxRadioBox_GetItemToolTip, 2150). --define(wxRadioBox_GetItemFromPoint, 2152). --define(wxRadioBox_GetRowCount, 2153). --define(wxRadioBox_IsItemEnabled, 2154). --define(wxRadioBox_IsItemShown, 2155). --define(wxRadioBox_SetItemHelpText, 2156). --define(wxRadioBox_SetItemToolTip, 2157). --define(wxRadioButton_new_0, 2158). --define(wxRadioButton_new_4, 2159). --define(wxRadioButton_Create, 2160). --define(wxRadioButton_GetValue, 2161). --define(wxRadioButton_SetValue, 2162). --define(wxRadioButton_destroy, 2163). --define(wxSlider_new_6, 2165). --define(wxSlider_new_0, 2166). --define(wxSlider_Create, 2167). --define(wxSlider_GetLineSize, 2168). --define(wxSlider_GetMax, 2169). --define(wxSlider_GetMin, 2170). --define(wxSlider_GetPageSize, 2171). --define(wxSlider_GetThumbLength, 2172). --define(wxSlider_GetValue, 2173). --define(wxSlider_SetLineSize, 2174). --define(wxSlider_SetPageSize, 2175). --define(wxSlider_SetRange, 2176). --define(wxSlider_SetThumbLength, 2177). --define(wxSlider_SetValue, 2178). --define(wxSlider_destroy, 2179). --define(wxDialog_new_4, 2181). --define(wxDialog_new_0, 2182). --define(wxDialog_destruct, 2184). --define(wxDialog_Create, 2185). --define(wxDialog_CreateButtonSizer, 2186). --define(wxDialog_CreateStdDialogButtonSizer, 2187). --define(wxDialog_EndModal, 2188). --define(wxDialog_GetAffirmativeId, 2189). --define(wxDialog_GetReturnCode, 2190). --define(wxDialog_IsModal, 2191). --define(wxDialog_SetAffirmativeId, 2192). --define(wxDialog_SetReturnCode, 2193). --define(wxDialog_Show, 2194). --define(wxDialog_ShowModal, 2195). --define(wxColourDialog_new_0, 2196). --define(wxColourDialog_new_2, 2197). --define(wxColourDialog_destruct, 2198). --define(wxColourDialog_Create, 2199). --define(wxColourDialog_GetColourData, 2200). --define(wxColourData_new_0, 2201). --define(wxColourData_new_1, 2202). --define(wxColourData_destruct, 2203). --define(wxColourData_GetChooseFull, 2204). --define(wxColourData_GetColour, 2205). --define(wxColourData_GetCustomColour, 2207). --define(wxColourData_SetChooseFull, 2208). --define(wxColourData_SetColour, 2209). --define(wxColourData_SetCustomColour, 2210). --define(wxPalette_new_0, 2211). --define(wxPalette_new_4, 2212). --define(wxPalette_destruct, 2214). --define(wxPalette_Create, 2215). --define(wxPalette_GetColoursCount, 2216). --define(wxPalette_GetPixel, 2217). --define(wxPalette_GetRGB, 2218). --define(wxPalette_IsOk, 2219). --define(wxDirDialog_new, 2223). --define(wxDirDialog_destruct, 2224). --define(wxDirDialog_GetPath, 2225). --define(wxDirDialog_GetMessage, 2226). --define(wxDirDialog_SetMessage, 2227). --define(wxDirDialog_SetPath, 2228). --define(wxFileDialog_new, 2232). --define(wxFileDialog_destruct, 2233). --define(wxFileDialog_GetDirectory, 2234). --define(wxFileDialog_GetFilename, 2235). --define(wxFileDialog_GetFilenames, 2236). --define(wxFileDialog_GetFilterIndex, 2237). --define(wxFileDialog_GetMessage, 2238). --define(wxFileDialog_GetPath, 2239). --define(wxFileDialog_GetPaths, 2240). --define(wxFileDialog_GetWildcard, 2241). --define(wxFileDialog_SetDirectory, 2242). --define(wxFileDialog_SetFilename, 2243). --define(wxFileDialog_SetFilterIndex, 2244). --define(wxFileDialog_SetMessage, 2245). --define(wxFileDialog_SetPath, 2246). --define(wxFileDialog_SetWildcard, 2247). --define(wxPickerBase_SetInternalMargin, 2248). --define(wxPickerBase_GetInternalMargin, 2249). --define(wxPickerBase_SetTextCtrlProportion, 2250). --define(wxPickerBase_SetPickerCtrlProportion, 2251). --define(wxPickerBase_GetTextCtrlProportion, 2252). --define(wxPickerBase_GetPickerCtrlProportion, 2253). --define(wxPickerBase_HasTextCtrl, 2254). --define(wxPickerBase_GetTextCtrl, 2255). --define(wxPickerBase_IsTextCtrlGrowable, 2256). --define(wxPickerBase_SetPickerCtrlGrowable, 2257). --define(wxPickerBase_SetTextCtrlGrowable, 2258). --define(wxPickerBase_IsPickerCtrlGrowable, 2259). --define(wxFilePickerCtrl_new_0, 2260). --define(wxFilePickerCtrl_new_3, 2261). --define(wxFilePickerCtrl_Create, 2262). --define(wxFilePickerCtrl_GetPath, 2263). --define(wxFilePickerCtrl_SetPath, 2264). --define(wxFilePickerCtrl_destroy, 2265). --define(wxDirPickerCtrl_new_0, 2266). --define(wxDirPickerCtrl_new_3, 2267). --define(wxDirPickerCtrl_Create, 2268). --define(wxDirPickerCtrl_GetPath, 2269). --define(wxDirPickerCtrl_SetPath, 2270). --define(wxDirPickerCtrl_destroy, 2271). --define(wxColourPickerCtrl_new_0, 2272). --define(wxColourPickerCtrl_new_3, 2273). --define(wxColourPickerCtrl_Create, 2274). --define(wxColourPickerCtrl_GetColour, 2275). --define(wxColourPickerCtrl_SetColour_1_1, 2276). --define(wxColourPickerCtrl_SetColour_1_0, 2277). --define(wxColourPickerCtrl_destroy, 2278). --define(wxDatePickerCtrl_new_0, 2279). --define(wxDatePickerCtrl_new_3, 2280). --define(wxDatePickerCtrl_GetRange, 2281). --define(wxDatePickerCtrl_GetValue, 2282). --define(wxDatePickerCtrl_SetRange, 2283). --define(wxDatePickerCtrl_SetValue, 2284). --define(wxDatePickerCtrl_destroy, 2285). --define(wxFontPickerCtrl_new_0, 2286). --define(wxFontPickerCtrl_new_3, 2287). --define(wxFontPickerCtrl_Create, 2288). --define(wxFontPickerCtrl_GetSelectedFont, 2289). --define(wxFontPickerCtrl_SetSelectedFont, 2290). --define(wxFontPickerCtrl_GetMaxPointSize, 2291). --define(wxFontPickerCtrl_SetMaxPointSize, 2292). --define(wxFontPickerCtrl_destroy, 2293). --define(wxFindReplaceDialog_new_0, 2296). --define(wxFindReplaceDialog_new_4, 2297). --define(wxFindReplaceDialog_destruct, 2298). --define(wxFindReplaceDialog_Create, 2299). --define(wxFindReplaceDialog_GetData, 2300). --define(wxFindReplaceData_new_0, 2301). --define(wxFindReplaceData_new_1, 2302). --define(wxFindReplaceData_GetFindString, 2303). --define(wxFindReplaceData_GetReplaceString, 2304). --define(wxFindReplaceData_GetFlags, 2305). --define(wxFindReplaceData_SetFlags, 2306). --define(wxFindReplaceData_SetFindString, 2307). --define(wxFindReplaceData_SetReplaceString, 2308). --define(wxFindReplaceData_destroy, 2309). --define(wxMultiChoiceDialog_new_0, 2310). --define(wxMultiChoiceDialog_new_5, 2312). --define(wxMultiChoiceDialog_GetSelections, 2313). --define(wxMultiChoiceDialog_SetSelections, 2314). --define(wxMultiChoiceDialog_destroy, 2315). --define(wxSingleChoiceDialog_new_0, 2316). --define(wxSingleChoiceDialog_new_5, 2318). --define(wxSingleChoiceDialog_GetSelection, 2319). --define(wxSingleChoiceDialog_GetStringSelection, 2320). --define(wxSingleChoiceDialog_SetSelection, 2321). --define(wxSingleChoiceDialog_destroy, 2322). --define(wxTextEntryDialog_new, 2323). --define(wxTextEntryDialog_GetValue, 2324). --define(wxTextEntryDialog_SetValue, 2325). --define(wxTextEntryDialog_destroy, 2326). --define(wxPasswordEntryDialog_new, 2327). --define(wxPasswordEntryDialog_destroy, 2328). --define(wxFontData_new_0, 2329). --define(wxFontData_new_1, 2330). --define(wxFontData_destruct, 2331). --define(wxFontData_EnableEffects, 2332). --define(wxFontData_GetAllowSymbols, 2333). --define(wxFontData_GetColour, 2334). --define(wxFontData_GetChosenFont, 2335). --define(wxFontData_GetEnableEffects, 2336). --define(wxFontData_GetInitialFont, 2337). --define(wxFontData_GetShowHelp, 2338). --define(wxFontData_SetAllowSymbols, 2339). --define(wxFontData_SetChosenFont, 2340). --define(wxFontData_SetColour, 2341). --define(wxFontData_SetInitialFont, 2342). --define(wxFontData_SetRange, 2343). --define(wxFontData_SetShowHelp, 2344). --define(wxFontDialog_new_0, 2348). --define(wxFontDialog_new_2, 2350). --define(wxFontDialog_Create, 2352). --define(wxFontDialog_GetFontData, 2353). --define(wxFontDialog_destroy, 2355). --define(wxProgressDialog_new, 2356). --define(wxProgressDialog_destruct, 2357). --define(wxProgressDialog_Resume, 2358). --define(wxProgressDialog_Update_2, 2359). --define(wxProgressDialog_Update_0, 2360). --define(wxMessageDialog_new, 2361). --define(wxMessageDialog_destruct, 2362). --define(wxPageSetupDialog_new, 2363). --define(wxPageSetupDialog_destruct, 2364). --define(wxPageSetupDialog_GetPageSetupData, 2365). --define(wxPageSetupDialog_ShowModal, 2366). --define(wxPageSetupDialogData_new_0, 2367). --define(wxPageSetupDialogData_new_1_0, 2368). --define(wxPageSetupDialogData_new_1_1, 2369). --define(wxPageSetupDialogData_destruct, 2370). --define(wxPageSetupDialogData_EnableHelp, 2371). --define(wxPageSetupDialogData_EnableMargins, 2372). --define(wxPageSetupDialogData_EnableOrientation, 2373). --define(wxPageSetupDialogData_EnablePaper, 2374). --define(wxPageSetupDialogData_EnablePrinter, 2375). --define(wxPageSetupDialogData_GetDefaultMinMargins, 2376). --define(wxPageSetupDialogData_GetEnableMargins, 2377). --define(wxPageSetupDialogData_GetEnableOrientation, 2378). --define(wxPageSetupDialogData_GetEnablePaper, 2379). --define(wxPageSetupDialogData_GetEnablePrinter, 2380). --define(wxPageSetupDialogData_GetEnableHelp, 2381). --define(wxPageSetupDialogData_GetDefaultInfo, 2382). --define(wxPageSetupDialogData_GetMarginTopLeft, 2383). --define(wxPageSetupDialogData_GetMarginBottomRight, 2384). --define(wxPageSetupDialogData_GetMinMarginTopLeft, 2385). --define(wxPageSetupDialogData_GetMinMarginBottomRight, 2386). --define(wxPageSetupDialogData_GetPaperId, 2387). --define(wxPageSetupDialogData_GetPaperSize, 2388). --define(wxPageSetupDialogData_GetPrintData, 2390). --define(wxPageSetupDialogData_IsOk, 2391). --define(wxPageSetupDialogData_SetDefaultInfo, 2392). --define(wxPageSetupDialogData_SetDefaultMinMargins, 2393). --define(wxPageSetupDialogData_SetMarginTopLeft, 2394). --define(wxPageSetupDialogData_SetMarginBottomRight, 2395). --define(wxPageSetupDialogData_SetMinMarginTopLeft, 2396). --define(wxPageSetupDialogData_SetMinMarginBottomRight, 2397). --define(wxPageSetupDialogData_SetPaperId, 2398). --define(wxPageSetupDialogData_SetPaperSize_1_1, 2399). --define(wxPageSetupDialogData_SetPaperSize_1_0, 2400). --define(wxPageSetupDialogData_SetPrintData, 2401). --define(wxPrintDialog_new_2_0, 2402). --define(wxPrintDialog_new_2_1, 2403). --define(wxPrintDialog_destruct, 2404). --define(wxPrintDialog_GetPrintDialogData, 2405). --define(wxPrintDialog_GetPrintDC, 2406). --define(wxPrintDialogData_new_0, 2407). --define(wxPrintDialogData_new_1_1, 2408). --define(wxPrintDialogData_new_1_0, 2409). --define(wxPrintDialogData_destruct, 2410). --define(wxPrintDialogData_EnableHelp, 2411). --define(wxPrintDialogData_EnablePageNumbers, 2412). --define(wxPrintDialogData_EnablePrintToFile, 2413). --define(wxPrintDialogData_EnableSelection, 2414). --define(wxPrintDialogData_GetAllPages, 2415). --define(wxPrintDialogData_GetCollate, 2416). --define(wxPrintDialogData_GetFromPage, 2417). --define(wxPrintDialogData_GetMaxPage, 2418). --define(wxPrintDialogData_GetMinPage, 2419). --define(wxPrintDialogData_GetNoCopies, 2420). --define(wxPrintDialogData_GetPrintData, 2421). --define(wxPrintDialogData_GetPrintToFile, 2422). --define(wxPrintDialogData_GetSelection, 2423). --define(wxPrintDialogData_GetToPage, 2424). --define(wxPrintDialogData_IsOk, 2425). --define(wxPrintDialogData_SetCollate, 2426). --define(wxPrintDialogData_SetFromPage, 2427). --define(wxPrintDialogData_SetMaxPage, 2428). --define(wxPrintDialogData_SetMinPage, 2429). --define(wxPrintDialogData_SetNoCopies, 2430). --define(wxPrintDialogData_SetPrintData, 2431). --define(wxPrintDialogData_SetPrintToFile, 2432). --define(wxPrintDialogData_SetSelection, 2433). --define(wxPrintDialogData_SetToPage, 2434). --define(wxPrintData_new_0, 2435). --define(wxPrintData_new_1, 2436). --define(wxPrintData_destruct, 2437). --define(wxPrintData_GetCollate, 2438). --define(wxPrintData_GetBin, 2439). --define(wxPrintData_GetColour, 2440). --define(wxPrintData_GetDuplex, 2441). --define(wxPrintData_GetNoCopies, 2442). --define(wxPrintData_GetOrientation, 2443). --define(wxPrintData_GetPaperId, 2444). --define(wxPrintData_GetPrinterName, 2445). --define(wxPrintData_GetQuality, 2446). --define(wxPrintData_IsOk, 2447). --define(wxPrintData_SetBin, 2448). --define(wxPrintData_SetCollate, 2449). --define(wxPrintData_SetColour, 2450). --define(wxPrintData_SetDuplex, 2451). --define(wxPrintData_SetNoCopies, 2452). --define(wxPrintData_SetOrientation, 2453). --define(wxPrintData_SetPaperId, 2454). --define(wxPrintData_SetPrinterName, 2455). --define(wxPrintData_SetQuality, 2456). --define(wxPrintPreview_new_2, 2459). --define(wxPrintPreview_new_3, 2460). --define(wxPrintPreview_destruct, 2462). --define(wxPrintPreview_GetCanvas, 2463). --define(wxPrintPreview_GetCurrentPage, 2464). --define(wxPrintPreview_GetFrame, 2465). --define(wxPrintPreview_GetMaxPage, 2466). --define(wxPrintPreview_GetMinPage, 2467). --define(wxPrintPreview_GetPrintout, 2468). --define(wxPrintPreview_GetPrintoutForPrinting, 2469). --define(wxPrintPreview_IsOk, 2470). --define(wxPrintPreview_PaintPage, 2471). --define(wxPrintPreview_Print, 2472). --define(wxPrintPreview_RenderPage, 2473). --define(wxPrintPreview_SetCanvas, 2474). --define(wxPrintPreview_SetCurrentPage, 2475). --define(wxPrintPreview_SetFrame, 2476). --define(wxPrintPreview_SetPrintout, 2477). --define(wxPrintPreview_SetZoom, 2478). --define(wxPreviewFrame_new, 2479). --define(wxPreviewFrame_destruct, 2480). --define(wxPreviewFrame_CreateControlBar, 2481). --define(wxPreviewFrame_CreateCanvas, 2482). --define(wxPreviewFrame_Initialize, 2483). --define(wxPreviewFrame_OnCloseWindow, 2484). --define(wxPreviewControlBar_new, 2485). --define(wxPreviewControlBar_destruct, 2486). --define(wxPreviewControlBar_CreateButtons, 2487). --define(wxPreviewControlBar_GetPrintPreview, 2488). --define(wxPreviewControlBar_GetZoomControl, 2489). --define(wxPreviewControlBar_SetZoomControl, 2490). --define(wxPrinter_new, 2492). --define(wxPrinter_CreateAbortWindow, 2493). --define(wxPrinter_GetAbort, 2494). --define(wxPrinter_GetLastError, 2495). --define(wxPrinter_GetPrintDialogData, 2496). --define(wxPrinter_Print, 2497). --define(wxPrinter_PrintDialog, 2498). --define(wxPrinter_ReportError, 2499). --define(wxPrinter_Setup, 2500). --define(wxPrinter_destroy, 2501). --define(wxXmlResource_new_1, 2502). --define(wxXmlResource_new_2, 2503). --define(wxXmlResource_destruct, 2504). --define(wxXmlResource_AttachUnknownControl, 2505). --define(wxXmlResource_ClearHandlers, 2506). --define(wxXmlResource_CompareVersion, 2507). --define(wxXmlResource_Get, 2508). --define(wxXmlResource_GetFlags, 2509). --define(wxXmlResource_GetVersion, 2510). --define(wxXmlResource_GetXRCID, 2511). --define(wxXmlResource_InitAllHandlers, 2512). --define(wxXmlResource_Load, 2513). --define(wxXmlResource_LoadBitmap, 2514). --define(wxXmlResource_LoadDialog_2, 2515). --define(wxXmlResource_LoadDialog_3, 2516). --define(wxXmlResource_LoadFrame_2, 2517). --define(wxXmlResource_LoadFrame_3, 2518). --define(wxXmlResource_LoadIcon, 2519). --define(wxXmlResource_LoadMenu, 2520). --define(wxXmlResource_LoadMenuBar_2, 2521). --define(wxXmlResource_LoadMenuBar_1, 2522). --define(wxXmlResource_LoadPanel_2, 2523). --define(wxXmlResource_LoadPanel_3, 2524). --define(wxXmlResource_LoadToolBar, 2525). --define(wxXmlResource_Set, 2526). --define(wxXmlResource_SetFlags, 2527). --define(wxXmlResource_Unload, 2528). --define(wxXmlResource_xrcctrl, 2529). --define(wxHtmlEasyPrinting_new, 2530). --define(wxHtmlEasyPrinting_destruct, 2531). --define(wxHtmlEasyPrinting_GetPrintData, 2532). --define(wxHtmlEasyPrinting_GetPageSetupData, 2533). --define(wxHtmlEasyPrinting_PreviewFile, 2534). --define(wxHtmlEasyPrinting_PreviewText, 2535). --define(wxHtmlEasyPrinting_PrintFile, 2536). --define(wxHtmlEasyPrinting_PrintText, 2537). --define(wxHtmlEasyPrinting_PageSetup, 2538). --define(wxHtmlEasyPrinting_SetFonts, 2539). --define(wxHtmlEasyPrinting_SetHeader, 2540). --define(wxHtmlEasyPrinting_SetFooter, 2541). --define(wxGLCanvas_new_2, 2543). --define(wxGLCanvas_new_3_1, 2544). --define(wxGLCanvas_new_3_0, 2545). --define(wxGLCanvas_GetContext, 2546). --define(wxGLCanvas_SetCurrent, 2548). --define(wxGLCanvas_SwapBuffers, 2549). --define(wxGLCanvas_destroy, 2550). --define(wxAuiManager_new, 2551). --define(wxAuiManager_destruct, 2552). --define(wxAuiManager_AddPane_2_1, 2553). --define(wxAuiManager_AddPane_3, 2554). --define(wxAuiManager_AddPane_2_0, 2555). --define(wxAuiManager_DetachPane, 2556). --define(wxAuiManager_GetAllPanes, 2557). --define(wxAuiManager_GetArtProvider, 2558). --define(wxAuiManager_GetDockSizeConstraint, 2559). --define(wxAuiManager_GetFlags, 2560). --define(wxAuiManager_GetManagedWindow, 2561). --define(wxAuiManager_GetManager, 2562). --define(wxAuiManager_GetPane_1_1, 2563). --define(wxAuiManager_GetPane_1_0, 2564). --define(wxAuiManager_HideHint, 2565). --define(wxAuiManager_InsertPane, 2566). --define(wxAuiManager_LoadPaneInfo, 2567). --define(wxAuiManager_LoadPerspective, 2568). --define(wxAuiManager_SavePaneInfo, 2569). --define(wxAuiManager_SavePerspective, 2570). --define(wxAuiManager_SetArtProvider, 2571). --define(wxAuiManager_SetDockSizeConstraint, 2572). --define(wxAuiManager_SetFlags, 2573). --define(wxAuiManager_SetManagedWindow, 2574). --define(wxAuiManager_ShowHint, 2575). --define(wxAuiManager_UnInit, 2576). --define(wxAuiManager_Update, 2577). --define(wxAuiPaneInfo_new_0, 2578). --define(wxAuiPaneInfo_new_1, 2579). --define(wxAuiPaneInfo_destruct, 2580). --define(wxAuiPaneInfo_BestSize_1, 2581). --define(wxAuiPaneInfo_BestSize_2, 2582). --define(wxAuiPaneInfo_Bottom, 2583). --define(wxAuiPaneInfo_BottomDockable, 2584). --define(wxAuiPaneInfo_Caption, 2585). --define(wxAuiPaneInfo_CaptionVisible, 2586). --define(wxAuiPaneInfo_Centre, 2587). --define(wxAuiPaneInfo_CentrePane, 2588). --define(wxAuiPaneInfo_CloseButton, 2589). --define(wxAuiPaneInfo_DefaultPane, 2590). --define(wxAuiPaneInfo_DestroyOnClose, 2591). --define(wxAuiPaneInfo_Direction, 2592). --define(wxAuiPaneInfo_Dock, 2593). --define(wxAuiPaneInfo_Dockable, 2594). --define(wxAuiPaneInfo_Fixed, 2595). --define(wxAuiPaneInfo_Float, 2596). --define(wxAuiPaneInfo_Floatable, 2597). --define(wxAuiPaneInfo_FloatingPosition_1, 2598). --define(wxAuiPaneInfo_FloatingPosition_2, 2599). --define(wxAuiPaneInfo_FloatingSize_1, 2600). --define(wxAuiPaneInfo_FloatingSize_2, 2601). --define(wxAuiPaneInfo_Gripper, 2602). --define(wxAuiPaneInfo_GripperTop, 2603). --define(wxAuiPaneInfo_HasBorder, 2604). --define(wxAuiPaneInfo_HasCaption, 2605). --define(wxAuiPaneInfo_HasCloseButton, 2606). --define(wxAuiPaneInfo_HasFlag, 2607). --define(wxAuiPaneInfo_HasGripper, 2608). --define(wxAuiPaneInfo_HasGripperTop, 2609). --define(wxAuiPaneInfo_HasMaximizeButton, 2610). --define(wxAuiPaneInfo_HasMinimizeButton, 2611). --define(wxAuiPaneInfo_HasPinButton, 2612). --define(wxAuiPaneInfo_Hide, 2613). --define(wxAuiPaneInfo_IsBottomDockable, 2614). --define(wxAuiPaneInfo_IsDocked, 2615). --define(wxAuiPaneInfo_IsFixed, 2616). --define(wxAuiPaneInfo_IsFloatable, 2617). --define(wxAuiPaneInfo_IsFloating, 2618). --define(wxAuiPaneInfo_IsLeftDockable, 2619). --define(wxAuiPaneInfo_IsMovable, 2620). --define(wxAuiPaneInfo_IsOk, 2621). --define(wxAuiPaneInfo_IsResizable, 2622). --define(wxAuiPaneInfo_IsRightDockable, 2623). --define(wxAuiPaneInfo_IsShown, 2624). --define(wxAuiPaneInfo_IsToolbar, 2625). --define(wxAuiPaneInfo_IsTopDockable, 2626). --define(wxAuiPaneInfo_Layer, 2627). --define(wxAuiPaneInfo_Left, 2628). --define(wxAuiPaneInfo_LeftDockable, 2629). --define(wxAuiPaneInfo_MaxSize_1, 2630). --define(wxAuiPaneInfo_MaxSize_2, 2631). --define(wxAuiPaneInfo_MaximizeButton, 2632). --define(wxAuiPaneInfo_MinSize_1, 2633). --define(wxAuiPaneInfo_MinSize_2, 2634). --define(wxAuiPaneInfo_MinimizeButton, 2635). --define(wxAuiPaneInfo_Movable, 2636). --define(wxAuiPaneInfo_Name, 2637). --define(wxAuiPaneInfo_PaneBorder, 2638). --define(wxAuiPaneInfo_PinButton, 2639). --define(wxAuiPaneInfo_Position, 2640). --define(wxAuiPaneInfo_Resizable, 2641). --define(wxAuiPaneInfo_Right, 2642). --define(wxAuiPaneInfo_RightDockable, 2643). --define(wxAuiPaneInfo_Row, 2644). --define(wxAuiPaneInfo_SafeSet, 2645). --define(wxAuiPaneInfo_SetFlag, 2646). --define(wxAuiPaneInfo_Show, 2647). --define(wxAuiPaneInfo_ToolbarPane, 2648). --define(wxAuiPaneInfo_Top, 2649). --define(wxAuiPaneInfo_TopDockable, 2650). --define(wxAuiPaneInfo_Window, 2651). --define(wxAuiNotebook_new_0, 2652). --define(wxAuiNotebook_new_2, 2653). --define(wxAuiNotebook_AddPage, 2654). --define(wxAuiNotebook_Create, 2655). --define(wxAuiNotebook_DeletePage, 2656). --define(wxAuiNotebook_GetArtProvider, 2657). --define(wxAuiNotebook_GetPage, 2658). --define(wxAuiNotebook_GetPageBitmap, 2659). --define(wxAuiNotebook_GetPageCount, 2660). --define(wxAuiNotebook_GetPageIndex, 2661). --define(wxAuiNotebook_GetPageText, 2662). --define(wxAuiNotebook_GetSelection, 2663). --define(wxAuiNotebook_InsertPage, 2664). --define(wxAuiNotebook_RemovePage, 2665). --define(wxAuiNotebook_SetArtProvider, 2666). --define(wxAuiNotebook_SetFont, 2667). --define(wxAuiNotebook_SetPageBitmap, 2668). --define(wxAuiNotebook_SetPageText, 2669). --define(wxAuiNotebook_SetSelection, 2670). --define(wxAuiNotebook_SetTabCtrlHeight, 2671). --define(wxAuiNotebook_SetUniformBitmapSize, 2672). --define(wxAuiNotebook_destroy, 2673). --define(wxMDIParentFrame_new_0, 2674). --define(wxMDIParentFrame_new_4, 2675). --define(wxMDIParentFrame_destruct, 2676). --define(wxMDIParentFrame_ActivateNext, 2677). --define(wxMDIParentFrame_ActivatePrevious, 2678). --define(wxMDIParentFrame_ArrangeIcons, 2679). --define(wxMDIParentFrame_Cascade, 2680). --define(wxMDIParentFrame_Create, 2681). --define(wxMDIParentFrame_GetActiveChild, 2682). --define(wxMDIParentFrame_GetClientWindow, 2683). --define(wxMDIParentFrame_Tile, 2684). --define(wxMDIChildFrame_new_0, 2685). --define(wxMDIChildFrame_new_4, 2686). --define(wxMDIChildFrame_destruct, 2687). --define(wxMDIChildFrame_Activate, 2688). --define(wxMDIChildFrame_Create, 2689). --define(wxMDIChildFrame_Maximize, 2690). --define(wxMDIChildFrame_Restore, 2691). --define(wxMDIClientWindow_new_0, 2692). --define(wxMDIClientWindow_new_2, 2693). --define(wxMDIClientWindow_destruct, 2694). --define(wxMDIClientWindow_CreateClient, 2695). --define(wxLayoutAlgorithm_new, 2696). --define(wxLayoutAlgorithm_LayoutFrame, 2697). --define(wxLayoutAlgorithm_LayoutMDIFrame, 2698). --define(wxLayoutAlgorithm_LayoutWindow, 2699). --define(wxLayoutAlgorithm_destroy, 2700). --define(wxEvent_GetId, 2701). --define(wxEvent_GetSkipped, 2702). --define(wxEvent_GetTimestamp, 2703). --define(wxEvent_IsCommandEvent, 2704). --define(wxEvent_ResumePropagation, 2705). --define(wxEvent_ShouldPropagate, 2706). --define(wxEvent_Skip, 2707). --define(wxEvent_StopPropagation, 2708). --define(wxCommandEvent_getClientData, 2709). --define(wxCommandEvent_GetExtraLong, 2710). --define(wxCommandEvent_GetInt, 2711). --define(wxCommandEvent_GetSelection, 2712). --define(wxCommandEvent_GetString, 2713). --define(wxCommandEvent_IsChecked, 2714). --define(wxCommandEvent_IsSelection, 2715). --define(wxCommandEvent_SetInt, 2716). --define(wxCommandEvent_SetString, 2717). --define(wxScrollEvent_GetOrientation, 2718). --define(wxScrollEvent_GetPosition, 2719). --define(wxScrollWinEvent_GetOrientation, 2720). --define(wxScrollWinEvent_GetPosition, 2721). --define(wxMouseEvent_AltDown, 2722). --define(wxMouseEvent_Button, 2723). --define(wxMouseEvent_ButtonDClick, 2724). --define(wxMouseEvent_ButtonDown, 2725). --define(wxMouseEvent_ButtonUp, 2726). --define(wxMouseEvent_CmdDown, 2727). --define(wxMouseEvent_ControlDown, 2728). --define(wxMouseEvent_Dragging, 2729). --define(wxMouseEvent_Entering, 2730). --define(wxMouseEvent_GetButton, 2731). --define(wxMouseEvent_GetPosition, 2734). --define(wxMouseEvent_GetLogicalPosition, 2735). --define(wxMouseEvent_GetLinesPerAction, 2736). --define(wxMouseEvent_GetWheelRotation, 2737). --define(wxMouseEvent_GetWheelDelta, 2738). --define(wxMouseEvent_GetX, 2739). --define(wxMouseEvent_GetY, 2740). --define(wxMouseEvent_IsButton, 2741). --define(wxMouseEvent_IsPageScroll, 2742). --define(wxMouseEvent_Leaving, 2743). --define(wxMouseEvent_LeftDClick, 2744). --define(wxMouseEvent_LeftDown, 2745). --define(wxMouseEvent_LeftIsDown, 2746). --define(wxMouseEvent_LeftUp, 2747). --define(wxMouseEvent_MetaDown, 2748). --define(wxMouseEvent_MiddleDClick, 2749). --define(wxMouseEvent_MiddleDown, 2750). --define(wxMouseEvent_MiddleIsDown, 2751). --define(wxMouseEvent_MiddleUp, 2752). --define(wxMouseEvent_Moving, 2753). --define(wxMouseEvent_RightDClick, 2754). --define(wxMouseEvent_RightDown, 2755). --define(wxMouseEvent_RightIsDown, 2756). --define(wxMouseEvent_RightUp, 2757). --define(wxMouseEvent_ShiftDown, 2758). --define(wxSetCursorEvent_GetCursor, 2759). --define(wxSetCursorEvent_GetX, 2760). --define(wxSetCursorEvent_GetY, 2761). --define(wxSetCursorEvent_HasCursor, 2762). --define(wxSetCursorEvent_SetCursor, 2763). --define(wxKeyEvent_AltDown, 2764). --define(wxKeyEvent_CmdDown, 2765). --define(wxKeyEvent_ControlDown, 2766). --define(wxKeyEvent_GetKeyCode, 2767). --define(wxKeyEvent_GetModifiers, 2768). --define(wxKeyEvent_GetPosition, 2771). --define(wxKeyEvent_GetRawKeyCode, 2772). --define(wxKeyEvent_GetRawKeyFlags, 2773). --define(wxKeyEvent_GetUnicodeKey, 2774). --define(wxKeyEvent_GetX, 2775). --define(wxKeyEvent_GetY, 2776). --define(wxKeyEvent_HasModifiers, 2777). --define(wxKeyEvent_MetaDown, 2778). --define(wxKeyEvent_ShiftDown, 2779). --define(wxSizeEvent_GetSize, 2780). --define(wxMoveEvent_GetPosition, 2781). --define(wxEraseEvent_GetDC, 2782). --define(wxFocusEvent_GetWindow, 2783). --define(wxChildFocusEvent_GetWindow, 2784). --define(wxMenuEvent_GetMenu, 2785). --define(wxMenuEvent_GetMenuId, 2786). --define(wxMenuEvent_IsPopup, 2787). --define(wxCloseEvent_CanVeto, 2788). --define(wxCloseEvent_GetLoggingOff, 2789). --define(wxCloseEvent_SetCanVeto, 2790). --define(wxCloseEvent_SetLoggingOff, 2791). --define(wxCloseEvent_Veto, 2792). --define(wxShowEvent_SetShow, 2793). --define(wxShowEvent_GetShow, 2794). --define(wxIconizeEvent_Iconized, 2795). --define(wxJoystickEvent_ButtonDown, 2796). --define(wxJoystickEvent_ButtonIsDown, 2797). --define(wxJoystickEvent_ButtonUp, 2798). --define(wxJoystickEvent_GetButtonChange, 2799). --define(wxJoystickEvent_GetButtonState, 2800). --define(wxJoystickEvent_GetJoystick, 2801). --define(wxJoystickEvent_GetPosition, 2802). --define(wxJoystickEvent_GetZPosition, 2803). --define(wxJoystickEvent_IsButton, 2804). --define(wxJoystickEvent_IsMove, 2805). --define(wxJoystickEvent_IsZMove, 2806). --define(wxUpdateUIEvent_CanUpdate, 2807). --define(wxUpdateUIEvent_Check, 2808). --define(wxUpdateUIEvent_Enable, 2809). --define(wxUpdateUIEvent_Show, 2810). --define(wxUpdateUIEvent_GetChecked, 2811). --define(wxUpdateUIEvent_GetEnabled, 2812). --define(wxUpdateUIEvent_GetShown, 2813). --define(wxUpdateUIEvent_GetSetChecked, 2814). --define(wxUpdateUIEvent_GetSetEnabled, 2815). --define(wxUpdateUIEvent_GetSetShown, 2816). --define(wxUpdateUIEvent_GetSetText, 2817). --define(wxUpdateUIEvent_GetText, 2818). --define(wxUpdateUIEvent_GetMode, 2819). --define(wxUpdateUIEvent_GetUpdateInterval, 2820). --define(wxUpdateUIEvent_ResetUpdateTime, 2821). --define(wxUpdateUIEvent_SetMode, 2822). --define(wxUpdateUIEvent_SetText, 2823). --define(wxUpdateUIEvent_SetUpdateInterval, 2824). --define(wxMouseCaptureChangedEvent_GetCapturedWindow, 2825). --define(wxPaletteChangedEvent_SetChangedWindow, 2826). --define(wxPaletteChangedEvent_GetChangedWindow, 2827). --define(wxQueryNewPaletteEvent_SetPaletteRealized, 2828). --define(wxQueryNewPaletteEvent_GetPaletteRealized, 2829). --define(wxNavigationKeyEvent_GetDirection, 2830). --define(wxNavigationKeyEvent_SetDirection, 2831). --define(wxNavigationKeyEvent_IsWindowChange, 2832). --define(wxNavigationKeyEvent_SetWindowChange, 2833). --define(wxNavigationKeyEvent_IsFromTab, 2834). --define(wxNavigationKeyEvent_SetFromTab, 2835). --define(wxNavigationKeyEvent_GetCurrentFocus, 2836). --define(wxNavigationKeyEvent_SetCurrentFocus, 2837). --define(wxHelpEvent_GetOrigin, 2838). --define(wxHelpEvent_GetPosition, 2839). --define(wxHelpEvent_SetOrigin, 2840). --define(wxHelpEvent_SetPosition, 2841). --define(wxContextMenuEvent_GetPosition, 2842). --define(wxContextMenuEvent_SetPosition, 2843). --define(wxIdleEvent_CanSend, 2844). --define(wxIdleEvent_GetMode, 2845). --define(wxIdleEvent_RequestMore, 2846). --define(wxIdleEvent_MoreRequested, 2847). --define(wxIdleEvent_SetMode, 2848). --define(wxGridEvent_AltDown, 2849). --define(wxGridEvent_ControlDown, 2850). --define(wxGridEvent_GetCol, 2851). --define(wxGridEvent_GetPosition, 2852). --define(wxGridEvent_GetRow, 2853). --define(wxGridEvent_MetaDown, 2854). --define(wxGridEvent_Selecting, 2855). --define(wxGridEvent_ShiftDown, 2856). --define(wxNotifyEvent_Allow, 2857). --define(wxNotifyEvent_IsAllowed, 2858). --define(wxNotifyEvent_Veto, 2859). --define(wxSashEvent_GetEdge, 2860). --define(wxSashEvent_GetDragRect, 2861). --define(wxSashEvent_GetDragStatus, 2862). --define(wxListEvent_GetCacheFrom, 2863). --define(wxListEvent_GetCacheTo, 2864). --define(wxListEvent_GetKeyCode, 2865). --define(wxListEvent_GetIndex, 2866). --define(wxListEvent_GetColumn, 2867). --define(wxListEvent_GetPoint, 2868). --define(wxListEvent_GetLabel, 2869). --define(wxListEvent_GetText, 2870). --define(wxListEvent_GetImage, 2871). --define(wxListEvent_GetData, 2872). --define(wxListEvent_GetMask, 2873). --define(wxListEvent_GetItem, 2874). --define(wxListEvent_IsEditCancelled, 2875). --define(wxDateEvent_GetDate, 2876). --define(wxCalendarEvent_GetWeekDay, 2877). --define(wxFileDirPickerEvent_GetPath, 2878). --define(wxColourPickerEvent_GetColour, 2879). --define(wxFontPickerEvent_GetFont, 2880). --define(wxStyledTextEvent_GetPosition, 2881). --define(wxStyledTextEvent_GetKey, 2882). --define(wxStyledTextEvent_GetModifiers, 2883). --define(wxStyledTextEvent_GetModificationType, 2884). --define(wxStyledTextEvent_GetText, 2885). --define(wxStyledTextEvent_GetLength, 2886). --define(wxStyledTextEvent_GetLinesAdded, 2887). --define(wxStyledTextEvent_GetLine, 2888). --define(wxStyledTextEvent_GetFoldLevelNow, 2889). --define(wxStyledTextEvent_GetFoldLevelPrev, 2890). --define(wxStyledTextEvent_GetMargin, 2891). --define(wxStyledTextEvent_GetMessage, 2892). --define(wxStyledTextEvent_GetWParam, 2893). --define(wxStyledTextEvent_GetLParam, 2894). --define(wxStyledTextEvent_GetListType, 2895). --define(wxStyledTextEvent_GetX, 2896). --define(wxStyledTextEvent_GetY, 2897). --define(wxStyledTextEvent_GetDragText, 2898). --define(wxStyledTextEvent_GetDragAllowMove, 2899). --define(wxStyledTextEvent_GetDragResult, 2900). --define(wxStyledTextEvent_GetShift, 2901). --define(wxStyledTextEvent_GetControl, 2902). --define(wxStyledTextEvent_GetAlt, 2903). --define(utils_wxGetKeyState, 2904). --define(utils_wxGetMousePosition, 2905). --define(utils_wxGetMouseState, 2906). --define(utils_wxSetDetectableAutoRepeat, 2907). --define(utils_wxBell, 2908). --define(utils_wxFindMenuItemId, 2909). --define(utils_wxGenericFindWindowAtPoint, 2910). --define(utils_wxFindWindowAtPoint, 2911). --define(utils_wxBeginBusyCursor, 2912). --define(utils_wxEndBusyCursor, 2913). --define(utils_wxIsBusy, 2914). --define(utils_wxShutdown, 2915). --define(utils_wxShell, 2916). --define(utils_wxLaunchDefaultBrowser, 2917). --define(utils_wxGetEmailAddress, 2918). --define(utils_wxGetUserId, 2919). --define(utils_wxGetHomeDir, 2920). --define(utils_wxNewId, 2921). --define(utils_wxRegisterId, 2922). --define(utils_wxGetCurrentId, 2923). --define(utils_wxGetOsDescription, 2924). --define(utils_wxIsPlatformLittleEndian, 2925). --define(utils_wxIsPlatform64Bit, 2926). --define(wxPrintout_new, 2927). --define(wxPrintout_destruct, 2928). --define(wxPrintout_GetDC, 2929). --define(wxPrintout_GetPageSizeMM, 2930). --define(wxPrintout_GetPageSizePixels, 2931). --define(wxPrintout_GetPaperRectPixels, 2932). --define(wxPrintout_GetPPIPrinter, 2933). --define(wxPrintout_GetPPIScreen, 2934). --define(wxPrintout_GetTitle, 2935). --define(wxPrintout_IsPreview, 2936). --define(wxPrintout_FitThisSizeToPaper, 2937). --define(wxPrintout_FitThisSizeToPage, 2938). --define(wxPrintout_FitThisSizeToPageMargins, 2939). --define(wxPrintout_MapScreenSizeToPaper, 2940). --define(wxPrintout_MapScreenSizeToPage, 2941). --define(wxPrintout_MapScreenSizeToPageMargins, 2942). --define(wxPrintout_MapScreenSizeToDevice, 2943). --define(wxPrintout_GetLogicalPaperRect, 2944). --define(wxPrintout_GetLogicalPageRect, 2945). --define(wxPrintout_GetLogicalPageMarginsRect, 2946). --define(wxPrintout_SetLogicalOrigin, 2947). --define(wxPrintout_OffsetLogicalOrigin, 2948). --define(wxStyledTextCtrl_new_2, 2949). --define(wxStyledTextCtrl_new_0, 2950). --define(wxStyledTextCtrl_destruct, 2951). --define(wxStyledTextCtrl_Create, 2952). --define(wxStyledTextCtrl_AddText, 2953). --define(wxStyledTextCtrl_AddStyledText, 2954). --define(wxStyledTextCtrl_InsertText, 2955). --define(wxStyledTextCtrl_ClearAll, 2956). --define(wxStyledTextCtrl_ClearDocumentStyle, 2957). --define(wxStyledTextCtrl_GetLength, 2958). --define(wxStyledTextCtrl_GetCharAt, 2959). --define(wxStyledTextCtrl_GetCurrentPos, 2960). --define(wxStyledTextCtrl_GetAnchor, 2961). --define(wxStyledTextCtrl_GetStyleAt, 2962). --define(wxStyledTextCtrl_Redo, 2963). --define(wxStyledTextCtrl_SetUndoCollection, 2964). --define(wxStyledTextCtrl_SelectAll, 2965). --define(wxStyledTextCtrl_SetSavePoint, 2966). --define(wxStyledTextCtrl_GetStyledText, 2967). --define(wxStyledTextCtrl_CanRedo, 2968). --define(wxStyledTextCtrl_MarkerLineFromHandle, 2969). --define(wxStyledTextCtrl_MarkerDeleteHandle, 2970). --define(wxStyledTextCtrl_GetUndoCollection, 2971). --define(wxStyledTextCtrl_GetViewWhiteSpace, 2972). --define(wxStyledTextCtrl_SetViewWhiteSpace, 2973). --define(wxStyledTextCtrl_PositionFromPoint, 2974). --define(wxStyledTextCtrl_PositionFromPointClose, 2975). --define(wxStyledTextCtrl_GotoLine, 2976). --define(wxStyledTextCtrl_GotoPos, 2977). --define(wxStyledTextCtrl_SetAnchor, 2978). --define(wxStyledTextCtrl_GetCurLine, 2979). --define(wxStyledTextCtrl_GetEndStyled, 2980). --define(wxStyledTextCtrl_ConvertEOLs, 2981). --define(wxStyledTextCtrl_GetEOLMode, 2982). --define(wxStyledTextCtrl_SetEOLMode, 2983). --define(wxStyledTextCtrl_StartStyling, 2984). --define(wxStyledTextCtrl_SetStyling, 2985). --define(wxStyledTextCtrl_GetBufferedDraw, 2986). --define(wxStyledTextCtrl_SetBufferedDraw, 2987). --define(wxStyledTextCtrl_SetTabWidth, 2988). --define(wxStyledTextCtrl_GetTabWidth, 2989). --define(wxStyledTextCtrl_SetCodePage, 2990). --define(wxStyledTextCtrl_MarkerDefine, 2991). --define(wxStyledTextCtrl_MarkerSetForeground, 2992). --define(wxStyledTextCtrl_MarkerSetBackground, 2993). --define(wxStyledTextCtrl_MarkerAdd, 2994). --define(wxStyledTextCtrl_MarkerDelete, 2995). --define(wxStyledTextCtrl_MarkerDeleteAll, 2996). --define(wxStyledTextCtrl_MarkerGet, 2997). --define(wxStyledTextCtrl_MarkerNext, 2998). --define(wxStyledTextCtrl_MarkerPrevious, 2999). --define(wxStyledTextCtrl_MarkerDefineBitmap, 3000). --define(wxStyledTextCtrl_MarkerAddSet, 3001). --define(wxStyledTextCtrl_MarkerSetAlpha, 3002). --define(wxStyledTextCtrl_SetMarginType, 3003). --define(wxStyledTextCtrl_GetMarginType, 3004). --define(wxStyledTextCtrl_SetMarginWidth, 3005). --define(wxStyledTextCtrl_GetMarginWidth, 3006). --define(wxStyledTextCtrl_SetMarginMask, 3007). --define(wxStyledTextCtrl_GetMarginMask, 3008). --define(wxStyledTextCtrl_SetMarginSensitive, 3009). --define(wxStyledTextCtrl_GetMarginSensitive, 3010). --define(wxStyledTextCtrl_StyleClearAll, 3011). --define(wxStyledTextCtrl_StyleSetForeground, 3012). --define(wxStyledTextCtrl_StyleSetBackground, 3013). --define(wxStyledTextCtrl_StyleSetBold, 3014). --define(wxStyledTextCtrl_StyleSetItalic, 3015). --define(wxStyledTextCtrl_StyleSetSize, 3016). --define(wxStyledTextCtrl_StyleSetFaceName, 3017). --define(wxStyledTextCtrl_StyleSetEOLFilled, 3018). --define(wxStyledTextCtrl_StyleResetDefault, 3019). --define(wxStyledTextCtrl_StyleSetUnderline, 3020). --define(wxStyledTextCtrl_StyleSetCase, 3021). --define(wxStyledTextCtrl_StyleSetHotSpot, 3022). --define(wxStyledTextCtrl_SetSelForeground, 3023). --define(wxStyledTextCtrl_SetSelBackground, 3024). --define(wxStyledTextCtrl_GetSelAlpha, 3025). --define(wxStyledTextCtrl_SetSelAlpha, 3026). --define(wxStyledTextCtrl_SetCaretForeground, 3027). --define(wxStyledTextCtrl_CmdKeyAssign, 3028). --define(wxStyledTextCtrl_CmdKeyClear, 3029). --define(wxStyledTextCtrl_CmdKeyClearAll, 3030). --define(wxStyledTextCtrl_SetStyleBytes, 3031). --define(wxStyledTextCtrl_StyleSetVisible, 3032). --define(wxStyledTextCtrl_GetCaretPeriod, 3033). --define(wxStyledTextCtrl_SetCaretPeriod, 3034). --define(wxStyledTextCtrl_SetWordChars, 3035). --define(wxStyledTextCtrl_BeginUndoAction, 3036). --define(wxStyledTextCtrl_EndUndoAction, 3037). --define(wxStyledTextCtrl_IndicatorSetStyle, 3038). --define(wxStyledTextCtrl_IndicatorGetStyle, 3039). --define(wxStyledTextCtrl_IndicatorSetForeground, 3040). --define(wxStyledTextCtrl_IndicatorGetForeground, 3041). --define(wxStyledTextCtrl_SetWhitespaceForeground, 3042). --define(wxStyledTextCtrl_SetWhitespaceBackground, 3043). --define(wxStyledTextCtrl_GetStyleBits, 3044). --define(wxStyledTextCtrl_SetLineState, 3045). --define(wxStyledTextCtrl_GetLineState, 3046). --define(wxStyledTextCtrl_GetMaxLineState, 3047). --define(wxStyledTextCtrl_GetCaretLineVisible, 3048). --define(wxStyledTextCtrl_SetCaretLineVisible, 3049). --define(wxStyledTextCtrl_GetCaretLineBackground, 3050). --define(wxStyledTextCtrl_SetCaretLineBackground, 3051). --define(wxStyledTextCtrl_AutoCompShow, 3052). --define(wxStyledTextCtrl_AutoCompCancel, 3053). --define(wxStyledTextCtrl_AutoCompActive, 3054). --define(wxStyledTextCtrl_AutoCompPosStart, 3055). --define(wxStyledTextCtrl_AutoCompComplete, 3056). --define(wxStyledTextCtrl_AutoCompStops, 3057). --define(wxStyledTextCtrl_AutoCompSetSeparator, 3058). --define(wxStyledTextCtrl_AutoCompGetSeparator, 3059). --define(wxStyledTextCtrl_AutoCompSelect, 3060). --define(wxStyledTextCtrl_AutoCompSetCancelAtStart, 3061). --define(wxStyledTextCtrl_AutoCompGetCancelAtStart, 3062). --define(wxStyledTextCtrl_AutoCompSetFillUps, 3063). --define(wxStyledTextCtrl_AutoCompSetChooseSingle, 3064). --define(wxStyledTextCtrl_AutoCompGetChooseSingle, 3065). --define(wxStyledTextCtrl_AutoCompSetIgnoreCase, 3066). --define(wxStyledTextCtrl_AutoCompGetIgnoreCase, 3067). --define(wxStyledTextCtrl_UserListShow, 3068). --define(wxStyledTextCtrl_AutoCompSetAutoHide, 3069). --define(wxStyledTextCtrl_AutoCompGetAutoHide, 3070). --define(wxStyledTextCtrl_AutoCompSetDropRestOfWord, 3071). --define(wxStyledTextCtrl_AutoCompGetDropRestOfWord, 3072). --define(wxStyledTextCtrl_RegisterImage, 3073). --define(wxStyledTextCtrl_ClearRegisteredImages, 3074). --define(wxStyledTextCtrl_AutoCompGetTypeSeparator, 3075). --define(wxStyledTextCtrl_AutoCompSetTypeSeparator, 3076). --define(wxStyledTextCtrl_AutoCompSetMaxWidth, 3077). --define(wxStyledTextCtrl_AutoCompGetMaxWidth, 3078). --define(wxStyledTextCtrl_AutoCompSetMaxHeight, 3079). --define(wxStyledTextCtrl_AutoCompGetMaxHeight, 3080). --define(wxStyledTextCtrl_SetIndent, 3081). --define(wxStyledTextCtrl_GetIndent, 3082). --define(wxStyledTextCtrl_SetUseTabs, 3083). --define(wxStyledTextCtrl_GetUseTabs, 3084). --define(wxStyledTextCtrl_SetLineIndentation, 3085). --define(wxStyledTextCtrl_GetLineIndentation, 3086). --define(wxStyledTextCtrl_GetLineIndentPosition, 3087). --define(wxStyledTextCtrl_GetColumn, 3088). --define(wxStyledTextCtrl_SetUseHorizontalScrollBar, 3089). --define(wxStyledTextCtrl_GetUseHorizontalScrollBar, 3090). --define(wxStyledTextCtrl_SetIndentationGuides, 3091). --define(wxStyledTextCtrl_GetIndentationGuides, 3092). --define(wxStyledTextCtrl_SetHighlightGuide, 3093). --define(wxStyledTextCtrl_GetHighlightGuide, 3094). --define(wxStyledTextCtrl_GetLineEndPosition, 3095). --define(wxStyledTextCtrl_GetCodePage, 3096). --define(wxStyledTextCtrl_GetCaretForeground, 3097). --define(wxStyledTextCtrl_GetReadOnly, 3098). --define(wxStyledTextCtrl_SetCurrentPos, 3099). --define(wxStyledTextCtrl_SetSelectionStart, 3100). --define(wxStyledTextCtrl_GetSelectionStart, 3101). --define(wxStyledTextCtrl_SetSelectionEnd, 3102). --define(wxStyledTextCtrl_GetSelectionEnd, 3103). --define(wxStyledTextCtrl_SetPrintMagnification, 3104). --define(wxStyledTextCtrl_GetPrintMagnification, 3105). --define(wxStyledTextCtrl_SetPrintColourMode, 3106). --define(wxStyledTextCtrl_GetPrintColourMode, 3107). --define(wxStyledTextCtrl_FindText, 3108). --define(wxStyledTextCtrl_FormatRange, 3109). --define(wxStyledTextCtrl_GetFirstVisibleLine, 3110). --define(wxStyledTextCtrl_GetLine, 3111). --define(wxStyledTextCtrl_GetLineCount, 3112). --define(wxStyledTextCtrl_SetMarginLeft, 3113). --define(wxStyledTextCtrl_GetMarginLeft, 3114). --define(wxStyledTextCtrl_SetMarginRight, 3115). --define(wxStyledTextCtrl_GetMarginRight, 3116). --define(wxStyledTextCtrl_GetModify, 3117). --define(wxStyledTextCtrl_SetSelection, 3118). --define(wxStyledTextCtrl_GetSelectedText, 3119). --define(wxStyledTextCtrl_GetTextRange, 3120). --define(wxStyledTextCtrl_HideSelection, 3121). --define(wxStyledTextCtrl_LineFromPosition, 3122). --define(wxStyledTextCtrl_PositionFromLine, 3123). --define(wxStyledTextCtrl_LineScroll, 3124). --define(wxStyledTextCtrl_EnsureCaretVisible, 3125). --define(wxStyledTextCtrl_ReplaceSelection, 3126). --define(wxStyledTextCtrl_SetReadOnly, 3127). --define(wxStyledTextCtrl_CanPaste, 3128). --define(wxStyledTextCtrl_CanUndo, 3129). --define(wxStyledTextCtrl_EmptyUndoBuffer, 3130). --define(wxStyledTextCtrl_Undo, 3131). --define(wxStyledTextCtrl_Cut, 3132). --define(wxStyledTextCtrl_Copy, 3133). --define(wxStyledTextCtrl_Paste, 3134). --define(wxStyledTextCtrl_Clear, 3135). --define(wxStyledTextCtrl_SetText, 3136). --define(wxStyledTextCtrl_GetText, 3137). --define(wxStyledTextCtrl_GetTextLength, 3138). --define(wxStyledTextCtrl_GetOvertype, 3139). --define(wxStyledTextCtrl_SetCaretWidth, 3140). --define(wxStyledTextCtrl_GetCaretWidth, 3141). --define(wxStyledTextCtrl_SetTargetStart, 3142). --define(wxStyledTextCtrl_GetTargetStart, 3143). --define(wxStyledTextCtrl_SetTargetEnd, 3144). --define(wxStyledTextCtrl_GetTargetEnd, 3145). --define(wxStyledTextCtrl_ReplaceTarget, 3146). --define(wxStyledTextCtrl_SearchInTarget, 3147). --define(wxStyledTextCtrl_SetSearchFlags, 3148). --define(wxStyledTextCtrl_GetSearchFlags, 3149). --define(wxStyledTextCtrl_CallTipShow, 3150). --define(wxStyledTextCtrl_CallTipCancel, 3151). --define(wxStyledTextCtrl_CallTipActive, 3152). --define(wxStyledTextCtrl_CallTipPosAtStart, 3153). --define(wxStyledTextCtrl_CallTipSetHighlight, 3154). --define(wxStyledTextCtrl_CallTipSetBackground, 3155). --define(wxStyledTextCtrl_CallTipSetForeground, 3156). --define(wxStyledTextCtrl_CallTipSetForegroundHighlight, 3157). --define(wxStyledTextCtrl_CallTipUseStyle, 3158). --define(wxStyledTextCtrl_VisibleFromDocLine, 3159). --define(wxStyledTextCtrl_DocLineFromVisible, 3160). --define(wxStyledTextCtrl_WrapCount, 3161). --define(wxStyledTextCtrl_SetFoldLevel, 3162). --define(wxStyledTextCtrl_GetFoldLevel, 3163). --define(wxStyledTextCtrl_GetLastChild, 3164). --define(wxStyledTextCtrl_GetFoldParent, 3165). --define(wxStyledTextCtrl_ShowLines, 3166). --define(wxStyledTextCtrl_HideLines, 3167). --define(wxStyledTextCtrl_GetLineVisible, 3168). --define(wxStyledTextCtrl_SetFoldExpanded, 3169). --define(wxStyledTextCtrl_GetFoldExpanded, 3170). --define(wxStyledTextCtrl_ToggleFold, 3171). --define(wxStyledTextCtrl_EnsureVisible, 3172). --define(wxStyledTextCtrl_SetFoldFlags, 3173). --define(wxStyledTextCtrl_EnsureVisibleEnforcePolicy, 3174). --define(wxStyledTextCtrl_SetTabIndents, 3175). --define(wxStyledTextCtrl_GetTabIndents, 3176). --define(wxStyledTextCtrl_SetBackSpaceUnIndents, 3177). --define(wxStyledTextCtrl_GetBackSpaceUnIndents, 3178). --define(wxStyledTextCtrl_SetMouseDwellTime, 3179). --define(wxStyledTextCtrl_GetMouseDwellTime, 3180). --define(wxStyledTextCtrl_WordStartPosition, 3181). --define(wxStyledTextCtrl_WordEndPosition, 3182). --define(wxStyledTextCtrl_SetWrapMode, 3183). --define(wxStyledTextCtrl_GetWrapMode, 3184). --define(wxStyledTextCtrl_SetWrapVisualFlags, 3185). --define(wxStyledTextCtrl_GetWrapVisualFlags, 3186). --define(wxStyledTextCtrl_SetWrapVisualFlagsLocation, 3187). --define(wxStyledTextCtrl_GetWrapVisualFlagsLocation, 3188). --define(wxStyledTextCtrl_SetWrapStartIndent, 3189). --define(wxStyledTextCtrl_GetWrapStartIndent, 3190). --define(wxStyledTextCtrl_SetLayoutCache, 3191). --define(wxStyledTextCtrl_GetLayoutCache, 3192). --define(wxStyledTextCtrl_SetScrollWidth, 3193). --define(wxStyledTextCtrl_GetScrollWidth, 3194). --define(wxStyledTextCtrl_TextWidth, 3195). --define(wxStyledTextCtrl_GetEndAtLastLine, 3196). --define(wxStyledTextCtrl_TextHeight, 3197). --define(wxStyledTextCtrl_SetUseVerticalScrollBar, 3198). --define(wxStyledTextCtrl_GetUseVerticalScrollBar, 3199). --define(wxStyledTextCtrl_AppendText, 3200). --define(wxStyledTextCtrl_GetTwoPhaseDraw, 3201). --define(wxStyledTextCtrl_SetTwoPhaseDraw, 3202). --define(wxStyledTextCtrl_TargetFromSelection, 3203). --define(wxStyledTextCtrl_LinesJoin, 3204). --define(wxStyledTextCtrl_LinesSplit, 3205). --define(wxStyledTextCtrl_SetFoldMarginColour, 3206). --define(wxStyledTextCtrl_SetFoldMarginHiColour, 3207). --define(wxStyledTextCtrl_LineDown, 3208). --define(wxStyledTextCtrl_LineDownExtend, 3209). --define(wxStyledTextCtrl_LineUp, 3210). --define(wxStyledTextCtrl_LineUpExtend, 3211). --define(wxStyledTextCtrl_CharLeft, 3212). --define(wxStyledTextCtrl_CharLeftExtend, 3213). --define(wxStyledTextCtrl_CharRight, 3214). --define(wxStyledTextCtrl_CharRightExtend, 3215). --define(wxStyledTextCtrl_WordLeft, 3216). --define(wxStyledTextCtrl_WordLeftExtend, 3217). --define(wxStyledTextCtrl_WordRight, 3218). --define(wxStyledTextCtrl_WordRightExtend, 3219). --define(wxStyledTextCtrl_Home, 3220). --define(wxStyledTextCtrl_HomeExtend, 3221). --define(wxStyledTextCtrl_LineEnd, 3222). --define(wxStyledTextCtrl_LineEndExtend, 3223). --define(wxStyledTextCtrl_DocumentStart, 3224). --define(wxStyledTextCtrl_DocumentStartExtend, 3225). --define(wxStyledTextCtrl_DocumentEnd, 3226). --define(wxStyledTextCtrl_DocumentEndExtend, 3227). --define(wxStyledTextCtrl_PageUp, 3228). --define(wxStyledTextCtrl_PageUpExtend, 3229). --define(wxStyledTextCtrl_PageDown, 3230). --define(wxStyledTextCtrl_PageDownExtend, 3231). --define(wxStyledTextCtrl_EditToggleOvertype, 3232). --define(wxStyledTextCtrl_Cancel, 3233). --define(wxStyledTextCtrl_DeleteBack, 3234). --define(wxStyledTextCtrl_Tab, 3235). --define(wxStyledTextCtrl_BackTab, 3236). --define(wxStyledTextCtrl_NewLine, 3237). --define(wxStyledTextCtrl_FormFeed, 3238). --define(wxStyledTextCtrl_VCHome, 3239). --define(wxStyledTextCtrl_VCHomeExtend, 3240). --define(wxStyledTextCtrl_ZoomIn, 3241). --define(wxStyledTextCtrl_ZoomOut, 3242). --define(wxStyledTextCtrl_DelWordLeft, 3243). --define(wxStyledTextCtrl_DelWordRight, 3244). --define(wxStyledTextCtrl_LineCut, 3245). --define(wxStyledTextCtrl_LineDelete, 3246). --define(wxStyledTextCtrl_LineTranspose, 3247). --define(wxStyledTextCtrl_LineDuplicate, 3248). --define(wxStyledTextCtrl_LowerCase, 3249). --define(wxStyledTextCtrl_UpperCase, 3250). --define(wxStyledTextCtrl_LineScrollDown, 3251). --define(wxStyledTextCtrl_LineScrollUp, 3252). --define(wxStyledTextCtrl_DeleteBackNotLine, 3253). --define(wxStyledTextCtrl_HomeDisplay, 3254). --define(wxStyledTextCtrl_HomeDisplayExtend, 3255). --define(wxStyledTextCtrl_LineEndDisplay, 3256). --define(wxStyledTextCtrl_LineEndDisplayExtend, 3257). --define(wxStyledTextCtrl_HomeWrapExtend, 3258). --define(wxStyledTextCtrl_LineEndWrap, 3259). --define(wxStyledTextCtrl_LineEndWrapExtend, 3260). --define(wxStyledTextCtrl_VCHomeWrap, 3261). --define(wxStyledTextCtrl_VCHomeWrapExtend, 3262). --define(wxStyledTextCtrl_LineCopy, 3263). --define(wxStyledTextCtrl_MoveCaretInsideView, 3264). --define(wxStyledTextCtrl_LineLength, 3265). --define(wxStyledTextCtrl_BraceHighlight, 3266). --define(wxStyledTextCtrl_BraceBadLight, 3267). --define(wxStyledTextCtrl_BraceMatch, 3268). --define(wxStyledTextCtrl_GetViewEOL, 3269). --define(wxStyledTextCtrl_SetViewEOL, 3270). --define(wxStyledTextCtrl_SetModEventMask, 3271). --define(wxStyledTextCtrl_GetEdgeColumn, 3272). --define(wxStyledTextCtrl_SetEdgeColumn, 3273). --define(wxStyledTextCtrl_GetEdgeMode, 3274). --define(wxStyledTextCtrl_GetEdgeColour, 3275). --define(wxStyledTextCtrl_SetEdgeColour, 3276). --define(wxStyledTextCtrl_SearchAnchor, 3277). --define(wxStyledTextCtrl_SearchNext, 3278). --define(wxStyledTextCtrl_SearchPrev, 3279). --define(wxStyledTextCtrl_LinesOnScreen, 3280). --define(wxStyledTextCtrl_UsePopUp, 3281). --define(wxStyledTextCtrl_SelectionIsRectangle, 3282). --define(wxStyledTextCtrl_SetZoom, 3283). --define(wxStyledTextCtrl_GetZoom, 3284). --define(wxStyledTextCtrl_GetModEventMask, 3285). --define(wxStyledTextCtrl_SetSTCFocus, 3286). --define(wxStyledTextCtrl_GetSTCFocus, 3287). --define(wxStyledTextCtrl_SetStatus, 3288). --define(wxStyledTextCtrl_GetStatus, 3289). --define(wxStyledTextCtrl_SetMouseDownCaptures, 3290). --define(wxStyledTextCtrl_GetMouseDownCaptures, 3291). --define(wxStyledTextCtrl_SetSTCCursor, 3292). --define(wxStyledTextCtrl_GetSTCCursor, 3293). --define(wxStyledTextCtrl_SetControlCharSymbol, 3294). --define(wxStyledTextCtrl_GetControlCharSymbol, 3295). --define(wxStyledTextCtrl_WordPartLeft, 3296). --define(wxStyledTextCtrl_WordPartLeftExtend, 3297). --define(wxStyledTextCtrl_WordPartRight, 3298). --define(wxStyledTextCtrl_WordPartRightExtend, 3299). --define(wxStyledTextCtrl_SetVisiblePolicy, 3300). --define(wxStyledTextCtrl_DelLineLeft, 3301). --define(wxStyledTextCtrl_DelLineRight, 3302). --define(wxStyledTextCtrl_GetXOffset, 3303). --define(wxStyledTextCtrl_ChooseCaretX, 3304). --define(wxStyledTextCtrl_SetXCaretPolicy, 3305). --define(wxStyledTextCtrl_SetYCaretPolicy, 3306). --define(wxStyledTextCtrl_GetPrintWrapMode, 3307). --define(wxStyledTextCtrl_SetHotspotActiveForeground, 3308). --define(wxStyledTextCtrl_SetHotspotActiveBackground, 3309). --define(wxStyledTextCtrl_SetHotspotActiveUnderline, 3310). --define(wxStyledTextCtrl_SetHotspotSingleLine, 3311). --define(wxStyledTextCtrl_ParaDownExtend, 3312). --define(wxStyledTextCtrl_ParaUp, 3313). --define(wxStyledTextCtrl_ParaUpExtend, 3314). --define(wxStyledTextCtrl_PositionBefore, 3315). --define(wxStyledTextCtrl_PositionAfter, 3316). --define(wxStyledTextCtrl_CopyRange, 3317). --define(wxStyledTextCtrl_CopyText, 3318). --define(wxStyledTextCtrl_SetSelectionMode, 3319). --define(wxStyledTextCtrl_GetSelectionMode, 3320). --define(wxStyledTextCtrl_LineDownRectExtend, 3321). --define(wxStyledTextCtrl_LineUpRectExtend, 3322). --define(wxStyledTextCtrl_CharLeftRectExtend, 3323). --define(wxStyledTextCtrl_CharRightRectExtend, 3324). --define(wxStyledTextCtrl_HomeRectExtend, 3325). --define(wxStyledTextCtrl_VCHomeRectExtend, 3326). --define(wxStyledTextCtrl_LineEndRectExtend, 3327). --define(wxStyledTextCtrl_PageUpRectExtend, 3328). --define(wxStyledTextCtrl_PageDownRectExtend, 3329). --define(wxStyledTextCtrl_StutteredPageUp, 3330). --define(wxStyledTextCtrl_StutteredPageUpExtend, 3331). --define(wxStyledTextCtrl_StutteredPageDown, 3332). --define(wxStyledTextCtrl_StutteredPageDownExtend, 3333). --define(wxStyledTextCtrl_WordLeftEnd, 3334). --define(wxStyledTextCtrl_WordLeftEndExtend, 3335). --define(wxStyledTextCtrl_WordRightEnd, 3336). --define(wxStyledTextCtrl_WordRightEndExtend, 3337). --define(wxStyledTextCtrl_SetWhitespaceChars, 3338). --define(wxStyledTextCtrl_SetCharsDefault, 3339). --define(wxStyledTextCtrl_AutoCompGetCurrent, 3340). --define(wxStyledTextCtrl_Allocate, 3341). --define(wxStyledTextCtrl_FindColumn, 3342). --define(wxStyledTextCtrl_GetCaretSticky, 3343). --define(wxStyledTextCtrl_SetCaretSticky, 3344). --define(wxStyledTextCtrl_ToggleCaretSticky, 3345). --define(wxStyledTextCtrl_SetPasteConvertEndings, 3346). --define(wxStyledTextCtrl_GetPasteConvertEndings, 3347). --define(wxStyledTextCtrl_SelectionDuplicate, 3348). --define(wxStyledTextCtrl_SetCaretLineBackAlpha, 3349). --define(wxStyledTextCtrl_GetCaretLineBackAlpha, 3350). --define(wxStyledTextCtrl_StartRecord, 3351). --define(wxStyledTextCtrl_StopRecord, 3352). --define(wxStyledTextCtrl_SetLexer, 3353). --define(wxStyledTextCtrl_GetLexer, 3354). --define(wxStyledTextCtrl_Colourise, 3355). --define(wxStyledTextCtrl_SetProperty, 3356). --define(wxStyledTextCtrl_SetKeyWords, 3357). --define(wxStyledTextCtrl_SetLexerLanguage, 3358). --define(wxStyledTextCtrl_GetProperty, 3359). --define(wxStyledTextCtrl_GetStyleBitsNeeded, 3360). --define(wxStyledTextCtrl_GetCurrentLine, 3361). --define(wxStyledTextCtrl_StyleSetSpec, 3362). --define(wxStyledTextCtrl_StyleSetFont, 3363). --define(wxStyledTextCtrl_StyleSetFontAttr, 3364). --define(wxStyledTextCtrl_StyleSetCharacterSet, 3365). --define(wxStyledTextCtrl_StyleSetFontEncoding, 3366). --define(wxStyledTextCtrl_CmdKeyExecute, 3367). --define(wxStyledTextCtrl_SetMargins, 3368). --define(wxStyledTextCtrl_GetSelection, 3369). --define(wxStyledTextCtrl_PointFromPosition, 3370). --define(wxStyledTextCtrl_ScrollToLine, 3371). --define(wxStyledTextCtrl_ScrollToColumn, 3372). --define(wxStyledTextCtrl_SendMsg, 3373). --define(wxStyledTextCtrl_SetVScrollBar, 3374). --define(wxStyledTextCtrl_SetHScrollBar, 3375). --define(wxStyledTextCtrl_GetLastKeydownProcessed, 3376). --define(wxStyledTextCtrl_SetLastKeydownProcessed, 3377). --define(wxStyledTextCtrl_SaveFile, 3378). --define(wxStyledTextCtrl_LoadFile, 3379). --define(wxStyledTextCtrl_DoDragOver, 3380). --define(wxStyledTextCtrl_DoDropText, 3381). --define(wxStyledTextCtrl_GetUseAntiAliasing, 3382). --define(wxStyledTextCtrl_AddTextRaw, 3383). --define(wxStyledTextCtrl_InsertTextRaw, 3384). --define(wxStyledTextCtrl_GetCurLineRaw, 3385). --define(wxStyledTextCtrl_GetLineRaw, 3386). --define(wxStyledTextCtrl_GetSelectedTextRaw, 3387). --define(wxStyledTextCtrl_GetTextRangeRaw, 3388). --define(wxStyledTextCtrl_SetTextRaw, 3389). --define(wxStyledTextCtrl_GetTextRaw, 3390). --define(wxStyledTextCtrl_AppendTextRaw, 3391). --define(wxArtProvider_GetBitmap, 3392). --define(wxArtProvider_GetIcon, 3393). --define(wxTreeEvent_GetKeyCode, 3394). --define(wxTreeEvent_GetItem, 3395). --define(wxTreeEvent_GetKeyEvent, 3396). --define(wxTreeEvent_GetLabel, 3397). --define(wxTreeEvent_GetOldItem, 3398). --define(wxTreeEvent_GetPoint, 3399). --define(wxTreeEvent_IsEditCancelled, 3400). --define(wxTreeEvent_SetToolTip, 3401). --define(wxNotebookEvent_GetOldSelection, 3402). --define(wxNotebookEvent_GetSelection, 3403). --define(wxNotebookEvent_SetOldSelection, 3404). --define(wxNotebookEvent_SetSelection, 3405). --define(wxFileDataObject_new, 3406). --define(wxFileDataObject_AddFile, 3407). --define(wxFileDataObject_GetFilenames, 3408). --define(wxFileDataObject_destroy, 3409). --define(wxTextDataObject_new, 3410). --define(wxTextDataObject_GetTextLength, 3411). --define(wxTextDataObject_GetText, 3412). --define(wxTextDataObject_SetText, 3413). --define(wxTextDataObject_destroy, 3414). --define(wxBitmapDataObject_new_1_1, 3415). --define(wxBitmapDataObject_new_1_0, 3416). --define(wxBitmapDataObject_GetBitmap, 3417). --define(wxBitmapDataObject_SetBitmap, 3418). --define(wxBitmapDataObject_destroy, 3419). --define(wxClipboard_new, 3421). --define(wxClipboard_destruct, 3422). --define(wxClipboard_AddData, 3423). --define(wxClipboard_Clear, 3424). --define(wxClipboard_Close, 3425). --define(wxClipboard_Flush, 3426). --define(wxClipboard_GetData, 3427). --define(wxClipboard_IsOpened, 3428). --define(wxClipboard_Open, 3429). --define(wxClipboard_SetData, 3430). --define(wxClipboard_UsePrimarySelection, 3432). --define(wxClipboard_IsSupported, 3433). --define(wxClipboard_Get, 3434). --define(wxSpinEvent_GetPosition, 3435). --define(wxSpinEvent_SetPosition, 3436). --define(wxSplitterWindow_new_0, 3437). --define(wxSplitterWindow_new_2, 3438). --define(wxSplitterWindow_destruct, 3439). --define(wxSplitterWindow_Create, 3440). --define(wxSplitterWindow_GetMinimumPaneSize, 3441). --define(wxSplitterWindow_GetSashGravity, 3442). --define(wxSplitterWindow_GetSashPosition, 3443). --define(wxSplitterWindow_GetSplitMode, 3444). --define(wxSplitterWindow_GetWindow1, 3445). --define(wxSplitterWindow_GetWindow2, 3446). --define(wxSplitterWindow_Initialize, 3447). --define(wxSplitterWindow_IsSplit, 3448). --define(wxSplitterWindow_ReplaceWindow, 3449). --define(wxSplitterWindow_SetSashGravity, 3450). --define(wxSplitterWindow_SetSashPosition, 3451). --define(wxSplitterWindow_SetSashSize, 3452). --define(wxSplitterWindow_SetMinimumPaneSize, 3453). --define(wxSplitterWindow_SetSplitMode, 3454). --define(wxSplitterWindow_SplitHorizontally, 3455). --define(wxSplitterWindow_SplitVertically, 3456). --define(wxSplitterWindow_Unsplit, 3457). --define(wxSplitterWindow_UpdateSize, 3458). --define(wxSplitterEvent_GetSashPosition, 3459). --define(wxSplitterEvent_GetX, 3460). --define(wxSplitterEvent_GetY, 3461). --define(wxSplitterEvent_GetWindowBeingRemoved, 3462). --define(wxSplitterEvent_SetSashPosition, 3463). --define(wxHtmlWindow_new_0, 3464). --define(wxHtmlWindow_new_2, 3465). --define(wxHtmlWindow_AppendToPage, 3466). --define(wxHtmlWindow_GetOpenedAnchor, 3467). --define(wxHtmlWindow_GetOpenedPage, 3468). --define(wxHtmlWindow_GetOpenedPageTitle, 3469). --define(wxHtmlWindow_GetRelatedFrame, 3470). --define(wxHtmlWindow_HistoryBack, 3471). --define(wxHtmlWindow_HistoryCanBack, 3472). --define(wxHtmlWindow_HistoryCanForward, 3473). --define(wxHtmlWindow_HistoryClear, 3474). --define(wxHtmlWindow_HistoryForward, 3475). --define(wxHtmlWindow_LoadFile, 3476). --define(wxHtmlWindow_LoadPage, 3477). --define(wxHtmlWindow_SelectAll, 3478). --define(wxHtmlWindow_SelectionToText, 3479). --define(wxHtmlWindow_SelectLine, 3480). --define(wxHtmlWindow_SelectWord, 3481). --define(wxHtmlWindow_SetBorders, 3482). --define(wxHtmlWindow_SetFonts, 3483). --define(wxHtmlWindow_SetPage, 3484). --define(wxHtmlWindow_SetRelatedFrame, 3485). --define(wxHtmlWindow_SetRelatedStatusBar, 3486). --define(wxHtmlWindow_ToText, 3487). --define(wxHtmlWindow_destroy, 3488). --define(wxHtmlLinkEvent_GetLinkInfo, 3489). --define(wxSystemSettings_GetColour, 3490). --define(wxSystemSettings_GetFont, 3491). --define(wxSystemSettings_GetMetric, 3492). --define(wxSystemSettings_GetScreenType, 3493). --define(wxSystemOptions_GetOption, 3494). --define(wxSystemOptions_GetOptionInt, 3495). --define(wxSystemOptions_HasOption, 3496). --define(wxSystemOptions_IsFalse, 3497). --define(wxSystemOptions_SetOption_2_1, 3498). --define(wxSystemOptions_SetOption_2_0, 3499). --define(wxAuiNotebookEvent_SetSelection, 3500). --define(wxAuiNotebookEvent_GetSelection, 3501). --define(wxAuiNotebookEvent_SetOldSelection, 3502). --define(wxAuiNotebookEvent_GetOldSelection, 3503). --define(wxAuiNotebookEvent_SetDragSource, 3504). --define(wxAuiNotebookEvent_GetDragSource, 3505). --define(wxAuiManagerEvent_SetManager, 3506). --define(wxAuiManagerEvent_GetManager, 3507). --define(wxAuiManagerEvent_SetPane, 3508). --define(wxAuiManagerEvent_GetPane, 3509). --define(wxAuiManagerEvent_SetButton, 3510). --define(wxAuiManagerEvent_GetButton, 3511). --define(wxAuiManagerEvent_SetDC, 3512). --define(wxAuiManagerEvent_GetDC, 3513). --define(wxAuiManagerEvent_Veto, 3514). --define(wxAuiManagerEvent_GetVeto, 3515). --define(wxAuiManagerEvent_SetCanVeto, 3516). --define(wxAuiManagerEvent_CanVeto, 3517). --define(wxLogNull_new, 3518). --define(wxLogNull_destroy, 3519). +-define(wxGraphicsMatrix_Invert, 805). +-define(wxGraphicsMatrix_IsEqual, 806). +-define(wxGraphicsMatrix_IsIdentity, 808). +-define(wxGraphicsMatrix_Rotate, 809). +-define(wxGraphicsMatrix_Scale, 810). +-define(wxGraphicsMatrix_Translate, 811). +-define(wxGraphicsMatrix_Set, 812). +-define(wxGraphicsMatrix_TransformPoint, 813). +-define(wxGraphicsMatrix_TransformDistance, 814). +-define(wxGraphicsPath_MoveToPoint_2, 815). +-define(wxGraphicsPath_MoveToPoint_1, 816). +-define(wxGraphicsPath_AddArc_6, 817). +-define(wxGraphicsPath_AddArc_5, 818). +-define(wxGraphicsPath_AddArcToPoint, 819). +-define(wxGraphicsPath_AddCircle, 820). +-define(wxGraphicsPath_AddCurveToPoint_6, 821). +-define(wxGraphicsPath_AddCurveToPoint_3, 822). +-define(wxGraphicsPath_AddEllipse, 823). +-define(wxGraphicsPath_AddLineToPoint_2, 824). +-define(wxGraphicsPath_AddLineToPoint_1, 825). +-define(wxGraphicsPath_AddPath, 826). +-define(wxGraphicsPath_AddQuadCurveToPoint, 827). +-define(wxGraphicsPath_AddRectangle, 828). +-define(wxGraphicsPath_AddRoundedRectangle, 829). +-define(wxGraphicsPath_CloseSubpath, 830). +-define(wxGraphicsPath_Contains_3, 831). +-define(wxGraphicsPath_Contains_2, 832). +-define(wxGraphicsPath_GetBox, 834). +-define(wxGraphicsPath_GetCurrentPoint, 836). +-define(wxGraphicsPath_Transform, 837). +-define(wxGraphicsRenderer_GetDefaultRenderer, 838). +-define(wxGraphicsRenderer_CreateContext_1_1, 839). +-define(wxGraphicsRenderer_CreateContext_1_0, 840). +-define(wxGraphicsRenderer_CreatePen, 841). +-define(wxGraphicsRenderer_CreateBrush, 842). +-define(wxGraphicsRenderer_CreateLinearGradientBrush, 843). +-define(wxGraphicsRenderer_CreateRadialGradientBrush, 844). +-define(wxGraphicsRenderer_CreateFont, 845). +-define(wxGraphicsRenderer_CreateMatrix, 846). +-define(wxGraphicsRenderer_CreatePath, 847). +-define(wxMenuBar_new_1, 849). +-define(wxMenuBar_new_0, 851). +-define(wxMenuBar_destruct, 853). +-define(wxMenuBar_Append, 854). +-define(wxMenuBar_Check, 855). +-define(wxMenuBar_Enable_2, 856). +-define(wxMenuBar_Enable_1, 857). +-define(wxMenuBar_EnableTop, 858). +-define(wxMenuBar_FindMenu, 859). +-define(wxMenuBar_FindMenuItem, 860). +-define(wxMenuBar_FindItem, 861). +-define(wxMenuBar_GetHelpString, 862). +-define(wxMenuBar_GetLabel_1, 863). +-define(wxMenuBar_GetLabel_0, 864). +-define(wxMenuBar_GetLabelTop, 865). +-define(wxMenuBar_GetMenu, 866). +-define(wxMenuBar_GetMenuCount, 867). +-define(wxMenuBar_Insert, 868). +-define(wxMenuBar_IsChecked, 869). +-define(wxMenuBar_IsEnabled_1, 870). +-define(wxMenuBar_IsEnabled_0, 871). +-define(wxMenuBar_Remove, 872). +-define(wxMenuBar_Replace, 873). +-define(wxMenuBar_SetHelpString, 874). +-define(wxMenuBar_SetLabel_2, 875). +-define(wxMenuBar_SetLabel_1, 876). +-define(wxMenuBar_SetLabelTop, 877). +-define(wxControl_GetLabel, 878). +-define(wxControl_SetLabel, 879). +-define(wxControlWithItems_Append_1, 880). +-define(wxControlWithItems_Append_2, 881). +-define(wxControlWithItems_appendStrings_1, 882). +-define(wxControlWithItems_Clear, 883). +-define(wxControlWithItems_Delete, 884). +-define(wxControlWithItems_FindString, 885). +-define(wxControlWithItems_getClientData, 886). +-define(wxControlWithItems_setClientData, 887). +-define(wxControlWithItems_GetCount, 888). +-define(wxControlWithItems_GetSelection, 889). +-define(wxControlWithItems_GetString, 890). +-define(wxControlWithItems_GetStringSelection, 891). +-define(wxControlWithItems_Insert_2, 892). +-define(wxControlWithItems_Insert_3, 893). +-define(wxControlWithItems_IsEmpty, 894). +-define(wxControlWithItems_Select, 895). +-define(wxControlWithItems_SetSelection, 896). +-define(wxControlWithItems_SetString, 897). +-define(wxControlWithItems_SetStringSelection, 898). +-define(wxMenu_new_2, 901). +-define(wxMenu_new_1, 902). +-define(wxMenu_destruct, 904). +-define(wxMenu_Append_3, 905). +-define(wxMenu_Append_1, 906). +-define(wxMenu_Append_4_0, 907). +-define(wxMenu_Append_4_1, 908). +-define(wxMenu_AppendCheckItem, 909). +-define(wxMenu_AppendRadioItem, 910). +-define(wxMenu_AppendSeparator, 911). +-define(wxMenu_Break, 912). +-define(wxMenu_Check, 913). +-define(wxMenu_Delete_1_0, 914). +-define(wxMenu_Delete_1_1, 915). +-define(wxMenu_Destroy_1_0, 916). +-define(wxMenu_Destroy_1_1, 917). +-define(wxMenu_Enable, 918). +-define(wxMenu_FindItem_1, 919). +-define(wxMenu_FindItem_2, 920). +-define(wxMenu_FindItemByPosition, 921). +-define(wxMenu_GetHelpString, 922). +-define(wxMenu_GetLabel, 923). +-define(wxMenu_GetMenuItemCount, 924). +-define(wxMenu_GetMenuItems, 925). +-define(wxMenu_GetTitle, 927). +-define(wxMenu_Insert_2, 928). +-define(wxMenu_Insert_3, 929). +-define(wxMenu_Insert_5_1, 930). +-define(wxMenu_Insert_5_0, 931). +-define(wxMenu_InsertCheckItem, 932). +-define(wxMenu_InsertRadioItem, 933). +-define(wxMenu_InsertSeparator, 934). +-define(wxMenu_IsChecked, 935). +-define(wxMenu_IsEnabled, 936). +-define(wxMenu_Prepend_1, 937). +-define(wxMenu_Prepend_2, 938). +-define(wxMenu_Prepend_4_1, 939). +-define(wxMenu_Prepend_4_0, 940). +-define(wxMenu_PrependCheckItem, 941). +-define(wxMenu_PrependRadioItem, 942). +-define(wxMenu_PrependSeparator, 943). +-define(wxMenu_Remove_1_0, 944). +-define(wxMenu_Remove_1_1, 945). +-define(wxMenu_SetHelpString, 946). +-define(wxMenu_SetLabel, 947). +-define(wxMenu_SetTitle, 948). +-define(wxMenuItem_new, 949). +-define(wxMenuItem_destruct, 951). +-define(wxMenuItem_Check, 952). +-define(wxMenuItem_Enable, 953). +-define(wxMenuItem_GetBitmap, 954). +-define(wxMenuItem_GetHelp, 955). +-define(wxMenuItem_GetId, 956). +-define(wxMenuItem_GetKind, 957). +-define(wxMenuItem_GetLabel, 958). +-define(wxMenuItem_GetLabelFromText, 959). +-define(wxMenuItem_GetMenu, 960). +-define(wxMenuItem_GetText, 961). +-define(wxMenuItem_GetSubMenu, 962). +-define(wxMenuItem_IsCheckable, 963). +-define(wxMenuItem_IsChecked, 964). +-define(wxMenuItem_IsEnabled, 965). +-define(wxMenuItem_IsSeparator, 966). +-define(wxMenuItem_IsSubMenu, 967). +-define(wxMenuItem_SetBitmap, 968). +-define(wxMenuItem_SetHelp, 969). +-define(wxMenuItem_SetMenu, 970). +-define(wxMenuItem_SetSubMenu, 971). +-define(wxMenuItem_SetText, 972). +-define(wxToolBar_AddControl, 973). +-define(wxToolBar_AddSeparator, 974). +-define(wxToolBar_AddTool_5, 975). +-define(wxToolBar_AddTool_4_0, 976). +-define(wxToolBar_AddTool_1, 977). +-define(wxToolBar_AddTool_4_1, 978). +-define(wxToolBar_AddTool_3, 979). +-define(wxToolBar_AddTool_6, 980). +-define(wxToolBar_AddCheckTool, 981). +-define(wxToolBar_AddRadioTool, 982). +-define(wxToolBar_DeleteTool, 983). +-define(wxToolBar_DeleteToolByPos, 984). +-define(wxToolBar_EnableTool, 985). +-define(wxToolBar_FindById, 986). +-define(wxToolBar_FindControl, 987). +-define(wxToolBar_FindToolForPosition, 988). +-define(wxToolBar_GetToolSize, 989). +-define(wxToolBar_GetToolBitmapSize, 990). +-define(wxToolBar_GetMargins, 991). +-define(wxToolBar_GetToolEnabled, 992). +-define(wxToolBar_GetToolLongHelp, 993). +-define(wxToolBar_GetToolPacking, 994). +-define(wxToolBar_GetToolPos, 995). +-define(wxToolBar_GetToolSeparation, 996). +-define(wxToolBar_GetToolShortHelp, 997). +-define(wxToolBar_GetToolState, 998). +-define(wxToolBar_InsertControl, 999). +-define(wxToolBar_InsertSeparator, 1000). +-define(wxToolBar_InsertTool_5, 1001). +-define(wxToolBar_InsertTool_2, 1002). +-define(wxToolBar_InsertTool_4, 1003). +-define(wxToolBar_Realize, 1004). +-define(wxToolBar_RemoveTool, 1005). +-define(wxToolBar_SetMargins, 1006). +-define(wxToolBar_SetToolBitmapSize, 1007). +-define(wxToolBar_SetToolLongHelp, 1008). +-define(wxToolBar_SetToolPacking, 1009). +-define(wxToolBar_SetToolShortHelp, 1010). +-define(wxToolBar_SetToolSeparation, 1011). +-define(wxToolBar_ToggleTool, 1012). +-define(wxStatusBar_new_0, 1014). +-define(wxStatusBar_new_2, 1015). +-define(wxStatusBar_destruct, 1017). +-define(wxStatusBar_Create, 1018). +-define(wxStatusBar_GetFieldRect, 1019). +-define(wxStatusBar_GetFieldsCount, 1020). +-define(wxStatusBar_GetStatusText, 1021). +-define(wxStatusBar_PopStatusText, 1022). +-define(wxStatusBar_PushStatusText, 1023). +-define(wxStatusBar_SetFieldsCount, 1024). +-define(wxStatusBar_SetMinHeight, 1025). +-define(wxStatusBar_SetStatusText, 1026). +-define(wxStatusBar_SetStatusWidths, 1027). +-define(wxStatusBar_SetStatusStyles, 1028). +-define(wxBitmap_new_0, 1029). +-define(wxBitmap_new_3, 1030). +-define(wxBitmap_new_4, 1031). +-define(wxBitmap_new_2_0, 1032). +-define(wxBitmap_new_2_1, 1033). +-define(wxBitmap_destruct, 1034). +-define(wxBitmap_ConvertToImage, 1035). +-define(wxBitmap_CopyFromIcon, 1036). +-define(wxBitmap_Create, 1037). +-define(wxBitmap_GetDepth, 1038). +-define(wxBitmap_GetHeight, 1039). +-define(wxBitmap_GetPalette, 1040). +-define(wxBitmap_GetMask, 1041). +-define(wxBitmap_GetWidth, 1042). +-define(wxBitmap_GetSubBitmap, 1043). +-define(wxBitmap_LoadFile, 1044). +-define(wxBitmap_Ok, 1045). +-define(wxBitmap_SaveFile, 1046). +-define(wxBitmap_SetDepth, 1047). +-define(wxBitmap_SetHeight, 1048). +-define(wxBitmap_SetMask, 1049). +-define(wxBitmap_SetPalette, 1050). +-define(wxBitmap_SetWidth, 1051). +-define(wxIcon_new_0, 1052). +-define(wxIcon_new_2, 1053). +-define(wxIcon_new_1, 1054). +-define(wxIcon_CopyFromBitmap, 1055). +-define(wxIcon_destroy, 1056). +-define(wxIconBundle_new_0, 1057). +-define(wxIconBundle_new_2, 1058). +-define(wxIconBundle_new_1_0, 1059). +-define(wxIconBundle_new_1_1, 1060). +-define(wxIconBundle_destruct, 1061). +-define(wxIconBundle_AddIcon_2, 1062). +-define(wxIconBundle_AddIcon_1, 1063). +-define(wxIconBundle_GetIcon_1_1, 1064). +-define(wxIconBundle_GetIcon_1_0, 1065). +-define(wxCursor_new_0, 1066). +-define(wxCursor_new_1_0, 1067). +-define(wxCursor_new_1_1, 1068). +-define(wxCursor_new_4, 1069). +-define(wxCursor_destruct, 1070). +-define(wxCursor_Ok, 1071). +-define(wxMask_new_0, 1072). +-define(wxMask_new_2_1, 1073). +-define(wxMask_new_2_0, 1074). +-define(wxMask_new_1, 1075). +-define(wxMask_destruct, 1076). +-define(wxMask_Create_2_1, 1077). +-define(wxMask_Create_2_0, 1078). +-define(wxMask_Create_1, 1079). +-define(wxImage_new_0, 1080). +-define(wxImage_new_3_0, 1081). +-define(wxImage_new_4, 1082). +-define(wxImage_new_5, 1083). +-define(wxImage_new_2, 1084). +-define(wxImage_new_3_1, 1085). +-define(wxImage_Blur, 1086). +-define(wxImage_BlurHorizontal, 1087). +-define(wxImage_BlurVertical, 1088). +-define(wxImage_ConvertAlphaToMask, 1089). +-define(wxImage_ConvertToGreyscale, 1090). +-define(wxImage_ConvertToMono, 1091). +-define(wxImage_Copy, 1092). +-define(wxImage_Create_3, 1093). +-define(wxImage_Create_4, 1094). +-define(wxImage_Create_5, 1095). +-define(wxImage_Destroy, 1096). +-define(wxImage_FindFirstUnusedColour, 1097). +-define(wxImage_GetImageExtWildcard, 1098). +-define(wxImage_GetAlpha_2, 1099). +-define(wxImage_GetAlpha_0, 1100). +-define(wxImage_GetBlue, 1101). +-define(wxImage_GetData, 1102). +-define(wxImage_GetGreen, 1103). +-define(wxImage_GetImageCount, 1104). +-define(wxImage_GetHeight, 1105). +-define(wxImage_GetMaskBlue, 1106). +-define(wxImage_GetMaskGreen, 1107). +-define(wxImage_GetMaskRed, 1108). +-define(wxImage_GetOrFindMaskColour, 1109). +-define(wxImage_GetPalette, 1110). +-define(wxImage_GetRed, 1111). +-define(wxImage_GetSubImage, 1112). +-define(wxImage_GetWidth, 1113). +-define(wxImage_HasAlpha, 1114). +-define(wxImage_HasMask, 1115). +-define(wxImage_GetOption, 1116). +-define(wxImage_GetOptionInt, 1117). +-define(wxImage_HasOption, 1118). +-define(wxImage_InitAlpha, 1119). +-define(wxImage_InitStandardHandlers, 1120). +-define(wxImage_IsTransparent, 1121). +-define(wxImage_LoadFile_2, 1122). +-define(wxImage_LoadFile_3, 1123). +-define(wxImage_Ok, 1124). +-define(wxImage_RemoveHandler, 1125). +-define(wxImage_Mirror, 1126). +-define(wxImage_Replace, 1127). +-define(wxImage_Rescale, 1128). +-define(wxImage_Resize, 1129). +-define(wxImage_Rotate, 1130). +-define(wxImage_RotateHue, 1131). +-define(wxImage_Rotate90, 1132). +-define(wxImage_SaveFile_1, 1133). +-define(wxImage_SaveFile_2_0, 1134). +-define(wxImage_SaveFile_2_1, 1135). +-define(wxImage_Scale, 1136). +-define(wxImage_Size, 1137). +-define(wxImage_SetAlpha_3, 1138). +-define(wxImage_SetAlpha_2, 1139). +-define(wxImage_SetData_2, 1140). +-define(wxImage_SetData_4, 1141). +-define(wxImage_SetMask, 1142). +-define(wxImage_SetMaskColour, 1143). +-define(wxImage_SetMaskFromImage, 1144). +-define(wxImage_SetOption_2_1, 1145). +-define(wxImage_SetOption_2_0, 1146). +-define(wxImage_SetPalette, 1147). +-define(wxImage_SetRGB_5, 1148). +-define(wxImage_SetRGB_4, 1149). +-define(wxImage_destroy, 1150). +-define(wxBrush_new_0, 1151). +-define(wxBrush_new_2, 1152). +-define(wxBrush_new_1, 1153). +-define(wxBrush_destruct, 1155). +-define(wxBrush_GetColour, 1156). +-define(wxBrush_GetStipple, 1157). +-define(wxBrush_GetStyle, 1158). +-define(wxBrush_IsHatch, 1159). +-define(wxBrush_IsOk, 1160). +-define(wxBrush_SetColour_1, 1161). +-define(wxBrush_SetColour_3, 1162). +-define(wxBrush_SetStipple, 1163). +-define(wxBrush_SetStyle, 1164). +-define(wxPen_new_0, 1165). +-define(wxPen_new_2, 1166). +-define(wxPen_destruct, 1167). +-define(wxPen_GetCap, 1168). +-define(wxPen_GetColour, 1169). +-define(wxPen_GetJoin, 1170). +-define(wxPen_GetStyle, 1171). +-define(wxPen_GetWidth, 1172). +-define(wxPen_IsOk, 1173). +-define(wxPen_SetCap, 1174). +-define(wxPen_SetColour_1, 1175). +-define(wxPen_SetColour_3, 1176). +-define(wxPen_SetJoin, 1177). +-define(wxPen_SetStyle, 1178). +-define(wxPen_SetWidth, 1179). +-define(wxRegion_new_0, 1180). +-define(wxRegion_new_4, 1181). +-define(wxRegion_new_2, 1182). +-define(wxRegion_new_1_1, 1183). +-define(wxRegion_new_1_0, 1185). +-define(wxRegion_destruct, 1187). +-define(wxRegion_Clear, 1188). +-define(wxRegion_Contains_2, 1189). +-define(wxRegion_Contains_1_0, 1190). +-define(wxRegion_Contains_4, 1191). +-define(wxRegion_Contains_1_1, 1192). +-define(wxRegion_ConvertToBitmap, 1193). +-define(wxRegion_GetBox, 1194). +-define(wxRegion_Intersect_4, 1195). +-define(wxRegion_Intersect_1_1, 1196). +-define(wxRegion_Intersect_1_0, 1197). +-define(wxRegion_IsEmpty, 1198). +-define(wxRegion_Subtract_4, 1199). +-define(wxRegion_Subtract_1_1, 1200). +-define(wxRegion_Subtract_1_0, 1201). +-define(wxRegion_Offset_2, 1202). +-define(wxRegion_Offset_1, 1203). +-define(wxRegion_Union_4, 1204). +-define(wxRegion_Union_1_2, 1205). +-define(wxRegion_Union_1_1, 1206). +-define(wxRegion_Union_1_0, 1207). +-define(wxRegion_Union_3, 1208). +-define(wxRegion_Xor_4, 1209). +-define(wxRegion_Xor_1_1, 1210). +-define(wxRegion_Xor_1_0, 1211). +-define(wxAcceleratorTable_new_0, 1212). +-define(wxAcceleratorTable_new_2, 1213). +-define(wxAcceleratorTable_destruct, 1214). +-define(wxAcceleratorTable_Ok, 1215). +-define(wxAcceleratorEntry_new_1_0, 1216). +-define(wxAcceleratorEntry_new_1_1, 1217). +-define(wxAcceleratorEntry_GetCommand, 1218). +-define(wxAcceleratorEntry_GetFlags, 1219). +-define(wxAcceleratorEntry_GetKeyCode, 1220). +-define(wxAcceleratorEntry_Set, 1221). +-define(wxAcceleratorEntry_destroy, 1222). +-define(wxCaret_new_3, 1227). +-define(wxCaret_new_2, 1228). +-define(wxCaret_destruct, 1230). +-define(wxCaret_Create_3, 1231). +-define(wxCaret_Create_2, 1232). +-define(wxCaret_GetBlinkTime, 1233). +-define(wxCaret_GetPosition, 1235). +-define(wxCaret_GetSize, 1237). +-define(wxCaret_GetWindow, 1238). +-define(wxCaret_Hide, 1239). +-define(wxCaret_IsOk, 1240). +-define(wxCaret_IsVisible, 1241). +-define(wxCaret_Move_2, 1242). +-define(wxCaret_Move_1, 1243). +-define(wxCaret_SetBlinkTime, 1244). +-define(wxCaret_SetSize_2, 1245). +-define(wxCaret_SetSize_1, 1246). +-define(wxCaret_Show, 1247). +-define(wxSizer_Add_2_1, 1248). +-define(wxSizer_Add_2_0, 1249). +-define(wxSizer_Add_3, 1250). +-define(wxSizer_Add_2_3, 1251). +-define(wxSizer_Add_2_2, 1252). +-define(wxSizer_AddSpacer, 1253). +-define(wxSizer_AddStretchSpacer, 1254). +-define(wxSizer_CalcMin, 1255). +-define(wxSizer_Clear, 1256). +-define(wxSizer_Detach_1_2, 1257). +-define(wxSizer_Detach_1_1, 1258). +-define(wxSizer_Detach_1_0, 1259). +-define(wxSizer_Fit, 1260). +-define(wxSizer_FitInside, 1261). +-define(wxSizer_GetChildren, 1262). +-define(wxSizer_GetItem_2_1, 1263). +-define(wxSizer_GetItem_2_0, 1264). +-define(wxSizer_GetItem_1, 1265). +-define(wxSizer_GetSize, 1266). +-define(wxSizer_GetPosition, 1267). +-define(wxSizer_GetMinSize, 1268). +-define(wxSizer_Hide_2_0, 1269). +-define(wxSizer_Hide_2_1, 1270). +-define(wxSizer_Hide_1, 1271). +-define(wxSizer_Insert_3_1, 1272). +-define(wxSizer_Insert_3_0, 1273). +-define(wxSizer_Insert_4, 1274). +-define(wxSizer_Insert_3_3, 1275). +-define(wxSizer_Insert_3_2, 1276). +-define(wxSizer_Insert_2, 1277). +-define(wxSizer_InsertSpacer, 1278). +-define(wxSizer_InsertStretchSpacer, 1279). +-define(wxSizer_IsShown_1_2, 1280). +-define(wxSizer_IsShown_1_1, 1281). +-define(wxSizer_IsShown_1_0, 1282). +-define(wxSizer_Layout, 1283). +-define(wxSizer_Prepend_2_1, 1284). +-define(wxSizer_Prepend_2_0, 1285). +-define(wxSizer_Prepend_3, 1286). +-define(wxSizer_Prepend_2_3, 1287). +-define(wxSizer_Prepend_2_2, 1288). +-define(wxSizer_Prepend_1, 1289). +-define(wxSizer_PrependSpacer, 1290). +-define(wxSizer_PrependStretchSpacer, 1291). +-define(wxSizer_RecalcSizes, 1292). +-define(wxSizer_Remove_1_1, 1293). +-define(wxSizer_Remove_1_0, 1294). +-define(wxSizer_Replace_3_1, 1295). +-define(wxSizer_Replace_3_0, 1296). +-define(wxSizer_Replace_2, 1297). +-define(wxSizer_SetDimension, 1298). +-define(wxSizer_SetMinSize_2, 1299). +-define(wxSizer_SetMinSize_1, 1300). +-define(wxSizer_SetItemMinSize_3_2, 1301). +-define(wxSizer_SetItemMinSize_2_2, 1302). +-define(wxSizer_SetItemMinSize_3_1, 1303). +-define(wxSizer_SetItemMinSize_2_1, 1304). +-define(wxSizer_SetItemMinSize_3_0, 1305). +-define(wxSizer_SetItemMinSize_2_0, 1306). +-define(wxSizer_SetSizeHints, 1307). +-define(wxSizer_SetVirtualSizeHints, 1308). +-define(wxSizer_Show_2_2, 1309). +-define(wxSizer_Show_2_1, 1310). +-define(wxSizer_Show_2_0, 1311). +-define(wxSizer_Show_1, 1312). +-define(wxSizerFlags_new, 1313). +-define(wxSizerFlags_Align, 1314). +-define(wxSizerFlags_Border_2, 1315). +-define(wxSizerFlags_Border_1, 1316). +-define(wxSizerFlags_Center, 1317). +-define(wxSizerFlags_Centre, 1318). +-define(wxSizerFlags_Expand, 1319). +-define(wxSizerFlags_Left, 1320). +-define(wxSizerFlags_Proportion, 1321). +-define(wxSizerFlags_Right, 1322). +-define(wxSizerFlags_destroy, 1323). +-define(wxSizerItem_new_5_1, 1324). +-define(wxSizerItem_new_2_1, 1325). +-define(wxSizerItem_new_5_0, 1326). +-define(wxSizerItem_new_2_0, 1327). +-define(wxSizerItem_new_6, 1328). +-define(wxSizerItem_new_3, 1329). +-define(wxSizerItem_new_0, 1330). +-define(wxSizerItem_destruct, 1331). +-define(wxSizerItem_CalcMin, 1332). +-define(wxSizerItem_DeleteWindows, 1333). +-define(wxSizerItem_DetachSizer, 1334). +-define(wxSizerItem_GetBorder, 1335). +-define(wxSizerItem_GetFlag, 1336). +-define(wxSizerItem_GetMinSize, 1337). +-define(wxSizerItem_GetPosition, 1338). +-define(wxSizerItem_GetProportion, 1339). +-define(wxSizerItem_GetRatio, 1340). +-define(wxSizerItem_GetRect, 1341). +-define(wxSizerItem_GetSize, 1342). +-define(wxSizerItem_GetSizer, 1343). +-define(wxSizerItem_GetSpacer, 1344). +-define(wxSizerItem_GetUserData, 1345). +-define(wxSizerItem_GetWindow, 1346). +-define(wxSizerItem_IsSizer, 1347). +-define(wxSizerItem_IsShown, 1348). +-define(wxSizerItem_IsSpacer, 1349). +-define(wxSizerItem_IsWindow, 1350). +-define(wxSizerItem_SetBorder, 1351). +-define(wxSizerItem_SetDimension, 1352). +-define(wxSizerItem_SetFlag, 1353). +-define(wxSizerItem_SetInitSize, 1354). +-define(wxSizerItem_SetMinSize_1, 1355). +-define(wxSizerItem_SetMinSize_2, 1356). +-define(wxSizerItem_SetProportion, 1357). +-define(wxSizerItem_SetRatio_2, 1358). +-define(wxSizerItem_SetRatio_1_1, 1359). +-define(wxSizerItem_SetRatio_1_0, 1360). +-define(wxSizerItem_SetSizer, 1361). +-define(wxSizerItem_SetSpacer_1, 1362). +-define(wxSizerItem_SetSpacer_2, 1363). +-define(wxSizerItem_SetWindow, 1364). +-define(wxSizerItem_Show, 1365). +-define(wxBoxSizer_new, 1366). +-define(wxBoxSizer_GetOrientation, 1367). +-define(wxBoxSizer_destroy, 1368). +-define(wxStaticBoxSizer_new_2, 1369). +-define(wxStaticBoxSizer_new_3, 1370). +-define(wxStaticBoxSizer_GetStaticBox, 1371). +-define(wxStaticBoxSizer_destroy, 1372). +-define(wxGridSizer_new_4, 1373). +-define(wxGridSizer_new_2, 1374). +-define(wxGridSizer_GetCols, 1375). +-define(wxGridSizer_GetHGap, 1376). +-define(wxGridSizer_GetRows, 1377). +-define(wxGridSizer_GetVGap, 1378). +-define(wxGridSizer_SetCols, 1379). +-define(wxGridSizer_SetHGap, 1380). +-define(wxGridSizer_SetRows, 1381). +-define(wxGridSizer_SetVGap, 1382). +-define(wxGridSizer_destroy, 1383). +-define(wxFlexGridSizer_new_4, 1384). +-define(wxFlexGridSizer_new_2, 1385). +-define(wxFlexGridSizer_AddGrowableCol, 1386). +-define(wxFlexGridSizer_AddGrowableRow, 1387). +-define(wxFlexGridSizer_GetFlexibleDirection, 1388). +-define(wxFlexGridSizer_GetNonFlexibleGrowMode, 1389). +-define(wxFlexGridSizer_RemoveGrowableCol, 1390). +-define(wxFlexGridSizer_RemoveGrowableRow, 1391). +-define(wxFlexGridSizer_SetFlexibleDirection, 1392). +-define(wxFlexGridSizer_SetNonFlexibleGrowMode, 1393). +-define(wxFlexGridSizer_destroy, 1394). +-define(wxGridBagSizer_new, 1395). +-define(wxGridBagSizer_Add_3_2, 1396). +-define(wxGridBagSizer_Add_3_1, 1397). +-define(wxGridBagSizer_Add_4, 1398). +-define(wxGridBagSizer_Add_1_0, 1399). +-define(wxGridBagSizer_Add_2_1, 1400). +-define(wxGridBagSizer_Add_2_0, 1401). +-define(wxGridBagSizer_Add_3_0, 1402). +-define(wxGridBagSizer_Add_1_1, 1403). +-define(wxGridBagSizer_CalcMin, 1404). +-define(wxGridBagSizer_CheckForIntersection_2, 1405). +-define(wxGridBagSizer_CheckForIntersection_3, 1406). +-define(wxGridBagSizer_FindItem_1_1, 1407). +-define(wxGridBagSizer_FindItem_1_0, 1408). +-define(wxGridBagSizer_FindItemAtPoint, 1409). +-define(wxGridBagSizer_FindItemAtPosition, 1410). +-define(wxGridBagSizer_FindItemWithData, 1411). +-define(wxGridBagSizer_GetCellSize, 1412). +-define(wxGridBagSizer_GetEmptyCellSize, 1413). +-define(wxGridBagSizer_GetItemPosition_1_2, 1414). +-define(wxGridBagSizer_GetItemPosition_1_1, 1415). +-define(wxGridBagSizer_GetItemPosition_1_0, 1416). +-define(wxGridBagSizer_GetItemSpan_1_2, 1417). +-define(wxGridBagSizer_GetItemSpan_1_1, 1418). +-define(wxGridBagSizer_GetItemSpan_1_0, 1419). +-define(wxGridBagSizer_SetEmptyCellSize, 1420). +-define(wxGridBagSizer_SetItemPosition_2_2, 1421). +-define(wxGridBagSizer_SetItemPosition_2_1, 1422). +-define(wxGridBagSizer_SetItemPosition_2_0, 1423). +-define(wxGridBagSizer_SetItemSpan_2_2, 1424). +-define(wxGridBagSizer_SetItemSpan_2_1, 1425). +-define(wxGridBagSizer_SetItemSpan_2_0, 1426). +-define(wxGridBagSizer_destroy, 1427). +-define(wxStdDialogButtonSizer_new, 1428). +-define(wxStdDialogButtonSizer_AddButton, 1429). +-define(wxStdDialogButtonSizer_Realize, 1430). +-define(wxStdDialogButtonSizer_SetAffirmativeButton, 1431). +-define(wxStdDialogButtonSizer_SetCancelButton, 1432). +-define(wxStdDialogButtonSizer_SetNegativeButton, 1433). +-define(wxStdDialogButtonSizer_destroy, 1434). +-define(wxFont_new_0, 1435). +-define(wxFont_new_1, 1436). +-define(wxFont_new_5, 1437). +-define(wxFont_destruct, 1439). +-define(wxFont_IsFixedWidth, 1440). +-define(wxFont_GetDefaultEncoding, 1441). +-define(wxFont_GetFaceName, 1442). +-define(wxFont_GetFamily, 1443). +-define(wxFont_GetNativeFontInfoDesc, 1444). +-define(wxFont_GetNativeFontInfoUserDesc, 1445). +-define(wxFont_GetPointSize, 1446). +-define(wxFont_GetStyle, 1447). +-define(wxFont_GetUnderlined, 1448). +-define(wxFont_GetWeight, 1449). +-define(wxFont_Ok, 1450). +-define(wxFont_SetDefaultEncoding, 1451). +-define(wxFont_SetFaceName, 1452). +-define(wxFont_SetFamily, 1453). +-define(wxFont_SetPointSize, 1454). +-define(wxFont_SetStyle, 1455). +-define(wxFont_SetUnderlined, 1456). +-define(wxFont_SetWeight, 1457). +-define(wxToolTip_Enable, 1458). +-define(wxToolTip_SetDelay, 1459). +-define(wxToolTip_new, 1460). +-define(wxToolTip_SetTip, 1461). +-define(wxToolTip_GetTip, 1462). +-define(wxToolTip_GetWindow, 1463). +-define(wxToolTip_destroy, 1464). +-define(wxButton_new_3, 1466). +-define(wxButton_new_0, 1467). +-define(wxButton_destruct, 1468). +-define(wxButton_Create, 1469). +-define(wxButton_GetDefaultSize, 1470). +-define(wxButton_SetDefault, 1471). +-define(wxButton_SetLabel, 1472). +-define(wxBitmapButton_new_4, 1474). +-define(wxBitmapButton_new_0, 1475). +-define(wxBitmapButton_Create, 1476). +-define(wxBitmapButton_GetBitmapDisabled, 1477). +-define(wxBitmapButton_GetBitmapFocus, 1479). +-define(wxBitmapButton_GetBitmapLabel, 1481). +-define(wxBitmapButton_GetBitmapSelected, 1483). +-define(wxBitmapButton_SetBitmapDisabled, 1485). +-define(wxBitmapButton_SetBitmapFocus, 1486). +-define(wxBitmapButton_SetBitmapLabel, 1487). +-define(wxBitmapButton_SetBitmapSelected, 1488). +-define(wxBitmapButton_destroy, 1489). +-define(wxToggleButton_new_0, 1490). +-define(wxToggleButton_new_4, 1491). +-define(wxToggleButton_Create, 1492). +-define(wxToggleButton_GetValue, 1493). +-define(wxToggleButton_SetValue, 1494). +-define(wxToggleButton_destroy, 1495). +-define(wxCalendarCtrl_new_0, 1496). +-define(wxCalendarCtrl_new_3, 1497). +-define(wxCalendarCtrl_Create, 1498). +-define(wxCalendarCtrl_destruct, 1499). +-define(wxCalendarCtrl_SetDate, 1500). +-define(wxCalendarCtrl_GetDate, 1501). +-define(wxCalendarCtrl_EnableYearChange, 1502). +-define(wxCalendarCtrl_EnableMonthChange, 1503). +-define(wxCalendarCtrl_EnableHolidayDisplay, 1504). +-define(wxCalendarCtrl_SetHeaderColours, 1505). +-define(wxCalendarCtrl_GetHeaderColourFg, 1506). +-define(wxCalendarCtrl_GetHeaderColourBg, 1507). +-define(wxCalendarCtrl_SetHighlightColours, 1508). +-define(wxCalendarCtrl_GetHighlightColourFg, 1509). +-define(wxCalendarCtrl_GetHighlightColourBg, 1510). +-define(wxCalendarCtrl_SetHolidayColours, 1511). +-define(wxCalendarCtrl_GetHolidayColourFg, 1512). +-define(wxCalendarCtrl_GetHolidayColourBg, 1513). +-define(wxCalendarCtrl_GetAttr, 1514). +-define(wxCalendarCtrl_SetAttr, 1515). +-define(wxCalendarCtrl_SetHoliday, 1516). +-define(wxCalendarCtrl_ResetAttr, 1517). +-define(wxCalendarCtrl_HitTest, 1518). +-define(wxCalendarDateAttr_new_0, 1519). +-define(wxCalendarDateAttr_new_2_1, 1520). +-define(wxCalendarDateAttr_new_2_0, 1521). +-define(wxCalendarDateAttr_SetTextColour, 1522). +-define(wxCalendarDateAttr_SetBackgroundColour, 1523). +-define(wxCalendarDateAttr_SetBorderColour, 1524). +-define(wxCalendarDateAttr_SetFont, 1525). +-define(wxCalendarDateAttr_SetBorder, 1526). +-define(wxCalendarDateAttr_SetHoliday, 1527). +-define(wxCalendarDateAttr_HasTextColour, 1528). +-define(wxCalendarDateAttr_HasBackgroundColour, 1529). +-define(wxCalendarDateAttr_HasBorderColour, 1530). +-define(wxCalendarDateAttr_HasFont, 1531). +-define(wxCalendarDateAttr_HasBorder, 1532). +-define(wxCalendarDateAttr_IsHoliday, 1533). +-define(wxCalendarDateAttr_GetTextColour, 1534). +-define(wxCalendarDateAttr_GetBackgroundColour, 1535). +-define(wxCalendarDateAttr_GetBorderColour, 1536). +-define(wxCalendarDateAttr_GetFont, 1537). +-define(wxCalendarDateAttr_GetBorder, 1538). +-define(wxCalendarDateAttr_destroy, 1539). +-define(wxCheckBox_new_4, 1541). +-define(wxCheckBox_new_0, 1542). +-define(wxCheckBox_Create, 1543). +-define(wxCheckBox_GetValue, 1544). +-define(wxCheckBox_Get3StateValue, 1545). +-define(wxCheckBox_Is3rdStateAllowedForUser, 1546). +-define(wxCheckBox_Is3State, 1547). +-define(wxCheckBox_IsChecked, 1548). +-define(wxCheckBox_SetValue, 1549). +-define(wxCheckBox_Set3StateValue, 1550). +-define(wxCheckBox_destroy, 1551). +-define(wxCheckListBox_new_0, 1552). +-define(wxCheckListBox_new_3, 1554). +-define(wxCheckListBox_Check, 1555). +-define(wxCheckListBox_IsChecked, 1556). +-define(wxCheckListBox_destroy, 1557). +-define(wxChoice_new_3, 1560). +-define(wxChoice_new_0, 1561). +-define(wxChoice_destruct, 1563). +-define(wxChoice_Create, 1565). +-define(wxChoice_Delete, 1566). +-define(wxChoice_GetColumns, 1567). +-define(wxChoice_SetColumns, 1568). +-define(wxComboBox_new_0, 1569). +-define(wxComboBox_new_3, 1571). +-define(wxComboBox_destruct, 1572). +-define(wxComboBox_Create, 1574). +-define(wxComboBox_CanCopy, 1575). +-define(wxComboBox_CanCut, 1576). +-define(wxComboBox_CanPaste, 1577). +-define(wxComboBox_CanRedo, 1578). +-define(wxComboBox_CanUndo, 1579). +-define(wxComboBox_Copy, 1580). +-define(wxComboBox_Cut, 1581). +-define(wxComboBox_GetInsertionPoint, 1582). +-define(wxComboBox_GetLastPosition, 1583). +-define(wxComboBox_GetValue, 1584). +-define(wxComboBox_Paste, 1585). +-define(wxComboBox_Redo, 1586). +-define(wxComboBox_Replace, 1587). +-define(wxComboBox_Remove, 1588). +-define(wxComboBox_SetInsertionPoint, 1589). +-define(wxComboBox_SetInsertionPointEnd, 1590). +-define(wxComboBox_SetSelection_1, 1591). +-define(wxComboBox_SetSelection_2, 1592). +-define(wxComboBox_SetValue, 1593). +-define(wxComboBox_Undo, 1594). +-define(wxGauge_new_0, 1595). +-define(wxGauge_new_4, 1596). +-define(wxGauge_Create, 1597). +-define(wxGauge_GetBezelFace, 1598). +-define(wxGauge_GetRange, 1599). +-define(wxGauge_GetShadowWidth, 1600). +-define(wxGauge_GetValue, 1601). +-define(wxGauge_IsVertical, 1602). +-define(wxGauge_SetBezelFace, 1603). +-define(wxGauge_SetRange, 1604). +-define(wxGauge_SetShadowWidth, 1605). +-define(wxGauge_SetValue, 1606). +-define(wxGauge_Pulse, 1607). +-define(wxGauge_destroy, 1608). +-define(wxGenericDirCtrl_new_0, 1609). +-define(wxGenericDirCtrl_new_2, 1610). +-define(wxGenericDirCtrl_destruct, 1611). +-define(wxGenericDirCtrl_Create, 1612). +-define(wxGenericDirCtrl_Init, 1613). +-define(wxGenericDirCtrl_CollapseTree, 1614). +-define(wxGenericDirCtrl_ExpandPath, 1615). +-define(wxGenericDirCtrl_GetDefaultPath, 1616). +-define(wxGenericDirCtrl_GetPath, 1617). +-define(wxGenericDirCtrl_GetFilePath, 1618). +-define(wxGenericDirCtrl_GetFilter, 1619). +-define(wxGenericDirCtrl_GetFilterIndex, 1620). +-define(wxGenericDirCtrl_GetRootId, 1621). +-define(wxGenericDirCtrl_GetTreeCtrl, 1622). +-define(wxGenericDirCtrl_ReCreateTree, 1623). +-define(wxGenericDirCtrl_SetDefaultPath, 1624). +-define(wxGenericDirCtrl_SetFilter, 1625). +-define(wxGenericDirCtrl_SetFilterIndex, 1626). +-define(wxGenericDirCtrl_SetPath, 1627). +-define(wxStaticBox_new_4, 1629). +-define(wxStaticBox_new_0, 1630). +-define(wxStaticBox_Create, 1631). +-define(wxStaticBox_destroy, 1632). +-define(wxStaticLine_new_2, 1634). +-define(wxStaticLine_new_0, 1635). +-define(wxStaticLine_Create, 1636). +-define(wxStaticLine_IsVertical, 1637). +-define(wxStaticLine_GetDefaultSize, 1638). +-define(wxStaticLine_destroy, 1639). +-define(wxListBox_new_3, 1642). +-define(wxListBox_new_0, 1643). +-define(wxListBox_destruct, 1645). +-define(wxListBox_Create, 1647). +-define(wxListBox_Deselect, 1648). +-define(wxListBox_GetSelections, 1649). +-define(wxListBox_InsertItems, 1650). +-define(wxListBox_IsSelected, 1651). +-define(wxListBox_Set, 1653). +-define(wxListBox_HitTest, 1654). +-define(wxListBox_SetFirstItem_1_0, 1655). +-define(wxListBox_SetFirstItem_1_1, 1656). +-define(wxListCtrl_new_0, 1657). +-define(wxListCtrl_new_2, 1658). +-define(wxListCtrl_Arrange, 1659). +-define(wxListCtrl_AssignImageList, 1660). +-define(wxListCtrl_ClearAll, 1661). +-define(wxListCtrl_Create, 1662). +-define(wxListCtrl_DeleteAllItems, 1663). +-define(wxListCtrl_DeleteColumn, 1664). +-define(wxListCtrl_DeleteItem, 1665). +-define(wxListCtrl_EditLabel, 1666). +-define(wxListCtrl_EnsureVisible, 1667). +-define(wxListCtrl_FindItem_3_0, 1668). +-define(wxListCtrl_FindItem_3_1, 1669). +-define(wxListCtrl_GetColumn, 1670). +-define(wxListCtrl_GetColumnCount, 1671). +-define(wxListCtrl_GetColumnWidth, 1672). +-define(wxListCtrl_GetCountPerPage, 1673). +-define(wxListCtrl_GetEditControl, 1674). +-define(wxListCtrl_GetImageList, 1675). +-define(wxListCtrl_GetItem, 1676). +-define(wxListCtrl_GetItemBackgroundColour, 1677). +-define(wxListCtrl_GetItemCount, 1678). +-define(wxListCtrl_GetItemData, 1679). +-define(wxListCtrl_GetItemFont, 1680). +-define(wxListCtrl_GetItemPosition, 1681). +-define(wxListCtrl_GetItemRect, 1682). +-define(wxListCtrl_GetItemSpacing, 1683). +-define(wxListCtrl_GetItemState, 1684). +-define(wxListCtrl_GetItemText, 1685). +-define(wxListCtrl_GetItemTextColour, 1686). +-define(wxListCtrl_GetNextItem, 1687). +-define(wxListCtrl_GetSelectedItemCount, 1688). +-define(wxListCtrl_GetTextColour, 1689). +-define(wxListCtrl_GetTopItem, 1690). +-define(wxListCtrl_GetViewRect, 1691). +-define(wxListCtrl_HitTest, 1692). +-define(wxListCtrl_InsertColumn_2, 1693). +-define(wxListCtrl_InsertColumn_3, 1694). +-define(wxListCtrl_InsertItem_1, 1695). +-define(wxListCtrl_InsertItem_2_1, 1696). +-define(wxListCtrl_InsertItem_2_0, 1697). +-define(wxListCtrl_InsertItem_3, 1698). +-define(wxListCtrl_RefreshItem, 1699). +-define(wxListCtrl_RefreshItems, 1700). +-define(wxListCtrl_ScrollList, 1701). +-define(wxListCtrl_SetBackgroundColour, 1702). +-define(wxListCtrl_SetColumn, 1703). +-define(wxListCtrl_SetColumnWidth, 1704). +-define(wxListCtrl_SetImageList, 1705). +-define(wxListCtrl_SetItem_1, 1706). +-define(wxListCtrl_SetItem_4, 1707). +-define(wxListCtrl_SetItemBackgroundColour, 1708). +-define(wxListCtrl_SetItemCount, 1709). +-define(wxListCtrl_SetItemData, 1710). +-define(wxListCtrl_SetItemFont, 1711). +-define(wxListCtrl_SetItemImage, 1712). +-define(wxListCtrl_SetItemColumnImage, 1713). +-define(wxListCtrl_SetItemPosition, 1714). +-define(wxListCtrl_SetItemState, 1715). +-define(wxListCtrl_SetItemText, 1716). +-define(wxListCtrl_SetItemTextColour, 1717). +-define(wxListCtrl_SetSingleStyle, 1718). +-define(wxListCtrl_SetTextColour, 1719). +-define(wxListCtrl_SetWindowStyleFlag, 1720). +-define(wxListCtrl_SortItems, 1721). +-define(wxListCtrl_destroy, 1722). +-define(wxListView_ClearColumnImage, 1723). +-define(wxListView_Focus, 1724). +-define(wxListView_GetFirstSelected, 1725). +-define(wxListView_GetFocusedItem, 1726). +-define(wxListView_GetNextSelected, 1727). +-define(wxListView_IsSelected, 1728). +-define(wxListView_Select, 1729). +-define(wxListView_SetColumnImage, 1730). +-define(wxListItem_new_0, 1731). +-define(wxListItem_new_1, 1732). +-define(wxListItem_destruct, 1733). +-define(wxListItem_Clear, 1734). +-define(wxListItem_GetAlign, 1735). +-define(wxListItem_GetBackgroundColour, 1736). +-define(wxListItem_GetColumn, 1737). +-define(wxListItem_GetFont, 1738). +-define(wxListItem_GetId, 1739). +-define(wxListItem_GetImage, 1740). +-define(wxListItem_GetMask, 1741). +-define(wxListItem_GetState, 1742). +-define(wxListItem_GetText, 1743). +-define(wxListItem_GetTextColour, 1744). +-define(wxListItem_GetWidth, 1745). +-define(wxListItem_SetAlign, 1746). +-define(wxListItem_SetBackgroundColour, 1747). +-define(wxListItem_SetColumn, 1748). +-define(wxListItem_SetFont, 1749). +-define(wxListItem_SetId, 1750). +-define(wxListItem_SetImage, 1751). +-define(wxListItem_SetMask, 1752). +-define(wxListItem_SetState, 1753). +-define(wxListItem_SetStateMask, 1754). +-define(wxListItem_SetText, 1755). +-define(wxListItem_SetTextColour, 1756). +-define(wxListItem_SetWidth, 1757). +-define(wxListItemAttr_new_0, 1758). +-define(wxListItemAttr_new_3, 1759). +-define(wxListItemAttr_GetBackgroundColour, 1760). +-define(wxListItemAttr_GetFont, 1761). +-define(wxListItemAttr_GetTextColour, 1762). +-define(wxListItemAttr_HasBackgroundColour, 1763). +-define(wxListItemAttr_HasFont, 1764). +-define(wxListItemAttr_HasTextColour, 1765). +-define(wxListItemAttr_SetBackgroundColour, 1766). +-define(wxListItemAttr_SetFont, 1767). +-define(wxListItemAttr_SetTextColour, 1768). +-define(wxListItemAttr_destroy, 1769). +-define(wxImageList_new_0, 1770). +-define(wxImageList_new_3, 1771). +-define(wxImageList_Add_1, 1772). +-define(wxImageList_Add_2_0, 1773). +-define(wxImageList_Add_2_1, 1774). +-define(wxImageList_Create, 1775). +-define(wxImageList_Draw, 1777). +-define(wxImageList_GetBitmap, 1778). +-define(wxImageList_GetIcon, 1779). +-define(wxImageList_GetImageCount, 1780). +-define(wxImageList_GetSize, 1781). +-define(wxImageList_Remove, 1782). +-define(wxImageList_RemoveAll, 1783). +-define(wxImageList_Replace_2, 1784). +-define(wxImageList_Replace_3, 1785). +-define(wxImageList_destroy, 1786). +-define(wxTextAttr_new_0, 1787). +-define(wxTextAttr_new_2, 1788). +-define(wxTextAttr_GetAlignment, 1789). +-define(wxTextAttr_GetBackgroundColour, 1790). +-define(wxTextAttr_GetFont, 1791). +-define(wxTextAttr_GetLeftIndent, 1792). +-define(wxTextAttr_GetLeftSubIndent, 1793). +-define(wxTextAttr_GetRightIndent, 1794). +-define(wxTextAttr_GetTabs, 1795). +-define(wxTextAttr_GetTextColour, 1796). +-define(wxTextAttr_HasBackgroundColour, 1797). +-define(wxTextAttr_HasFont, 1798). +-define(wxTextAttr_HasTextColour, 1799). +-define(wxTextAttr_GetFlags, 1800). +-define(wxTextAttr_IsDefault, 1801). +-define(wxTextAttr_SetAlignment, 1802). +-define(wxTextAttr_SetBackgroundColour, 1803). +-define(wxTextAttr_SetFlags, 1804). +-define(wxTextAttr_SetFont, 1805). +-define(wxTextAttr_SetLeftIndent, 1806). +-define(wxTextAttr_SetRightIndent, 1807). +-define(wxTextAttr_SetTabs, 1808). +-define(wxTextAttr_SetTextColour, 1809). +-define(wxTextAttr_destroy, 1810). +-define(wxTextCtrl_new_3, 1812). +-define(wxTextCtrl_new_0, 1813). +-define(wxTextCtrl_destruct, 1815). +-define(wxTextCtrl_AppendText, 1816). +-define(wxTextCtrl_CanCopy, 1817). +-define(wxTextCtrl_CanCut, 1818). +-define(wxTextCtrl_CanPaste, 1819). +-define(wxTextCtrl_CanRedo, 1820). +-define(wxTextCtrl_CanUndo, 1821). +-define(wxTextCtrl_Clear, 1822). +-define(wxTextCtrl_Copy, 1823). +-define(wxTextCtrl_Create, 1824). +-define(wxTextCtrl_Cut, 1825). +-define(wxTextCtrl_DiscardEdits, 1826). +-define(wxTextCtrl_EmulateKeyPress, 1827). +-define(wxTextCtrl_GetDefaultStyle, 1828). +-define(wxTextCtrl_GetInsertionPoint, 1829). +-define(wxTextCtrl_GetLastPosition, 1830). +-define(wxTextCtrl_GetLineLength, 1831). +-define(wxTextCtrl_GetLineText, 1832). +-define(wxTextCtrl_GetNumberOfLines, 1833). +-define(wxTextCtrl_GetRange, 1834). +-define(wxTextCtrl_GetSelection, 1835). +-define(wxTextCtrl_GetStringSelection, 1836). +-define(wxTextCtrl_GetStyle, 1837). +-define(wxTextCtrl_GetValue, 1838). +-define(wxTextCtrl_IsEditable, 1839). +-define(wxTextCtrl_IsModified, 1840). +-define(wxTextCtrl_IsMultiLine, 1841). +-define(wxTextCtrl_IsSingleLine, 1842). +-define(wxTextCtrl_LoadFile, 1843). +-define(wxTextCtrl_MarkDirty, 1844). +-define(wxTextCtrl_Paste, 1845). +-define(wxTextCtrl_PositionToXY, 1846). +-define(wxTextCtrl_Redo, 1847). +-define(wxTextCtrl_Remove, 1848). +-define(wxTextCtrl_Replace, 1849). +-define(wxTextCtrl_SaveFile, 1850). +-define(wxTextCtrl_SetDefaultStyle, 1851). +-define(wxTextCtrl_SetEditable, 1852). +-define(wxTextCtrl_SetInsertionPoint, 1853). +-define(wxTextCtrl_SetInsertionPointEnd, 1854). +-define(wxTextCtrl_SetMaxLength, 1856). +-define(wxTextCtrl_SetSelection, 1857). +-define(wxTextCtrl_SetStyle, 1858). +-define(wxTextCtrl_SetValue, 1859). +-define(wxTextCtrl_ShowPosition, 1860). +-define(wxTextCtrl_Undo, 1861). +-define(wxTextCtrl_WriteText, 1862). +-define(wxTextCtrl_XYToPosition, 1863). +-define(wxNotebook_new_0, 1866). +-define(wxNotebook_new_3, 1867). +-define(wxNotebook_destruct, 1868). +-define(wxNotebook_AddPage, 1869). +-define(wxNotebook_AdvanceSelection, 1870). +-define(wxNotebook_AssignImageList, 1871). +-define(wxNotebook_Create, 1872). +-define(wxNotebook_DeleteAllPages, 1873). +-define(wxNotebook_DeletePage, 1874). +-define(wxNotebook_RemovePage, 1875). +-define(wxNotebook_GetCurrentPage, 1876). +-define(wxNotebook_GetImageList, 1877). +-define(wxNotebook_GetPage, 1879). +-define(wxNotebook_GetPageCount, 1880). +-define(wxNotebook_GetPageImage, 1881). +-define(wxNotebook_GetPageText, 1882). +-define(wxNotebook_GetRowCount, 1883). +-define(wxNotebook_GetSelection, 1884). +-define(wxNotebook_GetThemeBackgroundColour, 1885). +-define(wxNotebook_HitTest, 1887). +-define(wxNotebook_InsertPage, 1889). +-define(wxNotebook_SetImageList, 1890). +-define(wxNotebook_SetPadding, 1891). +-define(wxNotebook_SetPageSize, 1892). +-define(wxNotebook_SetPageImage, 1893). +-define(wxNotebook_SetPageText, 1894). +-define(wxNotebook_SetSelection, 1895). +-define(wxNotebook_ChangeSelection, 1896). +-define(wxChoicebook_new_0, 1897). +-define(wxChoicebook_new_3, 1898). +-define(wxChoicebook_AddPage, 1899). +-define(wxChoicebook_AdvanceSelection, 1900). +-define(wxChoicebook_AssignImageList, 1901). +-define(wxChoicebook_Create, 1902). +-define(wxChoicebook_DeleteAllPages, 1903). +-define(wxChoicebook_DeletePage, 1904). +-define(wxChoicebook_RemovePage, 1905). +-define(wxChoicebook_GetCurrentPage, 1906). +-define(wxChoicebook_GetImageList, 1907). +-define(wxChoicebook_GetPage, 1909). +-define(wxChoicebook_GetPageCount, 1910). +-define(wxChoicebook_GetPageImage, 1911). +-define(wxChoicebook_GetPageText, 1912). +-define(wxChoicebook_GetSelection, 1913). +-define(wxChoicebook_HitTest, 1914). +-define(wxChoicebook_InsertPage, 1915). +-define(wxChoicebook_SetImageList, 1916). +-define(wxChoicebook_SetPageSize, 1917). +-define(wxChoicebook_SetPageImage, 1918). +-define(wxChoicebook_SetPageText, 1919). +-define(wxChoicebook_SetSelection, 1920). +-define(wxChoicebook_ChangeSelection, 1921). +-define(wxChoicebook_destroy, 1922). +-define(wxToolbook_new_0, 1923). +-define(wxToolbook_new_3, 1924). +-define(wxToolbook_AddPage, 1925). +-define(wxToolbook_AdvanceSelection, 1926). +-define(wxToolbook_AssignImageList, 1927). +-define(wxToolbook_Create, 1928). +-define(wxToolbook_DeleteAllPages, 1929). +-define(wxToolbook_DeletePage, 1930). +-define(wxToolbook_RemovePage, 1931). +-define(wxToolbook_GetCurrentPage, 1932). +-define(wxToolbook_GetImageList, 1933). +-define(wxToolbook_GetPage, 1935). +-define(wxToolbook_GetPageCount, 1936). +-define(wxToolbook_GetPageImage, 1937). +-define(wxToolbook_GetPageText, 1938). +-define(wxToolbook_GetSelection, 1939). +-define(wxToolbook_HitTest, 1941). +-define(wxToolbook_InsertPage, 1942). +-define(wxToolbook_SetImageList, 1943). +-define(wxToolbook_SetPageSize, 1944). +-define(wxToolbook_SetPageImage, 1945). +-define(wxToolbook_SetPageText, 1946). +-define(wxToolbook_SetSelection, 1947). +-define(wxToolbook_ChangeSelection, 1948). +-define(wxToolbook_destroy, 1949). +-define(wxListbook_new_0, 1950). +-define(wxListbook_new_3, 1951). +-define(wxListbook_AddPage, 1952). +-define(wxListbook_AdvanceSelection, 1953). +-define(wxListbook_AssignImageList, 1954). +-define(wxListbook_Create, 1955). +-define(wxListbook_DeleteAllPages, 1956). +-define(wxListbook_DeletePage, 1957). +-define(wxListbook_RemovePage, 1958). +-define(wxListbook_GetCurrentPage, 1959). +-define(wxListbook_GetImageList, 1960). +-define(wxListbook_GetPage, 1962). +-define(wxListbook_GetPageCount, 1963). +-define(wxListbook_GetPageImage, 1964). +-define(wxListbook_GetPageText, 1965). +-define(wxListbook_GetSelection, 1966). +-define(wxListbook_HitTest, 1968). +-define(wxListbook_InsertPage, 1969). +-define(wxListbook_SetImageList, 1970). +-define(wxListbook_SetPageSize, 1971). +-define(wxListbook_SetPageImage, 1972). +-define(wxListbook_SetPageText, 1973). +-define(wxListbook_SetSelection, 1974). +-define(wxListbook_ChangeSelection, 1975). +-define(wxListbook_destroy, 1976). +-define(wxTreebook_new_0, 1977). +-define(wxTreebook_new_3, 1978). +-define(wxTreebook_AddPage, 1979). +-define(wxTreebook_AdvanceSelection, 1980). +-define(wxTreebook_AssignImageList, 1981). +-define(wxTreebook_Create, 1982). +-define(wxTreebook_DeleteAllPages, 1983). +-define(wxTreebook_DeletePage, 1984). +-define(wxTreebook_RemovePage, 1985). +-define(wxTreebook_GetCurrentPage, 1986). +-define(wxTreebook_GetImageList, 1987). +-define(wxTreebook_GetPage, 1989). +-define(wxTreebook_GetPageCount, 1990). +-define(wxTreebook_GetPageImage, 1991). +-define(wxTreebook_GetPageText, 1992). +-define(wxTreebook_GetSelection, 1993). +-define(wxTreebook_ExpandNode, 1994). +-define(wxTreebook_IsNodeExpanded, 1995). +-define(wxTreebook_HitTest, 1997). +-define(wxTreebook_InsertPage, 1998). +-define(wxTreebook_InsertSubPage, 1999). +-define(wxTreebook_SetImageList, 2000). +-define(wxTreebook_SetPageSize, 2001). +-define(wxTreebook_SetPageImage, 2002). +-define(wxTreebook_SetPageText, 2003). +-define(wxTreebook_SetSelection, 2004). +-define(wxTreebook_ChangeSelection, 2005). +-define(wxTreebook_destroy, 2006). +-define(wxTreeCtrl_new_2, 2009). +-define(wxTreeCtrl_new_0, 2010). +-define(wxTreeCtrl_destruct, 2012). +-define(wxTreeCtrl_AddRoot, 2013). +-define(wxTreeCtrl_AppendItem, 2014). +-define(wxTreeCtrl_AssignImageList, 2015). +-define(wxTreeCtrl_AssignStateImageList, 2016). +-define(wxTreeCtrl_Collapse, 2017). +-define(wxTreeCtrl_CollapseAndReset, 2018). +-define(wxTreeCtrl_Create, 2019). +-define(wxTreeCtrl_Delete, 2020). +-define(wxTreeCtrl_DeleteAllItems, 2021). +-define(wxTreeCtrl_DeleteChildren, 2022). +-define(wxTreeCtrl_EditLabel, 2023). +-define(wxTreeCtrl_EnsureVisible, 2024). +-define(wxTreeCtrl_Expand, 2025). +-define(wxTreeCtrl_GetBoundingRect, 2026). +-define(wxTreeCtrl_GetChildrenCount, 2028). +-define(wxTreeCtrl_GetCount, 2029). +-define(wxTreeCtrl_GetEditControl, 2030). +-define(wxTreeCtrl_GetFirstChild, 2031). +-define(wxTreeCtrl_GetNextChild, 2032). +-define(wxTreeCtrl_GetFirstVisibleItem, 2033). +-define(wxTreeCtrl_GetImageList, 2034). +-define(wxTreeCtrl_GetIndent, 2035). +-define(wxTreeCtrl_GetItemBackgroundColour, 2036). +-define(wxTreeCtrl_GetItemData, 2037). +-define(wxTreeCtrl_GetItemFont, 2038). +-define(wxTreeCtrl_GetItemImage_1, 2039). +-define(wxTreeCtrl_GetItemImage_2, 2040). +-define(wxTreeCtrl_GetItemText, 2041). +-define(wxTreeCtrl_GetItemTextColour, 2042). +-define(wxTreeCtrl_GetLastChild, 2043). +-define(wxTreeCtrl_GetNextSibling, 2044). +-define(wxTreeCtrl_GetNextVisible, 2045). +-define(wxTreeCtrl_GetItemParent, 2046). +-define(wxTreeCtrl_GetPrevSibling, 2047). +-define(wxTreeCtrl_GetPrevVisible, 2048). +-define(wxTreeCtrl_GetRootItem, 2049). +-define(wxTreeCtrl_GetSelection, 2050). +-define(wxTreeCtrl_GetSelections, 2051). +-define(wxTreeCtrl_GetStateImageList, 2052). +-define(wxTreeCtrl_HitTest, 2053). +-define(wxTreeCtrl_InsertItem, 2055). +-define(wxTreeCtrl_IsBold, 2056). +-define(wxTreeCtrl_IsExpanded, 2057). +-define(wxTreeCtrl_IsSelected, 2058). +-define(wxTreeCtrl_IsVisible, 2059). +-define(wxTreeCtrl_ItemHasChildren, 2060). +-define(wxTreeCtrl_PrependItem, 2061). +-define(wxTreeCtrl_ScrollTo, 2062). +-define(wxTreeCtrl_SelectItem_1, 2063). +-define(wxTreeCtrl_SelectItem_2, 2064). +-define(wxTreeCtrl_SetIndent, 2065). +-define(wxTreeCtrl_SetImageList, 2066). +-define(wxTreeCtrl_SetItemBackgroundColour, 2067). +-define(wxTreeCtrl_SetItemBold, 2068). +-define(wxTreeCtrl_SetItemData, 2069). +-define(wxTreeCtrl_SetItemDropHighlight, 2070). +-define(wxTreeCtrl_SetItemFont, 2071). +-define(wxTreeCtrl_SetItemHasChildren, 2072). +-define(wxTreeCtrl_SetItemImage_2, 2073). +-define(wxTreeCtrl_SetItemImage_3, 2074). +-define(wxTreeCtrl_SetItemText, 2075). +-define(wxTreeCtrl_SetItemTextColour, 2076). +-define(wxTreeCtrl_SetStateImageList, 2077). +-define(wxTreeCtrl_SetWindowStyle, 2078). +-define(wxTreeCtrl_SortChildren, 2079). +-define(wxTreeCtrl_Toggle, 2080). +-define(wxTreeCtrl_ToggleItemSelection, 2081). +-define(wxTreeCtrl_Unselect, 2082). +-define(wxTreeCtrl_UnselectAll, 2083). +-define(wxTreeCtrl_UnselectItem, 2084). +-define(wxScrollBar_new_0, 2085). +-define(wxScrollBar_new_3, 2086). +-define(wxScrollBar_destruct, 2087). +-define(wxScrollBar_Create, 2088). +-define(wxScrollBar_GetRange, 2089). +-define(wxScrollBar_GetPageSize, 2090). +-define(wxScrollBar_GetThumbPosition, 2091). +-define(wxScrollBar_GetThumbSize, 2092). +-define(wxScrollBar_SetThumbPosition, 2093). +-define(wxScrollBar_SetScrollbar, 2094). +-define(wxSpinButton_new_2, 2096). +-define(wxSpinButton_new_0, 2097). +-define(wxSpinButton_Create, 2098). +-define(wxSpinButton_GetMax, 2099). +-define(wxSpinButton_GetMin, 2100). +-define(wxSpinButton_GetValue, 2101). +-define(wxSpinButton_SetRange, 2102). +-define(wxSpinButton_SetValue, 2103). +-define(wxSpinButton_destroy, 2104). +-define(wxSpinCtrl_new_0, 2105). +-define(wxSpinCtrl_new_2, 2106). +-define(wxSpinCtrl_Create, 2108). +-define(wxSpinCtrl_SetValue_1_1, 2111). +-define(wxSpinCtrl_SetValue_1_0, 2112). +-define(wxSpinCtrl_GetValue, 2114). +-define(wxSpinCtrl_SetRange, 2116). +-define(wxSpinCtrl_SetSelection, 2117). +-define(wxSpinCtrl_GetMin, 2119). +-define(wxSpinCtrl_GetMax, 2121). +-define(wxSpinCtrl_destroy, 2122). +-define(wxStaticText_new_0, 2123). +-define(wxStaticText_new_4, 2124). +-define(wxStaticText_Create, 2125). +-define(wxStaticText_GetLabel, 2126). +-define(wxStaticText_SetLabel, 2127). +-define(wxStaticText_Wrap, 2128). +-define(wxStaticText_destroy, 2129). +-define(wxStaticBitmap_new_0, 2130). +-define(wxStaticBitmap_new_4, 2131). +-define(wxStaticBitmap_Create, 2132). +-define(wxStaticBitmap_GetBitmap, 2133). +-define(wxStaticBitmap_SetBitmap, 2134). +-define(wxStaticBitmap_destroy, 2135). +-define(wxRadioBox_new, 2136). +-define(wxRadioBox_destruct, 2138). +-define(wxRadioBox_Create, 2139). +-define(wxRadioBox_Enable_2, 2140). +-define(wxRadioBox_Enable_1, 2141). +-define(wxRadioBox_GetSelection, 2142). +-define(wxRadioBox_GetString, 2143). +-define(wxRadioBox_SetSelection, 2144). +-define(wxRadioBox_Show_2, 2145). +-define(wxRadioBox_Show_1, 2146). +-define(wxRadioBox_GetColumnCount, 2147). +-define(wxRadioBox_GetItemHelpText, 2148). +-define(wxRadioBox_GetItemToolTip, 2149). +-define(wxRadioBox_GetItemFromPoint, 2151). +-define(wxRadioBox_GetRowCount, 2152). +-define(wxRadioBox_IsItemEnabled, 2153). +-define(wxRadioBox_IsItemShown, 2154). +-define(wxRadioBox_SetItemHelpText, 2155). +-define(wxRadioBox_SetItemToolTip, 2156). +-define(wxRadioButton_new_0, 2157). +-define(wxRadioButton_new_4, 2158). +-define(wxRadioButton_Create, 2159). +-define(wxRadioButton_GetValue, 2160). +-define(wxRadioButton_SetValue, 2161). +-define(wxRadioButton_destroy, 2162). +-define(wxSlider_new_6, 2164). +-define(wxSlider_new_0, 2165). +-define(wxSlider_Create, 2166). +-define(wxSlider_GetLineSize, 2167). +-define(wxSlider_GetMax, 2168). +-define(wxSlider_GetMin, 2169). +-define(wxSlider_GetPageSize, 2170). +-define(wxSlider_GetThumbLength, 2171). +-define(wxSlider_GetValue, 2172). +-define(wxSlider_SetLineSize, 2173). +-define(wxSlider_SetPageSize, 2174). +-define(wxSlider_SetRange, 2175). +-define(wxSlider_SetThumbLength, 2176). +-define(wxSlider_SetValue, 2177). +-define(wxSlider_destroy, 2178). +-define(wxDialog_new_4, 2180). +-define(wxDialog_new_0, 2181). +-define(wxDialog_destruct, 2183). +-define(wxDialog_Create, 2184). +-define(wxDialog_CreateButtonSizer, 2185). +-define(wxDialog_CreateStdDialogButtonSizer, 2186). +-define(wxDialog_EndModal, 2187). +-define(wxDialog_GetAffirmativeId, 2188). +-define(wxDialog_GetReturnCode, 2189). +-define(wxDialog_IsModal, 2190). +-define(wxDialog_SetAffirmativeId, 2191). +-define(wxDialog_SetReturnCode, 2192). +-define(wxDialog_Show, 2193). +-define(wxDialog_ShowModal, 2194). +-define(wxColourDialog_new_0, 2195). +-define(wxColourDialog_new_2, 2196). +-define(wxColourDialog_destruct, 2197). +-define(wxColourDialog_Create, 2198). +-define(wxColourDialog_GetColourData, 2199). +-define(wxColourData_new_0, 2200). +-define(wxColourData_new_1, 2201). +-define(wxColourData_destruct, 2202). +-define(wxColourData_GetChooseFull, 2203). +-define(wxColourData_GetColour, 2204). +-define(wxColourData_GetCustomColour, 2206). +-define(wxColourData_SetChooseFull, 2207). +-define(wxColourData_SetColour, 2208). +-define(wxColourData_SetCustomColour, 2209). +-define(wxPalette_new_0, 2210). +-define(wxPalette_new_4, 2211). +-define(wxPalette_destruct, 2213). +-define(wxPalette_Create, 2214). +-define(wxPalette_GetColoursCount, 2215). +-define(wxPalette_GetPixel, 2216). +-define(wxPalette_GetRGB, 2217). +-define(wxPalette_IsOk, 2218). +-define(wxDirDialog_new, 2222). +-define(wxDirDialog_destruct, 2223). +-define(wxDirDialog_GetPath, 2224). +-define(wxDirDialog_GetMessage, 2225). +-define(wxDirDialog_SetMessage, 2226). +-define(wxDirDialog_SetPath, 2227). +-define(wxFileDialog_new, 2231). +-define(wxFileDialog_destruct, 2232). +-define(wxFileDialog_GetDirectory, 2233). +-define(wxFileDialog_GetFilename, 2234). +-define(wxFileDialog_GetFilenames, 2235). +-define(wxFileDialog_GetFilterIndex, 2236). +-define(wxFileDialog_GetMessage, 2237). +-define(wxFileDialog_GetPath, 2238). +-define(wxFileDialog_GetPaths, 2239). +-define(wxFileDialog_GetWildcard, 2240). +-define(wxFileDialog_SetDirectory, 2241). +-define(wxFileDialog_SetFilename, 2242). +-define(wxFileDialog_SetFilterIndex, 2243). +-define(wxFileDialog_SetMessage, 2244). +-define(wxFileDialog_SetPath, 2245). +-define(wxFileDialog_SetWildcard, 2246). +-define(wxPickerBase_SetInternalMargin, 2247). +-define(wxPickerBase_GetInternalMargin, 2248). +-define(wxPickerBase_SetTextCtrlProportion, 2249). +-define(wxPickerBase_SetPickerCtrlProportion, 2250). +-define(wxPickerBase_GetTextCtrlProportion, 2251). +-define(wxPickerBase_GetPickerCtrlProportion, 2252). +-define(wxPickerBase_HasTextCtrl, 2253). +-define(wxPickerBase_GetTextCtrl, 2254). +-define(wxPickerBase_IsTextCtrlGrowable, 2255). +-define(wxPickerBase_SetPickerCtrlGrowable, 2256). +-define(wxPickerBase_SetTextCtrlGrowable, 2257). +-define(wxPickerBase_IsPickerCtrlGrowable, 2258). +-define(wxFilePickerCtrl_new_0, 2259). +-define(wxFilePickerCtrl_new_3, 2260). +-define(wxFilePickerCtrl_Create, 2261). +-define(wxFilePickerCtrl_GetPath, 2262). +-define(wxFilePickerCtrl_SetPath, 2263). +-define(wxFilePickerCtrl_destroy, 2264). +-define(wxDirPickerCtrl_new_0, 2265). +-define(wxDirPickerCtrl_new_3, 2266). +-define(wxDirPickerCtrl_Create, 2267). +-define(wxDirPickerCtrl_GetPath, 2268). +-define(wxDirPickerCtrl_SetPath, 2269). +-define(wxDirPickerCtrl_destroy, 2270). +-define(wxColourPickerCtrl_new_0, 2271). +-define(wxColourPickerCtrl_new_3, 2272). +-define(wxColourPickerCtrl_Create, 2273). +-define(wxColourPickerCtrl_GetColour, 2274). +-define(wxColourPickerCtrl_SetColour_1_1, 2275). +-define(wxColourPickerCtrl_SetColour_1_0, 2276). +-define(wxColourPickerCtrl_destroy, 2277). +-define(wxDatePickerCtrl_new_0, 2278). +-define(wxDatePickerCtrl_new_3, 2279). +-define(wxDatePickerCtrl_GetRange, 2280). +-define(wxDatePickerCtrl_GetValue, 2281). +-define(wxDatePickerCtrl_SetRange, 2282). +-define(wxDatePickerCtrl_SetValue, 2283). +-define(wxDatePickerCtrl_destroy, 2284). +-define(wxFontPickerCtrl_new_0, 2285). +-define(wxFontPickerCtrl_new_3, 2286). +-define(wxFontPickerCtrl_Create, 2287). +-define(wxFontPickerCtrl_GetSelectedFont, 2288). +-define(wxFontPickerCtrl_SetSelectedFont, 2289). +-define(wxFontPickerCtrl_GetMaxPointSize, 2290). +-define(wxFontPickerCtrl_SetMaxPointSize, 2291). +-define(wxFontPickerCtrl_destroy, 2292). +-define(wxFindReplaceDialog_new_0, 2295). +-define(wxFindReplaceDialog_new_4, 2296). +-define(wxFindReplaceDialog_destruct, 2297). +-define(wxFindReplaceDialog_Create, 2298). +-define(wxFindReplaceDialog_GetData, 2299). +-define(wxFindReplaceData_new_0, 2300). +-define(wxFindReplaceData_new_1, 2301). +-define(wxFindReplaceData_GetFindString, 2302). +-define(wxFindReplaceData_GetReplaceString, 2303). +-define(wxFindReplaceData_GetFlags, 2304). +-define(wxFindReplaceData_SetFlags, 2305). +-define(wxFindReplaceData_SetFindString, 2306). +-define(wxFindReplaceData_SetReplaceString, 2307). +-define(wxFindReplaceData_destroy, 2308). +-define(wxMultiChoiceDialog_new_0, 2309). +-define(wxMultiChoiceDialog_new_5, 2311). +-define(wxMultiChoiceDialog_GetSelections, 2312). +-define(wxMultiChoiceDialog_SetSelections, 2313). +-define(wxMultiChoiceDialog_destroy, 2314). +-define(wxSingleChoiceDialog_new_0, 2315). +-define(wxSingleChoiceDialog_new_5, 2317). +-define(wxSingleChoiceDialog_GetSelection, 2318). +-define(wxSingleChoiceDialog_GetStringSelection, 2319). +-define(wxSingleChoiceDialog_SetSelection, 2320). +-define(wxSingleChoiceDialog_destroy, 2321). +-define(wxTextEntryDialog_new, 2322). +-define(wxTextEntryDialog_GetValue, 2323). +-define(wxTextEntryDialog_SetValue, 2324). +-define(wxTextEntryDialog_destroy, 2325). +-define(wxPasswordEntryDialog_new, 2326). +-define(wxPasswordEntryDialog_destroy, 2327). +-define(wxFontData_new_0, 2328). +-define(wxFontData_new_1, 2329). +-define(wxFontData_destruct, 2330). +-define(wxFontData_EnableEffects, 2331). +-define(wxFontData_GetAllowSymbols, 2332). +-define(wxFontData_GetColour, 2333). +-define(wxFontData_GetChosenFont, 2334). +-define(wxFontData_GetEnableEffects, 2335). +-define(wxFontData_GetInitialFont, 2336). +-define(wxFontData_GetShowHelp, 2337). +-define(wxFontData_SetAllowSymbols, 2338). +-define(wxFontData_SetChosenFont, 2339). +-define(wxFontData_SetColour, 2340). +-define(wxFontData_SetInitialFont, 2341). +-define(wxFontData_SetRange, 2342). +-define(wxFontData_SetShowHelp, 2343). +-define(wxFontDialog_new_0, 2347). +-define(wxFontDialog_new_2, 2349). +-define(wxFontDialog_Create, 2351). +-define(wxFontDialog_GetFontData, 2352). +-define(wxFontDialog_destroy, 2354). +-define(wxProgressDialog_new, 2355). +-define(wxProgressDialog_destruct, 2356). +-define(wxProgressDialog_Resume, 2357). +-define(wxProgressDialog_Update_2, 2358). +-define(wxProgressDialog_Update_0, 2359). +-define(wxMessageDialog_new, 2360). +-define(wxMessageDialog_destruct, 2361). +-define(wxPageSetupDialog_new, 2362). +-define(wxPageSetupDialog_destruct, 2363). +-define(wxPageSetupDialog_GetPageSetupData, 2364). +-define(wxPageSetupDialog_ShowModal, 2365). +-define(wxPageSetupDialogData_new_0, 2366). +-define(wxPageSetupDialogData_new_1_0, 2367). +-define(wxPageSetupDialogData_new_1_1, 2368). +-define(wxPageSetupDialogData_destruct, 2369). +-define(wxPageSetupDialogData_EnableHelp, 2370). +-define(wxPageSetupDialogData_EnableMargins, 2371). +-define(wxPageSetupDialogData_EnableOrientation, 2372). +-define(wxPageSetupDialogData_EnablePaper, 2373). +-define(wxPageSetupDialogData_EnablePrinter, 2374). +-define(wxPageSetupDialogData_GetDefaultMinMargins, 2375). +-define(wxPageSetupDialogData_GetEnableMargins, 2376). +-define(wxPageSetupDialogData_GetEnableOrientation, 2377). +-define(wxPageSetupDialogData_GetEnablePaper, 2378). +-define(wxPageSetupDialogData_GetEnablePrinter, 2379). +-define(wxPageSetupDialogData_GetEnableHelp, 2380). +-define(wxPageSetupDialogData_GetDefaultInfo, 2381). +-define(wxPageSetupDialogData_GetMarginTopLeft, 2382). +-define(wxPageSetupDialogData_GetMarginBottomRight, 2383). +-define(wxPageSetupDialogData_GetMinMarginTopLeft, 2384). +-define(wxPageSetupDialogData_GetMinMarginBottomRight, 2385). +-define(wxPageSetupDialogData_GetPaperId, 2386). +-define(wxPageSetupDialogData_GetPaperSize, 2387). +-define(wxPageSetupDialogData_GetPrintData, 2389). +-define(wxPageSetupDialogData_IsOk, 2390). +-define(wxPageSetupDialogData_SetDefaultInfo, 2391). +-define(wxPageSetupDialogData_SetDefaultMinMargins, 2392). +-define(wxPageSetupDialogData_SetMarginTopLeft, 2393). +-define(wxPageSetupDialogData_SetMarginBottomRight, 2394). +-define(wxPageSetupDialogData_SetMinMarginTopLeft, 2395). +-define(wxPageSetupDialogData_SetMinMarginBottomRight, 2396). +-define(wxPageSetupDialogData_SetPaperId, 2397). +-define(wxPageSetupDialogData_SetPaperSize_1_1, 2398). +-define(wxPageSetupDialogData_SetPaperSize_1_0, 2399). +-define(wxPageSetupDialogData_SetPrintData, 2400). +-define(wxPrintDialog_new_2_0, 2401). +-define(wxPrintDialog_new_2_1, 2402). +-define(wxPrintDialog_destruct, 2403). +-define(wxPrintDialog_GetPrintDialogData, 2404). +-define(wxPrintDialog_GetPrintDC, 2405). +-define(wxPrintDialogData_new_0, 2406). +-define(wxPrintDialogData_new_1_1, 2407). +-define(wxPrintDialogData_new_1_0, 2408). +-define(wxPrintDialogData_destruct, 2409). +-define(wxPrintDialogData_EnableHelp, 2410). +-define(wxPrintDialogData_EnablePageNumbers, 2411). +-define(wxPrintDialogData_EnablePrintToFile, 2412). +-define(wxPrintDialogData_EnableSelection, 2413). +-define(wxPrintDialogData_GetAllPages, 2414). +-define(wxPrintDialogData_GetCollate, 2415). +-define(wxPrintDialogData_GetFromPage, 2416). +-define(wxPrintDialogData_GetMaxPage, 2417). +-define(wxPrintDialogData_GetMinPage, 2418). +-define(wxPrintDialogData_GetNoCopies, 2419). +-define(wxPrintDialogData_GetPrintData, 2420). +-define(wxPrintDialogData_GetPrintToFile, 2421). +-define(wxPrintDialogData_GetSelection, 2422). +-define(wxPrintDialogData_GetToPage, 2423). +-define(wxPrintDialogData_IsOk, 2424). +-define(wxPrintDialogData_SetCollate, 2425). +-define(wxPrintDialogData_SetFromPage, 2426). +-define(wxPrintDialogData_SetMaxPage, 2427). +-define(wxPrintDialogData_SetMinPage, 2428). +-define(wxPrintDialogData_SetNoCopies, 2429). +-define(wxPrintDialogData_SetPrintData, 2430). +-define(wxPrintDialogData_SetPrintToFile, 2431). +-define(wxPrintDialogData_SetSelection, 2432). +-define(wxPrintDialogData_SetToPage, 2433). +-define(wxPrintData_new_0, 2434). +-define(wxPrintData_new_1, 2435). +-define(wxPrintData_destruct, 2436). +-define(wxPrintData_GetCollate, 2437). +-define(wxPrintData_GetBin, 2438). +-define(wxPrintData_GetColour, 2439). +-define(wxPrintData_GetDuplex, 2440). +-define(wxPrintData_GetNoCopies, 2441). +-define(wxPrintData_GetOrientation, 2442). +-define(wxPrintData_GetPaperId, 2443). +-define(wxPrintData_GetPrinterName, 2444). +-define(wxPrintData_GetQuality, 2445). +-define(wxPrintData_IsOk, 2446). +-define(wxPrintData_SetBin, 2447). +-define(wxPrintData_SetCollate, 2448). +-define(wxPrintData_SetColour, 2449). +-define(wxPrintData_SetDuplex, 2450). +-define(wxPrintData_SetNoCopies, 2451). +-define(wxPrintData_SetOrientation, 2452). +-define(wxPrintData_SetPaperId, 2453). +-define(wxPrintData_SetPrinterName, 2454). +-define(wxPrintData_SetQuality, 2455). +-define(wxPrintPreview_new_2, 2458). +-define(wxPrintPreview_new_3, 2459). +-define(wxPrintPreview_destruct, 2461). +-define(wxPrintPreview_GetCanvas, 2462). +-define(wxPrintPreview_GetCurrentPage, 2463). +-define(wxPrintPreview_GetFrame, 2464). +-define(wxPrintPreview_GetMaxPage, 2465). +-define(wxPrintPreview_GetMinPage, 2466). +-define(wxPrintPreview_GetPrintout, 2467). +-define(wxPrintPreview_GetPrintoutForPrinting, 2468). +-define(wxPrintPreview_IsOk, 2469). +-define(wxPrintPreview_PaintPage, 2470). +-define(wxPrintPreview_Print, 2471). +-define(wxPrintPreview_RenderPage, 2472). +-define(wxPrintPreview_SetCanvas, 2473). +-define(wxPrintPreview_SetCurrentPage, 2474). +-define(wxPrintPreview_SetFrame, 2475). +-define(wxPrintPreview_SetPrintout, 2476). +-define(wxPrintPreview_SetZoom, 2477). +-define(wxPreviewFrame_new, 2478). +-define(wxPreviewFrame_destruct, 2479). +-define(wxPreviewFrame_CreateControlBar, 2480). +-define(wxPreviewFrame_CreateCanvas, 2481). +-define(wxPreviewFrame_Initialize, 2482). +-define(wxPreviewFrame_OnCloseWindow, 2483). +-define(wxPreviewControlBar_new, 2484). +-define(wxPreviewControlBar_destruct, 2485). +-define(wxPreviewControlBar_CreateButtons, 2486). +-define(wxPreviewControlBar_GetPrintPreview, 2487). +-define(wxPreviewControlBar_GetZoomControl, 2488). +-define(wxPreviewControlBar_SetZoomControl, 2489). +-define(wxPrinter_new, 2491). +-define(wxPrinter_CreateAbortWindow, 2492). +-define(wxPrinter_GetAbort, 2493). +-define(wxPrinter_GetLastError, 2494). +-define(wxPrinter_GetPrintDialogData, 2495). +-define(wxPrinter_Print, 2496). +-define(wxPrinter_PrintDialog, 2497). +-define(wxPrinter_ReportError, 2498). +-define(wxPrinter_Setup, 2499). +-define(wxPrinter_destroy, 2500). +-define(wxXmlResource_new_1, 2501). +-define(wxXmlResource_new_2, 2502). +-define(wxXmlResource_destruct, 2503). +-define(wxXmlResource_AttachUnknownControl, 2504). +-define(wxXmlResource_ClearHandlers, 2505). +-define(wxXmlResource_CompareVersion, 2506). +-define(wxXmlResource_Get, 2507). +-define(wxXmlResource_GetFlags, 2508). +-define(wxXmlResource_GetVersion, 2509). +-define(wxXmlResource_GetXRCID, 2510). +-define(wxXmlResource_InitAllHandlers, 2511). +-define(wxXmlResource_Load, 2512). +-define(wxXmlResource_LoadBitmap, 2513). +-define(wxXmlResource_LoadDialog_2, 2514). +-define(wxXmlResource_LoadDialog_3, 2515). +-define(wxXmlResource_LoadFrame_2, 2516). +-define(wxXmlResource_LoadFrame_3, 2517). +-define(wxXmlResource_LoadIcon, 2518). +-define(wxXmlResource_LoadMenu, 2519). +-define(wxXmlResource_LoadMenuBar_2, 2520). +-define(wxXmlResource_LoadMenuBar_1, 2521). +-define(wxXmlResource_LoadPanel_2, 2522). +-define(wxXmlResource_LoadPanel_3, 2523). +-define(wxXmlResource_LoadToolBar, 2524). +-define(wxXmlResource_Set, 2525). +-define(wxXmlResource_SetFlags, 2526). +-define(wxXmlResource_Unload, 2527). +-define(wxXmlResource_xrcctrl, 2528). +-define(wxHtmlEasyPrinting_new, 2529). +-define(wxHtmlEasyPrinting_destruct, 2530). +-define(wxHtmlEasyPrinting_GetPrintData, 2531). +-define(wxHtmlEasyPrinting_GetPageSetupData, 2532). +-define(wxHtmlEasyPrinting_PreviewFile, 2533). +-define(wxHtmlEasyPrinting_PreviewText, 2534). +-define(wxHtmlEasyPrinting_PrintFile, 2535). +-define(wxHtmlEasyPrinting_PrintText, 2536). +-define(wxHtmlEasyPrinting_PageSetup, 2537). +-define(wxHtmlEasyPrinting_SetFonts, 2538). +-define(wxHtmlEasyPrinting_SetHeader, 2539). +-define(wxHtmlEasyPrinting_SetFooter, 2540). +-define(wxGLCanvas_new_2, 2542). +-define(wxGLCanvas_new_3_1, 2543). +-define(wxGLCanvas_new_3_0, 2544). +-define(wxGLCanvas_GetContext, 2545). +-define(wxGLCanvas_SetCurrent, 2547). +-define(wxGLCanvas_SwapBuffers, 2548). +-define(wxGLCanvas_destroy, 2549). +-define(wxAuiManager_new, 2550). +-define(wxAuiManager_destruct, 2551). +-define(wxAuiManager_AddPane_2_1, 2552). +-define(wxAuiManager_AddPane_3, 2553). +-define(wxAuiManager_AddPane_2_0, 2554). +-define(wxAuiManager_DetachPane, 2555). +-define(wxAuiManager_GetAllPanes, 2556). +-define(wxAuiManager_GetArtProvider, 2557). +-define(wxAuiManager_GetDockSizeConstraint, 2558). +-define(wxAuiManager_GetFlags, 2559). +-define(wxAuiManager_GetManagedWindow, 2560). +-define(wxAuiManager_GetManager, 2561). +-define(wxAuiManager_GetPane_1_1, 2562). +-define(wxAuiManager_GetPane_1_0, 2563). +-define(wxAuiManager_HideHint, 2564). +-define(wxAuiManager_InsertPane, 2565). +-define(wxAuiManager_LoadPaneInfo, 2566). +-define(wxAuiManager_LoadPerspective, 2567). +-define(wxAuiManager_SavePaneInfo, 2568). +-define(wxAuiManager_SavePerspective, 2569). +-define(wxAuiManager_SetArtProvider, 2570). +-define(wxAuiManager_SetDockSizeConstraint, 2571). +-define(wxAuiManager_SetFlags, 2572). +-define(wxAuiManager_SetManagedWindow, 2573). +-define(wxAuiManager_ShowHint, 2574). +-define(wxAuiManager_UnInit, 2575). +-define(wxAuiManager_Update, 2576). +-define(wxAuiPaneInfo_new_0, 2577). +-define(wxAuiPaneInfo_new_1, 2578). +-define(wxAuiPaneInfo_destruct, 2579). +-define(wxAuiPaneInfo_BestSize_1, 2580). +-define(wxAuiPaneInfo_BestSize_2, 2581). +-define(wxAuiPaneInfo_Bottom, 2582). +-define(wxAuiPaneInfo_BottomDockable, 2583). +-define(wxAuiPaneInfo_Caption, 2584). +-define(wxAuiPaneInfo_CaptionVisible, 2585). +-define(wxAuiPaneInfo_Centre, 2586). +-define(wxAuiPaneInfo_CentrePane, 2587). +-define(wxAuiPaneInfo_CloseButton, 2588). +-define(wxAuiPaneInfo_DefaultPane, 2589). +-define(wxAuiPaneInfo_DestroyOnClose, 2590). +-define(wxAuiPaneInfo_Direction, 2591). +-define(wxAuiPaneInfo_Dock, 2592). +-define(wxAuiPaneInfo_Dockable, 2593). +-define(wxAuiPaneInfo_Fixed, 2594). +-define(wxAuiPaneInfo_Float, 2595). +-define(wxAuiPaneInfo_Floatable, 2596). +-define(wxAuiPaneInfo_FloatingPosition_1, 2597). +-define(wxAuiPaneInfo_FloatingPosition_2, 2598). +-define(wxAuiPaneInfo_FloatingSize_1, 2599). +-define(wxAuiPaneInfo_FloatingSize_2, 2600). +-define(wxAuiPaneInfo_Gripper, 2601). +-define(wxAuiPaneInfo_GripperTop, 2602). +-define(wxAuiPaneInfo_HasBorder, 2603). +-define(wxAuiPaneInfo_HasCaption, 2604). +-define(wxAuiPaneInfo_HasCloseButton, 2605). +-define(wxAuiPaneInfo_HasFlag, 2606). +-define(wxAuiPaneInfo_HasGripper, 2607). +-define(wxAuiPaneInfo_HasGripperTop, 2608). +-define(wxAuiPaneInfo_HasMaximizeButton, 2609). +-define(wxAuiPaneInfo_HasMinimizeButton, 2610). +-define(wxAuiPaneInfo_HasPinButton, 2611). +-define(wxAuiPaneInfo_Hide, 2612). +-define(wxAuiPaneInfo_IsBottomDockable, 2613). +-define(wxAuiPaneInfo_IsDocked, 2614). +-define(wxAuiPaneInfo_IsFixed, 2615). +-define(wxAuiPaneInfo_IsFloatable, 2616). +-define(wxAuiPaneInfo_IsFloating, 2617). +-define(wxAuiPaneInfo_IsLeftDockable, 2618). +-define(wxAuiPaneInfo_IsMovable, 2619). +-define(wxAuiPaneInfo_IsOk, 2620). +-define(wxAuiPaneInfo_IsResizable, 2621). +-define(wxAuiPaneInfo_IsRightDockable, 2622). +-define(wxAuiPaneInfo_IsShown, 2623). +-define(wxAuiPaneInfo_IsToolbar, 2624). +-define(wxAuiPaneInfo_IsTopDockable, 2625). +-define(wxAuiPaneInfo_Layer, 2626). +-define(wxAuiPaneInfo_Left, 2627). +-define(wxAuiPaneInfo_LeftDockable, 2628). +-define(wxAuiPaneInfo_MaxSize_1, 2629). +-define(wxAuiPaneInfo_MaxSize_2, 2630). +-define(wxAuiPaneInfo_MaximizeButton, 2631). +-define(wxAuiPaneInfo_MinSize_1, 2632). +-define(wxAuiPaneInfo_MinSize_2, 2633). +-define(wxAuiPaneInfo_MinimizeButton, 2634). +-define(wxAuiPaneInfo_Movable, 2635). +-define(wxAuiPaneInfo_Name, 2636). +-define(wxAuiPaneInfo_PaneBorder, 2637). +-define(wxAuiPaneInfo_PinButton, 2638). +-define(wxAuiPaneInfo_Position, 2639). +-define(wxAuiPaneInfo_Resizable, 2640). +-define(wxAuiPaneInfo_Right, 2641). +-define(wxAuiPaneInfo_RightDockable, 2642). +-define(wxAuiPaneInfo_Row, 2643). +-define(wxAuiPaneInfo_SafeSet, 2644). +-define(wxAuiPaneInfo_SetFlag, 2645). +-define(wxAuiPaneInfo_Show, 2646). +-define(wxAuiPaneInfo_ToolbarPane, 2647). +-define(wxAuiPaneInfo_Top, 2648). +-define(wxAuiPaneInfo_TopDockable, 2649). +-define(wxAuiPaneInfo_Window, 2650). +-define(wxAuiNotebook_new_0, 2651). +-define(wxAuiNotebook_new_2, 2652). +-define(wxAuiNotebook_AddPage, 2653). +-define(wxAuiNotebook_Create, 2654). +-define(wxAuiNotebook_DeletePage, 2655). +-define(wxAuiNotebook_GetArtProvider, 2656). +-define(wxAuiNotebook_GetPage, 2657). +-define(wxAuiNotebook_GetPageBitmap, 2658). +-define(wxAuiNotebook_GetPageCount, 2659). +-define(wxAuiNotebook_GetPageIndex, 2660). +-define(wxAuiNotebook_GetPageText, 2661). +-define(wxAuiNotebook_GetSelection, 2662). +-define(wxAuiNotebook_InsertPage, 2663). +-define(wxAuiNotebook_RemovePage, 2664). +-define(wxAuiNotebook_SetArtProvider, 2665). +-define(wxAuiNotebook_SetFont, 2666). +-define(wxAuiNotebook_SetPageBitmap, 2667). +-define(wxAuiNotebook_SetPageText, 2668). +-define(wxAuiNotebook_SetSelection, 2669). +-define(wxAuiNotebook_SetTabCtrlHeight, 2670). +-define(wxAuiNotebook_SetUniformBitmapSize, 2671). +-define(wxAuiNotebook_destroy, 2672). +-define(wxMDIParentFrame_new_0, 2673). +-define(wxMDIParentFrame_new_4, 2674). +-define(wxMDIParentFrame_destruct, 2675). +-define(wxMDIParentFrame_ActivateNext, 2676). +-define(wxMDIParentFrame_ActivatePrevious, 2677). +-define(wxMDIParentFrame_ArrangeIcons, 2678). +-define(wxMDIParentFrame_Cascade, 2679). +-define(wxMDIParentFrame_Create, 2680). +-define(wxMDIParentFrame_GetActiveChild, 2681). +-define(wxMDIParentFrame_GetClientWindow, 2682). +-define(wxMDIParentFrame_Tile, 2683). +-define(wxMDIChildFrame_new_0, 2684). +-define(wxMDIChildFrame_new_4, 2685). +-define(wxMDIChildFrame_destruct, 2686). +-define(wxMDIChildFrame_Activate, 2687). +-define(wxMDIChildFrame_Create, 2688). +-define(wxMDIChildFrame_Maximize, 2689). +-define(wxMDIChildFrame_Restore, 2690). +-define(wxMDIClientWindow_new_0, 2691). +-define(wxMDIClientWindow_new_2, 2692). +-define(wxMDIClientWindow_destruct, 2693). +-define(wxMDIClientWindow_CreateClient, 2694). +-define(wxLayoutAlgorithm_new, 2695). +-define(wxLayoutAlgorithm_LayoutFrame, 2696). +-define(wxLayoutAlgorithm_LayoutMDIFrame, 2697). +-define(wxLayoutAlgorithm_LayoutWindow, 2698). +-define(wxLayoutAlgorithm_destroy, 2699). +-define(wxEvent_GetId, 2700). +-define(wxEvent_GetSkipped, 2701). +-define(wxEvent_GetTimestamp, 2702). +-define(wxEvent_IsCommandEvent, 2703). +-define(wxEvent_ResumePropagation, 2704). +-define(wxEvent_ShouldPropagate, 2705). +-define(wxEvent_Skip, 2706). +-define(wxEvent_StopPropagation, 2707). +-define(wxCommandEvent_getClientData, 2708). +-define(wxCommandEvent_GetExtraLong, 2709). +-define(wxCommandEvent_GetInt, 2710). +-define(wxCommandEvent_GetSelection, 2711). +-define(wxCommandEvent_GetString, 2712). +-define(wxCommandEvent_IsChecked, 2713). +-define(wxCommandEvent_IsSelection, 2714). +-define(wxCommandEvent_SetInt, 2715). +-define(wxCommandEvent_SetString, 2716). +-define(wxScrollEvent_GetOrientation, 2717). +-define(wxScrollEvent_GetPosition, 2718). +-define(wxScrollWinEvent_GetOrientation, 2719). +-define(wxScrollWinEvent_GetPosition, 2720). +-define(wxMouseEvent_AltDown, 2721). +-define(wxMouseEvent_Button, 2722). +-define(wxMouseEvent_ButtonDClick, 2723). +-define(wxMouseEvent_ButtonDown, 2724). +-define(wxMouseEvent_ButtonUp, 2725). +-define(wxMouseEvent_CmdDown, 2726). +-define(wxMouseEvent_ControlDown, 2727). +-define(wxMouseEvent_Dragging, 2728). +-define(wxMouseEvent_Entering, 2729). +-define(wxMouseEvent_GetButton, 2730). +-define(wxMouseEvent_GetPosition, 2733). +-define(wxMouseEvent_GetLogicalPosition, 2734). +-define(wxMouseEvent_GetLinesPerAction, 2735). +-define(wxMouseEvent_GetWheelRotation, 2736). +-define(wxMouseEvent_GetWheelDelta, 2737). +-define(wxMouseEvent_GetX, 2738). +-define(wxMouseEvent_GetY, 2739). +-define(wxMouseEvent_IsButton, 2740). +-define(wxMouseEvent_IsPageScroll, 2741). +-define(wxMouseEvent_Leaving, 2742). +-define(wxMouseEvent_LeftDClick, 2743). +-define(wxMouseEvent_LeftDown, 2744). +-define(wxMouseEvent_LeftIsDown, 2745). +-define(wxMouseEvent_LeftUp, 2746). +-define(wxMouseEvent_MetaDown, 2747). +-define(wxMouseEvent_MiddleDClick, 2748). +-define(wxMouseEvent_MiddleDown, 2749). +-define(wxMouseEvent_MiddleIsDown, 2750). +-define(wxMouseEvent_MiddleUp, 2751). +-define(wxMouseEvent_Moving, 2752). +-define(wxMouseEvent_RightDClick, 2753). +-define(wxMouseEvent_RightDown, 2754). +-define(wxMouseEvent_RightIsDown, 2755). +-define(wxMouseEvent_RightUp, 2756). +-define(wxMouseEvent_ShiftDown, 2757). +-define(wxSetCursorEvent_GetCursor, 2758). +-define(wxSetCursorEvent_GetX, 2759). +-define(wxSetCursorEvent_GetY, 2760). +-define(wxSetCursorEvent_HasCursor, 2761). +-define(wxSetCursorEvent_SetCursor, 2762). +-define(wxKeyEvent_AltDown, 2763). +-define(wxKeyEvent_CmdDown, 2764). +-define(wxKeyEvent_ControlDown, 2765). +-define(wxKeyEvent_GetKeyCode, 2766). +-define(wxKeyEvent_GetModifiers, 2767). +-define(wxKeyEvent_GetPosition, 2770). +-define(wxKeyEvent_GetRawKeyCode, 2771). +-define(wxKeyEvent_GetRawKeyFlags, 2772). +-define(wxKeyEvent_GetUnicodeKey, 2773). +-define(wxKeyEvent_GetX, 2774). +-define(wxKeyEvent_GetY, 2775). +-define(wxKeyEvent_HasModifiers, 2776). +-define(wxKeyEvent_MetaDown, 2777). +-define(wxKeyEvent_ShiftDown, 2778). +-define(wxSizeEvent_GetSize, 2779). +-define(wxMoveEvent_GetPosition, 2780). +-define(wxEraseEvent_GetDC, 2781). +-define(wxFocusEvent_GetWindow, 2782). +-define(wxChildFocusEvent_GetWindow, 2783). +-define(wxMenuEvent_GetMenu, 2784). +-define(wxMenuEvent_GetMenuId, 2785). +-define(wxMenuEvent_IsPopup, 2786). +-define(wxCloseEvent_CanVeto, 2787). +-define(wxCloseEvent_GetLoggingOff, 2788). +-define(wxCloseEvent_SetCanVeto, 2789). +-define(wxCloseEvent_SetLoggingOff, 2790). +-define(wxCloseEvent_Veto, 2791). +-define(wxShowEvent_SetShow, 2792). +-define(wxShowEvent_GetShow, 2793). +-define(wxIconizeEvent_Iconized, 2794). +-define(wxJoystickEvent_ButtonDown, 2795). +-define(wxJoystickEvent_ButtonIsDown, 2796). +-define(wxJoystickEvent_ButtonUp, 2797). +-define(wxJoystickEvent_GetButtonChange, 2798). +-define(wxJoystickEvent_GetButtonState, 2799). +-define(wxJoystickEvent_GetJoystick, 2800). +-define(wxJoystickEvent_GetPosition, 2801). +-define(wxJoystickEvent_GetZPosition, 2802). +-define(wxJoystickEvent_IsButton, 2803). +-define(wxJoystickEvent_IsMove, 2804). +-define(wxJoystickEvent_IsZMove, 2805). +-define(wxUpdateUIEvent_CanUpdate, 2806). +-define(wxUpdateUIEvent_Check, 2807). +-define(wxUpdateUIEvent_Enable, 2808). +-define(wxUpdateUIEvent_Show, 2809). +-define(wxUpdateUIEvent_GetChecked, 2810). +-define(wxUpdateUIEvent_GetEnabled, 2811). +-define(wxUpdateUIEvent_GetShown, 2812). +-define(wxUpdateUIEvent_GetSetChecked, 2813). +-define(wxUpdateUIEvent_GetSetEnabled, 2814). +-define(wxUpdateUIEvent_GetSetShown, 2815). +-define(wxUpdateUIEvent_GetSetText, 2816). +-define(wxUpdateUIEvent_GetText, 2817). +-define(wxUpdateUIEvent_GetMode, 2818). +-define(wxUpdateUIEvent_GetUpdateInterval, 2819). +-define(wxUpdateUIEvent_ResetUpdateTime, 2820). +-define(wxUpdateUIEvent_SetMode, 2821). +-define(wxUpdateUIEvent_SetText, 2822). +-define(wxUpdateUIEvent_SetUpdateInterval, 2823). +-define(wxMouseCaptureChangedEvent_GetCapturedWindow, 2824). +-define(wxPaletteChangedEvent_SetChangedWindow, 2825). +-define(wxPaletteChangedEvent_GetChangedWindow, 2826). +-define(wxQueryNewPaletteEvent_SetPaletteRealized, 2827). +-define(wxQueryNewPaletteEvent_GetPaletteRealized, 2828). +-define(wxNavigationKeyEvent_GetDirection, 2829). +-define(wxNavigationKeyEvent_SetDirection, 2830). +-define(wxNavigationKeyEvent_IsWindowChange, 2831). +-define(wxNavigationKeyEvent_SetWindowChange, 2832). +-define(wxNavigationKeyEvent_IsFromTab, 2833). +-define(wxNavigationKeyEvent_SetFromTab, 2834). +-define(wxNavigationKeyEvent_GetCurrentFocus, 2835). +-define(wxNavigationKeyEvent_SetCurrentFocus, 2836). +-define(wxHelpEvent_GetOrigin, 2837). +-define(wxHelpEvent_GetPosition, 2838). +-define(wxHelpEvent_SetOrigin, 2839). +-define(wxHelpEvent_SetPosition, 2840). +-define(wxContextMenuEvent_GetPosition, 2841). +-define(wxContextMenuEvent_SetPosition, 2842). +-define(wxIdleEvent_CanSend, 2843). +-define(wxIdleEvent_GetMode, 2844). +-define(wxIdleEvent_RequestMore, 2845). +-define(wxIdleEvent_MoreRequested, 2846). +-define(wxIdleEvent_SetMode, 2847). +-define(wxGridEvent_AltDown, 2848). +-define(wxGridEvent_ControlDown, 2849). +-define(wxGridEvent_GetCol, 2850). +-define(wxGridEvent_GetPosition, 2851). +-define(wxGridEvent_GetRow, 2852). +-define(wxGridEvent_MetaDown, 2853). +-define(wxGridEvent_Selecting, 2854). +-define(wxGridEvent_ShiftDown, 2855). +-define(wxNotifyEvent_Allow, 2856). +-define(wxNotifyEvent_IsAllowed, 2857). +-define(wxNotifyEvent_Veto, 2858). +-define(wxSashEvent_GetEdge, 2859). +-define(wxSashEvent_GetDragRect, 2860). +-define(wxSashEvent_GetDragStatus, 2861). +-define(wxListEvent_GetCacheFrom, 2862). +-define(wxListEvent_GetCacheTo, 2863). +-define(wxListEvent_GetKeyCode, 2864). +-define(wxListEvent_GetIndex, 2865). +-define(wxListEvent_GetColumn, 2866). +-define(wxListEvent_GetPoint, 2867). +-define(wxListEvent_GetLabel, 2868). +-define(wxListEvent_GetText, 2869). +-define(wxListEvent_GetImage, 2870). +-define(wxListEvent_GetData, 2871). +-define(wxListEvent_GetMask, 2872). +-define(wxListEvent_GetItem, 2873). +-define(wxListEvent_IsEditCancelled, 2874). +-define(wxDateEvent_GetDate, 2875). +-define(wxCalendarEvent_GetWeekDay, 2876). +-define(wxFileDirPickerEvent_GetPath, 2877). +-define(wxColourPickerEvent_GetColour, 2878). +-define(wxFontPickerEvent_GetFont, 2879). +-define(wxStyledTextEvent_GetPosition, 2880). +-define(wxStyledTextEvent_GetKey, 2881). +-define(wxStyledTextEvent_GetModifiers, 2882). +-define(wxStyledTextEvent_GetModificationType, 2883). +-define(wxStyledTextEvent_GetText, 2884). +-define(wxStyledTextEvent_GetLength, 2885). +-define(wxStyledTextEvent_GetLinesAdded, 2886). +-define(wxStyledTextEvent_GetLine, 2887). +-define(wxStyledTextEvent_GetFoldLevelNow, 2888). +-define(wxStyledTextEvent_GetFoldLevelPrev, 2889). +-define(wxStyledTextEvent_GetMargin, 2890). +-define(wxStyledTextEvent_GetMessage, 2891). +-define(wxStyledTextEvent_GetWParam, 2892). +-define(wxStyledTextEvent_GetLParam, 2893). +-define(wxStyledTextEvent_GetListType, 2894). +-define(wxStyledTextEvent_GetX, 2895). +-define(wxStyledTextEvent_GetY, 2896). +-define(wxStyledTextEvent_GetDragText, 2897). +-define(wxStyledTextEvent_GetDragAllowMove, 2898). +-define(wxStyledTextEvent_GetDragResult, 2899). +-define(wxStyledTextEvent_GetShift, 2900). +-define(wxStyledTextEvent_GetControl, 2901). +-define(wxStyledTextEvent_GetAlt, 2902). +-define(utils_wxGetKeyState, 2903). +-define(utils_wxGetMousePosition, 2904). +-define(utils_wxGetMouseState, 2905). +-define(utils_wxSetDetectableAutoRepeat, 2906). +-define(utils_wxBell, 2907). +-define(utils_wxFindMenuItemId, 2908). +-define(utils_wxGenericFindWindowAtPoint, 2909). +-define(utils_wxFindWindowAtPoint, 2910). +-define(utils_wxBeginBusyCursor, 2911). +-define(utils_wxEndBusyCursor, 2912). +-define(utils_wxIsBusy, 2913). +-define(utils_wxShutdown, 2914). +-define(utils_wxShell, 2915). +-define(utils_wxLaunchDefaultBrowser, 2916). +-define(utils_wxGetEmailAddress, 2917). +-define(utils_wxGetUserId, 2918). +-define(utils_wxGetHomeDir, 2919). +-define(utils_wxNewId, 2920). +-define(utils_wxRegisterId, 2921). +-define(utils_wxGetCurrentId, 2922). +-define(utils_wxGetOsDescription, 2923). +-define(utils_wxIsPlatformLittleEndian, 2924). +-define(utils_wxIsPlatform64Bit, 2925). +-define(wxPrintout_new, 2926). +-define(wxPrintout_destruct, 2927). +-define(wxPrintout_GetDC, 2928). +-define(wxPrintout_GetPageSizeMM, 2929). +-define(wxPrintout_GetPageSizePixels, 2930). +-define(wxPrintout_GetPaperRectPixels, 2931). +-define(wxPrintout_GetPPIPrinter, 2932). +-define(wxPrintout_GetPPIScreen, 2933). +-define(wxPrintout_GetTitle, 2934). +-define(wxPrintout_IsPreview, 2935). +-define(wxPrintout_FitThisSizeToPaper, 2936). +-define(wxPrintout_FitThisSizeToPage, 2937). +-define(wxPrintout_FitThisSizeToPageMargins, 2938). +-define(wxPrintout_MapScreenSizeToPaper, 2939). +-define(wxPrintout_MapScreenSizeToPage, 2940). +-define(wxPrintout_MapScreenSizeToPageMargins, 2941). +-define(wxPrintout_MapScreenSizeToDevice, 2942). +-define(wxPrintout_GetLogicalPaperRect, 2943). +-define(wxPrintout_GetLogicalPageRect, 2944). +-define(wxPrintout_GetLogicalPageMarginsRect, 2945). +-define(wxPrintout_SetLogicalOrigin, 2946). +-define(wxPrintout_OffsetLogicalOrigin, 2947). +-define(wxStyledTextCtrl_new_2, 2948). +-define(wxStyledTextCtrl_new_0, 2949). +-define(wxStyledTextCtrl_destruct, 2950). +-define(wxStyledTextCtrl_Create, 2951). +-define(wxStyledTextCtrl_AddText, 2952). +-define(wxStyledTextCtrl_AddStyledText, 2953). +-define(wxStyledTextCtrl_InsertText, 2954). +-define(wxStyledTextCtrl_ClearAll, 2955). +-define(wxStyledTextCtrl_ClearDocumentStyle, 2956). +-define(wxStyledTextCtrl_GetLength, 2957). +-define(wxStyledTextCtrl_GetCharAt, 2958). +-define(wxStyledTextCtrl_GetCurrentPos, 2959). +-define(wxStyledTextCtrl_GetAnchor, 2960). +-define(wxStyledTextCtrl_GetStyleAt, 2961). +-define(wxStyledTextCtrl_Redo, 2962). +-define(wxStyledTextCtrl_SetUndoCollection, 2963). +-define(wxStyledTextCtrl_SelectAll, 2964). +-define(wxStyledTextCtrl_SetSavePoint, 2965). +-define(wxStyledTextCtrl_GetStyledText, 2966). +-define(wxStyledTextCtrl_CanRedo, 2967). +-define(wxStyledTextCtrl_MarkerLineFromHandle, 2968). +-define(wxStyledTextCtrl_MarkerDeleteHandle, 2969). +-define(wxStyledTextCtrl_GetUndoCollection, 2970). +-define(wxStyledTextCtrl_GetViewWhiteSpace, 2971). +-define(wxStyledTextCtrl_SetViewWhiteSpace, 2972). +-define(wxStyledTextCtrl_PositionFromPoint, 2973). +-define(wxStyledTextCtrl_PositionFromPointClose, 2974). +-define(wxStyledTextCtrl_GotoLine, 2975). +-define(wxStyledTextCtrl_GotoPos, 2976). +-define(wxStyledTextCtrl_SetAnchor, 2977). +-define(wxStyledTextCtrl_GetCurLine, 2978). +-define(wxStyledTextCtrl_GetEndStyled, 2979). +-define(wxStyledTextCtrl_ConvertEOLs, 2980). +-define(wxStyledTextCtrl_GetEOLMode, 2981). +-define(wxStyledTextCtrl_SetEOLMode, 2982). +-define(wxStyledTextCtrl_StartStyling, 2983). +-define(wxStyledTextCtrl_SetStyling, 2984). +-define(wxStyledTextCtrl_GetBufferedDraw, 2985). +-define(wxStyledTextCtrl_SetBufferedDraw, 2986). +-define(wxStyledTextCtrl_SetTabWidth, 2987). +-define(wxStyledTextCtrl_GetTabWidth, 2988). +-define(wxStyledTextCtrl_SetCodePage, 2989). +-define(wxStyledTextCtrl_MarkerDefine, 2990). +-define(wxStyledTextCtrl_MarkerSetForeground, 2991). +-define(wxStyledTextCtrl_MarkerSetBackground, 2992). +-define(wxStyledTextCtrl_MarkerAdd, 2993). +-define(wxStyledTextCtrl_MarkerDelete, 2994). +-define(wxStyledTextCtrl_MarkerDeleteAll, 2995). +-define(wxStyledTextCtrl_MarkerGet, 2996). +-define(wxStyledTextCtrl_MarkerNext, 2997). +-define(wxStyledTextCtrl_MarkerPrevious, 2998). +-define(wxStyledTextCtrl_MarkerDefineBitmap, 2999). +-define(wxStyledTextCtrl_MarkerAddSet, 3000). +-define(wxStyledTextCtrl_MarkerSetAlpha, 3001). +-define(wxStyledTextCtrl_SetMarginType, 3002). +-define(wxStyledTextCtrl_GetMarginType, 3003). +-define(wxStyledTextCtrl_SetMarginWidth, 3004). +-define(wxStyledTextCtrl_GetMarginWidth, 3005). +-define(wxStyledTextCtrl_SetMarginMask, 3006). +-define(wxStyledTextCtrl_GetMarginMask, 3007). +-define(wxStyledTextCtrl_SetMarginSensitive, 3008). +-define(wxStyledTextCtrl_GetMarginSensitive, 3009). +-define(wxStyledTextCtrl_StyleClearAll, 3010). +-define(wxStyledTextCtrl_StyleSetForeground, 3011). +-define(wxStyledTextCtrl_StyleSetBackground, 3012). +-define(wxStyledTextCtrl_StyleSetBold, 3013). +-define(wxStyledTextCtrl_StyleSetItalic, 3014). +-define(wxStyledTextCtrl_StyleSetSize, 3015). +-define(wxStyledTextCtrl_StyleSetFaceName, 3016). +-define(wxStyledTextCtrl_StyleSetEOLFilled, 3017). +-define(wxStyledTextCtrl_StyleResetDefault, 3018). +-define(wxStyledTextCtrl_StyleSetUnderline, 3019). +-define(wxStyledTextCtrl_StyleSetCase, 3020). +-define(wxStyledTextCtrl_StyleSetHotSpot, 3021). +-define(wxStyledTextCtrl_SetSelForeground, 3022). +-define(wxStyledTextCtrl_SetSelBackground, 3023). +-define(wxStyledTextCtrl_GetSelAlpha, 3024). +-define(wxStyledTextCtrl_SetSelAlpha, 3025). +-define(wxStyledTextCtrl_SetCaretForeground, 3026). +-define(wxStyledTextCtrl_CmdKeyAssign, 3027). +-define(wxStyledTextCtrl_CmdKeyClear, 3028). +-define(wxStyledTextCtrl_CmdKeyClearAll, 3029). +-define(wxStyledTextCtrl_SetStyleBytes, 3030). +-define(wxStyledTextCtrl_StyleSetVisible, 3031). +-define(wxStyledTextCtrl_GetCaretPeriod, 3032). +-define(wxStyledTextCtrl_SetCaretPeriod, 3033). +-define(wxStyledTextCtrl_SetWordChars, 3034). +-define(wxStyledTextCtrl_BeginUndoAction, 3035). +-define(wxStyledTextCtrl_EndUndoAction, 3036). +-define(wxStyledTextCtrl_IndicatorSetStyle, 3037). +-define(wxStyledTextCtrl_IndicatorGetStyle, 3038). +-define(wxStyledTextCtrl_IndicatorSetForeground, 3039). +-define(wxStyledTextCtrl_IndicatorGetForeground, 3040). +-define(wxStyledTextCtrl_SetWhitespaceForeground, 3041). +-define(wxStyledTextCtrl_SetWhitespaceBackground, 3042). +-define(wxStyledTextCtrl_GetStyleBits, 3043). +-define(wxStyledTextCtrl_SetLineState, 3044). +-define(wxStyledTextCtrl_GetLineState, 3045). +-define(wxStyledTextCtrl_GetMaxLineState, 3046). +-define(wxStyledTextCtrl_GetCaretLineVisible, 3047). +-define(wxStyledTextCtrl_SetCaretLineVisible, 3048). +-define(wxStyledTextCtrl_GetCaretLineBackground, 3049). +-define(wxStyledTextCtrl_SetCaretLineBackground, 3050). +-define(wxStyledTextCtrl_AutoCompShow, 3051). +-define(wxStyledTextCtrl_AutoCompCancel, 3052). +-define(wxStyledTextCtrl_AutoCompActive, 3053). +-define(wxStyledTextCtrl_AutoCompPosStart, 3054). +-define(wxStyledTextCtrl_AutoCompComplete, 3055). +-define(wxStyledTextCtrl_AutoCompStops, 3056). +-define(wxStyledTextCtrl_AutoCompSetSeparator, 3057). +-define(wxStyledTextCtrl_AutoCompGetSeparator, 3058). +-define(wxStyledTextCtrl_AutoCompSelect, 3059). +-define(wxStyledTextCtrl_AutoCompSetCancelAtStart, 3060). +-define(wxStyledTextCtrl_AutoCompGetCancelAtStart, 3061). +-define(wxStyledTextCtrl_AutoCompSetFillUps, 3062). +-define(wxStyledTextCtrl_AutoCompSetChooseSingle, 3063). +-define(wxStyledTextCtrl_AutoCompGetChooseSingle, 3064). +-define(wxStyledTextCtrl_AutoCompSetIgnoreCase, 3065). +-define(wxStyledTextCtrl_AutoCompGetIgnoreCase, 3066). +-define(wxStyledTextCtrl_UserListShow, 3067). +-define(wxStyledTextCtrl_AutoCompSetAutoHide, 3068). +-define(wxStyledTextCtrl_AutoCompGetAutoHide, 3069). +-define(wxStyledTextCtrl_AutoCompSetDropRestOfWord, 3070). +-define(wxStyledTextCtrl_AutoCompGetDropRestOfWord, 3071). +-define(wxStyledTextCtrl_RegisterImage, 3072). +-define(wxStyledTextCtrl_ClearRegisteredImages, 3073). +-define(wxStyledTextCtrl_AutoCompGetTypeSeparator, 3074). +-define(wxStyledTextCtrl_AutoCompSetTypeSeparator, 3075). +-define(wxStyledTextCtrl_AutoCompSetMaxWidth, 3076). +-define(wxStyledTextCtrl_AutoCompGetMaxWidth, 3077). +-define(wxStyledTextCtrl_AutoCompSetMaxHeight, 3078). +-define(wxStyledTextCtrl_AutoCompGetMaxHeight, 3079). +-define(wxStyledTextCtrl_SetIndent, 3080). +-define(wxStyledTextCtrl_GetIndent, 3081). +-define(wxStyledTextCtrl_SetUseTabs, 3082). +-define(wxStyledTextCtrl_GetUseTabs, 3083). +-define(wxStyledTextCtrl_SetLineIndentation, 3084). +-define(wxStyledTextCtrl_GetLineIndentation, 3085). +-define(wxStyledTextCtrl_GetLineIndentPosition, 3086). +-define(wxStyledTextCtrl_GetColumn, 3087). +-define(wxStyledTextCtrl_SetUseHorizontalScrollBar, 3088). +-define(wxStyledTextCtrl_GetUseHorizontalScrollBar, 3089). +-define(wxStyledTextCtrl_SetIndentationGuides, 3090). +-define(wxStyledTextCtrl_GetIndentationGuides, 3091). +-define(wxStyledTextCtrl_SetHighlightGuide, 3092). +-define(wxStyledTextCtrl_GetHighlightGuide, 3093). +-define(wxStyledTextCtrl_GetLineEndPosition, 3094). +-define(wxStyledTextCtrl_GetCodePage, 3095). +-define(wxStyledTextCtrl_GetCaretForeground, 3096). +-define(wxStyledTextCtrl_GetReadOnly, 3097). +-define(wxStyledTextCtrl_SetCurrentPos, 3098). +-define(wxStyledTextCtrl_SetSelectionStart, 3099). +-define(wxStyledTextCtrl_GetSelectionStart, 3100). +-define(wxStyledTextCtrl_SetSelectionEnd, 3101). +-define(wxStyledTextCtrl_GetSelectionEnd, 3102). +-define(wxStyledTextCtrl_SetPrintMagnification, 3103). +-define(wxStyledTextCtrl_GetPrintMagnification, 3104). +-define(wxStyledTextCtrl_SetPrintColourMode, 3105). +-define(wxStyledTextCtrl_GetPrintColourMode, 3106). +-define(wxStyledTextCtrl_FindText, 3107). +-define(wxStyledTextCtrl_FormatRange, 3108). +-define(wxStyledTextCtrl_GetFirstVisibleLine, 3109). +-define(wxStyledTextCtrl_GetLine, 3110). +-define(wxStyledTextCtrl_GetLineCount, 3111). +-define(wxStyledTextCtrl_SetMarginLeft, 3112). +-define(wxStyledTextCtrl_GetMarginLeft, 3113). +-define(wxStyledTextCtrl_SetMarginRight, 3114). +-define(wxStyledTextCtrl_GetMarginRight, 3115). +-define(wxStyledTextCtrl_GetModify, 3116). +-define(wxStyledTextCtrl_SetSelection, 3117). +-define(wxStyledTextCtrl_GetSelectedText, 3118). +-define(wxStyledTextCtrl_GetTextRange, 3119). +-define(wxStyledTextCtrl_HideSelection, 3120). +-define(wxStyledTextCtrl_LineFromPosition, 3121). +-define(wxStyledTextCtrl_PositionFromLine, 3122). +-define(wxStyledTextCtrl_LineScroll, 3123). +-define(wxStyledTextCtrl_EnsureCaretVisible, 3124). +-define(wxStyledTextCtrl_ReplaceSelection, 3125). +-define(wxStyledTextCtrl_SetReadOnly, 3126). +-define(wxStyledTextCtrl_CanPaste, 3127). +-define(wxStyledTextCtrl_CanUndo, 3128). +-define(wxStyledTextCtrl_EmptyUndoBuffer, 3129). +-define(wxStyledTextCtrl_Undo, 3130). +-define(wxStyledTextCtrl_Cut, 3131). +-define(wxStyledTextCtrl_Copy, 3132). +-define(wxStyledTextCtrl_Paste, 3133). +-define(wxStyledTextCtrl_Clear, 3134). +-define(wxStyledTextCtrl_SetText, 3135). +-define(wxStyledTextCtrl_GetText, 3136). +-define(wxStyledTextCtrl_GetTextLength, 3137). +-define(wxStyledTextCtrl_GetOvertype, 3138). +-define(wxStyledTextCtrl_SetCaretWidth, 3139). +-define(wxStyledTextCtrl_GetCaretWidth, 3140). +-define(wxStyledTextCtrl_SetTargetStart, 3141). +-define(wxStyledTextCtrl_GetTargetStart, 3142). +-define(wxStyledTextCtrl_SetTargetEnd, 3143). +-define(wxStyledTextCtrl_GetTargetEnd, 3144). +-define(wxStyledTextCtrl_ReplaceTarget, 3145). +-define(wxStyledTextCtrl_SearchInTarget, 3146). +-define(wxStyledTextCtrl_SetSearchFlags, 3147). +-define(wxStyledTextCtrl_GetSearchFlags, 3148). +-define(wxStyledTextCtrl_CallTipShow, 3149). +-define(wxStyledTextCtrl_CallTipCancel, 3150). +-define(wxStyledTextCtrl_CallTipActive, 3151). +-define(wxStyledTextCtrl_CallTipPosAtStart, 3152). +-define(wxStyledTextCtrl_CallTipSetHighlight, 3153). +-define(wxStyledTextCtrl_CallTipSetBackground, 3154). +-define(wxStyledTextCtrl_CallTipSetForeground, 3155). +-define(wxStyledTextCtrl_CallTipSetForegroundHighlight, 3156). +-define(wxStyledTextCtrl_CallTipUseStyle, 3157). +-define(wxStyledTextCtrl_VisibleFromDocLine, 3158). +-define(wxStyledTextCtrl_DocLineFromVisible, 3159). +-define(wxStyledTextCtrl_WrapCount, 3160). +-define(wxStyledTextCtrl_SetFoldLevel, 3161). +-define(wxStyledTextCtrl_GetFoldLevel, 3162). +-define(wxStyledTextCtrl_GetLastChild, 3163). +-define(wxStyledTextCtrl_GetFoldParent, 3164). +-define(wxStyledTextCtrl_ShowLines, 3165). +-define(wxStyledTextCtrl_HideLines, 3166). +-define(wxStyledTextCtrl_GetLineVisible, 3167). +-define(wxStyledTextCtrl_SetFoldExpanded, 3168). +-define(wxStyledTextCtrl_GetFoldExpanded, 3169). +-define(wxStyledTextCtrl_ToggleFold, 3170). +-define(wxStyledTextCtrl_EnsureVisible, 3171). +-define(wxStyledTextCtrl_SetFoldFlags, 3172). +-define(wxStyledTextCtrl_EnsureVisibleEnforcePolicy, 3173). +-define(wxStyledTextCtrl_SetTabIndents, 3174). +-define(wxStyledTextCtrl_GetTabIndents, 3175). +-define(wxStyledTextCtrl_SetBackSpaceUnIndents, 3176). +-define(wxStyledTextCtrl_GetBackSpaceUnIndents, 3177). +-define(wxStyledTextCtrl_SetMouseDwellTime, 3178). +-define(wxStyledTextCtrl_GetMouseDwellTime, 3179). +-define(wxStyledTextCtrl_WordStartPosition, 3180). +-define(wxStyledTextCtrl_WordEndPosition, 3181). +-define(wxStyledTextCtrl_SetWrapMode, 3182). +-define(wxStyledTextCtrl_GetWrapMode, 3183). +-define(wxStyledTextCtrl_SetWrapVisualFlags, 3184). +-define(wxStyledTextCtrl_GetWrapVisualFlags, 3185). +-define(wxStyledTextCtrl_SetWrapVisualFlagsLocation, 3186). +-define(wxStyledTextCtrl_GetWrapVisualFlagsLocation, 3187). +-define(wxStyledTextCtrl_SetWrapStartIndent, 3188). +-define(wxStyledTextCtrl_GetWrapStartIndent, 3189). +-define(wxStyledTextCtrl_SetLayoutCache, 3190). +-define(wxStyledTextCtrl_GetLayoutCache, 3191). +-define(wxStyledTextCtrl_SetScrollWidth, 3192). +-define(wxStyledTextCtrl_GetScrollWidth, 3193). +-define(wxStyledTextCtrl_TextWidth, 3194). +-define(wxStyledTextCtrl_GetEndAtLastLine, 3195). +-define(wxStyledTextCtrl_TextHeight, 3196). +-define(wxStyledTextCtrl_SetUseVerticalScrollBar, 3197). +-define(wxStyledTextCtrl_GetUseVerticalScrollBar, 3198). +-define(wxStyledTextCtrl_AppendText, 3199). +-define(wxStyledTextCtrl_GetTwoPhaseDraw, 3200). +-define(wxStyledTextCtrl_SetTwoPhaseDraw, 3201). +-define(wxStyledTextCtrl_TargetFromSelection, 3202). +-define(wxStyledTextCtrl_LinesJoin, 3203). +-define(wxStyledTextCtrl_LinesSplit, 3204). +-define(wxStyledTextCtrl_SetFoldMarginColour, 3205). +-define(wxStyledTextCtrl_SetFoldMarginHiColour, 3206). +-define(wxStyledTextCtrl_LineDown, 3207). +-define(wxStyledTextCtrl_LineDownExtend, 3208). +-define(wxStyledTextCtrl_LineUp, 3209). +-define(wxStyledTextCtrl_LineUpExtend, 3210). +-define(wxStyledTextCtrl_CharLeft, 3211). +-define(wxStyledTextCtrl_CharLeftExtend, 3212). +-define(wxStyledTextCtrl_CharRight, 3213). +-define(wxStyledTextCtrl_CharRightExtend, 3214). +-define(wxStyledTextCtrl_WordLeft, 3215). +-define(wxStyledTextCtrl_WordLeftExtend, 3216). +-define(wxStyledTextCtrl_WordRight, 3217). +-define(wxStyledTextCtrl_WordRightExtend, 3218). +-define(wxStyledTextCtrl_Home, 3219). +-define(wxStyledTextCtrl_HomeExtend, 3220). +-define(wxStyledTextCtrl_LineEnd, 3221). +-define(wxStyledTextCtrl_LineEndExtend, 3222). +-define(wxStyledTextCtrl_DocumentStart, 3223). +-define(wxStyledTextCtrl_DocumentStartExtend, 3224). +-define(wxStyledTextCtrl_DocumentEnd, 3225). +-define(wxStyledTextCtrl_DocumentEndExtend, 3226). +-define(wxStyledTextCtrl_PageUp, 3227). +-define(wxStyledTextCtrl_PageUpExtend, 3228). +-define(wxStyledTextCtrl_PageDown, 3229). +-define(wxStyledTextCtrl_PageDownExtend, 3230). +-define(wxStyledTextCtrl_EditToggleOvertype, 3231). +-define(wxStyledTextCtrl_Cancel, 3232). +-define(wxStyledTextCtrl_DeleteBack, 3233). +-define(wxStyledTextCtrl_Tab, 3234). +-define(wxStyledTextCtrl_BackTab, 3235). +-define(wxStyledTextCtrl_NewLine, 3236). +-define(wxStyledTextCtrl_FormFeed, 3237). +-define(wxStyledTextCtrl_VCHome, 3238). +-define(wxStyledTextCtrl_VCHomeExtend, 3239). +-define(wxStyledTextCtrl_ZoomIn, 3240). +-define(wxStyledTextCtrl_ZoomOut, 3241). +-define(wxStyledTextCtrl_DelWordLeft, 3242). +-define(wxStyledTextCtrl_DelWordRight, 3243). +-define(wxStyledTextCtrl_LineCut, 3244). +-define(wxStyledTextCtrl_LineDelete, 3245). +-define(wxStyledTextCtrl_LineTranspose, 3246). +-define(wxStyledTextCtrl_LineDuplicate, 3247). +-define(wxStyledTextCtrl_LowerCase, 3248). +-define(wxStyledTextCtrl_UpperCase, 3249). +-define(wxStyledTextCtrl_LineScrollDown, 3250). +-define(wxStyledTextCtrl_LineScrollUp, 3251). +-define(wxStyledTextCtrl_DeleteBackNotLine, 3252). +-define(wxStyledTextCtrl_HomeDisplay, 3253). +-define(wxStyledTextCtrl_HomeDisplayExtend, 3254). +-define(wxStyledTextCtrl_LineEndDisplay, 3255). +-define(wxStyledTextCtrl_LineEndDisplayExtend, 3256). +-define(wxStyledTextCtrl_HomeWrapExtend, 3257). +-define(wxStyledTextCtrl_LineEndWrap, 3258). +-define(wxStyledTextCtrl_LineEndWrapExtend, 3259). +-define(wxStyledTextCtrl_VCHomeWrap, 3260). +-define(wxStyledTextCtrl_VCHomeWrapExtend, 3261). +-define(wxStyledTextCtrl_LineCopy, 3262). +-define(wxStyledTextCtrl_MoveCaretInsideView, 3263). +-define(wxStyledTextCtrl_LineLength, 3264). +-define(wxStyledTextCtrl_BraceHighlight, 3265). +-define(wxStyledTextCtrl_BraceBadLight, 3266). +-define(wxStyledTextCtrl_BraceMatch, 3267). +-define(wxStyledTextCtrl_GetViewEOL, 3268). +-define(wxStyledTextCtrl_SetViewEOL, 3269). +-define(wxStyledTextCtrl_SetModEventMask, 3270). +-define(wxStyledTextCtrl_GetEdgeColumn, 3271). +-define(wxStyledTextCtrl_SetEdgeColumn, 3272). +-define(wxStyledTextCtrl_GetEdgeMode, 3273). +-define(wxStyledTextCtrl_GetEdgeColour, 3274). +-define(wxStyledTextCtrl_SetEdgeColour, 3275). +-define(wxStyledTextCtrl_SearchAnchor, 3276). +-define(wxStyledTextCtrl_SearchNext, 3277). +-define(wxStyledTextCtrl_SearchPrev, 3278). +-define(wxStyledTextCtrl_LinesOnScreen, 3279). +-define(wxStyledTextCtrl_UsePopUp, 3280). +-define(wxStyledTextCtrl_SelectionIsRectangle, 3281). +-define(wxStyledTextCtrl_SetZoom, 3282). +-define(wxStyledTextCtrl_GetZoom, 3283). +-define(wxStyledTextCtrl_GetModEventMask, 3284). +-define(wxStyledTextCtrl_SetSTCFocus, 3285). +-define(wxStyledTextCtrl_GetSTCFocus, 3286). +-define(wxStyledTextCtrl_SetStatus, 3287). +-define(wxStyledTextCtrl_GetStatus, 3288). +-define(wxStyledTextCtrl_SetMouseDownCaptures, 3289). +-define(wxStyledTextCtrl_GetMouseDownCaptures, 3290). +-define(wxStyledTextCtrl_SetSTCCursor, 3291). +-define(wxStyledTextCtrl_GetSTCCursor, 3292). +-define(wxStyledTextCtrl_SetControlCharSymbol, 3293). +-define(wxStyledTextCtrl_GetControlCharSymbol, 3294). +-define(wxStyledTextCtrl_WordPartLeft, 3295). +-define(wxStyledTextCtrl_WordPartLeftExtend, 3296). +-define(wxStyledTextCtrl_WordPartRight, 3297). +-define(wxStyledTextCtrl_WordPartRightExtend, 3298). +-define(wxStyledTextCtrl_SetVisiblePolicy, 3299). +-define(wxStyledTextCtrl_DelLineLeft, 3300). +-define(wxStyledTextCtrl_DelLineRight, 3301). +-define(wxStyledTextCtrl_GetXOffset, 3302). +-define(wxStyledTextCtrl_ChooseCaretX, 3303). +-define(wxStyledTextCtrl_SetXCaretPolicy, 3304). +-define(wxStyledTextCtrl_SetYCaretPolicy, 3305). +-define(wxStyledTextCtrl_GetPrintWrapMode, 3306). +-define(wxStyledTextCtrl_SetHotspotActiveForeground, 3307). +-define(wxStyledTextCtrl_SetHotspotActiveBackground, 3308). +-define(wxStyledTextCtrl_SetHotspotActiveUnderline, 3309). +-define(wxStyledTextCtrl_SetHotspotSingleLine, 3310). +-define(wxStyledTextCtrl_ParaDownExtend, 3311). +-define(wxStyledTextCtrl_ParaUp, 3312). +-define(wxStyledTextCtrl_ParaUpExtend, 3313). +-define(wxStyledTextCtrl_PositionBefore, 3314). +-define(wxStyledTextCtrl_PositionAfter, 3315). +-define(wxStyledTextCtrl_CopyRange, 3316). +-define(wxStyledTextCtrl_CopyText, 3317). +-define(wxStyledTextCtrl_SetSelectionMode, 3318). +-define(wxStyledTextCtrl_GetSelectionMode, 3319). +-define(wxStyledTextCtrl_LineDownRectExtend, 3320). +-define(wxStyledTextCtrl_LineUpRectExtend, 3321). +-define(wxStyledTextCtrl_CharLeftRectExtend, 3322). +-define(wxStyledTextCtrl_CharRightRectExtend, 3323). +-define(wxStyledTextCtrl_HomeRectExtend, 3324). +-define(wxStyledTextCtrl_VCHomeRectExtend, 3325). +-define(wxStyledTextCtrl_LineEndRectExtend, 3326). +-define(wxStyledTextCtrl_PageUpRectExtend, 3327). +-define(wxStyledTextCtrl_PageDownRectExtend, 3328). +-define(wxStyledTextCtrl_StutteredPageUp, 3329). +-define(wxStyledTextCtrl_StutteredPageUpExtend, 3330). +-define(wxStyledTextCtrl_StutteredPageDown, 3331). +-define(wxStyledTextCtrl_StutteredPageDownExtend, 3332). +-define(wxStyledTextCtrl_WordLeftEnd, 3333). +-define(wxStyledTextCtrl_WordLeftEndExtend, 3334). +-define(wxStyledTextCtrl_WordRightEnd, 3335). +-define(wxStyledTextCtrl_WordRightEndExtend, 3336). +-define(wxStyledTextCtrl_SetWhitespaceChars, 3337). +-define(wxStyledTextCtrl_SetCharsDefault, 3338). +-define(wxStyledTextCtrl_AutoCompGetCurrent, 3339). +-define(wxStyledTextCtrl_Allocate, 3340). +-define(wxStyledTextCtrl_FindColumn, 3341). +-define(wxStyledTextCtrl_GetCaretSticky, 3342). +-define(wxStyledTextCtrl_SetCaretSticky, 3343). +-define(wxStyledTextCtrl_ToggleCaretSticky, 3344). +-define(wxStyledTextCtrl_SetPasteConvertEndings, 3345). +-define(wxStyledTextCtrl_GetPasteConvertEndings, 3346). +-define(wxStyledTextCtrl_SelectionDuplicate, 3347). +-define(wxStyledTextCtrl_SetCaretLineBackAlpha, 3348). +-define(wxStyledTextCtrl_GetCaretLineBackAlpha, 3349). +-define(wxStyledTextCtrl_StartRecord, 3350). +-define(wxStyledTextCtrl_StopRecord, 3351). +-define(wxStyledTextCtrl_SetLexer, 3352). +-define(wxStyledTextCtrl_GetLexer, 3353). +-define(wxStyledTextCtrl_Colourise, 3354). +-define(wxStyledTextCtrl_SetProperty, 3355). +-define(wxStyledTextCtrl_SetKeyWords, 3356). +-define(wxStyledTextCtrl_SetLexerLanguage, 3357). +-define(wxStyledTextCtrl_GetProperty, 3358). +-define(wxStyledTextCtrl_GetStyleBitsNeeded, 3359). +-define(wxStyledTextCtrl_GetCurrentLine, 3360). +-define(wxStyledTextCtrl_StyleSetSpec, 3361). +-define(wxStyledTextCtrl_StyleSetFont, 3362). +-define(wxStyledTextCtrl_StyleSetFontAttr, 3363). +-define(wxStyledTextCtrl_StyleSetCharacterSet, 3364). +-define(wxStyledTextCtrl_StyleSetFontEncoding, 3365). +-define(wxStyledTextCtrl_CmdKeyExecute, 3366). +-define(wxStyledTextCtrl_SetMargins, 3367). +-define(wxStyledTextCtrl_GetSelection, 3368). +-define(wxStyledTextCtrl_PointFromPosition, 3369). +-define(wxStyledTextCtrl_ScrollToLine, 3370). +-define(wxStyledTextCtrl_ScrollToColumn, 3371). +-define(wxStyledTextCtrl_SendMsg, 3372). +-define(wxStyledTextCtrl_SetVScrollBar, 3373). +-define(wxStyledTextCtrl_SetHScrollBar, 3374). +-define(wxStyledTextCtrl_GetLastKeydownProcessed, 3375). +-define(wxStyledTextCtrl_SetLastKeydownProcessed, 3376). +-define(wxStyledTextCtrl_SaveFile, 3377). +-define(wxStyledTextCtrl_LoadFile, 3378). +-define(wxStyledTextCtrl_DoDragOver, 3379). +-define(wxStyledTextCtrl_DoDropText, 3380). +-define(wxStyledTextCtrl_GetUseAntiAliasing, 3381). +-define(wxStyledTextCtrl_AddTextRaw, 3382). +-define(wxStyledTextCtrl_InsertTextRaw, 3383). +-define(wxStyledTextCtrl_GetCurLineRaw, 3384). +-define(wxStyledTextCtrl_GetLineRaw, 3385). +-define(wxStyledTextCtrl_GetSelectedTextRaw, 3386). +-define(wxStyledTextCtrl_GetTextRangeRaw, 3387). +-define(wxStyledTextCtrl_SetTextRaw, 3388). +-define(wxStyledTextCtrl_GetTextRaw, 3389). +-define(wxStyledTextCtrl_AppendTextRaw, 3390). +-define(wxArtProvider_GetBitmap, 3391). +-define(wxArtProvider_GetIcon, 3392). +-define(wxTreeEvent_GetKeyCode, 3393). +-define(wxTreeEvent_GetItem, 3394). +-define(wxTreeEvent_GetKeyEvent, 3395). +-define(wxTreeEvent_GetLabel, 3396). +-define(wxTreeEvent_GetOldItem, 3397). +-define(wxTreeEvent_GetPoint, 3398). +-define(wxTreeEvent_IsEditCancelled, 3399). +-define(wxTreeEvent_SetToolTip, 3400). +-define(wxNotebookEvent_GetOldSelection, 3401). +-define(wxNotebookEvent_GetSelection, 3402). +-define(wxNotebookEvent_SetOldSelection, 3403). +-define(wxNotebookEvent_SetSelection, 3404). +-define(wxFileDataObject_new, 3405). +-define(wxFileDataObject_AddFile, 3406). +-define(wxFileDataObject_GetFilenames, 3407). +-define(wxFileDataObject_destroy, 3408). +-define(wxTextDataObject_new, 3409). +-define(wxTextDataObject_GetTextLength, 3410). +-define(wxTextDataObject_GetText, 3411). +-define(wxTextDataObject_SetText, 3412). +-define(wxTextDataObject_destroy, 3413). +-define(wxBitmapDataObject_new_1_1, 3414). +-define(wxBitmapDataObject_new_1_0, 3415). +-define(wxBitmapDataObject_GetBitmap, 3416). +-define(wxBitmapDataObject_SetBitmap, 3417). +-define(wxBitmapDataObject_destroy, 3418). +-define(wxClipboard_new, 3420). +-define(wxClipboard_destruct, 3421). +-define(wxClipboard_AddData, 3422). +-define(wxClipboard_Clear, 3423). +-define(wxClipboard_Close, 3424). +-define(wxClipboard_Flush, 3425). +-define(wxClipboard_GetData, 3426). +-define(wxClipboard_IsOpened, 3427). +-define(wxClipboard_Open, 3428). +-define(wxClipboard_SetData, 3429). +-define(wxClipboard_UsePrimarySelection, 3431). +-define(wxClipboard_IsSupported, 3432). +-define(wxClipboard_Get, 3433). +-define(wxSpinEvent_GetPosition, 3434). +-define(wxSpinEvent_SetPosition, 3435). +-define(wxSplitterWindow_new_0, 3436). +-define(wxSplitterWindow_new_2, 3437). +-define(wxSplitterWindow_destruct, 3438). +-define(wxSplitterWindow_Create, 3439). +-define(wxSplitterWindow_GetMinimumPaneSize, 3440). +-define(wxSplitterWindow_GetSashGravity, 3441). +-define(wxSplitterWindow_GetSashPosition, 3442). +-define(wxSplitterWindow_GetSplitMode, 3443). +-define(wxSplitterWindow_GetWindow1, 3444). +-define(wxSplitterWindow_GetWindow2, 3445). +-define(wxSplitterWindow_Initialize, 3446). +-define(wxSplitterWindow_IsSplit, 3447). +-define(wxSplitterWindow_ReplaceWindow, 3448). +-define(wxSplitterWindow_SetSashGravity, 3449). +-define(wxSplitterWindow_SetSashPosition, 3450). +-define(wxSplitterWindow_SetSashSize, 3451). +-define(wxSplitterWindow_SetMinimumPaneSize, 3452). +-define(wxSplitterWindow_SetSplitMode, 3453). +-define(wxSplitterWindow_SplitHorizontally, 3454). +-define(wxSplitterWindow_SplitVertically, 3455). +-define(wxSplitterWindow_Unsplit, 3456). +-define(wxSplitterWindow_UpdateSize, 3457). +-define(wxSplitterEvent_GetSashPosition, 3458). +-define(wxSplitterEvent_GetX, 3459). +-define(wxSplitterEvent_GetY, 3460). +-define(wxSplitterEvent_GetWindowBeingRemoved, 3461). +-define(wxSplitterEvent_SetSashPosition, 3462). +-define(wxHtmlWindow_new_0, 3463). +-define(wxHtmlWindow_new_2, 3464). +-define(wxHtmlWindow_AppendToPage, 3465). +-define(wxHtmlWindow_GetOpenedAnchor, 3466). +-define(wxHtmlWindow_GetOpenedPage, 3467). +-define(wxHtmlWindow_GetOpenedPageTitle, 3468). +-define(wxHtmlWindow_GetRelatedFrame, 3469). +-define(wxHtmlWindow_HistoryBack, 3470). +-define(wxHtmlWindow_HistoryCanBack, 3471). +-define(wxHtmlWindow_HistoryCanForward, 3472). +-define(wxHtmlWindow_HistoryClear, 3473). +-define(wxHtmlWindow_HistoryForward, 3474). +-define(wxHtmlWindow_LoadFile, 3475). +-define(wxHtmlWindow_LoadPage, 3476). +-define(wxHtmlWindow_SelectAll, 3477). +-define(wxHtmlWindow_SelectionToText, 3478). +-define(wxHtmlWindow_SelectLine, 3479). +-define(wxHtmlWindow_SelectWord, 3480). +-define(wxHtmlWindow_SetBorders, 3481). +-define(wxHtmlWindow_SetFonts, 3482). +-define(wxHtmlWindow_SetPage, 3483). +-define(wxHtmlWindow_SetRelatedFrame, 3484). +-define(wxHtmlWindow_SetRelatedStatusBar, 3485). +-define(wxHtmlWindow_ToText, 3486). +-define(wxHtmlWindow_destroy, 3487). +-define(wxHtmlLinkEvent_GetLinkInfo, 3488). +-define(wxSystemSettings_GetColour, 3489). +-define(wxSystemSettings_GetFont, 3490). +-define(wxSystemSettings_GetMetric, 3491). +-define(wxSystemSettings_GetScreenType, 3492). +-define(wxSystemOptions_GetOption, 3493). +-define(wxSystemOptions_GetOptionInt, 3494). +-define(wxSystemOptions_HasOption, 3495). +-define(wxSystemOptions_IsFalse, 3496). +-define(wxSystemOptions_SetOption_2_1, 3497). +-define(wxSystemOptions_SetOption_2_0, 3498). +-define(wxAuiNotebookEvent_SetSelection, 3499). +-define(wxAuiNotebookEvent_GetSelection, 3500). +-define(wxAuiNotebookEvent_SetOldSelection, 3501). +-define(wxAuiNotebookEvent_GetOldSelection, 3502). +-define(wxAuiNotebookEvent_SetDragSource, 3503). +-define(wxAuiNotebookEvent_GetDragSource, 3504). +-define(wxAuiManagerEvent_SetManager, 3505). +-define(wxAuiManagerEvent_GetManager, 3506). +-define(wxAuiManagerEvent_SetPane, 3507). +-define(wxAuiManagerEvent_GetPane, 3508). +-define(wxAuiManagerEvent_SetButton, 3509). +-define(wxAuiManagerEvent_GetButton, 3510). +-define(wxAuiManagerEvent_SetDC, 3511). +-define(wxAuiManagerEvent_GetDC, 3512). +-define(wxAuiManagerEvent_Veto, 3513). +-define(wxAuiManagerEvent_GetVeto, 3514). +-define(wxAuiManagerEvent_SetCanVeto, 3515). +-define(wxAuiManagerEvent_CanVeto, 3516). +-define(wxLogNull_new, 3517). +-define(wxLogNull_destroy, 3518). -- cgit v1.2.3 From 217343d158afe60a5a6a15e8b894b6fd62611ad3 Mon Sep 17 00:00:00 2001 From: Dan Gudmundsson Date: Tue, 21 Feb 2012 16:05:37 +0100 Subject: [wx] Fix spec errors --- lib/wx/src/gen/wxAcceleratorEntry.erl | 2 +- lib/wx/src/gen/wxAcceleratorTable.erl | 2 +- lib/wx/src/gen/wxArtProvider.erl | 12 ++-- lib/wx/src/gen/wxAuiManager.erl | 16 ++--- lib/wx/src/gen/wxAuiNotebook.erl | 14 ++--- lib/wx/src/gen/wxAuiPaneInfo.erl | 6 +- lib/wx/src/gen/wxBitmap.erl | 14 ++--- lib/wx/src/gen/wxBitmapButton.erl | 2 +- lib/wx/src/gen/wxBitmapDataObject.erl | 2 +- lib/wx/src/gen/wxBoxSizer.erl | 2 +- lib/wx/src/gen/wxBrush.erl | 4 +- lib/wx/src/gen/wxBufferedDC.erl | 2 +- lib/wx/src/gen/wxBufferedPaintDC.erl | 2 +- lib/wx/src/gen/wxButton.erl | 8 +-- lib/wx/src/gen/wxCalendarCtrl.erl | 14 ++--- lib/wx/src/gen/wxCalendarDateAttr.erl | 8 +-- lib/wx/src/gen/wxCaret.erl | 2 +- lib/wx/src/gen/wxCheckBox.erl | 10 ++-- lib/wx/src/gen/wxCheckListBox.erl | 4 +- lib/wx/src/gen/wxChoice.erl | 8 +-- lib/wx/src/gen/wxChoicebook.erl | 14 ++--- lib/wx/src/gen/wxClientDC.erl | 2 +- lib/wx/src/gen/wxClipboard.erl | 2 +- lib/wx/src/gen/wxColourData.erl | 6 +- lib/wx/src/gen/wxColourDialog.erl | 2 +- lib/wx/src/gen/wxColourPickerCtrl.erl | 6 +- lib/wx/src/gen/wxColourPickerEvent.erl | 2 +- lib/wx/src/gen/wxComboBox.erl | 16 ++--- lib/wx/src/gen/wxCommandEvent.erl | 4 +- lib/wx/src/gen/wxControl.erl | 4 +- lib/wx/src/gen/wxControlWithItems.erl | 22 +++---- lib/wx/src/gen/wxCursor.erl | 2 +- lib/wx/src/gen/wxDC.erl | 26 ++++---- lib/wx/src/gen/wxDatePickerCtrl.erl | 2 +- lib/wx/src/gen/wxDialog.erl | 10 ++-- lib/wx/src/gen/wxDirDialog.erl | 14 ++--- lib/wx/src/gen/wxDirPickerCtrl.erl | 14 ++--- lib/wx/src/gen/wxFileDataObject.erl | 6 +- lib/wx/src/gen/wxFileDialog.erl | 34 +++++------ lib/wx/src/gen/wxFileDirPickerEvent.erl | 2 +- lib/wx/src/gen/wxFilePickerCtrl.erl | 18 +++--- lib/wx/src/gen/wxFindReplaceData.erl | 10 ++-- lib/wx/src/gen/wxFindReplaceDialog.erl | 10 ++-- lib/wx/src/gen/wxFlexGridSizer.erl | 2 +- lib/wx/src/gen/wxFont.erl | 14 ++--- lib/wx/src/gen/wxFontData.erl | 4 +- lib/wx/src/gen/wxFontDialog.erl | 2 +- lib/wx/src/gen/wxFontPickerCtrl.erl | 2 +- lib/wx/src/gen/wxFrame.erl | 14 ++--- lib/wx/src/gen/wxGLCanvas.erl | 6 +- lib/wx/src/gen/wxGauge.erl | 2 +- lib/wx/src/gen/wxGenericDirCtrl.erl | 26 ++++---- lib/wx/src/gen/wxGraphicsContext.erl | 14 ++--- lib/wx/src/gen/wxGraphicsObject.erl | 2 +- lib/wx/src/gen/wxGrid.erl | 46 +++++++-------- lib/wx/src/gen/wxGridBagSizer.erl | 2 +- lib/wx/src/gen/wxGridCellAttr.erl | 4 +- lib/wx/src/gen/wxGridCellBoolEditor.erl | 8 +-- lib/wx/src/gen/wxGridCellBoolRenderer.erl | 2 +- lib/wx/src/gen/wxGridCellChoiceEditor.erl | 8 +-- lib/wx/src/gen/wxGridCellFloatEditor.erl | 4 +- lib/wx/src/gen/wxGridCellFloatRenderer.erl | 4 +- lib/wx/src/gen/wxGridCellNumberEditor.erl | 6 +- lib/wx/src/gen/wxGridCellNumberRenderer.erl | 2 +- lib/wx/src/gen/wxGridCellStringRenderer.erl | 2 +- lib/wx/src/gen/wxGridCellTextEditor.erl | 4 +- lib/wx/src/gen/wxGridSizer.erl | 2 +- lib/wx/src/gen/wxHtmlEasyPrinting.erl | 32 +++++----- lib/wx/src/gen/wxHtmlWindow.erl | 26 ++++---- lib/wx/src/gen/wxIcon.erl | 6 +- lib/wx/src/gen/wxIconBundle.erl | 6 +- lib/wx/src/gen/wxImage.erl | 40 ++++++------- lib/wx/src/gen/wxImageList.erl | 2 +- lib/wx/src/gen/wxLayoutAlgorithm.erl | 2 +- lib/wx/src/gen/wxListBox.erl | 14 ++--- lib/wx/src/gen/wxListCtrl.erl | 28 ++++----- lib/wx/src/gen/wxListEvent.erl | 4 +- lib/wx/src/gen/wxListItem.erl | 10 ++-- lib/wx/src/gen/wxListItemAttr.erl | 6 +- lib/wx/src/gen/wxListbook.erl | 14 ++--- lib/wx/src/gen/wxLogNull.erl | 2 +- lib/wx/src/gen/wxMDIChildFrame.erl | 10 ++-- lib/wx/src/gen/wxMDIClientWindow.erl | 2 +- lib/wx/src/gen/wxMDIParentFrame.erl | 10 ++-- lib/wx/src/gen/wxMask.erl | 2 +- lib/wx/src/gen/wxMemoryDC.erl | 2 +- lib/wx/src/gen/wxMenu.erl | 92 ++++++++++++++--------------- lib/wx/src/gen/wxMenuBar.erl | 28 ++++----- lib/wx/src/gen/wxMenuItem.erl | 20 +++---- lib/wx/src/gen/wxMessageDialog.erl | 8 +-- lib/wx/src/gen/wxMiniFrame.erl | 10 ++-- lib/wx/src/gen/wxMirrorDC.erl | 2 +- lib/wx/src/gen/wxMultiChoiceDialog.erl | 6 +- lib/wx/src/gen/wxNotebook.erl | 16 ++--- lib/wx/src/gen/wxPageSetupDialog.erl | 2 +- lib/wx/src/gen/wxPageSetupDialogData.erl | 2 +- lib/wx/src/gen/wxPaintDC.erl | 2 +- lib/wx/src/gen/wxPalette.erl | 2 +- lib/wx/src/gen/wxPanel.erl | 2 +- lib/wx/src/gen/wxPasswordEntryDialog.erl | 10 ++-- lib/wx/src/gen/wxPen.erl | 4 +- lib/wx/src/gen/wxPostScriptDC.erl | 2 +- lib/wx/src/gen/wxPreviewControlBar.erl | 2 +- lib/wx/src/gen/wxPreviewFrame.erl | 4 +- lib/wx/src/gen/wxPrintData.erl | 6 +- lib/wx/src/gen/wxPrintDialog.erl | 2 +- lib/wx/src/gen/wxPrintDialogData.erl | 2 +- lib/wx/src/gen/wxPrintPreview.erl | 2 +- lib/wx/src/gen/wxPrinter.erl | 4 +- lib/wx/src/gen/wxPrintout.erl | 4 +- lib/wx/src/gen/wxProgressDialog.erl | 8 +-- lib/wx/src/gen/wxRadioBox.erl | 18 +++--- lib/wx/src/gen/wxRadioButton.erl | 10 ++-- lib/wx/src/gen/wxRegion.erl | 2 +- lib/wx/src/gen/wxSashLayoutWindow.erl | 2 +- lib/wx/src/gen/wxSashWindow.erl | 2 +- lib/wx/src/gen/wxScreenDC.erl | 2 +- lib/wx/src/gen/wxScrollBar.erl | 2 +- lib/wx/src/gen/wxScrolledWindow.erl | 2 +- lib/wx/src/gen/wxSingleChoiceDialog.erl | 8 +-- lib/wx/src/gen/wxSizerFlags.erl | 2 +- lib/wx/src/gen/wxSizerItem.erl | 2 +- lib/wx/src/gen/wxSlider.erl | 2 +- lib/wx/src/gen/wxSpinButton.erl | 2 +- lib/wx/src/gen/wxSpinCtrl.erl | 8 +-- lib/wx/src/gen/wxSplashScreen.erl | 2 +- lib/wx/src/gen/wxSplitterWindow.erl | 2 +- lib/wx/src/gen/wxStaticBitmap.erl | 2 +- lib/wx/src/gen/wxStaticBox.erl | 10 ++-- lib/wx/src/gen/wxStaticBoxSizer.erl | 4 +- lib/wx/src/gen/wxStaticLine.erl | 2 +- lib/wx/src/gen/wxStaticText.erl | 14 ++--- lib/wx/src/gen/wxStatusBar.erl | 14 ++--- lib/wx/src/gen/wxStdDialogButtonSizer.erl | 2 +- lib/wx/src/gen/wxStyledTextCtrl.erl | 86 +++++++++++++-------------- lib/wx/src/gen/wxStyledTextEvent.erl | 4 +- lib/wx/src/gen/wxSystemOptions.erl | 14 ++--- lib/wx/src/gen/wxSystemSettings.erl | 2 +- lib/wx/src/gen/wxTextAttr.erl | 6 +- lib/wx/src/gen/wxTextCtrl.erl | 28 ++++----- lib/wx/src/gen/wxTextDataObject.erl | 8 +-- lib/wx/src/gen/wxTextEntryDialog.erl | 14 ++--- lib/wx/src/gen/wxToggleButton.erl | 10 ++-- lib/wx/src/gen/wxToolBar.erl | 62 +++++++++---------- lib/wx/src/gen/wxToolTip.erl | 8 +-- lib/wx/src/gen/wxToolbook.erl | 14 ++--- lib/wx/src/gen/wxTopLevelWindow.erl | 4 +- lib/wx/src/gen/wxTreeCtrl.erl | 26 ++++---- lib/wx/src/gen/wxTreeEvent.erl | 4 +- lib/wx/src/gen/wxTreebook.erl | 18 +++--- lib/wx/src/gen/wxUpdateUIEvent.erl | 4 +- lib/wx/src/gen/wxWindow.erl | 34 +++++------ lib/wx/src/gen/wxWindowDC.erl | 2 +- lib/wx/src/gen/wxXmlResource.erl | 44 +++++++------- lib/wx/src/gen/wx_misc.erl | 16 ++--- 155 files changed, 764 insertions(+), 764 deletions(-) (limited to 'lib/wx/src/gen') diff --git a/lib/wx/src/gen/wxAcceleratorEntry.erl b/lib/wx/src/gen/wxAcceleratorEntry.erl index 6185a1891b..b5467ecab8 100644 --- a/lib/wx/src/gen/wxAcceleratorEntry.erl +++ b/lib/wx/src/gen/wxAcceleratorEntry.erl @@ -109,7 +109,7 @@ set(#wx_ref{type=ThisT,ref=ThisRef},Flags,KeyCode,Cmd, Options) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxAcceleratorEntry) -> ok. +-spec destroy(This::wxAcceleratorEntry()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxAcceleratorEntry), wxe_util:destroy(?wxAcceleratorEntry_destroy,Obj), diff --git a/lib/wx/src/gen/wxAcceleratorTable.erl b/lib/wx/src/gen/wxAcceleratorTable.erl index 15915daa5a..1b58cf3826 100644 --- a/lib/wx/src/gen/wxAcceleratorTable.erl +++ b/lib/wx/src/gen/wxAcceleratorTable.erl @@ -59,7 +59,7 @@ ok(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxAcceleratorTable) -> ok. +-spec destroy(This::wxAcceleratorTable()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxAcceleratorTable), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxArtProvider.erl b/lib/wx/src/gen/wxArtProvider.erl index 584e240879..1515c46f9f 100644 --- a/lib/wx/src/gen/wxArtProvider.erl +++ b/lib/wx/src/gen/wxArtProvider.erl @@ -36,7 +36,7 @@ parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -type wxArtProvider() :: wx:wx_object(). %% @equiv getBitmap(Id, []) -spec getBitmap(Id) -> wxBitmap:wxBitmap() when - Id::string(). + Id::unicode:chardata(). getBitmap(Id) when is_list(Id) -> @@ -44,8 +44,8 @@ getBitmap(Id) %% @doc See external documentation. -spec getBitmap(Id, [Option]) -> wxBitmap:wxBitmap() when - Id::string(), - Option :: {client, string()} + Id::unicode:chardata(), + Option :: {client, unicode:chardata()} | {size, {W::integer(), H::integer()}}. getBitmap(Id, Options) when is_list(Id),is_list(Options) -> @@ -59,7 +59,7 @@ getBitmap(Id, Options) %% @equiv getIcon(Id, []) -spec getIcon(Id) -> wxIcon:wxIcon() when - Id::string(). + Id::unicode:chardata(). getIcon(Id) when is_list(Id) -> @@ -67,8 +67,8 @@ getIcon(Id) %% @doc See external documentation. -spec getIcon(Id, [Option]) -> wxIcon:wxIcon() when - Id::string(), - Option :: {client, string()} + Id::unicode:chardata(), + Option :: {client, unicode:chardata()} | {size, {W::integer(), H::integer()}}. getIcon(Id, Options) when is_list(Id),is_list(Options) -> diff --git a/lib/wx/src/gen/wxAuiManager.erl b/lib/wx/src/gen/wxAuiManager.erl index 4d2d2bdc78..8a0a64f346 100644 --- a/lib/wx/src/gen/wxAuiManager.erl +++ b/lib/wx/src/gen/wxAuiManager.erl @@ -74,7 +74,7 @@ addPane(This,Window) -spec addPane(This, Window, [Option]) -> boolean() when This::wxAuiManager(), Window::wxWindow:wxWindow(), Option :: {direction, integer()} - | {caption, string()}; + | {caption, unicode:chardata()}; (This, Window, Pane_info) -> boolean() when This::wxAuiManager(), Window::wxWindow:wxWindow(), Pane_info::wxAuiPaneInfo:wxAuiPaneInfo(). addPane(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef}, Options) @@ -164,7 +164,7 @@ getManager(#wx_ref{type=WindowT,ref=WindowRef}) -> %% @doc See external documentation. -spec getPane(This, Name) -> wxAuiPaneInfo:wxAuiPaneInfo() when - This::wxAuiManager(), Name::string(); + This::wxAuiManager(), Name::unicode:chardata(); (This, Window) -> wxAuiPaneInfo:wxAuiPaneInfo() when This::wxAuiManager(), Window::wxWindow:wxWindow(). getPane(#wx_ref{type=ThisT,ref=ThisRef},Name) @@ -212,7 +212,7 @@ insertPane(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef},# %% @doc See external documentation. -spec loadPaneInfo(This, Pane_part, Pane) -> ok when - This::wxAuiManager(), Pane_part::string(), Pane::wxAuiPaneInfo:wxAuiPaneInfo(). + This::wxAuiManager(), Pane_part::unicode:chardata(), Pane::wxAuiPaneInfo:wxAuiPaneInfo(). loadPaneInfo(#wx_ref{type=ThisT,ref=ThisRef},Pane_part,#wx_ref{type=PaneT,ref=PaneRef}) when is_list(Pane_part) -> ?CLASS(ThisT,wxAuiManager), @@ -223,7 +223,7 @@ loadPaneInfo(#wx_ref{type=ThisT,ref=ThisRef},Pane_part,#wx_ref{type=PaneT,ref=Pa %% @equiv loadPerspective(This,Perspective, []) -spec loadPerspective(This, Perspective) -> boolean() when - This::wxAuiManager(), Perspective::string(). + This::wxAuiManager(), Perspective::unicode:chardata(). loadPerspective(This,Perspective) when is_record(This, wx_ref),is_list(Perspective) -> @@ -231,7 +231,7 @@ loadPerspective(This,Perspective) %% @doc See external documentation. -spec loadPerspective(This, Perspective, [Option]) -> boolean() when - This::wxAuiManager(), Perspective::string(), + This::wxAuiManager(), Perspective::unicode:chardata(), Option :: {update, boolean()}. loadPerspective(#wx_ref{type=ThisT,ref=ThisRef},Perspective, Options) when is_list(Perspective),is_list(Options) -> @@ -244,7 +244,7 @@ loadPerspective(#wx_ref{type=ThisT,ref=ThisRef},Perspective, Options) <>). %% @doc See external documentation. --spec savePaneInfo(This, Pane) -> string() when +-spec savePaneInfo(This, Pane) -> unicode:charlist() when This::wxAuiManager(), Pane::wxAuiPaneInfo:wxAuiPaneInfo(). savePaneInfo(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PaneT,ref=PaneRef}) -> ?CLASS(ThisT,wxAuiManager), @@ -253,7 +253,7 @@ savePaneInfo(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PaneT,ref=PaneRef}) -> <>). %% @doc See external documentation. --spec savePerspective(This) -> string() when +-spec savePerspective(This) -> unicode:charlist() when This::wxAuiManager(). savePerspective(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxAuiManager), @@ -322,7 +322,7 @@ update(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxAuiManager) -> ok. +-spec destroy(This::wxAuiManager()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxAuiManager), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxAuiNotebook.erl b/lib/wx/src/gen/wxAuiNotebook.erl index 6741feccb9..afb599738f 100644 --- a/lib/wx/src/gen/wxAuiNotebook.erl +++ b/lib/wx/src/gen/wxAuiNotebook.erl @@ -116,7 +116,7 @@ new(#wx_ref{type=ParentT,ref=ParentRef}, Options) %% @equiv addPage(This,Page,Caption, []) -spec addPage(This, Page, Caption) -> boolean() when - This::wxAuiNotebook(), Page::wxWindow:wxWindow(), Caption::string(). + This::wxAuiNotebook(), Page::wxWindow:wxWindow(), Caption::unicode:chardata(). addPage(This,Page,Caption) when is_record(This, wx_ref),is_record(Page, wx_ref),is_list(Caption) -> @@ -124,7 +124,7 @@ addPage(This,Page,Caption) %% @doc See external documentation. -spec addPage(This, Page, Caption, [Option]) -> boolean() when - This::wxAuiNotebook(), Page::wxWindow:wxWindow(), Caption::string(), + This::wxAuiNotebook(), Page::wxWindow:wxWindow(), Caption::unicode:chardata(), Option :: {select, boolean()} | {bitmap, wxBitmap:wxBitmap()}. addPage(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PageT,ref=PageRef},Caption, Options) @@ -220,7 +220,7 @@ getPageIndex(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=Page_wndT,ref=Page_wnd <>). %% @doc See external documentation. --spec getPageText(This, Page_idx) -> string() when +-spec getPageText(This, Page_idx) -> unicode:charlist() when This::wxAuiNotebook(), Page_idx::integer(). getPageText(#wx_ref{type=ThisT,ref=ThisRef},Page_idx) when is_integer(Page_idx) -> @@ -238,7 +238,7 @@ getSelection(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @equiv insertPage(This,Page_idx,Page,Caption, []) -spec insertPage(This, Page_idx, Page, Caption) -> boolean() when - This::wxAuiNotebook(), Page_idx::integer(), Page::wxWindow:wxWindow(), Caption::string(). + This::wxAuiNotebook(), Page_idx::integer(), Page::wxWindow:wxWindow(), Caption::unicode:chardata(). insertPage(This,Page_idx,Page,Caption) when is_record(This, wx_ref),is_integer(Page_idx),is_record(Page, wx_ref),is_list(Caption) -> @@ -246,7 +246,7 @@ insertPage(This,Page_idx,Page,Caption) %% @doc See external documentation. -spec insertPage(This, Page_idx, Page, Caption, [Option]) -> boolean() when - This::wxAuiNotebook(), Page_idx::integer(), Page::wxWindow:wxWindow(), Caption::string(), + This::wxAuiNotebook(), Page_idx::integer(), Page::wxWindow:wxWindow(), Caption::unicode:chardata(), Option :: {select, boolean()} | {bitmap, wxBitmap:wxBitmap()}. insertPage(#wx_ref{type=ThisT,ref=ThisRef},Page_idx,#wx_ref{type=PageT,ref=PageRef},Caption, Options) @@ -300,7 +300,7 @@ setPageBitmap(#wx_ref{type=ThisT,ref=ThisRef},Page,#wx_ref{type=BitmapT,ref=Bitm %% @doc See external documentation. -spec setPageText(This, Page, Text) -> boolean() when - This::wxAuiNotebook(), Page::integer(), Text::string(). + This::wxAuiNotebook(), Page::integer(), Text::unicode:chardata(). setPageText(#wx_ref{type=ThisT,ref=ThisRef},Page,Text) when is_integer(Page),is_list(Text) -> ?CLASS(ThisT,wxAuiNotebook), @@ -336,7 +336,7 @@ setUniformBitmapSize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH}) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxAuiNotebook) -> ok. +-spec destroy(This::wxAuiNotebook()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxAuiNotebook), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxAuiPaneInfo.erl b/lib/wx/src/gen/wxAuiPaneInfo.erl index 47e86947d4..d59a8e8676 100644 --- a/lib/wx/src/gen/wxAuiPaneInfo.erl +++ b/lib/wx/src/gen/wxAuiPaneInfo.erl @@ -112,7 +112,7 @@ bottomDockable(#wx_ref{type=ThisT,ref=ThisRef}, Options) %% @doc See external documentation. -spec caption(This, C) -> wxAuiPaneInfo() when - This::wxAuiPaneInfo(), C::string(). + This::wxAuiPaneInfo(), C::unicode:chardata(). caption(#wx_ref{type=ThisT,ref=ThisRef},C) when is_list(C) -> ?CLASS(ThisT,wxAuiPaneInfo), @@ -684,7 +684,7 @@ movable(#wx_ref{type=ThisT,ref=ThisRef}, Options) %% @doc See external documentation. -spec name(This, N) -> wxAuiPaneInfo() when - This::wxAuiPaneInfo(), N::string(). + This::wxAuiPaneInfo(), N::unicode:chardata(). name(#wx_ref{type=ThisT,ref=ThisRef},N) when is_list(N) -> ?CLASS(ThisT,wxAuiPaneInfo), @@ -888,7 +888,7 @@ window(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WT,ref=WRef}) -> <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxAuiPaneInfo) -> ok. +-spec destroy(This::wxAuiPaneInfo()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxAuiPaneInfo), wxe_util:destroy(?wxAuiPaneInfo_destruct,Obj), diff --git a/lib/wx/src/gen/wxBitmap.erl b/lib/wx/src/gen/wxBitmap.erl index ac16700011..c363e22209 100644 --- a/lib/wx/src/gen/wxBitmap.erl +++ b/lib/wx/src/gen/wxBitmap.erl @@ -45,7 +45,7 @@ new() -> %% @doc See external documentation. -spec new(Filename) -> wxBitmap() when - Filename::string(); + Filename::unicode:chardata(); (Image) -> wxBitmap() when Image::wxImage:wxImage(). @@ -61,7 +61,7 @@ new(Image) -spec new(Width, Height) -> wxBitmap() when Width::integer(), Height::integer(); (Filename, [Option]) -> wxBitmap() when - Filename::string(), + Filename::unicode:chardata(), Option :: {type, wx:wx_enum()}; (Image, [Option]) -> wxBitmap() when Image::wxImage:wxImage(), @@ -207,7 +207,7 @@ getSubBitmap(#wx_ref{type=ThisT,ref=ThisRef},{RectX,RectY,RectW,RectH}) %% @equiv loadFile(This,Name, []) -spec loadFile(This, Name) -> boolean() when - This::wxBitmap(), Name::string(). + This::wxBitmap(), Name::unicode:chardata(). loadFile(This,Name) when is_record(This, wx_ref),is_list(Name) -> @@ -216,7 +216,7 @@ loadFile(This,Name) %% @doc See external documentation. %%
Type = ?wxBITMAP_TYPE_INVALID | ?wxBITMAP_TYPE_BMP | ?wxBITMAP_TYPE_BMP_RESOURCE | ?wxBITMAP_TYPE_RESOURCE | ?wxBITMAP_TYPE_ICO | ?wxBITMAP_TYPE_ICO_RESOURCE | ?wxBITMAP_TYPE_CUR | ?wxBITMAP_TYPE_CUR_RESOURCE | ?wxBITMAP_TYPE_XBM | ?wxBITMAP_TYPE_XBM_DATA | ?wxBITMAP_TYPE_XPM | ?wxBITMAP_TYPE_XPM_DATA | ?wxBITMAP_TYPE_TIF | ?wxBITMAP_TYPE_TIF_RESOURCE | ?wxBITMAP_TYPE_GIF | ?wxBITMAP_TYPE_GIF_RESOURCE | ?wxBITMAP_TYPE_PNG | ?wxBITMAP_TYPE_PNG_RESOURCE | ?wxBITMAP_TYPE_JPEG | ?wxBITMAP_TYPE_JPEG_RESOURCE | ?wxBITMAP_TYPE_PNM | ?wxBITMAP_TYPE_PNM_RESOURCE | ?wxBITMAP_TYPE_PCX | ?wxBITMAP_TYPE_PCX_RESOURCE | ?wxBITMAP_TYPE_PICT | ?wxBITMAP_TYPE_PICT_RESOURCE | ?wxBITMAP_TYPE_ICON | ?wxBITMAP_TYPE_ICON_RESOURCE | ?wxBITMAP_TYPE_ANI | ?wxBITMAP_TYPE_IFF | ?wxBITMAP_TYPE_TGA | ?wxBITMAP_TYPE_MACCURSOR | ?wxBITMAP_TYPE_MACCURSOR_RESOURCE | ?wxBITMAP_TYPE_ANY -spec loadFile(This, Name, [Option]) -> boolean() when - This::wxBitmap(), Name::string(), + This::wxBitmap(), Name::unicode:chardata(), Option :: {type, wx:wx_enum()}. loadFile(#wx_ref{type=ThisT,ref=ThisRef},Name, Options) when is_list(Name),is_list(Options) -> @@ -238,7 +238,7 @@ ok(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @equiv saveFile(This,Name,Type, []) -spec saveFile(This, Name, Type) -> boolean() when - This::wxBitmap(), Name::string(), Type::wx:wx_enum(). + This::wxBitmap(), Name::unicode:chardata(), Type::wx:wx_enum(). saveFile(This,Name,Type) when is_record(This, wx_ref),is_list(Name),is_integer(Type) -> @@ -247,7 +247,7 @@ saveFile(This,Name,Type) %% @doc See external documentation. %%
Type = ?wxBITMAP_TYPE_INVALID | ?wxBITMAP_TYPE_BMP | ?wxBITMAP_TYPE_BMP_RESOURCE | ?wxBITMAP_TYPE_RESOURCE | ?wxBITMAP_TYPE_ICO | ?wxBITMAP_TYPE_ICO_RESOURCE | ?wxBITMAP_TYPE_CUR | ?wxBITMAP_TYPE_CUR_RESOURCE | ?wxBITMAP_TYPE_XBM | ?wxBITMAP_TYPE_XBM_DATA | ?wxBITMAP_TYPE_XPM | ?wxBITMAP_TYPE_XPM_DATA | ?wxBITMAP_TYPE_TIF | ?wxBITMAP_TYPE_TIF_RESOURCE | ?wxBITMAP_TYPE_GIF | ?wxBITMAP_TYPE_GIF_RESOURCE | ?wxBITMAP_TYPE_PNG | ?wxBITMAP_TYPE_PNG_RESOURCE | ?wxBITMAP_TYPE_JPEG | ?wxBITMAP_TYPE_JPEG_RESOURCE | ?wxBITMAP_TYPE_PNM | ?wxBITMAP_TYPE_PNM_RESOURCE | ?wxBITMAP_TYPE_PCX | ?wxBITMAP_TYPE_PCX_RESOURCE | ?wxBITMAP_TYPE_PICT | ?wxBITMAP_TYPE_PICT_RESOURCE | ?wxBITMAP_TYPE_ICON | ?wxBITMAP_TYPE_ICON_RESOURCE | ?wxBITMAP_TYPE_ANI | ?wxBITMAP_TYPE_IFF | ?wxBITMAP_TYPE_TGA | ?wxBITMAP_TYPE_MACCURSOR | ?wxBITMAP_TYPE_MACCURSOR_RESOURCE | ?wxBITMAP_TYPE_ANY -spec saveFile(This, Name, Type, [Option]) -> boolean() when - This::wxBitmap(), Name::string(), Type::wx:wx_enum(), + This::wxBitmap(), Name::unicode:chardata(), Type::wx:wx_enum(), Option :: {palette, wxPalette:wxPalette()}. saveFile(#wx_ref{type=ThisT,ref=ThisRef},Name,Type, Options) when is_list(Name),is_integer(Type),is_list(Options) -> @@ -305,7 +305,7 @@ setWidth(#wx_ref{type=ThisT,ref=ThisRef},Width) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxBitmap) -> ok. +-spec destroy(This::wxBitmap()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxBitmap), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxBitmapButton.erl b/lib/wx/src/gen/wxBitmapButton.erl index 47ba575fb4..79e51da801 100644 --- a/lib/wx/src/gen/wxBitmapButton.erl +++ b/lib/wx/src/gen/wxBitmapButton.erl @@ -213,7 +213,7 @@ setBitmapSelected(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=SelT,ref=SelRef}) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxBitmapButton) -> ok. +-spec destroy(This::wxBitmapButton()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxBitmapButton), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxBitmapDataObject.erl b/lib/wx/src/gen/wxBitmapDataObject.erl index 7f6bc973ef..35ab146457 100644 --- a/lib/wx/src/gen/wxBitmapDataObject.erl +++ b/lib/wx/src/gen/wxBitmapDataObject.erl @@ -79,7 +79,7 @@ setBitmap(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BitmapT,ref=BitmapRef}) - <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxBitmapDataObject) -> ok. +-spec destroy(This::wxBitmapDataObject()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxBitmapDataObject), wxe_util:destroy(?wxBitmapDataObject_destroy,Obj), diff --git a/lib/wx/src/gen/wxBoxSizer.erl b/lib/wx/src/gen/wxBoxSizer.erl index d6d8aadf30..fcf6b5fd65 100644 --- a/lib/wx/src/gen/wxBoxSizer.erl +++ b/lib/wx/src/gen/wxBoxSizer.erl @@ -63,7 +63,7 @@ getOrientation(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxBoxSizer) -> ok. +-spec destroy(This::wxBoxSizer()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxBoxSizer), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxBrush.erl b/lib/wx/src/gen/wxBrush.erl index 5f67d35310..3436fe0dde 100644 --- a/lib/wx/src/gen/wxBrush.erl +++ b/lib/wx/src/gen/wxBrush.erl @@ -68,7 +68,7 @@ new(Colour, Options) <<(wxe_util:colour_bin(Colour)):16/binary, BinOpt/binary>>). %% @doc See external documentation. --spec getColour(This) -> wx:wx_colour() when +-spec getColour(This) -> wx:wx_colour4() when This::wxBrush(). getColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxBrush), @@ -144,7 +144,7 @@ setStyle(#wx_ref{type=ThisT,ref=ThisRef},Style) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxBrush) -> ok. +-spec destroy(This::wxBrush()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxBrush), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxBufferedDC.erl b/lib/wx/src/gen/wxBufferedDC.erl index c98f8175a0..84dde6c67b 100644 --- a/lib/wx/src/gen/wxBufferedDC.erl +++ b/lib/wx/src/gen/wxBufferedDC.erl @@ -153,7 +153,7 @@ init(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=DcT,ref=DcRef},{AreaW,AreaH}, <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxBufferedDC) -> ok. +-spec destroy(This::wxBufferedDC()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxBufferedDC), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxBufferedPaintDC.erl b/lib/wx/src/gen/wxBufferedPaintDC.erl index fbf1b16cad..833d51c435 100644 --- a/lib/wx/src/gen/wxBufferedPaintDC.erl +++ b/lib/wx/src/gen/wxBufferedPaintDC.erl @@ -105,7 +105,7 @@ new(#wx_ref{type=WindowT,ref=WindowRef},#wx_ref{type=BufferT,ref=BufferRef}, Opt <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxBufferedPaintDC) -> ok. +-spec destroy(This::wxBufferedPaintDC()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxBufferedPaintDC), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxButton.erl b/lib/wx/src/gen/wxButton.erl index facd885175..ae78f53e6f 100644 --- a/lib/wx/src/gen/wxButton.erl +++ b/lib/wx/src/gen/wxButton.erl @@ -95,7 +95,7 @@ new(Parent,Id) %% @doc See external documentation. -spec new(Parent, Id, [Option]) -> wxButton() when Parent::wxWindow:wxWindow(), Id::integer(), - Option :: {label, string()} + Option :: {label, unicode:chardata()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} @@ -124,7 +124,7 @@ create(This,Parent,Id) %% @doc See external documentation. -spec create(This, Parent, Id, [Option]) -> boolean() when This::wxButton(), Parent::wxWindow:wxWindow(), Id::integer(), - Option :: {label, string()} + Option :: {label, unicode:chardata()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} @@ -159,7 +159,7 @@ setDefault(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @doc See external documentation. -spec setLabel(This, Label) -> ok when - This::wxButton(), Label::string(). + This::wxButton(), Label::unicode:chardata(). setLabel(#wx_ref{type=ThisT,ref=ThisRef},Label) when is_list(Label) -> ?CLASS(ThisT,wxButton), @@ -168,7 +168,7 @@ setLabel(#wx_ref{type=ThisT,ref=ThisRef},Label) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxButton) -> ok. +-spec destroy(This::wxButton()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxButton), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxCalendarCtrl.erl b/lib/wx/src/gen/wxCalendarCtrl.erl index 7762e7f318..06dd4a0c91 100644 --- a/lib/wx/src/gen/wxCalendarCtrl.erl +++ b/lib/wx/src/gen/wxCalendarCtrl.erl @@ -233,7 +233,7 @@ setHeaderColours(#wx_ref{type=ThisT,ref=ThisRef},ColFg,ColBg) <>). %% @doc See external documentation. --spec getHeaderColourFg(This) -> wx:wx_colour() when +-spec getHeaderColourFg(This) -> wx:wx_colour4() when This::wxCalendarCtrl(). getHeaderColourFg(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxCalendarCtrl), @@ -241,7 +241,7 @@ getHeaderColourFg(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getHeaderColourBg(This) -> wx:wx_colour() when +-spec getHeaderColourBg(This) -> wx:wx_colour4() when This::wxCalendarCtrl(). getHeaderColourBg(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxCalendarCtrl), @@ -258,7 +258,7 @@ setHighlightColours(#wx_ref{type=ThisT,ref=ThisRef},ColFg,ColBg) <>). %% @doc See external documentation. --spec getHighlightColourFg(This) -> wx:wx_colour() when +-spec getHighlightColourFg(This) -> wx:wx_colour4() when This::wxCalendarCtrl(). getHighlightColourFg(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxCalendarCtrl), @@ -266,7 +266,7 @@ getHighlightColourFg(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getHighlightColourBg(This) -> wx:wx_colour() when +-spec getHighlightColourBg(This) -> wx:wx_colour4() when This::wxCalendarCtrl(). getHighlightColourBg(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxCalendarCtrl), @@ -283,7 +283,7 @@ setHolidayColours(#wx_ref{type=ThisT,ref=ThisRef},ColFg,ColBg) <>). %% @doc See external documentation. --spec getHolidayColourFg(This) -> wx:wx_colour() when +-spec getHolidayColourFg(This) -> wx:wx_colour4() when This::wxCalendarCtrl(). getHolidayColourFg(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxCalendarCtrl), @@ -291,7 +291,7 @@ getHolidayColourFg(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getHolidayColourBg(This) -> wx:wx_colour() when +-spec getHolidayColourBg(This) -> wx:wx_colour4() when This::wxCalendarCtrl(). getHolidayColourBg(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxCalendarCtrl), @@ -348,7 +348,7 @@ hitTest(#wx_ref{type=ThisT,ref=ThisRef},{PosX,PosY}) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxCalendarCtrl) -> ok. +-spec destroy(This::wxCalendarCtrl()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxCalendarCtrl), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxCalendarDateAttr.erl b/lib/wx/src/gen/wxCalendarDateAttr.erl index c674aee8d6..cfedb401ce 100644 --- a/lib/wx/src/gen/wxCalendarDateAttr.erl +++ b/lib/wx/src/gen/wxCalendarDateAttr.erl @@ -189,7 +189,7 @@ isHoliday(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getTextColour(This) -> wx:wx_colour() when +-spec getTextColour(This) -> wx:wx_colour4() when This::wxCalendarDateAttr(). getTextColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxCalendarDateAttr), @@ -197,7 +197,7 @@ getTextColour(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getBackgroundColour(This) -> wx:wx_colour() when +-spec getBackgroundColour(This) -> wx:wx_colour4() when This::wxCalendarDateAttr(). getBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxCalendarDateAttr), @@ -205,7 +205,7 @@ getBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getBorderColour(This) -> wx:wx_colour() when +-spec getBorderColour(This) -> wx:wx_colour4() when This::wxCalendarDateAttr(). getBorderColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxCalendarDateAttr), @@ -230,7 +230,7 @@ getBorder(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxCalendarDateAttr) -> ok. +-spec destroy(This::wxCalendarDateAttr()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxCalendarDateAttr), wxe_util:destroy(?wxCalendarDateAttr_destroy,Obj), diff --git a/lib/wx/src/gen/wxCaret.erl b/lib/wx/src/gen/wxCaret.erl index a1f8c29a7f..57db5906f3 100644 --- a/lib/wx/src/gen/wxCaret.erl +++ b/lib/wx/src/gen/wxCaret.erl @@ -194,7 +194,7 @@ show(#wx_ref{type=ThisT,ref=ThisRef}, Options) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxCaret) -> ok. +-spec destroy(This::wxCaret()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxCaret), wxe_util:destroy(?wxCaret_destruct,Obj), diff --git a/lib/wx/src/gen/wxCheckBox.erl b/lib/wx/src/gen/wxCheckBox.erl index c629af6488..37bca77cae 100644 --- a/lib/wx/src/gen/wxCheckBox.erl +++ b/lib/wx/src/gen/wxCheckBox.erl @@ -87,7 +87,7 @@ new() -> %% @equiv new(Parent,Id,Label, []) -spec new(Parent, Id, Label) -> wxCheckBox() when - Parent::wxWindow:wxWindow(), Id::integer(), Label::string(). + Parent::wxWindow:wxWindow(), Id::integer(), Label::unicode:chardata(). new(Parent,Id,Label) when is_record(Parent, wx_ref),is_integer(Id),is_list(Label) -> @@ -95,7 +95,7 @@ new(Parent,Id,Label) %% @doc See external documentation. -spec new(Parent, Id, Label, [Option]) -> wxCheckBox() when - Parent::wxWindow:wxWindow(), Id::integer(), Label::string(), + Parent::wxWindow:wxWindow(), Id::integer(), Label::unicode:chardata(), Option :: {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} @@ -115,7 +115,7 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Id,Label, Options) %% @equiv create(This,Parent,Id,Label, []) -spec create(This, Parent, Id, Label) -> boolean() when - This::wxCheckBox(), Parent::wxWindow:wxWindow(), Id::integer(), Label::string(). + This::wxCheckBox(), Parent::wxWindow:wxWindow(), Id::integer(), Label::unicode:chardata(). create(This,Parent,Id,Label) when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id),is_list(Label) -> @@ -123,7 +123,7 @@ create(This,Parent,Id,Label) %% @doc See external documentation. -spec create(This, Parent, Id, Label, [Option]) -> boolean() when - This::wxCheckBox(), Parent::wxWindow:wxWindow(), Id::integer(), Label::string(), + This::wxCheckBox(), Parent::wxWindow:wxWindow(), Id::integer(), Label::unicode:chardata(), Option :: {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} @@ -203,7 +203,7 @@ set3StateValue(#wx_ref{type=ThisT,ref=ThisRef},State) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxCheckBox) -> ok. +-spec destroy(This::wxCheckBox()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxCheckBox), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxCheckListBox.erl b/lib/wx/src/gen/wxCheckListBox.erl index 457d58eebc..71199fed3b 100644 --- a/lib/wx/src/gen/wxCheckListBox.erl +++ b/lib/wx/src/gen/wxCheckListBox.erl @@ -104,7 +104,7 @@ new(Parent,Id) Parent::wxWindow:wxWindow(), Id::integer(), Option :: {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} - | {choices, [[string()]]} + | {choices, [[unicode:chardata()]]} | {style, integer()} | {validator, wx:wx()}. new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options) @@ -151,7 +151,7 @@ isChecked(#wx_ref{type=ThisT,ref=ThisRef},Index) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxCheckListBox) -> ok. +-spec destroy(This::wxCheckListBox()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxCheckListBox), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxChoice.erl b/lib/wx/src/gen/wxChoice.erl index 983e74e65a..b9cac3926c 100644 --- a/lib/wx/src/gen/wxChoice.erl +++ b/lib/wx/src/gen/wxChoice.erl @@ -102,7 +102,7 @@ new(Parent,Id) Parent::wxWindow:wxWindow(), Id::integer(), Option :: {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} - | {choices, [[string()]]} + | {choices, [[unicode:chardata()]]} | {style, integer()} | {validator, wx:wx()}. new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options) @@ -120,7 +120,7 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options) %% @equiv create(This,Parent,Id,Pos,Size,Choices, []) -spec create(This, Parent, Id, Pos, Size, Choices) -> boolean() when - This::wxChoice(), Parent::wxWindow:wxWindow(), Id::integer(), Pos::{X::integer(), Y::integer()}, Size::{W::integer(), H::integer()}, Choices::[[string()]]. + This::wxChoice(), Parent::wxWindow:wxWindow(), Id::integer(), Pos::{X::integer(), Y::integer()}, Size::{W::integer(), H::integer()}, Choices::[[unicode:chardata()]]. create(This,Parent,Id,Pos={PosX,PosY},Size={SizeW,SizeH},Choices) when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id),is_integer(PosX),is_integer(PosY),is_integer(SizeW),is_integer(SizeH),is_list(Choices) -> @@ -128,7 +128,7 @@ create(This,Parent,Id,Pos={PosX,PosY},Size={SizeW,SizeH},Choices) %% @doc See external documentation. -spec create(This, Parent, Id, Pos, Size, Choices, [Option]) -> boolean() when - This::wxChoice(), Parent::wxWindow:wxWindow(), Id::integer(), Pos::{X::integer(), Y::integer()}, Size::{W::integer(), H::integer()}, Choices::[[string()]], + This::wxChoice(), Parent::wxWindow:wxWindow(), Id::integer(), Pos::{X::integer(), Y::integer()}, Size::{W::integer(), H::integer()}, Choices::[[unicode:chardata()]], Option :: {style, integer()} | {validator, wx:wx()}. create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,{PosX,PosY},{SizeW,SizeH},Choices, Options) @@ -183,7 +183,7 @@ setColumns(#wx_ref{type=ThisT,ref=ThisRef}, Options) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxChoice) -> ok. +-spec destroy(This::wxChoice()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxChoice), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxChoicebook.erl b/lib/wx/src/gen/wxChoicebook.erl index 556170befa..921e1e2882 100644 --- a/lib/wx/src/gen/wxChoicebook.erl +++ b/lib/wx/src/gen/wxChoicebook.erl @@ -115,7 +115,7 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options) %% @equiv addPage(This,Page,Text, []) -spec addPage(This, Page, Text) -> boolean() when - This::wxChoicebook(), Page::wxWindow:wxWindow(), Text::string(). + This::wxChoicebook(), Page::wxWindow:wxWindow(), Text::unicode:chardata(). addPage(This,Page,Text) when is_record(This, wx_ref),is_record(Page, wx_ref),is_list(Text) -> @@ -123,7 +123,7 @@ addPage(This,Page,Text) %% @doc See external documentation. -spec addPage(This, Page, Text, [Option]) -> boolean() when - This::wxChoicebook(), Page::wxWindow:wxWindow(), Text::string(), + This::wxChoicebook(), Page::wxWindow:wxWindow(), Text::unicode:chardata(), Option :: {bSelect, boolean()} | {imageId, integer()}. addPage(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PageT,ref=PageRef},Text, Options) @@ -263,7 +263,7 @@ getPageImage(#wx_ref{type=ThisT,ref=ThisRef},N) <>). %% @doc See external documentation. --spec getPageText(This, N) -> string() when +-spec getPageText(This, N) -> unicode:charlist() when This::wxChoicebook(), N::integer(). getPageText(#wx_ref{type=ThisT,ref=ThisRef},N) when is_integer(N) -> @@ -291,7 +291,7 @@ hitTest(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY}) %% @equiv insertPage(This,N,Page,Text, []) -spec insertPage(This, N, Page, Text) -> boolean() when - This::wxChoicebook(), N::integer(), Page::wxWindow:wxWindow(), Text::string(). + This::wxChoicebook(), N::integer(), Page::wxWindow:wxWindow(), Text::unicode:chardata(). insertPage(This,N,Page,Text) when is_record(This, wx_ref),is_integer(N),is_record(Page, wx_ref),is_list(Text) -> @@ -299,7 +299,7 @@ insertPage(This,N,Page,Text) %% @doc See external documentation. -spec insertPage(This, N, Page, Text, [Option]) -> boolean() when - This::wxChoicebook(), N::integer(), Page::wxWindow:wxWindow(), Text::string(), + This::wxChoicebook(), N::integer(), Page::wxWindow:wxWindow(), Text::unicode:chardata(), Option :: {bSelect, boolean()} | {imageId, integer()}. insertPage(#wx_ref{type=ThisT,ref=ThisRef},N,#wx_ref{type=PageT,ref=PageRef},Text, Options) @@ -343,7 +343,7 @@ setPageImage(#wx_ref{type=ThisT,ref=ThisRef},N,ImageId) %% @doc See external documentation. -spec setPageText(This, N, StrText) -> boolean() when - This::wxChoicebook(), N::integer(), StrText::string(). + This::wxChoicebook(), N::integer(), StrText::unicode:chardata(). setPageText(#wx_ref{type=ThisT,ref=ThisRef},N,StrText) when is_integer(N),is_list(StrText) -> ?CLASS(ThisT,wxChoicebook), @@ -370,7 +370,7 @@ changeSelection(#wx_ref{type=ThisT,ref=ThisRef},N) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxChoicebook) -> ok. +-spec destroy(This::wxChoicebook()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxChoicebook), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxClientDC.erl b/lib/wx/src/gen/wxClientDC.erl index eb833d26e1..7dfebe4068 100644 --- a/lib/wx/src/gen/wxClientDC.erl +++ b/lib/wx/src/gen/wxClientDC.erl @@ -75,7 +75,7 @@ new(#wx_ref{type=WinT,ref=WinRef}) -> <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxClientDC) -> ok. +-spec destroy(This::wxClientDC()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxClientDC), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxClipboard.erl b/lib/wx/src/gen/wxClipboard.erl index 73f57c681e..8f1d59f603 100644 --- a/lib/wx/src/gen/wxClipboard.erl +++ b/lib/wx/src/gen/wxClipboard.erl @@ -145,7 +145,7 @@ get() -> <<>>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxClipboard) -> ok. +-spec destroy(This::wxClipboard()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxClipboard), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxColourData.erl b/lib/wx/src/gen/wxColourData.erl index 01b73a59f0..289d423cb6 100644 --- a/lib/wx/src/gen/wxColourData.erl +++ b/lib/wx/src/gen/wxColourData.erl @@ -58,7 +58,7 @@ getChooseFull(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getColour(This) -> wx:wx_colour() when +-spec getColour(This) -> wx:wx_colour4() when This::wxColourData(). getColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxColourData), @@ -66,7 +66,7 @@ getColour(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getCustomColour(This, I) -> wx:wx_colour() when +-spec getCustomColour(This, I) -> wx:wx_colour4() when This::wxColourData(), I::integer(). getCustomColour(#wx_ref{type=ThisT,ref=ThisRef},I) when is_integer(I) -> @@ -102,7 +102,7 @@ setCustomColour(#wx_ref{type=ThisT,ref=ThisRef},I,Colour) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxColourData) -> ok. +-spec destroy(This::wxColourData()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxColourData), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxColourDialog.erl b/lib/wx/src/gen/wxColourDialog.erl index 7e9ec1975f..8040112426 100644 --- a/lib/wx/src/gen/wxColourDialog.erl +++ b/lib/wx/src/gen/wxColourDialog.erl @@ -144,7 +144,7 @@ getColourData(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxColourDialog) -> ok. +-spec destroy(This::wxColourDialog()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxColourDialog), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxColourPickerCtrl.erl b/lib/wx/src/gen/wxColourPickerCtrl.erl index 91889006f9..d9e0d20df8 100644 --- a/lib/wx/src/gen/wxColourPickerCtrl.erl +++ b/lib/wx/src/gen/wxColourPickerCtrl.erl @@ -149,7 +149,7 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id, O <>). %% @doc See external documentation. --spec getColour(This) -> wx:wx_colour() when +-spec getColour(This) -> wx:wx_colour4() when This::wxColourPickerCtrl(). getColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxColourPickerCtrl), @@ -158,7 +158,7 @@ getColour(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @doc See external documentation. -spec setColour(This, Text) -> boolean() when - This::wxColourPickerCtrl(), Text::string(); + This::wxColourPickerCtrl(), Text::unicode:chardata(); (This, Col) -> ok when This::wxColourPickerCtrl(), Col::wx:wx_colour(). setColour(#wx_ref{type=ThisT,ref=ThisRef},Text) @@ -174,7 +174,7 @@ setColour(#wx_ref{type=ThisT,ref=ThisRef},Col) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxColourPickerCtrl) -> ok. +-spec destroy(This::wxColourPickerCtrl()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxColourPickerCtrl), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxColourPickerEvent.erl b/lib/wx/src/gen/wxColourPickerEvent.erl index fbd34cf9e7..71a3fd3e5b 100644 --- a/lib/wx/src/gen/wxColourPickerEvent.erl +++ b/lib/wx/src/gen/wxColourPickerEvent.erl @@ -48,7 +48,7 @@ parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -type wxColourPickerEvent() :: wx:wx_object(). %% @doc See external documentation. --spec getColour(This) -> wx:wx_colour() when +-spec getColour(This) -> wx:wx_colour4() when This::wxColourPickerEvent(). getColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxColourPickerEvent), diff --git a/lib/wx/src/gen/wxComboBox.erl b/lib/wx/src/gen/wxComboBox.erl index 88cee2e3a4..b9224d18b9 100644 --- a/lib/wx/src/gen/wxComboBox.erl +++ b/lib/wx/src/gen/wxComboBox.erl @@ -102,10 +102,10 @@ new(Parent,Id) %% @doc See external documentation. -spec new(Parent, Id, [Option]) -> wxComboBox() when Parent::wxWindow:wxWindow(), Id::integer(), - Option :: {value, string()} + Option :: {value, unicode:chardata()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} - | {choices, [[string()]]} + | {choices, [[unicode:chardata()]]} | {style, integer()} | {validator, wx:wx()}. new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options) @@ -124,7 +124,7 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options) %% @equiv create(This,Parent,Id,Value,Pos,Size,Choices, []) -spec create(This, Parent, Id, Value, Pos, Size, Choices) -> boolean() when - This::wxComboBox(), Parent::wxWindow:wxWindow(), Id::integer(), Value::string(), Pos::{X::integer(), Y::integer()}, Size::{W::integer(), H::integer()}, Choices::[[string()]]. + This::wxComboBox(), Parent::wxWindow:wxWindow(), Id::integer(), Value::unicode:chardata(), Pos::{X::integer(), Y::integer()}, Size::{W::integer(), H::integer()}, Choices::[[unicode:chardata()]]. create(This,Parent,Id,Value,Pos={PosX,PosY},Size={SizeW,SizeH},Choices) when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id),is_list(Value),is_integer(PosX),is_integer(PosY),is_integer(SizeW),is_integer(SizeH),is_list(Choices) -> @@ -132,7 +132,7 @@ create(This,Parent,Id,Value,Pos={PosX,PosY},Size={SizeW,SizeH},Choices) %% @doc See external documentation. -spec create(This, Parent, Id, Value, Pos, Size, Choices, [Option]) -> boolean() when - This::wxComboBox(), Parent::wxWindow:wxWindow(), Id::integer(), Value::string(), Pos::{X::integer(), Y::integer()}, Size::{W::integer(), H::integer()}, Choices::[[string()]], + This::wxComboBox(), Parent::wxWindow:wxWindow(), Id::integer(), Value::unicode:chardata(), Pos::{X::integer(), Y::integer()}, Size::{W::integer(), H::integer()}, Choices::[[unicode:chardata()]], Option :: {style, integer()} | {validator, wx:wx()}. create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,Value,{PosX,PosY},{SizeW,SizeH},Choices, Options) @@ -222,7 +222,7 @@ getLastPosition(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getValue(This) -> string() when +-spec getValue(This) -> unicode:charlist() when This::wxComboBox(). getValue(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxComboBox), @@ -247,7 +247,7 @@ redo(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @doc See external documentation. -spec replace(This, From, To, Value) -> ok when - This::wxComboBox(), From::integer(), To::integer(), Value::string(). + This::wxComboBox(), From::integer(), To::integer(), Value::unicode:chardata(). replace(#wx_ref{type=ThisT,ref=ThisRef},From,To,Value) when is_integer(From),is_integer(To),is_list(Value) -> ?CLASS(ThisT,wxComboBox), @@ -301,7 +301,7 @@ setSelection(#wx_ref{type=ThisT,ref=ThisRef},From,To) %% @doc See external documentation. -spec setValue(This, Value) -> ok when - This::wxComboBox(), Value::string(). + This::wxComboBox(), Value::unicode:chardata(). setValue(#wx_ref{type=ThisT,ref=ThisRef},Value) when is_list(Value) -> ?CLASS(ThisT,wxComboBox), @@ -318,7 +318,7 @@ undo(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxComboBox) -> ok. +-spec destroy(This::wxComboBox()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxComboBox), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxCommandEvent.erl b/lib/wx/src/gen/wxCommandEvent.erl index 16414da4dd..a7567163cf 100644 --- a/lib/wx/src/gen/wxCommandEvent.erl +++ b/lib/wx/src/gen/wxCommandEvent.erl @@ -77,7 +77,7 @@ getSelection(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getString(This) -> string() when +-spec getString(This) -> unicode:charlist() when This::wxCommandEvent(). getString(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxCommandEvent), @@ -111,7 +111,7 @@ setInt(#wx_ref{type=ThisT,ref=ThisRef},I) %% @doc See external documentation. -spec setString(This, S) -> ok when - This::wxCommandEvent(), S::string(). + This::wxCommandEvent(), S::unicode:chardata(). setString(#wx_ref{type=ThisT,ref=ThisRef},S) when is_list(S) -> ?CLASS(ThisT,wxCommandEvent), diff --git a/lib/wx/src/gen/wxControl.erl b/lib/wx/src/gen/wxControl.erl index 743ec5151f..f840d0c6bc 100644 --- a/lib/wx/src/gen/wxControl.erl +++ b/lib/wx/src/gen/wxControl.erl @@ -76,7 +76,7 @@ parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -type wxControl() :: wx:wx_object(). %% @doc See external documentation. --spec getLabel(This) -> string() when +-spec getLabel(This) -> unicode:charlist() when This::wxControl(). getLabel(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxControl), @@ -85,7 +85,7 @@ getLabel(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @doc See external documentation. -spec setLabel(This, Label) -> ok when - This::wxControl(), Label::string(). + This::wxControl(), Label::unicode:chardata(). setLabel(#wx_ref{type=ThisT,ref=ThisRef},Label) when is_list(Label) -> ?CLASS(ThisT,wxControl), diff --git a/lib/wx/src/gen/wxControlWithItems.erl b/lib/wx/src/gen/wxControlWithItems.erl index b57f472b04..1e2f89dbf0 100644 --- a/lib/wx/src/gen/wxControlWithItems.erl +++ b/lib/wx/src/gen/wxControlWithItems.erl @@ -82,7 +82,7 @@ parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -type wxControlWithItems() :: wx:wx_object(). %% @doc See external documentation. -spec append(This, Item) -> integer() when - This::wxControlWithItems(), Item::string(). + This::wxControlWithItems(), Item::unicode:chardata(). append(#wx_ref{type=ThisT,ref=ThisRef},Item) when is_list(Item) -> ?CLASS(ThisT,wxControlWithItems), @@ -92,7 +92,7 @@ append(#wx_ref{type=ThisT,ref=ThisRef},Item) %% @doc See external documentation. -spec append(This, Item, ClientData) -> integer() when - This::wxControlWithItems(), Item::string(), ClientData::term(). + This::wxControlWithItems(), Item::unicode:chardata(), ClientData::term(). append(#wx_ref{type=ThisT,ref=ThisRef},Item,ClientData) when is_list(Item) -> ?CLASS(ThisT,wxControlWithItems), @@ -103,7 +103,7 @@ append(#wx_ref{type=ThisT,ref=ThisRef},Item,ClientData) %% @doc See external documentation. -spec appendStrings(This, Strings) -> ok when - This::wxControlWithItems(), Strings::[[string()]]. + This::wxControlWithItems(), Strings::[[unicode:chardata()]]. appendStrings(#wx_ref{type=ThisT,ref=ThisRef},Strings) when is_list(Strings) -> ?CLASS(ThisT,wxControlWithItems), @@ -131,7 +131,7 @@ delete(#wx_ref{type=ThisT,ref=ThisRef},N) %% @equiv findString(This,S, []) -spec findString(This, S) -> integer() when - This::wxControlWithItems(), S::string(). + This::wxControlWithItems(), S::unicode:chardata(). findString(This,S) when is_record(This, wx_ref),is_list(S) -> @@ -139,7 +139,7 @@ findString(This,S) %% @doc See external documentation. -spec findString(This, S, [Option]) -> integer() when - This::wxControlWithItems(), S::string(), + This::wxControlWithItems(), S::unicode:chardata(), Option :: {bCase, boolean()}. findString(#wx_ref{type=ThisT,ref=ThisRef},S, Options) when is_list(S),is_list(Options) -> @@ -187,7 +187,7 @@ getSelection(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getString(This, N) -> string() when +-spec getString(This, N) -> unicode:charlist() when This::wxControlWithItems(), N::integer(). getString(#wx_ref{type=ThisT,ref=ThisRef},N) when is_integer(N) -> @@ -196,7 +196,7 @@ getString(#wx_ref{type=ThisT,ref=ThisRef},N) <>). %% @doc See external documentation. --spec getStringSelection(This) -> string() when +-spec getStringSelection(This) -> unicode:charlist() when This::wxControlWithItems(). getStringSelection(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxControlWithItems), @@ -205,7 +205,7 @@ getStringSelection(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @doc See external documentation. -spec insert(This, Item, Pos) -> integer() when - This::wxControlWithItems(), Item::string(), Pos::integer(). + This::wxControlWithItems(), Item::unicode:chardata(), Pos::integer(). insert(#wx_ref{type=ThisT,ref=ThisRef},Item,Pos) when is_list(Item),is_integer(Pos) -> ?CLASS(ThisT,wxControlWithItems), @@ -215,7 +215,7 @@ insert(#wx_ref{type=ThisT,ref=ThisRef},Item,Pos) %% @doc See external documentation. -spec insert(This, Item, Pos, ClientData) -> integer() when - This::wxControlWithItems(), Item::string(), Pos::integer(), ClientData::term(). + This::wxControlWithItems(), Item::unicode:chardata(), Pos::integer(), ClientData::term(). insert(#wx_ref{type=ThisT,ref=ThisRef},Item,Pos,ClientData) when is_list(Item),is_integer(Pos) -> ?CLASS(ThisT,wxControlWithItems), @@ -252,7 +252,7 @@ setSelection(#wx_ref{type=ThisT,ref=ThisRef},N) %% @doc See external documentation. -spec setString(This, N, S) -> ok when - This::wxControlWithItems(), N::integer(), S::string(). + This::wxControlWithItems(), N::integer(), S::unicode:chardata(). setString(#wx_ref{type=ThisT,ref=ThisRef},N,S) when is_integer(N),is_list(S) -> ?CLASS(ThisT,wxControlWithItems), @@ -262,7 +262,7 @@ setString(#wx_ref{type=ThisT,ref=ThisRef},N,S) %% @doc See external documentation. -spec setStringSelection(This, S) -> boolean() when - This::wxControlWithItems(), S::string(). + This::wxControlWithItems(), S::unicode:chardata(). setStringSelection(#wx_ref{type=ThisT,ref=ThisRef},S) when is_list(S) -> ?CLASS(ThisT,wxControlWithItems), diff --git a/lib/wx/src/gen/wxCursor.erl b/lib/wx/src/gen/wxCursor.erl index 3274e16454..78becd48e8 100644 --- a/lib/wx/src/gen/wxCursor.erl +++ b/lib/wx/src/gen/wxCursor.erl @@ -92,7 +92,7 @@ ok(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxCursor) -> ok. +-spec destroy(This::wxCursor()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxCursor), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxDC.erl b/lib/wx/src/gen/wxDC.erl index 4762ee7cd1..9b2c21f4b0 100644 --- a/lib/wx/src/gen/wxDC.erl +++ b/lib/wx/src/gen/wxDC.erl @@ -246,7 +246,7 @@ drawIcon(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=IconT,ref=IconRef},{PtX,Pt %% @equiv drawLabel(This,Text,Rect, []) -spec drawLabel(This, Text, Rect) -> ok when - This::wxDC(), Text::string(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}. + This::wxDC(), Text::unicode:chardata(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}. drawLabel(This,Text,Rect={RectX,RectY,RectW,RectH}) when is_record(This, wx_ref),is_list(Text),is_integer(RectX),is_integer(RectY),is_integer(RectW),is_integer(RectH) -> @@ -254,7 +254,7 @@ drawLabel(This,Text,Rect={RectX,RectY,RectW,RectH}) %% @doc See external documentation. -spec drawLabel(This, Text, Rect, [Option]) -> ok when - This::wxDC(), Text::string(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}, + This::wxDC(), Text::unicode:chardata(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}, Option :: {alignment, integer()} | {indexAccel, integer()}. drawLabel(#wx_ref{type=ThisT,ref=ThisRef},Text,{RectX,RectY,RectW,RectH}, Options) @@ -356,7 +356,7 @@ drawRectangle(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY},{SzW,SzH}) %% @doc See external documentation. -spec drawRotatedText(This, Text, Pt, Angle) -> ok when - This::wxDC(), Text::string(), Pt::{X::integer(), Y::integer()}, Angle::number(). + This::wxDC(), Text::unicode:chardata(), Pt::{X::integer(), Y::integer()}, Angle::number(). drawRotatedText(#wx_ref{type=ThisT,ref=ThisRef},Text,{PtX,PtY},Angle) when is_list(Text),is_integer(PtX),is_integer(PtY),is_number(Angle) -> ?CLASS(ThisT,wxDC), @@ -384,7 +384,7 @@ drawRoundedRectangle(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY},{SzW,SzH},Radius) %% @doc See external documentation. -spec drawText(This, Text, Pt) -> ok when - This::wxDC(), Text::string(), Pt::{X::integer(), Y::integer()}. + This::wxDC(), Text::unicode:chardata(), Pt::{X::integer(), Y::integer()}. drawText(#wx_ref{type=ThisT,ref=ThisRef},Text,{PtX,PtY}) when is_list(Text),is_integer(PtX),is_integer(PtY) -> ?CLASS(ThisT,wxDC), @@ -513,7 +513,7 @@ getMapMode(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @doc See external documentation. -spec getMultiLineTextExtent(This, String) -> {W::integer(), H::integer()} when - This::wxDC(), String::string(). + This::wxDC(), String::unicode:chardata(). getMultiLineTextExtent(#wx_ref{type=ThisT,ref=ThisRef},String) when is_list(String) -> ?CLASS(ThisT,wxDC), @@ -523,7 +523,7 @@ getMultiLineTextExtent(#wx_ref{type=ThisT,ref=ThisRef},String) %% @doc See external documentation. -spec getMultiLineTextExtent(This, String, [Option]) -> {Width::integer(), Height::integer(), HeightLine::integer()} when - This::wxDC(), String::string(), + This::wxDC(), String::unicode:chardata(), Option :: {font, wxFont:wxFont()}. getMultiLineTextExtent(#wx_ref{type=ThisT,ref=ThisRef},String, Options) when is_list(String),is_list(Options) -> @@ -538,7 +538,7 @@ getMultiLineTextExtent(#wx_ref{type=ThisT,ref=ThisRef},String, Options) %% @doc See external documentation. -spec getPartialTextExtents(This, Text) -> Result when Result ::{Res ::boolean(), Widths::[integer()]}, - This::wxDC(), Text::string(). + This::wxDC(), Text::unicode:chardata(). getPartialTextExtents(#wx_ref{type=ThisT,ref=ThisRef},Text) when is_list(Text) -> ?CLASS(ThisT,wxDC), @@ -556,7 +556,7 @@ getPen(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @doc See external documentation. -spec getPixel(This, Pt) -> Result when - Result ::{Res ::boolean(), Col::wx:wx_colour()}, + Result ::{Res ::boolean(), Col::wx:wx_colour4()}, This::wxDC(), Pt::{X::integer(), Y::integer()}. getPixel(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY}) when is_integer(PtX),is_integer(PtY) -> @@ -589,7 +589,7 @@ getSizeMM(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getTextBackground(This) -> wx:wx_colour() when +-spec getTextBackground(This) -> wx:wx_colour4() when This::wxDC(). getTextBackground(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxDC), @@ -598,7 +598,7 @@ getTextBackground(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @doc See external documentation. -spec getTextExtent(This, String) -> {W::integer(), H::integer()} when - This::wxDC(), String::string(). + This::wxDC(), String::unicode:chardata(). getTextExtent(#wx_ref{type=ThisT,ref=ThisRef},String) when is_list(String) -> ?CLASS(ThisT,wxDC), @@ -609,7 +609,7 @@ getTextExtent(#wx_ref{type=ThisT,ref=ThisRef},String) %% @doc See external documentation. -spec getTextExtent(This, String, [Option]) -> Result when Result :: {X::integer(), Y::integer(), Descent::integer(), ExternalLeading::integer()}, - This::wxDC(), String::string(), + This::wxDC(), String::unicode:chardata(), Option :: {theFont, wxFont:wxFont()}. getTextExtent(#wx_ref{type=ThisT,ref=ThisRef},String, Options) when is_list(String),is_list(Options) -> @@ -622,7 +622,7 @@ getTextExtent(#wx_ref{type=ThisT,ref=ThisRef},String, Options) <>). %% @doc See external documentation. --spec getTextForeground(This) -> wx:wx_colour() when +-spec getTextForeground(This) -> wx:wx_colour4() when This::wxDC(). getTextForeground(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxDC), @@ -915,7 +915,7 @@ setUserScale(#wx_ref{type=ThisT,ref=ThisRef},X,Y) %% @doc See external documentation. -spec startDoc(This, Message) -> boolean() when - This::wxDC(), Message::string(). + This::wxDC(), Message::unicode:chardata(). startDoc(#wx_ref{type=ThisT,ref=ThisRef},Message) when is_list(Message) -> ?CLASS(ThisT,wxDC), diff --git a/lib/wx/src/gen/wxDatePickerCtrl.erl b/lib/wx/src/gen/wxDatePickerCtrl.erl index e1c16d3612..ad66d1cf03 100644 --- a/lib/wx/src/gen/wxDatePickerCtrl.erl +++ b/lib/wx/src/gen/wxDatePickerCtrl.erl @@ -154,7 +154,7 @@ setValue(#wx_ref{type=ThisT,ref=ThisRef},Date) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxDatePickerCtrl) -> ok. +-spec destroy(This::wxDatePickerCtrl()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxDatePickerCtrl), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxDialog.erl b/lib/wx/src/gen/wxDialog.erl index 137ad27a45..55861b75d1 100644 --- a/lib/wx/src/gen/wxDialog.erl +++ b/lib/wx/src/gen/wxDialog.erl @@ -92,7 +92,7 @@ new() -> %% @equiv new(Parent,Id,Title, []) -spec new(Parent, Id, Title) -> wxDialog() when - Parent::wxWindow:wxWindow(), Id::integer(), Title::string(). + Parent::wxWindow:wxWindow(), Id::integer(), Title::unicode:chardata(). new(Parent,Id,Title) when is_record(Parent, wx_ref),is_integer(Id),is_list(Title) -> @@ -100,7 +100,7 @@ new(Parent,Id,Title) %% @doc See external documentation. -spec new(Parent, Id, Title, [Option]) -> wxDialog() when - Parent::wxWindow:wxWindow(), Id::integer(), Title::string(), + Parent::wxWindow:wxWindow(), Id::integer(), Title::unicode:chardata(), Option :: {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()}. @@ -118,7 +118,7 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Id,Title, Options) %% @equiv create(This,Parent,Id,Title, []) -spec create(This, Parent, Id, Title) -> boolean() when - This::wxDialog(), Parent::wxWindow:wxWindow(), Id::integer(), Title::string(). + This::wxDialog(), Parent::wxWindow:wxWindow(), Id::integer(), Title::unicode:chardata(). create(This,Parent,Id,Title) when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id),is_list(Title) -> @@ -126,7 +126,7 @@ create(This,Parent,Id,Title) %% @doc See external documentation. -spec create(This, Parent, Id, Title, [Option]) -> boolean() when - This::wxDialog(), Parent::wxWindow:wxWindow(), Id::integer(), Title::string(), + This::wxDialog(), Parent::wxWindow:wxWindow(), Id::integer(), Title::unicode:chardata(), Option :: {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()}. @@ -242,7 +242,7 @@ showModal(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxDialog) -> ok. +-spec destroy(This::wxDialog()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxDialog), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxDirDialog.erl b/lib/wx/src/gen/wxDirDialog.erl index 6104803294..d7dc735937 100644 --- a/lib/wx/src/gen/wxDirDialog.erl +++ b/lib/wx/src/gen/wxDirDialog.erl @@ -97,8 +97,8 @@ new(Parent) %% @doc See external documentation. -spec new(Parent, [Option]) -> wxDirDialog() when Parent::wxWindow:wxWindow(), - Option :: {title, string()} - | {defaultPath, string()} + Option :: {title, unicode:chardata()} + | {defaultPath, unicode:chardata()} | {style, integer()} | {pos, {X::integer(), Y::integer()}} | {sz, {W::integer(), H::integer()}}. @@ -116,7 +116,7 @@ new(#wx_ref{type=ParentT,ref=ParentRef}, Options) <>). %% @doc See external documentation. --spec getPath(This) -> string() when +-spec getPath(This) -> unicode:charlist() when This::wxDirDialog(). getPath(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxDirDialog), @@ -124,7 +124,7 @@ getPath(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getMessage(This) -> string() when +-spec getMessage(This) -> unicode:charlist() when This::wxDirDialog(). getMessage(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxDirDialog), @@ -133,7 +133,7 @@ getMessage(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @doc See external documentation. -spec setMessage(This, Message) -> ok when - This::wxDirDialog(), Message::string(). + This::wxDirDialog(), Message::unicode:chardata(). setMessage(#wx_ref{type=ThisT,ref=ThisRef},Message) when is_list(Message) -> ?CLASS(ThisT,wxDirDialog), @@ -143,7 +143,7 @@ setMessage(#wx_ref{type=ThisT,ref=ThisRef},Message) %% @doc See external documentation. -spec setPath(This, Path) -> ok when - This::wxDirDialog(), Path::string(). + This::wxDirDialog(), Path::unicode:chardata(). setPath(#wx_ref{type=ThisT,ref=ThisRef},Path) when is_list(Path) -> ?CLASS(ThisT,wxDirDialog), @@ -152,7 +152,7 @@ setPath(#wx_ref{type=ThisT,ref=ThisRef},Path) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxDirDialog) -> ok. +-spec destroy(This::wxDirDialog()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxDirDialog), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxDirPickerCtrl.erl b/lib/wx/src/gen/wxDirPickerCtrl.erl index 667119c987..5bc79ca7a1 100644 --- a/lib/wx/src/gen/wxDirPickerCtrl.erl +++ b/lib/wx/src/gen/wxDirPickerCtrl.erl @@ -100,8 +100,8 @@ new(Parent,Id) %% @doc See external documentation. -spec new(Parent, Id, [Option]) -> wxDirPickerCtrl() when Parent::wxWindow:wxWindow(), Id::integer(), - Option :: {path, string()} - | {message, string()} + Option :: {path, unicode:chardata()} + | {message, unicode:chardata()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} @@ -131,8 +131,8 @@ create(This,Parent,Id) %% @doc See external documentation. -spec create(This, Parent, Id, [Option]) -> boolean() when This::wxDirPickerCtrl(), Parent::wxWindow:wxWindow(), Id::integer(), - Option :: {path, string()} - | {message, string()} + Option :: {path, unicode:chardata()} + | {message, unicode:chardata()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} @@ -153,7 +153,7 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id, O <>). %% @doc See external documentation. --spec getPath(This) -> string() when +-spec getPath(This) -> unicode:charlist() when This::wxDirPickerCtrl(). getPath(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxDirPickerCtrl), @@ -162,7 +162,7 @@ getPath(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @doc See external documentation. -spec setPath(This, Str) -> ok when - This::wxDirPickerCtrl(), Str::string(). + This::wxDirPickerCtrl(), Str::unicode:chardata(). setPath(#wx_ref{type=ThisT,ref=ThisRef},Str) when is_list(Str) -> ?CLASS(ThisT,wxDirPickerCtrl), @@ -171,7 +171,7 @@ setPath(#wx_ref{type=ThisT,ref=ThisRef},Str) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxDirPickerCtrl) -> ok. +-spec destroy(This::wxDirPickerCtrl()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxDirPickerCtrl), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxFileDataObject.erl b/lib/wx/src/gen/wxFileDataObject.erl index 3349005821..bcb30a5ece 100644 --- a/lib/wx/src/gen/wxFileDataObject.erl +++ b/lib/wx/src/gen/wxFileDataObject.erl @@ -46,7 +46,7 @@ new() -> %% @doc See external documentation. -spec addFile(This, Filename) -> ok when - This::wxFileDataObject(), Filename::string(). + This::wxFileDataObject(), Filename::unicode:chardata(). addFile(#wx_ref{type=ThisT,ref=ThisRef},Filename) when is_list(Filename) -> ?CLASS(ThisT,wxFileDataObject), @@ -55,7 +55,7 @@ addFile(#wx_ref{type=ThisT,ref=ThisRef},Filename) <>). %% @doc See external documentation. --spec getFilenames(This) -> [[string()]] when +-spec getFilenames(This) -> [[unicode:charlist()]] when This::wxFileDataObject(). getFilenames(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFileDataObject), @@ -63,7 +63,7 @@ getFilenames(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxFileDataObject) -> ok. +-spec destroy(This::wxFileDataObject()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxFileDataObject), wxe_util:destroy(?wxFileDataObject_destroy,Obj), diff --git a/lib/wx/src/gen/wxFileDialog.erl b/lib/wx/src/gen/wxFileDialog.erl index b6bd7f164a..3d65c92758 100644 --- a/lib/wx/src/gen/wxFileDialog.erl +++ b/lib/wx/src/gen/wxFileDialog.erl @@ -99,10 +99,10 @@ new(Parent) %% @doc See external documentation. -spec new(Parent, [Option]) -> wxFileDialog() when Parent::wxWindow:wxWindow(), - Option :: {message, string()} - | {defaultDir, string()} - | {defaultFile, string()} - | {wildCard, string()} + Option :: {message, unicode:chardata()} + | {defaultDir, unicode:chardata()} + | {defaultFile, unicode:chardata()} + | {wildCard, unicode:chardata()} | {style, integer()} | {pos, {X::integer(), Y::integer()}} | {sz, {W::integer(), H::integer()}}. @@ -122,7 +122,7 @@ new(#wx_ref{type=ParentT,ref=ParentRef}, Options) <>). %% @doc See external documentation. --spec getDirectory(This) -> string() when +-spec getDirectory(This) -> unicode:charlist() when This::wxFileDialog(). getDirectory(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFileDialog), @@ -130,7 +130,7 @@ getDirectory(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getFilename(This) -> string() when +-spec getFilename(This) -> unicode:charlist() when This::wxFileDialog(). getFilename(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFileDialog), @@ -138,7 +138,7 @@ getFilename(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getFilenames(This) -> [[string()]] when +-spec getFilenames(This) -> [[unicode:charlist()]] when This::wxFileDialog(). getFilenames(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFileDialog), @@ -154,7 +154,7 @@ getFilterIndex(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getMessage(This) -> string() when +-spec getMessage(This) -> unicode:charlist() when This::wxFileDialog(). getMessage(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFileDialog), @@ -162,7 +162,7 @@ getMessage(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getPath(This) -> string() when +-spec getPath(This) -> unicode:charlist() when This::wxFileDialog(). getPath(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFileDialog), @@ -170,7 +170,7 @@ getPath(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getPaths(This) -> [[string()]] when +-spec getPaths(This) -> [[unicode:charlist()]] when This::wxFileDialog(). getPaths(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFileDialog), @@ -178,7 +178,7 @@ getPaths(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getWildcard(This) -> string() when +-spec getWildcard(This) -> unicode:charlist() when This::wxFileDialog(). getWildcard(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFileDialog), @@ -187,7 +187,7 @@ getWildcard(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @doc See external documentation. -spec setDirectory(This, Dir) -> ok when - This::wxFileDialog(), Dir::string(). + This::wxFileDialog(), Dir::unicode:chardata(). setDirectory(#wx_ref{type=ThisT,ref=ThisRef},Dir) when is_list(Dir) -> ?CLASS(ThisT,wxFileDialog), @@ -197,7 +197,7 @@ setDirectory(#wx_ref{type=ThisT,ref=ThisRef},Dir) %% @doc See external documentation. -spec setFilename(This, Name) -> ok when - This::wxFileDialog(), Name::string(). + This::wxFileDialog(), Name::unicode:chardata(). setFilename(#wx_ref{type=ThisT,ref=ThisRef},Name) when is_list(Name) -> ?CLASS(ThisT,wxFileDialog), @@ -216,7 +216,7 @@ setFilterIndex(#wx_ref{type=ThisT,ref=ThisRef},FilterIndex) %% @doc See external documentation. -spec setMessage(This, Message) -> ok when - This::wxFileDialog(), Message::string(). + This::wxFileDialog(), Message::unicode:chardata(). setMessage(#wx_ref{type=ThisT,ref=ThisRef},Message) when is_list(Message) -> ?CLASS(ThisT,wxFileDialog), @@ -226,7 +226,7 @@ setMessage(#wx_ref{type=ThisT,ref=ThisRef},Message) %% @doc See external documentation. -spec setPath(This, Path) -> ok when - This::wxFileDialog(), Path::string(). + This::wxFileDialog(), Path::unicode:chardata(). setPath(#wx_ref{type=ThisT,ref=ThisRef},Path) when is_list(Path) -> ?CLASS(ThisT,wxFileDialog), @@ -236,7 +236,7 @@ setPath(#wx_ref{type=ThisT,ref=ThisRef},Path) %% @doc See external documentation. -spec setWildcard(This, WildCard) -> ok when - This::wxFileDialog(), WildCard::string(). + This::wxFileDialog(), WildCard::unicode:chardata(). setWildcard(#wx_ref{type=ThisT,ref=ThisRef},WildCard) when is_list(WildCard) -> ?CLASS(ThisT,wxFileDialog), @@ -245,7 +245,7 @@ setWildcard(#wx_ref{type=ThisT,ref=ThisRef},WildCard) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxFileDialog) -> ok. +-spec destroy(This::wxFileDialog()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxFileDialog), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxFileDirPickerEvent.erl b/lib/wx/src/gen/wxFileDirPickerEvent.erl index 1ed803ea74..77b10a91ed 100644 --- a/lib/wx/src/gen/wxFileDirPickerEvent.erl +++ b/lib/wx/src/gen/wxFileDirPickerEvent.erl @@ -48,7 +48,7 @@ parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -type wxFileDirPickerEvent() :: wx:wx_object(). %% @doc See external documentation. --spec getPath(This) -> string() when +-spec getPath(This) -> unicode:charlist() when This::wxFileDirPickerEvent(). getPath(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFileDirPickerEvent), diff --git a/lib/wx/src/gen/wxFilePickerCtrl.erl b/lib/wx/src/gen/wxFilePickerCtrl.erl index 456483ec55..f13c20f6c7 100644 --- a/lib/wx/src/gen/wxFilePickerCtrl.erl +++ b/lib/wx/src/gen/wxFilePickerCtrl.erl @@ -100,9 +100,9 @@ new(Parent,Id) %% @doc See external documentation. -spec new(Parent, Id, [Option]) -> wxFilePickerCtrl() when Parent::wxWindow:wxWindow(), Id::integer(), - Option :: {path, string()} - | {message, string()} - | {wildcard, string()} + Option :: {path, unicode:chardata()} + | {message, unicode:chardata()} + | {wildcard, unicode:chardata()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} @@ -133,9 +133,9 @@ create(This,Parent,Id) %% @doc See external documentation. -spec create(This, Parent, Id, [Option]) -> boolean() when This::wxFilePickerCtrl(), Parent::wxWindow:wxWindow(), Id::integer(), - Option :: {path, string()} - | {message, string()} - | {wildcard, string()} + Option :: {path, unicode:chardata()} + | {message, unicode:chardata()} + | {wildcard, unicode:chardata()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} @@ -157,7 +157,7 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id, O <>). %% @doc See external documentation. --spec getPath(This) -> string() when +-spec getPath(This) -> unicode:charlist() when This::wxFilePickerCtrl(). getPath(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFilePickerCtrl), @@ -166,7 +166,7 @@ getPath(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @doc See external documentation. -spec setPath(This, Str) -> ok when - This::wxFilePickerCtrl(), Str::string(). + This::wxFilePickerCtrl(), Str::unicode:chardata(). setPath(#wx_ref{type=ThisT,ref=ThisRef},Str) when is_list(Str) -> ?CLASS(ThisT,wxFilePickerCtrl), @@ -175,7 +175,7 @@ setPath(#wx_ref{type=ThisT,ref=ThisRef},Str) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxFilePickerCtrl) -> ok. +-spec destroy(This::wxFilePickerCtrl()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxFilePickerCtrl), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxFindReplaceData.erl b/lib/wx/src/gen/wxFindReplaceData.erl index fbc207b758..8dc6036da6 100644 --- a/lib/wx/src/gen/wxFindReplaceData.erl +++ b/lib/wx/src/gen/wxFindReplaceData.erl @@ -50,7 +50,7 @@ new(Flags) <>). %% @doc See external documentation. --spec getFindString(This) -> string() when +-spec getFindString(This) -> unicode:charlist() when This::wxFindReplaceData(). getFindString(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFindReplaceData), @@ -58,7 +58,7 @@ getFindString(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getReplaceString(This) -> string() when +-spec getReplaceString(This) -> unicode:charlist() when This::wxFindReplaceData(). getReplaceString(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFindReplaceData), @@ -84,7 +84,7 @@ setFlags(#wx_ref{type=ThisT,ref=ThisRef},Flags) %% @doc See external documentation. -spec setFindString(This, Str) -> ok when - This::wxFindReplaceData(), Str::string(). + This::wxFindReplaceData(), Str::unicode:chardata(). setFindString(#wx_ref{type=ThisT,ref=ThisRef},Str) when is_list(Str) -> ?CLASS(ThisT,wxFindReplaceData), @@ -94,7 +94,7 @@ setFindString(#wx_ref{type=ThisT,ref=ThisRef},Str) %% @doc See external documentation. -spec setReplaceString(This, Str) -> ok when - This::wxFindReplaceData(), Str::string(). + This::wxFindReplaceData(), Str::unicode:chardata(). setReplaceString(#wx_ref{type=ThisT,ref=ThisRef},Str) when is_list(Str) -> ?CLASS(ThisT,wxFindReplaceData), @@ -103,7 +103,7 @@ setReplaceString(#wx_ref{type=ThisT,ref=ThisRef},Str) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxFindReplaceData) -> ok. +-spec destroy(This::wxFindReplaceData()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxFindReplaceData), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxFindReplaceDialog.erl b/lib/wx/src/gen/wxFindReplaceDialog.erl index cef41e6d20..6db9b3ed53 100644 --- a/lib/wx/src/gen/wxFindReplaceDialog.erl +++ b/lib/wx/src/gen/wxFindReplaceDialog.erl @@ -94,7 +94,7 @@ new() -> %% @equiv new(Parent,Data,Title, []) -spec new(Parent, Data, Title) -> wxFindReplaceDialog() when - Parent::wxWindow:wxWindow(), Data::wxFindReplaceData:wxFindReplaceData(), Title::string(). + Parent::wxWindow:wxWindow(), Data::wxFindReplaceData:wxFindReplaceData(), Title::unicode:chardata(). new(Parent,Data,Title) when is_record(Parent, wx_ref),is_record(Data, wx_ref),is_list(Title) -> @@ -102,7 +102,7 @@ new(Parent,Data,Title) %% @doc See external documentation. -spec new(Parent, Data, Title, [Option]) -> wxFindReplaceDialog() when - Parent::wxWindow:wxWindow(), Data::wxFindReplaceData:wxFindReplaceData(), Title::string(), + Parent::wxWindow:wxWindow(), Data::wxFindReplaceData:wxFindReplaceData(), Title::unicode:chardata(), Option :: {style, integer()}. new(#wx_ref{type=ParentT,ref=ParentRef},#wx_ref{type=DataT,ref=DataRef},Title, Options) when is_list(Title),is_list(Options) -> @@ -117,7 +117,7 @@ new(#wx_ref{type=ParentT,ref=ParentRef},#wx_ref{type=DataT,ref=DataRef},Title, O %% @equiv create(This,Parent,Data,Title, []) -spec create(This, Parent, Data, Title) -> boolean() when - This::wxFindReplaceDialog(), Parent::wxWindow:wxWindow(), Data::wxFindReplaceData:wxFindReplaceData(), Title::string(). + This::wxFindReplaceDialog(), Parent::wxWindow:wxWindow(), Data::wxFindReplaceData:wxFindReplaceData(), Title::unicode:chardata(). create(This,Parent,Data,Title) when is_record(This, wx_ref),is_record(Parent, wx_ref),is_record(Data, wx_ref),is_list(Title) -> @@ -125,7 +125,7 @@ create(This,Parent,Data,Title) %% @doc See external documentation. -spec create(This, Parent, Data, Title, [Option]) -> boolean() when - This::wxFindReplaceDialog(), Parent::wxWindow:wxWindow(), Data::wxFindReplaceData:wxFindReplaceData(), Title::string(), + This::wxFindReplaceDialog(), Parent::wxWindow:wxWindow(), Data::wxFindReplaceData:wxFindReplaceData(), Title::unicode:chardata(), Option :: {style, integer()}. create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},#wx_ref{type=DataT,ref=DataRef},Title, Options) when is_list(Title),is_list(Options) -> @@ -148,7 +148,7 @@ getData(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxFindReplaceDialog) -> ok. +-spec destroy(This::wxFindReplaceDialog()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxFindReplaceDialog), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxFlexGridSizer.erl b/lib/wx/src/gen/wxFlexGridSizer.erl index d22ae74015..91dcf6a2e7 100644 --- a/lib/wx/src/gen/wxFlexGridSizer.erl +++ b/lib/wx/src/gen/wxFlexGridSizer.erl @@ -179,7 +179,7 @@ setNonFlexibleGrowMode(#wx_ref{type=ThisT,ref=ThisRef},Mode) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxFlexGridSizer) -> ok. +-spec destroy(This::wxFlexGridSizer()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxFlexGridSizer), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxFont.erl b/lib/wx/src/gen/wxFont.erl index dc8c738b49..f05ac62d8b 100644 --- a/lib/wx/src/gen/wxFont.erl +++ b/lib/wx/src/gen/wxFont.erl @@ -46,7 +46,7 @@ new() -> %% @doc See external documentation. -spec new(Fontname) -> wxFont() when - Fontname::string(). + Fontname::unicode:chardata(). new(Fontname) when is_list(Fontname) -> Fontname_UC = unicode:characters_to_binary([Fontname,0]), @@ -68,7 +68,7 @@ new(Size,Family,Style,Weight) -spec new(Size, Family, Style, Weight, [Option]) -> wxFont() when Size::integer(), Family::wx:wx_enum(), Style::wx:wx_enum(), Weight::integer(), Option :: {underlined, boolean()} - | {face, string()} + | {face, unicode:chardata()} | {encoding, wx:wx_enum()}. new(Size,Family,Style,Weight, Options) when is_integer(Size),is_integer(Family),is_integer(Style),is_integer(Weight),is_list(Options) -> @@ -96,7 +96,7 @@ getDefaultEncoding() -> <<>>). %% @doc See external documentation. --spec getFaceName(This) -> string() when +-spec getFaceName(This) -> unicode:charlist() when This::wxFont(). getFaceName(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFont), @@ -113,7 +113,7 @@ getFamily(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getNativeFontInfoDesc(This) -> string() when +-spec getNativeFontInfoDesc(This) -> unicode:charlist() when This::wxFont(). getNativeFontInfoDesc(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFont), @@ -121,7 +121,7 @@ getNativeFontInfoDesc(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getNativeFontInfoUserDesc(This) -> string() when +-spec getNativeFontInfoUserDesc(This) -> unicode:charlist() when This::wxFont(). getNativeFontInfoUserDesc(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFont), @@ -180,7 +180,7 @@ setDefaultEncoding(Encoding) %% @doc See external documentation. -spec setFaceName(This, FaceName) -> boolean() when - This::wxFont(), FaceName::string(). + This::wxFont(), FaceName::unicode:chardata(). setFaceName(#wx_ref{type=ThisT,ref=ThisRef},FaceName) when is_list(FaceName) -> ?CLASS(ThisT,wxFont), @@ -236,7 +236,7 @@ setWeight(#wx_ref{type=ThisT,ref=ThisRef},Weight) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxFont) -> ok. +-spec destroy(This::wxFont()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxFont), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxFontData.erl b/lib/wx/src/gen/wxFontData.erl index df8e734000..978d27b391 100644 --- a/lib/wx/src/gen/wxFontData.erl +++ b/lib/wx/src/gen/wxFontData.erl @@ -68,7 +68,7 @@ getAllowSymbols(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getColour(This) -> wx:wx_colour() when +-spec getColour(This) -> wx:wx_colour4() when This::wxFontData(). getColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxFontData), @@ -162,7 +162,7 @@ setShowHelp(#wx_ref{type=ThisT,ref=ThisRef},Flag) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxFontData) -> ok. +-spec destroy(This::wxFontData()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxFontData), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxFontDialog.erl b/lib/wx/src/gen/wxFontDialog.erl index ad061055da..6cc210a4aa 100644 --- a/lib/wx/src/gen/wxFontDialog.erl +++ b/lib/wx/src/gen/wxFontDialog.erl @@ -120,7 +120,7 @@ getFontData(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxFontDialog) -> ok. +-spec destroy(This::wxFontDialog()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxFontDialog), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxFontPickerCtrl.erl b/lib/wx/src/gen/wxFontPickerCtrl.erl index 01be91239c..2659d4e2e3 100644 --- a/lib/wx/src/gen/wxFontPickerCtrl.erl +++ b/lib/wx/src/gen/wxFontPickerCtrl.erl @@ -184,7 +184,7 @@ setMaxPointSize(#wx_ref{type=ThisT,ref=ThisRef},Max) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxFontPickerCtrl) -> ok. +-spec destroy(This::wxFontPickerCtrl()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxFontPickerCtrl), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxFrame.erl b/lib/wx/src/gen/wxFrame.erl index 1618af137c..61f46f7a07 100644 --- a/lib/wx/src/gen/wxFrame.erl +++ b/lib/wx/src/gen/wxFrame.erl @@ -94,7 +94,7 @@ new() -> %% @equiv new(Parent,Id,Title, []) -spec new(Parent, Id, Title) -> wxFrame() when - Parent::wxWindow:wxWindow(), Id::integer(), Title::string(). + Parent::wxWindow:wxWindow(), Id::integer(), Title::unicode:chardata(). new(Parent,Id,Title) when is_record(Parent, wx_ref),is_integer(Id),is_list(Title) -> @@ -102,7 +102,7 @@ new(Parent,Id,Title) %% @doc See external documentation. -spec new(Parent, Id, Title, [Option]) -> wxFrame() when - Parent::wxWindow:wxWindow(), Id::integer(), Title::string(), + Parent::wxWindow:wxWindow(), Id::integer(), Title::unicode:chardata(), Option :: {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()}. @@ -120,7 +120,7 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Id,Title, Options) %% @equiv create(This,Parent,Id,Title, []) -spec create(This, Parent, Id, Title) -> boolean() when - This::wxFrame(), Parent::wxWindow:wxWindow(), Id::integer(), Title::string(). + This::wxFrame(), Parent::wxWindow:wxWindow(), Id::integer(), Title::unicode:chardata(). create(This,Parent,Id,Title) when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id),is_list(Title) -> @@ -128,7 +128,7 @@ create(This,Parent,Id,Title) %% @doc See external documentation. -spec create(This, Parent, Id, Title, [Option]) -> boolean() when - This::wxFrame(), Parent::wxWindow:wxWindow(), Id::integer(), Title::string(), + This::wxFrame(), Parent::wxWindow:wxWindow(), Id::integer(), Title::unicode:chardata(), Option :: {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()}. @@ -279,7 +279,7 @@ setStatusBarPane(#wx_ref{type=ThisT,ref=ThisRef},N) %% @equiv setStatusText(This,Text, []) -spec setStatusText(This, Text) -> ok when - This::wxFrame(), Text::string(). + This::wxFrame(), Text::unicode:chardata(). setStatusText(This,Text) when is_record(This, wx_ref),is_list(Text) -> @@ -287,7 +287,7 @@ setStatusText(This,Text) %% @doc See external documentation. -spec setStatusText(This, Text, [Option]) -> ok when - This::wxFrame(), Text::string(), + This::wxFrame(), Text::unicode:chardata(), Option :: {number, integer()}. setStatusText(#wx_ref{type=ThisT,ref=ThisRef},Text, Options) when is_list(Text),is_list(Options) -> @@ -319,7 +319,7 @@ setToolBar(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ToolbarT,ref=ToolbarRef} <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxFrame) -> ok. +-spec destroy(This::wxFrame()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxFrame), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxGLCanvas.erl b/lib/wx/src/gen/wxGLCanvas.erl index 515ccab2ff..5c0bda7ee4 100644 --- a/lib/wx/src/gen/wxGLCanvas.erl +++ b/lib/wx/src/gen/wxGLCanvas.erl @@ -92,7 +92,7 @@ new(Parent) | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} - | {name, string()} + | {name, unicode:chardata()} | {attribList, [integer()]} | {palette, wxPalette:wxPalette()}. @@ -122,7 +122,7 @@ new(#wx_ref{type=ParentT,ref=ParentRef}, Options) | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} - | {name, string()} + | {name, unicode:chardata()} | {attribList, [integer()]} | {palette, wxPalette:wxPalette()}. new(#wx_ref{type=ParentT,ref=ParentRef},#wx_ref{type=SharedT,ref=SharedRef}, Options) @@ -174,7 +174,7 @@ swapBuffers(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxGLCanvas) -> ok. +-spec destroy(This::wxGLCanvas()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxGLCanvas), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxGauge.erl b/lib/wx/src/gen/wxGauge.erl index bb453b4a8b..c35a2574f6 100644 --- a/lib/wx/src/gen/wxGauge.erl +++ b/lib/wx/src/gen/wxGauge.erl @@ -225,7 +225,7 @@ pulse(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxGauge) -> ok. +-spec destroy(This::wxGauge()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxGauge), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxGenericDirCtrl.erl b/lib/wx/src/gen/wxGenericDirCtrl.erl index 6ea26e0426..cb917e8fd1 100644 --- a/lib/wx/src/gen/wxGenericDirCtrl.erl +++ b/lib/wx/src/gen/wxGenericDirCtrl.erl @@ -98,11 +98,11 @@ new(Parent) -spec new(Parent, [Option]) -> wxGenericDirCtrl() when Parent::wxWindow:wxWindow(), Option :: {id, integer()} - | {dir, string()} + | {dir, unicode:chardata()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} - | {filter, string()} + | {filter, unicode:chardata()} | {defaultFilter, integer()}. new(#wx_ref{type=ParentT,ref=ParentRef}, Options) when is_list(Options) -> @@ -131,11 +131,11 @@ create(This,Parent) -spec create(This, Parent, [Option]) -> boolean() when This::wxGenericDirCtrl(), Parent::wxWindow:wxWindow(), Option :: {id, integer()} - | {dir, string()} + | {dir, unicode:chardata()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} - | {filter, string()} + | {filter, unicode:chardata()} | {defaultFilter, integer()}. create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}, Options) when is_list(Options) -> @@ -171,7 +171,7 @@ collapseTree(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @doc See external documentation. -spec expandPath(This, Path) -> boolean() when - This::wxGenericDirCtrl(), Path::string(). + This::wxGenericDirCtrl(), Path::unicode:chardata(). expandPath(#wx_ref{type=ThisT,ref=ThisRef},Path) when is_list(Path) -> ?CLASS(ThisT,wxGenericDirCtrl), @@ -180,7 +180,7 @@ expandPath(#wx_ref{type=ThisT,ref=ThisRef},Path) <>). %% @doc See external documentation. --spec getDefaultPath(This) -> string() when +-spec getDefaultPath(This) -> unicode:charlist() when This::wxGenericDirCtrl(). getDefaultPath(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGenericDirCtrl), @@ -188,7 +188,7 @@ getDefaultPath(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getPath(This) -> string() when +-spec getPath(This) -> unicode:charlist() when This::wxGenericDirCtrl(). getPath(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGenericDirCtrl), @@ -196,7 +196,7 @@ getPath(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getFilePath(This) -> string() when +-spec getFilePath(This) -> unicode:charlist() when This::wxGenericDirCtrl(). getFilePath(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGenericDirCtrl), @@ -204,7 +204,7 @@ getFilePath(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getFilter(This) -> string() when +-spec getFilter(This) -> unicode:charlist() when This::wxGenericDirCtrl(). getFilter(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGenericDirCtrl), @@ -245,7 +245,7 @@ reCreateTree(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @doc See external documentation. -spec setDefaultPath(This, Path) -> ok when - This::wxGenericDirCtrl(), Path::string(). + This::wxGenericDirCtrl(), Path::unicode:chardata(). setDefaultPath(#wx_ref{type=ThisT,ref=ThisRef},Path) when is_list(Path) -> ?CLASS(ThisT,wxGenericDirCtrl), @@ -255,7 +255,7 @@ setDefaultPath(#wx_ref{type=ThisT,ref=ThisRef},Path) %% @doc See external documentation. -spec setFilter(This, Filter) -> ok when - This::wxGenericDirCtrl(), Filter::string(). + This::wxGenericDirCtrl(), Filter::unicode:chardata(). setFilter(#wx_ref{type=ThisT,ref=ThisRef},Filter) when is_list(Filter) -> ?CLASS(ThisT,wxGenericDirCtrl), @@ -274,7 +274,7 @@ setFilterIndex(#wx_ref{type=ThisT,ref=ThisRef},N) %% @doc See external documentation. -spec setPath(This, Path) -> ok when - This::wxGenericDirCtrl(), Path::string(). + This::wxGenericDirCtrl(), Path::unicode:chardata(). setPath(#wx_ref{type=ThisT,ref=ThisRef},Path) when is_list(Path) -> ?CLASS(ThisT,wxGenericDirCtrl), @@ -283,7 +283,7 @@ setPath(#wx_ref{type=ThisT,ref=ThisRef},Path) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxGenericDirCtrl) -> ok. +-spec destroy(This::wxGenericDirCtrl()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxGenericDirCtrl), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxGraphicsContext.erl b/lib/wx/src/gen/wxGraphicsContext.erl index 3b5c554740..db69c278a7 100644 --- a/lib/wx/src/gen/wxGraphicsContext.erl +++ b/lib/wx/src/gen/wxGraphicsContext.erl @@ -280,7 +280,7 @@ drawRoundedRectangle(#wx_ref{type=ThisT,ref=ThisRef},X,Y,W,H,Radius) %% @doc See external documentation. -spec drawText(This, Str, X, Y) -> ok when - This::wxGraphicsContext(), Str::string(), X::number(), Y::number(). + This::wxGraphicsContext(), Str::unicode:chardata(), X::number(), Y::number(). drawText(#wx_ref{type=ThisT,ref=ThisRef},Str,X,Y) when is_list(Str),is_number(X),is_number(Y) -> ?CLASS(ThisT,wxGraphicsContext), @@ -290,9 +290,9 @@ drawText(#wx_ref{type=ThisT,ref=ThisRef},Str,X,Y) %% @doc See external documentation. -spec drawText(This, Str, X, Y, Angle) -> ok when - This::wxGraphicsContext(), Str::string(), X::number(), Y::number(), Angle::number(); + This::wxGraphicsContext(), Str::unicode:chardata(), X::number(), Y::number(), Angle::number(); (This, Str, X, Y, BackgroundBrush) -> ok when - This::wxGraphicsContext(), Str::string(), X::number(), Y::number(), BackgroundBrush::wxGraphicsBrush:wxGraphicsBrush(). + This::wxGraphicsContext(), Str::unicode:chardata(), X::number(), Y::number(), BackgroundBrush::wxGraphicsBrush:wxGraphicsBrush(). drawText(#wx_ref{type=ThisT,ref=ThisRef},Str,X,Y,Angle) when is_list(Str),is_number(X),is_number(Y),is_number(Angle) -> ?CLASS(ThisT,wxGraphicsContext), @@ -309,7 +309,7 @@ drawText(#wx_ref{type=ThisT,ref=ThisRef},Str,X,Y,#wx_ref{type=BackgroundBrushT,r %% @doc See external documentation. -spec drawText(This, Str, X, Y, Angle, BackgroundBrush) -> ok when - This::wxGraphicsContext(), Str::string(), X::number(), Y::number(), Angle::number(), BackgroundBrush::wxGraphicsBrush:wxGraphicsBrush(). + This::wxGraphicsContext(), Str::unicode:chardata(), X::number(), Y::number(), Angle::number(), BackgroundBrush::wxGraphicsBrush:wxGraphicsBrush(). drawText(#wx_ref{type=ThisT,ref=ThisRef},Str,X,Y,Angle,#wx_ref{type=BackgroundBrushT,ref=BackgroundBrushRef}) when is_list(Str),is_number(X),is_number(Y),is_number(Angle) -> ?CLASS(ThisT,wxGraphicsContext), @@ -351,7 +351,7 @@ strokePath(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PathT,ref=PathRef}) -> %% @doc See external documentation. -spec getPartialTextExtents(This, Text) -> [number()] when - This::wxGraphicsContext(), Text::string(). + This::wxGraphicsContext(), Text::unicode:chardata(). getPartialTextExtents(#wx_ref{type=ThisT,ref=ThisRef},Text) when is_list(Text) -> ?CLASS(ThisT,wxGraphicsContext), @@ -362,7 +362,7 @@ getPartialTextExtents(#wx_ref{type=ThisT,ref=ThisRef},Text) %% @doc See external documentation. -spec getTextExtent(This, Text) -> Result when Result ::{Width::number(), Height::number(), Descent::number(), ExternalLeading::number()}, - This::wxGraphicsContext(), Text::string(). + This::wxGraphicsContext(), Text::unicode:chardata(). getTextExtent(#wx_ref{type=ThisT,ref=ThisRef},Text) when is_list(Text) -> ?CLASS(ThisT,wxGraphicsContext), @@ -490,7 +490,7 @@ strokeLines(#wx_ref{type=ThisT,ref=ThisRef},Points) (<< <> || {X,Y} <- Points>>)/binary>>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxGraphicsContext) -> ok. +-spec destroy(This::wxGraphicsContext()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxGraphicsContext), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxGraphicsObject.erl b/lib/wx/src/gen/wxGraphicsObject.erl index b8b4be1dea..857a398e1f 100644 --- a/lib/wx/src/gen/wxGraphicsObject.erl +++ b/lib/wx/src/gen/wxGraphicsObject.erl @@ -51,7 +51,7 @@ isNull(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxGraphicsObject) -> ok. +-spec destroy(This::wxGraphicsObject()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxGraphicsObject), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxGrid.erl b/lib/wx/src/gen/wxGrid.erl index ab4ec3a44a..dd85c7b46d 100644 --- a/lib/wx/src/gen/wxGrid.erl +++ b/lib/wx/src/gen/wxGrid.erl @@ -669,7 +669,7 @@ getCellAlignment(#wx_ref{type=ThisT,ref=ThisRef},Row,Col) <>). %% @doc See external documentation. --spec getCellBackgroundColour(This, Row, Col) -> wx:wx_colour() when +-spec getCellBackgroundColour(This, Row, Col) -> wx:wx_colour4() when This::wxGrid(), Row::integer(), Col::integer(). getCellBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef},Row,Col) when is_integer(Row),is_integer(Col) -> @@ -705,7 +705,7 @@ getCellRenderer(#wx_ref{type=ThisT,ref=ThisRef},Row,Col) <>). %% @doc See external documentation. --spec getCellTextColour(This, Row, Col) -> wx:wx_colour() when +-spec getCellTextColour(This, Row, Col) -> wx:wx_colour4() when This::wxGrid(), Row::integer(), Col::integer(). getCellTextColour(#wx_ref{type=ThisT,ref=ThisRef},Row,Col) when is_integer(Row),is_integer(Col) -> @@ -714,7 +714,7 @@ getCellTextColour(#wx_ref{type=ThisT,ref=ThisRef},Row,Col) <>). %% @doc See external documentation. --spec getCellValue(This, Coords) -> string() when +-spec getCellValue(This, Coords) -> unicode:charlist() when This::wxGrid(), Coords::{R::integer(), C::integer()}. getCellValue(#wx_ref{type=ThisT,ref=ThisRef},{CoordsR,CoordsC}) when is_integer(CoordsR),is_integer(CoordsC) -> @@ -723,7 +723,7 @@ getCellValue(#wx_ref{type=ThisT,ref=ThisRef},{CoordsR,CoordsC}) <>). %% @doc See external documentation. --spec getCellValue(This, Row, Col) -> string() when +-spec getCellValue(This, Row, Col) -> unicode:charlist() when This::wxGrid(), Row::integer(), Col::integer(). getCellValue(#wx_ref{type=ThisT,ref=ThisRef},Row,Col) when is_integer(Row),is_integer(Col) -> @@ -748,7 +748,7 @@ getColLabelSize(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getColLabelValue(This, Col) -> string() when +-spec getColLabelValue(This, Col) -> unicode:charlist() when This::wxGrid(), Col::integer(). getColLabelValue(#wx_ref{type=ThisT,ref=ThisRef},Col) when is_integer(Col) -> @@ -773,7 +773,7 @@ getDefaultCellAlignment(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getDefaultCellBackgroundColour(This) -> wx:wx_colour() when +-spec getDefaultCellBackgroundColour(This) -> wx:wx_colour4() when This::wxGrid(). getDefaultCellBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), @@ -789,7 +789,7 @@ getDefaultCellFont(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getDefaultCellTextColour(This) -> wx:wx_colour() when +-spec getDefaultCellTextColour(This) -> wx:wx_colour4() when This::wxGrid(). getDefaultCellTextColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), @@ -840,7 +840,7 @@ getDefaultEditorForCell(#wx_ref{type=ThisT,ref=ThisRef},Row,Col) %% @doc See external documentation. -spec getDefaultEditorForType(This, TypeName) -> wxGridCellEditor:wxGridCellEditor() when - This::wxGrid(), TypeName::string(). + This::wxGrid(), TypeName::unicode:chardata(). getDefaultEditorForType(#wx_ref{type=ThisT,ref=ThisRef},TypeName) when is_list(TypeName) -> ?CLASS(ThisT,wxGrid), @@ -867,7 +867,7 @@ getDefaultRendererForCell(#wx_ref{type=ThisT,ref=ThisRef},Row,Col) %% @doc See external documentation. -spec getDefaultRendererForType(This, TypeName) -> wxGridCellRenderer:wxGridCellRenderer() when - This::wxGrid(), TypeName::string(). + This::wxGrid(), TypeName::unicode:chardata(). getDefaultRendererForType(#wx_ref{type=ThisT,ref=ThisRef},TypeName) when is_list(TypeName) -> ?CLASS(ThisT,wxGrid), @@ -908,7 +908,7 @@ getGridCursorRow(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getGridLineColour(This) -> wx:wx_colour() when +-spec getGridLineColour(This) -> wx:wx_colour4() when This::wxGrid(). getGridLineColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), @@ -924,7 +924,7 @@ gridLinesEnabled(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getLabelBackgroundColour(This) -> wx:wx_colour() when +-spec getLabelBackgroundColour(This) -> wx:wx_colour4() when This::wxGrid(). getLabelBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), @@ -940,7 +940,7 @@ getLabelFont(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getLabelTextColour(This) -> wx:wx_colour() when +-spec getLabelTextColour(This) -> wx:wx_colour4() when This::wxGrid(). getLabelTextColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), @@ -997,7 +997,7 @@ getRowLabelSize(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getRowLabelValue(This, Row) -> string() when +-spec getRowLabelValue(This, Row) -> unicode:charlist() when This::wxGrid(), Row::integer(). getRowLabelValue(#wx_ref{type=ThisT,ref=ThisRef},Row) when is_integer(Row) -> @@ -1055,7 +1055,7 @@ getSelectedRows(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getSelectionBackground(This) -> wx:wx_colour() when +-spec getSelectionBackground(This) -> wx:wx_colour4() when This::wxGrid(). getSelectionBackground(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), @@ -1079,7 +1079,7 @@ getSelectionBlockBottomRight(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getSelectionForeground(This) -> wx:wx_colour() when +-spec getSelectionForeground(This) -> wx:wx_colour4() when This::wxGrid(). getSelectionForeground(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGrid), @@ -1391,7 +1391,7 @@ movePageUp(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @doc See external documentation. -spec registerDataType(This, TypeName, Renderer, Editor) -> ok when - This::wxGrid(), TypeName::string(), Renderer::wxGridCellRenderer:wxGridCellRenderer(), Editor::wxGridCellEditor:wxGridCellEditor(). + This::wxGrid(), TypeName::unicode:chardata(), Renderer::wxGridCellRenderer:wxGridCellRenderer(), Editor::wxGridCellEditor:wxGridCellEditor(). registerDataType(#wx_ref{type=ThisT,ref=ThisRef},TypeName,#wx_ref{type=RendererT,ref=RendererRef},#wx_ref{type=EditorT,ref=EditorRef}) when is_list(TypeName) -> ?CLASS(ThisT,wxGrid), @@ -1610,7 +1610,7 @@ setCellTextColour(#wx_ref{type=ThisT,ref=ThisRef},Val,Row,Col) %% @doc See external documentation. -spec setCellValue(This, Coords, S) -> ok when - This::wxGrid(), Coords::{R::integer(), C::integer()}, S::string(). + This::wxGrid(), Coords::{R::integer(), C::integer()}, S::unicode:chardata(). setCellValue(#wx_ref{type=ThisT,ref=ThisRef},{CoordsR,CoordsC},S) when is_integer(CoordsR),is_integer(CoordsC),is_list(S) -> ?CLASS(ThisT,wxGrid), @@ -1620,9 +1620,9 @@ setCellValue(#wx_ref{type=ThisT,ref=ThisRef},{CoordsR,CoordsC},S) %% @doc See external documentation. -spec setCellValue(This, Row, Col, S) -> ok when - This::wxGrid(), Row::integer(), Col::integer(), S::string(); + This::wxGrid(), Row::integer(), Col::integer(), S::unicode:chardata(); (This, Val, Row, Col) -> ok when - This::wxGrid(), Val::string(), Row::integer(), Col::integer(). + This::wxGrid(), Val::unicode:chardata(), Row::integer(), Col::integer(). setCellValue(#wx_ref{type=ThisT,ref=ThisRef},Row,Col,S) when is_integer(Row),is_integer(Col),is_list(S) -> ?CLASS(ThisT,wxGrid), @@ -1689,7 +1689,7 @@ setColFormatFloat(#wx_ref{type=ThisT,ref=ThisRef},Col, Options) %% @doc See external documentation. -spec setColFormatCustom(This, Col, TypeName) -> ok when - This::wxGrid(), Col::integer(), TypeName::string(). + This::wxGrid(), Col::integer(), TypeName::unicode:chardata(). setColFormatCustom(#wx_ref{type=ThisT,ref=ThisRef},Col,TypeName) when is_integer(Col),is_list(TypeName) -> ?CLASS(ThisT,wxGrid), @@ -1717,7 +1717,7 @@ setColLabelSize(#wx_ref{type=ThisT,ref=ThisRef},Height) %% @doc See external documentation. -spec setColLabelValue(This, Col, Val) -> ok when - This::wxGrid(), Col::integer(), Val::string(). + This::wxGrid(), Col::integer(), Val::unicode:chardata(). setColLabelValue(#wx_ref{type=ThisT,ref=ThisRef},Col,Val) when is_integer(Col),is_list(Val) -> ?CLASS(ThisT,wxGrid), @@ -1953,7 +1953,7 @@ setRowLabelSize(#wx_ref{type=ThisT,ref=ThisRef},Width) %% @doc See external documentation. -spec setRowLabelValue(This, Row, Val) -> ok when - This::wxGrid(), Row::integer(), Val::string(). + This::wxGrid(), Row::integer(), Val::unicode:chardata(). setRowLabelValue(#wx_ref{type=ThisT,ref=ThisRef},Row,Val) when is_integer(Row),is_list(Val) -> ?CLASS(ThisT,wxGrid), @@ -2091,7 +2091,7 @@ yToRow(#wx_ref{type=ThisT,ref=ThisRef},Y) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxGrid) -> ok. +-spec destroy(This::wxGrid()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxGrid), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxGridBagSizer.erl b/lib/wx/src/gen/wxGridBagSizer.erl index 10d87d0a4e..4eea673c93 100644 --- a/lib/wx/src/gen/wxGridBagSizer.erl +++ b/lib/wx/src/gen/wxGridBagSizer.erl @@ -396,7 +396,7 @@ setItemSpan(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef}, <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxGridBagSizer) -> ok. +-spec destroy(This::wxGridBagSizer()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxGridBagSizer), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxGridCellAttr.erl b/lib/wx/src/gen/wxGridCellAttr.erl index 896bf97489..f03fd99d2a 100644 --- a/lib/wx/src/gen/wxGridCellAttr.erl +++ b/lib/wx/src/gen/wxGridCellAttr.erl @@ -162,7 +162,7 @@ hasEditor(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getTextColour(This) -> wx:wx_colour() when +-spec getTextColour(This) -> wx:wx_colour4() when This::wxGridCellAttr(). getTextColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGridCellAttr), @@ -170,7 +170,7 @@ getTextColour(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getBackgroundColour(This) -> wx:wx_colour() when +-spec getBackgroundColour(This) -> wx:wx_colour4() when This::wxGridCellAttr(). getBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGridCellAttr), diff --git a/lib/wx/src/gen/wxGridCellBoolEditor.erl b/lib/wx/src/gen/wxGridCellBoolEditor.erl index c4a68ac597..533554cd54 100644 --- a/lib/wx/src/gen/wxGridCellBoolEditor.erl +++ b/lib/wx/src/gen/wxGridCellBoolEditor.erl @@ -47,7 +47,7 @@ new() -> %% @doc See external documentation. -spec isTrueValue(Value) -> boolean() when - Value::string(). + Value::unicode:chardata(). isTrueValue(Value) when is_list(Value) -> Value_UC = unicode:characters_to_binary([Value,0]), @@ -62,8 +62,8 @@ useStringValues() -> %% @doc See external documentation. -spec useStringValues([Option]) -> ok when - Option :: {valueTrue, string()} - | {valueFalse, string()}. + Option :: {valueTrue, unicode:chardata()} + | {valueFalse, unicode:chardata()}. useStringValues(Options) when is_list(Options) -> MOpts = fun({valueTrue, ValueTrue}, Acc) -> ValueTrue_UC = unicode:characters_to_binary([ValueTrue,0]),[<<1:32/?UI,(byte_size(ValueTrue_UC)):32/?UI,(ValueTrue_UC)/binary, 0:(((8- ((0+byte_size(ValueTrue_UC)) band 16#7)) band 16#7))/unit:8>>|Acc]; @@ -74,7 +74,7 @@ useStringValues(Options) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxGridCellBoolEditor) -> ok. +-spec destroy(This::wxGridCellBoolEditor()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxGridCellBoolEditor), wxe_util:destroy(?wxGridCellBoolEditor_destroy,Obj), diff --git a/lib/wx/src/gen/wxGridCellBoolRenderer.erl b/lib/wx/src/gen/wxGridCellBoolRenderer.erl index ae9d4baf47..834f00a623 100644 --- a/lib/wx/src/gen/wxGridCellBoolRenderer.erl +++ b/lib/wx/src/gen/wxGridCellBoolRenderer.erl @@ -45,7 +45,7 @@ new() -> <<>>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxGridCellBoolRenderer) -> ok. +-spec destroy(This::wxGridCellBoolRenderer()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxGridCellBoolRenderer), wxe_util:destroy(?wxGridCellBoolRenderer_destroy,Obj), diff --git a/lib/wx/src/gen/wxGridCellChoiceEditor.erl b/lib/wx/src/gen/wxGridCellChoiceEditor.erl index d8ed206f07..6f7d7ceffb 100644 --- a/lib/wx/src/gen/wxGridCellChoiceEditor.erl +++ b/lib/wx/src/gen/wxGridCellChoiceEditor.erl @@ -41,7 +41,7 @@ parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -type wxGridCellChoiceEditor() :: wx:wx_object(). %% @equiv new(Choices, []) -spec new(Choices) -> wxGridCellChoiceEditor() when - Choices::[[string()]]. + Choices::[[unicode:chardata()]]. new(Choices) when is_list(Choices) -> @@ -49,7 +49,7 @@ new(Choices) %% @doc See external documentation. -spec new(Choices, [Option]) -> wxGridCellChoiceEditor() when - Choices::[[string()]], + Choices::[[unicode:chardata()]], Option :: {allowOthers, boolean()}. new(Choices, Options) when is_list(Choices),is_list(Options) -> @@ -63,7 +63,7 @@ new(Choices, Options) %% @doc See external documentation. -spec setParameters(This, Params) -> ok when - This::wxGridCellChoiceEditor(), Params::string(). + This::wxGridCellChoiceEditor(), Params::unicode:chardata(). setParameters(#wx_ref{type=ThisT,ref=ThisRef},Params) when is_list(Params) -> ?CLASS(ThisT,wxGridCellChoiceEditor), @@ -72,7 +72,7 @@ setParameters(#wx_ref{type=ThisT,ref=ThisRef},Params) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxGridCellChoiceEditor) -> ok. +-spec destroy(This::wxGridCellChoiceEditor()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxGridCellChoiceEditor), wxe_util:destroy(?wxGridCellChoiceEditor_destroy,Obj), diff --git a/lib/wx/src/gen/wxGridCellFloatEditor.erl b/lib/wx/src/gen/wxGridCellFloatEditor.erl index ebb5aa04d4..f6b7dce15e 100644 --- a/lib/wx/src/gen/wxGridCellFloatEditor.erl +++ b/lib/wx/src/gen/wxGridCellFloatEditor.erl @@ -60,7 +60,7 @@ new(Options) %% @doc See external documentation. -spec setParameters(This, Params) -> ok when - This::wxGridCellFloatEditor(), Params::string(). + This::wxGridCellFloatEditor(), Params::unicode:chardata(). setParameters(#wx_ref{type=ThisT,ref=ThisRef},Params) when is_list(Params) -> ?CLASS(ThisT,wxGridCellFloatEditor), @@ -69,7 +69,7 @@ setParameters(#wx_ref{type=ThisT,ref=ThisRef},Params) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxGridCellFloatEditor) -> ok. +-spec destroy(This::wxGridCellFloatEditor()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxGridCellFloatEditor), wxe_util:destroy(?wxGridCellFloatEditor_destroy,Obj), diff --git a/lib/wx/src/gen/wxGridCellFloatRenderer.erl b/lib/wx/src/gen/wxGridCellFloatRenderer.erl index 4e3450c90b..c090a60e74 100644 --- a/lib/wx/src/gen/wxGridCellFloatRenderer.erl +++ b/lib/wx/src/gen/wxGridCellFloatRenderer.erl @@ -78,7 +78,7 @@ getWidth(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @doc See external documentation. -spec setParameters(This, Params) -> ok when - This::wxGridCellFloatRenderer(), Params::string(). + This::wxGridCellFloatRenderer(), Params::unicode:chardata(). setParameters(#wx_ref{type=ThisT,ref=ThisRef},Params) when is_list(Params) -> ?CLASS(ThisT,wxGridCellFloatRenderer), @@ -105,7 +105,7 @@ setWidth(#wx_ref{type=ThisT,ref=ThisRef},Width) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxGridCellFloatRenderer) -> ok. +-spec destroy(This::wxGridCellFloatRenderer()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxGridCellFloatRenderer), wxe_util:destroy(?wxGridCellFloatRenderer_destroy,Obj), diff --git a/lib/wx/src/gen/wxGridCellNumberEditor.erl b/lib/wx/src/gen/wxGridCellNumberEditor.erl index c3ac0c41d5..68d5670367 100644 --- a/lib/wx/src/gen/wxGridCellNumberEditor.erl +++ b/lib/wx/src/gen/wxGridCellNumberEditor.erl @@ -61,7 +61,7 @@ new(Options) <>). %% @doc See external documentation. --spec getValue(This) -> string() when +-spec getValue(This) -> unicode:charlist() when This::wxGridCellNumberEditor(). getValue(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxGridCellNumberEditor), @@ -70,7 +70,7 @@ getValue(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @doc See external documentation. -spec setParameters(This, Params) -> ok when - This::wxGridCellNumberEditor(), Params::string(). + This::wxGridCellNumberEditor(), Params::unicode:chardata(). setParameters(#wx_ref{type=ThisT,ref=ThisRef},Params) when is_list(Params) -> ?CLASS(ThisT,wxGridCellNumberEditor), @@ -79,7 +79,7 @@ setParameters(#wx_ref{type=ThisT,ref=ThisRef},Params) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxGridCellNumberEditor) -> ok. +-spec destroy(This::wxGridCellNumberEditor()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxGridCellNumberEditor), wxe_util:destroy(?wxGridCellNumberEditor_destroy,Obj), diff --git a/lib/wx/src/gen/wxGridCellNumberRenderer.erl b/lib/wx/src/gen/wxGridCellNumberRenderer.erl index 5d5bd89960..b02b6d48c9 100644 --- a/lib/wx/src/gen/wxGridCellNumberRenderer.erl +++ b/lib/wx/src/gen/wxGridCellNumberRenderer.erl @@ -47,7 +47,7 @@ new() -> <<>>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxGridCellNumberRenderer) -> ok. +-spec destroy(This::wxGridCellNumberRenderer()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxGridCellNumberRenderer), wxe_util:destroy(?wxGridCellNumberRenderer_destroy,Obj), diff --git a/lib/wx/src/gen/wxGridCellStringRenderer.erl b/lib/wx/src/gen/wxGridCellStringRenderer.erl index 36887a3d52..78fdf558a2 100644 --- a/lib/wx/src/gen/wxGridCellStringRenderer.erl +++ b/lib/wx/src/gen/wxGridCellStringRenderer.erl @@ -45,7 +45,7 @@ new() -> <<>>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxGridCellStringRenderer) -> ok. +-spec destroy(This::wxGridCellStringRenderer()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxGridCellStringRenderer), wxe_util:destroy(?wxGridCellStringRenderer_destroy,Obj), diff --git a/lib/wx/src/gen/wxGridCellTextEditor.erl b/lib/wx/src/gen/wxGridCellTextEditor.erl index e849de7afd..44a324d5ea 100644 --- a/lib/wx/src/gen/wxGridCellTextEditor.erl +++ b/lib/wx/src/gen/wxGridCellTextEditor.erl @@ -47,7 +47,7 @@ new() -> %% @doc See external documentation. -spec setParameters(This, Params) -> ok when - This::wxGridCellTextEditor(), Params::string(). + This::wxGridCellTextEditor(), Params::unicode:chardata(). setParameters(#wx_ref{type=ThisT,ref=ThisRef},Params) when is_list(Params) -> ?CLASS(ThisT,wxGridCellTextEditor), @@ -56,7 +56,7 @@ setParameters(#wx_ref{type=ThisT,ref=ThisRef},Params) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxGridCellTextEditor) -> ok. +-spec destroy(This::wxGridCellTextEditor()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxGridCellTextEditor), wxe_util:destroy(?wxGridCellTextEditor_destroy,Obj), diff --git a/lib/wx/src/gen/wxGridSizer.erl b/lib/wx/src/gen/wxGridSizer.erl index 0893105352..10c905f041 100644 --- a/lib/wx/src/gen/wxGridSizer.erl +++ b/lib/wx/src/gen/wxGridSizer.erl @@ -146,7 +146,7 @@ setVGap(#wx_ref{type=ThisT,ref=ThisRef},Gap) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxGridSizer) -> ok. +-spec destroy(This::wxGridSizer()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxGridSizer), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxHtmlEasyPrinting.erl b/lib/wx/src/gen/wxHtmlEasyPrinting.erl index 5f1f55af64..2a5506053b 100644 --- a/lib/wx/src/gen/wxHtmlEasyPrinting.erl +++ b/lib/wx/src/gen/wxHtmlEasyPrinting.erl @@ -45,7 +45,7 @@ new() -> %% @doc See external documentation. -spec new([Option]) -> wxHtmlEasyPrinting() when - Option :: {name, string()} + Option :: {name, unicode:chardata()} | {parentWindow, wxWindow:wxWindow()}. new(Options) when is_list(Options) -> @@ -74,7 +74,7 @@ getPageSetupData(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @doc See external documentation. -spec previewFile(This, Htmlfile) -> boolean() when - This::wxHtmlEasyPrinting(), Htmlfile::string(). + This::wxHtmlEasyPrinting(), Htmlfile::unicode:chardata(). previewFile(#wx_ref{type=ThisT,ref=ThisRef},Htmlfile) when is_list(Htmlfile) -> ?CLASS(ThisT,wxHtmlEasyPrinting), @@ -84,7 +84,7 @@ previewFile(#wx_ref{type=ThisT,ref=ThisRef},Htmlfile) %% @equiv previewText(This,Htmltext, []) -spec previewText(This, Htmltext) -> boolean() when - This::wxHtmlEasyPrinting(), Htmltext::string(). + This::wxHtmlEasyPrinting(), Htmltext::unicode:chardata(). previewText(This,Htmltext) when is_record(This, wx_ref),is_list(Htmltext) -> @@ -92,8 +92,8 @@ previewText(This,Htmltext) %% @doc See external documentation. -spec previewText(This, Htmltext, [Option]) -> boolean() when - This::wxHtmlEasyPrinting(), Htmltext::string(), - Option :: {basepath, string()}. + This::wxHtmlEasyPrinting(), Htmltext::unicode:chardata(), + Option :: {basepath, unicode:chardata()}. previewText(#wx_ref{type=ThisT,ref=ThisRef},Htmltext, Options) when is_list(Htmltext),is_list(Options) -> ?CLASS(ThisT,wxHtmlEasyPrinting), @@ -106,7 +106,7 @@ previewText(#wx_ref{type=ThisT,ref=ThisRef},Htmltext, Options) %% @doc See external documentation. -spec printFile(This, Htmlfile) -> boolean() when - This::wxHtmlEasyPrinting(), Htmlfile::string(). + This::wxHtmlEasyPrinting(), Htmlfile::unicode:chardata(). printFile(#wx_ref{type=ThisT,ref=ThisRef},Htmlfile) when is_list(Htmlfile) -> ?CLASS(ThisT,wxHtmlEasyPrinting), @@ -116,7 +116,7 @@ printFile(#wx_ref{type=ThisT,ref=ThisRef},Htmlfile) %% @equiv printText(This,Htmltext, []) -spec printText(This, Htmltext) -> boolean() when - This::wxHtmlEasyPrinting(), Htmltext::string(). + This::wxHtmlEasyPrinting(), Htmltext::unicode:chardata(). printText(This,Htmltext) when is_record(This, wx_ref),is_list(Htmltext) -> @@ -124,8 +124,8 @@ printText(This,Htmltext) %% @doc See external documentation. -spec printText(This, Htmltext, [Option]) -> boolean() when - This::wxHtmlEasyPrinting(), Htmltext::string(), - Option :: {basepath, string()}. + This::wxHtmlEasyPrinting(), Htmltext::unicode:chardata(), + Option :: {basepath, unicode:chardata()}. printText(#wx_ref{type=ThisT,ref=ThisRef},Htmltext, Options) when is_list(Htmltext),is_list(Options) -> ?CLASS(ThisT,wxHtmlEasyPrinting), @@ -146,7 +146,7 @@ pageSetup(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @equiv setFonts(This,Normal_face,Fixed_face, []) -spec setFonts(This, Normal_face, Fixed_face) -> ok when - This::wxHtmlEasyPrinting(), Normal_face::string(), Fixed_face::string(). + This::wxHtmlEasyPrinting(), Normal_face::unicode:chardata(), Fixed_face::unicode:chardata(). setFonts(This,Normal_face,Fixed_face) when is_record(This, wx_ref),is_list(Normal_face),is_list(Fixed_face) -> @@ -154,7 +154,7 @@ setFonts(This,Normal_face,Fixed_face) %% @doc See external documentation. -spec setFonts(This, Normal_face, Fixed_face, [Option]) -> ok when - This::wxHtmlEasyPrinting(), Normal_face::string(), Fixed_face::string(), + This::wxHtmlEasyPrinting(), Normal_face::unicode:chardata(), Fixed_face::unicode:chardata(), Option :: {sizes, [integer()]}. setFonts(#wx_ref{type=ThisT,ref=ThisRef},Normal_face,Fixed_face, Options) when is_list(Normal_face),is_list(Fixed_face),is_list(Options) -> @@ -170,7 +170,7 @@ setFonts(#wx_ref{type=ThisT,ref=ThisRef},Normal_face,Fixed_face, Options) %% @equiv setHeader(This,Header, []) -spec setHeader(This, Header) -> ok when - This::wxHtmlEasyPrinting(), Header::string(). + This::wxHtmlEasyPrinting(), Header::unicode:chardata(). setHeader(This,Header) when is_record(This, wx_ref),is_list(Header) -> @@ -178,7 +178,7 @@ setHeader(This,Header) %% @doc See external documentation. -spec setHeader(This, Header, [Option]) -> ok when - This::wxHtmlEasyPrinting(), Header::string(), + This::wxHtmlEasyPrinting(), Header::unicode:chardata(), Option :: {pg, integer()}. setHeader(#wx_ref{type=ThisT,ref=ThisRef},Header, Options) when is_list(Header),is_list(Options) -> @@ -192,7 +192,7 @@ setHeader(#wx_ref{type=ThisT,ref=ThisRef},Header, Options) %% @equiv setFooter(This,Footer, []) -spec setFooter(This, Footer) -> ok when - This::wxHtmlEasyPrinting(), Footer::string(). + This::wxHtmlEasyPrinting(), Footer::unicode:chardata(). setFooter(This,Footer) when is_record(This, wx_ref),is_list(Footer) -> @@ -200,7 +200,7 @@ setFooter(This,Footer) %% @doc See external documentation. -spec setFooter(This, Footer, [Option]) -> ok when - This::wxHtmlEasyPrinting(), Footer::string(), + This::wxHtmlEasyPrinting(), Footer::unicode:chardata(), Option :: {pg, integer()}. setFooter(#wx_ref{type=ThisT,ref=ThisRef},Footer, Options) when is_list(Footer),is_list(Options) -> @@ -213,7 +213,7 @@ setFooter(#wx_ref{type=ThisT,ref=ThisRef},Footer, Options) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxHtmlEasyPrinting) -> ok. +-spec destroy(This::wxHtmlEasyPrinting()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxHtmlEasyPrinting), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxHtmlWindow.erl b/lib/wx/src/gen/wxHtmlWindow.erl index c8237ec31d..4820f7d075 100644 --- a/lib/wx/src/gen/wxHtmlWindow.erl +++ b/lib/wx/src/gen/wxHtmlWindow.erl @@ -123,7 +123,7 @@ new(#wx_ref{type=ParentT,ref=ParentRef}, Options) %% @doc See external documentation. -spec appendToPage(This, Source) -> boolean() when - This::wxHtmlWindow(), Source::string(). + This::wxHtmlWindow(), Source::unicode:chardata(). appendToPage(#wx_ref{type=ThisT,ref=ThisRef},Source) when is_list(Source) -> ?CLASS(ThisT,wxHtmlWindow), @@ -132,7 +132,7 @@ appendToPage(#wx_ref{type=ThisT,ref=ThisRef},Source) <>). %% @doc See external documentation. --spec getOpenedAnchor(This) -> string() when +-spec getOpenedAnchor(This) -> unicode:charlist() when This::wxHtmlWindow(). getOpenedAnchor(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxHtmlWindow), @@ -140,7 +140,7 @@ getOpenedAnchor(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getOpenedPage(This) -> string() when +-spec getOpenedPage(This) -> unicode:charlist() when This::wxHtmlWindow(). getOpenedPage(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxHtmlWindow), @@ -148,7 +148,7 @@ getOpenedPage(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getOpenedPageTitle(This) -> string() when +-spec getOpenedPageTitle(This) -> unicode:charlist() when This::wxHtmlWindow(). getOpenedPageTitle(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxHtmlWindow), @@ -205,7 +205,7 @@ historyForward(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @doc See external documentation. -spec loadFile(This, Filename) -> boolean() when - This::wxHtmlWindow(), Filename::string(). + This::wxHtmlWindow(), Filename::unicode:chardata(). loadFile(#wx_ref{type=ThisT,ref=ThisRef},Filename) when is_list(Filename) -> ?CLASS(ThisT,wxHtmlWindow), @@ -215,7 +215,7 @@ loadFile(#wx_ref{type=ThisT,ref=ThisRef},Filename) %% @doc See external documentation. -spec loadPage(This, Location) -> boolean() when - This::wxHtmlWindow(), Location::string(). + This::wxHtmlWindow(), Location::unicode:chardata(). loadPage(#wx_ref{type=ThisT,ref=ThisRef},Location) when is_list(Location) -> ?CLASS(ThisT,wxHtmlWindow), @@ -232,7 +232,7 @@ selectAll(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec selectionToText(This) -> string() when +-spec selectionToText(This) -> unicode:charlist() when This::wxHtmlWindow(). selectionToText(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxHtmlWindow), @@ -268,7 +268,7 @@ setBorders(#wx_ref{type=ThisT,ref=ThisRef},B) %% @equiv setFonts(This,Normal_face,Fixed_face, []) -spec setFonts(This, Normal_face, Fixed_face) -> ok when - This::wxHtmlWindow(), Normal_face::string(), Fixed_face::string(). + This::wxHtmlWindow(), Normal_face::unicode:chardata(), Fixed_face::unicode:chardata(). setFonts(This,Normal_face,Fixed_face) when is_record(This, wx_ref),is_list(Normal_face),is_list(Fixed_face) -> @@ -276,7 +276,7 @@ setFonts(This,Normal_face,Fixed_face) %% @doc See external documentation. -spec setFonts(This, Normal_face, Fixed_face, [Option]) -> ok when - This::wxHtmlWindow(), Normal_face::string(), Fixed_face::string(), + This::wxHtmlWindow(), Normal_face::unicode:chardata(), Fixed_face::unicode:chardata(), Option :: {sizes, integer()}. setFonts(#wx_ref{type=ThisT,ref=ThisRef},Normal_face,Fixed_face, Options) when is_list(Normal_face),is_list(Fixed_face),is_list(Options) -> @@ -291,7 +291,7 @@ setFonts(#wx_ref{type=ThisT,ref=ThisRef},Normal_face,Fixed_face, Options) %% @doc See external documentation. -spec setPage(This, Source) -> boolean() when - This::wxHtmlWindow(), Source::string(). + This::wxHtmlWindow(), Source::unicode:chardata(). setPage(#wx_ref{type=ThisT,ref=ThisRef},Source) when is_list(Source) -> ?CLASS(ThisT,wxHtmlWindow), @@ -301,7 +301,7 @@ setPage(#wx_ref{type=ThisT,ref=ThisRef},Source) %% @doc See external documentation. -spec setRelatedFrame(This, Frame, Format) -> ok when - This::wxHtmlWindow(), Frame::wxFrame:wxFrame(), Format::string(). + This::wxHtmlWindow(), Frame::wxFrame:wxFrame(), Format::unicode:chardata(). setRelatedFrame(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FrameT,ref=FrameRef},Format) when is_list(Format) -> ?CLASS(ThisT,wxHtmlWindow), @@ -320,7 +320,7 @@ setRelatedStatusBar(#wx_ref{type=ThisT,ref=ThisRef},Bar) <>). %% @doc See external documentation. --spec toText(This) -> string() when +-spec toText(This) -> unicode:charlist() when This::wxHtmlWindow(). toText(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxHtmlWindow), @@ -328,7 +328,7 @@ toText(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxHtmlWindow) -> ok. +-spec destroy(This::wxHtmlWindow()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxHtmlWindow), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxIcon.erl b/lib/wx/src/gen/wxIcon.erl index 0e218f9917..ac202130b3 100644 --- a/lib/wx/src/gen/wxIcon.erl +++ b/lib/wx/src/gen/wxIcon.erl @@ -49,7 +49,7 @@ new() -> %% @doc See external documentation. -spec new(Filename) -> wxIcon() when - Filename::string(); + Filename::unicode:chardata(); (Loc) -> wxIcon() when Loc::wx:wx(). @@ -64,7 +64,7 @@ new(#wx_ref{type=LocT,ref=LocRef}) -> %% @doc See external documentation. %%
Type = ?wxBITMAP_TYPE_INVALID | ?wxBITMAP_TYPE_BMP | ?wxBITMAP_TYPE_BMP_RESOURCE | ?wxBITMAP_TYPE_RESOURCE | ?wxBITMAP_TYPE_ICO | ?wxBITMAP_TYPE_ICO_RESOURCE | ?wxBITMAP_TYPE_CUR | ?wxBITMAP_TYPE_CUR_RESOURCE | ?wxBITMAP_TYPE_XBM | ?wxBITMAP_TYPE_XBM_DATA | ?wxBITMAP_TYPE_XPM | ?wxBITMAP_TYPE_XPM_DATA | ?wxBITMAP_TYPE_TIF | ?wxBITMAP_TYPE_TIF_RESOURCE | ?wxBITMAP_TYPE_GIF | ?wxBITMAP_TYPE_GIF_RESOURCE | ?wxBITMAP_TYPE_PNG | ?wxBITMAP_TYPE_PNG_RESOURCE | ?wxBITMAP_TYPE_JPEG | ?wxBITMAP_TYPE_JPEG_RESOURCE | ?wxBITMAP_TYPE_PNM | ?wxBITMAP_TYPE_PNM_RESOURCE | ?wxBITMAP_TYPE_PCX | ?wxBITMAP_TYPE_PCX_RESOURCE | ?wxBITMAP_TYPE_PICT | ?wxBITMAP_TYPE_PICT_RESOURCE | ?wxBITMAP_TYPE_ICON | ?wxBITMAP_TYPE_ICON_RESOURCE | ?wxBITMAP_TYPE_ANI | ?wxBITMAP_TYPE_IFF | ?wxBITMAP_TYPE_TGA | ?wxBITMAP_TYPE_MACCURSOR | ?wxBITMAP_TYPE_MACCURSOR_RESOURCE | ?wxBITMAP_TYPE_ANY -spec new(Filename, [Option]) -> wxIcon() when - Filename::string(), + Filename::unicode:chardata(), Option :: {type, wx:wx_enum()} | {desiredWidth, integer()} | {desiredHeight, integer()}. @@ -89,7 +89,7 @@ copyFromBitmap(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BmpT,ref=BmpRef}) -> <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxIcon) -> ok. +-spec destroy(This::wxIcon()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxIcon), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxIconBundle.erl b/lib/wx/src/gen/wxIconBundle.erl index 4d4614f171..113511f3ee 100644 --- a/lib/wx/src/gen/wxIconBundle.erl +++ b/lib/wx/src/gen/wxIconBundle.erl @@ -55,7 +55,7 @@ new(#wx_ref{type=IcT,ref=IcRef}) -> %% @doc See external documentation. -spec new(File, Type) -> wxIconBundle() when - File::string(), Type::integer(). + File::unicode:chardata(), Type::integer(). new(File,Type) when is_list(File),is_integer(Type) -> File_UC = unicode:characters_to_binary([File,0]), @@ -73,7 +73,7 @@ addIcon(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=IconT,ref=IconRef}) -> %% @doc See external documentation. -spec addIcon(This, File, Type) -> ok when - This::wxIconBundle(), File::string(), Type::integer(). + This::wxIconBundle(), File::unicode:chardata(), Type::integer(). addIcon(#wx_ref{type=ThisT,ref=ThisRef},File,Type) when is_list(File),is_integer(Type) -> ?CLASS(ThisT,wxIconBundle), @@ -110,7 +110,7 @@ getIcon(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH}) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxIconBundle) -> ok. +-spec destroy(This::wxIconBundle()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxIconBundle), wxe_util:destroy(?wxIconBundle_destruct,Obj), diff --git a/lib/wx/src/gen/wxImage.erl b/lib/wx/src/gen/wxImage.erl index 36d83ebadc..535133e665 100644 --- a/lib/wx/src/gen/wxImage.erl +++ b/lib/wx/src/gen/wxImage.erl @@ -60,7 +60,7 @@ new() -> %% @equiv new(Name, []) -spec new(Name) -> wxImage() when - Name::string(). + Name::unicode:chardata(). new(Name) when is_list(Name) -> @@ -70,7 +70,7 @@ new(Name) -spec new(Width, Height) -> wxImage() when Width::integer(), Height::integer(); (Name, [Option]) -> wxImage() when - Name::string(), + Name::unicode:chardata(), Option :: {type, integer()} | {index, integer()}. @@ -94,7 +94,7 @@ new(Name, Options) Width::integer(), Height::integer(), Option :: {clear, boolean()}; (Name, Mimetype, [Option]) -> wxImage() when - Name::string(), Mimetype::string(), + Name::unicode:chardata(), Mimetype::unicode:chardata(), Option :: {index, integer()}. new(Width,Height,Data) @@ -338,7 +338,7 @@ findFirstUnusedColour(#wx_ref{type=ThisT,ref=ThisRef}, Options) <>). %% @doc See external documentation. --spec getImageExtWildcard() -> string(). +-spec getImageExtWildcard() -> unicode:charlist(). getImageExtWildcard() -> wxe_util:call(?wxImage_GetImageExtWildcard, <<>>). @@ -388,7 +388,7 @@ getGreen(#wx_ref{type=ThisT,ref=ThisRef},X,Y) %% @equiv getImageCount(Name, []) -spec getImageCount(Name) -> integer() when - Name::string(). + Name::unicode:chardata(). getImageCount(Name) when is_list(Name) -> @@ -396,7 +396,7 @@ getImageCount(Name) %% @doc See external documentation. -spec getImageCount(Name, [Option]) -> integer() when - Name::string(), + Name::unicode:chardata(), Option :: {type, integer()}. getImageCount(Name, Options) when is_list(Name),is_list(Options) -> @@ -499,8 +499,8 @@ hasMask(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getOption(This, Name) -> string() when - This::wxImage(), Name::string(). +-spec getOption(This, Name) -> unicode:charlist() when + This::wxImage(), Name::unicode:chardata(). getOption(#wx_ref{type=ThisT,ref=ThisRef},Name) when is_list(Name) -> ?CLASS(ThisT,wxImage), @@ -510,7 +510,7 @@ getOption(#wx_ref{type=ThisT,ref=ThisRef},Name) %% @doc See external documentation. -spec getOptionInt(This, Name) -> integer() when - This::wxImage(), Name::string(). + This::wxImage(), Name::unicode:chardata(). getOptionInt(#wx_ref{type=ThisT,ref=ThisRef},Name) when is_list(Name) -> ?CLASS(ThisT,wxImage), @@ -520,7 +520,7 @@ getOptionInt(#wx_ref{type=ThisT,ref=ThisRef},Name) %% @doc See external documentation. -spec hasOption(This, Name) -> boolean() when - This::wxImage(), Name::string(). + This::wxImage(), Name::unicode:chardata(). hasOption(#wx_ref{type=ThisT,ref=ThisRef},Name) when is_list(Name) -> ?CLASS(ThisT,wxImage), @@ -565,7 +565,7 @@ isTransparent(#wx_ref{type=ThisT,ref=ThisRef},X,Y, Options) %% @equiv loadFile(This,Name, []) -spec loadFile(This, Name) -> boolean() when - This::wxImage(), Name::string(). + This::wxImage(), Name::unicode:chardata(). loadFile(This,Name) when is_record(This, wx_ref),is_list(Name) -> @@ -573,7 +573,7 @@ loadFile(This,Name) %% @doc See external documentation. -spec loadFile(This, Name, [Option]) -> boolean() when - This::wxImage(), Name::string(), + This::wxImage(), Name::unicode:chardata(), Option :: {type, integer()} | {index, integer()}. loadFile(#wx_ref{type=ThisT,ref=ThisRef},Name, Options) @@ -589,7 +589,7 @@ loadFile(#wx_ref{type=ThisT,ref=ThisRef},Name, Options) %% @doc See external documentation. -spec loadFile(This, Name, Mimetype, [Option]) -> boolean() when - This::wxImage(), Name::string(), Mimetype::string(), + This::wxImage(), Name::unicode:chardata(), Mimetype::unicode:chardata(), Option :: {index, integer()}. loadFile(#wx_ref{type=ThisT,ref=ThisRef},Name,Mimetype, Options) when is_list(Name),is_list(Mimetype),is_list(Options) -> @@ -612,7 +612,7 @@ ok(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @doc See external documentation. -spec removeHandler(Name) -> boolean() when - Name::string(). + Name::unicode:chardata(). removeHandler(Name) when is_list(Name) -> Name_UC = unicode:characters_to_binary([Name,0]), @@ -750,7 +750,7 @@ rotate90(#wx_ref{type=ThisT,ref=ThisRef}, Options) %% @doc See external documentation. -spec saveFile(This, Name) -> boolean() when - This::wxImage(), Name::string(). + This::wxImage(), Name::unicode:chardata(). saveFile(#wx_ref{type=ThisT,ref=ThisRef},Name) when is_list(Name) -> ?CLASS(ThisT,wxImage), @@ -760,9 +760,9 @@ saveFile(#wx_ref{type=ThisT,ref=ThisRef},Name) %% @doc See external documentation. -spec saveFile(This, Name, Type) -> boolean() when - This::wxImage(), Name::string(), Type::integer(); + This::wxImage(), Name::unicode:chardata(), Type::integer(); (This, Name, Mimetype) -> boolean() when - This::wxImage(), Name::string(), Mimetype::string(). + This::wxImage(), Name::unicode:chardata(), Mimetype::unicode:chardata(). saveFile(#wx_ref{type=ThisT,ref=ThisRef},Name,Type) when is_list(Name),is_integer(Type) -> ?CLASS(ThisT,wxImage), @@ -940,9 +940,9 @@ setMaskFromImage(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=MaskT,ref=MaskRef} %% @doc See external documentation. -spec setOption(This, Name, Value) -> ok when - This::wxImage(), Name::string(), Value::integer(); + This::wxImage(), Name::unicode:chardata(), Value::integer(); (This, Name, Value) -> ok when - This::wxImage(), Name::string(), Value::string(). + This::wxImage(), Name::unicode:chardata(), Value::unicode:chardata(). setOption(#wx_ref{type=ThisT,ref=ThisRef},Name,Value) when is_list(Name),is_integer(Value) -> ?CLASS(ThisT,wxImage), @@ -985,7 +985,7 @@ setRGB(#wx_ref{type=ThisT,ref=ThisRef},X,Y,R,G,B) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxImage) -> ok. +-spec destroy(This::wxImage()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxImage), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxImageList.erl b/lib/wx/src/gen/wxImageList.erl index a2049ce052..e027d31b3d 100644 --- a/lib/wx/src/gen/wxImageList.erl +++ b/lib/wx/src/gen/wxImageList.erl @@ -213,7 +213,7 @@ replace(#wx_ref{type=ThisT,ref=ThisRef},Index,#wx_ref{type=BitmapT,ref=BitmapRef <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxImageList) -> ok. +-spec destroy(This::wxImageList()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxImageList), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxLayoutAlgorithm.erl b/lib/wx/src/gen/wxLayoutAlgorithm.erl index c9a7314c87..d0736e2379 100644 --- a/lib/wx/src/gen/wxLayoutAlgorithm.erl +++ b/lib/wx/src/gen/wxLayoutAlgorithm.erl @@ -108,7 +108,7 @@ layoutWindow(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FrameT,ref=FrameRef}, <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxLayoutAlgorithm) -> ok. +-spec destroy(This::wxLayoutAlgorithm()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxLayoutAlgorithm), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxListBox.erl b/lib/wx/src/gen/wxListBox.erl index 5cd8ba8127..d09f37811d 100644 --- a/lib/wx/src/gen/wxListBox.erl +++ b/lib/wx/src/gen/wxListBox.erl @@ -102,7 +102,7 @@ new(Parent,Id) Parent::wxWindow:wxWindow(), Id::integer(), Option :: {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} - | {choices, [[string()]]} + | {choices, [[unicode:chardata()]]} | {style, integer()} | {validator, wx:wx()}. new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options) @@ -120,7 +120,7 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options) %% @equiv create(This,Parent,Id,Pos,Size,Choices, []) -spec create(This, Parent, Id, Pos, Size, Choices) -> boolean() when - This::wxListBox(), Parent::wxWindow:wxWindow(), Id::integer(), Pos::{X::integer(), Y::integer()}, Size::{W::integer(), H::integer()}, Choices::[[string()]]. + This::wxListBox(), Parent::wxWindow:wxWindow(), Id::integer(), Pos::{X::integer(), Y::integer()}, Size::{W::integer(), H::integer()}, Choices::[[unicode:chardata()]]. create(This,Parent,Id,Pos={PosX,PosY},Size={SizeW,SizeH},Choices) when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id),is_integer(PosX),is_integer(PosY),is_integer(SizeW),is_integer(SizeH),is_list(Choices) -> @@ -128,7 +128,7 @@ create(This,Parent,Id,Pos={PosX,PosY},Size={SizeW,SizeH},Choices) %% @doc See external documentation. -spec create(This, Parent, Id, Pos, Size, Choices, [Option]) -> boolean() when - This::wxListBox(), Parent::wxWindow:wxWindow(), Id::integer(), Pos::{X::integer(), Y::integer()}, Size::{W::integer(), H::integer()}, Choices::[[string()]], + This::wxListBox(), Parent::wxWindow:wxWindow(), Id::integer(), Pos::{X::integer(), Y::integer()}, Size::{W::integer(), H::integer()}, Choices::[[unicode:chardata()]], Option :: {style, integer()} | {validator, wx:wx()}. create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,{PosX,PosY},{SizeW,SizeH},Choices, Options) @@ -164,7 +164,7 @@ getSelections(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @doc See external documentation. -spec insertItems(This, Items, Pos) -> ok when - This::wxListBox(), Items::[[string()]], Pos::integer(). + This::wxListBox(), Items::[[unicode:chardata()]], Pos::integer(). insertItems(#wx_ref{type=ThisT,ref=ThisRef},Items,Pos) when is_list(Items),is_integer(Pos) -> ?CLASS(ThisT,wxListBox), @@ -184,7 +184,7 @@ isSelected(#wx_ref{type=ThisT,ref=ThisRef},N) %% @doc See external documentation. -spec set(This, Items) -> ok when - This::wxListBox(), Items::[[string()]]. + This::wxListBox(), Items::[[unicode:chardata()]]. set(#wx_ref{type=ThisT,ref=ThisRef},Items) when is_list(Items) -> ?CLASS(ThisT,wxListBox), @@ -206,7 +206,7 @@ hitTest(#wx_ref{type=ThisT,ref=ThisRef},{PointX,PointY}) -spec setFirstItem(This, N) -> ok when This::wxListBox(), N::integer(); (This, S) -> ok when - This::wxListBox(), S::string(). + This::wxListBox(), S::unicode:chardata(). setFirstItem(#wx_ref{type=ThisT,ref=ThisRef},N) when is_integer(N) -> ?CLASS(ThisT,wxListBox), @@ -220,7 +220,7 @@ setFirstItem(#wx_ref{type=ThisT,ref=ThisRef},S) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxListBox) -> ok. +-spec destroy(This::wxListBox()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxListBox), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxListCtrl.erl b/lib/wx/src/gen/wxListCtrl.erl index ae2db0ae2f..81a547b10f 100644 --- a/lib/wx/src/gen/wxListCtrl.erl +++ b/lib/wx/src/gen/wxListCtrl.erl @@ -263,7 +263,7 @@ ensureVisible(#wx_ref{type=ThisT,ref=ThisRef},Item) %% @equiv findItem(This,Start,Str, []) -spec findItem(This, Start, Str) -> integer() when - This::wxListCtrl(), Start::integer(), Str::string(). + This::wxListCtrl(), Start::integer(), Str::unicode:chardata(). findItem(This,Start,Str) when is_record(This, wx_ref),is_integer(Start),is_list(Str) -> @@ -271,7 +271,7 @@ findItem(This,Start,Str) %% @doc See external documentation. -spec findItem(This, Start, Str, [Option]) -> integer() when - This::wxListCtrl(), Start::integer(), Str::string(), + This::wxListCtrl(), Start::integer(), Str::unicode:chardata(), Option :: {partial, boolean()}; (This, Start, Pt, Direction) -> integer() when This::wxListCtrl(), Start::integer(), Pt::{X::integer(), Y::integer()}, Direction::integer(). @@ -352,7 +352,7 @@ getItem(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=InfoT,ref=InfoRef}) -> <>). %% @doc See external documentation. --spec getItemBackgroundColour(This, Item) -> wx:wx_colour() when +-spec getItemBackgroundColour(This, Item) -> wx:wx_colour4() when This::wxListCtrl(), Item::integer(). getItemBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef},Item) when is_integer(Item) -> @@ -434,7 +434,7 @@ getItemState(#wx_ref{type=ThisT,ref=ThisRef},Item,StateMask) <>). %% @doc See external documentation. --spec getItemText(This, Item) -> string() when +-spec getItemText(This, Item) -> unicode:charlist() when This::wxListCtrl(), Item::integer(). getItemText(#wx_ref{type=ThisT,ref=ThisRef},Item) when is_integer(Item) -> @@ -443,7 +443,7 @@ getItemText(#wx_ref{type=ThisT,ref=ThisRef},Item) <>). %% @doc See external documentation. --spec getItemTextColour(This, Item) -> wx:wx_colour() when +-spec getItemTextColour(This, Item) -> wx:wx_colour4() when This::wxListCtrl(), Item::integer(). getItemTextColour(#wx_ref{type=ThisT,ref=ThisRef},Item) when is_integer(Item) -> @@ -483,7 +483,7 @@ getSelectedItemCount(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getTextColour(This) -> wx:wx_colour() when +-spec getTextColour(This) -> wx:wx_colour4() when This::wxListCtrl(). getTextColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListCtrl), @@ -518,7 +518,7 @@ hitTest(#wx_ref{type=ThisT,ref=ThisRef},{PointX,PointY}) %% @doc See external documentation. -spec insertColumn(This, Col, Heading) -> integer() when - This::wxListCtrl(), Col::integer(), Heading::string(); + This::wxListCtrl(), Col::integer(), Heading::unicode:chardata(); (This, Col, Info) -> integer() when This::wxListCtrl(), Col::integer(), Info::wxListItem:wxListItem(). @@ -534,7 +534,7 @@ insertColumn(#wx_ref{type=ThisT,ref=ThisRef},Col,#wx_ref{type=InfoT,ref=InfoRef} %% @doc See external documentation. -spec insertColumn(This, Col, Heading, [Option]) -> integer() when - This::wxListCtrl(), Col::integer(), Heading::string(), + This::wxListCtrl(), Col::integer(), Heading::unicode:chardata(), Option :: {format, integer()} | {width, integer()}. insertColumn(#wx_ref{type=ThisT,ref=ThisRef},Col,Heading, Options) @@ -561,7 +561,7 @@ insertItem(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=InfoT,ref=InfoRef}) -> -spec insertItem(This, Index, ImageIndex) -> integer() when This::wxListCtrl(), Index::integer(), ImageIndex::integer(); (This, Index, Label) -> integer() when - This::wxListCtrl(), Index::integer(), Label::string(). + This::wxListCtrl(), Index::integer(), Label::unicode:chardata(). insertItem(#wx_ref{type=ThisT,ref=ThisRef},Index,ImageIndex) when is_integer(Index),is_integer(ImageIndex) -> ?CLASS(ThisT,wxListCtrl), @@ -576,7 +576,7 @@ insertItem(#wx_ref{type=ThisT,ref=ThisRef},Index,Label) %% @doc See external documentation. -spec insertItem(This, Index, Label, ImageIndex) -> integer() when - This::wxListCtrl(), Index::integer(), Label::string(), ImageIndex::integer(). + This::wxListCtrl(), Index::integer(), Label::unicode:chardata(), ImageIndex::integer(). insertItem(#wx_ref{type=ThisT,ref=ThisRef},Index,Label,ImageIndex) when is_integer(Index),is_list(Label),is_integer(ImageIndex) -> ?CLASS(ThisT,wxListCtrl), @@ -660,7 +660,7 @@ setItem(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=InfoT,ref=InfoRef}) -> %% @equiv setItem(This,Index,Col,Label, []) -spec setItem(This, Index, Col, Label) -> integer() when - This::wxListCtrl(), Index::integer(), Col::integer(), Label::string(). + This::wxListCtrl(), Index::integer(), Col::integer(), Label::unicode:chardata(). setItem(This,Index,Col,Label) when is_record(This, wx_ref),is_integer(Index),is_integer(Col),is_list(Label) -> @@ -668,7 +668,7 @@ setItem(This,Index,Col,Label) %% @doc See external documentation. -spec setItem(This, Index, Col, Label, [Option]) -> integer() when - This::wxListCtrl(), Index::integer(), Col::integer(), Label::string(), + This::wxListCtrl(), Index::integer(), Col::integer(), Label::unicode:chardata(), Option :: {imageId, integer()}. setItem(#wx_ref{type=ThisT,ref=ThisRef},Index,Col,Label, Options) when is_integer(Index),is_integer(Col),is_list(Label),is_list(Options) -> @@ -767,7 +767,7 @@ setItemState(#wx_ref{type=ThisT,ref=ThisRef},Item,State,StateMask) %% @doc See external documentation. -spec setItemText(This, Item, Str) -> ok when - This::wxListCtrl(), Item::integer(), Str::string(). + This::wxListCtrl(), Item::integer(), Str::unicode:chardata(). setItemText(#wx_ref{type=ThisT,ref=ThisRef},Item,Str) when is_integer(Item),is_list(Str) -> ?CLASS(ThisT,wxListCtrl), @@ -842,7 +842,7 @@ sortItems(#wx_ref{type=ThisT,ref=ThisRef}, SortCallBack) SortId = wxe_util:get_cbId(Sort), wxe_util:call(?wxListCtrl_SortItems, <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxListCtrl) -> ok. +-spec destroy(This::wxListCtrl()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxListCtrl), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxListEvent.erl b/lib/wx/src/gen/wxListEvent.erl index f09dee4e32..9cbb816096 100644 --- a/lib/wx/src/gen/wxListEvent.erl +++ b/lib/wx/src/gen/wxListEvent.erl @@ -99,7 +99,7 @@ getPoint(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getLabel(This) -> string() when +-spec getLabel(This) -> unicode:charlist() when This::wxListEvent(). getLabel(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListEvent), @@ -107,7 +107,7 @@ getLabel(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getText(This) -> string() when +-spec getText(This) -> unicode:charlist() when This::wxListEvent(). getText(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListEvent), diff --git a/lib/wx/src/gen/wxListItem.erl b/lib/wx/src/gen/wxListItem.erl index f5662f8942..787d686135 100644 --- a/lib/wx/src/gen/wxListItem.erl +++ b/lib/wx/src/gen/wxListItem.erl @@ -70,7 +70,7 @@ getAlign(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getBackgroundColour(This) -> wx:wx_colour() when +-spec getBackgroundColour(This) -> wx:wx_colour4() when This::wxListItem(). getBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListItem), @@ -126,7 +126,7 @@ getState(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getText(This) -> string() when +-spec getText(This) -> unicode:charlist() when This::wxListItem(). getText(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListItem), @@ -134,7 +134,7 @@ getText(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getTextColour(This) -> wx:wx_colour() when +-spec getTextColour(This) -> wx:wx_colour4() when This::wxListItem(). getTextColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListItem), @@ -233,7 +233,7 @@ setStateMask(#wx_ref{type=ThisT,ref=ThisRef},StateMask) %% @doc See external documentation. -spec setText(This, Text) -> ok when - This::wxListItem(), Text::string(). + This::wxListItem(), Text::unicode:chardata(). setText(#wx_ref{type=ThisT,ref=ThisRef},Text) when is_list(Text) -> ?CLASS(ThisT,wxListItem), @@ -260,7 +260,7 @@ setWidth(#wx_ref{type=ThisT,ref=ThisRef},Width) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxListItem) -> ok. +-spec destroy(This::wxListItem()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxListItem), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxListItemAttr.erl b/lib/wx/src/gen/wxListItemAttr.erl index 4616e551ec..daf5ebe96a 100644 --- a/lib/wx/src/gen/wxListItemAttr.erl +++ b/lib/wx/src/gen/wxListItemAttr.erl @@ -52,7 +52,7 @@ new(ColText,ColBack,#wx_ref{type=FontT,ref=FontRef}) <<(wxe_util:colour_bin(ColText)):16/binary,(wxe_util:colour_bin(ColBack)):16/binary,FontRef:32/?UI>>). %% @doc See external documentation. --spec getBackgroundColour(This) -> wx:wx_colour() when +-spec getBackgroundColour(This) -> wx:wx_colour4() when This::wxListItemAttr(). getBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListItemAttr), @@ -68,7 +68,7 @@ getFont(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getTextColour(This) -> wx:wx_colour() when +-spec getTextColour(This) -> wx:wx_colour4() when This::wxListItemAttr(). getTextColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxListItemAttr), @@ -127,7 +127,7 @@ setTextColour(#wx_ref{type=ThisT,ref=ThisRef},ColText) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxListItemAttr) -> ok. +-spec destroy(This::wxListItemAttr()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxListItemAttr), wxe_util:destroy(?wxListItemAttr_destroy,Obj), diff --git a/lib/wx/src/gen/wxListbook.erl b/lib/wx/src/gen/wxListbook.erl index bacc615004..0907d554f4 100644 --- a/lib/wx/src/gen/wxListbook.erl +++ b/lib/wx/src/gen/wxListbook.erl @@ -115,7 +115,7 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options) %% @equiv addPage(This,Page,Text, []) -spec addPage(This, Page, Text) -> boolean() when - This::wxListbook(), Page::wxWindow:wxWindow(), Text::string(). + This::wxListbook(), Page::wxWindow:wxWindow(), Text::unicode:chardata(). addPage(This,Page,Text) when is_record(This, wx_ref),is_record(Page, wx_ref),is_list(Text) -> @@ -123,7 +123,7 @@ addPage(This,Page,Text) %% @doc See external documentation. -spec addPage(This, Page, Text, [Option]) -> boolean() when - This::wxListbook(), Page::wxWindow:wxWindow(), Text::string(), + This::wxListbook(), Page::wxWindow:wxWindow(), Text::unicode:chardata(), Option :: {bSelect, boolean()} | {imageId, integer()}. addPage(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PageT,ref=PageRef},Text, Options) @@ -263,7 +263,7 @@ getPageImage(#wx_ref{type=ThisT,ref=ThisRef},N) <>). %% @doc See external documentation. --spec getPageText(This, N) -> string() when +-spec getPageText(This, N) -> unicode:charlist() when This::wxListbook(), N::integer(). getPageText(#wx_ref{type=ThisT,ref=ThisRef},N) when is_integer(N) -> @@ -291,7 +291,7 @@ hitTest(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY}) %% @equiv insertPage(This,N,Page,Text, []) -spec insertPage(This, N, Page, Text) -> boolean() when - This::wxListbook(), N::integer(), Page::wxWindow:wxWindow(), Text::string(). + This::wxListbook(), N::integer(), Page::wxWindow:wxWindow(), Text::unicode:chardata(). insertPage(This,N,Page,Text) when is_record(This, wx_ref),is_integer(N),is_record(Page, wx_ref),is_list(Text) -> @@ -299,7 +299,7 @@ insertPage(This,N,Page,Text) %% @doc See external documentation. -spec insertPage(This, N, Page, Text, [Option]) -> boolean() when - This::wxListbook(), N::integer(), Page::wxWindow:wxWindow(), Text::string(), + This::wxListbook(), N::integer(), Page::wxWindow:wxWindow(), Text::unicode:chardata(), Option :: {bSelect, boolean()} | {imageId, integer()}. insertPage(#wx_ref{type=ThisT,ref=ThisRef},N,#wx_ref{type=PageT,ref=PageRef},Text, Options) @@ -343,7 +343,7 @@ setPageImage(#wx_ref{type=ThisT,ref=ThisRef},N,ImageId) %% @doc See external documentation. -spec setPageText(This, N, StrText) -> boolean() when - This::wxListbook(), N::integer(), StrText::string(). + This::wxListbook(), N::integer(), StrText::unicode:chardata(). setPageText(#wx_ref{type=ThisT,ref=ThisRef},N,StrText) when is_integer(N),is_list(StrText) -> ?CLASS(ThisT,wxListbook), @@ -370,7 +370,7 @@ changeSelection(#wx_ref{type=ThisT,ref=ThisRef},N) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxListbook) -> ok. +-spec destroy(This::wxListbook()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxListbook), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxLogNull.erl b/lib/wx/src/gen/wxLogNull.erl index fb53e0d151..0ac4e8f9a3 100644 --- a/lib/wx/src/gen/wxLogNull.erl +++ b/lib/wx/src/gen/wxLogNull.erl @@ -41,7 +41,7 @@ new() -> <<>>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxLogNull) -> ok. +-spec destroy(This::wxLogNull()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxLogNull), wxe_util:destroy(?wxLogNull_destroy,Obj), diff --git a/lib/wx/src/gen/wxMDIChildFrame.erl b/lib/wx/src/gen/wxMDIChildFrame.erl index 6b9905b72b..861beba34f 100644 --- a/lib/wx/src/gen/wxMDIChildFrame.erl +++ b/lib/wx/src/gen/wxMDIChildFrame.erl @@ -97,7 +97,7 @@ new() -> %% @equiv new(Parent,Id,Title, []) -spec new(Parent, Id, Title) -> wxMDIChildFrame() when - Parent::wxMDIParentFrame:wxMDIParentFrame(), Id::integer(), Title::string(). + Parent::wxMDIParentFrame:wxMDIParentFrame(), Id::integer(), Title::unicode:chardata(). new(Parent,Id,Title) when is_record(Parent, wx_ref),is_integer(Id),is_list(Title) -> @@ -105,7 +105,7 @@ new(Parent,Id,Title) %% @doc See external documentation. -spec new(Parent, Id, Title, [Option]) -> wxMDIChildFrame() when - Parent::wxMDIParentFrame:wxMDIParentFrame(), Id::integer(), Title::string(), + Parent::wxMDIParentFrame:wxMDIParentFrame(), Id::integer(), Title::unicode:chardata(), Option :: {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()}. @@ -131,7 +131,7 @@ activate(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @equiv create(This,Parent,Id,Title, []) -spec create(This, Parent, Id, Title) -> boolean() when - This::wxMDIChildFrame(), Parent::wxMDIParentFrame:wxMDIParentFrame(), Id::integer(), Title::string(). + This::wxMDIChildFrame(), Parent::wxMDIParentFrame:wxMDIParentFrame(), Id::integer(), Title::unicode:chardata(). create(This,Parent,Id,Title) when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id),is_list(Title) -> @@ -139,7 +139,7 @@ create(This,Parent,Id,Title) %% @doc See external documentation. -spec create(This, Parent, Id, Title, [Option]) -> boolean() when - This::wxMDIChildFrame(), Parent::wxMDIParentFrame:wxMDIParentFrame(), Id::integer(), Title::string(), + This::wxMDIChildFrame(), Parent::wxMDIParentFrame:wxMDIParentFrame(), Id::integer(), Title::unicode:chardata(), Option :: {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()}. @@ -186,7 +186,7 @@ restore(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxMDIChildFrame) -> ok. +-spec destroy(This::wxMDIChildFrame()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxMDIChildFrame), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxMDIClientWindow.erl b/lib/wx/src/gen/wxMDIClientWindow.erl index 7399b8be26..344dcdbbaf 100644 --- a/lib/wx/src/gen/wxMDIClientWindow.erl +++ b/lib/wx/src/gen/wxMDIClientWindow.erl @@ -125,7 +125,7 @@ createClient(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef} <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxMDIClientWindow) -> ok. +-spec destroy(This::wxMDIClientWindow()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxMDIClientWindow), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxMDIParentFrame.erl b/lib/wx/src/gen/wxMDIParentFrame.erl index 545d52c3cd..1a7e7387b9 100644 --- a/lib/wx/src/gen/wxMDIParentFrame.erl +++ b/lib/wx/src/gen/wxMDIParentFrame.erl @@ -99,7 +99,7 @@ new() -> %% @equiv new(Parent,Id,Title, []) -spec new(Parent, Id, Title) -> wxMDIParentFrame() when - Parent::wxWindow:wxWindow(), Id::integer(), Title::string(). + Parent::wxWindow:wxWindow(), Id::integer(), Title::unicode:chardata(). new(Parent,Id,Title) when is_record(Parent, wx_ref),is_integer(Id),is_list(Title) -> @@ -107,7 +107,7 @@ new(Parent,Id,Title) %% @doc See external documentation. -spec new(Parent, Id, Title, [Option]) -> wxMDIParentFrame() when - Parent::wxWindow:wxWindow(), Id::integer(), Title::string(), + Parent::wxWindow:wxWindow(), Id::integer(), Title::unicode:chardata(), Option :: {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()}. @@ -157,7 +157,7 @@ cascade(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @equiv create(This,Parent,Id,Title, []) -spec create(This, Parent, Id, Title) -> boolean() when - This::wxMDIParentFrame(), Parent::wxWindow:wxWindow(), Id::integer(), Title::string(). + This::wxMDIParentFrame(), Parent::wxWindow:wxWindow(), Id::integer(), Title::unicode:chardata(). create(This,Parent,Id,Title) when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id),is_list(Title) -> @@ -165,7 +165,7 @@ create(This,Parent,Id,Title) %% @doc See external documentation. -spec create(This, Parent, Id, Title, [Option]) -> boolean() when - This::wxMDIParentFrame(), Parent::wxWindow:wxWindow(), Id::integer(), Title::string(), + This::wxMDIParentFrame(), Parent::wxWindow:wxWindow(), Id::integer(), Title::unicode:chardata(), Option :: {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()}. @@ -221,7 +221,7 @@ tile(#wx_ref{type=ThisT,ref=ThisRef}, Options) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxMDIParentFrame) -> ok. +-spec destroy(This::wxMDIParentFrame()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxMDIParentFrame), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxMask.erl b/lib/wx/src/gen/wxMask.erl index 488cddc260..5bcd518556 100644 --- a/lib/wx/src/gen/wxMask.erl +++ b/lib/wx/src/gen/wxMask.erl @@ -92,7 +92,7 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BitmapT,ref=BitmapRef},Colou <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxMask) -> ok. +-spec destroy(This::wxMask()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxMask), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxMemoryDC.erl b/lib/wx/src/gen/wxMemoryDC.erl index a6d55e53d2..cac20094a0 100644 --- a/lib/wx/src/gen/wxMemoryDC.erl +++ b/lib/wx/src/gen/wxMemoryDC.erl @@ -96,7 +96,7 @@ selectObjectAsSource(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BmpT,ref=BmpRe <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxMemoryDC) -> ok. +-spec destroy(This::wxMemoryDC()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxMemoryDC), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxMenu.erl b/lib/wx/src/gen/wxMenu.erl index dd674b117d..994855f805 100644 --- a/lib/wx/src/gen/wxMenu.erl +++ b/lib/wx/src/gen/wxMenu.erl @@ -65,7 +65,7 @@ new(Options) %% @doc See external documentation. -spec new(Title, [Option]) -> wxMenu() when - Title::string(), + Title::unicode:chardata(), Option :: {style, integer()}. new(Title, Options) when is_list(Title),is_list(Options) -> @@ -87,7 +87,7 @@ append(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ItemT,ref=ItemRef}) -> %% @equiv append(This,Itemid,Text, []) -spec append(This, Itemid, Text) -> wxMenuItem:wxMenuItem() when - This::wxMenu(), Itemid::integer(), Text::string(). + This::wxMenu(), Itemid::integer(), Text::unicode:chardata(). append(This,Itemid,Text) when is_record(This, wx_ref),is_integer(Itemid),is_list(Text) -> @@ -95,10 +95,10 @@ append(This,Itemid,Text) %% @doc See external documentation. -spec append(This, Itemid, Text, Submenu) -> wxMenuItem:wxMenuItem() when - This::wxMenu(), Itemid::integer(), Text::string(), Submenu::wxMenu(); + This::wxMenu(), Itemid::integer(), Text::unicode:chardata(), Submenu::wxMenu(); (This, Itemid, Text, [Option]) -> wxMenuItem:wxMenuItem() when - This::wxMenu(), Itemid::integer(), Text::string(), - Option :: {help, string()} + This::wxMenu(), Itemid::integer(), Text::unicode:chardata(), + Option :: {help, unicode:chardata()} | {kind, wx:wx_enum()}. append(This,Itemid,Text,Submenu) @@ -117,10 +117,10 @@ append(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Text, Options) %% @doc See external documentation. -spec append(This, Itemid, Text, Help, IsCheckable) -> ok when - This::wxMenu(), Itemid::integer(), Text::string(), Help::string(), IsCheckable::boolean(); + This::wxMenu(), Itemid::integer(), Text::unicode:chardata(), Help::unicode:chardata(), IsCheckable::boolean(); (This, Itemid, Text, Submenu, [Option]) -> wxMenuItem:wxMenuItem() when - This::wxMenu(), Itemid::integer(), Text::string(), Submenu::wxMenu(), - Option :: {help, string()}. + This::wxMenu(), Itemid::integer(), Text::unicode:chardata(), Submenu::wxMenu(), + Option :: {help, unicode:chardata()}. append(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Text,Help,IsCheckable) when is_integer(Itemid),is_list(Text),is_list(Help),is_boolean(IsCheckable) -> ?CLASS(ThisT,wxMenu), @@ -141,7 +141,7 @@ append(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Text,#wx_ref{type=SubmenuT,ref=Sub %% @equiv appendCheckItem(This,Itemid,Text, []) -spec appendCheckItem(This, Itemid, Text) -> wxMenuItem:wxMenuItem() when - This::wxMenu(), Itemid::integer(), Text::string(). + This::wxMenu(), Itemid::integer(), Text::unicode:chardata(). appendCheckItem(This,Itemid,Text) when is_record(This, wx_ref),is_integer(Itemid),is_list(Text) -> @@ -149,8 +149,8 @@ appendCheckItem(This,Itemid,Text) %% @doc See external documentation. -spec appendCheckItem(This, Itemid, Text, [Option]) -> wxMenuItem:wxMenuItem() when - This::wxMenu(), Itemid::integer(), Text::string(), - Option :: {help, string()}. + This::wxMenu(), Itemid::integer(), Text::unicode:chardata(), + Option :: {help, unicode:chardata()}. appendCheckItem(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Text, Options) when is_integer(Itemid),is_list(Text),is_list(Options) -> ?CLASS(ThisT,wxMenu), @@ -163,7 +163,7 @@ appendCheckItem(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Text, Options) %% @equiv appendRadioItem(This,Itemid,Text, []) -spec appendRadioItem(This, Itemid, Text) -> wxMenuItem:wxMenuItem() when - This::wxMenu(), Itemid::integer(), Text::string(). + This::wxMenu(), Itemid::integer(), Text::unicode:chardata(). appendRadioItem(This,Itemid,Text) when is_record(This, wx_ref),is_integer(Itemid),is_list(Text) -> @@ -171,8 +171,8 @@ appendRadioItem(This,Itemid,Text) %% @doc See external documentation. -spec appendRadioItem(This, Itemid, Text, [Option]) -> wxMenuItem:wxMenuItem() when - This::wxMenu(), Itemid::integer(), Text::string(), - Option :: {help, string()}. + This::wxMenu(), Itemid::integer(), Text::unicode:chardata(), + Option :: {help, unicode:chardata()}. appendRadioItem(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Text, Options) when is_integer(Itemid),is_list(Text),is_list(Options) -> ?CLASS(ThisT,wxMenu), @@ -253,7 +253,7 @@ enable(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Enable) -spec findItem(This, Itemid) -> wxMenuItem:wxMenuItem() when This::wxMenu(), Itemid::integer(); (This, Item) -> integer() when - This::wxMenu(), Item::string(). + This::wxMenu(), Item::unicode:chardata(). findItem(#wx_ref{type=ThisT,ref=ThisRef},Itemid) when is_integer(Itemid) -> ?CLASS(ThisT,wxMenu), @@ -276,7 +276,7 @@ findItemByPosition(#wx_ref{type=ThisT,ref=ThisRef},Position) <>). %% @doc See external documentation. --spec getHelpString(This, Itemid) -> string() when +-spec getHelpString(This, Itemid) -> unicode:charlist() when This::wxMenu(), Itemid::integer(). getHelpString(#wx_ref{type=ThisT,ref=ThisRef},Itemid) when is_integer(Itemid) -> @@ -285,7 +285,7 @@ getHelpString(#wx_ref{type=ThisT,ref=ThisRef},Itemid) <>). %% @doc See external documentation. --spec getLabel(This, Itemid) -> string() when +-spec getLabel(This, Itemid) -> unicode:charlist() when This::wxMenu(), Itemid::integer(). getLabel(#wx_ref{type=ThisT,ref=ThisRef},Itemid) when is_integer(Itemid) -> @@ -310,7 +310,7 @@ getMenuItems(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getTitle(This) -> string() when +-spec getTitle(This) -> unicode:charlist() when This::wxMenu(). getTitle(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMenu), @@ -337,8 +337,8 @@ insert(#wx_ref{type=ThisT,ref=ThisRef},Pos,#wx_ref{type=ItemT,ref=ItemRef}) %%
Kind = ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX -spec insert(This, Pos, Itemid, [Option]) -> wxMenuItem:wxMenuItem() when This::wxMenu(), Pos::integer(), Itemid::integer(), - Option :: {text, string()} - | {help, string()} + Option :: {text, unicode:chardata()} + | {help, unicode:chardata()} | {kind, wx:wx_enum()}. insert(#wx_ref{type=ThisT,ref=ThisRef},Pos,Itemid, Options) when is_integer(Pos),is_integer(Itemid),is_list(Options) -> @@ -353,7 +353,7 @@ insert(#wx_ref{type=ThisT,ref=ThisRef},Pos,Itemid, Options) %% @equiv insert(This,Pos,Itemid,Text,Submenu, []) -spec insert(This, Pos, Itemid, Text, Submenu) -> wxMenuItem:wxMenuItem() when - This::wxMenu(), Pos::integer(), Itemid::integer(), Text::string(), Submenu::wxMenu(). + This::wxMenu(), Pos::integer(), Itemid::integer(), Text::unicode:chardata(), Submenu::wxMenu(). insert(This,Pos,Itemid,Text,Submenu) when is_record(This, wx_ref),is_integer(Pos),is_integer(Itemid),is_list(Text),is_record(Submenu, wx_ref) -> @@ -361,10 +361,10 @@ insert(This,Pos,Itemid,Text,Submenu) %% @doc See external documentation. -spec insert(This, Pos, Itemid, Text, Help, IsCheckable) -> ok when - This::wxMenu(), Pos::integer(), Itemid::integer(), Text::string(), Help::string(), IsCheckable::boolean(); + This::wxMenu(), Pos::integer(), Itemid::integer(), Text::unicode:chardata(), Help::unicode:chardata(), IsCheckable::boolean(); (This, Pos, Itemid, Text, Submenu, [Option]) -> wxMenuItem:wxMenuItem() when - This::wxMenu(), Pos::integer(), Itemid::integer(), Text::string(), Submenu::wxMenu(), - Option :: {help, string()}. + This::wxMenu(), Pos::integer(), Itemid::integer(), Text::unicode:chardata(), Submenu::wxMenu(), + Option :: {help, unicode:chardata()}. insert(#wx_ref{type=ThisT,ref=ThisRef},Pos,Itemid,Text,Help,IsCheckable) when is_integer(Pos),is_integer(Itemid),is_list(Text),is_list(Help),is_boolean(IsCheckable) -> ?CLASS(ThisT,wxMenu), @@ -385,7 +385,7 @@ insert(#wx_ref{type=ThisT,ref=ThisRef},Pos,Itemid,Text,#wx_ref{type=SubmenuT,ref %% @equiv insertCheckItem(This,Pos,Itemid,Text, []) -spec insertCheckItem(This, Pos, Itemid, Text) -> wxMenuItem:wxMenuItem() when - This::wxMenu(), Pos::integer(), Itemid::integer(), Text::string(). + This::wxMenu(), Pos::integer(), Itemid::integer(), Text::unicode:chardata(). insertCheckItem(This,Pos,Itemid,Text) when is_record(This, wx_ref),is_integer(Pos),is_integer(Itemid),is_list(Text) -> @@ -393,8 +393,8 @@ insertCheckItem(This,Pos,Itemid,Text) %% @doc See external documentation. -spec insertCheckItem(This, Pos, Itemid, Text, [Option]) -> wxMenuItem:wxMenuItem() when - This::wxMenu(), Pos::integer(), Itemid::integer(), Text::string(), - Option :: {help, string()}. + This::wxMenu(), Pos::integer(), Itemid::integer(), Text::unicode:chardata(), + Option :: {help, unicode:chardata()}. insertCheckItem(#wx_ref{type=ThisT,ref=ThisRef},Pos,Itemid,Text, Options) when is_integer(Pos),is_integer(Itemid),is_list(Text),is_list(Options) -> ?CLASS(ThisT,wxMenu), @@ -407,7 +407,7 @@ insertCheckItem(#wx_ref{type=ThisT,ref=ThisRef},Pos,Itemid,Text, Options) %% @equiv insertRadioItem(This,Pos,Itemid,Text, []) -spec insertRadioItem(This, Pos, Itemid, Text) -> wxMenuItem:wxMenuItem() when - This::wxMenu(), Pos::integer(), Itemid::integer(), Text::string(). + This::wxMenu(), Pos::integer(), Itemid::integer(), Text::unicode:chardata(). insertRadioItem(This,Pos,Itemid,Text) when is_record(This, wx_ref),is_integer(Pos),is_integer(Itemid),is_list(Text) -> @@ -415,8 +415,8 @@ insertRadioItem(This,Pos,Itemid,Text) %% @doc See external documentation. -spec insertRadioItem(This, Pos, Itemid, Text, [Option]) -> wxMenuItem:wxMenuItem() when - This::wxMenu(), Pos::integer(), Itemid::integer(), Text::string(), - Option :: {help, string()}. + This::wxMenu(), Pos::integer(), Itemid::integer(), Text::unicode:chardata(), + Option :: {help, unicode:chardata()}. insertRadioItem(#wx_ref{type=ThisT,ref=ThisRef},Pos,Itemid,Text, Options) when is_integer(Pos),is_integer(Itemid),is_list(Text),is_list(Options) -> ?CLASS(ThisT,wxMenu), @@ -473,8 +473,8 @@ prepend(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ItemT,ref=ItemRef}) -> %%
Kind = ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX -spec prepend(This, Itemid, [Option]) -> wxMenuItem:wxMenuItem() when This::wxMenu(), Itemid::integer(), - Option :: {text, string()} - | {help, string()} + Option :: {text, unicode:chardata()} + | {help, unicode:chardata()} | {kind, wx:wx_enum()}. prepend(#wx_ref{type=ThisT,ref=ThisRef},Itemid, Options) when is_integer(Itemid),is_list(Options) -> @@ -489,7 +489,7 @@ prepend(#wx_ref{type=ThisT,ref=ThisRef},Itemid, Options) %% @equiv prepend(This,Itemid,Text,Submenu, []) -spec prepend(This, Itemid, Text, Submenu) -> wxMenuItem:wxMenuItem() when - This::wxMenu(), Itemid::integer(), Text::string(), Submenu::wxMenu(). + This::wxMenu(), Itemid::integer(), Text::unicode:chardata(), Submenu::wxMenu(). prepend(This,Itemid,Text,Submenu) when is_record(This, wx_ref),is_integer(Itemid),is_list(Text),is_record(Submenu, wx_ref) -> @@ -497,10 +497,10 @@ prepend(This,Itemid,Text,Submenu) %% @doc See external documentation. -spec prepend(This, Itemid, Text, Help, IsCheckable) -> ok when - This::wxMenu(), Itemid::integer(), Text::string(), Help::string(), IsCheckable::boolean(); + This::wxMenu(), Itemid::integer(), Text::unicode:chardata(), Help::unicode:chardata(), IsCheckable::boolean(); (This, Itemid, Text, Submenu, [Option]) -> wxMenuItem:wxMenuItem() when - This::wxMenu(), Itemid::integer(), Text::string(), Submenu::wxMenu(), - Option :: {help, string()}. + This::wxMenu(), Itemid::integer(), Text::unicode:chardata(), Submenu::wxMenu(), + Option :: {help, unicode:chardata()}. prepend(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Text,Help,IsCheckable) when is_integer(Itemid),is_list(Text),is_list(Help),is_boolean(IsCheckable) -> ?CLASS(ThisT,wxMenu), @@ -521,7 +521,7 @@ prepend(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Text,#wx_ref{type=SubmenuT,ref=Su %% @equiv prependCheckItem(This,Itemid,Text, []) -spec prependCheckItem(This, Itemid, Text) -> wxMenuItem:wxMenuItem() when - This::wxMenu(), Itemid::integer(), Text::string(). + This::wxMenu(), Itemid::integer(), Text::unicode:chardata(). prependCheckItem(This,Itemid,Text) when is_record(This, wx_ref),is_integer(Itemid),is_list(Text) -> @@ -529,8 +529,8 @@ prependCheckItem(This,Itemid,Text) %% @doc See external documentation. -spec prependCheckItem(This, Itemid, Text, [Option]) -> wxMenuItem:wxMenuItem() when - This::wxMenu(), Itemid::integer(), Text::string(), - Option :: {help, string()}. + This::wxMenu(), Itemid::integer(), Text::unicode:chardata(), + Option :: {help, unicode:chardata()}. prependCheckItem(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Text, Options) when is_integer(Itemid),is_list(Text),is_list(Options) -> ?CLASS(ThisT,wxMenu), @@ -543,7 +543,7 @@ prependCheckItem(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Text, Options) %% @equiv prependRadioItem(This,Itemid,Text, []) -spec prependRadioItem(This, Itemid, Text) -> wxMenuItem:wxMenuItem() when - This::wxMenu(), Itemid::integer(), Text::string(). + This::wxMenu(), Itemid::integer(), Text::unicode:chardata(). prependRadioItem(This,Itemid,Text) when is_record(This, wx_ref),is_integer(Itemid),is_list(Text) -> @@ -551,8 +551,8 @@ prependRadioItem(This,Itemid,Text) %% @doc See external documentation. -spec prependRadioItem(This, Itemid, Text, [Option]) -> wxMenuItem:wxMenuItem() when - This::wxMenu(), Itemid::integer(), Text::string(), - Option :: {help, string()}. + This::wxMenu(), Itemid::integer(), Text::unicode:chardata(), + Option :: {help, unicode:chardata()}. prependRadioItem(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Text, Options) when is_integer(Itemid),is_list(Text),is_list(Options) -> ?CLASS(ThisT,wxMenu), @@ -589,7 +589,7 @@ remove(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ItemT,ref=ItemRef}) -> %% @doc See external documentation. -spec setHelpString(This, Itemid, HelpString) -> ok when - This::wxMenu(), Itemid::integer(), HelpString::string(). + This::wxMenu(), Itemid::integer(), HelpString::unicode:chardata(). setHelpString(#wx_ref{type=ThisT,ref=ThisRef},Itemid,HelpString) when is_integer(Itemid),is_list(HelpString) -> ?CLASS(ThisT,wxMenu), @@ -599,7 +599,7 @@ setHelpString(#wx_ref{type=ThisT,ref=ThisRef},Itemid,HelpString) %% @doc See external documentation. -spec setLabel(This, Itemid, Label) -> ok when - This::wxMenu(), Itemid::integer(), Label::string(). + This::wxMenu(), Itemid::integer(), Label::unicode:chardata(). setLabel(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Label) when is_integer(Itemid),is_list(Label) -> ?CLASS(ThisT,wxMenu), @@ -609,7 +609,7 @@ setLabel(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Label) %% @doc See external documentation. -spec setTitle(This, Title) -> ok when - This::wxMenu(), Title::string(). + This::wxMenu(), Title::unicode:chardata(). setTitle(#wx_ref{type=ThisT,ref=ThisRef},Title) when is_list(Title) -> ?CLASS(ThisT,wxMenu), @@ -618,7 +618,7 @@ setTitle(#wx_ref{type=ThisT,ref=ThisRef},Title) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxMenu) -> ok. +-spec destroy(This::wxMenu()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxMenu), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxMenuBar.erl b/lib/wx/src/gen/wxMenuBar.erl index 3538e58791..b0253292bd 100644 --- a/lib/wx/src/gen/wxMenuBar.erl +++ b/lib/wx/src/gen/wxMenuBar.erl @@ -95,7 +95,7 @@ new(Style) %% @doc See external documentation. -spec append(This, Menu, Title) -> boolean() when - This::wxMenuBar(), Menu::wxMenu:wxMenu(), Title::string(). + This::wxMenuBar(), Menu::wxMenu:wxMenu(), Title::unicode:chardata(). append(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=MenuT,ref=MenuRef},Title) when is_list(Title) -> ?CLASS(ThisT,wxMenuBar), @@ -154,7 +154,7 @@ enableTop(#wx_ref{type=ThisT,ref=ThisRef},Pos,Flag) %% @doc See external documentation. -spec findMenu(This, Title) -> integer() when - This::wxMenuBar(), Title::string(). + This::wxMenuBar(), Title::unicode:chardata(). findMenu(#wx_ref{type=ThisT,ref=ThisRef},Title) when is_list(Title) -> ?CLASS(ThisT,wxMenuBar), @@ -164,7 +164,7 @@ findMenu(#wx_ref{type=ThisT,ref=ThisRef},Title) %% @doc See external documentation. -spec findMenuItem(This, MenuString, ItemString) -> integer() when - This::wxMenuBar(), MenuString::string(), ItemString::string(). + This::wxMenuBar(), MenuString::unicode:chardata(), ItemString::unicode:chardata(). findMenuItem(#wx_ref{type=ThisT,ref=ThisRef},MenuString,ItemString) when is_list(MenuString),is_list(ItemString) -> ?CLASS(ThisT,wxMenuBar), @@ -183,7 +183,7 @@ findItem(#wx_ref{type=ThisT,ref=ThisRef},Id) <>). %% @doc See external documentation. --spec getHelpString(This, Itemid) -> string() when +-spec getHelpString(This, Itemid) -> unicode:charlist() when This::wxMenuBar(), Itemid::integer(). getHelpString(#wx_ref{type=ThisT,ref=ThisRef},Itemid) when is_integer(Itemid) -> @@ -192,7 +192,7 @@ getHelpString(#wx_ref{type=ThisT,ref=ThisRef},Itemid) <>). %% @doc See external documentation. --spec getLabel(This) -> string() when +-spec getLabel(This) -> unicode:charlist() when This::wxMenuBar(). getLabel(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMenuBar), @@ -200,7 +200,7 @@ getLabel(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getLabel(This, Itemid) -> string() when +-spec getLabel(This, Itemid) -> unicode:charlist() when This::wxMenuBar(), Itemid::integer(). getLabel(#wx_ref{type=ThisT,ref=ThisRef},Itemid) when is_integer(Itemid) -> @@ -209,7 +209,7 @@ getLabel(#wx_ref{type=ThisT,ref=ThisRef},Itemid) <>). %% @doc See external documentation. --spec getLabelTop(This, Pos) -> string() when +-spec getLabelTop(This, Pos) -> unicode:charlist() when This::wxMenuBar(), Pos::integer(). getLabelTop(#wx_ref{type=ThisT,ref=ThisRef},Pos) when is_integer(Pos) -> @@ -236,7 +236,7 @@ getMenuCount(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @doc See external documentation. -spec insert(This, Pos, Menu, Title) -> boolean() when - This::wxMenuBar(), Pos::integer(), Menu::wxMenu:wxMenu(), Title::string(). + This::wxMenuBar(), Pos::integer(), Menu::wxMenu:wxMenu(), Title::unicode:chardata(). insert(#wx_ref{type=ThisT,ref=ThisRef},Pos,#wx_ref{type=MenuT,ref=MenuRef},Title) when is_integer(Pos),is_list(Title) -> ?CLASS(ThisT,wxMenuBar), @@ -282,7 +282,7 @@ remove(#wx_ref{type=ThisT,ref=ThisRef},Pos) %% @doc See external documentation. -spec replace(This, Pos, Menu, Title) -> wxMenu:wxMenu() when - This::wxMenuBar(), Pos::integer(), Menu::wxMenu:wxMenu(), Title::string(). + This::wxMenuBar(), Pos::integer(), Menu::wxMenu:wxMenu(), Title::unicode:chardata(). replace(#wx_ref{type=ThisT,ref=ThisRef},Pos,#wx_ref{type=MenuT,ref=MenuRef},Title) when is_integer(Pos),is_list(Title) -> ?CLASS(ThisT,wxMenuBar), @@ -293,7 +293,7 @@ replace(#wx_ref{type=ThisT,ref=ThisRef},Pos,#wx_ref{type=MenuT,ref=MenuRef},Titl %% @doc See external documentation. -spec setHelpString(This, Itemid, HelpString) -> ok when - This::wxMenuBar(), Itemid::integer(), HelpString::string(). + This::wxMenuBar(), Itemid::integer(), HelpString::unicode:chardata(). setHelpString(#wx_ref{type=ThisT,ref=ThisRef},Itemid,HelpString) when is_integer(Itemid),is_list(HelpString) -> ?CLASS(ThisT,wxMenuBar), @@ -303,7 +303,7 @@ setHelpString(#wx_ref{type=ThisT,ref=ThisRef},Itemid,HelpString) %% @doc See external documentation. -spec setLabel(This, S) -> ok when - This::wxMenuBar(), S::string(). + This::wxMenuBar(), S::unicode:chardata(). setLabel(#wx_ref{type=ThisT,ref=ThisRef},S) when is_list(S) -> ?CLASS(ThisT,wxMenuBar), @@ -313,7 +313,7 @@ setLabel(#wx_ref{type=ThisT,ref=ThisRef},S) %% @doc See external documentation. -spec setLabel(This, Itemid, Label) -> ok when - This::wxMenuBar(), Itemid::integer(), Label::string(). + This::wxMenuBar(), Itemid::integer(), Label::unicode:chardata(). setLabel(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Label) when is_integer(Itemid),is_list(Label) -> ?CLASS(ThisT,wxMenuBar), @@ -323,7 +323,7 @@ setLabel(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Label) %% @doc See external documentation. -spec setLabelTop(This, Pos, Label) -> ok when - This::wxMenuBar(), Pos::integer(), Label::string(). + This::wxMenuBar(), Pos::integer(), Label::unicode:chardata(). setLabelTop(#wx_ref{type=ThisT,ref=ThisRef},Pos,Label) when is_integer(Pos),is_list(Label) -> ?CLASS(ThisT,wxMenuBar), @@ -332,7 +332,7 @@ setLabelTop(#wx_ref{type=ThisT,ref=ThisRef},Pos,Label) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxMenuBar) -> ok. +-spec destroy(This::wxMenuBar()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxMenuBar), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxMenuItem.erl b/lib/wx/src/gen/wxMenuItem.erl index 76ce8408ed..7ad71a2858 100644 --- a/lib/wx/src/gen/wxMenuItem.erl +++ b/lib/wx/src/gen/wxMenuItem.erl @@ -48,8 +48,8 @@ new() -> -spec new([Option]) -> wxMenuItem() when Option :: {parentMenu, wxMenu:wxMenu()} | {id, integer()} - | {text, string()} - | {help, string()} + | {text, unicode:chardata()} + | {help, unicode:chardata()} | {kind, wx:wx_enum()} | {subMenu, wxMenu:wxMenu()}. new(Options) @@ -116,7 +116,7 @@ getBitmap(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getHelp(This) -> string() when +-spec getHelp(This) -> unicode:charlist() when This::wxMenuItem(). getHelp(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMenuItem), @@ -141,7 +141,7 @@ getKind(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getLabel(This) -> string() when +-spec getLabel(This) -> unicode:charlist() when This::wxMenuItem(). getLabel(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMenuItem), @@ -149,8 +149,8 @@ getLabel(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getLabelFromText(Text) -> string() when - Text::string(). +-spec getLabelFromText(Text) -> unicode:charlist() when + Text::unicode:chardata(). getLabelFromText(Text) when is_list(Text) -> Text_UC = unicode:characters_to_binary([Text,0]), @@ -166,7 +166,7 @@ getMenu(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getText(This) -> string() when +-spec getText(This) -> unicode:charlist() when This::wxMenuItem(). getText(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxMenuItem), @@ -232,7 +232,7 @@ setBitmap(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BitmapT,ref=BitmapRef}) - %% @doc See external documentation. -spec setHelp(This, Str) -> ok when - This::wxMenuItem(), Str::string(). + This::wxMenuItem(), Str::unicode:chardata(). setHelp(#wx_ref{type=ThisT,ref=ThisRef},Str) when is_list(Str) -> ?CLASS(ThisT,wxMenuItem), @@ -260,7 +260,7 @@ setSubMenu(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=MenuT,ref=MenuRef}) -> %% @doc See external documentation. -spec setText(This, Str) -> ok when - This::wxMenuItem(), Str::string(). + This::wxMenuItem(), Str::unicode:chardata(). setText(#wx_ref{type=ThisT,ref=ThisRef},Str) when is_list(Str) -> ?CLASS(ThisT,wxMenuItem), @@ -269,7 +269,7 @@ setText(#wx_ref{type=ThisT,ref=ThisRef},Str) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxMenuItem) -> ok. +-spec destroy(This::wxMenuItem()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxMenuItem), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxMessageDialog.erl b/lib/wx/src/gen/wxMessageDialog.erl index 0748b22530..83c3e67d01 100644 --- a/lib/wx/src/gen/wxMessageDialog.erl +++ b/lib/wx/src/gen/wxMessageDialog.erl @@ -88,7 +88,7 @@ parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -type wxMessageDialog() :: wx:wx_object(). %% @equiv new(Parent,Message, []) -spec new(Parent, Message) -> wxMessageDialog() when - Parent::wxWindow:wxWindow(), Message::string(). + Parent::wxWindow:wxWindow(), Message::unicode:chardata(). new(Parent,Message) when is_record(Parent, wx_ref),is_list(Message) -> @@ -96,8 +96,8 @@ new(Parent,Message) %% @doc See external documentation. -spec new(Parent, Message, [Option]) -> wxMessageDialog() when - Parent::wxWindow:wxWindow(), Message::string(), - Option :: {caption, string()} + Parent::wxWindow:wxWindow(), Message::unicode:chardata(), + Option :: {caption, unicode:chardata()} | {style, integer()} | {pos, {X::integer(), Y::integer()}}. new(#wx_ref{type=ParentT,ref=ParentRef},Message, Options) @@ -113,7 +113,7 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Message, Options) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxMessageDialog) -> ok. +-spec destroy(This::wxMessageDialog()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxMessageDialog), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxMiniFrame.erl b/lib/wx/src/gen/wxMiniFrame.erl index 0ddec78c0e..3521c6458c 100644 --- a/lib/wx/src/gen/wxMiniFrame.erl +++ b/lib/wx/src/gen/wxMiniFrame.erl @@ -97,7 +97,7 @@ new() -> %% @equiv new(Parent,Id,Title, []) -spec new(Parent, Id, Title) -> wxMiniFrame() when - Parent::wxWindow:wxWindow(), Id::integer(), Title::string(). + Parent::wxWindow:wxWindow(), Id::integer(), Title::unicode:chardata(). new(Parent,Id,Title) when is_record(Parent, wx_ref),is_integer(Id),is_list(Title) -> @@ -105,7 +105,7 @@ new(Parent,Id,Title) %% @doc See external documentation. -spec new(Parent, Id, Title, [Option]) -> wxMiniFrame() when - Parent::wxWindow:wxWindow(), Id::integer(), Title::string(), + Parent::wxWindow:wxWindow(), Id::integer(), Title::unicode:chardata(), Option :: {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()}. @@ -123,7 +123,7 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Id,Title, Options) %% @equiv create(This,Parent,Id,Title, []) -spec create(This, Parent, Id, Title) -> boolean() when - This::wxMiniFrame(), Parent::wxWindow:wxWindow(), Id::integer(), Title::string(). + This::wxMiniFrame(), Parent::wxWindow:wxWindow(), Id::integer(), Title::unicode:chardata(). create(This,Parent,Id,Title) when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id),is_list(Title) -> @@ -131,7 +131,7 @@ create(This,Parent,Id,Title) %% @doc See external documentation. -spec create(This, Parent, Id, Title, [Option]) -> boolean() when - This::wxMiniFrame(), Parent::wxWindow:wxWindow(), Id::integer(), Title::string(), + This::wxMiniFrame(), Parent::wxWindow:wxWindow(), Id::integer(), Title::unicode:chardata(), Option :: {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()}. @@ -149,7 +149,7 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,Ti <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxMiniFrame) -> ok. +-spec destroy(This::wxMiniFrame()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxMiniFrame), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxMirrorDC.erl b/lib/wx/src/gen/wxMirrorDC.erl index 6bc1e839e2..1fdb90e4eb 100644 --- a/lib/wx/src/gen/wxMirrorDC.erl +++ b/lib/wx/src/gen/wxMirrorDC.erl @@ -68,7 +68,7 @@ new(#wx_ref{type=DcT,ref=DcRef},Mirror) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxMirrorDC) -> ok. +-spec destroy(This::wxMirrorDC()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxMirrorDC), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxMultiChoiceDialog.erl b/lib/wx/src/gen/wxMultiChoiceDialog.erl index 7c19a1ca42..04cbb832ea 100644 --- a/lib/wx/src/gen/wxMultiChoiceDialog.erl +++ b/lib/wx/src/gen/wxMultiChoiceDialog.erl @@ -94,7 +94,7 @@ new() -> %% @equiv new(Parent,Message,Caption,Choices, []) -spec new(Parent, Message, Caption, Choices) -> wxMultiChoiceDialog() when - Parent::wxWindow:wxWindow(), Message::string(), Caption::string(), Choices::[[string()]]. + Parent::wxWindow:wxWindow(), Message::unicode:chardata(), Caption::unicode:chardata(), Choices::[[unicode:chardata()]]. new(Parent,Message,Caption,Choices) when is_record(Parent, wx_ref),is_list(Message),is_list(Caption),is_list(Choices) -> @@ -102,7 +102,7 @@ new(Parent,Message,Caption,Choices) %% @doc See external documentation. -spec new(Parent, Message, Caption, Choices, [Option]) -> wxMultiChoiceDialog() when - Parent::wxWindow:wxWindow(), Message::string(), Caption::string(), Choices::[[string()]], + Parent::wxWindow:wxWindow(), Message::unicode:chardata(), Caption::unicode:chardata(), Choices::[[unicode:chardata()]], Option :: {style, integer()} | {pos, {X::integer(), Y::integer()}}. new(#wx_ref{type=ParentT,ref=ParentRef},Message,Caption,Choices, Options) @@ -138,7 +138,7 @@ setSelections(#wx_ref{type=ThisT,ref=ThisRef},Selections) (<< <> || C <- Selections>>)/binary, 0:(((0+length(Selections)) rem 2)*32)>>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxMultiChoiceDialog) -> ok. +-spec destroy(This::wxMultiChoiceDialog()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxMultiChoiceDialog), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxNotebook.erl b/lib/wx/src/gen/wxNotebook.erl index da0b9c13bf..04ab62b047 100644 --- a/lib/wx/src/gen/wxNotebook.erl +++ b/lib/wx/src/gen/wxNotebook.erl @@ -115,7 +115,7 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Winid, Options) %% @equiv addPage(This,Page,Text, []) -spec addPage(This, Page, Text) -> boolean() when - This::wxNotebook(), Page::wxWindow:wxWindow(), Text::string(). + This::wxNotebook(), Page::wxWindow:wxWindow(), Text::unicode:chardata(). addPage(This,Page,Text) when is_record(This, wx_ref),is_record(Page, wx_ref),is_list(Text) -> @@ -123,7 +123,7 @@ addPage(This,Page,Text) %% @doc See external documentation. -spec addPage(This, Page, Text, [Option]) -> boolean() when - This::wxNotebook(), Page::wxWindow:wxWindow(), Text::string(), + This::wxNotebook(), Page::wxWindow:wxWindow(), Text::unicode:chardata(), Option :: {bSelect, boolean()} | {imageId, integer()}. addPage(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PageT,ref=PageRef},Text, Options) @@ -263,7 +263,7 @@ getPageImage(#wx_ref{type=ThisT,ref=ThisRef},NPage) <>). %% @doc See external documentation. --spec getPageText(This, NPage) -> string() when +-spec getPageText(This, NPage) -> unicode:charlist() when This::wxNotebook(), NPage::integer(). getPageText(#wx_ref{type=ThisT,ref=ThisRef},NPage) when is_integer(NPage) -> @@ -288,7 +288,7 @@ getSelection(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getThemeBackgroundColour(This) -> wx:wx_colour() when +-spec getThemeBackgroundColour(This) -> wx:wx_colour4() when This::wxNotebook(). getThemeBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxNotebook), @@ -307,7 +307,7 @@ hitTest(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY}) %% @equiv insertPage(This,Position,Win,StrText, []) -spec insertPage(This, Position, Win, StrText) -> boolean() when - This::wxNotebook(), Position::integer(), Win::wxWindow:wxWindow(), StrText::string(). + This::wxNotebook(), Position::integer(), Win::wxWindow:wxWindow(), StrText::unicode:chardata(). insertPage(This,Position,Win,StrText) when is_record(This, wx_ref),is_integer(Position),is_record(Win, wx_ref),is_list(StrText) -> @@ -315,7 +315,7 @@ insertPage(This,Position,Win,StrText) %% @doc See external documentation. -spec insertPage(This, Position, Win, StrText, [Option]) -> boolean() when - This::wxNotebook(), Position::integer(), Win::wxWindow:wxWindow(), StrText::string(), + This::wxNotebook(), Position::integer(), Win::wxWindow:wxWindow(), StrText::unicode:chardata(), Option :: {bSelect, boolean()} | {imageId, integer()}. insertPage(#wx_ref{type=ThisT,ref=ThisRef},Position,#wx_ref{type=WinT,ref=WinRef},StrText, Options) @@ -368,7 +368,7 @@ setPageImage(#wx_ref{type=ThisT,ref=ThisRef},NPage,NImage) %% @doc See external documentation. -spec setPageText(This, NPage, StrText) -> boolean() when - This::wxNotebook(), NPage::integer(), StrText::string(). + This::wxNotebook(), NPage::integer(), StrText::unicode:chardata(). setPageText(#wx_ref{type=ThisT,ref=ThisRef},NPage,StrText) when is_integer(NPage),is_list(StrText) -> ?CLASS(ThisT,wxNotebook), @@ -395,7 +395,7 @@ changeSelection(#wx_ref{type=ThisT,ref=ThisRef},NPage) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxNotebook) -> ok. +-spec destroy(This::wxNotebook()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxNotebook), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxPageSetupDialog.erl b/lib/wx/src/gen/wxPageSetupDialog.erl index 227e72b679..653ba5f015 100644 --- a/lib/wx/src/gen/wxPageSetupDialog.erl +++ b/lib/wx/src/gen/wxPageSetupDialog.erl @@ -72,7 +72,7 @@ showModal(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxPageSetupDialog) -> ok. +-spec destroy(This::wxPageSetupDialog()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxPageSetupDialog), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxPageSetupDialogData.erl b/lib/wx/src/gen/wxPageSetupDialogData.erl index 4670526067..605e26c5d5 100644 --- a/lib/wx/src/gen/wxPageSetupDialogData.erl +++ b/lib/wx/src/gen/wxPageSetupDialogData.erl @@ -314,7 +314,7 @@ setPrintData(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PrintDataT,ref=PrintDa <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxPageSetupDialogData) -> ok. +-spec destroy(This::wxPageSetupDialogData()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxPageSetupDialogData), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxPaintDC.erl b/lib/wx/src/gen/wxPaintDC.erl index 57ea987c8f..9e81bc31af 100644 --- a/lib/wx/src/gen/wxPaintDC.erl +++ b/lib/wx/src/gen/wxPaintDC.erl @@ -75,7 +75,7 @@ new(#wx_ref{type=WinT,ref=WinRef}) -> <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxPaintDC) -> ok. +-spec destroy(This::wxPaintDC()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxPaintDC), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxPalette.erl b/lib/wx/src/gen/wxPalette.erl index a3005bff80..991f706acb 100644 --- a/lib/wx/src/gen/wxPalette.erl +++ b/lib/wx/src/gen/wxPalette.erl @@ -100,7 +100,7 @@ isOk(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxPalette) -> ok. +-spec destroy(This::wxPalette()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxPalette), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxPanel.erl b/lib/wx/src/gen/wxPanel.erl index fb1781a775..88c1b119a8 100644 --- a/lib/wx/src/gen/wxPanel.erl +++ b/lib/wx/src/gen/wxPanel.erl @@ -138,7 +138,7 @@ initDialog(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxPanel) -> ok. +-spec destroy(This::wxPanel()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxPanel), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxPasswordEntryDialog.erl b/lib/wx/src/gen/wxPasswordEntryDialog.erl index 7508bf6506..d5a9f6150a 100644 --- a/lib/wx/src/gen/wxPasswordEntryDialog.erl +++ b/lib/wx/src/gen/wxPasswordEntryDialog.erl @@ -91,7 +91,7 @@ parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -type wxPasswordEntryDialog() :: wx:wx_object(). %% @equiv new(Parent,Message, []) -spec new(Parent, Message) -> wxPasswordEntryDialog() when - Parent::wxWindow:wxWindow(), Message::string(). + Parent::wxWindow:wxWindow(), Message::unicode:chardata(). new(Parent,Message) when is_record(Parent, wx_ref),is_list(Message) -> @@ -99,9 +99,9 @@ new(Parent,Message) %% @doc See external documentation. -spec new(Parent, Message, [Option]) -> wxPasswordEntryDialog() when - Parent::wxWindow:wxWindow(), Message::string(), - Option :: {caption, string()} - | {value, string()} + Parent::wxWindow:wxWindow(), Message::unicode:chardata(), + Option :: {caption, unicode:chardata()} + | {value, unicode:chardata()} | {style, integer()} | {pos, {X::integer(), Y::integer()}}. new(#wx_ref{type=ParentT,ref=ParentRef},Message, Options) @@ -118,7 +118,7 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Message, Options) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxPasswordEntryDialog) -> ok. +-spec destroy(This::wxPasswordEntryDialog()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxPasswordEntryDialog), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxPen.erl b/lib/wx/src/gen/wxPen.erl index 629f3edfd7..8b8aafddba 100644 --- a/lib/wx/src/gen/wxPen.erl +++ b/lib/wx/src/gen/wxPen.erl @@ -73,7 +73,7 @@ getCap(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getColour(This) -> wx:wx_colour() when +-spec getColour(This) -> wx:wx_colour4() when This::wxPen(). getColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPen), @@ -167,7 +167,7 @@ setWidth(#wx_ref{type=ThisT,ref=ThisRef},Width) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxPen) -> ok. +-spec destroy(This::wxPen()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxPen), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxPostScriptDC.erl b/lib/wx/src/gen/wxPostScriptDC.erl index 277241184a..2eb25b6a8e 100644 --- a/lib/wx/src/gen/wxPostScriptDC.erl +++ b/lib/wx/src/gen/wxPostScriptDC.erl @@ -87,7 +87,7 @@ getResolution() -> <<>>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxPostScriptDC) -> ok. +-spec destroy(This::wxPostScriptDC()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxPostScriptDC), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxPreviewControlBar.erl b/lib/wx/src/gen/wxPreviewControlBar.erl index b59ac18443..dce3feb9ea 100644 --- a/lib/wx/src/gen/wxPreviewControlBar.erl +++ b/lib/wx/src/gen/wxPreviewControlBar.erl @@ -138,7 +138,7 @@ setZoomControl(#wx_ref{type=ThisT,ref=ThisRef},Zoom) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxPreviewControlBar) -> ok. +-spec destroy(This::wxPreviewControlBar()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxPreviewControlBar), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxPreviewFrame.erl b/lib/wx/src/gen/wxPreviewFrame.erl index 162e7b1621..41bb0bf2bb 100644 --- a/lib/wx/src/gen/wxPreviewFrame.erl +++ b/lib/wx/src/gen/wxPreviewFrame.erl @@ -101,7 +101,7 @@ new(Preview,Parent) %% @doc See external documentation. -spec new(Preview, Parent, [Option]) -> wxPreviewFrame() when Preview::wxPrintPreview:wxPrintPreview(), Parent::wxWindow:wxWindow(), - Option :: {title, string()} + Option :: {title, unicode:chardata()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()}. @@ -152,7 +152,7 @@ onCloseWindow(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=EventT,ref=EventRef}) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxPreviewFrame) -> ok. +-spec destroy(This::wxPreviewFrame()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxPreviewFrame), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxPrintData.erl b/lib/wx/src/gen/wxPrintData.erl index 5b5f872abc..2cb8dd3c5f 100644 --- a/lib/wx/src/gen/wxPrintData.erl +++ b/lib/wx/src/gen/wxPrintData.erl @@ -110,7 +110,7 @@ getPaperId(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getPrinterName(This) -> string() when +-spec getPrinterName(This) -> unicode:charlist() when This::wxPrintData(). getPrinterName(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPrintData), @@ -200,7 +200,7 @@ setPaperId(#wx_ref{type=ThisT,ref=ThisRef},SizeId) %% @doc See external documentation. -spec setPrinterName(This, Name) -> ok when - This::wxPrintData(), Name::string(). + This::wxPrintData(), Name::unicode:chardata(). setPrinterName(#wx_ref{type=ThisT,ref=ThisRef},Name) when is_list(Name) -> ?CLASS(ThisT,wxPrintData), @@ -218,7 +218,7 @@ setQuality(#wx_ref{type=ThisT,ref=ThisRef},Quality) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxPrintData) -> ok. +-spec destroy(This::wxPrintData()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxPrintData), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxPrintDialog.erl b/lib/wx/src/gen/wxPrintDialog.erl index 3e38bd5f10..1316ee2feb 100644 --- a/lib/wx/src/gen/wxPrintDialog.erl +++ b/lib/wx/src/gen/wxPrintDialog.erl @@ -131,7 +131,7 @@ getPrintDC(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxPrintDialog) -> ok. +-spec destroy(This::wxPrintDialog()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxPrintDialog), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxPrintDialogData.erl b/lib/wx/src/gen/wxPrintDialogData.erl index ec554bfb88..3368349164 100644 --- a/lib/wx/src/gen/wxPrintDialogData.erl +++ b/lib/wx/src/gen/wxPrintDialogData.erl @@ -263,7 +263,7 @@ setToPage(#wx_ref{type=ThisT,ref=ThisRef},V) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxPrintDialogData) -> ok. +-spec destroy(This::wxPrintDialogData()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxPrintDialogData), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxPrintPreview.erl b/lib/wx/src/gen/wxPrintPreview.erl index 717589c871..49ab506526 100644 --- a/lib/wx/src/gen/wxPrintPreview.erl +++ b/lib/wx/src/gen/wxPrintPreview.erl @@ -208,7 +208,7 @@ setZoom(#wx_ref{type=ThisT,ref=ThisRef},Percent) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxPrintPreview) -> ok. +-spec destroy(This::wxPrintPreview()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxPrintPreview), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxPrinter.erl b/lib/wx/src/gen/wxPrinter.erl index 64c70bd75f..031483da4d 100644 --- a/lib/wx/src/gen/wxPrinter.erl +++ b/lib/wx/src/gen/wxPrinter.erl @@ -119,7 +119,7 @@ printDialog(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}) %% @doc See external documentation. -spec reportError(This, Parent, Printout, Message) -> ok when - This::wxPrinter(), Parent::wxWindow:wxWindow(), Printout::wxPrintout:wxPrintout(), Message::string(). + This::wxPrinter(), Parent::wxWindow:wxWindow(), Printout::wxPrintout:wxPrintout(), Message::unicode:chardata(). reportError(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},#wx_ref{type=PrintoutT,ref=PrintoutRef},Message) when is_list(Message) -> ?CLASS(ThisT,wxPrinter), @@ -139,7 +139,7 @@ setup(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}) -> <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxPrinter) -> ok. +-spec destroy(This::wxPrinter()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxPrinter), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxPrintout.erl b/lib/wx/src/gen/wxPrintout.erl index 2afb9a54f7..ab96a09c09 100644 --- a/lib/wx/src/gen/wxPrintout.erl +++ b/lib/wx/src/gen/wxPrintout.erl @@ -169,7 +169,7 @@ getPPIScreen(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getTitle(This) -> string() when +-spec getTitle(This) -> unicode:charlist() when This::wxPrintout(). getTitle(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxPrintout), @@ -289,7 +289,7 @@ offsetLogicalOrigin(#wx_ref{type=ThisT,ref=ThisRef},Xoff,Yoff) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxPrintout) -> ok. +-spec destroy(This::wxPrintout()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxPrintout), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxProgressDialog.erl b/lib/wx/src/gen/wxProgressDialog.erl index 679e87aab2..0f42c1d68f 100644 --- a/lib/wx/src/gen/wxProgressDialog.erl +++ b/lib/wx/src/gen/wxProgressDialog.erl @@ -88,7 +88,7 @@ parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -type wxProgressDialog() :: wx:wx_object(). %% @equiv new(Title,Message, []) -spec new(Title, Message) -> wxProgressDialog() when - Title::string(), Message::string(). + Title::unicode:chardata(), Message::unicode:chardata(). new(Title,Message) when is_list(Title),is_list(Message) -> @@ -96,7 +96,7 @@ new(Title,Message) %% @doc See external documentation. -spec new(Title, Message, [Option]) -> wxProgressDialog() when - Title::string(), Message::string(), + Title::unicode:chardata(), Message::unicode:chardata(), Option :: {maximum, integer()} | {parent, wxWindow:wxWindow()} | {style, integer()}. @@ -139,7 +139,7 @@ update(This,Value) %% @doc See external documentation. -spec update(This, Value, [Option]) -> boolean() when This::wxProgressDialog(), Value::integer(), - Option :: {newmsg, string()}. + Option :: {newmsg, unicode:chardata()}. update(#wx_ref{type=ThisT,ref=ThisRef},Value, Options) when is_integer(Value),is_list(Options) -> ?CLASS(ThisT,wxProgressDialog), @@ -150,7 +150,7 @@ update(#wx_ref{type=ThisT,ref=ThisRef},Value, Options) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxProgressDialog) -> ok. +-spec destroy(This::wxProgressDialog()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxProgressDialog), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxRadioBox.erl b/lib/wx/src/gen/wxRadioBox.erl index 4d02633922..d70a554267 100644 --- a/lib/wx/src/gen/wxRadioBox.erl +++ b/lib/wx/src/gen/wxRadioBox.erl @@ -82,7 +82,7 @@ parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -type wxRadioBox() :: wx:wx_object(). %% @equiv new(Parent,Id,Title,Pos,Size,Choices, []) -spec new(Parent, Id, Title, Pos, Size, Choices) -> wxRadioBox() when - Parent::wxWindow:wxWindow(), Id::integer(), Title::string(), Pos::{X::integer(), Y::integer()}, Size::{W::integer(), H::integer()}, Choices::[[string()]]. + Parent::wxWindow:wxWindow(), Id::integer(), Title::unicode:chardata(), Pos::{X::integer(), Y::integer()}, Size::{W::integer(), H::integer()}, Choices::[[unicode:chardata()]]. new(Parent,Id,Title,Pos={PosX,PosY},Size={SizeW,SizeH},Choices) when is_record(Parent, wx_ref),is_integer(Id),is_list(Title),is_integer(PosX),is_integer(PosY),is_integer(SizeW),is_integer(SizeH),is_list(Choices) -> @@ -90,7 +90,7 @@ new(Parent,Id,Title,Pos={PosX,PosY},Size={SizeW,SizeH},Choices) %% @doc See external documentation. -spec new(Parent, Id, Title, Pos, Size, Choices, [Option]) -> wxRadioBox() when - Parent::wxWindow:wxWindow(), Id::integer(), Title::string(), Pos::{X::integer(), Y::integer()}, Size::{W::integer(), H::integer()}, Choices::[[string()]], + Parent::wxWindow:wxWindow(), Id::integer(), Title::unicode:chardata(), Pos::{X::integer(), Y::integer()}, Size::{W::integer(), H::integer()}, Choices::[[unicode:chardata()]], Option :: {majorDim, integer()} | {style, integer()} | {val, wx:wx()}. @@ -110,7 +110,7 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Id,Title,{PosX,PosY},{SizeW,SizeH},Choic %% @equiv create(This,Parent,Id,Title,Pos,Size,Choices, []) -spec create(This, Parent, Id, Title, Pos, Size, Choices) -> boolean() when - This::wxRadioBox(), Parent::wxWindow:wxWindow(), Id::integer(), Title::string(), Pos::{X::integer(), Y::integer()}, Size::{W::integer(), H::integer()}, Choices::[[string()]]. + This::wxRadioBox(), Parent::wxWindow:wxWindow(), Id::integer(), Title::unicode:chardata(), Pos::{X::integer(), Y::integer()}, Size::{W::integer(), H::integer()}, Choices::[[unicode:chardata()]]. create(This,Parent,Id,Title,Pos={PosX,PosY},Size={SizeW,SizeH},Choices) when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id),is_list(Title),is_integer(PosX),is_integer(PosY),is_integer(SizeW),is_integer(SizeH),is_list(Choices) -> @@ -118,7 +118,7 @@ create(This,Parent,Id,Title,Pos={PosX,PosY},Size={SizeW,SizeH},Choices) %% @doc See external documentation. -spec create(This, Parent, Id, Title, Pos, Size, Choices, [Option]) -> boolean() when - This::wxRadioBox(), Parent::wxWindow:wxWindow(), Id::integer(), Title::string(), Pos::{X::integer(), Y::integer()}, Size::{W::integer(), H::integer()}, Choices::[[string()]], + This::wxRadioBox(), Parent::wxWindow:wxWindow(), Id::integer(), Title::unicode:chardata(), Pos::{X::integer(), Y::integer()}, Size::{W::integer(), H::integer()}, Choices::[[unicode:chardata()]], Option :: {majorDim, integer()} | {style, integer()} | {val, wx:wx()}. @@ -186,7 +186,7 @@ getSelection(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getString(This, N) -> string() when +-spec getString(This, N) -> unicode:charlist() when This::wxRadioBox(), N::integer(). getString(#wx_ref{type=ThisT,ref=ThisRef},N) when is_integer(N) -> @@ -252,7 +252,7 @@ getColumnCount(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getItemHelpText(This, N) -> string() when +-spec getItemHelpText(This, N) -> unicode:charlist() when This::wxRadioBox(), N::integer(). getItemHelpText(#wx_ref{type=ThisT,ref=ThisRef},N) when is_integer(N) -> @@ -306,7 +306,7 @@ isItemShown(#wx_ref{type=ThisT,ref=ThisRef},N) %% @doc See external documentation. -spec setItemHelpText(This, N, HelpText) -> ok when - This::wxRadioBox(), N::integer(), HelpText::string(). + This::wxRadioBox(), N::integer(), HelpText::unicode:chardata(). setItemHelpText(#wx_ref{type=ThisT,ref=ThisRef},N,HelpText) when is_integer(N),is_list(HelpText) -> ?CLASS(ThisT,wxRadioBox), @@ -316,7 +316,7 @@ setItemHelpText(#wx_ref{type=ThisT,ref=ThisRef},N,HelpText) %% @doc See external documentation. -spec setItemToolTip(This, Item, Text) -> ok when - This::wxRadioBox(), Item::integer(), Text::string(). + This::wxRadioBox(), Item::integer(), Text::unicode:chardata(). setItemToolTip(#wx_ref{type=ThisT,ref=ThisRef},Item,Text) when is_integer(Item),is_list(Text) -> ?CLASS(ThisT,wxRadioBox), @@ -325,7 +325,7 @@ setItemToolTip(#wx_ref{type=ThisT,ref=ThisRef},Item,Text) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxRadioBox) -> ok. +-spec destroy(This::wxRadioBox()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxRadioBox), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxRadioButton.erl b/lib/wx/src/gen/wxRadioButton.erl index d95972da22..a013bd65e4 100644 --- a/lib/wx/src/gen/wxRadioButton.erl +++ b/lib/wx/src/gen/wxRadioButton.erl @@ -85,7 +85,7 @@ new() -> %% @equiv new(Parent,Id,Label, []) -spec new(Parent, Id, Label) -> wxRadioButton() when - Parent::wxWindow:wxWindow(), Id::integer(), Label::string(). + Parent::wxWindow:wxWindow(), Id::integer(), Label::unicode:chardata(). new(Parent,Id,Label) when is_record(Parent, wx_ref),is_integer(Id),is_list(Label) -> @@ -93,7 +93,7 @@ new(Parent,Id,Label) %% @doc See external documentation. -spec new(Parent, Id, Label, [Option]) -> wxRadioButton() when - Parent::wxWindow:wxWindow(), Id::integer(), Label::string(), + Parent::wxWindow:wxWindow(), Id::integer(), Label::unicode:chardata(), Option :: {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} @@ -113,7 +113,7 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Id,Label, Options) %% @equiv create(This,Parent,Id,Label, []) -spec create(This, Parent, Id, Label) -> boolean() when - This::wxRadioButton(), Parent::wxWindow:wxWindow(), Id::integer(), Label::string(). + This::wxRadioButton(), Parent::wxWindow:wxWindow(), Id::integer(), Label::unicode:chardata(). create(This,Parent,Id,Label) when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id),is_list(Label) -> @@ -121,7 +121,7 @@ create(This,Parent,Id,Label) %% @doc See external documentation. -spec create(This, Parent, Id, Label, [Option]) -> boolean() when - This::wxRadioButton(), Parent::wxWindow:wxWindow(), Id::integer(), Label::string(), + This::wxRadioButton(), Parent::wxWindow:wxWindow(), Id::integer(), Label::unicode:chardata(), Option :: {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} @@ -158,7 +158,7 @@ setValue(#wx_ref{type=ThisT,ref=ThisRef},Val) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxRadioButton) -> ok. +-spec destroy(This::wxRadioButton()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxRadioButton), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxRegion.erl b/lib/wx/src/gen/wxRegion.erl index 0239558a5a..3397cc7e81 100644 --- a/lib/wx/src/gen/wxRegion.erl +++ b/lib/wx/src/gen/wxRegion.erl @@ -288,7 +288,7 @@ union(#wx_ref{type=ThisT,ref=ThisRef},X,Y,W,H) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxRegion) -> ok. +-spec destroy(This::wxRegion()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxRegion), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxSashLayoutWindow.erl b/lib/wx/src/gen/wxSashLayoutWindow.erl index 252ff4d7dd..f833f59479 100644 --- a/lib/wx/src/gen/wxSashLayoutWindow.erl +++ b/lib/wx/src/gen/wxSashLayoutWindow.erl @@ -191,7 +191,7 @@ setOrientation(#wx_ref{type=ThisT,ref=ThisRef},Orient) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxSashLayoutWindow) -> ok. +-spec destroy(This::wxSashLayoutWindow()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxSashLayoutWindow), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxSashWindow.erl b/lib/wx/src/gen/wxSashWindow.erl index c3f0d17eb4..7d85e05af8 100644 --- a/lib/wx/src/gen/wxSashWindow.erl +++ b/lib/wx/src/gen/wxSashWindow.erl @@ -199,7 +199,7 @@ setSashVisible(#wx_ref{type=ThisT,ref=ThisRef},Edge,Sash) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxSashWindow) -> ok. +-spec destroy(This::wxSashWindow()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxSashWindow), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxScreenDC.erl b/lib/wx/src/gen/wxScreenDC.erl index ef2090b6d1..f9ab60d389 100644 --- a/lib/wx/src/gen/wxScreenDC.erl +++ b/lib/wx/src/gen/wxScreenDC.erl @@ -65,7 +65,7 @@ new() -> <<>>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxScreenDC) -> ok. +-spec destroy(This::wxScreenDC()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxScreenDC), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxScrollBar.erl b/lib/wx/src/gen/wxScrollBar.erl index baa5918c9e..30272312ab 100644 --- a/lib/wx/src/gen/wxScrollBar.erl +++ b/lib/wx/src/gen/wxScrollBar.erl @@ -202,7 +202,7 @@ setScrollbar(#wx_ref{type=ThisT,ref=ThisRef},Position,ThumbSize,Range,PageSize, <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxScrollBar) -> ok. +-spec destroy(This::wxScrollBar()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxScrollBar), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxScrolledWindow.erl b/lib/wx/src/gen/wxScrolledWindow.erl index b4ecc68a6c..9141487a8c 100644 --- a/lib/wx/src/gen/wxScrolledWindow.erl +++ b/lib/wx/src/gen/wxScrolledWindow.erl @@ -245,7 +245,7 @@ setTargetWindow(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=TargetT,ref=TargetR <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxScrolledWindow) -> ok. +-spec destroy(This::wxScrolledWindow()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxScrolledWindow), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxSingleChoiceDialog.erl b/lib/wx/src/gen/wxSingleChoiceDialog.erl index 741e935e41..6f96e283c8 100644 --- a/lib/wx/src/gen/wxSingleChoiceDialog.erl +++ b/lib/wx/src/gen/wxSingleChoiceDialog.erl @@ -94,7 +94,7 @@ new() -> %% @equiv new(Parent,Message,Caption,Choices, []) -spec new(Parent, Message, Caption, Choices) -> wxSingleChoiceDialog() when - Parent::wxWindow:wxWindow(), Message::string(), Caption::string(), Choices::[[string()]]. + Parent::wxWindow:wxWindow(), Message::unicode:chardata(), Caption::unicode:chardata(), Choices::[[unicode:chardata()]]. new(Parent,Message,Caption,Choices) when is_record(Parent, wx_ref),is_list(Message),is_list(Caption),is_list(Choices) -> @@ -102,7 +102,7 @@ new(Parent,Message,Caption,Choices) %% @doc See external documentation. -spec new(Parent, Message, Caption, Choices, [Option]) -> wxSingleChoiceDialog() when - Parent::wxWindow:wxWindow(), Message::string(), Caption::string(), Choices::[[string()]], + Parent::wxWindow:wxWindow(), Message::unicode:chardata(), Caption::unicode:chardata(), Choices::[[unicode:chardata()]], Option :: {style, integer()} | {pos, {X::integer(), Y::integer()}}. new(#wx_ref{type=ParentT,ref=ParentRef},Message,Caption,Choices, Options) @@ -128,7 +128,7 @@ getSelection(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getStringSelection(This) -> string() when +-spec getStringSelection(This) -> unicode:charlist() when This::wxSingleChoiceDialog(). getStringSelection(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxSingleChoiceDialog), @@ -145,7 +145,7 @@ setSelection(#wx_ref{type=ThisT,ref=ThisRef},Sel) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxSingleChoiceDialog) -> ok. +-spec destroy(This::wxSingleChoiceDialog()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxSingleChoiceDialog), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxSizerFlags.erl b/lib/wx/src/gen/wxSizerFlags.erl index e3bf7fed95..08d36d1a80 100644 --- a/lib/wx/src/gen/wxSizerFlags.erl +++ b/lib/wx/src/gen/wxSizerFlags.erl @@ -141,7 +141,7 @@ right(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxSizerFlags) -> ok. +-spec destroy(This::wxSizerFlags()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxSizerFlags), wxe_util:destroy(?wxSizerFlags_destroy,Obj), diff --git a/lib/wx/src/gen/wxSizerItem.erl b/lib/wx/src/gen/wxSizerItem.erl index 75f3c6f805..7a0ce1e508 100644 --- a/lib/wx/src/gen/wxSizerItem.erl +++ b/lib/wx/src/gen/wxSizerItem.erl @@ -381,7 +381,7 @@ show(#wx_ref{type=ThisT,ref=ThisRef},Show) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxSizerItem) -> ok. +-spec destroy(This::wxSizerItem()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxSizerItem), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxSlider.erl b/lib/wx/src/gen/wxSlider.erl index bd00e71476..e951e559ca 100644 --- a/lib/wx/src/gen/wxSlider.erl +++ b/lib/wx/src/gen/wxSlider.erl @@ -234,7 +234,7 @@ setValue(#wx_ref{type=ThisT,ref=ThisRef},Value) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxSlider) -> ok. +-spec destroy(This::wxSlider()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxSlider), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxSpinButton.erl b/lib/wx/src/gen/wxSpinButton.erl index 0e987a0f09..0f1dea75b6 100644 --- a/lib/wx/src/gen/wxSpinButton.erl +++ b/lib/wx/src/gen/wxSpinButton.erl @@ -182,7 +182,7 @@ setValue(#wx_ref{type=ThisT,ref=ThisRef},Value) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxSpinButton) -> ok. +-spec destroy(This::wxSpinButton()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxSpinButton), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxSpinCtrl.erl b/lib/wx/src/gen/wxSpinCtrl.erl index 5de7619b34..17d7e49a8d 100644 --- a/lib/wx/src/gen/wxSpinCtrl.erl +++ b/lib/wx/src/gen/wxSpinCtrl.erl @@ -96,7 +96,7 @@ new(Parent) -spec new(Parent, [Option]) -> wxSpinCtrl() when Parent::wxWindow:wxWindow(), Option :: {id, integer()} - | {value, string()} + | {value, unicode:chardata()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} @@ -131,7 +131,7 @@ create(This,Parent) -spec create(This, Parent, [Option]) -> boolean() when This::wxSpinCtrl(), Parent::wxWindow:wxWindow(), Option :: {id, integer()} - | {value, string()} + | {value, unicode:chardata()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} @@ -159,7 +159,7 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}, Opti -spec setValue(This, Value) -> ok when This::wxSpinCtrl(), Value::integer(); (This, Text) -> ok when - This::wxSpinCtrl(), Text::string(). + This::wxSpinCtrl(), Text::unicode:chardata(). setValue(#wx_ref{type=ThisT,ref=ThisRef},Value) when is_integer(Value) -> ?CLASS(ThisT,wxSpinCtrl), @@ -215,7 +215,7 @@ getMax(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxSpinCtrl) -> ok. +-spec destroy(This::wxSpinCtrl()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxSpinCtrl), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxSplashScreen.erl b/lib/wx/src/gen/wxSplashScreen.erl index e6755690e0..2222f5e64e 100644 --- a/lib/wx/src/gen/wxSplashScreen.erl +++ b/lib/wx/src/gen/wxSplashScreen.erl @@ -138,7 +138,7 @@ getTimeout(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxSplashScreen) -> ok. +-spec destroy(This::wxSplashScreen()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxSplashScreen), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxSplitterWindow.erl b/lib/wx/src/gen/wxSplitterWindow.erl index d72be1c8e8..231f93911f 100644 --- a/lib/wx/src/gen/wxSplitterWindow.erl +++ b/lib/wx/src/gen/wxSplitterWindow.erl @@ -350,7 +350,7 @@ updateSize(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxSplitterWindow) -> ok. +-spec destroy(This::wxSplitterWindow()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxSplitterWindow), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxStaticBitmap.erl b/lib/wx/src/gen/wxStaticBitmap.erl index e16cd7ef21..02272c8107 100644 --- a/lib/wx/src/gen/wxStaticBitmap.erl +++ b/lib/wx/src/gen/wxStaticBitmap.erl @@ -154,7 +154,7 @@ setBitmap(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BitmapT,ref=BitmapRef}) - <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxStaticBitmap) -> ok. +-spec destroy(This::wxStaticBitmap()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxStaticBitmap), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxStaticBox.erl b/lib/wx/src/gen/wxStaticBox.erl index 0b02cb43e4..e4e390610a 100644 --- a/lib/wx/src/gen/wxStaticBox.erl +++ b/lib/wx/src/gen/wxStaticBox.erl @@ -85,7 +85,7 @@ new() -> %% @equiv new(Parent,Id,Label, []) -spec new(Parent, Id, Label) -> wxStaticBox() when - Parent::wxWindow:wxWindow(), Id::integer(), Label::string(). + Parent::wxWindow:wxWindow(), Id::integer(), Label::unicode:chardata(). new(Parent,Id,Label) when is_record(Parent, wx_ref),is_integer(Id),is_list(Label) -> @@ -93,7 +93,7 @@ new(Parent,Id,Label) %% @doc See external documentation. -spec new(Parent, Id, Label, [Option]) -> wxStaticBox() when - Parent::wxWindow:wxWindow(), Id::integer(), Label::string(), + Parent::wxWindow:wxWindow(), Id::integer(), Label::unicode:chardata(), Option :: {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()}. @@ -111,7 +111,7 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Id,Label, Options) %% @equiv create(This,Parent,Id,Label, []) -spec create(This, Parent, Id, Label) -> boolean() when - This::wxStaticBox(), Parent::wxWindow:wxWindow(), Id::integer(), Label::string(). + This::wxStaticBox(), Parent::wxWindow:wxWindow(), Id::integer(), Label::unicode:chardata(). create(This,Parent,Id,Label) when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id),is_list(Label) -> @@ -119,7 +119,7 @@ create(This,Parent,Id,Label) %% @doc See external documentation. -spec create(This, Parent, Id, Label, [Option]) -> boolean() when - This::wxStaticBox(), Parent::wxWindow:wxWindow(), Id::integer(), Label::string(), + This::wxStaticBox(), Parent::wxWindow:wxWindow(), Id::integer(), Label::unicode:chardata(), Option :: {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()}. @@ -137,7 +137,7 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,La <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxStaticBox) -> ok. +-spec destroy(This::wxStaticBox()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxStaticBox), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxStaticBoxSizer.erl b/lib/wx/src/gen/wxStaticBoxSizer.erl index c73563d4cf..32e6250502 100644 --- a/lib/wx/src/gen/wxStaticBoxSizer.erl +++ b/lib/wx/src/gen/wxStaticBoxSizer.erl @@ -66,7 +66,7 @@ new(#wx_ref{type=BoxT,ref=BoxRef},Orient) %% @doc See external documentation. -spec new(Orient, Win, [Option]) -> wxStaticBoxSizer() when Orient::integer(), Win::wxWindow:wxWindow(), - Option :: {label, string()}. + Option :: {label, unicode:chardata()}. new(Orient,#wx_ref{type=WinT,ref=WinRef}, Options) when is_integer(Orient),is_list(Options) -> ?CLASS(WinT,wxWindow), @@ -85,7 +85,7 @@ getStaticBox(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxStaticBoxSizer) -> ok. +-spec destroy(This::wxStaticBoxSizer()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxStaticBoxSizer), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxStaticLine.erl b/lib/wx/src/gen/wxStaticLine.erl index 6298f449d4..86a9975312 100644 --- a/lib/wx/src/gen/wxStaticLine.erl +++ b/lib/wx/src/gen/wxStaticLine.erl @@ -154,7 +154,7 @@ getDefaultSize() -> <<>>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxStaticLine) -> ok. +-spec destroy(This::wxStaticLine()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxStaticLine), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxStaticText.erl b/lib/wx/src/gen/wxStaticText.erl index 5aa4b6a7e0..de779f66fc 100644 --- a/lib/wx/src/gen/wxStaticText.erl +++ b/lib/wx/src/gen/wxStaticText.erl @@ -85,7 +85,7 @@ new() -> %% @equiv new(Parent,Id,Label, []) -spec new(Parent, Id, Label) -> wxStaticText() when - Parent::wxWindow:wxWindow(), Id::integer(), Label::string(). + Parent::wxWindow:wxWindow(), Id::integer(), Label::unicode:chardata(). new(Parent,Id,Label) when is_record(Parent, wx_ref),is_integer(Id),is_list(Label) -> @@ -93,7 +93,7 @@ new(Parent,Id,Label) %% @doc See external documentation. -spec new(Parent, Id, Label, [Option]) -> wxStaticText() when - Parent::wxWindow:wxWindow(), Id::integer(), Label::string(), + Parent::wxWindow:wxWindow(), Id::integer(), Label::unicode:chardata(), Option :: {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()}. @@ -111,7 +111,7 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Id,Label, Options) %% @equiv create(This,Parent,Id,Label, []) -spec create(This, Parent, Id, Label) -> boolean() when - This::wxStaticText(), Parent::wxWindow:wxWindow(), Id::integer(), Label::string(). + This::wxStaticText(), Parent::wxWindow:wxWindow(), Id::integer(), Label::unicode:chardata(). create(This,Parent,Id,Label) when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id),is_list(Label) -> @@ -119,7 +119,7 @@ create(This,Parent,Id,Label) %% @doc See external documentation. -spec create(This, Parent, Id, Label, [Option]) -> boolean() when - This::wxStaticText(), Parent::wxWindow:wxWindow(), Id::integer(), Label::string(), + This::wxStaticText(), Parent::wxWindow:wxWindow(), Id::integer(), Label::unicode:chardata(), Option :: {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()}. @@ -137,7 +137,7 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Id,La <>). %% @doc See external documentation. --spec getLabel(This) -> string() when +-spec getLabel(This) -> unicode:charlist() when This::wxStaticText(). getLabel(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStaticText), @@ -146,7 +146,7 @@ getLabel(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @doc See external documentation. -spec setLabel(This, Label) -> ok when - This::wxStaticText(), Label::string(). + This::wxStaticText(), Label::unicode:chardata(). setLabel(#wx_ref{type=ThisT,ref=ThisRef},Label) when is_list(Label) -> ?CLASS(ThisT,wxStaticText), @@ -164,7 +164,7 @@ wrap(#wx_ref{type=ThisT,ref=ThisRef},Width) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxStaticText) -> ok. +-spec destroy(This::wxStaticText()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxStaticText), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxStatusBar.erl b/lib/wx/src/gen/wxStatusBar.erl index 4b43a8e30b..31dab03b56 100644 --- a/lib/wx/src/gen/wxStatusBar.erl +++ b/lib/wx/src/gen/wxStatusBar.erl @@ -149,7 +149,7 @@ getFieldsCount(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @equiv getStatusText(This, []) --spec getStatusText(This) -> string() when +-spec getStatusText(This) -> unicode:charlist() when This::wxStatusBar(). getStatusText(This) @@ -157,7 +157,7 @@ getStatusText(This) getStatusText(This, []). %% @doc See external documentation. --spec getStatusText(This, [Option]) -> string() when +-spec getStatusText(This, [Option]) -> unicode:charlist() when This::wxStatusBar(), Option :: {number, integer()}. getStatusText(#wx_ref{type=ThisT,ref=ThisRef}, Options) @@ -192,7 +192,7 @@ popStatusText(#wx_ref{type=ThisT,ref=ThisRef}, Options) %% @equiv pushStatusText(This,Text, []) -spec pushStatusText(This, Text) -> ok when - This::wxStatusBar(), Text::string(). + This::wxStatusBar(), Text::unicode:chardata(). pushStatusText(This,Text) when is_record(This, wx_ref),is_list(Text) -> @@ -200,7 +200,7 @@ pushStatusText(This,Text) %% @doc See external documentation. -spec pushStatusText(This, Text, [Option]) -> ok when - This::wxStatusBar(), Text::string(), + This::wxStatusBar(), Text::unicode:chardata(), Option :: {number, integer()}. pushStatusText(#wx_ref{type=ThisT,ref=ThisRef},Text, Options) when is_list(Text),is_list(Options) -> @@ -245,7 +245,7 @@ setMinHeight(#wx_ref{type=ThisT,ref=ThisRef},Height) %% @equiv setStatusText(This,Text, []) -spec setStatusText(This, Text) -> ok when - This::wxStatusBar(), Text::string(). + This::wxStatusBar(), Text::unicode:chardata(). setStatusText(This,Text) when is_record(This, wx_ref),is_list(Text) -> @@ -253,7 +253,7 @@ setStatusText(This,Text) %% @doc See external documentation. -spec setStatusText(This, Text, [Option]) -> ok when - This::wxStatusBar(), Text::string(), + This::wxStatusBar(), Text::unicode:chardata(), Option :: {number, integer()}. setStatusText(#wx_ref{type=ThisT,ref=ThisRef},Text, Options) when is_list(Text),is_list(Options) -> @@ -286,7 +286,7 @@ setStatusStyles(#wx_ref{type=ThisT,ref=ThisRef},Styles) (<< <> || C <- Styles>>)/binary, 0:(((0+length(Styles)) rem 2)*32)>>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxStatusBar) -> ok. +-spec destroy(This::wxStatusBar()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxStatusBar), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxStdDialogButtonSizer.erl b/lib/wx/src/gen/wxStdDialogButtonSizer.erl index b8c17ab6ac..078763e7cb 100644 --- a/lib/wx/src/gen/wxStdDialogButtonSizer.erl +++ b/lib/wx/src/gen/wxStdDialogButtonSizer.erl @@ -100,7 +100,7 @@ setNegativeButton(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ButtonT,ref=Butto <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxStdDialogButtonSizer) -> ok. +-spec destroy(This::wxStdDialogButtonSizer()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxStdDialogButtonSizer), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxStyledTextCtrl.erl b/lib/wx/src/gen/wxStyledTextCtrl.erl index fdbe4faec0..0271548cad 100644 --- a/lib/wx/src/gen/wxStyledTextCtrl.erl +++ b/lib/wx/src/gen/wxStyledTextCtrl.erl @@ -242,7 +242,7 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}, Opti %% @doc See external documentation. -spec addText(This, Text) -> ok when - This::wxStyledTextCtrl(), Text::string(). + This::wxStyledTextCtrl(), Text::unicode:chardata(). addText(#wx_ref{type=ThisT,ref=ThisRef},Text) when is_list(Text) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -261,7 +261,7 @@ addStyledText(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=DataT,ref=DataRef}) - %% @doc See external documentation. -spec insertText(This, Pos, Text) -> ok when - This::wxStyledTextCtrl(), Pos::integer(), Text::string(). + This::wxStyledTextCtrl(), Pos::integer(), Text::unicode:chardata(). insertText(#wx_ref{type=ThisT,ref=ThisRef},Pos,Text) when is_integer(Pos),is_list(Text) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -467,7 +467,7 @@ setAnchor(#wx_ref{type=ThisT,ref=ThisRef},PosAnchor) %% @doc See external documentation. -spec getCurLine(This) -> Result when - Result ::{Res ::string(), LinePos::integer()}, + Result ::{Res ::unicode:charlist(), LinePos::integer()}, This::wxStyledTextCtrl(). getCurLine(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -819,7 +819,7 @@ styleSetSize(#wx_ref{type=ThisT,ref=ThisRef},Style,SizePoints) %% @doc See external documentation. -spec styleSetFaceName(This, Style, FontName) -> ok when - This::wxStyledTextCtrl(), Style::integer(), FontName::string(). + This::wxStyledTextCtrl(), Style::integer(), FontName::unicode:chardata(). styleSetFaceName(#wx_ref{type=ThisT,ref=ThisRef},Style,FontName) when is_integer(Style),is_list(FontName) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -978,7 +978,7 @@ setCaretPeriod(#wx_ref{type=ThisT,ref=ThisRef},PeriodMilliseconds) %% @doc See external documentation. -spec setWordChars(This, Characters) -> ok when - This::wxStyledTextCtrl(), Characters::string(). + This::wxStyledTextCtrl(), Characters::unicode:chardata(). setWordChars(#wx_ref{type=ThisT,ref=ThisRef},Characters) when is_list(Characters) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -1030,7 +1030,7 @@ indicatorSetForeground(#wx_ref{type=ThisT,ref=ThisRef},Indic,Fore) <>). %% @doc See external documentation. --spec indicatorGetForeground(This, Indic) -> wx:wx_colour() when +-spec indicatorGetForeground(This, Indic) -> wx:wx_colour4() when This::wxStyledTextCtrl(), Indic::integer(). indicatorGetForeground(#wx_ref{type=ThisT,ref=ThisRef},Indic) when is_integer(Indic) -> @@ -1108,7 +1108,7 @@ setCaretLineVisible(#wx_ref{type=ThisT,ref=ThisRef},Show) <>). %% @doc See external documentation. --spec getCaretLineBackground(This) -> wx:wx_colour() when +-spec getCaretLineBackground(This) -> wx:wx_colour4() when This::wxStyledTextCtrl(). getCaretLineBackground(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -1126,7 +1126,7 @@ setCaretLineBackground(#wx_ref{type=ThisT,ref=ThisRef},Back) %% @doc See external documentation. -spec autoCompShow(This, LenEntered, ItemList) -> ok when - This::wxStyledTextCtrl(), LenEntered::integer(), ItemList::string(). + This::wxStyledTextCtrl(), LenEntered::integer(), ItemList::unicode:chardata(). autoCompShow(#wx_ref{type=ThisT,ref=ThisRef},LenEntered,ItemList) when is_integer(LenEntered),is_list(ItemList) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -1168,7 +1168,7 @@ autoCompComplete(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @doc See external documentation. -spec autoCompStops(This, CharacterSet) -> ok when - This::wxStyledTextCtrl(), CharacterSet::string(). + This::wxStyledTextCtrl(), CharacterSet::unicode:chardata(). autoCompStops(#wx_ref{type=ThisT,ref=ThisRef},CharacterSet) when is_list(CharacterSet) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -1195,7 +1195,7 @@ autoCompGetSeparator(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @doc See external documentation. -spec autoCompSelect(This, Text) -> ok when - This::wxStyledTextCtrl(), Text::string(). + This::wxStyledTextCtrl(), Text::unicode:chardata(). autoCompSelect(#wx_ref{type=ThisT,ref=ThisRef},Text) when is_list(Text) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -1222,7 +1222,7 @@ autoCompGetCancelAtStart(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @doc See external documentation. -spec autoCompSetFillUps(This, CharacterSet) -> ok when - This::wxStyledTextCtrl(), CharacterSet::string(). + This::wxStyledTextCtrl(), CharacterSet::unicode:chardata(). autoCompSetFillUps(#wx_ref{type=ThisT,ref=ThisRef},CharacterSet) when is_list(CharacterSet) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -1266,7 +1266,7 @@ autoCompGetIgnoreCase(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @doc See external documentation. -spec userListShow(This, ListType, ItemList) -> ok when - This::wxStyledTextCtrl(), ListType::integer(), ItemList::string(). + This::wxStyledTextCtrl(), ListType::integer(), ItemList::unicode:chardata(). userListShow(#wx_ref{type=ThisT,ref=ThisRef},ListType,ItemList) when is_integer(ListType),is_list(ItemList) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -1516,7 +1516,7 @@ getCodePage(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getCaretForeground(This) -> wx:wx_colour() when +-spec getCaretForeground(This) -> wx:wx_colour4() when This::wxStyledTextCtrl(). getCaretForeground(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -1610,7 +1610,7 @@ getPrintColourMode(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @equiv findText(This,MinPos,MaxPos,Text, []) -spec findText(This, MinPos, MaxPos, Text) -> integer() when - This::wxStyledTextCtrl(), MinPos::integer(), MaxPos::integer(), Text::string(). + This::wxStyledTextCtrl(), MinPos::integer(), MaxPos::integer(), Text::unicode:chardata(). findText(This,MinPos,MaxPos,Text) when is_record(This, wx_ref),is_integer(MinPos),is_integer(MaxPos),is_list(Text) -> @@ -1618,7 +1618,7 @@ findText(This,MinPos,MaxPos,Text) %% @doc See external documentation. -spec findText(This, MinPos, MaxPos, Text, [Option]) -> integer() when - This::wxStyledTextCtrl(), MinPos::integer(), MaxPos::integer(), Text::string(), + This::wxStyledTextCtrl(), MinPos::integer(), MaxPos::integer(), Text::unicode:chardata(), Option :: {flags, integer()}. findText(#wx_ref{type=ThisT,ref=ThisRef},MinPos,MaxPos,Text, Options) when is_integer(MinPos),is_integer(MaxPos),is_list(Text),is_list(Options) -> @@ -1650,7 +1650,7 @@ getFirstVisibleLine(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getLine(This, Line) -> string() when +-spec getLine(This, Line) -> unicode:charlist() when This::wxStyledTextCtrl(), Line::integer(). getLine(#wx_ref{type=ThisT,ref=ThisRef},Line) when is_integer(Line) -> @@ -1718,7 +1718,7 @@ setSelection(#wx_ref{type=ThisT,ref=ThisRef},Start,End) <>). %% @doc See external documentation. --spec getSelectedText(This) -> string() when +-spec getSelectedText(This) -> unicode:charlist() when This::wxStyledTextCtrl(). getSelectedText(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -1726,7 +1726,7 @@ getSelectedText(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getTextRange(This, StartPos, EndPos) -> string() when +-spec getTextRange(This, StartPos, EndPos) -> unicode:charlist() when This::wxStyledTextCtrl(), StartPos::integer(), EndPos::integer(). getTextRange(#wx_ref{type=ThisT,ref=ThisRef},StartPos,EndPos) when is_integer(StartPos),is_integer(EndPos) -> @@ -1780,7 +1780,7 @@ ensureCaretVisible(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @doc See external documentation. -spec replaceSelection(This, Text) -> ok when - This::wxStyledTextCtrl(), Text::string(). + This::wxStyledTextCtrl(), Text::unicode:chardata(). replaceSelection(#wx_ref{type=ThisT,ref=ThisRef},Text) when is_list(Text) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -1863,7 +1863,7 @@ clear(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @doc See external documentation. -spec setText(This, Text) -> ok when - This::wxStyledTextCtrl(), Text::string(). + This::wxStyledTextCtrl(), Text::unicode:chardata(). setText(#wx_ref{type=ThisT,ref=ThisRef},Text) when is_list(Text) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -1872,7 +1872,7 @@ setText(#wx_ref{type=ThisT,ref=ThisRef},Text) <>). %% @doc See external documentation. --spec getText(This) -> string() when +-spec getText(This) -> unicode:charlist() when This::wxStyledTextCtrl(). getText(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -1948,7 +1948,7 @@ getTargetEnd(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @doc See external documentation. -spec replaceTarget(This, Text) -> integer() when - This::wxStyledTextCtrl(), Text::string(). + This::wxStyledTextCtrl(), Text::unicode:chardata(). replaceTarget(#wx_ref{type=ThisT,ref=ThisRef},Text) when is_list(Text) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -1958,7 +1958,7 @@ replaceTarget(#wx_ref{type=ThisT,ref=ThisRef},Text) %% @doc See external documentation. -spec searchInTarget(This, Text) -> integer() when - This::wxStyledTextCtrl(), Text::string(). + This::wxStyledTextCtrl(), Text::unicode:chardata(). searchInTarget(#wx_ref{type=ThisT,ref=ThisRef},Text) when is_list(Text) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -1985,7 +1985,7 @@ getSearchFlags(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @doc See external documentation. -spec callTipShow(This, Pos, Definition) -> ok when - This::wxStyledTextCtrl(), Pos::integer(), Definition::string(). + This::wxStyledTextCtrl(), Pos::integer(), Definition::unicode:chardata(). callTipShow(#wx_ref{type=ThisT,ref=ThisRef},Pos,Definition) when is_integer(Pos),is_list(Definition) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -2379,7 +2379,7 @@ getScrollWidth(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @doc See external documentation. -spec textWidth(This, Style, Text) -> integer() when - This::wxStyledTextCtrl(), Style::integer(), Text::string(). + This::wxStyledTextCtrl(), Style::integer(), Text::unicode:chardata(). textWidth(#wx_ref{type=ThisT,ref=ThisRef},Style,Text) when is_integer(Style),is_list(Text) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -2423,7 +2423,7 @@ getUseVerticalScrollBar(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @doc See external documentation. -spec appendText(This, Text) -> ok when - This::wxStyledTextCtrl(), Text::string(). + This::wxStyledTextCtrl(), Text::unicode:chardata(). appendText(#wx_ref{type=ThisT,ref=ThisRef},Text) when is_list(Text) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -3035,7 +3035,7 @@ getEdgeMode(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getEdgeColour(This) -> wx:wx_colour() when +-spec getEdgeColour(This) -> wx:wx_colour4() when This::wxStyledTextCtrl(). getEdgeColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -3061,7 +3061,7 @@ searchAnchor(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @doc See external documentation. -spec searchNext(This, Flags, Text) -> integer() when - This::wxStyledTextCtrl(), Flags::integer(), Text::string(). + This::wxStyledTextCtrl(), Flags::integer(), Text::unicode:chardata(). searchNext(#wx_ref{type=ThisT,ref=ThisRef},Flags,Text) when is_integer(Flags),is_list(Text) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -3071,7 +3071,7 @@ searchNext(#wx_ref{type=ThisT,ref=ThisRef},Flags,Text) %% @doc See external documentation. -spec searchPrev(This, Flags, Text) -> integer() when - This::wxStyledTextCtrl(), Flags::integer(), Text::string(). + This::wxStyledTextCtrl(), Flags::integer(), Text::unicode:chardata(). searchPrev(#wx_ref{type=ThisT,ref=ThisRef},Flags,Text) when is_integer(Flags),is_list(Text) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -3402,7 +3402,7 @@ copyRange(#wx_ref{type=ThisT,ref=ThisRef},Start,End) %% @doc See external documentation. -spec copyText(This, Length, Text) -> ok when - This::wxStyledTextCtrl(), Length::integer(), Text::string(). + This::wxStyledTextCtrl(), Length::integer(), Text::unicode:chardata(). copyText(#wx_ref{type=ThisT,ref=ThisRef},Length,Text) when is_integer(Length),is_list(Text) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -3565,7 +3565,7 @@ wordRightEndExtend(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @doc See external documentation. -spec setWhitespaceChars(This, Characters) -> ok when - This::wxStyledTextCtrl(), Characters::string(). + This::wxStyledTextCtrl(), Characters::unicode:chardata(). setWhitespaceChars(#wx_ref{type=ThisT,ref=ThisRef},Characters) when is_list(Characters) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -3718,7 +3718,7 @@ colourise(#wx_ref{type=ThisT,ref=ThisRef},Start,End) %% @doc See external documentation. -spec setProperty(This, Key, Value) -> ok when - This::wxStyledTextCtrl(), Key::string(), Value::string(). + This::wxStyledTextCtrl(), Key::unicode:chardata(), Value::unicode:chardata(). setProperty(#wx_ref{type=ThisT,ref=ThisRef},Key,Value) when is_list(Key),is_list(Value) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -3729,7 +3729,7 @@ setProperty(#wx_ref{type=ThisT,ref=ThisRef},Key,Value) %% @doc See external documentation. -spec setKeyWords(This, KeywordSet, KeyWords) -> ok when - This::wxStyledTextCtrl(), KeywordSet::integer(), KeyWords::string(). + This::wxStyledTextCtrl(), KeywordSet::integer(), KeyWords::unicode:chardata(). setKeyWords(#wx_ref{type=ThisT,ref=ThisRef},KeywordSet,KeyWords) when is_integer(KeywordSet),is_list(KeyWords) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -3739,7 +3739,7 @@ setKeyWords(#wx_ref{type=ThisT,ref=ThisRef},KeywordSet,KeyWords) %% @doc See external documentation. -spec setLexerLanguage(This, Language) -> ok when - This::wxStyledTextCtrl(), Language::string(). + This::wxStyledTextCtrl(), Language::unicode:chardata(). setLexerLanguage(#wx_ref{type=ThisT,ref=ThisRef},Language) when is_list(Language) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -3748,8 +3748,8 @@ setLexerLanguage(#wx_ref{type=ThisT,ref=ThisRef},Language) <>). %% @doc See external documentation. --spec getProperty(This, Key) -> string() when - This::wxStyledTextCtrl(), Key::string(). +-spec getProperty(This, Key) -> unicode:charlist() when + This::wxStyledTextCtrl(), Key::unicode:chardata(). getProperty(#wx_ref{type=ThisT,ref=ThisRef},Key) when is_list(Key) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -3775,7 +3775,7 @@ getCurrentLine(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @doc See external documentation. -spec styleSetSpec(This, StyleNum, Spec) -> ok when - This::wxStyledTextCtrl(), StyleNum::integer(), Spec::string(). + This::wxStyledTextCtrl(), StyleNum::integer(), Spec::unicode:chardata(). styleSetSpec(#wx_ref{type=ThisT,ref=ThisRef},StyleNum,Spec) when is_integer(StyleNum),is_list(Spec) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -3795,7 +3795,7 @@ styleSetFont(#wx_ref{type=ThisT,ref=ThisRef},StyleNum,#wx_ref{type=FontT,ref=Fon %% @equiv styleSetFontAttr(This,StyleNum,Size,FaceName,Bold,Italic,Underline, []) -spec styleSetFontAttr(This, StyleNum, Size, FaceName, Bold, Italic, Underline) -> ok when - This::wxStyledTextCtrl(), StyleNum::integer(), Size::integer(), FaceName::string(), Bold::boolean(), Italic::boolean(), Underline::boolean(). + This::wxStyledTextCtrl(), StyleNum::integer(), Size::integer(), FaceName::unicode:chardata(), Bold::boolean(), Italic::boolean(), Underline::boolean(). styleSetFontAttr(This,StyleNum,Size,FaceName,Bold,Italic,Underline) when is_record(This, wx_ref),is_integer(StyleNum),is_integer(Size),is_list(FaceName),is_boolean(Bold),is_boolean(Italic),is_boolean(Underline) -> @@ -3804,7 +3804,7 @@ styleSetFontAttr(This,StyleNum,Size,FaceName,Bold,Italic,Underline) %% @doc See external documentation. %%
Encoding = ?wxFONTENCODING_SYSTEM | ?wxFONTENCODING_DEFAULT | ?wxFONTENCODING_ISO8859_1 | ?wxFONTENCODING_ISO8859_2 | ?wxFONTENCODING_ISO8859_3 | ?wxFONTENCODING_ISO8859_4 | ?wxFONTENCODING_ISO8859_5 | ?wxFONTENCODING_ISO8859_6 | ?wxFONTENCODING_ISO8859_7 | ?wxFONTENCODING_ISO8859_8 | ?wxFONTENCODING_ISO8859_9 | ?wxFONTENCODING_ISO8859_10 | ?wxFONTENCODING_ISO8859_11 | ?wxFONTENCODING_ISO8859_12 | ?wxFONTENCODING_ISO8859_13 | ?wxFONTENCODING_ISO8859_14 | ?wxFONTENCODING_ISO8859_15 | ?wxFONTENCODING_ISO8859_MAX | ?wxFONTENCODING_KOI8 | ?wxFONTENCODING_KOI8_U | ?wxFONTENCODING_ALTERNATIVE | ?wxFONTENCODING_BULGARIAN | ?wxFONTENCODING_CP437 | ?wxFONTENCODING_CP850 | ?wxFONTENCODING_CP852 | ?wxFONTENCODING_CP855 | ?wxFONTENCODING_CP866 | ?wxFONTENCODING_CP874 | ?wxFONTENCODING_CP932 | ?wxFONTENCODING_CP936 | ?wxFONTENCODING_CP949 | ?wxFONTENCODING_CP950 | ?wxFONTENCODING_CP1250 | ?wxFONTENCODING_CP1251 | ?wxFONTENCODING_CP1252 | ?wxFONTENCODING_CP1253 | ?wxFONTENCODING_CP1254 | ?wxFONTENCODING_CP1255 | ?wxFONTENCODING_CP1256 | ?wxFONTENCODING_CP1257 | ?wxFONTENCODING_CP12_MAX | ?wxFONTENCODING_UTF7 | ?wxFONTENCODING_UTF8 | ?wxFONTENCODING_EUC_JP | ?wxFONTENCODING_UTF16BE | ?wxFONTENCODING_UTF16LE | ?wxFONTENCODING_UTF32BE | ?wxFONTENCODING_UTF32LE | ?wxFONTENCODING_MACROMAN | ?wxFONTENCODING_MACJAPANESE | ?wxFONTENCODING_MACCHINESETRAD | ?wxFONTENCODING_MACKOREAN | ?wxFONTENCODING_MACARABIC | ?wxFONTENCODING_MACHEBREW | ?wxFONTENCODING_MACGREEK | ?wxFONTENCODING_MACCYRILLIC | ?wxFONTENCODING_MACDEVANAGARI | ?wxFONTENCODING_MACGURMUKHI | ?wxFONTENCODING_MACGUJARATI | ?wxFONTENCODING_MACORIYA | ?wxFONTENCODING_MACBENGALI | ?wxFONTENCODING_MACTAMIL | ?wxFONTENCODING_MACTELUGU | ?wxFONTENCODING_MACKANNADA | ?wxFONTENCODING_MACMALAJALAM | ?wxFONTENCODING_MACSINHALESE | ?wxFONTENCODING_MACBURMESE | ?wxFONTENCODING_MACKHMER | ?wxFONTENCODING_MACTHAI | ?wxFONTENCODING_MACLAOTIAN | ?wxFONTENCODING_MACGEORGIAN | ?wxFONTENCODING_MACARMENIAN | ?wxFONTENCODING_MACCHINESESIMP | ?wxFONTENCODING_MACTIBETAN | ?wxFONTENCODING_MACMONGOLIAN | ?wxFONTENCODING_MACETHIOPIC | ?wxFONTENCODING_MACCENTRALEUR | ?wxFONTENCODING_MACVIATNAMESE | ?wxFONTENCODING_MACARABICEXT | ?wxFONTENCODING_MACSYMBOL | ?wxFONTENCODING_MACDINGBATS | ?wxFONTENCODING_MACTURKISH | ?wxFONTENCODING_MACCROATIAN | ?wxFONTENCODING_MACICELANDIC | ?wxFONTENCODING_MACROMANIAN | ?wxFONTENCODING_MACCELTIC | ?wxFONTENCODING_MACGAELIC | ?wxFONTENCODING_MACKEYBOARD | ?wxFONTENCODING_MAX | ?wxFONTENCODING_MACMIN | ?wxFONTENCODING_MACMAX | ?wxFONTENCODING_UTF16 | ?wxFONTENCODING_UTF32 | ?wxFONTENCODING_UNICODE | ?wxFONTENCODING_GB2312 | ?wxFONTENCODING_BIG5 | ?wxFONTENCODING_SHIFT_JIS -spec styleSetFontAttr(This, StyleNum, Size, FaceName, Bold, Italic, Underline, [Option]) -> ok when - This::wxStyledTextCtrl(), StyleNum::integer(), Size::integer(), FaceName::string(), Bold::boolean(), Italic::boolean(), Underline::boolean(), + This::wxStyledTextCtrl(), StyleNum::integer(), Size::integer(), FaceName::unicode:chardata(), Bold::boolean(), Italic::boolean(), Underline::boolean(), Option :: {encoding, wx:wx_enum()}. styleSetFontAttr(#wx_ref{type=ThisT,ref=ThisRef},StyleNum,Size,FaceName,Bold,Italic,Underline, Options) when is_integer(StyleNum),is_integer(Size),is_list(FaceName),is_boolean(Bold),is_boolean(Italic),is_boolean(Underline),is_list(Options) -> @@ -3948,7 +3948,7 @@ setLastKeydownProcessed(#wx_ref{type=ThisT,ref=ThisRef},Val) %% @doc See external documentation. -spec saveFile(This, Filename) -> boolean() when - This::wxStyledTextCtrl(), Filename::string(). + This::wxStyledTextCtrl(), Filename::unicode:chardata(). saveFile(#wx_ref{type=ThisT,ref=ThisRef},Filename) when is_list(Filename) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -3958,7 +3958,7 @@ saveFile(#wx_ref{type=ThisT,ref=ThisRef},Filename) %% @doc See external documentation. -spec loadFile(This, Filename) -> boolean() when - This::wxStyledTextCtrl(), Filename::string(). + This::wxStyledTextCtrl(), Filename::unicode:chardata(). loadFile(#wx_ref{type=ThisT,ref=ThisRef},Filename) when is_list(Filename) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -3979,7 +3979,7 @@ doDragOver(#wx_ref{type=ThisT,ref=ThisRef},X,Y,Def) %% @doc See external documentation. -spec doDropText(This, X, Y, Data) -> boolean() when - This::wxStyledTextCtrl(), X::integer(), Y::integer(), Data::string(). + This::wxStyledTextCtrl(), X::integer(), Y::integer(), Data::unicode:chardata(). doDropText(#wx_ref{type=ThisT,ref=ThisRef},X,Y,Data) when is_integer(X),is_integer(Y),is_list(Data) -> ?CLASS(ThisT,wxStyledTextCtrl), @@ -4079,7 +4079,7 @@ appendTextRaw(#wx_ref{type=ThisT,ref=ThisRef},Text) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxStyledTextCtrl) -> ok. +-spec destroy(This::wxStyledTextCtrl()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxStyledTextCtrl), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxStyledTextEvent.erl b/lib/wx/src/gen/wxStyledTextEvent.erl index 9c1343ef85..1c2c79fe5d 100644 --- a/lib/wx/src/gen/wxStyledTextEvent.erl +++ b/lib/wx/src/gen/wxStyledTextEvent.erl @@ -84,7 +84,7 @@ getModificationType(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getText(This) -> string() when +-spec getText(This) -> unicode:charlist() when This::wxStyledTextEvent(). getText(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextEvent), @@ -188,7 +188,7 @@ getY(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getDragText(This) -> string() when +-spec getDragText(This) -> unicode:charlist() when This::wxStyledTextEvent(). getDragText(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxStyledTextEvent), diff --git a/lib/wx/src/gen/wxSystemOptions.erl b/lib/wx/src/gen/wxSystemOptions.erl index a94b74136f..69ef70b2ef 100644 --- a/lib/wx/src/gen/wxSystemOptions.erl +++ b/lib/wx/src/gen/wxSystemOptions.erl @@ -35,8 +35,8 @@ parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -type wxSystemOptions() :: wx:wx_object(). %% @doc See external documentation. --spec getOption(Name) -> string() when - Name::string(). +-spec getOption(Name) -> unicode:charlist() when + Name::unicode:chardata(). getOption(Name) when is_list(Name) -> Name_UC = unicode:characters_to_binary([Name,0]), @@ -45,7 +45,7 @@ getOption(Name) %% @doc See external documentation. -spec getOptionInt(Name) -> integer() when - Name::string(). + Name::unicode:chardata(). getOptionInt(Name) when is_list(Name) -> Name_UC = unicode:characters_to_binary([Name,0]), @@ -54,7 +54,7 @@ getOptionInt(Name) %% @doc See external documentation. -spec hasOption(Name) -> boolean() when - Name::string(). + Name::unicode:chardata(). hasOption(Name) when is_list(Name) -> Name_UC = unicode:characters_to_binary([Name,0]), @@ -63,7 +63,7 @@ hasOption(Name) %% @doc See external documentation. -spec isFalse(Name) -> boolean() when - Name::string(). + Name::unicode:chardata(). isFalse(Name) when is_list(Name) -> Name_UC = unicode:characters_to_binary([Name,0]), @@ -72,9 +72,9 @@ isFalse(Name) %% @doc See external documentation. -spec setOption(Name, Value) -> ok when - Name::string(), Value::integer(); + Name::unicode:chardata(), Value::integer(); (Name, Value) -> ok when - Name::string(), Value::string(). + Name::unicode:chardata(), Value::unicode:chardata(). setOption(Name,Value) when is_list(Name),is_integer(Value) -> Name_UC = unicode:characters_to_binary([Name,0]), diff --git a/lib/wx/src/gen/wxSystemSettings.erl b/lib/wx/src/gen/wxSystemSettings.erl index fce9572ae9..a3bae5c85f 100644 --- a/lib/wx/src/gen/wxSystemSettings.erl +++ b/lib/wx/src/gen/wxSystemSettings.erl @@ -36,7 +36,7 @@ parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -type wxSystemSettings() :: wx:wx_object(). %% @doc See external documentation. %%
Index = ?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 --spec getColour(Index) -> wx:wx_colour() when +-spec getColour(Index) -> wx:wx_colour4() when Index::wx:wx_enum(). getColour(Index) when is_integer(Index) -> diff --git a/lib/wx/src/gen/wxTextAttr.erl b/lib/wx/src/gen/wxTextAttr.erl index 1e3872421b..16bb943359 100644 --- a/lib/wx/src/gen/wxTextAttr.erl +++ b/lib/wx/src/gen/wxTextAttr.erl @@ -80,7 +80,7 @@ getAlignment(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getBackgroundColour(This) -> wx:wx_colour() when +-spec getBackgroundColour(This) -> wx:wx_colour4() when This::wxTextAttr(). getBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTextAttr), @@ -128,7 +128,7 @@ getTabs(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getTextColour(This) -> wx:wx_colour() when +-spec getTextColour(This) -> wx:wx_colour4() when This::wxTextAttr(). getTextColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTextAttr), @@ -275,7 +275,7 @@ setTextColour(#wx_ref{type=ThisT,ref=ThisRef},ColText) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxTextAttr) -> ok. +-spec destroy(This::wxTextAttr()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxTextAttr), wxe_util:destroy(?wxTextAttr_destroy,Obj), diff --git a/lib/wx/src/gen/wxTextCtrl.erl b/lib/wx/src/gen/wxTextCtrl.erl index fa83913a6f..21ff062d5b 100644 --- a/lib/wx/src/gen/wxTextCtrl.erl +++ b/lib/wx/src/gen/wxTextCtrl.erl @@ -102,7 +102,7 @@ new(Parent,Id) %% @doc See external documentation. -spec new(Parent, Id, [Option]) -> wxTextCtrl() when Parent::wxWindow:wxWindow(), Id::integer(), - Option :: {value, string()} + Option :: {value, unicode:chardata()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} @@ -122,7 +122,7 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options) %% @doc See external documentation. -spec appendText(This, Text) -> ok when - This::wxTextCtrl(), Text::string(). + This::wxTextCtrl(), Text::unicode:chardata(). appendText(#wx_ref{type=ThisT,ref=ThisRef},Text) when is_list(Text) -> ?CLASS(ThisT,wxTextCtrl), @@ -197,7 +197,7 @@ create(This,Parent,Id) %% @doc See external documentation. -spec create(This, Parent, Id, [Option]) -> boolean() when This::wxTextCtrl(), Parent::wxWindow:wxWindow(), Id::integer(), - Option :: {value, string()} + Option :: {value, unicode:chardata()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} @@ -275,7 +275,7 @@ getLineLength(#wx_ref{type=ThisT,ref=ThisRef},LineNo) <>). %% @doc See external documentation. --spec getLineText(This, LineNo) -> string() when +-spec getLineText(This, LineNo) -> unicode:charlist() when This::wxTextCtrl(), LineNo::integer(). getLineText(#wx_ref{type=ThisT,ref=ThisRef},LineNo) when is_integer(LineNo) -> @@ -292,7 +292,7 @@ getNumberOfLines(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getRange(This, From, To) -> string() when +-spec getRange(This, From, To) -> unicode:charlist() when This::wxTextCtrl(), From::integer(), To::integer(). getRange(#wx_ref{type=ThisT,ref=ThisRef},From,To) when is_integer(From),is_integer(To) -> @@ -309,7 +309,7 @@ getSelection(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getStringSelection(This) -> string() when +-spec getStringSelection(This) -> unicode:charlist() when This::wxTextCtrl(). getStringSelection(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTextCtrl), @@ -327,7 +327,7 @@ getStyle(#wx_ref{type=ThisT,ref=ThisRef},Position,#wx_ref{type=StyleT,ref=StyleR <>). %% @doc See external documentation. --spec getValue(This) -> string() when +-spec getValue(This) -> unicode:charlist() when This::wxTextCtrl(). getValue(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTextCtrl), @@ -368,7 +368,7 @@ isSingleLine(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @equiv loadFile(This,File, []) -spec loadFile(This, File) -> boolean() when - This::wxTextCtrl(), File::string(). + This::wxTextCtrl(), File::unicode:chardata(). loadFile(This,File) when is_record(This, wx_ref),is_list(File) -> @@ -376,7 +376,7 @@ loadFile(This,File) %% @doc See external documentation. -spec loadFile(This, File, [Option]) -> boolean() when - This::wxTextCtrl(), File::string(), + This::wxTextCtrl(), File::unicode:chardata(), Option :: {fileType, integer()}. loadFile(#wx_ref{type=ThisT,ref=ThisRef},File, Options) when is_list(File),is_list(Options) -> @@ -433,7 +433,7 @@ remove(#wx_ref{type=ThisT,ref=ThisRef},From,To) %% @doc See external documentation. -spec replace(This, From, To, Value) -> ok when - This::wxTextCtrl(), From::integer(), To::integer(), Value::string(). + This::wxTextCtrl(), From::integer(), To::integer(), Value::unicode:chardata(). replace(#wx_ref{type=ThisT,ref=ThisRef},From,To,Value) when is_integer(From),is_integer(To),is_list(Value) -> ?CLASS(ThisT,wxTextCtrl), @@ -452,7 +452,7 @@ saveFile(This) %% @doc See external documentation. -spec saveFile(This, [Option]) -> boolean() when This::wxTextCtrl(), - Option :: {file, string()} + Option :: {file, unicode:chardata()} | {fileType, integer()}. saveFile(#wx_ref{type=ThisT,ref=ThisRef}, Options) when is_list(Options) -> @@ -529,7 +529,7 @@ setStyle(#wx_ref{type=ThisT,ref=ThisRef},Start,End,#wx_ref{type=StyleT,ref=Style %% @doc See external documentation. -spec setValue(This, Value) -> ok when - This::wxTextCtrl(), Value::string(). + This::wxTextCtrl(), Value::unicode:chardata(). setValue(#wx_ref{type=ThisT,ref=ThisRef},Value) when is_list(Value) -> ?CLASS(ThisT,wxTextCtrl), @@ -556,7 +556,7 @@ undo(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @doc See external documentation. -spec writeText(This, Text) -> ok when - This::wxTextCtrl(), Text::string(). + This::wxTextCtrl(), Text::unicode:chardata(). writeText(#wx_ref{type=ThisT,ref=ThisRef},Text) when is_list(Text) -> ?CLASS(ThisT,wxTextCtrl), @@ -574,7 +574,7 @@ xYToPosition(#wx_ref{type=ThisT,ref=ThisRef},X,Y) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxTextCtrl) -> ok. +-spec destroy(This::wxTextCtrl()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxTextCtrl), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxTextDataObject.erl b/lib/wx/src/gen/wxTextDataObject.erl index ab4d5378e1..4ffa2de4a7 100644 --- a/lib/wx/src/gen/wxTextDataObject.erl +++ b/lib/wx/src/gen/wxTextDataObject.erl @@ -46,7 +46,7 @@ new() -> %% @doc See external documentation. -spec new([Option]) -> wxTextDataObject() when - Option :: {text, string()}. + Option :: {text, unicode:chardata()}. new(Options) when is_list(Options) -> MOpts = fun({text, Text}, Acc) -> Text_UC = unicode:characters_to_binary([Text,0]),[<<1:32/?UI,(byte_size(Text_UC)):32/?UI,(Text_UC)/binary, 0:(((8- ((0+byte_size(Text_UC)) band 16#7)) band 16#7))/unit:8>>|Acc]; @@ -64,7 +64,7 @@ getTextLength(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getText(This) -> string() when +-spec getText(This) -> unicode:charlist() when This::wxTextDataObject(). getText(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTextDataObject), @@ -73,7 +73,7 @@ getText(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @doc See external documentation. -spec setText(This, Text) -> ok when - This::wxTextDataObject(), Text::string(). + This::wxTextDataObject(), Text::unicode:chardata(). setText(#wx_ref{type=ThisT,ref=ThisRef},Text) when is_list(Text) -> ?CLASS(ThisT,wxTextDataObject), @@ -82,7 +82,7 @@ setText(#wx_ref{type=ThisT,ref=ThisRef},Text) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxTextDataObject) -> ok. +-spec destroy(This::wxTextDataObject()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxTextDataObject), wxe_util:destroy(?wxTextDataObject_destroy,Obj), diff --git a/lib/wx/src/gen/wxTextEntryDialog.erl b/lib/wx/src/gen/wxTextEntryDialog.erl index c26a1a57b5..78e6e32b98 100644 --- a/lib/wx/src/gen/wxTextEntryDialog.erl +++ b/lib/wx/src/gen/wxTextEntryDialog.erl @@ -88,7 +88,7 @@ parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -type wxTextEntryDialog() :: wx:wx_object(). %% @equiv new(Parent,Message, []) -spec new(Parent, Message) -> wxTextEntryDialog() when - Parent::wxWindow:wxWindow(), Message::string(). + Parent::wxWindow:wxWindow(), Message::unicode:chardata(). new(Parent,Message) when is_record(Parent, wx_ref),is_list(Message) -> @@ -96,9 +96,9 @@ new(Parent,Message) %% @doc See external documentation. -spec new(Parent, Message, [Option]) -> wxTextEntryDialog() when - Parent::wxWindow:wxWindow(), Message::string(), - Option :: {caption, string()} - | {value, string()} + Parent::wxWindow:wxWindow(), Message::unicode:chardata(), + Option :: {caption, unicode:chardata()} + | {value, unicode:chardata()} | {style, integer()} | {pos, {X::integer(), Y::integer()}}. new(#wx_ref{type=ParentT,ref=ParentRef},Message, Options) @@ -115,7 +115,7 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Message, Options) <>). %% @doc See external documentation. --spec getValue(This) -> string() when +-spec getValue(This) -> unicode:charlist() when This::wxTextEntryDialog(). getValue(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTextEntryDialog), @@ -124,7 +124,7 @@ getValue(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @doc See external documentation. -spec setValue(This, Val) -> ok when - This::wxTextEntryDialog(), Val::string(). + This::wxTextEntryDialog(), Val::unicode:chardata(). setValue(#wx_ref{type=ThisT,ref=ThisRef},Val) when is_list(Val) -> ?CLASS(ThisT,wxTextEntryDialog), @@ -133,7 +133,7 @@ setValue(#wx_ref{type=ThisT,ref=ThisRef},Val) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxTextEntryDialog) -> ok. +-spec destroy(This::wxTextEntryDialog()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxTextEntryDialog), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxToggleButton.erl b/lib/wx/src/gen/wxToggleButton.erl index 23a2987a27..1d770b5ca5 100644 --- a/lib/wx/src/gen/wxToggleButton.erl +++ b/lib/wx/src/gen/wxToggleButton.erl @@ -85,7 +85,7 @@ new() -> %% @equiv new(Parent,Id,Label, []) -spec new(Parent, Id, Label) -> wxToggleButton() when - Parent::wxWindow:wxWindow(), Id::integer(), Label::string(). + Parent::wxWindow:wxWindow(), Id::integer(), Label::unicode:chardata(). new(Parent,Id,Label) when is_record(Parent, wx_ref),is_integer(Id),is_list(Label) -> @@ -93,7 +93,7 @@ new(Parent,Id,Label) %% @doc See external documentation. -spec new(Parent, Id, Label, [Option]) -> wxToggleButton() when - Parent::wxWindow:wxWindow(), Id::integer(), Label::string(), + Parent::wxWindow:wxWindow(), Id::integer(), Label::unicode:chardata(), Option :: {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} @@ -113,7 +113,7 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Id,Label, Options) %% @equiv create(This,Parent,Id,Label, []) -spec create(This, Parent, Id, Label) -> boolean() when - This::wxToggleButton(), Parent::wxWindow:wxWindow(), Id::integer(), Label::string(). + This::wxToggleButton(), Parent::wxWindow:wxWindow(), Id::integer(), Label::unicode:chardata(). create(This,Parent,Id,Label) when is_record(This, wx_ref),is_record(Parent, wx_ref),is_integer(Id),is_list(Label) -> @@ -121,7 +121,7 @@ create(This,Parent,Id,Label) %% @doc See external documentation. -spec create(This, Parent, Id, Label, [Option]) -> boolean() when - This::wxToggleButton(), Parent::wxWindow:wxWindow(), Id::integer(), Label::string(), + This::wxToggleButton(), Parent::wxWindow:wxWindow(), Id::integer(), Label::unicode:chardata(), Option :: {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} @@ -158,7 +158,7 @@ setValue(#wx_ref{type=ThisT,ref=ThisRef},State) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxToggleButton) -> ok. +-spec destroy(This::wxToggleButton()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxToggleButton), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxToolBar.erl b/lib/wx/src/gen/wxToolBar.erl index 8fc200d6ba..dd03df5d18 100644 --- a/lib/wx/src/gen/wxToolBar.erl +++ b/lib/wx/src/gen/wxToolBar.erl @@ -121,13 +121,13 @@ addTool(This,Toolid,Bitmap) %% @doc See external documentation. -spec addTool(This, Toolid, Label, Bitmap) -> wx:wx() when - This::wxToolBar(), Toolid::integer(), Label::string(), Bitmap::wxBitmap:wxBitmap(); + This::wxToolBar(), Toolid::integer(), Label::unicode:chardata(), Bitmap::wxBitmap:wxBitmap(); (This, Toolid, Bitmap, BmpDisabled) -> wx:wx() when This::wxToolBar(), Toolid::integer(), Bitmap::wxBitmap:wxBitmap(), BmpDisabled::wxBitmap:wxBitmap(); (This, Toolid, Bitmap, [Option]) -> wx:wx() when This::wxToolBar(), Toolid::integer(), Bitmap::wxBitmap:wxBitmap(), - Option :: {shortHelpString, string()} - | {longHelpString, string()}. + Option :: {shortHelpString, unicode:chardata()} + | {longHelpString, unicode:chardata()}. addTool(This,Toolid,Label,Bitmap) when is_record(This, wx_ref),is_integer(Toolid),is_list(Label),is_record(Bitmap, wx_ref) -> @@ -149,17 +149,17 @@ addTool(#wx_ref{type=ThisT,ref=ThisRef},Toolid,#wx_ref{type=BitmapT,ref=BitmapRe %% @doc See external documentation. -spec addTool(This, Toolid, Label, Bitmap, BmpDisabled) -> wx:wx() when - This::wxToolBar(), Toolid::integer(), Label::string(), Bitmap::wxBitmap:wxBitmap(), BmpDisabled::wxBitmap:wxBitmap(); + This::wxToolBar(), Toolid::integer(), Label::unicode:chardata(), Bitmap::wxBitmap:wxBitmap(), BmpDisabled::wxBitmap:wxBitmap(); (This, Toolid, Label, Bitmap, [Option]) -> wx:wx() when - This::wxToolBar(), Toolid::integer(), Label::string(), Bitmap::wxBitmap:wxBitmap(), - Option :: {shortHelp, string()} + This::wxToolBar(), Toolid::integer(), Label::unicode:chardata(), Bitmap::wxBitmap:wxBitmap(), + Option :: {shortHelp, unicode:chardata()} | {kind, wx:wx_enum()}; (This, Toolid, Bitmap, BmpDisabled, [Option]) -> wx:wx() when This::wxToolBar(), Toolid::integer(), Bitmap::wxBitmap:wxBitmap(), BmpDisabled::wxBitmap:wxBitmap(), Option :: {toggle, boolean()} | {clientData, wx:wx()} - | {shortHelpString, string()} - | {longHelpString, string()}. + | {shortHelpString, unicode:chardata()} + | {longHelpString, unicode:chardata()}. addTool(This,Toolid,Label,Bitmap,BmpDisabled) when is_record(This, wx_ref),is_integer(Toolid),is_list(Label),is_record(Bitmap, wx_ref),is_record(BmpDisabled, wx_ref) -> @@ -193,10 +193,10 @@ addTool(#wx_ref{type=ThisT,ref=ThisRef},Toolid,#wx_ref{type=BitmapT,ref=BitmapRe -spec addTool(This, Toolid, Bitmap, BmpDisabled, Toggle, XPos) -> wx:wx() when This::wxToolBar(), Toolid::integer(), Bitmap::wxBitmap:wxBitmap(), BmpDisabled::wxBitmap:wxBitmap(), Toggle::boolean(), XPos::integer(); (This, Toolid, Label, Bitmap, BmpDisabled, [Option]) -> wx:wx() when - This::wxToolBar(), Toolid::integer(), Label::string(), Bitmap::wxBitmap:wxBitmap(), BmpDisabled::wxBitmap:wxBitmap(), + This::wxToolBar(), Toolid::integer(), Label::unicode:chardata(), Bitmap::wxBitmap:wxBitmap(), BmpDisabled::wxBitmap:wxBitmap(), Option :: {kind, wx:wx_enum()} - | {shortHelp, string()} - | {longHelp, string()} + | {shortHelp, unicode:chardata()} + | {longHelp, unicode:chardata()} | {data, wx:wx()}. addTool(This,Toolid,Bitmap,BmpDisabled,Toggle,XPos) @@ -222,8 +222,8 @@ addTool(#wx_ref{type=ThisT,ref=ThisRef},Toolid,Label,#wx_ref{type=BitmapT,ref=Bi This::wxToolBar(), Toolid::integer(), Bitmap::wxBitmap:wxBitmap(), BmpDisabled::wxBitmap:wxBitmap(), Toggle::boolean(), XPos::integer(), Option :: {yPos, integer()} | {clientData, wx:wx()} - | {shortHelp, string()} - | {longHelp, string()}. + | {shortHelp, unicode:chardata()} + | {longHelp, unicode:chardata()}. addTool(#wx_ref{type=ThisT,ref=ThisRef},Toolid,#wx_ref{type=BitmapT,ref=BitmapRef},#wx_ref{type=BmpDisabledT,ref=BmpDisabledRef},Toggle,XPos, Options) when is_integer(Toolid),is_boolean(Toggle),is_integer(XPos),is_list(Options) -> ?CLASS(ThisT,wxToolBar), @@ -240,7 +240,7 @@ addTool(#wx_ref{type=ThisT,ref=ThisRef},Toolid,#wx_ref{type=BitmapT,ref=BitmapRe %% @equiv addCheckTool(This,Toolid,Label,Bitmap, []) -spec addCheckTool(This, Toolid, Label, Bitmap) -> wx:wx() when - This::wxToolBar(), Toolid::integer(), Label::string(), Bitmap::wxBitmap:wxBitmap(). + This::wxToolBar(), Toolid::integer(), Label::unicode:chardata(), Bitmap::wxBitmap:wxBitmap(). addCheckTool(This,Toolid,Label,Bitmap) when is_record(This, wx_ref),is_integer(Toolid),is_list(Label),is_record(Bitmap, wx_ref) -> @@ -248,10 +248,10 @@ addCheckTool(This,Toolid,Label,Bitmap) %% @doc See external documentation. -spec addCheckTool(This, Toolid, Label, Bitmap, [Option]) -> wx:wx() when - This::wxToolBar(), Toolid::integer(), Label::string(), Bitmap::wxBitmap:wxBitmap(), + This::wxToolBar(), Toolid::integer(), Label::unicode:chardata(), Bitmap::wxBitmap:wxBitmap(), Option :: {bmpDisabled, wxBitmap:wxBitmap()} - | {shortHelp, string()} - | {longHelp, string()} + | {shortHelp, unicode:chardata()} + | {longHelp, unicode:chardata()} | {data, wx:wx()}. addCheckTool(#wx_ref{type=ThisT,ref=ThisRef},Toolid,Label,#wx_ref{type=BitmapT,ref=BitmapRef}, Options) when is_integer(Toolid),is_list(Label),is_list(Options) -> @@ -269,7 +269,7 @@ addCheckTool(#wx_ref{type=ThisT,ref=ThisRef},Toolid,Label,#wx_ref{type=BitmapT,r %% @equiv addRadioTool(This,Toolid,Label,Bitmap, []) -spec addRadioTool(This, Toolid, Label, Bitmap) -> wx:wx() when - This::wxToolBar(), Toolid::integer(), Label::string(), Bitmap::wxBitmap:wxBitmap(). + This::wxToolBar(), Toolid::integer(), Label::unicode:chardata(), Bitmap::wxBitmap:wxBitmap(). addRadioTool(This,Toolid,Label,Bitmap) when is_record(This, wx_ref),is_integer(Toolid),is_list(Label),is_record(Bitmap, wx_ref) -> @@ -277,10 +277,10 @@ addRadioTool(This,Toolid,Label,Bitmap) %% @doc See external documentation. -spec addRadioTool(This, Toolid, Label, Bitmap, [Option]) -> wx:wx() when - This::wxToolBar(), Toolid::integer(), Label::string(), Bitmap::wxBitmap:wxBitmap(), + This::wxToolBar(), Toolid::integer(), Label::unicode:chardata(), Bitmap::wxBitmap:wxBitmap(), Option :: {bmpDisabled, wxBitmap:wxBitmap()} - | {shortHelp, string()} - | {longHelp, string()} + | {shortHelp, unicode:chardata()} + | {longHelp, unicode:chardata()} | {data, wx:wx()}. addRadioTool(#wx_ref{type=ThisT,ref=ThisRef},Toolid,Label,#wx_ref{type=BitmapT,ref=BitmapRef}, Options) when is_integer(Toolid),is_list(Label),is_list(Options) -> @@ -384,7 +384,7 @@ getToolEnabled(#wx_ref{type=ThisT,ref=ThisRef},Toolid) <>). %% @doc See external documentation. --spec getToolLongHelp(This, Toolid) -> string() when +-spec getToolLongHelp(This, Toolid) -> unicode:charlist() when This::wxToolBar(), Toolid::integer(). getToolLongHelp(#wx_ref{type=ThisT,ref=ThisRef},Toolid) when is_integer(Toolid) -> @@ -418,7 +418,7 @@ getToolSeparation(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getToolShortHelp(This, Toolid) -> string() when +-spec getToolShortHelp(This, Toolid) -> unicode:charlist() when This::wxToolBar(), Toolid::integer(). getToolShortHelp(#wx_ref{type=ThisT,ref=ThisRef},Toolid) when is_integer(Toolid) -> @@ -474,14 +474,14 @@ insertTool(This,Pos,Toolid,Bitmap) %% @doc See external documentation. -spec insertTool(This, Pos, Toolid, Label, Bitmap) -> wx:wx() when - This::wxToolBar(), Pos::integer(), Toolid::integer(), Label::string(), Bitmap::wxBitmap:wxBitmap(); + This::wxToolBar(), Pos::integer(), Toolid::integer(), Label::unicode:chardata(), Bitmap::wxBitmap:wxBitmap(); (This, Pos, Toolid, Bitmap, [Option]) -> wx:wx() when This::wxToolBar(), Pos::integer(), Toolid::integer(), Bitmap::wxBitmap:wxBitmap(), Option :: {bmpDisabled, wxBitmap:wxBitmap()} | {toggle, boolean()} | {clientData, wx:wx()} - | {shortHelp, string()} - | {longHelp, string()}. + | {shortHelp, unicode:chardata()} + | {longHelp, unicode:chardata()}. insertTool(This,Pos,Toolid,Label,Bitmap) when is_record(This, wx_ref),is_integer(Pos),is_integer(Toolid),is_list(Label),is_record(Bitmap, wx_ref) -> @@ -503,11 +503,11 @@ insertTool(#wx_ref{type=ThisT,ref=ThisRef},Pos,Toolid,#wx_ref{type=BitmapT,ref=B %% @doc See external documentation. %%
Kind = ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX -spec insertTool(This, Pos, Toolid, Label, Bitmap, [Option]) -> wx:wx() when - This::wxToolBar(), Pos::integer(), Toolid::integer(), Label::string(), Bitmap::wxBitmap:wxBitmap(), + This::wxToolBar(), Pos::integer(), Toolid::integer(), Label::unicode:chardata(), Bitmap::wxBitmap:wxBitmap(), Option :: {bmpDisabled, wxBitmap:wxBitmap()} | {kind, wx:wx_enum()} - | {shortHelp, string()} - | {longHelp, string()} + | {shortHelp, unicode:chardata()} + | {longHelp, unicode:chardata()} | {clientData, wx:wx()}. insertTool(#wx_ref{type=ThisT,ref=ThisRef},Pos,Toolid,Label,#wx_ref{type=BitmapT,ref=BitmapRef}, Options) when is_integer(Pos),is_integer(Toolid),is_list(Label),is_list(Options) -> @@ -561,7 +561,7 @@ setToolBitmapSize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH}) %% @doc See external documentation. -spec setToolLongHelp(This, Toolid, HelpString) -> ok when - This::wxToolBar(), Toolid::integer(), HelpString::string(). + This::wxToolBar(), Toolid::integer(), HelpString::unicode:chardata(). setToolLongHelp(#wx_ref{type=ThisT,ref=ThisRef},Toolid,HelpString) when is_integer(Toolid),is_list(HelpString) -> ?CLASS(ThisT,wxToolBar), @@ -580,7 +580,7 @@ setToolPacking(#wx_ref{type=ThisT,ref=ThisRef},Packing) %% @doc See external documentation. -spec setToolShortHelp(This, Id, HelpString) -> ok when - This::wxToolBar(), Id::integer(), HelpString::string(). + This::wxToolBar(), Id::integer(), HelpString::unicode:chardata(). setToolShortHelp(#wx_ref{type=ThisT,ref=ThisRef},Id,HelpString) when is_integer(Id),is_list(HelpString) -> ?CLASS(ThisT,wxToolBar), diff --git a/lib/wx/src/gen/wxToolTip.erl b/lib/wx/src/gen/wxToolTip.erl index c604fc4af9..e9b5510357 100644 --- a/lib/wx/src/gen/wxToolTip.erl +++ b/lib/wx/src/gen/wxToolTip.erl @@ -52,7 +52,7 @@ setDelay(Msecs) %% @doc See external documentation. -spec new(Tip) -> wxToolTip() when - Tip::string(). + Tip::unicode:chardata(). new(Tip) when is_list(Tip) -> Tip_UC = unicode:characters_to_binary([Tip,0]), @@ -61,7 +61,7 @@ new(Tip) %% @doc See external documentation. -spec setTip(This, Tip) -> ok when - This::wxToolTip(), Tip::string(). + This::wxToolTip(), Tip::unicode:chardata(). setTip(#wx_ref{type=ThisT,ref=ThisRef},Tip) when is_list(Tip) -> ?CLASS(ThisT,wxToolTip), @@ -70,7 +70,7 @@ setTip(#wx_ref{type=ThisT,ref=ThisRef},Tip) <>). %% @doc See external documentation. --spec getTip(This) -> string() when +-spec getTip(This) -> unicode:charlist() when This::wxToolTip(). getTip(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxToolTip), @@ -86,7 +86,7 @@ getWindow(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxToolTip) -> ok. +-spec destroy(This::wxToolTip()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxToolTip), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxToolbook.erl b/lib/wx/src/gen/wxToolbook.erl index f568a11d6a..9172f7a2d9 100644 --- a/lib/wx/src/gen/wxToolbook.erl +++ b/lib/wx/src/gen/wxToolbook.erl @@ -115,7 +115,7 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options) %% @equiv addPage(This,Page,Text, []) -spec addPage(This, Page, Text) -> boolean() when - This::wxToolbook(), Page::wxWindow:wxWindow(), Text::string(). + This::wxToolbook(), Page::wxWindow:wxWindow(), Text::unicode:chardata(). addPage(This,Page,Text) when is_record(This, wx_ref),is_record(Page, wx_ref),is_list(Text) -> @@ -123,7 +123,7 @@ addPage(This,Page,Text) %% @doc See external documentation. -spec addPage(This, Page, Text, [Option]) -> boolean() when - This::wxToolbook(), Page::wxWindow:wxWindow(), Text::string(), + This::wxToolbook(), Page::wxWindow:wxWindow(), Text::unicode:chardata(), Option :: {bSelect, boolean()} | {imageId, integer()}. addPage(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PageT,ref=PageRef},Text, Options) @@ -263,7 +263,7 @@ getPageImage(#wx_ref{type=ThisT,ref=ThisRef},N) <>). %% @doc See external documentation. --spec getPageText(This, N) -> string() when +-spec getPageText(This, N) -> unicode:charlist() when This::wxToolbook(), N::integer(). getPageText(#wx_ref{type=ThisT,ref=ThisRef},N) when is_integer(N) -> @@ -291,7 +291,7 @@ hitTest(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY}) %% @equiv insertPage(This,N,Page,Text, []) -spec insertPage(This, N, Page, Text) -> boolean() when - This::wxToolbook(), N::integer(), Page::wxWindow:wxWindow(), Text::string(). + This::wxToolbook(), N::integer(), Page::wxWindow:wxWindow(), Text::unicode:chardata(). insertPage(This,N,Page,Text) when is_record(This, wx_ref),is_integer(N),is_record(Page, wx_ref),is_list(Text) -> @@ -299,7 +299,7 @@ insertPage(This,N,Page,Text) %% @doc See external documentation. -spec insertPage(This, N, Page, Text, [Option]) -> boolean() when - This::wxToolbook(), N::integer(), Page::wxWindow:wxWindow(), Text::string(), + This::wxToolbook(), N::integer(), Page::wxWindow:wxWindow(), Text::unicode:chardata(), Option :: {bSelect, boolean()} | {imageId, integer()}. insertPage(#wx_ref{type=ThisT,ref=ThisRef},N,#wx_ref{type=PageT,ref=PageRef},Text, Options) @@ -343,7 +343,7 @@ setPageImage(#wx_ref{type=ThisT,ref=ThisRef},N,ImageId) %% @doc See external documentation. -spec setPageText(This, N, StrText) -> boolean() when - This::wxToolbook(), N::integer(), StrText::string(). + This::wxToolbook(), N::integer(), StrText::unicode:chardata(). setPageText(#wx_ref{type=ThisT,ref=ThisRef},N,StrText) when is_integer(N),is_list(StrText) -> ?CLASS(ThisT,wxToolbook), @@ -370,7 +370,7 @@ changeSelection(#wx_ref{type=ThisT,ref=ThisRef},N) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxToolbook) -> ok. +-spec destroy(This::wxToolbook()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxToolbook), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxTopLevelWindow.erl b/lib/wx/src/gen/wxTopLevelWindow.erl index b315429bb6..5659c0927f 100644 --- a/lib/wx/src/gen/wxTopLevelWindow.erl +++ b/lib/wx/src/gen/wxTopLevelWindow.erl @@ -96,7 +96,7 @@ getIcons(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getTitle(This) -> string() when +-spec getTitle(This) -> unicode:charlist() when This::wxTopLevelWindow(). getTitle(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTopLevelWindow), @@ -269,7 +269,7 @@ setShape(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=RegionT,ref=RegionRef}) -> %% @doc See external documentation. -spec setTitle(This, Title) -> ok when - This::wxTopLevelWindow(), Title::string(). + This::wxTopLevelWindow(), Title::unicode:chardata(). setTitle(#wx_ref{type=ThisT,ref=ThisRef},Title) when is_list(Title) -> ?CLASS(ThisT,wxTopLevelWindow), diff --git a/lib/wx/src/gen/wxTreeCtrl.erl b/lib/wx/src/gen/wxTreeCtrl.erl index ba9052b5f3..fef9916fff 100644 --- a/lib/wx/src/gen/wxTreeCtrl.erl +++ b/lib/wx/src/gen/wxTreeCtrl.erl @@ -134,7 +134,7 @@ new(#wx_ref{type=ParentT,ref=ParentRef}, Options) %% @equiv addRoot(This,Text, []) -spec addRoot(This, Text) -> integer() when - This::wxTreeCtrl(), Text::string(). + This::wxTreeCtrl(), Text::unicode:chardata(). addRoot(This,Text) when is_record(This, wx_ref),is_list(Text) -> @@ -142,7 +142,7 @@ addRoot(This,Text) %% @doc See external documentation. -spec addRoot(This, Text, [Option]) -> integer() when - This::wxTreeCtrl(), Text::string(), + This::wxTreeCtrl(), Text::unicode:chardata(), Option :: {image, integer()} | {selectedImage, integer()} | {data, term()}. @@ -160,7 +160,7 @@ addRoot(#wx_ref{type=ThisT,ref=ThisRef},Text, Options) %% @equiv appendItem(This,Parent,Text, []) -spec appendItem(This, Parent, Text) -> integer() when - This::wxTreeCtrl(), Parent::integer(), Text::string(). + This::wxTreeCtrl(), Parent::integer(), Text::unicode:chardata(). appendItem(This,Parent,Text) when is_record(This, wx_ref),is_integer(Parent),is_list(Text) -> @@ -168,7 +168,7 @@ appendItem(This,Parent,Text) %% @doc See external documentation. -spec appendItem(This, Parent, Text, [Option]) -> integer() when - This::wxTreeCtrl(), Parent::integer(), Text::string(), + This::wxTreeCtrl(), Parent::integer(), Text::unicode:chardata(), Option :: {image, integer()} | {selectedImage, integer()} | {data, term()}. @@ -406,7 +406,7 @@ getIndent(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getItemBackgroundColour(This, Item) -> wx:wx_colour() when +-spec getItemBackgroundColour(This, Item) -> wx:wx_colour4() when This::wxTreeCtrl(), Item::integer(). getItemBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef},Item) when is_integer(Item) -> @@ -456,7 +456,7 @@ getItemImage(#wx_ref{type=ThisT,ref=ThisRef},Item, Options) <>). %% @doc See external documentation. --spec getItemText(This, Item) -> string() when +-spec getItemText(This, Item) -> unicode:charlist() when This::wxTreeCtrl(), Item::integer(). getItemText(#wx_ref{type=ThisT,ref=ThisRef},Item) when is_integer(Item) -> @@ -465,7 +465,7 @@ getItemText(#wx_ref{type=ThisT,ref=ThisRef},Item) <>). %% @doc See external documentation. --spec getItemTextColour(This, Item) -> wx:wx_colour() when +-spec getItemTextColour(This, Item) -> wx:wx_colour4() when This::wxTreeCtrl(), Item::integer(). getItemTextColour(#wx_ref{type=ThisT,ref=ThisRef},Item) when is_integer(Item) -> @@ -571,7 +571,7 @@ hitTest(#wx_ref{type=ThisT,ref=ThisRef},{PointX,PointY}) %% @equiv insertItem(This,Parent,Pos,Text, []) -spec insertItem(This, Parent, Pos, Text) -> integer() when - This::wxTreeCtrl(), Parent::integer(), Pos::integer(), Text::string(). + This::wxTreeCtrl(), Parent::integer(), Pos::integer(), Text::unicode:chardata(). insertItem(This,Parent,Pos,Text) when is_record(This, wx_ref),is_integer(Parent),is_integer(Pos),is_list(Text) -> @@ -579,7 +579,7 @@ insertItem(This,Parent,Pos,Text) %% @doc See external documentation. -spec insertItem(This, Parent, Pos, Text, [Option]) -> integer() when - This::wxTreeCtrl(), Parent::integer(), Pos::integer(), Text::string(), + This::wxTreeCtrl(), Parent::integer(), Pos::integer(), Text::unicode:chardata(), Option :: {image, integer()} | {selImage, integer()} | {data, term()}. @@ -642,7 +642,7 @@ itemHasChildren(#wx_ref{type=ThisT,ref=ThisRef},Item) %% @equiv prependItem(This,Parent,Text, []) -spec prependItem(This, Parent, Text) -> integer() when - This::wxTreeCtrl(), Parent::integer(), Text::string(). + This::wxTreeCtrl(), Parent::integer(), Text::unicode:chardata(). prependItem(This,Parent,Text) when is_record(This, wx_ref),is_integer(Parent),is_list(Text) -> @@ -650,7 +650,7 @@ prependItem(This,Parent,Text) %% @doc See external documentation. -spec prependItem(This, Parent, Text, [Option]) -> integer() when - This::wxTreeCtrl(), Parent::integer(), Text::string(), + This::wxTreeCtrl(), Parent::integer(), Text::unicode:chardata(), Option :: {image, integer()} | {selectedImage, integer()} | {data, term()}. @@ -832,7 +832,7 @@ setItemImage(#wx_ref{type=ThisT,ref=ThisRef},Item,Image, Options) %% @doc See external documentation. -spec setItemText(This, Item, Text) -> ok when - This::wxTreeCtrl(), Item::integer(), Text::string(). + This::wxTreeCtrl(), Item::integer(), Text::unicode:chardata(). setItemText(#wx_ref{type=ThisT,ref=ThisRef},Item,Text) when is_integer(Item),is_list(Text) -> ?CLASS(ThisT,wxTreeCtrl), @@ -920,7 +920,7 @@ unselectItem(#wx_ref{type=ThisT,ref=ThisRef},Item) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxTreeCtrl) -> ok. +-spec destroy(This::wxTreeCtrl()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxTreeCtrl), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxTreeEvent.erl b/lib/wx/src/gen/wxTreeEvent.erl index 8c91d73dbd..d042fb93e5 100644 --- a/lib/wx/src/gen/wxTreeEvent.erl +++ b/lib/wx/src/gen/wxTreeEvent.erl @@ -75,7 +75,7 @@ getKeyEvent(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getLabel(This) -> string() when +-spec getLabel(This) -> unicode:charlist() when This::wxTreeEvent(). getLabel(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxTreeEvent), @@ -108,7 +108,7 @@ isEditCancelled(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @doc See external documentation. -spec setToolTip(This, ToolTip) -> ok when - This::wxTreeEvent(), ToolTip::string(). + This::wxTreeEvent(), ToolTip::unicode:chardata(). setToolTip(#wx_ref{type=ThisT,ref=ThisRef},ToolTip) when is_list(ToolTip) -> ?CLASS(ThisT,wxTreeEvent), diff --git a/lib/wx/src/gen/wxTreebook.erl b/lib/wx/src/gen/wxTreebook.erl index 945cfb62e1..5d08c12cce 100644 --- a/lib/wx/src/gen/wxTreebook.erl +++ b/lib/wx/src/gen/wxTreebook.erl @@ -116,7 +116,7 @@ new(#wx_ref{type=ParentT,ref=ParentRef},Id, Options) %% @equiv addPage(This,Page,Text, []) -spec addPage(This, Page, Text) -> boolean() when - This::wxTreebook(), Page::wxWindow:wxWindow(), Text::string(). + This::wxTreebook(), Page::wxWindow:wxWindow(), Text::unicode:chardata(). addPage(This,Page,Text) when is_record(This, wx_ref),is_record(Page, wx_ref),is_list(Text) -> @@ -124,7 +124,7 @@ addPage(This,Page,Text) %% @doc See external documentation. -spec addPage(This, Page, Text, [Option]) -> boolean() when - This::wxTreebook(), Page::wxWindow:wxWindow(), Text::string(), + This::wxTreebook(), Page::wxWindow:wxWindow(), Text::unicode:chardata(), Option :: {bSelect, boolean()} | {imageId, integer()}. addPage(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PageT,ref=PageRef},Text, Options) @@ -264,7 +264,7 @@ getPageImage(#wx_ref{type=ThisT,ref=ThisRef},N) <>). %% @doc See external documentation. --spec getPageText(This, N) -> string() when +-spec getPageText(This, N) -> unicode:charlist() when This::wxTreebook(), N::integer(). getPageText(#wx_ref{type=ThisT,ref=ThisRef},N) when is_integer(N) -> @@ -322,7 +322,7 @@ hitTest(#wx_ref{type=ThisT,ref=ThisRef},{PtX,PtY}) %% @equiv insertPage(This,Pos,Page,Text, []) -spec insertPage(This, Pos, Page, Text) -> boolean() when - This::wxTreebook(), Pos::integer(), Page::wxWindow:wxWindow(), Text::string(). + This::wxTreebook(), Pos::integer(), Page::wxWindow:wxWindow(), Text::unicode:chardata(). insertPage(This,Pos,Page,Text) when is_record(This, wx_ref),is_integer(Pos),is_record(Page, wx_ref),is_list(Text) -> @@ -330,7 +330,7 @@ insertPage(This,Pos,Page,Text) %% @doc See external documentation. -spec insertPage(This, Pos, Page, Text, [Option]) -> boolean() when - This::wxTreebook(), Pos::integer(), Page::wxWindow:wxWindow(), Text::string(), + This::wxTreebook(), Pos::integer(), Page::wxWindow:wxWindow(), Text::unicode:chardata(), Option :: {bSelect, boolean()} | {imageId, integer()}. insertPage(#wx_ref{type=ThisT,ref=ThisRef},Pos,#wx_ref{type=PageT,ref=PageRef},Text, Options) @@ -347,7 +347,7 @@ insertPage(#wx_ref{type=ThisT,ref=ThisRef},Pos,#wx_ref{type=PageT,ref=PageRef},T %% @equiv insertSubPage(This,Pos,Page,Text, []) -spec insertSubPage(This, Pos, Page, Text) -> boolean() when - This::wxTreebook(), Pos::integer(), Page::wxWindow:wxWindow(), Text::string(). + This::wxTreebook(), Pos::integer(), Page::wxWindow:wxWindow(), Text::unicode:chardata(). insertSubPage(This,Pos,Page,Text) when is_record(This, wx_ref),is_integer(Pos),is_record(Page, wx_ref),is_list(Text) -> @@ -355,7 +355,7 @@ insertSubPage(This,Pos,Page,Text) %% @doc See external documentation. -spec insertSubPage(This, Pos, Page, Text, [Option]) -> boolean() when - This::wxTreebook(), Pos::integer(), Page::wxWindow:wxWindow(), Text::string(), + This::wxTreebook(), Pos::integer(), Page::wxWindow:wxWindow(), Text::unicode:chardata(), Option :: {bSelect, boolean()} | {imageId, integer()}. insertSubPage(#wx_ref{type=ThisT,ref=ThisRef},Pos,#wx_ref{type=PageT,ref=PageRef},Text, Options) @@ -399,7 +399,7 @@ setPageImage(#wx_ref{type=ThisT,ref=ThisRef},N,ImageId) %% @doc See external documentation. -spec setPageText(This, N, StrText) -> boolean() when - This::wxTreebook(), N::integer(), StrText::string(). + This::wxTreebook(), N::integer(), StrText::unicode:chardata(). setPageText(#wx_ref{type=ThisT,ref=ThisRef},N,StrText) when is_integer(N),is_list(StrText) -> ?CLASS(ThisT,wxTreebook), @@ -426,7 +426,7 @@ changeSelection(#wx_ref{type=ThisT,ref=ThisRef},N) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxTreebook) -> ok. +-spec destroy(This::wxTreebook()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxTreebook), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxUpdateUIEvent.erl b/lib/wx/src/gen/wxUpdateUIEvent.erl index 26cf81f72d..f6d46611ab 100644 --- a/lib/wx/src/gen/wxUpdateUIEvent.erl +++ b/lib/wx/src/gen/wxUpdateUIEvent.erl @@ -141,7 +141,7 @@ getSetText(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getText(This) -> string() when +-spec getText(This) -> unicode:charlist() when This::wxUpdateUIEvent(). getText(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxUpdateUIEvent), @@ -178,7 +178,7 @@ setMode(Mode) %% @doc See external documentation. -spec setText(This, Text) -> ok when - This::wxUpdateUIEvent(), Text::string(). + This::wxUpdateUIEvent(), Text::unicode:chardata(). setText(#wx_ref{type=ThisT,ref=ThisRef},Text) when is_list(Text) -> ?CLASS(ThisT,wxUpdateUIEvent), diff --git a/lib/wx/src/gen/wxWindow.erl b/lib/wx/src/gen/wxWindow.erl index 9c4d3596fe..ecae29ea5f 100644 --- a/lib/wx/src/gen/wxWindow.erl +++ b/lib/wx/src/gen/wxWindow.erl @@ -327,7 +327,7 @@ findFocus() -> -spec findWindow(This, Winid) -> wxWindow() when This::wxWindow(), Winid::integer(); (This, Name) -> wxWindow() when - This::wxWindow(), Name::string(). + This::wxWindow(), Name::unicode:chardata(). findWindow(#wx_ref{type=ThisT,ref=ThisRef},Winid) when is_integer(Winid) -> ?CLASS(ThisT,wxWindow), @@ -362,7 +362,7 @@ findWindowById(Winid, Options) %% @equiv findWindowByName(Name, []) -spec findWindowByName(Name) -> wxWindow() when - Name::string(). + Name::unicode:chardata(). findWindowByName(Name) when is_list(Name) -> @@ -370,7 +370,7 @@ findWindowByName(Name) %% @doc See external documentation. -spec findWindowByName(Name, [Option]) -> wxWindow() when - Name::string(), + Name::unicode:chardata(), Option :: {parent, wxWindow()}. findWindowByName(Name, Options) when is_list(Name),is_list(Options) -> @@ -383,7 +383,7 @@ findWindowByName(Name, Options) %% @equiv findWindowByLabel(Label, []) -spec findWindowByLabel(Label) -> wxWindow() when - Label::string(). + Label::unicode:chardata(). findWindowByLabel(Label) when is_list(Label) -> @@ -391,7 +391,7 @@ findWindowByLabel(Label) %% @doc See external documentation. -spec findWindowByLabel(Label, [Option]) -> wxWindow() when - Label::string(), + Label::unicode:chardata(), Option :: {parent, wxWindow()}. findWindowByLabel(Label, Options) when is_list(Label),is_list(Options) -> @@ -435,7 +435,7 @@ getAcceleratorTable(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getBackgroundColour(This) -> wx:wx_colour() when +-spec getBackgroundColour(This) -> wx:wx_colour4() when This::wxWindow(). getBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), @@ -554,7 +554,7 @@ getFont(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getForegroundColour(This) -> wx:wx_colour() when +-spec getForegroundColour(This) -> wx:wx_colour4() when This::wxWindow(). getForegroundColour(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), @@ -578,7 +578,7 @@ getHandle(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getHelpText(This) -> string() when +-spec getHelpText(This) -> unicode:charlist() when This::wxWindow(). getHelpText(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), @@ -594,7 +594,7 @@ getId(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getLabel(This) -> string() when +-spec getLabel(This) -> unicode:charlist() when This::wxWindow(). getLabel(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), @@ -618,7 +618,7 @@ getMinSize(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. --spec getName(This) -> string() when +-spec getName(This) -> unicode:charlist() when This::wxWindow(). getName(#wx_ref{type=ThisT,ref=ThisRef}) -> ?CLASS(ThisT,wxWindow), @@ -711,7 +711,7 @@ getSizer(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @equiv getTextExtent(This,String, []) -spec getTextExtent(This, String) -> Result when Result ::{X::integer(), Y::integer(), Descent::integer(), ExternalLeading::integer()}, - This::wxWindow(), String::string(). + This::wxWindow(), String::unicode:chardata(). getTextExtent(This,String) when is_record(This, wx_ref),is_list(String) -> @@ -720,7 +720,7 @@ getTextExtent(This,String) %% @doc See external documentation. -spec getTextExtent(This, String, [Option]) -> Result when Result :: {X::integer(), Y::integer(), Descent::integer(), ExternalLeading::integer()}, - This::wxWindow(), String::string(), + This::wxWindow(), String::unicode:chardata(), Option :: {theFont, wxFont:wxFont()}. getTextExtent(#wx_ref{type=ThisT,ref=ThisRef},String, Options) when is_list(String),is_list(Options) -> @@ -1419,7 +1419,7 @@ setForegroundColour(#wx_ref{type=ThisT,ref=ThisRef},Colour) %% @doc See external documentation. -spec setHelpText(This, Text) -> ok when - This::wxWindow(), Text::string(). + This::wxWindow(), Text::unicode:chardata(). setHelpText(#wx_ref{type=ThisT,ref=ThisRef},Text) when is_list(Text) -> ?CLASS(ThisT,wxWindow), @@ -1438,7 +1438,7 @@ setId(#wx_ref{type=ThisT,ref=ThisRef},Winid) %% @doc See external documentation. -spec setLabel(This, Label) -> ok when - This::wxWindow(), Label::string(). + This::wxWindow(), Label::unicode:chardata(). setLabel(#wx_ref{type=ThisT,ref=ThisRef},Label) when is_list(Label) -> ?CLASS(ThisT,wxWindow), @@ -1448,7 +1448,7 @@ setLabel(#wx_ref{type=ThisT,ref=ThisRef},Label) %% @doc See external documentation. -spec setName(This, Name) -> ok when - This::wxWindow(), Name::string(). + This::wxWindow(), Name::unicode:chardata(). setName(#wx_ref{type=ThisT,ref=ThisRef},Name) when is_list(Name) -> ?CLASS(ThisT,wxWindow), @@ -1666,7 +1666,7 @@ setThemeEnabled(#wx_ref{type=ThisT,ref=ThisRef},EnableTheme) %% @doc See external documentation. -spec setToolTip(This, Tip) -> ok when - This::wxWindow(), Tip::string(); + This::wxWindow(), Tip::unicode:chardata(); (This, Tip) -> ok when This::wxWindow(), Tip::wxToolTip:wxToolTip(). setToolTip(#wx_ref{type=ThisT,ref=ThisRef},Tip) @@ -1869,7 +1869,7 @@ warpPointer(#wx_ref{type=ThisT,ref=ThisRef},X,Y) <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxWindow) -> ok. +-spec destroy(This::wxWindow()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxWindow), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxWindowDC.erl b/lib/wx/src/gen/wxWindowDC.erl index 9501cec539..babb3c0e90 100644 --- a/lib/wx/src/gen/wxWindowDC.erl +++ b/lib/wx/src/gen/wxWindowDC.erl @@ -73,7 +73,7 @@ new(#wx_ref{type=WinT,ref=WinRef}) -> <>). %% @doc Destroys this object, do not use object again --spec destroy(This::wxWindowDC) -> ok. +-spec destroy(This::wxWindowDC()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxWindowDC), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wxXmlResource.erl b/lib/wx/src/gen/wxXmlResource.erl index c18f6ce051..aa0cffb5a8 100644 --- a/lib/wx/src/gen/wxXmlResource.erl +++ b/lib/wx/src/gen/wxXmlResource.erl @@ -48,7 +48,7 @@ new() -> %% @doc See external documentation. -spec new([Option]) -> wxXmlResource() when Option :: {flags, integer()} - | {domain, string()}. + | {domain, unicode:chardata()}. new(Options) when is_list(Options) -> MOpts = fun({flags, Flags}, Acc) -> [<<1:32/?UI,Flags:32/?UI>>|Acc]; @@ -60,9 +60,9 @@ new(Options) %% @doc See external documentation. -spec new(Filemask, [Option]) -> wxXmlResource() when - Filemask::string(), + Filemask::unicode:chardata(), Option :: {flags, integer()} - | {domain, string()}. + | {domain, unicode:chardata()}. new(Filemask, Options) when is_list(Filemask),is_list(Options) -> Filemask_UC = unicode:characters_to_binary([Filemask,0]), @@ -75,7 +75,7 @@ new(Filemask, Options) %% @equiv attachUnknownControl(This,Name,Control, []) -spec attachUnknownControl(This, Name, Control) -> boolean() when - This::wxXmlResource(), Name::string(), Control::wxWindow:wxWindow(). + This::wxXmlResource(), Name::unicode:chardata(), Control::wxWindow:wxWindow(). attachUnknownControl(This,Name,Control) when is_record(This, wx_ref),is_list(Name),is_record(Control, wx_ref) -> @@ -83,7 +83,7 @@ attachUnknownControl(This,Name,Control) %% @doc See external documentation. -spec attachUnknownControl(This, Name, Control, [Option]) -> boolean() when - This::wxXmlResource(), Name::string(), Control::wxWindow:wxWindow(), + This::wxXmlResource(), Name::unicode:chardata(), Control::wxWindow:wxWindow(), Option :: {parent, wxWindow:wxWindow()}. attachUnknownControl(#wx_ref{type=ThisT,ref=ThisRef},Name,#wx_ref{type=ControlT,ref=ControlRef}, Options) when is_list(Name),is_list(Options) -> @@ -137,7 +137,7 @@ getVersion(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @equiv getXRCID(Str_id, []) -spec getXRCID(Str_id) -> integer() when - Str_id::[string()]. + Str_id::[unicode:chardata()]. getXRCID(Str_id) when is_list(Str_id) -> @@ -145,7 +145,7 @@ getXRCID(Str_id) %% @doc See external documentation. -spec getXRCID(Str_id, [Option]) -> integer() when - Str_id::[string()], + Str_id::[unicode:chardata()], Option :: {value_if_not_found, integer()}. getXRCID(Str_id, Options) when is_list(Str_id),is_list(Options) -> @@ -166,7 +166,7 @@ initAllHandlers(#wx_ref{type=ThisT,ref=ThisRef}) -> %% @doc See external documentation. -spec load(This, Filemask) -> boolean() when - This::wxXmlResource(), Filemask::string(). + This::wxXmlResource(), Filemask::unicode:chardata(). load(#wx_ref{type=ThisT,ref=ThisRef},Filemask) when is_list(Filemask) -> ?CLASS(ThisT,wxXmlResource), @@ -176,7 +176,7 @@ load(#wx_ref{type=ThisT,ref=ThisRef},Filemask) %% @doc See external documentation. -spec loadBitmap(This, Name) -> wxBitmap:wxBitmap() when - This::wxXmlResource(), Name::string(). + This::wxXmlResource(), Name::unicode:chardata(). loadBitmap(#wx_ref{type=ThisT,ref=ThisRef},Name) when is_list(Name) -> ?CLASS(ThisT,wxXmlResource), @@ -186,7 +186,7 @@ loadBitmap(#wx_ref{type=ThisT,ref=ThisRef},Name) %% @doc See external documentation. -spec loadDialog(This, Parent, Name) -> wxDialog:wxDialog() when - This::wxXmlResource(), Parent::wxWindow:wxWindow(), Name::string(). + This::wxXmlResource(), Parent::wxWindow:wxWindow(), Name::unicode:chardata(). loadDialog(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Name) when is_list(Name) -> ?CLASS(ThisT,wxXmlResource), @@ -197,7 +197,7 @@ loadDialog(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},N %% @doc See external documentation. -spec loadDialog(This, Dlg, Parent, Name) -> boolean() when - This::wxXmlResource(), Dlg::wxDialog:wxDialog(), Parent::wxWindow:wxWindow(), Name::string(). + This::wxXmlResource(), Dlg::wxDialog:wxDialog(), Parent::wxWindow:wxWindow(), Name::unicode:chardata(). loadDialog(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=DlgT,ref=DlgRef},#wx_ref{type=ParentT,ref=ParentRef},Name) when is_list(Name) -> ?CLASS(ThisT,wxXmlResource), @@ -209,7 +209,7 @@ loadDialog(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=DlgT,ref=DlgRef},#wx_ref %% @doc See external documentation. -spec loadFrame(This, Parent, Name) -> wxFrame:wxFrame() when - This::wxXmlResource(), Parent::wxWindow:wxWindow(), Name::string(). + This::wxXmlResource(), Parent::wxWindow:wxWindow(), Name::unicode:chardata(). loadFrame(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Name) when is_list(Name) -> ?CLASS(ThisT,wxXmlResource), @@ -220,7 +220,7 @@ loadFrame(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Na %% @doc See external documentation. -spec loadFrame(This, Frame, Parent, Name) -> boolean() when - This::wxXmlResource(), Frame::wxFrame:wxFrame(), Parent::wxWindow:wxWindow(), Name::string(). + This::wxXmlResource(), Frame::wxFrame:wxFrame(), Parent::wxWindow:wxWindow(), Name::unicode:chardata(). loadFrame(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FrameT,ref=FrameRef},#wx_ref{type=ParentT,ref=ParentRef},Name) when is_list(Name) -> ?CLASS(ThisT,wxXmlResource), @@ -232,7 +232,7 @@ loadFrame(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=FrameT,ref=FrameRef},#wx_ %% @doc See external documentation. -spec loadIcon(This, Name) -> wxIcon:wxIcon() when - This::wxXmlResource(), Name::string(). + This::wxXmlResource(), Name::unicode:chardata(). loadIcon(#wx_ref{type=ThisT,ref=ThisRef},Name) when is_list(Name) -> ?CLASS(ThisT,wxXmlResource), @@ -242,7 +242,7 @@ loadIcon(#wx_ref{type=ThisT,ref=ThisRef},Name) %% @doc See external documentation. -spec loadMenu(This, Name) -> wxMenu:wxMenu() when - This::wxXmlResource(), Name::string(). + This::wxXmlResource(), Name::unicode:chardata(). loadMenu(#wx_ref{type=ThisT,ref=ThisRef},Name) when is_list(Name) -> ?CLASS(ThisT,wxXmlResource), @@ -252,7 +252,7 @@ loadMenu(#wx_ref{type=ThisT,ref=ThisRef},Name) %% @doc See external documentation. -spec loadMenuBar(This, Name) -> wxMenuBar:wxMenuBar() when - This::wxXmlResource(), Name::string(). + This::wxXmlResource(), Name::unicode:chardata(). loadMenuBar(#wx_ref{type=ThisT,ref=ThisRef},Name) when is_list(Name) -> ?CLASS(ThisT,wxXmlResource), @@ -262,7 +262,7 @@ loadMenuBar(#wx_ref{type=ThisT,ref=ThisRef},Name) %% @doc See external documentation. -spec loadMenuBar(This, Parent, Name) -> wxMenuBar:wxMenuBar() when - This::wxXmlResource(), Parent::wxWindow:wxWindow(), Name::string(). + This::wxXmlResource(), Parent::wxWindow:wxWindow(), Name::unicode:chardata(). loadMenuBar(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Name) when is_list(Name) -> ?CLASS(ThisT,wxXmlResource), @@ -273,7 +273,7 @@ loadMenuBar(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}, %% @doc See external documentation. -spec loadPanel(This, Parent, Name) -> wxPanel:wxPanel() when - This::wxXmlResource(), Parent::wxWindow:wxWindow(), Name::string(). + This::wxXmlResource(), Parent::wxWindow:wxWindow(), Name::unicode:chardata(). loadPanel(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Name) when is_list(Name) -> ?CLASS(ThisT,wxXmlResource), @@ -284,7 +284,7 @@ loadPanel(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Na %% @doc See external documentation. -spec loadPanel(This, Panel, Parent, Name) -> boolean() when - This::wxXmlResource(), Panel::wxPanel:wxPanel(), Parent::wxWindow:wxWindow(), Name::string(). + This::wxXmlResource(), Panel::wxPanel:wxPanel(), Parent::wxWindow:wxWindow(), Name::unicode:chardata(). loadPanel(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PanelT,ref=PanelRef},#wx_ref{type=ParentT,ref=ParentRef},Name) when is_list(Name) -> ?CLASS(ThisT,wxXmlResource), @@ -296,7 +296,7 @@ loadPanel(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=PanelT,ref=PanelRef},#wx_ %% @doc See external documentation. -spec loadToolBar(This, Parent, Name) -> wxToolBar:wxToolBar() when - This::wxXmlResource(), Parent::wxWindow:wxWindow(), Name::string(). + This::wxXmlResource(), Parent::wxWindow:wxWindow(), Name::unicode:chardata(). loadToolBar(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef},Name) when is_list(Name) -> ?CLASS(ThisT,wxXmlResource), @@ -324,7 +324,7 @@ setFlags(#wx_ref{type=ThisT,ref=ThisRef},Flags) %% @doc See external documentation. -spec unload(This, Filename) -> boolean() when - This::wxXmlResource(), Filename::string(). + This::wxXmlResource(), Filename::unicode:chardata(). unload(#wx_ref{type=ThisT,ref=ThisRef},Filename) when is_list(Filename) -> ?CLASS(ThisT,wxXmlResource), @@ -352,7 +352,7 @@ xrcctrl(Window = #wx_ref{}, Name, Type) when is_list(Name), is_atom(Type) -> wx:typeCast(Res, Type). %% @doc Destroys this object, do not use object again --spec destroy(This::wxXmlResource) -> ok. +-spec destroy(This::wxXmlResource()) -> ok. destroy(Obj=#wx_ref{type=Type}) -> ?CLASS(Type,wxXmlResource), wxe_util:destroy(?DESTROY_OBJECT,Obj), diff --git a/lib/wx/src/gen/wx_misc.erl b/lib/wx/src/gen/wx_misc.erl index 81dd16c0c4..a2a39bdae7 100644 --- a/lib/wx/src/gen/wx_misc.erl +++ b/lib/wx/src/gen/wx_misc.erl @@ -67,7 +67,7 @@ bell() -> %% @doc See external documentation. -spec findMenuItemId(Frame, MenuString, ItemString) -> integer() when - Frame::wxFrame:wxFrame(), MenuString::string(), ItemString::string(). + Frame::wxFrame:wxFrame(), MenuString::unicode:chardata(), ItemString::unicode:chardata(). findMenuItemId(#wx_ref{type=FrameT,ref=FrameRef},MenuString,ItemString) when is_list(MenuString),is_list(ItemString) -> ?CLASS(FrameT,wxFrame), @@ -138,7 +138,7 @@ shell() -> %% @doc See external documentation. -spec shell([Option]) -> boolean() when - Option :: {command, string()}. + Option :: {command, unicode:chardata()}. shell(Options) when is_list(Options) -> MOpts = fun({command, Command}, Acc) -> Command_UC = unicode:characters_to_binary([Command,0]),[<<1:32/?UI,(byte_size(Command_UC)):32/?UI,(Command_UC)/binary, 0:(((8- ((0+byte_size(Command_UC)) band 16#7)) band 16#7))/unit:8>>|Acc]; @@ -149,7 +149,7 @@ shell(Options) %% @equiv launchDefaultBrowser(Url, []) -spec launchDefaultBrowser(Url) -> boolean() when - Url::string(). + Url::unicode:chardata(). launchDefaultBrowser(Url) when is_list(Url) -> @@ -157,7 +157,7 @@ launchDefaultBrowser(Url) %% @doc See external documentation. -spec launchDefaultBrowser(Url, [Option]) -> boolean() when - Url::string(), + Url::unicode:chardata(), Option :: {flags, integer()}. launchDefaultBrowser(Url, Options) when is_list(Url),is_list(Options) -> @@ -169,19 +169,19 @@ launchDefaultBrowser(Url, Options) <<(byte_size(Url_UC)):32/?UI,(Url_UC)/binary, 0:(((8- ((4+byte_size(Url_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>). %% @doc See external documentation. --spec getEmailAddress() -> string(). +-spec getEmailAddress() -> unicode:charlist(). getEmailAddress() -> wxe_util:call(?utils_wxGetEmailAddress, <<>>). %% @doc See external documentation. --spec getUserId() -> string(). +-spec getUserId() -> unicode:charlist(). getUserId() -> wxe_util:call(?utils_wxGetUserId, <<>>). %% @doc See external documentation. --spec getHomeDir() -> string(). +-spec getHomeDir() -> unicode:charlist(). getHomeDir() -> wxe_util:call(?utils_wxGetHomeDir, <<>>). @@ -207,7 +207,7 @@ getCurrentId() -> <<>>). %% @doc See external documentation. --spec getOsDescription() -> string(). +-spec getOsDescription() -> unicode:charlist(). getOsDescription() -> wxe_util:call(?utils_wxGetOsDescription, <<>>). -- cgit v1.2.3 From ec9ee1b76343c146cec17d0642dd9d1db7bbf3d6 Mon Sep 17 00:00:00 2001 From: Dan Gudmundsson Date: Fri, 24 Feb 2012 11:53:41 +0100 Subject: [wx] Doc overloaded functions edoc do not handle overloaded type-specs, so doc them manually --- lib/wx/src/gen/wxAcceleratorEntry.erl | 4 ++ lib/wx/src/gen/wxAuiManager.erl | 8 ++++ lib/wx/src/gen/wxBitmap.erl | 19 ++++++++ lib/wx/src/gen/wxBitmapDataObject.erl | 4 ++ lib/wx/src/gen/wxBrush.erl | 4 ++ lib/wx/src/gen/wxBufferedDC.erl | 12 ++++++ lib/wx/src/gen/wxBufferedPaintDC.erl | 5 +++ lib/wx/src/gen/wxCalendarCtrl.erl | 2 +- lib/wx/src/gen/wxCalendarDateAttr.erl | 14 ++++++ lib/wx/src/gen/wxColourPickerCtrl.erl | 4 ++ lib/wx/src/gen/wxCursor.erl | 4 ++ lib/wx/src/gen/wxDC.erl | 4 ++ lib/wx/src/gen/wxFont.erl | 2 +- lib/wx/src/gen/wxGLCanvas.erl | 11 +++++ lib/wx/src/gen/wxGraphicsContext.erl | 4 ++ lib/wx/src/gen/wxGraphicsPath.erl | 5 +++ lib/wx/src/gen/wxGrid.erl | 24 +++++++++++ lib/wx/src/gen/wxGridBagSizer.erl | 45 +++++++++++++++++++ lib/wx/src/gen/wxIcon.erl | 5 +++ lib/wx/src/gen/wxIconBundle.erl | 4 ++ lib/wx/src/gen/wxImage.erl | 37 ++++++++++++++++ lib/wx/src/gen/wxImageList.erl | 4 ++ lib/wx/src/gen/wxListBox.erl | 4 ++ lib/wx/src/gen/wxListCtrl.erl | 12 ++++++ lib/wx/src/gen/wxMask.erl | 8 ++++ lib/wx/src/gen/wxMenu.erl | 48 +++++++++++++++++++++ lib/wx/src/gen/wxPageSetupDialogData.erl | 4 ++ lib/wx/src/gen/wxPrintDialog.erl | 4 ++ lib/wx/src/gen/wxRadioBox.erl | 10 +++++ lib/wx/src/gen/wxRegion.erl | 24 +++++++++++ lib/wx/src/gen/wxSizer.erl | 74 ++++++++++++++++++++++++++++++++ lib/wx/src/gen/wxSizerItem.erl | 4 ++ lib/wx/src/gen/wxSpinCtrl.erl | 4 ++ lib/wx/src/gen/wxStaticBoxSizer.erl | 4 ++ lib/wx/src/gen/wxStyledTextCtrl.erl | 2 +- lib/wx/src/gen/wxSystemOptions.erl | 4 ++ lib/wx/src/gen/wxToolBar.erl | 41 ++++++++++++++++++ lib/wx/src/gen/wxWindow.erl | 41 ++++++++++++++++++ 38 files changed, 510 insertions(+), 3 deletions(-) (limited to 'lib/wx/src/gen') diff --git a/lib/wx/src/gen/wxAcceleratorEntry.erl b/lib/wx/src/gen/wxAcceleratorEntry.erl index b5467ecab8..3cf50a2348 100644 --- a/lib/wx/src/gen/wxAcceleratorEntry.erl +++ b/lib/wx/src/gen/wxAcceleratorEntry.erl @@ -41,6 +41,10 @@ new() -> new([]). %% @doc See external documentation. +%%
Also:
+%% new(Entry) -> wxAcceleratorEntry() when
+%% Entry::wxAcceleratorEntry().
+%% -spec new([Option]) -> wxAcceleratorEntry() when Option :: {flags, integer()} | {keyCode, integer()} diff --git a/lib/wx/src/gen/wxAuiManager.erl b/lib/wx/src/gen/wxAuiManager.erl index 8a0a64f346..95dd5d64a5 100644 --- a/lib/wx/src/gen/wxAuiManager.erl +++ b/lib/wx/src/gen/wxAuiManager.erl @@ -71,6 +71,10 @@ addPane(This,Window) addPane(This,Window, []). %% @doc See external documentation. +%%
Also:
+%% addPane(This, Window, Pane_info) -> boolean() when
+%% This::wxAuiManager(), Window::wxWindow:wxWindow(), Pane_info::wxAuiPaneInfo:wxAuiPaneInfo().
+%% -spec addPane(This, Window, [Option]) -> boolean() when This::wxAuiManager(), Window::wxWindow:wxWindow(), Option :: {direction, integer()} @@ -163,6 +167,10 @@ getManager(#wx_ref{type=WindowT,ref=WindowRef}) -> <>). %% @doc See external documentation. +%%
Also:
+%% getPane(This, Window) -> wxAuiPaneInfo:wxAuiPaneInfo() when
+%% This::wxAuiManager(), Window::wxWindow:wxWindow().
+%% -spec getPane(This, Name) -> wxAuiPaneInfo:wxAuiPaneInfo() when This::wxAuiManager(), Name::unicode:chardata(); (This, Window) -> wxAuiPaneInfo:wxAuiPaneInfo() when diff --git a/lib/wx/src/gen/wxBitmap.erl b/lib/wx/src/gen/wxBitmap.erl index c363e22209..8816e27cdd 100644 --- a/lib/wx/src/gen/wxBitmap.erl +++ b/lib/wx/src/gen/wxBitmap.erl @@ -44,6 +44,11 @@ new() -> <<>>). %% @doc See external documentation. +%%
Also:
+%% new(Image) -> wxBitmap() when
+%% Image::wxImage:wxImage().
+%% +%%
Type = ?wxBITMAP_TYPE_INVALID | ?wxBITMAP_TYPE_BMP | ?wxBITMAP_TYPE_BMP_RESOURCE | ?wxBITMAP_TYPE_RESOURCE | ?wxBITMAP_TYPE_ICO | ?wxBITMAP_TYPE_ICO_RESOURCE | ?wxBITMAP_TYPE_CUR | ?wxBITMAP_TYPE_CUR_RESOURCE | ?wxBITMAP_TYPE_XBM | ?wxBITMAP_TYPE_XBM_DATA | ?wxBITMAP_TYPE_XPM | ?wxBITMAP_TYPE_XPM_DATA | ?wxBITMAP_TYPE_TIF | ?wxBITMAP_TYPE_TIF_RESOURCE | ?wxBITMAP_TYPE_GIF | ?wxBITMAP_TYPE_GIF_RESOURCE | ?wxBITMAP_TYPE_PNG | ?wxBITMAP_TYPE_PNG_RESOURCE | ?wxBITMAP_TYPE_JPEG | ?wxBITMAP_TYPE_JPEG_RESOURCE | ?wxBITMAP_TYPE_PNM | ?wxBITMAP_TYPE_PNM_RESOURCE | ?wxBITMAP_TYPE_PCX | ?wxBITMAP_TYPE_PCX_RESOURCE | ?wxBITMAP_TYPE_PICT | ?wxBITMAP_TYPE_PICT_RESOURCE | ?wxBITMAP_TYPE_ICON | ?wxBITMAP_TYPE_ICON_RESOURCE | ?wxBITMAP_TYPE_ANI | ?wxBITMAP_TYPE_IFF | ?wxBITMAP_TYPE_TGA | ?wxBITMAP_TYPE_MACCURSOR | ?wxBITMAP_TYPE_MACCURSOR_RESOURCE | ?wxBITMAP_TYPE_ANY -spec new(Filename) -> wxBitmap() when Filename::unicode:chardata(); (Image) -> wxBitmap() when @@ -58,6 +63,15 @@ new(Image) new(Image, []). %% @doc See external documentation. +%%
Also:
+%% new(Filename, [Option]) -> wxBitmap() when
+%% Filename::unicode:chardata(),
+%% Option :: {type, wx:wx_enum()};
+%% (Image, [Option]) -> wxBitmap() when
+%% Image::wxImage:wxImage(),
+%% Option :: {depth, integer()}.
+%% +%%
Type = ?wxBITMAP_TYPE_INVALID | ?wxBITMAP_TYPE_BMP | ?wxBITMAP_TYPE_BMP_RESOURCE | ?wxBITMAP_TYPE_RESOURCE | ?wxBITMAP_TYPE_ICO | ?wxBITMAP_TYPE_ICO_RESOURCE | ?wxBITMAP_TYPE_CUR | ?wxBITMAP_TYPE_CUR_RESOURCE | ?wxBITMAP_TYPE_XBM | ?wxBITMAP_TYPE_XBM_DATA | ?wxBITMAP_TYPE_XPM | ?wxBITMAP_TYPE_XPM_DATA | ?wxBITMAP_TYPE_TIF | ?wxBITMAP_TYPE_TIF_RESOURCE | ?wxBITMAP_TYPE_GIF | ?wxBITMAP_TYPE_GIF_RESOURCE | ?wxBITMAP_TYPE_PNG | ?wxBITMAP_TYPE_PNG_RESOURCE | ?wxBITMAP_TYPE_JPEG | ?wxBITMAP_TYPE_JPEG_RESOURCE | ?wxBITMAP_TYPE_PNM | ?wxBITMAP_TYPE_PNM_RESOURCE | ?wxBITMAP_TYPE_PCX | ?wxBITMAP_TYPE_PCX_RESOURCE | ?wxBITMAP_TYPE_PICT | ?wxBITMAP_TYPE_PICT_RESOURCE | ?wxBITMAP_TYPE_ICON | ?wxBITMAP_TYPE_ICON_RESOURCE | ?wxBITMAP_TYPE_ANI | ?wxBITMAP_TYPE_IFF | ?wxBITMAP_TYPE_TGA | ?wxBITMAP_TYPE_MACCURSOR | ?wxBITMAP_TYPE_MACCURSOR_RESOURCE | ?wxBITMAP_TYPE_ANY -spec new(Width, Height) -> wxBitmap() when Width::integer(), Height::integer(); (Filename, [Option]) -> wxBitmap() when @@ -88,6 +102,11 @@ new(#wx_ref{type=ImageT,ref=ImageRef}, Options) <>). %% @doc See external documentation. +%%
Also:
+%% new(Width, Height, [Option]) -> wxBitmap() when
+%% Width::integer(), Height::integer(),
+%% Option :: {depth, integer()}.
+%% -spec new(Bits, Width, Height) -> wxBitmap() when Bits::binary(), Width::integer(), Height::integer(); (Width, Height, [Option]) -> wxBitmap() when diff --git a/lib/wx/src/gen/wxBitmapDataObject.erl b/lib/wx/src/gen/wxBitmapDataObject.erl index 35ab146457..8f9701d3c2 100644 --- a/lib/wx/src/gen/wxBitmapDataObject.erl +++ b/lib/wx/src/gen/wxBitmapDataObject.erl @@ -45,6 +45,10 @@ new() -> new([]). %% @doc See external documentation. +%%
Also:
+%% new(Bitmap) -> wxBitmapDataObject() when
+%% Bitmap::wxBitmap:wxBitmap().
+%% -spec new([Option]) -> wxBitmapDataObject() when Option :: {bitmap, wxBitmap:wxBitmap()}; (Bitmap) -> wxBitmapDataObject() when diff --git a/lib/wx/src/gen/wxBrush.erl b/lib/wx/src/gen/wxBrush.erl index 3436fe0dde..40aa62297e 100644 --- a/lib/wx/src/gen/wxBrush.erl +++ b/lib/wx/src/gen/wxBrush.erl @@ -42,6 +42,10 @@ new() -> <<>>). %% @doc See external documentation. +%%
Also:
+%% new(StippleBitmap) -> wxBrush() when
+%% StippleBitmap::wxBitmap:wxBitmap().
+%% -spec new(Colour) -> wxBrush() when Colour::wx:wx_colour(); (StippleBitmap) -> wxBrush() when diff --git a/lib/wx/src/gen/wxBufferedDC.erl b/lib/wx/src/gen/wxBufferedDC.erl index 84dde6c67b..fd8955f4ed 100644 --- a/lib/wx/src/gen/wxBufferedDC.erl +++ b/lib/wx/src/gen/wxBufferedDC.erl @@ -75,6 +75,12 @@ new(Dc) new(Dc, []). %% @doc See external documentation. +%%
Also:
+%% new(Dc, [Option]) -> wxBufferedDC() when
+%% Dc::wxDC:wxDC(),
+%% Option :: {buffer, wxBitmap:wxBitmap()}
+%% | {style, integer()}.
+%% -spec new(Dc, Area) -> wxBufferedDC() when Dc::wxDC:wxDC(), Area::{W::integer(), H::integer()}; (Dc, [Option]) -> wxBufferedDC() when @@ -117,6 +123,12 @@ init(This,Dc) init(This,Dc, []). %% @doc See external documentation. +%%
Also:
+%% init(This, Dc, [Option]) -> ok when
+%% This::wxBufferedDC(), Dc::wxDC:wxDC(),
+%% Option :: {buffer, wxBitmap:wxBitmap()}
+%% | {style, integer()}.
+%% -spec init(This, Dc, Area) -> ok when This::wxBufferedDC(), Dc::wxDC:wxDC(), Area::{W::integer(), H::integer()}; (This, Dc, [Option]) -> ok when diff --git a/lib/wx/src/gen/wxBufferedPaintDC.erl b/lib/wx/src/gen/wxBufferedPaintDC.erl index 833d51c435..bff61ca678 100644 --- a/lib/wx/src/gen/wxBufferedPaintDC.erl +++ b/lib/wx/src/gen/wxBufferedPaintDC.erl @@ -72,6 +72,11 @@ new(Window) new(Window, []). %% @doc See external documentation. +%%
Also:
+%% new(Window, [Option]) -> wxBufferedPaintDC() when
+%% Window::wxWindow:wxWindow(),
+%% Option :: {style, integer()}.
+%% -spec new(Window, Buffer) -> wxBufferedPaintDC() when Window::wxWindow:wxWindow(), Buffer::wxBitmap:wxBitmap(); (Window, [Option]) -> wxBufferedPaintDC() when diff --git a/lib/wx/src/gen/wxCalendarCtrl.erl b/lib/wx/src/gen/wxCalendarCtrl.erl index 06dd4a0c91..01d171800b 100644 --- a/lib/wx/src/gen/wxCalendarCtrl.erl +++ b/lib/wx/src/gen/wxCalendarCtrl.erl @@ -336,8 +336,8 @@ resetAttr(#wx_ref{type=ThisT,ref=ThisRef},Day) <>). %% @doc See external documentation. -%%
Res = ?wxCAL_HITTEST_NOWHERE | ?wxCAL_HITTEST_HEADER | ?wxCAL_HITTEST_DAY | ?wxCAL_HITTEST_INCMONTH | ?wxCAL_HITTEST_DECMONTH | ?wxCAL_HITTEST_SURROUNDING_WEEK %%
Wd = ?wxDateTime_Sun | ?wxDateTime_Mon | ?wxDateTime_Tue | ?wxDateTime_Wed | ?wxDateTime_Thu | ?wxDateTime_Fri | ?wxDateTime_Sat | ?wxDateTime_Inv_WeekDay +%%
Res = ?wxCAL_HITTEST_NOWHERE | ?wxCAL_HITTEST_HEADER | ?wxCAL_HITTEST_DAY | ?wxCAL_HITTEST_INCMONTH | ?wxCAL_HITTEST_DECMONTH | ?wxCAL_HITTEST_SURROUNDING_WEEK -spec hitTest(This, Pos) -> Result when Result ::{Res ::wx:wx_enum(), Date::wx:wx_datetime(), Wd::wx:wx_enum()}, This::wxCalendarCtrl(), Pos::{X::integer(), Y::integer()}. diff --git a/lib/wx/src/gen/wxCalendarDateAttr.erl b/lib/wx/src/gen/wxCalendarDateAttr.erl index cfedb401ce..a1891df18b 100644 --- a/lib/wx/src/gen/wxCalendarDateAttr.erl +++ b/lib/wx/src/gen/wxCalendarDateAttr.erl @@ -44,6 +44,11 @@ new() -> <<>>). %% @doc See external documentation. +%%
Also:
+%% new(ColText) -> wxCalendarDateAttr() when
+%% ColText::wx:wx_colour().
+%% +%%
Border = ?wxCAL_BORDER_NONE | ?wxCAL_BORDER_SQUARE | ?wxCAL_BORDER_ROUND -spec new(Border) -> wxCalendarDateAttr() when Border::wx:wx_enum(); (ColText) -> wxCalendarDateAttr() when @@ -58,6 +63,15 @@ new(ColText) new(ColText, []). %% @doc See external documentation. +%%
Also:
+%% new(ColText, [Option]) -> wxCalendarDateAttr() when
+%% ColText::wx:wx_colour(),
+%% Option :: {colBack, wx:wx_colour()}
+%% | {colBorder, wx:wx_colour()}
+%% | {font, wxFont:wxFont()}
+%% | {border, wx:wx_enum()}.
+%% +%%
Border = ?wxCAL_BORDER_NONE | ?wxCAL_BORDER_SQUARE | ?wxCAL_BORDER_ROUND -spec new(Border, [Option]) -> wxCalendarDateAttr() when Border::wx:wx_enum(), Option :: {colBorder, wx:wx_colour()}; diff --git a/lib/wx/src/gen/wxColourPickerCtrl.erl b/lib/wx/src/gen/wxColourPickerCtrl.erl index d9e0d20df8..5fd51eba15 100644 --- a/lib/wx/src/gen/wxColourPickerCtrl.erl +++ b/lib/wx/src/gen/wxColourPickerCtrl.erl @@ -157,6 +157,10 @@ getColour(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. +%%
Also:
+%% setColour(This, Col) -> ok when
+%% This::wxColourPickerCtrl(), Col::wx:wx_colour().
+%% -spec setColour(This, Text) -> boolean() when This::wxColourPickerCtrl(), Text::unicode:chardata(); (This, Col) -> ok when diff --git a/lib/wx/src/gen/wxCursor.erl b/lib/wx/src/gen/wxCursor.erl index 78becd48e8..b9e3a8e3f7 100644 --- a/lib/wx/src/gen/wxCursor.erl +++ b/lib/wx/src/gen/wxCursor.erl @@ -47,6 +47,10 @@ new() -> <<>>). %% @doc See external documentation. +%%
Also:
+%% new(Image) -> wxCursor() when
+%% Image::wxImage:wxImage().
+%% -spec new(CursorId) -> wxCursor() when CursorId::integer(); (Image) -> wxCursor() when diff --git a/lib/wx/src/gen/wxDC.erl b/lib/wx/src/gen/wxDC.erl index 9b2c21f4b0..9f57978849 100644 --- a/lib/wx/src/gen/wxDC.erl +++ b/lib/wx/src/gen/wxDC.erl @@ -798,6 +798,10 @@ setBrush(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BrushT,ref=BrushRef}) -> <>). %% @doc See external documentation. +%%
Also:
+%% setClippingRegion(This, Rect) -> ok when
+%% This::wxDC(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}.
+%% -spec setClippingRegion(This, Region) -> ok when This::wxDC(), Region::wxRegion:wxRegion(); (This, Rect) -> ok when diff --git a/lib/wx/src/gen/wxFont.erl b/lib/wx/src/gen/wxFont.erl index f05ac62d8b..a168e15180 100644 --- a/lib/wx/src/gen/wxFont.erl +++ b/lib/wx/src/gen/wxFont.erl @@ -62,9 +62,9 @@ new(Size,Family,Style,Weight) new(Size,Family,Style,Weight, []). %% @doc See external documentation. +%%
Encoding = ?wxFONTENCODING_SYSTEM | ?wxFONTENCODING_DEFAULT | ?wxFONTENCODING_ISO8859_1 | ?wxFONTENCODING_ISO8859_2 | ?wxFONTENCODING_ISO8859_3 | ?wxFONTENCODING_ISO8859_4 | ?wxFONTENCODING_ISO8859_5 | ?wxFONTENCODING_ISO8859_6 | ?wxFONTENCODING_ISO8859_7 | ?wxFONTENCODING_ISO8859_8 | ?wxFONTENCODING_ISO8859_9 | ?wxFONTENCODING_ISO8859_10 | ?wxFONTENCODING_ISO8859_11 | ?wxFONTENCODING_ISO8859_12 | ?wxFONTENCODING_ISO8859_13 | ?wxFONTENCODING_ISO8859_14 | ?wxFONTENCODING_ISO8859_15 | ?wxFONTENCODING_ISO8859_MAX | ?wxFONTENCODING_KOI8 | ?wxFONTENCODING_KOI8_U | ?wxFONTENCODING_ALTERNATIVE | ?wxFONTENCODING_BULGARIAN | ?wxFONTENCODING_CP437 | ?wxFONTENCODING_CP850 | ?wxFONTENCODING_CP852 | ?wxFONTENCODING_CP855 | ?wxFONTENCODING_CP866 | ?wxFONTENCODING_CP874 | ?wxFONTENCODING_CP932 | ?wxFONTENCODING_CP936 | ?wxFONTENCODING_CP949 | ?wxFONTENCODING_CP950 | ?wxFONTENCODING_CP1250 | ?wxFONTENCODING_CP1251 | ?wxFONTENCODING_CP1252 | ?wxFONTENCODING_CP1253 | ?wxFONTENCODING_CP1254 | ?wxFONTENCODING_CP1255 | ?wxFONTENCODING_CP1256 | ?wxFONTENCODING_CP1257 | ?wxFONTENCODING_CP12_MAX | ?wxFONTENCODING_UTF7 | ?wxFONTENCODING_UTF8 | ?wxFONTENCODING_EUC_JP | ?wxFONTENCODING_UTF16BE | ?wxFONTENCODING_UTF16LE | ?wxFONTENCODING_UTF32BE | ?wxFONTENCODING_UTF32LE | ?wxFONTENCODING_MACROMAN | ?wxFONTENCODING_MACJAPANESE | ?wxFONTENCODING_MACCHINESETRAD | ?wxFONTENCODING_MACKOREAN | ?wxFONTENCODING_MACARABIC | ?wxFONTENCODING_MACHEBREW | ?wxFONTENCODING_MACGREEK | ?wxFONTENCODING_MACCYRILLIC | ?wxFONTENCODING_MACDEVANAGARI | ?wxFONTENCODING_MACGURMUKHI | ?wxFONTENCODING_MACGUJARATI | ?wxFONTENCODING_MACORIYA | ?wxFONTENCODING_MACBENGALI | ?wxFONTENCODING_MACTAMIL | ?wxFONTENCODING_MACTELUGU | ?wxFONTENCODING_MACKANNADA | ?wxFONTENCODING_MACMALAJALAM | ?wxFONTENCODING_MACSINHALESE | ?wxFONTENCODING_MACBURMESE | ?wxFONTENCODING_MACKHMER | ?wxFONTENCODING_MACTHAI | ?wxFONTENCODING_MACLAOTIAN | ?wxFONTENCODING_MACGEORGIAN | ?wxFONTENCODING_MACARMENIAN | ?wxFONTENCODING_MACCHINESESIMP | ?wxFONTENCODING_MACTIBETAN | ?wxFONTENCODING_MACMONGOLIAN | ?wxFONTENCODING_MACETHIOPIC | ?wxFONTENCODING_MACCENTRALEUR | ?wxFONTENCODING_MACVIATNAMESE | ?wxFONTENCODING_MACARABICEXT | ?wxFONTENCODING_MACSYMBOL | ?wxFONTENCODING_MACDINGBATS | ?wxFONTENCODING_MACTURKISH | ?wxFONTENCODING_MACCROATIAN | ?wxFONTENCODING_MACICELANDIC | ?wxFONTENCODING_MACROMANIAN | ?wxFONTENCODING_MACCELTIC | ?wxFONTENCODING_MACGAELIC | ?wxFONTENCODING_MACKEYBOARD | ?wxFONTENCODING_MAX | ?wxFONTENCODING_MACMIN | ?wxFONTENCODING_MACMAX | ?wxFONTENCODING_UTF16 | ?wxFONTENCODING_UTF32 | ?wxFONTENCODING_UNICODE | ?wxFONTENCODING_GB2312 | ?wxFONTENCODING_BIG5 | ?wxFONTENCODING_SHIFT_JIS %%
Family = ?wxFONTFAMILY_DEFAULT | ?wxFONTFAMILY_DECORATIVE | ?wxFONTFAMILY_ROMAN | ?wxFONTFAMILY_SCRIPT | ?wxFONTFAMILY_SWISS | ?wxFONTFAMILY_MODERN | ?wxFONTFAMILY_TELETYPE | ?wxFONTFAMILY_MAX | ?wxFONTFAMILY_UNKNOWN %%
Style = ?wxFONTSTYLE_NORMAL | ?wxFONTSTYLE_ITALIC | ?wxFONTSTYLE_SLANT | ?wxFONTSTYLE_MAX -%%
Encoding = ?wxFONTENCODING_SYSTEM | ?wxFONTENCODING_DEFAULT | ?wxFONTENCODING_ISO8859_1 | ?wxFONTENCODING_ISO8859_2 | ?wxFONTENCODING_ISO8859_3 | ?wxFONTENCODING_ISO8859_4 | ?wxFONTENCODING_ISO8859_5 | ?wxFONTENCODING_ISO8859_6 | ?wxFONTENCODING_ISO8859_7 | ?wxFONTENCODING_ISO8859_8 | ?wxFONTENCODING_ISO8859_9 | ?wxFONTENCODING_ISO8859_10 | ?wxFONTENCODING_ISO8859_11 | ?wxFONTENCODING_ISO8859_12 | ?wxFONTENCODING_ISO8859_13 | ?wxFONTENCODING_ISO8859_14 | ?wxFONTENCODING_ISO8859_15 | ?wxFONTENCODING_ISO8859_MAX | ?wxFONTENCODING_KOI8 | ?wxFONTENCODING_KOI8_U | ?wxFONTENCODING_ALTERNATIVE | ?wxFONTENCODING_BULGARIAN | ?wxFONTENCODING_CP437 | ?wxFONTENCODING_CP850 | ?wxFONTENCODING_CP852 | ?wxFONTENCODING_CP855 | ?wxFONTENCODING_CP866 | ?wxFONTENCODING_CP874 | ?wxFONTENCODING_CP932 | ?wxFONTENCODING_CP936 | ?wxFONTENCODING_CP949 | ?wxFONTENCODING_CP950 | ?wxFONTENCODING_CP1250 | ?wxFONTENCODING_CP1251 | ?wxFONTENCODING_CP1252 | ?wxFONTENCODING_CP1253 | ?wxFONTENCODING_CP1254 | ?wxFONTENCODING_CP1255 | ?wxFONTENCODING_CP1256 | ?wxFONTENCODING_CP1257 | ?wxFONTENCODING_CP12_MAX | ?wxFONTENCODING_UTF7 | ?wxFONTENCODING_UTF8 | ?wxFONTENCODING_EUC_JP | ?wxFONTENCODING_UTF16BE | ?wxFONTENCODING_UTF16LE | ?wxFONTENCODING_UTF32BE | ?wxFONTENCODING_UTF32LE | ?wxFONTENCODING_MACROMAN | ?wxFONTENCODING_MACJAPANESE | ?wxFONTENCODING_MACCHINESETRAD | ?wxFONTENCODING_MACKOREAN | ?wxFONTENCODING_MACARABIC | ?wxFONTENCODING_MACHEBREW | ?wxFONTENCODING_MACGREEK | ?wxFONTENCODING_MACCYRILLIC | ?wxFONTENCODING_MACDEVANAGARI | ?wxFONTENCODING_MACGURMUKHI | ?wxFONTENCODING_MACGUJARATI | ?wxFONTENCODING_MACORIYA | ?wxFONTENCODING_MACBENGALI | ?wxFONTENCODING_MACTAMIL | ?wxFONTENCODING_MACTELUGU | ?wxFONTENCODING_MACKANNADA | ?wxFONTENCODING_MACMALAJALAM | ?wxFONTENCODING_MACSINHALESE | ?wxFONTENCODING_MACBURMESE | ?wxFONTENCODING_MACKHMER | ?wxFONTENCODING_MACTHAI | ?wxFONTENCODING_MACLAOTIAN | ?wxFONTENCODING_MACGEORGIAN | ?wxFONTENCODING_MACARMENIAN | ?wxFONTENCODING_MACCHINESESIMP | ?wxFONTENCODING_MACTIBETAN | ?wxFONTENCODING_MACMONGOLIAN | ?wxFONTENCODING_MACETHIOPIC | ?wxFONTENCODING_MACCENTRALEUR | ?wxFONTENCODING_MACVIATNAMESE | ?wxFONTENCODING_MACARABICEXT | ?wxFONTENCODING_MACSYMBOL | ?wxFONTENCODING_MACDINGBATS | ?wxFONTENCODING_MACTURKISH | ?wxFONTENCODING_MACCROATIAN | ?wxFONTENCODING_MACICELANDIC | ?wxFONTENCODING_MACROMANIAN | ?wxFONTENCODING_MACCELTIC | ?wxFONTENCODING_MACGAELIC | ?wxFONTENCODING_MACKEYBOARD | ?wxFONTENCODING_MAX | ?wxFONTENCODING_MACMIN | ?wxFONTENCODING_MACMAX | ?wxFONTENCODING_UTF16 | ?wxFONTENCODING_UTF32 | ?wxFONTENCODING_UNICODE | ?wxFONTENCODING_GB2312 | ?wxFONTENCODING_BIG5 | ?wxFONTENCODING_SHIFT_JIS -spec new(Size, Family, Style, Weight, [Option]) -> wxFont() when Size::integer(), Family::wx:wx_enum(), Style::wx:wx_enum(), Weight::integer(), Option :: {underlined, boolean()} diff --git a/lib/wx/src/gen/wxGLCanvas.erl b/lib/wx/src/gen/wxGLCanvas.erl index 5c0bda7ee4..3a9cb39020 100644 --- a/lib/wx/src/gen/wxGLCanvas.erl +++ b/lib/wx/src/gen/wxGLCanvas.erl @@ -84,6 +84,17 @@ new(Parent) new(Parent, []). %% @doc See external documentation. +%%
Also:
+%% new(Parent, [Option]) -> wxGLCanvas() when
+%% Parent::wxWindow:wxWindow(),
+%% Option :: {id, integer()}
+%% | {pos, {X::integer(), Y::integer()}}
+%% | {size, {W::integer(), H::integer()}}
+%% | {style, integer()}
+%% | {name, unicode:chardata()}
+%% | {attribList, [integer()]}
+%% | {palette, wxPalette:wxPalette()}.
+%% -spec new(Parent, Shared) -> wxGLCanvas() when Parent::wxWindow:wxWindow(), Shared::wxGLContext:wxGLContext() | wxGLCanvas(); (Parent, [Option]) -> wxGLCanvas() when diff --git a/lib/wx/src/gen/wxGraphicsContext.erl b/lib/wx/src/gen/wxGraphicsContext.erl index db69c278a7..1dfa0dd405 100644 --- a/lib/wx/src/gen/wxGraphicsContext.erl +++ b/lib/wx/src/gen/wxGraphicsContext.erl @@ -289,6 +289,10 @@ drawText(#wx_ref{type=ThisT,ref=ThisRef},Str,X,Y) <>). %% @doc See external documentation. +%%
Also:
+%% drawText(This, Str, X, Y, BackgroundBrush) -> ok when
+%% This::wxGraphicsContext(), Str::unicode:chardata(), X::number(), Y::number(), BackgroundBrush::wxGraphicsBrush:wxGraphicsBrush().
+%% -spec drawText(This, Str, X, Y, Angle) -> ok when This::wxGraphicsContext(), Str::unicode:chardata(), X::number(), Y::number(), Angle::number(); (This, Str, X, Y, BackgroundBrush) -> ok when diff --git a/lib/wx/src/gen/wxGraphicsPath.erl b/lib/wx/src/gen/wxGraphicsPath.erl index 32e9685895..56b853899a 100644 --- a/lib/wx/src/gen/wxGraphicsPath.erl +++ b/lib/wx/src/gen/wxGraphicsPath.erl @@ -194,6 +194,11 @@ contains(This,C={CX,CY}) contains(This,C, []). %% @doc See external documentation. +%%
Also:
+%% contains(This, C, [Option]) -> boolean() when
+%% This::wxGraphicsPath(), C::{X::float(), Y::float()},
+%% Option :: {fillStyle, integer()}.
+%% -spec contains(This, X, Y) -> boolean() when This::wxGraphicsPath(), X::number(), Y::number(); (This, C, [Option]) -> boolean() when diff --git a/lib/wx/src/gen/wxGrid.erl b/lib/wx/src/gen/wxGrid.erl index dd85c7b46d..2f4b45b1bc 100644 --- a/lib/wx/src/gen/wxGrid.erl +++ b/lib/wx/src/gen/wxGrid.erl @@ -149,6 +149,13 @@ new(Parent,Id) new(Parent,Id, []). %% @doc See external documentation. +%%
Also:
+%% new(Parent, Id, [Option]) -> wxGrid() when
+%% Parent::wxWindow:wxWindow(), Id::integer(),
+%% Option :: {pos, {X::integer(), Y::integer()}}
+%% | {size, {W::integer(), H::integer()}}
+%% | {style, integer()}.
+%% -spec new(Parent, X, Y) -> wxGrid() when Parent::wxWindow:wxWindow(), X::integer(), Y::integer(); (Parent, Id, [Option]) -> wxGrid() when @@ -1252,6 +1259,11 @@ isVisible(This,Coords={CoordsR,CoordsC}) isVisible(This,Coords, []). %% @doc See external documentation. +%%
Also:
+%% isVisible(This, Coords, [Option]) -> boolean() when
+%% This::wxGrid(), Coords::{R::integer(), C::integer()},
+%% Option :: {wholeCellVisible, boolean()}.
+%% -spec isVisible(This, Row, Col) -> boolean() when This::wxGrid(), Row::integer(), Col::integer(); (This, Coords, [Option]) -> boolean() when @@ -1538,6 +1550,10 @@ setCellBackgroundColour(#wx_ref{type=ThisT,ref=ThisRef},Col) <>). %% @doc See external documentation. +%%
Also:
+%% setCellBackgroundColour(This, Colour, Row, Col) -> ok when
+%% This::wxGrid(), Colour::wx:wx_colour(), Row::integer(), Col::integer().
+%% -spec setCellBackgroundColour(This, Row, Col, Val) -> ok when This::wxGrid(), Row::integer(), Col::integer(), Val::wx:wx_colour(); (This, Colour, Row, Col) -> ok when @@ -1593,6 +1609,10 @@ setCellTextColour(#wx_ref{type=ThisT,ref=ThisRef},Col) <>). %% @doc See external documentation. +%%
Also:
+%% setCellTextColour(This, Val, Row, Col) -> ok when
+%% This::wxGrid(), Val::wx:wx_colour(), Row::integer(), Col::integer().
+%% -spec setCellTextColour(This, Row, Col, Val) -> ok when This::wxGrid(), Row::integer(), Col::integer(), Val::wx:wx_colour(); (This, Val, Row, Col) -> ok when @@ -1619,6 +1639,10 @@ setCellValue(#wx_ref{type=ThisT,ref=ThisRef},{CoordsR,CoordsC},S) <>). %% @doc See external documentation. +%%
Also:
+%% setCellValue(This, Val, Row, Col) -> ok when
+%% This::wxGrid(), Val::unicode:chardata(), Row::integer(), Col::integer().
+%% -spec setCellValue(This, Row, Col, S) -> ok when This::wxGrid(), Row::integer(), Col::integer(), S::unicode:chardata(); (This, Val, Row, Col) -> ok when diff --git a/lib/wx/src/gen/wxGridBagSizer.erl b/lib/wx/src/gen/wxGridBagSizer.erl index 4eea673c93..6a978efc85 100644 --- a/lib/wx/src/gen/wxGridBagSizer.erl +++ b/lib/wx/src/gen/wxGridBagSizer.erl @@ -90,6 +90,16 @@ add(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ItemT,ref=ItemRef}) -> <>). %% @doc See external documentation. +%%
Also:
+%% add(This, Window, Pos) -> wxSizerItem:wxSizerItem() when
+%% This::wxGridBagSizer(), Window::wxWindow:wxWindow() | wxSizer:wxSizer(), Pos::{R::integer(), C::integer()};
+%% (This, Window, [Option]) -> wxSizerItem:wxSizerItem() when
+%% This::wxGridBagSizer(), Window::wxWindow:wxWindow() | wxSizer:wxSizer(),
+%% Option :: {proportion, integer()}
+%% | {flag, integer()}
+%% | {border, integer()}
+%% | {userData, wx:wx()}.
+%% -spec add(This, Width, Height) -> wxSizerItem:wxSizerItem() when This::wxGridBagSizer(), Width::integer(), Height::integer(); (This, Window, Pos) -> wxSizerItem:wxSizerItem() when @@ -127,6 +137,20 @@ add(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRef}, Options <>). %% @doc See external documentation. +%%
Also:
+%% add(This, Width, Height, [Option]) -> wxSizerItem:wxSizerItem() when
+%% This::wxGridBagSizer(), Width::integer(), Height::integer(),
+%% Option :: {proportion, integer()}
+%% | {flag, integer()}
+%% | {border, integer()}
+%% | {userData, wx:wx()};
+%% (This, Window, Pos, [Option]) -> wxSizerItem:wxSizerItem() when
+%% This::wxGridBagSizer(), Window::wxWindow:wxWindow() | wxSizer:wxSizer(), Pos::{R::integer(), C::integer()},
+%% Option :: {span, {RS::integer(), CS::integer()}}
+%% | {flag, integer()}
+%% | {border, integer()}
+%% | {userData, wx:wx()}.
+%% -spec add(This, Width, Height, Pos) -> wxSizerItem:wxSizerItem() when This::wxGridBagSizer(), Width::integer(), Height::integer(), Pos::{R::integer(), C::integer()}; (This, Width, Height, [Option]) -> wxSizerItem:wxSizerItem() when @@ -210,6 +234,11 @@ checkForIntersection(This,Item) checkForIntersection(This,Item, []). %% @doc See external documentation. +%%
Also:
+%% checkForIntersection(This, Item, [Option]) -> boolean() when
+%% This::wxGridBagSizer(), Item::wxGBSizerItem:wxGBSizerItem(),
+%% Option :: {excludeItem, wxGBSizerItem:wxGBSizerItem()}.
+%% -spec checkForIntersection(This, Pos, Span) -> boolean() when This::wxGridBagSizer(), Pos::{R::integer(), C::integer()}, Span::{RS::integer(), CS::integer()}; (This, Item, [Option]) -> boolean() when @@ -301,6 +330,10 @@ getEmptyCellSize(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. +%%
Also:
+%% getItemPosition(This, Window) -> {R::integer(), C::integer()} when
+%% This::wxGridBagSizer(), Window::wxWindow:wxWindow() | wxSizer:wxSizer().
+%% -spec getItemPosition(This, Index) -> {R::integer(), C::integer()} when This::wxGridBagSizer(), Index::integer(); (This, Window) -> {R::integer(), C::integer()} when @@ -322,6 +355,10 @@ getItemPosition(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowR <>). %% @doc See external documentation. +%%
Also:
+%% getItemSpan(This, Window) -> {RS::integer(), CS::integer()} when
+%% This::wxGridBagSizer(), Window::wxWindow:wxWindow() | wxSizer:wxSizer().
+%% -spec getItemSpan(This, Index) -> {RS::integer(), CS::integer()} when This::wxGridBagSizer(), Index::integer(); (This, Window) -> {RS::integer(), CS::integer()} when @@ -352,6 +389,10 @@ setEmptyCellSize(#wx_ref{type=ThisT,ref=ThisRef},{SzW,SzH}) <>). %% @doc See external documentation. +%%
Also:
+%% setItemPosition(This, Window, Pos) -> boolean() when
+%% This::wxGridBagSizer(), Window::wxWindow:wxWindow() | wxSizer:wxSizer(), Pos::{R::integer(), C::integer()}.
+%% -spec setItemPosition(This, Index, Pos) -> boolean() when This::wxGridBagSizer(), Index::integer(), Pos::{R::integer(), C::integer()}; (This, Window, Pos) -> boolean() when @@ -374,6 +415,10 @@ setItemPosition(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowR <>). %% @doc See external documentation. +%%
Also:
+%% setItemSpan(This, Window, Span) -> boolean() when
+%% This::wxGridBagSizer(), Window::wxWindow:wxWindow() | wxSizer:wxSizer(), Span::{RS::integer(), CS::integer()}.
+%% -spec setItemSpan(This, Index, Span) -> boolean() when This::wxGridBagSizer(), Index::integer(), Span::{RS::integer(), CS::integer()}; (This, Window, Span) -> boolean() when diff --git a/lib/wx/src/gen/wxIcon.erl b/lib/wx/src/gen/wxIcon.erl index ac202130b3..c726f2ed4c 100644 --- a/lib/wx/src/gen/wxIcon.erl +++ b/lib/wx/src/gen/wxIcon.erl @@ -48,6 +48,11 @@ new() -> <<>>). %% @doc See external documentation. +%%
Also:
+%% new(Loc) -> wxIcon() when
+%% Loc::wx:wx().
+%% +%%
Type = ?wxBITMAP_TYPE_INVALID | ?wxBITMAP_TYPE_BMP | ?wxBITMAP_TYPE_BMP_RESOURCE | ?wxBITMAP_TYPE_RESOURCE | ?wxBITMAP_TYPE_ICO | ?wxBITMAP_TYPE_ICO_RESOURCE | ?wxBITMAP_TYPE_CUR | ?wxBITMAP_TYPE_CUR_RESOURCE | ?wxBITMAP_TYPE_XBM | ?wxBITMAP_TYPE_XBM_DATA | ?wxBITMAP_TYPE_XPM | ?wxBITMAP_TYPE_XPM_DATA | ?wxBITMAP_TYPE_TIF | ?wxBITMAP_TYPE_TIF_RESOURCE | ?wxBITMAP_TYPE_GIF | ?wxBITMAP_TYPE_GIF_RESOURCE | ?wxBITMAP_TYPE_PNG | ?wxBITMAP_TYPE_PNG_RESOURCE | ?wxBITMAP_TYPE_JPEG | ?wxBITMAP_TYPE_JPEG_RESOURCE | ?wxBITMAP_TYPE_PNM | ?wxBITMAP_TYPE_PNM_RESOURCE | ?wxBITMAP_TYPE_PCX | ?wxBITMAP_TYPE_PCX_RESOURCE | ?wxBITMAP_TYPE_PICT | ?wxBITMAP_TYPE_PICT_RESOURCE | ?wxBITMAP_TYPE_ICON | ?wxBITMAP_TYPE_ICON_RESOURCE | ?wxBITMAP_TYPE_ANI | ?wxBITMAP_TYPE_IFF | ?wxBITMAP_TYPE_TGA | ?wxBITMAP_TYPE_MACCURSOR | ?wxBITMAP_TYPE_MACCURSOR_RESOURCE | ?wxBITMAP_TYPE_ANY -spec new(Filename) -> wxIcon() when Filename::unicode:chardata(); (Loc) -> wxIcon() when diff --git a/lib/wx/src/gen/wxIconBundle.erl b/lib/wx/src/gen/wxIconBundle.erl index 113511f3ee..5e8bb7cc74 100644 --- a/lib/wx/src/gen/wxIconBundle.erl +++ b/lib/wx/src/gen/wxIconBundle.erl @@ -90,6 +90,10 @@ getIcon(This) getIcon(This, []). %% @doc See external documentation. +%%
Also:
+%% getIcon(This, Size) -> wxIcon:wxIcon() when
+%% This::wxIconBundle(), Size::{W::integer(), H::integer()}.
+%% -spec getIcon(This, [Option]) -> wxIcon:wxIcon() when This::wxIconBundle(), Option :: {size, integer()}; diff --git a/lib/wx/src/gen/wxImage.erl b/lib/wx/src/gen/wxImage.erl index 535133e665..c21b5d4789 100644 --- a/lib/wx/src/gen/wxImage.erl +++ b/lib/wx/src/gen/wxImage.erl @@ -67,6 +67,12 @@ new(Name) new(Name, []). %% @doc See external documentation. +%%
Also:
+%% new(Name, [Option]) -> wxImage() when
+%% Name::unicode:chardata(),
+%% Option :: {type, integer()}
+%% | {index, integer()}.
+%% -spec new(Width, Height) -> wxImage() when Width::integer(), Height::integer(); (Name, [Option]) -> wxImage() when @@ -88,6 +94,14 @@ new(Name, Options) <<(byte_size(Name_UC)):32/?UI,(Name_UC)/binary, 0:(((8- ((4+byte_size(Name_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>). %% @doc See external documentation. +%%
Also:
+%% new(Width, Height, [Option]) -> wxImage() when
+%% Width::integer(), Height::integer(),
+%% Option :: {clear, boolean()};
+%% (Name, Mimetype, [Option]) -> wxImage() when
+%% Name::unicode:chardata(), Mimetype::unicode:chardata(),
+%% Option :: {index, integer()}.
+%% -spec new(Width, Height, Data) -> wxImage() when Width::integer(), Height::integer(), Data::binary(); (Width, Height, [Option]) -> wxImage() when @@ -118,6 +132,11 @@ new(Name,Mimetype, Options) <<(byte_size(Name_UC)):32/?UI,(Name_UC)/binary, 0:(((8- ((4+byte_size(Name_UC)) band 16#7)) band 16#7))/unit:8,(byte_size(Mimetype_UC)):32/?UI,(Mimetype_UC)/binary, 0:(((8- ((4+byte_size(Mimetype_UC)) band 16#7)) band 16#7))/unit:8, BinOpt/binary>>). %% @doc See external documentation. +%%
Also:
+%% new(Width, Height, Data, [Option]) -> wxImage() when
+%% Width::integer(), Height::integer(), Data::binary(),
+%% Option :: {static_data, boolean()}.
+%% -spec new(Width, Height, Data, Alpha) -> wxImage() when Width::integer(), Height::integer(), Data::binary(), Alpha::binary(); (Width, Height, Data, [Option]) -> wxImage() when @@ -249,6 +268,11 @@ create(This,Width,Height) create(This,Width,Height, []). %% @doc See external documentation. +%%
Also:
+%% create(This, Width, Height, [Option]) -> boolean() when
+%% This::wxImage(), Width::integer(), Height::integer(),
+%% Option :: {clear, boolean()}.
+%% -spec create(This, Width, Height, Data) -> boolean() when This::wxImage(), Width::integer(), Height::integer(), Data::binary(); (This, Width, Height, [Option]) -> boolean() when @@ -268,6 +292,11 @@ create(#wx_ref{type=ThisT,ref=ThisRef},Width,Height, Options) <>). %% @doc See external documentation. +%%
Also:
+%% create(This, Width, Height, Data, [Option]) -> boolean() when
+%% This::wxImage(), Width::integer(), Height::integer(), Data::binary(),
+%% Option :: {static_data, boolean()}.
+%% -spec create(This, Width, Height, Data, Alpha) -> boolean() when This::wxImage(), Width::integer(), Height::integer(), Data::binary(), Alpha::binary(); (This, Width, Height, Data, [Option]) -> boolean() when @@ -759,6 +788,10 @@ saveFile(#wx_ref{type=ThisT,ref=ThisRef},Name) <>). %% @doc See external documentation. +%%
Also:
+%% saveFile(This, Name, Mimetype) -> boolean() when
+%% This::wxImage(), Name::unicode:chardata(), Mimetype::unicode:chardata().
+%% -spec saveFile(This, Name, Type) -> boolean() when This::wxImage(), Name::unicode:chardata(), Type::integer(); (This, Name, Mimetype) -> boolean() when @@ -939,6 +972,10 @@ setMaskFromImage(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=MaskT,ref=MaskRef} <>). %% @doc See external documentation. +%%
Also:
+%% setOption(This, Name, Value) -> ok when
+%% This::wxImage(), Name::unicode:chardata(), Value::unicode:chardata().
+%% -spec setOption(This, Name, Value) -> ok when This::wxImage(), Name::unicode:chardata(), Value::integer(); (This, Name, Value) -> ok when diff --git a/lib/wx/src/gen/wxImageList.erl b/lib/wx/src/gen/wxImageList.erl index e027d31b3d..e9d936d129 100644 --- a/lib/wx/src/gen/wxImageList.erl +++ b/lib/wx/src/gen/wxImageList.erl @@ -74,6 +74,10 @@ add(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BitmapT,ref=BitmapRef}) -> <>). %% @doc See external documentation. +%%
Also:
+%% add(This, Bitmap, MaskColour) -> integer() when
+%% This::wxImageList(), Bitmap::wxBitmap:wxBitmap(), MaskColour::wx:wx_colour().
+%% -spec add(This, Bitmap, Mask) -> integer() when This::wxImageList(), Bitmap::wxBitmap:wxBitmap(), Mask::wxBitmap:wxBitmap(); (This, Bitmap, MaskColour) -> integer() when diff --git a/lib/wx/src/gen/wxListBox.erl b/lib/wx/src/gen/wxListBox.erl index d09f37811d..bcaf5fad3b 100644 --- a/lib/wx/src/gen/wxListBox.erl +++ b/lib/wx/src/gen/wxListBox.erl @@ -203,6 +203,10 @@ hitTest(#wx_ref{type=ThisT,ref=ThisRef},{PointX,PointY}) <>). %% @doc See external documentation. +%%
Also:
+%% setFirstItem(This, S) -> ok when
+%% This::wxListBox(), S::unicode:chardata().
+%% -spec setFirstItem(This, N) -> ok when This::wxListBox(), N::integer(); (This, S) -> ok when diff --git a/lib/wx/src/gen/wxListCtrl.erl b/lib/wx/src/gen/wxListCtrl.erl index 81a547b10f..16e8ae4508 100644 --- a/lib/wx/src/gen/wxListCtrl.erl +++ b/lib/wx/src/gen/wxListCtrl.erl @@ -270,6 +270,10 @@ findItem(This,Start,Str) findItem(This,Start,Str, []). %% @doc See external documentation. +%%
Also:
+%% findItem(This, Start, Pt, Direction) -> integer() when
+%% This::wxListCtrl(), Start::integer(), Pt::{X::integer(), Y::integer()}, Direction::integer().
+%% -spec findItem(This, Start, Str, [Option]) -> integer() when This::wxListCtrl(), Start::integer(), Str::unicode:chardata(), Option :: {partial, boolean()}; @@ -517,6 +521,10 @@ hitTest(#wx_ref{type=ThisT,ref=ThisRef},{PointX,PointY}) <>). %% @doc See external documentation. +%%
Also:
+%% insertColumn(This, Col, Info) -> integer() when
+%% This::wxListCtrl(), Col::integer(), Info::wxListItem:wxListItem().
+%% -spec insertColumn(This, Col, Heading) -> integer() when This::wxListCtrl(), Col::integer(), Heading::unicode:chardata(); (This, Col, Info) -> integer() when @@ -558,6 +566,10 @@ insertItem(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=InfoT,ref=InfoRef}) -> <>). %% @doc See external documentation. +%%
Also:
+%% insertItem(This, Index, Label) -> integer() when
+%% This::wxListCtrl(), Index::integer(), Label::unicode:chardata().
+%% -spec insertItem(This, Index, ImageIndex) -> integer() when This::wxListCtrl(), Index::integer(), ImageIndex::integer(); (This, Index, Label) -> integer() when diff --git a/lib/wx/src/gen/wxMask.erl b/lib/wx/src/gen/wxMask.erl index 5bcd518556..296c7cbc83 100644 --- a/lib/wx/src/gen/wxMask.erl +++ b/lib/wx/src/gen/wxMask.erl @@ -49,6 +49,10 @@ new(#wx_ref{type=BitmapT,ref=BitmapRef}) -> <>). %% @doc See external documentation. +%%
Also:
+%% new(Bitmap, Colour) -> wxMask() when
+%% Bitmap::wxBitmap:wxBitmap(), Colour::wx:wx_colour().
+%% -spec new(Bitmap, PaletteIndex) -> wxMask() when Bitmap::wxBitmap:wxBitmap(), PaletteIndex::integer(); (Bitmap, Colour) -> wxMask() when @@ -74,6 +78,10 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=BitmapT,ref=BitmapRef}) -> <>). %% @doc See external documentation. +%%
Also:
+%% create(This, Bitmap, Colour) -> boolean() when
+%% This::wxMask(), Bitmap::wxBitmap:wxBitmap(), Colour::wx:wx_colour().
+%% -spec create(This, Bitmap, PaletteIndex) -> boolean() when This::wxMask(), Bitmap::wxBitmap:wxBitmap(), PaletteIndex::integer(); (This, Bitmap, Colour) -> boolean() when diff --git a/lib/wx/src/gen/wxMenu.erl b/lib/wx/src/gen/wxMenu.erl index 994855f805..d91863de82 100644 --- a/lib/wx/src/gen/wxMenu.erl +++ b/lib/wx/src/gen/wxMenu.erl @@ -94,6 +94,13 @@ append(This,Itemid,Text) append(This,Itemid,Text, []). %% @doc See external documentation. +%%
Also:
+%% append(This, Itemid, Text, [Option]) -> wxMenuItem:wxMenuItem() when
+%% This::wxMenu(), Itemid::integer(), Text::unicode:chardata(),
+%% Option :: {help, unicode:chardata()}
+%% | {kind, wx:wx_enum()}.
+%% +%%
Kind = ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX -spec append(This, Itemid, Text, Submenu) -> wxMenuItem:wxMenuItem() when This::wxMenu(), Itemid::integer(), Text::unicode:chardata(), Submenu::wxMenu(); (This, Itemid, Text, [Option]) -> wxMenuItem:wxMenuItem() when @@ -116,6 +123,11 @@ append(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Text, Options) <>). %% @doc See external documentation. +%%
Also:
+%% append(This, Itemid, Text, Submenu, [Option]) -> wxMenuItem:wxMenuItem() when
+%% This::wxMenu(), Itemid::integer(), Text::unicode:chardata(), Submenu::wxMenu(),
+%% Option :: {help, unicode:chardata()}.
+%% -spec append(This, Itemid, Text, Help, IsCheckable) -> ok when This::wxMenu(), Itemid::integer(), Text::unicode:chardata(), Help::unicode:chardata(), IsCheckable::boolean(); (This, Itemid, Text, Submenu, [Option]) -> wxMenuItem:wxMenuItem() when @@ -209,6 +221,10 @@ check(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Check) <>). %% @doc See external documentation. +%%
Also:
+%% delete(This, Item) -> boolean() when
+%% This::wxMenu(), Item::wxMenuItem:wxMenuItem().
+%% -spec delete(This, Itemid) -> boolean() when This::wxMenu(), Itemid::integer(); (This, Item) -> boolean() when @@ -225,6 +241,10 @@ delete(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ItemT,ref=ItemRef}) -> <>). %% @doc See external documentation. +%%
Also:
+%% 'Destroy'(This, Item) -> boolean() when
+%% This::wxMenu(), Item::wxMenuItem:wxMenuItem().
+%% -spec 'Destroy'(This, Itemid) -> boolean() when This::wxMenu(), Itemid::integer(); (This, Item) -> boolean() when @@ -250,6 +270,10 @@ enable(#wx_ref{type=ThisT,ref=ThisRef},Itemid,Enable) <>). %% @doc See external documentation. +%%
Also:
+%% findItem(This, Item) -> integer() when
+%% This::wxMenu(), Item::unicode:chardata().
+%% -spec findItem(This, Itemid) -> wxMenuItem:wxMenuItem() when This::wxMenu(), Itemid::integer(); (This, Item) -> integer() when @@ -318,6 +342,11 @@ getTitle(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. +%%
Also:
+%% insert(This, Pos, Item) -> wxMenuItem:wxMenuItem() when
+%% This::wxMenu(), Pos::integer(), Item::wxMenuItem:wxMenuItem().
+%% +%%
Kind = ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX -spec insert(This, Pos, Itemid) -> wxMenuItem:wxMenuItem() when This::wxMenu(), Pos::integer(), Itemid::integer(); (This, Pos, Item) -> wxMenuItem:wxMenuItem() when @@ -360,6 +389,11 @@ insert(This,Pos,Itemid,Text,Submenu) insert(This,Pos,Itemid,Text,Submenu, []). %% @doc See external documentation. +%%
Also:
+%% insert(This, Pos, Itemid, Text, Submenu, [Option]) -> wxMenuItem:wxMenuItem() when
+%% This::wxMenu(), Pos::integer(), Itemid::integer(), Text::unicode:chardata(), Submenu::wxMenu(),
+%% Option :: {help, unicode:chardata()}.
+%% -spec insert(This, Pos, Itemid, Text, Help, IsCheckable) -> ok when This::wxMenu(), Pos::integer(), Itemid::integer(), Text::unicode:chardata(), Help::unicode:chardata(), IsCheckable::boolean(); (This, Pos, Itemid, Text, Submenu, [Option]) -> wxMenuItem:wxMenuItem() when @@ -455,6 +489,11 @@ isEnabled(#wx_ref{type=ThisT,ref=ThisRef},Itemid) <>). %% @doc See external documentation. +%%
Also:
+%% prepend(This, Item) -> wxMenuItem:wxMenuItem() when
+%% This::wxMenu(), Item::wxMenuItem:wxMenuItem().
+%% +%%
Kind = ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX -spec prepend(This, Itemid) -> wxMenuItem:wxMenuItem() when This::wxMenu(), Itemid::integer(); (This, Item) -> wxMenuItem:wxMenuItem() when @@ -496,6 +535,11 @@ prepend(This,Itemid,Text,Submenu) prepend(This,Itemid,Text,Submenu, []). %% @doc See external documentation. +%%
Also:
+%% prepend(This, Itemid, Text, Submenu, [Option]) -> wxMenuItem:wxMenuItem() when
+%% This::wxMenu(), Itemid::integer(), Text::unicode:chardata(), Submenu::wxMenu(),
+%% Option :: {help, unicode:chardata()}.
+%% -spec prepend(This, Itemid, Text, Help, IsCheckable) -> ok when This::wxMenu(), Itemid::integer(), Text::unicode:chardata(), Help::unicode:chardata(), IsCheckable::boolean(); (This, Itemid, Text, Submenu, [Option]) -> wxMenuItem:wxMenuItem() when @@ -572,6 +616,10 @@ prependSeparator(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. +%%
Also:
+%% remove(This, Item) -> wxMenuItem:wxMenuItem() when
+%% This::wxMenu(), Item::wxMenuItem:wxMenuItem().
+%% -spec remove(This, Itemid) -> wxMenuItem:wxMenuItem() when This::wxMenu(), Itemid::integer(); (This, Item) -> wxMenuItem:wxMenuItem() when diff --git a/lib/wx/src/gen/wxPageSetupDialogData.erl b/lib/wx/src/gen/wxPageSetupDialogData.erl index 605e26c5d5..7c453a9872 100644 --- a/lib/wx/src/gen/wxPageSetupDialogData.erl +++ b/lib/wx/src/gen/wxPageSetupDialogData.erl @@ -289,6 +289,10 @@ setPaperId(#wx_ref{type=ThisT,ref=ThisRef},Id) <>). %% @doc See external documentation. +%%
Also:
+%% setPaperSize(This, Sz) -> ok when
+%% This::wxPageSetupDialogData(), Sz::{W::integer(), H::integer()}.
+%% -spec setPaperSize(This, Id) -> ok when This::wxPageSetupDialogData(), Id::integer(); (This, Sz) -> ok when diff --git a/lib/wx/src/gen/wxPrintDialog.erl b/lib/wx/src/gen/wxPrintDialog.erl index 1316ee2feb..34c8310e12 100644 --- a/lib/wx/src/gen/wxPrintDialog.erl +++ b/lib/wx/src/gen/wxPrintDialog.erl @@ -95,6 +95,10 @@ new(Parent) new(Parent, []). %% @doc See external documentation. +%%
Also:
+%% new(Parent, Data) -> wxPrintDialog() when
+%% Parent::wxWindow:wxWindow(), Data::wxPrintData:wxPrintData().
+%% -spec new(Parent, [Option]) -> wxPrintDialog() when Parent::wxWindow:wxWindow(), Option :: {data, wxPrintDialogData:wxPrintDialogData()}; diff --git a/lib/wx/src/gen/wxRadioBox.erl b/lib/wx/src/gen/wxRadioBox.erl index d70a554267..1b3717de23 100644 --- a/lib/wx/src/gen/wxRadioBox.erl +++ b/lib/wx/src/gen/wxRadioBox.erl @@ -146,6 +146,11 @@ enable(This) enable(This, []). %% @doc See external documentation. +%%
Also:
+%% enable(This, [Option]) -> boolean() when
+%% This::wxRadioBox(),
+%% Option :: {enable, boolean()}.
+%% -spec enable(This, N) -> boolean() when This::wxRadioBox(), N::integer(); (This, [Option]) -> boolean() when @@ -212,6 +217,11 @@ show(This) show(This, []). %% @doc See external documentation. +%%
Also:
+%% show(This, [Option]) -> boolean() when
+%% This::wxRadioBox(),
+%% Option :: {show, boolean()}.
+%% -spec show(This, N) -> boolean() when This::wxRadioBox(), N::integer(); (This, [Option]) -> boolean() when diff --git a/lib/wx/src/gen/wxRegion.erl b/lib/wx/src/gen/wxRegion.erl index 3397cc7e81..3e23623741 100644 --- a/lib/wx/src/gen/wxRegion.erl +++ b/lib/wx/src/gen/wxRegion.erl @@ -44,6 +44,10 @@ new() -> <<>>). %% @doc See external documentation. +%%
Also:
+%% new(Rect) -> wxRegion() when
+%% Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}.
+%% -spec new(Bmp) -> wxRegion() when Bmp::wxBitmap:wxBitmap(); (Rect) -> wxRegion() when @@ -82,6 +86,10 @@ clear(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. +%%
Also:
+%% contains(This, Rect) -> wx:wx_enum() when
+%% This::wxRegion(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}.
+%% %%
Res = ?wxOutRegion | ?wxPartRegion | ?wxInRegion -spec contains(This, Pt) -> wx:wx_enum() when This::wxRegion(), Pt::{X::integer(), Y::integer()}; @@ -135,6 +143,10 @@ getBox(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. +%%
Also:
+%% intersect(This, Rect) -> boolean() when
+%% This::wxRegion(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}.
+%% -spec intersect(This, Region) -> boolean() when This::wxRegion(), Region::wxRegion(); (This, Rect) -> boolean() when @@ -168,6 +180,10 @@ isEmpty(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. +%%
Also:
+%% subtract(This, Rect) -> boolean() when
+%% This::wxRegion(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}.
+%% -spec subtract(This, Region) -> boolean() when This::wxRegion(), Region::wxRegion(); (This, Rect) -> boolean() when @@ -211,6 +227,10 @@ offset(#wx_ref{type=ThisT,ref=ThisRef},X,Y) <>). %% @doc See external documentation. +%%
Also:
+%% union(This, Rect) -> boolean() when
+%% This::wxRegion(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}.
+%% -spec union(This, Region) -> boolean() when This::wxRegion(), Region::wxRegion() | wxBitmap:wxBitmap(); (This, Rect) -> boolean() when @@ -263,6 +283,10 @@ union(#wx_ref{type=ThisT,ref=ThisRef},X,Y,W,H) <>). %% @doc See external documentation. +%%
Also:
+%% 'Xor'(This, Rect) -> boolean() when
+%% This::wxRegion(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}.
+%% -spec 'Xor'(This, Region) -> boolean() when This::wxRegion(), Region::wxRegion(); (This, Rect) -> boolean() when diff --git a/lib/wx/src/gen/wxSizer.erl b/lib/wx/src/gen/wxSizer.erl index 999724d38f..104e1bcdc9 100644 --- a/lib/wx/src/gen/wxSizer.erl +++ b/lib/wx/src/gen/wxSizer.erl @@ -50,6 +50,16 @@ add(This,Window) add(This,Window, []). %% @doc See external documentation. +%%
Also:
+%% add(This, Window, [Option]) -> wxSizerItem:wxSizerItem() when
+%% This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(),
+%% Option :: {proportion, integer()}
+%% | {flag, integer()}
+%% | {border, integer()}
+%% | {userData, wx:wx()};
+%% (This, Window, Flags) -> wxSizerItem:wxSizerItem() when
+%% This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(), Flags::wxSizerFlags:wxSizerFlags().
+%% -spec add(This, Width, Height) -> wxSizerItem:wxSizerItem() when This::wxSizer(), Width::integer(), Height::integer(); (This, Window, [Option]) -> wxSizerItem:wxSizerItem() when @@ -173,6 +183,10 @@ clear(#wx_ref{type=ThisT,ref=ThisRef}, Options) <>). %% @doc See external documentation. +%%
Also:
+%% detach(This, Window) -> boolean() when
+%% This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer().
+%% -spec detach(This, Index) -> boolean() when This::wxSizer(), Index::integer(); (This, Window) -> boolean() when @@ -220,6 +234,10 @@ getChildren(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. +%%
Also:
+%% getItem(This, Index) -> wxSizerItem:wxSizerItem() when
+%% This::wxSizer(), Index::integer().
+%% -spec getItem(This, Window) -> wxSizerItem:wxSizerItem() when This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(); (This, Index) -> wxSizerItem:wxSizerItem() when @@ -278,6 +296,10 @@ getMinSize(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. +%%
Also:
+%% hide(This, Index) -> boolean() when
+%% This::wxSizer(), Index::integer().
+%% -spec hide(This, Window) -> boolean() when This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(); (This, Index) -> boolean() when @@ -322,6 +344,16 @@ insert(#wx_ref{type=ThisT,ref=ThisRef},Index,#wx_ref{type=ItemT,ref=ItemRef}) <>). %% @doc See external documentation. +%%
Also:
+%% insert(This, Index, Window, [Option]) -> wxSizerItem:wxSizerItem() when
+%% This::wxSizer(), Index::integer(), Window::wxWindow:wxWindow() | wxSizer(),
+%% Option :: {proportion, integer()}
+%% | {flag, integer()}
+%% | {border, integer()}
+%% | {userData, wx:wx()};
+%% (This, Index, Window, Flags) -> wxSizerItem:wxSizerItem() when
+%% This::wxSizer(), Index::integer(), Window::wxWindow:wxWindow() | wxSizer(), Flags::wxSizerFlags:wxSizerFlags().
+%% -spec insert(This, Index, Width, Height) -> wxSizerItem:wxSizerItem() when This::wxSizer(), Index::integer(), Width::integer(), Height::integer(); (This, Index, Window, [Option]) -> wxSizerItem:wxSizerItem() when @@ -417,6 +449,10 @@ insertStretchSpacer(#wx_ref{type=ThisT,ref=ThisRef},Index, Options) <>). %% @doc See external documentation. +%%
Also:
+%% isShown(This, Window) -> boolean() when
+%% This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer().
+%% -spec isShown(This, Index) -> boolean() when This::wxSizer(), Index::integer(); (This, Window) -> boolean() when @@ -455,6 +491,16 @@ prepend(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ItemT,ref=ItemRef}) -> <>). %% @doc See external documentation. +%%
Also:
+%% prepend(This, Window, [Option]) -> wxSizerItem:wxSizerItem() when
+%% This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(),
+%% Option :: {proportion, integer()}
+%% | {flag, integer()}
+%% | {border, integer()}
+%% | {userData, wx:wx()};
+%% (This, Window, Flags) -> wxSizerItem:wxSizerItem() when
+%% This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(), Flags::wxSizerFlags:wxSizerFlags().
+%% -spec prepend(This, Width, Height) -> wxSizerItem:wxSizerItem() when This::wxSizer(), Width::integer(), Height::integer(); (This, Window, [Option]) -> wxSizerItem:wxSizerItem() when @@ -557,6 +603,10 @@ recalcSizes(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. +%%
Also:
+%% remove(This, Sizer) -> boolean() when
+%% This::wxSizer(), Sizer::wxSizer().
+%% -spec remove(This, Index) -> boolean() when This::wxSizer(), Index::integer(); (This, Sizer) -> boolean() when @@ -573,6 +623,10 @@ remove(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=SizerT,ref=SizerRef}) -> <>). %% @doc See external documentation. +%%
Also:
+%% replace(This, Index, Newitem) -> boolean() when
+%% This::wxSizer(), Index::integer(), Newitem::wxSizerItem:wxSizerItem().
+%% -spec replace(This, Oldwin, Newwin) -> boolean() when This::wxSizer(), Oldwin::wxWindow:wxWindow() | wxSizer(), Newwin::wxWindow:wxWindow() | wxSizer(); (This, Index, Newitem) -> boolean() when @@ -637,6 +691,10 @@ setMinSize(#wx_ref{type=ThisT,ref=ThisRef},Width,Height) <>). %% @doc See external documentation. +%%
Also:
+%% setItemMinSize(This, Window, Size) -> boolean() when
+%% This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(), Size::{W::integer(), H::integer()}.
+%% -spec setItemMinSize(This, Index, Size) -> boolean() when This::wxSizer(), Index::integer(), Size::{W::integer(), H::integer()}; (This, Window, Size) -> boolean() when @@ -659,6 +717,10 @@ setItemMinSize(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=WindowRe <>). %% @doc See external documentation. +%%
Also:
+%% setItemMinSize(This, Window, Width, Height) -> boolean() when
+%% This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(), Width::integer(), Height::integer().
+%% -spec setItemMinSize(This, Index, Width, Height) -> boolean() when This::wxSizer(), Index::integer(), Width::integer(), Height::integer(); (This, Window, Width, Height) -> boolean() when @@ -699,6 +761,12 @@ setVirtualSizeHints(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=WindowT,ref=Win <>). %% @doc See external documentation. +%%
Also:
+%% show(This, Window) -> boolean() when
+%% This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer();
+%% (This, Show) -> ok when
+%% This::wxSizer(), Show::boolean().
+%% -spec show(This, Index) -> boolean() when This::wxSizer(), Index::integer(); (This, Window) -> boolean() when @@ -720,6 +788,12 @@ show(#wx_ref{type=ThisT,ref=ThisRef},Show) <>). %% @doc See external documentation. +%%
Also:
+%% show(This, Window, [Option]) -> boolean() when
+%% This::wxSizer(), Window::wxWindow:wxWindow() | wxSizer(),
+%% Option :: {show, boolean()}
+%% | {recursive, boolean()}.
+%% -spec show(This, Index, [Option]) -> boolean() when This::wxSizer(), Index::integer(), Option :: {show, boolean()}; diff --git a/lib/wx/src/gen/wxSizerItem.erl b/lib/wx/src/gen/wxSizerItem.erl index 7a0ce1e508..22533500da 100644 --- a/lib/wx/src/gen/wxSizerItem.erl +++ b/lib/wx/src/gen/wxSizerItem.erl @@ -311,6 +311,10 @@ setProportion(#wx_ref{type=ThisT,ref=ThisRef},Proportion) <>). %% @doc See external documentation. +%%
Also:
+%% setRatio(This, Size) -> ok when
+%% This::wxSizerItem(), Size::{W::integer(), H::integer()}.
+%% -spec setRatio(This, Ratio) -> ok when This::wxSizerItem(), Ratio::number(); (This, Size) -> ok when diff --git a/lib/wx/src/gen/wxSpinCtrl.erl b/lib/wx/src/gen/wxSpinCtrl.erl index 17d7e49a8d..82e49da46d 100644 --- a/lib/wx/src/gen/wxSpinCtrl.erl +++ b/lib/wx/src/gen/wxSpinCtrl.erl @@ -156,6 +156,10 @@ create(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=ParentT,ref=ParentRef}, Opti <>). %% @doc See external documentation. +%%
Also:
+%% setValue(This, Text) -> ok when
+%% This::wxSpinCtrl(), Text::unicode:chardata().
+%% -spec setValue(This, Value) -> ok when This::wxSpinCtrl(), Value::integer(); (This, Text) -> ok when diff --git a/lib/wx/src/gen/wxStaticBoxSizer.erl b/lib/wx/src/gen/wxStaticBoxSizer.erl index 32e6250502..fc8afc1146 100644 --- a/lib/wx/src/gen/wxStaticBoxSizer.erl +++ b/lib/wx/src/gen/wxStaticBoxSizer.erl @@ -49,6 +49,10 @@ parent_class(_Class) -> erlang:error({badtype, ?MODULE}). -type wxStaticBoxSizer() :: wx:wx_object(). %% @doc See external documentation. +%%
Also:
+%% new(Box, Orient) -> wxStaticBoxSizer() when
+%% Box::wxStaticBox:wxStaticBox(), Orient::integer().
+%% -spec new(Orient, Win) -> wxStaticBoxSizer() when Orient::integer(), Win::wxWindow:wxWindow(); (Box, Orient) -> wxStaticBoxSizer() when diff --git a/lib/wx/src/gen/wxStyledTextCtrl.erl b/lib/wx/src/gen/wxStyledTextCtrl.erl index 0271548cad..586a2852e2 100644 --- a/lib/wx/src/gen/wxStyledTextCtrl.erl +++ b/lib/wx/src/gen/wxStyledTextCtrl.erl @@ -3967,8 +3967,8 @@ loadFile(#wx_ref{type=ThisT,ref=ThisRef},Filename) <>). %% @doc See external documentation. -%%
Res = ?wxDragError | ?wxDragNone | ?wxDragCopy | ?wxDragMove | ?wxDragLink | ?wxDragCancel %%
Def = ?wxDragError | ?wxDragNone | ?wxDragCopy | ?wxDragMove | ?wxDragLink | ?wxDragCancel +%%
Res = ?wxDragError | ?wxDragNone | ?wxDragCopy | ?wxDragMove | ?wxDragLink | ?wxDragCancel -spec doDragOver(This, X, Y, Def) -> wx:wx_enum() when This::wxStyledTextCtrl(), X::integer(), Y::integer(), Def::wx:wx_enum(). doDragOver(#wx_ref{type=ThisT,ref=ThisRef},X,Y,Def) diff --git a/lib/wx/src/gen/wxSystemOptions.erl b/lib/wx/src/gen/wxSystemOptions.erl index 69ef70b2ef..757eb698a2 100644 --- a/lib/wx/src/gen/wxSystemOptions.erl +++ b/lib/wx/src/gen/wxSystemOptions.erl @@ -71,6 +71,10 @@ isFalse(Name) <<(byte_size(Name_UC)):32/?UI,(Name_UC)/binary, 0:(((8- ((4+byte_size(Name_UC)) band 16#7)) band 16#7))/unit:8>>). %% @doc See external documentation. +%%
Also:
+%% setOption(Name, Value) -> ok when
+%% Name::unicode:chardata(), Value::unicode:chardata().
+%% -spec setOption(Name, Value) -> ok when Name::unicode:chardata(), Value::integer(); (Name, Value) -> ok when diff --git a/lib/wx/src/gen/wxToolBar.erl b/lib/wx/src/gen/wxToolBar.erl index dd03df5d18..e55becb748 100644 --- a/lib/wx/src/gen/wxToolBar.erl +++ b/lib/wx/src/gen/wxToolBar.erl @@ -120,6 +120,15 @@ addTool(This,Toolid,Bitmap) addTool(This,Toolid,Bitmap, []). %% @doc See external documentation. +%%
Also:
+%% addTool(This, Toolid, Bitmap, BmpDisabled) -> wx:wx() when
+%% This::wxToolBar(), Toolid::integer(), Bitmap::wxBitmap:wxBitmap(), BmpDisabled::wxBitmap:wxBitmap();
+%% (This, Toolid, Bitmap, [Option]) -> wx:wx() when
+%% This::wxToolBar(), Toolid::integer(), Bitmap::wxBitmap:wxBitmap(),
+%% Option :: {shortHelpString, unicode:chardata()}
+%% | {longHelpString, unicode:chardata()}.
+%% +%%
Kind = ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX -spec addTool(This, Toolid, Label, Bitmap) -> wx:wx() when This::wxToolBar(), Toolid::integer(), Label::unicode:chardata(), Bitmap::wxBitmap:wxBitmap(); (This, Toolid, Bitmap, BmpDisabled) -> wx:wx() when @@ -148,6 +157,19 @@ addTool(#wx_ref{type=ThisT,ref=ThisRef},Toolid,#wx_ref{type=BitmapT,ref=BitmapRe <>). %% @doc See external documentation. +%%
Also:
+%% addTool(This, Toolid, Label, Bitmap, [Option]) -> wx:wx() when
+%% This::wxToolBar(), Toolid::integer(), Label::unicode:chardata(), Bitmap::wxBitmap:wxBitmap(),
+%% Option :: {shortHelp, unicode:chardata()}
+%% | {kind, wx:wx_enum()};
+%% (This, Toolid, Bitmap, BmpDisabled, [Option]) -> wx:wx() when
+%% This::wxToolBar(), Toolid::integer(), Bitmap::wxBitmap:wxBitmap(), BmpDisabled::wxBitmap:wxBitmap(),
+%% Option :: {toggle, boolean()}
+%% | {clientData, wx:wx()}
+%% | {shortHelpString, unicode:chardata()}
+%% | {longHelpString, unicode:chardata()}.
+%% +%%
Kind = ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX -spec addTool(This, Toolid, Label, Bitmap, BmpDisabled) -> wx:wx() when This::wxToolBar(), Toolid::integer(), Label::unicode:chardata(), Bitmap::wxBitmap:wxBitmap(), BmpDisabled::wxBitmap:wxBitmap(); (This, Toolid, Label, Bitmap, [Option]) -> wx:wx() when @@ -190,6 +212,15 @@ addTool(#wx_ref{type=ThisT,ref=ThisRef},Toolid,#wx_ref{type=BitmapT,ref=BitmapRe <>). %% @doc See external documentation. +%%
Also:
+%% addTool(This, Toolid, Label, Bitmap, BmpDisabled, [Option]) -> wx:wx() when
+%% This::wxToolBar(), Toolid::integer(), Label::unicode:chardata(), Bitmap::wxBitmap:wxBitmap(), BmpDisabled::wxBitmap:wxBitmap(),
+%% Option :: {kind, wx:wx_enum()}
+%% | {shortHelp, unicode:chardata()}
+%% | {longHelp, unicode:chardata()}
+%% | {data, wx:wx()}.
+%% +%%
Kind = ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX -spec addTool(This, Toolid, Bitmap, BmpDisabled, Toggle, XPos) -> wx:wx() when This::wxToolBar(), Toolid::integer(), Bitmap::wxBitmap:wxBitmap(), BmpDisabled::wxBitmap:wxBitmap(), Toggle::boolean(), XPos::integer(); (This, Toolid, Label, Bitmap, BmpDisabled, [Option]) -> wx:wx() when @@ -473,6 +504,16 @@ insertTool(This,Pos,Toolid,Bitmap) insertTool(This,Pos,Toolid,Bitmap, []). %% @doc See external documentation. +%%
Also:
+%% insertTool(This, Pos, Toolid, Bitmap, [Option]) -> wx:wx() when
+%% This::wxToolBar(), Pos::integer(), Toolid::integer(), Bitmap::wxBitmap:wxBitmap(),
+%% Option :: {bmpDisabled, wxBitmap:wxBitmap()}
+%% | {toggle, boolean()}
+%% | {clientData, wx:wx()}
+%% | {shortHelp, unicode:chardata()}
+%% | {longHelp, unicode:chardata()}.
+%% +%%
Kind = ?wxITEM_SEPARATOR | ?wxITEM_NORMAL | ?wxITEM_CHECK | ?wxITEM_RADIO | ?wxITEM_MAX -spec insertTool(This, Pos, Toolid, Label, Bitmap) -> wx:wx() when This::wxToolBar(), Pos::integer(), Toolid::integer(), Label::unicode:chardata(), Bitmap::wxBitmap:wxBitmap(); (This, Pos, Toolid, Bitmap, [Option]) -> wx:wx() when diff --git a/lib/wx/src/gen/wxWindow.erl b/lib/wx/src/gen/wxWindow.erl index ecae29ea5f..d31f489726 100644 --- a/lib/wx/src/gen/wxWindow.erl +++ b/lib/wx/src/gen/wxWindow.erl @@ -324,6 +324,10 @@ findFocus() -> <<>>). %% @doc See external documentation. +%%
Also:
+%% findWindow(This, Name) -> wxWindow() when
+%% This::wxWindow(), Name::unicode:chardata().
+%% -spec findWindow(This, Winid) -> wxWindow() when This::wxWindow(), Winid::integer(); (This, Name) -> wxWindow() when @@ -839,6 +843,10 @@ isEnabled(#wx_ref{type=ThisT,ref=ThisRef}) -> <>). %% @doc See external documentation. +%%
Also:
+%% isExposed(This, Rect) -> boolean() when
+%% This::wxWindow(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}.
+%% -spec isExposed(This, Pt) -> boolean() when This::wxWindow(), Pt::{X::integer(), Y::integer()}; (This, Rect) -> boolean() when @@ -958,6 +966,11 @@ move(This,Pt={PtX,PtY}) move(This,Pt, []). %% @doc See external documentation. +%%
Also:
+%% move(This, Pt, [Option]) -> ok when
+%% This::wxWindow(), Pt::{X::integer(), Y::integer()},
+%% Option :: {flags, integer()}.
+%% -spec move(This, X, Y) -> ok when This::wxWindow(), X::integer(), Y::integer(); (This, Pt, [Option]) -> ok when @@ -1278,6 +1291,10 @@ setCaret(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=CaretT,ref=CaretRef}) -> <>). %% @doc See external documentation. +%%
Also:
+%% setClientSize(This, Rect) -> ok when
+%% This::wxWindow(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}.
+%% -spec setClientSize(This, Size) -> ok when This::wxWindow(), Size::{W::integer(), H::integer()}; (This, Rect) -> ok when @@ -1508,6 +1525,10 @@ setScrollPos(#wx_ref{type=ThisT,ref=ThisRef},Orient,Pos, Options) <>). %% @doc See external documentation. +%%
Also:
+%% setSize(This, Size) -> ok when
+%% This::wxWindow(), Size::{W::integer(), H::integer()}.
+%% -spec setSize(This, Rect) -> ok when This::wxWindow(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}; (This, Size) -> ok when @@ -1523,6 +1544,11 @@ setSize(#wx_ref{type=ThisT,ref=ThisRef},{SizeW,SizeH}) <>). %% @doc See external documentation. +%%
Also:
+%% setSize(This, Rect, [Option]) -> ok when
+%% This::wxWindow(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()},
+%% Option :: {sizeFlags, integer()}.
+%% -spec setSize(This, Width, Height) -> ok when This::wxWindow(), Width::integer(), Height::integer(); (This, Rect, [Option]) -> ok when @@ -1572,6 +1598,12 @@ setSizeHints(This,MinSize={MinSizeW,MinSizeH}) setSizeHints(This,MinSize, []). %% @doc See external documentation. +%%
Also:
+%% setSizeHints(This, MinSize, [Option]) -> ok when
+%% This::wxWindow(), MinSize::{W::integer(), H::integer()},
+%% Option :: {maxSize, {W::integer(), H::integer()}}
+%% | {incSize, {W::integer(), H::integer()}}.
+%% -spec setSizeHints(This, MinW, MinH) -> ok when This::wxWindow(), MinW::integer(), MinH::integer(); (This, MinSize, [Option]) -> ok when @@ -1665,6 +1697,10 @@ setThemeEnabled(#wx_ref{type=ThisT,ref=ThisRef},EnableTheme) <>). %% @doc See external documentation. +%%
Also:
+%% setToolTip(This, Tip) -> ok when
+%% This::wxWindow(), Tip::wxToolTip:wxToolTip().
+%% -spec setToolTip(This, Tip) -> ok when This::wxWindow(), Tip::unicode:chardata(); (This, Tip) -> ok when @@ -1708,6 +1744,11 @@ setVirtualSizeHints(This,MinSize={MinSizeW,MinSizeH}) setVirtualSizeHints(This,MinSize, []). %% @doc See external documentation. +%%
Also:
+%% setVirtualSizeHints(This, MinSize, [Option]) -> ok when
+%% This::wxWindow(), MinSize::{W::integer(), H::integer()},
+%% Option :: {maxSize, {W::integer(), H::integer()}}.
+%% -spec setVirtualSizeHints(This, MinW, MinH) -> ok when This::wxWindow(), MinW::integer(), MinH::integer(); (This, MinSize, [Option]) -> ok when -- cgit v1.2.3 From e28f2b94964c75eaea74e860a413532ebdcacc4b Mon Sep 17 00:00:00 2001 From: Dan Gudmundsson Date: Fri, 24 Feb 2012 12:25:19 +0100 Subject: [wx] Add wxTaskBarIcon class --- lib/wx/src/gen/wxTaskBarIcon.erl | 102 ++++++++++++++++++++++++++++++++++ lib/wx/src/gen/wxTaskBarIconEvent.erl | 64 +++++++++++++++++++++ lib/wx/src/gen/wxe_debug.hrl | 5 ++ lib/wx/src/gen/wxe_funcs.hrl | 5 ++ 4 files changed, 176 insertions(+) create mode 100644 lib/wx/src/gen/wxTaskBarIcon.erl create mode 100644 lib/wx/src/gen/wxTaskBarIconEvent.erl (limited to 'lib/wx/src/gen') diff --git a/lib/wx/src/gen/wxTaskBarIcon.erl b/lib/wx/src/gen/wxTaskBarIcon.erl new file mode 100644 index 0000000000..5ca2c91b16 --- /dev/null +++ b/lib/wx/src/gen/wxTaskBarIcon.erl @@ -0,0 +1,102 @@ +%% +%% %CopyrightBegin% +%% +%% Copyright Ericsson AB 2008-2012. 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: wxTaskBarIcon. +%%

This class is derived (and can use functions) from: +%%
{@link wxEvtHandler} +%%

+%% @type wxTaskBarIcon(). 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(wxTaskBarIcon). +-include("wxe.hrl"). +-export([destroy/1,new/0,popupMenu/2,removeIcon/1,setIcon/2,setIcon/3]). + +%% inherited exports +-export([connect/2,connect/3,disconnect/1,disconnect/2,disconnect/3,parent_class/1]). + +-export_type([wxTaskBarIcon/0]). +%% @hidden +parent_class(wxEvtHandler) -> true; +parent_class(_Class) -> erlang:error({badtype, ?MODULE}). + +-type wxTaskBarIcon() :: wx:wx_object(). +%% @doc See external documentation. +-spec new() -> wxTaskBarIcon(). +new() -> + wxe_util:construct(?wxTaskBarIcon_new, + <<>>). + +%% @doc See external documentation. +-spec popupMenu(This, Menu) -> boolean() when + This::wxTaskBarIcon(), Menu::wxMenu:wxMenu(). +popupMenu(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=MenuT,ref=MenuRef}) -> + ?CLASS(ThisT,wxTaskBarIcon), + ?CLASS(MenuT,wxMenu), + wxe_util:call(?wxTaskBarIcon_PopupMenu, + <>). + +%% @doc See external documentation. +-spec removeIcon(This) -> boolean() when + This::wxTaskBarIcon(). +removeIcon(#wx_ref{type=ThisT,ref=ThisRef}) -> + ?CLASS(ThisT,wxTaskBarIcon), + wxe_util:call(?wxTaskBarIcon_RemoveIcon, + <>). + +%% @equiv setIcon(This,Icon, []) +-spec setIcon(This, Icon) -> boolean() when + This::wxTaskBarIcon(), Icon::wxIcon:wxIcon(). + +setIcon(This,Icon) + when is_record(This, wx_ref),is_record(Icon, wx_ref) -> + setIcon(This,Icon, []). + +%% @doc See external documentation. +-spec setIcon(This, Icon, [Option]) -> boolean() when + This::wxTaskBarIcon(), Icon::wxIcon:wxIcon(), + Option :: {tooltip, unicode:chardata()}. +setIcon(#wx_ref{type=ThisT,ref=ThisRef},#wx_ref{type=IconT,ref=IconRef}, Options) + when is_list(Options) -> + ?CLASS(ThisT,wxTaskBarIcon), + ?CLASS(IconT,wxIcon), + MOpts = fun({tooltip, Tooltip}, Acc) -> Tooltip_UC = unicode:characters_to_binary([Tooltip,0]),[<<1:32/?UI,(byte_size(Tooltip_UC)):32/?UI,(Tooltip_UC)/binary, 0:(((8- ((0+byte_size(Tooltip_UC)) band 16#7)) band 16#7))/unit:8>>|Acc]; + (BadOpt, _) -> erlang:error({badoption, BadOpt}) end, + BinOpt = list_to_binary(lists:foldl(MOpts, [<<0:32>>], Options)), + wxe_util:call(?wxTaskBarIcon_SetIcon, + <>). + +%% @doc Destroys this object, do not use object again +-spec destroy(This::wxTaskBarIcon()) -> ok. +destroy(Obj=#wx_ref{type=Type}) -> + ?CLASS(Type,wxTaskBarIcon), + wxe_util:destroy(?DESTROY_OBJECT,Obj), + ok. + %% From wxEvtHandler +%% @hidden +disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options). +%% @hidden +disconnect(This,EventType) -> wxEvtHandler:disconnect(This,EventType). +%% @hidden +disconnect(This) -> wxEvtHandler:disconnect(This). +%% @hidden +connect(This,EventType, Options) -> wxEvtHandler:connect(This,EventType, Options). +%% @hidden +connect(This,EventType) -> wxEvtHandler:connect(This,EventType). diff --git a/lib/wx/src/gen/wxTaskBarIconEvent.erl b/lib/wx/src/gen/wxTaskBarIconEvent.erl new file mode 100644 index 0000000000..9f2af608c5 --- /dev/null +++ b/lib/wx/src/gen/wxTaskBarIconEvent.erl @@ -0,0 +1,64 @@ +%% +%% %CopyrightBegin% +%% +%% Copyright Ericsson AB 2008-2012. 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: wxTaskBarIconEvent. +%%
Use {@link wxEvtHandler:connect/3.} with EventType:
+%%
taskbar_move, taskbar_left_down, taskbar_left_up, taskbar_right_down, taskbar_right_up, taskbar_left_dclick, taskbar_right_dclick
+%% See also the message variant {@link wxEvtHandler:wxTaskBarIcon(). #wxTaskBarIcon{}} event record type. +%% +%%

This class is derived (and can use functions) from: +%%
{@link wxEvent} +%%

+%% @type wxTaskBarIconEvent(). 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(wxTaskBarIconEvent). +-include("wxe.hrl"). +-export([]). + +%% inherited exports +-export([getId/1,getSkipped/1,getTimestamp/1,isCommandEvent/1,parent_class/1, + resumePropagation/2,shouldPropagate/1,skip/1,skip/2,stopPropagation/1]). + +-export_type([wxTaskBarIconEvent/0]). +%% @hidden +parent_class(wxEvent) -> true; +parent_class(_Class) -> erlang:error({badtype, ?MODULE}). + +-type wxTaskBarIconEvent() :: wx:wx_object(). + %% From wxEvent +%% @hidden +stopPropagation(This) -> wxEvent:stopPropagation(This). +%% @hidden +skip(This, Options) -> wxEvent:skip(This, Options). +%% @hidden +skip(This) -> wxEvent:skip(This). +%% @hidden +shouldPropagate(This) -> wxEvent:shouldPropagate(This). +%% @hidden +resumePropagation(This,PropagationLevel) -> wxEvent:resumePropagation(This,PropagationLevel). +%% @hidden +isCommandEvent(This) -> wxEvent:isCommandEvent(This). +%% @hidden +getTimestamp(This) -> wxEvent:getTimestamp(This). +%% @hidden +getSkipped(This) -> wxEvent:getSkipped(This). +%% @hidden +getId(This) -> wxEvent:getId(This). diff --git a/lib/wx/src/gen/wxe_debug.hrl b/lib/wx/src/gen/wxe_debug.hrl index 430ac5a5c0..a93d27654f 100644 --- a/lib/wx/src/gen/wxe_debug.hrl +++ b/lib/wx/src/gen/wxe_debug.hrl @@ -3298,6 +3298,11 @@ wxdebug_table() -> {3516, {wxAuiManagerEvent, canVeto, 0}}, {3517, {wxLogNull, new, 0}}, {3518, {wxLogNull, 'Destroy', undefined}}, + {3519, {wxTaskBarIcon, new, 0}}, + {3520, {wxTaskBarIcon, destruct, 0}}, + {3521, {wxTaskBarIcon, popupMenu, 1}}, + {3522, {wxTaskBarIcon, removeIcon, 0}}, + {3523, {wxTaskBarIcon, setIcon, 2}}, {-1, {mod, func, -1}} ]. diff --git a/lib/wx/src/gen/wxe_funcs.hrl b/lib/wx/src/gen/wxe_funcs.hrl index a820c9d50e..d0fea79ff9 100644 --- a/lib/wx/src/gen/wxe_funcs.hrl +++ b/lib/wx/src/gen/wxe_funcs.hrl @@ -3295,3 +3295,8 @@ -define(wxAuiManagerEvent_CanVeto, 3516). -define(wxLogNull_new, 3517). -define(wxLogNull_destroy, 3518). +-define(wxTaskBarIcon_new, 3519). +-define(wxTaskBarIcon_destruct, 3520). +-define(wxTaskBarIcon_PopupMenu, 3521). +-define(wxTaskBarIcon_RemoveIcon, 3522). +-define(wxTaskBarIcon_SetIcon, 3523). -- cgit v1.2.3 From 4b10c0f1b6253a6d3bbf1a04a07ebc9dc83c5c45 Mon Sep 17 00:00:00 2001 From: Dan Gudmundsson Date: Fri, 24 Feb 2012 12:39:42 +0100 Subject: [wx] Add missing stc function wxSTC:SetEdgeMode was missing for some reason. --- lib/wx/src/gen/wxStyledTextCtrl.erl | 25 +- lib/wx/src/gen/wxe_debug.hrl | 499 ++++++++++++++++++------------------ lib/wx/src/gen/wxe_funcs.hrl | 499 ++++++++++++++++++------------------ 3 files changed, 517 insertions(+), 506 deletions(-) (limited to 'lib/wx/src/gen') diff --git a/lib/wx/src/gen/wxStyledTextCtrl.erl b/lib/wx/src/gen/wxStyledTextCtrl.erl index 586a2852e2..057e01ddd5 100644 --- a/lib/wx/src/gen/wxStyledTextCtrl.erl +++ b/lib/wx/src/gen/wxStyledTextCtrl.erl @@ -99,14 +99,14 @@ setCaretForeground/2,setCaretLineBackAlpha/2,setCaretLineBackground/2, setCaretLineVisible/2,setCaretPeriod/2,setCaretSticky/2,setCaretWidth/2, setCharsDefault/1,setCodePage/2,setControlCharSymbol/2,setCurrentPos/2, - setEOLMode/2,setEdgeColour/2,setEdgeColumn/2,setFoldExpanded/3,setFoldFlags/2, - setFoldLevel/3,setFoldMarginColour/3,setFoldMarginHiColour/3,setHScrollBar/2, - setHighlightGuide/2,setHotspotActiveBackground/3,setHotspotActiveForeground/3, - setHotspotActiveUnderline/2,setHotspotSingleLine/2,setIndent/2,setIndentationGuides/2, - setKeyWords/3,setLastKeydownProcessed/2,setLayoutCache/2,setLexer/2, - setLexerLanguage/2,setLineIndentation/3,setLineState/3,setMarginLeft/2, - setMarginMask/3,setMarginRight/2,setMarginSensitive/3,setMarginType/3, - setMarginWidth/3,setMargins/3,setModEventMask/2,setMouseDownCaptures/2, + setEOLMode/2,setEdgeColour/2,setEdgeColumn/2,setEdgeMode/2,setFoldExpanded/3, + setFoldFlags/2,setFoldLevel/3,setFoldMarginColour/3,setFoldMarginHiColour/3, + setHScrollBar/2,setHighlightGuide/2,setHotspotActiveBackground/3, + setHotspotActiveForeground/3,setHotspotActiveUnderline/2,setHotspotSingleLine/2, + setIndent/2,setIndentationGuides/2,setKeyWords/3,setLastKeydownProcessed/2, + setLayoutCache/2,setLexer/2,setLexerLanguage/2,setLineIndentation/3, + setLineState/3,setMarginLeft/2,setMarginMask/3,setMarginRight/2,setMarginSensitive/3, + setMarginType/3,setMarginWidth/3,setMargins/3,setModEventMask/2,setMouseDownCaptures/2, setMouseDwellTime/2,setPasteConvertEndings/2,setPrintColourMode/2, setPrintMagnification/2,setProperty/3,setReadOnly/2,setSTCCursor/2, setSTCFocus/2,setSavePoint/1,setScrollWidth/2,setSearchFlags/2,setSelAlpha/2, @@ -3026,6 +3026,15 @@ setEdgeColumn(#wx_ref{type=ThisT,ref=ThisRef},Column) wxe_util:cast(?wxStyledTextCtrl_SetEdgeColumn, <>). +%% @doc See external documentation. +-spec setEdgeMode(This, Mode) -> ok when + This::wxStyledTextCtrl(), Mode::integer(). +setEdgeMode(#wx_ref{type=ThisT,ref=ThisRef},Mode) + when is_integer(Mode) -> + ?CLASS(ThisT,wxStyledTextCtrl), + wxe_util:cast(?wxStyledTextCtrl_SetEdgeMode, + <>). + %% @doc See external documentation. -spec getEdgeMode(This) -> integer() when This::wxStyledTextCtrl(). diff --git a/lib/wx/src/gen/wxe_debug.hrl b/lib/wx/src/gen/wxe_debug.hrl index a93d27654f..297d99324a 100644 --- a/lib/wx/src/gen/wxe_debug.hrl +++ b/lib/wx/src/gen/wxe_debug.hrl @@ -3054,255 +3054,256 @@ wxdebug_table() -> {3270, {wxStyledTextCtrl, setModEventMask, 1}}, {3271, {wxStyledTextCtrl, getEdgeColumn, 0}}, {3272, {wxStyledTextCtrl, setEdgeColumn, 1}}, - {3273, {wxStyledTextCtrl, getEdgeMode, 0}}, - {3274, {wxStyledTextCtrl, getEdgeColour, 0}}, - {3275, {wxStyledTextCtrl, setEdgeColour, 1}}, - {3276, {wxStyledTextCtrl, searchAnchor, 0}}, - {3277, {wxStyledTextCtrl, searchNext, 2}}, - {3278, {wxStyledTextCtrl, searchPrev, 2}}, - {3279, {wxStyledTextCtrl, linesOnScreen, 0}}, - {3280, {wxStyledTextCtrl, usePopUp, 1}}, - {3281, {wxStyledTextCtrl, selectionIsRectangle, 0}}, - {3282, {wxStyledTextCtrl, setZoom, 1}}, - {3283, {wxStyledTextCtrl, getZoom, 0}}, - {3284, {wxStyledTextCtrl, getModEventMask, 0}}, - {3285, {wxStyledTextCtrl, setSTCFocus, 1}}, - {3286, {wxStyledTextCtrl, getSTCFocus, 0}}, - {3287, {wxStyledTextCtrl, setStatus, 1}}, - {3288, {wxStyledTextCtrl, getStatus, 0}}, - {3289, {wxStyledTextCtrl, setMouseDownCaptures, 1}}, - {3290, {wxStyledTextCtrl, getMouseDownCaptures, 0}}, - {3291, {wxStyledTextCtrl, setSTCCursor, 1}}, - {3292, {wxStyledTextCtrl, getSTCCursor, 0}}, - {3293, {wxStyledTextCtrl, setControlCharSymbol, 1}}, - {3294, {wxStyledTextCtrl, getControlCharSymbol, 0}}, - {3295, {wxStyledTextCtrl, wordPartLeft, 0}}, - {3296, {wxStyledTextCtrl, wordPartLeftExtend, 0}}, - {3297, {wxStyledTextCtrl, wordPartRight, 0}}, - {3298, {wxStyledTextCtrl, wordPartRightExtend, 0}}, - {3299, {wxStyledTextCtrl, setVisiblePolicy, 2}}, - {3300, {wxStyledTextCtrl, delLineLeft, 0}}, - {3301, {wxStyledTextCtrl, delLineRight, 0}}, - {3302, {wxStyledTextCtrl, getXOffset, 0}}, - {3303, {wxStyledTextCtrl, chooseCaretX, 0}}, - {3304, {wxStyledTextCtrl, setXCaretPolicy, 2}}, - {3305, {wxStyledTextCtrl, setYCaretPolicy, 2}}, - {3306, {wxStyledTextCtrl, getPrintWrapMode, 0}}, - {3307, {wxStyledTextCtrl, setHotspotActiveForeground, 2}}, - {3308, {wxStyledTextCtrl, setHotspotActiveBackground, 2}}, - {3309, {wxStyledTextCtrl, setHotspotActiveUnderline, 1}}, - {3310, {wxStyledTextCtrl, setHotspotSingleLine, 1}}, - {3311, {wxStyledTextCtrl, paraDownExtend, 0}}, - {3312, {wxStyledTextCtrl, paraUp, 0}}, - {3313, {wxStyledTextCtrl, paraUpExtend, 0}}, - {3314, {wxStyledTextCtrl, positionBefore, 1}}, - {3315, {wxStyledTextCtrl, positionAfter, 1}}, - {3316, {wxStyledTextCtrl, copyRange, 2}}, - {3317, {wxStyledTextCtrl, copyText, 2}}, - {3318, {wxStyledTextCtrl, setSelectionMode, 1}}, - {3319, {wxStyledTextCtrl, getSelectionMode, 0}}, - {3320, {wxStyledTextCtrl, lineDownRectExtend, 0}}, - {3321, {wxStyledTextCtrl, lineUpRectExtend, 0}}, - {3322, {wxStyledTextCtrl, charLeftRectExtend, 0}}, - {3323, {wxStyledTextCtrl, charRightRectExtend, 0}}, - {3324, {wxStyledTextCtrl, homeRectExtend, 0}}, - {3325, {wxStyledTextCtrl, vCHomeRectExtend, 0}}, - {3326, {wxStyledTextCtrl, lineEndRectExtend, 0}}, - {3327, {wxStyledTextCtrl, pageUpRectExtend, 0}}, - {3328, {wxStyledTextCtrl, pageDownRectExtend, 0}}, - {3329, {wxStyledTextCtrl, stutteredPageUp, 0}}, - {3330, {wxStyledTextCtrl, stutteredPageUpExtend, 0}}, - {3331, {wxStyledTextCtrl, stutteredPageDown, 0}}, - {3332, {wxStyledTextCtrl, stutteredPageDownExtend, 0}}, - {3333, {wxStyledTextCtrl, wordLeftEnd, 0}}, - {3334, {wxStyledTextCtrl, wordLeftEndExtend, 0}}, - {3335, {wxStyledTextCtrl, wordRightEnd, 0}}, - {3336, {wxStyledTextCtrl, wordRightEndExtend, 0}}, - {3337, {wxStyledTextCtrl, setWhitespaceChars, 1}}, - {3338, {wxStyledTextCtrl, setCharsDefault, 0}}, - {3339, {wxStyledTextCtrl, autoCompGetCurrent, 0}}, - {3340, {wxStyledTextCtrl, allocate, 1}}, - {3341, {wxStyledTextCtrl, findColumn, 2}}, - {3342, {wxStyledTextCtrl, getCaretSticky, 0}}, - {3343, {wxStyledTextCtrl, setCaretSticky, 1}}, - {3344, {wxStyledTextCtrl, toggleCaretSticky, 0}}, - {3345, {wxStyledTextCtrl, setPasteConvertEndings, 1}}, - {3346, {wxStyledTextCtrl, getPasteConvertEndings, 0}}, - {3347, {wxStyledTextCtrl, selectionDuplicate, 0}}, - {3348, {wxStyledTextCtrl, setCaretLineBackAlpha, 1}}, - {3349, {wxStyledTextCtrl, getCaretLineBackAlpha, 0}}, - {3350, {wxStyledTextCtrl, startRecord, 0}}, - {3351, {wxStyledTextCtrl, stopRecord, 0}}, - {3352, {wxStyledTextCtrl, setLexer, 1}}, - {3353, {wxStyledTextCtrl, getLexer, 0}}, - {3354, {wxStyledTextCtrl, colourise, 2}}, - {3355, {wxStyledTextCtrl, setProperty, 2}}, - {3356, {wxStyledTextCtrl, setKeyWords, 2}}, - {3357, {wxStyledTextCtrl, setLexerLanguage, 1}}, - {3358, {wxStyledTextCtrl, getProperty, 1}}, - {3359, {wxStyledTextCtrl, getStyleBitsNeeded, 0}}, - {3360, {wxStyledTextCtrl, getCurrentLine, 0}}, - {3361, {wxStyledTextCtrl, styleSetSpec, 2}}, - {3362, {wxStyledTextCtrl, styleSetFont, 2}}, - {3363, {wxStyledTextCtrl, styleSetFontAttr, 7}}, - {3364, {wxStyledTextCtrl, styleSetCharacterSet, 2}}, - {3365, {wxStyledTextCtrl, styleSetFontEncoding, 2}}, - {3366, {wxStyledTextCtrl, cmdKeyExecute, 1}}, - {3367, {wxStyledTextCtrl, setMargins, 2}}, - {3368, {wxStyledTextCtrl, getSelection, 2}}, - {3369, {wxStyledTextCtrl, pointFromPosition, 1}}, - {3370, {wxStyledTextCtrl, scrollToLine, 1}}, - {3371, {wxStyledTextCtrl, scrollToColumn, 1}}, - {3372, {wxStyledTextCtrl, sendMsg, 2}}, - {3373, {wxStyledTextCtrl, setVScrollBar, 1}}, - {3374, {wxStyledTextCtrl, setHScrollBar, 1}}, - {3375, {wxStyledTextCtrl, getLastKeydownProcessed, 0}}, - {3376, {wxStyledTextCtrl, setLastKeydownProcessed, 1}}, - {3377, {wxStyledTextCtrl, saveFile, 1}}, - {3378, {wxStyledTextCtrl, loadFile, 1}}, - {3379, {wxStyledTextCtrl, doDragOver, 3}}, - {3380, {wxStyledTextCtrl, doDropText, 3}}, - {3381, {wxStyledTextCtrl, getUseAntiAliasing, 0}}, - {3382, {wxStyledTextCtrl, addTextRaw, 1}}, - {3383, {wxStyledTextCtrl, insertTextRaw, 2}}, - {3384, {wxStyledTextCtrl, getCurLineRaw, 1}}, - {3385, {wxStyledTextCtrl, getLineRaw, 1}}, - {3386, {wxStyledTextCtrl, getSelectedTextRaw, 0}}, - {3387, {wxStyledTextCtrl, getTextRangeRaw, 2}}, - {3388, {wxStyledTextCtrl, setTextRaw, 1}}, - {3389, {wxStyledTextCtrl, getTextRaw, 0}}, - {3390, {wxStyledTextCtrl, appendTextRaw, 1}}, - {3391, {wxArtProvider, getBitmap, 2}}, - {3392, {wxArtProvider, getIcon, 2}}, - {3393, {wxTreeEvent, getKeyCode, 0}}, - {3394, {wxTreeEvent, getItem, 0}}, - {3395, {wxTreeEvent, getKeyEvent, 0}}, - {3396, {wxTreeEvent, getLabel, 0}}, - {3397, {wxTreeEvent, getOldItem, 0}}, - {3398, {wxTreeEvent, getPoint, 0}}, - {3399, {wxTreeEvent, isEditCancelled, 0}}, - {3400, {wxTreeEvent, setToolTip, 1}}, - {3401, {wxNotebookEvent, getOldSelection, 0}}, - {3402, {wxNotebookEvent, getSelection, 0}}, - {3403, {wxNotebookEvent, setOldSelection, 1}}, - {3404, {wxNotebookEvent, setSelection, 1}}, - {3405, {wxFileDataObject, new, 0}}, - {3406, {wxFileDataObject, addFile, 1}}, - {3407, {wxFileDataObject, getFilenames, 0}}, - {3408, {wxFileDataObject, 'Destroy', undefined}}, - {3409, {wxTextDataObject, new, 1}}, - {3410, {wxTextDataObject, getTextLength, 0}}, - {3411, {wxTextDataObject, getText, 0}}, - {3412, {wxTextDataObject, setText, 1}}, - {3413, {wxTextDataObject, 'Destroy', undefined}}, - {3414, {wxBitmapDataObject, new_1_1, 1}}, - {3415, {wxBitmapDataObject, new_1_0, 1}}, - {3416, {wxBitmapDataObject, getBitmap, 0}}, - {3417, {wxBitmapDataObject, setBitmap, 1}}, - {3418, {wxBitmapDataObject, 'Destroy', undefined}}, - {3420, {wxClipboard, new, 0}}, - {3421, {wxClipboard, destruct, 0}}, - {3422, {wxClipboard, addData, 1}}, - {3423, {wxClipboard, clear, 0}}, - {3424, {wxClipboard, close, 0}}, - {3425, {wxClipboard, flush, 0}}, - {3426, {wxClipboard, getData, 1}}, - {3427, {wxClipboard, isOpened, 0}}, - {3428, {wxClipboard, open, 0}}, - {3429, {wxClipboard, setData, 1}}, - {3431, {wxClipboard, usePrimarySelection, 1}}, - {3432, {wxClipboard, isSupported, 1}}, - {3433, {wxClipboard, get, 0}}, - {3434, {wxSpinEvent, getPosition, 0}}, - {3435, {wxSpinEvent, setPosition, 1}}, - {3436, {wxSplitterWindow, new_0, 0}}, - {3437, {wxSplitterWindow, new_2, 2}}, - {3438, {wxSplitterWindow, destruct, 0}}, - {3439, {wxSplitterWindow, create, 2}}, - {3440, {wxSplitterWindow, getMinimumPaneSize, 0}}, - {3441, {wxSplitterWindow, getSashGravity, 0}}, - {3442, {wxSplitterWindow, getSashPosition, 0}}, - {3443, {wxSplitterWindow, getSplitMode, 0}}, - {3444, {wxSplitterWindow, getWindow1, 0}}, - {3445, {wxSplitterWindow, getWindow2, 0}}, - {3446, {wxSplitterWindow, initialize, 1}}, - {3447, {wxSplitterWindow, isSplit, 0}}, - {3448, {wxSplitterWindow, replaceWindow, 2}}, - {3449, {wxSplitterWindow, setSashGravity, 1}}, - {3450, {wxSplitterWindow, setSashPosition, 2}}, - {3451, {wxSplitterWindow, setSashSize, 1}}, - {3452, {wxSplitterWindow, setMinimumPaneSize, 1}}, - {3453, {wxSplitterWindow, setSplitMode, 1}}, - {3454, {wxSplitterWindow, splitHorizontally, 3}}, - {3455, {wxSplitterWindow, splitVertically, 3}}, - {3456, {wxSplitterWindow, unsplit, 1}}, - {3457, {wxSplitterWindow, updateSize, 0}}, - {3458, {wxSplitterEvent, getSashPosition, 0}}, - {3459, {wxSplitterEvent, getX, 0}}, - {3460, {wxSplitterEvent, getY, 0}}, - {3461, {wxSplitterEvent, getWindowBeingRemoved, 0}}, - {3462, {wxSplitterEvent, setSashPosition, 1}}, - {3463, {wxHtmlWindow, new_0, 0}}, - {3464, {wxHtmlWindow, new_2, 2}}, - {3465, {wxHtmlWindow, appendToPage, 1}}, - {3466, {wxHtmlWindow, getOpenedAnchor, 0}}, - {3467, {wxHtmlWindow, getOpenedPage, 0}}, - {3468, {wxHtmlWindow, getOpenedPageTitle, 0}}, - {3469, {wxHtmlWindow, getRelatedFrame, 0}}, - {3470, {wxHtmlWindow, historyBack, 0}}, - {3471, {wxHtmlWindow, historyCanBack, 0}}, - {3472, {wxHtmlWindow, historyCanForward, 0}}, - {3473, {wxHtmlWindow, historyClear, 0}}, - {3474, {wxHtmlWindow, historyForward, 0}}, - {3475, {wxHtmlWindow, loadFile, 1}}, - {3476, {wxHtmlWindow, loadPage, 1}}, - {3477, {wxHtmlWindow, selectAll, 0}}, - {3478, {wxHtmlWindow, selectionToText, 0}}, - {3479, {wxHtmlWindow, selectLine, 1}}, - {3480, {wxHtmlWindow, selectWord, 1}}, - {3481, {wxHtmlWindow, setBorders, 1}}, - {3482, {wxHtmlWindow, setFonts, 3}}, - {3483, {wxHtmlWindow, setPage, 1}}, - {3484, {wxHtmlWindow, setRelatedFrame, 2}}, - {3485, {wxHtmlWindow, setRelatedStatusBar, 1}}, - {3486, {wxHtmlWindow, toText, 0}}, - {3487, {wxHtmlWindow, 'Destroy', undefined}}, - {3488, {wxHtmlLinkEvent, getLinkInfo, 0}}, - {3489, {wxSystemSettings, getColour, 1}}, - {3490, {wxSystemSettings, getFont, 1}}, - {3491, {wxSystemSettings, getMetric, 2}}, - {3492, {wxSystemSettings, getScreenType, 0}}, - {3493, {wxSystemOptions, getOption, 1}}, - {3494, {wxSystemOptions, getOptionInt, 1}}, - {3495, {wxSystemOptions, hasOption, 1}}, - {3496, {wxSystemOptions, isFalse, 1}}, - {3497, {wxSystemOptions, setOption_2_1, 2}}, - {3498, {wxSystemOptions, setOption_2_0, 2}}, - {3499, {wxAuiNotebookEvent, setSelection, 1}}, - {3500, {wxAuiNotebookEvent, getSelection, 0}}, - {3501, {wxAuiNotebookEvent, setOldSelection, 1}}, - {3502, {wxAuiNotebookEvent, getOldSelection, 0}}, - {3503, {wxAuiNotebookEvent, setDragSource, 1}}, - {3504, {wxAuiNotebookEvent, getDragSource, 0}}, - {3505, {wxAuiManagerEvent, setManager, 1}}, - {3506, {wxAuiManagerEvent, getManager, 0}}, - {3507, {wxAuiManagerEvent, setPane, 1}}, - {3508, {wxAuiManagerEvent, getPane, 0}}, - {3509, {wxAuiManagerEvent, setButton, 1}}, - {3510, {wxAuiManagerEvent, getButton, 0}}, - {3511, {wxAuiManagerEvent, setDC, 1}}, - {3512, {wxAuiManagerEvent, getDC, 0}}, - {3513, {wxAuiManagerEvent, veto, 1}}, - {3514, {wxAuiManagerEvent, getVeto, 0}}, - {3515, {wxAuiManagerEvent, setCanVeto, 1}}, - {3516, {wxAuiManagerEvent, canVeto, 0}}, - {3517, {wxLogNull, new, 0}}, - {3518, {wxLogNull, 'Destroy', undefined}}, - {3519, {wxTaskBarIcon, new, 0}}, - {3520, {wxTaskBarIcon, destruct, 0}}, - {3521, {wxTaskBarIcon, popupMenu, 1}}, - {3522, {wxTaskBarIcon, removeIcon, 0}}, - {3523, {wxTaskBarIcon, setIcon, 2}}, + {3273, {wxStyledTextCtrl, setEdgeMode, 1}}, + {3274, {wxStyledTextCtrl, getEdgeMode, 0}}, + {3275, {wxStyledTextCtrl, getEdgeColour, 0}}, + {3276, {wxStyledTextCtrl, setEdgeColour, 1}}, + {3277, {wxStyledTextCtrl, searchAnchor, 0}}, + {3278, {wxStyledTextCtrl, searchNext, 2}}, + {3279, {wxStyledTextCtrl, searchPrev, 2}}, + {3280, {wxStyledTextCtrl, linesOnScreen, 0}}, + {3281, {wxStyledTextCtrl, usePopUp, 1}}, + {3282, {wxStyledTextCtrl, selectionIsRectangle, 0}}, + {3283, {wxStyledTextCtrl, setZoom, 1}}, + {3284, {wxStyledTextCtrl, getZoom, 0}}, + {3285, {wxStyledTextCtrl, getModEventMask, 0}}, + {3286, {wxStyledTextCtrl, setSTCFocus, 1}}, + {3287, {wxStyledTextCtrl, getSTCFocus, 0}}, + {3288, {wxStyledTextCtrl, setStatus, 1}}, + {3289, {wxStyledTextCtrl, getStatus, 0}}, + {3290, {wxStyledTextCtrl, setMouseDownCaptures, 1}}, + {3291, {wxStyledTextCtrl, getMouseDownCaptures, 0}}, + {3292, {wxStyledTextCtrl, setSTCCursor, 1}}, + {3293, {wxStyledTextCtrl, getSTCCursor, 0}}, + {3294, {wxStyledTextCtrl, setControlCharSymbol, 1}}, + {3295, {wxStyledTextCtrl, getControlCharSymbol, 0}}, + {3296, {wxStyledTextCtrl, wordPartLeft, 0}}, + {3297, {wxStyledTextCtrl, wordPartLeftExtend, 0}}, + {3298, {wxStyledTextCtrl, wordPartRight, 0}}, + {3299, {wxStyledTextCtrl, wordPartRightExtend, 0}}, + {3300, {wxStyledTextCtrl, setVisiblePolicy, 2}}, + {3301, {wxStyledTextCtrl, delLineLeft, 0}}, + {3302, {wxStyledTextCtrl, delLineRight, 0}}, + {3303, {wxStyledTextCtrl, getXOffset, 0}}, + {3304, {wxStyledTextCtrl, chooseCaretX, 0}}, + {3305, {wxStyledTextCtrl, setXCaretPolicy, 2}}, + {3306, {wxStyledTextCtrl, setYCaretPolicy, 2}}, + {3307, {wxStyledTextCtrl, getPrintWrapMode, 0}}, + {3308, {wxStyledTextCtrl, setHotspotActiveForeground, 2}}, + {3309, {wxStyledTextCtrl, setHotspotActiveBackground, 2}}, + {3310, {wxStyledTextCtrl, setHotspotActiveUnderline, 1}}, + {3311, {wxStyledTextCtrl, setHotspotSingleLine, 1}}, + {3312, {wxStyledTextCtrl, paraDownExtend, 0}}, + {3313, {wxStyledTextCtrl, paraUp, 0}}, + {3314, {wxStyledTextCtrl, paraUpExtend, 0}}, + {3315, {wxStyledTextCtrl, positionBefore, 1}}, + {3316, {wxStyledTextCtrl, positionAfter, 1}}, + {3317, {wxStyledTextCtrl, copyRange, 2}}, + {3318, {wxStyledTextCtrl, copyText, 2}}, + {3319, {wxStyledTextCtrl, setSelectionMode, 1}}, + {3320, {wxStyledTextCtrl, getSelectionMode, 0}}, + {3321, {wxStyledTextCtrl, lineDownRectExtend, 0}}, + {3322, {wxStyledTextCtrl, lineUpRectExtend, 0}}, + {3323, {wxStyledTextCtrl, charLeftRectExtend, 0}}, + {3324, {wxStyledTextCtrl, charRightRectExtend, 0}}, + {3325, {wxStyledTextCtrl, homeRectExtend, 0}}, + {3326, {wxStyledTextCtrl, vCHomeRectExtend, 0}}, + {3327, {wxStyledTextCtrl, lineEndRectExtend, 0}}, + {3328, {wxStyledTextCtrl, pageUpRectExtend, 0}}, + {3329, {wxStyledTextCtrl, pageDownRectExtend, 0}}, + {3330, {wxStyledTextCtrl, stutteredPageUp, 0}}, + {3331, {wxStyledTextCtrl, stutteredPageUpExtend, 0}}, + {3332, {wxStyledTextCtrl, stutteredPageDown, 0}}, + {3333, {wxStyledTextCtrl, stutteredPageDownExtend, 0}}, + {3334, {wxStyledTextCtrl, wordLeftEnd, 0}}, + {3335, {wxStyledTextCtrl, wordLeftEndExtend, 0}}, + {3336, {wxStyledTextCtrl, wordRightEnd, 0}}, + {3337, {wxStyledTextCtrl, wordRightEndExtend, 0}}, + {3338, {wxStyledTextCtrl, setWhitespaceChars, 1}}, + {3339, {wxStyledTextCtrl, setCharsDefault, 0}}, + {3340, {wxStyledTextCtrl, autoCompGetCurrent, 0}}, + {3341, {wxStyledTextCtrl, allocate, 1}}, + {3342, {wxStyledTextCtrl, findColumn, 2}}, + {3343, {wxStyledTextCtrl, getCaretSticky, 0}}, + {3344, {wxStyledTextCtrl, setCaretSticky, 1}}, + {3345, {wxStyledTextCtrl, toggleCaretSticky, 0}}, + {3346, {wxStyledTextCtrl, setPasteConvertEndings, 1}}, + {3347, {wxStyledTextCtrl, getPasteConvertEndings, 0}}, + {3348, {wxStyledTextCtrl, selectionDuplicate, 0}}, + {3349, {wxStyledTextCtrl, setCaretLineBackAlpha, 1}}, + {3350, {wxStyledTextCtrl, getCaretLineBackAlpha, 0}}, + {3351, {wxStyledTextCtrl, startRecord, 0}}, + {3352, {wxStyledTextCtrl, stopRecord, 0}}, + {3353, {wxStyledTextCtrl, setLexer, 1}}, + {3354, {wxStyledTextCtrl, getLexer, 0}}, + {3355, {wxStyledTextCtrl, colourise, 2}}, + {3356, {wxStyledTextCtrl, setProperty, 2}}, + {3357, {wxStyledTextCtrl, setKeyWords, 2}}, + {3358, {wxStyledTextCtrl, setLexerLanguage, 1}}, + {3359, {wxStyledTextCtrl, getProperty, 1}}, + {3360, {wxStyledTextCtrl, getStyleBitsNeeded, 0}}, + {3361, {wxStyledTextCtrl, getCurrentLine, 0}}, + {3362, {wxStyledTextCtrl, styleSetSpec, 2}}, + {3363, {wxStyledTextCtrl, styleSetFont, 2}}, + {3364, {wxStyledTextCtrl, styleSetFontAttr, 7}}, + {3365, {wxStyledTextCtrl, styleSetCharacterSet, 2}}, + {3366, {wxStyledTextCtrl, styleSetFontEncoding, 2}}, + {3367, {wxStyledTextCtrl, cmdKeyExecute, 1}}, + {3368, {wxStyledTextCtrl, setMargins, 2}}, + {3369, {wxStyledTextCtrl, getSelection, 2}}, + {3370, {wxStyledTextCtrl, pointFromPosition, 1}}, + {3371, {wxStyledTextCtrl, scrollToLine, 1}}, + {3372, {wxStyledTextCtrl, scrollToColumn, 1}}, + {3373, {wxStyledTextCtrl, sendMsg, 2}}, + {3374, {wxStyledTextCtrl, setVScrollBar, 1}}, + {3375, {wxStyledTextCtrl, setHScrollBar, 1}}, + {3376, {wxStyledTextCtrl, getLastKeydownProcessed, 0}}, + {3377, {wxStyledTextCtrl, setLastKeydownProcessed, 1}}, + {3378, {wxStyledTextCtrl, saveFile, 1}}, + {3379, {wxStyledTextCtrl, loadFile, 1}}, + {3380, {wxStyledTextCtrl, doDragOver, 3}}, + {3381, {wxStyledTextCtrl, doDropText, 3}}, + {3382, {wxStyledTextCtrl, getUseAntiAliasing, 0}}, + {3383, {wxStyledTextCtrl, addTextRaw, 1}}, + {3384, {wxStyledTextCtrl, insertTextRaw, 2}}, + {3385, {wxStyledTextCtrl, getCurLineRaw, 1}}, + {3386, {wxStyledTextCtrl, getLineRaw, 1}}, + {3387, {wxStyledTextCtrl, getSelectedTextRaw, 0}}, + {3388, {wxStyledTextCtrl, getTextRangeRaw, 2}}, + {3389, {wxStyledTextCtrl, setTextRaw, 1}}, + {3390, {wxStyledTextCtrl, getTextRaw, 0}}, + {3391, {wxStyledTextCtrl, appendTextRaw, 1}}, + {3392, {wxArtProvider, getBitmap, 2}}, + {3393, {wxArtProvider, getIcon, 2}}, + {3394, {wxTreeEvent, getKeyCode, 0}}, + {3395, {wxTreeEvent, getItem, 0}}, + {3396, {wxTreeEvent, getKeyEvent, 0}}, + {3397, {wxTreeEvent, getLabel, 0}}, + {3398, {wxTreeEvent, getOldItem, 0}}, + {3399, {wxTreeEvent, getPoint, 0}}, + {3400, {wxTreeEvent, isEditCancelled, 0}}, + {3401, {wxTreeEvent, setToolTip, 1}}, + {3402, {wxNotebookEvent, getOldSelection, 0}}, + {3403, {wxNotebookEvent, getSelection, 0}}, + {3404, {wxNotebookEvent, setOldSelection, 1}}, + {3405, {wxNotebookEvent, setSelection, 1}}, + {3406, {wxFileDataObject, new, 0}}, + {3407, {wxFileDataObject, addFile, 1}}, + {3408, {wxFileDataObject, getFilenames, 0}}, + {3409, {wxFileDataObject, 'Destroy', undefined}}, + {3410, {wxTextDataObject, new, 1}}, + {3411, {wxTextDataObject, getTextLength, 0}}, + {3412, {wxTextDataObject, getText, 0}}, + {3413, {wxTextDataObject, setText, 1}}, + {3414, {wxTextDataObject, 'Destroy', undefined}}, + {3415, {wxBitmapDataObject, new_1_1, 1}}, + {3416, {wxBitmapDataObject, new_1_0, 1}}, + {3417, {wxBitmapDataObject, getBitmap, 0}}, + {3418, {wxBitmapDataObject, setBitmap, 1}}, + {3419, {wxBitmapDataObject, 'Destroy', undefined}}, + {3421, {wxClipboard, new, 0}}, + {3422, {wxClipboard, destruct, 0}}, + {3423, {wxClipboard, addData, 1}}, + {3424, {wxClipboard, clear, 0}}, + {3425, {wxClipboard, close, 0}}, + {3426, {wxClipboard, flush, 0}}, + {3427, {wxClipboard, getData, 1}}, + {3428, {wxClipboard, isOpened, 0}}, + {3429, {wxClipboard, open, 0}}, + {3430, {wxClipboard, setData, 1}}, + {3432, {wxClipboard, usePrimarySelection, 1}}, + {3433, {wxClipboard, isSupported, 1}}, + {3434, {wxClipboard, get, 0}}, + {3435, {wxSpinEvent, getPosition, 0}}, + {3436, {wxSpinEvent, setPosition, 1}}, + {3437, {wxSplitterWindow, new_0, 0}}, + {3438, {wxSplitterWindow, new_2, 2}}, + {3439, {wxSplitterWindow, destruct, 0}}, + {3440, {wxSplitterWindow, create, 2}}, + {3441, {wxSplitterWindow, getMinimumPaneSize, 0}}, + {3442, {wxSplitterWindow, getSashGravity, 0}}, + {3443, {wxSplitterWindow, getSashPosition, 0}}, + {3444, {wxSplitterWindow, getSplitMode, 0}}, + {3445, {wxSplitterWindow, getWindow1, 0}}, + {3446, {wxSplitterWindow, getWindow2, 0}}, + {3447, {wxSplitterWindow, initialize, 1}}, + {3448, {wxSplitterWindow, isSplit, 0}}, + {3449, {wxSplitterWindow, replaceWindow, 2}}, + {3450, {wxSplitterWindow, setSashGravity, 1}}, + {3451, {wxSplitterWindow, setSashPosition, 2}}, + {3452, {wxSplitterWindow, setSashSize, 1}}, + {3453, {wxSplitterWindow, setMinimumPaneSize, 1}}, + {3454, {wxSplitterWindow, setSplitMode, 1}}, + {3455, {wxSplitterWindow, splitHorizontally, 3}}, + {3456, {wxSplitterWindow, splitVertically, 3}}, + {3457, {wxSplitterWindow, unsplit, 1}}, + {3458, {wxSplitterWindow, updateSize, 0}}, + {3459, {wxSplitterEvent, getSashPosition, 0}}, + {3460, {wxSplitterEvent, getX, 0}}, + {3461, {wxSplitterEvent, getY, 0}}, + {3462, {wxSplitterEvent, getWindowBeingRemoved, 0}}, + {3463, {wxSplitterEvent, setSashPosition, 1}}, + {3464, {wxHtmlWindow, new_0, 0}}, + {3465, {wxHtmlWindow, new_2, 2}}, + {3466, {wxHtmlWindow, appendToPage, 1}}, + {3467, {wxHtmlWindow, getOpenedAnchor, 0}}, + {3468, {wxHtmlWindow, getOpenedPage, 0}}, + {3469, {wxHtmlWindow, getOpenedPageTitle, 0}}, + {3470, {wxHtmlWindow, getRelatedFrame, 0}}, + {3471, {wxHtmlWindow, historyBack, 0}}, + {3472, {wxHtmlWindow, historyCanBack, 0}}, + {3473, {wxHtmlWindow, historyCanForward, 0}}, + {3474, {wxHtmlWindow, historyClear, 0}}, + {3475, {wxHtmlWindow, historyForward, 0}}, + {3476, {wxHtmlWindow, loadFile, 1}}, + {3477, {wxHtmlWindow, loadPage, 1}}, + {3478, {wxHtmlWindow, selectAll, 0}}, + {3479, {wxHtmlWindow, selectionToText, 0}}, + {3480, {wxHtmlWindow, selectLine, 1}}, + {3481, {wxHtmlWindow, selectWord, 1}}, + {3482, {wxHtmlWindow, setBorders, 1}}, + {3483, {wxHtmlWindow, setFonts, 3}}, + {3484, {wxHtmlWindow, setPage, 1}}, + {3485, {wxHtmlWindow, setRelatedFrame, 2}}, + {3486, {wxHtmlWindow, setRelatedStatusBar, 1}}, + {3487, {wxHtmlWindow, toText, 0}}, + {3488, {wxHtmlWindow, 'Destroy', undefined}}, + {3489, {wxHtmlLinkEvent, getLinkInfo, 0}}, + {3490, {wxSystemSettings, getColour, 1}}, + {3491, {wxSystemSettings, getFont, 1}}, + {3492, {wxSystemSettings, getMetric, 2}}, + {3493, {wxSystemSettings, getScreenType, 0}}, + {3494, {wxSystemOptions, getOption, 1}}, + {3495, {wxSystemOptions, getOptionInt, 1}}, + {3496, {wxSystemOptions, hasOption, 1}}, + {3497, {wxSystemOptions, isFalse, 1}}, + {3498, {wxSystemOptions, setOption_2_1, 2}}, + {3499, {wxSystemOptions, setOption_2_0, 2}}, + {3500, {wxAuiNotebookEvent, setSelection, 1}}, + {3501, {wxAuiNotebookEvent, getSelection, 0}}, + {3502, {wxAuiNotebookEvent, setOldSelection, 1}}, + {3503, {wxAuiNotebookEvent, getOldSelection, 0}}, + {3504, {wxAuiNotebookEvent, setDragSource, 1}}, + {3505, {wxAuiNotebookEvent, getDragSource, 0}}, + {3506, {wxAuiManagerEvent, setManager, 1}}, + {3507, {wxAuiManagerEvent, getManager, 0}}, + {3508, {wxAuiManagerEvent, setPane, 1}}, + {3509, {wxAuiManagerEvent, getPane, 0}}, + {3510, {wxAuiManagerEvent, setButton, 1}}, + {3511, {wxAuiManagerEvent, getButton, 0}}, + {3512, {wxAuiManagerEvent, setDC, 1}}, + {3513, {wxAuiManagerEvent, getDC, 0}}, + {3514, {wxAuiManagerEvent, veto, 1}}, + {3515, {wxAuiManagerEvent, getVeto, 0}}, + {3516, {wxAuiManagerEvent, setCanVeto, 1}}, + {3517, {wxAuiManagerEvent, canVeto, 0}}, + {3518, {wxLogNull, new, 0}}, + {3519, {wxLogNull, 'Destroy', undefined}}, + {3520, {wxTaskBarIcon, new, 0}}, + {3521, {wxTaskBarIcon, destruct, 0}}, + {3522, {wxTaskBarIcon, popupMenu, 1}}, + {3523, {wxTaskBarIcon, removeIcon, 0}}, + {3524, {wxTaskBarIcon, setIcon, 2}}, {-1, {mod, func, -1}} ]. diff --git a/lib/wx/src/gen/wxe_funcs.hrl b/lib/wx/src/gen/wxe_funcs.hrl index d0fea79ff9..fe35cb1374 100644 --- a/lib/wx/src/gen/wxe_funcs.hrl +++ b/lib/wx/src/gen/wxe_funcs.hrl @@ -3051,252 +3051,253 @@ -define(wxStyledTextCtrl_SetModEventMask, 3270). -define(wxStyledTextCtrl_GetEdgeColumn, 3271). -define(wxStyledTextCtrl_SetEdgeColumn, 3272). --define(wxStyledTextCtrl_GetEdgeMode, 3273). --define(wxStyledTextCtrl_GetEdgeColour, 3274). --define(wxStyledTextCtrl_SetEdgeColour, 3275). --define(wxStyledTextCtrl_SearchAnchor, 3276). --define(wxStyledTextCtrl_SearchNext, 3277). --define(wxStyledTextCtrl_SearchPrev, 3278). --define(wxStyledTextCtrl_LinesOnScreen, 3279). --define(wxStyledTextCtrl_UsePopUp, 3280). --define(wxStyledTextCtrl_SelectionIsRectangle, 3281). --define(wxStyledTextCtrl_SetZoom, 3282). --define(wxStyledTextCtrl_GetZoom, 3283). --define(wxStyledTextCtrl_GetModEventMask, 3284). --define(wxStyledTextCtrl_SetSTCFocus, 3285). --define(wxStyledTextCtrl_GetSTCFocus, 3286). --define(wxStyledTextCtrl_SetStatus, 3287). --define(wxStyledTextCtrl_GetStatus, 3288). --define(wxStyledTextCtrl_SetMouseDownCaptures, 3289). --define(wxStyledTextCtrl_GetMouseDownCaptures, 3290). --define(wxStyledTextCtrl_SetSTCCursor, 3291). --define(wxStyledTextCtrl_GetSTCCursor, 3292). --define(wxStyledTextCtrl_SetControlCharSymbol, 3293). --define(wxStyledTextCtrl_GetControlCharSymbol, 3294). --define(wxStyledTextCtrl_WordPartLeft, 3295). --define(wxStyledTextCtrl_WordPartLeftExtend, 3296). --define(wxStyledTextCtrl_WordPartRight, 3297). --define(wxStyledTextCtrl_WordPartRightExtend, 3298). --define(wxStyledTextCtrl_SetVisiblePolicy, 3299). --define(wxStyledTextCtrl_DelLineLeft, 3300). --define(wxStyledTextCtrl_DelLineRight, 3301). --define(wxStyledTextCtrl_GetXOffset, 3302). --define(wxStyledTextCtrl_ChooseCaretX, 3303). --define(wxStyledTextCtrl_SetXCaretPolicy, 3304). --define(wxStyledTextCtrl_SetYCaretPolicy, 3305). --define(wxStyledTextCtrl_GetPrintWrapMode, 3306). --define(wxStyledTextCtrl_SetHotspotActiveForeground, 3307). --define(wxStyledTextCtrl_SetHotspotActiveBackground, 3308). --define(wxStyledTextCtrl_SetHotspotActiveUnderline, 3309). --define(wxStyledTextCtrl_SetHotspotSingleLine, 3310). --define(wxStyledTextCtrl_ParaDownExtend, 3311). --define(wxStyledTextCtrl_ParaUp, 3312). --define(wxStyledTextCtrl_ParaUpExtend, 3313). --define(wxStyledTextCtrl_PositionBefore, 3314). --define(wxStyledTextCtrl_PositionAfter, 3315). --define(wxStyledTextCtrl_CopyRange, 3316). --define(wxStyledTextCtrl_CopyText, 3317). --define(wxStyledTextCtrl_SetSelectionMode, 3318). --define(wxStyledTextCtrl_GetSelectionMode, 3319). --define(wxStyledTextCtrl_LineDownRectExtend, 3320). --define(wxStyledTextCtrl_LineUpRectExtend, 3321). --define(wxStyledTextCtrl_CharLeftRectExtend, 3322). --define(wxStyledTextCtrl_CharRightRectExtend, 3323). --define(wxStyledTextCtrl_HomeRectExtend, 3324). --define(wxStyledTextCtrl_VCHomeRectExtend, 3325). --define(wxStyledTextCtrl_LineEndRectExtend, 3326). --define(wxStyledTextCtrl_PageUpRectExtend, 3327). --define(wxStyledTextCtrl_PageDownRectExtend, 3328). --define(wxStyledTextCtrl_StutteredPageUp, 3329). --define(wxStyledTextCtrl_StutteredPageUpExtend, 3330). --define(wxStyledTextCtrl_StutteredPageDown, 3331). --define(wxStyledTextCtrl_StutteredPageDownExtend, 3332). --define(wxStyledTextCtrl_WordLeftEnd, 3333). --define(wxStyledTextCtrl_WordLeftEndExtend, 3334). --define(wxStyledTextCtrl_WordRightEnd, 3335). --define(wxStyledTextCtrl_WordRightEndExtend, 3336). --define(wxStyledTextCtrl_SetWhitespaceChars, 3337). --define(wxStyledTextCtrl_SetCharsDefault, 3338). --define(wxStyledTextCtrl_AutoCompGetCurrent, 3339). --define(wxStyledTextCtrl_Allocate, 3340). --define(wxStyledTextCtrl_FindColumn, 3341). --define(wxStyledTextCtrl_GetCaretSticky, 3342). --define(wxStyledTextCtrl_SetCaretSticky, 3343). --define(wxStyledTextCtrl_ToggleCaretSticky, 3344). --define(wxStyledTextCtrl_SetPasteConvertEndings, 3345). --define(wxStyledTextCtrl_GetPasteConvertEndings, 3346). --define(wxStyledTextCtrl_SelectionDuplicate, 3347). --define(wxStyledTextCtrl_SetCaretLineBackAlpha, 3348). --define(wxStyledTextCtrl_GetCaretLineBackAlpha, 3349). --define(wxStyledTextCtrl_StartRecord, 3350). --define(wxStyledTextCtrl_StopRecord, 3351). --define(wxStyledTextCtrl_SetLexer, 3352). --define(wxStyledTextCtrl_GetLexer, 3353). --define(wxStyledTextCtrl_Colourise, 3354). --define(wxStyledTextCtrl_SetProperty, 3355). --define(wxStyledTextCtrl_SetKeyWords, 3356). --define(wxStyledTextCtrl_SetLexerLanguage, 3357). --define(wxStyledTextCtrl_GetProperty, 3358). --define(wxStyledTextCtrl_GetStyleBitsNeeded, 3359). --define(wxStyledTextCtrl_GetCurrentLine, 3360). --define(wxStyledTextCtrl_StyleSetSpec, 3361). --define(wxStyledTextCtrl_StyleSetFont, 3362). --define(wxStyledTextCtrl_StyleSetFontAttr, 3363). --define(wxStyledTextCtrl_StyleSetCharacterSet, 3364). --define(wxStyledTextCtrl_StyleSetFontEncoding, 3365). --define(wxStyledTextCtrl_CmdKeyExecute, 3366). --define(wxStyledTextCtrl_SetMargins, 3367). --define(wxStyledTextCtrl_GetSelection, 3368). --define(wxStyledTextCtrl_PointFromPosition, 3369). --define(wxStyledTextCtrl_ScrollToLine, 3370). --define(wxStyledTextCtrl_ScrollToColumn, 3371). --define(wxStyledTextCtrl_SendMsg, 3372). --define(wxStyledTextCtrl_SetVScrollBar, 3373). --define(wxStyledTextCtrl_SetHScrollBar, 3374). --define(wxStyledTextCtrl_GetLastKeydownProcessed, 3375). --define(wxStyledTextCtrl_SetLastKeydownProcessed, 3376). --define(wxStyledTextCtrl_SaveFile, 3377). --define(wxStyledTextCtrl_LoadFile, 3378). --define(wxStyledTextCtrl_DoDragOver, 3379). --define(wxStyledTextCtrl_DoDropText, 3380). --define(wxStyledTextCtrl_GetUseAntiAliasing, 3381). --define(wxStyledTextCtrl_AddTextRaw, 3382). --define(wxStyledTextCtrl_InsertTextRaw, 3383). --define(wxStyledTextCtrl_GetCurLineRaw, 3384). --define(wxStyledTextCtrl_GetLineRaw, 3385). --define(wxStyledTextCtrl_GetSelectedTextRaw, 3386). --define(wxStyledTextCtrl_GetTextRangeRaw, 3387). --define(wxStyledTextCtrl_SetTextRaw, 3388). --define(wxStyledTextCtrl_GetTextRaw, 3389). --define(wxStyledTextCtrl_AppendTextRaw, 3390). --define(wxArtProvider_GetBitmap, 3391). --define(wxArtProvider_GetIcon, 3392). --define(wxTreeEvent_GetKeyCode, 3393). --define(wxTreeEvent_GetItem, 3394). --define(wxTreeEvent_GetKeyEvent, 3395). --define(wxTreeEvent_GetLabel, 3396). --define(wxTreeEvent_GetOldItem, 3397). --define(wxTreeEvent_GetPoint, 3398). --define(wxTreeEvent_IsEditCancelled, 3399). --define(wxTreeEvent_SetToolTip, 3400). --define(wxNotebookEvent_GetOldSelection, 3401). --define(wxNotebookEvent_GetSelection, 3402). --define(wxNotebookEvent_SetOldSelection, 3403). --define(wxNotebookEvent_SetSelection, 3404). --define(wxFileDataObject_new, 3405). --define(wxFileDataObject_AddFile, 3406). --define(wxFileDataObject_GetFilenames, 3407). --define(wxFileDataObject_destroy, 3408). --define(wxTextDataObject_new, 3409). --define(wxTextDataObject_GetTextLength, 3410). --define(wxTextDataObject_GetText, 3411). --define(wxTextDataObject_SetText, 3412). --define(wxTextDataObject_destroy, 3413). --define(wxBitmapDataObject_new_1_1, 3414). --define(wxBitmapDataObject_new_1_0, 3415). --define(wxBitmapDataObject_GetBitmap, 3416). --define(wxBitmapDataObject_SetBitmap, 3417). --define(wxBitmapDataObject_destroy, 3418). --define(wxClipboard_new, 3420). --define(wxClipboard_destruct, 3421). --define(wxClipboard_AddData, 3422). --define(wxClipboard_Clear, 3423). --define(wxClipboard_Close, 3424). --define(wxClipboard_Flush, 3425). --define(wxClipboard_GetData, 3426). --define(wxClipboard_IsOpened, 3427). --define(wxClipboard_Open, 3428). --define(wxClipboard_SetData, 3429). --define(wxClipboard_UsePrimarySelection, 3431). --define(wxClipboard_IsSupported, 3432). --define(wxClipboard_Get, 3433). --define(wxSpinEvent_GetPosition, 3434). --define(wxSpinEvent_SetPosition, 3435). --define(wxSplitterWindow_new_0, 3436). --define(wxSplitterWindow_new_2, 3437). --define(wxSplitterWindow_destruct, 3438). --define(wxSplitterWindow_Create, 3439). --define(wxSplitterWindow_GetMinimumPaneSize, 3440). --define(wxSplitterWindow_GetSashGravity, 3441). --define(wxSplitterWindow_GetSashPosition, 3442). --define(wxSplitterWindow_GetSplitMode, 3443). --define(wxSplitterWindow_GetWindow1, 3444). --define(wxSplitterWindow_GetWindow2, 3445). --define(wxSplitterWindow_Initialize, 3446). --define(wxSplitterWindow_IsSplit, 3447). --define(wxSplitterWindow_ReplaceWindow, 3448). --define(wxSplitterWindow_SetSashGravity, 3449). --define(wxSplitterWindow_SetSashPosition, 3450). --define(wxSplitterWindow_SetSashSize, 3451). --define(wxSplitterWindow_SetMinimumPaneSize, 3452). --define(wxSplitterWindow_SetSplitMode, 3453). --define(wxSplitterWindow_SplitHorizontally, 3454). --define(wxSplitterWindow_SplitVertically, 3455). --define(wxSplitterWindow_Unsplit, 3456). --define(wxSplitterWindow_UpdateSize, 3457). --define(wxSplitterEvent_GetSashPosition, 3458). --define(wxSplitterEvent_GetX, 3459). --define(wxSplitterEvent_GetY, 3460). --define(wxSplitterEvent_GetWindowBeingRemoved, 3461). --define(wxSplitterEvent_SetSashPosition, 3462). --define(wxHtmlWindow_new_0, 3463). --define(wxHtmlWindow_new_2, 3464). --define(wxHtmlWindow_AppendToPage, 3465). --define(wxHtmlWindow_GetOpenedAnchor, 3466). --define(wxHtmlWindow_GetOpenedPage, 3467). --define(wxHtmlWindow_GetOpenedPageTitle, 3468). --define(wxHtmlWindow_GetRelatedFrame, 3469). --define(wxHtmlWindow_HistoryBack, 3470). --define(wxHtmlWindow_HistoryCanBack, 3471). --define(wxHtmlWindow_HistoryCanForward, 3472). --define(wxHtmlWindow_HistoryClear, 3473). --define(wxHtmlWindow_HistoryForward, 3474). --define(wxHtmlWindow_LoadFile, 3475). --define(wxHtmlWindow_LoadPage, 3476). --define(wxHtmlWindow_SelectAll, 3477). --define(wxHtmlWindow_SelectionToText, 3478). --define(wxHtmlWindow_SelectLine, 3479). --define(wxHtmlWindow_SelectWord, 3480). --define(wxHtmlWindow_SetBorders, 3481). --define(wxHtmlWindow_SetFonts, 3482). --define(wxHtmlWindow_SetPage, 3483). --define(wxHtmlWindow_SetRelatedFrame, 3484). --define(wxHtmlWindow_SetRelatedStatusBar, 3485). --define(wxHtmlWindow_ToText, 3486). --define(wxHtmlWindow_destroy, 3487). --define(wxHtmlLinkEvent_GetLinkInfo, 3488). --define(wxSystemSettings_GetColour, 3489). --define(wxSystemSettings_GetFont, 3490). --define(wxSystemSettings_GetMetric, 3491). --define(wxSystemSettings_GetScreenType, 3492). --define(wxSystemOptions_GetOption, 3493). --define(wxSystemOptions_GetOptionInt, 3494). --define(wxSystemOptions_HasOption, 3495). --define(wxSystemOptions_IsFalse, 3496). --define(wxSystemOptions_SetOption_2_1, 3497). --define(wxSystemOptions_SetOption_2_0, 3498). --define(wxAuiNotebookEvent_SetSelection, 3499). --define(wxAuiNotebookEvent_GetSelection, 3500). --define(wxAuiNotebookEvent_SetOldSelection, 3501). --define(wxAuiNotebookEvent_GetOldSelection, 3502). --define(wxAuiNotebookEvent_SetDragSource, 3503). --define(wxAuiNotebookEvent_GetDragSource, 3504). --define(wxAuiManagerEvent_SetManager, 3505). --define(wxAuiManagerEvent_GetManager, 3506). --define(wxAuiManagerEvent_SetPane, 3507). --define(wxAuiManagerEvent_GetPane, 3508). --define(wxAuiManagerEvent_SetButton, 3509). --define(wxAuiManagerEvent_GetButton, 3510). --define(wxAuiManagerEvent_SetDC, 3511). --define(wxAuiManagerEvent_GetDC, 3512). --define(wxAuiManagerEvent_Veto, 3513). --define(wxAuiManagerEvent_GetVeto, 3514). --define(wxAuiManagerEvent_SetCanVeto, 3515). --define(wxAuiManagerEvent_CanVeto, 3516). --define(wxLogNull_new, 3517). --define(wxLogNull_destroy, 3518). --define(wxTaskBarIcon_new, 3519). --define(wxTaskBarIcon_destruct, 3520). --define(wxTaskBarIcon_PopupMenu, 3521). --define(wxTaskBarIcon_RemoveIcon, 3522). --define(wxTaskBarIcon_SetIcon, 3523). +-define(wxStyledTextCtrl_SetEdgeMode, 3273). +-define(wxStyledTextCtrl_GetEdgeMode, 3274). +-define(wxStyledTextCtrl_GetEdgeColour, 3275). +-define(wxStyledTextCtrl_SetEdgeColour, 3276). +-define(wxStyledTextCtrl_SearchAnchor, 3277). +-define(wxStyledTextCtrl_SearchNext, 3278). +-define(wxStyledTextCtrl_SearchPrev, 3279). +-define(wxStyledTextCtrl_LinesOnScreen, 3280). +-define(wxStyledTextCtrl_UsePopUp, 3281). +-define(wxStyledTextCtrl_SelectionIsRectangle, 3282). +-define(wxStyledTextCtrl_SetZoom, 3283). +-define(wxStyledTextCtrl_GetZoom, 3284). +-define(wxStyledTextCtrl_GetModEventMask, 3285). +-define(wxStyledTextCtrl_SetSTCFocus, 3286). +-define(wxStyledTextCtrl_GetSTCFocus, 3287). +-define(wxStyledTextCtrl_SetStatus, 3288). +-define(wxStyledTextCtrl_GetStatus, 3289). +-define(wxStyledTextCtrl_SetMouseDownCaptures, 3290). +-define(wxStyledTextCtrl_GetMouseDownCaptures, 3291). +-define(wxStyledTextCtrl_SetSTCCursor, 3292). +-define(wxStyledTextCtrl_GetSTCCursor, 3293). +-define(wxStyledTextCtrl_SetControlCharSymbol, 3294). +-define(wxStyledTextCtrl_GetControlCharSymbol, 3295). +-define(wxStyledTextCtrl_WordPartLeft, 3296). +-define(wxStyledTextCtrl_WordPartLeftExtend, 3297). +-define(wxStyledTextCtrl_WordPartRight, 3298). +-define(wxStyledTextCtrl_WordPartRightExtend, 3299). +-define(wxStyledTextCtrl_SetVisiblePolicy, 3300). +-define(wxStyledTextCtrl_DelLineLeft, 3301). +-define(wxStyledTextCtrl_DelLineRight, 3302). +-define(wxStyledTextCtrl_GetXOffset, 3303). +-define(wxStyledTextCtrl_ChooseCaretX, 3304). +-define(wxStyledTextCtrl_SetXCaretPolicy, 3305). +-define(wxStyledTextCtrl_SetYCaretPolicy, 3306). +-define(wxStyledTextCtrl_GetPrintWrapMode, 3307). +-define(wxStyledTextCtrl_SetHotspotActiveForeground, 3308). +-define(wxStyledTextCtrl_SetHotspotActiveBackground, 3309). +-define(wxStyledTextCtrl_SetHotspotActiveUnderline, 3310). +-define(wxStyledTextCtrl_SetHotspotSingleLine, 3311). +-define(wxStyledTextCtrl_ParaDownExtend, 3312). +-define(wxStyledTextCtrl_ParaUp, 3313). +-define(wxStyledTextCtrl_ParaUpExtend, 3314). +-define(wxStyledTextCtrl_PositionBefore, 3315). +-define(wxStyledTextCtrl_PositionAfter, 3316). +-define(wxStyledTextCtrl_CopyRange, 3317). +-define(wxStyledTextCtrl_CopyText, 3318). +-define(wxStyledTextCtrl_SetSelectionMode, 3319). +-define(wxStyledTextCtrl_GetSelectionMode, 3320). +-define(wxStyledTextCtrl_LineDownRectExtend, 3321). +-define(wxStyledTextCtrl_LineUpRectExtend, 3322). +-define(wxStyledTextCtrl_CharLeftRectExtend, 3323). +-define(wxStyledTextCtrl_CharRightRectExtend, 3324). +-define(wxStyledTextCtrl_HomeRectExtend, 3325). +-define(wxStyledTextCtrl_VCHomeRectExtend, 3326). +-define(wxStyledTextCtrl_LineEndRectExtend, 3327). +-define(wxStyledTextCtrl_PageUpRectExtend, 3328). +-define(wxStyledTextCtrl_PageDownRectExtend, 3329). +-define(wxStyledTextCtrl_StutteredPageUp, 3330). +-define(wxStyledTextCtrl_StutteredPageUpExtend, 3331). +-define(wxStyledTextCtrl_StutteredPageDown, 3332). +-define(wxStyledTextCtrl_StutteredPageDownExtend, 3333). +-define(wxStyledTextCtrl_WordLeftEnd, 3334). +-define(wxStyledTextCtrl_WordLeftEndExtend, 3335). +-define(wxStyledTextCtrl_WordRightEnd, 3336). +-define(wxStyledTextCtrl_WordRightEndExtend, 3337). +-define(wxStyledTextCtrl_SetWhitespaceChars, 3338). +-define(wxStyledTextCtrl_SetCharsDefault, 3339). +-define(wxStyledTextCtrl_AutoCompGetCurrent, 3340). +-define(wxStyledTextCtrl_Allocate, 3341). +-define(wxStyledTextCtrl_FindColumn, 3342). +-define(wxStyledTextCtrl_GetCaretSticky, 3343). +-define(wxStyledTextCtrl_SetCaretSticky, 3344). +-define(wxStyledTextCtrl_ToggleCaretSticky, 3345). +-define(wxStyledTextCtrl_SetPasteConvertEndings, 3346). +-define(wxStyledTextCtrl_GetPasteConvertEndings, 3347). +-define(wxStyledTextCtrl_SelectionDuplicate, 3348). +-define(wxStyledTextCtrl_SetCaretLineBackAlpha, 3349). +-define(wxStyledTextCtrl_GetCaretLineBackAlpha, 3350). +-define(wxStyledTextCtrl_StartRecord, 3351). +-define(wxStyledTextCtrl_StopRecord, 3352). +-define(wxStyledTextCtrl_SetLexer, 3353). +-define(wxStyledTextCtrl_GetLexer, 3354). +-define(wxStyledTextCtrl_Colourise, 3355). +-define(wxStyledTextCtrl_SetProperty, 3356). +-define(wxStyledTextCtrl_SetKeyWords, 3357). +-define(wxStyledTextCtrl_SetLexerLanguage, 3358). +-define(wxStyledTextCtrl_GetProperty, 3359). +-define(wxStyledTextCtrl_GetStyleBitsNeeded, 3360). +-define(wxStyledTextCtrl_GetCurrentLine, 3361). +-define(wxStyledTextCtrl_StyleSetSpec, 3362). +-define(wxStyledTextCtrl_StyleSetFont, 3363). +-define(wxStyledTextCtrl_StyleSetFontAttr, 3364). +-define(wxStyledTextCtrl_StyleSetCharacterSet, 3365). +-define(wxStyledTextCtrl_StyleSetFontEncoding, 3366). +-define(wxStyledTextCtrl_CmdKeyExecute, 3367). +-define(wxStyledTextCtrl_SetMargins, 3368). +-define(wxStyledTextCtrl_GetSelection, 3369). +-define(wxStyledTextCtrl_PointFromPosition, 3370). +-define(wxStyledTextCtrl_ScrollToLine, 3371). +-define(wxStyledTextCtrl_ScrollToColumn, 3372). +-define(wxStyledTextCtrl_SendMsg, 3373). +-define(wxStyledTextCtrl_SetVScrollBar, 3374). +-define(wxStyledTextCtrl_SetHScrollBar, 3375). +-define(wxStyledTextCtrl_GetLastKeydownProcessed, 3376). +-define(wxStyledTextCtrl_SetLastKeydownProcessed, 3377). +-define(wxStyledTextCtrl_SaveFile, 3378). +-define(wxStyledTextCtrl_LoadFile, 3379). +-define(wxStyledTextCtrl_DoDragOver, 3380). +-define(wxStyledTextCtrl_DoDropText, 3381). +-define(wxStyledTextCtrl_GetUseAntiAliasing, 3382). +-define(wxStyledTextCtrl_AddTextRaw, 3383). +-define(wxStyledTextCtrl_InsertTextRaw, 3384). +-define(wxStyledTextCtrl_GetCurLineRaw, 3385). +-define(wxStyledTextCtrl_GetLineRaw, 3386). +-define(wxStyledTextCtrl_GetSelectedTextRaw, 3387). +-define(wxStyledTextCtrl_GetTextRangeRaw, 3388). +-define(wxStyledTextCtrl_SetTextRaw, 3389). +-define(wxStyledTextCtrl_GetTextRaw, 3390). +-define(wxStyledTextCtrl_AppendTextRaw, 3391). +-define(wxArtProvider_GetBitmap, 3392). +-define(wxArtProvider_GetIcon, 3393). +-define(wxTreeEvent_GetKeyCode, 3394). +-define(wxTreeEvent_GetItem, 3395). +-define(wxTreeEvent_GetKeyEvent, 3396). +-define(wxTreeEvent_GetLabel, 3397). +-define(wxTreeEvent_GetOldItem, 3398). +-define(wxTreeEvent_GetPoint, 3399). +-define(wxTreeEvent_IsEditCancelled, 3400). +-define(wxTreeEvent_SetToolTip, 3401). +-define(wxNotebookEvent_GetOldSelection, 3402). +-define(wxNotebookEvent_GetSelection, 3403). +-define(wxNotebookEvent_SetOldSelection, 3404). +-define(wxNotebookEvent_SetSelection, 3405). +-define(wxFileDataObject_new, 3406). +-define(wxFileDataObject_AddFile, 3407). +-define(wxFileDataObject_GetFilenames, 3408). +-define(wxFileDataObject_destroy, 3409). +-define(wxTextDataObject_new, 3410). +-define(wxTextDataObject_GetTextLength, 3411). +-define(wxTextDataObject_GetText, 3412). +-define(wxTextDataObject_SetText, 3413). +-define(wxTextDataObject_destroy, 3414). +-define(wxBitmapDataObject_new_1_1, 3415). +-define(wxBitmapDataObject_new_1_0, 3416). +-define(wxBitmapDataObject_GetBitmap, 3417). +-define(wxBitmapDataObject_SetBitmap, 3418). +-define(wxBitmapDataObject_destroy, 3419). +-define(wxClipboard_new, 3421). +-define(wxClipboard_destruct, 3422). +-define(wxClipboard_AddData, 3423). +-define(wxClipboard_Clear, 3424). +-define(wxClipboard_Close, 3425). +-define(wxClipboard_Flush, 3426). +-define(wxClipboard_GetData, 3427). +-define(wxClipboard_IsOpened, 3428). +-define(wxClipboard_Open, 3429). +-define(wxClipboard_SetData, 3430). +-define(wxClipboard_UsePrimarySelection, 3432). +-define(wxClipboard_IsSupported, 3433). +-define(wxClipboard_Get, 3434). +-define(wxSpinEvent_GetPosition, 3435). +-define(wxSpinEvent_SetPosition, 3436). +-define(wxSplitterWindow_new_0, 3437). +-define(wxSplitterWindow_new_2, 3438). +-define(wxSplitterWindow_destruct, 3439). +-define(wxSplitterWindow_Create, 3440). +-define(wxSplitterWindow_GetMinimumPaneSize, 3441). +-define(wxSplitterWindow_GetSashGravity, 3442). +-define(wxSplitterWindow_GetSashPosition, 3443). +-define(wxSplitterWindow_GetSplitMode, 3444). +-define(wxSplitterWindow_GetWindow1, 3445). +-define(wxSplitterWindow_GetWindow2, 3446). +-define(wxSplitterWindow_Initialize, 3447). +-define(wxSplitterWindow_IsSplit, 3448). +-define(wxSplitterWindow_ReplaceWindow, 3449). +-define(wxSplitterWindow_SetSashGravity, 3450). +-define(wxSplitterWindow_SetSashPosition, 3451). +-define(wxSplitterWindow_SetSashSize, 3452). +-define(wxSplitterWindow_SetMinimumPaneSize, 3453). +-define(wxSplitterWindow_SetSplitMode, 3454). +-define(wxSplitterWindow_SplitHorizontally, 3455). +-define(wxSplitterWindow_SplitVertically, 3456). +-define(wxSplitterWindow_Unsplit, 3457). +-define(wxSplitterWindow_UpdateSize, 3458). +-define(wxSplitterEvent_GetSashPosition, 3459). +-define(wxSplitterEvent_GetX, 3460). +-define(wxSplitterEvent_GetY, 3461). +-define(wxSplitterEvent_GetWindowBeingRemoved, 3462). +-define(wxSplitterEvent_SetSashPosition, 3463). +-define(wxHtmlWindow_new_0, 3464). +-define(wxHtmlWindow_new_2, 3465). +-define(wxHtmlWindow_AppendToPage, 3466). +-define(wxHtmlWindow_GetOpenedAnchor, 3467). +-define(wxHtmlWindow_GetOpenedPage, 3468). +-define(wxHtmlWindow_GetOpenedPageTitle, 3469). +-define(wxHtmlWindow_GetRelatedFrame, 3470). +-define(wxHtmlWindow_HistoryBack, 3471). +-define(wxHtmlWindow_HistoryCanBack, 3472). +-define(wxHtmlWindow_HistoryCanForward, 3473). +-define(wxHtmlWindow_HistoryClear, 3474). +-define(wxHtmlWindow_HistoryForward, 3475). +-define(wxHtmlWindow_LoadFile, 3476). +-define(wxHtmlWindow_LoadPage, 3477). +-define(wxHtmlWindow_SelectAll, 3478). +-define(wxHtmlWindow_SelectionToText, 3479). +-define(wxHtmlWindow_SelectLine, 3480). +-define(wxHtmlWindow_SelectWord, 3481). +-define(wxHtmlWindow_SetBorders, 3482). +-define(wxHtmlWindow_SetFonts, 3483). +-define(wxHtmlWindow_SetPage, 3484). +-define(wxHtmlWindow_SetRelatedFrame, 3485). +-define(wxHtmlWindow_SetRelatedStatusBar, 3486). +-define(wxHtmlWindow_ToText, 3487). +-define(wxHtmlWindow_destroy, 3488). +-define(wxHtmlLinkEvent_GetLinkInfo, 3489). +-define(wxSystemSettings_GetColour, 3490). +-define(wxSystemSettings_GetFont, 3491). +-define(wxSystemSettings_GetMetric, 3492). +-define(wxSystemSettings_GetScreenType, 3493). +-define(wxSystemOptions_GetOption, 3494). +-define(wxSystemOptions_GetOptionInt, 3495). +-define(wxSystemOptions_HasOption, 3496). +-define(wxSystemOptions_IsFalse, 3497). +-define(wxSystemOptions_SetOption_2_1, 3498). +-define(wxSystemOptions_SetOption_2_0, 3499). +-define(wxAuiNotebookEvent_SetSelection, 3500). +-define(wxAuiNotebookEvent_GetSelection, 3501). +-define(wxAuiNotebookEvent_SetOldSelection, 3502). +-define(wxAuiNotebookEvent_GetOldSelection, 3503). +-define(wxAuiNotebookEvent_SetDragSource, 3504). +-define(wxAuiNotebookEvent_GetDragSource, 3505). +-define(wxAuiManagerEvent_SetManager, 3506). +-define(wxAuiManagerEvent_GetManager, 3507). +-define(wxAuiManagerEvent_SetPane, 3508). +-define(wxAuiManagerEvent_GetPane, 3509). +-define(wxAuiManagerEvent_SetButton, 3510). +-define(wxAuiManagerEvent_GetButton, 3511). +-define(wxAuiManagerEvent_SetDC, 3512). +-define(wxAuiManagerEvent_GetDC, 3513). +-define(wxAuiManagerEvent_Veto, 3514). +-define(wxAuiManagerEvent_GetVeto, 3515). +-define(wxAuiManagerEvent_SetCanVeto, 3516). +-define(wxAuiManagerEvent_CanVeto, 3517). +-define(wxLogNull_new, 3518). +-define(wxLogNull_destroy, 3519). +-define(wxTaskBarIcon_new, 3520). +-define(wxTaskBarIcon_destruct, 3521). +-define(wxTaskBarIcon_PopupMenu, 3522). +-define(wxTaskBarIcon_RemoveIcon, 3523). +-define(wxTaskBarIcon_SetIcon, 3524). -- cgit v1.2.3