Commit Graph

133 Commits

Author SHA1 Message Date
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
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
Albrecht Schlosser
3f401f4477 Add Ian's offscreen test program.
Same commit as branch-1.3, svn r11287.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11288 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-05 00:53:40 +00:00
Manolo Gouy
54c1c935e6 Stop using ide/Xcode4/plists/editor-Info.plist because ide will be removed.
This file is moved to the test/ directory.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11120 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-02 08:58:33 +00:00
Manolo Gouy
8ac33d6b71 Mac OS: Enhanced the application bundle for the editor demo
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-29 16:41:15 +00:00
Lauri Kasanen
70d6d20e11 Add a test program to benchmark alpha blending.
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-16 18:23:59 +00:00
Albrecht Schlosser
eb1af07952 Add Fl_Window::wait_for_expose() and test program (STR #3124).
Also modified .gitignore, svn-properties, Makefile and CMake-Files.

Todo: test/twowin.cxx and test/windowfocus.cxx need to be added to ide files
(MS VC++ and Xcode).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10339 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-26 23:58:05 +00:00
Lauri Kasanen
7ebbe0baf4 Add a two-window focus test
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10277 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-05 12:45:49 +00:00
Pierre Ossman
f58b1a91b3 Add ability to set custom icons for windows. STR #2816.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10197 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-16 11:39:32 +00:00
Greg Ercolano
bedb7fd6f0 Fixes STR# 2973: collection of Sun compiler fixes to Makefiles.
o Adds $(CXXFLAGS) to $(CXX) commands
    o Implements older, more backwards compatible Bourne shell test(1) syntax for equality tests (= vs ==)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9981 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-21 17:23:09 +00:00
Greg Ercolano
ceb12d51ab Added unittest for checking symbol rendering and fl_measure() with symbols.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9850 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-03-27 18:32:41 +00:00
Greg Ercolano
4a2e8fa883 Added schemes test to unittests app, to check fltk schemes for artifacts.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9834 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-03-08 20:37:00 +00:00
Manolo Gouy
598e2cb63b MacOS: create a bundled version of all example programs with fltk-config --post
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9736 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-05 14:53:03 +00:00
Greg Ercolano
4f4a8fc3c7 Modifications to all LGPL headers for STR #2685.
(to clarify static exception LGPL by changing license references)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8864 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-07-19 04:49:30 +00:00
Manolo Gouy
1e26d2db61 Removed uses of Fl_Native_File_Chooser_{MAC,WIN32}.H that no longer exist.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8389 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-06 14:08:08 +00:00
Albrecht Schlosser
d655684c77 Added missing dependency on tree.fl, and extended target clean to delete
all fluid-generated .h files (as well as .cxx files).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8297 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-22 16:56:12 +00:00
Albrecht Schlosser
e1cff96f1f Added Windows Resource Compiler ("RC") to configure/makeinclude for
easier cross-compiling (not yet fully supported).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7973 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-08 09:48:07 +00:00
Matthias Melcher
a803cec1b7 Fixed even more Copyright to 2010. Probably still forgot some.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7906 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-28 21:28:30 +00:00
Albrecht Schlosser
998cc6df52 Merge of branch-1.3-Fl_Printer, with the following main changes:
(1) adding Fl_Device class (and more) for device abstraction
 (2) adding Fl_Pinter class (and more) for printing support.

Todo: Code cleanup, update dependencies, remove/replace test print window.
I'm looking into converting the test window popup in a global shortcut
that would pop up the print dialog now...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7263 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-14 18:07:24 +00:00
Albrecht Schlosser
6fe1ac09f4 makedepend updates for all source directories (except src/xutf8).
src/Makefile:	adjusted WIN32 and Mac dependencies
test/Makefile:	dto.

Todo: src/xutf8/makedepend needs to be checked. There are obviously functions
and headers that are included in a platform dependent way.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7032 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-27 20:16:38 +00:00
Ian MacArthur
7c3ae1559b I've tweaked the demo.menu to include Greg's new native file chooser test alongside the
existing fltk file chooser test.

Also, I've taken the liberty of making the native file chooser load the system icons by default
(Greg had them not loaded by default, but I think it looks better with them...) and I have
adjusted the Makefile accordingly to make the linked libraries match.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7000 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-14 18:42:13 +00:00
Greg Ercolano
1de0988c31 Added Fl_Native_File_Chooser widget (with manolo's cocoa mods) to FLTK.
* Source brought into CMP standards compliance
	* test program added (test/native-filechooser.cxx)
	* Tested with linux (Ubuntu8) and with OSX (cocoa and non-cocoa builds)

TODO:
	* Needs doxygen docs from Greg's original HTML documentation
	* Needs mods to Windows build files
	* Needs mods to cmake, and other build files
	* Needs Manolo's latest mods (from STR #2298) mentioned on and after "02:05 Jan 13, 2010"



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6997 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-13 23:13:59 +00:00
Matthias Melcher
07a18370ad Added Fl_Tree source code, demo files, and documentation. Thanks, Greg!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6934 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-11-14 15:49:12 +00:00
Matthias Melcher
fefa82e0b1 Adding Gerg's Fl_Table widget to FLTK 1.3 with kind permission. Documentation not yet added Support for both Visual Studio IDE's not yet added.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6929 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-11-14 13:05:37 +00:00
yuri
f13defde28 add fl_draw(int angle, const char* ... functions for rotated text drawing
STR#1840 closed, STR#207 not closed because non-xft functions not implemented 

drawing of N Utf8 characters need correction for rotated and not rotated fl_draw functions not solved!


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6779 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-24 09:28:30 +00:00
Matthias Melcher
afe1b90dd0 Reorganized Unittest / fixed and improved OS X keybord support and alternative input methods / fixed OS X utf8 DnD
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6755 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-12 13:48:03 +00:00
Matthias Melcher
167d767e0f Changed the copyright to 2009 for header files. Still todo: src and test directory.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6614 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-01 16:11:32 +00:00
Matthias Melcher
6b3f61e3ff In the configuration setp, LIBNAME (which contains the local path of the library as seen from the src directory) was used wrong. I added LIBBASENAME, the true library name without the path, and replaced LIBNAME wherever it was used wrongly.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6611 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-29 19:45:46 +00:00
Fabien Costantini
29ff9d8936 Reverted my own modified test/Makefile for more utf9 test because it is not finished yet.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6516 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-10 22:08:30 +00:00
Fabien Costantini
250090b3f0 More optimisation and cleanup for the PNG lib handling in configure.in. Also reordered the variables the same way in the main if test code so that differences now are obvious between the two modes
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6515 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-10 22:03:55 +00:00
Fabien Costantini
268ffc6ef2 Cairo increment 2: Finer cairo granularity, less deps, new fltk_cairo lib
+ added new USE_CAIRO config preprocessor def. 
   to differentiate from HAVE_CAIRO so that we can use the cairo lib 
   without forcing the full fltk lib to be linked against it.
   In that case, cairo autolink context functionality which needs fltk lib 
   instrumentation is disabled.
 + added new --enable-cairoext, which correspond to previous --enable-cairo.
   now, --enable-cairo only adds HAVE_CAIRO def. and keeps fltk lib
   from referencing cairo.
   In both cases (--enable-cairo & --enable-cairoext), a new fltk_cairo lib is 
   created. This lib, similarly to local versions of png,jpeg and zlib, 
   is not generated if cairo is not enabled.
 + added cairo to fltk-config : now new --use-cairo flag is available
 + modified all unix like makefiles to now generate minimum cairo deps and also
   new libfltk_cairo lib.
 + added new cairo subdir to permit conditional fltk_cairo lib generation. 
 + vc2005 project minimum update to compile without be broken, but still needs
   to create a similar fltk_cairo independent lib. For now, it works as before
   with a dedicated cairo env. similar to --enable-cairoext context in unix.
 + regression tested ok with cairo disabled on win32, mac osx, mingw.
  


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6462 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-19 01:42:35 +00:00
Fabien Costantini
ffad932289 + Cairo branch merged after successful testing on Mac OS X 10.5.4, Linux Ubuntu 8.04,Windows XPSP2.
This integration is minimum as discussed, in particular it does not feature any fltk cairo drawing substitution
  as in fltk2.
  Still it provides all the fundations to go further even in next 1.4 ... 
  By default *no* cairo features are implemented nor linked, it can only be activated by --enable-cairo
  whose default is false.
  Please visit the README.cairo for complete description.

+ fixed UTF8 compilation pb on linux ubuntu

+ minor comments fixes on the fly



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6350 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-25 18:26:33 +00:00
Matthias Melcher
cf61ea83a4 Remove mcast and dnd test programs. I do like them and they should be back eventually, however right now they ae not in the scope of the UTF8 port.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6216 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-11 10:38:40 +00:00
Matthias Melcher
b6bde2e456 Merging the UTF8 patch, consisting of O'ksi'd s original 1.1.6 patch and additions by Ian. PLEASE BE AWARE that the patch in its current incarnation is a regression in many aspects and further work is required before we can announce Unicode support.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6212 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-10 23:56:49 +00:00
Michael R Sweet
ba2e9f3375 Make --post create a basic Mac OS X application bundle with a shell script
that executes the bundled program.

Change the defaults for Quartz, threading, large file support, XDBE, Xft,
and Xinerama to "yes".

Remove the old Mac OS X resource fork file.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6142 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-07-13 21:39:07 +00:00
Matthias Melcher
9c538a4b2e STR 1883: Attempt to fix installation of binaries in .app bundle on platforms other than OS X. Must be tested with Cygwin and on Linux!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6051 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-02-26 15:26:08 +00:00
Matthias Melcher
5382d3c8d5 STR 1795: applied patch to fix Icon path settings. Will try on my Linux machine next.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6045 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-02-25 14:43:34 +00:00
Matthias Melcher
82195b6d68 STR #1641: fixing 'make clean'
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5792 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-01 20:22:59 +00:00
Matthias Melcher
6df72e8979 STR #1623: restored the unloved POSTBUILD command because the reulting executable is still better than the automatically foregrounding one. The 'right thing' is to create a bundle anyways.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5728 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-03-06 17:03:25 +00:00
Matthias Melcher
8adb964b48 Updated log message when generating source files from an .fl file. (STR #1600).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5695 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-13 13:55:58 +00:00
Matthias Melcher
b3dd53585e Updated log message when generating source files from an .fl file. (STR #1600).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5694 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-13 13:54:56 +00:00
Michael R Sweet
58cfbc6c82 Use INSTALL_BIN instead of CP for Mac OS bundles...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5665 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-06 21:46:02 +00:00
Michael R Sweet
44b2ff35cf Use install command instead of CHMOD, CP, and MKDIR.
Drop all POSTBUILD stuff as it is no longer used.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5663 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-06 19:35:28 +00:00
Michael R Sweet
7b15f5b159 Fix install-linux target in test directory.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5511 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-10-07 11:32:22 +00:00
Matthias Melcher
7a60537122 STR 1424: attempt to make test/Makefile more roboust for time shifts in fluid generated code
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5467 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-19 08:38:53 +00:00
Matthias Melcher
36d32a9ec9 Decluttered Fluid Widget Bin to look good w/Mike new GTK+ scheme. Thanks Mike!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5440 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-17 18:31:35 +00:00
Matthias Melcher
6545100e74 Fixed installation of pixmap s to reflect new pixmaps directory.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5364 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-25 09:19:58 +00:00
Michael R Sweet
f27180b7cd Do some rearranging of image and desktop support files.
Add new Block Attack! game...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5358 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-25 06:58:33 +00:00
Michael R Sweet
d9eecaf4ab Fix problems with new FLUID output, add common to closing braces to show
what widget is being closed, and bump the version number to 1.1.8 in the
repo...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5271 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-07-27 19:26:11 +00:00
Michael R Sweet
58699112db Fix use of LDFLAGS and make install depend on all target...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5264 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-07-25 19:06:56 +00:00