aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/ImageControl.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-05-16 00:19:51 (GMT)
committerfluxgen <fluxgen>2003-05-16 00:19:51 (GMT)
commita11f4f512aa9bb689742d37b673c86a6950889e5 (patch)
tree75d064b5d43e31849302ec985f74a958ba92a825 /src/FbTk/ImageControl.hh
parent643743f2978721937badb24a432059d069afd96e (diff)
downloadfluxbox_paul-a11f4f512aa9bb689742d37b673c86a6950889e5.zip
fluxbox_paul-a11f4f512aa9bb689742d37b673c86a6950889e5.tar.bz2
minor fix
Diffstat (limited to 'src/FbTk/ImageControl.hh')
-rw-r--r--src/FbTk/ImageControl.hh5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/FbTk/ImageControl.hh b/src/FbTk/ImageControl.hh
index 81d792c..850e814 100644
--- a/src/FbTk/ImageControl.hh
+++ b/src/FbTk/ImageControl.hh
@@ -22,13 +22,14 @@
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.1 2003/01/09 21:09:49 fluxgen Exp $ 25// $Id: ImageControl.hh,v 1.2 2003/05/16 00:19:51 fluxgen Exp $
26 26
27#ifndef FBTK_IMAGECONTROL_HH 27#ifndef FBTK_IMAGECONTROL_HH
28#define FBTK_IMAGECONTROL_HH 28#define FBTK_IMAGECONTROL_HH
29 29
30#include "Texture.hh" 30#include "Texture.hh"
31#include "Timer.hh" 31#include "Timer.hh"
32#include "NotCopyable.hh"
32 33
33#include <X11/Xlib.h> 34#include <X11/Xlib.h>
34#include <X11/Xutil.h> 35#include <X11/Xutil.h>
@@ -37,7 +38,7 @@
37namespace FbTk { 38namespace FbTk {
38 39
39/// Holds screen info, color tables and caches textures 40/// Holds screen info, color tables and caches textures
40class ImageControl : public TimeoutHandler { 41class ImageControl : public TimeoutHandler, private NotCopyable {
41public: 42public:
42 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,
43 unsigned long cache_timeout = 300000l, unsigned long cache_max = 200l); 44 unsigned long cache_timeout = 300000l, unsigned long cache_max = 200l);