[fltk.general] how to add bckground picture to the fltk1.3 browser

2012-04-24 Thread leowang
Dear All, Yesterday I have asked how to add bckground picture to the fltk2.0 browser, and I have implemented this feature in fltk2.0. But now in fltk1.3, I modify the code same like fltk2.0, but can not get what I want, so does anyone know how to implement this feature? Thanks. Best regards, Le

Re: [fltk.general] how to change text color when select the text in fltk1.3

2012-04-24 Thread leowang
> > Dear All, > > In fltk2.0, it has a API called selection_textcolor(int color), this can > > change text color if the text is select. > > > > But in fltk1.3, I can't find the similar API, can anyone else tell me where > > is this API, thanks. > > > > Best regards, > > leo > > Hmm, for which

Re: [fltk.general] how to change text color when select the text in fltk1.3

2012-04-24 Thread Greg Ercolano
> Dear All, > In fltk2.0, it has a API called selection_textcolor(int color), this can > change text color if the text is select. > > But in fltk1.3, I can't find the similar API, can anyone else tell me where > is this API, thanks. > > Best regards, > leo Hmm, for which widget? Usually its

[fltk.general] how to change text color when select the text in fltk1.3

2012-04-24 Thread leowang
Dear All, In fltk2.0, it has a API called selection_textcolor(int color), this can change text color if the text is select. But in fltk1.3, I can't find the similar API, can anyone else tell me where is this API, thanks. Best regards, leo ___ fltk mai

[fltk.general] how to set font in fltk1.3

2012-04-24 Thread leowang
Dear All, Now I am developing in fltk1.3, and I am a newbie in this version. I have a question of how to set my custom font, for example, I have a font named MY_FONT, then how can I use this font type to display the text in Browser widget? I see it has a fl_font API, but the first parameter is

Re: [fltk.general] cairo window in a group

2012-04-24 Thread David Allen
A belated thanks for this. It works nicely and I am able to use it as a starting point for my project. > > > > I'm interested in having a cairo window as a member of a=20 > > group. the cairo example in the test directory has the cairo=20 > > window as the main window. Since the constructor has on

Re: [fltk.general] Redrawing overlapping wigets

2012-04-24 Thread Albrecht Schlosser
On 23.04.2012 17:37, David Lopez wrote: > Albrecht, > Your solution worked perfectly. You're welcome. > I apologize for the delay in my feedback. I have not been able to test it > until today. Better late than never ;-) Thanks for the feedback. It's always good to know that it worked for others

[fltk.general] question about fltk2.0 browser widget

2012-04-24 Thread leowang
Dear All, I have a browser widget in fltk2.0, it has some items in it, press UpKey/DownKey can highlight the items one by one, but I want to skip some items, for example, the second item I do not want it to highlight, how to make the highlight jump from item 1 to item 3 if I press DownKey. Best