Represents a custom UI element for managing and displaying a list of themes in the Unity Editor. This class extends the VisualElement class and provides functionality to display and manage themes defined in WindowFrameThemeData.
|
| | ThemeListView (WindowFrameThemeData themeData) |
| | Represents a custom UI element designed for managing and displaying a list of themes in the Unity Editor. Extends the VisualElement class to support integration with Unity's UIElements framework.
|
| void | RefreshThemes () |
◆ ThemeListView()
◆ AddNewTheme()
| void GWG.WindowFramework.Editor.ThemeListView.AddNewTheme |
( |
BaseListView | baseListView | ) |
|
|
private |
◆ BindItem()
| void GWG.WindowFramework.Editor.ThemeListView.BindItem |
( |
VisualElement | element, |
|
|
int | index ) |
|
private |
◆ BuildUI()
| void GWG.WindowFramework.Editor.ThemeListView.BuildUI |
( |
| ) |
|
|
private |
◆ MakeItem()
| VisualElement GWG.WindowFramework.Editor.ThemeListView.MakeItem |
( |
| ) |
|
|
private |
◆ OnStylesResolved()
| void GWG.WindowFramework.Editor.ThemeListView.OnStylesResolved |
( |
CustomStyleResolvedEvent | evt | ) |
|
|
private |
◆ RefreshThemes()
| void GWG.WindowFramework.Editor.ThemeListView.RefreshThemes |
( |
| ) |
|
◆ SetActiveTheme()
| void GWG.WindowFramework.Editor.ThemeListView.SetActiveTheme |
( |
int | index | ) |
|
|
private |
◆ SetDefaultTheme()
| void GWG.WindowFramework.Editor.ThemeListView.SetDefaultTheme |
( |
int | index | ) |
|
|
private |
◆ TriggerControllerUpdate()
| void GWG.WindowFramework.Editor.ThemeListView.TriggerControllerUpdate |
( |
| ) |
|
|
private |
◆ UpdateApplyMethodState()
| void GWG.WindowFramework.Editor.ThemeListView.UpdateApplyMethodState |
( |
| ) |
|
|
private |
◆ _addThemeButton
| Button GWG.WindowFramework.Editor.ThemeListView._addThemeButton |
|
private |
◆ _controller
◆ _themeApplyMethod
| EnumField GWG.WindowFramework.Editor.ThemeListView._themeApplyMethod |
|
private |
◆ _themeListView
| ListView GWG.WindowFramework.Editor.ThemeListView._themeListView |
|
private |
◆ Controller
Assigning a new controller updates the underlying data source for the theme list view. This triggers the list view to rebuild its items by binding to the themes contained within the specified WindowFrameThemeData instance.