mirror of
https://github.com/i12bp8/ESLPwn.git
synced 2026-09-27 05:37:56 +00:00
A tag whose type code is not in the profile table has no dimensions, so after the unknown-profile guard its Set Text / Set Image / WiFi Plugins actions are hidden. This adds a "Set Custom Size" action for those tags: enter width, height and colour, and the graphics actions become usable. The IR framing is identical to a table profile; only the screen geometry differs, so no protocol is guessed. Custom size is applied only when the barcode's type is not in the table, so a real profile is never overridden. - New scene (VariableItemList): Width and Height in 8 px steps from 8 to 800, Colour mono/red/yellow, and Save. - tagtinker_target_refresh_profile() synthesizes a "Custom" profile from the stored size for unknown-type targets, so Show Tag Info, Set Text and Set Image all see real dimensions. - targets.txt gains three optional fields (barcode|name|cw|ch|ccolor); older two-field lines still load, with no custom size. - "Set Custom Size" appears in Target Actions only for unknown-type targets (tagtinker_type_is_known()). Builds clean on release SDK 1.4.3 (API 87.1) and dev SDK; no new clang-format drift. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
45 lines
1.7 KiB
Plaintext
45 lines
1.7 KiB
Plaintext
App(
|
|
appid="tagtinker",
|
|
name="TagTinker",
|
|
apptype=FlipperAppType.EXTERNAL,
|
|
entry_point="tagtinker_app_main",
|
|
requires=["gui", "notification", "dialogs", "storage", "bt", "nfc", "expansion"],
|
|
stack_size=12 * 1024,
|
|
fap_icon="tagtinker_10px.png",
|
|
fap_category="Infrared",
|
|
fap_author="i12bp8",
|
|
fap_description="Educational ESL study tool for owned hardware",
|
|
fap_version="2.1",
|
|
sources=[
|
|
"tagtinker_app.c",
|
|
"ir/tagtinker_ir.c",
|
|
"protocol/tagtinker_proto.c",
|
|
"scenes/tagtinker_scene.c",
|
|
"scenes/tagtinker_scene_about.c",
|
|
"scenes/tagtinker_scene_barcode_input.c",
|
|
"scenes/tagtinker_scene_broadcast.c",
|
|
"scenes/tagtinker_scene_broadcast_menu.c",
|
|
"scenes/tagtinker_scene_image_options.c",
|
|
"scenes/tagtinker_scene_main_menu.c",
|
|
"scenes/tagtinker_scene_preset_list.c",
|
|
"scenes/tagtinker_scene_synced_image_list.c",
|
|
"scenes/tagtinker_scene_settings.c",
|
|
"scenes/tagtinker_scene_size_picker.c",
|
|
"scenes/tagtinker_scene_target_actions.c",
|
|
"scenes/tagtinker_scene_target_menu.c",
|
|
"scenes/tagtinker_scene_text_input.c",
|
|
"scenes/tagtinker_scene_transmit.c",
|
|
"scenes/tagtinker_scene_text_box.c",
|
|
"scenes/tagtinker_scene_warning.c",
|
|
"views/numlock_input.c",
|
|
"nfc/tagtinker_nfc.c",
|
|
"scenes/tagtinker_scene_nfc_scan.c",
|
|
"scenes/tagtinker_scene_custom_size.c",
|
|
"wifi/tagtinker_wifi.c",
|
|
"wifi/tagtinker_wifi_bmp.c",
|
|
"scenes/tagtinker_scene_wifi_plugins.c",
|
|
"scenes/tagtinker_scene_wifi_setup.c",
|
|
"scenes/tagtinker_scene_wifi_run.c",
|
|
],
|
|
)
|