mirror of
https://gitee.com/idea4good/GuiLite.git
synced 2026-01-02 12:27:22 +08:00
rename on_key to on_navigate
This commit is contained in:
@@ -107,11 +107,11 @@ public:
|
||||
}
|
||||
}
|
||||
inline virtual void on_touch(int x, int y, TOUCH_ACTION action);
|
||||
virtual void on_key(KEY_TYPE key)
|
||||
virtual void on_navigate(NAVIGATION_KEY key)
|
||||
{
|
||||
if (m_slides[m_active_slide_index])
|
||||
{
|
||||
m_slides[m_active_slide_index]->on_key(key);
|
||||
m_slides[m_active_slide_index]->on_navigate(key);
|
||||
}
|
||||
}
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user