enigma-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Enigma-cvs] enigma/src menus_internal.hh,1.5,1.6


From: Daniel Heck <address@hidden>
Subject: [Enigma-cvs] enigma/src menus_internal.hh,1.5,1.6
Date: Sun, 16 Nov 2003 19:32:21 +0000

Update of /cvsroot/enigma/enigma/src
In directory subversions:/tmp/cvs-serv17740/src

Modified Files:
        menus_internal.hh 
Log Message:
Use new px::Cache


Index: menus_internal.hh
===================================================================
RCS file: /cvsroot/enigma/enigma/src/menus_internal.hh,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** menus_internal.hh   12 Nov 2003 09:35:59 -0000      1.5
--- menus_internal.hh   16 Nov 2003 19:32:19 -0000      1.6
***************
*** 118,122 ****
  {
  
!     class ImageAlloc {
      public:
          px::Surface *acquire(const std::string &name) {
--- 118,122 ----
  {
  
!     class ImageCache : public px::PtrCache<px::Surface> {
      public:
          px::Surface *acquire(const std::string &name) {
***************
*** 126,135 ****
      };
  
-     typedef Cache<px::Surface*, ImageAlloc> ImageCache;
- 
- 
      void savePNG(Surface *surface, const string& fname) {
!         int            h            = surface->height();
!         int            w            = surface->width();
          unsigned char *rows[h];
  
--- 126,132 ----
      };
  
      void savePNG(Surface *surface, const string& fname) {
!         int            h = surface->height();
!         int            w = surface->width();
          unsigned char *rows[h];
  





reply via email to

[Prev in Thread] Current Thread [Next in Thread]