Commit Graph

81 Commits

Author SHA1 Message Date
Alexander Bays
1e9db6bfaf Main Menu: Fixes scrollable text in CoverFlow (#357)
- `elements_scrollable_text_line_centered` was using 0 on scroll, so text wider than the screen would not scroll. Uses `menu_scroll_counter` to fix it.
- Also makes the width 124 to give a 1px margin so the text isn't touching the outside lines
2025-01-21 02:52:50 +00:00
Willy-JL
574933a500 Small cleanup of #314 --nobuild 2025-01-17 00:06:48 +00:00
Cody Tolene
530f3d4f22 Main Menu: Add coverflow menu style (#314)
* Add coverflow menu style.

* Update with new canvas extended function `canvas_draw_icon_animation_ex`
2025-01-16 23:50:33 +00:00
Alexander Bays
7d4ea20701 Main Menu: Fix MNTM style battery percent off by 1 (#339)
* Battery: MNTM menu style battery off by 1

- Uses the same `furi_hal_power_get_pct` function used on the desktop to fix the apparent rounded error that's happening and show the same battery %.

* Update changelog

---------

Co-authored-by: Willy-JL <49810075+Willy-JL@users.noreply.github.com>
2025-01-13 02:39:46 +00:00
Willy-JL
02f7207d28 Merge remote-tracking branch 'ofw/dev' into mntm-dev 2024-07-15 22:18:35 +01:00
hedger
ffa3996a5e [FL-3867] Code formatting update (#3765)
* clang-format: AllowShortEnumsOnASingleLine: false
* clang-format: InsertNewlineAtEOF: true
* clang-format: Standard:        c++20
* clang-format: AlignConsecutiveBitFields
* clang-format: AlignConsecutiveMacros
* clang-format: RemoveParentheses: ReturnStatement
* clang-format: RemoveSemicolon: true
* Restored RemoveParentheses: Leave, retained general changes for it
* formatting: fixed logging TAGs
* Formatting update for dev

Co-authored-by: あく <alleteam@gmail.com>
2024-07-15 13:38:49 +09:00
Willy-JL
ebca3024d9 GUI: Menu fix set_selected_item(), add get_selected_item() 2024-07-12 23:35:27 +01:00
Willy-JL
0f4f844ff1 Format for toolchain 37, update changelog 2024-07-05 20:07:11 +02:00
Willy-JL
4830ef94c6 Merge remote-tracking branch 'ofw/dev' into mntm-dev 2024-07-05 20:01:29 +02:00
hedger
7879876ba1 [FL-3863] toolchain: v37 (#3746)
* toolchain: v36
* toolchain: fixed cert path; lib: nanopb: updated to 0.4.8
* fbtenv: rolled back cert path for 3.11
* clang-format: updated config for v18
* linter fixes
* clang-format: properly regenerated config (`clang-format -style=file:.clang-format -dump-config > .clang-format-new; mv .clang-format-new .clang-format`)
* clang-format: AllowShortLoopsOnASingleLine: false
* toolchain: v37
* fbt: compilation_db.py: fixes for Windows
2024-07-05 18:27:21 +01:00
Willy-JL
06d8babfea Fix build 2024-07-02 17:11:44 +02:00
Matthew
e9dc55c70b Rework MNTM menu, fix Long Dolphin Name, add Battery Charge %, add Ext 5v Indicator (#105) 2024-04-22 02:51:11 +01:00
Willy-JL
e3cc377b56 Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into mntm-dev 2024-04-19 22:40:41 +01:00
WillyJL
9bef2aaec6 GUI: Fix array out of bounds in menu exit (#3604)
* GUI: Fix array out of bounds in menu exit
* Gui: fix incorrect empty menu handling
* Gui: add missing item check in menu ok handling
* Gui: remove dead code from menu module

Co-authored-by: あく <alleteam@gmail.com>
2024-04-19 23:10:48 +09:00
Willy-JL
a2fc553bef Temp fix menu edge case crash in esubghz chat 2024-04-19 08:28:40 +01:00
Willy-JL
42af1a788e Initial fixes for new canvas + furi checks 2024-03-20 05:51:39 +00:00
Willy-JL
06aea09169 Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into mntm-dev 2024-03-20 04:18:26 +00:00
あく
acc39a4bc0 Api Symbols: replace asserts with checks (#3507)
* Api Symbols: replace asserts with checks
* Api Symbols: replace asserts with checks part 2
* Update no args function signatures with void, to help compiler to track incorrect usage
* More unavoidable void
* Update PVS config and code to make it happy
* Format sources
* nfc: fix checks
* dead code cleanup & include fixes

Co-authored-by: gornekich <n.gorbadey@gmail.com>
Co-authored-by: hedger <hedger@users.noreply.github.com>
Co-authored-by: hedger <hedger@nanode.su>
2024-03-19 23:43:52 +09:00
Willy-JL
4c80a50cbe Apps: Use OFW main app names, shorten in display 2024-03-09 08:36:54 +00:00
Willy-JL
bce77a8633 Main Menu: Cleanup code, fix scrolling text 2024-03-09 08:31:19 +00:00
MatthewKuKanich
0b81471740 Replace Terminal menu with MNTM menu 2024-03-09 00:23:17 -05:00
Willy-JL
b7220237de Small bump in the road
- Update assets and references for new project
- Revert DFU image and CLI motd
- Remove NSFW text and flag
- Remove credits animation (will be replaced with a setting menu soon)
- New EvilPortal example HTML and better error message
- Initial standalone naming for asset packs and mainmenu apps
- File migration fixes/improvements
- Remove hotfix workflow
2024-03-01 06:11:16 +00:00
Willy-JL
90111a2aa7 Remove Eurocorp font/mainmenu, -4k DFU 2024-02-12 22:27:14 +00:00
Willy-JL
0a55300926 Fix xtreme lib import 2023-12-02 06:32:04 +00:00
Willy-JL
28bcc09d9b This can just be made global at this point lol 2023-10-26 04:03:42 +01:00
Willy-JL
0ffc25bf38 Simplify terminal menu code 2023-10-12 15:02:06 +01:00
Willy-JL
dd60575572 Fix terminal menu inputs 2023-10-12 14:52:24 +01:00
MatthewKuKanich
4eaf94b93c Added new Terminal menu 2023-10-11 17:17:23 -04:00
Willy-JL
7f022f6b03 C64 text overflow fix 2023-09-10 01:22:14 +02:00
Willy-JL
a7a5503e27 Compact++ 2023-09-10 00:59:13 +02:00
Willy-JL
19a8eeee69 Fix + optimize compact and c64 menus --nobuild 2023-09-09 23:27:47 +02:00
MatthewKuKanich
58d782f7f2 commit new compact menu style 2023-09-08 23:27:10 -04:00
MatthewKuKanich
09986b33a7 commit new compact menu style 2023-09-08 23:23:02 -04:00
Willy-JL
d7aa3ea60f Make all service memory structures OFW comaptible 2023-08-29 01:57:06 +02:00
Struan Clark
23ceb276d6 fix: removing looped font calls 2023-08-16 19:24:53 -06:00
Struan Clark
fa78a7fcaa feat: allow checking for new fonts 2023-08-15 19:37:31 -06:00
Struan Clark
9bae4dc291 feat: Eurocorp menu theme 2023-08-14 21:13:54 -06:00
Sil
f23770d867 Remove unused name 2023-08-09 23:31:27 +02:00
Sil
e2694a5c82 Merge branch 'dev' of https://github.com/Flipper-XFW/Xtreme-Firmware into dev 2023-08-09 23:23:23 +02:00
Sil
01dcf16c05 Add Commodore 64 style menu 2023-08-09 23:22:15 +02:00
Willy-JL
bfb9296d07 Short name for all menu styles 2023-08-09 21:09:38 +02:00
Willy-JL
edd708ca67 Fix lefty inputs with vertical menu 2023-08-03 03:21:24 +02:00
Willy-JL
d87a6cffd1 c o n s u m e d 2023-08-03 03:21:05 +02:00
Willy-JL
cef4a004f7 Add PS4 menu style 2023-07-30 01:29:14 +02:00
Willy-JL
a562b09aff Deduplicate more main menu input code 2023-07-29 23:27:36 +02:00
Willy-JL
1e64419d9e Revert "This isnt used anywhere"
This reverts commit a65c7d1e40.
2023-07-29 23:04:21 +02:00
Willy-JL
4560bead7a Format 2023-07-29 02:35:05 +02:00
Willy-JL
c532e17649 Fix vertical offset with other menu styles 2023-07-28 22:52:21 +02:00
Willy-JL
ae86e6b637 Add vertical menu style 2023-07-28 20:10:24 +02:00
Willy-JL
a65c7d1e40 This isnt used anywhere 2023-07-28 20:08:54 +02:00