[UPDATED] Mousewheel menu patch

For code related discussions and questions
Post Reply
User avatar
noccy
Trained
Trained
Posts: 45
Joined: 01 Aug 2010, 22:21
Location: Karlstad, Sweden
Contact:

[UPDATED] Mousewheel menu patch

Post by noccy »

Hacked this together today. What it does is basically enable the mousewheel over the construction/research/build menus so you can scroll through the pages without having to click the "tab buttons".

The cosmetic issues have been resolved. Me and Josh have been testing it out, and everything seems to be working OK :D

I moved the patch from this post to the tracker at http://developer.wz2100.net/ticket/2110.
noccy.com | xmpp: noccy(at)chillat.net | xfire: noccy80
User avatar
Square
Trained
Trained
Posts: 76
Joined: 06 Jan 2009, 15:45

Re: [UPDATED] Mousewheel menu patch

Post by Square »

nice Idea :)
User avatar
noccy
Trained
Trained
Posts: 45
Joined: 01 Aug 2010, 22:21
Location: Karlstad, Sweden
Contact:

Re: [UPDATED] Mousewheel menu patch

Post by noccy »

Square wrote:nice Idea :)
Thank you :) I'll look into adding mousewheel support to the object menu (at the bottom of the screen) later. Played a skirmish with the patched version and it really makes things flow better, and it's actually quite precise when it comes to jumping to a specific tab :)
noccy.com | xmpp: noccy(at)chillat.net | xfire: noccy80
KukY
Regular
Regular
Posts: 1859
Joined: 20 Mar 2009, 21:56

Re: [UPDATED] Mousewheel menu patch

Post by KukY »

I like the idea, I'll test it later today.
User avatar
skellr
Trained
Trained
Posts: 72
Joined: 17 Aug 2007, 15:58

Re: [UPDATED] Mousewheel menu patch

Post by skellr »

This is nice!

Thanks
User avatar
noccy
Trained
Trained
Posts: 45
Joined: 01 Aug 2010, 22:21
Location: Karlstad, Sweden
Contact:

Re: [UPDATED] Mousewheel menu patch

Post by noccy »

Sweet, glad you guys like it :) Been playing the official 2.3.4 release a few times, and I miss the wheel feature now that I've gotten used to it :p

Give me a few days and I should have basic code in place to page through the object menu (bottom of screen) sorted too :)
noccy.com | xmpp: noccy(at)chillat.net | xfire: noccy80
User avatar
skellr
Trained
Trained
Posts: 72
Joined: 17 Aug 2007, 15:58

Re: [UPDATED] Mousewheel menu patch

Post by skellr »

I think Buginator put this into trunk.
Post Reply