Jason Wen
7ba9876fa4
ui: recreate search dialog with the latest query ( #1542 )
2025-12-01 23:44:01 -05:00
Jason Wen
f312c011e8
ui: magnifying glass icon and new search bar style in TreeDialog ( #1541 )
...
* ui: magnifying glass icon and new search bar style in `TreeDialog`
* cleanup
2025-12-01 23:33:26 -05:00
Jason Wen
9ee965d2e0
ui: overridable title and subtitle for search query in TreeOptionDialog ( #1538 )
...
* ui: overridable title and subtitle for `TreeOptionDialog`
* lint
2025-12-01 21:35:28 -05:00
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
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
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 51fe03cd5121e6fdf14657b2c33852c34922b851.
* 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
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 ad44c32fc713aa6b8f6e6ab50adef7210e064a0e.
* 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
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
Shane Smiskol
3aaf249236
comma four ( #36639 )
...
* squash squash squash
* scroller tici
2025-11-18 22:27:45 -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
Shane Smiskol
d72a01d739
raylib: fix texture wrapping filtering artifacts ( #36618 )
...
fix wrapping artifacts
2025-11-13 14:58:16 -08:00
Dean Lee
6a257fe2de
ui: increase profile output from 25 to 100 functions ( #36607 )
...
increase profile output from 20 to 100 functions
2025-11-11 16:10:37 -08:00
Maxime Desroches
dad7bb53a2
ui: let ui_state set brightness
2025-11-10 22:24:35 -08:00
Dean Lee
ed42cfe699
ui: refactor GuiApplication.render into smaller helper methods ( #36569 )
...
refactor render into smaller helper method
2025-11-10 18:08:02 -08:00
Adeeb Shihadeh
e8a11591a8
ui: add render loop profiling ( #36558 )
2025-11-03 21:45:46 -08:00
Adeeb Shihadeh
cbc8f98682
ui: fix RuntimeError on exit on PC
2025-11-03 16:20:36 -08:00
Dean Lee
215ef16803
ui: fix LineSeparator horizontal centering issue ( #36533 )
...
fix LineSeparator horizontal centering issue
2025-11-03 11:22:42 -08:00
Dean Lee
350b846d3a
ui: fix vertical centering for multi-line labels ( #36538 )
...
fix vertical centering for multi-line labels
2025-11-03 11:21:41 -08:00
Dean Lee
9ce9920ff7
ui: fix label text eliding to account for icon width ( #36539 )
...
fix label text eliding to account for icon width
2025-11-03 11:21:20 -08:00
Dean Lee
1c0b087105
ui: fix keyboard.reset() to properly clear all interaction state ( #36541 )
...
fix keyboard.reset() to properly clear all interaction state
2025-11-03 11:20:24 -08:00
Dean Lee
137d4b89b4
ui: fix icon vertical positioning using width instead of height ( #36542 )
...
fix icon vertical positioning using width instead of height
2025-11-03 11:20:08 -08:00
Shane Smiskol
2cc4885a2e
raylib: fix window freezing ( #36517 )
...
fix window freezing
2025-11-03 11:17:38 -08:00
Dean Lee
9bf904e8a6
ui: scale mouse positions in touch history ( #36530 )
...
scale mouse position in touch history
2025-11-03 08:55:05 -08:00
Adeeb Shihadeh
5ea5f6f267
ui: timeout touch points ( #36550 )
2025-11-02 21:48:33 -08:00
Shane Smiskol
525b6e48e9
raylib: fix word wrap ( #36545 )
...
* fix word wrap underestimating width
* and that
2025-11-02 04:32:29 -08:00
Shane Smiskol
c7b115b68e
raylib: fix text measure with emojis ( #36546 )
...
fix
2025-11-02 04:30:08 -08:00
Adeeb Shihadeh
f57617c944
expose more state from gui_app
2025-10-30 16:03:28 -07:00
Adeeb Shihadeh
c4a0e57046
ui: add debug toggle ( #36529 )
...
* ui: add debug toggle
* initial state
2025-10-30 15:52:56 -07:00
Maxime Desroches
9f20eb8ce6
setup: handle incompatible versions ( #36520 )
...
check
2025-10-28 19:15:43 -07:00
David
47d0a95fd6
font: remove unifont anti-aliasing and reduce font size to 16 ( #36508 )
...
remove unifont anti-aliasing and reduce font size to 16
Co-authored-by: Shane Smiskol <shane@smiskol.com >
2025-10-28 14:49:33 -07:00