aboutsummaryrefslogtreecommitdiff
path: root/src/Image.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-02-04 22:41:27 (GMT)
committerfluxgen <fluxgen>2002-02-04 22:41:27 (GMT)
commitcdc6210bfe53ca05eae93e48e52a1ffed3a9b610 (patch)
tree9384d79d65250831ade68d648c90127835755a67 /src/Image.hh
parent0c4c33f9f595818868dc83f8582909f68dd7efdd (diff)
downloadfluxbox-cdc6210bfe53ca05eae93e48e52a1ffed3a9b610.zip
fluxbox-cdc6210bfe53ca05eae93e48e52a1ffed3a9b610.tar.bz2
replaced LinkedList with stl container
Diffstat (limited to 'src/Image.hh')
-rw-r--r--src/Image.hh14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/Image.hh b/src/Image.hh
index 672c632..7f7c746 100644
--- a/src/Image.hh
+++ b/src/Image.hh
@@ -22,7 +22,7 @@
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: Image.hh,v 1.3 2002/01/09 14:11:20 fluxgen Exp $ 25// $Id: Image.hh,v 1.4 2002/02/04 22:41:27 fluxgen Exp $
26 26
27#ifndef _IMAGE_HH_ 27#ifndef _IMAGE_HH_
28#define _IMAGE_HH_ 28#define _IMAGE_HH_
@@ -31,13 +31,9 @@
31#include <X11/Xutil.h> 31#include <X11/Xutil.h>
32 32
33#include "Timer.hh" 33#include "Timer.hh"
34
35#ifndef _BASEDISPLAY_HH_
36#include "BaseDisplay.hh" 34#include "BaseDisplay.hh"
37#endif 35
38#ifndef _LINKEDLIST_HH_ 36#include <list>
39#include "LinkedList.hh"
40#endif
41 37
42class BImage; 38class BImage;
43class BImageControl; 39class BImageControl;
@@ -182,7 +178,9 @@ private:
182 unsigned long pixel1, pixel2, texture; 178 unsigned long pixel1, pixel2, texture;
183 } Cache; 179 } Cache;
184 180
185 LinkedList<Cache> *cache; 181 typedef std::list<Cache *> CacheList;
182
183 CacheList cache;
186 184
187 185
188protected: 186protected: