15 #include "uibasemod.h" 31 bool withtransp=false);
51 enum TranspHndlng {
None, InSelector, Separate };
53 Setup(
const Color& col, TranspHndlng h=
None )
58 , withdesc_(h != Separate)
73 const Color&
color()
const {
return color_; }
74 void setColor(
const Color&);
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
FixedString Setup()
Definition: keystrs.h:116
void setExternalColor(const Color &)
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
#define mGlobal(module)
Definition: commondefs.h:163
Combo box.
Definition: uicombobox.h:32
Definition: uistring.h:89
Definition: uiparent.h:26
FixedString None()
Definition: keystrs.h:90
#define mDefSetupMemb(typ, memb)
Definition: commondefs.h:137
bool selectColor(Color &, uiParent *parnt=0, uiString=uiString::emptyString(), bool withtransp=false)
pops a selector box to select a new color
Definition: uispinbox.h:24
Color is an RGB color object, with a transparancy. The storage is in a 4-byte integer, similar to Qt.
Definition: color.h:26
Definition: uibutton.h:134