Raised This Month: $51 Target: $400
 12% 

Settings Menu


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Bloodlvst
Senior Member
Join Date: Jul 2007
Old 12-11-2007 , 13:26   Settings Menu
Reply With Quote #1

As some of you know, I'm working on a client settings menu, and I feel like I'm almost ready to start testing the code. However just a question:

For a type of menu like this would you recommend using a menu or a panel? And if it's a panel, is it possible to paginate a panel as well or only a menu? Thanks!
__________________
Quote:
skywalker: I have cs source client 5 how to upgrade to client 7
BAILOPAN: oh
Bloodlvst is offline
KMFrog
Senior Member
Join Date: Oct 2007
Old 12-11-2007 , 13:49   Re: Settings Menu
Reply With Quote #2

I thought menus were panels >_>
KMFrog is offline
Bloodlvst
Senior Member
Join Date: Jul 2007
Old 12-11-2007 , 13:50   Re: Settings Menu
Reply With Quote #3

Yes and no. Apparently there's differences according to the Menu API documentation.
__________________
Quote:
skywalker: I have cs source client 5 how to upgrade to client 7
BAILOPAN: oh
Bloodlvst is offline
KMFrog
Senior Member
Join Date: Oct 2007
Old 12-11-2007 , 13:56   Re: Settings Menu
Reply With Quote #4

the only difference is the menu API is higher level..
it gives you stuff like auto-pagination... etc... but the menu API uses the panel API to do its work.

you can still use the panel API direct to create your own menus with, say, custom text at the top of the menu or in the body.. which you cannot do with the menu API
KMFrog is offline
TFN|Nick
Senior Member
Join Date: Sep 2007
Old 12-12-2007 , 05:06   Re: Settings Menu
Reply With Quote #5

I don't think it'll matter much to the average gamer unless they can't find what they want... maybe take a page out of the sm_admin menu and create as a top menu as opposed to normal menu.

That way developers can hook onto it... say someone wants deathbeam on the menu; the plugin developer can just use the same method and intergrate the plugin in. Easier for everyone i'd think??
TFN|Nick is offline
Send a message via MSN to TFN|Nick
BAILOPAN
Join Date: Jan 2004
Old 12-12-2007 , 09:13   Re: Settings Menu
Reply With Quote #6

There is an open feature request for this in SourceMod; I think it's planned for 1.1.
__________________
egg
BAILOPAN is offline
Bloodlvst
Senior Member
Join Date: Jul 2007
Old 12-12-2007 , 09:42   Re: Settings Menu
Reply With Quote #7

Yeah I was just curious into what way is better.

This is just something I want to do to fill the gap and allow servers to have one menu (like Mani did) for settings, instead of 5 different public commands. But Nick, thanks for the input, I'll look into trying to make it work that way.
__________________
Quote:
skywalker: I have cs source client 5 how to upgrade to client 7
BAILOPAN: oh
Bloodlvst is offline
BAILOPAN
Join Date: Jan 2004
Old 12-12-2007 , 10:23   Re: Settings Menu
Reply With Quote #8

If your menu will have pagination you should always use menus. Panels are only intended for arbitrary drawing (for example, displaying statistics or information that doesn't need feedback). Menus are guaranteed to give clients a consistent and uniform design.
__________________
egg
BAILOPAN is offline
Reply



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:39.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode