Dean Lee
4f512a5c6d
system/ui: fix navigation key repeat in input box ( #35302 )
...
fix navigation key repeat in input fields
5 days ago
Cameron Clough
2722e12e62
fix(system/ui): typo
5 days ago
Cameron Clough
5667583198
system/ui: define character set for loading fonts ( #35298 )
...
* system/ui: define font character set
* remove debug print statement
* shorter
5 days ago
Dean Lee
f00bead198
system/ui: improve button click logic for proper press-release interaction ( #35289 )
...
improve button click logic for proper press,release interaction
5 days ago
Cameron Clough
d6e9df98e3
system/ui: WPA3 is unsupported ( #35286 )
6 days ago
Cameron Clough
6eecb4f986
system/ui: network widget improvements ( #35284 )
...
* larger font size for confirmation dialog
* try this
* forget btn color
* text color
* font size
* caps
* Revert "caps"
This reverts commit a3e6cfbf05
.
* too much
* fixme
* do that?
* keyboard: reset state on clear
6 days ago
Dean Lee
38c1bd096b
system/ui: Improve UI rendering smoothness for scaled display ( #35280 )
...
improve smoothness
6 days ago
Cameron Clough
15c7d556f6
Reapply "system/ui: add SCALE env var ( #35272 )" ( #35273 )
...
* Reapply "system/ui: add SCALE env var (#35272 )"
This reverts commit e2569a8b32
.
* set mouse scale factor
7 days ago
Cameron Clough
e2569a8b32
Revert "system/ui: add SCALE env var ( #35272 )"
...
This reverts commit ed0f812995
.
7 days ago
Adeeb Shihadeh
ed0f812995
system/ui: add SCALE env var ( #35272 )
...
* ui: add SCALE env var
* linting
* cleaner
---------
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
7 days ago
Cameron Clough
da670108e7
system/ui: all font weights ( #35255 )
1 week ago
Cameron Clough
8097a92515
zipapp pack ( #35253 )
...
Used to ship python UI in agnos without an openpilot clone
* add a main method to target
* pack script
* validate inputs
* refactors
* copy into temp, dont keep this
* cleanup
* help messages
* rename to pack.py
* pack.py
* updates for device
* moar
* don't use cereal
* just log normally
* use importlib.resources
* revert
* Revert "don't use cereal"
This reverts commit 7208524d42
.
* fix cereal?
* cleanup
* Revert "cleanup"
This reverts commit 921edfe502
.
* cython hotfix
* Reapply "cleanup"
This reverts commit 9b54552f78
.
* more cleanup
* any script?
* slightly clearer
* rm print
* nothing python should use SVGs
---------
Co-authored-by: Trey Moen <trey@moen.ai>
1 week ago
Dean Lee
71e3fd7183
system/ui: use icon for special characters ( #35248 )
...
* use icon for special characters
* add icon for SHIFT_DOWN_KEY
1 week ago
Dean Lee
dcfbb99b13
system/ui: add password visibility toggle with eye icon to keyboard ( #35246 )
...
* add password visibility toggle with eye icon to keyboard
* added show_password_toggle
1 week ago
Cameron Clough
512d83cc36
ui(raylib): setup.py ( #35140 )
...
* setup.py
* better font
* use gui_button
* btn
* fix button and triangle
* low voltage text color
* fix network page
* HARDWARE.get_os_version()
* typing
* white title
* update default text color
* use default font color
* fix software screen
* fix software screen
* radio font size
* line length
* fix regex
* draw svgs
* comment is out of date
* add cairosvg
* use cairosvg
* remove unused import
* support other image types
* revert origin
* fix setup warning icon
* fix
* remove cairosvg
* use pngs
* wrap
* fix disabled style
* TODO
* revert uv.lock
* use new file paths (not rasterized yet)
* oops
* fixes
* params not used
* network check thread
* oops
* fix custom URL and download failed screens
* clear keyboard
* rm
* fixes
* show full error message
* check network type
1 week ago
Cameron Clough
83679bd856
selfdrive/assets: rasterize SVGs ( #35243 )
...
* selfdrive/assets: rasterize SVGs
* do entire assets dir
* fixed size - 4096px is a lot
* optimise them too
* use inkscape
* regenerate
* abandon runtime svg
1 week ago
Cameron Clough
6c03e9472d
system/ui: disabled button styles ( #35236 )
1 week ago
Dean Lee
84e9b75983
system/ui: fix WiFi manager shutdown task errors ( #35204 )
...
fix WiFi manager shutdown task errors
2 weeks ago
Dean Lee
f1c0109c89
system/ui: Fix crash when exiting the application with CTRL+C (KeyboardInterrupt). ( #35221 )
...
handle KeyboardInterrupt
2 weeks ago
Dean Lee
b1bdab0c90
system/ui: improve texture caching ( #35222 )
...
improve texture caching
2 weeks ago
Dean Lee
c57f576436
system/ui: fix FPS drop issues ( #35220 )
...
set VSYNC flag only when the env is set
2 weeks ago
Dean Lee
896dabb190
system/ui: add right-side text eliding to gui_label ( #35201 )
...
add optional right-side text eliding to gui_label
2 weeks ago
Dean Lee
02125f6862
system/ui: fix cursor position in inputBox mouse click handler ( #35189 )
...
fix cursor position in inputBox mouse click handler
2 weeks ago
Cameron Clough
43054a56c2
system/ui: fix tethering ssid ( #35188 )
...
system/ui: fix tethering ssid when no params
2 weeks ago
Dean Lee
2b32325be1
system/ui: Full-Featured InputBox Component ( #35178 )
...
custom input box component
2 weeks ago
Adeeb Shihadeh
35dbdf9124
raylib: fwd everything to cloudlog
2 weeks ago
Dean Lee
bfadab078e
system/ui: set log level to WARNING to reduce noise ( #35180 )
...
* set log level to WARNING to reduce noise
* custom callback handling for raylib logs
2 weeks ago
Dean Lee
bbeb37d726
system/ui: add MultiOptionDialog for selection from scrollable lists ( #35176 )
...
* add MultiOptionDialog for selection from scrollable lists
* mv
---------
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2 weeks ago
Dean Lee
f1760e63d3
system/ui: performance optimizations for WiFi Manager with cached network data ( #35170 )
...
Performance optimizations for WiFi Manager with cached network data
2 weeks ago
Dean Lee
eaa595958c
system/ui: prevent duplicate WiFi connections when retrying with new password ( #35174 )
...
Prevent duplicate WiFi connections when retrying with new password
2 weeks ago
Dean Lee
7147c26954
system/ui: fix WIFI authentication callback and connection tracking ( #35169 )
...
fix authentication callback and state handling
2 weeks ago
Dean Lee
3b94e6f92f
system/ui: add tethering support to WifiManager ( #35167 )
...
add tethering support to WifiManager
2 weeks ago
Dean Lee
908ea36126
ui(raylib): add thread-safe property access to WifiManagerWrapper ( #35162 )
...
* Add thread-safe property access to WifiManagerWrapper
* cleanup
* type-safe manager, always specify default
* import
---------
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2 weeks ago
Cameron Clough
4bbbe3d2d1
ui(raylib): revert fps to 60 ( #35163 )
...
bump default fps
2 weeks ago
Cameron Clough
73ee0c022f
Reapply "ui(raylib): create BaseWindow ( #35074 )" ( #35077 )
...
* Reapply "ui(raylib): create BaseWindow (#35074 )"
This reverts commit 83b84a5bec
.
* correct title
* error msg
* cloudlog
2 weeks ago
Dean Lee
9622b6f8bd
ui(raylib): add a simple toggle component ( #35128 )
...
* simple toggle
* Update system/ui/lib/toggle.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* cleanup
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
3 weeks ago
Dean Lee
c33e5b3209
python ui: wifi manager ( #34814 )
...
* python wifi manager
* fix ui
* need auth callback
* move to widgets
* confirm forgot
* add drag detection
* improve keyboard & list
* remove duplicate
* typos
* use gui_app render
* refactor
* cleanup
* cleanup
* shutdown
* fix types
* revert
* scroll panel cleanup
* reset is_dragging on mouse release
* Revert "reset is_dragging on mouse release"
This reverts commit ff5e51cf6f00848d93aa3ce0bab16602fea7a319.
* unformat
* cleanup
* update state when connecting
* forgotten callback
* maybe fix? first tap didn't work
* Revert "maybe fix? first tap didn't work"
This reverts commit 739f0e3bd37323d10479b081a20d05c7fdff5495.
* remove set_target_fps
* Revert "remove set_target_fps"
This reverts commit 96f74553ef
.
---------
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
3 weeks ago
Cameron Clough
83b84a5bec
Revert "ui(raylib): create BaseWindow ( #35074 )"
...
This reverts commit 124198460b
.
4 weeks ago
Cameron Clough
124198460b
ui(raylib): create BaseWindow ( #35074 )
...
* ui(raylib): create BaseWindow
* test without typing
* revert
* Revert "test without typing"
This reverts commit c8a5e1b832
.
* lines
4 weeks ago
Cameron Clough
7c223e5586
ui(raylib): decrease target FPS to 30 ( #35062 )
1 month ago
Cameron Clough
196848c023
ui(raylib): set display power and brightness on init ( #35060 )
...
* add set_display_power to hardware.py
* set display power and brightness on app init
1 month ago
Cameron Clough
281a72780b
Reapply "ui(raylib): "exit" btn in text window on PC" ( #35053 )
...
* ui(raylib): "exit" btn in text window on PC
* unused import
* request close
* this was missing
1 month ago
Cameron Clough
23524e2038
ui(raylib): reduce spinner rotation artifact ( #35048 )
...
* ui(raylib): reduce spinner rotation artifact
A visual artifact (white pixels) appeared on the edge of the
rotating spinner track texture, likely due to RGB color bleed during
bilinear filtering in Raylib.
Pre-multiplying the alpha channel of the spinner track image using
`rl.image_alpha_premultiply` significantly reduces the visibility of the
artifact.
* lint
1 month ago
Cameron Clough
4f913f0cfb
ui(raylib): fix typos ( #35030 )
1 month ago
Dean Lee
6d12ade231
python ui: refactor spinner&text ( #34897 )
...
refactor spinner&text
2 months ago
Dean Lee
2d2efb3f58
pyui: implement styled label and text box ( #34813 )
...
implement styled label
3 months ago
Dean Lee
4674d0ae53
python ui: fix scroll issues ( #34600 )
...
fix scroll issues
3 months ago
Dean Lee
df2d615fc7
python ui: Implement styled rounded buttons with multiple states ( #34603 )
...
* styled button
* corner rounding in pixels
3 months ago
Dean Lee
ca05c25ba2
python ui: Implement FPS monitor ( #34605 )
...
monitor fps
3 months ago
Dean Lee
fc77ac706e
python ui: implement inertial scrolling for GuiScrollPanel ( #34596 )
...
implement inertial scrolling for GuiScrollPanel
3 months ago