read_only_.erase(read_only_.begin(), read_only_.end());
}
+ ///
+ void addDontTriggerChange(FL_OBJECT * obj) {
+ dont_trigger_change_.push_back(obj);
+ }
+ ///
+ void eraseDontTriggerChange() {
+ dont_trigger_change_.clear();
+ }
+
/* Action Functions */
/// force a refresh of the buttons
void refresh();
///
void readWrite();
/// Passthrough function -- returns its input value
- bool valid(bool v = true);
+ bool valid(bool v = true, FL_OBJECT * obj = 0);
///
void invalid();
private:
FL_OBJECT * undo_all_;
/// List of items to be deactivated when in one of the read-only states
std::list<FL_OBJECT *> read_only_;
+ /// container of items that do not trigger a change in activation status
+ std::vector<FL_OBJECT *> dont_trigger_change_;
///
char const * cancel_label;
///