open png/jpg image with memory buffer

This commit is contained in:
Jinhao
2016-01-27 01:14:28 +08:00
parent 5a960ed88c
commit 3c8ee33ae8
8 changed files with 278 additions and 152 deletions

View File

@@ -20,6 +20,7 @@
#include <list>
#include <map>
#include <algorithm>
#include <atomic>
#if defined(STD_THREAD_NOT_SUPPORTED)
#include <nana/std_thread.hpp>
@@ -350,7 +351,7 @@ namespace nana
struct animation::impl
{
bool looped{false};
volatile bool paused{true};
std::atomic<bool> paused{true};
std::size_t fps;
std::list<frameset> framesets;