DEKI/ENGINE docs
manual api reference
Deki 0.40.1
Modular C++ engine with a visual editor, for 2D and 3D
Loading...
Searching...
No Matches
TargetCards.h File Reference

Classes

struct  DekiEditor::TargetCardInfo
 One card's header. More...

Namespaces

namespace  DekiEditor

Functions

std::vector< const PlatformConfig * > DekiEditor::ProjectTargets (const std::string &projectPath)
 The platforms this project can build for, in the registry's order: its own (platforms/<id>/), those its packages offer, and the installed board packs', as ReloadProjectPlatforms fills the registry for it.
void DekiEditor::TargetCard (const TargetCardInfo &info, bool &open, const std::function< void(float labelX, float valueX, float valueW)> &body)
 A card.
void DekiEditor::TargetCardRow (const char *label, float labelX, float valueX)
 A row inside a card: the label (translated), then the cursor at valueX for its control.
bool DekiEditor::TargetCardsBegin ()
 Starts the Targets section.
void DekiEditor::TargetCardsEnd ()
bool DekiEditor::TargetOverrideCombo (const char *id, float width, const char *preview, bool fromDefault, const std::string &defaultLabel, const std::function< const char *(int)> &label, int count, int firstIndex, int &index)
 A dropdown whose closed box shows preview, dimmed when it comes from Default, and whose list starts with defaultLabel (choosing it sets index to firstIndex - 1), then label(firstIndex) .