Commits

hominem_te_esse committed 9e0b7b7

make start/select button skinnable

Comments (0)

Files changed (3)

include/textures.h

 #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 SELECT_ICON			20
+#define START_ICON			21
+#define L1_ICON				22
+#define L2_ICON				23
+#define R1_ICON				24
+#define R2_ICON				25
 #define LOGO_PICTURE		26
 
 #define TEXTURES_COUNT		27
 	{ 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 },
 	{ L1_ICON, "L1", &L1_png },
 	{ L2_ICON, "L2", &L2_png },
 	{ R1_ICON, "R1", &R1_png },
 	{ R2_ICON, "R2", &R2_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 <= SQUARE_ICON; i++)
+	for (i = USB_ICON; i <= START_ICON; i++)
 		thmLoadResource(i, themePath, GS_PSM_CT32, gTheme->useDefault);
 
 	// Not  customizable icons
-	for (i = L1_ICON; i <= START_ICON; i++)
+	for (i = L1_ICON; i <= R2_ICON; i++)
 		thmLoadResource(i, NULL, GS_PSM_CT32, 1);
 }