-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gui optimization #28
Merged
Merged
Gui optimization #28
Conversation
This file contains 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.
❗ indicates a breaking change.
Added
ItemList
visible property.WidgetTree
can now be used without aGUIWindow
andInputQueue
.Changed
DialogComponent::result
is now aProperty
instead of a plain field.Use
result.get()
to retrieve the boolean value or rely on implicit conversion.The same applies to the
value
,prompt
,text
, andicon
fields in derived dialogs.buttonColor
has been renamed tomainColor
.layoutOptions
property of theText
widget has been renamed totextOptions
, and theLayoutOptions
type is nowTextOptions
.createWindow
function should now be overridden instead ofmakeWindow
to use a custom window class for the component.isHintVisible
property controls whether the widget's hint is visible.description
property has been removed in favor of thehint
property.reflection
static field is now used to store field information (previouslyReflection
).selectedColor
) are now indexed by string hash instead of a linear index, making it easier to create custom variables.ComboBox
andPopupBox
mouse interaction fixes.ImplicitContext
is now convertible tobool
.Knob
andSlider
colors can be changed by assigning theselectedColor
style variable. Hover and pressed styles are preserved.Showcase
app updated.ReflectionOf
utility class has been introduced to provide reflection information for external types.WrapAnywhere
flag inTextOptions
.Fixed
_SCRIPTS_DIR
is now cached inCMakeCache.txt
, resolving issues when Brisk is included usingadd_subdirectory
.Rectangle::empty
has been fixed to returntrue
for{INT_MAX, INT_MAX, INT_MIN, INT_MIN}
.BackStrikedText
now uses opacity for painting.