all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Joe Matarazzo <joe.matarazzo@gmail.com>
Cc: Stefan Monnier <monnier@iro.umontreal.ca>,
	Emacs development discussions <emacs-devel@gnu.org>
Subject: Re: [PATCH] Feedback request for x_set_mouse_color on NextSTEP/MacOS
Date: Fri, 29 Aug 2014 17:26:54 +0200	[thread overview]
Message-ID: <B7907EA5-EC91-4876-B423-48D290C971BC@swipnet.se> (raw)
In-Reply-To: <CANs_5e4vqFpxCx5k5SSLfmDeaoFP_4afdE-o3bMrN5dbgULAUg@mail.gmail.com>

Hello.

26 aug 2014 kl. 07:48 skrev Joe Matarazzo <joe.matarazzo@gmail.com>:

> Some implementation questions:
> 
> 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.
> 
> 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.

> 
> 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 
> NS-specific, with the added scaling goodness that follows?

See above.

	Jan D.





      reply	other threads:[~2014-08-29 15:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-12 18:32 [PATCH] Feedback request for x_set_mouse_color on NextSTEP/MacOS Joe Matarazzo
2014-08-14  6:41 ` Jan D.
2014-08-15 15:28   ` Joe Matarazzo
2014-08-15 16:29     ` Jan Djärv
2014-08-15 18:46       ` Stefan Monnier
2014-08-16  8:52         ` Jan Djärv
2014-08-17  3:06           ` Joe Matarazzo
2014-08-18 13:04             ` Jan Djärv
2014-08-26  5:48               ` Joe Matarazzo
2014-08-29 15:26                 ` Jan Djärv [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=B7907EA5-EC91-4876-B423-48D290C971BC@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=emacs-devel@gnu.org \
    --cc=joe.matarazzo@gmail.com \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.