Information processing apparatus, control method of information processing apparatus, and program
First Claim
1. An information processing apparatus having a touch panel, the information processing apparatus comprising:
- a CPU coupled to a memory and programmed to function as;
an obtaining unit configured to obtain a first position at which an object touched the touch panel, and a second position at which the object separated from the touch panel;
an acceptance control unit configured to control;
to accept an input corresponding to a key when the object is separated from the touch panel, in a case where the first position and the second position are included in an area corresponding to the key, andnot to accept the input corresponding to the key when the object is separated from the touch panel, in a case where the first position is included in the area corresponding to the key and the second position is not included in the area corresponding to the key; and
a display control unit configured to control;
to change a color of the key from a first color to a second color, based on the object touching the touch panel, and to return the color of the key from the second color to the first color, based on the object separating from the touch panel, in the case where the first position and the second position are included in the area corresponding to the key, andto change the color of the key from the first color to the second color, based on the object touching the touch panel, to keep the color of the key as the second color while the object moves from the first position to the second position, and to change the color of the key from the second color to a third color, based on the object separating from the touch panel, in the case where the first position is included in the area corresponding to the key and the second position is not included in the area corresponding to the key.
1 Assignment
0 Petitions
Accused Products
Abstract
It enables a user to easily confirm whether or not a process corresponding to a key was correctly performed. To do so, there is provided a control method for controlling an information processing apparatus, comprising: controlling, in a case where, after a key in a screen displayed on a display unit was depressed, the key comes to be not depressed inside a display area of the key, to perform a process corresponding to the key, and, in a case where, after the key in the screen displayed on the display unit was depressed, the key comes to be not depressed outside the display area of the key, to not perform the process corresponding to the key; and notifying, in the case where the key comes to be not depressed outside the display area of the key, the user that the process corresponding to the key is not performed.
-
Citations
8 Claims
-
1. An information processing apparatus having a touch panel, the information processing apparatus comprising:
a CPU coupled to a memory and programmed to function as; an obtaining unit configured to obtain a first position at which an object touched the touch panel, and a second position at which the object separated from the touch panel; an acceptance control unit configured to control; to accept an input corresponding to a key when the object is separated from the touch panel, in a case where the first position and the second position are included in an area corresponding to the key, and not to accept the input corresponding to the key when the object is separated from the touch panel, in a case where the first position is included in the area corresponding to the key and the second position is not included in the area corresponding to the key; and a display control unit configured to control; to change a color of the key from a first color to a second color, based on the object touching the touch panel, and to return the color of the key from the second color to the first color, based on the object separating from the touch panel, in the case where the first position and the second position are included in the area corresponding to the key, and to change the color of the key from the first color to the second color, based on the object touching the touch panel, to keep the color of the key as the second color while the object moves from the first position to the second position, and to change the color of the key from the second color to a third color, based on the object separating from the touch panel, in the case where the first position is included in the area corresponding to the key and the second position is not included in the area corresponding to the key. - View Dependent Claims (2, 3, 4, 5, 6)
-
7. A method for controlling an information processing apparatus having a touch panel, the method comprising steps of:
-
obtaining a first position at which an object touched the touch panel, and a second position at which the object separated from the touch panel; controlling to accept an input corresponding to a key when the object is separated from the touch panel, in a case where the first position and the second position are included in an area corresponding to the key; controlling not to accept the input corresponding to the key when the object is separated from the touch panel, in a case where the first position is included in the area corresponding to the key and the second position is not included in the area corresponding to the key; controlling to change a color of the key from a first color to a second color, based on the object touching the touch panel, and to return the color of the key from the second color to the first color, based on the object separating from the touch panel, in the case where the first position and the second position are included in the area corresponding to the key; and controlling to change the color of the key from the first color to the second color, based on the object touching the touch panel, to keep the color of the key as the second color while the object moves from the first position to the second position, and to change the color of the key from the second color to a third color, based on the object separating from the touch panel, in the case where the first position is included in the area corresponding to the key and the second position is not included in the area corresponding to the key.
-
-
8. A non-transitory computer-readable storage medium storing a program that when executed causes a computer to perform a method for controlling an information processing apparatus having a touch panel, the method comprising steps of:
-
obtaining a first position at which an object touched the touch panel, and a second position at which the object separated from the touch panel; controlling to accept an input corresponding to a key when the object is separated from the touch panel, in a case where the first position and the second position are included in an area corresponding to the key; controlling not to accept the input corresponding to the key when the object is separated from the touch panel, in a case where the first position is included in the area corresponding to the key and the second position is not included in the area corresponding to the key; controlling to change a color of the key from a first color to a second color, based on the object touching the touch panel, and to return the color of the key from the second color to the first color, based on the object separating from the touch panel, in the case where the first position and the second position are included in the area corresponding to the key; and controlling to change the color of the key from the first color to the second color, based on the object touching the touch panel, to keep the color of the key as the second color while the object moves from the first position to the second position, and to change the color of the key from the second color to a third color, based on the object separating from the touch panel, in the case where the first position is included in the area corresponding to the key and the second position is not included in the area corresponding to the key.
-
Specification