diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2020-01-30 18:54:18 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2020-01-30 18:54:18 +0100 |
| commit | 325c4b8666b16bfcb4458047d0d57a81b5456a70 (patch) | |
| tree | a58669bf0fd96bfcd7f56042c8b443d3bc752a7a /FL | |
| parent | fbf20b7225ffc51a7d5d046330852762bab2c1b2 (diff) | |
New public static variable bool Fl_Image::register_images_done
Allows an app to detect whether fl_register_images() was called or not.
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_Image.H | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/FL/Fl_Image.H b/FL/Fl_Image.H index 687aa6057..c6fb55967 100644 --- a/FL/Fl_Image.H +++ b/FL/Fl_Image.H @@ -226,6 +226,7 @@ public: static void scaling_algorithm(Fl_RGB_Scaling algorithm) {scaling_algorithm_ = algorithm; } /** Gets what algorithm is used when resizing a source image to draw it. */ static Fl_RGB_Scaling scaling_algorithm() {return scaling_algorithm_;} + static bool register_images_done; }; |
