-
Notifications
You must be signed in to change notification settings - Fork 0
/
showpic.h
93 lines (82 loc) · 2.25 KB
/
showpic.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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
#ifndef SHOWPIC_H
#define SHOWPIC_H
#ifndef WX_PRECOMP
//(*HeadersPCH(showpic)
#include <wx/sizer.h>
#include <wx/stattext.h>
#include <wx/panel.h>
#include <wx/button.h>
#include <wx/frame.h>
//*)
#endif
//(*Headers(showpic)
//*)
class recFrame_t;
class ProFrame_t;
class setframeval;
class myStatusbar;
class showpic: public wxFrame
{
public:
showpic(wxWindow* parent,wxWindowID id=wxID_ANY,const wxPoint& pos=wxDefaultPosition,const wxSize& size=wxDefaultSize);
virtual ~showpic();
//(*Declarations(showpic)
wxStaticText* StaticText2;
wxButton* startrecpic_Button;
wxButton* datemod_Button;
wxButton* Button1;
wxStaticText* StaticText6;
wxStaticText* StaticText8;
wxPanel* Panel1;
wxStaticText* StaticText1;
wxStaticText* StaticText3;
wxButton* Button2;
wxStaticText* StaticText5;
wxStaticText* StaticText7;
wxPanel* Panel2;
wxStaticText* StaticText4;
//*)
protected:
//(*Identifiers(showpic)
static const long ID_STATICTEXT1;
static const long ID_STATICTEXT5;
static const long ID_STATICTEXT2;
static const long ID_STATICTEXT6;
static const long ID_STATICTEXT3;
static const long ID_STATICTEXT7;
static const long ID_STATICTEXT4;
static const long ID_STATICTEXT8;
static const long ID_BUTTON3;
static const long ID_BUTTON1;
static const long ID_PANEL2;
static const long ID_BUTTON2;
static const long ID_BUTTON4;
static const long ID_PANEL1;
//*)
private:
//(*Handlers(showpic)
void Ondatemod_ButtonClick(wxCommandEvent& event);
void OnPanel2Paint(wxPaintEvent& event);
void OnButton1Click(wxCommandEvent& event);
void OnClose(wxCloseEvent& event);
void Onstartrecpic_ButtonClick(wxCommandEvent& event);
void OnSavePicClick(wxCommandEvent& event);
void Onstartrecpic_ButtonClick1(wxCommandEvent& event);
//*)
void OnReadNumUpdate(wxCommandEvent& event);
void OnClearCountClick(wxCommandEvent& event);
void OnProcessThreadEvent(wxCommandEvent& event);
int startofframe;
int endofframe;
int col;
int row;
wxImage image;
wxBitmap bitmap;
wxWindow* parentframe;
setframeval* newdialog;
recFrame_t* workthread;
myStatusbar* statusbar;
friend class setframeval;//ʹÄÜÐÞ¸ÄÖ¡Êý¾ÝÐÅÏ¢
DECLARE_EVENT_TABLE()
};
#endif