Dean Lee
71e3fd7183
system/ui: use icon for special characters ( #35248 )
...
* use icon for special characters
* add icon for SHIFT_DOWN_KEY
7 days 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
1 week ago
Dean Lee
f1c0109c89
system/ui: Fix crash when exiting the application with CTRL+C (KeyboardInterrupt). ( #35221 )
...
handle KeyboardInterrupt
1 week ago
Dean Lee
b1bdab0c90
system/ui: improve texture caching ( #35222 )
...
improve texture caching
1 week ago
Dean Lee
c57f576436
system/ui: fix FPS drop issues ( #35220 )
...
set VSYNC flag only when the env is set
1 week ago
Dean Lee
896dabb190
system/ui: add right-side text eliding to gui_label ( #35201 )
...
add optional right-side text eliding to gui_label
1 week 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>
2 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 )
4 weeks 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
4 weeks 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
Dean Lee
d4d0312794
python ui: display FPS on top-left corner if DEBUG_FPS=1 ( #34595 )
...
* display FPS on top-left corner if DEBUG_FPS=1
* use generator
* use rl.draw_fps
3 months ago
Dean Lee
99ef66de4b
python ui: implement reset.py ( #34593 )
...
reset
3 months ago
Dean Lee
ce7ff5c0e6
ui: Initial UI rewrite using pyray (spinner and text window) ( #34583 )
...
* pyray init version
* remove c++ code
* cleanup
* restruct the directory layout
* improve GuiApplication
* smooth out the texture after resize
* use atexit to close app
* rename FontSize->FontWeight
* make files executable
* use Inter Regular for FrontWeight.NORMAL
* set FLAG_VSYNC_HINT to avoid tearing while scrolling
* smoother scrolling
* mange textures in gui_app
3 months ago