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