summaryrefslogtreecommitdiff
path: root/fluid
diff options
context:
space:
mode:
authorBill Spitzak <spitzak@gmail.com>2000-09-23 08:15:12 +0000
committerBill Spitzak <spitzak@gmail.com>2000-09-23 08:15:12 +0000
commit59c2b2dd318eada2fcead87fc68d84cba57d6a94 (patch)
treec3923fd1d9865a61ec026f9ff06c66bc43b32e93 /fluid
parentec8ebc1ef750686ffe992d84be747c31aae9f93d (diff)
Fixed size of data written by gif images to .C files
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1305 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid')
-rw-r--r--fluid/Fl_Type.cxx7
-rw-r--r--fluid/gif.cxx6
2 files changed, 7 insertions, 6 deletions
diff --git a/fluid/Fl_Type.cxx b/fluid/Fl_Type.cxx
index 133a6ce21..3ec9ef340 100644
--- a/fluid/Fl_Type.cxx
+++ b/fluid/Fl_Type.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_Type.cxx,v 1.6.2.3 2000/06/05 21:20:37 mike Exp $"
+// "$Id: Fl_Type.cxx,v 1.6.2.4 2000/09/23 08:15:11 spitzak Exp $"
//
// Widget type code for the Fast Light Tool Kit (FLTK).
//
@@ -130,7 +130,8 @@ extern const char* subclassname(Fl_Type*);
void Widget_Browser::item_draw(void *v, int x, int y, int, int) const {
Fl_Type *l = (Fl_Type *)v;
x += 3 + l->level * 10;
- fl_color(FL_BLACK);
+ if (l->new_selected) fl_color(contrast(FL_BLACK,FL_SELECTION_COLOR));
+ else fl_color(FL_BLACK);
if (l->is_parent()) {
if (!l->next || l->next->level <= l->level) {
if (l->open_!=(l==pushedtitle)) {
@@ -665,5 +666,5 @@ void Fl_Type::read_property(const char *c) {
int Fl_Type::read_fdesign(const char*, const char*) {return 0;}
//
-// End of "$Id: Fl_Type.cxx,v 1.6.2.3 2000/06/05 21:20:37 mike Exp $".
+// End of "$Id: Fl_Type.cxx,v 1.6.2.4 2000/09/23 08:15:11 spitzak Exp $".
//
diff --git a/fluid/gif.cxx b/fluid/gif.cxx
index f09bc6a82..4e22cf903 100644
--- a/fluid/gif.cxx
+++ b/fluid/gif.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: gif.cxx,v 1.3.2.3 2000/07/07 08:38:58 spitzak Exp $"
+// "$Id: gif.cxx,v 1.3.2.4 2000/09/23 08:15:12 spitzak Exp $"
//
// GIF support for the Fast Light Tool Kit (FLTK).
//
@@ -355,9 +355,9 @@ int gif2xpm(
}
data[Height+2] = 0; // null to end string array
- return Height+1;
+ return Height+2;
}
//
-// End of "$Id: gif.cxx,v 1.3.2.3 2000/07/07 08:38:58 spitzak Exp $".
+// End of "$Id: gif.cxx,v 1.3.2.4 2000/09/23 08:15:12 spitzak Exp $".
//