summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGreg Ercolano <erco@seriss.com>2009-09-07 21:17:08 +0000
committerGreg Ercolano <erco@seriss.com>2009-09-07 21:17:08 +0000
commite60b85f94cdf4058c1a9e2b5d5133e2d9b46ca44 (patch)
tree594977fd009006c5728f067dd1535d2615c294f0 /src
parent89870d011408f52119431bd110789af17854581b (diff)
Small mod to FL_BLINE to follow similar mod in Fl_Browser's FL_BLINE
which was made in order to solve STR #1739. Thanks to SebHoll for pointing this out. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6851 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/Fl_File_Browser.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Fl_File_Browser.cxx b/src/Fl_File_Browser.cxx
index 01b0eb56c..08f51f7c3 100644
--- a/src/Fl_File_Browser.cxx
+++ b/src/Fl_File_Browser.cxx
@@ -42,6 +42,7 @@
#include <FL/Fl_File_Browser.H>
#include <FL/fl_draw.H>
#include <FL/filename.H>
+#include <FL/Fl_Image.H> // icon
#include <stdio.h>
#include <stdlib.h>
#include "flstring.h"
@@ -85,6 +86,7 @@ struct FL_BLINE // data is in a linked list of these
FL_BLINE *prev; // Previous item in list
FL_BLINE *next; // Next item in list
void *data; // Pointer to data (function)
+ Fl_Image *icon; // Pointer to optional icon
short length; // sizeof(txt)-1, may be longer than string
char flags; // selected, displayed
char txt[1]; // start of allocated array