Lines Matching refs:df
30 demo::RenderSystemDrawing df; variable
104 df.Initialize(nn::os::GetDeviceMemoryAddress(), nn::os::GetDeviceMemorySize(), in SetupRenderSystem()
113 df.Finalize(); in ReleaseRenderSystem()
137 df.SetRenderTarget(NN_GX_DISPLAY0); in DrawText()
138 df.Clear(); in DrawText()
140 df.SetColor(0.0f, 0.0f, 0.5f); in DrawText()
141 df.FillRectangle( 0, 0, 399, 255 ); in DrawText()
142 df.SetColor(0.5f, 0.4f, 0.0f); in DrawText()
143 df.FillRectangle( 0, 0, 399, 40 ); in DrawText()
144 df.SetColor(0.5f, 0.0f, 0.4f); in DrawText()
145 df.FillRectangle( 0, 180, 399, 40 ); in DrawText()
146 df.SetColor(1.0f, 1.0f, 1.0f); in DrawText()
147 df.DrawText( 100, 50, "** DEMO APPLICATION **" ); in DrawText()
149 df.SetColor(1.0f, 1.0f, 1.0f); in DrawText()
150 df.DrawText( 30, 80, "[A] Launch library applet." ); in DrawText()
151 df.DrawText( 30, 100, "[Up or Down] Select parameter." ); in DrawText()
152 df.DrawText( 30, 110, "[Left or Right] Change parameter." ); in DrawText()
155 df.DrawText( 340, 50, "%d", loopCnt ); in DrawText()
157 df.SwapBuffers(); in DrawText()
160 df.SetRenderTarget(NN_GX_DISPLAY1); in DrawText()
161 df.Clear(); in DrawText()
163 df.SetColor(0.0f, 0.5f, 0.0f); in DrawText()
164 df.FillRectangle( 0, 0, 399, 255 ); in DrawText()
165 df.SetColor(1.0f, 1.0f, 1.0f); in DrawText()
166 df.DrawText( 80, 50, "** DEMO APPLICATION **" ); in DrawText()
168 …df.DrawText( 30, 140, "%c FILTER [%s]", SelectMark(0), filterTypeStr[vsel_param.input.… in DrawText()
169 …df.DrawText( 30, 150, "%c ENABLE SOFT RESET [%s]", SelectMark(1), softResetStr[vsel_param.config.… in DrawText()
170 …df.DrawText( 30, 160, "%c ENABLE HOME BUTTON [%s]", SelectMark(2), homeButtonStr[vsel_param.config… in DrawText()
171 … df.DrawText( 30, 170, "%c MESSAGE [%ls]", SelectMark(3), vsel_param.input.titleText ); in DrawText()
173 df.SwapBuffers(); in DrawText()