git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12530 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
a27da5e582
commit
2a3e869210
@ -293,7 +293,7 @@ public:
|
||||
Sets the default font used when drawing text in the widget.
|
||||
\param s default text font face
|
||||
*/
|
||||
void textfont(Fl_Font s) {textfont_ = s; mColumnScale = 0; recalc_display(); }
|
||||
void textfont(Fl_Font s) {textfont_ = s; mColumnScale = 0; }
|
||||
|
||||
/**
|
||||
Gets the default size of text in the widget.
|
||||
@ -305,7 +305,7 @@ public:
|
||||
Sets the default size of text in the widget.
|
||||
\param s new text size
|
||||
*/
|
||||
void textsize(Fl_Fontsize s) {textsize_ = s; mColumnScale = 0; recalc_display(); }
|
||||
void textsize(Fl_Fontsize s) {textsize_ = s; mColumnScale = 0; }
|
||||
|
||||
/**
|
||||
Gets the default color of text in the widget.
|
||||
|
@ -3663,6 +3663,7 @@ void Fl_Text_Display::draw(void) {
|
||||
|
||||
// draw the non-text, non-scrollbar areas.
|
||||
if (damage() & FL_DAMAGE_ALL) {
|
||||
recalc_display();
|
||||
// printf("drawing all (box = %d)\n", box());
|
||||
if (Fl_Surface_Device::surface() != Fl_Display_Device::display_device()) {
|
||||
// if to printer, draw the background
|
||||
|
Loading…
Reference in New Issue
Block a user