From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?iso-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Feedback request for x_set_mouse_color on NextSTEP/MacOS Date: Fri, 29 Aug 2014 17:26:54 +0200 Message-ID: References: <53EC5A0D.2010104@swipnet.se> <5845089A-A99C-4D72-825F-80E8C9136F00@swipnet.se> <4A401E63-BB83-45F5-B354-1E8F2ABC1684@swipnet.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1409326060 30976 80.91.229.3 (29 Aug 2014 15:27:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Aug 2014 15:27:40 +0000 (UTC) Cc: Stefan Monnier , Emacs development discussions To: Joe Matarazzo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 29 17:27:33 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XNO5H-0000mj-1P for ged-emacs-devel@m.gmane.org; Fri, 29 Aug 2014 17:27:27 +0200 Original-Received: from localhost ([::1]:42606 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XNO5G-0007nR-IV for ged-emacs-devel@m.gmane.org; Fri, 29 Aug 2014 11:27:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60157) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XNO4y-0007mN-1A for emacs-devel@gnu.org; Fri, 29 Aug 2014 11:27:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XNO4q-0006Zc-H4 for emacs-devel@gnu.org; Fri, 29 Aug 2014 11:27:07 -0400 Original-Received: from mailfe06.swip.net ([212.247.154.161]:58481 helo=swip.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XNO4q-0006ZA-Ab for emacs-devel@gnu.org; Fri, 29 Aug 2014 11:27:00 -0400 X-T2-Spam-Status: No, hits=0.8 required=5.0 tests=BAYES_50 Original-Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe06.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 525572221; Fri, 29 Aug 2014 17:26:55 +0200 In-Reply-To: X-Mailer: Apple Mail (2.1878.6) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 212.247.154.161 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:173889 Archived-At: Hello. 26 aug 2014 kl. 07:48 skrev Joe Matarazzo : > Some implementation questions: >=20 > 1. The source tree includes a "left pointer" xbm that I was able to = leverage for the arrow cursor. However, > it doesn't visually match the Mac OS system arrow cursor. Also, it = doesn't scale well if the Accessibility panel > mouse cursor size slider is used to grow the cursor size. I've found = that you need to provide an NSImage > with multiple higher resolution NSImageRep's underneath to get nice = scaled cursors. >=20 > Would it be preferable to use the included src/bitmaps/leftptr.xbm and = adhere to more of an X display, or > adhere more to the style of the GNU/NeXTStep cursors and roll my own = bitmap? (This is for the "nontext_cursor" > in nsfns.m) leftptr.xbm is only used for the old (in practice never used) menu = implementation. Normal is to use platform cursors. If you can make a = good image for NS go for it. >=20 > 2. The source tree doesn't have an equivalent i-beam cursor that MacOS = uses for the text_cursor, that I could > see. If I end up creating one to match the system style and also = provide color control, it influences the answer to > #1, IMO. What guidance can the dev-list offer on this point? Add a new = XBM to src/bitmaps or make it=20 > NS-specific, with the added scaling goodness that follows? See above. Jan D.