> Today I'm converting one application to FLTK and found that
> Fl_Help_View
> doesn't call Fl_Help_View::link when user click's on a link,
> although
> the FLTK manual says that it does.
And indeed, in my tests, it does. In what way does it not work for you?
If you follow through the logic of ::follow_link(...) you will see that,
after parsing the link that it was passed, it ultimately calls load() on
that page, hence "following" the link.
If it does not, I'd have to guess that, for some reason, it is not
managing to parse out your links or something?
> I added this code to it temporary to make it works:
>
> void Fl_Help_View::follow_link( Fl_Help_Link *linkp ) {
> char target[32]; // Current target
>
> clear_selection();
>
> //new code begin
> if( link_ ) {
> if(!(*link_)(this, linkp->name)) return;
> }
> //new code end
No, I don't think this is necessary, or correct...
SELEX Galileo Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14
3EL
A company registered in England & Wales. Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev