RE: [fltk.general] Fl_Tree icon size - [General Use]

4 views
Skip to first unread message

MacArthur, Ian (Leonardo, UK)

unread,
Mar 9, 2021, 9:49:19 AM3/9/21
to fltkg...@googlegroups.com
> I'm writing an application where a touch screen will be used.
> It is difficult to click the fold-in/fold-out icons in the Fl_Tree , due to the size of these icons.

> Is it possible to make the icons bigger ? Do there exist a parameter/function for that ?

Yes.
You need to make your own icon images, and set them using:

void Fl_Tree::openicon(Fl_Image *val);

and

void Fl_Tree::closeicon(Fl_Image *val);



Leonardo MW 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.
********************************************************************

holm.h...@gmail.com

unread,
Mar 9, 2021, 2:19:28 PM3/9/21
to fltk.general
Thank you Ian !

Always great hints from you !

Best regards
Håvard
Reply all
Reply to author
Forward
0 new messages