Classes | |
class | wxRealPoint |
A wxRealPoint is a useful data structure for graphics operations. More... | |
class | wxRect |
A class for manipulating rectangles. More... | |
class | wxPoint |
A wxPoint is a useful data structure for graphics operations. More... | |
class | wxColourDatabase |
wxWidgets maintains a database of standard RGB colours for a predefined set of named colours. More... | |
class | wxSize |
A wxSize is a useful data structure for graphics operations. More... | |
Macros | |
#define | wxBITMAP(bitmapName) |
This macro loads a bitmap from either application resources (on the platforms for which they exist, i.e. Windows) or from an XPM file. More... | |
#define | wxBITMAP_PNG(bitmapName) |
Creates a bitmap from either application resources or embedded image data in PNG format. More... | |
#define | wxBITMAP_PNG_FROM_DATA(bitmapName) |
Creates a bitmap from embedded image data in PNG format. More... | |
#define | wxICON(iconName) |
This macro loads an icon from either application resources (on the platforms for which they exist, i.e. Windows) or from an XPM file. More... | |
Functions | |
bool | wxColourDisplay () |
Returns true if the display is colour, false otherwise. More... | |
int | wxDisplayDepth () |
Returns the depth of the display (a value of 1 denotes a monochrome display). More... | |
void | wxSetCursor (const wxCursor &cursor) |
Globally sets the cursor; only has an effect on Windows, Mac and GTK+. More... | |
void | wxClientDisplayRect (int *x, int *y, int *width, int *height) |
Returns the dimensions of the work area on the display. More... | |
wxRect | wxGetClientDisplayRect () |
Returns the dimensions of the work area on the display. More... | |
wxSize | wxGetDisplayPPI () |
Returns the display resolution in pixels per inch. More... | |
void | wxDisplaySize (int *width, int *height) |
Returns the display size in pixels. More... | |
wxSize | wxGetDisplaySize () |
Returns the display size in pixels. More... | |
void | wxDisplaySizeMM (int *width, int *height) |
Returns the display size in millimeters. More... | |
wxSize | wxGetDisplaySizeMM () |
Returns the display size in millimeters. More... | |
Variables | |
const wxPoint | wxDefaultPosition |
Global instance of a wxPoint initialized with values (-1,-1). More... | |
wxColourDatabase * | wxTheColourDatabase |
Global instance of a wxColourDatabase. More... | |
const wxSize | wxDefaultSize |
Global instance of a wxSize object initialized to (-1,-1). More... | |
enum wxBitmapType |
Bitmap type flags.
See wxBitmap and wxImage classes.
enum wxEllipsizeFlags |
Flags used by wxControl::Ellipsize function.
Enumerator | |
---|---|
wxELLIPSIZE_FLAGS_NONE |
No special flags. |
wxELLIPSIZE_FLAGS_PROCESS_MNEMONICS |
Take mnemonics into account when calculating the text width. With this flag when calculating the size of the passed string, mnemonics characters (see wxControl::SetLabel) will be automatically reduced to a single character. This leads to correct calculations only if the string passed to Ellipsize() will be used with wxControl::SetLabel. If you don't want ampersand to be interpreted as mnemonics (e.g. because you use wxControl::SetLabelText) then don't use this flag. |
wxELLIPSIZE_FLAGS_EXPAND_TABS |
Expand tabs in spaces when calculating the text width. This flag tells wxControl::Ellipsize() to calculate the width of tab characters |
wxELLIPSIZE_FLAGS_DEFAULT |
The default flags for wxControl::Ellipsize. |
enum wxEllipsizeMode |
The different ellipsization modes supported by the wxControl::Ellipsize and wxRendererNative::DrawItemText() functions.
enum wxPolygonFillMode |
enum wxStockCursor |
Standard cursors.
Notice that under wxMSW some of these cursors are defined in wx.rc
file and not by the system itself so you should include this file from your own resource file (possibly creating a trivial resource file just containing a single include line if you don't need it otherwise) to be able to use them.
See wxCursor.
wxColourDatabase* wxTheColourDatabase |
Global instance of a wxColourDatabase.