aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/GContext.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2004-07-06 10:47:36 (GMT)
committerfluxgen <fluxgen>2004-07-06 10:47:36 (GMT)
commitc213fb6ca2ed68722152df2d07ede6860846786b (patch)
treed294c151d95a0a01829cc35e42300bc84e83cb08 /src/FbTk/GContext.hh
parent5bb98e087509b0b28b65888243856f5fec5eb922 (diff)
downloadfluxbox-c213fb6ca2ed68722152df2d07ede6860846786b.zip
fluxbox-c213fb6ca2ed68722152df2d07ede6860846786b.tar.bz2
fixed minor bug
Diffstat (limited to 'src/FbTk/GContext.hh')
-rw-r--r--src/FbTk/GContext.hh6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/FbTk/GContext.hh b/src/FbTk/GContext.hh
index 57a467e..4327c97 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.9 2004/03/22 20:56:15 fluxgen Exp $ 22// $Id: GContext.hh,v 1.10 2004/07/06 10:47:36 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,6 +66,10 @@ 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(const FbTk::FbPixmap &draw) {
70 XSetTile(m_display, m_gc, draw.drawable());
71 }
72
69 /// not implemented 73 /// not implemented
70 inline void setFont(const FbTk::Font &) {} 74 inline void setFont(const FbTk::Font &) {}
71 75