-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathexportdlg.h
50 lines (37 loc) · 1.1 KB
/
exportdlg.h
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#pragma once
#ifndef _CSMAP_EXPORTDLG
#define _CSMAP_EXPORTDLG
#include <fx.h>
#include <list>
#include <vector>
#include "datafile.h"
class FXExportDlg : public FXDialogBox
{
FXDECLARE(FXExportDlg)
public:
FXExportDlg(FXWindow* owner, const FXString& name, FXIcon* icon, FXuint opts = DECOR_TITLE | DECOR_BORDER, FXuval limitScale = 128, FXint x = 0, FXint y = 0, FXint w = 0, FXint h = 0);
void create();
virtual ~FXExportDlg();
long onAccept(FXObject* sender, FXSelector sel, void* ptr);
void loadState(FXRegistry ®);
void saveState(FXRegistry ®);
public:
FXuval getScale() const;
void setScale(FXuval scale);
FXuval getColor() const;
void setColor(FXuval color);
bool getShowNames() const;
bool getShowKoords() const;
bool getShowIslands() const;
protected:
FXuval maxScale = 64;
FXComboBox* scalebox = nullptr;
FXComboBox* colorbox = nullptr;
FXCheckButton* shownamesbox = nullptr;
FXCheckButton* showkoordsbox = nullptr;
FXCheckButton* showislandsbox = nullptr;
protected:
FXExportDlg(){}
FXExportDlg(const FXExportDlg&) {}
};
#endif //_CSMAP_EXPORTDLG