[Colorselector] Added sound of colorselector clicked.
authorAmit Kamboj <amit.kamboj@samsung.com>
Fri, 17 May 2013 12:39:52 +0000 (18:09 +0530)
committerSungho Kwak <sungho1.kwak@samsung.com>
Wed, 12 Jun 2013 11:27:17 +0000 (20:27 +0900)
Change-Id: I6aefa9baceb6722ac10e308866de7fb75070e42b

Conflicts:

themes/widgets/colorselector.edc

themes/widgets/colorselector.edc

index ec1bf24..0995a77 100644 (file)
  * limitations under the License.
  */
 
-
+   sounds {
+      sample {
+         name: "touch_sound" AS_IS;
+         source: "S_Touch_30ms.wav";
+      }
+   }
 
 group {
    name: "elm/colorselector/palette/default";
@@ -667,6 +672,17 @@ group {
             visible: 1;
          }
       }
+      part { name: "over1";
+         type: RECT;
+         scale: 1;
+         repeat_events: 1;
+         description {
+            state: "default" 0.0;
+            rel1.to: "color_bg";
+            rel2.to: "color_bg";
+            color: 0 0 0 0;
+         }
+      }
    }
    programs {
       program { name: "item_focus";
@@ -681,6 +697,11 @@ group {
          action: STATE_SET "default" 0.0;
          target: "focus_image";
       }
+      program { name: "touch_snd";
+         signal: "mouse,clicked,1";
+         source: "over1";
+         action: PLAY_SAMPLE "touch_sound" 1.0;
+      }
    }
 }