spinner: add entry filter for accepted only digits and "." 60/54260/1
authorwoochan lee <wc0917.lee@samsung.com>
Tue, 10 Nov 2015 00:28:19 +0000 (16:28 -0800)
committerwoochan lee <wc0917.lee@samsung.com>
Mon, 14 Dec 2015 10:24:20 +0000 (02:24 -0800)
commitc00a7b2a95f4a4cef2053eced88a8a2b53484270
treeebb62c2ee7fccd781d99d95955e05962f8114f45
parent109e89991530473bcc2dc8a7bda3e251a1d38ef3
spinner: add entry filter for accepted only digits and "."

Summary:
When spinner activated with entry, user can input any characters in entry.
It degrades the usability.

Add filter for only can input numbers and "." for case of decimal point existing.

I will add entry filter for limit size as well after this commit.
This spinner features may help for app developer and users too.

@feature

Test Plan:
Run elementary_test
Test various spinner format for check this.

Reviewers: Hermet, cedric

Subscribers: id213sin, shilpasingh

Differential Revision: https://phab.enlightenment.org/D3299

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Change-Id: I19c656584b940039efcae0d3bacba1380d5bd5ca
src/lib/elm_spinner.c
src/lib/elm_widget_spinner.h