> I am trying to add an help/instruction widget to my application and am
> having some trouble with the Fl_Help_View
> <http://www.fltk.org/doc-1.3/classFl__Help__View.html>  in 1.3. 
> It renders my page, kind of, but hotlinks do not work and 
> images(neither
> png nor gif) show up. 
> All I really need is basic formating, links, and images of some kind. 
> According to the online documentation FL_Help_View supports "Most HTML
> 2.0", including png and gif image formats. 
> I am using the latest Ubuntu 10.04 with either Gnome or E16 window
> manager.  Unfortunately the target system is stripped down so having a
> browser external to the application is probably not an option. 
> Any ideas?

First off, note that Fl_Help_View is *not* a web-browser, it is "just"
an HTML viewer, so if you *need* a web-browser, you will need to look
elsewhere. I suggest that dillo is worth a look - the latest dev builds
have been ported to fltk-1.3 and would be compatible.

If you just need to serve up local HTML files, that ought to work.

Is it possible for you to run the "help" demo from the test/ folder on
your target? Does it work adequately? 
You may need to fiddle about with paths to get it to find the fltk docs
to view, of course; note that setting the env var FLTK_DOCDIR to some
suitable path *might* help with this...

If the help demo works for you, it may be the formatting of your html
that's causing issues - the dialect of html that Fl_Help_View knows may
not be what you expect.

Um, other than that, not sure what to suggest... You need to build fltk
with image support, obviously, and make sure that png, zlib and jpeg are
in your build.
You also need to call "fl_register_images()" somewhere need the start of
your code to make sure the image support is enabled...

I guess that's about all I can suggest.

What have you got?

-- 
Ian


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 mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to