summaryrefslogtreecommitdiff
path: root/FL/Fl_Table.H
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2011-10-02 06:25:13 +0000
committerMatthias Melcher <fltk@matthiasm.com>2011-10-02 06:25:13 +0000
commitc1caad3e62a5621f03047ffe68d985bba94f3fcf (patch)
tree446db7d138da12ada88ca31f4f7008d3bd5655ae /FL/Fl_Table.H
parente3b758c6f040946cdbdfe2473def2ce14f327873 (diff)
STR 2714: remove lint (variables that have the same name as a function in the same scope).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9116 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Table.H')
-rw-r--r--FL/Fl_Table.H46
1 files changed, 23 insertions, 23 deletions
diff --git a/FL/Fl_Table.H b/FL/Fl_Table.H
index 73a772637..fed50fb72 100644
--- a/FL/Fl_Table.H
+++ b/FL/Fl_Table.H
@@ -449,19 +449,19 @@ protected:
void damage_zone(int r1, int c1, int r2, int c2, int r3 = 0, int c3 = 0);
- void redraw_range(int toprow, int botrow, int leftcol, int rightcol) {
+ void redraw_range(int topRow, int botRow, int leftCol, int rightCol) {
if ( _redraw_toprow == -1 ) {
// Initialize redraw range
- _redraw_toprow = toprow;
- _redraw_botrow = botrow;
- _redraw_leftcol = leftcol;
- _redraw_rightcol = rightcol;
+ _redraw_toprow = topRow;
+ _redraw_botrow = botRow;
+ _redraw_leftcol = leftCol;
+ _redraw_rightcol = rightCol;
} else {
// Extend redraw range
- if ( toprow < _redraw_toprow ) _redraw_toprow = toprow;
- if ( botrow > _redraw_botrow ) _redraw_botrow = botrow;
- if ( leftcol < _redraw_leftcol ) _redraw_leftcol = leftcol;
- if ( rightcol > _redraw_rightcol ) _redraw_rightcol = rightcol;
+ if ( topRow < _redraw_toprow ) _redraw_toprow = topRow;
+ if ( botRow > _redraw_botrow ) _redraw_botrow = botRow;
+ if ( leftCol < _redraw_leftcol ) _redraw_leftcol = leftCol;
+ if ( rightCol > _redraw_rightcol ) _redraw_rightcol = rightCol;
}
// Indicate partial redraw needed of some cells
@@ -852,25 +852,25 @@ public:
table->init_sizes();
table->redraw();
}
- void add(Fl_Widget& w) {
- table->add(w);
+ void add(Fl_Widget& wgt) {
+ table->add(wgt);
if ( table->children() > 2 ) {
table->show();
} else {
table->hide();
}
}
- void add(Fl_Widget* w) {
- add(*w);
+ void add(Fl_Widget* wgt) {
+ add(*wgt);
}
- void insert(Fl_Widget& w, int n) {
- table->insert(w,n);
+ void insert(Fl_Widget& wgt, int n) {
+ table->insert(wgt,n);
}
- void insert(Fl_Widget& w, Fl_Widget* w2) {
- table->insert(w,w2);
+ void insert(Fl_Widget& wgt, Fl_Widget* w2) {
+ table->insert(wgt,w2);
}
- void remove(Fl_Widget& w) {
- table->remove(w);
+ void remove(Fl_Widget& wgt) {
+ table->remove(wgt);
}
void begin() {
table->begin();
@@ -920,11 +920,11 @@ public:
int children() const {
return(table->children()-2); // -2: skip Fl_Scroll's h/v scrollbar widgets
}
- int find(const Fl_Widget *w) const {
- return(table->find(w));
+ int find(const Fl_Widget *wgt) const {
+ return(table->find(wgt));
}
- int find(const Fl_Widget &w) const {
- return(table->find(w));
+ int find(const Fl_Widget &wgt) const {
+ return(table->find(wgt));
}
// CALLBACKS