]>
Dogcows Code - chaz/openbox/blob - otk/rendercolor.hh
1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
2 #ifndef __rendercolor_hh
3 #define __rendercolor_hh
17 CacheItem(GC g
) : gc(g
), count(0) {}
19 static std::map
<unsigned long, CacheItem
*> *_cache
;
29 static void initialize();
30 static void destroy();
32 RenderColor(int screen
, unsigned char red
,
33 unsigned char green
, unsigned char blue
);
34 virtual ~RenderColor();
36 inline int screen() const { return _screen
; }
37 inline unsigned char red() const { return _red
; }
38 inline unsigned char green() const { return _green
; }
39 inline unsigned char blue() const { return _blue
; }
40 inline GC
gc() const { return _gc
; }
45 #endif // __rendercolor_hh
This page took 0.037331 seconds and 5 git commands to generate.