18 using Fl_Window::resize;
22 const std::string& title);
33 size(_width, _height);
36 inline void set_label(
const std::string& s) { label(s.c_str()); }
unsigned int pix_amount
Definition Point.h:3
Абстрактная фигура
Definition Shapes.h:154
void attach(Shape &)
Definition Window.cpp:41
void draw()
Definition Window.cpp:26
void put_on_top(Shape &)
Definition Window.cpp:49
pix_amount w() const
Definition Window.h:26
void set_label(const std::string &s)
Definition Window.h:36
pix_amount height
Definition Window.h:56
pix_amount width
Definition Window.h:55
Window(pix_amount _width, pix_amount _height, const std::string &title)
Definition Window.cpp:5
virtual ~Window()=default
pix_amount h() const
Definition Window.h:28
void detach(Shape &)
Удаляет фигуру из соотв. списка
Definition Window.cpp:43
std::vector< Shape * > shapes
Definition Window.h:54
virtual void init()
Definition Window.cpp:21
void resize(pix_amount _width, pix_amount _height)
Definition Window.h:30
int gui_main()
Вызывает основной цикл обработки событий библиотеки виджетов
Definition Window.h:65
W & reference_to(void *ptr_wid)
Definition Widgets.h:16