mirror of
https://gitee.com/idea4good/GuiLite.git
synced 2026-01-02 12:27:22 +08:00
!26 remove clone & core_include/widgets_include; support keyboard input
This commit is contained in:
@@ -7,7 +7,6 @@ class c_edit : public c_wnd
|
||||
{
|
||||
friend class c_keyboard;
|
||||
public:
|
||||
virtual c_wnd* clone(){return new c_edit();}
|
||||
const char* get_text(){return m_str;}
|
||||
void set_text(const char* str);
|
||||
void set_keyboard_style(KEYBOARD_STYLE kb_sytle) { m_kb_style = kb_sytle; }
|
||||
@@ -17,7 +16,8 @@ protected:
|
||||
virtual void on_paint();
|
||||
virtual void on_focus();
|
||||
virtual void on_kill_focus();
|
||||
virtual bool on_touch(int x, int y, TOUCH_ACTION action);
|
||||
virtual void on_key(KEY_TYPE key);
|
||||
virtual void on_touch(int x, int y, TOUCH_ACTION action);
|
||||
|
||||
void on_key_board_click(int id, int param);
|
||||
GL_DECLARE_MESSAGE_MAP()
|
||||
|
||||
Reference in New Issue
Block a user