5 #ifndef __I_GUI_SKIN_H_INCLUDED__ 6 #define __I_GUI_SKIN_H_INCLUDED__ 220 "MessageBoxGapSpace",
221 "MessageBoxMinTextWidth",
222 "MessageBoxMaxTextWidth",
223 "MessageBoxMinTextHeight",
224 "MessageBoxMaxTextHeight",
225 "ButtonPressedImageOffsetX",
226 "ButtonPressedImageOffsetY",
227 "ButtonPressedTextOffsetX",
228 "ButtonPressedTextOffsetY",
229 "ButtonPressedSpriteOffsetX",
230 "ButtonPressedSpriteOffsetY",
266 "WindowButtonMaximize",
267 "WindowButtonMinimize",
268 "WindowButtonRestore",
343 "radioButtonChecked",
virtual IGUISpriteBank * getSpriteBank() const =0
returns the sprite bank
icon indicating that there is more content to the right
Tooltip text for window close button.
virtual void draw3DSunkenPane(IGUIElement *element, video::SColor bgcolor, bool flat, bool fillBackGround, const core::rect< s32 > &rect, const core::rect< s32 > *clip=0)=0
draws a sunken 3d pane
pixels to move an unscaled button image down when a button is pressed and the unpressed image looks i...
icon indicating that there is more content above
Grayed (disabled) window background for editable field (editbox, checkbox-field)
virtual void setFont(IGUIFont *font, EGUI_DEFAULT_FONT which=EGDF_DEFAULT)=0
sets a default font
An object which is able to serialize and deserialize its attributes into an attributes object.
virtual void setSpriteBank(IGUISpriteBank *bank)=0
sets the sprite bank
EGUI_DEFAULT_SIZE
Enumeration for default sizes.
virtual void draw3DMenuPane(IGUIElement *element, const core::rect< s32 > &rect, const core::rect< s32 > *clip=0)=0
draws a standard 3d menu pane
Show focus of window background for editable field (editbox or when checkbox-field is pressed)
EGUI_SKIN_TYPE
Enumeration of available default skins.
selection dot in a radio button
virtual void setDefaultText(EGUI_DEFAULT_TEXT which, const wchar_t *newText)=0
Sets a default text.
virtual void draw3DButtonPaneStandard(IGUIElement *element, const core::rect< s32 > &rect, const core::rect< s32 > *clip=0)=0
draws a standard 3d button pane
pixels to move an unscaled button sprite down when a button is pressed
Text of item(s) selected in a control.
char c8
8 bit character variable.
const c8 *const GUISkinColorNames[EGDC_COUNT+1]
Names for default skin colors.
Aligned to parent's top or left side (default)
Tool tip background color.
width of a default button
minimal space to reserve for messagebox text-height
Window symbols like on close buttons, scroll bars and check boxes.
virtual IGUIFont * getFont(EGUI_DEFAULT_FONT which=EGDF_DEFAULT) const =0
returns the default font
const c8 *const GUISkinTextNames[EGDT_COUNT+1]
Names for default skin sizes.
virtual void draw2DRectangle(IGUIElement *element, const video::SColor &color, const core::rect< s32 > &pos, const core::rect< s32 > *clip=0)=0
draws a 2d rectangle.
folder icon for file selection
virtual core::rect< s32 > draw3DWindowBackground(IGUIElement *element, bool drawTitleBar, video::SColor titleBarColor, const core::rect< s32 > &rect, const core::rect< s32 > *clip=0, core::rect< s32 > *checkClientArea=0)=0
draws a window background
virtual video::SColor getColor(EGUI_DEFAULT_COLOR color) const =0
returns default color
Everything in the Irrlicht Engine can be found in this namespace.
resize icon for bottom right corner of a window
virtual void draw3DButtonPanePressed(IGUIElement *element, const core::rect< s32 > &rect, const core::rect< s32 > *clip=0)=0
draws a pressed 3d button pane
virtual void setSize(EGUI_DEFAULT_SIZE which, s32 size)=0
sets a default size
const c8 *const GUISkinTypeNames[EGST_COUNT+1]
Names for gui element types.
A skin modifies the look of the GUI elements.
virtual void drawIcon(IGUIElement *element, EGUI_DEFAULT_ICON icon, const core::position2di position, u32 starttime=0, u32 currenttime=0, bool loop=false, const core::rect< s32 > *clip=0)=0
draws an icon, usually from the skin's sprite bank
pixels to move the button text to the right when a button is pressed
Tooltip text for window restore button.
const c8 *const GUISkinFontNames[EGDF_COUNT+1]
width of a checkbox check
distance for text from background
Face color for three-dimensional display elements and for dialog box backgrounds.
virtual const wchar_t * getDefaultText(EGUI_DEFAULT_TEXT text) const =0
Returns a default text.
maximal space to reserve for messagebox text-width
Text for the OK button on a message box.
Tooltip text for window minimize button.
signed int s32
32 bit signed variable.
pixels to move an unscaled button image to the right when a button is pressed and the unpressed image...
unsigned int u32
32 bit unsigned variable.
EGUI_DEFAULT_COLOR
Enumeration for skin colors.
virtual void setColor(EGUI_DEFAULT_COLOR which, video::SColor newColor)=0
sets a default color
down arrow for dropdown menus
<< icon indicating there is more content to the left
For static text, edit boxes, lists and most other places.
Text for the Cancel button on a message box.
const c8 *const GUISkinIconNames[EGDI_COUNT+1]
virtual s32 getSize(EGUI_DEFAULT_SIZE size) const =0
returns size for the given size type
Active window title bar text.
Text for the No button on a message box.
this value is not used, it only specifies the number of skin types
default with / height of scrollbar. Also width of drop-down button in comboboxes.
Dark shadow for three-dimensional display elements.
Light color for three-dimensional display elements (for edges facing the light source....
pixels to move an unscaled button sprite to the right when a button is pressed
value not used, it only specifies the number of icons
this value is not used, it only specifies the number of default texts
Item(s) selected in a control.
const c8 *const GUISkinSizeNames[EGDS_COUNT+1]
Names for default skin sizes.
virtual EGUI_SKIN_TYPE getType() const
get the type of this skin
file icon for file selection
minimal space to reserve for messagebox text-width
virtual void setIcon(EGUI_DEFAULT_ICON icon, u32 index)=0
Sets a default icon.
Class representing a 32 bit ARGB color.
Base class of all GUI elements.
Tooltip text for window maximize button.
Default windows look and feel.
Window background for editable field (editbox, checkbox-field)
An unknown skin, not serializable at present.
virtual void draw3DToolBar(IGUIElement *element, const core::rect< s32 > &rect, const core::rect< s32 > *clip=0)=0
draws a standard 3d tool bar
Text for the Yes button on a message box.
2d vector template class with lots of operators and methods.
virtual void draw3DTabBody(IGUIElement *element, bool border, bool background, const core::rect< s32 > &rect, const core::rect< s32 > *clip=0, s32 tabHeight=-1, gui::EGUI_ALIGNMENT alignment=EGUIA_UPPERLEFT)=0
draws a tab control body
Grayed (disabled) window symbols like on close buttons, scroll bars and check boxes.
Like EGST_WINDOWS_CLASSIC, but with metallic shaded windows and buttons.
Selected icons in a list or tree.
GLint GLint GLsizei GLsizei GLsizei GLint border
Background color of multiple document interface (MDI) applications.
virtual void draw3DTabButton(IGUIElement *element, bool active, const core::rect< s32 > &rect, const core::rect< s32 > *clip=0, gui::EGUI_ALIGNMENT alignment=EGUIA_UPPERLEFT)=0
draws a tab button
Font for window title bars.
free space in a messagebox between borders and contents on all sides
width and height of a window titlebar button (like minimize/maximize/close buttons)....
distance for text from background
Shadow color for three-dimensional display elements (for edges facing away from the light source).
height of a default button (OK and cancel buttons)
EGUI_DEFAULT_ICON
Customizable symbols for GUI.
pixels to move the button text down when a button is pressed
distance for text in the title bar, from the left of the window rect
maximal space to reserve for messagebox text-height
virtual u32 getIcon(EGUI_DEFAULT_ICON icon) const =0
Returns a default icon.
distance for text in the title bar, from the top of the window rect
Highlight color for three-dimensional display elements (for edges facing the light source....
icon indicating that there is more content below