Classes | |
class | Application |
Toplevel application class. More... | |
class | BaseFactory |
class | Factory |
class | Audio |
implementations e.g. NullAudio, SDLMixer etc More... | |
class | NullAudio |
class | Box |
class | HBox |
class | VBox |
class | ButtonGroup |
class | Button |
Button Class. More... | |
class | Cascade |
class | CascadeLayoutItemValue |
class | CascadeLayoutIterator |
class | CascadeLayout |
class | Color |
using 8-bits per red, green, blue, and alpha channels More... | |
class | Time |
A time class to escape SDL's 2^32 ms epoch limitations. More... | |
class | Dialog |
class | Display |
class | Enum |
typesafe enumaration like class More... | |
class | Event |
class | TimerEvent |
class | PaintEvent |
class | ResizeEvent |
class | MoveEvent |
class | LayoutHintEvent |
class | ShowEvent |
class | HideEvent |
class | ChildEvent |
class | CustomEvent |
class | InputEvent |
class | MouseEvent |
class | WheelEvent |
class | KeyEvent |
class | FocusEvent |
class | CloseEvent |
class | FlagMap |
maps the flags of the underlying system to ours More... | |
class | W |
class | FocusData |
class | Font |
class | Frame |
class | Grid |
class | MatrixLayoutItemValue |
class | GridLayoutIterator |
class | GridLayout |
class | Label |
Display a text or pixmap message on screen. More... | |
class | LayoutIteratorInterface |
class | NullLayoutIterator |
class | LayoutIterator |
class | LayoutItem |
all layoutItems should inherit from this. It's their interface More... | |
class | Layout |
handles the layout of widgets More... | |
class | NullClass |
class | LayoutItemCompound |
class | LayoutStdContainerIterator |
class | LayoutStdContainer |
class | BoxLayoutItemValue |
class | BoxLayoutIterator |
class | BoxLayout |
class | HBoxLayout |
class | VBoxLayout |
class | Matrix |
class | Object |
class | Pen |
class | Brush |
class | Painter |
class that allows drawing graphics primitives onto a Pixmap More... | |
class | PixmapOf |
used as a base for the Pixmap and the Display More... | |
class | Pixmap |
class | Point |
Class to handle x,y - points on the screen. More... | |
class | PushButton |
PushButton Class. More... | |
class | Rect |
Rectangle class. Has corners, fill, etc. More... | |
class | Region |
Region specifies a 'working area' of the screen. More... | |
class | RootWindow |
class | SDLColor |
class | SDLDisplay |
interface to the underlying SDL_VideoSurface More... | |
class | SDLEvent |
class | SDLInput |
useful for transforming SDL events to normal Event More... | |
class | SDLMixer |
Wrapper class around the audio mixer. More... | |
class | SDLPalette |
class | SDLPixelFormat |
class | SDLRect |
class | SDLSurface |
class | SDLTimer |
class | Singleton |
class | Size |
class | SizePolicy |
class | Sound |
class | Spacer |
class | HSpacer |
class | VSpacer |
class | Timer |
Timer handles known events that must happen (fairly) regularly. More... | |
class | ToggleButton |
ToggleButton Class. More... | |
class | Trace |
class | Widget |
class | Window |
class | Signal01 |
class | Signal012 |
class | Signal012M |
class | WVarBase |
Watched variable avoids the need for get/set methods. More... | |
class | WVar |
read only More... | |
class | WVar< VARTYPE, WVarBase< int >::RW > |
read write specialization More... | |
Namespaces | |
namespace | SDL |
Typedefs | |
typedef LayoutItemCompound< CascadeLayoutItemValue > | CascadeLayoutItemCompound |
typedef std::list< CascadeLayoutItemCompound > | CascadeLayoutItemList |
typedef LayoutStdContainer< CascadeLayoutItemList > | CascadeLayoutBase |
typedef std::list< Widget * > | WidgetList |
typedef LayoutItemCompound< MatrixLayoutItemValue > | MatrixLayoutItemCompound |
typedef Matrix< MatrixLayoutItemCompound > | MatrixLayoutItemMatrix |
typedef LayoutStdContainer< MatrixLayoutItemMatrix > | GridLayoutBase |
typedef LayoutItemCompound< BoxLayoutItemValue > | BoxLayoutItemCompound |
typedef std::list< BoxLayoutItemCompound > | BoxLayoutItemList |
typedef LayoutStdContainer< BoxLayoutItemList > | BoxLayoutBase |
typedef std::vector< Point > | PointArray |
typedef std::vector< Rect > | RectArray |
Enumerations | |
enum | AlignmentFlags { AlignAuto = 0, AlignLeft = 1 << 0, AlignRight = 1 << 1, AlignHCenter = 1 << 2, AlignJustify = 1 << 3, AlignTop = 1 << 4, AlignBottom = 1 << 5, AlignVCenter = 1 << 6, AlignCenter = AlignHCenter | AlignVCenter, AlignHorizontal_Mask = (AlignJustify << 1) - 1, AlignVertical_Mask = (AlignVCenter << 1) - 1 & ~AlignHorizontal_Mask } |
enum | BackgroundImageFlags { Unscaled = 0, Scaled = 1 << 0, Tiled = 1 << 1 } |
enum | ButtonState { NoButton = 0, LeftButton = 1 << 0, RightButton = 1 << 1, MidButton = 1 << 2, ShiftButton = 1 << 3, ControlButton = 1 << 4, AltButton = 1 << 5, MetaButton = 1 << 6, Keypad = 1 << 7, MouseButtonMask = (MidButton << 1) - 1, KeyButtonMask = (Keypad << 1) - 1 & ~MouseButtonMask } |
enum | Key { Key_AltBase = 500, Key_Unknown = SDLK_UNKNOWN, Key_Escape = SDLK_ESCAPE, Key_Tab = SDLK_TAB, Key_Backtab = Key_AltBase + SDLK_TAB, Key_Backspace = SDLK_BACKSPACE, Key_Return = SDLK_RETURN, Key_Enter = SDLK_RETURN, Key_Insert = SDLK_INSERT, Key_Delete = SDLK_DELETE, Key_Pause = SDLK_PAUSE, Key_Print = SDLK_PRINT, Key_SysReq = SDLK_SYSREQ, Key_Home = SDLK_HOME, Key_End = SDLK_END, Key_Left = SDLK_LEFT, Key_Up = SDLK_UP, Key_Right = SDLK_RIGHT, Key_Down = SDLK_DOWN, Key_Prior = SDLK_PAGEUP, Key_Next = SDLK_PAGEDOWN, Key_Shift = SDLK_LSHIFT, Key_Shift_L = SDLK_LSHIFT, Key_Shift_R = SDLK_RSHIFT, Key_Control = SDLK_LCTRL, Key_Control_L = SDLK_LCTRL, Key_Control_R = SDLK_RCTRL, Key_Alt = SDLK_LALT, Key_Alt_L = SDLK_LALT, Key_Alt_R = SDLK_RALT, Key_Meta = SDLK_LMETA, Key_Meta_L = SDLK_LMETA, Key_Meta_R = SDLK_RMETA, Key_CapsLock = SDLK_CAPSLOCK, Key_NumLock = SDLK_NUMLOCK, Key_ScrollLock = SDLK_SCROLLOCK, Key_Clear = SDLK_CLEAR, Key_F1 = SDLK_F1, Key_F2 = SDLK_F2, Key_F3 = SDLK_F3, Key_F4 = SDLK_F4, Key_F5 = SDLK_F5, Key_F6 = SDLK_F6, Key_F7 = SDLK_F7, Key_F8 = SDLK_F8, Key_F9 = SDLK_F9, Key_F10 = SDLK_F10, Key_F11 = SDLK_F11, Key_F12 = SDLK_F12, Key_F13 = SDLK_F13, Key_F14 = SDLK_F14, Key_F15 = SDLK_F15, Key_Super_L = SDLK_LSUPER, Key_Super_R = SDLK_RSUPER, Key_Menu = SDLK_MENU, Key_Help = SDLK_HELP, Key_Space = SDLK_SPACE, Key_Exclam = SDLK_EXCLAIM, Key_QuoteDbl = SDLK_QUOTEDBL, Key_NumberSign = SDLK_HASH, Key_Dollar = SDLK_DOLLAR, Key_Ampersand = SDLK_AMPERSAND, Key_Apostrophe = SDLK_QUOTE, Key_ParenLeft = SDLK_LEFTPAREN, Key_ParenRight = SDLK_RIGHTPAREN, Key_Asterisk = SDLK_ASTERISK, Key_Plus = SDLK_PLUS, Key_Comma = SDLK_COMMA, Key_Minus = SDLK_MINUS, Key_Period = SDLK_PERIOD, Key_Slash = SDLK_SLASH, Key_0 = SDLK_0, Key_1 = SDLK_1, Key_2 = SDLK_2, Key_3 = SDLK_3, Key_4 = SDLK_4, Key_5 = SDLK_5, Key_6 = SDLK_6, Key_7 = SDLK_7, Key_8 = SDLK_8, Key_9 = SDLK_9, Key_Colon = SDLK_COLON, Key_Semicolon = SDLK_SEMICOLON, Key_Less = SDLK_LESS, Key_Equal = SDLK_EQUALS, Key_Greater = SDLK_GREATER, Key_Question = SDLK_QUESTION, Key_At = SDLK_AT, Key_A = SDLK_a, Key_B = SDLK_b, Key_C = SDLK_c, Key_D = SDLK_d, Key_E = SDLK_e, Key_F = SDLK_f, Key_G = SDLK_g, Key_H = SDLK_h, Key_I = SDLK_i, Key_J = SDLK_j, Key_K = SDLK_k, Key_L = SDLK_l, Key_M = SDLK_m, Key_N = SDLK_n, Key_O = SDLK_o, Key_P = SDLK_p, Key_Q = SDLK_q, Key_R = SDLK_r, Key_S = SDLK_s, Key_T = SDLK_t, Key_U = SDLK_u, Key_V = SDLK_v, Key_W = SDLK_w, Key_X = SDLK_x, Key_Y = SDLK_y, Key_Z = SDLK_z, Key_BracketLeft = SDLK_LEFTBRACKET, Key_Backslash = SDLK_BACKSLASH, Key_BracketRight = SDLK_RIGHTBRACKET, Key_Underscore = SDLK_UNDERSCORE, Key_QuoteLeft = SDLK_BACKQUOTE, Key_KPBase = 1000, Key_KP_Period = Key_KPBase + SDLK_KP_PERIOD, Key_KP_Divide = Key_KPBase + SDLK_KP_DIVIDE, Key_KP_Multiply = Key_KPBase + SDLK_KP_MULTIPLY, Key_KP_Enter = Key_KPBase + SDLK_KP_ENTER, Key_KP_Equal = Key_KPBase + SDLK_KP_EQUALS, Key_KP_Minus = Key_KPBase + SDLK_KP_MINUS, Key_KP_Plus = Key_KPBase + SDLK_KP_PLUS, Key_KP_0 = Key_KPBase + SDLK_KP0, Key_KP_1 = Key_KPBase + SDLK_KP1, Key_KP_2 = Key_KPBase + SDLK_KP2, Key_KP_3 = Key_KPBase + SDLK_KP3, Key_KP_4 = Key_KPBase + SDLK_KP4, Key_KP_5 = Key_KPBase + SDLK_KP5, Key_KP_6 = Key_KPBase + SDLK_KP6, Key_KP_7 = Key_KPBase + SDLK_KP7, Key_KP_8 = Key_KPBase + SDLK_KP8, Key_KP_9 = Key_KPBase + SDLK_KP9 } |
Functions | |
static int | preferredWidth (const LayoutItem *li, bool expand) |
static int | preferredHeight (const LayoutItem *li, bool expand) |
std::ostream & | operator<< (std::ostream &s, const Color &c) |
Operator for output streams. | |
std::ostream & | operator<< (std::ostream &s, const Font &f) |
Operator for output streams. | |
void | adjust_cell_size (int li_size, int sum_size, int cell_span, int edge, std::vector< int > &max_size) |
std::ostream & | operator<< (std::ostream &s, const Object *obj) |
std::ostream & | operator<< (std::ostream &s, const Object &ref) |
std::ostream & | operator<< (std::ostream &s, const Event *e) |
std::ostream & | operator<< (std::ostream &s, const Event &e) |
std::ostream & | operator<< (std::ostream &s, const Point &p) |
Print a point to a stream. | |
std::ostream & | operator<< (std::ostream &s, const Size &size) |
std::ostream & | operator<< (std::ostream &s, const Rect &p) |
Print a rectangle to a stream, formatted as (x,y,w,h). | |
std::ostream & | operator<< (std::ostream &s, const Region &r) |
stream region output for debugging | |
static Mix_Chunk * | clone_chunk (const Mix_Chunk *chunk_p) |
static SDL_Surface * | deconst (const SDLSurface src) |
static int | safe_blit (SDL_Surface *src, SDL_Rect *srcrect, SDL_Surface *dst, SDL_Rect *dstrect) |
static Uint32 | timer_callback (Uint32 interval, void *param) |
static void | finished_chunk (Audio::Chunk *c) |
static int | stderr_print (const char *msg,...) |
static void | do_nothing (const char *relay, const char *msg,...) |
static Trace & | getTrace (const char *filename, int line) |
static bool | isWidget (Object *w) |
template<typename ITERATOR> | |
static Widget * | findNextWidget (ITERATOR start, ITERATOR finish) |
static void | postLayoutHintEventRecursively (Widget *w) |
Variables | |
static const unsigned char | BultinFontData [] |
static const unsigned int | BultinFontDataSize |
typedef std::list<CascadeLayoutItemCompound> Wt::CascadeLayoutItemList |
typedef std::list<Widget *> Wt::WidgetList |
typedef std::list<BoxLayoutItemCompound> Wt::BoxLayoutItemList |
The extra space is first divided between layout items with a stretch value. If there is none then the space is divided among expanding layout items. If there is none then space is divided among layout items that have the mayGrow flag set.
typedef std::vector<Point> Wt::PointArray |
typedef std::vector<Rect> Wt::RectArray |
enum Wt::AlignmentFlags |
enum Wt::ButtonState |
enum Wt::Key |
static int Wt::preferredWidth | ( | const LayoutItem * | li, | |
bool | expand | |||
) | [static] |
static int Wt::preferredHeight | ( | const LayoutItem * | li, | |
bool | expand | |||
) | [static] |
std::ostream & Wt::operator<< | ( | std::ostream & | s, | |
const Color & | c | |||
) |
Operator for output streams.
std::ostream & Wt::operator<< | ( | std::ostream & | s, | |
const Font & | f | |||
) |
Operator for output streams.
void Wt::adjust_cell_size | ( | int | li_size, | |
int | sum_size, | |||
int | cell_span, | |||
int | edge, | |||
std::vector< int > & | max_size | |||
) |
std::ostream & Wt::operator<< | ( | std::ostream & | s, | |
const Object * | obj | |||
) |
std::ostream & Wt::operator<< | ( | std::ostream & | s, | |
const Object & | ref | |||
) |
std::ostream & Wt::operator<< | ( | std::ostream & | s, | |
const Event * | e | |||
) |
std::ostream & Wt::operator<< | ( | std::ostream & | s, | |
const Event & | e | |||
) |
std::ostream & Wt::operator<< | ( | std::ostream & | s, | |
const Point & | p | |||
) |
Print a point to a stream.
std::ostream & Wt::operator<< | ( | std::ostream & | s, | |
const Size & | size | |||
) |
std::ostream & Wt::operator<< | ( | std::ostream & | s, | |
const Rect & | r | |||
) |
Print a rectangle to a stream, formatted as (x,y,w,h).
std::ostream & Wt::operator<< | ( | std::ostream & | s, | |
const Region & | r | |||
) |
stream region output for debugging
static Mix_Chunk* Wt::clone_chunk | ( | const Mix_Chunk * | chunk_p | ) | [static] |
static SDL_Surface* Wt::deconst | ( | const SDLSurface | src | ) | [static] |
static int Wt::safe_blit | ( | SDL_Surface * | src, | |
SDL_Rect * | srcrect, | |||
SDL_Surface * | dst, | |||
SDL_Rect * | dstrect | |||
) | [static] |
static Uint32 Wt::timer_callback | ( | Uint32 | interval, | |
void * | param | |||
) | [static] |
static void Wt::finished_chunk | ( | Audio::Chunk * | c | ) | [static] |
static int Wt::stderr_print | ( | const char * | msg, | |
... | ||||
) | [inline, static] |
static void Wt::do_nothing | ( | const char * | relay, | |
const char * | msg, | |||
... | ||||
) | [inline, static] |
static Trace& Wt::getTrace | ( | const char * | filename, | |
int | line | |||
) | [inline, static] |
static bool Wt::isWidget | ( | Object * | w | ) | [static] |
static Widget* Wt::findNextWidget | ( | ITERATOR | start, | |
ITERATOR | finish | |||
) | [static] |
static void Wt::postLayoutHintEventRecursively | ( | Widget * | w | ) | [static] |
const unsigned char Wt::BultinFontData[] [static] |
const unsigned int Wt::BultinFontDataSize [static] |
Initial value:
sizeof(BultinFontData) / sizeof(BultinFontData[0])
This document is licensed under the terms of the GNU Free Documentation License and may be freely distributed under the conditions given by this license.