Matthias Melcher
76a5c7b081
FLUID: Fix wrong use of Fl_Scroll::position()
2023-01-12 14:38:11 +01:00
Matthias Melcher
f576faf2a6
Fix new warnings in CI
2023-01-10 17:07:03 +01:00
Matthias Melcher
7d167b3cf1
FLUID: add drag'n'drop for images ( #642 )
...
FLUID dnd for desktop images into the design
Documentation for fl_access
2023-01-08 19:43:31 +01:00
Greg Ercolano
69773338b9
Include OS error if reap_editor() fails
2023-01-05 15:46:33 -08:00
Matthias Melcher
8826dca106
Add close buttons for individual tabs in Fl_Tabs ( #628 )
...
Add close buttons for Fl_Tabs
Introducing callback reasons
FLUID shows all FL_WHEN_... options
Adding Fl_Tabs overflow types
Improved test/tabs to show new features
2023-01-05 13:51:30 +01:00
Albrecht Schlosser
b5b88d5f0d
Remove unused variable, fix "type issue" ( #445 , part 2)
...
This commit removes the unused variable as suggested in the discussion
of issue #445 : "type issue in fluid/ExternalCodeEditor_WIN32.cxx"
... although the compiler would remove it anyway. ;-)
2023-01-04 20:25:49 +01:00
Matthias Melcher
a63ad76603
FLUID refactor and macOS warnings removed ( #623 )
...
P renamed to g_project
class Project renamed to class Fluid_Project
fixes macOS type cast warnings
2023-01-01 20:05:42 +01:00
Matthias Melcher
9a3f0f2089
FLUID: BMP header file not tracked
2023-01-01 17:15:00 +01:00
Matthias Melcher
ab0d59220e
FLUID: Fixes size_t signedness warning
2023-01-01 17:09:15 +01:00
Matthias Melcher
2c5a5ce948
FLUID support for inline image data (see #542 , #592 ) ( #604 )
2022-12-30 19:20:52 +01:00
Matthias Melcher
44c874b731
Use FL_OVERRIDE
for all overridden virtual methods ( #611 )
...
FL_OVERRIDE is defined as `override` for C++11 and higher
FL_OVERRIDE is defined as `override` for VisualC 2015 and newer
Don't interfere with Fl_Widget::override()
2022-12-30 19:14:36 +01:00
Matthias Melcher
d98c663893
Fix compilation on old gcc ( #606 )
...
* Fixing char* use in FLUID
* Fixing const cast
2022-12-22 00:18:01 +01:00
Matthias Melcher
12da87ba0c
Adding length checks for in-memory image data (see #542 ) ( #592 )
...
SVG is now decompressed in memory
Bitmap invalid array length handling to return an error
RGB Image data reader to return error if image data is too short
FLUID: Add size argument to bitmap and JPEG data
2022-12-17 16:01:35 +01:00
ManoloFLTK
41f37613ec
Derive Fl_Zenity_Native_File_Chooser_Driver from Fl_Kdialog_Native_…
...
Also add Fl::option(OPTION_FNFC_USES_ZENITY)
2022-12-16 16:21:23 +01:00
Albrecht Schlosser
44a2547394
Rename some Fl_Flex methods for FLTK compliance ( #594 )
...
Change some method names to comply with FLTK style as discussed
in fltk.coredev, thread "Fl_Flex method name question".
* Rename Fl_Flex::margins(...) to Fl_Flex::margin(...)
(use singular form for all margin related methods)
* Remove Fl_Flex::setSize() and isSetSize() "backwards compatibility" methods
* Rename Fl_Flex::set_size(...) to fixed(...)
Note: the latter affects existing (pre-release) fluid (.fl) files: you may
want to edit and replace "set_size_tuples" with "fixed_size_tuples"
2022-12-15 16:46:40 +01:00
Albrecht Schlosser
64d8c913be
Fix trailing whitespace and dependencies
2022-12-13 15:58:56 +01:00
Albrecht Schlosser
5b3bd50001
Fix compiler warning: unused variable
2022-12-13 15:58:27 +01:00
Matthias Melcher
a5adbd99ca
Add option to bind images to a widget ( #589 )
...
Adding image binding to FLUID as well
2022-12-10 23:22:24 +01:00
Matthias Melcher
a8051301b0
Fluid preview now copies text attributes ( #587 )
2022-12-10 16:33:48 +01:00
Matthias Melcher
60d6e9be14
Fixes some VC compiler warnings
2022-12-10 16:03:29 +01:00
Matthias Melcher
98d97daf11
Fixes some implicit type cast warnings
2022-12-10 13:34:00 +01:00
Matthias Melcher
fa41211cca
FLUID event handling and UI changes ( #575 )
...
* Full support o when()
* Making undo suspend nesting
* Finally correct undo handling for Label: input
* Documentation.
* Adding more undo checkpoints for the Widget Panel
* Quick selection of default user_data types
* Pulldown menu for system colors
* Make sure that partially typed text fields are propagated before saving
2022-12-10 13:11:49 +01:00
Albrecht Schlosser
823dc5acc4
Fix compilation warning, update dependencies
...
Warning: variable ‘j’ set but not used [-Wunused-but-set-variable]
2022-12-08 19:09:18 +01:00
Matthias Melcher
8b7021ba8b
Fluid: Keep widget panel open during undo/redo ( #566 )
2022-12-01 01:00:12 +01:00
Matthias Melcher
8f9728d511
Fix -o and -h command line arg handling
2022-11-29 00:05:00 +01:00
Albrecht Schlosser
bcb739f17f
Update dependencies
2022-11-26 21:59:03 +01:00
Matthias Melcher
e1a781717e
Remove unintentional C++11
2022-11-26 19:09:12 +01:00
Matthias Melcher
6e5c472cf9
Handle Fluid project settings better ( #556 )
...
Fix allocation bug in Fl_String
2022-11-26 01:35:50 +01:00
Albrecht Schlosser
b1ba37c5ba
Add "Oxy" scheme (STR 2675, STR 3477)
...
This commit is similar to the patch given in STR 3477, oxy_v5.diff:
https://www.fltk.org/strfiles/3477/oxy_v5.diff
... with modifications, and updated to current FLTK code.
2022-11-25 00:00:48 +01:00
Albrecht Schlosser
c1ba9f31ec
Fix two Visual Studio compiler warnings
...
+ fix trailing whitespace (fluid)
2022-11-24 12:51:26 +01:00
Matthias Melcher
8978bd1a84
FLUID: Fix update of formula input widgets
2022-11-24 12:35:32 +01:00
Matthias Melcher
6f36a63629
Fixes some FLUID bugs
...
Fl_Flex would not change type when it had no children.
Function evaluation could read past string end.
Fl_Window_Type would not initialise all member variables.
2022-11-24 11:39:29 +01:00
Matthias Melcher
817a97bb65
Fluid: Fix variable naming and a memory leak
2022-11-23 15:18:01 +01:00
Matthias Melcher
be6e5fad72
Fluid: Fix commandline parameter error message
2022-11-23 10:59:43 +01:00
Albrecht Schlosser
39bb38447b
Update dependencies
2022-11-22 19:35:34 +01:00
Matthias Melcher
2dae18da09
Fluid: Add Undo to formula input fields. ( #547 )
2022-11-17 00:43:16 +01:00
Albrecht Schlosser
624eda17bc
Fix whitespace errors and dependencies
...
(no code changes)
2022-11-16 21:10:14 +01:00
Matthias Melcher
24c4af6440
Capitalise FLTK and FLUID.
2022-11-16 19:50:03 +01:00
Matthias Melcher
85c941b8fe
Fix capitalisation for keywords.
2022-11-16 18:14:13 +01:00
Matthias Melcher
e2a6b46f6b
Clarify two entries in the .fl file format docs
2022-11-16 17:38:17 +01:00
Albrecht Schlosser
280f3261f7
Fix typos and a minor bug in fluid/README_fl.txt
...
Bug fix: see "avoid_early_includes"
2022-11-16 14:41:37 +01:00
Matthias Melcher
3ecae0459c
Improve Fluid argument handling and relative paths. ( #545 )
...
Fix typos, fix merge conflict.
2022-11-15 17:48:06 +01:00
ManoloFLTK
7f8f7c5b85
Add support of .svgz image files to fluid
...
The prototype of the public Fl_SVG_Image constructor is expanded
to allow construction from in-memory, gzip'ed binary data.
2022-11-15 10:09:01 +01:00
Matthias Melcher
57f61cf5a0
Further clarify Fluid file format specifics
...
Remove never used options
Clarify the end of the options section
2022-11-13 15:37:49 +01:00
Matthias Melcher
56cba05672
Fluid Fl_Widget::image() path fixes. ( #536 )
...
* Adding strings and design file to source view panel
* Fluid: Fixed source dir recursion, fixed relative image reading path.
* Renaming source_dir to designfile_dir in some functions.
2022-11-09 23:12:55 +01:00
Matthias Melcher
b76152cf6c
Fluid: widget classes can resize children on instantiation
2022-11-08 19:09:17 +01:00
Matthias Melcher
ec47afb7eb
Adding Fluid file format README. ( #533 )
...
* Adding Fluid file format README.
* Update fluid/README_fd.txt
Co-authored-by: Peter0x44 <peter0x44@snopyta.org>
* Update fluid/README_fd.txt
Co-authored-by: Peter0x44 <peter0x44@snopyta.org>
* Update fluid/README_fd.txt
Co-authored-by: Peter0x44 <peter0x44@snopyta.org>
* Update fluid/README_fd.txt
Co-authored-by: Peter0x44 <peter0x44@snopyta.org>
* Update fluid/README_fd.txt
Co-authored-by: Peter0x44 <peter0x44@snopyta.org>
* Update fluid/README_fd.txt
Co-authored-by: Peter0x44 <peter0x44@snopyta.org>
* Update fluid/README_fd.txt
Co-authored-by: Peter0x44 <peter0x44@snopyta.org>
* Update fluid/README_fd.txt
Co-authored-by: Peter0x44 <peter0x44@snopyta.org>
* Update fluid/README_fd.txt
Co-authored-by: Peter0x44 <peter0x44@snopyta.org>
* Typos, changes, restructuring.
* Changed filename.
* More typos,
* Typo.
* Update fluid/README_fl.txt
Co-authored-by: Peter0x44 <peter0x44@snopyta.org>
* Update fluid/README_fl.txt
Co-authored-by: Peter0x44 <peter0x44@snopyta.org>
* Update fluid/README_fl.txt
Co-authored-by: Peter0x44 <peter0x44@snopyta.org>
* Update fluid/README_fl.txt
Co-authored-by: Peter0x44 <peter0x44@snopyta.org>
* Update fluid/README_fl.txt
Co-authored-by: Peter0x44 <peter0x44@snopyta.org>
* Update fluid/README_fl.txt
Co-authored-by: Peter0x44 <peter0x44@snopyta.org>
Co-authored-by: Peter0x44 <peter0x44@snopyta.org>
2022-11-08 18:30:44 +01:00
Matthias Melcher
4b4591dd72
Fluid now stores set sizes for Fl_Flex. ( #529 )
...
https://groups.google.com/g/fltkcoredev/c/2JA-CcTbrX4
2022-11-04 17:49:37 +01:00
Etorth
da96fa0ddf
support svg ( #489 )
2022-11-04 13:30:09 +01:00
Matthias Melcher
33f01ecb83
Added Fl_Group::on_insert/on_remove/on_move ( #527 )
2022-11-01 20:45:31 +01:00