diff --git a/cmGrPlot.c b/cmGrPlot.c index 9f7d02d..158a01b 100644 --- a/cmGrPlot.c +++ b/cmGrPlot.c @@ -256,7 +256,7 @@ void _cmGrPlotObjSetFocus( cmGrPlotObj_t* op ) void _cmGrPlotObjSetSelect( cmGrPlotObj_t* op, bool clearFl ) { - // if the object is disabled or no selectable + // if the object is disabled or not selectable if( _cmGrPlotObjIsEnabled(op)==false || cmIsFlag(op->cfgFlags,kNoSelectGrPlFl | kNoDrawGrPlFl) ) return; diff --git a/cmGrPlot.h b/cmGrPlot.h index 603d79a..0ed21aa 100644 --- a/cmGrPlot.h +++ b/cmGrPlot.h @@ -13,6 +13,7 @@ extern "C" { kRsrcFailGrPlRC }; + // Graphic object type id's typedef enum { kInvalidPlId, @@ -31,7 +32,7 @@ extern "C" { kPlusGrPlId, } cmGrPlObjTypeId_t; - // object cfg flags + // Object cfg. flags enum { kSymbolGrPlFl = 0x0001, // This object is a symbol @@ -47,10 +48,10 @@ extern "C" { // object state flags enum { - kVisibleGrPlFl = 0x0001, + kVisibleGrPlFl = 0x0001, // kEnabledGrPlFl = 0x0002, // Enabled obj's must be visible. - kSelectGrPlFl = 0x0004, // - kFocusGrPlFl = 0x0008 // Focused obj's are also selected. + kSelectGrPlFl = 0x0004, // This object is selected - multiple objects may be selected + kFocusGrPlFl = 0x0008 // Focused obj's are also selected - only one object can have the focus. }; typedef enum