all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Joe Matarazzo <joe.matarazzo@gmail.com>
To: "Jan Djärv" <jan.h.d@swipnet.se>
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: Mon, 25 Aug 2014 22:48:25 -0700	[thread overview]
Message-ID: <CANs_5e4vqFpxCx5k5SSLfmDeaoFP_4afdE-o3bMrN5dbgULAUg@mail.gmail.com> (raw)
In-Reply-To: <4A401E63-BB83-45F5-B354-1E8F2ABC1684@swipnet.se>

[-- Attachment #1: Type: text/plain, Size: 1072 bytes --]

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)

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?

Thanks,
Joe

[-- Attachment #2: Type: text/html, Size: 1705 bytes --]

  reply	other threads:[~2014-08-26  5:48 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 [this message]
2014-08-29 15:26                 ` Jan Djärv

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=CANs_5e4vqFpxCx5k5SSLfmDeaoFP_4afdE-o3bMrN5dbgULAUg@mail.gmail.com \
    --to=joe.matarazzo@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=jan.h.d@swipnet.se \
    --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.