> I want to use a FL_Dial to indicate the speed of a car > using it's line style indicator type (it then looks almost > like a tachometer then). > > To display the value numbers I want to use a png-image > of a real tachometer. Unfortunately, if I use fluid to > put the image as the label for the Dial, it covers the > indicator so it's invisble then. > > How can I tell fltk (1.1.9 in my case) to keep the > indicator hand on top of the image label?
Not sure there's a simple fix - it might work to draw the image in a flat box underneath the dial widget, then draw the dial over it (with the dial boxtype set to FL_NO_BOX.) I've done this sort of thing before and it worked, but it does feel like a hack. The correct solution is of course to make your own "image_dial" subclass and draw the dial over the image yourself. SELEX Sensors and Airborne Systems Limited 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

