/[adonthell]/adonthell-0.3/src/image.h
ViewVC logotype

Diff of /adonthell-0.3/src/image.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.27 by gnurou, Tue Oct 16 13:04:45 2001 UTC revision 1.28 by ksterker, Mon Oct 25 06:55:01 2004 UTC
# Line 1  Line 1 
1  /*  /*
2     $Id$     $Id$
3    
4     Copyright (C) 1999/2000/2001   Alexandre Courbot     Copyright (C) 1999/2000/2001/2004   Alexandre Courbot
5     Part of the Adonthell Project http://adonthell.linuxgames.com     Part of the Adonthell Project http://adonthell.linuxgames.com
6    
7     This program is free software; you can redistribute it and/or modify     This program is free software; you can redistribute it and/or modify
# Line 51  public: Line 51  public:
51      /** Creates an image with a specified size.      /** Creates an image with a specified size.
52       *  @param l length of the image.       *  @param l length of the image.
53       *  @param h height of the image.       *  @param h height of the image.
54         *  @param mode use screen::dblmode or set dbl_mode to false
55       *       *
56       *  @attention Not accessible from Python.       *  @attention Not accessible from Python.
57       */       */
58      image (u_int16 l, u_int16 h);      image (u_int16 l, u_int16 h, bool mode = true);
59        
60        /**
61         * Create image from SDL_Surface.
62         * @param s surface
63         */
64        image (SDL_Surface *s, const SDL_Color & color);
65  #endif  #endif
66            
67      /** Destructor.      /** Destructor.
# Line 334  public: Line 341  public:
341       *                     be lightened/darkened too.       *                     be lightened/darkened too.
342       */       */
343      void brightness (const surface& src, u_int8 cont, bool proceed_mask = false);      void brightness (const surface& src, u_int8 cont, bool proceed_mask = false);
   
344      //@}      //@}
345    
346    

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.28

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26