Commit graph

123 commits

Author SHA1 Message Date
Thomas Gamper
c0abc9a675 TG: OpenGL cleanup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28877 72102866-910b-0410-8b05-ffd578937521
2009-10-25 13:49:19 +00:00
Fred Kiefer
6653ef68cc Add simple gradient implementation for the cairo backend.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28873 72102866-910b-0410-8b05-ffd578937521
2009-10-23 20:46:41 +00:00
Fred Kiefer
3c8eab0c49 Implement pattern colours for all backends.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28850 72102866-910b-0410-8b05-ffd578937521
2009-10-19 14:17:45 +00:00
Xavier Glattard
7e3dbdf741 OpenGL sub-windows: prevent back-store flush, handle expose events, and small fix/improvements
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28036 72102866-910b-0410-8b05-ffd578937521
2009-03-04 09:58:41 +00:00
Fred Kiefer
1802f35b22 In XwindowBuffer get the default visual and depth from the XGServer.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26961 72102866-910b-0410-8b05-ffd578937521
2008-10-24 16:42:38 +00:00
Fred Kiefer
6d3948c2cf Remove unused parameters for rect conversion on windows.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26926 72102866-910b-0410-8b05-ffd578937521
2008-10-17 15:22:41 +00:00
Fred Kiefer
f0ff2b2bb7 Further cleanup of windows server code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26924 72102866-910b-0410-8b05-ffd578937521
2008-10-17 14:49:02 +00:00
Fred Kiefer
d6fc8b8e74 Try to keep the visual of art consistent with the one used by X.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26849 72102866-910b-0410-8b05-ffd578937521
2008-09-14 21:22:54 +00:00
Fred Kiefer
ff0796c5d4 Patch by Hubert Chathi <hubert@uhoreg.ca> to handle window minimization
on EWMH systems better.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26795 72102866-910b-0410-8b05-ffd578937521
2008-07-19 21:17:42 +00:00
Adam Fedor
250ebdfad0 Revert library license version to 2 until applications can be converted
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26620 72102866-910b-0410-8b05-ffd578937521
2008-06-10 04:12:46 +00:00
Gregory John Casamento
8026904d7f * Headers/x11/XGGeneric.h:
* Source/x11/XGServerWindow.m: Added code to automatically make 
	any window which uses the NSDesktopWindowLevel also be omnipresent.
	This capability will be added as a style later.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26588 72102866-910b-0410-8b05-ffd578937521
