mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 22:02:49 -06:00
28 lines
642 B
C++
28 lines
642 B
C++
#ifndef _ColumnListDisplay_ColumnListDisplay_h
|
|
#define _ColumnListDisplay_ColumnListDisplay_h
|
|
|
|
#include <CtrlLib/CtrlLib.h>
|
|
|
|
#define LAYOUTFILE <ColumnListDisplay/ColumnListDisplay.lay>
|
|
#include <CtrlCore/lay.h>
|
|
|
|
|
|
class MyColumnList : public ColumnList, private Display {
|
|
public:
|
|
MyColumnList();
|
|
virtual void Paint(Draw& w, const Rect& r, const Value& q, Color ink, Color paper, dword style) const;
|
|
|
|
Size GetStdSize();
|
|
};
|
|
|
|
class ColumnListDisplay : public WithColumnListDisplayLayout<TopWindow> {
|
|
private:
|
|
MyColumnList list;
|
|
public:
|
|
typedef ColumnListDisplay CLASSNAME;
|
|
ColumnListDisplay();
|
|
|
|
};
|
|
|
|
|
|
#endif
|