Commit Graph

6 Commits

Author SHA1 Message Date
Chris Michael 2683c74166 Remove unnecessary calls to evas_object_image functions.
Set image scale and content hints.
Record the "mouse_down" time so we can ignore spurious mouse_up events.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael a5e9fc6730 Set the border input object using the EAPI function.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael cdd71b50a2 Add key up/down events for surface and raise the callbacks when they
happen.
Be sure to set focus on the input object else we do not get any key
events from Evas.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:54:59 +01:00
Chris Michael 58d2d77977 Add support for mouse up and down events.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:54:59 +01:00
Chris Michael 47b6628927 Add function to support setting e_border input area
Add code to handle null input areas (wrt pass_events on the image).
Add mouse movement callbacks (in, out, move).
Place the input rectangle below the image object.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:54:59 +01:00
Chris Michael 50f4aeb942 Add code for start of surface smart object.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:47:55 +01:00