Home
last modified time | relevance | path

Searched refs:color (Results 1 – 22 of 22) sorted by relevance

/CafeSDK-2.12.13-1/system/src/lib/demo/headers/cafe/demo/demowin/
Ddemowin_peripheral.h21 …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 …]
Ddemowin_text.h19 : MenuItem(window, position, size), text(_text), color(_color) {} in MenuText()
25 CVec4 color; member
/CafeSDK-2.12.13-1/system/include/cafe/demo/demowin/
Ddemowin_peripheral.h21 …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 …]
Ddemowin_text.h19 : MenuItem(window, position, size), text(_text), color(_color) {} in MenuText()
25 CVec4 color; member
/CafeSDK-2.12.13-1/system/src/lib/demo/demowin/
Ddemowin_button.cpp53 CVec4 color = colorFunc(status); in Draw() local
56 DrawTexQuad(*tex, position, size, color); in Draw()
58 DrawBox(position, size, color); in Draw()
61 …x, y, z + 0.0001), CVec2(width, height * 0.8), CVec4(1.0 - color.r, 1.0 - color.g, 1.0 - color.b)); in Draw()
Ddemowin_held_button.cpp60 CVec4 color = colorFunc(status); in Draw() local
63 DrawTexQuad(*tex, position, size, color); in Draw()
65 DrawBox(position, size, color); in Draw()
68 …x, y, z + 0.0001), CVec2(width, height * 0.8), CVec4(1.0 - color.r, 1.0 - color.g, 1.0 - color.b)); in Draw()
Ddemowin_slider_bar.cpp158 float color = 0.8 - 0.2 * this->status; in Draw() local
160 …->x + x, this->y, this->z + 0.002), CVec2(this->height, this->height), CVec4(color, color, color)); in Draw()
Ddemowin_slider_bar_float.cpp158 float color = 0.8 - 0.2 * this->status; in Draw() local
160 …->x + x, this->y, this->z + 0.002), CVec2(this->height, this->height), CVec4(color, color, color)); in Draw()
Ddemowin_text_center.cpp29 DrawTextCenter(text.text, position, size, color); in Draw()
Ddemowin_text_right.cpp29 DrawTextRight(text.text, position, size, color); in Draw()
Ddemowin_text_multi.cpp29 DrawMultiLineText(text.text, position, size, color); in Draw()
Ddemowin_text.cpp29 DrawText(text.text, position, size, color); in Draw()
Ddemowin_scroll_bar.cpp118 CVec4 color = WhiteDarker(status); in Draw() local
121 DrawQuad(CVec3(x, y + offY, z + 0.0001), CVec2(width, subHeight), color); in Draw()
Ddemowin_double_combo_box.cpp484 float color = 0.4; in Draw() local
486 color = 1.0; in Draw()
491 float tempColor = color; in Draw()
Ddemowin_manager.cpp180 CVec4 color = BlackLighter(window->closeStatus); in DrawCloseButton() local
183 …_X, window->GetTop() + CLOSEBUTTON_Y, 0.999), CVec2(CLOSEBUTTON_WIDTH, CLOSEBUTTON_HEIGHT), color); in DrawCloseButton()
/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()
182 …t(text, CVec3(window->GetX() + position.x, window->GetY() + position.y, position.z), size, color);} in DrawText()
183 void DrawTextCenter(const char* text, CVec3 position, CVec2 size, CVec4 color) in DrawTextCenter()
184 …r(text, CVec3(window->GetX() + position.x, window->GetY() + position.y, position.z), size, color);} in DrawTextCenter()
185 void DrawTextRight(const char* text, CVec3 position, CVec2 size, CVec4 color) in DrawTextRight()
186 …t(text, CVec3(window->GetX() + position.x, window->GetY() + position.y, position.z), size, color);} in DrawTextRight()
187 void DrawMultiLineText(const char* text, CVec3 position, CVec2 size, CVec4 color) in DrawMultiLineText()
188 …t(text, CVec3(window->GetX() + position.x, window->GetY() + position.y, position.z), size, color);} in DrawMultiLineText()
189 void DrawBox(CVec3 position, CVec2 size, CVec4 color, CVec4 color1 = CVec4(0, 0, 0, 1.0))
190 …CVec3(window->GetX() + position.x, window->GetY() + position.y, position.z), size, color, color1);}
[all …]
DdemoFont.h45 f32 color[4]; member
/CafeSDK-2.12.13-1/system/include/cafe/demo/
Ddemowin.h181 void DrawText(const char* text, CVec3 position, CVec2 size, CVec4 color) in DrawText()
182 …t(text, CVec3(window->GetX() + position.x, window->GetY() + position.y, position.z), size, color);} in DrawText()
183 void DrawTextCenter(const char* text, CVec3 position, CVec2 size, CVec4 color) in DrawTextCenter()
184 …r(text, CVec3(window->GetX() + position.x, window->GetY() + position.y, position.z), size, color);} in DrawTextCenter()
185 void DrawTextRight(const char* text, CVec3 position, CVec2 size, CVec4 color) in DrawTextRight()
186 …t(text, CVec3(window->GetX() + position.x, window->GetY() + position.y, position.z), size, color);} in DrawTextRight()
187 void DrawMultiLineText(const char* text, CVec3 position, CVec2 size, CVec4 color) in DrawMultiLineText()
188 …t(text, CVec3(window->GetX() + position.x, window->GetY() + position.y, position.z), size, color);} in DrawMultiLineText()
189 void DrawBox(CVec3 position, CVec2 size, CVec4 color, CVec4 color1 = CVec4(0, 0, 0, 1.0))
190 …CVec3(window->GetX() + position.x, window->GetY() + position.y, position.z), size, color, color1);}
[all …]
DdemoFont.h45 f32 color[4]; member
/CafeSDK-2.12.13-1/system/src/lib/demo/
DdemoFont.c243 GX2SetPixelUniformReg(s_Shader.uniformsPS.location[0], 1*4, &pFontData->color); in DEMOFontPuts()
356 gDemoFontCurInstance->font.color[0] = r; in DEMOFontSetColor()
357 gDemoFontCurInstance->font.color[1] = g; in DEMOFontSetColor()
358 gDemoFontCurInstance->font.color[2] = b; in DEMOFontSetColor()
359 gDemoFontCurInstance->font.color[3] = a; in DEMOFontSetColor()
/CafeSDK-2.12.13-1/system/src/tool/gfx/projects/SLConverter/DeferredTest/
DdeferredRendering.cpp123 Qtrn color; member
309 GeometryPass.color.x = 1.0f; in GeometryPassInit()
310 GeometryPass.color.y = 0.0f; in GeometryPassInit()
311 GeometryPass.color.z = 0.0f; in GeometryPassInit()
312 GeometryPass.color.w = 80.0f / 255.0f; // shininess / 255.0f in GeometryPassInit()
788 …tPixelUniformReg(GeometryPass.shaders.uniformsPS.location[uniformPSCount], 4, &GeometryPass.color); in GeometryPassDraw()
/CafeSDK-2.12.13-1/system/src/tool/gfx/projects/SLConverter/deferredTestDX9/
DdeferredTest.cpp229 D3DXVECTOR4 color(1.0f, 0.0f, 0.0f, 80.0f / 255.0f); // shininess / 255.0f in SetupPass() local
230 pEffect->SetVector("u_color", &color); in SetupPass()