[UPDATED] Mousewheel menu patch

For code related discussions and questions

[UPDATED] Mousewheel menu patch

Postby noccy » 21 Aug 2010, 22:25

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
noccy
Trained
Trained
 
Posts: 45
Joined: 01 Aug 2010, 22:21
Location: Karlstad, Sweden

Re: [UPDATED] Mousewheel menu patch

Postby Square » 22 Aug 2010, 12:17

nice Idea :)
User avatar
Square
Trained
Trained
 
Posts: 76
Joined: 06 Jan 2009, 15:45

Re: [UPDATED] Mousewheel menu patch

Postby noccy » 22 Aug 2010, 16:40

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
User avatar
noccy
Trained
Trained
 
Posts: 45
Joined: 01 Aug 2010, 22:21
Location: Karlstad, Sweden

Re: [UPDATED] Mousewheel menu patch

Postby KukY » 22 Aug 2010, 18:49

I like the idea, I'll test it later today.
KukY
Regular
Regular
 
Posts: 1859
Joined: 20 Mar 2009, 21:56

Re: [UPDATED] Mousewheel menu patch

Postby skellr » 29 Aug 2010, 19:26

This is nice!

Thanks
User avatar
skellr
Trained
Trained
 
Posts: 72
Joined: 17 Aug 2007, 15:58

Re: [UPDATED] Mousewheel menu patch

Postby noccy » 30 Aug 2010, 21:33

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
noccy
Trained
Trained
 
Posts: 45
Joined: 01 Aug 2010, 22:21
Location: Karlstad, Sweden

Re: [UPDATED] Mousewheel menu patch

Postby skellr » 28 Nov 2010, 00:09

I think Buginator put this into trunk.
User avatar
skellr
Trained
Trained
 
Posts: 72
Joined: 17 Aug 2007, 15:58


Return to Coding