Classes | |
struct | ControlSkin |
Struct with information of a control's skin. More... | |
class | ThemeSkin |
Class with all the skins of a theme. More... | |
class | SkinsManager |
Manager of all the application's themes. More... | |
class | Application |
Class to manage the GUI of the application. More... | |
class | Box |
Class that represents a generic box. More... | |
class | Button |
Class that represents a generic button. More... | |
class | CheckButton |
Class that represents a generic label box. More... | |
class | ComboBox |
Class that represents a generic combo box. More... | |
class | Container |
Class that represents a generic container. More... | |
class | Control |
Class that represents a generic control. More... | |
class | ControlListBox |
Class that represents a generic control list box. More... | |
class | Dialog |
Class that represents a generic dialog. More... | |
class | HScrollBar |
Class that represents a generic horizontal scrollbar. More... | |
class | ITextControl |
Class that represents a generic text control interface. More... | |
class | LabelBox |
Class that represents a generic label box. More... | |
struct | ListBoxItem |
Struct with information of an item. More... | |
class | ListBox |
Class that represents a generic list box. More... | |
class | ListControls |
Class with a list of controls. More... | |
class | Panel |
Class that represents a generic panel. More... | |
class | PictureBox |
Class that represents a generic picture box. More... | |
struct | TextureResource |
Struct with information of a loaded texture. More... | |
struct | FontResource |
Struct with information of a loaded font. More... | |
class | ResourcesManager |
Class to handle the library resources. More... | |
class | ScrollBar |
Class that represents a generic scrollbar. More... | |
class | TextBox |
Class that represents a generic text box. More... | |
class | VScrollBar |
Class that represents a generic vertical scrollbar. More... | |
Namespaces | |
namespace | Keys |
Listing of keys of the keyboard. | |
namespace | Lua |
Lua functions. | |
namespace | Teclas |
Listing of keys of the keyboard. | |
Typedefs | |
typedef signed char | sbyte |
Signed type of 1 byte (8 bits). | |
typedef signed short int | sword |
Signed type of 2 byte (16 bits). | |
typedef signed long int | sdword |
Signed type of 4 byte (32 bits). | |
typedef unsigned char | byte |
Unsigned type of 1 byte (8 bits). | |
typedef unsigned short int | word |
Unsigned type of 2 byte (16 bits). | |
typedef unsigned long int | dword |
Unsigned type of 4 byte (32 bits). | |
typedef signed char | Sint8 |
Signed type of 1 byte (8 bits). | |
typedef signed short int | Sint16 |
Signed type of 2 byte (16 bits). | |
typedef signed long int | Sint32 |
Signed type of 4 byte (32 bits). | |
typedef unsigned char | Uint8 |
Unsigned type of 1 byte (8 bits). | |
typedef unsigned short int | Uint16 |
Unsigned type of 2 byte (16 bits). | |
typedef unsigned long int | Uint32 |
Unsigned type of 4 byte (32 bits). | |
typedef bool(*) | SDL_KEY_EVENT (void *control, SDL_KeyboardEvent &event) |
Key event prototype function. | |
typedef bool(*) | SDL_MOUSEMOTION_EVENT (void *control, SDL_MouseMotionEvent &event) |
Mouse motion event prototype function. | |
typedef void(*) | SDL_MOUSEBUTTON_EVENT (void *control, SDL_MouseButtonEvent &event) |
Mouse button event prototype function. | |
typedef void(*) | SDL_DOUBLECLICK_EVENT (void *control) |
Double-click event prototype function. | |
Enumerations | |
enum | ButtonArrow { NoneArrow = 0, UpArrow = 21, DownArrow = 20, RightArrow = 19, LeftArrow = 18 } |
Style of the button. More... | |
enum | ControlBackStyle { UseAppearance, UseBackColor, UsePicture } |
Back style of the control. More... | |
enum | AlignmentStyle { Left, Center, Right } |
Alignment style of the text. More... | |
enum | ControlScrollBars { NoneScrollBars, BothScrollBars, OnlyHScrollBars, OnlyVScrollBars } |
ScrollBars of the control. More... | |
enum | KeyboardLanguage { SpanishLanguage, EnglishLanguage } |
ScrollBars of the control. More... | |
Functions | |
void DLLAPI | BlitWithResize (SDL_Surface *src, SDL_Rect *srcrect, SDL_Surface *dst, SDL_Rect *dstrect) |
Blit a surface like the SDL_BlitSurface function with resize. | |
void DLLAPI | FillSurface (dword color, SDL_Rect *rect, SDL_Surface *dst, SDL_Rect *limits) |
Fill a surface with a limitated area in the destine. | |
char DLLAPI | GetSpanishKBChar (SDL_keysym &event) |
Get the character in event from a spanish keyboard. | |
char DLLAPI | GetEnglishKBChar (SDL_keysym &event) |
Get the character in event from a english keyboard. | |
DLLAPI TextBox * | GetNewTextBox (const char *name, Sint16 x, Sint16 y, Uint16 width, Uint16 height, ControlBackStyle backstyle, ControlSkin *boxskin, ControlSkin *vscrollskin, ControlSkin *hscrollskin, ControlSkin *buttonskin, Uint32 backcolor, Uint32 scrollcolor, CRM32Pro_CFont *font, bool multiline, bool locked, ControlScrollBars scrollbars) |
This function create a new TextBox. | |
DLLAPI LabelBox * | GetNewLabelBox (const char *name, Sint16 x, Sint16 y, Uint16 width, Uint16 height, ControlBackStyle backstyle, ControlSkin *skin, Uint32 backcolor, CRM32Pro_CFont *font) |
This function create a new LabelBox. | |
DLLAPI PictureBox * | GetNewPictureBox (const char *name, Sint16 x, Sint16 y, Uint16 width, Uint16 height, ControlBackStyle backstyle, ControlSkin *skin, Uint32 backcolor, SDL_Surface *picture) |
This function create a new PictureBox. | |
DLLAPI ComboBox * | GetNewComboBox (const char *name, Sint16 x, Sint16 y, Uint16 width, Uint16 height, Uint16 listheight, ControlBackStyle backstyle, ControlSkin *boxskin, ControlSkin *vscrollskin, ControlSkin *buttonskin, Uint32 backcolor, Uint32 scrollcolor, Uint32 selbackcolor, CRM32Pro_CFont *font) |
This function create a new ComboBox. | |
DLLAPI ListBox * | GetNewListBox (const char *name, Sint16 x, Sint16 y, Uint16 width, Uint16 height, ControlBackStyle backstyle, ControlSkin *boxskin, ControlSkin *vscrollskin, ControlSkin *buttonskin, Uint32 backcolor, Uint32 scrollcolor, Uint32 selcolor, CRM32Pro_CFont *font, bool multiselect) |
This function create a new ListBox. | |
DLLAPI Button * | GetNewButton (const char *name, Sint16 x, Sint16 y, Uint16 width, Uint16 height, ControlBackStyle backstyle, ControlSkin *skin, Uint32 backcolor, CRM32Pro_CFont *font, const char *text) |
This function create a new Button. | |
DLLAPI Button * | GetNewGraphicalButton (const char *name, Sint16 x, Sint16 y, Uint16 width, Uint16 height, SDL_Surface *picture, SDL_Surface *over, SDL_Surface *down, Uint32 backcolor, CRM32Pro_CFont *font, const char *text) |
This function create a new Button. | |
DLLAPI CheckButton * | GetNewCheckButton (const char *name, Sint16 x, Sint16 y, Uint16 width, Uint16 height, ControlBackStyle backstyle, ControlSkin *skin, Uint32 backcolor, CRM32Pro_CFont *font, const char *text) |
This function create a new CheckButton. | |
DLLAPI VScrollBar * | GetNewVScrollBar (const char *name, Sint16 x, Sint16 y, Uint16 width, Uint16 height, ControlBackStyle backstyle, ControlSkin *scrollskinscroll, ControlSkin *buttonskin, Uint32 backcolor, int min, int max, int value, int smallchange, int largechange) |
This function create a new VScrollBar. | |
DLLAPI HScrollBar * | GetNewHScrollBar (const char *name, Sint16 x, Sint16 y, Uint16 width, Uint16 height, ControlBackStyle backstyle, ControlSkin *scrollskin, ControlSkin *buttonskin, Uint32 backcolor, int min, int max, int value, int smallchange, int largechange) |
This function create a new HScrollBar. | |
DLLAPI Panel * | GetNewPanel (const char *name, Sint16 x, Sint16 y, Uint16 width, Uint16 height, SDL_Surface *picture, Uint32 backcolor, bool transparency) |
This function create a new Panel. | |
DLLAPI Dialog * | GetNewDialog (const char *name, Sint16 x, Sint16 y, Uint16 width, Uint16 height, ControlBackStyle backstyle, ControlSkin *winskin, ControlSkin *buttonskin, Uint32 titlecolor, Uint32 backcolor, CRM32Pro_CFont *font, const char *text) |
This function create a new Dialog. | |
DLLAPI ControlListBox * | GetNewControlListBox (const char *name, Sint16 x, Sint16 y, Uint16 width, Uint16 height, ControlBackStyle backstyle, ControlSkin *boxskin, ControlSkin *vscrollskin, ControlSkin *buttonskin, Uint32 backcolor, Uint32 scrollcolor, Uint32 selcolor, bool multiselect) |
This function create a new ControlListBox. |
enum Motoko::ButtonArrow |