2008-06-01 22:01:08 +00:00
Adam Fedor
ca9fe1135d Standardize cache name to handle new Mac OS X display names
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26530 72102866-910b-0410-8b05-ffd578937521
2008-05-16 17:14:30 +00:00
Fred Kiefer
f2217879fb Backend support for appendBezierPathWithPackedGlyphs:.
Implementation of coveredCharacterSet on GSXftFontInfo.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26436 72102866-910b-0410-8b05-ffd578937521
2008-04-07 13:51:28 +00:00
Fred Kiefer
8233f379cf Remove method resetForGSWindowStyle:w32Style:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26245 72102866-910b-0410-8b05-ffd578937521
2008-03-07 23:18:39 +00:00
Richard Frith-MacDonald
cef51849f7 fix for segementation violation accessing window of another app
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26226 72102866-910b-0410-8b05-ffd578937521
2008-03-06 13:48:40 +00:00
Richard Frith-MacDonald
29169b608e some work towards supportign window levels
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26195 72102866-910b-0410-8b05-ffd578937521
2008-03-05 08:07:51 +00:00
Xavier Glattard
201d3bf367 Experimental Cairo and Cairo/Glitz backends on win32
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26189 72102866-910b-0410-8b05-ffd578937521
2008-03-04 10:14:29 +00:00
Fred Kiefer
4d00d5253c General cleanup of win32 code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26066 72102866-910b-0410-8b05-ffd578937521
2008-02-14 22:26:00 +00:00
Fred Kiefer
f801684505 Windows resize/drawing patch by Christopher Armstrong
<carmstrong@fastmail.com.au>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26065 72102866-910b-0410-8b05-ffd578937521
2008-02-14 21:13:17 +00:00
Fred Kiefer
e2c622bad5 Get to work with newer versions of GLX.
Patch by Thomas Gamper <icicle@cg.tuwien.ac.at>,
slightly reworked.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25990 72102866-910b-0410-8b05-ffd578937521
2008-01-21 21:27:58 +00:00
Isaiah Beerbower
5dd462faa9 Reverting back to former font system.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25721 72102866-910b-0410-8b05-ffd578937521
2007-12-11 12:06:42 +00:00
Isaiah Beerbower
2d50c93089 Rewrite font system to cache fonts in a plist and support nfont bundles.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25717 72102866-910b-0410-8b05-ffd578937521
2007-12-11 00:14:01 +00:00
Fred Kiefer
2ca28c413e Change stroke and fill to use NSColorSpace
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25711 72102866-910b-0410-8b05-ffd578937521
2007-12-10 15:34:56 +00:00
Fred Kiefer
b5fc3678f3 Remove non-normal windows from task list.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25626 72102866-910b-0410-8b05-ffd578937521
2007-11-29 00:56:11 +00:00
Fred Kiefer
0f8c5487c7 Change files to use GPL 3 and LGPL 3.
Prepare for next release.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25538 72102866-910b-0410-8b05-ffd578937521
2007-10-29 23:25:10 +00:00
Fred Kiefer
2050099a6e Declare the -getsample:: method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25521 72102866-910b-0410-8b05-ffd578937521
2007-10-07 10:26:25 +00:00
Fred Kiefer
f2ac847ff4 Add a generic basic implementation for the DPSshfill: operator. This
needs to be optimized for each individual backend and the original art
implemenation should be moved to this.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25519 72102866-910b-0410-8b05-ffd578937521
2007-10-05 20:57:59 +00:00
Fred Kiefer
1ce0bd5175 Add PDF output for cairo backend.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25479 72102866-910b-0410-8b05-ffd578937521
2007-09-12 15:46:55 +00:00
Fred Kiefer
355aa2db1e New methods to store and get last event time.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25457 72102866-910b-0410-8b05-ffd578937521
2007-09-05 14:35:06 +00:00
Sergii Stoian
ed77ebb967 * Source/cairo/CairoGState.m
(-DPSsetstrokeadjust:): Implement.
  (-DPSinitgraphics): Set _strokeadjust to 1 by default.
  (-_adjustPath:): Implement new method that place the path to pixel
  boundaries.
  (-_setPath:): Change method definition adding fillOrClip argument.
  Use _adjustPath: method.
  (-DPSclip): Change call of _setPath: to new format.
  (-DPSeoclip): Ditto.
  (-DPSeofill): Ditto.
  (-DPSfill): Ditto.
  (-DPSstroke): Ditto.
  (-compositerect:op:): Ditto.
* Headers/cairo/CairoGState.h: Define _strokeadjust variable.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25299 72102866-910b-0410-8b05-ffd578937521
2007-07-01 23:02:29 +00:00
Fred Kiefer
c1d1c74891 Printing improvements and handle rotated text.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25296 72102866-910b-0410-8b05-ffd578937521
2007-06-29 11:31:53 +00:00
Fred Kiefer
89c1ce993a Use cairo specific code for PS file creation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25088 72102866-910b-0410-8b05-ffd578937521
2007-04-27 12:23:28 +00:00
Fred Kiefer
ff21318a0a Backend part of graphic context rewrite.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24965 72102866-910b-0410-8b05-ffd578937521
2007-04-04 14:33:10 +00:00
Fred Kiefer
7f68c2ef43 Add missing transformation change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24952 72102866-910b-0410-8b05-ffd578937521
2007-03-30 20:52:28 +00:00
Xavier Glattard
41208bb38d Many changes :
- Deletion of all non-GNUstep debug stuff (printf...)
- Deletion of all Notification hooks (used for a debugging purpose)
- Deletion of the Application preference Panel that popups (pops up?)
  the 1st time you run _any_ application
- Deletion of the check of GSWINHandlesWindowDecorations and 
  GSWIN32HandlesWindowDecorations options (none worked because of 
  a typo and are now deprecated).
- use of GSBackHandlesWindowDecorations option like X11 backend
  instead of GSUseWMStyles (marked as deprecated)
