#include <Point_box.h>
◆ Point_box()
Graphix_calc::Point_box::Point_box |
( |
pix_amount | window_w, |
|
|
pix_amount | window_h, |
|
|
void | cb_showvoid *, void *, |
|
|
void | cb_hidevoid *, void * ) |
19 btn_h,
"Show", cb_show}},
21 btn_h,
"Hide", cb_hide}} {}
Graph_lib::Button * hide_button
Definition Point_box.h:30
Graph_lib::Button * show_button
Definition Point_box.h:29
constexpr pix_amount btn_w
Стандартная ширина кнопки
Definition constants.h:43
constexpr pix_amount margin
Вспомогательный отступ
Definition constants.h:40
constexpr pix_amount btn_h
Стандартная высота кнопки
Definition constants.h:45
◆ ~Point_box()
Graphix_calc::Point_box::~Point_box |
( |
| ) |
|
◆ attach()
◆ detach()
◆ hide()
virtual void Graph_lib::Widget::hide |
( |
| ) |
|
|
inlinevirtualinherited |
◆ move()
void Graph_lib::Widget::move |
( |
int | dx, |
|
|
int | dy ) |
|
virtualinherited |
Reimplemented in Graphix_calc::Function_box.
9 {
10 if (dx +
int(
loc.
x) < 0 || dy +
int(
loc.
y) < 0)
11 throw std::invalid_argument("bad dx or dy");
12
16}
pix_amount y
Definition Point.h:30
pix_amount x
Definition Point.h:30
◆ show()
virtual void Graph_lib::Widget::show |
( |
| ) |
|
|
inlinevirtualinherited |
◆ window()
Window & Graph_lib::Widget::window |
( |
| ) |
|
|
inlineinherited |
◆ cb
Callback Graph_lib::Widget::cb |
|
protectedinherited |
◆ height
◆ hide_button
◆ label
std::string Graph_lib::Widget::label |
|
protectedinherited |
◆ loc
Point Graph_lib::Widget::loc |
|
protectedinherited |
◆ own
Window* Graph_lib::Widget::own |
|
protectedinherited |
Окно, которому принадлежит виджет
◆ ptr_wid
Fl_Widget* Graph_lib::Widget::ptr_wid |
|
protectedinherited |
◆ show_button
◆ width
The documentation for this class was generated from the following files: