Mercurial > emacs
view etc/images/back-arrow.xpm @ 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 | 28718fa5d988 |
children |
line wrap: on
line source
/* XPM */ static char *back_arrow_xpm[] = { "24 24 30 1", " c #000000", ". c #53692A", "X c #59702D", "o c #657255", "O c #6D7A5B", "+ c #6D8839", "@ c #7C9B40", "# c #748261", "$ c #7F8E6B", "% c #818F71", "& c #879772", "* c #8C9A7F", "= c #85A24D", "- c #8BA859", "; c #92AD62", ": c #95A77E", "> c #98AF74", ", c #9BB572", "< c #9BAA87", "1 c #9CAF84", "2 c #A4B690", "3 c #A8BCA6", "4 c #ADBDA0", "5 c #AFC394", "6 c #BAD09D", "7 c #B5C3A9", "8 c #BED2A3", "9 c #D5E1C6", "0 c #FFFFFF", "q c None", "qqqqqqqqqqqqqqqqqqqqqqqq", "qqqqqqqqqqqqqqqqqqqqqqqq", "qqqqqqqqqqqqqqqqqqqqqqqq", "qqqqqqqqqq qqqqqqqqqqqqq", "qqqqqqqqq qqqqqqqqqqqqq", "qqqqqqqq 9 qqqqqqqqqqqqq", "qqqqqqq 96 qqqqqqqqqq", "qqqqqq 968664% qqqqqqqqq", "qqqqq 966666663 qqqqqqqq", "qqqq <666666666* qqqqqqq", "qqqqq X@@@@@@;67 qqqqqq", "qqqqqq .@@@@@@=6$ qqqqqq", "qqqqqqq .@ X@,2 qqqqqq", "qqqqqqqq X q +-6 qqqqqq", "qqqqqqqqq qq @6 qqqqqq", "qqqqqqqqqq qqq -: qqqqqq", "qqqqqqqqqqqqqq >o qqqqqq", "qqqqqqqqqqqqqq 5 qqqqqqq", "qqqqqqqqqqqqq 1O qqqqqqq", "qqqqqqqqqqqq &# qqqqqqqq", "qqqqqqqqqqqqq qqqqqqqqq", "qqqqqqqqqqqqqqqqqqqqqqqq", "qqqqqqqqqqqqqqqqqqqqqqqq", "qqqqqqqqqqqqqqqqqqqqqqqq"};