refactor(raylib): Move widgets to the widgets folder (#35680)
* refactor: move button to widgets folder * refactor: move inputbox to widgets folder * refactor: move label to widgets folder * refactor: move list_view to widgets * refactor: move scroll_panel to widgets * refactor: move scroller to widgets * refactor: move toggle to widgets * refactor: Move widget.py to widgets/__init__.py * fix: remove extra list_view * refactor: rearrange some of the imports * fix: remove extra scroller.py * fix: Add scroller back * fix: delete right scroller.py this time * move scroll_panel back to system/ui/lib * add todos for label and buttontest_cc
parent
d913e4d349
commit
5751c61de0
39 changed files with 96 additions and 92 deletions
@ -1,6 +1,6 @@ |
||||
import pyray as rl |
||||
from openpilot.system.ui.lib.widget import Widget |
||||
from openpilot.system.ui.lib.scroll_panel import GuiScrollPanel |
||||
from openpilot.system.ui.widgets import Widget |
||||
|
||||
ITEM_SPACING = 40 |
||||
LINE_COLOR = rl.GRAY |
@ -1,6 +1,6 @@ |
||||
import pyray as rl |
||||
from openpilot.system.ui.lib.application import MousePos |
||||
from openpilot.system.ui.lib.widget import Widget |
||||
from openpilot.system.ui.widgets import Widget |
||||
|
||||
ON_COLOR = rl.Color(51, 171, 76, 255) |
||||
OFF_COLOR = rl.Color(0x39, 0x39, 0x39, 255) |
Loading…
Reference in new issue