FLTK logo

Re: [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 ]

Re: [RFE] STR #3533: Fl_Counter with fixed arrow widths - preliminary code sample Albrecht Schlosser Nov 16, 2020  
 
DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR Pending]

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


Thanks for your quick reply and your offer to help further, but I'm now
working on it and I currently don't need help. I'll come back to your offer
or ask further questions if needed.

WRT your suggestion using type(): I'm not keen on using the type() system
more than necessary.

I'm thinking of implementing one or more of these features:

- new behavior (w/o arrow box resizing) should be default (very, very
likely)
- add an option to use the old arrow resizing behavior (maybe)
- make the arrow box width's configurable by the user (less likely)

Basically I think the old behavior is broken and should be replaced
unconditionally (thanks for your patch) but I'm not sure if that's feasible
(someone may depend on the old behavior).

Regarding your arrow images: I believe I'm not going to uses the images
because the arrow drawing code will probably be changed short-term or
mid-term. IMHO the selected scheme (i.e. Fl::scheme()) should determine the
arrow (and other) drawing functions. Every exception (like using images in
the widget code) would be a problem in the transition to this future
development.

I'll let you know about the progress...


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


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'.