From: "Peter 'Luna' Runestig" <peter@runestig.com>
Subject: Re: Windows scrollbar
Date: Fri, 6 Sep 2002 08:42:19 +0200 [thread overview]
Message-ID: <002d01c25570$8c560160$64110b0a@datavis.se> (raw)
In-Reply-To: 002901c254ab$127f2b20$34031fac@datavis.se
> Is there any work being done on improving the scroll bar on the MS
> Windows version? (Just so I don't look at something that's already
> looked upon.)
OK... But maybe some kind soul can help me understand something that I
just can't get:
In w32_scroll_bar_handle_click() (w32term.c:8494), the scroll bar window
messages are processed, and the result is passed back like this:
XSETINT (emacs_event->x, y);
XSETINT (emacs_event->y, top_range);
Then, in make_lispy_event() (keyboard.c:5256), x and y are used like
this:
portion_whole = Fcons (event->x, event->y);
part = *scroll_bar_parts[(int) event->part];
position =
Fcons (window,
Fcons (Qvertical_scroll_bar,
Fcons (portion_whole,
Fcons (make_number (event->timestamp),
Fcons (part, Qnil)))));
So my question is: What is x and y representing?
TIA,
- Peter
--
Peter 'Luna' Runestig (fd. Altberg), Sweden <peter@runestig.com>
PGP Key ID: 0xD07BBE13
Fingerprint: 7B5C 1F48 2997 C061 DE4B 42EA CB99 A35C D07B BE13
AOL Instant Messenger Screenname: PRunestig
prev parent reply other threads:[~2002-09-06 6:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-05 7:08 Windows scrollbar Peter 'Luna' Runestig
2002-09-06 6:42 ` Peter 'Luna' Runestig [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='002d01c25570$8c560160$64110b0a@datavis.se' \
--to=peter@runestig.com \
/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.