/* * STlib_updateNum() * * Draws a number conditionally based on the widget's enable * * Passed a number widget, the output color range, and a refresh flag * Returns nothing * * jff 2/16/98 add color translation to digit output * cphipps 10/99 - make that pointer const */ void STlib_updateNum ( st_number_t* n, int cm, dboolean refresh ) { if (*n->on) STlib_drawNum(n, cm, refresh); }
void STlib_updateNum ( st_number_t* n, boolean2 refresh ) { if (*n->on) STlib_drawNum(n, refresh); }
/* * STlib_updateNum() * * Draws a number conditionally based on the widget's enable * * Passed a number widget, the output color range, and a refresh flag * Returns nothing * * jff 2/16/98 add color translation to digit output * cphipps 10/99 - make that pointer const */ void STlib_updateNum ( st_number_t* n, const byte *outrng, boolean refresh ) { if (*n->on) STlib_drawNum(n, outrng, refresh); }
// // STlib_updateNum() // // Draws a number conditionally based on the widget's enable // // Passed a number widget, the output color range, and a refresh flag // Returns nothing // void STlib_updateNum ( st_number_t* n, char *outrng, //jff 2/16/98 add color translation to digit output boolean refresh ) { if (*n->on) STlib_drawNum(n, outrng, refresh); }
// // STlib_updateNum() // // Draws a number conditionally based on the widget's enable // // Passed a number widget, the output color range, and a refresh flag // Returns nothing // // jff 2/16/98 add color translation to digit output // void STlib_updateNum(st_number_t *n, byte *outrng, int alpha) { if(*n->on) STlib_drawNum(n, outrng, alpha); }
void STlib_updateNum ( st_number_t* n) { if (*n->on) STlib_drawNum(n); }