aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/FbTk/GContext.hh8
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