Commit Graph

10880 Commits

Author SHA1 Message Date
Matthias Melcher
a2d7fde645 FLUID: Stroe uid's in hex 2023-10-31 11:21:13 +01:00
ManoloFLTK
99826a5fba Minor simplification in Fl_X11_Window_Driver::flush_double(int) 2023-10-30 18:27:12 +01:00
ManoloFLTK
c0e4410776 Update libdecor to commit c6c780c1 dated 2023-10-10 2023-10-29 10:28:27 +01:00
Matthias Melcher
2dc7ae8edb FLUID: Changes uid to hexadecimal in project file
for constancy with the code file
2023-10-28 22:52:01 +02:00
Matthias Melcher
961d9ee719 FLUID: Store path to last written code file.
After some discussions it became clear that the code file may be written
into an unpredictable location by the build system. Fluid now remembers
that location in a user setting file and seems to do the expected thing after
a brief test.
2023-10-27 22:51:35 +02:00
Matthias Melcher
900337f1e3
FLUID: Fixes compile error. 2023-10-27 19:06:25 +02:00
Matthias Melcher
4b5985eb49 FLUID: Fixes issues when pasting widget into Fl_Flex #809
* new virtual function layout_widget() to inform parents after
all children were added
2023-10-27 18:31:20 +02:00
Matthias Melcher
aab6afd32c FLUID: Documentation and typos. 2023-10-27 16:09:06 +02:00
Matthias Melcher
0b408792c0 FLUID: Refactors MergeBack
* moved functionality into its own files
* refactored all methods to be less than a page
* documented all calls
* tested all situations I could think of
2023-10-26 23:31:29 +02:00
Matthias Melcher
8663b86749 FLUID: Fixes compile time error and docs. 2023-10-26 14:41:33 +02:00
Matthias Melcher
19d1e3f195 FLUID: Adds more capabilities to MergeBack.
* better diagnostic dialog texts in interactive mode
* won't merge back again after a first mergeback is applied
* code needs refactoring and must be in its ow source file
2023-10-26 14:15:58 +02:00
Matthias Melcher
0d5ae9ceac FLUID: Fixes warnings. 2023-10-26 03:29:03 +02:00
Matthias Melcher
f33dfc1c6a FLUID: Adds helpful message for MergeBack. 2023-10-26 03:19:05 +02:00
Matthias Melcher
6d5021c00e FLUID: Adds initial MergeBack feature. 2023-10-26 00:39:10 +02:00
ManoloFLTK
06d12892f9 Fix "Wayland: Overlay windows look blurred" - cont'd (#808) 2023-10-25 15:20:34 +02:00
Matthias Melcher
b270e1409c FLUID: Adds hierarchical node search in header files. 2023-10-25 14:44:02 +02:00
Matthias Melcher
8c03cb7884 FLUID: Updates file format documentation 2023-10-25 14:28:22 +02:00
ManoloFLTK
35d8504263 Fix "Wayland: Overlay windows look blurred" - cont'd (#808) 2023-10-25 13:02:34 +02:00
ManoloFLTK
a5e8fbcca0 Fix "Wayland: Overlay windows look blurred" (#808) 2023-10-24 23:09:09 +02:00
ManoloFLTK
0636c0b3e6 Wayland: implement scale factor windows as popups - cont'd 2023-10-24 19:25:59 +02:00
Albrecht Schlosser
e391dc1bf9 Fix Fl_Flex::resize() and layout() (#811)
Remove "too optimistic optimization" in resize(). Resize must always
call layout() to recalculate widget positions.
2023-10-24 18:13:11 +02:00
Matthias Melcher
38b529c01b FLUID: Adds text search to source, header, and project view 2023-10-24 16:14:30 +02:00
Matthias Melcher
238b3a1be4 FLUID: Adds Reveal button to SourceView
Position your text cursor in the source header, or
.fl project file text preview and click reveal, and the
corresponding node will be selected. Double will
open the corresponding editor.
2023-10-24 15:36:11 +02:00
Matthias Melcher
e8d218109e FLUID: Adds much more detailed CodeView
in preparation for "find" and "reveal"
2023-10-24 14:29:01 +02:00
Albrecht Schlosser
5a8a28cbb5 Remove test/debug statements from Fl_Table.cxx 2023-10-24 12:51:40 +02:00
ManoloFLTK
3868ea90bd Wayland: implement scale factor windows as popups - cont'd 2023-10-24 09:43:23 +02:00
Matthias Melcher
434e6a09ed FLUID: Merging changes from generated cxx file back to fl file 2023-10-23 18:32:26 +02:00
Matthias Melcher
b9758f564f FLUID: Fixes two minor bugs
* Fl_Grid mixed up gap_ro_ vs. gap_col_ once
* Code formatting warning
2023-10-23 18:28:52 +02:00
ManoloFLTK
975ebaaf8b Remove "double to int conversion" warnings 2023-10-23 16:42:08 +02:00
ManoloFLTK
e0aae4401a Use #ifdef FLTK_USE_SVG instead of #if FLTK_USE_SVG 2023-10-23 16:40:48 +02:00
ManoloFLTK
3307a1281f Prepare Fl_Wayland_Screen_driver.cxx for removal of Fl_Int_Vector 2023-10-23 16:21:16 +02:00
ManoloFLTK
fa1f00cc46 Wayland: simpler implementation of transient scale factor windows 2023-10-23 15:00:34 +02:00
ManoloFLTK
234c153853 Avoid macOS 14 warning message when app is launched from command line 2023-10-23 12:13:29 +02:00
Matthias Melcher
667d5b9b72 FLUID: Fixes completion dialog, early shell read.
* when saving the source code from a shell command, the
  completion dialog is  suppressed because the shell window
  pops up anyway, confirming our action
* when reading no project at startup, the user shell commands
  were read, but the shell main menu was not updated
2023-10-23 11:46:56 +02:00
ManoloFLTK
39a157a7dd Wayland: implement transient scale factor windows as popups
as discussed in issue #794.
Also, fix for macOS the use of the FL_FOCUS event for these transient windows
2023-10-23 11:15:04 +02:00
Matthias Melcher
17baeceb7a FLUID: Positioning grid cells intuitively.
User can now drag widgets from the toolbox into the grid
or use the context menu to add them into the corresponding
cell. If no position is indicated, now children are added at the
first free cell.
2023-10-23 01:36:55 +02:00
Matthias Melcher
ab6ef9d52f FLUID: Stops overriding Ctrl-0 shortcut. #802
Ctrl-0 is used by FLTK globally to zoom all windows back to 100%,
so FLUID should not override that. Loading the previous file is now
Ctrl-1 instead of Ctrl-0.
2023-10-23 00:52:30 +02:00
Matthias Melcher
d573bfe799 FLUID: Adds grid child positioning via +/- keys 2023-10-23 00:44:26 +02:00
Matthias Melcher
6cc3eb32db Removes Fl_String from documentation as well. 2023-10-22 23:10:06 +02:00
Matthias Melcher
bf62959f1f FLUID: New layout of Grid tab. 2023-10-22 20:25:50 +02:00
Albrecht Schlosser
1209e9dcd7 Make Fl_String and Fl_Int_Vector private (#789)
- add CMake option 'OPTION_USE_STD'
- add configure option '--enable-use_std'
- move FL/Fl_String.H to src/Fl_String.H
- move FL/Fl_Int_Vector.H to src/Fl_Int_Vector.H
- remove Fl_String from demo program examples/callbacks.cxx
- remove Fl_Int_Vector from public header FL/Fl_Table.H
- some methods of Fl_Table are no longer inline
- add CMake option OPTION_USE_STD to allow std::string in some
  selected functions and methods

Experimental, may be removed before release:

- use either Fl_Int_Vector or std::vector in Fl_Table depending
  on CMake OPTION_USE_STD or configure --enable-use_std

Move all fl_filename* functions that use Fl_String to fluid

Main changes in fluid:
 - add fluid_filename.h and .cxx
 - include "fluid_filename.h" rather than <FL/filename.H>

Update fl_input(), fl_password() and test/ask

- add maxchar parameter to fl_input() and fl_password()
- fl_input_str() and fl_password_str() are optional and return
  std::string if enabled (FLTK_USE_STD)
2023-10-22 19:35:17 +02:00
Matthias Melcher
05ac0247cb FLUID: Moves grid settings into dynamic tab 2023-10-22 12:33:49 +02:00
Matthias Melcher
17f61f923b FLUID: Adds remaining Fl_Grid attributes 2023-10-22 02:33:55 +02:00
Matthias Melcher
12c88f6506 FLUID: removes duplicate code 2023-10-22 01:57:08 +02:00
Matthias Melcher
5832f108fe FLUID: fixes conflict 2023-10-22 01:53:34 +02:00
Matthias Melcher
b4fd7037ac FLUID: more Fl_Grid settings 2023-10-22 01:51:53 +02:00
Albrecht Schlosser
d102e466d6 Remove duplicated code that was commented out, fix includes
... and prevent confusing doxygen
2023-10-21 21:39:36 +02:00
Albrecht Schlosser
3289c8b947 Fix compiler warning [-Wreturn-type]
"control reaches end of non-void function"
2023-10-21 21:38:38 +02:00
Matthias Melcher
bbf0ea664d Removes dependency on Fl_Preferences::get/set(.., Fl_String, ...) 2023-10-21 18:41:57 +02:00
Matthias Melcher
0c35212467 FLUID: grid becomes a bit more interactive 2023-10-21 17:45:40 +02:00