began to go through the files and organize imports and gui_2.py's new context defs
still a bunch to sift through after the last ai passes
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
from imgui_bundle import imgui
|
||||
|
||||
|
||||
def _c(r: int, g: int, b: int, a: int = 255) -> tuple[float, float, float, float]:
|
||||
"""Convert 0-255 RGBA to 0.0-1.0 floats."""
|
||||
return (r / 255.0, g / 255.0, b / 255.0, a / 255.0)
|
||||
|
||||
Reference in New Issue
Block a user