You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Change Color HTML conversion from ARGB to RGBA
Also add support for 3 and 4 digit values in C#. Now it actually matches the HTML/CSS spec.
This commit is contained in:
@@ -206,8 +206,8 @@ void ThemeEditor::_save_template_cbk(String fname) {
|
||||
file->store_line("; [value] examples:");
|
||||
file->store_line("; ");
|
||||
file->store_line("; Type.item = 6 ; numeric constant. ");
|
||||
file->store_line("; Type.item = #FF00FF ; HTML color ");
|
||||
file->store_line("; Type.item = #55FF00FF ; HTML color with alpha 55.");
|
||||
file->store_line("; Type.item = #FF00FF ; HTML color (magenta).");
|
||||
file->store_line("; Type.item = #FF00FF55 ; HTML color (magenta with alpha 0x55).");
|
||||
file->store_line("; Type.item = icon(image.png) ; icon in a png file (relative to theme file).");
|
||||
file->store_line("; Type.item = font(font.xres) ; font in a resource (relative to theme file).");
|
||||
file->store_line("; Type.item = sbox(stylebox.xres) ; stylebox in a resource (relative to theme file).");
|
||||
|
||||
Reference in New Issue
Block a user