Method for smooth scrolling of text using window
First Claim
1. A method for a user to scroll a text image containing alphanumeric characters that are generated by a computer system from a text-based file, said computer system containing means for scrolling said text image at a granularity defined by said alphanumeric characters, said method comprising the steps of:
- generating a first window having a client area and displayed at a location on a computer monitor;
generating a second window having a client area that is larger than said client area of said first window;
positioning said client area of said second window such that said client area of said first window is positioned completely within said client area of said second window;
said second window being blocked from displaying on said computer monitor except for a portion of its client area which overlaps said client area of said first window;
drawing a first text image from said text-based file on said client area of said second window;
moving said second window from a starting location in a direction desired by said user, thereby displaying different portions of said text image on said computer monitor during moving;
returning said second window to said starting location when said text image has been moved in said moving step a distance corresponding to said granularity; and
drawing a second text image from said text-based file on said client area of said second window such that said first and said second images differ by said granularity.
1 Assignment
0 Petitions
Accused Products
Abstract
Text image on a monitor can be scrolled pixel-by-pixel instead of line-by-line or character-by-character. An application window (for showing images generated by an application) and a child window are generated. The text image is drawn on the child window instead of on the application window. The size of the application window is smaller than the child window. Only the portion of the child window overlapping the application window is displayed by a computer screen. If a user desires scrolling, the child window is moved, a pixel at a time, in a direction corresponding to the direction of scrolling. When a full line or a full character is scrolled, the child window clears itself and returns to its original position. At the same time, the text image is scrolled one line or one character on the child window so as to match the pixel-based scrolling. As a result, the user sees a smooth scrolling of a text image.
-
Citations
5 Claims
-
1. A method for a user to scroll a text image containing alphanumeric characters that are generated by a computer system from a text-based file, said computer system containing means for scrolling said text image at a granularity defined by said alphanumeric characters, said method comprising the steps of:
-
generating a first window having a client area and displayed at a location on a computer monitor; generating a second window having a client area that is larger than said client area of said first window; positioning said client area of said second window such that said client area of said first window is positioned completely within said client area of said second window; said second window being blocked from displaying on said computer monitor except for a portion of its client area which overlaps said client area of said first window; drawing a first text image from said text-based file on said client area of said second window; moving said second window from a starting location in a direction desired by said user, thereby displaying different portions of said text image on said computer monitor during moving; returning said second window to said starting location when said text image has been moved in said moving step a distance corresponding to said granularity; and drawing a second text image from said text-based file on said client area of said second window such that said first and said second images differ by said granularity. - View Dependent Claims (2, 3, 4, 5)
-
Specification