Exemplo n.º 1
0
/*
 * 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);
}
Exemplo n.º 2
0
void
STlib_updateNum
( st_number_t*		n,
  boolean2		refresh )
{
    if (*n->on) STlib_drawNum(n, refresh);
}
Exemplo n.º 3
0
/*
 * 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);
}
Exemplo n.º 4
0
//
// 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);
}
Exemplo n.º 5
0
//
// 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);
}
Exemplo n.º 6
0
void
STlib_updateNum
( st_number_t*		n)
{
    if (*n->on) STlib_drawNum(n);
}