summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2016-01-03Updated platform specific #if's to report unimplemented code when compiling ↵Matthias Melcher
with FL_PORTING defined and WIN32 and __APPLE__ undefined> git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@10989 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-12-29Mac OS: Enhanced the application bundle for the editor demoManolo Gouy
so it is launchable by dropping any file on its icon. This is done both for the configure/make and the CMake build systems (the Xcode build system did that already). The editor demo is the only one calling fl_open_callback(). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10981 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-12-01Mac OS: Show how to localize the "Preferences…" custom application menu itemManolo Gouy
of the menubar test app. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10938 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-11-26Mac OS only: added the Fl_Mac_App_Menu::custom_application_menu_items() methodManolo Gouy
that allows customization of the application menu on the Mac platform. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10932 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-11-24Finish "rename" of *.xcf.gz - delete uncompressed files.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10930 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-11-24Rename *.xcf.gz files to *.xcf_gz instead of uncompressing.Albrecht Schlosser
This is intended circumvent the Apache/Subversion protocol issue described by Ian in the previous few commits. Todo: If this works we can remove the uncompressed files again ... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10929 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-11-24Added new method Fl_Copy_Surface::draw_decorated_window()Manolo Gouy
that copies a window to the clipboard together with its title bar and borders. This requires very little new code because the capture of window decorations is shared with the Fl_Paged_Device::print window() method. The device test program is changed to call the new method. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10928 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-11-24Testing to see if changing the file extensionIan MacArthur
from .xcf.gz to just .xcf (and uncompressing the file too, of course!) unblocks the repository access for svn checkouts etc. Checkouts are currently broken because the Apache server is mishandling files of .gz type, and this is causing checksum errors on file checkouts etc. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10925 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-11-24Attempting to workaround issue withIan MacArthur
repository access. The Apache server is not handling files of .gz type the way that SVN needs and this is blocking any checkouts. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10924 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-09-01Fix typos.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10851 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-07-22Update dependencies.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10811 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-07-21Update common dialog test program - add "recursive" dialog test.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10805 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-07-09Update fluid .fl files and generated code - remove trailing white space.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10783 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-07-08Fix compiler warning, add inactive (deactivated) box test mode.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10780 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-17Another update of tabs.fl.Albrecht Schlosser
Sorry, messed it up. This one is hopefully okay. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10766 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-17Improve test/tabs demo - enlarge window, shift widgets around.Albrecht Schlosser
This is a layout update only. The window has been enlarged, and some of the text widgets as well so the labels fit better, depending on fonts. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10765 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-05-24Removing this unused file.Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10736 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-28Fl_Tree: improved draw() behavior when deactivated;Greg Ercolano
icons draw deactivated now. test/tree: Added 'deactivate tree' button to test deactivating entire widget. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10723 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-09Improve test/color_chooser layout, fix some small bugs.Albrecht Schlosser
Added a "hint" to tell the user what the buttons are good for. The hint also exercises fl_contrast(). Whenever the background color is changed the hint's labelcolor is set with fl_contrast(). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10694 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-09MacOS: removed XCode3 from header search paths in Xcode FLTK project,Manolo Gouy
and fix the help demo. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10691 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-08Mac OS: fix demo for programs that are run with an argument.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10690 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-08CMake build on Mac OS: r10688 was not a good move because it works withManolo Gouy
the makefiles generator but not with the Xcode generator. Stepping back one commit. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10689 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-08CMake building on Mac OS: use a simpler way to put files within app bundles.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10688 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-03Fix more compiler warnings in test/*.cxx (STR #2813).Albrecht Schlosser
Thanks to Csaba for the patch. Also fixed copyright and a few indenting issues. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10667 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-03Fix compiler warnings in test/forms.cxx and more (inspired by STR #2813).Albrecht Schlosser
This update ought to fix the compiler warnings (tested only under Linux) mentioned in STR #2813. The patch is very different though (more radical). Also removed unused code, fixed copyright and trailing white space. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10666 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-03Add missing cast (part of patch for STR #2813).Albrecht Schlosser
Thanks to Csaba for finding this and providing a patch. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10661 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-28Update dependencies.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10654 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-18Add new animated demo to CMakeLists.txt, update .gitignore and svn props.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10643 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-18Added the new 'animated' test program.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10638 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-17Remove obsolete watcom makefiles.Albrecht Schlosser
These makefiles included '../watcom.mif' which had already been removed and they had not been updated anyway. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10634 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-16Add a test program to benchmark alpha blending.Lauri Kasanen
The new XRender code uses 21 times less cpu than the old read-back-and-manually-blend option. The blending is also GPU-accelerated where possible, but works in software on vesa/fb drivers. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10630 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-10Added Fl_Shared_Image::scale(width, height) to support scaled image drawing ↵Manolo Gouy
(STR #3185). Useful for printing, PostScript or PDF output, or retina displays. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10615 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-10[Version 1.3.4] Update version numbers - hopefully complete.Albrecht Schlosser
Note to devs: if I missed something, please mark follow-up commits with [Version 1.3.4] so we can find the necessary commits for version updates. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10612 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-07Update dependencies.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10608 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-05Improve label demo test/label.cxx : better layout + new tooltips.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10605 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-27Rename variable 'inp' because of colliding definition in Cygwin.Albrecht Schlosser
Although this is probably not the application's fault and this was found with gcc 4.5.3 using Windows 64-bit cross-compiling only. windowfocus.cxx:25:18: error: 'Fl_Input* inp' redeclared as different kind of symbol /usr/x86_64-w64-mingw32/sys-root/mingw/include/intrin.h:347:5: error: previous declaration of 'int inp(short unsigned int)' git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10594 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-13[CMake] Fix creation of example directory when copying support files.Albrecht Schlosser
This was a regression introduced in svn r 10573 that affects new builds, when the target directory for test files (bin/examples) doesn't exist yet. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10577 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-11[CMake] Copy support files for demo programs to build directory (incomplete).Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10573 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-09Fix typos in demo file.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10567 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-09Make demo programs display the correct Fl::scheme() in all cases.Albrecht Schlosser
Demo programs using Fl::args() and fl_get_system_colors() instead of Fl_Window::show(argc,argv) didn't correctly initialize the Fl::scheme() if the environment variable FLTK_SCHEME was set. Calling Fl::scheme(Fl::scheme()) fixes this, because (currently) only Fl::scheme(NULL) reads the environment variable FLTK_SCHEME. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10565 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-08Allow compilation with -std=c++11Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10562 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-31Improve test/boxtype demo program to help boxtype debugging.Albrecht Schlosser
(1) Set window title to reflect current scheme. (2) Add class BoxGroup to show a red frame around each box and/or a white box background. Both features are disabled though. Edit the source file to enable. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10546 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-12-20Changed OpenGL support for the Mac OS X platform: use cocoa instead of ↵Manolo Gouy
deprecated AGL. All changes are mac-specific, except a very minor change in file src/gl_draw.cxx where string drawing wrongly claimed to support @symbol, not possible because symbols are drawn using non-GL primitives. Unchanged application code can use the new FLTK code. In addition, the new code allows mac applications to draw OpenGL scenes at high resolution on so-called 'retina' displays, but this requires some support from app code. They must call, before opening GL windows, Fl::use_high_resolution(1); and change their glViewport() calls as follows glViewport(0, 0, pxel_w(), pixel_h()); This uses 2 new member functions of the Fl_Gl_Window class, pixel_w() and pixel_h() returning the window dimensions in pixel units, that is, twice the w() and h() when the window is mapped on a retina display. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10498 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-12-19Fixes STR #3169, comment #8.Greg Ercolano
Prevents warnings from OSX 10.9.x clang compiler. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10494 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-12-19Fixes STR #3169, comments #4, #5 and #7.Greg Ercolano
Prevents warnings from the OSX 10.9.x clang compiler. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10493 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-11-08Added Fl_Copy_Surface::w() and Fl_Copy_Surface::h() member functions.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10441 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-11-04Add unittests to demo program menu.Albrecht Schlosser
This test program may not be in the optimal position in the menu, but w/o restructuring more of the menu this was the best position I could find. Maybe we can restructure the menu in the future. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10433 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-11-03Update dependencies for FLTK 1.3.3 release.Albrecht Schlosser
This should be the final commit for FLTK 1.3.3. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10431 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-30Undoing commit r.10422 that was a wrong move.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10423 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-30Fixed typo about the editor demo programManolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10422 ea41ed52-d2ee-0310-a9c1-e6b18d33e121