There was a time when the most popular operating system for personal computers (DOS) did not include a graphical user interface. Any company could create a “menu” or “shell” which would be the first program launched upon starting the computer and which would present options to the user for launching and managing various applications. Although graphics programming was difficult in the DOS environment, some companies even created graphical user interfaces which could then launch other programs.
Microsoft Corporation of Redmond, Wash., introduced such a graphical user interface for launching applications which it called “Windows”. The first three versions of Windows were merely applications which ran under DOS and could be one of numerous items to be selected from a previously running shell or menu which might be offered by a company other than Microsoft. This continued to allow other companies to offer primary user interface programs to users without the user going through a Microsoft controlled user interface.
However, with the introduction by Microsoft of Windows 95™, the initial loading of the operating system presents a Microsoft developed graphical user interface at the outset which occupies the entire screen display. Microsoft arranged with manufacturers of the standard computer hardware to include this operating system with each computer sold. With Microsoft's domination of this market, it became impossible for other software vendors to present an interface to users other than as a Microsoft style icon within the Microsoft “desktop” consisting of the entire screen display. This prompted a need for access to a user interface which could be presented outside of the standard computer screen display and therefore independent of the dictates of Microsoft for items within its “desktop”.
Standard personal computers use VGA or Super VGA or XGA video display systems. These display systems operate in standardized modes such as 640×480 pixels, 800×600 pixels, 1024×768 pixels, and 1280×1024 pixels. When one of these display modes is selected, this is the entire area available for display. In the Microsoft Windows environment, the user instructs the Windows operating system to select one of these standard display modes and the Windows operating system then presents all of the applications and their icons within the selected display area. There is no way to cause the Windows “desktop” to use less than the entire display area and still function as intended and allow another program from another vendor to control the remainder.
The invention is a method for adding a user interface border beyond the standard screen display area. The VGA, SVGA and XGA video systems include a defined border surrounding the display area. The original purpose of this border was to allow adequate time for the horizontal and vertical retrace of the electron gun in a cathode ray tube display. However, as retrace speeds have increased in modern monitors, it is now possible to present a user interface display in this border. The border which can be controlled as a user interface is a portion of what is known as the “overscan”. This invention is a method for presenting a user interface in the overscan.
When the electron gun in a CRT retraces to the left of the screen or the top of the screen, it requires a significant amount of time relative to the presentation of a scanned line of data. During the retrace, the electron gun is turned off (“blanked”). If the blanking time required for the retrace is equal to the amount of time available, there is no usable overscan. However, modern monitors have become much faster in their retrace speeds, leaving a significant amount of time when the electron gun need not be blanked, allowing a displayable border. In the prior art, although the border is usually “black” (the gun is turned off), it is well-known to specify that the border shall be given any one of six colors. Standard BIOS allows a specification of this color. The desired color is simply specified in one of the registers for the video controller. No data for this color is stored in the buffer of video memory for the display. This invention establishes an additional video buffer for the border and allows his buffer to be written with display data like the regular display buffer. The display area is thereby expanded, on one or more edges, to provide a visible area previously invisible. The pixels within this newly visible area of the display are made accessible to programs though an application programming interface (API) component of this invention. A program incorporating a graphical user interface may be displayed in the previously blanked area of the display, functionally increasing the accessible area of the display without hardware modification.
The invention is a method for displaying an image on a video display system in an overscan area outside of the display area generated by the video display system. The standard display area is defined by two dimensions, each specifying a number of pixels. These dimensions are specified by selecting a video “mode”. The method is accomplished by adjusting parameters for the video display system to increase the number of pixels in at least one dimension of the display system. The number of pixels which is added is less than or equal to the difference between the number of pixels specified in the video mode and a maximum number of pixels which the video display system can effectively display. This difference is the overscan. Because all interface displays are created by writing a desired image to a buffer or memory for the video display, the method requires allocating additional video display memory for the increased pixels. The image written to such memory is then displayed by the system alongside the original display area.
In the preferred embodiment, only the vertical dimension is increased and the overscan user interface is presented below the standard display area. Alternatively, the horizontal dimension may be increased and the overscan user interface displayed to the right of the standard display area. Similarly, the interface image may be displayed on any or all of the four sides of the standard display area.
User input causing movement of a pointer or cursor on the display will move the cursor or pointer to the edge of the display area. The tip of the pointer will stop at the edge most pixel. A transparent window is created which includes the window of the overscan user interface and the adjoining two pixels of the display area. To allow events to be captured in the overscan area, the pointer is displayed off-set from the hotspot such that the hotspot remains within a two pixel-wide area of the standard display on the edge of the display and captured user events which occur while the hotspot is within the two pixel edge of the standard display adjoining the overscan user interface are interpreted as occurring within the overscan area.
Generally speaking, the present invention discloses a programming mechanism and interface in a computer system which provides access and visibility to a portion of the monitor display normally ignored and inaccessible (hereinafter “overscan area”).
The overscan interface may include, and is not limited to, buttons, menus, application output controls (such as a “ticker window”), animations, and user input controls (such as edit boxes). Because the overscan interface is not obscured by other applications running within the standard desktop, the overscan interface may be constantly visible or it may toggle between visible and invisible states based upon any of a number of programming parameters (including, but not limited to, the state of the active window, the state of a toggle button, etc).
The invention provides a method of painting and accessing an area of the computer display not normally accessible in graphics modes. In the Microsoft Windows environments (including Microsoft Window 95 and derivatives, and Microsoft Windows NT 4.0 and derivatives) and other contemporary operating environments, the “desktop” display area is assigned by the operating system to be one of a set of pre-determined video “modes” laid out in Tables 1 and 2 below, each of which is predefined at a specific pixel resolution. The accessible area of the computer display may not be modified except by selecting another one of the modes.
As shown in
For the preferred embodiment, only a border at the bottom of the standard display area is used. Consequently, only the vertical control parameters for the cathode ray tube (CRT) controller (CRTC) need to be adjusted. These parameters are shown in Table 3 below:
In the standard 640×480 graphics mode, the nominal horizontal scan rate is 31.5 KHz (31,500 times per second) with a vertical scan rate of 60 Hz (60 frames per second). So the number of lines in one frame is 31,500/60, or 525. Because only 480 lines of data need to be displayed, there are 525-480, or 45, lines available for vertical overscan. Leaving more than adequate margin for retrace, which requires only 2 lines worth of time, the preferred embodiment uses 20 lines for the invented overscan display.
The invention is accomplished by achieving three requirements:
(1) to address and modify the visible resolution of the video display system such that portions of the overscan area are visible as shown in
(2) to address and modify the video display memory contents for the visible portion of the overscan area, painting as to a portion of the standard desktop display area, and
(3) to provide an application programming interface (API) to allow applications to implement this functionality.
On initialization, step 102, the program determines the size and locations of any display modifications it will make. As described in
If, at step 104, the program was unable to access the BIOS data, or was unable to identify the display type, the user may be prompted at step 116 as to whether the program should continue to run in a standard window/toolbar. The program may either exit or proceed in “windowed-mode”.
The program determines the screen borders to be accessed, step 106, based upon user preferences, and determines whether sufficient video memory exists to make the necessary display changes. For example, if the screen is currently set to a 1024×768 resolution at 16 bits-per-pixel, and the program is to include four graphical interface bars, one on each edge, with each bar 20 pixels deep, the program must check that video memory is greater than 1.7 MB (required number of bytes=PixelsWidth*BitsPerPixel*PixelsHeight).
The CRT Controller Registers which contain the number which are illustrated in
Having been successful to this point, the program can modify the display, step 114 and
If any of the foregoing routines returns a failure, the program prompts the user for a preference as to whether “windowed-mode” should be used or the program should exit, step 116.
Phase 2 of the invention begins by painting the new images into a standard offscreen buffer, step 118, as is commonly used in the art, and making the contents visible, step 120, as described in FIG. 10. If the program is in “windowed-mode”, step 156, the offscreen buffer is painted into the standard window client space, step 166, and made visible, step 164, using generic windowing-system routines. Otherwise, the linear window position address is mapped, step 158, as described in
The preferred embodiment application includes a standard application message loop, step 122, which processes system and user events. An example of a minimum functionality process loop is in FIG. 12. Here the application handles a minimal set of system events, such as painting requests, step 170, system resolution changes, step 172, and activation/deactivation, step 174. Here, too, is where user events, such as key or mouse events, may be handled, step 184, detailed in FIG. 13. System paint messages are handled by painting as appropriate into the offscreen buffer, step 178, and painting the window or display buffer, step 180, as appropriate, as described earlier in FIG. 10. System resolution messages are received whenever the system or user changes the screen or color resolution. The programs reset all registers to the correct new values, then changes the display resolution, step 182, as earlier described in
Other embodiments and variations of the invention will be apparent to one skilled in the art from a consideration of the specifications, drawings, and claims. It is intended that the scope of the invention be limited only by the scope of the following claims.
This invention relates to computer user interface displays and the use of the overscan border to present a user interface beyond the perimeter of a standard user interface display.
Number | Name | Date | Kind |
---|---|---|---|
4476464 | Hobbs | Oct 1984 | A |
4558413 | Schmidt et al. | Dec 1985 | A |
4586035 | Baker et al. | Apr 1986 | A |
4642790 | Minshull et al. | Feb 1987 | A |
4649499 | Sutton et al. | Mar 1987 | A |
4710761 | Kapur et al. | Dec 1987 | A |
4868765 | Diefendorff | Sep 1989 | A |
4899136 | Beard et al. | Feb 1990 | A |
4947257 | Fernandez et al. | Aug 1990 | A |
4972264 | Bishop et al. | Nov 1990 | A |
5001697 | Torres | Mar 1991 | A |
5036315 | Gurley | Jul 1991 | A |
5060170 | Bourgeois et al. | Oct 1991 | A |
5072412 | Henderson, Jr. et al. | Dec 1991 | A |
5119082 | Lumelsky et al. | Jun 1992 | A |
5146556 | Hullot et al. | Sep 1992 | A |
5202961 | Mills et al. | Apr 1993 | A |
5305435 | Bronson | Apr 1994 | A |
5339390 | Robertson et al. | Aug 1994 | A |
5367623 | Iwai et al. | Nov 1994 | A |
5367658 | Spear et al. | Nov 1994 | A |
5371871 | Spilo | Dec 1994 | A |
5394521 | Henderson, Jr. et al. | Feb 1995 | A |
5418572 | Nonweiler et al. | May 1995 | A |
5421009 | Platt | May 1995 | A |
5434969 | Heilveil et al. | Jul 1995 | A |
5473745 | Berry et al. | Dec 1995 | A |
5491795 | Beaudet et al. | Feb 1996 | A |
5500934 | Austin et al. | Mar 1996 | A |
5513342 | Leong et al. | Apr 1996 | A |
5521614 | Kotha et al. | May 1996 | A |
5561471 | Kim et al. | Oct 1996 | A |
5568603 | Chen et al. | Oct 1996 | A |
5586244 | Berry et al. | Dec 1996 | A |
5612715 | Karaki et al. | Mar 1997 | A |
5617526 | Oran et al. | Apr 1997 | A |
5619639 | Mast | Apr 1997 | A |
5621428 | King et al. | Apr 1997 | A |
5621904 | Elliott et al. | Apr 1997 | A |
5625782 | Soutome et al. | Apr 1997 | A |
5631825 | van Weele et al. | May 1997 | A |
5651127 | Gove et al. | Jul 1997 | A |
5652851 | Stone et al. | Jul 1997 | A |
5673403 | Brown et al. | Sep 1997 | A |
5675755 | Trueblood | Oct 1997 | A |
5680323 | Barnard | Oct 1997 | A |
5704050 | Redpath | Dec 1997 | A |
5724104 | Eom | Mar 1998 | A |
5742285 | Ueda | Apr 1998 | A |
5742797 | Celi, Jr. et al. | Apr 1998 | A |
5745109 | Nakano et al. | Apr 1998 | A |
5745762 | Celi, Jr. et al. | Apr 1998 | A |
5757386 | Celi, Jr. et al. | May 1998 | A |
5764964 | Dwin et al. | Jun 1998 | A |
5771042 | Santos-Gomez | Jun 1998 | A |
5793438 | Bedard | Aug 1998 | A |
5796393 | MacNaughton et al. | Aug 1998 | A |
5812132 | Goldstein | Sep 1998 | A |
5818416 | Hwang | Oct 1998 | A |
5825357 | Malamud et al. | Oct 1998 | A |
5831592 | Cahill, III | Nov 1998 | A |
5838296 | Butler et al. | Nov 1998 | A |
5847709 | Card et al. | Dec 1998 | A |
5850218 | LaJoie et al. | Dec 1998 | A |
5864347 | Inoue | Jan 1999 | A |
5874937 | Kesatoshi | Feb 1999 | A |
5874958 | Ludolph | Feb 1999 | A |
5874965 | Takai et al. | Feb 1999 | A |
5940077 | Amro | Aug 1999 | A |
5940610 | Baker et al. | Aug 1999 | A |
5995120 | Dye | Nov 1999 | A |
6002411 | Dye | Dec 1999 | A |
6008803 | Rowe et al. | Dec 1999 | A |
6025841 | Finkelstein et al. | Feb 2000 | A |
6025884 | Choi | Feb 2000 | A |
6067098 | Dye | May 2000 | A |
6081262 | Gill et al. | Jun 2000 | A |
6091430 | Bodin et al. | Jul 2000 | A |
6094230 | Han | Jul 2000 | A |
6108014 | Dye | Aug 2000 | A |
6118428 | Blackmon et al. | Sep 2000 | A |
6148346 | Hanson | Nov 2000 | A |
6151059 | Schein et al. | Nov 2000 | A |
6172669 | Murphy et al. | Jan 2001 | B1 |
6185629 | Simpson et al. | Feb 2001 | B1 |
6295057 | Rosin et al. | Sep 2001 | B1 |
6320577 | Alexander | Nov 2001 | B1 |
6356284 | Manduley et al. | Mar 2002 | B1 |
6426762 | Nason et al. | Jul 2002 | B1 |
6437809 | Nason et al. | Aug 2002 | B1 |
6570595 | Porter | May 2003 | B2 |
20010018673 | Goldband et al. | Aug 2001 | A1 |
20020035592 | Wu et al. | Mar 2002 | A1 |
Number | Date | Country |
---|---|---|
0419765 | Apr 1991 | EP |
0564174 | Oct 1993 | EP |
0747805 | Dec 1996 | EP |
11167478 | Jun 1999 | JP |
302453 | Apr 1997 | TW |
357304 | May 1999 | TW |
WO 9634467 | Oct 1996 | WO |
WO 9721183 | Jun 1997 | WO |
WO 9927517 | Jun 1999 | WO |
Number | Date | Country | |
---|---|---|---|
20020149593 A1 | Oct 2002 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 09780594 | Feb 2001 | US |
Child | 10114857 | US | |
Parent | 09434676 | Nov 1999 | US |
Child | 09780594 | US | |
Parent | 08975268 | Nov 1997 | US |
Child | 09434676 | US |