#include <modalMenu.h>
◆ GUIModalMenu()
GUIModalMenu::GUIModalMenu |
( |
gui::IGUIEnvironment * | env, |
|
|
gui::IGUIElement * | parent, |
|
|
s32 | id, |
|
|
IMenuManager * | menumgr, |
|
|
bool | remap_dbl_click = true ) |
◆ ~GUIModalMenu()
GUIModalMenu::~GUIModalMenu |
( |
| ) |
|
|
virtual |
◆ allowFocusRemoval()
void GUIModalMenu::allowFocusRemoval |
( |
bool | allow | ) |
|
◆ canTakeFocus()
bool GUIModalMenu::canTakeFocus |
( |
gui::IGUIElement * | e | ) |
|
◆ draw()
void GUIModalMenu::draw |
( |
| ) |
|
◆ drawMenu()
virtual void GUIModalMenu::drawMenu |
( |
| ) |
|
|
pure virtual |
◆ enter()
void GUIModalMenu::enter |
( |
gui::IGUIElement * | element | ) |
|
|
private |
◆ getLabelByID()
virtual std::wstring GUIModalMenu::getLabelByID |
( |
s32 | id | ) |
|
|
protectedpure virtual |
◆ getNameByID()
virtual std::string GUIModalMenu::getNameByID |
( |
s32 | id | ) |
|
|
protectedpure virtual |
◆ getScalingInfo()
◆ leave()
void GUIModalMenu::leave |
( |
| ) |
|
|
private |
◆ OnEvent()
virtual bool GUIModalMenu::OnEvent |
( |
const SEvent & | event | ) |
|
|
inlinevirtual |
◆ pausesGame()
virtual bool GUIModalMenu::pausesGame |
( |
| ) |
|
|
inlinevirtual |
◆ preprocessEvent()
bool GUIModalMenu::preprocessEvent |
( |
const SEvent & | event | ) |
|
|
virtual |
Reimplemented in GUIFormSpecMenu.
References enter(), PointerAction::fromEvent(), getNameByID(), porting::hasPhysicalKeyboardAndroid(), PointerAction::isRelated(), leave(), m_last_touch, m_pointer, m_second_touch, m_touch_hovered, remapClickOutside(), porting::showComboBoxDialog(), porting::showTextInputDialog(), simulateMouseEvent(), and wide_to_utf8().
Referenced by GUIFormSpecMenu::preprocessEvent(), MainMenuManager::preprocessEvent(), and simulateMouseEvent().
◆ quitMenu()
void GUIModalMenu::quitMenu |
( |
| ) |
|
References allowFocusRemoval(), IMenuManager::deletingMenu(), g_touchcontrols, m_menumgr, remove(), and TouchControls::show().
Referenced by GUIFileSelectMenu::acceptInput(), Game::handleClientEvent_ShowFormSpec(), GUIFormSpecMenu::OnEvent(), GUIKeyChangeMenu::OnEvent(), GUIOpenURLMenu::OnEvent(), GUIPasswordChange::OnEvent(), GUITouchscreenLayout::OnEvent(), GUIVolumeChange::OnEvent(), GUIFormSpecMenu::preprocessEvent(), Game::shutdown(), and GUIFormSpecMenu::tryClose().
◆ regenerateGui()
virtual void GUIModalMenu::regenerateGui |
( |
v2u32 | screensize | ) |
|
|
pure virtual |
◆ remapClickOutside()
bool GUIModalMenu::remapClickOutside |
( |
const SEvent & | event | ) |
|
|
private |
◆ simulateMouseEvent()
bool GUIModalMenu::simulateMouseEvent |
( |
ETOUCH_INPUT_EVENT | touch_event, |
|
|
bool | second_try = false ) |
|
private |
◆ m_allow_focus_removal
bool GUIModalMenu::m_allow_focus_removal = false |
|
private |
◆ m_gui_scale
float GUIModalMenu::m_gui_scale |
|
protected |
◆ m_last_click_outside
◆ m_last_touch
◆ m_menumgr
◆ m_old_pointer
v2s32 GUIModalMenu::m_old_pointer |
|
protected |
◆ m_pointer
v2s32 GUIModalMenu::m_pointer |
|
protected |
◆ m_remap_click_outside
bool GUIModalMenu::m_remap_click_outside |
|
private |
◆ m_screensize_old
v2u32 GUIModalMenu::m_screensize_old |
|
protected |
◆ m_second_touch
bool GUIModalMenu::m_second_touch = false |
|
protected |
◆ m_touch_hovered
irr_ptr<gui::IGUIElement> GUIModalMenu::m_touch_hovered |
|
private |
The documentation for this class was generated from the following files: