--- /dev/null
+/*
+ * Samsung API
+ * Copyright (c) 2013 Samsung Electronics Co., Ltd.
+ *
+ * Licensed under the Flora License, Version 1.1 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+styles {
+ style {
+ name: "style_txt_brightness";
+ base: "font=Tizen font_weight=Bold font_width=Condensed font_size=20 align=center valign=center color=#ffffffff";
+ tag: "br" "\n";
+ tag: "hilight" "+ color=#ffff";
+ tag: "b" "+ color=#ffff";
+ tag: "tab" "\t";
+ }
+}
+
+group {
+ name : "windicator/action_btn/brightness";
+ images {
+ image : "Controls/brightness.png" COMP;
+ }
+ parts {
+ ACTION_BTN_PRESS_EFFECT_PART
+ part {
+ name : "img.brightness.icon";
+ type : IMAGE;
+ scale : 1;
+ description {
+ state : "default" 0.0;
+ min : ACTION_BTN_WIDTH ACTION_BTN_HEIGHT;
+ max : ACTION_BTN_WIDTH ACTION_BTN_HEIGHT;
+ fixed : 1 1;
+ image.normal: "Controls/brightness.png";
+ color_class : "AO012";
+ }
+ }
+ part {
+ name : "txt.brightness";
+ type : TEXTBLOCK;
+ scale : 1;
+ description {
+ state : "default" 0.0;
+ max : ACTION_BTN_TEXT_WIDTH ACTION_BTN_TEXT_HEIGHT;
+ min : ACTION_BTN_TEXT_WIDTH ACTION_BTN_TEXT_HEIGHT;
+ fixed : 1 1;
+ align : 0.5 0.0;
+ rel1 { relative : 0.5 ACTION_BTN_TEXT_REL1_H; to : "img.brightness.icon"; }
+ rel2 { relative : 0.5 1.0; to : "img.brightness.icon"; }
+ text {
+ min : 0 1;
+ style : "style_txt_brightness";
+ }
+ }
+ }
+ }
+ programs {
+ ACTION_BTN_PRESS_EFFECT_PROGRAM
+ }
+}
--- /dev/null
+/*
+ * Samsung API
+ * Copyright (c) 2013 Samsung Electronics Co., Ltd.
+ *
+ * Licensed under the Flora License, Version 1.1 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+group {
+ name : "windicator/action_btn/call_fwd";
+ images {
+ image : "Controls/call_forwarding.png" COMP;
+ image : "Controls/esim.png" COMP;
+ image : "Indicator_business/call_forwarding_business.png" COMP;
+ }
+ parts {
+ ACTION_BTN_PRESS_EFFECT_PART
+ part {
+ name : "img.callfwd.icon";
+ type : IMAGE;
+ scale : 1;
+ description {
+ state : "default" 0.0;
+ min : ACTION_BTN_WIDTH ACTION_BTN_HEIGHT;
+ max : ACTION_BTN_WIDTH ACTION_BTN_HEIGHT;
+ fixed : 1 1;
+ image.normal: "Controls/call_forwarding.png";
+ color_class : "AO012";
+ }
+ description {
+ state : "numbersync" 0.0;
+ inherit : "default" 0.0;
+ image.normal: "Indicator_business/call_forwarding_business.png";
+ }
+ description {
+ state : "esim" 0.0;
+ inherit : "default" 0.0;
+ image.normal: "Controls/esim.png";
+ }
+ description {
+ state : "disable" 0.0;
+ inherit : "default" 0.0;
+ color_class : "AO012D";
+ }
+ }
+ }
+ programs {
+ program {
+ name : "img.callfwd.enable";
+ signal : "img.callfwd.enable";
+ source : "img.callfwd.icon";
+ action : STATE_SET "default" 0.0;
+ target : "img.callfwd.icon";
+ }
+ program {
+ name : "img.callfwd.disable";
+ signal : "img.callfwd.disable";
+ source : "img.callfwd.icon";
+ action : STATE_SET "disable" 0.0;
+ target : "img.callfwd.icon";
+ }
+ /* Number sync */
+ program {
+ name : "img.callfwd.numbersync";
+ signal : "img.callfwd.numbersync";
+ source : "img.callfwd.icon";
+ action : STATE_SET "numbersync" 0.0;
+ target : "img.callfwd.icon";
+ }
+ /* eSim */
+ program {
+ name : "img.esim.enable";
+ signal : "img.esim.enable";
+ source : "img.callfwd.icon";
+ action : STATE_SET "esim" 0.0;
+ target : "img.callfwd.icon";
+ }
+
+ ACTION_BTN_PRESS_EFFECT_PROGRAM
+ }
+}
--- /dev/null
+/*
+ * Samsung API
+ * Copyright (c) 2013 Samsung Electronics Co., Ltd.
+ *
+ * Licensed under the Flora License, Version 1.1 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+group {
+ name : "windicator/action_btn/dnd";
+ images {
+ image : "Controls/donotdisturb.png" COMP;
+ image : "b_moment_more_opt_bar.png" COMP;
+ }
+ parts {
+ ACTION_BTN_PRESS_EFFECT_PART
+ part {
+ name : "img.disturb.icon";
+ type : IMAGE;
+ scale : 1;
+ description {
+ state : "default" 0.0;
+ min : ACTION_BTN_WIDTH ACTION_BTN_HEIGHT;
+ max : ACTION_BTN_WIDTH ACTION_BTN_HEIGHT;
+ fixed : 1 1;
+ image.normal: "Controls/donotdisturb.png";
+ color_class : "AO012";
+ }
+ }
+ part {
+ name : "img.disturb.bar";
+ type : IMAGE;
+ scale : 1;
+ description {
+ state : "default" 0.0;
+ min : ACTION_BTN_BAR_WIDTH ACTION_BTN_BAR_HEIGHT;
+ max : ACTION_BTN_BAR_WIDTH ACTION_BTN_BAR_HEIGHT;
+ fixed : 1 1;
+ align : 0.5 0.0;
+ image.normal: "b_moment_more_opt_bar.png";
+ color_class : "AO0211";
+ rel1 { relative : 0.5 ACTION_BTN_BAR_REL1_H; to : "img.disturb.icon"; }
+ rel2 { relative : 0.5 1.0; to : "img.disturb.icon"; }
+ }
+ description {
+ state: "off" 0.0;
+ inherit: "default";
+ color_class : "AO0212";
+ }
+ }
+ }
+ programs {
+ program {
+ name: "dnd.enable";
+ signal: "dnd.enable";
+ source: "dnd.bg.icon";
+ action: STATE_SET "default" 0.0;
+ target: "img.disturb.bar";
+ }
+ program {
+ name: "dnd.disable";
+ signal: "dnd.disable";
+ source: "dnd.bg.icon";
+ action: STATE_SET "off" 0.0;
+ target: "img.disturb.bar";
+ }
+
+ ACTION_BTN_PRESS_EFFECT_PROGRAM
+ }
+}
\ No newline at end of file
--- /dev/null
+/*
+ * Samsung API
+ * Copyright (c) 2013 Samsung Electronics Co., Ltd.
+ *
+ * Licensed under the Flora License, Version 1.1 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+group {
+ name : "windicator/action_btn/flight_mode";
+ images {
+ image : "Controls/flight_mode.png" COMP;
+ image : "b_moment_more_opt_bar" COMP;
+ }
+ parts {
+ ACTION_BTN_PRESS_EFFECT_PART
+ part {
+ name : "img.flight.icon";
+ type : IMAGE;
+ scale : 1;
+ description {
+ state : "default" 0.0;
+ min : ACTION_BTN_WIDTH ACTION_BTN_HEIGHT;
+ max : ACTION_BTN_WIDTH ACTION_BTN_HEIGHT;
+ fixed : 1 1;
+ image.normal: "Controls/flight_mode.png";
+ color_class : "AO012";
+ }
+ }
+ part {
+ name : "img.flight.bar";
+ type : IMAGE;
+ scale : 1;
+ description {
+ state : "default" 0.0;
+ min : ACTION_BTN_BAR_WIDTH ACTION_BTN_BAR_HEIGHT;
+ max : ACTION_BTN_BAR_WIDTH ACTION_BTN_BAR_HEIGHT;
+ fixed : 1 1;
+ align : 0.5 0.0;
+ image.normal: "b_moment_more_opt_bar.png";
+ color_class : "AO0211";
+ rel1 { relative : 0.5 ACTION_BTN_BAR_REL1_H; to : "img.flight.icon"; }
+ rel2 { relative : 0.5 1.0; to : "img.flight.icon"; }
+ }
+ description {
+ state: "off" 0.0;
+ inherit: "default";
+ color_class : "AO0212";
+ }
+ }
+ }
+ programs {
+ program {
+ name: "flight.enable";
+ signal: "flight.enable";
+ source: "flight.bg.icon";
+ action: STATE_SET "default" 0.0;
+ target: "img.flight.bar";
+ }
+ program {
+ name: "flight.disable";
+ signal: "flight.disable";
+ source: "flight.bg.icon";
+ action: STATE_SET "off" 0.0;
+ target: "img.flight.bar";
+ }
+
+ ACTION_BTN_PRESS_EFFECT_PROGRAM
+ }
+}
\ No newline at end of file
--- /dev/null
+/*
+ * Samsung API
+ * Copyright (c) 2013 Samsung Electronics Co., Ltd.
+ *
+ * Licensed under the Flora License, Version 1.1 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+group {
+ name : "windicator/action_btn/music";
+ images {
+ image : "Controls/music.png" COMP;
+ }
+ parts {
+ ACTION_BTN_PRESS_EFFECT_PART
+ part {
+ name : "img.music.icon";
+ type : IMAGE;
+ scale : 1;
+ description {
+ state : "default" 0.0;
+ min : ACTION_BTN_WIDTH ACTION_BTN_HEIGHT;
+ max : ACTION_BTN_WIDTH ACTION_BTN_HEIGHT;
+ fixed : 1 1;
+ image.normal: "Controls/music.png";
+ color_class : "AO012";
+ }
+ description {
+ state : "disable" 0.0;
+ inherit : "default" 0.0;
+ color_class : "AO012D";
+ }
+ }
+ }
+ programs {
+ program {
+ name : "img.music.enable";
+ signal : "img.music.enable";
+ source : "img.music.icon";
+ action : STATE_SET "default" 0.0;
+ target : "img.music.icon";
+ }
+ program {
+ name : "img.music.disable";
+ signal : "img.music.disable";
+ source : "img.music.icon";
+ action : STATE_SET "disable" 0.0;
+ target : "img.music.icon";
+ }
+
+ ACTION_BTN_PRESS_EFFECT_PROGRAM
+ }
+}
\ No newline at end of file
--- /dev/null
+/*
+ * Samsung API
+ * Copyright (c) 2013 Samsung Electronics Co., Ltd.
+ *
+ * Licensed under the Flora License, Version 1.1 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+styles {
+ style {
+ name: "style_txt_volume";
+ base: "font=Tizen font_weight=Bold font_width=Condensed font_size=20 align=center valign=center color=#ffffffff";
+ tag: "br" "\n";
+ tag: "hilight" "+ color=#ffff";
+ tag: "b" "+ color=#ffff";
+ tag: "tab" "\t";
+ }
+}
+
+group {
+ name : "windicator/action_btn/volume";
+ images {
+ image : "Controls/multimedia.png" COMP;
+ image : "Controls/multimedia_off.png" COMP;
+ image : "Controls/vibrate.png" COMP;
+ }
+ parts {
+ ACTION_BTN_PRESS_EFFECT_PART
+ part {
+ name : "img.volume.icon";
+ type : IMAGE;
+ scale : 1;
+ repeat_events : 1;
+ description {
+ state : "default" 0.0;
+ min : ACTION_BTN_WIDTH ACTION_BTN_HEIGHT;
+ max : ACTION_BTN_WIDTH ACTION_BTN_HEIGHT;
+ fixed : 1 1;
+ image.normal: "Controls/multimedia.png";
+ color_class : "AO012";
+ }
+ description {
+ state: "mute" 0.0;
+ inherit: "default";
+ image.normal: "Controls/multimedia_off.png";
+ }
+ description {
+ state: "media" 0.0;
+ inherit: "default";
+ image.normal: "Controls/multimedia.png";
+ }
+ description {
+ state: "vibrate" 0.0;
+ inherit: "default";
+ image.normal: "Controls/vibrate.png";
+ }
+ }
+ part {
+ name : "txt.volume";
+ type : TEXTBLOCK;
+ scale : 1;
+ description {
+ state : "default" 0.0;
+ max : ACTION_BTN_TEXT_WIDTH ACTION_BTN_TEXT_HEIGHT;
+ min : ACTION_BTN_TEXT_WIDTH ACTION_BTN_TEXT_HEIGHT;
+ fixed : 1 1;
+ align : 0.5 0.0;
+ rel1 { relative : 0.5 ACTION_BTN_TEXT_REL1_H; to : "img.volume.icon"; }
+ rel2 { relative : 0.5 1.0; to : "img.volume.icon"; }
+ text {
+ min : 0 1;
+ style : "style_txt_volume";
+ text : "0";
+ }
+ }
+ description {
+ state: "mute" 0.0;
+ inherit: "default";
+ visible: 0;
+ }
+ description {
+ state: "media" 0.0;
+ inherit: "default";
+ visible: 1;
+ }
+ description {
+ state: "vibrate" 0.0;
+ inherit: "default";
+ visible: 0;
+ }
+ }
+ }
+ programs {
+ program {
+ name: "volume.icon.ringtone";
+ signal: "volume.icon.ringtone";
+ source: "img.volume.icon";
+ action: STATE_SET "default" 0.0;
+ target: "img.volume.icon";
+ }
+ program {
+ name: "volume.icon.mute";
+ signal: "volume.icon.mute";
+ source: "img.volume.icon";
+ action: STATE_SET "mute" 0.0;
+ target: "img.volume.icon";
+ }
+ program {
+ name: "volume.icon.media";
+ signal: "volume.icon.media";
+ source: "img.volume.icon";
+ action: STATE_SET "media" 0.0;
+ target: "img.volume.icon";
+ }
+ program {
+ name: "volume.icon.vibrate";
+ signal: "volume.icon.vibrate";
+ source: "img.volume.icon";
+ action: STATE_SET "vibrate" 0.0;
+ target: "img.volume.icon";
+ }
+
+ ACTION_BTN_PRESS_EFFECT_PROGRAM
+ }
+}
target : "img.battery";\
}\
+styles {
+ style {
+ name: "style_txt_battery";
+ base: "font=Tizen font_weight=Normal font_width=Condensed font_size=17 align=center valign=center color=#ffffffff";
+ tag: "br" "\n";
+ tag: "hilight" "+ color=#ffff";
+ tag: "b" "+ color=#ffff";
+ tag: "tab" "\t";
+ }
+}
+
group {
name : "windicator/battery_icon";
-
images {
image: BATTERY_DIR_PREFIX"/battery_00.png" COMP;
image: BATTERY_DIR_PREFIX"/battery_05.png" COMP;
DESCRIPTION_BATTERY(90);
DESCRIPTION_BATTERY(95);
DESCRIPTION_BATTERY(100);
-
+
DESCRIPTION_CHARGING_BATTERY(00);
DESCRIPTION_CHARGING_BATTERY(05);
DESCRIPTION_CHARGING_BATTERY(10);
rel2 { relative : 0.5 1.0; to : "img.battery.charge"; }
text {
style : "style_txt_battery";
- align : 0.5 0.5;
- min : 1 1;
- text : "30%";
+ min : 0 1;
}
}
}
action : STATE_SET "hide" 0.0;
target : "img.battery";
}
- /* Verizon, ATT */
- program {
- name : "Red4";
- signal : "Red4";
- source : "img.battery";
- action : STATE_SET "Red4" 0.0;
- target : "img.battery";
- }
- program {
- name : "Red10";
- signal : "Red10";
- source : "img.battery";
- action : STATE_SET "Red10" 0.0;
- target : "img.battery";
- }
- program {
- name : "Yellow15";
- signal : "Yellow15";
- source : "img.battery";
- action : STATE_SET "Yellow15" 0.0;
- target : "img.battery";
- }
- program {
- name : "Yellow20";
- signal : "Yellow20";
- source : "img.battery";
- action : STATE_SET "Yellow20" 0.0;
- target : "img.battery";
- }
PROGRAM_BATTERY(05);
PROGRAM_BATTERY(10);
PROGRAM_BATTERY(90);
PROGRAM_BATTERY(95);
PROGRAM_BATTERY(100);
-
+
PROGRAM_CHARGING_BATTERY(00);
PROGRAM_CHARGING_BATTERY(05);
PROGRAM_CHARGING_BATTERY(10);
PROGRAM_CHARGING_BATTERY(90);
PROGRAM_CHARGING_BATTERY(95);
PROGRAM_CHARGING_BATTERY(100);
+
program {
name : "Show.Battery.Charge";
signal : "Show.Battery.Charge";
+++ /dev/null
-/*
- * Samsung API
- * Copyright (c) 2013 Samsung Electronics Co., Ltd.
- *
- * Licensed under the Flora License, Version 1.1 (the License);
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://floralicense.org/license/
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#if 0
-styles {
- style {
- name: "style_txt_battery";
- base: "font=Tizen:style=Regular font_size=32 align=center color=#ffffffff color_class=AT01111 wrap=mixed text_class=AT01111";
- tag: "br" "\n";
- tag: "hilight" "+ color=#ffff";
- tag: "b" "+ color=#ffff";
- tag: "tab" "\t";
- }
-}
-
-group {
- name : "windicator/battery/layout/bt";
- parts {
- part {
- name : "bg";
- type : SPACER;
- scale :1;
- description {
- state : "default";
- min : WIN_WIDTH WIN_HEIGHT;
- max : WIN_WIDTH WIN_HEIGHT;
- }
- }
- part {
- name : "padding.top";
- type : SPACER;
- scale : 1;
- description {
- state : "default";
- min : 360 140;
- max : 360 140;
- fixed: 1 1;
- align : 0.0 0.0;
- // color :200 0 0 200;
- rel1 { relative : 0.0 0.0; to : "bg";}
- rel2 { relative : 0.0 0.0; to : "bg";}
- }
- }
- part {
- name : "txt.battery";
- type : TEXTBLOCK;
- scale : 1;
- description{
- state : "default" 0.0;
- visible : 1;
- min : 360 42;
- max : 360 42;
- fixed : 1 1;
- align : 0.5 0.0;
- rel1 { relative : 0.5 1.0; to : "padding.top"; }
- rel2 { relative : 0.5 1.0; to : "padding.top"; }
- text {
- style : "style_txt_battery";
- align : 0.5 0.5;
- min : 1 1;
- text : "50%";
- }
- }
- }
- part {
- name : "txt.battery.title";
- type : TEXT;
- scale : 1;
- description{
- state : "default" 0.0;
- fixed : 1 1;
- min : 360 32;
- max : 360 32;
- align : 0.5 0.0;
- color_class : "AT01112";
- rel1{ relative: 0.5 1.0; to : "txt.battery";}
- rel2{ relative: 0.5 1.0;to : "txt.battery";}
- text {
- min : 1 1;
- align: 0.5 0.5;
- text : "Battery";
- ellipsis : 0;
- text_class : "AT01112";
- }
- }
- }
- }
-
- programs {
- /*
- program {
- name : "image.disturb.enable";
- signal : "image.disturb.enable";
- source : "txt.dnd.on.off";
- action : STATE_SET "default" 0.0;
- target : "txt.dnd.on.off";
- }
- program {
- name : "image.disturb.disable";
- signal : "image.disturb.disable";
- source : "txt.dnd.on.off";
- action : STATE_SET "disable" 0.0;
- target : "txt.dnd.on.off";
- }
- */
- }
-
-}
-#endif
\ No newline at end of file
+++ /dev/null
-/*
- * Samsung API
- * Copyright (c) 2013 Samsung Electronics Co., Ltd.
- *
- * Licensed under the Flora License, Version 1.1 (the License);
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://floralicense.org/license/
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#define DESCRIPTION_BRIGHTNESS_ICON(num) \
- description { \
- state : "level_"num 0.0;\
- inherit : "default" 0.0; \
- image.normal: "Brightness/88x88/b_setting_brightness_"num".png"; \
- } \
-
-#define DESCRIPTION_BRIGHTNESS_TEXT(num) \
- description { \
- state : "level_"num 0.0;\
- inherit : "default" 0.0; \
- text {\
- text : num;\
- }\
- } \
-
-#define PROGRAM_BRIGHTNESS_ICON(num)\
- program { \
- name : "brightness.icon."num; \
- signal : "brightness.icon."num; \
- source : "img.brightness.icon"; \
- action : STATE_SET "level_"num 0.0; \
- target : "img.brightness.icon"; \
- target : "img.brightness.text"; \
- } \
-
-#define DESCRIPTION_BRIGHTNESS_LARGE_ICON(num) \
- description { \
- state : "level_"num 0.0;\
- inherit : "default" 0.0; \
- image.normal: "Brightness/150x150/b_setting_brightness_"num".png"; \
- } \
-
-#define DESCRIPTION_BRIGHTNESS_TEXT_FOR_LARGE_ICON(num) \
- description { \
- state : "level_"num 0.0;\
- inherit : "default" 0.0; \
- text {\
- text : num;\
- }\
- } \
-
-styles {
- /* It also be used for volume */
- style { name: "large_brightness_title_style";
- base: "font=Tizen:style=Regular font_size="28" align=center color=""#FFFFFF"" color_class=T014 text_class=AT0112";
- tag: "br" "\n";
- tag: "hilight" "+ font_weight=Bold";
- tag: "b" "+ font_weight=Bold";
- tag: "tab" "\t";
- }
-}
-
-styles {
- style {
- name: "style_txt_brightness";
- base: "font=Tizen:style=Regular font_size=24 align=center color=#ffffffff color_class=AT016 wrap=mixed text_class=AT016";
- tag: "br" "\n";
- tag: "hilight" "+ color=#ffff";
- tag: "b" "+ color=#ffff";
- tag: "tab" "\t";
- }
-}
-
-group {
- name : "windicator/brightness/small_layout";
- images {
- image : "Controls/b_moment_more_opt_ic_bg.png" COMP;
- image : "Controls/brightness.png" COMP;
- }
- parts {
- part {
- name : "bg";
- type : SPACER;
- scale :1;
- description {
- state : "default";
- min : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
- max : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
- }
- }
- part { /* index 1 */
- name : "img.brightness.bg";
- type : IMAGE;
- scale : 1;
- description {
- state : "default" 0.0;
- min : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
- max : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
- fixed : 1 1;
- align : 0.0 0.0;
- image.normal: "Controls/b_moment_more_opt_ic_bg.png";
- color_class : "AO0122";
- rel1 { relative : 0.0 0.0; to : "bg"; }
- rel2 { relative : 0.0 0.0; to : "bg"; }
- }
- description {
- state : "selected" 0.0;
- inherit : "default" 0.0;
- color_class : "AO0122P";
- }
- }
- part { /* index 1 */
- name : "img.brightness.icon";
- type : IMAGE;
- scale : 1;
- description {
- state : "default" 0.0;
- min : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
- max : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
- fixed : 1 1;
- align : 0.0 0.0;
- image.normal: "Controls/brightness.png";
- color_class : "AO012";
- rel1 { relative : 0.0 0.0; to : "bg"; }
- rel2 { relative : 0.0 0.0; to : "bg"; }
- }
- description {
- state : "selected" 0.0;
- inherit : "default" 0.0;
- color_class : "AO012P";
- }
- }
- part {
- name : "txt.brightness";
- type : TEXTBLOCK;
- scale : 1;
- description {
- state : "default" 0.0;
- max : 32 25;
- min : 32 25;
- // fixed : 1 1;
- align : 0.5 0.0;
- color: 0 0 0 255;
- rel1 { relative : 0.5 0.0; to : "img.brightness.icon"; offset : 0 33;}
- rel2 { relative : 0.5 0.0; to : "img.brightness.icon";}
- text {
- align : 0.5 0.5;
- min : 0 1;
- style : "style_txt_brightness";
- text : "0";
- }
- }
- description {
- state : "hide";
- inherit: "default" 0.0;
- visible :0;
- }
- }
- }
- programs {
- program {
- name: "layout.pressed";
- signal: "layout.pressed";
- source: "";
- action: STATE_SET "selected" 0.0;
- target: "img.brightness.icon";
- target: "img.brightness.bg";
- }
- program {
- name: "layout.released";
- signal: "layout.released";
- source: "";
- action: STATE_SET "default" 0.0;
- target: "img.brightness.icon";
- target: "img.brightness.bg";
- }
- }
-}
-
-#if 0
-group {
- name : "windicator/brightness/small_layout";
- images {
- image : "mb_center_bg.png" COMP;
- image : "moment_bar_focus_bt_touch_2.png" COMP;
- image : "Brightness/88x88/b_setting_brightness_1.png" COMP;
- image : "Brightness/88x88/b_setting_brightness_2.png" COMP;
- image : "Brightness/88x88/b_setting_brightness_3.png" COMP;
- image : "Brightness/88x88/b_setting_brightness_4.png" COMP;
- image : "Brightness/88x88/b_setting_brightness_5.png" COMP;
- image : "Brightness/88x88/b_setting_brightness_6.png" COMP;
- image : "Brightness/88x88/b_setting_brightness_7.png" COMP;
- image : "Brightness/88x88/b_setting_brightness_8.png" COMP;
- image : "Brightness/88x88/b_setting_brightness_9.png" COMP;
- image : "Brightness/88x88/b_setting_brightness_10.png" COMP;
- }
- parts {
- part {
- name : "bg";
- type : SPACER;
- scale :1;
- description {
- state : "default";
- min : WIN_WIDTH WIN_HEIGHT;
- max : WIN_WIDTH WIN_HEIGHT;
- }
- }
- part {
- name : "padding.top";
- type : SPACER;
- scale : 1;
- description {
- state : "default";
- min : 360 92;
- max : 360 92;
- fixed: 1 1;
- align : 0.0 0.0;
- // color :200 0 0 200;
- rel1 { relative : 0.0 0.0; to : "bg";}
- rel2 { relative : 0.0 0.0; to : "bg";}
- }
- }
- part {
- name : "img.brightness.text";
- type : TEXT;
- clip_to : "clipper_brightness";
- scale : 1;
- repeat_events : 1;
- description{
- state : "default" 0.0;
- min : BRIGHTNESS_TEXT_WIDTH BRIGHTNESS_TEXT_HEIGHT;
- visible : 1;
- fixed : 1 1;
- align : 0.5 0.0;
- color_class : "AT0112";
- rel1 { relative : 0.5 1.0; to : "padding.top"; }
- rel2 { relative : 0.5 1.0; to : "padding.top"; }
- text {
- min : 1 1;
- align: 0.5 0.5;
- text_class : "AT0112";
- text : "00";
- }
- }
- DESCRIPTION_BRIGHTNESS_TEXT(0)
- DESCRIPTION_BRIGHTNESS_TEXT(1)
- DESCRIPTION_BRIGHTNESS_TEXT(2)
- DESCRIPTION_BRIGHTNESS_TEXT(3)
- DESCRIPTION_BRIGHTNESS_TEXT(4)
- DESCRIPTION_BRIGHTNESS_TEXT(5)
- DESCRIPTION_BRIGHTNESS_TEXT(6)
- DESCRIPTION_BRIGHTNESS_TEXT(7)
- DESCRIPTION_BRIGHTNESS_TEXT(8)
- DESCRIPTION_BRIGHTNESS_TEXT(9)
- DESCRIPTION_BRIGHTNESS_TEXT(10)
- }
- part {
- name : "padding.center.1";
- type : SPACER;
- scale : 1;
- description {
- state : "default";
- min : 360 6;
- max : 360 6;
- fixed: 1 1;
- // color :0 0 200 200;
- align : 0.5 0.0;
- rel1 { relative : 0.5 1.0; to : "img.brightness.text";}
- rel2 { relative : 0.5 1.0; to : "img.brightness.text";}
- }
- }
- part {
- name : "img.brightness.bg";
- type : IMAGE;
- clip_to : "clipper_brightness";
- scale : 1;
- repeat_events : 1;
- description {
- state : "default" 0.0;
- min : BRIGHTNESS_BG_WIDTH BRIGHTNESS_BG_HEIGHT;
- max : BRIGHTNESS_BG_WIDTH BRIGHTNESS_BG_HEIGHT;
- fixed : 1 1;
- image.normal: "mb_center_bg.png";
- color_class : "AO024";
- align : 0.5 0.0;
- rel1 { relative : 0.5 1.0; to : "padding.center.1";}
- rel2 { relative : 0.5 1.0; to : "padding.center.1";}
- }
- }
- part {
- name : "sw.brightness.btn";
- type : SWALLOW;
- scale : 1;
- repeat_events : 1;
- description {
- state : "default" 0.0;
- min : 80 80;
- max : 80 80;
- fixed : 1 1;
- align : 0.5 0.5;
- rel1.to: "img.brightness.bg";
- rel2.to: "img.brightness.bg";
- }
- }
- part {
- name : "img.brightness.icon";
- type : IMAGE;
- clip_to : "clipper_brightness";
- scale : 1;
- repeat_events : 1;
- description {
- state : "default" 0.0;
- min : BRIGHTNESS_ICON_WIDTH BRIGHTNESS_ICON_HEIGHT;
- max : BRIGHTNESS_ICON_WIDTH BRIGHTNESS_ICON_HEIGHT;
- fixed : 1 1;
- image.normal: "Brightness/88x88/b_setting_brightness_1.png";
- color_class : "AO025";
- align : 0.5 0.0;
- rel1 { relative : 0.5 1.0; to : "padding.center.1";}
- rel2 { relative : 0.5 1.0; to : "padding.center.1";}
- }
- DESCRIPTION_BRIGHTNESS_ICON(1)
- DESCRIPTION_BRIGHTNESS_ICON(2)
- DESCRIPTION_BRIGHTNESS_ICON(3)
- DESCRIPTION_BRIGHTNESS_ICON(4)
- DESCRIPTION_BRIGHTNESS_ICON(5)
- DESCRIPTION_BRIGHTNESS_ICON(6)
- DESCRIPTION_BRIGHTNESS_ICON(7)
- DESCRIPTION_BRIGHTNESS_ICON(8)
- DESCRIPTION_BRIGHTNESS_ICON(9)
- DESCRIPTION_BRIGHTNESS_ICON(10)
- }
- part {
- name : "padding.center.2";
- type : SPACER;
- scale : 1;
- description {
- state : "default";
- min : 360 PADDING_CENTER_2;
- max : 360 PADDING_CENTER_2;
- fixed: 1 1;
- // color :0 0 200 200;
- align : 0.5 0.0;
- rel1 { relative : 0.5 1.0; to : "img.brightness.icon";}
- rel2 { relative : 0.5 1.0; to : "img.brightness.icon";}
- }
- }
- part {
- name : "txt.brightness";
- type : TEXT;
- clip_to : "clipper_brightness";
- scale : 1;
- description{
- state : "default" 0.0;
- min : BRIGHTNESS_TEXT_WIDTH BRIGHTNESS_TEXT_HEIGHT;
- fixed : 1 1;
- align : 0.5 0.0;
- color_class : "AT0113";
- rel1{ relative: 0.5 1.0; to : "padding.center.2";}
- rel2{ relative: 0.5 1.0;to : "padding.center.2";}
- text {
- min : 1 1;
- align: 0.5 0.5;
- ellipsis : 0;
- text_class : "AT0113";
- }
- }
- }
- part {
- name: "clipper_brightness";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- color: 255 255 255 0;
- rel1.to: "bg";
- rel2.to: "bg";
- }
- description {
- state: "fade_in" 0.0;
- inherit: "default";
- color: 255 255 255 255;
- }
- }
- part {
- name : "brightness.touch.area";
- // type : RECT;
- type : IMAGE;
- precise_is_inside: 1;
- repeat_events: 1;
- scale : 1;
- description {
- state : "default" 0.0;
- // min : 232 232;
- // max : 232 232;
- // fixed : 1 1;
- color : 100 100 0 0;
- // align : 0.5 0.5;
- image.normal: "moment_bar_focus_bt_touch_1.png";
-// color_class : "AO0217";
- rel1.to: "bg";
- rel2.to: "bg";
- }
- }
- }
- programs {
- PROGRAM_BRIGHTNESS_ICON(1)
- PROGRAM_BRIGHTNESS_ICON(2)
- PROGRAM_BRIGHTNESS_ICON(3)
- PROGRAM_BRIGHTNESS_ICON(4)
- PROGRAM_BRIGHTNESS_ICON(5)
- PROGRAM_BRIGHTNESS_ICON(6)
- PROGRAM_BRIGHTNESS_ICON(7)
- PROGRAM_BRIGHTNESS_ICON(8)
- PROGRAM_BRIGHTNESS_ICON(9)
- PROGRAM_BRIGHTNESS_ICON(10)
- }
- // Hide
- program {
- name: "brightness_hide";
- signal: "brightness_hide";
- source: "clipper_brightness";
- action: STATE_SET "default" 0.0;
- target: "clipper_brightness";
- after: "brightness_fade_out_end";
- }
- // Fade Out effect
- program {
- name: "brightness_fade_out";
- signal: "brightness_fade_out";
- source: "clipper_brightness";
- action: STATE_SET "default" 0.0;
- target: "clipper_brightness";
- transition: ACCEL_FAC 0.1 0.33;
- after : "brightness_fade_out_end";
- }
- program {
- name : "brightness_fade_out_end";
- action : SIGNAL_EMIT "brightness_fade_out_end" "signal";
- }
-
- // Fade In effect
- program {
- name: "brightness_fade_in"; // Do nothing for 0.1 second.
- signal: "brightness_fade_in";
- source: "clipper_brightness";
- action: STATE_SET "default" 0.0;
- target: "clipper_brightness";
- transition: ACCEL_FAC 0.1 0.33;
- after: "brightness_fade_in_start";
- }
- program {
- name: "brightness_fade_in_start";
- signal: "brightness_fade_in";
- source: "clipper_brightness";
- action: STATE_SET "fade_in" 0.0;
- target: "clipper_brightness";
- transition: ACCEL_FAC 0.1 0.33;
- }
-}
-
-group {
- name : "windicator/brightness/large_layout";
- images {
- image : "b_brightness_slider_bg.png" COMP;
- image : "view_over_back_bg.png" COMP;
- image : "Brightness/150x150/b_setting_brightness_1.png" COMP;
- image : "Brightness/150x150/b_setting_brightness_2.png" COMP;
- image : "Brightness/150x150/b_setting_brightness_3.png" COMP;
- image : "Brightness/150x150/b_setting_brightness_4.png" COMP;
- image : "Brightness/150x150/b_setting_brightness_5.png" COMP;
- image : "Brightness/150x150/b_setting_brightness_6.png" COMP;
- image : "Brightness/150x150/b_setting_brightness_7.png" COMP;
- image : "Brightness/150x150/b_setting_brightness_8.png" COMP;
- image : "Brightness/150x150/b_setting_brightness_9.png" COMP;
- image : "Brightness/150x150/b_setting_brightness_10.png" COMP;
- }
- parts {
- part {
- name : "bg";
- type : RECT;
- clip_to: "clipper_large_brightness_icon";
- scale : 1;
- description {
- state : "default" 0.0;
- min : WIN_WIDTH WIN_HEIGHT;
- max : WIN_WIDTH WIN_HEIGHT;
- color_class : "AO029L4";
- }
- }
- part {
- name : "over.back.bg";
- type : IMAGE;
- clip_to: "clipper_large_brightness_icon";
- scale : 1;
- description {
- state : "default" 0.0;
- min : WIN_WIDTH WIN_HEIGHT;
- max : WIN_WIDTH WIN_HEIGHT;
- fixed :1 1;
- rel1 { relative : 0.5 0.5; to : "bg"; }
- rel2 { relative : 0.5 0.5; to : "bg"; }
- image.normal: "view_over_back_bg.png";
- color_class : "AO029L3";
- }
- }
- part {
- name : "padding.top";
- type : SPACER;
- scale :1;
- description {
- state : "default" 0.0;
- min : WIN_WIDTH 50;
- max : WIN_WIDTH 50;
- // visible : 1;
- fixed : 1 1;
- // color : 200 0 0 200;
- align : 0.0 0.0;
- rel1 { relative : 0.0 0.0; to : "bg"; }
- rel2 { relative : 0.0 0.0; to : "bg"; }
- }
- }
- part {
- name : "img.brightness.text";
- type : TEXTBLOCK;
- clip_to: "clipper_large_brightness_icon";
- scale : 1;
- description{
- state : "default" 0.0;
- min : BRIGHTNESS_TEXT_WIDTH BRIGHTNESS_TEXT_HEIGHT;
- max : BRIGHTNESS_TEXT_WIDTH BRIGHTNESS_TEXT_HEIGHT;
- visible : 1;
- fixed : 1 1;
- align : 0.5 0.0;
- rel1 { relative : 0.0 1.0; to : "padding.top"; }
- rel2 { relative : 1.0 1.0; to : "padding.top"; }
- text {
- style : "large_brightness_title_style";
- min : 1 1;
- align: 0.5 0.5;
- text : "0";
- }
- }
- DESCRIPTION_BRIGHTNESS_TEXT_FOR_LARGE_ICON(1)
- DESCRIPTION_BRIGHTNESS_TEXT_FOR_LARGE_ICON(2)
- DESCRIPTION_BRIGHTNESS_TEXT_FOR_LARGE_ICON(3)
- DESCRIPTION_BRIGHTNESS_TEXT_FOR_LARGE_ICON(4)
- DESCRIPTION_BRIGHTNESS_TEXT_FOR_LARGE_ICON(5)
- DESCRIPTION_BRIGHTNESS_TEXT_FOR_LARGE_ICON(6)
- DESCRIPTION_BRIGHTNESS_TEXT_FOR_LARGE_ICON(7)
- DESCRIPTION_BRIGHTNESS_TEXT_FOR_LARGE_ICON(8)
- DESCRIPTION_BRIGHTNESS_TEXT_FOR_LARGE_ICON(9)
- DESCRIPTION_BRIGHTNESS_TEXT_FOR_LARGE_ICON(10)
- }
- part {
- name : "img.brightness.bg";
- type : IMAGE;
- clip_to: "clipper_large_brightness_icon";
- scale : 1;
- description {
- state : "default" 0.0;
- min : 150 150;
- max : 150 150;
- fixed : 1 1;
- align : 0.5 0.5;
- rel1 { relative : 0.5 0.5; to : "bg"; }
- rel2 { relative : 0.5 0.5; to : "bg"; }
- image.normal: "b_brightness_slider_bg.png";
- color_class : "B0554";
- }
- }
- part {
- name : "img.brightness.icon";
- type : IMAGE;
- clip_to: "clipper_large_brightness_icon";
- scale : 1;
- description {
- state : "default" 0.0;
- min : BRIGHTNESS_LARGE_ICON_WIDTH BRIGHTNESS_LARGE_ICON_HEIGHT;
- max : BRIGHTNESS_LARGE_ICON_WIDTH BRIGHTNESS_LARGE_ICON_HEIGHT;
- fixed : 1 1;
- rel1 { relative : 0.5 0.5; to : "img.brightness.bg"; }
- rel2 { relative : 0.5 0.5; to : "img.brightness.bg"; }
- image.normal: "Brightness/150x150/b_setting_brightness_1.png";
- color_class : "B0556";
- }
- DESCRIPTION_BRIGHTNESS_LARGE_ICON(1)
- DESCRIPTION_BRIGHTNESS_LARGE_ICON(2)
- DESCRIPTION_BRIGHTNESS_LARGE_ICON(3)
- DESCRIPTION_BRIGHTNESS_LARGE_ICON(4)
- DESCRIPTION_BRIGHTNESS_LARGE_ICON(5)
- DESCRIPTION_BRIGHTNESS_LARGE_ICON(6)
- DESCRIPTION_BRIGHTNESS_LARGE_ICON(7)
- DESCRIPTION_BRIGHTNESS_LARGE_ICON(8)
- DESCRIPTION_BRIGHTNESS_LARGE_ICON(9)
- DESCRIPTION_BRIGHTNESS_LARGE_ICON(10)
- }
- part {
- name : "txt.brightness";
- type : TEXTBLOCK;
- clip_to: "clipper_large_brightness_icon";
- scale : 1;
- mouse_events: 1;
- description{
- state : "default" 0.0;
- fixed : 1 1;
- align : 0.5 0.0;
- rel1{ relative: 0.0 1.0; to : "img.brightness.icon"; offset : 0 10;}
- rel2{ relative: 1.0 1.0; to : "img.brightness.icon";}
- text {
- style : "large_brightness_title_style";
- min : 1 1;
- align: 0.5 0.5;
- text : "Brightness";
- }
- }
- }
- part {
- name: "clipper_large_brightness_icon";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- color: 255 255 255 0;
- rel1.to: "bg";
- rel2.to: "bg";
- }
- description {
- state: "fade_in" 0.0;
- inherit: "default";
- color: 255 255 255 255;
- }
- }
- }
- programs {
- PROGRAM_BRIGHTNESS_ICON(0)
- PROGRAM_BRIGHTNESS_ICON(1)
- PROGRAM_BRIGHTNESS_ICON(2)
- PROGRAM_BRIGHTNESS_ICON(3)
- PROGRAM_BRIGHTNESS_ICON(4)
- PROGRAM_BRIGHTNESS_ICON(5)
- PROGRAM_BRIGHTNESS_ICON(6)
- PROGRAM_BRIGHTNESS_ICON(7)
- PROGRAM_BRIGHTNESS_ICON(8)
- PROGRAM_BRIGHTNESS_ICON(9)
- PROGRAM_BRIGHTNESS_ICON(10)
- program {
- name: "large_brightness_icon_fade_in";
- signal: "large_brightness_icon_fade_in";
- source: "clipper_large_brightness_icon";
- action: STATE_SET "fade_in" 0.0;
- target: "clipper_large_brightness_icon";
- transition: LINEAR 0.3;
- }
- program {
- name: "large_brightness_icon_fade_out";
- signal: "large_brightness_icon_fade_out";
- source: "clipper_large_brightness_icon";
- action: STATE_SET "default" 0.0;
- target: "clipper_large_brightness_icon";
- transition: LINEAR 0.3;
- after: "large_brightness_fade_out_end";
- }
- program {
- name : "large_brightness_fade_out_end";
- action : SIGNAL_EMIT "large_brightness_fade_out_end" "signal";
- }
- }
-}
-#endif
+++ /dev/null
-/*
- * Samsung API
- * Copyright (c) 2013 Samsung Electronics Co., Ltd.
- *
- * Licensed under the Flora License, Version 1.1 (the License);
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://floralicense.org/license/
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-group {
- name : "windicator/callfwd_btn";
- images {
- image : "Controls/b_moment_more_opt_ic_bg.png" COMP;
- image : "Controls/call_forwarding.png" COMP;
- image : "Controls/esim.png" COMP;
- image : "Indicator_business/call_forwarding_business.png" COMP;
- }
- parts {
- part {
- name : "bg";
- type : SPACER;
- scale :1;
- description {
- state : "default";
- min : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
- max : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
- }
- }
- part {
- name : "img.callfwd.bg";
- type : IMAGE;
- scale : 1;
- description {
- state : "default" 0.0;
- min : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
- max : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
- fixed : 1 1;
- align : 0.0 0.0;
- image.normal: "Controls/b_moment_more_opt_ic_bg.png";
- color_class : "AO0122";
- rel1 { relative : 0.0 0.0; to : "bg"; }
- rel2 { relative : 0.0 0.0; to : "bg"; }
- }
- description {
- state : "numbersync" 0.0;
- inherit : "default" 0.0;
- }
- description {
- state : "esim" 0.0;
- inherit : "default" 0.0;
- }
- description {
- state : "disable" 0.0;
- inherit : "default" 0.0;
- color_class : "AO0122D";
- }
- description {
- state : "selected" 0.0;
- inherit : "default" 0.0;
- color_class : "AO0122P";
- }
- }
- part {
- name : "img.callfwd.icon";
- type : IMAGE;
- scale : 1;
- description {
- state : "default" 0.0;
- min : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
- max : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
- fixed : 1 1;
- align : 0.0 0.0;
- image.normal: "Controls/call_forwarding.png";
- color_class : "AO012";
- rel1 { relative : 0.0 0.0; to : "bg"; }
- rel2 { relative : 0.0 0.0; to : "bg"; }
- }
- description {
- state : "numbersync" 0.0;
- inherit : "default" 0.0;
- image.normal: "Indicator_business/call_forwarding_business.png";
- }
- description {
- state : "esim" 0.0;
- inherit : "default" 0.0;
- image.normal: "Controls/esim.png";
- }
- description {
- state : "disable" 0.0;
- inherit : "default" 0.0;
- color_class : "AO012D";
- }
- }
-
- }
- programs {
- program {
- name : "img.callfwd.enable";
- signal : "img.callfwd.enable";
- source : "img.callfwd.icon";
- action : STATE_SET "default" 0.0;
- target : "img.callfwd.icon";
- target : "img.callfwd.bg";
-// target : "txt.callfwd";
- }
- program {
- name : "img.callfwd.disable";
- signal : "img.callfwd.disable";
- source : "img.callfwd.icon";
- action : STATE_SET "disable" 0.0;
- target : "img.callfwd.icon";
- target : "img.callfwd.bg";
-// target : "txt.callfwd";
- }
- /* Number sync */
- program {
- name : "img.callfwd.numbersync";
- signal : "img.callfwd.numbersync";
- source : "img.callfwd.icon";
- action : STATE_SET "numbersync" 0.0;
- target : "img.callfwd.icon";
- target : "img.callfwd.bg";
- }
- /* eSim */
- program {
- name : "img.esim.enable";
- signal : "img.esim.enable";
- source : "img.callfwd.icon";
- action : STATE_SET "esim" 0.0;
- target : "img.callfwd.icon";
- target : "img.callfwd.bg";
- }
-
- /* Press effect */
- program {
- name: "layout.pressed";
- signal: "layout.pressed";
- source: "";
- action: STATE_SET "selected" 0.0;
- target: "img.callfwd.bg";
- }
- program {
- name: "layout.released";
- signal: "layout.released";
- source: "";
- action: STATE_SET "default" 0.0;
- target: "img.callfwd.bg";
- }
- }
-}
-#if 0
-group {
- name : "windicator/callfwd_btn";
- images {
- image : "mb_3g_indi_link_bg.png" COMP;
- image : "moment_bar_focus_bt_touch_1.png" COMP;
- image : "mb_3g_indi_link_icon_call.png" COMP;
-// image : "mb_3g_indi_link_stroke.png" COMP;
- }
- parts {
- part {
- name : "bg";
- type : SPACER;
- scale :1;
- description {
- state : "default";
- min : WIN_WIDTH WIN_HEIGHT;
- max : WIN_WIDTH WIN_HEIGHT;
- }
- }
- part {
- name : "padding.top";
- type : SPACER;
- scale : 1;
- description {
- state : "default";
- min : 360 135;
- max : 360 135;
- fixed: 1 1;
- align : 0.0 0.0;
- // color :200 0 0 200;
- rel1 { relative : 0.0 0.0; to : "bg";}
- rel2 { relative : 0.0 0.0; to : "bg";}
- }
- }
- part {
- name : "img.callfwd.bg";
- type : IMAGE;
- clip_to : "clipper_callfwd";
- scale : 1;
- repeat_events : 1;
- description {
- state : "default" 0.0;
- min : MUSIC_BTN_WIDTH MUSIC_BTN_HEIGHT;
- max : MUSIC_BTN_WIDTH MUSIC_BTN_HEIGHT;
- fixed : 1 1;
- image.normal: "mb_3g_indi_link_bg.png";
- color_class : "AO027";
- align : 0.5 0.0;
- rel1 { relative : 0.5 1.0; to : "padding.top";}
- rel2 { relative : 0.5 1.0; to : "padding.top";}
- }
- description {
- state: "disable" 0.0;
- inherit: "default";
- color_class : "AO0271";
- }
- }
- part {
- name : "sw.callfwd.btn";
- type : SWALLOW;
- // clip_to : "clipper_music";
- scale : 1;
- // mouse_events : 1;
- repeat_events : 1;
- description {
- state : "default" 0.0;
- min : 80 80;
- max : 80 80;
- fixed : 1 1;
- align : 0.5 0.5;
- rel1.to: "img.callfwd.bg";
- rel2.to: "img.callfwd.bg";
- }
- }
- part {
- name : "img.callfwd.icon";
- type : IMAGE;
- clip_to : "clipper_callfwd";
- scale : 1;
- repeat_events : 1;
- description {
- state : "default" 0.0;
- min : MUSIC_BTN_WIDTH MUSIC_BTN_HEIGHT;
- max : MUSIC_BTN_WIDTH MUSIC_BTN_HEIGHT;
- fixed : 1 1;
- image.normal: "mb_3g_indi_link_icon_call.png";
- color_class : "AO025";
- align : 0.5 0.0;
- rel1 { relative : 0.5 1.0; to : "padding.top";}
- rel2 { relative : 0.5 1.0; to : "padding.top";}
- }
- description {
- state: "disable" 0.0;
- inherit: "default";
- color_class : "AO025D";
- }
- }
- part {
- name : "padding.center.2";
- type : SPACER;
- scale : 1;
- description {
- state : "default";
- min : 360 PADDING_CENTER_2;
- max : 360 PADDING_CENTER_2;
- fixed: 1 1;
- // color :0 0 200 200;
- align : 0.5 0.0;
- rel1 { relative : 0.5 1.0; to : "img.callfwd.icon";}
- rel2 { relative : 0.5 1.0; to : "img.callfwd.icon";}
- }
- }
- part {
- name : "txt.callfwd";
- type : TEXT;
- clip_to : "clipper_callfwd";
- scale : 1;
- description{
- state : "default" 0.0;
- min : DND_TEXT_WIDTH DND_TEXT_HEIGHT;
- fixed : 1 1;
- align : 0.5 0.0;
- color_class : "AT0114";
- rel1{ relative: 0.5 1.0; to : "padding.center.2";}
- rel2{ relative: 0.5 1.0;to : "padding.center.2";}
- text {
- min : 1 1;
- align: 0.5 0.5;
- text : "Call forwadring";
- ellipsis : 0;
- text_class : "AT0114";
- }
- }
- description {
- state: "disable" 0.0;
- inherit: "default";
- color_class : "AO0271";
- }
- }
- part {
- name: "clipper_callfwd";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- color: 255 255 255 0;
- rel1.to: "bg";
- rel2.to: "bg";
- }
- description {
- state: "fade_in" 0.0;
- inherit: "default";
- color: 255 255 255 255;
- }
- }
- part {
- name : "callfwd.touch.area";
- // type : RECT;
- type : IMAGE;
- precise_is_inside: 1;
- repeat_events: 1;
- scale : 1;
- description {
- state : "default" 0.0;
- // min : 232 232;
- // max : 232 232;
- // fixed : 1 1;
- color : 100 0 120 0;
- // align : 0.5 0.5;
- image.normal: "moment_bar_focus_bt_touch_1.png";
-// color_class : "AO0217";
- rel1.to: "bg";
- rel2.to: "bg";
- }
- }
- }
- programs {
- program {
- name : "img.callfwd.enable";
- signal : "img.callfwd.enable";
- source : "img.callfwd.icon";
- action : STATE_SET "default" 0.0;
- target : "img.callfwd.icon";
- target : "img.callfwd.bg";
- target : "txt.callfwd";
- }
- program {
- name : "img.callfwd.disable";
- signal : "img.callfwd.disable";
- source : "img.callfwd.icon";
- action : STATE_SET "disable" 0.0;
- target : "img.callfwd.icon";
- target : "img.callfwd.bg";
- target : "txt.callfwd";
- }
-
- // Hide
- program {
- name: "callfwd_hide";
- signal: "callfwd_hide";
- source: "clipper_callfwd";
- action: STATE_SET "default" 0.0;
- target: "clipper_callfwd";
- after: "callfwd_fade_out_end";
- }
- // Fade Out effect
- program {
- name: "callfwd_fade_out";
- signal: "callfwd_fade_out";
- source: "clipper_callfwd";
- action: STATE_SET "default" 0.0;
- target: "clipper_callfwd";
- transition: ACCEL_FAC 0.1 0.33;
- after: "callfwd_fade_out_end";
- }
- program {
- name : "callfwd_fade_out_end";
- action : SIGNAL_EMIT "callfwd_fade_out_end" "signal";
- }
-
- // Fade In effect
- program {
- name: "callfwd_fade_in";
- signal: "callfwd_fade_in";
- source: "clipper_callfwd";
- action: STATE_SET "default" 0.0;
- target: "clipper_callfwd";
- transition: ACCEL_FAC 0.1 0.33;
- after: "callfwd_fade_in_start";
- }
- program {
- name: "callfwd_fade_in_start";
- signal: "callfwd_fade_in";
- source: "clipper_callfwd";
- action: STATE_SET "fade_in" 0.0;
- target: "clipper_callfwd";
- transition: ACCEL_FAC 0.1 0.33;
- }
- }
-}
-#endif
\ No newline at end of file
}
color_class {
name: "AO012";
- color: 0 0 0 255;
+ color: 255 255 255 255;
}
color_class {
name: "AO0121";
}
color_class {
name: "AO012P";
- color: 0 0 0 255;
+ color: 255 255 255 221;
}
color_class {
name: "AO012D";
- color: 0 0 0 76;
+ color: 255 255 255 76;
}
color_class {
name: "AO0122";
}
color_class {
name: "AO0122P";
- color: 255 255 255 127;
+ color: 255 255 255 33;
}
color_class {
name: "AO0122D";
}
color_class {
name: "AO0211";
- color: 115 191 15 255;
+ color: 76 207 255 255;
}
color_class {
name: "AO0212";
- color: 41 41 41 255;
+ color: 60 60 60 255;
}
color_class {
name: "AT011";
--- /dev/null
+/*
+ * Samsung API
+ * Copyright (c) 2013 Samsung Electronics Co., Ltd.
+ *
+ * Licensed under the Flora License, Version 1.1 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#define WIN_WIDTH 360
+#define WIN_HEIGHT 360
+
+#define REL_W(value) (value/WIN_WIDTH)
+#define REL_H(value) (value/WIN_HEIGHT)
+
+#define DYNAMIC_ICON_WIDTH 24
+#define DYNAMIC_ICON_HEIGHT 26
+
+#define BATTERY_ICON_WIDTH 22
+#define BATTERY_ICON_HEIGHT 33
+
+#define ACTION_BTN_WIDTH 64
+#define ACTION_BTN_HEIGHT 64
+
+#define ACTION_BTN_TEXT_WIDTH 24
+#define ACTION_BTN_TEXT_HEIGHT 26
+#define ACTION_BTN_TEXT_REL1_H ((ACTION_BTN_HEIGHT-ACTION_BTN_TEXT_HEIGHT)/ACTION_BTN_HEIGHT)
+
+#define ACTION_BTN_BAR_WIDTH 30
+#define ACTION_BTN_BAR_HEIGHT 16
+#define ACTION_BTN_BAR_REL1_H ((ACTION_BTN_HEIGHT-ACTION_BTN_BAR_HEIGHT)/ACTION_BTN_HEIGHT)
+
+#define ACTION_BTN_PRESS_EFFECT_BG_SIZE 90 90
+
+#define ACTION_BTN_PRESS_EFFECT_PART \
+ images { \
+ image : "b_more_option_sub_btn_bg.png" COMP; \
+ } \
+ part { \
+ name : "img.press.bg"; \
+ type : IMAGE; \
+ scale : 1; \
+ description { \
+ state : "default" 0.0; \
+ min : ACTION_BTN_PRESS_EFFECT_BG_SIZE; \
+ max : ACTION_BTN_PRESS_EFFECT_BG_SIZE; \
+ fixed : 1 1; \
+ align : 0.5 0.5; \
+ image.normal: "b_more_option_sub_btn_bg.png"; \
+ color: 0 0 0 0; \
+ rel1 { relative : 0.5 0.5; } \
+ rel2 { relative : 0.5 0.5; } \
+ map { \
+ on: 1; \
+ smooth: 1; \
+ perspective_on: 1; \
+ } \
+ } \
+ description { \
+ state: "pressed" 0.0; \
+ inherit: "default" 0.0; \
+ color: 250 250 250 33; \
+ map { \
+ zoom.x: 1.0; \
+ zoom.y: 1.0; \
+ } \
+ } \
+ description { \
+ state: "start_persp" 0.0; \
+ inherit: "pressed" 0.0; \
+ map { \
+ zoom.x: 1.1; \
+ zoom.y: 1.1; \
+ } \
+ } \
+ }
+
+#define ACTION_BTN_PRESS_EFFECT_PROGRAM \
+ program { \
+ name: "layout.pressed"; \
+ signal: "layout.pressed"; \
+ source: ""; \
+ action: STATE_SET "pressed" 0.0; \
+ target: "img.press.bg"; \
+ after: "start_persp"; \
+ } \
+ program { \
+ name: "layout.released"; \
+ signal: "layout.released"; \
+ source: ""; \
+ action: STATE_SET "default" 0.0; \
+ transition: LINEAR 0.5; \
+ target: "img.press.bg"; \
+ } \
+ program { name: "start_persp"; \
+ action: STATE_SET "start_persp" 0.0; \
+ transition: CUBIC_BEZIER 0.5 0.45 0.03 0.41 1.0; \
+ target: "img.press.bg"; \
+ }
+++ /dev/null
-/*
- * Samsung API
- * Copyright (c) 2013 Samsung Electronics Co., Ltd.
- *
- * Licensed under the Flora License, Version 1.1 (the License);
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://floralicense.org/license/
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-group {
- name : "windicator/dnd_btn/bt";
- images {
- image : "Controls/b_moment_more_opt_ic_bg.png" COMP;
- image : "Controls/donotdisturb.png" COMP;
- image : "Controls/vzw_donotdisturb.png" COMP;
- image : "b_moment_more_opt_bar.png" COMP;
- }
- parts {
- part {
- name : "bg";
- type : SPACER;
- scale :1;
- description {
- state : "default";
- min : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
- max : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
- }
- }
- part {
- name : "img.disturb.bg";
- type : IMAGE;
- scale : 1;
- description {
- state : "default" 0.0;
- min : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
- max : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
- fixed : 1 1;
- align : 0.0 0.0;
- image.normal: "Controls/b_moment_more_opt_ic_bg.png";
- color_class : "AO0122";
- rel1 { relative : 0.0 0.0; to : "bg"; }
- rel2 { relative : 0.0 0.0; to : "bg"; }
- }/*
- description {
- state: "off" 0.0;
- inherit: "default";
- color_class : "AO01221";
- }*/
- description {
- state : "selected" 0.0;
- inherit : "default" 0.0;
- color_class : "AO0122P";
- }
- }
- part {
- name : "img.disturb.icon";
- type : IMAGE;
- scale : 1;
- description {
- state : "default" 0.0;
- min : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
- max : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
- fixed : 1 1;
- align : 0.0 0.0;
- image.normal: "Controls/donotdisturb.png";
- color_class : "AO012";
- rel1 { relative : 0.0 0.0; to : "bg"; }
- rel2 { relative : 0.0 0.0; to : "bg"; }
- }
- description {
- state: "vzw" 0.0;
- inherit: "default";
- image.normal: "Controls/vzw_donotdisturb.png";
- }
- }
- part {
- name : "img.disturb.bar";
- type : IMAGE;
- scale : 1;
- description {
- state : "default" 0.0;
- min : 26 22;
- max : 26 22;
- fixed : 1 1;
- align : 0.0 0.0;
- image.normal: "b_moment_more_opt_bar.png";
- color_class : "AO0211";
- rel1 { relative : 0.0 0.0; to : "bg"; offset : 19 42;}
- rel2 { relative : 0.0 0.0; to : "bg"; }
- }
- description {
- state: "off" 0.0;
- inherit: "default";
- color_class : "AO0212";
- }
- }
-#if 0
- part {
- name : "padding.top";
- type : SPACER;
- scale : 1;
- description {
- state : "default";
- min : 360 92;
- max : 360 92;
- fixed: 1 1;
- align : 0.0 0.0;
- // color :200 0 0 200;
- rel1 { relative : 0.0 0.0; to : "bg";}
- rel2 { relative : 0.0 0.0; to : "bg";}
- }
- }
- part {
- name : "txt.dnd.on.off";
- type : TEXT;
- clip_to : "clipper_dnd";
- scale : 1;
-// repeat_events : 1;
- description{
- state : "default" 0.0;
- min : DND_TEXT_WIDTH DND_TEXT_HEIGHT;
- visible : 1;
- fixed : 1 1;
- align : 0.5 0.0;
- rel1 { relative : 0.5 1.0; to : "padding.top"; }
- rel2 { relative : 0.5 1.0; to : "padding.top"; }
- text {
- min : 1 1;
- align: 0.5 0.5;
- text_class : "AT0112";
- text : "On";
- }
- }
- }
- part {
- name : "padding.center.1";
- type : SPACER;
- scale : 1;
- description {
- state : "default";
- min : 360 6;
- max : 360 6;
- fixed: 1 1;
- // color :0 0 200 200;
- align : 0.5 0.0;
- rel1 { relative : 0.5 1.0; to : "txt.dnd.on.off";}
- rel2 { relative : 0.5 1.0; to : "txt.dnd.on.off";}
- }
- }
- part {
- name : "img.disturb.bg";
- type : IMAGE;
- clip_to : "clipper_dnd";
- scale : 1;
- repeat_events : 1;
- description {
- state : "default" 0.0;
- min : DND_BTN_WIDTH DND_BTN_HEIGHT;
- max : DND_BTN_WIDTH DND_BTN_HEIGHT;
- fixed : 1 1;
- image.normal: "mb_center_bg.png";
- color_class : "AO027";
- align : 0.5 0.0;
- rel1 { relative : 0.5 1.0; to : "padding.center.1";}
- rel2 { relative : 0.5 1.0; to : "padding.center.1";}
- }
- description {
- state: "off" 0.0;
- inherit: "default";
- color_class : "AO0271";
- }
- }
- part {
- name : "sw.dnd.btn";
- type : SWALLOW;
- scale : 1;
- repeat_events : 1;
- description {
- state : "default" 0.0;
- min : 80 80;
- max : 80 80;
- fixed : 1 1;
- align : 0.5 0.5;
- rel1.to: "img.disturb.bg";
- rel2.to: "img.disturb.bg";
- }
- }
- part {
- name : "img.disturb.icon";
- type : IMAGE;
- clip_to : "clipper_dnd";
- scale : 1;
- repeat_events : 1;
- description {
- state : "default" 0.0;
- min : DND_BTN_HEIGHT DND_BTN_HEIGHT;
- max : DND_BTN_HEIGHT DND_BTN_HEIGHT;
- fixed : 1 1;
-// visible : 0;
- image.normal: "momment_bar_btn_icon_disturb.png";
- color_class : "AO025";
- align : 0.5 0.0;
- rel1 { relative : 0.5 1.0; to : "padding.center.1";}
- rel2 { relative : 0.5 1.0; to : "padding.center.1";}
- }
- description {
- state: "fade_in" 0.0;
- inherit: "default";
- visible : 1;
- }
- description {
- state: "off" 0.0;
- inherit: "default";
- color_class : "AO0251";
- }
- }
-
- part {
- name : "padding.center.2";
- type : SPACER;
- scale : 1;
- description {
- state : "default";
- min : 360 PADDING_CENTER_2;
- max : 360 PADDING_CENTER_2;
- fixed: 1 1;
- // color :0 0 200 200;
- align : 0.5 0.0;
- rel1 { relative : 0.5 1.0; to : "img.disturb.icon";}
- rel2 { relative : 0.5 1.0; to : "img.disturb.icon";}
- }
- }
- part {
- name : "txt.disturb";
- type : TEXT;
- clip_to : "clipper_dnd";
- scale : 1;
- description{
- state : "default" 0.0;
- min : DND_TEXT_WIDTH DND_TEXT_HEIGHT;
- fixed : 1 1;
- align : 0.5 0.0;
- color_class : "AT0113";
- rel1{ relative: 0.5 1.0; to : "padding.center.2";}
- rel2{ relative: 0.5 1.0;to : "padding.center.2";}
- text {
- min : 1 1;
- align: 0.5 0.5;
- text : "Do not disturb";
- ellipsis : 0;
- text_class : "AT0113";
- }
- }
- }
- part {
- name: "clipper_dnd";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- color: 255 255 255 0;
- rel1.to: "bg";
- rel2.to: "bg";
- }
- description {
- state: "fade_in" 0.0;
- inherit: "default";
- color: 255 255 255 255;
- }
- }
- part {
- name : "dnd.touch.area";
- // type : RECT;
- type : IMAGE;
- precise_is_inside: 1;
- repeat_events: 1;
- scale : 1;
- description {
- state : "default" 0.0;
- // min : 232 232;
- // max : 232 232;
- // fixed : 1 1;
- color : 0 100 100 0;
- // align : 0.5 0.5;
- image.normal: "moment_bar_focus_bt_touch_1.png";
-// color_class : "AO0217";
- rel1.to: "bg";
- rel2.to: "bg";
- }
- }
-#endif
- }
-
- programs {
- // Hide
-/* program {
- name: "dnd_hide";
- signal: "dnd_hide";
- source: "clipper_dnd";
- action: STATE_SET "default" 0.0;
- target: "clipper_dnd";
- after: "dnd_fade_out_end";
- }
- // Fade Out effect
- program {
- name: "dnd_fade_out";
- signal: "dnd_fade_out";
- source: "clipper_dnd";
- action: STATE_SET "default" 0.0;
- target: "clipper_dnd";
- transition: ACCEL_FAC 0.1 0.33;
- after : "dnd_fade_out_end";
- }
- program {
- name : "dnd_fade_out_end";
- action : SIGNAL_EMIT "dnd_fade_out_end" "signal";
- }
-
- // Fade In effect
- program {
- name: "dnd_fade_in";
- signal: "dnd_fade_in";
- source: "clipper_dnd";
- action: STATE_SET "default" 0.0;
- target: "clipper_dnd";
- transition: ACCEL_FAC 0.1 0.33;
- after: "dnd_fade_in_start";
- }
- program {
- name: "dnd_fade_in_start";
- signal: "dnd_fade_in";
- source: "clipper_dnd";
- action: STATE_SET "fade_in" 0.0;
- target: "clipper_dnd";
- transition: ACCEL_FAC 0.1 0.33;
- }*/
-
- /* VZW */
- program {
- name: "dnd.vzw";
- signal: "dnd.vzw";
- source: "img.disturb.icon";
- action: STATE_SET "vzw" 0.0;
- target: "img.disturb.icon";
- }
-
- // Enable
- program {
- name: "dnd.enable";
- signal: "dnd.enable";
- source: "dnd.bg.icon";
- action: STATE_SET "default" 0.0;
- // target: "img.disturb.bg";
- // target: "img.disturb.icon";
- target: "img.disturb.bar";
- }
- // Disable
- program {
- name: "dnd.disable";
- signal: "dnd.disable";
- source: "dnd.bg.icon";
- action: STATE_SET "off" 0.0;
- // target: "img.disturb.bg";
- // target: "img.disturb.icon";
- target: "img.disturb.bar";
- }
-
- /* Press effect */
- program {
- name: "layout.pressed";
- signal: "layout.pressed";
- source: "";
- action: STATE_SET "selected" 0.0;
- target: "img.disturb.bg";
- }
- program {
- name: "layout.released";
- signal: "layout.released";
- source: "";
- action: STATE_SET "default" 0.0;
- target: "img.disturb.bg";
- }
- }
-}
\ No newline at end of file
* limitations under the License.
*/
-#define BATTERY_TEXT_MIN_MAX 360 20
-
#define BATTERY_ICON_COORD_X 169
#define BATTERY_ICON_COORD_Y 0
visible : 0;
}
}
- part { name : "txt.battery";
- type : TEXT;
- scale : 1;
- description { state : "default" 0.0;
- min : BATTERY_TEXT_MIN_MAX;
- max : BATTERY_TEXT_MIN_MAX;
- fixed : 1 1;
- align : 0.5 0.0;
- color_class : "AT015";
- rel1 { relative : 0.5 1.0; to : "sw.icon.battery"; }
- rel2 { relative : 0.5 1.0; to : "sw.icon.battery"; }
- text {
- min : 1 1;
- align : 0.5 0.0;
- text_class : "AT015";
- }
- }
- }
part { name : "sw.icon_0";
type : SWALLOW;
scale : 1;
scale : 1;
description { state : "default" 0.0;
fixed : 1 1;
- rel1 { relative : DYNAMIC_ICON_6_REL1; to : "bg"; }
- rel2 { relative : DYNAMIC_ICON_6_REL2; to : "bg"; }
+ rel1 { relative : DYNAMIC_ICON_4_REL1; to : "bg"; }
+ rel2 { relative : DYNAMIC_ICON_4_REL2; to : "bg"; }
}
description { state : "3g_connected_with_dt" 0.0;
inherit : "default" 0.0;
scale : 1;
description { state : "default" 0.0;
fixed : 1 1;
- rel1 { relative : DYNAMIC_ICON_7_REL1; to : "bg"; }
- rel2 { relative : DYNAMIC_ICON_7_REL2; to : "bg"; }
+ rel1 { relative : DYNAMIC_ICON_6_REL1; to : "bg"; }
+ rel2 { relative : DYNAMIC_ICON_6_REL2; to : "bg"; }
}
description { state : "3g_connected_with_dt" 0.0;
inherit : "default" 0.0;
- rel1 { relative : DYNAMIC_ICON_6_REL1; to : "bg"; }
- rel2 { relative : DYNAMIC_ICON_6_REL2; to : "bg"; }
}
description { state : "3g_connected_without_dt" 0.0;
inherit : "default" 0.0;
scale : 1;
description { state : "default" 0.0;
fixed : 1 1;
- rel1 { relative : DYNAMIC_ICON_8_REL1; to : "bg"; }
- rel2 { relative : DYNAMIC_ICON_8_REL2; to : "bg"; }
+ rel1 { relative : DYNAMIC_ICON_2_REL1; to : "bg"; }
+ rel2 { relative : DYNAMIC_ICON_2_REL2; to : "bg"; }
}
description { state : "3g_connected_with_dt" 0.0;
inherit : "default" 0.0;
- rel1 { relative : DYNAMIC_ICON_7_REL1; to : "bg"; }
- rel2 { relative : DYNAMIC_ICON_7_REL2; to : "bg"; }
}
description { state : "3g_connected_without_dt" 0.0;
inherit : "default" 0.0;
scale : 1;
description { state : "default" 0.0;
fixed : 1 1;
- rel1 { relative : DYNAMIC_ICON_3_REL1; to : "bg"; }
- rel2 { relative : DYNAMIC_ICON_3_REL2; to : "bg"; }
+ rel1 { relative : DYNAMIC_ICON_7_REL1; to : "bg"; }
+ rel2 { relative : DYNAMIC_ICON_7_REL2; to : "bg"; }
}
description { state : "3g_connected_with_dt" 0.0;
inherit : "default" 0.0;
- rel1 { relative : DYNAMIC_ICON_8_REL1; to : "bg"; }
- rel2 { relative : DYNAMIC_ICON_8_REL2; to : "bg"; }
}
description { state : "3g_connected_without_dt" 0.0;
inherit : "default" 0.0;
scale : 1;
description { state : "default" 0.0;
fixed : 1 1;
- rel1 { relative : DYNAMIC_ICON_2_REL1; to : "bg"; }
- rel2 { relative : DYNAMIC_ICON_2_REL2; to : "bg"; }
+ rel1 { relative : DYNAMIC_ICON_1_REL1; to : "bg"; }
+ rel2 { relative : DYNAMIC_ICON_1_REL2; to : "bg"; }
}
description { state : "3g_connected_with_dt" 0.0;
inherit : "default" 0.0;
- rel1 { relative : DYNAMIC_ICON_2_REL1; to : "bg"; }
- rel2 { relative : DYNAMIC_ICON_2_REL2; to : "bg"; }
}
description { state : "3g_connected_without_dt" 0.0;
inherit : "default" 0.0;
scale : 1;
description { state : "default" 0.0;
fixed : 1 1;
- rel1 { relative : DYNAMIC_ICON_1_REL1; to : "bg"; }
- rel2 { relative : DYNAMIC_ICON_1_REL2; to : "bg"; }
+ rel1 { relative : DYNAMIC_ICON_8_REL1; to : "bg"; }
+ rel2 { relative : DYNAMIC_ICON_8_REL2; to : "bg"; }
}
description { state : "3g_connected_with_dt" 0.0;
inherit : "default" 0.0;
- rel1 { relative : DYNAMIC_ICON_1_REL1; to : "bg"; }
- rel2 { relative : DYNAMIC_ICON_1_REL2; to : "bg"; }
}
description { state : "3g_connected_without_dt" 0.0;
inherit : "default" 0.0;
+++ /dev/null
-/*
- * Samsung API
- * Copyright (c) 2013 Samsung Electronics Co., Ltd.
- *
- * Licensed under the Flora License, Version 1.1 (the License);
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://floralicense.org/license/
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-group {
- name : "windicator/flight_mode";
- images {
- image : "Controls/b_moment_more_opt_ic_bg.png" COMP;
- image : "Controls/flight_mode.png" COMP;
- }
- parts {
- part {
- name : "bg";
- type : SPACER;
- scale :1;
- description {
- state : "default";
- min : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
- max : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
- }
- }
- part {
- name : "img.flight.bg";
- type : IMAGE;
- scale : 1;
- description {
- state : "default" 0.0;
- min : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
- max : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
- fixed : 1 1;
- align : 0.0 0.0;
- image.normal: "Controls/b_moment_more_opt_ic_bg.png";
- color_class : "AO0122";
- rel1 { relative : 0.0 0.0; to : "bg"; }
- rel2 { relative : 0.0 0.0; to : "bg"; }
- }/*
- description {
- state: "off" 0.0;
- inherit: "default";
- color_class : "AO01221";
- }*/
- description {
- state : "selected" 0.0;
- inherit : "default" 0.0;
- color_class : "AO0122P";
- }
- }
- part {
- name : "img.flight.icon";
- type : IMAGE;
- scale : 1;
- description {
- state : "default" 0.0;
- min : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
- max : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
- fixed : 1 1;
- align : 0.0 0.0;
- image.normal: "Controls/flight_mode.png";
- color_class : "AO012";
- rel1 { relative : 0.0 0.0; to : "bg"; }
- rel2 { relative : 0.0 0.0; to : "bg"; }
- }
- }
- part {
- name : "img.flight.bar";
- type : IMAGE;
- scale : 1;
- description {
- state : "default" 0.0;
- min : 26 22;
- max : 26 22;
- fixed : 1 1;
- align : 0.0 0.0;
- image.normal: "b_moment_more_opt_bar.png";
- color_class : "AO0211";
- rel1 { relative : 0.0 0.0; to : "bg"; offset : 19 42;}
- rel2 { relative : 0.0 0.0; to : "bg"; }
- }
- description {
- state: "off" 0.0;
- inherit: "default";
- color_class : "AO0212";
- }
- }
- }
-
- programs {
- // Enable
- program {
- name: "flight.enable";
- signal: "flight.enable";
- source: "flight.bg.icon";
- action: STATE_SET "default" 0.0;
- target: "img.flight.bar";
- }
- // Disable
- program {
- name: "flight.disable";
- signal: "flight.disable";
- source: "flight.bg.icon";
- action: STATE_SET "off" 0.0;
- target: "img.flight.bar";
- }
-
- /* Press effect */
- program {
- name: "layout.pressed";
- signal: "layout.pressed";
- source: "";
- action: STATE_SET "selected" 0.0;
- target: "img.flight.bg";
- }
- program {
- name: "layout.released";
- signal: "layout.released";
- source: "";
- action: STATE_SET "default" 0.0;
- target: "img.flight.bg";
- }
- }
-}
\ No newline at end of file
// 6 BUTTONS LAYOUT
-#define ACTION_ICON_6_1_COORD_X 11
-#define ACTION_ICON_6_1_COORD_Y 180
+#define ACTION_BTN_6_1_COORD_X 11
+#define ACTION_BTN_6_1_COORD_Y 180
-#define ACTION_ICON_6_2_COORD_X 45
-#define ACTION_ICON_6_2_COORD_Y 246
+#define ACTION_BTN_6_2_COORD_X 45
+#define ACTION_BTN_6_2_COORD_Y 246
-#define ACTION_ICON_6_3_COORD_X 110
-#define ACTION_ICON_6_3_COORD_Y 284
+#define ACTION_BTN_6_3_COORD_X 110
+#define ACTION_BTN_6_3_COORD_Y 284
-#define ACTION_ICON_6_4_COORD_X 186
-#define ACTION_ICON_6_4_COORD_Y 284
+#define ACTION_BTN_6_4_COORD_X 186
+#define ACTION_BTN_6_4_COORD_Y 284
-#define ACTION_ICON_6_5_COORD_X 251
-#define ACTION_ICON_6_5_COORD_Y 246
+#define ACTION_BTN_6_5_COORD_X 251
+#define ACTION_BTN_6_5_COORD_Y 246
-#define ACTION_ICON_6_6_COORD_X 285
-#define ACTION_ICON_6_6_COORD_Y 180
+#define ACTION_BTN_6_6_COORD_X 285
+#define ACTION_BTN_6_6_COORD_Y 180
-// RELATIVE
+#define ACTION_BTN_6_1_REL1 REL_W(ACTION_BTN_6_1_COORD_X) REL_H(ACTION_BTN_6_1_COORD_Y)
+#define ACTION_BTN_6_1_REL2 REL_W((ACTION_BTN_6_1_COORD_X+ACTION_BTN_WIDTH)) REL_H((ACTION_BTN_6_1_COORD_Y+ACTION_BTN_HEIGHT))
-#define ACTION_ICON_6_1_REL1 REL_W(ACTION_ICON_6_1_COORD_X) REL_H(ACTION_ICON_6_1_COORD_Y)
-#define ACTION_ICON_6_1_REL2 REL_W((ACTION_ICON_6_1_COORD_X+DEFAULT_ICON_WIDTH)) REL_H((ACTION_ICON_6_1_COORD_Y+DEFAULT_ICON_HEIGHT))
+#define ACTION_BTN_6_2_REL1 REL_W(ACTION_BTN_6_2_COORD_X) REL_H(ACTION_BTN_6_2_COORD_Y)
+#define ACTION_BTN_6_2_REL2 REL_W((ACTION_BTN_6_2_COORD_X+ACTION_BTN_WIDTH)) REL_H((ACTION_BTN_6_2_COORD_Y+ACTION_BTN_HEIGHT))
-#define ACTION_ICON_6_2_REL1 REL_W(ACTION_ICON_6_2_COORD_X) REL_H(ACTION_ICON_6_2_COORD_Y)
-#define ACTION_ICON_6_2_REL2 REL_W((ACTION_ICON_6_2_COORD_X+DEFAULT_ICON_WIDTH)) REL_H((ACTION_ICON_6_2_COORD_Y+DEFAULT_ICON_HEIGHT))
+#define ACTION_BTN_6_3_REL1 REL_W(ACTION_BTN_6_3_COORD_X) REL_H(ACTION_BTN_6_3_COORD_Y)
+#define ACTION_BTN_6_3_REL2 REL_W((ACTION_BTN_6_3_COORD_X+ACTION_BTN_WIDTH)) REL_H((ACTION_BTN_6_3_COORD_Y+ACTION_BTN_HEIGHT))
-#define ACTION_ICON_6_3_REL1 REL_W(ACTION_ICON_6_3_COORD_X) REL_H(ACTION_ICON_6_3_COORD_Y)
-#define ACTION_ICON_6_3_REL2 REL_W((ACTION_ICON_6_3_COORD_X+DEFAULT_ICON_WIDTH)) REL_H((ACTION_ICON_6_3_COORD_Y+DEFAULT_ICON_HEIGHT))
+#define ACTION_BTN_6_4_REL1 REL_W(ACTION_BTN_6_4_COORD_X) REL_H(ACTION_BTN_6_4_COORD_Y)
+#define ACTION_BTN_6_4_REL2 REL_W((ACTION_BTN_6_4_COORD_X+ACTION_BTN_WIDTH)) REL_H((ACTION_BTN_6_4_COORD_Y+ACTION_BTN_HEIGHT))
-#define ACTION_ICON_6_4_REL1 REL_W(ACTION_ICON_6_4_COORD_X) REL_H(ACTION_ICON_6_4_COORD_Y)
-#define ACTION_ICON_6_4_REL2 REL_W((ACTION_ICON_6_4_COORD_X+DEFAULT_ICON_WIDTH)) REL_H((ACTION_ICON_6_4_COORD_Y+DEFAULT_ICON_HEIGHT))
+#define ACTION_BTN_6_5_REL1 REL_W(ACTION_BTN_6_5_COORD_X) REL_H(ACTION_BTN_6_5_COORD_Y)
+#define ACTION_BTN_6_5_REL2 REL_W((ACTION_BTN_6_5_COORD_X+ACTION_BTN_WIDTH)) REL_H((ACTION_BTN_6_5_COORD_Y+ACTION_BTN_HEIGHT))
-#define ACTION_ICON_6_5_REL1 REL_W(ACTION_ICON_6_5_COORD_X) REL_H(ACTION_ICON_6_5_COORD_Y)
-#define ACTION_ICON_6_5_REL2 REL_W((ACTION_ICON_6_5_COORD_X+DEFAULT_ICON_WIDTH)) REL_H((ACTION_ICON_6_5_COORD_Y+DEFAULT_ICON_HEIGHT))
-
-#define ACTION_ICON_6_6_REL1 REL_W(ACTION_ICON_6_6_COORD_X) REL_H(ACTION_ICON_6_6_COORD_Y)
-#define ACTION_ICON_6_6_REL2 REL_W((ACTION_ICON_6_6_COORD_X+DEFAULT_ICON_WIDTH)) REL_H((ACTION_ICON_6_6_COORD_Y+DEFAULT_ICON_HEIGHT))
+#define ACTION_BTN_6_6_REL1 REL_W(ACTION_BTN_6_6_COORD_X) REL_H(ACTION_BTN_6_6_COORD_Y)
+#define ACTION_BTN_6_6_REL2 REL_W((ACTION_BTN_6_6_COORD_X+ACTION_BTN_WIDTH)) REL_H((ACTION_BTN_6_6_COORD_Y+ACTION_BTN_HEIGHT))
// 5 BUTTONS LAYOUT
-#define ACTION_ICON_5_1_COORD_X 22
-#define ACTION_ICON_5_1_COORD_Y 211
-
-#define ACTION_ICON_5_2_COORD_X 73
-#define ACTION_ICON_5_2_COORD_Y 268
+#define ACTION_BTN_5_1_COORD_X 22
+#define ACTION_BTN_5_1_COORD_Y 211
-#define ACTION_ICON_5_3_COORD_X 148
-#define ACTION_ICON_5_3_COORD_Y 289
+#define ACTION_BTN_5_2_COORD_X 73
+#define ACTION_BTN_5_2_COORD_Y 268
-#define ACTION_ICON_5_4_COORD_X 223
-#define ACTION_ICON_5_4_COORD_Y 268
+#define ACTION_BTN_5_3_COORD_X 148
+#define ACTION_BTN_5_3_COORD_Y 289
-#define ACTION_ICON_5_5_COORD_X 274
-#define ACTION_ICON_5_5_COORD_Y 211
+#define ACTION_BTN_5_4_COORD_X 223
+#define ACTION_BTN_5_4_COORD_Y 268
-// RELATIVE
+#define ACTION_BTN_5_5_COORD_X 274
+#define ACTION_BTN_5_5_COORD_Y 211
-#define ACTION_ICON_5_1_REL1 REL_W(ACTION_ICON_5_1_COORD_X) REL_H(ACTION_ICON_5_1_COORD_Y)
-#define ACTION_ICON_5_1_REL2 REL_W((ACTION_ICON_5_1_COORD_X+DEFAULT_ICON_WIDTH)) REL_H((ACTION_ICON_5_1_COORD_Y+DEFAULT_ICON_HEIGHT))
+#define ACTION_BTN_5_1_REL1 REL_W(ACTION_BTN_5_1_COORD_X) REL_H(ACTION_BTN_5_1_COORD_Y)
+#define ACTION_BTN_5_1_REL2 REL_W((ACTION_BTN_5_1_COORD_X+ACTION_BTN_WIDTH)) REL_H((ACTION_BTN_5_1_COORD_Y+ACTION_BTN_HEIGHT))
-#define ACTION_ICON_5_2_REL1 REL_W(ACTION_ICON_5_2_COORD_X) REL_H(ACTION_ICON_5_2_COORD_Y)
-#define ACTION_ICON_5_2_REL2 REL_W((ACTION_ICON_5_2_COORD_X+DEFAULT_ICON_WIDTH)) REL_H((ACTION_ICON_5_2_COORD_Y+DEFAULT_ICON_HEIGHT))
+#define ACTION_BTN_5_2_REL1 REL_W(ACTION_BTN_5_2_COORD_X) REL_H(ACTION_BTN_5_2_COORD_Y)
+#define ACTION_BTN_5_2_REL2 REL_W((ACTION_BTN_5_2_COORD_X+ACTION_BTN_WIDTH)) REL_H((ACTION_BTN_5_2_COORD_Y+ACTION_BTN_HEIGHT))
-#define ACTION_ICON_5_3_REL1 REL_W(ACTION_ICON_5_3_COORD_X) REL_H(ACTION_ICON_5_3_COORD_Y)
-#define ACTION_ICON_5_3_REL2 REL_W((ACTION_ICON_5_3_COORD_X+DEFAULT_ICON_WIDTH)) REL_H((ACTION_ICON_5_3_COORD_Y+DEFAULT_ICON_HEIGHT))
+#define ACTION_BTN_5_3_REL1 REL_W(ACTION_BTN_5_3_COORD_X) REL_H(ACTION_BTN_5_3_COORD_Y)
+#define ACTION_BTN_5_3_REL2 REL_W((ACTION_BTN_5_3_COORD_X+ACTION_BTN_WIDTH)) REL_H((ACTION_BTN_5_3_COORD_Y+ACTION_BTN_HEIGHT))
-#define ACTION_ICON_5_4_REL1 REL_W(ACTION_ICON_5_4_COORD_X) REL_H(ACTION_ICON_5_4_COORD_Y)
-#define ACTION_ICON_5_4_REL2 REL_W((ACTION_ICON_5_4_COORD_X+DEFAULT_ICON_WIDTH)) REL_H((ACTION_ICON_5_4_COORD_Y+DEFAULT_ICON_HEIGHT))
+#define ACTION_BTN_5_4_REL1 REL_W(ACTION_BTN_5_4_COORD_X) REL_H(ACTION_BTN_5_4_COORD_Y)
+#define ACTION_BTN_5_4_REL2 REL_W((ACTION_BTN_5_4_COORD_X+ACTION_BTN_WIDTH)) REL_H((ACTION_BTN_5_4_COORD_Y+ACTION_BTN_HEIGHT))
-#define ACTION_ICON_5_5_REL1 REL_W(ACTION_ICON_5_5_COORD_X) REL_H(ACTION_ICON_5_5_COORD_Y)
-#define ACTION_ICON_5_5_REL2 REL_W((ACTION_ICON_5_5_COORD_X+DEFAULT_ICON_WIDTH)) REL_H((ACTION_ICON_5_5_COORD_Y+DEFAULT_ICON_HEIGHT))
+#define ACTION_BTN_5_5_REL1 REL_W(ACTION_BTN_5_5_COORD_X) REL_H(ACTION_BTN_5_5_COORD_Y)
+#define ACTION_BTN_5_5_REL2 REL_W((ACTION_BTN_5_5_COORD_X+ACTION_BTN_WIDTH)) REL_H((ACTION_BTN_5_5_COORD_Y+ACTION_BTN_HEIGHT))
group { name : "windicator/moment_bar/first_page/main_ly";
scale : 1;
description { state : "default" 0.0;
fixed : 1 1;
- rel1 { relative : ACTION_ICON_6_1_REL1; to : "rect.bg"; }
- rel2 { relative : ACTION_ICON_6_1_REL2; to : "rect.bg"; }
+ rel1 { relative : ACTION_BTN_6_1_REL1; to : "rect.bg"; }
+ rel2 { relative : ACTION_BTN_6_1_REL2; to : "rect.bg"; }
}
description { state : "6_action_btns" 0.0;
inherit : "default" 0.0;
}
description { state : "5_action_btns" 0.0;
inherit : "default" 0.0;
- rel1 { relative : ACTION_ICON_5_1_REL1; to : "rect.bg"; }
- rel2 { relative : ACTION_ICON_5_1_REL2; to : "rect.bg"; }
+ rel1 { relative : ACTION_BTN_5_1_REL1; to : "rect.bg"; }
+ rel2 { relative : ACTION_BTN_5_1_REL2; to : "rect.bg"; }
}
}
part { name : "action_btn_0.touch.area";
scale : 1;
description { state : "default" 0.0;
fixed : 1 1;
- rel1 { relative : ACTION_ICON_6_2_REL1; to : "rect.bg"; }
- rel2 { relative : ACTION_ICON_6_2_REL2; to : "rect.bg"; }
+ rel1 { relative : ACTION_BTN_6_2_REL1; to : "rect.bg"; }
+ rel2 { relative : ACTION_BTN_6_2_REL2; to : "rect.bg"; }
}
description { state : "6_action_btns" 0.0;
inherit : "default" 0.0;
}
description { state : "5_action_btns" 0.0;
inherit : "default" 0.0;
- rel1 { relative : ACTION_ICON_5_2_REL1; to : "rect.bg"; }
- rel2 { relative : ACTION_ICON_5_2_REL2; to : "rect.bg"; }
+ rel1 { relative : ACTION_BTN_5_2_REL1; to : "rect.bg"; }
+ rel2 { relative : ACTION_BTN_5_2_REL2; to : "rect.bg"; }
}
}
part { name : "action_btn_1.touch.area";
scale : 1;
description { state : "default" 0.0;
fixed : 1 1;
- rel1 { relative : ACTION_ICON_6_3_REL1; to : "rect.bg"; }
- rel2 { relative : ACTION_ICON_6_3_REL2; to : "rect.bg"; }
+ rel1 { relative : ACTION_BTN_6_3_REL1; to : "rect.bg"; }
+ rel2 { relative : ACTION_BTN_6_3_REL2; to : "rect.bg"; }
}
description { state : "6_action_btns" 0.0;
inherit : "default" 0.0;
}
description { state : "5_action_btns" 0.0;
inherit : "default" 0.0;
- rel1 { relative : ACTION_ICON_5_3_REL1; to : "rect.bg"; }
- rel2 { relative : ACTION_ICON_5_3_REL2; to : "rect.bg"; }
+ rel1 { relative : ACTION_BTN_5_3_REL1; to : "rect.bg"; }
+ rel2 { relative : ACTION_BTN_5_3_REL2; to : "rect.bg"; }
}
}
part { name : "action_btn_2.touch.area";
scale : 1;
description { state : "default" 0.0;
fixed : 1 1;
- rel1 { relative : ACTION_ICON_6_4_REL1; to : "rect.bg"; }
- rel2 { relative : ACTION_ICON_6_4_REL2; to : "rect.bg"; }
+ rel1 { relative : ACTION_BTN_6_4_REL1; to : "rect.bg"; }
+ rel2 { relative : ACTION_BTN_6_4_REL2; to : "rect.bg"; }
}
description { state : "6_action_btns" 0.0;
inherit : "default" 0.0;
}
description { state : "5_action_btns" 0.0;
inherit : "default" 0.0;
- rel1 { relative : ACTION_ICON_5_4_REL1; to : "rect.bg"; }
- rel2 { relative : ACTION_ICON_5_4_REL2; to : "rect.bg"; }
+ rel1 { relative : ACTION_BTN_5_4_REL1; to : "rect.bg"; }
+ rel2 { relative : ACTION_BTN_5_4_REL2; to : "rect.bg"; }
}
}
part { name : "action_btn_3.touch.area";
scale : 1;
description { state : "default" 0.0;
fixed : 1 1;
- rel1 { relative : ACTION_ICON_6_5_REL1; to : "rect.bg"; }
- rel2 { relative : ACTION_ICON_6_5_REL2; to : "rect.bg"; }
+ rel1 { relative : ACTION_BTN_6_5_REL1; to : "rect.bg"; }
+ rel2 { relative : ACTION_BTN_6_5_REL2; to : "rect.bg"; }
}
description { state : "6_action_btns" 0.0;
inherit : "default" 0.0;
}
description { state : "5_action_btns" 0.0;
inherit : "default" 0.0;
- rel1 { relative : ACTION_ICON_5_5_REL1; to : "rect.bg"; }
- rel2 { relative : ACTION_ICON_5_5_REL2; to : "rect.bg"; }
+ rel1 { relative : ACTION_BTN_5_5_REL1; to : "rect.bg"; }
+ rel2 { relative : ACTION_BTN_5_5_REL2; to : "rect.bg"; }
}
}
part { name : "action_btn_4.touch.area";
scale : 1;
description { state : "default" 0.0;
fixed : 1 1;
- rel1 { relative : ACTION_ICON_6_6_REL1; to : "rect.bg"; }
- rel2 { relative : ACTION_ICON_6_6_REL2; to : "rect.bg"; }
+ rel1 { relative : ACTION_BTN_6_6_REL1; to : "rect.bg"; }
+ rel2 { relative : ACTION_BTN_6_6_REL2; to : "rect.bg"; }
}
description { state : "6_action_btns" 0.0;
inherit : "default" 0.0;
* limitations under the License.
*/
-styles {
- style {
- name: "style_txt_battery";
- base: "font=Tizen:style=Regular font_size=22 align=center color=#ffffffff color_class=AT01111 wrap=mixed text_class=AT01111";
- tag: "br" "\n";
- tag: "hilight" "+ color=#ffff";
- tag: "b" "+ color=#ffff";
- tag: "tab" "\t";
- }
-}
-
group {
name : "windicator/moment_view/full";
images {
- //image : "b_moment_bar_detail_bg.png" COMP;
- //image : "b_moment_bar_detail_bg_cover.png" COMP;
+ image : "b_moment_bar_detail_bg.png" COMP;
+ image : "b_moment_bar_detail_bg_cover.png" COMP;
}
parts {
part {
min : WIN_WIDTH WIN_HEIGHT;
max : WIN_WIDTH WIN_HEIGHT;
fixed : 1 1;
- //image.normal: "b_moment_bar_detail_bg.png";
+ image.normal: "b_moment_bar_detail_bg.png";
color_class : "AO013";
rel1 { relative : 0.0 -0.73; to : "bg";}
rel2 { relative : 1.0 1.0-0.73; to : "bg";}
min : WIN_WIDTH WIN_HEIGHT;
max : WIN_WIDTH WIN_HEIGHT;
fixed : 1 1;
- //image.normal: "b_moment_bar_detail_bg_cover.png";
+ image.normal: "b_moment_bar_detail_bg_cover.png";
color_class : "AO0131";
rel1 { relative : 0.0 -0.72; to : "bg"; }
rel2 { relative : 1.0 1.0-0.72; to : "bg"; }
part {
name : "txt.momentview.battery";
type : TEXTBLOCK;
-// type : SWALLOW;
scale : 1;
description{
state : "default" 0.0;
rel2 { relative : 0.5 0.5; to : "bg"; offset: 0 12;}
text {
style : "style_txt_battery";
- min : 1 1;
- align : 0.5 0.5;
- text : "50%";
+ min : 0 1;
}
}
}
+++ /dev/null
-/*
- * Samsung API
- * Copyright (c) 2013 Samsung Electronics Co., Ltd.
- *
- * Licensed under the Flora License, Version 1.1 (the License);
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://floralicense.org/license/
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-group {
- name : "windicator/music_btn";
- images {
-// image : "mb_3g_indi_link_stroke.png" COMP;
- image : "Controls/b_moment_more_opt_ic_bg.png" COMP;
- image : "Controls/music.png" COMP;
- }
- parts {
- part {
- name : "bg";
- type : SPACER;
- scale :1;
- description {
- state : "default";
- min : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
- max : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
- }
- }
- part {
- name : "img.music.bg";
- type : IMAGE;
- scale : 1;
- description {
- state : "default" 0.0;
- min : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
- max : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
- fixed : 1 1;
- align : 0.0 0.0;
- image.normal: "Controls/b_moment_more_opt_ic_bg.png";
- color_class : "AO0122";
- rel1 { relative : 0.0 0.0; to : "bg"; }
- rel2 { relative : 0.0 0.0; to : "bg"; }
- }
- description {
- state : "disable" 0.0;
- inherit : "default" 0.0;
- color_class : "AO0122D";
- }
- description {
- state : "selected" 0.0;
- inherit : "default" 0.0;
- color_class : "AO0122P";
- }
- }
- part {
- name : "img.music.icon";
- type : IMAGE;
- scale : 1;
- repeat_events : 1;
- description {
- state : "default" 0.0;
- min : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
- max : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
- fixed : 1 1;
- align : 0.0 0.0;
- image.normal: "Controls/music.png";
- color_class : "AO012";
- rel1 { relative : 0.0 0.0; to : "bg"; }
- rel2 { relative : 0.0 0.0; to : "bg"; }
- }
- description {
- state : "disable" 0.0;
- inherit : "default" 0.0;
- color_class : "AO012D";
- }
- }
- }
- programs {
- program {
- name : "img.music.enable";
- signal : "img.music.enable";
- source : "img.music.icon";
- action : STATE_SET "default" 0.0;
- target : "img.music.icon";
- target : "img.music.bg";
- }
- program {
- name : "img.music.disable";
- signal : "img.music.disable";
- source : "img.music.icon";
- action : STATE_SET "disable" 0.0;
- target : "img.music.icon";
- target : "img.music.bg";
- }
-
- /* Press effect */
- program {
- name: "layout.pressed";
- signal: "layout.pressed";
- source: "";
- action: STATE_SET "selected" 0.0;
- target: "img.music.bg";
- }
- program {
- name: "layout.released";
- signal: "layout.released";
- source: "";
- action: STATE_SET "default" 0.0;
- target: "img.music.bg";
- }
-
- // Hide
-/* program {
- name: "music_hide";
- signal: "music_hide";
- source: "clipper_music";
- action: STATE_SET "default" 0.0;
- target: "clipper_music";
- after: "music_fade_out_end";
- }
- // Fade Out effect
- program {
- name: "music_fade_out";
- signal: "music_fade_out";
- source: "clipper_music";
- action: STATE_SET "default" 0.0;
- target: "clipper_music";
- transition: ACCEL_FAC 0.1 0.33;
- after: "music_fade_out_end";
- }
- program {
- name : "music_fade_out_end";
- action : SIGNAL_EMIT "music_fade_out_end" "signal";
- }
-
- // Fade In effect
- program {
- name: "music_fade_in";
- signal: "music_fade_in";
- source: "clipper_music";
- action: STATE_SET "default" 0.0;
- target: "clipper_music";
- transition: ACCEL_FAC 0.1 0.33;
- after: "music_fade_in_start";
- }
- program {
- name: "music_fade_in_start";
- signal: "music_fade_in";
- source: "clipper_music";
- action: STATE_SET "fade_in" 0.0;
- target: "clipper_music";
- transition: ACCEL_FAC 0.1 0.33;
- }*/
- }
-}
\ No newline at end of file
tag : "tab" "\t";
}
style { name : "style_txt_sim_state";
- base : "font=Tizen font_weight=Normal font_width=Condensed font_size=24 align=center valign=center color=#0092faff wrap=mixed ellipsis=1.0";
+ base : "font=Tizen font_weight=Normal font_width=Condensed font_size=24 align=center valign=center color=#ffffffff wrap=mixed ellipsis=1.0";
tag : "br" "\n";
tag : "hilight" "+ color=#ffff";
tag : "b" "+ color=#ffff";
+++ /dev/null
-/*
- * Samsung API
- * Copyright (c) 2013 Samsung Electronics Co., Ltd.
- *
- * Licensed under the Flora License, Version 1.1 (the License);
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://floralicense.org/license/
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-styles {
- style {
- name: "style_txt_volume";
- base: "font=Tizen:style=Regular font_size=24 align=center color=#ffffffff color_class=AT016 wrap=mixed text_class=AT016";
- tag: "br" "\n";
- tag: "hilight" "+ color=#ffff";
- tag: "b" "+ color=#ffff";
- tag: "tab" "\t";
- }
-}
-group {
- name : "windicator/volume/small_icon";
- images {
- image : "Controls/b_moment_more_opt_ic_bg.png" COMP;
- image : "Controls/ringtone.png" COMP;
- image : "Controls/multimedia.png" COMP;
- image : "Controls/multimedia_off.png" COMP;
- image : "Controls/vibrate.png" COMP;
- }
- parts {
- part {
- name : "bg";
- type : SPACER;
- scale :1;
- description {
- state : "default";
- min : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
- max : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
- }
- }
-
- part {
- name : "img.volume.bg";
- type : IMAGE;
- scale : 1;
- //repeat_events : 1;
- description {
- state : "default" 0.0;
- min : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
- max : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
- fixed : 1 1;
- align : 0.0 0.0;
- image.normal: "Controls/b_moment_more_opt_ic_bg.png";
- color_class : "AO0122";
- rel1 { relative : 0.0 0.0; to : "bg"; }
- rel2 { relative : 0.0 0.0; to : "bg"; }
- }
- description {
- state : "selected" 0.0;
- inherit : "default" 0.0;
- color_class : "AO0122P";
- }
- }
- part {
- name : "img.volume.icon";
- type : IMAGE;
- scale : 1;
- repeat_events : 1;
- description {
- state : "default" 0.0;
- min : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
- max : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
- fixed : 1 1;
- align : 0.0 0.0;
- /* [P151109-00606] */
- image.normal: "Controls/multimedia.png";
- color_class : "AO012";
- rel1 { relative : 0.0 0.0; to : "bg"; }
- rel2 { relative : 0.0 0.0; to : "bg"; }
- }
- description {
- state: "mute" 0.0;
- inherit: "default";
- image.normal: "Controls/multimedia_off.png";
- }
- description {
- state: "media" 0.0;
- inherit: "default";
- image.normal: "Controls/multimedia.png";
- }
- description {
- state: "vibrate" 0.0;
- inherit: "default";
- image.normal: "Controls/vibrate.png";
- }
- }
- part {
- name : "txt.volume";
- type : TEXTBLOCK;
- scale : 1;
- description {
- state : "default" 0.0;
- max : 32 25;
- min : 32 25;
- fixed : 1 1;
- align : 0.5 0.0;
- color: 0 0 0 255;
- rel1 { relative : 0.5 0.0; to : "img.volume.icon"; offset : 0 33;}
- rel2 { relative : 0.5 0.0; to : "img.volume.icon";}
- text {
- align : 0.5 0.5;
- min : 0 1;
- style : "style_txt_volume";
- text : "0";
- }
- }
- description {
- state: "mute" 0.0;
- inherit: "default";
- visible: 0;
- }
- description {
- state: "media" 0.0;
- inherit: "default";
- visible: 1;
- }
- description {
- state: "vibrate" 0.0;
- inherit: "default";
- visible: 0;
- }
- }
- }
- programs {
- // Program to change volume icon
- program {
- name: "volume.icon.ringtone";
- signal: "volume.icon.ringtone";
- source: "img.volume.icon";
- action: STATE_SET "default" 0.0;
- target: "img.volume.icon";
- }
- program {
- name: "volume.icon.mute";
- signal: "volume.icon.mute";
- source: "img.volume.icon";
- action: STATE_SET "mute" 0.0;
- target: "img.volume.icon";
- }
- program {
- name: "volume.icon.media";
- signal: "volume.icon.media";
- source: "img.volume.icon";
- action: STATE_SET "media" 0.0;
- target: "img.volume.icon";
- }
- program {
- name: "volume.icon.vibrate";
- signal: "volume.icon.vibrate";
- source: "img.volume.icon";
- action: STATE_SET "vibrate" 0.0;
- target: "img.volume.icon";
- }
-
- /* Press effect */
- program {
- name: "layout.pressed";
- signal: "layout.pressed";
- source: "";
- action: STATE_SET "selected" 0.0;
- target: "img.volume.bg";
- }
- program {
- name: "layout.released";
- signal: "layout.released";
- source: "";
- action: STATE_SET "default" 0.0;
- target: "img.volume.bg";
- }
- }
-}
* limitations under the License.
*/
-#define WIN_WIDTH 360
-#define WIN_HEIGHT 360
-#define MOMENT_VIEW_HEIGHT 125
-
-#define DYNAMIC_LAYOUT_HEIGHT 38
-#define DYNAMIC_ICON_WIDTH 24
-#define DYNAMIC_ICON_HEIGHT 26
-
-#define BATTERY_ICON_WIDTH 22
-#define BATTERY_ICON_HEIGHT 33
-
-#define BRIGHTNESS_BG_WIDTH 88
-#define BRIGHTNESS_BG_HEIGHT 88
-#define BRIGHTNESS_ICON_WIDTH 88
-#define BRIGHTNESS_ICON_HEIGHT 88
-
-#define BRIGHTNESS_TEXT_WIDTH 168
-#define BRIGHTNESS_TEXT_HEIGHT 37
-
-#define BRIGHTNESS_LARGE_ICON_WIDTH 150
-#define BRIGHTNESS_LARGE_ICON_HEIGHT 150
-
-#define TOGGLE_ICON_WIDTH 64
-#define TOGGLE_ICON_HEIGHT 64
-
-#define VOLUME_BG_WIDTH 120
-#define VOLUME_BG_HEIGHT 76
-#define VOLUME_ICON_WIDTH 72
-#define VOLUME_ICON_HEIGHT 72
-#define VOLUME_TEXT_WIDTH 50
-#define VOLUME_TEXT_HEIGHT 47
-#define VOLUME_LARGE_ICON_WIDTH 190
-#define VOLUME_LARGE_ICON_HEIGHT 190
-
-#define DEFAULT_ICON_WIDTH 64
-#define DEFAULT_ICON_HEIGHT 64
-#define DEFAULT_ICON_PADDING 4
-
-#define DND_BTN_WIDTH 88
-#define DND_BTN_HEIGHT 88
-#define DND_TEXT_WIDTH 168
-#define DND_TEXT_HEIGHT 37
-
-#define MUSIC_BTN_WIDTH 88
-#define MUSIC_BTN_HEIGHT 88
-
-#define CENTER_BG_SIZE 88
-
-#define PADDING_CENTER_2 2
-
-#define REL_W(value) (value/WIN_WIDTH)
-#define REL_H(value) (value/WIN_HEIGHT)
-
-#define FIXED_RECT_FROM_LEFT( rectName, rel_x, rel_y, MinWidth, colorValue, visibleValue) \
- part { \
- name: rectName; \
- type: RECT; \
- mouse_events: 0; \
- scale: 1; \
- description { \
- state: "default" 0.0; \
- min: MinWidth 0; \
- fixed: 1 1; \
- rel1 { relative: 1.0 0.0; to_x: rel_x; to_y: rel_y; } \
- rel2 { relative: 1.0 1.0; to_x: rel_x; to_y: rel_y; } \
- align: 0.0 0.5; \
- color : colorValue; \
- visible: visibleValue; \
- } \
- description { \
- state: "hide" 0.0; \
- inherit: "default" 0.0; \
- min: 0 0; \
- visible: 0; \
- } \
- } \
+#include "../../edc/windicator_common_defines.edc"
collections {
base_scale: 1.3;
#include "../../edc/windicator_moment_bar.edc"
#include "../../edc/windicator_moment_view.edc"
#include "../../edc/windicator_dynamic.edc"
- #include "../../edc/windicator_battery_layout.edc"
#include "../../edc/windicator_battery_icon.edc"
- #include "../../edc/windicator_brightness.edc"
- #include "../../edc/windicator_volume.edc"
+ #include "../../edc/windicator_action_btn_brightness.edc"
+ #include "../../edc/windicator_action_btn_volume.edc"
+ #include "../../edc/windicator_action_btn_dnd.edc"
+ #include "../../edc/windicator_action_btn_flight_mode.edc"
+ #include "../../edc/windicator_action_btn_music.edc"
+ #include "../../edc/windicator_action_btn_call_fwd.edc"
+ #include "../../edc/windicator_scs.edc"
#include "../../edc/windicator_connect_icons.edc"
#include "../../edc/windicator_rssi_icons.edc"
- #include "../../edc/windicator_scs.edc"
- #include "../../edc/windicator_dnd_layout.edc"
- #include "../../edc/windicator_flight_mode_layout.edc"
- #include "../../edc/windicator_music_layout.edc"
- #include "../../edc/windicator_callfwd_layout.edc"
#include "../../edc/windicator_dynamic_icon.edc"
}
elm_object_part_content_set(parent, "sw.icon.battery", icon);
- elm_object_part_text_set(parent, "txt.battery", "50");
-
evas_object_show(icon);
_I("moment dynamic view battery initialize END");
Evas_Object *layout = elm_layout_add(parent);
retv_if(layout == NULL, NULL);
- if (elm_layout_file_set(layout, WINDICATOR_THEME_PATH, "windicator/brightness/small_layout") != EINA_TRUE) {
+ if (elm_layout_file_set(layout, WINDICATOR_THEME_PATH, "windicator/action_btn/brightness") != EINA_TRUE) {
_E("Failed to set brightness small layout");
evas_object_del(layout);
return NULL;
Evas_Object *layout = elm_layout_add(parent);
retv_if(layout == NULL, NULL);
- if (elm_layout_file_set(layout, WINDICATOR_THEME_PATH, "windicator/callfwd_btn") != EINA_TRUE) {
+ if (elm_layout_file_set(layout, WINDICATOR_THEME_PATH, "windicator/action_btn/call_fwd") != EINA_TRUE) {
_E("Failed to set layout");
evas_object_del(layout);
return NULL;
Evas_Object *layout = elm_layout_add(parent);
retv_if(layout == NULL, NULL);
- if (elm_layout_file_set(layout, WINDICATOR_THEME_PATH, "windicator/dnd_btn/bt") != EINA_TRUE) {
+ if (elm_layout_file_set(layout, WINDICATOR_THEME_PATH, "windicator/action_btn/dnd") != EINA_TRUE) {
_E("Failed to set layout");
evas_object_del(layout);
return NULL;
Evas_Object *layout = elm_layout_add(parent);
retv_if(layout == NULL, NULL);
- if (elm_layout_file_set(layout, WINDICATOR_THEME_PATH, "windicator/flight_mode") != EINA_TRUE) {
+ if (elm_layout_file_set(layout, WINDICATOR_THEME_PATH, "windicator/action_btn/flight_mode") != EINA_TRUE) {
_E("Failed to set layout");
evas_object_del(layout);
return NULL;
return;
}
}
+
done:
_action_btns_available[WINDICATOR_AB_MUSIC] = false;
--_action_btns_visible_count;
Evas_Object *layout = elm_layout_add(parent);
retv_if(layout == NULL, NULL);
- if (elm_layout_file_set(layout, WINDICATOR_THEME_PATH, "windicator/music_btn") != EINA_TRUE) {
+ if (elm_layout_file_set(layout, WINDICATOR_THEME_PATH, "windicator/action_btn/music") != EINA_TRUE) {
_E("Failed to set layout");
evas_object_del(layout);
return NULL;
Evas_Object *layout = elm_layout_add(parent);
retv_if(layout == NULL, NULL);
- if (elm_layout_file_set(layout, WINDICATOR_THEME_PATH, "windicator/volume/small_icon") != EINA_TRUE) {
+ if (elm_layout_file_set(layout, WINDICATOR_THEME_PATH, "windicator/action_btn/volume") != EINA_TRUE) {
_E("Failed to set volume small layout");
evas_object_del(layout);
return NULL;