[RFE] STR #3533: Fl_Counter with fixed arrow widths - preliminary code sample

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.bugs  ]
 
Previous Message ]New Message | Reply ]Next Message ]

[RFE] STR #3533: Fl_Counter with fixed arrow widths - preliminary code sample Nicholas Shea Jan 29, 2020 top right image
 
DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: https://www.fltk.org/str.php?L3533
Version: 1.3-feature


When changing the width of an Fl_Counter, the arrow sizes do not remain
fixed. This modification draws the arrows with images rather than a font,
and re-computes the sizes/positions when the width is changed. The code is
prelimary and is posted here at the request of Albrecht Schlosser following
a discussion in the Google group fltk.general

Nicholas Shea


Link: https://www.fltk.org/str.php?L3533
Version: 1.3-feature
Attachment: https://www.fltk.org/strfiles/3533/Fl_Counter_X_With_Fluid_Additions.zip


Direct Link to Message ]
 
bottom left image   bottom right image
Previous Message ]New Message | Reply ]Next Message ]
 
 

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