Commit Graph

4424 Commits

Author SHA1 Message Date
Greg Ercolano
ddf187af37 Added sortable table example.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7926 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-30 17:02:11 +00:00
Manolo Gouy
a8a5e3603c Fixes STR #2277.
Many thanks for the patch.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7925 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-30 16:36:38 +00:00
Manolo Gouy
142f80e8b2 Back to v.7909 because changes in v.7922 don't work with underscores under Linux.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7924 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-30 15:17:52 +00:00
Manolo Gouy
d2334f610e Fixes STR #2461. Also, the drag'n-drop X11 cursor has been set to FL_CURSOR_MOVE.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7923 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-30 14:06:15 +00:00
Manolo Gouy
1303ce4597 Fixes STR #2456. The text background was cleared one pixel too low for very "high" characters.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7922 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-30 11:07:54 +00:00
Matthias Melcher
cc4e22eabb Fixed argument type in X11 calls (STR 2432)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7921 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-30 11:05:38 +00:00
Albrecht Schlosser
8c56fc7e22 Updated CMake files with patches from Michael Surette (STR #2317).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7919 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-30 10:34:43 +00:00
Greg Ercolano
806542a84f Fixed Fl_Table's docs referencing example programs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7918 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-30 04:48:29 +00:00
Greg Ercolano
7d73741655 Added table-simple example.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7917 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-30 04:39:30 +00:00
Manolo Gouy
1dca5f900a Added the device demo program to the examples documentation section.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7916 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-29 21:48:14 +00:00
Manolo Gouy
90a10d3bb2 Added description of new --enable-cp936 configure option
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7915 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-29 21:30:26 +00:00
Manolo Gouy
011e95515b Fixes STR #2344: SHIFT+ALT+A triggers correctly when caps-lock is on.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7914 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-29 19:26:11 +00:00
Greg Ercolano
4327734e69 More copyright 2010 mods.
Used: vi `grep -r 'Copyright .*Spitzak' . | grep -v 2010 | grep -v '/\.svn' | cut -d: -f1`


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7913 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-29 18:18:27 +00:00
Manolo Gouy
ae0940f443 Removed unused global variables
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7912 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-29 15:59:53 +00:00
Manolo Gouy
3ae28985a8 Removed useless #include statements
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7911 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-29 14:28:09 +00:00
Manolo Gouy
25f3f44253 Mac OS X: display dragged text as cursor for Fl_Text_Display as well.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7910 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-29 14:12:57 +00:00
Albrecht Schlosser
0294bd1fa5 Fixed wrong indenting.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7909 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-29 14:05:04 +00:00
Manolo Gouy
8c6c5c9ec3 Fixes STR #2460 and also fixes linefull selection by triple click
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7908 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-29 13:39:04 +00:00
Manolo Gouy
b2d7e70851 Changed copyright to 2010
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7907 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-28 21:57:37 +00:00
Matthias Melcher
a803cec1b7 Fixed even more Copyright to 2010. Probably still forgot some.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7906 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-28 21:28:30 +00:00
Matthias Melcher
903107bca9 Fixed yet more Copyright to 2010.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7905 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-28 21:22:55 +00:00
Matthias Melcher
7fc05e3505 Fixed more Copyright to 2010.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7904 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-28 21:12:59 +00:00
Matthias Melcher
e454f97acc Fixed Copyright to 2010.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7903 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-28 21:06:39 +00:00
Manolo Gouy
f4fc4241b7 STR #2155: fixed using sparkaround's patch conditional to use of configure --enable-cp936
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7902 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-28 18:55:50 +00:00
Manolo Gouy
dcfdf8be20 Removed FLTK own character composition rules --> left to OSs. Closes STR #2421.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7901 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-28 09:12:36 +00:00
Matthias Melcher
6b301d4365 Fixed memory leaks in Fluid - Thanks for the patch (STR 2455)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7900 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-27 22:08:23 +00:00
Matthias Melcher
e36e07f313 Changed USE_XINERAMA into HAVE_XINERAME in CMake files. STR #2422
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7899 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-27 21:46:59 +00:00
Matthias Melcher
d20ed5585e Added message that explains MinGW 64 bit failure to link/run (STR 2347)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7898 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-27 21:39:47 +00:00
Matthias Melcher
f560b71b0a Fixed Fl_Text_Display Tabulator calculations (STR #2450)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7897 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-27 21:15:52 +00:00
Matthias Melcher
1a793cdbc3 Tab is now alway 8 characters wide.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7896 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-27 20:49:27 +00:00
Matthias Melcher
c6e46fed45 Preliminary implementation of Tab characters insisde Fl_Text-*. We still need to test wrapping, etc.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7895 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-27 20:13:10 +00:00
Manolo Gouy
39169af7dd Removed Doxygen warning from file src/Fl_Printer.cxx
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7894 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-26 10:22:40 +00:00
Greg Ercolano
d3e0d030f0 Changes to solve STR#2426;
1) Hitting ENTER to select an item should make sure the item is
	   displayed if off-screen (Mayank Malik, pointing out similar behavior in Fl_Browser_)

        2) show_item() without a positional argument will invoke show_item_top()
	   if the item is off-screen.

	3) Added new method displayed() (to match Fl_Browser_'s)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7893 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-25 18:52:37 +00:00
Manolo Gouy
7eb27fa4bd Mac OS X: introduced global variable fl_mac_os_version and cleaned a few unused variables.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7892 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-25 18:21:21 +00:00
Manolo Gouy
0f3e028a13 Should improve character composition under X11 (see STR #2421).
The string compose_pairs was for CP1252 but should be for unicode.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7891 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-24 13:31:43 +00:00
Manolo Gouy
78e3f4ef01 Reflecting in Doxygen doc the change introduced with r.7876
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7890 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-24 09:53:18 +00:00
Albrecht Schlosser
c0fcb987cc Added forgotten 'static' keyword to clip_x().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7889 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-23 17:37:49 +00:00
Albrecht Schlosser
36ffb5c5d5 More clipping updates for X11 with coordinates > 32767.
All horizontal and vertical line drawings, as well as fl_rect(), fl_rectf(),
and fl_point() should be clipped correctly. Nothing has been done for
arbitrary (non-orthogonal) lines or other drawings, but this should suffice
for box drawings of large container widgets (STR #2304).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7888 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-23 17:18:42 +00:00
Albrecht Schlosser
e7c17c4010 Line style test is now movable to be able to test line clipping.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7887 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-23 15:00:06 +00:00
Manolo Gouy
4f9acb7b4f Removed compilation warning
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7886 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-23 13:05:37 +00:00
Manolo Gouy
5625337133 Improves the usability of member function: Fl_PostScript_File_Device::start_job (FILE *,...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7885 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-23 12:13:17 +00:00
Albrecht Schlosser
3a807e55bc More clipping fixes for X11 with coordinates > 32767 (STR #2304).
The following functions are fixed now:
  fl_rect(x,y,w,h),
  fl_rectf(x,y,w,h),
  fl_not_clipped(x,y,w,h),
  fl_xyline(x, y, x1), and
  fl_yxline(x, y, y1).
 
These functions are sufficient for basic box and frame drawing functions,
but maybe there are other functions left.

Note that fl_xyline() and fl_yxline() are fixed only for one line segment.
Those with more line segments need still to be fixed.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7884 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-22 18:17:51 +00:00
Albrecht Schlosser
cdad633e87 Removed redundant case in fix for STR #2304.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7883 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-22 13:11:48 +00:00
Albrecht Schlosser
7d84aea1fb Fix X11 coordinates > 32767 (STR #2304).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7882 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-22 13:01:03 +00:00
Greg Ercolano
07a94f6b09 STR #2428: Applied Manolo's 'line 86' mod to fix warnings on Tiger. Tested on:
Tiger: no warnings now (had warnings before)
	       Snow Leopard: no warnings now or before
	       Ubuntu 8.04: no warnings now or before
	       Windows + VS 2005 Express: no warnings now or before


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7881 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-21 18:15:32 +00:00
Matthias Melcher
57083d0222 Fixed XExpose event for soome WM's (STR #2039)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7880 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-21 15:01:58 +00:00
Greg Ercolano
430789d8be Fixed weird indents
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7879 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-20 18:03:14 +00:00
Manolo Gouy
0b7e706de9 To fix STR #2452
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7878 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-20 12:59:39 +00:00
Manolo Gouy
523d2c79d0 To fix STR #2451
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7877 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-19 19:00:50 +00:00
Matthias Melcher
cbc29a76db Removed FLTK compose system for MSWindows. This should leave keyboard control to the OS instead of having something FLTK specific on top. I can't fully test this because I have merely a U.S. keyboard, but dad keys still seem to work... .
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7876 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-18 20:33:16 +00:00