mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 16:57:31 +01:00
22 lines
536 B
C++
22 lines
536 B
C++
#include <escher.h>
|
|
|
|
namespace Code {
|
|
|
|
class toolboxIonKeys : public ViewController {
|
|
public :
|
|
toolboxIonKeys();
|
|
View * view() override;
|
|
bool handleEvent(Ion::Events::Event e) override;
|
|
void setSender(InputEventHandler * sender) { m_sender = sender; }
|
|
private :
|
|
class toolboxIonView : public View {
|
|
public :
|
|
toolboxIonView();
|
|
void drawRect(KDContext * ctx, KDRect rect) const override;
|
|
};
|
|
toolboxIonView m_view;
|
|
InputEventHandler * m_sender;
|
|
};
|
|
|
|
}
|