comparison include/index.h @ 2:c066fde99517

Added Batch Print Mode.
author pyon@macmini
date Fri, 23 Aug 2013 18:32:09 +0900
parents 0c0701a935f8
children 7ac7d28699af
comparison
equal deleted inserted replaced
1:7b6dab24f4b8 2:c066fde99517
1 // Filename : index.h 1 // Filename : index.h
2 // Last Change: 21-Jul-2013. 2 // Last Change: 23-Aug-2013.
3 // 3 //
4 4
5 #ifndef __INDEX_H__ 5 #ifndef __INDEX_H__
6 #define __INDEX_H__ 6 #define __INDEX_H__
7 7
9 9
10 class IndexDialog : public wxDialog 10 class IndexDialog : public wxDialog
11 { 11 {
12 DECLARE_EVENT_TABLE() 12 DECLARE_EVENT_TABLE()
13 private: 13 private:
14 wxString m_rootdir;
14 15
15 protected: 16 protected:
16 wxListCtrl* m_listCtrl; 17 wxListCtrl* m_listCtrl;
17 wxCalendarCtrl* m_calendar; 18 wxCalendarCtrl* m_calendar;
18 wxButton* m_buttonMake; 19 wxButton* m_buttonMake;
20 wxRichTextCtrl* m_richText;
19 wxButton* m_buttonClose; 21 wxButton* m_buttonClose;
20 22
21 public: 23 public:
22
23 IndexDialog( wxWindow*, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ); 24 IndexDialog( wxWindow*, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style );
24 ~IndexDialog(); 25 ~IndexDialog();
25 26
27 void OnSelect( wxCalendarEvent& WXUNUSED(event) );
28 void OnMakeIndex( wxCommandEvent& WXUNUSED(event) );
29 void OnPage( wxCalendarEvent& WXUNUSED(event) );
30 void UpdateList( void );
31 void CheckHhs( void );
32
33 // Accessor
34 void SetRootdir( wxString dir ) { m_rootdir = dir; }
26 }; 35 };
27 36
28 enum { 37 enum {
29 ID_CALNENDER = wxID_HIGHEST + 60, 38 ID_CALNENDER = wxID_HIGHEST + 60,
30 ID_MKINDEX, 39 ID_MKINDEX,