11#include <unordered_map>
23 gui::IGUIElement* parent, s32
id,
29 bool OnEvent(
const SEvent& event);
49 std::unordered_map<touch_gui_button_id, std::shared_ptr<gui::IGUIImage>>
m_gui_images;
Definition touchscreeneditor.h:20
std::shared_ptr< gui::IGUIButton > m_gui_remove_btn
Definition touchscreeneditor.h:78
std::vector< std::shared_ptr< gui::IGUIStaticText > > m_add_button_titles
Definition touchscreeneditor.h:69
std::shared_ptr< gui::IGUIButton > m_gui_done_btn
Definition touchscreeneditor.h:76
ButtonLayout m_add_layout
Definition touchscreeneditor.h:68
void updateDragState(v2u32 screensize, v2s32 mouse_movement)
Definition touchscreeneditor.cpp:264
void drawMenu()
Definition touchscreeneditor.cpp:235
std::wstring getLabelByID(s32 id)
Definition touchscreeneditor.h:32
ISimpleTextureSource * m_tsrc
Definition touchscreeneditor.h:36
std::shared_ptr< gui::IGUIButton > m_gui_add_btn
Definition touchscreeneditor.h:74
v2s32 m_last_mouse_pos
Definition touchscreeneditor.h:59
~GUITouchscreenLayout()
Definition touchscreeneditor.cpp:46
Mode m_mode
Definition touchscreeneditor.h:47
void regenerateGui(v2u32 screensize)
Definition touchscreeneditor.cpp:51
void regenerateMenu(v2u32 screensize)
Definition touchscreeneditor.cpp:188
void regenerateGUIImagesRegular(v2u32 screensize)
Definition touchscreeneditor.cpp:87
std::shared_ptr< gui::IGUIStaticText > m_gui_help_text
Definition touchscreeneditor.h:72
std::shared_ptr< gui::IGUIButton > m_gui_reset_btn
Definition touchscreeneditor.h:75
GUITouchscreenLayout(gui::IGUIEnvironment *env, gui::IGUIElement *parent, s32 id, IMenuManager *menumgr, ISimpleTextureSource *tsrc)
Definition touchscreeneditor.cpp:19
ButtonLayout m_layout
Definition touchscreeneditor.h:38
Mode
Definition touchscreeneditor.h:42
std::vector< core::recti > m_error_rects
Definition touchscreeneditor.h:64
v2u32 m_last_screensize
Definition touchscreeneditor.h:39
touch_gui_button_id m_selected_btn
Definition touchscreeneditor.h:60
bool m_mouse_down
Definition touchscreeneditor.h:58
s32 m_button_size
Definition touchscreeneditor.h:40
std::string getNameByID(s32 id)
Definition touchscreeneditor.h:33
std::unordered_map< touch_gui_button_id, std::shared_ptr< gui::IGUIImage > > m_gui_images
Definition touchscreeneditor.h:49
void clearGUIImages()
Definition touchscreeneditor.cpp:78
bool OnEvent(const SEvent &event)
Definition touchscreeneditor.cpp:289
std::unordered_map< touch_gui_button_id, v2s32 > m_gui_images_target_pos
Definition touchscreeneditor.h:51
void regenerateGUIImagesAddMode(v2u32 screensize)
Definition touchscreeneditor.cpp:114
void interpolateGUIImages()
Definition touchscreeneditor.cpp:140
ButtonLayout m_last_good_layout
Definition touchscreeneditor.h:63
Definition texturesource.h:25
core::vector2d< s32 > v2s32
Definition irr_v2d.h:13
core::vector2d< u32 > v2u32
Definition irr_v2d.h:14
Definition fontengine.h:14
touch_gui_button_id
Definition touchscreenlayout.h:24
@ touch_gui_button_id_END
Definition touchscreenlayout.h:52