summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2022-03-04 22:05:20 +0100
committerAndreas Kling <kling@serenityos.org>2022-03-04 23:40:21 +0100
commit5ace66a9037fa6968b417cfb604ae8419be62271 (patch)
treeacc383f50bfab4f576af6f80b5dffee02a036883 /Userland/Libraries/LibGUI
parent5c4bb039266242ee606aceabba5926831de46e83 (diff)
downloadserenity-5ace66a9037fa6968b417cfb604ae8419be62271.zip
LibGfx: Rename RGBA32 => ARGB32
The ARGB32 typedef is used for 32-bit #AARRGGBB quadruplets. As such, the name RGBA32 was misleading, so let's call it ARGB32 instead. Since endianness is a thing, let's not encode any assumptions about byte order in the name of this type. ARGB32 is basically a "machine word" of color.
Diffstat (limited to 'Userland/Libraries/LibGUI')
-rw-r--r--Userland/Libraries/LibGUI/Variant.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGUI/Variant.h b/Userland/Libraries/LibGUI/Variant.h
index 2ad24d0a8d..ccdcd241d5 100644
--- a/Userland/Libraries/LibGUI/Variant.h
+++ b/Userland/Libraries/LibGUI/Variant.h
@@ -333,7 +333,7 @@ private:
u32 as_u32;
u64 as_u64;
float as_float;
- Gfx::RGBA32 as_color;
+ Gfx::ARGB32 as_color;
Gfx::TextAlignment as_text_alignment;
Gfx::ColorRole as_color_role;
Gfx::AlignmentRole as_alignment_role;