Commits

hominem_te_esse committed 7bbb7cf

make action buttons skinnable

Comments (0)

Files changed (3)

include/textures.h

 #define RIGHT_ICON			13
 #define UP_ICON				14
 #define DOWN_ICON			15
-#define L1_ICON				16
-#define L2_ICON				17
-#define R1_ICON				18
-#define R2_ICON				19
-#define CROSS_ICON			20
-#define TRIANGLE_ICON		21
-#define CIRCLE_ICON			22
-#define SQUARE_ICON			23
+#define CROSS_ICON			16
+#define TRIANGLE_ICON		17
+#define CIRCLE_ICON			18
+#define SQUARE_ICON			19
+#define L1_ICON				20
+#define L2_ICON				21
+#define R1_ICON				22
+#define R2_ICON				23
 #define SELECT_ICON			24
 #define START_ICON			25
 #define LOGO_PICTURE		26
 	{ RIGHT_ICON, "right", &right_png },
 	{ UP_ICON, "up", &up_png },
 	{ DOWN_ICON, "down", &down_png },
+	{ CROSS_ICON, "cross", &cross_png },
+	{ TRIANGLE_ICON, "triangle", &triangle_png },
+	{ CIRCLE_ICON, "circle", &circle_png },
+	{ SQUARE_ICON, "square", &square_png },
 	{ L1_ICON, "L1", &L1_png },
 	{ L2_ICON, "L2", &L2_png },
 	{ R1_ICON, "R1", &R1_png },
 	{ R2_ICON, "R2", &R2_png },
-	{ CROSS_ICON, "cross", &cross_png },
-	{ TRIANGLE_ICON, "triangle", &triangle_png },
-	{ CIRCLE_ICON, "circle", &circle_png },
-	{ SQUARE_ICON, "square", &square_png },
 	{ SELECT_ICON, "select", &select_png },
 	{ START_ICON, "start", &start_png },
 	{ LOGO_PICTURE, "logo", &logo_png },
 	gTheme->loadingIconCount = i;
 
 	// Customizable icons
-	for (i = USB_ICON; i <= DOWN_ICON; i++)
+	for (i = USB_ICON; i <= SQUARE_ICON; i++)
 		thmLoadResource(i, themePath, GS_PSM_CT32, gTheme->useDefault);
 
 	// Not  customizable icons