openMSX
|
#include <OSDText.hh>
Public Member Functions | |
OSDText (Display &display, const TclObject &name) | |
std::span< const std::string_view > | getProperties () const override |
void | setProperty (Interpreter &interp, std::string_view name, const TclObject &value) override |
void | getProperty (std::string_view name, TclObject &result) const override |
std::string_view | getType () const override |
Public Member Functions inherited from openmsx::OSDImageBasedWidget | |
gl::vec2 | getPos () const override |
uint32_t | getRGBA (uint32_t corner) const |
std::span< const uint32_t, 4 > | getRGBA4 () const |
float | getRecursiveFadeValue () const override |
bool | isVisible () const override |
bool | isRecursiveFading () const override |
Public Member Functions inherited from openmsx::OSDWidget | |
virtual | ~OSDWidget ()=default |
std::string_view | getName () 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) |
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 |
Friends | |
struct | SplitAtChar |
Additional Inherited Members | |
Protected Member Functions inherited from openmsx::OSDImageBasedWidget | |
OSDImageBasedWidget (Display &display, const TclObject &name) | |
~OSDImageBasedWidget () override | |
bool | hasConstantAlpha () const |
void | createImage (OutputSurface &output) |
void | paint (OutputSurface &output) override |
gl::vec2 | getRenderedSize () const |
void | setError (std::string message) |
bool | hasError () const |
Protected Member Functions inherited from openmsx::OSDWidget | |
OSDWidget (Display &display, TclObject name) | |
void | invalidateChildren () const |
bool | needSuppressErrors () const |
Protected Attributes inherited from openmsx::OSDImageBasedWidget | |
std::unique_ptr< GLImage > | image |
Static Protected Attributes inherited from openmsx::OSDImageBasedWidget | |
static constexpr auto | imageBasedProperties |
Static Protected Attributes inherited from openmsx::OSDWidget | |
static constexpr auto | widgetProperties |
Definition at line 14 of file OSDText.hh.
Definition at line 28 of file OSDText.cc.
|
inlineoverridevirtual |
Reimplemented from openmsx::OSDImageBasedWidget.
Definition at line 30 of file OSDText.hh.
|
overridevirtual |
Reimplemented from openmsx::OSDImageBasedWidget.
Definition at line 97 of file OSDText.cc.
References openmsx::OSDImageBasedWidget::getProperty(), and UNREACHABLE.
|
overridevirtual |
Implements openmsx::OSDWidget.
Definition at line 130 of file OSDText.cc.
|
overridevirtual |
Reimplemented from openmsx::OSDImageBasedWidget.
Definition at line 34 of file OSDText.cc.
References openmsx::TclObject::getFloat(), openmsx::TclObject::getInt(), openmsx::TclObject::getString(), openmsx::OSDWidget::invalidateChildren(), openmsx::OSDImageBasedWidget::invalidateLocal(), openmsx::OSDWidget::invalidateRecursive(), openmsx::FileOperations::isRegularFile(), openmsx::OSDImageBasedWidget::setProperty(), and openmsx::systemFileContext().
|
friend |
Definition at line 63 of file OSDText.hh.