Commit Graph

794 Commits

Author SHA1 Message Date
Michael R Sweet
452c17f8fb Fl::wait() could block on WIN32 if the window was deleted via
Fl::delete_widget() (STR #679)

src/Fl.cxx:
    - Post an application message when a window is hidden on WIN32.

src/Fl_win32.cxx:
    - Change async select message to WM_APP + 1, and document
      our use of WM_APP.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4043 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-02-14 13:44:24 +00:00
Michael R Sweet
ab8f3f793a Fl_Preferences::RootNode did not find the user's home directory
on some non-US versions of Windows (STR #720)

src/Fl_Preferences.cxx:
    - RootNode::RootNode(): if AppData key does not exist, try Personal
      key instead.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4042 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-02-14 13:15:39 +00:00
Michael R Sweet
cb852cd3eb Fl_Window::hide() didn't delete the current clipping region on
WIN32, causing a GDI resource leak in some situations (STR #723)

src/Fl.cxx:
    - Fl_Window::hide(): move XDestroyRegion() call outside of
      the X11-specific code.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4041 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-02-14 11:11:19 +00:00
Matthias Melcher
16cc0e1f9c ...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4037 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-02-06 16:31:59 +00:00
Michael R Sweet
f02c5fb451 Fl_Menu now draws the arrow more like other toolkits and 2.0
(STR #651)

src/Fl_Menu.cxx:
    - Change submenu drawing code.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4035 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-02-06 02:03:12 +00:00
Michael R Sweet
cb73c93258 Fixed a VC++ compiler error in Fl_JPEG_Image.cxx (STR #676)
src/Fl_JPEG_Image.cxx:
    - Cast array to (uchar *) in delete[].


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4034 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-02-06 01:52:15 +00:00
Michael R Sweet
de9bea20b5 FL_SHADOW_BOX/FRAME drew outside of the bounding box (STR #694)
src/fl_boxtype.cxx:
    - Adjust box dw/dh for shadow box/frame types.

src/fl_shadow_box.cxx:
    - Adjust shadow box to draw inside the bounding box.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4033 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-02-06 01:42:40 +00:00
Michael R Sweet
b32fefd1c5 Fl_Widget::copy_label(NULL) didn't work (STR #707)
src/Fl_Widget.cxx:
    - Check for NULL in Fl_Widget::copy_label()


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4032 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-02-06 01:29:54 +00:00
Michael R Sweet
1f2456132e Cmake updates (STR #645)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4026 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-02-06 00:17:50 +00:00
Michael R Sweet
2bbf66c7a4 Clarify Fl_Choice callback description (STR #692)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4025 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-02-06 00:12:15 +00:00
Michael R Sweet
2579ae8d1b Fl_Check_Browser didn't draw properly when inactive (STR #681)
src/Fl_Check_Browser.cxx:
    - Update item_draw() function to check active_r()


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4024 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-02-06 00:09:17 +00:00
Michael R Sweet
0475dc9363 Removed some redundant code in Fl_Group::handle() (STR #669)
src/Fl_Group.cxx:
    - Don't need to check o->contains() twice.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4023 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-02-06 00:03:00 +00:00
Michael R Sweet
01e47d8f24 The file chooser didn't always deactivate the OK button when
necessary (STR #653)

src/Fl_File_Chooser2.cxx:
    - Fl_File_Chooser::fileListCB(): deactivate OK button when
      the current item is not the right type.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4021 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-02-05 23:00:59 +00:00
Michael R Sweet
4d3a3a7f66 Documentation fix (STR #648)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4019 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-02-05 20:35:51 +00:00
Michael R Sweet
0deaeaa80c Fixed some compiler errors on WIN32 (STR #647)
src/scandir_win32.c:
    - Add casts for malloc and calloc calls.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4017 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-02-05 19:22:03 +00:00
Michael R Sweet
9527fee96d FLUID didn't update the widget panel X/Y/W/H values when moving
the selected window (STR #701)

fluid/Fl_Window_Type.cxx:
    - Fl_Window_Type::resize(): call update_xywh() on resize.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4012 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-02-05 18:46:32 +00:00
Michael R Sweet
90590eb8b5 FLUID didn't use the label type constant names for menu items,
causing them to be drawn using the normal label type (STR #668)

fluid/Fl_Menu_Type.cxx:
    - Use FL_*_LABEL constants instead of numeric label types in
      menu items.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4011 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-02-05 18:36:59 +00:00
Michael R Sweet
3124794f1f Fl_File_Chooser was slow with large directories (STR #654)
FL/Fl_File_Browser.H:
    - Don't reload the directory view unless asked to.

FL/Fl_File_Chooser.H:
    - Rebuilt using current FLUID.

src/Fl_File_Browser.cxx:
    - Don't reload the directory view unless asked to.

src/Fl_File_Chooser.cxx:
    - Fl_File_Chooser::show() calls rescan().

src/Fl_File_Chooser.fl:
    - Fl_File_Chooser::show() calls rescan().

src/Fl_File_Chooser2.cxx:
    - Only call rescan() when chooser is shown.

src/Fl_File_Icon.cxx:
    - Add optimization for Windows - filenames with trailing slash are
      directories.

test/file_chooser.cxx:
    - Only call show() once...



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4010 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-02-05 18:26:21 +00:00
Michael R Sweet
18b1a2fdca FLUID didn't add xclass() calls to windows (STR #718)
fluid/Fl_Window_Type.cxx:
    - Fl_Window_Type::write_code2() - now write xclass() code when
      xclass is set.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4005 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-02-02 13:48:08 +00:00
Michael R Sweet
e4ccb4ac07 Fix X11 DND support.
src/Fl_x.cxx:
    - Check the list of source types and pick the first one that
      starts with "text/".


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3995 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-02-01 03:13:01 +00:00
Michael R Sweet
1d871d5744 Temporary fix for JPEG error handle; we need to flag the error in
the callback function and test for it in the main code...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3969 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-01-25 20:50:25 +00:00
Michael R Sweet
fa7293b3cf Fix menu crash bug (STR #685)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3959 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-01-04 15:02:57 +00:00
Matthias Melcher
1bc50aa780 Fl_Double_Windows would always redraw their full content, even
if only little changes were done in the UI. OS X creates all
windows double buffered, whch would lead FLTK to beleive that
the background buffer was missing on every redraw, causing a
complete redraw of the full UI.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3953 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-12-27 19:16:42 +00:00
Michael R Sweet
3387edd247 Fl_JPEG_Image did not correctly handle errors reported by the
JPEG library (STR #652)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3946 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-12-16 21:38:24 +00:00
Michael R Sweet
f912892305 Fl_Menu now draws sub-menu arrows like other toolkits and FLTK
2.0 (STR #651)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3941 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-12-14 13:49:55 +00:00
Michael R Sweet
24a940f11d Fixed a compiler warning in Fl_Window.H (STR #641)
Tooltips disabled shortcut processing (STR #643)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3936 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-12-06 03:31:54 +00:00
Michael R Sweet
b5562132e5 Fl::event_number() didn't always match the value sent to the
handle() method (STR #634)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3930 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-12-03 03:14:17 +00:00
Michael R Sweet
416ff7f24e Fl_Shared_Image::reload() didn't set the image_ pointer properly
in all cases (STR #632)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3929 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-12-03 02:51:03 +00:00
Michael R Sweet
0184365c80 Fl_Help_View::topline() incorrectly set the changed() flag (STR
#631)

Fl_Choice::value() now supports NULL or -1 to deselect the
current item (STR #637)

More VC++ 6 project file fixes (STR #638)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3928 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-12-03 02:48:22 +00:00
Michael R Sweet
a50a8b702a Changelog.
Prep for 1.1.7.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3927 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-11-29 15:01:43 +00:00
Matthias Melcher
7aca156564 Fl_Text_Display would hang if the user pressed Ctrl-left with the cursor
in the first columna and line (pos 0)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3921 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-11-23 23:10:26 +00:00
Michael R Sweet
a42ded75e2 Added the 2.0 Fl_Widget::copy_label() method to allow FLTK 1.x
applications to have their label strings managed by FLTK (STR
#630)

Added Fl::delete_widget() method to safely delete widgets in
callback methods (STR #629)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3917 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-11-23 19:47:52 +00:00
Michael R Sweet
5cc0f07c8a Fl_Widget::damage(uchar,int,int,int,int) didn't clip the
bounding box properly (STR #626)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3916 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-11-23 19:09:55 +00:00
Michael R Sweet
85c0090b7c More watcom fixes (STR #627)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3915 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-11-23 18:48:10 +00:00
Michael R Sweet
6849c43a05 Check for a NULL off-screen buffer before copying...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3911 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-11-21 15:33:24 +00:00
Michael R Sweet
876e29acef Fix FLUID menu items with images bug (STR #564)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3910 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-11-21 14:53:48 +00:00
Michael R Sweet
33173bf4e5 Update the documentation for add_timeout().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3909 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-11-21 14:44:38 +00:00
Michael R Sweet
4dd8dd654f Fl_Sys_Menu_Bar didn't compile on case-sensitive file-systems
(STR #622)

More Watcom changes (STR #623)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3908 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-11-21 14:32:22 +00:00
Michael R Sweet
bc1a32f000 FLUID didn't handle default function parameters properly (STR
#579)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3904 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-11-20 16:19:04 +00:00
Michael R Sweet
696e2d3219 - Moving or resizing widgets in FLUID didn't always update the
widget panel (STR #600)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3902 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-11-20 15:42:25 +00:00
Michael R Sweet
64f0dbc2a5 - FLTK windows could appear off-screen on X11 (STR #586)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3899 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-11-20 04:18:44 +00:00
Michael R Sweet
fc8d065cd7 The configure script did not support --disable-localfoo to
completely disable image file support (STR #582)

The Visual C++ 6.0 project files still listed the old JPEG, PNG,
and ZLIB library names (STR #577)

Fixed the scandir() conditional code for HP-UX 11i (STR #585)

Fl_Text_Display didn't support CTRL/CMD-A/C (STR #601)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3898 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-11-20 03:44:18 +00:00
Michael R Sweet
23bb059065 Watcom fixes (STR #584, STR #594, STR #595)
Fixed library include order when building DSOs on MacOS X (STR
#596)

fl_xid() could cause a WIN32 application to crash (STR #560, STR
#576, STR #618)

Fl_Browser::remove_() removed the item from the list before
computing the item height, which caused problems with some
programs (STR #613)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3897 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-11-20 03:19:59 +00:00
Michael R Sweet
b2f9a532e7 Shortcuts were incorrectly underlined in multi-line labels (STR
#566)

Remove Winline from GCC options.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3870 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-10-18 20:40:36 +00:00
Michael R Sweet
ca005c4067 Documentation updates (STR #568)
More CMake updates (STR #499)

The Watcom C++ compiler needed a small change (STR #567)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3869 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-10-18 20:29:58 +00:00
Michael R Sweet
bf910884cc Documentation updates (STR #570)
Added DESTDIR support and now remove all man pages for the
"uninstall" target (STR #545)

Fix PNG drawing on buggy WIN32 graphics cards (STR #548)

The configure script didn't propagate the CPPFLAGS environment
variable (STR #549)

The numpad keys didn't work properly on WIN32 (STR #502)

fl_input() and friends now set the input focus to the text field
when the dialog is shown (STR #553)

Fixed background color mixup when drawing Fl_Choice menus (STR
#544)

Fixed MingW makefiles (STR #550)

More VC++ project file tweaking (STR #559)

Fl_PNG_Image didn't use the png_set_trns_to_alpha function when
available (STR #547)

The FL_UNFOCUS event wasn't always sent when switching tabs (STR
#558)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3868 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-10-18 20:22:25 +00:00
Michael R Sweet
18ad096722 Now look for 8 bits of alpha when the developer has requested
FL_RGB8 (STR #541)

The last line in an Fl_Help_View widget was not aligned properly
(STR #536)

The "search" symbol looked like a Q (STR #536)

Changed Fl_Help_View::get_color() to use a lookup table to avoid
serious Borland C++ 5.5 compiler bugs (STR #533)

Fixed Watcom compiler warnings with FL/Fl_Widget.H (STR #540)

The image class copy() methods did not always make a separate
copy of the image data (STR #539)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3844 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-09-24 16:00:11 +00:00
Michael R Sweet
4e70f60070 libpng 1.2.7
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3842 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-09-24 03:04:23 +00:00
Michael R Sweet
fdd10af508 fl_old_shortcut() might read past the end of the shortcut string.
Add comment concerning pointer arithmetic in Fl_Input_::put().


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3836 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-09-21 13:35:40 +00:00
Michael R Sweet
1ca225e19d Added (unsupported) CMake files (STR #499)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3829 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-09-13 02:12:41 +00:00
Michael R Sweet
70dd6151c1 Tooltips would not reappear on the same widget, and the initial
tooltip delay was not used after a tooltip was shown (STR #465)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3822 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-09-12 20:26:23 +00:00
Michael R Sweet
35af1c00cc Fixed a compile problem with the Linux 2.6 threading support
(STR #483)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3820 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-09-12 03:46:21 +00:00
Michael R Sweet
421904a7c1 Fixed problems with 2-byte Xpm files on 64-bit platforms (STR
#525)

FLTK didn't handle the ReparentNotify event on X11 (STR #524)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3819 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-09-11 19:32:43 +00:00
Michael R Sweet
88ff012c44 Update PNG to 1.2.6 + wutil patch.
Update ZLIB to 1.2.1.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3809 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-09-08 16:04:43 +00:00
Michael R Sweet
a8b58dc223 Documentation updates (STR #505, STR #513)
The old source file "fl_set_gray.cxx" is not needed (STR #516)

Fl_Text_Display still called delete[] instead of free() in one
place (STR #503)

Fl_File_Chooser didn't correctly call isprint() and isspace()
when checking to see if the current file was text that can be
previewed (STR #517)

FLUID didn't compile with Borland C++ due to a compiler bug (STR
#496)

Fl_Positioner did not handle reversed min and max values (STR
#510)

fl_descent(), fl_height(), and fl_width() would crash a program
if you didn't call fl_font() first; they now return -1 if no
font is set (STR #500)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3805 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-09-07 20:59:18 +00:00
Michael R Sweet
d7fe9245b4 Install image header files in FL/images so that FLTK apps will use the
same headers as the image libraries FLTK uses.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3804 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-09-06 11:20:53 +00:00
Matthias Melcher
c29b4b5e16 FLTK1.1 Quartz support:
- added a 'test/unittests' which wil check for identical drawing on all
  platforms. This was desperatly needed to fix tremendous problems in
  getting the Quartz drawing routines right
- disabled anti-aliasing for functions that draw straight lines at integer
  coordinates


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3788 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-08-26 22:24:24 +00:00
Michael R Sweet
504abf708f Fl_Menu_::find_item() didn't determine the menu path properly
(STR #481)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3771 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-08-09 03:16:22 +00:00
Michael R Sweet
db983c71b1 Changelog...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3728 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-07-29 18:18:07 +00:00
Michael R Sweet
1c77b75f73 Fl_Text_Display did not handle drawing of overlapping text
(italic next to plain, etc.) properly (STR #381)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3715 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-07-27 18:40:29 +00:00
Michael R Sweet
62c19c63d6 More doco updates.
All of the core widgets now consistently set changed() before
calling the callback function for a change in value; this allows
programs to check the changed() state in a callback to see why
they are being called (STR #475)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3713 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-07-27 16:02:21 +00:00
Michael R Sweet
a529510e5b More documentation updates...
Fl_File_Chooser did not handle some cases for filename
completion (STR #376)

Fl_Help_View didn't properly compute the default maximum width
of the page properly, resulting in non-wrapped text in table
cells (STR #464)

Fl_Text_Editor no longer tries to emulate the Emacs CTRL-A
shortcut to move to the first column, since there is a key for
that and the widget does not emulate any other Emacs keys (STR
#421)

Fl_File_Chooser always disabled the OK button when the user
pressed DELETE or BACKSPACE (STR #397)

Added Fl_Browser::swap() methods (STR #459)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3698 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-07-26 20:52:52 +00:00
Michael R Sweet
8f4fa00574 Fl_Counter didn't use a thin down box for the text field if the
box type was set to FL_THIN_UP_BOX (STR #467)

Fl_Help_View now resets the scrollbars if they go outside the
current view (STR #464)

fl_dir_chooser() did not show the previous selection as
documented (STR #443)

Fl_Text_Display used delete[] instead of free() in some places
(STR #466)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3691 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-07-23 21:12:24 +00:00
Michael R Sweet
7ee19d1140 Fix local image library build bug.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3688 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-07-23 19:26:27 +00:00
Michael R Sweet
c1525a2062 Add copies of the JPEG, PNG, and Z libraries...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3635 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-07-05 14:12:39 +00:00
Michael R Sweet
24fcc5aa29 The fltk-config script did not include the "-mno-cygwin" option
under CygWin (STR #434)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3502 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-07-05 13:20:28 +00:00
Michael R Sweet
8d6e6e40c5 Fl_Help_View::find() did not check for a NULL value (STR #442)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3500 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-07-04 23:27:48 +00:00
Michael R Sweet
dbcc6cab01 Fix FLTK symbol - need to use complex polygons for concave shapes...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3498 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-07-04 23:21:52 +00:00
Matthias Melcher
47276e733d In order to make the whitte text field at the bottom left of the
Help Dialog clearer, I added a magnifying glass in front of the
field sybolising "search".

I made the scaleable magnifying glass available as a symbol via
"@search"

I added yet another symbol that draw a vectorized version of
the FLTK logo. Available via "@FLTK".

Lastly, I changed the 'symbol' test program to show the additional
symbols, and added a slider to changae the relative symbol size.

I hope the new symbols look good enough on other platforms, too. I
tested only OS X.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3479 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-07-04 06:49:34 +00:00
Michael R Sweet
0384c86957 Changelog...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3460 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-06-19 12:26:01 +00:00
Matthias Melcher
6d3a6c8a5b Fixed Mac NumLock mixup (Macs do not have a PC style NumLock)
Added keylookups and keycodes for FL_Menu and FL_Delete keys.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3459 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-06-19 01:50:31 +00:00
Michael R Sweet
5e81201a04 Fl_File_Icon::draw() did not support drawing of complex polygons
in icon descriptions.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3457 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-06-14 15:58:52 +00:00
Michael R Sweet
849c90e53b The configure script now offers options for JPEG, PNG, and ZLIB
libraries (STR #416)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3454 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-06-09 12:09:39 +00:00
Matthias Melcher
e85d7a8752 The first menuitem in a menulist would not honor teh MENU_INVISIBLE flag.
I added the function Fl_Menu_Item::first() whi returns the first visible
menuitem, just like ::next() returns the next visible item, and added the
::first() call in the Menu code.

first() is an inline function that calls next(0). I updated next() to
correctly handle list where the current item is invisible.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3448 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-06-07 19:23:12 +00:00
Matthias Melcher
8b298e1b9b Documentation fix (STR #412).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3447 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-06-07 17:17:24 +00:00
Michael R Sweet
eeef51de66 Fl_Text_Buffer::replace() now range checks its input (STR #385)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3436 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-06-01 20:33:26 +00:00
Michael R Sweet
c3fea65696 Fl_Widget::handle() doco update (STR #399)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3434 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-06-01 14:52:43 +00:00
Michael R Sweet
213be08972 FLTK now builds with the current release of MinGW (STR #325, STR
#401, STR #402)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3432 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-06-01 14:49:51 +00:00
Michael R Sweet
ca116a1b6c FLTK now honors the numlock key state (STR #369)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3429 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-06-01 01:08:50 +00:00
Michael R Sweet
888ca55da6 The Fl_Text_Display widget did not redraw selections when focus
changed (STR #390)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3427 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-05-26 02:42:10 +00:00
Michael R Sweet
998f74be9f Fl_Scroll now uses a full redraw when the scheme is set to
plastic and the box type is a frame (STR #205)

Fl_Window::resize() did not work properly with KDE 3.2 (STR
#356)

FLTK didn't delete font bitmaps when the last OpenGL window was
deleted, preventing future text from displaying (STR #310)

FLUID didn't include a full initialization record for the
trailing NULL menu items (STR #375)

Fl_Browser::item_width() did not properly handle format
modifiers (STR #372)

Fl_Browser::item_height() did not handle columns properly (STR
#371)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3419 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-05-15 22:58:19 +00:00
Michael R Sweet
e643c17eea Fl_Gl_Window's on WIN32 now prefer accelerated pixel formats
over generic formats (STR #382)

Fl_Window::resize() did not work on some systems if the window
was not shown (STR #373)

FLUID did not write the user_data type if the user_data field
was empty (STR #374)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3416 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-05-13 21:02:41 +00:00
Michael R Sweet
03a4621432 Documentation updates (STR #365)
The value(const Fl_Menu_Item*) method was not implemented for
Fl_Choice (STR #366)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3402 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-29 02:47:09 +00:00
Michael R Sweet
13fbd26b99 Fl_Pack didn't draw child widget labels the same way as
Fl_Group, causing display problems (STR #360)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3400 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-25 01:39:36 +00:00
Michael R Sweet
04af81c07e Use fl_red/green/bluemask/shift for undefined pixmaps.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3399 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-25 01:22:56 +00:00
Michael R Sweet
1477ff9268 Changelog.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3398 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-24 04:11:44 +00:00
Michael R Sweet
2605c0a320 1.1.5rc1 updates...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3394 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-11 15:02:54 +00:00
Michael R Sweet
a3d0905c9e Copyright updates and prep for 1.1.5rc1.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3391 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-11 04:39:01 +00:00
Michael R Sweet
26dcd2e085 Fix fl_scroll() on WIN32 (STR #315)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3387 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-11 01:40:12 +00:00
Michael R Sweet
77aca2728f Fix drive letter entry for file chooser (STR #339)
Fix linker warnings with VC++


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3385 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-10 21:35:45 +00:00
Michael R Sweet
76d03987d5 Fl_Menu now uses the boxtype to redraw the menu background (STR
#204)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3382 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-10 00:54:51 +00:00
Michael R Sweet
616c919d37 Fl_Scroll now shows the background image when a framed box type
is used and the Fl_Scroll is a direct decendent of a window (STR
#205)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3380 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-10 00:37:03 +00:00
Michael R Sweet
b4b95029e8 Added a new_directory_tooltip string pointer to allow
localization of the file chooser's new directory button (STR
#340)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3306 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-06 19:33:11 +00:00
Michael R Sweet
9202d0798e The Fl_Widget copy operator definitions were not conditionally
compiled properly (STR #329)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3303 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-06 18:37:20 +00:00
Michael R Sweet
aa00aba5c1 FLUID's Layout functionality did not move child widgets when
laying out group widgets (STR #319)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3301 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-06 18:32:52 +00:00
Michael R Sweet
7fdbfc61be More doco updates.
FLUID's Layout->Center In Group functionality did not properly
handle widgets that were children of a Fl_Window widget (STR
#318)

The Fl_Text_Display destructor did not remove the predelete
callback associated with the current buffer (STR #332)

Fixed several bugs in the MacOS X Fl::add_fd() handling (STR
#333, STR #337)

The Fl_Text_Display widget did not display selections set by the
application (STR #322)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3299 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-06 17:38:36 +00:00
Michael R Sweet
4e0450ea36 FLUID crashed if you did layout with a window widget (STR #317)
Fl_Scroll::clear() didn't remove the child widget from the
Fl_Scroll widget (STR #327)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3297 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-06 02:47:26 +00:00
Michael R Sweet
70ca1d156b Fl_Value_Slider::draw_bg() didn't always apply the clipping
rectangle (STR #235)

fl_filename_relative() returned the wrong string if the absolute
pathname was equal to the current working directory (STR #224)

Fl_Help_Dialog didn't correctly restore the scroll position when
going forward/back in the link history if the file changed (STR
#218)

glutGetModifiers() did not mask off extra state bits, confusing
some GLUT-based applications (STR #213)

Fixed mouse capture problems on MacOS X (STR #209, STR #229)

Fl_Sys_Menu_Bar is now built into the library for MacOS X (STR
#229)

Fl_Menu_ now provides item_pathname() methods to get the
"pathname" of a menu item, e.g. "File/Quit" (STR #283)

Fl_Text_Display now provides cursor_color() methods to get and
set the cursor color (STR #271)

Fl_Scroll didn't honor FL_NO_BOX (STR #305)

FLUID declaration blocks didn't support public/private
definitions (STR #301)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3231 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-03-11 05:17:12 +00:00
Michael R Sweet
c5d30baf60 Documentation updates (STR #245, STR #250, STR #277, STR #281)
Fl_Preferences incorrectly created the preferences directory
before necessary (STR #247)

The WIN32 project files still defined the (obsolete) FL_STATIC
constant (STR #279)

Fl_Text_Display::buffer() did not support NULL values, making it
impossible to clean up text buffers from a subclass (STR #295)

Fl_Text_Display did not support a NULL unfinishedStyleCB
function (STR #241)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3219 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-03-01 02:05:02 +00:00
Michael R Sweet
2cbbe8180d Fix Fl::background2() (STR #255)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3217 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-02-29 22:39:52 +00:00
Michael R Sweet
6d84fa98b7 Fix CTRL+something "-" - wasn't tracking the proper CTRL key
state (STR #264)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3215 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-02-29 22:16:11 +00:00
Michael R Sweet
61f63af5ed Support KDE 3.x icons.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3213 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-02-29 12:47:36 +00:00
Michael R Sweet
1b84038345 WIN32's scandir() emulation did not allocate enough memory for
directory names (STR #263)

Fl::compose() did not handle special keys like backspace
properly (STR #293)

Fl_Choice did not clip its text when drawing using the plastic
scheme (STR #287)

Fl_Group incorrectly mapped the emacs CTRL keys to keyboard
navigation (STR #228)

Fl_File_Browser::load() didn't handle a NULL directory name (STR
#266)

64-bit library fixes (STR #261, )

The Fl_Valuator::format() function did not limit the size of the
number buffer (STR #268)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3211 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-02-26 03:06:41 +00:00
Michael R Sweet
7615da84bb Another bunch of OS/2 changes (STR #197)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3125 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-11-03 00:36:50 +00:00
Michael R Sweet
5d135b3928 The keypad Enter key works as the normal Enter/Return key in
common widgets (STR #191)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3117 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-11-01 01:49:35 +00:00
Michael R Sweet
c8c675fb4b Doco fix (STR #186)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3116 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-11-01 01:46:55 +00:00
Michael R Sweet
71d7776392 Fixed some OS/2-specific build problems (STR #185)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3115 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-11-01 01:44:23 +00:00
Michael R Sweet
e582a3e26b Calling Fl_Text_Display::buffer() with the same buffer would
cause an application to lockup (STR #196)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3114 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-11-01 01:32:40 +00:00
Michael R Sweet
037fd7bf94 Fix cursor crash bug (STR #181)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3113 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-11-01 01:07:07 +00:00
Michael R Sweet
01ceac46e9 Pixel format selection change (STR #175)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3109 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-09-20 18:45:55 +00:00
Michael R Sweet
182acd8618 Fix configure script (STR #174)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3108 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-09-20 18:40:36 +00:00
Michael R Sweet
db0939a599 Add error handlers to JPEG and PNG image classes so the corresponding
libraries don't exit the app with a bad file (STR #168)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3105 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-09-15 23:52:38 +00:00
Michael R Sweet
aed1a91613 Add --with-links configure option.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3103 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-09-14 14:28:22 +00:00
Michael R Sweet
f6769cebc6 Add Fl_Tooltip::hoverdelay() method and code (STR #126)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3102 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-09-14 14:11:06 +00:00
Michael R Sweet
8c56fa75c7 Fix new FLUID window grid bug (STR #166)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3101 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-09-14 13:42:04 +00:00
Michael R Sweet
4e6a41e2cd Bump to 1.1.5rc1...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3100 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-09-09 15:15:18 +00:00
Michael R Sweet
c704b6ad8e Add implementation for fl_read_image() on OSX (STR #161)
Update changelog and announcement.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3096 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-09-08 17:30:06 +00:00
Michael R Sweet
5495630684 Provide inline code for copy operators in Fl_Widget; this works around
a VC++ 7.1 regression without causing problems. (STR #156)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3090 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-09-04 19:07:58 +00:00
Michael R Sweet
8bfa7d8579 Need <time.h> on IRIX (STR #157)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3089 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-09-03 19:58:08 +00:00
Michael R Sweet
cd807ffcdf Use symbolic names whenever possible, otherwise cast ints to Fl_Color.
(STR #146)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3088 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-09-03 19:50:54 +00:00
Michael R Sweet
cf40467b5b Fix performance issues with large file chooser selections. (STR #140)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3087 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-09-03 19:38:01 +00:00
Michael R Sweet
daccac9672 Fl_Text_Display/Editor did not disable the current
selection when focus was shifted to another widget
(STR #131)

Fl_Choice didn't use the normal focus box when the
plastic scheme was in use (STR #129)

Fl_Text_Editor didn't use selection_color()
consistently (STR #130)

The fltk_forms, fltk_gl, and fltk_images DSO's and
HP-UX shared libraries are now linked against the fltk
shared library to provide complete dependency
resolution (STR #118)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3081 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-08-24 13:09:06 +00:00
Michael R Sweet
6eef9839bb Fix configure.in for autoconf 2.57.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3079 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-08-05 22:40:45 +00:00
Michael R Sweet
c99d122b45 Fix FLUID redraw bug when changing X,Y,W,H in the widget panel (STR #120)
Fix copyrights on some files that still showed -2002...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3070 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-08-02 21:17:30 +00:00
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
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
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
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
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
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
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
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
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
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
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
Michael R Sweet
4d67a0a00b Fix outline color when drawing inactive.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2994 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-21 16:52:42 +00:00
Michael R Sweet
ba892d2652 Add find() method to help widget and search box to help dialog.
Default to blue for the selection color on OSX; otherwise links and
other visual elements are not the correct color.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2993 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-21 16:12:14 +00:00
Michael R Sweet
2549a4ad62 Map ISO-8859-1 to MacRoman encoding on OSX (temporary until 2.0's UTF-8
support...)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2992 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-21 13:23:40 +00:00
Michael R Sweet
340e84839e Fix menu item fonts (STR #30)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2991 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-21 01:50:14 +00:00
Michael R Sweet
2c6367a0e6 Fix menu scrolling (STR #33)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2990 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-21 01:37:17 +00:00
Michael R Sweet
358816af75 Update documentation.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2989 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-20 19:16:26 +00:00
Michael R Sweet
c0e40ac55e Potential fixes for double-buffered subwindows on WIN32 (STR #1)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2988 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-20 19:09:33 +00:00
Michael R Sweet
9a7fb54d46 Fix show of subwindow causing crash (STR #23)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2987 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-20 17:53:26 +00:00
Michael R Sweet
b31a225083 Fix compose bug on OSX.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2985 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-20 15:29:42 +00:00
Michael R Sweet
1cbbf7f53f Fix OSX subwindow hide (STR #22)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2984 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-20 15:17:12 +00:00
Michael R Sweet
8a2aa0a0d1 Add thin up box with plastic style.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2981 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-18 22:12:24 +00:00
Michael R Sweet
180e298537 Fl_Pack ignored box() and cleared unused areas to color().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2980 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-16 18:43:40 +00:00
Michael R Sweet
dece8522f0 Tweek tabs widget and plastic boxtype.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2979 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-16 18:33:03 +00:00
Michael R Sweet
4d705c92a8 Updated the default background color on OSX to provide better contrast.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2978 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-16 02:19:46 +00:00
Michael R Sweet
ea324d25c4 Fl_Text_Display and friends now look for the next
non-punctuation/space character for word boundaries (STR #26)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2977 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-04 22:29:01 +00:00
Michael R Sweet
e2baef33cd gl_font() didn't work properly for X11 when Xft was used (STR #12)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2976 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-04 21:58:59 +00:00
Michael R Sweet
13005b2a3f Fl_File_Browser incorrectly included "." on WIN32 (STR #9)
Include shellapi.h instead of ShellAPI.h in the WIN32
drag-n-drop code in order to work with the MingW cross compiler
(STR #6)

The cursor was not properly restored when doing drag-n-drop on
X11 (STR #4)

Fl::remove_fd() didn't recalculate the highest file descriptor
properly (STR #20)

Fl_Preferences::deleteGroup() didn't work properly (STR #13)

Fixed the fl_show_file_selector() function - it was copying
using the wrong string size (STR #14)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2975 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-04 21:45:46 +00:00
Michael R Sweet
67af078c9c Fix fl_font/fl_size on MacOS X.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2968 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-04-06 12:54:57 +00:00
Matthias Melcher
7903799bf2 - sorted fluid menu bar
- fixed some minor Valgrind memory checker complaints
- added conditional compile flag for OS X w/ MetroWerks compiler


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2967 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-04-03 04:28:15 +00:00
Michael R Sweet
f5dd08a9b3 Fix cursor appearance and scrolling of Fl_Text_Editor (patches from Erco)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2964 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-04-01 20:14:16 +00:00
Michael R Sweet
cd339710f0 FLUID shell command patch from Erco.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2963 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-04-01 19:58:08 +00:00
Michael R Sweet
7b52b48c9d Possible fix for OpenGL bus errors on OSX.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2959 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-03-31 17:27:35 +00:00
Michael R Sweet
216453a981 Fix widget callback code error check and assignment.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2953 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-03-26 01:16:41 +00:00
Michael R Sweet
52f7cb86a0 fltk-config fix.
Fl_Text_Display fix (SF bug #706921)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2952 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-03-26 00:47:14 +00:00
Michael R Sweet
99981602d1 Fix Fl_Text_Display box drawing bug.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2951 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-03-17 18:31:16 +00:00
Michael R Sweet
eca1c6cc4c Fix help dialog link color.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2945 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-02-25 18:58:58 +00:00
Michael R Sweet
d602263b78 FL_KEYUP patch for X11 - don't send KEYUP event for repeating keys.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2937 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-31 15:50:28 +00:00
Michael R Sweet
fc22bc93a0 Support type qualifiers before a class name; this allows for things like
"FL_EXPORT Fl_File_Chooser"...

Update Fl_File_Chooser and Fl_Help_Dialog to use the new interface so
that we don't have to add FL_EXPORT every time we make a change...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2934 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-28 20:51:17 +00:00
Michael R Sweet
226715d978 Bug fixes from Howard.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2933 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-28 20:42:14 +00:00
Michael R Sweet
65e732d189 Add FL_EXPORT to nested classes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2924 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-21 14:51:54 +00:00
Michael R Sweet
e695187237 Possible fix for nested Fl_Double_Window bug on WIN32.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2908 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-15 00:14:46 +00:00
Michael R Sweet
7fe8eeafb2 Fix Fl_Slider callback bug.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2907 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-14 23:52:12 +00:00
Michael R Sweet
717aa7ec8f Fix line/polygon drawing bug when the number of unique vertices is too
small.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2906 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-14 23:48:01 +00:00
Michael R Sweet
9f67d66c3a Fix size_range() bug under OSX.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2905 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-14 21:30:55 +00:00
Michael R Sweet
0df204ff51 Fix OpenGL resize bug.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2904 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-14 20:17:00 +00:00
Michael R Sweet
3b59708838 Fixed menu overlay bug.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2903 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-14 17:32:25 +00:00
Michael R Sweet
24455b9be5 Fix use of free() for memory allocated using new.
Fix error messages to use Fl::error() instead of fprintf().


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2898 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-12 14:49:33 +00:00
Michael R Sweet
6e4cdc0978 Tweek colors for plastic scheme so they better match OSX.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2895 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-11 14:19:17 +00:00
Michael R Sweet
56b465073b Update dependencies and the change log.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2894 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-10 19:54:44 +00:00
Michael R Sweet
7c32cfaee9 Sort widgets in the widget panel.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2888 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-04 00:24:19 +00:00
Michael R Sweet
d64d3a55a8 Fix Fl_Scroll handling of widgets whose labels are to the right or below.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2882 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-12-19 21:42:22 +00:00
Michael R Sweet
74d47ce80c Doco updates.
Added filename_setext() macro for FLTK_1_0_COMPAT.

Fixed copy() methods so they don't overflow the source image buffer.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2881 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-12-19 21:34:26 +00:00
Michael R Sweet
11a7b522c1 Double/triple click selection fix in Fl_Input.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2862 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-12-08 06:31:48 +00:00
Michael R Sweet
cd5c9b8743 OSX fixes for GLUT/GL window classes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2859 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-12-04 04:44:54 +00:00
Michael R Sweet
7a636272e2 Support vertical dividers in menu bars.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2849 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-19 18:34:48 +00:00
Michael R Sweet
6318705512 Fix fl_dir_chooser()/Fl_File_Chooser:value() bug - cancel didn't return
NULL since the filename field wasn't cleared, too...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2848 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-19 17:26:10 +00:00
Michael R Sweet
b553a34418 Increase label buffer size and bounds-check all writes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2847 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-19 16:59:22 +00:00
Michael R Sweet
a74795bbb8 Get rid of some valid compiler warnings with CodeWarrior that were reported
by Paul Chambers.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2845 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-19 16:37:36 +00:00
Michael R Sweet
2baf50eb16 Fix OpenGL resize bug under OSX.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2843 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-15 16:17:41 +00:00
Michael R Sweet
9c557a3b87 Make check browser check boxes consistent with other widgets...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2841 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-14 21:25:13 +00:00
Michael R Sweet
7a89877eee Add const char * add methods to Fl_Check_Browser.
Fix cursor code in text widgets.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2840 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-14 21:05:22 +00:00
Michael R Sweet
7327b74032 Don't popup menus or activate buttons when (SHIFT/CTRL/ALT/META) + space
is pressed.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2834 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-11 20:22:21 +00:00
Michael R Sweet
bf9a09d387 Patch from Steve Davies for Xft 2.x.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2833 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-09 22:59:06 +00:00
Michael R Sweet
6a4c701e8f Don't use built-in snprintf/vsnprintf functions on Tru64 4.0, since there
are no prototypes and not all patch levels provide them.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2832 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-08 19:50:35 +00:00
Michael R Sweet
f095d5e3f7 Fix keyboard composition for X11.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2831 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-08 16:05:33 +00:00
Michael R Sweet
4f15037e8e Tab moves forward in menu, Shift-Tab moves backward.
CTRL-V no longer segfaults Fl_Text_Editor when the clipboard is empty.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2830 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-08 15:57:10 +00:00
Michael R Sweet
e5cdd193b2 Fix label redraw bug.
Remove unused variable.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2829 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-08 15:45:33 +00:00
Michael R Sweet
ee58dd2f62 Add draw_children() method to Fl_Group.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2828 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-08 15:22:15 +00:00
Michael R Sweet
f3078e51e0 Fix widget construction code for custom/named widget classes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2821 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-01 14:17:36 +00:00
Michael R Sweet
299ebf295a Update tile documentation to be explicit about widgets touching and doing
their own borders.

Support CMD+[cxv] for copy/cut/paste on OSX.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2717 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-30 14:23:16 +00:00
Matthias Melcher
36656517e6 Unswapped MacOS modifier keys. event_key and event_text should return
the expected values now.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2715 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-30 01:01:53 +00:00
Michael R Sweet
a5131e1959 Fix focus hogging by the Fl_Tabs widget.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2713 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-29 20:44:22 +00:00
Michael R Sweet
263f2ed1e6 Fix OK button when doing directory selection.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2708 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-29 20:12:36 +00:00
Michael R Sweet
521ab78b9a Fix file chooser absolute path bug.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2706 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-29 20:07:34 +00:00
Michael R Sweet
7d0d281fb4 2.0 tooltip changes into 1.1.x.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2704 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-29 19:45:10 +00:00
Matthias Melcher
314a351940 MacOS windows were rsizable even if size_range would not allow a resize.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2703 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-29 19:23:55 +00:00
Michael R Sweet
7e128e13da Fix cursor problems and add Shift-Delete, Ctrl-Insert, and Shift-Insert
to the default key mapping.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2700 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-29 17:34:47 +00:00
Michael R Sweet
b20688cfbf Ignore OSX -psn_N_NNNNN option.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2697 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-28 19:43:24 +00:00
Michael R Sweet
7a8ba8be1a Changelog update.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2696 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-28 15:18:09 +00:00
Michael R Sweet
913561c630 Fix handling of directories with \ in them.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2694 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-28 15:00:56 +00:00
Michael R Sweet
4f75130870 Limit resizes to 1 line minimum.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2692 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-24 17:26:03 +00:00
Michael R Sweet
9e0efc1e88 First fixes for 1.1.2 - Fl_Scrollbar shouldn't take keyboard focus,
move Fl_Slider focus stuff to main handle() method, use Fl_Light_Button
in scroll demo.

Bump version numbers to 1.1.2.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2690 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-24 12:53:41 +00:00
Michael R Sweet
c300426e4c Fix Fl_Text_Display cursor drawing bug...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2687 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-23 13:21:14 +00:00
Michael R Sweet
a79e377dc7 Changelog.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2684 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-22 17:47:23 +00:00
Michael R Sweet
3939b6cde5 Dammit, the NEdit code update before 1.1.0 introduced "bool" back into
Fl_Text_*.  Rather than breaking binary compatibility, add the necessary
configure check and code in config.h.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2682 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-22 13:45:23 +00:00
Michael R Sweet
82eeab48e6 Initialize backbuffer_bad under X11.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2680 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-20 06:06:31 +00:00
Michael R Sweet
8276f8b307 Implement Fl_Shared_Image::uncache().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2679 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-20 03:13:56 +00:00
Michael R Sweet
65c019830b Make sure that font names are zeroed.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2677 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-16 23:02:49 +00:00
Michael R Sweet
7db8fe569d Preliminary OpenGL single-buffering fix.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2676 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-15 20:45:58 +00:00
Michael R Sweet
1d42e4784b BC++ workaround...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2675 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-11 20:48:14 +00:00
Michael R Sweet
9282371cb5 Use 2.0 drawing code for check marks...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2674 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-11 17:03:47 +00:00
Michael R Sweet
be58513af7 Use memmove() instead of memcpy() in several key places.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2672 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-11 14:17:24 +00:00
Michael R Sweet
fddb73a5f2 Bug #621737: Add range checking for the width and height arguments to the
::copy() methods.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2671 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-11 13:54:10 +00:00
Michael R Sweet
fe8518f37c Fix bug #621740 - tooltips stay up in WIN32 when USE_TRACK_MOUSE is not
defined.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2670 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-11 13:46:56 +00:00
Michael R Sweet
1907ad9473 Set flag so that destructor will free memory used by PNM images.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2668 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-11 02:30:20 +00:00
Michael R Sweet
5d4b4d571b fl_filename_match() was not doing a case-insensitive comparison on UNIX
(only OSX and Windows...)  This makes cross-platform patterns complicated...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2667 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-11 02:12:15 +00:00
Michael R Sweet
3a1b6495c4 Fix focus box redraw bug for buttons with FL_NO_BOX.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2666 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-10 20:08:16 +00:00
Michael R Sweet
0d2a4632bb Fix SF bug #620633 - crash on redisplay in Fl_Text_Display.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2665 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-10 20:02:58 +00:00
Michael R Sweet
8b7b26b7bf Take focus when the user presses a shortcut.
Call the callback when the user clicks or drags in a readonly input
field.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2664 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-10 19:39:49 +00:00
Michael R Sweet
77c3efad19 Matthias's fl_filename_relative() fixes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2663 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-10 19:33:22 +00:00
Michael R Sweet
8e0ec8482e Matthias's BMP file loader updates (16-bit + transparency support)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2662 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-10 19:26:33 +00:00
Michael R Sweet
b40f5fb69e Documentation updates.
Bump version to 1.1.1.

Fix "no change" button in FLUID.

Set dirty flag when changing nodes in Fl_Preferences.

Add the extra include dir options when doing "fltk-config --compile foo.cxx".


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2659 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-07 13:19:22 +00:00
Michael R Sweet
5c8ccb8289 Vertical scrollbars didn't draw inactive arrows...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2657 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-06 18:37:14 +00:00