Quantcast Suggestion ModeStack - EQ2Interface
EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > Wish List

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 04-07-2009, 09:12 PM
Zonx's Avatar
Zonx Zonx is offline
A Green Troll
This person is a EQ2Map developer.
Featured
 
Join Date: Dec 2004
Server: Blackburrow
Posts: 2,221
Send a message via Yahoo to Zonx
Default Suggestion ModeStack

Since the discussion about Advanced mode for the Raid window... I've been thinking of how to add something like this for all windows. What I have in mind is to add a menu to WindowOptions, similar to the Frame And Titlebar menu, that uses a stack of pages from the calling window as its DataSource. Selecting an option shows that page and hides all the others, much like a TabbedPane does.

I think all that's needed from a UI standpoint is to add an attribute to TabbedPane... something like ModeSwitch="true".

From a programming standpoint, the open WindowSettings function would need to inspect the top level of the calling window tree for a TabbedPane with this attribute. If found, page names from that TabbedPane would be passed into WindowSettings as options for the Mode menu.

What this would give us is a saveable "Mode" setting that displays the corresponding page in the calling window and hides all others in that page stack. This also results in a Show event on the corresponding mode page, which would allow us to script layout changes on each mode change.
Reply With Quote
  #2  
Unread 04-07-2009, 11:00 PM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,279
Send a message via AIM to Drumstix42 Send a message via MSN to Drumstix42 Send a message via Yahoo to Drumstix42
Default

I'm guessing we'd need to be able to save custom variables for this to be possible, so that the window would be in the same state upon logging back in.
Is this currently possible, because I know it was talked about with the implementation of XML uisetting files.
__________________
"I'm afraid you're guilty of thought-crime. Don't bother getting the door, we'll let ourselves in..."
<Donate to DrumsUI> < [DrumsUI] Updater > < [DrumsUI] Full Interface> < Drumstix42 on Twitch.tv
>
Reply With Quote
  #3  
Unread 04-07-2009, 11:47 PM
dragowulf's Avatar
dragowulf dragowulf is offline
A man among men
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Nagafen
Posts: 934
Send a message via AIM to dragowulf Send a message via MSN to dragowulf
Default

Wasn't that one of the reasons why Rothgar converted the uisettings files?
__________________
May Jesus Have Mercy On Us
Reply With Quote
  #4  
Unread 04-08-2009, 04:45 PM
Zonx's Avatar
Zonx Zonx is offline
A Green Troll
This person is a EQ2Map developer.
Featured
 
Join Date: Dec 2004
Server: Blackburrow
Posts: 2,221
Send a message via Yahoo to Zonx
Default

If implemented properly, this would not require saving any custom variables, only the selected index of the ModeStack. Any custom variables needed to drive each mode could be initialized within the OnShow event of each mode page.

Last edited by Zonx : 04-08-2009 at 04:47 PM.
Reply With Quote
  #5  
Unread 04-08-2009, 06:24 PM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,279
Send a message via AIM to Drumstix42 Send a message via MSN to Drumstix42 Send a message via Yahoo to Drumstix42
Default

Quote:
Originally Posted by dragowulf View Post
Wasn't that one of the reasons why Rothgar converted the uisettings files?
I thought so yes.

While I like the idea of "basic" and "advanced" mode being available for a window via right click menu, I'd still also like to see all extra variables being saved. Some windows can have say up to 6 "modes" or in the case of a stat strip -- unlimited customization.

I don't wanna pull away from Zonx's idea though. I just wanted to ask about custom variables.
__________________
"I'm afraid you're guilty of thought-crime. Don't bother getting the door, we'll let ourselves in..."
<Donate to DrumsUI> < [DrumsUI] Updater > < [DrumsUI] Full Interface> < Drumstix42 on Twitch.tv
>
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:57 AM.


Our Network
EQInterface | EQ2Interface | War.MMOUI | WoWInterface | VGInterface | LoTROInterface | MMOInterface