Fire 35859 script dialog multi floater - #258
Open
minerjr wants to merge 6 commits into
Open
Conversation
Add new Multi-Floater and class for LLScriptFloaters. Allows LLScriptDialogs to dock into a single window instead of the on screen chicklets. New Class named "FSFloaterScriptDialogContainer" and new UI XML named "floater_fs_script_dialog_container.xml" Based around the IM floater container. Option in Preferences -> User Interface -> 2D Overlay - "Use Script Dialog dock window" that is used to turn on the feature. If unckecked, all normal behavior will work. When enabled, the Script Dialog Position combobox is disabled as the docked option is forced. Docked Script Dialog floaters are able to tear off the dock, dock again and close.
Added new fs_script_dialog_container to the skip list so that when full screenit will appear like the script_floater.
Added code to the LLScriptFloaterManager to allow it to reload the Script Dialog floaters. Used for when the user turns off the ffeature to dock in the window while in the preferences.
…ehavior Added new flag to the Preferences -> User Interface - 2D Overlay named "Tab to Script Dialog when docked". When enabled, the current behavior of automatically changing the active tab to the newly added one. When disabled (defualt value) the current active tab is left alone and the new floater is added, but does not gain focus.
Add "Close All" button to the Script Dialog Multi-floater. When picked, any floater currently docked in the multi-floater will be closed. Any Script Dialogs that had been torn off will stay. Confirmation notification specified when the user uses the CLose All button. The user is able to choose to ignore the confirm button. Added checkes in FSFloaterScriptDialogContainer::computeResizeLimits and FSFloaterScriptDialogContainer::growToFit to compensate for the space used by the Close All button.
Code clean up for the fsfloaterscriptdialogcontainer.h and fsfloaterscriptdialogcontainer.cpp files. Removed methods that were empty or called base class methods as the code they were based on had additional code that was removed. Added override to all inherited methods.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Created new multi-floater which allows to group Script Dialog floaters as an option in the Preferences.
The Script Dialog Multi-Floater (SDMF) supports: