openMSX
|
#include <OSDTopWidget.hh>
Public Member Functions | |
OSDTopWidget (Display &display) | |
std::string_view | getType () const override |
gl::vec2 | getSize (const OutputSurface &output) const override |
bool | isVisible () const override |
bool | isRecursiveFading () const override |
void | queueError (std::string message) |
void | showAllErrors () |
OSDWidget * | findByName (std::string_view name) |
const OSDWidget * | findByName (std::string_view name) const |
void | addName (OSDWidget &widget) |
void | removeName (OSDWidget &widget) |
auto | getAllWidgetNames () const |
Public Member Functions inherited from openmsx::OSDWidget | |
virtual | ~OSDWidget ()=default |
std::string_view | getName () const |
virtual gl::vec2 | getPos () const |
gl::vec2 | getRelPos () const |
float | getZ () const |
OSDWidget * | getParent () |
const OSDWidget * | getParent () const |
const SubWidgets & | getChildren () const |
void | addWidget (std::unique_ptr< OSDWidget > widget) |
void | deleteWidget (OSDWidget &widget) |
virtual std::span< const std::string_view > | getProperties () const |
virtual void | setProperty (Interpreter &interp, std::string_view name, const TclObject &value) |
virtual void | getProperty (std::string_view name, TclObject &result) const |
virtual float | getRecursiveFadeValue () const |
void | invalidateRecursive () |
void | paintRecursive (OutputSurface &output) |
int | getScaleFactor (const OutputSurface &output) const |
gl::vec2 | transformPos (const OutputSurface &output, gl::vec2 pos, gl::vec2 relPos) const |
BoundingBox | getBoundingBox (const OutputSurface &output) const |
Display & | getDisplay () const |
Protected Member Functions | |
void | invalidateLocal () override |
void | paint (OutputSurface &output) override |
Protected Member Functions inherited from openmsx::OSDWidget | |
OSDWidget (Display &display, TclObject name) | |
void | invalidateChildren () const |
bool | needSuppressErrors () const |
Additional Inherited Members | |
Static Protected Attributes inherited from openmsx::OSDWidget | |
static constexpr auto | widgetProperties |
Definition at line 13 of file OSDTopWidget.hh.
|
explicit |
Definition at line 8 of file OSDTopWidget.cc.
References addName().
void openmsx::OSDTopWidget::addName | ( | OSDWidget & | widget | ) |
Definition at line 69 of file OSDTopWidget.cc.
References openmsx::OSDWidget::getName().
Referenced by OSDTopWidget().
OSDWidget * openmsx::OSDTopWidget::findByName | ( | std::string_view | name | ) |
const OSDWidget * openmsx::OSDTopWidget::findByName | ( | std::string_view | name | ) | const |
Definition at line 64 of file OSDTopWidget.cc.
References findByName().
|
inline |
Definition at line 29 of file OSDTopWidget.hh.
References view::transform().
|
overridevirtual |
Implements openmsx::OSDWidget.
Definition at line 19 of file OSDTopWidget.cc.
References openmsx::OutputSurface::getLogicalSize().
|
overridevirtual |
Implements openmsx::OSDWidget.
Definition at line 14 of file OSDTopWidget.cc.
|
overrideprotectedvirtual |
Implements openmsx::OSDWidget.
Definition at line 34 of file OSDTopWidget.cc.
|
overridevirtual |
Implements openmsx::OSDWidget.
Definition at line 29 of file OSDTopWidget.cc.
|
overridevirtual |
Implements openmsx::OSDWidget.
Definition at line 24 of file OSDTopWidget.cc.
|
overrideprotectedvirtual |
Implements openmsx::OSDWidget.
Definition at line 39 of file OSDTopWidget.cc.
void openmsx::OSDTopWidget::queueError | ( | std::string | message | ) |
Definition at line 44 of file OSDTopWidget.cc.
Referenced by openmsx::OSDImageBasedWidget::setError().
void openmsx::OSDTopWidget::removeName | ( | OSDWidget & | widget | ) |
Definition at line 75 of file OSDTopWidget.cc.
References end(), openmsx::OSDWidget::getName(), and removeName().
Referenced by removeName().
void openmsx::OSDTopWidget::showAllErrors | ( | ) |
Definition at line 49 of file OSDTopWidget.cc.
References openmsx::Display::getCliComm(), openmsx::OSDWidget::getDisplay(), and openmsx::CliComm::printWarning().