Lines Matching refs:pRenderSystem

58         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()
90 pRenderSystem->DrawText(FONT_SIZE * (x + 15), FONT_SIZE * y, "STATE"); in DisplayClientList()
91 pRenderSystem->DrawText(FONT_SIZE * (x + 28), FONT_SIZE * y, "PROGRESS"); in DisplayClientList()
105 pRenderSystem->SetColor(GREEN_COLOR); in DisplayClientList()
110 pRenderSystem->SetColor(WHITE_COLOR); in DisplayClientList()
125 pRenderSystem->DrawText(FONT_SIZE * x, FONT_SIZE * y, "%02d", i + 1); in DisplayClientList()
127 pRenderSystem->DrawText(FONT_SIZE * (x + 3), FONT_SIZE * y, "%s", buffer); in DisplayClientList()
128 DisplayClientState(x + 15, y, clientState, pRenderSystem); in DisplayClientList()
129 pRenderSystem->DrawText(FONT_SIZE * (x + 28), FONT_SIZE * y, "%5d/%5d", in DisplayClientList()
140 pRenderSystem->SetColor(GREEN_COLOR); in DisplayClientList()
145 pRenderSystem->SetColor(WHITE_COLOR); in DisplayClientList()
148 pRenderSystem->DrawText(FONT_SIZE * x, FONT_SIZE * y, "%02d", i + 1); in DisplayClientList()
149 pRenderSystem->DrawText(FONT_SIZE * (x + 3), FONT_SIZE * y, "----------"); in DisplayClientList()
150 pRenderSystem->DrawText(FONT_SIZE * (x + 15), FONT_SIZE * y, "------------"); in DisplayClientList()
151 pRenderSystem->DrawText(FONT_SIZE * (x + 28), FONT_SIZE * y, "-----------"); in DisplayClientList()
160 void DisplayTitleInfo(demo::RenderSystemDrawing* pRenderSystem) in DisplayTitleInfo() argument
166 pRenderSystem->SetColor(WHITE_COLOR); in DisplayTitleInfo()
169 pRenderSystem->DrawText(FONT_SIZE * x, FONT_SIZE * y++, "TITLE INFO"); in DisplayTitleInfo()
176 void DisplayInitialize(demo::RenderSystemDrawing* pRenderSystem) in DisplayInitialize() argument
181 pRenderSystem->SetColor(WHITE_COLOR); in DisplayInitialize()
182 pRenderSystem->DrawText(FONT_SIZE * x, FONT_SIZE * y++, "SIMPLE SERVER"); in DisplayInitialize()
185 pRenderSystem->DrawText(FONT_SIZE * x, FONT_SIZE * y++, in DisplayInitialize()
224 void DisplayStart(demo::RenderSystemDrawing* pRenderSystem) in DisplayStart() argument
229 pRenderSystem->SetColor(WHITE_COLOR); in DisplayStart()
230 pRenderSystem->DrawText(FONT_SIZE * x, FONT_SIZE * y++, "SIMPLE SERVER"); in DisplayStart()
233 pRenderSystem->DrawText(FONT_SIZE * x, FONT_SIZE * y++, "PRESS A TO START"); in DisplayStart()
238 pRenderSystem->SetColor(RED_COLOR); in DisplayStart()
239 pRenderSystem->DrawText(FONT_SIZE * x, FONT_SIZE * y++, "[WARNING]"); in DisplayStart()
241pRenderSystem->DrawText(FONT_SIZE * x, FONT_SIZE * y++, "SimpleServer may disconnect clients witho… in DisplayStart()
242pRenderSystem->DrawText(FONT_SIZE * x, FONT_SIZE * y++, "a notice. Please update clients via netwo… in DisplayStart()
314 void DisplayAcceptClient(u16 selected, demo::RenderSystemDrawing* pRenderSystem) in DisplayAcceptClient() argument
319 y = DisplayClientList(selected, x, y, pRenderSystem); in DisplayAcceptClient()
322 pRenderSystem->SetColor(WHITE_COLOR); in DisplayAcceptClient()
323 pRenderSystem->DrawText(FONT_SIZE * x, FONT_SIZE * y++, in DisplayAcceptClient()
325 pRenderSystem->DrawText(FONT_SIZE * x, FONT_SIZE * y++, in DisplayAcceptClient()
327 pRenderSystem->DrawText(FONT_SIZE * x, FONT_SIZE * y++, in DisplayAcceptClient()
330 pRenderSystem->DrawText(FONT_SIZE * x, FONT_SIZE * y++, in DisplayAcceptClient()
346 void DisplayDistribute(demo::RenderSystemDrawing* pRenderSystem) in DisplayDistribute() argument
351 y = DisplayClientList(MAX_CLIENT + 1, x, y, pRenderSystem); in DisplayDistribute()
353 pRenderSystem->SetColor(WHITE_COLOR); in DisplayDistribute()
354 pRenderSystem->DrawText(FONT_SIZE * x, FONT_SIZE * y++, "PRESS B TO CANCEL"); in DisplayDistribute()
394 void DisplayReboot(demo::RenderSystemDrawing* pRenderSystem) in DisplayReboot() argument
399 y = DisplayClientList(MAX_CLIENT + 1, x, y, pRenderSystem); in DisplayReboot()
423 void DisplayError(demo::RenderSystemDrawing* pRenderSystem) in DisplayError() argument
428 pRenderSystem->SetColor(WHITE_COLOR); in DisplayError()
429 pRenderSystem->DrawText(FONT_SIZE * x, FONT_SIZE * y++, "+++ ERROR +++"); in DisplayError()
432 pRenderSystem->DrawText(FONT_SIZE * x, FONT_SIZE * y++, in DisplayError()
480 demo::RenderSystemDrawing* pRenderSystem) in Display() argument
483 pRenderSystem->SetRenderTarget(NN_GX_DISPLAY0); in Display()
484 pRenderSystem->Clear(); in Display()
489 DisplayStart(pRenderSystem); in Display()
492 DisplayAcceptClient(selected, pRenderSystem); in Display()
496 DisplayDistribute(pRenderSystem); in Display()
499 DisplayReboot(pRenderSystem); in Display()
503 DisplayError(pRenderSystem); in Display()
507 pRenderSystem->SwapBuffers(); in Display()
510 pRenderSystem->SetRenderTarget(NN_GX_DISPLAY1); in Display()
511 pRenderSystem->Clear(); in Display()
515 pRenderSystem->SwapBuffers(); in Display()