FLTK logo

[fltk.general] Re: I'd like to know where exactly is scrollbar buttons' appearance defined?

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: I'd like to know where exactly is scrollbar buttons' appearance defined? Manolo Apr 20, 2020  
 


On Tuesday, 21 April 2020 01:57:13 UTC+2, newusernew wrote:
Ok, then what part do I have to change in order to replace UP_BOX scrollbar buttons with THIN_UP_BOX buttons, for example?

The slider(Fl_Boxtype) member function of class Fl_Scrollbar inherited from Fl_Slider allows to set the box type
of an Fl_Scrollbar object.

An example, starting from an Fl_Scroll object, would be:
  Fl_Scroll scroll = .....
  scroll.scrollbar.slider(FL_THIN_UP_BOX); // change the boxtype of the vertical scrollbar
  scroll.hscrollbar.slider(FL_ENGRAVED_BOX); // change differently the boxtype of the horizontal scrollbar

--
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/07bf589f-7465-4742-a036-600d681dbd7e%40googlegroups.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'.