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

A builder's own settings UI in the platform editor. More...

#include <C:/Users/kirby/Documents/Github/deki/deki-editor/deki-editor/include/deki-editor/build/TargetBuilder.h>

Public Member Functions

virtual ~IPlatformEditorUI ()=default
virtual void Draw ()=0
 Draws this platform's builder-specific settings.
virtual void ApplyToConfig (PlatformConfig &config) const =0
 Writes the edited values back into config.

Detailed Description

A builder's own settings UI in the platform editor.

The builder draws its own ImGui widgets; PlatformEditorDialog owns the instance and calls it.

Constructor & Destructor Documentation

◆ ~IPlatformEditorUI()

virtual DekiEditor::IPlatformEditorUI::~IPlatformEditorUI ( )
virtualdefault

Member Function Documentation

◆ Draw()

virtual void DekiEditor::IPlatformEditorUI::Draw ( )
pure virtual

Draws this platform's builder-specific settings.

Takes no EditorApp on purpose: third-party builders compile against this interface, and the editor's application class must stay out of it. For DPI, use x * ImGui::GetWindowDpiScale().

◆ ApplyToConfig()

virtual void DekiEditor::IPlatformEditorUI::ApplyToConfig ( PlatformConfig & config) const
pure virtual

Writes the edited values back into config.


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