Complete type hierarchy in Fl_Types doc
Window now derives correctly from Group
Menu Items now correctly (functionally in FLUID) derived form Button
Menu Buttons have a better hierarchy
Fixing two possible crash bugs where Input_Choice was assumed to be a Menu_
Hoping I have not degraded the original code!
* interactive layout alignment rewritten
* interface for new alignment rules
* new alignment dialog box
* user defined layout rules added
* layout rules can be stored in projects, settings, and external files
* Valgrind verification
tl;dr : making Fluid maintainable, no changes in code execution and logic.
This is a pretty extensive restructuring of the Fluid source tree.
It was neccessary because source and header files were getting
much too big to handle. Many source files had no header, and many
headers declared functions that were in diffrent source files.
Reorganized much of the include statements.
Added comments to some of the files.
Added Doxygen configuration file for standalone Fluid docs.
Tested everything by rebuilding Fluid .fl designs with the resorted
version of Fluid.
- remove obsolete svn '$Id$' tags from all source files
- update .fl files and generated files accordingly
- replace 'http://www.fltk.org' URL's with 'https://...'
- replace bug report URL 'str.php' with 'bugs.php'
- remove trailing whitespace
- fix other whitespace errors flagged by Git
- add and/or fix missing or wrong standard headers
- convert tabs to spaces in all source files
The only relevant code changes are in the fluid/ folder where
some .fl files and other source files were used to generate
the '$Id' headers and footers.
Fix vsnprintf() implementation to properly handle long and long long ints.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5845 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
fluid/*.fl:
- Go through all of the UIs and make sure they conform to the
UI guidelines.
fluid/fluid.cxx:
- Change fl_ask() and fl_choice() to use the "Save"/"Don't
Save" and similar button labels instead of "Yes" and "No",
per UI guidelines.
fluid/factory.cxx:
fluid/Fl_Type.h:
- Make sure that widget and type names are capitalized.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4130 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
fluid/align_widget.cxx:
- Add widget_size_cb() to set default size and size of
labels and text for selected widgets.
fluid/factory.cxx:
- More normalization of menus - "..." when opening a window,
Capitalized Words.
- cb(): Assign default label/text size and resize to ideal
size.
- Make sure that all buttons, input, and valuator widgets
have default label strings.
- Fl_*_Button::ideal_size(): fix ideal width calcs to match
widget.
fluid/Fl_Menu_Type.cxx:
- Fl_Menu_Item_Type::make(): set default label size.
fluid/Fl_Type.h:
- Add Fl_Widget_Type::default_size global.
- Fl_Menu_Item_Type::type_name(): return "Menu_Item".
- Fl_Submenu_Type::type_name(): return "Submenu".
- Update ideal_size() methods to use a default height that
is evenly divisible by 5.
- Fl_Choice_Type::ideal_size() and
Fl_Menubutton_Type::ideal_size(): fix ideal width calcs to
match widget.
- Fl_Menu_Bar::ideal_size(): add, returning the window
width.
fluid/fluid.cxx:
- Add "Layout/Widget Size" submenu.
- "File/Write code..." becomes "File/Write Code..." and
"File/Write strings..." becomes "File/Write Strings..."
fluid/fluid.plist:
- Bump version number and copyright info.
fluid/Fl_Widget_Type.cxx:
- Fl_Widget_Type::ideal_size(): add box dw/dh and enforce a
minimum size of 15x15.
- labelsize_cb(): use Fl_Widget_Type::default_size instead
of FL_NORMAL_SIZE.
- textsize_cb(): use Fl_Widget_Type::default_size instead of
FL_NORMAL_SIZE.
fluid/Fl_Window_Type.cxx:
- Fl_Window_Type::newdx(): require at least 2 pixels of
movement.
- Fl_Window_Type::draw_overlay(): adjust bounding box for
outside labels above and below.
- Fl_Window_Type::handle(): reset dx/dy on FL_PUSH.
fluid/function_panel.cxx:
fluid/function_panel.fl:
fluid/function_panel.h:
- Update some of the windows for the "small" size.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4129 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
FLUID to crash (STR #742)
The Fl_Input_Choice documentation was not installed (STR #745)
documentation/Makefile:
- Add Fl_Input_Choice.html to list of doco files.
fluid/align_widget.cxx:
- Only do a full resize if the widget is not a menu button.
- Also set modflag when making changes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4060 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
FLUID's Layout->Center In Group functionality did not properly
handle widgets that were children of a Fl_Window widget (STR
#318)
The Fl_Text_Display destructor did not remove the predelete
callback associated with the current buffer (STR #332)
Fixed several bugs in the MacOS X Fl::add_fd() handling (STR
#333, STR #337)
The Fl_Text_Display widget did not display selections set by the
application (STR #322)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3299 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Fl_Scroll::clear() didn't remove the child widget from the
Fl_Scroll widget (STR #327)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3297 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Fix copyrights on some files that still showed -2002...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3070 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
system headers (which unfortunately are not too friendly with other
code...)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2893 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
many items th align and resize groups of selected
widgets.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2164 ea41ed52-d2ee-0310-a9c1-e6b18d33e121