#include <guiVolumeChange.h>
Public Member Functions | |
| GUIVolumeChange (gui::IGUIEnvironment *env, gui::IGUIElement *parent, s32 id, IMenuManager *menumgr, ISimpleTextureSource *tsrc) | |
| void | regenerateGui (v2u32 screensize) |
| void | drawMenu () |
| bool | OnEvent (const SEvent &event) |
| bool | pausesGame () |
| Public Member Functions inherited from GUIModalMenu | |
| GUIModalMenu (gui::IGUIEnvironment *env, gui::IGUIElement *parent, s32 id, IMenuManager *menumgr, bool remap_dbl_click=true) | |
| virtual | ~GUIModalMenu () |
| void | allowFocusRemoval (bool allow) |
| bool | canTakeFocus (gui::IGUIElement *e) |
| void | draw () |
| void | quitMenu () |
| virtual bool | preprocessEvent (const SEvent &event) |
Protected Member Functions | |
| std::wstring | getLabelByID (s32 id) |
| std::string | getNameByID (s32 id) |
| Protected Member Functions inherited from GUIModalMenu | |
| ScalingInfo | getScalingInfo (v2u32 screensize, v2u32 base_size) |
Private Attributes | |
| ISimpleTextureSource * | m_tsrc |
Additional Inherited Members | |
| Protected Attributes inherited from GUIModalMenu | |
| v2s32 | m_pointer |
| v2s32 | m_old_pointer |
| v2u32 | m_screensize_old |
| float | m_gui_scale |
| bool | m_second_touch = false |
| GUIVolumeChange::GUIVolumeChange | ( | gui::IGUIEnvironment * | env, |
| gui::IGUIElement * | parent, | ||
| s32 | id, | ||
| IMenuManager * | menumgr, | ||
| ISimpleTextureSource * | tsrc ) |
|
virtual |
Implements GUIModalMenu.
|
inlineprotectedvirtual |
Implements GUIModalMenu.
|
inlineprotectedvirtual |
Implements GUIModalMenu.
|
virtual |
Reimplemented from GUIModalMenu.
References GUIModalMenu::canTakeFocus(), fwgettext(), g_settings, ID_soundExitButton, ID_soundMuteButton, ID_soundSlider, ID_soundText, infostream, and GUIModalMenu::quitMenu().
|
inlinevirtual |
Reimplemented from GUIModalMenu.
|
virtual |
Implements GUIModalMenu.
References gui::StaticText::add(), GUIButton::addButton(), fwgettext(), g_settings, GUIModalMenu::getScalingInfo(), ID_soundExitButton, ID_soundMuteButton, ID_soundSlider, ID_soundText, m_tsrc, GUIModalMenu::ScalingInfo::rect, GUIModalMenu::ScalingInfo::scale, and wstrgettext().
|
private |
Referenced by GUIVolumeChange(), and regenerateGui().