20 #ifndef VARIABLEPANE_H 21 #define VARIABLEPANE_H 54 classdesc::Exclude<std::vector<VariablePaneCell>>
vars;
56 bool redraw(
int,
int,
int width,
int height)
override;
78 #include "variablePane.cd"
bool evenHeight() const override
whether cells all have the same height or not
bool shift
true if shift pressed
void mouseDown(float x, float y) override
void update()
update variables from model, using previous height value
void deselect(VariableType::Type x)
void reset(cairo_t *cairo)
std::set< Type > selection
unsigned numRows() const override
CLASSDESC_ACCESS(VariablePaneCell)
const VariableBase & variable() const
void select(VariableType::Type x)
int colX(double x) const
column at x in unzoomed coordinates
Creation and access to the minskyTCL_obj object, which has code to record whenever Minsky's state cha...
bool redraw(int, int, int width, int height) override
Mixin implementing common panning functionality in tabs.
int rowY(double y) const
row at y in unzoomed coordinates
void moveCursorTo(double, double) override
move current cursor to x,y
void mouseDown(float x, float y) override
unsigned numCols() const override
VariablePaneCell & cell(unsigned row, unsigned col) override
return reference to cell row, col. Reference is valid until next call to cell()
classdesc::Exclude< std::vector< VariablePaneCell > > vars
void updateWithHeight(unsigned height)
update variables from model, given a window of height pixels
CLASSDESC_ACCESS(VariablePane)