diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl.cxx | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/src/Fl.cxx b/src/Fl.cxx index 6b1d8515b..f00952d85 100644 --- a/src/Fl.cxx +++ b/src/Fl.cxx @@ -127,16 +127,33 @@ char const * const Fl::clipboard_image = "image"; // 'Fl::version()' - Return the API version number... // -double /** Returns the compiled-in value of the FL_VERSION constant. This is useful for checking the version of a shared library. + + \deprecated Use int Fl::api_version() instead. */ -Fl::version() { +double Fl::version() { return FL_VERSION; } /** + Returns the compiled-in value of the FL_API_VERSION constant. This + is useful for checking the version of a shared library. +*/ +int Fl::api_version() { + return FL_API_VERSION; +} + +/** + Returns the compiled-in value of the FL_ABI_VERSION constant. This + is useful for checking the version of a shared library. +*/ +int Fl::abi_version() { + return FL_ABI_VERSION; +} + +/** Gets the default scrollbar size used by Fl_Browser_, Fl_Help_View, |
