]> Shamusworld >> Repos - virtualjaguar/blobdiff - src/gui/controllertab.h
Fixed bug with missing BIOS on first boot of Virtual Jaguar.
[virtualjaguar] / src / gui / controllertab.h
index 64e291a9998ea23e4978021ef02b6361f536ce84..545e5bc3a6beb5cf304385abcec1f77a84a87124 100644 (file)
@@ -2,6 +2,7 @@
 #define __CONTROLLERTAB_H__
 
 #include <QtGui>
+#include <stdint.h>
 
 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__