diff options
Diffstat (limited to 'src/FbTk')
-rw-r--r-- | src/FbTk/ImageControl.hh | 5 |
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 @@ | |||
37 | namespace FbTk { | 38 | namespace FbTk { |
38 | 39 | ||
39 | /// Holds screen info, color tables and caches textures | 40 | /// Holds screen info, color tables and caches textures |
40 | class ImageControl : public TimeoutHandler { | 41 | class ImageControl : public TimeoutHandler, private NotCopyable { |
41 | public: | 42 | public: |
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); |