Motoko Namespace Reference

Namespace Motoko. More...


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 TextBoxGetNewTextBox (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 LabelBoxGetNewLabelBox (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 PictureBoxGetNewPictureBox (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 ComboBoxGetNewComboBox (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 ListBoxGetNewListBox (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 ButtonGetNewButton (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 ButtonGetNewGraphicalButton (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 CheckButtonGetNewCheckButton (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 VScrollBarGetNewVScrollBar (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 HScrollBarGetNewHScrollBar (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 PanelGetNewPanel (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 DialogGetNewDialog (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 ControlListBoxGetNewControlListBox (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.


Detailed Description

Namespace Motoko.

Enumeration Type Documentation

enum Motoko::ButtonArrow

Style of the button.

Enumerator:
NoneArrow  The button have no arrow.
UpArrow  The button have an up arrow.
DownArrow  The button have a down arrow.
RightArrow  The button have a right arrow.
LeftArrow  The button have a left arrow.

enum Motoko::ControlBackStyle

Back style of the control.

Enumerator:
UseAppearance  Use the skin stored in Appearance.
UseBackColor  Use the color in BackColor.
UsePicture  Use the surface in Picture.

enum Motoko::AlignmentStyle

Alignment style of the text.

Enumerator:
Left  The text is aligned in the left.
Center  The text is aligned in the center.
Right  The text is aligned in the right.

enum Motoko::ControlScrollBars

ScrollBars of the control.

Enumerator:
NoneScrollBars  The control have no scrollbar.
BothScrollBars  The control have the horizontal and the vertical scrollbar.
OnlyHScrollBars  The control have the horizontal scrollbar.
OnlyVScrollBars  The control have the vertical scrollbar.

enum Motoko::KeyboardLanguage

ScrollBars of the control.

Enumerator:
SpanishLanguage  The keyboard is a spanish keyboard type.
EnglishLanguage  The keyboard is an english keyboard type.


Generated on Mon Jul 17 18:33:49 2006 for Motoko by  doxygen 1.4.7