On Sun, Aug 07, 2005 at 12:44:26PM +0200, Viktor Griph wrote:
> On Sun, 7 Aug 2005, Dominik Vogt wrote:
[snip]
> >>Could someone with cvs wrilte-access apply this patch?
> >
> >I'd first like to understand what the patch does exactly.  Please
> >elaborate on how the new feature works.
> This is a menufeel patch. It allows for selecting a menu item with a mouse 
> wheel as follows:
> 
> When the Menustyle Scroll is not Off the use of button 4 and 5 (Mousewheel 
> up and down) no longer acts as clicks on the menu, but triggers menu 
> scrolling. Menu scrolling is done i three possible ways: On - Positive 
> order, menu moving; Inverted - Negative order, menu moving; Pointer 
> Positive order, Pointer moving.
> 
> When the menu is about to scroll it will find the next selectable item in 
> the direction of the scroll, and if is On or Inverted (moving menu) the 
> Menu window will be moved vertically so that the the new item is 
> vertically centered under the pointer. If the scroll argument is Pointer 
> the Pointer will wrap vertically to the center of the next item.
> 
> The special case where the menu would have been placed partly outside of 
> the screen is treated differently depending on the value of ScrollOffPage. 
> If ScrollOffPage is true the menu will be allowed to leave the screen. If 
> not the menu will stop at the edge and Pointer scroll will be used.

Sounds interesting.  I fear there may be many nasty side effects
with the existing menu code - not because the patch is bad but
because the menu code is very touchy.  I need something to play
with (I don't have a mouse wheel).

> It still leaves a gap in how to allow for the menu scrolling with 
> keyboard. I'm open to suggestions.

For the moment, you could just translate some key combimation like
ctrl-alt-Up/Down to a button 4/5 event.  At the moment I need
something to play with - we can look for the final solution later.

> >Please stick to 79 characters per line.
> >
> Will do. How are tabs counted?

We're using the Linux kernel coding conventions, i.e. one tab is
8 characters wide.

Ciao

Dominik ^_^  ^_^

 --
Dominik Vogt, [EMAIL PROTECTED]

Attachment: signature.asc
Description: Digital signature

Reply via email to