Smooth scrolling system and method
AssigneeInternational Business Machines Corporation
InventorShumin Zhai
Life of this patent
Estimating the term…
Abstract
A system and method for smooth scrolling a document and/or window within a graphical user interface is disclosed. The present invention in some preferred embodiments permits augmentation of traditional LINE UP/DOWN, PAGE UP/DOWN, and manual THUMBTRACK scrolling with a smooth scrolling alternative that augments additional hardware input features that may be present on several user input devices such a mouse, trackball, touchpad, Thinkpoint™ pointing device and the like. The present invention generally solves the problem associated with providing the user the proper degree of scrolling feedback within the graphical user environment, irrespective of the size of the document being viewed.
Claims21
A method on an information processing system for smooth scrolling, comprising:
- obtaining a height and/or width of a window;
- obtaining metadata of a scroll bar in the window, wherein the metadata includes a current scroll bar position;
- receiving from a pointing device a scrolling signal associated with the window, wherein the scrolling signal includes input values of a scrolling indicator and a sensitivity factor;
- transforming the input values;
- normalizing a scroll box increment of the window according to a size of a document in the window;
- calculating a new scroll bar position based on the metadata of the scroll bar and the input values;
- and
- scrolling the window to the new scroll bar position.
A computer readable medium on an information processing system including computer instructions for smooth scrolling, the computer instructions including instructions for:
- obtaining a height and/or width of a window;
- obtaining metadata of a scroll bar in the window, wherein the metadata includes a current scroll bar position;
- receiving from a pointing device a scrolling signal associated with the window, wherein the scrolling signal includes input values of a scrolling indicator and a sensitivity factor;
- transforming the input values;
- normalizing a scroll box increment of the window according to a size of a document in the window;
- calculating a new scroll bar position based on the metadata of the scroll bar and the input values;
- and
- scrolling the window to the new scroll bar position.
An information processing system for smooth scrolling, comprising:
- a message filter module for receiving from a pointing device a scrolling signal associated with the window, wherein the scrolling signal includes input values of a scrolling indicator and a sensitivity factor;
- a transfer function module for transforming the input values;
- an API message generator for generating an API scroll message based on the input values that were transformed;
- an API message transmitter for transmitting the API scroll message to an application API;
- and
- an application for:
- obtaining a height and/or width of the window;
- obtaining metadata of a scroll bar in the window, wherein the metadata includes a current scroll bar position;
- normalizing a scroll box increment of the window according to a size of a document in the window;
- calculating a new scroll bar position based on the metadata of the scroll bar and the input values;
- and
- scrolling the window to the new scroll bar position.
Dependencies are inferred from the claim text.