This application is based upon and claims the benefit of priority from Japanese patent application No. 2008-101403, filed on Apr. 9, 2008, the disclosure of which is incorporated herein in its entirety by reference.
The present information relates to an information processing apparatus, and more specifically, to an information processing apparatus, a window display method, and a computer readable medium to store a display control program which performs multi-window display control.
Multi-window display schemes to display multiple windows simultaneously are widely used for the operation screens of personal computers and various other kinds of information equipment. A typical multi-window display scheme allows users to, for example, quickly change between currently running multiple application software and move user data between multiple application software.
Many of the multi-window systems used today adopt overlap display mode, wherein windows can be displayed in an overlapping form. Since windows are displayed overlapping each other in overlap display mode, it is desirable that a user can easily change between windows to display his/her desired window in the foreground.
An example of this kind of prior art is the one disclosed in Japanese Patent Laying-Open No. 04-215122 (Patent Literature 1). In this art, the window over which the pointer of a pointing device, such as a mouse, is located for a predetermined length of time is displayed in the foreground. Therefore, a user can easily specify a change-to window.
The prior art disclosed in Japanese Patent Laying-Open No. 07-261733 (Patent Literature 2), on the other hand, changes the order of overlapping windows when a specific operation (action) is performed by the pointing device, regardless of the location of the pointer on the screen. By this, a user can change between windows simply by performing the specific operation, without having to move the pointer onto the desired window.
Patent Literature 1: Japanese Patent Laying-Open No. 04-215122
Patent Literature 2: Japanese Patent Laying-Open No. 07-261733
However, with the multi-window display schemes of these prior arts, users may not be able to display their desired window in the foreground quickly, especially when many windows are overlapping each other. For example, in order to select a window using a pointing device, which is the most commonly performed operation to display the desired window in the foreground, the window to be displayed in the foreground must be visible to the user. In other words, if the desired window is entirely hidden behind the other windows so that the pointer cannot be placed over that window, it is impossible to display the desired window in the foreground. This is also true with the prior art of Patent Literature 1.
Furthermore, in the art of Patent Literature 2, since the relative positions of overlapping windows are changed in a specific order, it may take some time before the desired window is displayed in the foreground. Thus, users may not be able to use the windows in an intuitive manner, in particular because of the possibility that a window at a completely different position from the desired window may be displayed in the foreground.
Another possible method of displaying the desired window in the foreground is to select the desired window from a list which shows the icons of all the opened windows. This method also has a problem in that there is no relevance between the actual window positions and the arrangement of windows within the list. In this case, the more opened windows are, the less easy it becomes to find the icon or other item associated with the desired window, leading to decreased operational efficiency.
An object of the present information is to provide an information processing apparatus, a window display method, and a computer readable medium to store a display control program which, in multi-window display control, allows a user to select and change the display to his/her desired window quickly with an intuitive operation.
A first exemplary aspect of the invention, an information processing apparatus for multi-window display control, includes a change unit which searches among windows displayed on the screen for a window which at least partially overlaps an area identified based on a designated position and changes the display of the found window so that the found window will be sequentially displayed in the foreground on the screen.
A second exemplary aspect of the invention, a widow display method for an information processing apparatus for multi-window display control, comprises a search step of searching among windows displayed on the screen for a window which at least partially overlaps an area identified based on a designated position, and a display change step of changing the display of the found window so that the found window will be sequentially displayed in the foreground on the screen.
A third exemplary aspect of the invention, a computer readable medium storing a display control program which runs on an information processing apparatus for multi-window display control, the display control program comprises a search processing of searching among windows displayed on the screen for a window which at least partially overlaps an area identified based on a designated position, and a display change processing of changing the display of the found window so that the found window will be sequentially displayed in the foreground on the screen.
According to the present information, in multi-window display in which a plurality of windows overlap each other, a user can select and change the display to his/her desired window quickly with an intuitive operation.
A first exemplary embodiment of the invention will now be described in detail with reference to the drawings.
With reference to
As shown in
The display apparatus 200 is realized with a display device, such as an LCD (Liquid Crystal Display) and a CRT (Cathode Ray Tube). This display device is, in general, a bit-map display.
The input apparatus 300 is realized with a key input device 301 and a pointing device 302. In general, the key input device 301 is a keyboard and the pointing device 302 is a mouse or a pen device.
The information processing apparatus 100 comprises a window change operation detection unit 101, a window change unit 102, a selection area change operation detection unit 103, and a selection area change unit 104. The components described above can be realized as software by storing a program which provides the functions of these components and executing the program on the CPU on the information processing apparatus 100. The information processing apparatus 100 further comprises an area selection information storage unit 105 and a screen storage unit 106. These components are realized with a storage apparatus, such as a memory or a magnetic disc apparatus. The storage apparatus of the information processing apparatus 100 stores a window management table 107.
When the user performs a window change operation through the input apparatus 300, the window change operation detection unit 101 detects this operation, and reads the position (coordinates) of the pointer of the pointing device 302 (mouse cursor if the pointing device 302 is a mouse) as of the detection of the change operation. The window change operation detection unit 101 also causes the screen storage unit 106 to store the image of the screen displayed on the display apparatus 200. In a multi-monitor environment, the bit map images of all the monitor screens are stored, rather than only the monitor on which the change operation was performed.
Possible window change operations include an operation of pressing a specific combination of keys of the keyboard 301 simultaneously and a specific action made using the pointing device 302. It should be noted, however, that the concrete content of such operation or action is not limited to specific ones in this exemplary embodiment. Therefore, any operation or action may be configured.
The window change unit 102 calculates a change area for selecting a change-to window, in response to the detection of a window change operation by the window change operation detection unit 101 or based on the position of the pointer read by the window change operation detection unit 101. The window change unit 102 then draws a change area on the screen of the display apparatus 200.
The window change unit 102 also searches the window management table 107 sequentially for a window (change-to window) which at least partially overlaps the change area, and causes the window to be displayed in the foreground on the screen of the display apparatus 200. The window change unit 102 then refreshes the contents of the entries on the window management table 107 according to this display change action.
The selection area change operation detection unit 103 accepts an operation to change the shape and/or size of the change area, performed by the user through the input apparatus 300, and instructs the selection area change unit 104 to refresh the change area. In addition, the selection area change operation detection unit 103 reads the position of the pointer as of accepting the operation and notifies the obtained coordinates to the window change operation detection unit 101.
According to the operation accepted by the selection area change operation detection unit 103, the selection area change unit 104 refreshes the contents stored in the area selection information storage unit 105 to change the shape and/or size of the change area.
The area selection information storage unit 105 stores information concerning the shape and size of the change area for use when selecting a change-to window. These values may be predetermined or may be dynamically changed as the area is selected. The change area is a few-dot range around the coordinates designated with the pointing device (the position of the pointer or the position pointed to by the pointer). The area is generally a rectangle or a circle, but it can be of any shape.
Possible operations to change the shape and/or shape of the change area include an operation of pressing a specific combination of keys of the keyboard 301 simultaneously and a specific action made using the pointing device 302. It should be noted, however, that the concrete content of such operation or action is not limited to specific ones in this exemplary embodiment. Therefore, any operation or action may be configured.
The screen storage unit 106 stores the bit map image of the screen of the display apparatus 200, according to the instruction from the window change operation detection unit 101. This image is used to restore the screen display of the display apparatus 200 upon the completion of the window change process.
The window management table 107 is a table to manage the windows on the screen of the display apparatus 200. In the window management table 107, information which shows the areas of the respective windows and information regarding the display statuses of these windows are registered. As shown in
“Window area coordinate information” above is information which is needed for calculation of window areas. As “window area coordinate information,” any values, not limited to a specific value, can be registered as long as they can identify window areas. For example, they may be a combination of values representing the coordinates of the upper left corner of a window, the width of the window, and the height of the window, as shown in the example of
“Window display status” above is information which indicates in what status a window is currently displayed. More specifically, information of whether the window is maximized, minimized or iconized, etc. is recorded as a “window display status.” Also for the window displayed in the foreground on the screen of the display apparatus 200, the information indicating such status is recorded.
It should be noted that information recorded in the “window area coordinate information” item of the window management table 107 is always the information concerning the area of a window in its maximized state, even if the window is minimized or iconized on the screen.
Next, the window display control process performed by the information processing apparatus 100 according to this exemplary embodiment structured as described above will be described, with reference to the flow chart of
When the user performs a window change operation through the input apparatus 300, the operation is detected by the window change operation detection unit 101 of the information processing apparatus 100 (Step 301). Following this, the position of the pointer is read and the image on the display screen is stored (Step 302).
Then, the window change unit 102 calculates the change area (Step 303). More specifically, the change area is calculated, by using the pointer position read in Step 302 as the reference and based on the information concerning the change area stored in the area selection information storage unit 105. The change area obtained from the calculation is drawn on the screen of the display apparatus 200 (Step 304).
The window change unit 102 then searches for the window management table 107 for the entry for the window currently displayed in the foreground (i.e. the entry whose attribute of the window display status is “displayed (foreground)”) (Step 305). In the example of
If the entry for the change-to window is found (Yes in Step 307), the window change unit 102 displays the window corresponding to this entry in the foreground and changes its window display status in the window management table 107 to “displayed (in the foreground)” (Step 308). If an entry whose window display status is “minimized” happens to be the entry to change to, the minimized window hidden from the screen will go into a normal display status and be displayed in the foreground on the screen. At the same time, the entry whose window display status on the window management table 107 is originally “displayed (in the foreground)” will be changed to a window display status of “displayed.”
The window change unit 102 then retrieves the screen image stored in the screen storage unit 106 and restores it on the screen of the display apparatus 200 (Step 309). In a multi-monitor environment, the screen images on all the monitors will be restored.
Finally, the window change unit 102 newly searches the window management table 107 for the entry whose “window display status” is “displayed (in the foreground),” and displays the window corresponding to that window identifier in the foreground on the screen of the display apparatus 200 and activates the window (Step 310).
If a window change operation is interrupted or aborted by an explicit operation by the user through the input apparatus 300, the window change unit 102 interrupts the current process and performs the processes of Steps 309 and 310. On completion, the change-to window being searched is displayed in the foreground on the screen of the display apparatus 200 and goes active.
On the other hand, if the change-to window is not found and a search for an entry whose display area overlaps the change area reaches the last entry on the window management table 107, the window change unit 102 goes back to the first entry on the table and continues the search through the window management table 107. If this search reaches the end of the table and returns to the entry whose window display status is “displayed (in the foreground)” (No in Step 307), the window change unit 102 determines that the change-to window does not exist and exits the current window change operation.
In the operation described above, when a window change operation is started with the pointer placed over a specific window, and if a window which at least partially overlaps the change area exists behind the specific window, it is the overlapping window that will be displayed in the foreground. To the contrary, if such other window does not exist, the window originally displayed will remain displayed in the foreground.
Next, the operation of the information processing apparatus 100 when an operation to change the shape and/or size of the change area is performed will be described, with reference to the flow chart of
When the user performs an operation to change the change area through the input apparatus 300, the operation is detected by the selection area change operation detection unit 103 of the information processing apparatus 100 (Step 401). The content of the area selection information storage unit 105 is then refreshed (Step 402). In addition, the pointer position is read and notified to the window change unit 102 (Step 403).
On receipt of the notification, the window change unit 102 newly retrieves the information concerning the shape and size of the change area stored in the selection information storage unit 105 (Step 404). Then, the change area is calculated, based on the pointer position received from the selection area change operation detection unit 103 (Step 405). The change area obtained from the calculation is drawn on the screen of the display apparatus 200 (Step 406).
As described above, according to this exemplary embodiment, in multi-window display in which a plurality of windows overlap each other, a user can select and change the display to his/her desired window quickly with an intuitive operation.
This is because, when a window change operation is performed, a window which at least partially overlaps the change area, which is set by using the pointer position as the reference, is searched automatically and, based on the result of the search, the display of the window is changed. The change area above is an area which has a certain expanse and a predetermined shape and size. Therefore, the user can change the window display simply by roughly designating a position with the pointer of the pointing device 302.
Next, the second embodiment of the present invention will be described.
In this exemplary embodiment, the change area is designated by the user with the pointing device 302, rather than being set by using the pointer position as the reference.
As shown in
The information processing apparatus 110 comprises a selection area designation operation detection unit 111, a window change operation detection unit 112, and a window change unit 113. The components described above can be realized as software by storing a program which provides the functions of these components and executing the program on the CPU on the information processing apparatus 110. The information processing apparatus 110 further comprises a selection area storage unit 114 and a screen storage unit 115. These components are realized with a storage apparatus, such as a memory or a magnetic disc apparatus. The storage apparatus of the information processing apparatus 110 stores a window management table 116.
When the user performs an operation to designate a specific area (hereinafter, “selection area”) through the input apparatus 300, the selection area designation operation detection unit 111 detects this operation and stores the information of the designated selection area in the selected area storage unit 114. The selection area is treated as a change area for selecting a change-to window.
Possible operations to designate a selection area include an operation of enclosing a desired area by dragging the pointing device 302. The designation of an area is accomplished by drawing an enclosed shape freehand. If it is difficult to enclose the drawn shape, the drawn shape may be deemed enclosed by, for example, having the start point and the end point of the drawing action connected automatically. It should be noted, however, that the concrete content of such operation or action is not limited to specific ones in this exemplary embodiment.
When the user performs a window change operation through the input apparatus 300, the window change operation detection unit 112 detects this operation, and reads the position (coordinates) of the pointer of the pointing device 302 (mouse cursor if the pointing device 302 is a mouse) as of the detection of the change operation. The window change operation detection unit 101 also causes the screen storage unit 106 to store the image of the screen displayed on the display apparatus 200. Possible window change operations are not limited to specific ones, similarly to the first exemplary embodiment.
The window change unit 113 draws a change area on the screen of the display apparatus 200, in response to the detection of a window change operation by the window change operation detection unit 112 or based on the information stored in the selection area storage unit 114.
The window change unit 113 also searches the window management table 116 sequentially for a window (change-to window) which at least partially overlaps the change area, and causes the window to be displayed in the foreground on the screen of the display apparatus 200. The window change unit 113 then refreshes the contents of the entries on the window management table 116 according to this display change action.
The selection area storage unit 114 stores the information (position, size, etc.) of the area designated with an operation to designate a selection area, according to the instruction from the selection area designation operation detection unit 111.
The screen storage unit 115 stores the bit map image of the screen of the display apparatus 200, according to the instruction from the window change operation detection unit 112. This image is used to restore the screen display of the display apparatus 200 upon the completion of the window change process.
The window management table 116 is a table to manage the windows on the screen of the display apparatus 200. In the window management table 116, information which shows the areas of the respective windows and information regarding the display statuses of these windows are registered.
Next, the window display control process performed by the information processing apparatus 110 according to this exemplary embodiment structured as described above will be described, with reference to the flow chart of
When the user performs an operation to designate a selection area through the input apparatus 300, the operation is detected by the selection area designation operation detection unit 111 of the information processing apparatus 110 (Step 601). The information of the designated selection area is stored in the selected area storage unit 114 (Step 602).
Next, when the user performs a window change operation through the input apparatus 300, the operation is detected by the window change operation detection unit 112 (Step 603), and the image of the display screen is stored (Step 604).
The window change unit 113 then searches the window management table 116 for the entry for the window currently displayed in the foreground (Step 605). After this, a change-to window is searched for sequentially, beginning with the entry immediately following the detected entry (Step 606). For this purpose, the target of search may be restricted to the entries whose window display status is “minimized.”
If the entry for the change-to window is found (Yes in Step 607), the window change unit 113 displays the window corresponding to this entry in the foreground and changes its window display status in the window management table 116 to “displayed (in the foreground)” (Step 608). If an entry whose window display status is “minimized” happens to be the entry to change to, the minimized window hidden from the screen will go into a normal display status and be displayed in the foreground on the screen. At the same time, the entry whose window display status on the window management table 116 is originally “displayed (in the foreground)” will be changed to a window display status of “displayed.”
The window change unit 113 then retrieves the screen image stored in the screen storage unit 115 and restores it on the screen of the display apparatus 200 (Step 609). In a multi-monitor environment, the screen images on all the monitors will be restored.
Finally, the window change unit 113 newly searches the window management table 116 for the entry whose “window display status” is “displayed (in the foreground),” and displays the window corresponding to that window identifier in the foreground on the screen of the display apparatus 200 and activates the window (Step 610).
If a window change operation is interrupted or aborted by an explicit operation by the user through the input apparatus 300, the window change unit 113 interrupts the current process and performs the processes of Steps 609 and 610. On completion, the change-to window being searched is displayed in the foreground on the screen of the display apparatus 200 and goes active.
On the other hand, if the change-to window is not found and a search for an entry whose display area overlaps the change area reaches the last entry on the window management table 116, the window change unit 113 goes back to the first entry on the table and continues the search through the window management table 116. If this search reaches the end of the table and returns to the entry whose window display status is “displayed (in the foreground)” (No in Step 607), the window change unit 102 determines that the change-to window does not exist and exits the current window change operation.
As described above, according to this exemplary embodiment, a user can select and change the display to his/her desired window quickly, with an even more intuitive operation than the first exemplary embodiment.
This is because a selection area treated as a change area is designated via an area drawn freehand with the pointing device 302. In other words, the user can casually point to a rough position on the screen and designate an area of any desired size at that position, thereby changing the display to a window which overlaps the designated area.
With reference to
As shown in
It goes without saying that the operation of the information processing apparatus 100, 101 according to these exemplary embodiments can be realized as hardware by implementing a circuit component, which is a hardware component, such as an LSI (Large Scale Integration), incorporating a display control program for display control in a multi-window environment. In addition, it can also be realized as software by storing a display control program that provides the functions achieved by the window change operation detection unit 101, window change unit 102, selection area change operation detection unit 103, selection area change unit 104, area selection information storage unit 105, screen storage unit 106, etc. in the auxiliary storage part 405, loading the program into the main storage part 402, and executing the program on the CPU 401.
While the present invention has been described by taking several preferred exemplary embodiments as examples, it should be appreciated that the invention is not limited to these exemplary embodiments but can be embodied with a variety of modifications without departing from the technical idea of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
2008-101403 | Apr 2008 | JP | national |