diff options
author | Steve Fryatt <steve@stevefryatt.org.uk> | 2010-10-24 20:00:45 +0000 |
---|---|---|
committer | Steve Fryatt <steve@stevefryatt.org.uk> | 2010-10-24 20:00:45 +0000 |
commit | ba197f29c7e4784a6d649b262d3951e5e7fef41b (patch) | |
tree | 3e1c7f506e5a94bc0cfd781547d151f6369d95ed /riscos/treeview.c | |
parent | 00434615ed1a25b7d722e942406d0ddc8c08cdf3 (diff) | |
download | netsurf-ba197f29c7e4784a6d649b262d3951e5e7fef41b.tar.gz netsurf-ba197f29c7e4784a6d649b262d3951e5e7fef41b.tar.bz2 |
Partially re-enable toolbar buttons in RO treeview windows.
svn path=/trunk/netsurf/; revision=10906
Diffstat (limited to 'riscos/treeview.c')
-rw-r--r-- | riscos/treeview.c | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/riscos/treeview.c b/riscos/treeview.c index c992fdda7..27e014cac 100644 --- a/riscos/treeview.c +++ b/riscos/treeview.c @@ -172,8 +172,6 @@ ro_treeview *ro_treeview_create(wimp_w window, struct toolbar *toolbar, ro_gui_wimp_event_register_keypress(tv->w, ro_treeview_keypress); ro_gui_wimp_event_set_user_data(tv->w, tv); - /* \todo Register wimp events to handle the supplied toolbar? */ - return tv; } @@ -915,41 +913,6 @@ static bool ro_treeview_keypress(wimp_key *key) return false; } -/** Respond to a mouse click on a treeview toolbar. - * - * \param pointer Pointer to the MouseClick Event block. - * \return true if the event was handled; else false. - */ - -bool ro_gui_treeview_toolbar_click(wimp_pointer *pointer) -{ - struct toolbar *tb; - ro_treeview *tv; - - tb = (struct toolbar *) ro_gui_wimp_event_get_user_data(pointer->w); - if (tb == NULL) { - LOG(("NULL toolbar block for window: 0x%x", - (unsigned int) pointer->w)); - return false; - } - - tv = (ro_treeview *) ro_gui_wimp_event_get_user_data(tb->parent_handle); - if (tv == NULL) { - LOG(("NULL treeview block for parent window: 0x%x", - (unsigned int) tb->parent_handle)); - return false; - } - - /* \todo -- Handle menu clicks here... */ - - /* \todo -- Deal with the editor here... */ - - switch (pointer->i) { - - } - - return true; -} /** * Update a treeview to use a new theme. |