James Vecellio-Grant
859745ea86
ui: tree dialog improvements ( #1537 )
...
* ui: highlight on pressed, and less indent
* inherit MultiOptionDialog main buttons
* align top level folders to the edge properly
* lint
* handle folder presses too
---------
Co-authored-by: Jason Wen <haibin.wen3@gmail.com >
2025-12-01 17:31:37 -05:00
James Vecellio-Grant
79fa8803b6
ui: add padding above tree dialog buttons ( #1533 )
...
add padding
2025-12-01 09:22:49 -05:00
Adeeb Shihadeh
436e3dec3e
manager: write power monitor flag atomically ( #36734 )
2025-11-30 15:14:31 -08:00
Adeeb Shihadeh
7521fd11e2
common: rename atomic_write_in_dir -> atomic_write ( #36733 )
...
rename
2025-11-30 15:08:32 -08:00
Trey Moen
6d04251517
esim: remove bootstrap and delete ( #36732 )
...
init
2025-11-30 14:43:29 -08:00
David
cd7e362333
ui: Add RECORD=1 for direct frame recording ( #36729 )
...
* ui: add real-time video recording functionality with ffmpeg support
* fix: record at consistent frame rate
* add spaces
* fix type
* refactor: RECORD_FRAMES variable and related logic
* fix: remove unnecessary texture check
* support missing output extension
* add wait for close with timeout
* fix: ensure RECORD_OUTPUT has the correct file extension
* flush on close and terminate if times out closing
* ffmpeg hide banner
* reduce ffmpeg spam
* refactor: streamline ffmpeg arguments for video encoding
* refactor: move size arg to variable and add yub420p conversion for native support
* use render_width and render_height for size
* fix: ensure even dimensions for video encoding when recording
* rm itertools
* simple
* cleanup
* docs
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2025-11-30 13:34:37 -08:00
Shane Smiskol
85a162dd43
more scons nodes
2025-11-30 02:48:05 -08:00
James Vecellio-Grant
c68c914444
ui: tree dialog widget ( #1493 )
...
* param to control stock vs sp ui
* init styles
* SP Toggles
* Lint
* optimizations
* sp raylib preview
* fix callback
* fix ui preview
* dialog txt
* compare vs what used to be done before InputDialog
* merge origin raylib toggles
* tree dialog
* less trees for the planet
* the heck
* save the trees we got icons
* Update process.py
* Remove 'sunnypilot_ui'
Removed 'sunnypilot_ui' parameter from params_keys.h
* Update raylib_screenshots.py
Removed the parameter setting for 'sunnypilot_ui' in the test.
* ui: fuzzy search helper
* better tree. fully dynamic and stuff
* rm
* more indent
* only show if fav_param is used in the call
* conditional for mypy
* sunny's new x,y makes this even easier!
* loathing loathing, unadulterated loathing, i loathe it all
* more changes!
* more changes!
* Update BUTTON_DISABLED_BG_COLOR to a lighter shade
* Update tree_dialog.py
* final
---------
Co-authored-by: nayan <nayan8teen@gmail.com >
Co-authored-by: Jason Wen <haibin.wen3@gmail.com >
2025-11-30 01:21:15 -05:00
Shane Smiskol
1b20567c98
Mici keyboard: alpha filter for key bg ( #36720 )
...
* filter
* tune
* fix
2025-11-29 02:30:32 -08:00
Dean Lee
6c39f6bb53
ui: Fix scroll logic for non-scrollable content (bounds_size > content_size) to prevent jitter ( #36693 )
...
* Fix scroll logic for non-scrollable content to prevent jitter
* one thing
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
2025-11-29 02:21:15 -08:00
Shane Smiskol
22003fd10a
rl.BLANK
2025-11-29 02:15:38 -08:00
Shane Smiskol
088fc1cab1
Unified label: add scrolling ( #36717 )
...
* almost
* works!
* clean up
* fix
* trash
* Revert "trash"
This reverts commit 951d63382810d444fe08103f406a8c490cfcbe25.
* fix some bugs and use
* clean up
* clean up
* fix clipping
* clean up
* fix
2025-11-29 02:15:10 -08:00
Shane Smiskol
d6de3572ca
UnifiedLabel: split render ( #36719 )
...
* split
* rect
2025-11-29 01:26:17 -08:00
James Vecellio-Grant
ebca4fc901
ui: fuzzy search helper ( #1507 )
...
* ui: fuzzy search helper
* final
---------
Co-authored-by: Jason Wen <haibin.wen3@gmail.com >
2025-11-29 04:19:48 -05:00
James Vecellio-Grant
3e29a0ccfe
ui: ProgressBarAction ( #1492 )
...
* raylib: progress bar
* freaking test dir
* easier to see
* smoother updating
* final
---------
Co-authored-by: Jason Wen <haibin.wen3@gmail.com >
2025-11-29 03:30:18 -05:00
James Vecellio-Grant
bee820f8ed
ui: InputDialogSP ( #1484 )
...
* dialog txt
* compare vs what used to be done before InputDialog
* rm
* final
---------
Co-authored-by: Jason Wen <haibin.wen3@gmail.com >
2025-11-29 03:23:03 -05:00
Nayan
99ed90d459
ui: Option Control ( #1479 )
...
* param to control stock vs sp ui
* init styles
* SP Toggles
* Lint
* optimizations
* Panels. With Icons. And Scroller.
* patience, grasshopper
* more patience, grasshopper
* sp raylib preview
* fix callback
* fix ui preview
* add ui previews
* Option Control
* Need this
* better padding
* this
* listitem -> listitemsp
* add show_description method
* remove padding from line separator.
like, WHY? 😩 😩
* simplify
* I. SAID. SIMPLIFY.
* AAARGGGGGG.....
* option control value fix
* forgot about the setter
* scroller -> scroller_tici
* scroller -> scroller_tici
* ui: `GuiApplicationExt`
* add to readme
* use gui_app.sunnypilot_ui()
* use gui_app.sunnypilot_ui()
* ugh. no
* new style. old style.
* lint
* rename
* old but gold <3
---------
Co-authored-by: discountchubbs <alexgrant990@gmail.com >
Co-authored-by: Jason Wen <haibin.wen3@gmail.com >
Co-authored-by: James Vecellio-Grant <159560811+Discountchubbs@users.noreply.github.com >
2025-11-29 03:10:59 -05:00
Nayan
4914445415
ui: sunnypilot MultiButtonControl ( #1478 )
...
* commaai/openpilot:d05cb31e2e916fba41ba8167030945f427fd811b
* bump opendbc
* bump opendbc
* bump opendbc
* bump opendbc
* bump opendbc
* sunnypilot: remove Qt
* cabana: revert to stock Qt
* commaai/openpilot:5198b1b079c37742c1050f02ce0aa6dd42b038b9
* commaai/openpilot:954b567b9ba0f3d1ae57d6aa7797fa86dd92ec6e
* commaai/openpilot:7534b2a160faa683412c04c1254440e338931c5e
* sum more
* bump opendbc
* not yet
* should've been symlink'ed
* raylib says wut
* quiet mode back
* more fixes
* no more
* too extra red diff on the side
* need to bring this back
* too extra
* let's update docs here
* Revert "let's update docs here"
This reverts commit 51fe03cd51 .
* param to control stock vs sp ui
* init styles
* SP Toggles
* Lint
* optimizations
* multi-button
* Lint
* param to control stock vs sp ui
* init styles
* SP Toggles
* Lint
* optimizations
* Panels. With Icons. And Scroller.
* patience, grasshopper
* more patience, grasshopper
* sp raylib preview
* fix callback
* fix ui preview
* add ui previews
* better padding
* this
* support for next line multi-button
* uhh
* disabled colors
* listitem -> listitemsp
* listitem -> listitemsp
* add show_description method
* remove padding from line separator.
like, WHY? 😩 😩
* scroller -> scroller_tici
* scroller -> scroller_tici
* ui: `GuiApplicationExt`
* add to readme
* use gui_app.sunnypilot_ui()
* use gui_app.sunnypilot_ui()
* use in toggles panel
* ugh. no
* better & animated
* lint
* cleanup
* lint. LINT
* slight
* default no inline ty <3
* style change
* move stuff around
---------
Co-authored-by: Jason Wen <haibin.wen3@gmail.com >
2025-11-28 01:02:31 -05:00
Shane Smiskol
3959200a5b
Scroll panel 2: use float for offset ( #36705 )
...
* use float internally
* use it everywhere -- this fixes all the problemS?!
* round it everywhere
* this looks so much better than before
* rm
2025-11-27 03:25:30 -08:00
Dean Lee
f8d0f22344
ui: ensure auto-scroll stops correctly near target ( #36686 )
...
ensure auto-scroll stops correctly near target
2025-11-27 03:22:15 -08:00
Dean Lee
630e14fd7f
ui: avoid unnecessary text cache invalidation in UnifiedLabel ( #36676 )
...
avoid unnecessary text cache invalidation in UnifiedLabel
2025-11-27 02:28:13 -08:00
Dean Lee
4ef82c4119
ui: optimize matrix operations in scroller rendering ( #36668 )
...
optimize matrix operations
2025-11-27 02:20:49 -08:00
Dean Lee
4bd6fb0995
ui: fix unconditional rl.end_scissor_mode() call in MiciLabel ( #36660 )
...
fix incorrect end_scissor_mode usage
2025-11-27 02:17:16 -08:00
David
ae6ada4162
lint: Add PLE rule to ruff ( #36595 )
...
* update linting rules to include new PLE (pylint error) rule
* fix lint error
2025-11-27 01:52:25 -08:00
Dean Lee
b8d55987c2
ui: extract and optimize mouse event processing ( #36564 )
...
* extract and optimize mouse event processing
* rm slot
* merge mici mastere
* add mouse
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
2025-11-27 01:50:36 -08:00
Shane Smiskol
946fd3f387
NavWidget: draw black above top of widget when dismissing ( #36702 )
...
draw rec
2025-11-27 01:00:33 -08:00
Jason Wen
c229eb4f38
ui: reimplement sunnypilot branding with Raylib ( #1517 )
...
* ui: sunnypilot branding
* fr??
2025-11-25 18:37:09 -05:00
Jason Wen
da35e60101
ui: display mouse coordinates with debug mode ( #1512 )
...
* ui: add debug to display mouse coordinates
* cleanup
* use mouse x and y directly
* even less
* try this out
* ui: increase `scroll` delay in UI Preview
* sleep for clicks too
* don't lol
* try 1 secs
* try this out
* wait a sec before doing a screenshot
* nah
2025-11-25 18:10:40 -05:00
Nayan
844f4cbc74
ui: sunnypilot panels ( #1477 )
...
* param to control stock vs sp ui
* init styles
* SP Toggles
* Lint
* optimizations
* Panels. With Icons. And Scroller.
* patience, grasshopper
* more patience, grasshopper
* sp raylib preview
* fix callback
* fix ui preview
* add ui previews
* better padding
* this
* listitem -> listitemsp
* add show_description method
* remove padding from line separator.
like, WHY? 😩 😩
* scroller -> scroller_tici
* scroller -> scroller_tici
* ui: `GuiApplicationExt`
* add to readme
* use gui_app.sunnypilot_ui()
* use gui_app.sunnypilot_ui()
* lint
* no fancy toggles :(
* match them
* mici scroller - no touchy
* no
* more
* size adjustments
* fix scroller. yay
* more
* loopy loop
* update brand name
* ui preview fixes
* Revert "update brand name"
This reverts commit ad44c32fc7 .
* fix sidebar scroller reset
* fix developer click
* more
* more
* try this out
* one more time
* bruh
---------
Co-authored-by: Jason Wen <haibin.wen3@gmail.com >
2025-11-24 14:43:33 -05:00
Nayan
9edc36ca66
ui: fix scroll panel mouse wheel behavior ( #1506 )
...
fix scroller. yay
Co-authored-by: Jason Wen <haibin.wen3@gmail.com >
2025-11-24 11:18:12 -05:00
Nayan
457b6634fd
ui: sunnypilot toggle style ( #1475 )
...
* param to control stock vs sp ui
* init styles
* SP Toggles
* Lint
* optimizations
* sp raylib preview
* fix callback
* fix ui preview
* better padding
* this
* listitem -> listitemsp
* add show_description method
* remove padding from line separator.
like, WHY? 😩 😩
* ui: `GuiApplicationExt`
* add to readme
* use gui_app.sunnypilot_ui()
* lint
* no fancy toggles :(
* mici scroller - no touchy
---------
Co-authored-by: Jason Wen <haibin.wen3@gmail.com >
2025-11-21 23:37:03 -05:00
Jason Wen
d92d2cb683
ui: GuiApplicationExt ( #1501 )
...
* ui: `GuiApplicationExt`
* add to readme
2025-11-21 22:28:51 -05:00
Adeeb Shihadeh
ebc11fdbc8
make "update available" alert clickable ( #36670 )
...
* click to update
* that's it
* lil more
2025-11-21 13:44:22 -08:00
Nayan
8184cd8a6a
ui: optimize gui_app & spinner ( #1474 )
...
remove gui_app_sp & use upstream gui_app
Co-authored-by: Jason Wen <haibin.wen3@gmail.com >
2025-11-21 14:59:54 -05:00
discountchubbs
ceed203de7
Merge remote-tracking branch 'openpilot/master' into nov-19-sync
2025-11-21 09:42:54 -08:00
Dean Lee
61fffb9578
ui: avoid rendering off-viewport items in Scroller ( #36659 )
...
avoid rendering off-viewport items in Scroller
2025-11-20 14:41:08 -08:00
Maxime Desroches
a46af06baa
document MAGIC_DEBUG=1
2025-11-20 14:28:48 -08:00
Adeeb Shihadeh
f0d8ebd851
mici training guide tuneups ( #36652 )
...
* bump up size
* lil more
* rm param
* 5m timeout and 100% brightness
* set parasm:
2025-11-19 15:03:28 -08:00
Adeeb Shihadeh
c8effae4eb
ui/wifi: fix no attribute error ( #36653 )
2025-11-19 14:18:48 -08:00
David
eeddfc058a
ui(mici): remove duplicate draw_texture_pro call in mici_keyboard ( #36647 )
...
Remove duplicate draw_texture_pro call in IconKey class
2025-11-19 11:08:39 -08:00
Maxime Desroches
b89c717643
AGNOS 15.1 ( #36638 )
...
* stage
* staging
* prod
2025-11-19 00:23:42 -08:00
Shane Smiskol
3aaf249236
comma four ( #36639 )
...
* squash squash squash
* scroller tici
2025-11-18 22:27:45 -08:00
Maxime Desroches
b73be441b3
bump updater
2025-11-18 21:56:17 -08:00
Adeeb Shihadeh
4ef0d3ee99
setup sound for DM test mode
2025-11-18 10:11:06 -08:00
Adeeb Shihadeh
67cbeebc7b
sensord: magnetometer is only for tizi
2025-11-18 10:10:32 -08:00
Adeeb Shihadeh
16abf93be8
reduce ruff noise with raylib
2025-11-17 22:40:33 -08:00
Adeeb Shihadeh
b8a845fe93
ui: add GRID debug helper ( #36630 )
2025-11-17 20:46:34 -08:00
Jason Wen
08e85808c5
Merge branch 'upstream/openpilot/master' into sync-20251114
...
# Conflicts:
# .github/workflows/ci_weekly_run.yaml
# .github/workflows/raylib_ui_preview.yaml
# .github/workflows/tests.yaml
# .gitmodules
# README.md
# SConstruct
# common/api.py
# common/params_keys.h
# docs/CARS.md
# msgq_repo
# opendbc_repo
# panda
# selfdrive/car/tests/test_car_interfaces.py
# selfdrive/controls/controlsd.py
# selfdrive/controls/lib/latcontrol.py
# selfdrive/controls/lib/latcontrol_angle.py
# selfdrive/controls/lib/latcontrol_pid.py
# selfdrive/controls/lib/latcontrol_torque.py
# selfdrive/controls/tests/test_latcontrol.py
# selfdrive/monitoring/helpers.py
# selfdrive/ui/SConscript
# selfdrive/ui/main.cc
# selfdrive/ui/qt/body.h
# selfdrive/ui/qt/home.cc
# selfdrive/ui/qt/home.h
# selfdrive/ui/qt/network/networking.cc
# selfdrive/ui/qt/network/networking.h
# selfdrive/ui/qt/network/wifi_manager.cc
# selfdrive/ui/qt/offroad/developer_panel.cc
# selfdrive/ui/qt/offroad/developer_panel.h
# selfdrive/ui/qt/offroad/experimental_mode.cc
# selfdrive/ui/qt/offroad/firehose.cc
# selfdrive/ui/qt/offroad/firehose.h
# selfdrive/ui/qt/offroad/onboarding.cc
# selfdrive/ui/qt/offroad/onboarding.h
# selfdrive/ui/qt/offroad/settings.cc
# selfdrive/ui/qt/offroad/settings.h
# selfdrive/ui/qt/offroad/software_settings.cc
# selfdrive/ui/qt/onroad/alerts.cc
# selfdrive/ui/qt/onroad/annotated_camera.h
# selfdrive/ui/qt/onroad/buttons.cc
# selfdrive/ui/qt/onroad/buttons.h
# selfdrive/ui/qt/onroad/driver_monitoring.cc
# selfdrive/ui/qt/onroad/hud.cc
# selfdrive/ui/qt/onroad/hud.h
# selfdrive/ui/qt/onroad/model.cc
# selfdrive/ui/qt/onroad/model.h
# selfdrive/ui/qt/onroad/onroad_home.cc
# selfdrive/ui/qt/onroad/onroad_home.h
# selfdrive/ui/qt/request_repeater.h
# selfdrive/ui/qt/sidebar.cc
# selfdrive/ui/qt/sidebar.h
# selfdrive/ui/qt/util.cc
# selfdrive/ui/qt/widgets/cameraview.h
# selfdrive/ui/qt/widgets/controls.cc
# selfdrive/ui/qt/widgets/controls.h
# selfdrive/ui/qt/widgets/input.cc
# selfdrive/ui/qt/widgets/input.h
# selfdrive/ui/qt/widgets/prime.cc
# selfdrive/ui/qt/widgets/prime.h
# selfdrive/ui/qt/widgets/ssh_keys.h
# selfdrive/ui/qt/widgets/toggle.h
# selfdrive/ui/qt/widgets/wifi.cc
# selfdrive/ui/qt/widgets/wifi.h
# selfdrive/ui/qt/window.cc
# selfdrive/ui/qt/window.h
# selfdrive/ui/tests/cycle_offroad_alerts.py
# selfdrive/ui/tests/test_ui/run.py
# selfdrive/ui/translations/main_ar.ts
# selfdrive/ui/translations/main_de.ts
# selfdrive/ui/translations/main_es.ts
# selfdrive/ui/translations/main_fr.ts
# selfdrive/ui/translations/main_ja.ts
# selfdrive/ui/translations/main_ko.ts
# selfdrive/ui/translations/main_nl.ts
# selfdrive/ui/translations/main_pl.ts
# selfdrive/ui/translations/main_pt-BR.ts
# selfdrive/ui/translations/main_th.ts
# selfdrive/ui/translations/main_tr.ts
# selfdrive/ui/translations/main_zh-CHS.ts
# selfdrive/ui/translations/main_zh-CHT.ts
# selfdrive/ui/ui.cc
# selfdrive/ui/ui.h
# system/manager/build.py
# system/version.py
2025-11-16 02:50:28 -05:00
Adeeb Shihadeh
d0c6f845da
ui: add burn in debug mode ( #36625 )
...
* ui: add burn in debug mode
* scary
* lil less
* lil cleanup
* revert that
* cleanup
2025-11-14 17:33:14 -08:00
Shane Smiskol
fc253fe1ee
Don't resize images that are the same size
2025-11-13 14:59:34 -08:00