[fltk.general] using fltk in embedded devices

2010-10-14 Thread md houssy
I am working on a GUI using fltk, that will be embedded. I found that "statically compile FLTK eliminates cluttering runtimes (*. dll files for Microsoft Windows or *. so for GNU / Linux) for an executable file that runs without requiring prior installation of a third party library." 1/ that m

[fltk.general] simple question

2010-10-12 Thread md houssy
Good evening, I want to display a red Box into a black one, but when I run the program, the black is the only one displayed ( stack ) what to do then? this is my programme #include #include #include #include #include int main () { Fl_Window *Win = new Fl_Window(0,0,500,300,"

[fltk.general] fltk licence

2010-10-12 Thread md houssy
hello, I am wondering to know some details about FLTK licence. the Graphics library FLTK is available under GPL licence with some exceptions. 1/ I wonder to know if we can use FLTK to produce a commercial product? 2/ If yes, have we to make the code source as open source? 3/ "Static linking

[fltk.general] fltk licence

2010-10-12 Thread md houssy
hello, I am wondering to know some details about FLTK licence. the Graphics library FLTK is available under GPL licence with some exceptions. 1/ I wonder to know if we can use FLTK to produce a commercial product? 2/ If yes, have we to make the code source as open source? 3/ "Static linking of ap

[fltk.general] Fl_Gl_Window : setting a background image

2010-09-05 Thread md houssy
I am using a Fl_Gl_Window and I want to set an image to the background ! the Fl_Tiled_Image does not return anything ! ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk

Re: [fltk.general] Animated GIFs?

2010-08-17 Thread md houssy
> OK - looking at that now, it is not animated GIF's he's using, he's > manipulating PNG's with GL, so probably not what you want. Might still > be worth a look though. > Can you give us a link to the code or an example ?

[fltk.general] Fl_choice show

2010-08-16 Thread md houssy
I have make two Fl_Choice widget ; I wnder to know wether I nedd a handle method to show the list ? If some one have a simple example I will be so greatful !!! thank you ___ fltk mailing list fltk@easysw.com

Re: [fltk.general] callback

2010-08-09 Thread md houssy
> That should be enough to help you understand what you have done wrong. I don't know what is wrong, I have tried differently but it doesn't work. Sorry for disturbing ! ___ fltk mailing list fltk@easysw.com h

[fltk.general] callback

2010-08-09 Thread md houssy
the callback function does not work for me, can some one help? this is my class : #ifndef Fl_Audio_H #define Fl_Audio_H #ifndef Fl_Group_H #include "Fl_Group.H" #endif #include "Fl_Button.H" #include "Enumerations.H" #include "Fl_Choice.H" #include "Fl_Box.H" #include "Fl_PNG_Image.H" class F

[fltk.general] link src

2010-08-09 Thread md houssy
Hi, I have sub classed Fl_group and I have added some header files and source files, I have reconfigured the lib; the compiler could find the header files but he didn't find the source files. how can I link them I am using ubuntu ! thank you! _

Re: [fltk.general] time + chnage

2010-08-03 Thread md houssy
> Please, if you are going to post example code, make sure that it is *at > least* correct and valid. > > If you want us to help you, you also need to try and help yourself! > > In particular, I can't believe that you ever compiled that class code, > as it has typos in it and will not compile

Re: [fltk.general] time + chnage

2010-08-02 Thread md houssy
> What part of this is it that you are having difficulty with? I want to change the color every 2 seconds, I couldn't found how to apply the example given to my class can you try and chage it with addtimeout ? I thank you very much !!

Re: [fltk.general] time + chnage

2010-08-02 Thread md houssy
> From: br...@planetjupiter.orangehome.co.uk > Date: Mon, 2 Aug 2010 10:52:01 -0700 > To: fltk@easysw.com > Subject: [fltk.general] time + chnage > > md houssy wrote > > ->Good evening everybody; > ->I want to display a box and change its colour every 2 second

[fltk.general] time + chnage

2010-08-02 Thread md houssy
Good evening everybody; I want to display a box and change its colour every 2 seconds ! should I utilise Fl_Timer ? if yes, how could it be? thank you ___ fltk mailing list fltk@easysw.com http://lists.easys

[fltk.general] transparent background

2010-07-27 Thread md houssy
I try to have a transparent background for my GUI, but setting the boxtype of the window to FL_NO_BOX just display the last image and it isn't dynamic ! how can I get a transparent background ? do I have to call system commands ? if yes can some one show me an example? Also any help about res

Re: [fltk.general] background transparent?

