mirror of
https://github.com/rodamaral/lsnes.git
synced 2025-04-02 10:42:15 -04:00
23 lines
362 B
C++
Executable file
23 lines
362 B
C++
Executable file
struct DipSwitch : HorizontalLayout {
|
|
Label name;
|
|
ComboBox value;
|
|
|
|
DipSwitch();
|
|
};
|
|
|
|
struct DipSwitches : Window {
|
|
VerticalLayout layout;
|
|
DipSwitch dip[8];
|
|
HorizontalLayout controlLayout;
|
|
Widget spacer;
|
|
Button acceptButton;
|
|
|
|
void load();
|
|
void accept();
|
|
DipSwitches();
|
|
|
|
private:
|
|
unsigned values[8][16];
|
|
};
|
|
|
|
extern DipSwitches *dipSwitches;
|