(Small?) GUI Request

Found a bug? Please report it, but remember to follow the bug reporting guidelines.
Missing a sane feature? Let us know!
But please do NOT request ports to other systems.

Moderator: ZSNES Mods

Post Reply
ShadowFX
Regular
Posts: 265
Joined: Thu Jul 29, 2004 8:55 am
Location: The Netherlands

(Small?) GUI Request

Post by ShadowFX »

Alright, it has been a long time since I requested something of ZSNES but here goes.

Wouldn't it be something if the menu's automaticly collapsed once you first click on one of the items in the menu? And stop of course when you click an item or on something outside the menu.

I've read dozens of GUI requests so it's always the question if it's worth messing with the GUI to implement this. If it's not, or unwanted, then I'll go along with that, no problem.

Thanks :)
xamenus
Veteran
Posts: 907
Joined: Fri Jul 30, 2004 12:26 am

Post by xamenus »

I don't really see the point of this...Or maybe I'm just misunderstanding your request?

So you're basically saying you want to minimize windows in ZSNES? If so, I'm thinking it might be easier to use hotkeys to bring the menus up or hide them. This is already partially possible with the load menu, at least.
grinvader
ZSNES Shake Shake Prinny
Posts: 5632
Joined: Wed Jul 28, 2004 4:15 pm
Location: PAL50, dood !

Post by grinvader »

I have no idea what this collapsing thing means, and it sound slike implementing that will be hell in a can of whoopass.
皆黙って俺について来い!!

Code: Select all

<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)
Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54
ShadowFX
Regular
Posts: 265
Joined: Thu Jul 29, 2004 8:55 am
Location: The Netherlands

Post by ShadowFX »

I think I've used the wrong term to describe what I mean. Maybe to fold out? Anyway, what I mean is automaticly let the menu's under 'Game' 'Options' 'Cheats' and 'Misc' appear if you hover your mouse over them.
grinvader
ZSNES Shake Shake Prinny
Posts: 5632
Joined: Wed Jul 28, 2004 4:15 pm
Location: PAL50, dood !

Post by grinvader »

Ah, that sounds a lot easier to do.

A friggin' lot.
皆黙って俺について来い!!

Code: Select all

<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)
Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54
Agozer
16-bit Corpse | Nyoron~
Posts: 3534
Joined: Sun Aug 01, 2004 7:14 pm
Location: Nokia Land

Post by Agozer »

If I interpret grin's answer correctly, what you ask is near impossible.
whicker: franpa is grammatically correct, and he still gets ripped on?
sweener2001: Grammatically correct this one time? sure. every other time? no. does that give him a right? not really.
Image
ShadowFX
Regular
Posts: 265
Joined: Thu Jul 29, 2004 8:55 am
Location: The Netherlands

Post by ShadowFX »

Like I said in the first place, if it's near impossible to implement then you can let it pass of course. Otherwise, it would be nice if the menu is modified to behave like this.
grinvader
ZSNES Shake Shake Prinny
Posts: 5632
Joined: Wed Jul 28, 2004 4:15 pm
Location: PAL50, dood !

Post by grinvader »

Agozer wrote:If I interpret grin's answer correctly, what you ask is near impossible.
Update sarcasm drivers

I really meant that it was easier to do.
皆黙って俺について来い!!

Code: Select all

<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)
Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

Considering we have code to highlight when the mouse hovers, it shouldn't be that big of a deal to make menu header open the menu apon hover. However the largest issue here is finding where in the source this code is.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
grinvader
ZSNES Shake Shake Prinny
Posts: 5632
Joined: Wed Jul 28, 2004 4:15 pm
Location: PAL50, dood !

Post by grinvader »

Hmm, currently...
- the highlight code only works with menu items, not menus themselves.
- the mouse location is checked AFTER a click. If the mouse is in the right place, the menu opens.
- since you can open a menu even if there's another window onscreen, we can't just cheat and assume the mouse is always clicking (or else the checkboxes you hover on will toggle 36 times per second)

Will require some thoughts. But really not impossible.
皆黙って俺について来い!!

Code: Select all

<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)
Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54
ShadowFX
Regular
Posts: 265
Joined: Thu Jul 29, 2004 8:55 am
Location: The Netherlands

Post by ShadowFX »

Sounds like a challenge, so I wish you the best of luck with it and I hope you succeed 8)
rlbond
Hazed
Posts: 82
Joined: Tue Jul 12, 2005 5:13 am

Post by rlbond »

grinvader wrote:Hmm, currently...
- the highlight code only works with menu items, not menus themselves.
- the mouse location is checked AFTER a click. If the mouse is in the right place, the menu opens.
- since you can open a menu even if there's another window onscreen, we can't just cheat and assume the mouse is always clicking (or else the checkboxes you hover on will toggle 36 times per second)

Will require some thoughts. But really not impossible.
maybe have the mouse always click if the y coordinate is less than some number? Then it only clicks at the top of the screen.
To truly own, you must own at all games.
grinvader
ZSNES Shake Shake Prinny
Posts: 5632
Joined: Wed Jul 28, 2004 4:15 pm
Location: PAL50, dood !

Post by grinvader »

rlbond wrote:maybe have the mouse always click if the y coordinate is less than some number? Then it only clicks at the top of the screen.
Nah, you can put a window w/ checkbox above the title part - dunno why you would, but you can.

We'll think of something.
皆黙って俺について来い!!

Code: Select all

<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)
Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54
Post Reply