-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement an API to pick different widget styles
The public API is extended to take a widget style parameter anywhere a widget type is being supplied. If its not specified, classic style is assumed. The style parameter is a string for future expandability, currently defined are AceGUI.STYLE_CLASSIC ("classic"), and AceGUI.STYLE_MODERN ("modern") The Create function will also additionally accept 'true' (boolean) as a parameter, which indicates automatic style selection, which switches between classic and modern depending on which client this is run on. API Changes: AceGUI:Create(type, style) AceGUI:RegisterWidgetType(Name, Constructor, Version, Style) AceGUI:GetWidgetVersion(type, style)
- Loading branch information
1 parent
c07eed7
commit 8428c4f
Showing
1 changed file
with
70 additions
and
27 deletions.
There are no files selected for viewing
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