- use of GSBackUsesNativeTaskbar option instead of GSUseWMTaskbar
  (marked as deprecated)
- all these options are read in -initWithAttribute: (no more in
  +inializeBackend) and set an instance (not class) variable.
- add methods -handlesWindowDecorations/-setHandlesWindowDecorations
- add methods -usesNativeTaskbar/-setUsesNativeTaskbar



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24804 72102866-910b-0410-8b05-ffd578937521
2007-03-07 18:11:17 +00:00
Fred Kiefer
78ba818f54 Clean up of font attributes and better protection against _ct being null
in cairo backend.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24710 72102866-910b-0410-8b05-ffd578937521
2007-02-27 16:35:31 +00:00
Richard Frith-MacDonald
df830a647f implement more font info
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24445 72102866-910b-0410-8b05-ffd578937521
2007-01-31 17:15:27 +00:00
Richard Frith-MacDonald
38f4377214 OpenGL mingw32 support by xavier glattard
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24437 72102866-910b-0410-8b05-ffd578937521
2007-01-31 11:29:41 +00:00
Fred Kiefer
142f3510a3 Prevent some window types from showing up in the taskbar for old window
managers that cannot handle window types. Patch by Yen-Ju Chen
<yjchenx@gmail.com>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24246 72102866-910b-0410-8b05-ffd578937521
2006-12-26 14:55:18 +00:00
Fred Kiefer
cf27a422f6 Added cairo transparancy patch by Yen-Ju Chen <yjchenx@gmail.com>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24244 72102866-910b-0410-8b05-ffd578937521
2006-12-26 13:26:40 +00:00
Matt Rice
782d9d7d3f * Source/win32/WIN32Server.m: Update -windowlist implementation.
* Source/x11/XGServerWindow.m (-orderwin:::): Replace
        desiredOrderedWindow with ignore_take_focus.
        (windowlist): Implement.
        (setinputfocus:): Replace desiredOrderedWindow with 
	ignore_take_focus.
        * Headers/x11/XGGeneric.h (XGGeneric): Remove 
	desiredOrderedWindow.
        * Headers/x11/XGServerWindow.h (gswindow_device_t):
        Add ignore_take_focus.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@23937 72102866-910b-0410-8b05-ffd578937521
2006-10-21 19:16:47 +00:00
Fred Kiefer
7bf3e2dce1 Cleaned up change of super class for CairoGState.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@23746 72102866-910b-0410-8b05-ffd578937521
2006-10-03 23:29:53 +00:00
Hans Baier
5bebf3cb25 * refactores CairoGState as a subclass of GSGState
* header fixes to include freetype
* fixed glitz api change (but does not work, because I don't know how to
  retrieve a proper VisualID for the display)

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@23681 72102866-910b-0410-8b05-ffd578937521
2006-09-30 12:21:13 +00:00
Richard Frith-MacDonald
e0024db991 Some more style/offset checking.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@23613 72102866-910b-0410-8b05-ffd578937521
2006-09-25 13:49:32 +00:00
Richard Frith-MacDonald
32d2f9faca Update for coordinate mapping changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@23473 72102866-910b-0410-8b05-ffd578937521
2006-09-12 19:53:46 +00:00
Richard Frith-MacDonald
45fbea927a Fix x coordinate offset error
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@23462 72102866-910b-0410-8b05-ffd578937521
2006-09-12 10:32:18 +00:00
Richard Frith-MacDonald
eedc280b9d Window frame/coordinate handling cleanups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@23461 72102866-910b-0410-8b05-ffd578937521
2006-09-12 09:50:14 +00:00
Richard Frith-MacDonald
1548f0617f Window frame handling fixups (bug #17377)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@23400 72102866-910b-0410-8b05-ffd578937521
2006-09-06 11:29:32 +00:00
Gregory John Casamento
e97de80626 Applying patch to windows backend by Christopher Armstrong.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@23239 72102866-910b-0410-8b05-ffd578937521
2006-08-10 05:29:50 +00:00
Riccardo Mottola
5197cf6328 changed method signatures to fix bug intruduced by RFM during typo fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@23197 72102866-910b-0410-8b05-ffd578937521
2006-08-01 22:21:36 +00:00