view include/dirview.h @ 40:ce5b61376fd0 v2.7 tip

complete dirview.
author pyon@macmini
date Fri, 25 Nov 2011 22:08:47 +0900
parents 044cc2f5af81
children
line wrap: on
line source

// Filename   : dirview.h
// Last Change: 25-Nov-2011.
//

#ifndef __dirview__
#define __dirview__

#include "common.h"

class DirViewFrame : public wxFrame 
{
    DECLARE_EVENT_TABLE()
	private:
        wxWindow*       m_parent;
	
	protected:
		wxListCtrl*     m_listCtrl;
        wxButton*       m_buttonExplorer;
        wxButton*       m_buttonClose;
	
	public:
        wxString        m_dir;        
		
		DirViewFrame( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL );
		~DirViewFrame();
	
        void OnExplorer(wxCommandEvent& event);
        void OnClose(wxCommandEvent& event);
        void LoadListImage( void );
};

#endif //__dirview__