Skip to content
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

Add additional button styles to InstructionalButtons #52

Closed
alexguirre opened this issue Apr 8, 2020 · 1 comment · Fixed by #80
Closed

Add additional button styles to InstructionalButtons #52

alexguirre opened this issue Apr 8, 2020 · 1 comment · Fixed by #80

Comments

@alexguirre
Copy link
Owner

Add T_, w_ and b_.

@alexguirre
Copy link
Owner Author

Multiple buttons can displayed in the same slot using % as a separator, for example "t_A%T_B%w_C"
buttons

Add some way to support this

alexguirre added a commit that referenced this issue Jun 18, 2020
alexguirre added a commit that referenced this issue Jun 18, 2020
Added IInstructionalButtonSlot interface.
InstructionalButton now inherits IInstructionalButtonSlot.
Added InstructionalButtonGroup class.
Added InstructionalButtonId struct.

**Breaking changes**
Item type of InstructionalButtonsCollection is now IInstructionalButtonSlot (breaks in some cases).
Removed InstructionalButton.ButtonText/ButtonControl in favor of the new InstructionalButton.Button which gets or sets a InstructionalButtonId instance.
alexguirre added a commit that referenced this issue Jun 18, 2020
And removed unnecessary CREATE_CONTAINER call
alexguirre added a commit that referenced this issue Jun 18, 2020
… load the scaleform if not loaded

To avoid unnecessary scaleforms calls, for example when adding buttons. Before in each Add the update was done, now only once when Draw is called.

Added Scaleform.IsLoaded
alexguirre added a commit that referenced this issue Jun 18, 2020
alexguirre added a commit that referenced this issue Jun 18, 2020
(#52) InstructionalButtons improvements
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant