Electronic device
The electronic device addresses the issue of unintentional menu displays by using a combination of elapsed time and cursor position change thresholds, adjusted for screen magnification, to control menu display and cancellation, ensuring timely and accurate menu visibility.
Patent Information
- Application Number
- JP2024171807
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2024-09-30
- Publication Date
- 2025-04-09
- Estimated Expiration
- 2044-09-30
AI Technical Summary
Existing electronic devices face the challenge of unintentionally displaying menus on the screen while the user is performing operations like dragging an object, due to overlapping functions with standard OS functions.
The electronic device incorporates a position acquisition unit, an elapsed time measuring unit, and a menu display unit. It displays a menu when the elapsed time exceeds a first threshold and cancels the display based on the magnitude relationship between the cursor position change and a second threshold, which is adjusted according to the screen magnification ratio.
This configuration allows the menu to be displayed at the intended timing by the user, preventing unintentional menu displays during drag operations and ensuring accurate menu cancellation.
Smart Images

Figure 0007659218000001_ABST
Abstract
Description
[Technical Field]
[0001] The present embodiment relates to an electronic device. [Background technology]
[0002] In the past, electronic devices such as notebook computers have been known to have a function that allows a user to display a menu on the screen by performing a long press operation. When a user wants to display a menu, for example, the user performs a long press operation, and the menu is displayed on the screen. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent No. 4316687 [Patent Document 2] Patent No. 3766695 Summary of the Invention [Problem to be solved by the invention]
[0004] For example, if an electronic device is designed to display a menu on the screen when a user presses and holds the left button of a mouse or other device for a predetermined period of time, the mouse operation to display the menu overlaps with the dragging of an object, which is a standard function of the OS (Operating System).As a result, there is a risk that the menu will unintentionally appear on the screen while the user is dragging an object.
[0005] An object of one embodiment of the present invention is to provide an electronic device that can display a menu on a screen at a timing intended by a user. [Means for solving the problem]
[0006] An electronic device according to a first aspect of the present invention includes a position acquisition unit, an elapsed time measurement unit, and a menu display unit. The position acquisition unit acquires the cursor position on the screen when a predetermined operation is performed on a device that controls the cursor position on the screen. The elapsed time measurement unit measures the elapsed time from the start of the predetermined operation to its end. The menu display unit displays a menu on the screen when the elapsed time exceeds a first threshold, and cancels the display of the menu based on the magnitude relationship between the amount of change in the cursor position on the screen since the start of the predetermined operation and a second threshold that is a threshold for the amount of change.
[0007] The electronic device includes a first function and a second function. The first function changes the position of an object on the screen by changing the cursor position on the screen while a predetermined operation is being performed. The second function causes a menu display unit to display a menu on the screen. Either the first function or the second function is enabled based on the magnitude relationship between the elapsed time and a first threshold value, and the magnitude relationship between the amount of change in the cursor position on the screen after the predetermined operation is started and a second threshold value.
[0008] In the electronic device, the second threshold is calculated according to the magnification ratio of the screen. [Effects of the Invention]
[0009] According to the above aspect of the present invention, the menu can be displayed on the screen at the timing intended by the user. [Brief explanation of the drawings]
[0010] [Figure 1] FIG. 1 is a diagram illustrating operations on a screen of an electronic device according to a first embodiment. [Figure 2] FIG. 2 is a functional block diagram illustrating the functional configuration of the electronic device according to the first embodiment. [Figure 3] FIG. 3 is a diagram illustrating the operation of the menu display unit of the first embodiment. [Figure 4]FIG. 4 is a diagram illustrating how the menu cancel boundary line changes over time in the first embodiment. [Figure 5] FIG. 5 is a flowchart illustrating an example of a processing flow of the electronic device according to the first embodiment. [Figure 6] FIG. 6 is a flowchart showing an example of a process flow of an electronic device in a comparative example. [Figure 7] FIG. 7 is a functional block diagram showing the functional configuration of the electronic device according to the second embodiment. DETAILED DESCRIPTION OF THE INVENTION
[0011] [First embodiment] Hereinafter, an embodiment of the electronic device 1 will be described in detail with reference to the accompanying drawings. The configuration of the embodiment described below, and the actions and results (effects) brought about by said configuration are merely examples, and are not limited to the following description. Note that in this specification, ordinal numbers are used only to distinguish between parts and components, and do not indicate order or priority.
[0012] First, an overview of an electronic device 1 according to a first embodiment will be described with reference to Fig. 1. Fig. 1 is a diagram illustrating operations on a screen 20 of the electronic device 1 according to this embodiment. The electronic device 1 described in this embodiment is an example of a desktop personal computer or a notebook personal computer.
[0013] The OS (Operating System) installed in the electronic device 1 is normally provided with input devices such as a mouse device (hereinafter referred to as a mouse) and a touchpad that allow the user to specify and operate objects such as windows 207 and buttons displayed on the screen 20. The user operates a cursor 201 displayed on the monitor screen 20 using the mouse, touchpad, or the like. In this embodiment, operation of the cursor 201 using a mouse will be described.
[0014] The electronic device 1 moves objects such as a cursor 201 or a window 207 on the screen 20 by operating standard OS functions such as moving the mouse horizontally, clicking the left button (hereinafter referred to as left click), clicking the right button (hereinafter referred to as right click), and pressing the left or right button. In addition to the standard OS functions, the electronic device 1 also displays a menu 202, which is a collection of one or more icons indicating functions installed in the electronic device 1, on the screen 20 by pressing the left button of the mouse for a predetermined period of time. Details of this will be described later.
[0015] Next, the functional configuration of the electronic device 1 will be described with reference to Fig. 2. Fig. 2 is a functional block diagram showing the functional configuration of the electronic device 1 of this embodiment. As shown in Fig. 2, the electronic device 1 has a position acquisition unit 11, an elapsed time measurement unit 12, and a menu display unit 13.
[0016] When a predetermined operation is performed in the electronic device 1, which is a device that controls the position of the cursor 201 on the screen 20, the position acquisition unit 11 acquires the position of the cursor 201 on the screen 20. More specifically, when the left button of the mouse is pressed, the position acquisition unit 11 acquires the position information of the cursor 201 on the screen 20 at the time the left button is pressed.
[0017] Furthermore, when the cursor 201 moves with the left button of the mouse pressed, the position acquisition unit 11 acquires the amount of change in the position of the cursor 201 on the screen 20 after the left button is pressed (hereinafter referred to as the cursor position change amount). Furthermore, the position acquisition unit 11 sets a second threshold, which is a predetermined threshold for the amount of change in the cursor position. This will be described in detail later.
[0018] In this embodiment, the position information of the cursor 201, the cursor position change amount, and the second threshold value acquired by the position acquisition unit 11 are pixel values indicating the X coordinate and the Y coordinate on the screen 20. The actual length indicated by the pixel values in the position information of the cursor 201 varies depending on the resolution of the monitor (not shown) of the electronic device 1. The position information of the cursor 201 acquired by the position acquisition unit 11 can be referenced by the electronic device 1 at any timing. Furthermore, the operation of pressing the left button may be the operation of pressing the right button.
[0019] The elapsed time measurement unit 12 measures the elapsed time from the start to the end of a predetermined operation. More specifically, when the left button is pressed, the elapsed time measurement unit 12 measures the elapsed time while the left button is pressed, using the time at which the left button is pressed as a reference. When the left button is released from the pressed state, the elapsed time measurement unit 12 stops measuring the elapsed time. The elapsed time measured by the elapsed time measurement unit 12 is constantly monitored by the electronic device 1.
[0020] Fig. 3 is a diagram illustrating the operation of menu display unit 13 of this embodiment. As shown in Fig. 3, when the elapsed time exceeds a first threshold, menu display unit 13 displays menu 202 on screen 20, and also terminates measurement of elapsed time by elapsed time measurement unit 12 and cancels the display of menu 202 based on the magnitude relationship between the amount of change in the position of cursor 201 on screen 20 after a predetermined operation is started and a second threshold, which is a threshold for the amount of change.
[0021] More specifically, the menu display unit 13 acquires the elapsed time while the left button is pressed and a first threshold value, which is the value of a predetermined elapsed time, from the elapsed time measurement unit 12, and when the elapsed time exceeds the first threshold value, displays the menu 202 on the screen 20. The menu display unit 13 also acquires the amount of change in the cursor position and a second threshold value, which is the threshold value for the predetermined amount of change, from the position acquisition unit 11, and cancels the display of the menu 202 based on the magnitude relationship between the amount of change in the cursor position and the second threshold value.
[0022] Here, the first threshold is a threshold indicating the elapsed time from when the left button is pressed until the menu 202 is displayed on the screen 20, and is a value that is preset in the electronic device 1. The second threshold indicates a range within which the display of the menu 202 is not canceled, starting from the position of the cursor 201 at the time the left button is pressed. The second threshold is indicated by the radius of the menu cancel boundary line 205 in FIG. 3. The menu cancel boundary line 205 is a boundary line that is not actually displayed on the screen 20, but may be displayed on the screen 20.
[0023] The position of the cursor 201 at the time the left button is pressed is indicated by the cursor pressing start position 203 in Fig. 3. The cursor pressing start position 203 is a point that is not actually displayed on the screen 20, but may be displayed on the screen 20.
[0024] If the elapsed time while the left button is pressed exceeds the first threshold and the change in cursor position does not exceed the menu cancel boundary line 205 (second threshold), the menu display unit 13 displays the menu 202 on the screen 20 without canceling the display of the menu 202 ((a) of Figure 3).
[0025] Furthermore, when the cursor position change amount exceeds the menu cancel boundary line 205, the menu display unit 13 ends the measurement of the elapsed time by the elapsed time measurement unit 12 and does not display the menu 202 on the screen 20 (FIG. 3(b)).
[0026] The content and number of functions displayed in the menu 202, the first threshold value, the position where the menu 202 is displayed, and the like are set in the electronic device 1 in advance by the user, but may be configured so that they cannot be changed by the user.
[0027] Next, referring to FIG. 4, a description will be given of how the menu cancel boundary line 205 changes over time. FIG. 4 is a diagram illustrating how the menu cancel boundary line 205 of this embodiment changes over time. As shown in FIG. 4, the menu cancel boundary line 205 expands concentrically around the cursor pressing start position 203 as time passes after it is displayed on the screen 20. FIG. 4 shows how the menu cancel boundary line 205 (second threshold value dn) changes from when the left button is pressed until 2.0 seconds have passed, when the first threshold value tc is 2.0 seconds. For example, when the elapsed time t1 (0 seconds) is the second threshold value d1, and when the elapsed time t2 (1.0 seconds) is the second threshold value d2, the menu cancel boundary line 205 becomes the second threshold value d1.
[0028] When 2.0 seconds, which is the first threshold value tc, has elapsed since the left button was pressed, the cursor 201 is located within a range in which the display of the menu 202 is not canceled, which is indicated by the menu cancel boundary line 205. Therefore, the menu display unit 13 displays the menu 202 near the cursor 201.
[0029] The menu display unit 13 generates a range expansion table based on the elapsed time tn while the left button is pressed and the first threshold value tc acquired from the elapsed time measurement unit 12, and the second threshold value dn acquired from the position acquisition unit 11. The range expansion table is a table that indicates the correspondence relationship between the elapsed time tn while the left button is pressed and the second threshold value dn (menu cancel boundary line 205).
[0030] In the range expansion table of this embodiment, the second threshold value dn increases in proportion to the elapsed time tn while the left button is pressed. That is, with the left button pressed, the menu cancel boundary line 205 expands concentrically as time passes. The electronic device 1 can refer to the generated range expansion table at any time.
[0031] Next, returning to FIG. 1, the relationship between the dragging operation of an object with the mouse and the display of the menu 202 by the menu display unit 13 will be described. As described above, the electronic device 1 has a function (hereinafter referred to as the drag function) as a standard OS function for changing the position of an object on the screen 20 by changing the position of the cursor 201 on the screen 20 while a predetermined operation is being performed. The drag function is a function for moving an object on the screen 20 by, for example, a combination of moving the mouse horizontally and pressing the left button. For example, by moving the mouse horizontally with the left button pressed, the electronic device 1 moves an object (window 207) on the screen 20 in the same direction as the horizontal movement of the mouse.
[0032] At this time, because the left button is pressed, the elapsed time measurement unit 12 measures the elapsed time while the left button is pressed. The electronic device 1 enables either the first function or the second function based on the magnitude relationship between the elapsed time tn and the first threshold value tc, and the magnitude relationship between the amount of change in the position of the cursor 201 on the screen 20 after the start of a predetermined operation and the second threshold value dn. These functions are described below. The first function is an example of a drag function. The second function is an example of a function in which the menu display unit 13 displays a menu 202 on the screen 20.
[0033] For example, if the elapsed time tn while the left button is pressed exceeds the first threshold tc and the amount of change in cursor position does not exceed the menu cancel boundary line 205 (second threshold dn), the drag function is not executed even if the user performs a drag operation on the window 207, and the menu display unit 13 displays the menu 202 on the screen 20. That is, in this case, the display function of the menu 202 by the menu display unit 13 is executed with priority over the drag function.
[0034] Also, for example, if the amount of change in cursor position exceeds the menu cancel boundary line 205, when the user performs a drag operation on the window 207, a drag operation on the window 207 is executed. Meanwhile, measurement of the elapsed time tn by the elapsed time measurement unit 12 is terminated, and the menu display unit 13 does not display the menu 202 on the screen 20. That is, in this case, the drag function is executed with priority over the display function of the menu 202 by the menu display unit 13. In this way, the electronic device 1 enables either the first function or the second function based on the magnitude relationship between the elapsed time tn while the left button is pressed and the first threshold value tc, and the magnitude relationship between the amount of change in the position of the cursor 201 on the screen 20 after the left button is started to be pressed and the second threshold value dn.
[0035] When the time tn elapsed while the left button is pressed is relatively small compared to the first threshold tc, the menu cancel boundary line 205 is a relatively small circle, and therefore the user can easily perform an operation that causes the amount of change in cursor position to exceed the menu cancel boundary line 205. In other words, the user can easily perform a drag operation even when the time tn elapsed while the left button is pressed exceeds the first threshold tc, and unintentional display of a menu on the screen 20 when attempting to perform a drag operation or the like is suppressed.
[0036] In contrast, when the elapsed time tn while the left button is pressed approaches the first threshold tc, the menu cancel boundary line 205 becomes a relatively large circle, making it easier for the user to perform an operation in which the amount of change in cursor position does not exceed the menu cancel boundary line 205. In other words, even if the user unintentionally moves the mouse in an attempt to display the menu 202, the menu 202 can be easily displayed. In this way, even when the electronic device 1 has both a drag function and a menu display function by the menu display unit 13, it is possible to display the menu 202 on the screen 20 at the timing intended by the user.
[0037] [Menu display process flow] Next, the flow of processing for displaying the menu 202 by the electronic device 1 will be described with reference to Fig. 5. Fig. 5 is a flowchart showing an example of the flow of processing by the electronic device 1 of this embodiment. The flowchart in Fig. 5 shows the flow of processing from when the electronic device 1 is in a standby / resident state in which the left button is not pressed, to when the menu 202 is displayed on the screen 20.
[0038] In step S101 in FIG. 5, when the user presses the left button to start a long press of the left button, in step S102, the position acquisition unit 11 acquires the position (Mx, My) of the cursor 201 on the screen 20 in pixel units at the time when pressing of the left button started.
[0039] Next, in step S103, the electronic device 1 refers to the elapsed time t1 and the second threshold value d1 in the range enlargement table generated by the menu display unit 13. Then, in step S104, the elapsed time measurement unit 12 starts measuring the elapsed time tn while the left button is pressed.
[0040] When the elapsed time measurement unit 12 starts measuring the elapsed time tn while the left button is being pressed, the position acquisition unit 11 monitors whether or not the left button is released from the pressed state.
[0041] If the position acquisition unit 11 determines in step S105 that the left button has been released, the electronic device 1 returns to the standby / resident state (step S101). If the position acquisition unit 11 determines that the left button has not been released, the electronic device 1 determines in step S106 whether the position of the cursor 201 has moved by more than the second threshold value d1 referred to in the range expansion table from the position (Mx, My) of the cursor 201 on the screen 20 at the time when pressing of the left button started.
[0042] If the electronic device 1 determines in step S106 that the position of the cursor 201 has moved from the position (Mx, My) of the cursor 201 on the screen 20 at the time when pressing of the left button started by more than the second threshold value d1 referred to in the range expansion table, the elapsed time measurement unit 12 ends measurement of the elapsed time tn in step S107, and the electronic device 1 returns to the standby / resident state (step S101). If the electronic device 1 determines that the position of the cursor 201 has not moved from the position (Mx, My) of the cursor 201 on the screen 20 at the time when pressing of the left button started by more than the second threshold value d1 referred to in the range expansion table, the electronic device 1 determines in step S108 whether the elapsed time tn measured by the elapsed time measurement unit 12 has exceeded the elapsed time t1 referred to in the range expansion table.
[0043] If the electronic device 1 determines that the elapsed time tn measured by the elapsed time measurement unit 12 has not exceeded the elapsed time t1 referenced in the range expansion table, the process returns to step S105, and the electronic device 1 repeats the processes of steps S105 to S108 until the elapsed time tn exceeds the elapsed time t1. If the electronic device 1 determines that the elapsed time tn measured by the elapsed time measurement unit 12 has exceeded the elapsed time t1 referenced in the range expansion table, the electronic device 1 determines in step S109 whether the elapsed time tn since the left button was pressed has exceeded a first threshold value tc.
[0044] If the electronic device 1 determines in step S109 that the elapsed time tn since the left button was pressed does not exceed the first threshold tc, then in step S110, the electronic device 1 increases the index of the range expansion table that it references. For example, if the electronic device 1 has referenced the elapsed time t1 and the second threshold d1 in the range expansion table, the electronic device 1 increases the index of the range expansion table and references the elapsed time t2 and the second threshold d2. Then, the electronic device 1 returns to step S105, and repeats the processes of steps S105 to S110 until the elapsed time tn exceeds the first threshold tc.
[0045] In step S109, when the electronic device 1 determines that the elapsed time tn since the left button was pressed exceeds the first threshold value tc, the electronic device 1 displays the menu 202 on the screen 20 (step S111) and returns to the standby / resident state (step S101). Through the above procedure, the electronic device 1 performs the process of displaying the menu 202.
[0046] Here, as a comparative example, a process flow for displaying a menu on a screen in a conventional electronic device will be described with reference to Fig. 6. Fig. 6 is a flowchart showing an example of the process flow of the electronic device in the comparative example. In the following explanation, explanations of steps similar to those in the process of the electronic device 1 of the present embodiment may be omitted.
[0047] 6, when the user presses the left button to start a long press of the left button in step S201, the electronic device acquires the cursor position (Mx, My) on the screen in pixel units at the time when pressing of the left button started in step S202. Then, in step S203, the electronic device starts measuring the elapsed time while the left button is being pressed.
[0048] When the electronic device starts measuring the elapsed time while the left button is pressed, the electronic device monitors whether or not the left button is released from the pressed state.
[0049] If the electronic device determines in step S204 that the left button has not been released, then in step S205, the electronic device determines whether the cursor position has moved more than a predetermined distance from the cursor position (Mx, My) on the screen at the time when pressing of the left button began. Here, the predetermined distance is a constant indicating a threshold for the amount of change in the cursor position on the screen after pressing the left button, and is preset in the electronic device. Unlike the second threshold value dn in this embodiment, the predetermined distance is a value that does not change regardless of the elapsed time while the left button is pressed.
[0050] If the electronic device determines in step S205 that the cursor position has moved more than a specified distance from the cursor position (Mx, My) on the screen at the time when pressing of the left button began, it ends measurement of the elapsed time in step S206 and returns to the standby / resident state (step S201).If the electronic device determines in step S205 that the cursor position has not moved more than a specified distance from the cursor position (Mx, My) on the screen at the time when pressing of the left button began, it determines in step S207 whether the elapsed time since pressing of the left button has exceeded a first threshold.
[0051] If the electronic device determines in step S207 that the time elapsed since the left button was pressed exceeds the first threshold, the electronic device displays a menu on the screen (step S208) and returns to the standby / resident state (step S201). The above steps perform the process of displaying a menu used by a conventional electronic device.
[0052] As described above, the menu display process by conventional electronic devices does not refer to the range enlargement table, but always refers to the specified distance and the first threshold until the elapsed time since the left button was pressed exceeds the first threshold. In other words, the menu cancel boundary displayed on the screen does not change depending on the elapsed time since the left button was pressed. Therefore, for example, if a user attempts to perform a drag operation after the elapsed time since the left button was pressed exceeds the first threshold, the cursor position may not cross the menu cancel boundary, causing the menu to be unintentionally displayed on the screen.
[0053] In contrast, the electronic device 1 of this embodiment refers to the range enlargement table in the process of displaying the menu 202, and determines the menu cancel boundary line 205 (second threshold value dn) based on the referred range enlargement table. Therefore, even when the electronic device 1 has both the drag function and the menu display function by the menu display unit 13, the user can display the menu 202 on the screen 20 at the timing he or she intends.
[0054] The electronic device 1 of the above embodiment includes a position acquisition unit 11, an elapsed time measurement unit 12, and a menu display unit 13. The position acquisition unit 11 acquires the position of the cursor 201 on the screen 20 when a predetermined operation (long-press of the left button) is performed in the electronic device 1, which is a device that controls the position of the cursor 201 on the screen 20. The elapsed time measurement unit 12 measures the elapsed time tn from the start to the end of the predetermined operation. For example, when the elapsed time tn exceeds a first threshold tc, the menu display unit 13 displays the menu 202 on the screen 20, and terminates measurement of the elapsed time tn by the elapsed time measurement unit 12 and cancels the display of the menu 202 based on the magnitude relationship between the amount of change in the position of the cursor 201 on the screen 20 since the start of the predetermined operation and a second threshold dn, which is a threshold for the amount of change.
[0055] With the above-described configuration, the electronic device 1 can prevent the menu 202 from being unintentionally displayed on the screen 20 when the user performs a predetermined operation (for example, long-pressing the left mouse button) while using another app, and can also prevent the display of the menu 202 from being canceled when the user unintentionally moves the cursor 201 on the screen 20 in an attempt to display the menu 202 and the position of the cursor 201 changes by more than the second threshold value dn after the start of the predetermined operation. Consequently, the electronic device 1 can display the menu 202 on the screen 20 at the timing intended by the user.
[0056] Moreover, in this embodiment, the electronic device 1 has a first function and a second function. The first function changes the position of an object (window 207) on the screen 20 by changing the position of a cursor 201 on the screen 20 while a predetermined operation (long press of the left button) is being performed. The second function causes the menu display unit 13 to display a menu 202 on the screen 20. The electronic device 1 enables either the first function or the second function based on the magnitude relationship between the elapsed time tn and a first threshold tc, and the magnitude relationship between the amount of change in the position of the cursor 201 on the screen 20 after the start of the predetermined operation and a second threshold dn.
[0057] With the above-described configuration, for example, when the elapsed time tn is smaller than the first threshold tc, a first function (object drag function) is enabled, and when the elapsed time tn exceeds the first threshold tc and the amount of change in the position of the cursor 201 on the screen 20 is smaller than the second threshold dn, a second function (menu display function of the menu display unit 13) can be enabled. Consequently, the electronic device 1 can prevent the menu 202 from being unintentionally displayed on the screen 20 while the user is performing a drag operation, and can also prevent the display of the menu 202 from being canceled when the position of the cursor 201 on the screen 20 changes by more than the second threshold dn after the start of a predetermined operation when the user unintentionally moves the cursor 201 on the screen 20 in an attempt to display the menu 202.
[0058] [Second embodiment] Next, a second embodiment will be described with reference to Fig. 7. In the following description of the embodiment, components having the same functions as components already described are given the same reference numerals as the components already described, and further description may be omitted. Furthermore, multiple components given the same reference numerals do not necessarily have all the same functions and properties, and may have different functions and properties according to each embodiment.
[0059] Fig. 7 is a functional block diagram showing the functional configuration of electronic device 1A of the second embodiment. In electronic device 1A of the second embodiment shown in Fig. 7, position acquisition unit 11A calculates second threshold value dnA, which is a range in which display of menu 202 is not canceled, starting from the position of cursor 201 at the time when the left button is pressed, according to magnification rate M of screen 20. Second threshold value dnA is a value calculated, for example, by multiplying second threshold value dn value set in advance in electronic device 1 by magnification rate M of screen 20, and can be calculated using Equation 1 shown below. dnA=dn×M / 100 Equation 1
[0060] In the first embodiment, if the size of the display provided in the electronic device 1 is relatively small, such as 13 inches, the screen magnification M of the display may be set to 150 percent. In such a case, the menu cancel boundary line 205 (second threshold value dn) becomes a circle that is relatively small relative to the amount of mouse operation. Therefore, when the user attempts to display the menu 202 by operating the mouse, even a slight movement of the mouse may cause the cursor 201 to exceed the menu cancel boundary line 205, which may unintentionally cancel the display of the menu 202.
[0061] On the other hand, in the second embodiment, the position acquisition unit 11A performs a correction by multiplying the second threshold value dn by the magnification rate M of the screen 20. Then, the menu display unit 13 acquires the second threshold value dnA, which is the corrected value, from the position acquisition unit 11A, and cancels the display of the menu 202 based on the magnitude relationship between the cursor position change amount and the second threshold value dnA. This allows the electronic device 1A to improve the operability of the cursor 201 when the user operates the menu display, even when the second threshold value dn is a small value relative to the screen resolution, such as 5 pixels.
[0062] In the electronic device 1A of the above embodiment, the second threshold value dnA is calculated according to the magnification ratio M of the screen 20.
[0063] In the above-described configuration, the second threshold dnA, which is a threshold for the amount of change in the position of the cursor 201 on the screen 20 after a predetermined operation is started, is calculated according to the magnification M of the screen 20. If the second threshold is not calculated according to the magnification M of the screen 20, for example, if the second threshold is a small value relative to the screen resolution, such as 5 pixels, the amount of change in the position of the cursor 201 will exceed the second threshold with a slight movement of the mouse or the like. For this reason, when the user attempts to display the menu 202, the user may feel that the menu 202 is canceled by a slight movement of the mouse or the like, and may feel uncomfortable operating the mouse or the like.
[0064] On the other hand, the electronic device 1A of this embodiment corrects the second threshold value dn by, for example, multiplying the second threshold value dn by the magnification rate M of the screen 20. As a result, even if the second threshold value dn is a small value relative to the screen resolution, such as 5 pixels, the electronic device 1A can improve the operability of the cursor 201 when the user operates the menu display.
[0065] Although the embodiments of the present invention have been described above, these embodiments are presented as examples and are not intended to limit the scope of the invention. These embodiments can be embodied in various other forms, and various omissions, substitutions, and modifications can be made without departing from the spirit of the invention. These embodiments and their modifications are included within the scope and spirit of the invention, as well as within the scope of the invention and its equivalents as defined in the claims. [Explanation of symbols]
[0066] 1, 1A electronic equipment 11, 11A Position acquisition part 12 Elapsed time measurement section 13 Menu display section 20 screens 201 Cursor 202 Menu 205 Menu Cancel Border 207 Window dn, dnA Second threshold at elapsed time tn tc First threshold tn The time elapsed while the left button is pressed
Claims
1. a position acquisition unit that acquires a cursor position on a screen when a predetermined operation is performed in a device that controls a cursor position on the screen; an elapsed time measurement unit that measures an elapsed time from a start to an end of the predetermined operation; a menu display unit that displays a menu on the screen when the elapsed time exceeds a first threshold, and cancels the display of the menu based on a magnitude relationship between an amount of change in a cursor position on the screen after the start of the predetermined operation and a second threshold that is a threshold for the amount of change; Equipped with The second threshold is calculated according to the elapsed time. electronic equipment.
2. a first function of changing a position of an object on the screen by changing a cursor position on the screen while the predetermined operation is being performed; a second function of the menu display unit displaying the menu on the screen; Equipped with enabling one of the first function and the second function based on a magnitude relationship between the elapsed time and the first threshold value, and a magnitude relationship between an amount of change in the cursor position on the screen after the start of the predetermined operation and the second threshold value; 2. The electronic device according to claim 1.
3. A position acquisition unit that acquires a cursor position on a screen when a predetermined operation is performed in a device that controls a cursor position on the screen; an elapsed time measurement unit that measures an elapsed time from a start to an end of the predetermined operation; a menu display unit that displays a menu on the screen when the elapsed time exceeds a first threshold, and cancels the display of the menu based on a magnitude relationship between an amount of change in a cursor position on the screen after the start of the predetermined operation and a second threshold that is a threshold for the amount of change; Equipped with The second threshold is calculated according to a magnification ratio of the screen. electronic equipment.
Citation Information
Patent Citations
Accessing menus using drag-and-drop operations
JP2011521381A
Method, device and computer program for moving object by drag operation in touch panel
JP2012113389A
Multi-screen email client
JP2013544410A
Image display control device, image display control method and program
JP2014056395A
Image display control device, image display device, program and image display method
JP2014071765A
Cited By
Program and Information Processing Device
JP7890659B1