26 #if defined (HAVE_CONFIG_H)
41 set_state (initial_state);
46 QColor col (Qt::gray);
54 col = QColor (Qt::darkGray);
55 col.setRedF (col.redF () * 1.25);
59 col = QColor (Qt::red);
70 const QString style = QString (
71 "border-radius: %1; background-color: "
72 "qlineargradient(spread:pad, x1:0.2, y1:0.2, x2:1, y2:1, stop:0 "
74 ).arg (width ()/2).arg (col_light.name ()).arg (col.name ());
void set_state(led_state state)
QString style_sheet(const QColor &col)
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn
OCTGUI_API QColor interpolate_color(const QColor &col1, const QColor &col2, double fs, double fv)
static uint32_t state[624]