Commit Graph

2362 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Manolo Gouy
faed6e5ef7 Fixed STR 2449
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7875 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-18 20:02:27 +00:00
Matthias Melcher
1e77c19688 Fixed file access code to use UTF-8 strings (STR #2440)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7874 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-18 20:00:01 +00:00
Matthias Melcher
983a0d8ce4 Fixed ARM Unicode cross compilation issue (STR #2432)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7873 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-18 18:43:41 +00:00
Manolo Gouy
9ae50a2703 Removed compilation warnings when compiling before 10.5 (STR 2428)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7868 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-17 17:05:08 +00:00
Matthias Melcher
bc66ca6264 Improved support for faulty X11 clients (STR #2385)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7866 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-17 11:28:58 +00:00
Albrecht Schlosser
98811098a9 Documentation updates for Fl_Window::xclass(), default_xclass(),
and show().


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7864 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-17 11:03:51 +00:00
Matthias Melcher
ffbe1b76b1 Fixed xclass support for Fl_Window (STR #2053)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7863 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-16 22:17:40 +00:00
Matthias Melcher
e91fe6e6d5 Fixed Caps Lock handling in X11/XIM (STR #2366)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7862 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-16 21:15:27 +00:00
Matthias Melcher
bc1928bbc0 Fixed handling of missing fonts in Xft (STR #2355)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7855 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-15 22:13:13 +00:00
Albrecht Schlosser
80bc4255ad Fix Windows file chooser preview (STR #2440)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7841 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-15 15:19:08 +00:00
Matthias Melcher
0af4b7367f Applied latest changes for STR 2215
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7840 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-15 13:10:14 +00:00
Greg Ercolano
6ab895a099 Solves STR #2428: Silence double->int conversion warnings
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7838 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-15 08:01:06 +00:00
Albrecht Schlosser
e5ac1f7b97 Fixed X11 cut/copy problem on 64-bit systems (STR #2419)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7837 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-15 07:14:29 +00:00
Greg Ercolano
7b9a2e88ad Solves STR #2428: Silence float->int conversion warnings
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7836 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-15 04:49:46 +00:00
Greg Ercolano
1c06cb4283 Solves STR #2428: Silence float->int conversion warnings
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7835 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-15 04:38:21 +00:00
Greg Ercolano
61a9b32872 Solves STR #2428: Silence numerous compiler warnings about float->int conversions, etc.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7834 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-15 04:34:58 +00:00
Matthias Melcher
e10019c64b Added alternative Xft font names (STR #2215)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7833 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-14 21:50:24 +00:00
Matthias Melcher
160973c876 Update lib png access (STR #2442)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7832 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-14 21:17:31 +00:00
Matthias Melcher
6e863f844d Fixed OpenGL hide/show issue in OS X (STR #2260)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7831 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-14 17:28:48 +00:00
Matthias Melcher
b43c11939e Added a little bit of docs for Fl::option()
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7829 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-14 16:07:20 +00:00