view include/index.h @ 7:7ac7d28699af

Display DB update day. Ask print image with mask or not.
author pyon@macmini
date Thu, 17 Oct 2013 19:54:23 +0900
parents c066fde99517
children
line wrap: on
line source

// Filename   : index.h
// Last Change: 16-Oct-2013.
//

#ifndef __INDEX_H__
#define __INDEX_H__

#include "common.h"

class IndexDialog : public wxDialog
{
    DECLARE_EVENT_TABLE()
	private:
        wxString m_rootdir;
	
	protected:
		wxListCtrl*     m_listCtrl;
		wxCalendarCtrl* m_calendar;
		wxButton*       m_buttonMake;
        wxRichTextCtrl* m_richText;
		wxButton*       m_buttonClose;
	
	public:
		IndexDialog( wxWindow*, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style );
		~IndexDialog();

        void OnSelect( wxCalendarEvent& WXUNUSED(event) );	
        void OnMakeIndex( wxCommandEvent& WXUNUSED(event) );
        void OnPage( wxCalendarEvent& WXUNUSED(event) );
        void UpdateList( void );
        void CheckHhs( void );

        // Accessor
        void SetRootdir( wxString dir ) { m_rootdir = dir; }
};

enum {
    ID_CALNENDER = wxID_HIGHEST + 60,
    ID_MKINDEX,
};

#endif //__INDEX_H__