I attach the link with the content (sprites and others), the code and an example executable(CC0).
Download: https://www.mediafire.com/file/n1fbwcie ... d.rar/file
It is necessary to add device->yield(); to solve the problem of not being able to move the cursor when changing windows, like that:
Code: Select all
while (device->run()) {
if (device->isWindowActive())
{
**the code**
}
else
{
device->yield();
}
}
device->drop();
return 0;