FLTK logo

STR #2790

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 | Roadmap 1.3 | Post Text | Post File | SVN ⇄ GIT ]

STR #2790

Application:FLTK Library
Status:5 - New
Priority:1 - Request for Enhancement, e.g. asking for a feature
Scope:3 - Applies to all machines and operating systems
Subsystem:FLUID
Summary:Patch allow fluid generate constructor without arguments for Widget_Class
Version:1.3-feature
Created By:mingodad
Assigned To:Unassigned
Fix Version:Unassigned
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

Post File ]
Name/Time/Date Filename/Size  
 
#1 mingodad
08:36 Dec 09, 2011
fluid-class-type-constructor-without-parameters.patch
2k
 
 
#2 mingodad
10:20 Dec 09, 2011
fluid-class-type-constructor-without-parameters_v2.patch
3k
 
 
#3 mingodad
02:52 Dec 10, 2011
fluid-class-type-constructor-without-parameters_v3.patch
3k
 
 
#4 mingodad
05:54 Dec 11, 2011
fluid-class-type-constructor-without-parameters_v4.patch
3k
 
     

Trouble Report Comments:

Post Text ]
Name/Time/Date Text  
 
#1 mingodad
08:36 Dec 09, 2011
Here is a patch that allow fluid generate constructors without parameters for widget_class, it does the same as the last change that made it possible to do this for windows.

In fact it's only a reorder of the code that write the constructors.
 
 
#2 mingodad
10:20 Dec 09, 2011
On the first patch I missed the position relative code line, the second one corrects it.  
 
#3 mingodad
02:55 Dec 10, 2011
This is a minor modification that cut some duplication, write "clear_flag(GROUP_RELATIVE)" instead of using a magic numver "clear_flag(16)" and add a typedef "typedef klass THISCLASS;" to the public section.  
 
#4 mingodad
05:56 Dec 11, 2011
Small change making "typedef widget_class THISCLASS;" private instead of public after reading this http://stackoverflow.com/questions/180601/using-super-in-c , also add "typedef inherited_widget_class SUPERCLASS;"  
     

Return to Bugs & Features | Post Text | Post File ]

 
 

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