From e72fa007e7468a5c4e73533a93fa929650f94013 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Fri, 9 Dec 2022 22:51:37 +0100 Subject: Make Fl_ICO_Image::idcount() const ... and fix docs and alignment --- FL/Fl_ICO_Image.H | 8 +++++--- 1 file 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: -- cgit v1.2.3