X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/15dadf3155f879f8c5031e452566a7b1859e01e3..05dedde7d01d55cde7f13f6b6201e24b5b408344:/docs/latex/wx/cursor.tex diff --git a/docs/latex/wx/cursor.tex b/docs/latex/wx/cursor.tex index fa34e256cb..bd41f87446 100644 --- a/docs/latex/wx/cursor.tex +++ b/docs/latex/wx/cursor.tex @@ -69,7 +69,7 @@ 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 +Constructs a cursor from a wxImage. The cursor is monochrome, 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 @@ -122,6 +122,7 @@ is enabled in setup.h). Specify {\it hotSpotX} and {\it hotSpotY}.} \twocolitem{{\bf wxCURSOR\_ARROW}}{A standard arrow cursor.} \twocolitem{{\bf wxCURSOR\_RIGHT\_ARROW}}{A standard arrow cursor pointing to the right.} +\twocolitem{{\bf wxCURSOR\_BLANK}}{Transparent cursor.} \twocolitem{{\bf wxCURSOR\_BULLSEYE}}{Bullseye cursor.} \twocolitem{{\bf wxCURSOR\_CHAR}}{Rectangular character cursor.} \twocolitem{{\bf wxCURSOR\_CROSS}}{A cross cursor.} @@ -161,10 +162,12 @@ hotSpotY=0)}}{Constructs a cursor from a filename} \end{twocollist}} } -\perlnote{Contructors supported by wxPerl are:\par +\perlnote{Constructors supported by wxPerl are:\par \begin{itemize} \item{Wx::Cursor->new( name, type, hotSpotX = 0, hotSpotY = 0 )} \item{Wx::Cursor->new( id )} +\item{Wx::Cursor->new( image )} +\item{Wx::Cursor->newData( bits, width, height, hotSpotX = -1, hotSpotY = -1, maskBits = 0 )} \end{itemize} }