Commit Graph

53 Commits

Author SHA1 Message Date
Manolo Gouy
6b69461ea9 Renamed src/Fl_Sys_Menu_Bar.cxx to src/Fl_Sys_Menu_Bar.mm because objective-c code is used.
Some code is transferred from Fl_cocoa.mm thus reducing somewhat this very large source file.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9885 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-16 14:02:42 +00:00
Manolo Gouy
155e099f4a Documented how to make a Mac OS FLTK application launchable by dropping files on its icon.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9718 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-13 13:03:20 +00:00
Fabien Costantini
b31264e473 STR 2827 implementation. Implemented Reselect code and related API all within ABI controlled preprocessor blocks because of new attribute defintion would break ABI anyway. Because the code is already ABI controlled, I took the opportunity to keep keep the REASON enum sorted. Added test code in Tree.fl adequately.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9347 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-15 20:11:36 +00:00
Manolo Gouy
0373e02f5d Reflects update of libpng to v. 1.5.1
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8525 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-22 12:52:34 +00:00
Manolo Gouy
97f7c0f524 Define WORDS_BIGENDIAN using __BIG_ENDIAN__ value
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8506 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-04 17:51:22 +00:00
Manolo Gouy
803a7c4d52 WORDS_BIGENDIAN has an architecture-dependent value.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8491 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-01 19:45:05 +00:00
Manolo Gouy
85256d15c4 Two png-related #define's were missing. This caused transparent png images to be wrong.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8490 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-01 14:39:22 +00:00
Manolo Gouy
00554a3ef5 Reflects update of zlib to v. 1.2.5
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8483 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-27 16:04:40 +00:00
Michael R Sweet
1216e9530f Update JPEG library to v8b.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8425 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-15 15:25:53 +00:00
Matthias Melcher
210114ca0f test/help now finds some documentation. This kind of works, but since we decided to load a sample page instead, I will have to improve this... .
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8176 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-04 00:53:13 +00:00
Matthias Melcher
523a2ed9b7 Recompiled pdf with newest versions of doxygen and epstopdf, generating a much smaller yet complete pdf
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8174 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-03 20:47:16 +00:00
Manolo Gouy
874bca74f5 Mac OS X: removed all uses of Carbon (except for older OS versions) and re-organized
text input around the NSTextInput protocol.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8173 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-03 16:50:34 +00:00
Matthias Melcher
bb6392f7ec Added Table and Tree support to Fluid.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8172 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-03 08:28:38 +00:00
Matthias Melcher
e203237eb3 Integrated menu into demo resource branch for OS X. Indicating items that open more choices with ...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8167 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-02 03:50:54 +00:00
Matthias Melcher
5f2aa6ca9c Change colbrowser to btter conform to FLTK coding standards. For OS X bundle format, move the RGB file into the bundel.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8166 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-01 21:06:56 +00:00
Manolo Gouy
dbb7be0fee Mac OS X: removed dependency from AudioToolbox.framework by calling NSBeep() from Cocoa.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8135 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-29 11:33:42 +00:00
Manolo Gouy
a8530c73fa Adopted use of FL_LIBRARY #define symbol under Mac OS X. This allows to compile
client applications without including Mac OS system headers, with a gain in speed of 
compilation and portability. The source files of all FLTK libraries must now be compiled with 
-DFL_LIBRARY under Mac OS X. Make, CMake and Xcode project support files
have been modified accordingly.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8113 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-23 14:24:29 +00:00
Matthias Melcher
88093df6e8 Removed IDE support from Fluid because it never got finished and seemed more like a race against windmills. I may pick this up again later - maybe.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8086 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-20 20:33:24 +00:00
Matthias Melcher
9092dccab8 Changed all fixed filename buffers (that I could find) to use FL_PATH_MX instead. Raised FL_PATH_MX from skipy 256 characters to 2048, which corresponds with modern file systems.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8063 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-19 21:20:10 +00:00
Manolo Gouy
d4fa5481d6 Updated to compile the 3 objective-c++ files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8050 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-17 13:02:14 +00:00
Matthias Melcher
318b3dea57 Added an 'Options' dialog (replacing test/preferences) that can be used to set system wide or user real options like Visible Focus.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8018 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-12 19:52:26 +00:00
Matthias Melcher
a74dfcd192 Moved VisualC 2005 support to 'deprecated' directory. All deprecated IDE's will be removed before 1.3.0rc1. STR 2467.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7959 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-06 15:02:07 +00:00
Matthias Melcher
906549e4f9 Added unittests to the Xcode IDE.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7843 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-15 17:22:21 +00:00
Matthias Melcher
f1f1d8ed42 STR 2382: Fixed compile errors when HAVE_LIBJPEG was not defined
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7780 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-30 20:01:16 +00:00
Matthias Melcher
ff09e7237c Fl_Button shortcut handling would crash if the widget was deleted in the callback.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7774 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-30 16:50:44 +00:00
Matthias Melcher
2870b6efe1 Added new project template for Xcode (part 2 of 3). Part 3 will be done later (see TODO: tag sin README.OSX)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7739 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-25 10:20:21 +00:00
Matthias Melcher
9ec755f5fa Removed outdated Project Templates
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7738 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-25 09:26:31 +00:00
Matthias Melcher
a05a160101 Removed outdated Project Templates
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7737 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-25 09:15:08 +00:00
Matthias Melcher
24e14c2470 Fixed a pretty fatal instruction in the Xcode README (oooops) and modified the project files for a correct Universal Build.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7736 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-25 08:08:07 +00:00
Matthias Melcher
bfeac78693 Trying to bring the Xcode 3 OS X builds to a better standard, including automatic builds and project templates. 1 of 3 done.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7734 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-24 20:53:36 +00:00
Matthias Melcher
10ebe9f862 New build instructions for OS X users.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7730 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-23 22:50:39 +00:00
Matthias Melcher
463416d0c7 Remove OS X Xcode compiler warnings.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7726 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-22 15:15:23 +00:00
Manolo Gouy
55c20361dd Renamed device-info.plist to device-Info.plist as it should be named
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7677 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-07-10 15:24:33 +00:00
Manolo Gouy
6d0807e40a File needed for device demo program and Xcode.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7676 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-07-10 14:54:53 +00:00
Matthias Melcher
32716d6b1e Updated the Fluid IDE support for the current source file structure. Changed the Fl_Tree rendering code around a bit to make the tree more like MSWindows on Windows and more like Apple on Apple machines. I hope you guys like it. I also moved the function to load Fl_Preferences into an Fl_Tree into the Fl_Tree class where it belongs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7672 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-07-10 09:44:45 +00:00
Matthias Melcher
3ef47f712a Added 'rotated_text' to the Fluid IDE setup. It should probably be in 'Demo' as well.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7595 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-07 20:23:07 +00:00
Matthias Melcher
92fa35e4fb Remove obsolete plists
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7581 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-01 21:39:33 +00:00
Matthias Melcher
6918b952a1 Added missing plists
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7580 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-01 21:38:21 +00:00
Matthias Melcher
30d00ceb07 Fludi IDE: now supporting header files for OS X. If those are included for a library, the resulting framework will receive a copy of the headers, allowing Xcode to simply include the file into any new project. frameworks must be installed in /Library?Frameworks to be found automatically. A little more fixing is required.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7504 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-14 20:17:44 +00:00
Matthias Melcher
e1d22ebba7 Added ide generating code to command line version of Fluid.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7484 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-12 05:18:38 +00:00
Matthias Melcher
a73a70a2c7 Fluid IDE tools: added some more human readable annotations to the database
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7483 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-11 20:23:38 +00:00
Matthias Melcher
ed2870637f Fluid IDE support: rewrite all Makefiles. This has no smart parts inside yet.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7482 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-11 20:16:47 +00:00
Matthias Melcher
421f908c69 Bringing supported IDEs to the newest setup, add device and others.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7345 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-27 08:51:54 +00:00
Matthias Melcher
bde92b83f3 Fixed the IDE's for Xcode3, Xcode3.1, and VisualC (last one untested).
Added some code for verbose plugin manager output. This is what you should get when loading "cube" and then calling the regular "print" function.

