mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-21 16:23:46 +08:00
raylib: Improve close settings x button (#35677)
* update settings close text to use multiplication x character * add todo * fix: Add settings close text char to loaded glyphs * refactor: Use font medium for settings close button text and remove font bold property; change font_)medium property to font_weight * move close icon down a bit * fix: offset settings close text in button to correct centering * fix: remove horizontal offset * refactor: it's actually a font, so rename back
This commit is contained in:
@@ -330,7 +330,7 @@ class GuiApplication:
|
||||
for layout in KEYBOARD_LAYOUTS.values():
|
||||
all_chars.update(key for row in layout for key in row)
|
||||
all_chars = "".join(all_chars)
|
||||
all_chars += "–✓°"
|
||||
all_chars += "–✓×°"
|
||||
|
||||
codepoint_count = rl.ffi.new("int *", 1)
|
||||
codepoints = rl.load_codepoints(all_chars, codepoint_count)
|
||||
|
||||
Reference in New Issue
Block a user