Commit Graph

4487 Commits

Author SHA1 Message Date
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
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
8fa3fc272a Removed USE_QUARTZ, __APPLE_COCOA__, __APPLE_QD__ that are no longer used
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7872 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-18 18:39:32 +00:00
Manolo Gouy
037519a9b8 added possible Mac OS X --with-archflags values in help text.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7871 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-18 14:41:42 +00:00
Manolo Gouy
e002042fd9 Mac OS X: compile with default architecture (i386 on 10.5, x86_64 on 10.6) and allow
alternative architecture running configure with option --with-archflags="-arch xxx"

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7870 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-18 13:23:52 +00:00
Manolo Gouy
db6ca980af Fixed ./configure --enable-shared=yes on Mac OS X 10.6
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7869 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-17 18:31:50 +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
Manolo Gouy
c077050d05 Fixed cmake under Mac OS X
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7867 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-17 16:47:54 +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
Matthias Melcher
eca6b3fd9f Library directory prefix for 64 bit builds
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7865 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-17 11:13:57 +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
8224a775ac Made Mandelbrot window single buffered again
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7861 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-16 20:13:17 +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
Matthias Melcher
906549e4f9 Added unittests to the Xcode IDE.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7843 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-15 17:22:21 +00:00
Matthias Melcher
a0d364d760 Added unittests test program to both VisualC solutions (2008 and 2010)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7842 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-15 17:18:33 +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
Matthias Melcher
4cfee0c9c2 Removed preset theme from tree test, so that launching the test with the demo app can show the various available themes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7839 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-15 08:44:28 +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
engelsman
6d2f0273f3 corrected fluid.desktop (STR #2328)
removed "cd %D" as the %D is deprecated anyway.
updated README and README.Unix to describe install-desktop



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7830 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-14 16:37:34 +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
Matthias Melcher
917e5991db Removed UTF-8 codes that would make the SGI compiler crash. STR 2439.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7828 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-14 15:57:49 +00:00
Matthias Melcher
1725a85468 Rename variable in Fluid to make more sense
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7827 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-14 15:03:57 +00:00
Matthias Melcher
e7c93053b6 Added visual indication for buttons activated by a keyboard shortcut (STR 2372
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7826 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-14 11:02:18 +00:00
engelsman
e729fccaf9 added --prefix and --includedir flags to fltk-config (STR #2137)
also fixed typo in fltk-config.cmake.in (STR #2443)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7825 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-13 16:47:47 +00:00
engelsman
ce6043d160 fixed const correctness in fluid/Fl_Function_Type.cxx (STR #2441)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7824 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-13 09:01:45 +00:00
Matthias Melcher
2e3037f895 Applied Domingo's suggestion for formatted Fluid output
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7823 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-12 15:55:09 +00:00