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 |
![]() | |
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 |
![]() | |
virtual | ~OSDWidget ()=default |
std::string_view | getName () const |
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) |
void | invalidateRecursive () |
void | paintSDLRecursive (OutputSurface &output) |
void | paintGLRecursive (OutputSurface &output) |
int | getScaleFactor (const OutputSurface &output) const |
gl::vec2 | transformPos (const OutputSurface &output, gl::vec2 pos, gl::vec2 relPos) const |
void | getBoundingBox (const OutputSurface &output, gl::vec2 &pos, gl::vec2 &size) const |
Display & | getDisplay () const |
Static Protected Attributes | |
static constexpr auto | textProperties |
![]() | |
static constexpr auto | imageBasedProperties |
![]() | |
static constexpr auto | widgetProperties |
Friends | |
struct | SplitAtChar |
Additional Inherited Members | |
![]() | |
OSDImageBasedWidget (Display &display, const TclObject &name) | |
~OSDImageBasedWidget () override | |
bool | hasConstantAlpha () const |
void | createImage (OutputSurface &output) |
void | paintSDL (OutputSurface &output) override |
void | paintGL (OutputSurface &output) override |
void | setError (std::string message) |
bool | hasError () const |
![]() | |
OSDWidget (Display &display, TclObject name) | |
void | invalidateChildren () |
bool | needSuppressErrors () const |
![]() | |
std::unique_ptr< BaseImage > | image |
Definition at line 12 of file OSDText.hh.
Definition at line 28 of file OSDText.cc.
References openmsx::NONE.
|
inlineoverridevirtual |
Reimplemented from openmsx::OSDImageBasedWidget.
Definition at line 29 of file OSDText.hh.
References textProperties.
|
overridevirtual |
Reimplemented from openmsx::OSDImageBasedWidget.
Definition at line 101 of file OSDText.cc.
References openmsx::TclObject::addListElement(), openmsx::OSDImageBasedWidget::getProperty(), and UNREACHABLE.
|
overridevirtual |
Implements openmsx::OSDWidget.
Definition at line 137 of file OSDText.cc.
|
overridevirtual |
Reimplemented from openmsx::OSDImageBasedWidget.
Definition at line 36 of file OSDText.cc.
References openmsx::TclObject::getDouble(), 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 67 of file OSDText.hh.
|
staticconstexprprotected |
Definition at line 15 of file OSDText.hh.
Referenced by getProperties().