diff options
Diffstat (limited to 'src/FbTk/GContext.hh')
-rw-r--r-- | src/FbTk/GContext.hh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/FbTk/GContext.hh b/src/FbTk/GContext.hh index a5e41c2..047de6f 100644 --- a/src/FbTk/GContext.hh +++ b/src/FbTk/GContext.hh | |||
@@ -93,7 +93,7 @@ public: | |||
93 | inline void setFont(int fid) { | 93 | inline void setFont(int fid) { |
94 | XSetFont(m_display, m_gc, fid); | 94 | XSetFont(m_display, m_gc, fid); |
95 | } | 95 | } |
96 | 96 | #ifdef NOT_USED | |
97 | inline void setClipMask(const FbTk::FbPixmap &mask) { | 97 | inline void setClipMask(const FbTk::FbPixmap &mask) { |
98 | XSetClipMask(m_display, m_gc, mask.drawable()); | 98 | XSetClipMask(m_display, m_gc, mask.drawable()); |
99 | } | 99 | } |
@@ -101,7 +101,7 @@ public: | |||
101 | inline void setClipOrigin(int x, int y) { | 101 | inline void setClipOrigin(int x, int y) { |
102 | XSetClipOrigin(m_display, m_gc, x, y); | 102 | XSetClipOrigin(m_display, m_gc, x, y); |
103 | } | 103 | } |
104 | 104 | #endif | |
105 | inline void setGraphicsExposure(bool value) { | 105 | inline void setGraphicsExposure(bool value) { |
106 | XSetGraphicsExposures(m_display, m_gc, value); | 106 | XSetGraphicsExposures(m_display, m_gc, value); |
107 | } | 107 | } |
@@ -116,10 +116,11 @@ public: | |||
116 | inline void setFillStyle(int style) { | 116 | inline void setFillStyle(int style) { |
117 | XSetFillStyle(m_display, m_gc, style); | 117 | XSetFillStyle(m_display, m_gc, style); |
118 | } | 118 | } |
119 | #ifdef NOT_USED | ||
119 | inline void setFillRule(int rule) { | 120 | inline void setFillRule(int rule) { |
120 | XSetFillRule(m_display, m_gc, rule); | 121 | XSetFillRule(m_display, m_gc, rule); |
121 | } | 122 | } |
122 | 123 | #endif | |
123 | inline void setLineAttributes(unsigned int width, | 124 | inline void setLineAttributes(unsigned int width, |
124 | int line_style, | 125 | int line_style, |
125 | int cap_style, | 126 | int cap_style, |