aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/ImageControl.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/ImageControl.hh')
-rw-r--r--src/FbTk/ImageControl.hh8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/FbTk/ImageControl.hh b/src/FbTk/ImageControl.hh
index 850e814..9fe0a0a 100644
--- a/src/FbTk/ImageControl.hh
+++ b/src/FbTk/ImageControl.hh
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: ImageControl.hh,v 1.2 2003/05/16 00:19:51 fluxgen Exp $ 25// $Id: ImageControl.hh,v 1.3 2003/08/11 15:59:49 fluxgen Exp $
26 26
27#ifndef FBTK_IMAGECONTROL_HH 27#ifndef FBTK_IMAGECONTROL_HH
28#define FBTK_IMAGECONTROL_HH 28#define FBTK_IMAGECONTROL_HH
@@ -37,8 +37,8 @@
37 37
38namespace FbTk { 38namespace FbTk {
39 39
40/// Holds screen info, color tables and caches textures 40/// Holds screen info, color tables and caches textures
41class ImageControl : public TimeoutHandler, private NotCopyable { 41class ImageControl: private NotCopyable {
42public: 42public:
43 ImageControl(int screen_num, bool dither = false, int colors_per_channel = 4, 43 ImageControl(int screen_num, bool dither = false, int colors_per_channel = 4,
44 unsigned long cache_timeout = 300000l, unsigned long cache_max = 200l); 44 unsigned long cache_timeout = 300000l, unsigned long cache_max = 200l);
@@ -72,7 +72,7 @@ public:
72 void setDither(bool d) { m_dither = d; } 72 void setDither(bool d) { m_dither = d; }
73 void setColorsPerChannel(int cpc); 73 void setColorsPerChannel(int cpc);
74 74
75 virtual void timeout(); 75 void cleanCache();
76 76
77private: 77private:
78 /** 78 /**