The system control unit 50 controls the entire digital camera 100. By executing the above-described programs recorded in the nonvolatile memory 51, the system control unit 50 realizes each process of the present exemplary embodiment, which will be described below. A random access memory (RAM) is used as the system memory 52. Constants for operating the system control unit 50, variables, programs read from the nonvolatile memory 51, and the like are loaded into the system memory 52. In addition, the system control unit 50 also controls display by controlling the memory 25, the D/A converter 21, the display unit 28, and the like. If various operations are performed on the mode selection switch 60, the shutter button 61, the operation unit 70, the system control unit 50 performs control so as to perform corresponding operations.
In addition, the system control unit 50 can detect (touch detection) the following operations performed on the touch panel 70a or the states thereof.