Logo Search packages:      
Sourcecode: fbpager version File versions  Download package

FbTk::Transparent Class Reference

#include <Transparent.hh>

List of all members.


Detailed Description

renders to drawable together with an alpha mask

Definition at line 32 of file Transparent.hh.


Public Member Functions

unsigned char alpha () const
Drawable dest () const
void render (int src_x, int src_y, int dest_x, int dest_y, unsigned int width, unsigned int height) const
void setAlpha (unsigned char alpha)
 sets alpha value
void setDest (Drawable dest, int screen_num)
 sets destination drawable
void setSource (Drawable src, int screen_num)
 sets source drawable
Drawable source () const
 Transparent (Drawable source, Drawable dest, unsigned char alpha, int screen_num)

Private Member Functions

void allocAlpha (unsigned char newval)
void freeAlpha ()

Private Attributes

unsigned char m_alpha
unsigned long m_alpha_pic
Drawable m_dest
unsigned long m_dest_pic
Drawable m_source
unsigned long m_src_pic

Static Private Attributes

static bool s_init = false
static bool s_render = false
 wheter we have RENDER support

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index