Quellcode durchsuchen

LibGfx: Add an accessor for the raw ICC Version minor_and_bugfix byte

This is makes it easier to write this value back out.
Nico Weber vor 2 Jahren
Ursprung
Commit
e8a2c17f8f
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  1. 2 0
      Userland/Libraries/LibGfx/ICC/Profile.h

+ 2 - 0
Userland/Libraries/LibGfx/ICC/Profile.h

@@ -36,6 +36,8 @@ public:
     u8 minor_version() const { return m_minor_and_bugfix_version >> 4; }
     u8 bugfix_version() const { return m_minor_and_bugfix_version & 0xf; }
 
+    u8 minor_and_bugfix_version() const { return m_minor_and_bugfix_version; }
+
 private:
     u8 m_major_version = 0;
     u8 m_minor_and_bugfix_version = 0;