|
|
|
|
60
|
// Draw the page.
|
60
|
// Draw the page.
|
61
|
void cmGrPageDraw( cmGrPgH_t h, cmGrDcH_t dcH );
|
61
|
void cmGrPageDraw( cmGrPgH_t h, cmGrDcH_t dcH );
|
62
|
|
62
|
|
|
|
63
|
+ // Label callback functions are used to translate numeric axis values to
|
|
|
64
|
+ // text strings. Multiple label callback functions can be registered with
|
|
|
65
|
+ // a page and then assigned to a given view axis via cmGrViewSetLabelFunc().
|
63
|
typedef void (*cmGrLabelFunc_t)( void* arg, cmChar_t* label, unsigned labelCharCnt, cmGrV_t value );
|
66
|
typedef void (*cmGrLabelFunc_t)( void* arg, cmChar_t* label, unsigned labelCharCnt, cmGrV_t value );
|
|
|
67
|
+
|
64
|
// Returns id of the new page label function.
|
68
|
// Returns id of the new page label function.
|
65
|
unsigned cmGrPageLabelFuncRegister( cmGrPgH_t h, cmGrLabelFunc_t func, void* arg, const cmChar_t* label );
|
69
|
unsigned cmGrPageLabelFuncRegister( cmGrPgH_t h, cmGrLabelFunc_t func, void* arg, const cmChar_t* label );
|
66
|
unsigned cmGrPageLabelFuncCount( cmGrPgH_t h );
|
70
|
unsigned cmGrPageLabelFuncCount( cmGrPgH_t h );
|