Mercurial > mercurial > hgweb_searcher03.cgi
comparison include/kana.h @ 1:7b6dab24f4b8
Gui parts complete.
| author | pyon@macmini |
|---|---|
| date | Sun, 04 Aug 2013 21:42:49 +0900 |
| parents | 0c0701a935f8 |
| children | c066fde99517 |
comparison
equal
deleted
inserted
replaced
| 0:0c0701a935f8 | 1:7b6dab24f4b8 |
|---|---|
| 1 // Filename : kana.h | 1 // Filename : kana.h |
| 2 // Last Change: 21-Jul-2013. | 2 // Last Change: 04-Aug-2013. |
| 3 // | 3 // |
| 4 #ifndef __KANA_H__ | 4 #ifndef __KANA_H__ |
| 5 #define __KANA_H__ | 5 #define __KANA_H__ |
| 6 | 6 |
| 7 #include "common.h" | 7 #include "common.h" |
| 8 | 8 |
| 9 class KanaDialog : public wxDialog | 9 class KanaDialog : public wxDialog |
| 10 { | 10 { |
| 11 DECLARE_EVENT_TABLE() | 11 DECLARE_EVENT_TABLE() |
| 12 private: | 12 private: |
| 13 wxArrayString m_hhs; | |
| 14 wxString m_hhsno; | |
| 13 | 15 |
| 14 protected: | 16 protected: |
| 15 | 17 |
| 16 wxSearchCtrl* m_searchCtrl; | 18 wxSearchCtrl* m_searchCtrl; |
| 17 wxCheckBox* m_checkBox; | 19 wxCheckBox* m_checkBox; |
| 22 public: | 24 public: |
| 23 | 25 |
| 24 KanaDialog( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ); | 26 KanaDialog( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ); |
| 25 ~KanaDialog(); | 27 ~KanaDialog(); |
| 26 | 28 |
| 29 void OnSearch( wxCommandEvent& WXUNUSED(event) ); | |
| 30 void OnFuzzyCheck( wxCommandEvent& WXUNUSED(event) ); | |
| 31 void OnSelectItem( wxListEvent& WXUNUSED(event) ); | |
| 32 void OnSet( wxCommandEvent& WXUNUSED(event) ); | |
| 33 void UpdateList( void ); | |
| 34 | |
| 35 // Accessor | |
| 36 wxString GetHhsNo() const { return m_hhsno; } | |
| 27 }; | 37 }; |
| 28 | 38 |
| 29 enum | 39 enum |
| 30 { | 40 { |
| 31 ID_LISTKANA = wxID_HIGHEST + 20, | 41 ID_SEARCHKANA = wxID_HIGHEST + 20, |
| 42 ID_LISTKANA, | |
| 43 ID_FUZZY, | |
| 44 ID_SETKANA, | |
| 32 }; | 45 }; |
| 33 | 46 |
| 34 #endif //__KANA_H__ | 47 #endif //__KANA_H__ |
| 35 | 48 |
