summaryrefslogtreecommitdiff
path: root/src/Fl_File_Browser.cxx
diff options
context:
space:
mode:
authorGreg Ercolano <erco@seriss.com>2009-09-09 05:16:41 +0000
committerGreg Ercolano <erco@seriss.com>2009-09-09 05:16:41 +0000
commitee1cd223a9806c97f425352d5dfee20e3492c5c8 (patch)
treea26624dd314075ca85769423470c531dc6fc865a /src/Fl_File_Browser.cxx
parent0e29d4a553cd28049c4ba03b2d79f25fcab0edeb (diff)
Added warnings re: duplicate definition of Fl_Browser.cxx's private FL_BLINE
struct in Fl_File_Browser.cxx. Currently changes to one struct must be manually kept in sync with the other. todo: Fl_File_Browser should be fixed to not do this. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6853 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_File_Browser.cxx')
-rw-r--r--src/Fl_File_Browser.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Fl_File_Browser.cxx b/src/Fl_File_Browser.cxx
index 08f51f7c3..d19a19231 100644
--- a/src/Fl_File_Browser.cxx
+++ b/src/Fl_File_Browser.cxx
@@ -81,6 +81,11 @@
#define SELECTED 1
#define NOTDISPLAYED 2
+// TODO -- Warning: The definition of FL_BLINE here is a hack.
+// Fl_File_Browser should not do this. PLEASE FIX.
+// FL_BLINE should be private to Fl_Browser, and not re-defined here.
+// For now, make sure this struct is precisely consistent with Fl_Browser.cxx.
+//
struct FL_BLINE // data is in a linked list of these
{
FL_BLINE *prev; // Previous item in list