summaryrefslogtreecommitdiff
path: root/src/ui.cc
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2011-08-04 13:07:58 -0400
committerJorge Arellano Cid <jcid@dillo.org>2011-08-04 13:07:58 -0400
commitdc8319cfc909090b7f53992080efc84d4fcce4fb (patch)
treeaaa7bbacde921946f1e1bc0ff00c07e6a08f1253 /src/ui.cc
parentd91e36e2bfa6f6a9c1d32ce8dd0a7b35d435e6b5 (diff)
minor cleanups
Diffstat (limited to 'src/ui.cc')
-rw-r--r--src/ui.cc12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/ui.cc b/src/ui.cc
index 4d8ee7c4..b81146d2 100644
--- a/src/ui.cc
+++ b/src/ui.cc
@@ -194,8 +194,6 @@ public:
padding = w > 2 ? w/2 : 1;
}
copy_label(lbl);
- //measure_label(w,h);
- //size(w+padding,this->h());
}
};
@@ -682,13 +680,6 @@ UI::UI(int x, int y, int ui_w, int ui_h, const char* label, const UI *cur_ui) :
TopGroup->end();
TopGroup->rearrange();
- // Make the full screen button (to be attached to the viewport later)
- // TODO: attach to the viewport
- //FullScreen = new Fl_Button(0,0,15,15);
- //FullScreen->image(ImgFullScreenOn);
- //FullScreen->tooltip("Hide Controls");
- //FullScreen->callback(fullscreen_cb, this);
-
customize(0);
if (Panelmode == UI_HIDDEN) {
@@ -1028,15 +1019,12 @@ void UI::button_set_sens(UIButton btn, int sens)
switch (btn) {
case UI_BACK:
(sens) ? Back->activate() : Back->deactivate();
-// Back->redraw(DAMAGE_HIGHLIGHT);
break;
case UI_FORW:
(sens) ? Forw->activate() : Forw->deactivate();
-// Forw->redraw(DAMAGE_HIGHLIGHT);
break;
case UI_STOP:
(sens) ? Stop->activate() : Stop->deactivate();
-// Stop->redraw(DAMAGE_HIGHLIGHT);
break;
default:
break;