Use Fl_Double_Window in table-sort example because of flickering.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8182 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
bcff5beb33
commit
e5c3b267ff
@ -34,7 +34,7 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
#include <FL/Fl.H>
|
#include <FL/Fl.H>
|
||||||
#include <FL/Fl_Window.H>
|
#include <FL/Fl_Double_Window.H>
|
||||||
#include <FL/fl_draw.H>
|
#include <FL/fl_draw.H>
|
||||||
#include <FL/Fl_Table_Row.H>
|
#include <FL/Fl_Table_Row.H>
|
||||||
|
|
||||||
@ -269,7 +269,7 @@ void MyTable::event_callback2() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
Fl_Window win(900,500,"Table Sorting");
|
Fl_Double_Window win(900,500,"Table Sorting");
|
||||||
MyTable table(MARGIN, MARGIN, win.w()-MARGIN*2, win.h()-MARGIN*2);
|
MyTable table(MARGIN, MARGIN, win.w()-MARGIN*2, win.h()-MARGIN*2);
|
||||||
table.selection_color(FL_YELLOW);
|
table.selection_color(FL_YELLOW);
|
||||||
table.col_header(1);
|
table.col_header(1);
|
||||||
|
Loading…
Reference in New Issue
Block a user