ShishGL  1.0
A simple modular cross-platform graphics library
Sh::SfmlPlatform::SfmlContext Class Reference

#include <Platform.hpp>

Inheritance diagram for Sh::SfmlPlatform::SfmlContext:
Collaboration diagram for Sh::SfmlPlatform::SfmlContext:

Public Member Functions

 SfmlContext (const Vector2< size_t > &size, const Color &color)
 
 SfmlContext (const std::string_view &filename)
 
void update (const Color *data) override
 
void updateAt (const Vector2< size_t > &pos, const Color &color) override
 
 ~SfmlContext () override=default
 

Friends

class SfmlPlatform
 

Constructor & Destructor Documentation

◆ SfmlContext() [1/2]

SfmlPlatform::SfmlContext::SfmlContext ( const Vector2< size_t > &  size,
const Color color 
)
explicit

◆ SfmlContext() [2/2]

SfmlPlatform::SfmlContext::SfmlContext ( const std::string_view &  filename)
explicit

◆ ~SfmlContext()

Sh::SfmlPlatform::SfmlContext::~SfmlContext ( )
overridedefault

Member Function Documentation

◆ update()

void SfmlPlatform::SfmlContext::update ( const Color data)
override

◆ updateAt()

void SfmlPlatform::SfmlContext::updateAt ( const Vector2< size_t > &  pos,
const Color color 
)
override

Friends And Related Function Documentation

◆ SfmlPlatform

friend class SfmlPlatform
friend

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