10 #ifndef DtGradientEditorInterface_H_
11 #define DtGradientEditorInterface_H_
23 typedef std::vector<DtGradientEditorInterface::ControlPoint>
Gradient;
28 virtual void clearGradient() = 0;
30 virtual void addControlPoint(
double location,
double red,
double green,
double blue,
double alpha = 1.0) = 0;
boost::signalslib::signal< void(const DtGradientEditorInterface::Gradient &)> signal_gradientChanged
Signal emitted when the user changes the gradient. Connected to a slot in the logic.
Definition: DtGradientEditorInterface.h:41
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
Contains DLL export macros.
std::vector< DtGradientEditorInterface::ControlPoint > Gradient
Definition: DtGradientEditorInterface.h:23
std::vector< double > ControlPoint
Definition: DtGradientEditorInterface.h:22
Abstract interface for gradient editor widgets.
Definition: DtGradientEditorInterface.h:19