compile for Android, add initial TextInput support
This commit is contained in:
@@ -24,11 +24,14 @@ public:
|
||||
NodePanelLayer* layers;
|
||||
NodePanelColor* color;
|
||||
NodePanelStroke* stroke;
|
||||
std::function<void(int)> on_brush_select;
|
||||
std::function<void(glm::vec4 color)> on_color_change;
|
||||
std::function<void()> on_stroke_change;
|
||||
const uint16_t main_id = const_hash("main");
|
||||
float width;
|
||||
float height;
|
||||
#ifdef __ANDROID__
|
||||
float zoom = 4.0;
|
||||
float zoom = 3.0;
|
||||
#else
|
||||
float zoom = 1.0;
|
||||
#endif // __ANDROID__
|
||||
@@ -43,4 +46,7 @@ public:
|
||||
bool mouse_down(int button, float x, float y);
|
||||
bool mouse_move(float x, float y);
|
||||
bool mouse_up(int button, float x, float y);
|
||||
bool key_down(int key);
|
||||
bool key_up(int key);
|
||||
bool key_char(int key);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user