1. Field of the Invention
The present invention is generally related to graphical user interfaces (GUIs), and more specifically to displaying radial menu items near edges of a display area.
2. Description of the Related Art
Most modern computers include applications that allow a user to interact with the application while performing operations associated with the applications. For example, an application may be configured to receive commands from the user to display data, modify data, initiate a particular task, and the like. In the past, user interaction with applications was facilitated by a command line interface. The command line interface allowed users to type predefined commands to interact with an application. However, command line interfaces require users to memorize large lists of commands to communicate with each application.
More recently, user interaction with applications has involved the use of graphical user interfaces, or GUIs. For example, most applications today are configured to display a window including a menu bar on a display screen. The menu bar may include one or more pull down menus including lists of functions and commands that may be used to interact with the application.
The present invention is generally related to graphical user interfaces (GUIs), and more specifically to displaying radial menu items near edges of a display area.
One embodiment of the invention provides a method for displaying a radial menu in a display area. The method generally comprises receiving a predefined screen pointer event in the display area, the display area comprising an initialization zone and an idle zone distinct from the initialization zone, determining a location of a screen pointer in the display area in response to receiving the predefined screen pointer event, and displaying the radial menu in the display area upon determining that the screen pointer is within the initialization zone.
Another embodiment of the invention provides a computer readable storage medium comprising a program product which, when executed by a processor is configured to perform an operation for displaying a radial menu in a display area. The operation generally comprises receiving a predefined screen pointer event in the display area, the display area comprising an initialization zone and an idle zone distinct from the initialization zone, determining a location of a screen pointer in the display area in response to receiving the predefined screen pointer event, and displaying the radial menu in the display area upon determining that the screen pointer is within the initialization zone.
Yet another embodiment of the invention provides a system, generally comprising a memory comprising a program and a processor. The processor, when executing the program, is generally configured to receive a predefined screen pointer event in a display area, the display area comprising an initialization zone and an idle zone distinct from the initialization zone, determine a location of a screen pointer in the display area in response to receiving the predefined screen pointer event, and display the radial menu in the display area upon determining that the screen pointer is within the initialization zone.
So that the manner in which the above recited features, advantages and objects of the present invention are attained and can be understood in detail, a more particular description of the invention, briefly summarized above, may be had by reference to the embodiments thereof which are illustrated in the appended drawings.
It is to be noted, however, that the appended drawings illustrate only typical embodiments of this invention and are therefore not to be considered limiting of its scope, for the invention may admit to other equally effective embodiments.
In the following, reference is made to embodiments of the invention. However, it should be understood that the invention is not limited to specific described embodiments. Instead, any combination of the following features and elements, whether related to different embodiments or not, is contemplated to implement and practice the invention. Furthermore, in various embodiments the invention provides numerous advantages over the prior art. However, although embodiments of the invention may achieve advantages over other possible solutions and/or over the prior art, whether or not a particular advantage is achieved by a given embodiment is not limiting of the invention. Thus, the following aspects, features, embodiments and advantages are merely illustrative and are not considered elements or limitations of the appended claims except where explicitly recited in a claim(s). Likewise, reference to “the invention” shall not be construed as a generalization of any inventive subject matter disclosed herein and shall not be considered to be an element or limitation of the appended claims except where explicitly recited in a claim(s).
One embodiment of the invention is implemented as a program product for use with a computer system. The program(s) of the program product defines functions of the embodiments (including the methods described herein) and can be contained on a variety of computer-readable storage media. Illustrative computer-readable storage media include, but are not limited to: (i) non-writable storage media (e.g., read-only memory devices within a computer such as CD-ROM disks readable by a CD-ROM drive) on which information is permanently stored; (ii) writable storage media (e.g., floppy disks within a diskette drive or hard-disk drive) on which alterable information is stored. Such computer-readable storage media, when carrying computer-readable instructions that direct the functions of the present invention, are embodiments of the present invention. Other media include communications media through which information is conveyed to a computer, such as through a computer or telephone network, including wireless communications networks. The latter embodiment specifically includes transmitting information to/from the Internet and other networks. Such communications media, when carrying computer-readable instructions that direct the functions of the present invention, are embodiments of the present invention. Broadly, computer-readable storage media and communications media may be referred to herein as computer-readable media.
In general, the routines executed to implement the embodiments of the invention, may be part of an operating system or a specific application, component, program, module, object, or sequence of instructions. The computer program of the present invention typically is comprised of a multitude of instructions that will be translated by the native computer into a machine-readable format and hence executable instructions. Also, programs are comprised of variables and data structures that either reside locally to the program or are found in memory or on storage devices. In addition, various programs described hereinafter may be identified based upon the application for which they are implemented in a specific embodiment of the invention. However, it should be appreciated that any particular program nomenclature that follows is used merely for convenience, and thus the invention should not be limited to use solely in any specific application identified and/or implied by such nomenclature.
The title bar 110 displays the application name and one or more buttons, including a close button 111, a maximize/restore button 112, and a minimize/restore 113. The close button, when clicked, may be configured to close the application, the maximize/restore button 112 may be configured to toggle the size of the GUI 100 between two predefined sizes (for example, a sized window and a maximized window), and the minimize/restore button 113 may be configured to reduce the GUI 100 into, for example, a task bar.
The menu bar 120 includes a plurality of menus including the File menu, Edit menu, View menu, Tools menu, and Help menu, as illustrated in
A particular item may be selected from a drop down menu by moving the mouse pointer vertically up and down the list until the mouse pointer is above a desired item. In some cases a visual indication of the particular item under the mouse pointer may be provided. For example, as illustrated in
Selecting a menu item may include performing a second mouse click to select the desired item. For example, a first mouse click on a desired menu may display menu items in a drop down list. A user may then move a mouse pointer vertically up and/or down until the mouse pointer is over a desired menu item. A visual indication, for example, shading may indicate the item over which the mouse pointer lies to aid the user in making the selection. Once the mouse pointer is above the desired menu item, a second click of the mouse may result in the selection of the menu item.
In some cases, a menu item may be a sub-menu. For example, the Send To item of the File Menu may be a sub-menu. Accordingly, as illustrated in
The GUI 100 provides several advantages over traditional command line interfaces. For example, a user of the GUI 100 need not memorize commands associated with a large number of menu items because he/she may simply explore and navigate the menu items via the menu bar to communicate with the application. However, menu bars and drop down menus are not efficient at allowing a user to quickly select a desired item. First, selecting a menu item requires at least two mouse clicks as described above. Second, in drop down menus having a large number of items, the menu items may be closely spaced, which may require the user to scan up and down along the menu several times before a desired item is found. Furthermore, drop down menus with a large number of closely spaced items have an increased probability of erroneous selection of menu items.
The inefficiency of drop down menus may adversely affect users of applications where a fast response time is desired from the user while interacting with the applications. For example, in a gaming application a user's response time in responding to a particular circumstance in the game may be critical to the user's performance in the game. As an example, in a game where performance is determined by the user's ability to defeat opponents in a battle, the ability of the user to detect and quickly attack opponents may be crucial to performing successfully completing the game.
Embodiments of the invention provide radial menus that allow users to quickly make selections of menu items using simple gestures. A radial menu may be displayed on a display screen in response to detecting a predefined screen pointer event such as a mouse click. Other screen pointer events may include touching the display screen with a finger or stylus pen, pressing one or more keys on a keyboard, receiving a voice command, and the like. Thereafter, a first stroke may be made with the screen pointer to activate a desired radial menu item. A predefined second stroke may be made to select the active radial menu item.
The network interface device 219 may be any entry/exit device configured to allow network communications between the system 200 and one or more other devices 291 via a network 290. For example, the network interface device 119 may be a network adapter or other network interface card (NIC).
Storage 216 is preferably a Direct Access Storage Device (DASD). Although it is shown as a single unit, it could be a combination of fixed and/or removable storage devices, such as fixed disc drives, floppy disc drives, tape drives, removable memory cards, or optical storage. The memory 212 and storage 216 could be part of one virtual address space spanning multiple primary and secondary storage devices.
The memory 212 is preferably a random access memory sufficiently large to hold the necessary programming and data structures of the invention. While memory 212 is shown as a single entity, it should be understood that memory 212 may in fact comprise a plurality of modules, and that memory 212 may exist at multiple levels, from high speed registers and caches to lower speed but larger DRAM chips.
Illustratively, the memory 212 contains an operating system 213. Illustrative operating systems, which may be used to advantage, include Linux (Linux is a trademark of Linus Torvalds in the US, other countries, or both) and Microsoft's Windows®. More generally, any operating system supporting the functions disclosed herein may be used.
Memory 212 may also include one or more applications 214. The applications 214 may be software products comprising a plurality of instructions that are resident at various times in memory and storage devices in the computer system 200. When read and executed by one or more CPU 211, the applications 214 may cause the computer system 200 to perform the steps necessary to execute steps or elements embodying the various aspects of the invention.
In one embodiment, the applications 214 may include a menu manager program 215, which may be configured to display a radial menu on the output device 218, and detect selection of one or more radial menu items, as is discussed in greater detail below. In some embodiments the application program 214 and menu manager 215 may reside on a networked computer device 291 and may be configured to manage radial menus on the output device 118 of computer system 200. The applications 214 may also include user preferences 221. The user preferences 221 may determine one or more characteristics of radial menus, for example, the displaying of radial menus, making selections from radial menus, and the like, as will be discussed in greater detail below.
In general, the radial menu 300 may include a center 310 and a plurality of radial menu items 320 placed radially outwards from the center 310. For purposes of illustration, the radial menu 300 is assumed to be associated with an image editing software. Accordingly, the radial menu items 320 displayed in
The radial menu items 320 may be selected by using a screen pointer such as, for example, a mouse pointer, a stylus pen, trackball pointer, a remote wireless controller and the like, as is described in greater detail below. Each of the radial menu items 320 may be associated with commands and/or functions that may be used to communicate with an application 114 associated with the radial menu 300. For example, the “Next Image” radial menu item, when selected, may cause a new image to be displayed in an application content area 130 of window 100 in
In one embodiment of the invention, the radial menu items 320 may be displayed as a “pie slices” 320, as illustrated in
The radial menu 300 may be a pop-up menu that is displayed upon the occurrence of a predefined screen pointer event. For example, in one embodiment, the menu manager 115 may be configured to display the radial menu 300 on a screen (for example, in window 100) upon detecting a mouse click. In a particular embodiment, the radial menu 300 may be displayed when a right button of a mouse is clicked. While using mouse clicks to display radial menus is described herein, alternative screen pointer events that may cause a radial menu to appear may include, for example, touching a screen with a stylus pen or finger, pressing one or more keys on a keyboard, receiving a voice command, and the like.
In one embodiment of the invention, the menu manager 115 may display the radial menu such that the center of the radial menu aligns with the screen pointer.
Selection of a radial menu item from a radial menu may involve moving the screen pointer 510 in the direction of a desired radial menu item 320. For example, to select the “Annotate” radial menu item, the screen pointer may be moved straight up (in a generally 90 degrees direction) towards the pie slice of the “Annotate” radial menu item. The moving of the screen pointer on the display screen is generally referred to hereinafter as a “stroke”. In the case of a mouse pointer, strokes may be performed by simply moving the mouse on a mouse pad. While using a stylus pen or finger on a touch screen, the finger or stylus pen may simply be dragged across the screen to perform a stroke.
Placing the screen pointer over a radial menu item 320 may cause the radial menu item to become active. When a radial menu item 320 is active, the occurrence of a selection event, such as, for example, a mouse click, may cause the radial menu item 320 to be selected. In one embodiment of the invention, the menu manager 115 may be configured to provide a visual indication to identify an active radial menu item.
In one embodiment, the center 310 of the radial menu 300 may be an inactive center. In other words, no radial menu items 320 may be active while the screen pointer 510 lies over the center portion 310. Therefore, when the menu manager 115 aligns the center 310 of the radial menu when the radial menu is displayed as described above, no radial menu items 320 may be initially active. Thereafter, user strokes may cause one or more radial menu items to become active. If the user strokes return the screen pointer to the center 310, all radial menu items may again become inactive.
One embodiment of the invention may allow radial menu items 320 to be selected in a single gesture. In general, a gesture may include at least one or more strokes. Additionally, in some embodiments, a gesture may include one or more screen pointer events such as, for example, mouse click downs (pressing a mouse button), mouse click offs (releasing the mouse button), touching a screen with a stylus pen or finger, removing stylus pen or finger from the screen and the like. The menu manager 115 may be configured to analyze gestures performed on a display screen to determine whether a radial menu item is selected. In one embodiment, a plurality of predefined gestures may correspond to respective menu item selections.
For example, an exemplary gesture for selecting a radial menu item may include performing a first mouse click, i.e., a mouse button click down and release. The first mouse click may display a radial menu, for example, the radial menu 300 on the display screen. Thereafter, one or more strokes may be performed to move the mouse pointer over a desired radial menu item 320. As discussed above, menu manager 115 may provide a visual indication that the desired radial menu item is active. When the mouse pointer is over the desired radial menu item, the mouse may be clicked a second time. Because the second mouse click occurred while the mouse pointer is above a radial menu item 320, the menu manager may determine that a radial menu item selection has occurred. Therefore, the menu manager 115 may cause a command or function associated with the selected radial menu item to be executed. In this example, the combined events of the first mouse click, the subsequent one or more strokes, and the second mouse click define the exemplary gesture.
In one embodiment of the invention, a gesture for selecting a radial menu item may include a first mouse click (i.e., a mouse click down and release) that causes a radial menu to be displayed on the display screen, a first stroke configured to activate a radial menu item, and a predefined second stroke that is configured to select the radial menu item.
Any reasonable predefined movement of the screen pointer 510 may be used as a radial menu selection event.
In another embodiment, the gesture for selecting a radial menu item may involve a mouse button click down (without release), a first stroke for activating a radial menu item, and a second predefined stroke for selecting the radial menu item. The mouse button may be released after selection of the radial menu item. The mouse button click down may cause a radial menu to be displayed. The first stroke and predefined second stroke may function as described above.
In some embodiments, if a second predefined stroke is not received within a predefined period of time after activation of the radial menu, the menu manager 115 may be configured to close the radial menu. Closing the radial menu may involve removing the radial menu from the display screen. In some embodiments, the predefined period of time may begin after completion of the first stroke. For example, a screen pointer event may cause the radial menu to be displayed. Thereafter, a first stroke may be completed to activate a radial menu item. If the predefined second stroke is not received within the predefined period of time after completion of the first stroke, the radial menu may be closed by the menu manager 115.
In yet another embodiment, the menu manager 115 may select an active radial menu item if the radial menu item has been active for a predefined period of time. Accordingly, the gesture for selecting a radial menu item may involve a mouse button click down (with or without release), and a first gesture for activating a radial menu item. The mouse button click down may cause a radial menu to be displayed. The first stroke may function as described above to activate a radial menu item. The menu manager 115 may monitor the time for which a particular radial menu item has been active, and select the radial menu item after the predefined period of time.
While the first stroke is illustrated as a straight line from the center 310 of the radial menu to a desired radial menu element 320, in some embodiments, the first stroke may include movement along any part of the display screen. For example, a user may initially move the screen pointer in the direction of a first radial menu item, but then decide to choose a second radial menu item instead. Accordingly, the user may move the screen pointer across the screen until the desired second radial menu item is activated. Once the second radial menu item is activated, the user may perform the predefined second stroke to select the second radial menu item.
In one embodiment of the invention, a gesture for selecting a radial menu item may include a first mouse click (i.e., a mouse click down and release) that causes a radial menu to be displayed on the display screen, and a first stroke configured to activate and select the radial menu item. The first stroke may activate a menu item 320 when the mouse pointer is moved thereon. Furthermore, the menu manager 115 may be configured to analyze a speed of the screen pointer during the first stroke. If the speed exceeds (or falls below) a predefined threshold value, the activated radial menu item may be selected. The threshold speed values may be user configurable in some embodiments. For example, the threshold speed values may be defined by a user in the user preferences 221 (See
In one embodiment of the invention, each pie slice of the radial menu may be overloaded with two or more radial menu items.
In one embodiment of the invention, a user may be allowed to define the particular gesture for selecting items from a radial menu. For example, in one embodiment, the application 114 may be configured to display a graphical user interface that allows a user to define a gesture for selecting radial menu items. The user defined gesture may be stored in the user preferences 221, in one embodiment.
As illustrated in
The first row 764 defines an exemplary screen pointer event, i.e, right mouse button click down, that results in a radial menu being displayed. Alternatively, a right mouse button click down and click off may also be selected as a predefined screen pointer event for displaying a radial menu. As can be seen in row 764 of
Row 765 illustrates inputs for activating radial menu items. As illustrated, f radial menu items may be activated when the right mouse button is held down and the screen pointer is moved in any direction as illustrated by the symbol in row 765, column 761. Alternatively, a user may choose to select a straight line movement of the screen pointer for selecting radial menu items. Row 766 illustrates a predefined second stroke, i.e., a circular stroke, for selecting a radial menu item. Row 767 illustrates a mouse button click off. While no action is shown for the mouse button click off on
In one embodiment of the invention, it may be possible to select radial menu items even though a selection event occurs outside the bounds of the radial menu.
For example,
Allowing users to make elongated first strokes such as, for example, the elongated first stroke 710 in
Furthermore, activating radial menu items as a user performs a first stroke that is outside the bounds of the radial menu item may allow greater precision in the activation of a desired radial menu item. For example, the further the screen pointer 510 is from the center 310, the greater the radial distance that must be travelled by the screen pointer 510 to a zone 810 of an adjacent radial menu item. One skilled in the art will appreciate that allowing a user to move the screen pointer in a wider arcs around the radial menu allows increased precision in activating desired radial menu items.
As illustrated in
In one embodiment of the invention, a predefined second stroke as described above, if performed within a zone 910, may result in the selection of a respective radial menu item 320. If a screen pointer is moved outside the perimeter 900, all radial menu items 320 may become inactive. Therefore, if the predefined second strike is performed outside the perimeter 900, a radial menu item 320 may not be selected.
In one embodiment of the invention, selecting a radial menu item 320 may involve performing the first stroke followed by a predefined second stroke as described above. The first stroke may include moving the screen pointer in and out of the perimeter 900. An exemplary first stroke 710 is illustrated in
As illustrated further in
The screen pointer may be moved in and out of the perimeter 900 several times as described above, which may result in the activation and deactivation of several radial menu items.
In one embodiment of the invention, moving the screen pointer outside the perimeter 900 may result in the radial menu 300 being removed from the display screen. This may allow a user to cancel or remove the radial menu from the screen in a fluid gesture without additional actions. For example, if a user causes a radial menu to be displayed on the screen (by clicking a mouse button for example), and decides that he no longer wants to make a selection from the radial menu, the user may simply make an elongated straight line first stroke that would take the screen pointer outside the predefined perimeter 900. Upon detecting that the screen pointer is outside the perimeter 900, the menu manager 115 may remove the radial menu from the display screen.
As discussed above with reference to
For illustrative purposes, a screen pointer 1010 is shown in
In one embodiment of the invention, if the predefined screen pointer event occurs when the screen pointer is so close to one or more edges of the display area that one or more radial menu items of the radial menu will not be visible, the menu manager 115 may be configured to displace the center 310 of the radial menu from the location of the screen pointer so that all menu items are visible in the display area 1000. For example,
As a result, the center 310 of the radial menu is displaced to a location 1120 from the location 1020 where the screen pointer 1010 is located. As illustrated in
While displacement from two edges 1001 and 1002 are illustrated in
In some embodiments of the invention, the displacement of the radial menu 300, as described above, may result in the activation of one or more radial menu items. The activation may occur because, for example, the displacement may result in the screen pointer being located in a selection zone of a radial menu item.
Because the screen pointer 1010 is too close to the screen edges 1001 and 1002 in
In one embodiment of the invention, because the screen pointer 1010 lies over the radial menu item 320a as a result of the displacement, the menu manager 115 may activate radial menu item 320a. For example, as illustrated in
If displacement of a radial menu, as described above, results in a screen pointer 1010 being located above a menu item 320, it is possible that the text of the menu item will be hidden under the screen pointer. Therefore, a user viewing the radial menu may not be able to determine which radial menu item is currently active. For example, referring to
Therefore, in one embodiment, the menu manager 115 may be configured to display a text effect on a display screen to identify a function associated with an activated radial menu item. For example,
While displaying a bubble text effect is disclosed herein, embodiments of the invention are not limited only to such text effects. More generally, any reasonable method for notifying the user of a radial menu under a screen pointer, for example, playing an audible description, providing force feedback on a mouse, controller, or other device associated with the screen pointer, and the like. In one embodiment of the invention, a text effect may be displayed in a predefined location of a display screen such as, at the bottom, top, corner or a side of the display screen. In another embodiment, the text effect may be displayed in a status area of an application window. In yet another embodiment, a secondary view of the radial menu may be displayed on the display screen, wherein the secondary view of the radial menu illustrates the activated radial menu item.
In one embodiment of the invention, displacement of the radial menu 300 by the menu manager 115 in response to detecting a screen pointer event may result in the screen pointer being outside the visible bounds of the radial menu.
In one embodiment of the invention, if the screen pointer 1010 is outside the bounds of the radial menu 300, no radial menu item 320 may be activated. Alternatively, in some embodiments, the menu manager 115 may determine whether the screen pointer 1010 is within a predefined selection zone of a radial menu items. Predefined selection zones are described above with reference to
In one embodiment of the invention, the menu manager 115 may be configured to displace a screen pointer along with the radial menu.
As further illustrated in
If it is determined that the screen pointer is not too close to an edge of the display area, in step 1530, the menu manager may display the radial menu in the display area such that a center of the radial menu is aligned with the screen pointer. On the other hand, if it is determined that the screen pointer is too close to an edge of the display area, then in step 1540, the menu manager 115 may display the radial menu in the display area such that all the radial menu items are visible in the display area. For example, as discussed above, the menu manager 115 may display the radial menu such that a center 310 of the radial menu is displaced at least a distance r (radial menu radius) from the screen edge.
In one embodiment of the invention, radial menus may be displayed only if the screen pointer is within a predefined initialization zone of a display screen, application window, or other container of graphical information. The area of the predefined initialization zone may be less than the total area of the display screen, application window, or other container of graphical information.
As illustrated in
As can be seen in
In one embodiment of the invention, the distance d3 may be much greater than the radius r of the radial menu 300 to allow long gestures for selecting a radial menu item. For example, the distance d3 may be sufficiently large to perform elongated first strokes such as, for example, the elongated first stroke 710 described with respect to
In one embodiment of the invention, the frame 1611 may represent the bounds of an application window and the display area 1600 may represent the area of a display screen such as, for example, a computer monitor. Accordingly, in some embodiments, one or more other graphical items such as, for example, icons, images, other application windows, etc may be displayed in the idle zone 1620 of the computer monitor. In one embodiment, the inactive zone 1620 may include translucent shading to differentiate the idle zone 1620 from the initialization zone 1610. In one embodiment, the display area 1600 may represent an application window and the frame 1611 may define an initialization zone 1610 within the application window.
In one embodiment of the invention, the menu manager 115 may be configured to display a message to the user if the predefined screen pointer event for displaying a radial menu is received when the screen pointer is in the idle zone 1620. For example, the menu manager 115 may display a pop-up window, a text bubble or the like, indicating that the screen pointer is too close to an edge of the display area to display the radial menu.
In one embodiment of the invention, a user may be allowed to modify the initialization zone 1610. For example, a user may define the shape, dimensions, etc of the initialization zone 1610 in the user preferences 221. In one embodiment, a user may be allowed to modify dimensions of the frame 1611 in the display area 1600. The frame 1611 may be resized by performing one or more gestures. For example, in one embodiment, the user may place a mouse pointer on a side of the frame 1611, press down a mouse button, drag the mouse pointer across the screen to resize the frame 1411, and release the mouse button when the frame 1611 has the desired dimensions.
If it is determined that the screen pointer is within the initialization zone, in step 1730, the menu manager 115 may display the radial menu. On the other hand, if it is determined that the screen pointer is not within the initialization zone, then in step 1740, the menu manager 115 may not display the radial menu.
By providing a radial menu where selections can be made with simple and quick gestures and strokes, embodiments of the invention facilitate fast selection of menu items in comparison to traditional drop down menus. Furthermore, embodiments of the invention ensure that all elements of a radial menu are displayed on a display screen regardless of the location of the screen pointer, thereby allowing users to make precise selections from the radial menu.
While the foregoing is directed to embodiments of the present invention, other and further embodiments of the invention may be devised without departing from the basic scope thereof, and the scope thereof is determined by the claims that follow.