openMSX
Public Member Functions | Friends | List of all members
openmsx::OSDText Class Referencefinal

#include <OSDText.hh>

Inheritance diagram for openmsx::OSDText:
Inheritance graph
[legend]
Collaboration diagram for openmsx::OSDText:
Collaboration graph
[legend]

Public Member Functions

 OSDText (Display &display, const TclObject &name)
 
std::vector< 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
uint32_t getRGBA (uint32_t corner) const
 
const uint32_t * getRGBA4 () const
 
float getRecursiveFadeValue () const override
 
- Public Member Functions inherited from openmsx::OSDWidget
virtual ~OSDWidget ()=default
 
std::string_view getName () const
 
gl::vec2 getPos () const
 
gl::vec2 getRelPos () const
 
float getZ () const
 
OSDWidgetgetParent ()
 
const OSDWidgetgetParent () 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)
 
DisplaygetDisplay () 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 paintSDL (OutputSurface &output) override
 
void paintGL (OutputSurface &output) override
 
void setError (std::string message)
 
bool hasError () const
 
- Protected Member Functions inherited from openmsx::OSDWidget
 OSDWidget (Display &display, const TclObject &name)
 
void invalidateChildren ()
 
bool needSuppressErrors () const
 
- Protected Attributes inherited from openmsx::OSDImageBasedWidget
std::unique_ptr< BaseImageimage
 

Detailed Description

Definition at line 10 of file OSDText.hh.

Constructor & Destructor Documentation

◆ OSDText()

openmsx::OSDText::OSDText ( Display display,
const TclObject name 
)

Definition at line 29 of file OSDText.cc.

References openmsx::NONE.

Member Function Documentation

◆ getProperties()

vector< string_view > openmsx::OSDText::getProperties ( ) const
overridevirtual

Reimplemented from openmsx::OSDImageBasedWidget.

Definition at line 37 of file OSDText.cc.

References detail::append(), and openmsx::OSDImageBasedWidget::getProperties().

◆ getProperty()

void openmsx::OSDText::getProperty ( std::string_view  name,
TclObject result 
) const
overridevirtual

◆ getType()

string_view openmsx::OSDText::getType ( ) const
overridevirtual

◆ setProperty()

void openmsx::OSDText::setProperty ( Interpreter interp,
std::string_view  name,
const TclObject value 
)
overridevirtual

Friends And Related Function Documentation

◆ SplitAtChar

friend struct SplitAtChar
friend

Definition at line 50 of file OSDText.hh.


The documentation for this class was generated from the following files: