summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/FbTk/Transparent.hh6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/FbTk/Transparent.hh b/src/FbTk/Transparent.hh
index 1b36b94..fe29826 100644
--- a/src/FbTk/Transparent.hh
+++ b/src/FbTk/Transparent.hh
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: Transparent.hh,v 1.2 2003/05/07 09:30:53 fluxgen Exp $ 22// $Id: Transparent.hh,v 1.3 2003/05/13 21:16:27 fluxgen Exp $
23 23
24#ifndef FBTK_TRANSPARENT_HH 24#ifndef FBTK_TRANSPARENT_HH
25#define FBTK_TRANSPARENT_HH 25#define FBTK_TRANSPARENT_HH
@@ -45,7 +45,11 @@ public:
45 void render(int src_x, int src_y, 45 void render(int src_x, int src_y,
46 int dest_x, int dest_y, 46 int dest_x, int dest_y,
47 unsigned int width, unsigned int height) const; 47 unsigned int width, unsigned int height) const;
48
48 unsigned char alpha() const { return m_alpha; } 49 unsigned char alpha() const { return m_alpha; }
50 Drawable dest() const { return m_dest; }
51 Drawable source() const { return m_source; }
52
49private: 53private:
50 void freeAlpha(); 54 void freeAlpha();
51 void allocAlpha(unsigned char newval); 55 void allocAlpha(unsigned char newval);