DEKI/ENGINE docs
Deki 0.19.0
Modular C++ 2D engine for embedded displays and desktop
Loading...
Searching...
No Matches
DekiEditor::AssetPicker Class Reference

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 &currentValue, 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.

Detailed Description

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.

Constructor & Destructor Documentation

◆ AssetPicker()

DekiEditor::AssetPicker::AssetPicker ( )

Member Function Documentation

◆ Open()

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.

◆ Draw()

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.


The documentation for this class was generated from the following file: