source:
thomson/elec/CrO2/software/gui.h@
4a558d7
Last change on this file since 4a558d7 was 4a558d7, checked in by , 12 years ago | |
---|---|
|
|
File size: 672 bytes |
Rev | Line | |
---|---|---|
[c7b4218] | 1 | /* CrO2 datassette emulator |
2 | * Copyright 2012, Adrien Destugues <pulkomandy@pulkomandy.ath.cx> | |
3 | * | |
4 | * Distributed under the terms of the MIT licence. | |
5 | */ | |
6 | ||
[f9263dd] | 7 | #include "iupplusplus.h" |
8 | ||
9 | #include <cstdio> | |
[c7b4218] | 10 | |
[53c4be3] | 11 | class Tape; |
[c7b4218] | 12 | |
13 | class Gui { | |
14 | public: | |
15 | Gui(int* argc, char*** argv); | |
16 | ~Gui(); | |
17 | ||
18 | private: | |
19 | int menu_open(); | |
[f9263dd] | 20 | int menu_exit(); |
[c7b4218] | 21 | |
[53c4be3] | 22 | Tape* file; |
[c2a9854] | 23 | |
24 | // Control | |
[192e299] | 25 | int setPlaying(int state); |
26 | ||
[c2a9854] | 27 | // Explore |
28 | int selectBlock(int id, int what); | |
[e43c8d0] | 29 | int setMatVal(int x, int y, const char* newVal); |
[53c4be3] | 30 | const char* matVal(int y, int x); |
31 | const char* toHex(int val); | |
32 | ||
33 | int selblock; | |
[c2a9854] | 34 | Ihandle* blocklist; |
35 | Ihandle* hexEd; | |
[4a558d7] | 36 | Ihandle* playToggle; |
[c7b4218] | 37 | }; |
Note:
See TracBrowser
for help on using the repository browser.