Commit graph

110 commits

Author SHA1 Message Date
Eric Wasylishen
36260d2295 back/win32: horizontal mousewheel support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29933 72102866-910b-0410-8b05-ffd578937521
2010-03-13 21:38:23 +00:00
Eric Wasylishen
1e8806424e back/win32: fix mousewheel
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29932 72102866-910b-0410-8b05-ffd578937521
2010-03-13 21:00:02 +00:00
Doug Simons
c3004129ed capture the mouse to get mouse moved events outside of window
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29912 72102866-910b-0410-8b05-ffd578937521
2010-03-12 21:29:37 +00:00
Doug Simons
c3cdc8ebba Prevent generating mouseMoved events when the mouse hasn't moved
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29905 72102866-910b-0410-8b05-ffd578937521
2010-03-11 22:44:53 +00:00
Doug Simons
9978707706 removed extraneous 'u' that got in by mistake
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29884 72102866-910b-0410-8b05-ffd578937521
2010-03-08 19:34:31 +00:00
Doug Simons
908e8b663e When the shift key is down, charactersIgnoringModifiers should be uppercase
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29883 72102866-910b-0410-8b05-ffd578937521
2010-03-08 17:54:00 +00:00
Gregory John Casamento
588ae69c45 Changes to prevent inconsistent main/key state and move alphablend to a separate function call.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29722 72102866-910b-0410-8b05-ffd578937521
2010-02-24 21:50:20 +00:00
Gregory John Casamento
77565aaad0 * Headers/win32/WIN32Server.h: Remove HOTKEY method.
* Source/win32/w32_general.m: Remove HOTKEY method.
	* Source/win32/WIN32Server.m: Remove call to HOTKEY method.  Added
	function "mask_for_keystate(..)" to implement modifier mappings
	on Windows.   Also changed process_key_event to use the new function
	and changed the call to ToUnicode to use a blank array instead of
	modifying the existing keyState array since this was returning the
	characters with the modifiers still applied.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29498 72102866-910b-0410-8b05-ffd578937521
2010-02-07 08:37:04 +00:00
Gregory John Casamento
3c9e989f25 * Headers/win32/WIN32Server.h: Added declaration for decodeWM_HOTKEY:...
* Source/win32/WIN32Server.m: Added call to method decodeWM_HOTKEY:...
        * Source/win32/w32_general.m: Added method decodeWM_HOTKEY:...



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29490 72102866-910b-0410-8b05-ffd578937521
2010-02-05 21:32:42 +00:00
Fred Kiefer
2f9772ccde Solve the window focus bug by no longer activating the window on each
resize.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29414 72102866-910b-0410-8b05-ffd578937521
2010-01-26 19:05:35 +00:00
Gregory John Casamento
817a5d654f * Source/win32/w32_create.m: (-decodeWM_CREATEParams:::) add
code to load and set the HICON into the window.  Currently, 
	an .ico file with the same name as the image specified in 
	NSIcon or CFBundleIconName needs to be provided in the 
	resources. 

	NOTE: An enhancement to generate this from the app icon will
	follow shortly.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29396 72102866-910b-0410-8b05-ffd578937521
2010-01-25 09:14:55 +00:00
Gregory John Casamento
89e0508bbb 2010-01-21 15:45-EST Riccardo Mottola <rmottola@users.sf.net>
Committed by: Gregory John Casamento <greg.casamento@gmail.com>

	* Source/win32/w32_text_focus.m: Correction for extra event which 
	was causing main/key windows to get out of sync in the backend and 
	gui.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29349 72102866-910b-0410-8b05-ffd578937521
