Method and system to improve GUI use efficiency
AssigneeInternational Business Machines Corporation
InventorsRoberto Ragusa, Ciro Ragusa
Life of this patent
Estimating the term…
Abstract
A method and system to facilitate manipulation of the pointer on a screen displaying application windows when the applications use logical barriers to block the movement of the pointer in a window area. The GUI computes new pointer coordinates on the screen of an application window. In the case where the pointing device movement requires a crossing of a logical barrier implemented by the application, if the pointing device is in ‘flying mode’ the GUI of the invention authorizes the pointer to directly cross the barrier. If the pointing device is in ‘crawling mode’ the GUI does not authorize the barrier to be crossed and the pointer is blocked by the barrier.
Claims20
A method to provide on a computer a graphical user interface, which facilitates manipulation of a pointer on a screen displaying application windows, when the applications use logical barriers to block movement of the pointer in a window area, the method comprising:
- receiving from a pointing device interface of a computer device driver an event advising of a movement of the pointing device corresponding to a delta movement of a pointer in a window of an application;
- computing delta coordinates of the pointer based on the delta movement of the pointing device;
- reading current coordinates of the pointer;
- reading a current pointing device mode, wherein the current pointing device mode is a pressure between the pointing device and a surface under the pointing device;
- analyzing the current pointing device mode for determining if pressure is applied;
- if there is a logical barrier in an application window to be crossed when applying the delta coordinates to the pointer:
- if the pointing device mode is a crawling mode in which pressure is applied to the pointing device, reduce the delta coordinates of the pointer to prevent the pointer from crossing the logical barrier and evaluate new pointer coordinates by applying the reduced delta coordinates to the current coordinates of the pointer;
- and
- if the pointing device mode is a flying mode in which pressure is not applied to the pointing device, evaluate the new pointer coordinates by applying the delta coordinates to the current coordinates of the pointer.
A computer program product stored on a non-transitory computer readable storage medium for providing a graphical user interface, which facilitates manipulation of a pointer on a screen displaying application windows, when the applications use logical barriers to block movement of the pointer in a window area, when the program is executed on a computer, the program product comprising program code for:
- receiving from a pointing device interface of a computer device driver an event advising of a movement of the pointing device corresponding to a delta movement of a pointer in a window of an application;
- computing delta coordinates of the pointer based on the delta movement of the pointing device;
- reading current coordinates of the pointer;
- reading a current pointing device mode, wherein the current pointing device mode is a pressure between the pointing device and a surface under the pointing device;
- analyzing the current pointing device mode for determining if pressure is applied;
- if there is a logical barrier in an application window to be crossed when applying the delta coordinates to the pointer:
- if the pointing device mode is a crawling mode in which pressure is applied to the pointing device, reduce the delta coordinates of the pointer to prevent the pointer from crossing the logical barrier and evaluate new pointer coordinates by applying the reduced delta coordinates to the current coordinates of the pointer;
- if the pointing device mode is a flying mode in which pressure is not applied to the pointing device, evaluate the new pointer coordinates by applying the delta coordinates to the current coordinates of the pointer.
A system for providing a graphical user interface, which facilitates manipulation of a pointer on a screen displaying application windows, when the applications use logical barriers to block movement of the pointer in a window area, comprising:
- a pointing device;
- a component configured to receive from a pointing device interface of a computer device driver an event advising of a movement of the pointing device corresponding to a delta movement of a pointer in a window of an application;
- a component configured to compute delta coordinates of the pointer based on the delta movement of the pointing device;
- a component configured to read current coordinates of the pointer;
- and
- a component configured to read a current pointing device mode, wherein the current pointing device mode is a pressure between the pointing device and a surface under the pointing device;
- a component configured to analyze the current pointing device mode to determine if pressure is applied;
- wherein:
- if there is a logical barrier in an application window to be crossed when applying the delta coordinates to the pointer:
- if the pointing device mode is a crawling mode in which pressure is applied to the pointing device, the delta coordinates of the pointer are reduced to prevent the pointer from crossing the logical barrier and new pointer coordinates are evaluated by applying the reduced delta coordinates to the current coordinates of the pointer;
- if the pointing device mode is a flying mode in which pressure is not applied to the pointing device, the new pointer coordinates are evaluated by applying the delta coordinates to the current coordinates of the pointer.
Dependencies are inferred from the claim text.