#include "irr_ptr.h"
#include "irrlichttypes_bloated.h"
#include "rect.h"
#include <iostream>
#include <unordered_map>
Go to the source code of this file.
Classes | |
struct | ButtonMeta |
struct | ButtonLayout |
Namespaces | |
namespace | irr |
namespace | irr::gui |
namespace | irr::video |
Enumerations | |
enum | touch_gui_button_id : u8 { jump_id = 0 , sneak_id , zoom_id , aux1_id , overflow_id , chat_id , inventory_id , drop_id , exit_id , fly_id , fast_id , noclip_id , debug_id , camera_id , range_id , minimap_id , toggle_chat_id , joystick_off_id , joystick_bg_id , joystick_center_id , touch_gui_button_id_END } |
Functions | |
void | layout_button_grid (v2u32 screensize, ISimpleTextureSource *tsrc, const std::vector< touch_gui_button_id > &buttons, const std::function< void(touch_gui_button_id btn, v2s32 pos, core::recti rect)> &callback) |
void | make_button_grid_title (gui::IGUIStaticText *text, touch_gui_button_id btn, v2s32 pos, core::recti rect) |
Variables | |
const char * | button_names [] |
const char * | button_titles [] |
const char * | button_image_names [] |
enum touch_gui_button_id : u8 |
void layout_button_grid | ( | v2u32 | screensize, |
ISimpleTextureSource * | tsrc, | ||
const std::vector< touch_gui_button_id > & | buttons, | ||
const std::function< void(touch_gui_button_id btn, v2s32 pos, core::recti rect)> & | callback ) |
References ButtonLayout::getButtonSize(), and ButtonLayout::getTexture().
Referenced by TouchControls::applyLayout(), and GUITouchscreenLayout::regenerateGUIImagesAddMode().
void make_button_grid_title | ( | gui::IGUIStaticText * | text, |
touch_gui_button_id | btn, | ||
v2s32 | pos, | ||
core::recti | rect ) |
References button_titles, and wstrgettext().
Referenced by TouchControls::applyLayout(), and GUITouchscreenLayout::regenerateGUIImagesAddMode().
|
extern |
Referenced by TouchControls::applyLayout(), ButtonLayout::getTexture(), and TouchControls::makeButtonDirect().
|
extern |
Referenced by button_name_to_id(), and ButtonLayout::serializeJson().
|
extern |
Referenced by make_button_grid_title().