General > Developers Corner

Commands, Maps, Settings, Bans, etc.

(1/2) > >>

WispySkies:
As the title says, those are the top main tabs in !menu. Is it easily achievable to add a new tab there? I found this thread from 2013 but I did not want to bump it. (I also PM'd Sticky on the 5th, no reply  :-[) http://forums.ulyssesmod.net/index.php/topic,6760.0.html

JamminR:
I'm not experienced in GUI at all, but, if you take a peek at every XGUI file in the ulx addons/ulx/lua/xgui folder,  Stickly was nice enough to make a file for each of the main XGUI tabs (commands, groups, maps, settings, maps, ...)
Looking at the top few lines of each of those, it seems reasonably easy to surmise what his library command is to create a tab.
Big hint - He calls it a "panel"
And, as I suggested in that other thread you refererenced , the link I provided to those TTT commands also use the same premise.

No, he's not documented xlib, his own personal library of stuff he noticed he kept using over and over in XGUI.
However, one could study and learn many functions of what his XLIB does for Xgui by looking at the 3 ulx client modules for xgui located in /addons/ulx/lua/ulx/modules/cl, including...ta-da...xlib.lua

WispySkies:

--- Quote from: JamminR on November 13, 2015, 07:05:28 PM ---I'm not experienced in GUI at all, but, if you take a peek at every XGUI file in the ulx addons/ulx/lua/xgui folder,  Stickly was nice enough to make a file for each of the main XGUI tabs (commands, groups, maps, settings, maps, ...)
Looking at the top few lines of each of those, it seems reasonably easy to surmise what his library command is to create a tab.
Big hint - He calls it a "panel"
And, as I suggested in that other thread you refererenced , the link I provided to those TTT commands also use the same premise.

No, he's not documented xlib, his own personal library of stuff he noticed he kept using over and over in XGUI.
However, one could study and learn many functions of what his XLIB does for Xgui by looking at the 3 ulx client modules for xgui located in /addons/ulx/lua/ulx/modules/cl, including...ta-da...xlib.lua

--- End quote ---
Aye! :D Thank you.
Edit: That'll be a challenge not knowing what to change. I looked at it :p

Stickly Man!:
Yeah.. I still haven't had time to get around to it. :P I've bumped the documentation up on my TODO list and want to get (at least a very rudimentary) documentation out sometime this week. I'll keep you posted.

WispySkies:

--- Quote from: Stickly Man! on November 14, 2015, 06:27:50 PM ---Yeah.. I still haven't had time to get around to it. :P I've bumped the documentation up on my TODO list and want to get (at least a very rudimentary) documentation out sometime this week. I'll keep you posted.

--- End quote ---
Aye! Thanks you :D

Navigation

[0] Message Index

[#] Next page

Go to full version