17 lines
264 B
C++
17 lines
264 B
C++
#ifndef GUARD_MYSPRITE_H
|
|
#define GUARD_MYSPRITE_H
|
|
|
|
#include <future>
|
|
#include "mingl/gui/sprite.h"
|
|
|
|
using namespace std;
|
|
|
|
class MySprite{
|
|
public:
|
|
unique_ptr<nsGui::Sprite> ptr;
|
|
future<void> asyncLoad(const string& fname);
|
|
void mirror(MySprite& msp);
|
|
};
|
|
|
|
#endif
|