aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/GContext.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/GContext.hh')
-rw-r--r--src/FbTk/GContext.hh7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/FbTk/GContext.hh b/src/FbTk/GContext.hh
index 636c054..29e8f0d 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.1 2003/08/27 13:45:11 fluxgen Exp $ 22// $Id: GContext.hh,v 1.2 2003/09/10 21:27:02 fluxgen Exp $
23 23
24#ifndef FBTK_GCONTEXT_HH 24#ifndef FBTK_GCONTEXT_HH
25#define FBTK_GCONTEXT_HH 25#define FBTK_GCONTEXT_HH
@@ -44,11 +44,14 @@ public:
44 virtual ~GContext(); 44 virtual ~GContext();
45 45
46 void setForeground(const FbTk::Color &color); 46 void setForeground(const FbTk::Color &color);
47 void setForeground(long pixel_value);
47 void setBackground(const FbTk::Color &color); 48 void setBackground(const FbTk::Color &color);
49 void setBackground(long pixel_value);
48 void setFont(const FbTk::Font &font); 50 void setFont(const FbTk::Font &font);
49 void setClipMask(const FbTk::FbPixmap &pm); 51 void setClipMask(const FbTk::FbPixmap &pm);
50 void setClipOrigin(int x, int y); 52 void setClipOrigin(int x, int y);
51 53 void setGraphicsExposure(bool value);
54
52 GC gc() const { return m_gc; } 55 GC gc() const { return m_gc; }
53 56
54private: 57private: