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