annotate include/miniframe.h @ 22:92188f60323d default tip

Implement Masking function on Preview Dialog.
author pyon@macmini
date Sat, 04 Apr 2015 17:23:46 +0900
parents a2ad87cad48b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
21
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
1 // Filename : miniframe.h
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
2 // Last Change: 04-Dec-2014.
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
3 //
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
4 #ifndef __MINIFRAME_H__
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
5 #define __MINIFRAME_H__
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
6
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
7 #include "common.h"
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
8
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
9 class MiniFrame;
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
10 ///////////////////////////////////////////////////////////////
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
11 // カスタム検索ボックス
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
12 class MiniSearchBox : public wxSearchCtrl
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
13 {
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
14 DECLARE_EVENT_TABLE()
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
15 private:
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
16 wxArrayString m_jhhsno;
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
17
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
18 public:
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
19 MiniSearchBox( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style );
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
20 ~MiniSearchBox();
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
21
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
22 void OnKey( wxKeyEvent& event );
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
23 };
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
24
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
25
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
26 ///////////////////////////////////////////////////////////////
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
27 // メインフレーム
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
28 class MiniFrame : public wxFrame
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
29 {
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
30 DECLARE_EVENT_TABLE()
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
31 private:
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
32 wxFileConfig* config;
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
33 wxString conf_file;
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
34 wxString m_hhsno;
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
35 wxString m_shared;
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
36
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
37 protected:
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
38 wxStaticText* m_staticText; // コマンド?
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
39 MiniSearchBox* m_searchBox;
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
40
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
41 public:
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
42 MiniFrame( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style );
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
43 ~MiniFrame();
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
44
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
45 void OnOpenAppDir( wxCommandEvent& WXUNUSED(event) );
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
46 void OpenAppDir( void );
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
47 void OpenHhsDir( wxString path );
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
48 void Transform( wxString mode );
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
49 void PrintImages( wxString path );
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
50 void OnCommand( wxCommandEvent& WXUNUSED(event) );
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
51 void LoadParam( void );
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
52 };
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
53
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
54 enum {
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
55 ID_MSEARCH = wxID_HIGHEST + 10,
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
56 };
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
57
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
58 #endif //__MINIFRAME_H__
a2ad87cad48b Enhanced the convenience of Cache dialog.
pyon@macmini
parents:
diff changeset
59