#include "image_res.edc" #include "vp_font.edc" collections { group { name: "trim.control"; parts { part { name: "trim.control.rect"; type: RECT; scale: 1; mouse_events: 1; description { state: "default" 0.0; align: 0.0 0.0; rel1 { relative: 0.0 0.0;} rel2 { relative: 1.0 1.0;} color: 0 0 0 0; } } part { name: "trim.control.txt.played"; type: TEXT; scale: 1; mouse_events: 0; description { state: "default" 0.0; min: 0 58; fixed: 0 1; align: 0.0 0.0; rel1 { relative: 0.027777 0.0; } rel2 { relative: 1.0 0.0; } color: FONT_START_COLOR; text { font: FONT_MEDIUM_TYPE; text_class: "slp"; size: 28; text: "00:00:00"; align: 0.0 0.5; } } } part { name: "trim.control.txt.total"; type: TEXT; scale: 1; mouse_events: 0; description { state: "default" 0.0; min: 90 58; fixed: 1 1; align: 1.0 0.0; rel1 { relative: 0.0 0.0; } rel2 { relative: 0.97223 0.0; } color: FONT_END_COLOR; text { font: FONT_MEDIUM_TYPE; text_class: "slp"; size: 28; text: "--:--:--"; align: 1.0 0.5; } } } part { name: "trim.control.line"; type: RECT; scale: 1; mouse_events: 1; description { state: "default" 0.0; visible: 1; min: 0 1; fixed: 0 1; align: 0.5 0.0; rel1 { relative: 0.0 0.316994; } rel2 { relative: 1.0 0.316994; } color : 153 153 153 171; } } part { name: "trim.control.thumb.bg"; type: RECT; scale: 1; mouse_events: 1; description { state: "default" 0.0; visible: 1; align: 0.0 0.0; rel1 { relative: 0.0 0.316994; } rel2 { relative: 1.0 1.0; } color : 0 0 0 0; } } part { name: "trim.control.thumb"; type: SWALLOW; scale: 1; mouse_events: 1; description { state: "default" 0.0; visible: 1; min: 0 112; fixed: 0 1; align: 0.0 0.5; rel1 { relative: 0.0 0.5; to_y : trim.control.thumb.bg;} rel2 { relative: 1.0 0.5; to_y : trim.control.thumb.bg;} color : 0 0 0 0; } } part { name: "trim.control.middle"; type: RECT; scale: 1; mouse_events: 0; description { state: "default" 0.0; visible: 0; align: 0.0 1.0; rel1 { relative: 0.0 0.0; to_x: trim.control.confine.start; to_y: trim.control.thumb.bg; } rel2 { relative: 1.0 1.0; to_x: trim.control.confine.end; to_y: trim.control.thumb.bg; } color: 0 0 0 0; } } part { name: "trim.control.confine.rect"; type: RECT; scale: 1; mouse_events: 0; description { state: "default" 0.0; visible: 0; rel1 { relative: 0.0 0.0; to: trim.control.middle; } rel2 { relative: 1.0 1.0; to: trim.control.middle; } color: 0 0 0 0; } } part { name: "trim.control.playing"; type: IMAGE; scale: 1; mouse_events: 1; description { state: "default" 0.0; min: 19 124; fixed: 1 1; align: 0.0 0.0; image { normal: "trim/T01-2_controller_track_ball.png"; } color: 255 255 255 255; } dragable { confine: "trim.control.confine.rect"; x: 1 1 1; } } part { name: "trim.control.start.rect"; type: RECT; scale: 1; mouse_events: 1; description { state: "default" 0.0; visible: 0; align: 0.0 0.0; rel1 { relative: 0.0 0.0; to_y : trim.control.thumb.bg;} rel2 { relative: 0.0 1.0; to_y : trim.control.thumb.bg;} color: 0 0 0 0; } } part { name: "trim.control.end.rect"; type: RECT; scale: 1; mouse_events: 1; description { state: "default" 0.0; visible: 0; align: 0.0 0.0; rel1 { relative: 1.0 0.0; to_y : trim.control.thumb.bg;} rel2 { relative: 1.0 1.0; to_y : trim.control.thumb.bg;} color: 0 0 0 0; } } part { name: "trim.control.confine.rect.start"; type: RECT; scale: 1; mouse_events: 0; description { state: "default" 0.0; visible: 0; min: 24 117; fixed: 1 1; align: 0.0 0.5; rel1 { relative: 0.0 0.5; to_x: trim.control.start.rect; to_y: trim.control.thumb.bg; } rel2 { relative: 1.0 0.5; to_x: trim.control.end.rect; to_y: trim.control.thumb.bg; } color: 255 255 255 0; } } part { name: "trim.control.confine.rect.end"; type: RECT; scale: 1; mouse_events: 0; description { state: "default" 0.0; visible: 0; min: 24 117; fixed: 1 1; align: 0.0 0.5; rel1 { relative: 0.0 0.5; to_x: trim.control.start.rect; to_y: trim.control.thumb.bg; } rel2 { relative: 1.0 0.5; to_x: trim.control.end.rect; to_y: trim.control.thumb.bg; } color: 255 255 255 0; } } part { name: "trim.control.confine.rect.start.bg"; type: RECT; scale: 1; mouse_events: 0; description { state: "default" 0.0; visible: 1; min: 0 100; fixed: 0 1; align: 0.0 0.5; rel1 { relative: 0.0 0.5; to_y: trim.control.thumb.bg; } rel2 { relative: 0.0 0.5; to_x: trim.control.confine.start; to_y: trim.control.thumb.bg; } color: 0 0 0 153; } } part { name: "trim.control.confine.rect.end.bg"; type: RECT; scale: 1; mouse_events: 0; description { state: "default" 0.0; visible: 1; min: 0 100; fixed: 0 1; align: 0.0 0.5; rel1 { relative: 0.5 0.5; to_x: trim.control.confine.end; to_y: trim.control.thumb.bg; } rel2 { relative: 1.0 0.5; to_y: trim.control.thumb.bg; } color: 0 0 0 153; } } part { name: "trim.control.confine.start"; type: IMAGE; scale: 1; mouse_events: 1; description { state: "default" 0.0; min: 24 117; fixed: 1 1; align: 0.0 0.5; image { normal: "trim/T01-2_controller_trimming_handle_beginning.png";} } dragable { confine: "trim.control.confine.rect.start"; x: 1 1 1; } } part { name: "trim.control.confine.end"; type: IMAGE; scale: 1; mouse_events: 1; description { state: "default" 0.0; min: 24 117; fixed: 1 1; align: 0.0 0.5; image { normal: "trim/T01-2_controller_trimming_handle_ending.png";} } dragable { confine: "trim.control.confine.rect.end"; x: 1 1 1; } } } /* parts */ } /* group */ } /* collections */