#include <touchscreengui.h>
|
| AutoHideButtonBar (IrrlichtDevice *device, IEventReceiver *receiver) |
|
void | init (ISimpleTextureSource *tsrc, const char *starter_img, int button_id, const v2s32 &UpperLeft, const v2s32 &LowerRight, autohide_button_bar_dir dir, float timeout) |
|
| ~AutoHideButtonBar () |
|
void | addButton (touch_gui_button_id id, const wchar_t *caption, const char *btn_image) |
|
void | addToggleButton (touch_gui_button_id id, const wchar_t *caption, const char *btn_image_1, const char *btn_image_2) |
|
bool | isButton (const SEvent &event) |
|
void | step (float dtime) |
|
void | deactivate () |
|
void | hide () |
|
void | show () |
|
◆ AutoHideButtonBar()
AutoHideButtonBar::AutoHideButtonBar |
( |
IrrlichtDevice * |
device, |
|
|
IEventReceiver * |
receiver |
|
) |
| |
◆ ~AutoHideButtonBar()
AutoHideButtonBar::~AutoHideButtonBar |
( |
| ) |
|
◆ addButton()
void AutoHideButtonBar::addButton |
( |
touch_gui_button_id |
id, |
|
|
const wchar_t * |
caption, |
|
|
const char * |
btn_image |
|
) |
| |
References AHBB_Dir_Bottom_Top, AHBB_Dir_Left_Right, AHBB_Dir_Right_Left, AHBB_Dir_Top_Bottom, errorstream, id2keycode(), load_button_texture(), m_buttons, m_dir, m_driver, m_guienv, m_initialized, m_lower_right, m_texturesource, and m_upper_left.
Referenced by addToggleButton(), and TouchScreenGUI::init().
◆ addToggleButton()
void AutoHideButtonBar::addToggleButton |
( |
touch_gui_button_id |
id, |
|
|
const wchar_t * |
caption, |
|
|
const char * |
btn_image_1, |
|
|
const char * |
btn_image_2 |
|
) |
| |
◆ deactivate()
void AutoHideButtonBar::deactivate |
( |
| ) |
|
◆ hide()
void AutoHideButtonBar::hide |
( |
| ) |
|
◆ init()
References dir(), button_info::guibutton, button_info::ids, button_info::immediate_release, button_info::keycode, load_button_texture(), m_dir, m_driver, m_guienv, m_initialized, m_lower_right, m_starter, m_texturesource, m_timeout_value, m_upper_left, and button_info::repeatcounter.
Referenced by TouchScreenGUI::init().
◆ isButton()
bool AutoHideButtonBar::isButton |
( |
const SEvent & |
event | ) |
|
References button_info::guibutton, button_info::ids, load_button_texture(), m_active, m_buttons, m_driver, m_guienv, m_receiver, m_starter, m_texturesource, and m_timeout.
Referenced by TouchScreenGUI::translateEvent().
◆ show()
void AutoHideButtonBar::show |
( |
| ) |
|
◆ step()
void AutoHideButtonBar::step |
( |
float |
dtime | ) |
|
◆ m_active
bool AutoHideButtonBar::m_active = false |
|
private |
◆ m_buttons
std::vector<button_info *> AutoHideButtonBar::m_buttons |
|
private |
◆ m_dir
◆ m_driver
irr::video::IVideoDriver* AutoHideButtonBar::m_driver |
|
private |
◆ m_guienv
IGUIEnvironment* AutoHideButtonBar::m_guienv |
|
private |
◆ m_initialized
bool AutoHideButtonBar::m_initialized = false |
|
private |
◆ m_lower_right
v2s32 AutoHideButtonBar::m_lower_right |
|
private |
◆ m_receiver
IEventReceiver* AutoHideButtonBar::m_receiver |
|
private |
◆ m_starter
◆ m_texturesource
◆ m_timeout
float AutoHideButtonBar::m_timeout = 0.0f |
|
private |
◆ m_timeout_value
float AutoHideButtonBar::m_timeout_value = 3.0f |
|
private |
◆ m_upper_left
v2s32 AutoHideButtonBar::m_upper_left |
|
private |
◆ m_visible
bool AutoHideButtonBar::m_visible = true |
|
private |
The documentation for this class was generated from the following files: