Simulant  21.12-574
A portable game engine for Windows, OSX, Linux, Dreamcast, and PSP
Public Member Functions | Friends | List of all members
smlt::Screen Class Reference
Inheritance diagram for smlt::Screen:
smlt::RefCounted< Screen > smlt::generic::DataCarrier smlt::TwoPhaseConstructed

Public Member Functions

 Screen (Window *window, const std::string &name, uint16_t w, uint16_t h, ScreenFormat format=SCREEN_FORMAT_G1, uint16_t refresh=60)
void render (const uint8_t *data)
uint16_t height () const
uint16_t width () const
ScreenFormat format () const
uint16_t refresh_rate () const
uint16_t integer_scale () const
void _set_integer_scale (uint8_t scale)
std::string name () const
void update (float dt)
- Public Member Functions inherited from smlt::TwoPhaseConstructed
virtual bool init ()
virtual void clean_up ()
- Public Member Functions inherited from smlt::generic::DataCarrier
template<typename T >
void stash (T thing, const std::string &identifier)
bool exists (const std::string &identifier) const
template<typename T >
get (const std::string &identifier) const
void unstash (const std::string &identifier)


class Window

Additional Inherited Members

- Public Types inherited from smlt::RefCounted< Screen >
typedef std::shared_ptr< Screenptr
typedef std::weak_ptr< Screenwptr
- Static Public Member Functions inherited from smlt::RefCounted< Screen >
static RefCounted< Screen >::ptr create (Args &&... args)
static RefCounted< Screen >::ptr create ()
- Protected Member Functions inherited from smlt::RefCounted< Screen >
 RefCounted (Args &&...)

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