![]() |
Public API Reference |
Compounds | |
struct | iFont |
A font object. More... | |
struct | iFontDeleteNotify |
Called before a font is deleted. More... | |
struct | iFontServer |
A font server interface. More... | |
struct | iGraphics2D |
This is the interface for 2D renderer. More... | |
struct | iImage |
The iImage interface is used to work with image files (what did you expect?). More... | |
struct | csImageArea |
This structure is used for saving/restoring areas of screen. More... | |
struct | iImageIO |
The iImageIO interface is used to save and load graphic files. More... | |
struct | csImageIOFileFormatDescription |
Description for a file format supported by an image loader. More... | |
struct | iNativeWindow |
This interface represents a native window. More... | |
struct | iNativeWindowManager |
This interface represents the native window manager system. More... | |
struct | iOffscreenCanvasCallback |
When you create an offscreen canvas (CreateOffscreenCanvas()) then you can use this callback to get informed when the texture has been modified (FinishDraw() called) or a palette entry is modified. More... | |
struct | csPixelCoord |
Simple 2D pixel coordinate. More... | |
struct | csPixelFormat |
Structure describing the pixel format. More... | |
Basic fonts alias names | |
Any font server should provide these fonts, since most programs expect they to be available.
Other fonts may or may be not available but these should be always available. Default font names always start with "*" to avoid confusion with real file names. | |
#define | CSFONT_LARGE "*large" |
Thick and relatively large font. More... | |
#define | CSFONT_ITALIC "*italic" |
Thick italic relatively large font. More... | |
#define | CSFONT_COURIER "*courier" |
Thin courier-like relatively large font. More... | |
#define | CSFONT_SMALL "*small" |
Very small font (smallest font that is still readable). More... | |
Alert types | |
#define | CS_ALERT_ERROR 1 |
Display an error. More... | |
#define | CS_ALERT_WARNING 2 |
Display a warning. More... | |
#define | CS_ALERT_NOTE 3 |
Display a note. More... | |
Defines | |
#define | CS_IMGFMT_MASK 0x0000ffff |
The mask to separate the image format apart. More... | |
#define | CS_IMGFMT_NONE 0x00000000 |
We don't want the pixels at all, just (possibly) the alphamap. More... | |
#define | CS_IMGFMT_TRUECOLOR 0x00000001 |
Truecolor format (r/g/b/unused per each pixel). More... | |
#define | CS_IMGFMT_PALETTED8 0x00000002 |
8-bit indexed paletted image. More... | |
#define | CS_IMGFMT_ANY CS_IMGFMT_MASK |
Autodetect: use whatever format the file is in. Use ONLY for loading. More... | |
#define | CS_IMGFMT_ALPHA 0x00010000 |
Do we need alpha channel or not. More... | |
#define | CS_IMGFMT_INVALID 0x80000000 |
This flag indicates an invalid image format. More... | |
Typedefs | |
typedef enum _csMouseCursorID | csMouseCursorID |
Standard mouse cursor IDs. More... | |
Enumerations | |
enum | _csMouseCursorID { csmcNone = -1, csmcArrow = 0, csmcLens, csmcCross, csmcPen, csmcMove, csmcSizeNWSE, csmcSizeNESW, csmcSizeNS, csmcSizeEW, csmcStop, csmcWait } |
Standard mouse cursor IDs. More... |
|
Display an error.
|
|
Display a note.
|
|
Display a warning.
|
|
Do we need alpha channel or not.
|
|
Autodetect: use whatever format the file is in. Use ONLY for loading.
|
|
This flag indicates an invalid image format. No image may have this set, and you may not load images with this flag set. |
|
The mask to separate the image format apart.
|
|
We don't want the pixels at all, just (possibly) the alphamap.
|
|
8-bit indexed paletted image.
|
|
Truecolor format (r/g/b/unused per each pixel).
|
|
Thin courier-like relatively large font.
Definition at line 45 of file fontserv.h. |
|
Thick italic relatively large font.
Definition at line 43 of file fontserv.h. |
|
Thick and relatively large font.
Definition at line 41 of file fontserv.h. |
|
Very small font (smallest font that is still readable).
Definition at line 47 of file fontserv.h. |
|
Standard mouse cursor IDs.
Referenced by csApp::GetMouse, and csApp::SetMouseCursor. |
|