Donner SVG 0.8.0
0.8.0 ยท ebf353960.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::editor::MenuBarPresenter Class Reference

Renders the app's top menu bar and reports semantic actions back to the shell. More...

#include "donner/editor/MenuBarPresenter.h"

Public Member Functions

MenuBarActions render (const MenuBarState &state, ImFont *boldMenuFont) const
 Draw the menus and return commands activated during this pass.

Detailed Description

Renders the app's top menu bar and reports semantic actions back to the shell.

Member Function Documentation

◆ render()

MenuBarActions donner::editor::MenuBarPresenter::render ( const MenuBarState & state,
ImFont * boldMenuFont ) const
nodiscard

Draw the menus and return commands activated during this pass.

Parameters
stateAvailability, focus, and toggle values for the current frame.
boldMenuFontOptional font used to emphasize menu headings.

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