From 9c789b0e69d7d2e0502965f48131085ce76488d3 Mon Sep 17 00:00:00 2001 From: engelsman Date: Tue, 30 Sep 2008 22:22:49 +0000 Subject: doxygen comments for undocumented features of Fl_File_Chooser - needed to use new doxygen comment feature in fluid to provide comments for the various static const char* member variables (eg add_favorites_label). I had not been able to work out how to add the comments "out-of-code" in src/Fl_File_Chooser2.cxx without getting unpredictable end-results. - needed to add doxygen comments for newButton and previewButton to the "out-of-code" comments in src/Fl_File_Chooser2.cxx because the new doxygen comment feature in fluid doesn't extend to widget member variables :-( - added some missing "out-of-code" comments about customization/copying. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6358 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_File_Chooser.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Fl_File_Chooser.cxx') diff --git a/src/Fl_File_Chooser.cxx b/src/Fl_File_Chooser.cxx index 672d1a3ed..40df826cf 100644 --- a/src/Fl_File_Chooser.cxx +++ b/src/Fl_File_Chooser.cxx @@ -173,7 +173,7 @@ Fl_File_Chooser::Fl_File_Chooser(const char *d, const char *p, int t, const char { favoritesButton = new Fl_Menu_Button(290, 10, 155, 25, "Favorites"); favoritesButton->down_box(FL_BORDER_BOX); favoritesButton->callback((Fl_Callback*)cb_favoritesButton); - favoritesButton->align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE); + favoritesButton->align(Fl_Align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE)); favoritesButton->label(favorites_label); } // Fl_Menu_Button* favoritesButton { Fl_Button* o = newButton = new Fl_Button(455, 10, 25, 25); @@ -194,7 +194,7 @@ Fl_File_Chooser::Fl_File_Chooser(const char *d, const char *p, int t, const char { previewBox = new Fl_Box(305, 45, 175, 225, "?"); previewBox->box(FL_DOWN_BOX); previewBox->labelsize(100); - previewBox->align(FL_ALIGN_CLIP|FL_ALIGN_INSIDE); + previewBox->align(Fl_Align(FL_ALIGN_CLIP|FL_ALIGN_INSIDE)); } // Fl_Box* previewBox o->end(); Fl_Group::current()->resizable(o); @@ -222,7 +222,7 @@ Fl_File_Chooser::Fl_File_Chooser(const char *d, const char *p, int t, const char } // Fl_File_Input* fileName { Fl_Box* o = new Fl_Box(10, 310, 105, 25, "Filename:"); o->labelfont(1); - o->align(FL_ALIGN_RIGHT|FL_ALIGN_INSIDE); + o->align(Fl_Align(FL_ALIGN_RIGHT|FL_ALIGN_INSIDE)); o->label(filename_label); } // Fl_Box* o { Fl_Group* o = new Fl_Group(10, 345, 470, 25); -- cgit v1.2.3