diff include/search.h @ 0:615a15029602 default tip

first commit.
author pyon@macmini
date Sun, 10 Nov 2019 08:39:41 +0900
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/include/search.h	Sun Nov 10 08:39:41 2019 +0900
@@ -0,0 +1,71 @@
+/* Filename   : search.h
+   Last Change: 2019-11-08 金 14:16:50.
+                     by Takayuki Mutoh
+*/
+#pragma once
+
+#include <wx/artprov.h>
+#include <wx/xrc/xmlres.h>
+#include <wx/string.h>
+#include <wx/bitmap.h>
+#include <wx/image.h>
+#include <wx/icon.h>
+#include <wx/menu.h>
+#include <wx/gdicmn.h>
+#include <wx/font.h>
+#include <wx/colour.h>
+#include <wx/settings.h>
+#include <wx/stattext.h>
+#include <wx/srchctrl.h>
+#include <wx/textctrl.h>
+#include <wx/dataview.h>
+#include <wx/statbmp.h>
+#include <wx/gbsizer.h>
+#include <wx/frame.h>
+#include <wx/button.h>
+#include <wx/sizer.h>
+
+class SearcherFrame : public wxFrame
+{
+	private:
+
+	protected:
+		enum
+		{
+			ID_MN_UPDB = 1000,
+			ID_MN_USER,
+			ID_MN_SETTING,
+			ID_MN_VERSION,
+			ID_MN_KANA,
+			ID_MN_HIST,
+			ID_MN_INDEX,
+			ID_MN_BPRINT,
+			ID_MN_MRGMV
+		};
+
+		wxMenuBar*          m_menubar;
+		wxMenu*             m_menuFile;
+		wxMenu*             m_menuTool;
+		wxStaticText*       m_staticTextCommand;
+		wxSearchCtrl*       m_searchCtrl;
+		wxStaticText*       m_staticTextMessage;
+		wxTextCtrl*         m_textCtrlMessage;
+		wxStaticText*       m_staticTextResult;
+		wxDataViewListCtrl* m_dataViewListCtrlResult;
+		wxDataViewColumn*   m_dataViewListColumnNo;
+		wxDataViewColumn*   m_dataViewListColumnDate;
+		wxDataViewColumn*   m_dataViewListColumnDir;
+		wxStaticBitmap*     m_bitmapLogo;
+
+		// Virtual event handlers, overide them in your derived class
+		virtual void OnMenuVersion( wxCommandEvent& event ) { event.Skip(); }
+		virtual void OnText( wxCommandEvent& event ) { event.Skip(); }
+		virtual void OnSearch( wxCommandEvent& event ) { event.Skip(); }
+		virtual void OnDclickResult( wxDataViewEvent& event ) { event.Skip(); }
+
+	public:
+		SearcherFrame( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Le Searcher"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 420,440 ), long style = wxCAPTION|wxCLOSE_BOX|wxMINIMIZE_BOX|wxTAB_TRAVERSAL );
+		~SearcherFrame();
+};
+
+