> 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.
Which widget are you asking about? I'm not sure if this is an API that fltk-1.x supports, though doesn't seem like it would be that hard to derive your own subclass of whichever widget that would "adjust" the text colour at draw time... 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 fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk