Home
last modified time | relevance | path

Searched refs:CVec4 (Results 1 – 25 of 27) sorted by relevance

12

/CafeSDK-2.12.13-1/system/src/lib/demo/headers/cafe/demo/demowin/
Ddemowin_peripheral.h22 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;
Ddemowin_text.h18 MenuText(Window* window, CVec3 position, CVec2 size, const char* _text, CVec4 _color) in MenuText()
25 CVec4 color;
Ddemowin_helpers.h17 CVec4 WhiteDarker(int status);
18 CVec4 BlackLighter(int status);
Ddemowin_text_right.h18 MenuTextRight(Window* window, CVec3 position, CVec2 size, const char* _text, CVec4 _color) in MenuTextRight()
Ddemowin_text_multi.h18 MenuMultiText(Window* window, CVec3 position, CVec2 size, const char* _text, CVec4 _color) in MenuMultiText()
Ddemowin_text_center.h18 MenuTextCenter(Window* window, CVec3 position, CVec2 size, const char* _text, CVec4 _color) in MenuTextCenter()
Ddemowin_assets.h67 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/
Ddemowin_peripheral.h22 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;
Ddemowin_text.h18 MenuText(Window* window, CVec3 position, CVec2 size, const char* _text, CVec4 _color) in MenuText()
25 CVec4 color;
Ddemowin_helpers.h17 CVec4 WhiteDarker(int status);
18 CVec4 BlackLighter(int status);
Ddemowin_text_center.h18 MenuTextCenter(Window* window, CVec3 position, CVec2 size, const char* _text, CVec4 _color) in MenuTextCenter()
Ddemowin_text_multi.h18 MenuMultiText(Window* window, CVec3 position, CVec2 size, const char* _text, CVec4 _color) in MenuMultiText()
Ddemowin_text_right.h18 MenuTextRight(Window* window, CVec3 position, CVec2 size, const char* _text, CVec4 _color) in MenuTextRight()
Ddemowin_assets.h67 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/
Ddemowin_helpers.cpp20 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()
Ddemowin_combo_box.cpp246 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()
Ddemowin_double_combo_box.cpp423 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 …]
Ddemowin_scroll_bar.cpp118 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()
Ddemowin_tab_window.cpp45 … 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()
Ddemowin_button.cpp53 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()
Ddemowin_held_button.cpp60 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()
Ddemowin_slider_bar.cpp124 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()
Ddemowin_slider_bar_float.cpp124 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/
Ddemowin.h181 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/
Ddemowin.h181 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()

12