|
SuperTuxKart
|
class containing render params for the 'drawBoxFromStretchableTexture' function see Overview of GUI skin for more information about skinning in STK More...
#include <skin.hpp>
Public Member Functions | |
| BoxRenderParams () | |
| load default values | |
| void | setTexture (video::ITexture *image) |
| void | calculateYFlipIfNeeded () |
| video::ITexture * | getImage () |
| Returns the image for this BoxRenderParams. | |
Public Attributes | |
| int | m_left_border |
| int | m_right_border |
| int | m_top_border |
| int | m_bottom_border |
| bool | m_preserve_h_aspect_ratios |
| float | m_hborder_out_portion |
| float | m_vborder_out_portion |
| float | m_horizontal_inner_padding |
| float | m_vertical_inner_padding |
| float | m_horizontal_margin |
| float | m_vertical_margin |
| bool | m_vertical_flip |
| int | areas |
| bitmap containing which areas to render | |
| core::rect< s32 > | m_source_area_left |
| core::rect< s32 > | m_source_area_center |
| core::rect< s32 > | m_source_area_right |
| core::rect< s32 > | m_source_area_top |
| core::rect< s32 > | m_source_area_bottom |
| core::rect< s32 > | m_source_area_top_left |
| core::rect< s32 > | m_source_area_top_right |
| core::rect< s32 > | m_source_area_bottom_left |
| core::rect< s32 > | m_source_area_bottom_right |
| core::rect< s32 > | m_source_area_left_yflip |
| core::rect< s32 > | m_source_area_center_yflip |
| core::rect< s32 > | m_source_area_right_yflip |
| core::rect< s32 > | m_source_area_top_yflip |
| core::rect< s32 > | m_source_area_bottom_yflip |
| core::rect< s32 > | m_source_area_top_left_yflip |
| core::rect< s32 > | m_source_area_top_right_yflip |
| core::rect< s32 > | m_source_area_bottom_left_yflip |
| core::rect< s32 > | m_source_area_bottom_right_yflip |
Private Attributes | |
| video::ITexture * | m_image |
| bool | m_y_flip_set |
class containing render params for the 'drawBoxFromStretchableTexture' function see Overview of GUI skin for more information about skinning in STK