From 403f12872d55a71b04287ed828be0c63be19e856 Mon Sep 17 00:00:00 2001 From: Richard Wilson Date: Mon, 4 Oct 2004 23:54:42 +0000 Subject: [project @ 2004-10-04 23:54:42 by rjw] Moved GIF file reading to image/, optimisation of plotting for GIFs, JNGs, PNGs and JPEGs, initial work for toolbar customisation. Possibly some other things too. svn path=/import/netsurf/; revision=1301 --- riscos/hotlist.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'riscos/hotlist.c') diff --git a/riscos/hotlist.c b/riscos/hotlist.c index 3b787a536..f7ed7516b 100644 --- a/riscos/hotlist.c +++ b/riscos/hotlist.c @@ -2296,9 +2296,17 @@ bool ro_gui_hotlist_keypress(int key) { void ro_gui_hotlist_toolbar_click(wimp_pointer* pointer) { int selection; - /* Reject Menu clicks + /* Store the toolbar */ - if (pointer->buttons == wimp_CLICK_MENU) return; + current_toolbar = hotlist_toolbar; + + /* Handle Menu clicks + */ + if (pointer->buttons == wimp_CLICK_MENU) { + ro_gui_create_menu(toolbar_menu, pointer->pos.x, + pointer->pos.y, NULL); + return; + } /* Handle the buttons appropriately */ -- cgit v1.2.3