1 #ifndef inputcommands_h 2 #define inputcommands_h 15 #include "uicmddrivermod.h" 32 #define mDeclInputActivator( typ, objclass ) \ 34 mExpClass(uiCmdDriver) typ##Activator: public Activator \ 37 typ##Activator(const objclass& obj,const char* txt=0, \ 39 : actobj_( const_cast<objclass&>(obj) ) \ 40 , actbuf_(txt), acttxt_(txt ? actbuf_.buf() : 0) \ 43 void actCB(CallBacker*); \ 46 BufferString actbuf_; \ 47 const char* acttxt_; \ #define mEndDeclCmdClass
Definition: command.h:152
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
#define mStartDeclCmdClass(mod, cmdkey, parentclass)
Definition: command.h:148
Definition: uislider.h:42
Command Drive
Definition: canvascommands.h:22
uiSpinBox & actspin_
Definition: inputcommands.h:64
Definition: command.h:186
int actsteps_
Definition: inputcommands.h:65
Definition: inputcommands.h:58
Combo box.
Definition: uicombobox.h:32
Definition: inputcommands.h:71
FixedString Input()
Definition: keystrs.h:74
#define mStartDeclComposerClassWithInit(mod, cmdkey, parentclass, callerclass)
Definition: cmdcomposer.h:145
Definition: uislider.h:28
Definition: cmdcomposer.h:52
float actfrac_
Definition: inputcommands.h:78
Definition: uispinbox.h:24
#define mEndDeclComposerClass
Definition: cmdcomposer.h:149
Definition: command.h:162
Definition: command.h:156
uiSlider & actslider_
Definition: inputcommands.h:77
Definition: uilineedit.h:51
#define mStartDeclComposerClass(mod, cmdkey, parentclass, callerclass)
Definition: cmdcomposer.h:131