Mercurial > mercurial > hgweb_mover2.cgi
comparison include/dirview.h @ 38:044cc2f5af81 v2.4 v2.7
small fix.
| author | pyon@macmini |
|---|---|
| date | Thu, 24 Nov 2011 22:26:15 +0900 |
| parents | 868ccd73e238 |
| children | ce5b61376fd0 |
comparison
equal
deleted
inserted
replaced
| 37:3b54f3deeed9 | 38:044cc2f5af81 |
|---|---|
| 1 // Filename : dirview.h | 1 // Filename : dirview.h |
| 2 // Last Change: 24-Oct-2011. | 2 // Last Change: 24-Nov-2011. |
| 3 // | 3 // |
| 4 | 4 |
| 5 #ifndef __dirview__ | 5 #ifndef __dirview__ |
| 6 #define __dirview__ | 6 #define __dirview__ |
| 7 | 7 |
| 8 #include "common.h" | 8 #include "common.h" |
| 9 | 9 |
| 10 class DirViewFrame : public wxFrame | 10 class DirViewFrame : public wxFrame |
| 11 { | 11 { |
| 12 DECLARE_EVENT_TABLE() | |
| 12 private: | 13 private: |
| 13 | 14 |
| 14 protected: | 15 protected: |
| 15 wxListCtrl* m_listCtrlAll; | 16 wxListCtrl* m_listCtrl; |
| 16 wxListCtrl* m_listCtrlThumbnail; | 17 wxButton* m_buttonExplorer; |
| 17 wxStaticBitmap* m_bitmapPreview; | 18 wxButton* m_buttonClose; |
| 18 | 19 |
| 19 public: | 20 public: |
| 21 wxString m_dir; | |
| 20 | 22 |
| 21 DirViewFrame( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 500,300 ), long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL ); | 23 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 ); |
| 22 ~DirViewFrame(); | 24 ~DirViewFrame(); |
| 23 | 25 |
| 24 void DirViewFrame::OnThumbnail(wxListEvent& event); | 26 void OnExplorer(wxCommandEvent& event); |
| 25 void DirViewFrame::OnThumbnail(wxListEvent& event); | 27 void OnClose(wxCommandEvent& event); |
| 28 void LoadListImage( void ); | |
| 26 }; | 29 }; |
| 27 | 30 |
| 28 #endif //__dirview__ | 31 #endif //__dirview__ |
| 29 | 32 |
