Commit Graph

1738 Commits

Author SHA1 Message Date
Michael R Sweet
2fc4d518cc Fix Fl_Window::show(argc, argv) so that it calls Fl::get_system_colors(),
and Fl::get_system_colors() so that it doesn't override user/program colors
(STR #119)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3069 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-08-02 13:49:17 +00:00
Michael R Sweet
afbeea5714 Bump to 1.1.4 and fix changelog.
#ifdef in fluid was wrong - didn't use piping on OSX when not compiling
against Metroworks compiler.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3068 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-08-02 12:38:10 +00:00
Matthias Melcher
c2e8891693 OS X: some changes to support Apples ProjectBuilder.
OS X: FLTK now queries the true windows position from the
window manager after creating a new window. This fixes the
problem with popup menues showing up at the wrong position.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3067 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-08-02 05:54:43 +00:00
Michael R Sweet
111cbdb0b0 Fix STR #111 (display opened too soon)
Prep for 1.1.4rc2.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3065 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-07-29 15:12:36 +00:00
Michael R Sweet
520d44ebf6 Fix scheme and image drawing bugs.
Bump to 1.1.4rc2.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3064 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-07-29 02:12:36 +00:00
Michael R Sweet
d597ec7b38 Update dependencies...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3063 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-07-23 14:39:29 +00:00
Michael R Sweet
b72950ea72 memmove() needs <string.h>...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3062 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-07-23 14:38:00 +00:00
Matthias Melcher
89a7b606d1 Made 'enter' keyboard event return 'char 13' in e_text.
Matthias


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3053 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-07-21 05:38:16 +00:00
Matthias Melcher
b70c9661a0 STR #88: changed fluid behaviour to always paste into a selected
group instead of appending (see paste_cb, force_parent). Mike,
could you please check if this has any side effects somewhere?


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3052 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-07-19 06:10:20 +00:00
Matthias Melcher
9cdf63cc40 Changes in menuitem font's would only be recognized if the
fontheight was != 0. Fixed to change fonts, but keep height.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3051 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-07-18 22:36:00 +00:00
Matthias Melcher
c0bb3a7465 STR #86: Swapped menu shortcut labels for OS X
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3050 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-07-18 17:43:30 +00:00
Matthias Melcher
4042047358 updated documentation and Fl_Dial. STR #101, 94, 99
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3049 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-07-18 05:53:21 +00:00
Matthias Melcher
9172106189 STR #106: collapse triangle in fluid hrc list would not receive events
when view is scrolled horizontally.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3048 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-07-18 03:49:58 +00:00
Matthias Melcher
8aa95bcd96 OS X QuitAppleEvent now correctly exits Fl::run() instead of just
exiting.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3047 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-07-18 03:12:05 +00:00
Matthias Melcher
6293dd5558 STR #77: all GL Contexts are now managed in a list, so that if the
firts context is hidden, there is still information with shareable
GL Contexts. Depending on the implementation of the OpenGL driver,
this may not work. It would be great if folks could do stress testing
on multiple platforms with different drivers. The test would be to
create 3 Contexts, delete the firts one, and create another one
or two. It seems to work on my OS X Mac... .


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3046 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-07-17 05:52:47 +00:00
Michael R Sweet
1251b42130 Fix Xft2 usage (still need to do a final fix that loads the proper X
font...)

Fix Fl_Window/Fl_Double_Window in FLUID.

Fix background tile coloring for plastic scheme.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3045 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-07-12 04:20:48 +00:00
Michael R Sweet
0341822a56 Fix resize bug on OSX (STR #64)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3037 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-06-15 06:10:54 +00:00
Michael R Sweet
b46c9b63a1 Fixup shared library installation.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3036 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-06-15 05:54:14 +00:00
Michael R Sweet
f57e113f71 Use setup GUI with portable distributions.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3035 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-06-15 05:39:12 +00:00
Michael R Sweet
f9ded8959a Fix shared libraries on OSX (STR #51)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3034 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-06-15 05:37:32 +00:00
Michael R Sweet
17abd7136d Several widgets defined their own size() method but didn't
provide an inline method that mapped to the Fl_Widget::size()
method (STR #62)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3033 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-06-15 04:47:28 +00:00
Michael R Sweet
aa88761194 Add clear() method to Fl_Scroll so that the scrollbars don't get deleted.
(STR #75)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3032 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-06-15 04:41:16 +00:00
Michael R Sweet
29019ade40 Hide cancel/revert buttons until a true undo can be implemented.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3031 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-06-15 04:29:40 +00:00
Michael R Sweet
7f15f8d97f Make sure Fl::event_text() is not NULL. (STR #70)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3030 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-06-15 04:27:35 +00:00
Michael R Sweet
1bde669d75 Fix @@ drawing (STR #84)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3029 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-06-15 04:13:17 +00:00
Michael R Sweet
84b2499c38 Add FLTK logo file for distributions.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3028 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-06-13 17:35:17 +00:00
Michael R Sweet
f438ffa087 Added documentation for all forms of Fl_Widget::damage() (STR
#61)

Fl_Double_Window now has a type() value of FL_DOUBLE_WINDOW, to
allow double-buffered windows to process redraws properly on
WIN32 (STR #46)

Added FL_DAMAGE_USER1 and FL_DAMAGE_USER2 damage bits for use by
widget developers (STR #57)

Fl_Help_View didn't support numeric character entities (STR #66)

Menu shortcuts didn't use the Mac key names under MacOS X (STR
#71)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3026 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-06-12 01:36:18 +00:00
Matthias Melcher
dd6c9535ef Updated Mac OS X CodeWarrior project to work with OS X 10.2 and
CodeWarrior 8.3 . Versions below 8.3 are buggy and need to be upgraded
(free upgrades on the MetroWerks web pages).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3025 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-06-09 18:53:06 +00:00
Michael R Sweet
f79d805e93 Fix distribution list (again)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3024 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-06-05 22:46:01 +00:00
Michael R Sweet
81053e4fe7 Don't package header symlinks on OSX, which doesn't need 'em.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3023 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-06-05 22:06:41 +00:00
Michael R Sweet
101fa5b640 Fix mapping of Apple keys to CTRL keys on OSX.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3022 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-06-05 21:14:19 +00:00
Michael R Sweet
936e471e35 Add symlink for installs on OSX so that the wrong include file is not
used (OSX compiler bug)

Add dummy fl_open_callback() functions on X11 and WIN32.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3021 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-06-01 00:31:32 +00:00
Michael R Sweet
9c7ec90412 Fix open-documents callback stuff.
Add open documents callback to FLUID.

Add FLUID application to fltk.list file for packaging.

Add FLUID application icon and data files.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3020 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-06-01 00:23:57 +00:00
Michael R Sweet
0aa85c540c Add preliminary support for Apple Open Documents event callback interface
on OSX (to allow FLUID and other apps to register a callback to open files)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3016 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-30 07:03:09 +00:00
Michael R Sweet
47426f0b3f Drop undocumented and non-working --prefix and --exec-prefix options to
fltk-config script (STR #56)

Fix configure tests that had bogus whitespace in them (STR #60)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3015 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-29 19:43:06 +00:00
Matthias Melcher
0753014e30 fl_filename_list returns -1 now (Win32) if it was called with
a non-existing directory.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3014 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-28 16:38:09 +00:00
Matthias Melcher
5ccb6afda8 STR #39: FL_text_Buffer search backward would not allow searching from 1
after the last character. this is fixed.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3013 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-28 16:09:12 +00:00
Michael R Sweet
f2f1e0b232 Update changelog to show reference to new STR I created for Matthias's
bug fix.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3012 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-28 14:41:20 +00:00
Matthias Melcher
5148787e64 Added better (hopefully) OS X CodeWarrior project files
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3011 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-28 05:33:09 +00:00
Matthias Melcher
afd680e340 Remove faulty CodeWarrior/OS_X.sit
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3010 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-28 05:31:18 +00:00
Matthias Melcher
1d4edf5fb9 Mac OS X's version of Fl::get_key(int) would mixup ctrl and meta.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3009 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-28 05:10:05 +00:00
Michael R Sweet
9636dd13c1 Fix OSX shared library command. (STR #51)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3008 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-27 20:22:50 +00:00
Michael R Sweet
3bad53ae79 Fix STR #52 - Fl_Text_Editor didn't set changed() nor did it call callbacks
for composed characters.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3007 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-27 20:20:20 +00:00
Michael R Sweet
fdfa3f0add Typo.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3006 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-26 16:23:08 +00:00
Michael R Sweet
a5cb29da1c Check syntax of callback only on release, not on change.
Update announcement for 1.1.4rc1.

Add 1.1.4rc1 to version list in STR form.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3004 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-26 16:12:39 +00:00
Michael R Sweet
b0a660f433 Add announcement file.
Update FLTK spec file.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3003 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-26 14:31:59 +00:00
Michael R Sweet
3aebbc01dc Remove "fix" for DND code; the original code works just fine (should have
tested first on OSX...)

Get rid of compiler warning in fl_draw...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3001 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-26 14:19:50 +00:00
Michael R Sweet
674dc68ed8 Possible fix for OSX DND.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3000 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-26 14:09:00 +00:00
Michael R Sweet
83df87d710 Update to 1.1.4rc1 for testing...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2999 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-26 01:45:18 +00:00
Michael R Sweet
a841de469c Fix STR 27 - double-click in file chooser followed by single click was
treated as another double-click (actually triple click, but the effect
was the same...)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2998 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-26 01:39:53 +00:00