#include <variablePane.h>
Definition at line 32 of file variablePane.h.
◆ VariablePaneCell() [1/2]
minsky::VariablePaneCell::VariablePaneCell |
( |
| ) |
|
|
inline |
◆ VariablePaneCell() [2/2]
minsky::VariablePaneCell::VariablePaneCell |
( |
const VariableValue & |
var | ) |
|
Definition at line 35 of file variablePane.cc.
References minsky::RenderVariable::draw(), m_height, and m_width.
38 const ecolab::cairo::Surface surf
39 (cairo_recording_surface_create(CAIRO_CONTENT_COLOR_ALPHA,NULL));
40 cairo_move_to(surf.cairo(),0,0);
41 RenderVariable rv(*this->
var, surf.cairo());
44 cairo_recording_surface_ink_extents(surf.surface(),&l,&t,&
m_width,&
m_height);
std::string uqName(const std::string &name)
extract unqualified portion of name
◆ CLASSDESC_ACCESS()
◆ emplace()
void minsky::VariablePaneCell::emplace |
( |
| ) |
const |
◆ height()
double minsky::VariablePaneCell::height |
( |
| ) |
const |
|
inline |
◆ reset()
void minsky::VariablePaneCell::reset |
( |
cairo_t * |
cairo | ) |
|
|
inline |
◆ show()
void minsky::VariablePaneCell::show |
( |
| ) |
|
◆ variable()
const VariableBase & minsky::VariablePaneCell::variable |
( |
| ) |
const |
Definition at line 63 of file variablePane.cc.
References var.
66 static const Variable<VariableType::undefined> undefined;
◆ width()
double minsky::VariablePaneCell::width |
( |
| ) |
const |
|
inline |
◆ cachedCairo
cairo_t* minsky::VariablePaneCell::cachedCairo =nullptr |
|
private |
◆ m_height
double minsky::VariablePaneCell::m_height =0 |
|
private |
◆ m_width
double minsky::VariablePaneCell::m_width =0 |
|
private |
◆ var
The documentation for this class was generated from the following files: