| /CafeSDK-2.12.13-1/system/src/lib/demo/headers/cafe/demo/demowin/ |
| D | demowin_peripheral.h | 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; 31 virtual void DrawBoxQuad(CVec3 position, CVec2 size, CVec4 color) = 0;
|
| D | demowin_text.h | 18 MenuText(Window* window, CVec3 position, CVec2 size, const char* _text, CVec4 _color) in MenuText() 25 CVec4 color;
|
| D | demowin_helpers.h | 17 CVec4 WhiteDarker(int status); 18 CVec4 BlackLighter(int status);
|
| D | demowin_text_right.h | 18 MenuTextRight(Window* window, CVec3 position, CVec2 size, const char* _text, CVec4 _color) in MenuTextRight()
|
| D | demowin_text_multi.h | 18 MenuMultiText(Window* window, CVec3 position, CVec2 size, const char* _text, CVec4 _color) in MenuMultiText()
|
| D | demowin_text_center.h | 18 MenuTextCenter(Window* window, CVec3 position, CVec2 size, const char* _text, CVec4 _color) in MenuTextCenter()
|
| D | demowin_assets.h | 67 struct CVec4 struct 69 CVec4() {} in CVec4() function 70 CVec4(float _x, float _y, float _z, float _w = 1.0) 112 typedef CVec4 (*ColorFunc)(int);
|
| /CafeSDK-2.12.13-1/system/include/cafe/demo/demowin/ |
| D | demowin_peripheral.h | 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; 31 virtual void DrawBoxQuad(CVec3 position, CVec2 size, CVec4 color) = 0;
|
| D | demowin_text.h | 18 MenuText(Window* window, CVec3 position, CVec2 size, const char* _text, CVec4 _color) in MenuText() 25 CVec4 color;
|
| D | demowin_helpers.h | 17 CVec4 WhiteDarker(int status); 18 CVec4 BlackLighter(int status);
|
| D | demowin_text_center.h | 18 MenuTextCenter(Window* window, CVec3 position, CVec2 size, const char* _text, CVec4 _color) in MenuTextCenter()
|
| D | demowin_text_multi.h | 18 MenuMultiText(Window* window, CVec3 position, CVec2 size, const char* _text, CVec4 _color) in MenuMultiText()
|
| D | demowin_text_right.h | 18 MenuTextRight(Window* window, CVec3 position, CVec2 size, const char* _text, CVec4 _color) in MenuTextRight()
|
| D | demowin_assets.h | 67 struct CVec4 struct 69 CVec4() {} in CVec4() function 70 CVec4(float _x, float _y, float _z, float _w = 1.0) 112 typedef CVec4 (*ColorFunc)(int);
|
| /CafeSDK-2.12.13-1/system/src/lib/demo/demowin/ |
| D | demowin_helpers.cpp | 20 CVec4 WhiteDarker(int status) {if (status == -1) return CVec4(0, 0, 0, 1.0); /* else */ return CVec… in WhiteDarker() 21 CVec4 BlackLighter(int status) {if (status == -1) return CVec4(0.6, 0.6, 0.6, 1.0); /* else */ retu… in BlackLighter()
|
| D | demowin_combo_box.cpp | 246 DrawBox(CVec3(this->x, this->y, this->z + 0.003), size, CVec4(0.13, 0.13, 0.13)); in Draw() 247 …arrowWidth / 2, this->y, this->z + 0.0035), CVec2(arrowWidth, this->height), CVec4(0.1, 0.1, 0.1)); in Draw() 251 DrawBox(CVec3(this->x, this->y, this->z + 0.003), size, CVec4(0.03, 0.03, 0.03)); in Draw() 252 …arrowWidth / 2, this->y, this->z + 0.0035), CVec2(arrowWidth, this->height), CVec4(0.0, 0.0, 0.0)); in Draw() 256 …->y, this->z + 0.0032), CVec2(this->width - arrowWidth, this->height * 0.7), CVec4(1.0, 1.0, 1.0)); in Draw() 259 …dth / 2, this->y, this->z + 0.005), CVec2(arrowWidth / 2, this->height / 2), CVec4(0.8, 0.8, 0.8)); in Draw() 286 …t / 2) * flipMul, this->z + 0.02), CVec2(this->width, this->height * count), CVec4(0.0, 0.0, 0.0)); in Draw() 301 …pMul, this->z + 0.0205), CVec2(this->width - widthOffset * 2, this->height), CVec4(0.2, 0.2, 0.2)); in Draw() 309 … this->z + 0.021), CVec2(this->width - this->bar.width, this->height * 0.7), CVec4(1.0, 1.0, 1.0)); in Draw()
|
| D | demowin_double_combo_box.cpp | 423 DrawBox(CVec3(this->x, this->y, this->z + 0.003), size, CVec4(0.13, 0.13, 0.13)); in Draw() 424 …rrowWidth) / 2, this->y, this->z + 0.0035), CVec2(arrowWidth, this->height), CVec4(0.1, 0.1, 0.1)); in Draw() 428 DrawBox(CVec3(this->x, this->y, this->z + 0.003), size, CVec4(0.03, 0.03, 0.03)); in Draw() 429 …rrowWidth) / 2, this->y, this->z + 0.0035), CVec2(arrowWidth, this->height), CVec4(0.0, 0.0, 0.0)); in Draw() 436 …is->y, this->z + 0.01), CVec2(this->width - arrowWidth, this->height * 0.7), CVec4(1.0, 1.0, 1.0)); in Draw() 439 …th) / 2, this->y, this->z + 0.005), CVec2(arrowWidth / 2, this->height / 2), CVec4(0.8, 0.8, 0.8)); in Draw() 466 … 2) * flipMul, this->z + 0.5), CVec2(this->width / 2, this->height * count), CVec4(0.0, 0.0, 0.0)); in Draw() 474 …is->height * flipMul, this->z + 0.51), CVec2(this->width / 2, this->height), CVec4(0.2, 0.2, 0.2)); in Draw() 478 …ul, this->z + 0.52), CVec2(this->width / 2 - widthOffset * 2, this->height), CVec4(0.3, 0.3, 0.3)); in Draw() 495 …z + 0.53), CVec2(this->width / 2 - this->bar1.width, this->height * 0.5), CVec4(tempColor, tempCol… in Draw() [all …]
|
| D | demowin_scroll_bar.cpp | 118 CVec4 color = WhiteDarker(status); in Draw() 119 DrawQuad(position, size, CVec4(1.0, 1.0, 1.0, 0.2)); in Draw() 123 DrawLine(CVec3(x - width / 2, y - height / 2, z + 0.0002), CVec2(0, height), CVec4(0, 0, 0)); in Draw()
|
| D | demowin_tab_window.cpp | 45 … menu->DrawBox(CVec3(x, y, 0.99), CVec2(buttonWidth, buttonHeight), CVec4(0.2, 0.2, 0.2)); in Draw() 47 menu->DrawQuad(CVec3(x, y, 0.99), CVec2(buttonWidth, buttonHeight), CVec4(0, 0, 0, 0)); in Draw() 50 … menu->DrawBox(CVec3(x, y, 0.9901), CVec2(buttonWidth, buttonHeight), CVec4(0.3, 0.3, 0.3)); in Draw() 52 …abWindowList[i]->name, CVec3(x, y, 0.9902), CVec2(buttonWidth, textHeight), CVec4(1.0, 1.0, 1.0)); in Draw()
|
| D | demowin_button.cpp | 53 CVec4 color = colorFunc(status); in Draw() 61 …DrawTextCenter(text.text, CVec3(x, y, z + 0.0001), CVec2(width, height * 0.8), CVec4(1.0 - color.r… in Draw()
|
| D | demowin_held_button.cpp | 60 CVec4 color = colorFunc(status); in Draw() 68 …DrawTextCenter(text.text, CVec3(x, y, z + 0.0001), CVec2(width, height * 0.8), CVec4(1.0 - color.r… in Draw()
|
| D | demowin_slider_bar.cpp | 124 DrawQuad(position, CVec2(this->width - this->height / 3, this->height / 4), CVec4(0, 0, 0)); in Draw() 160 …DrawBox(CVec3(this->x + x, this->y, this->z + 0.002), CVec2(this->height, this->height), CVec4(col… in Draw() 165 …3(this->x + x, this->y, this->z + 0.003), CVec2(this->height, this->height * 0.7), CVec4(0, 0, 0)); in Draw()
|
| D | demowin_slider_bar_float.cpp | 124 DrawQuad(position, CVec2(this->width - this->height / 3, this->height / 4), CVec4(0, 0, 0)); in Draw() 160 …DrawBox(CVec3(this->x + x, this->y, this->z + 0.002), CVec2(this->height, this->height), CVec4(col… in Draw() 203 …3(this->x + x, this->y, this->z + 0.003), CVec2(this->height, this->height * 0.7), CVec4(0, 0, 0)); in Draw()
|
| /CafeSDK-2.12.13-1/system/src/lib/demo/headers/cafe/demo/ |
| D | demowin.h | 181 void DrawText(const char* text, CVec3 position, CVec2 size, CVec4 color) in DrawText() 183 void DrawTextCenter(const char* text, CVec3 position, CVec2 size, CVec4 color) in DrawTextCenter() 185 void DrawTextRight(const char* text, CVec3 position, CVec2 size, CVec4 color) in DrawTextRight() 187 void DrawMultiLineText(const char* text, CVec3 position, CVec2 size, CVec4 color) in DrawMultiLineText() 189 void DrawBox(CVec3 position, CVec2 size, CVec4 color, CVec4 color1 = CVec4(0, 0, 0, 1.0)) 191 void DrawLine(CVec3 position, CVec2 size, CVec4 color) in DrawLine() 193 void DrawFastLine(CVec3 position, CVec2 size, CVec4 color) in DrawFastLine() 195 void DrawQuad(CVec3 position, CVec2 size, CVec4 color) in DrawQuad() 197 void DrawTexQuad(GX2Texture* tex, CVec3 position, CVec2 size, CVec4 color) in DrawTexQuad() 199 void DrawBoxQuad(CVec3 position, CVec2 size, CVec4 color) in DrawBoxQuad()
|
| /CafeSDK-2.12.13-1/system/include/cafe/demo/ |
| D | demowin.h | 181 void DrawText(const char* text, CVec3 position, CVec2 size, CVec4 color) in DrawText() 183 void DrawTextCenter(const char* text, CVec3 position, CVec2 size, CVec4 color) in DrawTextCenter() 185 void DrawTextRight(const char* text, CVec3 position, CVec2 size, CVec4 color) in DrawTextRight() 187 void DrawMultiLineText(const char* text, CVec3 position, CVec2 size, CVec4 color) in DrawMultiLineText() 189 void DrawBox(CVec3 position, CVec2 size, CVec4 color, CVec4 color1 = CVec4(0, 0, 0, 1.0)) 191 void DrawLine(CVec3 position, CVec2 size, CVec4 color) in DrawLine() 193 void DrawFastLine(CVec3 position, CVec2 size, CVec4 color) in DrawFastLine() 195 void DrawQuad(CVec3 position, CVec2 size, CVec4 color) in DrawQuad() 197 void DrawTexQuad(GX2Texture* tex, CVec3 position, CVec2 size, CVec4 color) in DrawTexQuad() 199 void DrawBoxQuad(CVec3 position, CVec2 size, CVec4 color) in DrawBoxQuad()
|