From 409faf43dabcde86dcaae43457355c817ac8029b Mon Sep 17 00:00:00 2001 From: Miro Kropacek Date: Sat, 19 Oct 2024 21:59:04 +0200 Subject: [PATCH] Update MN_SET comment Fixes #169 (most of it has been already done by Thorsten Otto). --- gem/aes/menu_/menu_popup.ui | 4 ++-- gem/aes/structures/mn_set.ui | 11 ++++++----- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/gem/aes/menu_/menu_popup.ui b/gem/aes/menu_/menu_popup.ui index 42c74c979..ab8e37ebb 100644 --- a/gem/aes/menu_/menu_popup.ui +++ b/gem/aes/menu_/menu_popup.ui @@ -37,8 +37,8 @@ If (!I)mn_scroll(!i) of MENU is set to 0 when menu_popup is called, a non-scrollable popup menu will be displayed. if (!I)mn_scroll(!i) of MENU is set to >0 when menu_popup is called, a -scrolling popup menu will be displayed; height of MN_SET determines -it's height in items (note that Atari's AES implements up/down arrows +scrolling popup menu will be displayed; (!I)height(!i) of MN_SET determines +it's height in items (note that Atari's (!nolink [AES]) implements up/down arrows within the popup for scrolling to maintain the same look and feel of dropdown menus as they can be attached to menubar items, note that NAES mimics this exact behavior). See also menu_settings. diff --git a/gem/aes/structures/mn_set.ui b/gem/aes/structures/mn_set.ui index c64055e04..21a141e7b 100644 --- a/gem/aes/structures/mn_set.ui +++ b/gem/aes/structures/mn_set.ui @@ -5,11 +5,12 @@ !begin_verbatim typedef struct { - int32_t display; /* Submenu display delay */ - int32_t drag; /* Submenu drag delay */ - int32_t delay; /* Single-click scroll delay */ - int32_t speed; /* Continuous scroll delay */ - int16_t height; /* Menu scroll height (in items) */ + int32_t display; /* Submenu display delay */ + int32_t drag; /* Submenu drag delay */ + int32_t delay; /* Single-click scroll delay */ + int32_t speed; /* Continuous scroll delay */ + int16_t height; /* Menu scroll height (in items) */ + /* (applied when mn_scroll of MENU is >0) */ } MN_SET; !end_verbatim