Fl_Plugin: creating a plugin, class "fltk:device", name "opengl.device.fltk.org"
Fl_Plugin: creating a plugin manager for class "fltk:device"
Fl_Plugin: adding plugin named "opengl.device.fltk.org" at 0x0x175314
Fl_Plugin: deleting a plugin manager
Fl_Plugin: creating a plugin manager for class "fltk:device"
Fl_Plugin: returning plugin named "opengl.device.fltk.org": 0x0x175314
Fl_Plugin: deleting a plugin manager
Fl_Plugin: deleting a plugin



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7291 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-17 21:11:06 +00:00
Matthias Melcher
be17e1ccb6 Updated Fl_Device and Fl_Printer for Xcode
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7267 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-14 21:29:12 +00:00
Matthias Melcher
c80e789208 Updated Xcode project to add AudioToolbox
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7242 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-10 23:05:43 +00:00
Matthias Melcher
9cf4d8c014 Starting to add IDE support for Makefile/autoconf.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7226 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-06 15:22:22 +00:00
Matthias Melcher
a2547a31a0 More FLUID IDE file generation.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7225 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-06 14:38:38 +00:00
Matthias Melcher
c35463fdbe Starting to add a GUI to manage the IDE database.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7169 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-27 22:38:25 +00:00
Matthias Melcher
5522143ae6 Added missing zlib plist
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7166 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-27 14:10:03 +00:00