cmGrPlot.h/c Added comments.

This commit is contained in:
kevin 2012-12-17 12:45:45 -08:00
parent e9c4d0edd2
commit 4c86711cb0
2 changed files with 6 additions and 5 deletions

View File

@ -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;

View File

@ -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