1
SFML website / Re: New forum
« on: March 25, 2012, 07:31:15 pm »
Disregard me, I'm just trying out the new forums
Also: thanks for the effort as always, Laurent!
Also: thanks for the effort as always, Laurent!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
float space_size = 1.0f * font.getGlyph(0x20, characterSize, false).bounds.width;
float bold_space_size = 1.0f * font.getGlyph(0x20, characterSize, true).bounds.width;
std::cout << "spaces " << space_size << " " << bold_space_size <<std::endl;
If you want something REALLY simple, why not just remove the headers + extension, and store them in your .exe? You can even just remove the mandatory "89 PNG" at the start of the file, most tools will refuse to open it, and you don't have anything to encrypt/store
@GloverLilian: Thanks
"Simple and Fast Multimedia Library" -wiki -wikipedia -blog -forum, Google Web returns 151 results it deems unique.
I'll make a release candidate soon, by the way.
QuoteBut I still can free the memory (data) after I call Music::openFromMemory(const void * data, std::size_t sizeInBytes ), right?
No. Isn't it written in the doc?
Either wait for Laurent (he's so fast that he'll probably answer before you read this line so you won't wait for long ), or try it out yourself by loading from memory and then overwriting the data?