#include <LabeledIconFigure.h>
◆ LabeledIconFigure()
| inet::LabeledIconFigure::LabeledIconFigure |
( |
const char * |
name = nullptr | ) |
|
◆ getBounds()
| cFigure::Rectangle inet::LabeledIconFigure::getBounds |
( |
| ) |
const |
41 auto x =
std::min(iconBounds.x, labelBounds.x);
42 auto y =
std::min(iconBounds.y, labelBounds.y);
43 auto width =
std::max(iconBounds.x + iconBounds.width, labelBounds.x + labelBounds.width) - x;
44 auto height =
std::max(iconBounds.y + iconBounds.height, labelBounds.y + labelBounds.height) - y;
45 return cFigure::Rectangle(x, y, width, height);
◆ getIconFigure()
| cIconFigure* inet::LabeledIconFigure::getIconFigure |
( |
| ) |
const |
|
inline |
◆ getLabelFigure()
| cLabelFigure* inet::LabeledIconFigure::getLabelFigure |
( |
| ) |
const |
|
inline |
◆ setAssociatedObject()
| void inet::LabeledIconFigure::setAssociatedObject |
( |
cObject * |
object | ) |
|
◆ setOpacity()
| void inet::LabeledIconFigure::setOpacity |
( |
double |
opacity | ) |
|
◆ setPosition()
| void inet::LabeledIconFigure::setPosition |
( |
cFigure::Point |
position | ) |
|
◆ setTooltip()
| void inet::LabeledIconFigure::setTooltip |
( |
const char * |
tooltip | ) |
|
◆ iconFigure
| cIconFigure* inet::LabeledIconFigure::iconFigure |
|
protected |
◆ labelFigure
| cLabelFigure* inet::LabeledIconFigure::labelFigure |
|
protected |
The documentation for this class was generated from the following files: