mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-25 21:55:25 +02:00
Some fixes
This commit is contained in:
@@ -75,9 +75,6 @@ typedef enum
|
||||
joystick_off_id,
|
||||
joystick_bg_id,
|
||||
joystick_center_id,
|
||||
|
||||
// invalid value
|
||||
touch_gui_button_invalid,
|
||||
} touch_gui_button_id;
|
||||
|
||||
typedef enum
|
||||
@@ -99,9 +96,6 @@ typedef enum
|
||||
// If you tap faster than this value, the simulated clicks are of course shorter.
|
||||
#define SIMULATED_CLICK_DURATION_MS 50
|
||||
|
||||
extern const std::string button_image_names[];
|
||||
extern const std::string joystick_image_names[];
|
||||
|
||||
struct button_info
|
||||
{
|
||||
float repeat_counter;
|
||||
@@ -256,9 +250,6 @@ private:
|
||||
|
||||
std::vector<button_info> m_buttons;
|
||||
|
||||
// check if a button has changed
|
||||
void handleChangedButton(const SEvent &event);
|
||||
|
||||
// initialize a button
|
||||
void addButton(touch_gui_button_id id, const std::string &image,
|
||||
const rect<s32> &rect);
|
||||
|
||||
Reference in New Issue
Block a user