Releases: BTK-Development/BTKUILib
BTKUILib Release v2.1.1
Sup nerds! Got a new release of UILib for ya!
This release adds in some nice to have features on to most elements, including the ability to entirely hide elements at runtime!
Changes:
- Added ResetBreadcrumbs flag to Page.OpenPage, this clears the "Back" function and reset the next "Back" page to the root of the current tab
- Added CurrentPageID to QuickMenuAPI
- Added Hidden property to QMUIElement
- Set Disabled properly to be virtual to allow classes to override it
- Added GoBack function to QuickMenuAPI
BTKUILib Release v2.0.3
I swear this is the last one, probably? Another small addition I missed in this one, you can now properly control collapsible in player select and misc pages
For the rest of the extensive v2.0.0 changelog please go to the v2.0.0 Release Notes and v2.0.1's changelog aaaaand v2.0.2's changelog
Changes:
- Added missing Page.AddCategory overload for controlling collapsible in protected pages
BTKUILib Release v2.0.2
Another smaller update coming at you! This one fixes up some issues on sliders, some that may have existed for a good while lol
For the rest of the extensive v2.0.0 changelog please go to the v2.0.0 Release Notes and v2.0.1's changelog
Changes:
- Fixed slider min and max not being handled as floats, this resulted in decimal values being ignored
- Fixed slider reset not updating it's default value on the fly
- Fixed slider reset button not being positioned properly in categories
- Added SliderFloat.OnSliderReset action
- Added padding to the top of slider
BTKUILib Release v2.0.1
Quick fix for an issue with ClearChildren on categories and pages, it should now properly delete and clear subelements instead of just deleting them visibly.
For the rest of the extensive v2.0.0 changelog please go to the v2.0.0 Release Notes
Changes:
- Fixed ClearChildren not deleting and calling ClearChildren on subelements
- Fixed Page.ClearChildren not actually doing anything aside from visual deletion
BTKUILib Release v2.0.0
Alrighty! I think that's probably enough previews and fiddling, this is the first release of UILib v2!
UILib v2 brings quite a number of internal changes as well as numerous changes to objects you might be wokring with, I've attempted to ensure as little entirely breaks with existing mods as possible, however some mods using more interesting functions may encounter some issues!
For the entire 2.0.0 change log see the earlier Preview 1's Changelog, Preview 2's Changelog, and Preview 3's Changelog
If you encounter issues with this release please toss up an issue or shoot a message in the support discord!
Changes:
- Complete overhaul of page generation and tab handling
- Fixed numerous issues with tab changes and breadcrumb weirdness, should be less pages getting stuck now
- Added configuration to allow 3 different positions for the playerlist button
- Added UILib config menu in the playerlist, you'll find the playerlist button position and ML Prefs enable here
- Fixed ClearChildren function not properly clearing sub elements
- Fixed noTab parameter on pages not doing anything
- Added Page.GetOrCreatePage function, if you use a shared root page you MUST use this going forward
- Made clicking an already selected tab return you to the rootpage of that tab
- Made rootpages not longer be renamed to MainPage
- Added AddSlider to Category element, Page.AddSlider is now obsoleted
- Added bottom border to category headers
- Made categories collapsible
- Fixed multiselect page style not matching misc tab style
BTKUILib v2.0.0 Preview 3
This release adds in a chunk of additional bits and cleans up some issues that were discovered in preview 2.
This release brings UILib v2 to being mostly feature complete, a release of v2 will occur soon! TEST YOUR STUFF!!
For the entire 2.0.0 change log see the earlier Preview 1's Changelog and Preview 2's Changelog
Changes:
- Added UILib Settings Page
- Added playerlist button position settings
- Fixed multiselect page style not matching for misc tab
- Made rootpages no longer rename to MainPage all the time
- Made categories collapsible
- Added AddSlider to category
- Added bottom border to categories headers
- Fixed issue with "subpage" rootpages resetting breadcrumbs
- Cleaned up some JS log spam
- Other internal cleanups
BTKUILib v2.0.0 Preview 2
This release resolves some issues seen with preview 1, on top of adding a couple small features and functions.
IMPORTANT: For mod devs that use a shared root page across multiple independent mods please use the new Page.GetOrCreatePage
function! This is important to ensure all elements below that have the correct RootPage reference! Also please ensure any child pages share the same ModName, even if they're in separate mods!
For the entire 2.0.0 change log see Preview 1's Changelog
Changes:
- Fixed issues with duplicate tab generation
- Added Page.GetOrCreatePage to resolve issues where duplicate page/rootpage objects are created and not handled properly
- Fixed issue where playerlist page would get stuck open in some situations
- Made tab clicks always return you to the root page of the tab when already open (this is a side effect of the playerlist fix)
BTKUILib Preview v2.0.0
This is the first release containing some of the custom element functionality along with a major overhaul to how page generation is handled.
This necessitated it being a major version update as there is quite significant changes to functions and functionality, I tried to keep this as compatible as possible however, most mods I tried seemed to be fine.
The new page overhaul SIGNIFICANTLY reduces the load that UILib adds, this is due to it no longer keeping non visible pages loaded, Cohtml really does not like having a ton of elements loaded at any given time lol
One note about the performance boost, if you are using TotallyWholesome it does not yet use the newer method, however a future update will be porting it to UILib, so it will benefit from these changes as well.
Changes:
- Completely overhauled page generation and handling of tab changes
- Fixed numerous issues with tab changes and breadcrumb weirdness, should have alot less pages getting stuck now
- Moved player select list to the left of the home button on the tab row, this will have options for position added before release
- Added some parts of the custom element system, these are largely undocumented, and require knowledge of how CVR's template system works inside the QM, documentation will follow soonish
- Fixed ClearChildren function not properly clearing sub elements
- Fixed noTab parameter on pages not doing anything
- Probably other changes I've forgotten
BTKUILib Release v1.2.4
This release fixes issues that popped up with the recent changes to how CVR handles it's menus, there is some new functionality in this that was originally meant for 1.3.0, but it was easier to merge it in already.
Changes:
- Fixes how TriggerEvent is called to work around CVR's event caching causing events to be skipped in some situations
- Added QuickMenuAPI.AddRootPage, this is meant for more advanced usages of UILib
- Added PageDisplayName to Page class, this updates the page title on the fly
- Added missing parts to make the Category hidden flag function
- Added IsQMReady check to ClearChildren
BTKUILib Preview v1.2.4 for r172ex3
THIS RELEASE IS ONLY FOR CHILLOUTVR EXPERIMENTAL 2023r172ex3 OR GREATER
This release fixes issues that popped up with the recent changes to how CVR handles it's menus, this was pretty quickly built up, so it may have some unknown issues still.
There is also some changes merged in from the tw-changes branch.
Changes:
- Fixes how TriggerEvent is called to work around CVR's event caching causing events to be skipped in some situations
- Added QuickMenuAPI.AddRootPage, this is meant for more advanced usages of UILib
- Added PageDisplayName to Page class, this updates the page title on the fly
- Added missing parts to make the Category hidden flag function
- Added IsQMReady check to ClearChildren