Re: Use a .png file



> How can I include a .png or .bmp image in my source code?

Try something along the lines of;

Glib::RefPtr<Gdk::Pixbuf> png;
png = Gdk::Pixbuf::create_from_file ("image.png");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]