Added a method to access the current pattern in PatternHandler

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6385 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
DarkWyrm 2004-01-28 02:10:23 +00:00
parent dfd2e47c90
commit 1f6632d9a4

View File

@ -87,6 +87,7 @@ public:
RGBColor GetColor(const float &x, const float &y);
bool GetValue(const float &x, const float &y);
bool GetValue(const BPoint &pt);
pattern *GetR5Pattern(void) { return (pattern*)_pat.GetInt8(); }
private:
Pattern _pat;
RGBColor *_high,*_low;