mirror of https://github.com/fltk/fltk
Change Fl_Terminal default color() 0x0 -> FL_BLACK
This commit is contained in:
parent
6252131017
commit
7c95aa7c79
|
@ -48,7 +48,7 @@ int main(int argc, char **argv) {
|
||||||
|
|
||||||
G_win->end();
|
G_win->end();
|
||||||
G_win->resizable(G_win);
|
G_win->resizable(G_win);
|
||||||
G_win->show();
|
G_win->show(argc, argv);
|
||||||
Fl::add_timeout(0.5, tick_cb);
|
Fl::add_timeout(0.5, tick_cb);
|
||||||
return Fl::run();
|
return Fl::run();
|
||||||
}
|
}
|
||||||
|
|
|
@ -3147,7 +3147,7 @@ void Fl_Terminal::init_(int X,int Y,int W,int H,const char*L,int rows,int cols,i
|
||||||
vscroll_->callback(scrollbar_cb, (void*)this);
|
vscroll_->callback(scrollbar_cb, (void*)this);
|
||||||
resizable(0);
|
resizable(0);
|
||||||
Fl_Group::box(FL_DOWN_FRAME);
|
Fl_Group::box(FL_DOWN_FRAME);
|
||||||
Fl_Group::color(0x0); // black bg by default
|
Fl_Group::color(FL_BLACK); // black bg by default
|
||||||
update_screen(true); // update internal vars after setting screen size/font
|
update_screen(true); // update internal vars after setting screen size/font
|
||||||
clear_screen_home(); // clear screen, home cursor
|
clear_screen_home(); // clear screen, home cursor
|
||||||
clear_history(); // clear history buffer
|
clear_history(); // clear history buffer
|
||||||
|
|
Loading…
Reference in New Issue