summaryrefslogtreecommitdiff
path: root/src/FbTk/Transparent.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/Transparent.hh')
-rw-r--r--src/FbTk/Transparent.hh9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/FbTk/Transparent.hh b/src/FbTk/Transparent.hh
index fe29826..9aeeead 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.3 2003/05/13 21:16:27 fluxgen Exp $ 22// $Id: Transparent.hh,v 1.4 2004/09/12 14:56:20 rathnor Exp $
23 23
24#ifndef FBTK_TRANSPARENT_HH 24#ifndef FBTK_TRANSPARENT_HH
25#define FBTK_TRANSPARENT_HH 25#define FBTK_TRANSPARENT_HH
@@ -50,6 +50,10 @@ public:
50 Drawable dest() const { return m_dest; } 50 Drawable dest() const { return m_dest; }
51 Drawable source() const { return m_source; } 51 Drawable source() const { return m_source; }
52 52
53 static bool haveComposite(bool for_real = false);
54 static bool haveRender() { if (!s_init) init(); return s_render; }
55 static void usePseudoTransparent(bool no_composite);
56
53private: 57private:
54 void freeAlpha(); 58 void freeAlpha();
55 void allocAlpha(unsigned char newval); 59 void allocAlpha(unsigned char newval);
@@ -61,7 +65,8 @@ private:
61 65
62 static bool s_init; 66 static bool s_init;
63 static bool s_render; ///< wheter we have RENDER support 67 static bool s_render; ///< wheter we have RENDER support
64 68 static bool s_composite; ///< wheter we have Composite support
69 static void init();
65}; 70};
66 71
67}; // end namespace FbTk 72}; // end namespace FbTk