Method and apparatus for program exceution based icon manipulation
First Claim
1. A method for executing a program, the method comprising:
- obtaining a related operation item of an object to be operated, and displaying, on a display screen, an operation icon corresponding to the related operation item, wherein the object to be operated is a computer program operable by a user on the display screen, and a direction of pointing from an original display coordinate of the object to be operated towards a display coordinate of the operation icon is an operation icon direction;
according to the original display coordinate of the object to be operated and a display coordinate of the object after being dragged by the user, calculating a movement direction of the object to be operated; and
starting but not completing execution of a functional operation corresponding to the operation icon when it is detected that the movement direction of the object to be operated is the same as the operation icon direction;
displaying, on the display screen, an indicative arrow whose direction is consistent with the operation icon direction when it is detected that the movement direction of the object to be operated is the same as the operation icon direction; and
after starting to execute the functional operation corresponding to the operation icon, extending a length of the indicative arrow according to a processing progress of the functional operation; and
in a process of rolling back the executed functional operation corresponding to the operation icon, shortening the length of the indicative arrow according to a rollback progress.
1 Assignment
0 Petitions
Accused Products
Abstract
The invention discloses a method and an apparatus for executing a program. The method includes: obtaining a related operation item of an object to be operated, and displaying an operation icon corresponding to the related operation item, and a direction of pointing from an original display coordinate of the object to be operated towards a display coordinate of the operation icon is an operation icon direction; according to the original display coordinate of the object to be operated and a display coordinate of the object after being dragged by the user, calculating a movement direction of the object to be operated; and starting to execute a functional operation corresponding to the operation icon when it is detected that the movement direction of the object to be operated is the same as the operation icon direction. Therefore, the invention can simplify program executing steps, and make operations intuitive and natural.
-
Citations
16 Claims
-
1. A method for executing a program, the method comprising:
-
obtaining a related operation item of an object to be operated, and displaying, on a display screen, an operation icon corresponding to the related operation item, wherein the object to be operated is a computer program operable by a user on the display screen, and a direction of pointing from an original display coordinate of the object to be operated towards a display coordinate of the operation icon is an operation icon direction; according to the original display coordinate of the object to be operated and a display coordinate of the object after being dragged by the user, calculating a movement direction of the object to be operated; and starting but not completing execution of a functional operation corresponding to the operation icon when it is detected that the movement direction of the object to be operated is the same as the operation icon direction; displaying, on the display screen, an indicative arrow whose direction is consistent with the operation icon direction when it is detected that the movement direction of the object to be operated is the same as the operation icon direction; and after starting to execute the functional operation corresponding to the operation icon, extending a length of the indicative arrow according to a processing progress of the functional operation; and
in a process of rolling back the executed functional operation corresponding to the operation icon, shortening the length of the indicative arrow according to a rollback progress. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. An apparatus for executing a program, the apparatus comprising:
-
a processor; and a memory, wherein the processor is configured to obtain a related operation item of an object to be operated, and display, on a display screen, an operation icon corresponding to the related operation item, wherein the object to be operated is a computer program operable by a user on the display screen, and a direction of pointing from an original display coordinate of the object to be operated towards display a coordinate of the operation icon is an operation icon direction; according to the original display coordinate of the object to be operated and a display coordinate of the object after being dragged by the user, calculate a movement direction of the object to be operated; and start but not complete execution of a functional operation corresponding to the operation icon when it is detected that the movement direction of the object to be operated is the same as the operation icon direction; display, on the display screen, an indicative arrow whose direction is consistent with the operation icon direction when it is detected that the movement direction of the object to be operated is the same as the operation icon direction; and after starting to execute the functional operation corresponding to the operation icon, extend a length of the indicative arrow according to a processing progress of the functional operation; and
in a process of rolling back the executed functional operation corresponding to the operation icon, shortening the length of the indicative arrow according to a rollback progress. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
Specification