components/prboom/st_lib.c
/*
 * 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
 */
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
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,
  boolean   refresh )
{
  if (*n->on) STlib_drawNum(n, cm, refresh);
}
void STlib_updateNum ( st_number_t * n , int cm , boolean refresh ) { if ( * n -> on ) STlib_drawNum ( n , cm , refresh ) ; }
STlib_updateNum()
 Draws a number conditionally based on the widget's enable
STlib_updateNum () Draws a number conditionally based on the widget ' s enable