ChatTabs Manager ...
Edit:
Renamed from Framework to Manager (sounds better / more correct) This is no longer a Demo but can already be used in your Plugins! ChatTabs Manager: http://www.esoui.com/downloads/info1...bsManager.html Example Plugin to help you getting started: http://www.esoui.com/downloads/info130.html |
Added a new "intrusive" mode that hides all the default Chat-Elements,
even the EditBox (even when pressing enter it will not show up or register the inputs). Edit: This is now the "default" mode. :) |
This looks nice. I'll test this later :)
|
Yo I've edited my initial Topic - as it is no longer a Demo and can already be used in your Plugins! :)
And if anyone advanced could check my code I would really appreciated it :D. Lua is still a bit odd for me and I'm not sure if I'm doing stuff at the most straight and efficient way or if I'm running in circles instead. Poke me if you find any misstakes! :) Many Thanks and Cheers! |
So couldn't get the control to show when clicking on the tab (with your new update 51). It looks like you are trying to use a table.variable in multiple functions, particularly the tab.control and tab.soft, but the "tab" table you are calling is not global. Thus these variables are nil.
In your previous one you linked everything to the object thus you could call the variables in all functions. At least that is what I think, I'm new to Lua too so correct me if I am wrong. |
Well I did something stupid in the last update (0.5.1).
I actually initialized my stuff in the OnPlayerActivated Event that gets called after every Loadingscreen and didn't unregister it after the first usage. And in return bugged stuff out badly by fixing what wasn't broken. I'll revert what I did - then everything should be fine again! :D |
Updated to 0.5.2
Should be working as intended again. Sorry for the inconveniences! |
Works amazingly well, thank you. Implementing it as we speak.
Two things to consider though: 1) Use SetDrawLevel(3) on the content window so that it will show up above the chat window (just found this out). Couldn't use my buttons when I parented the window and this was the cause. :) 2) Might want to add a tab tracker that saves the name of the created tab to a list then searches for that name to try to find the tab.index or something. Right now if you change the position of the tab it will still associate the old tab.index with it. So moving tab 2 to tab 5, the new tab 2 will still open up the old tab 2's content. |
So this could theoretically be used to combine all the different "window" addons I have?
eg: CLS, Dragonloot, etc? Provided those authors implemented support... hm |
Yep. Its only 1-2 lines in addition to their usual code and could be completely optional i. e. for providing an undock-option.
@zeakfury: Glad you like it. I've noticed that too - thanks for the DrawLevel suggestion I'll add that right now. For the second one - yea haven't really gotten around it reimplementing it yet. I had that function before in the Demo it just was made for a single static instance and I was to lazy to rewrite it yet. I'll do that when I'll add the Garbage Collector that automatically deletes unused Tabs (f. e. when someone undocks or disables his Plugin). |
sounds similar to the infopanel plugins that were created in nUI addon for wow. Was a very handy utility to have. Information at your finger tips but inobtrusive when not required.
|
I see that zeak managed to get it implemented. Seems like i need to add a better version check and documentation.
Ill try to push that out soon together with the Garbage Collector. Seeing that there is a new neat Lib out I feel like that this should have a smiliar naming convention like LibChatTabs to keep it more clear to the Enduser and the Developer alike. Oh sometimes I really hate naming something (goes for Characternames as well). |
Quote:
|
Quote:
|
My update on CTM has been pushed back in favor of FastReport:
http://www.reddit.com/r/elderscrolls...leporthackers/ http://www.esoui.com/downloads/info181-FastReport.html |
All times are GMT -6. The time now is 12:04 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI