| /CafeSDK-2.12.13/system/src/lib/demo/headers/cafe/demo/ |
| D | demowin.h | 103 CVec2 position; member 168 …: window(_window), visible(true), position(_position), size(_size), x(position.x), y(position.y), … in window() 171 …py.window), visible(copy.visible), position(copy.position), size(copy.size), x(position.x), y(posi… in MenuItem() 181 void DrawText(const char* text, CVec3 position, CVec2 size, CVec4 color) in DrawText() 182 …->peripheral->DrawText(text, CVec3(window->GetX() + position.x, window->GetY() + position.y, posit… in DrawText() 183 void DrawTextCenter(const char* text, CVec3 position, CVec2 size, CVec4 color) in DrawTextCenter() 184 …pheral->DrawTextCenter(text, CVec3(window->GetX() + position.x, window->GetY() + position.y, posit… in DrawTextCenter() 185 void DrawTextRight(const char* text, CVec3 position, CVec2 size, CVec4 color) in DrawTextRight() 186 …ipheral->DrawTextRight(text, CVec3(window->GetX() + position.x, window->GetY() + position.y, posit… in DrawTextRight() 187 void DrawMultiLineText(const char* text, CVec3 position, CVec2 size, CVec4 color) in DrawMultiLineText() [all …]
|
| /CafeSDK-2.12.13/system/include/cafe/demo/ |
| D | demowin.h | 103 CVec2 position; member 168 …: window(_window), visible(true), position(_position), size(_size), x(position.x), y(position.y), … in window() 171 …py.window), visible(copy.visible), position(copy.position), size(copy.size), x(position.x), y(posi… in MenuItem() 181 void DrawText(const char* text, CVec3 position, CVec2 size, CVec4 color) in DrawText() 182 …->peripheral->DrawText(text, CVec3(window->GetX() + position.x, window->GetY() + position.y, posit… in DrawText() 183 void DrawTextCenter(const char* text, CVec3 position, CVec2 size, CVec4 color) in DrawTextCenter() 184 …pheral->DrawTextCenter(text, CVec3(window->GetX() + position.x, window->GetY() + position.y, posit… in DrawTextCenter() 185 void DrawTextRight(const char* text, CVec3 position, CVec2 size, CVec4 color) in DrawTextRight() 186 …ipheral->DrawTextRight(text, CVec3(window->GetX() + position.x, window->GetY() + position.y, posit… in DrawTextRight() 187 void DrawMultiLineText(const char* text, CVec3 position, CVec2 size, CVec4 color) in DrawMultiLineText() [all …]
|
| /CafeSDK-2.12.13/system/include/cafe/demo/demowin/ |
| D | demowin_peripheral.h | 21 …virtual void DrawWindowQuad(CVec2 position, CVec2 size, bool active, bool enabled, CVec3 color, co… 22 virtual void DrawText(const char* text, CVec3 position, CVec2 size, CVec4 color) = 0; 23 virtual void DrawTextCenter(const char* text, CVec3 position, CVec2 size, CVec4 color) = 0; 24 virtual void DrawTextRight(const char* text, CVec3 position, CVec2 size, CVec4 color) = 0; 25 virtual void DrawMultiLineText(const char* text, CVec3 position, CVec2 size, CVec4 color) = 0; 26 …virtual void DrawBox(CVec3 position, CVec2 size, CVec4 color, CVec4 color1 = CVec4(0, 0, 0, 1.0)) … 27 virtual void DrawLine(CVec3 position, CVec2 size, CVec4 color) = 0; 28 virtual void DrawFastLine(CVec3 position, CVec2 size, CVec4 color) = 0; 29 virtual void DrawQuad(CVec3 position, CVec2 size, CVec4 color) = 0; 30 virtual void DrawTexQuad(GX2Texture* tex, CVec3 position, CVec2 size, CVec4 color) = 0; [all …]
|
| D | demowin_held_button.h | 18 …HeldButton(Window* window, CVec3 position, CVec2 size, ColorFunc _colorFunc = BlackLighter, VoidFu… 19 …: MenuItem(window, position, size), text(""), tex(NULL), colorFunc(_colorFunc), func(_func), funcE… in MenuItem() 21 …HeldButton(Window* window, CVec3 position, CVec2 size, const char* _text, ColorFunc _colorFunc = B… 22 …: MenuItem(window, position, size), text(_text), tex(NULL), colorFunc(_colorFunc), func(_func), fu… in MenuItem() 24 …HeldButton(Window* window, CVec3 position, CVec2 size, GX2Texture** _tex, ColorFunc _colorFunc = B… 25 …: MenuItem(window, position, size), text(""), tex(_tex), colorFunc(_colorFunc), func(_func), funcE… in MenuItem()
|
| D | demowin_button.h | 18 …Button(Window* window, CVec3 position, CVec2 size, ColorFunc _colorFunc = BlackLighter, VoidFuncP … 19 …: MenuItem(window, position, size), text(""), tex(NULL), colorFunc(_colorFunc), func(_func), funcE… in MenuItem() 21 …Button(Window* window, CVec3 position, CVec2 size, const char* _text, ColorFunc _colorFunc = Black… 22 …: MenuItem(window, position, size), text(_text), tex(NULL), colorFunc(_colorFunc), func(_func), fu… in MenuItem() 24 …Button(Window* window, CVec3 position, CVec2 size, GX2Texture** _tex, ColorFunc _colorFunc = Black… 25 …: MenuItem(window, position, size), text(""), tex(_tex), colorFunc(_colorFunc), func(_func), funcE… in MenuItem()
|
| D | demowin_scroll_bar.h | 18 ScrollBar(Window* window, CVec3 position, CVec2 size, float _count = 0, float _max = 10) 19 …: MenuItem(window, position, size), pos(0), subHeight(size.y / 10), count(_count), max(_max), pPos… in MenuItem() 21 ScrollBar(Window* window, CVec3 position, CVec2 size, float* _pPos, float _count, float _max) in ScrollBar() 22 …: MenuItem(window, position, size), subHeight(size.y / 10), count(_count), max(_max), pPos(_pPos) … in ScrollBar()
|
| D | demowin_double_combo_box.h | 18 …DoubleComboBox(Window* window, CVec3 position, CVec2 size, SubCombo** _data, int _count, int* _tar… 19 …position, size), data(_data), count(_count), over1(-1), over2(-1), pos1(0), pos2(0), target1(_targ… in MenuItem()
|
| D | demowin_combo_box.h | 24 …ComboBox(Window* window, CVec3 position, CVec2 size, SubCombo** _data, int _count, int* _target, V… 25 …position, size), data(_data), count(_count), over(-1), pos(0), target(_target), func(_func), funcE… in MenuItem()
|
| D | demowin_text_right.h | 18 MenuTextRight(Window* window, CVec3 position, CVec2 size, const char* _text, CVec4 _color) in MenuTextRight() 19 : MenuText(window, position, size, _text, _color) {} in MenuTextRight()
|
| D | demowin_text_multi.h | 18 MenuMultiText(Window* window, CVec3 position, CVec2 size, const char* _text, CVec4 _color) in MenuMultiText() 19 : MenuText(window, position, size, _text, _color) {} in MenuMultiText()
|
| D | demowin_text_center.h | 18 MenuTextCenter(Window* window, CVec3 position, CVec2 size, const char* _text, CVec4 _color) in MenuTextCenter() 19 : MenuText(window, position, size, _text, _color) {} in MenuTextCenter()
|
| D | demowin_text.h | 18 MenuText(Window* window, CVec3 position, CVec2 size, const char* _text, CVec4 _color) in MenuText() 19 : MenuItem(window, position, size), text(_text), color(_color) {} in MenuText()
|
| D | demowin_slider_bar.h | 18 …SliderBar(Window* window, CVec3 position, CVec2 size, int _min, int _max, int* _target, VoidFuncP … 19 …: MenuItem(window, position, size), min(_min), max(_max), target(_target), func(_func), funcExtra(… in MenuItem()
|
| /CafeSDK-2.12.13/system/src/lib/demo/headers/cafe/demo/demowin/ |
| D | demowin_peripheral.h | 21 …virtual void DrawWindowQuad(CVec2 position, CVec2 size, bool active, bool enabled, CVec3 color, co… 22 virtual void DrawText(const char* text, CVec3 position, CVec2 size, CVec4 color) = 0; 23 virtual void DrawTextCenter(const char* text, CVec3 position, CVec2 size, CVec4 color) = 0; 24 virtual void DrawTextRight(const char* text, CVec3 position, CVec2 size, CVec4 color) = 0; 25 virtual void DrawMultiLineText(const char* text, CVec3 position, CVec2 size, CVec4 color) = 0; 26 …virtual void DrawBox(CVec3 position, CVec2 size, CVec4 color, CVec4 color1 = CVec4(0, 0, 0, 1.0)) … 27 virtual void DrawLine(CVec3 position, CVec2 size, CVec4 color) = 0; 28 virtual void DrawFastLine(CVec3 position, CVec2 size, CVec4 color) = 0; 29 virtual void DrawQuad(CVec3 position, CVec2 size, CVec4 color) = 0; 30 virtual void DrawTexQuad(GX2Texture* tex, CVec3 position, CVec2 size, CVec4 color) = 0; [all …]
|
| D | demowin_held_button.h | 18 …HeldButton(Window* window, CVec3 position, CVec2 size, ColorFunc _colorFunc = BlackLighter, VoidFu… 19 …: MenuItem(window, position, size), text(""), tex(NULL), colorFunc(_colorFunc), func(_func), funcE… in MenuItem() 21 …HeldButton(Window* window, CVec3 position, CVec2 size, const char* _text, ColorFunc _colorFunc = B… 22 …: MenuItem(window, position, size), text(_text), tex(NULL), colorFunc(_colorFunc), func(_func), fu… in MenuItem() 24 …HeldButton(Window* window, CVec3 position, CVec2 size, GX2Texture** _tex, ColorFunc _colorFunc = B… 25 …: MenuItem(window, position, size), text(""), tex(_tex), colorFunc(_colorFunc), func(_func), funcE… in MenuItem()
|
| D | demowin_button.h | 18 …Button(Window* window, CVec3 position, CVec2 size, ColorFunc _colorFunc = BlackLighter, VoidFuncP … 19 …: MenuItem(window, position, size), text(""), tex(NULL), colorFunc(_colorFunc), func(_func), funcE… in MenuItem() 21 …Button(Window* window, CVec3 position, CVec2 size, const char* _text, ColorFunc _colorFunc = Black… 22 …: MenuItem(window, position, size), text(_text), tex(NULL), colorFunc(_colorFunc), func(_func), fu… in MenuItem() 24 …Button(Window* window, CVec3 position, CVec2 size, GX2Texture** _tex, ColorFunc _colorFunc = Black… 25 …: MenuItem(window, position, size), text(""), tex(_tex), colorFunc(_colorFunc), func(_func), funcE… in MenuItem()
|
| D | demowin_scroll_bar.h | 18 ScrollBar(Window* window, CVec3 position, CVec2 size, float _count = 0, float _max = 10) 19 …: MenuItem(window, position, size), pos(0), subHeight(size.y / 10), count(_count), max(_max), pPos… in MenuItem() 21 ScrollBar(Window* window, CVec3 position, CVec2 size, float* _pPos, float _count, float _max) in ScrollBar() 22 …: MenuItem(window, position, size), subHeight(size.y / 10), count(_count), max(_max), pPos(_pPos) … in ScrollBar()
|
| D | demowin_double_combo_box.h | 18 …DoubleComboBox(Window* window, CVec3 position, CVec2 size, SubCombo** _data, int _count, int* _tar… 19 …position, size), data(_data), count(_count), over1(-1), over2(-1), pos1(0), pos2(0), target1(_targ… in MenuItem()
|
| D | demowin_combo_box.h | 24 …ComboBox(Window* window, CVec3 position, CVec2 size, SubCombo** _data, int _count, int* _target, V… 25 …position, size), data(_data), count(_count), over(-1), pos(0), target(_target), func(_func), funcE… in MenuItem()
|
| D | demowin_text_multi.h | 18 MenuMultiText(Window* window, CVec3 position, CVec2 size, const char* _text, CVec4 _color) in MenuMultiText() 19 : MenuText(window, position, size, _text, _color) {} in MenuMultiText()
|
| D | demowin_text_center.h | 18 MenuTextCenter(Window* window, CVec3 position, CVec2 size, const char* _text, CVec4 _color) in MenuTextCenter() 19 : MenuText(window, position, size, _text, _color) {} in MenuTextCenter()
|
| D | demowin_text_right.h | 18 MenuTextRight(Window* window, CVec3 position, CVec2 size, const char* _text, CVec4 _color) in MenuTextRight() 19 : MenuText(window, position, size, _text, _color) {} in MenuTextRight()
|
| D | demowin_text.h | 18 MenuText(Window* window, CVec3 position, CVec2 size, const char* _text, CVec4 _color) in MenuText() 19 : MenuItem(window, position, size), text(_text), color(_color) {} in MenuText()
|
| D | demowin_slider_bar.h | 18 …SliderBar(Window* window, CVec3 position, CVec2 size, int _min, int _max, int* _target, VoidFuncP … 19 …: MenuItem(window, position, size), min(_min), max(_max), target(_target), func(_func), funcExtra(… in MenuItem()
|
| /CafeSDK-2.12.13/system/src/lib/demo/demowin/ |
| D | demowin_double_combo_box.cpp | 130 int position = this->bar1.pos + 0.5; in Update() local 134 this->bar2.y = this->y - (5.5 + pos - position) * this->height; in Update() 468 int position = this->bar1.pos + 0.5; in Draw() local 473 if (this->over1 >= position && this->over1 < position + COMBOBOX_COUNT) in Draw() 474 …DrawQuad(CVec3(this->x, startY - (this->over1 - position) * this->height * flipMul, this->z + 0.51… in Draw() 477 if (this->pos1 >= position && this->pos1 < position + COMBOBOX_COUNT && status >= 3) in Draw() 478 …DrawQuad(CVec3(this->x - widthOffset, startY - (this->pos1 - position) * this->height * flipMul, t… in Draw() 480 if (count > position + COMBOBOX_COUNT) in Draw() 481 count = position + COMBOBOX_COUNT; in Draw() 492 if (i + position == this->over1 || i + position == this->pos1) in Draw() [all …]
|