Commit Graph

1798 Commits

Author SHA1 Message Date
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
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
0a5f303608 Possible fix for WIN32 redraw lockup (mainly with menus)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2695 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-28 15:15:24 +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
3d2f4492ea Oops, missed this one...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2691 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-24 12:53:54 +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
e001b30f18 Define bool=char, true=1, and false=0 for C++ compilers that don't
support bool.  This isn't as nice as the config.h solution, but it will
make sure that apps that use fltk-config to get the CXXFLAGS will work
on all compilers.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2688 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-23 15:18:57 +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
5953e69de0 Include "flstring.h" before the FLTK headers, so that bool is defined
as needed.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2686 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-23 12:23:40 +00:00
Michael R Sweet
02b14d5fdd Add section on the main() function to the editor example.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2685 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-22 20:08:37 +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
4c0903ad50 WIN32 redraw fixes.
Fl_Tabs now uses FL_DAMAGE_SCROLL for damage to
the tabs themselves.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2683 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-22 17:39:12 +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
2ba819c6e7 Add missing documentation.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2681 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-21 18:05:28 +00:00