diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-02-14 17:13:26 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-02-14 17:13:26 +0000 |
| commit | 7393a17bf9b427675df3a6688845db5e2df6f155 (patch) | |
| tree | 2c1ba0988c3aa5843dbf4e4f8ce63ae978f1a8d6 /otk/pseudorendercontrol.hh | |
| parent | f78761c8dd185d72d5e7468c58cea3630e78b8e6 (diff) | |
use the same alogo to pick a color in allocateColor as in reduceDepth, break it off into an inline function.
Diffstat (limited to 'otk/pseudorendercontrol.hh')
| -rw-r--r-- | otk/pseudorendercontrol.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/otk/pseudorendercontrol.hh b/otk/pseudorendercontrol.hh index 402190c5..b6d60371 100644 --- a/otk/pseudorendercontrol.hh +++ b/otk/pseudorendercontrol.hh @@ -13,6 +13,8 @@ private: XColor *_colors; // the valid allocated colors virtual void reduceDepth(Surface &sf, XImage *im) const; + + const XColor *pickColor(int r, int g, int b) const; public: PseudoRenderControl(int screen); |
