diff include/delwhite.h @ 2:1ea4f7981ff5

create window.
author pyon@macmini
date Sun, 02 Oct 2011 18:44:03 +0900
parents
children a5bddd859104
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/include/delwhite.h	Sun Oct 02 18:44:03 2011 +0900
@@ -0,0 +1,49 @@
+// Filename   : delwhite.h
+// Last Change: 02-Oct-2011.
+//
+#ifndef __DELWHITE__
+#define __DEWHITEL__
+
+#include "common.h"
+
+#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>
+
+///////////////////////////////////////////////////////////////////////////////
+/// Class FrameDelWhite
+///////////////////////////////////////////////////////////////////////////////
+class FrameDelWhite : public wxFrame 
+{
+    DECLARE_EVENT_TABLE()
+	private:
+        wxImageList*        m_imageList;
+        wxListItem*         m_listItem;
+	
+	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 DeleteImage(wxCommandEvent&);
+        void CloseFrame(wxCommandEvent&);
+        void LoadImages(void);
+};
+
+#endif //__DELWHITE__
+