Albrecht Schlosser
3311119335
Fix svn attributes of *.c, *.cxx, *.cmake and others.
...
- set svn:keywords Id
- set svn:eol-style native
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12193 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-03-12 15:12:35 +00:00
Albrecht Schlosser
5544404f7a
Enable Up/Down keys in Fl_Spinner if input has focus (STR #2989 ).
...
Previously Up/Down keys worked only if one of the buttons was pressed
before so that it had the focus.
test/valuators.fl: The second Fl_Spinner widget (FL_FLOAT_INPUT) now has
wrap mode disabled whereas the first one (FL_INT_INPUT) uses wrap mode
(default, compatible with FLTK 1.3.x and older).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12191 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-03-10 21:47:08 +00:00
Albrecht Schlosser
843183478b
Fix tab group positions.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12183 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-03-05 14:43:03 +00:00
Manolo Gouy
3ce40f3faf
Reset offscreen surface when the window is hidden.
...
This is necessary for compatibility with rescaling, so line widths are also rescaled.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12175 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-02-19 15:42:31 +00:00
Albrecht Schlosser
1e5826e84b
Add radio buttons to unittests_schemes in 4th tab.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12172 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-02-11 16:39:19 +00:00
Albrecht Schlosser
16774ddc4e
Rename test/help demo program to test/help_dialog.
...
This change avoids a name conflict with CMake's auto-generated target 'help'
for "Unix Makefiles", "Ninja", and supposedly other generators as well.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12171 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-02-08 02:06:52 +00:00
Manolo Gouy
e7356529bb
Allow ESC to close window and don't transmit CTRL character to fl_draw()
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12167 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-01-26 08:13:19 +00:00
Manolo Gouy
6645a6b225
It is better to reset the line width after having finished to draw with a modified width.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12146 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-12-14 18:38:01 +00:00
Manolo Gouy
43935dffeb
Add static void Fl_Surface_Device::push_current(Fl_Surface_Device *new_current) and pop_current() to set/unset the current drawing surface.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12140 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-12-07 15:09:52 +00:00
Manolo Gouy
e5d53b026c
Test program "device": add several calls to image destructors to exercise them.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12126 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-11-30 07:12:29 +00:00
Albrecht Schlosser
6d4b93e9c7
Finally remove FLTK_ABI_VERSION preprocessor macro from code.
...
FLTK_ABI_VERSION has been renamed to FL_ABI_VERSION in FLTK 1.4.0.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12121 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-11-19 01:20:53 +00:00
Albrecht Schlosser
49a2e4206e
Fix test/native-filechooser help display artefact (STR #3349 ).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@12081 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-11-06 10:48:40 +00:00
Albrecht Schlosser
183797e4a3
Minor fix of tree demo program (show tree widgets).
...
Clicking "Rebuild Tree" after "Close All" did not show the widgets
(Fl_Input test, ccc button, D1, D2). This is now fixed.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@12037 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-17 12:51:58 +00:00
Manolo Gouy
a80ce48339
Make source code of test/file_chooser.cxx platform-independent.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@12014 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-06 08:55:22 +00:00
Albrecht Schlosser
26601983c6
Update dependencies.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11957 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-20 13:35:44 +00:00
Greg Ercolano
e7642ee999
Bringing over fix [r11947] from 1.3 current to the porting branch.
...
Small size mods to prevent Fl_Help_View scrollbar and wordwrap,
while keeping Albrecht's recent mods.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11948 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-16 20:29:13 +00:00
Albrecht Schlosser
2bb91d900c
Fix native file chooser test program (STR #3326 ).
...
Fix compilation error under Windows with MS compiler (Visual Studio) only.
Also fix layout and resizing behavior.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11941 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-13 00:59:04 +00:00
Manolo Gouy
86e48ce2ca
configure build and Mac platform: make the colbrowser and help demo find their data file
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11928 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-07 16:05:55 +00:00
Greg Ercolano
832e117f81
Bringing over fix [r11924] from 1.3 current to the porting branch.
...
Help text typo
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11925 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-05 19:31:13 +00:00
Greg Ercolano
f20152e5f2
Bringing over fix [r11919] from 1.3 current to the porting branch.
...
Added "Filter" field to test filter strings.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11921 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-05 16:56:10 +00:00
Manolo Gouy
36717ec845
Output also a bundled version of demo, as done for all other test apps under Mac OS platform.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11915 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-01 19:41:26 +00:00
Manolo Gouy
89954986bb
Remove another instance of the USING_XCODE preprocessor variable
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11912 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-08-31 17:01:27 +00:00
Manolo Gouy
e5486b24d1
Fix Mac OS launching of the browser test program.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11911 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-08-31 16:59:22 +00:00
Manolo Gouy
b1e25e4838
Remove one instance of the USING_XCODE preprocessor variable that is not necessary.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11910 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-08-31 16:14:39 +00:00
Manolo Gouy
4d55e204f8
Remove the USING_XCODE preprocessor variable that became useless
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11909 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-08-31 16:12:28 +00:00
Albrecht Schlosser
17b9f6d6cb
Fix compiler warnings (gcc 6.1).
...
Some of these warnings were benign (code formatting), but one of them
showed a potential bug (zero divide in test/fraciewer.cxx).
Fixed warnings:
1 this 'while' clause does not guard... [-Wmisleading-indentation]
1 this 'for' clause does not guard... [-Wmisleading-indentation]
1 this 'else' clause does not guard... [-Wmisleading-indentation]
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11850 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-29 09:24:04 +00:00
Greg Ercolano
e92fa6914b
Bringing over fix [r11840] from 1.3 current to the porting branch.
...
Solves STR#3294; added methods to let user set the userdeicon,
and removed the performance degrading automatic deicon creation.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11841 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-21 00:51:14 +00:00
Greg Ercolano
ec4120795d
Removed ABI guards that snuck in with r11819.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11822 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-19 23:19:16 +00:00
Manolo Gouy
984fcbaefc
Add dots-per-inch info to the screen data displayed by the fullscreen demo.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11796 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-22 08:36:48 +00:00
Albrecht Schlosser
c8155bc7d1
Remove unnecessary #include statement.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11782 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-14 11:15:22 +00:00
Albrecht Schlosser
ace85426bc
[CMake] Improve sound support detection.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11781 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-14 11:00:29 +00:00
Manolo Gouy
cba54044a7
Fix building on FreeBSD that failed for test programs requiring audio output.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11769 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-07 10:39:15 +00:00
Albrecht Schlosser
241634c2b6
remove duplicate '†'
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11753 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-23 10:48:59 +00:00
Albrecht Schlosser
cea813e6ee
Add another special test case "†" for Fl_Help_View.
...
Note: † = † = U+2020, i.e. 0x2020 & 255 = 0x20 = ' ' (space).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11750 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-23 10:31:00 +00:00
Albrecht Schlosser
495d15cf7a
Add HTML entity tests to test/help-test.html.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11744 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-17 16:10:12 +00:00
Manolo Gouy
a6b31a05af
CMake on Mac OS: copy support files to application bundles.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11740 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-15 14:07:48 +00:00
Manolo Gouy
c68d4d52d8
Fix colbrowser.cxx for __APPLE__
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11739 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-15 14:06:01 +00:00
Manolo Gouy
e3d96c1bcf
Simpler test/help.cxx under Mac OS X
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11738 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-15 13:52:17 +00:00
Albrecht Schlosser
3db259007a
Fix typo in html file test/help-test.html
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11735 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-13 13:02:39 +00:00
Albrecht Schlosser
2dacc9a1db
Fix documentation of Fl_Tile (STR #3303 ).
...
Clarify that the resizable() box should be the first child to ensure
correct event delivery to children.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11727 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-09 11:29:59 +00:00
Manolo Gouy
f4ec7192a9
Add tests to avoid null pointer errors
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11703 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-27 16:42:20 +00:00
Manolo Gouy
ae23f0cb5e
Progress toward support of CMake OPTION_APPLE_SDL
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11673 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-20 04:49:36 +00:00
Matthias Melcher
acba16a38f
Pico can draw lines rectf and arcs, so the top level driver does not have to
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11621 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-15 21:26:13 +00:00
Manolo Gouy
a1de05784b
Fix position in window of string "Line styles".
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11611 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-15 08:06:47 +00:00
Albrecht Schlosser
7e04657ce7
Remove obsolete EMX (DOS, OS/2 extender) support.
...
This commit changes all files except src/Fl_File_Chooser2.cxx.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11590 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-12 17:53:18 +00:00
Albrecht Schlosser
d98a8e13e6
Fix compiler warning when compiled with USING_XCODE [-fpermissive].
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11561 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-09 12:37:44 +00:00
Albrecht Schlosser
020a96b4a8
Fix more compiler warnings.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11536 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-05 21:15:45 +00:00
Manolo Gouy
a22791b691
Have the device demo operate also the Fl_PostScript_File_Device class.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11527 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-04 11:31:51 +00:00
Manolo Gouy
ff0ec68023
Add necessary #include directive under Mac OS.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11429 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-26 11:38:38 +00:00
Albrecht Schlosser
29a9e89b39
Remove FLTK_ABI_VERSION from all but *tree*.* and documentation.
...
Everything related to Fl_Tree and its test and demo programs has been
cleaned.
Documentation needs updates.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11428 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-26 02:55:14 +00:00