aboutsummaryrefslogtreecommitdiff
path: root/src/ui.cc
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2011-08-01 11:30:12 -0400
committerJorge Arellano Cid <jcid@dillo.org>2011-08-01 11:30:12 -0400
commit80326c4d504759a206682d70f4f886f465b2d320 (patch)
tree846817f4898906b90614d1a805566b2b7a379d5f /src/ui.cc
parentb1fdbc950ab2cd17b09d8d23556d0cced6966b96 (diff)
Cleanup: removed some unused code from the UI
Diffstat (limited to 'src/ui.cc')
-rw-r--r--src/ui.cc20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/ui.cc b/src/ui.cc
index 7de821a3..bbcf7b20 100644
--- a/src/ui.cc
+++ b/src/ui.cc
@@ -303,16 +303,6 @@ static void clear_cb(Fl_Widget *w, void *data)
}
/*
- * Change the color of the location bar.
- *
-static void color_change_cb(Fl_Widget *wid, void *data)
-{
- ((UI*)data)->color_change_cb_i();
-}
- */
-
-
-/*
* Send the browser to the new URL in the location.
*/
static void location_cb(Fl_Widget *wid, void *data)
@@ -670,8 +660,6 @@ void UI::make_status_bar(int ww, int wh)
UI::UI(int x, int y, int ui_w, int ui_h, const char* label, const UI *cur_ui) :
CustGroupVertical(x, y, ui_w, ui_h, label)
{
- PointerOnLink = FALSE;
-
MenuBar = LocBar = NavBar = StatusBar = NULL;
Tabs = NULL;
@@ -1075,14 +1063,6 @@ UIPanelmode UI::get_panelmode()
}
/*
- * Toggle the Control Panel out of the way
- */
-void UI::panelmode_cb_i()
-{
- set_panelmode((UIPanelmode) !Panelmode);
-}
-
-/*
* Set 'nw' as the main render area widget
*/
void UI::set_render_layout(Fl_Group *nw)