group { name: FBR_CONTEXT_VIEW; images { image: FBR_IMAGE_CTXT_BG COMP; image: FBR_IMAGE_CTXT_ITEM_BG COMP; } data.item: FBR_DATA_TITLE_WIDTH "318"; parts { part { name: "bg"; scale: 1; type: RECT; description { state: "default" 0.0; min: 1920 1080; align: 0 0; fixed: 1 1; color: 0 0 0 245; } } part { name: "bg_img"; scale: 1; description { state: "default" 0.0; image.normal: FBR_IMAGE_CTXT_BG; } } PART_RECT_PADDING("pad_icon", 508 375, "bg") PART_IMAGE_COLOR("icon_bg_img", 318 321, "pad_icon", 0 0, FBR_IMAGE_CTXT_ITEM_BG, 126 128 255 255) PART_RECT_COLOR("icon_bg", 318 321, "pad_icon", 0 0, 28 36 49 204) part { name: FBR_PART_CTXT_ICON; scale: 1; type: SWALLOW; description { state: "default" 0.0; rel1.to: "icon_bg"; rel2.to: "icon_bg"; align: 0.5 0.5; } } PART_RECT_PADDING("pad_title", 508+159 375+321+20, "bg") PART_SWALLOW_BASIC(FBR_PART_CTXT_TITLE, 318 0, "pad_title", 0.5 0) PART_RECT_PADDING("pad_subtitle", 508 375+321+20+43, "bg") PART_TEXT_FONT(FBR_PART_CTXT_SUBTITLE, 318 31, "pad_subtitle", 0 0, FONT_STYLE_REGULAR, 24, 0 0.5) PART_RECT_PADDING("pad_subtitle2", 508 375+321+20+43+31, "bg") PART_TEXT_FONT(FBR_PART_CTXT_SUBTITLE2, 318 31, "pad_subtitle2", 0 0, FONT_STYLE_REGULAR, 24, 0 0.5) PART_RECT_PADDING("pad_btnarea", 1334 75, "bg") PART_SWALLOW_BASIC(FBR_PART_CTXT_BTNAREA, 0 115, "pad_btnarea", 0 0) PART_RECT_RELATIVE_PADDING("pad_separator", 0 20, FBR_PART_CTXT_BTNAREA, 0, 1) PART_RECT_COLOR("part_separator", 490 2, "pad_separator", 0 0, 255 255 255 51) PART_RECT_RELATIVE_PADDING("pad_linkedtext", 16 30, "pad_separator", 0, 1) PART_TEXT_FONT(FBR_PART_CTXT_LINK_TEXT, 458 38, "pad_linkedtext", 0 0, FONT_STYLE_MEDIUM, 27, 0 0) PART_RECT_RELATIVE_PADDING("pad_linked", 0 8, FBR_PART_CTXT_LINK_TEXT, 0.5, 1) PART_SWALLOW_BASIC(FBR_PART_CTXT_LINK_AREA, 490 229, "pad_linked", 0.5 0) //PART_RECT_RELATIVE_PADDING("pad_reltext", 0 38, FBR_PART_CTXT_LINK_TEXT, 0, 1) PART_RECT_RELATIVE_PADDING("pad_reltext", 16 30, FBR_PART_CTXT_LINK_AREA, 0, 1) PART_TEXT_FONT(FBR_PART_CTXT_REL_TEXT, 458 38, "pad_reltext", 0 0, FONT_STYLE_MEDIUM, 27, 0 0) PART_RECT_RELATIVE_PADDING("pad_relctntarea", 0 8, FBR_PART_CTXT_REL_TEXT, 0.5, 1) PART_SWALLOW_BASIC(FBR_PART_CTXT_REL_AREA, 490 472, "pad_relctntarea", 0.5 0) } } group { name: FBR_CONTEXT_BTN; images { image: FBR_IMAGE_CTXT_BTNBG_NOR COMP; image: FBR_IMAGE_CTXT_BTNBG_FOC COMP; } parts { part { name: "ctxt_menubtn_area"; type: RECT; scale: 1; description { state: "default" 0.0; min: 103 115; visible: 0; } } part { name: FBR_PART_CTXT_BTNBG; type: IMAGE; scale: 1; description { state: "default" 0.0; min: 64 64; rel1.relative: 0.5 0.0; rel2.relative: 0.5 0.0; image.normal: FBR_IMAGE_CTXT_BTNBG_NOR; color: 100 109 124 255; align: 0.5 0.0; fixed: 1 1; } description { state: "focused" 0.0; inherit: "default" 0.0; image.normal: FBR_IMAGE_CTXT_BTNBG_FOC; color: 126 128 255 255; } } part { name: FBR_PART_CTXT_BTNICON; type: SWALLOW; scale: 1; description { state: "default" 0.0; min: 64 64; rel1.relative: 0.5 0.0; rel2.relative: 0.5 0.0; align: 0.5 0.0; fixed: 1 1; } } part { name: "padding_btn_txt"; type: RECT; scale: 1; description { state: "default" 0.0; min: 0 72; rel2.relative: 0.0 0.0; align: 0.5 0.0; fixed: 1 1; visible: 0; } } part { name: FBR_PART_CTXT_BTNTEXT; type: SWALLOW; scale: 1; description { state: "default" 0.0; min: 103 43; rel1 { relative: 0.0 1.0; to: "padding_btn_txt"; } rel2 { relative: 0.0 1.0; to: "padding_btn_txt"; } align: 0.0 0.0; fixed: 1 1; } } } programs { program { name: "focused"; signal: FBR_SIGNAL_FOCUSED; source: FBR_CONTEXT_VIEW; action: STATE_SET "focused" 0.0; target: FBR_PART_CTXT_BTNBG; transition: LINEAR 0.3; } program { name: "unfocused"; signal: FBR_SIGNAL_UNFOCUSED; source: FBR_CONTEXT_VIEW; action: STATE_SET "default" 0.0; target: FBR_PART_CTXT_BTNBG; transition: LINEAR 0.3; } } } group { name, FBR_CONTEXT_APP; images { image, FBR_IMAGE_CTXT_APPBG COMP; } parts { part { name: "map"; type: RECT; scale: 1; description { state: "default" 0.0; perspective { zplane: 0; focal: 1000; } visible: 0; } description { state: "clicked" 0.0; inherit: "default" 0.0; perspective.zplane: -100; } } part { name, "bg"; type, RECT; scale, 1; description { state, "default" 0.0; min, 238 229; color, 42 50 64 255; map { on: 0; perspective_on: 1; alpha: 1; perspective: "map"; } } description { state, "focused" 0.0; inherit, "default" 0.0; color, 126 128 255 255; map.on: 1; } } part { name, "padding_app_icon"; type, RECT; scale, 1; description { state, "default" 0.0; min, 0 44; rel1.relative, 0.5 0.0; rel2.relative, 0.5 0.0; align, 0.5 0.0; visible, 0; fixed, 1 1; } } part { name, "icon_bg"; type, IMAGE; scale, 1; description { state, "default" 0.0; min, 104 104; rel1 { relative, 0.0 1.0; to, "padding_app_icon"; } rel2 { relative, 0.0 1.0; to, "padding_app_icon"; } image.normal, FBR_IMAGE_CTXT_APPBG; align, 0.5 0.0; visible, 0; fixed, 1 1; color, 126 128 255 255; map { on: 0; perspective_on: 1; alpha: 1; perspective: "map"; } } description { state: "focused" 0.0; inherit: "default" 0.0; color, 255 255 255 255; map.on: 1; } } part { name, FBR_PART_CTXT_RELCTNT_ICON; type, SWALLOW; scale, 1; description { state, "default" 0.0; min, 104 104; rel1 { relative, 0.0 1.0; to, "padding_app_icon"; } rel2 { relative, 0.0 1.0; to, "padding_app_icon"; } align, 0.5 0.0; fixed, 1 1; map { on: 0; perspective_on: 1; alpha: 1; perspective: "map"; } } description { state: "focused" 0.0; inherit: "default" 0.0; map.on: 1; } } part { name, "padding_thumb_txt"; type, RECT; scale, 1; description { state, "default" 0.0; min, 0 8; rel1 { relative, 0.5 1.0; to, FBR_PART_CTXT_RELCTNT_ICON; } rel2 { relative, 0.5 1.0; to, FBR_PART_CTXT_RELCTNT_ICON; } align, 0.5 0.0; visible, 0; fixed, 1 1; } } part { name, FBR_PART_CTXT_RELCTNT_NAME; type, TEXT; scale, 1; description { state, "default" 0.0; min, 198 53; rel1 { relative, 0.0 1.0; to, "padding_thumb_txt"; } rel2 { relative, 0.0 1.0; to, "padding_thumb_txt"; } text { font, FONT_STYLE_MEDIUM; size, 24; } color, 211 211 211 255; align, 0.5 0.0; fixed, 1 1; map { on: 0; perspective_on: 1; alpha: 1; perspective: "map"; } } description { state, "focused" 0.0; inherit, "default" 0.0; color, 255 255 255 255; map.on: 1; } } } programs { program { name, "focused"; signal, FBR_SIGNAL_FOCUSED; source, FBR_CONTEXT_VIEW; action, STATE_SET "focused" 0.0; target, "bg"; target, "icon_bg"; target, FBR_PART_CTXT_RELCTNT_NAME; target, FBR_PART_CTXT_RELCTNT_ICON; transition: LINEAR 0.3; } program { name, "unfocused"; signal, FBR_SIGNAL_UNFOCUSED; source, FBR_CONTEXT_VIEW; action, STATE_SET "default" 0.0; target, "bg"; target, "icon_bg"; target, FBR_PART_CTXT_RELCTNT_NAME; target, FBR_PART_CTXT_RELCTNT_ICON; transition: LINEAR 0.3; } program { name: "animaion_start"; signal: FBR_SIGNAL_CONTENT_CLICKED; source: FBR_CONTEXT_VIEW; action: STATE_SET "clicked" 0.0; target: "map"; transition: DECELERATE 0.2; after: "animation_stop"; } program { name: "animation_stop"; action: STATE_SET "default" 0.0; target: "map"; transition: DECELERATE 0.2; after: "item_clicked"; } program { name: "item_clicked"; action: SIGNAL_EMIT FBR_SIGNAL_BTN_CLICKED FBR_CONTEXT_VIEW; } } }