27 lines
675 B
C++
27 lines
675 B
C++
#ifndef __MWCXX_WIDGET_TREEVIEW_H__
|
|
#define __MWCXX_WIDGET_TREEVIEW_H__
|
|
|
|
#include <MwCXX/MachDep.h>
|
|
#include <MwCXX/Widget/Base.h>
|
|
|
|
#include <Mw/Widget/TreeView.h>
|
|
|
|
namespace MwCXX {
|
|
class TreeView : public MwCXX::Base {
|
|
protected:
|
|
virtual void RegisterHandlers();
|
|
|
|
public:
|
|
TreeView(MwWidget widget, MwCXX::Base* parent = NULL);
|
|
TreeView(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height);
|
|
|
|
int GetLeftPadding();
|
|
void SetLeftPadding(int value);
|
|
int GetSingleClickSelectable();
|
|
void SetSingleClickSelectable(int value);
|
|
|
|
virtual void OnTreeViewActivate(void* value) {};
|
|
};
|
|
}; // namespace MwCXX
|
|
|
|
#endif
|