Commit Graph

11087 Commits

Author SHA1 Message Date
Albrecht Schlosser
4b315d190c Fix dependencies and whitespace issues 2023-11-14 18:14:48 +01:00
erco77
6842a43a31
Fl_Terminal widget (#800)
Pull Fl_Terminal widget from Greg's fork
2023-11-14 07:01:52 -08:00
ManoloFLTK
83f6336f3b Libdecor-gtk and GTK Shell: take care of LIBDECOR_PLUGIN_DIR 2023-11-14 14:29:36 +01:00
ManoloFLTK
19e40058da Libdecor-gtk and GTK Shell: take care of touch events 2023-11-14 12:14:04 +01:00
ManoloFLTK
52f6b6abbb Libdecor GTK plugin: use gnome value for doubleclick time 2023-11-13 16:39:03 +01:00
Albrecht Schlosser
d32de2fc14 Fix missing FL_EXPORT of class Fl_Grid
Thanks to Andre for finding this and sending a patch via mail.
2023-11-12 19:23:53 +01:00
ManoloFLTK
888dc5f5c5 Have libdecor-gtk implement the "GTK Shell" protocol 2023-11-12 19:13:35 +01:00
ManoloFLTK
768dcf2c11 Fix: Potential NULL pointer dereference in Fl_Image_Surface c'tor (#834) 2023-11-12 08:56:51 +01:00
ManoloFLTK
ce9ba4ba08 Remove unseless code in Fl_Wayland_Screen_Driver.cxx 2023-11-12 08:40:37 +01:00
ManoloFLTK
ff134f0081 Wayland: make fl_close_display() free more resources 2023-11-09 07:58:08 +01:00
ManoloFLTK
5989caf070 Wayland: fix crash in editor after return from switching user 2023-11-08 10:25:08 +01:00
ManoloFLTK
93b26e4d3b Let Wayland FLTK client apps survive switching user 2023-11-08 09:18:30 +01:00
Matthias Melcher
214b133298 Fixes initial calculation of line number in Fl_Text_Display (#830) 2023-11-07 15:09:08 +01:00
Matthias Melcher
aa2d058f10 FLUID: Removes non-obvious option "Cancel Dialog"
from message boxes, pointing out potential syntax errors
in code related dialogs.
2023-11-07 14:52:01 +01:00
Matthias Melcher
5667dfc51b FLUID: More user documentation 2023-11-07 14:28:22 +01:00
Matthias Melcher
90d7737254 Fix buttons overlapping icon in message box (#826) 2023-11-07 14:28:22 +01:00
Matthias Melcher
d7768b76d0 FLUID: Adds template for tutorial.
Tutorial still to be written.
Also adds convenience methods to Fl_Input_
for getting and setting numeric values.
2023-11-07 14:28:22 +01:00
ManoloFLTK
8b31954d66 "hitting esc to close fltk app blows out the window manager" (#821) 2023-11-07 11:32:12 +01:00
Matthias Melcher
c86ca1a9fc FLUID: '\r' (CR) is skipped when reading project files
Project and code files are now always written with LF instead of
CRLF, even on MSWindows machines.
2023-11-06 11:36:02 +01:00
ManoloFLTK
acc96cdf56 CHANGES.txt: add Fl_Grid, Fl_Window::maximize()
Also, remove stray virtual keyword.
2023-11-06 07:44:55 +01:00
ManoloFLTK
6a607c8282 maximize method for Fl_Window (macOS) (#820) - cont'd 2023-11-06 00:05:18 +01:00
Matthias Melcher
e690e76da1 FLUID: Adds undo for all grid operations. 2023-11-05 22:19:03 +01:00
Matthias Melcher
95daa77c49 FLUID: Fixes undo/redo mixup.
If undo or redo menu is deactivated, fltk resends undo events
as redo and vice versa, so instead now we just beep.
2023-11-05 22:19:03 +01:00
Matthias Melcher
f3b490134e Fixes text input widget undo propagation.
If not handled, undo propagates to other random widgets,
and if none takes it, it is resent as a redo to all widgets.
2023-11-05 22:19:03 +01:00
Matthias Melcher
1f5472a7d3 FLUID: Adds transient cells to Fl_Grid
This allows multiple widgets to occupy a single cell which is
needed when moving cells across the grid interactively.
2023-11-05 20:04:49 +01:00
ManoloFLTK
0ae927a00e Add Fl_Window::maximize() and Fl_Window::un_maximize() 2023-11-05 19:42:55 +01:00
Matthias Melcher
a31409f7bb FLUID: Documentation 2023-11-05 16:12:15 +01:00
Matthias Melcher
681363849c FLUID: Adds missing Include for MSWindows. 2023-11-05 15:00:44 +01:00
Matthias Melcher
032d3f5cf4 FLUID: Fixes child properties reader. 2023-11-05 14:53:47 +01:00
Matthias Melcher
8c87427403 FLUID: Separates developer and user documentation 2023-11-05 14:20:13 +01:00
ManoloFLTK
4b55a5af63 Fix "overlay dotted line rendering problem" (#816) 2023-11-04 06:52:23 +01:00
ManoloFLTK
d4d72cfdaf Related to "FLTK doesn't work normal on platform of rockchip" (#817) 2023-11-03 22:10:01 +01:00
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