|
Deki 0.19.0
Modular C++ 2D engine for embedded displays and desktop
|
Asset picker popup. More...
#include <C:/Users/kirby/Documents/Github/deki/deki-editor/deki-editor/include/deki-editor/AssetPicker.h>
Public Member Functions | |
| AssetPicker () | |
| bool | Open (const std::string &popupId, const std::string ¤tValue, AssetFilterType filter, std::string &outSelectedPath) |
| Opens the picker popup for one property. | |
| bool | Draw (const std::string &popupId, std::string &outSelectedPath) |
| Call every frame while the popup may be open. | |
Asset picker popup.
Lives in the editor DLL so package editors use the same picker as the Inspector; it reads the project through the asset pipeline, not EditorApp.
| DekiEditor::AssetPicker::AssetPicker | ( | ) |
| bool DekiEditor::AssetPicker::Open | ( | const std::string & | popupId, |
| const std::string & | currentValue, | ||
| AssetFilterType | filter, | ||
| std::string & | outSelectedPath ) |
Opens the picker popup for one property.
Returns true when an asset was selected.
| bool DekiEditor::AssetPicker::Draw | ( | const std::string & | popupId, |
| std::string & | outSelectedPath ) |
Call every frame while the popup may be open.
Returns true when the selection changed.