Elm_Spinner: UI Concept change fix.
authorShilpa Singh <shilpa.singh@samsung.com>
Sat, 2 Nov 2013 11:33:00 +0000 (20:33 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Sat, 2 Nov 2013 11:33:00 +0000 (20:33 +0900)
commit6027ce9baddf6a2e86129540700528610c724aa9
tree10132d96e980a9ba8773d2b63e8d8eb98d8c7b6b
parent1aa3dd0ec4942601dbd3a72c20d9c654b45f68c2
Elm_Spinner: UI Concept change fix.

Older UI concept: when text in spinner's entry is inputted and text is
not committed yet and when inc/dec is clicked. do not commit text and
reset the value to older original value.

New UI concept:
When Text in spinner's entry is inputted and text is not committed yet
and when inc/dec buttons are clicked.
Commit the entry's text and inc/dec accordingly.
If entry' s text is already modified owing to min/max update, then do not inc/dec.

Signed-off by: Shilpa Singh <shilpa.singh@samsung.com>
legacy/elementary/src/lib/elm_spinner.c
legacy/elementary/src/lib/elm_widget_spinner.h