Idle callbacks
This commit is contained in:
parent
e16fda511d
commit
65e3a0f639
|
@ -79,6 +79,19 @@ protected:
|
||||||
repaint();
|
repaint();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void uiIdle() override
|
||||||
|
{
|
||||||
|
getTabletData();
|
||||||
|
repaint();
|
||||||
|
}
|
||||||
|
|
||||||
|
bool onMouse(const MouseEvent& ev) override
|
||||||
|
{
|
||||||
|
getTabletData();
|
||||||
|
repaint();
|
||||||
|
return false; //Allow event to propagate.
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void onNanoDisplay() override
|
void onNanoDisplay() override
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue