Re: [fltk.development] new a fltk window will takes more memory

2012-02-09 Thread leowang
> > > > I have a simple large window, it contains nothing, only display > > black, > > > > but it will consumes lots of memory (totally w * h * 4 Bytes), ps: > > my > > > > platform is 32bpp. > > > > =3D > > > > > > > Why such a simple window consume so much memory? How to reduce the > > > > memory

Re: [fltk.development] new a fltk window will takes more memory

2012-02-01 Thread leowang
> > > I have a simple large window, it contains nothing, only display black, > > but it will consumes lots of memory (totally w * h * 4 Bytes), ps: my > > platform is 32bpp. > > = > > > Why such a simple window consume so much memory? How to reduce the > > memory consume. Thanks. > > How much memor

[fltk.development] how to run fltk based on DFB

2012-02-01 Thread leowang
Dear All, Now the fltk is running on XWindow, can we set the fltk running on DirectFB? If yes, how to configure it? thanks. My fltk version is 2.0 Best regards, Leo ___ fltk-dev mailing list fltk-dev@easysw.com http://lists.easysw.com/mailman/listinfo/

[fltk.development] new a fltk window will takes more memory

2012-02-01 Thread leowang
Dear All, I have a question about memory consume. I have a simple large window, it contains nothing, only display black, but it will consumes lots of memory (totally w * h * 4 Bytes), ps: my platform is 32bpp. Why such a simple window consume so much memory? How to reduce the memory consume. T

Re: [fltk.development] how to make fltk faster?

2009-12-03 Thread leowang
> > > In my using of FLTK, I found even I write a very simple=20 > > program(only has a empty window, no any widget), when it run=20 > > in my arm board(arm:240MHz, ram:64MB), it will takes about=20 > > 1.2 seonds to display, this time to too long. Can I have any=20 > > method to improve this? Than

[fltk.development] how to make fltk faster?

2009-12-03 Thread leowang
Dear All, In my using of FLTK, I found even I write a very simple program(only has a empty window, no any widget), when it run in my arm board(arm:240MHz, ram:64MB), it will takes about 1.2 seonds to display, this time to too long. Can I have any method to improve this? Thanks. Best regards, __

[fltk.development] draw text inside button widget

2009-11-10 Thread leowang
Dear All, I found that when I draw the text in button widget, the corrdinates of the text is not in the center of the button, but near the bottom part. If I deactivate the button, the text will be more near the bottom part. Why? My code is as follows: m_pButton = new Button(0,0, 47, 21, "test"

[fltk.development] use YUV data as FLTK image

2009-11-10 Thread leowang
Dear All, As I know, fltk can take bmp, xpm, jpg, png format picture as it's accept image. Now I want to transfer a YUV data as the FLTK image. how can I do? I try to rename a YUV data to a bmp suffix, such as yuv.bmp, and add a bmp header to this file, then transfer this image to SharedImage:

Re: [fltk.development] about browser widget

2009-04-15 Thread leowang
> > Yes, set the pattern to "*.bmp" > > Am 15.04.2009 9:31 Uhr schrieb "leowang" unter > : > > > I want to only use BMP file as browser item, is it possible to implement? > > Thanks. > > ___ &g

Re: [fltk.development] about browser widget

2009-04-15 Thread leowang
> > > > I want to only use BMP file as browser item, is it possible=20 > > to implement? Thanks. > > > I think I do not understand what you are asking - can you re-phrase your > question to clarify, please? > > > > > SELEX Sensors and Airborne Systems Limited > Registered Office: Sigma House, Chris

[fltk.development] about browser widget

2009-04-15 Thread leowang
I want to only use BMP file as browser item, is it possible to implement? Thanks. ___ fltk-dev mailing list fltk-dev@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-dev

[fltk.development] can't display '&' character

2009-04-01 Thread leowang
Dear All, I found that fltk can't display '&' character in widget. such as Button *btn = new Button(0, 0, 100, 100, "abcd&efg"); it will display as abcdefg. and in browser widget, nothing will be display. why? ___ fltk-dev mailing list fltk-dev@easysw