]> Shamusworld >> Repos - virtualjaguar/blob - src/gui/controllertab.h
Controller tab now shows correctly redefined keys.
[virtualjaguar] / src / gui / controllertab.h
1 #ifndef __CONTROLLERTAB_H__
2 #define __CONTROLLERTAB_H__
3
4 #include <QtGui>
5
6 class ControllerTab: public QWidget
7 {
8         Q_OBJECT
9
10         public:
11                 ControllerTab(QWidget * parent = 0);
12                 ~ControllerTab();
13
14         protected slots:
15                 void DefineAllKeys(void);
16
17         private:
18                 QPushButton * redefineAll;
19                 void DrawBorderedText(QPainter &, int, int, QString);
20
21         public:
22                 int p1Keys[21];
23
24         // Class data
25         private:
26                 static char keyName1[96][16];
27                 static char keyName2[64][16];
28 };
29
30 #endif  // __CONTROLLERTAB_H__