source: thomson/elec/CrO2/software/gui.h@ e43c8d0

main
Last change on this file since e43c8d0 was e43c8d0, checked in by Adrien Destugues <pulkomandy@…>, 12 years ago

Some cleanup.

git-svn-id: svn://localhost/thomson@26 85ae3b6b-dc8f-4344-a89d-598714f2e4e5

  • Property mode set to 100644
File size: 648 bytes
Line 
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
7#include "iupplusplus.h"
8
9#include <cstdio>
10
11class Tape;
12
13class Gui {
14 public:
15 Gui(int* argc, char*** argv);
16 ~Gui();
17
18 private:
19 int menu_open();
20 int menu_exit();
21
22 Tape* file;
23
24 // Control
25 int setPlaying(int state);
26
27 // Explore
28 int selectBlock(int id, int what);
29 int setMatVal(int x, int y, const char* newVal);
30 const char* matVal(int y, int x);
31 const char* toHex(int val);
32
33 int selblock;
34 Ihandle* blocklist;
35 Ihandle* hexEd;
36};
Note: See TracBrowser for help on using the repository browser.