#include <guiOpenURL.h>
Inheritance diagram for GUIOpenURLMenu:
Collaboration diagram for GUIOpenURLMenu:Public Member Functions | |
| GUIOpenURLMenu (gui::IGUIEnvironment *env, gui::IGUIElement *parent, s32 id, IMenuManager *menumgr, ISimpleTextureSource *tsrc, const std::string &url) | |
| void | regenerateGui (v2u32 screensize) |
| void | drawMenu () |
| bool | OnEvent (const SEvent &event) |
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) |
| virtual bool | pausesGame () |
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 |
| std::string | url |
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 |
| GUIOpenURLMenu::GUIOpenURLMenu | ( | gui::IGUIEnvironment * | env, |
| gui::IGUIElement * | parent, | ||
| s32 | id, | ||
| IMenuManager * | menumgr, | ||
| ISimpleTextureSource * | tsrc, | ||
| const std::string & | url ) |
|
virtual |
Implements GUIModalMenu.
|
inlineprotectedvirtual |
Implements GUIModalMenu.
|
inlineprotectedvirtual |
Implements GUIModalMenu.
|
virtual |
Reimplemented from GUIModalMenu.
References GUIModalMenu::canTakeFocus(), ID_cancel, infostream, porting::open_url(), GUIModalMenu::quitMenu(), and url.
Here is the call graph for this function:
|
virtual |
Implements GUIModalMenu.
References irr::gui::StaticText::add(), GUIButton::addButton(), FM_Mono, FM_Standard, FONT_SIZE_UNSPECIFIED, g_fontengine, FontEngine::getFont(), GUIModalMenu::getScalingInfo(), ID_cancel, m_tsrc, maybe_colorize_url(), GUIModalMenu::ScalingInfo::rect, GUIModalMenu::ScalingInfo::scale, url, utf8_to_wide(), wrap_rows(), and wstrgettext().
Here is the call graph for this function:
|
private |
Referenced by regenerateGui().
|
private |
Referenced by OnEvent(), and regenerateGui().