The invention relates to display of a symbol to represent a mouse cursor on a computer display.
Computer based Graphical User Interface (GUI) tools, such as drawing packages or editors, allow a user to manipulate items on a display surface of a graphical window using the mouse pointer/cursor. This may involve selecting a figure or element of text and then dragging or moving it to a new location. Alternatively, it may involve selecting an item from a palette and then moving the cursor over a target location in the diagram before performing an operation to add the item to the diagram by performing a gesture such as pressing and releasing a mouse button. During one of these gestures, as the cursor is being moved and the operation is being prepared, the user is given feedback which indicates to them how the task will be performed. One form of feedback commonly found in drawing tools is to change the cursor symbol. An example of this is when the cursor symbol is changed to indicate the type of task/operation which can be performed or is being performed. For example, the cursor symbol may be changed to a North South (NS) arrow when the cursor is over the top edge of a graphic in order to indicate that this is the edge that will be moved, or to a “no entry” or “not” symbol when the operation is invalid.
Alternatively, for example, when the cursor is over an area which results in an item being moved or placed, the cursor symbol may change to a “+”, an arrow or a pen symbol depending on the operation.
Further in U.S. Pat. No. 6,437,800 an information cursor is provided which displays, with the pointing portion of the cursor symbol, information about an object which is being pointed at by the pointing portion. Such information could be the name of the object, a preview of the object or property information about the object.
Further, when an operation being performed with a cursor in a graphical package is associated with position constraints, a status bar or feedback area may be displayed in the package to show the position information pertaining to the cursor. Such position information may be used in completing the operation and could, for example, comprise an X and Y position where a drop will occur. In this situation the user has two feedback areas to look at, the cursor which they are moving, and also the status line label that contains the constraint information.
A problem with this is that it requires the user to switch vision between the two areas when performing the operation. This makes the operation relatively difficult to execute with precision, slower to complete, and further may contribute to physical eye strain.
Alternatively, in some graphical packages a separate feedback area can be shown beneath the cursor when the cursor is moved. A problem with this is that the cursor symbol can obscure this area. Further, because the cursor symbol has a very high priority in an operating system, updates to the cursor happen more quickly than updates to the feedback area made by the graphical package. As a result there is a performance lag in which the cursor can have moved and feedback displayed in the feedback area becomes stale.
The present invention addresses this problem by providing a cursor symbol which comprises, in addition to an image which represents an operation which can be or is being performed, a further feedback area which shows additional status information pertaining to the operation.
Accordingly, according to a first aspect the invention provides a data processing method for displaying status information relating to a mouse operation with a mouse cursor, the method comprising: receiving an event which indicates that the mouse cursor has moved; creating a cursor symbol comprising: an image which provides a visual indication of an operation which can be performed with the cursor at the cursor position; and a status area which provides additional status information pertaining to the operation; and causing the cursor symbol to be displayed.
According to a second aspect the present invention provides a data processing apparatus comprising: an element which receives an event which indicates that a mouse cursor has moved; an element which creates a cursor symbol comprising: an image which provides a visual indication of an operation which can be performed with the cursor at the cursor position; and a status area which provides additional status information pertaining to the operation; and an element for causing the cursor symbol to be displayed.
According to a third aspect the present invention provides a computer program product comprising instructions which, when executed on a data processing host, cause said host to carry out a method comprising the steps of: receiving an event which indicates that the mouse cursor has moved; creating a cursor symbol comprising: an image which provides a visual indication of an operation which can be performed with the cursor at the cursor position; and a status area which provides additional status information pertaining to the operation; and causing the cursor symbol to be displayed.
Preferably, in the cursor symbol created, the relative positions of the image and status area are selected according to the current position of the cursor. This enables the status area to be displayed in a way that, for example, does not obscure other important information on the display on which the cursor symbol is to be displayed.
Preferably the status area includes position information associated with the operation. The position information could be anything which enables the position of the cursor to be determined in a manner meaningful to the operation being performed. For example position information could be X and Y co-ordinates relative to the corner of a display window, such co-ordinates being expressed, for example, as horizontal and vertical pixel counts, units of distance measurement (e.g.: millimetres), or a row and column numbers.
Alternatively the status area could include, for example, the estimated time for the operation to complete, or any other status information pertaining to the operation being performed.
The invention will now be described, by way of example only, with reference to a preferred embodiment thereof, as illustrated in the accompanying drawings, in which:
a to 5d show the display of a cursor symbol which is created according to the present invention and includes position information in the status area included with the cursor symbol;
Note that in the drawings like reference numbers represent corresponding parts throughout.
In GUI platforms, for example Microsoft Windows and Linux GTK, the cursor symbol is an optimised resource which has priority over any other GUI element and runs in a dedicated process. This ensures that the cursor symbol is always displayed on top of any graphic window and further the cursor symbol changes rapidly to indicate available operations. The present invention makes use of these attributes of the cursor symbol by adding additional position information to the cursor symbol.
a to 5d show the display of a cursor symbol which is created according to the present invention and includes position information in the status area included with the cursor symbol. In
c shows the display when the cursor is at position 12,162 which is near to the bottom of the graphic window. In this case, because the cursor symbol has drawing priority over GUI components such as graphic windows, it is drawn on top of whatever is beneath it. Accordingly the cursor symbol is not clipped when it goes outside the bounds of the GUI itself, and position information 504 shown beyond the confines of the graphic window.
The preferred embodiment works by creating the cursor symbol during callback events which are raised by the operating system when the mouse is being moved. The cursor symbol is created with a static image and a status area containing position information. For example the static image could reflect the current usage of the cursor within a GUI tool and could be a North-South, “No-entry”, pen or arrow image as shown in
In the preferred embodiment the position information comprises X and Y co-ordinates of the cursor position relative to the top left corner of the window of the graphics package. Note that the X and Y co-ordinates would be in terms of units such as a unit of distance measure (inches, fractions of an inch, millimetre, centimetre etc.) pixels, or any unit used by the GUI tool. For example, in an alternative embodiment the position information could provide a grid row and column number, such as a cell within a spreadsheet or grid based drawing program. For example the co-ordinates could be alphabetic or numeric. Further position information may be displayed relative to a different reference point such as any corner or centre of the computer or graphic package display or any other significant point on the display.
Further note that whilst
Note that a skilled person in the art would realise that the method described with reference to
Accordingly, the present invention provides a method, data processing apparatus and computer program product which displays status information with the mouse symbol, the status information relating to an operation being performed with a mouse cursor. For example, the status information may provides position co-ordinates relating to the cursor symbol.
Number | Date | Country | Kind |
---|---|---|---|
0417957.8 | Aug 2004 | GB | national |