X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fgui%2Fcontrollertab.h;h=545e5bc3a6beb5cf304385abcec1f77a84a87124;hb=62b541c6c09933ea0daf800ecd86467f6f15b584;hp=64e291a9998ea23e4978021ef02b6361f536ce84;hpb=166019baeee39e3867ecf6c4eddd0855dc3507a4;p=virtualjaguar diff --git a/src/gui/controllertab.h b/src/gui/controllertab.h index 64e291a..545e5bc 100644 --- a/src/gui/controllertab.h +++ b/src/gui/controllertab.h @@ -2,6 +2,7 @@ #define __CONTROLLERTAB_H__ #include +#include class ControllerTab: public QWidget { @@ -10,15 +11,24 @@ class ControllerTab: public QWidget public: ControllerTab(QWidget * parent = 0); ~ControllerTab(); + void UpdateLabel(void); protected slots: void DefineAllKeys(void); private: QPushButton * redefineAll; + void DrawBorderedText(QPainter &, int, int, QString); public: - int p1Keys[21]; + uint32_t p1Keys[21]; + + private: + QLabel * controllerPic; + + // Class data + static char keyName1[96][16]; + static char keyName2[64][16]; }; #endif // __CONTROLLERTAB_H__