17 return *
static_cast<W*
>(ptr_wid);
30 const std::string& _label,
Callback _cb)
39 virtual void move(
int dx,
int dy);
76 const std::string& _label,
Callback _cb)
77 :
Widget{_loc, _width, _height, _label, _cb} {}
91 :
Widget{_loc, _width, _height, s, nullptr} {}
106 const std::string& s)
107 :
Widget{_loc, _width, _height, s, nullptr} {}
111 void put(
const std::string&);
unsigned int pix_amount
Definition Point.h:3
void(*)( void *, void *) Callback
Definition Widgets.h:12
W & reference_to(void *ptr_wid)
Definition Widgets.h:16
std::string get_string()
Definition Widgets.cpp:31
In_box(Point _loc, pix_amount _width, pix_amount _height, const std::string &s)
Definition Widgets.h:89
void attach(Window &win)
Definition Widgets.cpp:36
Out_box(Point _loc, pix_amount _width, pix_amount _height, const std::string &s)
Definition Widgets.h:105
void attach(Window &win)
Definition Widgets.cpp:49
void put(const std::string &)
Definition Widgets.cpp:45