Hi Laurent.
My dev friend said me that he try on ATI and IBM GPU of Laptop because now he use only Linux on the big PC.
Because now I have need to use it on laptop with a max graph of 1024..
I catted all big images and compress all texts.
I'm give that program to all my friends to test. ..
.. if you want to see what I do with your kindly SFML..
Now....
I made and tested new minimal test program
Can I send you .zip with im.png & .cpp & .cbp that I make for it?
Do you want to see my first application on SFML?
im.png is an image 1026x32 of 27kb
Program:
#include <SFML/Graphics.hpp>
int main() {
sf::RenderWindow App;
sf::String sfs;
sf::Image im;
App.Create(sf::VideoMode(1200, 900, 32), "Trasporter"); //1024x768
if (!im.LoadFromFile("./im.png")) return EXIT_FAILURE;
bool IsRunning = true;
while (IsRunning) { // Programma simulazione in funzione
sf::Event Event;
while (App.GetEvent(Event)) { // Controllo eventi finestra applicazione compresi tasti premuti
if (Event.Type == sf::Event::Closed) IsRunning = false;
if (Event.Type == sf::Event::KeyPressed) {
switch (Event.Key.Code) {
case sf::Key::Escape:
IsRunning = false;
break;
default:
break;
}
}
}
sfs.SetLeft(0);
sfs.SetTop (0);
sfs.SetText("OK, loaded! Press Esc to exit");
App.Draw(sfs);
App.Display();
} // while IsRunning
return EXIT_SUCCESS;
}
Thanks, Fixus