Commit Graph

11105 Commits

Author SHA1 Message Date
Albrecht Schlosser
d9798d2840 CMake: Refactor building OpenGL and "shared" demo programs
Define GLDEMO_LIBS and GLDEMO_SHARED: these definitions can be used
  to build OpenGL demo programs that can also be built w/o OpenGL

Examples: fullscreen, handle_events, unittests
2023-11-03 15:40:58 +01:00
Albrecht Schlosser
566f3634f9 Fix compiler warning when fullscreen demo is built w/o OpenGL
Warning: -Wsuggest-override
2023-11-03 15:34:23 +01:00
ManoloFLTK
eb3afb2033 Wayland copy: destroy data_source object before creating new one 2023-11-03 15:16:36 +01:00
ManoloFLTK
a3f4c62826 Wayland copy: destroy data_source object before creating new one 2023-11-03 13:12:32 +01:00
ManoloFLTK
c0c0ea18aa Fix "fltk 1.4.x: hangs during paste in fluid code editor" (#818) 2023-11-03 12:50:18 +01:00
Matthias Melcher
c22a7bb6a7 FLUID: Restructures user documentation. 2023-11-02 22:25:54 +01:00
Matthias Melcher
7c6266f67e FLUID: Simplifies and improves Ghosted Outlines 2023-11-02 17:45:36 +01:00
Matthias Melcher
9ca4aed1fa FLUID: Adds more interactive editing to Fl_Grid
* this commit introduces a few FIXMEs and TODOs that probably
can't be solved until we do some major refactoring. They work for
now, but adding more layout controlling widgets will be hard.
2023-11-02 15:18:09 +01:00
ManoloFLTK
040607b595 Minor change in Fl_Wayland_Graphics_Driver::copy_offscreen() 2023-11-02 09:08:16 +01:00
Matthias Melcher
fb6c38b1a4 FLUID: Arrow keys move widgets inside Fl_Flex 2023-11-01 23:34:53 +01:00
Matthias Melcher
904d25dafe FLUID: Improves adding widgets to Fl_Flex. 2023-11-01 20:17:08 +01:00
Matthias Melcher
aaaf0a0537 FLUID: Adds options to draw ghosted outlines. 2023-11-01 17:22:40 +01:00
Matthias Melcher
5f836377a0 FLUID: Adds options to draw ghosted outlines. 2023-11-01 17:22:40 +01:00
ManoloFLTK
914ee02c5f Fix typos in documentation 2023-11-01 12:26:54 +01:00
ManoloFLTK
994f5d058b Fix: Fl::clipboard_contains() cannot query selection buffer (#690) 2023-11-01 10:41:51 +01:00
Matthias Melcher
8bd1bd7162 FLUID: Improves interactive handling of Grid and Flex 2023-10-31 22:00:38 +01:00
Matthias Melcher
4b02c36149 FLUID: Disables MergeBack.
I decided to disable MergeBack for now. During testing,
some issues could not be resolved, and focus should
be on V1.4.
2023-10-31 19:33:50 +01:00
ManoloFLTK
bcc6de5332 Improve the documentation of class Fl_Display_device 2023-10-31 19:07:31 +01:00
Albrecht Schlosser
b89645ea18 Remove unnecessary statement from CMake build example 2023-10-31 18:52:42 +01:00
ManoloFLTK
ded4018b89 Member Fl_Widget_Surface::draw_decorated_window() needs not be virtual 2023-10-31 18:33:31 +01:00
Albrecht Schlosser
c47fd75bcd Fix typos 2023-10-31 18:22:42 +01:00
ManoloFLTK
9a00f07c4f Move the Fl_String class to the DriverDeveloper Doxygen group 2023-10-31 18:01:53 +01:00
ManoloFLTK
8b603b9f1b Move private classes to the DriverDeveloper Doxygen group
Classes moved are
-Fl_Int_Vector
-Fl_Kdialog_Native_File_Chooser_Driver
-Fl_Zenity_Native_File_Chooser_Driver
2023-10-31 17:51:32 +01:00
ManoloFLTK
0e41ca820d Remove 81615bb causing GL window to blink when resizing on macOS (#813) 2023-10-31 16:52:59 +01:00
Albrecht Schlosser
eb759cb118 Improve build instructions in README.CMake.txt (#164)
- update CMakeLists.txt files for user projects,
- add one that uses CMake's FetchContent module.
2023-10-31 16:04:31 +01:00
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