summaryrefslogtreecommitdiff
path: root/src/fl_font.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2016-04-17 14:22:02 +0000
committerMatthias Melcher <fltk@matthiasm.com>2016-04-17 14:22:02 +0000
commitcc57af841a11ee314efca6a434ff14bed51706e4 (patch)
treef3080908a464e23d2c24c3643a049afc4f449708 /src/fl_font.cxx
parenta4e5dc0267bf972b5897aec0f167b3e2d9488a8c (diff)
virtualizes fl_set_spot and fl_reset_spot
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11640 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/fl_font.cxx')
-rw-r--r--src/fl_font.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/fl_font.cxx b/src/fl_font.cxx
index 727eda493..530030874 100644
--- a/src/fl_font.cxx
+++ b/src/fl_font.cxx
@@ -50,6 +50,17 @@ void fl_text_extents(const char *c, int &dx, int &dy, int &w, int &h) {
void fl_draw(const char* str, int l, float x, float y) {
fl_graphics_driver->draw(str, l, x, y);
}
+
+void fl_set_spot(int font, int size, int X, int Y, int W, int H, Fl_Window *win)
+{
+ fl_graphics_driver->set_spot(font, size, X, Y, W, H, win);
+}
+
+void fl_reset_spot()
+{
+ fl_graphics_driver->reset_spot();
+}
+
//
// End of "$Id$".
//