diff options
author | fluxgen <fluxgen> | 2004-10-06 06:50:27 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2004-10-06 06:50:27 (GMT) |
commit | 662d1a459c15fb1616b5075a41529048520f7606 (patch) | |
tree | f4ba5e78ac9c2b7a670061bcfdac931c9a96ffe6 /src | |
parent | b5b5fa7b53bb6c9a32d5b174edb96441f5deb1b3 (diff) | |
download | fluxbox-662d1a459c15fb1616b5075a41529048520f7606.zip fluxbox-662d1a459c15fb1616b5075a41529048520f7606.tar.bz2 |
setTile for X Drawable
Diffstat (limited to 'src')
-rw-r--r-- | src/FbTk/GContext.hh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/FbTk/GContext.hh b/src/FbTk/GContext.hh index d3dde35..58e9f3d 100644 --- a/src/FbTk/GContext.hh +++ b/src/FbTk/GContext.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: GContext.hh,v 1.11 2004/09/11 23:00:44 fluxgen Exp $ | 22 | // $Id: GContext.hh,v 1.12 2004/10/06 06:50:27 fluxgen Exp $ |
23 | 23 | ||
24 | #ifndef FBTK_GCONTEXT_HH | 24 | #ifndef FBTK_GCONTEXT_HH |
25 | #define FBTK_GCONTEXT_HH | 25 | #define FBTK_GCONTEXT_HH |
@@ -66,8 +66,12 @@ public: | |||
66 | XSetBackground(m_display, m_gc, pixel_value); | 66 | XSetBackground(m_display, m_gc, pixel_value); |
67 | } | 67 | } |
68 | 68 | ||
69 | inline void setTile(Drawable draw) { | ||
70 | XSetTile(m_display, m_gc, draw); | ||
71 | } | ||
72 | |||
69 | inline void setTile(const FbTk::FbPixmap &draw) { | 73 | inline void setTile(const FbTk::FbPixmap &draw) { |
70 | XSetTile(m_display, m_gc, draw.drawable()); | 74 | setTile(draw.drawable()); |
71 | } | 75 | } |
72 | 76 | ||
73 | /// not implemented | 77 | /// not implemented |