diff options
| author | Greg Ercolano <erco@seriss.com> | 2012-06-12 18:32:36 +0000 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2012-06-12 18:32:36 +0000 |
| commit | 1e9a7ae21d198cac674a3cd5721dc839d32fb9ca (patch) | |
| tree | 7f60c41515fea3b86f9eca40f1db34fd8ad775e7 /examples | |
| parent | 3ce92f408f22028d2f70169e2604fc2d8e82704e (diff) | |
Removed unused argument..
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9590 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/table-sort.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/table-sort.cxx b/examples/table-sort.cxx index 49a8afd58..aef19a538 100644 --- a/examples/table-sort.cxx +++ b/examples/table-sort.cxx @@ -93,7 +93,7 @@ protected: void draw_cell(TableContext context, int R=0, int C=0, // table cell drawing int X=0, int Y=0, int W=0, int H=0); void sort_column(int col, int reverse=0); // sort table by a column - void draw_sort_arrow(int X,int Y,int W,int H,int sort); + void draw_sort_arrow(int X,int Y,int W,int H); public: // Ctor @@ -116,7 +116,7 @@ void MyTable::sort_column(int col, int reverse) { } // Draw sort arrow -void MyTable::draw_sort_arrow(int X,int Y,int W,int H,int sort) { +void MyTable::draw_sort_arrow(int X,int Y,int W,int H) { int xlft = X+(W-6)-8; int xctr = X+(W-6)-4; int xrit = X+(W-6)-0; @@ -155,7 +155,7 @@ void MyTable::draw_cell(TableContext context, int R, int C, int X, int Y, int W, fl_draw(head[C], X+2,Y,W,H, FL_ALIGN_LEFT, 0, 0); // +2=pad left // Draw sort arrow if ( C == _sort_lastcol ) { - draw_sort_arrow(X,Y,W,H, _sort_reverse); + draw_sort_arrow(X,Y,W,H); } } } |
