Prep for image support in windows.
This commit is contained in:
parent
53c98a227d
commit
e7683cd94e
13 changed files with 172 additions and 135 deletions
|
@ -2,10 +2,23 @@
|
|||
|
||||
#include <memory>
|
||||
|
||||
namespace mt
|
||||
{
|
||||
class Screen;
|
||||
}
|
||||
|
||||
class IPlatformWindow
|
||||
{
|
||||
public:
|
||||
virtual ~IPlatformWindow() = default;
|
||||
|
||||
virtual void show() const = 0;
|
||||
|
||||
virtual void map() const = 0;
|
||||
|
||||
virtual void clear() const = 0;
|
||||
|
||||
virtual void paint(mt::Screen* screen) const = 0;
|
||||
};
|
||||
|
||||
using IPlatformWindowPtr = std::unique_ptr<IPlatformWindow>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue