summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2018-07-10 10:51:02 +0000
committerManolo Gouy <Manolo>2018-07-10 10:51:02 +0000
commit99cf1dd8581efde273680a92f8986ad4991857a6 (patch)
tree99ab7a8992b9ce0e043445cc745d0a31c3636ab6
parent305e5dd21ecb24aca4c2098f6fd7c0b097765a6b (diff)
Make Fl_Graphics_Driver::newMainGraphicsDriver() public rather than private.
An FLTK app may be interested in calling it. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12991 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--FL/Fl_Graphics_Driver.H6
1 files changed, 2 insertions, 4 deletions
diff --git a/FL/Fl_Graphics_Driver.H b/FL/Fl_Graphics_Driver.H
index 01646b446..3057d127e 100644
--- a/FL/Fl_Graphics_Driver.H
+++ b/FL/Fl_Graphics_Driver.H
@@ -146,11 +146,9 @@ private:
// some platforms may need to reimplement this
virtual void set_current_();
float scale_; // scale between FLTK and drawing coordinates: drawing = FLTK * scale_
- // The following function creates the graphics driver that is required
- // for core operations. It must be implemented as a member of Fl_Graphics_Driver,
- // but located in the device driver module that is linked to the core library.
- static Fl_Graphics_Driver *newMainGraphicsDriver();
public:
+ /** Creates the graphics driver that is used for core operations. */
+ static Fl_Graphics_Driver *newMainGraphicsDriver();
/** A 2D coordinate transformation matrix */
struct matrix {double a, b, c, d, x, y;};
/** Features that a derived class may possess. */