Home
last modified time | relevance | path

Searched refs:bar (Results 1 – 6 of 6) sorted by relevance

/CafeSDK-2.12.13/system/src/lib/demo/demowin/
Ddemowin_slider_bar.cpp32 SliderBar* bar = (SliderBar*)data; in Increment() local
34 bar->pos ++; in Increment()
35 bar->pos = (int)(bar->pos + 10000000 + 0.5) - 10000000; in Increment()
37 if (bar->pos > bar->max) in Increment()
38 bar->pos = bar->max; in Increment()
40 (*bar->target) = (int)(bar->pos + 10000000 + 0.5) - 10000000; in Increment()
42 bar->func(bar->funcExtra); in Increment()
47 SliderBar* bar = (SliderBar*)data; in Decrement() local
49 bar->pos --; in Decrement()
50 bar->pos = (int)(bar->pos + 10000000 + 0.5) - 10000000; in Decrement()
[all …]
Ddemowin_slider_bar_float.cpp32 SliderBarFloat* bar = (SliderBarFloat*)data; in Increment() local
34 bar->pos += pow(10, -bar->decimals); in Increment()
36 if (bar->pos > bar->max) in Increment()
37 bar->pos = bar->max; in Increment()
39 (*bar->target) = bar->pos; in Increment()
41 bar->func(bar->funcExtra); in Increment()
46 SliderBarFloat* bar = (SliderBarFloat*)data; in Decrement() local
48 bar->pos -= pow(10, -bar->decimals); in Decrement()
50 if (bar->pos < bar->min) in Decrement()
51 bar->pos = bar->min; in Decrement()
[all …]
Ddemowin_combo_box.cpp47 if (this->bar.status == 2) in CursorOver()
50 int visibleCount = this->count - this->bar.pos; in CursorOver()
86 this->bar.x = this->x + size.x / 2 - SCROLLBAR_WIDTH / 2; in Update()
87 this->bar.y = this->y - this->height * 5.5; in Update()
88 this->bar.count = this->count; in Update()
89 this->bar.Update(); in Update()
94 int visibleCount = this->count - this->bar.pos; in Update()
99 widthOffset = this->bar.width / 2; in Update()
104 this->bar.Reset(); in Update()
148 this->bar.pos ++; in Update()
[all …]
/CafeSDK-2.12.13/system/src/lib/demo/headers/cafe/demo/demowin/
Ddemowin_combo_box.h25 …s(0), target(_target), func(_func), funcExtra(_funcExtra), flipped(false), bar(window, CVec3(size.… in MenuItem()
47 ScrollBar bar; member
/CafeSDK-2.12.13/system/include/cafe/demo/demowin/
Ddemowin_combo_box.h25 …s(0), target(_target), func(_func), funcExtra(_funcExtra), flipped(false), bar(window, CVec3(size.… in MenuItem()
47 ScrollBar bar; member
/CafeSDK-2.12.13/
Dcafe.bat538 REM We want to update the title bar, but just for this invocation. Since we can't
539 REM read the value of the current title bar, we'll just create a little batch file