mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-28 10:36:51 +00:00
AK: Add Bitmap::is_null()
This class has a null state but there was no API to check for it.
This commit is contained in:
@@ -148,6 +148,8 @@ public:
|
||||
return count;
|
||||
}
|
||||
|
||||
bool is_null() const { return !m_data; }
|
||||
|
||||
u8* data() { return m_data; }
|
||||
const u8* data() const { return m_data; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user