summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Widget.cxx2
-rw-r--r--src/fl_boxtype.cxx12
2 files changed, 7 insertions, 7 deletions
diff --git a/src/Fl_Widget.cxx b/src/Fl_Widget.cxx
index e1fa13b79..d41af782e 100644
--- a/src/Fl_Widget.cxx
+++ b/src/Fl_Widget.cxx
@@ -152,7 +152,7 @@ Fl_Widget::~Fl_Widget() {
fl_throw_focus(this);
}
-/** Draws a focus box for the widget at position X,Y with size W,H. */
+/** Draws a focus box for the widget at the given position and size */
void
Fl_Widget::draw_focus(Fl_Boxtype B, int X, int Y, int W, int H) const {
if (!Fl::visible_focus()) return;
diff --git a/src/fl_boxtype.cxx b/src/fl_boxtype.cxx
index 4c853bf2d..bbd960eb6 100644
--- a/src/fl_boxtype.cxx
+++ b/src/fl_boxtype.cxx
@@ -408,14 +408,14 @@ void Fl_Widget::draw_box() const {
// }
draw_box((Fl_Boxtype)t, x_, y_, w_, h_, (Fl_Color)color_);
}
-/** Draws a box of type b, of color c at the widget's position and size. */
-void Fl_Widget::draw_box(Fl_Boxtype b, Fl_Color c) const {
- draw_box(b, x_, y_, w_, h_, c);
+/** Draws a box of type t, of color c at the widget's position and size. */
+void Fl_Widget::draw_box(Fl_Boxtype t, Fl_Color c) const {
+ draw_box(t, x_, y_, w_, h_, c);
}
-/** Draws a box of type b, of color c at the position X,Y and size W,H. */
-void Fl_Widget::draw_box(Fl_Boxtype b, int X, int Y, int W, int H, Fl_Color c) const {
+/** Draws a box of type t, of color c at the position X,Y and size W,H. */
+void Fl_Widget::draw_box(Fl_Boxtype t, int X, int Y, int W, int H, Fl_Color c) const {
draw_it_active = active_r();
- fl_box_table[b].f(X, Y, W, H, c);
+ fl_box_table[t].f(X, Y, W, H, c);
draw_it_active = 1;
}