Commit 2f520d7e authored by ROOL's avatar ROOL :robot:
Browse files

Fix to iconbar menu X offset

Detail:
  The fix applied to all menus in event.c revision 4.6 didn't take into account the offset of -16 already applied to iconbar menus.
Admin:
  Tested with Draw-1_31.

Version 5.99. Tagged as 'RISC_OSLib-5_99'
......@@ -11,13 +11,13 @@
GBLS Module_HelpVersion
GBLS Module_ComponentName
GBLS Module_ComponentPath
Module_MajorVersion SETS "5.98"
Module_Version SETA 598
Module_MajorVersion SETS "5.99"
Module_Version SETA 599
Module_MinorVersion SETS ""
Module_Date SETS "26 Jan 2019"
Module_ApplicationDate SETS "26-Jan-19"
Module_Date SETS "09 Feb 2019"
Module_ApplicationDate SETS "09-Feb-19"
Module_ComponentName SETS "RISC_OSLib"
Module_ComponentPath SETS "apache/RiscOS/Sources/Lib/RISC_OSLib"
Module_FullVersion SETS "5.98"
Module_HelpVersion SETS "5.98 (26 Jan 2019)"
Module_FullVersion SETS "5.99"
Module_HelpVersion SETS "5.99 (09 Feb 2019)"
END
/* (5.98)
/* (5.99)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
*
*/
#define Module_MajorVersion_CMHG 5.98
#define Module_MajorVersion_CMHG 5.99
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 26 Jan 2019
#define Module_Date_CMHG 09 Feb 2019
#define Module_MajorVersion "5.98"
#define Module_Version 598
#define Module_MajorVersion "5.99"
#define Module_Version 599
#define Module_MinorVersion ""
#define Module_Date "26 Jan 2019"
#define Module_Date "09 Feb 2019"
#define Module_ApplicationDate "26-Jan-19"
#define Module_ApplicationDate "09-Feb-19"
#define Module_ComponentName "RISC_OSLib"
#define Module_ComponentPath "apache/RiscOS/Sources/Lib/RISC_OSLib"
#define Module_FullVersion "5.98"
#define Module_HelpVersion "5.98 (26 Jan 2019)"
#define Module_LibraryVersionInfo "5:98"
#define Module_FullVersion "5.99"
#define Module_HelpVersion "5.99 (09 Feb 2019)"
#define Module_LibraryVersionInfo "5:99"
......@@ -169,7 +169,6 @@ static BOOL event__process(wimp_eventstr *e)
if (event__current_menu_window == win_ICONBAR)
{
/* move icon bar menus up a bit. */
e->data.but.m.x -= 16 /* m->width/2 */;
e->data.but.m.y = 96;
{
wimp_menuitem *mi = (wimp_menuitem*) (m + 1);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment