Albrecht Schlosser
9154291940
Fix filename in doxygen comment, update dependencies
2021-12-06 00:43:24 +01:00
Matthias Melcher
a646c3f012
Fluid: fixing missing return.
2021-12-05 23:46:11 +01:00
Matthias Melcher
ff869e7419
Fluid STR 3460: Shell Cmd would saye code to wrong path.
2021-12-05 23:30:41 +01:00
Matthias Melcher
45d1d95b57
Fluid: Adding shortcuts for Checkbox and Radio Menuitems.
2021-12-05 21:51:18 +01:00
Matthias Melcher
2e08864f9e
Fluid: Adding shortcuts for Checkbox and Radio Menuitems.
2021-12-05 21:50:46 +01:00
Greg Ercolano
74dd5164d3
Fixes STR #3352 : "tiny window problem if child group larger than window"
2021-12-05 12:26:25 -08:00
Albrecht Schlosser
cf58f7ae2b
Fix MSVC compiler warnings
2021-12-05 21:00:15 +01:00
Matthias Melcher
7d26ee6ac2
Fluid: fixed typos in pixmap's XPM format.
2021-12-05 13:02:03 +01:00
Matthias Melcher
30371740ac
STR #2842 : new widgets will be created where the user clicked the RMB
...
If a user adds a new widget using the right mouse button in any of the
design's windows, the new widget will be located with its top left corner
at the selected position.
2021-12-05 00:40:08 +01:00
Matthias Melcher
204ac3dfdf
Fluid: adapting menu to pixmap changes.
2021-12-05 00:18:41 +01:00
Matthias Melcher
21a75a18f8
Fluid support for high res graphics
...
Changing all pixmaps to Hi DPI
Fixed wrong tooltip
Fixed misleading "invisible" indicator
2021-12-04 23:28:07 +01:00
Albrecht Schlosser
a0724ab7c4
Add fl_message_icon_label() function (STR #2762 )
...
This message icon label (usually one character) will be used in the
next call of one of the common dialogs.
test/ask.cxx: use fl_message_icon_label()
2021-12-04 20:36:11 +01:00
Albrecht Schlosser
130f864d1d
Rename src/Fl_String.cxx to src/Fl_String_class.cxx
...
Sorry for the noise, still fixing a name class on case-insensitive
file systems (macOS and Windows).
2021-12-04 15:50:10 +01:00
Albrecht Schlosser
7a7e50df6e
Rename FL/Fl_String.H to FL/Fl_String_class.H
...
The previous name existed already with different case (fl_string.h)
in the FL folder which broke the build on macOS and Windows.
This may be a temporary fix - until I find a better way.
2021-12-04 15:34:41 +01:00
Albrecht Schlosser
b6de09cff2
Re-enable nested (aka recursive) common dialogs (STR 3242, #282 )
...
Apply Fl_Dialog_r10831.patch as given in STR 3242:
https://www.fltk.org/strfiles/3242/Fl_Dialog_r10831.patch
Reformat, add missing pieces, rename private members, cleanup...
Improve documentation, add fl_choice_n() (issue #282 )
New methods fl_input_str() and fl_password_str() return Fl_String
2021-12-04 14:49:27 +01:00
Albrecht Schlosser
2404656266
Add minimal version of class Fl_String
...
This class will be used in fl_input_str() and fl_password_str().
Todo: add missing documentation ...
2021-12-04 13:40:29 +01:00
Matthias Melcher
0f72957a24
Merge branch 'fltk:master' into master
2021-12-03 20:35:21 +01:00
Matthias Melcher
c55fd6f704
CMake for Apple Xcode usability improvements
2021-12-03 20:29:20 +01:00
ManoloFLTK
596a937530
PostScript output: initialise member variables in Fl_Cairo_Graphics_Driver constructor.
...
Also, remove inadequate Fl_Surface_Device::push_current(this) call in Fl_Posix_Printer_Driver::begin_job().
2021-12-02 10:54:40 +01:00
ManoloFLTK
2db94dcb4c
Hack to restore "configure --enable-x11" on macOS ≥ 11
...
Since macOS 11, configure --enable-x11 (and the equivalent with CMake)
fails when compiling fl_write_png.cxx in parsing of time.h.
The error happens only if png.h is included without time.h having
been included before.
The fix is to #include time.h before png.h
A better fix than his hack is desirable.
2021-12-01 13:38:55 +01:00
Greg Ercolano
36af6a5729
Solves Fl_Tree focus box artifacts on linux - fixes issue #299 .
...
Nabbed the current code from Fl_Widget::draw_focus() which solves.
2021-11-27 10:20:47 -08:00
Greg Ercolano
84c09ae7b2
Fixes #297 - improvements for icon.cxx + icon() docs
2021-11-26 13:13:58 -08:00
Greg Ercolano
6fc5c16e1c
Fixes warnings about test/icon.cxx in issue #296
2021-11-26 09:50:19 -08:00
ManoloFLTK
390fa9caa7
Fix for issue #254 : remove hardware overlay support - cont'd.
2021-11-26 15:28:43 +01:00
ManoloFLTK
25eed24172
Removed following removal of support for X11 hardware overlay (issue #254 )
2021-11-26 15:21:41 +01:00
ManoloFLTK
eb8b016fab
Fix for issue #254 : remove hardware overlay support .
2021-11-26 15:16:15 +01:00
ManoloFLTK
84cf249482
Fix for issue #253 : Remove xdbe support
2021-11-26 15:01:54 +01:00
Greg Ercolano
2b400f6abc
Solves png warnings from gcc 11.2.0/Rev2 for issue #296
2021-11-25 09:50:45 -08:00
Albrecht Schlosser
7b9ddd97c3
Fix group nesting / end() statements in test/cube demo
2021-11-25 13:36:44 +01:00
ManoloFLTK
2f50640732
X11+XRender platform: more accurate drawing of RGB images when GUI is scaled.
...
RGB images are now drawn to a size that exactly fit discretised rectangles when non
integral GUI scaling values are used.
2021-11-25 11:19:10 +01:00
ManoloFLTK
bf470919f7
Fix X11 platform bug when drawing transparent RGB image without XRender.
...
The bug would appear with test/device and when scaling up to 133% or above:
the background of the Porsche pixmap would be truncated.
The bug requires to set OPTION_XRENDERER=0 to appear.
2021-11-25 09:12:08 +01:00
Greg Ercolano
a900411ee2
Better solution for issue #296
2021-11-24 15:13:04 -08:00
Greg Ercolano
e97fd17e04
Solves Fl_Table_Row warning in issue #296
2021-11-24 14:57:44 -08:00
Albrecht Schlosser
ef1c2d5b26
Fix README files and remove stale config.guess and config.sub
...
README.Unix.txt and README.Windows.txt (MinGW, MSYS) instructed to
execute `NOCONFIGURE=1 ./autogen.sh` which is no longer necessary
(a simple `autoconf` does the job).
Remove files misc/config.guess and misc/config.sub because they are
no longer needed: these files are now in th FLTK root directory
available. Remove all references to these files.
Fix .gitattributes accordingly. Also exclude the .github folder
from exports, for instance when creating distribution tarballs.
2021-11-24 15:01:45 +01:00
ManoloFLTK
7e484c614c
Fix for [fltk.coredev] reentrant calls with Fl_Window::resize
2021-11-24 10:35:18 +01:00
Albrecht Schlosser
1ce3a84e9f
Refactor and improve "Print front window" dialog
...
src/print_button.cxx: "Print front window" implementation (new file)
This is compiled and activated if USE_PRINT_BUTTON is defined.
The feature can be fine controlled by environment variable
'FLTK_PRINT_BUTTON' (see docs in source file).
2021-11-19 18:50:53 +01:00
Albrecht Schlosser
0b8eabd184
Disable confusing debug info in clipboard viewer demo
...
Windows only, depends now on macro DEBUG_CLIPBOARD_DATA.
2021-11-19 18:29:34 +01:00
Albrecht Schlosser
4d31c5bd4f
Fix doxygen docs of fl_draw_check()
...
.. as pointed out by Ian in fltk.coredev. Thanks.
2021-11-19 14:29:46 +01:00
Albrecht Schlosser
e6683d48e9
Disable check mark debugging
2021-11-18 15:14:22 +01:00
Albrecht Schlosser
ca89f48c0b
Add "Save PNG" feature to clipboard viewer demo
2021-11-18 14:20:24 +01:00
Albrecht Schlosser
0bc06e8f1a
Reformat and move clipboard demo from examples to test folder
...
The clipboard demo is more a test program than an example and very
useful even if the examples are not built.
Also update dependencies.
2021-11-18 13:44:41 +01:00
ManoloFLTK
4a2833b104
Clearer GUI for test/device
2021-11-18 10:57:12 +01:00
ManoloFLTK
02754e43ce
Fix Fl_Window::decorated_w() in some X11 situations.
2021-11-17 15:00:21 +01:00
Albrecht Schlosser
55f3df268c
Fix remaining VS compiler warnings in example programs
2021-11-16 21:25:54 +01:00
Albrecht Schlosser
5810edaf84
Fix remaining VS compiler warnings in test programs
2021-11-16 21:25:19 +01:00
ManoloFLTK
f0ff8a5083
Merge remote-tracking branch 'refs/remotes/origin/master'
2021-11-16 15:03:46 +01:00
ManoloFLTK
397226b75d
Add use of fl_capture_window() by test/device
...
Also, rename fl_capture_window_part() to fl_capture_window().
2021-11-16 15:03:36 +01:00
Albrecht Schlosser
796a9bf23e
Merge pull request #292 from Albrecht-S/prefix-bundled-libs
...
Prefix bundled libs. This fixes issues #232 and #289 and STR 3514 (https://www.fltk.org/str.php?L3514 ).
Parts of this fix are based on the work of GitHub user @darealshinji who provided instructions to create the jpeg header file with prefixes in STR 3347 (https://www.fltk.org/str.php?L3347 ). Thanks.
2021-11-16 13:12:46 +01:00
Albrecht Schlosser
af0bb7e6c9
Add rectangle drawing functions with Fl_Rect
2021-11-16 00:30:34 +01:00
Albrecht Schlosser
b2979b6425
Reformat to FLTK style, improve documentation
...
No code changes.
Replace '#define fl_clip ..' with an inline method.
2021-11-16 00:02:16 +01:00