Pārlūkot izejas kodu

Use light text for button labels so they show up well over the activity highlight

Sam Lantinga 2 gadi atpakaļ
vecāks
revīzija
1a4995371b

BIN
test/gamepad_face_abxy.bmp


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 353 - 325
test/gamepad_face_abxy.h


BIN
test/gamepad_face_bayx.bmp


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 349 - 318
test/gamepad_face_bayx.h


BIN
test/gamepad_face_sony.bmp


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 197 - 414
test/gamepad_face_sony.h


BIN
test/gamepad_front.bmp


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 805 - 822
test/gamepad_front.h


+ 3 - 3
test/gamepadutils.c

@@ -38,10 +38,10 @@ static const struct
     int x;
     int y;
 } button_positions[] = {
-    { 413, 193 }, /* SDL_GAMEPAD_BUTTON_A */
+    { 413, 190 }, /* SDL_GAMEPAD_BUTTON_A */
     { 456, 156 }, /* SDL_GAMEPAD_BUTTON_B */
     { 372, 159 }, /* SDL_GAMEPAD_BUTTON_X */
-    { 416, 125 }, /* SDL_GAMEPAD_BUTTON_Y */
+    { 415, 127 }, /* SDL_GAMEPAD_BUTTON_Y */
     { 199, 157 }, /* SDL_GAMEPAD_BUTTON_BACK */
     { 257, 153 }, /* SDL_GAMEPAD_BUTTON_GUIDE */
     { 314, 157 }, /* SDL_GAMEPAD_BUTTON_START */
@@ -575,7 +575,7 @@ void RenderGamepadImage(GamepadImage *ctx)
 
     if (ctx->showing_front) {
         dst.x = (float)ctx->x + 363;
-        dst.y = (float)ctx->y + 116;
+        dst.y = (float)ctx->y + 118;
         dst.w = (float)ctx->face_width;
         dst.h = (float)ctx->face_height;
 

Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels