21 BORDER_NONE, BORDER_REGULAR, BORDER_FANCY
24 Window(
int x,
int y,
int w,
int h);
26 Window(
Window* parent,
int x,
int y,
int width,
int height);
30 virtual void resize(
int w,
int h);
37 void print(std::string str,
int x,
int y, ColorPair pair=0);
48 void print(std::vector<std::string> lines,
int x,
int y, ColorPair pair=0);
53 void printChar(
int c,
int x,
int y, ColorPair pair=0);
55 void setBackground(chtype ch, ColorPair pair);
66 void borders(BorderType type);
68 void horizontalLine(
int x,
int y,
int c,
int width, ColorPair pair);
70 enum WindowTitlePosition
72 TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT
80 void setTitle(std::string title, WindowTitlePosition position=Window::TOP_LEFT);
96 BorderType borderType;
98 std::string topLeftTitle;
99 std::string topRightTitle;
100 std::string bottomLeftTitle;
101 std::string bottomRightTitle;
void print(std::string str, int x, int y, ColorPair pair=0)
Shows text #str at x y on the window with color #pair.