Re: [fltk.general] Fl_Shared_Image issue

2012-02-09 Thread Greg Ercolano
On 02/08/12 19:28, leowang wrote: > window->image(Fl_Shared_Image::get("test.bmp")); > > But when I run the program in my arm board, it only display white but not the > test.bmp. I can sure the test.bmp is in the correct position. > Can anyone tell my why? Thanks. I would add some er

Re: [fltk.general] Fl_Shared_Image issue

2012-02-09 Thread Albrecht Schlosser
On 09.02.2012 04:28, leowang wrote: > But I have a question about Fl_Shared_Image, my code is like the following: > > int main(int argc, char ** argv) { > fl_register_images(); > Fl_Window *window = new Fl_Window(0, 0, 1280, 800); > window->image(Fl_Shared_Image::get("test.bmp")); >

[fltk.general] Fl_Shared_Image issue

2012-02-08 Thread leowang
Dear All, Now I try to moving from fltk2.0 to fltk1.3. >From the point of memory consumption, fltk1.3 is more better than fltk2.0, I >think may be I will use fltk1.3 for my future development. But I have a question about Fl_Shared_Image, my code is like the following: int main(int argc, char **