Home
last modified time | relevance | path

Searched refs:GXRgb (Results 1 – 25 of 51) sorted by relevance

123

/TwlSDK-5.1.0/build/demos/gx/UnitTours/DEMOLib/include/
DDEMOBitmap.h87 GXRgb DEMOVerifyGXRgb(int color);
98 void DEMOiSetBitmapTextColor(GXRgb color);
109 void DEMOiSetBitmapGroundColor(GXRgb color);
124 void DEMOiFillRect(int x, int y, int wx, int wy, GXRgb color);
140 void DEMOBlitRect(int x, int y, int wx, int wy, const GXRgb *image, int stroke);
156 void DEMOBlitTex16(int x, int y, int wx, int wy, const void *chr, const GXRgb *plt);
171 void DEMOiDrawLine(int sx, int sy, int tx, int ty, GXRgb color);
186 void DEMOiDrawFrame(int x, int y, int wx, int wy, GXRgb color);
/TwlSDK-5.1.0/build/demos/gx/UnitTours/DEMOLib/src/
DDEMOUtility.c24 static const GXRgb DEMO_DIFFUSE_COL =
26 static const GXRgb DEMO_AMBIENT_COL =
28 static const GXRgb DEMO_SPECULAR_COL =
30 static const GXRgb DEMO_EMISSION_COL = GX_RGB(0, 0, 0);
DDEMOBitmap.c37 GXRgb bitmap_ground_color;
38 GXRgb bitmap_text_color;
40 GXRgb bitmap_frame[GX_LCD_SIZE_X * GX_LCD_SIZE_Y] ATTRIBUTE_ALIGN(32);
206 static const GXRgb pal[16] = { GX_RGB(0, 0, 0), GX_RGB(31, 31, 31), }; in DEMOInitDisplayBitmap()
289 GXRgb DEMOVerifyGXRgb(int color) in DEMOVerifyGXRgb()
301 return (GXRgb)color; in DEMOVerifyGXRgb()
313 void DEMOiSetBitmapTextColor(GXRgb color) in DEMOiSetBitmapTextColor()
328 void DEMOiSetBitmapGroundColor(GXRgb color) in DEMOiSetBitmapGroundColor()
347 void DEMOiFillRect(int x, int y, int wx, int wy, GXRgb color) in DEMOiFillRect()
362 GXRgb *dst = &context->bitmap_frame[x + y * GX_LCD_SIZE_X]; in DEMOiFillRect()
[all …]
/TwlSDK-5.1.0/include/nitro/gx/
Dg3imm.h61 static void G3_Color(GXRgb rgb);
78 static void G3_MaterialColorDiffAmb(GXRgb diffuse, GXRgb ambient, BOOL IsSetVtxColor);
79 static void G3_MaterialColorSpecEmi(GXRgb specular, GXRgb emission, BOOL IsShininess);
81 static void G3_LightColor(GXLightId lightID, GXRgb rgb);
314 static inline void G3_Color(GXRgb rgb) in G3_Color()
562 static inline void G3_MaterialColorDiffAmb(GXRgb diffuse, GXRgb ambient, BOOL IsSetVtxColor) in G3_MaterialColorDiffAmb()
583 static inline void G3_MaterialColorSpecEmi(GXRgb specular, GXRgb emission, BOOL IsShininess) in G3_MaterialColorSpecEmi()
625 static inline void G3_LightColor(GXLightId lightID, GXRgb rgb) in G3_LightColor()
Dg3c.h69 static void G3CS_Color(GXDLInfo *info, GXRgb rgb);
87 static void G3CS_MaterialColorDiffAmb(GXDLInfo *info, GXRgb diffuse, GXRgb ambient,
89 static void G3CS_MaterialColorSpecEmi(GXDLInfo *info, GXRgb specular, GXRgb emission,
92 static void G3CS_LightColor(GXDLInfo *info, GXLightId lightID, GXRgb rgb);
125 void G3C_Color(GXDLInfo *info, GXRgb rgb);
143 void G3C_MaterialColorDiffAmb(GXDLInfo *info, GXRgb diffuse, GXRgb ambient, BOOL IsSetVtxColor);
144 void G3C_MaterialColorSpecEmi(GXDLInfo *info, GXRgb specular, GXRgb emission, BOOL IsShininess);
146 void G3C_LightColor(GXDLInfo *info, GXLightId lightID, GXRgb rgb);
342 static inline void G3CS_Color(GXDLInfo *info, GXRgb rgb) in G3CS_Color()
610 GXRgb diffuse, GXRgb ambient, BOOL IsSetVtxColor) in G3CS_MaterialColorDiffAmb()
[all …]
Dg3b.h76 static void G3BS_Color(GXDLInfo *info, GXRgb rgb);
94 static void G3BS_MaterialColorDiffAmb(GXDLInfo *info, GXRgb diffuse, GXRgb ambient,
96 static void G3BS_MaterialColorSpecEmi(GXDLInfo *info, GXRgb specular, GXRgb emission,
99 static void G3BS_LightColor(GXDLInfo *info, GXLightId lightID, GXRgb rgb);
133 void G3B_Color(GXDLInfo *info, GXRgb rgb);
151 void G3B_MaterialColorDiffAmb(GXDLInfo *info, GXRgb diffuse, GXRgb ambient, BOOL IsSetVtxColor);
152 void G3B_MaterialColorSpecEmi(GXDLInfo *info, GXRgb specular, GXRgb emission, BOOL IsShininess);
154 void G3B_LightColor(GXDLInfo *info, GXLightId lightID, GXRgb rgb);
445 static inline void G3BS_Color(GXDLInfo *info, GXRgb rgb) in G3BS_Color()
712 GXRgb diffuse, GXRgb ambient, BOOL IsSetVtxColor) in G3BS_MaterialColorDiffAmb()
[all …]
Dg3x.h156 void G3X_SetEdgeColorTable(const GXRgb *rgb_8);
158 void G3X_SetToonTable(const GXRgb *rgb_32);
159 void G3X_SetClearColor(GXRgb rgb, int alpha, int depth, int polygonID, BOOL fog);
161 static void G3X_SetFogColor(GXRgb rgb, int alpha);
365 static inline void G3X_SetFogColor(GXRgb rgb, int alpha) in G3X_SetFogColor()
Dgxcommon.h46 typedef u16 GXRgb; typedef
54 #define GX_RGB(r, g, b) ((GXRgb)(((r) << GX_RGB_R_SHIFT) | \
Dstruct_2d.h99 GXRgb rgb[16];
114 GXRgb rgb[256];
/TwlSDK-5.1.0/build/demos.TWL/nandApp/SubBanner/src/
Dmain.c43 GXRgb normal_color;
44 GXRgb select_color;
45 GXRgb disable_color;
110 anime->pltt[0][i] = (GXRgb)((GX_RGB_R_MASK & anime->pltt[0][i]) << 5 | // R to G in EditSubBanner()
/TwlSDK-5.1.0/include/nitro/os/common/
DownerInfo.h186 const GXRgb *OS_GetFavoriteColorTable(void);
199 static inline GXRgb OS_GetFavoriteColor(int index) in OS_GetFavoriteColor()
/TwlSDK-5.1.0/build/libraries/os/common/src/
Dos_ownerInfo.c99 const GXRgb *OS_GetFavoriteColorTable(void) in OS_GetFavoriteColorTable()
101 static const GXRgb col_table[OS_FAVORITE_COLOR_MAX] = { in OS_GetFavoriteColorTable()
/TwlSDK-5.1.0/build/demos/wm/dataShare-Model/include/
Dgraphics.h26 extern void drawPseudo2DColorQuad(int sx, int sy, int width, int height, GXRgb color);
/TwlSDK-5.1.0/build/demos/wm/wep-1/include/
Dgraphics.h26 extern void drawPseudo2DColorQuad(int sx, int sy, int width, int height, GXRgb color);
/TwlSDK-5.1.0/build/demos/fs/explorer/src/
Dmain.c31 static const GXRgb icon_file[] =
42 static const GXRgb icon_directory[] =
306 … DEMOSetBitmapTextColor((GXRgb)(focus ? GX_RGBA(31, 31, 0, 1) : GX_RGBA(31, 31, 31, 1))); in NitroMain()
/TwlSDK-5.1.0/build/demos.TWL/aes/encrypt/src/
Dmain.c242 *(GXRgb*)HW_BG_PLTT = (GXRgb)(bSampleSucceeded ? GX_RGB(0, 31, 0): GX_RGB(31, 0, 0)); in TwlMain()
/TwlSDK-5.1.0/build/demos.TWL/aes/encrypt-and-sign/src/
Dmain.c248 *(GXRgb*)HW_BG_PLTT = (GXRgb)(bSampleSucceeded ? GX_RGB(0, 31, 0): GX_RGB(31, 0, 0)); in TwlMain()
/TwlSDK-5.1.0/build/demos/pad/padRead/src/
Dmain.c86 …DEMOSetBitmapTextColor((GXRgb)(((bits & p->bit) != 0) ? GX_RGBA(31, 31, 0, 1) : GX_RGBA(16, 16, 16… in TwlMain()
/TwlSDK-5.1.0/build/demos.TWL/aes/ctr/src/
Dmain.c255 *(GXRgb*)HW_BG_PLTT = (GXRgb)(bSampleSucceeded ? GX_RGB(0, 31, 0): GX_RGB(31, 0, 0)); in TwlMain()
/TwlSDK-5.1.0/include/twl/na/ARM9/
Dsub_banner.h76 GXRgb pltt [ NA_SUBBANNER_PATTERN_NUM ][ NA_SUBBANNER_PALETTE_NUM ];
/TwlSDK-5.1.0/build/demos.TWL/aes/ctr-partial/src/
Dmain.c270 *(GXRgb*)HW_BG_PLTT = (GXRgb)(bSampleSucceeded ? GX_RGB(0, 31, 0): GX_RGB(31, 0, 0)); in TwlMain()
/TwlSDK-5.1.0/build/demos/spi/spiMonkey/src/
Dmain.c49 static void DrawLine(s16 sx, s16 sy, s16 ex, s16 ey, GXRgb color);
246 static void DrawLine(s16 sx, s16 sy, s16 ex, s16 ey, GXRgb color) in DrawLine()
/TwlSDK-5.1.0/build/libraries/gx/ARM9/src/
Dg3b.c715 void G3B_Color(GXDLInfo *info, GXRgb rgb) in G3B_Color()
971 void G3B_MaterialColorDiffAmb(GXDLInfo *info, GXRgb diffuse, GXRgb ambient, BOOL IsSetVtxColor) in G3B_MaterialColorDiffAmb()
993 void G3B_MaterialColorSpecEmi(GXDLInfo *info, GXRgb specular, GXRgb emission, BOOL IsShininess) in G3B_MaterialColorSpecEmi()
1035 void G3B_LightColor(GXDLInfo *info, GXLightId lightID, GXRgb rgb) in G3B_LightColor()
/TwlSDK-5.1.0/build/demos.TWL/aes/ccm/src/
Dmain.c313 *(GXRgb*)HW_BG_PLTT = (GXRgb)(bSampleSucceeded ? GX_RGB(0, 31, 0): GX_RGB(31, 0, 0)); in TwlMain()
/TwlSDK-5.1.0/build/demos/wm/wireless-all/src/
Dcommon.c318 GXRgb palette[16]; in LoadLinkIcon()
330 GX_LoadOBJPltt(table[level]->palette, sizeof(GXRgb) * 16 * palette, in LoadLinkIcon()

123