Commit Graph

17 Commits

Author SHA1 Message Date
Matthias Melcher
89aa5726f8 Fluid: Improve std::string output
Fluid: Update Widget_Node to std::string

Fluid: Image names to std::string

Fluid: std::string tooltip

Fluid: stringify Widget_Node::subtype

Fluid:: extra_code
2026-01-05 21:06:04 +01:00
Matthias Melcher
349b818d3f
Fluid: convert modal panels into tabs in the widget panel (#1339) 2025-11-29 12:57:08 +01:00
MatthiasWM
1ba957eb60 Fix MSVC Level 4 warnings (#1126) 2025-10-31 19:15:38 +01:00
Albrecht Schlosser
5d68428a00 Fix trailing whitespace and convert a few tabs to spaces
... according to CMP
2025-07-08 15:25:14 +02:00
Albrecht Schlosser
7897bbc04f Fix several compiler warnings [-Wextra-semi]
Example:
  warning: extra ‘;’ after in-class function definition [-Wextra-semi]

Also: replace 'FL_OVERRIDE' with 'override' in all modified files
2025-06-05 09:50:07 +02:00
Matthias Melcher
219c623b4b Fluid: hiding MergeBack form the main menu.
Hiding menuitem if option is not available.
Also testing the new FL_BEFORE_MENU event.
2025-04-15 15:28:37 +02:00
Matthias Melcher
fc91880faf
Reactivating Mergeback functionality. (#1226)
Reactivated code.
Various fixes.
New documentation.
2025-04-15 14:47:24 +02:00
Matthias Melcher
63db80c078 Fluid: avoid bad function pointer casting warning in Clang 17. 2025-04-15 14:38:45 +02:00
Greg Ercolano
70a104131a Solve Mac 10.10.5 fluid build errors (#1245) 2025-04-05 14:53:24 -07:00
Matthias Melcher
51a55bc736
Fluid: restructuring and rejuvenation of the source code.
* Add classes for application and project
* Removed all globals from Fluid.h
* Extracting args and project history into their own classes
* Moving globals into Application class
* Initialize values inside headers for some classes.
* Undo functionality wrapped in a class inside Project.
* File reader and writer are now linked to a project.
* Avoid global project access
* Nodes (former Types) will be managed by a new Tree class.
* Removed static members (hidden globals) form Node/Fl_Type.
* Adding Tree iterator.
* Use nullptr instead of 0, NULL, or 0L
* Renamed Fl_..._Type to ..._Node, FL_OVERRIDE -> override
* Renaming ..._type to ...::prototype
* Splitting Widget Panel into multiple files.
* Moved callback code into widget panel file.
* Cleaning up Fluid_Image -> Image_asset
* Moving Fd_Snap_Action into new namespace fld::app::Snap_Action etc.
* Moved mergeback into proj folder.
* `enum ID` is now `enum class Type`.
2025-03-16 17:16:12 -04:00
Albrecht Schlosser
f99fdcdc71 Fix fluid documentation generation
std::string doesn't allow nullptr as input string
2025-03-10 18:15:21 +01:00
Albrecht Schlosser
8838e976a0 More (mostly) documentation updates for FLTK 1.5.0
All files: remove autoconf/configure related stuff, update links.

- README.txt: describe prerequisites, provide generic instructions
  on how to use CMake to build FLTK
- test/demo.cxx: remove code used for configure/make build
- test/CMakeLists.txt: remove obsolete 'target_compile_definitions()'
2025-03-10 15:43:12 +01:00
Matthias Melcher
15ad447e2a Fluid: last incremental chage, restructuring 2025-03-08 00:14:27 +01:00
Matthias Melcher
ca22660bbb Fluid: last incremental change: restructuring 2025-03-08 00:14:27 +01:00
Matthias Melcher
1186b4e255 Making fl_filename_... public for std::string.
New functions append "_str" to the function name to
avoid ambiguities when calling them. So
'char *fl_filename_name(const char *)' becomes
'std::string fl_filename_name_str(const std::string &)'
2025-03-07 20:26:03 +01:00
Matthias Melcher
70e5dc23ae Cleaning up widget browser, renamed to Node_Browser. 2025-03-07 19:52:54 +01:00
Matthias Melcher
1985aefc0e Restructuring Fluid source files. 2025-03-07 16:34:48 +01:00