3 * Copyright 2012 Samsung Electronics Co., Ltd
5 * Licensed under the Flora License, Version 1.1 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://floralicense.org/license/
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
22 PART_BG_EX("bg", 480, 0)
23 PART_EVENT_RECT("event", "bg")
25 name: "elm.text.date";
34 rel1 { relative: 0.0 0.0; to: "bg";}
35 rel2 { relative: (480-15)/480 0.0; to: "bg";}
36 color: 121 115 100 255;
39 font: "SLP:style=Medium";
40 text_class:"slp_medium";
48 name: "elm.swallow.content";
55 rel1 { relative: 0.0 1.0; to_x: "bg"; to_y: "elm.text.date";}
56 rel2 { relative: 1.0 1.0; to: "bg"; }
60 inherit: "default" 0.0;
61 rel1 { relative: 15/480 1.0; to_x: "bg"; to_y: "elm.text.date";}
62 rel2 { relative: (480-15)/480 1.0; to: "bg"; }
69 name: "prog_doodle_mode";
71 signal: "sig_doodle_mode";
73 set_state(PART:"elm.swallow.content", "default", 0.0);
78 name: "prog_text_mode";
80 signal: "sig_text_mode";
82 set_state(PART:"elm.swallow.content", "text", 0.0);
89 name: "doodle_viewer";
92 PART_V_PIXEL_RECT("text.bg", 30, "bg", 0.0, 0.0)
93 PART_RECT("doodle.bg", 0.0, 1.0, "text.bg", 1.0, 0.0, "comment.bg")
94 PART_COLOR_RECT("doodle.bg.color", "doodle.bg", 255, 255, 255, 255)
95 PART_V_PIXEL_RECT("comment.bg", 108, "bg", 1.0, 1.0)
97 PART_TEXT_GRAY_RIGHT("elm.text.date", 16/720, 0.0, "text.bg", (720-16)/720, 1.0, "text.bg", "date", "SLP:style=Medium", "slp_medium", 16)
98 PART_SWALLOW_REL("elm.swallow.doodle", 16/720, 0.0, "doodle.bg", (720-16)/720, 1.0, "doodle.bg")
99 PART_SWALLOW("elm.swallow.comment", "comment.bg")