summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2023-09-22 14:02:17 +0200
committerAlbrecht Schlosser <albrechts.fltk@online.de>2023-09-22 14:03:34 +0200
commitc02ecbcae20e4d86299a8e445ed116bf16924249 (patch)
tree53d50be1864bb1ab2a69bbca1d02e12861221812 /src
parent226a4ea784c5fa23c72dd19135c13e4d9c0f5769 (diff)
Regenerate src/Fl_File_Chooser.cxx from its fluid source file
Diffstat (limited to 'src')
-rw-r--r--src/Fl_File_Chooser.cxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/Fl_File_Chooser.cxx b/src/Fl_File_Chooser.cxx
index f295badd0..5cdb422f1 100644
--- a/src/Fl_File_Chooser.cxx
+++ b/src/Fl_File_Chooser.cxx
@@ -58,11 +58,14 @@ void Fl_File_Chooser::cb_newButton(Fl_Button* o, void* v) {
}
#include <FL/Fl_Bitmap.H>
+
static const unsigned char idata_new[] =
{0,0,120,0,132,0,2,1,1,254,1,128,49,128,49,128,253,128,253,128,49,128,49,
128,1,128,1,128,255,255,0,0};
static Fl_Image *image_new() {
- static Fl_Image *image = new Fl_Bitmap(idata_new, 16, 16);
+ static Fl_Image *image = NULL;
+ if (!image)
+ image = new Fl_Bitmap(idata_new, 32, 16, 16);
return image;
}
@@ -264,8 +267,8 @@ Fl_File_Chooser::Fl_File_Chooser(const char *d, const char *p, int t, const char
} // Fl_Group* o
o->end();
} // Fl_Group* o
- if (title) window->label(title);
window->set_modal();
+ if (title) window->label(title);
window->end();
} // Fl_Double_Window* window
{ favWindow = new Fl_Double_Window(355, 150, "Manage Favorites");
@@ -303,9 +306,9 @@ Fl_File_Chooser::Fl_File_Chooser(const char *d, const char *p, int t, const char
} // Fl_Box* o
o->end();
} // Fl_Group* o
- favWindow->label(manage_favorites_label);
favWindow->set_modal();
favWindow->size_range(181, 150);
+ favWindow->label(manage_favorites_label);
favWindow->end();
} // Fl_Double_Window* favWindow
callback_ = 0;