diff options
author | Pavel Labath <pavelo@centrum.sk> | 2011-07-15 18:35:09 (GMT) |
---|---|---|
committer | Paul Tagliamonte <paultag@fluxbox.org> | 2012-04-07 02:11:32 (GMT) |
commit | e587b6e72987d3325ddd89d354a2aaec77fb1372 (patch) | |
tree | 559fe24de04351142c86d7419de846b5158b1b95 /src/FbTk/ImageControl.hh | |
parent | e5fb4814ae8946332f6eca6019372e2616701cbf (diff) | |
download | fluxbox_paul-e587b6e72987d3325ddd89d354a2aaec77fb1372.zip fluxbox_paul-e587b6e72987d3325ddd89d354a2aaec77fb1372.tar.bz2 |
Attach a modifiedSig handler to the session.cacheMax resource
Diffstat (limited to 'src/FbTk/ImageControl.hh')
-rw-r--r-- | src/FbTk/ImageControl.hh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/FbTk/ImageControl.hh b/src/FbTk/ImageControl.hh index 1795bbf..983b319 100644 --- a/src/FbTk/ImageControl.hh +++ b/src/FbTk/ImageControl.hh | |||
@@ -46,6 +46,7 @@ public: | |||
46 | virtual ~ImageControl(); | 46 | virtual ~ImageControl(); |
47 | 47 | ||
48 | void setCacheTimeout(unsigned int cache_timeout); | 48 | void setCacheTimeout(unsigned int cache_timeout); |
49 | void setCacheMax(unsigned long cache_max); | ||
49 | 50 | ||
50 | int depth() const { return m_screen_depth; } | 51 | int depth() const { return m_screen_depth; } |
51 | int colorsPerChannel() const { return m_colors_per_channel; } | 52 | int colorsPerChannel() const { return m_colors_per_channel; } |
@@ -112,7 +113,7 @@ private: | |||
112 | typedef std::list<Cache *> CacheList; | 113 | typedef std::list<Cache *> CacheList; |
113 | 114 | ||
114 | mutable CacheList cache; | 115 | mutable CacheList cache; |
115 | unsigned long cache_max; | 116 | unsigned long m_cache_max; |
116 | }; | 117 | }; |
117 | 118 | ||
118 | } // end namespace FbTk | 119 | } // end namespace FbTk |