From 3f0f5d7be9da224edcb5c550492cfc658818fc15 Mon Sep 17 00:00:00 2001 From: Richard Wilson Date: Wed, 12 May 2004 10:23:07 +0000 Subject: [project @ 2004-05-12 10:23:07 by rjw] Interactive help keys made more descriptive. Message key length increased to 24. svn path=/import/netsurf/; revision=856 --- riscos/help.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'riscos/help.c') diff --git a/riscos/help.c b/riscos/help.c index b82455877..58b2cb7da 100644 --- a/riscos/help.c +++ b/riscos/help.c @@ -22,14 +22,14 @@ /* Current prefixes: - HelpB Browser window - HelpI Iconbar menu - HelpM Browser window menu - HelpT Toolbar window - HelpS Status window - - The prefixes are followed by either the icon number (eg 'HelpT7'), or a series - of numbers representing the menu structure (eg 'HelpM3-1-2'). + HelpBrowser Browser window + HelpIconMenu Iconbar menu + HelpBrowserMenu Browser window menu + HelpToolbar Toolbar window + HelpStatus Status window + + The prefixes are followed by either the icon number (eg 'HelpToolbar7'), or a series + of numbers representing the menu structure (eg 'HelpBrowserMenu3-1-2'). */ static void ro_gui_interactive_help_broadcast(wimp_message *message, char *token); @@ -69,13 +69,13 @@ void ro_gui_interactive_help_request(wimp_message *message) { g = ro_gui_window_lookup(window); if (g) { if (g->window == window) { - sprintf(message_token, "HelpB%i", (int)icon); + sprintf(message_token, "HelpBrowser%i", (int)icon); } else if ((g->data.browser.toolbar) && (g->data.browser.toolbar->toolbar_handle == window)) { - sprintf(message_token, "HelpT%i", (int)icon); + sprintf(message_token, "HelpToolbar%i", (int)icon); } else if ((g->data.browser.toolbar) && (g->data.browser.toolbar->status_handle == window)) { - sprintf(message_token, "HelpS%i", (int)icon); + sprintf(message_token, "HelpStatus%i", (int)icon); } } @@ -96,9 +96,9 @@ void ro_gui_interactive_help_request(wimp_message *message) { /* Set the prefix */ if (current_menu == iconbar_menu) { - sprintf(message_token, "HelpI"); + sprintf(message_token, "HelpIconMenu"); } else if (current_menu == browser_menu) { - sprintf(message_token, "HelpM"); + sprintf(message_token, "HelpBrowserMenu"); } else { return; } -- cgit v1.2.3