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
d43b146df3
Fix header file again.
...
Fix dependency generation for the libraries...
Update dependencies.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2897 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-12 01:22:21 +00:00
Michael R Sweet
c089f9b264
Need to include Fl_Export.H for FL_EXPORT definition.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2896 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-11 19:47:30 +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
4bf5385fb1
Update Fl_Image and friends so that we don't need to include the
...
system headers (which unfortunately are not too friendly with other
code...)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2893 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-10 19:29:09 +00:00
Michael R Sweet
24f57a7aea
Make sure that the GUI tab shows first.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2889 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-04 00:34: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
85c952004a
Remove the obsolete browserop.cxx test program, which wasn't being built
...
anyways and is causing confusion.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2887 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-02 21:39:58 +00:00
Matthias Melcher
fcb49a7b13
Fl_Text_Display/Editor would not receive FL_FOCUS events on mouse clicks
...
which resulted in not showing the insertion cursor.
Fluid would not register changes to Fl_Text_Editor widgets unless Enter
was pressed.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2885 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-12-26 01:15:32 +00:00
Michael R Sweet
a81ea6a412
Use DSOLINK in the LINKSHARED definition.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2883 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-12-19 22:07:13 +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
cbdf39916f
Eliminate compiler warning.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2861 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-12-04 18:14:30 +00:00
Michael R Sweet
b40f9264f7
Change depth bits to 24 - Matthias, can you verify that this still works
...
on your systems? I'll double-check with my iBook and iMac...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2860 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-12-04 05:34:39 +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
4842030537
Bump version number in CVS...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2857 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-25 18:19:46 +00:00
Michael R Sweet
eed1609514
WIN32 cleanup for 1.1.2 release.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2855 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-25 16:31:20 +00:00
Michael R Sweet
81147753d1
Only set the callback when the text is changed; otherwise when you set
...
the properties of multiple widgets, the callbacks will be changed for
all of the widgets...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2854 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-23 06:47:36 +00:00
Michael R Sweet
f0b0e4c00a
Fix type in WIN32 source...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2853 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-20 20:55:24 +00:00
Michael R Sweet
2670b41589
Fix one last focus bug in Fl_Tabs - now clicks should update the focus
...
as expected...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2852 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-20 17:42:09 +00:00
Michael R Sweet
5f5d68561f
Fl_File_Input::value("") didn't work.
...
The window close callback also needed to set the filename to "".
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2851 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-20 15:49:24 +00:00
Michael R Sweet
4bf99bdfc6
Add space for icons to item_width(), otherwise the horizontal scrollbar
...
won't scroll far enough...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2850 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-19 18:41:15 +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
1e4a969337
Range check the visLineNum argument...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2846 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-19 16:45:32 +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
2921ca57a0
Update Fl::get_color() docos.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2844 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-18 20:51:46 +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
b579acc9b3
Fix fl_show_colormap() documentation.
...
Show color chooser window before grabbing it.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2842 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-15 02:06:57 +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
0bd7960c79
Add CVS ignore file...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2839 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-14 15:07:45 +00:00
Michael R Sweet
9268b0288d
Add Alpha compiler stuff and cast for menu code.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2837 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-14 13:57:40 +00:00
Matthias Melcher
332ae4a831
Fixed missing undo bug in Fl_Text_Editor. Undo would be performed on
...
text buffer AND attribute buffer, which in turn confused the undo buffer.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2836 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-12 22:48:36 +00:00
Michael R Sweet
46d894851e
Xft2 fix from Stephen Davies...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2835 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-12 20:35:17 +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
f841b45087
Sigh...
...
Remove CR's from XPM files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2827 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-07 13:29:01 +00:00
Michael R Sweet
14e047cc0f
Include stdlib.h, not the non-standard malloc.h header...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2826 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-07 03:34:49 +00:00
Matthias Melcher
3473297741
Added 'Undo' to Fl_Text_Editor by reusing some of the Fl_Input_ code. I tried many cases and it seems to work fine.
...
Matthias
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2825 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-05 19:53:50 +00:00
Matthias Melcher
66dabdb8f5
Added callbacks to Fl_Text_Editor.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2824 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-05 06:45:41 +00:00
Matthias Melcher
b9e7232d26
Set Fl_Text_Editor fields to Courier font for easier programming
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2823 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-03 04:50:54 +00:00