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
Matthias Melcher
c3de2a22c0
Replaced 'callback' and 'code' input in FLUID with Fl_Text_Editor.
...
Made widget pannel resize only text fields (which I see as the
logical way to do it. Opinions welcome).
Matthias
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2822 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-03 00:01:21 +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
0ac9c36868
Move pixmaps to a subdirectory...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2820 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-01 01:42:51 +00:00
Michael R Sweet
0fdef4a820
Rename files with the correct filenames...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2773 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-01 01:26:35 +00:00
Michael R Sweet
da5525cfcb
Don't allow multiple shell commands to run at the same time.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2770 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-01 00:32:05 +00:00
Matthias Melcher
f4a60090ba
Added WidgetBin/ToolBox to fluid. Made fluid remember window
...
positions (only main and toolbox yet). Toolbox can be switched
off. Position remeber function can be switched off.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2767 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-31 18:49:05 +00:00
Matthias Melcher
270c364bb3
Fixed two little bugs for Fluid pixmaps on MacOS and Unix.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2766 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-30 22:30:30 +00:00
Matthias Melcher
41d14b074b
Added icons to Fluid's menu and object list.
...
Previous version is tagged in cvs with
'pre_fluid_icon_changes'.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2765 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-30 21:08:39 +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
Michael R Sweet
4bed0a3665
Tooltip tweeks.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2716 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-30 01:26:05 +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
0daa36de39
More fun with WIN32 redraw...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2710 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-29 20:18:55 +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