mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-23 05:24:46 -07:00
[FL-3925] JS views finished (#4155)
* js: value destructuring and tests * js: temporary fix to see size impact * js_val: reduce code size 1 * i may be stupid. * test: js_value args * Revert "js: temporary fix to see size impact" This reverts commit f51d726dbafc4300d3552020de1c3b8f9ecd3ac1. * pvs: silence warnings * style: formatting * pvs: silence warnings? * pvs: silence warnings?? * js_value: redesign declaration types for less code * js: temporary fix to see size impact * style: formatting * pvs: fix helpful warnings * js_value: reduce .rodata size * pvs: fix helpful warning * js_value: reduce code size 1 * fix build error * style: format * Revert "js: temporary fix to see size impact" This reverts commit d6a46f01794132e882e03fd273dec24386a4f8ba. * style: format * js: move to new arg parser * style: format * feat: all js views done * js, toolbox: generalize string owning * toolbox: silence pvs warning --------- Co-authored-by: hedger <hedger@nanode.su> Co-authored-by: hedger <hedger@users.noreply.github.com>
This commit is contained in:
@@ -78,6 +78,54 @@ App(
|
||||
sources=["modules/js_gui/text_input.c"],
|
||||
)
|
||||
|
||||
App(
|
||||
appid="js_gui__number_input",
|
||||
apptype=FlipperAppType.PLUGIN,
|
||||
entry_point="js_view_number_input_ep",
|
||||
requires=["js_app"],
|
||||
sources=["modules/js_gui/number_input.c"],
|
||||
)
|
||||
|
||||
App(
|
||||
appid="js_gui__button_panel",
|
||||
apptype=FlipperAppType.PLUGIN,
|
||||
entry_point="js_view_button_panel_ep",
|
||||
requires=["js_app"],
|
||||
sources=["modules/js_gui/button_panel.c"],
|
||||
)
|
||||
|
||||
App(
|
||||
appid="js_gui__popup",
|
||||
apptype=FlipperAppType.PLUGIN,
|
||||
entry_point="js_view_popup_ep",
|
||||
requires=["js_app"],
|
||||
sources=["modules/js_gui/popup.c"],
|
||||
)
|
||||
|
||||
App(
|
||||
appid="js_gui__button_menu",
|
||||
apptype=FlipperAppType.PLUGIN,
|
||||
entry_point="js_view_button_menu_ep",
|
||||
requires=["js_app"],
|
||||
sources=["modules/js_gui/button_menu.c"],
|
||||
)
|
||||
|
||||
App(
|
||||
appid="js_gui__menu",
|
||||
apptype=FlipperAppType.PLUGIN,
|
||||
entry_point="js_view_menu_ep",
|
||||
requires=["js_app"],
|
||||
sources=["modules/js_gui/menu.c"],
|
||||
)
|
||||
|
||||
App(
|
||||
appid="js_gui__vi_list",
|
||||
apptype=FlipperAppType.PLUGIN,
|
||||
entry_point="js_view_vi_list_ep",
|
||||
requires=["js_app"],
|
||||
sources=["modules/js_gui/vi_list.c"],
|
||||
)
|
||||
|
||||
App(
|
||||
appid="js_gui__byte_input",
|
||||
apptype=FlipperAppType.PLUGIN,
|
||||
|
||||
Reference in New Issue
Block a user