From 7393a17bf9b427675df3a6688845db5e2df6f155 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 14 Feb 2003 17:13:26 +0000 Subject: use the same alogo to pick a color in allocateColor as in reduceDepth, break it off into an inline function. --- otk/pseudorendercontrol.hh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'otk/pseudorendercontrol.hh') 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); -- cgit v1.2.3