23 lines
448 B
C++
23 lines
448 B
C++
#ifndef GUILIST_HPP
|
|
#define GUILIST_HPP
|
|
#include "GuiElement.hpp"
|
|
|
|
class GuiList : public GuiElement {
|
|
public:
|
|
GuiList(const char *name);
|
|
~GuiList();
|
|
enum DFlags {
|
|
HORIZONTAL = (1 << 1),
|
|
VERTICAL = (1 << 2),
|
|
UP = (1 << 3),
|
|
DOWN = (1 << 4),
|
|
LEFT = (1 << 5),
|
|
RIGHT = (1 << 6)
|
|
};
|
|
int doUpdate(int c_width, int c_height);
|
|
int setDFlags(int dir_flags_);
|
|
private:
|
|
int dflags;
|
|
};
|
|
#endif
|