From 8824f284fa4f431e0dc1961bccdcb2f4e50958ee Mon Sep 17 00:00:00 2001 From: Vedran Ljubovic Date: Tue, 17 Jul 2007 19:15:21 +0000 Subject: [PATCH] Implement get_icon() method... it's useful sometimes --- efiler/Fl_Icon_Browser.cxx | 2 ++ efiler/Fl_Icon_Browser.h | 1 + 2 files changed, 3 insertions(+) diff --git a/efiler/Fl_Icon_Browser.cxx b/efiler/Fl_Icon_Browser.cxx index ba968fb..65b2300 100644 --- a/efiler/Fl_Icon_Browser.cxx +++ b/efiler/Fl_Icon_Browser.cxx @@ -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 $". diff --git a/efiler/Fl_Icon_Browser.h b/efiler/Fl_Icon_Browser.h index 5dfec54..6853feb 100644 --- a/efiler/Fl_Icon_Browser.h +++ b/efiler/Fl_Icon_Browser.h @@ -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); };