Mercurial > mercurial > hgweb_searcher03.cgi
view 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 |
line wrap: on
line source
// Filename : miniframe.h // Last Change: 04-Dec-2014. // #ifndef __MINIFRAME_H__ #define __MINIFRAME_H__ #include "common.h" class MiniFrame; /////////////////////////////////////////////////////////////// // カスタム検索ボックス class MiniSearchBox : public wxSearchCtrl { DECLARE_EVENT_TABLE() private: wxArrayString m_jhhsno; public: MiniSearchBox( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ); ~MiniSearchBox(); void OnKey( wxKeyEvent& event ); }; /////////////////////////////////////////////////////////////// // メインフレーム class MiniFrame : public wxFrame { DECLARE_EVENT_TABLE() private: wxFileConfig* config; wxString conf_file; wxString m_hhsno; wxString m_shared; protected: wxStaticText* m_staticText; // コマンド? MiniSearchBox* m_searchBox; public: MiniFrame( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ); ~MiniFrame(); void OnOpenAppDir( wxCommandEvent& WXUNUSED(event) ); void OpenAppDir( void ); void OpenHhsDir( wxString path ); void Transform( wxString mode ); void PrintImages( wxString path ); void OnCommand( wxCommandEvent& WXUNUSED(event) ); void LoadParam( void ); }; enum { ID_MSEARCH = wxID_HIGHEST + 10, }; #endif //__MINIFRAME_H__