aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/ImageControl.hh
diff options
context:
space:
mode:
authorPavel Labath <pavelo@centrum.sk>2011-07-14 12:56:25 (GMT)
committerPavel Labath <pavelo@centrum.sk>2013-02-18 21:04:22 (GMT)
commit295bb1919bc748d369eb8b5597c1cd12577d3176 (patch)
treeb7782bada32a49febe4dc275216629e3528249bd /src/FbTk/ImageControl.hh
parent4ea546a91e7188ad6a95931637b7b928abd38342 (diff)
downloadfluxbox_pavel-295bb1919bc748d369eb8b5597c1cd12577d3176.zip
fluxbox_pavel-295bb1919bc748d369eb8b5597c1cd12577d3176.tar.bz2
Attach a modifiedSig handler to the session.cacheLife resource
Diffstat (limited to 'src/FbTk/ImageControl.hh')
-rw-r--r--src/FbTk/ImageControl.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/FbTk/ImageControl.hh b/src/FbTk/ImageControl.hh
index 747525b..1795bbf 100644
--- a/src/FbTk/ImageControl.hh
+++ b/src/FbTk/ImageControl.hh
@@ -42,9 +42,11 @@ class Texture;
42class ImageControl: private NotCopyable { 42class ImageControl: private NotCopyable {
43public: 43public:
44 ImageControl(int screen_num, int colors_per_channel = 4, 44 ImageControl(int screen_num, int colors_per_channel = 4,
45 unsigned long cache_timeout = 300000l, unsigned long cache_max = 200l); 45 unsigned int cache_timeout = 5, unsigned long cache_max = 200l);
46 virtual ~ImageControl(); 46 virtual ~ImageControl();
47 47
48 void setCacheTimeout(unsigned int cache_timeout);
49
48 int depth() const { return m_screen_depth; } 50 int depth() const { return m_screen_depth; }
49 int colorsPerChannel() const { return m_colors_per_channel; } 51 int colorsPerChannel() const { return m_colors_per_channel; }
50 size_t nrColors() const { return m_colors.size(); } 52 size_t nrColors() const { return m_colors.size(); }