X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fc2171bd4c660b8554dae2a1cbf34ff09f3032a6..62f4313b72a110a7a1afdbc34f7aaa755f995828:/docs/latex/wx/cursor.tex?ds=sidebyside diff --git a/docs/latex/wx/cursor.tex b/docs/latex/wx/cursor.tex index 52b1ddc48b..a27b660288 100644 --- a/docs/latex/wx/cursor.tex +++ b/docs/latex/wx/cursor.tex @@ -43,7 +43,7 @@ wxCROSS\_CURSOR} \latexignore{\rtfignore{\wxheading{Members}}} -\membersection{wxCursor::wxCursor}\label{wxcursorconstr} +\membersection{wxCursor::wxCursor}\label{wxcursorctor} \func{}{wxCursor}{\void} @@ -77,14 +77,14 @@ Constructs a cursor using a cursor identifier. 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 +In MSW the foreground will be white and the background black. If the cursor is larger than 32x32 it is resized. 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. -On MacOS the cursor is resized to 16x16 and currently only shown as black/white (mask respected). +On MacOS if the cursor is larger than 16x16 it is resized and currently only shown as black/white (mask respected). \func{}{wxCursor}{\param{const wxCursor\&}{ cursor}} -Copy constructor. This uses reference counting so is a cheap operation. +Copy constructor, uses \helpref{reference counting}{trefcount}. \wxheading{Parameters} @@ -225,7 +225,7 @@ wxCursor down_cursor = wxCursor(down_bits, 32, 32, #endif \end{verbatim} -\membersection{wxCursor::\destruct{wxCursor}} +\membersection{wxCursor::\destruct{wxCursor}}\label{wxcursordtor} \func{}{\destruct{wxCursor}}{\void} @@ -234,9 +234,9 @@ than one window, and does not get destroyed when the window is destroyed. wxWidgets destroys all cursors on application exit, although it is best to clean them up explicitly. -\membersection{wxCursor::Ok}\label{wxcursorok} +\membersection{wxCursor::IsOk}\label{wxcursorisok} -\constfunc{bool}{Ok}{\void} +\constfunc{bool}{IsOk}{\void} Returns true if cursor data is present. @@ -244,8 +244,7 @@ Returns true if cursor data is present. \func{wxCursor\&}{operator $=$}{\param{const wxCursor\& }{cursor}} -Assignment operator, using reference counting. Returns a reference -to `this'. +Assignment operator, using \helpref{reference counting}{trefcount}. \membersection{wxCursor::operator $==$}\label{wxcursorequals}