mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-18 22:23:56 +08:00
* 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>
ui
The user interfaces here are built with raylib.
Quick start:
- set
BIG=1to run the comma 3X UI (comma four UI runs by default) - set
SHOW_FPS=1to show the FPS - set
STRICT_MODE=1to kill the app if it drops too much below 60fps - set
SCALE=1.5to scale the entire UI by 1.5x - set
BURN_IN=1to get a burn-in heatmap version of the UI - set
GRID=50to show a 50-pixel alignment grid overlay - set
MAGIC_DEBUG=1to show every dropped frames (only on device) - set
SUNNYPILOT_UI=0to run the stock UI instead of the sunnypilot UI - https://www.raylib.com/cheatsheet/cheatsheet.html
- https://electronstudio.github.io/raylib-python-cffi/README.html#quickstart
Style guide:
- All graphical elements should subclass
Widget.- Prefer a stateful widget over a function for easy migration from QT
- All internal class variables and functions should be prefixed with
_