efl/legacy/elementary/data
Shobhit 0a9ac756d0 checkbox: Adding third state (Indeterminate) support in checkbox
Summary:
Checkbox should support a third state "indeterminate" along with "Checked" and "Unchecked"
This third state is a state of checkbox which is shown when checkbox is neither Checked nor Unchecked.

- Added this new feature on the basis of a boolean variable's value.
- By default this boolean variable is disabled and checkbox will treat like old way.
- While adding this, I kept in mind, that applications which are already using checkbox, should not be affected, so I used 0=False=Unchecked, 1=True=Checked, and 2=Indeterminate
- Also added an example check_example_o2.c, which is using checkbox with both ways, using boolean, and using enum.
- Now also values can be set using boolean values, but it will give a type casting warning. As a boolean doen't support third state, so I used an enum int like.

- Added APIs to enable disable third state mode. elm_check_three_state_mode_set(check_obj, bool_val), and elm_check_three_state_mode_get(check_obj)
- Modified old APIs which were setting or getting states of checkbox.
- Added a state in theme of checkbox, with third state image.

Reviewers: seoz, raster, Sergeant_Whitespace, Hermet

Subscribers: Hermet, Sergeant_Whitespace, sachin.dev

Differential Revision: https://phab.enlightenment.org/D2249
2015-04-17 17:11:28 +09:00
..
desktop Revert revert of my translation updates. 2014-09-12 14:36:38 +04:00
edje_externals autotools: improve build system to be able to correctly pick outside and inside tools. 2013-12-01 23:35:43 +09:00
images elementary examples: Add an elm_map example using evas3d 2014-07-16 11:00:52 +09:00
objects test_external.edc: pulse value have to be true for put in pulsing mode. 2014-12-15 21:14:30 +09:00
themes checkbox: Adding third state (Indeterminate) support in checkbox 2015-04-17 17:11:28 +09:00
.gitignore Split .gitignore into multiple files 2013-06-11 18:18:06 -03:00
Makefile.am Icons for available externals, how exciting. 2010-01-22 20:07:47 +00:00