added access for dest and source drawables
This commit is contained in:
parent
3ac43716b7
commit
61448a5bd4
1 changed files with 5 additions and 1 deletions
|
@ -19,7 +19,7 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
// DEALINGS IN THE SOFTWARE.
|
// DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
// $Id: Transparent.hh,v 1.2 2003/05/07 09:30:53 fluxgen Exp $
|
// $Id: Transparent.hh,v 1.3 2003/05/13 21:16:27 fluxgen Exp $
|
||||||
|
|
||||||
#ifndef FBTK_TRANSPARENT_HH
|
#ifndef FBTK_TRANSPARENT_HH
|
||||||
#define FBTK_TRANSPARENT_HH
|
#define FBTK_TRANSPARENT_HH
|
||||||
|
@ -45,7 +45,11 @@ public:
|
||||||
void render(int src_x, int src_y,
|
void render(int src_x, int src_y,
|
||||||
int dest_x, int dest_y,
|
int dest_x, int dest_y,
|
||||||
unsigned int width, unsigned int height) const;
|
unsigned int width, unsigned int height) const;
|
||||||
|
|
||||||
unsigned char alpha() const { return m_alpha; }
|
unsigned char alpha() const { return m_alpha; }
|
||||||
|
Drawable dest() const { return m_dest; }
|
||||||
|
Drawable source() const { return m_source; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void freeAlpha();
|
void freeAlpha();
|
||||||
void allocAlpha(unsigned char newval);
|
void allocAlpha(unsigned char newval);
|
||||||
|
|
Loading…
Reference in a new issue