From dc8319cfc909090b7f53992080efc84d4fcce4fb Mon Sep 17 00:00:00 2001 From: Jorge Arellano Cid Date: Thu, 4 Aug 2011 13:07:58 -0400 Subject: minor cleanups --- src/ui.cc | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/ui.cc') 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; -- cgit v1.2.3