11class CommandController;
26 class OSDCommand final :
public Command {
29 void execute(std::span<const TclObject> tokens,
TclObject& result)
override;
30 [[nodiscard]] std::string help(std::span<const TclObject> tokens)
const override;
31 void tabCompletion(std::vector<std::string>& tokens)
const override;
34 void create (std::span<const TclObject> tokens,
TclObject& result);
35 void destroy (std::span<const TclObject> tokens,
TclObject& result);
36 void info (std::span<const TclObject> tokens,
TclObject& result);
38 void configure(std::span<const TclObject> tokens,
TclObject& result);
39 [[nodiscard]] std::unique_ptr<OSDWidget> create(
40 std::string_view type,
const TclObject& name)
const;
41 void configure(
OSDWidget& widget, std::span<const TclObject> tokens);
43 [[nodiscard]]
OSDWidget& getWidget(std::string_view name)
const;
46 OSDTopWidget topWidget;
Represents the output window/screen of openMSX.
OSDTopWidget & getTopWidget()
OSDGUI(CommandController &commandController, Display &display)
Display & getDisplay() const
const OSDTopWidget & getTopWidget() const
bool exists(zstring_view filename)
Does this file (directory) exists?
This file implemented 3 utility functions: