Home
last modified time | relevance | path

Searched refs:cx (Results 1 – 11 of 11) sorted by relevance

/RvlSDK-2.1/build/demos/kpaddemo/src/
Dsample.c463 s32 cx,cy ; in draw_sample() local
478 cx = 2 ; in draw_sample()
480 draw_kfont_letter( cx,cy, gray_clr, "POINTING") ; in draw_sample()
481 (void)draw_kfont_s32( cx+12,cy, blue_clr, (s32)pointing_scale ) ; in draw_sample()
483 draw_kfont_letter( cx,cy, gray_clr, "INTERVAL") ; in draw_sample()
484 (void)draw_kfont_f32( cx+9,cy, peagreen_clr, obj_interval, 2 ) ; in draw_sample()
486 draw_kfont_letter( cx,cy, gray_clr, " PLAY SENS") ; in draw_sample()
488 draw_kfont_letter( cx,cy, gray_clr, "POS" ) ; in draw_sample()
489 (void)draw_kfont_f32( cx+4,cy, cyan_clr, pos_play_radius, 2 ) ; in draw_sample()
490 (void)draw_kfont_f32( cx+9,cy, cyan_clr, pos_sensitivity, 2 ) ; in draw_sample()
[all …]
Dkfont.c185 static void draw_kfont_one( f32 cx, f32 cy, char c ) in draw_kfont_one() argument
206 x1 = cx * cursor_wd + cursor_x1 + letter_ox ; in draw_kfont_one()
224 s32 draw_kfont_s32( f32 cx, f32 cy, GXColor clr, s32 val ) in draw_kfont_s32() argument
240 x = cx ; in draw_kfont_s32()
263 s32 draw_kfont_f32( f32 cx, f32 cy, GXColor clr, f32 val, s32 keta ) in draw_kfont_f32() argument
290 x = cx + 1.0f + (f32)k ; in draw_kfont_f32()
309 rt += draw_kfont_s32( cx, cy, clr, v ) ; in draw_kfont_f32()
318 void draw_kfont_bit( f32 cx, f32 cy, GXColor clr, u32 val, s32 keta ) in draw_kfont_bit() argument
322 f32 x = cx ; in draw_kfont_bit()
346 void draw_kfont_letter( f32 cx, f32 cy, GXColor clr, char *str ) in draw_kfont_letter() argument
[all …]
/RvlSDK-2.1/build/demos/wpaddemo/src/
Dpointing.c319 int cx[2]; in getMidpoint() local
328 cx[i]=stat->obj[i].x; in getMidpoint()
333 if(cx[0] > cx[1]) in getMidpoint()
335 int tmp=cx[0]; in getMidpoint()
336 cx[0]=cx[1]; in getMidpoint()
337 cx[1]=tmp; in getMidpoint()
345 s_prevX[i]=cx[i]; in getMidpoint()
348 s_width=cx[1]-cx[0]; in getMidpoint()
359 cx[0]=x0; in getMidpoint()
361 cx[1]=cx[0]+s_width; in getMidpoint()
[all …]
/RvlSDK-2.1/build/demos/kpaddemo/include/
Dkfont.h26 extern s32 draw_kfont_s32( f32 cx, f32 cy, GXColor clr, s32 val ) ;
27 extern s32 draw_kfont_f32( f32 cx, f32 cy, GXColor clr, f32 val, s32 keta ) ;
28 extern void draw_kfont_bit( f32 cx, f32 cy, GXColor clr, u32 val, s32 keta ) ;
29 extern void draw_kfont_letter( f32 cx, f32 cy, GXColor clr, char *str ) ;
31 extern f32 calc_kfont_x1( f32 cx ) ;
33 extern f32 calc_kfont_x2( f32 cx ) ;
/RvlSDK-2.1/build/libraries/cx/
Dmakefile28 MODULENAME = cx
39 LIBNAME = cx
/RvlSDK-2.1/build/libraries/demo/src/
DDEMOPuts.c596 s32 cx; in DEMORFPuts() local
637 string = OSGetFontTexture(string, &image, &xChar, &yChar, &cx); in DEMORFPuts()
641 width += FontSize * cx / FontData->cellWidth + FontSpace; in DEMORFPuts()
648 s32 cx; in DEMORFPutsEx() local
685 string = OSGetFontTexture(string, &image, &xChar, &yChar, &cx); in DEMORFPutsEx()
688 if (maxWidth < width + FontSize * cx / FontData->cellWidth + FontSpace) in DEMORFPutsEx()
696 width += FontSize * cx / FontData->cellWidth + FontSpace; in DEMORFPutsEx()
794 s32 cx; in DEMOGetRFTextWidth() local
811 string = OSGetFontWidth(string, &cx); in DEMOGetRFTextWidth()
812 width += FontSize * cx / FontData->cellWidth + FontSpace; in DEMOGetRFTextWidth()
/RvlSDK-2.1/build/demos/osdemo/src/
Dfontdemo1.c132 s32 cx = 0; in DrawString() local
143 DrawCell(x + cx, y, xChar, yChar); in DrawString()
144 cx += width; in DrawString()
147 return cx; in DrawString()
Dfontdemo3.c135 s32 cx = 0; in DrawString() local
146 DrawCell(x + cx, y, xChar, yChar); in DrawString()
147 cx += width; in DrawString()
150 return cx; in DrawString()
/RvlSDK-2.1/build/demos/carddemo/src/
Dlistdemo.c331 static void DrawRectangle(int x, int y, int cx, int cy, GXColor color) in DrawRectangle() argument
356 GXPosition3s16((s16) (x + cx), (s16) (y), 0); in DrawRectangle()
357 GXPosition3s16((s16) (x + cx), (s16) (y + cy), 0); in DrawRectangle()
380 int cx; in DrawMenu() local
386 cx = 0; in DrawMenu()
391 if (cx < width) in DrawMenu()
393 cx = width; in DrawMenu()
405 …DrawRectangle(x, y - FontData->ascent * size / FontData->cellWidth, cx, FontData->leading * size /… in DrawMenu()
413 return cx; in DrawMenu()
424 int cx; in DrawMessage() local
[all …]
/RvlSDK-2.1/build/
Dmakefile42 cx \
89 cx \
/RvlSDK-2.1/build/buildtools/
Dcommondefs322 $(INSTALL_ROOT)/lib/cx$(LIBSUFFIX) \