all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Windows scrollbar
@ 2002-09-05  7:08 Peter 'Luna' Runestig
  2002-09-06  6:42 ` Peter 'Luna' Runestig
  0 siblings, 1 reply; 2+ messages in thread
From: Peter 'Luna' Runestig @ 2002-09-05  7:08 UTC (permalink / raw)


Hi all!

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.)

Cheers,
- 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Windows scrollbar
  2002-09-05  7:08 Windows scrollbar Peter 'Luna' Runestig
@ 2002-09-06  6:42 ` Peter 'Luna' Runestig
  0 siblings, 0 replies; 2+ messages in thread
From: Peter 'Luna' Runestig @ 2002-09-06  6:42 UTC (permalink / raw)


> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-09-06  6:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-05  7:08 Windows scrollbar Peter 'Luna' Runestig
2002-09-06  6:42 ` Peter 'Luna' Runestig

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.