forked from mhernando/Apolo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
converter.h
49 lines (39 loc) · 948 Bytes
/
converter.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
#ifndef __APOLO__CONVERTER__H
#define __APOLO__CONVERTER__H
#include "mrcore.h"
#include <wx/wx.h>
#include <wx/menu.h>
#include <wx/filedlg.h>
#include <wx/wfstream.h>
#include <wx/splitter.h>
#include "canvas.h"
#include "definitions.h"
#include "bitmaps/open.xpm"
#include "bitmaps/save.xpm"
#include "bitmaps/icono.xpm"
class Converter : public wxDialog
{
public:
Converter(wxWindow *parent, wxWindowID id, const wxString& title);
void OnQuit(wxCommandEvent& event);
void OnOpen(wxCommandEvent& event);
void OnSaveAs(wxCommandEvent& event);
void OnClose(wxCloseEvent& event);
void resize(wxSizeEvent& event);
void OnlyRead(MeshPart* mesh);
void ClearAll();
private:
wxWindowID winId;
wxString fileName;
wxString fileName2;
MeshPart* tmesh;
wxSize size;
wxTextCtrl* tc;
wxTextCtrl* tc2;
wxPanel *pan;
wxPanel *pan2;
wxToolBar *toolbar;
Canvas * m_canvas;
DECLARE_EVENT_TABLE();
};
#endif // __APOLO__CONVERTER__H