28 #include <Eigen/Dense> Eigen::Vector2i dimensions
Dimensions in pixels.
Definition: element.hpp:66
Eigen::Vector2i position
Position of top-left corner in pixels.
Definition: element.hpp:69
Base class for all GUI elements (buttons, sliders ...)
Definition: element.hpp:52
Definition: element.hpp:39
virtual void setModelMatrix(void)
Sets the element model matrix.
Definition: element.hpp:195
Tucano::Texture texture
Element texture.
Definition: element.hpp:75
Definition: bufferobject.hpp:34
int num_params
Number of parameters for the callback.
Definition: element.hpp:60
Eigen::Vector4f color
Color.
Definition: element.hpp:90
virtual void setTexture(string file)
Loads the button texture file.
Definition: element.hpp:173
int element_type
Type of element.
Definition: element.hpp:57