summaryrefslogtreecommitdiff
path: root/src/gui/guiFormSpecMenu.h
diff options
context:
space:
mode:
authorstujones11 <stujones111@gmail.com>2018-06-24 20:50:57 +0100
committersfan5 <sfan5@live.de>2018-10-29 15:37:44 +0100
commit323c8600450a5ae3893de9ba1d04095589c5b06c (patch)
treef38afffdc33c85c5964c1eaa650675508a9248b4 /src/gui/guiFormSpecMenu.h
parent0d54399be2af37e334f3506bd09da85ad932b92f (diff)
downloadminetest-323c8600450a5ae3893de9ba1d04095589c5b06c.tar.gz
minetest-323c8600450a5ae3893de9ba1d04095589c5b06c.tar.bz2
minetest-323c8600450a5ae3893de9ba1d04095589c5b06c.zip
Move touchscreen input handling to base GUIModalMenu class
Diffstat (limited to 'src/gui/guiFormSpecMenu.h')
-rw-r--r--src/gui/guiFormSpecMenu.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/gui/guiFormSpecMenu.h b/src/gui/guiFormSpecMenu.h
index 926faa350..d75a108d4 100644
--- a/src/gui/guiFormSpecMenu.h
+++ b/src/gui/guiFormSpecMenu.h
@@ -372,6 +372,8 @@ protected:
{
return padding + offset + AbsoluteRect.UpperLeftCorner;
}
+ std::wstring getLabelByID(s32 id);
+ std::string getNameByID(s32 id);
v2s32 getElementBasePos(bool absolute,
const std::vector<std::string> *v_pos);
@@ -411,8 +413,6 @@ protected:
bool m_selected_dragging = false;
ItemStack m_selected_swap;
- v2s32 m_pointer;
- v2s32 m_old_pointer; // Mouse position after previous mouse event
gui::IGUIStaticText *m_tooltip_element = nullptr;
u64 m_tooltip_show_delay;
@@ -535,13 +535,6 @@ private:
int m_btn_height;
gui::IGUIFont *m_font = nullptr;
- std::wstring getLabelByID(s32 id);
- std::string getNameByID(s32 id);
-#ifdef __ANDROID__
- v2s32 m_down_pos;
- std::string m_JavaDialogFieldName;
-#endif
-
/* If true, remap a double-click (or double-tap) action to ESC. This is so
* that, for example, Android users can double-tap to close a formspec.
*