(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 ?
> > 
> > 
> > Fl_File_Icon::Fl_File_Icon(const char *p,    /* I - Filename pattern  */
                                                    int        t,    /* I - 
File type */ 
                                                    int        nd,    /* I - 
Number of data values */  
                                                    short      *d)    /* I - 
Data values */

> > 
> > why type is an int ? there is nothiong about type in enumerations.H,
> >  also what is nd and d ?
> > 

 (response)
> What is it that you are trying to do?

> I suspect that this class does not do what you want - if you can try and 
> explain what you are hoping to achieve, we might be able to suggest some 
> things that you might try.
 
what I try to do is to change the labeltype of a button by an "icon". I like to 
have an icon in stead of having an ordinary button.
In fact it is said in the FLTK 1.1.10 Programming Manual (Revision 10) that 
this class manages icon images that can be used as labels in other widgets. 
(page188).



                                          
_________________________________________________________________
Hotmail : une messagerie fiable avec la protection anti-spam performante de 
Microsoft
https://signup.live.com/signup.aspx?id=60969
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to