Просмотр исходного кода

Resize key menu icons so that they are centered

twisted_pear 2 лет назад
Родитель
Сommit
f8ccb1a84c

BIN
assets/Nfc_10px.png


BIN
assets/Nfc_14px.png


BIN
assets/chat_14px.png


BIN
assets/hex_10px.png


BIN
assets/hex_14px.png


BIN
assets/keyboard_10px.png


BIN
assets/keyboard_14px.png


BIN
assets/u2f_10px.png


BIN
assets/u2f_14px.png


+ 5 - 5
scenes/esubghz_chat_key_menu.c

@@ -83,7 +83,7 @@ void scene_on_enter_key_menu(void* context)
 	menu_add_item(
 	menu_add_item(
 		state->menu,
 		state->menu,
 		"No encryption",
 		"No encryption",
-		&I_chat_10px,
+		&I_chat_14px,
 		ESubGhzChatKeyMenuItems_NoEncryption,
 		ESubGhzChatKeyMenuItems_NoEncryption,
 		key_menu_cb,
 		key_menu_cb,
 		state
 		state
@@ -91,7 +91,7 @@ void scene_on_enter_key_menu(void* context)
 	menu_add_item(
 	menu_add_item(
 		state->menu,
 		state->menu,
 		"Password",
 		"Password",
-		&I_keyboard_10px,
+		&I_keyboard_14px,
 		ESubGhzChatKeyMenuItems_Password,
 		ESubGhzChatKeyMenuItems_Password,
 		key_menu_cb,
 		key_menu_cb,
 		state
 		state
@@ -99,7 +99,7 @@ void scene_on_enter_key_menu(void* context)
 	menu_add_item(
 	menu_add_item(
 		state->menu,
 		state->menu,
 		"Hex Key",
 		"Hex Key",
-		&I_hex_10px,
+		&I_hex_14px,
 		ESubGhzChatKeyMenuItems_HexKey,
 		ESubGhzChatKeyMenuItems_HexKey,
 		key_menu_cb,
 		key_menu_cb,
 		state
 		state
@@ -107,7 +107,7 @@ void scene_on_enter_key_menu(void* context)
 	menu_add_item(
 	menu_add_item(
 		state->menu,
 		state->menu,
 		"Generate Key",
 		"Generate Key",
-		&I_u2f_10px,
+		&I_u2f_14px,
 		ESubGhzChatKeyMenuItems_GenKey,
 		ESubGhzChatKeyMenuItems_GenKey,
 		key_menu_cb,
 		key_menu_cb,
 		state
 		state
@@ -115,7 +115,7 @@ void scene_on_enter_key_menu(void* context)
 	menu_add_item(
 	menu_add_item(
 		state->menu,
 		state->menu,
 		"Read Key from NFC",
 		"Read Key from NFC",
-		&I_Nfc_10px,
+		&I_Nfc_14px,
 		ESubGhzChatKeyMenuItems_ReadKeyFromNfc,
 		ESubGhzChatKeyMenuItems_ReadKeyFromNfc,
 		key_menu_cb,
 		key_menu_cb,
 		state
 		state