You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
427 B
24 lines
427 B
#ifndef UILIST_H
|
|
#define UILIST_H
|
|
|
|
#include "uiwidget.h"
|
|
|
|
class UIList : public UIWidget
|
|
{
|
|
public:
|
|
UIList();
|
|
|
|
virtual void loadStyleFromOTML(const OTMLNodePtr& styleNode);
|
|
virtual void render();
|
|
|
|
protected:
|
|
virtual void onKeyPress(UIKeyEvent& event);
|
|
virtual void onMousePress(UIMouseEvent& event);
|
|
virtual void onMouseMove(UIMouseEvent& event);
|
|
|
|
private:
|
|
std::list<std::string> m_items;
|
|
};
|
|
|
|
#endif
|