Changeset 131554 in webkit
- Timestamp:
- Oct 17, 2012, 12:05:46 AM (13 years ago)
- Location:
- trunk/Source/WebKit/efl
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/efl/ChangeLog
r131337 r131554 1 2012-10-17 Byungwoo Lee <bw80.lee@samsung.com> 2 3 [EFL] Add background color to the radio button theme. 4 https://bugs.webkit.org/show_bug.cgi?id=98852 5 6 Reviewed by Gyuyoung Kim. 7 8 Background color is added to the radio button theme for identifying 9 radio button status easily. 10 11 Radio button theme uses images which has transparent background. 12 13 When the background of radio button is black, checked/unchecked status 14 cannot be distinguished because check mark color is black. 15 16 And it is hard to identify whether the radio button is disabled or not, 17 because there is no background color in the radio button theme. 18 19 * DefaultTheme/widget/radio/img_radio_bg_disabled.png: Added. 20 * DefaultTheme/widget/radio/img_radio_bg_enabled.png: Added. 21 * DefaultTheme/widget/radio/radio.edc: 22 1 23 2012-10-15 Christophe Dumez <christophe.dumez@intel.com> 2 24 -
trunk/Source/WebKit/efl/DefaultTheme/widget/radio/radio.edc
r65262 r131554 25 25 26 26 images { 27 image: "widget/radio/img_radio_bg_enabled.png" COMP; 28 image: "widget/radio/img_radio_bg_disabled.png" COMP; 27 29 image: "widget/radio/img_radio_on.png" COMP; 28 30 image: "widget/radio/img_radio_off.png" COMP; … … 43 45 if (get_int(isEnabled) == 1) { 44 46 set_state(PART:"radio_button", "default", 0.0); 47 set_state(PART:"bg", "enabled", 0.0); 45 48 if (get_int(isChecked) == 1) { 46 49 set_state(PART:"radio_button", "enabled_checked", 0.0); … … 59 62 else { 60 63 set_state(PART:"radio_button", "disabled", 0.0); 64 set_state(PART:"bg", "disabled", 0.0); 61 65 if (get_int(isChecked) == 1) 62 66 set_state(PART:"radio_button", "disabled_checked", 0.0); … … 66 70 67 71 parts { 72 part { 73 name: "bg"; 74 type: IMAGE; 75 description { 76 state: "default" 0.0; 77 min: 12 12; 78 max: 12 12; 79 image { 80 normal: "widget/radio/img_radio_bg_enabled.png"; 81 } 82 } 83 description { 84 state: "enabled" 0.0; 85 inherit: "default" 0.0; 86 } 87 description { 88 state: "disabled" 0.0; 89 inherit: "default" 0.0; 90 image { 91 normal: "widget/radio/img_radio_bg_disabled.png"; 92 } 93 } 94 } 68 95 part { 69 96 name: "radio_button";
Note:
See TracChangeset
for help on using the changeset viewer.