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 |
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. |
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 |
|
|