FLTK logo

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

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

RE: Fl_Tree icon size - [General Use] "'MacArthur, Ian (Leonardo, UK)' via fltk.general" Mar 09, 2021  
 
> 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.
********************************************************************

-- 
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/00a7aca305e944e7b9a9138906da641b%40leonardocompany.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.