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:
@@ -87,6 +87,7 @@ public:
|
|||||||
RGBColor GetColor(const float &x, const float &y);
|
RGBColor GetColor(const float &x, const float &y);
|
||||||
bool GetValue(const float &x, const float &y);
|
bool GetValue(const float &x, const float &y);
|
||||||
bool GetValue(const BPoint &pt);
|
bool GetValue(const BPoint &pt);
|
||||||
|
pattern *GetR5Pattern(void) { return (pattern*)_pat.GetInt8(); }
|
||||||
private:
|
private:
|
||||||
Pattern _pat;
|
Pattern _pat;
|
||||||
RGBColor *_high,*_low;
|
RGBColor *_high,*_low;
|
||||||
|
|||||||
Reference in New Issue
Block a user