summaryrefslogtreecommitdiff
path: root/FL/Fl_ICO_Image.H
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2022-12-09 22:51:37 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2022-12-09 22:51:37 +0100
commite72fa007e7468a5c4e73533a93fa929650f94013 (patch)
tree4a6f999f291b78d28d0cf68b504cb3475cf711ba /FL/Fl_ICO_Image.H
parentceb268fd3436998d03e56856065b3d5ba8201b3f (diff)
Make Fl_ICO_Image::idcount() const
... and fix docs and alignment
Diffstat (limited to 'FL/Fl_ICO_Image.H')
-rw-r--r--FL/Fl_ICO_Image.H8
1 files changed, 5 insertions, 3 deletions
diff --git a/FL/Fl_ICO_Image.H b/FL/Fl_ICO_Image.H
index 9693cc545..a6e9faaaf 100644
--- a/FL/Fl_ICO_Image.H
+++ b/FL/Fl_ICO_Image.H
@@ -41,9 +41,11 @@ public:
Fl_ICO_Image(const char *filename, int id = -1, const unsigned char *data = NULL, const size_t datasize = 0);
~Fl_ICO_Image();
-/** Gives the number of icons of various resolutions present in the ICO object */
- int idcount() { return idcount_; }
- /** Returns the array of idcount() loaded IconDirEntry structures */
+
+ /** Returns the number of icons of various resolutions present in the ICO object. */
+ int idcount() const { return idcount_; }
+
+ /** Returns the array of idcount() loaded IconDirEntry structures. */
IconDirEntry * const icondirentry() const { return icondirentry_; }
private: