FLTK:      Stuff   ·   ColorButton   ·   ColorChip   ·   CursorShape   ·   «Mac OS9»   ·   Preferences   ·   PSDImage   ·   ScaleBar

FLTK for Mac OS X

FLTK 1.1.x supports Mac OS X natively now. Please download the current CVS repository from the official FLTK website www.fltk.org .

FLTK for Mac OS 8 and 9

This version of FLTK will not be developed any further. For full support on FLTK for OS X, please refer to this link: www.fltk.org . The following page contains the latest available voersion of FLTK for Mac OS 8 and 9. It also contains a project file for MetroWerks' CodeWarrior Pro 6.0.

For suggestions, contributions, flames etc. please contact fltk4mac8@matthiasm.com

FLTK 1.0.10 is almosy fully ported to the Mac. This is probably 85% of the whole implementation. There will be tons of testing and fine tuning needed.

Apple font management and OpenGL overlays are supported by FLTK for OS X

fltk-1.0.10_6-09-01.sit : Ported to 1.0.10, better event handling, system menu bar support.
fltk-1.0.6_3-03-01.sit , all binaries : Cleaned source code, minor timer changes.

Not done for this version:

  • WARNING: The debugging console (SIOUX) gobbles up many events. So whenever your application uses 'printf' and friends, you'll have to write off all mouse move events and more. Very bad for pull-downs and lists!
  • Directory Managment: directory listing works using Unix conventions
    • User Home directory not supported (filename_expand.cxx)
    • Root directory should show desktop items
    • if A/UX is not loaded, we should convert from Unix convention to Mac convention!
  • Fonts: Apple font listing, testing, fine tuning
    • (fl_set_fonts_mac.cxx)
  • No cut/copy/paste yet! (Fl_Cutpaste_mac.cxx)
  • Fl::event_key(int) (Fl_Getkey_Mac.cxx)
  • Test Subwindow: after using pulldown, text cursor is gone. After keypress plus click, it's back.. .
  • Message loop: TCP/IP support
  • Mouse: three button support/emulation
    • define missing cursor shapes (Fl_Curosr.cxx)
    • reset cursor on activation
    • (>Fl_Grab.cxx)
  • OpenGL: Mostly fine.
    • Check for hardware acceleration
    • GL Overlays
    • (Fl_GL_Choice.cxx, Gl_Draw.cxx, Gl_Start.cxx)
  • Pixmaps: fine, needs testing.
    • No submaps (fl_draw_image_mac.cxx )
  • Subwindows:
    • Subsubwindows will still fail
    • Deleting subwindows not supported
  • Windows:
    • modal windows and menus don't stay on top
    • Fl_Window::hide() (Fl.cxx )
    • (Fl_Visual.cxx, Fl_Window_Fullscreen.cxx, Fl_Window_Ionize.cxx)
Testing, links to compiled and stuffed PPC program. (49*   4*   3* )
As of 2/25/2001, in an effort to implement subwindows correctly, all tests that use a subwindow will temporarily not work !
  • adjuster: fine!
  • arc: fine!
  • ask: fine!
  • bitmap: fine!
  • boxtype: fine!
  • browser: fine!
  • button: fine! (shortcuts are on apple key, but should be on 'alt'?!)
  • buttons: fine!
  • checkers: fine!
  • clock: fine!
  • colbrowser: fine! (Can't find color definitions - X specific)
  • color_chooser: fine!
  • cube: fine!
  • CubeView: fine!
  • cursor: some shapes missing
  • curve: fine!
  • demo: fine! (does not support path names or arguments)
  • doublebuffer: fine!
  • editor: fine!
  • fast_slow: fine!
  • file_chooser: fine!
  • fluid: fine!
  • fonts: shows only FLTK fonts
  • forms: fine!
  • fractals: OpenGL subwindow problem
  • fullscreen: OpenGL in a window problem
  • glpuzzle: fine! (does not solve itself like in windows version)
  • gl_overlay: OpenGL in a sub window, overlay not supported
  • hello: fine!
  • iconize: hide and show work, iconize not supported, we should use collapse!.
  • image: fine!
  • inactive: fine!
  • input: fine!
  • keyboard: Control+Mouse still indicates Control. Hardware does not report Fl::get_key(FL_Caps_Lock), but Fl::event_state is correct!
  • label: fine!
  • mandelbrot: fine!
  • menubar: fine, but check shortcuts
  • message: fine!
  • minimum: fine!
  • navigation: fine!
  • output: Font 'WinDings' and 'WebDings' are completely different, else fine!
  • overlay: fine!
  • pack: fine!
  • pixmap: fine!
  • pixmap_browser: fine! (calls filename_to_mac() )
  • radio: fine!
  • resize: fine!
  • resizebox: fine!
  • scroll: fine!
  • shape: fine!
  • shiny: no OpenGL here yet.
  • subwindow: fine!
  • symbols: fine!
  • tabs: fine!
  • tile: fine!
  • valuators: fine!
Have fun!
  Matthias.