view include/index.h @ 3:1a64119ab257

Equipment Regist print-target by Drag & Drop.
author pyon@macmini
date Tue, 27 Aug 2013 18:50:00 +0900
parents c066fde99517
children 7ac7d28699af
line wrap: on
line source

// Filename   : index.h
// Last Change: 23-Aug-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__