Shane Smiskol
2d6df2e125
raylib: minor tweaks ( #36507 )
...
* try
* generic
* check
* why was this here?!
2025-10-27 19:59:35 -07:00
Dean Lee
e03673485b
ui: unify cache key in AugmentedRoadView ( #36477 )
...
unified cache key
2025-10-27 13:31:55 -07:00
Dean Lee
2beb0ffad1
ui: move INF_POINT to constant ( #36470 )
...
move INF_POINT to constant
2025-10-24 22:00:45 -07:00
Dean Lee
ad903aeaa1
ui: simplify draw_border ( #36440 )
...
simplify draw_border
2025-10-24 19:28:58 -07:00
Shane Smiskol
75858673c4
less rounded border
2025-10-15 00:01:52 -07:00
Shane Smiskol
59bddfba8d
raylib: rounded onroad corners ( #36348 )
...
* rounded corners
* use scissor
* 0.1
* middle
* don't trust chatter
* round
* clean p
* cleanup
* rev
2025-10-14 21:24:36 -07:00
Shane Smiskol
8a1fcd8991
raylib: fix possible DM crash ( #36354 )
...
* fix
* bruh
* clean up
* here
* rm
2025-10-14 21:17:36 -07:00
Shane Smiskol
b3eba70b7a
raylib: flip! ( #36319 )
...
* flip!
* add ui
* ?
* qt is extra
* low node
* add uiDebug
* fix
* fix dat
* bump double increase for tol
* it's ~11ms but double for tol
* fix report
* Update selfdrive/test/test_onroad.py
2025-10-11 07:41:29 -07:00
Shane Smiskol
2feddf32b2
raylib: fix lost onroad tap events ( #36211 )
...
* debug
* see it's good to have abstraction
* clean up
* fine
* wtf do you mean mypy? how can you not coerce this?
2025-09-26 22:40:38 -07:00
Shane Smiskol
b622e3e0a7
raylib: generic click callback ( #36166 )
...
* not to be used outside
* same
* rm
* fix that
* another fix
* ehh probably better to still have
* optional
2025-09-17 16:33:48 -07:00
Dean Lee
ffb677b53d
ui: [fix] only show driver state icon when no alert is display ( #35508 )
...
only show driver state icon when no alert is display
2025-06-09 11:36:45 -07:00
Shane Smiskol
8220599dd8
raylib: onroad callback setter ( #35493 )
...
* onroad callback setter
* fix name
2025-06-06 23:18:06 -07:00
Shane Smiskol
2c59b5f8c6
raylib: common mouse press hook ( #35489 )
...
* something like this
* need these
* rest
* another pr
* what is this merge conflict
f
* fix mouse down
* rm that!
* fix that
* rearrange
* fix bug where mouse held down on widget, dragged off, then let go
* temp
* fix that
* missing init
2025-06-06 23:00:55 -07:00
Dean Lee
2031a33188
ui: add experimental mode toggle button with visual indicator ( #35446 )
...
* add experimental mode toggle button with visual indicator
* merge master
* implement a temporary state hold after mouse click"
* move to seperate class
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
2025-06-06 22:14:18 -07:00
Dean Lee
c3aa7cffed
ui: add auto camera switching based on speed in experimental mode ( #35437 )
...
* add auto camera switching based on speed in experimental mode
* fix conflit
2025-06-06 21:10:51 -07:00
Shane Smiskol
4bbbf51236
Fix raylib issue ( #35486 )
...
* ugh fix that
* our linting is trash
2025-06-06 20:20:58 -07:00
Shane Smiskol
3ce87d0ac9
raylib: base widget class ( #35484 )
...
* use some widgets
* consistent name draw -> render
* more
* rest
2025-06-06 19:32:03 -07:00
Shane Smiskol
29830440b4
format raylib ( #35483 )
...
* format raylib
* not really sure what this is
2025-06-06 15:43:47 -07:00
Dean Lee
462301d2e0
ui: implement smooth camera stream switching with seamless transitions ( #35449 )
...
implement smooth camera stream switching with seamless transitions
Co-authored-by: Shane Smiskol <shane@smiskol.com >
2025-06-04 14:20:52 -07:00
Dean Lee
0360926962
ui: fill the bg with disengaged color if no frame ( #35451 )
...
fill the bg with disengaged color if no frame
Co-authored-by: Shane Smiskol <shane@smiskol.com >
2025-06-04 14:08:29 -07:00
Dean Lee
2e41d959ac
ui: add main UI entry point ( #35422 )
...
* add new main UI entry point
* cleanup
* mv to selfdrive/ui
* fix imports
* handle_mouse_click
* use ui_state
* remove ui_state from gui_app
* setup callbacks
* handle clicks
* put layouts in a dict
* update state in render
* rebase master
* implement settings sidebar
* rename files
2025-06-03 23:12:36 -07:00
Shane Smiskol
928dc6259b
Revert "ui: fill the bg with disengaged color if not started" ( #35441 )
...
Revert "ui: fill the bg with disengaged color if not started (#35434 )"
This reverts commit 10dc40db04 .
2025-06-03 14:51:15 -07:00
Dean Lee
10dc40db04
ui: fill the bg with disengaged color if not started ( #35434 )
...
fill the bg with disengaged color if not started
2025-06-03 11:07:42 -07:00
Dean Lee
28bf362f69
ui: add safety check to prevent ui overlay access to invalid data ( #35432 )
...
check ui_state.started
2025-06-02 21:13:21 -07:00
Dean Lee
29afd667cc
move onroad/driving stuff from system/ui to selfdrive/ui ( #35425 )
...
* mv system/ui/onroad->selfdrive/ui/onroad
* mv ui_state
* fix import path
* fix imports
* mv cameraview
* remove from application
2025-06-02 13:27:17 -07:00