mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 21:37:35 +00:00
LibGfx: Make ICCHeader use FourCC types for fourcc fields
No behavior change. Arguably more expressive.
This commit is contained in:
parent
046c79b468
commit
e5234f582d
2 changed files with 14 additions and 12 deletions
|
@ -38,6 +38,8 @@ struct [[gnu::packed]] DistinctFourCC {
|
|||
char c2() const { return (value >> 8) & 0xff; }
|
||||
char c3() const { return value & 0xff; }
|
||||
|
||||
bool operator==(DistinctFourCC b) const { return value == b.value; }
|
||||
|
||||
u32 value { 0 };
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue