X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/98b100e27138c9d0ea27c5c993177d8dd2a233d7..9804d5404a9607cda3d08ec8225f52f78b78bc72:/docs/latex/wx/cursor.tex diff --git a/docs/latex/wx/cursor.tex b/docs/latex/wx/cursor.tex index e5c66884f6..3f3d1a5d24 100644 --- a/docs/latex/wx/cursor.tex +++ b/docs/latex/wx/cursor.tex @@ -10,7 +10,7 @@ conditional compilation will probably be required (see \helpref{wxIcon}{wxicon} an example). A single cursor object may be used in many windows (any subwindow type). -The wxWindows convention is to set the cursor for a window, as in X, +The wxWidgets convention is to set the cursor for a window, as in X, rather than to set it globally as in MS Windows, although a global \helpref{::wxSetCursor}{wxsetcursor} is also available for MS Windows use. @@ -43,7 +43,7 @@ wxCROSS\_CURSOR} \latexignore{\rtfignore{\wxheading{Members}}} -\membersection{wxCursor::wxCursor}\label{wxcursorconstr} +\membersection{wxCursor::wxCursor}\label{wxcursorctor} \func{}{wxCursor}{\void} @@ -54,7 +54,7 @@ Default constructor. \param{wxColour*}{ fg=NULL}, \param{wxColour*}{ bg=NULL}} Constructs a cursor by passing an array of bits (Motif and GTK+ only). {\it maskBits} is used only under -Motif and GTK+. The parameters {\it fg} and {\bg } are only present on GTK+, and force the +Motif and GTK+. The parameters {\it fg} and {\it bg} are only present on GTK+, and force the cursor to use particular background and foreground colours. If either {\it hotSpotX} or {\it hotSpotY} is -1, the hotspot will be the centre of the cursor image (Motif only). @@ -77,10 +77,10 @@ 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}} @@ -225,13 +225,13 @@ 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} Destroys the cursor. A cursor can be reused for more than one window, and does not get destroyed when the window is -destroyed. wxWindows destroys all cursors on application exit, although +destroyed. wxWidgets destroys all cursors on application exit, although it is best to clean them up explicitly. \membersection{wxCursor::Ok}\label{wxcursorok}