all repos — fluxbox @ 61448a5bd4f8e83f70e3bf8c194d33300bbac4d3

custom fork of the fluxbox windowmanager

added access for dest and source drawables
fluxgen fluxgen
commit

61448a5bd4f8e83f70e3bf8c194d33300bbac4d3

parent

3ac43716b79cd6ee207aee4c0444678f2ac6298b

1 files changed, 5 insertions(+), 1 deletions(-)

jump to
M src/FbTk/Transparent.hhsrc/FbTk/Transparent.hh

@@ -19,7 +19,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // 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 #define FBTK_TRANSPARENT_HH

@@ -45,7 +45,11 @@ */

void render(int src_x, int src_y, int dest_x, int dest_y, unsigned int width, unsigned int height) const; + unsigned char alpha() const { return m_alpha; } + Drawable dest() const { return m_dest; } + Drawable source() const { return m_source; } + private: void freeAlpha(); void allocAlpha(unsigned char newval);