11class CommandController;
24 [[nodiscard]]
bool isOpenGL()
const {
return openGL; }
29 class OSDCommand final :
public Command {
32 void execute(std::span<const TclObject> tokens,
TclObject& result)
override;
33 [[nodiscard]] std::string help(std::span<const TclObject> tokens)
const override;
34 void tabCompletion(std::vector<std::string>& tokens)
const override;
38 void destroy (std::span<const TclObject> tokens,
TclObject& result);
39 void info (std::span<const TclObject> tokens,
TclObject& result);
41 void configure(std::span<const TclObject> tokens,
TclObject& result);
42 [[nodiscard]] std::unique_ptr<OSDWidget>
create(
43 std::string_view type,
const TclObject& name)
const;
44 void configure(
OSDWidget& widget, std::span<const TclObject> tokens);
46 [[nodiscard]]
OSDWidget& getWidget(std::string_view name)
const;
49 OSDTopWidget topWidget;
Represents the output window/screen of openMSX.
OSDTopWidget & getTopWidget()
OSDGUI(CommandController &commandController, Display &display)
Display & getDisplay() const
void setOpenGL(bool openGL_)
const OSDTopWidget & getTopWidget() const
bool exists(zstring_view filename)
Does this file (directory) exists?
std::unique_ptr< IDEDevice > create(const DeviceConfig &config)
This file implemented 3 utility functions: