Tyro/src/widgets/FilePane.h

25 lines
491 B
C
Raw Normal View History

#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 {
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
);
~FilePane();
private:
2015-07-07 10:01:17 -04:00
wxImageList *img_list = nullptr;
wxDir *dir = nullptr;
void InitImageList();
};
#endif /* TYRO_FILE_PANE_H */