2015-06-05 16:50:52 -04:00
|
|
|
#ifndef TYRO_FILE_PANE_H
|
|
|
|
#define TYRO_FILE_PANE_H
|
|
|
|
|
2015-07-07 10:01:17 -04:00
|
|
|
#include "src/widgets/widget.h"
|
|
|
|
|
|
|
|
class FilePane : public wxTreeListCtrl {
|
2015-06-05 16:50:52 -04:00
|
|
|
public:
|
|
|
|
FilePane(
|
2015-07-07 10:01:17 -04:00
|
|
|
wxWindow *parent,
|
|
|
|
wxWindowID id=wxID_ANY,
|
|
|
|
const wxPoint &pos=wxDefaultPosition,
|
|
|
|
const wxSize &size=wxDefaultSize,
|
|
|
|
long style=wxTL_DEFAULT_STYLE,
|
|
|
|
const wxString &name=wxTreeListCtrlNameStr
|
2015-06-05 16:50:52 -04:00
|
|
|
);
|
|
|
|
~FilePane();
|
|
|
|
private:
|
2015-07-07 10:01:17 -04:00
|
|
|
wxImageList *img_list = nullptr;
|
|
|
|
wxDir *dir = nullptr;
|
|
|
|
void InitImageList();
|
2015-06-05 16:50:52 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* TYRO_FILE_PANE_H */
|
|
|
|
|