-/*
- * Copyright 2012 Samsung Electronics Co., Ltd
- *
- * Licensed under the Flora License, Version 1.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.tizenopensource.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.
- */
-
-
collections {
group {
name: "favorite";
parts {
part {
name: "background";
- type, RECT;
+ type, RECT;
mouse_events: 0;
description {
- state: "default" 0.0;
+ state: "default" 0.0;
rel1 { relative: 0.0 0.0; offset: 0 0; }
rel2 { relative: 1.0 1.0; offset: -1 -1; }
color, 0 0 0 255 ;
}
}
-
+
part {
- name: "selectall_bg";
+ name: "selectall_bg";
type: RECT;
mouse_events: 0;
scale: 1;
visible: 1;
}
}
-
+
part {
name: "selectall_check_leftpadding";
type: RECT;
min: 15 0;
fixed: 1 0;
align: 0.0 0.0;
-
+
color: 0 0 0 255;
visible: 0;
rel1 { relative: 0.0 0.0; to: "selectall_bg"; }
rel1 { relative: 1.0 0.0; to: "selectall_check_leftpadding"; }
rel2 { relative: 1.0 1.0; to: "selectall_check_leftpadding"; }
visible : 0;
-
+
}
description {
state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
- }
+ }
}
part {
state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
- }
+ }
}
part {
inherit: "default" 0.0;
}
}
-
+
// tab style container
part {
}
}
- // tool style container.
+ // tool style container.
part {
name: "elm.swallow.toolbar_bg";
type: RECT;
}
}
-
- // tool style container.
+
+ // tool style container.
part {
name: "elm.swallow.toolbar";
type: SWALLOW;
state: "moveup" 0.0;
//min: 0 86;
min: 0 50;
- fixed: 1 1;
+ fixed: 1 1;
//align: 0.5 1.0;
- align: 0.5 0.0;
- rel1 { relative: 0.0 0.0; offset: 5 0;}
+ align: 0.5 0.0;
+ rel1 { relative: 0.0 0.0; offset: 5 0;}
rel2 { relative: 1.0 0.0; offset: -5 50;}
}
description {
state: "moveup_progressbar" 0.0;
min: 0 62;
- fixed: 1 1;
+ fixed: 1 1;
align: 0.5 0.0;
rel1 { relative: 0.0 0.0;}
rel2 { relative: 1.0 0.0; offset: 0 62;}
}
}
-
+
// view container. This is used, when tool items is added.
part {
name: "elm.swallow.view";
type: SWALLOW;
- mouse_events: 1;
+ mouse_events: 1;
description {
- state: "default" 0.0;
+ state: "default" 0.0;
rel1 { relative: 0.0 0.0;}
rel2 { relative: 1.0 0.0; to: "elm.swallow.toolbar";}
part {
name: "view_bg";
- type: SWALLOW;
+ type: SWALLOW;
mouse_events: 1;
- repeat_events: 1;
+ repeat_events: 1;
description {
- state: "default" 0.0;
+ state: "default" 0.0;
rel1 { relative: 0.0 0.0; offset: 0 0; to: "elm.swallow.view";}
rel2 { relative: 1.0 1.0; offset: 0 0; to: "elm.swallow.view";}
}
- description {
+ description {
state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
}//GROUP
-
+
programs {
program {
name: "swallow_view_default";
source: "elm";
script {
set_state(PART:"elm.swallow.toolbar", "moveup", 0.0); //move toolbar up
- set_state(PART:"elm.swallow.view", "moveup_toolbar", 0.0);
+ set_state(PART:"elm.swallow.view", "moveup_toolbar", 0.0);
}
}
program {
source: "elm";
script {
set_state(PART:"elm.swallow.toolbar", "moveup_progressbar", 0.0); //move toolbar+progressbar up
- set_state(PART:"elm.swallow.view", "moveup_toolbar_progressbar", 0.0);
+ set_state(PART:"elm.swallow.view", "moveup_toolbar_progressbar", 0.0);
}
- }
+ }
program {
name: "view_bg_default";
signal: "elm,view,bg,state,default";
target: "selectall_check";
target: "selectall_check_rightpadding";
target: "selectall_text";
- target: "selectall_inner";
+ target: "selectall_inner";
}
program {
name: "selectall_hide";
target: "selectall_check_rightpadding";
target: "selectall_text";
target: "selectall_inner";
- }
+ }
}//PROGRAMS
} /* collections */