view include/delwhite.h @ 8:b59dfcc84d7a default tip

v0.4b
author pyon@macmini
date Thu, 13 Oct 2011 20:13:41 +0900
parents 99d612849255
children
line wrap: on
line source

// Filename   : delwhite.h
// Last Change: 08-Oct-2011.
//
#ifndef __DELWHITE__
#define __DEWHITEL__

#include "common.h"

#include "wx/wxprec.h"

#ifndef WX_PRECOMP
    #include <wx/string.h>
    #include <wx/stattext.h>
    #include <wx/image.h>
    #include <wx/imaglist.h>
    #include <wx/sizer.h>
    #include <wx/textctrl.h>
    #include <wx/frame.h>
    #include <wx/listctrl.h>
    #include <wx/checkbox.h>
    #include <wx/utils.h>
    #include <wx/dir.h>
    #include <wx/file.h>
#endif
    
///////////////////////////////////////////////////////////////////////////////
/// Class FrameDelWhite
///////////////////////////////////////////////////////////////////////////////
class FrameDelWhite : public wxFrame 
{
    DECLARE_EVENT_TABLE()
	private:
        wxImageList*        m_imageList;
	
	protected:
        wxListCtrl*         m_listCtrl;
        wxCheckBox*         m_checkBox;
		wxStaticText*		m_staticText;
		wxButton*       	m_buttonDelWhite;
		wxButton*       	m_buttonCancel;
	
	public:
        wxString            m_dir;

	public:
		FrameDelWhite( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxCAPTION|wxFRAME_NO_TASKBAR|wxMAXIMIZE_BOX|wxRESIZE_BORDER|wxTAB_TRAVERSAL );
		~FrameDelWhite();

        void UpdateList(wxCommandEvent&);
        void DeleteImage(wxCommandEvent&);
        void CloseFrame(wxCommandEvent&);
        void LoadImages(void);
};

#endif //__DELWHITE__