Mercurial > emacs
annotate nt/emacs.rc @ 112396:e79e716435f4
Make Nextstep port handle multiple screens for resize and move.
* nsterm.h (ns_output): Add dont_constrain and zooming.
(EmacsView): Add ns_userRect.
* nsterm.m (keyDown): If ns_right_alternate_modifier is Qleft, check
if ns_alternate_modifier is none.
* nsterm.m (x_set_offset, windowDidMove): When calculating y, use first
screen, not the window screen.
(x_set_window_size): Remove constraints.
Calculate origin.y only if zooming is 0 and without referring to a
screen.
(windowWillResize): Don't modify frameSize.
(windowDidBecomeKey, mouseDown): Set dont_constrain to 1.
(initFrameFromEmacs): Initialize ns_userRect.
(windowShouldZoom): Set zooming to one. Remove all other code.
(windowWillUseStandardFrame): Move static ns_userRect to EmacsView.
Zero it after restore.
(constrainFrameRect): New method for EmacsWindow.
(mouseDragged): Always post NSWindowDidResizeNotification after call to
windowWillResize.
author | Jan D. <jan.h.d@swipnet.se> |
---|---|
date | Fri, 21 Jan 2011 15:19:44 +0100 |
parents | 417b1e4d63cd |
children |
rev | line source |
---|---|
67135
21ae671f6702
* emacs.rc: Use new icons.
Chong Yidong <cyd@stupidchicken.com>
parents:
65729
diff
changeset
|
1 Emacs ICON icons\emacs.ico |
49374
4d1d2489581e
2003-01-21 David Ponce <david@dponce.com>
Jason Rumney <jasonr@gnu.org>
parents:
47215
diff
changeset
|
2 32649 CURSOR icons\hand.cur |
78024 | 3 1 24 "emacs.manifest" |
22297
2175b5131850
(VS_VERSION_INFO): Define.
Geoff Voelker <voelker@cs.washington.edu>
parents:
11764
diff
changeset
|
4 |
43397
212dbe6254e8
* emacs.rc: Define VS_VERSION_INFO if not already.
Jason Rumney <jasonr@gnu.org>
parents:
24855
diff
changeset
|
5 #ifndef VS_VERSION_INFO |
212dbe6254e8
* emacs.rc: Define VS_VERSION_INFO if not already.
Jason Rumney <jasonr@gnu.org>
parents:
24855
diff
changeset
|
6 #define VS_VERSION_INFO 1 |
212dbe6254e8
* emacs.rc: Define VS_VERSION_INFO if not already.
Jason Rumney <jasonr@gnu.org>
parents:
24855
diff
changeset
|
7 #endif |
212dbe6254e8
* emacs.rc: Define VS_VERSION_INFO if not already.
Jason Rumney <jasonr@gnu.org>
parents:
24855
diff
changeset
|
8 |
22297
2175b5131850
(VS_VERSION_INFO): Define.
Geoff Voelker <voelker@cs.washington.edu>
parents:
11764
diff
changeset
|
9 VS_VERSION_INFO VERSIONINFO |
107367
b4d27afff1bf
Bump version to 24.0.50.
Chong Yidong <cyd@stupidchicken.com>
parents:
107243
diff
changeset
|
10 FILEVERSION 24,0,50,0 |
b4d27afff1bf
Bump version to 24.0.50.
Chong Yidong <cyd@stupidchicken.com>
parents:
107243
diff
changeset
|
11 PRODUCTVERSION 24,0,50,0 |
22297
2175b5131850
(VS_VERSION_INFO): Define.
Geoff Voelker <voelker@cs.washington.edu>
parents:
11764
diff
changeset
|
12 FILEFLAGSMASK 0x3FL |
2175b5131850
(VS_VERSION_INFO): Define.
Geoff Voelker <voelker@cs.washington.edu>
parents:
11764
diff
changeset
|
13 #ifdef EMACSDEBUG |
2175b5131850
(VS_VERSION_INFO): Define.
Geoff Voelker <voelker@cs.washington.edu>
parents:
11764
diff
changeset
|
14 FILEFLAGS 0x1L |
2175b5131850
(VS_VERSION_INFO): Define.
Geoff Voelker <voelker@cs.washington.edu>
parents:
11764
diff
changeset
|
15 #else |
2175b5131850
(VS_VERSION_INFO): Define.
Geoff Voelker <voelker@cs.washington.edu>
parents:
11764
diff
changeset
|
16 FILEFLAGS 0x0L |
2175b5131850
(VS_VERSION_INFO): Define.
Geoff Voelker <voelker@cs.washington.edu>
parents:
11764
diff
changeset
|
17 #endif |
2175b5131850
(VS_VERSION_INFO): Define.
Geoff Voelker <voelker@cs.washington.edu>
parents:
11764
diff
changeset
|
18 FILEOS 0x40004L |
2175b5131850
(VS_VERSION_INFO): Define.
Geoff Voelker <voelker@cs.washington.edu>
parents:
11764
diff
changeset
|
19 FILETYPE 0x1L |
2175b5131850
(VS_VERSION_INFO): Define.
Geoff Voelker <voelker@cs.washington.edu>
parents:
11764
diff
changeset
|
20 FILESUBTYPE 0x0L |
2175b5131850
(VS_VERSION_INFO): Define.
Geoff Voelker <voelker@cs.washington.edu>
parents:
11764
diff
changeset
|
21 BEGIN |
2175b5131850
(VS_VERSION_INFO): Define.
Geoff Voelker <voelker@cs.washington.edu>
parents:
11764
diff
changeset
|
22 BLOCK "StringFileInfo" |
2175b5131850
(VS_VERSION_INFO): Define.
Geoff Voelker <voelker@cs.washington.edu>
parents:
11764
diff
changeset
|
23 BEGIN |
2175b5131850
(VS_VERSION_INFO): Define.
Geoff Voelker <voelker@cs.washington.edu>
parents:
11764
diff
changeset
|
24 BLOCK "040904B0" |
2175b5131850
(VS_VERSION_INFO): Define.
Geoff Voelker <voelker@cs.washington.edu>
parents:
11764
diff
changeset
|
25 BEGIN |
2175b5131850
(VS_VERSION_INFO): Define.
Geoff Voelker <voelker@cs.washington.edu>
parents:
11764
diff
changeset
|
26 VALUE "CompanyName", "Free Software Foundation\0" |
101505
069ee85473e4
Swap name and description. Remove Windows versions.
Jason Rumney <jasonr@gnu.org>
parents:
100954
diff
changeset
|
27 VALUE "FileDescription", "GNU Emacs: The extensible self-documenting text editor\0" |
107367
b4d27afff1bf
Bump version to 24.0.50.
Chong Yidong <cyd@stupidchicken.com>
parents:
107243
diff
changeset
|
28 VALUE "FileVersion", "24, 0, 50, 0\0" |
22297
2175b5131850
(VS_VERSION_INFO): Define.
Geoff Voelker <voelker@cs.washington.edu>
parents:
11764
diff
changeset
|
29 VALUE "InternalName", "Emacs\0" |
112218
376148b31b5e
Add 2011 to FSF/AIST copyright years.
Glenn Morris <rgm@gnu.org>
parents:
111933
diff
changeset
|
30 VALUE "LegalCopyright", "Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011\0" |
22297
2175b5131850
(VS_VERSION_INFO): Define.
Geoff Voelker <voelker@cs.washington.edu>
parents:
11764
diff
changeset
|
31 VALUE "OriginalFilename", "emacs.exe" |
101505
069ee85473e4
Swap name and description. Remove Windows versions.
Jason Rumney <jasonr@gnu.org>
parents:
100954
diff
changeset
|
32 VALUE "ProductName", "Emacs\0" |
107367
b4d27afff1bf
Bump version to 24.0.50.
Chong Yidong <cyd@stupidchicken.com>
parents:
107243
diff
changeset
|
33 VALUE "ProductVersion", "24, 0, 50, 0\0" |
22297
2175b5131850
(VS_VERSION_INFO): Define.
Geoff Voelker <voelker@cs.washington.edu>
parents:
11764
diff
changeset
|
34 VALUE "OLESelfRegister", "\0" |
2175b5131850
(VS_VERSION_INFO): Define.
Geoff Voelker <voelker@cs.washington.edu>
parents:
11764
diff
changeset
|
35 END |
2175b5131850
(VS_VERSION_INFO): Define.
Geoff Voelker <voelker@cs.washington.edu>
parents:
11764
diff
changeset
|
36 END |
2175b5131850
(VS_VERSION_INFO): Define.
Geoff Voelker <voelker@cs.washington.edu>
parents:
11764
diff
changeset
|
37 BLOCK "VarFileInfo" |
2175b5131850
(VS_VERSION_INFO): Define.
Geoff Voelker <voelker@cs.washington.edu>
parents:
11764
diff
changeset
|
38 BEGIN |
2175b5131850
(VS_VERSION_INFO): Define.
Geoff Voelker <voelker@cs.washington.edu>
parents:
11764
diff
changeset
|
39 VALUE "Translation", 0x409, 1200 |
2175b5131850
(VS_VERSION_INFO): Define.
Geoff Voelker <voelker@cs.washington.edu>
parents:
11764
diff
changeset
|
40 END |
2175b5131850
(VS_VERSION_INFO): Define.
Geoff Voelker <voelker@cs.washington.edu>
parents:
11764
diff
changeset
|
41 END |
2175b5131850
(VS_VERSION_INFO): Define.
Geoff Voelker <voelker@cs.washington.edu>
parents:
11764
diff
changeset
|
42 |