2010-01-21 20:43:46 +00:00
Gregory John Casamento
19150c94d0 * Headers/win32/WIN32Server.h: Added decodeWM_MOUSEACTIVATE:..
* Source/win32/w32_general.m: Added call to decodeWM_COMMAND:
	to -[GSTheme processCommand:] the theme callback which handles 
	native menus, 


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29279 72102866-910b-0410-8b05-ffd578937521
2010-01-14 10:40:29 +00:00
Riccardo Mottola
a520fd608c generate the window leave event only for WM_INACTIVE
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29256 72102866-910b-0410-8b05-ffd578937521
2010-01-10 18:34:30 +00:00
Riccardo Mottola
f126c3ced8 generate GSAppKitWindowLeave leave events
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29253 72102866-910b-0410-8b05-ffd578937521
2010-01-10 11:29:36 +00:00
Fred Kiefer
938a6dd65a Send an event directly to the window on focus in, instead of handling
this here ourselves.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29240 72102866-910b-0410-8b05-ffd578937521
2010-01-08 20:46:35 +00:00
Riccardo Mottola
50ced01cf2 Remove left-over call to a mouse down event in a mouse-up
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29025 72102866-910b-0410-8b05-ffd578937521
2009-11-16 22:49:29 +00:00
Richard Frith-MacDonald
43eaa1d512 fix for missing mouse down events
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28989 72102866-910b-0410-8b05-ffd578937521
2009-11-10 14:45:50 +00:00
Richard Frith-MacDonald
76b8a13298 ensure GSTheme is initialialised before determining whether to decorate windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28982 72102866-910b-0410-8b05-ffd578937521
2009-11-09 12:14:31 +00:00
Richard Frith-MacDonald
5286906961 fixup for consistency with X11 backend
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28978 72102866-910b-0410-8b05-ffd578937521
2009-11-09 09:34:09 +00:00
Richard Frith-MacDonald
19c1a931bb commit alpha tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28953 72102866-910b-0410-8b05-ffd578937521
2009-11-04 12:09:15 +00:00
Richard Frith-MacDonald
22cf7533eb fix accidental commit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28932 72102866-910b-0410-8b05-ffd578937521
2009-11-01 17:51:08 +00:00
Richard Frith-MacDonald
be032bb1cc first go at GSReadRect
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28931 72102866-910b-0410-8b05-ffd578937521
2009-11-01 17:43:42 +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
19b62c7318 Remove special code in GLContext subwindow for different border handling
cases.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27944 72102866-910b-0410-8b05-ffd578937521
2009-02-21 22:23:38 +00:00
Riccardo Mottola
1cbd3fa6ed handle altgr, bug #25397
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27858 72102866-910b-0410-8b05-ffd578937521
2009-02-13 19:15:20 +00:00
Richard Frith-MacDonald
fb8176ebc4 temporarily comment out code to fix #25482
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27769 72102866-910b-0410-8b05-ffd578937521
2009-02-03 18:18:25 +00:00
Richard Frith-MacDonald
e71618164d Fix typo in method to set parent window of a child, optimise color handling in themes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27742 72102866-910b-0410-8b05-ffd578937521
2009-01-31 09:59:32 +00:00
Fred Kiefer
f99e97c43e Implement new method -setPartentWindow:forChildWindow: for X and
Windows.

Adjust y coordinate of point in compositeGState:... for cairo. This
solves bug #24709. 


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27718 72102866-910b-0410-8b05-ffd578937521
2009-01-29 09:32:32 +00:00
Nicola Pero
39076b64a9 Removed GNUSTEP_CORE_SOFTWARE=YES from makefiles and instead set PACKAGE_NAME=gnustep-back
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27349 72102866-910b-0410-8b05-ffd578937521
2008-12-19 13:05:05 +00:00
Nicola Pero
417a0e2cbf Set GNUSTEP_CORE_SOFTWARE to YES so that gnustep-back is installed by default in SYSTEM if gnustep-make has been configured with --disable-packages
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27335 72102866-910b-0410-8b05-ffd578937521
2008-12-18 18:51:49 +00:00
Richard Frith-MacDonald
aeddc7b908 Fix #24671
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27192 72102866-910b-0410-8b05-ffd578937521
2008-12-02 22:51:34 +00:00
Fred Kiefer
04974644c9 Implement transparent windows on MS Windows.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26963 72102866-910b-0410-8b05-ffd578937521
2008-10-24 17:35:45 +00:00
Fred Kiefer
6c257ccc1f Removed left over unused variable in windowbounds:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26927 72102866-910b-0410-8b05-ffd578937521
2008-10-17 15:37:26 +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
7a19a2cd69 Add change missing in last commit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26925 72102866-910b-0410-8b05-ffd578937521
2008-10-17 14:57:03 +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
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
Fred Kiefer
12c58e77d0 Small fix to last change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26244 72102866-910b-0410-8b05-ffd578937521
2008-03-07 23:15:07 +00:00
Fred Kiefer
3c163d1c72 New method used in window::::, stylewindow: and styleoffsets:::::.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26243 72102866-910b-0410-8b05-ffd578937521
2008-03-07 23:11:02 +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
70843be41c fix 22274
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26223 72102866-910b-0410-8b05-ffd578937521
2008-03-06 10:08:30 +00:00
Richard Frith-MacDonald
78ee5962c6 fixups for implementation of window levels support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26218 72102866-910b-0410-8b05-ffd578937521
2008-03-06 06:19:02 +00:00
Richard Frith-MacDonald
28d61c7a23 keep desktop level winodws at bottom of stack
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26204 72102866-910b-0410-8b05-ffd578937521
2008-03-05 13:42:45 +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
Fred Kiefer
4ef86c5bc1 Rewrite of windowStyleForGSStyle: to handle more combination of styles
correctly.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26069 72102866-910b-0410-8b05-ffd578937521
2008-02-14 23:02:09 +00:00
Fred Kiefer
60296637a0 Another mistype.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26068 72102866-910b-0410-8b05-ffd578937521
2008-02-14 22:33:30 +00:00
Fred Kiefer
a3ff42f0db Changelog entry and correction of last patch.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26067 72102866-910b-0410-8b05-ffd578937521
2008-02-14 22:32:30 +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