diff options
author | fluxgen <fluxgen> | 2003-05-13 21:16:27 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-05-13 21:16:27 (GMT) |
commit | 61448a5bd4f8e83f70e3bf8c194d33300bbac4d3 (patch) | |
tree | 8a898b80d3604852c29f6897d31fa840da68816b /src | |
parent | 3ac43716b79cd6ee207aee4c0444678f2ac6298b (diff) | |
download | fluxbox_lack-61448a5bd4f8e83f70e3bf8c194d33300bbac4d3.zip fluxbox_lack-61448a5bd4f8e83f70e3bf8c194d33300bbac4d3.tar.bz2 |
added access for dest and source drawables
Diffstat (limited to 'src')
-rw-r--r-- | src/FbTk/Transparent.hh | 6 |
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 | |||
49 | private: | 53 | private: |
50 | void freeAlpha(); | 54 | void freeAlpha(); |
51 | void allocAlpha(unsigned char newval); | 55 | void allocAlpha(unsigned char newval); |