Numworks Epsilon  1.4.1
Graphing Calculator Operating System
fltkkbd.h
Go to the documentation of this file.
1 #ifndef ION_FLTK_KBD
2 #define ION_FLTK_KBD
3 
4 #include <FL/Fl_Group.H>
5 #include <FL/Fl_Button.H>
6 #include <ion/keyboard.h>
7 
8 class FltkKbd : public Fl_Group {
9 public:
10  FltkKbd(int x, int y, int w, int h);
11  bool key_down(Ion::Keyboard::Key key);
12 private:
13  Fl_Button * m_buttons[Ion::Keyboard::NumberOfKeys];
14 };
15 
16 #endif
bool key_down(Ion::Keyboard::Key key)
Definition: fltkkbd.cpp:75
constexpr int NumberOfKeys
Definition: keyboard.h:33
Definition: fltkkbd.h:8
FltkKbd(int x, int y, int w, int h)
Definition: fltkkbd.cpp:47