Re: [fltk/fltk] Add a flexible row/column container widget (#255)

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

Re: [fltk/fltk] Add a flexible row/column container widget (#255) Albrecht Schlosser 05:05 Aug 02 top right image
 

Actually there are two deprecated inline methods in the header only (setSize() and isSetSize()) which I implemented for backwards compatibility with the original Fl_Flex widget. This ensures that the original test and demo programs can be compiled w/o changes - except for changing the #include statement. I hope that users can port their old programs using Fl_Flex w/o issues.

Since these are small inline methods they should not generate code if not used by the program. I also surrounded these two methods with #if (1) and #endif so I could disable these methods for testing to be sure they are not used in the new code including demo programs.

That said, yes, they were added intentionally although this is a new widget in the FLTK core, but we can easily disable the compilation or make it optional.

@ManoloFLTK Thanks you for your comment.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <fltk/fltk/issues/255/1202398025@github.com>

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