Le dim, mai 20, 2001, � 12:51:48 -0600, Patrick Sung a �crit:
> The problems is in ddisplay_update_scrollbars() in display.c, an extra
> area (namely 'extra_border_x' and 'extra_border_y' is added to the
> entire scrollable (by scroll bar) area (all 4 side). However with key
> scrolling it won't work because it never take those extra area into
> account. Since this extra area break a lot of scrolling function of
> Dia, I would to suggest to take it off for now until we can better
> define the scrollable area, drawing area, and viewing area (since this
> could affect a lot of code on display.c and some other files; and may
> also affect objects in Dia).
What is the impact of your change (what was the extra_border_[xy] variables
supposed to do) ?
> Below is two patches to fix the scrolling problem, one is remove the
> extra area, the other one is to add support for mouse wheel to scroll up
> and down.
I've applied the latter (mouse wheels), augmented with code to take into
account a second wheel (some rare mouses have a second, horizontal wheel).
I don't really understand what the first fix fixes.
-- Cyrille
--
Grumpf.