FLTK logo

STR #3222

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 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]
 

Return to Bugs & Features | SVN ⇄ GIT ]

STR #3222

Application:FLTK Library
Duplicate Of:STR #380
Status:1 - Closed w/Resolution
Priority:1 - Request for Enhancement, e.g. asking for a feature
Scope:3 - Applies to all machines and operating systems
Subsystem:Core Library
Summary:Make the value box size of Fl_Value_Slider user settable
Version:1.4-feature
Created By:AlbrechtS
Assigned To:AlbrechtS
Fix Version:1.4.0
Fix Commit:191aeefc4a4161cb132065625a5e5eacb567688a
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:


Name/Time/Date Filename/Size  
 
#1 AlbrechtS
05:18 Apr 21, 2015
Fl_Value_Slider.patch
2k
 
 
#2 AlbrechtS
10:48 Nov 26, 2022
value_slider.cxx
3k
 
     

Trouble Report Comments:


Name/Time/Date Text  
 
#1 AlbrechtS
05:18 Apr 21, 2015
This STR is a follow-up of STR #2813 from Csaba.
http://www.fltk.org/str.php?L2813

The attached file Fl_Value_Slider.patch is the only remaining part of the patch posted by Csaba.

Csaba wrote in STR #2813, comment #8:

* Make the text box area of Fl_Value_Slider user settable. Breaks the ABI, but IMHO a change that is very much needed to make this widget more usable. Have you ever seen a value slider display a 6..8 digit number properly?

Thanks for the patch again.

I'd like to add this feature to the FLTK core, but as it has been said, this would break the ABI. Although we could do it anyway with ABI guard macros I'd like to verify that the API is complete and consistent before adding it.

IMHO Fl_Value_Slider should be considered a placeholder for several other widgets that have similar layout issues.

Comments and more patches welcome.
 
 
#2 AlbrechtS
12:54 Jul 19, 2015
Bumped to 1.4-feature.
This should be addressed in FLTK 1.4.0.
 
 
#3 AlbrechtS
11:00 Nov 26, 2022
Fixed in Git repository.

Commit: 191aeefc4a4161cb132065625a5e5eacb567688a.

The original patch from Csaba (STR 2813) has been modified:
 - other method names
 - basic range checking
 - improved documentation
 
     

Return to Bugs & Features ]

 
 

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