Searched refs:WBAR_SCALE (Results 1 – 5 of 5) sorted by relevance
71 ASSERT(init->size <= WBAR_SCALE, "Bar size out of range"); in W_BARGRAPH()105 psBGraph->minorSize = MIN(WBAR_SCALE * iValue / MAX(psBGraph->iRange, 1), WBAR_SCALE); in widgSetMinorBarSize()166 x1 = x0 + psWidget->width() * psBGraph->majorSize / WBAR_SCALE; in barGraphDisplay()172 x0 = x1 - psWidget->width() * psBGraph->majorSize / WBAR_SCALE; in barGraphDisplay()179 y1 = y0 + psWidget->height() * psBGraph->majorSize / WBAR_SCALE; in barGraphDisplay()185 y0 = y1 - psWidget->height() * psBGraph->majorSize / WBAR_SCALE; in barGraphDisplay()209 x1 = x0 + psWidget->width() * psBGraph->majorSize / WBAR_SCALE; in barGraphDisplayDouble()215 x3 = x2 + psWidget->width() * psBGraph->minorSize / WBAR_SCALE; in barGraphDisplayDouble()222 x0 = x1 - psWidget->width() * psBGraph->majorSize / WBAR_SCALE; in barGraphDisplayDouble()228 x2 = x3 - psWidget->width() * psBGraph->minorSize / WBAR_SCALE; in barGraphDisplayDouble()[all …]
227 #define WBAR_SCALE 100 macro
35 #define POWERBAR_SCALE (5 * WBAR_SCALE/STAT_PROGBARWIDTH)
865 if (sBarInit.size > WBAR_SCALE) in intAddTemplateButtons()867 sBarInit.size = WBAR_SCALE; in intAddTemplateButtons()
110 barGraph->majorSize = PERNUM(WBAR_SCALE, clip(value, 0, range), range); in setBarGraphValue()