diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-12-20 14:41:44 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-12-20 14:41:44 +0000 |
| commit | df9acaafea434e12d21077a7806867c99217a57d (patch) | |
| tree | f0939ab6eea3bb92acadf6d483938d28d8391df4 /README.mac | |
| parent | 0215c7986c4f255d92753daddc0237f4e5a1a73b (diff) | |
Implement Fl::scheme() and Fl::reload_scheme() (this includes support
for new FLTK_SCHEME environment variable, which should get added to
FLTK 2.0 CVS, as well as the -scheme option...)
Revert Fl_Group/Fl_Widget destructor change - it doesn't work for
statically initialized widgets (like the widgets in a color chooser...)
Export fl_round_up_box() and fl_round_down_box() so they can be
restored in Fl::reload_scheme().
Use FL_DOWN_BOX and FL_ROUND_DOWN_BOX in menu drawing code.
Use a static string for the display environment variable in Fl::display().
Updated MacOS README file...
Added window tile image...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1883 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'README.mac')
| -rw-r--r-- | README.mac | 212 |
1 files changed, 108 insertions, 104 deletions
diff --git a/README.mac b/README.mac index 534160ac5..99e9868c1 100644 --- a/README.mac +++ b/README.mac @@ -1,142 +1,146 @@ -README.mac - 12/03/2001 - Building FLTK under MacOS and OS X ------------------------------------------------------------- +README.mac - 12/20/2001 - Building FLTK under MacOS 8, 9, and X +--------------------------------------------------------------- CONTENTS --------- - - Introduction - - gcc (Carbon) - how to build - - scripts - - known MacFLTK bugs - - test suite status - - other stuff - - FLTK 1.0.x for Mac - - -INTRODUCTION ------------- - -FLTK for Mac OS X is in beta stage. Expect rapid changes to the -source code and build environment. - -FLTK currently supports the following development environment on the -Mac OS X platform: - - gcc (Carbon) + - Introduction + - How to Build Using GCC (MacOS X) + - Scripts + - Known MacFLTK bugs + - Test suite status + - Other stuff + - FLTK 1.0.x for Mac - - (Metrowerks CodeWarrior - future releases) - - (Apple Project Builder - future releases) - - - (MPW - future releases) +INTRODUCTION -FLTK for Mac is fully carbonized, i.e. all applications should run -on Mac OS 8.1 and higher and OS X without changes. + FLTK for MacOS X is in beta stage. Expect rapid changes to + the source code and build environment. + + FLTK currently supports the following development + environments on the MacOS X platform: + - GCC + - (Metrowerks CodeWarrior - future releases) + - (Apple Project Builder - future releases) + - (MPW - future releases) -gcc (Carbon) - how to build --------------------------- + FLTK for Mac is fully carbonized, i.e. all applications + should run on MacOS 8.1 and higher and OS X without + changes. Note, however, that applications compiled using + GCC will only run under MacOS X since they use a different + executable format. -Since the Max OS X command line build environment is based on BSD -Unix, the normal Unix build procedure as described in 'README' -applies. -A 'resource fork' will be attached to applications to make -them visible in the Finder. Thedefault resource file is ./FL/mac.r . +HOW TO BUILD USING GCC (MacOS X) -A possible way to add a resource fork is: -> Rez -t APPL -c Fltk ../FL/mac.r -o hello + Since the MacOS X command line build environment is based on + BSD UNIX, the normal UNIX build procedure as described in + 'README' applies. + A 'resource fork' will be attached to applications to make + them visible in the Finder. The default resource file is + "FL/mac.r". -scripts -------- + The "fltk-config" script can be used to attach the FLTK + resource fork to an executable using the "--post" option: -When using Finder applications on source files (i.e. FileMerge) -I found the following script very useful. It adds resource forks to -all text files. + fltk-config --post foo + + where "foo" is the name of the executable. -#!/bin/tcsh -setenv SET_MAC_TYPE "SetFile -t TEXT -c ttxt " -setenv F1MAC_N 7 -echo "Setting Mac File Types. Please wait..." -echo "[1/"$F1MAC_N"]" -find . -name '*.H' -exec $SET_MAC_TYPE {} \; -echo "[2/"$F1MAC_N"]" -find . -name '*.h' -exec $SET_MAC_TYPE {} \; -echo "[3/"$F1MAC_N"]" -find . -name '*.c' -exec $SET_MAC_TYPE {} \; -echo "[4/"$F1MAC_N"]" -find . -name '*.cxx' -exec $SET_MAC_TYPE {} \; -echo "[5/"$F1MAC_N"]" -find . -name '*.fl' -exec $SET_MAC_TYPE {} \; -echo "[6/"$F1MAC_N"]" -find . -name 'make*' -exec $SET_MAC_TYPE {} \; -echo "[7/"$F1MAC_N"]" -find . -name 'Make*' -exec $SET_MAC_TYPE {} \; -echo "done." + To attach your own resource fork to your FLTK program, run + the "Rez" command: + Rez -t APPL foo.r -o foo -known MacFLTK bugs and ToDo's ------------------------------ -- file handles not supported -- line styles not fully implemented -- cut, copy, paste not implemented -- sub-sub-subwindow not tested -- image transparency not implemented -- 'shiny' needs work (flush/aglFlush) -- threads not implemented +SCRIPTS + When using Finder applications on source files (e.g. + FileMerge), I found the following script very useful. It adds + resource forks to all text files: -test suite status ------------------ + #!/bin/tcsh + setenv SET_MAC_TYPE "SetFile -t TEXT -c ttxt " + setenv F1MAC_N 7 + echo "Setting Mac File Types. Please wait..." + echo "[1/"$F1MAC_N"]" + find . -name '*.H' -exec $SET_MAC_TYPE {} \; + echo "[2/"$F1MAC_N"]" + find . -name '*.h' -exec $SET_MAC_TYPE {} \; + echo "[3/"$F1MAC_N"]" + find . -name '*.c' -exec $SET_MAC_TYPE {} \; + echo "[4/"$F1MAC_N"]" + find . -name '*.cxx' -exec $SET_MAC_TYPE {} \; + echo "[5/"$F1MAC_N"]" + find . -name '*.fl' -exec $SET_MAC_TYPE {} \; + echo "[6/"$F1MAC_N"]" + find . -name 'make*' -exec $SET_MAC_TYPE {} \; + echo "[7/"$F1MAC_N"]" + find . -name 'Make*' -exec $SET_MAC_TYPE {} \; + echo "done." -OS X: -CubeView(++), adjuster(++), arc(++), ask(++), bitmap(++), -boxtype(++), browser(++), button(++), buttons(++), checkers(++), -clock(++), colbrowser(++), color_chooser(++), cube(++), cursor(++), -curve(++), demo(++), doublebuffer(++), editor(++), fast_slow(++), -file_chooser(++), fonts(++), forms(++), fractals(++), fullscreen(++), -gl_overlay(++), glpuzzle(++), hello(++), help(++), iconize(++), image(+), -inactive(++), input(++), keyboard(++), label(++), line_style(+), -mandelbrot(++), menubar(++), message(++), minimum(++), navigation(++), -output(++), overlay(++), pack(++), pixmap(++), pixmap_browser(++), -radio(++), resizebox(++), scroll(++), shape(++), shiny(-), subwindow(++), -symbols(++), tabs(++), tile(++), tiled_image(++), valuators(++), -fluid(++) +KNOWN MacFLTK BUGS -(o)=minor bugs, (+)=usable, (++)=running perfectly, (-)=major -bugs, (--)=crashes + The following FLTK things are not implemented or don't work + at present: + - File handles (Fl::add_fd) are not implemented. + - Line styles are not fully implemented. + - Cut, copy, and paste are not implemented. + - Sub-sub-subwindow not tested. + - Image transparency is not implemented. + - The 'shiny' demo needs work (flush/aglFlush). + - Threads are not implemented. -other stuff ------------ -The following creator ID's 'FLTK', 'Fltk', 'FLID' and 'Flid' are -officially registered with Apple Computers and can be used for -FLTK applications ('FLTK') and fluid files ('Flid'). +TEST SUITE STATUS -All applications should be ended with exit(0); or they might -hang until killed. + OS X: -Under OS X, all windows are doublebuffered anyway. Using Fl_Window -has the same effect as using Fl_Double_Window on OS X. + CubeView(++), adjuster(++), arc(++), ask(++), bitmap(++), + boxtype(++), browser(++), button(++), buttons(++), + checkers(++), clock(++), colbrowser(++), color_chooser(++), + cube(++), cursor(++), curve(++), demo(++), doublebuffer(++), + editor(++), fast_slow(++), file_chooser(++), fonts(++), + forms(++), fractals(++), fullscreen(++), gl_overlay(++), + glpuzzle(++), hello(++), help(++), iconize(++), image(+), + inactive(++), input(++), keyboard(++), label(++), + line_style(+), mandelbrot(++), menubar(++), message(++), + minimum(++), navigation(++), output(++), overlay(++), + pack(++), pixmap(++), pixmap_browser(++), radio(++), + resizebox(++), scroll(++), shape(++), shiny(-), + subwindow(++), symbols(++), tabs(++), tile(++), + tiled_image(++), valuators(++), fluid(++) + (o)=minor bugs, (+)=usable, (++)=running perfectly, + (-)=major bugs, (--)=crashes -FLTK 1.0.x for Mac ------------------- -FLTK 1.0.6 for Mac OS 8.x and OS 9.x is in beta stage and can be -downloaded from http://www.matthiasm.com/fltk/mac.shtml. The -archive contains build files for Metrowerks CodeWarrior 5 and 6. +OTHER STUFF -FLTK 1.0.6 for Mac is not supported by the FLTK team and will not -be further developed by the author. Instead it will be replaced -by FLTK 1.1.x for Mac in the near future. + The creator ID's 'FLTK', 'Fltk', 'FLID', and 'Flid' are + officially registered with Apple Computers, Inc. and can be + used for FLTK applications ('FLTK') and FLUID files + ('Flid'). - Matthias Melcher + All applications should call exit(0) to terminate; otherwise + they may hang until killed. + Under MacOS X, all windows are double-buffered. Using + Fl_Window has the same effect as using Fl_Double_Window on + other operating systems. +FLTK 1.0.X FOR MAC + FLTK 1.0.6 for MacOS 8.x and OS 9.x is in beta stage and can + be downloaded from http://www.matthiasm.com/fltk/mac.shtml. + The archive contains build files for Metrowerks CodeWarrior + 5 and 6. + FLTK 1.0.6 for Mac is not supported by the FLTK team and + will not be further developed by the author. Instead it + will be replaced by FLTK 1.1.x for Mac in the near future. |
