-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathRevEngEMain.h
75 lines (65 loc) · 2.07 KB
/
RevEngEMain.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
/***************************************************************
Name: RevEngEMain.h
Purpose: Defines Application Frame
Author: Hennie Peters (hennie.dot.peters.at.gmail.dot.com)
Created: 2021-08-30
Copyright: Hennie Peters ()
License:
**************************************************************/
#ifndef REVENGEMAIN_H
#define REVENGEMAIN_H
//(*Headers(RevEngEFrame)
#include <wx/bitmap.h>
#include <wx/filedlg.h>
#include <wx/frame.h>
#include <wx/image.h>
#include <wx/menu.h>
#include <wx/stattext.h>
//*)
class RevEngEFrame: public wxFrame {
public:
void OnPaint( wxPaintEvent &evt );
RevEngEFrame( wxWindow* parent, wxWindowID id = -1 );
virtual ~RevEngEFrame();
private:
//(*Handlers(RevEngEFrame)
void OnQuit( wxCommandEvent& event );
void OnAbout( wxCommandEvent& event );
void OnHowto( wxCommandEvent& event );
void OnClose( wxCloseEvent& event );
//*)
//(*Identifiers(RevEngEFrame)
static const long ID_STATICTEXT1;
static const long ID_MENU_LOAD1;
static const long ID_MENU_LOAD2;
static const long ID_MENU_LATEST;
static const long ID_MENUITEM1;
static const long idMenuAbout;
static const long idMenuHowto;
//*)
//(*Declarations(RevEngEFrame)
wxBitmap *Image1_BMP;
wxBitmap *Image2_BMP;
wxBitmap *Image3_BMP;
wxFileDialog* FileDialog1;
wxImage *Image1;
wxImage *Image2;
wxImage *Image3;
wxMenuItem* MenuItem3;
wxMenuItem* MenuItem4;
wxMenuItem* MenuItem5;
wxMenuItem* MenuItem6;
wxStaticText* StaticText1;
//*)
bool bImageReady1 = false, bImageReady2 = false;
bool bImageValid1 = false, bImageValid2 = false;
bool bImagesScaled = false;
wxString wxsImage1, wxsImage2;
void OnScroll( wxMouseEvent &event );
void OnSize( wxSizeEvent& event );
void OnLoad1( wxCommandEvent& evt );
void OnLoad2( wxCommandEvent& evt );
void OnLoadLatest( wxCommandEvent& evt );
DECLARE_EVENT_TABLE()
};
#endif // REVENGEMAIN_H