0
|
1 // Filename : iv.h
|
|
2 // Last Change: 2020-08-13 木 12:31:12.
|
|
3 //
|
|
4 #pragma once
|
|
5
|
|
6 #include <wx/artprov.h>
|
|
7 #include <wx/xrc/xmlres.h>
|
|
8 #include <wx/scrolwin.h>
|
|
9 #include <wx/gdicmn.h>
|
|
10 #include <wx/font.h>
|
|
11 #include <wx/colour.h>
|
|
12 #include <wx/settings.h>
|
|
13 #include <wx/string.h>
|
|
14 #include <wx/filepicker.h>
|
|
15 #include <wx/treectrl.h>
|
|
16 #include <wx/dataview.h>
|
|
17 #include <wx/textctrl.h>
|
|
18 #include <wx/stattext.h>
|
|
19 #include <wx/choice.h>
|
|
20 #include <wx/bitmap.h>
|
|
21 #include <wx/image.h>
|
|
22 #include <wx/icon.h>
|
|
23 #include <wx/button.h>
|
|
24 #include <wx/gbsizer.h>
|
|
25 #include <wx/sizer.h>
|
|
26 #include <wx/frame.h>
|
|
27
|
|
28 class ivFrame : public wxFrame
|
|
29 {
|
|
30 private:
|
|
31
|
|
32 protected:
|
|
33 wxScrolledWindow* m_scrolledWindow;
|
|
34 //wxStaticBitmap* m_bitmap;
|
|
35 wxDirPickerCtrl* m_dirPicker;
|
|
36 wxTreeCtrl* m_treeCtrl;
|
|
37 wxDataViewListCtrl* m_dataViewListCtrl;
|
|
38 wxDataViewColumn* m_dataViewListColumnName;
|
|
39 wxDataViewColumn* m_dataViewListColumnSize;
|
|
40 wxDataViewColumn* m_dataViewListColumnTime;
|
|
41 wxTextCtrl* m_textCtrl;
|
|
42 wxStaticText* m_staticTextType;
|
|
43 wxChoice* m_choice;
|
|
44 wxButton* m_buttonConv;
|
|
45 wxStaticText* m_staticTextW;
|
|
46 wxTextCtrl* m_textCtrlW;
|
|
47 wxStaticText* m_staticTextH;
|
|
48 wxTextCtrl* m_textCtrlH;
|
|
49 wxButton* m_buttonResize;
|
|
50
|
|
51 // Virtual event handlers, overide them in your derived class
|
|
52 virtual void OnDirChanged(wxFileDirPickerEvent& event);
|
|
53 virtual void OnConvert(wxCommandEvent& event);
|
|
54 virtual void OnResize(wxCommandEvent& event);
|
|
55
|
|
56 public:
|
|
57 ivFrame(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 500,300 ), long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL);
|
|
58 ~ivFrame();
|
|
59
|
|
60 void Initialize(wxString file);
|
|
61 };
|
|
62
|