bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Windows scrollbar


From: Peter 'Luna' Runestig
Subject: Re: Windows scrollbar
Date: Fri, 6 Sep 2002 08:42:19 +0200

> 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







reply via email to

[Prev in Thread] Current Thread [Next in Thread]