diff options
author | Pavel Labath <pavelo@centrum.sk> | 2011-07-15 18:35:09 (GMT) |
---|---|---|
committer | Pavel Labath <pavelo@centrum.sk> | 2011-07-15 18:35:09 (GMT) |
commit | a3b2982e2ddef245e3006f05b1f76eb136ce3753 (patch) | |
tree | 8be04b542fcdd5a4e1fc9018e2319c0bf16748c3 /src/FbTk/ImageControl.hh | |
parent | 4d604fb22c3fb24d8849a0da0c0859d34c202f9b (diff) | |
download | fluxbox_pavel-a3b2982e2ddef245e3006f05b1f76eb136ce3753.zip fluxbox_pavel-a3b2982e2ddef245e3006f05b1f76eb136ce3753.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 |