From 7028cbe09c688437910a25623098762bf0fa592d Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Mon, 28 Mar 2016 22:28:34 +1000 Subject: Move Irrlicht to src/others. --- .../doc/html/classirr_1_1gui_1_1_i_g_u_i_skin.html | 1045 ++++++++++++++++++++ 1 file changed, 1045 insertions(+) create mode 100644 src/others/irrlicht-1.8.1/doc/html/classirr_1_1gui_1_1_i_g_u_i_skin.html (limited to 'src/others/irrlicht-1.8.1/doc/html/classirr_1_1gui_1_1_i_g_u_i_skin.html') diff --git a/src/others/irrlicht-1.8.1/doc/html/classirr_1_1gui_1_1_i_g_u_i_skin.html b/src/others/irrlicht-1.8.1/doc/html/classirr_1_1gui_1_1_i_g_u_i_skin.html new file mode 100644 index 0000000..43b9678 --- /dev/null +++ b/src/others/irrlicht-1.8.1/doc/html/classirr_1_1gui_1_1_i_g_u_i_skin.html @@ -0,0 +1,1045 @@ + + +
+ +A skin modifies the look of the GUI elements. + More...
+ +#include <IGUISkin.h>
A skin modifies the look of the GUI elements.
+ +Definition at line 378 of file IGUISkin.h.
+virtual void irr::gui::IGUISkin::draw2DRectangle | +( | +IGUIElement * | +element, | +
+ | + | const video::SColor & | +color, | +
+ | + | const core::rect< s32 > & | +pos, | +
+ | + | const core::rect< s32 > * | +clip = 0 |
+
+ | ) | + [pure virtual] |
+
draws a 2d rectangle.
+element,: | Pointer to the element which wishes to draw this icon. This parameter is usually not used by IGUISkin, but can be used for example by more complex implementations to find out how to draw the part exactly. |
color,: | Color of the rectangle to draw. The alpha component specifies how transparent the rectangle will be. |
pos,: | Position of the rectangle. |
clip,: | Pointer to rectangle against which the rectangle will be clipped. If the pointer is null, no clipping will be performed. |
virtual void irr::gui::IGUISkin::draw3DButtonPanePressed | +( | +IGUIElement * | +element, | +
+ | + | const core::rect< s32 > & | +rect, | +
+ | + | const core::rect< s32 > * | +clip = 0 |
+
+ | ) | + [pure virtual] |
+
draws a pressed 3d button pane
+Used for drawing for example buttons in pressed state. It uses the colors EGDC_3D_DARK_SHADOW, EGDC_3D_HIGH_LIGHT, EGDC_3D_SHADOW and EGDC_3D_FACE for this. See EGUI_DEFAULT_COLOR for details.
+element,: | Pointer to the element which wishes to draw this. This parameter is usually not used by IGUISkin, but can be used for example by more complex implementations to find out how to draw the part exactly. |
rect,: | Defining area where to draw. |
clip,: | Clip area. |
virtual void irr::gui::IGUISkin::draw3DButtonPaneStandard | +( | +IGUIElement * | +element, | +
+ | + | const core::rect< s32 > & | +rect, | +
+ | + | const core::rect< s32 > * | +clip = 0 |
+
+ | ) | + [pure virtual] |
+
draws a standard 3d button pane
+Used for drawing for example buttons in normal state. It uses the colors EGDC_3D_DARK_SHADOW, EGDC_3D_HIGH_LIGHT, EGDC_3D_SHADOW and EGDC_3D_FACE for this. See EGUI_DEFAULT_COLOR for details.
+element,: | Pointer to the element which wishes to draw this. This parameter is usually not used by IGUISkin, but can be used for example by more complex implementations to find out how to draw the part exactly. |
rect,: | Defining area where to draw. |
clip,: | Clip area. |
virtual void irr::gui::IGUISkin::draw3DMenuPane | +( | +IGUIElement * | +element, | +
+ | + | const core::rect< s32 > & | +rect, | +
+ | + | const core::rect< s32 > * | +clip = 0 |
+
+ | ) | + [pure virtual] |
+
draws a standard 3d menu pane
+Used for drawing for menus and context menus. It uses the colors EGDC_3D_DARK_SHADOW, EGDC_3D_HIGH_LIGHT, EGDC_3D_SHADOW and EGDC_3D_FACE for this. See EGUI_DEFAULT_COLOR for details.
+element,: | Pointer to the element which wishes to draw this. This parameter is usually not used by IGUISkin, but can be used for example by more complex implementations to find out how to draw the part exactly. |
rect,: | Defining area where to draw. |
clip,: | Clip area. |
virtual void irr::gui::IGUISkin::draw3DSunkenPane | +( | +IGUIElement * | +element, | +
+ | + | video::SColor | +bgcolor, | +
+ | + | bool | +flat, | +
+ | + | bool | +fillBackGround, | +
+ | + | const core::rect< s32 > & | +rect, | +
+ | + | const core::rect< s32 > * | +clip = 0 |
+
+ | ) | + [pure virtual] |
+
draws a sunken 3d pane
+Used for drawing the background of edit, combo or check boxes.
+element,: | Pointer to the element which wishes to draw this. This parameter is usually not used by IGUISkin, but can be used for example by more complex implementations to find out how to draw the part exactly. |
bgcolor,: | Background color. |
flat,: | Specifies if the sunken pane should be flat or displayed as sunken deep into the ground. |
fillBackGround,: | Specifies if the background should be filled with the background color or not be drawn at all. |
rect,: | Defining area where to draw. |
clip,: | Clip area. |
virtual void irr::gui::IGUISkin::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 |
+
+ | ) | + [pure virtual] |
+
draws a tab control body
+element,: | Pointer to the element which wishes to draw this. This parameter is usually not used by IGUISkin, but can be used for example by more complex implementations to find out how to draw the part exactly. |
border,: | Specifies if the border should be drawn. |
background,: | Specifies if the background should be drawn. |
rect,: | Defining area where to draw. |
clip,: | Clip area. |
tabHeight | Height of tab. |
alignment | Alignment of GUI element. |
virtual void irr::gui::IGUISkin::draw3DTabButton | +( | +IGUIElement * | +element, | +
+ | + | bool | +active, | +
+ | + | const core::rect< s32 > & | +rect, | +
+ | + | const core::rect< s32 > * | +clip = 0 , |
+
+ | + | gui::EGUI_ALIGNMENT | +alignment = EGUIA_UPPERLEFT |
+
+ | ) | + [pure virtual] |
+
draws a tab button
+Used for drawing for tab buttons on top of tabs.
+element,: | Pointer to the element which wishes to draw this. This parameter is usually not used by IGUISkin, but can be used for example by more complex implementations to find out how to draw the part exactly. |
active,: | Specifies if the tab is currently active. |
rect,: | Defining area where to draw. |
clip,: | Clip area. |
alignment | Alignment of GUI element. |
virtual void irr::gui::IGUISkin::draw3DToolBar | +( | +IGUIElement * | +element, | +
+ | + | const core::rect< s32 > & | +rect, | +
+ | + | const core::rect< s32 > * | +clip = 0 |
+
+ | ) | + [pure virtual] |
+
draws a standard 3d tool bar
+Used for drawing for toolbars and menus.
+element,: | Pointer to the element which wishes to draw this. This parameter is usually not used by IGUISkin, but can be used for example by more complex implementations to find out how to draw the part exactly. |
rect,: | Defining area where to draw. |
clip,: | Clip area. |
virtual core::rect<s32> irr::gui::IGUISkin::draw3DWindowBackground | +( | +IGUIElement * | +element, | +
+ | + | bool | +drawTitleBar, | +
+ | + | video::SColor | +titleBarColor, | +
+ | + | const core::rect< s32 > & | +rect, | +
+ | + | const core::rect< s32 > * | +clip = 0 , |
+
+ | + | core::rect< s32 > * | +checkClientArea = 0 |
+
+ | ) | + [pure virtual] |
+
draws a window background
+Used for drawing the background of dialogs and windows.
+element,: | Pointer to the element which wishes to draw this. This parameter is usually not used by IGUISkin, but can be used for example by more complex implementations to find out how to draw the part exactly. |
titleBarColor,: | Title color. |
drawTitleBar,: | True to enable title drawing. |
rect,: | Defining area where to draw. |
clip,: | Clip area. |
checkClientArea,: | When set to non-null the function will not draw anything, but will instead return the clientArea which can be used for drawing by the calling window. That is the area without borders and without titlebar. |
virtual void irr::gui::IGUISkin::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 |
+
+ | ) | + [pure virtual] |
+
draws an icon, usually from the skin's sprite bank
+element,: | Pointer to the element which wishes to draw this icon. This parameter is usually not used by IGUISkin, but can be used for example by more complex implementations to find out how to draw the part exactly. |
icon,: | Specifies the icon to be drawn. |
position,: | The position to draw the icon |
starttime,: | The time at the start of the animation |
currenttime,: | The present time, used to calculate the frame number |
loop,: | Whether the animation should loop or not |
clip,: | Clip area. |
virtual video::SColor irr::gui::IGUISkin::getColor | +( | +EGUI_DEFAULT_COLOR | +color | ) | + const [pure virtual] |
+
returns default color
+ +virtual const wchar_t* irr::gui::IGUISkin::getDefaultText | +( | +EGUI_DEFAULT_TEXT | +text | ) | + const [pure virtual] |
+
Returns a default text.
+For example for Message box button captions: "OK", "Cancel", "Yes", "No" and so on.
+ +virtual IGUIFont* irr::gui::IGUISkin::getFont | +( | +EGUI_DEFAULT_FONT | +which = EGDF_DEFAULT | ) | + const [pure virtual] |
+
returns the default font
+ +virtual u32 irr::gui::IGUISkin::getIcon | +( | +EGUI_DEFAULT_ICON | +icon | ) | + const [pure virtual] |
+
Returns a default icon.
+Returns the sprite index within the sprite bank
+ +virtual s32 irr::gui::IGUISkin::getSize | +( | +EGUI_DEFAULT_SIZE | +size | ) | + const [pure virtual] |
+
returns size for the given size type
+ +virtual IGUISpriteBank* irr::gui::IGUISkin::getSpriteBank | +( | +) | + const [pure virtual] |
+
returns the sprite bank
+ +virtual EGUI_SKIN_TYPE irr::gui::IGUISkin::getType | +( | +) | + const [inline, virtual] |
+
get the type of this skin
+ +Definition at line 566 of file IGUISkin.h.
+ +References irr::gui::EGST_UNKNOWN.
+ +virtual void irr::gui::IGUISkin::setColor | +( | +EGUI_DEFAULT_COLOR | +which, | +
+ | + | video::SColor | +newColor | +
+ | ) | + [pure virtual] |
+
sets a default color
+ +virtual void irr::gui::IGUISkin::setDefaultText | +( | +EGUI_DEFAULT_TEXT | +which, | +
+ | + | const wchar_t * | +newText | +
+ | ) | + [pure virtual] |
+
Sets a default text.
+For example for Message box button captions: "OK", "Cancel", "Yes", "No" and so on.
+ +virtual void irr::gui::IGUISkin::setFont | +( | +IGUIFont * | +font, | +
+ | + | EGUI_DEFAULT_FONT | +which = EGDF_DEFAULT |
+
+ | ) | + [pure virtual] |
+
sets a default font
+ +virtual void irr::gui::IGUISkin::setIcon | +( | +EGUI_DEFAULT_ICON | +icon, | +
+ | + | u32 | +index | +
+ | ) | + [pure virtual] |
+
Sets a default icon.
+Sets the sprite index used for drawing icons like arrows, close buttons and ticks in checkboxes
+icon,: | Enum specifying which icon to change |
index,: | The sprite index used to draw this icon |
virtual void irr::gui::IGUISkin::setSize | +( | +EGUI_DEFAULT_SIZE | +which, | +
+ | + | s32 | +size | +
+ | ) | + [pure virtual] |
+
sets a default size
+ +virtual void irr::gui::IGUISkin::setSpriteBank | +( | +IGUISpriteBank * | +bank | ) | + [pure virtual] |
+
sets the sprite bank
+ +