File: fltkui_config.h

package info (click to toggle)
nestopia 1.52.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 12,140 kB
  • sloc: cpp: 127,444; xml: 27,234; ansic: 3,635; makefile: 949; sh: 19
file content (31 lines) | stat: -rw-r--r-- 603 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef _FLTKUI_CONFIG_H_
#define _FLTKUI_CONFIG_H_

class NstConfWindow : public Fl_Double_Window {
private:
	bool icfg_running;

public:
	NstConfWindow(int w, int h, const char* t) : Fl_Double_Window(w, h, t) { }
	virtual ~NstConfWindow() { }

	void populate();
};

class NstInputConfWindow : public Fl_Double_Window {
private:
	int handle(int e);

public:
	NstInputConfWindow(int x, int y, int w, int h, const char* t) : Fl_Double_Window(x, y, w, h, t) {
		box(FL_DOWN_BOX);
	}
	virtual ~NstInputConfWindow() { }

	Fl_Box *text;
	int btn;
	int player;
	int device; // Keyboard or Joystick
};

#endif