Home
last modified time | relevance | path

Searched refs:pRenderSystem (Results 1 – 7 of 7) sorted by relevance

/CTR-SDK-4.2.7-SampleDemos/dlp/FakeClient/
DFakeClient.cpp66 void DisplayCube(demo::RenderSystemDrawing* pRenderSystem, u16 x, u16 y) in DisplayCube() argument
87 pRenderSystem->FillRectangle(x + cubePos[curPos].x, y + cubePos[curPos].y, 4, 4); in DisplayCube()
89 pRenderSystem->FillRectangle(x + 5, y + 5, 4, 4); in DisplayCube()
98 …::dlp::TitleInfo titleList[], int titleNum, int selected, demo::RenderSystemDrawing* pRenderSystem) in DisplayTitleList() argument
105 pRenderSystem->SetColor(WHITE_COLOR); in DisplayTitleList()
106 pRenderSystem->DrawText(FONT_SIZE * (x + 3), FONT_SIZE * y, "TITLE NAME"); in DisplayTitleList()
107 pRenderSystem->DrawText(FONT_SIZE * (x + 33), FONT_SIZE * y, "SERVER NAME"); in DisplayTitleList()
116 pRenderSystem->SetColor(GREEN_COLOR); in DisplayTitleList()
121 pRenderSystem->SetColor(WHITE_COLOR); in DisplayTitleList()
124 pRenderSystem->DrawText(FONT_SIZE * x , FONT_SIZE * y, "%02d", i + 1); in DisplayTitleList()
[all …]
/CTR-SDK-4.2.7-SampleDemos/dlp/SimpleServer/
DSimpleServer.cpp58 demo::RenderSystemDrawing* pRenderSystem) in DisplayClientState() argument
63 pRenderSystem->DrawText(FONT_SIZE * x, FONT_SIZE * y, "WAIT INVITE"); in DisplayClientState()
66 pRenderSystem->DrawText(FONT_SIZE * x, FONT_SIZE * y, "WAIT ACCEPT"); in DisplayClientState()
69 pRenderSystem->DrawText(FONT_SIZE * x, FONT_SIZE * y, "JOINED"); in DisplayClientState()
72 pRenderSystem->DrawText(FONT_SIZE * x, FONT_SIZE * y, "DOWNLOADING"); in DisplayClientState()
75 pRenderSystem->DrawText(FONT_SIZE * x, FONT_SIZE * y, "COMPLETE"); in DisplayClientState()
78 pRenderSystem->DrawText(FONT_SIZE * x, FONT_SIZE * y, "INVALID"); in DisplayClientState()
83 u16 DisplayClientList(u16 selected, u16 x, u16 y, demo::RenderSystemDrawing* pRenderSystem) in DisplayClientList() argument
88 pRenderSystem->SetColor(WHITE_COLOR); in DisplayClientList()
89 pRenderSystem->DrawText(FONT_SIZE * (x + 3), FONT_SIZE * y, "CLIENT NAME"); in DisplayClientList()
[all …]
/CTR-SDK-4.2.7-SampleDemos/cec/cec_demo2/
Dcec_Main.cpp435 void DisplayCreation(demo::RenderSystemDrawing* pRenderSystem, nn::Result* result) in DisplayCreation() argument
441 pRenderSystem->SetRenderTarget(NN_GX_DISPLAY0); in DisplayCreation()
442 pRenderSystem->Clear(); in DisplayCreation()
443 pRenderSystem->SetColor(WHITE_COLOR); in DisplayCreation()
444 pRenderSystem->DrawText(FONT_SIZE * x, FONT_SIZE * y++, "PRESS A TO CREATE MESSAGEBOX"); in DisplayCreation()
449 pRenderSystem->SetColor(RED_COLOR); in DisplayCreation()
452 pRenderSystem->DrawText(FONT_SIZE * x, FONT_SIZE * y++, "ERROR:MESSAGEBOX NUM IS FULL"); in DisplayCreation()
456 pRenderSystem->DrawText(FONT_SIZE * x, FONT_SIZE * y++, "ERROR:PRIVATEID DO NOT MATCH"); in DisplayCreation()
460 pRenderSystem->DrawText(FONT_SIZE * x, FONT_SIZE * y++, "ERROR:BUSY"); in DisplayCreation()
464 pRenderSystem->DrawText(FONT_SIZE * x, FONT_SIZE * y++, "ERROR:"); in DisplayCreation()
[all …]
/CTR-SDK-4.2.7-SampleDemos/common/libraries/scene/
DGuiUtil.cpp30 void RegisterDrawers(demo::RenderSystemDrawing* pRenderSystem, TextWriter* pTextWriter) in RegisterDrawers() argument
32 s_pRenderSystem = pRenderSystem; in RegisterDrawers()
DGuiLabel.cpp70 demo::RenderSystemDrawing* pRenderSystem = scene::GetRenderSystem(); in OnDraw() local
80 pRenderSystem->SetColor(color.r, color.g, color.b, color.a); in OnDraw()
DGuiButton.cpp74 demo::RenderSystemDrawing* pRenderSystem = GetRenderSystem(); in OnDraw() local
84 pRenderSystem->SetColor(color.r, color.g, color.b, color.a); in OnDraw()
/CTR-SDK-4.2.7-SampleDemos/common/include/scene/
DGuiUtil.h32 void RegisterDrawers(demo::RenderSystemDrawing* pRenderSystem, TextWriter* pTextWriter);