diff options
| author | Bojidar Marinov | 2016-06-21 16:29:49 +0300 |
|---|---|---|
| committer | Bojidar Marinov | 2016-06-21 16:29:49 +0300 |
| commit | a2e39c8da00e0c8a1015a6dea8d0989a551ee016 (patch) | |
| tree | 8d708fda9d145c72bfbed46ef4e890df54684957 /tools/editor/asset_library_editor_plugin.h | |
| parent | 7915db67c55748e7e7ad3051b9749f9a992a1f17 (diff) | |
| download | godot-a2e39c8da00e0c8a1015a6dea8d0989a551ee016.tar.gz godot-a2e39c8da00e0c8a1015a6dea8d0989a551ee016.tar.zst godot-a2e39c8da00e0c8a1015a6dea8d0989a551ee016.zip | |
Add support levels to search
Diffstat (limited to 'tools/editor/asset_library_editor_plugin.h')
| -rw-r--r-- | tools/editor/asset_library_editor_plugin.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/editor/asset_library_editor_plugin.h b/tools/editor/asset_library_editor_plugin.h index 0f150fb0e..7f9514019 100644 --- a/tools/editor/asset_library_editor_plugin.h +++ b/tools/editor/asset_library_editor_plugin.h @@ -213,7 +213,8 @@ class EditorAssetLibrary : public PanelContainer { enum Support { SUPPORT_OFFICIAL, SUPPORT_COMMUNITY, - SUPPORT_TESTING + SUPPORT_TESTING, + SUPPORT_MAX }; enum SortOrder { @@ -228,6 +229,7 @@ class EditorAssetLibrary : public PanelContainer { static const char* sort_key[SORT_MAX]; static const char* sort_text[SORT_MAX]; + static const char* support_key[SUPPORT_MAX]; ///MainListing @@ -296,6 +298,7 @@ class EditorAssetLibrary : public PanelContainer { void _http_download_completed(int p_status, int p_code, const StringArray& headers, const ByteArray& p_data); void _repository_changed(int p_repository_id); + void _support_toggled(int p_support); friend class EditorAssetLibraryItemDescription; friend class EditorAssetLibraryItem; |
