diff options
author | fluxgen <fluxgen> | 2002-02-04 22:41:27 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-02-04 22:41:27 (GMT) |
commit | cdc6210bfe53ca05eae93e48e52a1ffed3a9b610 (patch) | |
tree | 9384d79d65250831ade68d648c90127835755a67 /src/Image.hh | |
parent | 0c4c33f9f595818868dc83f8582909f68dd7efdd (diff) | |
download | fluxbox-cdc6210bfe53ca05eae93e48e52a1ffed3a9b610.zip fluxbox-cdc6210bfe53ca05eae93e48e52a1ffed3a9b610.tar.bz2 |
replaced LinkedList with stl container
Diffstat (limited to 'src/Image.hh')
-rw-r--r-- | src/Image.hh | 14 |
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 | ||
42 | class BImage; | 38 | class BImage; |
43 | class BImageControl; | 39 | class 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 | ||
188 | protected: | 186 | protected: |