From: John L. <jr...@us...> - 2007-06-27 03:12:02
|
Update of /cvsroot/wxlua/wxLua/docs In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv13326/wxLua/docs Modified Files: wxluaref.html Log Message: Unicode compilation fix for genwxbind Add wxRenderer to bindings Index: wxluaref.html =================================================================== RCS file: /cvsroot/wxlua/wxLua/docs/wxluaref.html,v retrieving revision 1.34 retrieving revision 1.35 diff -C2 -d -r1.34 -r1.35 *** wxluaref.html 26 Jun 2007 16:15:48 -0000 1.34 --- wxluaref.html 27 Jun 2007 03:11:27 -0000 1.35 *************** *** 1394,1397 **** --- 1394,1402 ---- <td>Lua tables are hash tables <tr> + <td><a href="#wxHeaderButtonParams">wxHeaderButtonParams</a> + <td bgcolor=FFAAAA> + <td align="center" bgcolor=AAFFAA>X + <td> + <tr> <td><a href="#wxHelpController">wxHelpController</a> <td align="center" bgcolor=AAFFAA>X *************** *** 1674,1677 **** --- 1679,1687 ---- <td> <tr> + <td><a href="#wxLanguageInfo">wxLanguageInfo</a> + <td bgcolor=FFAAAA> + <td align="center" bgcolor=AAFFAA>X + <td> + <tr> <td><a href="#wxLayoutAlgorithm">wxLayoutAlgorithm</a> <td align="center" bgcolor=AAFFAA>X *************** *** 2344,2355 **** <td> <tr> ! <td>wxRendererNative <td align="center" bgcolor=AAFFAA>X - <td bgcolor=FFAAAA> <td> <tr> ! <td>wxRendererVersion <td align="center" bgcolor=AAFFAA>X - <td bgcolor=FFAAAA> <td> <tr> --- 2354,2365 ---- <td> <tr> ! <td><a href="#wxRendererNative">wxRendererNative</a> ! <td align="center" bgcolor=AAFFAA>X <td align="center" bgcolor=AAFFAA>X <td> <tr> ! <td><a href="#wxRendererVersion">wxRendererVersion</a> ! <td align="center" bgcolor=AAFFAA>X <td align="center" bgcolor=AAFFAA>X <td> <tr> *************** *** 2669,2675 **** <td> <tr> ! <td>wxSplitterRenderParams <td align="center" bgcolor=AAFFAA>X - <td bgcolor=FFAAAA> <td> <tr> --- 2679,2685 ---- <td> <tr> ! <td><a href="#wxSplitterRenderParams">wxSplitterRenderParams</a> ! <td align="center" bgcolor=AAFFAA>X <td align="center" bgcolor=AAFFAA>X <td> <tr> *************** *** 3296,3299 **** --- 3306,3310 ---- <a href="#wxGridCellAttr::wxAttrKind">wxGridCellAttr::wxAttrKind</a><br> <a href="#wxGridTableRequest">wxGridTableRequest</a><br> + <a href="#wxHeaderSortIconType">wxHeaderSortIconType</a><br> <a href="#wxHelpEvent::Origin">wxHelpEvent::Origin</a><br> <a href="#wxHelpSearchMode">wxHelpSearchMode</a><br> *************** *** 3334,3337 **** --- 3345,3349 ---- <a href="#wxRegionContain">wxRegionContain</a><br> <a href="#wxRelationship">wxRelationship</a><br> + <a href="#wxRendererVersion::dummy">wxRendererVersion::dummy</a><br> <a href="#wxSashDragStatus">wxSashDragStatus</a><br> <a href="#wxSashEdgePosition">wxSashEdgePosition</a><br> *************** *** 7695,7700 **** </blockquote><font color=#0066CC><i>%endenum</i></font><br> <br> ! <b><font size=+1 color=#DD0000><i>%struct</i> <a name="wxLanguageInfo">wxLanguageInfo</a></font></b> <blockquote> <font color=#CC6600> <i>%member</i> int Language; <font color=#009900>// <a href="#wxLanguage">wxLanguage</a> id</font></font><br> <font color=#CC6600> <i>%member</i> <a href="#wxString">wxString</a> CanonicalName; <font color=#009900>// Canonical name, e.g. fr_FR</font></font><br> --- 7707,7714 ---- </blockquote><font color=#0066CC><i>%endenum</i></font><br> <br> ! <b><font size=+1 color=#DD0000><i>%struct</i> <i>%delete</i> <i>%encapsulate</i> <a name="wxLanguageInfo">wxLanguageInfo</a></font></b> <blockquote> + <a href="#wxLanguageInfo">wxLanguageInfo</a>() <font color=#009900>// you must set all the values by hand</font><br> + <br> <font color=#CC6600> <i>%member</i> int Language; <font color=#009900>// <a href="#wxLanguage">wxLanguage</a> id</font></font><br> <font color=#CC6600> <i>%member</i> <a href="#wxString">wxString</a> CanonicalName; <font color=#009900>// Canonical name, e.g. fr_FR</font></font><br> *************** *** 7825,7832 **** <font color=#AA0000><i>%function</i> <a href="#wxLocale">wxLocale</a>* wxGetLocale()</font><br> <br> ! <font color=#AA0000><i>%wxchkver_2_8</i> <i>%function</i> <a href="#wxString">wxString</a> wxGetTranslation(const <a href="#wxString">wxString</a>& sz, const <a href="#wxString">wxString</a>& domain="")</font><br> <font color=#AA0000>!<i>%wxchkver_2_8</i> <i>%function</i> <a href="#wxString">wxString</a> wxGetTranslation(const <a href="#wxString">wxString</a>& sz)</font><br> <br> ! <font color=#990099><i>%wxchkver_2_8</i> <i>%rename</i> wxGetTranslationPlural <i>%function</i> <a href="#wxString">wxString</a> wxGetTranslation(const <a href="#wxString">wxString</a>& sz1, const <a href="#wxString">wxString</a>& sz2, size_t n, const <a href="#wxString">wxString</a>& domain="")</font><br> <font color=#990099>!<i>%wxchkver_2_8</i> <i>%rename</i> wxGetTranslationPlural <i>%function</i> <a href="#wxString">wxString</a> wxGetTranslation(const <a href="#wxString">wxString</a>& sz1, const <a href="#wxString">wxString</a>& sz2, size_t n)</font><br> <br> --- 7839,7846 ---- <font color=#AA0000><i>%function</i> <a href="#wxLocale">wxLocale</a>* wxGetLocale()</font><br> <br> ! <font color=#AA0000><i>%wxchkver_2_8</i> <i>%function</i> <a href="#wxString">wxString</a> wxGetTranslation(const <a href="#wxString">wxString</a>& sz, const wxChar* domain=NULL)</font><br> <font color=#AA0000>!<i>%wxchkver_2_8</i> <i>%function</i> <a href="#wxString">wxString</a> wxGetTranslation(const <a href="#wxString">wxString</a>& sz)</font><br> <br> ! <font color=#990099><i>%wxchkver_2_8</i> <i>%rename</i> wxGetTranslationPlural <i>%function</i> <a href="#wxString">wxString</a> wxGetTranslation(const <a href="#wxString">wxString</a>& sz1, const <a href="#wxString">wxString</a>& sz2, size_t n, const wxChar* domain=NULL)</font><br> <font color=#990099>!<i>%wxchkver_2_8</i> <i>%rename</i> wxGetTranslationPlural <i>%function</i> <a href="#wxString">wxString</a> wxGetTranslation(const <a href="#wxString">wxString</a>& sz1, const <a href="#wxString">wxString</a>& sz2, size_t n)</font><br> <br> *************** *** 12809,12812 **** --- 12823,13005 ---- <br> <i>%endif</i> <font color=#009900>// <i>%wxchkver_2_8</i> && wxLUA_USE_wxAnimation && wxUSE_ANIMATIONCTRL</font><br> + <br> + <font color=#009900>// ---------------------------------------------------------------------------</font><br> + <font color=#009900>// wxRenderer</font><br> + <br> + <i>%if</i> wxLUA_USE_wxRenderer<br> + <br> + <i>%include</i> "wx/renderer.h"<br> + <br> + <font color=#006666><i>%wxHAS_NATIVE_RENDERER</i> <i>%define</i> wxHAS_NATIVE_RENDERER 1</font><br> + <br> + <b><font size=+1 color=#0066CC><i>%enum</i></font></b> + <blockquote><font color=#0066CC> + wxCONTROL_DISABLED <font color=#009900>//= 0x00000001, // control is disabled</font><br> + wxCONTROL_FOCUSED <font color=#009900>//= 0x00000002, // currently has keyboard focus</font><br> + wxCONTROL_PRESSED <font color=#009900>//= 0x00000004, // (button) is pressed</font><br> + wxCONTROL_SPECIAL <font color=#009900>//= 0x00000008, // control-specific bit:</font><br> + wxCONTROL_ISDEFAULT <font color=#009900>//= wxCONTROL_SPECIAL, // only for the buttons</font><br> + wxCONTROL_ISSUBMENU <font color=#009900>//= wxCONTROL_SPECIAL, // only for the menu items</font><br> + wxCONTROL_EXPANDED <font color=#009900>//= wxCONTROL_SPECIAL, // only for the tree items</font><br> + wxCONTROL_SIZEGRIP <font color=#009900>//= wxCONTROL_SPECIAL, // only for the status bar panes</font><br> + wxCONTROL_CURRENT <font color=#009900>//= 0x00000010, // mouse is currently over the control</font><br> + wxCONTROL_SELECTED <font color=#009900>//= 0x00000020, // selected item in e.g. listbox</font><br> + wxCONTROL_CHECKED <font color=#009900>//= 0x00000040, // (check/radio button) is checked</font><br> + wxCONTROL_CHECKABLE <font color=#009900>//= 0x00000080, // (menu) item can be checked</font><br> + wxCONTROL_UNDETERMINED <font color=#009900>//= wxCONTROL_CHECKABLE, // (check) undetermined state</font><br> + <br> + wxCONTROL_FLAGS_MASK <font color=#009900>//= 0x000000ff,</font><br> + <br> + <font color=#009900>// this is a pseudo flag not used directly by wxRenderer but rather by some</font><br> + <font color=#009900>// controls internally</font><br> + wxCONTROL_DIRTY <font color=#009900>//= 0x80000000</font><br> + </font> + </blockquote><font color=#0066CC><i>%endenum</i></font><br> + <br> + <b><font size=+1 color=#DD0000><i>%struct</i> <i>%delete</i> <i>%encapsulate</i> <a name="wxSplitterRenderParams">wxSplitterRenderParams</a></font></b> + <blockquote> + <font color=#009900>// the only way to initialize this struct is by using this ctor</font><br> + <a href="#wxSplitterRenderParams">wxSplitterRenderParams</a>(wxCoord widthSash_, wxCoord border_, bool isSens_)<br> + <br> + <font color=#CC6600> <i>%member</i> const wxCoord widthSash <font color=#009900>// the width of the splitter sash</font></font><br> + <font color=#CC6600> <i>%member</i> const wxCoord border <font color=#009900>// the width of the border of the splitter window</font></font><br> + <font color=#CC6600> <i>%member</i> const bool isHotSensitive <font color=#009900>// true if the splitter changes its appearance when the mouse is over it</font></font><br> + </blockquote><font color=#DD0000><font color=#DD0000><i>%endstruct</i></font></font><br> + <br> + <br> + <font color=#009900>// extra optional parameters for DrawHeaderButton</font><br> + <b><font size=+1 color=#DD0000><i>%struct</i> <i>%delete</i> <i>%encapsulate</i> <a name="wxHeaderButtonParams">wxHeaderButtonParams</a></font></b> + <blockquote> + <a href="#wxHeaderButtonParams">wxHeaderButtonParams</a>()<br> + <br> + <font color=#CC6600> <i>%member</i> <a href="#wxColour">wxColour</a> m_arrowColour;</font><br> + <font color=#CC6600> <i>%member</i> <a href="#wxColour">wxColour</a> m_selectionColour;</font><br> + <font color=#CC6600> <i>%member</i> <a href="#wxString">wxString</a> m_labelText;</font><br> + <font color=#CC6600> <i>%member</i> <a href="#wxFont">wxFont</a> m_labelFont;</font><br> + <font color=#CC6600> <i>%member</i> <a href="#wxColour">wxColour</a> m_labelColour;</font><br> + <font color=#CC6600> <i>%member</i> <a href="#wxBitmap">wxBitmap</a> m_labelBitmap;</font><br> + <font color=#CC6600> <i>%member</i> int m_labelAlignment;</font><br> + </blockquote><font color=#DD0000><font color=#DD0000><i>%endstruct</i></font></font><br> + <br> + <b><font size=+1 color=#0066CC><i>%enum</i> <a name="wxHeaderSortIconType">wxHeaderSortIconType</a></font></b> + <blockquote><font color=#0066CC> + wxHDR_SORT_ICON_NONE, <font color=#009900>// Header button has no sort arrow</font><br> + wxHDR_SORT_ICON_UP, <font color=#009900>// Header button an an up sort arrow icon</font><br> + wxHDR_SORT_ICON_DOWN <font color=#009900>// Header button an a down sort arrow icon</font><br> + </font> + </blockquote><font color=#0066CC><i>%endenum</i></font><br> + <br> + <font color=#009900>// the current version and age of <a href="#wxRendererNative">wxRendererNative</a> interface: different</font><br> + <font color=#009900>// versions are incompatible (in both ways) while the ages inside the same</font><br> + <font color=#009900>// version are upwards compatible, i.e. the version of the renderer must</font><br> + <font color=#009900>// match the version of the main program exactly while the age may be</font><br> + <font color=#009900>// highergreater or equal to it</font><br> + <b><font size=+1 color=#0066CC><i>%enum</i> <a name="wxRendererVersion::dummy">wxRendererVersion::dummy</a></font></b> + <blockquote><font color=#0066CC> + Current_Version <font color=#009900>//= 1,</font><br> + Current_Age <font color=#009900>//= 5</font><br> + </font> + </blockquote><font color=#0066CC><i>%endenum</i></font><br> + <br> + <font color=#009900>// <a href="#wxRendererNative">wxRendererNative</a> interface version</font><br> + <b><font size=+1 color=#DD0000><i>%struct</i> <i>%delete</i> <i>%encapsulate</i> <a name="wxRendererVersion">wxRendererVersion</a></font></b> + <blockquote> + <a href="#wxRendererVersion">wxRendererVersion</a>(int version_, int age_)<br> + <br> + <font color=#009900>// check if the given version is compatible with the current one</font><br> + static bool IsCompatible(const <a href="#wxRendererVersion">wxRendererVersion</a>& ver)<br> + <br> + <font color=#CC6600> <i>%member</i> const int version;</font><br> + <font color=#CC6600> <i>%member</i> const int age;</font><br> + </blockquote><font color=#DD0000><font color=#DD0000><i>%endstruct</i></font></font><br> + <br> + <br> + <b><font size=+1 color=#DD0000><i>%class</i> <i>%delete</i> <i>%noclassinfo</i> <i>%encapsulate</i> <a name="wxRendererNative">wxRendererNative</a></font></b> + <blockquote> + <font color=#009900>// pseudo constructors</font><br> + <font color=#009900>// -------------------</font><br> + <font color=#009900>// return the currently used renderer</font><br> + static <a href="#wxRendererNative">wxRendererNative</a>& Get();<br> + <font color=#009900>// return the generic implementation of the renderer</font><br> + static <a href="#wxRendererNative">wxRendererNative</a>& GetGeneric();<br> + <font color=#009900>// return the default (native) implementation for this platform</font><br> + static <a href="#wxRendererNative">wxRendererNative</a>& GetDefault();<br> + <br> + <br> + <font color=#009900>// draw the header control button (used by <a href="#wxListCtrl">wxListCtrl</a>) Returns optimal</font><br> + <font color=#009900>// width for the label contents.</font><br> + virtual int DrawHeaderButton(<a href="#wxWindow">wxWindow</a> *win, <a href="#wxDC">wxDC</a>& dc, const <a href="#wxRect">wxRect</a>& rect, int flags = 0, <a href="#wxHeaderSortIconType">wxHeaderSortIconType</a> sortArrow = wxHDR_SORT_ICON_NONE, <a href="#wxHeaderButtonParams">wxHeaderButtonParams</a>* params=NULL) <font color=#009900>//= 0;</font><br> + <br> + <font color=#009900>// Draw the contents of a header control button (label, sort arrows, etc.)</font><br> + <font color=#009900>// Normally only called by DrawHeaderButton.</font><br> + virtual int DrawHeaderButtonContents(<a href="#wxWindow">wxWindow</a> *win, <a href="#wxDC">wxDC</a>& dc, const <a href="#wxRect">wxRect</a>& rect, int flags = 0, <a href="#wxHeaderSortIconType">wxHeaderSortIconType</a> sortArrow = wxHDR_SORT_ICON_NONE, <a href="#wxHeaderButtonParams">wxHeaderButtonParams</a>* params=NULL) <font color=#009900>//= 0;</font><br> + <br> + <font color=#009900>// Returns the default height of a header button, either a fixed platform</font><br> + <font color=#009900>// height if available, or a generic height based on the window's font.</font><br> + virtual int GetHeaderButtonHeight(<a href="#wxWindow">wxWindow</a> *win) <font color=#009900>//= 0;</font><br> + <br> + <font color=#009900>// draw the expanded/collapsed icon for a tree control item</font><br> + virtual void DrawTreeItemButton(<a href="#wxWindow">wxWindow</a> *win, <a href="#wxDC">wxDC</a>& dc, const <a href="#wxRect">wxRect</a>& rect, int flags = 0) <font color=#009900>//= 0;</font><br> + <br> + <font color=#009900>// draw the border for sash window: this border must be such that the sash</font><br> + <font color=#009900>// drawn by DrawSash() blends into it well</font><br> + virtual void DrawSplitterBorder(<a href="#wxWindow">wxWindow</a> *win, <a href="#wxDC">wxDC</a>& dc, const <a href="#wxRect">wxRect</a>& rect, int flags = 0) <font color=#009900>//= 0;</font><br> + <br> + <font color=#009900>// draw a (vertical) sash</font><br> + virtual void DrawSplitterSash(<a href="#wxWindow">wxWindow</a> *win, <a href="#wxDC">wxDC</a>& dc, const <a href="#wxSize">wxSize</a>& size, wxCoord position, <a href="#wxOrientation">wxOrientation</a> orient, int flags = 0) <font color=#009900>//= 0;</font><br> + <br> + <font color=#009900>// draw a combobox dropdown button</font><br> + <font color=#009900>// flags may use wxCONTROL_PRESSED and wxCONTROL_CURRENT</font><br> + virtual void DrawComboBoxDropButton(<a href="#wxWindow">wxWindow</a> *win, <a href="#wxDC">wxDC</a>& dc, const <a href="#wxRect">wxRect</a>& rect, int flags = 0) <font color=#009900>//= 0;</font><br> + <br> + <font color=#009900>// draw a dropdown arrow</font><br> + <font color=#009900>// flags may use wxCONTROL_PRESSED and wxCONTROL_CURRENT</font><br> + virtual void DrawDropArrow(<a href="#wxWindow">wxWindow</a> *win, <a href="#wxDC">wxDC</a>& dc, const <a href="#wxRect">wxRect</a>& rect, int flags = 0) <font color=#009900>//= 0;</font><br> + <br> + <font color=#009900>// draw check button</font><br> + <font color=#009900>// flags may use wxCONTROL_CHECKED, wxCONTROL_UNDETERMINED and wxCONTROL_CURRENT</font><br> + virtual void DrawCheckBox(<a href="#wxWindow">wxWindow</a> *win, <a href="#wxDC">wxDC</a>& dc, const <a href="#wxRect">wxRect</a>& rect, int flags = 0) <font color=#009900>//= 0;</font><br> + <br> + <font color=#009900>// draw blank button</font><br> + <font color=#009900>// flags may use wxCONTROL_PRESSED, wxCONTROL_CURRENT and wxCONTROL_ISDEFAULT</font><br> + virtual void DrawPushButton(<a href="#wxWindow">wxWindow</a> *win, <a href="#wxDC">wxDC</a>& dc, const <a href="#wxRect">wxRect</a>& rect, int flags = 0) <font color=#009900>//= 0;</font><br> + <br> + <font color=#009900>// draw rectangle indicating that an item in e.g. a list control has been selected or focused</font><br> + <font color=#009900>// flags may use</font><br> + <font color=#009900>// wxCONTROL_SELECTED (item is selected, e.g. draw background)</font><br> + <font color=#009900>// wxCONTROL_CURRENT (item is the current item, e.g. dotted border)</font><br> + <font color=#009900>// wxCONTROL_FOCUSED (the whole control has focus, e.g. blue background vs. grey otherwise)</font><br> + virtual void DrawItemSelectionRect(<a href="#wxWindow">wxWindow</a> *win, <a href="#wxDC">wxDC</a>& dc, const <a href="#wxRect">wxRect</a>& rect, int flags = 0) <font color=#009900>//= 0;</font><br> + <br> + <font color=#009900>// geometry functions</font><br> + <font color=#009900>// ------------------</font><br> + <br> + <font color=#009900>// get the splitter parameters: the x field of the returned point is the</font><br> + <font color=#009900>// sash width and the y field is the border width</font><br> + virtual <a href="#wxSplitterRenderParams">wxSplitterRenderParams</a> GetSplitterParams(const <a href="#wxWindow">wxWindow</a> *win) <font color=#009900>//= 0;</font><br> + <br> + <font color=#009900>// changing the global renderer</font><br> + <font color=#009900>// ----------------------------</font><br> + <br> + <i>%if</i> wxUSE_DYNLIB_CLASS<br> + <font color=#009900>// load the renderer from the specified DLL, the returned pointer must be</font><br> + <font color=#009900>// deleted by caller if not NULL when it is not used any more</font><br> + static <i>%gc</i> <a href="#wxRendererNative">wxRendererNative</a> *Load(const <a href="#wxString">wxString</a>& name);<br> + <i>%endif</i> <font color=#009900>// wxUSE_DYNLIB_CLASS</font><br> + <br> + <font color=#009900>// set the renderer to use, passing NULL reverts to using the default</font><br> + <font color=#009900>// renderer</font><br> + <font color=#009900>//</font><br> + <font color=#009900>// return the previous renderer used with Set() or NULL if none</font><br> + static <i>%gc</i> <a href="#wxRendererNative">wxRendererNative</a> *Set(<i>%ungc</i> <a href="#wxRendererNative">wxRendererNative</a> *renderer);<br> + <br> + <font color=#009900>// this function is used for version checking: Load() refuses to load any</font><br> + <font color=#009900>// DLLs implementing an older or incompatible version; it should be</font><br> + <font color=#009900>// implemented simply by returning wxRendererVersion::Current_XXX values</font><br> + virtual <a href="#wxRendererVersion">wxRendererVersion</a> GetVersion() const <font color=#009900>//= 0;</font><br> + <br> + </blockquote><font color=#DD0000><font color=#DD0000><i>%endclass</i></font></font><br> + <br> + <i>%endif</i> <font color=#009900>// wxLUA_USE_wxRenderer</font><br> <br><HR> |