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
This commit is contained in:
parent
305e5dd21e
commit
99cf1dd858
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user