X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fgui%2Fcontrollertab.h;h=545e5bc3a6beb5cf304385abcec1f77a84a87124;hb=4ad544a2887b4fa558c9e15bc3d23988bada7480;hp=ceff5bf7976ef3a0985ebfe51502c7d88c7a961d;hpb=5da604521611a960140b58a2fb0f236c65610b70;p=virtualjaguar diff --git a/src/gui/controllertab.h b/src/gui/controllertab.h index ceff5bf..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,9 +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: - QCheckBox * antialiasChk; + uint32_t p1Keys[21]; + + private: + QLabel * controllerPic; + + // Class data + static char keyName1[96][16]; + static char keyName2[64][16]; }; #endif // __CONTROLLERTAB_H__