From ffd26dfc452b94f631df22497de561791e5ce8d0 Mon Sep 17 00:00:00 2001 From: Bill Spitzak Date: Tue, 11 Apr 2000 08:11:56 +0000 Subject: I made FL_NORMAL_SIZE into a public int variable. You can now change it before any widgets are created, in order to change the default size of the fonts used. The most useful thing that can be done is to set it to 12 so that the default font size matches Win32. I also fixed the menubar drawing a bit so that a menubar with a FL_FLAT_BOX draws correctly. It should also be documented that "Fl::set_color(Fl_Color(15),0,0,128);" can be used to get Win32-style highlighting of menus and text items. This is not portable to fltk 2.0. With these changes it should be easier to get fltk to look just like Win32. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1062 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Browser_.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Fl_Browser_.cxx') diff --git a/src/Fl_Browser_.cxx b/src/Fl_Browser_.cxx index d57ed6df3..b28dc3b8f 100644 --- a/src/Fl_Browser_.cxx +++ b/src/Fl_Browser_.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Browser_.cxx,v 1.10.2.10 2000/03/17 09:38:18 bill Exp $" +// "$Id: Fl_Browser_.cxx,v 1.10.2.11 2000/04/11 08:11:51 bill Exp $" // // Base Browser widget class for the Fast Light Tool Kit (FLTK). // @@ -62,7 +62,7 @@ static void hscrollbar_callback(Fl_Widget* s, void*) { ((Fl_Browser_*)(s->parent()))->hposition(int(((Fl_Scrollbar*)s)->value())); } -int Fl_Browser_::scrollbar_width_ = 17; +int Fl_Browser_::scrollbar_width_ = 16; // return where to draw the actual box: void Fl_Browser_::bbox(int& X, int& Y, int& W, int& H) const { @@ -700,5 +700,5 @@ void Fl_Browser_::item_select(void*, int) {} int Fl_Browser_::item_selected(void* l) const {return l==selection_;} // -// End of "$Id: Fl_Browser_.cxx,v 1.10.2.10 2000/03/17 09:38:18 bill Exp $". +// End of "$Id: Fl_Browser_.cxx,v 1.10.2.11 2000/04/11 08:11:51 bill Exp $". // -- cgit v1.2.3