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 /src/Fl_Image.cxx | |
| 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 'src/Fl_Image.cxx')
| -rw-r--r-- | src/Fl_Image.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Fl_Image.cxx b/src/Fl_Image.cxx index f4bf30b3e..b02d43f75 100644 --- a/src/Fl_Image.cxx +++ b/src/Fl_Image.cxx @@ -297,6 +297,8 @@ int Fl_Image::draw_scaled(int X, int Y, int W, int H) { return 1; } +/** True after fl_register_images() was called, false before */ +bool Fl_Image::register_images_done = false; // // RGB image class... |
