summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-09-26 06:26:59 +0000
committerManolo Gouy <Manolo>2016-09-26 06:26:59 +0000
commit7698a4b98e089cf83ea201f6483558fa71b3ac04 (patch)
tree61b439be6e13987fba54f36564924057cd495de0 /FL
parent34f5e4f752b49efe750072b6f09fd451af891513 (diff)
MacOS platform: centralize check whether a font has been set before drawing text
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11979 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_Graphics_Driver.H2
1 files changed, 1 insertions, 1 deletions
diff --git a/FL/Fl_Graphics_Driver.H b/FL/Fl_Graphics_Driver.H
index 407e490df..2f550124b 100644
--- a/FL/Fl_Graphics_Driver.H
+++ b/FL/Fl_Graphics_Driver.H
@@ -271,7 +271,7 @@ public:
/** Return the current line descent */
virtual int descent() { return 0; }
/** Return the current Fl_Font_Descriptor */
- virtual Fl_Font_Descriptor *font_descriptor() { return font_descriptor_;}
+ inline Fl_Font_Descriptor *font_descriptor() { return font_descriptor_;}
/** Set the current Fl_Font_Descriptor */
virtual void font_descriptor(Fl_Font_Descriptor *d) { font_descriptor_ = d;}
/** see fl_draw_image(const uchar* buf, int X,int Y,int W,int H, int D, int L) */