X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5873607e5c6d255f5692cc37637551eaeb2e4472..d65c269b3f665e15a8ae1b8fff063b2ec0ef19a7:/docs/latex/wx/cursor.tex?ds=sidebyside diff --git a/docs/latex/wx/cursor.tex b/docs/latex/wx/cursor.tex index bbc3c38daa..fa34e256cb 100644 --- a/docs/latex/wx/cursor.tex +++ b/docs/latex/wx/cursor.tex @@ -67,6 +67,15 @@ icon file, to specify the cursor hotspot relative to the top left of the image. Constructs a cursor using a cursor identifier. +\func{}{wxCursor}{\param{const wxImage\&}{ image}} + +Constructs a cursor from a wxImage. The cursor is monochome, colors with the RGB elements all greater +than 127 will be foreground, colors less than this background. The mask (if any) will be used as transparent. + +In MSW the foreground will be white and the background black. The cursor is resized to 32x32 +In GTK, the two most frequent colors will be used for foreground and background. The cursor will be displayed +at the size of the image. + \func{}{wxCursor}{\param{const wxCursor\&}{ cursor}} Copy constructor. This uses reference counting so is a cheap operation. @@ -111,6 +120,8 @@ is enabled in setup.h). Specify {\it hotSpotX} and {\it hotSpotY}.} \twocolwidtha{6cm} \begin{twocollist}\itemsep=0pt \twocolitem{{\bf wxCURSOR\_ARROW}}{A standard arrow cursor.} +\twocolitem{{\bf wxCURSOR\_RIGHT\_ARROW}}{A standard arrow cursor +pointing to the right.} \twocolitem{{\bf wxCURSOR\_BULLSEYE}}{Bullseye cursor.} \twocolitem{{\bf wxCURSOR\_CHAR}}{Rectangular character cursor.} \twocolitem{{\bf wxCURSOR\_CROSS}}{A cross cursor.} @@ -134,6 +145,8 @@ is enabled in setup.h). Specify {\it hotSpotX} and {\it hotSpotY}.} \twocolitem{{\bf wxCURSOR\_SPRAYCAN}}{A spraycan cursor.} \twocolitem{{\bf wxCURSOR\_WAIT}}{A wait cursor.} \twocolitem{{\bf wxCURSOR\_WATCH}}{A watch cursor.} +\twocolitem{{\bf wxCURSOR\_ARROWWAIT}}{A cursor with both an arrow and +an hourglass, (windows.)} \end{twocollist}\twocolwidtha{5cm} Note that not all cursors are available on all platforms.}