diff options
| author | Manolo Gouy <Manolo> | 2016-02-18 16:21:51 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-02-18 16:21:51 +0000 |
| commit | f33b45f1d30653fb5da4817089e38ff0a2413cfb (patch) | |
| tree | 9edc759690defa581b00b6ada80bb334f4ac5da8 /FL/Fl_Device.H | |
| parent | 6ce27012a9412c4964e0ae40c81ea92ff39a61d3 (diff) | |
Remove all uses of the fl_gc global variable. Towards a clean driver model.
fl_gc remains usable by the application as a hook into the system.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11189 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Device.H')
| -rw-r--r-- | FL/Fl_Device.H | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/FL/Fl_Device.H b/FL/Fl_Device.H index cff6e228e..69b7f5d03 100644 --- a/FL/Fl_Device.H +++ b/FL/Fl_Device.H @@ -45,7 +45,8 @@ public: static const char *class_id; /** Returns the name of the class of this object. - Use of the class_name() function is discouraged because it will be removed from future FLTK versions. + The class_name() function is deprecated. + The preferred procedure is to use the Fl_Graphics_Driver::has_feature() member function. The class of an instance of an Fl_Device subclass can be checked with code such as: \code |
