diff --git a/headers/private/servers/app/PatternHandler.h b/headers/private/servers/app/PatternHandler.h index 63456f43c5..3167d78668 100644 --- a/headers/private/servers/app/PatternHandler.h +++ b/headers/private/servers/app/PatternHandler.h @@ -135,8 +135,12 @@ class PatternHandler { bool IsHighColor(const BPoint& pt) const; inline bool IsHighColor(int x, int y) const; + inline bool IsSolidHigh() const + { return fPattern == B_SOLID_HIGH; } + inline bool IsSolidLow() const + { return fPattern == B_SOLID_LOW; } inline bool IsSolid() const - { return fPattern == B_SOLID_HIGH || fPattern == B_SOLID_LOW; } + { return IsSolidHigh() || IsSolidLow(); } const pattern* GetR5Pattern(void) const { return (const pattern*)fPattern.GetInt8(); }