mirror of
https://github.com/fltk/fltk.git
synced 2025-12-11 05:31:07 +08:00
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:
@@ -34,7 +34,7 @@
|
||||
//
|
||||
|
||||
#include <FL/Fl.H>
|
||||
#include <FL/Fl_Window.H>
|
||||
#include <FL/Fl_Double_Window.H>
|
||||
#include <FL/fl_draw.H>
|
||||
#include <FL/Fl_Table_Row.H>
|
||||
|
||||
@@ -269,7 +269,7 @@ void MyTable::event_callback2() {
|
||||
}
|
||||
|
||||
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);
|
||||
table.selection_color(FL_YELLOW);
|
||||
table.col_header(1);
|
||||
|
||||
Reference in New Issue
Block a user