Lines Matching refs:pRenderSystem
435 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()
467 pRenderSystem->SwapBuffers(); in DisplayCreation()
471 pRenderSystem->SetRenderTarget(NN_GX_DISPLAY1); in DisplayCreation()
472 pRenderSystem->Clear(); in DisplayCreation()
473 pRenderSystem->SetColor(WHITE_COLOR); in DisplayCreation()
474 pRenderSystem->DrawText(FONT_SIZE * x, FONT_SIZE * y, "A:CREATE_BOX"); in DisplayCreation()
475 pRenderSystem->SwapBuffers(); in DisplayCreation()
529 void DisplayWriting(demo::RenderSystemDrawing* pRenderSystem, nn::Result* result) in DisplayWriting() argument
535 pRenderSystem->SetRenderTarget(NN_GX_DISPLAY0); in DisplayWriting()
536 pRenderSystem->Clear(); in DisplayWriting()
537 pRenderSystem->SetColor(WHITE_COLOR); in DisplayWriting()
538 …pRenderSystem->DrawText(FONT_SIZE * x, FONT_SIZE * y++, "AT FIRST, PRESS LEFT/RIGHT TO SELECT CON… in DisplayWriting()
539 … pRenderSystem->DrawText(FONT_SIZE * x, FONT_SIZE * y++, "AT SECOND, PRESS A TO SET SEND MESSAGE"); in DisplayWriting()
543 pRenderSystem->SetColor(RED_COLOR); in DisplayWriting()
546 pRenderSystem->DrawText(FONT_SIZE * x, FONT_SIZE * y++, "ERROR:YOU DID NOT AGREE EULA"); in DisplayWriting()
550 pRenderSystem->DrawText(FONT_SIZE * x, FONT_SIZE * y++, "ERROR:PARENTAL CONTROL BANED"); in DisplayWriting()
554 … pRenderSystem->DrawText(FONT_SIZE * x, FONT_SIZE * y++, "ERROR:SEND MESSAGENUM IS FULL"); in DisplayWriting()
555 … pRenderSystem->DrawText(FONT_SIZE * x, FONT_SIZE * y++, "APPLICATION DELETED ALL OUTBOX MESSAGE"); in DisplayWriting()
559 pRenderSystem->SwapBuffers(); in DisplayWriting()
563 pRenderSystem->SetRenderTarget(NN_GX_DISPLAY1); in DisplayWriting()
564 pRenderSystem->Clear(); in DisplayWriting()
565 pRenderSystem->SetColor(WHITE_COLOR); in DisplayWriting()
566 pRenderSystem->DrawText(FONT_SIZE * x, FONT_SIZE * y++, "TITLE:%ls",s_Title); in DisplayWriting()
567 …pRenderSystem->DrawText(FONT_SIZE * x, FONT_SIZE * y++, "------------------BODY------------------"… in DisplayWriting()
573 pRenderSystem->DrawText(FONT_SIZE * x, FONT_SIZE * y++, "%ls",line); in DisplayWriting()
576 … pRenderSystem->DrawText(FONT_SIZE * x, FONT_SIZE * (BOTTOM_DISP-1), "A:SET_MESSAGE B:DELETE_BOX"); in DisplayWriting()
577 pRenderSystem->DrawText(FONT_SIZE * x, FONT_SIZE * BOTTOM_DISP, "LEFT/RIGHT:SELECT_CONTENT"); in DisplayWriting()
578 pRenderSystem->SwapBuffers(); in DisplayWriting()
752 void DisplayReading(demo::RenderSystemDrawing* pRenderSystem, u8 selected, u32* pIsExistNewMess) in DisplayReading() argument
761 pRenderSystem->SetRenderTarget(NN_GX_DISPLAY0); in DisplayReading()
762 pRenderSystem->Clear(); in DisplayReading()
763 pRenderSystem->SetColor(WHITE_COLOR); in DisplayReading()
764 …pRenderSystem->DrawText(FONT_SIZE * x, FONT_SIZE * y++, "-----------------------------------------… in DisplayReading()
765 … pRenderSystem->DrawText(FONT_SIZE * x, FONT_SIZE * y++, "TITLE ReceiveDate"); in DisplayReading()
768 if(selected==y-2&&selected<INBOX_MAXNUM)pRenderSystem->SetColor(GREEN_COLOR); in DisplayReading()
769 else pRenderSystem->SetColor(WHITE_COLOR); in DisplayReading()
770 pRenderSystem->DrawText(FONT_SIZE * x, FONT_SIZE * y, "%ls",s_Box.inMessData[i].title); in DisplayReading()
771 …pRenderSystem->DrawText(FONT_SIZE * (x+TITLE_LENGTH+1), FONT_SIZE * y++, "%04d/%02d/%02d %02d:%02d… in DisplayReading()
774 }pRenderSystem->SetColor(WHITE_COLOR); in DisplayReading()
777 …pRenderSystem->DrawText(FONT_SIZE * x, FONT_SIZE * y++, "-----------------------------------------… in DisplayReading()
779 … pRenderSystem->DrawText(FONT_SIZE * x, FONT_SIZE * y++, "TITLE CreateDate"); in DisplayReading()
782 if(selected==y&&selected>OUTBOX_MAXNUM)pRenderSystem->SetColor(GREEN_COLOR); in DisplayReading()
783 else pRenderSystem->SetColor(WHITE_COLOR); in DisplayReading()
784 pRenderSystem->DrawText(FONT_SIZE * x, FONT_SIZE * y, "%ls",s_Box.outMessData[i].title); in DisplayReading()
785 …pRenderSystem->DrawText(FONT_SIZE * (x+TITLE_LENGTH+1), FONT_SIZE * y++, "%04d/%02d/%02d %02d:%02d… in DisplayReading()
790 pRenderSystem->SwapBuffers(); in DisplayReading()
795 pRenderSystem->SetRenderTarget(NN_GX_DISPLAY1); in DisplayReading()
796 pRenderSystem->Clear(); in DisplayReading()
797 pRenderSystem->SetColor(WHITE_COLOR); in DisplayReading()
798 …pRenderSystem->DrawText(FONT_SIZE * x, FONT_SIZE * y++, "TITLE:%ls",s_Box.inMessData[selected].tit… in DisplayReading()
799 …pRenderSystem->DrawText(FONT_SIZE * x, FONT_SIZE * y++, "------------------BODY------------------"… in DisplayReading()
805 pRenderSystem->DrawText(FONT_SIZE * 9, FONT_SIZE * 10,"////NEW MESSAGE////"); in DisplayReading()
808 pRenderSystem->DrawText(FONT_SIZE * 9, FONT_SIZE * 10,"----NEW MESSAGE----"); in DisplayReading()
811 pRenderSystem->DrawText(FONT_SIZE * 9, FONT_SIZE * 10,"\\\\\\\\NEW MESSAGE\\\\\\\\"); in DisplayReading()
814 pRenderSystem->DrawText(FONT_SIZE * 6, FONT_SIZE * 11,"PRESS Y TO RECEIVE MESSAGE"); in DisplayReading()
824 pRenderSystem->DrawText(FONT_SIZE * x, FONT_SIZE * y++, "%ls",line); in DisplayReading()
828 …pRenderSystem->DrawText(FONT_SIZE * x, FONT_SIZE * (BOTTOM_DISP-1),"Y:RECEIVE_MESSAGE X:DELETE_MES… in DisplayReading()
829 …pRenderSystem->DrawText(FONT_SIZE * x, FONT_SIZE * BOTTOM_DISP, "B:BACK UP/DOWN:SELECT_MESSAGE"… in DisplayReading()
830 pRenderSystem->SwapBuffers(); in DisplayReading()