Implement get_icon() method... it's useful sometimes

This commit is contained in:
Vedran Ljubovic 2007-07-17 19:15:21 +00:00
parent 96d873572a
commit 8824f284fa
2 changed files with 3 additions and 0 deletions

View File

@ -592,6 +592,8 @@ void Fl_Icon_Browser::remove_icon(int line) {
}
}
Fl_Image* Fl_Icon_Browser::get_icon(int line) { return find_line(line)->icon; }
//
// End of "$Id: Fl_Icon_Browser.cxx 5190 2006-06-09 16:16:34Z mike $".

View File

@ -133,6 +133,7 @@ public:
// icon support
void set_icon(int line, Fl_Image* icon);
void remove_icon(int line);
Fl_Image* get_icon(int line);
};