2010-07-23 Thread md houssy
> 2/ for the class Fl_Input how can we get the string passed into the > Fl_input ? Fl_input->value returns a const char*; so how can I get > all the text typed into the Fl_Input label ? I don't understand the question - a char* is a text string, it holds all the characters that are in the Fl_

[fltk.general] background transparent?

2010-07-23 Thread md houssy
hi, I am workin on a GUI and I have 4 simple questions 1/ I wonder to have a window with a background which is transparent, is it possible with fltk?? 2/ for the class Fl_Input how can we get the string passed into the Fl_input ? Fl_input->value returns a const char*; so how can I get all

[fltk.general] hadling events

2010-07-22 Thread md houssy
I have a problem with handling events, I'd like to know how buttons are working ? for example I have one group is shown, I would like to hide it and show another by pushing an OK button can some one help ? __

Re: [fltk.general] Fl_File_Icon how to use?

2010-07-20 Thread md houssy
(my original message) > md houssy wrote: > > I have to use icons so I found FL_File Icon class, but I don't know > > how to use it, shall I use the constructor or load directly? for the > > constructor I didn't understand the parameters needed ? > > >

[fltk.general] Fl_File_Icon how to use?

2010-07-19 Thread md houssy
I have to use icons so I found FL_File Icon class, but I don't know how to use it, shall I use the constructor or load directly? for the constructor I didn't understand the parameters needed ? Fl_File_Icon::Fl_File_Icon(const char *p,/* I - Filename pattern */

[fltk.general] (no subject)

2010-07-19 Thread md houssy
I have to use icons so I found FL_File Icon class, but I don't know how to use it, shall I use the constructor or load directly? for the constructor I didn't understand the parameters needed ? Fl_File_Icon::Fl_File_Icon(const char *p,/* I - Filename pattern */

[fltk.general] resize image!

2010-07-18 Thread md houssy
how can we resize the image we have already downloaded? for example this is my code #include #include #include #include #include int main() { fl_register_images(); Fl_Window win(720,486); win.fullscreen(); int a=win.w(); int b=win.h(); Fl_Boxbox(FL_UP_BOX

Re: [fltk.general] undefined reference error

2010-07-15 Thread md houssy
>You must link with the fltk images and fltk jpeg libraries as well. how can I do this on code::bloks I have already set the global variable and I have set the path lib to the fltk/lib thank you

[fltk.general] undefined reference error

2010-07-15 Thread md houssy
I am using fltk 1.1.10 in code::blocks on vista pro; I configurated the library like it is indicated in fltk.org (with mingw and msys). I have linked the lib to c::b by stiing the global variables! here is my code but I have an error !!! please help me. thank you

[fltk.general] help to link image please!

2010-07-15 Thread md houssy
hi, please I need help to display an image how can I load this image ? how can I pass it to the box ( box -> image = img ??) please, I am newly user for fltk, can I build a GUI for an embeeded system with fltk?? I am using fltk 1.1.10 on code::blocks on vista pro; I configurated the library

Re: [fltk.general] help load image

2010-07-13 Thread md houssy
I have allready copied all the code in the http://www.seriss.com/people/erco/fltk/#Fl_JPG_Image; I have the same errors undefined reference to `fl_register_images()' undefined reference to `Fl_JPEG_Image::Fl_JPEG_Image(char const*)' I have seen the src file but I didn't find the fl_register_imag

Re: [fltk.general] help load image

2010-07-13 Thread md houssy
> > You need to link against the fltk image libs. You did not show us your > compile or link commands, but for a single file, fltk-config will work. > Try this: > > > fltk-config --use-images --compile my_prog.cxx > > And see if that works for you... > thank you for responding, I am usin

[fltk.general] help load image

2010-07-13 Thread md houssy
hi, I want to load an image from my disc I used this code #include #include #include #include int main(int argc, char **argv) { Fl_Window *window = new Fl_Window(300,180); window->fullscreen(); Fl_Box box(10,10,720-20,486-20); Fl_JPEG_Image jpg("me"); box.image(jpg); window->end(); windo

[fltk.general] (no subject)

2010-07-13 Thread md houssy
_ Hotmail : une messagerie fiable avec la protection anti-spam performante de Microsoft https://signup.live.com/signup.aspx?id=60969 ___ fltk mai

[fltk.general] demande d'aide

2010-07-04 Thread md houssy
bonsoir, je suis nouveau utilisateur de fltk; je veux l'utiliser sur code::blocks. j'ai télecatger la librairie de www.fltk.org, le problème c'est quand je veux faire un projet fltk, il me demande le chemin de la lib. en lui donnant le chemin, il se bloque et me dis qu'il ne peut pas trouver le